diff --git a/.eslintignore b/.eslintignore index 49fc5419f4c..b8a454f2a62 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,4 +4,5 @@ test/fixtures build/ docs/ protos/ -src/apis +src/apis/ +samples/ \ No newline at end of file diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 24943e1161e..f06f99a384f 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,4 +1,4 @@ -# Copyright 2024 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,5 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest - digest: sha256:609822e3c09b7a1bd90b99655904609f162cc15acb4704f1edf778284c36f429 -# created: 2024-10-01T19:34:30.797530443Z + digest: sha256:c7e4968cfc97a204a4b2381f3ecb55cabc40c4cccf88b1ef8bef0d976be87fee diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 94196047f30..79e0e6b0713 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,7 +1,30 @@ -Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: -- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/google-api-nodejs-client/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea +> Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: + +## Description + +> Please provide a detailed description for the change. +> As much as possible, please try to keep changes separate by purpose. For example, try not to make a one-line bug fix in a feature request, or add an irrelevant README change to a bug fix. + +## Impact + +> What's the impact of this change? + +## Testing + +> Have you added unit and integration tests if necessary? +> Were any tests changed? Are any breaking changes necessary? + +## Additional Information + +> Any additional details that we should be aware of? + +## Checklist + +- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/google-api-nodejs-client/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass -- [ ] Code coverage does not decrease (if any source code was changed) -- [ ] Appropriate docs were updated (if necessary) +- [ ] Code coverage does not decrease +- [ ] Appropriate docs were updated +- [ ] Appropriate comments were added, particularly in complex areas or places that require background +- [ ] No new warnings or issues will be generated from this change -Fixes # 🦕 +Fixes #issue_number_goes_here 🦕 diff --git a/.github/release-trigger.yml b/.github/release-trigger.yml index d4ca94189e1..2ed8e831a3a 100644 --- a/.github/release-trigger.yml +++ b/.github/release-trigger.yml @@ -1 +1,2 @@ enabled: true +multiScmName: google-api-nodejs-client \ No newline at end of file diff --git a/.github/scripts/close-invalid-link.cjs b/.github/scripts/close-invalid-link.cjs index d7a3688e755..fdb51488197 100644 --- a/.github/scripts/close-invalid-link.cjs +++ b/.github/scripts/close-invalid-link.cjs @@ -12,21 +12,26 @@ // See the License for the specific language governing permissions and // limitations under the License. +const fs = require('fs'); +const yaml = require('js-yaml'); +const path = require('path'); +const TEMPLATE_FILE_PATH = path.resolve(__dirname, '../ISSUE_TEMPLATE/bug_report.yml') + async function closeIssue(github, owner, repo, number) { await github.rest.issues.createComment({ owner: owner, repo: repo, issue_number: number, - body: 'Issue was opened with an invalid reproduction link. Please make sure the repository is a valid, publicly-accessible github repository, and make sure the url is complete (example: https://github.com/googleapis/google-cloud-node)' + body: "Issue was opened with an invalid reproduction link. Please make sure the repository is a valid, publicly-accessible github repository, and make sure the url is complete (example: https://github.com/googleapis/google-cloud-node)" }); await github.rest.issues.update({ owner: owner, repo: repo, issue_number: number, - state: 'closed' + state: "closed" }); } -module.exports = async ({github, context}) => { +module.exports = async ({ github, context }) => { const owner = context.repo.owner; const repo = context.repo.repo; const number = context.issue.number; @@ -37,20 +42,32 @@ module.exports = async ({github, context}) => { issue_number: number, }); - const isBugTemplate = issue.data.body.includes('Link to the code that reproduces this issue'); + const yamlData = fs.readFileSync(TEMPLATE_FILE_PATH, 'utf8'); + const obj = yaml.load(yamlData); + const linkMatchingText = (obj.body.find(x => {return x.type === 'input' && x.validations.required === true && x.attributes.label.includes('link')})).attributes.label; + const isBugTemplate = issue.data.body.includes(linkMatchingText); if (isBugTemplate) { console.log(`Issue ${number} is a bug template`) try { - const link = issue.data.body.split('\n')[18].match(/(https?:\/\/(gist\.)?github.com\/.*)/)[0]; - console.log(`Issue ${number} contains this link: ${link}`) - const isValidLink = (await fetch(link)).ok; - console.log(`Issue ${number} has a ${isValidLink ? 'valid' : 'invalid'} link`) - if (!isValidLink) { - await closeIssue(github, owner, repo, number); - } + const text = issue.data.body; + const match = text.indexOf(linkMatchingText); + if (match !== -1) { + const nextLineIndex = text.indexOf('http', match); + if (nextLineIndex == -1) { + await closeIssue(github, owner, repo, number); + return; + } + const link = text.substring(nextLineIndex, text.indexOf('\n', nextLineIndex)); + console.log(`Issue ${number} contains this link: ${link}`); + const isValidLink = (await fetch(link)).ok; + console.log(`Issue ${number} has a ${isValidLink ? "valid" : "invalid"} link`) + if (!isValidLink) { + await closeIssue(github, owner, repo, number); + } + } } catch (err) { await closeIssue(github, owner, repo, number); } } -}; +}; \ No newline at end of file diff --git a/.github/scripts/close-unresponsive.cjs b/.github/scripts/close-unresponsive.cjs index 142dc1265a4..6f81b508fa5 100644 --- a/.github/scripts/close-unresponsive.cjs +++ b/.github/scripts/close-unresponsive.cjs @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +/// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -13,57 +13,57 @@ // limitations under the License. function labeledEvent(data) { - return data.event === 'labeled' && data.label.name === 'needs more info'; - } - - const numberOfDaysLimit = 15; - const close_message = `This has been closed since a request for information has \ - not been answered for ${numberOfDaysLimit} days. It can be reopened when the \ - requested information is provided.`; - - module.exports = async ({github, context}) => { - const owner = context.repo.owner; - const repo = context.repo.repo; - - const issues = await github.rest.issues.listForRepo({ - owner: owner, - repo: repo, - labels: 'needs more info', - }); - const numbers = issues.data.map((e) => e.number); - - for (const number of numbers) { - const events = await github.paginate( - github.rest.issues.listEventsForTimeline, - { - owner: owner, - repo: repo, - issue_number: number, - }, - (response) => response.data.filter(labeledEvent) - ); - - const latest_response_label = events[events.length - 1]; - - const created_at = new Date(latest_response_label.created_at); - const now = new Date(); - const diff = now - created_at; - const diffDays = diff / (1000 * 60 * 60 * 24); - - if (diffDays > numberOfDaysLimit) { - await github.rest.issues.update({ - owner: owner, - repo: repo, - issue_number: number, - state: 'closed', - }); - - await github.rest.issues.createComment({ - owner: owner, - repo: repo, - issue_number: number, - body: close_message, - }); - } + return data.event === "labeled" && data.label.name === "needs more info"; +} + +const numberOfDaysLimit = 15; +const close_message = `This has been closed since a request for information has \ +not been answered for ${numberOfDaysLimit} days. It can be reopened when the \ +requested information is provided.`; + +module.exports = async ({ github, context }) => { + const owner = context.repo.owner; + const repo = context.repo.repo; + + const issues = await github.rest.issues.listForRepo({ + owner: owner, + repo: repo, + labels: "needs more info", + }); + const numbers = issues.data.map((e) => e.number); + + for (const number of numbers) { + const events = await github.paginate( + github.rest.issues.listEventsForTimeline, + { + owner: owner, + repo: repo, + issue_number: number, + }, + (response) => response.data.filter(labeledEvent) + ); + + const latest_response_label = events[events.length - 1]; + + const created_at = new Date(latest_response_label.created_at); + const now = new Date(); + const diff = now - created_at; + const diffDays = diff / (1000 * 60 * 60 * 24); + + if (diffDays > numberOfDaysLimit) { + await github.rest.issues.update({ + owner: owner, + repo: repo, + issue_number: number, + state: "closed", + }); + + await github.rest.issues.createComment({ + owner: owner, + repo: repo, + issue_number: number, + body: close_message, + }); } - }; + } +}; \ No newline at end of file diff --git a/.github/scripts/fixtures/invalidIssueBody.txt b/.github/scripts/fixtures/invalidIssueBody.txt new file mode 100644 index 00000000000..504bd669022 --- /dev/null +++ b/.github/scripts/fixtures/invalidIssueBody.txt @@ -0,0 +1,50 @@ +### Please make sure you have searched for information in the following guides. + +- [X] Search the issues already opened: https://github.com/GoogleCloudPlatform/google-cloud-node/issues +- [X] Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js +- [X] Check our Troubleshooting guide: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting +- [X] Check our FAQ: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq +- [X] Check our libraries HOW-TO: https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md +- [X] Check out our authentication guide: https://github.com/googleapis/google-auth-library-nodejs +- [X] Check out handwritten samples for many of our APIs: https://github.com/GoogleCloudPlatform/nodejs-docs-samples + +### A screenshot that you have tested with "Try this API". + + +N/A + +### Link to the code that reproduces this issue. A link to a **public** Github Repository or gist with a minimal reproduction. + +not-a-link + +### A step-by-step description of how to reproduce the issue, based on the linked reproduction. + + +Change MY_PROJECT to your project name, add credentials if needed and run. + +### A clear and concise description of what the bug is, and what you expected to happen. + +The application crashes with the following exception (which there is no way to catch). It should just emit error, and allow graceful handling. +TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Object + at _write (node:internal/streams/writable:474:13) + at Writable.write (node:internal/streams/writable:502:10) + at Duplexify._write (/project/node_modules/duplexify/index.js:212:22) + at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) + at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) + at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) + at Pumpify. (/project/node_modules/@google-cloud/speech/build/src/helpers.js:79:27) + at Object.onceWrapper (node:events:633:26) + at Pumpify.emit (node:events:518:28) + at obj. [as _write] (/project/node_modules/stubs/index.js:28:22) + at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) + at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) + at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) + at PassThrough.ondata (node:internal/streams/readable:1007:22) + at PassThrough.emit (node:events:518:28) + at addChunk (node:internal/streams/readable:559:12) { + code: 'ERR_INVALID_ARG_TYPE' + + +### A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. ** + +No library should crash an application this way. \ No newline at end of file diff --git a/.github/scripts/fixtures/validIssueBody.txt b/.github/scripts/fixtures/validIssueBody.txt new file mode 100644 index 00000000000..6e0ace338eb --- /dev/null +++ b/.github/scripts/fixtures/validIssueBody.txt @@ -0,0 +1,50 @@ +### Please make sure you have searched for information in the following guides. + +- [X] Search the issues already opened: https://github.com/GoogleCloudPlatform/google-cloud-node/issues +- [X] Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js +- [X] Check our Troubleshooting guide: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting +- [X] Check our FAQ: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq +- [X] Check our libraries HOW-TO: https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md +- [X] Check out our authentication guide: https://github.com/googleapis/google-auth-library-nodejs +- [X] Check out handwritten samples for many of our APIs: https://github.com/GoogleCloudPlatform/nodejs-docs-samples + +### A screenshot that you have tested with "Try this API". + + +N/A + +### Link to the code that reproduces this issue. A link to a **public** Github Repository or gist with a minimal reproduction. + +https://gist.github.com/orgads/13cbf44c91923da27d8772b5f10489c9 + +### A step-by-step description of how to reproduce the issue, based on the linked reproduction. + + +Change MY_PROJECT to your project name, add credentials if needed and run. + +### A clear and concise description of what the bug is, and what you expected to happen. + +The application crashes with the following exception (which there is no way to catch). It should just emit error, and allow graceful handling. +TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Object + at _write (node:internal/streams/writable:474:13) + at Writable.write (node:internal/streams/writable:502:10) + at Duplexify._write (/project/node_modules/duplexify/index.js:212:22) + at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) + at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) + at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) + at Pumpify. (/project/node_modules/@google-cloud/speech/build/src/helpers.js:79:27) + at Object.onceWrapper (node:events:633:26) + at Pumpify.emit (node:events:518:28) + at obj. [as _write] (/project/node_modules/stubs/index.js:28:22) + at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) + at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) + at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) + at PassThrough.ondata (node:internal/streams/readable:1007:22) + at PassThrough.emit (node:events:518:28) + at addChunk (node:internal/streams/readable:559:12) { + code: 'ERR_INVALID_ARG_TYPE' + + +### A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. ** + +No library should crash an application this way. \ No newline at end of file diff --git a/.github/scripts/fixtures/validIssueBodyDifferentLinkLocation.txt b/.github/scripts/fixtures/validIssueBodyDifferentLinkLocation.txt new file mode 100644 index 00000000000..984a420e376 --- /dev/null +++ b/.github/scripts/fixtures/validIssueBodyDifferentLinkLocation.txt @@ -0,0 +1,50 @@ +### Please make sure you have searched for information in the following guides. + +- [X] Search the issues already opened: https://github.com/GoogleCloudPlatform/google-cloud-node/issues +- [X] Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js +- [X] Check our Troubleshooting guide: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting +- [X] Check our FAQ: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq +- [X] Check our libraries HOW-TO: https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md +- [X] Check out our authentication guide: https://github.com/googleapis/google-auth-library-nodejs +- [X] Check out handwritten samples for many of our APIs: https://github.com/GoogleCloudPlatform/nodejs-docs-samples + +### A screenshot that you have tested with "Try this API". + + +N/A + +### A step-by-step description of how to reproduce the issue, based on the linked reproduction. + + +Change MY_PROJECT to your project name, add credentials if needed and run. + +### A clear and concise description of what the bug is, and what you expected to happen. + +The application crashes with the following exception (which there is no way to catch). It should just emit error, and allow graceful handling. +TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Object + at _write (node:internal/streams/writable:474:13) + at Writable.write (node:internal/streams/writable:502:10) + at Duplexify._write (/project/node_modules/duplexify/index.js:212:22) + at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) + at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) + at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) + at Pumpify. (/project/node_modules/@google-cloud/speech/build/src/helpers.js:79:27) + at Object.onceWrapper (node:events:633:26) + at Pumpify.emit (node:events:518:28) + at obj. [as _write] (/project/node_modules/stubs/index.js:28:22) + at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) + at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) + at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) + at PassThrough.ondata (node:internal/streams/readable:1007:22) + at PassThrough.emit (node:events:518:28) + at addChunk (node:internal/streams/readable:559:12) { + code: 'ERR_INVALID_ARG_TYPE' + +### Link to the code that reproduces this issue. A link to a **public** Github Repository with a minimal reproduction. + + +https://gist.github.com/orgads/13cbf44c91923da27d8772b5f10489c9 + +### A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. ** + +No library should crash an application this way. \ No newline at end of file diff --git a/.github/scripts/package.json b/.github/scripts/package.json new file mode 100644 index 00000000000..2c2e5207df9 --- /dev/null +++ b/.github/scripts/package.json @@ -0,0 +1,21 @@ +{ + "name": "tests", + "private": true, + "description": "tests for script", + "scripts": { + "test": "mocha tests/close-invalid-link.test.cjs && mocha tests/close-or-remove-response-label.test.cjs" + }, + "author": "Google Inc.", + "license": "Apache-2.0", + "engines": { + "node": ">=18" + }, + "dependencies": { + "js-yaml": "^4.1.0" + }, + "devDependencies": { + "@octokit/rest": "^19.0.0", + "mocha": "^10.0.0", + "sinon": "^18.0.0" + } +} \ No newline at end of file diff --git a/.github/scripts/remove-response-label.cjs b/.github/scripts/remove-response-label.cjs index 887cf349e9d..4a784ddf7a5 100644 --- a/.github/scripts/remove-response-label.cjs +++ b/.github/scripts/remove-response-label.cjs @@ -13,21 +13,21 @@ // limitations under the License. module.exports = async ({ github, context }) => { - const commenter = context.actor; - const issue = await github.rest.issues.get({ + const commenter = context.actor; + const issue = await github.rest.issues.get({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + }); + const author = issue.data.user.login; + const labels = issue.data.labels.map((e) => e.name); + + if (author === commenter && labels.includes("needs more info")) { + await github.rest.issues.removeLabel({ owner: context.repo.owner, repo: context.repo.repo, issue_number: context.issue.number, + name: "needs more info", }); - const author = issue.data.user.login; - const labels = issue.data.labels.map((e) => e.name); - - if (author === commenter && labels.includes('needs more info')) { - await github.rest.issues.removeLabel({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - name: 'needs more info', - }); - } - }; + } +}; \ No newline at end of file diff --git a/.github/scripts/tests/close-invalid-link.test.cjs b/.github/scripts/tests/close-invalid-link.test.cjs new file mode 100644 index 00000000000..f63ee89c811 --- /dev/null +++ b/.github/scripts/tests/close-invalid-link.test.cjs @@ -0,0 +1,86 @@ +// Copyright 2024 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 +// +// https://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 strict'; + +const { describe, it } = require('mocha'); +const closeInvalidLink = require('../close-invalid-link.cjs'); +const fs = require('fs'); +const sinon = require('sinon'); + +describe('close issues with invalid links', () => { + let octokitStub; + let issuesStub; + + beforeEach(() => { + issuesStub = { + get: sinon.stub(), + createComment: sinon.stub(), + update: sinon.stub(), + }; + octokitStub = { + rest: { + issues: issuesStub, + }, + }; + }); + + afterEach(() => { + sinon.restore(); + }); + + it('does not do anything if it is not a bug', async () => { + const context = { repo: { owner: 'testOrg', repo: 'testRepo' }, issue: { number: 1 } }; + issuesStub.get.resolves({ data: { body: "I'm having a problem with this." } }); + + await closeInvalidLink({ github: octokitStub, context }); + + sinon.assert.calledOnce(issuesStub.get); + sinon.assert.notCalled(issuesStub.createComment); + sinon.assert.notCalled(issuesStub.update); + }); + + it('does not do anything if it is a bug with an appropriate link', async () => { + const context = { repo: { owner: 'testOrg', repo: 'testRepo' }, issue: { number: 1 } }; + issuesStub.get.resolves({ data: { body: fs.readFileSync('./fixtures/validIssueBody.txt', 'utf-8') } }); + + await closeInvalidLink({ github: octokitStub, context }); + + sinon.assert.calledOnce(issuesStub.get); + sinon.assert.notCalled(issuesStub.createComment); + sinon.assert.notCalled(issuesStub.update); + }); + + it('does not do anything if it is a bug with an appropriate link and the template changes', async () => { + const context = { repo: { owner: 'testOrg', repo: 'testRepo' }, issue: { number: 1 } }; + issuesStub.get.resolves({ data: { body: fs.readFileSync('./fixtures/validIssueBodyDifferentLinkLocation.txt', 'utf-8') } }); + + await closeInvalidLink({ github: octokitStub, context }); + + sinon.assert.calledOnce(issuesStub.get); + sinon.assert.notCalled(issuesStub.createComment); + sinon.assert.notCalled(issuesStub.update); + }); + + it('closes the issue if the link is invalid', async () => { + const context = { repo: { owner: 'testOrg', repo: 'testRepo' }, issue: { number: 1 } }; + issuesStub.get.resolves({ data: { body: fs.readFileSync('./fixtures/invalidIssueBody.txt', 'utf-8') } }); + + await closeInvalidLink({ github: octokitStub, context }); + + sinon.assert.calledOnce(issuesStub.get); + sinon.assert.calledOnce(issuesStub.createComment); + sinon.assert.calledOnce(issuesStub.update); + }); +}); \ No newline at end of file diff --git a/.github/scripts/tests/close-or-remove-response-label.test.cjs b/.github/scripts/tests/close-or-remove-response-label.test.cjs new file mode 100644 index 00000000000..fb092c53619 --- /dev/null +++ b/.github/scripts/tests/close-or-remove-response-label.test.cjs @@ -0,0 +1,109 @@ +// Copyright 2024 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 +// +// https://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 strict'; + +const { describe, it, beforeEach, afterEach } = require('mocha'); +const removeResponseLabel = require('../remove-response-label.cjs'); +const closeUnresponsive = require('../close-unresponsive.cjs'); +const sinon = require('sinon'); + +function getISODateDaysAgo(days) { + const today = new Date(); + const daysAgo = new Date(today.setDate(today.getDate() - days)); + return daysAgo.toISOString(); +} + +describe('close issues or remove needs more info labels', () => { + let octokitStub; + let issuesStub; + let paginateStub; + + beforeEach(() => { + issuesStub = { + listForRepo: sinon.stub(), + update: sinon.stub(), + createComment: sinon.stub(), + get: sinon.stub(), + removeLabel: sinon.stub(), + }; + paginateStub = sinon.stub(); + octokitStub = { + rest: { + issues: issuesStub, + }, + paginate: paginateStub, + }; + }); + + afterEach(() => { + sinon.restore(); + }); + + it('closes the issue if the OP has not responded within the allotted time and there is a needs-more-info label', async () => { + const context = { owner: 'testOrg', repo: 'testRepo' }; + const issuesInRepo = [{ user: { login: 'OP' }, labels: [{ name: 'needs more info' }] }]; + const eventsInIssue = [{ event: 'labeled', label: { name: 'needs more info' }, created_at: getISODateDaysAgo(16) }]; + + issuesStub.listForRepo.resolves({ data: issuesInRepo }); + paginateStub.resolves(eventsInIssue); + + await closeUnresponsive({ github: octokitStub, context }); + + sinon.assert.calledOnce(issuesStub.listForRepo); + sinon.assert.calledOnce(paginateStub); + sinon.assert.calledOnce(issuesStub.update); + sinon.assert.calledOnce(issuesStub.createComment); + }); + + it('does nothing if not enough time has passed and there is a needs-more-info label', async () => { + const context = { owner: 'testOrg', repo: 'testRepo' }; + const issuesInRepo = [{ user: { login: 'OP' }, labels: [{ name: 'needs more info' }] }]; + const eventsInIssue = [{ event: 'labeled', label: { name: 'needs more info' }, created_at: getISODateDaysAgo(14) }]; + + issuesStub.listForRepo.resolves({ data: issuesInRepo }); + paginateStub.resolves(eventsInIssue); + + await closeUnresponsive({ github: octokitStub, context }); + + sinon.assert.calledOnce(issuesStub.listForRepo); + sinon.assert.calledOnce(paginateStub); + sinon.assert.notCalled(issuesStub.update); + sinon.assert.notCalled(issuesStub.createComment); + }); + + it('removes the label if OP responded', async () => { + const context = { actor: 'OP', repo: { owner: 'testOrg', repo: 'testRepo' }, issue: { number: 1 } }; + const issueContext = { user: {login: 'OP'}, labels: [{ name: 'needs more info' }] }; + + issuesStub.get.resolves({ data: issueContext }); + + await removeResponseLabel({ github: octokitStub, context }); + + sinon.assert.calledOnce(issuesStub.get); + sinon.assert.calledOnce(issuesStub.removeLabel); + }); + + it('does not remove the label if author responded', async () => { + const context = { actor: 'repo-maintainer', repo: { owner: 'testOrg', repo: 'testRepo' }, issue: { number: 1 } }; + const issueContext = { user: {login: 'OP'}, labels: [{ name: 'needs more info' }] }; + + issuesStub.get.resolves({ data: issueContext }); + + await removeResponseLabel({ github: octokitStub, context }); + + sinon.assert.calledOnce(issuesStub.get); + sinon.assert.notCalled(issuesStub.removeLabel); + }); +}); \ No newline at end of file diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index b46e4c4d61d..a013376d1cb 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -8,9 +8,9 @@ branchProtectionRules: - "ci/kokoro: Samples test" - "ci/kokoro: System test" - lint - - test (14) - - test (16) - test (18) + - test (20) + - test (22) - cla/google - windows - OwlBot Post Processor diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b3731ae0c91..254ff7cdea8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [14, 16, 18, 20] + node: [18, 20, 22] steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 14 + node-version: 18 - run: npm install - run: npm test env: @@ -44,7 +44,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 14 + node-version: 18 - run: npm install - run: npm run lint docs: @@ -53,6 +53,6 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 14 + node-version: 18 - run: npm install - run: npm run docs-test diff --git a/.github/workflows/issues-no-repro.yaml b/.github/workflows/issues-no-repro.yaml index 442a46bcc48..9b2f70148ee 100644 --- a/.github/workflows/issues-no-repro.yaml +++ b/.github/workflows/issues-no-repro.yaml @@ -11,6 +11,11 @@ jobs: pull-requests: write steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: npm install + working-directory: ./.github/scripts - uses: actions/github-script@v7 with: script: | diff --git a/.kokoro/common.cfg b/.kokoro/common.cfg index f64ba6b527a..ad59b176ade 100644 --- a/.kokoro/common.cfg +++ b/.kokoro/common.cfg @@ -16,7 +16,7 @@ build_file: "google-api-nodejs-client/.kokoro/trampoline_v2.sh" # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:14-user" + value: "gcr.io/cloud-devrel-kokoro-resources/node:18-user" } env_vars: { key: "TRAMPOLINE_BUILD_FILE" diff --git a/.kokoro/continuous/node14/common.cfg b/.kokoro/continuous/node18/common.cfg similarity index 89% rename from .kokoro/continuous/node14/common.cfg rename to .kokoro/continuous/node18/common.cfg index f64ba6b527a..ad59b176ade 100644 --- a/.kokoro/continuous/node14/common.cfg +++ b/.kokoro/continuous/node18/common.cfg @@ -16,7 +16,7 @@ build_file: "google-api-nodejs-client/.kokoro/trampoline_v2.sh" # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:14-user" + value: "gcr.io/cloud-devrel-kokoro-resources/node:18-user" } env_vars: { key: "TRAMPOLINE_BUILD_FILE" diff --git a/.kokoro/continuous/node14/lint.cfg b/.kokoro/continuous/node18/lint.cfg similarity index 100% rename from .kokoro/continuous/node14/lint.cfg rename to .kokoro/continuous/node18/lint.cfg diff --git a/.kokoro/continuous/node14/samples-test.cfg b/.kokoro/continuous/node18/samples-test.cfg similarity index 100% rename from .kokoro/continuous/node14/samples-test.cfg rename to .kokoro/continuous/node18/samples-test.cfg diff --git a/.kokoro/continuous/node14/system-test.cfg b/.kokoro/continuous/node18/system-test.cfg similarity index 100% rename from .kokoro/continuous/node14/system-test.cfg rename to .kokoro/continuous/node18/system-test.cfg diff --git a/.kokoro/continuous/node14/test.cfg b/.kokoro/continuous/node18/test.cfg similarity index 100% rename from .kokoro/continuous/node14/test.cfg rename to .kokoro/continuous/node18/test.cfg diff --git a/.kokoro/presubmit/node14/common.cfg b/.kokoro/presubmit/node18/common.cfg similarity index 89% rename from .kokoro/presubmit/node14/common.cfg rename to .kokoro/presubmit/node18/common.cfg index f64ba6b527a..ad59b176ade 100644 --- a/.kokoro/presubmit/node14/common.cfg +++ b/.kokoro/presubmit/node18/common.cfg @@ -16,7 +16,7 @@ build_file: "google-api-nodejs-client/.kokoro/trampoline_v2.sh" # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:14-user" + value: "gcr.io/cloud-devrel-kokoro-resources/node:18-user" } env_vars: { key: "TRAMPOLINE_BUILD_FILE" diff --git a/.kokoro/presubmit/node14/samples-test.cfg b/.kokoro/presubmit/node18/samples-test.cfg similarity index 100% rename from .kokoro/presubmit/node14/samples-test.cfg rename to .kokoro/presubmit/node18/samples-test.cfg diff --git a/.kokoro/presubmit/node14/system-test.cfg b/.kokoro/presubmit/node18/system-test.cfg similarity index 100% rename from .kokoro/presubmit/node14/system-test.cfg rename to .kokoro/presubmit/node18/system-test.cfg diff --git a/.kokoro/presubmit/node14/test.cfg b/.kokoro/presubmit/node18/test.cfg similarity index 100% rename from .kokoro/presubmit/node14/test.cfg rename to .kokoro/presubmit/node18/test.cfg diff --git a/.kokoro/release/docs-devsite.cfg b/.kokoro/release/docs-devsite.cfg index bea57d1592b..aadc7f0aa9a 100644 --- a/.kokoro/release/docs-devsite.cfg +++ b/.kokoro/release/docs-devsite.cfg @@ -11,7 +11,7 @@ before_action { # doc publications use a Python image. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:14-user" + value: "gcr.io/cloud-devrel-kokoro-resources/node:18-user" } # Download trampoline resources. diff --git a/.kokoro/release/docs.cfg b/.kokoro/release/docs.cfg index 5e8f28e2c1c..65c1c199fa2 100644 --- a/.kokoro/release/docs.cfg +++ b/.kokoro/release/docs.cfg @@ -11,7 +11,7 @@ before_action { # doc publications use a Python image. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:14-user" + value: "gcr.io/cloud-devrel-kokoro-resources/node:18-user" } # Download trampoline resources. diff --git a/.kokoro/release/docs.sh b/.kokoro/release/docs.sh index 1d8f3f490a5..e9079a60530 100755 --- a/.kokoro/release/docs.sh +++ b/.kokoro/release/docs.sh @@ -16,7 +16,7 @@ set -eo pipefail -# build jsdocs (Python is installed on the Node 10 docker image). +# build jsdocs (Python is installed on the Node 18 docker image). if [[ -z "$CREDENTIALS" ]]; then # if CREDENTIALS are explicitly set, assume we're testing locally # and don't set NPM_CONFIG_PREFIX. diff --git a/.kokoro/samples-test.sh b/.kokoro/samples-test.sh index 8c5d108cb58..528775394e0 100755 --- a/.kokoro/samples-test.sh +++ b/.kokoro/samples-test.sh @@ -16,7 +16,9 @@ set -eo pipefail -export NPM_CONFIG_PREFIX=${HOME}/.npm-global +# Ensure the npm global directory is writable, otherwise rebuild `npm` +mkdir -p $NPM_CONFIG_PREFIX +npm config -g ls || npm i -g npm@`npm --version` # Setup service account credentials. export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/secret_manager/long-door-651-kokoro-system-test-service-account @@ -56,7 +58,7 @@ fi # codecov combines coverage across integration and unit tests. Include # the logic below for any environment you wish to collect coverage for: -COVERAGE_NODE=14 +COVERAGE_NODE=18 if npx check-node-version@3.3.0 --silent --node $COVERAGE_NODE; then NYC_BIN=./node_modules/nyc/bin/nyc.js if [ -f "$NYC_BIN" ]; then diff --git a/.kokoro/system-test.sh b/.kokoro/system-test.sh index 0b3043d268c..a90d5cfec89 100755 --- a/.kokoro/system-test.sh +++ b/.kokoro/system-test.sh @@ -49,7 +49,7 @@ npm run system-test # codecov combines coverage across integration and unit tests. Include # the logic below for any environment you wish to collect coverage for: -COVERAGE_NODE=14 +COVERAGE_NODE=18 if npx check-node-version@3.3.0 --silent --node $COVERAGE_NODE; then NYC_BIN=./node_modules/nyc/bin/nyc.js if [ -f "$NYC_BIN" ]; then diff --git a/.kokoro/test.bat b/.kokoro/test.bat index 0bb12405231..caf825656c2 100644 --- a/.kokoro/test.bat +++ b/.kokoro/test.bat @@ -21,7 +21,7 @@ cd .. @rem we upgrade Node.js in the image: SET PATH=%PATH%;/cygdrive/c/Program Files/nodejs/npm -call nvm use v14.17.3 +call nvm use 18 call which node call npm install || goto :error diff --git a/.kokoro/test.sh b/.kokoro/test.sh index 862d478d324..0d9f6392a75 100755 --- a/.kokoro/test.sh +++ b/.kokoro/test.sh @@ -39,7 +39,7 @@ npm test # codecov combines coverage across integration and unit tests. Include # the logic below for any environment you wish to collect coverage for: -COVERAGE_NODE=14 +COVERAGE_NODE=18 if npx check-node-version@3.3.0 --silent --node $COVERAGE_NODE; then NYC_BIN=./node_modules/nyc/bin/nyc.js if [ -f "$NYC_BIN" ]; then diff --git a/.kokoro/trampoline_v2.sh b/.kokoro/trampoline_v2.sh index 4d03112128a..5d6cfcca528 100755 --- a/.kokoro/trampoline_v2.sh +++ b/.kokoro/trampoline_v2.sh @@ -44,7 +44,7 @@ # the project root. # # Here is an example for running this script. -# TRAMPOLINE_IMAGE=gcr.io/cloud-devrel-kokoro-resources/node:10-user \ +# TRAMPOLINE_IMAGE=gcr.io/cloud-devrel-kokoro-resources/node:18-user \ # TRAMPOLINE_BUILD_FILE=.kokoro/system-test.sh \ # .kokoro/trampoline_v2.sh diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 225faab64be..be854f79f6d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1,315 @@ -{".":"149.0.0","src/apis/abusiveexperiencereport":"1.0.7","src/apis/acceleratedmobilepageurl":"1.0.7","src/apis/accesscontextmanager":"9.0.1","src/apis/adexchangebuyer":"1.0.5","src/apis/adexchangebuyer2":"4.2.4","src/apis/adexperiencereport":"1.0.7","src/apis/admin":"23.5.0","src/apis/admob":"2.5.5","src/apis/adsense":"10.4.0","src/apis/adsensehost":"5.0.9","src/apis/alertcenter":"9.6.0","src/apis/analytics":"7.0.7","src/apis/analyticsreporting":"1.0.7","src/apis/androiddeviceprovisioning":"6.5.1","src/apis/androidenterprise":"9.0.1","src/apis/androidmanagement":"17.16.0","src/apis/androidpublisher":"27.0.0","src/apis/appsactivity":"1.0.5","src/apis/bigtableadmin":"25.5.0","src/apis/blogger":"1.1.7","src/apis/books":"4.0.0","src/apis/calendar":"9.8.0","src/apis/chat":"37.0.0","src/apis/chromemanagement":"19.0.1","src/apis/chromepolicy":"9.2.0","src/apis/chromeuxreport":"3.1.0","src/apis/civicinfo":"16.0.0","src/apis/classroom":"4.9.0","src/apis/cloudidentity":"16.1.0","src/apis/cloudkms":"17.6.0","src/apis/cloudsearch":"15.0.0","src/apis/cloudshell":"2.0.7","src/apis/cloudtasks":"15.1.0","src/apis/composer":"9.2.3","src/apis/content":"35.0.1","src/apis/customsearch":"3.2.0","src/apis/dataflow":"15.4.0","src/apis/datafusion":"11.1.0","src/apis/datamigration":"8.1.0","src/apis/deploymentmanager":"14.2.0","src/apis/dfareporting":"12.4.0","src/apis/digitalassetlinks":"5.1.0","src/apis/discovery":"1.7.0","src/apis/displayvideo":"30.0.0","src/apis/docs":"3.4.0","src/apis/domainsrdap":"1.0.10","src/apis/doubleclickbidmanager":"10.0.3","src/apis/doubleclicksearch":"4.0.4","src/apis/drive":"12.1.0","src/apis/driveactivity":"2.0.10","src/apis/eventarc":"6.7.0","src/apis/factchecktools":"1.2.0","src/apis/fcm":"5.5.1","src/apis/file":"11.0.0","src/apis/firebase":"8.1.0","src/apis/firebasedatabase":"2.0.9","src/apis/firebasedynamiclinks":"1.2.0","src/apis/firebasehosting":"9.0.1","src/apis/firebaseml":"14.1.0","src/apis/firebaserules":"1.2.3","src/apis/firebasestorage":"7.0.0","src/apis/fitness":"2.0.7","src/apis/games":"8.0.2","src/apis/gamesConfiguration":"2.0.8","src/apis/gamesManagement":"2.0.9","src/apis/genomics":"3.0.7","src/apis/gmail":"12.0.1","src/apis/gmailpostmastertools":"1.1.2","src/apis/groupsmigration":"1.0.7","src/apis/groupssettings":"3.0.11","src/apis/healthcare":"23.8.0","src/apis/homegraph":"4.0.10","src/apis/iam":"27.1.0","src/apis/iap":"8.2.3","src/apis/identitytoolkit":"15.0.0","src/apis/indexing":"2.0.2","src/apis/kgsearch":"1.0.7","src/apis/libraryagent":"1.0.7","src/apis/licensing":"1.0.7","src/apis/lifesciences":"2.1.0","src/apis/localservices":"4.0.1","src/apis/manufacturers":"5.6.0","src/apis/ml":"3.0.12","src/apis/mybusinessaccountmanagement":"3.0.12","src/apis/networkmanagement":"11.2.0","src/apis/oauth2":"1.0.7","src/apis/ondemandscanning":"15.4.1","src/apis/pagespeedonline":"1.6.0","src/apis/people":"3.0.9","src/apis/playablelocations":"1.0.5","src/apis/playcustomapp":"1.0.5","src/apis/plus":"1.0.3","src/apis/policysimulator":"13.0.0","src/apis/poly":"1.0.5","src/apis/prod_tt_sasportal":"17.0.3","src/apis/pubsublite":"2.1.8","src/apis/realtimebidding":"4.9.0","src/apis/recommendationengine":"3.4.2","src/apis/remotebuildexecution":"3.0.3","src/apis/reseller":"4.0.6","src/apis/run":"19.0.0","src/apis/safebrowsing":"10.0.0","src/apis/sasportal":"18.0.3","src/apis/script":"5.0.5","src/apis/searchconsole":"1.0.5","src/apis/serviceconsumermanagement":"20.6.0","src/apis/servicenetworking":"21.7.0","src/apis/serviceusage":"15.0.2","src/apis/sheets":"9.8.0","src/apis/siteVerification":"2.0.5","src/apis/slides":"1.3.0","src/apis/smartdevicemanagement":"3.0.2","src/apis/sourcerepo":"4.0.7","src/apis/sql":"1.0.3","src/apis/sqladmin":"29.0.0","src/apis/storage":"15.12.0","src/apis/storagetransfer":"7.2.3","src/apis/streetviewpublish":"4.0.5","src/apis/sts":"9.1.0","src/apis/tagmanager":"10.0.0","src/apis/testing":"14.1.0","src/apis/toolresults":"3.3.2","src/apis/tpu":"5.5.0","src/apis/trafficdirector":"4.1.0","src/apis/vault":"4.0.0","src/apis/vectortile":"1.0.3","src/apis/verifiedaccess":"3.9.0","src/apis/webfonts":"1.5.0","src/apis/webmasters":"1.0.3","src/apis/workflowexecutions":"7.11.4","src/apis/youtube":"25.1.0","src/apis/youtubeAnalytics":"2.0.5","src/apis/youtubereporting":"1.0.5","src/apis/forms":"2.5.1","src/apis/authorizedbuyersmarketplace":"8.5.0","src/apis/businessprofileperformance":"1.1.10","src/apis/cloudsupport":"11.0.1","src/apis/connectors":"21.0.0","src/apis/datapipelines":"1.0.7","src/apis/drivelabels":"7.0.2","src/apis/fcmdata":"1.6.0","src/apis/firebaseappcheck":"5.14.2","src/apis/ideahub":"1.0.7","src/apis/mybusinessbusinesscalls":"4.0.5","src/apis/mybusinessbusinessinformation":"4.4.1","src/apis/mybusinesslodging":"3.0.4","src/apis/mybusinessnotifications":"1.0.7","src/apis/mybusinessplaceactions":"1.0.7","src/apis/mybusinessqanda":"1.0.7","src/apis/mybusinessverifications":"2.0.4","src/apis/networkservices":"26.1.0","src/apis/paymentsresellersubscription":"11.0.0","src/apis/playdeveloperreporting":"5.9.0","src/apis/playintegrity":"17.0.0","src/apis/policyanalyzer":"1.2.0","src/apis/runtimeconfig":"4.0.1","src/apis/travelimpactmodel":"2.0.7","src/apis/versionhistory":"1.3.0","src/apis/workloadmanager":"21.0.0","src/apis/workstations":"11.6.0","src/apis/ids":"4.1.0","src/apis/places":"10.0.0","src/apis/vpcaccess":"1.8.0","src/apis/privateca":"6.1.0","src/apis/datalabeling":"2.0.5","src/apis/cloudasset":"9.2.0","src/apis/tasks":"7.0.4","src/apis/datalineage":"1.0.3","src/apis/transcoder":"4.0.5","src/apis/clouderrorreporting":"3.2.0","src/apis/kmsinventory":"4.0.0","src/apis/websecurityscanner":"1.1.0","src/apis/apigateway":"1.1.0","src/apis/analyticshub":"13.0.0","src/apis/notebooks":"8.8.0","src/apis/bigqueryconnection":"1.5.0","src/apis/recommender":"4.4.0","src/apis/analyticsadmin":"11.4.0","src/apis/servicedirectory":"3.1.0","src/apis/monitoring":"9.5.0","src/apis/gkebackup":"8.4.0","src/apis/workflows":"1.12.0","src/apis/jobs":"4.1.1","src/apis/containeranalysis":"11.4.1","src/apis/orgpolicy":"4.2.0","src/apis/documentai":"11.1.0","src/apis/datastream":"6.11.0","src/apis/assuredworkloads":"10.3.0","src/apis/logging":"10.1.0","src/apis/domains":"1.8.3","src/apis/gkehub":"18.1.0","src/apis/vision":"1.5.4","src/apis/policytroubleshooter":"1.0.8","src/apis/gameservices":"1.3.0","src/apis/acmedns":"1.0.7","src/apis/discoveryengine":"19.2.0","src/apis/secretmanager":"1.4.0","src/apis/bigquery":"14.6.0","src/apis/cloudfunctions":"7.1.0","src/apis/vmmigration":"12.2.0","src/apis/certificatemanager":"4.5.0","src/apis/baremetalsolution":"1.0.3","src/apis/accessapproval":"1.12.0","src/apis/container":"14.1.0","src/apis/publicca":"1.0.5","src/apis/batch":"9.11.0","src/apis/datacatalog":"6.4.0","src/apis/managedidentities":"3.0.7","src/apis/bigquerydatatransfer":"1.9.0","src/apis/apikeys":"1.1.0","src/apis/dns":"6.3.0","src/apis/memcache":"5.0.0","src/apis/cloudscheduler":"1.4.0","src/apis/dialogflow":"16.2.0","src/apis/contentwarehouse":"9.3.1","src/apis/speech":"1.5.0","src/apis/contactcenterinsights":"14.1.0","src/apis/oslogin":"3.2.2","src/apis/texttospeech":"2.0.1","src/apis/readerrevenuesubscriptionlinking":"1.0.6","src/apis/compute":"25.0.0","src/apis/cloudtrace":"1.1.7","src/apis/dataplex":"15.1.0","src/apis/advisorynotifications":"3.2.0","src/apis/language":"6.0.0","src/apis/retail":"14.0.1","src/apis/cloudresourcemanager":"1.4.0","src/apis/osconfig":"5.0.0","src/apis/essentialcontacts":"1.1.0","src/apis/appengine":"8.6.0","src/apis/checks":"4.2.0","src/apis/cloudchannel":"3.1.0","src/apis/translate":"3.5.0","src/apis/bigqueryreservation":"3.5.0","src/apis/apigeeregistry":"2.0.2","src/apis/redis":"15.1.0","src/apis/clouddebugger":"1.0.3","src/apis/servicecontrol":"6.0.1","src/apis/videointelligence":"1.2.6","src/apis/cloudbuild":"11.4.0","src/apis/dlp":"13.3.1","src/apis/networksecurity":"8.6.0","src/apis/binaryauthorization":"7.1.0","src/apis/securitycenter":"12.0.0","src/apis/cloudprofiler":"4.0.0","src/apis/dataproc":"9.5.0","src/apis/pubsub":"6.4.0","src/apis/dataform":"7.2.0","src/apis/servicemanagement":"2.3.1","src/apis/searchads360":"6.4.0","src/apis/firebaseappdistribution":"5.0.0","src/apis/billingbudgets":"1.3.2","src/apis/cloudiot":"1.0.2","src/apis/area120tables":"1.0.4","src/apis/beyondcorp":"18.0.0","src/apis/networkconnectivity":"9.2.0","src/apis/analyticsdata":"1.6.0","src/apis/spanner":"7.7.0","src/apis/artifactregistry":"13.2.0","src/apis/firestore":"12.1.0","src/apis/recaptchaenterprise":"6.7.0","src/apis/clouddeploy":"7.4.0","src/apis/datastore":"4.1.1","src/apis/integrations":"1.0.2","src/apis/iamcredentials":"4.2.0","src/apis/resourcesettings":"1.0.5","src/apis/aiplatform":"18.0.0","src/apis/webrisk":"1.0.4","src/apis/gkeonprem":"7.3.0","src/apis/blockchainnodeengine":"6.2.0","src/apis/migrationcenter":"8.3.0","src/apis/contactcenteraiplatform":"7.2.0","src/apis/cloudbilling":"4.1.0","src/apis/metastore":"8.2.0","src/apis/rapidmigrationassessment":"0.2.0","src/apis/playgrouping":"0.1.1","src/apis/alloydb":"12.1.0","src/apis/backupdr":"6.2.0","src/apis/vmwareengine":"1.3.0","src/apis/biglake":"0.1.1","src/apis/looker":"3.1.0","src/apis/bigquerydatapolicy":"0.2.1","src/apis/walletobjects":"6.3.0","src/apis/apphub":"2.2.0","src/apis/dataportability":"3.1.0","src/apis/workspaceevents":"1.1.2","src/apis/marketingplatformadmin":"0.2.2","src/apis/solar":"0.2.2","src/apis/config":"0.4.0","src/apis/cloudcontrolspartner":"0.4.0","src/apis/addressvalidation":"0.1.3","src/apis/developerconnect":"0.5.0","src/apis/merchantapi":"5.0.0","src/apis/meet":"0.2.0","src/apis/pollen":"0.1.1","src/apis/airquality":"0.1.1","src/apis/apim":"0.2.0","src/apis/adsenseplatform":"0.2.0","src/apis/keep":"0.1.0","src/apis/css":"0.4.0","src/apis/oracledatabase":"1.2.0","src/apis/firebasedataconnect":"0.3.0","src/apis/netapp":"0.3.0","src/apis/parallelstore":"0.3.0","src/apis/securityposture":"0.1.1","src/apis/areainsights":"0.1.2","src/apis/managedkafka":"0.2.0","src/apis/observability":"0.1.0","src/apis/storagebatchoperations":"0.1.0"} \ No newline at end of file +{ + ".": "149.0.0", + "src/apis/abusiveexperiencereport": "1.0.7", + "src/apis/acceleratedmobilepageurl": "1.0.7", + "src/apis/accesscontextmanager": "9.0.1", + "src/apis/adexchangebuyer": "1.0.5", + "src/apis/adexchangebuyer2": "4.2.4", + "src/apis/adexperiencereport": "1.0.7", + "src/apis/admin": "23.5.0", + "src/apis/admob": "2.5.5", + "src/apis/adsense": "10.4.0", + "src/apis/adsensehost": "5.0.9", + "src/apis/alertcenter": "9.6.0", + "src/apis/analytics": "7.0.7", + "src/apis/analyticsreporting": "1.0.7", + "src/apis/androiddeviceprovisioning": "6.5.1", + "src/apis/androidenterprise": "9.0.1", + "src/apis/androidmanagement": "17.16.0", + "src/apis/androidpublisher": "27.0.0", + "src/apis/apihub": "0.1.0", + "src/apis/apim": "0.2.0", + "src/apis/apphub": "2.2.0", + "src/apis/appsactivity": "1.0.5", + "src/apis/bigtableadmin": "25.5.0", + "src/apis/blogger": "1.1.7", + "src/apis/books": "4.0.0", + "src/apis/calendar": "9.8.0", + "src/apis/chat": "37.0.0", + "src/apis/chromemanagement": "19.0.1", + "src/apis/chromepolicy": "9.2.0", + "src/apis/chromeuxreport": "3.1.0", + "src/apis/civicinfo": "16.0.0", + "src/apis/classroom": "4.9.0", + "src/apis/cloudidentity": "16.1.0", + "src/apis/cloudkms": "17.6.0", + "src/apis/cloudsearch": "15.0.0", + "src/apis/cloudshell": "2.0.7", + "src/apis/cloudtasks": "15.1.0", + "src/apis/composer": "9.2.3", + "src/apis/content": "35.0.1", + "src/apis/customsearch": "3.2.0", + "src/apis/dataflow": "15.4.0", + "src/apis/datafusion": "11.1.0", + "src/apis/datamigration": "8.1.0", + "src/apis/deploymentmanager": "14.2.0", + "src/apis/dfareporting": "12.4.0", + "src/apis/digitalassetlinks": "5.1.0", + "src/apis/discovery": "1.7.0", + "src/apis/displayvideo": "30.0.0", + "src/apis/docs": "3.4.0", + "src/apis/domainsrdap": "1.0.10", + "src/apis/doubleclickbidmanager": "10.0.3", + "src/apis/doubleclicksearch": "4.0.4", + "src/apis/drive": "12.1.0", + "src/apis/driveactivity": "2.0.10", + "src/apis/eventarc": "6.7.0", + "src/apis/factchecktools": "1.2.0", + "src/apis/fcm": "5.5.1", + "src/apis/file": "11.0.0", + "src/apis/firebase": "8.1.0", + "src/apis/fcmdata": "1.6.0", + "src/apis/firebaseappcheck": "5.14.2", + "src/apis/firebaseappdistribution": "5.0.0", + "src/apis/firebaseapphosting": "0.1.0", + "src/apis/firebasedatabase": "2.0.9", + "src/apis/firebasedynamiclinks": "1.2.0", + "src/apis/firebasehosting": "9.0.1", + "src/apis/firebaseml": "14.1.0", + "src/apis/firebaserules": "1.2.3", + "src/apis/firebasestorage": "7.0.0", + "src/apis/fitness": "2.0.7", + "src/apis/games": "8.0.2", + "src/apis/gamesConfiguration": "2.0.8", + "src/apis/gamesManagement": "2.0.9", + "src/apis/genomics": "3.0.7", + "src/apis/gmail": "12.0.1", + "src/apis/gmailpostmastertools": "1.1.2", + "src/apis/groupsmigration": "1.0.7", + "src/apis/groupssettings": "3.0.11", + "src/apis/healthcare": "23.8.0", + "src/apis/homegraph": "4.0.10", + "src/apis/iam": "27.1.0", + "src/apis/iap": "8.2.3", + "src/apis/identitytoolkit": "15.0.0", + "src/apis/indexing": "2.0.2", + "src/apis/kgsearch": "1.0.7", + "src/apis/libraryagent": "1.0.7", + "src/apis/licensing": "1.0.7", + "src/apis/lifesciences": "2.1.0", + "src/apis/localservices": "4.0.1", + "src/apis/manufacturers": "5.6.0", + "src/apis/ml": "3.0.12", + "src/apis/mybusinessaccountmanagement": "3.0.12", + "src/apis/networkmanagement": "11.2.0", + "src/apis/oauth2": "1.0.7", + "src/apis/ondemandscanning": "15.4.1", + "src/apis/pagespeedonline": "1.6.0", + "src/apis/people": "3.0.9", + "src/apis/playablelocations": "1.0.5", + "src/apis/playcustomapp": "1.0.5", + "src/apis/plus": "1.0.3", + "src/apis/policysimulator": "13.0.0", + "src/apis/poly": "1.0.5", + "src/apis/prod_tt_sasportal": "17.0.3", + "src/apis/pubsublite": "2.1.8", + "src/apis/realtimebidding": "4.9.0", + "src/apis/recommendationengine": "3.4.2", + "src/apis/remotebuildexecution": "3.0.3", + "src/apis/reseller": "4.0.6", + "src/apis/run": "19.0.0", + "src/apis/safebrowsing": "10.0.0", + "src/apis/sasportal": "18.0.3", + "src/apis/script": "5.0.5", + "src/apis/searchconsole": "1.0.5", + "src/apis/serviceconsumermanagement": "20.6.0", + "src/apis/servicenetworking": "21.7.0", + "src/apis/serviceusage": "15.0.2", + "src/apis/sheets": "9.8.0", + "src/apis/siteVerification": "2.0.5", + "src/apis/slides": "1.3.0", + "src/apis/smartdevicemanagement": "3.0.2", + "src/apis/sourcerepo": "4.0.7", + "src/apis/sql": "1.0.3", + "src/apis/sqladmin": "29.0.0", + "src/apis/storage": "15.12.0", + "src/apis/storagetransfer": "7.2.3", + "src/apis/streetviewpublish": "4.0.5", + "src/apis/sts": "9.1.0", + "src/apis/tagmanager": "10.0.0", + "src/apis/testing": "14.1.0", + "src/apis/toolresults": "3.3.2", + "src/apis/tpu": "5.5.0", + "src/apis/trafficdirector": "4.1.0", + "src/apis/vault": "4.0.0", + "src/apis/vectortile": "1.0.3", + "src/apis/verifiedaccess": "3.9.0", + "src/apis/webfonts": "1.5.0", + "src/apis/webmasters": "1.0.3", + "src/apis/workflowexecutions": "7.11.4", + "src/apis/youtube": "25.1.0", + "src/apis/youtubeAnalytics": "2.0.5", + "src/apis/youtubereporting": "1.0.5", + "src/apis/forms": "2.5.1", + "src/apis/authorizedbuyersmarketplace": "8.5.0", + "src/apis/businessprofileperformance": "1.1.10", + "src/apis/cloudsupport": "11.0.1", + "src/apis/connectors": "21.0.0", + "src/apis/datapipelines": "1.0.7", + "src/apis/drivelabels": "7.0.2", + "src/apis/ideahub": "1.0.7", + "src/apis/mybusinessbusinesscalls": "4.0.5", + "src/apis/mybusinessbusinessinformation": "4.4.1", + "src/apis/mybusinesslodging": "3.0.4", + "src/apis/mybusinessnotifications": "1.0.7", + "src/apis/mybusinessplaceactions": "1.0.7", + "src/apis/mybusinessqanda": "1.0.7", + "src/apis/mybusinessverifications": "2.0.4", + "src/apis/networkservices": "26.1.0", + "src/apis/paymentsresellersubscription": "11.0.0", + "src/apis/playdeveloperreporting": "5.9.0", + "src/apis/playintegrity": "17.0.0", + "src/apis/policyanalyzer": "1.2.0", + "src/apis/runtimeconfig": "4.0.1", + "src/apis/travelimpactmodel": "2.0.7", + "src/apis/versionhistory": "1.3.0", + "src/apis/workloadmanager": "21.0.0", + "src/apis/workstations": "11.6.0", + "src/apis/ids": "4.1.0", + "src/apis/places": "10.0.0", + "src/apis/vpcaccess": "1.8.0", + "src/apis/privateca": "6.1.0", + "src/apis/datalabeling": "2.0.5", + "src/apis/cloudasset": "9.2.0", + "src/apis/tasks": "7.0.4", + "src/apis/datalineage": "1.0.3", + "src/apis/transcoder": "4.0.5", + "src/apis/clouderrorreporting": "3.2.0", + "src/apis/kmsinventory": "4.0.0", + "src/apis/websecurityscanner": "1.1.0", + "src/apis/apigateway": "1.1.0", + "src/apis/analyticshub": "13.0.0", + "src/apis/notebooks": "8.8.0", + "src/apis/bigqueryconnection": "1.5.0", + "src/apis/recommender": "4.4.0", + "src/apis/analyticsadmin": "11.4.0", + "src/apis/servicedirectory": "3.1.0", + "src/apis/monitoring": "9.5.0", + "src/apis/gkebackup": "8.4.0", + "src/apis/workflows": "1.12.0", + "src/apis/jobs": "4.1.1", + "src/apis/containeranalysis": "11.4.1", + "src/apis/orgpolicy": "4.2.0", + "src/apis/documentai": "11.1.0", + "src/apis/datastream": "6.11.0", + "src/apis/assuredworkloads": "10.3.0", + "src/apis/logging": "10.1.0", + "src/apis/domains": "1.8.3", + "src/apis/gkehub": "18.1.0", + "src/apis/vision": "1.5.4", + "src/apis/policytroubleshooter": "1.0.8", + "src/apis/gameservices": "1.3.0", + "src/apis/acmedns": "1.0.7", + "src/apis/discoveryengine": "19.2.0", + "src/apis/secretmanager": "1.4.0", + "src/apis/bigquery": "14.6.0", + "src/apis/cloudfunctions": "7.1.0", + "src/apis/vmmigration": "12.2.0", + "src/apis/certificatemanager": "4.5.0", + "src/apis/baremetalsolution": "1.0.3", + "src/apis/accessapproval": "1.12.0", + "src/apis/container": "14.1.0", + "src/apis/publicca": "1.0.5", + "src/apis/batch": "9.11.0", + "src/apis/datacatalog": "6.4.0", + "src/apis/managedidentities": "3.0.7", + "src/apis/bigquerydatatransfer": "1.9.0", + "src/apis/apikeys": "1.1.0", + "src/apis/dns": "6.3.0", + "src/apis/memcache": "5.0.0", + "src/apis/cloudscheduler": "1.4.0", + "src/apis/dialogflow": "16.2.0", + "src/apis/contentwarehouse": "9.3.1", + "src/apis/speech": "1.5.0", + "src/apis/contactcenterinsights": "14.1.0", + "src/apis/oslogin": "3.2.2", + "src/apis/texttospeech": "2.0.1", + "src/apis/readerrevenuesubscriptionlinking": "1.0.6", + "src/apis/compute": "25.0.0", + "src/apis/cloudtrace": "1.1.7", + "src/apis/dataplex": "15.1.0", + "src/apis/advisorynotifications": "3.2.0", + "src/apis/language": "6.0.0", + "src/apis/retail": "14.0.1", + "src/apis/cloudresourcemanager": "1.4.0", + "src/apis/osconfig": "5.0.0", + "src/apis/essentialcontacts": "1.1.0", + "src/apis/appengine": "8.6.0", + "src/apis/checks": "4.2.0", + "src/apis/cloudchannel": "3.1.0", + "src/apis/translate": "3.5.0", + "src/apis/bigqueryreservation": "3.5.0", + "src/apis/apigeeregistry": "2.0.2", + "src/apis/redis": "15.1.0", + "src/apis/clouddebugger": "1.0.3", + "src/apis/servicecontrol": "6.0.1", + "src/apis/videointelligence": "1.2.6", + "src/apis/cloudbuild": "11.4.0", + "src/apis/dlp": "13.3.1", + "src/apis/networksecurity": "8.6.0", + "src/apis/binaryauthorization": "7.1.0", + "src/apis/securitycenter": "12.0.0", + "src/apis/cloudprofiler": "4.0.0", + "src/apis/dataproc": "9.5.0", + "src/apis/pubsub": "6.4.0", + "src/apis/dataform": "7.2.0", + "src/apis/servicemanagement": "2.3.1", + "src/apis/searchads360": "6.4.0", + "src/apis/billingbudgets": "1.3.2", + "src/apis/cloudiot": "1.0.2", + "src/apis/area120tables": "1.0.4", + "src/apis/beyondcorp": "18.0.0", + "src/apis/networkconnectivity": "9.2.0", + "src/apis/analyticsdata": "1.6.0", + "src/apis/spanner": "7.7.0", + "src/apis/artifactregistry": "13.2.0", + "src/apis/firestore": "12.1.0", + "src/apis/recaptchaenterprise": "6.7.0", + "src/apis/clouddeploy": "7.4.0", + "src/apis/datastore": "4.1.1", + "src/apis/integrations": "1.0.2", + "src/apis/iamcredentials": "4.2.0", + "src/apis/resourcesettings": "1.0.5", + "src/apis/aiplatform": "18.0.0", + "src/apis/webrisk": "1.0.4", + "src/apis/gkeonprem": "7.3.0", + "src/apis/blockchainnodeengine": "6.2.0", + "src/apis/migrationcenter": "8.3.0", + "src/apis/contactcenteraiplatform": "7.2.0", + "src/apis/cloudbilling": "4.1.0", + "src/apis/metastore": "8.2.0", + "src/apis/rapidmigrationassessment": "0.2.0", + "src/apis/playgrouping": "0.1.1", + "src/apis/alloydb": "12.1.0", + "src/apis/backupdr": "6.2.0", + "src/apis/vmwareengine": "1.3.0", + "src/apis/biglake": "0.1.1", + "src/apis/looker": "3.1.0", + "src/apis/bigquerydatapolicy": "0.2.1", + "src/apis/walletobjects": "6.3.0", + "src/apis/dataportability": "3.1.0", + "src/apis/workspaceevents": "1.1.2", + "src/apis/marketingplatformadmin": "0.2.2", + "src/apis/solar": "0.2.2", + "src/apis/config": "0.4.0", + "src/apis/cloudcontrolspartner": "0.4.0", + "src/apis/addressvalidation": "0.1.3", + "src/apis/developerconnect": "0.5.0", + "src/apis/merchantapi": "5.0.0", + "src/apis/meet": "0.2.0", + "src/apis/pollen": "0.1.1", + "src/apis/airquality": "0.1.1", + "src/apis/adsenseplatform": "0.2.0", + "src/apis/keep": "0.1.0", + "src/apis/css": "0.4.0", + "src/apis/oracledatabase": "1.2.0", + "src/apis/firebasedataconnect": "0.3.0", + "src/apis/netapp": "0.3.0", + "src/apis/parallelstore": "0.3.0", + "src/apis/securityposture": "0.1.1", + "src/apis/areainsights": "0.1.2", + "src/apis/managedkafka": "0.2.0", + "src/apis/observability": "0.1.0", + "src/apis/storagebatchoperations": "0.1.0" +} + \ No newline at end of file diff --git a/discovery/acceleratedmobilepageurl-v1.json b/discovery/acceleratedmobilepageurl-v1.json index ab2da1532db..67f336331d3 100644 --- a/discovery/acceleratedmobilepageurl-v1.json +++ b/discovery/acceleratedmobilepageurl-v1.json @@ -115,7 +115,7 @@ } } }, - "revision": "20230705", + "revision": "20230701", "rootUrl": "https://acceleratedmobilepageurl.googleapis.com/", "schemas": { "AmpUrl": { diff --git a/discovery/accessapproval-v1beta1.json b/discovery/accessapproval-v1beta1.json deleted file mode 100644 index f5fdd6978d4..00000000000 --- a/discovery/accessapproval-v1beta1.json +++ /dev/null @@ -1,985 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "basePath": "", - "baseUrl": "https://accessapproval.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Access Approval", - "description": "An API for controlling access to data by Google personnel.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/access-approval/docs", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "accessapproval:v1beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://accessapproval.mtls.googleapis.com/", - "name": "accessapproval", - "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": { - "folders": { - "methods": { - "deleteAccessApprovalSettings": { - "description": "Deletes the settings associated with a project, folder, or organization.\nThis will have the effect of disabling Access Approval for the project,\nfolder, or organization, but only if all ancestors also have Access\nApproval disabled. If Access Approval is enabled at a higher level of the\nhierarchy, then Access Approval will still be enabled at this level as\nthe settings are inherited.", - "flatPath": "v1beta1/folders/{foldersId}/accessApprovalSettings", - "httpMethod": "DELETE", - "id": "accessapproval.folders.deleteAccessApprovalSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the AccessApprovalSettings to delete.", - "location": "path", - "pattern": "^folders/[^/]+/accessApprovalSettings$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getAccessApprovalSettings": { - "description": "Gets the settings associated with a project, folder, or organization.", - "flatPath": "v1beta1/folders/{foldersId}/accessApprovalSettings", - "httpMethod": "GET", - "id": "accessapproval.folders.getAccessApprovalSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the AccessApprovalSettings to retrieve.", - "location": "path", - "pattern": "^folders/[^/]+/accessApprovalSettings$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "AccessApprovalSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "updateAccessApprovalSettings": { - "description": "Updates the settings associated with a project, folder, or organization.\nSettings to update are determined by the value of field_mask.", - "flatPath": "v1beta1/folders/{foldersId}/accessApprovalSettings", - "httpMethod": "PATCH", - "id": "accessapproval.folders.updateAccessApprovalSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The resource name of the settings. Format is one of:\n
    \n
  1. \"projects/{project_id}/accessApprovalSettings\"
  2. \n
  3. \"folders/{folder_id}/accessApprovalSettings\"
  4. \n
  5. \"organizations/{organization_id}/accessApprovalSettings\"
  6. \n
      ", - "location": "path", - "pattern": "^folders/[^/]+/accessApprovalSettings$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "For the `FieldMask` definition, see\nhttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask\nIf this field is left unset, only the notification_emails field will be\nupdated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "request": { - "$ref": "AccessApprovalSettings" - }, - "response": { - "$ref": "AccessApprovalSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "approvalRequests": { - "methods": { - "approve": { - "description": "Approves a request and returns the updated ApprovalRequest.\n\nReturns NOT_FOUND if the request does not exist. Returns\nFAILED_PRECONDITION if the request exists but is not in a pending state.", - "flatPath": "v1beta1/folders/{foldersId}/approvalRequests/{approvalRequestsId}:approve", - "httpMethod": "POST", - "id": "accessapproval.folders.approvalRequests.approve", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the approval request to approve.", - "location": "path", - "pattern": "^folders/[^/]+/approvalRequests/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}:approve", - "request": { - "$ref": "ApproveApprovalRequestMessage" - }, - "response": { - "$ref": "ApprovalRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "dismiss": { - "description": "Dismisses a request. Returns the updated ApprovalRequest.\n\nNOTE: This does not deny access to the resource if another request has been\nmade and approved. It is equivalent in effect to ignoring the request\naltogether.\n\nReturns NOT_FOUND if the request does not exist.\n\nReturns FAILED_PRECONDITION if the request exists but is not in a pending\nstate.", - "flatPath": "v1beta1/folders/{foldersId}/approvalRequests/{approvalRequestsId}:dismiss", - "httpMethod": "POST", - "id": "accessapproval.folders.approvalRequests.dismiss", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the ApprovalRequest to dismiss.", - "location": "path", - "pattern": "^folders/[^/]+/approvalRequests/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}:dismiss", - "request": { - "$ref": "DismissApprovalRequestMessage" - }, - "response": { - "$ref": "ApprovalRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets an approval request. Returns NOT_FOUND if the request does not exist.", - "flatPath": "v1beta1/folders/{foldersId}/approvalRequests/{approvalRequestsId}", - "httpMethod": "GET", - "id": "accessapproval.folders.approvalRequests.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the approval request to retrieve.", - "location": "path", - "pattern": "^folders/[^/]+/approvalRequests/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "ApprovalRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists approval requests associated with a project, folder, or organization.\nApproval requests can be filtered by state (pending, active, dismissed).\nThe order is reverse chronological.", - "flatPath": "v1beta1/folders/{foldersId}/approvalRequests", - "httpMethod": "GET", - "id": "accessapproval.folders.approvalRequests.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n
        \n
      1. [not set]: Requests that are pending or have active approvals.
      2. \n
      3. ALL: All requests.
      4. \n
      5. PENDING: Only pending requests.
      6. \n
      7. ACTIVE: Only active (i.e. currently approved) requests.
      8. \n
      9. DISMISSED: Only dismissed (including expired) requests.
      10. \n
      11. HISTORY: Active and dismissed (including expired) requests.
      12. \n
      ", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying the page of results to return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "The parent resource. This may be \"projects/{project_id}\",\n\"folders/{folder_id}\", or \"organizations/{organization_id}\".", - "location": "path", - "pattern": "^folders/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/approvalRequests", - "response": { - "$ref": "ListApprovalRequestsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "organizations": { - "methods": { - "deleteAccessApprovalSettings": { - "description": "Deletes the settings associated with a project, folder, or organization.\nThis will have the effect of disabling Access Approval for the project,\nfolder, or organization, but only if all ancestors also have Access\nApproval disabled. If Access Approval is enabled at a higher level of the\nhierarchy, then Access Approval will still be enabled at this level as\nthe settings are inherited.", - "flatPath": "v1beta1/organizations/{organizationsId}/accessApprovalSettings", - "httpMethod": "DELETE", - "id": "accessapproval.organizations.deleteAccessApprovalSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the AccessApprovalSettings to delete.", - "location": "path", - "pattern": "^organizations/[^/]+/accessApprovalSettings$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getAccessApprovalSettings": { - "description": "Gets the settings associated with a project, folder, or organization.", - "flatPath": "v1beta1/organizations/{organizationsId}/accessApprovalSettings", - "httpMethod": "GET", - "id": "accessapproval.organizations.getAccessApprovalSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the AccessApprovalSettings to retrieve.", - "location": "path", - "pattern": "^organizations/[^/]+/accessApprovalSettings$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "AccessApprovalSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "updateAccessApprovalSettings": { - "description": "Updates the settings associated with a project, folder, or organization.\nSettings to update are determined by the value of field_mask.", - "flatPath": "v1beta1/organizations/{organizationsId}/accessApprovalSettings", - "httpMethod": "PATCH", - "id": "accessapproval.organizations.updateAccessApprovalSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The resource name of the settings. Format is one of:\n
        \n
      1. \"projects/{project_id}/accessApprovalSettings\"
      2. \n
      3. \"folders/{folder_id}/accessApprovalSettings\"
      4. \n
      5. \"organizations/{organization_id}/accessApprovalSettings\"
      6. \n
          ", - "location": "path", - "pattern": "^organizations/[^/]+/accessApprovalSettings$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "For the `FieldMask` definition, see\nhttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask\nIf this field is left unset, only the notification_emails field will be\nupdated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "request": { - "$ref": "AccessApprovalSettings" - }, - "response": { - "$ref": "AccessApprovalSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "approvalRequests": { - "methods": { - "approve": { - "description": "Approves a request and returns the updated ApprovalRequest.\n\nReturns NOT_FOUND if the request does not exist. Returns\nFAILED_PRECONDITION if the request exists but is not in a pending state.", - "flatPath": "v1beta1/organizations/{organizationsId}/approvalRequests/{approvalRequestsId}:approve", - "httpMethod": "POST", - "id": "accessapproval.organizations.approvalRequests.approve", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the approval request to approve.", - "location": "path", - "pattern": "^organizations/[^/]+/approvalRequests/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}:approve", - "request": { - "$ref": "ApproveApprovalRequestMessage" - }, - "response": { - "$ref": "ApprovalRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "dismiss": { - "description": "Dismisses a request. Returns the updated ApprovalRequest.\n\nNOTE: This does not deny access to the resource if another request has been\nmade and approved. It is equivalent in effect to ignoring the request\naltogether.\n\nReturns NOT_FOUND if the request does not exist.\n\nReturns FAILED_PRECONDITION if the request exists but is not in a pending\nstate.", - "flatPath": "v1beta1/organizations/{organizationsId}/approvalRequests/{approvalRequestsId}:dismiss", - "httpMethod": "POST", - "id": "accessapproval.organizations.approvalRequests.dismiss", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the ApprovalRequest to dismiss.", - "location": "path", - "pattern": "^organizations/[^/]+/approvalRequests/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}:dismiss", - "request": { - "$ref": "DismissApprovalRequestMessage" - }, - "response": { - "$ref": "ApprovalRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets an approval request. Returns NOT_FOUND if the request does not exist.", - "flatPath": "v1beta1/organizations/{organizationsId}/approvalRequests/{approvalRequestsId}", - "httpMethod": "GET", - "id": "accessapproval.organizations.approvalRequests.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the approval request to retrieve.", - "location": "path", - "pattern": "^organizations/[^/]+/approvalRequests/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "ApprovalRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists approval requests associated with a project, folder, or organization.\nApproval requests can be filtered by state (pending, active, dismissed).\nThe order is reverse chronological.", - "flatPath": "v1beta1/organizations/{organizationsId}/approvalRequests", - "httpMethod": "GET", - "id": "accessapproval.organizations.approvalRequests.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n
            \n
          1. [not set]: Requests that are pending or have active approvals.
          2. \n
          3. ALL: All requests.
          4. \n
          5. PENDING: Only pending requests.
          6. \n
          7. ACTIVE: Only active (i.e. currently approved) requests.
          8. \n
          9. DISMISSED: Only dismissed (including expired) requests.
          10. \n
          11. HISTORY: Active and dismissed (including expired) requests.
          12. \n
          ", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying the page of results to return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "The parent resource. This may be \"projects/{project_id}\",\n\"folders/{folder_id}\", or \"organizations/{organization_id}\".", - "location": "path", - "pattern": "^organizations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/approvalRequests", - "response": { - "$ref": "ListApprovalRequestsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "projects": { - "methods": { - "deleteAccessApprovalSettings": { - "description": "Deletes the settings associated with a project, folder, or organization.\nThis will have the effect of disabling Access Approval for the project,\nfolder, or organization, but only if all ancestors also have Access\nApproval disabled. If Access Approval is enabled at a higher level of the\nhierarchy, then Access Approval will still be enabled at this level as\nthe settings are inherited.", - "flatPath": "v1beta1/projects/{projectsId}/accessApprovalSettings", - "httpMethod": "DELETE", - "id": "accessapproval.projects.deleteAccessApprovalSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the AccessApprovalSettings to delete.", - "location": "path", - "pattern": "^projects/[^/]+/accessApprovalSettings$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getAccessApprovalSettings": { - "description": "Gets the settings associated with a project, folder, or organization.", - "flatPath": "v1beta1/projects/{projectsId}/accessApprovalSettings", - "httpMethod": "GET", - "id": "accessapproval.projects.getAccessApprovalSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the AccessApprovalSettings to retrieve.", - "location": "path", - "pattern": "^projects/[^/]+/accessApprovalSettings$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "AccessApprovalSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "updateAccessApprovalSettings": { - "description": "Updates the settings associated with a project, folder, or organization.\nSettings to update are determined by the value of field_mask.", - "flatPath": "v1beta1/projects/{projectsId}/accessApprovalSettings", - "httpMethod": "PATCH", - "id": "accessapproval.projects.updateAccessApprovalSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The resource name of the settings. Format is one of:\n
            \n
          1. \"projects/{project_id}/accessApprovalSettings\"
          2. \n
          3. \"folders/{folder_id}/accessApprovalSettings\"
          4. \n
          5. \"organizations/{organization_id}/accessApprovalSettings\"
          6. \n
              ", - "location": "path", - "pattern": "^projects/[^/]+/accessApprovalSettings$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "For the `FieldMask` definition, see\nhttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask\nIf this field is left unset, only the notification_emails field will be\nupdated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "request": { - "$ref": "AccessApprovalSettings" - }, - "response": { - "$ref": "AccessApprovalSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "approvalRequests": { - "methods": { - "approve": { - "description": "Approves a request and returns the updated ApprovalRequest.\n\nReturns NOT_FOUND if the request does not exist. Returns\nFAILED_PRECONDITION if the request exists but is not in a pending state.", - "flatPath": "v1beta1/projects/{projectsId}/approvalRequests/{approvalRequestsId}:approve", - "httpMethod": "POST", - "id": "accessapproval.projects.approvalRequests.approve", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the approval request to approve.", - "location": "path", - "pattern": "^projects/[^/]+/approvalRequests/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}:approve", - "request": { - "$ref": "ApproveApprovalRequestMessage" - }, - "response": { - "$ref": "ApprovalRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "dismiss": { - "description": "Dismisses a request. Returns the updated ApprovalRequest.\n\nNOTE: This does not deny access to the resource if another request has been\nmade and approved. It is equivalent in effect to ignoring the request\naltogether.\n\nReturns NOT_FOUND if the request does not exist.\n\nReturns FAILED_PRECONDITION if the request exists but is not in a pending\nstate.", - "flatPath": "v1beta1/projects/{projectsId}/approvalRequests/{approvalRequestsId}:dismiss", - "httpMethod": "POST", - "id": "accessapproval.projects.approvalRequests.dismiss", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the ApprovalRequest to dismiss.", - "location": "path", - "pattern": "^projects/[^/]+/approvalRequests/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}:dismiss", - "request": { - "$ref": "DismissApprovalRequestMessage" - }, - "response": { - "$ref": "ApprovalRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets an approval request. Returns NOT_FOUND if the request does not exist.", - "flatPath": "v1beta1/projects/{projectsId}/approvalRequests/{approvalRequestsId}", - "httpMethod": "GET", - "id": "accessapproval.projects.approvalRequests.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the approval request to retrieve.", - "location": "path", - "pattern": "^projects/[^/]+/approvalRequests/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "ApprovalRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists approval requests associated with a project, folder, or organization.\nApproval requests can be filtered by state (pending, active, dismissed).\nThe order is reverse chronological.", - "flatPath": "v1beta1/projects/{projectsId}/approvalRequests", - "httpMethod": "GET", - "id": "accessapproval.projects.approvalRequests.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n
                \n
              1. [not set]: Requests that are pending or have active approvals.
              2. \n
              3. ALL: All requests.
              4. \n
              5. PENDING: Only pending requests.
              6. \n
              7. ACTIVE: Only active (i.e. currently approved) requests.
              8. \n
              9. DISMISSED: Only dismissed (including expired) requests.
              10. \n
              11. HISTORY: Active and dismissed (including expired) requests.
              12. \n
              ", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying the page of results to return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "The parent resource. This may be \"projects/{project_id}\",\n\"folders/{folder_id}\", or \"organizations/{organization_id}\".", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/approvalRequests", - "response": { - "$ref": "ListApprovalRequestsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - }, - "revision": "20200708", - "rootUrl": "https://accessapproval.googleapis.com/", - "schemas": { - "AccessApprovalSettings": { - "description": "Settings on a Project/Folder/Organization related to Access Approval.", - "id": "AccessApprovalSettings", - "properties": { - "enrolledAncestor": { - "description": "Output only. This field is read only (not settable via\nUpdateAccessAccessApprovalSettings method). If the field is true, that\nindicates that at least one service is enrolled for Access Approval in one\nor more ancestors of the Project or Folder (this field will always be\nunset for the organization since organizations do not have ancestors).", - "type": "boolean" - }, - "enrolledServices": { - "description": "A list of Google Cloud Services for which the given resource has Access\nApproval enrolled. Access requests for the resource given by name against\nany of these services contained here will be required to have explicit\napproval. If name refers to an organization, enrollment can be done for\nindividual services. If name refers to a folder or project, enrollment can\nonly be done on an all or nothing basis.\n\nIf a cloud_product is repeated in this list, the first entry will be\nhonored and all following entries will be discarded. A maximum of 10\nenrolled services will be enforced, to be expanded as the set of supported\nservices is expanded.", - "items": { - "$ref": "EnrolledService" - }, - "type": "array" - }, - "name": { - "description": "The resource name of the settings. Format is one of:\n
                \n
              1. \"projects/{project_id}/accessApprovalSettings\"
              2. \n
              3. \"folders/{folder_id}/accessApprovalSettings\"
              4. \n
              5. \"organizations/{organization_id}/accessApprovalSettings\"
              6. \n
                  ", - "type": "string" - }, - "notificationEmails": { - "description": "A list of email addresses to which notifications relating to approval\nrequests should be sent. Notifications relating to a resource will be sent\nto all emails in the settings of ancestor resources of that resource. A\nmaximum of 50 email addresses are allowed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AccessLocations": { - "description": "Home office and physical location of the principal.", - "id": "AccessLocations", - "properties": { - "principalOfficeCountry": { - "description": "The \"home office\" location of the principal. A two-letter country code\n(ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or a region code. In some\nlimited situations Google systems may refer refer to a region code instead\nof a country code.\nPossible Region Codes:\n
                    \n
                  1. ASI: Asia
                  2. \n
                  3. EUR: Europe
                  4. \n
                  5. OCE: Oceania
                  6. \n
                  7. AFR: Africa
                  8. \n
                  9. NAM: North America
                  10. \n
                  11. SAM: South America
                  12. \n
                  13. ANT: Antarctica
                  14. \n
                  15. ANY: Any location
                  16. \n
                  ", - "type": "string" - }, - "principalPhysicalLocationCountry": { - "description": "Physical location of the principal at the time of the access. A\ntwo-letter country code (ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or\na region code. In some limited situations Google systems may refer refer to\na region code instead of a country code.\nPossible Region Codes:\n
                    \n
                  1. ASI: Asia
                  2. \n
                  3. EUR: Europe
                  4. \n
                  5. OCE: Oceania
                  6. \n
                  7. AFR: Africa
                  8. \n
                  9. NAM: North America
                  10. \n
                  11. SAM: South America
                  12. \n
                  13. ANT: Antarctica
                  14. \n
                  15. ANY: Any location
                  16. \n
                  ", - "type": "string" - } - }, - "type": "object" - }, - "AccessReason": { - "id": "AccessReason", - "properties": { - "detail": { - "description": "More detail about certain reason types. See comments for each type above.", - "type": "string" - }, - "type": { - "description": "Type of access justification.", - "enum": [ - "TYPE_UNSPECIFIED", - "CUSTOMER_INITIATED_SUPPORT", - "GOOGLE_INITIATED_SERVICE", - "GOOGLE_INITIATED_REVIEW" - ], - "enumDescriptions": [ - "Default value for proto, shouldn't be used.", - "Customer made a request or raised an issue that required the principal to\naccess customer data. `detail` is of the form (\"#####\" is the issue ID):\n
                    \n
                  1. \"Feedback Report: #####\"
                  2. \n
                  3. \"Case Number: #####\"
                  4. \n
                  5. \"Case ID: #####\"
                  6. \n
                  7. \"E-PIN Reference: #####\"
                  8. \n
                  9. \"Google-#####\"
                  10. \n
                  11. \"T-#####\"
                  12. \n
                  ", - "The principal accessed customer data in order to diagnose or resolve a\nsuspected issue in services or a known outage. Often this access is used\nto confirm that customers are not affected by a suspected service issue\nor to remediate a reversible system issue.", - "Google initiated service for security, fraud, abuse, or compliance\npurposes." - ], - "type": "string" - } - }, - "type": "object" - }, - "ApprovalRequest": { - "description": "A request for the customer to approve access to a resource.", - "id": "ApprovalRequest", - "properties": { - "approve": { - "$ref": "ApproveDecision", - "description": "Access was approved." - }, - "dismiss": { - "$ref": "DismissDecision", - "description": "The request was dismissed." - }, - "name": { - "description": "The resource name of the request. Format is\n\"{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}\".", - "type": "string" - }, - "requestTime": { - "description": "The time at which approval was requested.", - "format": "google-datetime", - "type": "string" - }, - "requestedExpiration": { - "description": "The requested expiration for the approval. If the request is approved,\naccess will be granted from the time of approval until the expiration time.", - "format": "google-datetime", - "type": "string" - }, - "requestedLocations": { - "$ref": "AccessLocations", - "description": "The locations for which approval is being requested." - }, - "requestedReason": { - "$ref": "AccessReason", - "description": "The justification for which approval is being requested." - }, - "requestedResourceName": { - "description": "The resource for which approval is being requested. The format of the\nresource name is defined at\nhttps://cloud.google.com/apis/design/resource_names. The resource name here\nmay either be a \"full\" resource name (e.g.\n\"//library.googleapis.com/shelves/shelf1/books/book2\") or a \"relative\"\nresource name (e.g. \"shelves/shelf1/books/book2\") as described in the\nresource name specification.", - "type": "string" - }, - "requestedResourceProperties": { - "$ref": "ResourceProperties", - "description": "Properties related to the resource represented by requested_resource_name." - } - }, - "type": "object" - }, - "ApproveApprovalRequestMessage": { - "description": "Request to approve an ApprovalRequest.", - "id": "ApproveApprovalRequestMessage", - "properties": { - "expireTime": { - "description": "The expiration time of this approval.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "ApproveDecision": { - "description": "A decision that has been made to approve access to a resource.", - "id": "ApproveDecision", - "properties": { - "approveTime": { - "description": "The time at which approval was granted.", - "format": "google-datetime", - "type": "string" - }, - "expireTime": { - "description": "The time at which the approval expires.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "DismissApprovalRequestMessage": { - "description": "Request to dismiss an approval request.", - "id": "DismissApprovalRequestMessage", - "properties": {}, - "type": "object" - }, - "DismissDecision": { - "description": "A decision that has been made to dismiss an approval request.", - "id": "DismissDecision", - "properties": { - "dismissTime": { - "description": "The time at which the approval request was dismissed.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "EnrolledService": { - "description": "Represents the enrollment of a cloud resource into a specific service.", - "id": "EnrolledService", - "properties": { - "cloudProduct": { - "description": "The product for which Access Approval will be enrolled. Allowed values are\nlisted below (case-sensitive):\n
                    \n
                  1. all
                  2. \n
                  3. appengine.googleapis.com
                  4. \n
                  5. bigquery.googleapis.com
                  6. \n
                  7. bigtable.googleapis.com
                  8. \n
                  9. cloudkms.googleapis.com
                  10. \n
                  11. compute.googleapis.com
                  12. \n
                  13. dataflow.googleapis.com
                  14. \n
                  15. iam.googleapis.com
                  16. \n
                  17. pubsub.googleapis.com
                  18. \n
                  19. storage.googleapis.com
                  20. \n
                      ", - "type": "string" - }, - "enrollmentLevel": { - "description": "The enrollment level of the service.", - "enum": [ - "ENROLLMENT_LEVEL_UNSPECIFIED", - "BLOCK_ALL" - ], - "enumDescriptions": [ - "Default value for proto, shouldn't be used.", - "Service is enrolled in Access Approval for all requests" - ], - "type": "string" - } - }, - "type": "object" - }, - "ListApprovalRequestsResponse": { - "description": "Response to listing of ApprovalRequest objects.", - "id": "ListApprovalRequestsResponse", - "properties": { - "approvalRequests": { - "description": "Approval request details.", - "items": { - "$ref": "ApprovalRequest" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceProperties": { - "description": "The properties associated with the resource of the request.", - "id": "ResourceProperties", - "properties": { - "excludesDescendants": { - "description": "Whether an approval will exclude the descendants of the resource being\nrequested.", - "type": "boolean" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Access Approval API", - "version": "v1beta1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/accesscontextmanager-v1beta.json b/discovery/accesscontextmanager-v1beta.json deleted file mode 100644 index 016c01c6ccb..00000000000 --- a/discovery/accesscontextmanager-v1beta.json +++ /dev/null @@ -1,1084 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://accesscontextmanager.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Access Context Manager", - "description": "An API for setting attribute based access control to requests to Google Cloud services.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/access-context-manager/docs/reference/rest/", - "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": "accesscontextmanager:v1beta", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://accesscontextmanager.mtls.googleapis.com/", - "name": "accesscontextmanager", - "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": { - "accessPolicies": { - "methods": { - "create": { - "description": "Create an `AccessPolicy`. Fails if this organization already has a `AccessPolicy`. The longrunning Operation will have a successful status once the `AccessPolicy` has propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in `metadata` as a BadRequest proto.", - "flatPath": "v1beta/accessPolicies", - "httpMethod": "POST", - "id": "accesscontextmanager.accessPolicies.create", - "parameterOrder": [], - "parameters": {}, - "path": "v1beta/accessPolicies", - "request": { - "$ref": "AccessPolicy" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Delete an AccessPolicy by resource name. The longrunning Operation will have a successful status once the AccessPolicy has been removed from long-lasting storage.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}", - "httpMethod": "DELETE", - "id": "accesscontextmanager.accessPolicies.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Resource name for the access policy to delete. Format `accessPolicies/{policy_id}`", - "location": "path", - "pattern": "^accessPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Get an AccessPolicy by name.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}", - "httpMethod": "GET", - "id": "accesscontextmanager.accessPolicies.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Resource name for the access policy to get. Format `accessPolicies/{policy_id}`", - "location": "path", - "pattern": "^accessPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "AccessPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "List all AccessPolicies under a container.", - "flatPath": "v1beta/accessPolicies", - "httpMethod": "GET", - "id": "accesscontextmanager.accessPolicies.list", - "parameterOrder": [], - "parameters": { - "pageSize": { - "description": "Number of AccessPolicy instances to include in the list. Default 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Next page token for the next batch of AccessPolicy instances. Defaults to the first page of results.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Resource name for the container to list AccessPolicy instances from. Format: `organizations/{org_id}`", - "location": "query", - "type": "string" - } - }, - "path": "v1beta/accessPolicies", - "response": { - "$ref": "ListAccessPoliciesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Update an AccessPolicy. The longrunning Operation from this RPC will have a successful status once the changes to the AccessPolicy have propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in `metadata` as a BadRequest proto.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}", - "httpMethod": "PATCH", - "id": "accesscontextmanager.accessPolicies.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{policy_id}`", - "location": "path", - "pattern": "^accessPolicies/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. Mask to control which fields get updated. Must be non-empty.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta/{+name}", - "request": { - "$ref": "AccessPolicy" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "accessLevels": { - "methods": { - "create": { - "description": "Create an Access Level. The longrunning operation from this RPC will have a successful status once the Access Level has propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels", - "httpMethod": "POST", - "id": "accesscontextmanager.accessPolicies.accessLevels.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. Resource name for the access policy which owns this Access Level. Format: `accessPolicies/{policy_id}`", - "location": "path", - "pattern": "^accessPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+parent}/accessLevels", - "request": { - "$ref": "AccessLevel" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Delete an Access Level by resource name. The longrunning operation from this RPC will have a successful status once the Access Level has been removed from long-lasting storage.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels/{accessLevelsId}", - "httpMethod": "DELETE", - "id": "accesscontextmanager.accessPolicies.accessLevels.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Resource name for the Access Level. Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}`", - "location": "path", - "pattern": "^accessPolicies/[^/]+/accessLevels/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Get an Access Level by resource name.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels/{accessLevelsId}", - "httpMethod": "GET", - "id": "accesscontextmanager.accessPolicies.accessLevels.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "accessLevelFormat": { - "description": "Whether to return `BasicLevels` in the Cloud Common Expression Language rather than as `BasicLevels`. Defaults to AS_DEFINED, where Access Levels are returned as `BasicLevels` or `CustomLevels` based on how they were created. If set to CEL, all Access Levels are returned as `CustomLevels`. In the CEL case, `BasicLevels` are translated to equivalent `CustomLevels`.", - "enum": [ - "LEVEL_FORMAT_UNSPECIFIED", - "AS_DEFINED", - "CEL" - ], - "enumDescriptions": [ - "The format was not specified.", - "Uses the format the resource was defined in. BasicLevels are returned as BasicLevels, CustomLevels are returned as CustomLevels.", - "Use Cloud Common Expression Language when returning the resource. Both BasicLevels and CustomLevels are returned as CustomLevels." - ], - "location": "query", - "type": "string" - }, - "name": { - "description": "Required. Resource name for the Access Level. Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}`", - "location": "path", - "pattern": "^accessPolicies/[^/]+/accessLevels/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "AccessLevel" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "List all Access Levels for an access policy.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels", - "httpMethod": "GET", - "id": "accesscontextmanager.accessPolicies.accessLevels.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "accessLevelFormat": { - "description": "Whether to return `BasicLevels` in the Cloud Common Expression language, as `CustomLevels`, rather than as `BasicLevels`. Defaults to returning `AccessLevels` in the format they were defined.", - "enum": [ - "LEVEL_FORMAT_UNSPECIFIED", - "AS_DEFINED", - "CEL" - ], - "enumDescriptions": [ - "The format was not specified.", - "Uses the format the resource was defined in. BasicLevels are returned as BasicLevels, CustomLevels are returned as CustomLevels.", - "Use Cloud Common Expression Language when returning the resource. Both BasicLevels and CustomLevels are returned as CustomLevels." - ], - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Number of Access Levels to include in the list. Default 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Next page token for the next batch of Access Level instances. Defaults to the first page of results.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Resource name for the access policy to list Access Levels from. Format: `accessPolicies/{policy_id}`", - "location": "path", - "pattern": "^accessPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+parent}/accessLevels", - "response": { - "$ref": "ListAccessLevelsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Update an Access Level. The longrunning operation from this RPC will have a successful status once the changes to the Access Level have propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels/{accessLevelsId}", - "httpMethod": "PATCH", - "id": "accesscontextmanager.accessPolicies.accessLevels.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", - "location": "path", - "pattern": "^accessPolicies/[^/]+/accessLevels/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. Mask to control which fields get updated. Must be non-empty.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta/{+name}", - "request": { - "$ref": "AccessLevel" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "servicePerimeters": { - "methods": { - "create": { - "description": "Create a Service Perimeter. The longrunning operation from this RPC will have a successful status once the Service Perimeter has propagated to long-lasting storage. Service Perimeters containing errors will result in an error response for the first error encountered.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters", - "httpMethod": "POST", - "id": "accesscontextmanager.accessPolicies.servicePerimeters.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. Resource name for the access policy which owns this Service Perimeter. Format: `accessPolicies/{policy_id}`", - "location": "path", - "pattern": "^accessPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+parent}/servicePerimeters", - "request": { - "$ref": "ServicePerimeter" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Delete a Service Perimeter by resource name. The longrunning operation from this RPC will have a successful status once the Service Perimeter has been removed from long-lasting storage.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters/{servicePerimetersId}", - "httpMethod": "DELETE", - "id": "accesscontextmanager.accessPolicies.servicePerimeters.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Resource name for the Service Perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}`", - "location": "path", - "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Get a Service Perimeter by resource name.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters/{servicePerimetersId}", - "httpMethod": "GET", - "id": "accesscontextmanager.accessPolicies.servicePerimeters.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Resource name for the Service Perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}`", - "location": "path", - "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "ServicePerimeter" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "List all Service Perimeters for an access policy.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters", - "httpMethod": "GET", - "id": "accesscontextmanager.accessPolicies.servicePerimeters.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "Number of Service Perimeters to include in the list. Default 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Next page token for the next batch of Service Perimeter instances. Defaults to the first page of results.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Resource name for the access policy to list Service Perimeters from. Format: `accessPolicies/{policy_id}`", - "location": "path", - "pattern": "^accessPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+parent}/servicePerimeters", - "response": { - "$ref": "ListServicePerimetersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Update a Service Perimeter. The longrunning operation from this RPC will have a successful status once the changes to the Service Perimeter have propagated to long-lasting storage. Service Perimeter containing errors will result in an error response for the first error encountered.", - "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters/{servicePerimetersId}", - "httpMethod": "PATCH", - "id": "accesscontextmanager.accessPolicies.servicePerimeters.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", - "location": "path", - "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. Mask to control which fields get updated. Must be non-empty.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta/{+name}", - "request": { - "$ref": "ServicePerimeter" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta/operations/{operationsId}", - "httpMethod": "GET", - "id": "accesscontextmanager.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - }, - "revision": "20230806", - "rootUrl": "https://accesscontextmanager.googleapis.com/", - "schemas": { - "AccessContextManagerOperationMetadata": { - "description": "Metadata of Access Context Manager's Long Running Operations.", - "id": "AccessContextManagerOperationMetadata", - "properties": {}, - "type": "object" - }, - "AccessLevel": { - "description": "An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.", - "id": "AccessLevel", - "properties": { - "basic": { - "$ref": "BasicLevel", - "description": "A `BasicLevel` composed of `Conditions`." - }, - "custom": { - "$ref": "CustomLevel", - "description": "A `CustomLevel` written in the Common Expression Language." - }, - "description": { - "description": "Description of the `AccessLevel` and its use. Does not affect behavior.", - "type": "string" - }, - "name": { - "description": "Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", - "type": "string" - }, - "title": { - "description": "Human readable title. Must be unique within the Policy.", - "type": "string" - } - }, - "type": "object" - }, - "AccessPolicy": { - "description": "`AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.", - "id": "AccessPolicy", - "properties": { - "name": { - "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{policy_id}`", - "type": "string" - }, - "parent": { - "description": "Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}`", - "type": "string" - }, - "title": { - "description": "Required. Human readable title. Does not affect behavior.", - "type": "string" - } - }, - "type": "object" - }, - "BasicLevel": { - "description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.", - "id": "BasicLevel", - "properties": { - "combiningFunction": { - "description": "How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND.", - "enum": [ - "AND", - "OR" - ], - "enumDescriptions": [ - "All `Conditions` must be true for the `BasicLevel` to be true.", - "If at least one `Condition` is true, then the `BasicLevel` is true." - ], - "type": "string" - }, - "conditions": { - "description": "Required. A list of requirements for the `AccessLevel` to be granted.", - "items": { - "$ref": "Condition" - }, - "type": "array" - } - }, - "type": "object" - }, - "Condition": { - "description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.", - "id": "Condition", - "properties": { - "devicePolicy": { - "$ref": "DevicePolicy", - "description": "Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed." - }, - "ipSubnetworks": { - "description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas \"2001:db8::1/32\" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "members": { - "description": "The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user.", - "items": { - "type": "string" - }, - "type": "array" - }, - "negate": { - "description": "Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.", - "type": "boolean" - }, - "regions": { - "description": "The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredAccessLevels": { - "description": "A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: \"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomLevel": { - "description": "`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec", - "id": "CustomLevel", - "properties": { - "expr": { - "$ref": "Expr", - "description": "Required. A Cloud CEL expression evaluating to a boolean." - } - }, - "type": "object" - }, - "DevicePolicy": { - "description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.", - "id": "DevicePolicy", - "properties": { - "allowedDeviceManagementLevels": { - "description": "Allowed device management levels, an empty list allows all management levels.", - "items": { - "enum": [ - "MANAGEMENT_UNSPECIFIED", - "NONE", - "BASIC", - "COMPLETE" - ], - "enumDescriptions": [ - "The device's management level is not specified or not known.", - "The device is not managed.", - "Basic management is enabled, which is generally limited to monitoring and wiping the corporate account.", - "Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform." - ], - "type": "string" - }, - "type": "array" - }, - "allowedEncryptionStatuses": { - "description": "Allowed encryptions statuses, an empty list allows all statuses.", - "items": { - "enum": [ - "ENCRYPTION_UNSPECIFIED", - "ENCRYPTION_UNSUPPORTED", - "UNENCRYPTED", - "ENCRYPTED" - ], - "enumDescriptions": [ - "The encryption status of the device is not specified or not known.", - "The device does not support encryption.", - "The device supports encryption, but is currently unencrypted.", - "The device is encrypted." - ], - "type": "string" - }, - "type": "array" - }, - "osConstraints": { - "description": "Allowed OS versions, an empty list allows all types and all versions.", - "items": { - "$ref": "OsConstraint" - }, - "type": "array" - }, - "requireAdminApproval": { - "description": "Whether the device needs to be approved by the customer admin.", - "type": "boolean" - }, - "requireCorpOwned": { - "description": "Whether the device needs to be corp owned.", - "type": "boolean" - }, - "requireScreenlock": { - "description": "Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`.", - "type": "boolean" - } - }, - "type": "object" - }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", - "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" - }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", - "type": "string" - }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" - } - }, - "type": "object" - }, - "ListAccessLevelsResponse": { - "description": "A response to `ListAccessLevelsRequest`.", - "id": "ListAccessLevelsResponse", - "properties": { - "accessLevels": { - "description": "List of the Access Level instances.", - "items": { - "$ref": "AccessLevel" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The pagination token to retrieve the next page of results. If the value is empty, no further results remain.", - "type": "string" - } - }, - "type": "object" - }, - "ListAccessPoliciesResponse": { - "description": "A response to `ListAccessPoliciesRequest`.", - "id": "ListAccessPoliciesResponse", - "properties": { - "accessPolicies": { - "description": "List of the AccessPolicy instances.", - "items": { - "$ref": "AccessPolicy" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The pagination token to retrieve the next page of results. If the value is empty, no further results remain.", - "type": "string" - } - }, - "type": "object" - }, - "ListServicePerimetersResponse": { - "description": "A response to `ListServicePerimetersRequest`.", - "id": "ListServicePerimetersResponse", - "properties": { - "nextPageToken": { - "description": "The pagination token to retrieve the next page of results. If the value is empty, no further results remain.", - "type": "string" - }, - "servicePerimeters": { - "description": "List of the Service Perimeter instances.", - "items": { - "$ref": "ServicePerimeter" - }, - "type": "array" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "OsConstraint": { - "description": "A restriction on the OS type and version of devices making requests.", - "id": "OsConstraint", - "properties": { - "minimumVersion": { - "description": "The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `\"major.minor.patch\"`. Examples: `\"10.5.301\"`, `\"9.2.1\"`.", - "type": "string" - }, - "osType": { - "description": "Required. The allowed OS type.", - "enum": [ - "OS_UNSPECIFIED", - "DESKTOP_MAC", - "DESKTOP_WINDOWS", - "DESKTOP_LINUX", - "DESKTOP_CHROME_OS", - "ANDROID", - "IOS" - ], - "enumDescriptions": [ - "The operating system of the device is not specified or not known.", - "A desktop Mac operating system.", - "A desktop Windows operating system.", - "A desktop Linux operating system.", - "A desktop ChromeOS operating system.", - "An Android operating system.", - "An iOS operating system." - ], - "type": "string" - }, - "requireVerifiedChromeOs": { - "description": "Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.", - "type": "boolean" - } - }, - "type": "object" - }, - "ServicePerimeter": { - "description": "`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter - Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google Cloud project can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only Google Cloud projects as members, a single Google Cloud project may belong to multiple Service Perimeter Bridges.", - "id": "ServicePerimeter", - "properties": { - "description": { - "description": "Description of the `ServicePerimeter` and its use. Does not affect behavior.", - "type": "string" - }, - "name": { - "description": "Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", - "type": "string" - }, - "perimeterType": { - "description": "Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, restricted/unrestricted service lists as well as access lists must be empty.", - "enum": [ - "PERIMETER_TYPE_REGULAR", - "PERIMETER_TYPE_BRIDGE" - ], - "enumDescriptions": [ - "Regular Perimeter. When no value is specified, the perimeter uses this type.", - "Perimeter Bridge." - ], - "type": "string" - }, - "status": { - "$ref": "ServicePerimeterConfig", - "description": "Current ServicePerimeter configuration. Specifies sets of resources, restricted/unrestricted services and access levels that determine perimeter content and boundaries." - }, - "title": { - "description": "Human readable title. Must be unique within the Policy.", - "type": "string" - } - }, - "type": "object" - }, - "ServicePerimeterConfig": { - "description": "`ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.", - "id": "ServicePerimeterConfig", - "properties": { - "accessLevels": { - "description": "A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `\"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL\"`. For Service Perimeter Bridge, must be empty.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resources": { - "description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: `projects/{project_number}`", - "items": { - "type": "string" - }, - "type": "array" - }, - "restrictedServices": { - "description": "Google Cloud services that are subject to the Service Perimeter restrictions. Must contain a list of services. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.", - "items": { - "type": "string" - }, - "type": "array" - }, - "unrestrictedServices": { - "description": "Google Cloud services that are not subject to the Service Perimeter restrictions. Deprecated. Must be set to a single wildcard \"*\". The wildcard means that unless explicitly specified by \"restricted_services\" list, any service is treated as unrestricted.", - "items": { - "type": "string" - }, - "type": "array" - }, - "vpcAccessibleServices": { - "$ref": "VpcAccessibleServices", - "description": "Beta. Configuration for APIs allowed within Perimeter." - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "VpcAccessibleServices": { - "description": "Specifies how APIs are allowed to communicate within the Service Perimeter.", - "id": "VpcAccessibleServices", - "properties": { - "allowedServices": { - "description": "The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.", - "items": { - "type": "string" - }, - "type": "array" - }, - "enableRestriction": { - "description": "Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.", - "type": "boolean" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Access Context Manager API", - "version": "v1beta", - "version_module": true -} \ No newline at end of file diff --git a/discovery/acmedns-v1.json b/discovery/acmedns-v1.json deleted file mode 100644 index 176d7c7564b..00000000000 --- a/discovery/acmedns-v1.json +++ /dev/null @@ -1,222 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://acmedns.googleapis.com/", - "batchPath": "batch", - "canonicalName": "ACME DNS", - "description": "Google Domains ACME DNS API that allows users to complete ACME DNS-01 challenges for a domain.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/domains/acme-dns/", - "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": "acmedns:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://acmedns.mtls.googleapis.com/", - "name": "acmedns", - "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": { - "acmeChallengeSets": { - "methods": { - "get": { - "description": "Gets the ACME challenge set for a given domain name. Domain names must be provided in Punycode.", - "flatPath": "v1/acmeChallengeSets/{rootDomain}", - "httpMethod": "GET", - "id": "acmedns.acmeChallengeSets.get", - "parameterOrder": [ - "rootDomain" - ], - "parameters": { - "rootDomain": { - "description": "Required. SLD + TLD domain name to list challenges. For example, this would be \"google.com\" for any FQDN under \"google.com\". That includes challenges for \"subdomain.google.com\". This MAY be Unicode or Punycode.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1/acmeChallengeSets/{rootDomain}", - "response": { - "$ref": "AcmeChallengeSet" - } - }, - "rotateChallenges": { - "description": "Rotate the ACME challenges for a given domain name. By default, removes any challenges that are older than 30 days. Domain names must be provided in Punycode.", - "flatPath": "v1/acmeChallengeSets/{rootDomain}:rotateChallenges", - "httpMethod": "POST", - "id": "acmedns.acmeChallengeSets.rotateChallenges", - "parameterOrder": [ - "rootDomain" - ], - "parameters": { - "rootDomain": { - "description": "Required. SLD + TLD domain name to update records for. For example, this would be \"google.com\" for any FQDN under \"google.com\". That includes challenges for \"subdomain.google.com\". This MAY be Unicode or Punycode.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1/acmeChallengeSets/{rootDomain}:rotateChallenges", - "request": { - "$ref": "RotateChallengesRequest" - }, - "response": { - "$ref": "AcmeChallengeSet" - } - } - } - } - }, - "revision": "20230301", - "rootUrl": "https://acmedns.googleapis.com/", - "schemas": { - "AcmeChallengeSet": { - "description": "The up-to-date ACME challenge set on a domain for an RPC. This contains all of the ACME TXT records that exist on the domain.", - "id": "AcmeChallengeSet", - "properties": { - "record": { - "description": "The ACME challenges on the requested domain represented as individual TXT records.", - "items": { - "$ref": "AcmeTxtRecord" - }, - "type": "array" - } - }, - "type": "object" - }, - "AcmeTxtRecord": { - "description": "The TXT record message that represents an ACME DNS-01 challenge.", - "id": "AcmeTxtRecord", - "properties": { - "digest": { - "description": "Holds the ACME challenge data put in the TXT record. This will be checked to be a valid TXT record data entry.", - "type": "string" - }, - "fqdn": { - "description": "The domain/subdomain for the record. In a request, this MAY be Unicode or Punycode. In a response, this will be in Unicode. The fqdn MUST contain the root_domain field on the request.", - "type": "string" - }, - "updateTime": { - "description": "Output only. The time when this record was last updated. This will be in UTC time.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "RotateChallengesRequest": { - "description": "The request message for the RotateChallenges RPC. Requires an access token, a root domain, and either records_to_add or records_to_remove to be populated. Records may be set for multiple subdomains at once to support SAN requests for multiple subdomains in a single domain. By default, ACME TXT record challenges that are older than 30 days will be removed. Set `keep_expired_records` to false if this behavior is undesired. There is a record maximum of 100 records per domain including expired records. Any request sent that would exceed this maximum will result in a FAILED_PRECONDITION error. NEXT ID: 6", - "id": "RotateChallengesRequest", - "properties": { - "accessToken": { - "description": "Required. ACME DNS access token. This is a base64 token secret that is procured from the Google Domains website. It authorizes ACME TXT record updates for a domain.", - "format": "byte", - "type": "string" - }, - "keepExpiredRecords": { - "description": "Keep records older than 30 days that were used for previous requests.", - "type": "boolean" - }, - "recordsToAdd": { - "description": "ACME TXT record challenges to add. Supports multiple challenges on the same FQDN.", - "items": { - "$ref": "AcmeTxtRecord" - }, - "type": "array" - }, - "recordsToRemove": { - "description": "ACME TXT record challenges to remove.", - "items": { - "$ref": "AcmeTxtRecord" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "ACME DNS API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/adexchangebuyer-v1.2.json b/discovery/adexchangebuyer-v1.2.json deleted file mode 100644 index b51ea611d15..00000000000 --- a/discovery/adexchangebuyer-v1.2.json +++ /dev/null @@ -1,596 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/adexchange.buyer": { - "description": "Manage your Ad Exchange buyer account configuration" - } - } - } - }, - "basePath": "/adexchangebuyer/v1.2/", - "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.2/", - "batchPath": "batch/adexchangebuyer/v1.2", - "canonicalName": "Ad Exchange Buyer", - "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/NqH-dIwRC63Jam7EMg3FwCUSX_o\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", - "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" - }, - "id": "adexchangebuyer:v1.2", - "kind": "discovery#restDescription", - "name": "adexchangebuyer", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "accounts": { - "methods": { - "get": { - "description": "Gets one account by ID.", - "httpMethod": "GET", - "id": "adexchangebuyer.accounts.get", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves the authenticated user's list of accounts.", - "httpMethod": "GET", - "id": "adexchangebuyer.accounts.list", - "path": "accounts", - "response": { - "$ref": "AccountsList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates an existing account. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.accounts.patch", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates an existing account.", - "httpMethod": "PUT", - "id": "adexchangebuyer.accounts.update", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "creatives": { - "methods": { - "get": { - "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.get", - "parameterOrder": [ - "accountId", - "buyerCreativeId" - ], - "parameters": { - "accountId": { - "description": "The id for the account that will serve this creative.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "The buyer-specific id for this creative.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "creatives/{accountId}/{buyerCreativeId}", - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Submit a new creative.", - "httpMethod": "POST", - "id": "adexchangebuyer.creatives.insert", - "path": "creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.list", - "parameters": { - "maxResults": { - "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", - "format": "uint32", - "location": "query", - "maximum": "1000", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", - "location": "query", - "type": "string" - }, - "statusFilter": { - "description": "When specified, only creatives having the given status are returned.", - "enum": [ - "approved", - "disapproved", - "not_checked" - ], - "enumDescriptions": [ - "Creatives which have been approved.", - "Creatives which have been disapproved.", - "Creatives whose status is not yet checked." - ], - "location": "query", - "type": "string" - } - }, - "path": "creatives", - "response": { - "$ref": "CreativesList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - } - }, - "revision": "20191204", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "Account": { - "description": "Configuration data for an Ad Exchange buyer account.", - "id": "Account", - "properties": { - "bidderLocation": { - "description": "Your bidder locations that have distinct URLs.", - "items": { - "properties": { - "maximumQps": { - "description": "The maximum queries per second the Ad Exchange will send.", - "format": "int32", - "type": "integer" - }, - "region": { - "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST", - "type": "string" - }, - "url": { - "description": "The URL to which the Ad Exchange will send bid requests.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "cookieMatchingNid": { - "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.", - "type": "string" - }, - "cookieMatchingUrl": { - "description": "The base URL used in cookie match requests.", - "type": "string" - }, - "id": { - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "kind": { - "default": "adexchangebuyer#account", - "description": "Resource type.", - "type": "string" - }, - "maximumActiveCreatives": { - "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.", - "format": "int32", - "type": "integer" - }, - "maximumTotalQps": { - "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.", - "format": "int32", - "type": "integer" - }, - "numberActiveCreatives": { - "description": "The number of creatives that this account inserted or bid with in the last 30 days.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "AccountsList": { - "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.", - "id": "AccountsList", - "properties": { - "items": { - "description": "A list of accounts.", - "items": { - "$ref": "Account" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#accountsList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "Creative": { - "description": "A creative and its classification data.", - "id": "Creative", - "properties": { - "HTMLSnippet": { - "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set.", - "type": "string" - }, - "accountId": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "advertiserId": { - "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "advertiserName": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "The name of the company being advertised in the creative.", - "type": "string" - }, - "agencyId": { - "description": "The agency id for this creative.", - "format": "int64", - "type": "string" - }, - "apiUploadTimestamp": { - "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).", - "format": "date-time", - "type": "string" - }, - "attribute": { - "description": "All attributes for the ads that may be shown from this snippet.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "buyerCreativeId": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "A buyer-specific id identifying the creative in this ad.", - "type": "string" - }, - "clickThroughUrl": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "The set of destination urls for the snippet.", - "items": { - "type": "string" - }, - "type": "array" - }, - "corrections": { - "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.", - "items": { - "properties": { - "details": { - "description": "Additional details about the correction.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reason": { - "description": "The type of correction that was applied to the creative.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "disapprovalReasons": { - "description": "The reasons for disapproval, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue. Read-only. This field should not be set in requests.", - "items": { - "properties": { - "details": { - "description": "Additional details about the reason for disapproval.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reason": { - "description": "The categorized reason for disapproval.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "filteringReasons": { - "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.", - "properties": { - "date": { - "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.", - "type": "string" - }, - "reasons": { - "description": "The filtering reasons.", - "items": { - "properties": { - "filteringCount": { - "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.", - "format": "int64", - "type": "string" - }, - "filteringStatus": { - "description": "The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "height": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Ad height.", - "format": "int32", - "type": "integer" - }, - "impressionTrackingUrl": { - "description": "The set of urls to be called to record an impression.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creative", - "description": "Resource type.", - "type": "string" - }, - "productCategories": { - "description": "Detected product categories, if any. Read-only. This field should not be set in requests.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "restrictedCategories": { - "description": "All restricted categories for the ads that may be shown from this snippet.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "sensitiveCategories": { - "description": "Detected sensitive categories, if any. Read-only. This field should not be set in requests.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "status": { - "description": "Creative serving status. Read-only. This field should not be set in requests.", - "type": "string" - }, - "vendorType": { - "description": "All vendor types for the ads that may be shown from this snippet.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "version": { - "description": "The version for this creative. Read-only. This field should not be set in requests.", - "format": "int32", - "type": "integer" - }, - "videoURL": { - "description": "The url to fetch a video ad. If set, HTMLSnippet should not be set.", - "type": "string" - }, - "width": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Ad width.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "CreativesList": { - "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.", - "id": "CreativesList", - "properties": { - "items": { - "description": "A list of creatives.", - "items": { - "$ref": "Creative" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creativesList", - "description": "Resource type.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "adexchangebuyer/v1.2/", - "title": "Ad Exchange Buyer API", - "version": "v1.2" -} \ No newline at end of file diff --git a/discovery/adexchangebuyer-v1.3.json b/discovery/adexchangebuyer-v1.3.json deleted file mode 100644 index 174045cb5e1..00000000000 --- a/discovery/adexchangebuyer-v1.3.json +++ /dev/null @@ -1,1686 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/adexchange.buyer": { - "description": "Manage your Ad Exchange buyer account configuration" - } - } - } - }, - "basePath": "/adexchangebuyer/v1.3/", - "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.3/", - "batchPath": "batch/adexchangebuyer/v1.3", - "canonicalName": "Ad Exchange Buyer", - "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/q3PXuYjke5DLC1iS16IMMN2X5Kc\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", - "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" - }, - "id": "adexchangebuyer:v1.3", - "kind": "discovery#restDescription", - "name": "adexchangebuyer", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "accounts": { - "methods": { - "get": { - "description": "Gets one account by ID.", - "httpMethod": "GET", - "id": "adexchangebuyer.accounts.get", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves the authenticated user's list of accounts.", - "httpMethod": "GET", - "id": "adexchangebuyer.accounts.list", - "path": "accounts", - "response": { - "$ref": "AccountsList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates an existing account. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.accounts.patch", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates an existing account.", - "httpMethod": "PUT", - "id": "adexchangebuyer.accounts.update", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "billingInfo": { - "methods": { - "get": { - "description": "Returns the billing information for one account specified by account ID.", - "httpMethod": "GET", - "id": "adexchangebuyer.billingInfo.get", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "billinginfo/{accountId}", - "response": { - "$ref": "BillingInfo" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of billing information for all accounts of the authenticated user.", - "httpMethod": "GET", - "id": "adexchangebuyer.billingInfo.list", - "path": "billinginfo", - "response": { - "$ref": "BillingInfoList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "budget": { - "methods": { - "get": { - "description": "Returns the budget information for the adgroup specified by the accountId and billingId.", - "httpMethod": "GET", - "id": "adexchangebuyer.budget.get", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the budget information for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id to get the budget information for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.budget.patch", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "request": { - "$ref": "Budget" - }, - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.", - "httpMethod": "PUT", - "id": "adexchangebuyer.budget.update", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "request": { - "$ref": "Budget" - }, - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "creatives": { - "methods": { - "get": { - "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.get", - "parameterOrder": [ - "accountId", - "buyerCreativeId" - ], - "parameters": { - "accountId": { - "description": "The id for the account that will serve this creative.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "The buyer-specific id for this creative.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "creatives/{accountId}/{buyerCreativeId}", - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Submit a new creative.", - "httpMethod": "POST", - "id": "adexchangebuyer.creatives.insert", - "path": "creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.list", - "parameters": { - "accountId": { - "description": "When specified, only creatives for the given account ids are returned.", - "format": "int32", - "location": "query", - "repeated": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "When specified, only creatives for the given buyer creative ids are returned.", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", - "format": "uint32", - "location": "query", - "maximum": "1000", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", - "location": "query", - "type": "string" - }, - "statusFilter": { - "description": "When specified, only creatives having the given status are returned.", - "enum": [ - "approved", - "disapproved", - "not_checked" - ], - "enumDescriptions": [ - "Creatives which have been approved.", - "Creatives which have been disapproved.", - "Creatives whose status is not yet checked." - ], - "location": "query", - "type": "string" - } - }, - "path": "creatives", - "response": { - "$ref": "CreativesList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "directDeals": { - "methods": { - "get": { - "description": "Gets one direct deal by ID.", - "httpMethod": "GET", - "id": "adexchangebuyer.directDeals.get", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The direct deal id", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "directdeals/{id}", - "response": { - "$ref": "DirectDeal" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves the authenticated user's list of direct deals.", - "httpMethod": "GET", - "id": "adexchangebuyer.directDeals.list", - "path": "directdeals", - "response": { - "$ref": "DirectDealsList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "performanceReport": { - "methods": { - "list": { - "description": "Retrieves the authenticated user's list of performance metrics.", - "httpMethod": "GET", - "id": "adexchangebuyer.performanceReport.list", - "parameterOrder": [ - "accountId", - "endDateTime", - "startDateTime" - ], - "parameters": { - "accountId": { - "description": "The account id to get the reports.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "endDateTime": { - "description": "The end time of the report in ISO 8601 timestamp format using UTC.", - "location": "query", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", - "format": "uint32", - "location": "query", - "maximum": "1000", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", - "location": "query", - "type": "string" - }, - "startDateTime": { - "description": "The start time of the report in ISO 8601 timestamp format using UTC.", - "location": "query", - "required": true, - "type": "string" - } - }, - "path": "performancereport", - "response": { - "$ref": "PerformanceReportList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "pretargetingConfig": { - "methods": { - "delete": { - "description": "Deletes an existing pretargeting config.", - "httpMethod": "DELETE", - "id": "adexchangebuyer.pretargetingConfig.delete", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to delete the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to delete.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "get": { - "description": "Gets a specific pretargeting configuration", - "httpMethod": "GET", - "id": "adexchangebuyer.pretargetingConfig.get", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to retrieve.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Inserts a new pretargeting configuration.", - "httpMethod": "POST", - "id": "adexchangebuyer.pretargetingConfig.insert", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id to insert the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of the authenticated user's pretargeting configurations.", - "httpMethod": "GET", - "id": "adexchangebuyer.pretargetingConfig.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the pretargeting configs for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}", - "response": { - "$ref": "PretargetingConfigList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates an existing pretargeting config. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.pretargetingConfig.patch", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to update the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to update.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates an existing pretargeting config.", - "httpMethod": "PUT", - "id": "adexchangebuyer.pretargetingConfig.update", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to update the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to update.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - } - }, - "revision": "20191204", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "Account": { - "description": "Configuration data for an Ad Exchange buyer account.", - "id": "Account", - "properties": { - "bidderLocation": { - "description": "Your bidder locations that have distinct URLs.", - "items": { - "properties": { - "maximumQps": { - "description": "The maximum queries per second the Ad Exchange will send.", - "format": "int32", - "type": "integer" - }, - "region": { - "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST", - "type": "string" - }, - "url": { - "description": "The URL to which the Ad Exchange will send bid requests.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "cookieMatchingNid": { - "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.", - "type": "string" - }, - "cookieMatchingUrl": { - "description": "The base URL used in cookie match requests.", - "type": "string" - }, - "id": { - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "kind": { - "default": "adexchangebuyer#account", - "description": "Resource type.", - "type": "string" - }, - "maximumActiveCreatives": { - "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.", - "format": "int32", - "type": "integer" - }, - "maximumTotalQps": { - "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.", - "format": "int32", - "type": "integer" - }, - "numberActiveCreatives": { - "description": "The number of creatives that this account inserted or bid with in the last 30 days.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "AccountsList": { - "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.", - "id": "AccountsList", - "properties": { - "items": { - "description": "A list of accounts.", - "items": { - "$ref": "Account" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#accountsList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "BillingInfo": { - "description": "The configuration data for an Ad Exchange billing info.", - "id": "BillingInfo", - "properties": { - "accountId": { - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "accountName": { - "description": "Account name.", - "type": "string" - }, - "billingId": { - "description": "A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#billingInfo", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "BillingInfoList": { - "description": "A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.", - "id": "BillingInfoList", - "properties": { - "items": { - "description": "A list of billing info relevant for your account.", - "items": { - "$ref": "BillingInfo" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#billingInfoList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "Budget": { - "description": "The configuration data for Ad Exchange RTB - Budget API.", - "id": "Budget", - "properties": { - "accountId": { - "description": "The id of the account. This is required for get and update requests.", - "format": "int64", - "type": "string" - }, - "billingId": { - "description": "The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.", - "format": "int64", - "type": "string" - }, - "budgetAmount": { - "description": "The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests.", - "format": "int64", - "type": "string" - }, - "currencyCode": { - "description": "The currency code for the buyer. This cannot be altered here.", - "type": "string" - }, - "id": { - "description": "The unique id that describes this item.", - "type": "string" - }, - "kind": { - "default": "adexchangebuyer#budget", - "description": "The kind of the resource, i.e. \"adexchangebuyer#budget\".", - "type": "string" - } - }, - "type": "object" - }, - "Creative": { - "description": "A creative and its classification data.", - "id": "Creative", - "properties": { - "HTMLSnippet": { - "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set.", - "type": "string" - }, - "accountId": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "adTechnologyProviders": { - "properties": { - "detectedProviderIds": { - "description": "The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If this creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the Authorized Buyers Real-Time Bidding protocol or the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the OpenRTB protocol, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "hasUnidentifiedProvider": { - "description": "Whether the creative contains an unidentified ad technology provider. If true, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", - "type": "boolean" - } - }, - "type": "object" - }, - "advertiserId": { - "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "advertiserName": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "The name of the company being advertised in the creative.", - "type": "string" - }, - "agencyId": { - "description": "The agency id for this creative.", - "format": "int64", - "type": "string" - }, - "apiUploadTimestamp": { - "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).", - "format": "date-time", - "type": "string" - }, - "attribute": { - "description": "All attributes for the ads that may be shown from this snippet.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "buyerCreativeId": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "A buyer-specific id identifying the creative in this ad.", - "type": "string" - }, - "clickThroughUrl": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "The set of destination urls for the snippet.", - "items": { - "type": "string" - }, - "type": "array" - }, - "corrections": { - "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.", - "items": { - "properties": { - "details": { - "description": "Additional details about the correction.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reason": { - "description": "The type of correction that was applied to the creative.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "disapprovalReasons": { - "description": "The reasons for disapproval, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue. Read-only. This field should not be set in requests.", - "items": { - "properties": { - "details": { - "description": "Additional details about the reason for disapproval.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reason": { - "description": "The categorized reason for disapproval.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "filteringReasons": { - "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.", - "properties": { - "date": { - "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.", - "type": "string" - }, - "reasons": { - "description": "The filtering reasons.", - "items": { - "properties": { - "filteringCount": { - "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.", - "format": "int64", - "type": "string" - }, - "filteringStatus": { - "description": "The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "height": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Ad height.", - "format": "int32", - "type": "integer" - }, - "impressionTrackingUrl": { - "description": "The set of urls to be called to record an impression.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creative", - "description": "Resource type.", - "type": "string" - }, - "nativeAd": { - "description": "If nativeAd is set, HTMLSnippet and videoURL should not be set.", - "properties": { - "advertiser": { - "type": "string" - }, - "appIcon": { - "description": "The app icon, for app download ads.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "body": { - "description": "A long description of the ad.", - "type": "string" - }, - "callToAction": { - "description": "A label for the button that the user is supposed to click.", - "type": "string" - }, - "clickTrackingUrl": { - "description": "The URL to use for click tracking.", - "type": "string" - }, - "headline": { - "description": "A short title for the ad.", - "type": "string" - }, - "image": { - "description": "A large image.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "impressionTrackingUrl": { - "description": "The URLs are called when the impression is rendered.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logo": { - "description": "A smaller image, for the advertiser logo.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "price": { - "description": "The price of the promoted app including the currency info.", - "type": "string" - }, - "starRating": { - "description": "The app rating in the app store. Must be in the range [0-5].", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "productCategories": { - "description": "Detected product categories, if any. Read-only. This field should not be set in requests.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "restrictedCategories": { - "description": "All restricted categories for the ads that may be shown from this snippet.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "sensitiveCategories": { - "description": "Detected sensitive categories, if any. Read-only. This field should not be set in requests.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "status": { - "description": "Creative serving status. Read-only. This field should not be set in requests.", - "type": "string" - }, - "vendorType": { - "description": "All vendor types for the ads that may be shown from this snippet.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "version": { - "description": "The version for this creative. Read-only. This field should not be set in requests.", - "format": "int32", - "type": "integer" - }, - "videoURL": { - "description": "The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set.", - "type": "string" - }, - "width": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Ad width.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "CreativesList": { - "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.", - "id": "CreativesList", - "properties": { - "items": { - "description": "A list of creatives.", - "items": { - "$ref": "Creative" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creativesList", - "description": "Resource type.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "DirectDeal": { - "description": "The configuration data for an Ad Exchange direct deal.", - "id": "DirectDeal", - "properties": { - "accountId": { - "description": "The account id of the buyer this deal is for.", - "format": "int32", - "type": "integer" - }, - "advertiser": { - "description": "The name of the advertiser this deal is for.", - "type": "string" - }, - "allowsAlcohol": { - "description": "Whether the publisher for this deal is eligible for alcohol ads.", - "type": "boolean" - }, - "buyerAccountId": { - "description": "The account id that this deal was negotiated for. It is either the buyer or the client that this deal was negotiated on behalf of.", - "format": "int64", - "type": "string" - }, - "currencyCode": { - "description": "The currency code that applies to the fixed_cpm value. If not set then assumed to be USD.", - "type": "string" - }, - "dealTier": { - "description": "The deal type such as programmatic reservation or fixed price and so on.", - "type": "string" - }, - "endTime": { - "description": "End time for when this deal stops being active. If not set then this deal is valid until manually disabled by the publisher. In seconds since the epoch.", - "format": "int64", - "type": "string" - }, - "fixedCpm": { - "description": "The fixed price for this direct deal. In cpm micros of currency according to currency_code. If set, then this deal is eligible for the fixed price tier of buying (highest priority, pay exactly the configured fixed price).", - "format": "int64", - "type": "string" - }, - "id": { - "description": "Deal id.", - "format": "int64", - "type": "string" - }, - "kind": { - "default": "adexchangebuyer#directDeal", - "description": "Resource type.", - "type": "string" - }, - "name": { - "description": "Deal name.", - "type": "string" - }, - "privateExchangeMinCpm": { - "description": "The minimum price for this direct deal. In cpm micros of currency according to currency_code. If set, then this deal is eligible for the private exchange tier of buying (below fixed price priority, run as a second price auction).", - "format": "int64", - "type": "string" - }, - "publisherBlocksOverriden": { - "description": "If true, the publisher has opted to have their blocks ignored when a creative is bid with for this deal.", - "type": "boolean" - }, - "sellerNetwork": { - "description": "The name of the publisher offering this direct deal.", - "type": "string" - }, - "startTime": { - "description": "Start time for when this deal becomes active. If not set then this deal is active immediately upon creation. In seconds since the epoch.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "DirectDealsList": { - "description": "A direct deals feed lists Direct Deals the Ad Exchange buyer account has access to. This includes direct deals set up for the buyer account as well as its merged stream seats.", - "id": "DirectDealsList", - "properties": { - "directDeals": { - "description": "A list of direct deals relevant for your account.", - "items": { - "$ref": "DirectDeal" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#directDealsList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "PerformanceReport": { - "description": "The configuration data for an Ad Exchange performance report list.", - "id": "PerformanceReport", - "properties": { - "bidRate": { - "description": "The number of bid responses with an ad.", - "format": "double", - "type": "number" - }, - "bidRequestRate": { - "description": "The number of bid requests sent to your bidder.", - "format": "double", - "type": "number" - }, - "calloutStatusRate": { - "description": "Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses.", - "items": { - "type": "any" - }, - "type": "array" - }, - "cookieMatcherStatusRate": { - "description": "Average QPS for cookie matcher operations.", - "items": { - "type": "any" - }, - "type": "array" - }, - "creativeStatusRate": { - "description": "Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses.", - "items": { - "type": "any" - }, - "type": "array" - }, - "filteredBidRate": { - "description": "The number of bid responses that were filtered due to a policy violation or other errors.", - "format": "double", - "type": "number" - }, - "hostedMatchStatusRate": { - "description": "Average QPS for hosted match operations.", - "items": { - "type": "any" - }, - "type": "array" - }, - "inventoryMatchRate": { - "description": "The number of potential queries based on your pretargeting settings.", - "format": "double", - "type": "number" - }, - "kind": { - "default": "adexchangebuyer#performanceReport", - "description": "Resource type.", - "type": "string" - }, - "latency50thPercentile": { - "description": "The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "latency85thPercentile": { - "description": "The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "latency95thPercentile": { - "description": "The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "noQuotaInRegion": { - "description": "Rate of various quota account statuses per quota check.", - "format": "double", - "type": "number" - }, - "outOfQuota": { - "description": "Rate of various quota account statuses per quota check.", - "format": "double", - "type": "number" - }, - "pixelMatchRequests": { - "description": "Average QPS for pixel match requests from clients.", - "format": "double", - "type": "number" - }, - "pixelMatchResponses": { - "description": "Average QPS for pixel match responses from clients.", - "format": "double", - "type": "number" - }, - "quotaConfiguredLimit": { - "description": "The configured quota limits for this account.", - "format": "double", - "type": "number" - }, - "quotaThrottledLimit": { - "description": "The throttled quota limits for this account.", - "format": "double", - "type": "number" - }, - "region": { - "description": "The trading location of this data.", - "type": "string" - }, - "successfulRequestRate": { - "description": "The number of properly formed bid responses received by our servers within the deadline.", - "format": "double", - "type": "number" - }, - "timestamp": { - "description": "The unix timestamp of the starting time of this performance data.", - "format": "int64", - "type": "string" - }, - "unsuccessfulRequestRate": { - "description": "The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "PerformanceReportList": { - "description": "The configuration data for an Ad Exchange performance report list.", - "id": "PerformanceReportList", - "properties": { - "kind": { - "default": "adexchangebuyer#performanceReportList", - "description": "Resource type.", - "type": "string" - }, - "performanceReport": { - "description": "A list of performance reports relevant for the account.", - "items": { - "$ref": "PerformanceReport" - }, - "type": "array" - } - }, - "type": "object" - }, - "PretargetingConfig": { - "id": "PretargetingConfig", - "properties": { - "billingId": { - "description": "The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.", - "format": "int64", - "type": "string" - }, - "configId": { - "description": "The config id; generated automatically. Leave this field blank for insert requests.", - "format": "int64", - "type": "string" - }, - "configName": { - "description": "The name of the config. Must be unique. Required for all requests.", - "type": "string" - }, - "creativeType": { - "description": "List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.", - "items": { - "type": "string" - }, - "type": "array" - }, - "dimensions": { - "description": "Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.", - "items": { - "properties": { - "height": { - "description": "Height in pixels.", - "format": "int64", - "type": "string" - }, - "width": { - "description": "Width in pixels.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "excludedContentLabels": { - "description": "Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedGeoCriteriaIds": { - "description": "Requests containing any of these geo criteria ids will not match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedPlacements": { - "description": "Requests containing any of these placements will not match.", - "items": { - "properties": { - "token": { - "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", - "type": "string" - }, - "type": { - "description": "The type of the placement.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "excludedUserLists": { - "description": "Requests containing any of these users list ids will not match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedVerticals": { - "description": "Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "geoCriteriaIds": { - "description": "Requests containing any of these geo criteria ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "isActive": { - "description": "Whether this config is active. Required for all requests.", - "type": "boolean" - }, - "kind": { - "default": "adexchangebuyer#pretargetingConfig", - "description": "The kind of the resource, i.e. \"adexchangebuyer#pretargetingConfig\".", - "type": "string" - }, - "languages": { - "description": "Request containing any of these language codes will match.", - "items": { - "type": "string" - }, - "type": "array" - }, - "maximumQps": { - "description": "The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).", - "format": "int64", - "type": "string" - }, - "mobileCarriers": { - "description": "Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "mobileDevices": { - "description": "Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "mobileOperatingSystemVersions": { - "description": "Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "placements": { - "description": "Requests containing any of these placements will match.", - "items": { - "properties": { - "token": { - "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", - "type": "string" - }, - "type": { - "description": "The type of the placement.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "platforms": { - "description": "Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.", - "items": { - "type": "string" - }, - "type": "array" - }, - "supportedCreativeAttributes": { - "description": "Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "userLists": { - "description": "Requests containing any of these user list ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "vendorTypes": { - "description": "Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "verticals": { - "description": "Requests containing any of these vertical ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "PretargetingConfigList": { - "id": "PretargetingConfigList", - "properties": { - "items": { - "description": "A list of pretargeting configs", - "items": { - "$ref": "PretargetingConfig" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#pretargetingConfigList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "adexchangebuyer/v1.3/", - "title": "Ad Exchange Buyer API", - "version": "v1.3" -} \ No newline at end of file diff --git a/discovery/adexchangebuyer-v1.4.json b/discovery/adexchangebuyer-v1.4.json deleted file mode 100644 index 3304f80f720..00000000000 --- a/discovery/adexchangebuyer-v1.4.json +++ /dev/null @@ -1,3752 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/adexchange.buyer": { - "description": "Manage your Ad Exchange buyer account configuration" - } - } - } - }, - "basePath": "/adexchangebuyer/v1.4/", - "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.4/", - "batchPath": "batch/adexchangebuyer/v1.4", - "canonicalName": "Ad Exchange Buyer", - "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", - "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/dq_VdRrNx25JV3zCpSyRAHMO4WQ\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", - "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" - }, - "id": "adexchangebuyer:v1.4", - "kind": "discovery#restDescription", - "name": "adexchangebuyer", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "accounts": { - "methods": { - "get": { - "description": "Gets one account by ID.", - "httpMethod": "GET", - "id": "adexchangebuyer.accounts.get", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves the authenticated user's list of accounts.", - "httpMethod": "GET", - "id": "adexchangebuyer.accounts.list", - "path": "accounts", - "response": { - "$ref": "AccountsList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates an existing account. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.accounts.patch", - "parameterOrder": [ - "id" - ], - "parameters": { - "confirmUnsafeAccountChange": { - "description": "Confirmation for erasing bidder and cookie matching urls.", - "location": "query", - "type": "boolean" - }, - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates an existing account.", - "httpMethod": "PUT", - "id": "adexchangebuyer.accounts.update", - "parameterOrder": [ - "id" - ], - "parameters": { - "confirmUnsafeAccountChange": { - "description": "Confirmation for erasing bidder and cookie matching urls.", - "location": "query", - "type": "boolean" - }, - "id": { - "description": "The account id", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "accounts/{id}", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "billingInfo": { - "methods": { - "get": { - "description": "Returns the billing information for one account specified by account ID.", - "httpMethod": "GET", - "id": "adexchangebuyer.billingInfo.get", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "billinginfo/{accountId}", - "response": { - "$ref": "BillingInfo" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of billing information for all accounts of the authenticated user.", - "httpMethod": "GET", - "id": "adexchangebuyer.billingInfo.list", - "path": "billinginfo", - "response": { - "$ref": "BillingInfoList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "budget": { - "methods": { - "get": { - "description": "Returns the budget information for the adgroup specified by the accountId and billingId.", - "httpMethod": "GET", - "id": "adexchangebuyer.budget.get", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the budget information for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id to get the budget information for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.budget.patch", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "request": { - "$ref": "Budget" - }, - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.", - "httpMethod": "PUT", - "id": "adexchangebuyer.budget.update", - "parameterOrder": [ - "accountId", - "billingId" - ], - "parameters": { - "accountId": { - "description": "The account id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "billingId": { - "description": "The billing id associated with the budget being updated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "billinginfo/{accountId}/{billingId}", - "request": { - "$ref": "Budget" - }, - "response": { - "$ref": "Budget" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "creatives": { - "methods": { - "addDeal": { - "description": "Add a deal id association for the creative.", - "httpMethod": "POST", - "id": "adexchangebuyer.creatives.addDeal", - "parameterOrder": [ - "accountId", - "buyerCreativeId", - "dealId" - ], - "parameters": { - "accountId": { - "description": "The id for the account that will serve this creative.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "The buyer-specific id for this creative.", - "location": "path", - "required": true, - "type": "string" - }, - "dealId": { - "description": "The id of the deal id to associate with this creative.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}", - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "get": { - "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.get", - "parameterOrder": [ - "accountId", - "buyerCreativeId" - ], - "parameters": { - "accountId": { - "description": "The id for the account that will serve this creative.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "The buyer-specific id for this creative.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "creatives/{accountId}/{buyerCreativeId}", - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Submit a new creative.", - "httpMethod": "POST", - "id": "adexchangebuyer.creatives.insert", - "path": "creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.list", - "parameters": { - "accountId": { - "description": "When specified, only creatives for the given account ids are returned.", - "format": "int32", - "location": "query", - "repeated": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "When specified, only creatives for the given buyer creative ids are returned.", - "location": "query", - "repeated": true, - "type": "string" - }, - "dealsStatusFilter": { - "description": "When specified, only creatives having the given deals status are returned.", - "enum": [ - "approved", - "conditionally_approved", - "disapproved", - "not_checked" - ], - "enumDescriptions": [ - "Creatives which have been approved for serving on deals.", - "Creatives which have been conditionally approved for serving on deals.", - "Creatives which have been disapproved for serving on deals.", - "Creatives whose deals status is not yet checked." - ], - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", - "format": "uint32", - "location": "query", - "maximum": "1000", - "minimum": "1", - "type": "integer" - }, - "openAuctionStatusFilter": { - "description": "When specified, only creatives having the given open auction status are returned.", - "enum": [ - "approved", - "conditionally_approved", - "disapproved", - "not_checked" - ], - "enumDescriptions": [ - "Creatives which have been approved for serving on the open auction.", - "Creatives which have been conditionally approved for serving on the open auction.", - "Creatives which have been disapproved for serving on the open auction.", - "Creatives whose open auction status is not yet checked." - ], - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", - "location": "query", - "type": "string" - } - }, - "path": "creatives", - "response": { - "$ref": "CreativesList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "listDeals": { - "description": "Lists the external deal ids associated with the creative.", - "httpMethod": "GET", - "id": "adexchangebuyer.creatives.listDeals", - "parameterOrder": [ - "accountId", - "buyerCreativeId" - ], - "parameters": { - "accountId": { - "description": "The id for the account that will serve this creative.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "The buyer-specific id for this creative.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "creatives/{accountId}/{buyerCreativeId}/listDeals", - "response": { - "$ref": "CreativeDealIds" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "removeDeal": { - "description": "Remove a deal id associated with the creative.", - "httpMethod": "POST", - "id": "adexchangebuyer.creatives.removeDeal", - "parameterOrder": [ - "accountId", - "buyerCreativeId", - "dealId" - ], - "parameters": { - "accountId": { - "description": "The id for the account that will serve this creative.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "buyerCreativeId": { - "description": "The buyer-specific id for this creative.", - "location": "path", - "required": true, - "type": "string" - }, - "dealId": { - "description": "The id of the deal id to disassociate with this creative.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}", - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "marketplacedeals": { - "methods": { - "delete": { - "description": "Delete the specified deals from the proposal", - "httpMethod": "POST", - "id": "adexchangebuyer.marketplacedeals.delete", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "The proposalId to delete deals from.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/deals/delete", - "request": { - "$ref": "DeleteOrderDealsRequest" - }, - "response": { - "$ref": "DeleteOrderDealsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Add new deals for the specified proposal", - "httpMethod": "POST", - "id": "adexchangebuyer.marketplacedeals.insert", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "proposalId for which deals need to be added.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/deals/insert", - "request": { - "$ref": "AddOrderDealsRequest" - }, - "response": { - "$ref": "AddOrderDealsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "List all the deals for a given proposal", - "httpMethod": "GET", - "id": "adexchangebuyer.marketplacedeals.list", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "pqlQuery": { - "description": "Query string to retrieve specific deals.", - "location": "query", - "type": "string" - }, - "proposalId": { - "description": "The proposalId to get deals for. To search across all proposals specify order_id = '-' as part of the URL.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/deals", - "response": { - "$ref": "GetOrderDealsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Replaces all the deals in the proposal with the passed in deals", - "httpMethod": "POST", - "id": "adexchangebuyer.marketplacedeals.update", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "The proposalId to edit deals on.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/deals/update", - "request": { - "$ref": "EditAllOrderDealsRequest" - }, - "response": { - "$ref": "EditAllOrderDealsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "marketplacenotes": { - "methods": { - "insert": { - "description": "Add notes to the proposal", - "httpMethod": "POST", - "id": "adexchangebuyer.marketplacenotes.insert", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "The proposalId to add notes for.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/notes/insert", - "request": { - "$ref": "AddOrderNotesRequest" - }, - "response": { - "$ref": "AddOrderNotesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Get all the notes associated with a proposal", - "httpMethod": "GET", - "id": "adexchangebuyer.marketplacenotes.list", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "pqlQuery": { - "description": "Query string to retrieve specific notes. To search the text contents of notes, please use syntax like \"WHERE note.note = \"foo\" or \"WHERE note.note LIKE \"%bar%\"", - "location": "query", - "type": "string" - }, - "proposalId": { - "description": "The proposalId to get notes for. To search across all proposals specify order_id = '-' as part of the URL.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/notes", - "response": { - "$ref": "GetOrderNotesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "marketplaceprivateauction": { - "methods": { - "updateproposal": { - "description": "Update a given private auction proposal", - "httpMethod": "POST", - "id": "adexchangebuyer.marketplaceprivateauction.updateproposal", - "parameterOrder": [ - "privateAuctionId" - ], - "parameters": { - "privateAuctionId": { - "description": "The private auction id to be updated.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "privateauction/{privateAuctionId}/updateproposal", - "request": { - "$ref": "UpdatePrivateAuctionProposalRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "performanceReport": { - "methods": { - "list": { - "description": "Retrieves the authenticated user's list of performance metrics.", - "httpMethod": "GET", - "id": "adexchangebuyer.performanceReport.list", - "parameterOrder": [ - "accountId", - "endDateTime", - "startDateTime" - ], - "parameters": { - "accountId": { - "description": "The account id to get the reports.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "endDateTime": { - "description": "The end time of the report in ISO 8601 timestamp format using UTC.", - "location": "query", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", - "format": "uint32", - "location": "query", - "maximum": "1000", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", - "location": "query", - "type": "string" - }, - "startDateTime": { - "description": "The start time of the report in ISO 8601 timestamp format using UTC.", - "location": "query", - "required": true, - "type": "string" - } - }, - "path": "performancereport", - "response": { - "$ref": "PerformanceReportList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "pretargetingConfig": { - "methods": { - "delete": { - "description": "Deletes an existing pretargeting config.", - "httpMethod": "DELETE", - "id": "adexchangebuyer.pretargetingConfig.delete", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to delete the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to delete.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "get": { - "description": "Gets a specific pretargeting configuration", - "httpMethod": "GET", - "id": "adexchangebuyer.pretargetingConfig.get", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to retrieve.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Inserts a new pretargeting configuration.", - "httpMethod": "POST", - "id": "adexchangebuyer.pretargetingConfig.insert", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id to insert the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "list": { - "description": "Retrieves a list of the authenticated user's pretargeting configurations.", - "httpMethod": "GET", - "id": "adexchangebuyer.pretargetingConfig.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The account id to get the pretargeting configs for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}", - "response": { - "$ref": "PretargetingConfigList" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Updates an existing pretargeting config. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.pretargetingConfig.patch", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to update the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to update.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Updates an existing pretargeting config.", - "httpMethod": "PUT", - "id": "adexchangebuyer.pretargetingConfig.update", - "parameterOrder": [ - "accountId", - "configId" - ], - "parameters": { - "accountId": { - "description": "The account id to update the pretargeting config for.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "configId": { - "description": "The specific id of the configuration to update.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "pretargetingconfigs/{accountId}/{configId}", - "request": { - "$ref": "PretargetingConfig" - }, - "response": { - "$ref": "PretargetingConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "products": { - "methods": { - "get": { - "description": "Gets the requested product by id.", - "httpMethod": "GET", - "id": "adexchangebuyer.products.get", - "parameterOrder": [ - "productId" - ], - "parameters": { - "productId": { - "description": "The id for the product to get the head revision for.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "products/{productId}", - "response": { - "$ref": "Product" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "search": { - "description": "Gets the requested product.", - "httpMethod": "GET", - "id": "adexchangebuyer.products.search", - "parameters": { - "pqlQuery": { - "description": "The pql query used to query for products.", - "location": "query", - "type": "string" - } - }, - "path": "products/search", - "response": { - "$ref": "GetOffersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "proposals": { - "methods": { - "get": { - "description": "Get a proposal given its id", - "httpMethod": "GET", - "id": "adexchangebuyer.proposals.get", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "Id of the proposal to retrieve.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}", - "response": { - "$ref": "Proposal" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "insert": { - "description": "Create the given list of proposals", - "httpMethod": "POST", - "id": "adexchangebuyer.proposals.insert", - "path": "proposals/insert", - "request": { - "$ref": "CreateOrdersRequest" - }, - "response": { - "$ref": "CreateOrdersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "patch": { - "description": "Update the given proposal. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adexchangebuyer.proposals.patch", - "parameterOrder": [ - "proposalId", - "revisionNumber", - "updateAction" - ], - "parameters": { - "proposalId": { - "description": "The proposal id to update.", - "location": "path", - "required": true, - "type": "string" - }, - "revisionNumber": { - "description": "The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "updateAction": { - "description": "The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.", - "enum": [ - "accept", - "cancel", - "propose", - "proposeAndAccept", - "unknownAction", - "updateNonTerms" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/{revisionNumber}/{updateAction}", - "request": { - "$ref": "Proposal" - }, - "response": { - "$ref": "Proposal" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "search": { - "description": "Search for proposals using pql query", - "httpMethod": "GET", - "id": "adexchangebuyer.proposals.search", - "parameters": { - "pqlQuery": { - "description": "Query string to retrieve specific proposals.", - "location": "query", - "type": "string" - } - }, - "path": "proposals/search", - "response": { - "$ref": "GetOrdersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "setupcomplete": { - "description": "Update the given proposal to indicate that setup has been completed.", - "httpMethod": "POST", - "id": "adexchangebuyer.proposals.setupcomplete", - "parameterOrder": [ - "proposalId" - ], - "parameters": { - "proposalId": { - "description": "The proposal id for which the setup is complete", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/setupcomplete", - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - }, - "update": { - "description": "Update the given proposal", - "httpMethod": "PUT", - "id": "adexchangebuyer.proposals.update", - "parameterOrder": [ - "proposalId", - "revisionNumber", - "updateAction" - ], - "parameters": { - "proposalId": { - "description": "The proposal id to update.", - "location": "path", - "required": true, - "type": "string" - }, - "revisionNumber": { - "description": "The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "updateAction": { - "description": "The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.", - "enum": [ - "accept", - "cancel", - "propose", - "proposeAndAccept", - "unknownAction", - "updateNonTerms" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "proposals/{proposalId}/{revisionNumber}/{updateAction}", - "request": { - "$ref": "Proposal" - }, - "response": { - "$ref": "Proposal" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - }, - "pubprofiles": { - "methods": { - "list": { - "description": "Gets the requested publisher profile(s) by publisher accountId.", - "httpMethod": "GET", - "id": "adexchangebuyer.pubprofiles.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "The accountId of the publisher to get profiles for.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - } - }, - "path": "publisher/{accountId}/profiles", - "response": { - "$ref": "GetPublisherProfilesByAccountIdResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ] - } - } - } - }, - "revision": "20210519", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "Account": { - "description": "Configuration data for an Ad Exchange buyer account.", - "id": "Account", - "properties": { - "applyPretargetingToNonGuaranteedDeals": { - "description": "When this is false, bid requests that include a deal ID for a private auction or preferred deal are always sent to your bidder. When true, all active pretargeting configs will be applied to private auctions and preferred deals. Programmatic Guaranteed deals (when enabled) are always sent to your bidder.", - "type": "boolean" - }, - "bidderLocation": { - "description": "Your bidder locations that have distinct URLs.", - "items": { - "properties": { - "bidProtocol": { - "description": "The protocol that the bidder endpoint is using. OpenRTB protocols with prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. Allowed values: \n- PROTOCOL_ADX \n- PROTOCOL_OPENRTB_2_2 \n- PROTOCOL_OPENRTB_2_3 \n- PROTOCOL_OPENRTB_2_4 \n- PROTOCOL_OPENRTB_2_5 \n- PROTOCOL_OPENRTB_PROTOBUF_2_3 \n- PROTOCOL_OPENRTB_PROTOBUF_2_4 \n- PROTOCOL_OPENRTB_PROTOBUF_2_5", - "type": "string" - }, - "maximumQps": { - "description": "The maximum queries per second the Ad Exchange will send.", - "format": "int32", - "type": "integer" - }, - "region": { - "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST", - "type": "string" - }, - "url": { - "description": "The URL to which the Ad Exchange will send bid requests.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "cookieMatchingNid": { - "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.", - "type": "string" - }, - "cookieMatchingUrl": { - "description": "The base URL used in cookie match requests.", - "type": "string" - }, - "id": { - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "kind": { - "default": "adexchangebuyer#account", - "description": "Resource type.", - "type": "string" - }, - "maximumActiveCreatives": { - "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.", - "format": "int32", - "type": "integer" - }, - "maximumTotalQps": { - "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.", - "format": "int32", - "type": "integer" - }, - "numberActiveCreatives": { - "description": "The number of creatives that this account inserted or bid with in the last 30 days.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "AccountsList": { - "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.", - "id": "AccountsList", - "properties": { - "items": { - "description": "A list of accounts.", - "items": { - "$ref": "Account" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#accountsList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "AddOrderDealsRequest": { - "id": "AddOrderDealsRequest", - "properties": { - "deals": { - "description": "The list of deals to add", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - }, - "proposalRevisionNumber": { - "description": "The last known proposal revision number.", - "format": "int64", - "type": "string" - }, - "updateAction": { - "description": "Indicates an optional action to take on the proposal", - "type": "string" - } - }, - "type": "object" - }, - "AddOrderDealsResponse": { - "id": "AddOrderDealsResponse", - "properties": { - "deals": { - "description": "List of deals added (in the same proposal as passed in the request)", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - }, - "proposalRevisionNumber": { - "description": "The updated revision number for the proposal.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AddOrderNotesRequest": { - "id": "AddOrderNotesRequest", - "properties": { - "notes": { - "description": "The list of notes to add.", - "items": { - "$ref": "MarketplaceNote" - }, - "type": "array" - } - }, - "type": "object" - }, - "AddOrderNotesResponse": { - "id": "AddOrderNotesResponse", - "properties": { - "notes": { - "items": { - "$ref": "MarketplaceNote" - }, - "type": "array" - } - }, - "type": "object" - }, - "BillingInfo": { - "description": "The configuration data for an Ad Exchange billing info.", - "id": "BillingInfo", - "properties": { - "accountId": { - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "accountName": { - "description": "Account name.", - "type": "string" - }, - "billingId": { - "description": "A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#billingInfo", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "BillingInfoList": { - "description": "A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.", - "id": "BillingInfoList", - "properties": { - "items": { - "description": "A list of billing info relevant for your account.", - "items": { - "$ref": "BillingInfo" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#billingInfoList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "Budget": { - "description": "The configuration data for Ad Exchange RTB - Budget API.", - "id": "Budget", - "properties": { - "accountId": { - "description": "The id of the account. This is required for get and update requests.", - "format": "int64", - "type": "string" - }, - "billingId": { - "description": "The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.", - "format": "int64", - "type": "string" - }, - "budgetAmount": { - "description": "The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests.", - "format": "int64", - "type": "string" - }, - "currencyCode": { - "description": "The currency code for the buyer. This cannot be altered here.", - "type": "string" - }, - "id": { - "description": "The unique id that describes this item.", - "type": "string" - }, - "kind": { - "default": "adexchangebuyer#budget", - "description": "The kind of the resource, i.e. \"adexchangebuyer#budget\".", - "type": "string" - } - }, - "type": "object" - }, - "Buyer": { - "id": "Buyer", - "properties": { - "accountId": { - "description": "Adx account id of the buyer.", - "type": "string" - } - }, - "type": "object" - }, - "ContactInformation": { - "id": "ContactInformation", - "properties": { - "email": { - "description": "Email address of the contact.", - "type": "string" - }, - "name": { - "description": "The name of the contact.", - "type": "string" - } - }, - "type": "object" - }, - "CreateOrdersRequest": { - "id": "CreateOrdersRequest", - "properties": { - "proposals": { - "description": "The list of proposals to create.", - "items": { - "$ref": "Proposal" - }, - "type": "array" - }, - "webPropertyCode": { - "description": "Web property id of the seller creating these orders", - "type": "string" - } - }, - "type": "object" - }, - "CreateOrdersResponse": { - "id": "CreateOrdersResponse", - "properties": { - "proposals": { - "description": "The list of proposals successfully created.", - "items": { - "$ref": "Proposal" - }, - "type": "array" - } - }, - "type": "object" - }, - "Creative": { - "description": "A creative and its classification data.", - "id": "Creative", - "properties": { - "HTMLSnippet": { - "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set.", - "type": "string" - }, - "accountId": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Account id.", - "format": "int32", - "type": "integer" - }, - "adChoicesDestinationUrl": { - "description": "The link to the Ad Preferences page. This is only supported for native ads.", - "type": "string" - }, - "adTechnologyProviders": { - "properties": { - "detectedProviderIds": { - "description": "The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If this creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the Authorized Buyers Real-Time Bidding protocol or the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the OpenRTB protocol, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "hasUnidentifiedProvider": { - "description": "Whether the creative contains an unidentified ad technology provider. If true, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", - "type": "boolean" - } - }, - "type": "object" - }, - "advertiserId": { - "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "advertiserName": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "The name of the company being advertised in the creative. A list of advertisers is provided in the advertisers.txt file.", - "type": "string" - }, - "agencyId": { - "description": "The agency id for this creative.", - "format": "int64", - "type": "string" - }, - "apiUploadTimestamp": { - "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).", - "format": "date-time", - "type": "string" - }, - "attribute": { - "description": "List of buyer selectable attributes for the ads that may be shown from this snippet. Each attribute is represented by an integer as defined in buyer-declarable-creative-attributes.txt.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "buyerCreativeId": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "A buyer-specific id identifying the creative in this ad.", - "type": "string" - }, - "clickThroughUrl": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "The set of destination urls for the snippet.", - "items": { - "type": "string" - }, - "type": "array" - }, - "corrections": { - "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.", - "items": { - "properties": { - "contexts": { - "description": "All known serving contexts containing serving status information.", - "items": { - "properties": { - "auctionType": { - "description": "Only set when contextType=AUCTION_TYPE. Represents the auction types this correction applies to.", - "items": { - "type": "string" - }, - "type": "array" - }, - "contextType": { - "description": "The type of context (e.g., location, platform, auction type, SSL-ness).", - "type": "string" - }, - "geoCriteriaId": { - "description": "Only set when contextType=LOCATION. Represents the geo criterias this correction applies to.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "platform": { - "description": "Only set when contextType=PLATFORM. Represents the platforms this correction applies to.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - }, - "details": { - "description": "Additional details about the correction.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reason": { - "description": "The type of correction that was applied to the creative.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "creativeStatusIdentityType": { - "description": "Creative status identity type that the creative item applies to. Ad Exchange real-time bidding is migrating to the sizeless creative verification. Originally, Ad Exchange assigned creative verification status to a unique combination of a buyer creative ID and creative dimensions. Post-migration, a single verification status will be assigned at the buyer creative ID level. This field allows to distinguish whether a given creative status applies to a unique combination of a buyer creative ID and creative dimensions, or to a buyer creative ID as a whole.", - "type": "string" - }, - "dealsStatus": { - "description": "Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.", - "type": "string" - }, - "detectedDomains": { - "description": "Detected domains for this creative. Read-only. This field should not be set in requests.", - "items": { - "type": "string" - }, - "type": "array" - }, - "filteringReasons": { - "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.", - "properties": { - "date": { - "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.", - "type": "string" - }, - "reasons": { - "description": "The filtering reasons.", - "items": { - "properties": { - "filteringCount": { - "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.", - "format": "int64", - "type": "string" - }, - "filteringStatus": { - "description": "The filtering status code as defined in creative-status-codes.txt.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "height": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Ad height.", - "format": "int32", - "type": "integer" - }, - "impressionTrackingUrl": { - "description": "The set of urls to be called to record an impression.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creative", - "description": "Resource type.", - "type": "string" - }, - "languages": { - "description": "Detected languages for this creative. Read-only. This field should not be set in requests.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nativeAd": { - "description": "If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)", - "properties": { - "advertiser": { - "type": "string" - }, - "appIcon": { - "description": "The app icon, for app download ads.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "body": { - "description": "A long description of the ad.", - "type": "string" - }, - "callToAction": { - "description": "A label for the button that the user is supposed to click.", - "type": "string" - }, - "clickLinkUrl": { - "description": "The URL that the browser/SDK will load when the user clicks the ad.", - "type": "string" - }, - "clickTrackingUrl": { - "description": "The URL to use for click tracking.", - "type": "string" - }, - "headline": { - "description": "A short title for the ad.", - "type": "string" - }, - "image": { - "description": "A large image.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "impressionTrackingUrl": { - "description": "The URLs are called when the impression is rendered.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logo": { - "description": "A smaller image, for the advertiser logo.", - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "url": { - "type": "string" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "price": { - "description": "The price of the promoted app including the currency info.", - "type": "string" - }, - "starRating": { - "description": "The app rating in the app store. Must be in the range [0-5].", - "format": "double", - "type": "number" - }, - "videoURL": { - "description": "The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.", - "type": "string" - } - }, - "type": "object" - }, - "openAuctionStatus": { - "description": "Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.", - "type": "string" - }, - "productCategories": { - "description": "Detected product categories, if any. Each category is represented by an integer as defined in ad-product-categories.txt. Read-only. This field should not be set in requests.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "restrictedCategories": { - "description": "All restricted categories for the ads that may be shown from this snippet. Each category is represented by an integer as defined in the ad-restricted-categories.txt.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "sensitiveCategories": { - "description": "Detected sensitive categories, if any. Each category is represented by an integer as defined in ad-sensitive-categories.txt. Read-only. This field should not be set in requests.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "servingRestrictions": { - "description": "The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives guide for more details.", - "items": { - "properties": { - "contexts": { - "description": "All known contexts/restrictions.", - "items": { - "properties": { - "auctionType": { - "description": "Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.", - "items": { - "type": "string" - }, - "type": "array" - }, - "contextType": { - "description": "The type of context (e.g., location, platform, auction type, SSL-ness).", - "type": "string" - }, - "geoCriteriaId": { - "description": "Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to. Impressions are considered to match a context if either the user location or publisher location matches a given geoCriteriaId.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "platform": { - "description": "Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - }, - "disapprovalReasons": { - "description": "The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.", - "items": { - "properties": { - "details": { - "description": "Additional details about the reason for disapproval.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reason": { - "description": "The categorized reason for disapproval.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "reason": { - "description": "Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "vendorType": { - "description": "List of vendor types for the ads that may be shown from this snippet. Each vendor type is represented by an integer as defined in vendors.txt.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "version": { - "description": "The version for this creative. Read-only. This field should not be set in requests.", - "format": "int32", - "type": "integer" - }, - "videoURL": { - "description": "The URL to fetch a video ad. If set, HTMLSnippet, videoVastXML, and nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.", - "type": "string" - }, - "videoVastXML": { - "description": "The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard. If set, HTMLSnippet, videoURL, and nativeAd and should not be set.", - "type": "string" - }, - "width": { - "annotations": { - "required": [ - "adexchangebuyer.creatives.insert" - ] - }, - "description": "Ad width.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "CreativeDealIds": { - "description": "The external deal ids associated with a creative.", - "id": "CreativeDealIds", - "properties": { - "dealStatuses": { - "description": "A list of external deal ids and ARC approval status.", - "items": { - "properties": { - "arcStatus": { - "description": "ARC approval status.", - "type": "string" - }, - "dealId": { - "description": "External deal ID.", - "format": "int64", - "type": "string" - }, - "webPropertyId": { - "description": "Publisher ID.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creativeDealIds", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "CreativesList": { - "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.", - "id": "CreativesList", - "properties": { - "items": { - "description": "A list of creatives.", - "items": { - "$ref": "Creative" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#creativesList", - "description": "Resource type.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "DealServingMetadata": { - "id": "DealServingMetadata", - "properties": { - "alcoholAdsAllowed": { - "description": "True if alcohol ads are allowed for this deal (read-only). This field is only populated when querying for finalized orders using the method GetFinalizedOrderDeals", - "type": "boolean" - }, - "dealPauseStatus": { - "$ref": "DealServingMetadataDealPauseStatus", - "description": "Tracks which parties (if any) have paused a deal. (readonly, except via PauseResumeOrderDeals action)" - } - }, - "type": "object" - }, - "DealServingMetadataDealPauseStatus": { - "description": "Tracks which parties (if any) have paused a deal. The deal is considered paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused or the has_seller_paused bits can be set independently.", - "id": "DealServingMetadataDealPauseStatus", - "properties": { - "buyerPauseReason": { - "type": "string" - }, - "firstPausedBy": { - "description": "If the deal is paused, records which party paused the deal first.", - "type": "string" - }, - "hasBuyerPaused": { - "type": "boolean" - }, - "hasSellerPaused": { - "type": "boolean" - }, - "sellerPauseReason": { - "type": "string" - } - }, - "type": "object" - }, - "DealTerms": { - "id": "DealTerms", - "properties": { - "brandingType": { - "description": "Visibility of the URL in bid requests.", - "type": "string" - }, - "crossListedExternalDealIdType": { - "description": "Indicates that this ExternalDealId exists under at least two different AdxInventoryDeals. Currently, the only case that the same ExternalDealId will exist is programmatic cross sell case.", - "type": "string" - }, - "description": { - "description": "Description for the proposed terms of the deal.", - "type": "string" - }, - "estimatedGrossSpend": { - "$ref": "Price", - "description": "Non-binding estimate of the estimated gross spend for this deal Can be set by buyer or seller." - }, - "estimatedImpressionsPerDay": { - "description": "Non-binding estimate of the impressions served per day Can be set by buyer or seller.", - "format": "int64", - "type": "string" - }, - "guaranteedFixedPriceTerms": { - "$ref": "DealTermsGuaranteedFixedPriceTerms", - "description": "The terms for guaranteed fixed price deals." - }, - "nonGuaranteedAuctionTerms": { - "$ref": "DealTermsNonGuaranteedAuctionTerms", - "description": "The terms for non-guaranteed auction deals." - }, - "nonGuaranteedFixedPriceTerms": { - "$ref": "DealTermsNonGuaranteedFixedPriceTerms", - "description": "The terms for non-guaranteed fixed price deals." - }, - "rubiconNonGuaranteedTerms": { - "$ref": "DealTermsRubiconNonGuaranteedTerms", - "description": "The terms for rubicon non-guaranteed deals." - }, - "sellerTimeZone": { - "description": "For deals with Cost Per Day billing, defines the timezone used to mark the boundaries of a day (buyer-readonly)", - "type": "string" - } - }, - "type": "object" - }, - "DealTermsGuaranteedFixedPriceTerms": { - "id": "DealTermsGuaranteedFixedPriceTerms", - "properties": { - "billingInfo": { - "$ref": "DealTermsGuaranteedFixedPriceTermsBillingInfo", - "description": "External billing info for this Deal. This field is relevant when external billing info such as price has a different currency code than DFP/AdX." - }, - "fixedPrices": { - "description": "Fixed price for the specified buyer.", - "items": { - "$ref": "PricePerBuyer" - }, - "type": "array" - }, - "guaranteedImpressions": { - "description": "Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.", - "format": "int64", - "type": "string" - }, - "guaranteedLooks": { - "description": "Count of guaranteed looks. Required for deal, optional for product. For CPD deals, buyer changes to guaranteed_looks will be ignored.", - "format": "int64", - "type": "string" - }, - "minimumDailyLooks": { - "description": "Count of minimum daily looks for a CPD deal. For CPD deals, buyer should negotiate on this field instead of guaranteed_looks.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "DealTermsGuaranteedFixedPriceTermsBillingInfo": { - "id": "DealTermsGuaranteedFixedPriceTermsBillingInfo", - "properties": { - "currencyConversionTimeMs": { - "description": "The timestamp (in ms since epoch) when the original reservation price for the deal was first converted to DFP currency. This is used to convert the contracted price into buyer's currency without discrepancy.", - "format": "int64", - "type": "string" - }, - "dfpLineItemId": { - "description": "The DFP line item id associated with this deal. For features like CPD, buyers can retrieve the DFP line item for billing reconciliation.", - "format": "int64", - "type": "string" - }, - "originalContractedQuantity": { - "description": "The original contracted quantity (# impressions) for this deal. To ensure delivery, sometimes the publisher will book the deal with a impression buffer, such that guaranteed_looks is greater than the contracted quantity. However clients are billed using the original contracted quantity.", - "format": "int64", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "The original reservation price for the deal, if the currency code is different from the one used in negotiation." - } - }, - "type": "object" - }, - "DealTermsNonGuaranteedAuctionTerms": { - "id": "DealTermsNonGuaranteedAuctionTerms", - "properties": { - "autoOptimizePrivateAuction": { - "description": "True if open auction buyers are allowed to compete with invited buyers in this private auction (buyer-readonly).", - "type": "boolean" - }, - "reservePricePerBuyers": { - "description": "Reserve price for the specified buyer.", - "items": { - "$ref": "PricePerBuyer" - }, - "type": "array" - } - }, - "type": "object" - }, - "DealTermsNonGuaranteedFixedPriceTerms": { - "id": "DealTermsNonGuaranteedFixedPriceTerms", - "properties": { - "fixedPrices": { - "description": "Fixed price for the specified buyer.", - "items": { - "$ref": "PricePerBuyer" - }, - "type": "array" - } - }, - "type": "object" - }, - "DealTermsRubiconNonGuaranteedTerms": { - "id": "DealTermsRubiconNonGuaranteedTerms", - "properties": { - "priorityPrice": { - "$ref": "Price", - "description": "Optional price for Rubicon priority access in the auction." - }, - "standardPrice": { - "$ref": "Price", - "description": "Optional price for Rubicon standard access in the auction." - } - }, - "type": "object" - }, - "DeleteOrderDealsRequest": { - "id": "DeleteOrderDealsRequest", - "properties": { - "dealIds": { - "description": "List of deals to delete for a given proposal", - "items": { - "type": "string" - }, - "type": "array" - }, - "proposalRevisionNumber": { - "description": "The last known proposal revision number.", - "format": "int64", - "type": "string" - }, - "updateAction": { - "description": "Indicates an optional action to take on the proposal", - "type": "string" - } - }, - "type": "object" - }, - "DeleteOrderDealsResponse": { - "id": "DeleteOrderDealsResponse", - "properties": { - "deals": { - "description": "List of deals deleted (in the same proposal as passed in the request)", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - }, - "proposalRevisionNumber": { - "description": "The updated revision number for the proposal.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "DeliveryControl": { - "id": "DeliveryControl", - "properties": { - "creativeBlockingLevel": { - "type": "string" - }, - "deliveryRateType": { - "type": "string" - }, - "frequencyCaps": { - "items": { - "$ref": "DeliveryControlFrequencyCap" - }, - "type": "array" - } - }, - "type": "object" - }, - "DeliveryControlFrequencyCap": { - "id": "DeliveryControlFrequencyCap", - "properties": { - "maxImpressions": { - "format": "int32", - "type": "integer" - }, - "numTimeUnits": { - "format": "int32", - "type": "integer" - }, - "timeUnitType": { - "type": "string" - } - }, - "type": "object" - }, - "Dimension": { - "description": "This message carries publisher provided breakdown. E.g. {dimension_type: 'COUNTRY', [{dimension_value: {id: 1, name: 'US'}}, {dimension_value: {id: 2, name: 'UK'}}]}", - "id": "Dimension", - "properties": { - "dimensionType": { - "type": "string" - }, - "dimensionValues": { - "items": { - "$ref": "DimensionDimensionValue" - }, - "type": "array" - } - }, - "type": "object" - }, - "DimensionDimensionValue": { - "description": "Value of the dimension.", - "id": "DimensionDimensionValue", - "properties": { - "id": { - "description": "Id of the dimension.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "Name of the dimension mainly for debugging purposes, except for the case of CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids.", - "type": "string" - }, - "percentage": { - "description": "Percent of total impressions for a dimension type. e.g. {dimension_type: 'GENDER', [{dimension_value: {id: 1, name: 'MALE', percentage: 60}}]} Gender MALE is 60% of all impressions which have gender.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "EditAllOrderDealsRequest": { - "id": "EditAllOrderDealsRequest", - "properties": { - "deals": { - "description": "List of deals to edit. Service may perform 3 different operations based on comparison of deals in this list vs deals already persisted in database: 1. Add new deal to proposal If a deal in this list does not exist in the proposal, the service will create a new deal and add it to the proposal. Validation will follow AddOrderDealsRequest. 2. Update existing deal in the proposal If a deal in this list already exist in the proposal, the service will update that existing deal to this new deal in the request. Validation will follow UpdateOrderDealsRequest. 3. Delete deals from the proposal (just need the id) If a existing deal in the proposal is not present in this list, the service will delete that deal from the proposal. Validation will follow DeleteOrderDealsRequest.", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - }, - "proposal": { - "$ref": "Proposal", - "description": "If specified, also updates the proposal in the batch transaction. This is useful when the proposal and the deals need to be updated in one transaction." - }, - "proposalRevisionNumber": { - "description": "The last known revision number for the proposal.", - "format": "int64", - "type": "string" - }, - "updateAction": { - "description": "Indicates an optional action to take on the proposal", - "type": "string" - } - }, - "type": "object" - }, - "EditAllOrderDealsResponse": { - "id": "EditAllOrderDealsResponse", - "properties": { - "deals": { - "description": "List of all deals in the proposal after edit.", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - }, - "orderRevisionNumber": { - "description": "The latest revision number after the update has been applied.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GetOffersResponse": { - "id": "GetOffersResponse", - "properties": { - "products": { - "description": "The returned list of products.", - "items": { - "$ref": "Product" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetOrderDealsResponse": { - "id": "GetOrderDealsResponse", - "properties": { - "deals": { - "description": "List of deals for the proposal", - "items": { - "$ref": "MarketplaceDeal" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetOrderNotesResponse": { - "id": "GetOrderNotesResponse", - "properties": { - "notes": { - "description": "The list of matching notes. The notes for a proposal are ordered from oldest to newest. If the notes span multiple proposals, they will be grouped by proposal, with the notes for the most recently modified proposal appearing first.", - "items": { - "$ref": "MarketplaceNote" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetOrdersResponse": { - "id": "GetOrdersResponse", - "properties": { - "proposals": { - "description": "The list of matching proposals.", - "items": { - "$ref": "Proposal" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetPublisherProfilesByAccountIdResponse": { - "id": "GetPublisherProfilesByAccountIdResponse", - "properties": { - "profiles": { - "description": "Profiles for the requested publisher", - "items": { - "$ref": "PublisherProfileApiProto" - }, - "type": "array" - } - }, - "type": "object" - }, - "MarketplaceDeal": { - "description": "A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.", - "id": "MarketplaceDeal", - "properties": { - "buyerPrivateData": { - "$ref": "PrivateData", - "description": "Buyer private data (hidden from seller)." - }, - "creationTimeMs": { - "description": "The time (ms since epoch) of the deal creation. (readonly)", - "format": "int64", - "type": "string" - }, - "creativePreApprovalPolicy": { - "description": "Specifies the creative pre-approval policy (buyer-readonly)", - "type": "string" - }, - "creativeSafeFrameCompatibility": { - "description": "Specifies whether the creative is safeFrame compatible (buyer-readonly)", - "type": "string" - }, - "dealId": { - "description": "A unique deal-id for the deal (readonly).", - "type": "string" - }, - "dealServingMetadata": { - "$ref": "DealServingMetadata", - "description": "Metadata about the serving status of this deal (readonly, writes via custom actions)" - }, - "deliveryControl": { - "$ref": "DeliveryControl", - "description": "The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension." - }, - "externalDealId": { - "description": "The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly)", - "type": "string" - }, - "flightEndTimeMs": { - "description": "Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)", - "format": "int64", - "type": "string" - }, - "flightStartTimeMs": { - "description": "Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)", - "format": "int64", - "type": "string" - }, - "inventoryDescription": { - "description": "Description for the deal terms. (buyer-readonly)", - "type": "string" - }, - "isRfpTemplate": { - "description": "Indicates whether the current deal is a RFP template. RFP template is created by buyer and not based on seller created products.", - "type": "boolean" - }, - "isSetupComplete": { - "description": "True, if the buyside inventory setup is complete for this deal. (readonly, except via OrderSetupCompleted action)", - "type": "boolean" - }, - "kind": { - "default": "adexchangebuyer#marketplaceDeal", - "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceDeal\".", - "type": "string" - }, - "lastUpdateTimeMs": { - "description": "The time (ms since epoch) when the deal was last updated. (readonly)", - "format": "int64", - "type": "string" - }, - "makegoodRequestedReason": { - "type": "string" - }, - "name": { - "description": "The name of the deal. (updatable)", - "type": "string" - }, - "productId": { - "description": "The product-id from which this deal was created. (readonly, except on create)", - "type": "string" - }, - "productRevisionNumber": { - "description": "The revision number of the product that the deal was created from (readonly, except on create)", - "format": "int64", - "type": "string" - }, - "programmaticCreativeSource": { - "description": "Specifies the creative source for programmatic deals, PUBLISHER means creative is provided by seller and ADVERTISR means creative is provided by buyer. (buyer-readonly)", - "type": "string" - }, - "proposalId": { - "type": "string" - }, - "sellerContacts": { - "description": "Optional Seller contact information for the deal (buyer-readonly)", - "items": { - "$ref": "ContactInformation" - }, - "type": "array" - }, - "sharedTargetings": { - "description": "The shared targeting visible to buyers and sellers. Each shared targeting entity is AND'd together. (updatable)", - "items": { - "$ref": "SharedTargeting" - }, - "type": "array" - }, - "syndicationProduct": { - "description": "The syndication product associated with the deal. (readonly, except on create)", - "type": "string" - }, - "terms": { - "$ref": "DealTerms", - "description": "The negotiable terms of the deal. (updatable)" - }, - "webPropertyCode": { - "type": "string" - } - }, - "type": "object" - }, - "MarketplaceDealParty": { - "id": "MarketplaceDealParty", - "properties": { - "buyer": { - "$ref": "Buyer", - "description": "The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party." - }, - "seller": { - "$ref": "Seller", - "description": "The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party." - } - }, - "type": "object" - }, - "MarketplaceLabel": { - "id": "MarketplaceLabel", - "properties": { - "accountId": { - "description": "The accountId of the party that created the label.", - "type": "string" - }, - "createTimeMs": { - "description": "The creation time (in ms since epoch) for the label.", - "format": "int64", - "type": "string" - }, - "deprecatedMarketplaceDealParty": { - "$ref": "MarketplaceDealParty", - "description": "Information about the party that created the label." - }, - "label": { - "description": "The label to use.", - "type": "string" - } - }, - "type": "object" - }, - "MarketplaceNote": { - "description": "A proposal is associated with a bunch of notes which may optionally be associated with a deal and/or revision number.", - "id": "MarketplaceNote", - "properties": { - "creatorRole": { - "description": "The role of the person (buyer/seller) creating the note. (readonly)", - "type": "string" - }, - "dealId": { - "description": "Notes can optionally be associated with a deal. (readonly, except on create)", - "type": "string" - }, - "kind": { - "default": "adexchangebuyer#marketplaceNote", - "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceNote\".", - "type": "string" - }, - "note": { - "description": "The actual note to attach. (readonly, except on create)", - "type": "string" - }, - "noteId": { - "description": "The unique id for the note. (readonly)", - "type": "string" - }, - "proposalId": { - "description": "The proposalId that a note is attached to. (readonly)", - "type": "string" - }, - "proposalRevisionNumber": { - "description": "If the note is associated with a proposal revision number, then store that here. (readonly, except on create)", - "format": "int64", - "type": "string" - }, - "timestampMs": { - "description": "The timestamp (ms since epoch) that this note was created. (readonly)", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "MobileApplication": { - "id": "MobileApplication", - "properties": { - "appStore": { - "type": "string" - }, - "externalAppId": { - "type": "string" - } - }, - "type": "object" - }, - "PerformanceReport": { - "description": "The configuration data for an Ad Exchange performance report list.", - "id": "PerformanceReport", - "properties": { - "bidRate": { - "description": "The number of bid responses with an ad.", - "format": "double", - "type": "number" - }, - "bidRequestRate": { - "description": "The number of bid requests sent to your bidder.", - "format": "double", - "type": "number" - }, - "calloutStatusRate": { - "description": "Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses.", - "items": { - "type": "any" - }, - "type": "array" - }, - "cookieMatcherStatusRate": { - "description": "Average QPS for cookie matcher operations.", - "items": { - "type": "any" - }, - "type": "array" - }, - "creativeStatusRate": { - "description": "Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses.", - "items": { - "type": "any" - }, - "type": "array" - }, - "filteredBidRate": { - "description": "The number of bid responses that were filtered due to a policy violation or other errors.", - "format": "double", - "type": "number" - }, - "hostedMatchStatusRate": { - "description": "Average QPS for hosted match operations.", - "items": { - "type": "any" - }, - "type": "array" - }, - "inventoryMatchRate": { - "description": "The number of potential queries based on your pretargeting settings.", - "format": "double", - "type": "number" - }, - "kind": { - "default": "adexchangebuyer#performanceReport", - "description": "Resource type.", - "type": "string" - }, - "latency50thPercentile": { - "description": "The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "latency85thPercentile": { - "description": "The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "latency95thPercentile": { - "description": "The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", - "format": "double", - "type": "number" - }, - "noQuotaInRegion": { - "description": "Rate of various quota account statuses per quota check.", - "format": "double", - "type": "number" - }, - "outOfQuota": { - "description": "Rate of various quota account statuses per quota check.", - "format": "double", - "type": "number" - }, - "pixelMatchRequests": { - "description": "Average QPS for pixel match requests from clients.", - "format": "double", - "type": "number" - }, - "pixelMatchResponses": { - "description": "Average QPS for pixel match responses from clients.", - "format": "double", - "type": "number" - }, - "quotaConfiguredLimit": { - "description": "The configured quota limits for this account.", - "format": "double", - "type": "number" - }, - "quotaThrottledLimit": { - "description": "The throttled quota limits for this account.", - "format": "double", - "type": "number" - }, - "region": { - "description": "The trading location of this data.", - "type": "string" - }, - "successfulRequestRate": { - "description": "The number of properly formed bid responses received by our servers within the deadline.", - "format": "double", - "type": "number" - }, - "timestamp": { - "description": "The unix timestamp of the starting time of this performance data.", - "format": "int64", - "type": "string" - }, - "unsuccessfulRequestRate": { - "description": "The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "PerformanceReportList": { - "description": "The configuration data for an Ad Exchange performance report list.", - "id": "PerformanceReportList", - "properties": { - "kind": { - "default": "adexchangebuyer#performanceReportList", - "description": "Resource type.", - "type": "string" - }, - "performanceReport": { - "description": "A list of performance reports relevant for the account.", - "items": { - "$ref": "PerformanceReport" - }, - "type": "array" - } - }, - "type": "object" - }, - "PretargetingConfig": { - "id": "PretargetingConfig", - "properties": { - "billingId": { - "description": "The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.", - "format": "int64", - "type": "string" - }, - "configId": { - "description": "The config id; generated automatically. Leave this field blank for insert requests.", - "format": "int64", - "type": "string" - }, - "configName": { - "description": "The name of the config. Must be unique. Required for all requests.", - "type": "string" - }, - "creativeType": { - "description": "List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.", - "items": { - "type": "string" - }, - "type": "array" - }, - "dimensions": { - "description": "Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.", - "items": { - "properties": { - "height": { - "description": "Height in pixels.", - "format": "int64", - "type": "string" - }, - "width": { - "description": "Width in pixels.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "excludedContentLabels": { - "description": "Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedGeoCriteriaIds": { - "description": "Requests containing any of these geo criteria ids will not match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedPlacements": { - "description": "Requests containing any of these placements will not match.", - "items": { - "properties": { - "token": { - "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", - "type": "string" - }, - "type": { - "description": "The type of the placement.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "excludedUserLists": { - "description": "Requests containing any of these users list ids will not match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "excludedVerticals": { - "description": "Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "geoCriteriaIds": { - "description": "Requests containing any of these geo criteria ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "isActive": { - "description": "Whether this config is active. Required for all requests.", - "type": "boolean" - }, - "kind": { - "default": "adexchangebuyer#pretargetingConfig", - "description": "The kind of the resource, i.e. \"adexchangebuyer#pretargetingConfig\".", - "type": "string" - }, - "languages": { - "description": "Request containing any of these language codes will match.", - "items": { - "type": "string" - }, - "type": "array" - }, - "maximumQps": { - "description": "The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).", - "format": "int64", - "type": "string" - }, - "minimumViewabilityDecile": { - "description": "Requests where the predicted viewability is below the specified decile will not match. E.g. if the buyer sets this value to 5, requests from slots where the predicted viewability is below 50% will not match. If the predicted viewability is unknown this field will be ignored.", - "format": "int32", - "type": "integer" - }, - "mobileCarriers": { - "description": "Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "mobileDevices": { - "description": "Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "mobileOperatingSystemVersions": { - "description": "Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "placements": { - "description": "Requests containing any of these placements will match.", - "items": { - "properties": { - "token": { - "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", - "type": "string" - }, - "type": { - "description": "The type of the placement.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "platforms": { - "description": "Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.", - "items": { - "type": "string" - }, - "type": "array" - }, - "supportedCreativeAttributes": { - "description": "Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "userIdentifierDataRequired": { - "description": "Requests containing the specified type of user data will match. Possible values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means the request has either a targetable cookie or an iOS IDFA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "userLists": { - "description": "Requests containing any of these user list ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "vendorTypes": { - "description": "Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "verticals": { - "description": "Requests containing any of these vertical ids will match.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "videoPlayerSizes": { - "description": "Video requests satisfying any of these player size constraints will match.", - "items": { - "properties": { - "aspectRatio": { - "description": "The type of aspect ratio. Leave this field blank to match all aspect ratios.", - "type": "string" - }, - "minHeight": { - "description": "The minimum player height in pixels. Leave this field blank to match any player height.", - "format": "int64", - "type": "string" - }, - "minWidth": { - "description": "The minimum player width in pixels. Leave this field blank to match any player width.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "PretargetingConfigList": { - "id": "PretargetingConfigList", - "properties": { - "items": { - "description": "A list of pretargeting configs", - "items": { - "$ref": "PretargetingConfig" - }, - "type": "array" - }, - "kind": { - "default": "adexchangebuyer#pretargetingConfigList", - "description": "Resource type.", - "type": "string" - } - }, - "type": "object" - }, - "Price": { - "id": "Price", - "properties": { - "amountMicros": { - "description": "The price value in micros.", - "format": "double", - "type": "number" - }, - "currencyCode": { - "description": "The currency code for the price.", - "type": "string" - }, - "expectedCpmMicros": { - "description": "In case of CPD deals, the expected CPM in micros.", - "format": "double", - "type": "number" - }, - "pricingType": { - "description": "The pricing type for the deal/product.", - "type": "string" - } - }, - "type": "object" - }, - "PricePerBuyer": { - "description": "Used to specify pricing rules for buyers. Each PricePerBuyer in a product can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer we look for the most specific matching rule - we first look for a rule matching the buyer and otherwise look for a matching rule where no buyer is set.", - "id": "PricePerBuyer", - "properties": { - "auctionTier": { - "description": "Optional access type for this buyer.", - "type": "string" - }, - "billedBuyer": { - "$ref": "Buyer", - "description": "Reference to the buyer that will get billed." - }, - "buyer": { - "$ref": "Buyer", - "description": "The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer)." - }, - "price": { - "$ref": "Price", - "description": "The specified price" - } - }, - "type": "object" - }, - "PrivateData": { - "id": "PrivateData", - "properties": { - "referenceId": { - "type": "string" - }, - "referencePayload": { - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "Product": { - "description": "A product is segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps buyer know more about the inventory. Each field in a product can have one of the following setting:\n\n(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.", - "id": "Product", - "properties": { - "billedBuyer": { - "$ref": "Buyer", - "description": "The billed buyer corresponding to the buyer that created the offer. (readonly, except on create)" - }, - "buyer": { - "$ref": "Buyer", - "description": "The buyer that created the offer if this is a buyer initiated offer (readonly, except on create)" - }, - "creationTimeMs": { - "description": "Creation time in ms. since epoch (readonly)", - "format": "int64", - "type": "string" - }, - "creatorContacts": { - "description": "Optional contact information for the creator of this product. (buyer-readonly)", - "items": { - "$ref": "ContactInformation" - }, - "type": "array" - }, - "creatorRole": { - "description": "The role that created the offer. Set to BUYER for buyer initiated offers.", - "type": "string" - }, - "deliveryControl": { - "$ref": "DeliveryControl", - "description": "The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension." - }, - "flightEndTimeMs": { - "description": "The proposed end time for the deal (ms since epoch) (buyer-readonly)", - "format": "int64", - "type": "string" - }, - "flightStartTimeMs": { - "description": "Inventory availability dates. (times are in ms since epoch) The granularity is generally in the order of seconds. (buyer-readonly)", - "format": "int64", - "type": "string" - }, - "hasCreatorSignedOff": { - "description": "If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, if any of the terms are changed, then auto_finalize is automatically set to false.", - "type": "boolean" - }, - "inventorySource": { - "description": "What exchange will provide this inventory (readonly, except on create).", - "type": "string" - }, - "kind": { - "default": "adexchangebuyer#product", - "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#product\".", - "type": "string" - }, - "labels": { - "description": "Optional List of labels for the product (optional, buyer-readonly).", - "items": { - "$ref": "MarketplaceLabel" - }, - "type": "array" - }, - "lastUpdateTimeMs": { - "description": "Time of last update in ms. since epoch (readonly)", - "format": "int64", - "type": "string" - }, - "legacyOfferId": { - "description": "Optional legacy offer id if this offer is a preferred deal offer.", - "type": "string" - }, - "marketplacePublisherProfileId": { - "description": "Marketplace publisher profile Id. This Id differs from the regular publisher_profile_id in that 1. This is a new id, the old Id will be deprecated in 2017. 2. This id uniquely identifies a publisher profile by itself.", - "type": "string" - }, - "name": { - "description": "The name for this product as set by the seller. (buyer-readonly)", - "type": "string" - }, - "privateAuctionId": { - "description": "Optional private auction id if this offer is a private auction offer.", - "type": "string" - }, - "productId": { - "description": "The unique id for the product (readonly)", - "type": "string" - }, - "publisherProfileId": { - "description": "Id of the publisher profile for a given seller. A (seller.account_id, publisher_profile_id) pair uniquely identifies a publisher profile. Buyers can call the PublisherProfiles::List endpoint to get a list of publisher profiles for a given seller.", - "type": "string" - }, - "publisherProvidedForecast": { - "$ref": "PublisherProvidedForecast", - "description": "Publisher self-provided forecast information." - }, - "revisionNumber": { - "description": "The revision number of the product. (readonly)", - "format": "int64", - "type": "string" - }, - "seller": { - "$ref": "Seller", - "description": "Information about the seller that created this product (readonly, except on create)" - }, - "sharedTargetings": { - "description": "Targeting that is shared between the buyer and the seller. Each targeting criteria has a specified key and for each key there is a list of inclusion value or exclusion values. (buyer-readonly)", - "items": { - "$ref": "SharedTargeting" - }, - "type": "array" - }, - "state": { - "description": "The state of the product. (buyer-readonly)", - "type": "string" - }, - "syndicationProduct": { - "description": "The syndication product associated with the deal. (readonly, except on create)", - "type": "string" - }, - "terms": { - "$ref": "DealTerms", - "description": "The negotiable terms of the deal (buyer-readonly)" - }, - "webPropertyCode": { - "description": "The web property code for the seller. This field is meant to be copied over as is when creating deals.", - "type": "string" - } - }, - "type": "object" - }, - "Proposal": { - "description": "Represents a proposal in the marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in a proposal can have one of the following setting:\n\n(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.", - "id": "Proposal", - "properties": { - "billedBuyer": { - "$ref": "Buyer", - "description": "Reference to the buyer that will get billed for this proposal. (readonly)" - }, - "buyer": { - "$ref": "Buyer", - "description": "Reference to the buyer on the proposal. (readonly, except on create)" - }, - "buyerContacts": { - "description": "Optional contact information of the buyer. (seller-readonly)", - "items": { - "$ref": "ContactInformation" - }, - "type": "array" - }, - "buyerPrivateData": { - "$ref": "PrivateData", - "description": "Private data for buyer. (hidden from seller)." - }, - "dbmAdvertiserIds": { - "description": "IDs of DBM advertisers permission to this proposal.", - "items": { - "type": "string" - }, - "type": "array" - }, - "hasBuyerSignedOff": { - "description": "When an proposal is in an accepted state, indicates whether the buyer has signed off. Once both sides have signed off on a deal, the proposal can be finalized by the seller. (seller-readonly)", - "type": "boolean" - }, - "hasSellerSignedOff": { - "description": "When an proposal is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the proposal can be finalized by the seller. (buyer-readonly)", - "type": "boolean" - }, - "inventorySource": { - "description": "What exchange will provide this inventory (readonly, except on create).", - "type": "string" - }, - "isRenegotiating": { - "description": "True if the proposal is being renegotiated (readonly).", - "type": "boolean" - }, - "isSetupComplete": { - "description": "True, if the buyside inventory setup is complete for this proposal. (readonly, except via OrderSetupCompleted action) Deprecated in favor of deal level setup complete flag.", - "type": "boolean" - }, - "kind": { - "default": "adexchangebuyer#proposal", - "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#proposal\".", - "type": "string" - }, - "labels": { - "description": "List of labels associated with the proposal. (readonly)", - "items": { - "$ref": "MarketplaceLabel" - }, - "type": "array" - }, - "lastUpdaterOrCommentorRole": { - "description": "The role of the last user that either updated the proposal or left a comment. (readonly)", - "type": "string" - }, - "name": { - "description": "The name for the proposal (updatable)", - "type": "string" - }, - "negotiationId": { - "description": "Optional negotiation id if this proposal is a preferred deal proposal.", - "type": "string" - }, - "originatorRole": { - "description": "Indicates whether the buyer/seller created the proposal.(readonly)", - "type": "string" - }, - "privateAuctionId": { - "description": "Optional private auction id if this proposal is a private auction proposal.", - "type": "string" - }, - "proposalId": { - "description": "The unique id of the proposal. (readonly).", - "type": "string" - }, - "proposalState": { - "description": "The current state of the proposal. (readonly)", - "type": "string" - }, - "revisionNumber": { - "description": "The revision number for the proposal (readonly).", - "format": "int64", - "type": "string" - }, - "revisionTimeMs": { - "description": "The time (ms since epoch) when the proposal was last revised (readonly).", - "format": "int64", - "type": "string" - }, - "seller": { - "$ref": "Seller", - "description": "Reference to the seller on the proposal. (readonly, except on create)" - }, - "sellerContacts": { - "description": "Optional contact information of the seller (buyer-readonly).", - "items": { - "$ref": "ContactInformation" - }, - "type": "array" - } - }, - "type": "object" - }, - "PublisherProfileApiProto": { - "id": "PublisherProfileApiProto", - "properties": { - "audience": { - "description": "Publisher provided info on its audience.", - "type": "string" - }, - "buyerPitchStatement": { - "description": "A pitch statement for the buyer", - "type": "string" - }, - "directContact": { - "description": "Direct contact for the publisher profile.", - "type": "string" - }, - "exchange": { - "description": "Exchange where this publisher profile is from. E.g. AdX, Rubicon etc...", - "type": "string" - }, - "forecastInventory": { - "type": "string" - }, - "googlePlusLink": { - "description": "Link to publisher's Google+ page.", - "type": "string" - }, - "isParent": { - "description": "True, if this is the parent profile, which represents all domains owned by the publisher.", - "type": "boolean" - }, - "isPublished": { - "description": "True, if this profile is published. Deprecated for state.", - "type": "boolean" - }, - "kind": { - "default": "adexchangebuyer#publisherProfileApiProto", - "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#publisherProfileApiProto\".", - "type": "string" - }, - "logoUrl": { - "description": "The url to the logo for the publisher.", - "type": "string" - }, - "mediaKitLink": { - "description": "The url for additional marketing and sales materials.", - "type": "string" - }, - "name": { - "type": "string" - }, - "overview": { - "description": "Publisher provided overview.", - "type": "string" - }, - "profileId": { - "description": "The pair of (seller.account_id, profile_id) uniquely identifies a publisher profile for a given publisher.", - "format": "int32", - "type": "integer" - }, - "programmaticContact": { - "description": "Programmatic contact for the publisher profile.", - "type": "string" - }, - "publisherAppIds": { - "description": "The list of app IDs represented in this publisher profile. Empty if this is a parent profile. Deprecated in favor of publisher_app.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "publisherApps": { - "description": "The list of apps represented in this publisher profile. Empty if this is a parent profile.", - "items": { - "$ref": "MobileApplication" - }, - "type": "array" - }, - "publisherDomains": { - "description": "The list of domains represented in this publisher profile. Empty if this is a parent profile.", - "items": { - "type": "string" - }, - "type": "array" - }, - "publisherProfileId": { - "description": "Unique Id for publisher profile.", - "type": "string" - }, - "publisherProvidedForecast": { - "$ref": "PublisherProvidedForecast", - "description": "Publisher provided forecasting information." - }, - "rateCardInfoLink": { - "description": "Link to publisher rate card", - "type": "string" - }, - "samplePageLink": { - "description": "Link for a sample content page.", - "type": "string" - }, - "seller": { - "$ref": "Seller", - "description": "Seller of the publisher profile." - }, - "state": { - "description": "State of the publisher profile.", - "type": "string" - }, - "topHeadlines": { - "description": "Publisher provided key metrics and rankings.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "PublisherProvidedForecast": { - "description": "This message carries publisher provided forecasting information.", - "id": "PublisherProvidedForecast", - "properties": { - "dimensions": { - "description": "Publisher provided dimensions. E.g. geo, sizes etc...", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "weeklyImpressions": { - "description": "Publisher provided weekly impressions.", - "format": "int64", - "type": "string" - }, - "weeklyUniques": { - "description": "Publisher provided weekly uniques.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Seller": { - "id": "Seller", - "properties": { - "accountId": { - "description": "The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the product.", - "type": "string" - }, - "subAccountId": { - "description": "Optional sub-account id for the seller.", - "type": "string" - } - }, - "type": "object" - }, - "SharedTargeting": { - "id": "SharedTargeting", - "properties": { - "exclusions": { - "description": "The list of values to exclude from targeting. Each value is AND'd together.", - "items": { - "$ref": "TargetingValue" - }, - "type": "array" - }, - "inclusions": { - "description": "The list of value to include as part of the targeting. Each value is OR'd together.", - "items": { - "$ref": "TargetingValue" - }, - "type": "array" - }, - "key": { - "description": "The key representing the shared targeting criterion.", - "type": "string" - } - }, - "type": "object" - }, - "TargetingValue": { - "id": "TargetingValue", - "properties": { - "creativeSizeValue": { - "$ref": "TargetingValueCreativeSize", - "description": "The creative size value to exclude/include." - }, - "dayPartTargetingValue": { - "$ref": "TargetingValueDayPartTargeting", - "description": "The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING." - }, - "demogAgeCriteriaValue": { - "$ref": "TargetingValueDemogAgeCriteria" - }, - "demogGenderCriteriaValue": { - "$ref": "TargetingValueDemogGenderCriteria" - }, - "longValue": { - "description": "The long value to exclude/include.", - "format": "int64", - "type": "string" - }, - "requestPlatformTargetingValue": { - "$ref": "TargetingValueRequestPlatformTargeting" - }, - "stringValue": { - "description": "The string value to exclude/include.", - "type": "string" - } - }, - "type": "object" - }, - "TargetingValueCreativeSize": { - "description": "Next Id: 7", - "id": "TargetingValueCreativeSize", - "properties": { - "allowedFormats": { - "description": "The formats allowed by the publisher.", - "items": { - "type": "string" - }, - "type": "array" - }, - "companionSizes": { - "description": "For video size type, the list of companion sizes.", - "items": { - "$ref": "TargetingValueSize" - }, - "type": "array" - }, - "creativeSizeType": { - "description": "The Creative size type.", - "type": "string" - }, - "nativeTemplate": { - "description": "The native template for native ad.", - "type": "string" - }, - "size": { - "$ref": "TargetingValueSize", - "description": "For regular or video creative size type, specifies the size of the creative." - }, - "skippableAdType": { - "description": "The skippable ad type for video size.", - "type": "string" - } - }, - "type": "object" - }, - "TargetingValueDayPartTargeting": { - "id": "TargetingValueDayPartTargeting", - "properties": { - "dayParts": { - "items": { - "$ref": "TargetingValueDayPartTargetingDayPart" - }, - "type": "array" - }, - "timeZoneType": { - "type": "string" - } - }, - "type": "object" - }, - "TargetingValueDayPartTargetingDayPart": { - "id": "TargetingValueDayPartTargetingDayPart", - "properties": { - "dayOfWeek": { - "type": "string" - }, - "endHour": { - "format": "int32", - "type": "integer" - }, - "endMinute": { - "format": "int32", - "type": "integer" - }, - "startHour": { - "format": "int32", - "type": "integer" - }, - "startMinute": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "TargetingValueDemogAgeCriteria": { - "id": "TargetingValueDemogAgeCriteria", - "properties": { - "demogAgeCriteriaIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TargetingValueDemogGenderCriteria": { - "id": "TargetingValueDemogGenderCriteria", - "properties": { - "demogGenderCriteriaIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TargetingValueRequestPlatformTargeting": { - "id": "TargetingValueRequestPlatformTargeting", - "properties": { - "requestPlatforms": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TargetingValueSize": { - "id": "TargetingValueSize", - "properties": { - "height": { - "description": "The height of the creative.", - "format": "int32", - "type": "integer" - }, - "width": { - "description": "The width of the creative.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "UpdatePrivateAuctionProposalRequest": { - "id": "UpdatePrivateAuctionProposalRequest", - "properties": { - "externalDealId": { - "description": "The externalDealId of the deal to be updated.", - "type": "string" - }, - "note": { - "$ref": "MarketplaceNote", - "description": "Optional note to be added." - }, - "proposalRevisionNumber": { - "description": "The current revision number of the proposal to be updated.", - "format": "int64", - "type": "string" - }, - "updateAction": { - "description": "The proposed action on the private auction proposal.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "adexchangebuyer/v1.4/", - "title": "Ad Exchange Buyer API", - "version": "v1.4" -} \ No newline at end of file diff --git a/discovery/admin-directory_v1.json b/discovery/admin-directory_v1.json index 56ead0dabd2..ea902009d3c 100644 --- a/discovery/admin-directory_v1.json +++ b/discovery/admin-directory_v1.json @@ -4671,7 +4671,7 @@ } } }, - "revision": "20250421", + "revision": "20250513", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { @@ -5646,7 +5646,23 @@ "enterpriseUpgrade", "educationUpgrade", "education", - "kioskUpgrade" + "kioskUpgrade", + "enterpriseUpgradePerpetual", + "enterpriseUpgradeFixedTerm", + "educationUpgradePerpetual", + "educationUpgradeFixedTerm" + ], + "enumDeprecated": [ + false, + false, + true, + true, + false, + false, + false, + false, + false, + false ], "enumDescriptions": [ "The license type is unknown.", @@ -5654,7 +5670,11 @@ "The device has an annual standalone Chrome Enterprise Upgrade.", "The device has a perpetual standalone Chrome Education Upgrade.", "The device is bundled with a perpetual Chrome Education Upgrade.", - "The device has an annual Kiosk Upgrade." + "The device has an annual Kiosk Upgrade.", + "Indicates that the device is consuming a standalone, perpetual Chrome Enterprise Upgrade, a Chrome Enterprise license.", + "Indicates that the device is consuming a standalone, fixed-term Chrome Enterprise Upgrade, a Chrome Enterprise license.", + "Indicates that the device is consuming a standalone, perpetual Chrome Education Upgrade(AKA Chrome EDU perpetual license).", + "Indicates that the device is consuming a standalone, fixed-term Chrome Education Upgrade(AKA Chrome EDU fixed-term license)." ], "readOnly": true, "type": "string" @@ -6184,6 +6204,7 @@ "REMOTE_POWERWASH", "DEVICE_START_CRD_SESSION", "CAPTURE_LOGS", + "FETCH_CRD_AVAILABILITY_INFO", "FETCH_SUPPORT_PACKET" ], "enumDescriptions": [ @@ -6195,6 +6216,7 @@ "Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!", "Starts a Chrome Remote Desktop session.", "Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in `deviceFiles` field of [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)", + "Fetches available type(s) of Chrome Remote Desktop sessions (private or shared) that can be used to remotely connect to the device.", "Fetch support packet from a device remotely. Support packet is a zip archive that contains various system logs and debug data from a ChromeOS device. The support packet can be downloaded from the downloadURL link present in the `deviceFiles` field of [`chromeosdevices`](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)" ], "type": "string" @@ -6207,7 +6229,7 @@ "id": "DirectoryChromeosdevicesCommandResult", "properties": { "commandResultPayload": { - "description": "The payload for the command result. The following commands respond with a payload: * `DEVICE_START_CRD_SESSION`: Payload is a stringified JSON object in the form: { \"url\": url }. The URL provides a link to the Chrome Remote Desktop session.", + "description": "The payload for the command result. The following commands respond with a payload: * `DEVICE_START_CRD_SESSION`: Payload is a stringified JSON object in the form: { \"url\": url }. The URL provides a link to the Chrome Remote Desktop session. * `FETCH_CRD_AVAILABILITY_INFO`: Payload is a stringified JSON object in the form: { \"deviceIdleTimeInSeconds\": number, \"userSessionType\": string, \"remoteSupportAvailability\": string, \"remoteAccessAvailability\": string }. The \"remoteSupportAvailability\" field is set to \"AVAILABLE\" if `shared` CRD session to the device is available. The \"remoteAccessAvailability\" field is set to \"AVAILABLE\" if `private` CRD session to the device is available.", "type": "string" }, "errorMessage": { @@ -6253,6 +6275,7 @@ "REMOTE_POWERWASH", "DEVICE_START_CRD_SESSION", "CAPTURE_LOGS", + "FETCH_CRD_AVAILABILITY_INFO", "FETCH_SUPPORT_PACKET" ], "enumDescriptions": [ @@ -6264,6 +6287,7 @@ "Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!", "Starts a Chrome Remote Desktop session.", "Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in `deviceFiles` field of [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)", + "Fetches available type(s) of Chrome Remote Desktop sessions (private or shared) that can be used to remotely connect to the device.", "Fetch support packet from a device remotely. Support packet is a zip archive that contains various system logs and debug data from a ChromeOS device. The support packet can be downloaded from the downloadURL link present in the `deviceFiles` field of [`chromeosdevices`](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)" ], "type": "string" diff --git a/discovery/admin-reports_v1.json b/discovery/admin-reports_v1.json index 18bdcc3264a..7ead0fb264b 100644 --- a/discovery/admin-reports_v1.json +++ b/discovery/admin-reports_v1.json @@ -446,7 +446,7 @@ "type": "string" }, "parameters": { - "description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ", + "description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ", "location": "query", "pattern": "(((accounts)|(app_maker)|(apps_scripts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+,)*(((accounts)|(app_maker)|(apps_scripts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+)", "type": "string" @@ -570,7 +570,7 @@ "type": "string" }, "filters": { - "description": "The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The `filters` query string includes the name of the application whose usage is returned in the report. The application values for the Users Usage Report include `accounts`, `docs`, and `gmail`. Filters are in the form `[application name]:parameter name[parameter value],...`. In this example, the `<>` 'not equal to' operator is URL-encoded in the request's query string (%3C%3E): GET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?parameters=accounts:last_login_time &filters=accounts:last_login_time%3C%3E2010-10-28T10:26:35.000Z The relational operators include: - `==` - 'equal to'. - `<>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<` - 'less than'. It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It is URL-encoded (%3C=). - `>` - 'greater than'. It is URL-encoded (%3E). - `>=` - 'greater than or equal to'. It is URL-encoded (%3E=). ", + "description": "The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The `filters` query string includes the name of the application whose usage is returned in the report. The application values for the Users Usage Report include `accounts`, `chat`, `docs`, and `gmail`. Filters are in the form `[application name]:parameter name[parameter value],...`. In this example, the `<>` 'not equal to' operator is URL-encoded in the request's query string (%3C%3E): GET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?parameters=accounts:last_login_time &filters=accounts:last_login_time%3C%3E2010-10-28T10:26:35.000Z The relational operators include: - `==` - 'equal to'. - `<>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<` - 'less than'. It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It is URL-encoded (%3C=). - `>` - 'greater than'. It is URL-encoded (%3E). - `>=` - 'greater than or equal to'. It is URL-encoded (%3E=). ", "location": "query", "pattern": "(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)", "type": "string" @@ -603,7 +603,7 @@ "type": "string" }, "parameters": { - "description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers Usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ", + "description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers Usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ", "location": "query", "pattern": "(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)", "type": "string" @@ -626,7 +626,7 @@ } } }, - "revision": "20250424", + "revision": "20250505", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Activities": { diff --git a/discovery/admob-v1.json b/discovery/admob-v1.json index 6f0ea779964..fdf58a99c2a 100644 --- a/discovery/admob-v1.json +++ b/discovery/admob-v1.json @@ -321,7 +321,7 @@ } } }, - "revision": "20240530", + "revision": "20240514", "rootUrl": "https://admob.googleapis.com/", "schemas": { "AdUnit": { diff --git a/discovery/admob-v1beta.json b/discovery/admob-v1beta.json index 8dad680212e..bbd79509188 100644 --- a/discovery/admob-v1beta.json +++ b/discovery/admob-v1beta.json @@ -758,7 +758,7 @@ } } }, - "revision": "20240530", + "revision": "20240514", "rootUrl": "https://admob.googleapis.com/", "schemas": { "AdSource": { diff --git a/discovery/adsense-v1.4.json b/discovery/adsense-v1.4.json deleted file mode 100644 index 05ae1884db7..00000000000 --- a/discovery/adsense-v1.4.json +++ /dev/null @@ -1,2450 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/adsense": { - "description": "View and manage your AdSense data" - }, - "https://www.googleapis.com/auth/adsense.readonly": { - "description": "View your AdSense data" - } - } - } - }, - "basePath": "/adsense/v1.4/", - "baseUrl": "https://www.googleapis.com/adsense/v1.4/", - "batchPath": "batch/adsense/v1.4", - "canonicalName": "AdSense", - "description": "Accesses AdSense publishers' inventory and generates performance reports.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/adsense/management/", - "icons": { - "x16": "https://www.google.com/images/icons/product/adsense-16.png", - "x32": "https://www.google.com/images/icons/product/adsense-32.png" - }, - "id": "adsense:v1.4", - "kind": "discovery#restDescription", - "name": "adsense", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "csv", - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of text/csv", - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "accounts": { - "methods": { - "get": { - "description": "Get information about the selected AdSense account.", - "httpMethod": "GET", - "id": "adsense.accounts.get", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "Account to get information about.", - "location": "path", - "required": true, - "type": "string" - }, - "tree": { - "description": "Whether the tree of sub accounts should be returned.", - "location": "query", - "type": "boolean" - } - }, - "path": "accounts/{accountId}", - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "list": { - "description": "List all accounts available to this AdSense account.", - "httpMethod": "GET", - "id": "adsense.accounts.list", - "parameters": { - "maxResults": { - "description": "The maximum number of accounts to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "accounts", - "response": { - "$ref": "Accounts" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - }, - "resources": { - "adclients": { - "methods": { - "getAdCode": { - "description": "Get Auto ad code for a given ad client.", - "httpMethod": "GET", - "id": "adsense.accounts.adclients.getAdCode", - "parameterOrder": [ - "accountId", - "adClientId" - ], - "parameters": { - "accountId": { - "description": "Account which contains the ad client.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client to get the code for.", - "location": "path", - "required": true, - "type": "string" - }, - "tagPartner": { - "description": "Tag partner to include in the ad code snippet.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adcode", - "response": { - "$ref": "AdCode" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "list": { - "description": "List all ad clients in the specified account.", - "httpMethod": "GET", - "id": "adsense.accounts.adclients.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "Account for which to list ad clients.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of ad clients to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients", - "response": { - "$ref": "AdClients" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - }, - "adunits": { - "methods": { - "get": { - "description": "Gets the specified ad unit in the specified ad client for the specified account.", - "httpMethod": "GET", - "id": "adsense.accounts.adunits.get", - "parameterOrder": [ - "accountId", - "adClientId", - "adUnitId" - ], - "parameters": { - "accountId": { - "description": "Account to which the ad client belongs.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client for which to get the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adUnitId": { - "description": "Ad unit to retrieve.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}", - "response": { - "$ref": "AdUnit" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "getAdCode": { - "description": "Get ad code for the specified ad unit.", - "httpMethod": "GET", - "id": "adsense.accounts.adunits.getAdCode", - "parameterOrder": [ - "accountId", - "adClientId", - "adUnitId" - ], - "parameters": { - "accountId": { - "description": "Account which contains the ad client.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client with contains the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adUnitId": { - "description": "Ad unit to get the code for.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode", - "response": { - "$ref": "AdCode" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "list": { - "description": "List all ad units in the specified ad client for the specified account.", - "httpMethod": "GET", - "id": "adsense.accounts.adunits.list", - "parameterOrder": [ - "accountId", - "adClientId" - ], - "parameters": { - "accountId": { - "description": "Account to which the ad client belongs.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client for which to list ad units.", - "location": "path", - "required": true, - "type": "string" - }, - "includeInactive": { - "description": "Whether to include inactive ad units. Default: true.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "description": "The maximum number of ad units to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adunits", - "response": { - "$ref": "AdUnits" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - }, - "resources": { - "customchannels": { - "methods": { - "list": { - "description": "List all custom channels which the specified ad unit belongs to.", - "httpMethod": "GET", - "id": "adsense.accounts.adunits.customchannels.list", - "parameterOrder": [ - "accountId", - "adClientId", - "adUnitId" - ], - "parameters": { - "accountId": { - "description": "Account to which the ad client belongs.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client which contains the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adUnitId": { - "description": "Ad unit for which to list custom channels.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of custom channels to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels", - "response": { - "$ref": "CustomChannels" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - } - } - }, - "alerts": { - "methods": { - "delete": { - "description": "Dismiss (delete) the specified alert from the specified publisher AdSense account.", - "httpMethod": "DELETE", - "id": "adsense.accounts.alerts.delete", - "parameterOrder": [ - "accountId", - "alertId" - ], - "parameters": { - "accountId": { - "description": "Account which contains the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "alertId": { - "description": "Alert to delete.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/alerts/{alertId}", - "scopes": [ - "https://www.googleapis.com/auth/adsense" - ] - }, - "list": { - "description": "List the alerts for the specified AdSense account.", - "httpMethod": "GET", - "id": "adsense.accounts.alerts.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "Account for which to retrieve the alerts.", - "location": "path", - "required": true, - "type": "string" - }, - "locale": { - "description": "The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/alerts", - "response": { - "$ref": "Alerts" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - }, - "customchannels": { - "methods": { - "get": { - "description": "Get the specified custom channel from the specified ad client for the specified account.", - "httpMethod": "GET", - "id": "adsense.accounts.customchannels.get", - "parameterOrder": [ - "accountId", - "adClientId", - "customChannelId" - ], - "parameters": { - "accountId": { - "description": "Account to which the ad client belongs.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client which contains the custom channel.", - "location": "path", - "required": true, - "type": "string" - }, - "customChannelId": { - "description": "Custom channel to retrieve.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}", - "response": { - "$ref": "CustomChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "list": { - "description": "List all custom channels in the specified ad client for the specified account.", - "httpMethod": "GET", - "id": "adsense.accounts.customchannels.list", - "parameterOrder": [ - "accountId", - "adClientId" - ], - "parameters": { - "accountId": { - "description": "Account to which the ad client belongs.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client for which to list custom channels.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of custom channels to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/customchannels", - "response": { - "$ref": "CustomChannels" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - }, - "resources": { - "adunits": { - "methods": { - "list": { - "description": "List all ad units in the specified custom channel.", - "httpMethod": "GET", - "id": "adsense.accounts.customchannels.adunits.list", - "parameterOrder": [ - "accountId", - "adClientId", - "customChannelId" - ], - "parameters": { - "accountId": { - "description": "Account to which the ad client belongs.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client which contains the custom channel.", - "location": "path", - "required": true, - "type": "string" - }, - "customChannelId": { - "description": "Custom channel for which to list ad units.", - "location": "path", - "required": true, - "type": "string" - }, - "includeInactive": { - "description": "Whether to include inactive ad units. Default: true.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "description": "The maximum number of ad units to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits", - "response": { - "$ref": "AdUnits" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - } - } - }, - "payments": { - "methods": { - "list": { - "description": "List the payments for the specified AdSense account.", - "httpMethod": "GET", - "id": "adsense.accounts.payments.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "Account for which to retrieve the payments.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/payments", - "response": { - "$ref": "Payments" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - }, - "reports": { - "methods": { - "generate": { - "description": "Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.", - "httpMethod": "GET", - "id": "adsense.accounts.reports.generate", - "parameterOrder": [ - "accountId", - "startDate", - "endDate" - ], - "parameters": { - "accountId": { - "description": "Account upon which to report.", - "location": "path", - "required": true, - "type": "string" - }, - "currency": { - "description": "Optional currency to use when reporting on monetary metrics. Defaults to the account's currency if not set.", - "location": "query", - "pattern": "[a-zA-Z]+", - "type": "string" - }, - "dimension": { - "description": "Dimensions to base the report on.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "endDate": { - "description": "End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", - "location": "query", - "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)|(latest-(\\d{2})-(\\d{2})(-\\d+y)?)|(latest-latest-(\\d{2})(-\\d+m)?)", - "required": true, - "type": "string" - }, - "filter": { - "description": "Filters to be run on the report.", - "location": "query", - "pattern": "[a-zA-Z_]+(==|=@).+", - "repeated": true, - "type": "string" - }, - "locale": { - "description": "Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of rows of report data to return.", - "format": "int32", - "location": "query", - "maximum": "50000", - "minimum": "0", - "type": "integer" - }, - "metric": { - "description": "Numeric columns to include in the report.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "sort": { - "description": "The name of a dimension or metric to sort the resulting report on, optionally prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.", - "location": "query", - "pattern": "(\\+|-)?[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "startDate": { - "description": "Start of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", - "location": "query", - "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)|(latest-(\\d{2})-(\\d{2})(-\\d+y)?)|(latest-latest-(\\d{2})(-\\d+m)?)", - "required": true, - "type": "string" - }, - "startIndex": { - "description": "Index of the first row of report data to return.", - "format": "int32", - "location": "query", - "maximum": "5000", - "minimum": "0", - "type": "integer" - }, - "useTimezoneReporting": { - "description": "Whether the report should be generated in the AdSense account's local timezone. If false default PST/PDT timezone will be used.", - "location": "query", - "type": "boolean" - } - }, - "path": "accounts/{accountId}/reports", - "response": { - "$ref": "AdsenseReportsGenerateResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ], - "supportsMediaDownload": true - } - }, - "resources": { - "saved": { - "methods": { - "generate": { - "description": "Generate an AdSense report based on the saved report ID sent in the query parameters.", - "httpMethod": "GET", - "id": "adsense.accounts.reports.saved.generate", - "parameterOrder": [ - "accountId", - "savedReportId" - ], - "parameters": { - "accountId": { - "description": "Account to which the saved reports belong.", - "location": "path", - "required": true, - "type": "string" - }, - "locale": { - "description": "Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of rows of report data to return.", - "format": "int32", - "location": "query", - "maximum": "50000", - "minimum": "0", - "type": "integer" - }, - "savedReportId": { - "description": "The saved report to retrieve.", - "location": "path", - "required": true, - "type": "string" - }, - "startIndex": { - "description": "Index of the first row of report data to return.", - "format": "int32", - "location": "query", - "maximum": "5000", - "minimum": "0", - "type": "integer" - } - }, - "path": "accounts/{accountId}/reports/{savedReportId}", - "response": { - "$ref": "AdsenseReportsGenerateResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "list": { - "description": "List all saved reports in the specified AdSense account.", - "httpMethod": "GET", - "id": "adsense.accounts.reports.saved.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "Account to which the saved reports belong.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of saved reports to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "100", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through saved reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/reports/saved", - "response": { - "$ref": "SavedReports" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - } - } - }, - "savedadstyles": { - "methods": { - "get": { - "description": "List a specific saved ad style for the specified account.", - "httpMethod": "GET", - "id": "adsense.accounts.savedadstyles.get", - "parameterOrder": [ - "accountId", - "savedAdStyleId" - ], - "parameters": { - "accountId": { - "description": "Account for which to get the saved ad style.", - "location": "path", - "required": true, - "type": "string" - }, - "savedAdStyleId": { - "description": "Saved ad style to retrieve.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/savedadstyles/{savedAdStyleId}", - "response": { - "$ref": "SavedAdStyle" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "list": { - "description": "List all saved ad styles in the specified account.", - "httpMethod": "GET", - "id": "adsense.accounts.savedadstyles.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "Account for which to list saved ad styles.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of saved ad styles to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through saved ad styles. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/savedadstyles", - "response": { - "$ref": "SavedAdStyles" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - }, - "urlchannels": { - "methods": { - "list": { - "description": "List all URL channels in the specified ad client for the specified account.", - "httpMethod": "GET", - "id": "adsense.accounts.urlchannels.list", - "parameterOrder": [ - "accountId", - "adClientId" - ], - "parameters": { - "accountId": { - "description": "Account to which the ad client belongs.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client for which to list URL channels.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of URL channels to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/urlchannels", - "response": { - "$ref": "UrlChannels" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - } - } - }, - "adclients": { - "methods": { - "list": { - "description": "List all ad clients in this AdSense account.", - "httpMethod": "GET", - "id": "adsense.adclients.list", - "parameters": { - "maxResults": { - "description": "The maximum number of ad clients to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "adclients", - "response": { - "$ref": "AdClients" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - }, - "adunits": { - "methods": { - "get": { - "description": "Gets the specified ad unit in the specified ad client.", - "httpMethod": "GET", - "id": "adsense.adunits.get", - "parameterOrder": [ - "adClientId", - "adUnitId" - ], - "parameters": { - "adClientId": { - "description": "Ad client for which to get the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adUnitId": { - "description": "Ad unit to retrieve.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "adclients/{adClientId}/adunits/{adUnitId}", - "response": { - "$ref": "AdUnit" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "getAdCode": { - "description": "Get ad code for the specified ad unit.", - "httpMethod": "GET", - "id": "adsense.adunits.getAdCode", - "parameterOrder": [ - "adClientId", - "adUnitId" - ], - "parameters": { - "adClientId": { - "description": "Ad client with contains the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adUnitId": { - "description": "Ad unit to get the code for.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "adclients/{adClientId}/adunits/{adUnitId}/adcode", - "response": { - "$ref": "AdCode" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "list": { - "description": "List all ad units in the specified ad client for this AdSense account.", - "httpMethod": "GET", - "id": "adsense.adunits.list", - "parameterOrder": [ - "adClientId" - ], - "parameters": { - "adClientId": { - "description": "Ad client for which to list ad units.", - "location": "path", - "required": true, - "type": "string" - }, - "includeInactive": { - "description": "Whether to include inactive ad units. Default: true.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "description": "The maximum number of ad units to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "adclients/{adClientId}/adunits", - "response": { - "$ref": "AdUnits" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - }, - "resources": { - "customchannels": { - "methods": { - "list": { - "description": "List all custom channels which the specified ad unit belongs to.", - "httpMethod": "GET", - "id": "adsense.adunits.customchannels.list", - "parameterOrder": [ - "adClientId", - "adUnitId" - ], - "parameters": { - "adClientId": { - "description": "Ad client which contains the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adUnitId": { - "description": "Ad unit for which to list custom channels.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of custom channels to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "adclients/{adClientId}/adunits/{adUnitId}/customchannels", - "response": { - "$ref": "CustomChannels" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - } - } - }, - "alerts": { - "methods": { - "delete": { - "description": "Dismiss (delete) the specified alert from the publisher's AdSense account.", - "httpMethod": "DELETE", - "id": "adsense.alerts.delete", - "parameterOrder": [ - "alertId" - ], - "parameters": { - "alertId": { - "description": "Alert to delete.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "alerts/{alertId}", - "scopes": [ - "https://www.googleapis.com/auth/adsense" - ] - }, - "list": { - "description": "List the alerts for this AdSense account.", - "httpMethod": "GET", - "id": "adsense.alerts.list", - "parameters": { - "locale": { - "description": "The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.", - "location": "query", - "type": "string" - } - }, - "path": "alerts", - "response": { - "$ref": "Alerts" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - }, - "customchannels": { - "methods": { - "get": { - "description": "Get the specified custom channel from the specified ad client.", - "httpMethod": "GET", - "id": "adsense.customchannels.get", - "parameterOrder": [ - "adClientId", - "customChannelId" - ], - "parameters": { - "adClientId": { - "description": "Ad client which contains the custom channel.", - "location": "path", - "required": true, - "type": "string" - }, - "customChannelId": { - "description": "Custom channel to retrieve.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "adclients/{adClientId}/customchannels/{customChannelId}", - "response": { - "$ref": "CustomChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "list": { - "description": "List all custom channels in the specified ad client for this AdSense account.", - "httpMethod": "GET", - "id": "adsense.customchannels.list", - "parameterOrder": [ - "adClientId" - ], - "parameters": { - "adClientId": { - "description": "Ad client for which to list custom channels.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of custom channels to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "adclients/{adClientId}/customchannels", - "response": { - "$ref": "CustomChannels" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - }, - "resources": { - "adunits": { - "methods": { - "list": { - "description": "List all ad units in the specified custom channel.", - "httpMethod": "GET", - "id": "adsense.customchannels.adunits.list", - "parameterOrder": [ - "adClientId", - "customChannelId" - ], - "parameters": { - "adClientId": { - "description": "Ad client which contains the custom channel.", - "location": "path", - "required": true, - "type": "string" - }, - "customChannelId": { - "description": "Custom channel for which to list ad units.", - "location": "path", - "required": true, - "type": "string" - }, - "includeInactive": { - "description": "Whether to include inactive ad units. Default: true.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "description": "The maximum number of ad units to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "adclients/{adClientId}/customchannels/{customChannelId}/adunits", - "response": { - "$ref": "AdUnits" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - } - } - }, - "metadata": { - "resources": { - "dimensions": { - "methods": { - "list": { - "description": "List the metadata for the dimensions available to this AdSense account.", - "httpMethod": "GET", - "id": "adsense.metadata.dimensions.list", - "path": "metadata/dimensions", - "response": { - "$ref": "Metadata" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - }, - "metrics": { - "methods": { - "list": { - "description": "List the metadata for the metrics available to this AdSense account.", - "httpMethod": "GET", - "id": "adsense.metadata.metrics.list", - "path": "metadata/metrics", - "response": { - "$ref": "Metadata" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - } - } - }, - "payments": { - "methods": { - "list": { - "description": "List the payments for this AdSense account.", - "httpMethod": "GET", - "id": "adsense.payments.list", - "path": "payments", - "response": { - "$ref": "Payments" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - }, - "reports": { - "methods": { - "generate": { - "description": "Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.", - "httpMethod": "GET", - "id": "adsense.reports.generate", - "parameterOrder": [ - "startDate", - "endDate" - ], - "parameters": { - "accountId": { - "description": "Accounts upon which to report.", - "location": "query", - "repeated": true, - "type": "string" - }, - "currency": { - "description": "Optional currency to use when reporting on monetary metrics. Defaults to the account's currency if not set.", - "location": "query", - "pattern": "[a-zA-Z]+", - "type": "string" - }, - "dimension": { - "description": "Dimensions to base the report on.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "endDate": { - "description": "End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", - "location": "query", - "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)|(latest-(\\d{2})-(\\d{2})(-\\d+y)?)|(latest-latest-(\\d{2})(-\\d+m)?)", - "required": true, - "type": "string" - }, - "filter": { - "description": "Filters to be run on the report.", - "location": "query", - "pattern": "[a-zA-Z_]+(==|=@).+", - "repeated": true, - "type": "string" - }, - "locale": { - "description": "Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of rows of report data to return.", - "format": "int32", - "location": "query", - "maximum": "50000", - "minimum": "0", - "type": "integer" - }, - "metric": { - "description": "Numeric columns to include in the report.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "sort": { - "description": "The name of a dimension or metric to sort the resulting report on, optionally prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.", - "location": "query", - "pattern": "(\\+|-)?[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "startDate": { - "description": "Start of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", - "location": "query", - "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)|(latest-(\\d{2})-(\\d{2})(-\\d+y)?)|(latest-latest-(\\d{2})(-\\d+m)?)", - "required": true, - "type": "string" - }, - "startIndex": { - "description": "Index of the first row of report data to return.", - "format": "int32", - "location": "query", - "maximum": "5000", - "minimum": "0", - "type": "integer" - }, - "useTimezoneReporting": { - "description": "Whether the report should be generated in the AdSense account's local timezone. If false default PST/PDT timezone will be used.", - "location": "query", - "type": "boolean" - } - }, - "path": "reports", - "response": { - "$ref": "AdsenseReportsGenerateResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ], - "supportsMediaDownload": true - } - }, - "resources": { - "saved": { - "methods": { - "generate": { - "description": "Generate an AdSense report based on the saved report ID sent in the query parameters.", - "httpMethod": "GET", - "id": "adsense.reports.saved.generate", - "parameterOrder": [ - "savedReportId" - ], - "parameters": { - "locale": { - "description": "Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of rows of report data to return.", - "format": "int32", - "location": "query", - "maximum": "50000", - "minimum": "0", - "type": "integer" - }, - "savedReportId": { - "description": "The saved report to retrieve.", - "location": "path", - "required": true, - "type": "string" - }, - "startIndex": { - "description": "Index of the first row of report data to return.", - "format": "int32", - "location": "query", - "maximum": "5000", - "minimum": "0", - "type": "integer" - } - }, - "path": "reports/{savedReportId}", - "response": { - "$ref": "AdsenseReportsGenerateResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "list": { - "description": "List all saved reports in this AdSense account.", - "httpMethod": "GET", - "id": "adsense.reports.saved.list", - "parameters": { - "maxResults": { - "description": "The maximum number of saved reports to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "100", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through saved reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "reports/saved", - "response": { - "$ref": "SavedReports" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - } - } - }, - "savedadstyles": { - "methods": { - "get": { - "description": "Get a specific saved ad style from the user's account.", - "httpMethod": "GET", - "id": "adsense.savedadstyles.get", - "parameterOrder": [ - "savedAdStyleId" - ], - "parameters": { - "savedAdStyleId": { - "description": "Saved ad style to retrieve.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "savedadstyles/{savedAdStyleId}", - "response": { - "$ref": "SavedAdStyle" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - }, - "list": { - "description": "List all saved ad styles in the user's account.", - "httpMethod": "GET", - "id": "adsense.savedadstyles.list", - "parameters": { - "maxResults": { - "description": "The maximum number of saved ad styles to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through saved ad styles. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "savedadstyles", - "response": { - "$ref": "SavedAdStyles" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - }, - "urlchannels": { - "methods": { - "list": { - "description": "List all URL channels in the specified ad client for this AdSense account.", - "httpMethod": "GET", - "id": "adsense.urlchannels.list", - "parameterOrder": [ - "adClientId" - ], - "parameters": { - "adClientId": { - "description": "Ad client for which to list URL channels.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of URL channels to include in the response, used for paging.", - "format": "int32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "adclients/{adClientId}/urlchannels", - "response": { - "$ref": "UrlChannels" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsense", - "https://www.googleapis.com/auth/adsense.readonly" - ] - } - } - } - }, - "revision": "20201002", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "Account": { - "id": "Account", - "properties": { - "creation_time": { - "format": "int64", - "type": "string" - }, - "id": { - "description": "Unique identifier of this account.", - "type": "string" - }, - "kind": { - "default": "adsense#account", - "description": "Kind of resource this is, in this case adsense#account.", - "type": "string" - }, - "name": { - "description": "Name of this account.", - "type": "string" - }, - "premium": { - "description": "Whether this account is premium.", - "type": "boolean" - }, - "subAccounts": { - "description": "Sub accounts of the this account.", - "items": { - "$ref": "Account" - }, - "type": "array" - }, - "timezone": { - "description": "AdSense timezone of this account.", - "type": "string" - } - }, - "type": "object" - }, - "Accounts": { - "id": "Accounts", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The accounts returned in this list response.", - "items": { - "$ref": "Account" - }, - "type": "array" - }, - "kind": { - "default": "adsense#accounts", - "description": "Kind of list this is, in this case adsense#accounts.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through accounts. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "AdClient": { - "id": "AdClient", - "properties": { - "arcOptIn": { - "description": "Whether this ad client is opted in to ARC.", - "type": "boolean" - }, - "id": { - "description": "Unique identifier of this ad client.", - "type": "string" - }, - "kind": { - "default": "adsense#adClient", - "description": "Kind of resource this is, in this case adsense#adClient.", - "type": "string" - }, - "productCode": { - "description": "This ad client's product code, which corresponds to the PRODUCT_CODE report dimension.", - "type": "string" - }, - "supportsReporting": { - "description": "Whether this ad client supports being reported on.", - "type": "boolean" - } - }, - "type": "object" - }, - "AdClients": { - "id": "AdClients", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The ad clients returned in this list response.", - "items": { - "$ref": "AdClient" - }, - "type": "array" - }, - "kind": { - "default": "adsense#adClients", - "description": "Kind of list this is, in this case adsense#adClients.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through ad clients. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "AdCode": { - "id": "AdCode", - "properties": { - "adCode": { - "description": "The Auto ad code snippet. The ad code snippet.", - "type": "string" - }, - "ampBody": { - "description": "The AMP Auto ad code snippet that goes in the body of an AMP page.", - "type": "string" - }, - "ampHead": { - "description": "The AMP Auto ad code snippet that goes in the head of an AMP page.", - "type": "string" - }, - "kind": { - "default": "adsense#adCode", - "description": "Kind this is, in this case adsense#adCode.", - "type": "string" - } - }, - "type": "object" - }, - "AdStyle": { - "id": "AdStyle", - "properties": { - "colors": { - "description": "The colors which are included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.", - "properties": { - "background": { - "description": "The color of the ad background.", - "type": "string" - }, - "border": { - "description": "The color of the ad border.", - "type": "string" - }, - "text": { - "description": "The color of the ad text.", - "type": "string" - }, - "title": { - "description": "The color of the ad title.", - "type": "string" - }, - "url": { - "description": "The color of the ad url.", - "type": "string" - } - }, - "type": "object" - }, - "corners": { - "description": "The style of the corners in the ad (deprecated: never populated, ignored).", - "type": "string" - }, - "font": { - "description": "The font which is included in the style.", - "properties": { - "family": { - "description": "The family of the font.", - "type": "string" - }, - "size": { - "description": "The size of the font.", - "type": "string" - } - }, - "type": "object" - }, - "kind": { - "default": "adsense#adStyle", - "description": "Kind this is, in this case adsense#adStyle.", - "type": "string" - } - }, - "type": "object" - }, - "AdUnit": { - "id": "AdUnit", - "properties": { - "code": { - "description": "Identity code of this ad unit, not necessarily unique across ad clients.", - "type": "string" - }, - "contentAdsSettings": { - "description": "Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).", - "properties": { - "backupOption": { - "description": "The backup option to be used in instances where no ad is available.", - "properties": { - "color": { - "description": "Color to use when type is set to COLOR.", - "type": "string" - }, - "type": { - "description": "Type of the backup option. Possible values are BLANK, COLOR and URL.", - "type": "string" - }, - "url": { - "description": "URL to use when type is set to URL.", - "type": "string" - } - }, - "type": "object" - }, - "size": { - "description": "Size of this ad unit.", - "type": "string" - }, - "type": { - "description": "Type of this ad unit.", - "type": "string" - } - }, - "type": "object" - }, - "customStyle": { - "$ref": "AdStyle", - "description": "Custom style information specific to this ad unit." - }, - "feedAdsSettings": { - "description": "Settings specific to feed ads (AFF) - deprecated.", - "properties": { - "adPosition": { - "description": "The position of the ads relative to the feed entries.", - "type": "string" - }, - "frequency": { - "description": "The frequency at which ads should appear in the feed (i.e. every N entries).", - "format": "int32", - "type": "integer" - }, - "minimumWordCount": { - "description": "The minimum length an entry should be in order to have attached ads.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "The type of ads which should appear.", - "type": "string" - } - }, - "type": "object" - }, - "id": { - "description": "Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.", - "type": "string" - }, - "kind": { - "default": "adsense#adUnit", - "description": "Kind of resource this is, in this case adsense#adUnit.", - "type": "string" - }, - "mobileContentAdsSettings": { - "description": "Settings specific to WAP mobile content ads (AFMC) - deprecated.", - "properties": { - "markupLanguage": { - "description": "The markup language to use for this ad unit.", - "type": "string" - }, - "scriptingLanguage": { - "description": "The scripting language to use for this ad unit.", - "type": "string" - }, - "size": { - "description": "Size of this ad unit.", - "type": "string" - }, - "type": { - "description": "Type of this ad unit.", - "type": "string" - } - }, - "type": "object" - }, - "name": { - "description": "Name of this ad unit.", - "type": "string" - }, - "savedStyleId": { - "description": "ID of the saved ad style which holds this ad unit's style information.", - "type": "string" - }, - "status": { - "description": "Status of this ad unit. Possible values are:\nNEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it.\n\nACTIVE: Indicates that there has been activity on this ad unit in the last seven days.\n\nINACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.", - "type": "string" - } - }, - "type": "object" - }, - "AdUnits": { - "id": "AdUnits", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The ad units returned in this list response.", - "items": { - "$ref": "AdUnit" - }, - "type": "array" - }, - "kind": { - "default": "adsense#adUnits", - "description": "Kind of list this is, in this case adsense#adUnits.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through ad units. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "AdsenseReportsGenerateResponse": { - "id": "AdsenseReportsGenerateResponse", - "properties": { - "averages": { - "description": "The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.", - "items": { - "type": "string" - }, - "type": "array" - }, - "endDate": { - "description": "The requested end date in yyyy-mm-dd format.", - "type": "string" - }, - "headers": { - "description": "The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for each metric in the request.", - "items": { - "properties": { - "currency": { - "description": "The currency of this column. Only present if the header type is METRIC_CURRENCY.", - "type": "string" - }, - "name": { - "description": "The name of the header.", - "type": "string" - }, - "type": { - "description": "The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "kind": { - "default": "adsense#report", - "description": "Kind this is, in this case adsense#report.", - "type": "string" - }, - "rows": { - "description": "The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The dimension cells contain strings, and the metric cells contain numbers.", - "items": { - "items": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "startDate": { - "description": "The requested start date in yyyy-mm-dd format.", - "type": "string" - }, - "totalMatchedRows": { - "description": "The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or the report row limit.", - "format": "int64", - "type": "string" - }, - "totals": { - "description": "The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.", - "items": { - "type": "string" - }, - "type": "array" - }, - "warnings": { - "description": "Any warnings associated with generation of the report.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Alert": { - "id": "Alert", - "properties": { - "id": { - "description": "Unique identifier of this alert. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.", - "type": "string" - }, - "isDismissible": { - "description": "Whether this alert can be dismissed.", - "type": "boolean" - }, - "kind": { - "default": "adsense#alert", - "description": "Kind of resource this is, in this case adsense#alert.", - "type": "string" - }, - "message": { - "description": "The localized alert message.", - "type": "string" - }, - "severity": { - "description": "Severity of this alert. Possible values: INFO, WARNING, SEVERE.", - "type": "string" - }, - "type": { - "description": "Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3, ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY, GRAYLISTED_PUBLISHER, API_HOLD.", - "type": "string" - } - }, - "type": "object" - }, - "Alerts": { - "id": "Alerts", - "properties": { - "items": { - "description": "The alerts returned in this list response.", - "items": { - "$ref": "Alert" - }, - "type": "array" - }, - "kind": { - "default": "adsense#alerts", - "description": "Kind of list this is, in this case adsense#alerts.", - "type": "string" - } - }, - "type": "object" - }, - "CustomChannel": { - "id": "CustomChannel", - "properties": { - "code": { - "description": "Code of this custom channel, not necessarily unique across ad clients.", - "type": "string" - }, - "id": { - "description": "Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.", - "type": "string" - }, - "kind": { - "default": "adsense#customChannel", - "description": "Kind of resource this is, in this case adsense#customChannel.", - "type": "string" - }, - "name": { - "description": "Name of this custom channel.", - "type": "string" - }, - "targetingInfo": { - "description": "The targeting information of this custom channel, if activated.", - "properties": { - "adsAppearOn": { - "description": "The name used to describe this channel externally.", - "type": "string" - }, - "description": { - "description": "The external description of the channel.", - "type": "string" - }, - "location": { - "description": "The locations in which ads appear. (Only valid for content and mobile content ads (deprecated)). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for mobile content ads (deprecated) are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS.", - "type": "string" - }, - "siteLanguage": { - "description": "The language of the sites ads will be displayed on.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "CustomChannels": { - "id": "CustomChannels", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The custom channels returned in this list response.", - "items": { - "$ref": "CustomChannel" - }, - "type": "array" - }, - "kind": { - "default": "adsense#customChannels", - "description": "Kind of list this is, in this case adsense#customChannels.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through custom channels. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "Metadata": { - "id": "Metadata", - "properties": { - "items": { - "items": { - "$ref": "ReportingMetadataEntry" - }, - "type": "array" - }, - "kind": { - "default": "adsense#metadata", - "description": "Kind of list this is, in this case adsense#metadata.", - "type": "string" - } - }, - "type": "object" - }, - "Payment": { - "id": "Payment", - "properties": { - "id": { - "description": "Unique identifier of this Payment.", - "type": "string" - }, - "kind": { - "default": "adsense#payment", - "description": "Kind of resource this is, in this case adsense#payment.", - "type": "string" - }, - "paymentAmount": { - "description": "The amount to be paid.", - "type": "string" - }, - "paymentAmountCurrencyCode": { - "description": "The currency code for the amount to be paid.", - "type": "string" - }, - "paymentDate": { - "description": "The date this payment was/will be credited to the user, or none if the payment threshold has not been met.", - "type": "string" - } - }, - "type": "object" - }, - "Payments": { - "id": "Payments", - "properties": { - "items": { - "description": "The list of Payments for the account. One or both of a) the account's most recent payment; and b) the account's upcoming payment.", - "items": { - "$ref": "Payment" - }, - "type": "array" - }, - "kind": { - "default": "adsense#payments", - "description": "Kind of list this is, in this case adsense#payments.", - "type": "string" - } - }, - "type": "object" - }, - "ReportingMetadataEntry": { - "id": "ReportingMetadataEntry", - "properties": { - "compatibleDimensions": { - "description": "For metrics this is a list of dimension IDs which the metric is compatible with, for dimensions it is a list of compatibility groups the dimension belongs to.", - "items": { - "type": "string" - }, - "type": "array" - }, - "compatibleMetrics": { - "description": "The names of the metrics the dimension or metric this reporting metadata entry describes is compatible with.", - "items": { - "type": "string" - }, - "type": "array" - }, - "id": { - "description": "Unique identifier of this reporting metadata entry, corresponding to the name of the appropriate dimension or metric.", - "type": "string" - }, - "kind": { - "default": "adsense#reportingMetadataEntry", - "description": "Kind of resource this is, in this case adsense#reportingMetadataEntry.", - "type": "string" - }, - "requiredDimensions": { - "description": "The names of the dimensions which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredMetrics": { - "description": "The names of the metrics which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted.", - "items": { - "type": "string" - }, - "type": "array" - }, - "supportedProducts": { - "description": "The codes of the projects supported by the dimension or metric this reporting metadata entry describes.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "SavedAdStyle": { - "id": "SavedAdStyle", - "properties": { - "adStyle": { - "$ref": "AdStyle", - "description": "The AdStyle itself." - }, - "id": { - "description": "Unique identifier of this saved ad style. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.", - "type": "string" - }, - "kind": { - "default": "adsense#savedAdStyle", - "description": "Kind of resource this is, in this case adsense#savedAdStyle.", - "type": "string" - }, - "name": { - "description": "The user selected name of this SavedAdStyle.", - "type": "string" - } - }, - "type": "object" - }, - "SavedAdStyles": { - "id": "SavedAdStyles", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The saved ad styles returned in this list response.", - "items": { - "$ref": "SavedAdStyle" - }, - "type": "array" - }, - "kind": { - "default": "adsense#savedAdStyles", - "description": "Kind of list this is, in this case adsense#savedAdStyles.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through ad units. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "SavedReport": { - "id": "SavedReport", - "properties": { - "id": { - "description": "Unique identifier of this saved report.", - "type": "string" - }, - "kind": { - "default": "adsense#savedReport", - "description": "Kind of resource this is, in this case adsense#savedReport.", - "type": "string" - }, - "name": { - "description": "This saved report's name.", - "type": "string" - } - }, - "type": "object" - }, - "SavedReports": { - "id": "SavedReports", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The saved reports returned in this list response.", - "items": { - "$ref": "SavedReport" - }, - "type": "array" - }, - "kind": { - "default": "adsense#savedReports", - "description": "Kind of list this is, in this case adsense#savedReports.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through saved reports. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "UrlChannel": { - "id": "UrlChannel", - "properties": { - "id": { - "description": "Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.", - "type": "string" - }, - "kind": { - "default": "adsense#urlChannel", - "description": "Kind of resource this is, in this case adsense#urlChannel.", - "type": "string" - }, - "urlPattern": { - "description": "URL Pattern of this URL channel. Does not include \"http://\" or \"https://\". Example: www.example.com/home", - "type": "string" - } - }, - "type": "object" - }, - "UrlChannels": { - "id": "UrlChannels", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The URL channels returned in this list response.", - "items": { - "$ref": "UrlChannel" - }, - "type": "array" - }, - "kind": { - "default": "adsense#urlChannels", - "description": "Kind of list this is, in this case adsense#urlChannels.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "adsense/v1.4/", - "title": "AdSense Management API", - "version": "v1.4" -} \ No newline at end of file diff --git a/discovery/adsense-v2.json b/discovery/adsense-v2.json index 076886dabf4..ea8cee21211 100644 --- a/discovery/adsense-v2.json +++ b/discovery/adsense-v2.json @@ -2018,7 +2018,7 @@ } } }, - "revision": "20250320", + "revision": "20250506", "rootUrl": "https://adsense.googleapis.com/", "schemas": { "Account": { @@ -2755,7 +2755,7 @@ "properties": { "mustFix": { "deprecated": true, - "description": "Required. Deprecated. Policy topics no longer have a \"must-fix\" classification.", + "description": "Required. Deprecated. Always set to false.", "type": "boolean" }, "topic": { diff --git a/discovery/adsensehost-v4.1.json b/discovery/adsensehost-v4.1.json deleted file mode 100644 index 4abb5fdabee..00000000000 --- a/discovery/adsensehost-v4.1.json +++ /dev/null @@ -1,1573 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/adsensehost": { - "description": "View and manage your AdSense host data and associated accounts" - } - } - } - }, - "basePath": "/adsensehost/v4.1/", - "baseUrl": "https://www.googleapis.com/adsensehost/v4.1/", - "batchPath": "batch/adsensehost/v4.1", - "canonicalName": "AdSense Host", - "description": "Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/adsense/host/", - "icons": { - "x16": "https://www.google.com/images/icons/product/adsense-16.png", - "x32": "https://www.google.com/images/icons/product/adsense-32.png" - }, - "id": "adsensehost:v4.1", - "kind": "discovery#restDescription", - "labels": [ - "limited_availability" - ], - "name": "adsensehost", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "csv", - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of text/csv", - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "accounts": { - "methods": { - "get": { - "description": "Get information about the selected associated AdSense account.", - "httpMethod": "GET", - "id": "adsensehost.accounts.get", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "Account to get information about.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}", - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "list": { - "description": "List hosted accounts associated with this AdSense account by ad client id.", - "httpMethod": "GET", - "id": "adsensehost.accounts.list", - "parameterOrder": [ - "filterAdClientId" - ], - "parameters": { - "filterAdClientId": { - "description": "Ad clients to list accounts for.", - "location": "query", - "repeated": true, - "required": true, - "type": "string" - } - }, - "path": "accounts", - "response": { - "$ref": "Accounts" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - } - }, - "resources": { - "adclients": { - "methods": { - "get": { - "description": "Get information about one of the ad clients in the specified publisher's AdSense account.", - "httpMethod": "GET", - "id": "adsensehost.accounts.adclients.get", - "parameterOrder": [ - "accountId", - "adClientId" - ], - "parameters": { - "accountId": { - "description": "Account which contains the ad client.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client to get.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}", - "response": { - "$ref": "AdClient" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "list": { - "description": "List all hosted ad clients in the specified hosted account.", - "httpMethod": "GET", - "id": "adsensehost.accounts.adclients.list", - "parameterOrder": [ - "accountId" - ], - "parameters": { - "accountId": { - "description": "Account for which to list ad clients.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of ad clients to include in the response, used for paging.", - "format": "uint32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients", - "response": { - "$ref": "AdClients" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - } - } - }, - "adunits": { - "methods": { - "delete": { - "description": "Delete the specified ad unit from the specified publisher AdSense account.", - "httpMethod": "DELETE", - "id": "adsensehost.accounts.adunits.delete", - "parameterOrder": [ - "accountId", - "adClientId", - "adUnitId" - ], - "parameters": { - "accountId": { - "description": "Account which contains the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client for which to get ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adUnitId": { - "description": "Ad unit to delete.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}", - "response": { - "$ref": "AdUnit" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "get": { - "description": "Get the specified host ad unit in this AdSense account.", - "httpMethod": "GET", - "id": "adsensehost.accounts.adunits.get", - "parameterOrder": [ - "accountId", - "adClientId", - "adUnitId" - ], - "parameters": { - "accountId": { - "description": "Account which contains the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client for which to get ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adUnitId": { - "description": "Ad unit to get.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}", - "response": { - "$ref": "AdUnit" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "getAdCode": { - "description": "Get ad code for the specified ad unit, attaching the specified host custom channels.", - "httpMethod": "GET", - "id": "adsensehost.accounts.adunits.getAdCode", - "parameterOrder": [ - "accountId", - "adClientId", - "adUnitId" - ], - "parameters": { - "accountId": { - "description": "Account which contains the ad client.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client with contains the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adUnitId": { - "description": "Ad unit to get the code for.", - "location": "path", - "required": true, - "type": "string" - }, - "hostCustomChannelId": { - "description": "Host custom channel to attach to the ad code.", - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode", - "response": { - "$ref": "AdCode" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "insert": { - "description": "Insert the supplied ad unit into the specified publisher AdSense account.", - "httpMethod": "POST", - "id": "adsensehost.accounts.adunits.insert", - "parameterOrder": [ - "accountId", - "adClientId" - ], - "parameters": { - "accountId": { - "description": "Account which will contain the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client into which to insert the ad unit.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adunits", - "request": { - "$ref": "AdUnit" - }, - "response": { - "$ref": "AdUnit" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "list": { - "description": "List all ad units in the specified publisher's AdSense account.", - "httpMethod": "GET", - "id": "adsensehost.accounts.adunits.list", - "parameterOrder": [ - "accountId", - "adClientId" - ], - "parameters": { - "accountId": { - "description": "Account which contains the ad client.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client for which to list ad units.", - "location": "path", - "required": true, - "type": "string" - }, - "includeInactive": { - "description": "Whether to include inactive ad units. Default: true.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "description": "The maximum number of ad units to include in the response, used for paging.", - "format": "uint32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adunits", - "response": { - "$ref": "AdUnits" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "patch": { - "description": "Update the supplied ad unit in the specified publisher AdSense account. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adsensehost.accounts.adunits.patch", - "parameterOrder": [ - "accountId", - "adClientId", - "adUnitId" - ], - "parameters": { - "accountId": { - "description": "Account which contains the ad client.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client which contains the ad unit.", - "location": "path", - "required": true, - "type": "string" - }, - "adUnitId": { - "description": "Ad unit to get.", - "location": "query", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adunits", - "request": { - "$ref": "AdUnit" - }, - "response": { - "$ref": "AdUnit" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "update": { - "description": "Update the supplied ad unit in the specified publisher AdSense account.", - "httpMethod": "PUT", - "id": "adsensehost.accounts.adunits.update", - "parameterOrder": [ - "accountId", - "adClientId" - ], - "parameters": { - "accountId": { - "description": "Account which contains the ad client.", - "location": "path", - "required": true, - "type": "string" - }, - "adClientId": { - "description": "Ad client which contains the ad unit.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "accounts/{accountId}/adclients/{adClientId}/adunits", - "request": { - "$ref": "AdUnit" - }, - "response": { - "$ref": "AdUnit" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - } - } - }, - "reports": { - "methods": { - "generate": { - "description": "Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.", - "httpMethod": "GET", - "id": "adsensehost.accounts.reports.generate", - "parameterOrder": [ - "accountId", - "startDate", - "endDate" - ], - "parameters": { - "accountId": { - "description": "Hosted account upon which to report.", - "location": "path", - "required": true, - "type": "string" - }, - "dimension": { - "description": "Dimensions to base the report on.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "endDate": { - "description": "End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", - "location": "query", - "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)", - "required": true, - "type": "string" - }, - "filter": { - "description": "Filters to be run on the report.", - "location": "query", - "pattern": "[a-zA-Z_]+(==|=@).+", - "repeated": true, - "type": "string" - }, - "locale": { - "description": "Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of rows of report data to return.", - "format": "uint32", - "location": "query", - "maximum": "50000", - "minimum": "0", - "type": "integer" - }, - "metric": { - "description": "Numeric columns to include in the report.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "sort": { - "description": "The name of a dimension or metric to sort the resulting report on, optionally prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.", - "location": "query", - "pattern": "(\\+|-)?[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "startDate": { - "description": "Start of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", - "location": "query", - "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)", - "required": true, - "type": "string" - }, - "startIndex": { - "description": "Index of the first row of report data to return.", - "format": "uint32", - "location": "query", - "maximum": "5000", - "minimum": "0", - "type": "integer" - } - }, - "path": "accounts/{accountId}/reports", - "response": { - "$ref": "Report" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - } - } - } - } - }, - "adclients": { - "methods": { - "get": { - "description": "Get information about one of the ad clients in the Host AdSense account.", - "httpMethod": "GET", - "id": "adsensehost.adclients.get", - "parameterOrder": [ - "adClientId" - ], - "parameters": { - "adClientId": { - "description": "Ad client to get.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "adclients/{adClientId}", - "response": { - "$ref": "AdClient" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "list": { - "description": "List all host ad clients in this AdSense account.", - "httpMethod": "GET", - "id": "adsensehost.adclients.list", - "parameters": { - "maxResults": { - "description": "The maximum number of ad clients to include in the response, used for paging.", - "format": "uint32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "adclients", - "response": { - "$ref": "AdClients" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - } - } - }, - "associationsessions": { - "methods": { - "start": { - "description": "Create an association session for initiating an association with an AdSense user.", - "httpMethod": "GET", - "id": "adsensehost.associationsessions.start", - "parameterOrder": [ - "productCode", - "websiteUrl" - ], - "parameters": { - "callbackUrl": { - "description": "The URL to redirect the user to once association is completed. It receives a token parameter that can then be used to retrieve the associated account.", - "location": "query", - "type": "string" - }, - "productCode": { - "description": "Products to associate with the user.", - "enum": [ - "AFC", - "AFG", - "AFMC", - "AFS", - "AFV" - ], - "enumDescriptions": [ - "AdSense For Content", - "AdSense For Games", - "AdSense For Mobile Content - deprecated", - "AdSense For Search - deprecated", - "AdSense For Video" - ], - "location": "query", - "repeated": true, - "required": true, - "type": "string" - }, - "userLocale": { - "description": "The preferred locale of the user.", - "location": "query", - "type": "string" - }, - "websiteLocale": { - "description": "The locale of the user's hosted website.", - "location": "query", - "type": "string" - }, - "websiteUrl": { - "description": "The URL of the user's hosted website.", - "location": "query", - "required": true, - "type": "string" - } - }, - "path": "associationsessions/start", - "response": { - "$ref": "AssociationSession" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "verify": { - "description": "Verify an association session after the association callback returns from AdSense signup.", - "httpMethod": "GET", - "id": "adsensehost.associationsessions.verify", - "parameterOrder": [ - "token" - ], - "parameters": { - "token": { - "description": "The token returned to the association callback URL.", - "location": "query", - "required": true, - "type": "string" - } - }, - "path": "associationsessions/verify", - "response": { - "$ref": "AssociationSession" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - } - } - }, - "customchannels": { - "methods": { - "delete": { - "description": "Delete a specific custom channel from the host AdSense account.", - "httpMethod": "DELETE", - "id": "adsensehost.customchannels.delete", - "parameterOrder": [ - "adClientId", - "customChannelId" - ], - "parameters": { - "adClientId": { - "description": "Ad client from which to delete the custom channel.", - "location": "path", - "required": true, - "type": "string" - }, - "customChannelId": { - "description": "Custom channel to delete.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "adclients/{adClientId}/customchannels/{customChannelId}", - "response": { - "$ref": "CustomChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "get": { - "description": "Get a specific custom channel from the host AdSense account.", - "httpMethod": "GET", - "id": "adsensehost.customchannels.get", - "parameterOrder": [ - "adClientId", - "customChannelId" - ], - "parameters": { - "adClientId": { - "description": "Ad client from which to get the custom channel.", - "location": "path", - "required": true, - "type": "string" - }, - "customChannelId": { - "description": "Custom channel to get.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "adclients/{adClientId}/customchannels/{customChannelId}", - "response": { - "$ref": "CustomChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "insert": { - "description": "Add a new custom channel to the host AdSense account.", - "httpMethod": "POST", - "id": "adsensehost.customchannels.insert", - "parameterOrder": [ - "adClientId" - ], - "parameters": { - "adClientId": { - "description": "Ad client to which the new custom channel will be added.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "adclients/{adClientId}/customchannels", - "request": { - "$ref": "CustomChannel" - }, - "response": { - "$ref": "CustomChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "list": { - "description": "List all host custom channels in this AdSense account.", - "httpMethod": "GET", - "id": "adsensehost.customchannels.list", - "parameterOrder": [ - "adClientId" - ], - "parameters": { - "adClientId": { - "description": "Ad client for which to list custom channels.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of custom channels to include in the response, used for paging.", - "format": "uint32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "adclients/{adClientId}/customchannels", - "response": { - "$ref": "CustomChannels" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "patch": { - "description": "Update a custom channel in the host AdSense account. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "adsensehost.customchannels.patch", - "parameterOrder": [ - "adClientId", - "customChannelId" - ], - "parameters": { - "adClientId": { - "description": "Ad client in which the custom channel will be updated.", - "location": "path", - "required": true, - "type": "string" - }, - "customChannelId": { - "description": "Custom channel to get.", - "location": "query", - "required": true, - "type": "string" - } - }, - "path": "adclients/{adClientId}/customchannels", - "request": { - "$ref": "CustomChannel" - }, - "response": { - "$ref": "CustomChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "update": { - "description": "Update a custom channel in the host AdSense account.", - "httpMethod": "PUT", - "id": "adsensehost.customchannels.update", - "parameterOrder": [ - "adClientId" - ], - "parameters": { - "adClientId": { - "description": "Ad client in which the custom channel will be updated.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "adclients/{adClientId}/customchannels", - "request": { - "$ref": "CustomChannel" - }, - "response": { - "$ref": "CustomChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - } - } - }, - "reports": { - "methods": { - "generate": { - "description": "Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.", - "httpMethod": "GET", - "id": "adsensehost.reports.generate", - "parameterOrder": [ - "startDate", - "endDate" - ], - "parameters": { - "dimension": { - "description": "Dimensions to base the report on.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "endDate": { - "description": "End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", - "location": "query", - "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)", - "required": true, - "type": "string" - }, - "filter": { - "description": "Filters to be run on the report.", - "location": "query", - "pattern": "[a-zA-Z_]+(==|=@).+", - "repeated": true, - "type": "string" - }, - "locale": { - "description": "Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of rows of report data to return.", - "format": "uint32", - "location": "query", - "maximum": "50000", - "minimum": "0", - "type": "integer" - }, - "metric": { - "description": "Numeric columns to include in the report.", - "location": "query", - "pattern": "[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "sort": { - "description": "The name of a dimension or metric to sort the resulting report on, optionally prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.", - "location": "query", - "pattern": "(\\+|-)?[a-zA-Z_]+", - "repeated": true, - "type": "string" - }, - "startDate": { - "description": "Start of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", - "location": "query", - "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)", - "required": true, - "type": "string" - }, - "startIndex": { - "description": "Index of the first row of report data to return.", - "format": "uint32", - "location": "query", - "maximum": "5000", - "minimum": "0", - "type": "integer" - } - }, - "path": "reports", - "response": { - "$ref": "Report" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - } - } - }, - "urlchannels": { - "methods": { - "delete": { - "description": "Delete a URL channel from the host AdSense account.", - "httpMethod": "DELETE", - "id": "adsensehost.urlchannels.delete", - "parameterOrder": [ - "adClientId", - "urlChannelId" - ], - "parameters": { - "adClientId": { - "description": "Ad client from which to delete the URL channel.", - "location": "path", - "required": true, - "type": "string" - }, - "urlChannelId": { - "description": "URL channel to delete.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "adclients/{adClientId}/urlchannels/{urlChannelId}", - "response": { - "$ref": "UrlChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "insert": { - "description": "Add a new URL channel to the host AdSense account.", - "httpMethod": "POST", - "id": "adsensehost.urlchannels.insert", - "parameterOrder": [ - "adClientId" - ], - "parameters": { - "adClientId": { - "description": "Ad client to which the new URL channel will be added.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "adclients/{adClientId}/urlchannels", - "request": { - "$ref": "UrlChannel" - }, - "response": { - "$ref": "UrlChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - }, - "list": { - "description": "List all host URL channels in the host AdSense account.", - "httpMethod": "GET", - "id": "adsensehost.urlchannels.list", - "parameterOrder": [ - "adClientId" - ], - "parameters": { - "adClientId": { - "description": "Ad client for which to list URL channels.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of URL channels to include in the response, used for paging.", - "format": "uint32", - "location": "query", - "maximum": "10000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "adclients/{adClientId}/urlchannels", - "response": { - "$ref": "UrlChannels" - }, - "scopes": [ - "https://www.googleapis.com/auth/adsensehost" - ] - } - } - } - }, - "revision": "20200513", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "Account": { - "id": "Account", - "properties": { - "id": { - "description": "Unique identifier of this account.", - "type": "string" - }, - "kind": { - "default": "adsensehost#account", - "description": "Kind of resource this is, in this case adsensehost#account.", - "type": "string" - }, - "name": { - "description": "Name of this account.", - "type": "string" - }, - "status": { - "description": "Approval status of this account. One of: PENDING, APPROVED, DISABLED.", - "type": "string" - } - }, - "type": "object" - }, - "Accounts": { - "id": "Accounts", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The accounts returned in this list response.", - "items": { - "$ref": "Account" - }, - "type": "array" - }, - "kind": { - "default": "adsensehost#accounts", - "description": "Kind of list this is, in this case adsensehost#accounts.", - "type": "string" - } - }, - "type": "object" - }, - "AdClient": { - "id": "AdClient", - "properties": { - "arcOptIn": { - "description": "Whether this ad client is opted in to ARC.", - "type": "boolean" - }, - "id": { - "description": "Unique identifier of this ad client.", - "type": "string" - }, - "kind": { - "default": "adsensehost#adClient", - "description": "Kind of resource this is, in this case adsensehost#adClient.", - "type": "string" - }, - "productCode": { - "description": "This ad client's product code, which corresponds to the PRODUCT_CODE report dimension.", - "type": "string" - }, - "supportsReporting": { - "description": "Whether this ad client supports being reported on.", - "type": "boolean" - } - }, - "type": "object" - }, - "AdClients": { - "id": "AdClients", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The ad clients returned in this list response.", - "items": { - "$ref": "AdClient" - }, - "type": "array" - }, - "kind": { - "default": "adsensehost#adClients", - "description": "Kind of list this is, in this case adsensehost#adClients.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through ad clients. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "AdCode": { - "id": "AdCode", - "properties": { - "adCode": { - "description": "The ad code snippet.", - "type": "string" - }, - "kind": { - "default": "adsensehost#adCode", - "description": "Kind this is, in this case adsensehost#adCode.", - "type": "string" - } - }, - "type": "object" - }, - "AdStyle": { - "id": "AdStyle", - "properties": { - "colors": { - "description": "The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.", - "properties": { - "background": { - "description": "The color of the ad background.", - "type": "string" - }, - "border": { - "description": "The color of the ad border.", - "type": "string" - }, - "text": { - "description": "The color of the ad text.", - "type": "string" - }, - "title": { - "description": "The color of the ad title.", - "type": "string" - }, - "url": { - "description": "The color of the ad url.", - "type": "string" - } - }, - "type": "object" - }, - "corners": { - "description": "The style of the corners in the ad (deprecated: never populated, ignored).", - "type": "string" - }, - "font": { - "description": "The font which is included in the style.", - "properties": { - "family": { - "description": "The family of the font. Possible values are: ACCOUNT_DEFAULT_FAMILY, ADSENSE_DEFAULT_FAMILY, ARIAL, TIMES and VERDANA.", - "type": "string" - }, - "size": { - "description": "The size of the font. Possible values are: ACCOUNT_DEFAULT_SIZE, ADSENSE_DEFAULT_SIZE, SMALL, MEDIUM and LARGE.", - "type": "string" - } - }, - "type": "object" - }, - "kind": { - "default": "adsensehost#adStyle", - "description": "Kind this is, in this case adsensehost#adStyle.", - "type": "string" - } - }, - "type": "object" - }, - "AdUnit": { - "id": "AdUnit", - "properties": { - "code": { - "description": "Identity code of this ad unit, not necessarily unique across ad clients.", - "type": "string" - }, - "contentAdsSettings": { - "description": "Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).", - "properties": { - "backupOption": { - "description": "The backup option to be used in instances where no ad is available.", - "properties": { - "color": { - "description": "Color to use when type is set to COLOR. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.", - "type": "string" - }, - "type": { - "description": "Type of the backup option. Possible values are BLANK, COLOR and URL.", - "type": "string" - }, - "url": { - "description": "URL to use when type is set to URL.", - "type": "string" - } - }, - "type": "object" - }, - "size": { - "description": "Size of this ad unit. Size values are in the form SIZE_{width}_{height}.", - "type": "string" - }, - "type": { - "description": "Type of this ad unit. Possible values are TEXT, TEXT_IMAGE, IMAGE and LINK.", - "type": "string" - } - }, - "type": "object" - }, - "customStyle": { - "$ref": "AdStyle", - "description": "Custom style information specific to this ad unit." - }, - "id": { - "description": "Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.", - "type": "string" - }, - "kind": { - "default": "adsensehost#adUnit", - "description": "Kind of resource this is, in this case adsensehost#adUnit.", - "type": "string" - }, - "mobileContentAdsSettings": { - "description": "Settings specific to WAP mobile content ads (AFMC - deprecated).", - "properties": { - "markupLanguage": { - "description": "The markup language to use for this ad unit.", - "type": "string" - }, - "scriptingLanguage": { - "description": "The scripting language to use for this ad unit.", - "type": "string" - }, - "size": { - "description": "Size of this ad unit.", - "type": "string" - }, - "type": { - "description": "Type of this ad unit.", - "type": "string" - } - }, - "type": "object" - }, - "name": { - "description": "Name of this ad unit.", - "type": "string" - }, - "status": { - "description": "Status of this ad unit. Possible values are:\nNEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it.\n\nACTIVE: Indicates that there has been activity on this ad unit in the last seven days.\n\nINACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.", - "type": "string" - } - }, - "type": "object" - }, - "AdUnits": { - "id": "AdUnits", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The ad units returned in this list response.", - "items": { - "$ref": "AdUnit" - }, - "type": "array" - }, - "kind": { - "default": "adsensehost#adUnits", - "description": "Kind of list this is, in this case adsensehost#adUnits.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through ad units. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "AssociationSession": { - "id": "AssociationSession", - "properties": { - "accountId": { - "description": "Hosted account id of the associated publisher after association. Present if status is ACCEPTED.", - "type": "string" - }, - "id": { - "description": "Unique identifier of this association session.", - "type": "string" - }, - "kind": { - "default": "adsensehost#associationSession", - "description": "Kind of resource this is, in this case adsensehost#associationSession.", - "type": "string" - }, - "productCodes": { - "description": "The products to associate with the user. Options: AFC, AFG, AFV, AFS (deprecated), AFMC (deprecated)", - "items": { - "type": "string" - }, - "type": "array" - }, - "redirectUrl": { - "description": "Redirect URL of this association session. Used to redirect users into the AdSense association flow.", - "type": "string" - }, - "status": { - "description": "Status of the completed association, available once the association callback token has been verified. One of ACCEPTED, REJECTED, or ERROR.", - "type": "string" - }, - "userLocale": { - "description": "The preferred locale of the user themselves when going through the AdSense association flow.", - "type": "string" - }, - "websiteLocale": { - "description": "The locale of the user's hosted website.", - "type": "string" - }, - "websiteUrl": { - "description": "The URL of the user's hosted website.", - "type": "string" - } - }, - "type": "object" - }, - "CustomChannel": { - "id": "CustomChannel", - "properties": { - "code": { - "description": "Code of this custom channel, not necessarily unique across ad clients.", - "type": "string" - }, - "id": { - "description": "Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.", - "type": "string" - }, - "kind": { - "default": "adsensehost#customChannel", - "description": "Kind of resource this is, in this case adsensehost#customChannel.", - "type": "string" - }, - "name": { - "description": "Name of this custom channel.", - "type": "string" - } - }, - "type": "object" - }, - "CustomChannels": { - "id": "CustomChannels", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The custom channels returned in this list response.", - "items": { - "$ref": "CustomChannel" - }, - "type": "array" - }, - "kind": { - "default": "adsensehost#customChannels", - "description": "Kind of list this is, in this case adsensehost#customChannels.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through custom channels. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - }, - "Report": { - "id": "Report", - "properties": { - "averages": { - "description": "The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.", - "items": { - "type": "string" - }, - "type": "array" - }, - "headers": { - "description": "The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for each metric in the request.", - "items": { - "properties": { - "currency": { - "description": "The currency of this column. Only present if the header type is METRIC_CURRENCY.", - "type": "string" - }, - "name": { - "description": "The name of the header.", - "type": "string" - }, - "type": { - "description": "The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "kind": { - "default": "adsensehost#report", - "description": "Kind this is, in this case adsensehost#report.", - "type": "string" - }, - "rows": { - "description": "The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The dimension cells contain strings, and the metric cells contain numbers.", - "items": { - "items": { - "type": "string" - }, - "type": "array" - }, - "type": "array" - }, - "totalMatchedRows": { - "description": "The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or the report row limit.", - "format": "int64", - "type": "string" - }, - "totals": { - "description": "The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.", - "items": { - "type": "string" - }, - "type": "array" - }, - "warnings": { - "description": "Any warnings associated with generation of the report.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "UrlChannel": { - "id": "UrlChannel", - "properties": { - "id": { - "description": "Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.", - "type": "string" - }, - "kind": { - "default": "adsensehost#urlChannel", - "description": "Kind of resource this is, in this case adsensehost#urlChannel.", - "type": "string" - }, - "urlPattern": { - "description": "URL Pattern of this URL channel. Does not include \"http://\" or \"https://\". Example: www.example.com/home", - "type": "string" - } - }, - "type": "object" - }, - "UrlChannels": { - "id": "UrlChannels", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The URL channels returned in this list response.", - "items": { - "$ref": "UrlChannel" - }, - "type": "array" - }, - "kind": { - "default": "adsensehost#urlChannels", - "description": "Kind of list this is, in this case adsensehost#urlChannels.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "adsensehost/v4.1/", - "title": "AdSense Host API", - "version": "v4.1" -} \ No newline at end of file diff --git a/discovery/advisorynotifications-v1.json b/discovery/advisorynotifications-v1.json index a5b1e160034..6e4b5033b8a 100644 --- a/discovery/advisorynotifications-v1.json +++ b/discovery/advisorynotifications-v1.json @@ -412,7 +412,7 @@ } } }, - "revision": "20240428", + "revision": "20240331", "rootUrl": "https://advisorynotifications.googleapis.com/", "schemas": { "GoogleCloudAdvisorynotificationsV1Attachment": { diff --git a/discovery/aiplatform-v1.json b/discovery/aiplatform-v1.json index 8609a2617d6..d4101372a64 100644 --- a/discovery/aiplatform-v1.json +++ b/discovery/aiplatform-v1.json @@ -15785,7 +15785,7 @@ ], "parameters": { "name": { - "description": "Identifier. The resource name of the ReasoningEngine.", + "description": "Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", "required": true, @@ -19841,7 +19841,7 @@ } } }, - "revision": "20250422", + "revision": "20250502", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoResponse": { @@ -21580,6 +21580,10 @@ "description": "Optional. Immutable. The user-generated meaningful display name of the cached content.", "type": "string" }, + "encryptionSpec": { + "$ref": "GoogleCloudAiplatformV1EncryptionSpec", + "description": "Input only. Immutable. Customer-managed encryption key spec for a `CachedContent`. If set, this `CachedContent` and all its sub-resources will be secured by this key." + }, "expireTime": { "description": "Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.", "format": "google-datetime", @@ -21824,6 +21828,27 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1Checkpoint": { + "description": "Describes the machine learning model version checkpoint.", + "id": "GoogleCloudAiplatformV1Checkpoint", + "properties": { + "checkpointId": { + "description": "The ID of the checkpoint.", + "type": "string" + }, + "epoch": { + "description": "The epoch of the checkpoint.", + "format": "int64", + "type": "string" + }, + "step": { + "description": "The step of the checkpoint.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1Citation": { "description": "Source attributions for content.", "id": "GoogleCloudAiplatformV1Citation", @@ -23805,6 +23830,10 @@ "$ref": "GoogleCloudAiplatformV1AutomaticResources", "description": "A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration." }, + "checkpointId": { + "description": "The checkpoint id of the model.", + "type": "string" + }, "createTime": { "description": "Output only. Timestamp when the DeployedModel was created.", "format": "google-datetime", @@ -23888,6 +23917,10 @@ "description": "Points to a DeployedModel.", "id": "GoogleCloudAiplatformV1DeployedModelRef", "properties": { + "checkpointId": { + "description": "Immutable. The ID of the Checkpoint deployed in the DeployedModel.", + "type": "string" + }, "deployedModelId": { "description": "Immutable. An ID of a DeployedModel in the above Endpoint.", "type": "string" @@ -27973,6 +28006,10 @@ "description": "Config for thinking features.", "id": "GoogleCloudAiplatformV1GenerationConfigThinkingConfig", "properties": { + "includeThoughts": { + "description": "Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available.", + "type": "boolean" + }, "thinkingBudget": { "description": "Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.", "format": "int32", @@ -30276,6 +30313,7 @@ "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", + "NVIDIA_B200", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -30297,6 +30335,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -30312,6 +30351,7 @@ "Nvidia H100 80Gb GPU.", "Nvidia H100 Mega 80Gb GPU.", "Nvidia H200 141Gb GPU.", + "Nvidia B200 GPU.", "TPU v2.", "TPU v3.", "TPU v4.", @@ -30942,6 +30982,14 @@ "$ref": "GoogleCloudAiplatformV1ModelBaseModelSource", "description": "Optional. User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models." }, + "checkpoints": { + "description": "Optional. Output only. The checkpoints of the model.", + "items": { + "$ref": "GoogleCloudAiplatformV1Checkpoint" + }, + "readOnly": true, + "type": "array" + }, "containerSpec": { "$ref": "GoogleCloudAiplatformV1ModelContainerSpec", "description": "Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not required for AutoML Models." @@ -32747,7 +32795,8 @@ "INVALID_TOKEN_VALUE", "INVALID_SPARSE_EMBEDDING", "INVALID_EMBEDDING", - "INVALID_EMBEDDING_METADATA" + "INVALID_EMBEDDING_METADATA", + "EMBEDDING_METADATA_EXCEEDS_SIZE_LIMIT" ], "enumDescriptions": [ "Default, shall not be used.", @@ -32768,7 +32817,8 @@ "Token restrict value is invalid.", "Invalid sparse embedding.", "Invalid dense embedding.", - "Invalid embedding metadata." + "Invalid embedding metadata.", + "Embedding metadata exceeds size limit." ], "type": "string" }, @@ -33133,7 +33183,7 @@ "type": "object" }, "GoogleCloudAiplatformV1NotebookRuntime": { - "description": "A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime limited to 24 hours.", + "description": "A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime. Default runtimes have a lifetime of 18 hours, while custom runtimes last for 6 months from their creation or last upgrade.", "id": "GoogleCloudAiplatformV1NotebookRuntime", "properties": { "createTime": { @@ -33270,7 +33320,7 @@ "enumDescriptions": [ "Unspecified runtime state.", "NotebookRuntime is in running state.", - "NotebookRuntime is in starting state.", + "NotebookRuntime is in starting state. This is when the runtime is being started from a stopped state.", "NotebookRuntime is in stopping state.", "NotebookRuntime is in stopped state.", "NotebookRuntime is in upgrading state. It is in the middle of upgrading process.", @@ -33445,7 +33495,7 @@ "type": "object" }, "GoogleCloudAiplatformV1NotebookSoftwareConfig": { - "description": "Notebook Software Config.", + "description": "Notebook Software Config. This is passed to the backend when user makes software configurations in UI.", "id": "GoogleCloudAiplatformV1NotebookSoftwareConfig", "properties": { "env": { @@ -36068,6 +36118,10 @@ "layoutParser": { "$ref": "GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser", "description": "The Layout Parser to use for RagFiles." + }, + "llmParser": { + "$ref": "GoogleCloudAiplatformV1RagFileParsingConfigLlmParser", + "description": "The LLM Parser to use for RagFiles." } }, "type": "object" @@ -36088,6 +36142,26 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1RagFileParsingConfigLlmParser": { + "description": "Specifies the advanced parsing for RagFiles.", + "id": "GoogleCloudAiplatformV1RagFileParsingConfigLlmParser", + "properties": { + "customParsingPrompt": { + "description": "The prompt to use for parsing. If not specified, a default prompt will be used.", + "type": "string" + }, + "maxParsingRequestsPerMin": { + "description": "The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used.", + "format": "int32", + "type": "integer" + }, + "modelName": { + "description": "The name of a LLM model used for parsing. Format: * `projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}`", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1RagFileTransformationConfig": { "description": "Specifies the transformation config for RagFiles.", "id": "GoogleCloudAiplatformV1RagFileTransformationConfig", @@ -36557,7 +36631,7 @@ "type": "string" }, "name": { - "description": "Identifier. The resource name of the ReasoningEngine.", + "description": "Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", "type": "string" }, "spec": { @@ -37689,6 +37763,10 @@ "description": "Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed.", "id": "GoogleCloudAiplatformV1Schema", "properties": { + "additionalProperties": { + "description": "Optional. Can either be a boolean or an object; controls the presence of additional properties.", + "type": "any" + }, "anyOf": { "description": "Optional. The value should be validated against any (one or more) of the subschemas in the list.", "items": { @@ -37700,6 +37778,13 @@ "description": "Optional. Default value of the data.", "type": "any" }, + "defs": { + "additionalProperties": { + "$ref": "GoogleCloudAiplatformV1Schema" + }, + "description": "Optional. A map of definitions for use by `ref` Only allowed at the root of the schema.", + "type": "object" + }, "description": { "description": "Optional. The description of the data.", "type": "string" @@ -37785,6 +37870,10 @@ }, "type": "array" }, + "ref": { + "description": "Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named \"Pet\": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the \"pet\" property is a reference to the schema node named \"Pet\". See details in https://json-schema.org/understanding-json-schema/structuring", + "type": "string" + }, "required": { "description": "Optional. Required properties of Type.OBJECT.", "items": { @@ -43471,7 +43560,7 @@ "id": "GoogleCloudAiplatformV1SupervisedTuningDataStats", "properties": { "droppedExampleReasons": { - "description": "Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. Must not include example itself.", + "description": "Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped.", "items": { "type": "string" }, @@ -43642,6 +43731,10 @@ "description": "Tuning Spec for Supervised Tuning for first party models.", "id": "GoogleCloudAiplatformV1SupervisedTuningSpec", "properties": { + "exportLastCheckpointOnly": { + "description": "Optional. If set to true, disable intermediate checkpoints for SFT and only the last checkpoint will be exported. Otherwise, enable intermediate checkpoints for SFT. Default is false.", + "type": "boolean" + }, "hyperParameters": { "$ref": "GoogleCloudAiplatformV1SupervisedHyperParameters", "description": "Optional. Hyperparameters for SFT." @@ -45274,6 +45367,14 @@ "description": "The Model Registry Model and Online Prediction Endpoint associated with this TuningJob.", "id": "GoogleCloudAiplatformV1TunedModel", "properties": { + "checkpoints": { + "description": "Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.", + "items": { + "$ref": "GoogleCloudAiplatformV1TunedModelCheckpoint" + }, + "readOnly": true, + "type": "array" + }, "endpoint": { "description": "Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.", "readOnly": true, @@ -45287,6 +45388,31 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1TunedModelCheckpoint": { + "description": "TunedModelCheckpoint for the Tuned Model of a Tuning Job.", + "id": "GoogleCloudAiplatformV1TunedModelCheckpoint", + "properties": { + "checkpointId": { + "description": "The ID of the checkpoint.", + "type": "string" + }, + "endpoint": { + "description": "The Endpoint resource name that the checkpoint is deployed to. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.", + "type": "string" + }, + "epoch": { + "description": "The epoch of the checkpoint.", + "format": "int64", + "type": "string" + }, + "step": { + "description": "The step of the checkpoint.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1TunedModelRef": { "description": "TunedModel Reference for legacy model migration.", "id": "GoogleCloudAiplatformV1TunedModelRef", @@ -45881,6 +46007,15 @@ "engine": { "description": "Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", "type": "string" + }, + "filter": { + "description": "Optional. Filter strings to be passed to the search API.", + "type": "string" + }, + "maxResults": { + "description": "Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10.", + "format": "int32", + "type": "integer" } }, "type": "object" diff --git a/discovery/aiplatform-v1beta1.json b/discovery/aiplatform-v1beta1.json index 4c36c4a172d..14f683d66d4 100644 --- a/discovery/aiplatform-v1beta1.json +++ b/discovery/aiplatform-v1beta1.json @@ -18845,7 +18845,7 @@ ], "parameters": { "name": { - "description": "Identifier. The resource name of the ReasoningEngine.", + "description": "Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", "required": true, @@ -19078,6 +19078,161 @@ } } }, + "sandboxEnvironments": { + "resources": { + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:cancel", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}/operations", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "wait": { + "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}:wait", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.operations.wait", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to wait on.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + }, + "timeout": { + "description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", + "format": "google-duration", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}:wait", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "sessions": { "methods": { "appendEvent": { @@ -23270,7 +23425,7 @@ } } }, - "revision": "20250422", + "revision": "20250502", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoResponse": { @@ -25346,6 +25501,10 @@ "description": "Optional. Immutable. The user-generated meaningful display name of the cached content.", "type": "string" }, + "encryptionSpec": { + "$ref": "GoogleCloudAiplatformV1beta1EncryptionSpec", + "description": "Input only. Immutable. Customer-managed encryption key spec for a `CachedContent`. If set, this `CachedContent` and all its sub-resources will be secured by this key." + }, "expireTime": { "description": "Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.", "format": "google-datetime", @@ -25601,6 +25760,27 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1Checkpoint": { + "description": "Describes the machine learning model version checkpoint.", + "id": "GoogleCloudAiplatformV1beta1Checkpoint", + "properties": { + "checkpointId": { + "description": "The ID of the checkpoint.", + "type": "string" + }, + "epoch": { + "description": "The epoch of the checkpoint.", + "format": "int64", + "type": "string" + }, + "step": { + "description": "The step of the checkpoint.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1Citation": { "description": "Source attributions for content.", "id": "GoogleCloudAiplatformV1beta1Citation", @@ -27940,6 +28120,10 @@ "$ref": "GoogleCloudAiplatformV1beta1AutomaticResources", "description": "A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration." }, + "checkpointId": { + "description": "The checkpoint id of the model.", + "type": "string" + }, "createTime": { "description": "Output only. Timestamp when the DeployedModel was created.", "format": "google-datetime", @@ -28027,6 +28211,10 @@ "description": "Points to a DeployedModel.", "id": "GoogleCloudAiplatformV1beta1DeployedModelRef", "properties": { + "checkpointId": { + "description": "Immutable. The ID of the Checkpoint deployed in the DeployedModel.", + "type": "string" + }, "deployedModelId": { "description": "Immutable. An ID of a DeployedModel in the above Endpoint.", "type": "string" @@ -29192,7 +29380,6 @@ "type": "object" }, "GoogleCloudAiplatformV1beta1Example": { - "description": "A single example to upload or read from the Example Store.", "id": "GoogleCloudAiplatformV1beta1Example", "properties": { "createTime": { @@ -33222,6 +33409,10 @@ "description": "Config for thinking features.", "id": "GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig", "properties": { + "includeThoughts": { + "description": "Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available.", + "type": "boolean" + }, "thinkingBudget": { "description": "Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.", "format": "int32", @@ -35768,6 +35959,7 @@ "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", + "NVIDIA_B200", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -35789,6 +35981,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -35804,6 +35997,7 @@ "Nvidia H100 80Gb GPU.", "Nvidia H100 Mega 80Gb GPU.", "Nvidia H200 141Gb GPU.", + "Nvidia B200 GPU.", "TPU v2.", "TPU v3.", "TPU v4.", @@ -36439,6 +36633,14 @@ "$ref": "GoogleCloudAiplatformV1beta1ModelBaseModelSource", "description": "Optional. User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models." }, + "checkpoints": { + "description": "Optional. Output only. The checkpoints of the model.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1Checkpoint" + }, + "readOnly": true, + "type": "array" + }, "containerSpec": { "$ref": "GoogleCloudAiplatformV1beta1ModelContainerSpec", "description": "Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not required for AutoML Models." @@ -39011,7 +39213,8 @@ "INVALID_TOKEN_VALUE", "INVALID_SPARSE_EMBEDDING", "INVALID_EMBEDDING", - "INVALID_EMBEDDING_METADATA" + "INVALID_EMBEDDING_METADATA", + "EMBEDDING_METADATA_EXCEEDS_SIZE_LIMIT" ], "enumDescriptions": [ "Default, shall not be used.", @@ -39032,7 +39235,8 @@ "Token restrict value is invalid.", "Invalid sparse embedding.", "Invalid dense embedding.", - "Invalid embedding metadata." + "Invalid embedding metadata.", + "Embedding metadata exceeds size limit." ], "type": "string" }, @@ -39397,7 +39601,7 @@ "type": "object" }, "GoogleCloudAiplatformV1beta1NotebookRuntime": { - "description": "A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime limited to 24 hours.", + "description": "A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime. Default runtimes have a lifetime of 18 hours, while custom runtimes last for 6 months from their creation or last upgrade.", "id": "GoogleCloudAiplatformV1beta1NotebookRuntime", "properties": { "createTime": { @@ -39534,7 +39738,7 @@ "enumDescriptions": [ "Unspecified runtime state.", "NotebookRuntime is in running state.", - "NotebookRuntime is in starting state.", + "NotebookRuntime is in starting state. This is when the runtime is being started from a stopped state.", "NotebookRuntime is in stopping state.", "NotebookRuntime is in stopped state.", "NotebookRuntime is in upgrading state. It is in the middle of upgrading process.", @@ -39709,7 +39913,7 @@ "type": "object" }, "GoogleCloudAiplatformV1beta1NotebookSoftwareConfig": { - "description": "Notebook Software Config.", + "description": "Notebook Software Config. This is passed to the backend when user makes software configurations in UI.", "id": "GoogleCloudAiplatformV1beta1NotebookSoftwareConfig", "properties": { "env": { @@ -43397,7 +43601,7 @@ "type": "string" }, "name": { - "description": "Identifier. The resource name of the ReasoningEngine.", + "description": "Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", "type": "string" }, "spec": { @@ -44816,6 +45020,10 @@ "description": "Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed.", "id": "GoogleCloudAiplatformV1beta1Schema", "properties": { + "additionalProperties": { + "description": "Optional. Can either be a boolean or an object; controls the presence of additional properties.", + "type": "any" + }, "anyOf": { "description": "Optional. The value should be validated against any (one or more) of the subschemas in the list.", "items": { @@ -44827,6 +45035,13 @@ "description": "Optional. Default value of the data.", "type": "any" }, + "defs": { + "additionalProperties": { + "$ref": "GoogleCloudAiplatformV1beta1Schema" + }, + "description": "Optional. A map of definitions for use by `ref` Only allowed at the root of the schema.", + "type": "object" + }, "description": { "description": "Optional. The description of the data.", "type": "string" @@ -44912,6 +45127,10 @@ }, "type": "array" }, + "ref": { + "description": "Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named \"Pet\": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the \"pet\" property is a reference to the schema node named \"Pet\". See details in https://json-schema.org/understanding-json-schema/structuring", + "type": "string" + }, "required": { "description": "Optional. Required properties of Type.OBJECT.", "items": { @@ -51073,7 +51292,7 @@ "id": "GoogleCloudAiplatformV1beta1SupervisedTuningDataStats", "properties": { "droppedExampleReasons": { - "description": "Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. Must not include example itself.", + "description": "Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped.", "items": { "type": "string" }, @@ -51244,6 +51463,10 @@ "description": "Tuning Spec for Supervised Tuning for first party models.", "id": "GoogleCloudAiplatformV1beta1SupervisedTuningSpec", "properties": { + "exportLastCheckpointOnly": { + "description": "Optional. If set to true, disable intermediate checkpoints for SFT and only the last checkpoint will be exported. Otherwise, enable intermediate checkpoints for SFT. Default is false.", + "type": "boolean" + }, "hyperParameters": { "$ref": "GoogleCloudAiplatformV1beta1SupervisedHyperParameters", "description": "Optional. Hyperparameters for SFT." @@ -52934,6 +53157,14 @@ "description": "The Model Registry Model and Online Prediction Endpoint associated with this TuningJob.", "id": "GoogleCloudAiplatformV1beta1TunedModel", "properties": { + "checkpoints": { + "description": "Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1TunedModelCheckpoint" + }, + "readOnly": true, + "type": "array" + }, "endpoint": { "description": "Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.", "readOnly": true, @@ -52947,6 +53178,31 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1TunedModelCheckpoint": { + "description": "TunedModelCheckpoint for the Tuned Model of a Tuning Job.", + "id": "GoogleCloudAiplatformV1beta1TunedModelCheckpoint", + "properties": { + "checkpointId": { + "description": "The ID of the checkpoint.", + "type": "string" + }, + "endpoint": { + "description": "The Endpoint resource name that the checkpoint is deployed to. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.", + "type": "string" + }, + "epoch": { + "description": "The epoch of the checkpoint.", + "format": "int64", + "type": "string" + }, + "step": { + "description": "The step of the checkpoint.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1TunedModelRef": { "description": "TunedModel Reference for legacy model migration.", "id": "GoogleCloudAiplatformV1beta1TunedModelRef", @@ -53634,6 +53890,15 @@ "engine": { "description": "Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", "type": "string" + }, + "filter": { + "description": "Optional. Filter strings to be passed to the search API.", + "type": "string" + }, + "maxResults": { + "description": "Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10.", + "format": "int32", + "type": "integer" } }, "type": "object" diff --git a/discovery/alloydb-v1.json b/discovery/alloydb-v1.json index 42d83df666d..6684a32eb8b 100644 --- a/discovery/alloydb-v1.json +++ b/discovery/alloydb-v1.json @@ -1622,7 +1622,7 @@ } } }, - "revision": "20250410", + "revision": "20250417", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2737,6 +2737,20 @@ "description": "An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.", "id": "Instance", "properties": { + "activationPolicy": { + "description": "Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.", + "enum": [ + "ACTIVATION_POLICY_UNSPECIFIED", + "ALWAYS", + "NEVER" + ], + "enumDescriptions": [ + "The policy is not specified.", + "The instance is running.", + "The instance is not running." + ], + "type": "string" + }, "annotations": { "additionalProperties": { "type": "string" @@ -4352,7 +4366,13 @@ "SIGNAL_TYPE_NO_DELETION_PROTECTION", "SIGNAL_TYPE_INEFFICIENT_QUERY", "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", - "SIGNAL_TYPE_MEMORY_LIMIT" + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED" ], "enumDeprecated": [ false, @@ -4444,6 +4464,12 @@ false, false, false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -4536,7 +4562,13 @@ "Deletion Protection Disabled for the resource", "Indicates that the instance has inefficient queries detected.", "Indicates that the instance has read intensive workload.", - "Indicates that the instance is nearing memory limit." + "Indicates that the instance is nearing memory limit.", + "Indicates that the instance's max server memory is configured higher than the recommended value.", + "Indicates that the database has large rows beyond the recommended limit.", + "Heavy write pressure on the database rows.", + "Heavy read pressure on the database rows.", + "Encryption org policy not satisfied.", + "Location org policy not satisfied." ], "type": "string" }, @@ -4947,7 +4979,13 @@ "SIGNAL_TYPE_NO_DELETION_PROTECTION", "SIGNAL_TYPE_INEFFICIENT_QUERY", "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", - "SIGNAL_TYPE_MEMORY_LIMIT" + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED" ], "enumDeprecated": [ false, @@ -5039,6 +5077,12 @@ false, false, false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -5131,7 +5175,13 @@ "Deletion Protection Disabled for the resource", "Indicates that the instance has inefficient queries detected.", "Indicates that the instance has read intensive workload.", - "Indicates that the instance is nearing memory limit." + "Indicates that the instance is nearing memory limit.", + "Indicates that the instance's max server memory is configured higher than the recommended value.", + "Indicates that the database has large rows beyond the recommended limit.", + "Heavy write pressure on the database rows.", + "Heavy read pressure on the database rows.", + "Encryption org policy not satisfied.", + "Location org policy not satisfied." ], "type": "string" } @@ -5493,8 +5543,9 @@ "ON_PREM", "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", - "PRODUCT_TYPE_OTHER", - "PRODUCT_TYPE_FIRESTORE" + "PRODUCT_TYPE_FIRESTORE", + "PRODUCT_TYPE_COMPUTE_ENGINE", + "PRODUCT_TYPE_OTHER" ], "enumDeprecated": [ false, @@ -5508,6 +5559,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -5521,8 +5573,9 @@ "On premises database product.", "Memorystore product area in GCP", "Bigtable product area in GCP", - "Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum.", - "Firestore product area in GCP." + "Firestore product area in GCP.", + "Compute Engine self managed databases", + "Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum." ], "type": "string" }, diff --git a/discovery/alloydb-v1alpha.json b/discovery/alloydb-v1alpha.json index 0cd1bec658f..88ab4e853db 100644 --- a/discovery/alloydb-v1alpha.json +++ b/discovery/alloydb-v1alpha.json @@ -1622,7 +1622,7 @@ } } }, - "revision": "20250410", + "revision": "20250508", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2427,7 +2427,7 @@ "id": "ContinuousBackupInfo", "properties": { "earliestRestorableTime": { - "description": "Output only. The earliest restorable time that can be restored to. Output only field.", + "description": "Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes \"now minus the recovery window\". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2444,7 +2444,7 @@ "readOnly": true }, "schedule": { - "description": "Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.", + "description": "Output only. Days of the week on which a continuous backup is taken.", "items": { "enum": [ "DAY_OF_WEEK_UNSPECIFIED", @@ -2863,6 +2863,20 @@ "description": "An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.", "id": "Instance", "properties": { + "activationPolicy": { + "description": "Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.", + "enum": [ + "ACTIVATION_POLICY_UNSPECIFIED", + "ALWAYS", + "NEVER" + ], + "enumDescriptions": [ + "The policy is not specified.", + "The instance is running.", + "The instance is not running." + ], + "type": "string" + }, "annotations": { "additionalProperties": { "type": "string" @@ -3080,6 +3094,10 @@ "description": "Metadata related to instance-level network configuration.", "id": "InstanceNetworkConfig", "properties": { + "allocatedIpRangeOverride": { + "description": "Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: \"google-managed-services-default\". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](http://go/rfc/1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.", + "type": "string" + }, "authorizedExternalNetworks": { "description": "Optional. A list of external network authorized to access this instance.", "items": { @@ -4505,7 +4523,13 @@ "SIGNAL_TYPE_NO_DELETION_PROTECTION", "SIGNAL_TYPE_INEFFICIENT_QUERY", "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", - "SIGNAL_TYPE_MEMORY_LIMIT" + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED" ], "enumDeprecated": [ false, @@ -4597,6 +4621,12 @@ false, false, false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -4689,7 +4719,13 @@ "Deletion Protection Disabled for the resource", "Indicates that the instance has inefficient queries detected.", "Indicates that the instance has read intensive workload.", - "Indicates that the instance is nearing memory limit." + "Indicates that the instance is nearing memory limit.", + "Indicates that the instance's max server memory is configured higher than the recommended value.", + "Indicates that the database has large rows beyond the recommended limit.", + "Heavy write pressure on the database rows.", + "Heavy read pressure on the database rows.", + "Encryption org policy not satisfied.", + "Location org policy not satisfied." ], "type": "string" }, @@ -5100,7 +5136,13 @@ "SIGNAL_TYPE_NO_DELETION_PROTECTION", "SIGNAL_TYPE_INEFFICIENT_QUERY", "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", - "SIGNAL_TYPE_MEMORY_LIMIT" + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED" ], "enumDeprecated": [ false, @@ -5192,6 +5234,12 @@ false, false, false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -5284,7 +5332,13 @@ "Deletion Protection Disabled for the resource", "Indicates that the instance has inefficient queries detected.", "Indicates that the instance has read intensive workload.", - "Indicates that the instance is nearing memory limit." + "Indicates that the instance is nearing memory limit.", + "Indicates that the instance's max server memory is configured higher than the recommended value.", + "Indicates that the database has large rows beyond the recommended limit.", + "Heavy write pressure on the database rows.", + "Heavy read pressure on the database rows.", + "Encryption org policy not satisfied.", + "Location org policy not satisfied." ], "type": "string" } @@ -5646,8 +5700,9 @@ "ON_PREM", "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", - "PRODUCT_TYPE_OTHER", - "PRODUCT_TYPE_FIRESTORE" + "PRODUCT_TYPE_FIRESTORE", + "PRODUCT_TYPE_COMPUTE_ENGINE", + "PRODUCT_TYPE_OTHER" ], "enumDeprecated": [ false, @@ -5661,6 +5716,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -5674,8 +5730,9 @@ "On premises database product.", "Memorystore product area in GCP", "Bigtable product area in GCP", - "Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum.", - "Firestore product area in GCP." + "Firestore product area in GCP.", + "Compute Engine self managed databases", + "Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum." ], "type": "string" }, diff --git a/discovery/alloydb-v1beta.json b/discovery/alloydb-v1beta.json index 63443e296f0..048bb7672c9 100644 --- a/discovery/alloydb-v1beta.json +++ b/discovery/alloydb-v1beta.json @@ -1619,7 +1619,7 @@ } } }, - "revision": "20250410", + "revision": "20250417", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2844,6 +2844,20 @@ "description": "An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.", "id": "Instance", "properties": { + "activationPolicy": { + "description": "Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.", + "enum": [ + "ACTIVATION_POLICY_UNSPECIFIED", + "ALWAYS", + "NEVER" + ], + "enumDescriptions": [ + "The policy is not specified.", + "The instance is running.", + "The instance is not running." + ], + "type": "string" + }, "annotations": { "additionalProperties": { "type": "string" @@ -4481,7 +4495,13 @@ "SIGNAL_TYPE_NO_DELETION_PROTECTION", "SIGNAL_TYPE_INEFFICIENT_QUERY", "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", - "SIGNAL_TYPE_MEMORY_LIMIT" + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED" ], "enumDeprecated": [ false, @@ -4573,6 +4593,12 @@ false, false, false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -4665,7 +4691,13 @@ "Deletion Protection Disabled for the resource", "Indicates that the instance has inefficient queries detected.", "Indicates that the instance has read intensive workload.", - "Indicates that the instance is nearing memory limit." + "Indicates that the instance is nearing memory limit.", + "Indicates that the instance's max server memory is configured higher than the recommended value.", + "Indicates that the database has large rows beyond the recommended limit.", + "Heavy write pressure on the database rows.", + "Heavy read pressure on the database rows.", + "Encryption org policy not satisfied.", + "Location org policy not satisfied." ], "type": "string" }, @@ -5076,7 +5108,13 @@ "SIGNAL_TYPE_NO_DELETION_PROTECTION", "SIGNAL_TYPE_INEFFICIENT_QUERY", "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", - "SIGNAL_TYPE_MEMORY_LIMIT" + "SIGNAL_TYPE_MEMORY_LIMIT", + "SIGNAL_TYPE_MAX_SERVER_MEMORY", + "SIGNAL_TYPE_LARGE_ROWS", + "SIGNAL_TYPE_HIGH_WRITE_PRESSURE", + "SIGNAL_TYPE_HIGH_READ_PRESSURE", + "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", + "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED" ], "enumDeprecated": [ false, @@ -5168,6 +5206,12 @@ false, false, false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -5260,7 +5304,13 @@ "Deletion Protection Disabled for the resource", "Indicates that the instance has inefficient queries detected.", "Indicates that the instance has read intensive workload.", - "Indicates that the instance is nearing memory limit." + "Indicates that the instance is nearing memory limit.", + "Indicates that the instance's max server memory is configured higher than the recommended value.", + "Indicates that the database has large rows beyond the recommended limit.", + "Heavy write pressure on the database rows.", + "Heavy read pressure on the database rows.", + "Encryption org policy not satisfied.", + "Location org policy not satisfied." ], "type": "string" } @@ -5622,8 +5672,9 @@ "ON_PREM", "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_BIGTABLE", - "PRODUCT_TYPE_OTHER", - "PRODUCT_TYPE_FIRESTORE" + "PRODUCT_TYPE_FIRESTORE", + "PRODUCT_TYPE_COMPUTE_ENGINE", + "PRODUCT_TYPE_OTHER" ], "enumDeprecated": [ false, @@ -5637,6 +5688,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -5650,8 +5702,9 @@ "On premises database product.", "Memorystore product area in GCP", "Bigtable product area in GCP", - "Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum.", - "Firestore product area in GCP." + "Firestore product area in GCP.", + "Compute Engine self managed databases", + "Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum." ], "type": "string" }, diff --git a/discovery/analyticsdata-v1alpha.json b/discovery/analyticsdata-v1alpha.json deleted file mode 100644 index 72ee76dd6d8..00000000000 --- a/discovery/analyticsdata-v1alpha.json +++ /dev/null @@ -1,1547 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/analytics": { - "description": "View and manage your Google Analytics data" - }, - "https://www.googleapis.com/auth/analytics.readonly": { - "description": "See and download your Google Analytics data" - } - } - } - }, - "basePath": "", - "baseUrl": "https://analyticsdata.googleapis.com/", - "batchPath": "batch", - "canonicalName": "AnalyticsData", - "description": "Accesses report data in Google Analytics.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/analytics/devguides/reporting/data/v1/", - "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": "analyticsdata:v1alpha", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://analyticsdata.mtls.googleapis.com/", - "name": "analyticsdata", - "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": { - "properties": { - "methods": { - "getMetadata": { - "description": "Returns metadata for dimensions and metrics available in reporting methods. Used to explore the dimensions and metrics. In this method, a Google Analytics GA4 Property Identifier is specified in the request, and the metadata response includes Custom dimensions and metrics as well as Universal metadata. For example if a custom metric with parameter name `levels_unlocked` is registered to a property, the Metadata response will contain `customEvent:levels_unlocked`. Universal metadata are dimensions and metrics applicable to any property such as `country` and `totalUsers`.", - "flatPath": "v1alpha/properties/{propertiesId}/metadata", - "httpMethod": "GET", - "id": "analyticsdata.properties.getMetadata", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the metadata to retrieve. This name field is specified in the URL path and not URL parameters. Property is a numeric Google Analytics GA4 Property identifier. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). Example: properties/1234/metadata Set the Property ID to 0 for dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.", - "location": "path", - "pattern": "^properties/[^/]+/metadata$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "Metadata" - }, - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.readonly" - ] - }, - "runRealtimeReport": { - "description": "The Google Analytics Realtime API returns a customized report of realtime event data for your property. These reports show events and usage from the last 30 minutes.", - "flatPath": "v1alpha/properties/{propertiesId}:runRealtimeReport", - "httpMethod": "POST", - "id": "analyticsdata.properties.runRealtimeReport", - "parameterOrder": [ - "property" - ], - "parameters": { - "property": { - "description": "A Google Analytics GA4 property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). Example: properties/1234", - "location": "path", - "pattern": "^properties/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+property}:runRealtimeReport", - "request": { - "$ref": "RunRealtimeReportRequest" - }, - "response": { - "$ref": "RunRealtimeReportResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.readonly" - ] - } - } - }, - "v1alpha": { - "methods": { - "batchRunPivotReports": { - "description": "Returns multiple pivot reports in a batch. All reports must be for the same Entity.", - "flatPath": "v1alpha:batchRunPivotReports", - "httpMethod": "POST", - "id": "analyticsdata.batchRunPivotReports", - "parameterOrder": [], - "parameters": {}, - "path": "v1alpha:batchRunPivotReports", - "request": { - "$ref": "BatchRunPivotReportsRequest" - }, - "response": { - "$ref": "BatchRunPivotReportsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.readonly" - ] - }, - "batchRunReports": { - "description": "Returns multiple reports in a batch. All reports must be for the same Entity.", - "flatPath": "v1alpha:batchRunReports", - "httpMethod": "POST", - "id": "analyticsdata.batchRunReports", - "parameterOrder": [], - "parameters": {}, - "path": "v1alpha:batchRunReports", - "request": { - "$ref": "BatchRunReportsRequest" - }, - "response": { - "$ref": "BatchRunReportsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.readonly" - ] - }, - "runPivotReport": { - "description": "Returns a customized pivot report of your Google Analytics event data. Pivot reports are more advanced and expressive formats than regular reports. In a pivot report, dimensions are only visible if they are included in a pivot. Multiple pivots can be specified to further dissect your data.", - "flatPath": "v1alpha:runPivotReport", - "httpMethod": "POST", - "id": "analyticsdata.runPivotReport", - "parameterOrder": [], - "parameters": {}, - "path": "v1alpha:runPivotReport", - "request": { - "$ref": "RunPivotReportRequest" - }, - "response": { - "$ref": "RunPivotReportResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.readonly" - ] - }, - "runReport": { - "description": "Returns a customized report of your Google Analytics event data. Reports contain statistics derived from data collected by the Google Analytics tracking code. The data returned from the API is as a table with columns for the requested dimensions and metrics. Metrics are individual measurements of user activity on your property, such as active users or event count. Dimensions break down metrics across some common criteria, such as country or event name.", - "flatPath": "v1alpha:runReport", - "httpMethod": "POST", - "id": "analyticsdata.runReport", - "parameterOrder": [], - "parameters": {}, - "path": "v1alpha:runReport", - "request": { - "$ref": "RunReportRequest" - }, - "response": { - "$ref": "RunReportResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.readonly" - ] - } - } - } - }, - "revision": "20210303", - "rootUrl": "https://analyticsdata.googleapis.com/", - "schemas": { - "BatchRunPivotReportsRequest": { - "description": "The batch request containing multiple pivot report requests.", - "id": "BatchRunPivotReportsRequest", - "properties": { - "entity": { - "$ref": "Entity", - "description": "A property whose events are tracked. This entity must be specified for the batch. The entity within RunPivotReportRequest may either be unspecified or consistent with this entity." - }, - "requests": { - "description": "Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.", - "items": { - "$ref": "RunPivotReportRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchRunPivotReportsResponse": { - "description": "The batch response containing multiple pivot reports.", - "id": "BatchRunPivotReportsResponse", - "properties": { - "pivotReports": { - "description": "Individual responses. Each response has a separate pivot report request.", - "items": { - "$ref": "RunPivotReportResponse" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchRunReportsRequest": { - "description": "The batch request containing multiple report requests.", - "id": "BatchRunReportsRequest", - "properties": { - "entity": { - "$ref": "Entity", - "description": "A property whose events are tracked. This entity must be specified for the batch. The entity within RunReportRequest may either be unspecified or consistent with this entity." - }, - "requests": { - "description": "Individual requests. Each request has a separate report response. Each batch request is allowed up to 5 requests.", - "items": { - "$ref": "RunReportRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchRunReportsResponse": { - "description": "The batch response containing multiple reports.", - "id": "BatchRunReportsResponse", - "properties": { - "reports": { - "description": "Individual responses. Each response has a separate report request.", - "items": { - "$ref": "RunReportResponse" - }, - "type": "array" - } - }, - "type": "object" - }, - "BetweenFilter": { - "description": "To express that the result needs to be between two numbers (inclusive).", - "id": "BetweenFilter", - "properties": { - "fromValue": { - "$ref": "NumericValue", - "description": "Begins with this number." - }, - "toValue": { - "$ref": "NumericValue", - "description": "Ends with this number." - } - }, - "type": "object" - }, - "CaseExpression": { - "description": "Used to convert a dimension value to a single case.", - "id": "CaseExpression", - "properties": { - "dimensionName": { - "description": "Name of a dimension. The name must refer back to a name in dimensions field of the request.", - "type": "string" - } - }, - "type": "object" - }, - "Cohort": { - "description": "Defines a cohort selection criteria. A cohort is a group of users who share a common characteristic. For example, users with the same `firstSessionDate` belong to the same cohort.", - "id": "Cohort", - "properties": { - "dateRange": { - "$ref": "DateRange", - "description": "The cohort selects users whose first touch date is between start date and end date defined in the `dateRange`. This `dateRange` does not specify the full date range of event data that is present in a cohort report. In a cohort report, this `dateRange` is extended by the granularity and offset present in the `cohortsRange`; event data for the extended reporting date range is present in a cohort report. In a cohort request, this `dateRange` is required and the `dateRanges` in the `RunReportRequest` or `RunPivotReportRequest` must be unspecified. This `dateRange` should generally be aligned with the cohort's granularity. If `CohortsRange` uses daily granularity, this `dateRange` can be a single day. If `CohortsRange` uses weekly granularity, this `dateRange` can be aligned to a week boundary, starting at Sunday and ending Saturday. If `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to a month, starting at the first and ending on the last day of the month." - }, - "dimension": { - "description": "Dimension used by the cohort. Required and only supports `firstSessionDate`.", - "type": "string" - }, - "name": { - "description": "Assigns a name to this cohort. The dimension `cohort` is valued to this name in a report response. If set, cannot begin with `cohort_` or `RESERVED_`. If not set, cohorts are named by their zero based index `cohort_0`, `cohort_1`, etc.", - "type": "string" - } - }, - "type": "object" - }, - "CohortReportSettings": { - "description": "Optional settings of a cohort report.", - "id": "CohortReportSettings", - "properties": { - "accumulate": { - "description": "If true, accumulates the result from first touch day to the end day. Not supported in `RunReportRequest`.", - "type": "boolean" - } - }, - "type": "object" - }, - "CohortSpec": { - "description": "The specification of cohorts for a cohort report. Cohort reports create a time series of user retention for the cohort. For example, you could select the cohort of users that were acquired in the first week of September and follow that cohort for the next six weeks. Selecting the users acquired in the first week of September cohort is specified in the `cohort` object. Following that cohort for the next six weeks is specified in the `cohortsRange` object. For examples, see [Cohort Report Examples](https://developers.google.com/analytics/devguides/reporting/data/v1/advanced#cohort_report_examples). The report response could show a weekly time series where say your app has retained 60% of this cohort after three weeks and 25% of this cohort after six weeks. These two percentages can be calculated by the metric `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the report.", - "id": "CohortSpec", - "properties": { - "cohortReportSettings": { - "$ref": "CohortReportSettings", - "description": "Optional settings for a cohort report." - }, - "cohorts": { - "description": "Defines the selection criteria to group users into cohorts. Most cohort reports define only a single cohort. If multiple cohorts are specified, each cohort can be recognized in the report by their name.", - "items": { - "$ref": "Cohort" - }, - "type": "array" - }, - "cohortsRange": { - "$ref": "CohortsRange", - "description": "Cohort reports follow cohorts over an extended reporting date range. This range specifies an offset duration to follow the cohorts over." - } - }, - "type": "object" - }, - "CohortsRange": { - "description": "Configures the extended reporting date range for a cohort report. Specifies an offset duration to follow the cohorts over.", - "id": "CohortsRange", - "properties": { - "endOffset": { - "description": "Required. `endOffset` specifies the end date of the extended reporting date range for a cohort report. `endOffset` can be any positive integer but is commonly set to 5 to 10 so that reports contain data on the cohort for the next several granularity time periods. If `granularity` is `DAILY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset` days. If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset * 7` days. If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset * 30` days.", - "format": "int32", - "type": "integer" - }, - "granularity": { - "description": "Required. The granularity used to interpret the `startOffset` and `endOffset` for the extended reporting date range for a cohort report.", - "enum": [ - "GRANULARITY_UNSPECIFIED", - "DAILY", - "WEEKLY", - "MONTHLY" - ], - "enumDescriptions": [ - "Should never be specified.", - "Daily granularity. Commonly used if the cohort's `dateRange` is a single day and the request contains `cohortNthDay`.", - "Weekly granularity. Commonly used if the cohort's `dateRange` is a week in duration (starting on Sunday and ending on Saturday) and the request contains `cohortNthWeek`.", - "Monthly granularity. Commonly used if the cohort's `dateRange` is a month in duration and the request contains `cohortNthMonth`." - ], - "type": "string" - }, - "startOffset": { - "description": "`startOffset` specifies the start date of the extended reporting date range for a cohort report. `startOffset` is commonly set to 0 so that reports contain data from the acquisition of the cohort forward. If `granularity` is `DAILY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset` days. If `granularity` is `WEEKLY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset * 7` days. If `granularity` is `MONTHLY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset * 30` days.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ConcatenateExpression": { - "description": "Used to combine dimension values to a single dimension.", - "id": "ConcatenateExpression", - "properties": { - "delimiter": { - "description": "The delimiter placed between dimension names. Delimiters are often single characters such as \"|\" or \",\" but can be longer strings. If a dimension value contains the delimiter, both will be present in response with no distinction. For example if dimension 1 value = \"US,FR\", dimension 2 value = \"JP\", and delimiter = \",\", then the response will contain \"US,FR,JP\".", - "type": "string" - }, - "dimensionNames": { - "description": "Names of dimensions. The names must refer back to names in the dimensions field of the request.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "DateRange": { - "description": "A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests are allowed up to 4 date ranges.", - "id": "DateRange", - "properties": { - "endDate": { - "description": "The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is also accepted, and in that case, the date is inferred based on the property's reporting time zone.", - "type": "string" - }, - "name": { - "description": "Assigns a name to this date range. The dimension `dateRange` is valued to this name in a report response. If set, cannot begin with `date_range_` or `RESERVED_`. If not set, date ranges are named by their zero based index in the request: `date_range_0`, `date_range_1`, etc.", - "type": "string" - }, - "startDate": { - "description": "The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also accepted, and in that case, the date is inferred based on the property's reporting time zone.", - "type": "string" - } - }, - "type": "object" - }, - "Dimension": { - "description": "Dimensions are attributes of your data. For example, the dimension city indicates the city from which an event originates. Dimension values in report responses are strings; for example, city could be \"Paris\" or \"New York\". Requests are allowed up to 8 dimensions.", - "id": "Dimension", - "properties": { - "dimensionExpression": { - "$ref": "DimensionExpression", - "description": "One dimension can be the result of an expression of multiple dimensions. For example, dimension \"country, city\": concatenate(country, \", \", city)." - }, - "name": { - "description": "The name of the dimension. See the [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) for the list of dimension names. If `dimensionExpression` is specified, `name` can be any string that you would like. For example if a `dimensionExpression` concatenates `country` and `city`, you could call that dimension `countryAndCity`. Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, `dimensionExpression`, and `pivots`.", - "type": "string" - } - }, - "type": "object" - }, - "DimensionExpression": { - "description": "Used to express a dimension which is the result of a formula of multiple dimensions. Example usages: 1) lower_case(dimension) 2) concatenate(dimension1, symbol, dimension2).", - "id": "DimensionExpression", - "properties": { - "concatenate": { - "$ref": "ConcatenateExpression", - "description": "Used to combine dimension values to a single dimension. For example, dimension \"country, city\": concatenate(country, \", \", city)." - }, - "lowerCase": { - "$ref": "CaseExpression", - "description": "Used to convert a dimension value to lower case." - }, - "upperCase": { - "$ref": "CaseExpression", - "description": "Used to convert a dimension value to upper case." - } - }, - "type": "object" - }, - "DimensionHeader": { - "description": "Describes a dimension column in the report. Dimensions requested in a report produce column entries within rows and DimensionHeaders. However, dimensions used exclusively within filters or expressions do not produce columns in a report; correspondingly, those dimensions do not produce headers.", - "id": "DimensionHeader", - "properties": { - "name": { - "description": "The dimension's name.", - "type": "string" - } - }, - "type": "object" - }, - "DimensionMetadata": { - "description": "Explains a dimension.", - "id": "DimensionMetadata", - "properties": { - "apiName": { - "description": "This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.", - "type": "string" - }, - "customDefinition": { - "description": "True if the dimension is a custom dimension for this property.", - "type": "boolean" - }, - "deprecatedApiNames": { - "description": "Still usable but deprecated names for this dimension. If populated, this dimension is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the dimension will be available only by `apiName`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "description": { - "description": "Description of how this dimension is used and calculated.", - "type": "string" - }, - "uiName": { - "description": "This dimension's name within the Google Analytics user interface. For example, `Event name`.", - "type": "string" - } - }, - "type": "object" - }, - "DimensionOrderBy": { - "description": "Sorts by dimension values.", - "id": "DimensionOrderBy", - "properties": { - "dimensionName": { - "description": "A dimension name in the request to order by.", - "type": "string" - }, - "orderType": { - "description": "Controls the rule for dimension value ordering.", - "enum": [ - "ORDER_TYPE_UNSPECIFIED", - "ALPHANUMERIC", - "CASE_INSENSITIVE_ALPHANUMERIC", - "NUMERIC" - ], - "enumDescriptions": [ - "Unspecified.", - "Alphanumeric sort by Unicode code point. For example, \"2\" < \"A\" < \"X\" < \"b\" < \"z\".", - "Case insensitive alphanumeric sort by lower case Unicode code point. For example, \"2\" < \"A\" < \"b\" < \"X\" < \"z\".", - "Dimension values are converted to numbers before sorting. For example in NUMERIC sort, \"25\" < \"100\", and in `ALPHANUMERIC` sort, \"100\" < \"25\". Non-numeric dimension values all have equal ordering value below all numeric values." - ], - "type": "string" - } - }, - "type": "object" - }, - "DimensionValue": { - "description": "The value of a dimension.", - "id": "DimensionValue", - "properties": { - "value": { - "description": "Value as a string if the dimension type is a string.", - "type": "string" - } - }, - "type": "object" - }, - "Entity": { - "description": "The unique identifier of the property whose events are tracked.", - "id": "Entity", - "properties": { - "propertyId": { - "description": "A Google Analytics GA4 property id. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).", - "type": "string" - } - }, - "type": "object" - }, - "Filter": { - "description": "An expression to filter dimension or metric values.", - "id": "Filter", - "properties": { - "betweenFilter": { - "$ref": "BetweenFilter", - "description": "A filter for two values." - }, - "fieldName": { - "description": "The dimension name or metric name. Must be a name defined in dimensions or metrics.", - "type": "string" - }, - "inListFilter": { - "$ref": "InListFilter", - "description": "A filter for in list values." - }, - "numericFilter": { - "$ref": "NumericFilter", - "description": "A filter for numeric or date values." - }, - "stringFilter": { - "$ref": "StringFilter", - "description": "Strings related filter." - } - }, - "type": "object" - }, - "FilterExpression": { - "description": "To express dimension or metric filters. The fields in the same FilterExpression need to be either all dimensions or all metrics.", - "id": "FilterExpression", - "properties": { - "andGroup": { - "$ref": "FilterExpressionList", - "description": "The FilterExpressions in and_group have an AND relationship." - }, - "filter": { - "$ref": "Filter", - "description": "A primitive filter. All fields in filter in same FilterExpression needs to be either all dimensions or metrics." - }, - "notExpression": { - "$ref": "FilterExpression", - "description": "The FilterExpression is NOT of not_expression." - }, - "orGroup": { - "$ref": "FilterExpressionList", - "description": "The FilterExpressions in or_group have an OR relationship." - } - }, - "type": "object" - }, - "FilterExpressionList": { - "description": "A list of filter expressions.", - "id": "FilterExpressionList", - "properties": { - "expressions": { - "description": "A list of filter expressions.", - "items": { - "$ref": "FilterExpression" - }, - "type": "array" - } - }, - "type": "object" - }, - "InListFilter": { - "description": "The result needs to be in a list of string values.", - "id": "InListFilter", - "properties": { - "caseSensitive": { - "description": "If true, the string value is case sensitive.", - "type": "boolean" - }, - "values": { - "description": "The list of string values. Must be non-empty.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Metadata": { - "description": "The dimensions and metrics currently accepted in reporting methods.", - "id": "Metadata", - "properties": { - "dimensions": { - "description": "The dimension descriptions.", - "items": { - "$ref": "DimensionMetadata" - }, - "type": "array" - }, - "metrics": { - "description": "The metric descriptions.", - "items": { - "$ref": "MetricMetadata" - }, - "type": "array" - }, - "name": { - "description": "Resource name of this metadata.", - "type": "string" - } - }, - "type": "object" - }, - "Metric": { - "description": "The quantitative measurements of a report. For example, the metric `eventCount` is the total number of events. Requests are allowed up to 10 metrics.", - "id": "Metric", - "properties": { - "expression": { - "description": "A mathematical expression for derived metrics. For example, the metric Event count per user is `eventCount/totalUsers`.", - "type": "string" - }, - "invisible": { - "description": "Indicates if a metric is invisible in the report response. If a metric is invisible, the metric will not produce a column in the response, but can be used in `metricFilter`, `orderBys`, or a metric `expression`.", - "type": "boolean" - }, - "name": { - "description": "The name of the metric. See the [API Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) for the list of metric names. If `expression` is specified, `name` can be any string that you would like. For example if `expression` is `screenPageViews/sessions`, you could call that metric's name = `viewsPerSession`. Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric `expression`.", - "type": "string" - } - }, - "type": "object" - }, - "MetricHeader": { - "description": "Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.", - "id": "MetricHeader", - "properties": { - "name": { - "description": "The metric's name.", - "type": "string" - }, - "type": { - "description": "The metric's data type.", - "enum": [ - "METRIC_TYPE_UNSPECIFIED", - "TYPE_INTEGER", - "TYPE_FLOAT", - "TYPE_SECONDS", - "TYPE_MILLISECONDS", - "TYPE_MINUTES", - "TYPE_HOURS", - "TYPE_STANDARD", - "TYPE_CURRENCY", - "TYPE_FEET", - "TYPE_MILES", - "TYPE_METERS", - "TYPE_KILOMETERS" - ], - "enumDescriptions": [ - "Unspecified type.", - "Integer type.", - "Floating point type.", - "A duration of seconds; a special floating point type.", - "A duration in milliseconds; a special floating point type.", - "A duration in minutes; a special floating point type.", - "A duration in hours; a special floating point type.", - "A custom metric of standard type; a special floating point type.", - "An amount of money; a special floating point type.", - "A length in feet; a special floating point type.", - "A length in miles; a special floating point type.", - "A length in meters; a special floating point type.", - "A length in kilometers; a special floating point type." - ], - "type": "string" - } - }, - "type": "object" - }, - "MetricMetadata": { - "description": "Explains a metric.", - "id": "MetricMetadata", - "properties": { - "apiName": { - "description": "A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.", - "type": "string" - }, - "customDefinition": { - "description": "True if the metric is a custom metric for this property.", - "type": "boolean" - }, - "deprecatedApiNames": { - "description": "Still usable but deprecated names for this metric. If populated, this metric is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the metric will be available only by `apiName`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "description": { - "description": "Description of how this metric is used and calculated.", - "type": "string" - }, - "expression": { - "description": "The mathematical expression for this derived metric. Can be used in [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics are not expressions, and for non-expressions, this field is empty.", - "type": "string" - }, - "type": { - "description": "The type of this metric.", - "enum": [ - "METRIC_TYPE_UNSPECIFIED", - "TYPE_INTEGER", - "TYPE_FLOAT", - "TYPE_SECONDS", - "TYPE_MILLISECONDS", - "TYPE_MINUTES", - "TYPE_HOURS", - "TYPE_STANDARD", - "TYPE_CURRENCY", - "TYPE_FEET", - "TYPE_MILES", - "TYPE_METERS", - "TYPE_KILOMETERS" - ], - "enumDescriptions": [ - "Unspecified type.", - "Integer type.", - "Floating point type.", - "A duration of seconds; a special floating point type.", - "A duration in milliseconds; a special floating point type.", - "A duration in minutes; a special floating point type.", - "A duration in hours; a special floating point type.", - "A custom metric of standard type; a special floating point type.", - "An amount of money; a special floating point type.", - "A length in feet; a special floating point type.", - "A length in miles; a special floating point type.", - "A length in meters; a special floating point type.", - "A length in kilometers; a special floating point type." - ], - "type": "string" - }, - "uiName": { - "description": "This metric's name within the Google Analytics user interface. For example, `Event count`.", - "type": "string" - } - }, - "type": "object" - }, - "MetricOrderBy": { - "description": "Sorts by metric values.", - "id": "MetricOrderBy", - "properties": { - "metricName": { - "description": "A metric name in the request to order by.", - "type": "string" - } - }, - "type": "object" - }, - "MetricValue": { - "description": "The value of a metric.", - "id": "MetricValue", - "properties": { - "value": { - "description": "Measurement value. See MetricHeader for type.", - "type": "string" - } - }, - "type": "object" - }, - "NumericFilter": { - "description": "Filters for numeric or date values.", - "id": "NumericFilter", - "properties": { - "operation": { - "description": "The operation type for this filter.", - "enum": [ - "OPERATION_UNSPECIFIED", - "EQUAL", - "LESS_THAN", - "LESS_THAN_OR_EQUAL", - "GREATER_THAN", - "GREATER_THAN_OR_EQUAL" - ], - "enumDescriptions": [ - "Unspecified.", - "Equal", - "Less than", - "Less than or equal", - "Greater than", - "Greater than or equal" - ], - "type": "string" - }, - "value": { - "$ref": "NumericValue", - "description": "A numeric value or a date value." - } - }, - "type": "object" - }, - "NumericValue": { - "description": "To represent a number.", - "id": "NumericValue", - "properties": { - "doubleValue": { - "description": "Double value", - "format": "double", - "type": "number" - }, - "int64Value": { - "description": "Integer value", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "OrderBy": { - "description": "The sort options.", - "id": "OrderBy", - "properties": { - "desc": { - "description": "If true, sorts by descending order.", - "type": "boolean" - }, - "dimension": { - "$ref": "DimensionOrderBy", - "description": "Sorts results by a dimension's values." - }, - "metric": { - "$ref": "MetricOrderBy", - "description": "Sorts results by a metric's values." - }, - "pivot": { - "$ref": "PivotOrderBy", - "description": "Sorts results by a metric's values within a pivot column group." - } - }, - "type": "object" - }, - "Pivot": { - "description": "Describes the visible dimension columns and rows in the report response.", - "id": "Pivot", - "properties": { - "fieldNames": { - "description": "Dimension names for visible columns in the report response. Including \"dateRange\" produces a date range column; for each row in the response, dimension values in the date range column will indicate the corresponding date range from the request.", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit": { - "description": "The number of rows to return in this pivot. If the `limit` parameter is unspecified, up to 10,000 rows are returned. The product of the `limit` for each `pivot` in a `RunPivotReportRequest` must not exceed 100,000. For example, a two pivot request with `limit: 1000` in each pivot will fail because the product is `1,000,000`.", - "format": "int64", - "type": "string" - }, - "metricAggregations": { - "description": "Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.", - "items": { - "enum": [ - "METRIC_AGGREGATION_UNSPECIFIED", - "TOTAL", - "MINIMUM", - "MAXIMUM", - "COUNT" - ], - "enumDescriptions": [ - "Unspecified operator.", - "SUM operator.", - "Minimum operator.", - "Maximum operator.", - "Count operator." - ], - "type": "string" - }, - "type": "array" - }, - "offset": { - "description": "The row count of the start row. The first row is counted as row 0.", - "format": "int64", - "type": "string" - }, - "orderBys": { - "description": "Specifies how dimensions are ordered in the pivot. In the first Pivot, the OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots, the OrderBys determine only PivotDimensionHeader ordering. Dimensions specified in these OrderBys must be a subset of Pivot.field_names.", - "items": { - "$ref": "OrderBy" - }, - "type": "array" - } - }, - "type": "object" - }, - "PivotDimensionHeader": { - "description": "Summarizes dimension values from a row for this pivot.", - "id": "PivotDimensionHeader", - "properties": { - "dimensionValues": { - "description": "Values of multiple dimensions in a pivot.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - } - }, - "type": "object" - }, - "PivotHeader": { - "description": "Dimensions' values in a single pivot.", - "id": "PivotHeader", - "properties": { - "pivotDimensionHeaders": { - "description": "The size is the same as the cardinality of the corresponding dimension combinations.", - "items": { - "$ref": "PivotDimensionHeader" - }, - "type": "array" - }, - "rowCount": { - "description": "The cardinality of the pivot. The total number of rows for this pivot's fields regardless of how the parameters `offset` and `limit` are specified in the request.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "PivotOrderBy": { - "description": "Sorts by a pivot column group.", - "id": "PivotOrderBy", - "properties": { - "metricName": { - "description": "In the response to order by, order rows by this column. Must be a metric name from the request.", - "type": "string" - }, - "pivotSelections": { - "description": "Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.", - "items": { - "$ref": "PivotSelection" - }, - "type": "array" - } - }, - "type": "object" - }, - "PivotSelection": { - "description": "A pair of dimension names and values. Rows with this dimension pivot pair are ordered by the metric's value. For example if pivots = {{\"browser\", \"Chrome\"}} and metric_name = \"Sessions\", then the rows will be sorted based on Sessions in Chrome. ---------|----------|----------------|----------|---------------- | Chrome | Chrome | Safari | Safari ---------|----------|----------------|----------|---------------- Country | Sessions | Pages/Sessions | Sessions | Pages/Sessions ---------|----------|----------------|----------|---------------- US | 2 | 2 | 3 | 1 ---------|----------|----------------|----------|---------------- Canada | 3 | 1 | 4 | 1 ---------|----------|----------------|----------|----------------", - "id": "PivotSelection", - "properties": { - "dimensionName": { - "description": "Must be a dimension name from the request.", - "type": "string" - }, - "dimensionValue": { - "description": "Order by only when the named dimension is this value.", - "type": "string" - } - }, - "type": "object" - }, - "PropertyQuota": { - "description": "Current state of all quotas for this Analytics Property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors.", - "id": "PropertyQuota", - "properties": { - "concurrentRequests": { - "$ref": "QuotaStatus", - "description": "Standard Analytics Properties can send up to 10 concurrent requests; Analytics 360 Properties can use up to 50 concurrent requests." - }, - "serverErrorsPerProjectPerHour": { - "$ref": "QuotaStatus", - "description": "Standard Analytics Properties and cloud project pairs can have up to 10 server errors per hour; Analytics 360 Properties and cloud project pairs can have up to 50 server errors per hour." - }, - "tokensPerDay": { - "$ref": "QuotaStatus", - "description": "Standard Analytics Properties can use up to 25,000 tokens per day; Analytics 360 Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens." - }, - "tokensPerHour": { - "$ref": "QuotaStatus", - "description": "Standard Analytics Properties can use up to 5,000 tokens per hour; Analytics 360 Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from both the hourly and daily quotas." - } - }, - "type": "object" - }, - "QuotaStatus": { - "description": "Current state for a particular quota group.", - "id": "QuotaStatus", - "properties": { - "consumed": { - "description": "Quota consumed by this request.", - "format": "int32", - "type": "integer" - }, - "remaining": { - "description": "Quota remaining after this request.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ResponseMetaData": { - "description": "Response's metadata carrying additional information about the report content.", - "id": "ResponseMetaData", - "properties": { - "dataLossFromOtherRow": { - "description": "If true, indicates some buckets of dimension combinations are rolled into \"(other)\" row. This can happen for high cardinality reports.", - "type": "boolean" - } - }, - "type": "object" - }, - "Row": { - "description": "Report data for each row. For example if RunReportRequest contains: ```none \"dimensions\": [ { \"name\": \"eventName\" }, { \"name\": \"countryId\" } ], \"metrics\": [ { \"name\": \"eventCount\" } ] ``` One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and 15 as the eventCount, would be: ```none \"dimensionValues\": [ { \"value\": \"in_app_purchase\" }, { \"value\": \"JP\" } ], \"metricValues\": [ { \"value\": \"15\" } ] ```", - "id": "Row", - "properties": { - "dimensionValues": { - "description": "List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "metricValues": { - "description": "List of requested visible metric values.", - "items": { - "$ref": "MetricValue" - }, - "type": "array" - } - }, - "type": "object" - }, - "RunPivotReportRequest": { - "description": "The request to generate a pivot report.", - "id": "RunPivotReportRequest", - "properties": { - "cohortSpec": { - "$ref": "CohortSpec", - "description": "Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present." - }, - "currencyCode": { - "description": "A currency code in ISO4217 format, such as \"AED\", \"USD\", \"JPY\". If the field is empty, the report uses the entity's default currency.", - "type": "string" - }, - "dateRanges": { - "description": "The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name \"dateRange\" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this `dateRanges` must be unspecified.", - "items": { - "$ref": "DateRange" - }, - "type": "array" - }, - "dimensionFilter": { - "$ref": "FilterExpression", - "description": "The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter." - }, - "dimensions": { - "description": "The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "entity": { - "$ref": "Entity", - "description": "A property whose events are tracked. Within a batch request, this entity should either be unspecified or consistent with the batch-level entity." - }, - "keepEmptyRows": { - "description": "If false or unspecified, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter.", - "type": "boolean" - }, - "metricFilter": { - "$ref": "FilterExpression", - "description": "The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter." - }, - "metrics": { - "description": "The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "pivots": { - "description": "Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.", - "items": { - "$ref": "Pivot" - }, - "type": "array" - }, - "returnPropertyQuota": { - "description": "Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in [PropertyQuota](#PropertyQuota).", - "type": "boolean" - } - }, - "type": "object" - }, - "RunPivotReportResponse": { - "description": "The response pivot report table corresponding to a pivot request.", - "id": "RunPivotReportResponse", - "properties": { - "aggregates": { - "description": "Aggregation of metric values. Can be totals, minimums, or maximums. The returned aggregations are controlled by the metric_aggregations in the pivot. The type of aggregation returned in each row is shown by the dimension_values which are set to \"RESERVED_\".", - "items": { - "$ref": "Row" - }, - "type": "array" - }, - "dimensionHeaders": { - "description": "Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.", - "items": { - "$ref": "DimensionHeader" - }, - "type": "array" - }, - "metadata": { - "$ref": "ResponseMetaData", - "description": "Metadata for the report." - }, - "metricHeaders": { - "description": "Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.", - "items": { - "$ref": "MetricHeader" - }, - "type": "array" - }, - "pivotHeaders": { - "description": "Summarizes the columns and rows created by a pivot. Each pivot in the request produces one header in the response. If we have a request like this: \"pivots\": [{ \"fieldNames\": [\"country\", \"city\"] }, { \"fieldNames\": \"eventName\" }] We will have the following `pivotHeaders` in the response: \"pivotHeaders\" : [{ \"dimensionHeaders\": [{ \"dimensionValues\": [ { \"value\": \"United Kingdom\" }, { \"value\": \"London\" } ] }, { \"dimensionValues\": [ { \"value\": \"Japan\" }, { \"value\": \"Osaka\" } ] }] }, { \"dimensionHeaders\": [{ \"dimensionValues\": [{ \"value\": \"session_start\" }] }, { \"dimensionValues\": [{ \"value\": \"scroll\" }] }] }]", - "items": { - "$ref": "PivotHeader" - }, - "type": "array" - }, - "propertyQuota": { - "$ref": "PropertyQuota", - "description": "This Analytics Property's quota state including this request." - }, - "rows": { - "description": "Rows of dimension value combinations and metric values in the report.", - "items": { - "$ref": "Row" - }, - "type": "array" - } - }, - "type": "object" - }, - "RunRealtimeReportRequest": { - "description": "The request to generate a realtime report.", - "id": "RunRealtimeReportRequest", - "properties": { - "dimensionFilter": { - "$ref": "FilterExpression", - "description": "The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter." - }, - "dimensions": { - "description": "The dimensions requested and displayed.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "limit": { - "description": "The number of rows to return. If the `limit` parameter is unspecified, 10,000 rows are returned. The API returns a maximum of 100,000 rows per request, no matter how many you ask for.", - "format": "int64", - "type": "string" - }, - "metricAggregations": { - "description": "Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to \"RESERVED_(MetricAggregation)\".", - "items": { - "enum": [ - "METRIC_AGGREGATION_UNSPECIFIED", - "TOTAL", - "MINIMUM", - "MAXIMUM", - "COUNT" - ], - "enumDescriptions": [ - "Unspecified operator.", - "SUM operator.", - "Minimum operator.", - "Maximum operator.", - "Count operator." - ], - "type": "string" - }, - "type": "array" - }, - "metricFilter": { - "$ref": "FilterExpression", - "description": "The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter." - }, - "metrics": { - "description": "The metrics requested and displayed.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "orderBys": { - "description": "Specifies how rows are ordered in the response.", - "items": { - "$ref": "OrderBy" - }, - "type": "array" - }, - "returnPropertyQuota": { - "description": "Toggles whether to return the current state of this Analytics Property's Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).", - "type": "boolean" - } - }, - "type": "object" - }, - "RunRealtimeReportResponse": { - "description": "The response realtime report table corresponding to a request.", - "id": "RunRealtimeReportResponse", - "properties": { - "dimensionHeaders": { - "description": "Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.", - "items": { - "$ref": "DimensionHeader" - }, - "type": "array" - }, - "maximums": { - "description": "If requested, the maximum values of metrics.", - "items": { - "$ref": "Row" - }, - "type": "array" - }, - "metricHeaders": { - "description": "Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.", - "items": { - "$ref": "MetricHeader" - }, - "type": "array" - }, - "minimums": { - "description": "If requested, the minimum values of metrics.", - "items": { - "$ref": "Row" - }, - "type": "array" - }, - "propertyQuota": { - "$ref": "PropertyQuota", - "description": "This Analytics Property's Realtime quota state including this request." - }, - "rowCount": { - "description": "The total number of rows in the query result, regardless of the number of rows returned in the response. For example if a query returns 175 rows and includes limit = 50 in the API request, the response will contain row_count = 175 but only 50 rows.", - "format": "int32", - "type": "integer" - }, - "rows": { - "description": "Rows of dimension value combinations and metric values in the report.", - "items": { - "$ref": "Row" - }, - "type": "array" - }, - "totals": { - "description": "If requested, the totaled values of metrics.", - "items": { - "$ref": "Row" - }, - "type": "array" - } - }, - "type": "object" - }, - "RunReportRequest": { - "description": "The request to generate a report.", - "id": "RunReportRequest", - "properties": { - "cohortSpec": { - "$ref": "CohortSpec", - "description": "Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present." - }, - "currencyCode": { - "description": "A currency code in ISO4217 format, such as \"AED\", \"USD\", \"JPY\". If the field is empty, the report uses the entity's default currency.", - "type": "string" - }, - "dateRanges": { - "description": "Date ranges of data to read. If multiple date ranges are requested, each response row will contain a zero based date range index. If two date ranges overlap, the event data for the overlapping days is included in the response rows for both date ranges. In a cohort request, this `dateRanges` must be unspecified.", - "items": { - "$ref": "DateRange" - }, - "type": "array" - }, - "dimensionFilter": { - "$ref": "FilterExpression", - "description": "The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter." - }, - "dimensions": { - "description": "The dimensions requested and displayed.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "entity": { - "$ref": "Entity", - "description": "A property whose events are tracked. Within a batch request, this entity should either be unspecified or consistent with the batch-level entity." - }, - "keepEmptyRows": { - "description": "If false or unspecified, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter.", - "type": "boolean" - }, - "limit": { - "description": "The number of rows to return. If the `limit` parameter is unspecified, 10,000 rows are returned. The API returns a maximum of 100,000 rows per request, no matter how many you ask for.", - "format": "int64", - "type": "string" - }, - "metricAggregations": { - "description": "Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to \"RESERVED_(MetricAggregation)\".", - "items": { - "enum": [ - "METRIC_AGGREGATION_UNSPECIFIED", - "TOTAL", - "MINIMUM", - "MAXIMUM", - "COUNT" - ], - "enumDescriptions": [ - "Unspecified operator.", - "SUM operator.", - "Minimum operator.", - "Maximum operator.", - "Count operator." - ], - "type": "string" - }, - "type": "array" - }, - "metricFilter": { - "$ref": "FilterExpression", - "description": "The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter." - }, - "metrics": { - "description": "The metrics requested and displayed.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "offset": { - "description": "The row count of the start row. The first row is counted as row 0.", - "format": "int64", - "type": "string" - }, - "orderBys": { - "description": "Specifies how rows are ordered in the response.", - "items": { - "$ref": "OrderBy" - }, - "type": "array" - }, - "returnPropertyQuota": { - "description": "Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in [PropertyQuota](#PropertyQuota).", - "type": "boolean" - } - }, - "type": "object" - }, - "RunReportResponse": { - "description": "The response report table corresponding to a request.", - "id": "RunReportResponse", - "properties": { - "dimensionHeaders": { - "description": "Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.", - "items": { - "$ref": "DimensionHeader" - }, - "type": "array" - }, - "maximums": { - "description": "If requested, the maximum values of metrics.", - "items": { - "$ref": "Row" - }, - "type": "array" - }, - "metadata": { - "$ref": "ResponseMetaData", - "description": "Metadata for the report." - }, - "metricHeaders": { - "description": "Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.", - "items": { - "$ref": "MetricHeader" - }, - "type": "array" - }, - "minimums": { - "description": "If requested, the minimum values of metrics.", - "items": { - "$ref": "Row" - }, - "type": "array" - }, - "propertyQuota": { - "$ref": "PropertyQuota", - "description": "This Analytics Property's quota state including this request." - }, - "rowCount": { - "description": "The total number of rows in the query result, regardless of the number of rows returned in the response. For example if a query returns 175 rows and includes limit = 50 in the API request, the response will contain row_count = 175 but only 50 rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).", - "format": "int32", - "type": "integer" - }, - "rows": { - "description": "Rows of dimension value combinations and metric values in the report.", - "items": { - "$ref": "Row" - }, - "type": "array" - }, - "totals": { - "description": "If requested, the totaled values of metrics.", - "items": { - "$ref": "Row" - }, - "type": "array" - } - }, - "type": "object" - }, - "StringFilter": { - "description": "The filter for string", - "id": "StringFilter", - "properties": { - "caseSensitive": { - "description": "If true, the string value is case sensitive.", - "type": "boolean" - }, - "matchType": { - "description": "The match type for this filter.", - "enum": [ - "MATCH_TYPE_UNSPECIFIED", - "EXACT", - "BEGINS_WITH", - "ENDS_WITH", - "CONTAINS", - "FULL_REGEXP", - "PARTIAL_REGEXP" - ], - "enumDescriptions": [ - "Unspecified", - "Exact match of the string value.", - "Begins with the string value.", - "Ends with the string value.", - "Contains the string value.", - "Full regular expression match with the string value.", - "Partial regular expression match with the string value." - ], - "type": "string" - }, - "value": { - "description": "The string value used for the matching.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Google Analytics Data API", - "version": "v1alpha", - "version_module": true -} \ No newline at end of file diff --git a/discovery/analyticsreporting-v4.json b/discovery/analyticsreporting-v4.json deleted file mode 100644 index de0bf341c6e..00000000000 --- a/discovery/analyticsreporting-v4.json +++ /dev/null @@ -1,1683 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/analytics": { - "description": "View and manage your Google Analytics data" - }, - "https://www.googleapis.com/auth/analytics.readonly": { - "description": "See and download your Google Analytics data" - } - } - } - }, - "basePath": "", - "baseUrl": "https://analyticsreporting.googleapis.com/", - "batchPath": "batch", - "canonicalName": "AnalyticsReporting", - "description": "Accesses Analytics report data.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/analytics/devguides/reporting/core/v4/", - "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": "analyticsreporting:v4", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://analyticsreporting.mtls.googleapis.com/", - "name": "analyticsreporting", - "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": { - "reports": { - "methods": { - "batchGet": { - "description": "Returns the Analytics data.", - "flatPath": "v4/reports:batchGet", - "httpMethod": "POST", - "id": "analyticsreporting.reports.batchGet", - "parameterOrder": [], - "parameters": {}, - "path": "v4/reports:batchGet", - "request": { - "$ref": "GetReportsRequest" - }, - "response": { - "$ref": "GetReportsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.readonly" - ] - } - } - }, - "userActivity": { - "methods": { - "search": { - "description": "Returns User Activity data.", - "flatPath": "v4/userActivity:search", - "httpMethod": "POST", - "id": "analyticsreporting.userActivity.search", - "parameterOrder": [], - "parameters": {}, - "path": "v4/userActivity:search", - "request": { - "$ref": "SearchUserActivityRequest" - }, - "response": { - "$ref": "SearchUserActivityResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.readonly" - ] - } - } - } - }, - "revision": "20211021", - "rootUrl": "https://analyticsreporting.googleapis.com/", - "schemas": { - "Activity": { - "description": "An Activity represents data for an activity of a user. Note that an Activity is different from a hit. A hit might result in multiple Activity's. For example, if a hit includes a transaction and a goal completion, there will be two Activity protos for this hit, one for ECOMMERCE and one for GOAL. Conversely, multiple hits can also construct one Activity. In classic e-commerce, data for one transaction might be sent through multiple hits. These hits will be merged into one ECOMMERCE Activity.", - "id": "Activity", - "properties": { - "activityTime": { - "description": "Timestamp of the activity. If activities for a visit cross midnight and occur in two separate dates, then two sessions (one per date) share the session identifier. For example, say session ID 113472 has activity within 2019-08-20, and session ID 243742 has activity within 2019-08-25 and 2019-08-26. Session ID 113472 is one session, and session ID 243742 is two sessions.", - "format": "google-datetime", - "type": "string" - }, - "activityType": { - "description": "Type of this activity.", - "enum": [ - "ACTIVITY_TYPE_UNSPECIFIED", - "PAGEVIEW", - "SCREENVIEW", - "GOAL", - "ECOMMERCE", - "EVENT" - ], - "enumDescriptions": [ - "ActivityType will never have this value in the response. Using this type in the request will result in an error.", - "Used when the activity resulted out of a visitor viewing a page.", - "Used when the activity resulted out of a visitor using an application on a mobile device.", - "Used to denote that a goal type activity.", - "An e-commerce transaction was performed by the visitor on the page.", - "Used when the activity is an event." - ], - "type": "string" - }, - "appview": { - "$ref": "ScreenviewData", - "description": "This will be set if `activity_type` equals `SCREEN_VIEW`." - }, - "campaign": { - "description": "For manual campaign tracking, it is the value of the utm_campaign campaign tracking parameter. For AdWords autotagging, it is the name(s) of the online ad campaign(s) you use for the property. If you use neither, its value is (not set).", - "type": "string" - }, - "channelGrouping": { - "description": "The Channel Group associated with an end user's session for this View (defined by the View's Channel Groupings).", - "type": "string" - }, - "customDimension": { - "description": "A list of all custom dimensions associated with this activity.", - "items": { - "$ref": "CustomDimension" - }, - "type": "array" - }, - "ecommerce": { - "$ref": "EcommerceData", - "description": "This will be set if `activity_type` equals `ECOMMERCE`." - }, - "event": { - "$ref": "EventData", - "description": "This field contains all the details pertaining to an event and will be set if `activity_type` equals `EVENT`." - }, - "goals": { - "$ref": "GoalSetData", - "description": "This field contains a list of all the goals that were reached in this activity when `activity_type` equals `GOAL`." - }, - "hostname": { - "description": "The hostname from which the tracking request was made.", - "type": "string" - }, - "keyword": { - "description": "For manual campaign tracking, it is the value of the utm_term campaign tracking parameter. For AdWords traffic, it contains the best matching targeting criteria. For the display network, where multiple targeting criteria could have caused the ad to show up, it returns the best matching targeting criteria as selected by Ads. This could be display_keyword, site placement, boomuserlist, user_interest, age, or gender. Otherwise its value is (not set).", - "type": "string" - }, - "landingPagePath": { - "description": "The first page in users' sessions, or the landing page.", - "type": "string" - }, - "medium": { - "description": "The type of referrals. For manual campaign tracking, it is the value of the utm_medium campaign tracking parameter. For AdWords autotagging, it is cpc. If users came from a search engine detected by Google Analytics, it is organic. If the referrer is not a search engine, it is referral. If users came directly to the property and document.referrer is empty, its value is (none).", - "type": "string" - }, - "pageview": { - "$ref": "PageviewData", - "description": "This will be set if `activity_type` equals `PAGEVIEW`. This field contains all the details about the visitor and the page that was visited." - }, - "source": { - "description": "The source of referrals. For manual campaign tracking, it is the value of the utm_source campaign tracking parameter. For AdWords autotagging, it is google. If you use neither, it is the domain of the source (e.g., document.referrer) referring the users. It may also contain a port address. If users arrived without a referrer, its value is (direct).", - "type": "string" - } - }, - "type": "object" - }, - "Cohort": { - "description": "Defines a cohort. A cohort is a group of users who share a common characteristic. For example, all users with the same acquisition date belong to the same cohort.", - "id": "Cohort", - "properties": { - "dateRange": { - "$ref": "DateRange", - "description": "This is used for `FIRST_VISIT_DATE` cohort, the cohort selects users whose first visit date is between start date and end date defined in the DateRange. The date ranges should be aligned for cohort requests. If the request contains `ga:cohortNthDay` it should be exactly one day long, if `ga:cohortNthWeek` it should be aligned to the week boundary (starting at Sunday and ending Saturday), and for `ga:cohortNthMonth` the date range should be aligned to the month (starting at the first and ending on the last day of the month). For LTV requests there are no such restrictions. You do not need to supply a date range for the `reportsRequest.dateRanges` field." - }, - "name": { - "description": "A unique name for the cohort. If not defined name will be auto-generated with values cohort_[1234...].", - "type": "string" - }, - "type": { - "description": "Type of the cohort. The only supported type as of now is `FIRST_VISIT_DATE`. If this field is unspecified the cohort is treated as `FIRST_VISIT_DATE` type cohort.", - "enum": [ - "UNSPECIFIED_COHORT_TYPE", - "FIRST_VISIT_DATE" - ], - "enumDescriptions": [ - "If unspecified it's treated as `FIRST_VISIT_DATE`.", - "Cohorts that are selected based on first visit date." - ], - "type": "string" - } - }, - "type": "object" - }, - "CohortGroup": { - "description": "Defines a cohort group. For example: \"cohortGroup\": { \"cohorts\": [{ \"name\": \"cohort 1\", \"type\": \"FIRST_VISIT_DATE\", \"dateRange\": { \"startDate\": \"2015-08-01\", \"endDate\": \"2015-08-01\" } },{ \"name\": \"cohort 2\" \"type\": \"FIRST_VISIT_DATE\" \"dateRange\": { \"startDate\": \"2015-07-01\", \"endDate\": \"2015-07-01\" } }] }", - "id": "CohortGroup", - "properties": { - "cohorts": { - "description": "The definition for the cohort.", - "items": { - "$ref": "Cohort" - }, - "type": "array" - }, - "lifetimeValue": { - "description": "Enable Life Time Value (LTV). LTV measures lifetime value for users acquired through different channels. Please see: [Cohort Analysis](https://support.google.com/analytics/answer/6074676) and [Lifetime Value](https://support.google.com/analytics/answer/6182550) If the value of lifetimeValue is false: - The metric values are similar to the values in the web interface cohort report. - The cohort definition date ranges must be aligned to the calendar week and month. i.e. while requesting `ga:cohortNthWeek` the `startDate` in the cohort definition should be a Sunday and the `endDate` should be the following Saturday, and for `ga:cohortNthMonth`, the `startDate` should be the 1st of the month and `endDate` should be the last day of the month. When the lifetimeValue is true: - The metric values will correspond to the values in the web interface LifeTime value report. - The Lifetime Value report shows you how user value (Revenue) and engagement (Appviews, Goal Completions, Sessions, and Session Duration) grow during the 90 days after a user is acquired. - The metrics are calculated as a cumulative average per user per the time increment. - The cohort definition date ranges need not be aligned to the calendar week and month boundaries. - The `viewId` must be an [app view ID](https://support.google.com/analytics/answer/2649553#WebVersusAppViews)", - "type": "boolean" - } - }, - "type": "object" - }, - "ColumnHeader": { - "description": "Column headers.", - "id": "ColumnHeader", - "properties": { - "dimensions": { - "description": "The dimension names in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "metricHeader": { - "$ref": "MetricHeader", - "description": "Metric headers for the metrics in the response." - } - }, - "type": "object" - }, - "CustomDimension": { - "description": "Custom dimension.", - "id": "CustomDimension", - "properties": { - "index": { - "description": "Slot number of custom dimension.", - "format": "int32", - "type": "integer" - }, - "value": { - "description": "Value of the custom dimension. Default value (i.e. empty string) indicates clearing sesion/visitor scope custom dimension value.", - "type": "string" - } - }, - "type": "object" - }, - "DateRange": { - "description": "A contiguous set of days: startDate, startDate + 1 day, ..., endDate. The start and end dates are specified in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`.", - "id": "DateRange", - "properties": { - "endDate": { - "description": "The end date for the query in the format `YYYY-MM-DD`.", - "type": "string" - }, - "startDate": { - "description": "The start date for the query in the format `YYYY-MM-DD`.", - "type": "string" - } - }, - "type": "object" - }, - "DateRangeValues": { - "description": "Used to return a list of metrics for a single DateRange / dimension combination", - "id": "DateRangeValues", - "properties": { - "pivotValueRegions": { - "description": "The values of each pivot region.", - "items": { - "$ref": "PivotValueRegion" - }, - "type": "array" - }, - "values": { - "description": "Each value corresponds to each Metric in the request.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Dimension": { - "description": "[Dimensions](https://support.google.com/analytics/answer/1033861) are attributes of your data. For example, the dimension `ga:city` indicates the city, for example, \"Paris\" or \"New York\", from which a session originates.", - "id": "Dimension", - "properties": { - "histogramBuckets": { - "description": "If non-empty, we place dimension values into buckets after string to int64. Dimension values that are not the string representation of an integral value will be converted to zero. The bucket values have to be in increasing order. Each bucket is closed on the lower end, and open on the upper end. The \"first\" bucket includes all values less than the first boundary, the \"last\" bucket includes all values up to infinity. Dimension values that fall in a bucket get transformed to a new dimension value. For example, if one gives a list of \"0, 1, 3, 4, 7\", then we return the following buckets: - bucket #1: values < 0, dimension value \"<0\" - bucket #2: values in [0,1), dimension value \"0\" - bucket #3: values in [1,3), dimension value \"1-2\" - bucket #4: values in [3,4), dimension value \"3\" - bucket #5: values in [4,7), dimension value \"4-6\" - bucket #6: values >= 7, dimension value \"7+\" NOTE: If you are applying histogram mutation on any dimension, and using that dimension in sort, you will want to use the sort type `HISTOGRAM_BUCKET` for that purpose. Without that the dimension values will be sorted according to dictionary (lexicographic) order. For example the ascending dictionary order is: \"<50\", \"1001+\", \"121-1000\", \"50-120\" And the ascending `HISTOGRAM_BUCKET` order is: \"<50\", \"50-120\", \"121-1000\", \"1001+\" The client has to explicitly request `\"orderType\": \"HISTOGRAM_BUCKET\"` for a histogram-mutated dimension.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Name of the dimension to fetch, for example `ga:browser`.", - "type": "string" - } - }, - "type": "object" - }, - "DimensionFilter": { - "description": "Dimension filter specifies the filtering options on a dimension.", - "id": "DimensionFilter", - "properties": { - "caseSensitive": { - "description": "Should the match be case sensitive? Default is false.", - "type": "boolean" - }, - "dimensionName": { - "description": "The dimension to filter on. A DimensionFilter must contain a dimension.", - "type": "string" - }, - "expressions": { - "description": "Strings or regular expression to match against. Only the first value of the list is used for comparison unless the operator is `IN_LIST`. If `IN_LIST` operator, then the entire list is used to filter the dimensions as explained in the description of the `IN_LIST` operator.", - "items": { - "type": "string" - }, - "type": "array" - }, - "not": { - "description": "Logical `NOT` operator. If this boolean is set to true, then the matching dimension values will be excluded in the report. The default is false.", - "type": "boolean" - }, - "operator": { - "description": "How to match the dimension to the expression. The default is REGEXP.", - "enum": [ - "OPERATOR_UNSPECIFIED", - "REGEXP", - "BEGINS_WITH", - "ENDS_WITH", - "PARTIAL", - "EXACT", - "NUMERIC_EQUAL", - "NUMERIC_GREATER_THAN", - "NUMERIC_LESS_THAN", - "IN_LIST" - ], - "enumDescriptions": [ - "If the match type is unspecified, it is treated as a `REGEXP`.", - "The match expression is treated as a regular expression. All match types are not treated as regular expressions.", - "Matches the value which begin with the match expression provided.", - "Matches the values which end with the match expression provided.", - "Substring match.", - "The value should match the match expression entirely.", - "Integer comparison filters. case sensitivity is ignored for these and the expression is assumed to be a string representing an integer. Failure conditions: - If expression is not a valid int64, the client should expect an error. - Input dimensions that are not valid int64 values will never match the filter.", - "Checks if the dimension is numerically greater than the match expression. Read the description for `NUMERIC_EQUALS` for restrictions.", - "Checks if the dimension is numerically less than the match expression. Read the description for `NUMERIC_EQUALS` for restrictions.", - "This option is used to specify a dimension filter whose expression can take any value from a selected list of values. This helps avoiding evaluating multiple exact match dimension filters which are OR'ed for every single response row. For example: expressions: [\"A\", \"B\", \"C\"] Any response row whose dimension has it is value as A, B or C, matches this DimensionFilter." - ], - "type": "string" - } - }, - "type": "object" - }, - "DimensionFilterClause": { - "description": "A group of dimension filters. Set the operator value to specify how the filters are logically combined.", - "id": "DimensionFilterClause", - "properties": { - "filters": { - "description": "The repeated set of filters. They are logically combined based on the operator specified.", - "items": { - "$ref": "DimensionFilter" - }, - "type": "array" - }, - "operator": { - "description": "The operator for combining multiple dimension filters. If unspecified, it is treated as an `OR`.", - "enum": [ - "OPERATOR_UNSPECIFIED", - "OR", - "AND" - ], - "enumDescriptions": [ - "Unspecified operator. It is treated as an `OR`.", - "The logical `OR` operator.", - "The logical `AND` operator." - ], - "type": "string" - } - }, - "type": "object" - }, - "DynamicSegment": { - "description": "Dynamic segment definition for defining the segment within the request. A segment can select users, sessions or both.", - "id": "DynamicSegment", - "properties": { - "name": { - "description": "The name of the dynamic segment.", - "type": "string" - }, - "sessionSegment": { - "$ref": "SegmentDefinition", - "description": "Session Segment to select sessions to include in the segment." - }, - "userSegment": { - "$ref": "SegmentDefinition", - "description": "User Segment to select users to include in the segment." - } - }, - "type": "object" - }, - "EcommerceData": { - "description": "E-commerce details associated with the user activity.", - "id": "EcommerceData", - "properties": { - "actionType": { - "description": "Action associated with this e-commerce action.", - "enum": [ - "UNKNOWN", - "CLICK", - "DETAILS_VIEW", - "ADD_TO_CART", - "REMOVE_FROM_CART", - "CHECKOUT", - "PAYMENT", - "REFUND", - "CHECKOUT_OPTION" - ], - "enumDescriptions": [ - "Action type is not known.", - "Click through of product lists.", - "Product detail views.", - "Add product(s) to cart.", - "Remove product(s) from cart.", - "Check out.", - "Completed purchase.", - "Refund of purchase.", - "Checkout options." - ], - "type": "string" - }, - "ecommerceType": { - "description": "The type of this e-commerce activity.", - "enum": [ - "ECOMMERCE_TYPE_UNSPECIFIED", - "CLASSIC", - "ENHANCED" - ], - "enumDescriptions": [ - "Used when the e-commerce activity type is unspecified.", - "Used when activity has classic (non-enhanced) e-commerce information.", - "Used when activity has enhanced e-commerce information." - ], - "type": "string" - }, - "products": { - "description": "Details of the products in this transaction.", - "items": { - "$ref": "ProductData" - }, - "type": "array" - }, - "transaction": { - "$ref": "TransactionData", - "description": "Transaction details of this e-commerce action." - } - }, - "type": "object" - }, - "EventData": { - "description": "Represents all the details pertaining to an event.", - "id": "EventData", - "properties": { - "eventAction": { - "description": "Type of interaction with the object. Eg: 'play'.", - "type": "string" - }, - "eventCategory": { - "description": "The object on the page that was interacted with. Eg: 'Video'.", - "type": "string" - }, - "eventCount": { - "description": "Number of such events in this activity.", - "format": "int64", - "type": "string" - }, - "eventLabel": { - "description": "Label attached with the event.", - "type": "string" - }, - "eventValue": { - "description": "Numeric value associated with the event.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GetReportsRequest": { - "description": "The batch request containing multiple report request.", - "id": "GetReportsRequest", - "properties": { - "reportRequests": { - "description": "Requests, each request will have a separate response. There can be a maximum of 5 requests. All requests should have the same `dateRanges`, `viewId`, `segments`, `samplingLevel`, and `cohortGroup`.", - "items": { - "$ref": "ReportRequest" - }, - "type": "array" - }, - "useResourceQuotas": { - "description": "Enables [resource based quotas](/analytics/devguides/reporting/core/v4/limits-quotas#analytics_reporting_api_v4), (defaults to `False`). If this field is set to `True` the per view (profile) quotas are governed by the computational cost of the request. Note that using cost based quotas will higher enable sampling rates. (10 Million for `SMALL`, 100M for `LARGE`. See the [limits and quotas documentation](/analytics/devguides/reporting/core/v4/limits-quotas#analytics_reporting_api_v4) for details.", - "type": "boolean" - } - }, - "type": "object" - }, - "GetReportsResponse": { - "description": "The main response class which holds the reports from the Reporting API `batchGet` call.", - "id": "GetReportsResponse", - "properties": { - "queryCost": { - "description": "The amount of resource quota tokens deducted to execute the query. Includes all responses.", - "format": "int32", - "type": "integer" - }, - "reports": { - "description": "Responses corresponding to each of the request.", - "items": { - "$ref": "Report" - }, - "type": "array" - }, - "resourceQuotasRemaining": { - "$ref": "ResourceQuotasRemaining", - "description": "The amount of resource quota remaining for the property." - } - }, - "type": "object" - }, - "GoalData": { - "description": "Represents all the details pertaining to a goal.", - "id": "GoalData", - "properties": { - "goalCompletionLocation": { - "description": "URL of the page where this goal was completed.", - "type": "string" - }, - "goalCompletions": { - "description": "Total number of goal completions in this activity.", - "format": "int64", - "type": "string" - }, - "goalIndex": { - "description": "This identifies the goal as configured for the profile.", - "format": "int32", - "type": "integer" - }, - "goalName": { - "description": "Name of the goal.", - "type": "string" - }, - "goalPreviousStep1": { - "description": "URL of the page one step prior to the goal completion.", - "type": "string" - }, - "goalPreviousStep2": { - "description": "URL of the page two steps prior to the goal completion.", - "type": "string" - }, - "goalPreviousStep3": { - "description": "URL of the page three steps prior to the goal completion.", - "type": "string" - }, - "goalValue": { - "description": "Value in this goal.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "GoalSetData": { - "description": "Represents a set of goals that were reached in an activity.", - "id": "GoalSetData", - "properties": { - "goals": { - "description": "All the goals that were reached in the current activity.", - "items": { - "$ref": "GoalData" - }, - "type": "array" - } - }, - "type": "object" - }, - "Metric": { - "description": "[Metrics](https://support.google.com/analytics/answer/1033861) are the quantitative measurements. For example, the metric `ga:users` indicates the total number of users for the requested time period.", - "id": "Metric", - "properties": { - "alias": { - "description": "An alias for the metric expression is an alternate name for the expression. The alias can be used for filtering and sorting. This field is optional and is useful if the expression is not a single metric but a complex expression which cannot be used in filtering and sorting. The alias is also used in the response column header.", - "type": "string" - }, - "expression": { - "description": "A metric expression in the request. An expression is constructed from one or more metrics and numbers. Accepted operators include: Plus (+), Minus (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, Positive cardinal numbers (0-9), can include decimals and is limited to 1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the metric expression is just a single metric name like `ga:users`. Adding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`) metrics will result in unexpected results.", - "type": "string" - }, - "formattingType": { - "description": "Specifies how the metric expression should be formatted, for example `INTEGER`.", - "enum": [ - "METRIC_TYPE_UNSPECIFIED", - "INTEGER", - "FLOAT", - "CURRENCY", - "PERCENT", - "TIME" - ], - "enumDescriptions": [ - "Metric type is unspecified.", - "Integer metric.", - "Float metric.", - "Currency metric.", - "Percentage metric.", - "Time metric in `HH:MM:SS` format." - ], - "type": "string" - } - }, - "type": "object" - }, - "MetricFilter": { - "description": "MetricFilter specifies the filter on a metric.", - "id": "MetricFilter", - "properties": { - "comparisonValue": { - "description": "The value to compare against.", - "type": "string" - }, - "metricName": { - "description": "The metric that will be filtered on. A metricFilter must contain a metric name. A metric name can be an alias earlier defined as a metric or it can also be a metric expression.", - "type": "string" - }, - "not": { - "description": "Logical `NOT` operator. If this boolean is set to true, then the matching metric values will be excluded in the report. The default is false.", - "type": "boolean" - }, - "operator": { - "description": "Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the comparisonValue, the default is `EQUAL`. If the operator is `IS_MISSING`, checks if the metric is missing and would ignore the comparisonValue.", - "enum": [ - "OPERATOR_UNSPECIFIED", - "EQUAL", - "LESS_THAN", - "GREATER_THAN", - "IS_MISSING" - ], - "enumDescriptions": [ - "If the operator is not specified, it is treated as `EQUAL`.", - "Should the value of the metric be exactly equal to the comparison value.", - "Should the value of the metric be less than to the comparison value.", - "Should the value of the metric be greater than to the comparison value.", - "Validates if the metric is missing. Doesn't take comparisonValue into account." - ], - "type": "string" - } - }, - "type": "object" - }, - "MetricFilterClause": { - "description": "Represents a group of metric filters. Set the operator value to specify how the filters are logically combined.", - "id": "MetricFilterClause", - "properties": { - "filters": { - "description": "The repeated set of filters. They are logically combined based on the operator specified.", - "items": { - "$ref": "MetricFilter" - }, - "type": "array" - }, - "operator": { - "description": "The operator for combining multiple metric filters. If unspecified, it is treated as an `OR`.", - "enum": [ - "OPERATOR_UNSPECIFIED", - "OR", - "AND" - ], - "enumDescriptions": [ - "Unspecified operator. It is treated as an `OR`.", - "The logical `OR` operator.", - "The logical `AND` operator." - ], - "type": "string" - } - }, - "type": "object" - }, - "MetricHeader": { - "description": "The headers for the metrics.", - "id": "MetricHeader", - "properties": { - "metricHeaderEntries": { - "description": "Headers for the metrics in the response.", - "items": { - "$ref": "MetricHeaderEntry" - }, - "type": "array" - }, - "pivotHeaders": { - "description": "Headers for the pivots in the response.", - "items": { - "$ref": "PivotHeader" - }, - "type": "array" - } - }, - "type": "object" - }, - "MetricHeaderEntry": { - "description": "Header for the metrics.", - "id": "MetricHeaderEntry", - "properties": { - "name": { - "description": "The name of the header.", - "type": "string" - }, - "type": { - "description": "The type of the metric, for example `INTEGER`.", - "enum": [ - "METRIC_TYPE_UNSPECIFIED", - "INTEGER", - "FLOAT", - "CURRENCY", - "PERCENT", - "TIME" - ], - "enumDescriptions": [ - "Metric type is unspecified.", - "Integer metric.", - "Float metric.", - "Currency metric.", - "Percentage metric.", - "Time metric in `HH:MM:SS` format." - ], - "type": "string" - } - }, - "type": "object" - }, - "OrFiltersForSegment": { - "description": "A list of segment filters in the `OR` group are combined with the logical OR operator.", - "id": "OrFiltersForSegment", - "properties": { - "segmentFilterClauses": { - "description": "List of segment filters to be combined with a `OR` operator.", - "items": { - "$ref": "SegmentFilterClause" - }, - "type": "array" - } - }, - "type": "object" - }, - "OrderBy": { - "description": "Specifies the sorting options.", - "id": "OrderBy", - "properties": { - "fieldName": { - "description": "The field which to sort by. The default sort order is ascending. Example: `ga:browser`. Note, that you can only specify one field for sort here. For example, `ga:browser, ga:city` is not valid.", - "type": "string" - }, - "orderType": { - "description": "The order type. The default orderType is `VALUE`.", - "enum": [ - "ORDER_TYPE_UNSPECIFIED", - "VALUE", - "DELTA", - "SMART", - "HISTOGRAM_BUCKET", - "DIMENSION_AS_INTEGER" - ], - "enumDescriptions": [ - "Unspecified order type will be treated as sort based on value.", - "The sort order is based on the value of the chosen column; looks only at the first date range.", - "The sort order is based on the difference of the values of the chosen column between the first two date ranges. Usable only if there are exactly two date ranges.", - "The sort order is based on weighted value of the chosen column. If column has n/d format, then weighted value of this ratio will be `(n + totals.n)/(d + totals.d)` Usable only for metrics that represent ratios.", - "Histogram order type is applicable only to dimension columns with non-empty histogram-buckets.", - "If the dimensions are fixed length numbers, ordinary sort would just work fine. `DIMENSION_AS_INTEGER` can be used if the dimensions are variable length numbers." - ], - "type": "string" - }, - "sortOrder": { - "description": "The sorting order for the field.", - "enum": [ - "SORT_ORDER_UNSPECIFIED", - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "If the sort order is unspecified, the default is ascending.", - "Ascending sort. The field will be sorted in an ascending manner.", - "Descending sort. The field will be sorted in a descending manner." - ], - "type": "string" - } - }, - "type": "object" - }, - "PageviewData": { - "description": "Represents details collected when the visitor views a page.", - "id": "PageviewData", - "properties": { - "pagePath": { - "description": "The URL of the page that the visitor viewed.", - "type": "string" - }, - "pageTitle": { - "description": "The title of the page that the visitor viewed.", - "type": "string" - } - }, - "type": "object" - }, - "Pivot": { - "description": "The Pivot describes the pivot section in the request. The Pivot helps rearrange the information in the table for certain reports by pivoting your data on a second dimension.", - "id": "Pivot", - "properties": { - "dimensionFilterClauses": { - "description": "DimensionFilterClauses are logically combined with an `AND` operator: only data that is included by all these DimensionFilterClauses contributes to the values in this pivot region. Dimension filters can be used to restrict the columns shown in the pivot region. For example if you have `ga:browser` as the requested dimension in the pivot region, and you specify key filters to restrict `ga:browser` to only \"IE\" or \"Firefox\", then only those two browsers would show up as columns.", - "items": { - "$ref": "DimensionFilterClause" - }, - "type": "array" - }, - "dimensions": { - "description": "A list of dimensions to show as pivot columns. A Pivot can have a maximum of 4 dimensions. Pivot dimensions are part of the restriction on the total number of dimensions allowed in the request.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "maxGroupCount": { - "description": "Specifies the maximum number of groups to return. The default value is 10, also the maximum value is 1,000.", - "format": "int32", - "type": "integer" - }, - "metrics": { - "description": "The pivot metrics. Pivot metrics are part of the restriction on total number of metrics allowed in the request.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "startGroup": { - "description": "If k metrics were requested, then the response will contain some data-dependent multiple of k columns in the report. E.g., if you pivoted on the dimension `ga:browser` then you'd get k columns for \"Firefox\", k columns for \"IE\", k columns for \"Chrome\", etc. The ordering of the groups of columns is determined by descending order of \"total\" for the first of the k values. Ties are broken by lexicographic ordering of the first pivot dimension, then lexicographic ordering of the second pivot dimension, and so on. E.g., if the totals for the first value for Firefox, IE, and Chrome were 8, 2, 8, respectively, the order of columns would be Chrome, Firefox, IE. The following let you choose which of the groups of k columns are included in the response.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "PivotHeader": { - "description": "The headers for each of the pivot sections defined in the request.", - "id": "PivotHeader", - "properties": { - "pivotHeaderEntries": { - "description": "A single pivot section header.", - "items": { - "$ref": "PivotHeaderEntry" - }, - "type": "array" - }, - "totalPivotGroupsCount": { - "description": "The total number of groups for this pivot.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "PivotHeaderEntry": { - "description": "The headers for the each of the metric column corresponding to the metrics requested in the pivots section of the response.", - "id": "PivotHeaderEntry", - "properties": { - "dimensionNames": { - "description": "The name of the dimensions in the pivot response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "dimensionValues": { - "description": "The values for the dimensions in the pivot.", - "items": { - "type": "string" - }, - "type": "array" - }, - "metric": { - "$ref": "MetricHeaderEntry", - "description": "The metric header for the metric in the pivot." - } - }, - "type": "object" - }, - "PivotValueRegion": { - "description": "The metric values in the pivot region.", - "id": "PivotValueRegion", - "properties": { - "values": { - "description": "The values of the metrics in each of the pivot regions.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ProductData": { - "description": "Details of the products in an e-commerce transaction.", - "id": "ProductData", - "properties": { - "itemRevenue": { - "description": "The total revenue from purchased product items.", - "format": "double", - "type": "number" - }, - "productName": { - "description": "The product name, supplied by the e-commerce tracking application, for the purchased items.", - "type": "string" - }, - "productQuantity": { - "description": "Total number of this product units in the transaction.", - "format": "int64", - "type": "string" - }, - "productSku": { - "description": "Unique code that represents the product.", - "type": "string" - } - }, - "type": "object" - }, - "Report": { - "description": "The data response corresponding to the request.", - "id": "Report", - "properties": { - "columnHeader": { - "$ref": "ColumnHeader", - "description": "The column headers." - }, - "data": { - "$ref": "ReportData", - "description": "Response data." - }, - "nextPageToken": { - "description": "Page token to retrieve the next page of results in the list.", - "type": "string" - } - }, - "type": "object" - }, - "ReportData": { - "description": "The data part of the report.", - "id": "ReportData", - "properties": { - "dataLastRefreshed": { - "description": "The last time the data in the report was refreshed. All the hits received before this timestamp are included in the calculation of the report.", - "format": "google-datetime", - "type": "string" - }, - "emptyReason": { - "description": "If empty reason is specified, the report is empty for this reason.", - "type": "string" - }, - "isDataGolden": { - "description": "Indicates if response to this request is golden or not. Data is golden when the exact same request will not produce any new results if asked at a later point in time.", - "type": "boolean" - }, - "maximums": { - "description": "Minimum and maximum values seen over all matching rows. These are both empty when `hideValueRanges` in the request is false, or when rowCount is zero.", - "items": { - "$ref": "DateRangeValues" - }, - "type": "array" - }, - "minimums": { - "description": "Minimum and maximum values seen over all matching rows. These are both empty when `hideValueRanges` in the request is false, or when rowCount is zero.", - "items": { - "$ref": "DateRangeValues" - }, - "type": "array" - }, - "rowCount": { - "description": "Total number of matching rows for this query.", - "format": "int32", - "type": "integer" - }, - "rows": { - "description": "There's one ReportRow for every unique combination of dimensions.", - "items": { - "$ref": "ReportRow" - }, - "type": "array" - }, - "samplesReadCounts": { - "description": "If the results are [sampled](https://support.google.com/analytics/answer/2637192), this returns the total number of samples read, one entry per date range. If the results are not sampled this field will not be defined. See [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) for details.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "samplingSpaceSizes": { - "description": "If the results are [sampled](https://support.google.com/analytics/answer/2637192), this returns the total number of samples present, one entry per date range. If the results are not sampled this field will not be defined. See [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) for details.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "totals": { - "description": "For each requested date range, for the set of all rows that match the query, every requested value format gets a total. The total for a value format is computed by first totaling the metrics mentioned in the value format and then evaluating the value format as a scalar expression. E.g., The \"totals\" for `3 / (ga:sessions + 2)` we compute `3 / ((sum of all relevant ga:sessions) + 2)`. Totals are computed before pagination.", - "items": { - "$ref": "DateRangeValues" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReportRequest": { - "description": "The main request class which specifies the Reporting API request.", - "id": "ReportRequest", - "properties": { - "cohortGroup": { - "$ref": "CohortGroup", - "description": "Cohort group associated with this request. If there is a cohort group in the request the `ga:cohort` dimension must be present. Every [ReportRequest](#ReportRequest) within a `batchGet` method must contain the same `cohortGroup` definition." - }, - "dateRanges": { - "description": "Date ranges in the request. The request can have a maximum of 2 date ranges. The response will contain a set of metric values for each combination of the dimensions for each date range in the request. So, if there are two date ranges, there will be two set of metric values, one for the original date range and one for the second date range. The `reportRequest.dateRanges` field should not be specified for cohorts or Lifetime value requests. If a date range is not provided, the default date range is (startDate: current date - 7 days, endDate: current date - 1 day). Every [ReportRequest](#ReportRequest) within a `batchGet` method must contain the same `dateRanges` definition.", - "items": { - "$ref": "DateRange" - }, - "type": "array" - }, - "dimensionFilterClauses": { - "description": "The dimension filter clauses for filtering Dimension Values. They are logically combined with the `AND` operator. Note that filtering occurs before any dimensions are aggregated, so that the returned metrics represent the total for only the relevant dimensions.", - "items": { - "$ref": "DimensionFilterClause" - }, - "type": "array" - }, - "dimensions": { - "description": "The dimensions requested. Requests can have a total of 9 dimensions.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "filtersExpression": { - "description": "Dimension or metric filters that restrict the data returned for your request. To use the `filtersExpression`, supply a dimension or metric on which to filter, followed by the filter expression. For example, the following expression selects `ga:browser` dimension which starts with Firefox; `ga:browser=~^Firefox`. For more information on dimensions and metric filters, see [Filters reference](https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters).", - "type": "string" - }, - "hideTotals": { - "description": "If set to true, hides the total of all metrics for all the matching rows, for every date range. The default false and will return the totals.", - "type": "boolean" - }, - "hideValueRanges": { - "description": "If set to true, hides the minimum and maximum across all matching rows. The default is false and the value ranges are returned.", - "type": "boolean" - }, - "includeEmptyRows": { - "description": "If set to false, the response does not include rows if all the retrieved metrics are equal to zero. The default is false which will exclude these rows.", - "type": "boolean" - }, - "metricFilterClauses": { - "description": "The metric filter clauses. They are logically combined with the `AND` operator. Metric filters look at only the first date range and not the comparing date range. Note that filtering on metrics occurs after the metrics are aggregated.", - "items": { - "$ref": "MetricFilterClause" - }, - "type": "array" - }, - "metrics": { - "description": "The metrics requested. Requests must specify at least one metric. Requests can have a total of 10 metrics.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "orderBys": { - "description": "Sort order on output rows. To compare two rows, the elements of the following are applied in order until a difference is found. All date ranges in the output get the same row order.", - "items": { - "$ref": "OrderBy" - }, - "type": "array" - }, - "pageSize": { - "description": "Page size is for paging and specifies the maximum number of returned rows. Page size should be >= 0. A query returns the default of 1,000 rows. The Analytics Core Reporting API returns a maximum of 100,000 rows per request, no matter how many you ask for. It can also return fewer rows than requested, if there aren't as many dimension segments as you expect. For instance, there are fewer than 300 possible values for `ga:country`, so when segmenting only by country, you can't get more than 300 rows, even if you set `pageSize` to a higher value.", - "format": "int32", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token to get the next page of the results. Adding this to the request will return the rows after the pageToken. The pageToken should be the value returned in the nextPageToken parameter in the response to the GetReports request.", - "type": "string" - }, - "pivots": { - "description": "The pivot definitions. Requests can have a maximum of 2 pivots.", - "items": { - "$ref": "Pivot" - }, - "type": "array" - }, - "samplingLevel": { - "description": "The desired report [sample](https://support.google.com/analytics/answer/2637192) size. If the the `samplingLevel` field is unspecified the `DEFAULT` sampling level is used. Every [ReportRequest](#ReportRequest) within a `batchGet` method must contain the same `samplingLevel` definition. See [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) for details.", - "enum": [ - "SAMPLING_UNSPECIFIED", - "DEFAULT", - "SMALL", - "LARGE" - ], - "enumDescriptions": [ - "If the `samplingLevel` field is unspecified the `DEFAULT` sampling level is used.", - "Returns response with a sample size that balances speed and accuracy.", - "It returns a fast response with a smaller sampling size.", - "Returns a more accurate response using a large sampling size. But this may result in response being slower." - ], - "type": "string" - }, - "segments": { - "description": "Segment the data returned for the request. A segment definition helps look at a subset of the segment request. A request can contain up to four segments. Every [ReportRequest](#ReportRequest) within a `batchGet` method must contain the same `segments` definition. Requests with segments must have the `ga:segment` dimension.", - "items": { - "$ref": "Segment" - }, - "type": "array" - }, - "viewId": { - "description": "The Analytics [view ID](https://support.google.com/analytics/answer/1009618) from which to retrieve data. Every [ReportRequest](#ReportRequest) within a `batchGet` method must contain the same `viewId`.", - "type": "string" - } - }, - "type": "object" - }, - "ReportRow": { - "description": "A row in the report.", - "id": "ReportRow", - "properties": { - "dimensions": { - "description": "List of requested dimensions.", - "items": { - "type": "string" - }, - "type": "array" - }, - "metrics": { - "description": "List of metrics for each requested DateRange.", - "items": { - "$ref": "DateRangeValues" - }, - "type": "array" - } - }, - "type": "object" - }, - "ResourceQuotasRemaining": { - "description": "The resource quota tokens remaining for the property after the request is completed.", - "id": "ResourceQuotasRemaining", - "properties": { - "dailyQuotaTokensRemaining": { - "description": "Daily resource quota remaining remaining.", - "format": "int32", - "type": "integer" - }, - "hourlyQuotaTokensRemaining": { - "description": "Hourly resource quota tokens remaining.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ScreenviewData": { - "id": "ScreenviewData", - "properties": { - "appName": { - "description": "The application name.", - "type": "string" - }, - "mobileDeviceBranding": { - "description": "Mobile manufacturer or branded name. Eg: \"Google\", \"Apple\" etc.", - "type": "string" - }, - "mobileDeviceModel": { - "description": "Mobile device model. Eg: \"Pixel\", \"iPhone\" etc.", - "type": "string" - }, - "screenName": { - "description": "The name of the screen.", - "type": "string" - } - }, - "type": "object" - }, - "SearchUserActivityRequest": { - "description": "The request to fetch User Report from Reporting API `userActivity:get` call.", - "id": "SearchUserActivityRequest", - "properties": { - "activityTypes": { - "description": "Set of all activity types being requested. Only acvities matching these types will be returned in the response. If empty, all activies will be returned.", - "items": { - "enum": [ - "ACTIVITY_TYPE_UNSPECIFIED", - "PAGEVIEW", - "SCREENVIEW", - "GOAL", - "ECOMMERCE", - "EVENT" - ], - "enumDescriptions": [ - "ActivityType will never have this value in the response. Using this type in the request will result in an error.", - "Used when the activity resulted out of a visitor viewing a page.", - "Used when the activity resulted out of a visitor using an application on a mobile device.", - "Used to denote that a goal type activity.", - "An e-commerce transaction was performed by the visitor on the page.", - "Used when the activity is an event." - ], - "type": "string" - }, - "type": "array" - }, - "dateRange": { - "$ref": "DateRange", - "description": "Date range for which to retrieve the user activity. If a date range is not provided, the default date range is (startDate: current date - 7 days, endDate: current date - 1 day)." - }, - "pageSize": { - "description": "Page size is for paging and specifies the maximum number of returned rows. Page size should be > 0. If the value is 0 or if the field isn't specified, the request returns the default of 1000 rows per page.", - "format": "int32", - "type": "integer" - }, - "pageToken": { - "description": "A continuation token to get the next page of the results. Adding this to the request will return the rows after the pageToken. The pageToken should be the value returned in the nextPageToken parameter in the response to the [SearchUserActivityRequest](#SearchUserActivityRequest) request.", - "type": "string" - }, - "user": { - "$ref": "User", - "description": "Required. Unique user Id to query for. Every [SearchUserActivityRequest](#SearchUserActivityRequest) must contain this field." - }, - "viewId": { - "description": "Required. The Analytics [view ID](https://support.google.com/analytics/answer/1009618) from which to retrieve data. Every [SearchUserActivityRequest](#SearchUserActivityRequest) must contain the `viewId`.", - "type": "string" - } - }, - "type": "object" - }, - "SearchUserActivityResponse": { - "description": "The response from `userActivity:get` call.", - "id": "SearchUserActivityResponse", - "properties": { - "nextPageToken": { - "description": "This token should be passed to [SearchUserActivityRequest](#SearchUserActivityRequest) to retrieve the next page.", - "type": "string" - }, - "sampleRate": { - "description": "This field represents the [sampling rate](https://support.google.com/analytics/answer/2637192) for the given request and is a number between 0.0 to 1.0. See [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) for details.", - "format": "double", - "type": "number" - }, - "sessions": { - "description": "Each record represents a session (device details, duration, etc).", - "items": { - "$ref": "UserActivitySession" - }, - "type": "array" - }, - "totalRows": { - "description": "Total rows returned by this query (across different pages).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Segment": { - "description": "The segment definition, if the report needs to be segmented. A Segment is a subset of the Analytics data. For example, of the entire set of users, one Segment might be users from a particular country or city.", - "id": "Segment", - "properties": { - "dynamicSegment": { - "$ref": "DynamicSegment", - "description": "A dynamic segment definition in the request." - }, - "segmentId": { - "description": "The segment ID of a built-in or custom segment, for example `gaid::-3`.", - "type": "string" - } - }, - "type": "object" - }, - "SegmentDefinition": { - "description": "SegmentDefinition defines the segment to be a set of SegmentFilters which are combined together with a logical `AND` operation.", - "id": "SegmentDefinition", - "properties": { - "segmentFilters": { - "description": "A segment is defined by a set of segment filters which are combined together with a logical `AND` operation.", - "items": { - "$ref": "SegmentFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "SegmentDimensionFilter": { - "description": "Dimension filter specifies the filtering options on a dimension.", - "id": "SegmentDimensionFilter", - "properties": { - "caseSensitive": { - "description": "Should the match be case sensitive, ignored for `IN_LIST` operator.", - "type": "boolean" - }, - "dimensionName": { - "description": "Name of the dimension for which the filter is being applied.", - "type": "string" - }, - "expressions": { - "description": "The list of expressions, only the first element is used for all operators", - "items": { - "type": "string" - }, - "type": "array" - }, - "maxComparisonValue": { - "description": "Maximum comparison values for `BETWEEN` match type.", - "type": "string" - }, - "minComparisonValue": { - "description": "Minimum comparison values for `BETWEEN` match type.", - "type": "string" - }, - "operator": { - "description": "The operator to use to match the dimension with the expressions.", - "enum": [ - "OPERATOR_UNSPECIFIED", - "REGEXP", - "BEGINS_WITH", - "ENDS_WITH", - "PARTIAL", - "EXACT", - "IN_LIST", - "NUMERIC_LESS_THAN", - "NUMERIC_GREATER_THAN", - "NUMERIC_BETWEEN" - ], - "enumDescriptions": [ - "If the match type is unspecified, it is treated as a REGEXP.", - "The match expression is treated as a regular expression. All other match types are not treated as regular expressions.", - "Matches the values which begin with the match expression provided.", - "Matches the values which end with the match expression provided.", - "Substring match.", - "The value should match the match expression entirely.", - "This option is used to specify a dimension filter whose expression can take any value from a selected list of values. This helps avoiding evaluating multiple exact match dimension filters which are OR'ed for every single response row. For example: expressions: [\"A\", \"B\", \"C\"] Any response row whose dimension has it is value as A, B or C, matches this DimensionFilter.", - "Integer comparison filters. case sensitivity is ignored for these and the expression is assumed to be a string representing an integer. Failure conditions: - if expression is not a valid int64, the client should expect an error. - input dimensions that are not valid int64 values will never match the filter. Checks if the dimension is numerically less than the match expression.", - "Checks if the dimension is numerically greater than the match expression.", - "Checks if the dimension is numerically between the minimum and maximum of the match expression, boundaries excluded." - ], - "type": "string" - } - }, - "type": "object" - }, - "SegmentFilter": { - "description": "SegmentFilter defines the segment to be either a simple or a sequence segment. A simple segment condition contains dimension and metric conditions to select the sessions or users. A sequence segment condition can be used to select users or sessions based on sequential conditions.", - "id": "SegmentFilter", - "properties": { - "not": { - "description": "If true, match the complement of simple or sequence segment. For example, to match all visits not from \"New York\", we can define the segment as follows: \"sessionSegment\": { \"segmentFilters\": [{ \"simpleSegment\" :{ \"orFiltersForSegment\": [{ \"segmentFilterClauses\":[{ \"dimensionFilter\": { \"dimensionName\": \"ga:city\", \"expressions\": [\"New York\"] } }] }] }, \"not\": \"True\" }] },", - "type": "boolean" - }, - "sequenceSegment": { - "$ref": "SequenceSegment", - "description": "Sequence conditions consist of one or more steps, where each step is defined by one or more dimension/metric conditions. Multiple steps can be combined with special sequence operators." - }, - "simpleSegment": { - "$ref": "SimpleSegment", - "description": "A Simple segment conditions consist of one or more dimension/metric conditions that can be combined" - } - }, - "type": "object" - }, - "SegmentFilterClause": { - "description": "Filter Clause to be used in a segment definition, can be wither a metric or a dimension filter.", - "id": "SegmentFilterClause", - "properties": { - "dimensionFilter": { - "$ref": "SegmentDimensionFilter", - "description": "Dimension Filter for the segment definition." - }, - "metricFilter": { - "$ref": "SegmentMetricFilter", - "description": "Metric Filter for the segment definition." - }, - "not": { - "description": "Matches the complement (`!`) of the filter.", - "type": "boolean" - } - }, - "type": "object" - }, - "SegmentMetricFilter": { - "description": "Metric filter to be used in a segment filter clause.", - "id": "SegmentMetricFilter", - "properties": { - "comparisonValue": { - "description": "The value to compare against. If the operator is `BETWEEN`, this value is treated as minimum comparison value.", - "type": "string" - }, - "maxComparisonValue": { - "description": "Max comparison value is only used for `BETWEEN` operator.", - "type": "string" - }, - "metricName": { - "description": "The metric that will be filtered on. A `metricFilter` must contain a metric name.", - "type": "string" - }, - "operator": { - "description": "Specifies is the operation to perform to compare the metric. The default is `EQUAL`.", - "enum": [ - "UNSPECIFIED_OPERATOR", - "LESS_THAN", - "GREATER_THAN", - "EQUAL", - "BETWEEN" - ], - "enumDescriptions": [ - "Unspecified operator is treated as `LESS_THAN` operator.", - "Checks if the metric value is less than comparison value.", - "Checks if the metric value is greater than comparison value.", - "Equals operator.", - "For between operator, both the minimum and maximum are exclusive. We will use `LT` and `GT` for comparison." - ], - "type": "string" - }, - "scope": { - "description": "Scope for a metric defines the level at which that metric is defined. The specified metric scope must be equal to or greater than its primary scope as defined in the data model. The primary scope is defined by if the segment is selecting users or sessions.", - "enum": [ - "UNSPECIFIED_SCOPE", - "PRODUCT", - "HIT", - "SESSION", - "USER" - ], - "enumDescriptions": [ - "If the scope is unspecified, it defaults to the condition scope, `USER` or `SESSION` depending on if the segment is trying to choose users or sessions.", - "Product scope.", - "Hit scope.", - "Session scope.", - "User scope." - ], - "type": "string" - } - }, - "type": "object" - }, - "SegmentSequenceStep": { - "description": "A segment sequence definition.", - "id": "SegmentSequenceStep", - "properties": { - "matchType": { - "description": "Specifies if the step immediately precedes or can be any time before the next step.", - "enum": [ - "UNSPECIFIED_MATCH_TYPE", - "PRECEDES", - "IMMEDIATELY_PRECEDES" - ], - "enumDescriptions": [ - "Unspecified match type is treated as precedes.", - "Operator indicates that the previous step precedes the next step.", - "Operator indicates that the previous step immediately precedes the next step." - ], - "type": "string" - }, - "orFiltersForSegment": { - "description": "A sequence is specified with a list of Or grouped filters which are combined with `AND` operator.", - "items": { - "$ref": "OrFiltersForSegment" - }, - "type": "array" - } - }, - "type": "object" - }, - "SequenceSegment": { - "description": "Sequence conditions consist of one or more steps, where each step is defined by one or more dimension/metric conditions. Multiple steps can be combined with special sequence operators.", - "id": "SequenceSegment", - "properties": { - "firstStepShouldMatchFirstHit": { - "description": "If set, first step condition must match the first hit of the visitor (in the date range).", - "type": "boolean" - }, - "segmentSequenceSteps": { - "description": "The list of steps in the sequence.", - "items": { - "$ref": "SegmentSequenceStep" - }, - "type": "array" - } - }, - "type": "object" - }, - "SimpleSegment": { - "description": "A Simple segment conditions consist of one or more dimension/metric conditions that can be combined.", - "id": "SimpleSegment", - "properties": { - "orFiltersForSegment": { - "description": "A list of segment filters groups which are combined with logical `AND` operator.", - "items": { - "$ref": "OrFiltersForSegment" - }, - "type": "array" - } - }, - "type": "object" - }, - "TransactionData": { - "description": "Represents details collected when the visitor performs a transaction on the page.", - "id": "TransactionData", - "properties": { - "transactionId": { - "description": "The transaction ID, supplied by the e-commerce tracking method, for the purchase in the shopping cart.", - "type": "string" - }, - "transactionRevenue": { - "description": "The total sale revenue (excluding shipping and tax) of the transaction.", - "format": "double", - "type": "number" - }, - "transactionShipping": { - "description": "Total cost of shipping.", - "format": "double", - "type": "number" - }, - "transactionTax": { - "description": "Total tax for the transaction.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "User": { - "description": "Contains information to identify a particular user uniquely.", - "id": "User", - "properties": { - "type": { - "description": "Type of the user in the request. The field `userId` is associated with this type.", - "enum": [ - "USER_ID_TYPE_UNSPECIFIED", - "USER_ID", - "CLIENT_ID" - ], - "enumDescriptions": [ - "When the User Id Type is not specified, the default type used will be CLIENT_ID.", - "A single user, like a signed-in user account, that may interact with content across one or more devices and / or browser instances.", - "Analytics assigned client_id." - ], - "type": "string" - }, - "userId": { - "description": "Unique Id of the user for which the data is being requested.", - "type": "string" - } - }, - "type": "object" - }, - "UserActivitySession": { - "description": "This represents a user session performed on a specific device at a certain time over a period of time.", - "id": "UserActivitySession", - "properties": { - "activities": { - "description": "Represents a detailed view into each of the activity in this session.", - "items": { - "$ref": "Activity" - }, - "type": "array" - }, - "dataSource": { - "description": "The data source of a hit. By default, hits sent from analytics.js are reported as \"web\" and hits sent from the mobile SDKs are reported as \"app\". These values can be overridden in the Measurement Protocol.", - "type": "string" - }, - "deviceCategory": { - "description": "The type of device used: \"mobile\", \"tablet\" etc.", - "type": "string" - }, - "platform": { - "description": "Platform on which the activity happened: \"android\", \"ios\" etc.", - "type": "string" - }, - "sessionDate": { - "description": "Date of this session in ISO-8601 format.", - "type": "string" - }, - "sessionId": { - "description": "Unique ID of the session.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Analytics Reporting API", - "version": "v4", - "version_module": true -} \ No newline at end of file diff --git a/discovery/androidmanagement-v1.json b/discovery/androidmanagement-v1.json index 565cd83eab9..5009806edde 100644 --- a/discovery/androidmanagement-v1.json +++ b/discovery/androidmanagement-v1.json @@ -1202,7 +1202,7 @@ } } }, - "revision": "20250501", + "revision": "20250507", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -1354,6 +1354,274 @@ }, "type": "object" }, + "ApnPolicy": { + "description": "Access Point Name (APN) policy. Configuration for Access Point Names (APNs) which may override any other APNs on the device. See OVERRIDE_APNS_ENABLED and overrideApns for details.", + "id": "ApnPolicy", + "properties": { + "apnSettings": { + "description": "Optional. APN settings for override APNs. There must not be any conflict between any of APN settings provided, otherwise the policy will be rejected. Two ApnSettings are considered to conflict when all of the following fields match on both: numericOperatorId, apn, proxyAddress, proxyPort, mmsProxyAddress, mmsProxyPort, mmsc, mvnoType, protocol, roamingProtocol. If some of the APN settings result in non-compliance of INVALID_VALUE , they will be ignored. This can be set on fully managed devices on Android 10 and above. This can also be set on work profiles on Android 13 and above and only with ApnSetting's with ENTERPRISE APN type. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles on Android versions less than 13.", + "items": { + "$ref": "ApnSetting" + }, + "type": "array" + }, + "overrideApns": { + "description": "Optional. Whether override APNs are disabled or enabled. See DevicePolicyManager.setOverrideApnsEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setOverrideApnsEnabled) for more details.", + "enum": [ + "OVERRIDE_APNS_UNSPECIFIED", + "OVERRIDE_APNS_DISABLED", + "OVERRIDE_APNS_ENABLED" + ], + "enumDescriptions": [ + "Unspecified. Defaults to OVERRIDE_APNS_DISABLED.", + "Override APNs disabled. Any configured apnSettings are saved on the device, but are disabled and have no effect. Any other APNs on the device remain in use.", + "Override APNs enabled. Only override APNs are in use, any other APNs are ignored. This can only be set on fully managed devices on Android 10 and above. For work profiles override APNs are enabled via preferentialNetworkServiceSettings and this value cannot be set. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles." + ], + "type": "string" + } + }, + "type": "object" + }, + "ApnSetting": { + "description": "An Access Point Name (APN) configuration for a carrier data connection. The APN provides configuration to connect a cellular network device to an IP data network. A carrier uses this setting to decide which IP address to assign, any security methods to apply, and how the device might be connected to private networks.", + "id": "ApnSetting", + "properties": { + "alwaysOnSetting": { + "description": "Optional. Whether User Plane resources have to be activated during every transition from CM-IDLE mode to CM-CONNECTED state for this APN. See 3GPP TS 23.501 section 5.6.13.", + "enum": [ + "ALWAYS_ON_SETTING_UNSPECIFIED", + "NOT_ALWAYS_ON", + "ALWAYS_ON" + ], + "enumDescriptions": [ + "Unspecified. Defaults to NOT_ALWAYS_ON.", + "The PDU session brought up by this APN should not be always on.", + "The PDU session brought up by this APN should always be on. Supported on Android 15 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 15." + ], + "type": "string" + }, + "apn": { + "description": "Required. Name of the APN. Policy will be rejected if this field is empty.", + "type": "string" + }, + "apnTypes": { + "description": "Required. Usage categories for the APN. Policy will be rejected if this field is empty or contains APN_TYPE_UNSPECIFIED or duplicates. Multiple APN types can be set on fully managed devices. ENTERPRISE is the only allowed APN type on work profiles. A nonComplianceDetail with MANAGEMENT_MODE is reported for any other value on work profiles. APN types that are not supported on the device or management mode will be ignored. If this results in the empty list, the APN setting will be ignored, because apnTypes is a required field. A nonComplianceDetail with INVALID_VALUE is reported if none of the APN types are supported on the device or management mode.", + "items": { + "enum": [ + "APN_TYPE_UNSPECIFIED", + "ENTERPRISE", + "BIP", + "CBS", + "DEFAULT", + "DUN", + "EMERGENCY", + "FOTA", + "HIPRI", + "IA", + "IMS", + "MCX", + "MMS", + "RCS", + "SUPL", + "VSIM", + "XCAP" + ], + "enumDescriptions": [ + "Unspecified. This value is not used.", + "APN type for enterprise traffic. Supported on Android 13 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.", + "APN type for BIP (Bearer Independent Protocol). This can only be set on fully managed devices on Android 12 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 12. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for CBS (Carrier Branded Services). This can only be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for default data traffic. This can only be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for DUN (Dial-up networking) traffic. This can only be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for Emergency PDN. This is not an IA apn, but is used for access to carrier services in an emergency call situation. This can only be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for accessing the carrier's FOTA (Firmware Over-the-Air) portal, used for over the air updates. This can only be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for HiPri (high-priority) traffic. This can only be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for IA (Initial Attach) APN. This can only be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for IMS (IP Multimedia Subsystem) traffic. This can only be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for MCX (Mission Critical Service) where X can be PTT/Video/Data. This can only be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for MMS (Multimedia Messaging Service) traffic. This can only be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for RCS (Rich Communication Services). This can only be set on fully managed devices on Android 15 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 15. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for SUPL (Secure User Plane Location) assisted GPS. This can only be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for VSIM (Virtual SIM) service. This can only be set on fully managed devices on Android 12 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 12. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", + "APN type for XCAP (XML Configuration Access Protocol) traffic. This can only be set on fully managed devices on Android 11 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 11. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles." + ], + "type": "string" + }, + "type": "array" + }, + "authType": { + "description": "Optional. Authentication type of the APN.", + "enum": [ + "AUTH_TYPE_UNSPECIFIED", + "NONE", + "PAP", + "CHAP", + "PAP_OR_CHAP" + ], + "enumDescriptions": [ + "Unspecified. If username is empty, defaults to NONE. Otherwise, defaults to PAP_OR_CHAP.", + "Authentication is not required.", + "Authentication type for PAP.", + "Authentication type for CHAP.", + "Authentication type for PAP or CHAP." + ], + "type": "string" + }, + "carrierId": { + "description": "Optional. Carrier ID for the APN. A value of 0 (default) means not set and negative values are rejected.", + "format": "int32", + "type": "integer" + }, + "displayName": { + "description": "Required. Human-readable name that describes the APN. Policy will be rejected if this field is empty.", + "type": "string" + }, + "mmsProxyAddress": { + "description": "Optional. MMS (Multimedia Messaging Service) proxy address of the APN which can be an IP address or hostname (not a URL).", + "type": "string" + }, + "mmsProxyPort": { + "description": "Optional. MMS (Multimedia Messaging Service) proxy port of the APN. A value of 0 (default) means not set and negative values are rejected.", + "format": "int32", + "type": "integer" + }, + "mmsc": { + "description": "Optional. MMSC (Multimedia Messaging Service Center) URI of the APN.", + "type": "string" + }, + "mtuV4": { + "description": "Optional. The default MTU (Maximum Transmission Unit) size in bytes of the IPv4 routes brought up by this APN setting. A value of 0 (default) means not set and negative values are rejected. Supported on Android 13 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.", + "format": "int32", + "type": "integer" + }, + "mtuV6": { + "description": "Optional. The MTU (Maximum Transmission Unit) size of the IPv6 mobile interface to which the APN connected. A value of 0 (default) means not set and negative values are rejected. Supported on Android 13 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.", + "format": "int32", + "type": "integer" + }, + "mvnoType": { + "description": "Optional. MVNO match type for the APN.", + "enum": [ + "MVNO_TYPE_UNSPECIFIED", + "GID", + "ICCID", + "IMSI", + "SPN" + ], + "enumDescriptions": [ + "The MVNO type is not specified.", + "MVNO type for group identifier level 1.", + "MVNO type for ICCID.", + "MVNO type for IMSI.", + "MVNO type for SPN (service provider name)." + ], + "type": "string" + }, + "networkTypes": { + "description": "Optional. Radio technologies (network types) the APN may use. Policy will be rejected if this field contains NETWORK_TYPE_UNSPECIFIED or duplicates.", + "items": { + "enum": [ + "NETWORK_TYPE_UNSPECIFIED", + "EDGE", + "GPRS", + "GSM", + "HSDPA", + "HSPA", + "HSPAP", + "HSUPA", + "IWLAN", + "LTE", + "NR", + "TD_SCDMA", + "UMTS" + ], + "enumDescriptions": [ + "Unspecified. This value must not be used.", + "Radio technology EDGE.", + "Radio technology GPRS.", + "Radio technology GSM.", + "Radio technology HSDPA.", + "Radio technology HSPA.", + "Radio technology HSPAP.", + "Radio technology HSUPA.", + "Radio technology IWLAN.", + "Radio technology LTE.", + "Radio technology NR (New Radio) 5G.", + "Radio technology TD_SCDMA.", + "Radio technology UMTS." + ], + "type": "string" + }, + "type": "array" + }, + "numericOperatorId": { + "description": "Optional. The numeric operator ID of the APN. Numeric operator ID is defined as MCC (Mobile Country Code) + MNC (Mobile Network Code).", + "type": "string" + }, + "password": { + "description": "Optional. APN password of the APN.", + "type": "string" + }, + "protocol": { + "description": "Optional. The protocol to use to connect to this APN.", + "enum": [ + "PROTOCOL_UNSPECIFIED", + "IP", + "IPV4V6", + "IPV6", + "NON_IP", + "PPP", + "UNSTRUCTURED" + ], + "enumDescriptions": [ + "The protocol is not specified.", + "Internet protocol.", + "Virtual PDP type introduced to handle dual IP stack UE capability.", + "Internet protocol, version 6.", + "Transfer of Non-IP data to external packet data network.", + "Point to point protocol.", + "Transfer of Unstructured data to the Data Network via N6." + ], + "type": "string" + }, + "proxyAddress": { + "description": "Optional. The proxy address of the APN.", + "type": "string" + }, + "proxyPort": { + "description": "Optional. The proxy port of the APN. A value of 0 (default) means not set and negative values are rejected.", + "format": "int32", + "type": "integer" + }, + "roamingProtocol": { + "description": "Optional. The protocol to use to connect to this APN while the device is roaming.", + "enum": [ + "PROTOCOL_UNSPECIFIED", + "IP", + "IPV4V6", + "IPV6", + "NON_IP", + "PPP", + "UNSTRUCTURED" + ], + "enumDescriptions": [ + "The protocol is not specified.", + "Internet protocol.", + "Virtual PDP type introduced to handle dual IP stack UE capability.", + "Internet protocol, version 6.", + "Transfer of Non-IP data to external packet data network.", + "Point to point protocol.", + "Transfer of Unstructured data to the Data Network via N6." + ], + "type": "string" + }, + "username": { + "description": "Optional. APN username of the APN.", + "type": "string" + } + }, + "type": "object" + }, "AppProcessInfo": { "description": "Information about a process. It contains process name, start time, app Uid, app Pid, seinfo tag, hash of the base APK.", "id": "AppProcessInfo", @@ -1861,6 +2129,28 @@ }, "type": "array" }, + "preferentialNetworkId": { + "description": "Optional. ID of the preferential network the application uses. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above.", + "enum": [ + "PREFERENTIAL_NETWORK_ID_UNSPECIFIED", + "NO_PREFERENTIAL_NETWORK", + "PREFERENTIAL_NETWORK_ID_ONE", + "PREFERENTIAL_NETWORK_ID_TWO", + "PREFERENTIAL_NETWORK_ID_THREE", + "PREFERENTIAL_NETWORK_ID_FOUR", + "PREFERENTIAL_NETWORK_ID_FIVE" + ], + "enumDescriptions": [ + "Whether this value is valid and what it means depends on where it is used, and this is documented on the relevant fields.", + "Application does not use any preferential network.", + "Preferential network identifier 1.", + "Preferential network identifier 2.", + "Preferential network identifier 3.", + "Preferential network identifier 4.", + "Preferential network identifier 5." + ], + "type": "string" + }, "userControlSettings": { "description": "Optional. Specifies whether user control is permitted for the app. User control includes user actions like force-stopping and clearing app data. Supported on Android 11 and above.", "enum": [ @@ -2287,7 +2577,8 @@ "RELINQUISH_OWNERSHIP", "CLEAR_APP_DATA", "START_LOST_MODE", - "STOP_LOST_MODE" + "STOP_LOST_MODE", + "REQUEST_DEVICE_INFO" ], "enumDescriptions": [ "This value is disallowed.", @@ -2297,7 +2588,8 @@ "Removes the work profile and all policies from a company-owned Android 8.0+ device, relinquishing the device for personal use. Apps and data associated with the personal profile(s) are preserved. The device will be deleted from the server after it acknowledges the command.", "Clears the application data of specified apps. This is supported on Android 9 and above. Note that an application can store data outside of its application data, for example in external storage or in a user dictionary. See also clear_apps_data_params.", "Puts the device into lost mode. Only supported on fully managed devices or organization-owned devices with a managed profile. See also start_lost_mode_params.", - "Takes the device out of lost mode. Only supported on fully managed devices or organization-owned devices with a managed profile. See also stop_lost_mode_params." + "Takes the device out of lost mode. Only supported on fully managed devices or organization-owned devices with a managed profile. See also stop_lost_mode_params.", + "Request information related to the device." ], "type": "string" }, @@ -2806,6 +3098,10 @@ "description": "Covers controls for device connectivity such as Wi-Fi, USB data access, keyboard/mouse connections, and more.", "id": "DeviceConnectivityManagement", "properties": { + "apnPolicy": { + "$ref": "ApnPolicy", + "description": "Optional. Access Point Name (APN) policy. Configuration for Access Point Names (APNs) which may override any other APNs on the device. See OVERRIDE_APNS_ENABLED and overrideApns for details." + }, "bluetoothSharing": { "description": "Optional. Controls whether Bluetooth sharing is allowed.", "enum": [ @@ -2836,6 +3132,10 @@ ], "type": "string" }, + "preferentialNetworkServiceSettings": { + "$ref": "PreferentialNetworkServiceSettings", + "description": "Optional. Preferential network service configuration. Setting this field will override preferentialNetworkService. This can be set on both work profiles and fully managed devices on Android 13 and above." + }, "tetheringSettings": { "description": "Controls tethering settings. Based on the value set, the user is partially or fully disallowed from using different forms of tethering.", "enum": [ @@ -4519,7 +4819,8 @@ "PENDING", "APP_INCOMPATIBLE", "APP_NOT_UPDATED", - "DEVICE_INCOMPATIBLE" + "DEVICE_INCOMPATIBLE", + "PROJECT_NOT_PERMITTED" ], "enumDescriptions": [ "This value is not used.", @@ -4533,7 +4834,8 @@ "The setting hasn't been applied at the time of the report, but is expected to be applied shortly.", "The setting can't be applied to the app because the app doesn't support it, for example because its target SDK version is not high enough.", "The app is installed, but it hasn't been updated to the minimum version code specified by policy.", - "The device is incompatible with the policy requirements." + "The device is incompatible with the policy requirements.", + "The Google Cloud Platform project used to manage the device is not permitted to use this policy." ], "type": "string" }, @@ -4560,7 +4862,8 @@ "ONC_WIFI_API_LEVEL", "ONC_WIFI_INVALID_ENTERPRISE_CONFIG", "ONC_WIFI_USER_SHOULD_REMOVE_NETWORK", - "ONC_WIFI_KEY_PAIR_ALIAS_NOT_CORRESPONDING_TO_EXISTING_KEY" + "ONC_WIFI_KEY_PAIR_ALIAS_NOT_CORRESPONDING_TO_EXISTING_KEY", + "PERMISSIBLE_USAGE_RESTRICTION" ], "enumDescriptions": [ "Specific non-compliance reason is not specified. Fields in specific_non_compliance_context are not set.", @@ -4571,7 +4874,8 @@ "The ONC Wi-Fi setting is not supported in the API level of the Android version running on the device. fieldPath specifies which field value is not supported. oncWifiContext is set. nonComplianceReason is set to API_LEVEL.", "The enterprise Wi-Fi network is missing either the root CA or domain name. nonComplianceReason is set to INVALID_VALUE.", "User needs to remove the configured Wi-Fi network manually. This is applicable only on work profiles on personally-owned devices. nonComplianceReason is set to USER_ACTION.", - "Key pair alias specified via ClientCertKeyPairAlias (https://chromium.googlesource.com/chromium/src/+/main/components/onc/docs/onc_spec.md#eap-type) field in openNetworkConfiguration does not correspond to an existing key installed on the device. nonComplianceReason is set to INVALID_VALUE." + "Key pair alias specified via ClientCertKeyPairAlias (https://chromium.googlesource.com/chromium/src/+/main/components/onc/docs/onc_spec.md#eap-type) field in openNetworkConfiguration does not correspond to an existing key installed on the device. nonComplianceReason is set to INVALID_VALUE.", + "This policy setting is restricted and cannot be set for this Google Cloud Platform project. More details (including how to enable usage of this policy setting) are available in the Permissible Usage policy (https://developers.google.com/android/management/permissible-usage). nonComplianceReason is set to PROJECT_NOT_PERMITTED." ], "type": "string" } @@ -4597,7 +4901,8 @@ "PENDING", "APP_INCOMPATIBLE", "APP_NOT_UPDATED", - "DEVICE_INCOMPATIBLE" + "DEVICE_INCOMPATIBLE", + "PROJECT_NOT_PERMITTED" ], "enumDescriptions": [ "This value is not used.", @@ -4611,7 +4916,8 @@ "The setting hasn't been applied at the time of the report, but is expected to be applied shortly.", "The setting can't be applied to the app because the app doesn't support it, for example because its target SDK version is not high enough.", "The app is installed, but it hasn't been updated to the minimum version code specified by policy.", - "The device is incompatible with the policy requirements." + "The device is incompatible with the policy requirements.", + "The Google Cloud Platform project used to manage the device is not permitted to use this policy." ], "type": "string" }, @@ -5331,6 +5637,20 @@ "description": "Whether app verification is force-enabled.", "type": "boolean" }, + "enterpriseDisplayNameVisibility": { + "description": "Optional. Controls whether the enterpriseDisplayName is visible on the device (e.g. lock screen message on company-owned devices).", + "enum": [ + "ENTERPRISE_DISPLAY_NAME_VISIBILITY_UNSPECIFIED", + "ENTERPRISE_DISPLAY_NAME_VISIBLE", + "ENTERPRISE_DISPLAY_NAME_HIDDEN" + ], + "enumDescriptions": [ + "Unspecified. Defaults to displaying the enterprise name that's set at the time of device setup. In future, this will default to ENTERPRISE_DISPLAY_NAME_VISIBLE.", + "The enterprise display name is visible on the device. Supported on work profiles on Android 7 and above. Supported on fully managed devices on Android 8 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 7. A nonComplianceDetail with MANAGEMENT_MODE is reported on fully managed devices on Android 7.", + "The enterprise display name is hidden on the device." + ], + "type": "string" + }, "factoryResetDisabled": { "description": "Whether factory resetting from settings is disabled.", "type": "boolean" @@ -5573,7 +5893,7 @@ "type": "array" }, "preferentialNetworkService": { - "description": "Controls whether preferential network service is enabled on the work profile. For example, an organization may have an agreement with a carrier that all of the work data from its employees' devices will be sent via a network service dedicated for enterprise use. An example of a supported preferential network service is the enterprise slice on 5G networks. This has no effect on fully managed devices.", + "description": "Controls whether preferential network service is enabled on the work profile or on fully managed devices. For example, an organization may have an agreement with a carrier that all of the work data from its employees' devices will be sent via a network service dedicated for enterprise use. An example of a supported preferential network service is the enterprise slice on 5G networks. This policy has no effect if preferentialNetworkServiceSettings or ApplicationPolicy.preferentialNetworkId is set on devices running Android 13 or above.", "enum": [ "PREFERENTIAL_NETWORK_SERVICE_UNSPECIFIED", "PREFERENTIAL_NETWORK_SERVICE_DISABLED", @@ -5582,7 +5902,7 @@ "enumDescriptions": [ "Unspecified. Defaults to PREFERENTIAL_NETWORK_SERVICES_DISABLED.", "Preferential network service is disabled on the work profile.", - "Preferential network service is enabled on the work profile." + "Preferential network service is enabled on the work profile. This setting is only supported on work profiles on devices running Android 12 or above. Starting with Android 13, fully managed devices are also supported." ], "type": "string" }, @@ -5824,6 +6144,99 @@ }, "type": "object" }, + "PreferentialNetworkServiceConfig": { + "description": "Individual preferential network service configuration.", + "id": "PreferentialNetworkServiceConfig", + "properties": { + "fallbackToDefaultConnection": { + "description": "Optional. Whether fallback to the device-wide default network is allowed. If this is set to FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED, then nonMatchingNetworks must not be set to NON_MATCHING_NETWORKS_DISALLOWED, the policy will be rejected otherwise. Note: If this is set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, applications are not able to access the internet if the 5G slice is not available.", + "enum": [ + "FALLBACK_TO_DEFAULT_CONNECTION_UNSPECIFIED", + "FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED", + "FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED" + ], + "enumDescriptions": [ + "Unspecified. Defaults to FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED.", + "Fallback to default connection is allowed. If this is set, nonMatchingNetworks must not be set to NON_MATCHING_NETWORKS_DISALLOWED, the policy will be rejected otherwise.", + "Fallback to default connection is not allowed." + ], + "type": "string" + }, + "nonMatchingNetworks": { + "description": "Optional. Whether apps this configuration applies to are blocked from using networks other than the preferential service. If this is set to NON_MATCHING_NETWORKS_DISALLOWED, then fallbackToDefaultConnection must be set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED.", + "enum": [ + "NON_MATCHING_NETWORKS_UNSPECIFIED", + "NON_MATCHING_NETWORKS_ALLOWED", + "NON_MATCHING_NETWORKS_DISALLOWED" + ], + "enumDescriptions": [ + "Unspecified. Defaults to NON_MATCHING_NETWORKS_ALLOWED.", + "Apps this configuration applies to are allowed to use networks other than the preferential service.", + "Apps this configuration applies to are disallowed from using other networks than the preferential service. This can be set on Android 14 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 14. If this is set, fallbackToDefaultConnection must be set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, the policy will be rejected otherwise." + ], + "type": "string" + }, + "preferentialNetworkId": { + "description": "Required. Preferential network identifier. This must not be set to NO_PREFERENTIAL_NETWORK or PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the policy will be rejected otherwise.", + "enum": [ + "PREFERENTIAL_NETWORK_ID_UNSPECIFIED", + "NO_PREFERENTIAL_NETWORK", + "PREFERENTIAL_NETWORK_ID_ONE", + "PREFERENTIAL_NETWORK_ID_TWO", + "PREFERENTIAL_NETWORK_ID_THREE", + "PREFERENTIAL_NETWORK_ID_FOUR", + "PREFERENTIAL_NETWORK_ID_FIVE" + ], + "enumDescriptions": [ + "Whether this value is valid and what it means depends on where it is used, and this is documented on the relevant fields.", + "Application does not use any preferential network.", + "Preferential network identifier 1.", + "Preferential network identifier 2.", + "Preferential network identifier 3.", + "Preferential network identifier 4.", + "Preferential network identifier 5." + ], + "type": "string" + } + }, + "type": "object" + }, + "PreferentialNetworkServiceSettings": { + "description": "Preferential network service settings.", + "id": "PreferentialNetworkServiceSettings", + "properties": { + "defaultPreferentialNetworkId": { + "description": "Required. Default preferential network ID for the applications that are not in applications or if ApplicationPolicy.preferentialNetworkId is set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs, unless this is set to NO_PREFERENTIAL_NETWORK. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED or unset, this defaults to NO_PREFERENTIAL_NETWORK. Note: If the default preferential network is misconfigured, applications with no ApplicationPolicy.preferentialNetworkId set are not able to access the internet. This setting does not apply to the following critical apps: com.google.android.apps.work.clouddpc com.google.android.gmsApplicationPolicy.preferentialNetworkId can still be used to configure the preferential network for them.", + "enum": [ + "PREFERENTIAL_NETWORK_ID_UNSPECIFIED", + "NO_PREFERENTIAL_NETWORK", + "PREFERENTIAL_NETWORK_ID_ONE", + "PREFERENTIAL_NETWORK_ID_TWO", + "PREFERENTIAL_NETWORK_ID_THREE", + "PREFERENTIAL_NETWORK_ID_FOUR", + "PREFERENTIAL_NETWORK_ID_FIVE" + ], + "enumDescriptions": [ + "Whether this value is valid and what it means depends on where it is used, and this is documented on the relevant fields.", + "Application does not use any preferential network.", + "Preferential network identifier 1.", + "Preferential network identifier 2.", + "Preferential network identifier 3.", + "Preferential network identifier 4.", + "Preferential network identifier 5." + ], + "type": "string" + }, + "preferentialNetworkServiceConfigs": { + "description": "Required. Preferential network service configurations which enables having multiple enterprise slices. There must not be multiple configurations with the same preferentialNetworkId. If a configuration is not referenced by any application by setting ApplicationPolicy.preferentialNetworkId or by setting defaultPreferentialNetworkId, it will be ignored. For devices on 4G networks, enterprise APN needs to be configured additionally to set up data call for preferential network service. These APNs can be added using apnPolicy.", + "items": { + "$ref": "PreferentialNetworkServiceConfig" + }, + "type": "array" + } + }, + "type": "object" + }, "ProvisioningInfo": { "description": "Information about a device that is available during setup.", "id": "ProvisioningInfo", diff --git a/discovery/androidpublisher-v1.1.json b/discovery/androidpublisher-v1.1.json deleted file mode 100644 index 87b73bbb466..00000000000 --- a/discovery/androidpublisher-v1.1.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/androidpublisher": { - "description": "View and manage your Google Play Developer account" - } - } - } - }, - "basePath": "/androidpublisher/v1.1/applications/", - "baseUrl": "https://www.googleapis.com/androidpublisher/v1.1/applications/", - "batchPath": "batch/androidpublisher/v1.1", - "canonicalName": "Android Publisher", - "description": "Accesses Android application developers' Google Play accounts.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/android-publisher", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/wwgI4qhm-oeo38AtzHnqe4hFIOc\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/android-16.png", - "x32": "https://www.google.com/images/icons/product/android-32.png" - }, - "id": "androidpublisher:v1.1", - "kind": "discovery#restDescription", - "name": "androidpublisher", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "inapppurchases": { - "methods": { - "get": { - "description": "Checks the purchase and consumption status of an inapp item.", - "httpMethod": "GET", - "id": "androidpublisher.inapppurchases.get", - "parameterOrder": [ - "packageName", - "productId", - "token" - ], - "parameters": { - "packageName": { - "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').", - "location": "path", - "required": true, - "type": "string" - }, - "productId": { - "description": "The inapp product SKU (for example, 'com.some.thing.inapp1').", - "location": "path", - "required": true, - "type": "string" - }, - "token": { - "description": "The token provided to the user's device when the inapp product was purchased.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{packageName}/inapp/{productId}/purchases/{token}", - "response": { - "$ref": "InappPurchase" - }, - "scopes": [ - "https://www.googleapis.com/auth/androidpublisher" - ] - } - } - } - }, - "revision": "20200505", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "InappPurchase": { - "description": "An InappPurchase resource indicates the status of a user's inapp product purchase.", - "id": "InappPurchase", - "properties": { - "consumptionState": { - "description": "The consumption state of the inapp product. Possible values are: \n- Yet to be consumed \n- Consumed", - "format": "int32", - "type": "integer" - }, - "developerPayload": { - "description": "A developer-specified string that contains supplemental information about an order.", - "type": "string" - }, - "kind": { - "default": "androidpublisher#inappPurchase", - "description": "This kind represents an inappPurchase object in the androidpublisher service.", - "type": "string" - }, - "orderId": { - "description": "The order id associated with the purchase of the inapp product.", - "type": "string" - }, - "purchaseState": { - "description": "The purchase state of the order. Possible values are: \n- Purchased \n- Canceled \n- Pending", - "format": "int32", - "type": "integer" - }, - "purchaseTime": { - "description": "The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).", - "format": "int64", - "type": "string" - }, - "purchaseType": { - "description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: \n- Test (i.e. purchased from a license testing account) \n- Promo (i.e. purchased using a promo code) \n- Rewarded (i.e. from watching a video ad instead of paying)", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - } - }, - "servicePath": "androidpublisher/v1.1/applications/", - "title": "Google Play Developer API", - "version": "v1.1" -} \ No newline at end of file diff --git a/discovery/androidpublisher-v1.json b/discovery/androidpublisher-v1.json deleted file mode 100644 index 256f7a1391b..00000000000 --- a/discovery/androidpublisher-v1.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "basePath": "/", - "baseUrl": "https://www.googleapis.com/", - "batchPath": "batch/androidpublisher/v1", - "canonicalName": "Android Publisher", - "description": "Accesses Android application developers' Google Play accounts.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/android-publisher", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/XguakTFQILlzz4m62-V3GT6_Uvo\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/android-16.png", - "x32": "https://www.google.com/images/icons/product/android-32.png" - }, - "id": "androidpublisher:v1", - "kind": "discovery#restDescription", - "name": "androidpublisher", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "revision": "20200505", - "rootUrl": "https://www.googleapis.com/", - "servicePath": "", - "title": "Google Play Developer API", - "version": "v1" -} \ No newline at end of file diff --git a/discovery/androidpublisher-v2.json b/discovery/androidpublisher-v2.json deleted file mode 100644 index ac8e3e8337d..00000000000 --- a/discovery/androidpublisher-v2.json +++ /dev/null @@ -1,295 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/androidpublisher": { - "description": "View and manage your Google Play Developer account" - } - } - } - }, - "basePath": "/androidpublisher/v2/applications/", - "baseUrl": "https://www.googleapis.com/androidpublisher/v2/applications/", - "batchPath": "batch/androidpublisher/v2", - "canonicalName": "Android Publisher", - "description": "Accesses Android application developers' Google Play accounts.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/android-publisher", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/wMks0fahxPxjXD8qD78UX__cDkg\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/android-16.png", - "x32": "https://www.google.com/images/icons/product/android-32.png" - }, - "id": "androidpublisher:v2", - "kind": "discovery#restDescription", - "name": "androidpublisher", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "purchases": { - "resources": { - "products": { - "methods": { - "get": { - "description": "Checks the purchase and consumption status of an inapp item.", - "httpMethod": "GET", - "id": "androidpublisher.purchases.products.get", - "parameterOrder": [ - "packageName", - "productId", - "token" - ], - "parameters": { - "packageName": { - "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').", - "location": "path", - "required": true, - "type": "string" - }, - "productId": { - "description": "The inapp product SKU (for example, 'com.some.thing.inapp1').", - "location": "path", - "required": true, - "type": "string" - }, - "token": { - "description": "The token provided to the user's device when the inapp product was purchased.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{packageName}/purchases/products/{productId}/tokens/{token}", - "response": { - "$ref": "ProductPurchase" - }, - "scopes": [ - "https://www.googleapis.com/auth/androidpublisher" - ] - } - } - }, - "voidedpurchases": { - "methods": { - "list": { - "description": "Lists the purchases that were canceled, refunded or charged-back.", - "httpMethod": "GET", - "id": "androidpublisher.purchases.voidedpurchases.list", - "parameterOrder": [ - "packageName" - ], - "parameters": { - "endTime": { - "description": "The time, in milliseconds since the Epoch, of the newest voided purchase that you want to see in the response. The value of this parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.", - "format": "int64", - "location": "query", - "type": "string" - }, - "maxResults": { - "format": "uint32", - "location": "query", - "type": "integer" - }, - "packageName": { - "description": "The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing').", - "location": "path", - "required": true, - "type": "string" - }, - "startIndex": { - "format": "uint32", - "location": "query", - "type": "integer" - }, - "startTime": { - "description": "The time, in milliseconds since the Epoch, of the oldest voided purchase that you want to see in the response. The value of this parameter cannot be older than 30 days and is ignored if a pagination token is set. Default value is current time minus 30 days. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.", - "format": "int64", - "location": "query", - "type": "string" - }, - "token": { - "location": "query", - "type": "string" - } - }, - "path": "{packageName}/purchases/voidedpurchases", - "response": { - "$ref": "VoidedPurchasesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/androidpublisher" - ] - } - } - } - } - } - }, - "revision": "20200505", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "PageInfo": { - "id": "PageInfo", - "properties": { - "resultPerPage": { - "format": "int32", - "type": "integer" - }, - "startIndex": { - "format": "int32", - "type": "integer" - }, - "totalResults": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ProductPurchase": { - "description": "A ProductPurchase resource indicates the status of a user's inapp product purchase.", - "id": "ProductPurchase", - "properties": { - "consumptionState": { - "description": "The consumption state of the inapp product. Possible values are: \n- Yet to be consumed \n- Consumed", - "format": "int32", - "type": "integer" - }, - "developerPayload": { - "description": "A developer-specified string that contains supplemental information about an order.", - "type": "string" - }, - "kind": { - "default": "androidpublisher#productPurchase", - "description": "This kind represents an inappPurchase object in the androidpublisher service.", - "type": "string" - }, - "orderId": { - "description": "The order id associated with the purchase of the inapp product.", - "type": "string" - }, - "purchaseState": { - "description": "The purchase state of the order. Possible values are: \n- Purchased \n- Canceled \n- Pending", - "format": "int32", - "type": "integer" - }, - "purchaseTimeMillis": { - "description": "The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).", - "format": "int64", - "type": "string" - }, - "purchaseType": { - "description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: \n- Test (i.e. purchased from a license testing account) \n- Promo (i.e. purchased using a promo code) \n- Rewarded (i.e. from watching a video ad instead of paying)", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "TokenPagination": { - "id": "TokenPagination", - "properties": { - "nextPageToken": { - "type": "string" - }, - "previousPageToken": { - "type": "string" - } - }, - "type": "object" - }, - "VoidedPurchase": { - "description": "A VoidedPurchase resource indicates a purchase that was either canceled/refunded/charged-back.", - "id": "VoidedPurchase", - "properties": { - "kind": { - "default": "androidpublisher#voidedPurchase", - "description": "This kind represents a voided purchase object in the androidpublisher service.", - "type": "string" - }, - "purchaseTimeMillis": { - "description": "The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).", - "format": "int64", - "type": "string" - }, - "purchaseToken": { - "description": "The token which uniquely identifies a one-time purchase or subscription. To uniquely identify subscription renewals use order_id (available starting from version 3 of the API).", - "type": "string" - }, - "voidedTimeMillis": { - "description": "The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "VoidedPurchasesListResponse": { - "id": "VoidedPurchasesListResponse", - "properties": { - "pageInfo": { - "$ref": "PageInfo" - }, - "tokenPagination": { - "$ref": "TokenPagination" - }, - "voidedPurchases": { - "items": { - "$ref": "VoidedPurchase" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "servicePath": "androidpublisher/v2/applications/", - "title": "Google Play Developer API", - "version": "v2" -} \ No newline at end of file diff --git a/discovery/apigee-v1.json b/discovery/apigee-v1.json index 0e4fccb203b..32ea58bec1c 100644 --- a/discovery/apigee-v1.json +++ b/discovery/apigee-v1.json @@ -2173,7 +2173,7 @@ "keys": { "methods": { "create": { - "description": "Creates a custom consumer key and secret for a AppGroup app. This is particularly useful if you want to migrate existing consumer keys and secrets to Apigee from another system. Consumer keys and secrets can contain letters, numbers, underscores, and hyphens. No other special characters are allowed. To avoid service disruptions, a consumer key and secret should not exceed 2 KBs each. **Note**: When creating the consumer key and secret, an association to API products will not be made. Therefore, you should not specify the associated API products in your request. Instead, use the ProductizeAppGroupAppKey API to make the association after the consumer key and secret are created. If a consumer key and secret already exist, you can keep them or delete them using the DeleteAppGroupAppKey API.", + "description": "Creates a custom consumer key and secret for a AppGroup app. This is particularly useful if you want to migrate existing consumer keys and secrets to Apigee from another system. Consumer keys and secrets can contain letters, numbers, underscores, and hyphens. No other special characters are allowed. To avoid service disruptions, a consumer key and secret should not exceed 2 KBs each. **Note**: When creating the consumer key and secret, an association to API products will not be made. Therefore, you should not specify the associated API products in your request. Instead, use the UpdateAppGroupAppKey API to make the association after the consumer key and secret are created. If a consumer key and secret already exist, you can keep them or delete them using the DeleteAppGroupAppKey API.", "flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps/{appsId}/keys", "httpMethod": "POST", "id": "apigee.organizations.appgroups.apps.keys.create", @@ -11063,7 +11063,7 @@ } } }, - "revision": "20250425", + "revision": "20250506", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -17136,7 +17136,7 @@ "type": "string" }, "consumptionPricingRates": { - "description": "API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is `STAIRSTEP` and the ranges are defined as follows: ``` { \"start\": 1, \"end\": 100, \"fee\": 75 }, { \"start\": 101, \"end\": 200, \"fee\": 100 }, } ``` Then the following fees would be charged based on the total number of API calls (assuming the currency selected is `USD`): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200.", + "description": "API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is `BANDED` and the ranges are defined as follows: ``` { \"start\": 1, \"end\": 100, \"fee\": 2 }, { \"start\": 101, \"end\": 200, \"fee\": 1.50 }, { \"start\": 201, \"end\": 0, \"fee\": 1 }, } ``` Then the following fees would be charged based on the total number of API calls (assuming the currency selected is `USD`): * 50 calls cost 50 x $2 = $100 * 150 calls cost 100 x $2 + 50 x $1.5 = $275 * 250 calls cost 100 x $2 + 100 x $1.5 + 50 x $1 = $400 * 500 calls cost 100 x $2 + 100 x $1.5 + 300 x $1 = $650", "items": { "$ref": "GoogleCloudApigeeV1RateRange" }, @@ -17154,7 +17154,7 @@ "enumDescriptions": [ "Pricing model not specified. This is the default.", "Fixed rate charged for each API call.", - "Variable rate charged for each API call based on price tiers. Example: * 1-100 calls cost $2 per call * 101-200 calls cost $1.50 per call * 201-300 calls cost $1 per call * Total price for 50 calls: 50 x $2 = $100 * Total price for 150 calls: 100 x $2 + 50 x $1.5 = $275 * Total price for 250 calls: 100 x $2 + 100 x $1.5 + 50 x $1 = $400. **Note**: Not supported by Apigee at this time.", + "Variable rate charged for each API call based on price tiers. Example: * 1-100 calls cost $2 per call * 101-200 calls cost $1.50 per call * 201-300 calls cost $1 per call * Total price for 50 calls: 50 x $2 = $100 * Total price for 150 calls: 100 x $2 + 50 x $1.5 = $275 * Total price for 250 calls: 100 x $2 + 100 x $1.5 + 50 x $1 = $400.", "**Note**: Not supported by Apigee at this time.", "**Note**: Not supported by Apigee at this time." ], diff --git a/discovery/apigeeregistry-v1.json b/discovery/apigeeregistry-v1.json index 8388f6c6022..f5de99869d4 100644 --- a/discovery/apigeeregistry-v1.json +++ b/discovery/apigeeregistry-v1.json @@ -3272,7 +3272,7 @@ } } }, - "revision": "20231004", + "revision": "20230928", "rootUrl": "https://apigeeregistry.googleapis.com/", "schemas": { "Api": { diff --git a/discovery/apihub-v1.json b/discovery/apihub-v1.json new file mode 100644 index 00000000000..46eccb9a9e0 --- /dev/null +++ b/discovery/apihub-v1.json @@ -0,0 +1,5865 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://apihub.googleapis.com/", + "batchPath": "batch", + "canonicalName": "API hub", + "description": "", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub", + "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": "apihub:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://apihub.mtls.googleapis.com/", + "name": "apihub", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "collectApiData": { + "description": "Collect API data from a source and push it to Hub's collect layer.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:collectApiData", + "httpMethod": "POST", + "id": "apihub.projects.locations.collectApiData", + "parameterOrder": [ + "location" + ], + "parameters": { + "location": { + "description": "Required. The regional location of the API hub instance and its resources. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+location}:collectApiData", + "request": { + "$ref": "GoogleCloudApihubV1CollectApiDataRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets information about a location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudLocationLocation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "apihub.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "extraLocationTypes": { + "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", + "location": "query", + "repeated": true, + "type": "string" + }, + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/locations", + "response": { + "$ref": "GoogleCloudLocationListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "lookupRuntimeProjectAttachment": { + "description": "Look up a runtime project attachment. This API can be called in the context of any project.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:lookupRuntimeProjectAttachment", + "httpMethod": "GET", + "id": "apihub.projects.locations.lookupRuntimeProjectAttachment", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Runtime project ID to look up runtime project attachment for. Lookup happens across all regions. Expected format: `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:lookupRuntimeProjectAttachment", + "response": { + "$ref": "GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "searchResources": { + "description": "Search across API-Hub resources.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:searchResources", + "httpMethod": "POST", + "id": "apihub.projects.locations.searchResources", + "parameterOrder": [ + "location" + ], + "parameters": { + "location": { + "description": "Required. The resource name of the location which will be of the type `projects/{project_id}/locations/{location_id}`. This field is used to identify the instance of API-Hub in which resources should be searched.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+location}:searchResources", + "request": { + "$ref": "GoogleCloudApihubV1SearchResourcesRequest" + }, + "response": { + "$ref": "GoogleCloudApihubV1SearchResourcesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "apiHubInstances": { + "methods": { + "create": { + "description": "Provisions instance resources for the API Hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apiHubInstances", + "httpMethod": "POST", + "id": "apihub.projects.locations.apiHubInstances.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "apiHubInstanceId": { + "description": "Optional. Identifier to assign to the Api Hub instance. Must be unique within scope of the parent resource. If the field is not provided, system generated id will be used. This value should be 4-40 characters, and valid characters are `/a-z[0-9]-_/`.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource for the Api Hub instance resource. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/apiHubInstances", + "request": { + "$ref": "GoogleCloudApihubV1ApiHubInstance" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the API hub instance.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apiHubInstances/{apiHubInstancesId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.apiHubInstances.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Api Hub instance to delete. Format: `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apiHubInstances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single API Hub instance.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apiHubInstances/{apiHubInstancesId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.apiHubInstances.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Api Hub instance to retrieve. Format: `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apiHubInstances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1ApiHubInstance" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "lookup": { + "description": "Looks up an Api Hub instance in a given GCP project. There will always be only one Api Hub instance for a GCP project across all locations.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apiHubInstances:lookup", + "httpMethod": "GET", + "id": "apihub.projects.locations.apiHubInstances.lookup", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. There will always be only one Api Hub instance for a GCP project across all locations. The parent resource for the Api Hub instance resource. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/apiHubInstances:lookup", + "response": { + "$ref": "GoogleCloudApihubV1LookupApiHubInstanceResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "apis": { + "methods": { + "create": { + "description": "Create an API resource in the API hub. Once an API resource is created, versions can be added to it.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis", + "httpMethod": "POST", + "id": "apihub.projects.locations.apis.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "apiId": { + "description": "Optional. The ID to use for the API resource, which will become the final component of the API's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another API resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource for the API resource. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/apis", + "request": { + "$ref": "GoogleCloudApihubV1Api" + }, + "response": { + "$ref": "GoogleCloudApihubV1Api" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete an API resource in the API hub. API can only be deleted if all underlying versions are deleted.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.apis.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "Optional. If set to true, any versions from this API will also be deleted. Otherwise, the request will only work if the API has no versions.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the API resource to delete. Format: `projects/{project}/locations/{location}/apis/{api}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get API resource details including the API versions contained in it.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.apis.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the API resource to retrieve. Format: `projects/{project}/locations/{location}/apis/{api}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1Api" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List API resources in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis", + "httpMethod": "GET", + "id": "apihub.projects.locations.apis.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of ApiResources. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `>`, `:` or `=`. Filters are not case sensitive. The following fields in the `ApiResource` are eligible for filtering: * `owner.email` - The email of the team which owns the ApiResource. Allowed comparison operators: `=`. * `create_time` - The time at which the ApiResource was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `>` and `<`. * `display_name` - The display name of the ApiResource. Allowed comparison operators: `=`. * `target_user.enum_values.values.id` - The allowed value id of the target users attribute associated with the ApiResource. Allowed comparison operator is `:`. * `target_user.enum_values.values.display_name` - The allowed value display name of the target users attribute associated with the ApiResource. Allowed comparison operator is `:`. * `team.enum_values.values.id` - The allowed value id of the team attribute associated with the ApiResource. Allowed comparison operator is `:`. * `team.enum_values.values.display_name` - The allowed value display name of the team attribute associated with the ApiResource. Allowed comparison operator is `:`. * `business_unit.enum_values.values.id` - The allowed value id of the business unit attribute associated with the ApiResource. Allowed comparison operator is `:`. * `business_unit.enum_values.values.display_name` - The allowed value display name of the business unit attribute associated with the ApiResource. Allowed comparison operator is `:`. * `maturity_level.enum_values.values.id` - The allowed value id of the maturity level attribute associated with the ApiResource. Allowed comparison operator is `:`. * `maturity_level.enum_values.values.display_name` - The allowed value display name of the maturity level attribute associated with the ApiResource. Allowed comparison operator is `:`. * `api_style.enum_values.values.id` - The allowed value id of the api style attribute associated with the ApiResource. Allowed comparison operator is `:`. * `api_style.enum_values.values.display_name` - The allowed value display name of the api style attribute associated with the ApiResource. Allowed comparison operator is `:`. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.id` - The allowed value id of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a placeholder that can be replaced with any user defined enum attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.display_name` - The allowed value display name of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-display-name is a placeholder that can be replaced with any user defined enum attribute enum name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.string_values.values` - The allowed value of the user defined string attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-string is a placeholder that can be replaced with any user defined string attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.json_values.values` - The allowed value of the user defined JSON attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-json is a placeholder that can be replaced with any user defined JSON attribute name. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `owner.email = \\\"apihub@google.com\\\"` - - The owner team email is _apihub@google.com_. * `owner.email = \\\"apihub@google.com\\\" AND create_time < \\\"2021-08-15T14:50:00Z\\\" AND create_time > \\\"2021-08-10T12:00:00Z\\\"` - The owner team email is _apihub@google.com_ and the api was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `owner.email = \\\"apihub@google.com\\\" OR team.enum_values.values.id: apihub-team-id` - The filter string specifies the APIs where the owner team email is _apihub@google.com_ or the id of the allowed value associated with the team attribute is _apihub-team-id_. * `owner.email = \\\"apihub@google.com\\\" OR team.enum_values.values.display_name: ApiHub Team` - The filter string specifies the APIs where the owner team email is _apihub@google.com_ or the display name of the allowed value associated with the team attribute is `ApiHub Team`. * `owner.email = \\\"apihub@google.com\\\" AND attributes.projects/test-project-id/locations/test-location-id/ attributes/17650f90-4a29-4971-b3c0-d5532da3764b.enum_values.values.id: test_enum_id AND attributes.projects/test-project-id/locations/test-location-id/ attributes/1765\\0f90-4a29-5431-b3d0-d5532da3764c.string_values.values: test_string_value` - The filter string specifies the APIs where the owner team email is _apihub@google.com_ and the id of the allowed value associated with the user defined attribute of type enum is _test_enum_id_ and the value of the user defined attribute of type string is _test_..", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of API resources to return. The service may return fewer than this value. If unspecified, at most 50 Apis will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListApis` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListApis` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of API resources. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/apis", + "response": { + "$ref": "GoogleCloudApihubV1ListApisResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update an API resource in the API hub. The following fields in the API can be updated: * display_name * description * owner * documentation * target_user * team * business_unit * maturity_level * api_style * attributes The update_mask should be used to specify the fields being updated. Updating the owner field requires complete owner message and updates both owner and email fields.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", + "httpMethod": "PATCH", + "id": "apihub.projects.locations.apis.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The name of the API resource in the API Hub. Format: `projects/{project}/locations/{location}/apis/{api}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApihubV1Api" + }, + "response": { + "$ref": "GoogleCloudApihubV1Api" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "versions": { + "methods": { + "create": { + "description": "Create an API version for an API resource in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions", + "httpMethod": "POST", + "id": "apihub.projects.locations.apis.versions.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource for API version. Format: `projects/{project}/locations/{location}/apis/{api}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + }, + "versionId": { + "description": "Optional. The ID to use for the API version, which will become the final component of the version's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another version in the API resource. * If not provided, a system generated id will be used. This value should be 4-500 characters, overall resource name which will be of format `projects/{project}/locations/{location}/apis/{api}/versions/{version}`, its length is limited to 700 characters and valid characters are /a-z[0-9]-_/.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/versions", + "request": { + "$ref": "GoogleCloudApihubV1Version" + }, + "response": { + "$ref": "GoogleCloudApihubV1Version" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete an API version. Version can only be deleted if all underlying specs, operations, definitions and linked deployments are deleted.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.apis.versions.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "Optional. If set to true, any specs from this version will also be deleted. Otherwise, the request will only work if the version has no specs.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the version to delete. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get details about the API version of an API resource. This will include information about the specs and operations present in the API version as well as the deployments linked to it.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.apis.versions.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the API version to retrieve. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1Version" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List API versions of an API resource in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions", + "httpMethod": "GET", + "id": "apihub.projects.locations.apis.versions.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of Versions. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `>` or `=`. Filters are not case sensitive. The following fields in the `Version` are eligible for filtering: * `display_name` - The display name of the Version. Allowed comparison operators: `=`. * `create_time` - The time at which the Version was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `>` and `<`. * `lifecycle.enum_values.values.id` - The allowed value id of the lifecycle attribute associated with the Version. Allowed comparison operators: `:`. * `lifecycle.enum_values.values.display_name` - The allowed value display name of the lifecycle attribute associated with the Version. Allowed comparison operators: `:`. * `compliance.enum_values.values.id` - The allowed value id of the compliances attribute associated with the Version. Allowed comparison operators: `:`. * `compliance.enum_values.values.display_name` - The allowed value display name of the compliances attribute associated with the Version. Allowed comparison operators: `:`. * `accreditation.enum_values.values.id` - The allowed value id of the accreditations attribute associated with the Version. Allowed comparison operators: `:`. * `accreditation.enum_values.values.display_name` - The allowed value display name of the accreditations attribute associated with the Version. Allowed comparison operators: `:`. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.id` - The allowed value id of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a placeholder that can be replaced with any user defined enum attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.display_name` - The allowed value display name of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-display-name is a placeholder that can be replaced with any user defined enum attribute enum name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.string_values.values` - The allowed value of the user defined string attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-string is a placeholder that can be replaced with any user defined string attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.json_values.values` - The allowed value of the user defined JSON attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-json is a placeholder that can be replaced with any user defined JSON attribute name. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `lifecycle.enum_values.values.id: preview-id` - The filter string specifies that the id of the allowed value associated with the lifecycle attribute of the Version is _preview-id_. * `lifecycle.enum_values.values.display_name: \\\"Preview Display Name\\\"` - The filter string specifies that the display name of the allowed value associated with the lifecycle attribute of the Version is `Preview Display Name`. * `lifecycle.enum_values.values.id: preview-id AND create_time < \\\"2021-08-15T14:50:00Z\\\" AND create_time > \\\"2021-08-10T12:00:00Z\\\"` - The id of the allowed value associated with the lifecycle attribute of the Version is _preview-id_ and it was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `compliance.enum_values.values.id: gdpr-id OR compliance.enum_values.values.id: pci-dss-id` - The id of the allowed value associated with the compliance attribute is _gdpr-id_ or _pci-dss-id_. * `lifecycle.enum_values.values.id: preview-id AND attributes.projects/test-project-id/locations/test-location-id/ attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values: test` - The filter string specifies that the id of the allowed value associated with the lifecycle attribute of the Version is _preview-id_ and the value of the user defined attribute of type string is _test_.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListVersions` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent which owns this collection of API versions i.e., the API resource Format: `projects/{project}/locations/{location}/apis/{api}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/versions", + "response": { + "$ref": "GoogleCloudApihubV1ListVersionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update API version. The following fields in the version can be updated currently: * display_name * description * documentation * deployments * lifecycle * compliance * accreditation * attributes The update_mask should be used to specify the fields being updated.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}", + "httpMethod": "PATCH", + "id": "apihub.projects.locations.apis.versions.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The name of the version. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApihubV1Version" + }, + "response": { + "$ref": "GoogleCloudApihubV1Version" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "definitions": { + "methods": { + "get": { + "description": "Get details about a definition in an API version.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/definitions/{definitionsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.apis.versions.definitions.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the definition to retrieve. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/definitions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1Definition" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "create": { + "description": "Create an apiOperation in an API version. An apiOperation can be created only if the version has no apiOperations which were created by parsing a spec.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/operations", + "httpMethod": "POST", + "id": "apihub.projects.locations.apis.versions.operations.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "apiOperationId": { + "description": "Optional. The ID to use for the operation resource, which will become the final component of the operation's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another operation resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, overall resource name which will be of format `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`, its length is limited to 700 characters, and valid characters are /a-z[0-9]-_/.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource for the operation resource. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/operations", + "request": { + "$ref": "GoogleCloudApihubV1ApiOperation" + }, + "response": { + "$ref": "GoogleCloudApihubV1ApiOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete an operation in an API version and we can delete only the operations created via create API. If the operation was created by parsing the spec, then it can be deleted by editing or deleting the spec.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.apis.versions.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the operation resource to delete. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get details about a particular operation in API version.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.apis.versions.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the operation to retrieve. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1ApiOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List operations in an API version.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/operations", + "httpMethod": "GET", + "id": "apihub.projects.locations.apis.versions.operations.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of ApiOperations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string or a boolean. The comparison operator must be one of: `<`, `>` or `=`. Filters are not case sensitive. The following fields in the `ApiOperation` are eligible for filtering: * `name` - The ApiOperation resource name. Allowed comparison operators: `=`. * `details.http_operation.path.path` - The http operation's complete path relative to server endpoint. Allowed comparison operators: `=`. * `details.http_operation.method` - The http operation method type. Allowed comparison operators: `=`. * `details.deprecated` - Indicates if the ApiOperation is deprecated. Allowed values are True / False indicating the deprycation status of the ApiOperation. Allowed comparison operators: `=`. * `create_time` - The time at which the ApiOperation was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `>` and `<`. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.id` - The allowed value id of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a placeholder that can be replaced with any user defined enum attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.display_name` - The allowed value display name of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-display-name is a placeholder that can be replaced with any user defined enum attribute enum name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.string_values.values` - The allowed value of the user defined string attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-string is a placeholder that can be replaced with any user defined string attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.json_values.values` - The allowed value of the user defined JSON attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-json is a placeholder that can be replaced with any user defined JSON attribute name. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `details.deprecated = True` - The ApiOperation is deprecated. * `details.http_operation.method = GET AND create_time < \\\"2021-08-15T14:50:00Z\\\" AND create_time > \\\"2021-08-10T12:00:00Z\\\"` - The method of the http operation of the ApiOperation is _GET_ and the spec was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `details.http_operation.method = GET OR details.http_operation.method = POST`. - The http operation of the method of ApiOperation is _GET_ or _POST_. * `details.deprecated = True AND attributes.projects/test-project-id/locations/test-location-id/ attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values: test` - The filter string specifies that the ApiOperation is deprecated and the value of the user defined attribute of type string is _test_.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of operations to return. The service may return fewer than this value. If unspecified, at most 50 operations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListApiOperations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListApiOperations` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent which owns this collection of operations i.e., the API version. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/operations", + "response": { + "$ref": "GoogleCloudApihubV1ListApiOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update an operation in an API version. The following fields in the ApiOperation resource can be updated: * details.description * details.documentation * details.http_operation.path * details.http_operation.method * details.deprecated * attributes The update_mask should be used to specify the fields being updated. An operation can be updated only if the operation was created via CreateApiOperation API. If the operation was created by parsing the spec, then it can be edited by updating the spec.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/operations/{operationsId}", + "httpMethod": "PATCH", + "id": "apihub.projects.locations.apis.versions.operations.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The name of the operation. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApihubV1ApiOperation" + }, + "response": { + "$ref": "GoogleCloudApihubV1ApiOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "specs": { + "methods": { + "create": { + "description": "Add a spec to an API version in the API hub. Multiple specs can be added to an API version. Note, while adding a spec, at least one of `contents` or `source_uri` must be provided. If `contents` is provided, then `spec_type` must also be provided. On adding a spec with contents to the version, the operations present in it will be added to the version.Note that the file contents in the spec should be of the same type as defined in the `projects/{project}/locations/{location}/attributes/system-spec-type` attribute associated with spec resource. Note that specs of various types can be uploaded, however parsing of details is supported for OpenAPI spec currently. In order to access the information parsed from the spec, use the GetSpec method. In order to access the raw contents for a particular spec, use the GetSpecContents method. In order to access the operations parsed from the spec, use the ListAPIOperations method.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs", + "httpMethod": "POST", + "id": "apihub.projects.locations.apis.versions.specs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource for Spec. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + }, + "specId": { + "description": "Optional. The ID to use for the spec, which will become the final component of the spec's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another spec in the API resource. * If not provided, a system generated id will be used. This value should be 4-500 characters, overall resource name which will be of format `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`, its length is limited to 1000 characters and valid characters are /a-z[0-9]-_/.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/specs", + "request": { + "$ref": "GoogleCloudApihubV1Spec" + }, + "response": { + "$ref": "GoogleCloudApihubV1Spec" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a spec. Deleting a spec will also delete the associated operations from the version.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.apis.versions.specs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the spec to delete. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get details about the information parsed from a spec. Note that this method does not return the raw spec contents. Use GetSpecContents method to retrieve the same.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.apis.versions.specs.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the spec to retrieve. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1Spec" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getContents": { + "description": "Get spec contents.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:contents", + "httpMethod": "GET", + "id": "apihub.projects.locations.apis.versions.specs.getContents", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the spec whose contents need to be retrieved. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:contents", + "response": { + "$ref": "GoogleCloudApihubV1SpecContents" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "lint": { + "description": "Lints the requested spec and updates the corresponding API Spec with the lint response. This lint response will be available in all subsequent Get and List Spec calls to Core service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:lint", + "httpMethod": "POST", + "id": "apihub.projects.locations.apis.versions.specs.lint", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the spec to be linted. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:lint", + "request": { + "$ref": "GoogleCloudApihubV1LintSpecRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List specs corresponding to a particular API resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs", + "httpMethod": "GET", + "id": "apihub.projects.locations.apis.versions.specs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of Specs. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `>`, `:` or `=`. Filters are not case sensitive. The following fields in the `Spec` are eligible for filtering: * `display_name` - The display name of the Spec. Allowed comparison operators: `=`. * `create_time` - The time at which the Spec was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `>` and `<`. * `spec_type.enum_values.values.id` - The allowed value id of the spec_type attribute associated with the Spec. Allowed comparison operators: `:`. * `spec_type.enum_values.values.display_name` - The allowed value display name of the spec_type attribute associated with the Spec. Allowed comparison operators: `:`. * `lint_response.json_values.values` - The json value of the lint_response attribute associated with the Spec. Allowed comparison operators: `:`. * `mime_type` - The MIME type of the Spec. Allowed comparison operators: `=`. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.id` - The allowed value id of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a placeholder that can be replaced with any user defined enum attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.display_name` - The allowed value display name of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-display-name is a placeholder that can be replaced with any user defined enum attribute enum name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.string_values.values` - The allowed value of the user defined string attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-string is a placeholder that can be replaced with any user defined string attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.json_values.values` - The allowed value of the user defined JSON attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-json is a placeholder that can be replaced with any user defined JSON attribute name. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `spec_type.enum_values.values.id: rest-id` - The filter string specifies that the id of the allowed value associated with the spec_type attribute is _rest-id_. * `spec_type.enum_values.values.display_name: \\\"Rest Display Name\\\"` - The filter string specifies that the display name of the allowed value associated with the spec_type attribute is `Rest Display Name`. * `spec_type.enum_values.values.id: grpc-id AND create_time < \\\"2021-08-15T14:50:00Z\\\" AND create_time > \\\"2021-08-10T12:00:00Z\\\"` - The id of the allowed value associated with the spec_type attribute is _grpc-id_ and the spec was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `spec_type.enum_values.values.id: rest-id OR spec_type.enum_values.values.id: grpc-id` - The id of the allowed value associated with the spec_type attribute is _rest-id_ or _grpc-id_. * `spec_type.enum_values.values.id: rest-id AND attributes.projects/test-project-id/locations/test-location-id/ attributes/17650f90-4a29-4971-b3c0-d5532da3764b.enum_values.values.id: test` - The filter string specifies that the id of the allowed value associated with the spec_type attribute is _rest-id_ and the id of the allowed value associated with the user defined attribute of type enum is _test_.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of specs to return. The service may return fewer than this value. If unspecified, at most 50 specs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListSpecs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSpecs` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of specs. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/specs", + "response": { + "$ref": "GoogleCloudApihubV1ListSpecsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update spec. The following fields in the spec can be updated: * display_name * source_uri * lint_response * attributes * contents * spec_type In case of an OAS spec, updating spec contents can lead to: 1. Creation, deletion and update of operations. 2. Creation, deletion and update of definitions. 3. Update of other info parsed out from the new spec. In case of contents or source_uri being present in update mask, spec_type must also be present. Also, spec_type can not be present in update mask if contents or source_uri is not present. The update_mask should be used to specify the fields being updated.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}", + "httpMethod": "PATCH", + "id": "apihub.projects.locations.apis.versions.specs.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The name of the spec. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApihubV1Spec" + }, + "response": { + "$ref": "GoogleCloudApihubV1Spec" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + }, + "attributes": { + "methods": { + "create": { + "description": "Create a user defined attribute. Certain pre defined attributes are already created by the API hub. These attributes will have type as `SYSTEM_DEFINED` and can be listed via ListAttributes method. Allowed values for the same can be updated via UpdateAttribute method.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/attributes", + "httpMethod": "POST", + "id": "apihub.projects.locations.attributes.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "attributeId": { + "description": "Optional. The ID to use for the attribute, which will become the final component of the attribute's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another attribute resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource for Attribute. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/attributes", + "request": { + "$ref": "GoogleCloudApihubV1Attribute" + }, + "response": { + "$ref": "GoogleCloudApihubV1Attribute" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete an attribute. Note: System defined attributes cannot be deleted. All associations of the attribute being deleted with any API hub resource will also get deleted.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/attributes/{attributesId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.attributes.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the attribute to delete. Format: `projects/{project}/locations/{location}/attributes/{attribute}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/attributes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get details about the attribute.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/attributes/{attributesId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.attributes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the attribute to retrieve. Format: `projects/{project}/locations/{location}/attributes/{attribute}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/attributes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1Attribute" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all attributes.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/attributes", + "httpMethod": "GET", + "id": "apihub.projects.locations.attributes.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of Attributes. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string or a boolean. The comparison operator must be one of: `<`, `>` or `=`. Filters are not case sensitive. The following fields in the `Attribute` are eligible for filtering: * `display_name` - The display name of the Attribute. Allowed comparison operators: `=`. * `definition_type` - The definition type of the attribute. Allowed comparison operators: `=`. * `scope` - The scope of the attribute. Allowed comparison operators: `=`. * `data_type` - The type of the data of the attribute. Allowed comparison operators: `=`. * `mandatory` - Denotes whether the attribute is mandatory or not. Allowed comparison operators: `=`. * `create_time` - The time at which the Attribute was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `>` and `<`. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `display_name = production` - - The display name of the attribute is _production_. * `(display_name = production) AND (create_time < \\\"2021-08-15T14:50:00Z\\\") AND (create_time > \\\"2021-08-10T12:00:00Z\\\")` - The display name of the attribute is _production_ and the attribute was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `display_name = production OR scope = api` - The attribute where the display name is _production_ or the scope is _api_.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of attribute resources to return. The service may return fewer than this value. If unspecified, at most 50 attributes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListAttributes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAttributes` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource for Attribute. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/attributes", + "response": { + "$ref": "GoogleCloudApihubV1ListAttributesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update the attribute. The following fields in the Attribute resource can be updated: * display_name The display name can be updated for user defined attributes only. * description The description can be updated for user defined attributes only. * allowed_values To update the list of allowed values, clients need to use the fetched list of allowed values and add or remove values to or from the same list. The mutable allowed values can be updated for both user defined and System defined attributes. The immutable allowed values cannot be updated or deleted. The updated list of allowed values cannot be empty. If an allowed value that is already used by some resource's attribute is deleted, then the association between the resource and the attribute value will also be deleted. * cardinality The cardinality can be updated for user defined attributes only. Cardinality can only be increased during an update. The update_mask should be used to specify the fields being updated.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/attributes/{attributesId}", + "httpMethod": "PATCH", + "id": "apihub.projects.locations.attributes.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The name of the attribute in the API Hub. Format: `projects/{project}/locations/{location}/attributes/{attribute}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/attributes/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApihubV1Attribute" + }, + "response": { + "$ref": "GoogleCloudApihubV1Attribute" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "curations": { + "methods": { + "create": { + "description": "Create a curation resource in the API hub. Once a curation resource is created, plugin instances can start using it.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/curations", + "httpMethod": "POST", + "id": "apihub.projects.locations.curations.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "curationId": { + "description": "Optional. The ID to use for the curation resource, which will become the final component of the curations's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified ID is already used by another curation resource in the API hub. * If not provided, a system generated ID will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource for the curation resource. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/curations", + "request": { + "$ref": "GoogleCloudApihubV1Curation" + }, + "response": { + "$ref": "GoogleCloudApihubV1Curation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a curation resource in the API hub. A curation can only be deleted if it's not being used by any plugin instance.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/curations/{curationsId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.curations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the curation resource to delete. Format: `projects/{project}/locations/{location}/curations/{curation}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/curations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get curation resource details.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/curations/{curationsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.curations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the curation resource to retrieve. Format: `projects/{project}/locations/{location}/curations/{curation}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/curations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1Curation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List curation resources in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/curations", + "httpMethod": "GET", + "id": "apihub.projects.locations.curations.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of curation resources. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `>`, `:` or `=`. Filters are case insensitive. The following fields in the `curation resource` are eligible for filtering: * `create_time` - The time at which the curation was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `>` and `<`. * `display_name` - The display name of the curation. Allowed comparison operators: `=`. * `state` - The state of the curation. Allowed comparison operators: `=`. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `create_time < \\\"2021-08-15T14:50:00Z\\\" AND create_time > \\\"2021-08-10T12:00:00Z\\\"` - The curation resource was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of curation resources to return. The service may return fewer than this value. If unspecified, at most 50 curations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListCurations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListCurations` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of curation resources. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/curations", + "response": { + "$ref": "GoogleCloudApihubV1ListCurationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update a curation resource in the API hub. The following fields in the curation can be updated: * display_name * description The update_mask should be used to specify the fields being updated.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/curations/{curationsId}", + "httpMethod": "PATCH", + "id": "apihub.projects.locations.curations.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The name of the curation. Format: `projects/{project}/locations/{location}/curations/{curation}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/curations/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApihubV1Curation" + }, + "response": { + "$ref": "GoogleCloudApihubV1Curation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "dependencies": { + "methods": { + "create": { + "description": "Create a dependency between two entities in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dependencies", + "httpMethod": "POST", + "id": "apihub.projects.locations.dependencies.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "dependencyId": { + "description": "Optional. The ID to use for the dependency resource, which will become the final component of the dependency's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if duplicate id is provided by the client. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are `a-z[0-9]-_`.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource for the dependency resource. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/dependencies", + "request": { + "$ref": "GoogleCloudApihubV1Dependency" + }, + "response": { + "$ref": "GoogleCloudApihubV1Dependency" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete the dependency resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dependencies/{dependenciesId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.dependencies.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the dependency resource to delete. Format: `projects/{project}/locations/{location}/dependencies/{dependency}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dependencies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get details about a dependency resource in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dependencies/{dependenciesId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.dependencies.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the dependency resource to retrieve. Format: `projects/{project}/locations/{location}/dependencies/{dependency}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dependencies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1Dependency" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List dependencies based on the provided filter and pagination parameters.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dependencies", + "httpMethod": "GET", + "id": "apihub.projects.locations.dependencies.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of Dependencies. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. Allowed comparison operator is `=`. Filters are not case sensitive. The following fields in the `Dependency` are eligible for filtering: * `consumer.operation_resource_name` - The operation resource name for the consumer entity involved in a dependency. Allowed comparison operators: `=`. * `consumer.external_api_resource_name` - The external api resource name for the consumer entity involved in a dependency. Allowed comparison operators: `=`. * `supplier.operation_resource_name` - The operation resource name for the supplier entity involved in a dependency. Allowed comparison operators: `=`. * `supplier.external_api_resource_name` - The external api resource name for the supplier entity involved in a dependency. Allowed comparison operators: `=`. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. For example, `consumer.operation_resource_name = \\\"projects/p1/locations/global/apis/a1/versions/v1/operations/o1\\\" OR supplier.operation_resource_name = \\\"projects/p1/locations/global/apis/a1/versions/v1/operations/o1\\\"` - The dependencies with either consumer or supplier operation resource name as _projects/p1/locations/global/apis/a1/versions/v1/operations/o1_.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of dependency resources to return. The service may return fewer than this value. If unspecified, at most 50 dependencies will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListDependencies` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDependencies` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent which owns this collection of dependency resources. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/dependencies", + "response": { + "$ref": "GoogleCloudApihubV1ListDependenciesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update a dependency based on the update_mask provided in the request. The following fields in the dependency can be updated: * description", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dependencies/{dependenciesId}", + "httpMethod": "PATCH", + "id": "apihub.projects.locations.dependencies.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The name of the dependency in the API Hub. Format: `projects/{project}/locations/{location}/dependencies/{dependency}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dependencies/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApihubV1Dependency" + }, + "response": { + "$ref": "GoogleCloudApihubV1Dependency" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "deployments": { + "methods": { + "create": { + "description": "Create a deployment resource in the API hub. Once a deployment resource is created, it can be associated with API versions.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments", + "httpMethod": "POST", + "id": "apihub.projects.locations.deployments.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "deploymentId": { + "description": "Optional. The ID to use for the deployment resource, which will become the final component of the deployment's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another deployment resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource for the deployment resource. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/deployments", + "request": { + "$ref": "GoogleCloudApihubV1Deployment" + }, + "response": { + "$ref": "GoogleCloudApihubV1Deployment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a deployment resource in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.deployments.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the deployment resource to delete. Format: `projects/{project}/locations/{location}/deployments/{deployment}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get details about a deployment and the API versions linked to it.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.deployments.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the deployment resource to retrieve. Format: `projects/{project}/locations/{location}/deployments/{deployment}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1Deployment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List deployment resources in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments", + "httpMethod": "GET", + "id": "apihub.projects.locations.deployments.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of Deployments. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `>` or `=`. Filters are not case sensitive. The following fields in the `Deployments` are eligible for filtering: * `display_name` - The display name of the Deployment. Allowed comparison operators: `=`. * `create_time` - The time at which the Deployment was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `>` and `<`. * `resource_uri` - A URI to the deployment resource. Allowed comparison operators: `=`. * `api_versions` - The API versions linked to this deployment. Allowed comparison operators: `:`. * `deployment_type.enum_values.values.id` - The allowed value id of the deployment_type attribute associated with the Deployment. Allowed comparison operators: `:`. * `deployment_type.enum_values.values.display_name` - The allowed value display name of the deployment_type attribute associated with the Deployment. Allowed comparison operators: `:`. * `slo.string_values.values` -The allowed string value of the slo attribute associated with the deployment. Allowed comparison operators: `:`. * `environment.enum_values.values.id` - The allowed value id of the environment attribute associated with the deployment. Allowed comparison operators: `:`. * `environment.enum_values.values.display_name` - The allowed value display name of the environment attribute associated with the deployment. Allowed comparison operators: `:`. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.id` - The allowed value id of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a placeholder that can be replaced with any user defined enum attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.display_name` - The allowed value display name of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-display-name is a placeholder that can be replaced with any user defined enum attribute enum name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.string_values.values` - The allowed value of the user defined string attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-string is a placeholder that can be replaced with any user defined string attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.json_values.values` - The allowed value of the user defined JSON attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-json is a placeholder that can be replaced with any user defined JSON attribute name. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `environment.enum_values.values.id: staging-id` - The allowed value id of the environment attribute associated with the Deployment is _staging-id_. * `environment.enum_values.values.display_name: \\\"Staging Deployment\\\"` - The allowed value display name of the environment attribute associated with the Deployment is `Staging Deployment`. * `environment.enum_values.values.id: production-id AND create_time < \\\"2021-08-15T14:50:00Z\\\" AND create_time > \\\"2021-08-10T12:00:00Z\\\"` - The allowed value id of the environment attribute associated with the Deployment is _production-id_ and Deployment was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `environment.enum_values.values.id: production-id OR slo.string_values.values: \\\"99.99%\\\"` - The allowed value id of the environment attribute Deployment is _production-id_ or string value of the slo attribute is _99.99%_. * `environment.enum_values.values.id: staging-id AND attributes.projects/test-project-id/locations/test-location-id/ attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values: test` - The filter string specifies that the allowed value id of the environment attribute associated with the Deployment is _staging-id_ and the value of the user defined attribute of type string is _test_.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of deployment resources to return. The service may return fewer than this value. If unspecified, at most 50 deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListDeployments` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of deployment resources. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/deployments", + "response": { + "$ref": "GoogleCloudApihubV1ListDeploymentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update a deployment resource in the API hub. The following fields in the deployment resource can be updated: * display_name * description * documentation * deployment_type * resource_uri * endpoints * slo * environment * attributes The update_mask should be used to specify the fields being updated.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}", + "httpMethod": "PATCH", + "id": "apihub.projects.locations.deployments.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApihubV1Deployment" + }, + "response": { + "$ref": "GoogleCloudApihubV1Deployment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "externalApis": { + "methods": { + "create": { + "description": "Create an External API resource in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/externalApis", + "httpMethod": "POST", + "id": "apihub.projects.locations.externalApis.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "externalApiId": { + "description": "Optional. The ID to use for the External API resource, which will become the final component of the External API's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another External API resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource for the External API resource. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/externalApis", + "request": { + "$ref": "GoogleCloudApihubV1ExternalApi" + }, + "response": { + "$ref": "GoogleCloudApihubV1ExternalApi" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete an External API resource in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/externalApis/{externalApisId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.externalApis.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the External API resource to delete. Format: `projects/{project}/locations/{location}/externalApis/{externalApi}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/externalApis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get details about an External API resource in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/externalApis/{externalApisId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.externalApis.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the External API resource to retrieve. Format: `projects/{project}/locations/{location}/externalApis/{externalApi}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/externalApis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1ExternalApi" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List External API resources in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/externalApis", + "httpMethod": "GET", + "id": "apihub.projects.locations.externalApis.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of External API resources to return. The service may return fewer than this value. If unspecified, at most 50 ExternalApis will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListExternalApis` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListExternalApis` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of External API resources. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/externalApis", + "response": { + "$ref": "GoogleCloudApihubV1ListExternalApisResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update an External API resource in the API hub. The following fields can be updated: * display_name * description * documentation * endpoints * paths The update_mask should be used to specify the fields being updated.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/externalApis/{externalApisId}", + "httpMethod": "PATCH", + "id": "apihub.projects.locations.externalApis.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. Format: `projects/{project}/locations/{location}/externalApi/{externalApi}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/externalApis/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApihubV1ExternalApi" + }, + "response": { + "$ref": "GoogleCloudApihubV1ExternalApi" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "hostProjectRegistrations": { + "methods": { + "create": { + "description": "Create a host project registration. A Google cloud project can be registered as a host project if it is not attached as a runtime project to another host project. A project can be registered as a host project only once. Subsequent register calls for the same project will fail.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hostProjectRegistrations", + "httpMethod": "POST", + "id": "apihub.projects.locations.hostProjectRegistrations.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "hostProjectRegistrationId": { + "description": "Required. The ID to use for the Host Project Registration, which will become the final component of the host project registration's resource name. The ID must be the same as the Google cloud project specified in the host_project_registration.gcp_project field.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource for the host project. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/hostProjectRegistrations", + "request": { + "$ref": "GoogleCloudApihubV1HostProjectRegistration" + }, + "response": { + "$ref": "GoogleCloudApihubV1HostProjectRegistration" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get a host project registration.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hostProjectRegistrations/{hostProjectRegistrationsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.hostProjectRegistrations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Host project registration resource name. projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/hostProjectRegistrations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1HostProjectRegistration" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists host project registrations.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hostProjectRegistrations", + "httpMethod": "GET", + "id": "apihub.projects.locations.hostProjectRegistrations.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of HostProjectRegistrations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. All standard operators as documented at https://google.aip.dev/160 are supported. The following fields in the `HostProjectRegistration` are eligible for filtering: * `name` - The name of the HostProjectRegistration. * `create_time` - The time at which the HostProjectRegistration was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. * `gcp_project` - The Google cloud project associated with the HostProjectRegistration.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of host project registrations to return. The service may return fewer than this value. If unspecified, at most 50 host project registrations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListHostProjectRegistrations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListHostProjectRegistrations` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of host projects. Format: `projects/*/locations/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/hostProjectRegistrations", + "response": { + "$ref": "GoogleCloudApihubV1ListHostProjectRegistrationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "apihub.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "GoogleLongrunningCancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "apihub.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/operations", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "plugins": { + "methods": { + "create": { + "description": "Create an API Hub plugin resource in the API hub. Once a plugin is created, it can be used to create plugin instances.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins", + "httpMethod": "POST", + "id": "apihub.projects.locations.plugins.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource where this plugin will be created. Format: `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pluginId": { + "description": "Optional. The ID to use for the Plugin resource, which will become the final component of the Plugin's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another Plugin resource in the API hub instance. * If not provided, a system generated id will be used. This value should be 4-500 characters, overall resource name which will be of format `projects/{project}/locations/{location}/plugins/{plugin}`, its length is limited to 1000 characters and valid characters are /a-z[0-9]-_/.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/plugins", + "request": { + "$ref": "GoogleCloudApihubV1Plugin" + }, + "response": { + "$ref": "GoogleCloudApihubV1Plugin" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a Plugin in API hub. Note, only user owned plugins can be deleted via this method.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.plugins.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Plugin resource to delete. Format: `projects/{project}/locations/{location}/plugins/{plugin}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "disable": { + "description": "Disables a plugin. The `state` of the plugin after disabling is `DISABLED`", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}:disable", + "httpMethod": "POST", + "id": "apihub.projects.locations.plugins.disable", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the plugin to disable. Format: `projects/{project}/locations/{location}/plugins/{plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:disable", + "request": { + "$ref": "GoogleCloudApihubV1DisablePluginRequest" + }, + "response": { + "$ref": "GoogleCloudApihubV1Plugin" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "enable": { + "description": "Enables a plugin. The `state` of the plugin after enabling is `ENABLED`", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}:enable", + "httpMethod": "POST", + "id": "apihub.projects.locations.plugins.enable", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the plugin to enable. Format: `projects/{project}/locations/{location}/plugins/{plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:enable", + "request": { + "$ref": "GoogleCloudApihubV1EnablePluginRequest" + }, + "response": { + "$ref": "GoogleCloudApihubV1Plugin" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get an API Hub plugin.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.plugins.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the plugin to retrieve. Format: `projects/{project}/locations/{location}/plugins/{plugin}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1Plugin" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getStyleGuide": { + "description": "Get the style guide being used for linting.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/styleGuide", + "httpMethod": "GET", + "id": "apihub.projects.locations.plugins.getStyleGuide", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the spec to retrieve. Format: `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/styleGuide$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1StyleGuide" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all the plugins in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins", + "httpMethod": "GET", + "id": "apihub.projects.locations.plugins.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of plugins. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `>` or `=`. Filters are not case sensitive. The following fields in the `Plugins` are eligible for filtering: * `plugin_category` - The category of the Plugin. Allowed comparison operators: `=`. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `plugin_category = ON_RAMP` - The plugin is of category on ramp.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of hub plugins to return. The service may return fewer than this value. If unspecified, at most 50 hub plugins will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListPlugins` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListPlugins` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource where this plugin will be created. Format: `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/plugins", + "response": { + "$ref": "GoogleCloudApihubV1ListPluginsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "updateStyleGuide": { + "description": "Update the styleGuide to be used for liniting in by API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/styleGuide", + "httpMethod": "PATCH", + "id": "apihub.projects.locations.plugins.updateStyleGuide", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The name of the style guide. Format: `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/styleGuide$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudApihubV1StyleGuide" + }, + "response": { + "$ref": "GoogleCloudApihubV1StyleGuide" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "instances": { + "methods": { + "create": { + "description": "Creates a Plugin instance in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/instances", + "httpMethod": "POST", + "id": "apihub.projects.locations.plugins.instances.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent of the plugin instance resource. Format: `projects/{project}/locations/{location}/plugins/{plugin}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+$", + "required": true, + "type": "string" + }, + "pluginInstanceId": { + "description": "Optional. The ID to use for the plugin instance, which will become the final component of the plugin instance's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another plugin instance in the plugin resource. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/instances", + "request": { + "$ref": "GoogleCloudApihubV1PluginInstance" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a plugin instance in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/instances/{instancesId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.plugins.instances.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the plugin instance to delete. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "disableAction": { + "description": "Disables a plugin instance in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/instances/{instancesId}:disableAction", + "httpMethod": "POST", + "id": "apihub.projects.locations.plugins.instances.disableAction", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the plugin instance to disable. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:disableAction", + "request": { + "$ref": "GoogleCloudApihubV1DisablePluginInstanceActionRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "enableAction": { + "description": "Enables a plugin instance in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/instances/{instancesId}:enableAction", + "httpMethod": "POST", + "id": "apihub.projects.locations.plugins.instances.enableAction", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the plugin instance to enable. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:enableAction", + "request": { + "$ref": "GoogleCloudApihubV1EnablePluginInstanceActionRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "executeAction": { + "description": "Executes a plugin instance in the API hub.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/instances/{instancesId}:executeAction", + "httpMethod": "POST", + "id": "apihub.projects.locations.plugins.instances.executeAction", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the plugin instance to execute. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:executeAction", + "request": { + "$ref": "GoogleCloudApihubV1ExecutePluginInstanceActionRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get an API Hub plugin instance.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/instances/{instancesId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.plugins.instances.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the plugin instance to retrieve. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1PluginInstance" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all the plugins in a given project and location. `-` can be used as wildcard value for {plugin_id}", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/instances", + "httpMethod": "GET", + "id": "apihub.projects.locations.plugins.instances.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of plugin instances. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `>` or `=`. Filters are not case sensitive. The following fields in the `PluginInstances` are eligible for filtering: * `state` - The state of the Plugin Instance. Allowed comparison operators: `=`. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `state = ENABLED` - The plugin instance is in enabled state.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of hub plugins to return. The service may return fewer than this value. If unspecified, at most 50 hub plugins will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListPluginInstances` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPluginInstances` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource where this plugin will be created. Format: `projects/{project}/locations/{location}/plugins/{plugin}`. To list plugin instances for multiple plugins, use the - character instead of the plugin ID.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/instances", + "response": { + "$ref": "GoogleCloudApihubV1ListPluginInstancesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "styleGuide": { + "methods": { + "getContents": { + "description": "Get the contents of the style guide.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/styleGuide:contents", + "httpMethod": "GET", + "id": "apihub.projects.locations.plugins.styleGuide.getContents", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the StyleGuide whose contents need to be retrieved. There is exactly one style guide resource per project per location. The expected format is `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/styleGuide$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:contents", + "response": { + "$ref": "GoogleCloudApihubV1StyleGuideContents" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "runtimeProjectAttachments": { + "methods": { + "create": { + "description": "Attaches a runtime project to the host project.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimeProjectAttachments", + "httpMethod": "POST", + "id": "apihub.projects.locations.runtimeProjectAttachments.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource for the Runtime Project Attachment. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "runtimeProjectAttachmentId": { + "description": "Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment's name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/runtimeProjectAttachments", + "request": { + "$ref": "GoogleCloudApihubV1RuntimeProjectAttachment" + }, + "response": { + "$ref": "GoogleCloudApihubV1RuntimeProjectAttachment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a runtime project attachment in the API Hub. This call will detach the runtime project from the host project.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimeProjectAttachments/{runtimeProjectAttachmentsId}", + "httpMethod": "DELETE", + "id": "apihub.projects.locations.runtimeProjectAttachments.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Runtime Project Attachment to delete. Format: `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/runtimeProjectAttachments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets a runtime project attachment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimeProjectAttachments/{runtimeProjectAttachmentsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.runtimeProjectAttachments.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the API resource to retrieve. Format: `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/runtimeProjectAttachments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1RuntimeProjectAttachment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List runtime projects attached to the host project.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimeProjectAttachments", + "httpMethod": "GET", + "id": "apihub.projects.locations.runtimeProjectAttachments.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of RuntimeProjectAttachments. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. All standard operators as documented at https://google.aip.dev/160 are supported. The following fields in the `RuntimeProjectAttachment` are eligible for filtering: * `name` - The name of the RuntimeProjectAttachment. * `create_time` - The time at which the RuntimeProjectAttachment was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. * `runtime_project` - The Google cloud project associated with the RuntimeProjectAttachment.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of runtime project attachments to return. The service may return fewer than this value. If unspecified, at most 50 runtime project attachments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListRuntimeProjectAttachments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListRuntimeProjectAttachments` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of runtime project attachments. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/runtimeProjectAttachments", + "response": { + "$ref": "GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20250324", + "rootUrl": "https://apihub.googleapis.com/", + "schemas": { + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "GoogleCloudApihubV1APIMetadata": { + "description": "The API metadata.", + "id": "GoogleCloudApihubV1APIMetadata", + "properties": { + "api": { + "$ref": "GoogleCloudApihubV1Api", + "description": "Required. The API resource to be pushed to Hub's collect layer. The ID of the API resource will be generated by Hub to ensure uniqueness across all APIs across systems." + }, + "originalCreateTime": { + "description": "Optional. Timestamp indicating when the API was created at the source.", + "format": "google-datetime", + "type": "string" + }, + "originalId": { + "description": "Optional. The unique identifier of the API in the system where it was originally created.", + "type": "string" + }, + "originalUpdateTime": { + "description": "Required. Timestamp indicating when the API was last updated at the source.", + "format": "google-datetime", + "type": "string" + }, + "versions": { + "description": "Optional. The list of versions present in an API resource.", + "items": { + "$ref": "GoogleCloudApihubV1VersionMetadata" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ActionExecutionDetail": { + "description": "The details for the action to execute.", + "id": "GoogleCloudApihubV1ActionExecutionDetail", + "properties": { + "actionId": { + "description": "Required. The action id of the plugin to execute.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1AllowedValue": { + "description": "The value that can be assigned to the attribute when the data type is enum.", + "id": "GoogleCloudApihubV1AllowedValue", + "properties": { + "description": { + "description": "Optional. The detailed description of the allowed value.", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the allowed value.", + "type": "string" + }, + "id": { + "description": "Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.", + "type": "string" + }, + "immutable": { + "description": "Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Api": { + "description": "An API resource in the API Hub.", + "id": "GoogleCloudApihubV1Api", + "properties": { + "apiFunctionalRequirements": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The api functional requirements associated with the API resource. Carinality is 1 for this attribute." + }, + "apiRequirements": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The api requirement doc associated with the API resource. Carinality is 1 for this attribute." + }, + "apiStyle": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The style of the API. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-api-style` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute." + }, + "apiTechnicalRequirements": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The api technical requirements associated with the API resource. Carinality is 1 for this attribute." + }, + "attributes": { + "additionalProperties": { + "$ref": "GoogleCloudApihubV1AttributeValues" + }, + "description": "Optional. The list of user defined attributes associated with the API resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.", + "type": "object" + }, + "businessUnit": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The business unit owning the API. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-business-unit` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute." + }, + "createTime": { + "description": "Output only. The time at which the API resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. The description of the API resource.", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the API resource.", + "type": "string" + }, + "documentation": { + "$ref": "GoogleCloudApihubV1Documentation", + "description": "Optional. The documentation for the API resource." + }, + "fingerprint": { + "description": "Optional. Fingerprint of the API resource.", + "type": "string" + }, + "maturityLevel": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The maturity level of the API. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-maturity-level` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute." + }, + "name": { + "description": "Identifier. The name of the API resource in the API Hub. Format: `projects/{project}/locations/{location}/apis/{api}`", + "type": "string" + }, + "owner": { + "$ref": "GoogleCloudApihubV1Owner", + "description": "Optional. Owner details for the API resource." + }, + "selectedVersion": { + "description": "Optional. The selected version for an API resource. This can be used when special handling is needed on client side for particular version of the API. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}`", + "type": "string" + }, + "sourceMetadata": { + "description": "Output only. The list of sources and metadata from the sources of the API resource.", + "items": { + "$ref": "GoogleCloudApihubV1SourceMetadata" + }, + "readOnly": true, + "type": "array" + }, + "targetUser": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The target users for the API. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-target-user` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute." + }, + "team": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The team owning the API. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-team` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute." + }, + "updateTime": { + "description": "Output only. The time at which the API resource was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "versions": { + "description": "Output only. The list of versions present in an API resource. Note: An API resource can be associated with more than 1 version. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}`", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ApiData": { + "description": "The API data to be collected.", + "id": "GoogleCloudApihubV1ApiData", + "properties": { + "apiMetadataList": { + "$ref": "GoogleCloudApihubV1ApiMetadataList", + "description": "Optional. The list of API metadata." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ApiHubInstance": { + "description": "An ApiHubInstance represents the instance resources of the API Hub. Currently, only one ApiHub instance is allowed for each project.", + "id": "GoogleCloudApihubV1ApiHubInstance", + "properties": { + "config": { + "$ref": "GoogleCloudApihubV1Config", + "description": "Required. Config of the ApiHub instance." + }, + "createTime": { + "description": "Output only. Creation timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. Description of the ApiHub instance.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Instance labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources", + "type": "object" + }, + "name": { + "description": "Identifier. Format: `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.", + "type": "string" + }, + "state": { + "description": "Output only. The current state of the ApiHub instance.", + "enum": [ + "STATE_UNSPECIFIED", + "INACTIVE", + "CREATING", + "ACTIVE", + "UPDATING", + "DELETING", + "FAILED" + ], + "enumDescriptions": [ + "The default value. This value is used if the state is omitted.", + "The ApiHub instance has not been initialized or has been deleted.", + "The ApiHub instance is being created.", + "The ApiHub instance has been created and is ready for use.", + "The ApiHub instance is being updated.", + "The ApiHub instance is being deleted.", + "The ApiHub instance encountered an error during a state change." + ], + "readOnly": true, + "type": "string" + }, + "stateMessage": { + "description": "Output only. Extra information about ApiHub instance state. Currently the message would be populated when state is `FAILED`.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Last update timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ApiHubResource": { + "description": "ApiHubResource is one of the resources such as Api, Operation, Deployment, Definition, Spec and Version resources stored in API-Hub.", + "id": "GoogleCloudApihubV1ApiHubResource", + "properties": { + "api": { + "$ref": "GoogleCloudApihubV1Api", + "description": "This represents Api resource in search results. Only name, display_name, description and owner fields are populated in search results." + }, + "definition": { + "$ref": "GoogleCloudApihubV1Definition", + "description": "This represents Definition resource in search results. Only name field is populated in search results." + }, + "deployment": { + "$ref": "GoogleCloudApihubV1Deployment", + "description": "This represents Deployment resource in search results. Only name, display_name, description, deployment_type and api_versions fields are populated in search results." + }, + "operation": { + "$ref": "GoogleCloudApihubV1ApiOperation", + "description": "This represents ApiOperation resource in search results. Only name, description, spec and details fields are populated in search results." + }, + "spec": { + "$ref": "GoogleCloudApihubV1Spec", + "description": "This represents Spec resource in search results. Only name, display_name, description, spec_type and documentation fields are populated in search results." + }, + "version": { + "$ref": "GoogleCloudApihubV1Version", + "description": "This represents Version resource in search results. Only name, display_name, description, lifecycle, compliance and accreditation fields are populated in search results." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ApiKeyConfig": { + "description": "Config for authentication with API key.", + "id": "GoogleCloudApihubV1ApiKeyConfig", + "properties": { + "apiKey": { + "$ref": "GoogleCloudApihubV1Secret", + "description": "Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}`. The `secretmanager.versions.access` permission should be granted to the service account accessing the secret." + }, + "httpElementLocation": { + "description": "Required. The location of the API key. The default value is QUERY.", + "enum": [ + "HTTP_ELEMENT_LOCATION_UNSPECIFIED", + "QUERY", + "HEADER", + "PATH", + "BODY", + "COOKIE" + ], + "enumDescriptions": [ + "HTTP element location not specified.", + "Element is in the HTTP request query.", + "Element is in the HTTP request header.", + "Element is in the HTTP request path.", + "Element is in the HTTP request body.", + "Element is in the HTTP request cookie." + ], + "type": "string" + }, + "name": { + "description": "Required. The parameter name of the API key. E.g. If the API request is \"https://example.com/act?api_key=\", \"api_key\" would be the parameter name.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ApiMetadataList": { + "description": "The message to hold repeated API metadata.", + "id": "GoogleCloudApihubV1ApiMetadataList", + "properties": { + "apiMetadata": { + "description": "Required. The list of API metadata.", + "items": { + "$ref": "GoogleCloudApihubV1APIMetadata" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ApiOperation": { + "description": "Represents an operation contained in an API version in the API Hub. An operation is added/updated/deleted in an API version when a new spec is added or an existing spec is updated/deleted in a version. Currently, an operation will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec. Alternatively operations can be managed via create,update and delete APIs, creation of apiOperation can be possible only for version with no parsed operations and update/delete can be possible only for operations created via create API.", + "id": "GoogleCloudApihubV1ApiOperation", + "properties": { + "attributes": { + "additionalProperties": { + "$ref": "GoogleCloudApihubV1AttributeValues" + }, + "description": "Optional. The list of user defined attributes associated with the API operation resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.", + "type": "object" + }, + "createTime": { + "description": "Output only. The time at which the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "details": { + "$ref": "GoogleCloudApihubV1OperationDetails", + "description": "Optional. Operation details. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided." + }, + "name": { + "description": "Identifier. The name of the operation. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`", + "type": "string" + }, + "sourceMetadata": { + "description": "Output only. The list of sources and metadata from the sources of the API operation.", + "items": { + "$ref": "GoogleCloudApihubV1SourceMetadata" + }, + "readOnly": true, + "type": "array" + }, + "spec": { + "description": "Output only. The name of the spec will be of the format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` Note:The name of the spec will be empty if the operation is created via CreateApiOperation API.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time at which the operation was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ApplicationIntegrationEndpointDetails": { + "description": "The details of the Application Integration endpoint to be triggered for curation.", + "id": "GoogleCloudApihubV1ApplicationIntegrationEndpointDetails", + "properties": { + "triggerId": { + "description": "Required. The API trigger ID of the Application Integration workflow.", + "type": "string" + }, + "uri": { + "description": "Required. The endpoint URI should be a valid REST URI for triggering an Application Integration. Format: `https://integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*}:execute` or `https://{location}-integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*}:execute`", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Attribute": { + "description": "An attribute in the API Hub. An attribute is a name value pair which can be attached to different resources in the API hub based on the scope of the attribute. Attributes can either be pre-defined by the API Hub or created by users.", + "id": "GoogleCloudApihubV1Attribute", + "properties": { + "allowedValues": { + "description": "Optional. The list of allowed values when the attribute value is of type enum. This is required when the data_type of the attribute is ENUM. The maximum number of allowed values of an attribute will be 1000.", + "items": { + "$ref": "GoogleCloudApihubV1AllowedValue" + }, + "type": "array" + }, + "cardinality": { + "description": "Optional. The maximum number of values that the attribute can have when associated with an API Hub resource. Cardinality 1 would represent a single-valued attribute. It must not be less than 1 or greater than 20. If not specified, the cardinality would be set to 1 by default and represent a single-valued attribute.", + "format": "int32", + "type": "integer" + }, + "createTime": { + "description": "Output only. The time at which the attribute was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dataType": { + "description": "Required. The type of the data of the attribute.", + "enum": [ + "DATA_TYPE_UNSPECIFIED", + "ENUM", + "JSON", + "STRING", + "URI" + ], + "enumDescriptions": [ + "Attribute data type unspecified.", + "Attribute's value is of type enum.", + "Attribute's value is of type json.", + "Attribute's value is of type string.", + "Attribute's value is of type uri." + ], + "type": "string" + }, + "definitionType": { + "description": "Output only. The definition type of the attribute.", + "enum": [ + "DEFINITION_TYPE_UNSPECIFIED", + "SYSTEM_DEFINED", + "USER_DEFINED" + ], + "enumDescriptions": [ + "Attribute definition type unspecified.", + "The attribute is predefined by the API Hub. Note that only the list of allowed values can be updated in this case via UpdateAttribute method.", + "The attribute is defined by the user." + ], + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. The description of the attribute.", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the attribute.", + "type": "string" + }, + "mandatory": { + "description": "Output only. When mandatory is true, the attribute is mandatory for the resource specified in the scope. Only System defined attributes can be mandatory.", + "readOnly": true, + "type": "boolean" + }, + "name": { + "description": "Identifier. The name of the attribute in the API Hub. Format: `projects/{project}/locations/{location}/attributes/{attribute}`", + "type": "string" + }, + "scope": { + "description": "Required. The scope of the attribute. It represents the resource in the API Hub to which the attribute can be linked.", + "enum": [ + "SCOPE_UNSPECIFIED", + "API", + "VERSION", + "SPEC", + "API_OPERATION", + "DEPLOYMENT", + "DEPENDENCY", + "DEFINITION", + "EXTERNAL_API", + "PLUGIN" + ], + "enumDescriptions": [ + "Scope Unspecified.", + "Attribute can be linked to an API.", + "Attribute can be linked to an API version.", + "Attribute can be linked to a Spec.", + "Attribute can be linked to an API Operation.", + "Attribute can be linked to a Deployment.", + "Attribute can be linked to a Dependency.", + "Attribute can be linked to a definition.", + "Attribute can be linked to a ExternalAPI.", + "Attribute can be linked to a Plugin." + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. The time at which the attribute was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1AttributeValues": { + "description": "The attribute values associated with resource.", + "id": "GoogleCloudApihubV1AttributeValues", + "properties": { + "attribute": { + "description": "Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}", + "readOnly": true, + "type": "string" + }, + "enumValues": { + "$ref": "GoogleCloudApihubV1EnumAttributeValues", + "description": "The attribute values associated with a resource in case attribute data type is enum." + }, + "jsonValues": { + "$ref": "GoogleCloudApihubV1StringAttributeValues", + "description": "The attribute values associated with a resource in case attribute data type is JSON." + }, + "stringValues": { + "$ref": "GoogleCloudApihubV1StringAttributeValues", + "description": "The attribute values associated with a resource in case attribute data type is string." + }, + "uriValues": { + "$ref": "GoogleCloudApihubV1StringAttributeValues", + "description": "The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1AuthConfig": { + "description": "AuthConfig represents the authentication information.", + "id": "GoogleCloudApihubV1AuthConfig", + "properties": { + "apiKeyConfig": { + "$ref": "GoogleCloudApihubV1ApiKeyConfig", + "description": "Api Key Config." + }, + "authType": { + "description": "Required. The authentication type.", + "enum": [ + "AUTH_TYPE_UNSPECIFIED", + "NO_AUTH", + "GOOGLE_SERVICE_ACCOUNT", + "USER_PASSWORD", + "API_KEY", + "OAUTH2_CLIENT_CREDENTIALS" + ], + "enumDescriptions": [ + "Authentication type not specified.", + "No authentication.", + "Google service account authentication.", + "Username and password authentication.", + "API Key authentication.", + "Oauth 2.0 client credentials grant authentication." + ], + "type": "string" + }, + "googleServiceAccountConfig": { + "$ref": "GoogleCloudApihubV1GoogleServiceAccountConfig", + "description": "Google Service Account." + }, + "oauth2ClientCredentialsConfig": { + "$ref": "GoogleCloudApihubV1Oauth2ClientCredentialsConfig", + "description": "Oauth2.0 Client Credentials." + }, + "userPasswordConfig": { + "$ref": "GoogleCloudApihubV1UserPasswordConfig", + "description": "User Password." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1AuthConfigTemplate": { + "description": "AuthConfigTemplate represents the authentication template for a plugin.", + "id": "GoogleCloudApihubV1AuthConfigTemplate", + "properties": { + "serviceAccount": { + "$ref": "GoogleCloudApihubV1GoogleServiceAccountConfig", + "description": "Optional. The service account of the plugin hosting service. This service account should be granted the required permissions on the Auth Config parameters provided while creating the plugin instances corresponding to this plugin. For example, if the plugin instance auth config requires a secret manager secret, the service account should be granted the secretmanager.versions.access permission on the corresponding secret, if the plugin instance auth config contains a service account, the service account should be granted the iam.serviceAccounts.getAccessToken permission on the corresponding service account." + }, + "supportedAuthTypes": { + "description": "Required. The list of authentication types supported by the plugin.", + "items": { + "enum": [ + "AUTH_TYPE_UNSPECIFIED", + "NO_AUTH", + "GOOGLE_SERVICE_ACCOUNT", + "USER_PASSWORD", + "API_KEY", + "OAUTH2_CLIENT_CREDENTIALS" + ], + "enumDescriptions": [ + "Authentication type not specified.", + "No authentication.", + "Google service account authentication.", + "Username and password authentication.", + "API Key authentication.", + "Oauth 2.0 client credentials grant authentication." + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1CollectApiDataRequest": { + "description": "The CollectApiData method's request.", + "id": "GoogleCloudApihubV1CollectApiDataRequest", + "properties": { + "actionId": { + "description": "Required. The action ID to be used for collecting the API data. This should map to one of the action IDs specified in action configs in the plugin.", + "type": "string" + }, + "apiData": { + "$ref": "GoogleCloudApihubV1ApiData", + "description": "Required. The API data to be collected." + }, + "collectionType": { + "description": "Required. The type of collection. Applies to all entries in api_data.", + "enum": [ + "COLLECTION_TYPE_UNSPECIFIED", + "COLLECTION_TYPE_UPSERT", + "COLLECTION_TYPE_DELETE" + ], + "enumDescriptions": [ + "The default value. This value is used if the collection type is omitted.", + "The collection type is upsert. This should be used when an API is created or updated at the source.", + "The collection type is delete. This should be used when an API is deleted at the source." + ], + "type": "string" + }, + "pluginInstance": { + "description": "Required. The plugin instance collecting the API data. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Config": { + "description": "Available configurations to provision an ApiHub Instance.", + "id": "GoogleCloudApihubV1Config", + "properties": { + "cmekKeyName": { + "description": "Optional. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, where the location must match the instance location. If the CMEK is not provided, a GMEK will be created for the instance.", + "type": "string" + }, + "disableSearch": { + "description": "Optional. If true, the search will be disabled for the instance. The default value is false.", + "type": "boolean" + }, + "encryptionType": { + "description": "Optional. Encryption type for the region. If the encryption type is CMEK, the cmek_key_name must be provided. If no encryption type is provided, GMEK will be used.", + "enum": [ + "ENCRYPTION_TYPE_UNSPECIFIED", + "GMEK", + "CMEK" + ], + "enumDescriptions": [ + "Encryption type unspecified.", + "Default encryption using Google managed encryption key.", + "Encryption using customer managed encryption key." + ], + "type": "string" + }, + "vertexLocation": { + "description": "Optional. The name of the Vertex AI location where the data store is stored.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ConfigTemplate": { + "description": "ConfigTemplate represents the configuration template for a plugin.", + "id": "GoogleCloudApihubV1ConfigTemplate", + "properties": { + "additionalConfigTemplate": { + "description": "Optional. The list of additional configuration variables for the plugin's configuration.", + "items": { + "$ref": "GoogleCloudApihubV1ConfigVariableTemplate" + }, + "type": "array" + }, + "authConfigTemplate": { + "$ref": "GoogleCloudApihubV1AuthConfigTemplate", + "description": "Optional. The authentication template for the plugin." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ConfigValueOption": { + "description": "ConfigValueOption represents an option for a config variable of type enum or multi select.", + "id": "GoogleCloudApihubV1ConfigValueOption", + "properties": { + "description": { + "description": "Optional. Description of the option.", + "type": "string" + }, + "displayName": { + "description": "Required. Display name of the option.", + "type": "string" + }, + "id": { + "description": "Required. Id of the option.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ConfigVariable": { + "description": "ConfigVariable represents a additional configuration variable present in a PluginInstance Config or AuthConfig, based on a ConfigVariableTemplate.", + "id": "GoogleCloudApihubV1ConfigVariable", + "properties": { + "boolValue": { + "description": "Optional. The config variable value in case of config variable of type boolean.", + "type": "boolean" + }, + "enumValue": { + "$ref": "GoogleCloudApihubV1ConfigValueOption", + "description": "Optional. The config variable value in case of config variable of type enum." + }, + "intValue": { + "description": "Optional. The config variable value in case of config variable of type integer.", + "format": "int64", + "type": "string" + }, + "key": { + "description": "Output only. Key will be the id to uniquely identify the config variable.", + "readOnly": true, + "type": "string" + }, + "multiIntValues": { + "$ref": "GoogleCloudApihubV1MultiIntValues", + "description": "Optional. The config variable value in case of config variable of type multi integer." + }, + "multiSelectValues": { + "$ref": "GoogleCloudApihubV1MultiSelectValues", + "description": "Optional. The config variable value in case of config variable of type multi select." + }, + "multiStringValues": { + "$ref": "GoogleCloudApihubV1MultiStringValues", + "description": "Optional. The config variable value in case of config variable of type multi string." + }, + "secretValue": { + "$ref": "GoogleCloudApihubV1Secret", + "description": "Optional. The config variable value in case of config variable of type secret." + }, + "stringValue": { + "description": "Optional. The config variable value in case of config variable of type string.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ConfigVariableTemplate": { + "description": "ConfigVariableTemplate represents a configuration variable template present in a Plugin Config.", + "id": "GoogleCloudApihubV1ConfigVariableTemplate", + "properties": { + "description": { + "description": "Optional. Description.", + "type": "string" + }, + "enumOptions": { + "description": "Optional. Enum options. To be populated if `ValueType` is `ENUM`.", + "items": { + "$ref": "GoogleCloudApihubV1ConfigValueOption" + }, + "type": "array" + }, + "id": { + "description": "Required. ID of the config variable. Must be unique within the configuration.", + "type": "string" + }, + "multiSelectOptions": { + "description": "Optional. Multi select options. To be populated if `ValueType` is `MULTI_SELECT`.", + "items": { + "$ref": "GoogleCloudApihubV1ConfigValueOption" + }, + "type": "array" + }, + "required": { + "description": "Optional. Flag represents that this `ConfigVariable` must be provided for a PluginInstance.", + "type": "boolean" + }, + "validationRegex": { + "description": "Optional. Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`.", + "type": "string" + }, + "valueType": { + "description": "Required. Type of the parameter: string, int, bool etc.", + "enum": [ + "VALUE_TYPE_UNSPECIFIED", + "STRING", + "INT", + "BOOL", + "SECRET", + "ENUM", + "MULTI_SELECT", + "MULTI_STRING", + "MULTI_INT" + ], + "enumDescriptions": [ + "Value type is not specified.", + "Value type is string.", + "Value type is integer.", + "Value type is boolean.", + "Value type is secret.", + "Value type is enum.", + "Value type is multi select.", + "Value type is multi string.", + "Value type is multi int." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Curation": { + "description": "A curation resource in the API Hub.", + "id": "GoogleCloudApihubV1Curation", + "properties": { + "createTime": { + "description": "Output only. The time at which the curation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. The description of the curation.", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the curation.", + "type": "string" + }, + "endpoint": { + "$ref": "GoogleCloudApihubV1Endpoint", + "description": "Required. The endpoint to be triggered for curation." + }, + "lastExecutionErrorCode": { + "description": "Output only. The error code of the last execution of the curation. The error code is populated only when the last execution state is failed.", + "enum": [ + "ERROR_CODE_UNSPECIFIED", + "INTERNAL_ERROR", + "UNAUTHORIZED" + ], + "enumDescriptions": [ + "Default unspecified error code.", + "The execution failed due to an internal error.", + "The curation is not authorized to trigger the endpoint uri." + ], + "readOnly": true, + "type": "string" + }, + "lastExecutionErrorMessage": { + "description": "Output only. Error message describing the failure, if any, during the last execution of the curation.", + "readOnly": true, + "type": "string" + }, + "lastExecutionState": { + "description": "Output only. The last execution state of the curation.", + "enum": [ + "LAST_EXECUTION_STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default unspecified state.", + "The last curation execution was successful.", + "The last curation execution failed." + ], + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The name of the curation. Format: `projects/{project}/locations/{location}/curations/{curation}`", + "type": "string" + }, + "pluginInstanceActions": { + "description": "Output only. The plugin instances and associated actions that are using the curation. Note: A particular curation could be used by multiple plugin instances or multiple actions in a plugin instance.", + "items": { + "$ref": "GoogleCloudApihubV1PluginInstanceActionID" + }, + "readOnly": true, + "type": "array" + }, + "updateTime": { + "description": "Output only. The time at which the curation was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1CurationConfig": { + "description": "The curation information for this plugin instance.", + "id": "GoogleCloudApihubV1CurationConfig", + "properties": { + "curationType": { + "description": "Required. The curation type for this plugin instance.", + "enum": [ + "CURATION_TYPE_UNSPECIFIED", + "DEFAULT_CURATION_FOR_API_METADATA", + "CUSTOM_CURATION_FOR_API_METADATA" + ], + "enumDescriptions": [ + "Default unspecified curation type.", + "Default curation for API metadata will be used.", + "Custom curation for API metadata will be used." + ], + "type": "string" + }, + "customCuration": { + "$ref": "GoogleCloudApihubV1CustomCuration", + "description": "Optional. Custom curation information for this plugin instance." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1CustomCuration": { + "description": "Custom curation information for this plugin instance.", + "id": "GoogleCloudApihubV1CustomCuration", + "properties": { + "curation": { + "description": "Required. The unique name of the curation resource. This will be the name of the curation resource in the format: `projects/{project}/locations/{location}/curations/{curation}`", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Definition": { + "description": "Represents a definition for example schema, request, response definitions contained in an API version. A definition is added/updated/deleted in an API version when a new spec is added or an existing spec is updated/deleted in a version. Currently, definition will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec. Also, within OpenAPI spec, only `schema` object is supported.", + "id": "GoogleCloudApihubV1Definition", + "properties": { + "attributes": { + "additionalProperties": { + "$ref": "GoogleCloudApihubV1AttributeValues" + }, + "description": "Optional. The list of user defined attributes associated with the definition resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.", + "type": "object" + }, + "createTime": { + "description": "Output only. The time at which the definition was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The name of the definition. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}`", + "type": "string" + }, + "schema": { + "$ref": "GoogleCloudApihubV1Schema", + "description": "Output only. The value of a schema definition.", + "readOnly": true + }, + "spec": { + "description": "Output only. The name of the spec from where the definition was parsed. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`", + "readOnly": true, + "type": "string" + }, + "type": { + "description": "Output only. The type of the definition.", + "enum": [ + "TYPE_UNSPECIFIED", + "SCHEMA" + ], + "enumDescriptions": [ + "Definition type unspecified.", + "Definition type schema." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time at which the definition was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Dependency": { + "description": "A dependency resource defined in the API hub describes a dependency directed from a consumer to a supplier entity. A dependency can be defined between two Operations or between an Operation and External API.", + "id": "GoogleCloudApihubV1Dependency", + "properties": { + "attributes": { + "additionalProperties": { + "$ref": "GoogleCloudApihubV1AttributeValues" + }, + "description": "Optional. The list of user defined attributes associated with the dependency resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.", + "type": "object" + }, + "consumer": { + "$ref": "GoogleCloudApihubV1DependencyEntityReference", + "description": "Required. Immutable. The entity acting as the consumer in the dependency." + }, + "createTime": { + "description": "Output only. The time at which the dependency was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. Human readable description corresponding of the dependency.", + "type": "string" + }, + "discoveryMode": { + "description": "Output only. Discovery mode of the dependency.", + "enum": [ + "DISCOVERY_MODE_UNSPECIFIED", + "MANUAL" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Manual mode of discovery when the dependency is defined by the user." + ], + "readOnly": true, + "type": "string" + }, + "errorDetail": { + "$ref": "GoogleCloudApihubV1DependencyErrorDetail", + "description": "Output only. Error details of a dependency if the system has detected it internally.", + "readOnly": true + }, + "name": { + "description": "Identifier. The name of the dependency in the API Hub. Format: `projects/{project}/locations/{location}/dependencies/{dependency}`", + "type": "string" + }, + "state": { + "description": "Output only. State of the dependency.", + "enum": [ + "STATE_UNSPECIFIED", + "PROPOSED", + "VALIDATED" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Dependency will be in a proposed state when it is newly identified by the API hub on its own.", + "Dependency will be in a validated state when it is validated by the admin or manually created in the API hub." + ], + "readOnly": true, + "type": "string" + }, + "supplier": { + "$ref": "GoogleCloudApihubV1DependencyEntityReference", + "description": "Required. Immutable. The entity acting as the supplier in the dependency." + }, + "updateTime": { + "description": "Output only. The time at which the dependency was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1DependencyEntityReference": { + "description": "Reference to an entity participating in a dependency.", + "id": "GoogleCloudApihubV1DependencyEntityReference", + "properties": { + "displayName": { + "description": "Output only. Display name of the entity.", + "readOnly": true, + "type": "string" + }, + "externalApiResourceName": { + "description": "The resource name of an external API in the API Hub. Format: `projects/{project}/locations/{location}/externalApis/{external_api}`", + "type": "string" + }, + "operationResourceName": { + "description": "The resource name of an operation in the API Hub. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1DependencyErrorDetail": { + "description": "Details describing error condition of a dependency.", + "id": "GoogleCloudApihubV1DependencyErrorDetail", + "properties": { + "error": { + "description": "Optional. Error in the dependency.", + "enum": [ + "ERROR_UNSPECIFIED", + "SUPPLIER_NOT_FOUND", + "SUPPLIER_RECREATED" + ], + "enumDescriptions": [ + "Default value used for no error in the dependency.", + "Supplier entity has been deleted.", + "Supplier entity has been recreated." + ], + "type": "string" + }, + "errorTime": { + "description": "Optional. Timestamp at which the error was found.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Deployment": { + "description": "Details of the deployment where APIs are hosted. A deployment could represent an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud services as well. A deployment entity is a root level entity in the API hub and exists independent of any API.", + "id": "GoogleCloudApihubV1Deployment", + "properties": { + "apiVersions": { + "description": "Output only. The API versions linked to this deployment. Note: A particular deployment could be linked to multiple different API versions (of same or different APIs).", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "attributes": { + "additionalProperties": { + "$ref": "GoogleCloudApihubV1AttributeValues" + }, + "description": "Optional. The list of user defined attributes associated with the deployment resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.", + "type": "object" + }, + "createTime": { + "description": "Output only. The time at which the deployment was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deploymentType": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Required. The type of deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-deployment-type` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute." + }, + "description": { + "description": "Optional. The description of the deployment.", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the deployment.", + "type": "string" + }, + "documentation": { + "$ref": "GoogleCloudApihubV1Documentation", + "description": "Optional. The documentation of the deployment." + }, + "endpoints": { + "description": "Required. The endpoints at which this deployment resource is listening for API requests. This could be a list of complete URIs, hostnames or an IP addresses.", + "items": { + "type": "string" + }, + "type": "array" + }, + "environment": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The environment mapping to this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-environment` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute." + }, + "name": { + "description": "Identifier. The name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`", + "type": "string" + }, + "resourceUri": { + "description": "Required. A URI to the runtime resource. This URI can be used to manage the resource. For example, if the runtime resource is of type APIGEE_PROXY, then this field will contain the URI to the management UI of the proxy.", + "type": "string" + }, + "slo": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The SLO for this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-slo` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute." + }, + "sourceMetadata": { + "description": "Output only. The list of sources and metadata from the sources of the deployment.", + "items": { + "$ref": "GoogleCloudApihubV1SourceMetadata" + }, + "readOnly": true, + "type": "array" + }, + "updateTime": { + "description": "Output only. The time at which the deployment was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1DeploymentMetadata": { + "description": "The metadata associated with a deployment.", + "id": "GoogleCloudApihubV1DeploymentMetadata", + "properties": { + "deployment": { + "$ref": "GoogleCloudApihubV1Deployment", + "description": "Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub." + }, + "originalCreateTime": { + "description": "Optional. Timestamp indicating when the deployment was created at the source.", + "format": "google-datetime", + "type": "string" + }, + "originalId": { + "description": "Optional. The unique identifier of the deployment in the system where it was originally created.", + "type": "string" + }, + "originalUpdateTime": { + "description": "Required. Timestamp indicating when the deployment was last updated at the source.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1DisablePluginInstanceActionRequest": { + "description": "The DisablePluginInstanceAction method's request.", + "id": "GoogleCloudApihubV1DisablePluginInstanceActionRequest", + "properties": { + "actionId": { + "description": "Required. The action id to disable.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1DisablePluginRequest": { + "description": "The DisablePlugin method's request.", + "id": "GoogleCloudApihubV1DisablePluginRequest", + "properties": {}, + "type": "object" + }, + "GoogleCloudApihubV1Documentation": { + "description": "Documentation details.", + "id": "GoogleCloudApihubV1Documentation", + "properties": { + "externalUri": { + "description": "Optional. The uri of the externally hosted documentation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1EnablePluginInstanceActionRequest": { + "description": "The EnablePluginInstanceAction method's request.", + "id": "GoogleCloudApihubV1EnablePluginInstanceActionRequest", + "properties": { + "actionId": { + "description": "Required. The action id to enable.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1EnablePluginRequest": { + "description": "The EnablePlugin method's request.", + "id": "GoogleCloudApihubV1EnablePluginRequest", + "properties": {}, + "type": "object" + }, + "GoogleCloudApihubV1Endpoint": { + "description": "The endpoint to be triggered for curation. The endpoint will be invoked with a request payload containing ApiMetadata. Response should contain curated data in the form of ApiMetadata.", + "id": "GoogleCloudApihubV1Endpoint", + "properties": { + "applicationIntegrationEndpointDetails": { + "$ref": "GoogleCloudApihubV1ApplicationIntegrationEndpointDetails", + "description": "Required. The details of the Application Integration endpoint to be triggered for curation." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1EnumAttributeValues": { + "description": "The attribute values of data type enum.", + "id": "GoogleCloudApihubV1EnumAttributeValues", + "properties": { + "values": { + "description": "Required. The attribute values in case attribute data type is enum.", + "items": { + "$ref": "GoogleCloudApihubV1AllowedValue" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ExecutePluginInstanceActionRequest": { + "description": "The ExecutePluginInstanceAction method's request.", + "id": "GoogleCloudApihubV1ExecutePluginInstanceActionRequest", + "properties": { + "actionExecutionDetail": { + "$ref": "GoogleCloudApihubV1ActionExecutionDetail", + "description": "Required. The execution details for the action to execute." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ExecutionStatus": { + "description": "The execution status for the plugin instance.", + "id": "GoogleCloudApihubV1ExecutionStatus", + "properties": { + "currentExecutionState": { + "description": "Output only. The current state of the execution.", + "enum": [ + "CURRENT_EXECUTION_STATE_UNSPECIFIED", + "RUNNING", + "NOT_RUNNING" + ], + "enumDescriptions": [ + "Default unspecified execution state.", + "The plugin instance is executing.", + "The plugin instance is not running an execution." + ], + "readOnly": true, + "type": "string" + }, + "lastExecution": { + "$ref": "GoogleCloudApihubV1LastExecution", + "description": "Output only. The last execution of the plugin instance.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ExternalApi": { + "description": "An external API represents an API being provided by external sources. This can be used to model third-party APIs and can be used to define dependencies.", + "id": "GoogleCloudApihubV1ExternalApi", + "properties": { + "attributes": { + "additionalProperties": { + "$ref": "GoogleCloudApihubV1AttributeValues" + }, + "description": "Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.", + "type": "object" + }, + "createTime": { + "description": "Output only. Creation timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. Description of the external API. Max length is 2000 characters (Unicode Code Points).", + "type": "string" + }, + "displayName": { + "description": "Required. Display name of the external API. Max length is 63 characters (Unicode Code Points).", + "type": "string" + }, + "documentation": { + "$ref": "GoogleCloudApihubV1Documentation", + "description": "Optional. Documentation of the external API." + }, + "endpoints": { + "description": "Optional. List of endpoints on which this API is accessible.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Identifier. Format: `projects/{project}/locations/{location}/externalApi/{externalApi}`.", + "type": "string" + }, + "paths": { + "description": "Optional. List of paths served by this API.", + "items": { + "type": "string" + }, + "type": "array" + }, + "updateTime": { + "description": "Output only. Last update timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1GoogleServiceAccountConfig": { + "description": "Config for Google service account authentication.", + "id": "GoogleCloudApihubV1GoogleServiceAccountConfig", + "properties": { + "serviceAccount": { + "description": "Required. The service account to be used for authenticating request. The `iam.serviceAccounts.getAccessToken` permission should be granted on this service account to the impersonator service account.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1HostProjectRegistration": { + "description": "Host project registration refers to the registration of a Google cloud project with Api Hub as a host project. This is the project where Api Hub is provisioned. It acts as the consumer project for the Api Hub instance provisioned. Multiple runtime projects can be attached to the host project and these attachments define the scope of Api Hub.", + "id": "GoogleCloudApihubV1HostProjectRegistration", + "properties": { + "createTime": { + "description": "Output only. The time at which the host project registration was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "gcpProject": { + "description": "Required. Immutable. Google cloud project name in the format: \"projects/abc\" or \"projects/123\". As input, project name with either project id or number are accepted. As output, this field will contain project number.", + "type": "string" + }, + "name": { + "description": "Identifier. The name of the host project registration. Format: \"projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}\".", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1HostingService": { + "description": "The information related to the service implemented by the plugin developer, used to invoke the plugin's functionality.", + "id": "GoogleCloudApihubV1HostingService", + "properties": { + "serviceUri": { + "description": "Optional. The URI of the service implemented by the plugin developer, used to invoke the plugin's functionality. This information is only required for user defined plugins.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1HttpOperation": { + "description": "The HTTP Operation.", + "id": "GoogleCloudApihubV1HttpOperation", + "properties": { + "method": { + "description": "Optional. Operation method Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.", + "enum": [ + "METHOD_UNSPECIFIED", + "GET", + "PUT", + "POST", + "DELETE", + "OPTIONS", + "HEAD", + "PATCH", + "TRACE" + ], + "enumDescriptions": [ + "Method unspecified.", + "Get Operation type.", + "Put Operation type.", + "Post Operation type.", + "Delete Operation type.", + "Options Operation type.", + "Head Operation type.", + "Patch Operation type.", + "Trace Operation type." + ], + "type": "string" + }, + "path": { + "$ref": "GoogleCloudApihubV1Path", + "description": "Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Issue": { + "description": "Issue contains the details of a single issue found by the linter.", + "id": "GoogleCloudApihubV1Issue", + "properties": { + "code": { + "description": "Required. Rule code unique to each rule defined in linter.", + "type": "string" + }, + "message": { + "description": "Required. Human-readable message describing the issue found by the linter.", + "type": "string" + }, + "path": { + "description": "Required. An array of strings indicating the location in the analyzed document where the rule was triggered.", + "items": { + "type": "string" + }, + "type": "array" + }, + "range": { + "$ref": "GoogleCloudApihubV1Range", + "description": "Required. Object describing where in the file the issue was found." + }, + "severity": { + "description": "Required. Severity level of the rule violation.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "SEVERITY_ERROR", + "SEVERITY_WARNING", + "SEVERITY_INFO", + "SEVERITY_HINT" + ], + "enumDescriptions": [ + "Severity unspecified.", + "Severity error.", + "Severity warning.", + "Severity info.", + "Severity hint." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1LastExecution": { + "description": "The result of the last execution of the plugin instance.", + "id": "GoogleCloudApihubV1LastExecution", + "properties": { + "endTime": { + "description": "Output only. The last execution end time of the plugin instance.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "errorMessage": { + "description": "Output only. Error message describing the failure, if any, during the last execution.", + "readOnly": true, + "type": "string" + }, + "result": { + "description": "Output only. The result of the last execution of the plugin instance.", + "enum": [ + "RESULT_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default unspecified execution result.", + "The plugin instance executed successfully.", + "The plugin instance execution failed." + ], + "readOnly": true, + "type": "string" + }, + "startTime": { + "description": "Output only. The last execution start time of the plugin instance.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1LintResponse": { + "description": "LintResponse contains the response from the linter.", + "id": "GoogleCloudApihubV1LintResponse", + "properties": { + "createTime": { + "description": "Required. Timestamp when the linting response was generated.", + "format": "google-datetime", + "type": "string" + }, + "issues": { + "description": "Optional. Array of issues found in the analyzed document.", + "items": { + "$ref": "GoogleCloudApihubV1Issue" + }, + "type": "array" + }, + "linter": { + "description": "Required. Name of the linter used.", + "enum": [ + "LINTER_UNSPECIFIED", + "SPECTRAL", + "OTHER" + ], + "enumDescriptions": [ + "Linter type unspecified.", + "Linter type spectral.", + "Linter type other." + ], + "type": "string" + }, + "source": { + "description": "Required. Name of the linting application.", + "type": "string" + }, + "state": { + "description": "Required. Lint state represents success or failure for linting.", + "enum": [ + "LINT_STATE_UNSPECIFIED", + "LINT_STATE_SUCCESS", + "LINT_STATE_ERROR" + ], + "enumDescriptions": [ + "Lint state unspecified.", + "Linting was completed successfully.", + "Linting encountered errors." + ], + "type": "string" + }, + "summary": { + "description": "Optional. Summary of all issue types and counts for each severity level.", + "items": { + "$ref": "GoogleCloudApihubV1SummaryEntry" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1LintSpecRequest": { + "description": "The LintSpec method's request.", + "id": "GoogleCloudApihubV1LintSpecRequest", + "properties": {}, + "type": "object" + }, + "GoogleCloudApihubV1ListApiOperationsResponse": { + "description": "The ListApiOperations method's response.", + "id": "GoogleCloudApihubV1ListApiOperationsResponse", + "properties": { + "apiOperations": { + "description": "The operations corresponding to an API version.", + "items": { + "$ref": "GoogleCloudApihubV1ApiOperation" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListApisResponse": { + "description": "The ListApis method's response.", + "id": "GoogleCloudApihubV1ListApisResponse", + "properties": { + "apis": { + "description": "The API resources present in the API hub.", + "items": { + "$ref": "GoogleCloudApihubV1Api" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListAttributesResponse": { + "description": "The ListAttributes method's response.", + "id": "GoogleCloudApihubV1ListAttributesResponse", + "properties": { + "attributes": { + "description": "The list of all attributes.", + "items": { + "$ref": "GoogleCloudApihubV1Attribute" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListCurationsResponse": { + "description": "The ListCurations method's response.", + "id": "GoogleCloudApihubV1ListCurationsResponse", + "properties": { + "curations": { + "description": "The curation resources present in the API hub.", + "items": { + "$ref": "GoogleCloudApihubV1Curation" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListDependenciesResponse": { + "description": "The ListDependencies method's response.", + "id": "GoogleCloudApihubV1ListDependenciesResponse", + "properties": { + "dependencies": { + "description": "The dependency resources present in the API hub.", + "items": { + "$ref": "GoogleCloudApihubV1Dependency" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListDeploymentsResponse": { + "description": "The ListDeployments method's response.", + "id": "GoogleCloudApihubV1ListDeploymentsResponse", + "properties": { + "deployments": { + "description": "The deployment resources present in the API hub.", + "items": { + "$ref": "GoogleCloudApihubV1Deployment" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListExternalApisResponse": { + "description": "The ListExternalApis method's response.", + "id": "GoogleCloudApihubV1ListExternalApisResponse", + "properties": { + "externalApis": { + "description": "The External API resources present in the API hub.", + "items": { + "$ref": "GoogleCloudApihubV1ExternalApi" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListHostProjectRegistrationsResponse": { + "description": "The ListHostProjectRegistrations method's response.", + "id": "GoogleCloudApihubV1ListHostProjectRegistrationsResponse", + "properties": { + "hostProjectRegistrations": { + "description": "The list of host project registrations.", + "items": { + "$ref": "GoogleCloudApihubV1HostProjectRegistration" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListPluginInstancesResponse": { + "description": "The ListPluginInstances method's response.", + "id": "GoogleCloudApihubV1ListPluginInstancesResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "pluginInstances": { + "description": "The plugin instances from the specified parent resource.", + "items": { + "$ref": "GoogleCloudApihubV1PluginInstance" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListPluginsResponse": { + "description": "The ListPlugins method's response.", + "id": "GoogleCloudApihubV1ListPluginsResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "plugins": { + "description": "The plugins from the specified parent resource.", + "items": { + "$ref": "GoogleCloudApihubV1Plugin" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse": { + "description": "The ListRuntimeProjectAttachments method's response.", + "id": "GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "runtimeProjectAttachments": { + "description": "List of runtime project attachments.", + "items": { + "$ref": "GoogleCloudApihubV1RuntimeProjectAttachment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListSpecsResponse": { + "description": "The ListSpecs method's response.", + "id": "GoogleCloudApihubV1ListSpecsResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "specs": { + "description": "The specs corresponding to an API Version.", + "items": { + "$ref": "GoogleCloudApihubV1Spec" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ListVersionsResponse": { + "description": "The ListVersions method's response.", + "id": "GoogleCloudApihubV1ListVersionsResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "versions": { + "description": "The versions corresponding to an API.", + "items": { + "$ref": "GoogleCloudApihubV1Version" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1LookupApiHubInstanceResponse": { + "description": "The LookupApiHubInstance method's response.`", + "id": "GoogleCloudApihubV1LookupApiHubInstanceResponse", + "properties": { + "apiHubInstance": { + "$ref": "GoogleCloudApihubV1ApiHubInstance", + "description": "API Hub instance for a project if it exists, empty otherwise." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse": { + "description": "The ListRuntimeProjectAttachments method's response.", + "id": "GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse", + "properties": { + "runtimeProjectAttachment": { + "$ref": "GoogleCloudApihubV1RuntimeProjectAttachment", + "description": "Runtime project attachment for a project if exists, empty otherwise." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1MultiIntValues": { + "description": "The config variable value of data type multi int.", + "id": "GoogleCloudApihubV1MultiIntValues", + "properties": { + "values": { + "description": "Optional. The config variable value of data type multi int.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1MultiSelectValues": { + "description": "The config variable value of data type multi select.", + "id": "GoogleCloudApihubV1MultiSelectValues", + "properties": { + "values": { + "description": "Optional. The config variable value of data type multi select.", + "items": { + "$ref": "GoogleCloudApihubV1ConfigValueOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1MultiStringValues": { + "description": "The config variable value of data type multi string.", + "id": "GoogleCloudApihubV1MultiStringValues", + "properties": { + "values": { + "description": "Optional. The config variable value of data type multi string.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Oauth2ClientCredentialsConfig": { + "description": "Parameters to support Oauth 2.0 client credentials grant authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.", + "id": "GoogleCloudApihubV1Oauth2ClientCredentialsConfig", + "properties": { + "clientId": { + "description": "Required. The client identifier.", + "type": "string" + }, + "clientSecret": { + "$ref": "GoogleCloudApihubV1Secret", + "description": "Required. Secret version reference containing the client secret. The `secretmanager.versions.access` permission should be granted to the service account accessing the secret." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1OpenApiSpecDetails": { + "description": "OpenApiSpecDetails contains the details parsed from an OpenAPI spec in addition to the fields mentioned in SpecDetails.", + "id": "GoogleCloudApihubV1OpenApiSpecDetails", + "properties": { + "format": { + "description": "Output only. The format of the spec.", + "enum": [ + "FORMAT_UNSPECIFIED", + "OPEN_API_SPEC_2_0", + "OPEN_API_SPEC_3_0", + "OPEN_API_SPEC_3_1" + ], + "enumDescriptions": [ + "SpecFile type unspecified.", + "OpenAPI Spec v2.0.", + "OpenAPI Spec v3.0.", + "OpenAPI Spec v3.1." + ], + "readOnly": true, + "type": "string" + }, + "owner": { + "$ref": "GoogleCloudApihubV1Owner", + "description": "Output only. Owner details for the spec. This maps to `info.contact` in OpenAPI spec.", + "readOnly": true + }, + "version": { + "description": "Output only. The version in the spec. This maps to `info.version` in OpenAPI spec.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1OperationDetails": { + "description": "The operation details parsed from the spec.", + "id": "GoogleCloudApihubV1OperationDetails", + "properties": { + "deprecated": { + "description": "Optional. For OpenAPI spec, this will be set if `operation.deprecated`is marked as `true` in the spec.", + "type": "boolean" + }, + "description": { + "description": "Optional. Description of the operation behavior. For OpenAPI spec, this will map to `operation.description` in the spec, in case description is empty, `operation.summary` will be used.", + "type": "string" + }, + "documentation": { + "$ref": "GoogleCloudApihubV1Documentation", + "description": "Optional. Additional external documentation for this operation. For OpenAPI spec, this will map to `operation.documentation` in the spec." + }, + "httpOperation": { + "$ref": "GoogleCloudApihubV1HttpOperation", + "description": "The HTTP Operation." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleCloudApihubV1OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Owner": { + "description": "Owner details.", + "id": "GoogleCloudApihubV1Owner", + "properties": { + "displayName": { + "description": "Optional. The name of the owner.", + "type": "string" + }, + "email": { + "description": "Required. The email of the owner.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Path": { + "description": "The path details derived from the spec.", + "id": "GoogleCloudApihubV1Path", + "properties": { + "description": { + "description": "Optional. A short description for the path applicable to all operations.", + "type": "string" + }, + "path": { + "description": "Optional. Complete path relative to server endpoint. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Plugin": { + "description": "A plugin resource in the API Hub.", + "id": "GoogleCloudApihubV1Plugin", + "properties": { + "actionsConfig": { + "description": "Optional. The configuration of actions supported by the plugin.", + "items": { + "$ref": "GoogleCloudApihubV1PluginActionConfig" + }, + "type": "array" + }, + "configTemplate": { + "$ref": "GoogleCloudApihubV1ConfigTemplate", + "description": "Optional. The configuration template for the plugin." + }, + "createTime": { + "description": "Output only. Timestamp indicating when the plugin was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. The plugin description. Max length is 2000 characters (Unicode code points).", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the plugin. Max length is 50 characters (Unicode code points).", + "type": "string" + }, + "documentation": { + "$ref": "GoogleCloudApihubV1Documentation", + "description": "Optional. The documentation of the plugin, that explains how to set up and use the plugin." + }, + "hostingService": { + "$ref": "GoogleCloudApihubV1HostingService", + "description": "Optional. This field is optional. It is used to notify the plugin hosting service for any lifecycle changes of the plugin instance and trigger execution of plugin instance actions in case of API hub managed actions. This field should be provided if the plugin instance lifecycle of the developed plugin needs to be managed from API hub. Also, in this case the plugin hosting service interface needs to be implemented. This field should not be provided if the plugin wants to manage plugin instance lifecycle events outside of hub interface and use plugin framework for only registering of plugin and plugin instances to capture the source of data into hub. Note, in this case the plugin hosting service interface is not required to be implemented. Also, the plugin instance lifecycle actions will be disabled from API hub's UI." + }, + "name": { + "description": "Identifier. The name of the plugin. Format: `projects/{project}/locations/{location}/plugins/{plugin}`", + "type": "string" + }, + "ownershipType": { + "description": "Output only. The type of the plugin, indicating whether it is 'SYSTEM_OWNED' or 'USER_OWNED'.", + "enum": [ + "OWNERSHIP_TYPE_UNSPECIFIED", + "SYSTEM_OWNED", + "USER_OWNED" + ], + "enumDescriptions": [ + "Default unspecified type.", + "System owned plugins are defined by API hub and are available out of the box in API hub.", + "User owned plugins are defined by the user and need to be explicitly added to API hub via CreatePlugin method." + ], + "readOnly": true, + "type": "string" + }, + "pluginCategory": { + "description": "Optional. The category of the plugin, identifying its primary category or purpose. This field is required for all plugins.", + "enum": [ + "PLUGIN_CATEGORY_UNSPECIFIED", + "API_GATEWAY", + "API_PRODUCER" + ], + "enumDescriptions": [ + "Default unspecified plugin type.", + "API_GATEWAY plugins represent plugins built for API Gateways like Apigee.", + "API_PRODUCER plugins represent plugins built for API Producers like Cloud Run, Application Integration etc." + ], + "type": "string" + }, + "state": { + "description": "Output only. Represents the state of the plugin. Note this field will not be set for plugins developed via plugin framework as the state will be managed at plugin instance level.", + "enum": [ + "STATE_UNSPECIFIED", + "ENABLED", + "DISABLED" + ], + "enumDescriptions": [ + "The default value. This value is used if the state is omitted.", + "The plugin is enabled.", + "The plugin is disabled." + ], + "readOnly": true, + "type": "string" + }, + "type": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The type of the API. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-plugin-type` attribute. The number of allowed values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. Note this field is not required for plugins developed via plugin framework." + }, + "updateTime": { + "description": "Output only. Timestamp indicating when the plugin was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1PluginActionConfig": { + "description": "PluginActionConfig represents the configuration of an action supported by a plugin.", + "id": "GoogleCloudApihubV1PluginActionConfig", + "properties": { + "description": { + "description": "Required. The description of the operation performed by the action.", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the action.", + "type": "string" + }, + "id": { + "description": "Required. The id of the action.", + "type": "string" + }, + "triggerMode": { + "description": "Required. The trigger mode supported by the action.", + "enum": [ + "TRIGGER_MODE_UNSPECIFIED", + "API_HUB_ON_DEMAND_TRIGGER", + "API_HUB_SCHEDULE_TRIGGER", + "NON_API_HUB_MANAGED" + ], + "enumDescriptions": [ + "Default unspecified mode.", + "This action can be executed by invoking ExecutePluginInstanceAction API with the given action id. To support this, the plugin hosting service should handle this action id as part of execute call.", + "This action will be executed on schedule by invoking ExecutePluginInstanceAction API with the given action id. To set the schedule, the user can provide the cron expression in the PluginAction field for a given plugin instance. To support this, the plugin hosting service should handle this action id as part of execute call. Note, on demand execution will be supported by default in this trigger mode.", + "The execution of this plugin is not handled by API hub. In this case, the plugin hosting service need not handle this action id as part of the execute call." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1PluginInstance": { + "description": "Represents a plugin instance resource in the API Hub. A PluginInstance is a specific instance of a hub plugin with its own configuration, state, and execution details.", + "id": "GoogleCloudApihubV1PluginInstance", + "properties": { + "actions": { + "description": "Required. The action status for the plugin instance.", + "items": { + "$ref": "GoogleCloudApihubV1PluginInstanceAction" + }, + "type": "array" + }, + "additionalConfig": { + "additionalProperties": { + "$ref": "GoogleCloudApihubV1ConfigVariable" + }, + "description": "Optional. The additional information for this plugin instance corresponding to the additional config template of the plugin. This information will be sent to plugin hosting service on each call to plugin hosted service. The key will be the config_variable_template.display_name to uniquely identify the config variable.", + "type": "object" + }, + "authConfig": { + "$ref": "GoogleCloudApihubV1AuthConfig", + "description": "Optional. The authentication information for this plugin instance." + }, + "createTime": { + "description": "Output only. Timestamp indicating when the plugin instance was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Required. The display name for this plugin instance. Max length is 255 characters.", + "type": "string" + }, + "errorMessage": { + "description": "Output only. Error message describing the failure, if any, during Create, Delete or ApplyConfig operation corresponding to the plugin instance.This field will only be populated if the plugin instance is in the ERROR or FAILED state.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The unique name of the plugin instance resource. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", + "type": "string" + }, + "state": { + "description": "Output only. The current state of the plugin instance (e.g., enabled, disabled, provisioning).", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "APPLYING_CONFIG", + "ERROR", + "FAILED", + "DELETING" + ], + "enumDescriptions": [ + "Default unspecified state.", + "The plugin instance is being created.", + "The plugin instance is active and ready for executions. This is the only state where executions can run on the plugin instance.", + "The updated config that contains additional_config and auth_config is being applied.", + "The ERROR state can come while applying config. Users can retrigger ApplyPluginInstanceConfig to restore the plugin instance back to active state. Note, In case the ERROR state happens while applying config (auth_config, additional_config), the plugin instance will reflect the config which was trying to be applied while error happened. In order to overwrite, trigger ApplyConfig with a new config.", + "The plugin instance is in a failed state. This indicates that an unrecoverable error occurred during a previous operation (Create, Delete).", + "The plugin instance is being deleted. Delete is only possible if there is no other operation running on the plugin instance and plugin instance action." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Timestamp indicating when the plugin instance was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1PluginInstanceAction": { + "description": "PluginInstanceAction represents an action which can be executed in the plugin instance.", + "id": "GoogleCloudApihubV1PluginInstanceAction", + "properties": { + "actionId": { + "description": "Required. This should map to one of the action id specified in actions_config in the plugin.", + "type": "string" + }, + "curationConfig": { + "$ref": "GoogleCloudApihubV1CurationConfig", + "description": "Optional. This configuration should be provided if the plugin action is publishing data to API hub curate layer." + }, + "hubInstanceAction": { + "$ref": "GoogleCloudApihubV1ExecutionStatus", + "description": "Optional. The execution information for the plugin instance action done corresponding to an API hub instance." + }, + "scheduleCronExpression": { + "description": "Optional. The schedule for this plugin instance action. This can only be set if the plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action.", + "type": "string" + }, + "scheduleTimeZone": { + "description": "Optional. The time zone for the schedule cron expression. If not provided, UTC will be used.", + "type": "string" + }, + "state": { + "description": "Output only. The current state of the plugin action in the plugin instance.", + "enum": [ + "STATE_UNSPECIFIED", + "ENABLED", + "DISABLED", + "ENABLING", + "DISABLING", + "ERROR" + ], + "enumDescriptions": [ + "Default unspecified state.", + "The action is enabled in the plugin instance i.e., executions can be triggered for this action.", + "The action is disabled in the plugin instance i.e., no executions can be triggered for this action. This state indicates that the user explicitly disabled the instance, and no further action is needed unless the user wants to re-enable it.", + "The action in the plugin instance is being enabled.", + "The action in the plugin instance is being disabled.", + "The ERROR state can come while enabling/disabling plugin instance action. Users can retrigger enable, disable via EnablePluginInstanceAction and DisablePluginInstanceAction to restore the action back to enabled/disabled state. Note enable/disable on actions can only be triggered if plugin instance is in Active state." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1PluginInstanceActionID": { + "description": "The plugin instance and associated action that is using the curation.", + "id": "GoogleCloudApihubV1PluginInstanceActionID", + "properties": { + "actionId": { + "description": "Output only. The action ID that is using the curation. This should map to one of the action IDs specified in action configs in the plugin.", + "readOnly": true, + "type": "string" + }, + "pluginInstance": { + "description": "Output only. Plugin instance that is using the curation. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1PluginInstanceActionSource": { + "description": "PluginInstanceActionSource represents the plugin instance action source.", + "id": "GoogleCloudApihubV1PluginInstanceActionSource", + "properties": { + "actionId": { + "description": "Output only. The id of the plugin instance action.", + "readOnly": true, + "type": "string" + }, + "pluginInstance": { + "description": "Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Point": { + "description": "Point within the file (line and character).", + "id": "GoogleCloudApihubV1Point", + "properties": { + "character": { + "description": "Required. Character position within the line (zero-indexed).", + "format": "int32", + "type": "integer" + }, + "line": { + "description": "Required. Line number (zero-indexed).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Range": { + "description": "Object describing where in the file the issue was found.", + "id": "GoogleCloudApihubV1Range", + "properties": { + "end": { + "$ref": "GoogleCloudApihubV1Point", + "description": "Required. End of the issue." + }, + "start": { + "$ref": "GoogleCloudApihubV1Point", + "description": "Required. Start of the issue." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1RuntimeProjectAttachment": { + "description": "Runtime project attachment represents an attachment from the runtime project to the host project. Api Hub looks for deployments in the attached runtime projects and creates corresponding resources in Api Hub for the discovered deployments.", + "id": "GoogleCloudApihubV1RuntimeProjectAttachment", + "properties": { + "createTime": { + "description": "Output only. Create time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The resource name of a runtime project attachment. Format: \"projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}\".", + "type": "string" + }, + "runtimeProject": { + "description": "Required. Immutable. Google cloud project name in the format: \"projects/abc\" or \"projects/123\". As input, project name with either project id or number are accepted. As output, this field will contain project number.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Schema": { + "description": "The schema details derived from the spec. Currently, this entity is supported for OpenAPI spec only. For OpenAPI spec, this maps to the schema defined in the `definitions` section for OpenAPI 2.0 version and in `components.schemas` section for OpenAPI 3.0 and 3.1 version.", + "id": "GoogleCloudApihubV1Schema", + "properties": { + "displayName": { + "description": "Output only. The display name of the schema. This will map to the name of the schema in the spec.", + "readOnly": true, + "type": "string" + }, + "rawValue": { + "description": "Output only. The raw value of the schema definition corresponding to the schema name in the spec.", + "format": "byte", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1SearchResourcesRequest": { + "description": "The SearchResources method's request.", + "id": "GoogleCloudApihubV1SearchResourcesRequest", + "properties": { + "filter": { + "description": "Optional. An expression that filters the list of search results. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`. Filters are not case sensitive. The following field names are eligible for filtering: * `resource_type` - The type of resource in the search results. Must be one of the following: `Api`, `ApiOperation`, `Deployment`, `Definition`, `Spec` or `Version`. This field can only be specified once in the filter. Here are is an example: * `resource_type = Api` - The resource_type is _Api_.", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of search results to return. The service may return fewer than this value. If unspecified at most 10 search results will be returned. If value is negative then `INVALID_ARGUMENT` error is returned. The maximum value is 25; values above 25 will be coerced to 25. While paginating, you can specify a new page size parameter for each page of search results to be listed.", + "format": "int32", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous SearchResources call. Specify this parameter to retrieve the next page of transactions. When paginating, you must specify the `page_token` parameter and all the other parameters except page_size should be specified with the same value which was used in the previous call. If the other fields are set with a different value than the previous call then `INVALID_ARGUMENT` error is returned.", + "type": "string" + }, + "query": { + "description": "Required. The free text search query. This query can contain keywords which could be related to any detail of the API-Hub resources such display names, descriptions, attributes etc.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1SearchResourcesResponse": { + "description": "Response for the SearchResources method.", + "id": "GoogleCloudApihubV1SearchResourcesResponse", + "properties": { + "nextPageToken": { + "description": "Pass this token in the SearchResourcesRequest to continue to list results. If all results have been returned, this field is an empty string or not present in the response.", + "type": "string" + }, + "searchResults": { + "description": "List of search results according to the filter and search query specified. The order of search results represents the ranking.", + "items": { + "$ref": "GoogleCloudApihubV1SearchResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1SearchResult": { + "description": "Represents the search results.", + "id": "GoogleCloudApihubV1SearchResult", + "properties": { + "resource": { + "$ref": "GoogleCloudApihubV1ApiHubResource", + "description": "This represents the ApiHubResource. Note: Only selected fields of the resources are populated in response." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Secret": { + "description": "Secret provides a reference to entries in Secret Manager.", + "id": "GoogleCloudApihubV1Secret", + "properties": { + "secretVersion": { + "description": "Required. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1SourceMetadata": { + "description": "SourceMetadata represents the metadata for a resource at the source.", + "id": "GoogleCloudApihubV1SourceMetadata", + "properties": { + "originalResourceCreateTime": { + "description": "Output only. The time at which the resource was created at the source.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "originalResourceId": { + "description": "Output only. The unique identifier of the resource at the source.", + "readOnly": true, + "type": "string" + }, + "originalResourceUpdateTime": { + "description": "Output only. The time at which the resource was last updated at the source.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "pluginInstanceActionSource": { + "$ref": "GoogleCloudApihubV1PluginInstanceActionSource", + "description": "Output only. The source of the resource is a plugin instance action.", + "readOnly": true + }, + "sourceType": { + "description": "Output only. The type of the source.", + "enum": [ + "SOURCE_TYPE_UNSPECIFIED", + "PLUGIN" + ], + "enumDescriptions": [ + "Source type not specified.", + "Source type plugin." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Spec": { + "description": "Represents a spec associated with an API version in the API Hub. Note that specs of various types can be uploaded, however parsing of details is supported for OpenAPI spec currently.", + "id": "GoogleCloudApihubV1Spec", + "properties": { + "attributes": { + "additionalProperties": { + "$ref": "GoogleCloudApihubV1AttributeValues" + }, + "description": "Optional. The list of user defined attributes associated with the spec. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.", + "type": "object" + }, + "contents": { + "$ref": "GoogleCloudApihubV1SpecContents", + "description": "Optional. Input only. The contents of the uploaded spec." + }, + "createTime": { + "description": "Output only. The time at which the spec was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "details": { + "$ref": "GoogleCloudApihubV1SpecDetails", + "description": "Output only. Details parsed from the spec.", + "readOnly": true + }, + "displayName": { + "description": "Required. The display name of the spec. This can contain the file name of the spec.", + "type": "string" + }, + "documentation": { + "$ref": "GoogleCloudApihubV1Documentation", + "description": "Optional. The documentation of the spec. For OpenAPI spec, this will be populated from `externalDocs` in OpenAPI spec." + }, + "lintResponse": { + "$ref": "GoogleCloudApihubV1LintResponse", + "description": "Optional. The lint response for the spec." + }, + "name": { + "description": "Identifier. The name of the spec. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`", + "type": "string" + }, + "parsingMode": { + "description": "Optional. Input only. Enum specifying the parsing mode for OpenAPI Specification (OAS) parsing.", + "enum": [ + "PARSING_MODE_UNSPECIFIED", + "RELAXED", + "STRICT" + ], + "enumDescriptions": [ + "Defaults to `RELAXED`.", + "Parsing of the Spec on create and update is relaxed, meaning that parsing errors the spec contents will not fail the API call.", + "Parsing of the Spec on create and update is strict, meaning that parsing errors in the spec contents will fail the API call." + ], + "type": "string" + }, + "sourceMetadata": { + "description": "Output only. The list of sources and metadata from the sources of the spec.", + "items": { + "$ref": "GoogleCloudApihubV1SourceMetadata" + }, + "readOnly": true, + "type": "array" + }, + "sourceUri": { + "description": "Optional. The URI of the spec source in case file is uploaded from an external version control system.", + "type": "string" + }, + "specType": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Required. The type of spec. The value should be one of the allowed values defined for `projects/{project}/locations/{location}/attributes/system-spec-type` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. Note, this field is mandatory if content is provided." + }, + "updateTime": { + "description": "Output only. The time at which the spec was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1SpecContents": { + "description": "The spec contents.", + "id": "GoogleCloudApihubV1SpecContents", + "properties": { + "contents": { + "description": "Required. The contents of the spec.", + "format": "byte", + "type": "string" + }, + "mimeType": { + "description": "Required. The mime type of the content for example application/json, application/yaml, application/wsdl etc.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1SpecDetails": { + "description": "SpecDetails contains the details parsed from supported spec types.", + "id": "GoogleCloudApihubV1SpecDetails", + "properties": { + "description": { + "description": "Output only. The description of the spec.", + "readOnly": true, + "type": "string" + }, + "openApiSpecDetails": { + "$ref": "GoogleCloudApihubV1OpenApiSpecDetails", + "description": "Output only. Additional details apart from `OperationDetails` parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudApihubV1SpecMetadata": { + "description": "The metadata associated with a spec of the API version.", + "id": "GoogleCloudApihubV1SpecMetadata", + "properties": { + "originalCreateTime": { + "description": "Optional. Timestamp indicating when the spec was created at the source.", + "format": "google-datetime", + "type": "string" + }, + "originalId": { + "description": "Optional. The unique identifier of the spec in the system where it was originally created.", + "type": "string" + }, + "originalUpdateTime": { + "description": "Required. Timestamp indicating when the spec was last updated at the source.", + "format": "google-datetime", + "type": "string" + }, + "spec": { + "$ref": "GoogleCloudApihubV1Spec", + "description": "Required. The spec resource to be pushed to Hub's collect layer. The ID of the spec will be generated by Hub." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1StringAttributeValues": { + "description": "The attribute values of data type string or JSON.", + "id": "GoogleCloudApihubV1StringAttributeValues", + "properties": { + "values": { + "description": "Required. The attribute values in case attribute data type is string or JSON.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1StyleGuide": { + "description": "Represents a singleton style guide resource to be used for linting Open API specs.", + "id": "GoogleCloudApihubV1StyleGuide", + "properties": { + "contents": { + "$ref": "GoogleCloudApihubV1StyleGuideContents", + "description": "Required. Input only. The contents of the uploaded style guide." + }, + "linter": { + "description": "Required. Target linter for the style guide.", + "enum": [ + "LINTER_UNSPECIFIED", + "SPECTRAL", + "OTHER" + ], + "enumDescriptions": [ + "Linter type unspecified.", + "Linter type spectral.", + "Linter type other." + ], + "type": "string" + }, + "name": { + "description": "Identifier. The name of the style guide. Format: `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1StyleGuideContents": { + "description": "The style guide contents.", + "id": "GoogleCloudApihubV1StyleGuideContents", + "properties": { + "contents": { + "description": "Required. The contents of the style guide.", + "format": "byte", + "type": "string" + }, + "mimeType": { + "description": "Required. The mime type of the content.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1SummaryEntry": { + "description": "Count of issues with a given severity.", + "id": "GoogleCloudApihubV1SummaryEntry", + "properties": { + "count": { + "description": "Required. Count of issues with the given severity.", + "format": "int32", + "type": "integer" + }, + "severity": { + "description": "Required. Severity of the issue.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "SEVERITY_ERROR", + "SEVERITY_WARNING", + "SEVERITY_INFO", + "SEVERITY_HINT" + ], + "enumDescriptions": [ + "Severity unspecified.", + "Severity error.", + "Severity warning.", + "Severity info.", + "Severity hint." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1UserPasswordConfig": { + "description": "Parameters to support Username and Password Authentication.", + "id": "GoogleCloudApihubV1UserPasswordConfig", + "properties": { + "password": { + "$ref": "GoogleCloudApihubV1Secret", + "description": "Required. Secret version reference containing the password. The `secretmanager.versions.access` permission should be granted to the service account accessing the secret." + }, + "username": { + "description": "Required. Username.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1Version": { + "description": "Represents a version of the API resource in API hub. This is also referred to as the API version.", + "id": "GoogleCloudApihubV1Version", + "properties": { + "accreditation": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The accreditations associated with the API version. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-accreditation` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute." + }, + "apiOperations": { + "description": "Output only. The operations contained in the API version. These operations will be added to the version when a new spec is added or when an existing spec is updated. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "attributes": { + "additionalProperties": { + "$ref": "GoogleCloudApihubV1AttributeValues" + }, + "description": "Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.", + "type": "object" + }, + "compliance": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The compliance associated with the API version. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-compliance` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute." + }, + "createTime": { + "description": "Output only. The time at which the version was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "definitions": { + "description": "Output only. The definitions contained in the API version. These definitions will be added to the version when a new spec is added or when an existing spec is updated. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}`", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "deployments": { + "description": "Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc) Format is `projects/{project}/locations/{location}/deployments/{deployment}`", + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "description": "Optional. The description of the version.", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the version.", + "type": "string" + }, + "documentation": { + "$ref": "GoogleCloudApihubV1Documentation", + "description": "Optional. The documentation of the version." + }, + "lifecycle": { + "$ref": "GoogleCloudApihubV1AttributeValues", + "description": "Optional. The lifecycle of the API version. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-lifecycle` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute." + }, + "name": { + "description": "Identifier. The name of the version. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}`", + "type": "string" + }, + "selectedDeployment": { + "description": "Optional. The selected deployment for a Version resource. This can be used when special handling is needed on client side for a particular deployment linked to the version. Format is `projects/{project}/locations/{location}/deployments/{deployment}`", + "type": "string" + }, + "sourceMetadata": { + "description": "Output only. The list of sources and metadata from the sources of the version.", + "items": { + "$ref": "GoogleCloudApihubV1SourceMetadata" + }, + "readOnly": true, + "type": "array" + }, + "specs": { + "description": "Output only. The specs associated with this version. Note that an API version can be associated with multiple specs. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "updateTime": { + "description": "Output only. The time at which the version was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1VersionMetadata": { + "description": "The metadata associated with a version of the API resource.", + "id": "GoogleCloudApihubV1VersionMetadata", + "properties": { + "deployments": { + "description": "Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc.)", + "items": { + "$ref": "GoogleCloudApihubV1DeploymentMetadata" + }, + "type": "array" + }, + "originalCreateTime": { + "description": "Optional. Timestamp indicating when the version was created at the source.", + "format": "google-datetime", + "type": "string" + }, + "originalId": { + "description": "Optional. The unique identifier of the version in the system where it was originally created.", + "type": "string" + }, + "originalUpdateTime": { + "description": "Required. Timestamp indicating when the version was last updated at the source.", + "format": "google-datetime", + "type": "string" + }, + "specs": { + "description": "Optional. The specs associated with this version. Note that an API version can be associated with multiple specs.", + "items": { + "$ref": "GoogleCloudApihubV1SpecMetadata" + }, + "type": "array" + }, + "version": { + "$ref": "GoogleCloudApihubV1Version", + "description": "Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub." + } + }, + "type": "object" + }, + "GoogleCloudCommonOperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleCloudCommonOperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "cancelRequested": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "statusDetail": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudLocationListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "GoogleCloudLocationListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "GoogleCloudLocationLocation" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudLocationLocation": { + "description": "A resource that represents a Google Cloud location.", + "id": "GoogleCloudLocationLocation", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "GoogleLongrunningCancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "GoogleLongrunningCancelOperationRequest", + "properties": {}, + "type": "object" + }, + "GoogleLongrunningListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "GoogleLongrunningListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "GoogleLongrunningOperation" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleLongrunningOperation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "GoogleLongrunningOperation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "GoogleRpcStatus", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleRpcStatus": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "GoogleRpcStatus", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "API hub API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/appsactivity-v1.json b/discovery/appsactivity-v1.json deleted file mode 100644 index ef6e0d8e742..00000000000 --- a/discovery/appsactivity-v1.json +++ /dev/null @@ -1,477 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/activity": { - "description": "View the activity history of your Google apps" - } - } - } - }, - "basePath": "/appsactivity/v1/", - "baseUrl": "https://www.googleapis.com/appsactivity/v1/", - "batchPath": "batch/appsactivity/v1", - "description": "Provides a historical view of activity.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/google-apps/activity/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/YR-AxeO1KbdtGkLlRfHIthDd-DA\"", - "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": "appsactivity:v1", - "kind": "discovery#restDescription", - "name": "appsactivity", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "activities": { - "methods": { - "list": { - "description": "Returns a list of activities visible to the current logged in user. Visible activities are determined by the visibility settings of the object that was acted on, e.g. Drive files a user can see. An activity is a record of past events. Multiple events may be merged if they are similar. A request is scoped to activities from a given Google service using the source parameter.", - "httpMethod": "GET", - "id": "appsactivity.activities.list", - "parameters": { - "drive.ancestorId": { - "description": "Identifies the Drive folder containing the items for which to return activities.", - "location": "query", - "type": "string" - }, - "drive.fileId": { - "description": "Identifies the Drive item to return activities for.", - "location": "query", - "type": "string" - }, - "groupingStrategy": { - "default": "driveUi", - "description": "Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent object.", - "enum": [ - "driveUi", - "none" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "pageSize": { - "default": "50", - "description": "The maximum number of events to return on a page. The response includes a continuation token if there are more events.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token to retrieve a specific page of results.", - "location": "query", - "type": "string" - }, - "source": { - "description": "The Google service from which to return activities. Possible values of source are: \n- drive.google.com", - "location": "query", - "type": "string" - }, - "userId": { - "default": "me", - "description": "The ID used for ACL checks (does not filter the resulting event list by the assigned value). Use the special value me to indicate the currently authenticated user.", - "location": "query", - "type": "string" - } - }, - "path": "activities", - "response": { - "$ref": "ListActivitiesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/activity" - ] - } - } - } - }, - "revision": "20200503", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "Activity": { - "description": "An Activity resource is a combined view of multiple events. An activity has a list of individual events and a combined view of the common fields among all events.", - "id": "Activity", - "properties": { - "combinedEvent": { - "$ref": "Event", - "description": "The fields common to all of the singleEvents that make up the Activity." - }, - "singleEvents": { - "description": "A list of all the Events that make up the Activity.", - "items": { - "$ref": "Event" - }, - "type": "array" - } - }, - "type": "object" - }, - "Event": { - "description": "Represents the changes associated with an action taken by a user.", - "id": "Event", - "properties": { - "additionalEventTypes": { - "description": "Additional event types. Some events may have multiple types when multiple actions are part of a single event. For example, creating a document, renaming it, and sharing it may be part of a single file-creation event.", - "items": { - "enum": [ - "comment", - "create", - "edit", - "emptyTrash", - "move", - "permissionChange", - "rename", - "trash", - "unknown", - "untrash", - "upload" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "eventTimeMillis": { - "description": "The time at which the event occurred formatted as Unix time in milliseconds.", - "format": "uint64", - "type": "string" - }, - "fromUserDeletion": { - "description": "Whether this event is caused by a user being deleted.", - "type": "boolean" - }, - "move": { - "$ref": "Move", - "description": "Extra information for move type events, such as changes in an object's parents." - }, - "permissionChanges": { - "description": "Extra information for permissionChange type events, such as the user or group the new permission applies to.", - "items": { - "$ref": "PermissionChange" - }, - "type": "array" - }, - "primaryEventType": { - "description": "The main type of event that occurred.", - "enum": [ - "comment", - "create", - "edit", - "emptyTrash", - "move", - "permissionChange", - "rename", - "trash", - "unknown", - "untrash", - "upload" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "rename": { - "$ref": "Rename", - "description": "Extra information for rename type events, such as the old and new names." - }, - "target": { - "$ref": "Target", - "description": "Information specific to the Target object modified by the event." - }, - "user": { - "$ref": "User", - "description": "Represents the user responsible for the event." - } - }, - "type": "object" - }, - "ListActivitiesResponse": { - "description": "The response from the list request. Contains a list of activities and a token to retrieve the next page of results.", - "id": "ListActivitiesResponse", - "properties": { - "activities": { - "description": "List of activities.", - "items": { - "$ref": "Activity" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token for the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "Move": { - "description": "Contains information about changes in an object's parents as a result of a move type event.", - "id": "Move", - "properties": { - "addedParents": { - "description": "The added parent(s).", - "items": { - "$ref": "Parent" - }, - "type": "array" - }, - "removedParents": { - "description": "The removed parent(s).", - "items": { - "$ref": "Parent" - }, - "type": "array" - } - }, - "type": "object" - }, - "Parent": { - "description": "Contains information about a parent object. For example, a folder in Drive is a parent for all files within it.", - "id": "Parent", - "properties": { - "id": { - "description": "The parent's ID.", - "type": "string" - }, - "isRoot": { - "description": "Whether this is the root folder.", - "type": "boolean" - }, - "title": { - "description": "The parent's title.", - "type": "string" - } - }, - "type": "object" - }, - "Permission": { - "description": "Contains information about the permissions and type of access allowed with regards to a Google Drive object. This is a subset of the fields contained in a corresponding Drive Permissions object.", - "id": "Permission", - "properties": { - "name": { - "description": "The name of the user or group the permission applies to.", - "type": "string" - }, - "permissionId": { - "description": "The ID for this permission. Corresponds to the Drive API's permission ID returned as part of the Drive Permissions resource.", - "type": "string" - }, - "role": { - "description": "Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file.", - "enum": [ - "commenter", - "fileOrganizer", - "owner", - "publishedReader", - "reader", - "writer" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": { - "description": "Indicates how widely permissions are granted.", - "enum": [ - "anyone", - "domain", - "group", - "user" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "user": { - "$ref": "User", - "description": "The user's information if the type is USER." - }, - "withLink": { - "description": "Whether the permission requires a link to the file.", - "type": "boolean" - } - }, - "type": "object" - }, - "PermissionChange": { - "description": "Contains information about a Drive object's permissions that changed as a result of a permissionChange type event.", - "id": "PermissionChange", - "properties": { - "addedPermissions": { - "description": "Lists all Permission objects added.", - "items": { - "$ref": "Permission" - }, - "type": "array" - }, - "removedPermissions": { - "description": "Lists all Permission objects removed.", - "items": { - "$ref": "Permission" - }, - "type": "array" - } - }, - "type": "object" - }, - "Photo": { - "description": "Photo information for a user.", - "id": "Photo", - "properties": { - "url": { - "description": "The URL of the photo.", - "type": "string" - } - }, - "type": "object" - }, - "Rename": { - "description": "Contains information about a renametype event.", - "id": "Rename", - "properties": { - "newTitle": { - "description": "The new title.", - "type": "string" - }, - "oldTitle": { - "description": "The old title.", - "type": "string" - } - }, - "type": "object" - }, - "Target": { - "description": "Information about the object modified by the event.", - "id": "Target", - "properties": { - "id": { - "description": "The ID of the target. For example, in Google Drive, this is the file or folder ID.", - "type": "string" - }, - "mimeType": { - "description": "The MIME type of the target.", - "type": "string" - }, - "name": { - "description": "The name of the target. For example, in Google Drive, this is the title of the file.", - "type": "string" - } - }, - "type": "object" - }, - "User": { - "description": "A representation of a user.", - "id": "User", - "properties": { - "isDeleted": { - "description": "A boolean which indicates whether the specified User was deleted. If true, name, photo and permission_id will be omitted.", - "type": "boolean" - }, - "isMe": { - "description": "Whether the user is the authenticated user.", - "type": "boolean" - }, - "name": { - "description": "The displayable name of the user.", - "type": "string" - }, - "permissionId": { - "description": "The permission ID associated with this user. Equivalent to the Drive API's permission ID for this user, returned as part of the Drive Permissions resource.", - "type": "string" - }, - "photo": { - "$ref": "Photo", - "description": "The profile photo of the user. Not present if the user has no profile photo." - } - }, - "type": "object" - } - }, - "servicePath": "appsactivity/v1/", - "title": "Drive Activity API", - "version": "v1" -} \ No newline at end of file diff --git a/discovery/area120tables-v1alpha1.json b/discovery/area120tables-v1alpha1.json index 7e51c22104c..18f804709bc 100644 --- a/discovery/area120tables-v1alpha1.json +++ b/discovery/area120tables-v1alpha1.json @@ -586,7 +586,7 @@ } } }, - "revision": "20220321", + "revision": "20220319", "rootUrl": "https://area120tables.googleapis.com/", "schemas": { "BatchCreateRowsRequest": { diff --git a/discovery/artifactregistry-v1.json b/discovery/artifactregistry-v1.json index 435e31cb92b..81996f2b79e 100644 --- a/discovery/artifactregistry-v1.json +++ b/discovery/artifactregistry-v1.json @@ -89,6 +89,11 @@ "endpointUrl": "https://artifactregistry.europe-north1.rep.googleapis.com/", "location": "europe-north1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-north2.rep.googleapis.com/", + "location": "europe-north2" + }, { "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-southwest1.rep.googleapis.com/", @@ -159,6 +164,11 @@ "endpointUrl": "https://artifactregistry.northamerica-northeast2.rep.googleapis.com/", "location": "northamerica-northeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.southamerica-east1.rep.googleapis.com/", @@ -2455,7 +2465,7 @@ } } }, - "revision": "20250425", + "revision": "20250502", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { diff --git a/discovery/artifactregistry-v1beta1.json b/discovery/artifactregistry-v1beta1.json index e224afd1597..e37da654890 100644 --- a/discovery/artifactregistry-v1beta1.json +++ b/discovery/artifactregistry-v1beta1.json @@ -89,6 +89,11 @@ "endpointUrl": "https://artifactregistry.europe-north1.rep.googleapis.com/", "location": "europe-north1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-north2.rep.googleapis.com/", + "location": "europe-north2" + }, { "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-southwest1.rep.googleapis.com/", @@ -159,6 +164,11 @@ "endpointUrl": "https://artifactregistry.northamerica-northeast2.rep.googleapis.com/", "location": "northamerica-northeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.southamerica-east1.rep.googleapis.com/", @@ -1172,7 +1182,7 @@ } } }, - "revision": "20250425", + "revision": "20250502", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "Binding": { diff --git a/discovery/artifactregistry-v1beta2.json b/discovery/artifactregistry-v1beta2.json index baa76e2df37..092352e57b6 100644 --- a/discovery/artifactregistry-v1beta2.json +++ b/discovery/artifactregistry-v1beta2.json @@ -89,6 +89,11 @@ "endpointUrl": "https://artifactregistry.europe-north1.rep.googleapis.com/", "location": "europe-north1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-north2.rep.googleapis.com/", + "location": "europe-north2" + }, { "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-southwest1.rep.googleapis.com/", @@ -159,6 +164,11 @@ "endpointUrl": "https://artifactregistry.northamerica-northeast2.rep.googleapis.com/", "location": "northamerica-northeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.southamerica-east1.rep.googleapis.com/", @@ -1440,7 +1450,7 @@ } } }, - "revision": "20250425", + "revision": "20250502", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { diff --git a/discovery/baremetalsolution-v1.json b/discovery/baremetalsolution-v1.json deleted file mode 100644 index be6a10d58d0..00000000000 --- a/discovery/baremetalsolution-v1.json +++ /dev/null @@ -1,331 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://baremetalsolution.googleapis.com/", - "batchPath": "batch", - "description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/bare-metal", - "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": "baremetalsolution:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://baremetalsolution.mtls.googleapis.com/", - "name": "baremetalsolution", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "baremetalsolution.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "baremetalsolution.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1/operations/{operationsId}", - "httpMethod": "GET", - "id": "baremetalsolution.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1/operations", - "httpMethod": "GET", - "id": "baremetalsolution.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - }, - "revision": "20221017", - "rootUrl": "https://baremetalsolution.googleapis.com/", - "schemas": { - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Bare Metal Solution API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/baremetalsolution-v1alpha1.json b/discovery/baremetalsolution-v1alpha1.json deleted file mode 100644 index 8987df467f3..00000000000 --- a/discovery/baremetalsolution-v1alpha1.json +++ /dev/null @@ -1,588 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://baremetalsolution.googleapis.com/", - "batchPath": "batch", - "description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/bare-metal", - "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": "baremetalsolution:v1alpha1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://baremetalsolution.mtls.googleapis.com/", - "name": "baremetalsolution", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "methods": { - "submitProvisioningConfig": { - "description": "Submit a provisiong configuration for a given project.", - "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:submitProvisioningConfig", - "httpMethod": "POST", - "id": "baremetalsolution.projects.locations.submitProvisioningConfig", - "parameterOrder": [ - "project", - "location" - ], - "parameters": { - "location": { - "description": "Required. The target location of the provisioning request.", - "location": "path", - "pattern": "^locations/[^/]+$", - "required": true, - "type": "string" - }, - "project": { - "description": "Required. The target project of the provisioning request.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+project}/{+location}:submitProvisioningConfig", - "request": { - "$ref": "SubmitProvisioningConfigRequest" - }, - "response": { - "$ref": "ProvisioningConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "provisioningQuotas": { - "methods": { - "list": { - "description": "List the budget details to provision resources on a given project.", - "flatPath": "v1alpha1/projects/{projectsId}/provisioningQuotas", - "httpMethod": "GET", - "id": "baremetalsolution.projects.provisioningQuotas.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of items to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The next_page_token value returned from a previous List request, if any.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent project containing the provisioning quotas.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+parent}/provisioningQuotas", - "response": { - "$ref": "ListProvisioningQuotasResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - }, - "revision": "20220405", - "rootUrl": "https://baremetalsolution.googleapis.com/", - "schemas": { - "InstanceConfig": { - "description": "Configuration parameters for a new instance.", - "id": "InstanceConfig", - "properties": { - "clientNetwork": { - "$ref": "NetworkAddress", - "description": "Client network address." - }, - "hyperthreading": { - "description": "Whether the instance should be provisioned with Hyperthreading enabled.", - "type": "boolean" - }, - "id": { - "description": "A transient unique identifier to idenfity an instance within an ProvisioningConfig request.", - "type": "string" - }, - "instanceType": { - "description": "Instance type.", - "type": "string" - }, - "location": { - "description": "Location where to deploy the instance.", - "type": "string" - }, - "osImage": { - "description": "OS image to initialize the instance.", - "type": "string" - }, - "privateNetwork": { - "$ref": "NetworkAddress", - "description": "Private network address, if any." - }, - "userNote": { - "description": "User note field, it can be used by customers to add additional information for the BMS Ops team (b/194021617).", - "type": "string" - } - }, - "type": "object" - }, - "InstanceQuota": { - "description": "A resource budget.", - "id": "InstanceQuota", - "properties": { - "availableMachineCount": { - "description": "Number of machines than can be created for the given location and instance_type.", - "format": "int32", - "type": "integer" - }, - "instanceType": { - "description": "Instance type.", - "type": "string" - }, - "location": { - "description": "Location where the quota applies.", - "type": "string" - } - }, - "type": "object" - }, - "ListProvisioningQuotasResponse": { - "description": "Response for ListProvisioningQuotas.", - "id": "ListProvisioningQuotasResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - }, - "provisioningQuotas": { - "description": "The provisioning quotas registered in this project.", - "items": { - "$ref": "ProvisioningQuota" - }, - "type": "array" - } - }, - "type": "object" - }, - "LunRange": { - "description": "A LUN range.", - "id": "LunRange", - "properties": { - "quantity": { - "description": "Number of LUNs to create.", - "format": "int32", - "type": "integer" - }, - "sizeGb": { - "description": "The requested size of each LUN, in GB.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "NetworkAddress": { - "description": "A network.", - "id": "NetworkAddress", - "properties": { - "address": { - "description": "IP address to be assigned to the server.", - "type": "string" - }, - "existingNetworkId": { - "description": "Name of the existing network to use. Will be of the format at--vlan for pre-intake UI networks like for eg, at-123456-vlan001 or any user-defined name like for eg, my-network-name for networks provisioned using intake UI. The field is exclusively filled only in case of an already existing network. Mutually exclusive with network_id.", - "type": "string" - }, - "networkId": { - "description": "Name of the network to use, within the same ProvisioningConfig request. This represents a new network being provisioned in the same request. Can have any user-defined name like for eg, my-network-name. Mutually exclusive with existing_network_id.", - "type": "string" - } - }, - "type": "object" - }, - "NetworkConfig": { - "description": "Configuration parameters for a new network.", - "id": "NetworkConfig", - "properties": { - "bandwidth": { - "description": "Interconnect bandwidth. Set only when type is CLIENT.", - "enum": [ - "BANDWIDTH_UNSPECIFIED", - "BW_1_GBPS", - "BW_2_GBPS", - "BW_5_GBPS", - "BW_10_GBPS" - ], - "enumDescriptions": [ - "Unspecified value.", - "1 Gbps.", - "2 Gbps.", - "5 Gbps.", - "10 Gbps." - ], - "type": "string" - }, - "cidr": { - "description": "CIDR range of the network.", - "type": "string" - }, - "id": { - "description": "A transient unique identifier to identify a volume within an ProvisioningConfig request.", - "type": "string" - }, - "location": { - "description": "Location where to deploy the network.", - "type": "string" - }, - "serviceCidr": { - "description": "Service CIDR, if any.", - "enum": [ - "SERVICE_CIDR_UNSPECIFIED", - "DISABLED", - "HIGH_26", - "HIGH_27", - "HIGH_28" - ], - "enumDescriptions": [ - "Unspecified value.", - "Services are disabled for the given network.", - "Use the highest /26 block of the network to host services.", - "Use the highest /27 block of the network to host services.", - "Use the highest /28 block of the network to host services." - ], - "type": "string" - }, - "type": { - "description": "The type of this network.", - "enum": [ - "TYPE_UNSPECIFIED", - "CLIENT", - "PRIVATE" - ], - "enumDescriptions": [ - "Unspecified value.", - "Client network, that is a network peered to a GCP VPC.", - "Private network, that is a network local to the BMS POD." - ], - "type": "string" - }, - "userNote": { - "description": "User note field, it can be used by customers to add additional information for the BMS Ops team (b/194021617).", - "type": "string" - }, - "vlanAttachments": { - "description": "List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).", - "items": { - "$ref": "VlanAttachment" - }, - "type": "array" - } - }, - "type": "object" - }, - "NfsExport": { - "description": "A NFS export entry.", - "id": "NfsExport", - "properties": { - "allowDev": { - "description": "Allow dev.", - "type": "boolean" - }, - "allowSuid": { - "description": "Allow the setuid flag.", - "type": "boolean" - }, - "cidr": { - "description": "A CIDR range.", - "type": "string" - }, - "machineId": { - "description": "Either a single machine, identified by an ID, or a comma-separated list of machine IDs.", - "type": "string" - }, - "networkId": { - "description": "Network to use to publish the export.", - "type": "string" - }, - "noRootSquash": { - "description": "Disable root squashing.", - "type": "boolean" - }, - "permissions": { - "description": "Export permissions.", - "enum": [ - "PERMISSIONS_UNSPECIFIED", - "READ_ONLY", - "READ_WRITE" - ], - "enumDescriptions": [ - "Unspecified value.", - "Read-only permission.", - "Read-write permission." - ], - "type": "string" - } - }, - "type": "object" - }, - "ProvisioningConfig": { - "description": "An provisioning configuration.", - "id": "ProvisioningConfig", - "properties": { - "instances": { - "description": "Instances to be created.", - "items": { - "$ref": "InstanceConfig" - }, - "type": "array" - }, - "networks": { - "description": "Networks to be created.", - "items": { - "$ref": "NetworkConfig" - }, - "type": "array" - }, - "ticketId": { - "description": "A reference to track the request.", - "type": "string" - }, - "volumes": { - "description": "Volumes to be created.", - "items": { - "$ref": "VolumeConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "ProvisioningQuota": { - "description": "A provisioning quota for a given project.", - "id": "ProvisioningQuota", - "properties": { - "instanceQuota": { - "$ref": "InstanceQuota", - "description": "Instance quota." - } - }, - "type": "object" - }, - "SubmitProvisioningConfigRequest": { - "description": "Request for SubmitProvisioningConfig.", - "id": "SubmitProvisioningConfigRequest", - "properties": { - "email": { - "description": "Optional. Email provided to send a confirmation with provisioning config to.", - "type": "string" - }, - "provisioningConfig": { - "$ref": "ProvisioningConfig", - "description": "Required. The ProvisioningConfig to submit." - } - }, - "type": "object" - }, - "VlanAttachment": { - "description": "A GCP vlan attachment.", - "id": "VlanAttachment", - "properties": { - "id": { - "description": "Identifier of the VLAN attachment.", - "type": "string" - }, - "pairingKey": { - "description": "Attachment pairing key.", - "type": "string" - } - }, - "type": "object" - }, - "VolumeConfig": { - "description": "Configuration parameters for a new volume.", - "id": "VolumeConfig", - "properties": { - "id": { - "description": "A transient unique identifier to identify a volume within an ProvisioningConfig request.", - "type": "string" - }, - "location": { - "description": "Location where to deploy the volume.", - "type": "string" - }, - "lunRanges": { - "description": "LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.", - "items": { - "$ref": "LunRange" - }, - "type": "array" - }, - "machineIds": { - "description": "Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nfsExports": { - "description": "NFS exports. Set only when protocol is PROTOCOL_NFS.", - "items": { - "$ref": "NfsExport" - }, - "type": "array" - }, - "protocol": { - "description": "Volume protocol.", - "enum": [ - "PROTOCOL_UNSPECIFIED", - "PROTOCOL_FC", - "PROTOCOL_NFS" - ], - "enumDescriptions": [ - "Unspecified value.", - "Fibre channel.", - "Network file system." - ], - "type": "string" - }, - "sizeGb": { - "description": "The requested size of this volume, in GB. This will be updated in a later iteration with a generic size field.", - "format": "int32", - "type": "integer" - }, - "snapshotsEnabled": { - "description": "Whether snapshots should be enabled.", - "type": "boolean" - }, - "type": { - "description": "The type of this Volume.", - "enum": [ - "TYPE_UNSPECIFIED", - "FLASH", - "DISK" - ], - "enumDescriptions": [ - "The unspecified type.", - "This Volume is on flash.", - "This Volume is on disk." - ], - "type": "string" - }, - "userNote": { - "description": "User note field, it can be used by customers to add additional information for the BMS Ops team (b/194021617).", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Bare Metal Solution API", - "version": "v1alpha1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/biglake-v1.json b/discovery/biglake-v1.json index fdd496eb420..b4117f31bd7 100644 --- a/discovery/biglake-v1.json +++ b/discovery/biglake-v1.json @@ -616,7 +616,7 @@ } } }, - "revision": "20231023", + "revision": "20231016", "rootUrl": "https://biglake.googleapis.com/", "schemas": { "Catalog": { diff --git a/discovery/bigqueryreservation-v1.json b/discovery/bigqueryreservation-v1.json index edcb806649f..f4af6a3b73c 100644 --- a/discovery/bigqueryreservation-v1.json +++ b/discovery/bigqueryreservation-v1.json @@ -315,7 +315,7 @@ ], "parameters": { "name": { - "description": "The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id}/locations/{location_id}/biReservation`.", + "description": "Identifier. The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id}/locations/{location_id}/biReservation`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/biReservation$", "required": true, @@ -689,6 +689,38 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Reservations To call this method, you must have the following Google IAM permissions: - `bigqueryreservation.reservations.getIamPolicy` to get policies on reservations.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}:getIamPolicy", + "httpMethod": "GET", + "id": "bigqueryreservation.projects.locations.reservations.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists all the reservations for the project in the specified location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations", @@ -760,6 +792,64 @@ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ] + }, + "setIamPolicy": { + "description": "Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Reservations To call this method, you must have the following Google IAM permissions: - `bigqueryreservation.reservations.setIamPolicy` to set policies on reservations.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}:setIamPolicy", + "httpMethod": "POST", + "id": "bigqueryreservation.projects.locations.reservations.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Reservations No Google IAM permissions are required to call this method.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}:testIamPermissions", + "httpMethod": "POST", + "id": "bigqueryreservation.projects.locations.reservations.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -935,7 +1025,7 @@ } } }, - "revision": "20250421", + "revision": "20250503", "rootUrl": "https://bigqueryreservation.googleapis.com/", "schemas": { "Assignment": { @@ -943,7 +1033,7 @@ "id": "Assignment", "properties": { "assignee": { - "description": "The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or `organizations/456`.", + "description": "Optional. The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or `organizations/456`.", "type": "string" }, "enableGeminiInBigquery": { @@ -951,7 +1041,7 @@ "type": "boolean" }, "jobType": { - "description": "Which type of jobs will use the reservation.", + "description": "Optional. Which type of jobs will use the reservation.", "enum": [ "JOB_TYPE_UNSPECIFIED", "PIPELINE", @@ -993,6 +1083,54 @@ }, "type": "object" }, + "AuditConfig": { + "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", + "id": "AuditConfig", + "properties": { + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.", + "items": { + "$ref": "AuditLogConfig" + }, + "type": "array" + }, + "service": { + "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", + "type": "string" + } + }, + "type": "object" + }, + "AuditLogConfig": { + "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", + "id": "AuditLogConfig", + "properties": { + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logType": { + "description": "The log type that this config enables.", + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ], + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ], + "type": "string" + } + }, + "type": "object" + }, "Autoscale": { "description": "Auto scaling settings.", "id": "Autoscale", @@ -1016,18 +1154,18 @@ "id": "BiReservation", "properties": { "name": { - "description": "The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id}/locations/{location_id}/biReservation`.", + "description": "Identifier. The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id}/locations/{location_id}/biReservation`.", "type": "string" }, "preferredTables": { - "description": "Preferred tables to use BI capacity for.", + "description": "Optional. Preferred tables to use BI capacity for.", "items": { "$ref": "TableReference" }, "type": "array" }, "size": { - "description": "Size of a reservation, in bytes.", + "description": "Optional. Size of a reservation, in bytes.", "format": "int64", "type": "string" }, @@ -1040,6 +1178,28 @@ }, "type": "object" }, + "Binding": { + "description": "Associates `members`, or principals, with a `role`.", + "id": "Binding", + "properties": { + "condition": { + "$ref": "Expr", + "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." + }, + "members": { + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", + "type": "string" + } + }, + "type": "object" + }, "CapacityCommitment": { "description": "Capacity commitment is a way to purchase compute capacity for BigQuery jobs (in the form of slots) with some committed period of usage. Annual commitments renew by default. Commitments can be removed after their commitment end time passes. In order to remove annual commitment, its plan needs to be changed to monthly or flex first. A capacity commitment resource exists as a child resource of the admin project.", "id": "CapacityCommitment", @@ -1057,7 +1217,7 @@ "type": "string" }, "edition": { - "description": "Edition of the capacity commitment.", + "description": "Optional. Edition of the capacity commitment.", "enum": [ "EDITION_UNSPECIFIED", "STANDARD", @@ -1083,6 +1243,7 @@ "type": "boolean" }, "multiRegionAuxiliary": { + "deprecated": true, "description": "Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.", "type": "boolean" }, @@ -1092,7 +1253,7 @@ "type": "string" }, "plan": { - "description": "Capacity commitment commitment plan.", + "description": "Optional. Capacity commitment commitment plan.", "enum": [ "COMMITMENT_PLAN_UNSPECIFIED", "FLEX", @@ -1132,7 +1293,7 @@ "type": "string" }, "renewalPlan": { - "description": "The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.", + "description": "Optional. The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.", "enum": [ "COMMITMENT_PLAN_UNSPECIFIED", "FLEX", @@ -1172,7 +1333,7 @@ "type": "string" }, "slotCount": { - "description": "Number of slots in this commitment.", + "description": "Optional. Number of slots in this commitment.", "format": "int64", "type": "string" }, @@ -1202,6 +1363,29 @@ "properties": {}, "type": "object" }, + "Expr": { + "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", + "id": "Expr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language syntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", + "type": "string" + } + }, + "type": "object" + }, "FailoverReservationRequest": { "description": "The request for ReservationService.FailoverReservation.", "id": "FailoverReservationRequest", @@ -1295,6 +1479,37 @@ }, "type": "object" }, + "Policy": { + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "id": "Policy", + "properties": { + "auditConfigs": { + "description": "Specifies cloud audit logging configuration for this policy.", + "items": { + "$ref": "AuditConfig" + }, + "type": "array" + }, + "bindings": { + "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", + "items": { + "$ref": "Binding" + }, + "type": "array" + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", + "format": "byte", + "type": "string" + }, + "version": { + "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "ReplicationStatus": { "description": "Disaster Recovery(DR) replication status of the reservation.", "id": "ReplicationStatus", @@ -1464,6 +1679,22 @@ }, "type": "object" }, + "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", + "id": "SetIamPolicyRequest", + "properties": { + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." + }, + "updateMask": { + "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, "SplitCapacityCommitmentRequest": { "description": "The request for ReservationService.SplitCapacityCommitment.", "id": "SplitCapacityCommitmentRequest", @@ -1523,19 +1754,47 @@ "id": "TableReference", "properties": { "datasetId": { - "description": "The ID of the dataset in the above project.", + "description": "Optional. The ID of the dataset in the above project.", "type": "string" }, "projectId": { - "description": "The assigned project ID of the project.", + "description": "Optional. The assigned project ID of the project.", "type": "string" }, "tableId": { - "description": "The ID of the table in the above dataset.", + "description": "Optional. The ID of the table in the above dataset.", "type": "string" } }, "type": "object" + }, + "TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", + "id": "TestIamPermissionsRequest", + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "id": "TestIamPermissionsResponse", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/bigqueryreservation-v1alpha2.json b/discovery/bigqueryreservation-v1alpha2.json deleted file mode 100644 index b3fe0a325cc..00000000000 --- a/discovery/bigqueryreservation-v1alpha2.json +++ /dev/null @@ -1,904 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/bigquery": { - "description": "View and manage your data in Google BigQuery" - }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "basePath": "", - "baseUrl": "https://bigqueryreservation.googleapis.com/", - "batchPath": "batch", - "canonicalName": "BigQuery Reservation", - "description": "A service to modify your BigQuery flat-rate reservations.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/bigquery/", - "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": "bigqueryreservation:v1alpha2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://bigqueryreservation.mtls.googleapis.com/", - "name": "bigqueryreservation", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "methods": { - "searchReservationGrants": { - "description": "Look up grants for a specified resource for a particular region. If the request is about a project: 1) Grants created on the project will be returned if they exist. 2) Otherwise grants created on the closest ancestor will be returned. 3) Grants for different JobTypes will all be returned. Same logic applies if the request is about a folder. If the request is about an organization, then grants created on the organization will be returned (organization doesn't have ancestors). Comparing to ListReservationGrants, there are two behavior differences: 1) permission on the grantee will be verified in this API. 2) Hierarchy lookup (project->folder->organization) happens in this API.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}:SearchReservationGrants", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.searchReservationGrants", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of items to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The next_page_token value returned from a previous List request, if any.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "The parent resource name (containing project and location), which owns the grants. e.g.: \"projects/myproject/locations/us-central1\".", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "query": { - "description": "Please specify resource name as grantee in the query. e.g., \"grantee=projects/myproject\" \"grantee=folders/123\" \"grantee=organizations/456\"", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/{+parent}:SearchReservationGrants", - "response": { - "$ref": "SearchReservationGrantsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "bigqueryreservation.projects.locations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}:cancel", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "reservationGrants": { - "methods": { - "create": { - "description": "Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have 'bigquery.admin' permissions on the project using the reservation and the project that owns this reservation. Returns `google.rpc.Code.INVALID_ARGUMENT` when location of the grant does not match location of the reservation.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservationGrants", - "httpMethod": "POST", - "id": "bigqueryreservation.projects.locations.reservationGrants.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "The parent resource name of the reservation grant E.g.: projects/myproject/location/eu.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+parent}/reservationGrants", - "request": { - "$ref": "ReservationGrant" - }, - "response": { - "$ref": "ReservationGrant" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a reservation grant. No expansion will happen. E.g: organizationA contains project1 and project2. Reservation res1 exists. CreateReservationGrant was invoked previously and following grants were created explicitly: Then deletion of won't affect . After deletion of , queries from project1 will still use res1, while queries from project2 will use on-demand mode.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservationGrants/{reservationGrantsId}", - "httpMethod": "DELETE", - "id": "bigqueryreservation.projects.locations.reservationGrants.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the resource, e.g.: projects/myproject/locations/eu/reservationGrants/123", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservationGrants/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists reservation grants. Only explicitly created grants will be returned. E.g: organizationA contains project1 and project2. Reservation res1 exists. CreateReservationGrant was invoked previously and following grants were created explicitly: Then this API will just return the above two grants for reservation res1, and no expansion/merge will happen.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservationGrants", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.reservationGrants.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of items to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The next_page_token value returned from a previous List request, if any.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "The parent resource name e.g.: projects/myproject/location/eu.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+parent}/reservationGrants", - "response": { - "$ref": "ListReservationGrantsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "reservations": { - "methods": { - "create": { - "description": "Creates a new reservation resource. Multiple reservations are created if the ancestor reservations do not exist.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations", - "httpMethod": "POST", - "id": "bigqueryreservation.projects.locations.reservations.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Project, location, and (optionally) reservation name. E.g., projects/myproject/locations/us-central1/reservations/parent", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "reservationId": { - "description": "The reservation ID relative to the parent, e.g., \"dev\". This field must only contain alphanumeric characters.", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/{+parent}/reservations", - "request": { - "$ref": "Reservation" - }, - "response": { - "$ref": "Reservation" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "createReservation": { - "description": "Creates a new reservation resource. Multiple reservations are created if the ancestor reservations do not exist.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}", - "httpMethod": "POST", - "id": "bigqueryreservation.projects.locations.reservations.createReservation", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Project, location, and (optionally) reservation name. E.g., projects/myproject/locations/us-central1/reservations/parent", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/.*$", - "required": true, - "type": "string" - }, - "reservationId": { - "description": "The reservation ID relative to the parent, e.g., \"dev\". This field must only contain alphanumeric characters.", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/{+parent}", - "request": { - "$ref": "Reservation" - }, - "response": { - "$ref": "Reservation" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` in the following cases: 1. When reservation has child reservations. This check can be bypassed by setting DeleteReservationRequest.force flag to true. 2. When top-level reservation with slot pools is being deleted.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}", - "httpMethod": "DELETE", - "id": "bigqueryreservation.projects.locations.reservations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "force": { - "description": "If true, deletes all the child reservations of the given reservation. Otherwise, attempting to delete a reservation that has child reservations will fail with error code `google.rpc.Code.FAILED_PRECONDITION`.", - "location": "query", - "type": "boolean" - }, - "name": { - "description": "Resource name of the reservation to retrieve. E.g., projects/myproject/locations/us-central1/reservations/my_reservation", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns information about the reservation.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.reservations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name of the reservation to retrieve. E.g., projects/myproject/locations/us-central1/reservations/path/to/reserv", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Reservation" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all the reservations for the project in the specified location.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.reservations.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Can be used to filter out reservations based on names, capacity, etc, e.g.: filter=\"reservation.slot_capacity > 200\" filter=\"reservation.name = \\\"*dev/*\\\"\" Advanced filtering syntax can be [here](https://cloud.google.com/logging/docs/view/advanced-filters).", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of items to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The next_page_token value returned from a previous List request, if any.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "The parent resource name containing project and location, e.g.: \"projects/myproject/locations/us-central1\"", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+parent}/reservations", - "response": { - "$ref": "ListReservationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an existing reservation resource. Applicable only for child reservations.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/{reservationsId1}", - "httpMethod": "PATCH", - "id": "bigqueryreservation.projects.locations.reservations.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The resource name of the reservation, e.g., \"projects/*/locations/*/reservations/dev/team/product\". Reservation names (e.g., \"dev/team/product\") exceeding a depth of six will fail with `google.rpc.Code.INVALID_ARGUMENT`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/.*$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Standard field mask for the set of fields to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "request": { - "$ref": "Reservation" - }, - "response": { - "$ref": "Reservation" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "slotPools": { - "methods": { - "delete": { - "description": "Deletes a slot pool. Attempting to delete slot pool before its commitment_end_time will fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/slotPools/{slotPoolsId}", - "httpMethod": "DELETE", - "id": "bigqueryreservation.projects.locations.reservations.slotPools.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name of the slot pool to delete. E.g., projects/myproject/locations/us-central1/reservations/my_reservation/slotPools/123", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/slotPools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns information about the slot pool.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/slotPools/{slotPoolsId}", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.reservations.slotPools.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name of the slot pool to retrieve. E.g., projects/myproject/locations/us-central1/reservations/my_reservation/slotPools/123", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/slotPools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "SlotPool" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all the slot pools for the reservation.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/slotPools", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.reservations.slotPools.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of items to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The next_page_token value returned from a previous List request, if any.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Resource name of the parent reservation. Only top-level reservations can have slot pools. E.g., projects/myproject/locations/us-central1/reservations/my_reservation", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+parent}/slotPools", - "response": { - "$ref": "ListSlotPoolsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - } - } - }, - "revision": "20200801", - "rootUrl": "https://bigqueryreservation.googleapis.com/", - "schemas": { - "CreateSlotPoolMetadata": { - "description": "The metadata for operation returned from ReservationService.CreateSlotPool.", - "id": "CreateSlotPoolMetadata", - "properties": { - "slotPool": { - "description": "Resource name of the slot pool that is being created. E.g., projects/myproject/locations/us-central1/reservations/foo/slotPools/123", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "ListReservationGrantsResponse": { - "description": "The response for ReservationService.ListReservationGrants.", - "id": "ListReservationGrantsResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - }, - "reservationGrants": { - "description": "List of reservation grants visible to the user.", - "items": { - "$ref": "ReservationGrant" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListReservationsResponse": { - "description": "The response for ReservationService.ListReservations.", - "id": "ListReservationsResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - }, - "reservations": { - "description": "List of reservations visible to the user.", - "items": { - "$ref": "Reservation" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListSlotPoolsResponse": { - "description": "The response for ReservationService.ListSlotPools.", - "id": "ListSlotPoolsResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - }, - "slotPools": { - "description": "List of slot pools visible to the user.", - "items": { - "$ref": "SlotPool" - }, - "type": "array" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "Reservation": { - "description": "A reservation is a mechanism used to guarantee slots to users.", - "id": "Reservation", - "properties": { - "name": { - "description": "The resource name of the reservation, e.g., \"projects/*/locations/*/reservations/dev/team/product\". Reservation names (e.g., \"dev/team/product\") exceeding a depth of six will fail with `google.rpc.Code.INVALID_ARGUMENT`.", - "type": "string" - }, - "slotCapacity": { - "description": "Maximum slots available to this reservation and its children. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. In a scan of a multi-partitioned table, a single slot operates on a single partition of the table. If the new reservation's slot capacity exceed the parent's slot capacity or if total slot capacity of the new reservation and its siblings exceeds the parent's slot capacity, the request will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`.", - "format": "int64", - "type": "string" - }, - "useParentReservation": { - "description": "If true, any query using this reservation will also be submitted to the parent reservation. This allows the query to share the additional slot capacity of the parent with other queries in the parent reservation. If the parent also has this field set to true, then this process will continue until it encounters a reservation for which this is false. If false, a query using this reservation will execute with the maximum slot capacity as specified above. If not specified, default value is true. Ignored for top-level reservation.", - "type": "boolean" - } - }, - "type": "object" - }, - "ReservationGrant": { - "description": "A ReservationGrant allows a project to submit jobs of a certain type using slots from the specified reservation.", - "id": "ReservationGrant", - "properties": { - "grantee": { - "description": "The resource which will use the reservation. E.g. projects/myproject, folders/123, organizations/456.", - "type": "string" - }, - "jobType": { - "description": "Which type of jobs will use the reservation.", - "enum": [ - "JOB_TYPE_UNSPECIFIED", - "PIPELINE", - "QUERY" - ], - "enumDescriptions": [ - "Invalid type. Requests with this value will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.", - "Pipeline (load/export) jobs from the project will use the reservation.", - "Query jobs from the project will use the reservation." - ], - "type": "string" - }, - "name": { - "description": "Output only. Name of the resource. E.g.: projects/myproject/locations/eu/reservationGrants/123.", - "type": "string" - }, - "reservation": { - "description": "Resource name of the reservation. E.g., projects/myproject/locations/eu/reservations/my_reservation. This reservation must be in the same location as the grant. This reservation should belong to the same parent project.", - "type": "string" - }, - "state": { - "description": "Output only. State of the ReservationGrant.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "ACTIVE" - ], - "enumDescriptions": [ - "Invalid state value.", - "Queries from grantee will be executed as on-demand, if related ReservationGrant is pending.", - "ReservationGrant is ready." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "SearchReservationGrantsResponse": { - "description": "The response for ReservationService.SearchReservationGrants.", - "id": "SearchReservationGrantsResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - }, - "reservationGrants": { - "description": "List of reservation grants visible to the user.", - "items": { - "$ref": "ReservationGrant" - }, - "type": "array" - } - }, - "type": "object" - }, - "SlotPool": { - "description": "Slot pool is a way to purchase slots with some minimum committed period of usage. Slot pool is immutable and cannot be deleted until the end of the commitment period. After the end of the commitment period, slots are still available but can be freely removed any time. Annual commitments will automatically be downgraded to monthly after the commitment ends. A slot pool resource exists as a child resource of a top-level reservation. Sum of all the ACTIVE pools slot_count is always equal to the reservation slot_capacity.", - "id": "SlotPool", - "properties": { - "commitmentEndTime": { - "description": "Output only. The end of the commitment period. Slot pool cannot be removed before commitment_end_time. It is applicable only for ACTIVE slot pools and is computed as a combination of the plan and the time when the slot pool became ACTIVE.", - "format": "google-datetime", - "type": "string" - }, - "failureStatus": { - "$ref": "Status", - "description": "Output only. For FAILED slot pool, provides the reason of failure.", - "readOnly": true - }, - "name": { - "description": "Output only. The resource name of the slot pool, e.g., projects/myproject/locations/us-central1/reservations/myreservation/slotPools/123", - "type": "string" - }, - "plan": { - "description": "Slot pool commitment plan.", - "enum": [ - "COMMITMENT_PLAN_UNSPECIFIED", - "FLEX", - "TRIAL", - "MONTHLY", - "ANNUAL" - ], - "enumDescriptions": [ - "Invalid plan value. Requests with this value will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.", - "Slot pool can be removed at any point, even after becoming ACTIVE.", - "Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends.", - "Slot pool cannot be removed for 30 days after becoming ACTIVE.", - "Slot pool cannot be removed for 365 days after becoming ACTIVE. Note: annual commitments are automatically downgraded to monthly after 365 days." - ], - "type": "string" - }, - "slotCount": { - "description": "Number of slots in this pool.", - "format": "int64", - "type": "string" - }, - "state": { - "description": "Output only.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "ACTIVE", - "FAILED" - ], - "enumDescriptions": [ - "Invalid state value.", - "Slot pool is pending provisioning. Pending slot pool does not contribute to the parent's slot_capacity.", - "Once slots are provisioned, slot pool becomes active. slot_count is added to the parent's slot_capacity.", - "Slot pool is failed to be activated by the backend." - ], - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "BigQuery Reservation API", - "version": "v1alpha2", - "version_module": true -} \ No newline at end of file diff --git a/discovery/bigqueryreservation-v1beta1.json b/discovery/bigqueryreservation-v1beta1.json deleted file mode 100644 index 70735f59971..00000000000 --- a/discovery/bigqueryreservation-v1beta1.json +++ /dev/null @@ -1,1181 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/bigquery": { - "description": "View and manage your data in Google BigQuery and see the email address for your Google Account" - }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://bigqueryreservation.googleapis.com/", - "batchPath": "batch", - "canonicalName": "BigQuery Reservation", - "description": "A service to modify your BigQuery flat-rate reservations.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/bigquery/", - "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": "bigqueryreservation:v1beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://bigqueryreservation.mtls.googleapis.com/", - "name": "bigqueryreservation", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "methods": { - "getBiReservation": { - "description": "Retrieves a BI reservation.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/biReservation", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.getBiReservation", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the requested reservation, for example: `projects/{project_id}/locations/{location_id}/biReservation`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/biReservation$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "BiReservation" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "searchAssignments": { - "description": "Looks up assignments for a specified resource for a particular region. If the request is about a project: 1. Assignments created on the project will be returned if they exist. 2. Otherwise assignments created on the closest ancestor will be returned. 3. Assignments for different JobTypes will all be returned. The same logic applies if the request is about a folder. If the request is about an organization, then assignments created on the organization will be returned (organization doesn't have ancestors). Comparing to ListAssignments, there are some behavior differences: 1. permission on the assignee will be verified in this API. 2. Hierarchy lookup (project->folder->organization) happens in this API. 3. Parent here is `projects/*/locations/*`, instead of `projects/*/locations/*reservations/*`. **Note** \"-\" cannot be used for projects nor locations.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}:searchAssignments", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.searchAssignments", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of items to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The next_page_token value returned from a previous List request, if any.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the admin project(containing project and location), e.g.: `projects/myproject/locations/US`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "query": { - "description": "Please specify resource name as assignee in the query. Examples: * `assignee=projects/myproject` * `assignee=folders/123` * `assignee=organizations/456`", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+parent}:searchAssignments", - "response": { - "$ref": "SearchAssignmentsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "updateBiReservation": { - "description": "Updates a BI reservation. Only fields specified in the `field_mask` are updated. A singleton BI reservation always exists with default size 0. In order to reserve BI capacity it needs to be updated to an amount greater than 0. In order to release BI capacity reservation size must be set to 0.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/biReservation", - "httpMethod": "PATCH", - "id": "bigqueryreservation.projects.locations.updateBiReservation", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id}/locations/{location_id}/biReservation`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/biReservation$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "A list of fields to be updated in this request.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "request": { - "$ref": "BiReservation" - }, - "response": { - "$ref": "BiReservation" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "capacityCommitments": { - "methods": { - "create": { - "description": "Creates a new capacity commitment resource.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/capacityCommitments", - "httpMethod": "POST", - "id": "bigqueryreservation.projects.locations.capacityCommitments.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "capacityCommitmentId": { - "description": "The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.", - "location": "query", - "type": "string" - }, - "enforceSingleAdminProjectPerOrg": { - "description": "If true, fail the request if another project in the organization has a capacity commitment.", - "location": "query", - "type": "boolean" - }, - "parent": { - "description": "Required. Resource name of the parent reservation. E.g., `projects/myproject/locations/US`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/capacityCommitments", - "request": { - "$ref": "CapacityCommitment" - }, - "response": { - "$ref": "CapacityCommitment" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a capacity commitment. Attempting to delete capacity commitment before its commitment_end_time will fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/capacityCommitments/{capacityCommitmentsId}", - "httpMethod": "DELETE", - "id": "bigqueryreservation.projects.locations.capacityCommitments.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "force": { - "description": "Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.", - "location": "query", - "type": "boolean" - }, - "name": { - "description": "Required. Resource name of the capacity commitment to delete. E.g., `projects/myproject/locations/US/capacityCommitments/123`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns information about the capacity commitment.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/capacityCommitments/{capacityCommitmentsId}", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.capacityCommitments.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Resource name of the capacity commitment to retrieve. E.g., `projects/myproject/locations/US/capacityCommitments/123`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "CapacityCommitment" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all the capacity commitments for the admin project.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/capacityCommitments", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.capacityCommitments.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of items to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The next_page_token value returned from a previous List request, if any.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Resource name of the parent reservation. E.g., `projects/myproject/locations/US`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/capacityCommitments", - "response": { - "$ref": "ListCapacityCommitmentsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "merge": { - "description": "Merges capacity commitments of the same plan into a single commitment. The resulting capacity commitment has the greater commitment_end_time out of the to-be-merged capacity commitments. Attempting to merge capacity commitments of different plan will fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/capacityCommitments:merge", - "httpMethod": "POST", - "id": "bigqueryreservation.projects.locations.capacityCommitments.merge", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Parent resource that identifies admin project and location e.g., `projects/myproject/locations/us`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/capacityCommitments:merge", - "request": { - "$ref": "MergeCapacityCommitmentsRequest" - }, - "response": { - "$ref": "CapacityCommitment" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an existing capacity commitment. Only `plan` and `renewal_plan` fields can be updated. Plan can only be changed to a plan of a longer commitment period. Attempting to change to a plan with shorter commitment period will fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/capacityCommitments/{capacityCommitmentsId}", - "httpMethod": "PATCH", - "id": "bigqueryreservation.projects.locations.capacityCommitments.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Standard field mask for the set of fields to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "request": { - "$ref": "CapacityCommitment" - }, - "response": { - "$ref": "CapacityCommitment" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "split": { - "description": "Splits capacity commitment to two commitments of the same plan and `commitment_end_time`. A common use case is to enable downgrading commitments. For example, in order to downgrade from 10000 slots to 8000, you might split a 10000 capacity commitment into commitments of 2000 and 8000. Then, you delete the first one after the commitment end time passes.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/capacityCommitments/{capacityCommitmentsId}:split", - "httpMethod": "POST", - "id": "bigqueryreservation.projects.locations.capacityCommitments.split", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name e.g.,: `projects/myproject/locations/US/capacityCommitments/123`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}:split", - "request": { - "$ref": "SplitCapacityCommitmentRequest" - }, - "response": { - "$ref": "SplitCapacityCommitmentResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "reservations": { - "methods": { - "create": { - "description": "Creates a new reservation resource.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations", - "httpMethod": "POST", - "id": "bigqueryreservation.projects.locations.reservations.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. Project, location. E.g., `projects/myproject/locations/US`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "reservationId": { - "description": "The reservation ID. It must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+parent}/reservations", - "request": { - "$ref": "Reservation" - }, - "response": { - "$ref": "Reservation" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has assignments.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}", - "httpMethod": "DELETE", - "id": "bigqueryreservation.projects.locations.reservations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Resource name of the reservation to retrieve. E.g., `projects/myproject/locations/US/reservations/team1-prod`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns information about the reservation.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.reservations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Resource name of the reservation to retrieve. E.g., `projects/myproject/locations/US/reservations/team1-prod`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Reservation" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all the reservations for the project in the specified location.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.reservations.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Can be used to filter out reservations based on names, capacity, etc, e.g.: filter=\"reservation.slot_capacity > 200\" filter=\"reservation.name = \\\"*dev/*\\\"\" Advanced filtering syntax can be [here](https://cloud.google.com/logging/docs/view/advanced-filters).", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of items to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The next_page_token value returned from a previous List request, if any.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent resource name containing project and location, e.g.: `projects/myproject/locations/US`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/reservations", - "response": { - "$ref": "ListReservationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an existing reservation resource.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}", - "httpMethod": "PATCH", - "id": "bigqueryreservation.projects.locations.reservations.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. The reservation_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Standard field mask for the set of fields to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "request": { - "$ref": "Reservation" - }, - "response": { - "$ref": "Reservation" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "assignments": { - "methods": { - "create": { - "description": "Creates an assignment object which allows the given project to submit jobs of a certain type using slots from the specified reservation. Currently a resource (project, folder, organization) can only have one assignment per each (job_type, location) combination, and that reservation will be used for all jobs of the matching type. Different assignments can be created on different levels of the projects, folders or organization hierarchy. During query execution, the assignment is looked up at the project, folder and organization levels in that order. The first assignment found is applied to the query. When creating assignments, it does not matter if other assignments exist at higher levels. Example: * The organization `organizationA` contains two projects, `project1` and `project2`. * Assignments for all three entities (`organizationA`, `project1`, and `project2`) could all be created and mapped to the same or different reservations. \"None\" assignments represent an absence of the assignment. Projects assigned to None use on-demand pricing. To create a \"None\" assignment, use \"none\" as a reservation_id in the parent. Example parent: `projects/myproject/locations/US/reservations/none`. Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have 'bigquery.admin' permissions on the project using the reservation and the project that owns this reservation. Returns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment does not match location of the reservation.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments", - "httpMethod": "POST", - "id": "bigqueryreservation.projects.locations.reservations.assignments.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "assignmentId": { - "description": "The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. Max length is 64 characters.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent resource name of the assignment E.g. `projects/myproject/locations/US/reservations/team1-prod`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/assignments", - "request": { - "$ref": "Assignment" - }, - "response": { - "$ref": "Assignment" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a assignment. No expansion will happen. Example: * Organization `organizationA` contains two projects, `project1` and `project2`. * Reservation `res1` exists and was created previously. * CreateAssignment was used previously to define the following associations between entities and reservations: `` and `` In this example, deletion of the `` assignment won't affect the other assignment ``. After said deletion, queries from `project1` will still use `res1` while queries from `project2` will switch to use on-demand mode.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments/{assignmentsId}", - "httpMethod": "DELETE", - "id": "bigqueryreservation.projects.locations.reservations.assignments.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the resource, e.g. `projects/myproject/locations/US/reservations/team1-prod/assignments/123`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/assignments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists assignments. Only explicitly created assignments will be returned. Example: * Organization `organizationA` contains two projects, `project1` and `project2`. * Reservation `res1` exists and was created previously. * CreateAssignment was used previously to define the following associations between entities and reservations: `` and `` In this example, ListAssignments will just return the above two assignments for reservation `res1`, and no expansion/merge will happen. The wildcard \"-\" can be used for reservations in the request. In that case all assignments belongs to the specified project and location will be listed. **Note** \"-\" cannot be used for projects nor locations.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments", - "httpMethod": "GET", - "id": "bigqueryreservation.projects.locations.reservations.assignments.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of items to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The next_page_token value returned from a previous List request, if any.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent resource name e.g.: `projects/myproject/locations/US/reservations/team1-prod` Or: `projects/myproject/locations/US/reservations/-`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/assignments", - "response": { - "$ref": "ListAssignmentsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "move": { - "description": "Moves an assignment under a new reservation. This differs from removing an existing assignment and recreating a new one by providing a transactional change that ensures an assignee always has an associated reservation.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments/{assignmentsId}:move", - "httpMethod": "POST", - "id": "bigqueryreservation.projects.locations.reservations.assignments.move", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the assignment, e.g. `projects/myproject/locations/US/reservations/team1-prod/assignments/123`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/assignments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}:move", - "request": { - "$ref": "MoveAssignmentRequest" - }, - "response": { - "$ref": "Assignment" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an existing assignment. Only the `priority` field can be updated.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments/{assignmentsId}", - "httpMethod": "PATCH", - "id": "bigqueryreservation.projects.locations.reservations.assignments.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. Name of the resource. E.g.: `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. The assignment_id must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/assignments/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Standard field mask for the set of fields to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "request": { - "$ref": "Assignment" - }, - "response": { - "$ref": "Assignment" - }, - "scopes": [ - "https://www.googleapis.com/auth/bigquery", - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - } - } - }, - "revision": "20220429", - "rootUrl": "https://bigqueryreservation.googleapis.com/", - "schemas": { - "Assignment": { - "description": "An assignment allows a project to submit jobs of a certain type using slots from the specified reservation.", - "id": "Assignment", - "properties": { - "assignee": { - "description": "The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or `organizations/456`.", - "type": "string" - }, - "jobType": { - "description": "Which type of jobs will use the reservation.", - "enum": [ - "JOB_TYPE_UNSPECIFIED", - "PIPELINE", - "QUERY", - "ML_EXTERNAL" - ], - "enumDescriptions": [ - "Invalid type. Requests with this value will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.", - "Pipeline (load/export) jobs from the project will use the reservation.", - "Query jobs from the project will use the reservation.", - "BigQuery ML jobs that use services external to BigQuery for model training. These jobs will not utilize idle slots from other reservations." - ], - "type": "string" - }, - "name": { - "description": "Output only. Name of the resource. E.g.: `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. The assignment_id must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. State of the assignment.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "ACTIVE" - ], - "enumDescriptions": [ - "Invalid state value.", - "Queries from assignee will be executed as on-demand, if related assignment is pending.", - "Assignment is ready." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "BiReservation": { - "description": "Represents a BI Reservation.", - "id": "BiReservation", - "properties": { - "name": { - "description": "The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id}/locations/{location_id}/biReservation`.", - "type": "string" - }, - "preferredTables": { - "description": "Preferred tables to use BI capacity for.", - "items": { - "$ref": "TableReference" - }, - "type": "array" - }, - "size": { - "description": "Size of a reservation, in bytes.", - "format": "int64", - "type": "string" - }, - "updateTime": { - "description": "Output only. The last update timestamp of a reservation.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "CapacityCommitment": { - "description": "Capacity commitment is a way to purchase compute capacity for BigQuery jobs (in the form of slots) with some committed period of usage. Annual commitments renew by default. Commitments can be removed after their commitment end time passes. In order to remove annual commitment, its plan needs to be changed to monthly or flex first. A capacity commitment resource exists as a child resource of the admin project.", - "id": "CapacityCommitment", - "properties": { - "commitmentEndTime": { - "description": "Output only. The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "commitmentStartTime": { - "description": "Output only. The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "failureStatus": { - "$ref": "Status", - "description": "Output only. For FAILED commitment plan, provides the reason of failure.", - "readOnly": true - }, - "multiRegionAuxiliary": { - "description": "Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region.", - "type": "boolean" - }, - "name": { - "description": "Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.", - "readOnly": true, - "type": "string" - }, - "plan": { - "description": "Capacity commitment commitment plan.", - "enum": [ - "COMMITMENT_PLAN_UNSPECIFIED", - "FLEX", - "TRIAL", - "MONTHLY", - "ANNUAL" - ], - "enumDescriptions": [ - "Invalid plan value. Requests with this value will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.", - "Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.", - "Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the `renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so that it can be deleted right after committed period ends.", - "Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.", - "Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan." - ], - "type": "string" - }, - "renewalPlan": { - "description": "The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL commitments.", - "enum": [ - "COMMITMENT_PLAN_UNSPECIFIED", - "FLEX", - "TRIAL", - "MONTHLY", - "ANNUAL" - ], - "enumDescriptions": [ - "Invalid plan value. Requests with this value will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.", - "Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.", - "Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the `renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so that it can be deleted right after committed period ends.", - "Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.", - "Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan." - ], - "type": "string" - }, - "slotCount": { - "description": "Number of slots in this commitment.", - "format": "int64", - "type": "string" - }, - "state": { - "description": "Output only. State of the commitment.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "ACTIVE", - "FAILED" - ], - "enumDescriptions": [ - "Invalid state value.", - "Capacity commitment is pending provisioning. Pending capacity commitment does not contribute to the project's slot_capacity.", - "Once slots are provisioned, capacity commitment becomes active. slot_count is added to the project's slot_capacity.", - "Capacity commitment is failed to be activated by the backend." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "ListAssignmentsResponse": { - "description": "The response for ReservationService.ListAssignments.", - "id": "ListAssignmentsResponse", - "properties": { - "assignments": { - "description": "List of assignments visible to the user.", - "items": { - "$ref": "Assignment" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - } - }, - "type": "object" - }, - "ListCapacityCommitmentsResponse": { - "description": "The response for ReservationService.ListCapacityCommitments.", - "id": "ListCapacityCommitmentsResponse", - "properties": { - "capacityCommitments": { - "description": "List of capacity commitments visible to the user.", - "items": { - "$ref": "CapacityCommitment" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - } - }, - "type": "object" - }, - "ListReservationsResponse": { - "description": "The response for ReservationService.ListReservations.", - "id": "ListReservationsResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - }, - "reservations": { - "description": "List of reservations visible to the user.", - "items": { - "$ref": "Reservation" - }, - "type": "array" - } - }, - "type": "object" - }, - "MergeCapacityCommitmentsRequest": { - "description": "The request for ReservationService.MergeCapacityCommitments.", - "id": "MergeCapacityCommitmentsRequest", - "properties": { - "capacityCommitmentIds": { - "description": "Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "MoveAssignmentRequest": { - "description": "The request for ReservationService.MoveAssignment. **Note**: \"bigquery.reservationAssignments.create\" permission is required on the destination_id. **Note**: \"bigquery.reservationAssignments.create\" and \"bigquery.reservationAssignments.delete\" permission are required on the related assignee.", - "id": "MoveAssignmentRequest", - "properties": { - "destinationId": { - "description": "The new reservation ID, e.g.: `projects/myotherproject/locations/US/reservations/team2-prod`", - "type": "string" - } - }, - "type": "object" - }, - "Reservation": { - "description": "A reservation is a mechanism used to guarantee slots to users.", - "id": "Reservation", - "properties": { - "concurrency": { - "description": "Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.", - "format": "int64", - "type": "string" - }, - "creationTime": { - "description": "Output only. Creation time of the reservation.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "ignoreIdleSlots": { - "description": "If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project. If true, a query or pipeline job using this reservation will execute with the slot capacity specified in the slot_capacity field at most.", - "type": "boolean" - }, - "multiRegionAuxiliary": { - "description": "Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.", - "type": "boolean" - }, - "name": { - "description": "The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. The reservation_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.", - "type": "string" - }, - "slotCapacity": { - "description": "Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false. If the new reservation's slot capacity exceeds the project's slot capacity or if total slot capacity of the new reservation and its siblings exceeds the project's slot capacity, the request will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`. NOTE: for reservations in US or EU multi-regions, slot capacity constraints are checked separately for default and auxiliary regions. See multi_region_auxiliary flag for more details.", - "format": "int64", - "type": "string" - }, - "updateTime": { - "description": "Output only. Last update time of the reservation.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "SearchAssignmentsResponse": { - "description": "The response for ReservationService.SearchAssignments.", - "id": "SearchAssignmentsResponse", - "properties": { - "assignments": { - "description": "List of assignments visible to the user.", - "items": { - "$ref": "Assignment" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - } - }, - "type": "object" - }, - "SplitCapacityCommitmentRequest": { - "description": "The request for ReservationService.SplitCapacityCommitment.", - "id": "SplitCapacityCommitmentRequest", - "properties": { - "slotCount": { - "description": "Number of slots in the capacity commitment after the split.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "SplitCapacityCommitmentResponse": { - "description": "The response for ReservationService.SplitCapacityCommitment.", - "id": "SplitCapacityCommitmentResponse", - "properties": { - "first": { - "$ref": "CapacityCommitment", - "description": "First capacity commitment, result of a split." - }, - "second": { - "$ref": "CapacityCommitment", - "description": "Second capacity commitment, result of a split." - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "TableReference": { - "description": "Fully qualified reference to BigQuery table. Internally stored as google.cloud.bi.v1.BqTableReference.", - "id": "TableReference", - "properties": { - "datasetId": { - "description": "The ID of the dataset in the above project.", - "type": "string" - }, - "projectId": { - "description": "The assigned project ID of the project.", - "type": "string" - }, - "tableId": { - "description": "The ID of the table in the above dataset.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "BigQuery Reservation API", - "version": "v1beta1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/bigtableadmin-v1.json b/discovery/bigtableadmin-v1.json deleted file mode 100644 index c0d556d2499..00000000000 --- a/discovery/bigtableadmin-v1.json +++ /dev/null @@ -1,762 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://bigtableadmin.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Bigtable Admin", - "description": "Administer your Cloud Bigtable tables and instances.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/bigtable/", - "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": "bigtableadmin:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://bigtableadmin.mtls.googleapis.com/", - "name": "bigtableadmin", - "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": {}, - "revision": "20211218", - "rootUrl": "https://bigtableadmin.googleapis.com/", - "schemas": { - "AutoscalingLimits": { - "description": "Limits for the number of nodes a Cluster can autoscale up/down to.", - "id": "AutoscalingLimits", - "properties": { - "maxServeNodes": { - "description": "Required. Maximum number of nodes to scale up to.", - "format": "int32", - "type": "integer" - }, - "minServeNodes": { - "description": "Required. Minimum number of nodes to scale down to.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "AutoscalingTargets": { - "description": "The Autoscaling targets for a Cluster. These determine the recommended nodes.", - "id": "AutoscalingTargets", - "properties": { - "cpuUtilizationPercent": { - "description": "The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Backup": { - "description": "A backup of a Cloud Bigtable table.", - "id": "Backup", - "properties": { - "encryptionInfo": { - "$ref": "EncryptionInfo", - "description": "Output only. The encryption information for the backup.", - "readOnly": true - }, - "endTime": { - "description": "Output only. `end_time` is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "expireTime": { - "description": "Required. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.", - "format": "google-datetime", - "type": "string" - }, - "name": { - "description": "A globally unique identifier for the backup which cannot be changed. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*` The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", - "type": "string" - }, - "sizeBytes": { - "description": "Output only. Size of the backup in bytes.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "sourceTable": { - "description": "Required. Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form `projects/{project}/instances/{instance}/tables/{source_table}`.", - "type": "string" - }, - "startTime": { - "description": "Output only. `start_time` is the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. The current state of the backup.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "READY" - ], - "enumDescriptions": [ - "Not specified.", - "The pending backup is still being created. Operations on the backup may fail with `FAILED_PRECONDITION` in this state.", - "The backup is complete and ready for use." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "BackupInfo": { - "description": "Information about a backup.", - "id": "BackupInfo", - "properties": { - "backup": { - "description": "Output only. Name of the backup.", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "sourceTable": { - "description": "Output only. Name of the table the backup was created from.", - "readOnly": true, - "type": "string" - }, - "startTime": { - "description": "Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Cluster": { - "description": "A resizable group of nodes in a particular cloud location, capable of serving all Tables in the parent Instance.", - "id": "Cluster", - "properties": { - "clusterConfig": { - "$ref": "ClusterConfig", - "description": "Configuration for this cluster." - }, - "defaultStorageType": { - "description": "Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.", - "enum": [ - "STORAGE_TYPE_UNSPECIFIED", - "SSD", - "HDD" - ], - "enumDescriptions": [ - "The user did not specify a storage type.", - "Flash (SSD) storage should be used.", - "Magnetic drive (HDD) storage should be used." - ], - "type": "string" - }, - "encryptionConfig": { - "$ref": "EncryptionConfig", - "description": "Immutable. The encryption configuration for CMEK-protected clusters." - }, - "location": { - "description": "Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form `projects/{project}/locations/{zone}`.", - "type": "string" - }, - "name": { - "description": "The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`.", - "type": "string" - }, - "serveNodes": { - "description": "The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance.", - "format": "int32", - "type": "integer" - }, - "state": { - "description": "Output only. The current state of the cluster.", - "enum": [ - "STATE_NOT_KNOWN", - "READY", - "CREATING", - "RESIZING", - "DISABLED" - ], - "enumDescriptions": [ - "The state of the cluster could not be determined.", - "The cluster has been successfully created and is ready to serve requests.", - "The cluster is currently being created, and may be destroyed if the creation process encounters an error. A cluster may not be able to serve requests while being created.", - "The cluster is currently being resized, and may revert to its previous node count if the process encounters an error. A cluster is still capable of serving requests while being resized, but may exhibit performance as if its number of allocated nodes is between the starting and requested states.", - "The cluster has no backing nodes. The data (tables) still exist, but no operations can be performed on the cluster." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ClusterAutoscalingConfig": { - "description": "Autoscaling config for a cluster.", - "id": "ClusterAutoscalingConfig", - "properties": { - "autoscalingLimits": { - "$ref": "AutoscalingLimits", - "description": "Required. Autoscaling limits for this cluster." - }, - "autoscalingTargets": { - "$ref": "AutoscalingTargets", - "description": "Required. Autoscaling targets for this cluster." - } - }, - "type": "object" - }, - "ClusterConfig": { - "description": "Configuration for a cluster.", - "id": "ClusterConfig", - "properties": { - "clusterAutoscalingConfig": { - "$ref": "ClusterAutoscalingConfig", - "description": "Autoscaling configuration for this cluster." - } - }, - "type": "object" - }, - "CreateBackupMetadata": { - "description": "Metadata type for the operation returned by CreateBackup.", - "id": "CreateBackupMetadata", - "properties": { - "endTime": { - "description": "If set, the time at which this operation finished or was cancelled.", - "format": "google-datetime", - "type": "string" - }, - "name": { - "description": "The name of the backup being created.", - "type": "string" - }, - "sourceTable": { - "description": "The name of the table the backup is created from.", - "type": "string" - }, - "startTime": { - "description": "The time at which this operation started.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "CreateClusterMetadata": { - "description": "The metadata for the Operation returned by CreateCluster.", - "id": "CreateClusterMetadata", - "properties": { - "finishTime": { - "description": "The time at which the operation failed or was completed successfully.", - "format": "google-datetime", - "type": "string" - }, - "originalRequest": { - "$ref": "CreateClusterRequest", - "description": "The request that prompted the initiation of this CreateCluster operation." - }, - "requestTime": { - "description": "The time at which the original request was received.", - "format": "google-datetime", - "type": "string" - }, - "tables": { - "additionalProperties": { - "$ref": "TableProgress" - }, - "description": "Keys: the full `name` of each table that existed in the instance when CreateCluster was first called, i.e. `projects//instances//tables/`. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.", - "type": "object" - } - }, - "type": "object" - }, - "CreateClusterRequest": { - "description": "Request message for BigtableInstanceAdmin.CreateCluster.", - "id": "CreateClusterRequest", - "properties": { - "cluster": { - "$ref": "Cluster", - "description": "Required. The cluster to be created. Fields marked `OutputOnly` must be left blank." - }, - "clusterId": { - "description": "Required. The ID to be used when referring to the new cluster within its instance, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`.", - "type": "string" - }, - "parent": { - "description": "Required. The unique name of the instance in which to create the new cluster. Values are of the form `projects/{project}/instances/{instance}`.", - "type": "string" - } - }, - "type": "object" - }, - "CreateInstanceMetadata": { - "description": "The metadata for the Operation returned by CreateInstance.", - "id": "CreateInstanceMetadata", - "properties": { - "finishTime": { - "description": "The time at which the operation failed or was completed successfully.", - "format": "google-datetime", - "type": "string" - }, - "originalRequest": { - "$ref": "CreateInstanceRequest", - "description": "The request that prompted the initiation of this CreateInstance operation." - }, - "requestTime": { - "description": "The time at which the original request was received.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "CreateInstanceRequest": { - "description": "Request message for BigtableInstanceAdmin.CreateInstance.", - "id": "CreateInstanceRequest", - "properties": { - "clusters": { - "additionalProperties": { - "$ref": "Cluster" - }, - "description": "Required. The clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank. Currently, at most four clusters can be specified.", - "type": "object" - }, - "instance": { - "$ref": "Instance", - "description": "Required. The instance to create. Fields marked `OutputOnly` must be left blank." - }, - "instanceId": { - "description": "Required. The ID to be used when referring to the new instance within its project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`.", - "type": "string" - }, - "parent": { - "description": "Required. The unique name of the project in which to create the new instance. Values are of the form `projects/{project}`.", - "type": "string" - } - }, - "type": "object" - }, - "EncryptionConfig": { - "description": "Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.", - "id": "EncryptionConfig", - "properties": { - "kmsKeyName": { - "description": "Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. 3) All clusters within an instance must use the same CMEK key. Values are of the form `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`", - "type": "string" - } - }, - "type": "object" - }, - "EncryptionInfo": { - "description": "Encryption information for a given resource. If this resource is protected with customer managed encryption, the in-use Cloud Key Management Service (Cloud KMS) key version is specified along with its status.", - "id": "EncryptionInfo", - "properties": { - "encryptionStatus": { - "$ref": "Status", - "description": "Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.", - "readOnly": true - }, - "encryptionType": { - "description": "Output only. The type of encryption used to protect this resource.", - "enum": [ - "ENCRYPTION_TYPE_UNSPECIFIED", - "GOOGLE_DEFAULT_ENCRYPTION", - "CUSTOMER_MANAGED_ENCRYPTION" - ], - "enumDescriptions": [ - "Encryption type was not specified, though data at rest remains encrypted.", - "The data backing this resource is encrypted at rest with a key that is fully managed by Google. No key version or status will be populated. This is the default state.", - "The data backing this resource is encrypted at rest with a key that is managed by the customer. The in-use version of the key and its status are populated for CMEK-protected tables. CMEK-protected backups are pinned to the key version that was in use at the time the backup was taken. This key version is populated but its status is not tracked and is reported as `UNKNOWN`." - ], - "readOnly": true, - "type": "string" - }, - "kmsKeyVersion": { - "description": "Output only. The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Instance": { - "description": "A collection of Bigtable Tables and the resources that serve them. All tables in an instance are served from all Clusters in the instance.", - "id": "Instance", - "properties": { - "createTime": { - "description": "Output only. A server-assigned timestamp representing when this Instance was created. For instances created before this field was added (August 2021), this value is `seconds: 0, nanos: 1`.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "displayName": { - "description": "Required. The descriptive name for this instance as it appears in UIs. Can be changed at any time, but should be kept globally unique to avoid confusion.", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Required. Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. They can be used to filter resources and aggregate metrics. * Label keys must be between 1 and 63 characters long and must conform to the regular expression: `\\p{Ll}\\p{Lo}{0,62}`. * Label values must be between 0 and 63 characters long and must conform to the regular expression: `[\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}`. * No more than 64 labels can be associated with a given resource. * Keys and values must both be under 128 bytes.", - "type": "object" - }, - "name": { - "description": "The unique name of the instance. Values are of the form `projects/{project}/instances/a-z+[a-z0-9]`.", - "type": "string" - }, - "state": { - "description": "Output only. The current state of the instance.", - "enum": [ - "STATE_NOT_KNOWN", - "READY", - "CREATING" - ], - "enumDescriptions": [ - "The state of the instance could not be determined.", - "The instance has been successfully created and can serve requests to its tables.", - "The instance is currently being created, and may be destroyed if the creation process encounters an error." - ], - "readOnly": true, - "type": "string" - }, - "type": { - "description": "Required. The type of the instance. Defaults to `PRODUCTION`.", - "enum": [ - "TYPE_UNSPECIFIED", - "PRODUCTION", - "DEVELOPMENT" - ], - "enumDescriptions": [ - "The type of the instance is unspecified. If set when creating an instance, a `PRODUCTION` instance will be created. If set when updating an instance, the type will be left unchanged.", - "An instance meant for production use. `serve_nodes` must be set on the cluster.", - "DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces a higher minimum node count than DEVELOPMENT." - ], - "type": "string" - } - }, - "type": "object" - }, - "OperationProgress": { - "description": "Encapsulates progress related information for a Cloud Bigtable long running operation.", - "id": "OperationProgress", - "properties": { - "endTime": { - "description": "If set, the time at which this operation failed or was completed successfully.", - "format": "google-datetime", - "type": "string" - }, - "progressPercent": { - "description": "Percent completion of the operation. Values are between 0 and 100 inclusive.", - "format": "int32", - "type": "integer" - }, - "startTime": { - "description": "Time the request was received.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "OptimizeRestoredTableMetadata": { - "description": "Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored table. This long-running operation is automatically created by the system after the successful completion of a table restore, and cannot be cancelled.", - "id": "OptimizeRestoredTableMetadata", - "properties": { - "name": { - "description": "Name of the restored table being optimized.", - "type": "string" - }, - "progress": { - "$ref": "OperationProgress", - "description": "The progress of the post-restore optimizations." - } - }, - "type": "object" - }, - "PartialUpdateClusterMetadata": { - "description": "The metadata for the Operation returned by PartialUpdateCluster.", - "id": "PartialUpdateClusterMetadata", - "properties": { - "finishTime": { - "description": "The time at which the operation failed or was completed successfully.", - "format": "google-datetime", - "type": "string" - }, - "originalRequest": { - "$ref": "PartialUpdateClusterRequest", - "description": "The original request for PartialUpdateCluster." - }, - "requestTime": { - "description": "The time at which the original request was received.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "PartialUpdateClusterRequest": { - "description": "Request message for BigtableInstanceAdmin.PartialUpdateCluster.", - "id": "PartialUpdateClusterRequest", - "properties": { - "cluster": { - "$ref": "Cluster", - "description": "Required. The Cluster which contains the partial updates to be applied, subject to the update_mask." - }, - "updateMask": { - "description": "Required. The subset of Cluster fields which should be replaced.", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "PartialUpdateInstanceRequest": { - "description": "Request message for BigtableInstanceAdmin.PartialUpdateInstance.", - "id": "PartialUpdateInstanceRequest", - "properties": { - "instance": { - "$ref": "Instance", - "description": "Required. The Instance which will (partially) replace the current value." - }, - "updateMask": { - "description": "Required. The subset of Instance fields which should be replaced. Must be explicitly set.", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "RestoreTableMetadata": { - "description": "Metadata type for the long-running operation returned by RestoreTable.", - "id": "RestoreTableMetadata", - "properties": { - "backupInfo": { - "$ref": "BackupInfo" - }, - "name": { - "description": "Name of the table being created and restored to.", - "type": "string" - }, - "optimizeTableOperationName": { - "description": "If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table. The metadata type of the long-running operation is OptimizeRestoreTableMetadata. The response type is Empty. This long-running operation may be automatically created by the system if applicable after the RestoreTable long-running operation completes successfully. This operation may not be created if the table is already optimized or the restore was not successful.", - "type": "string" - }, - "progress": { - "$ref": "OperationProgress", - "description": "The progress of the RestoreTable operation." - }, - "sourceType": { - "description": "The type of the restore source.", - "enum": [ - "RESTORE_SOURCE_TYPE_UNSPECIFIED", - "BACKUP" - ], - "enumDescriptions": [ - "No restore associated.", - "A backup was used as the source of the restore." - ], - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "TableProgress": { - "description": "Progress info for copying a table's data to the new cluster.", - "id": "TableProgress", - "properties": { - "estimatedCopiedBytes": { - "description": "Estimate of the number of bytes copied so far for this table. This will eventually reach 'estimated_size_bytes' unless the table copy is CANCELLED.", - "format": "int64", - "type": "string" - }, - "estimatedSizeBytes": { - "description": "Estimate of the size of the table to be copied.", - "format": "int64", - "type": "string" - }, - "state": { - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "COPYING", - "COMPLETED", - "CANCELLED" - ], - "enumDescriptions": [ - "", - "The table has not yet begun copying to the new cluster.", - "The table is actively being copied to the new cluster.", - "The table has been fully copied to the new cluster.", - "The table was deleted before it finished copying to the new cluster. Note that tables deleted after completion will stay marked as COMPLETED, not CANCELLED." - ], - "type": "string" - } - }, - "type": "object" - }, - "UpdateAppProfileMetadata": { - "description": "The metadata for the Operation returned by UpdateAppProfile.", - "id": "UpdateAppProfileMetadata", - "properties": {}, - "type": "object" - }, - "UpdateClusterMetadata": { - "description": "The metadata for the Operation returned by UpdateCluster.", - "id": "UpdateClusterMetadata", - "properties": { - "finishTime": { - "description": "The time at which the operation failed or was completed successfully.", - "format": "google-datetime", - "type": "string" - }, - "originalRequest": { - "$ref": "Cluster", - "description": "The request that prompted the initiation of this UpdateCluster operation." - }, - "requestTime": { - "description": "The time at which the original request was received.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "UpdateInstanceMetadata": { - "description": "The metadata for the Operation returned by UpdateInstance.", - "id": "UpdateInstanceMetadata", - "properties": { - "finishTime": { - "description": "The time at which the operation failed or was completed successfully.", - "format": "google-datetime", - "type": "string" - }, - "originalRequest": { - "$ref": "PartialUpdateInstanceRequest", - "description": "The request that prompted the initiation of this UpdateInstance operation." - }, - "requestTime": { - "description": "The time at which the original request was received.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Bigtable Admin API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/billingbudgets-v1.json b/discovery/billingbudgets-v1.json index 5280878a1ea..a28d9d29a6e 100644 --- a/discovery/billingbudgets-v1.json +++ b/discovery/billingbudgets-v1.json @@ -275,7 +275,7 @@ } } }, - "revision": "20231119", + "revision": "20231029", "rootUrl": "https://billingbudgets.googleapis.com/", "schemas": { "GoogleCloudBillingBudgetsV1Budget": { diff --git a/discovery/billingbudgets-v1beta1.json b/discovery/billingbudgets-v1beta1.json index 65c8c8cfb11..885f0f56e81 100644 --- a/discovery/billingbudgets-v1beta1.json +++ b/discovery/billingbudgets-v1beta1.json @@ -269,7 +269,7 @@ } } }, - "revision": "20231119", + "revision": "20231029", "rootUrl": "https://billingbudgets.googleapis.com/", "schemas": { "GoogleCloudBillingBudgetsV1beta1AllUpdatesRule": { diff --git a/discovery/blogger-v2.json b/discovery/blogger-v2.json index 0db48701d2a..c8075a62d4e 100644 --- a/discovery/blogger-v2.json +++ b/discovery/blogger-v2.json @@ -401,7 +401,7 @@ } } }, - "revision": "20220817", + "revision": "20220727", "rootUrl": "https://blogger.googleapis.com/", "schemas": { "Blog": { diff --git a/discovery/chat-v1.json b/discovery/chat-v1.json index a4bbe2d5e43..4553161aae3 100644 --- a/discovery/chat-v1.json +++ b/discovery/chat-v1.json @@ -192,7 +192,7 @@ "customEmojis": { "methods": { "create": { - "description": "Creates a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Creates a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis`", "flatPath": "v1/customEmojis", "httpMethod": "POST", "id": "chat.customEmojis.create", @@ -210,7 +210,7 @@ ] }, "delete": { - "description": "Deletes a custom emoji. By default, users can only delete custom emoji they created. [Emoji managers](https://support.google.com/a/answer/12850085) assigned by the administrator can delete any custom emoji in the organization. See [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149). Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Deletes a custom emoji. By default, users can only delete custom emoji they created. [Emoji managers](https://support.google.com/a/answer/12850085) assigned by the administrator can delete any custom emoji in the organization. See [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149). Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis`", "flatPath": "v1/customEmojis/{customEmojisId}", "httpMethod": "DELETE", "id": "chat.customEmojis.delete", @@ -235,7 +235,7 @@ ] }, "get": { - "description": "Returns details about a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Returns details about a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis.readonly` - `https://www.googleapis.com/auth/chat.customemojis`", "flatPath": "v1/customEmojis/{customEmojisId}", "httpMethod": "GET", "id": "chat.customEmojis.get", @@ -261,7 +261,7 @@ ] }, "list": { - "description": "Lists custom emojis visible to the authenticated user. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Lists custom emojis visible to the authenticated user. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis.readonly` - `https://www.googleapis.com/auth/chat.customemojis`", "flatPath": "v1/customEmojis", "httpMethod": "GET", "id": "chat.customEmojis.list", @@ -326,7 +326,7 @@ "supportsMediaDownload": true }, "upload": { - "description": "Uploads an attachment. For an example, see [Upload media as a file attachment](https://developers.google.com/workspace/chat/upload-media-attachments). Requires user [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). You can upload attachments up to 200 MB. Certain file types aren't supported. For details, see [File types blocked by Google Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).", + "description": "Uploads an attachment. For an example, see [Upload media as a file attachment](https://developers.google.com/workspace/chat/upload-media-attachments). Requires user [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.create` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) You can upload attachments up to 200 MB. Certain file types aren't supported. For details, see [File types blocked by Google Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).", "flatPath": "v1/spaces/{spacesId}/attachments:upload", "httpMethod": "POST", "id": "chat.media.upload", @@ -377,7 +377,7 @@ "spaces": { "methods": { "completeImport": { - "description": "Completes the [import process](https://developers.google.com/workspace/chat/import-data) for the specified space and makes it visible to users. Requires [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and domain-wide delegation. For more information, see [Authorize Google Chat apps to import data](https://developers.google.com/workspace/chat/authorize-import).", + "description": "Completes the [import process](https://developers.google.com/workspace/chat/import-data) for the specified space and makes it visible to users. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) and domain-wide delegation with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.import` For more information, see [Authorize Google Chat apps to import data](https://developers.google.com/workspace/chat/authorize-import).", "flatPath": "v1/spaces/{spacesId}:completeImport", "httpMethod": "POST", "id": "chat.spaces.completeImport", @@ -405,7 +405,7 @@ ] }, "create": { - "description": "Creates a space. Can be used to create a named space, or a group chat in `Import mode`. For an example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) When authenticating as an app, the `space.customer` field must be set in the request. Space membership upon creation depends on whether the space is created in `Import mode`: * **Import mode:** No members are created. * **All other modes:** The calling user is added as a member. This is: * The app itself when using app authentication. * The human user when using user authentication. If you receive the error message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name.", + "description": "Creates a space. Can be used to create a named space, or a group chat in `Import mode`. For an example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces.create` - `https://www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When authenticating as an app, the `space.customer` field must be set in the request. Space membership upon creation depends on whether the space is created in `Import mode`: * **Import mode:** No members are created. * **All other modes:** The calling user is added as a member. This is: * The app itself when using app authentication. * The human user when using user authentication. If you receive the error message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name.", "flatPath": "v1/spaces", "httpMethod": "POST", "id": "chat.spaces.create", @@ -433,7 +433,7 @@ ] }, "delete": { - "description": "Deletes a named space. Always performs a cascading delete, which means that the space's child resources—like messages posted in the space and memberships in the space—are also deleted. For an example, see [Delete a space](https://developers.google.com/workspace/chat/delete-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - Developer Preview: [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth). Requires that the Chat app created the space using app authentication. - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request.", + "description": "Deletes a named space. Always performs a cascading delete, which means that the space's child resources—like messages posted in the space and memberships in the space—are also deleted. For an example, see [Delete a space](https://developers.google.com/workspace/chat/delete-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.delete` (only in spaces the app created) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.delete` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.delete`", "flatPath": "v1/spaces/{spacesId}", "httpMethod": "DELETE", "id": "chat.spaces.delete", @@ -466,7 +466,7 @@ ] }, "findDirectMessage": { - "description": "Returns the existing direct message with the specified user. If no direct message space is found, returns a `404 NOT_FOUND` error. For an example, see [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message). With [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app), returns the direct message space between the specified user and the calling Chat app. With [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), returns the direct message space between the specified user and the authenticated user. // Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)", + "description": "Returns the existing direct message with the specified user. If no direct message space is found, returns a `404 NOT_FOUND` error. For an example, see [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message). With [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app), returns the direct message space between the specified user and the calling Chat app. With [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), returns the direct message space between the specified user and the authenticated user. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces`", "flatPath": "v1/spaces:findDirectMessage", "httpMethod": "GET", "id": "chat.spaces.findDirectMessage", @@ -489,7 +489,7 @@ ] }, "get": { - "description": "Returns details about a space. For an example, see [Get details about a space](https://developers.google.com/workspace/chat/get-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request.", + "description": "Returns details about a space. For an example, see [Get details about a space](https://developers.google.com/workspace/chat/get-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot` - `https://www.googleapis.com/auth/chat.app.spaces` with [administrator approval](https://support.google.com/a?p=chat-app-auth) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and one of the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces`", "flatPath": "v1/spaces/{spacesId}", "httpMethod": "GET", "id": "chat.spaces.get", @@ -524,7 +524,7 @@ ] }, "list": { - "description": "Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) To list all named spaces by Google Workspace organization, use the [`spaces.search()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search) method using Workspace administrator privileges instead.", + "description": "Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` To list all named spaces by Google Workspace organization, use the [`spaces.search()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search) method using Workspace administrator privileges instead.", "flatPath": "v1/spaces", "httpMethod": "GET", "id": "chat.spaces.list", @@ -558,7 +558,7 @@ ] }, "patch": { - "description": "Updates a space. For an example, see [Update a space](https://developers.google.com/workspace/chat/update-spaces). If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`, try a different display name.. An existing space within the Google Workspace organization might already use this display name. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request.", + "description": "Updates a space. For an example, see [Update a space](https://developers.google.com/workspace/chat/update-spaces). If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`, try a different display name.. An existing space within the Google Workspace organization might already use this display name. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.spaces`", "flatPath": "v1/spaces/{spacesId}", "httpMethod": "PATCH", "id": "chat.spaces.patch", @@ -600,7 +600,7 @@ ] }, "search": { - "description": "Returns a list of spaces in a Google Workspace organization based on an administrator's search. Requires [user authentication with administrator privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges). In the request, set `use_admin_access` to `true`.", + "description": "Returns a list of spaces in a Google Workspace organization based on an administrator's search. Requires [user authentication with administrator privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges) and one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces` In the request, set `use_admin_access` to `true`.", "flatPath": "v1/spaces:search", "httpMethod": "GET", "id": "chat.spaces.search", @@ -643,7 +643,7 @@ ] }, "setup": { - "description": "Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `membership.member.name`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`. To specify the Google groups to add, add memberships with the appropriate `membership.group_member.name`. To add or invite a Google group, use `groups/{group}`, where `{group}` is the `id` for the group from the Cloud Identity Groups API. For example, you can use [Cloud Identity Groups lookup API](https://cloud.google.com/identity/docs/reference/rest/v1/groups/lookup) to retrieve the ID `123456789` for group email `group@example.com`, then you can add the group to the space by setting the `membership.group_member.name` to `groups/123456789`. Group email is not supported, and Google groups can only be added as members in named spaces. For a named space or group chat, if the caller blocks, or is blocked by some members, or doesn't have permission to add some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `membership.member.name`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`. To specify the Google groups to add, add memberships with the appropriate `membership.group_member.name`. To add or invite a Google group, use `groups/{group}`, where `{group}` is the `id` for the group from the Cloud Identity Groups API. For example, you can use [Cloud Identity Groups lookup API](https://cloud.google.com/identity/docs/reference/rest/v1/groups/lookup) to retrieve the ID `123456789` for group email `group@example.com`, then you can add the group to the space by setting the `membership.group_member.name` to `groups/123456789`. Group email is not supported, and Google groups can only be added as members in named spaces. For a named space or group chat, if the caller blocks, or is blocked by some members, or doesn't have permission to add some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/auth/chat.spaces`", "flatPath": "v1/spaces:setup", "httpMethod": "POST", "id": "chat.spaces.setup", @@ -666,7 +666,7 @@ "members": { "methods": { "create": { - "description": "Creates a membership for the calling Chat app, a user, or a Google Group. Creating memberships for other Chat apps isn't supported. When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request. For example usage, see: - [Invite or add a user to a space](https://developers.google.com/workspace/chat/create-members#create-user-membership). - [Invite or add a Google Group to a space](https://developers.google.com/workspace/chat/create-members#create-group-membership). - [Add the Chat app to a space](https://developers.google.com/workspace/chat/create-members#create-membership-calling-api).", + "description": "Creates a membership for the calling Chat app, a user, or a Google Group. Creating memberships for other Chat apps isn't supported. When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.memberships.app` (to add the calling app to the space) - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.memberships` For example usage, see: - [Invite or add a user to a space](https://developers.google.com/workspace/chat/create-members#create-user-membership). - [Invite or add a Google Group to a space](https://developers.google.com/workspace/chat/create-members#create-group-membership). - [Add the Chat app to a space](https://developers.google.com/workspace/chat/create-members#create-membership-calling-api).", "flatPath": "v1/spaces/{spacesId}/members", "httpMethod": "POST", "id": "chat.spaces.members.create", @@ -703,7 +703,7 @@ ] }, "delete": { - "description": "Deletes a membership. For an example, see [Remove a user or a Google Chat app from a space](https://developers.google.com/workspace/chat/delete-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request. To delete memberships for space managers, the requester must be a space manager. If you're using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) the application must be the space creator.", + "description": "Deletes a membership. For an example, see [Remove a user or a Google Chat app from a space](https://developers.google.com/workspace/chat/delete-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.memberships.app` (to remove the calling app from the space) - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.memberships` To delete memberships for space managers, the requester must be a space manager. If you're using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) the application must be the space creator.", "flatPath": "v1/spaces/{spacesId}/members/{membersId}", "httpMethod": "DELETE", "id": "chat.spaces.members.delete", @@ -737,7 +737,7 @@ ] }, "get": { - "description": "Returns details about a membership. For an example, see [Get details about a user's or Google Chat app's membership](https://developers.google.com/workspace/chat/get-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request.", + "description": "Returns details about a membership. For an example, see [Get details about a user's or Google Chat app's membership](https://developers.google.com/workspace/chat/get-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and one of the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.memberships.readonly` - `https://www.googleapis.com/auth/chat.admin.memberships`", "flatPath": "v1/spaces/{spacesId}/members/{membersId}", "httpMethod": "GET", "id": "chat.spaces.members.get", @@ -771,7 +771,7 @@ ] }, "list": { - "description": "Lists memberships in a space. For an example, see [List users and Google Chat apps in a space](https://developers.google.com/workspace/chat/list-members). Listing memberships with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships, including its own. Listing memberships with [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) lists memberships in spaces that the authenticated user has access to. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request.", + "description": "Lists memberships in a space. For an example, see [List users and Google Chat apps in a space](https://developers.google.com/workspace/chat/list-members). Listing memberships with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships, including its own. Listing memberships with [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) lists memberships in spaces that the authenticated user has access to. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and one of the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.memberships.readonly` - `https://www.googleapis.com/auth/chat.admin.memberships`", "flatPath": "v1/spaces/{spacesId}/members", "httpMethod": "GET", "id": "chat.spaces.members.list", @@ -832,7 +832,7 @@ ] }, "patch": { - "description": "Updates a membership. For an example, see [Update a user's membership in a space](https://developers.google.com/workspace/chat/update-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - Developer Preview: [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth). Requires that the Chat app created the space using app authentication. - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request.", + "description": "Updates a membership. For an example, see [Update a user's membership in a space](https://developers.google.com/workspace/chat/update-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` (only in spaces the app created) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.memberships`", "flatPath": "v1/spaces/{spacesId}/members/{membersId}", "httpMethod": "PATCH", "id": "chat.spaces.members.patch", @@ -878,7 +878,7 @@ "messages": { "methods": { "create": { - "description": "Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). The `create()` method requires either [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) or [app authentication](https://developers.google.com/workspace/chat/authorize-import). Chat attributes the message sender differently depending on the type of authentication that you use in your request. The following image shows how Chat attributes a message when you use app authentication. Chat displays the Chat app as the message sender. The content of the message can contain text (`text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). ![Message sent with app authentication](https://developers.google.com/workspace/chat/images/message-app-auth.svg) The following image shows how Chat attributes a message when you use user authentication. Chat displays the user as the message sender and attributes the Chat app to the message by displaying its name. The content of message can only contain text (`text`). ![Message sent with user authentication](https://developers.google.com/workspace/chat/images/message-user-auth.svg) The maximum message size, including the message contents, is 32,000 bytes. For [webhook](https://developers.google.com/workspace/chat/quickstart/webhooks) requests, the response doesn't contain the full message. The response only populates the `name` and `thread.name` fields in addition to the information that was in the request.", + "description": "Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages.create` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) Chat attributes the message sender differently depending on the type of authentication that you use in your request. The following image shows how Chat attributes a message when you use app authentication. Chat displays the Chat app as the message sender. The content of the message can contain text (`text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). ![Message sent with app authentication](https://developers.google.com/workspace/chat/images/message-app-auth.svg) The following image shows how Chat attributes a message when you use user authentication. Chat displays the user as the message sender and attributes the Chat app to the message by displaying its name. The content of message can only contain text (`text`). ![Message sent with user authentication](https://developers.google.com/workspace/chat/images/message-user-auth.svg) The maximum message size, including the message contents, is 32,000 bytes. For [webhook](https://developers.google.com/workspace/chat/quickstart/webhooks) requests, the response doesn't contain the full message. The response only populates the `name` and `thread.name` fields in addition to the information that was in the request.", "flatPath": "v1/spaces/{spacesId}/messages", "httpMethod": "POST", "id": "chat.spaces.messages.create", @@ -940,7 +940,7 @@ ] }, "delete": { - "description": "Deletes a message. For an example, see [Delete a message](https://developers.google.com/workspace/chat/delete-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) When using app authentication, requests can only delete messages created by the calling Chat app.", + "description": "Deletes a message. For an example, see [Delete a message](https://developers.google.com/workspace/chat/delete-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When using app authentication, requests can only delete messages created by the calling Chat app.", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", "httpMethod": "DELETE", "id": "chat.spaces.messages.delete", @@ -972,7 +972,7 @@ ] }, "get": { - "description": "Returns details about a message. For an example, see [Get details about a message](https://developers.google.com/workspace/chat/get-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) Note: Might return a message from a blocked member or space.", + "description": "Returns details about a message. For an example, see [Get details about a message](https://developers.google.com/workspace/chat/get-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` Note: Might return a message from a blocked member or space.", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", "httpMethod": "GET", "id": "chat.spaces.messages.get", @@ -999,7 +999,7 @@ ] }, "list": { - "description": "Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. If you list messages from a space with no messages, the response is an empty object. When using a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. If you list messages from a space with no messages, the response is an empty object. When using a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)", "flatPath": "v1/spaces/{spacesId}/messages", "httpMethod": "GET", "id": "chat.spaces.messages.list", @@ -1052,7 +1052,7 @@ ] }, "patch": { - "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) When using app authentication, requests can only update messages created by the calling Chat app.", + "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When using app authentication, requests can only update messages created by the calling Chat app.", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", "httpMethod": "PATCH", "id": "chat.spaces.messages.patch", @@ -1093,7 +1093,7 @@ ] }, "update": { - "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) When using app authentication, requests can only update messages created by the calling Chat app.", + "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When using app authentication, requests can only update messages created by the calling Chat app.", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", "httpMethod": "PUT", "id": "chat.spaces.messages.update", @@ -1138,7 +1138,7 @@ "attachments": { "methods": { "get": { - "description": "Gets the metadata of a message attachment. The attachment data is fetched using the [media API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download). For an example, see [Get metadata about a message attachment](https://developers.google.com/workspace/chat/get-media-attachments). Requires [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).", + "description": "Gets the metadata of a message attachment. The attachment data is fetched using the [media API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download). For an example, see [Get metadata about a message attachment](https://developers.google.com/workspace/chat/get-media-attachments). Requires [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.bot`", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/attachments/{attachmentsId}", "httpMethod": "GET", "id": "chat.spaces.messages.attachments.get", @@ -1167,7 +1167,7 @@ "reactions": { "methods": { "create": { - "description": "Creates a reaction and adds it to a message. For an example, see [Add a reaction to a message](https://developers.google.com/workspace/chat/create-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Creates a reaction and adds it to a message. For an example, see [Add a reaction to a message](https://developers.google.com/workspace/chat/create-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.reactions.create` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/reactions", "httpMethod": "POST", "id": "chat.spaces.messages.reactions.create", @@ -1198,7 +1198,7 @@ ] }, "delete": { - "description": "Deletes a reaction to a message. For an example, see [Delete a reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Deletes a reaction to a message. For an example, see [Delete a reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/reactions/{reactionsId}", "httpMethod": "DELETE", "id": "chat.spaces.messages.reactions.delete", @@ -1225,7 +1225,7 @@ ] }, "list": { - "description": "Lists reactions to a message. For an example, see [List reactions for a message](https://developers.google.com/workspace/chat/list-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Lists reactions to a message. For an example, see [List reactions for a message](https://developers.google.com/workspace/chat/list-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages`", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/reactions", "httpMethod": "GET", "id": "chat.spaces.messages.reactions.list", @@ -1275,7 +1275,7 @@ "spaceEvents": { "methods": { "get": { - "description": "Returns an event from a Google Chat space. The [event payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the resource that changed. For example, if you request an event about a new message but the message was later updated, the server returns the updated `Message` resource in the event payload. Note: The `permissionSettings` field is not returned in the Space object of the Space event data for this request. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To get an event, the authenticated user must be a member of the space. For an example, see [Get details about an event from a Google Chat space](https://developers.google.com/workspace/chat/get-space-event).", + "description": "Returns an event from a Google Chat space. The [event payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the resource that changed. For example, if you request an event about a new message but the message was later updated, the server returns the updated `Message` resource in the event payload. Note: The `permissionSettings` field is not returned in the Space object of the Space event data for this request. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with an [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) appropriate for reading the requested data: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` To get an event, the authenticated user must be a member of the space. For an example, see [Get details about an event from a Google Chat space](https://developers.google.com/workspace/chat/get-space-event).", "flatPath": "v1/spaces/{spacesId}/spaceEvents/{spaceEventsId}", "httpMethod": "GET", "id": "chat.spaces.spaceEvents.get", @@ -1309,7 +1309,7 @@ ] }, "list": { - "description": "Lists events from a Google Chat space. For each event, the [payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the Chat resource. For example, if you list events about new space members, the server returns `Membership` resources that contain the latest membership details. If new members were removed during the requested period, the event payload contains an empty `Membership` resource. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To list events, the authenticated user must be a member of the space. For an example, see [List events from a Google Chat space](https://developers.google.com/workspace/chat/list-space-events).", + "description": "Lists events from a Google Chat space. For each event, the [payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the Chat resource. For example, if you list events about new space members, the server returns `Membership` resources that contain the latest membership details. If new members were removed during the requested period, the event payload contains an empty `Membership` resource. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with an [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) appropriate for reading the requested data: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` To list events, the authenticated user must be a member of the space. For an example, see [List events from a Google Chat space](https://developers.google.com/workspace/chat/list-space-events).", "flatPath": "v1/spaces/{spacesId}/spaceEvents", "httpMethod": "GET", "id": "chat.spaces.spaceEvents.list", @@ -1367,7 +1367,7 @@ "spaces": { "methods": { "getSpaceReadState": { - "description": "Returns details about a user's read state within a space, used to identify read and unread messages. For an example, see [Get details about a user's space read state](https://developers.google.com/workspace/chat/get-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Returns details about a user's read state within a space, used to identify read and unread messages. For an example, see [Get details about a user's space read state](https://developers.google.com/workspace/chat/get-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.readstate.readonly` - `https://www.googleapis.com/auth/chat.users.readstate`", "flatPath": "v1/users/{usersId}/spaces/{spacesId}/spaceReadState", "httpMethod": "GET", "id": "chat.users.spaces.getSpaceReadState", @@ -1393,7 +1393,7 @@ ] }, "updateSpaceReadState": { - "description": "Updates a user's read state within a space, used to identify read and unread messages. For an example, see [Update a user's space read state](https://developers.google.com/workspace/chat/update-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Updates a user's read state within a space, used to identify read and unread messages. For an example, see [Update a user's space read state](https://developers.google.com/workspace/chat/update-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.readstate`", "flatPath": "v1/users/{usersId}/spaces/{spacesId}/spaceReadState", "httpMethod": "PATCH", "id": "chat.users.spaces.updateSpaceReadState", @@ -1431,7 +1431,7 @@ "spaceNotificationSetting": { "methods": { "get": { - "description": "Gets the space notification setting. For an example, see [Get the caller's space notification setting](https://developers.google.com/workspace/chat/get-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Gets the space notification setting. For an example, see [Get the caller's space notification setting](https://developers.google.com/workspace/chat/get-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.spacesettings`", "flatPath": "v1/users/{usersId}/spaces/{spacesId}/spaceNotificationSetting", "httpMethod": "GET", "id": "chat.users.spaces.spaceNotificationSetting.get", @@ -1456,7 +1456,7 @@ ] }, "patch": { - "description": "Updates the space notification setting. For an example, see [Update the caller's space notification setting](https://developers.google.com/workspace/chat/update-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Updates the space notification setting. For an example, see [Update the caller's space notification setting](https://developers.google.com/workspace/chat/update-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.spacesettings`", "flatPath": "v1/users/{usersId}/spaces/{spacesId}/spaceNotificationSetting", "httpMethod": "PATCH", "id": "chat.users.spaces.spaceNotificationSetting.patch", @@ -1494,7 +1494,7 @@ "threads": { "methods": { "getThreadReadState": { - "description": "Returns details about a user's read state within a thread, used to identify read and unread messages. For an example, see [Get details about a user's thread read state](https://developers.google.com/workspace/chat/get-thread-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Returns details about a user's read state within a thread, used to identify read and unread messages. For an example, see [Get details about a user's thread read state](https://developers.google.com/workspace/chat/get-thread-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.readstate.readonly` - `https://www.googleapis.com/auth/chat.users.readstate`", "flatPath": "v1/users/{usersId}/spaces/{spacesId}/threads/{threadsId}/threadReadState", "httpMethod": "GET", "id": "chat.users.spaces.threads.getThreadReadState", @@ -1526,7 +1526,7 @@ } } }, - "revision": "20250427", + "revision": "20250508", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -2263,7 +2263,7 @@ "Default value. Unspecified.", "A user opens a dialog.", "A user clicks an interactive element of a dialog. For example, a user fills out information in a dialog and clicks a button to submit the information.", - "A user closes a dialog without submitting information. The Chat app only receives this interaction event when users click the close icon in the top right corner of the dialog. When the user closes the dialog by other means (such as refreshing the browser, clicking outside the dialog box, or pressing the escape key), no event is sent. ." + "" ], "type": "string" }, diff --git a/discovery/chromepolicy-v1.json b/discovery/chromepolicy-v1.json index 610d40f5190..50b321c7132 100644 --- a/discovery/chromepolicy-v1.json +++ b/discovery/chromepolicy-v1.json @@ -557,7 +557,7 @@ } } }, - "revision": "20250409", + "revision": "20250504", "rootUrl": "https://chromepolicy.googleapis.com/", "schemas": { "GoogleChromePolicyVersionsV1AdditionalTargetKeyName": { @@ -1789,7 +1789,7 @@ "properties": { "editionDeprecated": { "deprecated": true, - "description": "BEGIN GOOGLE-INTERNAL TODO(b/297898292) Deprecate and remove this field in favor of enums. END GOOGLE-INTERNAL", + "description": "copybara:strip_begin TODO(b/297898292) Deprecate and remove this field in favor of enums. copybara:strip_end", "type": "string" }, "enumType": { diff --git a/discovery/cloudasset-v1p4beta1.json b/discovery/cloudasset-v1p4beta1.json deleted file mode 100644 index 2dbca712723..00000000000 --- a/discovery/cloudasset-v1p4beta1.json +++ /dev/null @@ -1,1618 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://cloudasset.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Asset", - "description": "The cloud asset API manages the history and inventory of cloud resources.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "cloudasset:v1p4beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://cloudasset.mtls.googleapis.com/", - "name": "cloudasset", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "v1p4beta1": { - "methods": { - "analyzeIamPolicy": { - "description": "Analyzes IAM policies to answer which identities have what accesses on which resources.", - "flatPath": "v1p4beta1/{v1p4beta1Id}/{v1p4beta1Id1}:analyzeIamPolicy", - "httpMethod": "GET", - "id": "cloudasset.analyzeIamPolicy", - "parameterOrder": [ - "parent" - ], - "parameters": { - "analysisQuery.accessSelector.permissions": { - "description": "Optional. The permissions to appear in result.", - "location": "query", - "repeated": true, - "type": "string" - }, - "analysisQuery.accessSelector.roles": { - "description": "Optional. The roles to appear in result.", - "location": "query", - "repeated": true, - "type": "string" - }, - "analysisQuery.identitySelector.identity": { - "description": "Required. The identity appear in the form of members in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.", - "location": "query", - "type": "string" - }, - "analysisQuery.resourceSelector.fullResourceName": { - "description": "Required. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).", - "location": "query", - "type": "string" - }, - "options.analyzeServiceAccountImpersonation": { - "description": "Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.ExportIamPolicyAnalysis rpc instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a GCP folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Default is false.", - "location": "query", - "type": "boolean" - }, - "options.executionTimeout": { - "description": "Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.", - "format": "google-duration", - "location": "query", - "type": "string" - }, - "options.expandGroups": { - "description": "Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If identity_selector is specified, the identity in the result will be determined by the selector, and this flag will have no effect. Default is false.", - "location": "query", - "type": "boolean" - }, - "options.expandResources": { - "description": "Optional. If true, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a GCP folder, the results will also include resources in that folder with permission P. If resource_selector is specified, the resource section of the result will be determined by the selector, and this flag will have no effect. Default is false.", - "location": "query", - "type": "boolean" - }, - "options.expandRoles": { - "description": "Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If access_selector is specified, the access section of the result will be determined by the selector, and this flag will have no effect. Default is false.", - "location": "query", - "type": "boolean" - }, - "options.outputGroupEdges": { - "description": "Optional. If true, the result will output group identity edges, starting from the binding's group members, to any expanded identities. Default is false.", - "location": "query", - "type": "boolean" - }, - "options.outputResourceEdges": { - "description": "Optional. If true, the result will output resource edges, starting from the policy attached resource, to any expanded resources. Default is false.", - "location": "query", - "type": "boolean" - }, - "parent": { - "description": "Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).", - "location": "path", - "pattern": "^[^/]+/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p4beta1/{+parent}:analyzeIamPolicy", - "response": { - "$ref": "AnalyzeIamPolicyResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "exportIamPolicyAnalysis": { - "description": "Exports the answers of which identities have what accesses on which resources to a Google Cloud Storage destination. The output format is the JSON format that represents a AnalyzeIamPolicyResponse in the JSON format. This method implements the google.longrunning.Operation, which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. The metadata contains the request to help callers to map responses to requests.", - "flatPath": "v1p4beta1/{v1p4beta1Id}/{v1p4beta1Id1}:exportIamPolicyAnalysis", - "httpMethod": "POST", - "id": "cloudasset.exportIamPolicyAnalysis", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).", - "location": "path", - "pattern": "^[^/]+/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p4beta1/{+parent}:exportIamPolicyAnalysis", - "request": { - "$ref": "ExportIamPolicyAnalysisRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - }, - "revision": "20220604", - "rootUrl": "https://cloudasset.googleapis.com/", - "schemas": { - "AccessSelector": { - "description": "Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include identities and resources matching any of them. The total number of roles and permissions should be equal or less than 10.", - "id": "AccessSelector", - "properties": { - "permissions": { - "description": "Optional. The permissions to appear in result.", - "items": { - "type": "string" - }, - "type": "array" - }, - "roles": { - "description": "Optional. The roles to appear in result.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AnalyzeIamPolicyLongrunningMetadata": { - "description": "Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning rpc.", - "id": "AnalyzeIamPolicyLongrunningMetadata", - "properties": { - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "AnalyzeIamPolicyLongrunningResponse": { - "description": "A response message for AssetService.AnalyzeIamPolicyLongrunning.", - "id": "AnalyzeIamPolicyLongrunningResponse", - "properties": {}, - "type": "object" - }, - "AnalyzeIamPolicyResponse": { - "description": "A response message for AssetService.AnalyzeIamPolicy.", - "id": "AnalyzeIamPolicyResponse", - "properties": { - "fullyExplored": { - "description": "Represents whether all entries in the main_analysis and service_account_impersonation_analysis have been fully explored to answer the query in the request.", - "type": "boolean" - }, - "mainAnalysis": { - "$ref": "IamPolicyAnalysis", - "description": "The main analysis that matches the original request." - }, - "nonCriticalErrors": { - "description": "A list of non-critical errors happened during the request handling to explain why `fully_explored` is false, or empty if no error happened.", - "items": { - "$ref": "GoogleCloudAssetV1p4beta1AnalysisState" - }, - "type": "array" - }, - "serviceAccountImpersonationAnalysis": { - "description": "The service account impersonation analysis if AnalyzeIamPolicyRequest.analyze_service_account_impersonation is enabled.", - "items": { - "$ref": "IamPolicyAnalysis" - }, - "type": "array" - } - }, - "type": "object" - }, - "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", - "id": "AuditConfig", - "properties": { - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.", - "items": { - "$ref": "AuditLogConfig" - }, - "type": "array" - }, - "service": { - "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", - "type": "string" - } - }, - "type": "object" - }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", - "id": "AuditLogConfig", - "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logType": { - "description": "The log type that this config enables.", - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], - "type": "string" - } - }, - "type": "object" - }, - "Binding": { - "description": "Associates `members`, or principals, with a `role`.", - "id": "Binding", - "properties": { - "condition": { - "$ref": "Expr", - "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." - }, - "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", - "items": { - "type": "string" - }, - "type": "array" - }, - "role": { - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", - "type": "string" - } - }, - "type": "object" - }, - "ExportIamPolicyAnalysisRequest": { - "description": "A request message for AssetService.ExportIamPolicyAnalysis.", - "id": "ExportIamPolicyAnalysisRequest", - "properties": { - "analysisQuery": { - "$ref": "IamPolicyAnalysisQuery", - "description": "Required. The request query." - }, - "options": { - "$ref": "Options", - "description": "Optional. The request options." - }, - "outputConfig": { - "$ref": "IamPolicyAnalysisOutputConfig", - "description": "Required. Output configuration indicating where the results will be output to." - } - }, - "type": "object" - }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", - "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" - }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", - "type": "string" - }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" - } - }, - "type": "object" - }, - "GcsDestination": { - "description": "A Cloud Storage location.", - "id": "GcsDestination", - "properties": { - "uri": { - "description": "Required. The uri of the Cloud Storage object. It's the same uri that is used by gsutil. For example: \"gs://bucket_name/object_name\". See [Quickstart: Using the gsutil tool] (https://cloud.google.com/storage/docs/quickstart-gsutil) for examples.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p4beta1Access": { - "description": "An IAM role or permission under analysis.", - "id": "GoogleCloudAssetV1p4beta1Access", - "properties": { - "analysisState": { - "$ref": "GoogleCloudAssetV1p4beta1AnalysisState", - "description": "The analysis state of this access." - }, - "permission": { - "description": "The permission.", - "type": "string" - }, - "role": { - "description": "The role.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p4beta1AccessControlList": { - "description": "An access control list, derived from the above IAM policy binding, which contains a set of resources and accesses. May include one item from each set to compose an access control entry. NOTICE that there could be multiple access control lists for one IAM policy binding. The access control lists are created based on resource and access combinations. For example, assume we have the following cases in one IAM policy binding: - Permission P1 and P2 apply to resource R1 and R2; - Permission P3 applies to resource R2 and R3; This will result in the following access control lists: - AccessControlList 1: [R1, R2], [P1, P2] - AccessControlList 2: [R2, R3], [P3]", - "id": "GoogleCloudAssetV1p4beta1AccessControlList", - "properties": { - "accesses": { - "description": "The accesses that match one of the following conditions: - The access_selector, if it is specified in request; - Otherwise, access specifiers reachable from the policy binding's role.", - "items": { - "$ref": "GoogleCloudAssetV1p4beta1Access" - }, - "type": "array" - }, - "resourceEdges": { - "description": "Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.", - "items": { - "$ref": "GoogleCloudAssetV1p4beta1Edge" - }, - "type": "array" - }, - "resources": { - "description": "The resources that match one of the following conditions: - The resource_selector, if it is specified in request; - Otherwise, resources reachable from the policy attached resource.", - "items": { - "$ref": "GoogleCloudAssetV1p4beta1Resource" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p4beta1AnalysisState": { - "description": "Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.", - "id": "GoogleCloudAssetV1p4beta1AnalysisState", - "properties": { - "cause": { - "description": "The human-readable description of the cause of failure.", - "type": "string" - }, - "code": { - "description": "The Google standard error code that best describes the state. For example: - OK means the analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time;", - "enum": [ - "OK", - "CANCELLED", - "UNKNOWN", - "INVALID_ARGUMENT", - "DEADLINE_EXCEEDED", - "NOT_FOUND", - "ALREADY_EXISTS", - "PERMISSION_DENIED", - "UNAUTHENTICATED", - "RESOURCE_EXHAUSTED", - "FAILED_PRECONDITION", - "ABORTED", - "OUT_OF_RANGE", - "UNIMPLEMENTED", - "INTERNAL", - "UNAVAILABLE", - "DATA_LOSS" - ], - "enumDescriptions": [ - "Not an error; returned on success HTTP Mapping: 200 OK", - "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", - "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", - "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", - "The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", - "Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", - "The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", - "The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", - "The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", - "Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", - "The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", - "The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", - "The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", - "The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", - "Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", - "The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", - "Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p4beta1Edge": { - "description": "A directional edge.", - "id": "GoogleCloudAssetV1p4beta1Edge", - "properties": { - "sourceNode": { - "description": "The source node of the edge.", - "type": "string" - }, - "targetNode": { - "description": "The target node of the edge.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p4beta1Identity": { - "description": "An identity under analysis.", - "id": "GoogleCloudAssetV1p4beta1Identity", - "properties": { - "analysisState": { - "$ref": "GoogleCloudAssetV1p4beta1AnalysisState", - "description": "The analysis state of this identity." - }, - "name": { - "description": "The identity name in any form of members appear in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding), such as: - user:foo@google.com - group:group1@google.com - serviceAccount:s1@prj1.iam.gserviceaccount.com - projectOwner:some_project_id - domain:google.com - allUsers - etc.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p4beta1IdentityList": { - "id": "GoogleCloudAssetV1p4beta1IdentityList", - "properties": { - "groupEdges": { - "description": "Group identity edges of the graph starting from the binding's group members to any node of the identities. The Edge.source_node contains a group, such as \"group:parent@google.com\". The Edge.target_node contains a member of the group, such as \"group:child@google.com\" or \"user:foo@google.com\". This field is present only if the output_group_edges option is enabled in request.", - "items": { - "$ref": "GoogleCloudAssetV1p4beta1Edge" - }, - "type": "array" - }, - "identities": { - "description": "Only the identities that match one of the following conditions will be presented: - The identity_selector, if it is specified in request; - Otherwise, identities reachable from the policy binding's members.", - "items": { - "$ref": "GoogleCloudAssetV1p4beta1Identity" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p4beta1Resource": { - "description": "A Google Cloud resource under analysis.", - "id": "GoogleCloudAssetV1p4beta1Resource", - "properties": { - "analysisState": { - "$ref": "GoogleCloudAssetV1p4beta1AnalysisState", - "description": "The analysis state of this resource." - }, - "fullResourceName": { - "description": "The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format)", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p7beta1Asset": { - "description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", - "id": "GoogleCloudAssetV1p7beta1Asset", - "properties": { - "accessLevel": { - "$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel", - "description": "Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." - }, - "accessPolicy": { - "$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", - "description": "Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." - }, - "ancestors": { - "description": "The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", - "items": { - "type": "string" - }, - "type": "array" - }, - "assetType": { - "description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", - "type": "string" - }, - "iamPolicy": { - "$ref": "Policy", - "description": "A representation of the Cloud IAM policy set on a Google Cloud resource. There can be a maximum of one Cloud IAM policy set on any given resource. In addition, Cloud IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." - }, - "name": { - "description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", - "type": "string" - }, - "orgPolicy": { - "description": "A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.", - "items": { - "$ref": "GoogleCloudOrgpolicyV1Policy" - }, - "type": "array" - }, - "relatedAssets": { - "$ref": "GoogleCloudAssetV1p7beta1RelatedAssets", - "description": "The related assets of the asset of one relationship type. One asset only represents one type of relationship." - }, - "resource": { - "$ref": "GoogleCloudAssetV1p7beta1Resource", - "description": "A representation of the resource." - }, - "servicePerimeter": { - "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", - "description": "Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." - }, - "updateTime": { - "description": "The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p7beta1RelatedAsset": { - "description": "An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", - "id": "GoogleCloudAssetV1p7beta1RelatedAsset", - "properties": { - "ancestors": { - "description": "The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", - "items": { - "type": "string" - }, - "type": "array" - }, - "asset": { - "description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", - "type": "string" - }, - "assetType": { - "description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p7beta1RelatedAssets": { - "description": "The detailed related assets with the `relationship_type`.", - "id": "GoogleCloudAssetV1p7beta1RelatedAssets", - "properties": { - "assets": { - "description": "The peer resources of the relationship.", - "items": { - "$ref": "GoogleCloudAssetV1p7beta1RelatedAsset" - }, - "type": "array" - }, - "relationshipAttributes": { - "$ref": "GoogleCloudAssetV1p7beta1RelationshipAttributes", - "description": "The detailed relation attributes." - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p7beta1RelationshipAttributes": { - "description": "The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.", - "id": "GoogleCloudAssetV1p7beta1RelationshipAttributes", - "properties": { - "action": { - "description": "The detail of the relationship, e.g. `contains`, `attaches`", - "type": "string" - }, - "sourceResourceType": { - "description": "The source asset type. Example: `compute.googleapis.com/Instance`", - "type": "string" - }, - "targetResourceType": { - "description": "The target asset type. Example: `compute.googleapis.com/Disk`", - "type": "string" - }, - "type": { - "description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudAssetV1p7beta1Resource": { - "description": "A representation of a Google Cloud resource.", - "id": "GoogleCloudAssetV1p7beta1Resource", - "properties": { - "data": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The content of the resource, in which some sensitive fields are removed and may not be present.", - "type": "object" - }, - "discoveryDocumentUri": { - "description": "The URL of the discovery document containing the resource's JSON schema. Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", - "type": "string" - }, - "discoveryName": { - "description": "The JSON schema name listed in the discovery document. Example: `Project` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", - "type": "string" - }, - "location": { - "description": "The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.", - "type": "string" - }, - "parent": { - "description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", - "type": "string" - }, - "resourceUrl": { - "description": "The REST URL for accessing the resource. An HTTP `GET` request using this URL returns the resource itself. Example: `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` This value is unspecified for resources without a REST API.", - "type": "string" - }, - "version": { - "description": "The API version. Example: `v1`", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudOrgpolicyV1BooleanPolicy": { - "description": "Used in `policy_type` to specify how `boolean_policy` will behave at this resource.", - "id": "GoogleCloudOrgpolicyV1BooleanPolicy", - "properties": { - "enforced": { - "description": "If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following behavior: - If the `Policy` at this resource has enforced set to `false`, serial port connection attempts will be allowed. - If the `Policy` at this resource has enforced set to `true`, serial port connection attempts will be refused. - If the `Policy` at this resource is `RestoreDefault`, serial port connection attempts will be allowed. - If no `Policy` is set at this resource or anywhere higher in the resource hierarchy, serial port connection attempts will be allowed. - If no `Policy` is set at this resource, but one exists higher in the resource hierarchy, the behavior is as if the`Policy` were set at this resource. The following examples demonstrate the different possible layerings: Example 1 (nearest `Constraint` wins): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has no `Policy` set. The constraint at `projects/bar` and `organizations/foo` will not be enforced. Example 2 (enforcement gets replaced): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has a `Policy` with: {enforced: true} The constraint at `organizations/foo` is not enforced. The constraint at `projects/bar` is enforced. Example 3 (RestoreDefault): `organizations/foo` has a `Policy` with: {enforced: true} `projects/bar` has a `Policy` with: {RestoreDefault: {}} The constraint at `organizations/foo` is enforced. The constraint at `projects/bar` is not enforced, because `constraint_default` for the `Constraint` is `ALLOW`.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudOrgpolicyV1ListPolicy": { - "description": "Used in `policy_type` to specify how `list_policy` behaves at this resource. `ListPolicy` can define specific values and subtrees of Cloud Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied by setting the `allowed_values` and `denied_values` fields. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a \":\". Values prefixed with \"is:\" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - \"projects/\", e.g. \"projects/tokyo-rain-123\" - \"folders/\", e.g. \"folders/1234\" - \"organizations/\", e.g. \"organizations/1234\" The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used. You can set `allowed_values` and `denied_values` in the same `Policy` if `all_values` is `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values` and `denied_values` must be unset.", - "id": "GoogleCloudOrgpolicyV1ListPolicy", - "properties": { - "allValues": { - "description": "The policy all_values state.", - "enum": [ - "ALL_VALUES_UNSPECIFIED", - "ALLOW", - "DENY" - ], - "enumDescriptions": [ - "Indicates that allowed_values or denied_values must be set.", - "A policy with this set allows all values.", - "A policy with this set denies all values." - ], - "type": "string" - }, - "allowedValues": { - "description": "List of values allowed at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "deniedValues": { - "description": "List of values denied at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "inheritFromParent": { - "description": "Determines the inheritance behavior for this `Policy`. By default, a `ListPolicy` set at a resource supersedes any `Policy` set anywhere up the resource hierarchy. However, if `inherit_from_parent` is set to `true`, then the values from the effective `Policy` of the parent resource are inherited, meaning the values set in this `Policy` are added to the values inherited up the hierarchy. Setting `Policy` hierarchies that inherit both allowed values and denied values isn't recommended in most circumstances to keep the configuration simple and understandable. However, it is possible to set a `Policy` with `allowed_values` set that inherits a `Policy` with `denied_values` set. In this case, the values that are allowed must be in `allowed_values` and not present in `denied_values`. For example, suppose you have a `Constraint` `constraints/serviceuser.services`, which has a `constraint_type` of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose that at the Organization level, a `Policy` is applied that restricts the allowed API activations to {`E1`, `E2`}. Then, if a `Policy` is applied to a project below the Organization that has `inherit_from_parent` set to `false` and field all_values set to DENY, then an attempt to activate any API will be denied. The following examples demonstrate different possible layerings for `projects/bar` parented by `organizations/foo`: Example 1 (no inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has `inherit_from_parent` `false` and values: {allowed_values: \"E3\" allowed_values: \"E4\"} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {value: \"E3\" value: \"E4\" inherit_from_parent: true} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both allowed and denied values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {denied_values: \"E1\"} The accepted values at `organizations/foo` are `E1`, `E2`. The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {RestoreDefault: {}} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (no policy inherits parent policy): `organizations/foo` has no `Policy` set. `projects/bar` has no `Policy` set. The accepted values at both levels are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: ALLOW} The accepted values at `organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`. Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: DENY} The accepted values at `organizations/foo` are `E1`, E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied subtrees of Resource Manager hierarchy): Given the following resource hierarchy O1->{F1, F2}; F1->{P1}; F2->{P2, P3}, `organizations/foo` has a `Policy` with values: {allowed_values: \"under:organizations/O1\"} `projects/bar` has a `Policy` with: {allowed_values: \"under:projects/P3\"} {denied_values: \"under:folders/F2\"} The accepted values at `organizations/foo` are `organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `folders/F1`, `projects/P1`.", - "type": "boolean" - }, - "suggestedValue": { - "description": "Optional. The Google Cloud Console will try to default to a configuration that matches the value specified in this `Policy`. If `suggested_value` is not set, it will inherit the value specified higher in the hierarchy, unless `inherit_from_parent` is `false`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudOrgpolicyV1Policy": { - "description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints` for configurations of Cloud Platform resources.", - "id": "GoogleCloudOrgpolicyV1Policy", - "properties": { - "booleanPolicy": { - "$ref": "GoogleCloudOrgpolicyV1BooleanPolicy", - "description": "For boolean `Constraints`, whether to enforce the `Constraint` or not." - }, - "constraint": { - "description": "The name of the `Constraint` the `Policy` is configuring, for example, `constraints/serviceuser.services`. A [list of available constraints](/resource-manager/docs/organization-policy/org-policy-constraints) is available. Immutable after creation.", - "type": "string" - }, - "etag": { - "description": "An opaque tag indicating the current version of the `Policy`, used for concurrency control. When the `Policy` is returned from either a `GetPolicy` or a `ListOrgPolicy` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset. When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was returned from a `GetOrgPolicy` request as part of a read-modify-write loop for concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will result in an unconditional write of the `Policy`.", - "format": "byte", - "type": "string" - }, - "listPolicy": { - "$ref": "GoogleCloudOrgpolicyV1ListPolicy", - "description": "List of values either allowed or disallowed." - }, - "restoreDefault": { - "$ref": "GoogleCloudOrgpolicyV1RestoreDefault", - "description": "Restores the default behavior of the constraint; independent of `Constraint` type." - }, - "updateTime": { - "description": "The time stamp the `Policy` was previously updated. This is set by the server, not specified by the caller, and represents the last time a call to `SetOrgPolicy` was made for that `Policy`. Any value set by the client will be ignored.", - "format": "google-datetime", - "type": "string" - }, - "version": { - "description": "Version of the `Policy`. Default version is 0;", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudOrgpolicyV1RestoreDefault": { - "description": "Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific `Constraint` at this resource. Suppose that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/serviceuser.services`. Suppose that organization foo.com sets a `Policy` at their Organization resource node that restricts the allowed service activations to deny all service activations. They could then set a `Policy` with the `policy_type` `restore_default` on several experimental projects, restoring the `constraint_default` enforcement of the `Constraint` for only those projects, allowing those projects to have all services activated.", - "id": "GoogleCloudOrgpolicyV1RestoreDefault", - "properties": {}, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1AccessLevel": { - "description": "An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.", - "id": "GoogleIdentityAccesscontextmanagerV1AccessLevel", - "properties": { - "basic": { - "$ref": "GoogleIdentityAccesscontextmanagerV1BasicLevel", - "description": "A `BasicLevel` composed of `Conditions`." - }, - "custom": { - "$ref": "GoogleIdentityAccesscontextmanagerV1CustomLevel", - "description": "A `CustomLevel` written in the Common Expression Language." - }, - "description": { - "description": "Description of the `AccessLevel` and its use. Does not affect behavior.", - "type": "string" - }, - "name": { - "description": "Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum length of the `access_level` component is 50 characters.", - "type": "string" - }, - "title": { - "description": "Human readable title. Must be unique within the Policy.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1AccessPolicy": { - "description": "`AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.", - "id": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", - "properties": { - "etag": { - "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Polices will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", - "type": "string" - }, - "name": { - "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", - "type": "string" - }, - "parent": { - "description": "Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}`", - "type": "string" - }, - "scopes": { - "description": "The scopes of a policy define which resources an ACM policy can restrict, and where ACM resources can be referenced. For example, a policy with scopes=[\"folders/123\"] has the following behavior: - vpcsc perimeters can only restrict projects within folders/123 - access levels can only be referenced by resources within folders/123. If empty, there are no limitations on which resources can be restricted by an ACM policy, and there are no limitations on where ACM resources can be referenced. Only one policy can include a given scope (attempting to create a second policy which includes \"folders/123\" will result in an error). Currently, scopes cannot be modified after a policy is created. Currently, policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}`", - "items": { - "type": "string" - }, - "type": "array" - }, - "title": { - "description": "Required. Human readable title. Does not affect behavior.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1ApiOperation": { - "description": "Identification for an API Operation.", - "id": "GoogleIdentityAccesscontextmanagerV1ApiOperation", - "properties": { - "methodSelectors": { - "description": "API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`.", - "items": { - "$ref": "GoogleIdentityAccesscontextmanagerV1MethodSelector" - }, - "type": "array" - }, - "serviceName": { - "description": "The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1BasicLevel": { - "description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.", - "id": "GoogleIdentityAccesscontextmanagerV1BasicLevel", - "properties": { - "combiningFunction": { - "description": "How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND.", - "enum": [ - "AND", - "OR" - ], - "enumDescriptions": [ - "All `Conditions` must be true for the `BasicLevel` to be true.", - "If at least one `Condition` is true, then the `BasicLevel` is true." - ], - "type": "string" - }, - "conditions": { - "description": "Required. A list of requirements for the `AccessLevel` to be granted.", - "items": { - "$ref": "GoogleIdentityAccesscontextmanagerV1Condition" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1Condition": { - "description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.", - "id": "GoogleIdentityAccesscontextmanagerV1Condition", - "properties": { - "devicePolicy": { - "$ref": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", - "description": "Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed." - }, - "ipSubnetworks": { - "description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas \"2001:db8::1/32\" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "members": { - "description": "The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user.", - "items": { - "type": "string" - }, - "type": "array" - }, - "negate": { - "description": "Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields, each field must be false for the Condition overall to be satisfied. Defaults to false.", - "type": "boolean" - }, - "regions": { - "description": "The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredAccessLevels": { - "description": "A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: \"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1CustomLevel": { - "description": "`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec", - "id": "GoogleIdentityAccesscontextmanagerV1CustomLevel", - "properties": { - "expr": { - "$ref": "Expr", - "description": "Required. A Cloud CEL expression evaluating to a boolean." - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1DevicePolicy": { - "description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.", - "id": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", - "properties": { - "allowedDeviceManagementLevels": { - "description": "Allowed device management levels, an empty list allows all management levels.", - "items": { - "enum": [ - "MANAGEMENT_UNSPECIFIED", - "NONE", - "BASIC", - "COMPLETE" - ], - "enumDescriptions": [ - "The device's management level is not specified or not known.", - "The device is not managed.", - "Basic management is enabled, which is generally limited to monitoring and wiping the corporate account.", - "Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform." - ], - "type": "string" - }, - "type": "array" - }, - "allowedEncryptionStatuses": { - "description": "Allowed encryptions statuses, an empty list allows all statuses.", - "items": { - "enum": [ - "ENCRYPTION_UNSPECIFIED", - "ENCRYPTION_UNSUPPORTED", - "UNENCRYPTED", - "ENCRYPTED" - ], - "enumDescriptions": [ - "The encryption status of the device is not specified or not known.", - "The device does not support encryption.", - "The device supports encryption, but is currently unencrypted.", - "The device is encrypted." - ], - "type": "string" - }, - "type": "array" - }, - "osConstraints": { - "description": "Allowed OS versions, an empty list allows all types and all versions.", - "items": { - "$ref": "GoogleIdentityAccesscontextmanagerV1OsConstraint" - }, - "type": "array" - }, - "requireAdminApproval": { - "description": "Whether the device needs to be approved by the customer admin.", - "type": "boolean" - }, - "requireCorpOwned": { - "description": "Whether the device needs to be corp owned.", - "type": "boolean" - }, - "requireScreenlock": { - "description": "Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1EgressFrom": { - "description": "Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.", - "id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", - "properties": { - "identities": { - "description": "A list of identities that are allowed access through this [EgressPolicy]. Should be in the format of email address. The email address should represent individual user or service account only.", - "items": { - "type": "string" - }, - "type": "array" - }, - "identityType": { - "description": "Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", - "enum": [ - "IDENTITY_TYPE_UNSPECIFIED", - "ANY_IDENTITY", - "ANY_USER_ACCOUNT", - "ANY_SERVICE_ACCOUNT" - ], - "enumDescriptions": [ - "No blanket identity group specified.", - "Authorize access from all identities outside the perimeter.", - "Authorize access from all human users outside the perimeter.", - "Authorize access from all service accounts outside the perimeter." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1EgressPolicy": { - "description": "Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo.", - "id": "GoogleIdentityAccesscontextmanagerV1EgressPolicy", - "properties": { - "egressFrom": { - "$ref": "GoogleIdentityAccesscontextmanagerV1EgressFrom", - "description": "Defines conditions on the source of a request causing this EgressPolicy to apply." - }, - "egressTo": { - "$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", - "description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1EgressTo": { - "description": "Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter.", - "id": "GoogleIdentityAccesscontextmanagerV1EgressTo", - "properties": { - "externalResources": { - "description": "A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "operations": { - "description": "A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list.", - "items": { - "$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" - }, - "type": "array" - }, - "resources": { - "description": "A list of resources, currently only projects in the form `projects/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1IngressFrom": { - "description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match.", - "id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", - "properties": { - "identities": { - "description": "A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.", - "items": { - "type": "string" - }, - "type": "array" - }, - "identityType": { - "description": "Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", - "enum": [ - "IDENTITY_TYPE_UNSPECIFIED", - "ANY_IDENTITY", - "ANY_USER_ACCOUNT", - "ANY_SERVICE_ACCOUNT" - ], - "enumDescriptions": [ - "No blanket identity group specified.", - "Authorize access from all identities outside the perimeter.", - "Authorize access from all human users outside the perimeter.", - "Authorize access from all service accounts outside the perimeter." - ], - "type": "string" - }, - "sources": { - "description": "Sources that this IngressPolicy authorizes access from.", - "items": { - "$ref": "GoogleIdentityAccesscontextmanagerV1IngressSource" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1IngressPolicy": { - "description": "Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field.", - "id": "GoogleIdentityAccesscontextmanagerV1IngressPolicy", - "properties": { - "ingressFrom": { - "$ref": "GoogleIdentityAccesscontextmanagerV1IngressFrom", - "description": "Defines the conditions on the source of a request causing this IngressPolicy to apply." - }, - "ingressTo": { - "$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", - "description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1IngressSource": { - "description": "The source that IngressPolicy authorizes access from.", - "id": "GoogleIdentityAccesscontextmanagerV1IngressSource", - "properties": { - "accessLevel": { - "description": "An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed.", - "type": "string" - }, - "resource": { - "description": "A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format: `projects/{project_number}` The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1IngressTo": { - "description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the target resource of the request. The request must satisfy what is defined in `operations` AND `resources` in order to match.", - "id": "GoogleIdentityAccesscontextmanagerV1IngressTo", - "properties": { - "operations": { - "description": "A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter.", - "items": { - "$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" - }, - "type": "array" - }, - "resources": { - "description": "A list of resources, currently only projects in the form `projects/`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1MethodSelector": { - "description": "An allowed method or permission of a service specified in ApiOperation.", - "id": "GoogleIdentityAccesscontextmanagerV1MethodSelector", - "properties": { - "method": { - "description": "Value for `method` should be a valid method name for the corresponding `service_name` in ApiOperation. If `*` used as value for `method`, then ALL methods and permissions are allowed.", - "type": "string" - }, - "permission": { - "description": "Value for `permission` should be a valid Cloud IAM permission for the corresponding `service_name` in ApiOperation.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1OsConstraint": { - "description": "A restriction on the OS type and version of devices making requests.", - "id": "GoogleIdentityAccesscontextmanagerV1OsConstraint", - "properties": { - "minimumVersion": { - "description": "The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `\"major.minor.patch\"`. Examples: `\"10.5.301\"`, `\"9.2.1\"`.", - "type": "string" - }, - "osType": { - "description": "Required. The allowed OS type.", - "enum": [ - "OS_UNSPECIFIED", - "DESKTOP_MAC", - "DESKTOP_WINDOWS", - "DESKTOP_LINUX", - "DESKTOP_CHROME_OS", - "ANDROID", - "IOS" - ], - "enumDescriptions": [ - "The operating system of the device is not specified or not known.", - "A desktop Mac operating system.", - "A desktop Windows operating system.", - "A desktop Linux operating system.", - "A desktop ChromeOS operating system.", - "An Android operating system.", - "An iOS operating system." - ], - "type": "string" - }, - "requireVerifiedChromeOs": { - "description": "Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1ServicePerimeter": { - "description": "`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter - Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google Cloud project can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only Google Cloud projects as members, a single Google Cloud project may belong to multiple Service Perimeter Bridges.", - "id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", - "properties": { - "description": { - "description": "Description of the `ServicePerimeter` and its use. Does not affect behavior.", - "type": "string" - }, - "name": { - "description": "Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`", - "type": "string" - }, - "perimeterType": { - "description": "Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.", - "enum": [ - "PERIMETER_TYPE_REGULAR", - "PERIMETER_TYPE_BRIDGE" - ], - "enumDescriptions": [ - "Regular Perimeter.", - "Perimeter Bridge." - ], - "type": "string" - }, - "spec": { - "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", - "description": "Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the \"use_explicit_dry_run_spec\" flag is set." - }, - "status": { - "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", - "description": "Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries." - }, - "title": { - "description": "Human readable title. Must be unique within the Policy.", - "type": "string" - }, - "useExplicitDryRunSpec": { - "description": "Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration (\"spec\") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config (\"status\") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig": { - "description": "`ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.", - "id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", - "properties": { - "accessLevels": { - "description": "A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `\"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL\"`. For Service Perimeter Bridge, must be empty.", - "items": { - "type": "string" - }, - "type": "array" - }, - "egressPolicies": { - "description": "List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge.", - "items": { - "$ref": "GoogleIdentityAccesscontextmanagerV1EgressPolicy" - }, - "type": "array" - }, - "ingressPolicies": { - "description": "List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge.", - "items": { - "$ref": "GoogleIdentityAccesscontextmanagerV1IngressPolicy" - }, - "type": "array" - }, - "resources": { - "description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: `projects/{project_number}`", - "items": { - "type": "string" - }, - "type": "array" - }, - "restrictedServices": { - "description": "Google Cloud services that are subject to the Service Perimeter restrictions. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.", - "items": { - "type": "string" - }, - "type": "array" - }, - "vpcAccessibleServices": { - "$ref": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", - "description": "Configuration for APIs allowed within Perimeter." - } - }, - "type": "object" - }, - "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices": { - "description": "Specifies how APIs are allowed to communicate within the Service Perimeter.", - "id": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", - "properties": { - "allowedServices": { - "description": "The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.", - "items": { - "type": "string" - }, - "type": "array" - }, - "enableRestriction": { - "description": "Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.", - "type": "boolean" - } - }, - "type": "object" - }, - "IamPolicyAnalysis": { - "description": "An analysis message to group the query and results.", - "id": "IamPolicyAnalysis", - "properties": { - "analysisQuery": { - "$ref": "IamPolicyAnalysisQuery", - "description": "The analysis query." - }, - "analysisResults": { - "description": "A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is found.", - "items": { - "$ref": "IamPolicyAnalysisResult" - }, - "type": "array" - }, - "fullyExplored": { - "description": "Represents whether all entries in the analysis_results have been fully explored to answer the query.", - "type": "boolean" - } - }, - "type": "object" - }, - "IamPolicyAnalysisOutputConfig": { - "description": "Output configuration for export IAM policy analysis destination.", - "id": "IamPolicyAnalysisOutputConfig", - "properties": { - "gcsDestination": { - "$ref": "GcsDestination", - "description": "Destination on Cloud Storage." - } - }, - "type": "object" - }, - "IamPolicyAnalysisQuery": { - "description": "IAM policy analysis query message.", - "id": "IamPolicyAnalysisQuery", - "properties": { - "accessSelector": { - "$ref": "AccessSelector", - "description": "Optional. Specifies roles or permissions for analysis. This is optional." - }, - "identitySelector": { - "$ref": "IdentitySelector", - "description": "Optional. Specifies an identity for analysis." - }, - "parent": { - "description": "Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).", - "type": "string" - }, - "resourceSelector": { - "$ref": "ResourceSelector", - "description": "Optional. Specifies a resource for analysis." - } - }, - "type": "object" - }, - "IamPolicyAnalysisResult": { - "description": "IAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.", - "id": "IamPolicyAnalysisResult", - "properties": { - "accessControlLists": { - "description": "The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.", - "items": { - "$ref": "GoogleCloudAssetV1p4beta1AccessControlList" - }, - "type": "array" - }, - "attachedResourceFullName": { - "description": "The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the resource to which the iam_binding policy attaches.", - "type": "string" - }, - "fullyExplored": { - "description": "Represents whether all analyses on the iam_binding have successfully finished.", - "type": "boolean" - }, - "iamBinding": { - "$ref": "Binding", - "description": "The Cloud IAM policy binding under analysis." - }, - "identityList": { - "$ref": "GoogleCloudAssetV1p4beta1IdentityList", - "description": "The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request." - } - }, - "type": "object" - }, - "IdentitySelector": { - "description": "Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.", - "id": "IdentitySelector", - "properties": { - "identity": { - "description": "Required. The identity appear in the form of members in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "Options": { - "description": "Contains request options.", - "id": "Options", - "properties": { - "analyzeServiceAccountImpersonation": { - "description": "Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a GCP folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Default is false.", - "type": "boolean" - }, - "expandGroups": { - "description": "Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If identity_selector is specified, the identity in the result will be determined by the selector, and this flag will have no effect. Default is false.", - "type": "boolean" - }, - "expandResources": { - "description": "Optional. If true, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a GCP folder, the results will also include resources in that folder with permission P. If resource_selector is specified, the resource section of the result will be determined by the selector, and this flag will have no effect. Default is false.", - "type": "boolean" - }, - "expandRoles": { - "description": "Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If access_selector is specified, the access section of the result will be determined by the selector, and this flag will have no effect. Default is false.", - "type": "boolean" - }, - "outputGroupEdges": { - "description": "Optional. If true, the result will output group identity edges, starting from the binding's group members, to any expanded identities. Default is false.", - "type": "boolean" - }, - "outputResourceEdges": { - "description": "Optional. If true, the result will output resource edges, starting from the policy attached resource, to any expanded resources. Default is false.", - "type": "boolean" - } - }, - "type": "object" - }, - "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", - "id": "Policy", - "properties": { - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", - "items": { - "$ref": "AuditConfig" - }, - "type": "array" - }, - "bindings": { - "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", - "items": { - "$ref": "Binding" - }, - "type": "array" - }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ResourceSelector": { - "description": "Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.", - "id": "ResourceSelector", - "properties": { - "fullResourceName": { - "description": "Required. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Asset API", - "version": "v1p4beta1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/cloudbuild-v1alpha1.json b/discovery/cloudbuild-v1alpha1.json deleted file mode 100644 index 9b2cedd8867..00000000000 --- a/discovery/cloudbuild-v1alpha1.json +++ /dev/null @@ -1,2432 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://cloudbuild.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Build", - "description": "Creates and manages builds on Google Cloud Platform.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/cloud-build/docs/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "cloudbuild:v1alpha1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://cloudbuild.mtls.googleapis.com/", - "name": "cloudbuild", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "resources": { - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "cloudbuild.projects.locations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "cloudbuild.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "workerPools": { - "methods": { - "create": { - "description": "Creates a `WorkerPool` to run the builds, and returns the new worker pool.", - "flatPath": "v1alpha1/projects/{projectsId}/workerPools", - "httpMethod": "POST", - "id": "cloudbuild.projects.workerPools.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "ID of the parent project.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+parent}/workerPools", - "request": { - "$ref": "WorkerPool" - }, - "response": { - "$ref": "WorkerPool" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a `WorkerPool` by its project ID and WorkerPool name.", - "flatPath": "v1alpha1/projects/{projectsId}/workerPools/{workerPoolsId}", - "httpMethod": "DELETE", - "id": "cloudbuild.projects.workerPools.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The field will contain name of the resource requested, for example: \"projects/project-1/workerPools/workerpool-name\"", - "location": "path", - "pattern": "^projects/[^/]+/workerPools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns information about a `WorkerPool`.", - "flatPath": "v1alpha1/projects/{projectsId}/workerPools/{workerPoolsId}", - "httpMethod": "GET", - "id": "cloudbuild.projects.workerPools.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The field will contain name of the resource requested, for example: \"projects/project-1/workerPools/workerpool-name\"", - "location": "path", - "pattern": "^projects/[^/]+/workerPools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+name}", - "response": { - "$ref": "WorkerPool" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "List project's `WorkerPool`s.", - "flatPath": "v1alpha1/projects/{projectsId}/workerPools", - "httpMethod": "GET", - "id": "cloudbuild.projects.workerPools.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "ID of the parent project.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+parent}/workerPools", - "response": { - "$ref": "ListWorkerPoolsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Update a `WorkerPool`.", - "flatPath": "v1alpha1/projects/{projectsId}/workerPools/{workerPoolsId}", - "httpMethod": "PATCH", - "id": "cloudbuild.projects.workerPools.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The field will contain name of the resource requested, for example: \"projects/project-1/workerPools/workerpool-name\"", - "location": "path", - "pattern": "^projects/[^/]+/workerPools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+name}", - "request": { - "$ref": "WorkerPool" - }, - "response": { - "$ref": "WorkerPool" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - }, - "revision": "20221219", - "rootUrl": "https://cloudbuild.googleapis.com/", - "schemas": { - "ApprovalConfig": { - "description": "ApprovalConfig describes configuration for manual approval of a build.", - "id": "ApprovalConfig", - "properties": { - "approvalRequired": { - "description": "Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.", - "type": "boolean" - } - }, - "type": "object" - }, - "ApprovalResult": { - "description": "ApprovalResult describes the decision and associated metadata of a manual approval of a build.", - "id": "ApprovalResult", - "properties": { - "approvalTime": { - "description": "Output only. The time when the approval decision was made.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "approverAccount": { - "description": "Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.", - "readOnly": true, - "type": "string" - }, - "comment": { - "description": "Optional. An optional comment for this manual approval result.", - "type": "string" - }, - "decision": { - "description": "Required. The decision of this manual approval.", - "enum": [ - "DECISION_UNSPECIFIED", - "APPROVED", - "REJECTED" - ], - "enumDescriptions": [ - "Default enum type. This should not be used.", - "Build is approved.", - "Build is rejected." - ], - "type": "string" - }, - "url": { - "description": "Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.", - "type": "string" - } - }, - "type": "object" - }, - "ArtifactObjects": { - "description": "Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.", - "id": "ArtifactObjects", - "properties": { - "location": { - "description": "Cloud Storage bucket and optional object path, in the form \"gs://bucket/path/to/somewhere/\". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.", - "type": "string" - }, - "paths": { - "description": "Path globs used to match files in the build's workspace.", - "items": { - "type": "string" - }, - "type": "array" - }, - "timing": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing all artifact objects.", - "readOnly": true - } - }, - "type": "object" - }, - "ArtifactResult": { - "description": "An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.", - "id": "ArtifactResult", - "properties": { - "fileHash": { - "description": "The file hash of the artifact.", - "items": { - "$ref": "FileHashes" - }, - "type": "array" - }, - "location": { - "description": "The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.", - "type": "string" - } - }, - "type": "object" - }, - "Artifacts": { - "description": "Artifacts produced by a build that should be uploaded upon successful completion of all build steps.", - "id": "Artifacts", - "properties": { - "images": { - "description": "A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.", - "items": { - "type": "string" - }, - "type": "array" - }, - "mavenArtifacts": { - "description": "A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.", - "items": { - "$ref": "MavenArtifact" - }, - "type": "array" - }, - "objects": { - "$ref": "ArtifactObjects", - "description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." - }, - "pythonPackages": { - "description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", - "items": { - "$ref": "PythonPackage" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchCreateBitbucketServerConnectedRepositoriesResponse": { - "description": "Response of BatchCreateBitbucketServerConnectedRepositories RPC method including all successfully connected Bitbucket Server repositories.", - "id": "BatchCreateBitbucketServerConnectedRepositoriesResponse", - "properties": { - "bitbucketServerConnectedRepositories": { - "description": "The connected Bitbucket Server repositories.", - "items": { - "$ref": "BitbucketServerConnectedRepository" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata": { - "description": "Metadata for `BatchCreateBitbucketServerConnectedRepositories` operation.", - "id": "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "config": { - "description": "The name of the `BitbucketServerConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "BatchCreateGitLabConnectedRepositoriesResponse": { - "description": "Response of BatchCreateGitLabConnectedRepositories RPC method.", - "id": "BatchCreateGitLabConnectedRepositoriesResponse", - "properties": { - "gitlabConnectedRepositories": { - "description": "The GitLab connected repository requests' responses.", - "items": { - "$ref": "GitLabConnectedRepository" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchCreateGitLabConnectedRepositoriesResponseMetadata": { - "description": "Metadata for `BatchCreateGitLabConnectedRepositories` operation.", - "id": "BatchCreateGitLabConnectedRepositoriesResponseMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "config": { - "description": "The name of the `GitLabConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "BatchCreateRepositoriesResponse": { - "description": "Message for response of creating repositories in batch.", - "id": "BatchCreateRepositoriesResponse", - "properties": { - "repositories": { - "description": "Repository resources created.", - "items": { - "$ref": "Repository" - }, - "type": "array" - } - }, - "type": "object" - }, - "BitbucketServerConnectedRepository": { - "description": "/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository.", - "id": "BitbucketServerConnectedRepository", - "properties": { - "parent": { - "description": "The name of the `BitbucketServerConfig` that added connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", - "type": "string" - }, - "repo": { - "$ref": "BitbucketServerRepositoryId", - "description": "The Bitbucket Server repositories to connect." - }, - "status": { - "$ref": "Status", - "description": "Output only. The status of the repo connection request.", - "readOnly": true - } - }, - "type": "object" - }, - "BitbucketServerRepositoryId": { - "description": "BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.", - "id": "BitbucketServerRepositoryId", - "properties": { - "projectKey": { - "description": "Required. Identifier for the project storing the repository.", - "type": "string" - }, - "repoSlug": { - "description": "Required. Identifier for the repository.", - "type": "string" - }, - "webhookId": { - "description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", - "format": "int32", - "readOnly": true, - "type": "integer" - } - }, - "type": "object" - }, - "Build": { - "description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.", - "id": "Build", - "properties": { - "approval": { - "$ref": "BuildApproval", - "description": "Output only. Describes this build's approval configuration, status, and result.", - "readOnly": true - }, - "artifacts": { - "$ref": "Artifacts", - "description": "Artifacts produced by the build that should be uploaded upon successful completion of all build steps." - }, - "availableSecrets": { - "$ref": "Secrets", - "description": "Secrets and secret environment variables." - }, - "buildTriggerId": { - "description": "Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. Time at which the request to create the build was received.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "failureInfo": { - "$ref": "FailureInfo", - "description": "Output only. Contains information about the build when status=FAILURE.", - "readOnly": true - }, - "finishTime": { - "description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "id": { - "description": "Output only. Unique identifier of the build.", - "readOnly": true, - "type": "string" - }, - "images": { - "description": "A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the `Build` resource's results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logUrl": { - "description": "Output only. URL to logs for this build in Google Cloud Console.", - "readOnly": true, - "type": "string" - }, - "logsBucket": { - "description": "Google Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.", - "type": "string" - }, - "name": { - "description": "Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.", - "readOnly": true, - "type": "string" - }, - "options": { - "$ref": "BuildOptions", - "description": "Special options for this build." - }, - "projectId": { - "description": "Output only. ID of the project.", - "readOnly": true, - "type": "string" - }, - "queueTtl": { - "description": "TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be `EXPIRED`. The TTL starts ticking from create_time.", - "format": "google-duration", - "type": "string" - }, - "results": { - "$ref": "Results", - "description": "Output only. Results of the build.", - "readOnly": true - }, - "secrets": { - "description": "Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets", - "items": { - "$ref": "Secret" - }, - "type": "array" - }, - "serviceAccount": { - "description": "IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. ", - "type": "string" - }, - "source": { - "$ref": "Source", - "description": "The location of the source files to build." - }, - "sourceProvenance": { - "$ref": "SourceProvenance", - "description": "Output only. A permanent fixed identifier for source.", - "readOnly": true - }, - "startTime": { - "description": "Output only. Time at which execution of the build was started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "status": { - "description": "Output only. Status of the build.", - "enum": [ - "STATUS_UNKNOWN", - "PENDING", - "QUEUED", - "WORKING", - "SUCCESS", - "FAILURE", - "INTERNAL_ERROR", - "TIMEOUT", - "CANCELLED", - "EXPIRED" - ], - "enumDescriptions": [ - "Status of the build is unknown.", - "Build has been created and is pending execution and queuing. It has not been queued.", - "Build or step is queued; work has not yet begun.", - "Build or step is being executed.", - "Build or step finished successfully.", - "Build or step failed to complete successfully.", - "Build or step failed due to an internal cause.", - "Build or step took longer than was allowed.", - "Build or step was canceled by a user.", - "Build was enqueued for longer than the value of `queue_ttl`." - ], - "readOnly": true, - "type": "string" - }, - "statusDetail": { - "description": "Output only. Customer-readable message about the current status.", - "readOnly": true, - "type": "string" - }, - "steps": { - "description": "Required. The operations to be performed on the workspace.", - "items": { - "$ref": "BuildStep" - }, - "type": "array" - }, - "substitutions": { - "additionalProperties": { - "type": "string" - }, - "description": "Substitutions data for `Build` resource.", - "type": "object" - }, - "tags": { - "description": "Tags for annotation of a `Build`. These are not docker tags.", - "items": { - "type": "string" - }, - "type": "array" - }, - "timeout": { - "description": "Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default time is ten minutes.", - "format": "google-duration", - "type": "string" - }, - "timing": { - "additionalProperties": { - "$ref": "TimeSpan" - }, - "description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.", - "readOnly": true, - "type": "object" - }, - "warnings": { - "description": "Output only. Non-fatal problems encountered during the execution of the build.", - "items": { - "$ref": "Warning" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "BuildApproval": { - "description": "BuildApproval describes a build's approval configuration, state, and result.", - "id": "BuildApproval", - "properties": { - "config": { - "$ref": "ApprovalConfig", - "description": "Output only. Configuration for manual approval of this build.", - "readOnly": true - }, - "result": { - "$ref": "ApprovalResult", - "description": "Output only. Result of manual approval for this Build.", - "readOnly": true - }, - "state": { - "description": "Output only. The state of this build's approval.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "APPROVED", - "REJECTED", - "CANCELLED" - ], - "enumDescriptions": [ - "Default enum type. This should not be used.", - "Build approval is pending.", - "Build approval has been approved.", - "Build approval has been rejected.", - "Build was cancelled while it was still pending approval." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "BuildOperationMetadata": { - "description": "Metadata for build operations.", - "id": "BuildOperationMetadata", - "properties": { - "build": { - "$ref": "Build", - "description": "The build that the operation is tracking." - } - }, - "type": "object" - }, - "BuildOptions": { - "description": "Optional arguments to enable specific features of builds.", - "id": "BuildOptions", - "properties": { - "diskSizeGb": { - "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error.", - "format": "int64", - "type": "string" - }, - "dynamicSubstitutions": { - "description": "Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.", - "type": "boolean" - }, - "env": { - "description": "A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", - "items": { - "type": "string" - }, - "type": "array" - }, - "logStreamingOption": { - "description": "Option to define build log streaming behavior to Google Cloud Storage.", - "enum": [ - "STREAM_DEFAULT", - "STREAM_ON", - "STREAM_OFF" - ], - "enumDescriptions": [ - "Service may automatically determine build log streaming behavior.", - "Build logs should be streamed to Google Cloud Storage.", - "Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed." - ], - "type": "string" - }, - "logging": { - "description": "Option to specify the logging mode, which determines if and where build logs are stored.", - "enum": [ - "LOGGING_UNSPECIFIED", - "LEGACY", - "GCS_ONLY", - "STACKDRIVER_ONLY", - "CLOUD_LOGGING_ONLY", - "NONE" - ], - "enumDescriptions": [ - "The service determines the logging mode. The default is `LEGACY`. Do not rely on the default logging behavior as it may change in the future.", - "Build logs are stored in Cloud Logging and Cloud Storage.", - "Build logs are stored in Cloud Storage.", - "This option is the same as CLOUD_LOGGING_ONLY.", - "Build logs are stored in Cloud Logging. Selecting this option will not allow [logs streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log).", - "Turn off all logging. No build logs will be captured." - ], - "type": "string" - }, - "machineType": { - "description": "Compute Engine machine type on which to run the build.", - "enum": [ - "UNSPECIFIED", - "N1_HIGHCPU_8", - "N1_HIGHCPU_32", - "E2_HIGHCPU_8", - "E2_HIGHCPU_32" - ], - "enumDescriptions": [ - "Standard machine type.", - "Highcpu machine with 8 CPUs.", - "Highcpu machine with 32 CPUs.", - "Highcpu e2 machine with 8 CPUs.", - "Highcpu e2 machine with 32 CPUs." - ], - "type": "string" - }, - "pool": { - "$ref": "PoolOption", - "description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information." - }, - "requestedVerifyOption": { - "description": "Requested verifiability options.", - "enum": [ - "NOT_VERIFIED", - "VERIFIED" - ], - "enumDescriptions": [ - "Not a verifiable build (the default).", - "Build must be verified." - ], - "type": "string" - }, - "secretEnv": { - "description": "A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.", - "items": { - "type": "string" - }, - "type": "array" - }, - "sourceProvenanceHash": { - "description": "Requested hash for SourceProvenance.", - "items": { - "enum": [ - "NONE", - "SHA256", - "MD5" - ], - "enumDescriptions": [ - "No hash requested.", - "Use a sha256 hash.", - "Use a md5 hash." - ], - "type": "string" - }, - "type": "array" - }, - "substitutionOption": { - "description": "Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.", - "enum": [ - "MUST_MATCH", - "ALLOW_LOOSE" - ], - "enumDescriptions": [ - "Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.", - "Do not fail the build if error in substitutions checks." - ], - "type": "string" - }, - "volumes": { - "description": "Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.", - "items": { - "$ref": "Volume" - }, - "type": "array" - }, - "workerPool": { - "description": "This field deprecated; please use `pool.name` instead.", - "type": "string" - } - }, - "type": "object" - }, - "BuildStep": { - "description": "A step in the build pipeline.", - "id": "BuildStep", - "properties": { - "allowExitCodes": { - "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "allowFailure": { - "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", - "type": "boolean" - }, - "args": { - "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", - "items": { - "type": "string" - }, - "type": "array" - }, - "dir": { - "description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.", - "type": "string" - }, - "entrypoint": { - "description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.", - "type": "string" - }, - "env": { - "description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", - "items": { - "type": "string" - }, - "type": "array" - }, - "exitCode": { - "description": "Output only. Return code from running the step.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "id": { - "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", - "type": "string" - }, - "name": { - "description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.", - "type": "string" - }, - "pullTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pulling this build step's builder image only.", - "readOnly": true - }, - "script": { - "description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", - "type": "string" - }, - "secretEnv": { - "description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "status": { - "description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", - "enum": [ - "STATUS_UNKNOWN", - "PENDING", - "QUEUED", - "WORKING", - "SUCCESS", - "FAILURE", - "INTERNAL_ERROR", - "TIMEOUT", - "CANCELLED", - "EXPIRED" - ], - "enumDescriptions": [ - "Status of the build is unknown.", - "Build has been created and is pending execution and queuing. It has not been queued.", - "Build or step is queued; work has not yet begun.", - "Build or step is being executed.", - "Build or step finished successfully.", - "Build or step failed to complete successfully.", - "Build or step failed due to an internal cause.", - "Build or step took longer than was allowed.", - "Build or step was canceled by a user.", - "Build was enqueued for longer than the value of `queue_ttl`." - ], - "readOnly": true, - "type": "string" - }, - "timeout": { - "description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.", - "format": "google-duration", - "type": "string" - }, - "timing": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for executing this build step.", - "readOnly": true - }, - "volumes": { - "description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.", - "items": { - "$ref": "Volume" - }, - "type": "array" - }, - "waitFor": { - "description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuiltImage": { - "description": "An image built by the pipeline.", - "id": "BuiltImage", - "properties": { - "digest": { - "description": "Docker Registry 2.0 digest.", - "type": "string" - }, - "name": { - "description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", - "type": "string" - }, - "pushTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing the specified image.", - "readOnly": true - } - }, - "type": "object" - }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "CreateBitbucketServerConfigOperationMetadata": { - "description": "Metadata for `CreateBitbucketServerConfig` operation.", - "id": "CreateBitbucketServerConfigOperationMetadata", - "properties": { - "bitbucketServerConfig": { - "description": "The resource name of the BitbucketServerConfig to be created. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", - "type": "string" - }, - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "CreateGitHubEnterpriseConfigOperationMetadata": { - "description": "Metadata for `CreateGithubEnterpriseConfig` operation.", - "id": "CreateGitHubEnterpriseConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "CreateGitLabConfigOperationMetadata": { - "description": "Metadata for `CreateGitLabConfig` operation.", - "id": "CreateGitLabConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "gitlabConfig": { - "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "CreateWorkerPoolOperationMetadata": { - "description": "Metadata for the `CreateWorkerPool` operation.", - "id": "CreateWorkerPoolOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "workerPool": { - "description": "The resource name of the `WorkerPool` to create. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", - "type": "string" - } - }, - "type": "object" - }, - "DeleteBitbucketServerConfigOperationMetadata": { - "description": "Metadata for `DeleteBitbucketServerConfig` operation.", - "id": "DeleteBitbucketServerConfigOperationMetadata", - "properties": { - "bitbucketServerConfig": { - "description": "The resource name of the BitbucketServerConfig to be deleted. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", - "type": "string" - }, - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "DeleteGitHubEnterpriseConfigOperationMetadata": { - "description": "Metadata for `DeleteGitHubEnterpriseConfig` operation.", - "id": "DeleteGitHubEnterpriseConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be deleted. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "DeleteGitLabConfigOperationMetadata": { - "description": "Metadata for `DeleteGitLabConfig` operation.", - "id": "DeleteGitLabConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "gitlabConfig": { - "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "DeleteWorkerPoolOperationMetadata": { - "description": "Metadata for the `DeleteWorkerPool` operation.", - "id": "DeleteWorkerPoolOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "workerPool": { - "description": "The resource name of the `WorkerPool` being deleted. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "FailureInfo": { - "description": "A fatal problem encountered during the execution of the build.", - "id": "FailureInfo", - "properties": { - "detail": { - "description": "Explains the failure issue in more detail using hard-coded text.", - "type": "string" - }, - "type": { - "description": "The name of the failure.", - "enum": [ - "FAILURE_TYPE_UNSPECIFIED", - "PUSH_FAILED", - "PUSH_IMAGE_NOT_FOUND", - "PUSH_NOT_AUTHORIZED", - "LOGGING_FAILURE", - "USER_BUILD_STEP", - "FETCH_SOURCE_FAILED" - ], - "enumDescriptions": [ - "Type unspecified", - "Unable to push the image to the repository.", - "Final image not found.", - "Unauthorized push of the final image.", - "Backend logging failures. Should retry.", - "A build step has failed.", - "The source fetching has failed." - ], - "type": "string" - } - }, - "type": "object" - }, - "FileHashes": { - "description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.", - "id": "FileHashes", - "properties": { - "fileHash": { - "description": "Collection of file hashes.", - "items": { - "$ref": "Hash" - }, - "type": "array" - } - }, - "type": "object" - }, - "GitLabConnectedRepository": { - "description": "GitLabConnectedRepository represents a GitLab connected repository request response.", - "id": "GitLabConnectedRepository", - "properties": { - "parent": { - "description": "The name of the `GitLabConfig` that added connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", - "type": "string" - }, - "repo": { - "$ref": "GitLabRepositoryId", - "description": "The GitLab repositories to connect." - }, - "status": { - "$ref": "Status", - "description": "Output only. The status of the repo connection request.", - "readOnly": true - } - }, - "type": "object" - }, - "GitLabRepositoryId": { - "description": "GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise", - "id": "GitLabRepositoryId", - "properties": { - "id": { - "description": "Required. Identifier for the repository. example: \"namespace/project-slug\", namespace is usually the username or group ID", - "type": "string" - }, - "webhookId": { - "description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", - "format": "int32", - "readOnly": true, - "type": "integer" - } - }, - "type": "object" - }, - "GoogleDevtoolsCloudbuildV2OperationMetadata": { - "description": "Represents the metadata of the long-running operation.", - "id": "GoogleDevtoolsCloudbuildV2OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "HTTPDelivery": { - "description": "HTTPDelivery is the delivery configuration for an HTTP notification.", - "id": "HTTPDelivery", - "properties": { - "uri": { - "description": "The URI to which JSON-containing HTTP POST requests should be sent.", - "type": "string" - } - }, - "type": "object" - }, - "Hash": { - "description": "Container message for hash values.", - "id": "Hash", - "properties": { - "type": { - "description": "The type of hash that was performed.", - "enum": [ - "NONE", - "SHA256", - "MD5" - ], - "enumDescriptions": [ - "No hash requested.", - "Use a sha256 hash.", - "Use a md5 hash." - ], - "type": "string" - }, - "value": { - "description": "The hash value.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "InlineSecret": { - "description": "Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.", - "id": "InlineSecret", - "properties": { - "envMap": { - "additionalProperties": { - "format": "byte", - "type": "string" - }, - "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", - "type": "object" - }, - "kmsKeyName": { - "description": "Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*/locations/*/keyRings/*/cryptoKeys/*", - "type": "string" - } - }, - "type": "object" - }, - "ListWorkerPoolsResponse": { - "description": "Response containing existing `WorkerPools`.", - "id": "ListWorkerPoolsResponse", - "properties": { - "workerPools": { - "description": "`WorkerPools` for the project.", - "items": { - "$ref": "WorkerPool" - }, - "type": "array" - } - }, - "type": "object" - }, - "MavenArtifact": { - "description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.", - "id": "MavenArtifact", - "properties": { - "artifactId": { - "description": "Maven `artifactId` value used when uploading the artifact to Artifact Registry.", - "type": "string" - }, - "groupId": { - "description": "Maven `groupId` value used when uploading the artifact to Artifact Registry.", - "type": "string" - }, - "path": { - "description": "Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", - "type": "string" - }, - "repository": { - "description": "Artifact Registry repository, in the form \"https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY\" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.", - "type": "string" - }, - "version": { - "description": "Maven `version` value used when uploading the artifact to Artifact Registry.", - "type": "string" - } - }, - "type": "object" - }, - "Network": { - "description": "Network describes the GCP network used to create workers in.", - "id": "Network", - "properties": { - "network": { - "description": "Network on which the workers are created. \"default\" network is used if empty.", - "type": "string" - }, - "projectId": { - "description": "Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.", - "type": "string" - }, - "subnetwork": { - "description": "Subnetwork on which the workers are created. \"default\" subnetwork is used if empty.", - "type": "string" - } - }, - "type": "object" - }, - "Notification": { - "description": "Notification is the container which holds the data that is relevant to this particular notification.", - "id": "Notification", - "properties": { - "filter": { - "description": "The filter string to use for notification filtering. Currently, this is assumed to be a CEL program. See https://opensource.google/projects/cel for more.", - "type": "string" - }, - "httpDelivery": { - "$ref": "HTTPDelivery", - "description": "Configuration for HTTP delivery." - }, - "slackDelivery": { - "$ref": "SlackDelivery", - "description": "Configuration for Slack delivery." - }, - "smtpDelivery": { - "$ref": "SMTPDelivery", - "description": "Configuration for SMTP (email) delivery." - }, - "structDelivery": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Escape hatch for users to supply custom delivery configs.", - "type": "object" - } - }, - "type": "object" - }, - "NotifierConfig": { - "description": "NotifierConfig is the top-level configuration message.", - "id": "NotifierConfig", - "properties": { - "apiVersion": { - "description": "The API version of this configuration format.", - "type": "string" - }, - "kind": { - "description": "The type of notifier to use (e.g. SMTPNotifier).", - "type": "string" - }, - "metadata": { - "$ref": "NotifierMetadata", - "description": "Metadata for referring to/handling/deploying this notifier." - }, - "spec": { - "$ref": "NotifierSpec", - "description": "The actual configuration for this notifier." - } - }, - "type": "object" - }, - "NotifierMetadata": { - "description": "NotifierMetadata contains the data which can be used to reference or describe this notifier.", - "id": "NotifierMetadata", - "properties": { - "name": { - "description": "The human-readable and user-given name for the notifier. For example: \"repo-merge-email-notifier\".", - "type": "string" - }, - "notifier": { - "description": "The string representing the name and version of notifier to deploy. Expected to be of the form of \"/:\". For example: \"gcr.io/my-project/notifiers/smtp:1.2.34\".", - "type": "string" - } - }, - "type": "object" - }, - "NotifierSecret": { - "description": "NotifierSecret is the container that maps a secret name (reference) to its Google Cloud Secret Manager resource path.", - "id": "NotifierSecret", - "properties": { - "name": { - "description": "Name is the local name of the secret, such as the verbatim string \"my-smtp-password\".", - "type": "string" - }, - "value": { - "description": "Value is interpreted to be a resource path for fetching the actual (versioned) secret data for this secret. For example, this would be a Google Cloud Secret Manager secret version resource path like: \"projects/my-project/secrets/my-secret/versions/latest\".", - "type": "string" - } - }, - "type": "object" - }, - "NotifierSecretRef": { - "description": "NotifierSecretRef contains the reference to a secret stored in the corresponding NotifierSpec.", - "id": "NotifierSecretRef", - "properties": { - "secretRef": { - "description": "The value of `secret_ref` should be a `name` that is registered in a `Secret` in the `secrets` list of the `Spec`.", - "type": "string" - } - }, - "type": "object" - }, - "NotifierSpec": { - "description": "NotifierSpec is the configuration container for notifications.", - "id": "NotifierSpec", - "properties": { - "notification": { - "$ref": "Notification", - "description": "The configuration of this particular notifier." - }, - "secrets": { - "description": "Configurations for secret resources used by this particular notifier.", - "items": { - "$ref": "NotifierSecret" - }, - "type": "array" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "OperationMetadata": { - "description": "Represents the metadata of the long-running operation.", - "id": "OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "cancelRequested": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "statusDetail": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "PoolOption": { - "description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.", - "id": "PoolOption", - "properties": { - "name": { - "description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}", - "type": "string" - } - }, - "type": "object" - }, - "ProcessAppManifestCallbackOperationMetadata": { - "description": "Metadata for `ProcessAppManifestCallback` operation.", - "id": "ProcessAppManifestCallbackOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "PythonPackage": { - "description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.", - "id": "PythonPackage", - "properties": { - "paths": { - "description": "Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.", - "items": { - "type": "string" - }, - "type": "array" - }, - "repository": { - "description": "Artifact Registry repository, in the form \"https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY\" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.", - "type": "string" - } - }, - "type": "object" - }, - "RepoSource": { - "description": "Location of the source in a Google Cloud Source Repository.", - "id": "RepoSource", - "properties": { - "branchName": { - "description": "Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", - "type": "string" - }, - "commitSha": { - "description": "Explicit commit SHA to build.", - "type": "string" - }, - "dir": { - "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", - "type": "string" - }, - "invertRegex": { - "description": "Only trigger a build if the revision regex does NOT match the revision regex.", - "type": "boolean" - }, - "projectId": { - "description": "ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", - "type": "string" - }, - "repoName": { - "description": "Name of the Cloud Source Repository.", - "type": "string" - }, - "substitutions": { - "additionalProperties": { - "type": "string" - }, - "description": "Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", - "type": "object" - }, - "tagName": { - "description": "Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", - "type": "string" - } - }, - "type": "object" - }, - "Repository": { - "description": "A repository associated to a parent connection.", - "id": "Repository", - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "description": "Allows clients to store small amounts of arbitrary data.", - "type": "object" - }, - "createTime": { - "description": "Output only. Server assigned timestamp for when the connection was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "etag": { - "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", - "type": "string" - }, - "name": { - "description": "Immutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`.", - "type": "string" - }, - "remoteUri": { - "description": "Required. Git Clone HTTPS URI.", - "type": "string" - }, - "updateTime": { - "description": "Output only. Server assigned timestamp for when the connection was updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Results": { - "description": "Artifacts created by the build pipeline.", - "id": "Results", - "properties": { - "artifactManifest": { - "description": "Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", - "type": "string" - }, - "artifactTiming": { - "$ref": "TimeSpan", - "description": "Time to push all non-container artifacts to Cloud Storage." - }, - "buildStepImages": { - "description": "List of build step digests, in the order corresponding to build step indices.", - "items": { - "type": "string" - }, - "type": "array" - }, - "buildStepOutputs": { - "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 4KB of data is stored.", - "items": { - "format": "byte", - "type": "string" - }, - "type": "array" - }, - "images": { - "description": "Container images that were built as a part of the build.", - "items": { - "$ref": "BuiltImage" - }, - "type": "array" - }, - "mavenArtifacts": { - "description": "Maven artifacts uploaded to Artifact Registry at the end of the build.", - "items": { - "$ref": "UploadedMavenArtifact" - }, - "type": "array" - }, - "numArtifacts": { - "description": "Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", - "format": "int64", - "type": "string" - }, - "pythonPackages": { - "description": "Python artifacts uploaded to Artifact Registry at the end of the build.", - "items": { - "$ref": "UploadedPythonPackage" - }, - "type": "array" - } - }, - "type": "object" - }, - "RunWorkflowCustomOperationMetadata": { - "description": "Represents the custom metadata of the RunWorkflow long-running operation.", - "id": "RunWorkflowCustomOperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "pipelineRunId": { - "description": "Output only. ID of the pipeline run created by RunWorkflow.", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "SMTPDelivery": { - "description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.", - "id": "SMTPDelivery", - "properties": { - "fromAddress": { - "description": "This is the SMTP account/email that appears in the `From:` of the email. If empty, it is assumed to be sender.", - "type": "string" - }, - "password": { - "$ref": "NotifierSecretRef", - "description": "The SMTP sender's password." - }, - "port": { - "description": "The SMTP port of the server.", - "type": "string" - }, - "recipientAddresses": { - "description": "This is the list of addresses to which we send the email (i.e. in the `To:` of the email).", - "items": { - "type": "string" - }, - "type": "array" - }, - "senderAddress": { - "description": "This is the SMTP account/email that is used to send the message.", - "type": "string" - }, - "server": { - "description": "The address of the SMTP server.", - "type": "string" - } - }, - "type": "object" - }, - "Secret": { - "description": "Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `available_secrets` instead of using `kmsKeyName` with `secret`. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.", - "id": "Secret", - "properties": { - "kmsKeyName": { - "description": "Cloud KMS key name to use to decrypt these envs.", - "type": "string" - }, - "secretEnv": { - "additionalProperties": { - "format": "byte", - "type": "string" - }, - "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", - "type": "object" - } - }, - "type": "object" - }, - "SecretManagerSecret": { - "description": "Pairs a secret environment variable with a SecretVersion in Secret Manager.", - "id": "SecretManagerSecret", - "properties": { - "env": { - "description": "Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.", - "type": "string" - }, - "versionName": { - "description": "Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*", - "type": "string" - } - }, - "type": "object" - }, - "Secrets": { - "description": "Secrets and secret environment variables.", - "id": "Secrets", - "properties": { - "inline": { - "description": "Secrets encrypted with KMS key and the associated secret environment variable.", - "items": { - "$ref": "InlineSecret" - }, - "type": "array" - }, - "secretManager": { - "description": "Secrets in Secret Manager and associated secret environment variable.", - "items": { - "$ref": "SecretManagerSecret" - }, - "type": "array" - } - }, - "type": "object" - }, - "SlackDelivery": { - "description": "SlackDelivery is the delivery configuration for delivering Slack messages via webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/webhooks.", - "id": "SlackDelivery", - "properties": { - "webhookUri": { - "$ref": "NotifierSecretRef", - "description": "The secret reference for the Slack webhook URI for sending messages to a channel." - } - }, - "type": "object" - }, - "Source": { - "description": "Location of the source in a supported storage service.", - "id": "Source", - "properties": { - "repoSource": { - "$ref": "RepoSource", - "description": "If provided, get the source from this location in a Cloud Source Repository." - }, - "storageSource": { - "$ref": "StorageSource", - "description": "If provided, get the source from this location in Google Cloud Storage." - }, - "storageSourceManifest": { - "$ref": "StorageSourceManifest", - "description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)." - } - }, - "type": "object" - }, - "SourceProvenance": { - "description": "Provenance of the source. Ways to find the original source, or verify that some source was used for this build.", - "id": "SourceProvenance", - "properties": { - "fileHashes": { - "additionalProperties": { - "$ref": "FileHashes" - }, - "description": "Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file.", - "readOnly": true, - "type": "object" - }, - "resolvedRepoSource": { - "$ref": "RepoSource", - "description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." - }, - "resolvedStorageSource": { - "$ref": "StorageSource", - "description": "A copy of the build's `source.storage_source`, if exists, with any generations resolved." - }, - "resolvedStorageSourceManifest": { - "$ref": "StorageSourceManifest", - "description": "A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview." - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "StorageSource": { - "description": "Location of the source in an archive file in Google Cloud Storage.", - "id": "StorageSource", - "properties": { - "bucket": { - "description": "Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", - "type": "string" - }, - "generation": { - "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", - "type": "string" - } - }, - "type": "object" - }, - "StorageSourceManifest": { - "description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).", - "id": "StorageSourceManifest", - "properties": { - "bucket": { - "description": "Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", - "type": "string" - }, - "generation": { - "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Google Cloud Storage object containing the source manifest. This object must be a JSON file.", - "type": "string" - } - }, - "type": "object" - }, - "TimeSpan": { - "description": "Start and end times for a build execution phase.", - "id": "TimeSpan", - "properties": { - "endTime": { - "description": "End of time span.", - "format": "google-datetime", - "type": "string" - }, - "startTime": { - "description": "Start of time span.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "UpdateBitbucketServerConfigOperationMetadata": { - "description": "Metadata for `UpdateBitbucketServerConfig` operation.", - "id": "UpdateBitbucketServerConfigOperationMetadata", - "properties": { - "bitbucketServerConfig": { - "description": "The resource name of the BitbucketServerConfig to be updated. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", - "type": "string" - }, - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "UpdateGitHubEnterpriseConfigOperationMetadata": { - "description": "Metadata for `UpdateGitHubEnterpriseConfig` operation.", - "id": "UpdateGitHubEnterpriseConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be updated. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "UpdateGitLabConfigOperationMetadata": { - "description": "Metadata for `UpdateGitLabConfig` operation.", - "id": "UpdateGitLabConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "gitlabConfig": { - "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "UpdateWorkerPoolOperationMetadata": { - "description": "Metadata for the `UpdateWorkerPool` operation.", - "id": "UpdateWorkerPoolOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "workerPool": { - "description": "The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", - "type": "string" - } - }, - "type": "object" - }, - "UploadedMavenArtifact": { - "description": "A Maven artifact uploaded using the MavenArtifact directive.", - "id": "UploadedMavenArtifact", - "properties": { - "fileHashes": { - "$ref": "FileHashes", - "description": "Hash types and values of the Maven Artifact." - }, - "pushTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing the specified artifact.", - "readOnly": true - }, - "uri": { - "description": "URI of the uploaded artifact.", - "type": "string" - } - }, - "type": "object" - }, - "UploadedPythonPackage": { - "description": "Artifact uploaded using the PythonPackage directive.", - "id": "UploadedPythonPackage", - "properties": { - "fileHashes": { - "$ref": "FileHashes", - "description": "Hash types and values of the Python Artifact." - }, - "pushTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing the specified artifact.", - "readOnly": true - }, - "uri": { - "description": "URI of the uploaded artifact.", - "type": "string" - } - }, - "type": "object" - }, - "Volume": { - "description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.", - "id": "Volume", - "properties": { - "name": { - "description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.", - "type": "string" - }, - "path": { - "description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.", - "type": "string" - } - }, - "type": "object" - }, - "Warning": { - "description": "A non-fatal problem encountered during the execution of the build.", - "id": "Warning", - "properties": { - "priority": { - "description": "The priority for this warning.", - "enum": [ - "PRIORITY_UNSPECIFIED", - "INFO", - "WARNING", - "ALERT" - ], - "enumDescriptions": [ - "Should not be used.", - "e.g. deprecation warnings and alternative feature highlights.", - "e.g. automated detection of possible issues with the build.", - "e.g. alerts that a feature used in the build is pending removal" - ], - "type": "string" - }, - "text": { - "description": "Explanation of the warning generated.", - "type": "string" - } - }, - "type": "object" - }, - "WorkerConfig": { - "description": "WorkerConfig defines the configuration to be used for a creating workers in the pool.", - "id": "WorkerConfig", - "properties": { - "diskSizeGb": { - "description": "Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If `0` is specified, Cloud Build will use a standard disk size. `disk_size` is overridden if you specify a different disk size in `build_options`. In this case, a VM with a disk size specified in the `build_options` will be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions", - "format": "int64", - "type": "string" - }, - "machineType": { - "description": "Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. `machine_type` is overridden if you specify a different machine type in `build_options`. In this case, the VM specified in the `build_options` will be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes", - "type": "string" - }, - "network": { - "$ref": "Network", - "description": "The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network." - }, - "tag": { - "description": "The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is `worker`.", - "type": "string" - } - }, - "type": "object" - }, - "WorkerPool": { - "description": "Configuration for a WorkerPool to run the builds. Workers are machines that Cloud Build uses to run your builds. By default, all workers run in a project owned by Cloud Build. To have full control over the workers that execute your builds -- such as enabling them to access private resources on your private network -- you can request Cloud Build to run the workers in your own project by creating a custom workers pool.", - "id": "WorkerPool", - "properties": { - "createTime": { - "description": "Output only. Time at which the request to create the `WorkerPool` was received.", - "format": "google-datetime", - "type": "string" - }, - "deleteTime": { - "description": "Output only. Time at which the request to delete the `WorkerPool` was received.", - "format": "google-datetime", - "type": "string" - }, - "name": { - "description": "User-defined name of the `WorkerPool`.", - "type": "string" - }, - "projectId": { - "description": "The project ID of the GCP project for which the `WorkerPool` is created.", - "type": "string" - }, - "regions": { - "description": "List of regions to create the `WorkerPool`. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existing `WorkerPool` will not be enabled in the new region automatically; you must add the new region to the `regions` field to enable the `WorkerPool` in that region.", - "items": { - "enum": [ - "REGION_UNSPECIFIED", - "us-central1", - "us-west1", - "us-east1", - "us-east4" - ], - "enumDescriptions": [ - "no region", - "us-central1 region", - "us-west1 region", - "us-east1 region", - "us-east4 region" - ], - "type": "string" - }, - "type": "array" - }, - "serviceAccountEmail": { - "description": "Output only. The service account used to manage the `WorkerPool`. The service account must have the Compute Instance Admin (Beta) permission at the project level.", - "type": "string" - }, - "status": { - "description": "Output only. WorkerPool Status.", - "enum": [ - "STATUS_UNSPECIFIED", - "CREATING", - "RUNNING", - "DELETING", - "DELETED" - ], - "enumDescriptions": [ - "Status of the `WorkerPool` is unknown.", - "`WorkerPool` is being created.", - "`WorkerPool` is running.", - "`WorkerPool` is being deleted: cancelling builds and draining workers.", - "`WorkerPool` is deleted." - ], - "type": "string" - }, - "updateTime": { - "description": "Output only. Time at which the request to update the `WorkerPool` was received.", - "format": "google-datetime", - "type": "string" - }, - "workerConfig": { - "$ref": "WorkerConfig", - "description": "Configuration to be used for a creating workers in the `WorkerPool`." - }, - "workerCount": { - "description": "Total number of workers to be created across all requested regions.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Build API", - "version": "v1alpha1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/cloudbuild-v1alpha2.json b/discovery/cloudbuild-v1alpha2.json deleted file mode 100644 index 818e33cb432..00000000000 --- a/discovery/cloudbuild-v1alpha2.json +++ /dev/null @@ -1,2406 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://cloudbuild.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Build", - "description": "Creates and manages builds on Google Cloud Platform.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/cloud-build/docs/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "cloudbuild:v1alpha2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://cloudbuild.mtls.googleapis.com/", - "name": "cloudbuild", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "resources": { - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "cloudbuild.projects.locations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "cloudbuild.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "workerPools": { - "methods": { - "create": { - "description": "Creates a `WorkerPool` to run the builds, and returns the new worker pool.", - "flatPath": "v1alpha2/projects/{projectsId}/workerPools", - "httpMethod": "POST", - "id": "cloudbuild.projects.workerPools.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The parent resource where this book will be created. Format: projects/{project}", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "workerPoolId": { - "description": "Required. Immutable. The ID to use for the `WorkerPool`, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/{+parent}/workerPools", - "request": { - "$ref": "WorkerPool" - }, - "response": { - "$ref": "WorkerPool" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a `WorkerPool`.", - "flatPath": "v1alpha2/projects/{projectsId}/workerPools/{workerPoolsId}", - "httpMethod": "DELETE", - "id": "cloudbuild.projects.workerPools.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the `WorkerPool` to delete. Format: projects/{project}/workerPools/{workerPool}", - "location": "path", - "pattern": "^projects/[^/]+/workerPools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns details of a `WorkerPool`.", - "flatPath": "v1alpha2/projects/{projectsId}/workerPools/{workerPoolsId}", - "httpMethod": "GET", - "id": "cloudbuild.projects.workerPools.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the `WorkerPool` to retrieve. Format: projects/{project}/workerPools/{workerPool}", - "location": "path", - "pattern": "^projects/[^/]+/workerPools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "WorkerPool" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists `WorkerPool`s by project.", - "flatPath": "v1alpha2/projects/{projectsId}/workerPools", - "httpMethod": "GET", - "id": "cloudbuild.projects.workerPools.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The parent, which owns this collection of `WorkerPools`. Format: projects/{project}", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+parent}/workerPools", - "response": { - "$ref": "ListWorkerPoolsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates a `WorkerPool`.", - "flatPath": "v1alpha2/projects/{projectsId}/workerPools/{workerPoolsId}", - "httpMethod": "PATCH", - "id": "cloudbuild.projects.workerPools.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. The resource name of the `WorkerPool`. Format of the name is `projects/{project_id}/workerPools/{worker_pool_id}`, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.", - "location": "path", - "pattern": "^projects/[^/]+/workerPools/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "A mask specifying which fields in `WorkerPool` should be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "request": { - "$ref": "WorkerPool" - }, - "response": { - "$ref": "WorkerPool" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - }, - "revision": "20221219", - "rootUrl": "https://cloudbuild.googleapis.com/", - "schemas": { - "ApprovalConfig": { - "description": "ApprovalConfig describes configuration for manual approval of a build.", - "id": "ApprovalConfig", - "properties": { - "approvalRequired": { - "description": "Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.", - "type": "boolean" - } - }, - "type": "object" - }, - "ApprovalResult": { - "description": "ApprovalResult describes the decision and associated metadata of a manual approval of a build.", - "id": "ApprovalResult", - "properties": { - "approvalTime": { - "description": "Output only. The time when the approval decision was made.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "approverAccount": { - "description": "Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.", - "readOnly": true, - "type": "string" - }, - "comment": { - "description": "Optional. An optional comment for this manual approval result.", - "type": "string" - }, - "decision": { - "description": "Required. The decision of this manual approval.", - "enum": [ - "DECISION_UNSPECIFIED", - "APPROVED", - "REJECTED" - ], - "enumDescriptions": [ - "Default enum type. This should not be used.", - "Build is approved.", - "Build is rejected." - ], - "type": "string" - }, - "url": { - "description": "Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.", - "type": "string" - } - }, - "type": "object" - }, - "ArtifactObjects": { - "description": "Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.", - "id": "ArtifactObjects", - "properties": { - "location": { - "description": "Cloud Storage bucket and optional object path, in the form \"gs://bucket/path/to/somewhere/\". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.", - "type": "string" - }, - "paths": { - "description": "Path globs used to match files in the build's workspace.", - "items": { - "type": "string" - }, - "type": "array" - }, - "timing": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing all artifact objects.", - "readOnly": true - } - }, - "type": "object" - }, - "ArtifactResult": { - "description": "An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.", - "id": "ArtifactResult", - "properties": { - "fileHash": { - "description": "The file hash of the artifact.", - "items": { - "$ref": "FileHashes" - }, - "type": "array" - }, - "location": { - "description": "The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.", - "type": "string" - } - }, - "type": "object" - }, - "Artifacts": { - "description": "Artifacts produced by a build that should be uploaded upon successful completion of all build steps.", - "id": "Artifacts", - "properties": { - "images": { - "description": "A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.", - "items": { - "type": "string" - }, - "type": "array" - }, - "mavenArtifacts": { - "description": "A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.", - "items": { - "$ref": "MavenArtifact" - }, - "type": "array" - }, - "objects": { - "$ref": "ArtifactObjects", - "description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." - }, - "pythonPackages": { - "description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", - "items": { - "$ref": "PythonPackage" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchCreateBitbucketServerConnectedRepositoriesResponse": { - "description": "Response of BatchCreateBitbucketServerConnectedRepositories RPC method including all successfully connected Bitbucket Server repositories.", - "id": "BatchCreateBitbucketServerConnectedRepositoriesResponse", - "properties": { - "bitbucketServerConnectedRepositories": { - "description": "The connected Bitbucket Server repositories.", - "items": { - "$ref": "BitbucketServerConnectedRepository" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata": { - "description": "Metadata for `BatchCreateBitbucketServerConnectedRepositories` operation.", - "id": "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "config": { - "description": "The name of the `BitbucketServerConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "BatchCreateGitLabConnectedRepositoriesResponse": { - "description": "Response of BatchCreateGitLabConnectedRepositories RPC method.", - "id": "BatchCreateGitLabConnectedRepositoriesResponse", - "properties": { - "gitlabConnectedRepositories": { - "description": "The GitLab connected repository requests' responses.", - "items": { - "$ref": "GitLabConnectedRepository" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchCreateGitLabConnectedRepositoriesResponseMetadata": { - "description": "Metadata for `BatchCreateGitLabConnectedRepositories` operation.", - "id": "BatchCreateGitLabConnectedRepositoriesResponseMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "config": { - "description": "The name of the `GitLabConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "BatchCreateRepositoriesResponse": { - "description": "Message for response of creating repositories in batch.", - "id": "BatchCreateRepositoriesResponse", - "properties": { - "repositories": { - "description": "Repository resources created.", - "items": { - "$ref": "Repository" - }, - "type": "array" - } - }, - "type": "object" - }, - "BitbucketServerConnectedRepository": { - "description": "/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository.", - "id": "BitbucketServerConnectedRepository", - "properties": { - "parent": { - "description": "The name of the `BitbucketServerConfig` that added connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", - "type": "string" - }, - "repo": { - "$ref": "BitbucketServerRepositoryId", - "description": "The Bitbucket Server repositories to connect." - }, - "status": { - "$ref": "Status", - "description": "Output only. The status of the repo connection request.", - "readOnly": true - } - }, - "type": "object" - }, - "BitbucketServerRepositoryId": { - "description": "BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.", - "id": "BitbucketServerRepositoryId", - "properties": { - "projectKey": { - "description": "Required. Identifier for the project storing the repository.", - "type": "string" - }, - "repoSlug": { - "description": "Required. Identifier for the repository.", - "type": "string" - }, - "webhookId": { - "description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", - "format": "int32", - "readOnly": true, - "type": "integer" - } - }, - "type": "object" - }, - "Build": { - "description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.", - "id": "Build", - "properties": { - "approval": { - "$ref": "BuildApproval", - "description": "Output only. Describes this build's approval configuration, status, and result.", - "readOnly": true - }, - "artifacts": { - "$ref": "Artifacts", - "description": "Artifacts produced by the build that should be uploaded upon successful completion of all build steps." - }, - "availableSecrets": { - "$ref": "Secrets", - "description": "Secrets and secret environment variables." - }, - "buildTriggerId": { - "description": "Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. Time at which the request to create the build was received.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "failureInfo": { - "$ref": "FailureInfo", - "description": "Output only. Contains information about the build when status=FAILURE.", - "readOnly": true - }, - "finishTime": { - "description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "id": { - "description": "Output only. Unique identifier of the build.", - "readOnly": true, - "type": "string" - }, - "images": { - "description": "A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the `Build` resource's results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logUrl": { - "description": "Output only. URL to logs for this build in Google Cloud Console.", - "readOnly": true, - "type": "string" - }, - "logsBucket": { - "description": "Google Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.", - "type": "string" - }, - "name": { - "description": "Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.", - "readOnly": true, - "type": "string" - }, - "options": { - "$ref": "BuildOptions", - "description": "Special options for this build." - }, - "projectId": { - "description": "Output only. ID of the project.", - "readOnly": true, - "type": "string" - }, - "queueTtl": { - "description": "TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be `EXPIRED`. The TTL starts ticking from create_time.", - "format": "google-duration", - "type": "string" - }, - "results": { - "$ref": "Results", - "description": "Output only. Results of the build.", - "readOnly": true - }, - "secrets": { - "description": "Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets", - "items": { - "$ref": "Secret" - }, - "type": "array" - }, - "serviceAccount": { - "description": "IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. ", - "type": "string" - }, - "source": { - "$ref": "Source", - "description": "The location of the source files to build." - }, - "sourceProvenance": { - "$ref": "SourceProvenance", - "description": "Output only. A permanent fixed identifier for source.", - "readOnly": true - }, - "startTime": { - "description": "Output only. Time at which execution of the build was started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "status": { - "description": "Output only. Status of the build.", - "enum": [ - "STATUS_UNKNOWN", - "PENDING", - "QUEUED", - "WORKING", - "SUCCESS", - "FAILURE", - "INTERNAL_ERROR", - "TIMEOUT", - "CANCELLED", - "EXPIRED" - ], - "enumDescriptions": [ - "Status of the build is unknown.", - "Build has been created and is pending execution and queuing. It has not been queued.", - "Build or step is queued; work has not yet begun.", - "Build or step is being executed.", - "Build or step finished successfully.", - "Build or step failed to complete successfully.", - "Build or step failed due to an internal cause.", - "Build or step took longer than was allowed.", - "Build or step was canceled by a user.", - "Build was enqueued for longer than the value of `queue_ttl`." - ], - "readOnly": true, - "type": "string" - }, - "statusDetail": { - "description": "Output only. Customer-readable message about the current status.", - "readOnly": true, - "type": "string" - }, - "steps": { - "description": "Required. The operations to be performed on the workspace.", - "items": { - "$ref": "BuildStep" - }, - "type": "array" - }, - "substitutions": { - "additionalProperties": { - "type": "string" - }, - "description": "Substitutions data for `Build` resource.", - "type": "object" - }, - "tags": { - "description": "Tags for annotation of a `Build`. These are not docker tags.", - "items": { - "type": "string" - }, - "type": "array" - }, - "timeout": { - "description": "Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default time is ten minutes.", - "format": "google-duration", - "type": "string" - }, - "timing": { - "additionalProperties": { - "$ref": "TimeSpan" - }, - "description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.", - "readOnly": true, - "type": "object" - }, - "warnings": { - "description": "Output only. Non-fatal problems encountered during the execution of the build.", - "items": { - "$ref": "Warning" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "BuildApproval": { - "description": "BuildApproval describes a build's approval configuration, state, and result.", - "id": "BuildApproval", - "properties": { - "config": { - "$ref": "ApprovalConfig", - "description": "Output only. Configuration for manual approval of this build.", - "readOnly": true - }, - "result": { - "$ref": "ApprovalResult", - "description": "Output only. Result of manual approval for this Build.", - "readOnly": true - }, - "state": { - "description": "Output only. The state of this build's approval.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "APPROVED", - "REJECTED", - "CANCELLED" - ], - "enumDescriptions": [ - "Default enum type. This should not be used.", - "Build approval is pending.", - "Build approval has been approved.", - "Build approval has been rejected.", - "Build was cancelled while it was still pending approval." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "BuildOperationMetadata": { - "description": "Metadata for build operations.", - "id": "BuildOperationMetadata", - "properties": { - "build": { - "$ref": "Build", - "description": "The build that the operation is tracking." - } - }, - "type": "object" - }, - "BuildOptions": { - "description": "Optional arguments to enable specific features of builds.", - "id": "BuildOptions", - "properties": { - "diskSizeGb": { - "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error.", - "format": "int64", - "type": "string" - }, - "dynamicSubstitutions": { - "description": "Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.", - "type": "boolean" - }, - "env": { - "description": "A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", - "items": { - "type": "string" - }, - "type": "array" - }, - "logStreamingOption": { - "description": "Option to define build log streaming behavior to Google Cloud Storage.", - "enum": [ - "STREAM_DEFAULT", - "STREAM_ON", - "STREAM_OFF" - ], - "enumDescriptions": [ - "Service may automatically determine build log streaming behavior.", - "Build logs should be streamed to Google Cloud Storage.", - "Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed." - ], - "type": "string" - }, - "logging": { - "description": "Option to specify the logging mode, which determines if and where build logs are stored.", - "enum": [ - "LOGGING_UNSPECIFIED", - "LEGACY", - "GCS_ONLY", - "STACKDRIVER_ONLY", - "CLOUD_LOGGING_ONLY", - "NONE" - ], - "enumDescriptions": [ - "The service determines the logging mode. The default is `LEGACY`. Do not rely on the default logging behavior as it may change in the future.", - "Build logs are stored in Cloud Logging and Cloud Storage.", - "Build logs are stored in Cloud Storage.", - "This option is the same as CLOUD_LOGGING_ONLY.", - "Build logs are stored in Cloud Logging. Selecting this option will not allow [logs streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log).", - "Turn off all logging. No build logs will be captured." - ], - "type": "string" - }, - "machineType": { - "description": "Compute Engine machine type on which to run the build.", - "enum": [ - "UNSPECIFIED", - "N1_HIGHCPU_8", - "N1_HIGHCPU_32", - "E2_HIGHCPU_8", - "E2_HIGHCPU_32" - ], - "enumDescriptions": [ - "Standard machine type.", - "Highcpu machine with 8 CPUs.", - "Highcpu machine with 32 CPUs.", - "Highcpu e2 machine with 8 CPUs.", - "Highcpu e2 machine with 32 CPUs." - ], - "type": "string" - }, - "pool": { - "$ref": "PoolOption", - "description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information." - }, - "requestedVerifyOption": { - "description": "Requested verifiability options.", - "enum": [ - "NOT_VERIFIED", - "VERIFIED" - ], - "enumDescriptions": [ - "Not a verifiable build (the default).", - "Build must be verified." - ], - "type": "string" - }, - "secretEnv": { - "description": "A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.", - "items": { - "type": "string" - }, - "type": "array" - }, - "sourceProvenanceHash": { - "description": "Requested hash for SourceProvenance.", - "items": { - "enum": [ - "NONE", - "SHA256", - "MD5" - ], - "enumDescriptions": [ - "No hash requested.", - "Use a sha256 hash.", - "Use a md5 hash." - ], - "type": "string" - }, - "type": "array" - }, - "substitutionOption": { - "description": "Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.", - "enum": [ - "MUST_MATCH", - "ALLOW_LOOSE" - ], - "enumDescriptions": [ - "Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.", - "Do not fail the build if error in substitutions checks." - ], - "type": "string" - }, - "volumes": { - "description": "Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.", - "items": { - "$ref": "Volume" - }, - "type": "array" - }, - "workerPool": { - "description": "This field deprecated; please use `pool.name` instead.", - "type": "string" - } - }, - "type": "object" - }, - "BuildStep": { - "description": "A step in the build pipeline.", - "id": "BuildStep", - "properties": { - "allowExitCodes": { - "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "allowFailure": { - "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", - "type": "boolean" - }, - "args": { - "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", - "items": { - "type": "string" - }, - "type": "array" - }, - "dir": { - "description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.", - "type": "string" - }, - "entrypoint": { - "description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.", - "type": "string" - }, - "env": { - "description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", - "items": { - "type": "string" - }, - "type": "array" - }, - "exitCode": { - "description": "Output only. Return code from running the step.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "id": { - "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", - "type": "string" - }, - "name": { - "description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.", - "type": "string" - }, - "pullTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pulling this build step's builder image only.", - "readOnly": true - }, - "script": { - "description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", - "type": "string" - }, - "secretEnv": { - "description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "status": { - "description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", - "enum": [ - "STATUS_UNKNOWN", - "PENDING", - "QUEUED", - "WORKING", - "SUCCESS", - "FAILURE", - "INTERNAL_ERROR", - "TIMEOUT", - "CANCELLED", - "EXPIRED" - ], - "enumDescriptions": [ - "Status of the build is unknown.", - "Build has been created and is pending execution and queuing. It has not been queued.", - "Build or step is queued; work has not yet begun.", - "Build or step is being executed.", - "Build or step finished successfully.", - "Build or step failed to complete successfully.", - "Build or step failed due to an internal cause.", - "Build or step took longer than was allowed.", - "Build or step was canceled by a user.", - "Build was enqueued for longer than the value of `queue_ttl`." - ], - "readOnly": true, - "type": "string" - }, - "timeout": { - "description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.", - "format": "google-duration", - "type": "string" - }, - "timing": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for executing this build step.", - "readOnly": true - }, - "volumes": { - "description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.", - "items": { - "$ref": "Volume" - }, - "type": "array" - }, - "waitFor": { - "description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuiltImage": { - "description": "An image built by the pipeline.", - "id": "BuiltImage", - "properties": { - "digest": { - "description": "Docker Registry 2.0 digest.", - "type": "string" - }, - "name": { - "description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", - "type": "string" - }, - "pushTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing the specified image.", - "readOnly": true - } - }, - "type": "object" - }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "CreateBitbucketServerConfigOperationMetadata": { - "description": "Metadata for `CreateBitbucketServerConfig` operation.", - "id": "CreateBitbucketServerConfigOperationMetadata", - "properties": { - "bitbucketServerConfig": { - "description": "The resource name of the BitbucketServerConfig to be created. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", - "type": "string" - }, - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "CreateGitHubEnterpriseConfigOperationMetadata": { - "description": "Metadata for `CreateGithubEnterpriseConfig` operation.", - "id": "CreateGitHubEnterpriseConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "CreateGitLabConfigOperationMetadata": { - "description": "Metadata for `CreateGitLabConfig` operation.", - "id": "CreateGitLabConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "gitlabConfig": { - "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "CreateWorkerPoolOperationMetadata": { - "description": "Metadata for the `CreateWorkerPool` operation.", - "id": "CreateWorkerPoolOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "workerPool": { - "description": "The resource name of the `WorkerPool` to create. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", - "type": "string" - } - }, - "type": "object" - }, - "DeleteBitbucketServerConfigOperationMetadata": { - "description": "Metadata for `DeleteBitbucketServerConfig` operation.", - "id": "DeleteBitbucketServerConfigOperationMetadata", - "properties": { - "bitbucketServerConfig": { - "description": "The resource name of the BitbucketServerConfig to be deleted. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", - "type": "string" - }, - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "DeleteGitHubEnterpriseConfigOperationMetadata": { - "description": "Metadata for `DeleteGitHubEnterpriseConfig` operation.", - "id": "DeleteGitHubEnterpriseConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be deleted. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "DeleteGitLabConfigOperationMetadata": { - "description": "Metadata for `DeleteGitLabConfig` operation.", - "id": "DeleteGitLabConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "gitlabConfig": { - "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "DeleteWorkerPoolOperationMetadata": { - "description": "Metadata for the `DeleteWorkerPool` operation.", - "id": "DeleteWorkerPoolOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "workerPool": { - "description": "The resource name of the `WorkerPool` being deleted. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "FailureInfo": { - "description": "A fatal problem encountered during the execution of the build.", - "id": "FailureInfo", - "properties": { - "detail": { - "description": "Explains the failure issue in more detail using hard-coded text.", - "type": "string" - }, - "type": { - "description": "The name of the failure.", - "enum": [ - "FAILURE_TYPE_UNSPECIFIED", - "PUSH_FAILED", - "PUSH_IMAGE_NOT_FOUND", - "PUSH_NOT_AUTHORIZED", - "LOGGING_FAILURE", - "USER_BUILD_STEP", - "FETCH_SOURCE_FAILED" - ], - "enumDescriptions": [ - "Type unspecified", - "Unable to push the image to the repository.", - "Final image not found.", - "Unauthorized push of the final image.", - "Backend logging failures. Should retry.", - "A build step has failed.", - "The source fetching has failed." - ], - "type": "string" - } - }, - "type": "object" - }, - "FileHashes": { - "description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.", - "id": "FileHashes", - "properties": { - "fileHash": { - "description": "Collection of file hashes.", - "items": { - "$ref": "Hash" - }, - "type": "array" - } - }, - "type": "object" - }, - "GitLabConnectedRepository": { - "description": "GitLabConnectedRepository represents a GitLab connected repository request response.", - "id": "GitLabConnectedRepository", - "properties": { - "parent": { - "description": "The name of the `GitLabConfig` that added connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", - "type": "string" - }, - "repo": { - "$ref": "GitLabRepositoryId", - "description": "The GitLab repositories to connect." - }, - "status": { - "$ref": "Status", - "description": "Output only. The status of the repo connection request.", - "readOnly": true - } - }, - "type": "object" - }, - "GitLabRepositoryId": { - "description": "GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise", - "id": "GitLabRepositoryId", - "properties": { - "id": { - "description": "Required. Identifier for the repository. example: \"namespace/project-slug\", namespace is usually the username or group ID", - "type": "string" - }, - "webhookId": { - "description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", - "format": "int32", - "readOnly": true, - "type": "integer" - } - }, - "type": "object" - }, - "GoogleDevtoolsCloudbuildV2OperationMetadata": { - "description": "Represents the metadata of the long-running operation.", - "id": "GoogleDevtoolsCloudbuildV2OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "HTTPDelivery": { - "description": "HTTPDelivery is the delivery configuration for an HTTP notification.", - "id": "HTTPDelivery", - "properties": { - "uri": { - "description": "The URI to which JSON-containing HTTP POST requests should be sent.", - "type": "string" - } - }, - "type": "object" - }, - "Hash": { - "description": "Container message for hash values.", - "id": "Hash", - "properties": { - "type": { - "description": "The type of hash that was performed.", - "enum": [ - "NONE", - "SHA256", - "MD5" - ], - "enumDescriptions": [ - "No hash requested.", - "Use a sha256 hash.", - "Use a md5 hash." - ], - "type": "string" - }, - "value": { - "description": "The hash value.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "InlineSecret": { - "description": "Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.", - "id": "InlineSecret", - "properties": { - "envMap": { - "additionalProperties": { - "format": "byte", - "type": "string" - }, - "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", - "type": "object" - }, - "kmsKeyName": { - "description": "Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*/locations/*/keyRings/*/cryptoKeys/*", - "type": "string" - } - }, - "type": "object" - }, - "ListWorkerPoolsResponse": { - "description": "Response containing existing `WorkerPools`.", - "id": "ListWorkerPoolsResponse", - "properties": { - "workerPools": { - "description": "`WorkerPools` for the specified project.", - "items": { - "$ref": "WorkerPool" - }, - "type": "array" - } - }, - "type": "object" - }, - "MavenArtifact": { - "description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.", - "id": "MavenArtifact", - "properties": { - "artifactId": { - "description": "Maven `artifactId` value used when uploading the artifact to Artifact Registry.", - "type": "string" - }, - "groupId": { - "description": "Maven `groupId` value used when uploading the artifact to Artifact Registry.", - "type": "string" - }, - "path": { - "description": "Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", - "type": "string" - }, - "repository": { - "description": "Artifact Registry repository, in the form \"https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY\" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.", - "type": "string" - }, - "version": { - "description": "Maven `version` value used when uploading the artifact to Artifact Registry.", - "type": "string" - } - }, - "type": "object" - }, - "NetworkConfig": { - "description": "Network describes the network configuration for a `WorkerPool`.", - "id": "NetworkConfig", - "properties": { - "peeredNetwork": { - "description": "Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the default network. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number, such as `12345`, and {network} is the name of a VPC network in the project.", - "type": "string" - } - }, - "type": "object" - }, - "Notification": { - "description": "Notification is the container which holds the data that is relevant to this particular notification.", - "id": "Notification", - "properties": { - "filter": { - "description": "The filter string to use for notification filtering. Currently, this is assumed to be a CEL program. See https://opensource.google/projects/cel for more.", - "type": "string" - }, - "httpDelivery": { - "$ref": "HTTPDelivery", - "description": "Configuration for HTTP delivery." - }, - "slackDelivery": { - "$ref": "SlackDelivery", - "description": "Configuration for Slack delivery." - }, - "smtpDelivery": { - "$ref": "SMTPDelivery", - "description": "Configuration for SMTP (email) delivery." - }, - "structDelivery": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Escape hatch for users to supply custom delivery configs.", - "type": "object" - } - }, - "type": "object" - }, - "NotifierConfig": { - "description": "NotifierConfig is the top-level configuration message.", - "id": "NotifierConfig", - "properties": { - "apiVersion": { - "description": "The API version of this configuration format.", - "type": "string" - }, - "kind": { - "description": "The type of notifier to use (e.g. SMTPNotifier).", - "type": "string" - }, - "metadata": { - "$ref": "NotifierMetadata", - "description": "Metadata for referring to/handling/deploying this notifier." - }, - "spec": { - "$ref": "NotifierSpec", - "description": "The actual configuration for this notifier." - } - }, - "type": "object" - }, - "NotifierMetadata": { - "description": "NotifierMetadata contains the data which can be used to reference or describe this notifier.", - "id": "NotifierMetadata", - "properties": { - "name": { - "description": "The human-readable and user-given name for the notifier. For example: \"repo-merge-email-notifier\".", - "type": "string" - }, - "notifier": { - "description": "The string representing the name and version of notifier to deploy. Expected to be of the form of \"/:\". For example: \"gcr.io/my-project/notifiers/smtp:1.2.34\".", - "type": "string" - } - }, - "type": "object" - }, - "NotifierSecret": { - "description": "NotifierSecret is the container that maps a secret name (reference) to its Google Cloud Secret Manager resource path.", - "id": "NotifierSecret", - "properties": { - "name": { - "description": "Name is the local name of the secret, such as the verbatim string \"my-smtp-password\".", - "type": "string" - }, - "value": { - "description": "Value is interpreted to be a resource path for fetching the actual (versioned) secret data for this secret. For example, this would be a Google Cloud Secret Manager secret version resource path like: \"projects/my-project/secrets/my-secret/versions/latest\".", - "type": "string" - } - }, - "type": "object" - }, - "NotifierSecretRef": { - "description": "NotifierSecretRef contains the reference to a secret stored in the corresponding NotifierSpec.", - "id": "NotifierSecretRef", - "properties": { - "secretRef": { - "description": "The value of `secret_ref` should be a `name` that is registered in a `Secret` in the `secrets` list of the `Spec`.", - "type": "string" - } - }, - "type": "object" - }, - "NotifierSpec": { - "description": "NotifierSpec is the configuration container for notifications.", - "id": "NotifierSpec", - "properties": { - "notification": { - "$ref": "Notification", - "description": "The configuration of this particular notifier." - }, - "secrets": { - "description": "Configurations for secret resources used by this particular notifier.", - "items": { - "$ref": "NotifierSecret" - }, - "type": "array" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "OperationMetadata": { - "description": "Represents the metadata of the long-running operation.", - "id": "OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "cancelRequested": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "statusDetail": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "PoolOption": { - "description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.", - "id": "PoolOption", - "properties": { - "name": { - "description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}", - "type": "string" - } - }, - "type": "object" - }, - "ProcessAppManifestCallbackOperationMetadata": { - "description": "Metadata for `ProcessAppManifestCallback` operation.", - "id": "ProcessAppManifestCallbackOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "PythonPackage": { - "description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.", - "id": "PythonPackage", - "properties": { - "paths": { - "description": "Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.", - "items": { - "type": "string" - }, - "type": "array" - }, - "repository": { - "description": "Artifact Registry repository, in the form \"https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY\" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.", - "type": "string" - } - }, - "type": "object" - }, - "RepoSource": { - "description": "Location of the source in a Google Cloud Source Repository.", - "id": "RepoSource", - "properties": { - "branchName": { - "description": "Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", - "type": "string" - }, - "commitSha": { - "description": "Explicit commit SHA to build.", - "type": "string" - }, - "dir": { - "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", - "type": "string" - }, - "invertRegex": { - "description": "Only trigger a build if the revision regex does NOT match the revision regex.", - "type": "boolean" - }, - "projectId": { - "description": "ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", - "type": "string" - }, - "repoName": { - "description": "Name of the Cloud Source Repository.", - "type": "string" - }, - "substitutions": { - "additionalProperties": { - "type": "string" - }, - "description": "Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", - "type": "object" - }, - "tagName": { - "description": "Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", - "type": "string" - } - }, - "type": "object" - }, - "Repository": { - "description": "A repository associated to a parent connection.", - "id": "Repository", - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "description": "Allows clients to store small amounts of arbitrary data.", - "type": "object" - }, - "createTime": { - "description": "Output only. Server assigned timestamp for when the connection was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "etag": { - "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", - "type": "string" - }, - "name": { - "description": "Immutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`.", - "type": "string" - }, - "remoteUri": { - "description": "Required. Git Clone HTTPS URI.", - "type": "string" - }, - "updateTime": { - "description": "Output only. Server assigned timestamp for when the connection was updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Results": { - "description": "Artifacts created by the build pipeline.", - "id": "Results", - "properties": { - "artifactManifest": { - "description": "Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", - "type": "string" - }, - "artifactTiming": { - "$ref": "TimeSpan", - "description": "Time to push all non-container artifacts to Cloud Storage." - }, - "buildStepImages": { - "description": "List of build step digests, in the order corresponding to build step indices.", - "items": { - "type": "string" - }, - "type": "array" - }, - "buildStepOutputs": { - "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 4KB of data is stored.", - "items": { - "format": "byte", - "type": "string" - }, - "type": "array" - }, - "images": { - "description": "Container images that were built as a part of the build.", - "items": { - "$ref": "BuiltImage" - }, - "type": "array" - }, - "mavenArtifacts": { - "description": "Maven artifacts uploaded to Artifact Registry at the end of the build.", - "items": { - "$ref": "UploadedMavenArtifact" - }, - "type": "array" - }, - "numArtifacts": { - "description": "Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", - "format": "int64", - "type": "string" - }, - "pythonPackages": { - "description": "Python artifacts uploaded to Artifact Registry at the end of the build.", - "items": { - "$ref": "UploadedPythonPackage" - }, - "type": "array" - } - }, - "type": "object" - }, - "RunWorkflowCustomOperationMetadata": { - "description": "Represents the custom metadata of the RunWorkflow long-running operation.", - "id": "RunWorkflowCustomOperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "pipelineRunId": { - "description": "Output only. ID of the pipeline run created by RunWorkflow.", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "SMTPDelivery": { - "description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.", - "id": "SMTPDelivery", - "properties": { - "fromAddress": { - "description": "This is the SMTP account/email that appears in the `From:` of the email. If empty, it is assumed to be sender.", - "type": "string" - }, - "password": { - "$ref": "NotifierSecretRef", - "description": "The SMTP sender's password." - }, - "port": { - "description": "The SMTP port of the server.", - "type": "string" - }, - "recipientAddresses": { - "description": "This is the list of addresses to which we send the email (i.e. in the `To:` of the email).", - "items": { - "type": "string" - }, - "type": "array" - }, - "senderAddress": { - "description": "This is the SMTP account/email that is used to send the message.", - "type": "string" - }, - "server": { - "description": "The address of the SMTP server.", - "type": "string" - } - }, - "type": "object" - }, - "Secret": { - "description": "Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `available_secrets` instead of using `kmsKeyName` with `secret`. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.", - "id": "Secret", - "properties": { - "kmsKeyName": { - "description": "Cloud KMS key name to use to decrypt these envs.", - "type": "string" - }, - "secretEnv": { - "additionalProperties": { - "format": "byte", - "type": "string" - }, - "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", - "type": "object" - } - }, - "type": "object" - }, - "SecretManagerSecret": { - "description": "Pairs a secret environment variable with a SecretVersion in Secret Manager.", - "id": "SecretManagerSecret", - "properties": { - "env": { - "description": "Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.", - "type": "string" - }, - "versionName": { - "description": "Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*", - "type": "string" - } - }, - "type": "object" - }, - "Secrets": { - "description": "Secrets and secret environment variables.", - "id": "Secrets", - "properties": { - "inline": { - "description": "Secrets encrypted with KMS key and the associated secret environment variable.", - "items": { - "$ref": "InlineSecret" - }, - "type": "array" - }, - "secretManager": { - "description": "Secrets in Secret Manager and associated secret environment variable.", - "items": { - "$ref": "SecretManagerSecret" - }, - "type": "array" - } - }, - "type": "object" - }, - "SlackDelivery": { - "description": "SlackDelivery is the delivery configuration for delivering Slack messages via webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/webhooks.", - "id": "SlackDelivery", - "properties": { - "webhookUri": { - "$ref": "NotifierSecretRef", - "description": "The secret reference for the Slack webhook URI for sending messages to a channel." - } - }, - "type": "object" - }, - "Source": { - "description": "Location of the source in a supported storage service.", - "id": "Source", - "properties": { - "repoSource": { - "$ref": "RepoSource", - "description": "If provided, get the source from this location in a Cloud Source Repository." - }, - "storageSource": { - "$ref": "StorageSource", - "description": "If provided, get the source from this location in Google Cloud Storage." - }, - "storageSourceManifest": { - "$ref": "StorageSourceManifest", - "description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)." - } - }, - "type": "object" - }, - "SourceProvenance": { - "description": "Provenance of the source. Ways to find the original source, or verify that some source was used for this build.", - "id": "SourceProvenance", - "properties": { - "fileHashes": { - "additionalProperties": { - "$ref": "FileHashes" - }, - "description": "Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file.", - "readOnly": true, - "type": "object" - }, - "resolvedRepoSource": { - "$ref": "RepoSource", - "description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." - }, - "resolvedStorageSource": { - "$ref": "StorageSource", - "description": "A copy of the build's `source.storage_source`, if exists, with any generations resolved." - }, - "resolvedStorageSourceManifest": { - "$ref": "StorageSourceManifest", - "description": "A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview." - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "StorageSource": { - "description": "Location of the source in an archive file in Google Cloud Storage.", - "id": "StorageSource", - "properties": { - "bucket": { - "description": "Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", - "type": "string" - }, - "generation": { - "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", - "type": "string" - } - }, - "type": "object" - }, - "StorageSourceManifest": { - "description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).", - "id": "StorageSourceManifest", - "properties": { - "bucket": { - "description": "Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", - "type": "string" - }, - "generation": { - "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Google Cloud Storage object containing the source manifest. This object must be a JSON file.", - "type": "string" - } - }, - "type": "object" - }, - "TimeSpan": { - "description": "Start and end times for a build execution phase.", - "id": "TimeSpan", - "properties": { - "endTime": { - "description": "End of time span.", - "format": "google-datetime", - "type": "string" - }, - "startTime": { - "description": "Start of time span.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "UpdateBitbucketServerConfigOperationMetadata": { - "description": "Metadata for `UpdateBitbucketServerConfig` operation.", - "id": "UpdateBitbucketServerConfigOperationMetadata", - "properties": { - "bitbucketServerConfig": { - "description": "The resource name of the BitbucketServerConfig to be updated. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", - "type": "string" - }, - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "UpdateGitHubEnterpriseConfigOperationMetadata": { - "description": "Metadata for `UpdateGitHubEnterpriseConfig` operation.", - "id": "UpdateGitHubEnterpriseConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be updated. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "UpdateGitLabConfigOperationMetadata": { - "description": "Metadata for `UpdateGitLabConfig` operation.", - "id": "UpdateGitLabConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "gitlabConfig": { - "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "UpdateWorkerPoolOperationMetadata": { - "description": "Metadata for the `UpdateWorkerPool` operation.", - "id": "UpdateWorkerPoolOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "workerPool": { - "description": "The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", - "type": "string" - } - }, - "type": "object" - }, - "UploadedMavenArtifact": { - "description": "A Maven artifact uploaded using the MavenArtifact directive.", - "id": "UploadedMavenArtifact", - "properties": { - "fileHashes": { - "$ref": "FileHashes", - "description": "Hash types and values of the Maven Artifact." - }, - "pushTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing the specified artifact.", - "readOnly": true - }, - "uri": { - "description": "URI of the uploaded artifact.", - "type": "string" - } - }, - "type": "object" - }, - "UploadedPythonPackage": { - "description": "Artifact uploaded using the PythonPackage directive.", - "id": "UploadedPythonPackage", - "properties": { - "fileHashes": { - "$ref": "FileHashes", - "description": "Hash types and values of the Python Artifact." - }, - "pushTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing the specified artifact.", - "readOnly": true - }, - "uri": { - "description": "URI of the uploaded artifact.", - "type": "string" - } - }, - "type": "object" - }, - "Volume": { - "description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.", - "id": "Volume", - "properties": { - "name": { - "description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.", - "type": "string" - }, - "path": { - "description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.", - "type": "string" - } - }, - "type": "object" - }, - "Warning": { - "description": "A non-fatal problem encountered during the execution of the build.", - "id": "Warning", - "properties": { - "priority": { - "description": "The priority for this warning.", - "enum": [ - "PRIORITY_UNSPECIFIED", - "INFO", - "WARNING", - "ALERT" - ], - "enumDescriptions": [ - "Should not be used.", - "e.g. deprecation warnings and alternative feature highlights.", - "e.g. automated detection of possible issues with the build.", - "e.g. alerts that a feature used in the build is pending removal" - ], - "type": "string" - }, - "text": { - "description": "Explanation of the warning generated.", - "type": "string" - } - }, - "type": "object" - }, - "WorkerConfig": { - "description": "WorkerConfig defines the configuration to be used for a creating workers in the pool.", - "id": "WorkerConfig", - "properties": { - "diskSizeGb": { - "description": "Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If `0` is specified, Cloud Build will use a standard disk size.", - "format": "int64", - "type": "string" - }, - "machineType": { - "description": "Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool.", - "type": "string" - } - }, - "type": "object" - }, - "WorkerPool": { - "description": "Configuration for a WorkerPool to run the builds. Workers are machines that Cloud Build uses to run your builds. By default, all workers run in a project owned by Cloud Build. To have full control over the workers that execute your builds -- such as enabling them to access private resources on your private network -- you can request Cloud Build to run the workers in your own project by creating a custom workers pool.", - "id": "WorkerPool", - "properties": { - "createTime": { - "description": "Output only. Time at which the request to create the `WorkerPool` was received.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "deleteTime": { - "description": "Output only. Time at which the request to delete the `WorkerPool` was received.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the `WorkerPool`. Format of the name is `projects/{project_id}/workerPools/{worker_pool_id}`, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.", - "readOnly": true, - "type": "string" - }, - "networkConfig": { - "$ref": "NetworkConfig", - "description": "Network configuration for the `WorkerPool`." - }, - "region": { - "description": "Required. Immutable. The region where the `WorkerPool` runs. Only \"us-central1\" is currently supported. Note that `region` cannot be changed once the `WorkerPool` is created.", - "type": "string" - }, - "state": { - "description": "Output only. WorkerPool state.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "RUNNING", - "DELETING", - "DELETED" - ], - "enumDescriptions": [ - "State of the `WorkerPool` is unknown.", - "`WorkerPool` is being created.", - "`WorkerPool` is running.", - "`WorkerPool` is being deleted: cancelling builds and draining workers.", - "`WorkerPool` is deleted." - ], - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. Time at which the request to update the `WorkerPool` was received.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "workerConfig": { - "$ref": "WorkerConfig", - "description": "Worker configuration for the `WorkerPool`." - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Build API", - "version": "v1alpha2", - "version_module": true -} \ No newline at end of file diff --git a/discovery/cloudbuild-v1beta1.json b/discovery/cloudbuild-v1beta1.json deleted file mode 100644 index 6ec04384562..00000000000 --- a/discovery/cloudbuild-v1beta1.json +++ /dev/null @@ -1,2432 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://cloudbuild.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Build", - "description": "Creates and manages builds on Google Cloud Platform.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/cloud-build/docs/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "cloudbuild:v1beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://cloudbuild.mtls.googleapis.com/", - "name": "cloudbuild", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "resources": { - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "cloudbuild.projects.locations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "cloudbuild.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "workerPools": { - "methods": { - "create": { - "description": "Creates a `WorkerPool` to run the builds, and returns the new worker pool. NOTE: As of now, this method returns an `Operation` that is always complete.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/workerPools", - "httpMethod": "POST", - "id": "cloudbuild.projects.locations.workerPools.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The parent resource where this worker pool will be created. Format: `projects/{project}/locations/{location}`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "workerPoolId": { - "description": "Required. Immutable. The ID to use for the `WorkerPool`, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+parent}/workerPools", - "request": { - "$ref": "WorkerPool" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a `WorkerPool`. NOTE: As of now, this method returns an `Operation` that is always complete.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}", - "httpMethod": "DELETE", - "id": "cloudbuild.projects.locations.workerPools.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "etag": { - "description": "Optional. If this is provided, it must match the server's etag on the workerpool for the request to be processed.", - "location": "query", - "type": "string" - }, - "name": { - "description": "Required. The name of the `WorkerPool` to delete. Format: `projects/{project}/locations/{workerPool}/workerPools/{workerPool}`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/workerPools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns details of a `WorkerPool`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}", - "httpMethod": "GET", - "id": "cloudbuild.projects.locations.workerPools.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the `WorkerPool` to retrieve. Format: `projects/{project}/locations/{location}/workerPools/{workerPool}`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/workerPools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "WorkerPool" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists `WorkerPool`s in the given project.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/workerPools", - "httpMethod": "GET", - "id": "cloudbuild.projects.locations.workerPools.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The parent of the collection of `WorkerPools`. Format: `projects/{project}/locations/location`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/workerPools", - "response": { - "$ref": "ListWorkerPoolsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates a `WorkerPool`. NOTE: As of now, this method returns an `Operation` that is always complete.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}", - "httpMethod": "PATCH", - "id": "cloudbuild.projects.locations.workerPools.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. The resource name of the `WorkerPool`, with format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. The value of `{worker_pool}` is provided by `worker_pool_id` in `CreateWorkerPool` request and the value of `{location}` is determined by the endpoint accessed.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/workerPools/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "A mask specifying which fields in `WorkerPool` to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "request": { - "$ref": "WorkerPool" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20221219", - "rootUrl": "https://cloudbuild.googleapis.com/", - "schemas": { - "ApprovalConfig": { - "description": "ApprovalConfig describes configuration for manual approval of a build.", - "id": "ApprovalConfig", - "properties": { - "approvalRequired": { - "description": "Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.", - "type": "boolean" - } - }, - "type": "object" - }, - "ApprovalResult": { - "description": "ApprovalResult describes the decision and associated metadata of a manual approval of a build.", - "id": "ApprovalResult", - "properties": { - "approvalTime": { - "description": "Output only. The time when the approval decision was made.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "approverAccount": { - "description": "Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.", - "readOnly": true, - "type": "string" - }, - "comment": { - "description": "Optional. An optional comment for this manual approval result.", - "type": "string" - }, - "decision": { - "description": "Required. The decision of this manual approval.", - "enum": [ - "DECISION_UNSPECIFIED", - "APPROVED", - "REJECTED" - ], - "enumDescriptions": [ - "Default enum type. This should not be used.", - "Build is approved.", - "Build is rejected." - ], - "type": "string" - }, - "url": { - "description": "Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.", - "type": "string" - } - }, - "type": "object" - }, - "ArtifactObjects": { - "description": "Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.", - "id": "ArtifactObjects", - "properties": { - "location": { - "description": "Cloud Storage bucket and optional object path, in the form \"gs://bucket/path/to/somewhere/\". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.", - "type": "string" - }, - "paths": { - "description": "Path globs used to match files in the build's workspace.", - "items": { - "type": "string" - }, - "type": "array" - }, - "timing": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing all artifact objects.", - "readOnly": true - } - }, - "type": "object" - }, - "ArtifactResult": { - "description": "An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.", - "id": "ArtifactResult", - "properties": { - "fileHash": { - "description": "The file hash of the artifact.", - "items": { - "$ref": "FileHashes" - }, - "type": "array" - }, - "location": { - "description": "The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.", - "type": "string" - } - }, - "type": "object" - }, - "Artifacts": { - "description": "Artifacts produced by a build that should be uploaded upon successful completion of all build steps.", - "id": "Artifacts", - "properties": { - "images": { - "description": "A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.", - "items": { - "type": "string" - }, - "type": "array" - }, - "mavenArtifacts": { - "description": "A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.", - "items": { - "$ref": "MavenArtifact" - }, - "type": "array" - }, - "objects": { - "$ref": "ArtifactObjects", - "description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." - }, - "pythonPackages": { - "description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", - "items": { - "$ref": "PythonPackage" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchCreateBitbucketServerConnectedRepositoriesResponse": { - "description": "Response of BatchCreateBitbucketServerConnectedRepositories RPC method including all successfully connected Bitbucket Server repositories.", - "id": "BatchCreateBitbucketServerConnectedRepositoriesResponse", - "properties": { - "bitbucketServerConnectedRepositories": { - "description": "The connected Bitbucket Server repositories.", - "items": { - "$ref": "BitbucketServerConnectedRepository" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata": { - "description": "Metadata for `BatchCreateBitbucketServerConnectedRepositories` operation.", - "id": "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "config": { - "description": "The name of the `BitbucketServerConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "BatchCreateGitLabConnectedRepositoriesResponse": { - "description": "Response of BatchCreateGitLabConnectedRepositories RPC method.", - "id": "BatchCreateGitLabConnectedRepositoriesResponse", - "properties": { - "gitlabConnectedRepositories": { - "description": "The GitLab connected repository requests' responses.", - "items": { - "$ref": "GitLabConnectedRepository" - }, - "type": "array" - } - }, - "type": "object" - }, - "BatchCreateGitLabConnectedRepositoriesResponseMetadata": { - "description": "Metadata for `BatchCreateGitLabConnectedRepositories` operation.", - "id": "BatchCreateGitLabConnectedRepositoriesResponseMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "config": { - "description": "The name of the `GitLabConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "BatchCreateRepositoriesResponse": { - "description": "Message for response of creating repositories in batch.", - "id": "BatchCreateRepositoriesResponse", - "properties": { - "repositories": { - "description": "Repository resources created.", - "items": { - "$ref": "Repository" - }, - "type": "array" - } - }, - "type": "object" - }, - "BitbucketServerConnectedRepository": { - "description": "/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository.", - "id": "BitbucketServerConnectedRepository", - "properties": { - "parent": { - "description": "The name of the `BitbucketServerConfig` that added connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", - "type": "string" - }, - "repo": { - "$ref": "BitbucketServerRepositoryId", - "description": "The Bitbucket Server repositories to connect." - }, - "status": { - "$ref": "Status", - "description": "Output only. The status of the repo connection request.", - "readOnly": true - } - }, - "type": "object" - }, - "BitbucketServerRepositoryId": { - "description": "BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.", - "id": "BitbucketServerRepositoryId", - "properties": { - "projectKey": { - "description": "Required. Identifier for the project storing the repository.", - "type": "string" - }, - "repoSlug": { - "description": "Required. Identifier for the repository.", - "type": "string" - }, - "webhookId": { - "description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", - "format": "int32", - "readOnly": true, - "type": "integer" - } - }, - "type": "object" - }, - "Build": { - "description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.", - "id": "Build", - "properties": { - "approval": { - "$ref": "BuildApproval", - "description": "Output only. Describes this build's approval configuration, status, and result.", - "readOnly": true - }, - "artifacts": { - "$ref": "Artifacts", - "description": "Artifacts produced by the build that should be uploaded upon successful completion of all build steps." - }, - "availableSecrets": { - "$ref": "Secrets", - "description": "Secrets and secret environment variables." - }, - "buildTriggerId": { - "description": "Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. Time at which the request to create the build was received.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "failureInfo": { - "$ref": "FailureInfo", - "description": "Output only. Contains information about the build when status=FAILURE.", - "readOnly": true - }, - "finishTime": { - "description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "id": { - "description": "Output only. Unique identifier of the build.", - "readOnly": true, - "type": "string" - }, - "images": { - "description": "A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the `Build` resource's results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logUrl": { - "description": "Output only. URL to logs for this build in Google Cloud Console.", - "readOnly": true, - "type": "string" - }, - "logsBucket": { - "description": "Google Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.", - "type": "string" - }, - "name": { - "description": "Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.", - "readOnly": true, - "type": "string" - }, - "options": { - "$ref": "BuildOptions", - "description": "Special options for this build." - }, - "projectId": { - "description": "Output only. ID of the project.", - "readOnly": true, - "type": "string" - }, - "queueTtl": { - "description": "TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be `EXPIRED`. The TTL starts ticking from create_time.", - "format": "google-duration", - "type": "string" - }, - "results": { - "$ref": "Results", - "description": "Output only. Results of the build.", - "readOnly": true - }, - "secrets": { - "description": "Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets", - "items": { - "$ref": "Secret" - }, - "type": "array" - }, - "serviceAccount": { - "description": "IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. ", - "type": "string" - }, - "source": { - "$ref": "Source", - "description": "The location of the source files to build." - }, - "sourceProvenance": { - "$ref": "SourceProvenance", - "description": "Output only. A permanent fixed identifier for source.", - "readOnly": true - }, - "startTime": { - "description": "Output only. Time at which execution of the build was started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "status": { - "description": "Output only. Status of the build.", - "enum": [ - "STATUS_UNKNOWN", - "PENDING", - "QUEUED", - "WORKING", - "SUCCESS", - "FAILURE", - "INTERNAL_ERROR", - "TIMEOUT", - "CANCELLED", - "EXPIRED" - ], - "enumDescriptions": [ - "Status of the build is unknown.", - "Build has been created and is pending execution and queuing. It has not been queued.", - "Build or step is queued; work has not yet begun.", - "Build or step is being executed.", - "Build or step finished successfully.", - "Build or step failed to complete successfully.", - "Build or step failed due to an internal cause.", - "Build or step took longer than was allowed.", - "Build or step was canceled by a user.", - "Build was enqueued for longer than the value of `queue_ttl`." - ], - "readOnly": true, - "type": "string" - }, - "statusDetail": { - "description": "Output only. Customer-readable message about the current status.", - "readOnly": true, - "type": "string" - }, - "steps": { - "description": "Required. The operations to be performed on the workspace.", - "items": { - "$ref": "BuildStep" - }, - "type": "array" - }, - "substitutions": { - "additionalProperties": { - "type": "string" - }, - "description": "Substitutions data for `Build` resource.", - "type": "object" - }, - "tags": { - "description": "Tags for annotation of a `Build`. These are not docker tags.", - "items": { - "type": "string" - }, - "type": "array" - }, - "timeout": { - "description": "Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default time is ten minutes.", - "format": "google-duration", - "type": "string" - }, - "timing": { - "additionalProperties": { - "$ref": "TimeSpan" - }, - "description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.", - "readOnly": true, - "type": "object" - }, - "warnings": { - "description": "Output only. Non-fatal problems encountered during the execution of the build.", - "items": { - "$ref": "Warning" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "BuildApproval": { - "description": "BuildApproval describes a build's approval configuration, state, and result.", - "id": "BuildApproval", - "properties": { - "config": { - "$ref": "ApprovalConfig", - "description": "Output only. Configuration for manual approval of this build.", - "readOnly": true - }, - "result": { - "$ref": "ApprovalResult", - "description": "Output only. Result of manual approval for this Build.", - "readOnly": true - }, - "state": { - "description": "Output only. The state of this build's approval.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "APPROVED", - "REJECTED", - "CANCELLED" - ], - "enumDescriptions": [ - "Default enum type. This should not be used.", - "Build approval is pending.", - "Build approval has been approved.", - "Build approval has been rejected.", - "Build was cancelled while it was still pending approval." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "BuildOperationMetadata": { - "description": "Metadata for build operations.", - "id": "BuildOperationMetadata", - "properties": { - "build": { - "$ref": "Build", - "description": "The build that the operation is tracking." - } - }, - "type": "object" - }, - "BuildOptions": { - "description": "Optional arguments to enable specific features of builds.", - "id": "BuildOptions", - "properties": { - "diskSizeGb": { - "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error.", - "format": "int64", - "type": "string" - }, - "dynamicSubstitutions": { - "description": "Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.", - "type": "boolean" - }, - "env": { - "description": "A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", - "items": { - "type": "string" - }, - "type": "array" - }, - "logStreamingOption": { - "description": "Option to define build log streaming behavior to Google Cloud Storage.", - "enum": [ - "STREAM_DEFAULT", - "STREAM_ON", - "STREAM_OFF" - ], - "enumDescriptions": [ - "Service may automatically determine build log streaming behavior.", - "Build logs should be streamed to Google Cloud Storage.", - "Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed." - ], - "type": "string" - }, - "logging": { - "description": "Option to specify the logging mode, which determines if and where build logs are stored.", - "enum": [ - "LOGGING_UNSPECIFIED", - "LEGACY", - "GCS_ONLY", - "STACKDRIVER_ONLY", - "CLOUD_LOGGING_ONLY", - "NONE" - ], - "enumDescriptions": [ - "The service determines the logging mode. The default is `LEGACY`. Do not rely on the default logging behavior as it may change in the future.", - "Build logs are stored in Cloud Logging and Cloud Storage.", - "Build logs are stored in Cloud Storage.", - "This option is the same as CLOUD_LOGGING_ONLY.", - "Build logs are stored in Cloud Logging. Selecting this option will not allow [logs streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log).", - "Turn off all logging. No build logs will be captured." - ], - "type": "string" - }, - "machineType": { - "description": "Compute Engine machine type on which to run the build.", - "enum": [ - "UNSPECIFIED", - "N1_HIGHCPU_8", - "N1_HIGHCPU_32", - "E2_HIGHCPU_8", - "E2_HIGHCPU_32" - ], - "enumDescriptions": [ - "Standard machine type.", - "Highcpu machine with 8 CPUs.", - "Highcpu machine with 32 CPUs.", - "Highcpu e2 machine with 8 CPUs.", - "Highcpu e2 machine with 32 CPUs." - ], - "type": "string" - }, - "pool": { - "$ref": "PoolOption", - "description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information." - }, - "requestedVerifyOption": { - "description": "Requested verifiability options.", - "enum": [ - "NOT_VERIFIED", - "VERIFIED" - ], - "enumDescriptions": [ - "Not a verifiable build (the default).", - "Build must be verified." - ], - "type": "string" - }, - "secretEnv": { - "description": "A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.", - "items": { - "type": "string" - }, - "type": "array" - }, - "sourceProvenanceHash": { - "description": "Requested hash for SourceProvenance.", - "items": { - "enum": [ - "NONE", - "SHA256", - "MD5" - ], - "enumDescriptions": [ - "No hash requested.", - "Use a sha256 hash.", - "Use a md5 hash." - ], - "type": "string" - }, - "type": "array" - }, - "substitutionOption": { - "description": "Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.", - "enum": [ - "MUST_MATCH", - "ALLOW_LOOSE" - ], - "enumDescriptions": [ - "Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.", - "Do not fail the build if error in substitutions checks." - ], - "type": "string" - }, - "volumes": { - "description": "Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.", - "items": { - "$ref": "Volume" - }, - "type": "array" - }, - "workerPool": { - "description": "This field deprecated; please use `pool.name` instead.", - "type": "string" - } - }, - "type": "object" - }, - "BuildStep": { - "description": "A step in the build pipeline.", - "id": "BuildStep", - "properties": { - "allowExitCodes": { - "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "allowFailure": { - "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", - "type": "boolean" - }, - "args": { - "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", - "items": { - "type": "string" - }, - "type": "array" - }, - "dir": { - "description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.", - "type": "string" - }, - "entrypoint": { - "description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.", - "type": "string" - }, - "env": { - "description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", - "items": { - "type": "string" - }, - "type": "array" - }, - "exitCode": { - "description": "Output only. Return code from running the step.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "id": { - "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", - "type": "string" - }, - "name": { - "description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.", - "type": "string" - }, - "pullTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pulling this build step's builder image only.", - "readOnly": true - }, - "script": { - "description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", - "type": "string" - }, - "secretEnv": { - "description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "status": { - "description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", - "enum": [ - "STATUS_UNKNOWN", - "PENDING", - "QUEUED", - "WORKING", - "SUCCESS", - "FAILURE", - "INTERNAL_ERROR", - "TIMEOUT", - "CANCELLED", - "EXPIRED" - ], - "enumDescriptions": [ - "Status of the build is unknown.", - "Build has been created and is pending execution and queuing. It has not been queued.", - "Build or step is queued; work has not yet begun.", - "Build or step is being executed.", - "Build or step finished successfully.", - "Build or step failed to complete successfully.", - "Build or step failed due to an internal cause.", - "Build or step took longer than was allowed.", - "Build or step was canceled by a user.", - "Build was enqueued for longer than the value of `queue_ttl`." - ], - "readOnly": true, - "type": "string" - }, - "timeout": { - "description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.", - "format": "google-duration", - "type": "string" - }, - "timing": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for executing this build step.", - "readOnly": true - }, - "volumes": { - "description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.", - "items": { - "$ref": "Volume" - }, - "type": "array" - }, - "waitFor": { - "description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuiltImage": { - "description": "An image built by the pipeline.", - "id": "BuiltImage", - "properties": { - "digest": { - "description": "Docker Registry 2.0 digest.", - "type": "string" - }, - "name": { - "description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", - "type": "string" - }, - "pushTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing the specified image.", - "readOnly": true - } - }, - "type": "object" - }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "CreateBitbucketServerConfigOperationMetadata": { - "description": "Metadata for `CreateBitbucketServerConfig` operation.", - "id": "CreateBitbucketServerConfigOperationMetadata", - "properties": { - "bitbucketServerConfig": { - "description": "The resource name of the BitbucketServerConfig to be created. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", - "type": "string" - }, - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "CreateGitHubEnterpriseConfigOperationMetadata": { - "description": "Metadata for `CreateGithubEnterpriseConfig` operation.", - "id": "CreateGitHubEnterpriseConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "CreateGitLabConfigOperationMetadata": { - "description": "Metadata for `CreateGitLabConfig` operation.", - "id": "CreateGitLabConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "gitlabConfig": { - "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "CreateWorkerPoolOperationMetadata": { - "description": "Metadata for the `CreateWorkerPool` operation.", - "id": "CreateWorkerPoolOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "workerPool": { - "description": "The resource name of the `WorkerPool` to create. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", - "type": "string" - } - }, - "type": "object" - }, - "DeleteBitbucketServerConfigOperationMetadata": { - "description": "Metadata for `DeleteBitbucketServerConfig` operation.", - "id": "DeleteBitbucketServerConfigOperationMetadata", - "properties": { - "bitbucketServerConfig": { - "description": "The resource name of the BitbucketServerConfig to be deleted. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", - "type": "string" - }, - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "DeleteGitHubEnterpriseConfigOperationMetadata": { - "description": "Metadata for `DeleteGitHubEnterpriseConfig` operation.", - "id": "DeleteGitHubEnterpriseConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be deleted. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "DeleteGitLabConfigOperationMetadata": { - "description": "Metadata for `DeleteGitLabConfig` operation.", - "id": "DeleteGitLabConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "gitlabConfig": { - "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "DeleteWorkerPoolOperationMetadata": { - "description": "Metadata for the `DeleteWorkerPool` operation.", - "id": "DeleteWorkerPoolOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "workerPool": { - "description": "The resource name of the `WorkerPool` being deleted. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "FailureInfo": { - "description": "A fatal problem encountered during the execution of the build.", - "id": "FailureInfo", - "properties": { - "detail": { - "description": "Explains the failure issue in more detail using hard-coded text.", - "type": "string" - }, - "type": { - "description": "The name of the failure.", - "enum": [ - "FAILURE_TYPE_UNSPECIFIED", - "PUSH_FAILED", - "PUSH_IMAGE_NOT_FOUND", - "PUSH_NOT_AUTHORIZED", - "LOGGING_FAILURE", - "USER_BUILD_STEP", - "FETCH_SOURCE_FAILED" - ], - "enumDescriptions": [ - "Type unspecified", - "Unable to push the image to the repository.", - "Final image not found.", - "Unauthorized push of the final image.", - "Backend logging failures. Should retry.", - "A build step has failed.", - "The source fetching has failed." - ], - "type": "string" - } - }, - "type": "object" - }, - "FileHashes": { - "description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.", - "id": "FileHashes", - "properties": { - "fileHash": { - "description": "Collection of file hashes.", - "items": { - "$ref": "Hash" - }, - "type": "array" - } - }, - "type": "object" - }, - "GitLabConnectedRepository": { - "description": "GitLabConnectedRepository represents a GitLab connected repository request response.", - "id": "GitLabConnectedRepository", - "properties": { - "parent": { - "description": "The name of the `GitLabConfig` that added connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", - "type": "string" - }, - "repo": { - "$ref": "GitLabRepositoryId", - "description": "The GitLab repositories to connect." - }, - "status": { - "$ref": "Status", - "description": "Output only. The status of the repo connection request.", - "readOnly": true - } - }, - "type": "object" - }, - "GitLabRepositoryId": { - "description": "GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise", - "id": "GitLabRepositoryId", - "properties": { - "id": { - "description": "Required. Identifier for the repository. example: \"namespace/project-slug\", namespace is usually the username or group ID", - "type": "string" - }, - "webhookId": { - "description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", - "format": "int32", - "readOnly": true, - "type": "integer" - } - }, - "type": "object" - }, - "GoogleDevtoolsCloudbuildV2OperationMetadata": { - "description": "Represents the metadata of the long-running operation.", - "id": "GoogleDevtoolsCloudbuildV2OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "HTTPDelivery": { - "description": "HTTPDelivery is the delivery configuration for an HTTP notification.", - "id": "HTTPDelivery", - "properties": { - "uri": { - "description": "The URI to which JSON-containing HTTP POST requests should be sent.", - "type": "string" - } - }, - "type": "object" - }, - "Hash": { - "description": "Container message for hash values.", - "id": "Hash", - "properties": { - "type": { - "description": "The type of hash that was performed.", - "enum": [ - "NONE", - "SHA256", - "MD5" - ], - "enumDescriptions": [ - "No hash requested.", - "Use a sha256 hash.", - "Use a md5 hash." - ], - "type": "string" - }, - "value": { - "description": "The hash value.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "InlineSecret": { - "description": "Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.", - "id": "InlineSecret", - "properties": { - "envMap": { - "additionalProperties": { - "format": "byte", - "type": "string" - }, - "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", - "type": "object" - }, - "kmsKeyName": { - "description": "Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*/locations/*/keyRings/*/cryptoKeys/*", - "type": "string" - } - }, - "type": "object" - }, - "ListWorkerPoolsResponse": { - "description": "Response containing existing `WorkerPools`.", - "id": "ListWorkerPoolsResponse", - "properties": { - "workerPools": { - "description": "`WorkerPools` for the specified project.", - "items": { - "$ref": "WorkerPool" - }, - "type": "array" - } - }, - "type": "object" - }, - "MavenArtifact": { - "description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.", - "id": "MavenArtifact", - "properties": { - "artifactId": { - "description": "Maven `artifactId` value used when uploading the artifact to Artifact Registry.", - "type": "string" - }, - "groupId": { - "description": "Maven `groupId` value used when uploading the artifact to Artifact Registry.", - "type": "string" - }, - "path": { - "description": "Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", - "type": "string" - }, - "repository": { - "description": "Artifact Registry repository, in the form \"https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY\" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.", - "type": "string" - }, - "version": { - "description": "Maven `version` value used when uploading the artifact to Artifact Registry.", - "type": "string" - } - }, - "type": "object" - }, - "NetworkConfig": { - "description": "Network describes the network configuration for a `WorkerPool`.", - "id": "NetworkConfig", - "properties": { - "peeredNetwork": { - "description": "Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See [Understanding network configuration options](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)", - "type": "string" - } - }, - "type": "object" - }, - "Notification": { - "description": "Notification is the container which holds the data that is relevant to this particular notification.", - "id": "Notification", - "properties": { - "filter": { - "description": "The filter string to use for notification filtering. Currently, this is assumed to be a CEL program. See https://opensource.google/projects/cel for more.", - "type": "string" - }, - "httpDelivery": { - "$ref": "HTTPDelivery", - "description": "Configuration for HTTP delivery." - }, - "slackDelivery": { - "$ref": "SlackDelivery", - "description": "Configuration for Slack delivery." - }, - "smtpDelivery": { - "$ref": "SMTPDelivery", - "description": "Configuration for SMTP (email) delivery." - }, - "structDelivery": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Escape hatch for users to supply custom delivery configs.", - "type": "object" - } - }, - "type": "object" - }, - "NotifierConfig": { - "description": "NotifierConfig is the top-level configuration message.", - "id": "NotifierConfig", - "properties": { - "apiVersion": { - "description": "The API version of this configuration format.", - "type": "string" - }, - "kind": { - "description": "The type of notifier to use (e.g. SMTPNotifier).", - "type": "string" - }, - "metadata": { - "$ref": "NotifierMetadata", - "description": "Metadata for referring to/handling/deploying this notifier." - }, - "spec": { - "$ref": "NotifierSpec", - "description": "The actual configuration for this notifier." - } - }, - "type": "object" - }, - "NotifierMetadata": { - "description": "NotifierMetadata contains the data which can be used to reference or describe this notifier.", - "id": "NotifierMetadata", - "properties": { - "name": { - "description": "The human-readable and user-given name for the notifier. For example: \"repo-merge-email-notifier\".", - "type": "string" - }, - "notifier": { - "description": "The string representing the name and version of notifier to deploy. Expected to be of the form of \"/:\". For example: \"gcr.io/my-project/notifiers/smtp:1.2.34\".", - "type": "string" - } - }, - "type": "object" - }, - "NotifierSecret": { - "description": "NotifierSecret is the container that maps a secret name (reference) to its Google Cloud Secret Manager resource path.", - "id": "NotifierSecret", - "properties": { - "name": { - "description": "Name is the local name of the secret, such as the verbatim string \"my-smtp-password\".", - "type": "string" - }, - "value": { - "description": "Value is interpreted to be a resource path for fetching the actual (versioned) secret data for this secret. For example, this would be a Google Cloud Secret Manager secret version resource path like: \"projects/my-project/secrets/my-secret/versions/latest\".", - "type": "string" - } - }, - "type": "object" - }, - "NotifierSecretRef": { - "description": "NotifierSecretRef contains the reference to a secret stored in the corresponding NotifierSpec.", - "id": "NotifierSecretRef", - "properties": { - "secretRef": { - "description": "The value of `secret_ref` should be a `name` that is registered in a `Secret` in the `secrets` list of the `Spec`.", - "type": "string" - } - }, - "type": "object" - }, - "NotifierSpec": { - "description": "NotifierSpec is the configuration container for notifications.", - "id": "NotifierSpec", - "properties": { - "notification": { - "$ref": "Notification", - "description": "The configuration of this particular notifier." - }, - "secrets": { - "description": "Configurations for secret resources used by this particular notifier.", - "items": { - "$ref": "NotifierSecret" - }, - "type": "array" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "OperationMetadata": { - "description": "Represents the metadata of the long-running operation.", - "id": "OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "cancelRequested": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "statusDetail": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "PoolOption": { - "description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.", - "id": "PoolOption", - "properties": { - "name": { - "description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}", - "type": "string" - } - }, - "type": "object" - }, - "ProcessAppManifestCallbackOperationMetadata": { - "description": "Metadata for `ProcessAppManifestCallback` operation.", - "id": "ProcessAppManifestCallbackOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "PythonPackage": { - "description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.", - "id": "PythonPackage", - "properties": { - "paths": { - "description": "Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.", - "items": { - "type": "string" - }, - "type": "array" - }, - "repository": { - "description": "Artifact Registry repository, in the form \"https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY\" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.", - "type": "string" - } - }, - "type": "object" - }, - "RepoSource": { - "description": "Location of the source in a Google Cloud Source Repository.", - "id": "RepoSource", - "properties": { - "branchName": { - "description": "Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", - "type": "string" - }, - "commitSha": { - "description": "Explicit commit SHA to build.", - "type": "string" - }, - "dir": { - "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", - "type": "string" - }, - "invertRegex": { - "description": "Only trigger a build if the revision regex does NOT match the revision regex.", - "type": "boolean" - }, - "projectId": { - "description": "ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", - "type": "string" - }, - "repoName": { - "description": "Name of the Cloud Source Repository.", - "type": "string" - }, - "substitutions": { - "additionalProperties": { - "type": "string" - }, - "description": "Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", - "type": "object" - }, - "tagName": { - "description": "Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", - "type": "string" - } - }, - "type": "object" - }, - "Repository": { - "description": "A repository associated to a parent connection.", - "id": "Repository", - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "description": "Allows clients to store small amounts of arbitrary data.", - "type": "object" - }, - "createTime": { - "description": "Output only. Server assigned timestamp for when the connection was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "etag": { - "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", - "type": "string" - }, - "name": { - "description": "Immutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`.", - "type": "string" - }, - "remoteUri": { - "description": "Required. Git Clone HTTPS URI.", - "type": "string" - }, - "updateTime": { - "description": "Output only. Server assigned timestamp for when the connection was updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Results": { - "description": "Artifacts created by the build pipeline.", - "id": "Results", - "properties": { - "artifactManifest": { - "description": "Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", - "type": "string" - }, - "artifactTiming": { - "$ref": "TimeSpan", - "description": "Time to push all non-container artifacts to Cloud Storage." - }, - "buildStepImages": { - "description": "List of build step digests, in the order corresponding to build step indices.", - "items": { - "type": "string" - }, - "type": "array" - }, - "buildStepOutputs": { - "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 4KB of data is stored.", - "items": { - "format": "byte", - "type": "string" - }, - "type": "array" - }, - "images": { - "description": "Container images that were built as a part of the build.", - "items": { - "$ref": "BuiltImage" - }, - "type": "array" - }, - "mavenArtifacts": { - "description": "Maven artifacts uploaded to Artifact Registry at the end of the build.", - "items": { - "$ref": "UploadedMavenArtifact" - }, - "type": "array" - }, - "numArtifacts": { - "description": "Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", - "format": "int64", - "type": "string" - }, - "pythonPackages": { - "description": "Python artifacts uploaded to Artifact Registry at the end of the build.", - "items": { - "$ref": "UploadedPythonPackage" - }, - "type": "array" - } - }, - "type": "object" - }, - "RunWorkflowCustomOperationMetadata": { - "description": "Represents the custom metadata of the RunWorkflow long-running operation.", - "id": "RunWorkflowCustomOperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "pipelineRunId": { - "description": "Output only. ID of the pipeline run created by RunWorkflow.", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "SMTPDelivery": { - "description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.", - "id": "SMTPDelivery", - "properties": { - "fromAddress": { - "description": "This is the SMTP account/email that appears in the `From:` of the email. If empty, it is assumed to be sender.", - "type": "string" - }, - "password": { - "$ref": "NotifierSecretRef", - "description": "The SMTP sender's password." - }, - "port": { - "description": "The SMTP port of the server.", - "type": "string" - }, - "recipientAddresses": { - "description": "This is the list of addresses to which we send the email (i.e. in the `To:` of the email).", - "items": { - "type": "string" - }, - "type": "array" - }, - "senderAddress": { - "description": "This is the SMTP account/email that is used to send the message.", - "type": "string" - }, - "server": { - "description": "The address of the SMTP server.", - "type": "string" - } - }, - "type": "object" - }, - "Secret": { - "description": "Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `available_secrets` instead of using `kmsKeyName` with `secret`. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.", - "id": "Secret", - "properties": { - "kmsKeyName": { - "description": "Cloud KMS key name to use to decrypt these envs.", - "type": "string" - }, - "secretEnv": { - "additionalProperties": { - "format": "byte", - "type": "string" - }, - "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", - "type": "object" - } - }, - "type": "object" - }, - "SecretManagerSecret": { - "description": "Pairs a secret environment variable with a SecretVersion in Secret Manager.", - "id": "SecretManagerSecret", - "properties": { - "env": { - "description": "Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.", - "type": "string" - }, - "versionName": { - "description": "Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*", - "type": "string" - } - }, - "type": "object" - }, - "Secrets": { - "description": "Secrets and secret environment variables.", - "id": "Secrets", - "properties": { - "inline": { - "description": "Secrets encrypted with KMS key and the associated secret environment variable.", - "items": { - "$ref": "InlineSecret" - }, - "type": "array" - }, - "secretManager": { - "description": "Secrets in Secret Manager and associated secret environment variable.", - "items": { - "$ref": "SecretManagerSecret" - }, - "type": "array" - } - }, - "type": "object" - }, - "SlackDelivery": { - "description": "SlackDelivery is the delivery configuration for delivering Slack messages via webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/webhooks.", - "id": "SlackDelivery", - "properties": { - "webhookUri": { - "$ref": "NotifierSecretRef", - "description": "The secret reference for the Slack webhook URI for sending messages to a channel." - } - }, - "type": "object" - }, - "Source": { - "description": "Location of the source in a supported storage service.", - "id": "Source", - "properties": { - "repoSource": { - "$ref": "RepoSource", - "description": "If provided, get the source from this location in a Cloud Source Repository." - }, - "storageSource": { - "$ref": "StorageSource", - "description": "If provided, get the source from this location in Google Cloud Storage." - }, - "storageSourceManifest": { - "$ref": "StorageSourceManifest", - "description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)." - } - }, - "type": "object" - }, - "SourceProvenance": { - "description": "Provenance of the source. Ways to find the original source, or verify that some source was used for this build.", - "id": "SourceProvenance", - "properties": { - "fileHashes": { - "additionalProperties": { - "$ref": "FileHashes" - }, - "description": "Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file.", - "readOnly": true, - "type": "object" - }, - "resolvedRepoSource": { - "$ref": "RepoSource", - "description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." - }, - "resolvedStorageSource": { - "$ref": "StorageSource", - "description": "A copy of the build's `source.storage_source`, if exists, with any generations resolved." - }, - "resolvedStorageSourceManifest": { - "$ref": "StorageSourceManifest", - "description": "A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview." - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "StorageSource": { - "description": "Location of the source in an archive file in Google Cloud Storage.", - "id": "StorageSource", - "properties": { - "bucket": { - "description": "Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", - "type": "string" - }, - "generation": { - "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", - "type": "string" - } - }, - "type": "object" - }, - "StorageSourceManifest": { - "description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).", - "id": "StorageSourceManifest", - "properties": { - "bucket": { - "description": "Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", - "type": "string" - }, - "generation": { - "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Google Cloud Storage object containing the source manifest. This object must be a JSON file.", - "type": "string" - } - }, - "type": "object" - }, - "TimeSpan": { - "description": "Start and end times for a build execution phase.", - "id": "TimeSpan", - "properties": { - "endTime": { - "description": "End of time span.", - "format": "google-datetime", - "type": "string" - }, - "startTime": { - "description": "Start of time span.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "UpdateBitbucketServerConfigOperationMetadata": { - "description": "Metadata for `UpdateBitbucketServerConfig` operation.", - "id": "UpdateBitbucketServerConfigOperationMetadata", - "properties": { - "bitbucketServerConfig": { - "description": "The resource name of the BitbucketServerConfig to be updated. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", - "type": "string" - }, - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "UpdateGitHubEnterpriseConfigOperationMetadata": { - "description": "Metadata for `UpdateGitHubEnterpriseConfig` operation.", - "id": "UpdateGitHubEnterpriseConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "githubEnterpriseConfig": { - "description": "The resource name of the GitHubEnterprise to be updated. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "UpdateGitLabConfigOperationMetadata": { - "description": "Metadata for `UpdateGitLabConfig` operation.", - "id": "UpdateGitLabConfigOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "gitlabConfig": { - "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", - "type": "string" - } - }, - "type": "object" - }, - "UpdateWorkerPoolOperationMetadata": { - "description": "Metadata for the `UpdateWorkerPool` operation.", - "id": "UpdateWorkerPoolOperationMetadata", - "properties": { - "completeTime": { - "description": "Time the operation was completed.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Time the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "workerPool": { - "description": "The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", - "type": "string" - } - }, - "type": "object" - }, - "UploadedMavenArtifact": { - "description": "A Maven artifact uploaded using the MavenArtifact directive.", - "id": "UploadedMavenArtifact", - "properties": { - "fileHashes": { - "$ref": "FileHashes", - "description": "Hash types and values of the Maven Artifact." - }, - "pushTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing the specified artifact.", - "readOnly": true - }, - "uri": { - "description": "URI of the uploaded artifact.", - "type": "string" - } - }, - "type": "object" - }, - "UploadedPythonPackage": { - "description": "Artifact uploaded using the PythonPackage directive.", - "id": "UploadedPythonPackage", - "properties": { - "fileHashes": { - "$ref": "FileHashes", - "description": "Hash types and values of the Python Artifact." - }, - "pushTiming": { - "$ref": "TimeSpan", - "description": "Output only. Stores timing information for pushing the specified artifact.", - "readOnly": true - }, - "uri": { - "description": "URI of the uploaded artifact.", - "type": "string" - } - }, - "type": "object" - }, - "Volume": { - "description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.", - "id": "Volume", - "properties": { - "name": { - "description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.", - "type": "string" - }, - "path": { - "description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.", - "type": "string" - } - }, - "type": "object" - }, - "Warning": { - "description": "A non-fatal problem encountered during the execution of the build.", - "id": "Warning", - "properties": { - "priority": { - "description": "The priority for this warning.", - "enum": [ - "PRIORITY_UNSPECIFIED", - "INFO", - "WARNING", - "ALERT" - ], - "enumDescriptions": [ - "Should not be used.", - "e.g. deprecation warnings and alternative feature highlights.", - "e.g. automated detection of possible issues with the build.", - "e.g. alerts that a feature used in the build is pending removal" - ], - "type": "string" - }, - "text": { - "description": "Explanation of the warning generated.", - "type": "string" - } - }, - "type": "object" - }, - "WorkerConfig": { - "description": "Defines the configuration to be used for creating workers in the pool.", - "id": "WorkerConfig", - "properties": { - "diskSizeGb": { - "description": "Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size.", - "format": "int64", - "type": "string" - }, - "machineType": { - "description": "Machine type of a worker, such as `n1-standard-1`. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`.", - "type": "string" - }, - "noExternalIp": { - "description": "If true, workers are created without any public address, which prevents network egress to public IPs.", - "type": "boolean" - } - }, - "type": "object" - }, - "WorkerPool": { - "description": "Configuration for a `WorkerPool` to run the builds. Workers provide a build environment where Cloud Build runs your builds. Cloud Build owns and maintains a pool of workers for general use. By default, when you submit a build, Cloud Build uses one of the workers from this pool. Builds that run in the default worker pool have access to the public internet. If your build needs access to resources on a private network, create and use a `WorkerPool` to run your builds. Custom `WorkerPool`s give your builds access to any single VPC network that you administer, including any on-prem resources connected to that VPC network. For an overview of custom worker pools, see [Custom workers overview](https://cloud.google.com/cloud-build/docs/custom-workers/custom-workers-overview).", - "id": "WorkerPool", - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "description": "User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.", - "type": "object" - }, - "createTime": { - "description": "Output only. Time at which the request to create the `WorkerPool` was received.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "deleteTime": { - "description": "Output only. Time at which the request to delete the `WorkerPool` was received.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "displayName": { - "description": "A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.", - "type": "string" - }, - "etag": { - "description": "Output only. Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the `WorkerPool`, with format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. The value of `{worker_pool}` is provided by `worker_pool_id` in `CreateWorkerPool` request and the value of `{location}` is determined by the endpoint accessed.", - "readOnly": true, - "type": "string" - }, - "networkConfig": { - "$ref": "NetworkConfig", - "description": "Network configuration for the `WorkerPool`." - }, - "state": { - "description": "Output only. `WorkerPool` state.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "RUNNING", - "DELETING", - "DELETED" - ], - "enumDescriptions": [ - "State of the `WorkerPool` is unknown.", - "`WorkerPool` is being created.", - "`WorkerPool` is running.", - "`WorkerPool` is being deleted: cancelling builds and draining workers.", - "`WorkerPool` is deleted." - ], - "readOnly": true, - "type": "string" - }, - "uid": { - "description": "Output only. A unique identifier for the `WorkerPool`.", - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. Time at which the request to update the `WorkerPool` was received.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "workerConfig": { - "$ref": "WorkerConfig", - "description": "Worker configuration for the `WorkerPool`." - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Build API", - "version": "v1beta1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/clouddebugger-v2.json b/discovery/clouddebugger-v2.json deleted file mode 100644 index 3af473d4dcd..00000000000 --- a/discovery/clouddebugger-v2.json +++ /dev/null @@ -1,1130 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - }, - "https://www.googleapis.com/auth/cloud_debugger": { - "description": "Use Stackdriver Debugger" - } - } - } - }, - "basePath": "", - "baseUrl": "https://clouddebugger.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Debugger", - "description": "Examines the call stack and variables of a running application without stopping or slowing it down. (Deprecated) ", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/debugger", - "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": "clouddebugger:v2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://clouddebugger.mtls.googleapis.com/", - "name": "clouddebugger", - "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": { - "controller": { - "resources": { - "debuggees": { - "methods": { - "register": { - "description": "Registers the debuggee with the controller service. All agents attached to the same application must call this method with exactly the same request content to get back the same stable `debuggee_id`. Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` is returned from any controller method. This protocol allows the controller service to disable debuggees, recover from data loss, or change the `debuggee_id` format. Agents must handle `debuggee_id` value changing upon re-registration.", - "flatPath": "v2/controller/debuggees/register", - "httpMethod": "POST", - "id": "clouddebugger.controller.debuggees.register", - "parameterOrder": [], - "parameters": {}, - "path": "v2/controller/debuggees/register", - "request": { - "$ref": "RegisterDebuggeeRequest" - }, - "response": { - "$ref": "RegisterDebuggeeResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ] - } - }, - "resources": { - "breakpoints": { - "methods": { - "list": { - "description": "Returns the list of all active breakpoints for the debuggee. The breakpoint specification (`location`, `condition`, and `expressions` fields) is semantically immutable, although the field values may change. For example, an agent may update the location line number to reflect the actual line where the breakpoint was set, but this doesn't change the breakpoint semantics. This means that an agent does not need to check if a breakpoint has changed when it encounters the same breakpoint on a successive call. Moreover, an agent should remember the breakpoints that are completed until the controller removes them from the active list to avoid setting those breakpoints again.", - "flatPath": "v2/controller/debuggees/{debuggeeId}/breakpoints", - "httpMethod": "GET", - "id": "clouddebugger.controller.debuggees.breakpoints.list", - "parameterOrder": [ - "debuggeeId" - ], - "parameters": { - "agentId": { - "description": "Identifies the agent. This is the ID returned in the RegisterDebuggee response.", - "location": "query", - "type": "string" - }, - "debuggeeId": { - "description": "Required. Identifies the debuggee.", - "location": "path", - "required": true, - "type": "string" - }, - "successOnTimeout": { - "description": "If set to `true` (recommended), returns `google.rpc.Code.OK` status and sets the `wait_expired` response field to `true` when the server-selected timeout has expired. If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status when the server-selected timeout has expired.", - "location": "query", - "type": "boolean" - }, - "waitToken": { - "description": "A token that, if specified, blocks the method call until the list of active breakpoints has changed, or a server-selected timeout has expired. The value should be set from the `next_wait_token` field in the last response. The initial value should be set to `\"init\"`.", - "location": "query", - "type": "string" - } - }, - "path": "v2/controller/debuggees/{debuggeeId}/breakpoints", - "response": { - "$ref": "ListActiveBreakpointsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ] - }, - "update": { - "description": "Updates the breakpoint state or mutable fields. The entire Breakpoint message must be sent back to the controller service. Updates to active breakpoint fields are only allowed if the new value does not change the breakpoint specification. Updates to the `location`, `condition` and `expressions` fields should not alter the breakpoint semantics. These may only make changes such as canonicalizing a value or snapping the location to the correct line of code.", - "flatPath": "v2/controller/debuggees/{debuggeeId}/breakpoints/{id}", - "httpMethod": "PUT", - "id": "clouddebugger.controller.debuggees.breakpoints.update", - "parameterOrder": [ - "debuggeeId", - "id" - ], - "parameters": { - "debuggeeId": { - "description": "Required. Identifies the debuggee being debugged.", - "location": "path", - "required": true, - "type": "string" - }, - "id": { - "description": "Breakpoint identifier, unique in the scope of the debuggee.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v2/controller/debuggees/{debuggeeId}/breakpoints/{id}", - "request": { - "$ref": "UpdateActiveBreakpointRequest" - }, - "response": { - "$ref": "UpdateActiveBreakpointResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ] - } - } - } - } - } - } - }, - "debugger": { - "resources": { - "debuggees": { - "methods": { - "list": { - "description": "Lists all the debuggees that the user has access to.", - "flatPath": "v2/debugger/debuggees", - "httpMethod": "GET", - "id": "clouddebugger.debugger.debuggees.list", - "parameterOrder": [], - "parameters": { - "clientVersion": { - "description": "Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).", - "location": "query", - "type": "string" - }, - "includeInactive": { - "description": "When set to `true`, the result includes all debuggees. Otherwise, the result includes only debuggees that are active.", - "location": "query", - "type": "boolean" - }, - "project": { - "description": "Required. Project number of a Google Cloud project whose debuggees to list.", - "location": "query", - "type": "string" - } - }, - "path": "v2/debugger/debuggees", - "response": { - "$ref": "ListDebuggeesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ] - } - }, - "resources": { - "breakpoints": { - "methods": { - "delete": { - "description": "Deletes the breakpoint from the debuggee.", - "flatPath": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", - "httpMethod": "DELETE", - "id": "clouddebugger.debugger.debuggees.breakpoints.delete", - "parameterOrder": [ - "debuggeeId", - "breakpointId" - ], - "parameters": { - "breakpointId": { - "description": "Required. ID of the breakpoint to delete.", - "location": "path", - "required": true, - "type": "string" - }, - "clientVersion": { - "description": "Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).", - "location": "query", - "type": "string" - }, - "debuggeeId": { - "description": "Required. ID of the debuggee whose breakpoint to delete.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ] - }, - "get": { - "description": "Gets breakpoint information.", - "flatPath": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", - "httpMethod": "GET", - "id": "clouddebugger.debugger.debuggees.breakpoints.get", - "parameterOrder": [ - "debuggeeId", - "breakpointId" - ], - "parameters": { - "breakpointId": { - "description": "Required. ID of the breakpoint to get.", - "location": "path", - "required": true, - "type": "string" - }, - "clientVersion": { - "description": "Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).", - "location": "query", - "type": "string" - }, - "debuggeeId": { - "description": "Required. ID of the debuggee whose breakpoint to get.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", - "response": { - "$ref": "GetBreakpointResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ] - }, - "list": { - "description": "Lists all breakpoints for the debuggee.", - "flatPath": "v2/debugger/debuggees/{debuggeeId}/breakpoints", - "httpMethod": "GET", - "id": "clouddebugger.debugger.debuggees.breakpoints.list", - "parameterOrder": [ - "debuggeeId" - ], - "parameters": { - "action.value": { - "description": "Only breakpoints with the specified action will pass the filter.", - "enum": [ - "CAPTURE", - "LOG" - ], - "enumDescriptions": [ - "Capture stack frame and variables and update the breakpoint. The data is only captured once. After that the breakpoint is set in a final state.", - "Log each breakpoint hit. The breakpoint remains active until deleted or expired." - ], - "location": "query", - "type": "string" - }, - "clientVersion": { - "description": "Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).", - "location": "query", - "type": "string" - }, - "debuggeeId": { - "description": "Required. ID of the debuggee whose breakpoints to list.", - "location": "path", - "required": true, - "type": "string" - }, - "includeAllUsers": { - "description": "When set to `true`, the response includes the list of breakpoints set by any user. Otherwise, it includes only breakpoints set by the caller.", - "location": "query", - "type": "boolean" - }, - "includeInactive": { - "description": "When set to `true`, the response includes active and inactive breakpoints. Otherwise, it includes only active breakpoints.", - "location": "query", - "type": "boolean" - }, - "stripResults": { - "deprecated": true, - "description": "This field is deprecated. The following fields are always stripped out of the result: `stack_frames`, `evaluated_expressions` and `variable_table`.", - "location": "query", - "type": "boolean" - }, - "waitToken": { - "description": "A wait token that, if specified, blocks the call until the breakpoints list has changed, or a server selected timeout has expired. The value should be set from the last response. The error code `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which should be called again with the same `wait_token`.", - "location": "query", - "type": "string" - } - }, - "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints", - "response": { - "$ref": "ListBreakpointsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ] - }, - "set": { - "description": "Sets the breakpoint to the debuggee.", - "flatPath": "v2/debugger/debuggees/{debuggeeId}/breakpoints/set", - "httpMethod": "POST", - "id": "clouddebugger.debugger.debuggees.breakpoints.set", - "parameterOrder": [ - "debuggeeId" - ], - "parameters": { - "canaryOption": { - "description": "The canary option set by the user upon setting breakpoint.", - "enum": [ - "CANARY_OPTION_UNSPECIFIED", - "CANARY_OPTION_TRY_ENABLE", - "CANARY_OPTION_TRY_DISABLE" - ], - "enumDescriptions": [ - "Depends on the canary_mode of the debuggee.", - "Enable the canary for this breakpoint if the canary_mode of the debuggee is not CANARY_MODE_ALWAYS_ENABLED or CANARY_MODE_ALWAYS_DISABLED.", - "Disable the canary for this breakpoint if the canary_mode of the debuggee is not CANARY_MODE_ALWAYS_ENABLED or CANARY_MODE_ALWAYS_DISABLED." - ], - "location": "query", - "type": "string" - }, - "clientVersion": { - "description": "Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).", - "location": "query", - "type": "string" - }, - "debuggeeId": { - "description": "Required. ID of the debuggee where the breakpoint is to be set.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/set", - "request": { - "$ref": "Breakpoint" - }, - "response": { - "$ref": "SetBreakpointResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ] - } - } - } - } - } - } - } - }, - "revision": "20230707", - "rootUrl": "https://clouddebugger.googleapis.com/", - "schemas": { - "AliasContext": { - "description": "An alias to a repo revision.", - "id": "AliasContext", - "properties": { - "kind": { - "description": "The alias kind.", - "enum": [ - "ANY", - "FIXED", - "MOVABLE", - "OTHER" - ], - "enumDescriptions": [ - "Do not use.", - "Git tag", - "Git branch", - "OTHER is used to specify non-standard aliases, those not of the kinds above. For example, if a Git repo has a ref named \"refs/foo/bar\", it is considered to be of kind OTHER." - ], - "type": "string" - }, - "name": { - "description": "The alias name.", - "type": "string" - } - }, - "type": "object" - }, - "Breakpoint": { - "description": "------------------------------------------------------------------------------ ## Breakpoint (the resource) Represents the breakpoint specification, status and results.", - "id": "Breakpoint", - "properties": { - "action": { - "description": "Action that the agent should perform when the code at the breakpoint location is hit.", - "enum": [ - "CAPTURE", - "LOG" - ], - "enumDescriptions": [ - "Capture stack frame and variables and update the breakpoint. The data is only captured once. After that the breakpoint is set in a final state.", - "Log each breakpoint hit. The breakpoint remains active until deleted or expired." - ], - "type": "string" - }, - "canaryExpireTime": { - "description": "The deadline for the breakpoint to stay in CANARY_ACTIVE state. The value is meaningless when the breakpoint is not in CANARY_ACTIVE state.", - "format": "google-datetime", - "type": "string" - }, - "condition": { - "description": "Condition that triggers the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.", - "type": "string" - }, - "createTime": { - "description": "Time this breakpoint was created by the server in seconds resolution.", - "format": "google-datetime", - "type": "string" - }, - "evaluatedExpressions": { - "description": "Values of evaluated expressions at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the `expressions` field. The `name` field holds the original expression text, the `value` or `members` field holds the result of the evaluated expression. If the expression cannot be evaluated, the `status` inside the `Variable` will indicate an error and contain the error text.", - "items": { - "$ref": "Variable" - }, - "type": "array" - }, - "expressions": { - "description": "List of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is `LOG`, the evaluated expressions are included in log statements.", - "items": { - "type": "string" - }, - "type": "array" - }, - "finalTime": { - "description": "Time this breakpoint was finalized as seen by the server in seconds resolution.", - "format": "google-datetime", - "type": "string" - }, - "id": { - "description": "Breakpoint identifier, unique in the scope of the debuggee.", - "type": "string" - }, - "isFinalState": { - "description": "When true, indicates that this is a final result and the breakpoint state will not change from here on.", - "type": "boolean" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "A set of custom breakpoint properties, populated by the agent, to be displayed to the user.", - "type": "object" - }, - "location": { - "$ref": "SourceLocation", - "description": "Breakpoint source location." - }, - "logLevel": { - "description": "Indicates the severity of the log. Only relevant when action is `LOG`.", - "enum": [ - "INFO", - "WARNING", - "ERROR" - ], - "enumDescriptions": [ - "Information log message.", - "Warning log message.", - "Error log message." - ], - "type": "string" - }, - "logMessageFormat": { - "description": "Only relevant when action is `LOG`. Defines the message to log when the breakpoint hits. The message may include parameter placeholders `$0`, `$1`, etc. These placeholders are replaced with the evaluated value of the appropriate expression. Expressions not referenced in `log_message_format` are not logged. Example: `Message received, id = $0, count = $1` with `expressions` = `[ message.id, message.count ]`.", - "type": "string" - }, - "stackFrames": { - "description": "The stack at breakpoint time, where stack_frames[0] represents the most recently entered function.", - "items": { - "$ref": "StackFrame" - }, - "type": "array" - }, - "state": { - "description": "The current state of the breakpoint.", - "enum": [ - "STATE_UNSPECIFIED", - "STATE_CANARY_PENDING_AGENTS", - "STATE_CANARY_ACTIVE", - "STATE_ROLLING_TO_ALL", - "STATE_IS_FINAL" - ], - "enumDescriptions": [ - "Breakpoint state UNSPECIFIED.", - "Enabling canary but no agents are available.", - "Enabling canary and successfully assigning canary agents.", - "Breakpoint rolling out to all agents.", - "Breakpoint is hit/complete/failed." - ], - "type": "string" - }, - "status": { - "$ref": "StatusMessage", - "description": "Breakpoint status. The status includes an error flag and a human readable message. This field is usually unset. The message can be either informational or an error message. Regardless, clients should always display the text message back to the user. Error status indicates complete failure of the breakpoint. Example (non-final state): `Still loading symbols...` Examples (final state): * `Invalid line number` referring to location * `Field f not found in class C` referring to condition" - }, - "userEmail": { - "description": "E-mail address of the user that created this breakpoint", - "type": "string" - }, - "variableTable": { - "description": "The `variable_table` exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the `variable_table` itself. For example, the same `this` object, which may appear at many levels of the stack, can have all of its data stored once in this table. The stack frame variables then would hold only a reference to it. The variable `var_table_index` field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing variable and the referenced variable.", - "items": { - "$ref": "Variable" - }, - "type": "array" - } - }, - "type": "object" - }, - "CloudRepoSourceContext": { - "description": "A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform).", - "id": "CloudRepoSourceContext", - "properties": { - "aliasContext": { - "$ref": "AliasContext", - "description": "An alias, which may be a branch or tag." - }, - "aliasName": { - "deprecated": true, - "description": "The name of an alias (branch, tag, etc.).", - "type": "string" - }, - "repoId": { - "$ref": "RepoId", - "description": "The ID of the repo." - }, - "revisionId": { - "description": "A revision ID.", - "type": "string" - } - }, - "type": "object" - }, - "CloudWorkspaceId": { - "description": "A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud workspace is a place associated with a repo where modified files can be stored before they are committed.", - "id": "CloudWorkspaceId", - "properties": { - "name": { - "description": "The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method.", - "type": "string" - }, - "repoId": { - "$ref": "RepoId", - "description": "The ID of the repo containing the workspace." - } - }, - "type": "object" - }, - "CloudWorkspaceSourceContext": { - "description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.", - "id": "CloudWorkspaceSourceContext", - "properties": { - "snapshotId": { - "description": "The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot.", - "type": "string" - }, - "workspaceId": { - "$ref": "CloudWorkspaceId", - "description": "The ID of the workspace." - } - }, - "type": "object" - }, - "Debuggee": { - "description": "Represents the debugged application. The application may include one or more replicated processes executing the same code. Each of these processes is attached with a debugger agent, carrying out the debugging commands. Agents attached to the same debuggee identify themselves as such by using exactly the same Debuggee message value when registering.", - "id": "Debuggee", - "properties": { - "agentVersion": { - "description": "Version ID of the agent. Schema: `domain/language-platform/vmajor.minor` (for example `google.com/java-gcp/v1.1`).", - "type": "string" - }, - "canaryMode": { - "description": "Used when setting breakpoint canary for this debuggee.", - "enum": [ - "CANARY_MODE_UNSPECIFIED", - "CANARY_MODE_ALWAYS_ENABLED", - "CANARY_MODE_ALWAYS_DISABLED", - "CANARY_MODE_DEFAULT_ENABLED", - "CANARY_MODE_DEFAULT_DISABLED" - ], - "enumDescriptions": [ - "CANARY_MODE_UNSPECIFIED is equivalent to CANARY_MODE_ALWAYS_DISABLED so that if the debuggee is not configured to use the canary feature, the feature will be disabled.", - "Always enable breakpoint canary regardless of the value of breakpoint's canary option.", - "Always disable breakpoint canary regardless of the value of breakpoint's canary option.", - "Depends on the breakpoint's canary option. Enable canary by default if the breakpoint's canary option is not specified.", - "Depends on the breakpoint's canary option. Disable canary by default if the breakpoint's canary option is not specified." - ], - "type": "string" - }, - "description": { - "description": "Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended.", - "type": "string" - }, - "extSourceContexts": { - "deprecated": true, - "description": "References to the locations and revisions of the source code used in the deployed application.", - "items": { - "$ref": "ExtendedSourceContext" - }, - "type": "array" - }, - "id": { - "description": "Unique identifier for the debuggee generated by the controller service.", - "type": "string" - }, - "isDisabled": { - "description": "If set to `true`, indicates that the agent should disable itself and detach from the debuggee.", - "type": "boolean" - }, - "isInactive": { - "description": "If set to `true`, indicates that Controller service does not detect any activity from the debuggee agents and the application is possibly stopped.", - "type": "boolean" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "A set of custom debuggee properties, populated by the agent, to be displayed to the user.", - "type": "object" - }, - "project": { - "description": "Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project.", - "type": "string" - }, - "sourceContexts": { - "description": "References to the locations and revisions of the source code used in the deployed application.", - "items": { - "$ref": "SourceContext" - }, - "type": "array" - }, - "status": { - "$ref": "StatusMessage", - "description": "Human readable message to be displayed to the user about this debuggee. Absence of this field indicates no status. The message can be either informational or an error status." - }, - "uniquifier": { - "description": "Uniquifier to further distinguish the application. It is possible that different applications might have identical values in the debuggee message, thus, incorrectly identified as a single application by the Controller service. This field adds salt to further distinguish the application. Agents should consider seeding this field with value that identifies the code, binary, configuration and environment.", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "ExtendedSourceContext": { - "description": "An ExtendedSourceContext is a SourceContext combined with additional details describing the context.", - "id": "ExtendedSourceContext", - "properties": { - "context": { - "$ref": "SourceContext", - "description": "Any source context." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels with user defined metadata.", - "type": "object" - } - }, - "type": "object" - }, - "FormatMessage": { - "description": "Represents a message with parameters.", - "id": "FormatMessage", - "properties": { - "format": { - "description": "Format template for the message. The `format` uses placeholders `$0`, `$1`, etc. to reference parameters. `$$` can be used to denote the `$` character. Examples: * `Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important.` * `Please pay $$10 to use $0 instead of $1.`", - "type": "string" - }, - "parameters": { - "description": "Optional parameters to be embedded into the message.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GerritSourceContext": { - "description": "A SourceContext referring to a Gerrit project.", - "id": "GerritSourceContext", - "properties": { - "aliasContext": { - "$ref": "AliasContext", - "description": "An alias, which may be a branch or tag." - }, - "aliasName": { - "deprecated": true, - "description": "The name of an alias (branch, tag, etc.).", - "type": "string" - }, - "gerritProject": { - "description": "The full project name within the host. Projects may be nested, so \"project/subproject\" is a valid project name. The \"repo name\" is hostURI/project.", - "type": "string" - }, - "hostUri": { - "description": "The URI of a running Gerrit instance.", - "type": "string" - }, - "revisionId": { - "description": "A revision (commit) ID.", - "type": "string" - } - }, - "type": "object" - }, - "GetBreakpointResponse": { - "description": "Response for getting breakpoint information.", - "id": "GetBreakpointResponse", - "properties": { - "breakpoint": { - "$ref": "Breakpoint", - "description": "Complete breakpoint state. The fields `id` and `location` are guaranteed to be set." - } - }, - "type": "object" - }, - "GitSourceContext": { - "description": "A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub).", - "id": "GitSourceContext", - "properties": { - "revisionId": { - "description": "Git commit hash. required.", - "type": "string" - }, - "url": { - "description": "Git repository URL.", - "type": "string" - } - }, - "type": "object" - }, - "ListActiveBreakpointsResponse": { - "description": "Response for listing active breakpoints.", - "id": "ListActiveBreakpointsResponse", - "properties": { - "breakpoints": { - "description": "List of all active breakpoints. The fields `id` and `location` are guaranteed to be set on each breakpoint.", - "items": { - "$ref": "Breakpoint" - }, - "type": "array" - }, - "nextWaitToken": { - "description": "A token that can be used in the next method call to block until the list of breakpoints changes.", - "type": "string" - }, - "waitExpired": { - "description": "If set to `true`, indicates that there is no change to the list of active breakpoints and the server-selected timeout has expired. The `breakpoints` field would be empty and should be ignored.", - "type": "boolean" - } - }, - "type": "object" - }, - "ListBreakpointsResponse": { - "description": "Response for listing breakpoints.", - "id": "ListBreakpointsResponse", - "properties": { - "breakpoints": { - "description": "List of breakpoints matching the request. The fields `id` and `location` are guaranteed to be set on each breakpoint. The fields: `stack_frames`, `evaluated_expressions` and `variable_table` are cleared on each breakpoint regardless of its status.", - "items": { - "$ref": "Breakpoint" - }, - "type": "array" - }, - "nextWaitToken": { - "description": "A wait token that can be used in the next call to `list` (REST) or `ListBreakpoints` (RPC) to block until the list of breakpoints has changes.", - "type": "string" - } - }, - "type": "object" - }, - "ListDebuggeesResponse": { - "description": "Response for listing debuggees.", - "id": "ListDebuggeesResponse", - "properties": { - "debuggees": { - "description": "List of debuggees accessible to the calling user. The fields `debuggee.id` and `description` are guaranteed to be set. The `description` field is a human readable field provided by agents and can be displayed to users.", - "items": { - "$ref": "Debuggee" - }, - "type": "array" - } - }, - "type": "object" - }, - "ProjectRepoId": { - "description": "Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project.", - "id": "ProjectRepoId", - "properties": { - "projectId": { - "description": "The ID of the project.", - "type": "string" - }, - "repoName": { - "description": "The name of the repo. Leave empty for the default repo.", - "type": "string" - } - }, - "type": "object" - }, - "RegisterDebuggeeRequest": { - "description": "Request to register a debuggee.", - "id": "RegisterDebuggeeRequest", - "properties": { - "debuggee": { - "$ref": "Debuggee", - "description": "Required. Debuggee information to register. The fields `project`, `uniquifier`, `description` and `agent_version` of the debuggee must be set." - } - }, - "type": "object" - }, - "RegisterDebuggeeResponse": { - "description": "Response for registering a debuggee.", - "id": "RegisterDebuggeeResponse", - "properties": { - "agentId": { - "description": "A unique ID generated for the agent. Each RegisterDebuggee request will generate a new agent ID.", - "type": "string" - }, - "debuggee": { - "$ref": "Debuggee", - "description": "Debuggee resource. The field `id` is guaranteed to be set (in addition to the echoed fields). If the field `is_disabled` is set to `true`, the agent should disable itself by removing all breakpoints and detaching from the application. It should however continue to poll `RegisterDebuggee` until reenabled." - } - }, - "type": "object" - }, - "RepoId": { - "description": "A unique identifier for a cloud repo.", - "id": "RepoId", - "properties": { - "projectRepoId": { - "$ref": "ProjectRepoId", - "description": "A combination of a project ID and a repo name." - }, - "uid": { - "description": "A server-assigned, globally unique identifier.", - "type": "string" - } - }, - "type": "object" - }, - "SetBreakpointResponse": { - "description": "Response for setting a breakpoint.", - "id": "SetBreakpointResponse", - "properties": { - "breakpoint": { - "$ref": "Breakpoint", - "description": "Breakpoint resource. The field `id` is guaranteed to be set (in addition to the echoed fields)." - } - }, - "type": "object" - }, - "SourceContext": { - "description": "A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.", - "id": "SourceContext", - "properties": { - "cloudRepo": { - "$ref": "CloudRepoSourceContext", - "description": "A SourceContext referring to a revision in a cloud repo." - }, - "cloudWorkspace": { - "$ref": "CloudWorkspaceSourceContext", - "description": "A SourceContext referring to a snapshot in a cloud workspace." - }, - "gerrit": { - "$ref": "GerritSourceContext", - "description": "A SourceContext referring to a Gerrit project." - }, - "git": { - "$ref": "GitSourceContext", - "description": "A SourceContext referring to any third party Git repo (e.g. GitHub)." - } - }, - "type": "object" - }, - "SourceLocation": { - "description": "Represents a location in the source code.", - "id": "SourceLocation", - "properties": { - "column": { - "description": "Column within a line. The first column in a line as the value `1`. Agents that do not support setting breakpoints on specific columns ignore this field.", - "format": "int32", - "type": "integer" - }, - "line": { - "description": "Line inside the file. The first line in the file has the value `1`.", - "format": "int32", - "type": "integer" - }, - "path": { - "description": "Path to the source file within the source context of the target binary.", - "type": "string" - } - }, - "type": "object" - }, - "StackFrame": { - "description": "Represents a stack frame context.", - "id": "StackFrame", - "properties": { - "arguments": { - "description": "Set of arguments passed to this function. Note that this might not be populated for all stack frames.", - "items": { - "$ref": "Variable" - }, - "type": "array" - }, - "function": { - "description": "Demangled function name at the call site.", - "type": "string" - }, - "locals": { - "description": "Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.", - "items": { - "$ref": "Variable" - }, - "type": "array" - }, - "location": { - "$ref": "SourceLocation", - "description": "Source location of the call site." - } - }, - "type": "object" - }, - "StatusMessage": { - "description": "Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the `Breakpoint.status` field can indicate an error referring to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.", - "id": "StatusMessage", - "properties": { - "description": { - "$ref": "FormatMessage", - "description": "Status message text." - }, - "isError": { - "description": "Distinguishes errors from informational messages.", - "type": "boolean" - }, - "refersTo": { - "description": "Reference to which the message applies.", - "enum": [ - "UNSPECIFIED", - "BREAKPOINT_SOURCE_LOCATION", - "BREAKPOINT_CONDITION", - "BREAKPOINT_EXPRESSION", - "BREAKPOINT_AGE", - "BREAKPOINT_CANARY_FAILED", - "VARIABLE_NAME", - "VARIABLE_VALUE" - ], - "enumDescriptions": [ - "Status doesn't refer to any particular input.", - "Status applies to the breakpoint and is related to its location.", - "Status applies to the breakpoint and is related to its condition.", - "Status applies to the breakpoint and is related to its expressions.", - "Status applies to the breakpoint and is related to its age.", - "Status applies to the breakpoint when the breakpoint failed to exit the canary state.", - "Status applies to the entire variable.", - "Status applies to variable value (variable name is valid)." - ], - "type": "string" - } - }, - "type": "object" - }, - "UpdateActiveBreakpointRequest": { - "description": "Request to update an active breakpoint.", - "id": "UpdateActiveBreakpointRequest", - "properties": { - "breakpoint": { - "$ref": "Breakpoint", - "description": "Required. Updated breakpoint information. The field `id` must be set. The agent must echo all Breakpoint specification fields in the update." - } - }, - "type": "object" - }, - "UpdateActiveBreakpointResponse": { - "description": "Response for updating an active breakpoint. The message is defined to allow future extensions.", - "id": "UpdateActiveBreakpointResponse", - "properties": {}, - "type": "object" - }, - "Variable": { - "description": "Represents a variable or an argument possibly of a compound object type. Note how the following variables are represented: 1) A simple variable: int x = 5 { name: \"x\", value: \"5\", type: \"int\" } // Captured variable 2) A compound object: struct T { int m1; int m2; }; T x = { 3, 7 }; { // Captured variable name: \"x\", type: \"T\", members { name: \"m1\", value: \"3\", type: \"int\" }, members { name: \"m2\", value: \"7\", type: \"int\" } } 3) A pointer where the pointee was captured: T x = { 3, 7 }; T* p = &x; { // Captured variable name: \"p\", type: \"T*\", value: \"0x00500500\", members { name: \"m1\", value: \"3\", type: \"int\" }, members { name: \"m2\", value: \"7\", type: \"int\" } } 4) A pointer where the pointee was not captured: T* p = new T; { // Captured variable name: \"p\", type: \"T*\", value: \"0x00400400\" status { is_error: true, description { format: \"unavailable\" } } } The status should describe the reason for the missing value, such as ``, ``, ``. Note that a null pointer should not have members. 5) An unnamed value: int* p = new int(7); { // Captured variable name: \"p\", value: \"0x00500500\", type: \"int*\", members { value: \"7\", type: \"int\" } } 6) An unnamed pointer where the pointee was not captured: int* p = new int(7); int** pp = &p; { // Captured variable name: \"pp\", value: \"0x00500500\", type: \"int**\", members { value: \"0x00400400\", type: \"int*\" status { is_error: true, description: { format: \"unavailable\" } } } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the `var_table_index` field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable, merge the referencing variable with the referenced variable. When using the shared variable table, the following variables: T x = { 3, 7 }; T* p = &x; T& r = x; { name: \"x\", var_table_index: 3, type: \"T\" } // Captured variables { name: \"p\", value \"0x00500500\", type=\"T*\", var_table_index: 3 } { name: \"r\", type=\"T&\", var_table_index: 3 } { // Shared variable table entry #3: members { name: \"m1\", value: \"3\", type: \"int\" }, members { name: \"m2\", value: \"7\", type: \"int\" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable. This allows the referenced variable to be shared between pointers and references. The type field is optional. The debugger agent may or may not support it.", - "id": "Variable", - "properties": { - "members": { - "description": "Members contained or pointed to by the variable.", - "items": { - "$ref": "Variable" - }, - "type": "array" - }, - "name": { - "description": "Name of the variable, if any.", - "type": "string" - }, - "status": { - "$ref": "StatusMessage", - "description": "Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with `refers_to` set to `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`. In either case variable value and members will be unset. Example of error message applied to name: `Invalid expression syntax`. Example of information message applied to value: `Not captured`. Examples of error message applied to value: * `Malformed string`, * `Field f not found in class C` * `Null pointer dereference`" - }, - "type": { - "description": "Variable type (e.g. `MyClass`). If the variable is split with `var_table_index`, `type` goes next to `value`. The interpretation of a type is agent specific. It is recommended to include the dynamic type rather than a static type of an object.", - "type": "string" - }, - "value": { - "description": "Simple value of the variable.", - "type": "string" - }, - "varTableIndex": { - "description": "Reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The `var_table_index` field is an index into `variable_table` in Breakpoint.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Debugger API (Deprecated)", - "version": "v2", - "version_module": true -} \ No newline at end of file diff --git a/discovery/cloudfunctions-v1.json b/discovery/cloudfunctions-v1.json index 40494ab1f68..ec53f96f210 100644 --- a/discovery/cloudfunctions-v1.json +++ b/discovery/cloudfunctions-v1.json @@ -558,7 +558,7 @@ } } }, - "revision": "20250424", + "revision": "20250430", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -799,6 +799,16 @@ "description": "The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).", "type": "string" }, + "satisfiesPzi": { + "description": "Output only.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only.", + "readOnly": true, + "type": "boolean" + }, "secretEnvironmentVariables": { "description": "Secret environment variables configuration.", "items": { diff --git a/discovery/cloudfunctions-v1beta2.json b/discovery/cloudfunctions-v1beta2.json deleted file mode 100644 index 9a489e9a53a..00000000000 --- a/discovery/cloudfunctions-v1beta2.json +++ /dev/null @@ -1,983 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "basePath": "", - "baseUrl": "https://cloudfunctions.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Functions", - "description": "Manages lightweight user-provided functions executed in response to events.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/functions", - "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": "cloudfunctions:v1beta2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://cloudfunctions.mtls.googleapis.com/", - "name": "cloudfunctions", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", - "flatPath": "v1beta2/operations/{operationsId}", - "httpMethod": "GET", - "id": "cloudfunctions.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.", - "flatPath": "v1beta2/operations", - "httpMethod": "GET", - "id": "cloudfunctions.operations.list", - "parameterOrder": [], - "parameters": { - "filter": { - "description": "Required. A filter for matching the requested operations.

                      The supported formats of filter are:
                      To query for a specific function: project:*,location:*,function:*
                      To query for all of the latest operations for a project: project:*,latest:true", - "location": "query", - "type": "string" - }, - "name": { - "description": "Must not be set.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of records that should be returned.
                      Requested page size cannot exceed 100. If not set, the default page size is 100.

                      Pagination is only supported when querying for a specific function.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Token identifying which result to start with, which is returned by a previous list call.

                      Pagination is only supported when querying for a specific function.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta2/operations", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "projects": { - "resources": { - "locations": { - "methods": { - "list": { - "description": "Lists information about the supported locations for this service.", - "flatPath": "v1beta2/projects/{projectsId}/locations", - "httpMethod": "GET", - "id": "cloudfunctions.projects.locations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The resource that owns the locations collection, if applicable.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta2/{+name}/locations", - "response": { - "$ref": "ListLocationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "functions": { - "methods": { - "call": { - "description": "Synchronously invokes a deployed Cloud Function. To be used for testing\npurposes as very limited traffic is allowed. For more information on\nthe actual limits refer to [API Calls](\nhttps://cloud.google.com/functions/quotas#rate_limits).", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:call", - "httpMethod": "POST", - "id": "cloudfunctions.projects.locations.functions.call", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the function to be called.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}:call", - "request": { - "$ref": "CallFunctionRequest" - }, - "response": { - "$ref": "CallFunctionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "create": { - "description": "Creates a new function. If a function with the given name already exists in\nthe specified project, the long running operation will return\n`ALREADY_EXISTS` error.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions", - "httpMethod": "POST", - "id": "cloudfunctions.projects.locations.functions.create", - "parameterOrder": [ - "location" - ], - "parameters": { - "location": { - "description": "Required. The project and location in which the function should be created, specified\nin the format `projects/*/locations/*`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+location}/functions", - "request": { - "$ref": "CloudFunction" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a function with the given name from the specified project. If the\ngiven function is used by some trigger, the trigger will be updated to\nremove this function.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", - "httpMethod": "DELETE", - "id": "cloudfunctions.projects.locations.functions.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the function which should be deleted.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "generateDownloadUrl": { - "description": "Returns a signed URL for downloading deployed function source code.\nThe URL is only valid for a limited period and should be used within\nminutes after generation.\nFor more information about the signed URL usage see:\nhttps://cloud.google.com/storage/docs/access-control/signed-urls", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:generateDownloadUrl", - "httpMethod": "POST", - "id": "cloudfunctions.projects.locations.functions.generateDownloadUrl", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of function for which source code Google Cloud Storage signed\nURL should be generated.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}:generateDownloadUrl", - "request": { - "$ref": "GenerateDownloadUrlRequest" - }, - "response": { - "$ref": "GenerateDownloadUrlResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "generateUploadUrl": { - "description": "Returns a signed URL for uploading a function source code.\nFor more information about the signed URL usage see:\nhttps://cloud.google.com/storage/docs/access-control/signed-urls\nOnce the function source code upload is complete, the used signed\nURL should be provided in CreateFunction or UpdateFunction request\nas a reference to the function source code.\n\nWhen uploading source code to the generated signed URL, please follow\nthese restrictions:\n\n* Source file type should be a zip file.\n* Source file size should not exceed 100MB limit.\n* No credentials should be attached - the signed URLs provide access to the\n target bucket using internal service identity; if credentials were\n attached, the identity from the credentials would be used, but that\n identity does not have permissions to upload files to the URL.\n\nWhen making a HTTP PUT request, these two headers need to be specified:\n\n* `content-type: application/zip`\n* `x-goog-content-length-range: 0,104857600`\n\nAnd this header SHOULD NOT be specified:\n\n* `Authorization: Bearer YOUR_TOKEN`", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions:generateUploadUrl", - "httpMethod": "POST", - "id": "cloudfunctions.projects.locations.functions.generateUploadUrl", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "The project and location in which the Google Cloud Storage signed URL\nshould be generated, specified in the format `projects/*/locations/*`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/functions:generateUploadUrl", - "request": { - "$ref": "GenerateUploadUrlRequest" - }, - "response": { - "$ref": "GenerateUploadUrlResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns a function with the given name from the requested project.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", - "httpMethod": "GET", - "id": "cloudfunctions.projects.locations.functions.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the function which details should be obtained.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "CloudFunction" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Returns a list of functions that belong to the requested project.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions", - "httpMethod": "GET", - "id": "cloudfunctions.projects.locations.functions.list", - "parameterOrder": [ - "location" - ], - "parameters": { - "location": { - "description": "Required. The project and location from which the function should be listed,\nspecified in the format `projects/*/locations/*`\nIf you want to list functions in all locations, use \"-\" in place of a\nlocation. When listing functions in all locations, if one or more\nlocation(s) are unreachable, the response will contain functions from all\nreachable locations along with the names of any unreachable locations.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "Maximum number of functions to return per call.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The value returned by the last\n`ListFunctionsResponse`; indicates that\nthis is a continuation of a prior `ListFunctions` call, and that the\nsystem should return the next page of data.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta2/{+location}/functions", - "response": { - "$ref": "ListFunctionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "update": { - "description": "Updates existing function.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", - "httpMethod": "PUT", - "id": "cloudfunctions.projects.locations.functions.update", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the function to be updated.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "request": { - "$ref": "CloudFunction" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20200629", - "rootUrl": "https://cloudfunctions.googleapis.com/", - "schemas": { - "CallFunctionRequest": { - "description": "Request for the `CallFunction` method.", - "id": "CallFunctionRequest", - "properties": { - "data": { - "description": "Required. Input to be passed to the function.", - "type": "string" - } - }, - "type": "object" - }, - "CallFunctionResponse": { - "description": "Response of `CallFunction` method.", - "id": "CallFunctionResponse", - "properties": { - "error": { - "description": "Either system or user-function generated error. Set if execution\nwas not successful.", - "type": "string" - }, - "executionId": { - "description": "Execution id of function invocation.", - "type": "string" - }, - "result": { - "description": "Result populated for successful execution of synchronous function. Will\nnot be populated if function does not return a result through context.", - "type": "string" - } - }, - "type": "object" - }, - "CloudFunction": { - "description": "Describes a Cloud Function that contains user computation executed in\nresponse to an event. It encapsulate function and triggers configurations.", - "id": "CloudFunction", - "properties": { - "availableMemoryMb": { - "description": "The amount of memory in MB available for a function.\nDefaults to 256MB.", - "format": "int32", - "type": "integer" - }, - "entryPoint": { - "description": "The name of the function (as defined in source code) that will be\nexecuted. Defaults to the resource name suffix, if not specified. For\nbackward compatibility, if function with given name is not found, then the\nsystem will try to use function named \"function\".\nFor Node.js this is name of a function exported by the module specified\nin `source_location`.", - "type": "string" - }, - "environmentVariables": { - "additionalProperties": { - "type": "string" - }, - "description": "Environment variables that shall be available during function execution.", - "type": "object" - }, - "eventTrigger": { - "$ref": "EventTrigger", - "description": "A source that fires events in response to a condition in another service." - }, - "httpsTrigger": { - "$ref": "HTTPSTrigger", - "description": "An HTTPS endpoint type of source that can be triggered via URL." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels associated with this Cloud Function.", - "type": "object" - }, - "latestOperation": { - "description": "Output only. Name of the most recent operation modifying the function. If\nthe function status is `DEPLOYING` or `DELETING`, then it points to the\nactive operation.", - "type": "string" - }, - "maxInstances": { - "description": "The limit on the maximum number of function instances that may coexist at a\ngiven time.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "A user-defined name of the function. Function names must be unique\nglobally and match pattern `projects/*/locations/*/functions/*`", - "type": "string" - }, - "network": { - "description": "The VPC Network that this cloud function can connect to. It can be\neither the fully-qualified URI, or the short name of the network resource.\nIf the short network name is used, the network must belong to the same\nproject. Otherwise, it must belong to a project within the same\norganization. The format of this field is either\n`projects/{project}/global/networks/{network}` or `{network}`, where\n{project} is a project id where the network is defined, and {network} is\nthe short name of the network.\n\nThis field is mutually exclusive with `vpc_connector` and will be replaced\nby it.\n\nSee [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for\nmore information on connecting Cloud projects.", - "type": "string" - }, - "runtime": { - "description": "The runtime in which to run the function. Required when deploying a new\nfunction, optional when updating an existing function. For a complete\nlist of possible choices, see the\n[`gcloud` command\nreference](/sdk/gcloud/reference/functions/deploy#--runtime).", - "type": "string" - }, - "serviceAccount": { - "description": "The email of the function's service account. If empty, defaults to\n`{project_id}@appspot.gserviceaccount.com`.", - "type": "string" - }, - "sourceArchiveUrl": { - "description": "The Google Cloud Storage URL, starting with gs://, pointing to the zip\narchive which contains the function.", - "type": "string" - }, - "sourceRepository": { - "$ref": "SourceRepository", - "description": "The hosted repository where the function is defined." - }, - "sourceRepositoryUrl": { - "description": "The URL pointing to the hosted repository where the function is defined.\nThere are supported Cloud Source Repository URLs in the following\nformats:\n\nTo refer to a specific commit:\n`https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`\nTo refer to a moveable alias (branch):\n`https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`\nIn particular, to refer to HEAD use `master` moveable alias.\nTo refer to a specific fixed alias (tag):\n`https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`\n\nYou may omit `paths/*` if you want to use the main directory.", - "type": "string" - }, - "sourceUploadUrl": { - "description": "The Google Cloud Storage signed URL used for source uploading, generated\nby google.cloud.functions.v1beta2.GenerateUploadUrl", - "type": "string" - }, - "status": { - "description": "Output only. Status of the function deployment.", - "enum": [ - "STATUS_UNSPECIFIED", - "READY", - "FAILED", - "DEPLOYING", - "DELETING" - ], - "enumDescriptions": [ - "Status not specified.", - "Successfully deployed.", - "Not deployed correctly - behavior is undefined. The item should be updated\nor deleted to move it out of this state.", - "Creation or update in progress.", - "Deletion in progress." - ], - "type": "string" - }, - "timeout": { - "description": "The function execution timeout. Execution is considered failed and\ncan be terminated if the function is not completed at the end of the\ntimeout period. Defaults to 60 seconds.", - "format": "google-duration", - "type": "string" - }, - "updateTime": { - "description": "Output only. The last update timestamp of a Cloud Function.", - "format": "google-datetime", - "type": "string" - }, - "versionId": { - "description": "Output only. The version identifier of the Cloud Function. Each deployment attempt\nresults in a new version of a function being created.", - "format": "int64", - "type": "string" - }, - "vpcConnector": { - "description": "The VPC Network Connector that this cloud function can connect to. It can\nbe either the fully-qualified URI, or the short name of the network\nconnector resource. The format of this field is\n`projects/*/locations/*/connectors/*`\n\nThis field is mutually exclusive with `network` field and will eventually\nreplace it.\n\nSee [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for\nmore information on connecting Cloud projects.", - "type": "string" - } - }, - "type": "object" - }, - "EventTrigger": { - "description": "Describes EventTrigger, used to request events be sent from another\nservice.", - "id": "EventTrigger", - "properties": { - "eventType": { - "description": "`event_type` names contain the service that is sending an event and the\nkind of event that was fired. Must be of the form\n`providers/*/eventTypes/*` e.g. Directly handle a Message published to\nGoogle Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish`.\n\nHandle an object changing in Google Cloud Storage:\n`providers/cloud.storage/eventTypes/object.change`\n\nHandle a write to the Firebase Realtime Database:\n`providers/google.firebase.database/eventTypes/ref.write`", - "type": "string" - }, - "failurePolicy": { - "$ref": "FailurePolicy", - "description": "Specifies policy for failed executions." - }, - "resource": { - "description": "Which instance of the source's service should send events. E.g. for Pub/Sub\nthis would be a Pub/Sub topic at `projects/*/topics/*`. For Google Cloud\nStorage this would be a bucket at `projects/*/buckets/*`. For any source\nthat only supports one instance per-project, this should be the name of the\nproject (`projects/*`)", - "type": "string" - }, - "service": { - "description": "The hostname of the service that should be observed.\n\nIf no string is provided, the default service implementing the API will\nbe used. For example, `storage.googleapis.com` is the default for all\nevent types in the `google.storage` namespace.", - "type": "string" - } - }, - "type": "object" - }, - "FailurePolicy": { - "description": "Describes the policy in case of function's execution failure.\nIf empty, then defaults to ignoring failures (i.e. not retrying them).", - "id": "FailurePolicy", - "properties": { - "retry": { - "$ref": "Retry", - "description": "If specified, then the function will be retried in case of a failure." - } - }, - "type": "object" - }, - "GenerateDownloadUrlRequest": { - "description": "Request of `GenerateDownloadUrl` method.", - "id": "GenerateDownloadUrlRequest", - "properties": { - "versionId": { - "description": "The optional version of function.", - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "GenerateDownloadUrlResponse": { - "description": "Response of `GenerateDownloadUrl` method.", - "id": "GenerateDownloadUrlResponse", - "properties": { - "downloadUrl": { - "description": "The generated Google Cloud Storage signed URL that should be used for\nfunction source code download.", - "type": "string" - } - }, - "type": "object" - }, - "GenerateUploadUrlRequest": { - "description": "Request of `GenerateUploadUrl` method.", - "id": "GenerateUploadUrlRequest", - "properties": {}, - "type": "object" - }, - "GenerateUploadUrlResponse": { - "description": "Response of `GenerateUploadUrl` method.", - "id": "GenerateUploadUrlResponse", - "properties": { - "uploadUrl": { - "description": "The generated Google Cloud Storage signed URL that should be used for a\nfunction source code upload. The uploaded file should be a zip archive\nwhich contains a function.", - "type": "string" - } - }, - "type": "object" - }, - "HTTPSTrigger": { - "description": "Describes HTTPSTrigger, could be used to connect web hooks to function.", - "id": "HTTPSTrigger", - "properties": { - "url": { - "description": "Output only. The deployed url for the function.", - "type": "string" - } - }, - "type": "object" - }, - "ListFunctionsResponse": { - "description": "Response for the `ListFunctions` method.", - "id": "ListFunctionsResponse", - "properties": { - "functions": { - "description": "The functions that match the request.", - "items": { - "$ref": "CloudFunction" - }, - "type": "array" - }, - "nextPageToken": { - "description": "If not empty, indicates that there may be more functions that match\nthe request; this value should be passed in a new\ngoogle.cloud.functions.v1beta2.ListFunctionsRequest\nto get more functions.", - "type": "string" - }, - "unreachable": { - "description": "Locations that could not be reached. The response does not include any\nfunctions from these locations.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListLocationsResponse": { - "description": "The response message for Locations.ListLocations.", - "id": "ListLocationsResponse", - "properties": { - "locations": { - "description": "A list of locations that matches the specified filter in the request.", - "items": { - "$ref": "Location" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - } - }, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "Location": { - "description": "A resource that represents Google Cloud Platform location.", - "id": "Location", - "properties": { - "displayName": { - "description": "The friendly name for this location, typically a nearby city name.\nFor example, \"Tokyo\".", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", - "type": "object" - }, - "locationId": { - "description": "The canonical id for this location. For example: `\"us-east1\"`.", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", - "type": "object" - }, - "name": { - "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "OperationMetadataV1": { - "description": "Metadata describing an Operation", - "id": "OperationMetadataV1", - "properties": { - "buildId": { - "description": "The Cloud Build ID of the function created or updated by an API call.\nThis field is only populated for Create and Update operations.", - "type": "string" - }, - "request": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The original request that started the operation.", - "type": "object" - }, - "target": { - "description": "Target of the operation - for example\nprojects/project-1/locations/region-1/functions/function-1", - "type": "string" - }, - "type": { - "description": "Type of operation.", - "enum": [ - "OPERATION_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION" - ], - "enumDescriptions": [ - "Unknown operation type.", - "Triggered by CreateFunction call", - "Triggered by UpdateFunction call", - "Triggered by DeleteFunction call." - ], - "type": "string" - }, - "updateTime": { - "description": "The last update timestamp of the operation.", - "format": "google-datetime", - "type": "string" - }, - "versionId": { - "description": "Version id of the function created or updated by an API call.\nThis field is only populated for Create and Update operations.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "OperationMetadataV1Beta2": { - "description": "Metadata describing an Operation", - "id": "OperationMetadataV1Beta2", - "properties": { - "request": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The original request that started the operation.", - "type": "object" - }, - "target": { - "description": "Target of the operation - for example\nprojects/project-1/locations/region-1/functions/function-1", - "type": "string" - }, - "type": { - "description": "Type of operation.", - "enum": [ - "OPERATION_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION" - ], - "enumDescriptions": [ - "Unknown operation type.", - "Triggered by CreateFunction call", - "Triggered by UpdateFunction call", - "Triggered by DeleteFunction call." - ], - "type": "string" - }, - "updateTime": { - "description": "The last update timestamp of the operation.", - "format": "google-datetime", - "type": "string" - }, - "versionId": { - "description": "Version id of the function created or updated by an API call.\nThis field is only populated for Create and Update operations.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Retry": { - "description": "Describes the retry policy in case of function's execution failure.\nA function execution will be retried on any failure.\nA failed execution will be retried up to 7 days with an exponential backoff\n(capped at 10 seconds).\nRetried execution is charged as any other execution.", - "id": "Retry", - "properties": {}, - "type": "object" - }, - "SourceRepository": { - "description": "Describes the location of the function source in a remote repository.", - "id": "SourceRepository", - "properties": { - "branch": { - "description": "The name of the branch from which the function should be fetched.", - "type": "string" - }, - "deployedRevision": { - "description": "Output only. The id of the revision that was resolved at the moment of\nfunction creation or update. For example when a user deployed from a\nbranch, it will be the revision id of the latest change on this branch at\nthat time. If user deployed from revision then this value will be always\nequal to the revision specified by the user.", - "type": "string" - }, - "repositoryUrl": { - "description": "URL to the hosted repository where the function is defined. Only paths in\nhttps://source.developers.google.com domain are supported. The path should\ncontain the name of the repository.", - "type": "string" - }, - "revision": { - "description": "The id of the revision that captures the state of the repository from\nwhich the function should be fetched.", - "type": "string" - }, - "sourcePath": { - "description": "The path within the repository where the function is defined. The path\nshould point to the directory where Cloud Functions files are located. Use\n\"/\" if the function is defined directly in the root directory of a\nrepository.", - "type": "string" - }, - "tag": { - "description": "The name of the tag that captures the state of the repository from\nwhich the function should be fetched.", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Functions API", - "version": "v1beta2", - "version_module": true -} \ No newline at end of file diff --git a/discovery/cloudiot-v1.json b/discovery/cloudiot-v1.json deleted file mode 100644 index 433719e9521..00000000000 --- a/discovery/cloudiot-v1.json +++ /dev/null @@ -1,1693 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - }, - "https://www.googleapis.com/auth/cloudiot": { - "description": "Register and manage devices in the Google Cloud IoT service" - } - } - } - }, - "basePath": "", - "baseUrl": "https://cloudiot.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Iot", - "description": "Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform. ", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/iot", - "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": "cloudiot:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://cloudiot.mtls.googleapis.com/", - "name": "cloudiot", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "resources": { - "registries": { - "methods": { - "bindDeviceToGateway": { - "description": "Associates the device with the gateway.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}:bindDeviceToGateway", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.bindDeviceToGateway", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The name of the registry. For example, `projects/example-project/locations/us-central1/registries/my-registry`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}:bindDeviceToGateway", - "request": { - "$ref": "BindDeviceToGatewayRequest" - }, - "response": { - "$ref": "BindDeviceToGatewayResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "create": { - "description": "Creates a device registry that contains devices.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The project and cloud region where this device registry must be created. For example, `projects/example-project/locations/us-central1`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/registries", - "request": { - "$ref": "DeviceRegistry" - }, - "response": { - "$ref": "DeviceRegistry" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "delete": { - "description": "Deletes a device registry configuration.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}", - "httpMethod": "DELETE", - "id": "cloudiot.projects.locations.registries.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the device registry. For example, `projects/example-project/locations/us-central1/registries/my-registry`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "get": { - "description": "Gets a device registry configuration.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}", - "httpMethod": "GET", - "id": "cloudiot.projects.locations.registries.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the device registry. For example, `projects/example-project/locations/us-central1/registries/my-registry`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "DeviceRegistry" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}:getIamPolicy", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "request": { - "$ref": "GetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "list": { - "description": "Lists device registries.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries", - "httpMethod": "GET", - "id": "cloudiot.projects.locations.registries.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of registries to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The value returned by the last `ListDeviceRegistriesResponse`; indicates that this is a continuation of a prior `ListDeviceRegistries` call and the system should return the next page of data.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The project and cloud region path. For example, `projects/example-project/locations/us-central1`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/registries", - "response": { - "$ref": "ListDeviceRegistriesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "patch": { - "description": "Updates a device registry configuration.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}", - "httpMethod": "PATCH", - "id": "cloudiot.projects.locations.registries.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. Only updates the `device_registry` fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. Mutable top-level fields: `event_notification_config`, `http_config`, `mqtt_config`, and `state_notification_config`.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "DeviceRegistry" - }, - "response": { - "$ref": "DeviceRegistry" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}:setIamPolicy", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}:testIamPermissions", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "unbindDeviceFromGateway": { - "description": "Deletes the association between the device and the gateway.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}:unbindDeviceFromGateway", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.unbindDeviceFromGateway", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The name of the registry. For example, `projects/example-project/locations/us-central1/registries/my-registry`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}:unbindDeviceFromGateway", - "request": { - "$ref": "UnbindDeviceFromGatewayRequest" - }, - "response": { - "$ref": "UnbindDeviceFromGatewayResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - } - }, - "resources": { - "devices": { - "methods": { - "create": { - "description": "Creates a device in a device registry.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/devices", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.devices.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The name of the device registry where this device should be created. For example, `projects/example-project/locations/us-central1/registries/my-registry`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/devices", - "request": { - "$ref": "Device" - }, - "response": { - "$ref": "Device" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "delete": { - "description": "Deletes a device.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/devices/{devicesId}", - "httpMethod": "DELETE", - "id": "cloudiot.projects.locations.registries.devices.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the device. For example, `projects/p0/locations/us-central1/registries/registry0/devices/device0` or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/devices/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "get": { - "description": "Gets details about a device.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/devices/{devicesId}", - "httpMethod": "GET", - "id": "cloudiot.projects.locations.registries.devices.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "fieldMask": { - "description": "The fields of the `Device` resource to be returned in the response. If the field mask is unset or empty, all fields are returned. Fields have to be provided in snake_case format, for example: `last_heartbeat_time`.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - }, - "name": { - "description": "Required. The name of the device. For example, `projects/p0/locations/us-central1/registries/registry0/devices/device0` or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/devices/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Device" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "list": { - "description": "List devices in a device registry.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/devices", - "httpMethod": "GET", - "id": "cloudiot.projects.locations.registries.devices.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "deviceIds": { - "description": "A list of device string IDs. For example, `['device0', 'device12']`. If empty, this field is ignored. Maximum IDs: 10,000", - "location": "query", - "repeated": true, - "type": "string" - }, - "deviceNumIds": { - "description": "A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.", - "format": "uint64", - "location": "query", - "repeated": true, - "type": "string" - }, - "fieldMask": { - "description": "The fields of the `Device` resource to be returned in the response. The fields `id` and `num_id` are always returned, along with any other fields specified in snake_case format, for example: `last_heartbeat_time`.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - }, - "gatewayListOptions.associationsDeviceId": { - "description": "If set, returns only the gateways with which the specified device is associated. The device ID can be numeric (`num_id`) or the user-defined string (`id`). For example, if `456` is specified, returns only the gateways to which the device with `num_id` 456 is bound.", - "location": "query", - "type": "string" - }, - "gatewayListOptions.associationsGatewayId": { - "description": "If set, only devices associated with the specified gateway are returned. The gateway ID can be numeric (`num_id`) or the user-defined string (`id`). For example, if `123` is specified, only devices bound to the gateway with `num_id` 123 are returned.", - "location": "query", - "type": "string" - }, - "gatewayListOptions.gatewayType": { - "description": "If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY` is specified, only non-gateway devices are returned. If `GATEWAY_TYPE_UNSPECIFIED` is specified, all devices are returned.", - "enum": [ - "GATEWAY_TYPE_UNSPECIFIED", - "GATEWAY", - "NON_GATEWAY" - ], - "enumDescriptions": [ - "If unspecified, the device is considered a non-gateway device.", - "The device is a gateway.", - "The device is not a gateway." - ], - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of devices to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The value returned by the last `ListDevicesResponse`; indicates that this is a continuation of a prior `ListDevices` call and the system should return the next page of data.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The device registry path. Required. For example, `projects/my-project/locations/us-central1/registries/my-registry`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/devices", - "response": { - "$ref": "ListDevicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "modifyCloudToDeviceConfig": { - "description": "Modifies the configuration for the device, which is eventually sent from the Cloud IoT Core servers. Returns the modified configuration version and its metadata.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/devices/{devicesId}:modifyCloudToDeviceConfig", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.devices.modifyCloudToDeviceConfig", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the device. For example, `projects/p0/locations/us-central1/registries/registry0/devices/device0` or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/devices/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:modifyCloudToDeviceConfig", - "request": { - "$ref": "ModifyCloudToDeviceConfigRequest" - }, - "response": { - "$ref": "DeviceConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "patch": { - "description": "Updates a device.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/devices/{devicesId}", - "httpMethod": "PATCH", - "id": "cloudiot.projects.locations.registries.devices.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The resource path name. For example, `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. When `name` is populated as a response from the service, it always ends in the device numeric ID.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/devices/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. Only updates the `device` fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. Mutable top-level fields: `credentials`, `blocked`, and `metadata`", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "Device" - }, - "response": { - "$ref": "Device" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "sendCommandToDevice": { - "description": "Sends a command to the specified device. In order for a device to be able to receive commands, it must: 1) be connected to Cloud IoT Core using the MQTT protocol, and 2) be subscribed to the group of MQTT topics specified by /devices/{device-id}/commands/#. This subscription will receive commands at the top-level topic /devices/{device-id}/commands as well as commands for subfolders, like /devices/{device-id}/commands/subfolder. Note that subscribing to specific subfolders is not supported. If the command could not be delivered to the device, this method will return an error; in particular, if the device is not subscribed, this method will return FAILED_PRECONDITION. Otherwise, this method will return OK. If the subscription is QoS 1, at least once delivery will be guaranteed; for QoS 0, no acknowledgment will be expected from the device.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/devices/{devicesId}:sendCommandToDevice", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.devices.sendCommandToDevice", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the device. For example, `projects/p0/locations/us-central1/registries/registry0/devices/device0` or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/devices/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:sendCommandToDevice", - "request": { - "$ref": "SendCommandToDeviceRequest" - }, - "response": { - "$ref": "SendCommandToDeviceResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - } - }, - "resources": { - "configVersions": { - "methods": { - "list": { - "description": "Lists the last few versions of the device configuration in descending order (i.e.: newest first).", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/devices/{devicesId}/configVersions", - "httpMethod": "GET", - "id": "cloudiot.projects.locations.registries.devices.configVersions.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the device. For example, `projects/p0/locations/us-central1/registries/registry0/devices/device0` or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/devices/[^/]+$", - "required": true, - "type": "string" - }, - "numVersions": { - "description": "The number of versions to list. Versions are listed in decreasing order of the version number. The maximum number of versions retained is 10. If this value is zero, it will return all the versions available.", - "format": "int32", - "location": "query", - "type": "integer" - } - }, - "path": "v1/{+name}/configVersions", - "response": { - "$ref": "ListDeviceConfigVersionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - } - } - }, - "states": { - "methods": { - "list": { - "description": "Lists the last few versions of the device state in descending order (i.e.: newest first).", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/devices/{devicesId}/states", - "httpMethod": "GET", - "id": "cloudiot.projects.locations.registries.devices.states.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the device. For example, `projects/p0/locations/us-central1/registries/registry0/devices/device0` or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/devices/[^/]+$", - "required": true, - "type": "string" - }, - "numStates": { - "description": "The number of states to list. States are listed in descending order of update time. The maximum number of states retained is 10. If this value is zero, it will return all the states available.", - "format": "int32", - "location": "query", - "type": "integer" - } - }, - "path": "v1/{+name}/states", - "response": { - "$ref": "ListDeviceStatesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - } - } - } - } - }, - "groups": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}:getIamPolicy", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.groups.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "request": { - "$ref": "GetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}:setIamPolicy", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.groups.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}:testIamPermissions", - "httpMethod": "POST", - "id": "cloudiot.projects.locations.registries.groups.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - } - }, - "resources": { - "devices": { - "methods": { - "list": { - "description": "List devices in a device registry.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}/devices", - "httpMethod": "GET", - "id": "cloudiot.projects.locations.registries.groups.devices.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "deviceIds": { - "description": "A list of device string IDs. For example, `['device0', 'device12']`. If empty, this field is ignored. Maximum IDs: 10,000", - "location": "query", - "repeated": true, - "type": "string" - }, - "deviceNumIds": { - "description": "A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.", - "format": "uint64", - "location": "query", - "repeated": true, - "type": "string" - }, - "fieldMask": { - "description": "The fields of the `Device` resource to be returned in the response. The fields `id` and `num_id` are always returned, along with any other fields specified in snake_case format, for example: `last_heartbeat_time`.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - }, - "gatewayListOptions.associationsDeviceId": { - "description": "If set, returns only the gateways with which the specified device is associated. The device ID can be numeric (`num_id`) or the user-defined string (`id`). For example, if `456` is specified, returns only the gateways to which the device with `num_id` 456 is bound.", - "location": "query", - "type": "string" - }, - "gatewayListOptions.associationsGatewayId": { - "description": "If set, only devices associated with the specified gateway are returned. The gateway ID can be numeric (`num_id`) or the user-defined string (`id`). For example, if `123` is specified, only devices bound to the gateway with `num_id` 123 are returned.", - "location": "query", - "type": "string" - }, - "gatewayListOptions.gatewayType": { - "description": "If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY` is specified, only non-gateway devices are returned. If `GATEWAY_TYPE_UNSPECIFIED` is specified, all devices are returned.", - "enum": [ - "GATEWAY_TYPE_UNSPECIFIED", - "GATEWAY", - "NON_GATEWAY" - ], - "enumDescriptions": [ - "If unspecified, the device is considered a non-gateway device.", - "The device is a gateway.", - "The device is not a gateway." - ], - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of devices to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The value returned by the last `ListDevicesResponse`; indicates that this is a continuation of a prior `ListDevices` call and the system should return the next page of data.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The device registry path. Required. For example, `projects/my-project/locations/us-central1/registries/my-registry`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/devices", - "response": { - "$ref": "ListDevicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudiot" - ] - } - } - } - } - } - } - } - } - } - } - } - }, - "revision": "20230131", - "rootUrl": "https://cloudiot.googleapis.com/", - "schemas": { - "BindDeviceToGatewayRequest": { - "description": "Request for `BindDeviceToGateway`.", - "id": "BindDeviceToGatewayRequest", - "properties": { - "deviceId": { - "description": "Required. The device to associate with the specified gateway. The value of `device_id` can be either the device numeric ID or the user-defined device identifier.", - "type": "string" - }, - "gatewayId": { - "description": "Required. The value of `gateway_id` can be either the device numeric ID or the user-defined device identifier.", - "type": "string" - } - }, - "type": "object" - }, - "BindDeviceToGatewayResponse": { - "description": "Response for `BindDeviceToGateway`.", - "id": "BindDeviceToGatewayResponse", - "properties": {}, - "type": "object" - }, - "Binding": { - "description": "Associates `members`, or principals, with a `role`.", - "id": "Binding", - "properties": { - "condition": { - "$ref": "Expr", - "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." - }, - "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.", - "items": { - "type": "string" - }, - "type": "array" - }, - "role": { - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", - "type": "string" - } - }, - "type": "object" - }, - "Device": { - "description": "The device resource.", - "id": "Device", - "properties": { - "blocked": { - "description": "If a device is blocked, connections or requests from this device will fail. Can be used to temporarily prevent the device from connecting if, for example, the sensor is generating bad data and needs maintenance.", - "type": "boolean" - }, - "config": { - "$ref": "DeviceConfig", - "description": "The most recent device configuration, which is eventually sent from Cloud IoT Core to the device. If not present on creation, the configuration will be initialized with an empty payload and version value of `1`. To update this field after creation, use the `DeviceManager.ModifyCloudToDeviceConfig` method." - }, - "credentials": { - "description": "The credentials used to authenticate this device. To allow credential rotation without interruption, multiple device credentials can be bound to this device. No more than 3 credentials can be bound to a single device at a time. When new credentials are added to a device, they are verified against the registry credentials. For details, see the description of the `DeviceRegistry.credentials` field.", - "items": { - "$ref": "DeviceCredential" - }, - "type": "array" - }, - "gatewayConfig": { - "$ref": "GatewayConfig", - "description": "Gateway-related configuration and state." - }, - "id": { - "description": "The user-defined device identifier. The device ID must be unique within a device registry.", - "type": "string" - }, - "lastConfigAckTime": { - "description": "[Output only] The last time a cloud-to-device config version acknowledgment was received from the device. This field is only for configurations sent through MQTT.", - "format": "google-datetime", - "type": "string" - }, - "lastConfigSendTime": { - "description": "[Output only] The last time a cloud-to-device config version was sent to the device.", - "format": "google-datetime", - "type": "string" - }, - "lastErrorStatus": { - "$ref": "Status", - "description": "[Output only] The error message of the most recent error, such as a failure to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this field. If no errors have occurred, this field has an empty message and the status code 0 == OK. Otherwise, this field is expected to have a status code other than OK." - }, - "lastErrorTime": { - "description": "[Output only] The time the most recent error occurred, such as a failure to publish to Cloud Pub/Sub. This field is the timestamp of 'last_error_status'.", - "format": "google-datetime", - "type": "string" - }, - "lastEventTime": { - "description": "[Output only] The last time a telemetry event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.", - "format": "google-datetime", - "type": "string" - }, - "lastHeartbeatTime": { - "description": "[Output only] The last time an MQTT `PINGREQ` was received. This field applies only to devices connecting through MQTT. MQTT clients usually only send `PINGREQ` messages if the connection is idle, and no other messages have been sent. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.", - "format": "google-datetime", - "type": "string" - }, - "lastStateTime": { - "description": "[Output only] The last time a state event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.", - "format": "google-datetime", - "type": "string" - }, - "logLevel": { - "description": "**Beta Feature** The logging verbosity for device activity. If unspecified, DeviceRegistry.log_level will be used.", - "enum": [ - "LOG_LEVEL_UNSPECIFIED", - "NONE", - "ERROR", - "INFO", - "DEBUG" - ], - "enumDescriptions": [ - "No logging specified. If not specified, logging will be disabled.", - "Disables logging.", - "Error events will be logged.", - "Informational events will be logged, such as connections and disconnections.", - "All events will be logged." - ], - "type": "string" - }, - "metadata": { - "additionalProperties": { - "type": "string" - }, - "description": "The metadata key-value pairs assigned to the device. This metadata is not interpreted or indexed by Cloud IoT Core. It can be used to add contextual information for the device. Keys must conform to the regular expression a-zA-Z+ and be less than 128 bytes in length. Values are free-form strings. Each value must be less than or equal to 32 KB in size. The total size of all keys and values must be less than 256 KB, and the maximum number of key-value pairs is 500.", - "type": "object" - }, - "name": { - "description": "The resource path name. For example, `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. When `name` is populated as a response from the service, it always ends in the device numeric ID.", - "type": "string" - }, - "numId": { - "description": "[Output only] A server-defined unique numeric ID for the device. This is a more compact way to identify devices, and it is globally unique.", - "format": "uint64", - "type": "string" - }, - "state": { - "$ref": "DeviceState", - "description": "[Output only] The state most recently received from the device. If no state has been reported, this field is not present." - } - }, - "type": "object" - }, - "DeviceConfig": { - "description": "The device configuration. Eventually delivered to devices.", - "id": "DeviceConfig", - "properties": { - "binaryData": { - "description": "The device configuration data.", - "format": "byte", - "type": "string" - }, - "cloudUpdateTime": { - "description": "[Output only] The time at which this configuration version was updated in Cloud IoT Core. This timestamp is set by the server.", - "format": "google-datetime", - "type": "string" - }, - "deviceAckTime": { - "description": "[Output only] The time at which Cloud IoT Core received the acknowledgment from the device, indicating that the device has received this configuration version. If this field is not present, the device has not yet acknowledged that it received this version. Note that when the config was sent to the device, many config versions may have been available in Cloud IoT Core while the device was disconnected, and on connection, only the latest version is sent to the device. Some versions may never be sent to the device, and therefore are never acknowledged. This timestamp is set by Cloud IoT Core.", - "format": "google-datetime", - "type": "string" - }, - "version": { - "description": "[Output only] The version of this update. The version number is assigned by the server, and is always greater than 0 after device creation. The version must be 0 on the `CreateDevice` request if a `config` is specified; the response of `CreateDevice` will always have a value of 1.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "DeviceCredential": { - "description": "A server-stored device credential used for authentication.", - "id": "DeviceCredential", - "properties": { - "expirationTime": { - "description": "[Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.", - "format": "google-datetime", - "type": "string" - }, - "publicKey": { - "$ref": "PublicKeyCredential", - "description": "A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate." - } - }, - "type": "object" - }, - "DeviceRegistry": { - "description": "A container for a group of devices.", - "id": "DeviceRegistry", - "properties": { - "credentials": { - "description": "The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.", - "items": { - "$ref": "RegistryCredential" - }, - "type": "array" - }, - "eventNotificationConfigs": { - "description": "The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.", - "items": { - "$ref": "EventNotificationConfig" - }, - "type": "array" - }, - "httpConfig": { - "$ref": "HttpConfig", - "description": "The DeviceService (HTTP) configuration for this device registry." - }, - "id": { - "description": "The identifier of this device registry. For example, `myRegistry`.", - "type": "string" - }, - "logLevel": { - "description": "**Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.", - "enum": [ - "LOG_LEVEL_UNSPECIFIED", - "NONE", - "ERROR", - "INFO", - "DEBUG" - ], - "enumDescriptions": [ - "No logging specified. If not specified, logging will be disabled.", - "Disables logging.", - "Error events will be logged.", - "Informational events will be logged, such as connections and disconnections.", - "All events will be logged." - ], - "type": "string" - }, - "mqttConfig": { - "$ref": "MqttConfig", - "description": "The MQTT configuration for this device registry." - }, - "name": { - "description": "The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.", - "type": "string" - }, - "stateNotificationConfig": { - "$ref": "StateNotificationConfig", - "description": "The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core." - } - }, - "type": "object" - }, - "DeviceState": { - "description": "The device state, as reported by the device.", - "id": "DeviceState", - "properties": { - "binaryData": { - "description": "The device state data.", - "format": "byte", - "type": "string" - }, - "updateTime": { - "description": "[Output only] The time at which this state version was updated in Cloud IoT Core.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "EventNotificationConfig": { - "description": "The configuration for forwarding telemetry events.", - "id": "EventNotificationConfig", - "properties": { - "pubsubTopicName": { - "description": "A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.", - "type": "string" - }, - "subfolderMatches": { - "description": "If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.", - "type": "string" - } - }, - "type": "object" - }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", - "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" - }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", - "type": "string" - }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" - } - }, - "type": "object" - }, - "GatewayConfig": { - "description": "Gateway-related configuration and state.", - "id": "GatewayConfig", - "properties": { - "gatewayAuthMethod": { - "description": "Indicates how to authorize and/or authenticate devices to access the gateway.", - "enum": [ - "GATEWAY_AUTH_METHOD_UNSPECIFIED", - "ASSOCIATION_ONLY", - "DEVICE_AUTH_TOKEN_ONLY", - "ASSOCIATION_AND_DEVICE_AUTH_TOKEN" - ], - "enumDescriptions": [ - "No authentication/authorization method specified. No devices are allowed to access the gateway.", - "The device is authenticated through the gateway association only. Device credentials are ignored even if provided.", - "The device is authenticated through its own credentials. Gateway association is not checked.", - "The device is authenticated through both device credentials and gateway association. The device must be bound to the gateway and must provide its own credentials." - ], - "type": "string" - }, - "gatewayType": { - "description": "Indicates whether the device is a gateway.", - "enum": [ - "GATEWAY_TYPE_UNSPECIFIED", - "GATEWAY", - "NON_GATEWAY" - ], - "enumDescriptions": [ - "If unspecified, the device is considered a non-gateway device.", - "The device is a gateway.", - "The device is not a gateway." - ], - "type": "string" - }, - "lastAccessedGatewayId": { - "description": "[Output only] The ID of the gateway the device accessed most recently.", - "type": "string" - }, - "lastAccessedGatewayTime": { - "description": "[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GetIamPolicyRequest": { - "description": "Request message for `GetIamPolicy` method.", - "id": "GetIamPolicyRequest", - "properties": { - "options": { - "$ref": "GetPolicyOptions", - "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." - } - }, - "type": "object" - }, - "GetPolicyOptions": { - "description": "Encapsulates settings provided to GetIamPolicy.", - "id": "GetPolicyOptions", - "properties": { - "requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "HttpConfig": { - "description": "The configuration of the HTTP bridge for a device registry.", - "id": "HttpConfig", - "properties": { - "httpEnabledState": { - "description": "If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.", - "enum": [ - "HTTP_STATE_UNSPECIFIED", - "HTTP_ENABLED", - "HTTP_DISABLED" - ], - "enumDescriptions": [ - "No HTTP state specified. If not specified, DeviceService will be enabled by default.", - "Enables DeviceService (HTTP) service for the registry.", - "Disables DeviceService (HTTP) service for the registry." - ], - "type": "string" - } - }, - "type": "object" - }, - "ListDeviceConfigVersionsResponse": { - "description": "Response for `ListDeviceConfigVersions`.", - "id": "ListDeviceConfigVersionsResponse", - "properties": { - "deviceConfigs": { - "description": "The device configuration for the last few versions. Versions are listed in decreasing order, starting from the most recent one.", - "items": { - "$ref": "DeviceConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListDeviceRegistriesResponse": { - "description": "Response for `ListDeviceRegistries`.", - "id": "ListDeviceRegistriesResponse", - "properties": { - "deviceRegistries": { - "description": "The registries that matched the query.", - "items": { - "$ref": "DeviceRegistry" - }, - "type": "array" - }, - "nextPageToken": { - "description": "If not empty, indicates that there may be more registries that match the request; this value should be passed in a new `ListDeviceRegistriesRequest`.", - "type": "string" - } - }, - "type": "object" - }, - "ListDeviceStatesResponse": { - "description": "Response for `ListDeviceStates`.", - "id": "ListDeviceStatesResponse", - "properties": { - "deviceStates": { - "description": "The last few device states. States are listed in descending order of server update time, starting from the most recent one.", - "items": { - "$ref": "DeviceState" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListDevicesResponse": { - "description": "Response for `ListDevices`.", - "id": "ListDevicesResponse", - "properties": { - "devices": { - "description": "The devices that match the request.", - "items": { - "$ref": "Device" - }, - "type": "array" - }, - "nextPageToken": { - "description": "If not empty, indicates that there may be more devices that match the request; this value should be passed in a new `ListDevicesRequest`.", - "type": "string" - } - }, - "type": "object" - }, - "ModifyCloudToDeviceConfigRequest": { - "description": "Request for `ModifyCloudToDeviceConfig`.", - "id": "ModifyCloudToDeviceConfigRequest", - "properties": { - "binaryData": { - "description": "Required. The configuration data for the device.", - "format": "byte", - "type": "string" - }, - "versionToUpdate": { - "description": "The version number to update. If this value is zero, it will not check the version number of the server and will always update the current version; otherwise, this update will fail if the version number found on the server does not match this version number. This is used to support multiple simultaneous updates without losing data.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "MqttConfig": { - "description": "The configuration of MQTT for a device registry.", - "id": "MqttConfig", - "properties": { - "mqttEnabledState": { - "description": "If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.", - "enum": [ - "MQTT_STATE_UNSPECIFIED", - "MQTT_ENABLED", - "MQTT_DISABLED" - ], - "enumDescriptions": [ - "No MQTT state specified. If not specified, MQTT will be enabled by default.", - "Enables a MQTT connection.", - "Disables a MQTT connection." - ], - "type": "string" - } - }, - "type": "object" - }, - "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", - "id": "Policy", - "properties": { - "bindings": { - "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", - "items": { - "$ref": "Binding" - }, - "type": "array" - }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "PublicKeyCertificate": { - "description": "A public key certificate format and data.", - "id": "PublicKeyCertificate", - "properties": { - "certificate": { - "description": "The certificate data.", - "type": "string" - }, - "format": { - "description": "The certificate format.", - "enum": [ - "UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT", - "X509_CERTIFICATE_PEM" - ], - "enumDescriptions": [ - "The format has not been specified. This is an invalid default value and must not be used.", - "An X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`." - ], - "type": "string" - }, - "x509Details": { - "$ref": "X509CertificateDetails", - "description": "[Output only] The certificate details. Used only for X.509 certificates." - } - }, - "type": "object" - }, - "PublicKeyCredential": { - "description": "A public key format and data.", - "id": "PublicKeyCredential", - "properties": { - "format": { - "description": "The format of the key.", - "enum": [ - "UNSPECIFIED_PUBLIC_KEY_FORMAT", - "RSA_PEM", - "RSA_X509_PEM", - "ES256_PEM", - "ES256_X509_PEM" - ], - "enumDescriptions": [ - "The format has not been specified. This is an invalid default value and must not be used.", - "An RSA public key encoded in base64, and wrapped by `-----BEGIN PUBLIC KEY-----` and `-----END PUBLIC KEY-----`. This can be used to verify `RS256` signatures in JWT tokens ([RFC7518]( https://www.ietf.org/rfc/rfc7518.txt)).", - "As RSA_PEM, but wrapped in an X.509v3 certificate ([RFC5280]( https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`.", - "Public key for the ECDSA algorithm using P-256 and SHA-256, encoded in base64, and wrapped by `-----BEGIN PUBLIC KEY-----` and `-----END PUBLIC KEY-----`. This can be used to verify JWT tokens with the `ES256` algorithm ([RFC7518](https://www.ietf.org/rfc/rfc7518.txt)). This curve is defined in [OpenSSL](https://www.openssl.org/) as the `prime256v1` curve.", - "As ES256_PEM, but wrapped in an X.509v3 certificate ([RFC5280]( https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`." - ], - "type": "string" - }, - "key": { - "description": "The key data.", - "type": "string" - } - }, - "type": "object" - }, - "RegistryCredential": { - "description": "A server-stored registry credential used to validate device credentials.", - "id": "RegistryCredential", - "properties": { - "publicKeyCertificate": { - "$ref": "PublicKeyCertificate", - "description": "A public key certificate used to verify the device credentials." - } - }, - "type": "object" - }, - "SendCommandToDeviceRequest": { - "description": "Request for `SendCommandToDevice`.", - "id": "SendCommandToDeviceRequest", - "properties": { - "binaryData": { - "description": "Required. The command data to send to the device.", - "format": "byte", - "type": "string" - }, - "subfolder": { - "description": "Optional subfolder for the command. If empty, the command will be delivered to the /devices/{device-id}/commands topic, otherwise it will be delivered to the /devices/{device-id}/commands/{subfolder} topic. Multi-level subfolders are allowed. This field must not have more than 256 characters, and must not contain any MQTT wildcards (\"+\" or \"#\") or null characters.", - "type": "string" - } - }, - "type": "object" - }, - "SendCommandToDeviceResponse": { - "description": "Response for `SendCommandToDevice`.", - "id": "SendCommandToDeviceResponse", - "properties": {}, - "type": "object" - }, - "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", - "id": "SetIamPolicyRequest", - "properties": { - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." - } - }, - "type": "object" - }, - "StateNotificationConfig": { - "description": "The configuration for notification of new states received from the device.", - "id": "StateNotificationConfig", - "properties": { - "pubsubTopicName": { - "description": "A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "id": "TestIamPermissionsRequest", - "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", - "id": "TestIamPermissionsResponse", - "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "UnbindDeviceFromGatewayRequest": { - "description": "Request for `UnbindDeviceFromGateway`.", - "id": "UnbindDeviceFromGatewayRequest", - "properties": { - "deviceId": { - "description": "Required. The device to disassociate from the specified gateway. The value of `device_id` can be either the device numeric ID or the user-defined device identifier.", - "type": "string" - }, - "gatewayId": { - "description": "Required. The value of `gateway_id` can be either the device numeric ID or the user-defined device identifier.", - "type": "string" - } - }, - "type": "object" - }, - "UnbindDeviceFromGatewayResponse": { - "description": "Response for `UnbindDeviceFromGateway`.", - "id": "UnbindDeviceFromGatewayResponse", - "properties": {}, - "type": "object" - }, - "X509CertificateDetails": { - "description": "Details of an X.509 certificate. For informational purposes only.", - "id": "X509CertificateDetails", - "properties": { - "expiryTime": { - "description": "The time the certificate becomes invalid.", - "format": "google-datetime", - "type": "string" - }, - "issuer": { - "description": "The entity that signed the certificate.", - "type": "string" - }, - "publicKeyType": { - "description": "The type of public key in the certificate.", - "type": "string" - }, - "signatureAlgorithm": { - "description": "The algorithm used to sign the certificate.", - "type": "string" - }, - "startTime": { - "description": "The time the certificate becomes valid.", - "format": "google-datetime", - "type": "string" - }, - "subject": { - "description": "The entity the certificate and public key belong to.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud IoT API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/cloudkms-v1.json b/discovery/cloudkms-v1.json index e03bd09dd0a..809dcecf820 100644 --- a/discovery/cloudkms-v1.json +++ b/discovery/cloudkms-v1.json @@ -103,6 +103,11 @@ "description": "Regional Endpoint", "endpointUrl": "https://cloudkms.us.rep.googleapis.com/", "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudkms.in.rep.googleapis.com/", + "location": "in" } ], "fullyEncodeReservedExpansion": true, @@ -2158,7 +2163,7 @@ } } }, - "revision": "20250414", + "revision": "20250501", "rootUrl": "https://cloudkms.googleapis.com/", "schemas": { "AsymmetricDecryptRequest": { @@ -3551,7 +3556,7 @@ "type": "string" }, "totalSize": { - "description": "The total number of CryptoKeyVersions that matched the query.", + "description": "The total number of CryptoKeyVersions that matched the query. This field is not populated if ListCryptoKeyVersionsRequest.filter is applied.", "format": "int32", "type": "integer" } @@ -3574,7 +3579,7 @@ "type": "string" }, "totalSize": { - "description": "The total number of CryptoKeys that matched the query.", + "description": "The total number of CryptoKeys that matched the query. This field is not populated if ListCryptoKeysRequest.filter is applied.", "format": "int32", "type": "integer" } @@ -3597,7 +3602,7 @@ "type": "string" }, "totalSize": { - "description": "The total number of EkmConnections that matched the query.", + "description": "The total number of EkmConnections that matched the query. This field is not populated if ListEkmConnectionsRequest.filter is applied.", "format": "int32", "type": "integer" } @@ -3620,7 +3625,7 @@ "type": "string" }, "totalSize": { - "description": "The total number of ImportJobs that matched the query.", + "description": "The total number of ImportJobs that matched the query. This field is not populated if ListImportJobsRequest.filter is applied.", "format": "int32", "type": "integer" } @@ -3661,7 +3666,7 @@ "type": "string" }, "totalSize": { - "description": "The total number of KeyRings that matched the query.", + "description": "The total number of KeyRings that matched the query. This field is not populated if ListKeyRingsRequest.filter is applied.", "format": "int32", "type": "integer" } diff --git a/discovery/cloudprofiler-v2.json b/discovery/cloudprofiler-v2.json index 3d0c3981475..68e9bad23a0 100644 --- a/discovery/cloudprofiler-v2.json +++ b/discovery/cloudprofiler-v2.json @@ -254,7 +254,7 @@ } } }, - "revision": "20240429", + "revision": "20240325", "rootUrl": "https://cloudprofiler.googleapis.com/", "schemas": { "CreateProfileRequest": { diff --git a/discovery/cloudresourcemanager-v3.json b/discovery/cloudresourcemanager-v3.json index 5408b0821a4..4bacc81eb6b 100644 --- a/discovery/cloudresourcemanager-v3.json +++ b/discovery/cloudresourcemanager-v3.json @@ -321,7 +321,7 @@ ], "parameters": { "name": { - "description": "Output only. The resource name of the folder. Its format is `folders/{folder_id}`, for example: \"folders/1234\".", + "description": "Identifier. The resource name of the folder. Its format is `folders/{folder_id}`, for example: \"folders/1234\".", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -1870,7 +1870,7 @@ } } }, - "revision": "20250417", + "revision": "20250508", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -2212,8 +2212,7 @@ "type": "string" }, "name": { - "description": "Output only. The resource name of the folder. Its format is `folders/{folder_id}`, for example: \"folders/1234\".", - "readOnly": true, + "description": "Identifier. The resource name of the folder. Its format is `folders/{folder_id}`, for example: \"folders/1234\".", "type": "string" }, "parent": { diff --git a/discovery/cloudshell-v1alpha1.json b/discovery/cloudshell-v1alpha1.json deleted file mode 100644 index 01679d1a111..00000000000 --- a/discovery/cloudshell-v1alpha1.json +++ /dev/null @@ -1,578 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "basePath": "", - "baseUrl": "https://cloudshell.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Shell", - "description": "Allows users to start, configure, and connect to interactive shell sessions running in the cloud. ", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/shell/docs/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "cloudshell:v1alpha1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://cloudshell.mtls.googleapis.com/", - "name": "cloudshell", - "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": { - "users": { - "resources": { - "environments": { - "methods": { - "authorize": { - "description": "Sends OAuth credentials to a running environment on behalf of a user. When this completes, the environment will be authorized to run various Google Cloud command line tools without requiring the user to manually authenticate.", - "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}:authorize", - "httpMethod": "POST", - "id": "cloudshell.users.environments.authorize", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the resource that should receive the credentials, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.", - "location": "path", - "pattern": "^users/[^/]+/environments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+name}:authorize", - "request": { - "$ref": "AuthorizeEnvironmentRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets an environment. Returns NOT_FOUND if the environment does not exist.", - "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}", - "httpMethod": "GET", - "id": "cloudshell.users.environments.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the requested resource, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.", - "location": "path", - "pattern": "^users/[^/]+/environments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+name}", - "response": { - "$ref": "Environment" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an existing environment.", - "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}", - "httpMethod": "PATCH", - "id": "cloudshell.users.environments.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the resource to be updated, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.", - "location": "path", - "pattern": "^users/[^/]+/environments/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Mask specifying which fields in the environment should be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha1/{+name}", - "request": { - "$ref": "Environment" - }, - "response": { - "$ref": "Environment" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "start": { - "description": "Starts an existing environment, allowing clients to connect to it. The returned operation will contain an instance of StartEnvironmentMetadata in its metadata field. Users can wait for the environment to start by polling this operation via GetOperation. Once the environment has finished starting and is ready to accept connections, the operation will contain a StartEnvironmentResponse in its response field.", - "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}:start", - "httpMethod": "POST", - "id": "cloudshell.users.environments.start", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the resource that should be started, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.", - "location": "path", - "pattern": "^users/[^/]+/environments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+name}:start", - "request": { - "$ref": "StartEnvironmentRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "publicKeys": { - "methods": { - "create": { - "description": "Adds a public SSH key to an environment, allowing clients with the corresponding private key to connect to that environment via SSH. If a key with the same format and content already exists, this will return the existing key.", - "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}/publicKeys", - "httpMethod": "POST", - "id": "cloudshell.users.environments.publicKeys.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Parent resource name, e.g. `users/me/environments/default`.", - "location": "path", - "pattern": "^users/[^/]+/environments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+parent}/publicKeys", - "request": { - "$ref": "CreatePublicKeyRequest" - }, - "response": { - "$ref": "PublicKey" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Removes a public SSH key from an environment. Clients will no longer be able to connect to the environment using the corresponding private key.", - "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}/publicKeys/{publicKeysId}", - "httpMethod": "DELETE", - "id": "cloudshell.users.environments.publicKeys.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the resource to be deleted, e.g. `users/me/environments/default/publicKeys/my-key`.", - "location": "path", - "pattern": "^users/[^/]+/environments/[^/]+/publicKeys/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20200803", - "rootUrl": "https://cloudshell.googleapis.com/", - "schemas": { - "AuthorizeEnvironmentRequest": { - "description": "Request message for AuthorizeEnvironment.", - "id": "AuthorizeEnvironmentRequest", - "properties": { - "accessToken": { - "description": "The OAuth access token that should be sent to the environment.", - "type": "string" - }, - "expireTime": { - "description": "The time when the credentials expire. If not set, defaults to one hour from when the server received the request.", - "format": "google-datetime", - "type": "string" - }, - "idToken": { - "description": "The OAuth ID token that should be sent to the environment.", - "type": "string" - } - }, - "type": "object" - }, - "CreatePublicKeyRequest": { - "description": "Request message for CreatePublicKey.", - "id": "CreatePublicKeyRequest", - "properties": { - "key": { - "$ref": "PublicKey", - "description": "Key that should be added to the environment." - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Environment": { - "description": "A Cloud Shell environment, which is defined as the combination of a Docker image specifying what is installed on the environment and a home directory containing the user's data that will remain across sessions. Each user has a single environment with the ID \"default\".", - "id": "Environment", - "properties": { - "dockerImage": { - "description": "Required. Full path to the Docker image used to run this environment, e.g. \"gcr.io/dev-con/cloud-devshell:latest\".", - "type": "string" - }, - "id": { - "description": "Output only. The environment's identifier, unique among the user's environments.", - "type": "string" - }, - "name": { - "description": "Output only. Full name of this resource, in the format `users/{owner_email}/environments/{environment_id}`. `{owner_email}` is the email address of the user to whom this environment belongs, and `{environment_id}` is the identifier of this environment. For example, `users/someone@example.com/environments/default`.", - "type": "string" - }, - "publicKeys": { - "description": "Output only. Public keys associated with the environment. Clients can connect to this environment via SSH only if they possess a private key corresponding to at least one of these public keys. Keys can be added to or removed from the environment using the CreatePublicKey and DeletePublicKey methods.", - "items": { - "$ref": "PublicKey" - }, - "type": "array" - }, - "size": { - "description": "Indicates the size of the backing VM running the environment. If set to something other than DEFAULT, it will be reverted to the default VM size after vm_size_expire_time.", - "enum": [ - "VM_SIZE_UNSPECIFIED", - "DEFAULT", - "BOOSTED" - ], - "enumDescriptions": [ - "The VM size is unknown.", - "The default VM size.", - "The boosted VM size." - ], - "type": "string" - }, - "sshHost": { - "description": "Output only. Host to which clients can connect to initiate SSH sessions with the environment.", - "type": "string" - }, - "sshPort": { - "description": "Output only. Port to which clients can connect to initiate SSH sessions with the environment.", - "format": "int32", - "type": "integer" - }, - "sshUsername": { - "description": "Output only. Username that clients should use when initiating SSH sessions with the environment.", - "type": "string" - }, - "state": { - "description": "Output only. Current execution state of this environment.", - "enum": [ - "STATE_UNSPECIFIED", - "DISABLED", - "STARTING", - "RUNNING", - "DELETING" - ], - "enumDescriptions": [ - "The environment's states is unknown.", - "The environment is not running and can't be connected to. Starting the environment will transition it to the STARTING state.", - "The environment is being started but is not yet ready to accept connections.", - "The environment is running and ready to accept connections. It will automatically transition back to DISABLED after a period of inactivity or if another environment is started.", - "The environment is being deleted and can't be connected to." - ], - "type": "string" - }, - "vmSizeExpireTime": { - "description": "Output only. The time when the Environment will expire back to the default VM size.", - "format": "google-datetime", - "type": "string" - }, - "webHost": { - "description": "Output only. Host to which clients can connect to initiate HTTPS or WSS connections with the environment.", - "type": "string" - }, - "webPorts": { - "description": "Output only. Ports to which clients can connect to initiate HTTPS or WSS connections with the environment.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "PublicKey": { - "description": "A public SSH key, corresponding to a private SSH key held by the client.", - "id": "PublicKey", - "properties": { - "format": { - "description": "Required. Format of this key's content.", - "enum": [ - "FORMAT_UNSPECIFIED", - "SSH_DSS", - "SSH_RSA", - "ECDSA_SHA2_NISTP256", - "ECDSA_SHA2_NISTP384", - "ECDSA_SHA2_NISTP521" - ], - "enumDescriptions": [ - "Unknown format. Do not use.", - "`ssh-dss` key format (see RFC4253).", - "`ssh-rsa` key format (see RFC4253).", - "`ecdsa-sha2-nistp256` key format (see RFC5656).", - "`ecdsa-sha2-nistp384` key format (see RFC5656).", - "`ecdsa-sha2-nistp521` key format (see RFC5656)." - ], - "type": "string" - }, - "key": { - "description": "Required. Content of this key.", - "format": "byte", - "type": "string" - }, - "name": { - "description": "Output only. Full name of this resource, in the format `users/{owner_email}/environments/{environment_id}/publicKeys/{key_id}`. `{owner_email}` is the email address of the user to whom the key belongs. `{environment_id}` is the identifier of the environment to which the key grants access. `{key_id}` is the unique identifier of the key. For example, `users/someone@example.com/environments/default/publicKeys/myKey`.", - "type": "string" - } - }, - "type": "object" - }, - "StartEnvironmentMetadata": { - "description": "Message included in the metadata field of operations returned from StartEnvironment.", - "id": "StartEnvironmentMetadata", - "properties": { - "state": { - "description": "Current state of the environment being started.", - "enum": [ - "STATE_UNSPECIFIED", - "STARTING", - "UNARCHIVING_DISK", - "AWAITING_VM", - "AWAITING_COMPUTE_RESOURCES", - "FINISHED" - ], - "enumDescriptions": [ - "The environment's start state is unknown.", - "The environment is in the process of being started, but no additional details are available.", - "Startup is waiting for the user's disk to be unarchived. This can happen when the user returns to Cloud Shell after not having used it for a while, and suggests that startup will take longer than normal.", - "Startup is waiting for a VM to be assigned to the environment. This should normally happen very quickly, but an environment might stay in this state for an extended period of time if the system is experiencing heavy load.", - "Startup is waiting for compute resources to be assigned to the environment. This should normally happen very quickly, but an environment might stay in this state for an extended period of time if the system is experiencing heavy load.", - "Startup has completed. If the start operation was successful, the user should be able to establish an SSH connection to their environment. Otherwise, the operation will contain details of the failure." - ], - "type": "string" - } - }, - "type": "object" - }, - "StartEnvironmentRequest": { - "description": "Request message for StartEnvironment.", - "id": "StartEnvironmentRequest", - "properties": { - "accessToken": { - "description": "The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.", - "type": "string" - }, - "publicKeys": { - "description": "Public keys that should be added to the environment before it is started.", - "items": { - "$ref": "PublicKey" - }, - "type": "array" - } - }, - "type": "object" - }, - "StartEnvironmentResponse": { - "description": "Message included in the response field of operations returned from StartEnvironment once the operation is complete.", - "id": "StartEnvironmentResponse", - "properties": { - "environment": { - "$ref": "Environment", - "description": "Environment that was started." - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Shell API", - "version": "v1alpha1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/compute-alpha.json b/discovery/compute-alpha.json index 3b82f49a084..ee46c979686 100644 --- a/discovery/compute-alpha.json +++ b/discovery/compute-alpha.json @@ -23667,30 +23667,30 @@ "methods": { "get": { "description": "Returns the details of the given PreviewFeature.", - "flatPath": "projects/{project}/global/previewFeatures/{resourceId}", + "flatPath": "projects/{project}/global/previewFeatures/{previewFeature}", "httpMethod": "GET", "id": "compute.previewFeatures.get", "parameterOrder": [ "project", - "resourceId" + "previewFeature" ], "parameters": { - "project": { - "description": "Project ID for this request.", + "previewFeature": { + "description": "Name of the PreviewFeature for this request.", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, "type": "string" }, - "resourceId": { - "description": "Name of the PreviewFeature for this request.", + "project": { + "description": "Project ID for this request.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, "type": "string" } }, - "path": "projects/{project}/global/previewFeatures/{resourceId}", + "path": "projects/{project}/global/previewFeatures/{previewFeature}", "response": { "$ref": "PreviewFeature" }, @@ -23757,14 +23757,21 @@ }, "update": { "description": "Patches the given PreviewFeature. This method is used to enable or disable a PreviewFeature.", - "flatPath": "projects/{project}/global/previewFeatures/{resourceId}", + "flatPath": "projects/{project}/global/previewFeatures/{previewFeature}", "httpMethod": "PATCH", "id": "compute.previewFeatures.update", "parameterOrder": [ "project", - "resourceId" + "previewFeature" ], "parameters": { + "previewFeature": { + "description": "Name of the PreviewFeature for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", "location": "path", @@ -23776,16 +23783,9 @@ "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" - }, - "resourceId": { - "description": "Name of the PreviewFeature for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string" } }, - "path": "projects/{project}/global/previewFeatures/{resourceId}", + "path": "projects/{project}/global/previewFeatures/{previewFeature}", "request": { "$ref": "PreviewFeature" }, @@ -49568,7 +49568,7 @@ } } }, - "revision": "20250427", + "revision": "20250505", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -62573,6 +62573,16 @@ "description": "Maintenance Info for ReservationBlocks.", "id": "GroupMaintenanceInfo", "properties": { + "instanceMaintenanceOngoingCount": { + "description": "Describes number of instances that have ongoing maintenance.", + "format": "int32", + "type": "integer" + }, + "instanceMaintenancePendingCount": { + "description": "Describes number of instances that have pending maintenance.", + "format": "int32", + "type": "integer" + }, "maintenanceOngoingCount": { "description": "Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance.", "format": "int32", @@ -67870,6 +67880,10 @@ "MIG automatically repairs an unhealthy VM by recreating it." ], "type": "string" + }, + "onRepair": { + "$ref": "InstanceGroupManagerInstanceLifecyclePolicyOnRepair", + "description": "Configuration for VM repairs in the MIG." } }, "type": "object" @@ -67886,6 +67900,25 @@ }, "type": "object" }, + "InstanceGroupManagerInstanceLifecyclePolicyOnRepair": { + "description": "Configuration for VM repairs in the MIG.", + "id": "InstanceGroupManagerInstanceLifecyclePolicyOnRepair", + "properties": { + "allowChangingZone": { + "description": "Specifies whether the MIG can change a VM's zone during repair.", + "enum": [ + "NO", + "YES" + ], + "enumDescriptions": [ + "[Default] MIG cannot change a VM's zone during repair.", + "MIG can select a different zone for the VM during repair." + ], + "type": "string" + } + }, + "type": "object" + }, "InstanceGroupManagerList": { "description": "[Output Only] A list of managed instance groups.", "id": "InstanceGroupManagerList", @@ -72640,7 +72673,7 @@ "type": "object" }, "mtu": { - "description": "Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440.", + "description": "Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not specified, the value will default to 1440.", "format": "int32", "type": "integer" }, @@ -73403,7 +73436,7 @@ "description": "L2 Interconnect Attachment related config. This field is required if the type is L2_DEDICATED. The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad) within L2 packets are mapped to the destination appliances IP addresses. The packet is then encapsulated with the appliance IP address and sent to the edge appliance." }, "mtu": { - "description": "Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440.", + "description": "Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, or 8896. If not specified, the value will default to 1440.", "format": "int32", "type": "integer" }, @@ -92500,6 +92533,20 @@ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, + "protectionTier": { + "description": "Protection tier for the workload which specifies the workload expectations in the event of infrastructure failures at data center (e.g. power and/or cooling failures).", + "enum": [ + "CAPACITY_OPTIMIZED", + "PROTECTION_TIER_UNSPECIFIED", + "STANDARD" + ], + "enumDescriptions": [ + "CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling) at the data center during normal operating conditions. In the event of infrastructure failures at data center (e.g. power and/or cooling failures), this workload may be disrupted. As a consequence, it has a weaker availability SLO than STANDARD.", + "Unspecified protection tier.", + "STANDARD protection for workload that should be protected by redundancies (e.g. power, cooling) at the data center level. In the event of infrastructure failures at data center (e.g. power and/or cooling failures), this workload is expected to continue as normal using the redundancies." + ], + "type": "string" + }, "reservationMode": { "description": "[Output only] Indicates the reservation mode of the reservation.", "enum": [ @@ -94774,7 +94821,7 @@ "type": "boolean" }, "enableOsInventoryMetadataValue": { - "description": "Effective enable-osinventory value at Instance level.", + "description": "Effective enable-os-inventory value at Instance level.", "type": "boolean" }, "enableOsconfigMetadataValue": { @@ -94789,6 +94836,10 @@ "description": "Effective serial-port-enable value at Instance level.", "type": "boolean" }, + "serialPortLoggingEnableMetadataValue": { + "description": "Effective serial-port-logging-enable value at Instance level.", + "type": "boolean" + }, "vmDnsSettingMetadataValue": { "description": "Effective VM DNS setting at Instance level.", "type": "string" @@ -98901,6 +98952,24 @@ "SecurityPolicyDdosProtectionConfig": { "id": "SecurityPolicyDdosProtectionConfig", "properties": { + "ddosAdaptiveProtection": { + "enum": [ + "DISABLED", + "ENABLED", + "PREVIEW" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "ddosImpactedBaselineThreshold": { + "description": "Adaptive Protection for Network Load Balancers (and VMs with public IPs) builds DDos mitigations that minimize collateral damage. It quantifies this as the fraction of a non-abuse baseline that's inadvertently blocked. Rules whose collateral damage exceeds ddosAdaptiveImpactedBaselineThreshold will not be deployed. Using a lower value will prioritize keeping collateral damage low, possibly at the cost of its effectiveness in rate limiting some or all of the attack. It should typically be between 0.01 and 0.10.", + "format": "float", + "type": "number" + }, "ddosProtection": { "enum": [ "ADVANCED", diff --git a/discovery/compute-beta.json b/discovery/compute-beta.json index 0fd1904ffc6..5e68b2382e5 100644 --- a/discovery/compute-beta.json +++ b/discovery/compute-beta.json @@ -3083,6 +3083,54 @@ "https://www.googleapis.com/auth/compute" ] }, + "bulkSetLabels": { + "description": "Sets the labels on many disks at once. To learn more about labels, read the Labeling Resources documentation.", + "flatPath": "projects/{project}/zones/{zone}/disks/bulkSetLabels", + "httpMethod": "POST", + "id": "compute.disks.bulkSetLabels", + "parameterOrder": [ + "project", + "zone" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "query", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/disks/bulkSetLabels", + "request": { + "$ref": "BulkZoneSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "createSnapshot": { "description": "Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.", "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/createSnapshot", @@ -22645,6 +22693,142 @@ } } }, + "previewFeatures": { + "methods": { + "get": { + "description": "Returns the details of the given PreviewFeature.", + "flatPath": "projects/{project}/global/previewFeatures/{previewFeature}", + "httpMethod": "GET", + "id": "compute.previewFeatures.get", + "parameterOrder": [ + "project", + "previewFeature" + ], + "parameters": { + "previewFeature": { + "description": "Name of the PreviewFeature for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/previewFeatures/{previewFeature}", + "response": { + "$ref": "PreviewFeature" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "list": { + "description": "Returns the details of the given PreviewFeature.", + "flatPath": "projects/{project}/global/previewFeatures", + "httpMethod": "GET", + "id": "compute.previewFeatures.list", + "parameterOrder": [ + "project" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", + "location": "query", + "type": "boolean" + } + }, + "path": "projects/{project}/global/previewFeatures", + "response": { + "$ref": "PreviewFeatureList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "update": { + "description": "Patches the given PreviewFeature. This method is used to enable or disable a PreviewFeature.", + "flatPath": "projects/{project}/global/previewFeatures/{previewFeature}", + "httpMethod": "PATCH", + "id": "compute.previewFeatures.update", + "parameterOrder": [ + "project", + "previewFeature" + ], + "parameters": { + "previewFeature": { + "description": "Name of the PreviewFeature for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/global/previewFeatures/{previewFeature}", + "request": { + "$ref": "PreviewFeature" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + } + } + }, "projects": { "methods": { "disableXpnHost": { @@ -45351,7 +45535,7 @@ } } }, - "revision": "20250427", + "revision": "20250505", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -50632,6 +50816,36 @@ }, "type": "object" }, + "BulkSetLabelsRequest": { + "id": "BulkSetLabelsRequest", + "properties": { + "labelFingerprint": { + "description": "The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You may optionally provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.", + "format": "byte", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "The labels to set for this resource.", + "type": "object" + } + }, + "type": "object" + }, + "BulkZoneSetLabelsRequest": { + "id": "BulkZoneSetLabelsRequest", + "properties": { + "requests": { + "items": { + "$ref": "BulkSetLabelsRequest" + }, + "type": "array" + } + }, + "type": "object" + }, "BundledLocalSsds": { "id": "BundledLocalSsds", "properties": { @@ -51879,6 +52093,28 @@ }, "type": "object" }, + "Date": { + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", + "id": "Date", + "properties": { + "day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "DeprecationStatus": { "description": "Deprecation status for a public resource.", "id": "DeprecationStatus", @@ -65511,6 +65747,22 @@ ], "type": "string" }, + "candidateCloudRouterIpAddress": { + "description": "Single IPv4 address + prefix length to be configured on the cloud router interface for this interconnect attachment. - Both candidate_cloud_router_ip_address and candidate_customer_router_ip_address fields must be set or both must be unset. - Prefix length of both candidate_cloud_router_ip_address and candidate_customer_router_ip_address must be the same. - Max prefix length is 31. ", + "type": "string" + }, + "candidateCloudRouterIpv6Address": { + "description": "Single IPv6 address + prefix length to be configured on the cloud router interface for this interconnect attachment. - Both candidate_cloud_router_ipv6_address and candidate_customer_router_ipv6_address fields must be set or both must be unset. - Prefix length of both candidate_cloud_router_ipv6_address and candidate_customer_router_ipv6_address must be the same. - Max prefix length is 126. ", + "type": "string" + }, + "candidateCustomerRouterIpAddress": { + "description": "Single IPv4 address + prefix length to be configured on the customer router interface for this interconnect attachment.", + "type": "string" + }, + "candidateCustomerRouterIpv6Address": { + "description": "Single IPv6 address + prefix length to be configured on the customer router interface for this interconnect attachment.", + "type": "string" + }, "candidateIpv6Subnets": { "description": "This field is not available.", "items": { @@ -65631,7 +65883,7 @@ "type": "object" }, "mtu": { - "description": "Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440.", + "description": "Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not specified, the value will default to 1440.", "format": "int32", "type": "integer" }, @@ -78257,6 +78509,342 @@ }, "type": "object" }, + "PreviewFeature": { + "description": "Represents a single Google Compute Engine preview feature.", + "id": "PreviewFeature", + "properties": { + "activationStatus": { + "description": "Specifies whether the feature is enabled or disabled.", + "enum": [ + "ACTIVATION_STATE_UNSPECIFIED", + "DISABLED", + "ENABLED" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "description": { + "description": "[Output Only] Description of the feature.", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "format": "uint64", + "type": "string" + }, + "kind": { + "default": "compute#previewFeature", + "description": "[Output only] The type of the feature. Always \"compute#previewFeature\" for preview features.", + "type": "string" + }, + "name": { + "description": "Name of the feature.", + "type": "string" + }, + "rolloutOperation": { + "$ref": "PreviewFeatureRolloutOperation", + "description": "Rollout operation of the feature." + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "status": { + "$ref": "PreviewFeatureStatus", + "description": "[Output only] Status of the feature." + } + }, + "type": "object" + }, + "PreviewFeatureList": { + "id": "PreviewFeatureList", + "properties": { + "etag": { + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of PreviewFeature resources.", + "items": { + "$ref": "PreviewFeature" + }, + "type": "array" + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "unreachables": { + "description": "[Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder", + "items": { + "type": "string" + }, + "type": "array" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "QUOTA_INFO_UNAVAILABLE", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "Quota information is not available to client requests (e.g: regions.list).", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "items": { + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "PreviewFeatureRolloutOperation": { + "description": "Represents the rollout operation", + "id": "PreviewFeatureRolloutOperation", + "properties": { + "rolloutInput": { + "$ref": "PreviewFeatureRolloutOperationRolloutInput" + }, + "rolloutStatus": { + "$ref": "PreviewFeatureRolloutOperationRolloutStatus", + "readOnly": true + } + }, + "type": "object" + }, + "PreviewFeatureRolloutOperationRolloutInput": { + "id": "PreviewFeatureRolloutOperationRolloutInput", + "properties": { + "name": { + "description": "The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/.", + "type": "string" + }, + "predefinedRolloutPlan": { + "description": "Predefined rollout plan.", + "enum": [ + "ROLLOUT_PLAN_FAST_ROLLOUT", + "ROLLOUT_PLAN_TWO_DAY_ROLLOUT", + "ROLLOUT_PLAN_UNSPECIFIED" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "retryUuid": { + "description": "The UUID of the retry action. Only needed if this is a retry for an existing rollout. This can be used after the user canceled a rollout and want to retry it with no changes.", + "type": "string" + } + }, + "type": "object" + }, + "PreviewFeatureRolloutOperationRolloutStatus": { + "id": "PreviewFeatureRolloutOperationRolloutStatus", + "properties": { + "ongoingRollouts": { + "description": "Output only. The ongoing rollout resources. There can be multiple ongoing rollouts for a resource.", + "items": { + "$ref": "PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata" + }, + "readOnly": true, + "type": "array" + }, + "previousRollout": { + "$ref": "PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata", + "description": "Output only. The last completed rollout resource. This field will not be populated until the first rollout is completed.", + "readOnly": true + } + }, + "type": "object" + }, + "PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata": { + "id": "PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata", + "properties": { + "rollout": { + "description": "The name of the rollout Ex. organizations//locations/global/rollouts/ Ex. folders//locations/global/rollouts/ Ex. projects//locations/global/rollouts/.", + "type": "string" + }, + "rolloutPlan": { + "description": "The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/.", + "type": "string" + }, + "status": { + "$ref": "PreviewFeatureStatus", + "description": "The status of the rollout." + } + }, + "type": "object" + }, + "PreviewFeatureStatus": { + "description": "[Output Only] The status of the feature.", + "id": "PreviewFeatureStatus", + "properties": { + "description": { + "description": "[Output Only] The description of the feature.", + "type": "string" + }, + "releaseStatus": { + "$ref": "PreviewFeatureStatusReleaseStatus" + } + }, + "type": "object" + }, + "PreviewFeatureStatusReleaseStatus": { + "id": "PreviewFeatureStatusReleaseStatus", + "properties": { + "stage": { + "description": "[Output Only] The stage of the feature.", + "enum": [ + "DEPRECATED", + "GA", + "INTERNAL", + "PREVIEW", + "STAGE_UNSPECIFIED" + ], + "enumDescriptions": [ + "", + "", + "Exclude until there's product requirements.", + "", + "" + ], + "type": "string" + }, + "updateDate": { + "$ref": "Date", + "description": "Output only. The last date when a feature transitioned between ReleaseStatuses.", + "readOnly": true + } + }, + "type": "object" + }, "Project": { "description": "Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy.", "id": "Project", diff --git a/discovery/compute-v1.json b/discovery/compute-v1.json index f21862d4523..b9e2968a537 100644 --- a/discovery/compute-v1.json +++ b/discovery/compute-v1.json @@ -39717,7 +39717,7 @@ } } }, - "revision": "20250427", + "revision": "20250505", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -57635,7 +57635,7 @@ "type": "object" }, "mtu": { - "description": "Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440.", + "description": "Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not specified, the value will default to 1440.", "format": "int32", "type": "integer" }, diff --git a/discovery/connectors-v1.json b/discovery/connectors-v1.json index 84e29bc6708..176a66dcd5c 100644 --- a/discovery/connectors-v1.json +++ b/discovery/connectors-v1.json @@ -529,7 +529,7 @@ "type": "string" }, "updateMask": { - "description": "Required. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` * `auth_override_enabled`", + "description": "Required. The list of fields to update. Fields are specified relative to the connection. A field will be overwritten if it is in the mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` * `auth_override_enabled`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -873,6 +873,188 @@ } } }, + "endUserAuthentications": { + "methods": { + "create": { + "description": "Creates a new EndUserAuthentication in a given project,location and connection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/endUserAuthentications", + "httpMethod": "POST", + "id": "connectors.projects.locations.connections.endUserAuthentications.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "endUserAuthenticationId": { + "description": "Required. Identifier to assign to the EndUserAuthentication. Must be unique within scope of the parent resource.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource of the EndUserAuthentication, of the form: `projects/*/locations/*/connections/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/endUserAuthentications", + "request": { + "$ref": "EndUserAuthentication" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single EndUserAuthentication.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/endUserAuthentications/{endUserAuthenticationsId}", + "httpMethod": "DELETE", + "id": "connectors.projects.locations.connections.endUserAuthentications.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/*/connections/*/endUserAuthentication/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/endUserAuthentications/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single EndUserAuthentication.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/endUserAuthentications/{endUserAuthenticationsId}", + "httpMethod": "GET", + "id": "connectors.projects.locations.connections.endUserAuthentications.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/*/connections/*/EndUserAuthentications/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/endUserAuthentications/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "Optional. View of the EndUserAuthentication to return.", + "enum": [ + "END_USER_AUTHENTICATION_VIEW_UNSPECIFIED", + "BASIC_VIEW", + "FULL_VIEW" + ], + "enumDescriptions": [ + "END_USER_AUTHENTICATION_UNSPECIFIED.", + "Do not include secret fields.", + "Include secret fields." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "EndUserAuthentication" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List EndUserAuthentications in a given project,location and connection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/endUserAuthentications", + "httpMethod": "GET", + "id": "connectors.projects.locations.connections.endUserAuthentications.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Filter.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Order by parameters.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource of the EndUserAuthentication, of the form: `projects/*/locations/*/connections/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/endUserAuthentications", + "response": { + "$ref": "ListEndUserAuthenticationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single EndUserAuthentication.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/endUserAuthentications/{endUserAuthenticationsId}", + "httpMethod": "PATCH", + "id": "connectors.projects.locations.connections.endUserAuthentications.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Identifier. Resource name of the EndUserAuthentication. Format: projects/{project}/locations/{location}/connections/{connection}/endUserAuthentications/{end_user_authentication}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/endUserAuthentications/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update. A field will be overwritten if it is in the mask. You can modify only the fields listed below. To update the EndUserAuthentication details: * `notify_endpoint_destination`", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "EndUserAuthentication" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "eventSubscriptions": { "methods": { "create": { @@ -1014,7 +1196,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}", + "description": "Required. Identifier. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/eventSubscriptions/[^/]+$", "required": true, @@ -2418,6 +2600,21 @@ "required": true, "type": "string" }, + "schemaView": { + "description": "Optional. Enum to control whether schema enrichment related fields should be included in the response.", + "enum": [ + "CONNECTOR_VERSION_SCHEMA_VIEW_UNSPECIFIED", + "CONNECTOR_VERSION_SCHEMA_VIEW_BASIC", + "CONNECTOR_VERSION_SCHEMA_VIEW_ENRICHED" + ], + "enumDescriptions": [ + "VIEW_UNSPECIFIED. The unset value. Defaults to BASIC View.", + "Return basic connector version schema.", + "Return enriched connector version schema." + ], + "location": "query", + "type": "string" + }, "view": { "description": "Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `CUSTOMER` view.", "enum": [ @@ -2469,6 +2666,21 @@ "required": true, "type": "string" }, + "schemaView": { + "description": "Optional. Enum to control whether schema enrichment related fields should be included in the response.", + "enum": [ + "CONNECTOR_VERSION_SCHEMA_VIEW_UNSPECIFIED", + "CONNECTOR_VERSION_SCHEMA_VIEW_BASIC", + "CONNECTOR_VERSION_SCHEMA_VIEW_ENRICHED" + ], + "enumDescriptions": [ + "VIEW_UNSPECIFIED. The unset value. Defaults to BASIC View.", + "Return basic connector version schema.", + "Return enriched connector version schema." + ], + "location": "query", + "type": "string" + }, "view": { "description": "Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `BASIC` view.", "enum": [ @@ -2571,7 +2783,7 @@ } } }, - "revision": "20250423", + "revision": "20250507", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -2627,18 +2839,18 @@ "id": "AuthConfig", "properties": { "additionalVariables": { - "description": "List containing additional auth configs.", + "description": "Optional. List containing additional auth configs.", "items": { "$ref": "ConfigVariable" }, "type": "array" }, "authKey": { - "description": "Identifier key for auth config", + "description": "Optional. Identifier key for auth config", "type": "string" }, "authType": { - "description": "The type of authentication configured.", + "description": "Optional. The type of authentication configured.", "enum": [ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", @@ -2970,7 +3182,7 @@ "type": "string" }, "key": { - "description": "Key of the config variable.", + "description": "Optional. Key of the config variable.", "type": "string" }, "secretValue": { @@ -3195,6 +3407,10 @@ "readOnly": true, "type": "string" }, + "euaOauthAuthConfig": { + "$ref": "AuthConfig", + "description": "Optional. Additional Oauth2.0 Auth config for EUA. If the connection is configured using non-OAuth authentication but OAuth needs to be used for EUA, this field can be populated with the OAuth config. This should be a OAuth2AuthCodeFlow Auth type only." + }, "eventingConfig": { "$ref": "EventingConfig", "description": "Optional. Eventing config of a connection" @@ -3218,6 +3434,10 @@ "description": "Output only. Eventing Runtime Data.", "readOnly": true }, + "fallbackOnAdminCredentials": { + "description": "Optional. Fallback on admin credentials for the connection. If this both auth_override_enabled and fallback_on_admin_credentials are set to true, the connection will use the admin credentials if the dynamic auth header is not present during auth override.", + "type": "boolean" + }, "host": { "description": "Output only. The name of the Hostname of the Service Directory service with TLS.", "readOnly": true, @@ -3594,6 +3814,20 @@ "description": "Indicate whether connector is being migrated to TLS.", "type": "boolean" }, + "networkEgressMode": { + "description": "Indicate whether connector is being migrated to use direct VPC egress.", + "enum": [ + "NETWORK_EGRESS_MODE_UNSPECIFIED", + "SERVERLESS_VPC_ACCESS_CONNECTOR", + "DIRECT_VPC_EGRESS" + ], + "enumDescriptions": [ + "Network egress mode is not specified.", + "Default model VPC Access Connector.", + "Direct VPC Egress." + ], + "type": "string" + }, "provisionCloudSpanner": { "description": "Indicate whether cloud spanner is required for connector job.", "type": "boolean" @@ -3725,6 +3959,13 @@ "readOnly": true, "type": "string" }, + "priorityEntityTypes": { + "description": "Optional. The priority entity types for the connector version.", + "items": { + "$ref": "PriorityEntityType" + }, + "type": "array" + }, "releaseVersion": { "description": "Output only. ReleaseVersion of the connector, for example: \"1.0.1-alpha\".", "readOnly": true, @@ -3907,7 +4148,7 @@ "id": "ConnectorsLogConfig", "properties": { "enabled": { - "description": "Enabled represents whether logging is enabled or not for a connection.", + "description": "Optional. Enabled represents whether logging is enabled or not for a connection.", "type": "boolean" }, "level": { @@ -4180,223 +4421,655 @@ }, "type": "object" }, - "DenyMaintenancePeriod": { - "description": "DenyMaintenancePeriod definition. Maintenance is forbidden within the deny period. The start_date must be less than the end_date.", - "id": "DenyMaintenancePeriod", + "DenyMaintenancePeriod": { + "description": "DenyMaintenancePeriod definition. Maintenance is forbidden within the deny period. The start_date must be less than the end_date.", + "id": "DenyMaintenancePeriod", + "properties": { + "endDate": { + "$ref": "Date", + "description": "Deny period end date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be before the end." + }, + "startDate": { + "$ref": "Date", + "description": "Deny period start date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be the same or after the start." + }, + "time": { + "$ref": "TimeOfDay", + "description": "Time in UTC when the Blackout period starts on start_date and ends on end_date. This can be: * Full time. * All zeros for 00:00:00 UTC" + } + }, + "type": "object" + }, + "DeprecateCustomConnectorVersionRequest": { + "description": "Request message for ConnectorsService.DeprecateCustomConnectorVersion", + "id": "DeprecateCustomConnectorVersionRequest", + "properties": {}, + "type": "object" + }, + "Destination": { + "id": "Destination", + "properties": { + "host": { + "description": "For publicly routable host.", + "type": "string" + }, + "port": { + "description": "The port is the target port number that is accepted by the destination.", + "format": "int32", + "type": "integer" + }, + "serviceAttachment": { + "deprecated": true, + "description": "PSC service attachments. Format: projects/*/regions/*/serviceAttachments/*", + "type": "string" + } + }, + "type": "object" + }, + "DestinationConfig": { + "description": "Define the Connectors target endpoint.", + "id": "DestinationConfig", + "properties": { + "destinations": { + "description": "The destinations for the key.", + "items": { + "$ref": "Destination" + }, + "type": "array" + }, + "key": { + "description": "The key is the destination identifier that is supported by the Connector.", + "type": "string" + } + }, + "type": "object" + }, + "DestinationConfigTemplate": { + "description": "DestinationConfigTemplate defines required destinations supported by the Connector.", + "id": "DestinationConfigTemplate", + "properties": { + "autocompleteSuggestions": { + "description": "Autocomplete suggestions for destination URL field.", + "items": { + "type": "string" + }, + "type": "array" + }, + "defaultPort": { + "description": "The default port.", + "format": "int32", + "type": "integer" + }, + "description": { + "description": "Description.", + "type": "string" + }, + "displayName": { + "description": "Display name of the parameter.", + "type": "string" + }, + "isAdvanced": { + "description": "Whether the current destination tempalate is part of Advanced settings", + "type": "boolean" + }, + "key": { + "description": "Key of the destination.", + "type": "string" + }, + "max": { + "description": "The maximum number of destinations supported for this key.", + "format": "int32", + "type": "integer" + }, + "min": { + "description": "The minimum number of destinations supported for this key.", + "format": "int32", + "type": "integer" + }, + "portFieldType": { + "description": "Whether port number should be provided by customers.", + "enum": [ + "FIELD_TYPE_UNSPECIFIED", + "REQUIRED", + "OPTIONAL", + "NOT_USED" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "regexPattern": { + "description": "Regex pattern for host.", + "type": "string" + } + }, + "type": "object" + }, + "EUASecret": { + "description": "EUASecret provides a reference to entries in Secret Manager.", + "id": "EUASecret", + "properties": { + "secretValue": { + "description": "Optional. The plain string value of the secret.", + "type": "string" + }, + "secretVersion": { + "description": "Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.", + "type": "string" + } + }, + "type": "object" + }, + "EgressControlConfig": { + "description": "Egress control config for connector runtime. These configurations define the rules to identify which outbound domains/hosts needs to be whitelisted. It may be a static information for a particular connector version or it is derived from the configurations provided by the customer in Connection resource.", + "id": "EgressControlConfig", + "properties": { + "backends": { + "description": "Static Comma separated backends which are common for all Connection resources. Supported formats for each backend are host:port or just host (host can be ip address or domain name).", + "type": "string" + }, + "extractionRules": { + "$ref": "ExtractionRules", + "description": "Extractions Rules to extract the backends from customer provided configuration." + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "EncryptionConfig": { + "description": "Regional encryption config for CMEK details.", + "id": "EncryptionConfig", + "properties": { + "encryptionType": { + "description": "Optional. Encryption type for the region.", + "enum": [ + "ENCRYPTION_TYPE_UNSPECIFIED", + "GMEK", + "CMEK" + ], + "enumDescriptions": [ + "Encryption type unspecified.", + "Google managed encryption keys", + "Customer managed encryption keys." + ], + "type": "string" + }, + "kmsKeyName": { + "description": "Optional. KMS crypto key. This field accepts identifiers of the form `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/ {crypto_key}`", + "type": "string" + } + }, + "type": "object" + }, + "EncryptionKey": { + "description": "Encryption Key value.", + "id": "EncryptionKey", + "properties": { + "kmsKeyName": { + "description": "Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.", + "type": "string" + }, + "type": { + "description": "Type.", + "enum": [ + "TYPE_UNSPECIFIED", + "GOOGLE_MANAGED", + "CUSTOMER_MANAGED" + ], + "enumDescriptions": [ + "Value type is not specified.", + "Google Managed.", + "Customer Managed." + ], + "type": "string" + } + }, + "type": "object" + }, + "EndPoint": { + "description": "Endpoint message includes details of the Destination endpoint.", + "id": "EndPoint", + "properties": { + "endpointUri": { + "description": "Optional. The URI of the Endpoint.", + "type": "string" + }, + "headers": { + "description": "Optional. List of Header to be added to the Endpoint.", + "items": { + "$ref": "Header" + }, + "type": "array" + } + }, + "type": "object" + }, + "EndUserAuthentication": { + "description": "AuthConfig defines details of a authentication type.", + "id": "EndUserAuthentication", + "properties": { + "configVariables": { + "description": "Optional. Config variables for the EndUserAuthentication.", + "items": { + "$ref": "EndUserAuthenticationConfigVariable" + }, + "type": "array" + }, + "createTime": { + "description": "Output only. Created time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "destinationConfigs": { + "description": "Optional. Destination configs for the EndUserAuthentication.", + "items": { + "$ref": "DestinationConfig" + }, + "type": "array" + }, + "endUserAuthenticationConfig": { + "$ref": "EndUserAuthenticationConfig", + "description": "Optional. The EndUserAuthenticationConfig for the EndUserAuthentication." + }, + "labels": { + "description": "Optional. Labels for the EndUserAuthentication.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Required. Identifier. Resource name of the EndUserAuthentication. Format: projects/{project}/locations/{location}/connections/{connection}/endUserAuthentications/{end_user_authentication}", + "type": "string" + }, + "notifyEndpointDestination": { + "$ref": "EndUserAuthenticationNotifyEndpointDestination", + "description": "Optional. The destination to hit when we receive an event" + }, + "roles": { + "description": "Optional. Roles for the EndUserAuthentication.", + "items": { + "enum": [ + "ROLE_UNSPECIFIED", + "READER", + "READER_DOMAIN_WIDE_ACCESSIBLE" + ], + "enumDescriptions": [ + "Default state.", + "READER.", + "READER_DOMAIN_WIDE_ACCESSIBLE which has access to only public data." + ], + "type": "string" + }, + "type": "array" + }, + "status": { + "$ref": "EndUserAuthenticationEndUserAuthenticationStatus", + "description": "Optional. Status of the EndUserAuthentication." + }, + "updateTime": { + "description": "Output only. Updated time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "userId": { + "description": "Optional. The user id of the user.", + "type": "string" + } + }, + "type": "object" + }, + "EndUserAuthenticationConfig": { + "description": "EndUserAuthenticationConfig defines details of a authentication configuration for EUC", + "id": "EndUserAuthenticationConfig", + "properties": { + "additionalVariables": { + "description": "Optional. List containing additional auth configs.", + "items": { + "$ref": "EndUserAuthenticationConfigVariable" + }, + "type": "array" + }, + "authKey": { + "description": "Identifier key for auth config", + "type": "string" + }, + "authType": { + "description": "The type of authentication configured.", + "enum": [ + "AUTH_TYPE_UNSPECIFIED", + "USER_PASSWORD", + "OAUTH2_JWT_BEARER", + "OAUTH2_CLIENT_CREDENTIALS", + "SSH_PUBLIC_KEY", + "OAUTH2_AUTH_CODE_FLOW", + "GOOGLE_AUTHENTICATION", + "OAUTH2_AUTH_CODE_FLOW_GOOGLE_MANAGED" + ], + "enumDescriptions": [ + "Authentication type not specified.", + "Username and Password Authentication.", + "JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication", + "Oauth 2.0 Client Credentials Grant Authentication", + "SSH Public Key Authentication", + "Oauth 2.0 Authorization Code Flow", + "Google authentication", + "Oauth 2.0 Authorization Code Flow with Google Provided OAuth Client" + ], + "type": "string" + }, + "oauth2AuthCodeFlow": { + "$ref": "EndUserAuthenticationConfigOauth2AuthCodeFlow", + "description": "Oauth2AuthCodeFlow." + }, + "oauth2AuthCodeFlowGoogleManaged": { + "$ref": "EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged", + "description": "Oauth2AuthCodeFlowGoogleManaged." + }, + "oauth2ClientCredentials": { + "$ref": "EndUserAuthenticationConfigOauth2ClientCredentials", + "description": "Oauth2ClientCredentials." + }, + "oauth2JwtBearer": { + "$ref": "EndUserAuthenticationConfigOauth2JwtBearer", + "description": "Oauth2JwtBearer." + }, + "sshPublicKey": { + "$ref": "EndUserAuthenticationConfigSshPublicKey", + "description": "SSH Public Key." + }, + "userPassword": { + "$ref": "EndUserAuthenticationConfigUserPassword", + "description": "UserPassword." + } + }, + "type": "object" + }, + "EndUserAuthenticationConfigOauth2AuthCodeFlow": { + "description": "Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.", + "id": "EndUserAuthenticationConfigOauth2AuthCodeFlow", + "properties": { + "authCode": { + "description": "Optional. Authorization code to be exchanged for access and refresh tokens.", + "type": "string" + }, + "authUri": { + "description": "Optional. Auth URL for Authorization Code Flow", + "type": "string" + }, + "clientId": { + "description": "Optional. Client ID for user-provided OAuth app.", + "type": "string" + }, + "clientSecret": { + "$ref": "EUASecret", + "description": "Optional. Client secret for user-provided OAuth app." + }, + "enablePkce": { + "description": "Optional. Whether to enable PKCE when the user performs the auth code flow.", + "type": "boolean" + }, + "oauthTokenData": { + "$ref": "OAuthTokenData", + "description": "Optional. Auth Code Data" + }, + "pkceVerifier": { + "description": "Optional. PKCE verifier to be used during the auth code exchange.", + "type": "string" + }, + "redirectUri": { + "description": "Optional. Redirect URI to be provided during the auth code exchange.", + "type": "string" + }, + "scopes": { + "description": "Optional. Scopes the connection will request when the user performs the auth code flow.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged": { + "description": "Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1 for more details.", + "id": "EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged", + "properties": { + "authCode": { + "description": "Optional. Authorization code to be exchanged for access and refresh tokens.", + "type": "string" + }, + "oauthTokenData": { + "$ref": "OAuthTokenData", + "description": "Auth Code Data" + }, + "redirectUri": { + "description": "Optional. Redirect URI to be provided during the auth code exchange.", + "type": "string" + }, + "scopes": { + "description": "Required. Scopes the connection will request when the user performs the auth code flow.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "EndUserAuthenticationConfigOauth2ClientCredentials": { + "description": "Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.", + "id": "EndUserAuthenticationConfigOauth2ClientCredentials", + "properties": { + "clientId": { + "description": "The client identifier.", + "type": "string" + }, + "clientSecret": { + "$ref": "EUASecret", + "description": "Required. string value or secret version containing the client secret." + } + }, + "type": "object" + }, + "EndUserAuthenticationConfigOauth2JwtBearer": { + "description": "Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details.", + "id": "EndUserAuthenticationConfigOauth2JwtBearer", + "properties": { + "clientKey": { + "$ref": "EUASecret", + "description": "Required. secret version/value reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/strings/*/versions/*`." + }, + "jwtClaims": { + "$ref": "EndUserAuthenticationConfigOauth2JwtBearerJwtClaims", + "description": "JwtClaims providers fields to generate the token." + } + }, + "type": "object" + }, + "EndUserAuthenticationConfigOauth2JwtBearerJwtClaims": { + "description": "JWT claims used for the jwt-bearer authorization grant.", + "id": "EndUserAuthenticationConfigOauth2JwtBearerJwtClaims", "properties": { - "endDate": { - "$ref": "Date", - "description": "Deny period end date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be before the end." + "audience": { + "description": "Value for the \"aud\" claim.", + "type": "string" }, - "startDate": { - "$ref": "Date", - "description": "Deny period start date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be the same or after the start." + "issuer": { + "description": "Value for the \"iss\" claim.", + "type": "string" }, - "time": { - "$ref": "TimeOfDay", - "description": "Time in UTC when the Blackout period starts on start_date and ends on end_date. This can be: * Full time. * All zeros for 00:00:00 UTC" + "subject": { + "description": "Value for the \"sub\" claim.", + "type": "string" } }, "type": "object" }, - "DeprecateCustomConnectorVersionRequest": { - "description": "Request message for ConnectorsService.DeprecateCustomConnectorVersion", - "id": "DeprecateCustomConnectorVersionRequest", - "properties": {}, - "type": "object" - }, - "Destination": { - "id": "Destination", + "EndUserAuthenticationConfigSshPublicKey": { + "description": "Parameters to support Ssh public key Authentication.", + "id": "EndUserAuthenticationConfigSshPublicKey", "properties": { - "host": { - "description": "For publicly routable host.", + "certType": { + "description": "Format of SSH Client cert.", "type": "string" }, - "port": { - "description": "The port is the target port number that is accepted by the destination.", - "format": "int32", - "type": "integer" + "sshClientCert": { + "$ref": "EUASecret", + "description": "Required. SSH Client Cert. It should contain both public and private key." }, - "serviceAttachment": { - "deprecated": true, - "description": "PSC service attachments. Format: projects/*/regions/*/serviceAttachments/*", + "sshClientCertPass": { + "$ref": "EUASecret", + "description": "Required. Password (passphrase) for ssh client certificate if it has one." + }, + "username": { + "description": "The user account used to authenticate.", "type": "string" } }, "type": "object" }, - "DestinationConfig": { - "description": "Define the Connectors target endpoint.", - "id": "DestinationConfig", + "EndUserAuthenticationConfigUserPassword": { + "description": "Parameters to support Username and Password Authentication.", + "id": "EndUserAuthenticationConfigUserPassword", "properties": { - "destinations": { - "description": "The destinations for the key.", - "items": { - "$ref": "Destination" - }, - "type": "array" + "password": { + "$ref": "EUASecret", + "description": "Required. string value or secret version reference containing the password." }, - "key": { - "description": "The key is the destination identifier that is supported by the Connector.", + "username": { + "description": "Username.", "type": "string" } }, "type": "object" }, - "DestinationConfigTemplate": { - "description": "DestinationConfigTemplate defines required destinations supported by the Connector.", - "id": "DestinationConfigTemplate", + "EndUserAuthenticationConfigVariable": { + "description": "EndUserAuthenticationConfigVariable represents a configuration variable present in a EndUserAuthentication.", + "id": "EndUserAuthenticationConfigVariable", "properties": { - "autocompleteSuggestions": { - "description": "Autocomplete suggestions for destination URL field.", - "items": { - "type": "string" - }, - "type": "array" - }, - "defaultPort": { - "description": "The default port.", - "format": "int32", - "type": "integer" - }, - "description": { - "description": "Description.", - "type": "string" + "boolValue": { + "description": "Value is a bool.", + "type": "boolean" }, - "displayName": { - "description": "Display name of the parameter.", + "intValue": { + "description": "Value is an integer", + "format": "int64", "type": "string" }, - "isAdvanced": { - "description": "Whether the current destination tempalate is part of Advanced settings", - "type": "boolean" - }, "key": { - "description": "Key of the destination.", + "description": "Required. Key of the config variable.", "type": "string" }, - "max": { - "description": "The maximum number of destinations supported for this key.", - "format": "int32", - "type": "integer" - }, - "min": { - "description": "The minimum number of destinations supported for this key.", - "format": "int32", - "type": "integer" - }, - "portFieldType": { - "description": "Whether port number should be provided by customers.", - "enum": [ - "FIELD_TYPE_UNSPECIFIED", - "REQUIRED", - "OPTIONAL", - "NOT_USED" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" + "secretValue": { + "$ref": "EUASecret", + "description": "Value is a secret" }, - "regexPattern": { - "description": "Regex pattern for host.", + "stringValue": { + "description": "Value is a string.", "type": "string" } }, "type": "object" }, - "EgressControlConfig": { - "description": "Egress control config for connector runtime. These configurations define the rules to identify which outbound domains/hosts needs to be whitelisted. It may be a static information for a particular connector version or it is derived from the configurations provided by the customer in Connection resource.", - "id": "EgressControlConfig", + "EndUserAuthenticationEndUserAuthenticationStatus": { + "description": "EndUserAuthentication Status denotes the status of the EndUserAuthentication resource.", + "id": "EndUserAuthenticationEndUserAuthenticationStatus", "properties": { - "backends": { - "description": "Static Comma separated backends which are common for all Connection resources. Supported formats for each backend are host:port or just host (host can be ip address or domain name).", + "description": { + "description": "Output only. Description of the state.", + "readOnly": true, "type": "string" }, - "extractionRules": { - "$ref": "ExtractionRules", - "description": "Extractions Rules to extract the backends from customer provided configuration." - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "EncryptionConfig": { - "description": "Regional encryption config for CMEK details.", - "id": "EncryptionConfig", - "properties": { - "encryptionType": { - "description": "Optional. Encryption type for the region.", + "state": { + "description": "Output only. State of Event Subscription resource.", "enum": [ - "ENCRYPTION_TYPE_UNSPECIFIED", - "GMEK", - "CMEK" + "STATE_UNSPECIFIED", + "ACTIVE", + "ERROR" ], "enumDescriptions": [ - "Encryption type unspecified.", - "Google managed encryption keys", - "Customer managed encryption keys." + "Default state.", + "EndUserAuthentication is in Active state.", + "EndUserAuthentication is in Error state." ], - "type": "string" - }, - "kmsKeyName": { - "description": "Optional. KMS crypto key. This field accepts identifiers of the form `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/ {crypto_key}`", + "readOnly": true, "type": "string" } }, "type": "object" }, - "EncryptionKey": { - "description": "Encryption Key value.", - "id": "EncryptionKey", + "EndUserAuthenticationNotifyEndpointDestination": { + "description": "Message for NotifyEndpointDestination Destination to hit when the refresh token is expired.", + "id": "EndUserAuthenticationNotifyEndpointDestination", "properties": { - "kmsKeyName": { - "description": "The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.", + "endpoint": { + "$ref": "EndUserAuthenticationNotifyEndpointDestinationEndPoint", + "description": "Optional. OPTION 1: Hit an endpoint when the refresh token is expired." + }, + "serviceAccount": { + "description": "Required. Service account needed for runtime plane to notify the backend.", "type": "string" }, "type": { - "description": "Type.", + "description": "Required. type of the destination", "enum": [ "TYPE_UNSPECIFIED", - "GOOGLE_MANAGED", - "CUSTOMER_MANAGED" + "ENDPOINT" ], "enumDescriptions": [ - "Value type is not specified.", - "Google Managed.", - "Customer Managed." + "Default state.", + "Endpoint - Hit the value of endpoint when event is received" ], "type": "string" } }, "type": "object" }, - "EndPoint": { + "EndUserAuthenticationNotifyEndpointDestinationEndPoint": { "description": "Endpoint message includes details of the Destination endpoint.", - "id": "EndPoint", + "id": "EndUserAuthenticationNotifyEndpointDestinationEndPoint", "properties": { "endpointUri": { - "description": "The URI of the Endpoint.", + "description": "Required. The URI of the Endpoint.", "type": "string" }, "headers": { - "description": "List of Header to be added to the Endpoint.", + "description": "Optional. List of Header to be added to the Endpoint.", "items": { - "$ref": "Header" + "$ref": "EndUserAuthenticationNotifyEndpointDestinationEndPointHeader" }, "type": "array" } }, "type": "object" }, + "EndUserAuthenticationNotifyEndpointDestinationEndPointHeader": { + "description": "Header details for a given header to be added to Endpoint.", + "id": "EndUserAuthenticationNotifyEndpointDestinationEndPointHeader", + "properties": { + "key": { + "description": "Required. Key of Header.", + "type": "string" + }, + "value": { + "description": "Required. Value of Header.", + "type": "string" + } + }, + "type": "object" + }, "EndpointAttachment": { "description": "represents the Connector's Endpoint Attachment resource", "id": "EndpointAttachment", @@ -4519,7 +5192,7 @@ "description": "Optional. JMS is the source for the event listener." }, "name": { - "description": "Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}", + "description": "Required. Identifier. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}", "type": "string" }, "status": { @@ -4563,11 +5236,11 @@ "description": "OPTION 3: Write the event to Pub/Sub topic." }, "serviceAccount": { - "description": "Service account needed for runtime plane to trigger IP workflow.", + "description": "Optional. Service account needed for runtime plane to trigger IP workflow.", "type": "string" }, "type": { - "description": "type of the destination", + "description": "Optional. type of the destination", "enum": [ "TYPE_UNSPECIFIED", "ENDPOINT", @@ -5259,11 +5932,11 @@ "id": "Header", "properties": { "key": { - "description": "Key of Header.", + "description": "Optional. Key of Header.", "type": "string" }, "value": { - "description": "Value of Header.", + "description": "Optional. Value of Header.", "type": "string" } }, @@ -5820,15 +6493,15 @@ "id": "JwtClaims", "properties": { "audience": { - "description": "Value for the \"aud\" claim.", + "description": "Optional. Value for the \"aud\" claim.", "type": "string" }, "issuer": { - "description": "Value for the \"iss\" claim.", + "description": "Optional. Value for the \"iss\" claim.", "type": "string" }, "subject": { - "description": "Value for the \"sub\" claim.", + "description": "Optional. Value for the \"sub\" claim.", "type": "string" } }, @@ -5977,6 +6650,31 @@ }, "type": "object" }, + "ListEndUserAuthenticationsResponse": { + "description": "Response message for ConnectorsService.ListEndUserAuthentications", + "id": "ListEndUserAuthenticationsResponse", + "properties": { + "endUserAuthentications": { + "description": "Subscriptions.", + "items": { + "$ref": "EndUserAuthentication" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Next page token.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ListEndpointAttachmentsResponse": { "description": "Response message for ConnectorsService.ListEndpointAttachments", "id": "ListEndpointAttachmentsResponse", @@ -6245,11 +6943,11 @@ "id": "LockConfig", "properties": { "locked": { - "description": "Indicates whether or not the connection is locked.", + "description": "Optional. Indicates whether or not the connection is locked.", "type": "boolean" }, "reason": { - "description": "Describes why a connection is locked.", + "description": "Optional. Describes why a connection is locked.", "type": "string" } }, @@ -6557,12 +7255,12 @@ "id": "NodeConfig", "properties": { "maxNodeCount": { - "description": "Maximum number of nodes in the runtime nodes.", + "description": "Optional. Maximum number of nodes in the runtime nodes.", "format": "int32", "type": "integer" }, "minNodeCount": { - "description": "Minimum number of nodes in the runtime nodes.", + "description": "Optional. Minimum number of nodes in the runtime nodes.", "format": "int32", "type": "integer" } @@ -6602,40 +7300,65 @@ }, "type": "object" }, + "OAuthTokenData": { + "description": "pass only at create and not update using updateMask Auth Code Data", + "id": "OAuthTokenData", + "properties": { + "accessToken": { + "$ref": "EUASecret", + "description": "Optional. Access token for the connection." + }, + "createTime": { + "description": "Optional. Timestamp when the access token was created.", + "format": "google-datetime", + "type": "string" + }, + "expiry": { + "description": "Optional. Time in seconds when the access token expires.", + "format": "google-duration", + "type": "string" + }, + "refreshToken": { + "$ref": "EUASecret", + "description": "Optional. Refresh token for the connection." + } + }, + "type": "object" + }, "Oauth2AuthCodeFlow": { "description": "Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.", "id": "Oauth2AuthCodeFlow", "properties": { "authCode": { - "description": "Authorization code to be exchanged for access and refresh tokens.", + "description": "Optional. Authorization code to be exchanged for access and refresh tokens.", "type": "string" }, "authUri": { - "description": "Auth URL for Authorization Code Flow", + "description": "Optional. Auth URL for Authorization Code Flow", "type": "string" }, "clientId": { - "description": "Client ID for user-provided OAuth app.", + "description": "Optional. Client ID for user-provided OAuth app.", "type": "string" }, "clientSecret": { "$ref": "Secret", - "description": "Client secret for user-provided OAuth app." + "description": "Optional. Client secret for user-provided OAuth app." }, "enablePkce": { - "description": "Whether to enable PKCE when the user performs the auth code flow.", + "description": "Optional. Whether to enable PKCE when the user performs the auth code flow.", "type": "boolean" }, "pkceVerifier": { - "description": "PKCE verifier to be used during the auth code exchange.", + "description": "Optional. PKCE verifier to be used during the auth code exchange.", "type": "string" }, "redirectUri": { - "description": "Redirect URI to be provided during the auth code exchange.", + "description": "Optional. Redirect URI to be provided during the auth code exchange.", "type": "string" }, "scopes": { - "description": "Scopes the connection will request when the user performs the auth code flow.", + "description": "Optional. Scopes the connection will request when the user performs the auth code flow.", "items": { "type": "string" }, @@ -6671,12 +7394,12 @@ "id": "Oauth2ClientCredentials", "properties": { "clientId": { - "description": "The client identifier.", + "description": "Optional. The client identifier.", "type": "string" }, "clientSecret": { "$ref": "Secret", - "description": "Secret version reference containing the client secret." + "description": "Optional. Secret version reference containing the client secret." } }, "type": "object" @@ -6687,11 +7410,11 @@ "properties": { "clientKey": { "$ref": "Secret", - "description": "Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`." + "description": "Optional. Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`." }, "jwtClaims": { "$ref": "JwtClaims", - "description": "JwtClaims providers fields to generate the token." + "description": "Optional. JwtClaims providers fields to generate the token." } }, "type": "object" @@ -6899,6 +7622,30 @@ }, "type": "object" }, + "PriorityEntityType": { + "description": "PriorityEntityType represents an entity type with its associated priority and order.", + "id": "PriorityEntityType", + "properties": { + "description": { + "description": "The description of the entity type.", + "type": "string" + }, + "id": { + "description": "The entity type.", + "type": "string" + }, + "order": { + "description": "The order of the entity type within its priority group.", + "format": "int32", + "type": "integer" + }, + "priority": { + "description": "The priority of the entity type, such as P0, P1, etc.", + "type": "string" + } + }, + "type": "object" + }, "Provider": { "description": "Provider indicates the owner who provides the connectors.", "id": "Provider", @@ -7681,7 +8428,7 @@ "id": "Secret", "properties": { "secretVersion": { - "description": "The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.", + "description": "Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.", "type": "string" } }, @@ -7794,19 +8541,19 @@ "id": "SshPublicKey", "properties": { "certType": { - "description": "Format of SSH Client cert.", + "description": "Optional. Format of SSH Client cert.", "type": "string" }, "sshClientCert": { "$ref": "Secret", - "description": "SSH Client Cert. It should contain both public and private key." + "description": "Optional. SSH Client Cert. It should contain both public and private key." }, "sshClientCertPass": { "$ref": "Secret", - "description": "Password (passphrase) for ssh client certificate if it has one." + "description": "Optional. Password (passphrase) for ssh client certificate if it has one." }, "username": { - "description": "The user account used to authenticate.", + "description": "Optional. The user account used to authenticate.", "type": "string" } }, @@ -8148,10 +8895,10 @@ "properties": { "password": { "$ref": "Secret", - "description": "Secret version reference containing the password." + "description": "Optional. Secret version reference containing the password." }, "username": { - "description": "Username.", + "description": "Optional. Username.", "type": "string" } }, diff --git a/discovery/connectors-v2.json b/discovery/connectors-v2.json index 39c7f12f9b7..cafb366726f 100644 --- a/discovery/connectors-v2.json +++ b/discovery/connectors-v2.json @@ -690,7 +690,7 @@ } } }, - "revision": "20250423", + "revision": "20250507", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AccessCredentials": { @@ -769,6 +769,13 @@ "redirectUri": { "description": "OAuth redirect URI passed in during the auth code flow, required by some OAuth backends.", "type": "string" + }, + "scopes": { + "description": "Scopes the connection will request when the user performs the auth code flow.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" diff --git a/discovery/contactcenterinsights-v1.json b/discovery/contactcenterinsights-v1.json index df38bc80bea..cdae9fc2f08 100644 --- a/discovery/contactcenterinsights-v1.json +++ b/discovery/contactcenterinsights-v1.json @@ -501,9 +501,342 @@ } }, "authorizedViewSets": { + "methods": { + "create": { + "description": "Create AuthorizedViewSet", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "authorizedViewSetId": { + "description": "Optional. A unique ID for the new AuthorizedViewSet. This ID will become the final component of the AuthorizedViewSet's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the AuthorizedViewSet.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/authorizedViewSets", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes an AuthorizedViewSet.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}", + "httpMethod": "DELETE", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "Optional. If set to true, all of this AuthorizedViewSet's child resources will also be deleted. Otherwise, the request will only succeed if it has none.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the AuthorizedViewSet to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get AuthorizedViewSet", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the AuthorizedViewSet to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List AuthorizedViewSets", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The filter expression to filter authorized view sets listed in the response.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. The order by expression to order authorized view sets listed in the response.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of view sets to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The value returned by the last `ListAuthorizedViewSetsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViewSets` call and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the AuthorizedViewSets.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/authorizedViewSets", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates an AuthorizedViewSet.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}", + "httpMethod": "PATCH", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `display_name`", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "authorizedViews": { "methods": { + "create": { + "description": "Create AuthorizedView", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "authorizedViewId": { + "description": "Optional. A unique ID for the new AuthorizedView. This ID will become the final component of the AuthorizedView's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the AuthorizedView.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/authorizedViews", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes an AuthorizedView.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}", + "httpMethod": "DELETE", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the AuthorizedView to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get AuthorizedView", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the AuthorizedView to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List AuthorizedViewSets", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The filter expression to filter authorized views listed in the response.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. The order by expression to order authorized views listed in the response.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of view to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The value returned by the last `ListAuthorizedViewsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViews` call and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/authorizedViews", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates an AuthorizedView.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}", + "httpMethod": "PATCH", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `conversation_filter` * `display_name`", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "queryMetrics": { "description": "Query metrics.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:queryMetrics", @@ -516,17 +849,63 @@ "location": { "description": "Required. The location of the data. \"projects/{project}/locations/{location}\"", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+location}:queryMetrics", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "search": { + "description": "SearchAuthorizedViewSets", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews:search", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.search", + "parameterOrder": [ + "parent" + ], + "parameters": { + "orderBy": { + "description": "Optional. The order by expression to order authorized views listed in the response.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of view to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The value returned by the last `ListAuthorizedViewsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViews` call and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$", "required": true, "type": "string" + }, + "query": { + "description": "Optional. The query expression to search authorized views.", + "location": "query", + "type": "string" } }, - "path": "v1/{+location}:queryMetrics", - "request": { - "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsRequest" - }, + "path": "v1/{+parent}/authorizedViews:search", "response": { - "$ref": "GoogleLongrunningOperation" + "$ref": "GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" @@ -1745,9 +2124,220 @@ } }, "datasets": { + "methods": { + "bulkDeleteFeedbackLabels": { + "description": "Delete feedback labels in bulk using a filter.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:bulkDeleteFeedbackLabels", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.datasets.bulkDeleteFeedbackLabels", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource for new feedback labels.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}:bulkDeleteFeedbackLabels", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "bulkDownloadFeedbackLabels": { + "description": "Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:bulkDownloadFeedbackLabels", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.datasets.bulkDownloadFeedbackLabels", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource for new feedback labels.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}:bulkDownloadFeedbackLabels", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "bulkUploadFeedbackLabels": { + "description": "Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:bulkUploadFeedbackLabels", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.datasets.bulkUploadFeedbackLabels", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource for new feedback labels.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}:bulkUploadFeedbackLabels", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "listAllFeedbackLabels": { + "description": "List all feedback labels by project number.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:listAllFeedbackLabels", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.datasets.listAllFeedbackLabels", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter to reduce results to a specific subset in the entire project. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The value returned by the last `ListAllFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListAllFeedbackLabels` call and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of all feedback labels per project.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}:listAllFeedbackLabels", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "conversations": { "methods": { + "bulkAnalyze": { + "description": "Analyzes multiple conversations in a single request.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:bulkAnalyze", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.datasets.conversations.bulkAnalyze", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource to create analyses in.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/conversations:bulkAnalyze", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "bulkDelete": { + "description": "Deletes multiple conversations in a single request.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:bulkDelete", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.datasets.conversations.bulkDelete", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/conversations:bulkDelete", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "calculateStats": { + "description": "Gets conversation statistics.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:calculateStats", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.datasets.conversations.calculateStats", + "parameterOrder": [ + "location" + ], + "parameters": { + "location": { + "description": "Required. The location of the conversations.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+location}/conversations:calculateStats", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsRequest" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "delete": { "description": "Deletes a conversation.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}", @@ -1860,52 +2450,339 @@ "location": "query", "type": "string" }, - "orderBy": { - "description": "Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).", - "location": "query", - "type": "string" + "orderBy": { + "description": "Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the conversation.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "The level of details of the conversation. Default is `BASIC`.", + "enum": [ + "CONVERSATION_VIEW_UNSPECIFIED", + "FULL", + "BASIC" + ], + "enumDescriptions": [ + "The conversation view is not specified. * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in `ListConversationsRequest`.", + "Populates all fields in the conversation.", + "Populates all fields in the conversation except the transcript." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/conversations", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListConversationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "analyses": { + "methods": { + "create": { + "description": "Creates an analysis. The long running operation is done when the analysis has completed.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/analyses", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.datasets.conversations.analyses.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the analysis.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/analyses", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1Analysis" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes an analysis.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/analyses/{analysesId}", + "httpMethod": "DELETE", + "id": "contactcenterinsights.projects.locations.datasets.conversations.analyses.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the analysis to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+/analyses/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets an analysis.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/analyses/{analysesId}", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.datasets.conversations.analyses.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the analysis to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+/analyses/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1Analysis" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] }, - "pageSize": { - "description": "The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.", - "format": "int32", - "location": "query", - "type": "integer" + "list": { + "description": "Lists analyses.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/analyses", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.datasets.conversations.analyses.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the analyses.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/analyses", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListAnalysesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "feedbackLabels": { + "methods": { + "create": { + "description": "Create feedback label.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "feedbackLabelId": { + "description": "Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the feedback label.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/feedbackLabels", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] }, - "pageToken": { - "description": "The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.", - "location": "query", - "type": "string" + "delete": { + "description": "Delete feedback label.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}", + "httpMethod": "DELETE", + "id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the feedback label to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] }, - "parent": { - "description": "Required. The parent resource of the conversation.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", - "required": true, - "type": "string" + "get": { + "description": "Get feedback label.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the feedback label to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] }, - "view": { - "description": "The level of details of the conversation. Default is `BASIC`.", - "enum": [ - "CONVERSATION_VIEW_UNSPECIFIED", - "FULL", - "BASIC" + "list": { + "description": "List feedback labels.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.list", + "parameterOrder": [ + "parent" ], - "enumDescriptions": [ - "The conversation view is not specified. * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in `ListConversationsRequest`.", - "Populates all fields in the conversation.", - "Populates all fields in the conversation except the transcript." + "parameters": { + "filter": { + "description": "Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the feedback labels.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/feedbackLabels", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update feedback label.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}", + "httpMethod": "PATCH", + "id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.patch", + "parameterOrder": [ + "name" ], - "location": "query", - "type": "string" + "parameters": { + "name": { + "description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel" + }, + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } - }, - "path": "v1/{+parent}/conversations", - "response": { - "$ref": "GoogleCloudContactcenterinsightsV1ListConversationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } } } }, @@ -3377,7 +4254,7 @@ } } }, - "revision": "20250428", + "revision": "20250512", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -3720,12 +4597,70 @@ "description": "The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}", "type": "string" }, - "title": { - "description": "Article title.", + "title": { + "description": "Article title.", + "type": "string" + }, + "uri": { + "description": "Article URI.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1AuthorizedView": { + "description": "An AuthorizedView represents a view of accessible Insights resources (for example, Conversation and Scorecard). Who have read access to the AuthorizedView resource will have access to these Insight resources as well.", + "id": "GoogleCloudContactcenterinsightsV1AuthorizedView", + "properties": { + "conversationFilter": { + "description": "A filter to reduce conversation results to a specific subset. The AuthorizedView's assigned permission (read/write) could be applied to the subset of conversations. If conversation_filter is empty, there is no restriction on the conversations that the AuthorizedView can access. Having *authorizedViews.get* access to the AuthorizedView means having the same read/write access to the Conversations (as well as metadata/annotations liked to the conversation) that this AuthorizedView has.", + "type": "string" + }, + "createTime": { + "description": "Output only. The time at which the authorized view was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Display Name. Limit 64 characters.", + "type": "string" + }, + "name": { + "description": "Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}", + "type": "string" + }, + "updateTime": { + "description": "Output only. The most recent time at which the authorized view was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1AuthorizedViewSet": { + "description": "An AuthorizedViewSet contains a set of AuthorizedView resources.", + "id": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet", + "properties": { + "createTime": { + "description": "Output only. Create time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Display Name. Limit 64 characters.", + "type": "string" + }, + "name": { + "description": "Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}", "type": "string" }, - "uri": { - "description": "Article URI.", + "updateTime": { + "description": "Output only. Update time.", + "format": "google-datetime", + "readOnly": true, "type": "string" } }, @@ -4160,6 +5095,17 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1CalculateStatsRequest": { + "description": "The request for calculating conversation statistics.", + "id": "GoogleCloudContactcenterinsightsV1CalculateStatsRequest", + "properties": { + "filter": { + "description": "A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1CalculateStatsResponse": { "description": "The response for calculating conversation statistics.", "id": "GoogleCloudContactcenterinsightsV1CalculateStatsResponse", @@ -4867,6 +5813,56 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1Dataset": { + "description": "Dataset resource represents a collection of conversations that may be bounded (Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic)", + "id": "GoogleCloudContactcenterinsightsV1Dataset", + "properties": { + "createTime": { + "description": "Output only. Dataset create time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Dataset description.", + "type": "string" + }, + "displayName": { + "description": "Display name for the dataaset", + "type": "string" + }, + "name": { + "description": "Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}", + "type": "string" + }, + "ttl": { + "description": "Optional. Option TTL for the dataset.", + "format": "google-duration", + "type": "string" + }, + "type": { + "description": "Dataset usage type.", + "enum": [ + "TYPE_UNSPECIFIED", + "EVAL", + "LIVE" + ], + "enumDescriptions": [ + "Default value for unspecified.", + "For evals only.", + "Dataset with new conversations coming in regularly (Insights legacy conversations and AI trainer)" + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. Dataset update time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata": { "description": "Metadata for deleting an issue model.", "id": "GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata", @@ -6140,6 +7136,42 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse": { + "description": "The response from a ListAuthorizedViewSet request.", + "id": "GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse", + "properties": { + "authorizedViewSets": { + "description": "The AuthorizedViewSets under the parent.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse": { + "description": "The response from a ListAuthorizedViews request.", + "id": "GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse", + "properties": { + "authorizedViews": { + "description": "The AuthorizedViews under the parent.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1ListConversationsResponse": { "description": "The response of listing conversations.", "id": "GoogleCloudContactcenterinsightsV1ListConversationsResponse", @@ -6603,7 +7635,7 @@ "type": "string" }, "tags": { - "description": "User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.", + "description": "Questions are tagged for categorization and scoring. Tags can either be: - Default Tags: These are predefined categories. They are identified by their string value (e.g., \"BUSINESS\", \"COMPLIANCE\", and \"CUSTOMER\"). - Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.", "items": { "type": "string" }, @@ -7248,6 +8280,130 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1SampleConversationsMetadata": { + "description": "The metadata for an SampleConversations operation.", + "id": "GoogleCloudContactcenterinsightsV1SampleConversationsMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "partialErrors": { + "description": "Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "readOnly": true, + "type": "array" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1SampleConversationsRequest", + "description": "Output only. The original request for sample conversations to dataset.", + "readOnly": true + }, + "sampleConversationsStats": { + "$ref": "GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats", + "description": "Output only. Statistics for SampleConversations operation.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats": { + "description": "Statistics for SampleConversations operation.", + "id": "GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats", + "properties": { + "failedSampleCount": { + "description": "Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "successfulSampleCount": { + "description": "Output only. The number of new conversations added during this sample operation.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1SampleConversationsRequest": { + "description": "The request to sample conversations to a dataset.", + "id": "GoogleCloudContactcenterinsightsV1SampleConversationsRequest", + "properties": { + "destinationDataset": { + "$ref": "GoogleCloudContactcenterinsightsV1Dataset", + "description": "The dataset resource to copy the sampled conversations to." + }, + "parent": { + "description": "Required. The parent resource of the dataset.", + "type": "string" + }, + "sampleRule": { + "$ref": "GoogleCloudContactcenterinsightsV1SampleRule", + "description": "Optional. The sample rule used for sampling conversations." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1SampleConversationsResponse": { + "description": "The response to an SampleConversations operation.", + "id": "GoogleCloudContactcenterinsightsV1SampleConversationsResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1SampleRule": { + "description": "Message for sampling conversations.", + "id": "GoogleCloudContactcenterinsightsV1SampleRule", + "properties": { + "conversationFilter": { + "description": "To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.", + "type": "string" + }, + "dimension": { + "description": "Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.", + "type": "string" + }, + "samplePercentage": { + "description": "Percentage of conversations that we should sample based on the dimension between [0, 100].", + "format": "double", + "type": "number" + }, + "sampleRow": { + "description": "Number of the conversations that we should sample based on the dimension.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse": { + "description": "The response from a ListAuthorizedViews request.", + "id": "GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse", + "properties": { + "authorizedViews": { + "description": "The AuthorizedViews under the parent.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1SentimentData": { "description": "The data for a sentiment annotation.", "id": "GoogleCloudContactcenterinsightsV1SentimentData", @@ -8664,6 +9820,56 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1alpha1Dataset": { + "description": "Dataset resource represents a collection of conversations that may be bounded (Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic)", + "id": "GoogleCloudContactcenterinsightsV1alpha1Dataset", + "properties": { + "createTime": { + "description": "Output only. Dataset create time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Dataset description.", + "type": "string" + }, + "displayName": { + "description": "Display name for the dataaset", + "type": "string" + }, + "name": { + "description": "Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}", + "type": "string" + }, + "ttl": { + "description": "Optional. Option TTL for the dataset.", + "format": "google-duration", + "type": "string" + }, + "type": { + "description": "Dataset usage type.", + "enum": [ + "TYPE_UNSPECIFIED", + "EVAL", + "LIVE" + ], + "enumDescriptions": [ + "Default value for unspecified.", + "For evals only.", + "Dataset with new conversations coming in regularly (Insights legacy conversations and AI trainer)" + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. Dataset update time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata": { "description": "Metadata for deleting an issue model.", "id": "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata", @@ -10440,6 +11646,112 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata": { + "description": "The metadata for an SampleConversations operation.", + "id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "partialErrors": { + "description": "Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "readOnly": true, + "type": "array" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest", + "description": "Output only. The original request for sample conversations to dataset.", + "readOnly": true + }, + "sampleConversationsStats": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats", + "description": "Output only. Statistics for SampleConversations operation.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats": { + "description": "Statistics for SampleConversations operation.", + "id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats", + "properties": { + "failedSampleCount": { + "description": "Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "successfulSampleCount": { + "description": "Output only. The number of new conversations added during this sample operation.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest": { + "description": "The request to sample conversations to a dataset.", + "id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest", + "properties": { + "destinationDataset": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dataset", + "description": "The dataset resource to copy the sampled conversations to." + }, + "parent": { + "description": "Required. The parent resource of the dataset.", + "type": "string" + }, + "sampleRule": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleRule", + "description": "Optional. The sample rule used for sampling conversations." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse": { + "description": "The response to an SampleConversations operation.", + "id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1SampleRule": { + "description": "Message for sampling conversations.", + "id": "GoogleCloudContactcenterinsightsV1alpha1SampleRule", + "properties": { + "conversationFilter": { + "description": "To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.", + "type": "string" + }, + "dimension": { + "description": "Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.", + "type": "string" + }, + "samplePercentage": { + "description": "Percentage of conversations that we should sample based on the dimension between [0, 100].", + "format": "double", + "type": "number" + }, + "sampleRow": { + "description": "Number of the conversations that we should sample based on the dimension.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1alpha1SentimentData": { "description": "The data for a sentiment annotation.", "id": "GoogleCloudContactcenterinsightsV1alpha1SentimentData", diff --git a/discovery/container-v1.json b/discovery/container-v1.json index dece0ac20e8..7ceb699dd38 100644 --- a/discovery/container-v1.json +++ b/discovery/container-v1.json @@ -2660,7 +2660,7 @@ } } }, - "revision": "20250408", + "revision": "20250429", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -5501,6 +5501,17 @@ }, "type": "object" }, + "MemoryManager": { + "description": "The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/).", + "id": "MemoryManager", + "properties": { + "policy": { + "description": "Controls the memory management policy on the Node. See https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following values are allowed. * \"none\" * \"static\" The default value is 'none' if unspecified.", + "type": "string" + } + }, + "type": "object" + }, "MeshCertificates": { "description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.", "id": "MeshCertificates", @@ -6123,10 +6134,18 @@ "description": "Enable or disable Kubelet read only port.", "type": "boolean" }, + "memoryManager": { + "$ref": "MemoryManager", + "description": "Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/" + }, "podPidsLimit": { "description": "Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.", "format": "int64", "type": "string" + }, + "topologyManager": { + "$ref": "TopologyManager", + "description": "Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/" } }, "type": "object" @@ -8125,6 +8144,21 @@ }, "type": "object" }, + "TopologyManager": { + "description": "TopologyManager defines the configuration options for Topology Manager feature. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/", + "id": "TopologyManager", + "properties": { + "policy": { + "description": "Configures the strategy for resource alignment. Allowed values are: * none: the default policy, and does not perform any topology alignment. * restricted: the topology manager stores the preferred NUMA node affinity for the container, and will reject the pod if the affinity if not preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the container. If the affinity is not preferred, the topology manager will admit the pod to the node anyway. * single-numa-node: the topology manager determines if the single NUMA node affinity is possible. If it is, Topology Manager will store this and the Hint Providers can then use this information when making the resource allocation decision. If, however, this is not possible then the Topology Manager will reject the pod from the node. This will result in a pod in a Terminated state with a pod admission failure. The default policy value is 'none' if unspecified. Details about each strategy can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies).", + "type": "string" + }, + "scope": { + "description": "The Topology Manager aligns resources in following scopes: * container * pod The default scope is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes", + "type": "string" + } + }, + "type": "object" + }, "UpdateClusterRequest": { "description": "UpdateClusterRequest updates the settings of a cluster.", "id": "UpdateClusterRequest", diff --git a/discovery/container-v1beta1.json b/discovery/container-v1beta1.json index 34ef5079b57..f67024727fc 100644 --- a/discovery/container-v1beta1.json +++ b/discovery/container-v1beta1.json @@ -2685,7 +2685,7 @@ } } }, - "revision": "20250408", + "revision": "20250429", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -5861,6 +5861,17 @@ }, "type": "object" }, + "MemoryManager": { + "description": "The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/).", + "id": "MemoryManager", + "properties": { + "policy": { + "description": "Controls the memory management policy on the Node. See https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following values are allowed. * \"none\" * \"static\" The default value is 'none' if unspecified.", + "type": "string" + } + }, + "type": "object" + }, "MeshCertificates": { "description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.", "id": "MeshCertificates", @@ -6527,10 +6538,18 @@ "description": "Enable or disable Kubelet read only port.", "type": "boolean" }, + "memoryManager": { + "$ref": "MemoryManager", + "description": "Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/" + }, "podPidsLimit": { "description": "Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.", "format": "int64", "type": "string" + }, + "topologyManager": { + "$ref": "TopologyManager", + "description": "Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/" } }, "type": "object" @@ -8638,6 +8657,21 @@ }, "type": "object" }, + "TopologyManager": { + "description": "TopologyManager defines the configuration options for Topology Manager feature. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/", + "id": "TopologyManager", + "properties": { + "policy": { + "description": "Configures the strategy for resource alignment. Allowed values are: * none: the default policy, and does not perform any topology alignment. * restricted: the topology manager stores the preferred NUMA node affinity for the container, and will reject the pod if the affinity if not preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the container. If the affinity is not preferred, the topology manager will admit the pod to the node anyway. * single-numa-node: the topology manager determines if the single NUMA node affinity is possible. If it is, Topology Manager will store this and the Hint Providers can then use this information when making the resource allocation decision. If, however, this is not possible then the Topology Manager will reject the pod from the node. This will result in a pod in a Terminated state with a pod admission failure. The default policy value is 'none' if unspecified. Details about each strategy can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies).", + "type": "string" + }, + "scope": { + "description": "The Topology Manager aligns resources in following scopes: * container * pod The default scope is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes", + "type": "string" + } + }, + "type": "object" + }, "TpuConfig": { "deprecated": true, "description": "Configuration for Cloud TPU. This message is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.", diff --git a/discovery/content-v2.json b/discovery/content-v2.json deleted file mode 100644 index e83cf7ac768..00000000000 --- a/discovery/content-v2.json +++ /dev/null @@ -1,10116 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/content": { - "description": "Manage your product listings and accounts for Google Shopping" - } - } - } - }, - "basePath": "/content/v2/", - "baseUrl": "https://shoppingcontent.googleapis.com/content/v2/", - "batchPath": "batch", - "canonicalName": "Shopping Content", - "description": "Manage your product listings and accounts for Google Shopping", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/shopping-content/v2/", - "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": "content:v2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://shoppingcontent.mtls.googleapis.com/", - "name": "content", - "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": { - "accounts": { - "methods": { - "authinfo": { - "description": "Returns information about the authenticated user.", - "flatPath": "accounts/authinfo", - "httpMethod": "GET", - "id": "content.accounts.authinfo", - "parameterOrder": [], - "parameters": {}, - "path": "accounts/authinfo", - "response": { - "$ref": "AccountsAuthInfoResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "claimwebsite": { - "description": "Claims the website of a Merchant Center sub-account.", - "flatPath": "{merchantId}/accounts/{accountId}/claimwebsite", - "httpMethod": "POST", - "id": "content.accounts.claimwebsite", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account whose website is claimed.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "overwrite": { - "description": "Only available to selected merchants. When set to `True`, this flag removes any existing claim on the requested website by another account and replaces it with a claim from this account.", - "location": "query", - "type": "boolean" - } - }, - "path": "{merchantId}/accounts/{accountId}/claimwebsite", - "response": { - "$ref": "AccountsClaimWebsiteResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "custombatch": { - "description": "Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.", - "flatPath": "accounts/batch", - "httpMethod": "POST", - "id": "content.accounts.custombatch", - "parameterOrder": [], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - } - }, - "path": "accounts/batch", - "request": { - "$ref": "AccountsCustomBatchRequest" - }, - "response": { - "$ref": "AccountsCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "delete": { - "description": "Deletes a Merchant Center sub-account.", - "flatPath": "{merchantId}/accounts/{accountId}", - "httpMethod": "DELETE", - "id": "content.accounts.delete", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "force": { - "default": "false", - "description": "Flag to delete sub-accounts with products. The default value is false.", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the managing account. This must be a multi-client account, and accountId must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/accounts/{accountId}", - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Retrieves a Merchant Center account.", - "flatPath": "{merchantId}/accounts/{accountId}", - "httpMethod": "GET", - "id": "content.accounts.get", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/accounts/{accountId}", - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "insert": { - "description": "Creates a Merchant Center sub-account.", - "flatPath": "{merchantId}/accounts", - "httpMethod": "POST", - "id": "content.accounts.insert", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the managing account. This must be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/accounts", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "link": { - "description": "Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.", - "flatPath": "{merchantId}/accounts/{accountId}/link", - "httpMethod": "POST", - "id": "content.accounts.link", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account that should be linked.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/accounts/{accountId}/link", - "request": { - "$ref": "AccountsLinkRequest" - }, - "response": { - "$ref": "AccountsLinkResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the sub-accounts in your Merchant Center account.", - "flatPath": "{merchantId}/accounts", - "httpMethod": "GET", - "id": "content.accounts.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "maxResults": { - "description": "The maximum number of accounts to return in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the managing account. This must be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/accounts", - "response": { - "$ref": "AccountsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "update": { - "description": "Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.", - "flatPath": "{merchantId}/accounts/{accountId}", - "httpMethod": "PUT", - "id": "content.accounts.update", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/accounts/{accountId}", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "accountstatuses": { - "methods": { - "custombatch": { - "description": "Retrieves multiple Merchant Center account statuses in a single request.", - "flatPath": "accountstatuses/batch", - "httpMethod": "POST", - "id": "content.accountstatuses.custombatch", - "parameterOrder": [], - "parameters": {}, - "path": "accountstatuses/batch", - "request": { - "$ref": "AccountstatusesCustomBatchRequest" - }, - "response": { - "$ref": "AccountstatusesCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts.", - "flatPath": "{merchantId}/accountstatuses/{accountId}", - "httpMethod": "GET", - "id": "content.accountstatuses.get", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "destinations": { - "description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", - "location": "query", - "repeated": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/accountstatuses/{accountId}", - "response": { - "$ref": "AccountStatus" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the statuses of the sub-accounts in your Merchant Center account.", - "flatPath": "{merchantId}/accountstatuses", - "httpMethod": "GET", - "id": "content.accountstatuses.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "destinations": { - "description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of account statuses to return in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the managing account. This must be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/accountstatuses", - "response": { - "$ref": "AccountstatusesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "accounttax": { - "methods": { - "custombatch": { - "description": "Retrieves and updates tax settings of multiple accounts in a single request.", - "flatPath": "accounttax/batch", - "httpMethod": "POST", - "id": "content.accounttax.custombatch", - "parameterOrder": [], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - } - }, - "path": "accounttax/batch", - "request": { - "$ref": "AccounttaxCustomBatchRequest" - }, - "response": { - "$ref": "AccounttaxCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Retrieves the tax settings of the account.", - "flatPath": "{merchantId}/accounttax/{accountId}", - "httpMethod": "GET", - "id": "content.accounttax.get", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account for which to get/update account tax settings.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/accounttax/{accountId}", - "response": { - "$ref": "AccountTax" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the tax settings of the sub-accounts in your Merchant Center account.", - "flatPath": "{merchantId}/accounttax", - "httpMethod": "GET", - "id": "content.accounttax.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "maxResults": { - "description": "The maximum number of tax settings to return in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the managing account. This must be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/accounttax", - "response": { - "$ref": "AccounttaxListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "update": { - "description": "Updates the tax settings of the account. Any fields that are not provided are deleted from the resource.", - "flatPath": "{merchantId}/accounttax/{accountId}", - "httpMethod": "PUT", - "id": "content.accounttax.update", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account for which to get/update account tax settings.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/accounttax/{accountId}", - "request": { - "$ref": "AccountTax" - }, - "response": { - "$ref": "AccountTax" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "datafeeds": { - "methods": { - "custombatch": { - "description": "Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request.", - "flatPath": "datafeeds/batch", - "httpMethod": "POST", - "id": "content.datafeeds.custombatch", - "parameterOrder": [], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - } - }, - "path": "datafeeds/batch", - "request": { - "$ref": "DatafeedsCustomBatchRequest" - }, - "response": { - "$ref": "DatafeedsCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "delete": { - "description": "Deletes a datafeed configuration from your Merchant Center account.", - "flatPath": "{merchantId}/datafeeds/{datafeedId}", - "httpMethod": "DELETE", - "id": "content.datafeeds.delete", - "parameterOrder": [ - "merchantId", - "datafeedId" - ], - "parameters": { - "datafeedId": { - "description": "The ID of the datafeed.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/datafeeds/{datafeedId}", - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "fetchnow": { - "description": "Invokes a fetch for the datafeed in your Merchant Center account. If you need to call this method more than once per day, we recommend you use the Products service to update your product data.", - "flatPath": "{merchantId}/datafeeds/{datafeedId}/fetchNow", - "httpMethod": "POST", - "id": "content.datafeeds.fetchnow", - "parameterOrder": [ - "merchantId", - "datafeedId" - ], - "parameters": { - "datafeedId": { - "description": "The ID of the datafeed to be fetched.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/datafeeds/{datafeedId}/fetchNow", - "response": { - "$ref": "DatafeedsFetchNowResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Retrieves a datafeed configuration from your Merchant Center account.", - "flatPath": "{merchantId}/datafeeds/{datafeedId}", - "httpMethod": "GET", - "id": "content.datafeeds.get", - "parameterOrder": [ - "merchantId", - "datafeedId" - ], - "parameters": { - "datafeedId": { - "description": "The ID of the datafeed.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/datafeeds/{datafeedId}", - "response": { - "$ref": "Datafeed" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "insert": { - "description": "Registers a datafeed configuration with your Merchant Center account.", - "flatPath": "{merchantId}/datafeeds", - "httpMethod": "POST", - "id": "content.datafeeds.insert", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/datafeeds", - "request": { - "$ref": "Datafeed" - }, - "response": { - "$ref": "Datafeed" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the configurations for datafeeds in your Merchant Center account.", - "flatPath": "{merchantId}/datafeeds", - "httpMethod": "GET", - "id": "content.datafeeds.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "maxResults": { - "description": "The maximum number of products to return in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the account that manages the datafeeds. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/datafeeds", - "response": { - "$ref": "DatafeedsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "update": { - "description": "Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.", - "flatPath": "{merchantId}/datafeeds/{datafeedId}", - "httpMethod": "PUT", - "id": "content.datafeeds.update", - "parameterOrder": [ - "merchantId", - "datafeedId" - ], - "parameters": { - "datafeedId": { - "description": "The ID of the datafeed.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/datafeeds/{datafeedId}", - "request": { - "$ref": "Datafeed" - }, - "response": { - "$ref": "Datafeed" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "datafeedstatuses": { - "methods": { - "custombatch": { - "description": "Gets multiple Merchant Center datafeed statuses in a single request.", - "flatPath": "datafeedstatuses/batch", - "httpMethod": "POST", - "id": "content.datafeedstatuses.custombatch", - "parameterOrder": [], - "parameters": {}, - "path": "datafeedstatuses/batch", - "request": { - "$ref": "DatafeedstatusesCustomBatchRequest" - }, - "response": { - "$ref": "DatafeedstatusesCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Retrieves the status of a datafeed from your Merchant Center account.", - "flatPath": "{merchantId}/datafeedstatuses/{datafeedId}", - "httpMethod": "GET", - "id": "content.datafeedstatuses.get", - "parameterOrder": [ - "merchantId", - "datafeedId" - ], - "parameters": { - "country": { - "description": "The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", - "location": "query", - "type": "string" - }, - "datafeedId": { - "description": "The ID of the datafeed.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "language": { - "description": "The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", - "location": "query", - "type": "string" - }, - "merchantId": { - "description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/datafeedstatuses/{datafeedId}", - "response": { - "$ref": "DatafeedStatus" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the statuses of the datafeeds in your Merchant Center account.", - "flatPath": "{merchantId}/datafeedstatuses", - "httpMethod": "GET", - "id": "content.datafeedstatuses.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "maxResults": { - "description": "The maximum number of products to return in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the account that manages the datafeeds. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/datafeedstatuses", - "response": { - "$ref": "DatafeedstatusesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "liasettings": { - "methods": { - "custombatch": { - "description": "Retrieves and/or updates the LIA settings of multiple accounts in a single request.", - "flatPath": "liasettings/batch", - "httpMethod": "POST", - "id": "content.liasettings.custombatch", - "parameterOrder": [], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - } - }, - "path": "liasettings/batch", - "request": { - "$ref": "LiasettingsCustomBatchRequest" - }, - "response": { - "$ref": "LiasettingsCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Retrieves the LIA settings of the account.", - "flatPath": "{merchantId}/liasettings/{accountId}", - "httpMethod": "GET", - "id": "content.liasettings.get", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account for which to get or update LIA settings.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/liasettings/{accountId}", - "response": { - "$ref": "LiaSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "getaccessiblegmbaccounts": { - "description": "Retrieves the list of accessible Google My Business accounts.", - "flatPath": "{merchantId}/liasettings/{accountId}/accessiblegmbaccounts", - "httpMethod": "GET", - "id": "content.liasettings.getaccessiblegmbaccounts", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account for which to retrieve accessible Google My Business accounts.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/liasettings/{accountId}/accessiblegmbaccounts", - "response": { - "$ref": "LiasettingsGetAccessibleGmbAccountsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the LIA settings of the sub-accounts in your Merchant Center account.", - "flatPath": "{merchantId}/liasettings", - "httpMethod": "GET", - "id": "content.liasettings.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "maxResults": { - "description": "The maximum number of LIA settings to return in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the managing account. This must be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/liasettings", - "response": { - "$ref": "LiasettingsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "listposdataproviders": { - "description": "Retrieves the list of POS data providers that have active settings for the all eiligible countries.", - "flatPath": "liasettings/posdataproviders", - "httpMethod": "GET", - "id": "content.liasettings.listposdataproviders", - "parameterOrder": [], - "parameters": {}, - "path": "liasettings/posdataproviders", - "response": { - "$ref": "LiasettingsListPosDataProvidersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "requestgmbaccess": { - "description": "Requests access to a specified Google My Business account.", - "flatPath": "{merchantId}/liasettings/{accountId}/requestgmbaccess", - "httpMethod": "POST", - "id": "content.liasettings.requestgmbaccess", - "parameterOrder": [ - "merchantId", - "accountId", - "gmbEmail" - ], - "parameters": { - "accountId": { - "description": "The ID of the account for which GMB access is requested.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "gmbEmail": { - "description": "The email of the Google My Business account.", - "location": "query", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/liasettings/{accountId}/requestgmbaccess", - "response": { - "$ref": "LiasettingsRequestGmbAccessResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "requestinventoryverification": { - "description": "Requests inventory validation for the specified country.", - "flatPath": "{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}", - "httpMethod": "POST", - "id": "content.liasettings.requestinventoryverification", - "parameterOrder": [ - "merchantId", - "accountId", - "country" - ], - "parameters": { - "accountId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "country": { - "description": "The country for which inventory validation is requested.", - "location": "path", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}", - "response": { - "$ref": "LiasettingsRequestInventoryVerificationResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "setinventoryverificationcontact": { - "description": "Sets the inventory verification contract for the specified country.", - "flatPath": "{merchantId}/liasettings/{accountId}/setinventoryverificationcontact", - "httpMethod": "POST", - "id": "content.liasettings.setinventoryverificationcontact", - "parameterOrder": [ - "merchantId", - "accountId", - "country", - "language", - "contactName", - "contactEmail" - ], - "parameters": { - "accountId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "contactEmail": { - "description": "The email of the inventory verification contact.", - "location": "query", - "required": true, - "type": "string" - }, - "contactName": { - "description": "The name of the inventory verification contact.", - "location": "query", - "required": true, - "type": "string" - }, - "country": { - "description": "The country for which inventory verification is requested.", - "location": "query", - "required": true, - "type": "string" - }, - "language": { - "description": "The language for which inventory verification is requested.", - "location": "query", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/liasettings/{accountId}/setinventoryverificationcontact", - "response": { - "$ref": "LiasettingsSetInventoryVerificationContactResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "setposdataprovider": { - "description": "Sets the POS data provider for the specified country.", - "flatPath": "{merchantId}/liasettings/{accountId}/setposdataprovider", - "httpMethod": "POST", - "id": "content.liasettings.setposdataprovider", - "parameterOrder": [ - "merchantId", - "accountId", - "country" - ], - "parameters": { - "accountId": { - "description": "The ID of the account for which to retrieve accessible Google My Business accounts.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "country": { - "description": "The country for which the POS data provider is selected.", - "location": "query", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "posDataProviderId": { - "description": "The ID of POS data provider.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "posExternalAccountId": { - "description": "The account ID by which this merchant is known to the POS data provider.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/liasettings/{accountId}/setposdataprovider", - "response": { - "$ref": "LiasettingsSetPosDataProviderResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "update": { - "description": "Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource.", - "flatPath": "{merchantId}/liasettings/{accountId}", - "httpMethod": "PUT", - "id": "content.liasettings.update", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account for which to get or update LIA settings.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/liasettings/{accountId}", - "request": { - "$ref": "LiaSettings" - }, - "response": { - "$ref": "LiaSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "orderinvoices": { - "methods": { - "createchargeinvoice": { - "description": "Creates a charge invoice for a shipment group, and triggers a charge capture for orderinvoice enabled orders.", - "flatPath": "{merchantId}/orderinvoices/{orderId}/createChargeInvoice", - "httpMethod": "POST", - "id": "content.orderinvoices.createchargeinvoice", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orderinvoices/{orderId}/createChargeInvoice", - "request": { - "$ref": "OrderinvoicesCreateChargeInvoiceRequest" - }, - "response": { - "$ref": "OrderinvoicesCreateChargeInvoiceResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "createrefundinvoice": { - "description": "Creates a refund invoice for one or more shipment groups, and triggers a refund for orderinvoice enabled orders. This can only be used for line items that have previously been charged using `createChargeInvoice`. All amounts (except for the summary) are incremental with respect to the previous invoice.", - "flatPath": "{merchantId}/orderinvoices/{orderId}/createRefundInvoice", - "httpMethod": "POST", - "id": "content.orderinvoices.createrefundinvoice", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orderinvoices/{orderId}/createRefundInvoice", - "request": { - "$ref": "OrderinvoicesCreateRefundInvoiceRequest" - }, - "response": { - "$ref": "OrderinvoicesCreateRefundInvoiceResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "orderreports": { - "methods": { - "listdisbursements": { - "description": "Retrieves a report for disbursements from your Merchant Center account.", - "flatPath": "{merchantId}/orderreports/disbursements", - "httpMethod": "GET", - "id": "content.orderreports.listdisbursements", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "disbursementEndDate": { - "description": "The last date which disbursements occurred. In ISO 8601 format. Default: current date.", - "location": "query", - "type": "string" - }, - "disbursementStartDate": { - "description": "The first date which disbursements occurred. In ISO 8601 format.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of disbursements to return in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/orderreports/disbursements", - "response": { - "$ref": "OrderreportsListDisbursementsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "listtransactions": { - "description": "Retrieves a list of transactions for a disbursement from your Merchant Center account.", - "flatPath": "{merchantId}/orderreports/disbursements/{disbursementId}/transactions", - "httpMethod": "GET", - "id": "content.orderreports.listtransactions", - "parameterOrder": [ - "merchantId", - "disbursementId" - ], - "parameters": { - "disbursementId": { - "description": "The Google-provided ID of the disbursement (found in Wallet).", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "The maximum number of disbursements to return in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - }, - "transactionEndDate": { - "description": "The last date in which transaction occurred. In ISO 8601 format. Default: current date.", - "location": "query", - "type": "string" - }, - "transactionStartDate": { - "description": "The first date in which transaction occurred. In ISO 8601 format.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/orderreports/disbursements/{disbursementId}/transactions", - "response": { - "$ref": "OrderreportsListTransactionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "orderreturns": { - "methods": { - "get": { - "description": "Retrieves an order return from your Merchant Center account.", - "flatPath": "{merchantId}/orderreturns/{returnId}", - "httpMethod": "GET", - "id": "content.orderreturns.get", - "parameterOrder": [ - "merchantId", - "returnId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "returnId": { - "description": "Merchant order return ID generated by Google.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orderreturns/{returnId}", - "response": { - "$ref": "MerchantOrderReturn" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists order returns in your Merchant Center account.", - "flatPath": "{merchantId}/orderreturns", - "httpMethod": "GET", - "id": "content.orderreturns.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "createdEndDate": { - "description": "Obtains order returns created before this date (inclusively), in ISO 8601 format.", - "location": "query", - "type": "string" - }, - "createdStartDate": { - "description": "Obtains order returns created after this date (inclusively), in ISO 8601 format.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of order returns to return in the response, used for paging. The default value is 25 returns per page, and the maximum allowed value is 250 returns per page.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Return the results in the specified order.", - "enum": [ - "RETURN_CREATION_TIME_DESC", - "RETURN_CREATION_TIME_ASC" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/orderreturns", - "response": { - "$ref": "OrderreturnsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "orders": { - "methods": { - "acknowledge": { - "description": "Marks an order as acknowledged.", - "flatPath": "{merchantId}/orders/{orderId}/acknowledge", - "httpMethod": "POST", - "id": "content.orders.acknowledge", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/acknowledge", - "request": { - "$ref": "OrdersAcknowledgeRequest" - }, - "response": { - "$ref": "OrdersAcknowledgeResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "advancetestorder": { - "description": "Sandbox only. Moves a test order from state \"`inProgress`\" to state \"`pendingShipment`\".", - "flatPath": "{merchantId}/testorders/{orderId}/advance", - "httpMethod": "POST", - "id": "content.orders.advancetestorder", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the test order to modify.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/testorders/{orderId}/advance", - "response": { - "$ref": "OrdersAdvanceTestOrderResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "cancel": { - "description": "Cancels all line items in an order, making a full refund.", - "flatPath": "{merchantId}/orders/{orderId}/cancel", - "httpMethod": "POST", - "id": "content.orders.cancel", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order to cancel.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/cancel", - "request": { - "$ref": "OrdersCancelRequest" - }, - "response": { - "$ref": "OrdersCancelResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "cancellineitem": { - "description": "Cancels a line item, making a full refund.", - "flatPath": "{merchantId}/orders/{orderId}/cancelLineItem", - "httpMethod": "POST", - "id": "content.orders.cancellineitem", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/cancelLineItem", - "request": { - "$ref": "OrdersCancelLineItemRequest" - }, - "response": { - "$ref": "OrdersCancelLineItemResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "canceltestorderbycustomer": { - "description": "Sandbox only. Cancels a test order for customer-initiated cancellation.", - "flatPath": "{merchantId}/testorders/{orderId}/cancelByCustomer", - "httpMethod": "POST", - "id": "content.orders.canceltestorderbycustomer", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the test order to cancel.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/testorders/{orderId}/cancelByCustomer", - "request": { - "$ref": "OrdersCancelTestOrderByCustomerRequest" - }, - "response": { - "$ref": "OrdersCancelTestOrderByCustomerResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "createtestorder": { - "description": "Sandbox only. Creates a test order.", - "flatPath": "{merchantId}/testorders", - "httpMethod": "POST", - "id": "content.orders.createtestorder", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that should manage the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/testorders", - "request": { - "$ref": "OrdersCreateTestOrderRequest" - }, - "response": { - "$ref": "OrdersCreateTestOrderResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "createtestreturn": { - "description": "Sandbox only. Creates a test return.", - "flatPath": "{merchantId}/orders/{orderId}/testreturn", - "httpMethod": "POST", - "id": "content.orders.createtestreturn", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/testreturn", - "request": { - "$ref": "OrdersCreateTestReturnRequest" - }, - "response": { - "$ref": "OrdersCreateTestReturnResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "custombatch": { - "description": "Retrieves or modifies multiple orders in a single request.", - "flatPath": "orders/batch", - "httpMethod": "POST", - "id": "content.orders.custombatch", - "parameterOrder": [], - "parameters": {}, - "path": "orders/batch", - "request": { - "$ref": "OrdersCustomBatchRequest" - }, - "response": { - "$ref": "OrdersCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Retrieves an order from your Merchant Center account.", - "flatPath": "{merchantId}/orders/{orderId}", - "httpMethod": "GET", - "id": "content.orders.get", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}", - "response": { - "$ref": "Order" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "getbymerchantorderid": { - "description": "Retrieves an order using merchant order ID.", - "flatPath": "{merchantId}/ordersbymerchantid/{merchantOrderId}", - "httpMethod": "GET", - "id": "content.orders.getbymerchantorderid", - "parameterOrder": [ - "merchantId", - "merchantOrderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "merchantOrderId": { - "description": "The merchant order ID to be looked for.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/ordersbymerchantid/{merchantOrderId}", - "response": { - "$ref": "OrdersGetByMerchantOrderIdResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "gettestordertemplate": { - "description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.", - "flatPath": "{merchantId}/testordertemplates/{templateName}", - "httpMethod": "GET", - "id": "content.orders.gettestordertemplate", - "parameterOrder": [ - "merchantId", - "templateName" - ], - "parameters": { - "country": { - "description": "The country of the template to retrieve. Defaults to `US`.", - "location": "query", - "type": "string" - }, - "merchantId": { - "description": "The ID of the account that should manage the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "templateName": { - "description": "The name of the template to retrieve.", - "enum": [ - "TEMPLATE1", - "TEMPLATE2", - "TEMPLATE1A", - "TEMPLATE1B", - "TEMPLATE3" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/testordertemplates/{templateName}", - "response": { - "$ref": "OrdersGetTestOrderTemplateResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "instorerefundlineitem": { - "description": "Deprecated. Notifies that item return and refund was handled directly by merchant outside of Google payments processing (e.g. cash refund done in store). Note: We recommend calling the returnrefundlineitem method to refund in-store returns. We will issue the refund directly to the customer. This helps to prevent possible differences arising between merchant and Google transaction records. We also recommend having the point of sale system communicate with Google to ensure that customers do not receive a double refund by first refunding via Google then via an in-store return.", - "flatPath": "{merchantId}/orders/{orderId}/inStoreRefundLineItem", - "httpMethod": "POST", - "id": "content.orders.instorerefundlineitem", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/inStoreRefundLineItem", - "request": { - "$ref": "OrdersInStoreRefundLineItemRequest" - }, - "response": { - "$ref": "OrdersInStoreRefundLineItemResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the orders in your Merchant Center account.", - "flatPath": "{merchantId}/orders", - "httpMethod": "GET", - "id": "content.orders.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "acknowledged": { - "description": "Obtains orders that match the acknowledgement status. When set to true, obtains orders that have been acknowledged. When false, obtains orders that have not been acknowledged. We recommend using this filter set to `false`, in conjunction with the `acknowledge` call, such that only un-acknowledged orders are returned. ", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "description": "The maximum number of orders to return in the response, used for paging. The default value is 25 orders per page, and the maximum allowed value is 250 orders per page.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Order results by placement date in descending or ascending order. Acceptable values are: - placedDateAsc - placedDateDesc ", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - }, - "placedDateEnd": { - "description": "Obtains orders placed before this date (exclusively), in ISO 8601 format.", - "location": "query", - "type": "string" - }, - "placedDateStart": { - "description": "Obtains orders placed after this date (inclusively), in ISO 8601 format.", - "location": "query", - "type": "string" - }, - "statuses": { - "description": "Obtains orders that match any of the specified statuses. Please note that `active` is a shortcut for `pendingShipment` and `partiallyShipped`, and `completed` is a shortcut for `shipped`, `partiallyDelivered`, `delivered`, `partiallyReturned`, `returned`, and `canceled`.", - "enum": [ - "ACTIVE", - "COMPLETED", - "CANCELED", - "IN_PROGRESS", - "PENDING_SHIPMENT", - "PARTIALLY_SHIPPED", - "SHIPPED", - "PARTIALLY_DELIVERED", - "DELIVERED", - "PARTIALLY_RETURNED", - "RETURNED" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "{merchantId}/orders", - "response": { - "$ref": "OrdersListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "refund": { - "description": "Deprecated, please use returnRefundLineItem instead.", - "flatPath": "{merchantId}/orders/{orderId}/refund", - "httpMethod": "POST", - "id": "content.orders.refund", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order to refund.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/refund", - "request": { - "$ref": "OrdersRefundRequest" - }, - "response": { - "$ref": "OrdersRefundResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "rejectreturnlineitem": { - "description": "Rejects return on an line item.", - "flatPath": "{merchantId}/orders/{orderId}/rejectReturnLineItem", - "httpMethod": "POST", - "id": "content.orders.rejectreturnlineitem", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/rejectReturnLineItem", - "request": { - "$ref": "OrdersRejectReturnLineItemRequest" - }, - "response": { - "$ref": "OrdersRejectReturnLineItemResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "returnlineitem": { - "description": "Returns a line item.", - "flatPath": "{merchantId}/orders/{orderId}/returnLineItem", - "httpMethod": "POST", - "id": "content.orders.returnlineitem", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/returnLineItem", - "request": { - "$ref": "OrdersReturnLineItemRequest" - }, - "response": { - "$ref": "OrdersReturnLineItemResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "returnrefundlineitem": { - "description": "Returns and refunds a line item. Note that this method can only be called on fully shipped orders. Please also note that the Orderreturns API is the preferred way to handle returns after you receive a return from a customer. You can use Orderreturns.list or Orderreturns.get to search for the return, and then use Orderreturns.processreturn to issue the refund. If the return cannot be found, then we recommend using this API to issue a refund.", - "flatPath": "{merchantId}/orders/{orderId}/returnRefundLineItem", - "httpMethod": "POST", - "id": "content.orders.returnrefundlineitem", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/returnRefundLineItem", - "request": { - "$ref": "OrdersReturnRefundLineItemRequest" - }, - "response": { - "$ref": "OrdersReturnRefundLineItemResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "setlineitemmetadata": { - "description": "Sets (or overrides if it already exists) merchant provided annotations in the form of key-value pairs. A common use case would be to supply us with additional structured information about a line item that cannot be provided via other methods. Submitted key-value pairs can be retrieved as part of the orders resource.", - "flatPath": "{merchantId}/orders/{orderId}/setLineItemMetadata", - "httpMethod": "POST", - "id": "content.orders.setlineitemmetadata", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/setLineItemMetadata", - "request": { - "$ref": "OrdersSetLineItemMetadataRequest" - }, - "response": { - "$ref": "OrdersSetLineItemMetadataResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "shiplineitems": { - "description": "Marks line item(s) as shipped.", - "flatPath": "{merchantId}/orders/{orderId}/shipLineItems", - "httpMethod": "POST", - "id": "content.orders.shiplineitems", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/shipLineItems", - "request": { - "$ref": "OrdersShipLineItemsRequest" - }, - "response": { - "$ref": "OrdersShipLineItemsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "updatelineitemshippingdetails": { - "description": "Updates ship by and delivery by dates for a line item.", - "flatPath": "{merchantId}/orders/{orderId}/updateLineItemShippingDetails", - "httpMethod": "POST", - "id": "content.orders.updatelineitemshippingdetails", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/updateLineItemShippingDetails", - "request": { - "$ref": "OrdersUpdateLineItemShippingDetailsRequest" - }, - "response": { - "$ref": "OrdersUpdateLineItemShippingDetailsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "updatemerchantorderid": { - "description": "Updates the merchant order ID for a given order.", - "flatPath": "{merchantId}/orders/{orderId}/updateMerchantOrderId", - "httpMethod": "POST", - "id": "content.orders.updatemerchantorderid", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/updateMerchantOrderId", - "request": { - "$ref": "OrdersUpdateMerchantOrderIdRequest" - }, - "response": { - "$ref": "OrdersUpdateMerchantOrderIdResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "updateshipment": { - "description": "Updates a shipment's status, carrier, and/or tracking ID.", - "flatPath": "{merchantId}/orders/{orderId}/updateShipment", - "httpMethod": "POST", - "id": "content.orders.updateshipment", - "parameterOrder": [ - "merchantId", - "orderId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that manages the order. This cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/orders/{orderId}/updateShipment", - "request": { - "$ref": "OrdersUpdateShipmentRequest" - }, - "response": { - "$ref": "OrdersUpdateShipmentResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "pos": { - "methods": { - "custombatch": { - "description": "Batches multiple POS-related calls in a single request.", - "flatPath": "pos/batch", - "httpMethod": "POST", - "id": "content.pos.custombatch", - "parameterOrder": [], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - } - }, - "path": "pos/batch", - "request": { - "$ref": "PosCustomBatchRequest" - }, - "response": { - "$ref": "PosCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "delete": { - "description": "Deletes a store for the given merchant.", - "flatPath": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}", - "httpMethod": "DELETE", - "id": "content.pos.delete", - "parameterOrder": [ - "merchantId", - "targetMerchantId", - "storeCode" - ], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the POS or inventory data provider.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "storeCode": { - "description": "A store code that is unique per merchant.", - "location": "path", - "required": true, - "type": "string" - }, - "targetMerchantId": { - "description": "The ID of the target merchant.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}", - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Retrieves information about the given store.", - "flatPath": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}", - "httpMethod": "GET", - "id": "content.pos.get", - "parameterOrder": [ - "merchantId", - "targetMerchantId", - "storeCode" - ], - "parameters": { - "merchantId": { - "description": "The ID of the POS or inventory data provider.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "storeCode": { - "description": "A store code that is unique per merchant.", - "location": "path", - "required": true, - "type": "string" - }, - "targetMerchantId": { - "description": "The ID of the target merchant.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}", - "response": { - "$ref": "PosStore" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "insert": { - "description": "Creates a store for the given merchant.", - "flatPath": "{merchantId}/pos/{targetMerchantId}/store", - "httpMethod": "POST", - "id": "content.pos.insert", - "parameterOrder": [ - "merchantId", - "targetMerchantId" - ], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the POS or inventory data provider.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "targetMerchantId": { - "description": "The ID of the target merchant.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/pos/{targetMerchantId}/store", - "request": { - "$ref": "PosStore" - }, - "response": { - "$ref": "PosStore" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "inventory": { - "description": "Submit inventory for the given merchant.", - "flatPath": "{merchantId}/pos/{targetMerchantId}/inventory", - "httpMethod": "POST", - "id": "content.pos.inventory", - "parameterOrder": [ - "merchantId", - "targetMerchantId" - ], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the POS or inventory data provider.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "targetMerchantId": { - "description": "The ID of the target merchant.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/pos/{targetMerchantId}/inventory", - "request": { - "$ref": "PosInventoryRequest" - }, - "response": { - "$ref": "PosInventoryResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the stores of the target merchant.", - "flatPath": "{merchantId}/pos/{targetMerchantId}/store", - "httpMethod": "GET", - "id": "content.pos.list", - "parameterOrder": [ - "merchantId", - "targetMerchantId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the POS or inventory data provider.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "targetMerchantId": { - "description": "The ID of the target merchant.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/pos/{targetMerchantId}/store", - "response": { - "$ref": "PosListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "sale": { - "description": "Submit a sale event for the given merchant.", - "flatPath": "{merchantId}/pos/{targetMerchantId}/sale", - "httpMethod": "POST", - "id": "content.pos.sale", - "parameterOrder": [ - "merchantId", - "targetMerchantId" - ], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the POS or inventory data provider.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "targetMerchantId": { - "description": "The ID of the target merchant.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/pos/{targetMerchantId}/sale", - "request": { - "$ref": "PosSaleRequest" - }, - "response": { - "$ref": "PosSaleResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "products": { - "methods": { - "custombatch": { - "description": "Retrieves, inserts, and deletes multiple products in a single request.", - "flatPath": "products/batch", - "httpMethod": "POST", - "id": "content.products.custombatch", - "parameterOrder": [], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - } - }, - "path": "products/batch", - "request": { - "$ref": "ProductsCustomBatchRequest" - }, - "response": { - "$ref": "ProductsCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "delete": { - "description": "Deletes a product from your Merchant Center account.", - "flatPath": "{merchantId}/products/{productId}", - "httpMethod": "DELETE", - "id": "content.products.delete", - "parameterOrder": [ - "merchantId", - "productId" - ], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the account that contains the product. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "productId": { - "description": "The REST ID of the product.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/products/{productId}", - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Retrieves a product from your Merchant Center account.", - "flatPath": "{merchantId}/products/{productId}", - "httpMethod": "GET", - "id": "content.products.get", - "parameterOrder": [ - "merchantId", - "productId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account that contains the product. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "productId": { - "description": "The REST ID of the product.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/products/{productId}", - "response": { - "$ref": "Product" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "insert": { - "description": "Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry.", - "flatPath": "{merchantId}/products", - "httpMethod": "POST", - "id": "content.products.insert", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the account that contains the product. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/products", - "request": { - "$ref": "Product" - }, - "response": { - "$ref": "Product" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the products in your Merchant Center account. The response might contain fewer items than specified by maxResults. Rely on nextPageToken to determine if there are more items to be requested.", - "flatPath": "{merchantId}/products", - "httpMethod": "GET", - "id": "content.products.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "includeInvalidInsertedItems": { - "description": "Flag to include the invalid inserted items in the result of the list request. By default the invalid items are not shown (the default value is false).", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "description": "The maximum number of products to return in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the account that contains the products. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/products", - "response": { - "$ref": "ProductsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "productstatuses": { - "methods": { - "custombatch": { - "description": "Gets the statuses of multiple products in a single request.", - "flatPath": "productstatuses/batch", - "httpMethod": "POST", - "id": "content.productstatuses.custombatch", - "parameterOrder": [], - "parameters": { - "includeAttributes": { - "description": "Flag to include full product data in the results of this request. The default value is false.", - "location": "query", - "type": "boolean" - } - }, - "path": "productstatuses/batch", - "request": { - "$ref": "ProductstatusesCustomBatchRequest" - }, - "response": { - "$ref": "ProductstatusesCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Gets the status of a product from your Merchant Center account.", - "flatPath": "{merchantId}/productstatuses/{productId}", - "httpMethod": "GET", - "id": "content.productstatuses.get", - "parameterOrder": [ - "merchantId", - "productId" - ], - "parameters": { - "destinations": { - "description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", - "location": "query", - "repeated": true, - "type": "string" - }, - "includeAttributes": { - "description": "Flag to include full product data in the result of this get request. The default value is false.", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the account that contains the product. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "productId": { - "description": "The REST ID of the product.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/productstatuses/{productId}", - "response": { - "$ref": "ProductStatus" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the statuses of the products in your Merchant Center account.", - "flatPath": "{merchantId}/productstatuses", - "httpMethod": "GET", - "id": "content.productstatuses.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "destinations": { - "description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", - "location": "query", - "repeated": true, - "type": "string" - }, - "includeAttributes": { - "description": "Flag to include full product data in the results of the list request. The default value is false.", - "location": "query", - "type": "boolean" - }, - "includeInvalidInsertedItems": { - "description": "Flag to include the invalid inserted items in the result of the list request. By default the invalid items are not shown (the default value is false).", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "description": "The maximum number of product statuses to return in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the account that contains the products. This account cannot be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/productstatuses", - "response": { - "$ref": "ProductstatusesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "shippingsettings": { - "methods": { - "custombatch": { - "description": "Retrieves and updates the shipping settings of multiple accounts in a single request.", - "flatPath": "shippingsettings/batch", - "httpMethod": "POST", - "id": "content.shippingsettings.custombatch", - "parameterOrder": [], - "parameters": { - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - } - }, - "path": "shippingsettings/batch", - "request": { - "$ref": "ShippingsettingsCustomBatchRequest" - }, - "response": { - "$ref": "ShippingsettingsCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Retrieves the shipping settings of the account.", - "flatPath": "{merchantId}/shippingsettings/{accountId}", - "httpMethod": "GET", - "id": "content.shippingsettings.get", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account for which to get/update shipping settings.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/shippingsettings/{accountId}", - "response": { - "$ref": "ShippingSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "getsupportedcarriers": { - "description": "Retrieves supported carriers and carrier services for an account.", - "flatPath": "{merchantId}/supportedCarriers", - "httpMethod": "GET", - "id": "content.shippingsettings.getsupportedcarriers", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account for which to retrieve the supported carriers.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/supportedCarriers", - "response": { - "$ref": "ShippingsettingsGetSupportedCarriersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "getsupportedholidays": { - "description": "Retrieves supported holidays for an account.", - "flatPath": "{merchantId}/supportedHolidays", - "httpMethod": "GET", - "id": "content.shippingsettings.getsupportedholidays", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account for which to retrieve the supported holidays.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/supportedHolidays", - "response": { - "$ref": "ShippingsettingsGetSupportedHolidaysResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "getsupportedpickupservices": { - "description": "Retrieves supported pickup services for an account.", - "flatPath": "{merchantId}/supportedPickupServices", - "httpMethod": "GET", - "id": "content.shippingsettings.getsupportedpickupservices", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "merchantId": { - "description": "The ID of the account for which to retrieve the supported pickup services.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/supportedPickupServices", - "response": { - "$ref": "ShippingsettingsGetSupportedPickupServicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the shipping settings of the sub-accounts in your Merchant Center account.", - "flatPath": "{merchantId}/shippingsettings", - "httpMethod": "GET", - "id": "content.shippingsettings.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "maxResults": { - "description": "The maximum number of shipping settings to return in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the managing account. This must be a multi-client account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/shippingsettings", - "response": { - "$ref": "ShippingsettingsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "update": { - "description": "Updates the shipping settings of the account. Any fields that are not provided are deleted from the resource.", - "flatPath": "{merchantId}/shippingsettings/{accountId}", - "httpMethod": "PUT", - "id": "content.shippingsettings.update", - "parameterOrder": [ - "merchantId", - "accountId" - ], - "parameters": { - "accountId": { - "description": "The ID of the account for which to get/update shipping settings.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "dryRun": { - "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).", - "location": "query", - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/shippingsettings/{accountId}", - "request": { - "$ref": "ShippingSettings" - }, - "response": { - "$ref": "ShippingSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - } - }, - "revision": "20220317", - "rootUrl": "https://shoppingcontent.googleapis.com/", - "schemas": { - "Account": { - "description": "Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role.", - "id": "Account", - "properties": { - "adultContent": { - "description": "Indicates whether the merchant sells adult content.", - "type": "boolean" - }, - "adwordsLinks": { - "description": "List of linked AdWords accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.", - "items": { - "$ref": "AccountAdwordsLink" - }, - "type": "array" - }, - "businessInformation": { - "$ref": "AccountBusinessInformation", - "description": "The business information of the account." - }, - "googleMyBusinessLink": { - "$ref": "AccountGoogleMyBusinessLink", - "description": "The GMB account which is linked or in the process of being linked with the Merchant Center account." - }, - "id": { - "description": "Required for update. Merchant Center account ID.", - "format": "uint64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#account`\"", - "type": "string" - }, - "name": { - "description": "Required. Display name for the account.", - "type": "string" - }, - "reviewsUrl": { - "description": "[DEPRECATED] This field is never returned and will be ignored if provided.", - "type": "string" - }, - "sellerId": { - "description": "Client-specific, locally-unique, internal ID for the child account.", - "type": "string" - }, - "users": { - "description": "Users with access to the account. Every account (except for subaccounts) must have at least one admin user.", - "items": { - "$ref": "AccountUser" - }, - "type": "array" - }, - "websiteUrl": { - "description": "The merchant's website.", - "type": "string" - }, - "youtubeChannelLinks": { - "description": "List of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.", - "items": { - "$ref": "AccountYouTubeChannelLink" - }, - "type": "array" - } - }, - "type": "object" - }, - "AccountAddress": { - "id": "AccountAddress", - "properties": { - "country": { - "description": "CLDR country code (e.g. \"US\"). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.", - "type": "string" - }, - "locality": { - "description": "City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).", - "type": "string" - }, - "postalCode": { - "description": "Postal code or ZIP (e.g. \"94043\").", - "type": "string" - }, - "region": { - "description": "Top-level administrative subdivision of the country. For example, a state like California (\"CA\") or a province like Quebec (\"QC\").", - "type": "string" - }, - "streetAddress": { - "description": "Street-level part of the address.", - "type": "string" - } - }, - "type": "object" - }, - "AccountAdwordsLink": { - "id": "AccountAdwordsLink", - "properties": { - "adwordsId": { - "description": "Customer ID of the AdWords account.", - "format": "uint64", - "type": "string" - }, - "status": { - "description": "Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google AdWords or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending. Acceptable values are: - \"`active`\" - \"`pending`\" ", - "type": "string" - } - }, - "type": "object" - }, - "AccountBusinessInformation": { - "id": "AccountBusinessInformation", - "properties": { - "address": { - "$ref": "AccountAddress", - "description": "The address of the business." - }, - "customerService": { - "$ref": "AccountCustomerService", - "description": "The customer service information of the business." - }, - "koreanBusinessRegistrationNumber": { - "description": "The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.", - "type": "string" - }, - "phoneNumber": { - "description": "The phone number of the business.", - "type": "string" - } - }, - "type": "object" - }, - "AccountCustomerService": { - "id": "AccountCustomerService", - "properties": { - "email": { - "description": "Customer service email.", - "type": "string" - }, - "phoneNumber": { - "description": "Customer service phone number.", - "type": "string" - }, - "url": { - "description": "Customer service URL.", - "type": "string" - } - }, - "type": "object" - }, - "AccountGoogleMyBusinessLink": { - "id": "AccountGoogleMyBusinessLink", - "properties": { - "gmbEmail": { - "description": "The GMB email address of which a specific account within a GMB account. A sample account within a GMB account could be a business account with set of locations, managed under the GMB account.", - "type": "string" - }, - "status": { - "description": "Status of the link between this Merchant Center account and the GMB account. Acceptable values are: - \"`active`\" - \"`pending`\" ", - "type": "string" - } - }, - "type": "object" - }, - "AccountIdentifier": { - "id": "AccountIdentifier", - "properties": { - "aggregatorId": { - "description": "The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount).", - "format": "uint64", - "type": "string" - }, - "merchantId": { - "description": "The merchant account ID, set for individual accounts and subaccounts.", - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "AccountStatus": { - "description": "The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time.", - "id": "AccountStatus", - "properties": { - "accountId": { - "description": "The ID of the account for which the status is reported.", - "type": "string" - }, - "accountLevelIssues": { - "description": "A list of account level issues.", - "items": { - "$ref": "AccountStatusAccountLevelIssue" - }, - "type": "array" - }, - "dataQualityIssues": { - "description": "DEPRECATED - never populated.", - "items": { - "$ref": "AccountStatusDataQualityIssue" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountStatus`\"", - "type": "string" - }, - "products": { - "description": "List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes.", - "items": { - "$ref": "AccountStatusProducts" - }, - "type": "array" - }, - "websiteClaimed": { - "description": "Whether the account's website is claimed or not.", - "type": "boolean" - } - }, - "type": "object" - }, - "AccountStatusAccountLevelIssue": { - "id": "AccountStatusAccountLevelIssue", - "properties": { - "country": { - "description": "Country for which this issue is reported.", - "type": "string" - }, - "destination": { - "description": "The destination the issue applies to. If this field is empty then the issue applies to all available destinations.", - "type": "string" - }, - "detail": { - "description": "Additional details about the issue.", - "type": "string" - }, - "documentation": { - "description": "The URL of a web page to help resolving this issue.", - "type": "string" - }, - "id": { - "description": "Issue identifier.", - "type": "string" - }, - "severity": { - "description": "Severity of the issue. Acceptable values are: - \"`critical`\" - \"`error`\" - \"`suggestion`\" ", - "type": "string" - }, - "title": { - "description": "Short description of the issue.", - "type": "string" - } - }, - "type": "object" - }, - "AccountStatusDataQualityIssue": { - "id": "AccountStatusDataQualityIssue", - "properties": { - "country": { - "type": "string" - }, - "destination": { - "type": "string" - }, - "detail": { - "type": "string" - }, - "displayedValue": { - "type": "string" - }, - "exampleItems": { - "items": { - "$ref": "AccountStatusExampleItem" - }, - "type": "array" - }, - "id": { - "type": "string" - }, - "lastChecked": { - "type": "string" - }, - "location": { - "type": "string" - }, - "numItems": { - "format": "uint32", - "type": "integer" - }, - "severity": { - "description": " Acceptable values are: - \"`critical`\" - \"`error`\" - \"`suggestion`\" ", - "type": "string" - }, - "submittedValue": { - "type": "string" - } - }, - "type": "object" - }, - "AccountStatusExampleItem": { - "id": "AccountStatusExampleItem", - "properties": { - "itemId": { - "type": "string" - }, - "link": { - "type": "string" - }, - "submittedValue": { - "type": "string" - }, - "title": { - "type": "string" - }, - "valueOnLandingPage": { - "type": "string" - } - }, - "type": "object" - }, - "AccountStatusItemLevelIssue": { - "id": "AccountStatusItemLevelIssue", - "properties": { - "attributeName": { - "description": "The attribute's name, if the issue is caused by a single attribute.", - "type": "string" - }, - "code": { - "description": "The error code of the issue.", - "type": "string" - }, - "description": { - "description": "A short issue description in English.", - "type": "string" - }, - "detail": { - "description": "A detailed issue description in English.", - "type": "string" - }, - "documentation": { - "description": "The URL of a web page to help with resolving this issue.", - "type": "string" - }, - "numItems": { - "description": "Number of items with this issue.", - "format": "int64", - "type": "string" - }, - "resolution": { - "description": "Whether the issue can be resolved by the merchant.", - "type": "string" - }, - "servability": { - "description": "How this issue affects serving of the offer.", - "type": "string" - } - }, - "type": "object" - }, - "AccountStatusProducts": { - "id": "AccountStatusProducts", - "properties": { - "channel": { - "description": "The channel the data applies to. Acceptable values are: - \"`local`\" - \"`online`\" ", - "type": "string" - }, - "country": { - "description": "The country the data applies to.", - "type": "string" - }, - "destination": { - "description": "The destination the data applies to.", - "type": "string" - }, - "itemLevelIssues": { - "description": "List of item-level issues.", - "items": { - "$ref": "AccountStatusItemLevelIssue" - }, - "type": "array" - }, - "statistics": { - "$ref": "AccountStatusStatistics", - "description": "Aggregated product statistics." - } - }, - "type": "object" - }, - "AccountStatusStatistics": { - "id": "AccountStatusStatistics", - "properties": { - "active": { - "description": "Number of active offers.", - "format": "int64", - "type": "string" - }, - "disapproved": { - "description": "Number of disapproved offers.", - "format": "int64", - "type": "string" - }, - "expiring": { - "description": "Number of expiring offers.", - "format": "int64", - "type": "string" - }, - "pending": { - "description": "Number of pending offers.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AccountTax": { - "description": "The tax settings of a merchant account. All methods require the admin role.", - "id": "AccountTax", - "properties": { - "accountId": { - "description": "Required. The ID of the account to which these account tax settings belong.", - "format": "uint64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountTax\".", - "type": "string" - }, - "rules": { - "description": "Tax rules. Updating the tax rules will enable US taxes (not reversible). Defining no rules is equivalent to not charging tax at all.", - "items": { - "$ref": "AccountTaxTaxRule" - }, - "type": "array" - } - }, - "type": "object" - }, - "AccountTaxTaxRule": { - "description": "Tax calculation rule to apply in a state or province (USA only).", - "id": "AccountTaxTaxRule", - "properties": { - "country": { - "description": "Country code in which tax is applicable.", - "type": "string" - }, - "locationId": { - "description": "Required. State (or province) is which the tax is applicable, described by its location ID (also called criteria ID).", - "format": "uint64", - "type": "string" - }, - "ratePercent": { - "description": "Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative.", - "type": "string" - }, - "shippingTaxed": { - "description": "If true, shipping charges are also taxed.", - "type": "boolean" - }, - "useGlobalRate": { - "description": "Whether the tax rate is taken from a global tax table or specified explicitly.", - "type": "boolean" - } - }, - "type": "object" - }, - "AccountUser": { - "id": "AccountUser", - "properties": { - "admin": { - "description": "Whether user is an admin.", - "type": "boolean" - }, - "emailAddress": { - "description": "User's email address.", - "type": "string" - }, - "orderManager": { - "description": "Whether user is an order manager.", - "type": "boolean" - }, - "paymentsAnalyst": { - "description": "Whether user can access payment statements.", - "type": "boolean" - }, - "paymentsManager": { - "description": "Whether user can manage payment settings.", - "type": "boolean" - } - }, - "type": "object" - }, - "AccountYouTubeChannelLink": { - "id": "AccountYouTubeChannelLink", - "properties": { - "channelId": { - "description": "Channel ID.", - "type": "string" - }, - "status": { - "description": "Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.", - "type": "string" - } - }, - "type": "object" - }, - "AccountsAuthInfoResponse": { - "id": "AccountsAuthInfoResponse", - "properties": { - "accountIdentifiers": { - "description": "The account identifiers corresponding to the authenticated user. - For an individual account: only the merchant ID is defined - For an aggregator: only the aggregator ID is defined - For a subaccount of an MCA: both the merchant ID and the aggregator ID are defined. ", - "items": { - "$ref": "AccountIdentifier" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsAuthInfoResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "AccountsClaimWebsiteResponse": { - "id": "AccountsClaimWebsiteResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsClaimWebsiteResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "AccountsCustomBatchRequest": { - "id": "AccountsCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "AccountsCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "AccountsCustomBatchRequestEntry": { - "description": "A batch entry encoding a single non-batch accounts request.", - "id": "AccountsCustomBatchRequestEntry", - "properties": { - "account": { - "$ref": "Account", - "description": "The account to create or update. Only defined if the method is `insert` or `update`." - }, - "accountId": { - "description": "The ID of the targeted account. Only defined if the method is not `insert`.", - "format": "uint64", - "type": "string" - }, - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "force": { - "description": "Whether the account should be deleted if the account has offers. Only applicable if the method is `delete`.", - "type": "boolean" - }, - "labelIds": { - "description": "Label IDs for the 'updatelabels' request.", - "items": { - "format": "uint64", - "type": "string" - }, - "type": "array" - }, - "linkRequest": { - "$ref": "AccountsCustomBatchRequestEntryLinkRequest", - "description": "Details about the `link` request." - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "The method of the batch entry. Acceptable values are: - \"`claimWebsite`\" - \"`delete`\" - \"`get`\" - \"`insert`\" - \"`link`\" - \"`update`\" ", - "type": "string" - }, - "overwrite": { - "description": "Only applicable if the method is `claimwebsite`. Indicates whether or not to take the claim from another account in case there is a conflict.", - "type": "boolean" - } - }, - "type": "object" - }, - "AccountsCustomBatchRequestEntryLinkRequest": { - "id": "AccountsCustomBatchRequestEntryLinkRequest", - "properties": { - "action": { - "description": "Action to perform for this link. The `\"request\"` action is only available to select merchants. Acceptable values are: - \"`approve`\" - \"`remove`\" - \"`request`\" ", - "type": "string" - }, - "linkType": { - "description": "Type of the link between the two accounts. Acceptable values are: - \"`channelPartner`\" - \"`eCommercePlatform`\" ", - "type": "string" - }, - "linkedAccountId": { - "description": "The ID of the linked account.", - "type": "string" - } - }, - "type": "object" - }, - "AccountsCustomBatchResponse": { - "id": "AccountsCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "AccountsCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsCustomBatchResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "AccountsCustomBatchResponseEntry": { - "description": "A batch entry encoding a single non-batch accounts response.", - "id": "AccountsCustomBatchResponseEntry", - "properties": { - "account": { - "$ref": "Account", - "description": "The retrieved, created, or updated account. Not defined if the method was `delete`, `claimwebsite` or `link`." - }, - "batchId": { - "description": "The ID of the request entry this entry responds to.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if and only if the request failed." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsCustomBatchResponseEntry`\"", - "type": "string" - }, - "linkStatus": { - "description": "Deprecated. This field is never set. Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ", - "type": "string" - } - }, - "type": "object" - }, - "AccountsLinkRequest": { - "id": "AccountsLinkRequest", - "properties": { - "action": { - "description": "Action to perform for this link. The `\"request\"` action is only available to select merchants. Acceptable values are: - \"`approve`\" - \"`remove`\" - \"`request`\" ", - "type": "string" - }, - "linkType": { - "description": "Type of the link between the two accounts. Acceptable values are: - \"`channelPartner`\" - \"`eCommercePlatform`\" ", - "type": "string" - }, - "linkedAccountId": { - "description": "The ID of the linked account.", - "type": "string" - } - }, - "type": "object" - }, - "AccountsLinkResponse": { - "id": "AccountsLinkResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsLinkResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "AccountsListResponse": { - "id": "AccountsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of accounts.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "Account" - }, - "type": "array" - } - }, - "type": "object" - }, - "AccountstatusesCustomBatchRequest": { - "id": "AccountstatusesCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "AccountstatusesCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "AccountstatusesCustomBatchRequestEntry": { - "description": "A batch entry encoding a single non-batch accountstatuses request.", - "id": "AccountstatusesCustomBatchRequestEntry", - "properties": { - "accountId": { - "description": "The ID of the (sub-)account whose status to get.", - "format": "uint64", - "type": "string" - }, - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "destinations": { - "description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", - "items": { - "type": "string" - }, - "type": "array" - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "The method of the batch entry. Acceptable values are: - \"`get`\" ", - "type": "string" - } - }, - "type": "object" - }, - "AccountstatusesCustomBatchResponse": { - "id": "AccountstatusesCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "AccountstatusesCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountstatusesCustomBatchResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "AccountstatusesCustomBatchResponseEntry": { - "description": "A batch entry encoding a single non-batch accountstatuses response.", - "id": "AccountstatusesCustomBatchResponseEntry", - "properties": { - "accountStatus": { - "$ref": "AccountStatus", - "description": "The requested account status. Defined if and only if the request was successful." - }, - "batchId": { - "description": "The ID of the request entry this entry responds to.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if and only if the request failed." - } - }, - "type": "object" - }, - "AccountstatusesListResponse": { - "id": "AccountstatusesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountstatusesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of account statuses.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "AccountStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "AccounttaxCustomBatchRequest": { - "id": "AccounttaxCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "AccounttaxCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "AccounttaxCustomBatchRequestEntry": { - "description": "A batch entry encoding a single non-batch accounttax request.", - "id": "AccounttaxCustomBatchRequestEntry", - "properties": { - "accountId": { - "description": "The ID of the account for which to get/update account tax settings.", - "format": "uint64", - "type": "string" - }, - "accountTax": { - "$ref": "AccountTax", - "description": "The account tax settings to update. Only defined if the method is `update`." - }, - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "The method of the batch entry. Acceptable values are: - \"`get`\" - \"`update`\" ", - "type": "string" - } - }, - "type": "object" - }, - "AccounttaxCustomBatchResponse": { - "id": "AccounttaxCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "AccounttaxCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accounttaxCustomBatchResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "AccounttaxCustomBatchResponseEntry": { - "description": "A batch entry encoding a single non-batch accounttax response.", - "id": "AccounttaxCustomBatchResponseEntry", - "properties": { - "accountTax": { - "$ref": "AccountTax", - "description": "The retrieved or updated account tax settings." - }, - "batchId": { - "description": "The ID of the request entry this entry responds to.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if and only if the request failed." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accounttaxCustomBatchResponseEntry`\"", - "type": "string" - } - }, - "type": "object" - }, - "AccounttaxListResponse": { - "id": "AccounttaxListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accounttaxListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of account tax settings.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "AccountTax" - }, - "type": "array" - } - }, - "type": "object" - }, - "Address": { - "id": "Address", - "properties": { - "administrativeArea": { - "description": "Required. Top-level administrative subdivision of the country. For example, a state like California (\"CA\") or a province like Quebec (\"QC\").", - "type": "string" - }, - "city": { - "description": "Required. City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).", - "type": "string" - }, - "country": { - "description": "Required. [CLDR country code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)(e.g. \"US\").", - "type": "string" - }, - "postalCode": { - "description": "Required. Postal code or ZIP (e.g. \"94043\"). Required.", - "type": "string" - }, - "streetAddress": { - "description": "Street-level part of the address.", - "type": "string" - } - }, - "type": "object" - }, - "Amount": { - "id": "Amount", - "properties": { - "pretax": { - "$ref": "Price", - "description": "[required] Value before taxes." - }, - "tax": { - "$ref": "Price", - "description": "[required] Tax value." - } - }, - "type": "object" - }, - "BusinessDayConfig": { - "id": "BusinessDayConfig", - "properties": { - "businessDays": { - "description": "Regular business days, such as '\"monday\"'. May not be empty.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CarrierRate": { - "id": "CarrierRate", - "properties": { - "carrierName": { - "description": "Carrier service, such as `\"UPS\"` or `\"Fedex\"`. The list of supported carriers can be retrieved via the `getSupportedCarriers` method. Required.", - "type": "string" - }, - "carrierService": { - "description": "Carrier service, such as `\"ground\"` or `\"2 days\"`. The list of supported services for a carrier can be retrieved via the `getSupportedCarriers` method. Required.", - "type": "string" - }, - "flatAdjustment": { - "$ref": "Price", - "description": "Additive shipping rate modifier. Can be negative. For example `{ \"value\": \"1\", \"currency\" : \"USD\" }` adds $1 to the rate, `{ \"value\": \"-3\", \"currency\" : \"USD\" }` removes $3 from the rate. Optional." - }, - "name": { - "description": "Name of the carrier rate. Must be unique per rate group. Required.", - "type": "string" - }, - "originPostalCode": { - "description": "Shipping origin for this carrier rate. Required.", - "type": "string" - }, - "percentageAdjustment": { - "description": "Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example `\"5.4\"` increases the rate by 5.4%, `\"-3\"` decreases the rate by 3%. Optional.", - "type": "string" - } - }, - "type": "object" - }, - "CarriersCarrier": { - "id": "CarriersCarrier", - "properties": { - "country": { - "description": "The CLDR country code of the carrier (e.g., \"US\"). Always present.", - "type": "string" - }, - "eddServices": { - "description": "A list of services supported for EDD (Estimated Delivery Date) calculation. This is the list of valid values for WarehouseBasedDeliveryTime.carrierService.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "The name of the carrier (e.g., `\"UPS\"`). Always present.", - "type": "string" - }, - "services": { - "description": "A list of supported services (e.g., `\"ground\"`) for that carrier. Contains at least one service. This is the list of valid values for CarrierRate.carrierService.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomAttribute": { - "id": "CustomAttribute", - "properties": { - "name": { - "description": "The name of the attribute. Underscores will be replaced by spaces upon insertion.", - "type": "string" - }, - "type": { - "description": "The type of the attribute. Acceptable values are: - \"`boolean`\" - \"`datetimerange`\" - \"`float`\" - \"`group`\" - \"`int`\" - \"`price`\" - \"`text`\" - \"`time`\" - \"`url`\" ", - "type": "string" - }, - "unit": { - "description": "Free-form unit of the attribute. Unit can only be used for values of type int, float, or price.", - "type": "string" - }, - "value": { - "description": "The value of the attribute.", - "type": "string" - } - }, - "type": "object" - }, - "CustomGroup": { - "id": "CustomGroup", - "properties": { - "attributes": { - "description": "The sub-attributes.", - "items": { - "$ref": "CustomAttribute" - }, - "type": "array" - }, - "name": { - "description": "The name of the group. Underscores will be replaced by spaces upon insertion.", - "type": "string" - } - }, - "type": "object" - }, - "CustomerReturnReason": { - "id": "CustomerReturnReason", - "properties": { - "description": { - "description": "Description of the reason.", - "type": "string" - }, - "reasonCode": { - "description": "Code of the return reason. Acceptable values are: - \"`betterPriceFound`\" - \"`changedMind`\" - \"`damagedOrDefectiveItem`\" - \"`didNotMatchDescription`\" - \"`doesNotFit`\" - \"`expiredItem`\" - \"`incorrectItemReceived`\" - \"`noLongerNeeded`\" - \"`notSpecified`\" - \"`orderedWrongItem`\" - \"`other`\" - \"`qualityNotExpected`\" - \"`receivedTooLate`\" - \"`undeliverable`\" ", - "type": "string" - } - }, - "type": "object" - }, - "CutoffTime": { - "id": "CutoffTime", - "properties": { - "hour": { - "description": "Hour of the cutoff time until which an order has to be placed to be processed in the same day. Required.", - "format": "uint32", - "type": "integer" - }, - "minute": { - "description": "Minute of the cutoff time until which an order has to be placed to be processed in the same day. Required.", - "format": "uint32", - "type": "integer" - }, - "timezone": { - "description": "Timezone identifier for the cutoff time. A list of identifiers can be found in the AdWords API documentation. E.g. \"Europe/Zurich\". Required.", - "type": "string" - } - }, - "type": "object" - }, - "Datafeed": { - "description": "Datafeed configuration data.", - "id": "Datafeed", - "properties": { - "attributeLanguage": { - "description": "The two-letter ISO 639-1 language in which the attributes are defined in the data feed.", - "type": "string" - }, - "contentLanguage": { - "description": "[DEPRECATED] Please use targets[].language instead. The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targetCountry`.", - "type": "string" - }, - "contentType": { - "description": "Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - \"`local products`\" - \"`product inventory`\" - \"`products`\" ", - "type": "string" - }, - "fetchSchedule": { - "$ref": "DatafeedFetchSchedule", - "description": "Fetch schedule for the feed file." - }, - "fileName": { - "description": "Required. The filename of the feed. All feeds must have a unique file name.", - "type": "string" - }, - "format": { - "$ref": "DatafeedFormat", - "description": "Format of the feed file." - }, - "id": { - "description": "Required for update. The ID of the data feed.", - "format": "int64", - "type": "string" - }, - "intendedDestinations": { - "description": "[DEPRECATED] Please use targets[].includedDestinations instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center).", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeed`\"", - "type": "string" - }, - "name": { - "description": "Required for insert. A descriptive name of the data feed.", - "type": "string" - }, - "targetCountry": { - "description": "[DEPRECATED] Please use targets[].country instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.", - "type": "string" - }, - "targets": { - "description": "The targets this feed should apply to (country, language, destinations).", - "items": { - "$ref": "DatafeedTarget" - }, - "type": "array" - } - }, - "type": "object" - }, - "DatafeedFetchSchedule": { - "description": "The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required.", - "id": "DatafeedFetchSchedule", - "properties": { - "dayOfMonth": { - "description": "The day of the month the feed file should be fetched (1-31).", - "format": "uint32", - "type": "integer" - }, - "fetchUrl": { - "description": "The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.", - "type": "string" - }, - "hour": { - "description": "The hour of the day the feed file should be fetched (0-23).", - "format": "uint32", - "type": "integer" - }, - "minuteOfHour": { - "description": "The minute of the hour the feed file should be fetched (0-59). Read-only.", - "format": "uint32", - "type": "integer" - }, - "password": { - "description": "An optional password for fetch_url.", - "type": "string" - }, - "paused": { - "description": "Whether the scheduled fetch is paused or not.", - "type": "boolean" - }, - "timeZone": { - "description": "Time zone used for schedule. UTC by default. E.g., \"America/Los_Angeles\".", - "type": "string" - }, - "username": { - "description": "An optional user name for fetch_url.", - "type": "string" - }, - "weekday": { - "description": "The day of the week the feed file should be fetched. Acceptable values are: - \"`monday`\" - \"`tuesday`\" - \"`wednesday`\" - \"`thursday`\" - \"`friday`\" - \"`saturday`\" - \"`sunday`\" ", - "type": "string" - } - }, - "type": "object" - }, - "DatafeedFormat": { - "id": "DatafeedFormat", - "properties": { - "columnDelimiter": { - "description": "Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - \"`pipe`\" - \"`tab`\" - \"`tilde`\" ", - "type": "string" - }, - "fileEncoding": { - "description": "Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - \"`latin-1`\" - \"`utf-16be`\" - \"`utf-16le`\" - \"`utf-8`\" - \"`windows-1252`\" ", - "type": "string" - }, - "quotingMode": { - "description": "Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - \"`normal character`\" - \"`value quoting`\" ", - "type": "string" - } - }, - "type": "object" - }, - "DatafeedStatus": { - "description": "The status of a datafeed, i.e., the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.", - "id": "DatafeedStatus", - "properties": { - "country": { - "description": "The country for which the status is reported, represented as a CLDR territory code.", - "type": "string" - }, - "datafeedId": { - "description": "The ID of the feed for which the status is reported.", - "format": "uint64", - "type": "string" - }, - "errors": { - "description": "The list of errors occurring in the feed.", - "items": { - "$ref": "DatafeedStatusError" - }, - "type": "array" - }, - "itemsTotal": { - "description": "The number of items in the feed that were processed.", - "format": "uint64", - "type": "string" - }, - "itemsValid": { - "description": "The number of items in the feed that were valid.", - "format": "uint64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedStatus`\"", - "type": "string" - }, - "language": { - "description": "The two-letter ISO 639-1 language for which the status is reported.", - "type": "string" - }, - "lastUploadDate": { - "description": "The last date at which the feed was uploaded.", - "type": "string" - }, - "processingStatus": { - "description": "The processing status of the feed. Acceptable values are: - \"`\"`failure`\": The feed could not be processed or all items had errors.`\" - \"`in progress`\": The feed is being processed. - \"`none`\": The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status. - \"`success`\": The feed was processed successfully, though some items might have had errors. ", - "type": "string" - }, - "warnings": { - "description": "The list of errors occurring in the feed.", - "items": { - "$ref": "DatafeedStatusError" - }, - "type": "array" - } - }, - "type": "object" - }, - "DatafeedStatusError": { - "description": "An error occurring in the feed, like \"invalid price\".", - "id": "DatafeedStatusError", - "properties": { - "code": { - "description": "The code of the error, e.g., \"validation/invalid_value\".", - "type": "string" - }, - "count": { - "description": "The number of occurrences of the error in the feed.", - "format": "uint64", - "type": "string" - }, - "examples": { - "description": "A list of example occurrences of the error, grouped by product.", - "items": { - "$ref": "DatafeedStatusExample" - }, - "type": "array" - }, - "message": { - "description": "The error message, e.g., \"Invalid price\".", - "type": "string" - } - }, - "type": "object" - }, - "DatafeedStatusExample": { - "description": "An example occurrence for a particular error.", - "id": "DatafeedStatusExample", - "properties": { - "itemId": { - "description": "The ID of the example item.", - "type": "string" - }, - "lineNumber": { - "description": "Line number in the data feed where the example is found.", - "format": "uint64", - "type": "string" - }, - "value": { - "description": "The problematic value.", - "type": "string" - } - }, - "type": "object" - }, - "DatafeedTarget": { - "id": "DatafeedTarget", - "properties": { - "country": { - "description": "The country where the items in the feed will be included in the search index, represented as a CLDR territory code.", - "type": "string" - }, - "excludedDestinations": { - "description": "The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).", - "items": { - "type": "string" - }, - "type": "array" - }, - "includedDestinations": { - "description": "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`. List of supported destinations (if available to the account): - DisplayAds - Shopping - ShoppingActions - SurfacesAcrossGoogle ", - "items": { - "type": "string" - }, - "type": "array" - }, - "language": { - "description": "The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.", - "type": "string" - } - }, - "type": "object" - }, - "DatafeedsCustomBatchRequest": { - "id": "DatafeedsCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "DatafeedsCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "DatafeedsCustomBatchRequestEntry": { - "description": "A batch entry encoding a single non-batch datafeeds request.", - "id": "DatafeedsCustomBatchRequestEntry", - "properties": { - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "datafeed": { - "$ref": "Datafeed", - "description": "The data feed to insert." - }, - "datafeedId": { - "description": "The ID of the data feed to get, delete or fetch.", - "format": "uint64", - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "The method of the batch entry. Acceptable values are: - \"`delete`\" - \"`fetchNow`\" - \"`get`\" - \"`insert`\" - \"`update`\" ", - "type": "string" - } - }, - "type": "object" - }, - "DatafeedsCustomBatchResponse": { - "id": "DatafeedsCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "DatafeedsCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedsCustomBatchResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "DatafeedsCustomBatchResponseEntry": { - "description": "A batch entry encoding a single non-batch datafeeds response.", - "id": "DatafeedsCustomBatchResponseEntry", - "properties": { - "batchId": { - "description": "The ID of the request entry this entry responds to.", - "format": "uint32", - "type": "integer" - }, - "datafeed": { - "$ref": "Datafeed", - "description": "The requested data feed. Defined if and only if the request was successful." - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if and only if the request failed." - } - }, - "type": "object" - }, - "DatafeedsFetchNowResponse": { - "id": "DatafeedsFetchNowResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedsFetchNowResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "DatafeedsListResponse": { - "id": "DatafeedsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of datafeeds.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "Datafeed" - }, - "type": "array" - } - }, - "type": "object" - }, - "DatafeedstatusesCustomBatchRequest": { - "id": "DatafeedstatusesCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "DatafeedstatusesCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "DatafeedstatusesCustomBatchRequestEntry": { - "description": "A batch entry encoding a single non-batch datafeedstatuses request.", - "id": "DatafeedstatusesCustomBatchRequestEntry", - "properties": { - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "country": { - "description": "The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that for multi-target datafeeds this parameter is required.", - "type": "string" - }, - "datafeedId": { - "description": "The ID of the data feed to get.", - "format": "uint64", - "type": "string" - }, - "language": { - "description": "The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that for multi-target datafeeds this parameter is required.", - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "The method of the batch entry. Acceptable values are: - \"`get`\" ", - "type": "string" - } - }, - "type": "object" - }, - "DatafeedstatusesCustomBatchResponse": { - "id": "DatafeedstatusesCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "DatafeedstatusesCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedstatusesCustomBatchResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "DatafeedstatusesCustomBatchResponseEntry": { - "description": "A batch entry encoding a single non-batch datafeedstatuses response.", - "id": "DatafeedstatusesCustomBatchResponseEntry", - "properties": { - "batchId": { - "description": "The ID of the request entry this entry responds to.", - "format": "uint32", - "type": "integer" - }, - "datafeedStatus": { - "$ref": "DatafeedStatus", - "description": "The requested data feed status. Defined if and only if the request was successful." - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if and only if the request failed." - } - }, - "type": "object" - }, - "DatafeedstatusesListResponse": { - "id": "DatafeedstatusesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedstatusesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of datafeed statuses.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "DatafeedStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "DeliveryTime": { - "id": "DeliveryTime", - "properties": { - "cutoffTime": { - "$ref": "CutoffTime", - "description": "Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST." - }, - "handlingBusinessDayConfig": { - "$ref": "BusinessDayConfig", - "description": "The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed." - }, - "holidayCutoffs": { - "description": "Holiday cutoff definitions. If configured, they specify order cutoff times for holiday-specific shipping.", - "items": { - "$ref": "HolidayCutoff" - }, - "type": "array" - }, - "maxHandlingTimeInDays": { - "description": "Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to `minHandlingTimeInDays`.", - "format": "uint32", - "type": "integer" - }, - "maxTransitTimeInDays": { - "description": "Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to `minTransitTimeInDays`.", - "format": "uint32", - "type": "integer" - }, - "minHandlingTimeInDays": { - "description": "Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped.", - "format": "uint32", - "type": "integer" - }, - "minTransitTimeInDays": { - "description": "Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either `{min,max}TransitTimeInDays` or `transitTimeTable` must be set, but not both.", - "format": "uint32", - "type": "integer" - }, - "transitBusinessDayConfig": { - "$ref": "BusinessDayConfig", - "description": "The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed." - }, - "transitTimeTable": { - "$ref": "TransitTable", - "description": "Transit time table, number of business days spent in transit based on row and column dimensions. Either `{min,max}TransitTimeInDays` or `transitTimeTable` can be set, but not both." - }, - "warehouseBasedDeliveryTimes": { - "description": "Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in DeliveryTime should be set.", - "items": { - "$ref": "WarehouseBasedDeliveryTime" - }, - "type": "array" - } - }, - "type": "object" - }, - "Error": { - "description": "An error returned by the API.", - "id": "Error", - "properties": { - "domain": { - "description": "The domain of the error.", - "type": "string" - }, - "message": { - "description": "A description of the error.", - "type": "string" - }, - "reason": { - "description": "The error code.", - "type": "string" - } - }, - "type": "object" - }, - "Errors": { - "description": "A list of errors returned by a failed batch entry.", - "id": "Errors", - "properties": { - "code": { - "description": "The HTTP status of the first error in `errors`.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "description": "A list of errors.", - "items": { - "$ref": "Error" - }, - "type": "array" - }, - "message": { - "description": "The message of the first error in `errors`.", - "type": "string" - } - }, - "type": "object" - }, - "GmbAccounts": { - "id": "GmbAccounts", - "properties": { - "accountId": { - "description": "The ID of the Merchant Center account.", - "format": "uint64", - "type": "string" - }, - "gmbAccounts": { - "description": "A list of GMB accounts which are available to the merchant.", - "items": { - "$ref": "GmbAccountsGmbAccount" - }, - "type": "array" - } - }, - "type": "object" - }, - "GmbAccountsGmbAccount": { - "id": "GmbAccountsGmbAccount", - "properties": { - "email": { - "description": "The email which identifies the GMB account.", - "type": "string" - }, - "listingCount": { - "description": "Number of listings under this account.", - "format": "uint64", - "type": "string" - }, - "name": { - "description": "The name of the GMB account.", - "type": "string" - }, - "type": { - "description": "The type of the GMB account (User or Business).", - "type": "string" - } - }, - "type": "object" - }, - "Headers": { - "description": "A non-empty list of row or column headers for a table. Exactly one of `prices`, `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.", - "id": "Headers", - "properties": { - "locations": { - "description": "A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.", - "items": { - "$ref": "LocationIdSet" - }, - "type": "array" - }, - "numberOfItems": { - "description": "A list of inclusive number of items upper bounds. The last value can be `\"infinity\"`. For example `[\"10\", \"50\", \"infinity\"]` represents the headers \"<= 10 items\", \"<= 50 items\", and \"> 50 items\". Must be non-empty. Can only be set if all other fields are not set.", - "items": { - "type": "string" - }, - "type": "array" - }, - "postalCodeGroupNames": { - "description": "A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.", - "items": { - "type": "string" - }, - "type": "array" - }, - "prices": { - "description": "A list of inclusive order price upper bounds. The last price's value can be `\"infinity\"`. For example `[{\"value\": \"10\", \"currency\": \"USD\"}, {\"value\": \"500\", \"currency\": \"USD\"}, {\"value\": \"infinity\", \"currency\": \"USD\"}]` represents the headers \"<= $10\", \"<= $500\", and \"> $500\". All prices within a service must have the same currency. Must be non-empty. Can only be set if all other fields are not set.", - "items": { - "$ref": "Price" - }, - "type": "array" - }, - "weights": { - "description": "A list of inclusive order weight upper bounds. The last weight's value can be `\"infinity\"`. For example `[{\"value\": \"10\", \"unit\": \"kg\"}, {\"value\": \"50\", \"unit\": \"kg\"}, {\"value\": \"infinity\", \"unit\": \"kg\"}]` represents the headers \"<= 10kg\", \"<= 50kg\", and \"> 50kg\". All weights within a service must have the same unit. Must be non-empty. Can only be set if all other fields are not set.", - "items": { - "$ref": "Weight" - }, - "type": "array" - } - }, - "type": "object" - }, - "HolidayCutoff": { - "id": "HolidayCutoff", - "properties": { - "deadlineDate": { - "description": "Date of the order deadline, in ISO 8601 format. E.g. \"2016-11-29\" for 29th November 2016. Required.", - "type": "string" - }, - "deadlineHour": { - "description": "Hour of the day on the deadline date until which the order has to be placed to qualify for the delivery guarantee. Possible values are: 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Required.", - "format": "uint32", - "type": "integer" - }, - "deadlineTimezone": { - "description": "Timezone identifier for the deadline hour. A list of identifiers can be found in the AdWords API documentation. E.g. \"Europe/Zurich\". Required.", - "type": "string" - }, - "holidayId": { - "description": "Unique identifier for the holiday. Required.", - "type": "string" - }, - "visibleFromDate": { - "description": "Date on which the deadline will become visible to consumers in ISO 8601 format. E.g. \"2016-10-31\" for 31st October 2016. Required.", - "type": "string" - } - }, - "type": "object" - }, - "HolidaysHoliday": { - "id": "HolidaysHoliday", - "properties": { - "countryCode": { - "description": "The CLDR territory code of the country in which the holiday is available. E.g. \"US\", \"DE\", \"GB\". A holiday cutoff can only be configured in a shipping settings service with matching delivery country. Always present.", - "type": "string" - }, - "date": { - "description": "Date of the holiday, in ISO 8601 format. E.g. \"2016-12-25\" for Christmas 2016. Always present.", - "type": "string" - }, - "deliveryGuaranteeDate": { - "description": "Date on which the order has to arrive at the customer's, in ISO 8601 format. E.g. \"2016-12-24\" for 24th December 2016. Always present.", - "type": "string" - }, - "deliveryGuaranteeHour": { - "description": "Hour of the day in the delivery location's timezone on the guaranteed delivery date by which the order has to arrive at the customer's. Possible values are: 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Always present.", - "format": "uint64", - "type": "string" - }, - "id": { - "description": "Unique identifier for the holiday to be used when configuring holiday cutoffs. Always present.", - "type": "string" - }, - "type": { - "description": "The holiday type. Always present. Acceptable values are: - \"`Christmas`\" - \"`Easter`\" - \"`Father's Day`\" - \"`Halloween`\" - \"`Independence Day (USA)`\" - \"`Mother's Day`\" - \"`Thanksgiving`\" - \"`Valentine's Day`\" ", - "type": "string" - } - }, - "type": "object" - }, - "Installment": { - "id": "Installment", - "properties": { - "amount": { - "$ref": "Price", - "description": "The amount the buyer has to pay per month." - }, - "months": { - "description": "The number of installments the buyer has to pay.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "InvoiceSummary": { - "id": "InvoiceSummary", - "properties": { - "additionalChargeSummaries": { - "description": "Summary of the total amounts of the additional charges.", - "items": { - "$ref": "InvoiceSummaryAdditionalChargeSummary" - }, - "type": "array" - }, - "customerBalance": { - "$ref": "Amount", - "description": "Deprecated." - }, - "googleBalance": { - "$ref": "Amount", - "description": "Deprecated." - }, - "merchantBalance": { - "$ref": "Amount", - "description": "Deprecated." - }, - "productTotal": { - "$ref": "Amount", - "description": "[required] Total price for the product." - }, - "promotionSummaries": { - "description": "Deprecated.", - "items": { - "$ref": "Promotion" - }, - "type": "array" - } - }, - "type": "object" - }, - "InvoiceSummaryAdditionalChargeSummary": { - "id": "InvoiceSummaryAdditionalChargeSummary", - "properties": { - "totalAmount": { - "$ref": "Amount", - "description": "[required] Total additional charge for this type." - }, - "type": { - "description": "[required] Type of the additional charge. Acceptable values are: - \"`shipping`\" ", - "type": "string" - } - }, - "type": "object" - }, - "LiaAboutPageSettings": { - "id": "LiaAboutPageSettings", - "properties": { - "status": { - "description": "The status of the verification process for the About page. Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ", - "type": "string" - }, - "url": { - "description": "The URL for the About page.", - "type": "string" - } - }, - "type": "object" - }, - "LiaCountrySettings": { - "id": "LiaCountrySettings", - "properties": { - "about": { - "$ref": "LiaAboutPageSettings", - "description": "The settings for the About page." - }, - "country": { - "description": "Required. CLDR country code (e.g. \"US\").", - "type": "string" - }, - "hostedLocalStorefrontActive": { - "description": "The status of the \"Merchant hosted local storefront\" feature.", - "type": "boolean" - }, - "inventory": { - "$ref": "LiaInventorySettings", - "description": "LIA inventory verification settings." - }, - "onDisplayToOrder": { - "$ref": "LiaOnDisplayToOrderSettings", - "description": "LIA \"On Display To Order\" settings." - }, - "posDataProvider": { - "$ref": "LiaPosDataProvider", - "description": "The POS data provider linked with this country." - }, - "storePickupActive": { - "description": "The status of the \"Store pickup\" feature.", - "type": "boolean" - } - }, - "type": "object" - }, - "LiaInventorySettings": { - "id": "LiaInventorySettings", - "properties": { - "inventoryVerificationContactEmail": { - "description": "The email of the contact for the inventory verification process.", - "type": "string" - }, - "inventoryVerificationContactName": { - "description": "The name of the contact for the inventory verification process.", - "type": "string" - }, - "inventoryVerificationContactStatus": { - "description": "The status of the verification contact. Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ", - "type": "string" - }, - "status": { - "description": "The status of the inventory verification process. Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ", - "type": "string" - } - }, - "type": "object" - }, - "LiaOnDisplayToOrderSettings": { - "id": "LiaOnDisplayToOrderSettings", - "properties": { - "shippingCostPolicyUrl": { - "description": "Shipping cost and policy URL.", - "type": "string" - }, - "status": { - "description": "The status of the ?On display to order? feature. Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ", - "type": "string" - } - }, - "type": "object" - }, - "LiaPosDataProvider": { - "id": "LiaPosDataProvider", - "properties": { - "posDataProviderId": { - "description": "The ID of the POS data provider.", - "format": "uint64", - "type": "string" - }, - "posExternalAccountId": { - "description": "The account ID by which this merchant is known to the POS data provider.", - "type": "string" - } - }, - "type": "object" - }, - "LiaSettings": { - "description": "Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role.", - "id": "LiaSettings", - "properties": { - "accountId": { - "description": "The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses.", - "format": "uint64", - "type": "string" - }, - "countrySettings": { - "description": "The LIA settings for each country.", - "items": { - "$ref": "LiaCountrySettings" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liaSettings`\"", - "type": "string" - } - }, - "type": "object" - }, - "LiasettingsCustomBatchRequest": { - "id": "LiasettingsCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "LiasettingsCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "LiasettingsCustomBatchRequestEntry": { - "id": "LiasettingsCustomBatchRequestEntry", - "properties": { - "accountId": { - "description": "The ID of the account for which to get/update account LIA settings.", - "format": "uint64", - "type": "string" - }, - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "contactEmail": { - "description": "Inventory validation contact email. Required only for SetInventoryValidationContact.", - "type": "string" - }, - "contactName": { - "description": "Inventory validation contact name. Required only for SetInventoryValidationContact.", - "type": "string" - }, - "country": { - "description": "The country code. Required only for RequestInventoryVerification.", - "type": "string" - }, - "gmbEmail": { - "description": "The GMB account. Required only for RequestGmbAccess.", - "type": "string" - }, - "liaSettings": { - "$ref": "LiaSettings", - "description": "The account Lia settings to update. Only defined if the method is `update`." - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "The method of the batch entry. Acceptable values are: - \"`get`\" - \"`getAccessibleGmbAccounts`\" - \"`requestGmbAccess`\" - \"`requestInventoryVerification`\" - \"`setInventoryVerificationContact`\" - \"`update`\" ", - "type": "string" - }, - "posDataProviderId": { - "description": "The ID of POS data provider. Required only for SetPosProvider.", - "format": "uint64", - "type": "string" - }, - "posExternalAccountId": { - "description": "The account ID by which this merchant is known to the POS provider.", - "type": "string" - } - }, - "type": "object" - }, - "LiasettingsCustomBatchResponse": { - "id": "LiasettingsCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "LiasettingsCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liasettingsCustomBatchResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "LiasettingsCustomBatchResponseEntry": { - "id": "LiasettingsCustomBatchResponseEntry", - "properties": { - "batchId": { - "description": "The ID of the request entry to which this entry responds.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if, and only if, the request failed." - }, - "gmbAccounts": { - "$ref": "GmbAccounts", - "description": "The list of accessible GMB accounts." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsCustomBatchResponseEntry`\"", - "type": "string" - }, - "liaSettings": { - "$ref": "LiaSettings", - "description": "The retrieved or updated Lia settings." - }, - "posDataProviders": { - "description": "The list of POS data providers.", - "items": { - "$ref": "PosDataProviders" - }, - "type": "array" - } - }, - "type": "object" - }, - "LiasettingsGetAccessibleGmbAccountsResponse": { - "id": "LiasettingsGetAccessibleGmbAccountsResponse", - "properties": { - "accountId": { - "description": "The ID of the Merchant Center account.", - "format": "uint64", - "type": "string" - }, - "gmbAccounts": { - "description": "A list of GMB accounts which are available to the merchant.", - "items": { - "$ref": "GmbAccountsGmbAccount" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liasettingsGetAccessibleGmbAccountsResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "LiasettingsListPosDataProvidersResponse": { - "id": "LiasettingsListPosDataProvidersResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liasettingsListPosDataProvidersResponse\".", - "type": "string" - }, - "posDataProviders": { - "description": "The list of POS data providers for each eligible country", - "items": { - "$ref": "PosDataProviders" - }, - "type": "array" - } - }, - "type": "object" - }, - "LiasettingsListResponse": { - "id": "LiasettingsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liasettingsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of LIA settings.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "LiaSettings" - }, - "type": "array" - } - }, - "type": "object" - }, - "LiasettingsRequestGmbAccessResponse": { - "id": "LiasettingsRequestGmbAccessResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liasettingsRequestGmbAccessResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "LiasettingsRequestInventoryVerificationResponse": { - "id": "LiasettingsRequestInventoryVerificationResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liasettingsRequestInventoryVerificationResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "LiasettingsSetInventoryVerificationContactResponse": { - "id": "LiasettingsSetInventoryVerificationContactResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liasettingsSetInventoryVerificationContactResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "LiasettingsSetPosDataProviderResponse": { - "id": "LiasettingsSetPosDataProviderResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#liasettingsSetPosDataProviderResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "LocationIdSet": { - "id": "LocationIdSet", - "properties": { - "locationIds": { - "description": "A non-empty list of location IDs. They must all be of the same location type (e.g., state).", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "LoyaltyPoints": { - "id": "LoyaltyPoints", - "properties": { - "name": { - "description": "Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.", - "type": "string" - }, - "pointsValue": { - "description": "The retailer's loyalty points in absolute value.", - "format": "int64", - "type": "string" - }, - "ratio": { - "description": "The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "MerchantOrderReturn": { - "description": "Order return. Production access (all methods) requires the order manager role. Sandbox access does not.", - "id": "MerchantOrderReturn", - "properties": { - "creationDate": { - "description": "The date of creation of the return, in ISO 8601 format.", - "type": "string" - }, - "merchantOrderId": { - "description": "Merchant defined order ID.", - "type": "string" - }, - "orderId": { - "description": "Google order ID.", - "type": "string" - }, - "orderReturnId": { - "description": "Order return ID generated by Google.", - "type": "string" - }, - "returnItems": { - "description": "Items of the return.", - "items": { - "$ref": "MerchantOrderReturnItem" - }, - "type": "array" - }, - "returnShipments": { - "description": "Shipments of the return.", - "items": { - "$ref": "ReturnShipment" - }, - "type": "array" - } - }, - "type": "object" - }, - "MerchantOrderReturnItem": { - "id": "MerchantOrderReturnItem", - "properties": { - "customerReturnReason": { - "$ref": "CustomerReturnReason", - "description": "The reason that the customer chooses to return an item." - }, - "itemId": { - "description": "Product level item ID. If the returned items are of the same product, they will have the same ID.", - "type": "string" - }, - "merchantReturnReason": { - "$ref": "RefundReason", - "description": "The reason that merchant chooses to accept a return item." - }, - "product": { - "$ref": "OrderLineItemProduct", - "description": "Product data from the time of the order placement." - }, - "returnShipmentIds": { - "description": "IDs of the return shipments that this return item belongs to.", - "items": { - "type": "string" - }, - "type": "array" - }, - "state": { - "description": "State of the item. Acceptable values are: - \"`canceled`\" - \"`new`\" - \"`received`\" - \"`refunded`\" - \"`rejected`\" ", - "type": "string" - } - }, - "type": "object" - }, - "MinimumOrderValueTable": { - "id": "MinimumOrderValueTable", - "properties": { - "storeCodeSetWithMovs": { - "items": { - "$ref": "MinimumOrderValueTableStoreCodeSetWithMov" - }, - "type": "array" - } - }, - "type": "object" - }, - "MinimumOrderValueTableStoreCodeSetWithMov": { - "description": "A list of store code sets sharing the same minimum order value. At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.", - "id": "MinimumOrderValueTableStoreCodeSetWithMov", - "properties": { - "storeCodes": { - "description": "A list of unique store codes or empty for the catch all.", - "items": { - "type": "string" - }, - "type": "array" - }, - "value": { - "$ref": "Price", - "description": "The minimum order value for the given stores." - } - }, - "type": "object" - }, - "Order": { - "description": "Order. Production access (all methods) requires the order manager role. Sandbox access does not.", - "id": "Order", - "properties": { - "acknowledged": { - "description": "Whether the order was acknowledged.", - "type": "boolean" - }, - "channelType": { - "description": "Deprecated. Acceptable values are: - \"`googleExpress`\" - \"`purchasesOnGoogle`\" ", - "type": "string" - }, - "customer": { - "$ref": "OrderCustomer", - "description": "The details of the customer who placed the order." - }, - "deliveryDetails": { - "$ref": "OrderDeliveryDetails", - "description": "Delivery details for shipments of type `delivery`." - }, - "id": { - "description": "The REST ID of the order. Globally unique.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#order`\"", - "type": "string" - }, - "lineItems": { - "description": "Line items that are ordered.", - "items": { - "$ref": "OrderLineItem" - }, - "type": "array" - }, - "merchantId": { - "format": "uint64", - "type": "string" - }, - "merchantOrderId": { - "description": "Merchant-provided ID of the order.", - "type": "string" - }, - "netAmount": { - "$ref": "Price", - "description": "The net amount for the order. For example, if an order was originally for a grand total of $100 and a refund was issued for $20, the net amount will be $80." - }, - "paymentMethod": { - "$ref": "OrderPaymentMethod", - "description": "The details of the payment method." - }, - "paymentStatus": { - "description": "The status of the payment. Acceptable values are: - \"`paymentCaptured`\" - \"`paymentRejected`\" - \"`paymentSecured`\" - \"`pendingAuthorization`\" ", - "type": "string" - }, - "pickupDetails": { - "$ref": "OrderPickupDetails", - "description": "Pickup details for shipments of type `pickup`." - }, - "placedDate": { - "description": "The date when the order was placed, in ISO 8601 format.", - "type": "string" - }, - "promotions": { - "description": "The details of the merchant provided promotions applied to the order. To determine which promotions apply to which products, check the `Promotions[].Benefits[].OfferIds` field against the `LineItems[].Product.OfferId` field for each promotion. If a promotion is applied to more than 1 `offerId`, divide the discount value by the number of affected offers to determine how much discount to apply to each `offerId`. Examples: 1. To calculate the line item level discount for a single specific item: For each promotion, subtract the `Promotions[].Benefits[].Discount.value` amount from the `LineItems[].Price.value`. 2. To calculate the line item level discount for multiple quantity of a specific item: For each promotion, divide the `Promotions[].Benefits[].Discount.value` by the quantity of products and substract it from `LineItems[].Product.Price.value` for each quantity item. Only 1 promotion can be applied to an offerId in a given order. To refund an item which had a promotion applied to it, make sure to refund the amount after first subtracting the promotion discount from the item price. More details about the program are here.", - "items": { - "$ref": "OrderLegacyPromotion" - }, - "type": "array" - }, - "refunds": { - "description": "Refunds for the order.", - "items": { - "$ref": "OrderRefund" - }, - "type": "array" - }, - "shipments": { - "description": "Shipments of the order.", - "items": { - "$ref": "OrderShipment" - }, - "type": "array" - }, - "shippingCost": { - "$ref": "Price", - "description": "The total cost of shipping for all items." - }, - "shippingCostTax": { - "$ref": "Price", - "description": "The tax for the total shipping cost." - }, - "shippingOption": { - "description": "Deprecated. Shipping details are provided with line items instead. Acceptable values are: - \"`economy`\" - \"`expedited`\" - \"`oneDay`\" - \"`sameDay`\" - \"`standard`\" - \"`twoDay`\" ", - "type": "string" - }, - "status": { - "description": "The status of the order. Acceptable values are: - \"`canceled`\" - \"`delivered`\" - \"`inProgress`\" - \"`partiallyDelivered`\" - \"`partiallyReturned`\" - \"`partiallyShipped`\" - \"`pendingShipment`\" - \"`returned`\" - \"`shipped`\" ", - "type": "string" - }, - "taxCollector": { - "description": "The party responsible for collecting and remitting taxes. Acceptable values are: - \"`marketplaceFacilitator`\" - \"`merchant`\" ", - "type": "string" - } - }, - "type": "object" - }, - "OrderAddress": { - "id": "OrderAddress", - "properties": { - "country": { - "description": "CLDR country code (e.g. \"US\").", - "type": "string" - }, - "fullAddress": { - "description": "Strings representing the lines of the printed label for mailing the order, for example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United States ", - "items": { - "type": "string" - }, - "type": "array" - }, - "isPostOfficeBox": { - "description": "Whether the address is a post office box.", - "type": "boolean" - }, - "locality": { - "description": "City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).", - "type": "string" - }, - "postalCode": { - "description": "Postal Code or ZIP (e.g. \"94043\").", - "type": "string" - }, - "recipientName": { - "description": "Name of the recipient.", - "type": "string" - }, - "region": { - "description": "Top-level administrative subdivision of the country. For example, a state like California (\"CA\") or a province like Quebec (\"QC\").", - "type": "string" - }, - "streetAddress": { - "description": "Street-level part of the address.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "OrderCancellation": { - "id": "OrderCancellation", - "properties": { - "actor": { - "description": "The actor that created the cancellation. Acceptable values are: - \"`customer`\" - \"`googleBot`\" - \"`googleCustomerService`\" - \"`googlePayments`\" - \"`googleSabre`\" - \"`merchant`\" ", - "type": "string" - }, - "creationDate": { - "description": "Date on which the cancellation has been created, in ISO 8601 format.", - "type": "string" - }, - "quantity": { - "description": "The quantity that was canceled.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the cancellation. Orders that are canceled with a noInventory reason will lead to the removal of the product from Buy on Google until you make an update to that product. This will not affect your Shopping ads. Acceptable values are: - \"`autoPostInternal`\" - \"`autoPostInvalidBillingAddress`\" - \"`autoPostNoInventory`\" - \"`autoPostPriceError`\" - \"`autoPostUndeliverableShippingAddress`\" - \"`couponAbuse`\" - \"`customerCanceled`\" - \"`customerInitiatedCancel`\" - \"`customerSupportRequested`\" - \"`failToPushOrderGoogleError`\" - \"`failToPushOrderMerchantError`\" - \"`failToPushOrderMerchantFulfillmentError`\" - \"`failToPushOrderToMerchant`\" - \"`failToPushOrderToMerchantOutOfStock`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`merchantDidNotShipOnTime`\" - \"`noInventory`\" - \"`orderTimeout`\" - \"`other`\" - \"`paymentAbuse`\" - \"`paymentDeclined`\" - \"`priceError`\" - \"`returnRefundAbuse`\" - \"`shippingPriceError`\" - \"`taxError`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrderCustomer": { - "id": "OrderCustomer", - "properties": { - "email": { - "description": "Deprecated.", - "type": "string" - }, - "explicitMarketingPreference": { - "description": "Deprecated. Please use marketingRightsInfo instead.", - "type": "boolean" - }, - "fullName": { - "description": "Full name of the customer.", - "type": "string" - }, - "invoiceReceivingEmail": { - "description": "Email address for the merchant to send value-added tax or invoice documentation of the order. Only the last document sent is made available to the customer. For more information, see About automated VAT invoicing for Buy on Google.", - "type": "string" - }, - "marketingRightsInfo": { - "$ref": "OrderCustomerMarketingRightsInfo", - "description": "Customer's marketing preferences. Contains the marketing opt-in information that is current at the time that the merchant call. User preference selections can change from one order to the next so preferences must be checked with every order." - } - }, - "type": "object" - }, - "OrderCustomerMarketingRightsInfo": { - "id": "OrderCustomerMarketingRightsInfo", - "properties": { - "explicitMarketingPreference": { - "description": "Last known customer selection regarding marketing preferences. In certain cases this selection might not be known, so this field would be empty. If a customer selected `granted` in their most recent order, they can be subscribed to marketing emails. Customers who have chosen `denied` must not be subscribed, or must be unsubscribed if already opted-in. Acceptable values are: - \"`denied`\" - \"`granted`\" ", - "type": "string" - }, - "lastUpdatedTimestamp": { - "description": "Timestamp when last time marketing preference was updated. Could be empty, if user wasn't offered a selection yet.", - "type": "string" - }, - "marketingEmailAddress": { - "description": "Email address that can be used for marketing purposes. The field may be empty even if `explicitMarketingPreference` is 'granted'. This happens when retrieving an old order from the customer who deleted their account.", - "type": "string" - } - }, - "type": "object" - }, - "OrderDeliveryDetails": { - "id": "OrderDeliveryDetails", - "properties": { - "address": { - "$ref": "OrderAddress", - "description": "The delivery address" - }, - "phoneNumber": { - "description": "The phone number of the person receiving the delivery.", - "type": "string" - } - }, - "type": "object" - }, - "OrderLegacyPromotion": { - "id": "OrderLegacyPromotion", - "properties": { - "benefits": { - "items": { - "$ref": "OrderLegacyPromotionBenefit" - }, - "type": "array" - }, - "effectiveDates": { - "description": "The date and time frame when the promotion is active and ready for validation review. Note that the promotion live time may be delayed for a few hours due to the validation review. Start date and end date are separated by a forward slash (/). The start date is specified by the format (YYYY-MM-DD), followed by the letter ?T?, the time of the day when the sale starts (in Greenwich Mean Time, GMT), followed by an expression of the time zone for the sale. The end date is in the same format.", - "type": "string" - }, - "genericRedemptionCode": { - "description": "Optional. The text code that corresponds to the promotion when applied on the retailer?s website.", - "type": "string" - }, - "id": { - "description": "The unique ID of the promotion.", - "type": "string" - }, - "longTitle": { - "description": "The full title of the promotion.", - "type": "string" - }, - "productApplicability": { - "description": "Whether the promotion is applicable to all products or only specific products. Acceptable values are: - \"`allProducts`\" - \"`specificProducts`\" ", - "type": "string" - }, - "redemptionChannel": { - "description": "Indicates that the promotion is valid online. Acceptable values are: - \"`online`\" ", - "type": "string" - } - }, - "type": "object" - }, - "OrderLegacyPromotionBenefit": { - "id": "OrderLegacyPromotionBenefit", - "properties": { - "discount": { - "$ref": "Price", - "description": "The discount in the order price when the promotion is applied." - }, - "offerIds": { - "description": "The OfferId(s) that were purchased in this order and map to this specific benefit of the promotion.", - "items": { - "type": "string" - }, - "type": "array" - }, - "subType": { - "description": "Further describes the benefit of the promotion. Note that we will expand on this enumeration as we support new promotion sub-types. Acceptable values are: - \"`buyMGetMoneyOff`\" - \"`buyMGetNMoneyOff`\" - \"`buyMGetNPercentOff`\" - \"`buyMGetPercentOff`\" - \"`freeGift`\" - \"`freeGiftWithItemId`\" - \"`freeGiftWithValue`\" - \"`freeOvernightShipping`\" - \"`freeShipping`\" - \"`freeTwoDayShipping`\" - \"`moneyOff`\" - \"`percentageOff`\" - \"`rewardPoints`\" - \"`salePrice`\" ", - "type": "string" - }, - "taxImpact": { - "$ref": "Price", - "description": "The impact on tax when the promotion is applied." - }, - "type": { - "description": "Describes whether the promotion applies to products (e.g. 20% off) or to shipping (e.g. Free Shipping). Acceptable values are: - \"`product`\" - \"`shipping`\" ", - "type": "string" - } - }, - "type": "object" - }, - "OrderLineItem": { - "id": "OrderLineItem", - "properties": { - "annotations": { - "description": "Annotations that are attached to the line item.", - "items": { - "$ref": "OrderMerchantProvidedAnnotation" - }, - "type": "array" - }, - "cancellations": { - "description": "Cancellations of the line item.", - "items": { - "$ref": "OrderCancellation" - }, - "type": "array" - }, - "id": { - "description": "The ID of the line item.", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "Total price for the line item. For example, if two items for $10 are purchased, the total price will be $20." - }, - "product": { - "$ref": "OrderLineItemProduct", - "description": "Product data as seen by customer from the time of the order placement. Note that certain attributes values (e.g. title or gtin) might be reformatted and no longer match values submitted via product feed." - }, - "quantityCanceled": { - "description": "Number of items canceled.", - "format": "uint32", - "type": "integer" - }, - "quantityDelivered": { - "description": "Number of items delivered.", - "format": "uint32", - "type": "integer" - }, - "quantityOrdered": { - "description": "Number of items ordered.", - "format": "uint32", - "type": "integer" - }, - "quantityPending": { - "description": "Number of items pending.", - "format": "uint32", - "type": "integer" - }, - "quantityReadyForPickup": { - "description": "Number of items ready for pickup.", - "format": "uint32", - "type": "integer" - }, - "quantityReturned": { - "description": "Number of items returned.", - "format": "uint32", - "type": "integer" - }, - "quantityShipped": { - "description": "Number of items shipped.", - "format": "uint32", - "type": "integer" - }, - "returnInfo": { - "$ref": "OrderLineItemReturnInfo", - "description": "Details of the return policy for the line item." - }, - "returns": { - "description": "Returns of the line item.", - "items": { - "$ref": "OrderReturn" - }, - "type": "array" - }, - "shippingDetails": { - "$ref": "OrderLineItemShippingDetails", - "description": "Details of the requested shipping for the line item." - }, - "tax": { - "$ref": "Price", - "description": "Total tax amount for the line item. For example, if two items are purchased, and each have a cost tax of $2, the total tax amount will be $4." - } - }, - "type": "object" - }, - "OrderLineItemProduct": { - "id": "OrderLineItemProduct", - "properties": { - "brand": { - "description": "Brand of the item.", - "type": "string" - }, - "channel": { - "description": "The item's channel (online or local). Acceptable values are: - \"`local`\" - \"`online`\" ", - "type": "string" - }, - "condition": { - "description": "Condition or state of the item. Acceptable values are: - \"`new`\" - \"`refurbished`\" - \"`used`\" ", - "type": "string" - }, - "contentLanguage": { - "description": "The two-letter ISO 639-1 language code for the item.", - "type": "string" - }, - "fees": { - "description": "Associated fees at order creation time.", - "items": { - "$ref": "OrderLineItemProductFee" - }, - "type": "array" - }, - "gtin": { - "description": "Global Trade Item Number (GTIN) of the item.", - "type": "string" - }, - "id": { - "description": "The REST ID of the product.", - "type": "string" - }, - "imageLink": { - "description": "URL of an image of the item.", - "type": "string" - }, - "itemGroupId": { - "description": "Shared identifier for all variants of the same product.", - "type": "string" - }, - "mpn": { - "description": "Manufacturer Part Number (MPN) of the item.", - "type": "string" - }, - "offerId": { - "description": "An identifier of the item.", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "Price of the item." - }, - "shownImage": { - "description": "URL to the cached image shown to the user when order was placed.", - "type": "string" - }, - "targetCountry": { - "description": "The CLDR territory // code of the target country of the product.", - "type": "string" - }, - "title": { - "description": "The title of the product.", - "type": "string" - }, - "variantAttributes": { - "description": "Variant attributes for the item. These are dimensions of the product, such as color, gender, material, pattern, and size. You can find a comprehensive list of variant attributes here.", - "items": { - "$ref": "OrderLineItemProductVariantAttribute" - }, - "type": "array" - } - }, - "type": "object" - }, - "OrderLineItemProductFee": { - "id": "OrderLineItemProductFee", - "properties": { - "amount": { - "$ref": "Price", - "description": "Amount of the fee." - }, - "name": { - "description": "Name of the fee.", - "type": "string" - } - }, - "type": "object" - }, - "OrderLineItemProductVariantAttribute": { - "id": "OrderLineItemProductVariantAttribute", - "properties": { - "dimension": { - "description": "The dimension of the variant.", - "type": "string" - }, - "value": { - "description": "The value for the dimension.", - "type": "string" - } - }, - "type": "object" - }, - "OrderLineItemReturnInfo": { - "id": "OrderLineItemReturnInfo", - "properties": { - "daysToReturn": { - "description": "Required. How many days later the item can be returned.", - "format": "int32", - "type": "integer" - }, - "isReturnable": { - "description": "Required. Whether the item is returnable.", - "type": "boolean" - }, - "policyUrl": { - "description": "Required. URL of the item return policy.", - "type": "string" - } - }, - "type": "object" - }, - "OrderLineItemShippingDetails": { - "id": "OrderLineItemShippingDetails", - "properties": { - "deliverByDate": { - "description": "Required. The delivery by date, in ISO 8601 format.", - "type": "string" - }, - "method": { - "$ref": "OrderLineItemShippingDetailsMethod", - "description": "Required. Details of the shipping method." - }, - "shipByDate": { - "description": "Required. The ship by date, in ISO 8601 format.", - "type": "string" - }, - "type": { - "description": "Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is applicable for this shipment. Acceptable values are: - \"`delivery`\" - \"`pickup`\" ", - "type": "string" - } - }, - "type": "object" - }, - "OrderLineItemShippingDetailsMethod": { - "id": "OrderLineItemShippingDetailsMethod", - "properties": { - "carrier": { - "description": "The carrier for the shipping. Optional. See `shipments[].carrier` for a list of acceptable values.", - "type": "string" - }, - "maxDaysInTransit": { - "description": "Required. Maximum transit time.", - "format": "uint32", - "type": "integer" - }, - "methodName": { - "description": "Required. The name of the shipping method.", - "type": "string" - }, - "minDaysInTransit": { - "description": "Required. Minimum transit time.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "OrderMerchantProvidedAnnotation": { - "id": "OrderMerchantProvidedAnnotation", - "properties": { - "key": { - "description": "Key for additional merchant provided (as key-value pairs) annotation about the line item.", - "type": "string" - }, - "value": { - "description": "Value for additional merchant provided (as key-value pairs) annotation about the line item.", - "type": "string" - } - }, - "type": "object" - }, - "OrderPaymentMethod": { - "id": "OrderPaymentMethod", - "properties": { - "billingAddress": { - "$ref": "OrderAddress", - "description": "The billing address." - }, - "expirationMonth": { - "description": "The card expiration month (January = 1, February = 2 etc.).", - "format": "int32", - "type": "integer" - }, - "expirationYear": { - "description": "The card expiration year (4-digit, e.g. 2015).", - "format": "int32", - "type": "integer" - }, - "lastFourDigits": { - "description": "The last four digits of the card number.", - "type": "string" - }, - "phoneNumber": { - "description": "The billing phone number.", - "type": "string" - }, - "type": { - "description": "The type of instrument. Acceptable values are: - \"`AMEX`\" - \"`DISCOVER`\" - \"`JCB`\" - \"`MASTERCARD`\" - \"`UNIONPAY`\" - \"`VISA`\" - \"``\" ", - "type": "string" - } - }, - "type": "object" - }, - "OrderPickupDetails": { - "id": "OrderPickupDetails", - "properties": { - "address": { - "$ref": "OrderAddress", - "description": "Address of the pickup location where the shipment should be sent. Note that `recipientName` in the address is the name of the business at the pickup location." - }, - "collectors": { - "description": "Collectors authorized to pick up shipment from the pickup location.", - "items": { - "$ref": "OrderPickupDetailsCollector" - }, - "type": "array" - }, - "locationId": { - "description": "ID of the pickup location.", - "type": "string" - } - }, - "type": "object" - }, - "OrderPickupDetailsCollector": { - "id": "OrderPickupDetailsCollector", - "properties": { - "name": { - "description": "Name of the person picking up the shipment.", - "type": "string" - }, - "phoneNumber": { - "description": "Phone number of the person picking up the shipment.", - "type": "string" - } - }, - "type": "object" - }, - "OrderRefund": { - "id": "OrderRefund", - "properties": { - "actor": { - "description": "The actor that created the refund. Acceptable values are: - \"`customer`\" - \"`googleBot`\" - \"`googleCustomerService`\" - \"`googlePayments`\" - \"`googleSabre`\" - \"`merchant`\" ", - "type": "string" - }, - "amount": { - "$ref": "Price", - "description": "The amount that is refunded." - }, - "creationDate": { - "description": "Date on which the item has been created, in ISO 8601 format.", - "type": "string" - }, - "reason": { - "description": "The reason for the refund. Acceptable values are: - \"`adjustment`\" - \"`autoPostInternal`\" - \"`autoPostInvalidBillingAddress`\" - \"`autoPostNoInventory`\" - \"`autoPostPriceError`\" - \"`autoPostUndeliverableShippingAddress`\" - \"`couponAbuse`\" - \"`courtesyAdjustment`\" - \"`customerCanceled`\" - \"`customerDiscretionaryReturn`\" - \"`customerInitiatedMerchantCancel`\" - \"`customerSupportRequested`\" - \"`deliveredLateByCarrier`\" - \"`deliveredTooLate`\" - \"`expiredItem`\" - \"`failToPushOrderGoogleError`\" - \"`failToPushOrderMerchantError`\" - \"`failToPushOrderMerchantFulfillmentError`\" - \"`failToPushOrderToMerchant`\" - \"`failToPushOrderToMerchantOutOfStock`\" - \"`feeAdjustment`\" - \"`invalidCoupon`\" - \"`lateShipmentCredit`\" - \"`malformedShippingAddress`\" - \"`merchantDidNotShipOnTime`\" - \"`noInventory`\" - \"`orderTimeout`\" - \"`other`\" - \"`paymentAbuse`\" - \"`paymentDeclined`\" - \"`priceAdjustment`\" - \"`priceError`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`promoReallocation`\" - \"`qualityNotAsExpected`\" - \"`returnRefundAbuse`\" - \"`shippingCostAdjustment`\" - \"`shippingPriceError`\" - \"`taxAdjustment`\" - \"`taxError`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrderReportDisbursement": { - "description": "Order disbursement. All methods require the payment analyst role.", - "id": "OrderReportDisbursement", - "properties": { - "disbursementAmount": { - "$ref": "Price", - "description": "The disbursement amount." - }, - "disbursementCreationDate": { - "description": "The disbursement date, in ISO 8601 format.", - "type": "string" - }, - "disbursementDate": { - "description": "The date the disbursement was initiated, in ISO 8601 format.", - "type": "string" - }, - "disbursementId": { - "description": "The ID of the disbursement.", - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "OrderReportTransaction": { - "id": "OrderReportTransaction", - "properties": { - "disbursementAmount": { - "$ref": "Price", - "description": "The disbursement amount." - }, - "disbursementCreationDate": { - "description": "The date the disbursement was created, in ISO 8601 format.", - "type": "string" - }, - "disbursementDate": { - "description": "The date the disbursement was initiated, in ISO 8601 format.", - "type": "string" - }, - "disbursementId": { - "description": "The ID of the disbursement.", - "type": "string" - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - }, - "merchantOrderId": { - "description": "Merchant-provided ID of the order.", - "type": "string" - }, - "orderId": { - "description": "The ID of the order.", - "type": "string" - }, - "productAmount": { - "$ref": "Amount", - "description": "Total amount for the items." - }, - "productAmountWithRemittedTax": { - "$ref": "ProductAmount", - "description": "Total amount with remitted tax for the items." - }, - "transactionDate": { - "description": "The date of the transaction, in ISO 8601 format.", - "type": "string" - } - }, - "type": "object" - }, - "OrderReturn": { - "id": "OrderReturn", - "properties": { - "actor": { - "description": "The actor that created the refund. Acceptable values are: - \"`customer`\" - \"`googleBot`\" - \"`googleCustomerService`\" - \"`googlePayments`\" - \"`googleSabre`\" - \"`merchant`\" ", - "type": "string" - }, - "creationDate": { - "description": "Date on which the item has been created, in ISO 8601 format.", - "type": "string" - }, - "quantity": { - "description": "Quantity that is returned.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the return. Acceptable values are: - \"`customerDiscretionaryReturn`\" - \"`customerInitiatedMerchantCancel`\" - \"`deliveredTooLate`\" - \"`expiredItem`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`other`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`qualityNotAsExpected`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrderShipment": { - "id": "OrderShipment", - "properties": { - "carrier": { - "description": "The carrier handling the shipment. For supported carriers, Google includes the carrier name and tracking URL in emails to customers. For select supported carriers, Google also automatically updates the shipment status based on the provided shipment ID. *Note:* You can also use unsupported carriers, but emails to customers will not include the carrier name or tracking URL, and there will be no automatic order status updates. Supported carriers for US are: - \"`ups`\" (United Parcel Service) *automatic status updates* - \"`usps`\" (United States Postal Service) *automatic status updates* - \"`fedex`\" (FedEx) *automatic status updates * - \"`dhl`\" (DHL eCommerce) *automatic status updates* (US only) - \"`ontrac`\" (OnTrac) *automatic status updates * - \"`dhl express`\" (DHL Express) - \"`deliv`\" (Deliv) - \"`dynamex`\" (TForce) - \"`lasership`\" (LaserShip) - \"`mpx`\" (Military Parcel Xpress) - \"`uds`\" (United Delivery Service) - \"`efw`\" (Estes Forwarding Worldwide) - \"`jd logistics`\" (JD Logistics) - \"`yunexpress`\" (YunExpress) - \"`china post`\" (China Post) - \"`china ems`\" (China Post Express Mail Service) - \"`singapore post`\" (Singapore Post) - \"`pos malaysia`\" (Pos Malaysia) - \"`postnl`\" (PostNL) - \"`ptt`\" (PTT Turkish Post) - \"`eub`\" (ePacket) - \"`chukou1`\" (Chukou1 Logistics) - \"`bestex`\" (Best Express) - \"`canada post`\" (Canada Post) - \"`purolator`\" (Purolator) - \"`canpar`\" (Canpar) - \"`india post`\" (India Post) - \"`blue dart`\" (Blue Dart) - \"`delhivery`\" (Delhivery) - \"`dtdc`\" (DTDC) - \"`tpc india`\" (TPC India) Supported carriers for FR are: - \"`la poste`\" (La Poste) *automatic status updates * - \"`colissimo`\" (Colissimo by La Poste) *automatic status updates* - \"`ups`\" (United Parcel Service) *automatic status updates * - \"`chronopost`\" (Chronopost by La Poste) - \"`gls`\" (General Logistics Systems France) - \"`dpd`\" (DPD Group by GeoPost) - \"`bpost`\" (Belgian Post Group) - \"`colis prive`\" (Colis Privé) - \"`boxtal`\" (Boxtal) - \"`geodis`\" (GEODIS) - \"`tnt`\" (TNT) - \"`db schenker`\" (DB Schenker) - \"`aramex`\" (Aramex) ", - "type": "string" - }, - "creationDate": { - "description": "Date on which the shipment has been created, in ISO 8601 format.", - "type": "string" - }, - "deliveryDate": { - "description": "Date on which the shipment has been delivered, in ISO 8601 format. Present only if `status` is `delivered`", - "type": "string" - }, - "id": { - "description": "The ID of the shipment.", - "type": "string" - }, - "lineItems": { - "description": "The line items that are shipped.", - "items": { - "$ref": "OrderShipmentLineItemShipment" - }, - "type": "array" - }, - "scheduledDeliveryDetails": { - "$ref": "OrderShipmentScheduledDeliveryDetails", - "description": "Delivery details of the shipment if scheduling is needed." - }, - "status": { - "description": "The status of the shipment. Acceptable values are: - \"`delivered`\" - \"`readyForPickup`\" - \"`shipped`\" - \"`undeliverable`\" ", - "type": "string" - }, - "trackingId": { - "description": "The tracking ID for the shipment.", - "type": "string" - } - }, - "type": "object" - }, - "OrderShipmentLineItemShipment": { - "id": "OrderShipmentLineItemShipment", - "properties": { - "lineItemId": { - "description": "The ID of the line item that is shipped. This value is assigned by Google when an order is created. Either lineItemId or productId is required.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to ship. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "quantity": { - "description": "The quantity that is shipped.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "OrderShipmentScheduledDeliveryDetails": { - "id": "OrderShipmentScheduledDeliveryDetails", - "properties": { - "carrierPhoneNumber": { - "description": "The phone number of the carrier fulfilling the delivery. The phone number is formatted as the international notation in ITU-T Recommendation E.123 (e.g., \"+41 44 668 1800\").", - "type": "string" - }, - "scheduledDate": { - "description": "The date a shipment is scheduled for delivery, in ISO 8601 format.", - "type": "string" - } - }, - "type": "object" - }, - "OrderinvoicesCreateChargeInvoiceRequest": { - "id": "OrderinvoicesCreateChargeInvoiceRequest", - "properties": { - "invoiceId": { - "description": "[required] The ID of the invoice.", - "type": "string" - }, - "invoiceSummary": { - "$ref": "InvoiceSummary", - "description": "[required] Invoice summary." - }, - "lineItemInvoices": { - "description": "[required] Invoice details per line item.", - "items": { - "$ref": "ShipmentInvoiceLineItemInvoice" - }, - "type": "array" - }, - "operationId": { - "description": "[required] The ID of the operation, unique across all operations for a given order.", - "type": "string" - }, - "shipmentGroupId": { - "description": "[required] ID of the shipment group. It is assigned by the merchant in the `shipLineItems` method and is used to group multiple line items that have the same kind of shipping charges.", - "type": "string" - } - }, - "type": "object" - }, - "OrderinvoicesCreateChargeInvoiceResponse": { - "id": "OrderinvoicesCreateChargeInvoiceResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderinvoicesCreateChargeInvoiceResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrderinvoicesCreateRefundInvoiceRequest": { - "id": "OrderinvoicesCreateRefundInvoiceRequest", - "properties": { - "invoiceId": { - "description": "[required] The ID of the invoice.", - "type": "string" - }, - "operationId": { - "description": "[required] The ID of the operation, unique across all operations for a given order.", - "type": "string" - }, - "refundOnlyOption": { - "$ref": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption", - "description": "Option to create a refund-only invoice. Exactly one of `refundOnlyOption` or `returnOption` must be provided." - }, - "returnOption": { - "$ref": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption", - "description": "Option to create an invoice for a refund and mark all items within the invoice as returned. Exactly one of `refundOnlyOption` or `returnOption` must be provided." - }, - "shipmentInvoices": { - "description": "Invoice details for different shipment groups.", - "items": { - "$ref": "ShipmentInvoice" - }, - "type": "array" - } - }, - "type": "object" - }, - "OrderinvoicesCreateRefundInvoiceResponse": { - "id": "OrderinvoicesCreateRefundInvoiceResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderinvoicesCreateRefundInvoiceResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption": { - "id": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption", - "properties": { - "description": { - "description": "Optional description of the refund reason.", - "type": "string" - }, - "reason": { - "description": "[required] Reason for the refund. Acceptable values are: - \"`adjustment`\" - \"`autoPostInternal`\" - \"`autoPostInvalidBillingAddress`\" - \"`autoPostNoInventory`\" - \"`autoPostPriceError`\" - \"`autoPostUndeliverableShippingAddress`\" - \"`couponAbuse`\" - \"`courtesyAdjustment`\" - \"`customerCanceled`\" - \"`customerDiscretionaryReturn`\" - \"`customerInitiatedMerchantCancel`\" - \"`customerSupportRequested`\" - \"`deliveredLateByCarrier`\" - \"`deliveredTooLate`\" - \"`expiredItem`\" - \"`failToPushOrderGoogleError`\" - \"`failToPushOrderMerchantError`\" - \"`failToPushOrderMerchantFulfillmentError`\" - \"`failToPushOrderToMerchant`\" - \"`failToPushOrderToMerchantOutOfStock`\" - \"`feeAdjustment`\" - \"`invalidCoupon`\" - \"`lateShipmentCredit`\" - \"`malformedShippingAddress`\" - \"`merchantDidNotShipOnTime`\" - \"`noInventory`\" - \"`orderTimeout`\" - \"`other`\" - \"`paymentAbuse`\" - \"`paymentDeclined`\" - \"`priceAdjustment`\" - \"`priceError`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`promoReallocation`\" - \"`qualityNotAsExpected`\" - \"`returnRefundAbuse`\" - \"`shippingCostAdjustment`\" - \"`shippingPriceError`\" - \"`taxAdjustment`\" - \"`taxError`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - } - }, - "type": "object" - }, - "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption": { - "id": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption", - "properties": { - "description": { - "description": "Optional description of the return reason.", - "type": "string" - }, - "reason": { - "description": "[required] Reason for the return. Acceptable values are: - \"`customerDiscretionaryReturn`\" - \"`customerInitiatedMerchantCancel`\" - \"`deliveredTooLate`\" - \"`expiredItem`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`other`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`qualityNotAsExpected`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - } - }, - "type": "object" - }, - "OrderreportsListDisbursementsResponse": { - "id": "OrderreportsListDisbursementsResponse", - "properties": { - "disbursements": { - "description": "The list of disbursements.", - "items": { - "$ref": "OrderReportDisbursement" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderreportsListDisbursementsResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of disbursements.", - "type": "string" - } - }, - "type": "object" - }, - "OrderreportsListTransactionsResponse": { - "id": "OrderreportsListTransactionsResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderreportsListTransactionsResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of transactions.", - "type": "string" - }, - "transactions": { - "description": "The list of transactions.", - "items": { - "$ref": "OrderReportTransaction" - }, - "type": "array" - } - }, - "type": "object" - }, - "OrderreturnsListResponse": { - "id": "OrderreturnsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderreturnsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of returns.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "MerchantOrderReturn" - }, - "type": "array" - } - }, - "type": "object" - }, - "OrdersAcknowledgeRequest": { - "id": "OrdersAcknowledgeRequest", - "properties": { - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersAcknowledgeResponse": { - "id": "OrdersAcknowledgeResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersAcknowledgeResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersAdvanceTestOrderResponse": { - "id": "OrdersAdvanceTestOrderResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersAdvanceTestOrderResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCancelLineItemRequest": { - "id": "OrdersCancelLineItemRequest", - "properties": { - "amount": { - "$ref": "Price", - "description": "Deprecated. Please use amountPretax and amountTax instead." - }, - "amountPretax": { - "$ref": "Price", - "description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order." - }, - "amountTax": { - "$ref": "Price", - "description": "Tax amount that corresponds to cancellation amount in amountPretax. Optional, but if filled, then amountPretax must be set. Calculated automatically if not provided." - }, - "lineItemId": { - "description": "The ID of the line item to cancel. Either lineItemId or productId is required.", - "type": "string" - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to cancel. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "quantity": { - "description": "The quantity to cancel.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the cancellation. Acceptable values are: - \"`customerInitiatedCancel`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`noInventory`\" - \"`other`\" - \"`priceError`\" - \"`shippingPriceError`\" - \"`taxError`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCancelLineItemResponse": { - "id": "OrdersCancelLineItemResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCancelLineItemResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCancelRequest": { - "id": "OrdersCancelRequest", - "properties": { - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - }, - "reason": { - "description": "The reason for the cancellation. Acceptable values are: - \"`customerInitiatedCancel`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`noInventory`\" - \"`other`\" - \"`priceError`\" - \"`shippingPriceError`\" - \"`taxError`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCancelResponse": { - "id": "OrdersCancelResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCancelResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCancelTestOrderByCustomerRequest": { - "id": "OrdersCancelTestOrderByCustomerRequest", - "properties": { - "reason": { - "description": "The reason for the cancellation. Acceptable values are: - \"`changedMind`\" - \"`orderedWrongItem`\" - \"`other`\" ", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCancelTestOrderByCustomerResponse": { - "id": "OrdersCancelTestOrderByCustomerResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCancelTestOrderByCustomerResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCreateTestOrderRequest": { - "id": "OrdersCreateTestOrderRequest", - "properties": { - "country": { - "description": "The CLDR territory code of the country of the test order to create. Affects the currency and addresses of orders created via `template_name`, or the addresses of orders created via `test_order`. Acceptable values are: - \"`US`\" - \"`FR`\" Defaults to `US`.", - "type": "string" - }, - "templateName": { - "description": "The test order template to use. Specify as an alternative to `testOrder` as a shortcut for retrieving a template and then creating an order using that template. Acceptable values are: - \"`template1`\" - \"`template1a`\" - \"`template1b`\" - \"`template2`\" - \"`template3`\" ", - "type": "string" - }, - "testOrder": { - "$ref": "TestOrder", - "description": "The test order to create." - } - }, - "type": "object" - }, - "OrdersCreateTestOrderResponse": { - "id": "OrdersCreateTestOrderResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCreateTestOrderResponse\".", - "type": "string" - }, - "orderId": { - "description": "The ID of the newly created test order.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCreateTestReturnRequest": { - "id": "OrdersCreateTestReturnRequest", - "properties": { - "items": { - "description": "Returned items.", - "items": { - "$ref": "OrdersCustomBatchRequestEntryCreateTestReturnReturnItem" - }, - "type": "array" - } - }, - "type": "object" - }, - "OrdersCreateTestReturnResponse": { - "id": "OrdersCreateTestReturnResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCreateTestReturnResponse\".", - "type": "string" - }, - "returnId": { - "description": "The ID of the newly created test order return.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequest": { - "id": "OrdersCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "OrdersCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntry": { - "id": "OrdersCustomBatchRequestEntry", - "properties": { - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "cancel": { - "$ref": "OrdersCustomBatchRequestEntryCancel", - "description": "Required for `cancel` method." - }, - "cancelLineItem": { - "$ref": "OrdersCustomBatchRequestEntryCancelLineItem", - "description": "Required for `cancelLineItem` method." - }, - "inStoreRefundLineItem": { - "$ref": "OrdersCustomBatchRequestEntryInStoreRefundLineItem", - "description": "Required for `inStoreReturnLineItem` method." - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - }, - "merchantOrderId": { - "description": "The merchant order ID. Required for `updateMerchantOrderId` and `getByMerchantOrderId` methods.", - "type": "string" - }, - "method": { - "description": "The method of the batch entry. Acceptable values are: - \"`acknowledge`\" - \"`cancel`\" - \"`cancelLineItem`\" - \"`get`\" - \"`getByMerchantOrderId`\" - \"`inStoreRefundLineItem`\" - \"`refund`\" - \"`rejectReturnLineItem`\" - \"`returnLineItem`\" - \"`returnRefundLineItem`\" - \"`setLineItemMetadata`\" - \"`shipLineItems`\" - \"`updateLineItemShippingDetails`\" - \"`updateMerchantOrderId`\" - \"`updateShipment`\" ", - "type": "string" - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order. Required for all methods beside `get` and `getByMerchantOrderId`.", - "type": "string" - }, - "orderId": { - "description": "The ID of the order. Required for all methods beside `getByMerchantOrderId`.", - "type": "string" - }, - "refund": { - "$ref": "OrdersCustomBatchRequestEntryRefund", - "description": "Required for `refund` method." - }, - "rejectReturnLineItem": { - "$ref": "OrdersCustomBatchRequestEntryRejectReturnLineItem", - "description": "Required for `rejectReturnLineItem` method." - }, - "returnLineItem": { - "$ref": "OrdersCustomBatchRequestEntryReturnLineItem", - "description": "Required for `returnLineItem` method." - }, - "returnRefundLineItem": { - "$ref": "OrdersCustomBatchRequestEntryReturnRefundLineItem", - "description": "Required for `returnRefundLineItem` method." - }, - "setLineItemMetadata": { - "$ref": "OrdersCustomBatchRequestEntrySetLineItemMetadata", - "description": "Required for `setLineItemMetadata` method." - }, - "shipLineItems": { - "$ref": "OrdersCustomBatchRequestEntryShipLineItems", - "description": "Required for `shipLineItems` method." - }, - "updateLineItemShippingDetails": { - "$ref": "OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails", - "description": "Required for `updateLineItemShippingDate` method." - }, - "updateShipment": { - "$ref": "OrdersCustomBatchRequestEntryUpdateShipment", - "description": "Required for `updateShipment` method." - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryCancel": { - "id": "OrdersCustomBatchRequestEntryCancel", - "properties": { - "reason": { - "description": "The reason for the cancellation. Acceptable values are: - \"`customerInitiatedCancel`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`noInventory`\" - \"`other`\" - \"`priceError`\" - \"`shippingPriceError`\" - \"`taxError`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryCancelLineItem": { - "id": "OrdersCustomBatchRequestEntryCancelLineItem", - "properties": { - "amount": { - "$ref": "Price", - "description": "Deprecated. Please use amountPretax and amountTax instead." - }, - "amountPretax": { - "$ref": "Price", - "description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order." - }, - "amountTax": { - "$ref": "Price", - "description": "Tax amount that corresponds to cancellation amount in amountPretax. Optional, but if filled, then amountPretax must be set. Calculated automatically if not provided." - }, - "lineItemId": { - "description": "The ID of the line item to cancel. Either lineItemId or productId is required.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to cancel. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "quantity": { - "description": "The quantity to cancel.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the cancellation. Acceptable values are: - \"`customerInitiatedCancel`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`noInventory`\" - \"`other`\" - \"`priceError`\" - \"`shippingPriceError`\" - \"`taxError`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryCreateTestReturnReturnItem": { - "id": "OrdersCustomBatchRequestEntryCreateTestReturnReturnItem", - "properties": { - "lineItemId": { - "description": "The ID of the line item to return.", - "type": "string" - }, - "quantity": { - "description": "Quantity that is returned.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryInStoreRefundLineItem": { - "id": "OrdersCustomBatchRequestEntryInStoreRefundLineItem", - "properties": { - "amountPretax": { - "$ref": "Price", - "description": "The amount that is refunded. Required." - }, - "amountTax": { - "$ref": "Price", - "description": "Tax amount that correspond to refund amount in amountPretax. Required." - }, - "lineItemId": { - "description": "The ID of the line item to return. Either lineItemId or productId is required.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "quantity": { - "description": "The quantity to return and refund.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the return. Acceptable values are: - \"`customerDiscretionaryReturn`\" - \"`customerInitiatedMerchantCancel`\" - \"`deliveredTooLate`\" - \"`expiredItem`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`other`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`qualityNotAsExpected`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryRefund": { - "id": "OrdersCustomBatchRequestEntryRefund", - "properties": { - "amount": { - "$ref": "Price", - "description": "Deprecated. Please use amountPretax and amountTax instead." - }, - "amountPretax": { - "$ref": "Price", - "description": "The amount that is refunded. Either amount or amountPretax should be filled." - }, - "amountTax": { - "$ref": "Price", - "description": "Tax amount that corresponds to refund amount in amountPretax. Optional, but if filled, amountPretax must be set. Calculated automatically if not provided." - }, - "reason": { - "description": "The reason for the refund. Acceptable values are: - \"`adjustment`\" - \"`courtesyAdjustment`\" - \"`customerCanceled`\" - \"`customerDiscretionaryReturn`\" - \"`deliveredLateByCarrier`\" - \"`feeAdjustment`\" - \"`lateShipmentCredit`\" - \"`noInventory`\" - \"`other`\" - \"`priceError`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`shippingCostAdjustment`\" - \"`taxAdjustment`\" - \"`undeliverableShippingAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryRejectReturnLineItem": { - "id": "OrdersCustomBatchRequestEntryRejectReturnLineItem", - "properties": { - "lineItemId": { - "description": "The ID of the line item to return. Either lineItemId or productId is required.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "quantity": { - "description": "The quantity to return and refund.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the return. Acceptable values are: - \"`damagedOrUsed`\" - \"`missingComponent`\" - \"`notEligible`\" - \"`other`\" - \"`outOfReturnWindow`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryReturnLineItem": { - "id": "OrdersCustomBatchRequestEntryReturnLineItem", - "properties": { - "lineItemId": { - "description": "The ID of the line item to return. Either lineItemId or productId is required.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "quantity": { - "description": "The quantity to return.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the return. Acceptable values are: - \"`customerDiscretionaryReturn`\" - \"`customerInitiatedMerchantCancel`\" - \"`deliveredTooLate`\" - \"`expiredItem`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`other`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`qualityNotAsExpected`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryReturnRefundLineItem": { - "id": "OrdersCustomBatchRequestEntryReturnRefundLineItem", - "properties": { - "amountPretax": { - "$ref": "Price", - "description": "The amount that is refunded. If omitted, refundless return is assumed (same as calling returnLineItem method)." - }, - "amountTax": { - "$ref": "Price", - "description": "Tax amount that corresponds to refund amount in amountPretax. Optional, but if filled, then amountPretax must be set. Calculated automatically if not provided." - }, - "lineItemId": { - "description": "The ID of the line item to return. Either lineItemId or productId is required.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "quantity": { - "description": "The quantity to return and refund.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the return. Acceptable values are: - \"`customerDiscretionaryReturn`\" - \"`customerInitiatedMerchantCancel`\" - \"`deliveredTooLate`\" - \"`expiredItem`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`other`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`qualityNotAsExpected`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntrySetLineItemMetadata": { - "id": "OrdersCustomBatchRequestEntrySetLineItemMetadata", - "properties": { - "annotations": { - "items": { - "$ref": "OrderMerchantProvidedAnnotation" - }, - "type": "array" - }, - "lineItemId": { - "description": "The ID of the line item to set metadata. Either lineItemId or productId is required.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryShipLineItems": { - "id": "OrdersCustomBatchRequestEntryShipLineItems", - "properties": { - "carrier": { - "description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.", - "type": "string" - }, - "lineItems": { - "description": "Line items to ship.", - "items": { - "$ref": "OrderShipmentLineItemShipment" - }, - "type": "array" - }, - "shipmentGroupId": { - "description": "ID of the shipment group. Required for orders that use the orderinvoices service.", - "type": "string" - }, - "shipmentId": { - "description": "Deprecated. Please use shipmentInfo instead. The ID of the shipment.", - "type": "string" - }, - "shipmentInfos": { - "description": "Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs).", - "items": { - "$ref": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo" - }, - "type": "array" - }, - "trackingId": { - "description": "Deprecated. Please use shipmentInfo instead. The tracking ID for the shipment.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo": { - "id": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo", - "properties": { - "carrier": { - "description": "The carrier handling the shipment. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.", - "type": "string" - }, - "shipmentId": { - "description": "Required. The ID of the shipment. This is assigned by the merchant and is unique to each shipment.", - "type": "string" - }, - "trackingId": { - "description": "The tracking ID for the shipment.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails": { - "id": "OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails", - "properties": { - "deliverByDate": { - "description": "Updated delivery by date, in ISO 8601 format. If not specified only ship by date is updated. Provided date should be within 1 year timeframe and can not be a date in the past.", - "type": "string" - }, - "lineItemId": { - "description": "The ID of the line item to set metadata. Either lineItemId or productId is required.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "shipByDate": { - "description": "Updated ship by date, in ISO 8601 format. If not specified only deliver by date is updated. Provided date should be within 1 year timeframe and can not be a date in the past.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchRequestEntryUpdateShipment": { - "id": "OrdersCustomBatchRequestEntryUpdateShipment", - "properties": { - "carrier": { - "description": "The carrier handling the shipment. Not updated if missing. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.", - "type": "string" - }, - "deliveryDate": { - "description": "Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided only if `status` is `delivered`.", - "type": "string" - }, - "shipmentId": { - "description": "The ID of the shipment.", - "type": "string" - }, - "status": { - "description": "New status for the shipment. Not updated if missing. Acceptable values are: - \"`delivered`\" - \"`undeliverable`\" - \"`readyForPickup`\" ", - "type": "string" - }, - "trackingId": { - "description": "The tracking ID for the shipment. Not updated if missing.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchResponse": { - "id": "OrdersCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "OrdersCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCustomBatchResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersCustomBatchResponseEntry": { - "id": "OrdersCustomBatchResponseEntry", - "properties": { - "batchId": { - "description": "The ID of the request entry this entry responds to.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if and only if the request failed." - }, - "executionStatus": { - "description": "The status of the execution. Only defined if 1. the request was successful; and 2. the method is not `get`, `getByMerchantOrderId`, or one of the test methods. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#ordersCustomBatchResponseEntry`\"", - "type": "string" - }, - "order": { - "$ref": "Order", - "description": "The retrieved order. Only defined if the method is `get` and if the request was successful." - } - }, - "type": "object" - }, - "OrdersGetByMerchantOrderIdResponse": { - "id": "OrdersGetByMerchantOrderIdResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersGetByMerchantOrderIdResponse\".", - "type": "string" - }, - "order": { - "$ref": "Order", - "description": "The requested order." - } - }, - "type": "object" - }, - "OrdersGetTestOrderTemplateResponse": { - "id": "OrdersGetTestOrderTemplateResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersGetTestOrderTemplateResponse\".", - "type": "string" - }, - "template": { - "$ref": "TestOrder", - "description": "The requested test order template." - } - }, - "type": "object" - }, - "OrdersInStoreRefundLineItemRequest": { - "id": "OrdersInStoreRefundLineItemRequest", - "properties": { - "amountPretax": { - "$ref": "Price", - "description": "The amount that is refunded. Required." - }, - "amountTax": { - "$ref": "Price", - "description": "Tax amount that correspond to refund amount in amountPretax. Required." - }, - "lineItemId": { - "description": "The ID of the line item to return. Either lineItemId or productId is required.", - "type": "string" - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "quantity": { - "description": "The quantity to return and refund.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the return. Acceptable values are: - \"`customerDiscretionaryReturn`\" - \"`customerInitiatedMerchantCancel`\" - \"`deliveredTooLate`\" - \"`expiredItem`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`other`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`qualityNotAsExpected`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersInStoreRefundLineItemResponse": { - "id": "OrdersInStoreRefundLineItemResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersInStoreRefundLineItemResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersListResponse": { - "id": "OrdersListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of orders.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "Order" - }, - "type": "array" - } - }, - "type": "object" - }, - "OrdersRefundRequest": { - "id": "OrdersRefundRequest", - "properties": { - "amount": { - "$ref": "Price", - "description": "Deprecated. Please use amountPretax and amountTax instead." - }, - "amountPretax": { - "$ref": "Price", - "description": "The amount that is refunded. Either amount or amountPretax should be filled." - }, - "amountTax": { - "$ref": "Price", - "description": "Tax amount that corresponds to refund amount in amountPretax. Optional, but if filled, amountPretax must be set. Calculated automatically if not provided." - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - }, - "reason": { - "description": "The reason for the refund. Acceptable values are: - \"`adjustment`\" - \"`courtesyAdjustment`\" - \"`customerCanceled`\" - \"`customerDiscretionaryReturn`\" - \"`deliveredLateByCarrier`\" - \"`feeAdjustment`\" - \"`lateShipmentCredit`\" - \"`noInventory`\" - \"`other`\" - \"`priceError`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`shippingCostAdjustment`\" - \"`taxAdjustment`\" - \"`undeliverableShippingAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersRefundResponse": { - "id": "OrdersRefundResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersRefundResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersRejectReturnLineItemRequest": { - "id": "OrdersRejectReturnLineItemRequest", - "properties": { - "lineItemId": { - "description": "The ID of the line item to return. Either lineItemId or productId is required.", - "type": "string" - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "quantity": { - "description": "The quantity to return and refund.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the return. Acceptable values are: - \"`damagedOrUsed`\" - \"`missingComponent`\" - \"`notEligible`\" - \"`other`\" - \"`outOfReturnWindow`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersRejectReturnLineItemResponse": { - "id": "OrdersRejectReturnLineItemResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersRejectReturnLineItemResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersReturnLineItemRequest": { - "id": "OrdersReturnLineItemRequest", - "properties": { - "lineItemId": { - "description": "The ID of the line item to return. Either lineItemId or productId is required.", - "type": "string" - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "quantity": { - "description": "The quantity to return.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the return. Acceptable values are: - \"`customerDiscretionaryReturn`\" - \"`customerInitiatedMerchantCancel`\" - \"`deliveredTooLate`\" - \"`expiredItem`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`other`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`qualityNotAsExpected`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersReturnLineItemResponse": { - "id": "OrdersReturnLineItemResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersReturnLineItemResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersReturnRefundLineItemRequest": { - "id": "OrdersReturnRefundLineItemRequest", - "properties": { - "amountPretax": { - "$ref": "Price", - "description": "The amount that is refunded. If omitted, refundless return is assumed (same as calling returnLineItem method)." - }, - "amountTax": { - "$ref": "Price", - "description": "Tax amount that corresponds to refund amount in amountPretax. Optional, but if filled, then amountPretax must be set. Calculated automatically if not provided." - }, - "lineItemId": { - "description": "The ID of the line item to return. Either lineItemId or productId is required.", - "type": "string" - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "quantity": { - "description": "The quantity to return and refund. Quantity is required.", - "format": "uint32", - "type": "integer" - }, - "reason": { - "description": "The reason for the return. Acceptable values are: - \"`customerDiscretionaryReturn`\" - \"`customerInitiatedMerchantCancel`\" - \"`deliveredTooLate`\" - \"`expiredItem`\" - \"`invalidCoupon`\" - \"`malformedShippingAddress`\" - \"`other`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`qualityNotAsExpected`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - }, - "reasonText": { - "description": "The explanation of the reason.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersReturnRefundLineItemResponse": { - "id": "OrdersReturnRefundLineItemResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersReturnRefundLineItemResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersSetLineItemMetadataRequest": { - "id": "OrdersSetLineItemMetadataRequest", - "properties": { - "annotations": { - "items": { - "$ref": "OrderMerchantProvidedAnnotation" - }, - "type": "array" - }, - "lineItemId": { - "description": "The ID of the line item to set metadata. Either lineItemId or productId is required.", - "type": "string" - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersSetLineItemMetadataResponse": { - "id": "OrdersSetLineItemMetadataResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersSetLineItemMetadataResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersShipLineItemsRequest": { - "id": "OrdersShipLineItemsRequest", - "properties": { - "carrier": { - "description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.", - "type": "string" - }, - "lineItems": { - "description": "Line items to ship.", - "items": { - "$ref": "OrderShipmentLineItemShipment" - }, - "type": "array" - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - }, - "shipmentGroupId": { - "description": "ID of the shipment group. Required for orders that use the orderinvoices service.", - "type": "string" - }, - "shipmentId": { - "description": "Deprecated. Please use shipmentInfo instead. The ID of the shipment.", - "type": "string" - }, - "shipmentInfos": { - "description": "Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs).", - "items": { - "$ref": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo" - }, - "type": "array" - }, - "trackingId": { - "description": "Deprecated. Please use shipmentInfo instead. The tracking ID for the shipment.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersShipLineItemsResponse": { - "id": "OrdersShipLineItemsResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersShipLineItemsResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersUpdateLineItemShippingDetailsRequest": { - "id": "OrdersUpdateLineItemShippingDetailsRequest", - "properties": { - "deliverByDate": { - "description": "Updated delivery by date, in ISO 8601 format. If not specified only ship by date is updated. Provided date should be within 1 year timeframe and can not be a date in the past.", - "type": "string" - }, - "lineItemId": { - "description": "The ID of the line item to set metadata. Either lineItemId or productId is required.", - "type": "string" - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - }, - "productId": { - "description": "The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required.", - "type": "string" - }, - "shipByDate": { - "description": "Updated ship by date, in ISO 8601 format. If not specified only deliver by date is updated. Provided date should be within 1 year timeframe and can not be a date in the past.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersUpdateLineItemShippingDetailsResponse": { - "id": "OrdersUpdateLineItemShippingDetailsResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersUpdateLineItemShippingDetailsResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersUpdateMerchantOrderIdRequest": { - "id": "OrdersUpdateMerchantOrderIdRequest", - "properties": { - "merchantOrderId": { - "description": "The merchant order id to be assigned to the order. Must be unique per merchant.", - "type": "string" - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersUpdateMerchantOrderIdResponse": { - "id": "OrdersUpdateMerchantOrderIdResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersUpdateMerchantOrderIdResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "OrdersUpdateShipmentRequest": { - "id": "OrdersUpdateShipmentRequest", - "properties": { - "carrier": { - "description": "The carrier handling the shipment. Not updated if missing. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values.", - "type": "string" - }, - "deliveryDate": { - "description": "Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided only if `status` is `delivered`.", - "type": "string" - }, - "operationId": { - "description": "The ID of the operation. Unique across all operations for a given order.", - "type": "string" - }, - "shipmentId": { - "description": "The ID of the shipment.", - "type": "string" - }, - "status": { - "description": "New status for the shipment. Not updated if missing. Acceptable values are: - \"`delivered`\" - \"`undeliverable`\" - \"`readyForPickup`\" ", - "type": "string" - }, - "trackingId": { - "description": "The tracking ID for the shipment. Not updated if missing.", - "type": "string" - } - }, - "type": "object" - }, - "OrdersUpdateShipmentResponse": { - "id": "OrdersUpdateShipmentResponse", - "properties": { - "executionStatus": { - "description": "The status of the execution. Acceptable values are: - \"`duplicate`\" - \"`executed`\" ", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersUpdateShipmentResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "PickupCarrierService": { - "id": "PickupCarrierService", - "properties": { - "carrierName": { - "description": "The name of the pickup carrier (e.g., `\"UPS\"`). Required.", - "type": "string" - }, - "serviceName": { - "description": "The name of the pickup service (e.g., `\"Access point\"`). Required.", - "type": "string" - } - }, - "type": "object" - }, - "PickupServicesPickupService": { - "id": "PickupServicesPickupService", - "properties": { - "carrierName": { - "description": "The name of the carrier (e.g., `\"UPS\"`). Always present.", - "type": "string" - }, - "country": { - "description": "The CLDR country code of the carrier (e.g., \"US\"). Always present.", - "type": "string" - }, - "serviceName": { - "description": "The name of the pickup service (e.g., `\"Access point\"`). Always present.", - "type": "string" - } - }, - "type": "object" - }, - "PosCustomBatchRequest": { - "id": "PosCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "PosCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "PosCustomBatchRequestEntry": { - "id": "PosCustomBatchRequestEntry", - "properties": { - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "inventory": { - "$ref": "PosInventory", - "description": "The inventory to submit. This should be set only if the method is `inventory`." - }, - "merchantId": { - "description": "The ID of the POS data provider.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "The method of the batch entry. Acceptable values are: - \"`delete`\" - \"`get`\" - \"`insert`\" - \"`inventory`\" - \"`sale`\" ", - "type": "string" - }, - "sale": { - "$ref": "PosSale", - "description": "The sale information to submit. This should be set only if the method is `sale`." - }, - "store": { - "$ref": "PosStore", - "description": "The store information to submit. This should be set only if the method is `insert`." - }, - "storeCode": { - "description": "The store code. This should be set only if the method is `delete` or `get`.", - "type": "string" - }, - "targetMerchantId": { - "description": "The ID of the account for which to get/submit data.", - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "PosCustomBatchResponse": { - "id": "PosCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "PosCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posCustomBatchResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "PosCustomBatchResponseEntry": { - "id": "PosCustomBatchResponseEntry", - "properties": { - "batchId": { - "description": "The ID of the request entry to which this entry responds.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if, and only if, the request failed." - }, - "inventory": { - "$ref": "PosInventory", - "description": "The updated inventory information." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posCustomBatchResponseEntry`\"", - "type": "string" - }, - "sale": { - "$ref": "PosSale", - "description": "The updated sale information." - }, - "store": { - "$ref": "PosStore", - "description": "The retrieved or updated store information." - } - }, - "type": "object" - }, - "PosDataProviders": { - "id": "PosDataProviders", - "properties": { - "country": { - "description": "Country code.", - "type": "string" - }, - "posDataProviders": { - "description": "A list of POS data providers.", - "items": { - "$ref": "PosDataProvidersPosDataProvider" - }, - "type": "array" - } - }, - "type": "object" - }, - "PosDataProvidersPosDataProvider": { - "id": "PosDataProvidersPosDataProvider", - "properties": { - "displayName": { - "description": "The display name of Pos data Provider.", - "type": "string" - }, - "fullName": { - "description": "The full name of this POS data Provider.", - "type": "string" - }, - "providerId": { - "description": "The ID of the account.", - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "PosInventory": { - "description": "The absolute quantity of an item available at the given store.", - "id": "PosInventory", - "properties": { - "contentLanguage": { - "description": "Required. The two-letter ISO 639-1 language code for the item.", - "type": "string" - }, - "gtin": { - "description": "Global Trade Item Number.", - "type": "string" - }, - "itemId": { - "description": "Required. A unique identifier for the item.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posInventory`\"", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "Required. The current price of the item." - }, - "quantity": { - "description": "Required. The available quantity of the item.", - "format": "int64", - "type": "string" - }, - "storeCode": { - "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.", - "type": "string" - }, - "targetCountry": { - "description": "Required. The CLDR territory code for the item.", - "type": "string" - }, - "timestamp": { - "description": "Required. The inventory timestamp, in ISO 8601 format.", - "type": "string" - } - }, - "type": "object" - }, - "PosInventoryRequest": { - "id": "PosInventoryRequest", - "properties": { - "contentLanguage": { - "description": "Required. The two-letter ISO 639-1 language code for the item.", - "type": "string" - }, - "gtin": { - "description": "Global Trade Item Number.", - "type": "string" - }, - "itemId": { - "description": "Required. A unique identifier for the item.", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "Required. The current price of the item." - }, - "quantity": { - "description": "Required. The available quantity of the item.", - "format": "int64", - "type": "string" - }, - "storeCode": { - "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.", - "type": "string" - }, - "targetCountry": { - "description": "Required. The CLDR territory code for the item.", - "type": "string" - }, - "timestamp": { - "description": "Required. The inventory timestamp, in ISO 8601 format.", - "type": "string" - } - }, - "type": "object" - }, - "PosInventoryResponse": { - "id": "PosInventoryResponse", - "properties": { - "contentLanguage": { - "description": "Required. The two-letter ISO 639-1 language code for the item.", - "type": "string" - }, - "gtin": { - "description": "Global Trade Item Number.", - "type": "string" - }, - "itemId": { - "description": "Required. A unique identifier for the item.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posInventoryResponse\".", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "Required. The current price of the item." - }, - "quantity": { - "description": "Required. The available quantity of the item.", - "format": "int64", - "type": "string" - }, - "storeCode": { - "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.", - "type": "string" - }, - "targetCountry": { - "description": "Required. The CLDR territory code for the item.", - "type": "string" - }, - "timestamp": { - "description": "Required. The inventory timestamp, in ISO 8601 format.", - "type": "string" - } - }, - "type": "object" - }, - "PosListResponse": { - "id": "PosListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posListResponse\".", - "type": "string" - }, - "resources": { - "items": { - "$ref": "PosStore" - }, - "type": "array" - } - }, - "type": "object" - }, - "PosSale": { - "description": "The change of the available quantity of an item at the given store.", - "id": "PosSale", - "properties": { - "contentLanguage": { - "description": "Required. The two-letter ISO 639-1 language code for the item.", - "type": "string" - }, - "gtin": { - "description": "Global Trade Item Number.", - "type": "string" - }, - "itemId": { - "description": "Required. A unique identifier for the item.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posSale`\"", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "Required. The price of the item." - }, - "quantity": { - "description": "Required. The relative change of the available quantity. Negative for items returned.", - "format": "int64", - "type": "string" - }, - "saleId": { - "description": "A unique ID to group items from the same sale event.", - "type": "string" - }, - "storeCode": { - "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.", - "type": "string" - }, - "targetCountry": { - "description": "Required. The CLDR territory code for the item.", - "type": "string" - }, - "timestamp": { - "description": "Required. The inventory timestamp, in ISO 8601 format.", - "type": "string" - } - }, - "type": "object" - }, - "PosSaleRequest": { - "id": "PosSaleRequest", - "properties": { - "contentLanguage": { - "description": "Required. The two-letter ISO 639-1 language code for the item.", - "type": "string" - }, - "gtin": { - "description": "Global Trade Item Number.", - "type": "string" - }, - "itemId": { - "description": "Required. A unique identifier for the item.", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "Required. The price of the item." - }, - "quantity": { - "description": "Required. The relative change of the available quantity. Negative for items returned.", - "format": "int64", - "type": "string" - }, - "saleId": { - "description": "A unique ID to group items from the same sale event.", - "type": "string" - }, - "storeCode": { - "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.", - "type": "string" - }, - "targetCountry": { - "description": "Required. The CLDR territory code for the item.", - "type": "string" - }, - "timestamp": { - "description": "Required. The inventory timestamp, in ISO 8601 format.", - "type": "string" - } - }, - "type": "object" - }, - "PosSaleResponse": { - "id": "PosSaleResponse", - "properties": { - "contentLanguage": { - "description": "Required. The two-letter ISO 639-1 language code for the item.", - "type": "string" - }, - "gtin": { - "description": "Global Trade Item Number.", - "type": "string" - }, - "itemId": { - "description": "Required. A unique identifier for the item.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#posSaleResponse\".", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "Required. The price of the item." - }, - "quantity": { - "description": "Required. The relative change of the available quantity. Negative for items returned.", - "format": "int64", - "type": "string" - }, - "saleId": { - "description": "A unique ID to group items from the same sale event.", - "type": "string" - }, - "storeCode": { - "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.", - "type": "string" - }, - "targetCountry": { - "description": "Required. The CLDR territory code for the item.", - "type": "string" - }, - "timestamp": { - "description": "Required. The inventory timestamp, in ISO 8601 format.", - "type": "string" - } - }, - "type": "object" - }, - "PosStore": { - "description": "Store resource.", - "id": "PosStore", - "properties": { - "gcidCategory": { - "description": "The business type of the store.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posStore`\"", - "type": "string" - }, - "phoneNumber": { - "description": "The store phone number.", - "type": "string" - }, - "placeId": { - "description": "The Google Place Id of the store location.", - "type": "string" - }, - "storeAddress": { - "description": "Required. The street address of the store.", - "type": "string" - }, - "storeCode": { - "description": "Required. A store identifier that is unique for the given merchant.", - "type": "string" - }, - "storeName": { - "description": "The merchant or store name.", - "type": "string" - }, - "websiteUrl": { - "description": "The website url for the store or merchant.", - "type": "string" - } - }, - "type": "object" - }, - "PostalCodeGroup": { - "id": "PostalCodeGroup", - "properties": { - "country": { - "description": "The CLDR territory code of the country the postal code group applies to. Required.", - "type": "string" - }, - "name": { - "description": "The name of the postal code group, referred to in headers. Required.", - "type": "string" - }, - "postalCodeRanges": { - "description": "A range of postal codes. Required.", - "items": { - "$ref": "PostalCodeRange" - }, - "type": "array" - } - }, - "type": "object" - }, - "PostalCodeRange": { - "id": "PostalCodeRange", - "properties": { - "postalCodeRangeBegin": { - "description": "A postal code or a pattern of the form `prefix*` denoting the inclusive lower bound of the range defining the area. Examples values: `\"94108\"`, `\"9410*\"`, `\"9*\"`. Required.", - "type": "string" - }, - "postalCodeRangeEnd": { - "description": "A postal code or a pattern of the form `prefix*` denoting the inclusive upper bound of the range defining the area. It must have the same length as `postalCodeRangeBegin`: if `postalCodeRangeBegin` is a postal code then `postalCodeRangeEnd` must be a postal code too; if `postalCodeRangeBegin` is a pattern then `postalCodeRangeEnd` must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching `postalCodeRangeBegin`.", - "type": "string" - } - }, - "type": "object" - }, - "Price": { - "id": "Price", - "properties": { - "currency": { - "description": "The currency of the price.", - "type": "string" - }, - "value": { - "description": "The price represented as a number.", - "type": "string" - } - }, - "type": "object" - }, - "Product": { - "description": " Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.", - "id": "Product", - "properties": { - "additionalImageLinks": { - "description": "Additional URLs of images of the item.", - "items": { - "type": "string" - }, - "type": "array" - }, - "additionalProductTypes": { - "description": "Additional categories of the item (formatted as in products data specification).", - "items": { - "type": "string" - }, - "type": "array" - }, - "adult": { - "description": "Should be set to true if the item is targeted towards adults.", - "type": "boolean" - }, - "adwordsGrouping": { - "description": "Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.", - "type": "string" - }, - "adwordsLabels": { - "description": "Similar to adwords_grouping, but only works on CPC.", - "items": { - "type": "string" - }, - "type": "array" - }, - "adwordsRedirect": { - "description": "Allows advertisers to override the item URL when the product is shown within the context of Product Ads.", - "type": "string" - }, - "ageGroup": { - "description": "Target age group of the item. Acceptable values are: - \"`adult`\" - \"`infant`\" - \"`kids`\" - \"`newborn`\" - \"`toddler`\" - \"`youngAdult`\" ", - "type": "string" - }, - "aspects": { - "description": "Deprecated. Do not use.", - "items": { - "$ref": "ProductAspect" - }, - "type": "array" - }, - "availability": { - "description": "Availability status of the item. Acceptable values are: - \"`in stock`\" - \"`out of stock`\" - \"`preorder`\" ", - "type": "string" - }, - "availabilityDate": { - "description": "The day a pre-ordered product becomes available for delivery, in ISO 8601 format.", - "type": "string" - }, - "brand": { - "description": "Brand of the item.", - "type": "string" - }, - "canonicalLink": { - "description": "URL for the canonical version of your item's landing page.", - "type": "string" - }, - "channel": { - "description": "Required. The item's channel (online or local). Acceptable values are: - \"`local`\" - \"`online`\" ", - "type": "string" - }, - "color": { - "description": "Color of the item.", - "type": "string" - }, - "condition": { - "description": "Condition or state of the item. Acceptable values are: - \"`new`\" - \"`refurbished`\" - \"`used`\" ", - "type": "string" - }, - "contentLanguage": { - "description": "Required. The two-letter ISO 639-1 language code for the item.", - "type": "string" - }, - "costOfGoodsSold": { - "$ref": "Price", - "description": "Cost of goods sold. Used for gross profit reporting." - }, - "customAttributes": { - "description": "A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (e.g., `{ \"name\": \"size type\", \"value\": \"regular\" }`). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google (formerly known as Shopping Actions).", - "items": { - "$ref": "CustomAttribute" - }, - "type": "array" - }, - "customGroups": { - "description": "A list of custom (merchant-provided) custom attribute groups.", - "items": { - "$ref": "CustomGroup" - }, - "type": "array" - }, - "customLabel0": { - "description": "Custom label 0 for custom grouping of items in a Shopping campaign.", - "type": "string" - }, - "customLabel1": { - "description": "Custom label 1 for custom grouping of items in a Shopping campaign.", - "type": "string" - }, - "customLabel2": { - "description": "Custom label 2 for custom grouping of items in a Shopping campaign.", - "type": "string" - }, - "customLabel3": { - "description": "Custom label 3 for custom grouping of items in a Shopping campaign.", - "type": "string" - }, - "customLabel4": { - "description": "Custom label 4 for custom grouping of items in a Shopping campaign.", - "type": "string" - }, - "description": { - "description": "Description of the item.", - "type": "string" - }, - "destinations": { - "description": "Specifies the intended destinations for the product.", - "items": { - "$ref": "ProductDestination" - }, - "type": "array" - }, - "displayAdsId": { - "description": "An identifier for an item for dynamic remarketing campaigns.", - "type": "string" - }, - "displayAdsLink": { - "description": "URL directly to your item's landing page for dynamic remarketing campaigns.", - "type": "string" - }, - "displayAdsSimilarIds": { - "description": "Advertiser-specified recommendations.", - "items": { - "type": "string" - }, - "type": "array" - }, - "displayAdsTitle": { - "description": "Title of an item for dynamic remarketing campaigns.", - "type": "string" - }, - "displayAdsValue": { - "description": "Offer margin for dynamic remarketing campaigns.", - "format": "double", - "type": "number" - }, - "energyEfficiencyClass": { - "description": "The energy efficiency class as defined in EU directive 2010/30/EU. Acceptable values are: - \"`A`\" - \"`A+`\" - \"`A++`\" - \"`A+++`\" - \"`B`\" - \"`C`\" - \"`D`\" - \"`E`\" - \"`F`\" - \"`G`\" ", - "type": "string" - }, - "expirationDate": { - "description": "Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in `productstatuses` as `googleExpirationDate` and might be earlier if `expirationDate` is too far in the future.", - "type": "string" - }, - "gender": { - "description": "Target gender of the item. Acceptable values are: - \"`female`\" - \"`male`\" - \"`unisex`\" ", - "type": "string" - }, - "googleProductCategory": { - "description": "Google's category of the item (see [Google product taxonomy](https://support.google.com/merchants/answer/1705911)). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.", - "type": "string" - }, - "gtin": { - "description": "Global Trade Item Number (GTIN) of the item.", - "type": "string" - }, - "id": { - "description": "The REST ID of the product. Content API methods that operate on products take this as their `productId` parameter. The REST ID for a product is of the form channel:contentLanguage: targetCountry: offerId.", - "type": "string" - }, - "identifierExists": { - "description": "False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.", - "type": "boolean" - }, - "imageLink": { - "description": "URL of an image of the item.", - "type": "string" - }, - "installment": { - "$ref": "Installment", - "description": "Number and amount of installments to pay for an item." - }, - "isBundle": { - "description": "Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.", - "type": "boolean" - }, - "itemGroupId": { - "description": "Shared identifier for all variants of the same product.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#product`\"", - "type": "string" - }, - "link": { - "description": "URL directly linking to your item's page on your website.", - "type": "string" - }, - "loyaltyPoints": { - "$ref": "LoyaltyPoints", - "description": "Loyalty points that users receive after purchasing the item. Japan only." - }, - "material": { - "description": "The material of which the item is made.", - "type": "string" - }, - "maxEnergyEfficiencyClass": { - "description": "The energy efficiency class as defined in EU directive 2010/30/EU. Acceptable values are: - \"`A`\" - \"`A+`\" - \"`A++`\" - \"`A+++`\" - \"`B`\" - \"`C`\" - \"`D`\" - \"`E`\" - \"`F`\" - \"`G`\" ", - "type": "string" - }, - "maxHandlingTime": { - "description": "Maximal product handling time (in business days).", - "format": "int64", - "type": "string" - }, - "minEnergyEfficiencyClass": { - "description": "The energy efficiency class as defined in EU directive 2010/30/EU. Acceptable values are: - \"`A`\" - \"`A+`\" - \"`A++`\" - \"`A+++`\" - \"`B`\" - \"`C`\" - \"`D`\" - \"`E`\" - \"`F`\" - \"`G`\" ", - "type": "string" - }, - "minHandlingTime": { - "description": "Minimal product handling time (in business days).", - "format": "int64", - "type": "string" - }, - "mobileLink": { - "description": "URL for the mobile-optimized version of your item's landing page.", - "type": "string" - }, - "mpn": { - "description": "Manufacturer Part Number (MPN) of the item.", - "type": "string" - }, - "multipack": { - "description": "The number of identical products in a merchant-defined multipack.", - "format": "int64", - "type": "string" - }, - "offerId": { - "description": "Required. A unique identifier for the item. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. Only valid unicode characters are accepted. See the products feed specification for details. *Note:* Content API methods that operate on products take the REST ID of the product, *not* this identifier.", - "type": "string" - }, - "onlineOnly": { - "description": "Deprecated.", - "type": "boolean" - }, - "pattern": { - "description": "The item's pattern (e.g. polka dots).", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "Price of the item." - }, - "productType": { - "description": "Your category of the item (formatted as in products data specification).", - "type": "string" - }, - "promotionIds": { - "description": "The unique ID of a promotion.", - "items": { - "type": "string" - }, - "type": "array" - }, - "salePrice": { - "$ref": "Price", - "description": "Advertised sale price of the item." - }, - "salePriceEffectiveDate": { - "description": "Date range during which the item is on sale (see products data specification ).", - "type": "string" - }, - "sellOnGoogleQuantity": { - "description": "The quantity of the product that is available for selling on Google. Supported only for online products.", - "format": "int64", - "type": "string" - }, - "shipping": { - "description": "Shipping rules.", - "items": { - "$ref": "ProductShipping" - }, - "type": "array" - }, - "shippingHeight": { - "$ref": "ProductShippingDimension", - "description": "Height of the item for shipping." - }, - "shippingLabel": { - "description": "The shipping label of the product, used to group product in account-level shipping rules.", - "type": "string" - }, - "shippingLength": { - "$ref": "ProductShippingDimension", - "description": "Length of the item for shipping." - }, - "shippingWeight": { - "$ref": "ProductShippingWeight", - "description": "Weight of the item for shipping." - }, - "shippingWidth": { - "$ref": "ProductShippingDimension", - "description": "Width of the item for shipping." - }, - "sizeSystem": { - "description": "System in which the size is specified. Recommended for apparel items. Acceptable values are: - \"`AU`\" - \"`BR`\" - \"`CN`\" - \"`DE`\" - \"`EU`\" - \"`FR`\" - \"`IT`\" - \"`JP`\" - \"`MEX`\" - \"`UK`\" - \"`US`\" ", - "type": "string" - }, - "sizeType": { - "description": "The cut of the item. Recommended for apparel items. Acceptable values are: - \"`big and tall`\" - \"`maternity`\" - \"`oversize`\" - \"`petite`\" - \"`plus`\" - \"`regular`\" ", - "type": "string" - }, - "sizes": { - "description": "Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same `itemGroupId` value (see size definition).", - "items": { - "type": "string" - }, - "type": "array" - }, - "source": { - "description": "The source of the offer, i.e., how the offer was created. Acceptable values are: - \"`api`\" - \"`crawl`\" - \"`feed`\" ", - "type": "string" - }, - "targetCountry": { - "description": "Required. The CLDR territory code for the item.", - "type": "string" - }, - "taxes": { - "description": "Tax information.", - "items": { - "$ref": "ProductTax" - }, - "type": "array" - }, - "title": { - "description": "Title of the item.", - "type": "string" - }, - "unitPricingBaseMeasure": { - "$ref": "ProductUnitPricingBaseMeasure", - "description": "The preference of the denominator of the unit price." - }, - "unitPricingMeasure": { - "$ref": "ProductUnitPricingMeasure", - "description": "The measure and dimension of an item." - }, - "validatedDestinations": { - "description": "Deprecated. The read-only list of intended destinations which passed validation.", - "items": { - "type": "string" - }, - "type": "array" - }, - "warnings": { - "description": "Read-only warnings.", - "items": { - "$ref": "Error" - }, - "type": "array" - } - }, - "type": "object" - }, - "ProductAmount": { - "id": "ProductAmount", - "properties": { - "priceAmount": { - "$ref": "Price", - "description": "The pre-tax or post-tax price depending on the location of the order." - }, - "remittedTaxAmount": { - "$ref": "Price", - "description": "Remitted tax value." - }, - "taxAmount": { - "$ref": "Price", - "description": "Tax value." - } - }, - "type": "object" - }, - "ProductAspect": { - "id": "ProductAspect", - "properties": { - "aspectName": { - "description": "Deprecated.", - "type": "string" - }, - "destinationName": { - "description": "Deprecated.", - "type": "string" - }, - "intention": { - "description": "Deprecated.", - "type": "string" - } - }, - "type": "object" - }, - "ProductDestination": { - "id": "ProductDestination", - "properties": { - "destinationName": { - "description": "The name of the destination.", - "type": "string" - }, - "intention": { - "description": "Whether the destination is required, excluded or should be validated. Acceptable values are: - \"`default`\" - \"`excluded`\" - \"`optional`\" - \"`required`\" ", - "type": "string" - } - }, - "type": "object" - }, - "ProductShipping": { - "id": "ProductShipping", - "properties": { - "country": { - "description": "The CLDR territory code of the country to which an item will ship.", - "type": "string" - }, - "locationGroupName": { - "description": "The location where the shipping is applicable, represented by a location group name.", - "type": "string" - }, - "locationId": { - "description": "The numeric ID of a location that the shipping rate applies to as defined in the AdWords API.", - "format": "int64", - "type": "string" - }, - "postalCode": { - "description": "The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "Fixed shipping price, represented as a number." - }, - "region": { - "description": "The geographic region to which a shipping rate applies.", - "type": "string" - }, - "service": { - "description": "A free-form description of the service class or delivery speed.", - "type": "string" - } - }, - "type": "object" - }, - "ProductShippingDimension": { - "id": "ProductShippingDimension", - "properties": { - "unit": { - "description": "The unit of value.", - "type": "string" - }, - "value": { - "description": "The dimension of the product used to calculate the shipping cost of the item.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "ProductShippingWeight": { - "id": "ProductShippingWeight", - "properties": { - "unit": { - "description": "The unit of value.", - "type": "string" - }, - "value": { - "description": "The weight of the product used to calculate the shipping cost of the item.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "ProductStatus": { - "description": "The status of a product, i.e., information about a product computed asynchronously.", - "id": "ProductStatus", - "properties": { - "creationDate": { - "description": "Date on which the item has been created, in ISO 8601 format.", - "type": "string" - }, - "dataQualityIssues": { - "description": "DEPRECATED - never populated", - "items": { - "$ref": "ProductStatusDataQualityIssue" - }, - "type": "array" - }, - "destinationStatuses": { - "description": "The intended destinations for the product.", - "items": { - "$ref": "ProductStatusDestinationStatus" - }, - "type": "array" - }, - "googleExpirationDate": { - "description": "Date on which the item expires in Google Shopping, in ISO 8601 format.", - "type": "string" - }, - "itemLevelIssues": { - "description": "A list of all issues associated with the product.", - "items": { - "$ref": "ProductStatusItemLevelIssue" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productStatus`\"", - "type": "string" - }, - "lastUpdateDate": { - "description": "Date on which the item has been last updated, in ISO 8601 format.", - "type": "string" - }, - "link": { - "description": "The link to the product.", - "type": "string" - }, - "product": { - "$ref": "Product", - "description": "Product data after applying all the join inputs." - }, - "productId": { - "description": "The ID of the product for which status is reported.", - "type": "string" - }, - "title": { - "description": "The title of the product.", - "type": "string" - } - }, - "type": "object" - }, - "ProductStatusDataQualityIssue": { - "id": "ProductStatusDataQualityIssue", - "properties": { - "destination": { - "type": "string" - }, - "detail": { - "type": "string" - }, - "fetchStatus": { - "type": "string" - }, - "id": { - "type": "string" - }, - "location": { - "type": "string" - }, - "severity": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "valueOnLandingPage": { - "type": "string" - }, - "valueProvided": { - "type": "string" - } - }, - "type": "object" - }, - "ProductStatusDestinationStatus": { - "id": "ProductStatusDestinationStatus", - "properties": { - "approvalPending": { - "description": "Whether the approval status might change due to further processing.", - "type": "boolean" - }, - "approvalStatus": { - "description": "The destination's approval status. Acceptable values are: - \"`approved`\" - \"`disapproved`\" ", - "type": "string" - }, - "destination": { - "description": "The name of the destination", - "type": "string" - }, - "intention": { - "description": "Provided for backward compatibility only. Always set to \"required\". Acceptable values are: - \"`default`\" - \"`excluded`\" - \"`optional`\" - \"`required`\" ", - "type": "string" - } - }, - "type": "object" - }, - "ProductStatusItemLevelIssue": { - "id": "ProductStatusItemLevelIssue", - "properties": { - "attributeName": { - "description": "The attribute's name, if the issue is caused by a single attribute.", - "type": "string" - }, - "code": { - "description": "The error code of the issue.", - "type": "string" - }, - "description": { - "description": "A short issue description in English.", - "type": "string" - }, - "destination": { - "description": "The destination the issue applies to.", - "type": "string" - }, - "detail": { - "description": "A detailed issue description in English.", - "type": "string" - }, - "documentation": { - "description": "The URL of a web page to help with resolving this issue.", - "type": "string" - }, - "resolution": { - "description": "Whether the issue can be resolved by the merchant.", - "type": "string" - }, - "servability": { - "description": "How this issue affects serving of the offer.", - "type": "string" - } - }, - "type": "object" - }, - "ProductTax": { - "id": "ProductTax", - "properties": { - "country": { - "description": "The country within which the item is taxed, specified as a CLDR territory code.", - "type": "string" - }, - "locationId": { - "description": "The numeric ID of a location that the tax rate applies to as defined in the AdWords API.", - "format": "int64", - "type": "string" - }, - "postalCode": { - "description": "The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, 94*-95*.", - "type": "string" - }, - "rate": { - "description": "The percentage of tax rate that applies to the item price.", - "format": "double", - "type": "number" - }, - "region": { - "description": "The geographic region to which the tax rate applies.", - "type": "string" - }, - "taxShip": { - "description": "Should be set to true if tax is charged on shipping.", - "type": "boolean" - } - }, - "type": "object" - }, - "ProductUnitPricingBaseMeasure": { - "id": "ProductUnitPricingBaseMeasure", - "properties": { - "unit": { - "description": "The unit of the denominator.", - "type": "string" - }, - "value": { - "description": "The denominator of the unit price.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ProductUnitPricingMeasure": { - "id": "ProductUnitPricingMeasure", - "properties": { - "unit": { - "description": "The unit of the measure.", - "type": "string" - }, - "value": { - "description": "The measure of an item.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "ProductsCustomBatchRequest": { - "id": "ProductsCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "ProductsCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "ProductsCustomBatchRequestEntry": { - "description": "A batch entry encoding a single non-batch products request.", - "id": "ProductsCustomBatchRequestEntry", - "properties": { - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "The method of the batch entry. Acceptable values are: - \"`delete`\" - \"`get`\" - \"`insert`\" ", - "type": "string" - }, - "product": { - "$ref": "Product", - "description": "The product to insert. Only required if the method is `insert`." - }, - "productId": { - "description": "The ID of the product to get or delete. Only defined if the method is `get` or `delete`.", - "type": "string" - } - }, - "type": "object" - }, - "ProductsCustomBatchResponse": { - "id": "ProductsCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "ProductsCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#productsCustomBatchResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "ProductsCustomBatchResponseEntry": { - "description": "A batch entry encoding a single non-batch products response.", - "id": "ProductsCustomBatchResponseEntry", - "properties": { - "batchId": { - "description": "The ID of the request entry this entry responds to.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if and only if the request failed." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productsCustomBatchResponseEntry`\"", - "type": "string" - }, - "product": { - "$ref": "Product", - "description": "The inserted product. Only defined if the method is `insert` and if the request was successful." - } - }, - "type": "object" - }, - "ProductsListResponse": { - "id": "ProductsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#productsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of products.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "Product" - }, - "type": "array" - } - }, - "type": "object" - }, - "ProductstatusesCustomBatchRequest": { - "id": "ProductstatusesCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "ProductstatusesCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "ProductstatusesCustomBatchRequestEntry": { - "description": "A batch entry encoding a single non-batch productstatuses request.", - "id": "ProductstatusesCustomBatchRequestEntry", - "properties": { - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "destinations": { - "description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", - "items": { - "type": "string" - }, - "type": "array" - }, - "includeAttributes": { - "type": "boolean" - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "The method of the batch entry. Acceptable values are: - \"`get`\" ", - "type": "string" - }, - "productId": { - "description": "The ID of the product whose status to get.", - "type": "string" - } - }, - "type": "object" - }, - "ProductstatusesCustomBatchResponse": { - "id": "ProductstatusesCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "ProductstatusesCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#productstatusesCustomBatchResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "ProductstatusesCustomBatchResponseEntry": { - "description": "A batch entry encoding a single non-batch productstatuses response.", - "id": "ProductstatusesCustomBatchResponseEntry", - "properties": { - "batchId": { - "description": "The ID of the request entry this entry responds to.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors, if the request failed." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productstatusesCustomBatchResponseEntry`\"", - "type": "string" - }, - "productStatus": { - "$ref": "ProductStatus", - "description": "The requested product status. Only defined if the request was successful." - } - }, - "type": "object" - }, - "ProductstatusesListResponse": { - "id": "ProductstatusesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#productstatusesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of products statuses.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "ProductStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "Promotion": { - "id": "Promotion", - "properties": { - "promotionAmount": { - "$ref": "Amount", - "description": "[required] Amount of the promotion. The values here are the promotion applied to the unit price pretax and to the total of the tax amounts." - }, - "promotionId": { - "description": "[required] ID of the promotion.", - "type": "string" - } - }, - "type": "object" - }, - "RateGroup": { - "id": "RateGroup", - "properties": { - "applicableShippingLabels": { - "description": "A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service. Required.", - "items": { - "type": "string" - }, - "type": "array" - }, - "carrierRates": { - "description": "A list of carrier rates that can be referred to by `mainTable` or `singleValue`.", - "items": { - "$ref": "CarrierRate" - }, - "type": "array" - }, - "mainTable": { - "$ref": "Table", - "description": "A table defining the rate group, when `singleValue` is not expressive enough. Can only be set if `singleValue` is not set." - }, - "name": { - "description": "Name of the rate group. Optional. If set has to be unique within shipping service.", - "type": "string" - }, - "singleValue": { - "$ref": "Value", - "description": "The value of the rate group (e.g. flat rate $10). Can only be set if `mainTable` and `subtables` are not set." - }, - "subtables": { - "description": "A list of subtables referred to by `mainTable`. Can only be set if `mainTable` is set.", - "items": { - "$ref": "Table" - }, - "type": "array" - } - }, - "type": "object" - }, - "RefundReason": { - "id": "RefundReason", - "properties": { - "description": { - "description": "Description of the reason.", - "type": "string" - }, - "reasonCode": { - "description": "Code of the refund reason. Acceptable values are: - \"`adjustment`\" - \"`autoPostInternal`\" - \"`autoPostInvalidBillingAddress`\" - \"`autoPostNoInventory`\" - \"`autoPostPriceError`\" - \"`autoPostUndeliverableShippingAddress`\" - \"`couponAbuse`\" - \"`courtesyAdjustment`\" - \"`customerCanceled`\" - \"`customerDiscretionaryReturn`\" - \"`customerInitiatedMerchantCancel`\" - \"`customerSupportRequested`\" - \"`deliveredLateByCarrier`\" - \"`deliveredTooLate`\" - \"`expiredItem`\" - \"`failToPushOrderGoogleError`\" - \"`failToPushOrderMerchantError`\" - \"`failToPushOrderMerchantFulfillmentError`\" - \"`failToPushOrderToMerchant`\" - \"`failToPushOrderToMerchantOutOfStock`\" - \"`feeAdjustment`\" - \"`invalidCoupon`\" - \"`lateShipmentCredit`\" - \"`malformedShippingAddress`\" - \"`merchantDidNotShipOnTime`\" - \"`noInventory`\" - \"`orderTimeout`\" - \"`other`\" - \"`paymentAbuse`\" - \"`paymentDeclined`\" - \"`priceAdjustment`\" - \"`priceError`\" - \"`productArrivedDamaged`\" - \"`productNotAsDescribed`\" - \"`promoReallocation`\" - \"`qualityNotAsExpected`\" - \"`returnRefundAbuse`\" - \"`shippingCostAdjustment`\" - \"`shippingPriceError`\" - \"`taxAdjustment`\" - \"`taxError`\" - \"`undeliverableShippingAddress`\" - \"`unsupportedPoBoxAddress`\" - \"`wrongProductShipped`\" ", - "type": "string" - } - }, - "type": "object" - }, - "ReturnShipment": { - "id": "ReturnShipment", - "properties": { - "creationDate": { - "description": "The date of creation of the shipment, in ISO 8601 format.", - "type": "string" - }, - "deliveryDate": { - "description": "The date of delivery of the shipment, in ISO 8601 format.", - "type": "string" - }, - "returnMethodType": { - "description": "Type of the return method. Acceptable values are: - \"`byMail`\" - \"`contactCustomerSupport`\" - \"`returnless`\" ", - "type": "string" - }, - "shipmentId": { - "description": "Shipment ID generated by Google.", - "type": "string" - }, - "shipmentTrackingInfos": { - "description": "Tracking information of the shipment. One return shipment might be handled by several shipping carriers sequentially.", - "items": { - "$ref": "ShipmentTrackingInfo" - }, - "type": "array" - }, - "shippingDate": { - "description": "The date of shipping of the shipment, in ISO 8601 format.", - "type": "string" - }, - "state": { - "description": "State of the shipment. Acceptable values are: - \"`completed`\" - \"`new`\" - \"`shipped`\" - \"`undeliverable`\" - \"`pending`\" ", - "type": "string" - } - }, - "type": "object" - }, - "Row": { - "id": "Row", - "properties": { - "cells": { - "description": "The list of cells that constitute the row. Must have the same length as `columnHeaders` for two-dimensional tables, a length of 1 for one-dimensional tables. Required.", - "items": { - "$ref": "Value" - }, - "type": "array" - } - }, - "type": "object" - }, - "Service": { - "id": "Service", - "properties": { - "active": { - "description": "A boolean exposing the active status of the shipping service. Required.", - "type": "boolean" - }, - "currency": { - "description": "The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.", - "type": "string" - }, - "deliveryCountry": { - "description": "The CLDR territory code of the country to which the service applies. Required.", - "type": "string" - }, - "deliveryTime": { - "$ref": "DeliveryTime", - "description": "Time spent in various aspects from order to the delivery of the product. Required." - }, - "eligibility": { - "description": "Eligibility for this service. Acceptable values are: - \"`All scenarios`\" - \"`All scenarios except Shopping Actions`\" - \"`Shopping Actions`\" ", - "type": "string" - }, - "minimumOrderValue": { - "$ref": "Price", - "description": "Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with minimum_order_value_table." - }, - "minimumOrderValueTable": { - "$ref": "MinimumOrderValueTable", - "description": "Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with minimum_order_value." - }, - "name": { - "description": "Free-form name of the service. Must be unique within target account. Required.", - "type": "string" - }, - "pickupService": { - "$ref": "PickupCarrierService", - "description": "The carrier-service pair delivering items to collection points. The list of supported pickup services can be retrieved via the `getSupportedPickupServices` method. Required if and only if the service delivery type is `pickup`." - }, - "rateGroups": { - "description": "Shipping rate group definitions. Only the last one is allowed to have an empty `applicableShippingLabels`, which means \"everything else\". The other `applicableShippingLabels` must not overlap.", - "items": { - "$ref": "RateGroup" - }, - "type": "array" - }, - "shipmentType": { - "description": "Type of locations this service ships orders to. Acceptable values are: - \"`delivery`\" - \"`pickup`\" ", - "type": "string" - } - }, - "type": "object" - }, - "ShipmentInvoice": { - "id": "ShipmentInvoice", - "properties": { - "invoiceSummary": { - "$ref": "InvoiceSummary", - "description": "[required] Invoice summary." - }, - "lineItemInvoices": { - "description": "[required] Invoice details per line item.", - "items": { - "$ref": "ShipmentInvoiceLineItemInvoice" - }, - "type": "array" - }, - "shipmentGroupId": { - "description": "[required] ID of the shipment group. It is assigned by the merchant in the `shipLineItems` method and is used to group multiple line items that have the same kind of shipping charges.", - "type": "string" - } - }, - "type": "object" - }, - "ShipmentInvoiceLineItemInvoice": { - "id": "ShipmentInvoiceLineItemInvoice", - "properties": { - "lineItemId": { - "description": "ID of the line item. Either lineItemId or productId must be set.", - "type": "string" - }, - "productId": { - "description": "ID of the product. This is the REST ID used in the products service. Either lineItemId or productId must be set.", - "type": "string" - }, - "shipmentUnitIds": { - "description": "[required] The shipment unit ID is assigned by the merchant and defines individual quantities within a line item. The same ID can be assigned to units that are the same while units that differ must be assigned a different ID (for example: free or promotional units).", - "items": { - "type": "string" - }, - "type": "array" - }, - "unitInvoice": { - "$ref": "UnitInvoice", - "description": "[required] Invoice details for a single unit." - } - }, - "type": "object" - }, - "ShipmentTrackingInfo": { - "id": "ShipmentTrackingInfo", - "properties": { - "carrier": { - "description": "The shipping carrier that handles the package. Acceptable values are: - \"`boxtal`\" - \"`bpost`\" - \"`chronopost`\" - \"`colisPrive`\" - \"`colissimo`\" - \"`cxt`\" - \"`deliv`\" - \"`dhl`\" - \"`dpd`\" - \"`dynamex`\" - \"`eCourier`\" - \"`easypost`\" - \"`efw`\" - \"`fedex`\" - \"`fedexSmartpost`\" - \"`geodis`\" - \"`gls`\" - \"`googleCourier`\" - \"`gsx`\" - \"`jdLogistics`\" - \"`laPoste`\" - \"`lasership`\" - \"`manual`\" - \"`mpx`\" - \"`onTrac`\" - \"`other`\" - \"`tnt`\" - \"`uds`\" - \"`ups`\" - \"`usps`\" ", - "type": "string" - }, - "trackingNumber": { - "description": "The tracking number for the package.", - "type": "string" - } - }, - "type": "object" - }, - "ShippingSettings": { - "description": "The merchant account's shipping settings. All methods except getsupportedcarriers and getsupportedholidays require the admin role.", - "id": "ShippingSettings", - "properties": { - "accountId": { - "description": "The ID of the account to which these account shipping settings belong. Ignored upon update, always present in get request responses.", - "format": "uint64", - "type": "string" - }, - "postalCodeGroups": { - "description": "A list of postal code groups that can be referred to in `services`. Optional.", - "items": { - "$ref": "PostalCodeGroup" - }, - "type": "array" - }, - "services": { - "description": "The target account's list of services. Optional.", - "items": { - "$ref": "Service" - }, - "type": "array" - }, - "warehouses": { - "description": "Optional. A list of warehouses which can be referred to in `services`.", - "items": { - "$ref": "Warehouse" - }, - "type": "array" - } - }, - "type": "object" - }, - "ShippingsettingsCustomBatchRequest": { - "id": "ShippingsettingsCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "ShippingsettingsCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "ShippingsettingsCustomBatchRequestEntry": { - "description": "A batch entry encoding a single non-batch shippingsettings request.", - "id": "ShippingsettingsCustomBatchRequestEntry", - "properties": { - "accountId": { - "description": "The ID of the account for which to get/update account shipping settings.", - "format": "uint64", - "type": "string" - }, - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "merchantId": { - "description": "The ID of the managing account.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "The method of the batch entry. Acceptable values are: - \"`get`\" - \"`update`\" ", - "type": "string" - }, - "shippingSettings": { - "$ref": "ShippingSettings", - "description": "The account shipping settings to update. Only defined if the method is `update`." - } - }, - "type": "object" - }, - "ShippingsettingsCustomBatchResponse": { - "id": "ShippingsettingsCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "ShippingsettingsCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#shippingsettingsCustomBatchResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "ShippingsettingsCustomBatchResponseEntry": { - "description": "A batch entry encoding a single non-batch shipping settings response.", - "id": "ShippingsettingsCustomBatchResponseEntry", - "properties": { - "batchId": { - "description": "The ID of the request entry to which this entry responds.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if, and only if, the request failed." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsCustomBatchResponseEntry`\"", - "type": "string" - }, - "shippingSettings": { - "$ref": "ShippingSettings", - "description": "The retrieved or updated account shipping settings." - } - }, - "type": "object" - }, - "ShippingsettingsGetSupportedCarriersResponse": { - "id": "ShippingsettingsGetSupportedCarriersResponse", - "properties": { - "carriers": { - "description": "A list of supported carriers. May be empty.", - "items": { - "$ref": "CarriersCarrier" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#shippingsettingsGetSupportedCarriersResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "ShippingsettingsGetSupportedHolidaysResponse": { - "id": "ShippingsettingsGetSupportedHolidaysResponse", - "properties": { - "holidays": { - "description": "A list of holidays applicable for delivery guarantees. May be empty.", - "items": { - "$ref": "HolidaysHoliday" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#shippingsettingsGetSupportedHolidaysResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "ShippingsettingsGetSupportedPickupServicesResponse": { - "id": "ShippingsettingsGetSupportedPickupServicesResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#shippingsettingsGetSupportedPickupServicesResponse\".", - "type": "string" - }, - "pickupServices": { - "description": "A list of supported pickup services. May be empty.", - "items": { - "$ref": "PickupServicesPickupService" - }, - "type": "array" - } - }, - "type": "object" - }, - "ShippingsettingsListResponse": { - "id": "ShippingsettingsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"content#shippingsettingsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of shipping settings.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "ShippingSettings" - }, - "type": "array" - } - }, - "type": "object" - }, - "Table": { - "id": "Table", - "properties": { - "columnHeaders": { - "$ref": "Headers", - "description": "Headers of the table's columns. Optional: if not set then the table has only one dimension." - }, - "name": { - "description": "Name of the table. Required for subtables, ignored for the main table.", - "type": "string" - }, - "rowHeaders": { - "$ref": "Headers", - "description": "Headers of the table's rows. Required." - }, - "rows": { - "description": "The list of rows that constitute the table. Must have the same length as `rowHeaders`. Required.", - "items": { - "$ref": "Row" - }, - "type": "array" - } - }, - "type": "object" - }, - "TestOrder": { - "id": "TestOrder", - "properties": { - "customer": { - "$ref": "TestOrderCustomer", - "description": "Required. The details of the customer who placed the order." - }, - "enableOrderinvoices": { - "description": "Whether the orderinvoices service should support this order.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#testOrder`\"", - "type": "string" - }, - "lineItems": { - "description": "Required. Line items that are ordered. At least one line item must be provided.", - "items": { - "$ref": "TestOrderLineItem" - }, - "type": "array" - }, - "notificationMode": { - "description": "Restricted. Do not use.", - "type": "string" - }, - "paymentMethod": { - "$ref": "TestOrderPaymentMethod", - "description": "The details of the payment method." - }, - "predefinedDeliveryAddress": { - "description": "Required. Identifier of one of the predefined delivery addresses for the delivery. Acceptable values are: - \"`dwight`\" - \"`jim`\" - \"`pam`\" ", - "type": "string" - }, - "predefinedPickupDetails": { - "description": "Identifier of one of the predefined pickup details. Required for orders containing line items with shipping type `pickup`. Acceptable values are: - \"`dwight`\" - \"`jim`\" - \"`pam`\" ", - "type": "string" - }, - "promotions": { - "description": "Deprecated. Ignored if provided.", - "items": { - "$ref": "OrderLegacyPromotion" - }, - "type": "array" - }, - "shippingCost": { - "$ref": "Price", - "description": "Required. The price of shipping for all items. Shipping tax is automatically calculated for orders where marketplace facilitator tax laws are applicable. Otherwise, tax settings from Merchant Center are applied. Note that shipping is not taxed in certain states." - }, - "shippingCostTax": { - "$ref": "Price", - "description": "Deprecated. Ignored if provided." - }, - "shippingOption": { - "description": "Required. The requested shipping option. Acceptable values are: - \"`economy`\" - \"`expedited`\" - \"`oneDay`\" - \"`sameDay`\" - \"`standard`\" - \"`twoDay`\" ", - "type": "string" - } - }, - "type": "object" - }, - "TestOrderCustomer": { - "id": "TestOrderCustomer", - "properties": { - "email": { - "description": "Required. Email address of the customer. Acceptable values are: - \"`pog.dwight.schrute@gmail.com`\" - \"`pog.jim.halpert@gmail.com`\" - \"`penpog.pam.beesly@gmail.comding`\" ", - "type": "string" - }, - "explicitMarketingPreference": { - "description": "Deprecated. Please use marketingRightsInfo instead.", - "type": "boolean" - }, - "fullName": { - "description": "Full name of the customer.", - "type": "string" - }, - "marketingRightsInfo": { - "$ref": "TestOrderCustomerMarketingRightsInfo", - "description": "Customer's marketing preferences." - } - }, - "type": "object" - }, - "TestOrderCustomerMarketingRightsInfo": { - "id": "TestOrderCustomerMarketingRightsInfo", - "properties": { - "explicitMarketingPreference": { - "description": "Last know user use selection regards marketing preferences. In certain cases selection might not be known, so this field would be empty. Acceptable values are: - \"`denied`\" - \"`granted`\" ", - "type": "string" - }, - "lastUpdatedTimestamp": { - "description": "Timestamp when last time marketing preference was updated. Could be empty, if user wasn't offered a selection yet.", - "type": "string" - } - }, - "type": "object" - }, - "TestOrderLineItem": { - "id": "TestOrderLineItem", - "properties": { - "product": { - "$ref": "TestOrderLineItemProduct", - "description": "Required. Product data from the time of the order placement." - }, - "quantityOrdered": { - "description": "Required. Number of items ordered.", - "format": "uint32", - "type": "integer" - }, - "returnInfo": { - "$ref": "OrderLineItemReturnInfo", - "description": "Required. Details of the return policy for the line item." - }, - "shippingDetails": { - "$ref": "OrderLineItemShippingDetails", - "description": "Required. Details of the requested shipping for the line item." - }, - "unitTax": { - "$ref": "Price", - "description": "Deprecated. Ignored if provided." - } - }, - "type": "object" - }, - "TestOrderLineItemProduct": { - "id": "TestOrderLineItemProduct", - "properties": { - "brand": { - "description": "Required. Brand of the item.", - "type": "string" - }, - "channel": { - "description": "Deprecated. Acceptable values are: - \"`online`\" ", - "type": "string" - }, - "condition": { - "description": "Required. Condition or state of the item. Acceptable values are: - \"`new`\" ", - "type": "string" - }, - "contentLanguage": { - "description": "Required. The two-letter ISO 639-1 language code for the item. Acceptable values are: - \"`en`\" - \"`fr`\" ", - "type": "string" - }, - "fees": { - "description": "Fees for the item. Optional.", - "items": { - "$ref": "OrderLineItemProductFee" - }, - "type": "array" - }, - "gtin": { - "description": "Global Trade Item Number (GTIN) of the item. Optional.", - "type": "string" - }, - "imageLink": { - "description": "Required. URL of an image of the item.", - "type": "string" - }, - "itemGroupId": { - "description": "Shared identifier for all variants of the same product. Optional.", - "type": "string" - }, - "mpn": { - "description": "Manufacturer Part Number (MPN) of the item. Optional.", - "type": "string" - }, - "offerId": { - "description": "Required. An identifier of the item.", - "type": "string" - }, - "price": { - "$ref": "Price", - "description": "Required. The price for the product. Tax is automatically calculated for orders where marketplace facilitator tax laws are applicable. Otherwise, tax settings from Merchant Center are applied." - }, - "targetCountry": { - "description": "Required. The CLDR territory // code of the target country of the product.", - "type": "string" - }, - "title": { - "description": "Required. The title of the product.", - "type": "string" - }, - "variantAttributes": { - "description": "Variant attributes for the item. Optional.", - "items": { - "$ref": "OrderLineItemProductVariantAttribute" - }, - "type": "array" - } - }, - "type": "object" - }, - "TestOrderPaymentMethod": { - "id": "TestOrderPaymentMethod", - "properties": { - "expirationMonth": { - "description": "The card expiration month (January = 1, February = 2 etc.).", - "format": "int32", - "type": "integer" - }, - "expirationYear": { - "description": "The card expiration year (4-digit, e.g. 2015).", - "format": "int32", - "type": "integer" - }, - "lastFourDigits": { - "description": "The last four digits of the card number.", - "type": "string" - }, - "predefinedBillingAddress": { - "description": "The billing address. Acceptable values are: - \"`dwight`\" - \"`jim`\" - \"`pam`\" ", - "type": "string" - }, - "type": { - "description": "The type of instrument. Note that real orders might have different values than the four values accepted by `createTestOrder`. Acceptable values are: - \"`AMEX`\" - \"`DISCOVER`\" - \"`MASTERCARD`\" - \"`VISA`\" ", - "type": "string" - } - }, - "type": "object" - }, - "TransitTable": { - "id": "TransitTable", - "properties": { - "postalCodeGroupNames": { - "description": "A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service.", - "items": { - "type": "string" - }, - "type": "array" - }, - "rows": { - "items": { - "$ref": "TransitTableTransitTimeRow" - }, - "type": "array" - }, - "transitTimeLabels": { - "description": "A list of transit time labels. The last value can be `\"all other labels\"`. Example: `[\"food\", \"electronics\", \"all other labels\"]`.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TransitTableTransitTimeRow": { - "id": "TransitTableTransitTimeRow", - "properties": { - "values": { - "items": { - "$ref": "TransitTableTransitTimeRowTransitTimeValue" - }, - "type": "array" - } - }, - "type": "object" - }, - "TransitTableTransitTimeRowTransitTimeValue": { - "id": "TransitTableTransitTimeRowTransitTimeValue", - "properties": { - "maxTransitTimeInDays": { - "description": "Must be greater than or equal to `minTransitTimeInDays`.", - "format": "uint32", - "type": "integer" - }, - "minTransitTimeInDays": { - "description": "Transit time range (min-max) in business days. 0 means same day delivery, 1 means next day delivery.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "UnitInvoice": { - "id": "UnitInvoice", - "properties": { - "additionalCharges": { - "description": "Additional charges for a unit, e.g. shipping costs.", - "items": { - "$ref": "UnitInvoiceAdditionalCharge" - }, - "type": "array" - }, - "promotions": { - "description": "Deprecated.", - "items": { - "$ref": "Promotion" - }, - "type": "array" - }, - "unitPricePretax": { - "$ref": "Price", - "description": "[required] Price of the unit, before applying taxes." - }, - "unitPriceTaxes": { - "description": "Tax amounts to apply to the unit price.", - "items": { - "$ref": "UnitInvoiceTaxLine" - }, - "type": "array" - } - }, - "type": "object" - }, - "UnitInvoiceAdditionalCharge": { - "id": "UnitInvoiceAdditionalCharge", - "properties": { - "additionalChargeAmount": { - "$ref": "Amount", - "description": "[required] Amount of the additional charge." - }, - "additionalChargePromotions": { - "description": "Deprecated.", - "items": { - "$ref": "Promotion" - }, - "type": "array" - }, - "type": { - "description": "[required] Type of the additional charge. Acceptable values are: - \"`shipping`\" ", - "type": "string" - } - }, - "type": "object" - }, - "UnitInvoiceTaxLine": { - "id": "UnitInvoiceTaxLine", - "properties": { - "taxAmount": { - "$ref": "Price", - "description": "[required] Tax amount for the tax type." - }, - "taxName": { - "description": "Optional name of the tax type. This should only be provided if `taxType` is `otherFeeTax`.", - "type": "string" - }, - "taxType": { - "description": "[required] Type of the tax. Acceptable values are: - \"`otherFee`\" - \"`otherFeeTax`\" - \"`sales`\" ", - "type": "string" - } - }, - "type": "object" - }, - "Value": { - "description": "The single value of a rate group or the value of a rate group table's cell. Exactly one of `noShipping`, `flatRate`, `pricePercentage`, `carrierRateName`, `subtableName` must be set.", - "id": "Value", - "properties": { - "carrierRateName": { - "description": "The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set.", - "type": "string" - }, - "flatRate": { - "$ref": "Price", - "description": "A flat rate. Can only be set if all other fields are not set." - }, - "noShipping": { - "description": "If true, then the product can't ship. Must be true when set, can only be set if all other fields are not set.", - "type": "boolean" - }, - "pricePercentage": { - "description": "A percentage of the price represented as a number in decimal notation (e.g., `\"5.4\"`). Can only be set if all other fields are not set.", - "type": "string" - }, - "subtableName": { - "description": "The name of a subtable. Can only be set in table cells (i.e., not for single values), and only if all other fields are not set.", - "type": "string" - } - }, - "type": "object" - }, - "Warehouse": { - "description": "A fulfillment warehouse, which stores and handles inventory.", - "id": "Warehouse", - "properties": { - "businessDayConfig": { - "$ref": "BusinessDayConfig", - "description": "Business days of the warehouse. If not set, will be Monday to Friday by default." - }, - "cutoffTime": { - "$ref": "WarehouseCutoffTime", - "description": "Required. The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code." - }, - "handlingDays": { - "description": "Required. The number of days it takes for this warehouse to pack up and ship an item. This is on the warehouse level, but can be overridden on the offer level based on the attributes of an item.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Required. The name of the warehouse. Must be unique within account.", - "type": "string" - }, - "shippingAddress": { - "$ref": "Address", - "description": "Required. Shipping address of the warehouse." - } - }, - "type": "object" - }, - "WarehouseBasedDeliveryTime": { - "id": "WarehouseBasedDeliveryTime", - "properties": { - "carrier": { - "description": "Required. Carrier, such as `\"UPS\"` or `\"Fedex\"`. The list of supported carriers can be retrieved via the `listSupportedCarriers` method.", - "type": "string" - }, - "carrierService": { - "description": "Required. Carrier service, such as `\"ground\"` or `\"2 days\"`. The list of supported services for a carrier can be retrieved via the `listSupportedCarriers` method. The name of the service must be in the eddSupportedServices list.", - "type": "string" - }, - "originAdministrativeArea": { - "description": "Shipping origin's state.", - "type": "string" - }, - "originCity": { - "description": "Shipping origin's city.", - "type": "string" - }, - "originCountry": { - "description": "Shipping origin's country represented as a [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml).", - "type": "string" - }, - "originPostalCode": { - "description": "Shipping origin.", - "type": "string" - }, - "originStreetAddress": { - "description": "Shipping origin's street address", - "type": "string" - }, - "warehouseName": { - "description": "The name of the warehouse. Warehouse name need to be matched with name. If warehouseName is set, the below fields will be ignored. The warehouse info will be read from warehouse.", - "type": "string" - } - }, - "type": "object" - }, - "WarehouseCutoffTime": { - "id": "WarehouseCutoffTime", - "properties": { - "hour": { - "description": "Required. Hour (24-hour clock) of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Hour is based on the timezone of warehouse.", - "format": "int32", - "type": "integer" - }, - "minute": { - "description": "Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Minute is based on the timezone of warehouse.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Weight": { - "id": "Weight", - "properties": { - "unit": { - "description": "Required. The weight unit. Acceptable values are: - \"`kg`\" - \"`lb`\" ", - "type": "string" - }, - "value": { - "description": "Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "content/v2/", - "title": "Content API for Shopping", - "version": "v2" -} \ No newline at end of file diff --git a/discovery/datacatalog-v1.json b/discovery/datacatalog-v1.json index e0b82e385d0..c9dbb5866fd 100644 --- a/discovery/datacatalog-v1.json +++ b/discovery/datacatalog-v1.json @@ -2339,7 +2339,7 @@ } } }, - "revision": "20250429", + "revision": "20250502", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -3365,7 +3365,7 @@ "id": "GoogleCloudDatacatalogV1GcsFilesetSpec", "properties": { "filePatterns": { - "description": "Required. Patterns to identify a set of files in Google Cloud Storage. For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). Note: Currently, bucket wildcards are not supported. Examples of valid `file_patterns`: * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` directory * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` and all subdirectories * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to match complex sets of files, for example: `gs://bucket_name/[a-m]??.j*g`", + "description": "Required. Patterns to identify a set of files in Google Cloud Storage. For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/wildcards). Note: Currently, bucket wildcards are not supported. Examples of valid `file_patterns`: * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` directory * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` and all subdirectories * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to match complex sets of files, for example: `gs://bucket_name/[a-m]??.j*g`", "items": { "type": "string" }, diff --git a/discovery/datacatalog-v1beta1.json b/discovery/datacatalog-v1beta1.json index fc63d84a9c6..12eed01ce88 100644 --- a/discovery/datacatalog-v1beta1.json +++ b/discovery/datacatalog-v1beta1.json @@ -1855,7 +1855,7 @@ } } }, - "revision": "20250314", + "revision": "20250502", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -2775,7 +2775,7 @@ "id": "GoogleCloudDatacatalogV1GcsFilesetSpec", "properties": { "filePatterns": { - "description": "Required. Patterns to identify a set of files in Google Cloud Storage. For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). Note: Currently, bucket wildcards are not supported. Examples of valid `file_patterns`: * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` directory * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` and all subdirectories * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to match complex sets of files, for example: `gs://bucket_name/[a-m]??.j*g`", + "description": "Required. Patterns to identify a set of files in Google Cloud Storage. For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/wildcards). Note: Currently, bucket wildcards are not supported. Examples of valid `file_patterns`: * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` directory * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` and all subdirectories * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to match complex sets of files, for example: `gs://bucket_name/[a-m]??.j*g`", "items": { "type": "string" }, @@ -3809,7 +3809,7 @@ "id": "GoogleCloudDatacatalogV1beta1GcsFilesetSpec", "properties": { "filePatterns": { - "description": "Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud Storage documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames) for more information. Note that bucket wildcards are currently not supported. Examples of valid file_patterns: * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir` directory. * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` spanning all subdirectories. * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to provide more powerful matches, for example: * `gs://bucket_name/[a-m]??.j*g`", + "description": "Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud Storage documentation](https://cloud.google.com/storage/docs/wildcards) for more information. Note that bucket wildcards are currently not supported. Examples of valid file_patterns: * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir` directory. * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` spanning all subdirectories. * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to provide more powerful matches, for example: * `gs://bucket_name/[a-m]??.j*g`", "items": { "type": "string" }, diff --git a/discovery/dataflow-v1b3.json b/discovery/dataflow-v1b3.json index af4ebcce130..3550433e1ee 100644 --- a/discovery/dataflow-v1b3.json +++ b/discovery/dataflow-v1b3.json @@ -2208,7 +2208,7 @@ } } }, - "revision": "20250428", + "revision": "20250505", "rootUrl": "https://dataflow.googleapis.com/", "schemas": { "ApproximateProgress": { @@ -3306,6 +3306,10 @@ "description": "The prefix of the resources the system should use for temporary storage. The system will append the suffix \"/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}", "type": "string" }, + "usePublicIps": { + "description": "Optional. True when any worker pool that uses public IPs is present.", + "type": "boolean" + }, "useStreamingEngineResourceBasedBilling": { "description": "Output only. Whether the job uses the Streaming Engine resource-based billing model.", "readOnly": true, diff --git a/discovery/dataproc-v1beta2.json b/discovery/dataproc-v1beta2.json deleted file mode 100644 index 0cd62f3ea46..00000000000 --- a/discovery/dataproc-v1beta2.json +++ /dev/null @@ -1,4797 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://dataproc.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Dataproc", - "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/dataproc/", - "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": "dataproc:v1beta2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://dataproc.mtls.googleapis.com/", - "name": "dataproc", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "resources": { - "autoscalingPolicies": { - "methods": { - "create": { - "description": "Creates new autoscaling policy.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies", - "httpMethod": "POST", - "id": "dataproc.projects.locations.autoscalingPolicies.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.create, the resource name has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.create, the resource name has the following format: projects/{project_id}/locations/{location}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/autoscalingPolicies", - "request": { - "$ref": "AutoscalingPolicy" - }, - "response": { - "$ref": "AutoscalingPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}", - "httpMethod": "DELETE", - "id": "dataproc.projects.locations.autoscalingPolicies.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Retrieves autoscaling policy.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}", - "httpMethod": "GET", - "id": "dataproc.projects.locations.autoscalingPolicies.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "AutoscalingPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}:getIamPolicy", - "httpMethod": "GET", - "id": "dataproc.projects.locations.autoscalingPolicies.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists autoscaling policies in the project.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies", - "httpMethod": "GET", - "id": "dataproc.projects.locations.autoscalingPolicies.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "Optional. The maximum number of results to return in each response. Must be less than or equal to 1000. Defaults to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The page token, returned by a previous call, to request the next page of results.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/autoscalingPolicies", - "response": { - "$ref": "ListAutoscalingPoliciesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}:setIamPolicy", - "httpMethod": "POST", - "id": "dataproc.projects.locations.autoscalingPolicies.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}:testIamPermissions", - "httpMethod": "POST", - "id": "dataproc.projects.locations.autoscalingPolicies.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "update": { - "description": "Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}", - "httpMethod": "PUT", - "id": "dataproc.projects.locations.autoscalingPolicies.update", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "request": { - "$ref": "AutoscalingPolicy" - }, - "response": { - "$ref": "AutoscalingPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "workflowTemplates": { - "methods": { - "create": { - "description": "Creates new workflow template.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/workflowTemplates", - "httpMethod": "POST", - "id": "dataproc.projects.locations.workflowTemplates.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,create, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/workflowTemplates", - "request": { - "$ref": "WorkflowTemplate" - }, - "response": { - "$ref": "WorkflowTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a workflow template. It does not cancel in-progress workflows.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}", - "httpMethod": "DELETE", - "id": "dataproc.projects.locations.workflowTemplates.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.delete, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - }, - "version": { - "description": "Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.", - "format": "int32", - "location": "query", - "type": "integer" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}", - "httpMethod": "GET", - "id": "dataproc.projects.locations.workflowTemplates.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - }, - "version": { - "description": "Optional. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved.If unspecified, retrieves the current version.", - "format": "int32", - "location": "query", - "type": "integer" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "WorkflowTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:getIamPolicy", - "httpMethod": "GET", - "id": "dataproc.projects.locations.workflowTemplates.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "instantiate": { - "description": "Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:instantiate", - "httpMethod": "POST", - "id": "dataproc.projects.locations.workflowTemplates.instantiate", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}:instantiate", - "request": { - "$ref": "InstantiateWorkflowTemplateRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "instantiateInline": { - "description": "Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/workflowTemplates:instantiateInline", - "httpMethod": "POST", - "id": "dataproc.projects.locations.workflowTemplates.instantiateInline", - "parameterOrder": [ - "parent" - ], - "parameters": { - "instanceId": { - "description": "Deprecated. Please use request_id field instead.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,instantiateinline, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.instantiateinline, the resource name of the location has the following format: projects/{project_id}/locations/{location}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta2/{+parent}/workflowTemplates:instantiateInline", - "request": { - "$ref": "WorkflowTemplate" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists workflows that match the specified filter in the request.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/workflowTemplates", - "httpMethod": "GET", - "id": "dataproc.projects.locations.workflowTemplates.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "Optional. The maximum number of results to return in each response.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The page token, returned by a previous call, to request the next page of results.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/workflowTemplates", - "response": { - "$ref": "ListWorkflowTemplatesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:setIamPolicy", - "httpMethod": "POST", - "id": "dataproc.projects.locations.workflowTemplates.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:testIamPermissions", - "httpMethod": "POST", - "id": "dataproc.projects.locations.workflowTemplates.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "update": { - "description": "Updates (replaces) workflow template. The updated template must contain version that matches the current server version.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}", - "httpMethod": "PUT", - "id": "dataproc.projects.locations.workflowTemplates.update", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "request": { - "$ref": "WorkflowTemplate" - }, - "response": { - "$ref": "WorkflowTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "regions": { - "resources": { - "autoscalingPolicies": { - "methods": { - "create": { - "description": "Creates new autoscaling policy.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies", - "httpMethod": "POST", - "id": "dataproc.projects.regions.autoscalingPolicies.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.create, the resource name has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.create, the resource name has the following format: projects/{project_id}/locations/{location}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/autoscalingPolicies", - "request": { - "$ref": "AutoscalingPolicy" - }, - "response": { - "$ref": "AutoscalingPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}", - "httpMethod": "DELETE", - "id": "dataproc.projects.regions.autoscalingPolicies.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Retrieves autoscaling policy.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}", - "httpMethod": "GET", - "id": "dataproc.projects.regions.autoscalingPolicies.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "AutoscalingPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}:getIamPolicy", - "httpMethod": "GET", - "id": "dataproc.projects.regions.autoscalingPolicies.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists autoscaling policies in the project.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies", - "httpMethod": "GET", - "id": "dataproc.projects.regions.autoscalingPolicies.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "Optional. The maximum number of results to return in each response. Must be less than or equal to 1000. Defaults to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The page token, returned by a previous call, to request the next page of results.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/autoscalingPolicies", - "response": { - "$ref": "ListAutoscalingPoliciesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}:setIamPolicy", - "httpMethod": "POST", - "id": "dataproc.projects.regions.autoscalingPolicies.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}:testIamPermissions", - "httpMethod": "POST", - "id": "dataproc.projects.regions.autoscalingPolicies.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "update": { - "description": "Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}", - "httpMethod": "PUT", - "id": "dataproc.projects.regions.autoscalingPolicies.update", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "request": { - "$ref": "AutoscalingPolicy" - }, - "response": { - "$ref": "AutoscalingPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "clusters": { - "methods": { - "create": { - "description": "Creates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/clusters", - "httpMethod": "POST", - "id": "dataproc.projects.regions.clusters.create", - "parameterOrder": [ - "projectId", - "region" - ], - "parameters": { - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A unique id used to identify the request. If the server receives two CreateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1beta2.CreateClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/clusters", - "request": { - "$ref": "Cluster" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "httpMethod": "DELETE", - "id": "dataproc.projects.regions.clusters.delete", - "parameterOrder": [ - "projectId", - "region", - "clusterName" - ], - "parameters": { - "clusterName": { - "description": "Required. The cluster name.", - "location": "path", - "required": true, - "type": "string" - }, - "clusterUuid": { - "description": "Optional. Specifying the cluster_uuid means the RPC should fail (with error NOT_FOUND) if cluster with specified UUID does not exist.", - "location": "query", - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A unique id used to identify the request. If the server receives two DeleteClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1beta2.DeleteClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "diagnose": { - "description": "Gets cluster diagnostic information. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). After the operation completes, Operation.response contains Empty.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose", - "httpMethod": "POST", - "id": "dataproc.projects.regions.clusters.diagnose", - "parameterOrder": [ - "projectId", - "region", - "clusterName" - ], - "parameters": { - "clusterName": { - "description": "Required. The cluster name.", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose", - "request": { - "$ref": "DiagnoseClusterRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the resource representation for a cluster in a project.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "httpMethod": "GET", - "id": "dataproc.projects.regions.clusters.get", - "parameterOrder": [ - "projectId", - "region", - "clusterName" - ], - "parameters": { - "clusterName": { - "description": "Required. The cluster name.", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "response": { - "$ref": "Cluster" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:getIamPolicy", - "httpMethod": "GET", - "id": "dataproc.projects.regions.clusters.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "injectCredentials": { - "description": "Inject encrypted credentials into all of the VMs in a cluster.The target cluster must be a personal auth cluster assigned to the user who is issuing the RPC.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:injectCredentials", - "httpMethod": "POST", - "id": "dataproc.projects.regions.clusters.injectCredentials", - "parameterOrder": [ - "project", - "region", - "cluster" - ], - "parameters": { - "cluster": { - "description": "Required. The cluster, in the form clusters/.", - "location": "path", - "pattern": "^clusters/[^/]+$", - "required": true, - "type": "string" - }, - "project": { - "description": "Required. The ID of the Google Cloud Platform project the cluster belongs to, of the form projects/.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The region containing the cluster, of the form regions/.", - "location": "path", - "pattern": "^regions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+project}/{+region}/{+cluster}:injectCredentials", - "request": { - "$ref": "InjectCredentialsRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all regions/{region}/clusters in a project alphabetically.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/clusters", - "httpMethod": "GET", - "id": "dataproc.projects.regions.clusters.list", - "parameterOrder": [ - "projectId", - "region" - ], - "parameters": { - "filter": { - "description": "Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE contains the DELETING and ERROR states. clusterName is the name of the cluster provided at creation time. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The standard List page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The standard List page token.", - "location": "query", - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/clusters", - "response": { - "$ref": "ListClustersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). The cluster must be in a RUNNING state or an error is returned.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "httpMethod": "PATCH", - "id": "dataproc.projects.regions.clusters.patch", - "parameterOrder": [ - "projectId", - "region", - "clusterName" - ], - "parameters": { - "clusterName": { - "description": "Required. The cluster name.", - "location": "path", - "required": true, - "type": "string" - }, - "gracefulDecommissionTimeout": { - "description": "Optional. Timeout for graceful YARN decomissioning. Graceful decommissioning allows removing nodes from the cluster without interrupting jobs in progress. Timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs). Default timeout is 0 (for forceful decommission), and the maximum allowed timeout is 1 day (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and higher.", - "format": "google-duration", - "location": "query", - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project the cluster belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A unique id used to identify the request. If the server receives two UpdateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1beta2.UpdateClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Required. Specifies the path, relative to Cluster, of the field to update. For example, to change the number of workers in a cluster to 5, the update_mask parameter would be specified as config.worker_config.num_instances, and the PATCH request body would specify the new value, as follows: { \"config\":{ \"workerConfig\":{ \"numInstances\":\"5\" } } } Similarly, to change the number of preemptible workers in a cluster to 5, the update_mask parameter would be config.secondary_worker_config.num_instances, and the PATCH request body would be set as follows: { \"config\":{ \"secondaryWorkerConfig\":{ \"numInstances\":\"5\" } } } *Note:* currently only the following fields can be updated: *Mask* *Purpose* labels Updates labels config.worker_config.num_instances Resize primary worker group config.secondary_worker_config.num_instances Resize secondary worker group config.lifecycle_config.auto_delete_ttl Reset MAX TTL duration config.lifecycle_config.auto_delete_time Update MAX TTL deletion timestamp config.lifecycle_config.idle_delete_ttl Update Idle TTL duration config.autoscaling_config.policy_uri Use, stop using, or change autoscaling policies ", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "request": { - "$ref": "Cluster" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:setIamPolicy", - "httpMethod": "POST", - "id": "dataproc.projects.regions.clusters.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "start": { - "description": "Starts a cluster in a project.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:start", - "httpMethod": "POST", - "id": "dataproc.projects.regions.clusters.start", - "parameterOrder": [ - "projectId", - "region", - "clusterName" - ], - "parameters": { - "clusterName": { - "description": "Required. The cluster name.", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project the cluster belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:start", - "request": { - "$ref": "StartClusterRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "stop": { - "description": "Stops a cluster in a project.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop", - "httpMethod": "POST", - "id": "dataproc.projects.regions.clusters.stop", - "parameterOrder": [ - "projectId", - "region", - "clusterName" - ], - "parameters": { - "clusterName": { - "description": "Required. The cluster name.", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project the cluster belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop", - "request": { - "$ref": "StopClusterRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:testIamPermissions", - "httpMethod": "POST", - "id": "dataproc.projects.regions.clusters.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "jobs": { - "methods": { - "cancel": { - "description": "Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list (https://cloud.google.com/dataproc/docs/reference/rest/v1beta2/projects.regions.jobs/list) or regions/{region}/jobs.get (https://cloud.google.com/dataproc/docs/reference/rest/v1beta2/projects.regions.jobs/get).", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel", - "httpMethod": "POST", - "id": "dataproc.projects.regions.jobs.cancel", - "parameterOrder": [ - "projectId", - "region", - "jobId" - ], - "parameters": { - "jobId": { - "description": "Required. The job ID.", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel", - "request": { - "$ref": "CancelJobRequest" - }, - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}", - "httpMethod": "DELETE", - "id": "dataproc.projects.regions.jobs.delete", - "parameterOrder": [ - "projectId", - "region", - "jobId" - ], - "parameters": { - "jobId": { - "description": "Required. The job ID.", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the resource representation for a job in a project.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}", - "httpMethod": "GET", - "id": "dataproc.projects.regions.jobs.get", - "parameterOrder": [ - "projectId", - "region", - "jobId" - ], - "parameters": { - "jobId": { - "description": "Required. The job ID.", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}", - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:getIamPolicy", - "httpMethod": "GET", - "id": "dataproc.projects.regions.jobs.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/jobs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists regions/{region}/jobs in a project.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/jobs", - "httpMethod": "GET", - "id": "dataproc.projects.regions.jobs.list", - "parameterOrder": [ - "projectId", - "region" - ], - "parameters": { - "clusterName": { - "description": "Optional. If set, the returned jobs list includes only jobs that were submitted to the named cluster.", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Optional. A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is status.state or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be either ACTIVE or NON_ACTIVE. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = staging AND labels.starred = *", - "location": "query", - "type": "string" - }, - "jobStateMatcher": { - "description": "Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs).If filter is provided, jobStateMatcher will be ignored.", - "enum": [ - "ALL", - "ACTIVE", - "NON_ACTIVE" - ], - "enumDescriptions": [ - "Match all jobs, regardless of state.", - "Only match jobs in non-terminal states: PENDING, RUNNING, or CANCEL_PENDING.", - "Only match jobs in terminal states: CANCELLED, DONE, or ERROR." - ], - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The number of results to return in each response.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The page token, returned by a previous call, to request the next page of results.", - "location": "query", - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/jobs", - "response": { - "$ref": "ListJobsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates a job in a project.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}", - "httpMethod": "PATCH", - "id": "dataproc.projects.regions.jobs.patch", - "parameterOrder": [ - "projectId", - "region", - "jobId" - ], - "parameters": { - "jobId": { - "description": "Required. The job ID.", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. Specifies the path, relative to Job, of the field to update. For example, to update the labels of a Job the update_mask parameter would be specified as labels, and the PATCH request body would specify the new value. *Note:* Currently, labels is the only field that can be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}", - "request": { - "$ref": "Job" - }, - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:setIamPolicy", - "httpMethod": "POST", - "id": "dataproc.projects.regions.jobs.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/jobs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "submit": { - "description": "Submits a job to a cluster.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/jobs:submit", - "httpMethod": "POST", - "id": "dataproc.projects.regions.jobs.submit", - "parameterOrder": [ - "projectId", - "region" - ], - "parameters": { - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/jobs:submit", - "request": { - "$ref": "SubmitJobRequest" - }, - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "submitAsOperation": { - "description": "Submits job to a cluster.", - "flatPath": "v1beta2/projects/{projectId}/regions/{region}/jobs:submitAsOperation", - "httpMethod": "POST", - "id": "dataproc.projects.regions.jobs.submitAsOperation", - "parameterOrder": [ - "projectId", - "region" - ], - "parameters": { - "projectId": { - "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", - "location": "path", - "required": true, - "type": "string" - }, - "region": { - "description": "Required. The Dataproc region in which to handle the request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/projects/{projectId}/regions/{region}/jobs:submitAsOperation", - "request": { - "$ref": "SubmitJobRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:testIamPermissions", - "httpMethod": "POST", - "id": "dataproc.projects.regions.jobs.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/jobs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "dataproc.projects.regions.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}:cancel", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "dataproc.projects.regions.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "dataproc.projects.regions.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:getIamPolicy", - "httpMethod": "GET", - "id": "dataproc.projects.regions.operations.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as \"/v1/{name=users/*}/operations\" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/operations", - "httpMethod": "GET", - "id": "dataproc.projects.regions.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:setIamPolicy", - "httpMethod": "POST", - "id": "dataproc.projects.regions.operations.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:testIamPermissions", - "httpMethod": "POST", - "id": "dataproc.projects.regions.operations.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "workflowTemplates": { - "methods": { - "create": { - "description": "Creates new workflow template.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/workflowTemplates", - "httpMethod": "POST", - "id": "dataproc.projects.regions.workflowTemplates.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,create, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/workflowTemplates", - "request": { - "$ref": "WorkflowTemplate" - }, - "response": { - "$ref": "WorkflowTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a workflow template. It does not cancel in-progress workflows.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}", - "httpMethod": "DELETE", - "id": "dataproc.projects.regions.workflowTemplates.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.delete, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - }, - "version": { - "description": "Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.", - "format": "int32", - "location": "query", - "type": "integer" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}", - "httpMethod": "GET", - "id": "dataproc.projects.regions.workflowTemplates.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - }, - "version": { - "description": "Optional. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved.If unspecified, retrieves the current version.", - "format": "int32", - "location": "query", - "type": "integer" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "WorkflowTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:getIamPolicy", - "httpMethod": "GET", - "id": "dataproc.projects.regions.workflowTemplates.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "instantiate": { - "description": "Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:instantiate", - "httpMethod": "POST", - "id": "dataproc.projects.regions.workflowTemplates.instantiate", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}:instantiate", - "request": { - "$ref": "InstantiateWorkflowTemplateRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "instantiateInline": { - "description": "Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/workflowTemplates:instantiateInline", - "httpMethod": "POST", - "id": "dataproc.projects.regions.workflowTemplates.instantiateInline", - "parameterOrder": [ - "parent" - ], - "parameters": { - "instanceId": { - "description": "Deprecated. Please use request_id field instead.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,instantiateinline, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.instantiateinline, the resource name of the location has the following format: projects/{project_id}/locations/{location}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta2/{+parent}/workflowTemplates:instantiateInline", - "request": { - "$ref": "WorkflowTemplate" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists workflows that match the specified filter in the request.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/workflowTemplates", - "httpMethod": "GET", - "id": "dataproc.projects.regions.workflowTemplates.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "Optional. The maximum number of results to return in each response.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The page token, returned by a previous call, to request the next page of results.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/workflowTemplates", - "response": { - "$ref": "ListWorkflowTemplatesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:setIamPolicy", - "httpMethod": "POST", - "id": "dataproc.projects.regions.workflowTemplates.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:testIamPermissions", - "httpMethod": "POST", - "id": "dataproc.projects.regions.workflowTemplates.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "update": { - "description": "Updates (replaces) workflow template. The updated template must contain version that matches the current server version.", - "flatPath": "v1beta2/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}", - "httpMethod": "PUT", - "id": "dataproc.projects.regions.workflowTemplates.update", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", - "location": "path", - "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "request": { - "$ref": "WorkflowTemplate" - }, - "response": { - "$ref": "WorkflowTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20210819", - "rootUrl": "https://dataproc.googleapis.com/", - "schemas": { - "AcceleratorConfig": { - "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine (https://cloud.google.com/compute/docs/gpus/)).", - "id": "AcceleratorConfig", - "properties": { - "acceleratorCount": { - "description": "The number of the accelerator cards of this type exposed to this instance.", - "format": "int32", - "type": "integer" - }, - "acceleratorTypeUri": { - "description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes)Examples * https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * nvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.", - "type": "string" - } - }, - "type": "object" - }, - "AutoscalingConfig": { - "description": "Autoscaling Policy config associated with the cluster.", - "id": "AutoscalingConfig", - "properties": { - "policyUri": { - "description": "Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id] projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be in the same project and Dataproc region.", - "type": "string" - } - }, - "type": "object" - }, - "AutoscalingPolicy": { - "description": "Describes an autoscaling policy for Dataproc cluster autoscaler.", - "id": "AutoscalingPolicy", - "properties": { - "basicAlgorithm": { - "$ref": "BasicAutoscalingAlgorithm" - }, - "id": { - "description": "Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.", - "type": "string" - }, - "name": { - "description": "Output only. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", - "readOnly": true, - "type": "string" - }, - "secondaryWorkerConfig": { - "$ref": "InstanceGroupAutoscalingPolicyConfig", - "description": "Optional. Describes how the autoscaler will operate for secondary workers." - }, - "workerConfig": { - "$ref": "InstanceGroupAutoscalingPolicyConfig", - "description": "Required. Describes how the autoscaler will operate for primary workers." - } - }, - "type": "object" - }, - "BasicAutoscalingAlgorithm": { - "description": "Basic algorithm for autoscaling.", - "id": "BasicAutoscalingAlgorithm", - "properties": { - "cooldownPeriod": { - "description": "Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.Bounds: 2m, 1d. Default: 2m.", - "format": "google-duration", - "type": "string" - }, - "yarnConfig": { - "$ref": "BasicYarnAutoscalingConfig", - "description": "Optional. YARN autoscaling configuration." - } - }, - "type": "object" - }, - "BasicYarnAutoscalingConfig": { - "description": "Basic autoscaling configurations for YARN.", - "id": "BasicYarnAutoscalingConfig", - "properties": { - "gracefulDecommissionTimeout": { - "description": "Required. Timeout for YARN graceful decommissioning of Node Managers. Specifies the duration to wait for jobs to complete before forcefully removing workers (and potentially interrupting jobs). Only applicable to downscaling operations.Bounds: 0s, 1d.", - "format": "google-duration", - "type": "string" - }, - "scaleDownFactor": { - "description": "Required. Fraction of average YARN pending memory in the last cooldown period for which to remove workers. A scale-down factor of 1 will result in scaling down so that there is no available memory remaining after the update (more aggressive scaling). A scale-down factor of 0 disables removing workers, which can be beneficial for autoscaling a single job. See How autoscaling works for more information.Bounds: 0.0, 1.0.", - "format": "double", - "type": "number" - }, - "scaleDownMinWorkerFraction": { - "description": "Optional. Minimum scale-down threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2 worker scale-down for the cluster to scale. A threshold of 0 means the autoscaler will scale down on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.", - "format": "double", - "type": "number" - }, - "scaleUpFactor": { - "description": "Required. Fraction of average YARN pending memory in the last cooldown period for which to add workers. A scale-up factor of 1.0 will result in scaling up so that there is no pending memory remaining after the update (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling). See How autoscaling works for more information.Bounds: 0.0, 1.0.", - "format": "double", - "type": "number" - }, - "scaleUpMinWorkerFraction": { - "description": "Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "Binding": { - "description": "Associates members with a role.", - "id": "Binding", - "properties": { - "condition": { - "$ref": "Expr", - "description": "The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies)." - }, - "members": { - "description": "Specifies the identities requesting access for a Cloud Platform resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com.", - "items": { - "type": "string" - }, - "type": "array" - }, - "role": { - "description": "Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner.", - "type": "string" - } - }, - "type": "object" - }, - "CancelJobRequest": { - "description": "A request to cancel a job.", - "id": "CancelJobRequest", - "properties": {}, - "type": "object" - }, - "Cluster": { - "description": "Describes the identifying information, config, and status of a cluster of Compute Engine instances.", - "id": "Cluster", - "properties": { - "clusterName": { - "description": "Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.", - "type": "string" - }, - "clusterUuid": { - "description": "Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster.", - "readOnly": true, - "type": "string" - }, - "config": { - "$ref": "ClusterConfig", - "description": "Required. The cluster config. Note that Dataproc may set default values, and values may change when clusters are updated." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.", - "type": "object" - }, - "metrics": { - "$ref": "ClusterMetrics", - "description": "Output only. Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", - "readOnly": true - }, - "projectId": { - "description": "Required. The Google Cloud Platform project ID that the cluster belongs to.", - "type": "string" - }, - "status": { - "$ref": "ClusterStatus", - "description": "Output only. Cluster status.", - "readOnly": true - }, - "statusHistory": { - "description": "Output only. The previous cluster status.", - "items": { - "$ref": "ClusterStatus" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "ClusterConfig": { - "description": "The cluster config.", - "id": "ClusterConfig", - "properties": { - "autoscalingConfig": { - "$ref": "AutoscalingConfig", - "description": "Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset." - }, - "configBucket": { - "description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging bucket (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a URI to a Cloud Storage bucket.", - "type": "string" - }, - "encryptionConfig": { - "$ref": "EncryptionConfig", - "description": "Optional. Encryption settings for the cluster." - }, - "endpointConfig": { - "$ref": "EndpointConfig", - "description": "Optional. Port/endpoint configuration for this cluster" - }, - "gceClusterConfig": { - "$ref": "GceClusterConfig", - "description": "Optional. The shared Compute Engine config settings for all instances in a cluster." - }, - "gkeClusterConfig": { - "$ref": "GkeClusterConfig", - "description": "Optional. The Kubernetes Engine config for Dataproc clusters deployed to Kubernetes. Setting this is considered mutually exclusive with Compute Engine-based options such as gce_cluster_config, master_config, worker_config, secondary_worker_config, and autoscaling_config." - }, - "initializationActions": { - "description": "Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1beta2/instance/attributes/dataproc-role) if [[ \"${ROLE}\" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi ", - "items": { - "$ref": "NodeInitializationAction" - }, - "type": "array" - }, - "lifecycleConfig": { - "$ref": "LifecycleConfig", - "description": "Optional. The config setting for auto delete cluster schedule." - }, - "masterConfig": { - "$ref": "InstanceGroupConfig", - "description": "Optional. The Compute Engine config settings for the master instance in a cluster." - }, - "metastoreConfig": { - "$ref": "MetastoreConfig", - "description": "Optional. Metastore configuration." - }, - "secondaryWorkerConfig": { - "$ref": "InstanceGroupConfig", - "description": "Optional. The Compute Engine config settings for additional worker instances in a cluster." - }, - "securityConfig": { - "$ref": "SecurityConfig", - "description": "Optional. Security related configuration." - }, - "softwareConfig": { - "$ref": "SoftwareConfig", - "description": "Optional. The config settings for software inside the cluster." - }, - "tempBucket": { - "description": "Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket. This field requires a Cloud Storage bucket name, not a URI to a Cloud Storage bucket.", - "type": "string" - }, - "workerConfig": { - "$ref": "InstanceGroupConfig", - "description": "Optional. The Compute Engine config settings for worker instances in a cluster." - } - }, - "type": "object" - }, - "ClusterMetrics": { - "description": "Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", - "id": "ClusterMetrics", - "properties": { - "hdfsMetrics": { - "additionalProperties": { - "format": "int64", - "type": "string" - }, - "description": "The HDFS metrics.", - "type": "object" - }, - "yarnMetrics": { - "additionalProperties": { - "format": "int64", - "type": "string" - }, - "description": "The YARN metrics.", - "type": "object" - } - }, - "type": "object" - }, - "ClusterOperation": { - "description": "The cluster operation triggered by a workflow.", - "id": "ClusterOperation", - "properties": { - "done": { - "description": "Output only. Indicates the operation is done.", - "readOnly": true, - "type": "boolean" - }, - "error": { - "description": "Output only. Error, if operation failed.", - "readOnly": true, - "type": "string" - }, - "operationId": { - "description": "Output only. The id of the cluster operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ClusterOperationMetadata": { - "description": "Metadata describing the operation.", - "id": "ClusterOperationMetadata", - "properties": { - "clusterName": { - "description": "Output only. Name of the cluster for the operation.", - "type": "string" - }, - "clusterUuid": { - "description": "Output only. Cluster UUID for the operation.", - "type": "string" - }, - "description": { - "description": "Output only. Short description of operation.", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Output only. Labels associated with the operation", - "type": "object" - }, - "operationType": { - "description": "Output only. The operation type.", - "type": "string" - }, - "status": { - "$ref": "ClusterOperationStatus", - "description": "Output only. Current operation status." - }, - "statusHistory": { - "description": "Output only. The previous operation status.", - "items": { - "$ref": "ClusterOperationStatus" - }, - "type": "array" - }, - "warnings": { - "description": "Output only. Errors encountered during operation execution.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ClusterOperationStatus": { - "description": "The status of the operation.", - "id": "ClusterOperationStatus", - "properties": { - "details": { - "description": "Output only. A message containing any operation metadata details.", - "type": "string" - }, - "innerState": { - "description": "Output only. A message containing the detailed operation state.", - "type": "string" - }, - "state": { - "description": "Output only. A message containing the operation state.", - "enum": [ - "UNKNOWN", - "PENDING", - "RUNNING", - "DONE" - ], - "enumDescriptions": [ - "Unused.", - "The operation has been created.", - "The operation is running.", - "The operation is done; either cancelled or completed." - ], - "type": "string" - }, - "stateStartTime": { - "description": "Output only. The time this state was entered.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "ClusterSelector": { - "description": "A selector that chooses target cluster for jobs based on metadata.", - "id": "ClusterSelector", - "properties": { - "clusterLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "Required. The cluster labels. Cluster must have all labels to match.", - "type": "object" - }, - "zone": { - "description": "Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster.If unspecified, the zone of the first cluster matching the selector is used.", - "type": "string" - } - }, - "type": "object" - }, - "ClusterStatus": { - "description": "The status of a cluster and its instances.", - "id": "ClusterStatus", - "properties": { - "detail": { - "description": "Output only. Optional details of cluster's state.", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. The cluster's state.", - "enum": [ - "UNKNOWN", - "CREATING", - "RUNNING", - "ERROR", - "ERROR_DUE_TO_UPDATE", - "DELETING", - "UPDATING", - "STOPPING", - "STOPPED", - "STARTING" - ], - "enumDescriptions": [ - "The cluster state is unknown.", - "The cluster is being created and set up. It is not ready for use.", - "The cluster is currently running and healthy. It is ready for use.", - "The cluster encountered an error. It is not ready for use.", - "The cluster has encountered an error while being updated. Jobs can be submitted to the cluster, but the cluster cannot be updated.", - "The cluster is being deleted. It cannot be used.", - "The cluster is being updated. It continues to accept and process jobs.", - "The cluster is being stopped. It cannot be used.", - "The cluster is currently stopped. It is not ready for use.", - "The cluster is being started. It is not ready for use." - ], - "readOnly": true, - "type": "string" - }, - "stateStartTime": { - "description": "Output only. Time when this state was entered (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "substate": { - "description": "Output only. Additional state information that includes status reported by the agent.", - "enum": [ - "UNSPECIFIED", - "UNHEALTHY", - "STALE_STATUS" - ], - "enumDescriptions": [ - "The cluster substate is unknown.", - "The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.", - "The agent-reported status is out of date (may occur if Dataproc loses communication with Agent).Applies to RUNNING state." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "DiagnoseClusterRequest": { - "description": "A request to collect cluster diagnostic information.", - "id": "DiagnoseClusterRequest", - "properties": {}, - "type": "object" - }, - "DiagnoseClusterResults": { - "description": "The location of diagnostic output.", - "id": "DiagnoseClusterResults", - "properties": { - "outputUri": { - "description": "Output only. The Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "DiskConfig": { - "description": "Specifies the config of disk options for a group of VM instances.", - "id": "DiskConfig", - "properties": { - "bootDiskSizeGb": { - "description": "Optional. Size in GB of the boot disk (default is 500GB).", - "format": "int32", - "type": "integer" - }, - "bootDiskType": { - "description": "Optional. Type of the boot disk (default is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive), or \"pd-standard\" (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).", - "type": "string" - }, - "numLocalSsds": { - "description": "Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}.", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "EncryptionConfig": { - "description": "Encryption settings for the cluster.", - "id": "EncryptionConfig", - "properties": { - "gcePdKmsKeyName": { - "description": "Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster.", - "type": "string" - } - }, - "type": "object" - }, - "EndpointConfig": { - "description": "Endpoint config for this cluster", - "id": "EndpointConfig", - "properties": { - "enableHttpPortAccess": { - "description": "Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false.", - "type": "boolean" - }, - "httpPorts": { - "additionalProperties": { - "type": "string" - }, - "description": "Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.", - "readOnly": true, - "type": "object" - } - }, - "type": "object" - }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", - "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" - }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", - "type": "string" - }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" - } - }, - "type": "object" - }, - "GceClusterConfig": { - "description": "Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.", - "id": "GceClusterConfig", - "properties": { - "internalIpOnly": { - "description": "Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.", - "type": "boolean" - }, - "metadata": { - "additionalProperties": { - "type": "string" - }, - "description": "The Compute Engine metadata entries to add to all instances (see Project and instance metadata (https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).", - "type": "object" - }, - "networkUri": { - "description": "Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks (https://cloud.google.com/compute/docs/subnetworks) for more information).A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default projects/[project_id]/regions/global/default default", - "type": "string" - }, - "nodeGroupAffinity": { - "$ref": "NodeGroupAffinity", - "description": "Optional. Node Group Affinity for sole-tenant clusters." - }, - "privateIpv6GoogleAccess": { - "description": "Optional. The type of IPv6 access for a cluster.", - "enum": [ - "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", - "INHERIT_FROM_SUBNETWORK", - "OUTBOUND", - "BIDIRECTIONAL" - ], - "enumDescriptions": [ - "If unspecified, Compute Engine default behavior will apply, which is the same as INHERIT_FROM_SUBNETWORK.", - "Private access to and from Google Services configuration inherited from the subnetwork configuration. This is the default Compute Engine behavior.", - "Enables outbound private IPv6 access to Google Services from the Dataproc cluster.", - "Enables bidirectional private IPv6 access between Google Services and the Dataproc cluster." - ], - "type": "string" - }, - "reservationAffinity": { - "$ref": "ReservationAffinity", - "description": "Optional. Reservation Affinity for consuming Zonal reservation." - }, - "serviceAccount": { - "description": "Optional. The Dataproc service account (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see VM Data Plane identity (https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services.If not specified, the Compute Engine default service account (https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.", - "type": "string" - }, - "serviceAccountScopes": { - "description": "Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: https://www.googleapis.com/auth/cloud.useraccounts.readonly https://www.googleapis.com/auth/devstorage.read_write https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided: https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/bigtable.admin.table https://www.googleapis.com/auth/bigtable.data https://www.googleapis.com/auth/devstorage.full_control", - "items": { - "type": "string" - }, - "type": "array" - }, - "shieldedInstanceConfig": { - "$ref": "ShieldedInstanceConfig", - "description": "Optional. Shielded Instance Config for clusters using Compute Engine Shielded VMs (https://cloud.google.com/security/shielded-cloud/shielded-vm)." - }, - "subnetworkUri": { - "description": "Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0 projects/[project_id]/regions/us-east1/subnetworks/sub0 sub0", - "type": "string" - }, - "tags": { - "description": "The Compute Engine tags to add to all instances (see Tagging instances (https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).", - "items": { - "type": "string" - }, - "type": "array" - }, - "zoneUri": { - "description": "Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the \"global\" region. If omitted in a non-global Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] projects/[project_id]/zones/[zone] us-central1-f", - "type": "string" - } - }, - "type": "object" - }, - "GetIamPolicyRequest": { - "description": "Request message for GetIamPolicy method.", - "id": "GetIamPolicyRequest", - "properties": { - "options": { - "$ref": "GetPolicyOptions", - "description": "OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy." - } - }, - "type": "object" - }, - "GetPolicyOptions": { - "description": "Encapsulates settings provided to GetIamPolicy.", - "id": "GetPolicyOptions", - "properties": { - "requestedPolicyVersion": { - "description": "Optional. The policy format version to be returned.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GkeClusterConfig": { - "description": "The GKE config for this cluster.", - "id": "GkeClusterConfig", - "properties": { - "namespacedGkeDeploymentTarget": { - "$ref": "NamespacedGkeDeploymentTarget", - "description": "Optional. A target for the deployment." - } - }, - "type": "object" - }, - "HadoopJob": { - "description": "A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).", - "id": "HadoopJob", - "properties": { - "archiveUris": { - "description": "Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.", - "items": { - "type": "string" - }, - "type": "array" - }, - "args": { - "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", - "items": { - "type": "string" - }, - "type": "array" - }, - "fileUris": { - "description": "Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.", - "items": { - "type": "string" - }, - "type": "array" - }, - "jarFileUris": { - "description": "Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.", - "items": { - "type": "string" - }, - "type": "array" - }, - "loggingConfig": { - "$ref": "LoggingConfig", - "description": "Optional. The runtime log config for job execution." - }, - "mainClass": { - "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.", - "type": "string" - }, - "mainJarFileUri": { - "description": "The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'", - "type": "string" - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.", - "type": "object" - } - }, - "type": "object" - }, - "HiveJob": { - "description": "A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on YARN.", - "id": "HiveJob", - "properties": { - "continueOnFailure": { - "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", - "type": "boolean" - }, - "jarFileUris": { - "description": "Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.", - "items": { - "type": "string" - }, - "type": "array" - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.", - "type": "object" - }, - "queryFileUri": { - "description": "The HCFS URI of the script that contains Hive queries.", - "type": "string" - }, - "queryList": { - "$ref": "QueryList", - "description": "A list of queries." - }, - "scriptVariables": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).", - "type": "object" - } - }, - "type": "object" - }, - "InjectCredentialsRequest": { - "description": "A request to inject credentials into a cluster.", - "id": "InjectCredentialsRequest", - "properties": { - "clusterUuid": { - "description": "Required. The cluster UUID.", - "type": "string" - }, - "credentialsCiphertext": { - "description": "Required. The encrypted credentials being injected in to the cluster.The client is responsible for encrypting the credentials in a way that is supported by the cluster.A wrapped value is used here so that the actual contents of the encrypted credentials are not written to audit logs.", - "type": "string" - } - }, - "type": "object" - }, - "InstanceGroupAutoscalingPolicyConfig": { - "description": "Configuration for the size bounds of an instance group, including its proportional size to other groups.", - "id": "InstanceGroupAutoscalingPolicyConfig", - "properties": { - "maxInstances": { - "description": "Optional. Maximum number of instances for this group. Required for primary workers. Note that by default, clusters will not use secondary workers. Required for secondary workers if the minimum secondary instances is set.Primary workers - Bounds: [min_instances, ). Required. Secondary workers - Bounds: [min_instances, ). Default: 0.", - "format": "int32", - "type": "integer" - }, - "minInstances": { - "description": "Optional. Minimum number of instances for this group.Primary workers - Bounds: 2, max_instances. Default: 2. Secondary workers - Bounds: 0, max_instances. Default: 0.", - "format": "int32", - "type": "integer" - }, - "weight": { - "description": "Optional. Weight for the instance group, which is used to determine the fraction of total workers in the cluster from this instance group. For example, if primary workers have weight 2, and secondary workers have weight 1, the cluster will have approximately 2 primary workers for each secondary worker.The cluster may not reach the specified balance if constrained by min/max bounds or other autoscaling settings. For example, if max_instances for secondary workers is 0, then only primary workers will be added. The cluster can also be out of balance when created.If weight is not set on any instance group, the cluster will default to equal weight for all groups: the cluster will attempt to maintain an equal number of workers in each group within the configured size bounds for each group. If weight is set for one group only, the cluster will default to zero weight on the unset group. For example if weight is set only on primary workers, the cluster will use primary workers only and no secondary workers.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "InstanceGroupConfig": { - "description": "The config settings for Compute Engine resources in an instance group, such as a master or worker group.", - "id": "InstanceGroupConfig", - "properties": { - "accelerators": { - "description": "Optional. The Compute Engine accelerator configuration for these instances.", - "items": { - "$ref": "AcceleratorConfig" - }, - "type": "array" - }, - "diskConfig": { - "$ref": "DiskConfig", - "description": "Optional. Disk option config settings." - }, - "imageUri": { - "description": "Optional. The Compute Engine image resource used for cluster instances.The URI can represent an image or image family.Image examples: https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id] projects/[project_id]/global/images/[image-id] image-idImage family examples. Dataproc will use the most recent image from the family: https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name] projects/[project_id]/global/images/family/[custom-image-family-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.", - "type": "string" - }, - "instanceNames": { - "description": "Output only. The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "instanceReferences": { - "description": "Output only. List of references to Compute Engine instances.", - "items": { - "$ref": "InstanceReference" - }, - "readOnly": true, - "type": "array" - }, - "isPreemptible": { - "description": "Output only. Specifies that this instance group contains preemptible instances.", - "readOnly": true, - "type": "boolean" - }, - "machineTypeUri": { - "description": "Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 n1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, n1-standard-2.", - "type": "string" - }, - "managedGroupConfig": { - "$ref": "ManagedGroupConfig", - "description": "Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.", - "readOnly": true - }, - "minCpuPlatform": { - "description": "Specifies the minimum cpu platform for the Instance Group. See Dataproc -> Minimum CPU Platform (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).", - "type": "string" - }, - "numInstances": { - "description": "Optional. The number of VM instances in the instance group. For HA cluster master_config groups, must be set to 3. For standard cluster master_config groups, must be set to 1.", - "format": "int32", - "type": "integer" - }, - "preemptibility": { - "description": "Optional. Specifies the preemptibility of the instance group.The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed.The default value for secondary instances is PREEMPTIBLE.", - "enum": [ - "PREEMPTIBILITY_UNSPECIFIED", - "NON_PREEMPTIBLE", - "PREEMPTIBLE" - ], - "enumDescriptions": [ - "Preemptibility is unspecified, the system will choose the appropriate setting for each instance group.", - "Instances are non-preemptible.This option is allowed for all instance groups and is the only valid value for Master and Worker instance groups.", - "Instances are preemptible.This option is allowed only for secondary worker groups." - ], - "type": "string" - } - }, - "type": "object" - }, - "InstanceReference": { - "description": "A reference to a Compute Engine instance.", - "id": "InstanceReference", - "properties": { - "instanceId": { - "description": "The unique identifier of the Compute Engine instance.", - "type": "string" - }, - "instanceName": { - "description": "The user-friendly name of the Compute Engine instance.", - "type": "string" - }, - "publicKey": { - "description": "The public key used for sharing data with this instance.", - "type": "string" - } - }, - "type": "object" - }, - "InstantiateWorkflowTemplateRequest": { - "description": "A request to instantiate a workflow template.", - "id": "InstantiateWorkflowTemplateRequest", - "properties": { - "instanceId": { - "description": "Deprecated. Please use request_id field instead.", - "type": "string" - }, - "parameters": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Map from parameter names to values that should be used for those parameters. Values may not exceed 1000 characters.", - "type": "object" - }, - "requestId": { - "description": "Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", - "type": "string" - }, - "version": { - "description": "Optional. The version of workflow template to instantiate. If specified, the workflow will be instantiated only if the current version of the workflow template has the supplied version.This option cannot be used to instantiate a previous version of workflow template.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Job": { - "description": "A Dataproc job resource.", - "id": "Job", - "properties": { - "done": { - "description": "Output only. Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled.", - "readOnly": true, - "type": "boolean" - }, - "driverControlFilesUri": { - "description": "Output only. If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.", - "readOnly": true, - "type": "string" - }, - "driverOutputResourceUri": { - "description": "Output only. A URI pointing to the location of the stdout of the job's driver program.", - "readOnly": true, - "type": "string" - }, - "hadoopJob": { - "$ref": "HadoopJob", - "description": "Optional. Job is a Hadoop job." - }, - "hiveJob": { - "$ref": "HiveJob", - "description": "Optional. Job is a Hive job." - }, - "jobUuid": { - "description": "Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that may be reused over time.", - "readOnly": true, - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.", - "type": "object" - }, - "pigJob": { - "$ref": "PigJob", - "description": "Optional. Job is a Pig job." - }, - "placement": { - "$ref": "JobPlacement", - "description": "Required. Job information, including how, when, and where to run the job." - }, - "prestoJob": { - "$ref": "PrestoJob", - "description": "Optional. Job is a Presto job." - }, - "pysparkJob": { - "$ref": "PySparkJob", - "description": "Optional. Job is a PySpark job." - }, - "reference": { - "$ref": "JobReference", - "description": "Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a job_id." - }, - "scheduling": { - "$ref": "JobScheduling", - "description": "Optional. Job scheduling configuration." - }, - "sparkJob": { - "$ref": "SparkJob", - "description": "Optional. Job is a Spark job." - }, - "sparkRJob": { - "$ref": "SparkRJob", - "description": "Optional. Job is a SparkR job." - }, - "sparkSqlJob": { - "$ref": "SparkSqlJob", - "description": "Optional. Job is a SparkSql job." - }, - "status": { - "$ref": "JobStatus", - "description": "Output only. The job status. Additional application-specific status information may be contained in the type_job and yarn_applications fields.", - "readOnly": true - }, - "statusHistory": { - "description": "Output only. The previous job status.", - "items": { - "$ref": "JobStatus" - }, - "readOnly": true, - "type": "array" - }, - "submittedBy": { - "description": "Output only. The email address of the user submitting the job. For jobs submitted on the cluster, the address is username@hostname.", - "readOnly": true, - "type": "string" - }, - "yarnApplications": { - "description": "Output only. The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", - "items": { - "$ref": "YarnApplication" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "JobMetadata": { - "description": "Job Operation metadata.", - "id": "JobMetadata", - "properties": { - "jobId": { - "description": "Output only. The job id.", - "readOnly": true, - "type": "string" - }, - "operationType": { - "description": "Output only. Operation type.", - "readOnly": true, - "type": "string" - }, - "startTime": { - "description": "Output only. Job submission time.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "status": { - "$ref": "JobStatus", - "description": "Output only. Most recent job status.", - "readOnly": true - } - }, - "type": "object" - }, - "JobPlacement": { - "description": "Dataproc job config.", - "id": "JobPlacement", - "properties": { - "clusterLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Cluster labels to identify a cluster where the job will be submitted.", - "type": "object" - }, - "clusterName": { - "description": "Required. The name of the cluster where the job will be submitted.", - "type": "string" - }, - "clusterUuid": { - "description": "Output only. A cluster UUID generated by the Dataproc service when the job is submitted.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "JobReference": { - "description": "Encapsulates the full scoping used to reference a job.", - "id": "JobReference", - "properties": { - "jobId": { - "description": "Optional. The job ID, which must be unique within the project. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server.", - "type": "string" - }, - "projectId": { - "description": "Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.", - "type": "string" - } - }, - "type": "object" - }, - "JobScheduling": { - "description": "Job scheduling options.", - "id": "JobScheduling", - "properties": { - "maxFailuresPerHour": { - "description": "Optional. Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10.", - "format": "int32", - "type": "integer" - }, - "maxFailuresTotal": { - "description": "Optional. Maximum number of times in total a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed. Maximum value is 240.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "JobStatus": { - "description": "Dataproc job status.", - "id": "JobStatus", - "properties": { - "details": { - "description": "Output only. Optional Job state details, such as an error description if the state is ERROR.", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. A state message specifying the overall job state.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "SETUP_DONE", - "RUNNING", - "CANCEL_PENDING", - "CANCEL_STARTED", - "CANCELLED", - "DONE", - "ERROR", - "ATTEMPT_FAILURE" - ], - "enumDescriptions": [ - "The job state is unknown.", - "The job is pending; it has been submitted, but is not yet running.", - "Job has been received by the service and completed initial setup; it will soon be submitted to the cluster.", - "The job is running on the cluster.", - "A CancelJob request has been received, but is pending.", - "Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster.", - "The job cancellation was successful.", - "The job has completed successfully.", - "The job has completed, but encountered an error.", - "Job attempt has failed. The detail field contains failure details for this attempt.Applies to restartable jobs only." - ], - "readOnly": true, - "type": "string" - }, - "stateStartTime": { - "description": "Output only. The time when this state was entered.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "substate": { - "description": "Output only. Additional state information, which includes status reported by the agent.", - "enum": [ - "UNSPECIFIED", - "SUBMITTED", - "QUEUED", - "STALE_STATUS" - ], - "enumDescriptions": [ - "The job substate is unknown.", - "The Job is submitted to the agent.Applies to RUNNING state.", - "The Job has been received and is awaiting execution (it may be waiting for a condition to be met). See the \"details\" field for the reason for the delay.Applies to RUNNING state.", - "The agent-reported status is out of date, which may be caused by a loss of communication between the agent and Dataproc. If the agent does not send a timely update, the job will fail.Applies to RUNNING state." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "KerberosConfig": { - "description": "Specifies Kerberos related configuration.", - "id": "KerberosConfig", - "properties": { - "crossRealmTrustAdminServer": { - "description": "Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.", - "type": "string" - }, - "crossRealmTrustKdc": { - "description": "Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.", - "type": "string" - }, - "crossRealmTrustRealm": { - "description": "Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.", - "type": "string" - }, - "crossRealmTrustSharedPasswordUri": { - "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.", - "type": "string" - }, - "enableKerberos": { - "description": "Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.", - "type": "boolean" - }, - "kdcDbKeyUri": { - "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.", - "type": "string" - }, - "keyPasswordUri": { - "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.", - "type": "string" - }, - "keystorePasswordUri": { - "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.", - "type": "string" - }, - "keystoreUri": { - "description": "Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.", - "type": "string" - }, - "kmsKeyUri": { - "description": "Optional. The uri of the KMS key used to encrypt various sensitive files.", - "type": "string" - }, - "realm": { - "description": "Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.", - "type": "string" - }, - "rootPrincipalPasswordUri": { - "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.", - "type": "string" - }, - "tgtLifetimeHours": { - "description": "Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.", - "format": "int32", - "type": "integer" - }, - "truststorePasswordUri": { - "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.", - "type": "string" - }, - "truststoreUri": { - "description": "Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.", - "type": "string" - } - }, - "type": "object" - }, - "LifecycleConfig": { - "description": "Specifies the cluster auto-delete schedule configuration.", - "id": "LifecycleConfig", - "properties": { - "autoDeleteTime": { - "description": "Optional. The time when cluster will be auto-deleted. (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).", - "format": "google-datetime", - "type": "string" - }, - "autoDeleteTtl": { - "description": "Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).", - "format": "google-duration", - "type": "string" - }, - "idleDeleteTtl": { - "description": "Optional. The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).", - "format": "google-duration", - "type": "string" - }, - "idleStartTime": { - "description": "Output only. The time when cluster became idle (most recent job finished) and became eligible for deletion due to idleness (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ListAutoscalingPoliciesResponse": { - "description": "A response to a request to list autoscaling policies in a project.", - "id": "ListAutoscalingPoliciesResponse", - "properties": { - "nextPageToken": { - "description": "Output only. This token is included in the response if there are more results to fetch.", - "readOnly": true, - "type": "string" - }, - "policies": { - "description": "Output only. Autoscaling policies list.", - "items": { - "$ref": "AutoscalingPolicy" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "ListClustersResponse": { - "description": "The list of all clusters in a project.", - "id": "ListClustersResponse", - "properties": { - "clusters": { - "description": "Output only. The clusters in the project.", - "items": { - "$ref": "Cluster" - }, - "readOnly": true, - "type": "array" - }, - "nextPageToken": { - "description": "Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListClustersRequest.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ListJobsResponse": { - "description": "A list of jobs in a project.", - "id": "ListJobsResponse", - "properties": { - "jobs": { - "description": "Output only. Jobs list.", - "items": { - "$ref": "Job" - }, - "readOnly": true, - "type": "array" - }, - "nextPageToken": { - "description": "Optional. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListJobsRequest.", - "type": "string" - } - }, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListWorkflowTemplatesResponse": { - "description": "A response to a request to list workflow templates in a project.", - "id": "ListWorkflowTemplatesResponse", - "properties": { - "nextPageToken": { - "description": "Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListWorkflowTemplatesRequest.", - "readOnly": true, - "type": "string" - }, - "templates": { - "description": "Output only. WorkflowTemplates list.", - "items": { - "$ref": "WorkflowTemplate" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "LoggingConfig": { - "description": "The runtime logging config of the job.", - "id": "LoggingConfig", - "properties": { - "driverLogLevels": { - "additionalProperties": { - "enum": [ - "LEVEL_UNSPECIFIED", - "ALL", - "TRACE", - "DEBUG", - "INFO", - "WARN", - "ERROR", - "FATAL", - "OFF" - ], - "enumDescriptions": [ - "Level is unspecified. Use default level for log4j.", - "Use ALL level for log4j.", - "Use TRACE level for log4j.", - "Use DEBUG level for log4j.", - "Use INFO level for log4j.", - "Use WARN level for log4j.", - "Use ERROR level for log4j.", - "Use FATAL level for log4j.", - "Turn off log4j." - ], - "type": "string" - }, - "description": "The per-package log levels for the driver. This may include \"root\" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'", - "type": "object" - } - }, - "type": "object" - }, - "ManagedCluster": { - "description": "Cluster that is managed by the workflow.", - "id": "ManagedCluster", - "properties": { - "clusterName": { - "description": "Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters.", - "type": "string" - }, - "config": { - "$ref": "ClusterConfig", - "description": "Required. The cluster configuration." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster.", - "type": "object" - } - }, - "type": "object" - }, - "ManagedGroupConfig": { - "description": "Specifies the resources used to actively manage an instance group.", - "id": "ManagedGroupConfig", - "properties": { - "instanceGroupManagerName": { - "description": "Output only. The name of the Instance Group Manager for this group.", - "readOnly": true, - "type": "string" - }, - "instanceTemplateName": { - "description": "Output only. The name of the Instance Template used for the Managed Instance Group.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "MetastoreConfig": { - "description": "Specifies a Metastore configuration.", - "id": "MetastoreConfig", - "properties": { - "dataprocMetastoreService": { - "description": "Required. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name]", - "type": "string" - } - }, - "type": "object" - }, - "NamespacedGkeDeploymentTarget": { - "description": "A full, namespace-isolated deployment target for an existing GKE cluster.", - "id": "NamespacedGkeDeploymentTarget", - "properties": { - "clusterNamespace": { - "description": "Optional. A namespace within the GKE cluster to deploy into.", - "type": "string" - }, - "targetGkeCluster": { - "description": "Optional. The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'", - "type": "string" - } - }, - "type": "object" - }, - "NodeGroupAffinity": { - "description": "Node Group Affinity for clusters using sole-tenant node groups.", - "id": "NodeGroupAffinity", - "properties": { - "nodeGroupUri": { - "description": "Required. The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1 projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1 node-group-1", - "type": "string" - } - }, - "type": "object" - }, - "NodeInitializationAction": { - "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.", - "id": "NodeInitializationAction", - "properties": { - "executableFile": { - "description": "Required. Cloud Storage URI of executable file.", - "type": "string" - }, - "executionTimeout": { - "description": "Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", - "type": "object" - } - }, - "type": "object" - }, - "OrderedJob": { - "description": "A job executed by the workflow.", - "id": "OrderedJob", - "properties": { - "hadoopJob": { - "$ref": "HadoopJob", - "description": "Optional. Job is a Hadoop job." - }, - "hiveJob": { - "$ref": "HiveJob", - "description": "Optional. Job is a Hive job." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given job.", - "type": "object" - }, - "pigJob": { - "$ref": "PigJob", - "description": "Optional. Job is a Pig job." - }, - "prerequisiteStepIds": { - "description": "Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.", - "items": { - "type": "string" - }, - "type": "array" - }, - "prestoJob": { - "$ref": "PrestoJob", - "description": "Optional. Job is a Presto job." - }, - "pysparkJob": { - "$ref": "PySparkJob", - "description": "Optional. Job is a PySpark job." - }, - "scheduling": { - "$ref": "JobScheduling", - "description": "Optional. Job scheduling configuration." - }, - "sparkJob": { - "$ref": "SparkJob", - "description": "Optional. Job is a Spark job." - }, - "sparkRJob": { - "$ref": "SparkRJob", - "description": "Optional. Job is a SparkR job." - }, - "sparkSqlJob": { - "$ref": "SparkSqlJob", - "description": "Optional. Job is a SparkSql job." - }, - "stepId": { - "description": "Required. The step id. The id must be unique among all jobs within the template.The step id is used as prefix for job id, as job goog-dataproc-workflow-step-id label, and in prerequisiteStepIds field from other steps.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.", - "type": "string" - } - }, - "type": "object" - }, - "ParameterValidation": { - "description": "Configuration for parameter validation.", - "id": "ParameterValidation", - "properties": { - "regex": { - "$ref": "RegexValidation", - "description": "Validation based on regular expressions." - }, - "values": { - "$ref": "ValueValidation", - "description": "Validation based on a list of allowed values." - } - }, - "type": "object" - }, - "PigJob": { - "description": "A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN.", - "id": "PigJob", - "properties": { - "continueOnFailure": { - "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", - "type": "boolean" - }, - "jarFileUris": { - "description": "Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.", - "items": { - "type": "string" - }, - "type": "array" - }, - "loggingConfig": { - "$ref": "LoggingConfig", - "description": "Optional. The runtime log config for job execution." - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", - "type": "object" - }, - "queryFileUri": { - "description": "The HCFS URI of the script that contains the Pig queries.", - "type": "string" - }, - "queryList": { - "$ref": "QueryList", - "description": "A list of queries." - }, - "scriptVariables": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Mapping of query variable names to values (equivalent to the Pig command: name=[value]).", - "type": "object" - } - }, - "type": "object" - }, - "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members to a single role. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).", - "id": "Policy", - "properties": { - "bindings": { - "description": "Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member.", - "items": { - "$ref": "Binding" - }, - "type": "array" - }, - "etag": { - "description": "etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy.Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: Getting a policy that includes a conditional role binding Adding a conditional role binding to a policy Changing a conditional role binding in a policy Removing any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "PrestoJob": { - "description": "A Dataproc job for running Presto (https://prestosql.io/) queries. IMPORTANT: The Dataproc Presto Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/presto) must be enabled when the cluster is created to submit a Presto job to the cluster.", - "id": "PrestoJob", - "properties": { - "clientTags": { - "description": "Optional. Presto client tags to attach to this query", - "items": { - "type": "string" - }, - "type": "array" - }, - "continueOnFailure": { - "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", - "type": "boolean" - }, - "loggingConfig": { - "$ref": "LoggingConfig", - "description": "Optional. The runtime log config for job execution." - }, - "outputFormat": { - "description": "Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats", - "type": "string" - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A mapping of property names to values. Used to set Presto session properties (https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI", - "type": "object" - }, - "queryFileUri": { - "description": "The HCFS URI of the script that contains SQL queries.", - "type": "string" - }, - "queryList": { - "$ref": "QueryList", - "description": "A list of queries." - } - }, - "type": "object" - }, - "PySparkJob": { - "description": "A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.", - "id": "PySparkJob", - "properties": { - "archiveUris": { - "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", - "items": { - "type": "string" - }, - "type": "array" - }, - "args": { - "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", - "items": { - "type": "string" - }, - "type": "array" - }, - "fileUris": { - "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.", - "items": { - "type": "string" - }, - "type": "array" - }, - "jarFileUris": { - "description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.", - "items": { - "type": "string" - }, - "type": "array" - }, - "loggingConfig": { - "$ref": "LoggingConfig", - "description": "Optional. The runtime log config for job execution." - }, - "mainPythonFileUri": { - "description": "Required. The HCFS URI of the main Python file to use as the driver. Must be a .py file.", - "type": "string" - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", - "type": "object" - }, - "pythonFileUris": { - "description": "Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "QueryList": { - "description": "A list of queries to run on a cluster.", - "id": "QueryList", - "properties": { - "queries": { - "description": "Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: \"hiveJob\": { \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\", ] } } ", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "RegexValidation": { - "description": "Validation based on regular expressions.", - "id": "RegexValidation", - "properties": { - "regexes": { - "description": "Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient).", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReservationAffinity": { - "description": "Reservation Affinity for consuming Zonal reservation.", - "id": "ReservationAffinity", - "properties": { - "consumeReservationType": { - "description": "Optional. Type of reservation to consume", - "enum": [ - "TYPE_UNSPECIFIED", - "NO_RESERVATION", - "ANY_RESERVATION", - "SPECIFIC_RESERVATION" - ], - "enumDescriptions": [ - "", - "Do not consume from any allocated capacity.", - "Consume any reservation available.", - "Must consume from a specific reservation. Must specify key value fields for specifying the reservations." - ], - "type": "string" - }, - "key": { - "description": "Optional. Corresponds to the label key of reservation resource.", - "type": "string" - }, - "values": { - "description": "Optional. Corresponds to the label values of reservation resource.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "SecurityConfig": { - "description": "Security related configuration, including encryption, Kerberos, etc.", - "id": "SecurityConfig", - "properties": { - "kerberosConfig": { - "$ref": "KerberosConfig", - "description": "Optional. Kerberos related configuration." - } - }, - "type": "object" - }, - "SetIamPolicyRequest": { - "description": "Request message for SetIamPolicy method.", - "id": "SetIamPolicyRequest", - "properties": { - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." - } - }, - "type": "object" - }, - "ShieldedInstanceConfig": { - "description": "Shielded Instance Config for clusters using Compute Engine Shielded VMs (https://cloud.google.com/security/shielded-cloud/shielded-vm).", - "id": "ShieldedInstanceConfig", - "properties": { - "enableIntegrityMonitoring": { - "description": "Optional. Defines whether instances have integrity monitoring enabled.", - "type": "boolean" - }, - "enableSecureBoot": { - "description": "Optional. Defines whether instances have Secure Boot enabled.", - "type": "boolean" - }, - "enableVtpm": { - "description": "Optional. Defines whether instances have the vTPM enabled.", - "type": "boolean" - } - }, - "type": "object" - }, - "SoftwareConfig": { - "description": "Specifies the selection and config of software inside the cluster.", - "id": "SoftwareConfig", - "properties": { - "imageVersion": { - "description": "Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions), such as \"1.2\" (including a subminor version, such as \"1.2.29\"), or the \"preview\" version (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version.", - "type": "string" - }, - "optionalComponents": { - "description": "The set of optional components to activate on the cluster.", - "items": { - "enum": [ - "COMPONENT_UNSPECIFIED", - "ANACONDA", - "DOCKER", - "DRUID", - "FLINK", - "HBASE", - "HIVE_WEBHCAT", - "JUPYTER", - "KERBEROS", - "PRESTO", - "RANGER", - "SOLR", - "ZEPPELIN", - "ZOOKEEPER" - ], - "enumDescriptions": [ - "Unspecified component. Specifying this will cause Cluster creation to fail.", - "The Anaconda python distribution. The Anaconda component is not supported in the Dataproc 2.0 image. The 2.0 image is pre-installed with Miniconda.", - "Docker", - "The Druid query engine.", - "Flink", - "HBase.", - "The Hive Web HCatalog (the REST service for accessing HCatalog).", - "The Jupyter Notebook.", - "The Kerberos security feature.", - "The Presto query engine.", - "The Ranger service.", - "The Solr service.", - "The Zeppelin notebook.", - "The Zookeeper service." - ], - "type": "string" - }, - "type": "array" - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. The following are supported prefixes and their mappings: capacity-scheduler: capacity-scheduler.xml core: core-site.xml distcp: distcp-default.xml hdfs: hdfs-site.xml hive: hive-site.xml mapred: mapred-site.xml pig: pig.properties spark: spark-defaults.conf yarn: yarn-site.xmlFor more information, see Cluster properties (https://cloud.google.com/dataproc/docs/concepts/cluster-properties).", - "type": "object" - } - }, - "type": "object" - }, - "SparkJob": { - "description": "A Dataproc job for running Apache Spark (http://spark.apache.org/) applications on YARN. The specification of the main method to call to drive the job. Specify either the jar file that contains the main class or the main class name. To pass both a main jar and a main class in that jar, add the jar to CommonJob.jar_file_uris, and then specify the main class name in main_class.", - "id": "SparkJob", - "properties": { - "archiveUris": { - "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", - "items": { - "type": "string" - }, - "type": "array" - }, - "args": { - "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", - "items": { - "type": "string" - }, - "type": "array" - }, - "fileUris": { - "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.", - "items": { - "type": "string" - }, - "type": "array" - }, - "jarFileUris": { - "description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.", - "items": { - "type": "string" - }, - "type": "array" - }, - "loggingConfig": { - "$ref": "LoggingConfig", - "description": "Optional. The runtime log config for job execution." - }, - "mainClass": { - "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.", - "type": "string" - }, - "mainJarFileUri": { - "description": "The HCFS URI of the jar file that contains the main class.", - "type": "string" - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", - "type": "object" - } - }, - "type": "object" - }, - "SparkRJob": { - "description": "A Dataproc job for running Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) applications on YARN.", - "id": "SparkRJob", - "properties": { - "archiveUris": { - "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", - "items": { - "type": "string" - }, - "type": "array" - }, - "args": { - "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", - "items": { - "type": "string" - }, - "type": "array" - }, - "fileUris": { - "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.", - "items": { - "type": "string" - }, - "type": "array" - }, - "loggingConfig": { - "$ref": "LoggingConfig", - "description": "Optional. The runtime log config for job execution." - }, - "mainRFileUri": { - "description": "Required. The HCFS URI of the main R file to use as the driver. Must be a .R file.", - "type": "string" - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A mapping of property names to values, used to configure SparkR. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", - "type": "object" - } - }, - "type": "object" - }, - "SparkSqlJob": { - "description": "A Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/) queries.", - "id": "SparkSqlJob", - "properties": { - "jarFileUris": { - "description": "Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.", - "items": { - "type": "string" - }, - "type": "array" - }, - "loggingConfig": { - "$ref": "LoggingConfig", - "description": "Optional. The runtime log config for job execution." - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Dataproc API may be overwritten.", - "type": "object" - }, - "queryFileUri": { - "description": "The HCFS URI of the script that contains SQL queries.", - "type": "string" - }, - "queryList": { - "$ref": "QueryList", - "description": "A list of queries." - }, - "scriptVariables": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).", - "type": "object" - } - }, - "type": "object" - }, - "StartClusterRequest": { - "description": "A request to start a cluster.", - "id": "StartClusterRequest", - "properties": { - "clusterUuid": { - "description": "Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.", - "type": "string" - }, - "requestId": { - "description": "Optional. A unique id used to identify the request. If the server receives two StartClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1beta2.StartClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "StopClusterRequest": { - "description": "A request to stop a cluster.", - "id": "StopClusterRequest", - "properties": { - "clusterUuid": { - "description": "Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.", - "type": "string" - }, - "requestId": { - "description": "Optional. A unique id used to identify the request. If the server receives two StopClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1beta2.StopClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", - "type": "string" - } - }, - "type": "object" - }, - "SubmitJobRequest": { - "description": "A request to submit a job.", - "id": "SubmitJobRequest", - "properties": { - "job": { - "$ref": "Job", - "description": "Required. The job resource." - }, - "requestId": { - "description": "Optional. A unique id used to identify the request. If the server receives two SubmitJobRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1.SubmitJobRequest)s with the same id, then the second request will be ignored and the first Job created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", - "type": "string" - } - }, - "type": "object" - }, - "TemplateParameter": { - "description": "A configurable parameter that replaces one or more fields in the template. Parameterizable fields: - Labels - File uris - Job properties - Job arguments - Script variables - Main class (in HadoopJob and SparkJob) - Zone (in ClusterSelector)", - "id": "TemplateParameter", - "properties": { - "description": { - "description": "Optional. Brief description of the parameter. Must not exceed 1024 characters.", - "type": "string" - }, - "fields": { - "description": "Required. Paths to all fields that the parameter replaces. A field is allowed to appear in at most one parameter's list of field paths.A field path is similar in syntax to a google.protobuf.FieldMask. For example, a field path that references the zone field of a workflow template's cluster selector would be specified as placement.clusterSelector.zone.Also, field paths can reference fields using the following syntax: Values in maps can be referenced by key: labels'key' placement.clusterSelector.clusterLabels'key' placement.managedCluster.labels'key' placement.clusterSelector.clusterLabels'key' jobs'step-id'.labels'key' Jobs in the jobs list can be referenced by step-id: jobs'step-id'.hadoopJob.mainJarFileUri jobs'step-id'.hiveJob.queryFileUri jobs'step-id'.pySparkJob.mainPythonFileUri jobs'step-id'.hadoopJob.jarFileUris0 jobs'step-id'.hadoopJob.archiveUris0 jobs'step-id'.hadoopJob.fileUris0 jobs'step-id'.pySparkJob.pythonFileUris0 Items in repeated fields can be referenced by a zero-based index: jobs'step-id'.sparkJob.args0 Other examples: jobs'step-id'.hadoopJob.properties'key' jobs'step-id'.hadoopJob.args0 jobs'step-id'.hiveJob.scriptVariables'key' jobs'step-id'.hadoopJob.mainJarFileUri placement.clusterSelector.zoneIt may not be possible to parameterize maps and repeated fields in their entirety since only individual map values and individual items in repeated fields can be referenced. For example, the following field paths are invalid: placement.clusterSelector.clusterLabels jobs'step-id'.sparkJob.args", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Required. Parameter name. The parameter name is used as the key, and paired with the parameter value, which are passed to the template when the template is instantiated. The name must contain only capital letters (A-Z), numbers (0-9), and underscores (_), and must not start with a number. The maximum length is 40 characters.", - "type": "string" - }, - "validation": { - "$ref": "ParameterValidation", - "description": "Optional. Validation rules to be applied to this parameter's value." - } - }, - "type": "object" - }, - "TestIamPermissionsRequest": { - "description": "Request message for TestIamPermissions method.", - "id": "TestIamPermissionsRequest", - "properties": { - "permissions": { - "description": "The set of permissions to check for the resource. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TestIamPermissionsResponse": { - "description": "Response message for TestIamPermissions method.", - "id": "TestIamPermissionsResponse", - "properties": { - "permissions": { - "description": "A subset of TestPermissionsRequest.permissions that the caller is allowed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ValueValidation": { - "description": "Validation based on a list of allowed values.", - "id": "ValueValidation", - "properties": { - "values": { - "description": "Required. List of allowed values for the parameter.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "WorkflowGraph": { - "description": "The workflow graph.", - "id": "WorkflowGraph", - "properties": { - "nodes": { - "description": "Output only. The workflow nodes.", - "items": { - "$ref": "WorkflowNode" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "WorkflowMetadata": { - "description": "A Dataproc workflow template resource.", - "id": "WorkflowMetadata", - "properties": { - "clusterName": { - "description": "Output only. The name of the target cluster.", - "readOnly": true, - "type": "string" - }, - "clusterUuid": { - "description": "Output only. The UUID of target cluster.", - "readOnly": true, - "type": "string" - }, - "createCluster": { - "$ref": "ClusterOperation", - "description": "Output only. The create cluster operation metadata.", - "readOnly": true - }, - "dagEndTime": { - "description": "Output only. DAG end time, which is only set for workflows with dag_timeout when the DAG ends.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "dagStartTime": { - "description": "Output only. DAG start time, which is only set for workflows with dag_timeout when the DAG begins.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "dagTimeout": { - "description": "Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).", - "format": "google-duration", - "readOnly": true, - "type": "string" - }, - "deleteCluster": { - "$ref": "ClusterOperation", - "description": "Output only. The delete cluster operation metadata.", - "readOnly": true - }, - "endTime": { - "description": "Output only. Workflow end time.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "graph": { - "$ref": "WorkflowGraph", - "description": "Output only. The workflow graph.", - "readOnly": true - }, - "parameters": { - "additionalProperties": { - "type": "string" - }, - "description": "Map from parameter names to values that were used for those parameters.", - "type": "object" - }, - "startTime": { - "description": "Output only. Workflow start time.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. The workflow state.", - "enum": [ - "UNKNOWN", - "PENDING", - "RUNNING", - "DONE" - ], - "enumDescriptions": [ - "Unused.", - "The operation has been created.", - "The operation is running.", - "The operation is done; either cancelled or completed." - ], - "readOnly": true, - "type": "string" - }, - "template": { - "description": "Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", - "readOnly": true, - "type": "string" - }, - "version": { - "description": "Output only. The version of template at the time of workflow instantiation.", - "format": "int32", - "readOnly": true, - "type": "integer" - } - }, - "type": "object" - }, - "WorkflowNode": { - "description": "The workflow node.", - "id": "WorkflowNode", - "properties": { - "error": { - "description": "Output only. The error detail.", - "readOnly": true, - "type": "string" - }, - "jobId": { - "description": "Output only. The job id; populated after the node enters RUNNING state.", - "readOnly": true, - "type": "string" - }, - "prerequisiteStepIds": { - "description": "Output only. Node's prerequisite nodes.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "state": { - "description": "Output only. The node state.", - "enum": [ - "NODE_STATUS_UNSPECIFIED", - "BLOCKED", - "RUNNABLE", - "RUNNING", - "COMPLETED", - "FAILED" - ], - "enumDescriptions": [ - "State is unspecified.", - "The node is awaiting prerequisite node to finish.", - "The node is runnable but not running.", - "The node is running.", - "The node completed successfully.", - "The node failed. A node can be marked FAILED because its ancestor or peer failed." - ], - "readOnly": true, - "type": "string" - }, - "stepId": { - "description": "Output only. The name of the node.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "WorkflowTemplate": { - "description": "A Dataproc workflow template resource.", - "id": "WorkflowTemplate", - "properties": { - "createTime": { - "description": "Output only. The time template was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "dagTimeout": { - "description": "Optional. Timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). The timeout duration must be from 10 minutes (\"600s\") to 24 hours (\"86400s\"). The timer begins when the first job is submitted. If the workflow is running at the end of the timeout period, any remaining jobs are cancelled, the workflow is ended, and if the workflow was running on a managed cluster, the cluster is deleted.", - "format": "google-duration", - "type": "string" - }, - "id": { - "description": "Required. The template id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters..", - "type": "string" - }, - "jobs": { - "description": "Required. The Directed Acyclic Graph of Jobs to submit.", - "items": { - "$ref": "OrderedJob" - }, - "type": "array" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance.Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).No more than 32 labels can be associated with a template.", - "type": "object" - }, - "name": { - "description": "Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", - "readOnly": true, - "type": "string" - }, - "parameters": { - "description": "Optional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.", - "items": { - "$ref": "TemplateParameter" - }, - "type": "array" - }, - "placement": { - "$ref": "WorkflowTemplatePlacement", - "description": "Required. WorkflowTemplate scheduling information." - }, - "updateTime": { - "description": "Output only. The time template was last updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "version": { - "description": "Optional. Used to perform a consistent read-modify-write.This field should be left blank for a CreateWorkflowTemplate request. It is required for an UpdateWorkflowTemplate request, and must match the current server version. A typical update template flow would fetch the current template with a GetWorkflowTemplate request, which will return the current template with the version field filled in with the current server version. The user updates other fields in the template, then returns it as part of the UpdateWorkflowTemplate request.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "WorkflowTemplatePlacement": { - "description": "Specifies workflow execution target.Either managed_cluster or cluster_selector is required.", - "id": "WorkflowTemplatePlacement", - "properties": { - "clusterSelector": { - "$ref": "ClusterSelector", - "description": "Optional. A selector that chooses target cluster for jobs based on metadata.The selector is evaluated at the time each job is submitted." - }, - "managedCluster": { - "$ref": "ManagedCluster", - "description": "Optional. A cluster that is managed by the workflow." - } - }, - "type": "object" - }, - "YarnApplication": { - "description": "A YARN application created by a job. Application information is a subset of org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", - "id": "YarnApplication", - "properties": { - "name": { - "description": "Output only. The application name.", - "readOnly": true, - "type": "string" - }, - "progress": { - "description": "Output only. The numerical progress of the application, from 1 to 100.", - "format": "float", - "readOnly": true, - "type": "number" - }, - "state": { - "description": "Output only. The application state.", - "enum": [ - "STATE_UNSPECIFIED", - "NEW", - "NEW_SAVING", - "SUBMITTED", - "ACCEPTED", - "RUNNING", - "FINISHED", - "FAILED", - "KILLED" - ], - "enumDescriptions": [ - "Status is unspecified.", - "Status is NEW.", - "Status is NEW_SAVING.", - "Status is SUBMITTED.", - "Status is ACCEPTED.", - "Status is RUNNING.", - "Status is FINISHED.", - "Status is FAILED.", - "Status is KILLED." - ], - "readOnly": true, - "type": "string" - }, - "trackingUrl": { - "description": "Output only. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Dataproc API", - "version": "v1beta2", - "version_module": true -} \ No newline at end of file diff --git a/discovery/datastream-v1.json b/discovery/datastream-v1.json index 6d7272ae212..b7d4258411e 100644 --- a/discovery/datastream-v1.json +++ b/discovery/datastream-v1.json @@ -1261,7 +1261,7 @@ } } }, - "revision": "20250321", + "revision": "20250505", "rootUrl": "https://datastream.googleapis.com/", "schemas": { "AppendOnly": { @@ -2209,7 +2209,7 @@ "id": "MongodbProfile", "properties": { "hostAddresses": { - "description": "Required. List of host addresses for a MongoDB cluster.", + "description": "Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.", "items": { "$ref": "HostAddress" }, @@ -2220,7 +2220,7 @@ "type": "string" }, "replicaSet": { - "description": "Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster.", + "description": "Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.", "type": "string" }, "secretManagerStoredPassword": { diff --git a/discovery/developerconnect-v1.json b/discovery/developerconnect-v1.json index 5f6031da2ca..fcbd0198266 100644 --- a/discovery/developerconnect-v1.json +++ b/discovery/developerconnect-v1.json @@ -1405,7 +1405,7 @@ } } }, - "revision": "20250414", + "revision": "20250502", "rootUrl": "https://developerconnect.googleapis.com/", "schemas": { "AccountConnector": { @@ -2447,7 +2447,8 @@ "SENTRY", "ROVO", "NEW_RELIC", - "DATASTAX" + "DATASTAX", + "DYNATRACE" ], "enumDescriptions": [ "No system provider specified.", @@ -2457,7 +2458,8 @@ "Sentry provider. Scopes can be found at https://docs.sentry.io/api/permissions/", "Rovo provider. Must select the \"rovo\" scope.", "New Relic provider. No scopes are allowed.", - "Datastax provider. No scopes are allowed." + "Datastax provider. No scopes are allowed.", + "Dynatrace provider." ], "type": "string" } diff --git a/discovery/dfareporting-v3.3.json b/discovery/dfareporting-v3.3.json deleted file mode 100644 index d88020fdbd4..00000000000 --- a/discovery/dfareporting-v3.3.json +++ /dev/null @@ -1,19978 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/ddmconversions": { - "description": "Manage DoubleClick Digital Marketing conversions" - }, - "https://www.googleapis.com/auth/dfareporting": { - "description": "View and manage DoubleClick for Advertisers reports" - }, - "https://www.googleapis.com/auth/dfatrafficking": { - "description": "View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns" - } - } - } - }, - "basePath": "/dfareporting/v3.3/", - "baseUrl": "https://dfareporting.googleapis.com/dfareporting/v3.3/", - "batchPath": "batch", - "canonicalName": "Dfareporting", - "description": "Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/doubleclick-advertisers/", - "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": "dfareporting:v3.3", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://dfareporting.mtls.googleapis.com/", - "name": "dfareporting", - "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": { - "accountActiveAdSummaries": { - "methods": { - "get": { - "description": "Gets the account's active ad summary by account ID.", - "flatPath": "userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}", - "httpMethod": "GET", - "id": "dfareporting.accountActiveAdSummaries.get", - "parameterOrder": [ - "profileId", - "summaryAccountId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "summaryAccountId": { - "description": "Account ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}", - "response": { - "$ref": "AccountActiveAdSummary" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "accountPermissionGroups": { - "methods": { - "get": { - "description": "Gets one account permission group by ID.", - "flatPath": "userprofiles/{profileId}/accountPermissionGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.accountPermissionGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Account permission group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountPermissionGroups/{id}", - "response": { - "$ref": "AccountPermissionGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves the list of account permission groups.", - "flatPath": "userprofiles/{profileId}/accountPermissionGroups", - "httpMethod": "GET", - "id": "dfareporting.accountPermissionGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountPermissionGroups", - "response": { - "$ref": "AccountPermissionGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "accountPermissions": { - "methods": { - "get": { - "description": "Gets one account permission by ID.", - "flatPath": "userprofiles/{profileId}/accountPermissions/{id}", - "httpMethod": "GET", - "id": "dfareporting.accountPermissions.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Account permission ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountPermissions/{id}", - "response": { - "$ref": "AccountPermission" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves the list of account permissions.", - "flatPath": "userprofiles/{profileId}/accountPermissions", - "httpMethod": "GET", - "id": "dfareporting.accountPermissions.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountPermissions", - "response": { - "$ref": "AccountPermissionsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "accountUserProfiles": { - "methods": { - "get": { - "description": "Gets one account user profile by ID.", - "flatPath": "userprofiles/{profileId}/accountUserProfiles/{id}", - "httpMethod": "GET", - "id": "dfareporting.accountUserProfiles.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "User profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountUserProfiles/{id}", - "response": { - "$ref": "AccountUserProfile" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new account user profile.", - "flatPath": "userprofiles/{profileId}/accountUserProfiles", - "httpMethod": "POST", - "id": "dfareporting.accountUserProfiles.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountUserProfiles", - "request": { - "$ref": "AccountUserProfile" - }, - "response": { - "$ref": "AccountUserProfile" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of account user profiles, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/accountUserProfiles", - "httpMethod": "GET", - "id": "dfareporting.accountUserProfiles.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "active": { - "description": "Select only active user profiles.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only user profiles with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, \"user profile*2015\" will return objects with names like \"user profile June 2015\", \"user profile April 2015\", or simply \"user profile 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"user profile\" will match objects with name \"my user profile\", \"user profile 2015\", or simply \"user profile\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only user profiles with the specified subaccount ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "userRoleId": { - "description": "Select only user profiles with the specified user role ID.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountUserProfiles", - "response": { - "$ref": "AccountUserProfilesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing account user profile. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/accountUserProfiles", - "httpMethod": "PATCH", - "id": "dfareporting.accountUserProfiles.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "AccountUserProfile ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountUserProfiles", - "request": { - "$ref": "AccountUserProfile" - }, - "response": { - "$ref": "AccountUserProfile" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing account user profile.", - "flatPath": "userprofiles/{profileId}/accountUserProfiles", - "httpMethod": "PUT", - "id": "dfareporting.accountUserProfiles.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountUserProfiles", - "request": { - "$ref": "AccountUserProfile" - }, - "response": { - "$ref": "AccountUserProfile" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "accounts": { - "methods": { - "get": { - "description": "Gets one account by ID.", - "flatPath": "userprofiles/{profileId}/accounts/{id}", - "httpMethod": "GET", - "id": "dfareporting.accounts.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Account ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accounts/{id}", - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves the list of accounts, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/accounts", - "httpMethod": "GET", - "id": "dfareporting.accounts.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "active": { - "description": "Select only active accounts. Don't set this field to select both active and non-active accounts.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only accounts with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"account*2015\" will return objects with names like \"account June 2015\", \"account April 2015\", or simply \"account 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"account\" will match objects with name \"my account\", \"account 2015\", or simply \"account\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accounts", - "response": { - "$ref": "AccountsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing account. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/accounts", - "httpMethod": "PATCH", - "id": "dfareporting.accounts.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Account ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accounts", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing account.", - "flatPath": "userprofiles/{profileId}/accounts", - "httpMethod": "PUT", - "id": "dfareporting.accounts.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accounts", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "ads": { - "methods": { - "get": { - "description": "Gets one ad by ID.", - "flatPath": "userprofiles/{profileId}/ads/{id}", - "httpMethod": "GET", - "id": "dfareporting.ads.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Ad ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/ads/{id}", - "response": { - "$ref": "Ad" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new ad.", - "flatPath": "userprofiles/{profileId}/ads", - "httpMethod": "POST", - "id": "dfareporting.ads.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/ads", - "request": { - "$ref": "Ad" - }, - "response": { - "$ref": "Ad" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of ads, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/ads", - "httpMethod": "GET", - "id": "dfareporting.ads.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "active": { - "description": "Select only active ads.", - "location": "query", - "type": "boolean" - }, - "advertiserId": { - "description": "Select only ads with this advertiser ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "archived": { - "description": "Select only archived ads.", - "location": "query", - "type": "boolean" - }, - "audienceSegmentIds": { - "description": "Select only ads with these audience segment IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "campaignIds": { - "description": "Select only ads with these campaign IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "compatibility": { - "description": "Select default ads with the specified compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.", - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "type": "string" - }, - "creativeIds": { - "description": "Select only ads with these creative IDs assigned.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "creativeOptimizationConfigurationIds": { - "description": "Select only ads with these creative optimization configuration IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "dynamicClickTracker": { - "description": "Select only dynamic click trackers. Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, select static click trackers. Leave unset to select both.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only ads with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "landingPageIds": { - "description": "Select only ads with these landing page IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "overriddenEventTagId": { - "description": "Select only ads with this event tag override ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "placementIds": { - "description": "Select only ads with these placement IDs assigned.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "remarketingListIds": { - "description": "Select only ads whose list targeting expression use these remarketing list IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"ad*2015\" will return objects with names like \"ad June 2015\", \"ad April 2015\", or simply \"ad 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"ad\" will match objects with name \"my ad\", \"ad 2015\", or simply \"ad\".", - "location": "query", - "type": "string" - }, - "sizeIds": { - "description": "Select only ads with these size IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sslCompliant": { - "description": "Select only ads that are SSL-compliant.", - "location": "query", - "type": "boolean" - }, - "sslRequired": { - "description": "Select only ads that require SSL.", - "location": "query", - "type": "boolean" - }, - "type": { - "description": "Select only ads with these types.", - "enum": [ - "AD_SERVING_STANDARD_AD", - "AD_SERVING_DEFAULT_AD", - "AD_SERVING_CLICK_TRACKER", - "AD_SERVING_TRACKING", - "AD_SERVING_BRAND_SAFE_AD" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/ads", - "response": { - "$ref": "AdsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing ad. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/ads", - "httpMethod": "PATCH", - "id": "dfareporting.ads.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Ad ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/ads", - "request": { - "$ref": "Ad" - }, - "response": { - "$ref": "Ad" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing ad.", - "flatPath": "userprofiles/{profileId}/ads", - "httpMethod": "PUT", - "id": "dfareporting.ads.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/ads", - "request": { - "$ref": "Ad" - }, - "response": { - "$ref": "Ad" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "advertiserGroups": { - "methods": { - "delete": { - "description": "Deletes an existing advertiser group.", - "flatPath": "userprofiles/{profileId}/advertiserGroups/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.advertiserGroups.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Advertiser group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one advertiser group by ID.", - "flatPath": "userprofiles/{profileId}/advertiserGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.advertiserGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Advertiser group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups/{id}", - "response": { - "$ref": "AdvertiserGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new advertiser group.", - "flatPath": "userprofiles/{profileId}/advertiserGroups", - "httpMethod": "POST", - "id": "dfareporting.advertiserGroups.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups", - "request": { - "$ref": "AdvertiserGroup" - }, - "response": { - "$ref": "AdvertiserGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of advertiser groups, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/advertiserGroups", - "httpMethod": "GET", - "id": "dfareporting.advertiserGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Select only advertiser groups with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"advertiser*2015\" will return objects with names like \"advertiser group June 2015\", \"advertiser group April 2015\", or simply \"advertiser group 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"advertisergroup\" will match objects with name \"my advertisergroup\", \"advertisergroup 2015\", or simply \"advertisergroup\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups", - "response": { - "$ref": "AdvertiserGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing advertiser group. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/advertiserGroups", - "httpMethod": "PATCH", - "id": "dfareporting.advertiserGroups.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "AdvertiserGroup ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups", - "request": { - "$ref": "AdvertiserGroup" - }, - "response": { - "$ref": "AdvertiserGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing advertiser group.", - "flatPath": "userprofiles/{profileId}/advertiserGroups", - "httpMethod": "PUT", - "id": "dfareporting.advertiserGroups.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups", - "request": { - "$ref": "AdvertiserGroup" - }, - "response": { - "$ref": "AdvertiserGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "advertiserLandingPages": { - "methods": { - "get": { - "description": "Gets one landing page by ID.", - "flatPath": "userprofiles/{profileId}/advertiserLandingPages/{id}", - "httpMethod": "GET", - "id": "dfareporting.advertiserLandingPages.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Landing page ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserLandingPages/{id}", - "response": { - "$ref": "LandingPage" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new landing page.", - "flatPath": "userprofiles/{profileId}/advertiserLandingPages", - "httpMethod": "POST", - "id": "dfareporting.advertiserLandingPages.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserLandingPages", - "request": { - "$ref": "LandingPage" - }, - "response": { - "$ref": "LandingPage" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of landing pages.", - "flatPath": "userprofiles/{profileId}/advertiserLandingPages", - "httpMethod": "GET", - "id": "dfareporting.advertiserLandingPages.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only landing pages that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "archived": { - "description": "Select only archived landing pages. Don't set this field to select both archived and non-archived landing pages.", - "location": "query", - "type": "boolean" - }, - "campaignIds": { - "description": "Select only landing pages that are associated with these campaigns.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only landing pages with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for landing pages by name or ID. Wildcards (*) are allowed. For example, \"landingpage*2017\" will return landing pages with names like \"landingpage July 2017\", \"landingpage March 2017\", or simply \"landingpage 2017\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"landingpage\" will match campaigns with name \"my landingpage\", \"landingpage 2015\", or simply \"landingpage\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only landing pages that belong to this subaccount.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserLandingPages", - "response": { - "$ref": "AdvertiserLandingPagesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing advertiser landing page. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/advertiserLandingPages", - "httpMethod": "PATCH", - "id": "dfareporting.advertiserLandingPages.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "LandingPage ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserLandingPages", - "request": { - "$ref": "LandingPage" - }, - "response": { - "$ref": "LandingPage" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing landing page.", - "flatPath": "userprofiles/{profileId}/advertiserLandingPages", - "httpMethod": "PUT", - "id": "dfareporting.advertiserLandingPages.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserLandingPages", - "request": { - "$ref": "LandingPage" - }, - "response": { - "$ref": "LandingPage" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "advertisers": { - "methods": { - "get": { - "description": "Gets one advertiser by ID.", - "flatPath": "userprofiles/{profileId}/advertisers/{id}", - "httpMethod": "GET", - "id": "dfareporting.advertisers.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Advertiser ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertisers/{id}", - "response": { - "$ref": "Advertiser" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new advertiser.", - "flatPath": "userprofiles/{profileId}/advertisers", - "httpMethod": "POST", - "id": "dfareporting.advertisers.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertisers", - "request": { - "$ref": "Advertiser" - }, - "response": { - "$ref": "Advertiser" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of advertisers, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/advertisers", - "httpMethod": "GET", - "id": "dfareporting.advertisers.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserGroupIds": { - "description": "Select only advertisers with these advertiser group IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "floodlightConfigurationIds": { - "description": "Select only advertisers with these floodlight configuration IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only advertisers with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "includeAdvertisersWithoutGroupsOnly": { - "description": "Select only advertisers which do not belong to any advertiser group.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "onlyParent": { - "description": "Select only advertisers which use another advertiser's floodlight configuration.", - "location": "query", - "type": "boolean" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"advertiser*2015\" will return objects with names like \"advertiser June 2015\", \"advertiser April 2015\", or simply \"advertiser 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"advertiser\" will match objects with name \"my advertiser\", \"advertiser 2015\", or simply \"advertiser\" .", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "status": { - "description": "Select only advertisers with the specified status.", - "enum": [ - "APPROVED", - "ON_HOLD" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only advertisers with these subaccount IDs.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertisers", - "response": { - "$ref": "AdvertisersListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing advertiser. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/advertisers", - "httpMethod": "PATCH", - "id": "dfareporting.advertisers.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Advertiser ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertisers", - "request": { - "$ref": "Advertiser" - }, - "response": { - "$ref": "Advertiser" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing advertiser.", - "flatPath": "userprofiles/{profileId}/advertisers", - "httpMethod": "PUT", - "id": "dfareporting.advertisers.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertisers", - "request": { - "$ref": "Advertiser" - }, - "response": { - "$ref": "Advertiser" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "browsers": { - "methods": { - "list": { - "description": "Retrieves a list of browsers.", - "flatPath": "userprofiles/{profileId}/browsers", - "httpMethod": "GET", - "id": "dfareporting.browsers.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/browsers", - "response": { - "$ref": "BrowsersListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "campaignCreativeAssociations": { - "methods": { - "insert": { - "description": "Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.", - "flatPath": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", - "httpMethod": "POST", - "id": "dfareporting.campaignCreativeAssociations.insert", - "parameterOrder": [ - "profileId", - "campaignId" - ], - "parameters": { - "campaignId": { - "description": "Campaign ID in this association.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", - "request": { - "$ref": "CampaignCreativeAssociation" - }, - "response": { - "$ref": "CampaignCreativeAssociation" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.", - "flatPath": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", - "httpMethod": "GET", - "id": "dfareporting.campaignCreativeAssociations.list", - "parameterOrder": [ - "profileId", - "campaignId" - ], - "parameters": { - "campaignId": { - "description": "Campaign ID in this association.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", - "response": { - "$ref": "CampaignCreativeAssociationsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "campaigns": { - "methods": { - "get": { - "description": "Gets one campaign by ID.", - "flatPath": "userprofiles/{profileId}/campaigns/{id}", - "httpMethod": "GET", - "id": "dfareporting.campaigns.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Campaign ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns/{id}", - "response": { - "$ref": "Campaign" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new campaign.", - "flatPath": "userprofiles/{profileId}/campaigns", - "httpMethod": "POST", - "id": "dfareporting.campaigns.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns", - "request": { - "$ref": "Campaign" - }, - "response": { - "$ref": "Campaign" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of campaigns, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/campaigns", - "httpMethod": "GET", - "id": "dfareporting.campaigns.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserGroupIds": { - "description": "Select only campaigns whose advertisers belong to these advertiser groups.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "advertiserIds": { - "description": "Select only campaigns that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "archived": { - "description": "Select only archived campaigns. Don't set this field to select both archived and non-archived campaigns.", - "location": "query", - "type": "boolean" - }, - "atLeastOneOptimizationActivity": { - "description": "Select only campaigns that have at least one optimization activity.", - "location": "query", - "type": "boolean" - }, - "excludedIds": { - "description": "Exclude campaigns with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only campaigns with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "overriddenEventTagId": { - "description": "Select only campaigns that have overridden this event tag ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, \"campaign*2015\" will return campaigns with names like \"campaign June 2015\", \"campaign April 2015\", or simply \"campaign 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"campaign\" will match campaigns with name \"my campaign\", \"campaign 2015\", or simply \"campaign\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only campaigns that belong to this subaccount.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns", - "response": { - "$ref": "CampaignsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing campaign. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/campaigns", - "httpMethod": "PATCH", - "id": "dfareporting.campaigns.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Campaign ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns", - "request": { - "$ref": "Campaign" - }, - "response": { - "$ref": "Campaign" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing campaign.", - "flatPath": "userprofiles/{profileId}/campaigns", - "httpMethod": "PUT", - "id": "dfareporting.campaigns.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns", - "request": { - "$ref": "Campaign" - }, - "response": { - "$ref": "Campaign" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "changeLogs": { - "methods": { - "get": { - "description": "Gets one change log by ID.", - "flatPath": "userprofiles/{profileId}/changeLogs/{id}", - "httpMethod": "GET", - "id": "dfareporting.changeLogs.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Change log ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/changeLogs/{id}", - "response": { - "$ref": "ChangeLog" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of change logs. This method supports paging.", - "flatPath": "userprofiles/{profileId}/changeLogs", - "httpMethod": "GET", - "id": "dfareporting.changeLogs.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "action": { - "description": "Select only change logs with the specified action.", - "enum": [ - "ACTION_CREATE", - "ACTION_UPDATE", - "ACTION_DELETE", - "ACTION_ENABLE", - "ACTION_DISABLE", - "ACTION_ADD", - "ACTION_REMOVE", - "ACTION_MARK_AS_DEFAULT", - "ACTION_ASSOCIATE", - "ACTION_ASSIGN", - "ACTION_UNASSIGN", - "ACTION_SEND", - "ACTION_LINK", - "ACTION_UNLINK", - "ACTION_PUSH", - "ACTION_EMAIL_TAGS", - "ACTION_SHARE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "type": "string" - }, - "ids": { - "description": "Select only change logs with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxChangeTime": { - "description": "Select only change logs whose change time is before the specified maxChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is \"2015-07-18T22:54:00-04:00\". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "minChangeTime": { - "description": "Select only change logs whose change time is after the specified minChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is \"2015-07-18T22:54:00-04:00\". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.", - "location": "query", - "type": "string" - }, - "objectIds": { - "description": "Select only change logs with these object IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "objectType": { - "description": "Select only change logs with the specified object type.", - "enum": [ - "OBJECT_ADVERTISER", - "OBJECT_FLOODLIGHT_CONFIGURATION", - "OBJECT_AD", - "OBJECT_FLOODLIGHT_ACTVITY", - "OBJECT_CAMPAIGN", - "OBJECT_FLOODLIGHT_ACTIVITY_GROUP", - "OBJECT_CREATIVE", - "OBJECT_PLACEMENT", - "OBJECT_DFA_SITE", - "OBJECT_USER_ROLE", - "OBJECT_USER_PROFILE", - "OBJECT_ADVERTISER_GROUP", - "OBJECT_ACCOUNT", - "OBJECT_SUBACCOUNT", - "OBJECT_RICHMEDIA_CREATIVE", - "OBJECT_INSTREAM_CREATIVE", - "OBJECT_MEDIA_ORDER", - "OBJECT_CONTENT_CATEGORY", - "OBJECT_PLACEMENT_STRATEGY", - "OBJECT_SD_SITE", - "OBJECT_SIZE", - "OBJECT_CREATIVE_GROUP", - "OBJECT_CREATIVE_ASSET", - "OBJECT_USER_PROFILE_FILTER", - "OBJECT_LANDING_PAGE", - "OBJECT_CREATIVE_FIELD", - "OBJECT_REMARKETING_LIST", - "OBJECT_PROVIDED_LIST_CLIENT", - "OBJECT_EVENT_TAG", - "OBJECT_CREATIVE_BUNDLE", - "OBJECT_BILLING_ACCOUNT_GROUP", - "OBJECT_BILLING_FEATURE", - "OBJECT_RATE_CARD", - "OBJECT_ACCOUNT_BILLING_FEATURE", - "OBJECT_BILLING_MINIMUM_FEE", - "OBJECT_BILLING_PROFILE", - "OBJECT_PLAYSTORE_LINK", - "OBJECT_TARGETING_TEMPLATE", - "OBJECT_SEARCH_LIFT_STUDY", - "OBJECT_FLOODLIGHT_DV360_LINK" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Select only change logs whose object ID, user name, old or new values match the search string.", - "location": "query", - "type": "string" - }, - "userProfileIds": { - "description": "Select only change logs with these user profile IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/changeLogs", - "response": { - "$ref": "ChangeLogsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "cities": { - "methods": { - "list": { - "description": "Retrieves a list of cities, possibly filtered.", - "flatPath": "userprofiles/{profileId}/cities", - "httpMethod": "GET", - "id": "dfareporting.cities.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "countryDartIds": { - "description": "Select only cities from these countries.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "dartIds": { - "description": "Select only cities with these DART IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "namePrefix": { - "description": "Select only cities with names starting with this prefix.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "regionDartIds": { - "description": "Select only cities from these regions.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/cities", - "response": { - "$ref": "CitiesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "connectionTypes": { - "methods": { - "get": { - "description": "Gets one connection type by ID.", - "flatPath": "userprofiles/{profileId}/connectionTypes/{id}", - "httpMethod": "GET", - "id": "dfareporting.connectionTypes.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Connection type ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/connectionTypes/{id}", - "response": { - "$ref": "ConnectionType" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of connection types.", - "flatPath": "userprofiles/{profileId}/connectionTypes", - "httpMethod": "GET", - "id": "dfareporting.connectionTypes.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/connectionTypes", - "response": { - "$ref": "ConnectionTypesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "contentCategories": { - "methods": { - "delete": { - "description": "Deletes an existing content category.", - "flatPath": "userprofiles/{profileId}/contentCategories/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.contentCategories.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Content category ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one content category by ID.", - "flatPath": "userprofiles/{profileId}/contentCategories/{id}", - "httpMethod": "GET", - "id": "dfareporting.contentCategories.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Content category ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories/{id}", - "response": { - "$ref": "ContentCategory" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new content category.", - "flatPath": "userprofiles/{profileId}/contentCategories", - "httpMethod": "POST", - "id": "dfareporting.contentCategories.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories", - "request": { - "$ref": "ContentCategory" - }, - "response": { - "$ref": "ContentCategory" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of content categories, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/contentCategories", - "httpMethod": "GET", - "id": "dfareporting.contentCategories.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Select only content categories with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"contentcategory*2015\" will return objects with names like \"contentcategory June 2015\", \"contentcategory April 2015\", or simply \"contentcategory 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"contentcategory\" will match objects with name \"my contentcategory\", \"contentcategory 2015\", or simply \"contentcategory\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories", - "response": { - "$ref": "ContentCategoriesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing content category. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/contentCategories", - "httpMethod": "PATCH", - "id": "dfareporting.contentCategories.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "ContentCategory ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories", - "request": { - "$ref": "ContentCategory" - }, - "response": { - "$ref": "ContentCategory" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing content category.", - "flatPath": "userprofiles/{profileId}/contentCategories", - "httpMethod": "PUT", - "id": "dfareporting.contentCategories.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories", - "request": { - "$ref": "ContentCategory" - }, - "response": { - "$ref": "ContentCategory" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "conversions": { - "methods": { - "batchinsert": { - "description": "Inserts conversions.", - "flatPath": "userprofiles/{profileId}/conversions/batchinsert", - "httpMethod": "POST", - "id": "dfareporting.conversions.batchinsert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/conversions/batchinsert", - "request": { - "$ref": "ConversionsBatchInsertRequest" - }, - "response": { - "$ref": "ConversionsBatchInsertResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/ddmconversions" - ] - }, - "batchupdate": { - "description": "Updates existing conversions.", - "flatPath": "userprofiles/{profileId}/conversions/batchupdate", - "httpMethod": "POST", - "id": "dfareporting.conversions.batchupdate", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/conversions/batchupdate", - "request": { - "$ref": "ConversionsBatchUpdateRequest" - }, - "response": { - "$ref": "ConversionsBatchUpdateResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/ddmconversions" - ] - } - } - }, - "countries": { - "methods": { - "get": { - "description": "Gets one country by ID.", - "flatPath": "userprofiles/{profileId}/countries/{dartId}", - "httpMethod": "GET", - "id": "dfareporting.countries.get", - "parameterOrder": [ - "profileId", - "dartId" - ], - "parameters": { - "dartId": { - "description": "Country DART ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/countries/{dartId}", - "response": { - "$ref": "Country" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of countries.", - "flatPath": "userprofiles/{profileId}/countries", - "httpMethod": "GET", - "id": "dfareporting.countries.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/countries", - "response": { - "$ref": "CountriesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "creativeAssets": { - "methods": { - "insert": { - "description": "Inserts a new creative asset.", - "flatPath": "userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", - "httpMethod": "POST", - "id": "dfareporting.creativeAssets.insert", - "mediaUpload": { - "accept": [ - "*/*" - ], - "maxSize": "1073741824", - "protocols": { - "simple": { - "multipart": true, - "path": "/upload/dfareporting/v3.3/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets" - } - } - }, - "parameterOrder": [ - "profileId", - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Advertiser ID of this creative. This is a required field.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", - "request": { - "$ref": "CreativeAssetMetadata" - }, - "response": { - "$ref": "CreativeAssetMetadata" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ], - "supportsMediaUpload": true - } - } - }, - "creativeFieldValues": { - "methods": { - "delete": { - "description": "Deletes an existing creative field value.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.creativeFieldValues.delete", - "parameterOrder": [ - "profileId", - "creativeFieldId", - "id" - ], - "parameters": { - "creativeFieldId": { - "description": "Creative field ID for this creative field value.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "id": { - "description": "Creative Field Value ID", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one creative field value by ID.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", - "httpMethod": "GET", - "id": "dfareporting.creativeFieldValues.get", - "parameterOrder": [ - "profileId", - "creativeFieldId", - "id" - ], - "parameters": { - "creativeFieldId": { - "description": "Creative field ID for this creative field value.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "id": { - "description": "Creative Field Value ID", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", - "response": { - "$ref": "CreativeFieldValue" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new creative field value.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "httpMethod": "POST", - "id": "dfareporting.creativeFieldValues.insert", - "parameterOrder": [ - "profileId", - "creativeFieldId" - ], - "parameters": { - "creativeFieldId": { - "description": "Creative field ID for this creative field value.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "request": { - "$ref": "CreativeFieldValue" - }, - "response": { - "$ref": "CreativeFieldValue" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of creative field values, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "httpMethod": "GET", - "id": "dfareporting.creativeFieldValues.list", - "parameterOrder": [ - "profileId", - "creativeFieldId" - ], - "parameters": { - "creativeFieldId": { - "description": "Creative field ID for this creative field value.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "ids": { - "description": "Select only creative field values with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for creative field values by their values. Wildcards (e.g. *) are not allowed.", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "VALUE" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "response": { - "$ref": "CreativeFieldValuesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing creative field value. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "httpMethod": "PATCH", - "id": "dfareporting.creativeFieldValues.patch", - "parameterOrder": [ - "profileId", - "creativeFieldId", - "id" - ], - "parameters": { - "creativeFieldId": { - "description": "CreativeField ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "id": { - "description": "CreativeFieldValue ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "request": { - "$ref": "CreativeFieldValue" - }, - "response": { - "$ref": "CreativeFieldValue" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing creative field value.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "httpMethod": "PUT", - "id": "dfareporting.creativeFieldValues.update", - "parameterOrder": [ - "profileId", - "creativeFieldId" - ], - "parameters": { - "creativeFieldId": { - "description": "Creative field ID for this creative field value.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "request": { - "$ref": "CreativeFieldValue" - }, - "response": { - "$ref": "CreativeFieldValue" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "creativeFields": { - "methods": { - "delete": { - "description": "Deletes an existing creative field.", - "flatPath": "userprofiles/{profileId}/creativeFields/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.creativeFields.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Creative Field ID", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one creative field by ID.", - "flatPath": "userprofiles/{profileId}/creativeFields/{id}", - "httpMethod": "GET", - "id": "dfareporting.creativeFields.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Creative Field ID", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{id}", - "response": { - "$ref": "CreativeField" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new creative field.", - "flatPath": "userprofiles/{profileId}/creativeFields", - "httpMethod": "POST", - "id": "dfareporting.creativeFields.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields", - "request": { - "$ref": "CreativeField" - }, - "response": { - "$ref": "CreativeField" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of creative fields, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/creativeFields", - "httpMethod": "GET", - "id": "dfareporting.creativeFields.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only creative fields that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only creative fields with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for creative fields by name or ID. Wildcards (*) are allowed. For example, \"creativefield*2015\" will return creative fields with names like \"creativefield June 2015\", \"creativefield April 2015\", or simply \"creativefield 2015\". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of \"creativefield\" will match creative fields with the name \"my creativefield\", \"creativefield 2015\", or simply \"creativefield\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields", - "response": { - "$ref": "CreativeFieldsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing creative field. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/creativeFields", - "httpMethod": "PATCH", - "id": "dfareporting.creativeFields.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "CreativeField ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields", - "request": { - "$ref": "CreativeField" - }, - "response": { - "$ref": "CreativeField" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing creative field.", - "flatPath": "userprofiles/{profileId}/creativeFields", - "httpMethod": "PUT", - "id": "dfareporting.creativeFields.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields", - "request": { - "$ref": "CreativeField" - }, - "response": { - "$ref": "CreativeField" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "creativeGroups": { - "methods": { - "get": { - "description": "Gets one creative group by ID.", - "flatPath": "userprofiles/{profileId}/creativeGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.creativeGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Creative group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeGroups/{id}", - "response": { - "$ref": "CreativeGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new creative group.", - "flatPath": "userprofiles/{profileId}/creativeGroups", - "httpMethod": "POST", - "id": "dfareporting.creativeGroups.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeGroups", - "request": { - "$ref": "CreativeGroup" - }, - "response": { - "$ref": "CreativeGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of creative groups, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/creativeGroups", - "httpMethod": "GET", - "id": "dfareporting.creativeGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only creative groups that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "groupNumber": { - "description": "Select only creative groups that belong to this subgroup.", - "format": "int32", - "location": "query", - "maximum": "2", - "minimum": "1", - "type": "integer" - }, - "ids": { - "description": "Select only creative groups with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for creative groups by name or ID. Wildcards (*) are allowed. For example, \"creativegroup*2015\" will return creative groups with names like \"creativegroup June 2015\", \"creativegroup April 2015\", or simply \"creativegroup 2015\". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of \"creativegroup\" will match creative groups with the name \"my creativegroup\", \"creativegroup 2015\", or simply \"creativegroup\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeGroups", - "response": { - "$ref": "CreativeGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing creative group. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/creativeGroups", - "httpMethod": "PATCH", - "id": "dfareporting.creativeGroups.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "CreativeGroup ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeGroups", - "request": { - "$ref": "CreativeGroup" - }, - "response": { - "$ref": "CreativeGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing creative group.", - "flatPath": "userprofiles/{profileId}/creativeGroups", - "httpMethod": "PUT", - "id": "dfareporting.creativeGroups.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeGroups", - "request": { - "$ref": "CreativeGroup" - }, - "response": { - "$ref": "CreativeGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "creatives": { - "methods": { - "get": { - "description": "Gets one creative by ID.", - "flatPath": "userprofiles/{profileId}/creatives/{id}", - "httpMethod": "GET", - "id": "dfareporting.creatives.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Creative ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creatives/{id}", - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new creative.", - "flatPath": "userprofiles/{profileId}/creatives", - "httpMethod": "POST", - "id": "dfareporting.creatives.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of creatives, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/creatives", - "httpMethod": "GET", - "id": "dfareporting.creatives.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "active": { - "description": "Select only active creatives. Leave blank to select active and inactive creatives.", - "location": "query", - "type": "boolean" - }, - "advertiserId": { - "description": "Select only creatives with this advertiser ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "archived": { - "description": "Select only archived creatives. Leave blank to select archived and unarchived creatives.", - "location": "query", - "type": "boolean" - }, - "campaignId": { - "description": "Select only creatives with this campaign ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "companionCreativeIds": { - "description": "Select only in-stream video creatives with these companion IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "creativeFieldIds": { - "description": "Select only creatives with these creative field IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only creatives with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "renderingIds": { - "description": "Select only creatives with these rendering IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"creative*2015\" will return objects with names like \"creative June 2015\", \"creative April 2015\", or simply \"creative 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"creative\" will match objects with name \"my creative\", \"creative 2015\", or simply \"creative\".", - "location": "query", - "type": "string" - }, - "sizeIds": { - "description": "Select only creatives with these size IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "studioCreativeId": { - "description": "Select only creatives corresponding to this Studio creative ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "types": { - "description": "Select only creatives with these creative types.", - "enum": [ - "IMAGE", - "DISPLAY_REDIRECT", - "CUSTOM_DISPLAY", - "INTERNAL_REDIRECT", - "CUSTOM_DISPLAY_INTERSTITIAL", - "INTERSTITIAL_INTERNAL_REDIRECT", - "TRACKING_TEXT", - "RICH_MEDIA_DISPLAY_BANNER", - "RICH_MEDIA_INPAGE_FLOATING", - "RICH_MEDIA_IM_EXPAND", - "RICH_MEDIA_DISPLAY_EXPANDING", - "RICH_MEDIA_DISPLAY_INTERSTITIAL", - "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", - "RICH_MEDIA_MOBILE_IN_APP", - "FLASH_INPAGE", - "INSTREAM_VIDEO", - "VPAID_LINEAR_VIDEO", - "VPAID_NON_LINEAR_VIDEO", - "INSTREAM_VIDEO_REDIRECT", - "RICH_MEDIA_PEEL_DOWN", - "HTML5_BANNER", - "DISPLAY", - "DISPLAY_IMAGE_GALLERY", - "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", - "INSTREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creatives", - "response": { - "$ref": "CreativesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing creative. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/creatives", - "httpMethod": "PATCH", - "id": "dfareporting.creatives.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Creative ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing creative.", - "flatPath": "userprofiles/{profileId}/creatives", - "httpMethod": "PUT", - "id": "dfareporting.creatives.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "dimensionValues": { - "methods": { - "query": { - "description": "Retrieves list of report dimension values for a list of filters.", - "flatPath": "userprofiles/{profileId}/dimensionvalues/query", - "httpMethod": "POST", - "id": "dfareporting.dimensionValues.query", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "maxResults": { - "default": "100", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "100", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "The value of the nextToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/dimensionvalues/query", - "request": { - "$ref": "DimensionValueRequest" - }, - "response": { - "$ref": "DimensionValueList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - } - } - }, - "directorySites": { - "methods": { - "get": { - "description": "Gets one directory site by ID.", - "flatPath": "userprofiles/{profileId}/directorySites/{id}", - "httpMethod": "GET", - "id": "dfareporting.directorySites.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Directory site ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/directorySites/{id}", - "response": { - "$ref": "DirectorySite" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new directory site.", - "flatPath": "userprofiles/{profileId}/directorySites", - "httpMethod": "POST", - "id": "dfareporting.directorySites.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/directorySites", - "request": { - "$ref": "DirectorySite" - }, - "response": { - "$ref": "DirectorySite" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of directory sites, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/directorySites", - "httpMethod": "GET", - "id": "dfareporting.directorySites.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "acceptsInStreamVideoPlacements": { - "description": "This search filter is no longer supported and will have no effect on the results returned.", - "location": "query", - "type": "boolean" - }, - "acceptsInterstitialPlacements": { - "description": "This search filter is no longer supported and will have no effect on the results returned.", - "location": "query", - "type": "boolean" - }, - "acceptsPublisherPaidPlacements": { - "description": "Select only directory sites that accept publisher paid placements. This field can be left blank.", - "location": "query", - "type": "boolean" - }, - "active": { - "description": "Select only active directory sites. Leave blank to retrieve both active and inactive directory sites.", - "location": "query", - "type": "boolean" - }, - "dfpNetworkCode": { - "description": "Select only directory sites with this Ad Manager network code.", - "location": "query", - "type": "string" - }, - "ids": { - "description": "Select only directory sites with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. For example, \"directory site*2015\" will return objects with names like \"directory site June 2015\", \"directory site April 2015\", or simply \"directory site 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"directory site\" will match objects with name \"my directory site\", \"directory site 2015\" or simply, \"directory site\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/directorySites", - "response": { - "$ref": "DirectorySitesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "dynamicTargetingKeys": { - "methods": { - "delete": { - "description": "Deletes an existing dynamic targeting key.", - "flatPath": "userprofiles/{profileId}/dynamicTargetingKeys/{objectId}", - "httpMethod": "DELETE", - "id": "dfareporting.dynamicTargetingKeys.delete", - "parameterOrder": [ - "profileId", - "objectId", - "name", - "objectType" - ], - "parameters": { - "name": { - "description": "Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase.", - "location": "query", - "required": true, - "type": "string" - }, - "objectId": { - "description": "ID of the object of this dynamic targeting key. This is a required field.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "objectType": { - "description": "Type of the object of this dynamic targeting key. This is a required field.", - "enum": [ - "OBJECT_ADVERTISER", - "OBJECT_AD", - "OBJECT_CREATIVE", - "OBJECT_PLACEMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/dynamicTargetingKeys/{objectId}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement.", - "flatPath": "userprofiles/{profileId}/dynamicTargetingKeys", - "httpMethod": "POST", - "id": "dfareporting.dynamicTargetingKeys.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/dynamicTargetingKeys", - "request": { - "$ref": "DynamicTargetingKey" - }, - "response": { - "$ref": "DynamicTargetingKey" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of dynamic targeting keys.", - "flatPath": "userprofiles/{profileId}/dynamicTargetingKeys", - "httpMethod": "GET", - "id": "dfareporting.dynamicTargetingKeys.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserId": { - "description": "Select only dynamic targeting keys whose object has this advertiser ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "names": { - "description": "Select only dynamic targeting keys exactly matching these names.", - "location": "query", - "repeated": true, - "type": "string" - }, - "objectId": { - "description": "Select only dynamic targeting keys with this object ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "objectType": { - "description": "Select only dynamic targeting keys with this object type.", - "enum": [ - "OBJECT_ADVERTISER", - "OBJECT_AD", - "OBJECT_CREATIVE", - "OBJECT_PLACEMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/dynamicTargetingKeys", - "response": { - "$ref": "DynamicTargetingKeysListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "eventTags": { - "methods": { - "delete": { - "description": "Deletes an existing event tag.", - "flatPath": "userprofiles/{profileId}/eventTags/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.eventTags.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Event tag ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one event tag by ID.", - "flatPath": "userprofiles/{profileId}/eventTags/{id}", - "httpMethod": "GET", - "id": "dfareporting.eventTags.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Event tag ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags/{id}", - "response": { - "$ref": "EventTag" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new event tag.", - "flatPath": "userprofiles/{profileId}/eventTags", - "httpMethod": "POST", - "id": "dfareporting.eventTags.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags", - "request": { - "$ref": "EventTag" - }, - "response": { - "$ref": "EventTag" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of event tags, possibly filtered.", - "flatPath": "userprofiles/{profileId}/eventTags", - "httpMethod": "GET", - "id": "dfareporting.eventTags.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "adId": { - "description": "Select only event tags that belong to this ad.", - "format": "int64", - "location": "query", - "type": "string" - }, - "advertiserId": { - "description": "Select only event tags that belong to this advertiser.", - "format": "int64", - "location": "query", - "type": "string" - }, - "campaignId": { - "description": "Select only event tags that belong to this campaign.", - "format": "int64", - "location": "query", - "type": "string" - }, - "definitionsOnly": { - "description": "Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags.", - "location": "query", - "type": "boolean" - }, - "enabled": { - "description": "Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well.", - "location": "query", - "type": "boolean" - }, - "eventTagTypes": { - "description": "Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking.", - "enum": [ - "IMPRESSION_IMAGE_EVENT_TAG", - "IMPRESSION_JAVASCRIPT_EVENT_TAG", - "CLICK_THROUGH_EVENT_TAG" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only event tags with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"eventtag*2015\" will return objects with names like \"eventtag June 2015\", \"eventtag April 2015\", or simply \"eventtag 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"eventtag\" will match objects with name \"my eventtag\", \"eventtag 2015\", or simply \"eventtag\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags", - "response": { - "$ref": "EventTagsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing event tag. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/eventTags", - "httpMethod": "PATCH", - "id": "dfareporting.eventTags.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "EventTag ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags", - "request": { - "$ref": "EventTag" - }, - "response": { - "$ref": "EventTag" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing event tag.", - "flatPath": "userprofiles/{profileId}/eventTags", - "httpMethod": "PUT", - "id": "dfareporting.eventTags.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags", - "request": { - "$ref": "EventTag" - }, - "response": { - "$ref": "EventTag" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "files": { - "methods": { - "get": { - "description": "Retrieves a report file by its report ID and file ID. This method supports media download.", - "flatPath": "reports/{reportId}/files/{fileId}", - "httpMethod": "GET", - "id": "dfareporting.files.get", - "parameterOrder": [ - "reportId", - "fileId" - ], - "parameters": { - "fileId": { - "description": "The ID of the report file.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "reports/{reportId}/files/{fileId}", - "response": { - "$ref": "File" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ], - "supportsMediaDownload": true - }, - "list": { - "description": "Lists files for a user profile.", - "flatPath": "userprofiles/{profileId}/files", - "httpMethod": "GET", - "id": "dfareporting.files.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "maxResults": { - "default": "10", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "10", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "The value of the nextToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "scope": { - "default": "MINE", - "description": "The scope that defines which results are returned.", - "enum": [ - "ALL", - "MINE", - "SHARED_WITH_ME" - ], - "enumDescriptions": [ - "All files in account.", - "My files.", - "Files shared with me." - ], - "location": "query", - "type": "string" - }, - "sortField": { - "default": "LAST_MODIFIED_TIME", - "description": "The field by which to sort the list.", - "enum": [ - "ID", - "LAST_MODIFIED_TIME" - ], - "enumDescriptions": [ - "Sort by file ID.", - "Sort by 'lastmodifiedAt' field." - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "DESCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "Ascending order.", - "Descending order." - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/files", - "response": { - "$ref": "FileList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - } - } - }, - "floodlightActivities": { - "methods": { - "delete": { - "description": "Deletes an existing floodlight activity.", - "flatPath": "userprofiles/{profileId}/floodlightActivities/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.floodlightActivities.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Floodlight activity ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "generatetag": { - "description": "Generates a tag for a floodlight activity.", - "flatPath": "userprofiles/{profileId}/floodlightActivities/generatetag", - "httpMethod": "POST", - "id": "dfareporting.floodlightActivities.generatetag", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "floodlightActivityId": { - "description": "Floodlight activity ID for which we want to generate a tag.", - "format": "int64", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities/generatetag", - "response": { - "$ref": "FloodlightActivitiesGenerateTagResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one floodlight activity by ID.", - "flatPath": "userprofiles/{profileId}/floodlightActivities/{id}", - "httpMethod": "GET", - "id": "dfareporting.floodlightActivities.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Floodlight activity ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities/{id}", - "response": { - "$ref": "FloodlightActivity" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new floodlight activity.", - "flatPath": "userprofiles/{profileId}/floodlightActivities", - "httpMethod": "POST", - "id": "dfareporting.floodlightActivities.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities", - "request": { - "$ref": "FloodlightActivity" - }, - "response": { - "$ref": "FloodlightActivity" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of floodlight activities, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/floodlightActivities", - "httpMethod": "GET", - "id": "dfareporting.floodlightActivities.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserId": { - "description": "Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "type": "string" - }, - "floodlightActivityGroupIds": { - "description": "Select only floodlight activities with the specified floodlight activity group IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "floodlightActivityGroupName": { - "description": "Select only floodlight activities with the specified floodlight activity group name.", - "location": "query", - "type": "string" - }, - "floodlightActivityGroupTagString": { - "description": "Select only floodlight activities with the specified floodlight activity group tag string.", - "location": "query", - "type": "string" - }, - "floodlightActivityGroupType": { - "description": "Select only floodlight activities with the specified floodlight activity group type.", - "enum": [ - "COUNTER", - "SALE" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "floodlightConfigurationId": { - "description": "Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "type": "string" - }, - "ids": { - "description": "Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"floodlightactivity*2015\" will return objects with names like \"floodlightactivity June 2015\", \"floodlightactivity April 2015\", or simply \"floodlightactivity 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"floodlightactivity\" will match objects with name \"my floodlightactivity activity\", \"floodlightactivity 2015\", or simply \"floodlightactivity\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "tagString": { - "description": "Select only floodlight activities with the specified tag string.", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities", - "response": { - "$ref": "FloodlightActivitiesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing floodlight activity. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/floodlightActivities", - "httpMethod": "PATCH", - "id": "dfareporting.floodlightActivities.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "FloodlightActivity ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities", - "request": { - "$ref": "FloodlightActivity" - }, - "response": { - "$ref": "FloodlightActivity" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing floodlight activity.", - "flatPath": "userprofiles/{profileId}/floodlightActivities", - "httpMethod": "PUT", - "id": "dfareporting.floodlightActivities.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities", - "request": { - "$ref": "FloodlightActivity" - }, - "response": { - "$ref": "FloodlightActivity" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "floodlightActivityGroups": { - "methods": { - "get": { - "description": "Gets one floodlight activity group by ID.", - "flatPath": "userprofiles/{profileId}/floodlightActivityGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.floodlightActivityGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Floodlight activity Group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivityGroups/{id}", - "response": { - "$ref": "FloodlightActivityGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new floodlight activity group.", - "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", - "httpMethod": "POST", - "id": "dfareporting.floodlightActivityGroups.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivityGroups", - "request": { - "$ref": "FloodlightActivityGroup" - }, - "response": { - "$ref": "FloodlightActivityGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", - "httpMethod": "GET", - "id": "dfareporting.floodlightActivityGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserId": { - "description": "Select only floodlight activity groups with the specified advertiser ID. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "type": "string" - }, - "floodlightConfigurationId": { - "description": "Select only floodlight activity groups with the specified floodlight configuration ID. Must specify either advertiserId, or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "type": "string" - }, - "ids": { - "description": "Select only floodlight activity groups with the specified IDs. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"floodlightactivitygroup*2015\" will return objects with names like \"floodlightactivitygroup June 2015\", \"floodlightactivitygroup April 2015\", or simply \"floodlightactivitygroup 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"floodlightactivitygroup\" will match objects with name \"my floodlightactivitygroup activity\", \"floodlightactivitygroup 2015\", or simply \"floodlightactivitygroup\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "type": { - "description": "Select only floodlight activity groups with the specified floodlight activity group type.", - "enum": [ - "COUNTER", - "SALE" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivityGroups", - "response": { - "$ref": "FloodlightActivityGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing floodlight activity group. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", - "httpMethod": "PATCH", - "id": "dfareporting.floodlightActivityGroups.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "FloodlightActivityGroup ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivityGroups", - "request": { - "$ref": "FloodlightActivityGroup" - }, - "response": { - "$ref": "FloodlightActivityGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing floodlight activity group.", - "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", - "httpMethod": "PUT", - "id": "dfareporting.floodlightActivityGroups.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivityGroups", - "request": { - "$ref": "FloodlightActivityGroup" - }, - "response": { - "$ref": "FloodlightActivityGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "floodlightConfigurations": { - "methods": { - "get": { - "description": "Gets one floodlight configuration by ID.", - "flatPath": "userprofiles/{profileId}/floodlightConfigurations/{id}", - "httpMethod": "GET", - "id": "dfareporting.floodlightConfigurations.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Floodlight configuration ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightConfigurations/{id}", - "response": { - "$ref": "FloodlightConfiguration" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of floodlight configurations, possibly filtered.", - "flatPath": "userprofiles/{profileId}/floodlightConfigurations", - "httpMethod": "GET", - "id": "dfareporting.floodlightConfigurations.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Set of IDs of floodlight configurations to retrieve. Required field; otherwise an empty list will be returned.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightConfigurations", - "response": { - "$ref": "FloodlightConfigurationsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing floodlight configuration. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/floodlightConfigurations", - "httpMethod": "PATCH", - "id": "dfareporting.floodlightConfigurations.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "FloodlightConfiguration ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightConfigurations", - "request": { - "$ref": "FloodlightConfiguration" - }, - "response": { - "$ref": "FloodlightConfiguration" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing floodlight configuration.", - "flatPath": "userprofiles/{profileId}/floodlightConfigurations", - "httpMethod": "PUT", - "id": "dfareporting.floodlightConfigurations.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightConfigurations", - "request": { - "$ref": "FloodlightConfiguration" - }, - "response": { - "$ref": "FloodlightConfiguration" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "inventoryItems": { - "methods": { - "get": { - "description": "Gets one inventory item by ID.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}", - "httpMethod": "GET", - "id": "dfareporting.inventoryItems.get", - "parameterOrder": [ - "profileId", - "projectId", - "id" - ], - "parameters": { - "id": { - "description": "Inventory item ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for order documents.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}", - "response": { - "$ref": "InventoryItem" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of inventory items, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/inventoryItems", - "httpMethod": "GET", - "id": "dfareporting.inventoryItems.list", - "parameterOrder": [ - "profileId", - "projectId" - ], - "parameters": { - "ids": { - "description": "Select only inventory items with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "inPlan": { - "description": "Select only inventory items that are in plan.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "orderId": { - "description": "Select only inventory items that belong to specified orders.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for order documents.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "siteId": { - "description": "Select only inventory items that are associated with these sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "type": { - "description": "Select only inventory items with this type.", - "enum": [ - "PLANNING_PLACEMENT_TYPE_REGULAR", - "PLANNING_PLACEMENT_TYPE_CREDIT" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems", - "response": { - "$ref": "InventoryItemsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "languages": { - "methods": { - "list": { - "description": "Retrieves a list of languages.", - "flatPath": "userprofiles/{profileId}/languages", - "httpMethod": "GET", - "id": "dfareporting.languages.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/languages", - "response": { - "$ref": "LanguagesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "metros": { - "methods": { - "list": { - "description": "Retrieves a list of metros.", - "flatPath": "userprofiles/{profileId}/metros", - "httpMethod": "GET", - "id": "dfareporting.metros.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/metros", - "response": { - "$ref": "MetrosListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "mobileApps": { - "methods": { - "get": { - "description": "Gets one mobile app by ID.", - "flatPath": "userprofiles/{profileId}/mobileApps/{id}", - "httpMethod": "GET", - "id": "dfareporting.mobileApps.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Mobile app ID.", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/mobileApps/{id}", - "response": { - "$ref": "MobileApp" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves list of available mobile apps.", - "flatPath": "userprofiles/{profileId}/mobileApps", - "httpMethod": "GET", - "id": "dfareporting.mobileApps.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "directories": { - "description": "Select only apps from these directories.", - "enum": [ - "UNKNOWN", - "APPLE_APP_STORE", - "GOOGLE_PLAY_STORE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only apps with these IDs.", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"app*2015\" will return objects with names like \"app Jan 2018\", \"app Jan 2018\", or simply \"app 2018\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"app\" will match objects with name \"my app\", \"app 2018\", or simply \"app\".", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/mobileApps", - "response": { - "$ref": "MobileAppsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "mobileCarriers": { - "methods": { - "get": { - "description": "Gets one mobile carrier by ID.", - "flatPath": "userprofiles/{profileId}/mobileCarriers/{id}", - "httpMethod": "GET", - "id": "dfareporting.mobileCarriers.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Mobile carrier ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/mobileCarriers/{id}", - "response": { - "$ref": "MobileCarrier" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of mobile carriers.", - "flatPath": "userprofiles/{profileId}/mobileCarriers", - "httpMethod": "GET", - "id": "dfareporting.mobileCarriers.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/mobileCarriers", - "response": { - "$ref": "MobileCarriersListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "operatingSystemVersions": { - "methods": { - "get": { - "description": "Gets one operating system version by ID.", - "flatPath": "userprofiles/{profileId}/operatingSystemVersions/{id}", - "httpMethod": "GET", - "id": "dfareporting.operatingSystemVersions.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Operating system version ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/operatingSystemVersions/{id}", - "response": { - "$ref": "OperatingSystemVersion" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of operating system versions.", - "flatPath": "userprofiles/{profileId}/operatingSystemVersions", - "httpMethod": "GET", - "id": "dfareporting.operatingSystemVersions.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/operatingSystemVersions", - "response": { - "$ref": "OperatingSystemVersionsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "operatingSystems": { - "methods": { - "get": { - "description": "Gets one operating system by DART ID.", - "flatPath": "userprofiles/{profileId}/operatingSystems/{dartId}", - "httpMethod": "GET", - "id": "dfareporting.operatingSystems.get", - "parameterOrder": [ - "profileId", - "dartId" - ], - "parameters": { - "dartId": { - "description": "Operating system DART ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/operatingSystems/{dartId}", - "response": { - "$ref": "OperatingSystem" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of operating systems.", - "flatPath": "userprofiles/{profileId}/operatingSystems", - "httpMethod": "GET", - "id": "dfareporting.operatingSystems.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/operatingSystems", - "response": { - "$ref": "OperatingSystemsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "orderDocuments": { - "methods": { - "get": { - "description": "Gets one order document by ID.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}", - "httpMethod": "GET", - "id": "dfareporting.orderDocuments.get", - "parameterOrder": [ - "profileId", - "projectId", - "id" - ], - "parameters": { - "id": { - "description": "Order document ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for order documents.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}", - "response": { - "$ref": "OrderDocument" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of order documents, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/orderDocuments", - "httpMethod": "GET", - "id": "dfareporting.orderDocuments.list", - "parameterOrder": [ - "profileId", - "projectId" - ], - "parameters": { - "approved": { - "description": "Select only order documents that have been approved by at least one user.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only order documents with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "orderId": { - "description": "Select only order documents for specified orders.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for order documents.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for order documents by name or ID. Wildcards (*) are allowed. For example, \"orderdocument*2015\" will return order documents with names like \"orderdocument June 2015\", \"orderdocument April 2015\", or simply \"orderdocument 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"orderdocument\" will match order documents with name \"my orderdocument\", \"orderdocument 2015\", or simply \"orderdocument\".", - "location": "query", - "type": "string" - }, - "siteId": { - "description": "Select only order documents that are associated with these sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments", - "response": { - "$ref": "OrderDocumentsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "orders": { - "methods": { - "get": { - "description": "Gets one order by ID.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/orders/{id}", - "httpMethod": "GET", - "id": "dfareporting.orders.get", - "parameterOrder": [ - "profileId", - "projectId", - "id" - ], - "parameters": { - "id": { - "description": "Order ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for orders.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/orders/{id}", - "response": { - "$ref": "Order" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of orders, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/orders", - "httpMethod": "GET", - "id": "dfareporting.orders.list", - "parameterOrder": [ - "profileId", - "projectId" - ], - "parameters": { - "ids": { - "description": "Select only orders with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for orders.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for orders by name or ID. Wildcards (*) are allowed. For example, \"order*2015\" will return orders with names like \"order June 2015\", \"order April 2015\", or simply \"order 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"order\" will match orders with name \"my order\", \"order 2015\", or simply \"order\".", - "location": "query", - "type": "string" - }, - "siteId": { - "description": "Select only orders that are associated with these site IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/orders", - "response": { - "$ref": "OrdersListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "placementGroups": { - "methods": { - "get": { - "description": "Gets one placement group by ID.", - "flatPath": "userprofiles/{profileId}/placementGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.placementGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Placement group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementGroups/{id}", - "response": { - "$ref": "PlacementGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new placement group.", - "flatPath": "userprofiles/{profileId}/placementGroups", - "httpMethod": "POST", - "id": "dfareporting.placementGroups.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementGroups", - "request": { - "$ref": "PlacementGroup" - }, - "response": { - "$ref": "PlacementGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of placement groups, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/placementGroups", - "httpMethod": "GET", - "id": "dfareporting.placementGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only placement groups that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "archived": { - "description": "Select only archived placements. Don't set this field to select both archived and non-archived placements.", - "location": "query", - "type": "boolean" - }, - "campaignIds": { - "description": "Select only placement groups that belong to these campaigns.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "contentCategoryIds": { - "description": "Select only placement groups that are associated with these content categories.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "directorySiteIds": { - "description": "Select only placement groups that are associated with these directory sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only placement groups with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxEndDate": { - "description": "Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "800", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "800", - "minimum": "0", - "type": "integer" - }, - "maxStartDate": { - "description": "Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "minEndDate": { - "description": "Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "minStartDate": { - "description": "Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "placementGroupType": { - "description": "Select only placement groups belonging with this group type. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting.", - "enum": [ - "PLACEMENT_PACKAGE", - "PLACEMENT_ROADBLOCK" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "placementStrategyIds": { - "description": "Select only placement groups that are associated with these placement strategies.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "pricingTypes": { - "description": "Select only placement groups with these pricing types.", - "enum": [ - "PRICING_TYPE_CPM", - "PRICING_TYPE_CPC", - "PRICING_TYPE_CPA", - "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", - "PRICING_TYPE_FLAT_RATE_CLICKS", - "PRICING_TYPE_CPM_ACTIVEVIEW" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for placement groups by name or ID. Wildcards (*) are allowed. For example, \"placement*2015\" will return placement groups with names like \"placement group June 2015\", \"placement group May 2015\", or simply \"placements 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placementgroup\" will match placement groups with name \"my placementgroup\", \"placementgroup 2015\", or simply \"placementgroup\".", - "location": "query", - "type": "string" - }, - "siteIds": { - "description": "Select only placement groups that are associated with these sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementGroups", - "response": { - "$ref": "PlacementGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing placement group. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/placementGroups", - "httpMethod": "PATCH", - "id": "dfareporting.placementGroups.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "PlacementGroup ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementGroups", - "request": { - "$ref": "PlacementGroup" - }, - "response": { - "$ref": "PlacementGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing placement group.", - "flatPath": "userprofiles/{profileId}/placementGroups", - "httpMethod": "PUT", - "id": "dfareporting.placementGroups.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementGroups", - "request": { - "$ref": "PlacementGroup" - }, - "response": { - "$ref": "PlacementGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "placementStrategies": { - "methods": { - "delete": { - "description": "Deletes an existing placement strategy.", - "flatPath": "userprofiles/{profileId}/placementStrategies/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.placementStrategies.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Placement strategy ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one placement strategy by ID.", - "flatPath": "userprofiles/{profileId}/placementStrategies/{id}", - "httpMethod": "GET", - "id": "dfareporting.placementStrategies.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Placement strategy ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies/{id}", - "response": { - "$ref": "PlacementStrategy" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new placement strategy.", - "flatPath": "userprofiles/{profileId}/placementStrategies", - "httpMethod": "POST", - "id": "dfareporting.placementStrategies.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies", - "request": { - "$ref": "PlacementStrategy" - }, - "response": { - "$ref": "PlacementStrategy" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of placement strategies, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/placementStrategies", - "httpMethod": "GET", - "id": "dfareporting.placementStrategies.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Select only placement strategies with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"placementstrategy*2015\" will return objects with names like \"placementstrategy June 2015\", \"placementstrategy April 2015\", or simply \"placementstrategy 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placementstrategy\" will match objects with name \"my placementstrategy\", \"placementstrategy 2015\", or simply \"placementstrategy\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies", - "response": { - "$ref": "PlacementStrategiesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing placement strategy. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/placementStrategies", - "httpMethod": "PATCH", - "id": "dfareporting.placementStrategies.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "PlacementStrategy ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies", - "request": { - "$ref": "PlacementStrategy" - }, - "response": { - "$ref": "PlacementStrategy" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing placement strategy.", - "flatPath": "userprofiles/{profileId}/placementStrategies", - "httpMethod": "PUT", - "id": "dfareporting.placementStrategies.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies", - "request": { - "$ref": "PlacementStrategy" - }, - "response": { - "$ref": "PlacementStrategy" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "placements": { - "methods": { - "generatetags": { - "description": "Generates tags for a placement.", - "flatPath": "userprofiles/{profileId}/placements/generatetags", - "httpMethod": "POST", - "id": "dfareporting.placements.generatetags", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "campaignId": { - "description": "Generate placements belonging to this campaign. This is a required field.", - "format": "int64", - "location": "query", - "type": "string" - }, - "placementIds": { - "description": "Generate tags for these placements.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "tagFormats": { - "description": "Tag formats to generate for these placements. *Note:* PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.", - "enum": [ - "PLACEMENT_TAG_STANDARD", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_IFRAME_ILAYER", - "PLACEMENT_TAG_INTERNAL_REDIRECT", - "PLACEMENT_TAG_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", - "PLACEMENT_TAG_CLICK_COMMANDS", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", - "PLACEMENT_TAG_TRACKING", - "PLACEMENT_TAG_TRACKING_IFRAME", - "PLACEMENT_TAG_TRACKING_JAVASCRIPT", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", - "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements/generatetags", - "response": { - "$ref": "PlacementsGenerateTagsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one placement by ID.", - "flatPath": "userprofiles/{profileId}/placements/{id}", - "httpMethod": "GET", - "id": "dfareporting.placements.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Placement ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements/{id}", - "response": { - "$ref": "Placement" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new placement.", - "flatPath": "userprofiles/{profileId}/placements", - "httpMethod": "POST", - "id": "dfareporting.placements.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements", - "request": { - "$ref": "Placement" - }, - "response": { - "$ref": "Placement" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of placements, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/placements", - "httpMethod": "GET", - "id": "dfareporting.placements.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only placements that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "archived": { - "description": "Select only archived placements. Don't set this field to select both archived and non-archived placements.", - "location": "query", - "type": "boolean" - }, - "campaignIds": { - "description": "Select only placements that belong to these campaigns.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "compatibilities": { - "description": "Select only placements that are associated with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.", - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "contentCategoryIds": { - "description": "Select only placements that are associated with these content categories.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "directorySiteIds": { - "description": "Select only placements that are associated with these directory sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "groupIds": { - "description": "Select only placements that belong to these placement groups.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only placements with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxEndDate": { - "description": "Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "maxStartDate": { - "description": "Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "minEndDate": { - "description": "Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "minStartDate": { - "description": "Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "paymentSource": { - "description": "Select only placements with this payment source.", - "enum": [ - "PLACEMENT_AGENCY_PAID", - "PLACEMENT_PUBLISHER_PAID" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "placementStrategyIds": { - "description": "Select only placements that are associated with these placement strategies.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "pricingTypes": { - "description": "Select only placements with these pricing types.", - "enum": [ - "PRICING_TYPE_CPM", - "PRICING_TYPE_CPC", - "PRICING_TYPE_CPA", - "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", - "PRICING_TYPE_FLAT_RATE_CLICKS", - "PRICING_TYPE_CPM_ACTIVEVIEW" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for placements by name or ID. Wildcards (*) are allowed. For example, \"placement*2015\" will return placements with names like \"placement June 2015\", \"placement May 2015\", or simply \"placements 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placement\" will match placements with name \"my placement\", \"placement 2015\", or simply \"placement\" .", - "location": "query", - "type": "string" - }, - "siteIds": { - "description": "Select only placements that are associated with these sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sizeIds": { - "description": "Select only placements that are associated with these sizes.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements", - "response": { - "$ref": "PlacementsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing placement. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/placements", - "httpMethod": "PATCH", - "id": "dfareporting.placements.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Placement ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements", - "request": { - "$ref": "Placement" - }, - "response": { - "$ref": "Placement" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing placement.", - "flatPath": "userprofiles/{profileId}/placements", - "httpMethod": "PUT", - "id": "dfareporting.placements.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements", - "request": { - "$ref": "Placement" - }, - "response": { - "$ref": "Placement" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "platformTypes": { - "methods": { - "get": { - "description": "Gets one platform type by ID.", - "flatPath": "userprofiles/{profileId}/platformTypes/{id}", - "httpMethod": "GET", - "id": "dfareporting.platformTypes.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Platform type ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/platformTypes/{id}", - "response": { - "$ref": "PlatformType" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of platform types.", - "flatPath": "userprofiles/{profileId}/platformTypes", - "httpMethod": "GET", - "id": "dfareporting.platformTypes.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/platformTypes", - "response": { - "$ref": "PlatformTypesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "postalCodes": { - "methods": { - "get": { - "description": "Gets one postal code by ID.", - "flatPath": "userprofiles/{profileId}/postalCodes/{code}", - "httpMethod": "GET", - "id": "dfareporting.postalCodes.get", - "parameterOrder": [ - "profileId", - "code" - ], - "parameters": { - "code": { - "description": "Postal code ID.", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/postalCodes/{code}", - "response": { - "$ref": "PostalCode" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of postal codes.", - "flatPath": "userprofiles/{profileId}/postalCodes", - "httpMethod": "GET", - "id": "dfareporting.postalCodes.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/postalCodes", - "response": { - "$ref": "PostalCodesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "projects": { - "methods": { - "get": { - "description": "Gets one project by ID.", - "flatPath": "userprofiles/{profileId}/projects/{id}", - "httpMethod": "GET", - "id": "dfareporting.projects.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Project ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{id}", - "response": { - "$ref": "Project" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of projects, possibly filtered. This method supports paging .", - "flatPath": "userprofiles/{profileId}/projects", - "httpMethod": "GET", - "id": "dfareporting.projects.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only projects with these advertiser IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only projects with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for projects by name or ID. Wildcards (*) are allowed. For example, \"project*2015\" will return projects with names like \"project June 2015\", \"project April 2015\", or simply \"project 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"project\" will match projects with name \"my project\", \"project 2015\", or simply \"project\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects", - "response": { - "$ref": "ProjectsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "regions": { - "methods": { - "list": { - "description": "Retrieves a list of regions.", - "flatPath": "userprofiles/{profileId}/regions", - "httpMethod": "GET", - "id": "dfareporting.regions.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/regions", - "response": { - "$ref": "RegionsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "remarketingListShares": { - "methods": { - "get": { - "description": "Gets one remarketing list share by remarketing list ID.", - "flatPath": "userprofiles/{profileId}/remarketingListShares/{remarketingListId}", - "httpMethod": "GET", - "id": "dfareporting.remarketingListShares.get", - "parameterOrder": [ - "profileId", - "remarketingListId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "remarketingListId": { - "description": "Remarketing list ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingListShares/{remarketingListId}", - "response": { - "$ref": "RemarketingListShare" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing remarketing list share. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/remarketingListShares", - "httpMethod": "PATCH", - "id": "dfareporting.remarketingListShares.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "RemarketingList ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingListShares", - "request": { - "$ref": "RemarketingListShare" - }, - "response": { - "$ref": "RemarketingListShare" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing remarketing list share.", - "flatPath": "userprofiles/{profileId}/remarketingListShares", - "httpMethod": "PUT", - "id": "dfareporting.remarketingListShares.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingListShares", - "request": { - "$ref": "RemarketingListShare" - }, - "response": { - "$ref": "RemarketingListShare" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "remarketingLists": { - "methods": { - "get": { - "description": "Gets one remarketing list by ID.", - "flatPath": "userprofiles/{profileId}/remarketingLists/{id}", - "httpMethod": "GET", - "id": "dfareporting.remarketingLists.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Remarketing list ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingLists/{id}", - "response": { - "$ref": "RemarketingList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new remarketing list.", - "flatPath": "userprofiles/{profileId}/remarketingLists", - "httpMethod": "POST", - "id": "dfareporting.remarketingLists.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingLists", - "request": { - "$ref": "RemarketingList" - }, - "response": { - "$ref": "RemarketingList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of remarketing lists, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/remarketingLists", - "httpMethod": "GET", - "id": "dfareporting.remarketingLists.list", - "parameterOrder": [ - "profileId", - "advertiserId" - ], - "parameters": { - "active": { - "description": "Select only active or only inactive remarketing lists.", - "location": "query", - "type": "boolean" - }, - "advertiserId": { - "description": "Select only remarketing lists owned by this advertiser.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "floodlightActivityId": { - "description": "Select only remarketing lists that have this floodlight activity ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "name": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"remarketing list*2015\" will return objects with names like \"remarketing list June 2015\", \"remarketing list April 2015\", or simply \"remarketing list 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"remarketing list\" will match objects with name \"my remarketing list\", \"remarketing list 2015\", or simply \"remarketing list\".", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingLists", - "response": { - "$ref": "RemarketingListsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing remarketing list. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/remarketingLists", - "httpMethod": "PATCH", - "id": "dfareporting.remarketingLists.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "RemarketingList ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingLists", - "request": { - "$ref": "RemarketingList" - }, - "response": { - "$ref": "RemarketingList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing remarketing list.", - "flatPath": "userprofiles/{profileId}/remarketingLists", - "httpMethod": "PUT", - "id": "dfareporting.remarketingLists.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingLists", - "request": { - "$ref": "RemarketingList" - }, - "response": { - "$ref": "RemarketingList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "reports": { - "methods": { - "delete": { - "description": "Deletes a report by its ID.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}", - "httpMethod": "DELETE", - "id": "dfareporting.reports.delete", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}", - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "get": { - "description": "Retrieves a report by its ID.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}", - "httpMethod": "GET", - "id": "dfareporting.reports.get", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}", - "response": { - "$ref": "Report" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "insert": { - "description": "Creates a report.", - "flatPath": "userprofiles/{profileId}/reports", - "httpMethod": "POST", - "id": "dfareporting.reports.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports", - "request": { - "$ref": "Report" - }, - "response": { - "$ref": "Report" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "list": { - "description": "Retrieves list of reports.", - "flatPath": "userprofiles/{profileId}/reports", - "httpMethod": "GET", - "id": "dfareporting.reports.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "maxResults": { - "default": "10", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "10", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "The value of the nextToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "scope": { - "default": "MINE", - "description": "The scope that defines which results are returned.", - "enum": [ - "ALL", - "MINE" - ], - "enumDescriptions": [ - "All reports in account.", - "My reports." - ], - "location": "query", - "type": "string" - }, - "sortField": { - "default": "LAST_MODIFIED_TIME", - "description": "The field by which to sort the list.", - "enum": [ - "ID", - "LAST_MODIFIED_TIME", - "NAME" - ], - "enumDescriptions": [ - "Sort by report ID.", - "Sort by 'lastModifiedTime' field.", - "Sort by name of reports." - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "DESCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "Ascending order.", - "Descending order." - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports", - "response": { - "$ref": "ReportList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "patch": { - "description": "Updates an existing report. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}", - "httpMethod": "PATCH", - "id": "dfareporting.reports.patch", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "profileId": { - "description": "The DFA user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}", - "request": { - "$ref": "Report" - }, - "response": { - "$ref": "Report" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "run": { - "description": "Runs a report.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}/run", - "httpMethod": "POST", - "id": "dfareporting.reports.run", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "synchronous": { - "default": "false", - "description": "If set and true, tries to run the report synchronously.", - "location": "query", - "type": "boolean" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}/run", - "response": { - "$ref": "File" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "update": { - "description": "Updates a report.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}", - "httpMethod": "PUT", - "id": "dfareporting.reports.update", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}", - "request": { - "$ref": "Report" - }, - "response": { - "$ref": "Report" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - } - }, - "resources": { - "compatibleFields": { - "methods": { - "query": { - "description": "Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.", - "flatPath": "userprofiles/{profileId}/reports/compatiblefields/query", - "httpMethod": "POST", - "id": "dfareporting.reports.compatibleFields.query", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/compatiblefields/query", - "request": { - "$ref": "Report" - }, - "response": { - "$ref": "CompatibleFields" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - } - } - }, - "files": { - "methods": { - "get": { - "description": "Retrieves a report file by its report ID and file ID. This method supports media download.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}/files/{fileId}", - "httpMethod": "GET", - "id": "dfareporting.reports.files.get", - "parameterOrder": [ - "profileId", - "reportId", - "fileId" - ], - "parameters": { - "fileId": { - "description": "The ID of the report file.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}/files/{fileId}", - "response": { - "$ref": "File" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ], - "supportsMediaDownload": true - }, - "list": { - "description": "Lists files for a report.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}/files", - "httpMethod": "GET", - "id": "dfareporting.reports.files.list", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "maxResults": { - "default": "10", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "10", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "The value of the nextToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the parent report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "sortField": { - "default": "LAST_MODIFIED_TIME", - "description": "The field by which to sort the list.", - "enum": [ - "ID", - "LAST_MODIFIED_TIME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "DESCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}/files", - "response": { - "$ref": "FileList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - } - } - } - } - }, - "sites": { - "methods": { - "get": { - "description": "Gets one site by ID.", - "flatPath": "userprofiles/{profileId}/sites/{id}", - "httpMethod": "GET", - "id": "dfareporting.sites.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Site ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sites/{id}", - "response": { - "$ref": "Site" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new site.", - "flatPath": "userprofiles/{profileId}/sites", - "httpMethod": "POST", - "id": "dfareporting.sites.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sites", - "request": { - "$ref": "Site" - }, - "response": { - "$ref": "Site" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of sites, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/sites", - "httpMethod": "GET", - "id": "dfareporting.sites.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "acceptsInStreamVideoPlacements": { - "description": "This search filter is no longer supported and will have no effect on the results returned.", - "location": "query", - "type": "boolean" - }, - "acceptsInterstitialPlacements": { - "description": "This search filter is no longer supported and will have no effect on the results returned.", - "location": "query", - "type": "boolean" - }, - "acceptsPublisherPaidPlacements": { - "description": "Select only sites that accept publisher paid placements.", - "location": "query", - "type": "boolean" - }, - "adWordsSite": { - "description": "Select only AdWords sites.", - "location": "query", - "type": "boolean" - }, - "approved": { - "description": "Select only approved sites.", - "location": "query", - "type": "boolean" - }, - "campaignIds": { - "description": "Select only sites with these campaign IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "directorySiteIds": { - "description": "Select only sites with these directory site IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only sites with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, \"site*2015\" will return objects with names like \"site June 2015\", \"site April 2015\", or simply \"site 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"site\" will match objects with name \"my site\", \"site 2015\", or simply \"site\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only sites with this subaccount ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "unmappedSite": { - "description": "Select only sites that have not been mapped to a directory site.", - "location": "query", - "type": "boolean" - } - }, - "path": "userprofiles/{profileId}/sites", - "response": { - "$ref": "SitesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing site. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/sites", - "httpMethod": "PATCH", - "id": "dfareporting.sites.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Site ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sites", - "request": { - "$ref": "Site" - }, - "response": { - "$ref": "Site" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing site.", - "flatPath": "userprofiles/{profileId}/sites", - "httpMethod": "PUT", - "id": "dfareporting.sites.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sites", - "request": { - "$ref": "Site" - }, - "response": { - "$ref": "Site" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "sizes": { - "methods": { - "get": { - "description": "Gets one size by ID.", - "flatPath": "userprofiles/{profileId}/sizes/{id}", - "httpMethod": "GET", - "id": "dfareporting.sizes.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Size ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sizes/{id}", - "response": { - "$ref": "Size" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new size.", - "flatPath": "userprofiles/{profileId}/sizes", - "httpMethod": "POST", - "id": "dfareporting.sizes.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sizes", - "request": { - "$ref": "Size" - }, - "response": { - "$ref": "Size" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.", - "flatPath": "userprofiles/{profileId}/sizes", - "httpMethod": "GET", - "id": "dfareporting.sizes.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "height": { - "description": "Select only sizes with this height.", - "format": "int32", - "location": "query", - "maximum": "32767", - "minimum": "0", - "type": "integer" - }, - "iabStandard": { - "description": "Select only IAB standard sizes.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only sizes with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "width": { - "description": "Select only sizes with this width.", - "format": "int32", - "location": "query", - "maximum": "32767", - "minimum": "0", - "type": "integer" - } - }, - "path": "userprofiles/{profileId}/sizes", - "response": { - "$ref": "SizesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "subaccounts": { - "methods": { - "get": { - "description": "Gets one subaccount by ID.", - "flatPath": "userprofiles/{profileId}/subaccounts/{id}", - "httpMethod": "GET", - "id": "dfareporting.subaccounts.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Subaccount ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/subaccounts/{id}", - "response": { - "$ref": "Subaccount" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new subaccount.", - "flatPath": "userprofiles/{profileId}/subaccounts", - "httpMethod": "POST", - "id": "dfareporting.subaccounts.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/subaccounts", - "request": { - "$ref": "Subaccount" - }, - "response": { - "$ref": "Subaccount" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Gets a list of subaccounts, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/subaccounts", - "httpMethod": "GET", - "id": "dfareporting.subaccounts.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Select only subaccounts with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"subaccount*2015\" will return objects with names like \"subaccount June 2015\", \"subaccount April 2015\", or simply \"subaccount 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"subaccount\" will match objects with name \"my subaccount\", \"subaccount 2015\", or simply \"subaccount\" .", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/subaccounts", - "response": { - "$ref": "SubaccountsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing subaccount. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/subaccounts", - "httpMethod": "PATCH", - "id": "dfareporting.subaccounts.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Subaccount ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/subaccounts", - "request": { - "$ref": "Subaccount" - }, - "response": { - "$ref": "Subaccount" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing subaccount.", - "flatPath": "userprofiles/{profileId}/subaccounts", - "httpMethod": "PUT", - "id": "dfareporting.subaccounts.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/subaccounts", - "request": { - "$ref": "Subaccount" - }, - "response": { - "$ref": "Subaccount" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "targetableRemarketingLists": { - "methods": { - "get": { - "description": "Gets one remarketing list by ID.", - "flatPath": "userprofiles/{profileId}/targetableRemarketingLists/{id}", - "httpMethod": "GET", - "id": "dfareporting.targetableRemarketingLists.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Remarketing list ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetableRemarketingLists/{id}", - "response": { - "$ref": "TargetableRemarketingList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/targetableRemarketingLists", - "httpMethod": "GET", - "id": "dfareporting.targetableRemarketingLists.list", - "parameterOrder": [ - "profileId", - "advertiserId" - ], - "parameters": { - "active": { - "description": "Select only active or only inactive targetable remarketing lists.", - "location": "query", - "type": "boolean" - }, - "advertiserId": { - "description": "Select only targetable remarketing lists targetable by these advertisers.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "name": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"remarketing list*2015\" will return objects with names like \"remarketing list June 2015\", \"remarketing list April 2015\", or simply \"remarketing list 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"remarketing list\" will match objects with name \"my remarketing list\", \"remarketing list 2015\", or simply \"remarketing list\".", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetableRemarketingLists", - "response": { - "$ref": "TargetableRemarketingListsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "targetingTemplates": { - "methods": { - "get": { - "description": "Gets one targeting template by ID.", - "flatPath": "userprofiles/{profileId}/targetingTemplates/{id}", - "httpMethod": "GET", - "id": "dfareporting.targetingTemplates.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Targeting template ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetingTemplates/{id}", - "response": { - "$ref": "TargetingTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new targeting template.", - "flatPath": "userprofiles/{profileId}/targetingTemplates", - "httpMethod": "POST", - "id": "dfareporting.targetingTemplates.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetingTemplates", - "request": { - "$ref": "TargetingTemplate" - }, - "response": { - "$ref": "TargetingTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of targeting templates, optionally filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/targetingTemplates", - "httpMethod": "GET", - "id": "dfareporting.targetingTemplates.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserId": { - "description": "Select only targeting templates with this advertiser ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "ids": { - "description": "Select only targeting templates with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"template*2015\" will return objects with names like \"template June 2015\", \"template April 2015\", or simply \"template 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"template\" will match objects with name \"my template\", \"template 2015\", or simply \"template\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetingTemplates", - "response": { - "$ref": "TargetingTemplatesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing targeting template. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/targetingTemplates", - "httpMethod": "PATCH", - "id": "dfareporting.targetingTemplates.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "TargetingTemplate ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetingTemplates", - "request": { - "$ref": "TargetingTemplate" - }, - "response": { - "$ref": "TargetingTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing targeting template.", - "flatPath": "userprofiles/{profileId}/targetingTemplates", - "httpMethod": "PUT", - "id": "dfareporting.targetingTemplates.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetingTemplates", - "request": { - "$ref": "TargetingTemplate" - }, - "response": { - "$ref": "TargetingTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "userProfiles": { - "methods": { - "get": { - "description": "Gets one user profile by ID.", - "flatPath": "userprofiles/{profileId}", - "httpMethod": "GET", - "id": "dfareporting.userProfiles.get", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "The user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}", - "response": { - "$ref": "UserProfile" - }, - "scopes": [ - "https://www.googleapis.com/auth/ddmconversions", - "https://www.googleapis.com/auth/dfareporting", - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves list of user profiles for a user.", - "flatPath": "userprofiles", - "httpMethod": "GET", - "id": "dfareporting.userProfiles.list", - "parameterOrder": [], - "parameters": {}, - "path": "userprofiles", - "response": { - "$ref": "UserProfileList" - }, - "scopes": [ - "https://www.googleapis.com/auth/ddmconversions", - "https://www.googleapis.com/auth/dfareporting", - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "userRolePermissionGroups": { - "methods": { - "get": { - "description": "Gets one user role permission group by ID.", - "flatPath": "userprofiles/{profileId}/userRolePermissionGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.userRolePermissionGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "User role permission group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRolePermissionGroups/{id}", - "response": { - "$ref": "UserRolePermissionGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Gets a list of all supported user role permission groups.", - "flatPath": "userprofiles/{profileId}/userRolePermissionGroups", - "httpMethod": "GET", - "id": "dfareporting.userRolePermissionGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRolePermissionGroups", - "response": { - "$ref": "UserRolePermissionGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "userRolePermissions": { - "methods": { - "get": { - "description": "Gets one user role permission by ID.", - "flatPath": "userprofiles/{profileId}/userRolePermissions/{id}", - "httpMethod": "GET", - "id": "dfareporting.userRolePermissions.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "User role permission ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRolePermissions/{id}", - "response": { - "$ref": "UserRolePermission" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Gets a list of user role permissions, possibly filtered.", - "flatPath": "userprofiles/{profileId}/userRolePermissions", - "httpMethod": "GET", - "id": "dfareporting.userRolePermissions.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Select only user role permissions with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRolePermissions", - "response": { - "$ref": "UserRolePermissionsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "userRoles": { - "methods": { - "delete": { - "description": "Deletes an existing user role.", - "flatPath": "userprofiles/{profileId}/userRoles/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.userRoles.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "User role ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one user role by ID.", - "flatPath": "userprofiles/{profileId}/userRoles/{id}", - "httpMethod": "GET", - "id": "dfareporting.userRoles.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "User role ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles/{id}", - "response": { - "$ref": "UserRole" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new user role.", - "flatPath": "userprofiles/{profileId}/userRoles", - "httpMethod": "POST", - "id": "dfareporting.userRoles.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles", - "request": { - "$ref": "UserRole" - }, - "response": { - "$ref": "UserRole" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of user roles, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/userRoles", - "httpMethod": "GET", - "id": "dfareporting.userRoles.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "accountUserRoleOnly": { - "description": "Select only account level user roles not associated with any specific subaccount.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only user roles with the specified IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"userrole*2015\" will return objects with names like \"userrole June 2015\", \"userrole April 2015\", or simply \"userrole 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"userrole\" will match objects with name \"my userrole\", \"userrole 2015\", or simply \"userrole\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only user roles that belong to this subaccount.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles", - "response": { - "$ref": "UserRolesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing user role. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/userRoles", - "httpMethod": "PATCH", - "id": "dfareporting.userRoles.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "UserRole ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles", - "request": { - "$ref": "UserRole" - }, - "response": { - "$ref": "UserRole" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing user role.", - "flatPath": "userprofiles/{profileId}/userRoles", - "httpMethod": "PUT", - "id": "dfareporting.userRoles.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles", - "request": { - "$ref": "UserRole" - }, - "response": { - "$ref": "UserRole" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "videoFormats": { - "methods": { - "get": { - "description": "Gets one video format by ID.", - "flatPath": "userprofiles/{profileId}/videoFormats/{id}", - "httpMethod": "GET", - "id": "dfareporting.videoFormats.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Video format ID.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/videoFormats/{id}", - "response": { - "$ref": "VideoFormat" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Lists available video formats.", - "flatPath": "userprofiles/{profileId}/videoFormats", - "httpMethod": "GET", - "id": "dfareporting.videoFormats.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/videoFormats", - "response": { - "$ref": "VideoFormatsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - } - }, - "revision": "20220104", - "rootUrl": "https://dfareporting.googleapis.com/", - "schemas": { - "Account": { - "description": "Contains properties of a Campaign Manager account.", - "id": "Account", - "properties": { - "accountPermissionIds": { - "description": "Account permissions assigned to this account.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "accountProfile": { - "description": "Profile for this account. This is a read-only field that can be left blank.", - "enum": [ - "ACCOUNT_PROFILE_BASIC", - "ACCOUNT_PROFILE_STANDARD" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "active": { - "description": "Whether this account is active.", - "type": "boolean" - }, - "activeAdsLimitTier": { - "description": "Maximum number of active ads allowed for this account.", - "enum": [ - "ACTIVE_ADS_TIER_40K", - "ACTIVE_ADS_TIER_75K", - "ACTIVE_ADS_TIER_100K", - "ACTIVE_ADS_TIER_200K", - "ACTIVE_ADS_TIER_300K", - "ACTIVE_ADS_TIER_500K", - "ACTIVE_ADS_TIER_750K", - "ACTIVE_ADS_TIER_1M" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "activeViewOptOut": { - "description": "Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.", - "type": "boolean" - }, - "availablePermissionIds": { - "description": "User role permissions available to the user roles of this account.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "countryId": { - "description": "ID of the country associated with this account.", - "format": "int64", - "type": "string" - }, - "currencyId": { - "description": "ID of currency associated with this account. This is a required field. Acceptable values are: - \"1\" for USD - \"2\" for GBP - \"3\" for ESP - \"4\" for SEK - \"5\" for CAD - \"6\" for JPY - \"7\" for DEM - \"8\" for AUD - \"9\" for FRF - \"10\" for ITL - \"11\" for DKK - \"12\" for NOK - \"13\" for FIM - \"14\" for ZAR - \"15\" for IEP - \"16\" for NLG - \"17\" for EUR - \"18\" for KRW - \"19\" for TWD - \"20\" for SGD - \"21\" for CNY - \"22\" for HKD - \"23\" for NZD - \"24\" for MYR - \"25\" for BRL - \"26\" for PTE - \"28\" for CLP - \"29\" for TRY - \"30\" for ARS - \"31\" for PEN - \"32\" for ILS - \"33\" for CHF - \"34\" for VEF - \"35\" for COP - \"36\" for GTQ - \"37\" for PLN - \"39\" for INR - \"40\" for THB - \"41\" for IDR - \"42\" for CZK - \"43\" for RON - \"44\" for HUF - \"45\" for RUB - \"46\" for AED - \"47\" for BGN - \"48\" for HRK - \"49\" for MXN - \"50\" for NGN - \"51\" for EGP ", - "format": "int64", - "type": "string" - }, - "defaultCreativeSizeId": { - "description": "Default placement dimensions for this account.", - "format": "int64", - "type": "string" - }, - "description": { - "description": "Description of this account.", - "type": "string" - }, - "id": { - "description": "ID of this account. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#account\".", - "type": "string" - }, - "locale": { - "description": "Locale of this account. Acceptable values are: - \"cs\" (Czech) - \"de\" (German) - \"en\" (English) - \"en-GB\" (English United Kingdom) - \"es\" (Spanish) - \"fr\" (French) - \"it\" (Italian) - \"ja\" (Japanese) - \"ko\" (Korean) - \"pl\" (Polish) - \"pt-BR\" (Portuguese Brazil) - \"ru\" (Russian) - \"sv\" (Swedish) - \"tr\" (Turkish) - \"zh-CN\" (Chinese Simplified) - \"zh-TW\" (Chinese Traditional) ", - "type": "string" - }, - "maximumImageSize": { - "description": "Maximum image size allowed for this account, in kilobytes. Value must be greater than or equal to 1.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.", - "type": "string" - }, - "nielsenOcrEnabled": { - "description": "Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.", - "type": "boolean" - }, - "reportsConfiguration": { - "$ref": "ReportsConfiguration", - "description": "Reporting configuration of this account." - }, - "shareReportsWithTwitter": { - "description": "Share Path to Conversion reports with Twitter.", - "type": "boolean" - }, - "teaserSizeLimit": { - "description": "File size limit in kilobytes of Rich Media teaser creatives. Acceptable values are 1 to 10240, inclusive.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AccountActiveAdSummary": { - "description": "Gets a summary of active ads in an account.", - "id": "AccountActiveAdSummary", - "properties": { - "accountId": { - "description": "ID of the account.", - "format": "int64", - "type": "string" - }, - "activeAds": { - "description": "Ads that have been activated for the account", - "format": "int64", - "type": "string" - }, - "activeAdsLimitTier": { - "description": "Maximum number of active ads allowed for the account.", - "enum": [ - "ACTIVE_ADS_TIER_40K", - "ACTIVE_ADS_TIER_75K", - "ACTIVE_ADS_TIER_100K", - "ACTIVE_ADS_TIER_200K", - "ACTIVE_ADS_TIER_300K", - "ACTIVE_ADS_TIER_500K", - "ACTIVE_ADS_TIER_750K", - "ACTIVE_ADS_TIER_1M" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "availableAds": { - "description": "Ads that can be activated for the account.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountActiveAdSummary\".", - "type": "string" - } - }, - "type": "object" - }, - "AccountPermission": { - "description": "AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account.", - "id": "AccountPermission", - "properties": { - "accountProfiles": { - "description": "Account profiles associated with this account permission. Possible values are: - \"ACCOUNT_PROFILE_BASIC\" - \"ACCOUNT_PROFILE_STANDARD\" ", - "items": { - "enum": [ - "ACCOUNT_PROFILE_BASIC", - "ACCOUNT_PROFILE_STANDARD" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "id": { - "description": "ID of this account permission.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermission\".", - "type": "string" - }, - "level": { - "description": "Administrative level required to enable this account permission.", - "enum": [ - "USER", - "ADMINISTRATOR" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "name": { - "description": "Name of this account permission.", - "type": "string" - }, - "permissionGroupId": { - "description": "Permission group of this account permission.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AccountPermissionGroup": { - "description": "AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.", - "id": "AccountPermissionGroup", - "properties": { - "id": { - "description": "ID of this account permission group.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionGroup\".", - "type": "string" - }, - "name": { - "description": "Name of this account permission group.", - "type": "string" - } - }, - "type": "object" - }, - "AccountPermissionGroupsListResponse": { - "description": "Account Permission Group List Response", - "id": "AccountPermissionGroupsListResponse", - "properties": { - "accountPermissionGroups": { - "description": "Account permission group collection.", - "items": { - "$ref": "AccountPermissionGroup" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionGroupsListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "AccountPermissionsListResponse": { - "description": "Account Permission List Response", - "id": "AccountPermissionsListResponse", - "properties": { - "accountPermissions": { - "description": "Account permission collection.", - "items": { - "$ref": "AccountPermission" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionsListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "AccountUserProfile": { - "description": "AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.", - "id": "AccountUserProfile", - "properties": { - "accountId": { - "description": "Account ID of the user profile. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "active": { - "description": "Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.", - "type": "boolean" - }, - "advertiserFilter": { - "$ref": "ObjectFilter", - "description": "Filter that describes which advertisers are visible to the user profile." - }, - "campaignFilter": { - "$ref": "ObjectFilter", - "description": "Filter that describes which campaigns are visible to the user profile." - }, - "comments": { - "description": "Comments for this user profile.", - "type": "string" - }, - "email": { - "description": "Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.", - "type": "string" - }, - "id": { - "description": "ID of the user profile. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountUserProfile\".", - "type": "string" - }, - "locale": { - "description": "Locale of the user profile. This is a required field. Acceptable values are: - \"cs\" (Czech) - \"de\" (German) - \"en\" (English) - \"en-GB\" (English United Kingdom) - \"es\" (Spanish) - \"fr\" (French) - \"it\" (Italian) - \"ja\" (Japanese) - \"ko\" (Korean) - \"pl\" (Polish) - \"pt-BR\" (Portuguese Brazil) - \"ru\" (Russian) - \"sv\" (Swedish) - \"tr\" (Turkish) - \"zh-CN\" (Chinese Simplified) - \"zh-TW\" (Chinese Traditional) ", - "type": "string" - }, - "name": { - "description": "Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: \"&;<>\"#%,\".", - "type": "string" - }, - "siteFilter": { - "$ref": "ObjectFilter", - "description": "Filter that describes which sites are visible to the user profile." - }, - "subaccountId": { - "description": "Subaccount ID of the user profile. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "traffickerType": { - "description": "Trafficker type of this user profile. This is a read-only field.", - "enum": [ - "INTERNAL_NON_TRAFFICKER", - "INTERNAL_TRAFFICKER", - "EXTERNAL_TRAFFICKER" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "userAccessType": { - "description": "User type of the user profile. This is a read-only field that can be left blank.", - "enum": [ - "NORMAL_USER", - "SUPER_USER", - "INTERNAL_ADMINISTRATOR", - "READ_ONLY_SUPER_USER" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "userRoleFilter": { - "$ref": "ObjectFilter", - "description": "Filter that describes which user roles are visible to the user profile." - }, - "userRoleId": { - "description": "User role ID of the user profile. This is a required field.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AccountUserProfilesListResponse": { - "description": "Account User Profile List Response", - "id": "AccountUserProfilesListResponse", - "properties": { - "accountUserProfiles": { - "description": "Account user profile collection.", - "items": { - "$ref": "AccountUserProfile" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountUserProfilesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "AccountsListResponse": { - "description": "Account List Response", - "id": "AccountsListResponse", - "properties": { - "accounts": { - "description": "Account collection.", - "items": { - "$ref": "Account" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "Activities": { - "description": "Represents an activity group.", - "id": "Activities", - "properties": { - "filters": { - "description": "List of activity filters. The dimension values need to be all either of type \"dfa:activity\" or \"dfa:activityGroup\".", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#activities.", - "type": "string" - }, - "metricNames": { - "description": "List of names of floodlight activity metrics.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Ad": { - "description": "Contains properties of a Campaign Manager ad.", - "id": "Ad", - "properties": { - "accountId": { - "description": "Account ID of this ad. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "active": { - "description": "Whether this ad is active. When true, archived must be false.", - "type": "boolean" - }, - "advertiserId": { - "description": "Advertiser ID of this ad. This is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "archived": { - "description": "Whether this ad is archived. When true, active must be false.", - "type": "boolean" - }, - "audienceSegmentId": { - "description": "Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.", - "format": "int64", - "type": "string" - }, - "campaignId": { - "description": "Campaign ID of this ad. This is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "campaignIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." - }, - "clickThroughUrl": { - "$ref": "ClickThroughUrl", - "description": "Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER." - }, - "clickThroughUrlSuffixProperties": { - "$ref": "ClickThroughUrlSuffixProperties", - "description": "Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative." - }, - "comments": { - "description": "Comments for this ad.", - "type": "string" - }, - "compatibility": { - "description": "Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are only used for existing default ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL and default ads created for those placements will be limited to those compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video ads developed with the VAST standard.", - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "createInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the creation of this ad. This is a read-only field." - }, - "creativeGroupAssignments": { - "description": "Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.", - "items": { - "$ref": "CreativeGroupAssignment" - }, - "type": "array" - }, - "creativeRotation": { - "$ref": "CreativeRotation", - "description": "Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment ." - }, - "dayPartTargeting": { - "$ref": "DayPartTargeting", - "description": "Time and day targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "defaultClickThroughEventTagProperties": { - "$ref": "DefaultClickThroughEventTagProperties", - "description": "Default click-through event tag properties for this ad." - }, - "deliverySchedule": { - "$ref": "DeliverySchedule", - "description": "Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD." - }, - "dynamicClickTracker": { - "description": "Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.", - "type": "boolean" - }, - "endTime": { - "format": "date-time", - "type": "string" - }, - "eventTagOverrides": { - "description": "Event tag overrides for this ad.", - "items": { - "$ref": "EventTagOverride" - }, - "type": "array" - }, - "geoTargeting": { - "$ref": "GeoTargeting", - "description": "Geographical targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "id": { - "description": "ID of this ad. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this ad. This is a read-only, auto-generated field." - }, - "keyValueTargetingExpression": { - "$ref": "KeyValueTargetingExpression", - "description": "Key-value targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#ad\".", - "type": "string" - }, - "languageTargeting": { - "$ref": "LanguageTargeting", - "description": "Language targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this ad. This is a read-only field." - }, - "name": { - "description": "Name of this ad. This is a required field and must be less than 256 characters long.", - "type": "string" - }, - "placementAssignments": { - "description": "Placement assignments for this ad.", - "items": { - "$ref": "PlacementAssignment" - }, - "type": "array" - }, - "remarketingListExpression": { - "$ref": "ListTargetingExpression", - "description": "Remarketing list targeting expression for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "size": { - "$ref": "Size", - "description": "Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD." - }, - "sslCompliant": { - "description": "Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.", - "type": "boolean" - }, - "sslRequired": { - "description": "Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.", - "type": "boolean" - }, - "startTime": { - "format": "date-time", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this ad. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "targetingTemplateId": { - "description": "Targeting template ID, used to apply preconfigured targeting information to this ad. This cannot be set while any of dayPartTargeting, geoTargeting, keyValueTargetingExpression, languageTargeting, remarketingListExpression, or technologyTargeting are set. Applicable when type is AD_SERVING_STANDARD_AD.", - "format": "int64", - "type": "string" - }, - "technologyTargeting": { - "$ref": "TechnologyTargeting", - "description": "Technology platform targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "type": { - "description": "Type of ad. This is a required field on insertion. Note that default ads ( AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).", - "enum": [ - "AD_SERVING_STANDARD_AD", - "AD_SERVING_DEFAULT_AD", - "AD_SERVING_CLICK_TRACKER", - "AD_SERVING_TRACKING", - "AD_SERVING_BRAND_SAFE_AD" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "AdBlockingConfiguration": { - "description": "Campaign ad blocking settings.", - "id": "AdBlockingConfiguration", - "properties": { - "clickThroughUrl": { - "description": "Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true.", - "type": "string" - }, - "creativeBundleId": { - "description": "ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent pixel will be used.", - "format": "int64", - "type": "string" - }, - "enabled": { - "description": "Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.", - "type": "boolean" - }, - "overrideClickThroughUrl": { - "description": "Whether the brand-neutral ad's click-through URL comes from the campaign's creative bundle or the override URL. Must be set to true if ad blocking is enabled and no creative bundle is configured.", - "type": "boolean" - } - }, - "type": "object" - }, - "AdSlot": { - "description": "Ad Slot", - "id": "AdSlot", - "properties": { - "comment": { - "description": "Comment for this ad slot.", - "type": "string" - }, - "compatibility": { - "description": "Ad slot compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop, mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.", - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "height": { - "description": "Height of this ad slot.", - "format": "int64", - "type": "string" - }, - "linkedPlacementId": { - "description": "ID of the placement from an external platform that is linked to this ad slot.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this ad slot.", - "type": "string" - }, - "paymentSourceType": { - "description": "Payment source type of this ad slot.", - "enum": [ - "PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID", - "PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "primary": { - "description": "Primary ad slot of a roadblock inventory item.", - "type": "boolean" - }, - "width": { - "description": "Width of this ad slot.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AdsListResponse": { - "description": "Ad List Response", - "id": "AdsListResponse", - "properties": { - "ads": { - "description": "Ad collection.", - "items": { - "$ref": "Ad" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#adsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "Advertiser": { - "description": "Contains properties of a Campaign Manager advertiser.", - "id": "Advertiser", - "properties": { - "accountId": { - "description": "Account ID of this advertiser.This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserGroupId": { - "description": "ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.", - "format": "int64", - "type": "string" - }, - "clickThroughUrlSuffix": { - "description": "Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.", - "type": "string" - }, - "defaultClickThroughEventTagId": { - "description": "ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.", - "format": "int64", - "type": "string" - }, - "defaultEmail": { - "description": "Default email address used in sender field for tag emails.", - "type": "string" - }, - "floodlightConfigurationId": { - "description": "Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as: - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups. - This advertiser's original floodlight configuration is not already shared with another advertiser. ", - "format": "int64", - "type": "string" - }, - "floodlightConfigurationIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." - }, - "id": { - "description": "ID of this advertiser. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this advertiser. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiser\".", - "type": "string" - }, - "name": { - "description": "Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.", - "type": "string" - }, - "originalFloodlightConfigurationId": { - "description": "Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.", - "format": "int64", - "type": "string" - }, - "status": { - "description": "Status of this advertiser.", - "enum": [ - "APPROVED", - "ON_HOLD" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this advertiser.This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "suspended": { - "description": "Suspension status of this advertiser.", - "type": "boolean" - } - }, - "type": "object" - }, - "AdvertiserGroup": { - "description": "Groups advertisers together so that reports can be generated for the entire group at once.", - "id": "AdvertiserGroup", - "properties": { - "accountId": { - "description": "Account ID of this advertiser group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this advertiser group. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserGroup\".", - "type": "string" - }, - "name": { - "description": "Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.", - "type": "string" - } - }, - "type": "object" - }, - "AdvertiserGroupsListResponse": { - "description": "Advertiser Group List Response", - "id": "AdvertiserGroupsListResponse", - "properties": { - "advertiserGroups": { - "description": "Advertiser group collection.", - "items": { - "$ref": "AdvertiserGroup" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserGroupsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "AdvertiserLandingPagesListResponse": { - "description": "Landing Page List Response", - "id": "AdvertiserLandingPagesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserLandingPagesListResponse\".", - "type": "string" - }, - "landingPages": { - "description": "Landing page collection", - "items": { - "$ref": "LandingPage" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "AdvertisersListResponse": { - "description": "Advertiser List Response", - "id": "AdvertisersListResponse", - "properties": { - "advertisers": { - "description": "Advertiser collection.", - "items": { - "$ref": "Advertiser" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertisersListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "AudienceSegment": { - "description": "Audience Segment.", - "id": "AudienceSegment", - "properties": { - "allocation": { - "description": "Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.", - "format": "int32", - "type": "integer" - }, - "id": { - "description": "ID of this audience segment. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this audience segment. This is a required field and must be less than 65 characters long.", - "type": "string" - } - }, - "type": "object" - }, - "AudienceSegmentGroup": { - "description": "Audience Segment Group.", - "id": "AudienceSegmentGroup", - "properties": { - "audienceSegments": { - "description": "Audience segments assigned to this group. The number of segments must be between 2 and 100.", - "items": { - "$ref": "AudienceSegment" - }, - "type": "array" - }, - "id": { - "description": "ID of this audience segment group. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this audience segment group. This is a required field and must be less than 65 characters long.", - "type": "string" - } - }, - "type": "object" - }, - "Browser": { - "description": "Contains information about a browser that can be targeted by ads.", - "id": "Browser", - "properties": { - "browserVersionId": { - "description": "ID referring to this grouping of browser and version numbers. This is the ID used for targeting.", - "format": "int64", - "type": "string" - }, - "dartId": { - "description": "DART ID of this browser. This is the ID used when generating reports.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#browser\".", - "type": "string" - }, - "majorVersion": { - "description": "Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.", - "type": "string" - }, - "minorVersion": { - "description": "Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.", - "type": "string" - }, - "name": { - "description": "Name of this browser.", - "type": "string" - } - }, - "type": "object" - }, - "BrowsersListResponse": { - "description": "Browser List Response", - "id": "BrowsersListResponse", - "properties": { - "browsers": { - "description": "Browser collection.", - "items": { - "$ref": "Browser" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#browsersListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "Campaign": { - "description": "Contains properties of a Campaign Manager campaign.", - "id": "Campaign", - "properties": { - "accountId": { - "description": "Account ID of this campaign. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "adBlockingConfiguration": { - "$ref": "AdBlockingConfiguration", - "description": "Ad blocking settings for this campaign." - }, - "additionalCreativeOptimizationConfigurations": { - "description": "Additional creative optimization configurations for the campaign.", - "items": { - "$ref": "CreativeOptimizationConfiguration" - }, - "type": "array" - }, - "advertiserGroupId": { - "description": "Advertiser group ID of the associated advertiser.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this campaign. This is a required field.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field." - }, - "archived": { - "description": "Whether this campaign has been archived.", - "type": "boolean" - }, - "audienceSegmentGroups": { - "description": "Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.", - "items": { - "$ref": "AudienceSegmentGroup" - }, - "type": "array" - }, - "billingInvoiceCode": { - "description": "Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.", - "type": "string" - }, - "clickThroughUrlSuffixProperties": { - "$ref": "ClickThroughUrlSuffixProperties", - "description": "Click-through URL suffix override properties for this campaign." - }, - "comment": { - "description": "Arbitrary comments about this campaign. Must be less than 256 characters long.", - "type": "string" - }, - "createInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the creation of this campaign. This is a read-only field." - }, - "creativeGroupIds": { - "description": "List of creative group IDs that are assigned to the campaign.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "creativeOptimizationConfiguration": { - "$ref": "CreativeOptimizationConfiguration", - "description": "Creative optimization configuration for the campaign." - }, - "defaultClickThroughEventTagProperties": { - "$ref": "DefaultClickThroughEventTagProperties", - "description": "Click-through event tag ID override properties for this campaign." - }, - "defaultLandingPageId": { - "description": "The default landing page ID for this campaign.", - "format": "int64", - "type": "string" - }, - "endDate": { - "format": "date", - "type": "string" - }, - "eventTagOverrides": { - "description": "Overrides that can be used to activate or deactivate advertiser event tags.", - "items": { - "$ref": "EventTagOverride" - }, - "type": "array" - }, - "externalId": { - "description": "External ID for this campaign.", - "type": "string" - }, - "id": { - "description": "ID of this campaign. This is a read-only auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this campaign. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaign\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this campaign. This is a read-only field." - }, - "name": { - "description": "Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.", - "type": "string" - }, - "nielsenOcrEnabled": { - "description": "Whether Nielsen reports are enabled for this campaign.", - "type": "boolean" - }, - "startDate": { - "format": "date", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this campaign. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "traffickerEmails": { - "description": "Campaign trafficker contact emails.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CampaignCreativeAssociation": { - "description": "Identifies a creative which has been associated with a given campaign.", - "id": "CampaignCreativeAssociation", - "properties": { - "creativeId": { - "description": "ID of the creative associated with the campaign. This is a required field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignCreativeAssociation\".", - "type": "string" - } - }, - "type": "object" - }, - "CampaignCreativeAssociationsListResponse": { - "description": "Campaign Creative Association List Response", - "id": "CampaignCreativeAssociationsListResponse", - "properties": { - "campaignCreativeAssociations": { - "description": "Campaign creative association collection", - "items": { - "$ref": "CampaignCreativeAssociation" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignCreativeAssociationsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "CampaignsListResponse": { - "description": "Campaign List Response", - "id": "CampaignsListResponse", - "properties": { - "campaigns": { - "description": "Campaign collection.", - "items": { - "$ref": "Campaign" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "ChangeLog": { - "description": "Describes a change that a user has made to a resource.", - "id": "ChangeLog", - "properties": { - "accountId": { - "description": "Account ID of the modified object.", - "format": "int64", - "type": "string" - }, - "action": { - "description": "Action which caused the change.", - "type": "string" - }, - "changeTime": { - "format": "date-time", - "type": "string" - }, - "fieldName": { - "description": "Field name of the object which changed.", - "type": "string" - }, - "id": { - "description": "ID of this change log.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#changeLog\".", - "type": "string" - }, - "newValue": { - "description": "New value of the object field.", - "type": "string" - }, - "objectId": { - "description": "ID of the object of this change log. The object could be a campaign, placement, ad, or other type.", - "format": "int64", - "type": "string" - }, - "objectType": { - "description": "Object type of the change log.", - "type": "string" - }, - "oldValue": { - "description": "Old value of the object field.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of the modified object.", - "format": "int64", - "type": "string" - }, - "transactionId": { - "description": "Transaction ID of this change log. When a single API call results in many changes, each change will have a separate ID in the change log but will share the same transactionId.", - "format": "int64", - "type": "string" - }, - "userProfileId": { - "description": "ID of the user who modified the object.", - "format": "int64", - "type": "string" - }, - "userProfileName": { - "description": "User profile name of the user who modified the object.", - "type": "string" - } - }, - "type": "object" - }, - "ChangeLogsListResponse": { - "description": "Change Log List Response", - "id": "ChangeLogsListResponse", - "properties": { - "changeLogs": { - "description": "Change log collection.", - "items": { - "$ref": "ChangeLog" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#changeLogsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "CitiesListResponse": { - "description": "City List Response", - "id": "CitiesListResponse", - "properties": { - "cities": { - "description": "City collection.", - "items": { - "$ref": "City" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#citiesListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "City": { - "description": "Contains information about a city that can be targeted by ads.", - "id": "City", - "properties": { - "countryCode": { - "description": "Country code of the country to which this city belongs.", - "type": "string" - }, - "countryDartId": { - "description": "DART ID of the country to which this city belongs.", - "format": "int64", - "type": "string" - }, - "dartId": { - "description": "DART ID of this city. This is the ID used for targeting and generating reports.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#city\".", - "type": "string" - }, - "metroCode": { - "description": "Metro region code of the metro region (DMA) to which this city belongs.", - "type": "string" - }, - "metroDmaId": { - "description": "ID of the metro region (DMA) to which this city belongs.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this city.", - "type": "string" - }, - "regionCode": { - "description": "Region code of the region to which this city belongs.", - "type": "string" - }, - "regionDartId": { - "description": "DART ID of the region to which this city belongs.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ClickTag": { - "description": "Creative Click Tag.", - "id": "ClickTag", - "properties": { - "clickThroughUrl": { - "$ref": "CreativeClickThroughUrl", - "description": "Parameter value for the specified click tag. This field contains a click-through url." - }, - "eventName": { - "description": "Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "type": "string" - }, - "name": { - "description": "Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field.", - "type": "string" - } - }, - "type": "object" - }, - "ClickThroughUrl": { - "description": "Click-through URL", - "id": "ClickThroughUrl", - "properties": { - "computedClickThroughUrl": { - "description": "Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field. - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field. - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field. ", - "type": "string" - }, - "customClickThroughUrl": { - "description": "Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.", - "type": "string" - }, - "defaultLandingPage": { - "description": "Whether the campaign default landing page is used.", - "type": "boolean" - }, - "landingPageId": { - "description": "ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ClickThroughUrlSuffixProperties": { - "description": "Click Through URL Suffix settings.", - "id": "ClickThroughUrlSuffixProperties", - "properties": { - "clickThroughUrlSuffix": { - "description": "Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.", - "type": "string" - }, - "overrideInheritedSuffix": { - "description": "Whether this entity should override the inherited click-through URL suffix with its own defined value.", - "type": "boolean" - } - }, - "type": "object" - }, - "CompanionClickThroughOverride": { - "description": "Companion Click-through override.", - "id": "CompanionClickThroughOverride", - "properties": { - "clickThroughUrl": { - "$ref": "ClickThroughUrl", - "description": "Click-through URL of this companion click-through override." - }, - "creativeId": { - "description": "ID of the creative for this companion click-through override.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CompanionSetting": { - "description": "Companion Settings", - "id": "CompanionSetting", - "properties": { - "companionsDisabled": { - "description": "Whether companions are disabled for this placement.", - "type": "boolean" - }, - "enabledSizes": { - "description": "Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.", - "items": { - "$ref": "Size" - }, - "type": "array" - }, - "imageOnly": { - "description": "Whether to serve only static images as companions.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#companionSetting\".", - "type": "string" - } - }, - "type": "object" - }, - "CompatibleFields": { - "description": "Represents a response to the queryCompatibleFields method.", - "id": "CompatibleFields", - "properties": { - "crossDimensionReachReportCompatibleFields": { - "$ref": "CrossDimensionReachReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"CROSS_DIMENSION_REACH\"." - }, - "floodlightReportCompatibleFields": { - "$ref": "FloodlightReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"FLOODLIGHT\"." - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#compatibleFields.", - "type": "string" - }, - "pathToConversionReportCompatibleFields": { - "$ref": "PathToConversionReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"PATH_TO_CONVERSION\"." - }, - "reachReportCompatibleFields": { - "$ref": "ReachReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"REACH\"." - }, - "reportCompatibleFields": { - "$ref": "ReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"STANDARD\"." - } - }, - "type": "object" - }, - "ConnectionType": { - "description": "Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.", - "id": "ConnectionType", - "properties": { - "id": { - "description": "ID of this connection type.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#connectionType\".", - "type": "string" - }, - "name": { - "description": "Name of this connection type.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionTypesListResponse": { - "description": "Connection Type List Response", - "id": "ConnectionTypesListResponse", - "properties": { - "connectionTypes": { - "description": "Collection of connection types such as broadband and mobile.", - "items": { - "$ref": "ConnectionType" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#connectionTypesListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "ContentCategoriesListResponse": { - "description": "Content Category List Response", - "id": "ContentCategoriesListResponse", - "properties": { - "contentCategories": { - "description": "Content category collection.", - "items": { - "$ref": "ContentCategory" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#contentCategoriesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "ContentCategory": { - "description": "Organizes placements according to the contents of their associated webpages.", - "id": "ContentCategory", - "properties": { - "accountId": { - "description": "Account ID of this content category. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this content category. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#contentCategory\".", - "type": "string" - }, - "name": { - "description": "Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.", - "type": "string" - } - }, - "type": "object" - }, - "Conversion": { - "description": "A Conversion represents when a user successfully performs a desired action after seeing an ad.", - "id": "Conversion", - "properties": { - "childDirectedTreatment": { - "description": "Whether this particular request may come from a user under the age of 13, under COPPA compliance.", - "type": "boolean" - }, - "customVariables": { - "description": "Custom floodlight variables. This field may only be used when calling batchinsert; it is not supported by batchupdate.", - "items": { - "$ref": "CustomFloodlightVariable" - }, - "type": "array" - }, - "encryptedUserId": { - "description": "The alphanumeric encrypted user ID. When set, encryptionInfo should also be specified. This field is mutually exclusive with encryptedUserIdCandidates[], matchId, mobileDeviceId and gclid. This or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid is a required field.", - "type": "string" - }, - "encryptedUserIdCandidates": { - "description": "A list of the alphanumeric encrypted user IDs. Any user ID with exposure prior to the conversion timestamp will be used in the inserted conversion. If no such user ID is found then the conversion will be rejected with INVALID_ARGUMENT error. When set, encryptionInfo should also be specified. This field may only be used when calling batchinsert; it is not supported by batchupdate. This field is mutually exclusive with encryptedUserId, matchId, mobileDeviceId and gclid. This or encryptedUserId or matchId or mobileDeviceId or gclid is a required field.", - "items": { - "type": "string" - }, - "type": "array" - }, - "floodlightActivityId": { - "description": "Floodlight Activity ID of this conversion. This is a required field.", - "format": "int64", - "type": "string" - }, - "floodlightConfigurationId": { - "description": "Floodlight Configuration ID of this conversion. This is a required field.", - "format": "int64", - "type": "string" - }, - "gclid": { - "description": "The Google click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId and mobileDeviceId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId is a required field.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversion\".", - "type": "string" - }, - "limitAdTracking": { - "description": "Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing.", - "type": "boolean" - }, - "matchId": { - "description": "The match ID field. A match ID is your own first-party identifier that has been synced with Google using the match ID feature in Floodlight. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[],mobileDeviceId and gclid. This or encryptedUserId or encryptedUserIdCandidates[] or mobileDeviceId or gclid is a required field.", - "type": "string" - }, - "mobileDeviceId": { - "description": "The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId and gclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or gclid is a required field.", - "type": "string" - }, - "nonPersonalizedAd": { - "description": "Whether the conversion was for a non personalized ad.", - "type": "boolean" - }, - "ordinal": { - "description": "The ordinal of the conversion. Use this field to control how conversions of the same user and day are de-duplicated. This is a required field.", - "type": "string" - }, - "quantity": { - "description": "The quantity of the conversion.", - "format": "int64", - "type": "string" - }, - "timestampMicros": { - "description": "The timestamp of conversion, in Unix epoch micros. This is a required field.", - "format": "int64", - "type": "string" - }, - "treatmentForUnderage": { - "description": "Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR).", - "type": "boolean" - }, - "value": { - "description": "The value of the conversion.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "ConversionError": { - "description": "The error code and description for a conversion that failed to insert or update.", - "id": "ConversionError", - "properties": { - "code": { - "description": "The error code.", - "enum": [ - "INVALID_ARGUMENT", - "INTERNAL", - "PERMISSION_DENIED", - "NOT_FOUND" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionError\".", - "type": "string" - }, - "message": { - "description": "A description of the error.", - "type": "string" - } - }, - "type": "object" - }, - "ConversionStatus": { - "description": "The original conversion that was inserted or updated and whether there were any errors.", - "id": "ConversionStatus", - "properties": { - "conversion": { - "$ref": "Conversion", - "description": "The original conversion that was inserted or updated." - }, - "errors": { - "description": "A list of errors related to this conversion.", - "items": { - "$ref": "ConversionError" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionStatus\".", - "type": "string" - } - }, - "type": "object" - }, - "ConversionsBatchInsertRequest": { - "description": "Insert Conversions Request.", - "id": "ConversionsBatchInsertRequest", - "properties": { - "conversions": { - "description": "The set of conversions to insert.", - "items": { - "$ref": "Conversion" - }, - "type": "array" - }, - "encryptionInfo": { - "$ref": "EncryptionInfo", - "description": "Describes how encryptedUserId or encryptedUserIdCandidates[] is encrypted. This is a required field if encryptedUserId or encryptedUserIdCandidates[] is used." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchInsertRequest\".", - "type": "string" - } - }, - "type": "object" - }, - "ConversionsBatchInsertResponse": { - "description": "Insert Conversions Response.", - "id": "ConversionsBatchInsertResponse", - "properties": { - "hasFailures": { - "description": "Indicates that some or all conversions failed to insert.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchInsertResponse\".", - "type": "string" - }, - "status": { - "description": "The insert status of each conversion. Statuses are returned in the same order that conversions are inserted.", - "items": { - "$ref": "ConversionStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "ConversionsBatchUpdateRequest": { - "description": "Update Conversions Request.", - "id": "ConversionsBatchUpdateRequest", - "properties": { - "conversions": { - "description": "The set of conversions to update.", - "items": { - "$ref": "Conversion" - }, - "type": "array" - }, - "encryptionInfo": { - "$ref": "EncryptionInfo", - "description": "Describes how encryptedUserId is encrypted. This is a required field if encryptedUserId is used." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchUpdateRequest\".", - "type": "string" - } - }, - "type": "object" - }, - "ConversionsBatchUpdateResponse": { - "description": "Update Conversions Response.", - "id": "ConversionsBatchUpdateResponse", - "properties": { - "hasFailures": { - "description": "Indicates that some or all conversions failed to update.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchUpdateResponse\".", - "type": "string" - }, - "status": { - "description": "The update status of each conversion. Statuses are returned in the same order that conversions are updated.", - "items": { - "$ref": "ConversionStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "CountriesListResponse": { - "description": "Country List Response", - "id": "CountriesListResponse", - "properties": { - "countries": { - "description": "Country collection.", - "items": { - "$ref": "Country" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#countriesListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "Country": { - "description": "Contains information about a country that can be targeted by ads.", - "id": "Country", - "properties": { - "countryCode": { - "description": "Country code.", - "type": "string" - }, - "dartId": { - "description": "DART ID of this country. This is the ID used for targeting and generating reports.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#country\".", - "type": "string" - }, - "name": { - "description": "Name of this country.", - "type": "string" - }, - "sslEnabled": { - "description": "Whether ad serving supports secure servers in this country.", - "type": "boolean" - } - }, - "type": "object" - }, - "Creative": { - "description": "Contains properties of a Creative.", - "id": "Creative", - "properties": { - "accountId": { - "description": "Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.", - "format": "int64", - "type": "string" - }, - "active": { - "description": "Whether the creative is active. Applicable to all creative types.", - "type": "boolean" - }, - "adParameters": { - "description": "Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.", - "type": "string" - }, - "adTagKeys": { - "description": "Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "additionalSizes": { - "description": "Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE.", - "items": { - "$ref": "Size" - }, - "type": "array" - }, - "advertiserId": { - "description": "Advertiser ID of this creative. This is a required field. Applicable to all creative types.", - "format": "int64", - "type": "string" - }, - "allowScriptAccess": { - "description": "Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.", - "type": "boolean" - }, - "archived": { - "description": "Whether the creative is archived. Applicable to all creative types.", - "type": "boolean" - }, - "artworkType": { - "description": "Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "enum": [ - "ARTWORK_TYPE_FLASH", - "ARTWORK_TYPE_HTML5", - "ARTWORK_TYPE_MIXED", - "ARTWORK_TYPE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "authoringSource": { - "description": "Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types.", - "enum": [ - "CREATIVE_AUTHORING_SOURCE_DCM", - "CREATIVE_AUTHORING_SOURCE_DBM", - "CREATIVE_AUTHORING_SOURCE_STUDIO", - "CREATIVE_AUTHORING_SOURCE_GWD" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "authoringTool": { - "description": "Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", - "enum": [ - "NINJA", - "SWIFFY" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "autoAdvanceImages": { - "description": "Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY.", - "type": "boolean" - }, - "backgroundColor": { - "description": "The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.", - "type": "string" - }, - "backupImageClickThroughUrl": { - "$ref": "CreativeClickThroughUrl", - "description": "Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE." - }, - "backupImageFeatures": { - "description": "List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by Campaign Manager for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "items": { - "enum": [ - "CSS_FONT_FACE", - "CSS_BACKGROUND_SIZE", - "CSS_BORDER_IMAGE", - "CSS_BORDER_RADIUS", - "CSS_BOX_SHADOW", - "CSS_FLEX_BOX", - "CSS_HSLA", - "CSS_MULTIPLE_BGS", - "CSS_OPACITY", - "CSS_RGBA", - "CSS_TEXT_SHADOW", - "CSS_ANIMATIONS", - "CSS_COLUMNS", - "CSS_GENERATED_CONTENT", - "CSS_GRADIENTS", - "CSS_REFLECTIONS", - "CSS_TRANSFORMS", - "CSS_TRANSFORMS3D", - "CSS_TRANSITIONS", - "APPLICATION_CACHE", - "CANVAS", - "CANVAS_TEXT", - "DRAG_AND_DROP", - "HASH_CHANGE", - "HISTORY", - "AUDIO", - "VIDEO", - "INDEXED_DB", - "INPUT_ATTR_AUTOCOMPLETE", - "INPUT_ATTR_AUTOFOCUS", - "INPUT_ATTR_LIST", - "INPUT_ATTR_PLACEHOLDER", - "INPUT_ATTR_MAX", - "INPUT_ATTR_MIN", - "INPUT_ATTR_MULTIPLE", - "INPUT_ATTR_PATTERN", - "INPUT_ATTR_REQUIRED", - "INPUT_ATTR_STEP", - "INPUT_TYPE_SEARCH", - "INPUT_TYPE_TEL", - "INPUT_TYPE_URL", - "INPUT_TYPE_EMAIL", - "INPUT_TYPE_DATETIME", - "INPUT_TYPE_DATE", - "INPUT_TYPE_MONTH", - "INPUT_TYPE_WEEK", - "INPUT_TYPE_TIME", - "INPUT_TYPE_DATETIME_LOCAL", - "INPUT_TYPE_NUMBER", - "INPUT_TYPE_RANGE", - "INPUT_TYPE_COLOR", - "LOCAL_STORAGE", - "POST_MESSAGE", - "SESSION_STORAGE", - "WEB_SOCKETS", - "WEB_SQL_DATABASE", - "WEB_WORKERS", - "GEO_LOCATION", - "INLINE_SVG", - "SMIL", - "SVG_HREF", - "SVG_CLIP_PATHS", - "TOUCH", - "WEBGL", - "SVG_FILTERS", - "SVG_FE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "backupImageReportingLabel": { - "description": "Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE.", - "type": "string" - }, - "backupImageTargetWindow": { - "$ref": "TargetWindow", - "description": "Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE." - }, - "clickTags": { - "description": "Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "items": { - "$ref": "ClickTag" - }, - "type": "array" - }, - "commercialId": { - "description": "Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives.", - "type": "string" - }, - "companionCreatives": { - "description": "List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "compatibility": { - "description": "Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - \"APP\" - \"APP_INTERSTITIAL\" - \"IN_STREAM_VIDEO\" - \"IN_STREAM_AUDIO\" - \"DISPLAY\" - \"DISPLAY_INTERSTITIAL\" ", - "items": { - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "convertFlashToHtml5": { - "description": "Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "type": "boolean" - }, - "counterCustomEvents": { - "description": "List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID.", - "items": { - "$ref": "CreativeCustomEvent" - }, - "type": "array" - }, - "creativeAssetSelection": { - "$ref": "CreativeAssetSelection", - "description": "Required if dynamicAssetSelection is true." - }, - "creativeAssets": { - "description": "Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT", - "items": { - "$ref": "CreativeAsset" - }, - "type": "array" - }, - "creativeFieldAssignments": { - "description": "Creative field assignments for this creative. Applicable to all creative types.", - "items": { - "$ref": "CreativeFieldAssignment" - }, - "type": "array" - }, - "customKeyValues": { - "description": "Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "dynamicAssetSelection": { - "description": "Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives.", - "type": "boolean" - }, - "exitCustomEvents": { - "description": "List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "items": { - "$ref": "CreativeCustomEvent" - }, - "type": "array" - }, - "fsCommand": { - "$ref": "FsCommand", - "description": "OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE." - }, - "htmlCode": { - "description": "HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.", - "type": "string" - }, - "htmlCodeLocked": { - "description": "Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.", - "type": "boolean" - }, - "id": { - "description": "ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creative\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Creative last modification information. This is a read-only field. Applicable to all creative types." - }, - "latestTraffickedCreativeId": { - "description": "Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "format": "int64", - "type": "string" - }, - "mediaDescription": { - "description": "Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID.", - "type": "string" - }, - "mediaDuration": { - "description": "Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID.", - "format": "float", - "type": "number" - }, - "name": { - "description": "Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types.", - "type": "string" - }, - "overrideCss": { - "description": "Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.", - "type": "string" - }, - "progressOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO." - }, - "redirectUrl": { - "description": "URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT", - "type": "string" - }, - "renderingId": { - "description": "ID of current rendering version. This is a read-only field. Applicable to all creative types.", - "format": "int64", - "type": "string" - }, - "renderingIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types." - }, - "requiredFlashPluginVersion": { - "description": "The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "type": "string" - }, - "requiredFlashVersion": { - "description": "The internal Flash version for this creative as calculated by Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "format": "int32", - "type": "integer" - }, - "size": { - "$ref": "Size", - "description": "Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA." - }, - "skipOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO." - }, - "skippable": { - "description": "Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID.", - "type": "boolean" - }, - "sslCompliant": { - "description": "Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.", - "type": "boolean" - }, - "sslOverride": { - "description": "Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types.", - "type": "boolean" - }, - "studioAdvertiserId": { - "description": "Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "format": "int64", - "type": "string" - }, - "studioCreativeId": { - "description": "Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "format": "int64", - "type": "string" - }, - "studioTraffickedCreativeId": { - "description": "Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "format": "int64", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.", - "format": "int64", - "type": "string" - }, - "thirdPartyBackupImageImpressionsUrl": { - "description": "Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA.", - "type": "string" - }, - "thirdPartyRichMediaImpressionsUrl": { - "description": "Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA.", - "type": "string" - }, - "thirdPartyUrls": { - "description": "Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID.", - "items": { - "$ref": "ThirdPartyTrackingUrl" - }, - "type": "array" - }, - "timerCustomEvents": { - "description": "List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE.", - "items": { - "$ref": "CreativeCustomEvent" - }, - "type": "array" - }, - "totalFileSize": { - "description": "Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types.", - "enum": [ - "IMAGE", - "DISPLAY_REDIRECT", - "CUSTOM_DISPLAY", - "INTERNAL_REDIRECT", - "CUSTOM_DISPLAY_INTERSTITIAL", - "INTERSTITIAL_INTERNAL_REDIRECT", - "TRACKING_TEXT", - "RICH_MEDIA_DISPLAY_BANNER", - "RICH_MEDIA_INPAGE_FLOATING", - "RICH_MEDIA_IM_EXPAND", - "RICH_MEDIA_DISPLAY_EXPANDING", - "RICH_MEDIA_DISPLAY_INTERSTITIAL", - "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", - "RICH_MEDIA_MOBILE_IN_APP", - "FLASH_INPAGE", - "INSTREAM_VIDEO", - "VPAID_LINEAR_VIDEO", - "VPAID_NON_LINEAR_VIDEO", - "INSTREAM_VIDEO_REDIRECT", - "RICH_MEDIA_PEEL_DOWN", - "HTML5_BANNER", - "DISPLAY", - "DISPLAY_IMAGE_GALLERY", - "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", - "INSTREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "universalAdId": { - "$ref": "UniversalAdId", - "description": "A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID." - }, - "version": { - "description": "The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "CreativeAsset": { - "description": "Creative Asset.", - "id": "CreativeAsset", - "properties": { - "actionScript3": { - "description": "Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "type": "boolean" - }, - "active": { - "description": "Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "type": "boolean" - }, - "additionalSizes": { - "description": "Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render.", - "items": { - "$ref": "Size" - }, - "type": "array" - }, - "alignment": { - "description": "Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL .", - "enum": [ - "ALIGNMENT_TOP", - "ALIGNMENT_RIGHT", - "ALIGNMENT_BOTTOM", - "ALIGNMENT_LEFT" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "artworkType": { - "description": "Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "ARTWORK_TYPE_FLASH", - "ARTWORK_TYPE_HTML5", - "ARTWORK_TYPE_MIXED", - "ARTWORK_TYPE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "assetIdentifier": { - "$ref": "CreativeAssetId", - "description": "Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT." - }, - "audioBitRate": { - "description": "Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "format": "int32", - "type": "integer" - }, - "audioSampleRate": { - "description": "Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "format": "int32", - "type": "integer" - }, - "backupImageExit": { - "$ref": "CreativeCustomEvent", - "description": "Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA." - }, - "bitRate": { - "description": "Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "format": "int32", - "type": "integer" - }, - "childAssetType": { - "description": "Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.", - "enum": [ - "CHILD_ASSET_TYPE_FLASH", - "CHILD_ASSET_TYPE_VIDEO", - "CHILD_ASSET_TYPE_IMAGE", - "CHILD_ASSET_TYPE_DATA" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "collapsedSize": { - "$ref": "Size", - "description": "Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN." - }, - "companionCreativeIds": { - "description": "List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "customStartTimeValue": { - "description": "Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0.", - "format": "int32", - "type": "integer" - }, - "detectedFeatures": { - "description": "List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "items": { - "enum": [ - "CSS_FONT_FACE", - "CSS_BACKGROUND_SIZE", - "CSS_BORDER_IMAGE", - "CSS_BORDER_RADIUS", - "CSS_BOX_SHADOW", - "CSS_FLEX_BOX", - "CSS_HSLA", - "CSS_MULTIPLE_BGS", - "CSS_OPACITY", - "CSS_RGBA", - "CSS_TEXT_SHADOW", - "CSS_ANIMATIONS", - "CSS_COLUMNS", - "CSS_GENERATED_CONTENT", - "CSS_GRADIENTS", - "CSS_REFLECTIONS", - "CSS_TRANSFORMS", - "CSS_TRANSFORMS3D", - "CSS_TRANSITIONS", - "APPLICATION_CACHE", - "CANVAS", - "CANVAS_TEXT", - "DRAG_AND_DROP", - "HASH_CHANGE", - "HISTORY", - "AUDIO", - "VIDEO", - "INDEXED_DB", - "INPUT_ATTR_AUTOCOMPLETE", - "INPUT_ATTR_AUTOFOCUS", - "INPUT_ATTR_LIST", - "INPUT_ATTR_PLACEHOLDER", - "INPUT_ATTR_MAX", - "INPUT_ATTR_MIN", - "INPUT_ATTR_MULTIPLE", - "INPUT_ATTR_PATTERN", - "INPUT_ATTR_REQUIRED", - "INPUT_ATTR_STEP", - "INPUT_TYPE_SEARCH", - "INPUT_TYPE_TEL", - "INPUT_TYPE_URL", - "INPUT_TYPE_EMAIL", - "INPUT_TYPE_DATETIME", - "INPUT_TYPE_DATE", - "INPUT_TYPE_MONTH", - "INPUT_TYPE_WEEK", - "INPUT_TYPE_TIME", - "INPUT_TYPE_DATETIME_LOCAL", - "INPUT_TYPE_NUMBER", - "INPUT_TYPE_RANGE", - "INPUT_TYPE_COLOR", - "LOCAL_STORAGE", - "POST_MESSAGE", - "SESSION_STORAGE", - "WEB_SOCKETS", - "WEB_SQL_DATABASE", - "WEB_WORKERS", - "GEO_LOCATION", - "INLINE_SVG", - "SMIL", - "SVG_HREF", - "SVG_CLIP_PATHS", - "TOUCH", - "WEBGL", - "SVG_FILTERS", - "SVG_FE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "displayType": { - "description": "Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "ASSET_DISPLAY_TYPE_INPAGE", - "ASSET_DISPLAY_TYPE_FLOATING", - "ASSET_DISPLAY_TYPE_OVERLAY", - "ASSET_DISPLAY_TYPE_EXPANDING", - "ASSET_DISPLAY_TYPE_FLASH_IN_FLASH", - "ASSET_DISPLAY_TYPE_FLASH_IN_FLASH_EXPANDING", - "ASSET_DISPLAY_TYPE_PEEL_DOWN", - "ASSET_DISPLAY_TYPE_VPAID_LINEAR", - "ASSET_DISPLAY_TYPE_VPAID_NON_LINEAR", - "ASSET_DISPLAY_TYPE_BACKDROP" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "duration": { - "description": "Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1.", - "format": "int32", - "type": "integer" - }, - "durationType": { - "description": "Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "ASSET_DURATION_TYPE_AUTO", - "ASSET_DURATION_TYPE_NONE", - "ASSET_DURATION_TYPE_CUSTOM" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "expandedDimension": { - "$ref": "Size", - "description": "Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID." - }, - "fileSize": { - "description": "File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", - "format": "int64", - "type": "string" - }, - "flashVersion": { - "description": "Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "format": "int32", - "type": "integer" - }, - "frameRate": { - "description": "Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", - "format": "float", - "type": "number" - }, - "hideFlashObjects": { - "description": "Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.", - "type": "boolean" - }, - "hideSelectionBoxes": { - "description": "Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.", - "type": "boolean" - }, - "horizontallyLocked": { - "description": "Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", - "type": "boolean" - }, - "id": { - "description": "Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the asset. This is a read-only, auto-generated field." - }, - "mediaDuration": { - "description": "Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "format": "float", - "type": "number" - }, - "mimeType": { - "description": "Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "type": "string" - }, - "offset": { - "$ref": "OffsetPosition", - "description": "Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN." - }, - "orientation": { - "description": "Orientation of video asset. This is a read-only, auto-generated field.", - "enum": [ - "LANDSCAPE", - "PORTRAIT", - "SQUARE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "originalBackup": { - "description": "Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA.", - "type": "boolean" - }, - "politeLoad": { - "description": "Whether this asset is used as a polite load asset.", - "type": "boolean" - }, - "position": { - "$ref": "OffsetPosition", - "description": "Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA." - }, - "positionLeftUnit": { - "description": "Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "OFFSET_UNIT_PIXEL", - "OFFSET_UNIT_PERCENT", - "OFFSET_UNIT_PIXEL_FROM_CENTER" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "positionTopUnit": { - "description": "Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "OFFSET_UNIT_PIXEL", - "OFFSET_UNIT_PERCENT", - "OFFSET_UNIT_PIXEL_FROM_CENTER" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "progressiveServingUrl": { - "description": "Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", - "type": "string" - }, - "pushdown": { - "description": "Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.", - "type": "boolean" - }, - "pushdownDuration": { - "description": "Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive.", - "format": "float", - "type": "number" - }, - "role": { - "description": "Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. ", - "enum": [ - "PRIMARY", - "BACKUP_IMAGE", - "ADDITIONAL_IMAGE", - "ADDITIONAL_FLASH", - "PARENT_VIDEO", - "TRANSCODED_VIDEO", - "OTHER", - "ALTERNATE_VIDEO", - "PARENT_AUDIO", - "TRANSCODED_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "size": { - "$ref": "Size", - "description": "Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE." - }, - "sslCompliant": { - "description": "Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", - "type": "boolean" - }, - "startTimeType": { - "description": "Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "ASSET_START_TIME_TYPE_NONE", - "ASSET_START_TIME_TYPE_CUSTOM" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "streamingServingUrl": { - "description": "Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", - "type": "string" - }, - "transparency": { - "description": "Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.", - "type": "boolean" - }, - "verticallyLocked": { - "description": "Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", - "type": "boolean" - }, - "windowMode": { - "description": "Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING.", - "enum": [ - "OPAQUE", - "WINDOW", - "TRANSPARENT" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "zIndex": { - "description": "zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive.", - "format": "int32", - "type": "integer" - }, - "zipFilename": { - "description": "File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", - "type": "string" - }, - "zipFilesize": { - "description": "Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeAssetId": { - "description": "Creative Asset ID.", - "id": "CreativeAssetId", - "properties": { - "name": { - "description": "Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: \".-_ \". Spaces are allowed.", - "type": "string" - }, - "type": { - "description": "Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE.", - "enum": [ - "IMAGE", - "FLASH", - "VIDEO", - "HTML", - "HTML_IMAGE", - "AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "CreativeAssetMetadata": { - "description": "CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.", - "id": "CreativeAssetMetadata", - "properties": { - "assetIdentifier": { - "$ref": "CreativeAssetId", - "description": "ID of the creative asset. This is a required field." - }, - "clickTags": { - "description": "List of detected click tags for assets. This is a read-only, auto-generated field. This field is empty for a rich media asset.", - "items": { - "$ref": "ClickTag" - }, - "type": "array" - }, - "detectedFeatures": { - "description": "List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field.", - "items": { - "enum": [ - "CSS_FONT_FACE", - "CSS_BACKGROUND_SIZE", - "CSS_BORDER_IMAGE", - "CSS_BORDER_RADIUS", - "CSS_BOX_SHADOW", - "CSS_FLEX_BOX", - "CSS_HSLA", - "CSS_MULTIPLE_BGS", - "CSS_OPACITY", - "CSS_RGBA", - "CSS_TEXT_SHADOW", - "CSS_ANIMATIONS", - "CSS_COLUMNS", - "CSS_GENERATED_CONTENT", - "CSS_GRADIENTS", - "CSS_REFLECTIONS", - "CSS_TRANSFORMS", - "CSS_TRANSFORMS3D", - "CSS_TRANSITIONS", - "APPLICATION_CACHE", - "CANVAS", - "CANVAS_TEXT", - "DRAG_AND_DROP", - "HASH_CHANGE", - "HISTORY", - "AUDIO", - "VIDEO", - "INDEXED_DB", - "INPUT_ATTR_AUTOCOMPLETE", - "INPUT_ATTR_AUTOFOCUS", - "INPUT_ATTR_LIST", - "INPUT_ATTR_PLACEHOLDER", - "INPUT_ATTR_MAX", - "INPUT_ATTR_MIN", - "INPUT_ATTR_MULTIPLE", - "INPUT_ATTR_PATTERN", - "INPUT_ATTR_REQUIRED", - "INPUT_ATTR_STEP", - "INPUT_TYPE_SEARCH", - "INPUT_TYPE_TEL", - "INPUT_TYPE_URL", - "INPUT_TYPE_EMAIL", - "INPUT_TYPE_DATETIME", - "INPUT_TYPE_DATE", - "INPUT_TYPE_MONTH", - "INPUT_TYPE_WEEK", - "INPUT_TYPE_TIME", - "INPUT_TYPE_DATETIME_LOCAL", - "INPUT_TYPE_NUMBER", - "INPUT_TYPE_RANGE", - "INPUT_TYPE_COLOR", - "LOCAL_STORAGE", - "POST_MESSAGE", - "SESSION_STORAGE", - "WEB_SOCKETS", - "WEB_SQL_DATABASE", - "WEB_WORKERS", - "GEO_LOCATION", - "INLINE_SVG", - "SMIL", - "SVG_HREF", - "SVG_CLIP_PATHS", - "TOUCH", - "WEBGL", - "SVG_FILTERS", - "SVG_FE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "id": { - "description": "Numeric ID of the asset. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the numeric ID of the asset. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeAssetMetadata\".", - "type": "string" - }, - "warnedValidationRules": { - "description": "Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. Possible values are: - \"ADMOB_REFERENCED\" - \"ASSET_FORMAT_UNSUPPORTED_DCM\" - \"ASSET_INVALID\" - \"CLICK_TAG_HARD_CODED\" - \"CLICK_TAG_INVALID\" - \"CLICK_TAG_IN_GWD\" - \"CLICK_TAG_MISSING\" - \"CLICK_TAG_MORE_THAN_ONE\" - \"CLICK_TAG_NON_TOP_LEVEL\" - \"COMPONENT_UNSUPPORTED_DCM\" - \"ENABLER_UNSUPPORTED_METHOD_DCM\" - \"EXTERNAL_FILE_REFERENCED\" - \"FILE_DETAIL_EMPTY\" - \"FILE_TYPE_INVALID\" - \"GWD_PROPERTIES_INVALID\" - \"HTML5_FEATURE_UNSUPPORTED\" - \"LINKED_FILE_NOT_FOUND\" - \"MAX_FLASH_VERSION_11\" - \"MRAID_REFERENCED\" - \"NOT_SSL_COMPLIANT\" - \"ORPHANED_ASSET\" - \"PRIMARY_HTML_MISSING\" - \"SVG_INVALID\" - \"ZIP_INVALID\" ", - "items": { - "enum": [ - "CLICK_TAG_NON_TOP_LEVEL", - "CLICK_TAG_MISSING", - "CLICK_TAG_MORE_THAN_ONE", - "CLICK_TAG_INVALID", - "ORPHANED_ASSET", - "PRIMARY_HTML_MISSING", - "EXTERNAL_FILE_REFERENCED", - "MRAID_REFERENCED", - "ADMOB_REFERENCED", - "FILE_TYPE_INVALID", - "ZIP_INVALID", - "LINKED_FILE_NOT_FOUND", - "MAX_FLASH_VERSION_11", - "NOT_SSL_COMPLIANT", - "FILE_DETAIL_EMPTY", - "ASSET_INVALID", - "GWD_PROPERTIES_INVALID", - "ENABLER_UNSUPPORTED_METHOD_DCM", - "ASSET_FORMAT_UNSUPPORTED_DCM", - "COMPONENT_UNSUPPORTED_DCM", - "HTML5_FEATURE_UNSUPPORTED", - "CLICK_TAG_IN_GWD", - "CLICK_TAG_HARD_CODED", - "SVG_INVALID", - "CLICK_TAG_IN_RICH_MEDIA" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CreativeAssetSelection": { - "description": "Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives.", - "id": "CreativeAssetSelection", - "properties": { - "defaultAssetId": { - "description": "A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field.", - "format": "int64", - "type": "string" - }, - "rules": { - "description": "Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives.", - "items": { - "$ref": "Rule" - }, - "type": "array" - } - }, - "type": "object" - }, - "CreativeAssignment": { - "description": "Creative Assignment.", - "id": "CreativeAssignment", - "properties": { - "active": { - "description": "Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.", - "type": "boolean" - }, - "applyEventTags": { - "description": "Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.", - "type": "boolean" - }, - "clickThroughUrl": { - "$ref": "ClickThroughUrl", - "description": "Click-through URL of the creative assignment." - }, - "companionCreativeOverrides": { - "description": "Companion creative overrides for this creative assignment. Applicable to video ads.", - "items": { - "$ref": "CompanionClickThroughOverride" - }, - "type": "array" - }, - "creativeGroupAssignments": { - "description": "Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.", - "items": { - "$ref": "CreativeGroupAssignment" - }, - "type": "array" - }, - "creativeId": { - "description": "ID of the creative to be assigned. This is a required field.", - "format": "int64", - "type": "string" - }, - "creativeIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the creative. This is a read-only, auto-generated field." - }, - "endTime": { - "format": "date-time", - "type": "string" - }, - "richMediaExitOverrides": { - "description": "Rich media exit overrides for this creative assignment. Applicable when the creative type is any of the following: - DISPLAY - RICH_MEDIA_INPAGE - RICH_MEDIA_INPAGE_FLOATING - RICH_MEDIA_IM_EXPAND - RICH_MEDIA_EXPANDING - RICH_MEDIA_INTERSTITIAL_FLOAT - RICH_MEDIA_MOBILE_IN_APP - RICH_MEDIA_MULTI_FLOATING - RICH_MEDIA_PEEL_DOWN - VPAID_LINEAR - VPAID_NON_LINEAR ", - "items": { - "$ref": "RichMediaExitOverride" - }, - "type": "array" - }, - "sequence": { - "description": "Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to 65535, inclusive.", - "format": "int32", - "type": "integer" - }, - "sslCompliant": { - "description": "Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.", - "type": "boolean" - }, - "startTime": { - "format": "date-time", - "type": "string" - }, - "weight": { - "description": "Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "CreativeClickThroughUrl": { - "description": "Click-through URL", - "id": "CreativeClickThroughUrl", - "properties": { - "computedClickThroughUrl": { - "description": "Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. ", - "type": "string" - }, - "customClickThroughUrl": { - "description": "Custom click-through URL. Applicable if the landingPageId field is left unset.", - "type": "string" - }, - "landingPageId": { - "description": "ID of the landing page for the click-through URL.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CreativeCustomEvent": { - "description": "Creative Custom Event.", - "id": "CreativeCustomEvent", - "properties": { - "advertiserCustomEventId": { - "description": "Unique ID of this event used by Reporting and Data Transfer. This is a read-only field.", - "format": "int64", - "type": "string" - }, - "advertiserCustomEventName": { - "description": "User-entered name for the event.", - "type": "string" - }, - "advertiserCustomEventType": { - "description": "Type of the event. This is a read-only field.", - "enum": [ - "ADVERTISER_EVENT_TIMER", - "ADVERTISER_EVENT_EXIT", - "ADVERTISER_EVENT_COUNTER" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "artworkLabel": { - "description": "Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion.", - "type": "string" - }, - "artworkType": { - "description": "Artwork type used by the creative.This is a read-only field.", - "enum": [ - "ARTWORK_TYPE_FLASH", - "ARTWORK_TYPE_HTML5", - "ARTWORK_TYPE_MIXED", - "ARTWORK_TYPE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "exitClickThroughUrl": { - "$ref": "CreativeClickThroughUrl", - "description": "Exit click-through URL for the event. This field is used only for exit events." - }, - "id": { - "description": "ID of this event. This is a required field and should not be modified after insertion.", - "format": "int64", - "type": "string" - }, - "popupWindowProperties": { - "$ref": "PopupWindowProperties", - "description": "Properties for rich media popup windows. This field is used only for exit events." - }, - "targetType": { - "description": "Target type used by the event.", - "enum": [ - "TARGET_BLANK", - "TARGET_TOP", - "TARGET_SELF", - "TARGET_PARENT", - "TARGET_POPUP" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "videoReportingId": { - "description": "Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeField": { - "description": "Contains properties of a creative field.", - "id": "CreativeField", - "properties": { - "accountId": { - "description": "Account ID of this creative field. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this creative field. This is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "id": { - "description": "ID of this creative field. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeField\".", - "type": "string" - }, - "name": { - "description": "Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this creative field. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CreativeFieldAssignment": { - "description": "Creative Field Assignment.", - "id": "CreativeFieldAssignment", - "properties": { - "creativeFieldId": { - "description": "ID of the creative field.", - "format": "int64", - "type": "string" - }, - "creativeFieldValueId": { - "description": "ID of the creative field value.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CreativeFieldValue": { - "description": "Contains properties of a creative field value.", - "id": "CreativeFieldValue", - "properties": { - "id": { - "description": "ID of this creative field value. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldValue\".", - "type": "string" - }, - "value": { - "description": "Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeFieldValuesListResponse": { - "description": "Creative Field Value List Response", - "id": "CreativeFieldValuesListResponse", - "properties": { - "creativeFieldValues": { - "description": "Creative field value collection.", - "items": { - "$ref": "CreativeFieldValue" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldValuesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeFieldsListResponse": { - "description": "Creative Field List Response", - "id": "CreativeFieldsListResponse", - "properties": { - "creativeFields": { - "description": "Creative field collection.", - "items": { - "$ref": "CreativeField" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeGroup": { - "description": "Contains properties of a creative group.", - "id": "CreativeGroup", - "properties": { - "accountId": { - "description": "Account ID of this creative group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this creative group. This is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "groupNumber": { - "description": "Subgroup of the creative group. Assign your creative groups to a subgroup in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion. Acceptable values are 1 to 2, inclusive.", - "format": "int32", - "type": "integer" - }, - "id": { - "description": "ID of this creative group. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeGroup\".", - "type": "string" - }, - "name": { - "description": "Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this creative group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CreativeGroupAssignment": { - "description": "Creative Group Assignment.", - "id": "CreativeGroupAssignment", - "properties": { - "creativeGroupId": { - "description": "ID of the creative group to be assigned.", - "format": "int64", - "type": "string" - }, - "creativeGroupNumber": { - "description": "Creative group number of the creative group assignment.", - "enum": [ - "CREATIVE_GROUP_ONE", - "CREATIVE_GROUP_TWO" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "CreativeGroupsListResponse": { - "description": "Creative Group List Response", - "id": "CreativeGroupsListResponse", - "properties": { - "creativeGroups": { - "description": "Creative group collection.", - "items": { - "$ref": "CreativeGroup" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeGroupsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeOptimizationConfiguration": { - "description": "Creative optimization settings.", - "id": "CreativeOptimizationConfiguration", - "properties": { - "id": { - "description": "ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this creative optimization config. This is a required field and must be less than 129 characters long.", - "type": "string" - }, - "optimizationActivitys": { - "description": "List of optimization activities associated with this configuration.", - "items": { - "$ref": "OptimizationActivity" - }, - "type": "array" - }, - "optimizationModel": { - "description": "Optimization model for this configuration.", - "enum": [ - "CLICK", - "POST_CLICK", - "POST_IMPRESSION", - "POST_CLICK_AND_IMPRESSION", - "VIDEO_COMPLETION" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "CreativeRotation": { - "description": "Creative Rotation.", - "id": "CreativeRotation", - "properties": { - "creativeAssignments": { - "description": "Creative assignments in this creative rotation.", - "items": { - "$ref": "CreativeAssignment" - }, - "type": "array" - }, - "creativeOptimizationConfigurationId": { - "description": "Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "Type of creative rotation. Can be used to specify whether to use sequential or random rotation.", - "enum": [ - "CREATIVE_ROTATION_TYPE_SEQUENTIAL", - "CREATIVE_ROTATION_TYPE_RANDOM" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "weightCalculationStrategy": { - "description": "Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.", - "enum": [ - "WEIGHT_STRATEGY_EQUAL", - "WEIGHT_STRATEGY_CUSTOM", - "WEIGHT_STRATEGY_HIGHEST_CTR", - "WEIGHT_STRATEGY_OPTIMIZED" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "CreativesListResponse": { - "description": "Creative List Response", - "id": "CreativesListResponse", - "properties": { - "creatives": { - "description": "Creative collection.", - "items": { - "$ref": "Creative" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "CrossDimensionReachReportCompatibleFields": { - "description": "Represents fields that are compatible to be selected for a report of type \"CROSS_DIMENSION_REACH\".", - "id": "CrossDimensionReachReportCompatibleFields", - "properties": { - "breakdown": { - "description": "Dimensions which are compatible to be selected in the \"breakdown\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "dimensionFilters": { - "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#crossDimensionReachReportCompatibleFields.", - "type": "string" - }, - "metrics": { - "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "overlapMetrics": { - "description": "Metrics which are compatible to be selected in the \"overlapMetricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomFloodlightVariable": { - "description": "A custom floodlight variable. This field may only be used when calling batchinsert; it is not supported by batchupdate.", - "id": "CustomFloodlightVariable", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customFloodlightVariable\".", - "type": "string" - }, - "type": { - "description": "The type of custom floodlight variable to supply a value for. These map to the \"u[1-20]=\" in the tags.", - "enum": [ - "U1", - "U2", - "U3", - "U4", - "U5", - "U6", - "U7", - "U8", - "U9", - "U10", - "U11", - "U12", - "U13", - "U14", - "U15", - "U16", - "U17", - "U18", - "U19", - "U20", - "U21", - "U22", - "U23", - "U24", - "U25", - "U26", - "U27", - "U28", - "U29", - "U30", - "U31", - "U32", - "U33", - "U34", - "U35", - "U36", - "U37", - "U38", - "U39", - "U40", - "U41", - "U42", - "U43", - "U44", - "U45", - "U46", - "U47", - "U48", - "U49", - "U50", - "U51", - "U52", - "U53", - "U54", - "U55", - "U56", - "U57", - "U58", - "U59", - "U60", - "U61", - "U62", - "U63", - "U64", - "U65", - "U66", - "U67", - "U68", - "U69", - "U70", - "U71", - "U72", - "U73", - "U74", - "U75", - "U76", - "U77", - "U78", - "U79", - "U80", - "U81", - "U82", - "U83", - "U84", - "U85", - "U86", - "U87", - "U88", - "U89", - "U90", - "U91", - "U92", - "U93", - "U94", - "U95", - "U96", - "U97", - "U98", - "U99", - "U100" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "value": { - "description": "The value of the custom floodlight variable. The length of string must not exceed 100 characters.", - "type": "string" - } - }, - "type": "object" - }, - "CustomRichMediaEvents": { - "description": "Represents a Custom Rich Media Events group.", - "id": "CustomRichMediaEvents", - "properties": { - "filteredEventIds": { - "description": "List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#customRichMediaEvents.", - "type": "string" - } - }, - "type": "object" - }, - "CustomViewabilityMetric": { - "description": "Custom Viewability Metric", - "id": "CustomViewabilityMetric", - "properties": { - "configuration": { - "$ref": "CustomViewabilityMetricConfiguration", - "description": "Configuration of the custom viewability metric." - }, - "id": { - "description": "ID of the custom viewability metric.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of the custom viewability metric.", - "type": "string" - } - }, - "type": "object" - }, - "CustomViewabilityMetricConfiguration": { - "description": "The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric.", - "id": "CustomViewabilityMetricConfiguration", - "properties": { - "audible": { - "description": "Whether the video must be audible to count an impression.", - "type": "boolean" - }, - "timeMillis": { - "description": "The time in milliseconds the video must play for the Custom Viewability Metric to count an impression. If both this and timePercent are specified, the earlier of the two will be used.", - "format": "int32", - "type": "integer" - }, - "timePercent": { - "description": "The percentage of video that must play for the Custom Viewability Metric to count an impression. If both this and timeMillis are specified, the earlier of the two will be used.", - "format": "int32", - "type": "integer" - }, - "viewabilityPercent": { - "description": "The percentage of video that must be on screen for the Custom Viewability Metric to count an impression.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "DateRange": { - "description": "Represents a date range.", - "id": "DateRange", - "properties": { - "endDate": { - "format": "date", - "type": "string" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#dateRange.", - "type": "string" - }, - "relativeDateRange": { - "description": "The date range relative to the date of when the report is run.", - "enum": [ - "TODAY", - "YESTERDAY", - "WEEK_TO_DATE", - "MONTH_TO_DATE", - "QUARTER_TO_DATE", - "YEAR_TO_DATE", - "PREVIOUS_WEEK", - "PREVIOUS_MONTH", - "PREVIOUS_QUARTER", - "PREVIOUS_YEAR", - "LAST_7_DAYS", - "LAST_30_DAYS", - "LAST_90_DAYS", - "LAST_365_DAYS", - "LAST_24_MONTHS", - "LAST_14_DAYS", - "LAST_60_DAYS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - } - }, - "type": "object" - }, - "DayPartTargeting": { - "description": "Day Part Targeting.", - "id": "DayPartTargeting", - "properties": { - "daysOfWeek": { - "description": "Days of the week when the ad will serve. Acceptable values are: - \"SUNDAY\" - \"MONDAY\" - \"TUESDAY\" - \"WEDNESDAY\" - \"THURSDAY\" - \"FRIDAY\" - \"SATURDAY\" ", - "items": { - "enum": [ - "MONDAY", - "TUESDAY", - "WEDNESDAY", - "THURSDAY", - "FRIDAY", - "SATURDAY", - "SUNDAY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "hoursOfDay": { - "description": "Hours of the day when the ad will serve, where 0 is midnight to 1 AM and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. Acceptable values are 0 to 23, inclusive.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "userLocalTime": { - "description": "Whether or not to use the user's local time. If false, the America/New York time zone applies.", - "type": "boolean" - } - }, - "type": "object" - }, - "DeepLink": { - "description": "Contains information about a landing page deep link.", - "id": "DeepLink", - "properties": { - "appUrl": { - "description": "The URL of the mobile app being linked to.", - "type": "string" - }, - "fallbackUrl": { - "description": "The fallback URL. This URL will be served to users who do not have the mobile app installed.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#deepLink\".", - "type": "string" - }, - "mobileApp": { - "$ref": "MobileApp", - "description": "The mobile app targeted by this deep link." - }, - "remarketingListIds": { - "description": "Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "DefaultClickThroughEventTagProperties": { - "description": "Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further.", - "id": "DefaultClickThroughEventTagProperties", - "properties": { - "defaultClickThroughEventTagId": { - "description": "ID of the click-through event tag to apply to all ads in this entity's scope.", - "format": "int64", - "type": "string" - }, - "overrideInheritedEventTag": { - "description": "Whether this entity should override the inherited default click-through event tag with its own defined value.", - "type": "boolean" - } - }, - "type": "object" - }, - "DeliverySchedule": { - "description": "Delivery Schedule.", - "id": "DeliverySchedule", - "properties": { - "frequencyCap": { - "$ref": "FrequencyCap", - "description": "Limit on the number of times an individual user can be served the ad within a specified period of time." - }, - "hardCutoff": { - "description": "Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.", - "type": "boolean" - }, - "impressionRatio": { - "description": "Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then Campaign Manager will serve ad B three times as often as ad A. Acceptable values are 1 to 10, inclusive.", - "format": "int64", - "type": "string" - }, - "priority": { - "description": "Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.", - "enum": [ - "AD_PRIORITY_01", - "AD_PRIORITY_02", - "AD_PRIORITY_03", - "AD_PRIORITY_04", - "AD_PRIORITY_05", - "AD_PRIORITY_06", - "AD_PRIORITY_07", - "AD_PRIORITY_08", - "AD_PRIORITY_09", - "AD_PRIORITY_10", - "AD_PRIORITY_11", - "AD_PRIORITY_12", - "AD_PRIORITY_13", - "AD_PRIORITY_14", - "AD_PRIORITY_15", - "AD_PRIORITY_16" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "DfpSettings": { - "description": "Google Ad Manager Settings", - "id": "DfpSettings", - "properties": { - "dfpNetworkCode": { - "description": "Ad Manager network code for this directory site.", - "type": "string" - }, - "dfpNetworkName": { - "description": "Ad Manager network name for this directory site.", - "type": "string" - }, - "programmaticPlacementAccepted": { - "description": "Whether this directory site accepts programmatic placements.", - "type": "boolean" - }, - "pubPaidPlacementAccepted": { - "description": "Whether this directory site accepts publisher-paid tags.", - "type": "boolean" - }, - "publisherPortalOnly": { - "description": "Whether this directory site is available only via Publisher Portal.", - "type": "boolean" - } - }, - "type": "object" - }, - "Dimension": { - "description": "Represents a dimension.", - "id": "Dimension", - "properties": { - "kind": { - "description": "The kind of resource this is, in this case dfareporting#dimension.", - "type": "string" - }, - "name": { - "description": "The dimension name, e.g. dfa:advertiser", - "type": "string" - } - }, - "type": "object" - }, - "DimensionFilter": { - "description": "Represents a dimension filter.", - "id": "DimensionFilter", - "properties": { - "dimensionName": { - "description": "The name of the dimension to filter.", - "type": "string" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#dimensionFilter.", - "type": "string" - }, - "value": { - "description": "The value of the dimension to filter.", - "type": "string" - } - }, - "type": "object" - }, - "DimensionValue": { - "description": "Represents a DimensionValue resource.", - "id": "DimensionValue", - "properties": { - "dimensionName": { - "description": "The name of the dimension.", - "type": "string" - }, - "etag": { - "description": "The eTag of this response for caching purposes.", - "type": "string" - }, - "id": { - "description": "The ID associated with the value if available.", - "type": "string" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#dimensionValue.", - "type": "string" - }, - "matchType": { - "description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.", - "enum": [ - "EXACT", - "BEGINS_WITH", - "CONTAINS", - "WILDCARD_EXPRESSION" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "value": { - "description": "The value of the dimension.", - "type": "string" - } - }, - "type": "object" - }, - "DimensionValueList": { - "description": "Represents the list of DimensionValue resources.", - "id": "DimensionValueList", - "properties": { - "etag": { - "description": "The eTag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The dimension values returned in this response.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "kind": { - "description": "The kind of list this is, in this case dfareporting#dimensionValueList.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through dimension values. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", - "type": "string" - } - }, - "type": "object" - }, - "DimensionValueRequest": { - "description": "Represents a DimensionValuesRequest.", - "id": "DimensionValueRequest", - "properties": { - "dimensionName": { - "annotations": { - "required": [ - "dfareporting.dimensionValues.query" - ] - }, - "description": "The name of the dimension for which values should be requested.", - "type": "string" - }, - "endDate": { - "format": "date", - "type": "string" - }, - "filters": { - "description": "The list of filters by which to filter values. The filters are ANDed.", - "items": { - "$ref": "DimensionFilter" - }, - "type": "array" - }, - "kind": { - "description": "The kind of request this is, in this case dfareporting#dimensionValueRequest .", - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - } - }, - "type": "object" - }, - "DirectorySite": { - "description": "DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.", - "id": "DirectorySite", - "properties": { - "active": { - "description": "Whether this directory site is active.", - "type": "boolean" - }, - "id": { - "description": "ID of this directory site. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this directory site. This is a read-only, auto-generated field." - }, - "inpageTagFormats": { - "description": "Tag types for regular placements. Acceptable values are: - \"STANDARD\" - \"IFRAME_JAVASCRIPT_INPAGE\" - \"INTERNAL_REDIRECT_INPAGE\" - \"JAVASCRIPT_INPAGE\" ", - "items": { - "enum": [ - "STANDARD", - "IFRAME_JAVASCRIPT_INPAGE", - "INTERNAL_REDIRECT_INPAGE", - "JAVASCRIPT_INPAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "interstitialTagFormats": { - "description": "Tag types for interstitial placements. Acceptable values are: - \"IFRAME_JAVASCRIPT_INTERSTITIAL\" - \"INTERNAL_REDIRECT_INTERSTITIAL\" - \"JAVASCRIPT_INTERSTITIAL\" ", - "items": { - "enum": [ - "IFRAME_JAVASCRIPT_INTERSTITIAL", - "INTERNAL_REDIRECT_INTERSTITIAL", - "JAVASCRIPT_INTERSTITIAL" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySite\".", - "type": "string" - }, - "name": { - "description": "Name of this directory site.", - "type": "string" - }, - "settings": { - "$ref": "DirectorySiteSettings", - "description": "Directory site settings." - }, - "url": { - "description": "URL of this directory site.", - "type": "string" - } - }, - "type": "object" - }, - "DirectorySiteSettings": { - "description": "Directory Site Settings", - "id": "DirectorySiteSettings", - "properties": { - "activeViewOptOut": { - "description": "Whether this directory site has disabled active view creatives.", - "type": "boolean" - }, - "dfpSettings": { - "$ref": "DfpSettings", - "description": "Directory site Ad Manager settings." - }, - "instreamVideoPlacementAccepted": { - "description": "Whether this site accepts in-stream video ads.", - "type": "boolean" - }, - "interstitialPlacementAccepted": { - "description": "Whether this site accepts interstitial ads.", - "type": "boolean" - } - }, - "type": "object" - }, - "DirectorySitesListResponse": { - "description": "Directory Site List Response", - "id": "DirectorySitesListResponse", - "properties": { - "directorySites": { - "description": "Directory site collection.", - "items": { - "$ref": "DirectorySite" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySitesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "DynamicTargetingKey": { - "description": "Contains properties of a dynamic targeting key. Dynamic targeting keys are unique, user-friendly labels, created at the advertiser level in DCM, that can be assigned to ads, creatives, and placements and used for targeting with Studio dynamic creatives. Use these labels instead of numeric Campaign Manager IDs (such as placement IDs) to save time and avoid errors in your dynamic feeds.", - "id": "DynamicTargetingKey", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicTargetingKey\".", - "type": "string" - }, - "name": { - "description": "Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase.", - "type": "string" - }, - "objectId": { - "description": "ID of the object of this dynamic targeting key. This is a required field.", - "format": "int64", - "type": "string" - }, - "objectType": { - "description": "Type of the object of this dynamic targeting key. This is a required field.", - "enum": [ - "OBJECT_ADVERTISER", - "OBJECT_AD", - "OBJECT_CREATIVE", - "OBJECT_PLACEMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "DynamicTargetingKeysListResponse": { - "description": "Dynamic Targeting Key List Response", - "id": "DynamicTargetingKeysListResponse", - "properties": { - "dynamicTargetingKeys": { - "description": "Dynamic targeting key collection.", - "items": { - "$ref": "DynamicTargetingKey" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicTargetingKeysListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "EncryptionInfo": { - "description": "A description of how user IDs are encrypted.", - "id": "EncryptionInfo", - "properties": { - "encryptionEntityId": { - "description": "The encryption entity ID. This should match the encryption configuration for ad serving or Data Transfer.", - "format": "int64", - "type": "string" - }, - "encryptionEntityType": { - "description": "The encryption entity type. This should match the encryption configuration for ad serving or Data Transfer.", - "enum": [ - "ENCRYPTION_ENTITY_TYPE_UNKNOWN", - "DCM_ACCOUNT", - "DCM_ADVERTISER", - "DBM_PARTNER", - "DBM_ADVERTISER", - "ADWORDS_CUSTOMER", - "DFP_NETWORK_CODE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "encryptionSource": { - "description": "Describes whether the encrypted cookie was received from ad serving (the %m macro) or from Data Transfer.", - "enum": [ - "ENCRYPTION_SCOPE_UNKNOWN", - "AD_SERVING", - "DATA_TRANSFER" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#encryptionInfo\".", - "type": "string" - } - }, - "type": "object" - }, - "EventTag": { - "description": "Contains properties of an event tag.", - "id": "EventTag", - "properties": { - "accountId": { - "description": "Account ID of this event tag. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this event tag. This field or the campaignId field is required on insertion.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "campaignId": { - "description": "Campaign ID of this event tag. This field or the advertiserId field is required on insertion.", - "format": "int64", - "type": "string" - }, - "campaignIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." - }, - "enabledByDefault": { - "description": "Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.", - "type": "boolean" - }, - "excludeFromAdxRequests": { - "description": "Whether to remove this event tag from ads that are trafficked through Display & Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.", - "type": "boolean" - }, - "id": { - "description": "ID of this event tag. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#eventTag\".", - "type": "string" - }, - "name": { - "description": "Name of this event tag. This is a required field and must be less than 256 characters long.", - "type": "string" - }, - "siteFilterType": { - "description": "Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.", - "enum": [ - "WHITELIST", - "BLACKLIST" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "siteIds": { - "description": "Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "sslCompliant": { - "description": "Whether this tag is SSL-compliant or not. This is a read-only field.", - "type": "boolean" - }, - "status": { - "description": "Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.", - "enum": [ - "ENABLED", - "DISABLED" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this event tag. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.", - "enum": [ - "IMPRESSION_IMAGE_EVENT_TAG", - "IMPRESSION_JAVASCRIPT_EVENT_TAG", - "CLICK_THROUGH_EVENT_TAG" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "url": { - "description": "Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.", - "type": "string" - }, - "urlEscapeLevels": { - "description": "Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "EventTagOverride": { - "description": "Event tag override information.", - "id": "EventTagOverride", - "properties": { - "enabled": { - "description": "Whether this override is enabled.", - "type": "boolean" - }, - "id": { - "description": "ID of this event tag override. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "EventTagsListResponse": { - "description": "Event Tag List Response", - "id": "EventTagsListResponse", - "properties": { - "eventTags": { - "description": "Event tag collection.", - "items": { - "$ref": "EventTag" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#eventTagsListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "File": { - "description": "Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is \"REPORT_AVAILABLE\".", - "id": "File", - "properties": { - "dateRange": { - "$ref": "DateRange", - "description": "The date range for which the file has report data. The date range will always be the absolute date range for which the report is run." - }, - "etag": { - "description": "Etag of this resource.", - "type": "string" - }, - "fileName": { - "description": "The filename of the file.", - "type": "string" - }, - "format": { - "description": "The output format of the report. Only available once the file is available.", - "enum": [ - "CSV", - "EXCEL" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "id": { - "description": "The unique ID of this report file.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#file\".", - "type": "string" - }, - "lastModifiedTime": { - "description": "The timestamp in milliseconds since epoch when this file was last modified.", - "format": "int64", - "type": "string" - }, - "reportId": { - "description": "The ID of the report this file was generated from.", - "format": "int64", - "type": "string" - }, - "status": { - "description": "The status of the report file.", - "enum": [ - "PROCESSING", - "REPORT_AVAILABLE", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "urls": { - "description": "The URLs where the completed report file can be downloaded.", - "properties": { - "apiUrl": { - "description": "The URL for downloading the report data through the API.", - "type": "string" - }, - "browserUrl": { - "description": "The URL for downloading the report data through a browser.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "FileList": { - "description": "List of files for a report.", - "id": "FileList", - "properties": { - "etag": { - "description": "Etag of this resource.", - "type": "string" - }, - "items": { - "description": "The files returned in this response.", - "items": { - "$ref": "File" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#fileList\".", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through files. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", - "type": "string" - } - }, - "type": "object" - }, - "Flight": { - "description": "Flight", - "id": "Flight", - "properties": { - "endDate": { - "format": "date", - "type": "string" - }, - "rateOrCost": { - "description": "Rate or cost of this flight.", - "format": "int64", - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - }, - "units": { - "description": "Units of this flight.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivitiesGenerateTagResponse": { - "description": "Floodlight Activity GenerateTag Response", - "id": "FloodlightActivitiesGenerateTagResponse", - "properties": { - "floodlightActivityTag": { - "description": "Generated tag for this Floodlight activity. For global site tags, this is the event snippet.", - "type": "string" - }, - "globalSiteTagGlobalSnippet": { - "description": "The global snippet section of a global site tag. The global site tag sets new cookies on your domain, which will store a unique identifier for a user or the ad click that brought the user to your site. Learn more.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivitiesGenerateTagResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivitiesListResponse": { - "description": "Floodlight Activity List Response", - "id": "FloodlightActivitiesListResponse", - "properties": { - "floodlightActivities": { - "description": "Floodlight activity collection.", - "items": { - "$ref": "FloodlightActivity" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivitiesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivity": { - "description": "Contains properties of a Floodlight activity.", - "id": "FloodlightActivity", - "properties": { - "accountId": { - "description": "Account ID of this floodlight activity. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "cacheBustingType": { - "description": "Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.", - "enum": [ - "JAVASCRIPT", - "ACTIVE_SERVER_PAGE", - "JSP", - "PHP", - "COLD_FUSION" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "countingMethod": { - "description": "Counting method for conversions for this floodlight activity. This is a required field.", - "enum": [ - "STANDARD_COUNTING", - "UNIQUE_COUNTING", - "SESSION_COUNTING", - "TRANSACTIONS_COUNTING", - "ITEMS_SOLD_COUNTING" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "defaultTags": { - "description": "Dynamic floodlight tags.", - "items": { - "$ref": "FloodlightActivityDynamicTag" - }, - "type": "array" - }, - "expectedUrl": { - "description": "URL where this tag will be deployed. If specified, must be less than 256 characters long.", - "type": "string" - }, - "floodlightActivityGroupId": { - "description": "Floodlight activity group ID of this floodlight activity. This is a required field.", - "format": "int64", - "type": "string" - }, - "floodlightActivityGroupName": { - "description": "Name of the associated floodlight activity group. This is a read-only field.", - "type": "string" - }, - "floodlightActivityGroupTagString": { - "description": "Tag string of the associated floodlight activity group. This is a read-only field.", - "type": "string" - }, - "floodlightActivityGroupType": { - "description": "Type of the associated floodlight activity group. This is a read-only field.", - "enum": [ - "COUNTER", - "SALE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "floodlightConfigurationId": { - "description": "Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.", - "format": "int64", - "type": "string" - }, - "floodlightConfigurationIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." - }, - "floodlightTagType": { - "description": "The type of Floodlight tag this activity will generate. This is a required field.", - "enum": [ - "IFRAME", - "IMAGE", - "GLOBAL_SITE_TAG" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "hidden": { - "description": "Whether this activity is archived.", - "type": "boolean" - }, - "id": { - "description": "ID of this floodlight activity. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivity\".", - "type": "string" - }, - "name": { - "description": "Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.", - "type": "string" - }, - "notes": { - "description": "General notes or implementation instructions for the tag.", - "type": "string" - }, - "publisherTags": { - "description": "Publisher dynamic floodlight tags.", - "items": { - "$ref": "FloodlightActivityPublisherDynamicTag" - }, - "type": "array" - }, - "secure": { - "description": "Whether this tag should use SSL.", - "type": "boolean" - }, - "sslCompliant": { - "description": "Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.", - "type": "boolean" - }, - "sslRequired": { - "description": "Whether this floodlight activity must be SSL-compliant.", - "type": "boolean" - }, - "subaccountId": { - "description": "Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "tagFormat": { - "description": "Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.", - "enum": [ - "HTML", - "XHTML" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "tagString": { - "description": "Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.", - "type": "string" - }, - "userDefinedVariableTypes": { - "description": "List of the user-defined variables used by this conversion tag. These map to the \"u[1-100]=\" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. ", - "items": { - "enum": [ - "U1", - "U2", - "U3", - "U4", - "U5", - "U6", - "U7", - "U8", - "U9", - "U10", - "U11", - "U12", - "U13", - "U14", - "U15", - "U16", - "U17", - "U18", - "U19", - "U20", - "U21", - "U22", - "U23", - "U24", - "U25", - "U26", - "U27", - "U28", - "U29", - "U30", - "U31", - "U32", - "U33", - "U34", - "U35", - "U36", - "U37", - "U38", - "U39", - "U40", - "U41", - "U42", - "U43", - "U44", - "U45", - "U46", - "U47", - "U48", - "U49", - "U50", - "U51", - "U52", - "U53", - "U54", - "U55", - "U56", - "U57", - "U58", - "U59", - "U60", - "U61", - "U62", - "U63", - "U64", - "U65", - "U66", - "U67", - "U68", - "U69", - "U70", - "U71", - "U72", - "U73", - "U74", - "U75", - "U76", - "U77", - "U78", - "U79", - "U80", - "U81", - "U82", - "U83", - "U84", - "U85", - "U86", - "U87", - "U88", - "U89", - "U90", - "U91", - "U92", - "U93", - "U94", - "U95", - "U96", - "U97", - "U98", - "U99", - "U100" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "FloodlightActivityDynamicTag": { - "description": "Dynamic Tag", - "id": "FloodlightActivityDynamicTag", - "properties": { - "id": { - "description": "ID of this dynamic tag. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this tag.", - "type": "string" - }, - "tag": { - "description": "Tag code.", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivityGroup": { - "description": "Contains properties of a Floodlight activity group.", - "id": "FloodlightActivityGroup", - "properties": { - "accountId": { - "description": "Account ID of this floodlight activity group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "floodlightConfigurationId": { - "description": "Floodlight configuration ID of this floodlight activity group. This is a required field.", - "format": "int64", - "type": "string" - }, - "floodlightConfigurationIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." - }, - "id": { - "description": "ID of this floodlight activity group. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivityGroup\".", - "type": "string" - }, - "name": { - "description": "Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "tagString": { - "description": "Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.", - "type": "string" - }, - "type": { - "description": "Type of the floodlight activity group. This is a required field that is read-only after insertion.", - "enum": [ - "COUNTER", - "SALE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivityGroupsListResponse": { - "description": "Floodlight Activity Group List Response", - "id": "FloodlightActivityGroupsListResponse", - "properties": { - "floodlightActivityGroups": { - "description": "Floodlight activity group collection.", - "items": { - "$ref": "FloodlightActivityGroup" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivityGroupsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivityPublisherDynamicTag": { - "description": "Publisher Dynamic Tag", - "id": "FloodlightActivityPublisherDynamicTag", - "properties": { - "clickThrough": { - "description": "Whether this tag is applicable only for click-throughs.", - "type": "boolean" - }, - "directorySiteId": { - "description": "Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.", - "format": "int64", - "type": "string" - }, - "dynamicTag": { - "$ref": "FloodlightActivityDynamicTag", - "description": "Dynamic floodlight tag." - }, - "siteId": { - "description": "Site ID of this dynamic tag.", - "format": "int64", - "type": "string" - }, - "siteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." - }, - "viewThrough": { - "description": "Whether this tag is applicable only for view-throughs.", - "type": "boolean" - } - }, - "type": "object" - }, - "FloodlightConfiguration": { - "description": "Contains properties of a Floodlight configuration.", - "id": "FloodlightConfiguration", - "properties": { - "accountId": { - "description": "Account ID of this floodlight configuration. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of the parent advertiser of this floodlight configuration.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "analyticsDataSharingEnabled": { - "description": "Whether advertiser data is shared with Google Analytics.", - "type": "boolean" - }, - "customViewabilityMetric": { - "$ref": "CustomViewabilityMetric", - "description": "Custom Viewability metric for the floodlight configuration." - }, - "exposureToConversionEnabled": { - "description": "Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.", - "type": "boolean" - }, - "firstDayOfWeek": { - "description": "Day that will be counted as the first day of the week in reports. This is a required field.", - "enum": [ - "MONDAY", - "SUNDAY" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "id": { - "description": "ID of this floodlight configuration. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field." - }, - "inAppAttributionTrackingEnabled": { - "description": "Whether in-app attribution tracking is enabled.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightConfiguration\".", - "type": "string" - }, - "lookbackConfiguration": { - "$ref": "LookbackConfiguration", - "description": "Lookback window settings for this floodlight configuration." - }, - "naturalSearchConversionAttributionOption": { - "description": "Types of attribution options for natural search conversions.", - "enum": [ - "EXCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", - "INCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", - "INCLUDE_NATURAL_SEARCH_TIERED_CONVERSION_ATTRIBUTION" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "omnitureSettings": { - "$ref": "OmnitureSettings", - "description": "Settings for Campaign Manager Omniture integration." - }, - "subaccountId": { - "description": "Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "tagSettings": { - "$ref": "TagSettings", - "description": "Configuration settings for dynamic and image floodlight tags." - }, - "thirdPartyAuthenticationTokens": { - "description": "List of third-party authentication tokens enabled for this configuration.", - "items": { - "$ref": "ThirdPartyAuthenticationToken" - }, - "type": "array" - }, - "userDefinedVariableConfigurations": { - "description": "List of user defined variables enabled for this configuration.", - "items": { - "$ref": "UserDefinedVariableConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "FloodlightConfigurationsListResponse": { - "description": "Floodlight Configuration List Response", - "id": "FloodlightConfigurationsListResponse", - "properties": { - "floodlightConfigurations": { - "description": "Floodlight configuration collection.", - "items": { - "$ref": "FloodlightConfiguration" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightConfigurationsListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightReportCompatibleFields": { - "description": "Represents fields that are compatible to be selected for a report of type \"FlOODLIGHT\".", - "id": "FloodlightReportCompatibleFields", - "properties": { - "dimensionFilters": { - "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "dimensions": { - "description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#floodlightReportCompatibleFields.", - "type": "string" - }, - "metrics": { - "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - } - }, - "type": "object" - }, - "FrequencyCap": { - "description": "Frequency Cap.", - "id": "FrequencyCap", - "properties": { - "duration": { - "description": "Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days. Acceptable values are 1 to 7776000, inclusive.", - "format": "int64", - "type": "string" - }, - "impressions": { - "description": "Number of times an individual user can be served the ad within the specified duration. Acceptable values are 1 to 15, inclusive.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "FsCommand": { - "description": "FsCommand.", - "id": "FsCommand", - "properties": { - "left": { - "description": "Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.", - "format": "int32", - "type": "integer" - }, - "positionOption": { - "description": "Position in the browser where the window will open.", - "enum": [ - "CENTERED", - "DISTANCE_FROM_TOP_LEFT_CORNER" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "top": { - "description": "Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.", - "format": "int32", - "type": "integer" - }, - "windowHeight": { - "description": "Height of the window.", - "format": "int32", - "type": "integer" - }, - "windowWidth": { - "description": "Width of the window.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GeoTargeting": { - "description": "Geographical Targeting.", - "id": "GeoTargeting", - "properties": { - "cities": { - "description": "Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.", - "items": { - "$ref": "City" - }, - "type": "array" - }, - "countries": { - "description": "Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.", - "items": { - "$ref": "Country" - }, - "type": "array" - }, - "excludeCountries": { - "description": "Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.", - "type": "boolean" - }, - "metros": { - "description": "Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.", - "items": { - "$ref": "Metro" - }, - "type": "array" - }, - "postalCodes": { - "description": "Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.", - "items": { - "$ref": "PostalCode" - }, - "type": "array" - }, - "regions": { - "description": "Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.", - "items": { - "$ref": "Region" - }, - "type": "array" - } - }, - "type": "object" - }, - "InventoryItem": { - "description": "Represents a buy from the Planning inventory store.", - "id": "InventoryItem", - "properties": { - "accountId": { - "description": "Account ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "adSlots": { - "description": "Ad slots of this inventory item. If this inventory item represents a standalone placement, there will be exactly one ad slot. If this inventory item represents a placement group, there will be more than one ad slot, each representing one child placement in that placement group.", - "items": { - "$ref": "AdSlot" - }, - "type": "array" - }, - "advertiserId": { - "description": "Advertiser ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "contentCategoryId": { - "description": "Content category ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "estimatedClickThroughRate": { - "description": "Estimated click-through rate of this inventory item.", - "format": "int64", - "type": "string" - }, - "estimatedConversionRate": { - "description": "Estimated conversion rate of this inventory item.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "inPlan": { - "description": "Whether this inventory item is in plan.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#inventoryItem\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this inventory item." - }, - "name": { - "description": "Name of this inventory item. For standalone inventory items, this is the same name as that of its only ad slot. For group inventory items, this can differ from the name of any of its ad slots.", - "type": "string" - }, - "negotiationChannelId": { - "description": "Negotiation channel ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "orderId": { - "description": "Order ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "placementStrategyId": { - "description": "Placement strategy ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "pricing": { - "$ref": "Pricing", - "description": "Pricing of this inventory item." - }, - "projectId": { - "description": "Project ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "rfpId": { - "description": "RFP ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "siteId": { - "description": "ID of the site this inventory item is associated with.", - "format": "int64", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "Type of inventory item.", - "enum": [ - "PLANNING_PLACEMENT_TYPE_REGULAR", - "PLANNING_PLACEMENT_TYPE_CREDIT" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "InventoryItemsListResponse": { - "description": "Inventory item List Response", - "id": "InventoryItemsListResponse", - "properties": { - "inventoryItems": { - "description": "Inventory item collection", - "items": { - "$ref": "InventoryItem" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#inventoryItemsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "KeyValueTargetingExpression": { - "description": "Key Value Targeting Expression.", - "id": "KeyValueTargetingExpression", - "properties": { - "expression": { - "description": "Keyword expression being targeted by the ad.", - "type": "string" - } - }, - "type": "object" - }, - "LandingPage": { - "description": "Contains information about where a user's browser is taken after the user clicks an ad.", - "id": "LandingPage", - "properties": { - "advertiserId": { - "description": "Advertiser ID of this landing page. This is a required field.", - "format": "int64", - "type": "string" - }, - "archived": { - "description": "Whether this landing page has been archived.", - "type": "boolean" - }, - "deepLinks": { - "description": "Links that will direct the user to a mobile app, if installed.", - "items": { - "$ref": "DeepLink" - }, - "type": "array" - }, - "id": { - "description": "ID of this landing page. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#landingPage\".", - "type": "string" - }, - "name": { - "description": "Name of this landing page. This is a required field. It must be less than 256 characters long.", - "type": "string" - }, - "url": { - "description": "URL of this landing page. This is a required field.", - "type": "string" - } - }, - "type": "object" - }, - "Language": { - "description": "Contains information about a language that can be targeted by ads.", - "id": "Language", - "properties": { - "id": { - "description": "Language ID of this language. This is the ID used for targeting and generating reports.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#language\".", - "type": "string" - }, - "languageCode": { - "description": "Format of language code is an ISO 639 two-letter language code optionally followed by an underscore followed by an ISO 3166 code. Examples are \"en\" for English or \"zh_CN\" for Simplified Chinese.", - "type": "string" - }, - "name": { - "description": "Name of this language.", - "type": "string" - } - }, - "type": "object" - }, - "LanguageTargeting": { - "description": "Language Targeting.", - "id": "LanguageTargeting", - "properties": { - "languages": { - "description": "Languages that this ad targets. For each language only languageId is required. The other fields are populated automatically when the ad is inserted or updated.", - "items": { - "$ref": "Language" - }, - "type": "array" - } - }, - "type": "object" - }, - "LanguagesListResponse": { - "description": "Language List Response", - "id": "LanguagesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#languagesListResponse\".", - "type": "string" - }, - "languages": { - "description": "Language collection.", - "items": { - "$ref": "Language" - }, - "type": "array" - } - }, - "type": "object" - }, - "LastModifiedInfo": { - "description": "Modification timestamp.", - "id": "LastModifiedInfo", - "properties": { - "time": { - "description": "Timestamp of the last change in milliseconds since epoch.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ListPopulationClause": { - "description": "A group clause made up of list population terms representing constraints joined by ORs.", - "id": "ListPopulationClause", - "properties": { - "terms": { - "description": "Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.", - "items": { - "$ref": "ListPopulationTerm" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListPopulationRule": { - "description": "Remarketing List Population Rule.", - "id": "ListPopulationRule", - "properties": { - "floodlightActivityId": { - "description": "Floodlight activity ID associated with this rule. This field can be left blank.", - "format": "int64", - "type": "string" - }, - "floodlightActivityName": { - "description": "Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.", - "type": "string" - }, - "listPopulationClauses": { - "description": "Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.", - "items": { - "$ref": "ListPopulationClause" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListPopulationTerm": { - "description": "Remarketing List Population Rule Term.", - "id": "ListPopulationTerm", - "properties": { - "contains": { - "description": "Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.", - "type": "boolean" - }, - "negation": { - "description": "Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", - "type": "boolean" - }, - "operator": { - "description": "Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", - "enum": [ - "NUM_EQUALS", - "NUM_LESS_THAN", - "NUM_LESS_THAN_EQUAL", - "NUM_GREATER_THAN", - "NUM_GREATER_THAN_EQUAL", - "STRING_EQUALS", - "STRING_CONTAINS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "remarketingListId": { - "description": "ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.", - "enum": [ - "CUSTOM_VARIABLE_TERM", - "LIST_MEMBERSHIP_TERM", - "REFERRER_TERM" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "value": { - "description": "Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", - "type": "string" - }, - "variableFriendlyName": { - "description": "Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.", - "type": "string" - }, - "variableName": { - "description": "Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.", - "type": "string" - } - }, - "type": "object" - }, - "ListTargetingExpression": { - "description": "Remarketing List Targeting Expression.", - "id": "ListTargetingExpression", - "properties": { - "expression": { - "description": "Expression describing which lists are being targeted by the ad.", - "type": "string" - } - }, - "type": "object" - }, - "LookbackConfiguration": { - "description": "Lookback configuration settings.", - "id": "LookbackConfiguration", - "properties": { - "clickDuration": { - "description": "Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.", - "format": "int32", - "type": "integer" - }, - "postImpressionActivitiesDuration": { - "description": "Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Metric": { - "description": "Represents a metric.", - "id": "Metric", - "properties": { - "kind": { - "description": "The kind of resource this is, in this case dfareporting#metric.", - "type": "string" - }, - "name": { - "description": "The metric name, e.g. dfa:impressions", - "type": "string" - } - }, - "type": "object" - }, - "Metro": { - "description": "Contains information about a metro region that can be targeted by ads.", - "id": "Metro", - "properties": { - "countryCode": { - "description": "Country code of the country to which this metro region belongs.", - "type": "string" - }, - "countryDartId": { - "description": "DART ID of the country to which this metro region belongs.", - "format": "int64", - "type": "string" - }, - "dartId": { - "description": "DART ID of this metro region.", - "format": "int64", - "type": "string" - }, - "dmaId": { - "description": "DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#metro\".", - "type": "string" - }, - "metroCode": { - "description": "Metro code of this metro region. This is equivalent to dma_id.", - "type": "string" - }, - "name": { - "description": "Name of this metro region.", - "type": "string" - } - }, - "type": "object" - }, - "MetrosListResponse": { - "description": "Metro List Response", - "id": "MetrosListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#metrosListResponse\".", - "type": "string" - }, - "metros": { - "description": "Metro collection.", - "items": { - "$ref": "Metro" - }, - "type": "array" - } - }, - "type": "object" - }, - "MobileApp": { - "description": "Contains information about a mobile app. Used as a landing page deep link.", - "id": "MobileApp", - "properties": { - "directory": { - "description": "Mobile app directory.", - "enum": [ - "UNKNOWN", - "APPLE_APP_STORE", - "GOOGLE_PLAY_STORE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "id": { - "description": "ID of this mobile app.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileApp\".", - "type": "string" - }, - "publisherName": { - "description": "Publisher name.", - "type": "string" - }, - "title": { - "description": "Title of this mobile app.", - "type": "string" - } - }, - "type": "object" - }, - "MobileAppsListResponse": { - "description": "Mobile app List Response", - "id": "MobileAppsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileAppsListResponse\".", - "type": "string" - }, - "mobileApps": { - "description": "Mobile apps collection.", - "items": { - "$ref": "MobileApp" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "MobileCarrier": { - "description": "Contains information about a mobile carrier that can be targeted by ads.", - "id": "MobileCarrier", - "properties": { - "countryCode": { - "description": "Country code of the country to which this mobile carrier belongs.", - "type": "string" - }, - "countryDartId": { - "description": "DART ID of the country to which this mobile carrier belongs.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this mobile carrier.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileCarrier\".", - "type": "string" - }, - "name": { - "description": "Name of this mobile carrier.", - "type": "string" - } - }, - "type": "object" - }, - "MobileCarriersListResponse": { - "description": "Mobile Carrier List Response", - "id": "MobileCarriersListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileCarriersListResponse\".", - "type": "string" - }, - "mobileCarriers": { - "description": "Mobile carrier collection.", - "items": { - "$ref": "MobileCarrier" - }, - "type": "array" - } - }, - "type": "object" - }, - "ObjectFilter": { - "description": "Object Filter.", - "id": "ObjectFilter", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#objectFilter\".", - "type": "string" - }, - "objectIds": { - "description": "Applicable when status is ASSIGNED. The user has access to objects with these object IDs.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "status": { - "description": "Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.", - "enum": [ - "NONE", - "ASSIGNED", - "ALL" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "OffsetPosition": { - "description": "Offset Position.", - "id": "OffsetPosition", - "properties": { - "left": { - "description": "Offset distance from left side of an asset or a window.", - "format": "int32", - "type": "integer" - }, - "top": { - "description": "Offset distance from top side of an asset or a window.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "OmnitureSettings": { - "description": "Omniture Integration Settings.", - "id": "OmnitureSettings", - "properties": { - "omnitureCostDataEnabled": { - "description": "Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true.", - "type": "boolean" - }, - "omnitureIntegrationEnabled": { - "description": "Whether Omniture integration is enabled. This property can be enabled only when the \"Advanced Ad Serving\" account setting is enabled.", - "type": "boolean" - } - }, - "type": "object" - }, - "OperatingSystem": { - "description": "Contains information about an operating system that can be targeted by ads.", - "id": "OperatingSystem", - "properties": { - "dartId": { - "description": "DART ID of this operating system. This is the ID used for targeting.", - "format": "int64", - "type": "string" - }, - "desktop": { - "description": "Whether this operating system is for desktop.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystem\".", - "type": "string" - }, - "mobile": { - "description": "Whether this operating system is for mobile.", - "type": "boolean" - }, - "name": { - "description": "Name of this operating system.", - "type": "string" - } - }, - "type": "object" - }, - "OperatingSystemVersion": { - "description": "Contains information about a particular version of an operating system that can be targeted by ads.", - "id": "OperatingSystemVersion", - "properties": { - "id": { - "description": "ID of this operating system version.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemVersion\".", - "type": "string" - }, - "majorVersion": { - "description": "Major version (leftmost number) of this operating system version.", - "type": "string" - }, - "minorVersion": { - "description": "Minor version (number after the first dot) of this operating system version.", - "type": "string" - }, - "name": { - "description": "Name of this operating system version.", - "type": "string" - }, - "operatingSystem": { - "$ref": "OperatingSystem", - "description": "Operating system of this operating system version." - } - }, - "type": "object" - }, - "OperatingSystemVersionsListResponse": { - "description": "Operating System Version List Response", - "id": "OperatingSystemVersionsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemVersionsListResponse\".", - "type": "string" - }, - "operatingSystemVersions": { - "description": "Operating system version collection.", - "items": { - "$ref": "OperatingSystemVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "OperatingSystemsListResponse": { - "description": "Operating System List Response", - "id": "OperatingSystemsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemsListResponse\".", - "type": "string" - }, - "operatingSystems": { - "description": "Operating system collection.", - "items": { - "$ref": "OperatingSystem" - }, - "type": "array" - } - }, - "type": "object" - }, - "OptimizationActivity": { - "description": "Creative optimization activity.", - "id": "OptimizationActivity", - "properties": { - "floodlightActivityId": { - "description": "Floodlight activity ID of this optimization activity. This is a required field.", - "format": "int64", - "type": "string" - }, - "floodlightActivityIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field." - }, - "weight": { - "description": "Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Order": { - "description": "Describes properties of a Planning order.", - "id": "Order", - "properties": { - "accountId": { - "description": "Account ID of this order.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this order.", - "format": "int64", - "type": "string" - }, - "approverUserProfileIds": { - "description": "IDs for users that have to approve documents created for this order.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "buyerInvoiceId": { - "description": "Buyer invoice ID associated with this order.", - "type": "string" - }, - "buyerOrganizationName": { - "description": "Name of the buyer organization.", - "type": "string" - }, - "comments": { - "description": "Comments in this order.", - "type": "string" - }, - "contacts": { - "description": "Contacts for this order.", - "items": { - "$ref": "OrderContact" - }, - "type": "array" - }, - "id": { - "description": "ID of this order. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#order\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this order." - }, - "name": { - "description": "Name of this order.", - "type": "string" - }, - "notes": { - "description": "Notes of this order.", - "type": "string" - }, - "planningTermId": { - "description": "ID of the terms and conditions template used in this order.", - "format": "int64", - "type": "string" - }, - "projectId": { - "description": "Project ID of this order.", - "format": "int64", - "type": "string" - }, - "sellerOrderId": { - "description": "Seller order ID associated with this order.", - "type": "string" - }, - "sellerOrganizationName": { - "description": "Name of the seller organization.", - "type": "string" - }, - "siteId": { - "description": "Site IDs this order is associated with.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "siteNames": { - "description": "Free-form site names this order is associated with.", - "items": { - "type": "string" - }, - "type": "array" - }, - "subaccountId": { - "description": "Subaccount ID of this order.", - "format": "int64", - "type": "string" - }, - "termsAndConditions": { - "description": "Terms and conditions of this order.", - "type": "string" - } - }, - "type": "object" - }, - "OrderContact": { - "description": "Contact of an order.", - "id": "OrderContact", - "properties": { - "contactInfo": { - "description": "Free-form information about this contact. It could be any information related to this contact in addition to type, title, name, and signature user profile ID.", - "type": "string" - }, - "contactName": { - "description": "Name of this contact.", - "type": "string" - }, - "contactTitle": { - "description": "Title of this contact.", - "type": "string" - }, - "contactType": { - "description": "Type of this contact.", - "enum": [ - "PLANNING_ORDER_CONTACT_BUYER_CONTACT", - "PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT", - "PLANNING_ORDER_CONTACT_SELLER_CONTACT" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "signatureUserProfileId": { - "description": "ID of the user profile containing the signature that will be embedded into order documents.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "OrderDocument": { - "description": "Contains properties of a Planning order document.", - "id": "OrderDocument", - "properties": { - "accountId": { - "description": "Account ID of this order document.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this order document.", - "format": "int64", - "type": "string" - }, - "amendedOrderDocumentId": { - "description": "The amended order document ID of this order document. An order document can be created by optionally amending another order document so that the change history can be preserved.", - "format": "int64", - "type": "string" - }, - "approvedByUserProfileIds": { - "description": "IDs of users who have approved this order document.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "cancelled": { - "description": "Whether this order document is cancelled.", - "type": "boolean" - }, - "createdInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the creation of this order document." - }, - "effectiveDate": { - "format": "date", - "type": "string" - }, - "id": { - "description": "ID of this order document.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#orderDocument\".", - "type": "string" - }, - "lastSentRecipients": { - "description": "List of email addresses that received the last sent document.", - "items": { - "type": "string" - }, - "type": "array" - }, - "lastSentTime": { - "format": "date-time", - "type": "string" - }, - "orderId": { - "description": "ID of the order from which this order document is created.", - "format": "int64", - "type": "string" - }, - "projectId": { - "description": "Project ID of this order document.", - "format": "int64", - "type": "string" - }, - "signed": { - "description": "Whether this order document has been signed.", - "type": "boolean" - }, - "subaccountId": { - "description": "Subaccount ID of this order document.", - "format": "int64", - "type": "string" - }, - "title": { - "description": "Title of this order document.", - "type": "string" - }, - "type": { - "description": "Type of this order document", - "enum": [ - "PLANNING_ORDER_TYPE_INSERTION_ORDER", - "PLANNING_ORDER_TYPE_CHANGE_ORDER" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "OrderDocumentsListResponse": { - "description": "Order document List Response", - "id": "OrderDocumentsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#orderDocumentsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "orderDocuments": { - "description": "Order document collection", - "items": { - "$ref": "OrderDocument" - }, - "type": "array" - } - }, - "type": "object" - }, - "OrdersListResponse": { - "description": "Order List Response", - "id": "OrdersListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#ordersListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "orders": { - "description": "Order collection.", - "items": { - "$ref": "Order" - }, - "type": "array" - } - }, - "type": "object" - }, - "PathToConversionReportCompatibleFields": { - "description": "Represents fields that are compatible to be selected for a report of type \"PATH_TO_CONVERSION\".", - "id": "PathToConversionReportCompatibleFields", - "properties": { - "conversionDimensions": { - "description": "Conversion dimensions which are compatible to be selected in the \"conversionDimensions\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "customFloodlightVariables": { - "description": "Custom floodlight variables which are compatible to be selected in the \"customFloodlightVariables\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#pathToConversionReportCompatibleFields.", - "type": "string" - }, - "metrics": { - "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "perInteractionDimensions": { - "description": "Per-interaction dimensions which are compatible to be selected in the \"perInteractionDimensions\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - } - }, - "type": "object" - }, - "Placement": { - "description": "Contains properties of a placement.", - "id": "Placement", - "properties": { - "accountId": { - "description": "Account ID of this placement. This field can be left blank.", - "format": "int64", - "type": "string" - }, - "adBlockingOptOut": { - "description": "Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.", - "type": "boolean" - }, - "additionalSizes": { - "description": "Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.", - "items": { - "$ref": "Size" - }, - "type": "array" - }, - "advertiserId": { - "description": "Advertiser ID of this placement. This field can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "archived": { - "description": "Whether this placement is archived.", - "type": "boolean" - }, - "campaignId": { - "description": "Campaign ID of this placement. This field is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "campaignIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." - }, - "comment": { - "description": "Comments for this placement.", - "type": "string" - }, - "compatibility": { - "description": "Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.", - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "contentCategoryId": { - "description": "ID of the content category assigned to this placement.", - "format": "int64", - "type": "string" - }, - "createInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the creation of this placement. This is a read-only field." - }, - "directorySiteId": { - "description": "Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.", - "format": "int64", - "type": "string" - }, - "directorySiteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." - }, - "externalId": { - "description": "External ID for this placement.", - "type": "string" - }, - "id": { - "description": "ID of this placement. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this placement. This is a read-only, auto-generated field." - }, - "keyName": { - "description": "Key name of this placement. This is a read-only, auto-generated field.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placement\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this placement. This is a read-only field." - }, - "lookbackConfiguration": { - "$ref": "LookbackConfiguration", - "description": "Lookback window settings for this placement." - }, - "name": { - "description": "Name of this placement.This is a required field and must be less than or equal to 256 characters long.", - "type": "string" - }, - "paymentApproved": { - "description": "Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.", - "type": "boolean" - }, - "paymentSource": { - "description": "Payment source for this placement. This is a required field that is read-only after insertion.", - "enum": [ - "PLACEMENT_AGENCY_PAID", - "PLACEMENT_PUBLISHER_PAID" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "placementGroupId": { - "description": "ID of this placement's group, if applicable.", - "format": "int64", - "type": "string" - }, - "placementGroupIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the placement group. This is a read-only, auto-generated field." - }, - "placementStrategyId": { - "description": "ID of the placement strategy assigned to this placement.", - "format": "int64", - "type": "string" - }, - "pricingSchedule": { - "$ref": "PricingSchedule", - "description": "Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType." - }, - "primary": { - "description": "Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.", - "type": "boolean" - }, - "publisherUpdateInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the last publisher update. This is a read-only field." - }, - "siteId": { - "description": "Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.", - "format": "int64", - "type": "string" - }, - "siteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." - }, - "size": { - "$ref": "Size", - "description": "Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion." - }, - "sslRequired": { - "description": "Whether creatives assigned to this placement must be SSL-compliant.", - "type": "boolean" - }, - "status": { - "description": "Third-party placement status.", - "enum": [ - "PENDING_REVIEW", - "PAYMENT_ACCEPTED", - "PAYMENT_REJECTED", - "ACKNOWLEDGE_REJECTION", - "ACKNOWLEDGE_ACCEPTANCE", - "DRAFT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this placement. This field can be left blank.", - "format": "int64", - "type": "string" - }, - "tagFormats": { - "description": "Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - \"PLACEMENT_TAG_STANDARD\" - \"PLACEMENT_TAG_IFRAME_JAVASCRIPT\" - \"PLACEMENT_TAG_IFRAME_ILAYER\" - \"PLACEMENT_TAG_INTERNAL_REDIRECT\" - \"PLACEMENT_TAG_JAVASCRIPT\" - \"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT\" - \"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT\" - \"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT\" - \"PLACEMENT_TAG_CLICK_COMMANDS\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4\" - \"PLACEMENT_TAG_TRACKING\" - \"PLACEMENT_TAG_TRACKING_IFRAME\" - \"PLACEMENT_TAG_TRACKING_JAVASCRIPT\" ", - "items": { - "enum": [ - "PLACEMENT_TAG_STANDARD", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_IFRAME_ILAYER", - "PLACEMENT_TAG_INTERNAL_REDIRECT", - "PLACEMENT_TAG_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", - "PLACEMENT_TAG_CLICK_COMMANDS", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", - "PLACEMENT_TAG_TRACKING", - "PLACEMENT_TAG_TRACKING_IFRAME", - "PLACEMENT_TAG_TRACKING_JAVASCRIPT", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", - "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "tagSetting": { - "$ref": "TagSetting", - "description": "Tag settings for this placement." - }, - "videoActiveViewOptOut": { - "description": "Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.", - "type": "boolean" - }, - "videoSettings": { - "$ref": "VideoSettings", - "description": "A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility." - }, - "vpaidAdapterChoice": { - "description": "VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.", - "enum": [ - "DEFAULT", - "FLASH", - "HTML5", - "BOTH" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "PlacementAssignment": { - "description": "Placement Assignment.", - "id": "PlacementAssignment", - "properties": { - "active": { - "description": "Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.", - "type": "boolean" - }, - "placementId": { - "description": "ID of the placement to be assigned. This is a required field.", - "format": "int64", - "type": "string" - }, - "placementIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the placement. This is a read-only, auto-generated field." - }, - "sslRequired": { - "description": "Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.", - "type": "boolean" - } - }, - "type": "object" - }, - "PlacementGroup": { - "description": "Contains properties of a package or roadblock.", - "id": "PlacementGroup", - "properties": { - "accountId": { - "description": "Account ID of this placement group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this placement group. This is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "archived": { - "description": "Whether this placement group is archived.", - "type": "boolean" - }, - "campaignId": { - "description": "Campaign ID of this placement group. This field is required on insertion.", - "format": "int64", - "type": "string" - }, - "campaignIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." - }, - "childPlacementIds": { - "description": "IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "comment": { - "description": "Comments for this placement group.", - "type": "string" - }, - "contentCategoryId": { - "description": "ID of the content category assigned to this placement group.", - "format": "int64", - "type": "string" - }, - "createInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the creation of this placement group. This is a read-only field." - }, - "directorySiteId": { - "description": "Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.", - "format": "int64", - "type": "string" - }, - "directorySiteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." - }, - "externalId": { - "description": "External ID for this placement.", - "type": "string" - }, - "id": { - "description": "ID of this placement group. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this placement group. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementGroup\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this placement group. This is a read-only field." - }, - "name": { - "description": "Name of this placement group. This is a required field and must be less than 256 characters long.", - "type": "string" - }, - "placementGroupType": { - "description": "Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.", - "enum": [ - "PLACEMENT_PACKAGE", - "PLACEMENT_ROADBLOCK" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "placementStrategyId": { - "description": "ID of the placement strategy assigned to this placement group.", - "format": "int64", - "type": "string" - }, - "pricingSchedule": { - "$ref": "PricingSchedule", - "description": "Pricing schedule of this placement group. This field is required on insertion." - }, - "primaryPlacementId": { - "description": "ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.", - "format": "int64", - "type": "string" - }, - "primaryPlacementIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the primary placement. This is a read-only, auto-generated field." - }, - "siteId": { - "description": "Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.", - "format": "int64", - "type": "string" - }, - "siteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." - }, - "subaccountId": { - "description": "Subaccount ID of this placement group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "PlacementGroupsListResponse": { - "description": "Placement Group List Response", - "id": "PlacementGroupsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementGroupsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "placementGroups": { - "description": "Placement group collection.", - "items": { - "$ref": "PlacementGroup" - }, - "type": "array" - } - }, - "type": "object" - }, - "PlacementStrategiesListResponse": { - "description": "Placement Strategy List Response", - "id": "PlacementStrategiesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementStrategiesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "placementStrategies": { - "description": "Placement strategy collection.", - "items": { - "$ref": "PlacementStrategy" - }, - "type": "array" - } - }, - "type": "object" - }, - "PlacementStrategy": { - "description": "Contains properties of a placement strategy.", - "id": "PlacementStrategy", - "properties": { - "accountId": { - "description": "Account ID of this placement strategy.This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this placement strategy. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementStrategy\".", - "type": "string" - }, - "name": { - "description": "Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.", - "type": "string" - } - }, - "type": "object" - }, - "PlacementTag": { - "description": "Placement Tag", - "id": "PlacementTag", - "properties": { - "placementId": { - "description": "Placement ID", - "format": "int64", - "type": "string" - }, - "tagDatas": { - "description": "Tags generated for this placement.", - "items": { - "$ref": "TagData" - }, - "type": "array" - } - }, - "type": "object" - }, - "PlacementsGenerateTagsResponse": { - "description": "Placement GenerateTags Response", - "id": "PlacementsGenerateTagsResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementsGenerateTagsResponse\".", - "type": "string" - }, - "placementTags": { - "description": "Set of generated tags for the specified placements.", - "items": { - "$ref": "PlacementTag" - }, - "type": "array" - } - }, - "type": "object" - }, - "PlacementsListResponse": { - "description": "Placement List Response", - "id": "PlacementsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "placements": { - "description": "Placement collection.", - "items": { - "$ref": "Placement" - }, - "type": "array" - } - }, - "type": "object" - }, - "PlatformType": { - "description": "Contains information about a platform type that can be targeted by ads.", - "id": "PlatformType", - "properties": { - "id": { - "description": "ID of this platform type.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#platformType\".", - "type": "string" - }, - "name": { - "description": "Name of this platform type.", - "type": "string" - } - }, - "type": "object" - }, - "PlatformTypesListResponse": { - "description": "Platform Type List Response", - "id": "PlatformTypesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#platformTypesListResponse\".", - "type": "string" - }, - "platformTypes": { - "description": "Platform type collection.", - "items": { - "$ref": "PlatformType" - }, - "type": "array" - } - }, - "type": "object" - }, - "PopupWindowProperties": { - "description": "Popup Window Properties.", - "id": "PopupWindowProperties", - "properties": { - "dimension": { - "$ref": "Size", - "description": "Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID" - }, - "offset": { - "$ref": "OffsetPosition", - "description": "Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES." - }, - "positionType": { - "description": "Popup window position either centered or at specific coordinate.", - "enum": [ - "CENTER", - "COORDINATES" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "showAddressBar": { - "description": "Whether to display the browser address bar.", - "type": "boolean" - }, - "showMenuBar": { - "description": "Whether to display the browser menu bar.", - "type": "boolean" - }, - "showScrollBar": { - "description": "Whether to display the browser scroll bar.", - "type": "boolean" - }, - "showStatusBar": { - "description": "Whether to display the browser status bar.", - "type": "boolean" - }, - "showToolBar": { - "description": "Whether to display the browser tool bar.", - "type": "boolean" - }, - "title": { - "description": "Title of popup window.", - "type": "string" - } - }, - "type": "object" - }, - "PostalCode": { - "description": "Contains information about a postal code that can be targeted by ads.", - "id": "PostalCode", - "properties": { - "code": { - "description": "Postal code. This is equivalent to the id field.", - "type": "string" - }, - "countryCode": { - "description": "Country code of the country to which this postal code belongs.", - "type": "string" - }, - "countryDartId": { - "description": "DART ID of the country to which this postal code belongs.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this postal code.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#postalCode\".", - "type": "string" - } - }, - "type": "object" - }, - "PostalCodesListResponse": { - "description": "Postal Code List Response", - "id": "PostalCodesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#postalCodesListResponse\".", - "type": "string" - }, - "postalCodes": { - "description": "Postal code collection.", - "items": { - "$ref": "PostalCode" - }, - "type": "array" - } - }, - "type": "object" - }, - "Pricing": { - "description": "Pricing Information", - "id": "Pricing", - "properties": { - "capCostType": { - "description": "Cap cost type of this inventory item.", - "enum": [ - "PLANNING_PLACEMENT_CAP_COST_TYPE_NONE", - "PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY", - "PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "endDate": { - "format": "date", - "type": "string" - }, - "flights": { - "description": "Flights of this inventory item. A flight (a.k.a. pricing period) represents the inventory item pricing information for a specific period of time.", - "items": { - "$ref": "Flight" - }, - "type": "array" - }, - "groupType": { - "description": "Group type of this inventory item if it represents a placement group. Is null otherwise. There are two type of placement groups: PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of inventory items that acts as a single pricing point for a group of tags. PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory items that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned inventory items to be marked as primary.", - "enum": [ - "PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE", - "PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "pricingType": { - "description": "Pricing type of this inventory item.", - "enum": [ - "PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS", - "PLANNING_PLACEMENT_PRICING_TYPE_CPM", - "PLANNING_PLACEMENT_PRICING_TYPE_CLICKS", - "PLANNING_PLACEMENT_PRICING_TYPE_CPC", - "PLANNING_PLACEMENT_PRICING_TYPE_CPA", - "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_IMPRESSIONS", - "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_CLICKS", - "PLANNING_PLACEMENT_PRICING_TYPE_CPM_ACTIVEVIEW" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - } - }, - "type": "object" - }, - "PricingSchedule": { - "description": "Pricing Schedule", - "id": "PricingSchedule", - "properties": { - "capCostOption": { - "description": "Placement cap cost option.", - "enum": [ - "CAP_COST_NONE", - "CAP_COST_MONTHLY", - "CAP_COST_CUMULATIVE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "disregardOverdelivery": { - "description": "Whether cap costs are ignored by ad serving.", - "type": "boolean" - }, - "endDate": { - "format": "date", - "type": "string" - }, - "flighted": { - "description": "Whether this placement is flighted. If true, pricing periods will be computed automatically.", - "type": "boolean" - }, - "floodlightActivityId": { - "description": "Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.", - "format": "int64", - "type": "string" - }, - "pricingPeriods": { - "description": "Pricing periods for this placement.", - "items": { - "$ref": "PricingSchedulePricingPeriod" - }, - "type": "array" - }, - "pricingType": { - "description": "Placement pricing type. This field is required on insertion.", - "enum": [ - "PRICING_TYPE_CPM", - "PRICING_TYPE_CPC", - "PRICING_TYPE_CPA", - "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", - "PRICING_TYPE_FLAT_RATE_CLICKS", - "PRICING_TYPE_CPM_ACTIVEVIEW" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - }, - "testingStartDate": { - "format": "date", - "type": "string" - } - }, - "type": "object" - }, - "PricingSchedulePricingPeriod": { - "description": "Pricing Period", - "id": "PricingSchedulePricingPeriod", - "properties": { - "endDate": { - "format": "date", - "type": "string" - }, - "pricingComment": { - "description": "Comments for this pricing period.", - "type": "string" - }, - "rateOrCostNanos": { - "description": "Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.", - "format": "int64", - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - }, - "units": { - "description": "Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Project": { - "description": "Contains properties of a Planning project.", - "id": "Project", - "properties": { - "accountId": { - "description": "Account ID of this project.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this project.", - "format": "int64", - "type": "string" - }, - "audienceAgeGroup": { - "description": "Audience age group of this project.", - "enum": [ - "PLANNING_AUDIENCE_AGE_18_24", - "PLANNING_AUDIENCE_AGE_25_34", - "PLANNING_AUDIENCE_AGE_35_44", - "PLANNING_AUDIENCE_AGE_45_54", - "PLANNING_AUDIENCE_AGE_55_64", - "PLANNING_AUDIENCE_AGE_65_OR_MORE", - "PLANNING_AUDIENCE_AGE_UNKNOWN" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "audienceGender": { - "description": "Audience gender of this project.", - "enum": [ - "PLANNING_AUDIENCE_GENDER_MALE", - "PLANNING_AUDIENCE_GENDER_FEMALE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "budget": { - "description": "Budget of this project in the currency specified by the current account. The value stored in this field represents only the non-fractional amount. For example, for USD, the smallest value that can be represented by this field is 1 US dollar.", - "format": "int64", - "type": "string" - }, - "clientBillingCode": { - "description": "Client billing code of this project.", - "type": "string" - }, - "clientName": { - "description": "Name of the project client.", - "type": "string" - }, - "endDate": { - "format": "date", - "type": "string" - }, - "id": { - "description": "ID of this project. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#project\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this project." - }, - "name": { - "description": "Name of this project.", - "type": "string" - }, - "overview": { - "description": "Overview of this project.", - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this project.", - "format": "int64", - "type": "string" - }, - "targetClicks": { - "description": "Number of clicks that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetConversions": { - "description": "Number of conversions that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetCpaNanos": { - "description": "CPA that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetCpcNanos": { - "description": "CPC that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetCpmActiveViewNanos": { - "description": "vCPM from Active View that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetCpmNanos": { - "description": "CPM that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetImpressions": { - "description": "Number of impressions that the advertiser is targeting.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ProjectsListResponse": { - "description": "Project List Response", - "id": "ProjectsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#projectsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "projects": { - "description": "Project collection.", - "items": { - "$ref": "Project" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReachReportCompatibleFields": { - "description": "Represents fields that are compatible to be selected for a report of type \"REACH\".", - "id": "ReachReportCompatibleFields", - "properties": { - "dimensionFilters": { - "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "dimensions": { - "description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#reachReportCompatibleFields.", - "type": "string" - }, - "metrics": { - "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "pivotedActivityMetrics": { - "description": "Metrics which are compatible to be selected as activity metrics to pivot on in the \"activities\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "reachByFrequencyMetrics": { - "description": "Metrics which are compatible to be selected in the \"reachByFrequencyMetricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - } - }, - "type": "object" - }, - "Recipient": { - "description": "Represents a recipient.", - "id": "Recipient", - "properties": { - "deliveryType": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "The delivery type for the recipient.", - "enum": [ - "LINK", - "ATTACHMENT" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "email": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "The email address of the recipient.", - "type": "string" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#recipient.", - "type": "string" - } - }, - "type": "object" - }, - "Region": { - "description": "Contains information about a region that can be targeted by ads.", - "id": "Region", - "properties": { - "countryCode": { - "description": "Country code of the country to which this region belongs.", - "type": "string" - }, - "countryDartId": { - "description": "DART ID of the country to which this region belongs.", - "format": "int64", - "type": "string" - }, - "dartId": { - "description": "DART ID of this region.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#region\".", - "type": "string" - }, - "name": { - "description": "Name of this region.", - "type": "string" - }, - "regionCode": { - "description": "Region code.", - "type": "string" - } - }, - "type": "object" - }, - "RegionsListResponse": { - "description": "Region List Response", - "id": "RegionsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#regionsListResponse\".", - "type": "string" - }, - "regions": { - "description": "Region collection.", - "items": { - "$ref": "Region" - }, - "type": "array" - } - }, - "type": "object" - }, - "RemarketingList": { - "description": "Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.", - "id": "RemarketingList", - "properties": { - "accountId": { - "description": "Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", - "format": "int64", - "type": "string" - }, - "active": { - "description": "Whether this remarketing list is active.", - "type": "boolean" - }, - "advertiserId": { - "description": "Dimension value for the advertiser ID that owns this remarketing list. This is a required field.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "description": { - "description": "Remarketing list description.", - "type": "string" - }, - "id": { - "description": "Remarketing list ID. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingList\".", - "type": "string" - }, - "lifeSpan": { - "description": "Number of days that a user should remain in the remarketing list without an impression. Acceptable values are 1 to 540, inclusive.", - "format": "int64", - "type": "string" - }, - "listPopulationRule": { - "$ref": "ListPopulationRule", - "description": "Rule used to populate the remarketing list with users." - }, - "listSize": { - "description": "Number of users currently in the list. This is a read-only field.", - "format": "int64", - "type": "string" - }, - "listSource": { - "description": "Product from which this remarketing list was originated.", - "enum": [ - "REMARKETING_LIST_SOURCE_OTHER", - "REMARKETING_LIST_SOURCE_ADX", - "REMARKETING_LIST_SOURCE_DFP", - "REMARKETING_LIST_SOURCE_XFP", - "REMARKETING_LIST_SOURCE_DFA", - "REMARKETING_LIST_SOURCE_GA", - "REMARKETING_LIST_SOURCE_YOUTUBE", - "REMARKETING_LIST_SOURCE_DBM", - "REMARKETING_LIST_SOURCE_GPLUS", - "REMARKETING_LIST_SOURCE_DMP", - "REMARKETING_LIST_SOURCE_PLAY_STORE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "name": { - "description": "Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "RemarketingListShare": { - "description": "Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.", - "id": "RemarketingListShare", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingListShare\".", - "type": "string" - }, - "remarketingListId": { - "description": "Remarketing list ID. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "sharedAccountIds": { - "description": "Accounts that the remarketing list is shared with.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "sharedAdvertiserIds": { - "description": "Advertisers that the remarketing list is shared with.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "RemarketingListsListResponse": { - "description": "Remarketing list response", - "id": "RemarketingListsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingListsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "remarketingLists": { - "description": "Remarketing list collection.", - "items": { - "$ref": "RemarketingList" - }, - "type": "array" - } - }, - "type": "object" - }, - "Report": { - "description": "Represents a Report resource.", - "id": "Report", - "properties": { - "accountId": { - "annotations": { - "required": [ - "dfareporting.reports.update" - ] - }, - "description": "The account ID to which this report belongs.", - "format": "int64", - "type": "string" - }, - "criteria": { - "description": "The report criteria for a report of type \"STANDARD\".", - "properties": { - "activities": { - "$ref": "Activities", - "description": "Activity group." - }, - "customRichMediaEvents": { - "$ref": "CustomRichMediaEvents", - "description": "Custom Rich Media Events group." - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range for which this report should be run." - }, - "dimensionFilters": { - "description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "dimensions": { - "description": "The list of standard dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "crossDimensionReachCriteria": { - "description": "The report criteria for a report of type \"CROSS_DIMENSION_REACH\".", - "properties": { - "breakdown": { - "description": "The list of dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range this report should be run for." - }, - "dimension": { - "description": "The dimension option.", - "enum": [ - "ADVERTISER", - "CAMPAIGN", - "SITE_BY_ADVERTISER", - "SITE_BY_CAMPAIGN" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "dimensionFilters": { - "description": "The list of filters on which dimensions are filtered.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "overlapMetricNames": { - "description": "The list of names of overlap metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "pivoted": { - "description": "Whether the report is pivoted or not. Defaults to true.", - "type": "boolean" - } - }, - "type": "object" - }, - "delivery": { - "description": "The report's email delivery settings.", - "properties": { - "emailOwner": { - "description": "Whether the report should be emailed to the report owner.", - "type": "boolean" - }, - "emailOwnerDeliveryType": { - "description": "The type of delivery for the owner to receive, if enabled.", - "enum": [ - "LINK", - "ATTACHMENT" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "message": { - "description": "The message to be sent with each email.", - "type": "string" - }, - "recipients": { - "description": "The list of recipients to which to email the report.", - "items": { - "$ref": "Recipient" - }, - "type": "array" - } - }, - "type": "object" - }, - "etag": { - "description": "The eTag of this response for caching purposes.", - "type": "string" - }, - "fileName": { - "description": "The filename used when generating report files for this report.", - "type": "string" - }, - "floodlightCriteria": { - "description": "The report criteria for a report of type \"FLOODLIGHT\".", - "properties": { - "customRichMediaEvents": { - "description": "The list of custom rich media events to include.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range this report should be run for." - }, - "dimensionFilters": { - "description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "dimensions": { - "description": "The list of dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "floodlightConfigId": { - "$ref": "DimensionValue", - "description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reportProperties": { - "description": "The properties of the report.", - "properties": { - "includeAttributedIPConversions": { - "description": "Include conversions that have no cookie, but do have an exposure path.", - "type": "boolean" - }, - "includeUnattributedCookieConversions": { - "description": "Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.", - "type": "boolean" - }, - "includeUnattributedIPConversions": { - "description": "Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.", - "type": "boolean" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "format": { - "description": "The output format of the report. If not specified, default format is \"CSV\". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. \"CSV\" will then be the fallback format.", - "enum": [ - "CSV", - "EXCEL" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "id": { - "annotations": { - "required": [ - "dfareporting.reports.update" - ] - }, - "description": "The unique ID identifying this report resource.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#report.", - "type": "string" - }, - "lastModifiedTime": { - "annotations": { - "required": [ - "dfareporting.reports.update" - ] - }, - "description": "The timestamp (in milliseconds since epoch) of when this report was last modified.", - "format": "uint64", - "type": "string" - }, - "name": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "The name of the report.", - "type": "string" - }, - "ownerProfileId": { - "annotations": { - "required": [ - "dfareporting.reports.update" - ] - }, - "description": "The user profile id of the owner of this report.", - "format": "int64", - "type": "string" - }, - "pathToConversionCriteria": { - "description": "The report criteria for a report of type \"PATH_TO_CONVERSION\".", - "properties": { - "activityFilters": { - "description": "The list of 'dfa:activity' values to filter on.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "conversionDimensions": { - "description": "The list of conversion dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "customFloodlightVariables": { - "description": "The list of custom floodlight variables the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "customRichMediaEvents": { - "description": "The list of custom rich media events to include.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range this report should be run for." - }, - "floodlightConfigId": { - "$ref": "DimensionValue", - "description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "perInteractionDimensions": { - "description": "The list of per interaction dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "reportProperties": { - "description": "The properties of the report.", - "properties": { - "clicksLookbackWindow": { - "description": "CM360 checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.", - "format": "int32", - "type": "integer" - }, - "impressionsLookbackWindow": { - "description": "CM360 checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.", - "format": "int32", - "type": "integer" - }, - "includeAttributedIPConversions": { - "description": "Deprecated: has no effect.", - "type": "boolean" - }, - "includeUnattributedCookieConversions": { - "description": "Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.", - "type": "boolean" - }, - "includeUnattributedIPConversions": { - "description": "Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.", - "type": "boolean" - }, - "maximumClickInteractions": { - "description": "The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.", - "format": "int32", - "type": "integer" - }, - "maximumImpressionInteractions": { - "description": "The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.", - "format": "int32", - "type": "integer" - }, - "maximumInteractionGap": { - "description": "The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.", - "format": "int32", - "type": "integer" - }, - "pivotOnInteractionPath": { - "description": "Enable pivoting on interaction path.", - "type": "boolean" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "reachCriteria": { - "description": "The report criteria for a report of type \"REACH\".", - "properties": { - "activities": { - "$ref": "Activities", - "description": "Activity group." - }, - "customRichMediaEvents": { - "$ref": "CustomRichMediaEvents", - "description": "Custom Rich Media Events group." - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range this report should be run for." - }, - "dimensionFilters": { - "description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "dimensions": { - "description": "The list of dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "enableAllDimensionCombinations": { - "description": "Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last 42 days.", - "type": "boolean" - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reachByFrequencyMetricNames": { - "description": "The list of names of Reach By Frequency metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "schedule": { - "description": "The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not \"TODAY\".", - "properties": { - "active": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "Whether the schedule is active or not. Must be set to either true or false.", - "type": "boolean" - }, - "every": { - "description": "Defines every how many days, weeks or months the report should be run. Needs to be set when \"repeats\" is either \"DAILY\", \"WEEKLY\" or \"MONTHLY\".", - "format": "int32", - "type": "integer" - }, - "expirationDate": { - "format": "date", - "type": "string" - }, - "repeats": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "The interval for which the report is repeated. Note: - \"DAILY\" also requires field \"every\" to be set. - \"WEEKLY\" also requires fields \"every\" and \"repeatsOnWeekDays\" to be set. - \"MONTHLY\" also requires fields \"every\" and \"runsOnDayOfMonth\" to be set. ", - "type": "string" - }, - "repeatsOnWeekDays": { - "description": "List of week days \"WEEKLY\" on which scheduled reports should run.", - "items": { - "enum": [ - "SUNDAY", - "MONDAY", - "TUESDAY", - "WEDNESDAY", - "THURSDAY", - "FRIDAY", - "SATURDAY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "runsOnDayOfMonth": { - "description": "Enum to define for \"MONTHLY\" scheduled reports whether reports should be repeated on the same day of the month as \"startDate\" or the same day of the week of the month. Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), \"DAY_OF_MONTH\" would run subsequent reports on the 2nd of every Month, and \"WEEK_OF_MONTH\" would run subsequent reports on the first Monday of the month.", - "enum": [ - "DAY_OF_MONTH", - "WEEK_OF_MONTH" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - } - }, - "type": "object" - }, - "subAccountId": { - "description": "The subaccount ID to which this report belongs if applicable.", - "format": "int64", - "type": "string" - }, - "type": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "The type of the report.", - "enum": [ - "STANDARD", - "REACH", - "PATH_TO_CONVERSION", - "CROSS_DIMENSION_REACH", - "FLOODLIGHT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "ReportCompatibleFields": { - "description": "Represents fields that are compatible to be selected for a report of type \"STANDARD\".", - "id": "ReportCompatibleFields", - "properties": { - "dimensionFilters": { - "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "dimensions": { - "description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#reportCompatibleFields.", - "type": "string" - }, - "metrics": { - "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "pivotedActivityMetrics": { - "description": "Metrics which are compatible to be selected as activity metrics to pivot on in the \"activities\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReportList": { - "description": "Represents the list of reports.", - "id": "ReportList", - "properties": { - "etag": { - "description": "The eTag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The reports returned in this response.", - "items": { - "$ref": "Report" - }, - "type": "array" - }, - "kind": { - "description": "The kind of list this is, in this case dfareporting#reportList.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through reports. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", - "type": "string" - } - }, - "type": "object" - }, - "ReportsConfiguration": { - "description": "Reporting Configuration", - "id": "ReportsConfiguration", - "properties": { - "exposureToConversionEnabled": { - "description": "Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.", - "type": "boolean" - }, - "lookbackConfiguration": { - "$ref": "LookbackConfiguration", - "description": "Default lookback windows for new advertisers in this account." - }, - "reportGenerationTimeZoneId": { - "description": "Report generation time zone ID of this account. This is a required field that can only be changed by a superuser. Acceptable values are: - \"1\" for \"America/New_York\" - \"2\" for \"Europe/London\" - \"3\" for \"Europe/Paris\" - \"4\" for \"Africa/Johannesburg\" - \"5\" for \"Asia/Jerusalem\" - \"6\" for \"Asia/Shanghai\" - \"7\" for \"Asia/Hong_Kong\" - \"8\" for \"Asia/Tokyo\" - \"9\" for \"Australia/Sydney\" - \"10\" for \"Asia/Dubai\" - \"11\" for \"America/Los_Angeles\" - \"12\" for \"Pacific/Auckland\" - \"13\" for \"America/Sao_Paulo\" - \"16\" for \"America/Asuncion\" - \"17\" for \"America/Chicago\" - \"18\" for \"America/Denver\" - \"19\" for \"America/St_Johns\" - \"20\" for \"Asia/Dhaka\" - \"21\" for \"Asia/Jakarta\" - \"22\" for \"Asia/Kabul\" - \"23\" for \"Asia/Karachi\" - \"24\" for \"Asia/Calcutta\" - \"25\" for \"Asia/Pyongyang\" - \"26\" for \"Asia/Rangoon\" - \"27\" for \"Atlantic/Cape_Verde\" - \"28\" for \"Atlantic/South_Georgia\" - \"29\" for \"Australia/Adelaide\" - \"30\" for \"Australia/Lord_Howe\" - \"31\" for \"Europe/Moscow\" - \"32\" for \"Pacific/Kiritimati\" - \"35\" for \"Pacific/Norfolk\" - \"36\" for \"Pacific/Tongatapu\" ", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "RichMediaExitOverride": { - "description": "Rich Media Exit Override.", - "id": "RichMediaExitOverride", - "properties": { - "clickThroughUrl": { - "$ref": "ClickThroughUrl", - "description": "Click-through URL of this rich media exit override. Applicable if the enabled field is set to true." - }, - "enabled": { - "description": "Whether to use the clickThroughUrl. If false, the creative-level exit will be used.", - "type": "boolean" - }, - "exitId": { - "description": "ID for the override to refer to a specific exit in the creative.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Rule": { - "description": "A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives.", - "id": "Rule", - "properties": { - "assetId": { - "description": "A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "A user-friendly name for this rule. This is a required field.", - "type": "string" - }, - "targetingTemplateId": { - "description": "A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Site": { - "description": "Contains properties of a site.", - "id": "Site", - "properties": { - "accountId": { - "description": "Account ID of this site. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "approved": { - "description": "Whether this site is approved.", - "type": "boolean" - }, - "directorySiteId": { - "description": "Directory site associated with this site. This is a required field that is read-only after insertion.", - "format": "int64", - "type": "string" - }, - "directorySiteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." - }, - "id": { - "description": "ID of this site. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this site. This is a read-only, auto-generated field." - }, - "keyName": { - "description": "Key name of this site. This is a read-only, auto-generated field.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#site\".", - "type": "string" - }, - "name": { - "description": "Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.", - "type": "string" - }, - "siteContacts": { - "description": "Site contacts.", - "items": { - "$ref": "SiteContact" - }, - "type": "array" - }, - "siteSettings": { - "$ref": "SiteSettings", - "description": "Site-wide settings." - }, - "subaccountId": { - "description": "Subaccount ID of this site. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "videoSettings": { - "$ref": "SiteVideoSettings", - "description": "Default video settings for new placements created under this site. This value will be used to populate the placements.videoSettings field, when no value is specified for the new placement." - } - }, - "type": "object" - }, - "SiteCompanionSetting": { - "description": "Companion Settings", - "id": "SiteCompanionSetting", - "properties": { - "companionsDisabled": { - "description": "Whether companions are disabled for this site template.", - "type": "boolean" - }, - "enabledSizes": { - "description": "Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.", - "items": { - "$ref": "Size" - }, - "type": "array" - }, - "imageOnly": { - "description": "Whether to serve only static images as companions.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteCompanionSetting\".", - "type": "string" - } - }, - "type": "object" - }, - "SiteContact": { - "description": "Site Contact", - "id": "SiteContact", - "properties": { - "address": { - "description": "Address of this site contact.", - "type": "string" - }, - "contactType": { - "description": "Site contact type.", - "enum": [ - "SALES_PERSON", - "TRAFFICKER" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "email": { - "description": "Email address of this site contact. This is a required field.", - "type": "string" - }, - "firstName": { - "description": "First name of this site contact.", - "type": "string" - }, - "id": { - "description": "ID of this site contact. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "lastName": { - "description": "Last name of this site contact.", - "type": "string" - }, - "phone": { - "description": "Primary phone number of this site contact.", - "type": "string" - }, - "title": { - "description": "Title or designation of this site contact.", - "type": "string" - } - }, - "type": "object" - }, - "SiteSettings": { - "description": "Site Settings", - "id": "SiteSettings", - "properties": { - "activeViewOptOut": { - "description": "Whether active view creatives are disabled for this site.", - "type": "boolean" - }, - "adBlockingOptOut": { - "description": "Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect.", - "type": "boolean" - }, - "disableNewCookie": { - "description": "Whether new cookies are disabled for this site.", - "type": "boolean" - }, - "tagSetting": { - "$ref": "TagSetting", - "description": "Configuration settings for dynamic and image floodlight tags." - }, - "videoActiveViewOptOutTemplate": { - "description": "Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement.", - "type": "boolean" - }, - "vpaidAdapterChoiceTemplate": { - "description": "Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.", - "enum": [ - "DEFAULT", - "FLASH", - "HTML5", - "BOTH" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "SiteSkippableSetting": { - "description": "Skippable Settings", - "id": "SiteSkippableSetting", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteSkippableSetting\".", - "type": "string" - }, - "progressOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true." - }, - "skipOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true." - }, - "skippable": { - "description": "Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.", - "type": "boolean" - } - }, - "type": "object" - }, - "SiteTranscodeSetting": { - "description": "Transcode Settings", - "id": "SiteTranscodeSetting", - "properties": { - "enabledVideoFormats": { - "description": "Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteTranscodeSetting\".", - "type": "string" - } - }, - "type": "object" - }, - "SiteVideoSettings": { - "description": "Video Settings", - "id": "SiteVideoSettings", - "properties": { - "companionSettings": { - "$ref": "SiteCompanionSetting", - "description": "Settings for the companion creatives of video creatives served to this site." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteVideoSettings\".", - "type": "string" - }, - "orientation": { - "description": "Orientation of a site template used for video. This will act as default for new placements created under this site.", - "enum": [ - "ANY", - "LANDSCAPE", - "PORTRAIT" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "skippableSettings": { - "$ref": "SiteSkippableSetting", - "description": "Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site." - }, - "transcodeSettings": { - "$ref": "SiteTranscodeSetting", - "description": "Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site." - } - }, - "type": "object" - }, - "SitesListResponse": { - "description": "Site List Response", - "id": "SitesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#sitesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "sites": { - "description": "Site collection.", - "items": { - "$ref": "Site" - }, - "type": "array" - } - }, - "type": "object" - }, - "Size": { - "description": "Represents the dimensions of ads, placements, creatives, or creative assets.", - "id": "Size", - "properties": { - "height": { - "description": "Height of this size. Acceptable values are 0 to 32767, inclusive.", - "format": "int32", - "type": "integer" - }, - "iab": { - "description": "IAB standard size. This is a read-only, auto-generated field.", - "type": "boolean" - }, - "id": { - "description": "ID of this size. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#size\".", - "type": "string" - }, - "width": { - "description": "Width of this size. Acceptable values are 0 to 32767, inclusive.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "SizesListResponse": { - "description": "Size List Response", - "id": "SizesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#sizesListResponse\".", - "type": "string" - }, - "sizes": { - "description": "Size collection.", - "items": { - "$ref": "Size" - }, - "type": "array" - } - }, - "type": "object" - }, - "SkippableSetting": { - "description": "Skippable Settings", - "id": "SkippableSetting", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#skippableSetting\".", - "type": "string" - }, - "progressOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true." - }, - "skipOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true." - }, - "skippable": { - "description": "Whether the user can skip creatives served to this placement.", - "type": "boolean" - } - }, - "type": "object" - }, - "SortedDimension": { - "description": "Represents a sorted dimension.", - "id": "SortedDimension", - "properties": { - "kind": { - "description": "The kind of resource this is, in this case dfareporting#sortedDimension.", - "type": "string" - }, - "name": { - "description": "The name of the dimension.", - "type": "string" - }, - "sortOrder": { - "description": "An optional sort order for the dimension column.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "Subaccount": { - "description": "Contains properties of a Campaign Manager subaccount.", - "id": "Subaccount", - "properties": { - "accountId": { - "description": "ID of the account that contains this subaccount. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "availablePermissionIds": { - "description": "IDs of the available user role permissions for this subaccount.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "id": { - "description": "ID of this subaccount. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#subaccount\".", - "type": "string" - }, - "name": { - "description": "Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.", - "type": "string" - } - }, - "type": "object" - }, - "SubaccountsListResponse": { - "description": "Subaccount List Response", - "id": "SubaccountsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#subaccountsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "subaccounts": { - "description": "Subaccount collection.", - "items": { - "$ref": "Subaccount" - }, - "type": "array" - } - }, - "type": "object" - }, - "TagData": { - "description": "Placement Tag Data", - "id": "TagData", - "properties": { - "adId": { - "description": "Ad associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.", - "format": "int64", - "type": "string" - }, - "clickTag": { - "description": "Tag string to record a click.", - "type": "string" - }, - "creativeId": { - "description": "Creative associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.", - "format": "int64", - "type": "string" - }, - "format": { - "description": "TagData tag format of this tag.", - "enum": [ - "PLACEMENT_TAG_STANDARD", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_IFRAME_ILAYER", - "PLACEMENT_TAG_INTERNAL_REDIRECT", - "PLACEMENT_TAG_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", - "PLACEMENT_TAG_CLICK_COMMANDS", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", - "PLACEMENT_TAG_TRACKING", - "PLACEMENT_TAG_TRACKING_IFRAME", - "PLACEMENT_TAG_TRACKING_JAVASCRIPT", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", - "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "impressionTag": { - "description": "Tag string for serving an ad.", - "type": "string" - } - }, - "type": "object" - }, - "TagSetting": { - "description": "Tag Settings", - "id": "TagSetting", - "properties": { - "additionalKeyValues": { - "description": "Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.", - "type": "string" - }, - "includeClickThroughUrls": { - "description": "Whether static landing page URLs should be included in the tags. This setting applies only to placements.", - "type": "boolean" - }, - "includeClickTracking": { - "description": "Whether click-tracking string should be included in the tags.", - "type": "boolean" - }, - "keywordOption": { - "description": "Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.", - "enum": [ - "PLACEHOLDER_WITH_LIST_OF_KEYWORDS", - "IGNORE", - "GENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "TagSettings": { - "description": "Dynamic and Image Tag Settings.", - "id": "TagSettings", - "properties": { - "dynamicTagEnabled": { - "description": "Whether dynamic floodlight tags are enabled.", - "type": "boolean" - }, - "imageTagEnabled": { - "description": "Whether image tags are enabled.", - "type": "boolean" - } - }, - "type": "object" - }, - "TargetWindow": { - "description": "Target Window.", - "id": "TargetWindow", - "properties": { - "customHtml": { - "description": "User-entered value.", - "type": "string" - }, - "targetWindowOption": { - "description": "Type of browser window for which the backup image of the flash creative can be displayed.", - "enum": [ - "NEW_WINDOW", - "CURRENT_WINDOW", - "CUSTOM" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "TargetableRemarketingList": { - "description": "Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to faciliate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource.", - "id": "TargetableRemarketingList", - "properties": { - "accountId": { - "description": "Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", - "format": "int64", - "type": "string" - }, - "active": { - "description": "Whether this targetable remarketing list is active.", - "type": "boolean" - }, - "advertiserId": { - "description": "Dimension value for the advertiser ID that owns this targetable remarketing list.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser." - }, - "description": { - "description": "Targetable remarketing list description.", - "type": "string" - }, - "id": { - "description": "Targetable remarketing list ID.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetableRemarketingList\".", - "type": "string" - }, - "lifeSpan": { - "description": "Number of days that a user should remain in the targetable remarketing list without an impression.", - "format": "int64", - "type": "string" - }, - "listSize": { - "description": "Number of users currently in the list. This is a read-only field.", - "format": "int64", - "type": "string" - }, - "listSource": { - "description": "Product from which this targetable remarketing list was originated.", - "enum": [ - "REMARKETING_LIST_SOURCE_OTHER", - "REMARKETING_LIST_SOURCE_ADX", - "REMARKETING_LIST_SOURCE_DFP", - "REMARKETING_LIST_SOURCE_XFP", - "REMARKETING_LIST_SOURCE_DFA", - "REMARKETING_LIST_SOURCE_GA", - "REMARKETING_LIST_SOURCE_YOUTUBE", - "REMARKETING_LIST_SOURCE_DBM", - "REMARKETING_LIST_SOURCE_GPLUS", - "REMARKETING_LIST_SOURCE_DMP", - "REMARKETING_LIST_SOURCE_PLAY_STORE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "name": { - "description": "Name of the targetable remarketing list. Is no greater than 128 characters long.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "TargetableRemarketingListsListResponse": { - "description": "Targetable remarketing list response", - "id": "TargetableRemarketingListsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetableRemarketingListsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "targetableRemarketingLists": { - "description": "Targetable remarketing list collection.", - "items": { - "$ref": "TargetableRemarketingList" - }, - "type": "array" - } - }, - "type": "object" - }, - "TargetingTemplate": { - "description": "Contains properties of a targeting template. A targeting template encapsulates targeting information which can be reused across multiple ads.", - "id": "TargetingTemplate", - "properties": { - "accountId": { - "description": "Account ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this targeting template. This is a required field on insert and is read-only after insert.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "dayPartTargeting": { - "$ref": "DayPartTargeting", - "description": "Time and day targeting criteria." - }, - "geoTargeting": { - "$ref": "GeoTargeting", - "description": "Geographical targeting criteria." - }, - "id": { - "description": "ID of this targeting template. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "keyValueTargetingExpression": { - "$ref": "KeyValueTargetingExpression", - "description": "Key-value targeting criteria." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetingTemplate\".", - "type": "string" - }, - "languageTargeting": { - "$ref": "LanguageTargeting", - "description": "Language targeting criteria." - }, - "listTargetingExpression": { - "$ref": "ListTargetingExpression", - "description": "Remarketing list targeting criteria." - }, - "name": { - "description": "Name of this targeting template. This field is required. It must be less than 256 characters long and unique within an advertiser.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.", - "format": "int64", - "type": "string" - }, - "technologyTargeting": { - "$ref": "TechnologyTargeting", - "description": "Technology platform targeting criteria." - } - }, - "type": "object" - }, - "TargetingTemplatesListResponse": { - "description": "Targeting Template List Response", - "id": "TargetingTemplatesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetingTemplatesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "targetingTemplates": { - "description": "Targeting template collection.", - "items": { - "$ref": "TargetingTemplate" - }, - "type": "array" - } - }, - "type": "object" - }, - "TechnologyTargeting": { - "description": "Technology Targeting.", - "id": "TechnologyTargeting", - "properties": { - "browsers": { - "description": "Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used. The other fields are populated automatically when the ad is inserted or updated.", - "items": { - "$ref": "Browser" - }, - "type": "array" - }, - "connectionTypes": { - "description": "Connection types that this ad targets. For each connection type only id is required. The other fields are populated automatically when the ad is inserted or updated.", - "items": { - "$ref": "ConnectionType" - }, - "type": "array" - }, - "mobileCarriers": { - "description": "Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.", - "items": { - "$ref": "MobileCarrier" - }, - "type": "array" - }, - "operatingSystemVersions": { - "description": "Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.", - "items": { - "$ref": "OperatingSystemVersion" - }, - "type": "array" - }, - "operatingSystems": { - "description": "Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.", - "items": { - "$ref": "OperatingSystem" - }, - "type": "array" - }, - "platformTypes": { - "description": "Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.", - "items": { - "$ref": "PlatformType" - }, - "type": "array" - } - }, - "type": "object" - }, - "ThirdPartyAuthenticationToken": { - "description": "Third Party Authentication Token", - "id": "ThirdPartyAuthenticationToken", - "properties": { - "name": { - "description": "Name of the third-party authentication token.", - "type": "string" - }, - "value": { - "description": "Value of the third-party authentication token. This is a read-only, auto-generated field.", - "type": "string" - } - }, - "type": "object" - }, - "ThirdPartyTrackingUrl": { - "description": "Third-party Tracking URL.", - "id": "ThirdPartyTrackingUrl", - "properties": { - "thirdPartyUrlType": { - "description": "Third-party URL type for in-stream video and in-stream audio creatives.", - "enum": [ - "IMPRESSION", - "CLICK_TRACKING", - "VIDEO_START", - "VIDEO_FIRST_QUARTILE", - "VIDEO_MIDPOINT", - "VIDEO_THIRD_QUARTILE", - "VIDEO_COMPLETE", - "VIDEO_MUTE", - "VIDEO_PAUSE", - "VIDEO_REWIND", - "VIDEO_FULLSCREEN", - "VIDEO_STOP", - "VIDEO_CUSTOM", - "SURVEY", - "RICH_MEDIA_IMPRESSION", - "RICH_MEDIA_RM_IMPRESSION", - "RICH_MEDIA_BACKUP_IMPRESSION", - "VIDEO_SKIP", - "VIDEO_PROGRESS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "url": { - "description": "URL for the specified third-party URL type.", - "type": "string" - } - }, - "type": "object" - }, - "TranscodeSetting": { - "description": "Transcode Settings", - "id": "TranscodeSetting", - "properties": { - "enabledVideoFormats": { - "description": "Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#transcodeSetting\".", - "type": "string" - } - }, - "type": "object" - }, - "UniversalAdId": { - "description": "A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID.", - "id": "UniversalAdId", - "properties": { - "registry": { - "description": "Registry used for the Ad ID value.", - "enum": [ - "OTHER", - "AD_ID.ORG", - "CLEARCAST", - "DCM" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "value": { - "description": "ID value for this creative. Only alphanumeric characters and the following symbols are valid: \"_/\\-\". Maximum length is 64 characters. Read only when registry is DCM.", - "type": "string" - } - }, - "type": "object" - }, - "UserDefinedVariableConfiguration": { - "description": "User Defined Variable configuration.", - "id": "UserDefinedVariableConfiguration", - "properties": { - "dataType": { - "description": "Data type for the variable. This is a required field.", - "enum": [ - "STRING", - "NUMBER" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "reportName": { - "description": "User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: \"\"<>\".", - "type": "string" - }, - "variableType": { - "description": "Variable name in the tag. This is a required field.", - "enum": [ - "U1", - "U2", - "U3", - "U4", - "U5", - "U6", - "U7", - "U8", - "U9", - "U10", - "U11", - "U12", - "U13", - "U14", - "U15", - "U16", - "U17", - "U18", - "U19", - "U20", - "U21", - "U22", - "U23", - "U24", - "U25", - "U26", - "U27", - "U28", - "U29", - "U30", - "U31", - "U32", - "U33", - "U34", - "U35", - "U36", - "U37", - "U38", - "U39", - "U40", - "U41", - "U42", - "U43", - "U44", - "U45", - "U46", - "U47", - "U48", - "U49", - "U50", - "U51", - "U52", - "U53", - "U54", - "U55", - "U56", - "U57", - "U58", - "U59", - "U60", - "U61", - "U62", - "U63", - "U64", - "U65", - "U66", - "U67", - "U68", - "U69", - "U70", - "U71", - "U72", - "U73", - "U74", - "U75", - "U76", - "U77", - "U78", - "U79", - "U80", - "U81", - "U82", - "U83", - "U84", - "U85", - "U86", - "U87", - "U88", - "U89", - "U90", - "U91", - "U92", - "U93", - "U94", - "U95", - "U96", - "U97", - "U98", - "U99", - "U100" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "UserProfile": { - "description": "A UserProfile resource lets you list all DFA user profiles that are associated with a Google user account. The profile_id needs to be specified in other API requests. ", - "id": "UserProfile", - "properties": { - "accountId": { - "description": "The account ID to which this profile belongs.", - "format": "int64", - "type": "string" - }, - "accountName": { - "description": "The account name this profile belongs to.", - "type": "string" - }, - "etag": { - "description": "Etag of this resource.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userProfile\".", - "type": "string" - }, - "profileId": { - "description": "The unique ID of the user profile.", - "format": "int64", - "type": "string" - }, - "subAccountId": { - "description": "The sub account ID this profile belongs to if applicable.", - "format": "int64", - "type": "string" - }, - "subAccountName": { - "description": "The sub account name this profile belongs to if applicable.", - "type": "string" - }, - "userName": { - "description": "The user name.", - "type": "string" - } - }, - "type": "object" - }, - "UserProfileList": { - "description": "Represents the list of user profiles.", - "id": "UserProfileList", - "properties": { - "etag": { - "description": "Etag of this resource.", - "type": "string" - }, - "items": { - "description": "The user profiles returned in this response.", - "items": { - "$ref": "UserProfile" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userProfileList\".", - "type": "string" - } - }, - "type": "object" - }, - "UserRole": { - "description": "Contains properties of auser role, which is used to manage user access.", - "id": "UserRole", - "properties": { - "accountId": { - "description": "Account ID of this user role. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "defaultUserRole": { - "description": "Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.", - "type": "boolean" - }, - "id": { - "description": "ID of this user role. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRole\".", - "type": "string" - }, - "name": { - "description": "Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.", - "type": "string" - }, - "parentUserRoleId": { - "description": "ID of the user role that this user role is based on or copied from. This is a required field.", - "format": "int64", - "type": "string" - }, - "permissions": { - "description": "List of permissions associated with this user role.", - "items": { - "$ref": "UserRolePermission" - }, - "type": "array" - }, - "subaccountId": { - "description": "Subaccount ID of this user role. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "UserRolePermission": { - "description": "Contains properties of a user role permission.", - "id": "UserRolePermission", - "properties": { - "availability": { - "description": "Levels of availability for a user role permission.", - "enum": [ - "NOT_AVAILABLE_BY_DEFAULT", - "ACCOUNT_BY_DEFAULT", - "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT", - "ACCOUNT_ALWAYS", - "SUBACCOUNT_AND_ACCOUNT_ALWAYS", - "USER_PROFILE_ONLY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "id": { - "description": "ID of this user role permission.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermission\".", - "type": "string" - }, - "name": { - "description": "Name of this user role permission.", - "type": "string" - }, - "permissionGroupId": { - "description": "ID of the permission group that this user role permission belongs to.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "UserRolePermissionGroup": { - "description": "Represents a grouping of related user role permissions.", - "id": "UserRolePermissionGroup", - "properties": { - "id": { - "description": "ID of this user role permission.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionGroup\".", - "type": "string" - }, - "name": { - "description": "Name of this user role permission group.", - "type": "string" - } - }, - "type": "object" - }, - "UserRolePermissionGroupsListResponse": { - "description": "User Role Permission Group List Response", - "id": "UserRolePermissionGroupsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionGroupsListResponse\".", - "type": "string" - }, - "userRolePermissionGroups": { - "description": "User role permission group collection.", - "items": { - "$ref": "UserRolePermissionGroup" - }, - "type": "array" - } - }, - "type": "object" - }, - "UserRolePermissionsListResponse": { - "description": "User Role Permission List Response", - "id": "UserRolePermissionsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionsListResponse\".", - "type": "string" - }, - "userRolePermissions": { - "description": "User role permission collection.", - "items": { - "$ref": "UserRolePermission" - }, - "type": "array" - } - }, - "type": "object" - }, - "UserRolesListResponse": { - "description": "User Role List Response", - "id": "UserRolesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "userRoles": { - "description": "User role collection.", - "items": { - "$ref": "UserRole" - }, - "type": "array" - } - }, - "type": "object" - }, - "VideoFormat": { - "description": "Contains information about supported video formats.", - "id": "VideoFormat", - "properties": { - "fileType": { - "description": "File type of the video format.", - "enum": [ - "FLV", - "THREEGPP", - "MP4", - "WEBM", - "M3U8" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "id": { - "description": "ID of the video format.", - "format": "int32", - "type": "integer" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoFormat\".", - "type": "string" - }, - "resolution": { - "$ref": "Size", - "description": "The resolution of this video format." - }, - "targetBitRate": { - "description": "The target bit rate of this video format.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "VideoFormatsListResponse": { - "description": "Video Format List Response", - "id": "VideoFormatsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoFormatsListResponse\".", - "type": "string" - }, - "videoFormats": { - "description": "Video format collection.", - "items": { - "$ref": "VideoFormat" - }, - "type": "array" - } - }, - "type": "object" - }, - "VideoOffset": { - "description": "Video Offset", - "id": "VideoOffset", - "properties": { - "offsetPercentage": { - "description": "Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.", - "format": "int32", - "type": "integer" - }, - "offsetSeconds": { - "description": "Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "VideoSettings": { - "description": "Video Settings", - "id": "VideoSettings", - "properties": { - "companionSettings": { - "$ref": "CompanionSetting", - "description": "Settings for the companion creatives of video creatives served to this placement." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoSettings\".", - "type": "string" - }, - "orientation": { - "description": "Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.", - "enum": [ - "ANY", - "LANDSCAPE", - "PORTRAIT" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "skippableSettings": { - "$ref": "SkippableSetting", - "description": "Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden." - }, - "transcodeSettings": { - "$ref": "TranscodeSetting", - "description": "Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden." - } - }, - "type": "object" - } - }, - "servicePath": "dfareporting/v3.3/", - "title": "Campaign Manager 360 API", - "version": "v3.3" -} \ No newline at end of file diff --git a/discovery/dfareporting-v3.4.json b/discovery/dfareporting-v3.4.json deleted file mode 100644 index c051b57d4c7..00000000000 --- a/discovery/dfareporting-v3.4.json +++ /dev/null @@ -1,20725 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/ddmconversions": { - "description": "Manage DoubleClick Digital Marketing conversions" - }, - "https://www.googleapis.com/auth/dfareporting": { - "description": "View and manage DoubleClick for Advertisers reports" - }, - "https://www.googleapis.com/auth/dfatrafficking": { - "description": "View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns" - } - } - } - }, - "basePath": "/dfareporting/v3.4/", - "baseUrl": "https://dfareporting.googleapis.com/dfareporting/v3.4/", - "batchPath": "batch", - "canonicalName": "Dfareporting", - "description": "Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/doubleclick-advertisers/", - "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": "dfareporting:v3.4", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://dfareporting.mtls.googleapis.com/", - "name": "dfareporting", - "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": { - "accountActiveAdSummaries": { - "methods": { - "get": { - "description": "Gets the account's active ad summary by account ID.", - "flatPath": "userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}", - "httpMethod": "GET", - "id": "dfareporting.accountActiveAdSummaries.get", - "parameterOrder": [ - "profileId", - "summaryAccountId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "summaryAccountId": { - "description": "Account ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}", - "response": { - "$ref": "AccountActiveAdSummary" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "accountPermissionGroups": { - "methods": { - "get": { - "description": "Gets one account permission group by ID.", - "flatPath": "userprofiles/{profileId}/accountPermissionGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.accountPermissionGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Account permission group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountPermissionGroups/{id}", - "response": { - "$ref": "AccountPermissionGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves the list of account permission groups.", - "flatPath": "userprofiles/{profileId}/accountPermissionGroups", - "httpMethod": "GET", - "id": "dfareporting.accountPermissionGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountPermissionGroups", - "response": { - "$ref": "AccountPermissionGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "accountPermissions": { - "methods": { - "get": { - "description": "Gets one account permission by ID.", - "flatPath": "userprofiles/{profileId}/accountPermissions/{id}", - "httpMethod": "GET", - "id": "dfareporting.accountPermissions.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Account permission ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountPermissions/{id}", - "response": { - "$ref": "AccountPermission" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves the list of account permissions.", - "flatPath": "userprofiles/{profileId}/accountPermissions", - "httpMethod": "GET", - "id": "dfareporting.accountPermissions.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountPermissions", - "response": { - "$ref": "AccountPermissionsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "accountUserProfiles": { - "methods": { - "get": { - "description": "Gets one account user profile by ID.", - "flatPath": "userprofiles/{profileId}/accountUserProfiles/{id}", - "httpMethod": "GET", - "id": "dfareporting.accountUserProfiles.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "User profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountUserProfiles/{id}", - "response": { - "$ref": "AccountUserProfile" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new account user profile.", - "flatPath": "userprofiles/{profileId}/accountUserProfiles", - "httpMethod": "POST", - "id": "dfareporting.accountUserProfiles.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountUserProfiles", - "request": { - "$ref": "AccountUserProfile" - }, - "response": { - "$ref": "AccountUserProfile" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of account user profiles, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/accountUserProfiles", - "httpMethod": "GET", - "id": "dfareporting.accountUserProfiles.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "active": { - "description": "Select only active user profiles.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only user profiles with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, \"user profile*2015\" will return objects with names like \"user profile June 2015\", \"user profile April 2015\", or simply \"user profile 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"user profile\" will match objects with name \"my user profile\", \"user profile 2015\", or simply \"user profile\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only user profiles with the specified subaccount ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "userRoleId": { - "description": "Select only user profiles with the specified user role ID.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountUserProfiles", - "response": { - "$ref": "AccountUserProfilesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing account user profile. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/accountUserProfiles", - "httpMethod": "PATCH", - "id": "dfareporting.accountUserProfiles.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "AccountUserProfile ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountUserProfiles", - "request": { - "$ref": "AccountUserProfile" - }, - "response": { - "$ref": "AccountUserProfile" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing account user profile.", - "flatPath": "userprofiles/{profileId}/accountUserProfiles", - "httpMethod": "PUT", - "id": "dfareporting.accountUserProfiles.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accountUserProfiles", - "request": { - "$ref": "AccountUserProfile" - }, - "response": { - "$ref": "AccountUserProfile" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "accounts": { - "methods": { - "get": { - "description": "Gets one account by ID.", - "flatPath": "userprofiles/{profileId}/accounts/{id}", - "httpMethod": "GET", - "id": "dfareporting.accounts.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Account ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accounts/{id}", - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves the list of accounts, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/accounts", - "httpMethod": "GET", - "id": "dfareporting.accounts.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "active": { - "description": "Select only active accounts. Don't set this field to select both active and non-active accounts.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only accounts with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"account*2015\" will return objects with names like \"account June 2015\", \"account April 2015\", or simply \"account 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"account\" will match objects with name \"my account\", \"account 2015\", or simply \"account\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accounts", - "response": { - "$ref": "AccountsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing account. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/accounts", - "httpMethod": "PATCH", - "id": "dfareporting.accounts.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Account ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accounts", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing account.", - "flatPath": "userprofiles/{profileId}/accounts", - "httpMethod": "PUT", - "id": "dfareporting.accounts.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/accounts", - "request": { - "$ref": "Account" - }, - "response": { - "$ref": "Account" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "ads": { - "methods": { - "get": { - "description": "Gets one ad by ID.", - "flatPath": "userprofiles/{profileId}/ads/{id}", - "httpMethod": "GET", - "id": "dfareporting.ads.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Ad ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/ads/{id}", - "response": { - "$ref": "Ad" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new ad.", - "flatPath": "userprofiles/{profileId}/ads", - "httpMethod": "POST", - "id": "dfareporting.ads.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/ads", - "request": { - "$ref": "Ad" - }, - "response": { - "$ref": "Ad" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of ads, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/ads", - "httpMethod": "GET", - "id": "dfareporting.ads.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "active": { - "description": "Select only active ads.", - "location": "query", - "type": "boolean" - }, - "advertiserId": { - "description": "Select only ads with this advertiser ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "archived": { - "description": "Select only archived ads.", - "location": "query", - "type": "boolean" - }, - "audienceSegmentIds": { - "description": "Select only ads with these audience segment IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "campaignIds": { - "description": "Select only ads with these campaign IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "compatibility": { - "description": "Select default ads with the specified compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.", - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "type": "string" - }, - "creativeIds": { - "description": "Select only ads with these creative IDs assigned.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "creativeOptimizationConfigurationIds": { - "description": "Select only ads with these creative optimization configuration IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "dynamicClickTracker": { - "description": "Select only dynamic click trackers. Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, select static click trackers. Leave unset to select both.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only ads with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "landingPageIds": { - "description": "Select only ads with these landing page IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "overriddenEventTagId": { - "description": "Select only ads with this event tag override ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "placementIds": { - "description": "Select only ads with these placement IDs assigned.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "remarketingListIds": { - "description": "Select only ads whose list targeting expression use these remarketing list IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"ad*2015\" will return objects with names like \"ad June 2015\", \"ad April 2015\", or simply \"ad 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"ad\" will match objects with name \"my ad\", \"ad 2015\", or simply \"ad\".", - "location": "query", - "type": "string" - }, - "sizeIds": { - "description": "Select only ads with these size IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sslCompliant": { - "description": "Select only ads that are SSL-compliant.", - "location": "query", - "type": "boolean" - }, - "sslRequired": { - "description": "Select only ads that require SSL.", - "location": "query", - "type": "boolean" - }, - "type": { - "description": "Select only ads with these types.", - "enum": [ - "AD_SERVING_STANDARD_AD", - "AD_SERVING_DEFAULT_AD", - "AD_SERVING_CLICK_TRACKER", - "AD_SERVING_TRACKING", - "AD_SERVING_BRAND_SAFE_AD" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/ads", - "response": { - "$ref": "AdsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing ad. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/ads", - "httpMethod": "PATCH", - "id": "dfareporting.ads.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Ad ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/ads", - "request": { - "$ref": "Ad" - }, - "response": { - "$ref": "Ad" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing ad.", - "flatPath": "userprofiles/{profileId}/ads", - "httpMethod": "PUT", - "id": "dfareporting.ads.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/ads", - "request": { - "$ref": "Ad" - }, - "response": { - "$ref": "Ad" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "advertiserGroups": { - "methods": { - "delete": { - "description": "Deletes an existing advertiser group.", - "flatPath": "userprofiles/{profileId}/advertiserGroups/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.advertiserGroups.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Advertiser group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one advertiser group by ID.", - "flatPath": "userprofiles/{profileId}/advertiserGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.advertiserGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Advertiser group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups/{id}", - "response": { - "$ref": "AdvertiserGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new advertiser group.", - "flatPath": "userprofiles/{profileId}/advertiserGroups", - "httpMethod": "POST", - "id": "dfareporting.advertiserGroups.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups", - "request": { - "$ref": "AdvertiserGroup" - }, - "response": { - "$ref": "AdvertiserGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of advertiser groups, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/advertiserGroups", - "httpMethod": "GET", - "id": "dfareporting.advertiserGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Select only advertiser groups with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"advertiser*2015\" will return objects with names like \"advertiser group June 2015\", \"advertiser group April 2015\", or simply \"advertiser group 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"advertisergroup\" will match objects with name \"my advertisergroup\", \"advertisergroup 2015\", or simply \"advertisergroup\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups", - "response": { - "$ref": "AdvertiserGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing advertiser group. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/advertiserGroups", - "httpMethod": "PATCH", - "id": "dfareporting.advertiserGroups.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "AdvertiserGroup ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups", - "request": { - "$ref": "AdvertiserGroup" - }, - "response": { - "$ref": "AdvertiserGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing advertiser group.", - "flatPath": "userprofiles/{profileId}/advertiserGroups", - "httpMethod": "PUT", - "id": "dfareporting.advertiserGroups.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserGroups", - "request": { - "$ref": "AdvertiserGroup" - }, - "response": { - "$ref": "AdvertiserGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "advertiserLandingPages": { - "methods": { - "get": { - "description": "Gets one landing page by ID.", - "flatPath": "userprofiles/{profileId}/advertiserLandingPages/{id}", - "httpMethod": "GET", - "id": "dfareporting.advertiserLandingPages.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Landing page ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserLandingPages/{id}", - "response": { - "$ref": "LandingPage" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new landing page.", - "flatPath": "userprofiles/{profileId}/advertiserLandingPages", - "httpMethod": "POST", - "id": "dfareporting.advertiserLandingPages.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserLandingPages", - "request": { - "$ref": "LandingPage" - }, - "response": { - "$ref": "LandingPage" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of landing pages.", - "flatPath": "userprofiles/{profileId}/advertiserLandingPages", - "httpMethod": "GET", - "id": "dfareporting.advertiserLandingPages.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only landing pages that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "archived": { - "description": "Select only archived landing pages. Don't set this field to select both archived and non-archived landing pages.", - "location": "query", - "type": "boolean" - }, - "campaignIds": { - "description": "Select only landing pages that are associated with these campaigns.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only landing pages with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for landing pages by name or ID. Wildcards (*) are allowed. For example, \"landingpage*2017\" will return landing pages with names like \"landingpage July 2017\", \"landingpage March 2017\", or simply \"landingpage 2017\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"landingpage\" will match campaigns with name \"my landingpage\", \"landingpage 2015\", or simply \"landingpage\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only landing pages that belong to this subaccount.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserLandingPages", - "response": { - "$ref": "AdvertiserLandingPagesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing advertiser landing page. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/advertiserLandingPages", - "httpMethod": "PATCH", - "id": "dfareporting.advertiserLandingPages.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "LandingPage ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserLandingPages", - "request": { - "$ref": "LandingPage" - }, - "response": { - "$ref": "LandingPage" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing landing page.", - "flatPath": "userprofiles/{profileId}/advertiserLandingPages", - "httpMethod": "PUT", - "id": "dfareporting.advertiserLandingPages.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertiserLandingPages", - "request": { - "$ref": "LandingPage" - }, - "response": { - "$ref": "LandingPage" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "advertisers": { - "methods": { - "get": { - "description": "Gets one advertiser by ID.", - "flatPath": "userprofiles/{profileId}/advertisers/{id}", - "httpMethod": "GET", - "id": "dfareporting.advertisers.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Advertiser ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertisers/{id}", - "response": { - "$ref": "Advertiser" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new advertiser.", - "flatPath": "userprofiles/{profileId}/advertisers", - "httpMethod": "POST", - "id": "dfareporting.advertisers.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertisers", - "request": { - "$ref": "Advertiser" - }, - "response": { - "$ref": "Advertiser" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of advertisers, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/advertisers", - "httpMethod": "GET", - "id": "dfareporting.advertisers.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserGroupIds": { - "description": "Select only advertisers with these advertiser group IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "floodlightConfigurationIds": { - "description": "Select only advertisers with these floodlight configuration IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only advertisers with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "includeAdvertisersWithoutGroupsOnly": { - "description": "Select only advertisers which do not belong to any advertiser group.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "onlyParent": { - "description": "Select only advertisers which use another advertiser's floodlight configuration.", - "location": "query", - "type": "boolean" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"advertiser*2015\" will return objects with names like \"advertiser June 2015\", \"advertiser April 2015\", or simply \"advertiser 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"advertiser\" will match objects with name \"my advertiser\", \"advertiser 2015\", or simply \"advertiser\" .", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "status": { - "description": "Select only advertisers with the specified status.", - "enum": [ - "APPROVED", - "ON_HOLD" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only advertisers with these subaccount IDs.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertisers", - "response": { - "$ref": "AdvertisersListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing advertiser. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/advertisers", - "httpMethod": "PATCH", - "id": "dfareporting.advertisers.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Advertiser ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertisers", - "request": { - "$ref": "Advertiser" - }, - "response": { - "$ref": "Advertiser" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing advertiser.", - "flatPath": "userprofiles/{profileId}/advertisers", - "httpMethod": "PUT", - "id": "dfareporting.advertisers.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/advertisers", - "request": { - "$ref": "Advertiser" - }, - "response": { - "$ref": "Advertiser" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "browsers": { - "methods": { - "list": { - "description": "Retrieves a list of browsers.", - "flatPath": "userprofiles/{profileId}/browsers", - "httpMethod": "GET", - "id": "dfareporting.browsers.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/browsers", - "response": { - "$ref": "BrowsersListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "campaignCreativeAssociations": { - "methods": { - "insert": { - "description": "Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.", - "flatPath": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", - "httpMethod": "POST", - "id": "dfareporting.campaignCreativeAssociations.insert", - "parameterOrder": [ - "profileId", - "campaignId" - ], - "parameters": { - "campaignId": { - "description": "Campaign ID in this association.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", - "request": { - "$ref": "CampaignCreativeAssociation" - }, - "response": { - "$ref": "CampaignCreativeAssociation" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.", - "flatPath": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", - "httpMethod": "GET", - "id": "dfareporting.campaignCreativeAssociations.list", - "parameterOrder": [ - "profileId", - "campaignId" - ], - "parameters": { - "campaignId": { - "description": "Campaign ID in this association.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", - "response": { - "$ref": "CampaignCreativeAssociationsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "campaigns": { - "methods": { - "get": { - "description": "Gets one campaign by ID.", - "flatPath": "userprofiles/{profileId}/campaigns/{id}", - "httpMethod": "GET", - "id": "dfareporting.campaigns.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Campaign ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns/{id}", - "response": { - "$ref": "Campaign" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new campaign.", - "flatPath": "userprofiles/{profileId}/campaigns", - "httpMethod": "POST", - "id": "dfareporting.campaigns.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns", - "request": { - "$ref": "Campaign" - }, - "response": { - "$ref": "Campaign" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of campaigns, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/campaigns", - "httpMethod": "GET", - "id": "dfareporting.campaigns.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserGroupIds": { - "description": "Select only campaigns whose advertisers belong to these advertiser groups.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "advertiserIds": { - "description": "Select only campaigns that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "archived": { - "description": "Select only archived campaigns. Don't set this field to select both archived and non-archived campaigns.", - "location": "query", - "type": "boolean" - }, - "atLeastOneOptimizationActivity": { - "description": "Select only campaigns that have at least one optimization activity.", - "location": "query", - "type": "boolean" - }, - "excludedIds": { - "description": "Exclude campaigns with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only campaigns with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "overriddenEventTagId": { - "description": "Select only campaigns that have overridden this event tag ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, \"campaign*2015\" will return campaigns with names like \"campaign June 2015\", \"campaign April 2015\", or simply \"campaign 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"campaign\" will match campaigns with name \"my campaign\", \"campaign 2015\", or simply \"campaign\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only campaigns that belong to this subaccount.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns", - "response": { - "$ref": "CampaignsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing campaign. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/campaigns", - "httpMethod": "PATCH", - "id": "dfareporting.campaigns.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Campaign ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns", - "request": { - "$ref": "Campaign" - }, - "response": { - "$ref": "Campaign" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing campaign.", - "flatPath": "userprofiles/{profileId}/campaigns", - "httpMethod": "PUT", - "id": "dfareporting.campaigns.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/campaigns", - "request": { - "$ref": "Campaign" - }, - "response": { - "$ref": "Campaign" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "changeLogs": { - "methods": { - "get": { - "description": "Gets one change log by ID.", - "flatPath": "userprofiles/{profileId}/changeLogs/{id}", - "httpMethod": "GET", - "id": "dfareporting.changeLogs.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Change log ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/changeLogs/{id}", - "response": { - "$ref": "ChangeLog" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of change logs. This method supports paging.", - "flatPath": "userprofiles/{profileId}/changeLogs", - "httpMethod": "GET", - "id": "dfareporting.changeLogs.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "action": { - "description": "Select only change logs with the specified action.", - "enum": [ - "ACTION_CREATE", - "ACTION_UPDATE", - "ACTION_DELETE", - "ACTION_ENABLE", - "ACTION_DISABLE", - "ACTION_ADD", - "ACTION_REMOVE", - "ACTION_MARK_AS_DEFAULT", - "ACTION_ASSOCIATE", - "ACTION_ASSIGN", - "ACTION_UNASSIGN", - "ACTION_SEND", - "ACTION_LINK", - "ACTION_UNLINK", - "ACTION_PUSH", - "ACTION_EMAIL_TAGS", - "ACTION_SHARE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "type": "string" - }, - "ids": { - "description": "Select only change logs with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxChangeTime": { - "description": "Select only change logs whose change time is before the specified maxChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is \"2015-07-18T22:54:00-04:00\". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "minChangeTime": { - "description": "Select only change logs whose change time is after the specified minChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is \"2015-07-18T22:54:00-04:00\". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.", - "location": "query", - "type": "string" - }, - "objectIds": { - "description": "Select only change logs with these object IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "objectType": { - "description": "Select only change logs with the specified object type.", - "enum": [ - "OBJECT_ADVERTISER", - "OBJECT_FLOODLIGHT_CONFIGURATION", - "OBJECT_AD", - "OBJECT_FLOODLIGHT_ACTVITY", - "OBJECT_CAMPAIGN", - "OBJECT_FLOODLIGHT_ACTIVITY_GROUP", - "OBJECT_CREATIVE", - "OBJECT_PLACEMENT", - "OBJECT_DFA_SITE", - "OBJECT_USER_ROLE", - "OBJECT_USER_PROFILE", - "OBJECT_ADVERTISER_GROUP", - "OBJECT_ACCOUNT", - "OBJECT_SUBACCOUNT", - "OBJECT_RICHMEDIA_CREATIVE", - "OBJECT_INSTREAM_CREATIVE", - "OBJECT_MEDIA_ORDER", - "OBJECT_CONTENT_CATEGORY", - "OBJECT_PLACEMENT_STRATEGY", - "OBJECT_SD_SITE", - "OBJECT_SIZE", - "OBJECT_CREATIVE_GROUP", - "OBJECT_CREATIVE_ASSET", - "OBJECT_USER_PROFILE_FILTER", - "OBJECT_LANDING_PAGE", - "OBJECT_CREATIVE_FIELD", - "OBJECT_REMARKETING_LIST", - "OBJECT_PROVIDED_LIST_CLIENT", - "OBJECT_EVENT_TAG", - "OBJECT_CREATIVE_BUNDLE", - "OBJECT_BILLING_ACCOUNT_GROUP", - "OBJECT_BILLING_FEATURE", - "OBJECT_RATE_CARD", - "OBJECT_ACCOUNT_BILLING_FEATURE", - "OBJECT_BILLING_MINIMUM_FEE", - "OBJECT_BILLING_PROFILE", - "OBJECT_PLAYSTORE_LINK", - "OBJECT_TARGETING_TEMPLATE", - "OBJECT_SEARCH_LIFT_STUDY", - "OBJECT_FLOODLIGHT_DV360_LINK" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Select only change logs whose object ID, user name, old or new values match the search string.", - "location": "query", - "type": "string" - }, - "userProfileIds": { - "description": "Select only change logs with these user profile IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/changeLogs", - "response": { - "$ref": "ChangeLogsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "cities": { - "methods": { - "list": { - "description": "Retrieves a list of cities, possibly filtered.", - "flatPath": "userprofiles/{profileId}/cities", - "httpMethod": "GET", - "id": "dfareporting.cities.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "countryDartIds": { - "description": "Select only cities from these countries.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "dartIds": { - "description": "Select only cities with these DART IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "namePrefix": { - "description": "Select only cities with names starting with this prefix.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "regionDartIds": { - "description": "Select only cities from these regions.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/cities", - "response": { - "$ref": "CitiesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "connectionTypes": { - "methods": { - "get": { - "description": "Gets one connection type by ID.", - "flatPath": "userprofiles/{profileId}/connectionTypes/{id}", - "httpMethod": "GET", - "id": "dfareporting.connectionTypes.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Connection type ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/connectionTypes/{id}", - "response": { - "$ref": "ConnectionType" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of connection types.", - "flatPath": "userprofiles/{profileId}/connectionTypes", - "httpMethod": "GET", - "id": "dfareporting.connectionTypes.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/connectionTypes", - "response": { - "$ref": "ConnectionTypesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "contentCategories": { - "methods": { - "delete": { - "description": "Deletes an existing content category.", - "flatPath": "userprofiles/{profileId}/contentCategories/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.contentCategories.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Content category ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one content category by ID.", - "flatPath": "userprofiles/{profileId}/contentCategories/{id}", - "httpMethod": "GET", - "id": "dfareporting.contentCategories.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Content category ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories/{id}", - "response": { - "$ref": "ContentCategory" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new content category.", - "flatPath": "userprofiles/{profileId}/contentCategories", - "httpMethod": "POST", - "id": "dfareporting.contentCategories.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories", - "request": { - "$ref": "ContentCategory" - }, - "response": { - "$ref": "ContentCategory" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of content categories, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/contentCategories", - "httpMethod": "GET", - "id": "dfareporting.contentCategories.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Select only content categories with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"contentcategory*2015\" will return objects with names like \"contentcategory June 2015\", \"contentcategory April 2015\", or simply \"contentcategory 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"contentcategory\" will match objects with name \"my contentcategory\", \"contentcategory 2015\", or simply \"contentcategory\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories", - "response": { - "$ref": "ContentCategoriesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing content category. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/contentCategories", - "httpMethod": "PATCH", - "id": "dfareporting.contentCategories.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "ContentCategory ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories", - "request": { - "$ref": "ContentCategory" - }, - "response": { - "$ref": "ContentCategory" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing content category.", - "flatPath": "userprofiles/{profileId}/contentCategories", - "httpMethod": "PUT", - "id": "dfareporting.contentCategories.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/contentCategories", - "request": { - "$ref": "ContentCategory" - }, - "response": { - "$ref": "ContentCategory" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "conversions": { - "methods": { - "batchinsert": { - "description": "Inserts conversions.", - "flatPath": "userprofiles/{profileId}/conversions/batchinsert", - "httpMethod": "POST", - "id": "dfareporting.conversions.batchinsert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/conversions/batchinsert", - "request": { - "$ref": "ConversionsBatchInsertRequest" - }, - "response": { - "$ref": "ConversionsBatchInsertResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/ddmconversions" - ] - }, - "batchupdate": { - "description": "Updates existing conversions.", - "flatPath": "userprofiles/{profileId}/conversions/batchupdate", - "httpMethod": "POST", - "id": "dfareporting.conversions.batchupdate", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/conversions/batchupdate", - "request": { - "$ref": "ConversionsBatchUpdateRequest" - }, - "response": { - "$ref": "ConversionsBatchUpdateResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/ddmconversions" - ] - } - } - }, - "countries": { - "methods": { - "get": { - "description": "Gets one country by ID.", - "flatPath": "userprofiles/{profileId}/countries/{dartId}", - "httpMethod": "GET", - "id": "dfareporting.countries.get", - "parameterOrder": [ - "profileId", - "dartId" - ], - "parameters": { - "dartId": { - "description": "Country DART ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/countries/{dartId}", - "response": { - "$ref": "Country" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of countries.", - "flatPath": "userprofiles/{profileId}/countries", - "httpMethod": "GET", - "id": "dfareporting.countries.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/countries", - "response": { - "$ref": "CountriesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "creativeAssets": { - "methods": { - "insert": { - "description": "Inserts a new creative asset.", - "flatPath": "userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", - "httpMethod": "POST", - "id": "dfareporting.creativeAssets.insert", - "mediaUpload": { - "accept": [ - "*/*" - ], - "maxSize": "1073741824", - "protocols": { - "simple": { - "multipart": true, - "path": "/upload/dfareporting/v3.4/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets" - } - } - }, - "parameterOrder": [ - "profileId", - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Advertiser ID of this creative. This is a required field.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", - "request": { - "$ref": "CreativeAssetMetadata" - }, - "response": { - "$ref": "CreativeAssetMetadata" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ], - "supportsMediaUpload": true - } - } - }, - "creativeFieldValues": { - "methods": { - "delete": { - "description": "Deletes an existing creative field value.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.creativeFieldValues.delete", - "parameterOrder": [ - "profileId", - "creativeFieldId", - "id" - ], - "parameters": { - "creativeFieldId": { - "description": "Creative field ID for this creative field value.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "id": { - "description": "Creative Field Value ID", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one creative field value by ID.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", - "httpMethod": "GET", - "id": "dfareporting.creativeFieldValues.get", - "parameterOrder": [ - "profileId", - "creativeFieldId", - "id" - ], - "parameters": { - "creativeFieldId": { - "description": "Creative field ID for this creative field value.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "id": { - "description": "Creative Field Value ID", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", - "response": { - "$ref": "CreativeFieldValue" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new creative field value.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "httpMethod": "POST", - "id": "dfareporting.creativeFieldValues.insert", - "parameterOrder": [ - "profileId", - "creativeFieldId" - ], - "parameters": { - "creativeFieldId": { - "description": "Creative field ID for this creative field value.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "request": { - "$ref": "CreativeFieldValue" - }, - "response": { - "$ref": "CreativeFieldValue" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of creative field values, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "httpMethod": "GET", - "id": "dfareporting.creativeFieldValues.list", - "parameterOrder": [ - "profileId", - "creativeFieldId" - ], - "parameters": { - "creativeFieldId": { - "description": "Creative field ID for this creative field value.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "ids": { - "description": "Select only creative field values with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for creative field values by their values. Wildcards (e.g. *) are not allowed.", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "VALUE" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "response": { - "$ref": "CreativeFieldValuesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing creative field value. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "httpMethod": "PATCH", - "id": "dfareporting.creativeFieldValues.patch", - "parameterOrder": [ - "profileId", - "creativeFieldId", - "id" - ], - "parameters": { - "creativeFieldId": { - "description": "CreativeField ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "id": { - "description": "CreativeFieldValue ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "request": { - "$ref": "CreativeFieldValue" - }, - "response": { - "$ref": "CreativeFieldValue" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing creative field value.", - "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "httpMethod": "PUT", - "id": "dfareporting.creativeFieldValues.update", - "parameterOrder": [ - "profileId", - "creativeFieldId" - ], - "parameters": { - "creativeFieldId": { - "description": "Creative field ID for this creative field value.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", - "request": { - "$ref": "CreativeFieldValue" - }, - "response": { - "$ref": "CreativeFieldValue" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "creativeFields": { - "methods": { - "delete": { - "description": "Deletes an existing creative field.", - "flatPath": "userprofiles/{profileId}/creativeFields/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.creativeFields.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Creative Field ID", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one creative field by ID.", - "flatPath": "userprofiles/{profileId}/creativeFields/{id}", - "httpMethod": "GET", - "id": "dfareporting.creativeFields.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Creative Field ID", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields/{id}", - "response": { - "$ref": "CreativeField" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new creative field.", - "flatPath": "userprofiles/{profileId}/creativeFields", - "httpMethod": "POST", - "id": "dfareporting.creativeFields.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields", - "request": { - "$ref": "CreativeField" - }, - "response": { - "$ref": "CreativeField" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of creative fields, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/creativeFields", - "httpMethod": "GET", - "id": "dfareporting.creativeFields.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only creative fields that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only creative fields with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for creative fields by name or ID. Wildcards (*) are allowed. For example, \"creativefield*2015\" will return creative fields with names like \"creativefield June 2015\", \"creativefield April 2015\", or simply \"creativefield 2015\". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of \"creativefield\" will match creative fields with the name \"my creativefield\", \"creativefield 2015\", or simply \"creativefield\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields", - "response": { - "$ref": "CreativeFieldsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing creative field. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/creativeFields", - "httpMethod": "PATCH", - "id": "dfareporting.creativeFields.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "CreativeField ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields", - "request": { - "$ref": "CreativeField" - }, - "response": { - "$ref": "CreativeField" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing creative field.", - "flatPath": "userprofiles/{profileId}/creativeFields", - "httpMethod": "PUT", - "id": "dfareporting.creativeFields.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeFields", - "request": { - "$ref": "CreativeField" - }, - "response": { - "$ref": "CreativeField" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "creativeGroups": { - "methods": { - "get": { - "description": "Gets one creative group by ID.", - "flatPath": "userprofiles/{profileId}/creativeGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.creativeGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Creative group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeGroups/{id}", - "response": { - "$ref": "CreativeGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new creative group.", - "flatPath": "userprofiles/{profileId}/creativeGroups", - "httpMethod": "POST", - "id": "dfareporting.creativeGroups.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeGroups", - "request": { - "$ref": "CreativeGroup" - }, - "response": { - "$ref": "CreativeGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of creative groups, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/creativeGroups", - "httpMethod": "GET", - "id": "dfareporting.creativeGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only creative groups that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "groupNumber": { - "description": "Select only creative groups that belong to this subgroup.", - "format": "int32", - "location": "query", - "maximum": "2", - "minimum": "1", - "type": "integer" - }, - "ids": { - "description": "Select only creative groups with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for creative groups by name or ID. Wildcards (*) are allowed. For example, \"creativegroup*2015\" will return creative groups with names like \"creativegroup June 2015\", \"creativegroup April 2015\", or simply \"creativegroup 2015\". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of \"creativegroup\" will match creative groups with the name \"my creativegroup\", \"creativegroup 2015\", or simply \"creativegroup\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeGroups", - "response": { - "$ref": "CreativeGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing creative group. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/creativeGroups", - "httpMethod": "PATCH", - "id": "dfareporting.creativeGroups.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "CreativeGroup ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeGroups", - "request": { - "$ref": "CreativeGroup" - }, - "response": { - "$ref": "CreativeGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing creative group.", - "flatPath": "userprofiles/{profileId}/creativeGroups", - "httpMethod": "PUT", - "id": "dfareporting.creativeGroups.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creativeGroups", - "request": { - "$ref": "CreativeGroup" - }, - "response": { - "$ref": "CreativeGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "creatives": { - "methods": { - "get": { - "description": "Gets one creative by ID.", - "flatPath": "userprofiles/{profileId}/creatives/{id}", - "httpMethod": "GET", - "id": "dfareporting.creatives.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Creative ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creatives/{id}", - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new creative.", - "flatPath": "userprofiles/{profileId}/creatives", - "httpMethod": "POST", - "id": "dfareporting.creatives.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of creatives, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/creatives", - "httpMethod": "GET", - "id": "dfareporting.creatives.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "active": { - "description": "Select only active creatives. Leave blank to select active and inactive creatives.", - "location": "query", - "type": "boolean" - }, - "advertiserId": { - "description": "Select only creatives with this advertiser ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "archived": { - "description": "Select only archived creatives. Leave blank to select archived and unarchived creatives.", - "location": "query", - "type": "boolean" - }, - "campaignId": { - "description": "Select only creatives with this campaign ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "companionCreativeIds": { - "description": "Select only in-stream video creatives with these companion IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "creativeFieldIds": { - "description": "Select only creatives with these creative field IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only creatives with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "renderingIds": { - "description": "Select only creatives with these rendering IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"creative*2015\" will return objects with names like \"creative June 2015\", \"creative April 2015\", or simply \"creative 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"creative\" will match objects with name \"my creative\", \"creative 2015\", or simply \"creative\".", - "location": "query", - "type": "string" - }, - "sizeIds": { - "description": "Select only creatives with these size IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "studioCreativeId": { - "description": "Select only creatives corresponding to this Studio creative ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "types": { - "description": "Select only creatives with these creative types.", - "enum": [ - "IMAGE", - "DISPLAY_REDIRECT", - "CUSTOM_DISPLAY", - "INTERNAL_REDIRECT", - "CUSTOM_DISPLAY_INTERSTITIAL", - "INTERSTITIAL_INTERNAL_REDIRECT", - "TRACKING_TEXT", - "RICH_MEDIA_DISPLAY_BANNER", - "RICH_MEDIA_INPAGE_FLOATING", - "RICH_MEDIA_IM_EXPAND", - "RICH_MEDIA_DISPLAY_EXPANDING", - "RICH_MEDIA_DISPLAY_INTERSTITIAL", - "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", - "RICH_MEDIA_MOBILE_IN_APP", - "FLASH_INPAGE", - "INSTREAM_VIDEO", - "VPAID_LINEAR_VIDEO", - "VPAID_NON_LINEAR_VIDEO", - "INSTREAM_VIDEO_REDIRECT", - "RICH_MEDIA_PEEL_DOWN", - "HTML5_BANNER", - "DISPLAY", - "DISPLAY_IMAGE_GALLERY", - "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", - "INSTREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creatives", - "response": { - "$ref": "CreativesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing creative. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/creatives", - "httpMethod": "PATCH", - "id": "dfareporting.creatives.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Creative ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing creative.", - "flatPath": "userprofiles/{profileId}/creatives", - "httpMethod": "PUT", - "id": "dfareporting.creatives.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "customEvents": { - "methods": { - "batchinsert": { - "description": "Inserts custom events.", - "flatPath": "userprofiles/{profileId}/customEvents/batchinsert", - "httpMethod": "POST", - "id": "dfareporting.customEvents.batchinsert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/customEvents/batchinsert", - "request": { - "$ref": "CustomEventsBatchInsertRequest" - }, - "response": { - "$ref": "CustomEventsBatchInsertResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/ddmconversions" - ] - } - } - }, - "dimensionValues": { - "methods": { - "query": { - "description": "Retrieves list of report dimension values for a list of filters.", - "flatPath": "userprofiles/{profileId}/dimensionvalues/query", - "httpMethod": "POST", - "id": "dfareporting.dimensionValues.query", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "maxResults": { - "default": "100", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "100", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "The value of the nextToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/dimensionvalues/query", - "request": { - "$ref": "DimensionValueRequest" - }, - "response": { - "$ref": "DimensionValueList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - } - } - }, - "directorySites": { - "methods": { - "get": { - "description": "Gets one directory site by ID.", - "flatPath": "userprofiles/{profileId}/directorySites/{id}", - "httpMethod": "GET", - "id": "dfareporting.directorySites.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Directory site ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/directorySites/{id}", - "response": { - "$ref": "DirectorySite" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new directory site.", - "flatPath": "userprofiles/{profileId}/directorySites", - "httpMethod": "POST", - "id": "dfareporting.directorySites.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/directorySites", - "request": { - "$ref": "DirectorySite" - }, - "response": { - "$ref": "DirectorySite" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of directory sites, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/directorySites", - "httpMethod": "GET", - "id": "dfareporting.directorySites.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "acceptsInStreamVideoPlacements": { - "description": "This search filter is no longer supported and will have no effect on the results returned.", - "location": "query", - "type": "boolean" - }, - "acceptsInterstitialPlacements": { - "description": "This search filter is no longer supported and will have no effect on the results returned.", - "location": "query", - "type": "boolean" - }, - "acceptsPublisherPaidPlacements": { - "description": "Select only directory sites that accept publisher paid placements. This field can be left blank.", - "location": "query", - "type": "boolean" - }, - "active": { - "description": "Select only active directory sites. Leave blank to retrieve both active and inactive directory sites.", - "location": "query", - "type": "boolean" - }, - "dfpNetworkCode": { - "description": "Select only directory sites with this Ad Manager network code.", - "location": "query", - "type": "string" - }, - "ids": { - "description": "Select only directory sites with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. For example, \"directory site*2015\" will return objects with names like \"directory site June 2015\", \"directory site April 2015\", or simply \"directory site 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"directory site\" will match objects with name \"my directory site\", \"directory site 2015\" or simply, \"directory site\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/directorySites", - "response": { - "$ref": "DirectorySitesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "dynamicTargetingKeys": { - "methods": { - "delete": { - "description": "Deletes an existing dynamic targeting key.", - "flatPath": "userprofiles/{profileId}/dynamicTargetingKeys/{objectId}", - "httpMethod": "DELETE", - "id": "dfareporting.dynamicTargetingKeys.delete", - "parameterOrder": [ - "profileId", - "objectId", - "name", - "objectType" - ], - "parameters": { - "name": { - "description": "Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase.", - "location": "query", - "required": true, - "type": "string" - }, - "objectId": { - "description": "ID of the object of this dynamic targeting key. This is a required field.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "objectType": { - "description": "Type of the object of this dynamic targeting key. This is a required field.", - "enum": [ - "OBJECT_ADVERTISER", - "OBJECT_AD", - "OBJECT_CREATIVE", - "OBJECT_PLACEMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/dynamicTargetingKeys/{objectId}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement.", - "flatPath": "userprofiles/{profileId}/dynamicTargetingKeys", - "httpMethod": "POST", - "id": "dfareporting.dynamicTargetingKeys.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/dynamicTargetingKeys", - "request": { - "$ref": "DynamicTargetingKey" - }, - "response": { - "$ref": "DynamicTargetingKey" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of dynamic targeting keys.", - "flatPath": "userprofiles/{profileId}/dynamicTargetingKeys", - "httpMethod": "GET", - "id": "dfareporting.dynamicTargetingKeys.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserId": { - "description": "Select only dynamic targeting keys whose object has this advertiser ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "names": { - "description": "Select only dynamic targeting keys exactly matching these names.", - "location": "query", - "repeated": true, - "type": "string" - }, - "objectId": { - "description": "Select only dynamic targeting keys with this object ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "objectType": { - "description": "Select only dynamic targeting keys with this object type.", - "enum": [ - "OBJECT_ADVERTISER", - "OBJECT_AD", - "OBJECT_CREATIVE", - "OBJECT_PLACEMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/dynamicTargetingKeys", - "response": { - "$ref": "DynamicTargetingKeysListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "eventTags": { - "methods": { - "delete": { - "description": "Deletes an existing event tag.", - "flatPath": "userprofiles/{profileId}/eventTags/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.eventTags.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Event tag ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one event tag by ID.", - "flatPath": "userprofiles/{profileId}/eventTags/{id}", - "httpMethod": "GET", - "id": "dfareporting.eventTags.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Event tag ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags/{id}", - "response": { - "$ref": "EventTag" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new event tag.", - "flatPath": "userprofiles/{profileId}/eventTags", - "httpMethod": "POST", - "id": "dfareporting.eventTags.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags", - "request": { - "$ref": "EventTag" - }, - "response": { - "$ref": "EventTag" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of event tags, possibly filtered.", - "flatPath": "userprofiles/{profileId}/eventTags", - "httpMethod": "GET", - "id": "dfareporting.eventTags.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "adId": { - "description": "Select only event tags that belong to this ad.", - "format": "int64", - "location": "query", - "type": "string" - }, - "advertiserId": { - "description": "Select only event tags that belong to this advertiser.", - "format": "int64", - "location": "query", - "type": "string" - }, - "campaignId": { - "description": "Select only event tags that belong to this campaign.", - "format": "int64", - "location": "query", - "type": "string" - }, - "definitionsOnly": { - "description": "Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags.", - "location": "query", - "type": "boolean" - }, - "enabled": { - "description": "Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well.", - "location": "query", - "type": "boolean" - }, - "eventTagTypes": { - "description": "Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking.", - "enum": [ - "IMPRESSION_IMAGE_EVENT_TAG", - "IMPRESSION_JAVASCRIPT_EVENT_TAG", - "CLICK_THROUGH_EVENT_TAG" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only event tags with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"eventtag*2015\" will return objects with names like \"eventtag June 2015\", \"eventtag April 2015\", or simply \"eventtag 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"eventtag\" will match objects with name \"my eventtag\", \"eventtag 2015\", or simply \"eventtag\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags", - "response": { - "$ref": "EventTagsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing event tag. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/eventTags", - "httpMethod": "PATCH", - "id": "dfareporting.eventTags.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "EventTag ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags", - "request": { - "$ref": "EventTag" - }, - "response": { - "$ref": "EventTag" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing event tag.", - "flatPath": "userprofiles/{profileId}/eventTags", - "httpMethod": "PUT", - "id": "dfareporting.eventTags.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/eventTags", - "request": { - "$ref": "EventTag" - }, - "response": { - "$ref": "EventTag" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "files": { - "methods": { - "get": { - "description": "Retrieves a report file by its report ID and file ID. This method supports media download.", - "flatPath": "reports/{reportId}/files/{fileId}", - "httpMethod": "GET", - "id": "dfareporting.files.get", - "parameterOrder": [ - "reportId", - "fileId" - ], - "parameters": { - "fileId": { - "description": "The ID of the report file.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "reports/{reportId}/files/{fileId}", - "response": { - "$ref": "File" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ], - "supportsMediaDownload": true - }, - "list": { - "description": "Lists files for a user profile.", - "flatPath": "userprofiles/{profileId}/files", - "httpMethod": "GET", - "id": "dfareporting.files.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "maxResults": { - "default": "10", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "10", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "The value of the nextToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "scope": { - "default": "MINE", - "description": "The scope that defines which results are returned.", - "enum": [ - "ALL", - "MINE", - "SHARED_WITH_ME" - ], - "enumDescriptions": [ - "All files in account.", - "My files.", - "Files shared with me." - ], - "location": "query", - "type": "string" - }, - "sortField": { - "default": "LAST_MODIFIED_TIME", - "description": "The field by which to sort the list.", - "enum": [ - "ID", - "LAST_MODIFIED_TIME" - ], - "enumDescriptions": [ - "Sort by file ID.", - "Sort by 'lastmodifiedAt' field." - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "DESCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "Ascending order.", - "Descending order." - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/files", - "response": { - "$ref": "FileList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - } - } - }, - "floodlightActivities": { - "methods": { - "delete": { - "description": "Deletes an existing floodlight activity.", - "flatPath": "userprofiles/{profileId}/floodlightActivities/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.floodlightActivities.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Floodlight activity ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "generatetag": { - "description": "Generates a tag for a floodlight activity.", - "flatPath": "userprofiles/{profileId}/floodlightActivities/generatetag", - "httpMethod": "POST", - "id": "dfareporting.floodlightActivities.generatetag", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "floodlightActivityId": { - "description": "Floodlight activity ID for which we want to generate a tag.", - "format": "int64", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities/generatetag", - "response": { - "$ref": "FloodlightActivitiesGenerateTagResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one floodlight activity by ID.", - "flatPath": "userprofiles/{profileId}/floodlightActivities/{id}", - "httpMethod": "GET", - "id": "dfareporting.floodlightActivities.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Floodlight activity ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities/{id}", - "response": { - "$ref": "FloodlightActivity" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new floodlight activity.", - "flatPath": "userprofiles/{profileId}/floodlightActivities", - "httpMethod": "POST", - "id": "dfareporting.floodlightActivities.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities", - "request": { - "$ref": "FloodlightActivity" - }, - "response": { - "$ref": "FloodlightActivity" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of floodlight activities, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/floodlightActivities", - "httpMethod": "GET", - "id": "dfareporting.floodlightActivities.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserId": { - "description": "Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "type": "string" - }, - "floodlightActivityGroupIds": { - "description": "Select only floodlight activities with the specified floodlight activity group IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "floodlightActivityGroupName": { - "description": "Select only floodlight activities with the specified floodlight activity group name.", - "location": "query", - "type": "string" - }, - "floodlightActivityGroupTagString": { - "description": "Select only floodlight activities with the specified floodlight activity group tag string.", - "location": "query", - "type": "string" - }, - "floodlightActivityGroupType": { - "description": "Select only floodlight activities with the specified floodlight activity group type.", - "enum": [ - "COUNTER", - "SALE" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "floodlightConfigurationId": { - "description": "Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "type": "string" - }, - "ids": { - "description": "Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"floodlightactivity*2015\" will return objects with names like \"floodlightactivity June 2015\", \"floodlightactivity April 2015\", or simply \"floodlightactivity 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"floodlightactivity\" will match objects with name \"my floodlightactivity activity\", \"floodlightactivity 2015\", or simply \"floodlightactivity\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "tagString": { - "description": "Select only floodlight activities with the specified tag string.", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities", - "response": { - "$ref": "FloodlightActivitiesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing floodlight activity. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/floodlightActivities", - "httpMethod": "PATCH", - "id": "dfareporting.floodlightActivities.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "FloodlightActivity ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities", - "request": { - "$ref": "FloodlightActivity" - }, - "response": { - "$ref": "FloodlightActivity" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing floodlight activity.", - "flatPath": "userprofiles/{profileId}/floodlightActivities", - "httpMethod": "PUT", - "id": "dfareporting.floodlightActivities.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivities", - "request": { - "$ref": "FloodlightActivity" - }, - "response": { - "$ref": "FloodlightActivity" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "floodlightActivityGroups": { - "methods": { - "get": { - "description": "Gets one floodlight activity group by ID.", - "flatPath": "userprofiles/{profileId}/floodlightActivityGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.floodlightActivityGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Floodlight activity Group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivityGroups/{id}", - "response": { - "$ref": "FloodlightActivityGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new floodlight activity group.", - "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", - "httpMethod": "POST", - "id": "dfareporting.floodlightActivityGroups.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivityGroups", - "request": { - "$ref": "FloodlightActivityGroup" - }, - "response": { - "$ref": "FloodlightActivityGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", - "httpMethod": "GET", - "id": "dfareporting.floodlightActivityGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserId": { - "description": "Select only floodlight activity groups with the specified advertiser ID. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "type": "string" - }, - "floodlightConfigurationId": { - "description": "Select only floodlight activity groups with the specified floodlight configuration ID. Must specify either advertiserId, or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "type": "string" - }, - "ids": { - "description": "Select only floodlight activity groups with the specified IDs. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"floodlightactivitygroup*2015\" will return objects with names like \"floodlightactivitygroup June 2015\", \"floodlightactivitygroup April 2015\", or simply \"floodlightactivitygroup 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"floodlightactivitygroup\" will match objects with name \"my floodlightactivitygroup activity\", \"floodlightactivitygroup 2015\", or simply \"floodlightactivitygroup\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "type": { - "description": "Select only floodlight activity groups with the specified floodlight activity group type.", - "enum": [ - "COUNTER", - "SALE" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivityGroups", - "response": { - "$ref": "FloodlightActivityGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing floodlight activity group. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", - "httpMethod": "PATCH", - "id": "dfareporting.floodlightActivityGroups.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "FloodlightActivityGroup ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivityGroups", - "request": { - "$ref": "FloodlightActivityGroup" - }, - "response": { - "$ref": "FloodlightActivityGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing floodlight activity group.", - "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", - "httpMethod": "PUT", - "id": "dfareporting.floodlightActivityGroups.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightActivityGroups", - "request": { - "$ref": "FloodlightActivityGroup" - }, - "response": { - "$ref": "FloodlightActivityGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "floodlightConfigurations": { - "methods": { - "get": { - "description": "Gets one floodlight configuration by ID.", - "flatPath": "userprofiles/{profileId}/floodlightConfigurations/{id}", - "httpMethod": "GET", - "id": "dfareporting.floodlightConfigurations.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Floodlight configuration ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightConfigurations/{id}", - "response": { - "$ref": "FloodlightConfiguration" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of floodlight configurations, possibly filtered.", - "flatPath": "userprofiles/{profileId}/floodlightConfigurations", - "httpMethod": "GET", - "id": "dfareporting.floodlightConfigurations.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Set of IDs of floodlight configurations to retrieve. Required field; otherwise an empty list will be returned.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightConfigurations", - "response": { - "$ref": "FloodlightConfigurationsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing floodlight configuration. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/floodlightConfigurations", - "httpMethod": "PATCH", - "id": "dfareporting.floodlightConfigurations.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "FloodlightConfiguration ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightConfigurations", - "request": { - "$ref": "FloodlightConfiguration" - }, - "response": { - "$ref": "FloodlightConfiguration" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing floodlight configuration.", - "flatPath": "userprofiles/{profileId}/floodlightConfigurations", - "httpMethod": "PUT", - "id": "dfareporting.floodlightConfigurations.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/floodlightConfigurations", - "request": { - "$ref": "FloodlightConfiguration" - }, - "response": { - "$ref": "FloodlightConfiguration" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "inventoryItems": { - "methods": { - "get": { - "description": "Gets one inventory item by ID.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}", - "httpMethod": "GET", - "id": "dfareporting.inventoryItems.get", - "parameterOrder": [ - "profileId", - "projectId", - "id" - ], - "parameters": { - "id": { - "description": "Inventory item ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for order documents.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}", - "response": { - "$ref": "InventoryItem" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of inventory items, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/inventoryItems", - "httpMethod": "GET", - "id": "dfareporting.inventoryItems.list", - "parameterOrder": [ - "profileId", - "projectId" - ], - "parameters": { - "ids": { - "description": "Select only inventory items with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "inPlan": { - "description": "Select only inventory items that are in plan.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "orderId": { - "description": "Select only inventory items that belong to specified orders.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for order documents.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "siteId": { - "description": "Select only inventory items that are associated with these sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "type": { - "description": "Select only inventory items with this type.", - "enum": [ - "PLANNING_PLACEMENT_TYPE_REGULAR", - "PLANNING_PLACEMENT_TYPE_CREDIT" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems", - "response": { - "$ref": "InventoryItemsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "languages": { - "methods": { - "list": { - "description": "Retrieves a list of languages.", - "flatPath": "userprofiles/{profileId}/languages", - "httpMethod": "GET", - "id": "dfareporting.languages.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/languages", - "response": { - "$ref": "LanguagesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "metros": { - "methods": { - "list": { - "description": "Retrieves a list of metros.", - "flatPath": "userprofiles/{profileId}/metros", - "httpMethod": "GET", - "id": "dfareporting.metros.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/metros", - "response": { - "$ref": "MetrosListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "mobileApps": { - "methods": { - "get": { - "description": "Gets one mobile app by ID.", - "flatPath": "userprofiles/{profileId}/mobileApps/{id}", - "httpMethod": "GET", - "id": "dfareporting.mobileApps.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Mobile app ID.", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/mobileApps/{id}", - "response": { - "$ref": "MobileApp" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves list of available mobile apps.", - "flatPath": "userprofiles/{profileId}/mobileApps", - "httpMethod": "GET", - "id": "dfareporting.mobileApps.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "directories": { - "description": "Select only apps from these directories.", - "enum": [ - "UNKNOWN", - "APPLE_APP_STORE", - "GOOGLE_PLAY_STORE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only apps with these IDs.", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"app*2015\" will return objects with names like \"app Jan 2018\", \"app Jan 2018\", or simply \"app 2018\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"app\" will match objects with name \"my app\", \"app 2018\", or simply \"app\".", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/mobileApps", - "response": { - "$ref": "MobileAppsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "mobileCarriers": { - "methods": { - "get": { - "description": "Gets one mobile carrier by ID.", - "flatPath": "userprofiles/{profileId}/mobileCarriers/{id}", - "httpMethod": "GET", - "id": "dfareporting.mobileCarriers.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Mobile carrier ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/mobileCarriers/{id}", - "response": { - "$ref": "MobileCarrier" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of mobile carriers.", - "flatPath": "userprofiles/{profileId}/mobileCarriers", - "httpMethod": "GET", - "id": "dfareporting.mobileCarriers.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/mobileCarriers", - "response": { - "$ref": "MobileCarriersListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "operatingSystemVersions": { - "methods": { - "get": { - "description": "Gets one operating system version by ID.", - "flatPath": "userprofiles/{profileId}/operatingSystemVersions/{id}", - "httpMethod": "GET", - "id": "dfareporting.operatingSystemVersions.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Operating system version ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/operatingSystemVersions/{id}", - "response": { - "$ref": "OperatingSystemVersion" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of operating system versions.", - "flatPath": "userprofiles/{profileId}/operatingSystemVersions", - "httpMethod": "GET", - "id": "dfareporting.operatingSystemVersions.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/operatingSystemVersions", - "response": { - "$ref": "OperatingSystemVersionsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "operatingSystems": { - "methods": { - "get": { - "description": "Gets one operating system by DART ID.", - "flatPath": "userprofiles/{profileId}/operatingSystems/{dartId}", - "httpMethod": "GET", - "id": "dfareporting.operatingSystems.get", - "parameterOrder": [ - "profileId", - "dartId" - ], - "parameters": { - "dartId": { - "description": "Operating system DART ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/operatingSystems/{dartId}", - "response": { - "$ref": "OperatingSystem" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of operating systems.", - "flatPath": "userprofiles/{profileId}/operatingSystems", - "httpMethod": "GET", - "id": "dfareporting.operatingSystems.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/operatingSystems", - "response": { - "$ref": "OperatingSystemsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "orderDocuments": { - "methods": { - "get": { - "description": "Gets one order document by ID.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}", - "httpMethod": "GET", - "id": "dfareporting.orderDocuments.get", - "parameterOrder": [ - "profileId", - "projectId", - "id" - ], - "parameters": { - "id": { - "description": "Order document ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for order documents.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}", - "response": { - "$ref": "OrderDocument" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of order documents, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/orderDocuments", - "httpMethod": "GET", - "id": "dfareporting.orderDocuments.list", - "parameterOrder": [ - "profileId", - "projectId" - ], - "parameters": { - "approved": { - "description": "Select only order documents that have been approved by at least one user.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only order documents with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "orderId": { - "description": "Select only order documents for specified orders.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for order documents.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for order documents by name or ID. Wildcards (*) are allowed. For example, \"orderdocument*2015\" will return order documents with names like \"orderdocument June 2015\", \"orderdocument April 2015\", or simply \"orderdocument 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"orderdocument\" will match order documents with name \"my orderdocument\", \"orderdocument 2015\", or simply \"orderdocument\".", - "location": "query", - "type": "string" - }, - "siteId": { - "description": "Select only order documents that are associated with these sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments", - "response": { - "$ref": "OrderDocumentsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "orders": { - "methods": { - "get": { - "description": "Gets one order by ID.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/orders/{id}", - "httpMethod": "GET", - "id": "dfareporting.orders.get", - "parameterOrder": [ - "profileId", - "projectId", - "id" - ], - "parameters": { - "id": { - "description": "Order ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for orders.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/orders/{id}", - "response": { - "$ref": "Order" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of orders, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/projects/{projectId}/orders", - "httpMethod": "GET", - "id": "dfareporting.orders.list", - "parameterOrder": [ - "profileId", - "projectId" - ], - "parameters": { - "ids": { - "description": "Select only orders with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "projectId": { - "description": "Project ID for orders.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for orders by name or ID. Wildcards (*) are allowed. For example, \"order*2015\" will return orders with names like \"order June 2015\", \"order April 2015\", or simply \"order 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"order\" will match orders with name \"my order\", \"order 2015\", or simply \"order\".", - "location": "query", - "type": "string" - }, - "siteId": { - "description": "Select only orders that are associated with these site IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{projectId}/orders", - "response": { - "$ref": "OrdersListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "placementGroups": { - "methods": { - "get": { - "description": "Gets one placement group by ID.", - "flatPath": "userprofiles/{profileId}/placementGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.placementGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Placement group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementGroups/{id}", - "response": { - "$ref": "PlacementGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new placement group.", - "flatPath": "userprofiles/{profileId}/placementGroups", - "httpMethod": "POST", - "id": "dfareporting.placementGroups.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementGroups", - "request": { - "$ref": "PlacementGroup" - }, - "response": { - "$ref": "PlacementGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of placement groups, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/placementGroups", - "httpMethod": "GET", - "id": "dfareporting.placementGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only placement groups that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "archived": { - "description": "Select only archived placements. Don't set this field to select both archived and non-archived placements.", - "location": "query", - "type": "boolean" - }, - "campaignIds": { - "description": "Select only placement groups that belong to these campaigns.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "contentCategoryIds": { - "description": "Select only placement groups that are associated with these content categories.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "directorySiteIds": { - "description": "Select only placement groups that are associated with these directory sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only placement groups with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxEndDate": { - "description": "Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "800", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "800", - "minimum": "0", - "type": "integer" - }, - "maxStartDate": { - "description": "Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "minEndDate": { - "description": "Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "minStartDate": { - "description": "Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "placementGroupType": { - "description": "Select only placement groups belonging with this group type. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting.", - "enum": [ - "PLACEMENT_PACKAGE", - "PLACEMENT_ROADBLOCK" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "placementStrategyIds": { - "description": "Select only placement groups that are associated with these placement strategies.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "pricingTypes": { - "description": "Select only placement groups with these pricing types.", - "enum": [ - "PRICING_TYPE_CPM", - "PRICING_TYPE_CPC", - "PRICING_TYPE_CPA", - "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", - "PRICING_TYPE_FLAT_RATE_CLICKS", - "PRICING_TYPE_CPM_ACTIVEVIEW" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for placement groups by name or ID. Wildcards (*) are allowed. For example, \"placement*2015\" will return placement groups with names like \"placement group June 2015\", \"placement group May 2015\", or simply \"placements 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placementgroup\" will match placement groups with name \"my placementgroup\", \"placementgroup 2015\", or simply \"placementgroup\".", - "location": "query", - "type": "string" - }, - "siteIds": { - "description": "Select only placement groups that are associated with these sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementGroups", - "response": { - "$ref": "PlacementGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing placement group. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/placementGroups", - "httpMethod": "PATCH", - "id": "dfareporting.placementGroups.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "PlacementGroup ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementGroups", - "request": { - "$ref": "PlacementGroup" - }, - "response": { - "$ref": "PlacementGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing placement group.", - "flatPath": "userprofiles/{profileId}/placementGroups", - "httpMethod": "PUT", - "id": "dfareporting.placementGroups.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementGroups", - "request": { - "$ref": "PlacementGroup" - }, - "response": { - "$ref": "PlacementGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "placementStrategies": { - "methods": { - "delete": { - "description": "Deletes an existing placement strategy.", - "flatPath": "userprofiles/{profileId}/placementStrategies/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.placementStrategies.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Placement strategy ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one placement strategy by ID.", - "flatPath": "userprofiles/{profileId}/placementStrategies/{id}", - "httpMethod": "GET", - "id": "dfareporting.placementStrategies.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Placement strategy ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies/{id}", - "response": { - "$ref": "PlacementStrategy" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new placement strategy.", - "flatPath": "userprofiles/{profileId}/placementStrategies", - "httpMethod": "POST", - "id": "dfareporting.placementStrategies.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies", - "request": { - "$ref": "PlacementStrategy" - }, - "response": { - "$ref": "PlacementStrategy" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of placement strategies, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/placementStrategies", - "httpMethod": "GET", - "id": "dfareporting.placementStrategies.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Select only placement strategies with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"placementstrategy*2015\" will return objects with names like \"placementstrategy June 2015\", \"placementstrategy April 2015\", or simply \"placementstrategy 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placementstrategy\" will match objects with name \"my placementstrategy\", \"placementstrategy 2015\", or simply \"placementstrategy\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies", - "response": { - "$ref": "PlacementStrategiesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing placement strategy. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/placementStrategies", - "httpMethod": "PATCH", - "id": "dfareporting.placementStrategies.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "PlacementStrategy ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies", - "request": { - "$ref": "PlacementStrategy" - }, - "response": { - "$ref": "PlacementStrategy" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing placement strategy.", - "flatPath": "userprofiles/{profileId}/placementStrategies", - "httpMethod": "PUT", - "id": "dfareporting.placementStrategies.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placementStrategies", - "request": { - "$ref": "PlacementStrategy" - }, - "response": { - "$ref": "PlacementStrategy" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "placements": { - "methods": { - "generatetags": { - "description": "Generates tags for a placement.", - "flatPath": "userprofiles/{profileId}/placements/generatetags", - "httpMethod": "POST", - "id": "dfareporting.placements.generatetags", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "campaignId": { - "description": "Generate placements belonging to this campaign. This is a required field.", - "format": "int64", - "location": "query", - "type": "string" - }, - "placementIds": { - "description": "Generate tags for these placements.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "tagFormats": { - "description": "Tag formats to generate for these placements. *Note:* PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.", - "enum": [ - "PLACEMENT_TAG_STANDARD", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_IFRAME_ILAYER", - "PLACEMENT_TAG_INTERNAL_REDIRECT", - "PLACEMENT_TAG_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", - "PLACEMENT_TAG_CLICK_COMMANDS", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", - "PLACEMENT_TAG_TRACKING", - "PLACEMENT_TAG_TRACKING_IFRAME", - "PLACEMENT_TAG_TRACKING_JAVASCRIPT", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", - "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements/generatetags", - "response": { - "$ref": "PlacementsGenerateTagsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one placement by ID.", - "flatPath": "userprofiles/{profileId}/placements/{id}", - "httpMethod": "GET", - "id": "dfareporting.placements.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Placement ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements/{id}", - "response": { - "$ref": "Placement" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new placement.", - "flatPath": "userprofiles/{profileId}/placements", - "httpMethod": "POST", - "id": "dfareporting.placements.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements", - "request": { - "$ref": "Placement" - }, - "response": { - "$ref": "Placement" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of placements, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/placements", - "httpMethod": "GET", - "id": "dfareporting.placements.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only placements that belong to these advertisers.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "archived": { - "description": "Select only archived placements. Don't set this field to select both archived and non-archived placements.", - "location": "query", - "type": "boolean" - }, - "campaignIds": { - "description": "Select only placements that belong to these campaigns.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "compatibilities": { - "description": "Select only placements that are associated with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.", - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "contentCategoryIds": { - "description": "Select only placements that are associated with these content categories.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "directorySiteIds": { - "description": "Select only placements that are associated with these directory sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "groupIds": { - "description": "Select only placements that belong to these placement groups.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only placements with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxEndDate": { - "description": "Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "maxStartDate": { - "description": "Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "minEndDate": { - "description": "Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "minStartDate": { - "description": "Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as \"yyyy-MM-dd\".", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "paymentSource": { - "description": "Select only placements with this payment source.", - "enum": [ - "PLACEMENT_AGENCY_PAID", - "PLACEMENT_PUBLISHER_PAID" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "placementStrategyIds": { - "description": "Select only placements that are associated with these placement strategies.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "pricingTypes": { - "description": "Select only placements with these pricing types.", - "enum": [ - "PRICING_TYPE_CPM", - "PRICING_TYPE_CPC", - "PRICING_TYPE_CPA", - "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", - "PRICING_TYPE_FLAT_RATE_CLICKS", - "PRICING_TYPE_CPM_ACTIVEVIEW" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for placements by name or ID. Wildcards (*) are allowed. For example, \"placement*2015\" will return placements with names like \"placement June 2015\", \"placement May 2015\", or simply \"placements 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placement\" will match placements with name \"my placement\", \"placement 2015\", or simply \"placement\" .", - "location": "query", - "type": "string" - }, - "siteIds": { - "description": "Select only placements that are associated with these sites.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sizeIds": { - "description": "Select only placements that are associated with these sizes.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements", - "response": { - "$ref": "PlacementsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing placement. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/placements", - "httpMethod": "PATCH", - "id": "dfareporting.placements.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Placement ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements", - "request": { - "$ref": "Placement" - }, - "response": { - "$ref": "Placement" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing placement.", - "flatPath": "userprofiles/{profileId}/placements", - "httpMethod": "PUT", - "id": "dfareporting.placements.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/placements", - "request": { - "$ref": "Placement" - }, - "response": { - "$ref": "Placement" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "platformTypes": { - "methods": { - "get": { - "description": "Gets one platform type by ID.", - "flatPath": "userprofiles/{profileId}/platformTypes/{id}", - "httpMethod": "GET", - "id": "dfareporting.platformTypes.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Platform type ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/platformTypes/{id}", - "response": { - "$ref": "PlatformType" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of platform types.", - "flatPath": "userprofiles/{profileId}/platformTypes", - "httpMethod": "GET", - "id": "dfareporting.platformTypes.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/platformTypes", - "response": { - "$ref": "PlatformTypesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "postalCodes": { - "methods": { - "get": { - "description": "Gets one postal code by ID.", - "flatPath": "userprofiles/{profileId}/postalCodes/{code}", - "httpMethod": "GET", - "id": "dfareporting.postalCodes.get", - "parameterOrder": [ - "profileId", - "code" - ], - "parameters": { - "code": { - "description": "Postal code ID.", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/postalCodes/{code}", - "response": { - "$ref": "PostalCode" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of postal codes.", - "flatPath": "userprofiles/{profileId}/postalCodes", - "httpMethod": "GET", - "id": "dfareporting.postalCodes.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/postalCodes", - "response": { - "$ref": "PostalCodesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "projects": { - "methods": { - "get": { - "description": "Gets one project by ID.", - "flatPath": "userprofiles/{profileId}/projects/{id}", - "httpMethod": "GET", - "id": "dfareporting.projects.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Project ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects/{id}", - "response": { - "$ref": "Project" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of projects, possibly filtered. This method supports paging .", - "flatPath": "userprofiles/{profileId}/projects", - "httpMethod": "GET", - "id": "dfareporting.projects.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserIds": { - "description": "Select only projects with these advertiser IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only projects with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for projects by name or ID. Wildcards (*) are allowed. For example, \"project*2015\" will return projects with names like \"project June 2015\", \"project April 2015\", or simply \"project 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"project\" will match projects with name \"my project\", \"project 2015\", or simply \"project\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/projects", - "response": { - "$ref": "ProjectsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "regions": { - "methods": { - "list": { - "description": "Retrieves a list of regions.", - "flatPath": "userprofiles/{profileId}/regions", - "httpMethod": "GET", - "id": "dfareporting.regions.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/regions", - "response": { - "$ref": "RegionsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "remarketingListShares": { - "methods": { - "get": { - "description": "Gets one remarketing list share by remarketing list ID.", - "flatPath": "userprofiles/{profileId}/remarketingListShares/{remarketingListId}", - "httpMethod": "GET", - "id": "dfareporting.remarketingListShares.get", - "parameterOrder": [ - "profileId", - "remarketingListId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "remarketingListId": { - "description": "Remarketing list ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingListShares/{remarketingListId}", - "response": { - "$ref": "RemarketingListShare" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing remarketing list share. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/remarketingListShares", - "httpMethod": "PATCH", - "id": "dfareporting.remarketingListShares.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "RemarketingList ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingListShares", - "request": { - "$ref": "RemarketingListShare" - }, - "response": { - "$ref": "RemarketingListShare" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing remarketing list share.", - "flatPath": "userprofiles/{profileId}/remarketingListShares", - "httpMethod": "PUT", - "id": "dfareporting.remarketingListShares.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingListShares", - "request": { - "$ref": "RemarketingListShare" - }, - "response": { - "$ref": "RemarketingListShare" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "remarketingLists": { - "methods": { - "get": { - "description": "Gets one remarketing list by ID.", - "flatPath": "userprofiles/{profileId}/remarketingLists/{id}", - "httpMethod": "GET", - "id": "dfareporting.remarketingLists.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Remarketing list ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingLists/{id}", - "response": { - "$ref": "RemarketingList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new remarketing list.", - "flatPath": "userprofiles/{profileId}/remarketingLists", - "httpMethod": "POST", - "id": "dfareporting.remarketingLists.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingLists", - "request": { - "$ref": "RemarketingList" - }, - "response": { - "$ref": "RemarketingList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of remarketing lists, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/remarketingLists", - "httpMethod": "GET", - "id": "dfareporting.remarketingLists.list", - "parameterOrder": [ - "profileId", - "advertiserId" - ], - "parameters": { - "active": { - "description": "Select only active or only inactive remarketing lists.", - "location": "query", - "type": "boolean" - }, - "advertiserId": { - "description": "Select only remarketing lists owned by this advertiser.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "floodlightActivityId": { - "description": "Select only remarketing lists that have this floodlight activity ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "name": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"remarketing list*2015\" will return objects with names like \"remarketing list June 2015\", \"remarketing list April 2015\", or simply \"remarketing list 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"remarketing list\" will match objects with name \"my remarketing list\", \"remarketing list 2015\", or simply \"remarketing list\".", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingLists", - "response": { - "$ref": "RemarketingListsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing remarketing list. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/remarketingLists", - "httpMethod": "PATCH", - "id": "dfareporting.remarketingLists.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "RemarketingList ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingLists", - "request": { - "$ref": "RemarketingList" - }, - "response": { - "$ref": "RemarketingList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing remarketing list.", - "flatPath": "userprofiles/{profileId}/remarketingLists", - "httpMethod": "PUT", - "id": "dfareporting.remarketingLists.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/remarketingLists", - "request": { - "$ref": "RemarketingList" - }, - "response": { - "$ref": "RemarketingList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "reports": { - "methods": { - "delete": { - "description": "Deletes a report by its ID.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}", - "httpMethod": "DELETE", - "id": "dfareporting.reports.delete", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}", - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "get": { - "description": "Retrieves a report by its ID.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}", - "httpMethod": "GET", - "id": "dfareporting.reports.get", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}", - "response": { - "$ref": "Report" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "insert": { - "description": "Creates a report.", - "flatPath": "userprofiles/{profileId}/reports", - "httpMethod": "POST", - "id": "dfareporting.reports.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports", - "request": { - "$ref": "Report" - }, - "response": { - "$ref": "Report" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "list": { - "description": "Retrieves list of reports.", - "flatPath": "userprofiles/{profileId}/reports", - "httpMethod": "GET", - "id": "dfareporting.reports.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "maxResults": { - "default": "10", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "10", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "The value of the nextToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "scope": { - "default": "MINE", - "description": "The scope that defines which results are returned.", - "enum": [ - "ALL", - "MINE" - ], - "enumDescriptions": [ - "All reports in account.", - "My reports." - ], - "location": "query", - "type": "string" - }, - "sortField": { - "default": "LAST_MODIFIED_TIME", - "description": "The field by which to sort the list.", - "enum": [ - "ID", - "LAST_MODIFIED_TIME", - "NAME" - ], - "enumDescriptions": [ - "Sort by report ID.", - "Sort by 'lastModifiedTime' field.", - "Sort by name of reports." - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "DESCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "Ascending order.", - "Descending order." - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports", - "response": { - "$ref": "ReportList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "patch": { - "description": "Updates an existing report. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}", - "httpMethod": "PATCH", - "id": "dfareporting.reports.patch", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "profileId": { - "description": "The DFA user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}", - "request": { - "$ref": "Report" - }, - "response": { - "$ref": "Report" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "run": { - "description": "Runs a report.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}/run", - "httpMethod": "POST", - "id": "dfareporting.reports.run", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "synchronous": { - "default": "false", - "description": "If set and true, tries to run the report synchronously.", - "location": "query", - "type": "boolean" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}/run", - "response": { - "$ref": "File" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - }, - "update": { - "description": "Updates a report.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}", - "httpMethod": "PUT", - "id": "dfareporting.reports.update", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}", - "request": { - "$ref": "Report" - }, - "response": { - "$ref": "Report" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - } - }, - "resources": { - "compatibleFields": { - "methods": { - "query": { - "description": "Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.", - "flatPath": "userprofiles/{profileId}/reports/compatiblefields/query", - "httpMethod": "POST", - "id": "dfareporting.reports.compatibleFields.query", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/compatiblefields/query", - "request": { - "$ref": "Report" - }, - "response": { - "$ref": "CompatibleFields" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - } - } - }, - "files": { - "methods": { - "get": { - "description": "Retrieves a report file by its report ID and file ID. This method supports media download.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}/files/{fileId}", - "httpMethod": "GET", - "id": "dfareporting.reports.files.get", - "parameterOrder": [ - "profileId", - "reportId", - "fileId" - ], - "parameters": { - "fileId": { - "description": "The ID of the report file.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}/files/{fileId}", - "response": { - "$ref": "File" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ], - "supportsMediaDownload": true - }, - "list": { - "description": "Lists files for a report.", - "flatPath": "userprofiles/{profileId}/reports/{reportId}/files", - "httpMethod": "GET", - "id": "dfareporting.reports.files.list", - "parameterOrder": [ - "profileId", - "reportId" - ], - "parameters": { - "maxResults": { - "default": "10", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "10", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "The value of the nextToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "The Campaign Manager 360 user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "reportId": { - "description": "The ID of the parent report.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "sortField": { - "default": "LAST_MODIFIED_TIME", - "description": "The field by which to sort the list.", - "enum": [ - "ID", - "LAST_MODIFIED_TIME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "DESCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/reports/{reportId}/files", - "response": { - "$ref": "FileList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfareporting" - ] - } - } - } - } - }, - "sites": { - "methods": { - "get": { - "description": "Gets one site by ID.", - "flatPath": "userprofiles/{profileId}/sites/{id}", - "httpMethod": "GET", - "id": "dfareporting.sites.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Site ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sites/{id}", - "response": { - "$ref": "Site" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new site.", - "flatPath": "userprofiles/{profileId}/sites", - "httpMethod": "POST", - "id": "dfareporting.sites.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sites", - "request": { - "$ref": "Site" - }, - "response": { - "$ref": "Site" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of sites, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/sites", - "httpMethod": "GET", - "id": "dfareporting.sites.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "acceptsInStreamVideoPlacements": { - "description": "This search filter is no longer supported and will have no effect on the results returned.", - "location": "query", - "type": "boolean" - }, - "acceptsInterstitialPlacements": { - "description": "This search filter is no longer supported and will have no effect on the results returned.", - "location": "query", - "type": "boolean" - }, - "acceptsPublisherPaidPlacements": { - "description": "Select only sites that accept publisher paid placements.", - "location": "query", - "type": "boolean" - }, - "adWordsSite": { - "description": "Select only AdWords sites.", - "location": "query", - "type": "boolean" - }, - "approved": { - "description": "Select only approved sites.", - "location": "query", - "type": "boolean" - }, - "campaignIds": { - "description": "Select only sites with these campaign IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "directorySiteIds": { - "description": "Select only sites with these directory site IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "ids": { - "description": "Select only sites with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, \"site*2015\" will return objects with names like \"site June 2015\", \"site April 2015\", or simply \"site 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"site\" will match objects with name \"my site\", \"site 2015\", or simply \"site\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only sites with this subaccount ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "unmappedSite": { - "description": "Select only sites that have not been mapped to a directory site.", - "location": "query", - "type": "boolean" - } - }, - "path": "userprofiles/{profileId}/sites", - "response": { - "$ref": "SitesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing site. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/sites", - "httpMethod": "PATCH", - "id": "dfareporting.sites.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Site ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sites", - "request": { - "$ref": "Site" - }, - "response": { - "$ref": "Site" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing site.", - "flatPath": "userprofiles/{profileId}/sites", - "httpMethod": "PUT", - "id": "dfareporting.sites.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sites", - "request": { - "$ref": "Site" - }, - "response": { - "$ref": "Site" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "sizes": { - "methods": { - "get": { - "description": "Gets one size by ID.", - "flatPath": "userprofiles/{profileId}/sizes/{id}", - "httpMethod": "GET", - "id": "dfareporting.sizes.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Size ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sizes/{id}", - "response": { - "$ref": "Size" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new size.", - "flatPath": "userprofiles/{profileId}/sizes", - "httpMethod": "POST", - "id": "dfareporting.sizes.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/sizes", - "request": { - "$ref": "Size" - }, - "response": { - "$ref": "Size" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.", - "flatPath": "userprofiles/{profileId}/sizes", - "httpMethod": "GET", - "id": "dfareporting.sizes.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "height": { - "description": "Select only sizes with this height.", - "format": "int32", - "location": "query", - "maximum": "32767", - "minimum": "0", - "type": "integer" - }, - "iabStandard": { - "description": "Select only IAB standard sizes.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only sizes with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "width": { - "description": "Select only sizes with this width.", - "format": "int32", - "location": "query", - "maximum": "32767", - "minimum": "0", - "type": "integer" - } - }, - "path": "userprofiles/{profileId}/sizes", - "response": { - "$ref": "SizesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "subaccounts": { - "methods": { - "get": { - "description": "Gets one subaccount by ID.", - "flatPath": "userprofiles/{profileId}/subaccounts/{id}", - "httpMethod": "GET", - "id": "dfareporting.subaccounts.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Subaccount ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/subaccounts/{id}", - "response": { - "$ref": "Subaccount" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new subaccount.", - "flatPath": "userprofiles/{profileId}/subaccounts", - "httpMethod": "POST", - "id": "dfareporting.subaccounts.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/subaccounts", - "request": { - "$ref": "Subaccount" - }, - "response": { - "$ref": "Subaccount" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Gets a list of subaccounts, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/subaccounts", - "httpMethod": "GET", - "id": "dfareporting.subaccounts.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Select only subaccounts with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"subaccount*2015\" will return objects with names like \"subaccount June 2015\", \"subaccount April 2015\", or simply \"subaccount 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"subaccount\" will match objects with name \"my subaccount\", \"subaccount 2015\", or simply \"subaccount\" .", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/subaccounts", - "response": { - "$ref": "SubaccountsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing subaccount. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/subaccounts", - "httpMethod": "PATCH", - "id": "dfareporting.subaccounts.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Subaccount ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/subaccounts", - "request": { - "$ref": "Subaccount" - }, - "response": { - "$ref": "Subaccount" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing subaccount.", - "flatPath": "userprofiles/{profileId}/subaccounts", - "httpMethod": "PUT", - "id": "dfareporting.subaccounts.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/subaccounts", - "request": { - "$ref": "Subaccount" - }, - "response": { - "$ref": "Subaccount" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "targetableRemarketingLists": { - "methods": { - "get": { - "description": "Gets one remarketing list by ID.", - "flatPath": "userprofiles/{profileId}/targetableRemarketingLists/{id}", - "httpMethod": "GET", - "id": "dfareporting.targetableRemarketingLists.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Remarketing list ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetableRemarketingLists/{id}", - "response": { - "$ref": "TargetableRemarketingList" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/targetableRemarketingLists", - "httpMethod": "GET", - "id": "dfareporting.targetableRemarketingLists.list", - "parameterOrder": [ - "profileId", - "advertiserId" - ], - "parameters": { - "active": { - "description": "Select only active or only inactive targetable remarketing lists.", - "location": "query", - "type": "boolean" - }, - "advertiserId": { - "description": "Select only targetable remarketing lists targetable by these advertisers.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "name": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"remarketing list*2015\" will return objects with names like \"remarketing list June 2015\", \"remarketing list April 2015\", or simply \"remarketing list 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"remarketing list\" will match objects with name \"my remarketing list\", \"remarketing list 2015\", or simply \"remarketing list\".", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetableRemarketingLists", - "response": { - "$ref": "TargetableRemarketingListsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "targetingTemplates": { - "methods": { - "get": { - "description": "Gets one targeting template by ID.", - "flatPath": "userprofiles/{profileId}/targetingTemplates/{id}", - "httpMethod": "GET", - "id": "dfareporting.targetingTemplates.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Targeting template ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetingTemplates/{id}", - "response": { - "$ref": "TargetingTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new targeting template.", - "flatPath": "userprofiles/{profileId}/targetingTemplates", - "httpMethod": "POST", - "id": "dfareporting.targetingTemplates.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetingTemplates", - "request": { - "$ref": "TargetingTemplate" - }, - "response": { - "$ref": "TargetingTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of targeting templates, optionally filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/targetingTemplates", - "httpMethod": "GET", - "id": "dfareporting.targetingTemplates.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "advertiserId": { - "description": "Select only targeting templates with this advertiser ID.", - "format": "int64", - "location": "query", - "type": "string" - }, - "ids": { - "description": "Select only targeting templates with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"template*2015\" will return objects with names like \"template June 2015\", \"template April 2015\", or simply \"template 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"template\" will match objects with name \"my template\", \"template 2015\", or simply \"template\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetingTemplates", - "response": { - "$ref": "TargetingTemplatesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing targeting template. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/targetingTemplates", - "httpMethod": "PATCH", - "id": "dfareporting.targetingTemplates.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "TargetingTemplate ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetingTemplates", - "request": { - "$ref": "TargetingTemplate" - }, - "response": { - "$ref": "TargetingTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing targeting template.", - "flatPath": "userprofiles/{profileId}/targetingTemplates", - "httpMethod": "PUT", - "id": "dfareporting.targetingTemplates.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/targetingTemplates", - "request": { - "$ref": "TargetingTemplate" - }, - "response": { - "$ref": "TargetingTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "userProfiles": { - "methods": { - "get": { - "description": "Gets one user profile by ID.", - "flatPath": "userprofiles/{profileId}", - "httpMethod": "GET", - "id": "dfareporting.userProfiles.get", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "The user profile ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}", - "response": { - "$ref": "UserProfile" - }, - "scopes": [ - "https://www.googleapis.com/auth/ddmconversions", - "https://www.googleapis.com/auth/dfareporting", - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves list of user profiles for a user.", - "flatPath": "userprofiles", - "httpMethod": "GET", - "id": "dfareporting.userProfiles.list", - "parameterOrder": [], - "parameters": {}, - "path": "userprofiles", - "response": { - "$ref": "UserProfileList" - }, - "scopes": [ - "https://www.googleapis.com/auth/ddmconversions", - "https://www.googleapis.com/auth/dfareporting", - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "userRolePermissionGroups": { - "methods": { - "get": { - "description": "Gets one user role permission group by ID.", - "flatPath": "userprofiles/{profileId}/userRolePermissionGroups/{id}", - "httpMethod": "GET", - "id": "dfareporting.userRolePermissionGroups.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "User role permission group ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRolePermissionGroups/{id}", - "response": { - "$ref": "UserRolePermissionGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Gets a list of all supported user role permission groups.", - "flatPath": "userprofiles/{profileId}/userRolePermissionGroups", - "httpMethod": "GET", - "id": "dfareporting.userRolePermissionGroups.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRolePermissionGroups", - "response": { - "$ref": "UserRolePermissionGroupsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "userRolePermissions": { - "methods": { - "get": { - "description": "Gets one user role permission by ID.", - "flatPath": "userprofiles/{profileId}/userRolePermissions/{id}", - "httpMethod": "GET", - "id": "dfareporting.userRolePermissions.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "User role permission ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRolePermissions/{id}", - "response": { - "$ref": "UserRolePermission" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Gets a list of user role permissions, possibly filtered.", - "flatPath": "userprofiles/{profileId}/userRolePermissions", - "httpMethod": "GET", - "id": "dfareporting.userRolePermissions.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "ids": { - "description": "Select only user role permissions with these IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRolePermissions", - "response": { - "$ref": "UserRolePermissionsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "userRoles": { - "methods": { - "delete": { - "description": "Deletes an existing user role.", - "flatPath": "userprofiles/{profileId}/userRoles/{id}", - "httpMethod": "DELETE", - "id": "dfareporting.userRoles.delete", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "User role ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles/{id}", - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "get": { - "description": "Gets one user role by ID.", - "flatPath": "userprofiles/{profileId}/userRoles/{id}", - "httpMethod": "GET", - "id": "dfareporting.userRoles.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "User role ID.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles/{id}", - "response": { - "$ref": "UserRole" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "insert": { - "description": "Inserts a new user role.", - "flatPath": "userprofiles/{profileId}/userRoles", - "httpMethod": "POST", - "id": "dfareporting.userRoles.insert", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles", - "request": { - "$ref": "UserRole" - }, - "response": { - "$ref": "UserRole" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Retrieves a list of user roles, possibly filtered. This method supports paging.", - "flatPath": "userprofiles/{profileId}/userRoles", - "httpMethod": "GET", - "id": "dfareporting.userRoles.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "accountUserRoleOnly": { - "description": "Select only account level user roles not associated with any specific subaccount.", - "location": "query", - "type": "boolean" - }, - "ids": { - "description": "Select only user roles with the specified IDs.", - "format": "int64", - "location": "query", - "repeated": true, - "type": "string" - }, - "maxResults": { - "default": "1000", - "description": "Maximum number of results to return.", - "format": "int32", - "location": "query", - "maximum": "1000", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "Value of the nextPageToken from the previous result page.", - "location": "query", - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "searchString": { - "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"userrole*2015\" will return objects with names like \"userrole June 2015\", \"userrole April 2015\", or simply \"userrole 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"userrole\" will match objects with name \"my userrole\", \"userrole 2015\", or simply \"userrole\".", - "location": "query", - "type": "string" - }, - "sortField": { - "default": "ID", - "description": "Field by which to sort the list.", - "enum": [ - "ID", - "NAME" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ASCENDING", - "description": "Order of sorted results.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - }, - "subaccountId": { - "description": "Select only user roles that belong to this subaccount.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles", - "response": { - "$ref": "UserRolesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "patch": { - "description": "Updates an existing user role. This method supports patch semantics.", - "flatPath": "userprofiles/{profileId}/userRoles", - "httpMethod": "PATCH", - "id": "dfareporting.userRoles.patch", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "UserRole ID.", - "format": "int64", - "location": "query", - "required": true, - "type": "string" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles", - "request": { - "$ref": "UserRole" - }, - "response": { - "$ref": "UserRole" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "update": { - "description": "Updates an existing user role.", - "flatPath": "userprofiles/{profileId}/userRoles", - "httpMethod": "PUT", - "id": "dfareporting.userRoles.update", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/userRoles", - "request": { - "$ref": "UserRole" - }, - "response": { - "$ref": "UserRole" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - }, - "videoFormats": { - "methods": { - "get": { - "description": "Gets one video format by ID.", - "flatPath": "userprofiles/{profileId}/videoFormats/{id}", - "httpMethod": "GET", - "id": "dfareporting.videoFormats.get", - "parameterOrder": [ - "profileId", - "id" - ], - "parameters": { - "id": { - "description": "Video format ID.", - "format": "int32", - "location": "path", - "required": true, - "type": "integer" - }, - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/videoFormats/{id}", - "response": { - "$ref": "VideoFormat" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - }, - "list": { - "description": "Lists available video formats.", - "flatPath": "userprofiles/{profileId}/videoFormats", - "httpMethod": "GET", - "id": "dfareporting.videoFormats.list", - "parameterOrder": [ - "profileId" - ], - "parameters": { - "profileId": { - "description": "User profile ID associated with this request.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "userprofiles/{profileId}/videoFormats", - "response": { - "$ref": "VideoFormatsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/dfatrafficking" - ] - } - } - } - }, - "revision": "20220104", - "rootUrl": "https://dfareporting.googleapis.com/", - "schemas": { - "Account": { - "description": "Contains properties of a Campaign Manager account.", - "id": "Account", - "properties": { - "accountPermissionIds": { - "description": "Account permissions assigned to this account.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "accountProfile": { - "description": "Profile for this account. This is a read-only field that can be left blank.", - "enum": [ - "ACCOUNT_PROFILE_BASIC", - "ACCOUNT_PROFILE_STANDARD" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "active": { - "description": "Whether this account is active.", - "type": "boolean" - }, - "activeAdsLimitTier": { - "description": "Maximum number of active ads allowed for this account.", - "enum": [ - "ACTIVE_ADS_TIER_40K", - "ACTIVE_ADS_TIER_75K", - "ACTIVE_ADS_TIER_100K", - "ACTIVE_ADS_TIER_200K", - "ACTIVE_ADS_TIER_300K", - "ACTIVE_ADS_TIER_500K", - "ACTIVE_ADS_TIER_750K", - "ACTIVE_ADS_TIER_1M" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "activeViewOptOut": { - "description": "Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.", - "type": "boolean" - }, - "availablePermissionIds": { - "description": "User role permissions available to the user roles of this account.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "countryId": { - "description": "ID of the country associated with this account.", - "format": "int64", - "type": "string" - }, - "currencyId": { - "description": "ID of currency associated with this account. This is a required field. Acceptable values are: - \"1\" for USD - \"2\" for GBP - \"3\" for ESP - \"4\" for SEK - \"5\" for CAD - \"6\" for JPY - \"7\" for DEM - \"8\" for AUD - \"9\" for FRF - \"10\" for ITL - \"11\" for DKK - \"12\" for NOK - \"13\" for FIM - \"14\" for ZAR - \"15\" for IEP - \"16\" for NLG - \"17\" for EUR - \"18\" for KRW - \"19\" for TWD - \"20\" for SGD - \"21\" for CNY - \"22\" for HKD - \"23\" for NZD - \"24\" for MYR - \"25\" for BRL - \"26\" for PTE - \"28\" for CLP - \"29\" for TRY - \"30\" for ARS - \"31\" for PEN - \"32\" for ILS - \"33\" for CHF - \"34\" for VEF - \"35\" for COP - \"36\" for GTQ - \"37\" for PLN - \"39\" for INR - \"40\" for THB - \"41\" for IDR - \"42\" for CZK - \"43\" for RON - \"44\" for HUF - \"45\" for RUB - \"46\" for AED - \"47\" for BGN - \"48\" for HRK - \"49\" for MXN - \"50\" for NGN - \"51\" for EGP ", - "format": "int64", - "type": "string" - }, - "defaultCreativeSizeId": { - "description": "Default placement dimensions for this account.", - "format": "int64", - "type": "string" - }, - "description": { - "description": "Description of this account.", - "type": "string" - }, - "id": { - "description": "ID of this account. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#account\".", - "type": "string" - }, - "locale": { - "description": "Locale of this account. Acceptable values are: - \"cs\" (Czech) - \"de\" (German) - \"en\" (English) - \"en-GB\" (English United Kingdom) - \"es\" (Spanish) - \"fr\" (French) - \"it\" (Italian) - \"ja\" (Japanese) - \"ko\" (Korean) - \"pl\" (Polish) - \"pt-BR\" (Portuguese Brazil) - \"ru\" (Russian) - \"sv\" (Swedish) - \"tr\" (Turkish) - \"zh-CN\" (Chinese Simplified) - \"zh-TW\" (Chinese Traditional) ", - "type": "string" - }, - "maximumImageSize": { - "description": "Maximum image size allowed for this account, in kilobytes. Value must be greater than or equal to 1.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.", - "type": "string" - }, - "nielsenOcrEnabled": { - "description": "Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.", - "type": "boolean" - }, - "reportsConfiguration": { - "$ref": "ReportsConfiguration", - "description": "Reporting configuration of this account." - }, - "shareReportsWithTwitter": { - "description": "Share Path to Conversion reports with Twitter.", - "type": "boolean" - }, - "teaserSizeLimit": { - "description": "File size limit in kilobytes of Rich Media teaser creatives. Acceptable values are 1 to 10240, inclusive.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AccountActiveAdSummary": { - "description": "Gets a summary of active ads in an account.", - "id": "AccountActiveAdSummary", - "properties": { - "accountId": { - "description": "ID of the account.", - "format": "int64", - "type": "string" - }, - "activeAds": { - "description": "Ads that have been activated for the account", - "format": "int64", - "type": "string" - }, - "activeAdsLimitTier": { - "description": "Maximum number of active ads allowed for the account.", - "enum": [ - "ACTIVE_ADS_TIER_40K", - "ACTIVE_ADS_TIER_75K", - "ACTIVE_ADS_TIER_100K", - "ACTIVE_ADS_TIER_200K", - "ACTIVE_ADS_TIER_300K", - "ACTIVE_ADS_TIER_500K", - "ACTIVE_ADS_TIER_750K", - "ACTIVE_ADS_TIER_1M" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "availableAds": { - "description": "Ads that can be activated for the account.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountActiveAdSummary\".", - "type": "string" - } - }, - "type": "object" - }, - "AccountPermission": { - "description": "AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account.", - "id": "AccountPermission", - "properties": { - "accountProfiles": { - "description": "Account profiles associated with this account permission. Possible values are: - \"ACCOUNT_PROFILE_BASIC\" - \"ACCOUNT_PROFILE_STANDARD\" ", - "items": { - "enum": [ - "ACCOUNT_PROFILE_BASIC", - "ACCOUNT_PROFILE_STANDARD" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "id": { - "description": "ID of this account permission.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermission\".", - "type": "string" - }, - "level": { - "description": "Administrative level required to enable this account permission.", - "enum": [ - "USER", - "ADMINISTRATOR" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "name": { - "description": "Name of this account permission.", - "type": "string" - }, - "permissionGroupId": { - "description": "Permission group of this account permission.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AccountPermissionGroup": { - "description": "AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.", - "id": "AccountPermissionGroup", - "properties": { - "id": { - "description": "ID of this account permission group.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionGroup\".", - "type": "string" - }, - "name": { - "description": "Name of this account permission group.", - "type": "string" - } - }, - "type": "object" - }, - "AccountPermissionGroupsListResponse": { - "description": "Account Permission Group List Response", - "id": "AccountPermissionGroupsListResponse", - "properties": { - "accountPermissionGroups": { - "description": "Account permission group collection.", - "items": { - "$ref": "AccountPermissionGroup" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionGroupsListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "AccountPermissionsListResponse": { - "description": "Account Permission List Response", - "id": "AccountPermissionsListResponse", - "properties": { - "accountPermissions": { - "description": "Account permission collection.", - "items": { - "$ref": "AccountPermission" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionsListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "AccountUserProfile": { - "description": "AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.", - "id": "AccountUserProfile", - "properties": { - "accountId": { - "description": "Account ID of the user profile. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "active": { - "description": "Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.", - "type": "boolean" - }, - "advertiserFilter": { - "$ref": "ObjectFilter", - "description": "Filter that describes which advertisers are visible to the user profile." - }, - "campaignFilter": { - "$ref": "ObjectFilter", - "description": "Filter that describes which campaigns are visible to the user profile." - }, - "comments": { - "description": "Comments for this user profile.", - "type": "string" - }, - "email": { - "description": "Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.", - "type": "string" - }, - "id": { - "description": "ID of the user profile. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountUserProfile\".", - "type": "string" - }, - "locale": { - "description": "Locale of the user profile. This is a required field. Acceptable values are: - \"cs\" (Czech) - \"de\" (German) - \"en\" (English) - \"en-GB\" (English United Kingdom) - \"es\" (Spanish) - \"fr\" (French) - \"it\" (Italian) - \"ja\" (Japanese) - \"ko\" (Korean) - \"pl\" (Polish) - \"pt-BR\" (Portuguese Brazil) - \"ru\" (Russian) - \"sv\" (Swedish) - \"tr\" (Turkish) - \"zh-CN\" (Chinese Simplified) - \"zh-TW\" (Chinese Traditional) ", - "type": "string" - }, - "name": { - "description": "Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: \"&;<>\"#%,\".", - "type": "string" - }, - "siteFilter": { - "$ref": "ObjectFilter", - "description": "Filter that describes which sites are visible to the user profile." - }, - "subaccountId": { - "description": "Subaccount ID of the user profile. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "traffickerType": { - "description": "Trafficker type of this user profile. This is a read-only field.", - "enum": [ - "INTERNAL_NON_TRAFFICKER", - "INTERNAL_TRAFFICKER", - "EXTERNAL_TRAFFICKER" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "userAccessType": { - "description": "User type of the user profile. This is a read-only field that can be left blank.", - "enum": [ - "NORMAL_USER", - "SUPER_USER", - "INTERNAL_ADMINISTRATOR", - "READ_ONLY_SUPER_USER" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "userRoleFilter": { - "$ref": "ObjectFilter", - "description": "Filter that describes which user roles are visible to the user profile." - }, - "userRoleId": { - "description": "User role ID of the user profile. This is a required field.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AccountUserProfilesListResponse": { - "description": "Account User Profile List Response", - "id": "AccountUserProfilesListResponse", - "properties": { - "accountUserProfiles": { - "description": "Account user profile collection.", - "items": { - "$ref": "AccountUserProfile" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountUserProfilesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "AccountsListResponse": { - "description": "Account List Response", - "id": "AccountsListResponse", - "properties": { - "accounts": { - "description": "Account collection.", - "items": { - "$ref": "Account" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "Activities": { - "description": "Represents an activity group.", - "id": "Activities", - "properties": { - "filters": { - "description": "List of activity filters. The dimension values need to be all either of type \"dfa:activity\" or \"dfa:activityGroup\".", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#activities.", - "type": "string" - }, - "metricNames": { - "description": "List of names of floodlight activity metrics.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Ad": { - "description": "Contains properties of a Campaign Manager ad.", - "id": "Ad", - "properties": { - "accountId": { - "description": "Account ID of this ad. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "active": { - "description": "Whether this ad is active. When true, archived must be false.", - "type": "boolean" - }, - "advertiserId": { - "description": "Advertiser ID of this ad. This is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "archived": { - "description": "Whether this ad is archived. When true, active must be false.", - "type": "boolean" - }, - "audienceSegmentId": { - "description": "Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.", - "format": "int64", - "type": "string" - }, - "campaignId": { - "description": "Campaign ID of this ad. This is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "campaignIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." - }, - "clickThroughUrl": { - "$ref": "ClickThroughUrl", - "description": "Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER." - }, - "clickThroughUrlSuffixProperties": { - "$ref": "ClickThroughUrlSuffixProperties", - "description": "Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative." - }, - "comments": { - "description": "Comments for this ad.", - "type": "string" - }, - "compatibility": { - "description": "Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are only used for existing default ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL and default ads created for those placements will be limited to those compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video ads developed with the VAST standard.", - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "createInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the creation of this ad. This is a read-only field." - }, - "creativeGroupAssignments": { - "description": "Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.", - "items": { - "$ref": "CreativeGroupAssignment" - }, - "type": "array" - }, - "creativeRotation": { - "$ref": "CreativeRotation", - "description": "Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment ." - }, - "dayPartTargeting": { - "$ref": "DayPartTargeting", - "description": "Time and day targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "defaultClickThroughEventTagProperties": { - "$ref": "DefaultClickThroughEventTagProperties", - "description": "Default click-through event tag properties for this ad." - }, - "deliverySchedule": { - "$ref": "DeliverySchedule", - "description": "Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD." - }, - "dynamicClickTracker": { - "description": "Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.", - "type": "boolean" - }, - "endTime": { - "format": "date-time", - "type": "string" - }, - "eventTagOverrides": { - "description": "Event tag overrides for this ad.", - "items": { - "$ref": "EventTagOverride" - }, - "type": "array" - }, - "geoTargeting": { - "$ref": "GeoTargeting", - "description": "Geographical targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "id": { - "description": "ID of this ad. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this ad. This is a read-only, auto-generated field." - }, - "keyValueTargetingExpression": { - "$ref": "KeyValueTargetingExpression", - "description": "Key-value targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#ad\".", - "type": "string" - }, - "languageTargeting": { - "$ref": "LanguageTargeting", - "description": "Language targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this ad. This is a read-only field." - }, - "name": { - "description": "Name of this ad. This is a required field and must be less than 256 characters long.", - "type": "string" - }, - "placementAssignments": { - "description": "Placement assignments for this ad.", - "items": { - "$ref": "PlacementAssignment" - }, - "type": "array" - }, - "remarketingListExpression": { - "$ref": "ListTargetingExpression", - "description": "Remarketing list targeting expression for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "size": { - "$ref": "Size", - "description": "Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD." - }, - "sslCompliant": { - "description": "Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.", - "type": "boolean" - }, - "sslRequired": { - "description": "Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.", - "type": "boolean" - }, - "startTime": { - "format": "date-time", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this ad. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "targetingTemplateId": { - "description": "Targeting template ID, used to apply preconfigured targeting information to this ad. This cannot be set while any of dayPartTargeting, geoTargeting, keyValueTargetingExpression, languageTargeting, remarketingListExpression, or technologyTargeting are set. Applicable when type is AD_SERVING_STANDARD_AD.", - "format": "int64", - "type": "string" - }, - "technologyTargeting": { - "$ref": "TechnologyTargeting", - "description": "Technology platform targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." - }, - "type": { - "description": "Type of ad. This is a required field on insertion. Note that default ads ( AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).", - "enum": [ - "AD_SERVING_STANDARD_AD", - "AD_SERVING_DEFAULT_AD", - "AD_SERVING_CLICK_TRACKER", - "AD_SERVING_TRACKING", - "AD_SERVING_BRAND_SAFE_AD" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "AdBlockingConfiguration": { - "description": "Campaign ad blocking settings.", - "id": "AdBlockingConfiguration", - "properties": { - "clickThroughUrl": { - "description": "Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true.", - "type": "string" - }, - "creativeBundleId": { - "description": "ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent pixel will be used.", - "format": "int64", - "type": "string" - }, - "enabled": { - "description": "Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.", - "type": "boolean" - }, - "overrideClickThroughUrl": { - "description": "Whether the brand-neutral ad's click-through URL comes from the campaign's creative bundle or the override URL. Must be set to true if ad blocking is enabled and no creative bundle is configured.", - "type": "boolean" - } - }, - "type": "object" - }, - "AdSlot": { - "description": "Ad Slot", - "id": "AdSlot", - "properties": { - "comment": { - "description": "Comment for this ad slot.", - "type": "string" - }, - "compatibility": { - "description": "Ad slot compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop, mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.", - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "height": { - "description": "Height of this ad slot.", - "format": "int64", - "type": "string" - }, - "linkedPlacementId": { - "description": "ID of the placement from an external platform that is linked to this ad slot.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this ad slot.", - "type": "string" - }, - "paymentSourceType": { - "description": "Payment source type of this ad slot.", - "enum": [ - "PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID", - "PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "primary": { - "description": "Primary ad slot of a roadblock inventory item.", - "type": "boolean" - }, - "width": { - "description": "Width of this ad slot.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AdsListResponse": { - "description": "Ad List Response", - "id": "AdsListResponse", - "properties": { - "ads": { - "description": "Ad collection.", - "items": { - "$ref": "Ad" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#adsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "Advertiser": { - "description": "Contains properties of a Campaign Manager advertiser.", - "id": "Advertiser", - "properties": { - "accountId": { - "description": "Account ID of this advertiser.This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserGroupId": { - "description": "ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.", - "format": "int64", - "type": "string" - }, - "clickThroughUrlSuffix": { - "description": "Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.", - "type": "string" - }, - "defaultClickThroughEventTagId": { - "description": "ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.", - "format": "int64", - "type": "string" - }, - "defaultEmail": { - "description": "Default email address used in sender field for tag emails.", - "type": "string" - }, - "floodlightConfigurationId": { - "description": "Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as: - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups. - This advertiser's original floodlight configuration is not already shared with another advertiser. ", - "format": "int64", - "type": "string" - }, - "floodlightConfigurationIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." - }, - "id": { - "description": "ID of this advertiser. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this advertiser. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiser\".", - "type": "string" - }, - "name": { - "description": "Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.", - "type": "string" - }, - "originalFloodlightConfigurationId": { - "description": "Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.", - "format": "int64", - "type": "string" - }, - "status": { - "description": "Status of this advertiser.", - "enum": [ - "APPROVED", - "ON_HOLD" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this advertiser.This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "suspended": { - "description": "Suspension status of this advertiser.", - "type": "boolean" - } - }, - "type": "object" - }, - "AdvertiserGroup": { - "description": "Groups advertisers together so that reports can be generated for the entire group at once.", - "id": "AdvertiserGroup", - "properties": { - "accountId": { - "description": "Account ID of this advertiser group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this advertiser group. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserGroup\".", - "type": "string" - }, - "name": { - "description": "Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.", - "type": "string" - } - }, - "type": "object" - }, - "AdvertiserGroupsListResponse": { - "description": "Advertiser Group List Response", - "id": "AdvertiserGroupsListResponse", - "properties": { - "advertiserGroups": { - "description": "Advertiser group collection.", - "items": { - "$ref": "AdvertiserGroup" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserGroupsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "AdvertiserLandingPagesListResponse": { - "description": "Landing Page List Response", - "id": "AdvertiserLandingPagesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserLandingPagesListResponse\".", - "type": "string" - }, - "landingPages": { - "description": "Landing page collection", - "items": { - "$ref": "LandingPage" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "AdvertisersListResponse": { - "description": "Advertiser List Response", - "id": "AdvertisersListResponse", - "properties": { - "advertisers": { - "description": "Advertiser collection.", - "items": { - "$ref": "Advertiser" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertisersListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "AudienceSegment": { - "description": "Audience Segment.", - "id": "AudienceSegment", - "properties": { - "allocation": { - "description": "Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.", - "format": "int32", - "type": "integer" - }, - "id": { - "description": "ID of this audience segment. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this audience segment. This is a required field and must be less than 65 characters long.", - "type": "string" - } - }, - "type": "object" - }, - "AudienceSegmentGroup": { - "description": "Audience Segment Group.", - "id": "AudienceSegmentGroup", - "properties": { - "audienceSegments": { - "description": "Audience segments assigned to this group. The number of segments must be between 2 and 100.", - "items": { - "$ref": "AudienceSegment" - }, - "type": "array" - }, - "id": { - "description": "ID of this audience segment group. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this audience segment group. This is a required field and must be less than 65 characters long.", - "type": "string" - } - }, - "type": "object" - }, - "Browser": { - "description": "Contains information about a browser that can be targeted by ads.", - "id": "Browser", - "properties": { - "browserVersionId": { - "description": "ID referring to this grouping of browser and version numbers. This is the ID used for targeting.", - "format": "int64", - "type": "string" - }, - "dartId": { - "description": "DART ID of this browser. This is the ID used when generating reports.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#browser\".", - "type": "string" - }, - "majorVersion": { - "description": "Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.", - "type": "string" - }, - "minorVersion": { - "description": "Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.", - "type": "string" - }, - "name": { - "description": "Name of this browser.", - "type": "string" - } - }, - "type": "object" - }, - "BrowsersListResponse": { - "description": "Browser List Response", - "id": "BrowsersListResponse", - "properties": { - "browsers": { - "description": "Browser collection.", - "items": { - "$ref": "Browser" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#browsersListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "Campaign": { - "description": "Contains properties of a Campaign Manager campaign.", - "id": "Campaign", - "properties": { - "accountId": { - "description": "Account ID of this campaign. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "adBlockingConfiguration": { - "$ref": "AdBlockingConfiguration", - "description": "Ad blocking settings for this campaign." - }, - "additionalCreativeOptimizationConfigurations": { - "description": "Additional creative optimization configurations for the campaign.", - "items": { - "$ref": "CreativeOptimizationConfiguration" - }, - "type": "array" - }, - "advertiserGroupId": { - "description": "Advertiser group ID of the associated advertiser.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this campaign. This is a required field.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field." - }, - "archived": { - "description": "Whether this campaign has been archived.", - "type": "boolean" - }, - "audienceSegmentGroups": { - "description": "Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.", - "items": { - "$ref": "AudienceSegmentGroup" - }, - "type": "array" - }, - "billingInvoiceCode": { - "description": "Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.", - "type": "string" - }, - "clickThroughUrlSuffixProperties": { - "$ref": "ClickThroughUrlSuffixProperties", - "description": "Click-through URL suffix override properties for this campaign." - }, - "comment": { - "description": "Arbitrary comments about this campaign. Must be less than 256 characters long.", - "type": "string" - }, - "createInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the creation of this campaign. This is a read-only field." - }, - "creativeGroupIds": { - "description": "List of creative group IDs that are assigned to the campaign.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "creativeOptimizationConfiguration": { - "$ref": "CreativeOptimizationConfiguration", - "description": "Creative optimization configuration for the campaign." - }, - "defaultClickThroughEventTagProperties": { - "$ref": "DefaultClickThroughEventTagProperties", - "description": "Click-through event tag ID override properties for this campaign." - }, - "defaultLandingPageId": { - "description": "The default landing page ID for this campaign.", - "format": "int64", - "type": "string" - }, - "endDate": { - "format": "date", - "type": "string" - }, - "eventTagOverrides": { - "description": "Overrides that can be used to activate or deactivate advertiser event tags.", - "items": { - "$ref": "EventTagOverride" - }, - "type": "array" - }, - "externalId": { - "description": "External ID for this campaign.", - "type": "string" - }, - "id": { - "description": "ID of this campaign. This is a read-only auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this campaign. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaign\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this campaign. This is a read-only field." - }, - "name": { - "description": "Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.", - "type": "string" - }, - "nielsenOcrEnabled": { - "description": "Whether Nielsen reports are enabled for this campaign.", - "type": "boolean" - }, - "startDate": { - "format": "date", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this campaign. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "traffickerEmails": { - "description": "Campaign trafficker contact emails.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CampaignCreativeAssociation": { - "description": "Identifies a creative which has been associated with a given campaign.", - "id": "CampaignCreativeAssociation", - "properties": { - "creativeId": { - "description": "ID of the creative associated with the campaign. This is a required field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignCreativeAssociation\".", - "type": "string" - } - }, - "type": "object" - }, - "CampaignCreativeAssociationsListResponse": { - "description": "Campaign Creative Association List Response", - "id": "CampaignCreativeAssociationsListResponse", - "properties": { - "campaignCreativeAssociations": { - "description": "Campaign creative association collection", - "items": { - "$ref": "CampaignCreativeAssociation" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignCreativeAssociationsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "CampaignManagerIds": { - "description": "Campaign Manager IDs related to the custom event.", - "id": "CampaignManagerIds", - "properties": { - "adId": { - "description": "Ad ID for Campaign Manager.", - "format": "int64", - "type": "string" - }, - "campaignId": { - "description": "Campaign ID for Campaign Manager.", - "format": "int64", - "type": "string" - }, - "creativeId": { - "description": "Creative ID for Campaign Manager.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignManagerIds\".", - "type": "string" - }, - "placementId": { - "description": "Placement ID for Campaign Manager.", - "format": "int64", - "type": "string" - }, - "siteId": { - "description": "Site ID for Campaign Manager.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CampaignsListResponse": { - "description": "Campaign List Response", - "id": "CampaignsListResponse", - "properties": { - "campaigns": { - "description": "Campaign collection.", - "items": { - "$ref": "Campaign" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "ChangeLog": { - "description": "Describes a change that a user has made to a resource.", - "id": "ChangeLog", - "properties": { - "accountId": { - "description": "Account ID of the modified object.", - "format": "int64", - "type": "string" - }, - "action": { - "description": "Action which caused the change.", - "type": "string" - }, - "changeTime": { - "format": "date-time", - "type": "string" - }, - "fieldName": { - "description": "Field name of the object which changed.", - "type": "string" - }, - "id": { - "description": "ID of this change log.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#changeLog\".", - "type": "string" - }, - "newValue": { - "description": "New value of the object field.", - "type": "string" - }, - "objectId": { - "description": "ID of the object of this change log. The object could be a campaign, placement, ad, or other type.", - "format": "int64", - "type": "string" - }, - "objectType": { - "description": "Object type of the change log.", - "type": "string" - }, - "oldValue": { - "description": "Old value of the object field.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of the modified object.", - "format": "int64", - "type": "string" - }, - "transactionId": { - "description": "Transaction ID of this change log. When a single API call results in many changes, each change will have a separate ID in the change log but will share the same transactionId.", - "format": "int64", - "type": "string" - }, - "userProfileId": { - "description": "ID of the user who modified the object.", - "format": "int64", - "type": "string" - }, - "userProfileName": { - "description": "User profile name of the user who modified the object.", - "type": "string" - } - }, - "type": "object" - }, - "ChangeLogsListResponse": { - "description": "Change Log List Response", - "id": "ChangeLogsListResponse", - "properties": { - "changeLogs": { - "description": "Change log collection.", - "items": { - "$ref": "ChangeLog" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#changeLogsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "ChannelGrouping": { - "description": "Represents a DfaReporting channel grouping.", - "id": "ChannelGrouping", - "properties": { - "fallbackName": { - "description": "ChannelGrouping fallback name.", - "type": "string" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#channelGrouping.", - "type": "string" - }, - "name": { - "description": "ChannelGrouping name.", - "type": "string" - }, - "rules": { - "description": "The rules contained within this channel grouping.", - "items": { - "$ref": "ChannelGroupingRule" - }, - "type": "array" - } - }, - "type": "object" - }, - "ChannelGroupingRule": { - "description": "Represents a DfaReporting channel grouping rule.", - "id": "ChannelGroupingRule", - "properties": { - "disjunctiveMatchStatements": { - "description": "The disjunctive match statements contained within this rule.", - "items": { - "$ref": "DisjunctiveMatchStatement" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#channelGroupingRule.", - "type": "string" - }, - "name": { - "description": "Rule name.", - "type": "string" - } - }, - "type": "object" - }, - "CitiesListResponse": { - "description": "City List Response", - "id": "CitiesListResponse", - "properties": { - "cities": { - "description": "City collection.", - "items": { - "$ref": "City" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#citiesListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "City": { - "description": "Contains information about a city that can be targeted by ads.", - "id": "City", - "properties": { - "countryCode": { - "description": "Country code of the country to which this city belongs.", - "type": "string" - }, - "countryDartId": { - "description": "DART ID of the country to which this city belongs.", - "format": "int64", - "type": "string" - }, - "dartId": { - "description": "DART ID of this city. This is the ID used for targeting and generating reports.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#city\".", - "type": "string" - }, - "metroCode": { - "description": "Metro region code of the metro region (DMA) to which this city belongs.", - "type": "string" - }, - "metroDmaId": { - "description": "ID of the metro region (DMA) to which this city belongs.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this city.", - "type": "string" - }, - "regionCode": { - "description": "Region code of the region to which this city belongs.", - "type": "string" - }, - "regionDartId": { - "description": "DART ID of the region to which this city belongs.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ClickTag": { - "description": "Creative Click Tag.", - "id": "ClickTag", - "properties": { - "clickThroughUrl": { - "$ref": "CreativeClickThroughUrl", - "description": "Parameter value for the specified click tag. This field contains a click-through url." - }, - "eventName": { - "description": "Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "type": "string" - }, - "name": { - "description": "Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field.", - "type": "string" - } - }, - "type": "object" - }, - "ClickThroughUrl": { - "description": "Click-through URL", - "id": "ClickThroughUrl", - "properties": { - "computedClickThroughUrl": { - "description": "Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field. - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field. - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field. ", - "type": "string" - }, - "customClickThroughUrl": { - "description": "Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.", - "type": "string" - }, - "defaultLandingPage": { - "description": "Whether the campaign default landing page is used.", - "type": "boolean" - }, - "landingPageId": { - "description": "ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ClickThroughUrlSuffixProperties": { - "description": "Click Through URL Suffix settings.", - "id": "ClickThroughUrlSuffixProperties", - "properties": { - "clickThroughUrlSuffix": { - "description": "Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.", - "type": "string" - }, - "overrideInheritedSuffix": { - "description": "Whether this entity should override the inherited click-through URL suffix with its own defined value.", - "type": "boolean" - } - }, - "type": "object" - }, - "CompanionClickThroughOverride": { - "description": "Companion Click-through override.", - "id": "CompanionClickThroughOverride", - "properties": { - "clickThroughUrl": { - "$ref": "ClickThroughUrl", - "description": "Click-through URL of this companion click-through override." - }, - "creativeId": { - "description": "ID of the creative for this companion click-through override.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CompanionSetting": { - "description": "Companion Settings", - "id": "CompanionSetting", - "properties": { - "companionsDisabled": { - "description": "Whether companions are disabled for this placement.", - "type": "boolean" - }, - "enabledSizes": { - "description": "Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.", - "items": { - "$ref": "Size" - }, - "type": "array" - }, - "imageOnly": { - "description": "Whether to serve only static images as companions.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#companionSetting\".", - "type": "string" - } - }, - "type": "object" - }, - "CompatibleFields": { - "description": "Represents a response to the queryCompatibleFields method.", - "id": "CompatibleFields", - "properties": { - "crossDimensionReachReportCompatibleFields": { - "$ref": "CrossDimensionReachReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"CROSS_DIMENSION_REACH\"." - }, - "floodlightReportCompatibleFields": { - "$ref": "FloodlightReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"FLOODLIGHT\"." - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#compatibleFields.", - "type": "string" - }, - "pathAttributionReportCompatibleFields": { - "$ref": "PathReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"PATH_ATTRIBUTION\"." - }, - "pathReportCompatibleFields": { - "$ref": "PathReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"PATH\"." - }, - "pathToConversionReportCompatibleFields": { - "$ref": "PathToConversionReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"PATH_TO_CONVERSION\"." - }, - "reachReportCompatibleFields": { - "$ref": "ReachReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"REACH\"." - }, - "reportCompatibleFields": { - "$ref": "ReportCompatibleFields", - "description": "Contains items that are compatible to be selected for a report of type \"STANDARD\"." - } - }, - "type": "object" - }, - "ConnectionType": { - "description": "Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.", - "id": "ConnectionType", - "properties": { - "id": { - "description": "ID of this connection type.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#connectionType\".", - "type": "string" - }, - "name": { - "description": "Name of this connection type.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionTypesListResponse": { - "description": "Connection Type List Response", - "id": "ConnectionTypesListResponse", - "properties": { - "connectionTypes": { - "description": "Collection of connection types such as broadband and mobile.", - "items": { - "$ref": "ConnectionType" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#connectionTypesListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "ContentCategoriesListResponse": { - "description": "Content Category List Response", - "id": "ContentCategoriesListResponse", - "properties": { - "contentCategories": { - "description": "Content category collection.", - "items": { - "$ref": "ContentCategory" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#contentCategoriesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "ContentCategory": { - "description": "Organizes placements according to the contents of their associated webpages.", - "id": "ContentCategory", - "properties": { - "accountId": { - "description": "Account ID of this content category. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this content category. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#contentCategory\".", - "type": "string" - }, - "name": { - "description": "Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.", - "type": "string" - } - }, - "type": "object" - }, - "Conversion": { - "description": "A Conversion represents when a user successfully performs a desired action after seeing an ad.", - "id": "Conversion", - "properties": { - "childDirectedTreatment": { - "description": "Whether this particular request may come from a user under the age of 13, under COPPA compliance.", - "type": "boolean" - }, - "customVariables": { - "description": "Custom floodlight variables. This field may only be used when calling batchinsert; it is not supported by batchupdate.", - "items": { - "$ref": "CustomFloodlightVariable" - }, - "type": "array" - }, - "dclid": { - "description": "The display click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId and gclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid is a required field.", - "type": "string" - }, - "encryptedUserId": { - "description": "The alphanumeric encrypted user ID. When set, encryptionInfo should also be specified. This field is mutually exclusive with encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid and dclid. This or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or dclid is a required field.", - "type": "string" - }, - "encryptedUserIdCandidates": { - "description": "A list of the alphanumeric encrypted user IDs. Any user ID with exposure prior to the conversion timestamp will be used in the inserted conversion. If no such user ID is found then the conversion will be rejected with INVALID_ARGUMENT error. When set, encryptionInfo should also be specified. This field may only be used when calling batchinsert; it is not supported by batchupdate. This field is mutually exclusive with encryptedUserId, matchId, mobileDeviceId, gclid and dclid. This or encryptedUserId or matchId or mobileDeviceId or gclid or dclid is a required field.", - "items": { - "type": "string" - }, - "type": "array" - }, - "floodlightActivityId": { - "description": "Floodlight Activity ID of this conversion. This is a required field.", - "format": "int64", - "type": "string" - }, - "floodlightConfigurationId": { - "description": "Floodlight Configuration ID of this conversion. This is a required field.", - "format": "int64", - "type": "string" - }, - "gclid": { - "description": "The Google click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or dclid is a required field.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversion\".", - "type": "string" - }, - "limitAdTracking": { - "description": "Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing.", - "type": "boolean" - }, - "matchId": { - "description": "The match ID field. A match ID is your own first-party identifier that has been synced with Google using the match ID feature in Floodlight. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[],mobileDeviceId, gclid and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or mobileDeviceId or gclid or dclid is a required field.", - "type": "string" - }, - "mobileDeviceId": { - "description": "The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, gclid and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or gclid or dclid is a required field.", - "type": "string" - }, - "nonPersonalizedAd": { - "description": "Whether the conversion was for a non personalized ad.", - "type": "boolean" - }, - "ordinal": { - "description": "The ordinal of the conversion. Use this field to control how conversions of the same user and day are de-duplicated. This is a required field.", - "type": "string" - }, - "quantity": { - "description": "The quantity of the conversion.", - "format": "int64", - "type": "string" - }, - "timestampMicros": { - "description": "The timestamp of conversion, in Unix epoch micros. This is a required field.", - "format": "int64", - "type": "string" - }, - "treatmentForUnderage": { - "description": "Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR).", - "type": "boolean" - }, - "value": { - "description": "The value of the conversion.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "ConversionError": { - "description": "The error code and description for a conversion that failed to insert or update.", - "id": "ConversionError", - "properties": { - "code": { - "description": "The error code.", - "enum": [ - "INVALID_ARGUMENT", - "INTERNAL", - "PERMISSION_DENIED", - "NOT_FOUND" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionError\".", - "type": "string" - }, - "message": { - "description": "A description of the error.", - "type": "string" - } - }, - "type": "object" - }, - "ConversionStatus": { - "description": "The original conversion that was inserted or updated and whether there were any errors.", - "id": "ConversionStatus", - "properties": { - "conversion": { - "$ref": "Conversion", - "description": "The original conversion that was inserted or updated." - }, - "errors": { - "description": "A list of errors related to this conversion.", - "items": { - "$ref": "ConversionError" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionStatus\".", - "type": "string" - } - }, - "type": "object" - }, - "ConversionsBatchInsertRequest": { - "description": "Insert Conversions Request.", - "id": "ConversionsBatchInsertRequest", - "properties": { - "conversions": { - "description": "The set of conversions to insert.", - "items": { - "$ref": "Conversion" - }, - "type": "array" - }, - "encryptionInfo": { - "$ref": "EncryptionInfo", - "description": "Describes how encryptedUserId or encryptedUserIdCandidates[] is encrypted. This is a required field if encryptedUserId or encryptedUserIdCandidates[] is used." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchInsertRequest\".", - "type": "string" - } - }, - "type": "object" - }, - "ConversionsBatchInsertResponse": { - "description": "Insert Conversions Response.", - "id": "ConversionsBatchInsertResponse", - "properties": { - "hasFailures": { - "description": "Indicates that some or all conversions failed to insert.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchInsertResponse\".", - "type": "string" - }, - "status": { - "description": "The insert status of each conversion. Statuses are returned in the same order that conversions are inserted.", - "items": { - "$ref": "ConversionStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "ConversionsBatchUpdateRequest": { - "description": "Update Conversions Request.", - "id": "ConversionsBatchUpdateRequest", - "properties": { - "conversions": { - "description": "The set of conversions to update.", - "items": { - "$ref": "Conversion" - }, - "type": "array" - }, - "encryptionInfo": { - "$ref": "EncryptionInfo", - "description": "Describes how encryptedUserId is encrypted. This is a required field if encryptedUserId is used." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchUpdateRequest\".", - "type": "string" - } - }, - "type": "object" - }, - "ConversionsBatchUpdateResponse": { - "description": "Update Conversions Response.", - "id": "ConversionsBatchUpdateResponse", - "properties": { - "hasFailures": { - "description": "Indicates that some or all conversions failed to update.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchUpdateResponse\".", - "type": "string" - }, - "status": { - "description": "The update status of each conversion. Statuses are returned in the same order that conversions are updated.", - "items": { - "$ref": "ConversionStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "CountriesListResponse": { - "description": "Country List Response", - "id": "CountriesListResponse", - "properties": { - "countries": { - "description": "Country collection.", - "items": { - "$ref": "Country" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#countriesListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "Country": { - "description": "Contains information about a country that can be targeted by ads.", - "id": "Country", - "properties": { - "countryCode": { - "description": "Country code.", - "type": "string" - }, - "dartId": { - "description": "DART ID of this country. This is the ID used for targeting and generating reports.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#country\".", - "type": "string" - }, - "name": { - "description": "Name of this country.", - "type": "string" - }, - "sslEnabled": { - "description": "Whether ad serving supports secure servers in this country.", - "type": "boolean" - } - }, - "type": "object" - }, - "Creative": { - "description": "Contains properties of a Creative.", - "id": "Creative", - "properties": { - "accountId": { - "description": "Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.", - "format": "int64", - "type": "string" - }, - "active": { - "description": "Whether the creative is active. Applicable to all creative types.", - "type": "boolean" - }, - "adParameters": { - "description": "Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.", - "type": "string" - }, - "adTagKeys": { - "description": "Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "additionalSizes": { - "description": "Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE.", - "items": { - "$ref": "Size" - }, - "type": "array" - }, - "advertiserId": { - "description": "Advertiser ID of this creative. This is a required field. Applicable to all creative types.", - "format": "int64", - "type": "string" - }, - "allowScriptAccess": { - "description": "Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.", - "type": "boolean" - }, - "archived": { - "description": "Whether the creative is archived. Applicable to all creative types.", - "type": "boolean" - }, - "artworkType": { - "description": "Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "enum": [ - "ARTWORK_TYPE_FLASH", - "ARTWORK_TYPE_HTML5", - "ARTWORK_TYPE_MIXED", - "ARTWORK_TYPE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "authoringSource": { - "description": "Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types.", - "enum": [ - "CREATIVE_AUTHORING_SOURCE_DCM", - "CREATIVE_AUTHORING_SOURCE_DBM", - "CREATIVE_AUTHORING_SOURCE_STUDIO", - "CREATIVE_AUTHORING_SOURCE_GWD" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "authoringTool": { - "description": "Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", - "enum": [ - "NINJA", - "SWIFFY" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "autoAdvanceImages": { - "description": "Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY.", - "type": "boolean" - }, - "backgroundColor": { - "description": "The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.", - "type": "string" - }, - "backupImageClickThroughUrl": { - "$ref": "CreativeClickThroughUrl", - "description": "Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE." - }, - "backupImageFeatures": { - "description": "List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by Campaign Manager for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "items": { - "enum": [ - "CSS_FONT_FACE", - "CSS_BACKGROUND_SIZE", - "CSS_BORDER_IMAGE", - "CSS_BORDER_RADIUS", - "CSS_BOX_SHADOW", - "CSS_FLEX_BOX", - "CSS_HSLA", - "CSS_MULTIPLE_BGS", - "CSS_OPACITY", - "CSS_RGBA", - "CSS_TEXT_SHADOW", - "CSS_ANIMATIONS", - "CSS_COLUMNS", - "CSS_GENERATED_CONTENT", - "CSS_GRADIENTS", - "CSS_REFLECTIONS", - "CSS_TRANSFORMS", - "CSS_TRANSFORMS3D", - "CSS_TRANSITIONS", - "APPLICATION_CACHE", - "CANVAS", - "CANVAS_TEXT", - "DRAG_AND_DROP", - "HASH_CHANGE", - "HISTORY", - "AUDIO", - "VIDEO", - "INDEXED_DB", - "INPUT_ATTR_AUTOCOMPLETE", - "INPUT_ATTR_AUTOFOCUS", - "INPUT_ATTR_LIST", - "INPUT_ATTR_PLACEHOLDER", - "INPUT_ATTR_MAX", - "INPUT_ATTR_MIN", - "INPUT_ATTR_MULTIPLE", - "INPUT_ATTR_PATTERN", - "INPUT_ATTR_REQUIRED", - "INPUT_ATTR_STEP", - "INPUT_TYPE_SEARCH", - "INPUT_TYPE_TEL", - "INPUT_TYPE_URL", - "INPUT_TYPE_EMAIL", - "INPUT_TYPE_DATETIME", - "INPUT_TYPE_DATE", - "INPUT_TYPE_MONTH", - "INPUT_TYPE_WEEK", - "INPUT_TYPE_TIME", - "INPUT_TYPE_DATETIME_LOCAL", - "INPUT_TYPE_NUMBER", - "INPUT_TYPE_RANGE", - "INPUT_TYPE_COLOR", - "LOCAL_STORAGE", - "POST_MESSAGE", - "SESSION_STORAGE", - "WEB_SOCKETS", - "WEB_SQL_DATABASE", - "WEB_WORKERS", - "GEO_LOCATION", - "INLINE_SVG", - "SMIL", - "SVG_HREF", - "SVG_CLIP_PATHS", - "TOUCH", - "WEBGL", - "SVG_FILTERS", - "SVG_FE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "backupImageReportingLabel": { - "description": "Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE.", - "type": "string" - }, - "backupImageTargetWindow": { - "$ref": "TargetWindow", - "description": "Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE." - }, - "clickTags": { - "description": "Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "items": { - "$ref": "ClickTag" - }, - "type": "array" - }, - "commercialId": { - "description": "Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives.", - "type": "string" - }, - "companionCreatives": { - "description": "List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "compatibility": { - "description": "Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - \"APP\" - \"APP_INTERSTITIAL\" - \"IN_STREAM_VIDEO\" - \"IN_STREAM_AUDIO\" - \"DISPLAY\" - \"DISPLAY_INTERSTITIAL\" ", - "items": { - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "convertFlashToHtml5": { - "description": "Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "type": "boolean" - }, - "counterCustomEvents": { - "description": "List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID.", - "items": { - "$ref": "CreativeCustomEvent" - }, - "type": "array" - }, - "creativeAssetSelection": { - "$ref": "CreativeAssetSelection", - "description": "Required if dynamicAssetSelection is true." - }, - "creativeAssets": { - "description": "Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT", - "items": { - "$ref": "CreativeAsset" - }, - "type": "array" - }, - "creativeFieldAssignments": { - "description": "Creative field assignments for this creative. Applicable to all creative types.", - "items": { - "$ref": "CreativeFieldAssignment" - }, - "type": "array" - }, - "customKeyValues": { - "description": "Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "dynamicAssetSelection": { - "description": "Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives.", - "type": "boolean" - }, - "exitCustomEvents": { - "description": "List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "items": { - "$ref": "CreativeCustomEvent" - }, - "type": "array" - }, - "fsCommand": { - "$ref": "FsCommand", - "description": "OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE." - }, - "htmlCode": { - "description": "HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.", - "type": "string" - }, - "htmlCodeLocked": { - "description": "Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.", - "type": "boolean" - }, - "id": { - "description": "ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creative\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Creative last modification information. This is a read-only field. Applicable to all creative types." - }, - "latestTraffickedCreativeId": { - "description": "Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "format": "int64", - "type": "string" - }, - "mediaDescription": { - "description": "Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID.", - "type": "string" - }, - "mediaDuration": { - "description": "Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID.", - "format": "float", - "type": "number" - }, - "name": { - "description": "Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types.", - "type": "string" - }, - "obaIcon": { - "$ref": "ObaIcon", - "description": "Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO." - }, - "overrideCss": { - "description": "Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.", - "type": "string" - }, - "progressOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO." - }, - "redirectUrl": { - "description": "URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT", - "type": "string" - }, - "renderingId": { - "description": "ID of current rendering version. This is a read-only field. Applicable to all creative types.", - "format": "int64", - "type": "string" - }, - "renderingIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types." - }, - "requiredFlashPluginVersion": { - "description": "The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "type": "string" - }, - "requiredFlashVersion": { - "description": "The internal Flash version for this creative as calculated by Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "format": "int32", - "type": "integer" - }, - "size": { - "$ref": "Size", - "description": "Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA." - }, - "skipOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO." - }, - "skippable": { - "description": "Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID.", - "type": "boolean" - }, - "sslCompliant": { - "description": "Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.", - "type": "boolean" - }, - "sslOverride": { - "description": "Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types.", - "type": "boolean" - }, - "studioAdvertiserId": { - "description": "Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "format": "int64", - "type": "string" - }, - "studioCreativeId": { - "description": "Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "format": "int64", - "type": "string" - }, - "studioTraffickedCreativeId": { - "description": "Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "format": "int64", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.", - "format": "int64", - "type": "string" - }, - "thirdPartyBackupImageImpressionsUrl": { - "description": "Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA.", - "type": "string" - }, - "thirdPartyRichMediaImpressionsUrl": { - "description": "Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA.", - "type": "string" - }, - "thirdPartyUrls": { - "description": "Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID.", - "items": { - "$ref": "ThirdPartyTrackingUrl" - }, - "type": "array" - }, - "timerCustomEvents": { - "description": "List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE.", - "items": { - "$ref": "CreativeCustomEvent" - }, - "type": "array" - }, - "totalFileSize": { - "description": "Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types.", - "enum": [ - "IMAGE", - "DISPLAY_REDIRECT", - "CUSTOM_DISPLAY", - "INTERNAL_REDIRECT", - "CUSTOM_DISPLAY_INTERSTITIAL", - "INTERSTITIAL_INTERNAL_REDIRECT", - "TRACKING_TEXT", - "RICH_MEDIA_DISPLAY_BANNER", - "RICH_MEDIA_INPAGE_FLOATING", - "RICH_MEDIA_IM_EXPAND", - "RICH_MEDIA_DISPLAY_EXPANDING", - "RICH_MEDIA_DISPLAY_INTERSTITIAL", - "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", - "RICH_MEDIA_MOBILE_IN_APP", - "FLASH_INPAGE", - "INSTREAM_VIDEO", - "VPAID_LINEAR_VIDEO", - "VPAID_NON_LINEAR_VIDEO", - "INSTREAM_VIDEO_REDIRECT", - "RICH_MEDIA_PEEL_DOWN", - "HTML5_BANNER", - "DISPLAY", - "DISPLAY_IMAGE_GALLERY", - "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", - "INSTREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "universalAdId": { - "$ref": "UniversalAdId", - "description": "A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID." - }, - "version": { - "description": "The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "CreativeAsset": { - "description": "Creative Asset.", - "id": "CreativeAsset", - "properties": { - "actionScript3": { - "description": "Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "type": "boolean" - }, - "active": { - "description": "Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "type": "boolean" - }, - "additionalSizes": { - "description": "Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render.", - "items": { - "$ref": "Size" - }, - "type": "array" - }, - "alignment": { - "description": "Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL .", - "enum": [ - "ALIGNMENT_TOP", - "ALIGNMENT_RIGHT", - "ALIGNMENT_BOTTOM", - "ALIGNMENT_LEFT" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "artworkType": { - "description": "Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "ARTWORK_TYPE_FLASH", - "ARTWORK_TYPE_HTML5", - "ARTWORK_TYPE_MIXED", - "ARTWORK_TYPE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "assetIdentifier": { - "$ref": "CreativeAssetId", - "description": "Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT." - }, - "audioBitRate": { - "description": "Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "format": "int32", - "type": "integer" - }, - "audioSampleRate": { - "description": "Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "format": "int32", - "type": "integer" - }, - "backupImageExit": { - "$ref": "CreativeCustomEvent", - "description": "Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA." - }, - "bitRate": { - "description": "Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "format": "int32", - "type": "integer" - }, - "childAssetType": { - "description": "Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.", - "enum": [ - "CHILD_ASSET_TYPE_FLASH", - "CHILD_ASSET_TYPE_VIDEO", - "CHILD_ASSET_TYPE_IMAGE", - "CHILD_ASSET_TYPE_DATA" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "collapsedSize": { - "$ref": "Size", - "description": "Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN." - }, - "companionCreativeIds": { - "description": "List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "customStartTimeValue": { - "description": "Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0.", - "format": "int32", - "type": "integer" - }, - "detectedFeatures": { - "description": "List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "items": { - "enum": [ - "CSS_FONT_FACE", - "CSS_BACKGROUND_SIZE", - "CSS_BORDER_IMAGE", - "CSS_BORDER_RADIUS", - "CSS_BOX_SHADOW", - "CSS_FLEX_BOX", - "CSS_HSLA", - "CSS_MULTIPLE_BGS", - "CSS_OPACITY", - "CSS_RGBA", - "CSS_TEXT_SHADOW", - "CSS_ANIMATIONS", - "CSS_COLUMNS", - "CSS_GENERATED_CONTENT", - "CSS_GRADIENTS", - "CSS_REFLECTIONS", - "CSS_TRANSFORMS", - "CSS_TRANSFORMS3D", - "CSS_TRANSITIONS", - "APPLICATION_CACHE", - "CANVAS", - "CANVAS_TEXT", - "DRAG_AND_DROP", - "HASH_CHANGE", - "HISTORY", - "AUDIO", - "VIDEO", - "INDEXED_DB", - "INPUT_ATTR_AUTOCOMPLETE", - "INPUT_ATTR_AUTOFOCUS", - "INPUT_ATTR_LIST", - "INPUT_ATTR_PLACEHOLDER", - "INPUT_ATTR_MAX", - "INPUT_ATTR_MIN", - "INPUT_ATTR_MULTIPLE", - "INPUT_ATTR_PATTERN", - "INPUT_ATTR_REQUIRED", - "INPUT_ATTR_STEP", - "INPUT_TYPE_SEARCH", - "INPUT_TYPE_TEL", - "INPUT_TYPE_URL", - "INPUT_TYPE_EMAIL", - "INPUT_TYPE_DATETIME", - "INPUT_TYPE_DATE", - "INPUT_TYPE_MONTH", - "INPUT_TYPE_WEEK", - "INPUT_TYPE_TIME", - "INPUT_TYPE_DATETIME_LOCAL", - "INPUT_TYPE_NUMBER", - "INPUT_TYPE_RANGE", - "INPUT_TYPE_COLOR", - "LOCAL_STORAGE", - "POST_MESSAGE", - "SESSION_STORAGE", - "WEB_SOCKETS", - "WEB_SQL_DATABASE", - "WEB_WORKERS", - "GEO_LOCATION", - "INLINE_SVG", - "SMIL", - "SVG_HREF", - "SVG_CLIP_PATHS", - "TOUCH", - "WEBGL", - "SVG_FILTERS", - "SVG_FE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "displayType": { - "description": "Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "ASSET_DISPLAY_TYPE_INPAGE", - "ASSET_DISPLAY_TYPE_FLOATING", - "ASSET_DISPLAY_TYPE_OVERLAY", - "ASSET_DISPLAY_TYPE_EXPANDING", - "ASSET_DISPLAY_TYPE_FLASH_IN_FLASH", - "ASSET_DISPLAY_TYPE_FLASH_IN_FLASH_EXPANDING", - "ASSET_DISPLAY_TYPE_PEEL_DOWN", - "ASSET_DISPLAY_TYPE_VPAID_LINEAR", - "ASSET_DISPLAY_TYPE_VPAID_NON_LINEAR", - "ASSET_DISPLAY_TYPE_BACKDROP" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "duration": { - "description": "Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1.", - "format": "int32", - "type": "integer" - }, - "durationType": { - "description": "Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "ASSET_DURATION_TYPE_AUTO", - "ASSET_DURATION_TYPE_NONE", - "ASSET_DURATION_TYPE_CUSTOM" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "expandedDimension": { - "$ref": "Size", - "description": "Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID." - }, - "fileSize": { - "description": "File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", - "format": "int64", - "type": "string" - }, - "flashVersion": { - "description": "Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", - "format": "int32", - "type": "integer" - }, - "frameRate": { - "description": "Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", - "format": "float", - "type": "number" - }, - "hideFlashObjects": { - "description": "Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.", - "type": "boolean" - }, - "hideSelectionBoxes": { - "description": "Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.", - "type": "boolean" - }, - "horizontallyLocked": { - "description": "Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", - "type": "boolean" - }, - "id": { - "description": "Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the asset. This is a read-only, auto-generated field." - }, - "mediaDuration": { - "description": "Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "format": "float", - "type": "number" - }, - "mimeType": { - "description": "Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", - "type": "string" - }, - "offset": { - "$ref": "OffsetPosition", - "description": "Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN." - }, - "orientation": { - "description": "Orientation of video asset. This is a read-only, auto-generated field.", - "enum": [ - "LANDSCAPE", - "PORTRAIT", - "SQUARE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "originalBackup": { - "description": "Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA.", - "type": "boolean" - }, - "politeLoad": { - "description": "Whether this asset is used as a polite load asset.", - "type": "boolean" - }, - "position": { - "$ref": "OffsetPosition", - "description": "Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA." - }, - "positionLeftUnit": { - "description": "Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "OFFSET_UNIT_PIXEL", - "OFFSET_UNIT_PERCENT", - "OFFSET_UNIT_PIXEL_FROM_CENTER" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "positionTopUnit": { - "description": "Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "OFFSET_UNIT_PIXEL", - "OFFSET_UNIT_PERCENT", - "OFFSET_UNIT_PIXEL_FROM_CENTER" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "progressiveServingUrl": { - "description": "Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", - "type": "string" - }, - "pushdown": { - "description": "Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.", - "type": "boolean" - }, - "pushdownDuration": { - "description": "Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive.", - "format": "float", - "type": "number" - }, - "role": { - "description": "Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. ", - "enum": [ - "PRIMARY", - "BACKUP_IMAGE", - "ADDITIONAL_IMAGE", - "ADDITIONAL_FLASH", - "PARENT_VIDEO", - "TRANSCODED_VIDEO", - "OTHER", - "ALTERNATE_VIDEO", - "PARENT_AUDIO", - "TRANSCODED_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "size": { - "$ref": "Size", - "description": "Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE." - }, - "sslCompliant": { - "description": "Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", - "type": "boolean" - }, - "startTimeType": { - "description": "Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.", - "enum": [ - "ASSET_START_TIME_TYPE_NONE", - "ASSET_START_TIME_TYPE_CUSTOM" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "streamingServingUrl": { - "description": "Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", - "type": "string" - }, - "transparency": { - "description": "Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.", - "type": "boolean" - }, - "verticallyLocked": { - "description": "Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", - "type": "boolean" - }, - "windowMode": { - "description": "Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING.", - "enum": [ - "OPAQUE", - "WINDOW", - "TRANSPARENT" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "zIndex": { - "description": "zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive.", - "format": "int32", - "type": "integer" - }, - "zipFilename": { - "description": "File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", - "type": "string" - }, - "zipFilesize": { - "description": "Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeAssetId": { - "description": "Creative Asset ID.", - "id": "CreativeAssetId", - "properties": { - "name": { - "description": "Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: \".-_ \". Spaces are allowed.", - "type": "string" - }, - "type": { - "description": "Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE.", - "enum": [ - "IMAGE", - "FLASH", - "VIDEO", - "HTML", - "HTML_IMAGE", - "AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "CreativeAssetMetadata": { - "description": "CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.", - "id": "CreativeAssetMetadata", - "properties": { - "assetIdentifier": { - "$ref": "CreativeAssetId", - "description": "ID of the creative asset. This is a required field." - }, - "clickTags": { - "description": "List of detected click tags for assets. This is a read-only, auto-generated field. This field is empty for a rich media asset.", - "items": { - "$ref": "ClickTag" - }, - "type": "array" - }, - "counterCustomEvents": { - "description": "List of counter events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", - "items": { - "$ref": "CreativeCustomEvent" - }, - "type": "array" - }, - "detectedFeatures": { - "description": "List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field.", - "items": { - "enum": [ - "CSS_FONT_FACE", - "CSS_BACKGROUND_SIZE", - "CSS_BORDER_IMAGE", - "CSS_BORDER_RADIUS", - "CSS_BOX_SHADOW", - "CSS_FLEX_BOX", - "CSS_HSLA", - "CSS_MULTIPLE_BGS", - "CSS_OPACITY", - "CSS_RGBA", - "CSS_TEXT_SHADOW", - "CSS_ANIMATIONS", - "CSS_COLUMNS", - "CSS_GENERATED_CONTENT", - "CSS_GRADIENTS", - "CSS_REFLECTIONS", - "CSS_TRANSFORMS", - "CSS_TRANSFORMS3D", - "CSS_TRANSITIONS", - "APPLICATION_CACHE", - "CANVAS", - "CANVAS_TEXT", - "DRAG_AND_DROP", - "HASH_CHANGE", - "HISTORY", - "AUDIO", - "VIDEO", - "INDEXED_DB", - "INPUT_ATTR_AUTOCOMPLETE", - "INPUT_ATTR_AUTOFOCUS", - "INPUT_ATTR_LIST", - "INPUT_ATTR_PLACEHOLDER", - "INPUT_ATTR_MAX", - "INPUT_ATTR_MIN", - "INPUT_ATTR_MULTIPLE", - "INPUT_ATTR_PATTERN", - "INPUT_ATTR_REQUIRED", - "INPUT_ATTR_STEP", - "INPUT_TYPE_SEARCH", - "INPUT_TYPE_TEL", - "INPUT_TYPE_URL", - "INPUT_TYPE_EMAIL", - "INPUT_TYPE_DATETIME", - "INPUT_TYPE_DATE", - "INPUT_TYPE_MONTH", - "INPUT_TYPE_WEEK", - "INPUT_TYPE_TIME", - "INPUT_TYPE_DATETIME_LOCAL", - "INPUT_TYPE_NUMBER", - "INPUT_TYPE_RANGE", - "INPUT_TYPE_COLOR", - "LOCAL_STORAGE", - "POST_MESSAGE", - "SESSION_STORAGE", - "WEB_SOCKETS", - "WEB_SQL_DATABASE", - "WEB_WORKERS", - "GEO_LOCATION", - "INLINE_SVG", - "SMIL", - "SVG_HREF", - "SVG_CLIP_PATHS", - "TOUCH", - "WEBGL", - "SVG_FILTERS", - "SVG_FE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "exitCustomEvents": { - "description": "List of exit events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", - "items": { - "$ref": "CreativeCustomEvent" - }, - "type": "array" - }, - "id": { - "description": "Numeric ID of the asset. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the numeric ID of the asset. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeAssetMetadata\".", - "type": "string" - }, - "richMedia": { - "description": "True if the uploaded asset is a rich media asset. This is a read-only, auto-generated field.", - "type": "boolean" - }, - "timerCustomEvents": { - "description": "List of timer events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", - "items": { - "$ref": "CreativeCustomEvent" - }, - "type": "array" - }, - "warnedValidationRules": { - "description": "Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. Possible values are: - \"ADMOB_REFERENCED\" - \"ASSET_FORMAT_UNSUPPORTED_DCM\" - \"ASSET_INVALID\" - \"CLICK_TAG_HARD_CODED\" - \"CLICK_TAG_INVALID\" - \"CLICK_TAG_IN_GWD\" - \"CLICK_TAG_MISSING\" - \"CLICK_TAG_MORE_THAN_ONE\" - \"CLICK_TAG_NON_TOP_LEVEL\" - \"COMPONENT_UNSUPPORTED_DCM\" - \"ENABLER_UNSUPPORTED_METHOD_DCM\" - \"EXTERNAL_FILE_REFERENCED\" - \"FILE_DETAIL_EMPTY\" - \"FILE_TYPE_INVALID\" - \"GWD_PROPERTIES_INVALID\" - \"HTML5_FEATURE_UNSUPPORTED\" - \"LINKED_FILE_NOT_FOUND\" - \"MAX_FLASH_VERSION_11\" - \"MRAID_REFERENCED\" - \"NOT_SSL_COMPLIANT\" - \"ORPHANED_ASSET\" - \"PRIMARY_HTML_MISSING\" - \"SVG_INVALID\" - \"ZIP_INVALID\" ", - "items": { - "enum": [ - "CLICK_TAG_NON_TOP_LEVEL", - "CLICK_TAG_MISSING", - "CLICK_TAG_MORE_THAN_ONE", - "CLICK_TAG_INVALID", - "ORPHANED_ASSET", - "PRIMARY_HTML_MISSING", - "EXTERNAL_FILE_REFERENCED", - "MRAID_REFERENCED", - "ADMOB_REFERENCED", - "FILE_TYPE_INVALID", - "ZIP_INVALID", - "LINKED_FILE_NOT_FOUND", - "MAX_FLASH_VERSION_11", - "NOT_SSL_COMPLIANT", - "FILE_DETAIL_EMPTY", - "ASSET_INVALID", - "GWD_PROPERTIES_INVALID", - "ENABLER_UNSUPPORTED_METHOD_DCM", - "ASSET_FORMAT_UNSUPPORTED_DCM", - "COMPONENT_UNSUPPORTED_DCM", - "HTML5_FEATURE_UNSUPPORTED", - "CLICK_TAG_IN_GWD", - "CLICK_TAG_HARD_CODED", - "SVG_INVALID", - "CLICK_TAG_IN_RICH_MEDIA" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CreativeAssetSelection": { - "description": "Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives.", - "id": "CreativeAssetSelection", - "properties": { - "defaultAssetId": { - "description": "A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field.", - "format": "int64", - "type": "string" - }, - "rules": { - "description": "Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives.", - "items": { - "$ref": "Rule" - }, - "type": "array" - } - }, - "type": "object" - }, - "CreativeAssignment": { - "description": "Creative Assignment.", - "id": "CreativeAssignment", - "properties": { - "active": { - "description": "Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.", - "type": "boolean" - }, - "applyEventTags": { - "description": "Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.", - "type": "boolean" - }, - "clickThroughUrl": { - "$ref": "ClickThroughUrl", - "description": "Click-through URL of the creative assignment." - }, - "companionCreativeOverrides": { - "description": "Companion creative overrides for this creative assignment. Applicable to video ads.", - "items": { - "$ref": "CompanionClickThroughOverride" - }, - "type": "array" - }, - "creativeGroupAssignments": { - "description": "Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.", - "items": { - "$ref": "CreativeGroupAssignment" - }, - "type": "array" - }, - "creativeId": { - "description": "ID of the creative to be assigned. This is a required field.", - "format": "int64", - "type": "string" - }, - "creativeIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the creative. This is a read-only, auto-generated field." - }, - "endTime": { - "format": "date-time", - "type": "string" - }, - "richMediaExitOverrides": { - "description": "Rich media exit overrides for this creative assignment. Applicable when the creative type is any of the following: - DISPLAY - RICH_MEDIA_INPAGE - RICH_MEDIA_INPAGE_FLOATING - RICH_MEDIA_IM_EXPAND - RICH_MEDIA_EXPANDING - RICH_MEDIA_INTERSTITIAL_FLOAT - RICH_MEDIA_MOBILE_IN_APP - RICH_MEDIA_MULTI_FLOATING - RICH_MEDIA_PEEL_DOWN - VPAID_LINEAR - VPAID_NON_LINEAR ", - "items": { - "$ref": "RichMediaExitOverride" - }, - "type": "array" - }, - "sequence": { - "description": "Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to 65535, inclusive.", - "format": "int32", - "type": "integer" - }, - "sslCompliant": { - "description": "Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.", - "type": "boolean" - }, - "startTime": { - "format": "date-time", - "type": "string" - }, - "weight": { - "description": "Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "CreativeClickThroughUrl": { - "description": "Click-through URL", - "id": "CreativeClickThroughUrl", - "properties": { - "computedClickThroughUrl": { - "description": "Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. ", - "type": "string" - }, - "customClickThroughUrl": { - "description": "Custom click-through URL. Applicable if the landingPageId field is left unset.", - "type": "string" - }, - "landingPageId": { - "description": "ID of the landing page for the click-through URL.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CreativeCustomEvent": { - "description": "Creative Custom Event.", - "id": "CreativeCustomEvent", - "properties": { - "advertiserCustomEventId": { - "description": "Unique ID of this event used by Reporting and Data Transfer. This is a read-only field.", - "format": "int64", - "type": "string" - }, - "advertiserCustomEventName": { - "description": "User-entered name for the event.", - "type": "string" - }, - "advertiserCustomEventType": { - "description": "Type of the event. This is a read-only field.", - "enum": [ - "ADVERTISER_EVENT_TIMER", - "ADVERTISER_EVENT_EXIT", - "ADVERTISER_EVENT_COUNTER" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "artworkLabel": { - "description": "Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion.", - "type": "string" - }, - "artworkType": { - "description": "Artwork type used by the creative.This is a read-only field.", - "enum": [ - "ARTWORK_TYPE_FLASH", - "ARTWORK_TYPE_HTML5", - "ARTWORK_TYPE_MIXED", - "ARTWORK_TYPE_IMAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "exitClickThroughUrl": { - "$ref": "CreativeClickThroughUrl", - "description": "Exit click-through URL for the event. This field is used only for exit events." - }, - "id": { - "description": "ID of this event. This is a required field and should not be modified after insertion.", - "format": "int64", - "type": "string" - }, - "popupWindowProperties": { - "$ref": "PopupWindowProperties", - "description": "Properties for rich media popup windows. This field is used only for exit events." - }, - "targetType": { - "description": "Target type used by the event.", - "enum": [ - "TARGET_BLANK", - "TARGET_TOP", - "TARGET_SELF", - "TARGET_PARENT", - "TARGET_POPUP" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "videoReportingId": { - "description": "Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeField": { - "description": "Contains properties of a creative field.", - "id": "CreativeField", - "properties": { - "accountId": { - "description": "Account ID of this creative field. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this creative field. This is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "id": { - "description": "ID of this creative field. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeField\".", - "type": "string" - }, - "name": { - "description": "Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this creative field. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CreativeFieldAssignment": { - "description": "Creative Field Assignment.", - "id": "CreativeFieldAssignment", - "properties": { - "creativeFieldId": { - "description": "ID of the creative field.", - "format": "int64", - "type": "string" - }, - "creativeFieldValueId": { - "description": "ID of the creative field value.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CreativeFieldValue": { - "description": "Contains properties of a creative field value.", - "id": "CreativeFieldValue", - "properties": { - "id": { - "description": "ID of this creative field value. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldValue\".", - "type": "string" - }, - "value": { - "description": "Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeFieldValuesListResponse": { - "description": "Creative Field Value List Response", - "id": "CreativeFieldValuesListResponse", - "properties": { - "creativeFieldValues": { - "description": "Creative field value collection.", - "items": { - "$ref": "CreativeFieldValue" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldValuesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeFieldsListResponse": { - "description": "Creative Field List Response", - "id": "CreativeFieldsListResponse", - "properties": { - "creativeFields": { - "description": "Creative field collection.", - "items": { - "$ref": "CreativeField" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeGroup": { - "description": "Contains properties of a creative group.", - "id": "CreativeGroup", - "properties": { - "accountId": { - "description": "Account ID of this creative group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this creative group. This is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "groupNumber": { - "description": "Subgroup of the creative group. Assign your creative groups to a subgroup in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion. Acceptable values are 1 to 2, inclusive.", - "format": "int32", - "type": "integer" - }, - "id": { - "description": "ID of this creative group. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeGroup\".", - "type": "string" - }, - "name": { - "description": "Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this creative group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CreativeGroupAssignment": { - "description": "Creative Group Assignment.", - "id": "CreativeGroupAssignment", - "properties": { - "creativeGroupId": { - "description": "ID of the creative group to be assigned.", - "format": "int64", - "type": "string" - }, - "creativeGroupNumber": { - "description": "Creative group number of the creative group assignment.", - "enum": [ - "CREATIVE_GROUP_ONE", - "CREATIVE_GROUP_TWO" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "CreativeGroupsListResponse": { - "description": "Creative Group List Response", - "id": "CreativeGroupsListResponse", - "properties": { - "creativeGroups": { - "description": "Creative group collection.", - "items": { - "$ref": "CreativeGroup" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeGroupsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "CreativeOptimizationConfiguration": { - "description": "Creative optimization settings.", - "id": "CreativeOptimizationConfiguration", - "properties": { - "id": { - "description": "ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this creative optimization config. This is a required field and must be less than 129 characters long.", - "type": "string" - }, - "optimizationActivitys": { - "description": "List of optimization activities associated with this configuration.", - "items": { - "$ref": "OptimizationActivity" - }, - "type": "array" - }, - "optimizationModel": { - "description": "Optimization model for this configuration.", - "enum": [ - "CLICK", - "POST_CLICK", - "POST_IMPRESSION", - "POST_CLICK_AND_IMPRESSION", - "VIDEO_COMPLETION" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "CreativeRotation": { - "description": "Creative Rotation.", - "id": "CreativeRotation", - "properties": { - "creativeAssignments": { - "description": "Creative assignments in this creative rotation.", - "items": { - "$ref": "CreativeAssignment" - }, - "type": "array" - }, - "creativeOptimizationConfigurationId": { - "description": "Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "Type of creative rotation. Can be used to specify whether to use sequential or random rotation.", - "enum": [ - "CREATIVE_ROTATION_TYPE_SEQUENTIAL", - "CREATIVE_ROTATION_TYPE_RANDOM" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "weightCalculationStrategy": { - "description": "Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.", - "enum": [ - "WEIGHT_STRATEGY_EQUAL", - "WEIGHT_STRATEGY_CUSTOM", - "WEIGHT_STRATEGY_HIGHEST_CTR", - "WEIGHT_STRATEGY_OPTIMIZED" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "CreativesListResponse": { - "description": "Creative List Response", - "id": "CreativesListResponse", - "properties": { - "creatives": { - "description": "Creative collection.", - "items": { - "$ref": "Creative" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "CrossDimensionReachReportCompatibleFields": { - "description": "Represents fields that are compatible to be selected for a report of type \"CROSS_DIMENSION_REACH\".", - "id": "CrossDimensionReachReportCompatibleFields", - "properties": { - "breakdown": { - "description": "Dimensions which are compatible to be selected in the \"breakdown\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "dimensionFilters": { - "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#crossDimensionReachReportCompatibleFields.", - "type": "string" - }, - "metrics": { - "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "overlapMetrics": { - "description": "Metrics which are compatible to be selected in the \"overlapMetricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomEvent": { - "description": "Experimental feature (no support provided) A custom event represents a third party impression, a third party click, an annotation on a first party impression, or an annotation on a first party click.", - "id": "CustomEvent", - "properties": { - "annotateClickEvent": { - "$ref": "CustomEventClickAnnotation", - "description": "Annotate a click event. This field is mutually exclusive with insertEvent and annotateImpressionEvent. This or insertEvent and annotateImpressionEvent is a required field." - }, - "annotateImpressionEvent": { - "$ref": "CustomEventImpressionAnnotation", - "description": "Annotate an impression. This field is mutually exclusive with insertEvent and annotateClickEvent. This or insertEvent and annotateClickEvent is a required field." - }, - "customVariables": { - "description": "Custom variables associated with the event.", - "items": { - "$ref": "CustomVariable" - }, - "type": "array" - }, - "eventType": { - "description": "The type of event. If INSERT, the fields in insertEvent need to be populated. If ANNOTATE, the fields in either annotateClickEvent or annotateImpressionEvent need to be populated.", - "enum": [ - "UNKNOWN", - "INSERT", - "ANNOTATE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "floodlightConfigurationId": { - "description": "Floodlight configuration ID of the advertiser the event is linked to. This is a required field.", - "format": "int64", - "type": "string" - }, - "insertEvent": { - "$ref": "CustomEventInsert", - "description": "Insert custom event. This field is mutually exclusive with annotateClickEvent and annotateImpressionEvent. This or annotateClickEvent and annotateImpressionEvent is a required field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEvent\".", - "type": "string" - }, - "ordinal": { - "description": "The ordinal of this custom event. This is a required field.", - "type": "string" - }, - "timestampMicros": { - "description": "The timestamp of this custom event, in Unix epoch micros. This is a required field.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CustomEventClickAnnotation": { - "description": "Annotate a click event.", - "id": "CustomEventClickAnnotation", - "properties": { - "gclid": { - "description": "The Google click ID. Use this field to annotate the click associated with the gclid.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventClickAnnotation\".", - "type": "string" - } - }, - "type": "object" - }, - "CustomEventError": { - "description": "The error code and description for a custom event that failed to insert.", - "id": "CustomEventError", - "properties": { - "code": { - "description": "The error code.", - "enum": [ - "UNKNOWN", - "INVALID_ARGUMENT", - "INTERNAL", - "PERMISSION_DENIED", - "NOT_FOUND" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventError\".", - "type": "string" - }, - "message": { - "description": "A description of the error.", - "type": "string" - } - }, - "type": "object" - }, - "CustomEventImpressionAnnotation": { - "description": "Annotate an impression.", - "id": "CustomEventImpressionAnnotation", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventImpressionAnnotation\".", - "type": "string" - }, - "pathImpressionId": { - "description": "The path impression ID. Use this field to annotate the impression associated with the pathImpressionId.", - "type": "string" - } - }, - "type": "object" - }, - "CustomEventInsert": { - "description": "Custom event to be inserted.", - "id": "CustomEventInsert", - "properties": { - "cmDimensions": { - "$ref": "CampaignManagerIds", - "description": "Campaign Manager dimensions associated with the event." - }, - "dv3Dimensions": { - "$ref": "DV3Ids", - "description": "DV360 dimensions associated with the event." - }, - "insertEventType": { - "description": "The type of event to insert.", - "enum": [ - "UNKNOWN", - "IMPRESSION", - "CLICK" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventInsert\".", - "type": "string" - }, - "matchId": { - "description": "The match ID field. A match ID is your own first-party identifier that has been synced with Google using the match ID feature in Floodlight. This field is mutually exclusive with mobileDeviceId, and at least one of the two fields is required.", - "type": "string" - }, - "mobileDeviceId": { - "description": "The mobile device ID. This field is mutually exclusive with matchId, and at least one of the two fields is required.", - "type": "string" - } - }, - "type": "object" - }, - "CustomEventStatus": { - "description": "The original custom event that was inserted and whether there were any errors.", - "id": "CustomEventStatus", - "properties": { - "customEvent": { - "$ref": "CustomEvent", - "description": "The original custom event that was inserted." - }, - "errors": { - "description": "A list of errors related to this custom event.", - "items": { - "$ref": "CustomEventError" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventStatus\".", - "type": "string" - } - }, - "type": "object" - }, - "CustomEventsBatchInsertRequest": { - "description": "Insert Custom Events Request.", - "id": "CustomEventsBatchInsertRequest", - "properties": { - "customEvents": { - "description": "The set of custom events to insert.", - "items": { - "$ref": "CustomEvent" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventsBatchInsertRequest\".", - "type": "string" - } - }, - "type": "object" - }, - "CustomEventsBatchInsertResponse": { - "description": "Insert Custom Events Response.", - "id": "CustomEventsBatchInsertResponse", - "properties": { - "hasFailures": { - "description": "Indicates that some or all custom events failed to insert.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventsBatchInsertResponse\".", - "type": "string" - }, - "status": { - "description": "The insert status of each custom event. Statuses are returned in the same order that conversions are inserted.", - "items": { - "$ref": "CustomEventStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomFloodlightVariable": { - "description": "A custom floodlight variable. This field may only be used when calling batchinsert; it is not supported by batchupdate.", - "id": "CustomFloodlightVariable", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customFloodlightVariable\".", - "type": "string" - }, - "type": { - "description": "The type of custom floodlight variable to supply a value for. These map to the \"u[1-20]=\" in the tags.", - "enum": [ - "U1", - "U2", - "U3", - "U4", - "U5", - "U6", - "U7", - "U8", - "U9", - "U10", - "U11", - "U12", - "U13", - "U14", - "U15", - "U16", - "U17", - "U18", - "U19", - "U20", - "U21", - "U22", - "U23", - "U24", - "U25", - "U26", - "U27", - "U28", - "U29", - "U30", - "U31", - "U32", - "U33", - "U34", - "U35", - "U36", - "U37", - "U38", - "U39", - "U40", - "U41", - "U42", - "U43", - "U44", - "U45", - "U46", - "U47", - "U48", - "U49", - "U50", - "U51", - "U52", - "U53", - "U54", - "U55", - "U56", - "U57", - "U58", - "U59", - "U60", - "U61", - "U62", - "U63", - "U64", - "U65", - "U66", - "U67", - "U68", - "U69", - "U70", - "U71", - "U72", - "U73", - "U74", - "U75", - "U76", - "U77", - "U78", - "U79", - "U80", - "U81", - "U82", - "U83", - "U84", - "U85", - "U86", - "U87", - "U88", - "U89", - "U90", - "U91", - "U92", - "U93", - "U94", - "U95", - "U96", - "U97", - "U98", - "U99", - "U100" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "value": { - "description": "The value of the custom floodlight variable. The length of string must not exceed 100 characters.", - "type": "string" - } - }, - "type": "object" - }, - "CustomRichMediaEvents": { - "description": "Represents a Custom Rich Media Events group.", - "id": "CustomRichMediaEvents", - "properties": { - "filteredEventIds": { - "description": "List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#customRichMediaEvents.", - "type": "string" - } - }, - "type": "object" - }, - "CustomVariable": { - "description": "Custom variable.", - "id": "CustomVariable", - "properties": { - "index": { - "description": "The index of the custom variable.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customVariable\".", - "type": "string" - }, - "value": { - "description": "The value of the custom variable. The length of string must not exceed 50 characters.", - "type": "string" - } - }, - "type": "object" - }, - "CustomViewabilityMetric": { - "description": "Custom Viewability Metric", - "id": "CustomViewabilityMetric", - "properties": { - "configuration": { - "$ref": "CustomViewabilityMetricConfiguration", - "description": "Configuration of the custom viewability metric." - }, - "id": { - "description": "ID of the custom viewability metric.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of the custom viewability metric.", - "type": "string" - } - }, - "type": "object" - }, - "CustomViewabilityMetricConfiguration": { - "description": "The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric.", - "id": "CustomViewabilityMetricConfiguration", - "properties": { - "audible": { - "description": "Whether the video must be audible to count an impression.", - "type": "boolean" - }, - "timeMillis": { - "description": "The time in milliseconds the video must play for the Custom Viewability Metric to count an impression. If both this and timePercent are specified, the earlier of the two will be used.", - "format": "int32", - "type": "integer" - }, - "timePercent": { - "description": "The percentage of video that must play for the Custom Viewability Metric to count an impression. If both this and timeMillis are specified, the earlier of the two will be used.", - "format": "int32", - "type": "integer" - }, - "viewabilityPercent": { - "description": "The percentage of video that must be on screen for the Custom Viewability Metric to count an impression.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "DV3Ids": { - "description": "DV360 IDs related to the custom event.", - "id": "DV3Ids", - "properties": { - "dvCampaignId": { - "description": "Campaign ID for DV360.", - "format": "int64", - "type": "string" - }, - "dvCreativeId": { - "description": "Creative ID for DV360.", - "format": "int64", - "type": "string" - }, - "dvInsertionOrderId": { - "description": "Insertion Order ID for DV360.", - "format": "int64", - "type": "string" - }, - "dvLineItemId": { - "description": "Line Item ID for DV360.", - "format": "int64", - "type": "string" - }, - "dvSiteId": { - "description": "Site ID for DV360.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dV3Ids\".", - "type": "string" - } - }, - "type": "object" - }, - "DateRange": { - "description": "Represents a date range.", - "id": "DateRange", - "properties": { - "endDate": { - "format": "date", - "type": "string" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#dateRange.", - "type": "string" - }, - "relativeDateRange": { - "description": "The date range relative to the date of when the report is run.", - "enum": [ - "TODAY", - "YESTERDAY", - "WEEK_TO_DATE", - "MONTH_TO_DATE", - "QUARTER_TO_DATE", - "YEAR_TO_DATE", - "PREVIOUS_WEEK", - "PREVIOUS_MONTH", - "PREVIOUS_QUARTER", - "PREVIOUS_YEAR", - "LAST_7_DAYS", - "LAST_30_DAYS", - "LAST_90_DAYS", - "LAST_365_DAYS", - "LAST_24_MONTHS", - "LAST_14_DAYS", - "LAST_60_DAYS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - } - }, - "type": "object" - }, - "DayPartTargeting": { - "description": "Day Part Targeting.", - "id": "DayPartTargeting", - "properties": { - "daysOfWeek": { - "description": "Days of the week when the ad will serve. Acceptable values are: - \"SUNDAY\" - \"MONDAY\" - \"TUESDAY\" - \"WEDNESDAY\" - \"THURSDAY\" - \"FRIDAY\" - \"SATURDAY\" ", - "items": { - "enum": [ - "MONDAY", - "TUESDAY", - "WEDNESDAY", - "THURSDAY", - "FRIDAY", - "SATURDAY", - "SUNDAY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "hoursOfDay": { - "description": "Hours of the day when the ad will serve, where 0 is midnight to 1 AM and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. Acceptable values are 0 to 23, inclusive.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "userLocalTime": { - "description": "Whether or not to use the user's local time. If false, the America/New York time zone applies.", - "type": "boolean" - } - }, - "type": "object" - }, - "DeepLink": { - "description": "Contains information about a landing page deep link.", - "id": "DeepLink", - "properties": { - "appUrl": { - "description": "The URL of the mobile app being linked to.", - "type": "string" - }, - "fallbackUrl": { - "description": "The fallback URL. This URL will be served to users who do not have the mobile app installed.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#deepLink\".", - "type": "string" - }, - "mobileApp": { - "$ref": "MobileApp", - "description": "The mobile app targeted by this deep link." - }, - "remarketingListIds": { - "description": "Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "DefaultClickThroughEventTagProperties": { - "description": "Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further.", - "id": "DefaultClickThroughEventTagProperties", - "properties": { - "defaultClickThroughEventTagId": { - "description": "ID of the click-through event tag to apply to all ads in this entity's scope.", - "format": "int64", - "type": "string" - }, - "overrideInheritedEventTag": { - "description": "Whether this entity should override the inherited default click-through event tag with its own defined value.", - "type": "boolean" - } - }, - "type": "object" - }, - "DeliverySchedule": { - "description": "Delivery Schedule.", - "id": "DeliverySchedule", - "properties": { - "frequencyCap": { - "$ref": "FrequencyCap", - "description": "Limit on the number of times an individual user can be served the ad within a specified period of time." - }, - "hardCutoff": { - "description": "Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.", - "type": "boolean" - }, - "impressionRatio": { - "description": "Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then Campaign Manager will serve ad B three times as often as ad A. Acceptable values are 1 to 10, inclusive.", - "format": "int64", - "type": "string" - }, - "priority": { - "description": "Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.", - "enum": [ - "AD_PRIORITY_01", - "AD_PRIORITY_02", - "AD_PRIORITY_03", - "AD_PRIORITY_04", - "AD_PRIORITY_05", - "AD_PRIORITY_06", - "AD_PRIORITY_07", - "AD_PRIORITY_08", - "AD_PRIORITY_09", - "AD_PRIORITY_10", - "AD_PRIORITY_11", - "AD_PRIORITY_12", - "AD_PRIORITY_13", - "AD_PRIORITY_14", - "AD_PRIORITY_15", - "AD_PRIORITY_16" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "DfpSettings": { - "description": "Google Ad Manager Settings", - "id": "DfpSettings", - "properties": { - "dfpNetworkCode": { - "description": "Ad Manager network code for this directory site.", - "type": "string" - }, - "dfpNetworkName": { - "description": "Ad Manager network name for this directory site.", - "type": "string" - }, - "programmaticPlacementAccepted": { - "description": "Whether this directory site accepts programmatic placements.", - "type": "boolean" - }, - "pubPaidPlacementAccepted": { - "description": "Whether this directory site accepts publisher-paid tags.", - "type": "boolean" - }, - "publisherPortalOnly": { - "description": "Whether this directory site is available only via Publisher Portal.", - "type": "boolean" - } - }, - "type": "object" - }, - "Dimension": { - "description": "Represents a dimension.", - "id": "Dimension", - "properties": { - "kind": { - "description": "The kind of resource this is, in this case dfareporting#dimension.", - "type": "string" - }, - "name": { - "description": "The dimension name, e.g. dfa:advertiser", - "type": "string" - } - }, - "type": "object" - }, - "DimensionFilter": { - "description": "Represents a dimension filter.", - "id": "DimensionFilter", - "properties": { - "dimensionName": { - "description": "The name of the dimension to filter.", - "type": "string" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#dimensionFilter.", - "type": "string" - }, - "value": { - "description": "The value of the dimension to filter.", - "type": "string" - } - }, - "type": "object" - }, - "DimensionValue": { - "description": "Represents a DimensionValue resource.", - "id": "DimensionValue", - "properties": { - "dimensionName": { - "description": "The name of the dimension.", - "type": "string" - }, - "etag": { - "description": "The eTag of this response for caching purposes.", - "type": "string" - }, - "id": { - "description": "The ID associated with the value if available.", - "type": "string" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#dimensionValue.", - "type": "string" - }, - "matchType": { - "description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.", - "enum": [ - "EXACT", - "BEGINS_WITH", - "CONTAINS", - "WILDCARD_EXPRESSION" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "value": { - "description": "The value of the dimension.", - "type": "string" - } - }, - "type": "object" - }, - "DimensionValueList": { - "description": "Represents the list of DimensionValue resources.", - "id": "DimensionValueList", - "properties": { - "etag": { - "description": "The eTag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The dimension values returned in this response.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "kind": { - "description": "The kind of list this is, in this case dfareporting#dimensionValueList.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through dimension values. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", - "type": "string" - } - }, - "type": "object" - }, - "DimensionValueRequest": { - "description": "Represents a DimensionValuesRequest.", - "id": "DimensionValueRequest", - "properties": { - "dimensionName": { - "annotations": { - "required": [ - "dfareporting.dimensionValues.query" - ] - }, - "description": "The name of the dimension for which values should be requested.", - "type": "string" - }, - "endDate": { - "format": "date", - "type": "string" - }, - "filters": { - "description": "The list of filters by which to filter values. The filters are ANDed.", - "items": { - "$ref": "DimensionFilter" - }, - "type": "array" - }, - "kind": { - "description": "The kind of request this is, in this case dfareporting#dimensionValueRequest .", - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - } - }, - "type": "object" - }, - "DirectorySite": { - "description": "DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.", - "id": "DirectorySite", - "properties": { - "id": { - "description": "ID of this directory site. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this directory site. This is a read-only, auto-generated field." - }, - "inpageTagFormats": { - "description": "Tag types for regular placements. Acceptable values are: - \"STANDARD\" - \"IFRAME_JAVASCRIPT_INPAGE\" - \"INTERNAL_REDIRECT_INPAGE\" - \"JAVASCRIPT_INPAGE\" ", - "items": { - "enum": [ - "STANDARD", - "IFRAME_JAVASCRIPT_INPAGE", - "INTERNAL_REDIRECT_INPAGE", - "JAVASCRIPT_INPAGE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "interstitialTagFormats": { - "description": "Tag types for interstitial placements. Acceptable values are: - \"IFRAME_JAVASCRIPT_INTERSTITIAL\" - \"INTERNAL_REDIRECT_INTERSTITIAL\" - \"JAVASCRIPT_INTERSTITIAL\" ", - "items": { - "enum": [ - "IFRAME_JAVASCRIPT_INTERSTITIAL", - "INTERNAL_REDIRECT_INTERSTITIAL", - "JAVASCRIPT_INTERSTITIAL" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySite\".", - "type": "string" - }, - "name": { - "description": "Name of this directory site.", - "type": "string" - }, - "settings": { - "$ref": "DirectorySiteSettings", - "description": "Directory site settings." - }, - "url": { - "description": "URL of this directory site.", - "type": "string" - } - }, - "type": "object" - }, - "DirectorySiteSettings": { - "description": "Directory Site Settings", - "id": "DirectorySiteSettings", - "properties": { - "activeViewOptOut": { - "description": "Whether this directory site has disabled active view creatives.", - "type": "boolean" - }, - "dfpSettings": { - "$ref": "DfpSettings", - "description": "Directory site Ad Manager settings." - }, - "instreamVideoPlacementAccepted": { - "description": "Whether this site accepts in-stream video ads.", - "type": "boolean" - }, - "interstitialPlacementAccepted": { - "description": "Whether this site accepts interstitial ads.", - "type": "boolean" - } - }, - "type": "object" - }, - "DirectorySitesListResponse": { - "description": "Directory Site List Response", - "id": "DirectorySitesListResponse", - "properties": { - "directorySites": { - "description": "Directory site collection.", - "items": { - "$ref": "DirectorySite" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySitesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "DisjunctiveMatchStatement": { - "description": "Represents a Disjunctive Match Statement resource, which is a conjunction (and) of disjunctive (or) boolean statements.", - "id": "DisjunctiveMatchStatement", - "properties": { - "eventFilters": { - "description": "The event filters contained within this disjunctive match statement.", - "items": { - "$ref": "EventFilter" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#disjunctiveMatchStatement.", - "type": "string" - } - }, - "type": "object" - }, - "DynamicTargetingKey": { - "description": "Contains properties of a dynamic targeting key. Dynamic targeting keys are unique, user-friendly labels, created at the advertiser level in DCM, that can be assigned to ads, creatives, and placements and used for targeting with Studio dynamic creatives. Use these labels instead of numeric Campaign Manager IDs (such as placement IDs) to save time and avoid errors in your dynamic feeds.", - "id": "DynamicTargetingKey", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicTargetingKey\".", - "type": "string" - }, - "name": { - "description": "Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase.", - "type": "string" - }, - "objectId": { - "description": "ID of the object of this dynamic targeting key. This is a required field.", - "format": "int64", - "type": "string" - }, - "objectType": { - "description": "Type of the object of this dynamic targeting key. This is a required field.", - "enum": [ - "OBJECT_ADVERTISER", - "OBJECT_AD", - "OBJECT_CREATIVE", - "OBJECT_PLACEMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "DynamicTargetingKeysListResponse": { - "description": "Dynamic Targeting Key List Response", - "id": "DynamicTargetingKeysListResponse", - "properties": { - "dynamicTargetingKeys": { - "description": "Dynamic targeting key collection.", - "items": { - "$ref": "DynamicTargetingKey" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicTargetingKeysListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "EncryptionInfo": { - "description": "A description of how user IDs are encrypted.", - "id": "EncryptionInfo", - "properties": { - "encryptionEntityId": { - "description": "The encryption entity ID. This should match the encryption configuration for ad serving or Data Transfer.", - "format": "int64", - "type": "string" - }, - "encryptionEntityType": { - "description": "The encryption entity type. This should match the encryption configuration for ad serving or Data Transfer.", - "enum": [ - "ENCRYPTION_ENTITY_TYPE_UNKNOWN", - "DCM_ACCOUNT", - "DCM_ADVERTISER", - "DBM_PARTNER", - "DBM_ADVERTISER", - "ADWORDS_CUSTOMER", - "DFP_NETWORK_CODE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "encryptionSource": { - "description": "Describes whether the encrypted cookie was received from ad serving (the %m macro) or from Data Transfer.", - "enum": [ - "ENCRYPTION_SCOPE_UNKNOWN", - "AD_SERVING", - "DATA_TRANSFER" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#encryptionInfo\".", - "type": "string" - } - }, - "type": "object" - }, - "EventFilter": { - "description": "Represents a DfaReporting event filter.", - "id": "EventFilter", - "properties": { - "dimensionFilter": { - "$ref": "PathReportDimensionValue", - "description": "The dimension filter contained within this EventFilter." - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#eventFilter.", - "type": "string" - } - }, - "type": "object" - }, - "EventTag": { - "description": "Contains properties of an event tag.", - "id": "EventTag", - "properties": { - "accountId": { - "description": "Account ID of this event tag. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this event tag. This field or the campaignId field is required on insertion.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "campaignId": { - "description": "Campaign ID of this event tag. This field or the advertiserId field is required on insertion.", - "format": "int64", - "type": "string" - }, - "campaignIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." - }, - "enabledByDefault": { - "description": "Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.", - "type": "boolean" - }, - "excludeFromAdxRequests": { - "description": "Whether to remove this event tag from ads that are trafficked through Display & Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.", - "type": "boolean" - }, - "id": { - "description": "ID of this event tag. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#eventTag\".", - "type": "string" - }, - "name": { - "description": "Name of this event tag. This is a required field and must be less than 256 characters long.", - "type": "string" - }, - "siteFilterType": { - "description": "Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.", - "enum": [ - "WHITELIST", - "BLACKLIST" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "siteIds": { - "description": "Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "sslCompliant": { - "description": "Whether this tag is SSL-compliant or not. This is a read-only field.", - "type": "boolean" - }, - "status": { - "description": "Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.", - "enum": [ - "ENABLED", - "DISABLED" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this event tag. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.", - "enum": [ - "IMPRESSION_IMAGE_EVENT_TAG", - "IMPRESSION_JAVASCRIPT_EVENT_TAG", - "CLICK_THROUGH_EVENT_TAG" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "url": { - "description": "Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.", - "type": "string" - }, - "urlEscapeLevels": { - "description": "Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "EventTagOverride": { - "description": "Event tag override information.", - "id": "EventTagOverride", - "properties": { - "enabled": { - "description": "Whether this override is enabled.", - "type": "boolean" - }, - "id": { - "description": "ID of this event tag override. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "EventTagsListResponse": { - "description": "Event Tag List Response", - "id": "EventTagsListResponse", - "properties": { - "eventTags": { - "description": "Event tag collection.", - "items": { - "$ref": "EventTag" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#eventTagsListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "File": { - "description": "Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is \"REPORT_AVAILABLE\".", - "id": "File", - "properties": { - "dateRange": { - "$ref": "DateRange", - "description": "The date range for which the file has report data. The date range will always be the absolute date range for which the report is run." - }, - "etag": { - "description": "Etag of this resource.", - "type": "string" - }, - "fileName": { - "description": "The filename of the file.", - "type": "string" - }, - "format": { - "description": "The output format of the report. Only available once the file is available.", - "enum": [ - "CSV", - "EXCEL" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "id": { - "description": "The unique ID of this report file.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#file\".", - "type": "string" - }, - "lastModifiedTime": { - "description": "The timestamp in milliseconds since epoch when this file was last modified.", - "format": "int64", - "type": "string" - }, - "reportId": { - "description": "The ID of the report this file was generated from.", - "format": "int64", - "type": "string" - }, - "status": { - "description": "The status of the report file.", - "enum": [ - "PROCESSING", - "REPORT_AVAILABLE", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "urls": { - "description": "The URLs where the completed report file can be downloaded.", - "properties": { - "apiUrl": { - "description": "The URL for downloading the report data through the API.", - "type": "string" - }, - "browserUrl": { - "description": "The URL for downloading the report data through a browser.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "FileList": { - "description": "List of files for a report.", - "id": "FileList", - "properties": { - "etag": { - "description": "Etag of this resource.", - "type": "string" - }, - "items": { - "description": "The files returned in this response.", - "items": { - "$ref": "File" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#fileList\".", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through files. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", - "type": "string" - } - }, - "type": "object" - }, - "Flight": { - "description": "Flight", - "id": "Flight", - "properties": { - "endDate": { - "format": "date", - "type": "string" - }, - "rateOrCost": { - "description": "Rate or cost of this flight.", - "format": "int64", - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - }, - "units": { - "description": "Units of this flight.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivitiesGenerateTagResponse": { - "description": "Floodlight Activity GenerateTag Response", - "id": "FloodlightActivitiesGenerateTagResponse", - "properties": { - "floodlightActivityTag": { - "description": "Generated tag for this Floodlight activity. For global site tags, this is the event snippet.", - "type": "string" - }, - "globalSiteTagGlobalSnippet": { - "description": "The global snippet section of a global site tag. The global site tag sets new cookies on your domain, which will store a unique identifier for a user or the ad click that brought the user to your site. Learn more.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivitiesGenerateTagResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivitiesListResponse": { - "description": "Floodlight Activity List Response", - "id": "FloodlightActivitiesListResponse", - "properties": { - "floodlightActivities": { - "description": "Floodlight activity collection.", - "items": { - "$ref": "FloodlightActivity" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivitiesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivity": { - "description": "Contains properties of a Floodlight activity.", - "id": "FloodlightActivity", - "properties": { - "accountId": { - "description": "Account ID of this floodlight activity. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "attributionEnabled": { - "description": "Whether the activity is enabled for attribution.", - "type": "boolean" - }, - "cacheBustingType": { - "description": "Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.", - "enum": [ - "JAVASCRIPT", - "ACTIVE_SERVER_PAGE", - "JSP", - "PHP", - "COLD_FUSION" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "countingMethod": { - "description": "Counting method for conversions for this floodlight activity. This is a required field.", - "enum": [ - "STANDARD_COUNTING", - "UNIQUE_COUNTING", - "SESSION_COUNTING", - "TRANSACTIONS_COUNTING", - "ITEMS_SOLD_COUNTING" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "defaultTags": { - "description": "Dynamic floodlight tags.", - "items": { - "$ref": "FloodlightActivityDynamicTag" - }, - "type": "array" - }, - "expectedUrl": { - "description": "URL where this tag will be deployed. If specified, must be less than 256 characters long.", - "type": "string" - }, - "floodlightActivityGroupId": { - "description": "Floodlight activity group ID of this floodlight activity. This is a required field.", - "format": "int64", - "type": "string" - }, - "floodlightActivityGroupName": { - "description": "Name of the associated floodlight activity group. This is a read-only field.", - "type": "string" - }, - "floodlightActivityGroupTagString": { - "description": "Tag string of the associated floodlight activity group. This is a read-only field.", - "type": "string" - }, - "floodlightActivityGroupType": { - "description": "Type of the associated floodlight activity group. This is a read-only field.", - "enum": [ - "COUNTER", - "SALE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "floodlightConfigurationId": { - "description": "Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.", - "format": "int64", - "type": "string" - }, - "floodlightConfigurationIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." - }, - "floodlightTagType": { - "description": "The type of Floodlight tag this activity will generate. This is a required field.", - "enum": [ - "IFRAME", - "IMAGE", - "GLOBAL_SITE_TAG" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "id": { - "description": "ID of this floodlight activity. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivity\".", - "type": "string" - }, - "name": { - "description": "Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.", - "type": "string" - }, - "notes": { - "description": "General notes or implementation instructions for the tag.", - "type": "string" - }, - "publisherTags": { - "description": "Publisher dynamic floodlight tags.", - "items": { - "$ref": "FloodlightActivityPublisherDynamicTag" - }, - "type": "array" - }, - "secure": { - "description": "Whether this tag should use SSL.", - "type": "boolean" - }, - "sslCompliant": { - "description": "Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.", - "type": "boolean" - }, - "sslRequired": { - "description": "Whether this floodlight activity must be SSL-compliant.", - "type": "boolean" - }, - "status": { - "description": "The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.", - "enum": [ - "ACTIVE", - "ARCHIVED_AND_DISABLED", - "ARCHIVED", - "DISABLED_POLICY" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "tagFormat": { - "description": "Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.", - "enum": [ - "HTML", - "XHTML" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "tagString": { - "description": "Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.", - "type": "string" - }, - "userDefinedVariableTypes": { - "description": "List of the user-defined variables used by this conversion tag. These map to the \"u[1-100]=\" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. ", - "items": { - "enum": [ - "U1", - "U2", - "U3", - "U4", - "U5", - "U6", - "U7", - "U8", - "U9", - "U10", - "U11", - "U12", - "U13", - "U14", - "U15", - "U16", - "U17", - "U18", - "U19", - "U20", - "U21", - "U22", - "U23", - "U24", - "U25", - "U26", - "U27", - "U28", - "U29", - "U30", - "U31", - "U32", - "U33", - "U34", - "U35", - "U36", - "U37", - "U38", - "U39", - "U40", - "U41", - "U42", - "U43", - "U44", - "U45", - "U46", - "U47", - "U48", - "U49", - "U50", - "U51", - "U52", - "U53", - "U54", - "U55", - "U56", - "U57", - "U58", - "U59", - "U60", - "U61", - "U62", - "U63", - "U64", - "U65", - "U66", - "U67", - "U68", - "U69", - "U70", - "U71", - "U72", - "U73", - "U74", - "U75", - "U76", - "U77", - "U78", - "U79", - "U80", - "U81", - "U82", - "U83", - "U84", - "U85", - "U86", - "U87", - "U88", - "U89", - "U90", - "U91", - "U92", - "U93", - "U94", - "U95", - "U96", - "U97", - "U98", - "U99", - "U100" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "FloodlightActivityDynamicTag": { - "description": "Dynamic Tag", - "id": "FloodlightActivityDynamicTag", - "properties": { - "id": { - "description": "ID of this dynamic tag. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of this tag.", - "type": "string" - }, - "tag": { - "description": "Tag code.", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivityGroup": { - "description": "Contains properties of a Floodlight activity group.", - "id": "FloodlightActivityGroup", - "properties": { - "accountId": { - "description": "Account ID of this floodlight activity group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "floodlightConfigurationId": { - "description": "Floodlight configuration ID of this floodlight activity group. This is a required field.", - "format": "int64", - "type": "string" - }, - "floodlightConfigurationIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." - }, - "id": { - "description": "ID of this floodlight activity group. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivityGroup\".", - "type": "string" - }, - "name": { - "description": "Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "tagString": { - "description": "Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.", - "type": "string" - }, - "type": { - "description": "Type of the floodlight activity group. This is a required field that is read-only after insertion.", - "enum": [ - "COUNTER", - "SALE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivityGroupsListResponse": { - "description": "Floodlight Activity Group List Response", - "id": "FloodlightActivityGroupsListResponse", - "properties": { - "floodlightActivityGroups": { - "description": "Floodlight activity group collection.", - "items": { - "$ref": "FloodlightActivityGroup" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivityGroupsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightActivityPublisherDynamicTag": { - "description": "Publisher Dynamic Tag", - "id": "FloodlightActivityPublisherDynamicTag", - "properties": { - "clickThrough": { - "description": "Whether this tag is applicable only for click-throughs.", - "type": "boolean" - }, - "directorySiteId": { - "description": "Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.", - "format": "int64", - "type": "string" - }, - "dynamicTag": { - "$ref": "FloodlightActivityDynamicTag", - "description": "Dynamic floodlight tag." - }, - "siteId": { - "description": "Site ID of this dynamic tag.", - "format": "int64", - "type": "string" - }, - "siteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." - }, - "viewThrough": { - "description": "Whether this tag is applicable only for view-throughs.", - "type": "boolean" - } - }, - "type": "object" - }, - "FloodlightConfiguration": { - "description": "Contains properties of a Floodlight configuration.", - "id": "FloodlightConfiguration", - "properties": { - "accountId": { - "description": "Account ID of this floodlight configuration. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of the parent advertiser of this floodlight configuration.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "analyticsDataSharingEnabled": { - "description": "Whether advertiser data is shared with Google Analytics.", - "type": "boolean" - }, - "customViewabilityMetric": { - "$ref": "CustomViewabilityMetric", - "description": "Custom Viewability metric for the floodlight configuration." - }, - "exposureToConversionEnabled": { - "description": "Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.", - "type": "boolean" - }, - "firstDayOfWeek": { - "description": "Day that will be counted as the first day of the week in reports. This is a required field.", - "enum": [ - "MONDAY", - "SUNDAY" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "id": { - "description": "ID of this floodlight configuration. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field." - }, - "inAppAttributionTrackingEnabled": { - "description": "Whether in-app attribution tracking is enabled.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightConfiguration\".", - "type": "string" - }, - "lookbackConfiguration": { - "$ref": "LookbackConfiguration", - "description": "Lookback window settings for this floodlight configuration." - }, - "naturalSearchConversionAttributionOption": { - "description": "Types of attribution options for natural search conversions.", - "enum": [ - "EXCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", - "INCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", - "INCLUDE_NATURAL_SEARCH_TIERED_CONVERSION_ATTRIBUTION" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "omnitureSettings": { - "$ref": "OmnitureSettings", - "description": "Settings for Campaign Manager Omniture integration." - }, - "subaccountId": { - "description": "Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "tagSettings": { - "$ref": "TagSettings", - "description": "Configuration settings for dynamic and image floodlight tags." - }, - "thirdPartyAuthenticationTokens": { - "description": "List of third-party authentication tokens enabled for this configuration.", - "items": { - "$ref": "ThirdPartyAuthenticationToken" - }, - "type": "array" - }, - "userDefinedVariableConfigurations": { - "description": "List of user defined variables enabled for this configuration.", - "items": { - "$ref": "UserDefinedVariableConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "FloodlightConfigurationsListResponse": { - "description": "Floodlight Configuration List Response", - "id": "FloodlightConfigurationsListResponse", - "properties": { - "floodlightConfigurations": { - "description": "Floodlight configuration collection.", - "items": { - "$ref": "FloodlightConfiguration" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightConfigurationsListResponse\".", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightReportCompatibleFields": { - "description": "Represents fields that are compatible to be selected for a report of type \"FlOODLIGHT\".", - "id": "FloodlightReportCompatibleFields", - "properties": { - "dimensionFilters": { - "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "dimensions": { - "description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#floodlightReportCompatibleFields.", - "type": "string" - }, - "metrics": { - "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - } - }, - "type": "object" - }, - "FrequencyCap": { - "description": "Frequency Cap.", - "id": "FrequencyCap", - "properties": { - "duration": { - "description": "Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days. Acceptable values are 1 to 7776000, inclusive.", - "format": "int64", - "type": "string" - }, - "impressions": { - "description": "Number of times an individual user can be served the ad within the specified duration. Acceptable values are 1 to 15, inclusive.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "FsCommand": { - "description": "FsCommand.", - "id": "FsCommand", - "properties": { - "left": { - "description": "Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.", - "format": "int32", - "type": "integer" - }, - "positionOption": { - "description": "Position in the browser where the window will open.", - "enum": [ - "CENTERED", - "DISTANCE_FROM_TOP_LEFT_CORNER" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "top": { - "description": "Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.", - "format": "int32", - "type": "integer" - }, - "windowHeight": { - "description": "Height of the window.", - "format": "int32", - "type": "integer" - }, - "windowWidth": { - "description": "Width of the window.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GeoTargeting": { - "description": "Geographical Targeting.", - "id": "GeoTargeting", - "properties": { - "cities": { - "description": "Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.", - "items": { - "$ref": "City" - }, - "type": "array" - }, - "countries": { - "description": "Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.", - "items": { - "$ref": "Country" - }, - "type": "array" - }, - "excludeCountries": { - "description": "Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.", - "type": "boolean" - }, - "metros": { - "description": "Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.", - "items": { - "$ref": "Metro" - }, - "type": "array" - }, - "postalCodes": { - "description": "Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.", - "items": { - "$ref": "PostalCode" - }, - "type": "array" - }, - "regions": { - "description": "Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.", - "items": { - "$ref": "Region" - }, - "type": "array" - } - }, - "type": "object" - }, - "InventoryItem": { - "description": "Represents a buy from the Planning inventory store.", - "id": "InventoryItem", - "properties": { - "accountId": { - "description": "Account ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "adSlots": { - "description": "Ad slots of this inventory item. If this inventory item represents a standalone placement, there will be exactly one ad slot. If this inventory item represents a placement group, there will be more than one ad slot, each representing one child placement in that placement group.", - "items": { - "$ref": "AdSlot" - }, - "type": "array" - }, - "advertiserId": { - "description": "Advertiser ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "contentCategoryId": { - "description": "Content category ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "estimatedClickThroughRate": { - "description": "Estimated click-through rate of this inventory item.", - "format": "int64", - "type": "string" - }, - "estimatedConversionRate": { - "description": "Estimated conversion rate of this inventory item.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "inPlan": { - "description": "Whether this inventory item is in plan.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#inventoryItem\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this inventory item." - }, - "name": { - "description": "Name of this inventory item. For standalone inventory items, this is the same name as that of its only ad slot. For group inventory items, this can differ from the name of any of its ad slots.", - "type": "string" - }, - "negotiationChannelId": { - "description": "Negotiation channel ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "orderId": { - "description": "Order ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "placementStrategyId": { - "description": "Placement strategy ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "pricing": { - "$ref": "Pricing", - "description": "Pricing of this inventory item." - }, - "projectId": { - "description": "Project ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "rfpId": { - "description": "RFP ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "siteId": { - "description": "ID of the site this inventory item is associated with.", - "format": "int64", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this inventory item.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "Type of inventory item.", - "enum": [ - "PLANNING_PLACEMENT_TYPE_REGULAR", - "PLANNING_PLACEMENT_TYPE_CREDIT" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "InventoryItemsListResponse": { - "description": "Inventory item List Response", - "id": "InventoryItemsListResponse", - "properties": { - "inventoryItems": { - "description": "Inventory item collection", - "items": { - "$ref": "InventoryItem" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#inventoryItemsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "KeyValueTargetingExpression": { - "description": "Key Value Targeting Expression.", - "id": "KeyValueTargetingExpression", - "properties": { - "expression": { - "description": "Keyword expression being targeted by the ad.", - "type": "string" - } - }, - "type": "object" - }, - "LandingPage": { - "description": "Contains information about where a user's browser is taken after the user clicks an ad.", - "id": "LandingPage", - "properties": { - "advertiserId": { - "description": "Advertiser ID of this landing page. This is a required field.", - "format": "int64", - "type": "string" - }, - "archived": { - "description": "Whether this landing page has been archived.", - "type": "boolean" - }, - "deepLinks": { - "description": "Links that will direct the user to a mobile app, if installed.", - "items": { - "$ref": "DeepLink" - }, - "type": "array" - }, - "id": { - "description": "ID of this landing page. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#landingPage\".", - "type": "string" - }, - "name": { - "description": "Name of this landing page. This is a required field. It must be less than 256 characters long.", - "type": "string" - }, - "url": { - "description": "URL of this landing page. This is a required field.", - "type": "string" - } - }, - "type": "object" - }, - "Language": { - "description": "Contains information about a language that can be targeted by ads.", - "id": "Language", - "properties": { - "id": { - "description": "Language ID of this language. This is the ID used for targeting and generating reports.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#language\".", - "type": "string" - }, - "languageCode": { - "description": "Format of language code is an ISO 639 two-letter language code optionally followed by an underscore followed by an ISO 3166 code. Examples are \"en\" for English or \"zh_CN\" for Simplified Chinese.", - "type": "string" - }, - "name": { - "description": "Name of this language.", - "type": "string" - } - }, - "type": "object" - }, - "LanguageTargeting": { - "description": "Language Targeting.", - "id": "LanguageTargeting", - "properties": { - "languages": { - "description": "Languages that this ad targets. For each language only languageId is required. The other fields are populated automatically when the ad is inserted or updated.", - "items": { - "$ref": "Language" - }, - "type": "array" - } - }, - "type": "object" - }, - "LanguagesListResponse": { - "description": "Language List Response", - "id": "LanguagesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#languagesListResponse\".", - "type": "string" - }, - "languages": { - "description": "Language collection.", - "items": { - "$ref": "Language" - }, - "type": "array" - } - }, - "type": "object" - }, - "LastModifiedInfo": { - "description": "Modification timestamp.", - "id": "LastModifiedInfo", - "properties": { - "time": { - "description": "Timestamp of the last change in milliseconds since epoch.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ListPopulationClause": { - "description": "A group clause made up of list population terms representing constraints joined by ORs.", - "id": "ListPopulationClause", - "properties": { - "terms": { - "description": "Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.", - "items": { - "$ref": "ListPopulationTerm" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListPopulationRule": { - "description": "Remarketing List Population Rule.", - "id": "ListPopulationRule", - "properties": { - "floodlightActivityId": { - "description": "Floodlight activity ID associated with this rule. This field can be left blank.", - "format": "int64", - "type": "string" - }, - "floodlightActivityName": { - "description": "Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.", - "type": "string" - }, - "listPopulationClauses": { - "description": "Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.", - "items": { - "$ref": "ListPopulationClause" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListPopulationTerm": { - "description": "Remarketing List Population Rule Term.", - "id": "ListPopulationTerm", - "properties": { - "contains": { - "description": "Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.", - "type": "boolean" - }, - "negation": { - "description": "Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", - "type": "boolean" - }, - "operator": { - "description": "Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", - "enum": [ - "NUM_EQUALS", - "NUM_LESS_THAN", - "NUM_LESS_THAN_EQUAL", - "NUM_GREATER_THAN", - "NUM_GREATER_THAN_EQUAL", - "STRING_EQUALS", - "STRING_CONTAINS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "remarketingListId": { - "description": "ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.", - "enum": [ - "CUSTOM_VARIABLE_TERM", - "LIST_MEMBERSHIP_TERM", - "REFERRER_TERM" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "value": { - "description": "Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", - "type": "string" - }, - "variableFriendlyName": { - "description": "Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.", - "type": "string" - }, - "variableName": { - "description": "Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.", - "type": "string" - } - }, - "type": "object" - }, - "ListTargetingExpression": { - "description": "Remarketing List Targeting Expression.", - "id": "ListTargetingExpression", - "properties": { - "expression": { - "description": "Expression describing which lists are being targeted by the ad.", - "type": "string" - } - }, - "type": "object" - }, - "LookbackConfiguration": { - "description": "Lookback configuration settings.", - "id": "LookbackConfiguration", - "properties": { - "clickDuration": { - "description": "Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.", - "format": "int32", - "type": "integer" - }, - "postImpressionActivitiesDuration": { - "description": "Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Metric": { - "description": "Represents a metric.", - "id": "Metric", - "properties": { - "kind": { - "description": "The kind of resource this is, in this case dfareporting#metric.", - "type": "string" - }, - "name": { - "description": "The metric name, e.g. dfa:impressions", - "type": "string" - } - }, - "type": "object" - }, - "Metro": { - "description": "Contains information about a metro region that can be targeted by ads.", - "id": "Metro", - "properties": { - "countryCode": { - "description": "Country code of the country to which this metro region belongs.", - "type": "string" - }, - "countryDartId": { - "description": "DART ID of the country to which this metro region belongs.", - "format": "int64", - "type": "string" - }, - "dartId": { - "description": "DART ID of this metro region.", - "format": "int64", - "type": "string" - }, - "dmaId": { - "description": "DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#metro\".", - "type": "string" - }, - "metroCode": { - "description": "Metro code of this metro region. This is equivalent to dma_id.", - "type": "string" - }, - "name": { - "description": "Name of this metro region.", - "type": "string" - } - }, - "type": "object" - }, - "MetrosListResponse": { - "description": "Metro List Response", - "id": "MetrosListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#metrosListResponse\".", - "type": "string" - }, - "metros": { - "description": "Metro collection.", - "items": { - "$ref": "Metro" - }, - "type": "array" - } - }, - "type": "object" - }, - "MobileApp": { - "description": "Contains information about a mobile app. Used as a landing page deep link.", - "id": "MobileApp", - "properties": { - "directory": { - "description": "Mobile app directory.", - "enum": [ - "UNKNOWN", - "APPLE_APP_STORE", - "GOOGLE_PLAY_STORE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "id": { - "description": "ID of this mobile app.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileApp\".", - "type": "string" - }, - "publisherName": { - "description": "Publisher name.", - "type": "string" - }, - "title": { - "description": "Title of this mobile app.", - "type": "string" - } - }, - "type": "object" - }, - "MobileAppsListResponse": { - "description": "Mobile app List Response", - "id": "MobileAppsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileAppsListResponse\".", - "type": "string" - }, - "mobileApps": { - "description": "Mobile apps collection.", - "items": { - "$ref": "MobileApp" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - } - }, - "type": "object" - }, - "MobileCarrier": { - "description": "Contains information about a mobile carrier that can be targeted by ads.", - "id": "MobileCarrier", - "properties": { - "countryCode": { - "description": "Country code of the country to which this mobile carrier belongs.", - "type": "string" - }, - "countryDartId": { - "description": "DART ID of the country to which this mobile carrier belongs.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this mobile carrier.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileCarrier\".", - "type": "string" - }, - "name": { - "description": "Name of this mobile carrier.", - "type": "string" - } - }, - "type": "object" - }, - "MobileCarriersListResponse": { - "description": "Mobile Carrier List Response", - "id": "MobileCarriersListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileCarriersListResponse\".", - "type": "string" - }, - "mobileCarriers": { - "description": "Mobile carrier collection.", - "items": { - "$ref": "MobileCarrier" - }, - "type": "array" - } - }, - "type": "object" - }, - "ObaIcon": { - "description": "Online Behavioral Advertiser icon.", - "id": "ObaIcon", - "properties": { - "iconClickThroughUrl": { - "description": "URL to redirect to when an OBA icon is clicked.", - "type": "string" - }, - "iconClickTrackingUrl": { - "description": "URL to track click when an OBA icon is clicked.", - "type": "string" - }, - "iconViewTrackingUrl": { - "description": "URL to track view when an OBA icon is clicked.", - "type": "string" - }, - "program": { - "description": "Identifies the industry initiative that the icon supports. For example, AdChoices.", - "type": "string" - }, - "resourceUrl": { - "description": "OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more", - "type": "string" - }, - "size": { - "$ref": "Size", - "description": "OBA icon size." - }, - "xPosition": { - "description": "OBA icon x coordinate position. Accepted values are left or right.", - "type": "string" - }, - "yPosition": { - "description": "OBA icon y coordinate position. Accepted values are top or bottom.", - "type": "string" - } - }, - "type": "object" - }, - "ObjectFilter": { - "description": "Object Filter.", - "id": "ObjectFilter", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#objectFilter\".", - "type": "string" - }, - "objectIds": { - "description": "Applicable when status is ASSIGNED. The user has access to objects with these object IDs.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "status": { - "description": "Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.", - "enum": [ - "NONE", - "ASSIGNED", - "ALL" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "OffsetPosition": { - "description": "Offset Position.", - "id": "OffsetPosition", - "properties": { - "left": { - "description": "Offset distance from left side of an asset or a window.", - "format": "int32", - "type": "integer" - }, - "top": { - "description": "Offset distance from top side of an asset or a window.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "OmnitureSettings": { - "description": "Omniture Integration Settings.", - "id": "OmnitureSettings", - "properties": { - "omnitureCostDataEnabled": { - "description": "Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true.", - "type": "boolean" - }, - "omnitureIntegrationEnabled": { - "description": "Whether Omniture integration is enabled. This property can be enabled only when the \"Advanced Ad Serving\" account setting is enabled.", - "type": "boolean" - } - }, - "type": "object" - }, - "OperatingSystem": { - "description": "Contains information about an operating system that can be targeted by ads.", - "id": "OperatingSystem", - "properties": { - "dartId": { - "description": "DART ID of this operating system. This is the ID used for targeting.", - "format": "int64", - "type": "string" - }, - "desktop": { - "description": "Whether this operating system is for desktop.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystem\".", - "type": "string" - }, - "mobile": { - "description": "Whether this operating system is for mobile.", - "type": "boolean" - }, - "name": { - "description": "Name of this operating system.", - "type": "string" - } - }, - "type": "object" - }, - "OperatingSystemVersion": { - "description": "Contains information about a particular version of an operating system that can be targeted by ads.", - "id": "OperatingSystemVersion", - "properties": { - "id": { - "description": "ID of this operating system version.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemVersion\".", - "type": "string" - }, - "majorVersion": { - "description": "Major version (leftmost number) of this operating system version.", - "type": "string" - }, - "minorVersion": { - "description": "Minor version (number after the first dot) of this operating system version.", - "type": "string" - }, - "name": { - "description": "Name of this operating system version.", - "type": "string" - }, - "operatingSystem": { - "$ref": "OperatingSystem", - "description": "Operating system of this operating system version." - } - }, - "type": "object" - }, - "OperatingSystemVersionsListResponse": { - "description": "Operating System Version List Response", - "id": "OperatingSystemVersionsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemVersionsListResponse\".", - "type": "string" - }, - "operatingSystemVersions": { - "description": "Operating system version collection.", - "items": { - "$ref": "OperatingSystemVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "OperatingSystemsListResponse": { - "description": "Operating System List Response", - "id": "OperatingSystemsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemsListResponse\".", - "type": "string" - }, - "operatingSystems": { - "description": "Operating system collection.", - "items": { - "$ref": "OperatingSystem" - }, - "type": "array" - } - }, - "type": "object" - }, - "OptimizationActivity": { - "description": "Creative optimization activity.", - "id": "OptimizationActivity", - "properties": { - "floodlightActivityId": { - "description": "Floodlight activity ID of this optimization activity. This is a required field.", - "format": "int64", - "type": "string" - }, - "floodlightActivityIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field." - }, - "weight": { - "description": "Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Order": { - "description": "Describes properties of a Planning order.", - "id": "Order", - "properties": { - "accountId": { - "description": "Account ID of this order.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this order.", - "format": "int64", - "type": "string" - }, - "approverUserProfileIds": { - "description": "IDs for users that have to approve documents created for this order.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "buyerInvoiceId": { - "description": "Buyer invoice ID associated with this order.", - "type": "string" - }, - "buyerOrganizationName": { - "description": "Name of the buyer organization.", - "type": "string" - }, - "comments": { - "description": "Comments in this order.", - "type": "string" - }, - "contacts": { - "description": "Contacts for this order.", - "items": { - "$ref": "OrderContact" - }, - "type": "array" - }, - "id": { - "description": "ID of this order. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#order\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this order." - }, - "name": { - "description": "Name of this order.", - "type": "string" - }, - "notes": { - "description": "Notes of this order.", - "type": "string" - }, - "planningTermId": { - "description": "ID of the terms and conditions template used in this order.", - "format": "int64", - "type": "string" - }, - "projectId": { - "description": "Project ID of this order.", - "format": "int64", - "type": "string" - }, - "sellerOrderId": { - "description": "Seller order ID associated with this order.", - "type": "string" - }, - "sellerOrganizationName": { - "description": "Name of the seller organization.", - "type": "string" - }, - "siteId": { - "description": "Site IDs this order is associated with.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "siteNames": { - "description": "Free-form site names this order is associated with.", - "items": { - "type": "string" - }, - "type": "array" - }, - "subaccountId": { - "description": "Subaccount ID of this order.", - "format": "int64", - "type": "string" - }, - "termsAndConditions": { - "description": "Terms and conditions of this order.", - "type": "string" - } - }, - "type": "object" - }, - "OrderContact": { - "description": "Contact of an order.", - "id": "OrderContact", - "properties": { - "contactInfo": { - "description": "Free-form information about this contact. It could be any information related to this contact in addition to type, title, name, and signature user profile ID.", - "type": "string" - }, - "contactName": { - "description": "Name of this contact.", - "type": "string" - }, - "contactTitle": { - "description": "Title of this contact.", - "type": "string" - }, - "contactType": { - "description": "Type of this contact.", - "enum": [ - "PLANNING_ORDER_CONTACT_BUYER_CONTACT", - "PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT", - "PLANNING_ORDER_CONTACT_SELLER_CONTACT" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "signatureUserProfileId": { - "description": "ID of the user profile containing the signature that will be embedded into order documents.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "OrderDocument": { - "description": "Contains properties of a Planning order document.", - "id": "OrderDocument", - "properties": { - "accountId": { - "description": "Account ID of this order document.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this order document.", - "format": "int64", - "type": "string" - }, - "amendedOrderDocumentId": { - "description": "The amended order document ID of this order document. An order document can be created by optionally amending another order document so that the change history can be preserved.", - "format": "int64", - "type": "string" - }, - "approvedByUserProfileIds": { - "description": "IDs of users who have approved this order document.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "cancelled": { - "description": "Whether this order document is cancelled.", - "type": "boolean" - }, - "createdInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the creation of this order document." - }, - "effectiveDate": { - "format": "date", - "type": "string" - }, - "id": { - "description": "ID of this order document.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#orderDocument\".", - "type": "string" - }, - "lastSentRecipients": { - "description": "List of email addresses that received the last sent document.", - "items": { - "type": "string" - }, - "type": "array" - }, - "lastSentTime": { - "format": "date-time", - "type": "string" - }, - "orderId": { - "description": "ID of the order from which this order document is created.", - "format": "int64", - "type": "string" - }, - "projectId": { - "description": "Project ID of this order document.", - "format": "int64", - "type": "string" - }, - "signed": { - "description": "Whether this order document has been signed.", - "type": "boolean" - }, - "subaccountId": { - "description": "Subaccount ID of this order document.", - "format": "int64", - "type": "string" - }, - "title": { - "description": "Title of this order document.", - "type": "string" - }, - "type": { - "description": "Type of this order document", - "enum": [ - "PLANNING_ORDER_TYPE_INSERTION_ORDER", - "PLANNING_ORDER_TYPE_CHANGE_ORDER" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "OrderDocumentsListResponse": { - "description": "Order document List Response", - "id": "OrderDocumentsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#orderDocumentsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "orderDocuments": { - "description": "Order document collection", - "items": { - "$ref": "OrderDocument" - }, - "type": "array" - } - }, - "type": "object" - }, - "OrdersListResponse": { - "description": "Order List Response", - "id": "OrdersListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#ordersListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "orders": { - "description": "Order collection.", - "items": { - "$ref": "Order" - }, - "type": "array" - } - }, - "type": "object" - }, - "PathFilter": { - "description": "Represents a DfaReporting path filter.", - "id": "PathFilter", - "properties": { - "eventFilters": { - "description": "Event filters in path report.", - "items": { - "$ref": "EventFilter" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#pathFilter.", - "type": "string" - }, - "pathMatchPosition": { - "description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.", - "enum": [ - "PATH_MATCH_POSITION_UNSPECIFIED", - "ANY", - "FIRST", - "LAST" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "PathReportCompatibleFields": { - "description": "Represents fields that are compatible to be selected for a report of type \"PATH\".", - "id": "PathReportCompatibleFields", - "properties": { - "channelGroupings": { - "description": "Dimensions which are compatible to be selected in the \"channelGroupings\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "dimensions": { - "description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#pathReportCompatibleFields.", - "type": "string" - }, - "metrics": { - "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "pathFilters": { - "description": "Dimensions which are compatible to be selected in the \"pathFilters\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - } - }, - "type": "object" - }, - "PathReportDimensionValue": { - "description": "Represents a PathReportDimensionValue resource.", - "id": "PathReportDimensionValue", - "properties": { - "dimensionName": { - "description": "The name of the dimension.", - "type": "string" - }, - "ids": { - "description": "The possible ID's associated with the value if available.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#pathReportDimensionValue.", - "type": "string" - }, - "matchType": { - "description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.", - "enum": [ - "EXACT", - "BEGINS_WITH", - "CONTAINS", - "WILDCARD_EXPRESSION" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "values": { - "description": "The possible values of the dimension.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "PathToConversionReportCompatibleFields": { - "description": "Represents fields that are compatible to be selected for a report of type \"PATH_TO_CONVERSION\".", - "id": "PathToConversionReportCompatibleFields", - "properties": { - "conversionDimensions": { - "description": "Conversion dimensions which are compatible to be selected in the \"conversionDimensions\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "customFloodlightVariables": { - "description": "Custom floodlight variables which are compatible to be selected in the \"customFloodlightVariables\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#pathToConversionReportCompatibleFields.", - "type": "string" - }, - "metrics": { - "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "perInteractionDimensions": { - "description": "Per-interaction dimensions which are compatible to be selected in the \"perInteractionDimensions\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - } - }, - "type": "object" - }, - "Placement": { - "description": "Contains properties of a placement.", - "id": "Placement", - "properties": { - "accountId": { - "description": "Account ID of this placement. This field can be left blank.", - "format": "int64", - "type": "string" - }, - "adBlockingOptOut": { - "description": "Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.", - "type": "boolean" - }, - "additionalSizes": { - "description": "Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.", - "items": { - "$ref": "Size" - }, - "type": "array" - }, - "advertiserId": { - "description": "Advertiser ID of this placement. This field can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "archived": { - "description": "Whether this placement is archived.", - "type": "boolean" - }, - "campaignId": { - "description": "Campaign ID of this placement. This field is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "campaignIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." - }, - "comment": { - "description": "Comments for this placement.", - "type": "string" - }, - "compatibility": { - "description": "Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.", - "enum": [ - "DISPLAY", - "DISPLAY_INTERSTITIAL", - "APP", - "APP_INTERSTITIAL", - "IN_STREAM_VIDEO", - "IN_STREAM_AUDIO" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "contentCategoryId": { - "description": "ID of the content category assigned to this placement.", - "format": "int64", - "type": "string" - }, - "createInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the creation of this placement. This is a read-only field." - }, - "directorySiteId": { - "description": "Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.", - "format": "int64", - "type": "string" - }, - "directorySiteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." - }, - "externalId": { - "description": "External ID for this placement.", - "type": "string" - }, - "id": { - "description": "ID of this placement. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this placement. This is a read-only, auto-generated field." - }, - "keyName": { - "description": "Key name of this placement. This is a read-only, auto-generated field.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placement\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this placement. This is a read-only field." - }, - "lookbackConfiguration": { - "$ref": "LookbackConfiguration", - "description": "Lookback window settings for this placement." - }, - "name": { - "description": "Name of this placement.This is a required field and must be less than or equal to 256 characters long.", - "type": "string" - }, - "paymentApproved": { - "description": "Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.", - "type": "boolean" - }, - "paymentSource": { - "description": "Payment source for this placement. This is a required field that is read-only after insertion.", - "enum": [ - "PLACEMENT_AGENCY_PAID", - "PLACEMENT_PUBLISHER_PAID" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "placementGroupId": { - "description": "ID of this placement's group, if applicable.", - "format": "int64", - "type": "string" - }, - "placementGroupIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the placement group. This is a read-only, auto-generated field." - }, - "placementStrategyId": { - "description": "ID of the placement strategy assigned to this placement.", - "format": "int64", - "type": "string" - }, - "pricingSchedule": { - "$ref": "PricingSchedule", - "description": "Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType." - }, - "primary": { - "description": "Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.", - "type": "boolean" - }, - "publisherUpdateInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the last publisher update. This is a read-only field." - }, - "siteId": { - "description": "Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.", - "format": "int64", - "type": "string" - }, - "siteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." - }, - "size": { - "$ref": "Size", - "description": "Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion." - }, - "sslRequired": { - "description": "Whether creatives assigned to this placement must be SSL-compliant.", - "type": "boolean" - }, - "status": { - "description": "Third-party placement status.", - "enum": [ - "PENDING_REVIEW", - "PAYMENT_ACCEPTED", - "PAYMENT_REJECTED", - "ACKNOWLEDGE_REJECTION", - "ACKNOWLEDGE_ACCEPTANCE", - "DRAFT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this placement. This field can be left blank.", - "format": "int64", - "type": "string" - }, - "tagFormats": { - "description": "Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - \"PLACEMENT_TAG_STANDARD\" - \"PLACEMENT_TAG_IFRAME_JAVASCRIPT\" - \"PLACEMENT_TAG_IFRAME_ILAYER\" - \"PLACEMENT_TAG_INTERNAL_REDIRECT\" - \"PLACEMENT_TAG_JAVASCRIPT\" - \"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT\" - \"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT\" - \"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT\" - \"PLACEMENT_TAG_CLICK_COMMANDS\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4\" - \"PLACEMENT_TAG_TRACKING\" - \"PLACEMENT_TAG_TRACKING_IFRAME\" - \"PLACEMENT_TAG_TRACKING_JAVASCRIPT\" ", - "items": { - "enum": [ - "PLACEMENT_TAG_STANDARD", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_IFRAME_ILAYER", - "PLACEMENT_TAG_INTERNAL_REDIRECT", - "PLACEMENT_TAG_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", - "PLACEMENT_TAG_CLICK_COMMANDS", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", - "PLACEMENT_TAG_TRACKING", - "PLACEMENT_TAG_TRACKING_IFRAME", - "PLACEMENT_TAG_TRACKING_JAVASCRIPT", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", - "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "tagSetting": { - "$ref": "TagSetting", - "description": "Tag settings for this placement." - }, - "videoActiveViewOptOut": { - "description": "Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.", - "type": "boolean" - }, - "videoSettings": { - "$ref": "VideoSettings", - "description": "A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility." - }, - "vpaidAdapterChoice": { - "description": "VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.", - "enum": [ - "DEFAULT", - "FLASH", - "HTML5", - "BOTH" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "PlacementAssignment": { - "description": "Placement Assignment.", - "id": "PlacementAssignment", - "properties": { - "active": { - "description": "Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.", - "type": "boolean" - }, - "placementId": { - "description": "ID of the placement to be assigned. This is a required field.", - "format": "int64", - "type": "string" - }, - "placementIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the placement. This is a read-only, auto-generated field." - }, - "sslRequired": { - "description": "Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.", - "type": "boolean" - } - }, - "type": "object" - }, - "PlacementGroup": { - "description": "Contains properties of a package or roadblock.", - "id": "PlacementGroup", - "properties": { - "accountId": { - "description": "Account ID of this placement group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this placement group. This is a required field on insertion.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "archived": { - "description": "Whether this placement group is archived.", - "type": "boolean" - }, - "campaignId": { - "description": "Campaign ID of this placement group. This field is required on insertion.", - "format": "int64", - "type": "string" - }, - "campaignIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." - }, - "childPlacementIds": { - "description": "IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "comment": { - "description": "Comments for this placement group.", - "type": "string" - }, - "contentCategoryId": { - "description": "ID of the content category assigned to this placement group.", - "format": "int64", - "type": "string" - }, - "createInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the creation of this placement group. This is a read-only field." - }, - "directorySiteId": { - "description": "Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.", - "format": "int64", - "type": "string" - }, - "directorySiteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." - }, - "externalId": { - "description": "External ID for this placement.", - "type": "string" - }, - "id": { - "description": "ID of this placement group. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this placement group. This is a read-only, auto-generated field." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementGroup\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this placement group. This is a read-only field." - }, - "name": { - "description": "Name of this placement group. This is a required field and must be less than 256 characters long.", - "type": "string" - }, - "placementGroupType": { - "description": "Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.", - "enum": [ - "PLACEMENT_PACKAGE", - "PLACEMENT_ROADBLOCK" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "placementStrategyId": { - "description": "ID of the placement strategy assigned to this placement group.", - "format": "int64", - "type": "string" - }, - "pricingSchedule": { - "$ref": "PricingSchedule", - "description": "Pricing schedule of this placement group. This field is required on insertion." - }, - "primaryPlacementId": { - "description": "ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.", - "format": "int64", - "type": "string" - }, - "primaryPlacementIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the primary placement. This is a read-only, auto-generated field." - }, - "siteId": { - "description": "Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.", - "format": "int64", - "type": "string" - }, - "siteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." - }, - "subaccountId": { - "description": "Subaccount ID of this placement group. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "PlacementGroupsListResponse": { - "description": "Placement Group List Response", - "id": "PlacementGroupsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementGroupsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "placementGroups": { - "description": "Placement group collection.", - "items": { - "$ref": "PlacementGroup" - }, - "type": "array" - } - }, - "type": "object" - }, - "PlacementStrategiesListResponse": { - "description": "Placement Strategy List Response", - "id": "PlacementStrategiesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementStrategiesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "placementStrategies": { - "description": "Placement strategy collection.", - "items": { - "$ref": "PlacementStrategy" - }, - "type": "array" - } - }, - "type": "object" - }, - "PlacementStrategy": { - "description": "Contains properties of a placement strategy.", - "id": "PlacementStrategy", - "properties": { - "accountId": { - "description": "Account ID of this placement strategy.This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this placement strategy. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementStrategy\".", - "type": "string" - }, - "name": { - "description": "Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.", - "type": "string" - } - }, - "type": "object" - }, - "PlacementTag": { - "description": "Placement Tag", - "id": "PlacementTag", - "properties": { - "placementId": { - "description": "Placement ID", - "format": "int64", - "type": "string" - }, - "tagDatas": { - "description": "Tags generated for this placement.", - "items": { - "$ref": "TagData" - }, - "type": "array" - } - }, - "type": "object" - }, - "PlacementsGenerateTagsResponse": { - "description": "Placement GenerateTags Response", - "id": "PlacementsGenerateTagsResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementsGenerateTagsResponse\".", - "type": "string" - }, - "placementTags": { - "description": "Set of generated tags for the specified placements.", - "items": { - "$ref": "PlacementTag" - }, - "type": "array" - } - }, - "type": "object" - }, - "PlacementsListResponse": { - "description": "Placement List Response", - "id": "PlacementsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "placements": { - "description": "Placement collection.", - "items": { - "$ref": "Placement" - }, - "type": "array" - } - }, - "type": "object" - }, - "PlatformType": { - "description": "Contains information about a platform type that can be targeted by ads.", - "id": "PlatformType", - "properties": { - "id": { - "description": "ID of this platform type.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#platformType\".", - "type": "string" - }, - "name": { - "description": "Name of this platform type.", - "type": "string" - } - }, - "type": "object" - }, - "PlatformTypesListResponse": { - "description": "Platform Type List Response", - "id": "PlatformTypesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#platformTypesListResponse\".", - "type": "string" - }, - "platformTypes": { - "description": "Platform type collection.", - "items": { - "$ref": "PlatformType" - }, - "type": "array" - } - }, - "type": "object" - }, - "PopupWindowProperties": { - "description": "Popup Window Properties.", - "id": "PopupWindowProperties", - "properties": { - "dimension": { - "$ref": "Size", - "description": "Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID" - }, - "offset": { - "$ref": "OffsetPosition", - "description": "Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES." - }, - "positionType": { - "description": "Popup window position either centered or at specific coordinate.", - "enum": [ - "CENTER", - "COORDINATES" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "showAddressBar": { - "description": "Whether to display the browser address bar.", - "type": "boolean" - }, - "showMenuBar": { - "description": "Whether to display the browser menu bar.", - "type": "boolean" - }, - "showScrollBar": { - "description": "Whether to display the browser scroll bar.", - "type": "boolean" - }, - "showStatusBar": { - "description": "Whether to display the browser status bar.", - "type": "boolean" - }, - "showToolBar": { - "description": "Whether to display the browser tool bar.", - "type": "boolean" - }, - "title": { - "description": "Title of popup window.", - "type": "string" - } - }, - "type": "object" - }, - "PostalCode": { - "description": "Contains information about a postal code that can be targeted by ads.", - "id": "PostalCode", - "properties": { - "code": { - "description": "Postal code. This is equivalent to the id field.", - "type": "string" - }, - "countryCode": { - "description": "Country code of the country to which this postal code belongs.", - "type": "string" - }, - "countryDartId": { - "description": "DART ID of the country to which this postal code belongs.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "ID of this postal code.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#postalCode\".", - "type": "string" - } - }, - "type": "object" - }, - "PostalCodesListResponse": { - "description": "Postal Code List Response", - "id": "PostalCodesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#postalCodesListResponse\".", - "type": "string" - }, - "postalCodes": { - "description": "Postal code collection.", - "items": { - "$ref": "PostalCode" - }, - "type": "array" - } - }, - "type": "object" - }, - "Pricing": { - "description": "Pricing Information", - "id": "Pricing", - "properties": { - "capCostType": { - "description": "Cap cost type of this inventory item.", - "enum": [ - "PLANNING_PLACEMENT_CAP_COST_TYPE_NONE", - "PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY", - "PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "endDate": { - "format": "date", - "type": "string" - }, - "flights": { - "description": "Flights of this inventory item. A flight (a.k.a. pricing period) represents the inventory item pricing information for a specific period of time.", - "items": { - "$ref": "Flight" - }, - "type": "array" - }, - "groupType": { - "description": "Group type of this inventory item if it represents a placement group. Is null otherwise. There are two type of placement groups: PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of inventory items that acts as a single pricing point for a group of tags. PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory items that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned inventory items to be marked as primary.", - "enum": [ - "PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE", - "PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "pricingType": { - "description": "Pricing type of this inventory item.", - "enum": [ - "PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS", - "PLANNING_PLACEMENT_PRICING_TYPE_CPM", - "PLANNING_PLACEMENT_PRICING_TYPE_CLICKS", - "PLANNING_PLACEMENT_PRICING_TYPE_CPC", - "PLANNING_PLACEMENT_PRICING_TYPE_CPA", - "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_IMPRESSIONS", - "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_CLICKS", - "PLANNING_PLACEMENT_PRICING_TYPE_CPM_ACTIVEVIEW" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - } - }, - "type": "object" - }, - "PricingSchedule": { - "description": "Pricing Schedule", - "id": "PricingSchedule", - "properties": { - "capCostOption": { - "description": "Placement cap cost option.", - "enum": [ - "CAP_COST_NONE", - "CAP_COST_MONTHLY", - "CAP_COST_CUMULATIVE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "endDate": { - "format": "date", - "type": "string" - }, - "flighted": { - "description": "Whether this placement is flighted. If true, pricing periods will be computed automatically.", - "type": "boolean" - }, - "floodlightActivityId": { - "description": "Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.", - "format": "int64", - "type": "string" - }, - "pricingPeriods": { - "description": "Pricing periods for this placement.", - "items": { - "$ref": "PricingSchedulePricingPeriod" - }, - "type": "array" - }, - "pricingType": { - "description": "Placement pricing type. This field is required on insertion.", - "enum": [ - "PRICING_TYPE_CPM", - "PRICING_TYPE_CPC", - "PRICING_TYPE_CPA", - "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", - "PRICING_TYPE_FLAT_RATE_CLICKS", - "PRICING_TYPE_CPM_ACTIVEVIEW" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - }, - "testingStartDate": { - "format": "date", - "type": "string" - } - }, - "type": "object" - }, - "PricingSchedulePricingPeriod": { - "description": "Pricing Period", - "id": "PricingSchedulePricingPeriod", - "properties": { - "endDate": { - "format": "date", - "type": "string" - }, - "pricingComment": { - "description": "Comments for this pricing period.", - "type": "string" - }, - "rateOrCostNanos": { - "description": "Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.", - "format": "int64", - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - }, - "units": { - "description": "Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Project": { - "description": "Contains properties of a Planning project.", - "id": "Project", - "properties": { - "accountId": { - "description": "Account ID of this project.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this project.", - "format": "int64", - "type": "string" - }, - "audienceAgeGroup": { - "description": "Audience age group of this project.", - "enum": [ - "PLANNING_AUDIENCE_AGE_18_24", - "PLANNING_AUDIENCE_AGE_25_34", - "PLANNING_AUDIENCE_AGE_35_44", - "PLANNING_AUDIENCE_AGE_45_54", - "PLANNING_AUDIENCE_AGE_55_64", - "PLANNING_AUDIENCE_AGE_65_OR_MORE", - "PLANNING_AUDIENCE_AGE_UNKNOWN" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "audienceGender": { - "description": "Audience gender of this project.", - "enum": [ - "PLANNING_AUDIENCE_GENDER_MALE", - "PLANNING_AUDIENCE_GENDER_FEMALE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "budget": { - "description": "Budget of this project in the currency specified by the current account. The value stored in this field represents only the non-fractional amount. For example, for USD, the smallest value that can be represented by this field is 1 US dollar.", - "format": "int64", - "type": "string" - }, - "clientBillingCode": { - "description": "Client billing code of this project.", - "type": "string" - }, - "clientName": { - "description": "Name of the project client.", - "type": "string" - }, - "endDate": { - "format": "date", - "type": "string" - }, - "id": { - "description": "ID of this project. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#project\".", - "type": "string" - }, - "lastModifiedInfo": { - "$ref": "LastModifiedInfo", - "description": "Information about the most recent modification of this project." - }, - "name": { - "description": "Name of this project.", - "type": "string" - }, - "overview": { - "description": "Overview of this project.", - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this project.", - "format": "int64", - "type": "string" - }, - "targetClicks": { - "description": "Number of clicks that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetConversions": { - "description": "Number of conversions that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetCpaNanos": { - "description": "CPA that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetCpcNanos": { - "description": "CPC that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetCpmActiveViewNanos": { - "description": "vCPM from Active View that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetCpmNanos": { - "description": "CPM that the advertiser is targeting.", - "format": "int64", - "type": "string" - }, - "targetImpressions": { - "description": "Number of impressions that the advertiser is targeting.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ProjectsListResponse": { - "description": "Project List Response", - "id": "ProjectsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#projectsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "projects": { - "description": "Project collection.", - "items": { - "$ref": "Project" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReachReportCompatibleFields": { - "description": "Represents fields that are compatible to be selected for a report of type \"REACH\".", - "id": "ReachReportCompatibleFields", - "properties": { - "dimensionFilters": { - "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "dimensions": { - "description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#reachReportCompatibleFields.", - "type": "string" - }, - "metrics": { - "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "pivotedActivityMetrics": { - "description": "Metrics which are compatible to be selected as activity metrics to pivot on in the \"activities\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "reachByFrequencyMetrics": { - "description": "Metrics which are compatible to be selected in the \"reachByFrequencyMetricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - } - }, - "type": "object" - }, - "Recipient": { - "description": "Represents a recipient.", - "id": "Recipient", - "properties": { - "deliveryType": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "The delivery type for the recipient.", - "enum": [ - "LINK", - "ATTACHMENT" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "email": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "The email address of the recipient.", - "type": "string" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#recipient.", - "type": "string" - } - }, - "type": "object" - }, - "Region": { - "description": "Contains information about a region that can be targeted by ads.", - "id": "Region", - "properties": { - "countryCode": { - "description": "Country code of the country to which this region belongs.", - "type": "string" - }, - "countryDartId": { - "description": "DART ID of the country to which this region belongs.", - "format": "int64", - "type": "string" - }, - "dartId": { - "description": "DART ID of this region.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#region\".", - "type": "string" - }, - "name": { - "description": "Name of this region.", - "type": "string" - }, - "regionCode": { - "description": "Region code.", - "type": "string" - } - }, - "type": "object" - }, - "RegionsListResponse": { - "description": "Region List Response", - "id": "RegionsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#regionsListResponse\".", - "type": "string" - }, - "regions": { - "description": "Region collection.", - "items": { - "$ref": "Region" - }, - "type": "array" - } - }, - "type": "object" - }, - "RemarketingList": { - "description": "Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.", - "id": "RemarketingList", - "properties": { - "accountId": { - "description": "Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", - "format": "int64", - "type": "string" - }, - "active": { - "description": "Whether this remarketing list is active.", - "type": "boolean" - }, - "advertiserId": { - "description": "Dimension value for the advertiser ID that owns this remarketing list. This is a required field.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "description": { - "description": "Remarketing list description.", - "type": "string" - }, - "id": { - "description": "Remarketing list ID. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingList\".", - "type": "string" - }, - "lifeSpan": { - "description": "Number of days that a user should remain in the remarketing list without an impression. Acceptable values are 1 to 540, inclusive.", - "format": "int64", - "type": "string" - }, - "listPopulationRule": { - "$ref": "ListPopulationRule", - "description": "Rule used to populate the remarketing list with users." - }, - "listSize": { - "description": "Number of users currently in the list. This is a read-only field.", - "format": "int64", - "type": "string" - }, - "listSource": { - "description": "Product from which this remarketing list was originated.", - "enum": [ - "REMARKETING_LIST_SOURCE_OTHER", - "REMARKETING_LIST_SOURCE_ADX", - "REMARKETING_LIST_SOURCE_DFP", - "REMARKETING_LIST_SOURCE_XFP", - "REMARKETING_LIST_SOURCE_DFA", - "REMARKETING_LIST_SOURCE_GA", - "REMARKETING_LIST_SOURCE_YOUTUBE", - "REMARKETING_LIST_SOURCE_DBM", - "REMARKETING_LIST_SOURCE_GPLUS", - "REMARKETING_LIST_SOURCE_DMP", - "REMARKETING_LIST_SOURCE_PLAY_STORE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "name": { - "description": "Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "RemarketingListShare": { - "description": "Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.", - "id": "RemarketingListShare", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingListShare\".", - "type": "string" - }, - "remarketingListId": { - "description": "Remarketing list ID. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "sharedAccountIds": { - "description": "Accounts that the remarketing list is shared with.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "sharedAdvertiserIds": { - "description": "Advertisers that the remarketing list is shared with.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "RemarketingListsListResponse": { - "description": "Remarketing list response", - "id": "RemarketingListsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingListsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "remarketingLists": { - "description": "Remarketing list collection.", - "items": { - "$ref": "RemarketingList" - }, - "type": "array" - } - }, - "type": "object" - }, - "Report": { - "description": "Represents a Report resource.", - "id": "Report", - "properties": { - "accountId": { - "annotations": { - "required": [ - "dfareporting.reports.update" - ] - }, - "description": "The account ID to which this report belongs.", - "format": "int64", - "type": "string" - }, - "criteria": { - "description": "The report criteria for a report of type \"STANDARD\".", - "properties": { - "activities": { - "$ref": "Activities", - "description": "Activity group." - }, - "customRichMediaEvents": { - "$ref": "CustomRichMediaEvents", - "description": "Custom Rich Media Events group." - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range for which this report should be run." - }, - "dimensionFilters": { - "description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "dimensions": { - "description": "The list of standard dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "crossDimensionReachCriteria": { - "description": "The report criteria for a report of type \"CROSS_DIMENSION_REACH\".", - "properties": { - "breakdown": { - "description": "The list of dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range this report should be run for." - }, - "dimension": { - "description": "The dimension option.", - "enum": [ - "ADVERTISER", - "CAMPAIGN", - "SITE_BY_ADVERTISER", - "SITE_BY_CAMPAIGN" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "dimensionFilters": { - "description": "The list of filters on which dimensions are filtered.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "overlapMetricNames": { - "description": "The list of names of overlap metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "pivoted": { - "description": "Whether the report is pivoted or not. Defaults to true.", - "type": "boolean" - } - }, - "type": "object" - }, - "delivery": { - "description": "The report's email delivery settings.", - "properties": { - "emailOwner": { - "description": "Whether the report should be emailed to the report owner.", - "type": "boolean" - }, - "emailOwnerDeliveryType": { - "description": "The type of delivery for the owner to receive, if enabled.", - "enum": [ - "LINK", - "ATTACHMENT" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "message": { - "description": "The message to be sent with each email.", - "type": "string" - }, - "recipients": { - "description": "The list of recipients to which to email the report.", - "items": { - "$ref": "Recipient" - }, - "type": "array" - } - }, - "type": "object" - }, - "etag": { - "description": "The eTag of this response for caching purposes.", - "type": "string" - }, - "fileName": { - "description": "The filename used when generating report files for this report.", - "type": "string" - }, - "floodlightCriteria": { - "description": "The report criteria for a report of type \"FLOODLIGHT\".", - "properties": { - "customRichMediaEvents": { - "description": "The list of custom rich media events to include.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range this report should be run for." - }, - "dimensionFilters": { - "description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "dimensions": { - "description": "The list of dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "floodlightConfigId": { - "$ref": "DimensionValue", - "description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reportProperties": { - "description": "The properties of the report.", - "properties": { - "includeAttributedIPConversions": { - "description": "Include conversions that have no cookie, but do have an exposure path.", - "type": "boolean" - }, - "includeUnattributedCookieConversions": { - "description": "Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.", - "type": "boolean" - }, - "includeUnattributedIPConversions": { - "description": "Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.", - "type": "boolean" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "format": { - "description": "The output format of the report. If not specified, default format is \"CSV\". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. \"CSV\" will then be the fallback format.", - "enum": [ - "CSV", - "EXCEL" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "id": { - "annotations": { - "required": [ - "dfareporting.reports.update" - ] - }, - "description": "The unique ID identifying this report resource.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#report.", - "type": "string" - }, - "lastModifiedTime": { - "annotations": { - "required": [ - "dfareporting.reports.update" - ] - }, - "description": "The timestamp (in milliseconds since epoch) of when this report was last modified.", - "format": "uint64", - "type": "string" - }, - "name": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "The name of the report.", - "type": "string" - }, - "ownerProfileId": { - "annotations": { - "required": [ - "dfareporting.reports.update" - ] - }, - "description": "The user profile id of the owner of this report.", - "format": "int64", - "type": "string" - }, - "pathAttributionCriteria": { - "description": "The report criteria for a report of type \"PATH_ATTRIBUTION\".", - "properties": { - "activityFilters": { - "description": "The list of 'dfa:activity' values to filter on.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "customChannelGrouping": { - "$ref": "ChannelGrouping", - "description": "Channel Grouping." - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range this report should be run for." - }, - "dimensions": { - "description": "The list of dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "floodlightConfigId": { - "$ref": "DimensionValue", - "description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "pathFilters": { - "description": "Path Filters.", - "items": { - "$ref": "PathFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "pathCriteria": { - "description": "The report criteria for a report of type \"PATH\".", - "properties": { - "activityFilters": { - "description": "The list of 'dfa:activity' values to filter on.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "customChannelGrouping": { - "$ref": "ChannelGrouping", - "description": "Channel Grouping." - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range this report should be run for." - }, - "dimensions": { - "description": "The list of dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "floodlightConfigId": { - "$ref": "DimensionValue", - "description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "pathFilters": { - "description": "Path Filters.", - "items": { - "$ref": "PathFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "pathToConversionCriteria": { - "description": "The report criteria for a report of type \"PATH_TO_CONVERSION\".", - "properties": { - "activityFilters": { - "description": "The list of 'dfa:activity' values to filter on.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "conversionDimensions": { - "description": "The list of conversion dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "customFloodlightVariables": { - "description": "The list of custom floodlight variables the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "customRichMediaEvents": { - "description": "The list of custom rich media events to include.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range this report should be run for." - }, - "floodlightConfigId": { - "$ref": "DimensionValue", - "description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "perInteractionDimensions": { - "description": "The list of per interaction dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "reportProperties": { - "description": "The properties of the report.", - "properties": { - "clicksLookbackWindow": { - "description": "CM360 checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.", - "format": "int32", - "type": "integer" - }, - "impressionsLookbackWindow": { - "description": "CM360 checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.", - "format": "int32", - "type": "integer" - }, - "includeAttributedIPConversions": { - "description": "Deprecated: has no effect.", - "type": "boolean" - }, - "includeUnattributedCookieConversions": { - "description": "Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.", - "type": "boolean" - }, - "includeUnattributedIPConversions": { - "description": "Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.", - "type": "boolean" - }, - "maximumClickInteractions": { - "description": "The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.", - "format": "int32", - "type": "integer" - }, - "maximumImpressionInteractions": { - "description": "The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.", - "format": "int32", - "type": "integer" - }, - "maximumInteractionGap": { - "description": "The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.", - "format": "int32", - "type": "integer" - }, - "pivotOnInteractionPath": { - "description": "Enable pivoting on interaction path.", - "type": "boolean" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "reachCriteria": { - "description": "The report criteria for a report of type \"REACH\".", - "properties": { - "activities": { - "$ref": "Activities", - "description": "Activity group." - }, - "customRichMediaEvents": { - "$ref": "CustomRichMediaEvents", - "description": "Custom Rich Media Events group." - }, - "dateRange": { - "$ref": "DateRange", - "description": "The date range this report should be run for." - }, - "dimensionFilters": { - "description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", - "items": { - "$ref": "DimensionValue" - }, - "type": "array" - }, - "dimensions": { - "description": "The list of dimensions the report should include.", - "items": { - "$ref": "SortedDimension" - }, - "type": "array" - }, - "enableAllDimensionCombinations": { - "description": "Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last 42 days.", - "type": "boolean" - }, - "metricNames": { - "description": "The list of names of metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - }, - "reachByFrequencyMetricNames": { - "description": "The list of names of Reach By Frequency metrics the report should include.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "schedule": { - "description": "The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not \"TODAY\".", - "properties": { - "active": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "Whether the schedule is active or not. Must be set to either true or false.", - "type": "boolean" - }, - "every": { - "description": "Defines every how many days, weeks or months the report should be run. Needs to be set when \"repeats\" is either \"DAILY\", \"WEEKLY\" or \"MONTHLY\".", - "format": "int32", - "type": "integer" - }, - "expirationDate": { - "format": "date", - "type": "string" - }, - "repeats": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "The interval for which the report is repeated. Note: - \"DAILY\" also requires field \"every\" to be set. - \"WEEKLY\" also requires fields \"every\" and \"repeatsOnWeekDays\" to be set. - \"MONTHLY\" also requires fields \"every\" and \"runsOnDayOfMonth\" to be set. ", - "type": "string" - }, - "repeatsOnWeekDays": { - "description": "List of week days \"WEEKLY\" on which scheduled reports should run.", - "items": { - "enum": [ - "SUNDAY", - "MONDAY", - "TUESDAY", - "WEDNESDAY", - "THURSDAY", - "FRIDAY", - "SATURDAY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "runsOnDayOfMonth": { - "description": "Enum to define for \"MONTHLY\" scheduled reports whether reports should be repeated on the same day of the month as \"startDate\" or the same day of the week of the month. Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), \"DAY_OF_MONTH\" would run subsequent reports on the 2nd of every Month, and \"WEEK_OF_MONTH\" would run subsequent reports on the first Monday of the month.", - "enum": [ - "DAY_OF_MONTH", - "WEEK_OF_MONTH" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "startDate": { - "format": "date", - "type": "string" - } - }, - "type": "object" - }, - "subAccountId": { - "description": "The subaccount ID to which this report belongs if applicable.", - "format": "int64", - "type": "string" - }, - "type": { - "annotations": { - "required": [ - "dfareporting.reports.insert", - "dfareporting.reports.update" - ] - }, - "description": "The type of the report.", - "enum": [ - "STANDARD", - "REACH", - "PATH_TO_CONVERSION", - "CROSS_DIMENSION_REACH", - "FLOODLIGHT", - "PATH", - "PATH_ATTRIBUTION" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "ReportCompatibleFields": { - "description": "Represents fields that are compatible to be selected for a report of type \"STANDARD\".", - "id": "ReportCompatibleFields", - "properties": { - "dimensionFilters": { - "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "dimensions": { - "description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", - "items": { - "$ref": "Dimension" - }, - "type": "array" - }, - "kind": { - "description": "The kind of resource this is, in this case dfareporting#reportCompatibleFields.", - "type": "string" - }, - "metrics": { - "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - }, - "pivotedActivityMetrics": { - "description": "Metrics which are compatible to be selected as activity metrics to pivot on in the \"activities\" section of the report.", - "items": { - "$ref": "Metric" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReportList": { - "description": "Represents the list of reports.", - "id": "ReportList", - "properties": { - "etag": { - "description": "The eTag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The reports returned in this response.", - "items": { - "$ref": "Report" - }, - "type": "array" - }, - "kind": { - "description": "The kind of list this is, in this case dfareporting#reportList.", - "type": "string" - }, - "nextPageToken": { - "description": "Continuation token used to page through reports. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", - "type": "string" - } - }, - "type": "object" - }, - "ReportsConfiguration": { - "description": "Reporting Configuration", - "id": "ReportsConfiguration", - "properties": { - "exposureToConversionEnabled": { - "description": "Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.", - "type": "boolean" - }, - "lookbackConfiguration": { - "$ref": "LookbackConfiguration", - "description": "Default lookback windows for new advertisers in this account." - }, - "reportGenerationTimeZoneId": { - "description": "Report generation time zone ID of this account. This is a required field that can only be changed by a superuser. Acceptable values are: - \"1\" for \"America/New_York\" - \"2\" for \"Europe/London\" - \"3\" for \"Europe/Paris\" - \"4\" for \"Africa/Johannesburg\" - \"5\" for \"Asia/Jerusalem\" - \"6\" for \"Asia/Shanghai\" - \"7\" for \"Asia/Hong_Kong\" - \"8\" for \"Asia/Tokyo\" - \"9\" for \"Australia/Sydney\" - \"10\" for \"Asia/Dubai\" - \"11\" for \"America/Los_Angeles\" - \"12\" for \"Pacific/Auckland\" - \"13\" for \"America/Sao_Paulo\" - \"16\" for \"America/Asuncion\" - \"17\" for \"America/Chicago\" - \"18\" for \"America/Denver\" - \"19\" for \"America/St_Johns\" - \"20\" for \"Asia/Dhaka\" - \"21\" for \"Asia/Jakarta\" - \"22\" for \"Asia/Kabul\" - \"23\" for \"Asia/Karachi\" - \"24\" for \"Asia/Calcutta\" - \"25\" for \"Asia/Pyongyang\" - \"26\" for \"Asia/Rangoon\" - \"27\" for \"Atlantic/Cape_Verde\" - \"28\" for \"Atlantic/South_Georgia\" - \"29\" for \"Australia/Adelaide\" - \"30\" for \"Australia/Lord_Howe\" - \"31\" for \"Europe/Moscow\" - \"32\" for \"Pacific/Kiritimati\" - \"35\" for \"Pacific/Norfolk\" - \"36\" for \"Pacific/Tongatapu\" ", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "RichMediaExitOverride": { - "description": "Rich Media Exit Override.", - "id": "RichMediaExitOverride", - "properties": { - "clickThroughUrl": { - "$ref": "ClickThroughUrl", - "description": "Click-through URL of this rich media exit override. Applicable if the enabled field is set to true." - }, - "enabled": { - "description": "Whether to use the clickThroughUrl. If false, the creative-level exit will be used.", - "type": "boolean" - }, - "exitId": { - "description": "ID for the override to refer to a specific exit in the creative.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Rule": { - "description": "A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives.", - "id": "Rule", - "properties": { - "assetId": { - "description": "A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "A user-friendly name for this rule. This is a required field.", - "type": "string" - }, - "targetingTemplateId": { - "description": "A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Site": { - "description": "Contains properties of a site.", - "id": "Site", - "properties": { - "accountId": { - "description": "Account ID of this site. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "approved": { - "description": "Whether this site is approved.", - "type": "boolean" - }, - "directorySiteId": { - "description": "Directory site associated with this site. This is a required field that is read-only after insertion.", - "format": "int64", - "type": "string" - }, - "directorySiteIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." - }, - "id": { - "description": "ID of this site. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "idDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of this site. This is a read-only, auto-generated field." - }, - "keyName": { - "description": "Key name of this site. This is a read-only, auto-generated field.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#site\".", - "type": "string" - }, - "name": { - "description": "Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.", - "type": "string" - }, - "siteContacts": { - "description": "Site contacts.", - "items": { - "$ref": "SiteContact" - }, - "type": "array" - }, - "siteSettings": { - "$ref": "SiteSettings", - "description": "Site-wide settings." - }, - "subaccountId": { - "description": "Subaccount ID of this site. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "videoSettings": { - "$ref": "SiteVideoSettings", - "description": "Default video settings for new placements created under this site. This value will be used to populate the placements.videoSettings field, when no value is specified for the new placement." - } - }, - "type": "object" - }, - "SiteCompanionSetting": { - "description": "Companion Settings", - "id": "SiteCompanionSetting", - "properties": { - "companionsDisabled": { - "description": "Whether companions are disabled for this site template.", - "type": "boolean" - }, - "enabledSizes": { - "description": "Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.", - "items": { - "$ref": "Size" - }, - "type": "array" - }, - "imageOnly": { - "description": "Whether to serve only static images as companions.", - "type": "boolean" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteCompanionSetting\".", - "type": "string" - } - }, - "type": "object" - }, - "SiteContact": { - "description": "Site Contact", - "id": "SiteContact", - "properties": { - "address": { - "description": "Address of this site contact.", - "type": "string" - }, - "contactType": { - "description": "Site contact type.", - "enum": [ - "SALES_PERSON", - "TRAFFICKER" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "email": { - "description": "Email address of this site contact. This is a required field.", - "type": "string" - }, - "firstName": { - "description": "First name of this site contact.", - "type": "string" - }, - "id": { - "description": "ID of this site contact. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "lastName": { - "description": "Last name of this site contact.", - "type": "string" - }, - "phone": { - "description": "Primary phone number of this site contact.", - "type": "string" - }, - "title": { - "description": "Title or designation of this site contact.", - "type": "string" - } - }, - "type": "object" - }, - "SiteSettings": { - "description": "Site Settings", - "id": "SiteSettings", - "properties": { - "activeViewOptOut": { - "description": "Whether active view creatives are disabled for this site.", - "type": "boolean" - }, - "adBlockingOptOut": { - "description": "Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect.", - "type": "boolean" - }, - "disableNewCookie": { - "description": "Whether new cookies are disabled for this site.", - "type": "boolean" - }, - "tagSetting": { - "$ref": "TagSetting", - "description": "Configuration settings for dynamic and image floodlight tags." - }, - "videoActiveViewOptOutTemplate": { - "description": "Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement.", - "type": "boolean" - }, - "vpaidAdapterChoiceTemplate": { - "description": "Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.", - "enum": [ - "DEFAULT", - "FLASH", - "HTML5", - "BOTH" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "SiteSkippableSetting": { - "description": "Skippable Settings", - "id": "SiteSkippableSetting", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteSkippableSetting\".", - "type": "string" - }, - "progressOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true." - }, - "skipOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true." - }, - "skippable": { - "description": "Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.", - "type": "boolean" - } - }, - "type": "object" - }, - "SiteTranscodeSetting": { - "description": "Transcode Settings", - "id": "SiteTranscodeSetting", - "properties": { - "enabledVideoFormats": { - "description": "Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteTranscodeSetting\".", - "type": "string" - } - }, - "type": "object" - }, - "SiteVideoSettings": { - "description": "Video Settings", - "id": "SiteVideoSettings", - "properties": { - "companionSettings": { - "$ref": "SiteCompanionSetting", - "description": "Settings for the companion creatives of video creatives served to this site." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteVideoSettings\".", - "type": "string" - }, - "obaEnabled": { - "description": "Whether OBA icons are enabled for this placement.", - "type": "boolean" - }, - "obaSettings": { - "$ref": "ObaIcon", - "description": "Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site." - }, - "orientation": { - "description": "Orientation of a site template used for video. This will act as default for new placements created under this site.", - "enum": [ - "ANY", - "LANDSCAPE", - "PORTRAIT" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "skippableSettings": { - "$ref": "SiteSkippableSetting", - "description": "Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site." - }, - "transcodeSettings": { - "$ref": "SiteTranscodeSetting", - "description": "Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site." - } - }, - "type": "object" - }, - "SitesListResponse": { - "description": "Site List Response", - "id": "SitesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#sitesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "sites": { - "description": "Site collection.", - "items": { - "$ref": "Site" - }, - "type": "array" - } - }, - "type": "object" - }, - "Size": { - "description": "Represents the dimensions of ads, placements, creatives, or creative assets.", - "id": "Size", - "properties": { - "height": { - "description": "Height of this size. Acceptable values are 0 to 32767, inclusive.", - "format": "int32", - "type": "integer" - }, - "iab": { - "description": "IAB standard size. This is a read-only, auto-generated field.", - "type": "boolean" - }, - "id": { - "description": "ID of this size. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#size\".", - "type": "string" - }, - "width": { - "description": "Width of this size. Acceptable values are 0 to 32767, inclusive.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "SizesListResponse": { - "description": "Size List Response", - "id": "SizesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#sizesListResponse\".", - "type": "string" - }, - "sizes": { - "description": "Size collection.", - "items": { - "$ref": "Size" - }, - "type": "array" - } - }, - "type": "object" - }, - "SkippableSetting": { - "description": "Skippable Settings", - "id": "SkippableSetting", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#skippableSetting\".", - "type": "string" - }, - "progressOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true." - }, - "skipOffset": { - "$ref": "VideoOffset", - "description": "Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true." - }, - "skippable": { - "description": "Whether the user can skip creatives served to this placement.", - "type": "boolean" - } - }, - "type": "object" - }, - "SortedDimension": { - "description": "Represents a sorted dimension.", - "id": "SortedDimension", - "properties": { - "kind": { - "description": "The kind of resource this is, in this case dfareporting#sortedDimension.", - "type": "string" - }, - "name": { - "description": "The name of the dimension.", - "type": "string" - }, - "sortOrder": { - "description": "An optional sort order for the dimension column.", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "Subaccount": { - "description": "Contains properties of a Campaign Manager subaccount.", - "id": "Subaccount", - "properties": { - "accountId": { - "description": "ID of the account that contains this subaccount. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "availablePermissionIds": { - "description": "IDs of the available user role permissions for this subaccount.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "id": { - "description": "ID of this subaccount. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#subaccount\".", - "type": "string" - }, - "name": { - "description": "Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.", - "type": "string" - } - }, - "type": "object" - }, - "SubaccountsListResponse": { - "description": "Subaccount List Response", - "id": "SubaccountsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#subaccountsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "subaccounts": { - "description": "Subaccount collection.", - "items": { - "$ref": "Subaccount" - }, - "type": "array" - } - }, - "type": "object" - }, - "TagData": { - "description": "Placement Tag Data", - "id": "TagData", - "properties": { - "adId": { - "description": "Ad associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.", - "format": "int64", - "type": "string" - }, - "clickTag": { - "description": "Tag string to record a click.", - "type": "string" - }, - "creativeId": { - "description": "Creative associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.", - "format": "int64", - "type": "string" - }, - "format": { - "description": "TagData tag format of this tag.", - "enum": [ - "PLACEMENT_TAG_STANDARD", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_IFRAME_ILAYER", - "PLACEMENT_TAG_INTERNAL_REDIRECT", - "PLACEMENT_TAG_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", - "PLACEMENT_TAG_CLICK_COMMANDS", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", - "PLACEMENT_TAG_TRACKING", - "PLACEMENT_TAG_TRACKING_IFRAME", - "PLACEMENT_TAG_TRACKING_JAVASCRIPT", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", - "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", - "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "impressionTag": { - "description": "Tag string for serving an ad.", - "type": "string" - } - }, - "type": "object" - }, - "TagSetting": { - "description": "Tag Settings", - "id": "TagSetting", - "properties": { - "additionalKeyValues": { - "description": "Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.", - "type": "string" - }, - "includeClickThroughUrls": { - "description": "Whether static landing page URLs should be included in the tags. This setting applies only to placements.", - "type": "boolean" - }, - "includeClickTracking": { - "description": "Whether click-tracking string should be included in the tags.", - "type": "boolean" - }, - "keywordOption": { - "description": "Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.", - "enum": [ - "PLACEHOLDER_WITH_LIST_OF_KEYWORDS", - "IGNORE", - "GENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "TagSettings": { - "description": "Dynamic and Image Tag Settings.", - "id": "TagSettings", - "properties": { - "dynamicTagEnabled": { - "description": "Whether dynamic floodlight tags are enabled.", - "type": "boolean" - }, - "imageTagEnabled": { - "description": "Whether image tags are enabled.", - "type": "boolean" - } - }, - "type": "object" - }, - "TargetWindow": { - "description": "Target Window.", - "id": "TargetWindow", - "properties": { - "customHtml": { - "description": "User-entered value.", - "type": "string" - }, - "targetWindowOption": { - "description": "Type of browser window for which the backup image of the flash creative can be displayed.", - "enum": [ - "NEW_WINDOW", - "CURRENT_WINDOW", - "CUSTOM" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "TargetableRemarketingList": { - "description": "Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to faciliate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource.", - "id": "TargetableRemarketingList", - "properties": { - "accountId": { - "description": "Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", - "format": "int64", - "type": "string" - }, - "active": { - "description": "Whether this targetable remarketing list is active.", - "type": "boolean" - }, - "advertiserId": { - "description": "Dimension value for the advertiser ID that owns this targetable remarketing list.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser." - }, - "description": { - "description": "Targetable remarketing list description.", - "type": "string" - }, - "id": { - "description": "Targetable remarketing list ID.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetableRemarketingList\".", - "type": "string" - }, - "lifeSpan": { - "description": "Number of days that a user should remain in the targetable remarketing list without an impression.", - "format": "int64", - "type": "string" - }, - "listSize": { - "description": "Number of users currently in the list. This is a read-only field.", - "format": "int64", - "type": "string" - }, - "listSource": { - "description": "Product from which this targetable remarketing list was originated.", - "enum": [ - "REMARKETING_LIST_SOURCE_OTHER", - "REMARKETING_LIST_SOURCE_ADX", - "REMARKETING_LIST_SOURCE_DFP", - "REMARKETING_LIST_SOURCE_XFP", - "REMARKETING_LIST_SOURCE_DFA", - "REMARKETING_LIST_SOURCE_GA", - "REMARKETING_LIST_SOURCE_YOUTUBE", - "REMARKETING_LIST_SOURCE_DBM", - "REMARKETING_LIST_SOURCE_GPLUS", - "REMARKETING_LIST_SOURCE_DMP", - "REMARKETING_LIST_SOURCE_PLAY_STORE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "name": { - "description": "Name of the targetable remarketing list. Is no greater than 128 characters long.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "TargetableRemarketingListsListResponse": { - "description": "Targetable remarketing list response", - "id": "TargetableRemarketingListsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetableRemarketingListsListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "targetableRemarketingLists": { - "description": "Targetable remarketing list collection.", - "items": { - "$ref": "TargetableRemarketingList" - }, - "type": "array" - } - }, - "type": "object" - }, - "TargetingTemplate": { - "description": "Contains properties of a targeting template. A targeting template encapsulates targeting information which can be reused across multiple ads.", - "id": "TargetingTemplate", - "properties": { - "accountId": { - "description": "Account ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Advertiser ID of this targeting template. This is a required field on insert and is read-only after insert.", - "format": "int64", - "type": "string" - }, - "advertiserIdDimensionValue": { - "$ref": "DimensionValue", - "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." - }, - "dayPartTargeting": { - "$ref": "DayPartTargeting", - "description": "Time and day targeting criteria." - }, - "geoTargeting": { - "$ref": "GeoTargeting", - "description": "Geographical targeting criteria." - }, - "id": { - "description": "ID of this targeting template. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "keyValueTargetingExpression": { - "$ref": "KeyValueTargetingExpression", - "description": "Key-value targeting criteria." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetingTemplate\".", - "type": "string" - }, - "languageTargeting": { - "$ref": "LanguageTargeting", - "description": "Language targeting criteria." - }, - "listTargetingExpression": { - "$ref": "ListTargetingExpression", - "description": "Remarketing list targeting criteria." - }, - "name": { - "description": "Name of this targeting template. This field is required. It must be less than 256 characters long and unique within an advertiser.", - "type": "string" - }, - "subaccountId": { - "description": "Subaccount ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.", - "format": "int64", - "type": "string" - }, - "technologyTargeting": { - "$ref": "TechnologyTargeting", - "description": "Technology platform targeting criteria." - } - }, - "type": "object" - }, - "TargetingTemplatesListResponse": { - "description": "Targeting Template List Response", - "id": "TargetingTemplatesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetingTemplatesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "targetingTemplates": { - "description": "Targeting template collection.", - "items": { - "$ref": "TargetingTemplate" - }, - "type": "array" - } - }, - "type": "object" - }, - "TechnologyTargeting": { - "description": "Technology Targeting.", - "id": "TechnologyTargeting", - "properties": { - "browsers": { - "description": "Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used. The other fields are populated automatically when the ad is inserted or updated.", - "items": { - "$ref": "Browser" - }, - "type": "array" - }, - "connectionTypes": { - "description": "Connection types that this ad targets. For each connection type only id is required. The other fields are populated automatically when the ad is inserted or updated.", - "items": { - "$ref": "ConnectionType" - }, - "type": "array" - }, - "mobileCarriers": { - "description": "Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.", - "items": { - "$ref": "MobileCarrier" - }, - "type": "array" - }, - "operatingSystemVersions": { - "description": "Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.", - "items": { - "$ref": "OperatingSystemVersion" - }, - "type": "array" - }, - "operatingSystems": { - "description": "Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.", - "items": { - "$ref": "OperatingSystem" - }, - "type": "array" - }, - "platformTypes": { - "description": "Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.", - "items": { - "$ref": "PlatformType" - }, - "type": "array" - } - }, - "type": "object" - }, - "ThirdPartyAuthenticationToken": { - "description": "Third Party Authentication Token", - "id": "ThirdPartyAuthenticationToken", - "properties": { - "name": { - "description": "Name of the third-party authentication token.", - "type": "string" - }, - "value": { - "description": "Value of the third-party authentication token. This is a read-only, auto-generated field.", - "type": "string" - } - }, - "type": "object" - }, - "ThirdPartyTrackingUrl": { - "description": "Third-party Tracking URL.", - "id": "ThirdPartyTrackingUrl", - "properties": { - "thirdPartyUrlType": { - "description": "Third-party URL type for in-stream video and in-stream audio creatives.", - "enum": [ - "IMPRESSION", - "CLICK_TRACKING", - "VIDEO_START", - "VIDEO_FIRST_QUARTILE", - "VIDEO_MIDPOINT", - "VIDEO_THIRD_QUARTILE", - "VIDEO_COMPLETE", - "VIDEO_MUTE", - "VIDEO_PAUSE", - "VIDEO_REWIND", - "VIDEO_FULLSCREEN", - "VIDEO_STOP", - "VIDEO_CUSTOM", - "SURVEY", - "RICH_MEDIA_IMPRESSION", - "RICH_MEDIA_RM_IMPRESSION", - "RICH_MEDIA_BACKUP_IMPRESSION", - "VIDEO_SKIP", - "VIDEO_PROGRESS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "url": { - "description": "URL for the specified third-party URL type.", - "type": "string" - } - }, - "type": "object" - }, - "TranscodeSetting": { - "description": "Transcode Settings", - "id": "TranscodeSetting", - "properties": { - "enabledVideoFormats": { - "description": "Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#transcodeSetting\".", - "type": "string" - } - }, - "type": "object" - }, - "UniversalAdId": { - "description": "A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID.", - "id": "UniversalAdId", - "properties": { - "registry": { - "description": "Registry used for the Ad ID value.", - "enum": [ - "OTHER", - "AD_ID_OFFICIAL", - "CLEARCAST", - "DCM" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "value": { - "description": "ID value for this creative. Only alphanumeric characters and the following symbols are valid: \"_/\\-\". Maximum length is 64 characters. Read only when registry is DCM.", - "type": "string" - } - }, - "type": "object" - }, - "UserDefinedVariableConfiguration": { - "description": "User Defined Variable configuration.", - "id": "UserDefinedVariableConfiguration", - "properties": { - "dataType": { - "description": "Data type for the variable. This is a required field.", - "enum": [ - "STRING", - "NUMBER" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "reportName": { - "description": "User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: \"\"<>\".", - "type": "string" - }, - "variableType": { - "description": "Variable name in the tag. This is a required field.", - "enum": [ - "U1", - "U2", - "U3", - "U4", - "U5", - "U6", - "U7", - "U8", - "U9", - "U10", - "U11", - "U12", - "U13", - "U14", - "U15", - "U16", - "U17", - "U18", - "U19", - "U20", - "U21", - "U22", - "U23", - "U24", - "U25", - "U26", - "U27", - "U28", - "U29", - "U30", - "U31", - "U32", - "U33", - "U34", - "U35", - "U36", - "U37", - "U38", - "U39", - "U40", - "U41", - "U42", - "U43", - "U44", - "U45", - "U46", - "U47", - "U48", - "U49", - "U50", - "U51", - "U52", - "U53", - "U54", - "U55", - "U56", - "U57", - "U58", - "U59", - "U60", - "U61", - "U62", - "U63", - "U64", - "U65", - "U66", - "U67", - "U68", - "U69", - "U70", - "U71", - "U72", - "U73", - "U74", - "U75", - "U76", - "U77", - "U78", - "U79", - "U80", - "U81", - "U82", - "U83", - "U84", - "U85", - "U86", - "U87", - "U88", - "U89", - "U90", - "U91", - "U92", - "U93", - "U94", - "U95", - "U96", - "U97", - "U98", - "U99", - "U100" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "UserProfile": { - "description": "A UserProfile resource lets you list all DFA user profiles that are associated with a Google user account. The profile_id needs to be specified in other API requests. ", - "id": "UserProfile", - "properties": { - "accountId": { - "description": "The account ID to which this profile belongs.", - "format": "int64", - "type": "string" - }, - "accountName": { - "description": "The account name this profile belongs to.", - "type": "string" - }, - "etag": { - "description": "Etag of this resource.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userProfile\".", - "type": "string" - }, - "profileId": { - "description": "The unique ID of the user profile.", - "format": "int64", - "type": "string" - }, - "subAccountId": { - "description": "The sub account ID this profile belongs to if applicable.", - "format": "int64", - "type": "string" - }, - "subAccountName": { - "description": "The sub account name this profile belongs to if applicable.", - "type": "string" - }, - "userName": { - "description": "The user name.", - "type": "string" - } - }, - "type": "object" - }, - "UserProfileList": { - "description": "Represents the list of user profiles.", - "id": "UserProfileList", - "properties": { - "etag": { - "description": "Etag of this resource.", - "type": "string" - }, - "items": { - "description": "The user profiles returned in this response.", - "items": { - "$ref": "UserProfile" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userProfileList\".", - "type": "string" - } - }, - "type": "object" - }, - "UserRole": { - "description": "Contains properties of auser role, which is used to manage user access.", - "id": "UserRole", - "properties": { - "accountId": { - "description": "Account ID of this user role. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - }, - "defaultUserRole": { - "description": "Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.", - "type": "boolean" - }, - "id": { - "description": "ID of this user role. This is a read-only, auto-generated field.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRole\".", - "type": "string" - }, - "name": { - "description": "Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.", - "type": "string" - }, - "parentUserRoleId": { - "description": "ID of the user role that this user role is based on or copied from. This is a required field.", - "format": "int64", - "type": "string" - }, - "permissions": { - "description": "List of permissions associated with this user role.", - "items": { - "$ref": "UserRolePermission" - }, - "type": "array" - }, - "subaccountId": { - "description": "Subaccount ID of this user role. This is a read-only field that can be left blank.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "UserRolePermission": { - "description": "Contains properties of a user role permission.", - "id": "UserRolePermission", - "properties": { - "availability": { - "description": "Levels of availability for a user role permission.", - "enum": [ - "NOT_AVAILABLE_BY_DEFAULT", - "ACCOUNT_BY_DEFAULT", - "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT", - "ACCOUNT_ALWAYS", - "SUBACCOUNT_AND_ACCOUNT_ALWAYS", - "USER_PROFILE_ONLY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "id": { - "description": "ID of this user role permission.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermission\".", - "type": "string" - }, - "name": { - "description": "Name of this user role permission.", - "type": "string" - }, - "permissionGroupId": { - "description": "ID of the permission group that this user role permission belongs to.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "UserRolePermissionGroup": { - "description": "Represents a grouping of related user role permissions.", - "id": "UserRolePermissionGroup", - "properties": { - "id": { - "description": "ID of this user role permission.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionGroup\".", - "type": "string" - }, - "name": { - "description": "Name of this user role permission group.", - "type": "string" - } - }, - "type": "object" - }, - "UserRolePermissionGroupsListResponse": { - "description": "User Role Permission Group List Response", - "id": "UserRolePermissionGroupsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionGroupsListResponse\".", - "type": "string" - }, - "userRolePermissionGroups": { - "description": "User role permission group collection.", - "items": { - "$ref": "UserRolePermissionGroup" - }, - "type": "array" - } - }, - "type": "object" - }, - "UserRolePermissionsListResponse": { - "description": "User Role Permission List Response", - "id": "UserRolePermissionsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionsListResponse\".", - "type": "string" - }, - "userRolePermissions": { - "description": "User role permission collection.", - "items": { - "$ref": "UserRolePermission" - }, - "type": "array" - } - }, - "type": "object" - }, - "UserRolesListResponse": { - "description": "User Role List Response", - "id": "UserRolesListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolesListResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Pagination token to be used for the next list operation.", - "type": "string" - }, - "userRoles": { - "description": "User role collection.", - "items": { - "$ref": "UserRole" - }, - "type": "array" - } - }, - "type": "object" - }, - "VideoFormat": { - "description": "Contains information about supported video formats.", - "id": "VideoFormat", - "properties": { - "fileType": { - "description": "File type of the video format.", - "enum": [ - "FLV", - "THREEGPP", - "MP4", - "WEBM", - "M3U8" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "id": { - "description": "ID of the video format.", - "format": "int32", - "type": "integer" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoFormat\".", - "type": "string" - }, - "resolution": { - "$ref": "Size", - "description": "The resolution of this video format." - }, - "targetBitRate": { - "description": "The target bit rate of this video format.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "VideoFormatsListResponse": { - "description": "Video Format List Response", - "id": "VideoFormatsListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoFormatsListResponse\".", - "type": "string" - }, - "videoFormats": { - "description": "Video format collection.", - "items": { - "$ref": "VideoFormat" - }, - "type": "array" - } - }, - "type": "object" - }, - "VideoOffset": { - "description": "Video Offset", - "id": "VideoOffset", - "properties": { - "offsetPercentage": { - "description": "Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.", - "format": "int32", - "type": "integer" - }, - "offsetSeconds": { - "description": "Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "VideoSettings": { - "description": "Video Settings", - "id": "VideoSettings", - "properties": { - "companionSettings": { - "$ref": "CompanionSetting", - "description": "Settings for the companion creatives of video creatives served to this placement." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoSettings\".", - "type": "string" - }, - "obaEnabled": { - "description": "Whether OBA icons are enabled for this placement.", - "type": "boolean" - }, - "obaSettings": { - "$ref": "ObaIcon", - "description": "Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden." - }, - "orientation": { - "description": "Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.", - "enum": [ - "ANY", - "LANDSCAPE", - "PORTRAIT" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "skippableSettings": { - "$ref": "SkippableSetting", - "description": "Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden." - }, - "transcodeSettings": { - "$ref": "TranscodeSetting", - "description": "Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden." - } - }, - "type": "object" - } - }, - "servicePath": "dfareporting/v3.4/", - "title": "Campaign Manager 360 API", - "version": "v3.4" -} \ No newline at end of file diff --git a/discovery/dialogflow-v2.json b/discovery/dialogflow-v2.json index 1fa13b6e58e..7b104502e61 100644 --- a/discovery/dialogflow-v2.json +++ b/discovery/dialogflow-v2.json @@ -8805,7 +8805,7 @@ } } }, - "revision": "20250422", + "revision": "20250508", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -15924,6 +15924,10 @@ "description": "The resource name of the existing created generator. Format: `projects//locations//generators/`", "type": "string" }, + "securitySettings": { + "description": "Optional. Name of the CX SecuritySettings which is used to redact generated response. If this field is empty, try to fetch v2 security_settings, which is a project level setting. If this field is empty and no v2 security_settings set up in this project, no redaction will be done. Format: `projects//locations//securitySettings/`.", + "type": "string" + }, "triggerEvents": { "description": "Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.", "items": { diff --git a/discovery/dialogflow-v2beta1.json b/discovery/dialogflow-v2beta1.json index 780d262b3a0..d891078913e 100644 --- a/discovery/dialogflow-v2beta1.json +++ b/discovery/dialogflow-v2beta1.json @@ -8602,7 +8602,7 @@ } } }, - "revision": "20250422", + "revision": "20250508", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -18161,6 +18161,10 @@ "description": "The resource name of the existing created generator. Format: `projects//locations//generators/`", "type": "string" }, + "securitySettings": { + "description": "Optional. Name of the CX SecuritySettings which is used to redact generated response. If this field is empty, try to fetch v2 security_settings, which is a project level setting. If this field is empty and no v2 security_settings set up in this project, no redaction will be done. Format: `projects//locations//securitySettings/`.", + "type": "string" + }, "triggerEvents": { "description": "Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.", "items": { diff --git a/discovery/dialogflow-v3alpha1.json b/discovery/dialogflow-v3alpha1.json deleted file mode 100644 index 70a9f1b54b1..00000000000 --- a/discovery/dialogflow-v3alpha1.json +++ /dev/null @@ -1,3948 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, - "https://www.googleapis.com/auth/dialogflow": { - "description": "View, manage and query your Dialogflow agents" - } - } - } - }, - "basePath": "", - "baseUrl": "https://dialogflow.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Dialogflow", - "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/dialogflow/", - "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": "dialogflow:v3alpha1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://dialogflow.mtls.googleapis.com/", - "name": "dialogflow", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "resources": { - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", - "flatPath": "v3alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "dialogflow.projects.locations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v3alpha1/{+name}:cancel", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", - "flatPath": "v3alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "dialogflow.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v3alpha1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.", - "flatPath": "v3alpha1/projects/{projectsId}/locations/{locationsId}/operations", - "httpMethod": "GET", - "id": "dialogflow.projects.locations.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v3alpha1/{+name}/operations", - "response": { - "$ref": "GoogleLongrunningListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - } - } - } - } - }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", - "flatPath": "v3alpha1/projects/{projectsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "dialogflow.projects.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v3alpha1/{+name}:cancel", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", - "flatPath": "v3alpha1/projects/{projectsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "dialogflow.projects.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v3alpha1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.", - "flatPath": "v3alpha1/projects/{projectsId}/operations", - "httpMethod": "GET", - "id": "dialogflow.projects.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v3alpha1/{+name}/operations", - "response": { - "$ref": "GoogleLongrunningListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - } - } - } - } - } - }, - "revision": "20200527", - "rootUrl": "https://dialogflow.googleapis.com/", - "schemas": { - "GoogleCloudDialogflowCxV3beta1ExportAgentResponse": { - "description": "The response message for Agents.ExportAgent.", - "id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse", - "properties": { - "agentContent": { - "description": "Uncompressed raw byte content for agent.", - "format": "byte", - "type": "string" - }, - "agentUri": { - "description": "The URI to a file containing the exported agent. This field is populated\nonly if `agent_uri` is specified in ExportAgentRequest.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1PageInfo": { - "description": "Represents page information communicated to and from the webhook.", - "id": "GoogleCloudDialogflowCxV3beta1PageInfo", - "properties": { - "currentPage": { - "description": "Always present for WebhookRequest. Ignored for WebhookResponse.\nThe unique identifier of the current page.\nFormat: `projects//locations//agents//flows//pages/`.", - "type": "string" - }, - "formInfo": { - "$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo", - "description": "Optional for both WebhookRequest and WebhookResponse.\nInformation about the form." - }, - "nextPage": { - "description": "Deprecated. Please use WebhookResponse.target_page or\nWebhookResponse.target_flow instead.\n\nOptional for WebhookResponse.\nThe unique identifier of the next page. This field can be set by the\nwebhook to immediately transition to a page different from `current_page`.\nFormat: `projects//locations//agents//flows//pages/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo": { - "description": "Represents form information.", - "id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo", - "properties": { - "parameterInfo": { - "description": "Optional for both WebhookRequest and WebhookResponse.\nThe parameters contained in the form. Note that the webhook cannot add\nor remove any form parameter.", - "items": { - "$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo" - }, - "type": "array" - }, - "state": { - "description": "Always present for WebhookRequest. Ignored for WebhookResponse.\nThe current state of the form.", - "enum": [ - "FORM_STATE_UNSPECIFIED", - "INITIALIZING", - "COLLECTING", - "FINALIZED" - ], - "enumDescriptions": [ - "Not specified. This value should be never used.", - "The server is initializing the form. The webhook can process the form\nbefore parameter collection begins.", - "The server is collecting form parameters from the user. The webhook can\nmodify form parameters that have been collected or are to be collected.", - "The server has collected all required form parameters from the user.\nThe webhook can modify collected form parameters. If any required\nparameter is invalidated by the webhook, the form will return to the\nparameter collection state; otherwise, parameter collection will\nconclude." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo": { - "description": "Represents parameter information.", - "id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo", - "properties": { - "displayName": { - "description": "Always present for WebhookRequest. Required for\nWebhookResponse.\nThe human-readable name of the parameter, unique within the form. This\nfield cannot be modified by the webhook.", - "type": "string" - }, - "justCollected": { - "description": "Optional for WebhookRequest. Ignored for WebhookResponse.\nIndicates if the parameter value was just collected on the last\nconversation turn.", - "type": "boolean" - }, - "prompt": { - "description": "Not set for WebhookRequest. Optional for WebhookResponse.\nThe prompt to send to the user to fill a required form parameter. This\nfield can be set by the webhook. If set, this field overrides the\nprompt defined for the form parameter.", - "items": { - "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" - }, - "type": "array" - }, - "required": { - "description": "Optional for both WebhookRequest and WebhookResponse.\nIndicates whether the parameter is required. Optional parameters will\nnot trigger prompts; however, they are filled if the user specifies\nthem. Required parameters must be filled before form filling concludes.", - "type": "boolean" - }, - "state": { - "description": "Always present for WebhookRequest. Required for\nWebhookResponse. The state of the parameter. This field can be set\nto INVALID by\nthe webhook to invalidate the parameter; other values set by the\nwebhook will be ignored.", - "enum": [ - "PARAMETER_STATE_UNSPECIFIED", - "EMPTY", - "INVALID", - "FILLED" - ], - "enumDescriptions": [ - "Not specified. This value should be never used.", - "Indicates that the parameter does not have a value.", - "Indicates that the parameter value is invalid. This field can be used\nby the webhook to invalidate the parameter and ask the server to\ncollect it from the user again.", - "Indicates that the parameter has a value." - ], - "type": "string" - }, - "value": { - "description": "Optional for both WebhookRequest and WebhookResponse.\nThe value of the parameter. This field can be set by the webhook to\nchange the parameter value.", - "type": "any" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1ResponseMessage": { - "description": "Represents a response message that can be returned by a conversational agent.\n\nResponse messages are also used for output audio synthesis. The approach is\nas follows:\n\n* If at least one OutputAudioText response is present, then all\n OutputAudioText responses are linearly concatenated, and the result is used\n for output audio synthesis.\n* If the OutputAudioText responses are a mixture of text and SSML, then the\n concatenated result is treated as SSML; otherwise, the result is treated as\n either text or SSML as appropriate. The agent designer should ideally use\n either text or SSML consistently throughout the bot design.\n* Otherwise, all Text responses are linearly concatenated, and the result is\n used for output audio synthesis.\n\nThis approach allows for more sophisticated user experience scenarios, where\nthe text displayed to the user may differ from what is heard.", - "id": "GoogleCloudDialogflowCxV3beta1ResponseMessage", - "properties": { - "conversationSuccess": { - "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess", - "description": "Indicates that the conversation succeeded." - }, - "humanAgentHandoff": { - "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff", - "description": "Hands off conversation to a human agent." - }, - "payload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Returns a response containing a custom, platform-specific payload.", - "type": "object" - }, - "text": { - "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText", - "description": "Returns a text response." - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess": { - "description": "Indicates that the conversation succeeded, i.e., the bot handled the issue\nthat the customer talked to it about.\n\nDialogflow only uses this to determine which conversations should be\ncounted as successful and doesn't process the metadata in this message in\nany way. Note that Dialogflow also considers conversations that get to the\nconversation end page as successful even if they don't return\nConversationSuccess.\n\nYou may set this, for example:\n* In the entry_fulfillment of a Page if\n entering the page indicates that the conversation succeeded.\n* In a webhook response when you determine that you handled the customer\n issue.", - "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess", - "properties": { - "metadata": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Custom metadata. Dialogflow doesn't impose any structure on this.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff": { - "description": "Indicates that the conversation should be handed off to a human agent.\n\nDialogflow only uses this to determine which conversations were handed off\nto a human agent for measurement purposes. What else to do with this signal\nis up to you and your handoff procedures.\n\nYou may set this, for example:\n* In the entry_fulfillment of a Page if\n entering the page indicates something went extremely wrong in the\n conversation.\n* In a webhook response when you determine that the customer issue can only\n be handled by a human.", - "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff", - "properties": { - "metadata": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose\nany structure on this.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1ResponseMessageText": { - "description": "The text response message.", - "id": "GoogleCloudDialogflowCxV3beta1ResponseMessageText", - "properties": { - "text": { - "description": "A collection of text responses.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1SessionInfo": { - "description": "Represents session information communicated to and from the webhook.", - "id": "GoogleCloudDialogflowCxV3beta1SessionInfo", - "properties": { - "parameters": { - "additionalProperties": { - "type": "any" - }, - "description": "Optional for WebhookRequest. Optional for WebhookResponse.\nAll parameters collected from forms and intents during the session.\nParameters can be created, updated, or removed by the webhook. To remove a\nparameter from the session, the webhook should explicitly set the parameter\nvalue to null in WebhookResponse. The map is keyed by parameters'\ndisplay names.", - "type": "object" - }, - "session": { - "description": "Always present for WebhookRequest. Ignored for WebhookResponse.\nThe unique identifier of the session. This\nfield can be used by the webhook to identify a user.\nFormat: `projects//locations//agents//sessions/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1WebhookRequest": { - "description": "The request message for a webhook call.", - "id": "GoogleCloudDialogflowCxV3beta1WebhookRequest", - "properties": { - "detectIntentResponseId": { - "description": "Always present. The unique identifier of the DetectIntentResponse that\nwill be returned to the API caller.", - "type": "string" - }, - "fulfillmentInfo": { - "$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo", - "description": "Always present. Information about the fulfillment that triggered this\nwebhook call." - }, - "intentInfo": { - "$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo", - "description": "Information about the last matched intent." - }, - "messages": { - "description": "The list of rich message responses to present to the user. Webhook can\nchoose to append or replace this list in\nWebhookResponse.fulfillment_response;", - "items": { - "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" - }, - "type": "array" - }, - "pageInfo": { - "$ref": "GoogleCloudDialogflowCxV3beta1PageInfo", - "description": "Information about page status." - }, - "payload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Custom data set in QueryParameters.payload.", - "type": "object" - }, - "sessionInfo": { - "$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo", - "description": "Information about session status." - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo": { - "description": "Represents fulfillment information communicated to the webhook.", - "id": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo", - "properties": { - "tag": { - "description": "Always present. The tag used to identify which fulfillment is being\ncalled.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo": { - "description": "Represents intent information communicated to the webhook.", - "id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo", - "properties": { - "lastMatchedIntent": { - "description": "Always present. The unique identifier of the last matched\nintent. Format: `projects//locations//agents//intents/`.", - "type": "string" - }, - "parameters": { - "additionalProperties": { - "$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue" - }, - "description": "Parameters identified as a result of intent matching. This is a map of\nthe name of the identified parameter to the value of the parameter\nidentified from the user's utterance. All parameters defined in the\nmatched intent that are identified will be surfaced here.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue": { - "description": "Represents a value for an intent parameter.", - "id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue", - "properties": { - "originalValue": { - "description": "Always present. Original text value extracted from user utterance.", - "type": "string" - }, - "resolvedValue": { - "description": "Always present. Structured value for the parameter extracted from user\nutterance.", - "type": "any" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1WebhookResponse": { - "description": "The response message for a webhook call.", - "id": "GoogleCloudDialogflowCxV3beta1WebhookResponse", - "properties": { - "fulfillmentResponse": { - "$ref": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse", - "description": "The fulfillment response to send to the user. This field can be omitted by\nthe webhook if it does not intend to send any response to the user." - }, - "pageInfo": { - "$ref": "GoogleCloudDialogflowCxV3beta1PageInfo", - "description": "Information about page status. This field can be omitted by the webhook if\nit does not intend to modify page status." - }, - "payload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Value to append directly to QueryResult.webhook_payloads.", - "type": "object" - }, - "sessionInfo": { - "$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo", - "description": "Information about session status. This field can be omitted by the webhook\nif it does not intend to modify session status." - }, - "targetFlow": { - "description": "The target flow to transition to.\nFormat: `projects//locations//agents//flows/`.", - "type": "string" - }, - "targetPage": { - "description": "The target page to transition to.\nFormat: `projects//locations//agents//flows//pages/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse": { - "description": "Represents a fulfillment response to the user.", - "id": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse", - "properties": { - "mergeBehavior": { - "description": "Merge behavior for `messages`.", - "enum": [ - "MERGE_BEHAVIOR_UNSPECIFIED", - "APPEND", - "REPLACE" - ], - "enumDescriptions": [ - "Not specified. `APPEND` will be used.", - "`messages` will be appended to the list of messages waiting to be sent\nto the user.", - "`messages` will replace the list of messages waiting to be sent to the\nuser." - ], - "type": "string" - }, - "messages": { - "description": "The list of rich message responses to present to the user.", - "items": { - "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2AnnotatedMessagePart": { - "description": "Represents a part of a message possibly annotated with an entity. The part\ncan be an entity or purely a part of the message between two entities or\nmessage start/end.", - "id": "GoogleCloudDialogflowV2AnnotatedMessagePart", - "properties": { - "entityType": { - "description": "The [Dialogflow system entity\ntype](https://cloud.google.com/dialogflow/docs/reference/system-entities)\nof this message part. If this is empty, Dialogflow could not annotate the\nphrase part with a system entity.", - "type": "string" - }, - "formattedValue": { - "description": "The [Dialogflow system entity formatted value\n](https://cloud.google.com/dialogflow/docs/reference/system-entities) of\nthis message part. For example for a system entity of type\n`@sys.unit-currency`, this may contain:\n
                      \n{\n  \"amount\": 5,\n  \"currency\": \"USD\"\n}\n
                      ", - "type": "any" - }, - "text": { - "description": "A part of a message possibly annotated with an entity.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse": { - "description": "The response message for EntityTypes.BatchUpdateEntityTypes.", - "id": "GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse", - "properties": { - "entityTypes": { - "description": "The collection of updated or created entity types.", - "items": { - "$ref": "GoogleCloudDialogflowV2EntityType" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2BatchUpdateIntentsResponse": { - "description": "The response message for Intents.BatchUpdateIntents.", - "id": "GoogleCloudDialogflowV2BatchUpdateIntentsResponse", - "properties": { - "intents": { - "description": "The collection of updated or created intents.", - "items": { - "$ref": "GoogleCloudDialogflowV2Intent" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2Context": { - "description": "Represents a context.", - "id": "GoogleCloudDialogflowV2Context", - "properties": { - "lifespanCount": { - "description": "Optional. The number of conversational query requests after which the\ncontext expires. The default is `0`. If set to `0`, the context expires\nimmediately. Contexts expire automatically after 20 minutes if there\nare no matching queries.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "Required. The unique identifier of the context. Format:\n`projects//agent/sessions//contexts/`,\nor `projects//agent/environments//users//sessions//contexts/`.\n\nThe `Context ID` is always converted to lowercase, may only contain\ncharacters in a-zA-Z0-9_-% and may be at most 250 bytes long.\n\nIf `Environment ID` is not specified, we assume default 'draft'\nenvironment. If `User ID` is not specified, we assume default '-' user.\n\nThe following context names are reserved for internal use by Dialogflow.\nYou should not use these contexts or create contexts with these names:\n\n* `__system_counters__`\n* `*_id_dialog_context`\n* `*_dialog_params_size`", - "type": "string" - }, - "parameters": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Optional. The collection of parameters associated with this context.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2ConversationEvent": { - "description": "Represents a notification sent to Cloud Pub/Sub subscribers for conversation\nlifecycle events.", - "id": "GoogleCloudDialogflowV2ConversationEvent", - "properties": { - "conversation": { - "description": "The unique identifier of the conversation this notification\nrefers to.\nFormat: `projects//conversations/`.", - "type": "string" - }, - "errorStatus": { - "$ref": "GoogleRpcStatus", - "description": "More detailed information about an error. Only set for type\nUNRECOVERABLE_ERROR_IN_PHONE_CALL." - }, - "newMessagePayload": { - "$ref": "GoogleCloudDialogflowV2Message", - "description": "Payload of NEW_MESSAGE event." - }, - "type": { - "description": "The type of the event that this notification refers to.", - "enum": [ - "TYPE_UNSPECIFIED", - "CONVERSATION_STARTED", - "CONVERSATION_FINISHED", - "HUMAN_INTERVENTION_NEEDED", - "NEW_MESSAGE", - "UNRECOVERABLE_ERROR" - ], - "enumDescriptions": [ - "Type not set.", - "A new conversation has been opened. This is fired when a telephone call\nis answered, or a conversation is created via the API.", - "An existing conversation has closed. This is fired when a telephone call\nis terminated, or a conversation is closed via the API.", - "An existing conversation has received notification from Dialogflow that\nhuman intervention is required.", - "An existing conversation has received a new message, either from API or\ntelephony. It is configured in\nConversationProfile.new_message_event_notification_config", - "Unrecoverable error during a telephone call.\n\nIn general non-recoverable errors only occur if something was\nmisconfigured in the ConversationProfile corresponding to the call. After\na non-recoverable error, Dialogflow may stop responding.\n\nWe don't fire this event:\n* in an API call because we can directly return the error, or,\n* when we can recover from an error." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2EntityType": { - "description": "Represents an entity type.\nEntity types serve as a tool for extracting parameter values from natural\nlanguage queries.", - "id": "GoogleCloudDialogflowV2EntityType", - "properties": { - "autoExpansionMode": { - "description": "Optional. Indicates whether the entity type can be automatically\nexpanded.", - "enum": [ - "AUTO_EXPANSION_MODE_UNSPECIFIED", - "AUTO_EXPANSION_MODE_DEFAULT" - ], - "enumDescriptions": [ - "Auto expansion disabled for the entity.", - "Allows an agent to recognize values that have not been explicitly\nlisted in the entity." - ], - "type": "string" - }, - "displayName": { - "description": "Required. The name of the entity type.", - "type": "string" - }, - "enableFuzzyExtraction": { - "description": "Optional. Enables fuzzy entity extraction during classification.", - "type": "boolean" - }, - "entities": { - "description": "Optional. The collection of entity entries associated with the entity type.", - "items": { - "$ref": "GoogleCloudDialogflowV2EntityTypeEntity" - }, - "type": "array" - }, - "kind": { - "description": "Required. Indicates the kind of entity type.", - "enum": [ - "KIND_UNSPECIFIED", - "KIND_MAP", - "KIND_LIST", - "KIND_REGEXP" - ], - "enumDescriptions": [ - "Not specified. This value should be never used.", - "Map entity types allow mapping of a group of synonyms to a reference\nvalue.", - "List entity types contain a set of entries that do not map to reference\nvalues. However, list entity types can contain references to other entity\ntypes (with or without aliases).", - "Regexp entity types allow to specify regular expressions in entries\nvalues." - ], - "type": "string" - }, - "name": { - "description": "The unique identifier of the entity type.\nRequired for EntityTypes.UpdateEntityType and\nEntityTypes.BatchUpdateEntityTypes methods.\nFormat: `projects//agent/entityTypes/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2EntityTypeEntity": { - "description": "An **entity entry** for an associated entity type.", - "id": "GoogleCloudDialogflowV2EntityTypeEntity", - "properties": { - "synonyms": { - "description": "Required. A collection of value synonyms. For example, if the entity type\nis *vegetable*, and `value` is *scallions*, a synonym could be *green\nonions*.\n\nFor `KIND_LIST` entity types:\n\n* This collection must contain exactly one synonym equal to `value`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "value": { - "description": "Required. The primary value associated with this entity entry.\nFor example, if the entity type is *vegetable*, the value could be\n*scallions*.\n\nFor `KIND_MAP` entity types:\n\n* A reference value to be used in place of synonyms.\n\nFor `KIND_LIST` entity types:\n\n* A string that can contain references to other entity types (with or\n without aliases).", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2EventInput": { - "description": "Events allow for matching intents by event name instead of the natural\nlanguage input. For instance, input `` can trigger a personalized welcome response.\nThe parameter `name` may be used by the agent in the response:\n`\"Hello #welcome_event.name! What can I do for you today?\"`.", - "id": "GoogleCloudDialogflowV2EventInput", - "properties": { - "languageCode": { - "description": "Required. The language of this query. See [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes. Note that queries in\nthe same session do not necessarily need to specify the same language.", - "type": "string" - }, - "name": { - "description": "Required. The unique identifier of the event.", - "type": "string" - }, - "parameters": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The collection of parameters associated with the event.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2ExportAgentResponse": { - "description": "The response message for Agents.ExportAgent.", - "id": "GoogleCloudDialogflowV2ExportAgentResponse", - "properties": { - "agentContent": { - "description": "Zip compressed raw byte content for agent.", - "format": "byte", - "type": "string" - }, - "agentUri": { - "description": "The URI to a file containing the exported agent. This field is populated\nonly if `agent_uri` is specified in `ExportAgentRequest`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2Intent": { - "description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.", - "id": "GoogleCloudDialogflowV2Intent", - "properties": { - "action": { - "description": "Optional. The name of the action associated with the intent.\nNote: The action name must not contain whitespaces.", - "type": "string" - }, - "defaultResponsePlatforms": { - "description": "Optional. The list of platforms for which the first responses will be\ncopied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).", - "enumDescriptions": [ - "Default platform.", - "Facebook.", - "Slack.", - "Telegram.", - "Kik.", - "Skype.", - "Line.", - "Viber.", - "Google Assistant\nSee [Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)", - "Google Hangouts." - ], - "items": { - "enum": [ - "PLATFORM_UNSPECIFIED", - "FACEBOOK", - "SLACK", - "TELEGRAM", - "KIK", - "SKYPE", - "LINE", - "VIBER", - "ACTIONS_ON_GOOGLE", - "GOOGLE_HANGOUTS" - ], - "type": "string" - }, - "type": "array" - }, - "displayName": { - "description": "Required. The name of this intent.", - "type": "string" - }, - "events": { - "description": "Optional. The collection of event names that trigger the intent.\nIf the collection of input contexts is not empty, all of the contexts must\nbe present in the active user session for an event to trigger this intent.\nEvent names are limited to 150 characters.", - "items": { - "type": "string" - }, - "type": "array" - }, - "followupIntentInfo": { - "description": "Read-only. Information about all followup intents that have this intent as\na direct or indirect parent. We populate this field only in the output.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentFollowupIntentInfo" - }, - "type": "array" - }, - "inputContextNames": { - "description": "Optional. The list of context names required for this intent to be\ntriggered.\nFormat: `projects//agent/sessions/-/contexts/`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "isFallback": { - "description": "Optional. Indicates whether this is a fallback intent.", - "type": "boolean" - }, - "messages": { - "description": "Optional. The collection of rich messages corresponding to the\n`Response` field in the Dialogflow console.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessage" - }, - "type": "array" - }, - "mlDisabled": { - "description": "Optional. Indicates whether Machine Learning is disabled for the intent.\nNote: If `ml_disabled` setting is set to true, then this intent is not\ntaken into account during inference in `ML ONLY` match mode. Also,\nauto-markup in the UI is turned off.", - "type": "boolean" - }, - "name": { - "description": "Optional. The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.", - "type": "string" - }, - "outputContexts": { - "description": "Optional. The collection of contexts that are activated when the intent\nis matched. Context messages in this collection should not set the\nparameters field. Setting the `lifespan_count` to 0 will reset the context\nwhen the intent is matched.\nFormat: `projects//agent/sessions/-/contexts/`.", - "items": { - "$ref": "GoogleCloudDialogflowV2Context" - }, - "type": "array" - }, - "parameters": { - "description": "Optional. The collection of parameters associated with the intent.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentParameter" - }, - "type": "array" - }, - "parentFollowupIntentName": { - "description": "Read-only after creation. The unique identifier of the parent intent in the\nchain of followup intents. You can set this field when creating an intent,\nfor example with CreateIntent or\nBatchUpdateIntents, in order to make this\nintent a followup intent.\n\nIt identifies the parent followup intent.\nFormat: `projects//agent/intents/`.", - "type": "string" - }, - "priority": { - "description": "Optional. The priority of this intent. Higher numbers represent higher\npriorities.\n\n- If the supplied value is unspecified or 0, the service\n translates the value to 500,000, which corresponds to the\n `Normal` priority in the console.\n- If the supplied value is negative, the intent is ignored\n in runtime detect intent requests.", - "format": "int32", - "type": "integer" - }, - "resetContexts": { - "description": "Optional. Indicates whether to delete all contexts in the current\nsession when this intent is matched.", - "type": "boolean" - }, - "rootFollowupIntentName": { - "description": "Read-only. The unique identifier of the root intent in the chain of\nfollowup intents. It identifies the correct followup intents chain for\nthis intent. We populate this field only in the output.\n\nFormat: `projects//agent/intents/`.", - "type": "string" - }, - "trainingPhrases": { - "description": "Optional. The collection of examples that the agent is\ntrained on.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentTrainingPhrase" - }, - "type": "array" - }, - "webhookState": { - "description": "Optional. Indicates whether webhooks are enabled for the intent.", - "enum": [ - "WEBHOOK_STATE_UNSPECIFIED", - "WEBHOOK_STATE_ENABLED", - "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - ], - "enumDescriptions": [ - "Webhook is disabled in the agent and in the intent.", - "Webhook is enabled in the agent and in the intent.", - "Webhook is enabled in the agent and in the intent. Also, each slot\nfilling prompt is forwarded to the webhook." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentFollowupIntentInfo": { - "description": "Represents a single followup intent in the chain.", - "id": "GoogleCloudDialogflowV2IntentFollowupIntentInfo", - "properties": { - "followupIntentName": { - "description": "The unique identifier of the followup intent.\nFormat: `projects//agent/intents/`.", - "type": "string" - }, - "parentFollowupIntentName": { - "description": "The unique identifier of the followup intent's parent.\nFormat: `projects//agent/intents/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessage": { - "description": "A rich response message.\nCorresponds to the intent `Response` field in the Dialogflow console.\nFor more information, see\n[Rich response\nmessages](https://cloud.google.com/dialogflow/docs/intents-rich-messages).", - "id": "GoogleCloudDialogflowV2IntentMessage", - "properties": { - "basicCard": { - "$ref": "GoogleCloudDialogflowV2IntentMessageBasicCard", - "description": "The basic card response for Actions on Google." - }, - "browseCarouselCard": { - "$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard", - "description": "Browse carousel card for Actions on Google." - }, - "card": { - "$ref": "GoogleCloudDialogflowV2IntentMessageCard", - "description": "The card response." - }, - "carouselSelect": { - "$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelect", - "description": "The carousel card response for Actions on Google." - }, - "image": { - "$ref": "GoogleCloudDialogflowV2IntentMessageImage", - "description": "The image response." - }, - "linkOutSuggestion": { - "$ref": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion", - "description": "The link out suggestion chip for Actions on Google." - }, - "listSelect": { - "$ref": "GoogleCloudDialogflowV2IntentMessageListSelect", - "description": "The list card response for Actions on Google." - }, - "mediaContent": { - "$ref": "GoogleCloudDialogflowV2IntentMessageMediaContent", - "description": "The media content card for Actions on Google." - }, - "payload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "A custom platform-specific response.", - "type": "object" - }, - "platform": { - "description": "Optional. The platform that this message is intended for.", - "enum": [ - "PLATFORM_UNSPECIFIED", - "FACEBOOK", - "SLACK", - "TELEGRAM", - "KIK", - "SKYPE", - "LINE", - "VIBER", - "ACTIONS_ON_GOOGLE", - "GOOGLE_HANGOUTS" - ], - "enumDescriptions": [ - "Default platform.", - "Facebook.", - "Slack.", - "Telegram.", - "Kik.", - "Skype.", - "Line.", - "Viber.", - "Google Assistant\nSee [Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)", - "Google Hangouts." - ], - "type": "string" - }, - "quickReplies": { - "$ref": "GoogleCloudDialogflowV2IntentMessageQuickReplies", - "description": "The quick replies response." - }, - "simpleResponses": { - "$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponses", - "description": "The voice and text-only responses for Actions on Google." - }, - "suggestions": { - "$ref": "GoogleCloudDialogflowV2IntentMessageSuggestions", - "description": "The suggestion chips for Actions on Google." - }, - "tableCard": { - "$ref": "GoogleCloudDialogflowV2IntentMessageTableCard", - "description": "Table card for Actions on Google." - }, - "text": { - "$ref": "GoogleCloudDialogflowV2IntentMessageText", - "description": "The text response." - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageBasicCard": { - "description": "The basic card message. Useful for displaying information.", - "id": "GoogleCloudDialogflowV2IntentMessageBasicCard", - "properties": { - "buttons": { - "description": "Optional. The collection of card buttons.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" - }, - "type": "array" - }, - "formattedText": { - "description": "Required, unless image is present. The body text of the card.", - "type": "string" - }, - "image": { - "$ref": "GoogleCloudDialogflowV2IntentMessageImage", - "description": "Optional. The image for the card." - }, - "subtitle": { - "description": "Optional. The subtitle of the card.", - "type": "string" - }, - "title": { - "description": "Optional. The title of the card.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageBasicCardButton": { - "description": "The button object that appears at the bottom of a card.", - "id": "GoogleCloudDialogflowV2IntentMessageBasicCardButton", - "properties": { - "openUriAction": { - "$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction", - "description": "Required. Action to take when a user taps on the button." - }, - "title": { - "description": "Required. The title of the button.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction": { - "description": "Opens the given URI.", - "id": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction", - "properties": { - "uri": { - "description": "Required. The HTTP or HTTPS scheme URI.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard": { - "description": "Browse Carousel Card for Actions on Google.\nhttps://developers.google.com/actions/assistant/responses#browsing_carousel", - "id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard", - "properties": { - "imageDisplayOptions": { - "description": "Optional. Settings for displaying the image. Applies to every image in\nitems.", - "enum": [ - "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", - "GRAY", - "WHITE", - "CROPPED", - "BLURRED_BACKGROUND" - ], - "enumDescriptions": [ - "Fill the gaps between the image and the image container with gray\nbars.", - "Fill the gaps between the image and the image container with gray\nbars.", - "Fill the gaps between the image and the image container with white\nbars.", - "Image is scaled such that the image width and height match or exceed\nthe container dimensions. This may crop the top and bottom of the\nimage if the scaled image height is greater than the container\nheight, or crop the left and right of the image if the scaled image\nwidth is greater than the container width. This is similar to \"Zoom\nMode\" on a widescreen TV when playing a 4:3 video.", - "Pad the gaps between image and image frame with a blurred copy of the\nsame image." - ], - "type": "string" - }, - "items": { - "description": "Required. List of items in the Browse Carousel Card. Minimum of two\nitems, maximum of ten.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { - "description": "Browsing carousel tile", - "id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem", - "properties": { - "description": { - "description": "Optional. Description of the carousel item. Maximum of four lines of\ntext.", - "type": "string" - }, - "footer": { - "description": "Optional. Text that appears at the bottom of the Browse Carousel\nCard. Maximum of one line of text.", - "type": "string" - }, - "image": { - "$ref": "GoogleCloudDialogflowV2IntentMessageImage", - "description": "Optional. Hero image for the carousel item." - }, - "openUriAction": { - "$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", - "description": "Required. Action to present to the user." - }, - "title": { - "description": "Required. Title of the carousel item. Maximum of two lines of text.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { - "description": "Actions on Google action to open a given url.", - "id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", - "properties": { - "url": { - "description": "Required. URL", - "type": "string" - }, - "urlTypeHint": { - "description": "Optional. Specifies the type of viewer that is used when opening\nthe URL. Defaults to opening via web browser.", - "enum": [ - "URL_TYPE_HINT_UNSPECIFIED", - "AMP_ACTION", - "AMP_CONTENT" - ], - "enumDescriptions": [ - "Unspecified", - "Url would be an amp action", - "URL that points directly to AMP content, or to a canonical URL\nwhich refers to AMP content via ." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageCard": { - "description": "The card response message.", - "id": "GoogleCloudDialogflowV2IntentMessageCard", - "properties": { - "buttons": { - "description": "Optional. The collection of card buttons.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageCardButton" - }, - "type": "array" - }, - "imageUri": { - "description": "Optional. The public URI to an image file for the card.", - "type": "string" - }, - "subtitle": { - "description": "Optional. The subtitle of the card.", - "type": "string" - }, - "title": { - "description": "Optional. The title of the card.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageCardButton": { - "description": "Contains information about a button.", - "id": "GoogleCloudDialogflowV2IntentMessageCardButton", - "properties": { - "postback": { - "description": "Optional. The text to send back to the Dialogflow API or a URI to\nopen.", - "type": "string" - }, - "text": { - "description": "Optional. The text to show on the button.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageCarouselSelect": { - "description": "The card for presenting a carousel of options to select from.", - "id": "GoogleCloudDialogflowV2IntentMessageCarouselSelect", - "properties": { - "items": { - "description": "Required. Carousel items.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem": { - "description": "An item in the carousel.", - "id": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem", - "properties": { - "description": { - "description": "Optional. The body text of the card.", - "type": "string" - }, - "image": { - "$ref": "GoogleCloudDialogflowV2IntentMessageImage", - "description": "Optional. The image to display." - }, - "info": { - "$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo", - "description": "Required. Additional info about the option item." - }, - "title": { - "description": "Required. Title of the carousel item.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageColumnProperties": { - "description": "Column properties for TableCard.", - "id": "GoogleCloudDialogflowV2IntentMessageColumnProperties", - "properties": { - "header": { - "description": "Required. Column heading.", - "type": "string" - }, - "horizontalAlignment": { - "description": "Optional. Defines text alignment for all cells in this column.", - "enum": [ - "HORIZONTAL_ALIGNMENT_UNSPECIFIED", - "LEADING", - "CENTER", - "TRAILING" - ], - "enumDescriptions": [ - "Text is aligned to the leading edge of the column.", - "Text is aligned to the leading edge of the column.", - "Text is centered in the column.", - "Text is aligned to the trailing edge of the column." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageImage": { - "description": "The image response message.", - "id": "GoogleCloudDialogflowV2IntentMessageImage", - "properties": { - "accessibilityText": { - "description": "Optional. A text description of the image to be used for accessibility,\ne.g., screen readers.", - "type": "string" - }, - "imageUri": { - "description": "Optional. The public URI to an image file.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion": { - "description": "The suggestion chip message that allows the user to jump out to the app\nor website associated with this agent.", - "id": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion", - "properties": { - "destinationName": { - "description": "Required. The name of the app or site this chip is linking to.", - "type": "string" - }, - "uri": { - "description": "Required. The URI of the app or site to open when the user taps the\nsuggestion chip.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageListSelect": { - "description": "The card for presenting a list of options to select from.", - "id": "GoogleCloudDialogflowV2IntentMessageListSelect", - "properties": { - "items": { - "description": "Required. List items.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageListSelectItem" - }, - "type": "array" - }, - "subtitle": { - "description": "Optional. Subtitle of the list.", - "type": "string" - }, - "title": { - "description": "Optional. The overall title of the list.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageListSelectItem": { - "description": "An item in the list.", - "id": "GoogleCloudDialogflowV2IntentMessageListSelectItem", - "properties": { - "description": { - "description": "Optional. The main text describing the item.", - "type": "string" - }, - "image": { - "$ref": "GoogleCloudDialogflowV2IntentMessageImage", - "description": "Optional. The image to display." - }, - "info": { - "$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo", - "description": "Required. Additional information about this option." - }, - "title": { - "description": "Required. The title of the list item.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageMediaContent": { - "description": "The media content card for Actions on Google.", - "id": "GoogleCloudDialogflowV2IntentMessageMediaContent", - "properties": { - "mediaObjects": { - "description": "Required. List of media objects.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject" - }, - "type": "array" - }, - "mediaType": { - "description": "Optional. What type of media is the content (ie \"audio\").", - "enum": [ - "RESPONSE_MEDIA_TYPE_UNSPECIFIED", - "AUDIO" - ], - "enumDescriptions": [ - "Unspecified.", - "Response media type is audio." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject": { - "description": "Response media object for media content card.", - "id": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject", - "properties": { - "contentUrl": { - "description": "Required. Url where the media is stored.", - "type": "string" - }, - "description": { - "description": "Optional. Description of media card.", - "type": "string" - }, - "icon": { - "$ref": "GoogleCloudDialogflowV2IntentMessageImage", - "description": "Optional. Icon to display above media content." - }, - "largeImage": { - "$ref": "GoogleCloudDialogflowV2IntentMessageImage", - "description": "Optional. Image to display above media content." - }, - "name": { - "description": "Required. Name of media card.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageQuickReplies": { - "description": "The quick replies response message.", - "id": "GoogleCloudDialogflowV2IntentMessageQuickReplies", - "properties": { - "quickReplies": { - "description": "Optional. The collection of quick replies.", - "items": { - "type": "string" - }, - "type": "array" - }, - "title": { - "description": "Optional. The title of the collection of quick replies.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageSelectItemInfo": { - "description": "Additional info about the select item for when it is triggered in a\ndialog.", - "id": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo", - "properties": { - "key": { - "description": "Required. A unique key that will be sent back to the agent if this\nresponse is given.", - "type": "string" - }, - "synonyms": { - "description": "Optional. A list of synonyms that can also be used to trigger this\nitem in dialog.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageSimpleResponse": { - "description": "The simple response message containing speech or text.", - "id": "GoogleCloudDialogflowV2IntentMessageSimpleResponse", - "properties": { - "displayText": { - "description": "Optional. The text to display.", - "type": "string" - }, - "ssml": { - "description": "One of text_to_speech or ssml must be provided. Structured spoken\nresponse to the user in the SSML format. Mutually exclusive with\ntext_to_speech.", - "type": "string" - }, - "textToSpeech": { - "description": "One of text_to_speech or ssml must be provided. The plain text of the\nspeech output. Mutually exclusive with ssml.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageSimpleResponses": { - "description": "The collection of simple response candidates.\nThis message in `QueryResult.fulfillment_messages` and\n`WebhookResponse.fulfillment_messages` should contain only one\n`SimpleResponse`.", - "id": "GoogleCloudDialogflowV2IntentMessageSimpleResponses", - "properties": { - "simpleResponses": { - "description": "Required. The list of simple responses.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponse" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageSuggestion": { - "description": "The suggestion chip message that the user can tap to quickly post a reply\nto the conversation.", - "id": "GoogleCloudDialogflowV2IntentMessageSuggestion", - "properties": { - "title": { - "description": "Required. The text shown the in the suggestion chip.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageSuggestions": { - "description": "The collection of suggestions.", - "id": "GoogleCloudDialogflowV2IntentMessageSuggestions", - "properties": { - "suggestions": { - "description": "Required. The list of suggested replies.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageSuggestion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageTableCard": { - "description": "Table card for Actions on Google.", - "id": "GoogleCloudDialogflowV2IntentMessageTableCard", - "properties": { - "buttons": { - "description": "Optional. List of buttons for the card.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" - }, - "type": "array" - }, - "columnProperties": { - "description": "Optional. Display properties for the columns in this table.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageColumnProperties" - }, - "type": "array" - }, - "image": { - "$ref": "GoogleCloudDialogflowV2IntentMessageImage", - "description": "Optional. Image which should be displayed on the card." - }, - "rows": { - "description": "Optional. Rows in this table of data.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageTableCardRow" - }, - "type": "array" - }, - "subtitle": { - "description": "Optional. Subtitle to the title.", - "type": "string" - }, - "title": { - "description": "Required. Title of the card.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageTableCardCell": { - "description": "Cell of TableCardRow.", - "id": "GoogleCloudDialogflowV2IntentMessageTableCardCell", - "properties": { - "text": { - "description": "Required. Text in this cell.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageTableCardRow": { - "description": "Row of TableCard.", - "id": "GoogleCloudDialogflowV2IntentMessageTableCardRow", - "properties": { - "cells": { - "description": "Optional. List of cells that make up this row.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessageTableCardCell" - }, - "type": "array" - }, - "dividerAfter": { - "description": "Optional. Whether to add a visual divider after this row.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentMessageText": { - "description": "The text response message.", - "id": "GoogleCloudDialogflowV2IntentMessageText", - "properties": { - "text": { - "description": "Optional. The collection of the agent's responses.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentParameter": { - "description": "Represents intent parameters.", - "id": "GoogleCloudDialogflowV2IntentParameter", - "properties": { - "defaultValue": { - "description": "Optional. The default value to use when the `value` yields an empty\nresult.\nDefault values can be extracted from contexts by using the following\nsyntax: `#context_name.parameter_name`.", - "type": "string" - }, - "displayName": { - "description": "Required. The name of the parameter.", - "type": "string" - }, - "entityTypeDisplayName": { - "description": "Optional. The name of the entity type, prefixed with `@`, that\ndescribes values of the parameter. If the parameter is\nrequired, this must be provided.", - "type": "string" - }, - "isList": { - "description": "Optional. Indicates whether the parameter represents a list of values.", - "type": "boolean" - }, - "mandatory": { - "description": "Optional. Indicates whether the parameter is required. That is,\nwhether the intent cannot be completed without collecting the parameter\nvalue.", - "type": "boolean" - }, - "name": { - "description": "The unique identifier of this parameter.", - "type": "string" - }, - "prompts": { - "description": "Optional. The collection of prompts that the agent can present to the\nuser in order to collect a value for the parameter.", - "items": { - "type": "string" - }, - "type": "array" - }, - "value": { - "description": "Optional. The definition of the parameter value. It can be:\n\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentTrainingPhrase": { - "description": "Represents an example that the agent is trained on.", - "id": "GoogleCloudDialogflowV2IntentTrainingPhrase", - "properties": { - "name": { - "description": "Output only. The unique identifier of this training phrase.", - "type": "string" - }, - "parts": { - "description": "Required. The ordered list of training phrase parts.\nThe parts are concatenated in order to form the training phrase.\n\nNote: The API does not automatically annotate training phrases like the\nDialogflow Console does.\n\nNote: Do not forget to include whitespace at part boundaries,\nso the training phrase is well formatted when the parts are concatenated.\n\nIf the training phrase does not need to be annotated with parameters,\nyou just need a single part with only the Part.text field set.\n\nIf you want to annotate the training phrase, you must create multiple\nparts, where the fields of each part are populated in one of two ways:\n\n- `Part.text` is set to a part of the phrase that has no parameters.\n- `Part.text` is set to a part of the phrase that you want to annotate,\n and the `entity_type`, `alias`, and `user_defined` fields are all\n set.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentTrainingPhrasePart" - }, - "type": "array" - }, - "timesAddedCount": { - "description": "Optional. Indicates how many times this example was added to\nthe intent. Each time a developer adds an existing sample by editing an\nintent or training, this counter is increased.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "Required. The type of the training phrase.", - "enum": [ - "TYPE_UNSPECIFIED", - "EXAMPLE", - "TEMPLATE" - ], - "enumDescriptions": [ - "Not specified. This value should never be used.", - "Examples do not contain @-prefixed entity type names, but example parts\ncan be annotated with entity types.", - "Templates are not annotated with entity types, but they can contain\n@-prefixed entity type names as substrings.\nTemplate mode has been deprecated. Example mode is the only supported\nway to create new training phrases. If you have existing training\nphrases that you've created in template mode, those will continue to\nwork." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2IntentTrainingPhrasePart": { - "description": "Represents a part of a training phrase.", - "id": "GoogleCloudDialogflowV2IntentTrainingPhrasePart", - "properties": { - "alias": { - "description": "Optional. The parameter name for the value extracted from the\nannotated part of the example.\nThis field is required for annotated parts of the training phrase.", - "type": "string" - }, - "entityType": { - "description": "Optional. The entity type name prefixed with `@`.\nThis field is required for annotated parts of the training phrase.", - "type": "string" - }, - "text": { - "description": "Required. The text for this part.", - "type": "string" - }, - "userDefined": { - "description": "Optional. Indicates whether the text was manually annotated.\nThis field is set to true when the Dialogflow Console is used to\nmanually annotate the part. When creating an annotated part with the\nAPI, you must set this to true.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2Message": { - "description": "Represents a message posted into a conversation.", - "id": "GoogleCloudDialogflowV2Message", - "properties": { - "content": { - "description": "Required. The message content.", - "type": "string" - }, - "createTime": { - "description": "Output only. The time when the message was created.", - "format": "google-datetime", - "type": "string" - }, - "languageCode": { - "description": "Optional. The message language.\nThis should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)\nlanguage tag. Example: \"en-US\".", - "type": "string" - }, - "messageAnnotation": { - "$ref": "GoogleCloudDialogflowV2MessageAnnotation", - "description": "Output only. The annotation for the message." - }, - "name": { - "description": "The unique identifier of the message.\nFormat: `projects//conversations//messages/`.", - "type": "string" - }, - "participant": { - "description": "Output only. The participant that sends this message.", - "type": "string" - }, - "participantRole": { - "description": "Output only. The role of the participant.", - "enum": [ - "ROLE_UNSPECIFIED", - "HUMAN_AGENT", - "AUTOMATED_AGENT", - "END_USER" - ], - "enumDescriptions": [ - "Participant role not set.", - "Participant is a human agent.", - "Participant is an automated agent, such as a Dialogflow agent.", - "Participant is an end user that has called or chatted with\nDialogflow services." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2MessageAnnotation": { - "description": "Represents the result of annotation for the message.", - "id": "GoogleCloudDialogflowV2MessageAnnotation", - "properties": { - "containEntities": { - "description": "Indicates whether the text message contains entities.", - "type": "boolean" - }, - "parts": { - "description": "The collection of annotated message parts ordered by their\nposition in the message. You can recover the annotated message by\nconcatenating [AnnotatedMessagePart.text].", - "items": { - "$ref": "GoogleCloudDialogflowV2AnnotatedMessagePart" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2OriginalDetectIntentRequest": { - "description": "Represents the contents of the original request that was passed to\nthe `[Streaming]DetectIntent` call.", - "id": "GoogleCloudDialogflowV2OriginalDetectIntentRequest", - "properties": { - "payload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Optional. This field is set to the value of the `QueryParameters.payload`\nfield passed in the request. Some integrations that query a Dialogflow\nagent may provide additional information in the payload.\n\nIn particular, for the Dialogflow Phone Gateway integration, this field has\nthe form:\n
                      {\n \"telephony\": {\n   \"caller_id\": \"+18558363987\"\n }\n}
                      \nNote: The caller ID field (`caller_id`) will be redacted for Standard\nEdition agents and populated with the caller ID in [E.164\nformat](https://en.wikipedia.org/wiki/E.164) for Enterprise Edition agents.", - "type": "object" - }, - "source": { - "description": "The source of this request, e.g., `google`, `facebook`, `slack`. It is set\nby Dialogflow-owned servers.", - "type": "string" - }, - "version": { - "description": "Optional. The version of the protocol used for this request.\nThis field is AoG-specific.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2QueryResult": { - "description": "Represents the result of conversational query or event processing.", - "id": "GoogleCloudDialogflowV2QueryResult", - "properties": { - "action": { - "description": "The action name from the matched intent.", - "type": "string" - }, - "allRequiredParamsPresent": { - "description": "This field is set to:\n\n- `false` if the matched intent has required parameters and not all of\n the required parameter values have been collected.\n- `true` if all required parameter values have been collected, or if the\n matched intent doesn't contain any required parameters.", - "type": "boolean" - }, - "diagnosticInfo": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Free-form diagnostic information for the associated detect intent request.\nThe fields of this data can change without notice, so you should not write\ncode that depends on its structure.\nThe data may contain:\n\n- webhook call latency\n- webhook errors", - "type": "object" - }, - "fulfillmentMessages": { - "description": "The collection of rich messages to present to the user.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessage" - }, - "type": "array" - }, - "fulfillmentText": { - "description": "The text to be pronounced to the user or shown on the screen.\nNote: This is a legacy field, `fulfillment_messages` should be preferred.", - "type": "string" - }, - "intent": { - "$ref": "GoogleCloudDialogflowV2Intent", - "description": "The intent that matched the conversational query. Some, not\nall fields are filled in this message, including but not limited to:\n`name`, `display_name`, `end_interaction` and `is_fallback`." - }, - "intentDetectionConfidence": { - "description": "The intent detection confidence. Values range from 0.0\n(completely uncertain) to 1.0 (completely certain).\nThis value is for informational purpose only and is only used to\nhelp match the best intent within the classification threshold.\nThis value may change for the same end-user expression at any time due to a\nmodel retraining or change in implementation.\nIf there are `multiple knowledge_answers` messages, this value is set to\nthe greatest `knowledgeAnswers.match_confidence` value in the list.", - "format": "float", - "type": "number" - }, - "languageCode": { - "description": "The language that was triggered during intent detection.\nSee [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes.", - "type": "string" - }, - "outputContexts": { - "description": "The collection of output contexts. If applicable,\n`output_contexts.parameters` contains entries with name\n`.original` containing the original parameter values\nbefore the query.", - "items": { - "$ref": "GoogleCloudDialogflowV2Context" - }, - "type": "array" - }, - "parameters": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The collection of extracted parameters.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value", - "type": "object" - }, - "queryText": { - "description": "The original conversational query text:\n\n- If natural language text was provided as input, `query_text` contains\n a copy of the input.\n- If natural language speech audio was provided as input, `query_text`\n contains the speech recognition result. If speech recognizer produced\n multiple alternatives, a particular one is picked.\n- If automatic spell correction is enabled, `query_text` will contain the\n corrected user input.", - "type": "string" - }, - "sentimentAnalysisResult": { - "$ref": "GoogleCloudDialogflowV2SentimentAnalysisResult", - "description": "The sentiment analysis result, which depends on the\n`sentiment_analysis_request_config` specified in the request." - }, - "speechRecognitionConfidence": { - "description": "The Speech recognition confidence between 0.0 and 1.0. A higher number\nindicates an estimated greater likelihood that the recognized words are\ncorrect. The default of 0.0 is a sentinel value indicating that confidence\nwas not set.\n\nThis field is not guaranteed to be accurate or set. In particular this\nfield isn't set for StreamingDetectIntent since the streaming endpoint has\nseparate confidence estimates per portion of the audio in\nStreamingRecognitionResult.", - "format": "float", - "type": "number" - }, - "webhookPayload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "If the query was fulfilled by a webhook call, this field is set to the\nvalue of the `payload` field returned in the webhook response.", - "type": "object" - }, - "webhookSource": { - "description": "If the query was fulfilled by a webhook call, this field is set to the\nvalue of the `source` field returned in the webhook response.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2Sentiment": { - "description": "The sentiment, such as positive/negative feeling or association, for a unit\nof analysis, such as the query text.", - "id": "GoogleCloudDialogflowV2Sentiment", - "properties": { - "magnitude": { - "description": "A non-negative number in the [0, +inf) range, which represents the absolute\nmagnitude of sentiment, regardless of score (positive or negative).", - "format": "float", - "type": "number" - }, - "score": { - "description": "Sentiment score between -1.0 (negative sentiment) and 1.0 (positive\nsentiment).", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2SentimentAnalysisResult": { - "description": "The result of sentiment analysis as configured by\n`sentiment_analysis_request_config`.", - "id": "GoogleCloudDialogflowV2SentimentAnalysisResult", - "properties": { - "queryTextSentiment": { - "$ref": "GoogleCloudDialogflowV2Sentiment", - "description": "The sentiment analysis result for `query_text`." - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2SessionEntityType": { - "description": "Represents a session entity type.\n\nExtends or replaces a custom entity type at the user session level (we\nrefer to the entity types defined at the agent level as \"custom entity\ntypes\").\n\nNote: session entity types apply to all queries, regardless of the language.", - "id": "GoogleCloudDialogflowV2SessionEntityType", - "properties": { - "entities": { - "description": "Required. The collection of entities associated with this session entity\ntype.", - "items": { - "$ref": "GoogleCloudDialogflowV2EntityTypeEntity" - }, - "type": "array" - }, - "entityOverrideMode": { - "description": "Required. Indicates whether the additional data should override or\nsupplement the custom entity type definition.", - "enum": [ - "ENTITY_OVERRIDE_MODE_UNSPECIFIED", - "ENTITY_OVERRIDE_MODE_OVERRIDE", - "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - ], - "enumDescriptions": [ - "Not specified. This value should be never used.", - "The collection of session entities overrides the collection of entities\nin the corresponding custom entity type.", - "The collection of session entities extends the collection of entities in\nthe corresponding custom entity type.\n\nNote: Even in this override mode calls to `ListSessionEntityTypes`,\n`GetSessionEntityType`, `CreateSessionEntityType` and\n`UpdateSessionEntityType` only return the additional entities added in\nthis session entity type. If you want to get the supplemented list,\nplease call EntityTypes.GetEntityType on the custom entity type\nand merge." - ], - "type": "string" - }, - "name": { - "description": "Required. The unique identifier of this session entity type. Format:\n`projects//agent/sessions//entityTypes/`, or `projects//agent/environments//users//sessions//entityTypes/`.\nIf `Environment ID` is not specified, we assume default 'draft'\nenvironment. If `User ID` is not specified, we assume default '-' user.\n\n`` must be the display name of an existing entity\ntype in the same agent that will be overridden or supplemented.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2WebhookRequest": { - "description": "The request message for a webhook call.", - "id": "GoogleCloudDialogflowV2WebhookRequest", - "properties": { - "originalDetectIntentRequest": { - "$ref": "GoogleCloudDialogflowV2OriginalDetectIntentRequest", - "description": "Optional. The contents of the original request that was passed to\n`[Streaming]DetectIntent` call." - }, - "queryResult": { - "$ref": "GoogleCloudDialogflowV2QueryResult", - "description": "The result of the conversational query or event processing. Contains the\nsame value as `[Streaming]DetectIntentResponse.query_result`." - }, - "responseId": { - "description": "The unique identifier of the response. Contains the same value as\n`[Streaming]DetectIntentResponse.response_id`.", - "type": "string" - }, - "session": { - "description": "The unique identifier of detectIntent request session.\nCan be used to identify end-user inside webhook implementation.\nFormat: `projects//agent/sessions/`, or\n`projects//agent/environments//users//sessions/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2WebhookResponse": { - "description": "The response message for a webhook call.\n\nThis response is validated by the Dialogflow server. If validation fails,\nan error will be returned in the QueryResult.diagnostic_info field.\nSetting JSON fields to an empty value with the wrong type is a common error.\nTo avoid this error:\n\n- Use `\"\"` for empty strings\n- Use `{}` or `null` for empty objects\n- Use `[]` or `null` for empty arrays\n\nFor more information, see the\n[Protocol Buffers Language\nGuide](https://developers.google.com/protocol-buffers/docs/proto3#json).", - "id": "GoogleCloudDialogflowV2WebhookResponse", - "properties": { - "followupEventInput": { - "$ref": "GoogleCloudDialogflowV2EventInput", - "description": "Optional. Invokes the supplied events.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields." - }, - "fulfillmentMessages": { - "description": "Optional. The rich response messages intended for the end-user.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_messages sent to the integration or API caller.", - "items": { - "$ref": "GoogleCloudDialogflowV2IntentMessage" - }, - "type": "array" - }, - "fulfillmentText": { - "description": "Optional. The text response message intended for the end-user.\nIt is recommended to use `fulfillment_messages.text.text[0]` instead.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_text sent to the integration or API caller.", - "type": "string" - }, - "outputContexts": { - "description": "Optional. The collection of output contexts that will overwrite currently\nactive contexts for the session and reset their lifespans.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.output_contexts sent to the integration or API caller.", - "items": { - "$ref": "GoogleCloudDialogflowV2Context" - }, - "type": "array" - }, - "payload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Optional. This field can be used to pass custom data from your webhook to the\nintegration or API caller. Arbitrary JSON objects are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_payload sent to the integration or API caller.\nThis field is also used by the\n[Google Assistant\nintegration](https://cloud.google.com/dialogflow/docs/integrations/aog)\nfor rich response messages.\nSee the format definition at [Google Assistant Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)", - "type": "object" - }, - "sessionEntityTypes": { - "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session. Setting this data from a webhook overwrites\nthe session entity types that have been set using `detectIntent`,\n`streamingDetectIntent` or SessionEntityType management methods.", - "items": { - "$ref": "GoogleCloudDialogflowV2SessionEntityType" - }, - "type": "array" - }, - "source": { - "description": "Optional. A custom field used to identify the webhook source.\nArbitrary strings are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_source sent to the integration or API caller.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1AnnotatedConversationDataset": { - "description": "Represents an annotated conversation dataset.\nConversationDataset can have multiple AnnotatedConversationDataset, each of\nthem represents one result from one annotation task.\nAnnotatedConversationDataset can only be generated from annotation task,\nwhich will be triggered by LabelConversation.", - "id": "GoogleCloudDialogflowV2beta1AnnotatedConversationDataset", - "properties": { - "completedExampleCount": { - "description": "Output only. Number of examples that have annotations in the annotated\nconversation dataset.", - "format": "int64", - "type": "string" - }, - "createTime": { - "description": "Output only. Creation time of this annotated conversation dataset.", - "format": "google-datetime", - "type": "string" - }, - "description": { - "description": "Optional. The description of the annotated conversation dataset.\nMaximum of 10000 bytes.", - "type": "string" - }, - "displayName": { - "description": "Required. The display name of the annotated conversation dataset.\nIt's specified when user starts an annotation task. Maximum of 64 bytes.", - "type": "string" - }, - "exampleCount": { - "description": "Output only. Number of examples in the annotated conversation dataset.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Output only. AnnotatedConversationDataset resource name. Format:\n`projects//conversationDatasets//annotatedConversationDatasets/`", - "type": "string" - }, - "questionTypeName": { - "description": "Output only. Question type name that identifies a labeling task.\nA question is a single task that a worker answers. A question type is set\nof related questions. Each question belongs to a particular question type.\nIt can be used in CrowdCompute UI to filter and manage labeling tasks.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse": { - "description": "The response message for EntityTypes.BatchUpdateEntityTypes.", - "id": "GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse", - "properties": { - "entityTypes": { - "description": "The collection of updated or created entity types.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1EntityType" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse": { - "description": "The response message for Intents.BatchUpdateIntents.", - "id": "GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse", - "properties": { - "intents": { - "description": "The collection of updated or created intents.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1Intent" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1Context": { - "description": "Represents a context.", - "id": "GoogleCloudDialogflowV2beta1Context", - "properties": { - "lifespanCount": { - "description": "Optional. The number of conversational query requests after which the\ncontext expires. The default is `0`. If set to `0`, the context expires\nimmediately. Contexts expire automatically after 20 minutes if there\nare no matching queries.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "Required. The unique identifier of the context. Format:\n`projects//agent/sessions//contexts/`,\nor `projects//agent/environments//users//sessions//contexts/`.\n\nThe `Context ID` is always converted to lowercase, may only contain\ncharacters in a-zA-Z0-9_-% and may be at most 250 bytes long.\n\nIf `Environment ID` is not specified, we assume default 'draft'\nenvironment. If `User ID` is not specified, we assume default '-' user.\n\nThe following context names are reserved for internal use by Dialogflow.\nYou should not use these contexts or create contexts with these names:\n\n* `__system_counters__`\n* `*_id_dialog_context`\n* `*_dialog_params_size`", - "type": "string" - }, - "parameters": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Optional. The collection of parameters associated with this context.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1EntityType": { - "description": "Represents an entity type.\nEntity types serve as a tool for extracting parameter values from natural\nlanguage queries.", - "id": "GoogleCloudDialogflowV2beta1EntityType", - "properties": { - "autoExpansionMode": { - "description": "Optional. Indicates whether the entity type can be automatically\nexpanded.", - "enum": [ - "AUTO_EXPANSION_MODE_UNSPECIFIED", - "AUTO_EXPANSION_MODE_DEFAULT" - ], - "enumDescriptions": [ - "Auto expansion disabled for the entity.", - "Allows an agent to recognize values that have not been explicitly\nlisted in the entity." - ], - "type": "string" - }, - "displayName": { - "description": "Required. The name of the entity type.", - "type": "string" - }, - "enableFuzzyExtraction": { - "description": "Optional. Enables fuzzy entity extraction during classification.", - "type": "boolean" - }, - "entities": { - "description": "Optional. The collection of entity entries associated with the entity type.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" - }, - "type": "array" - }, - "kind": { - "description": "Required. Indicates the kind of entity type.", - "enum": [ - "KIND_UNSPECIFIED", - "KIND_MAP", - "KIND_LIST", - "KIND_REGEXP" - ], - "enumDescriptions": [ - "Not specified. This value should be never used.", - "Map entity types allow mapping of a group of synonyms to a reference\nvalue.", - "List entity types contain a set of entries that do not map to reference\nvalues. However, list entity types can contain references to other entity\ntypes (with or without aliases).", - "Regexp entity types allow to specify regular expressions in entries\nvalues." - ], - "type": "string" - }, - "name": { - "description": "The unique identifier of the entity type.\nRequired for EntityTypes.UpdateEntityType and\nEntityTypes.BatchUpdateEntityTypes methods.\nFormat: `projects//agent/entityTypes/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1EntityTypeEntity": { - "description": "An **entity entry** for an associated entity type.", - "id": "GoogleCloudDialogflowV2beta1EntityTypeEntity", - "properties": { - "synonyms": { - "description": "Required. A collection of value synonyms. For example, if the entity type\nis *vegetable*, and `value` is *scallions*, a synonym could be *green\nonions*.\n\nFor `KIND_LIST` entity types:\n\n* This collection must contain exactly one synonym equal to `value`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "value": { - "description": "Required. The primary value associated with this entity entry.\nFor example, if the entity type is *vegetable*, the value could be\n*scallions*.\n\nFor `KIND_MAP` entity types:\n\n* A reference value to be used in place of synonyms.\n\nFor `KIND_LIST` entity types:\n\n* A string that can contain references to other entity types (with or\n without aliases).", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1EventInput": { - "description": "Events allow for matching intents by event name instead of the natural\nlanguage input. For instance, input `` can trigger a personalized welcome response.\nThe parameter `name` may be used by the agent in the response:\n`\"Hello #welcome_event.name! What can I do for you today?\"`.", - "id": "GoogleCloudDialogflowV2beta1EventInput", - "properties": { - "languageCode": { - "description": "Required. The language of this query. See [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes. Note that queries in\nthe same session do not necessarily need to specify the same language.", - "type": "string" - }, - "name": { - "description": "Required. The unique identifier of the event.", - "type": "string" - }, - "parameters": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The collection of parameters associated with the event.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1ExportAgentResponse": { - "description": "The response message for Agents.ExportAgent.", - "id": "GoogleCloudDialogflowV2beta1ExportAgentResponse", - "properties": { - "agentContent": { - "description": "Zip compressed raw byte content for agent.", - "format": "byte", - "type": "string" - }, - "agentUri": { - "description": "The URI to a file containing the exported agent. This field is populated\nonly if `agent_uri` is specified in `ExportAgentRequest`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1Intent": { - "description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.", - "id": "GoogleCloudDialogflowV2beta1Intent", - "properties": { - "action": { - "description": "Optional. The name of the action associated with the intent.\nNote: The action name must not contain whitespaces.", - "type": "string" - }, - "defaultResponsePlatforms": { - "description": "Optional. The list of platforms for which the first responses will be\ncopied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).", - "enumDescriptions": [ - "Not specified.", - "Facebook.", - "Slack.", - "Telegram.", - "Kik.", - "Skype.", - "Line.", - "Viber.", - "Google Assistant\nSee [Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)", - "Telephony Gateway.", - "Google Hangouts." - ], - "items": { - "enum": [ - "PLATFORM_UNSPECIFIED", - "FACEBOOK", - "SLACK", - "TELEGRAM", - "KIK", - "SKYPE", - "LINE", - "VIBER", - "ACTIONS_ON_GOOGLE", - "TELEPHONY", - "GOOGLE_HANGOUTS" - ], - "type": "string" - }, - "type": "array" - }, - "displayName": { - "description": "Required. The name of this intent.", - "type": "string" - }, - "endInteraction": { - "description": "Optional. Indicates that this intent ends an interaction. Some integrations\n(e.g., Actions on Google or Dialogflow phone gateway) use this information\nto close interaction with an end user. Default is false.", - "type": "boolean" - }, - "events": { - "description": "Optional. The collection of event names that trigger the intent.\nIf the collection of input contexts is not empty, all of the contexts must\nbe present in the active user session for an event to trigger this intent.\nEvent names are limited to 150 characters.", - "items": { - "type": "string" - }, - "type": "array" - }, - "followupIntentInfo": { - "description": "Output only. Information about all followup intents that have this intent as\na direct or indirect parent. We populate this field only in the output.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo" - }, - "type": "array" - }, - "inputContextNames": { - "description": "Optional. The list of context names required for this intent to be\ntriggered.\nFormat: `projects//agent/sessions/-/contexts/`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "isFallback": { - "description": "Optional. Indicates whether this is a fallback intent.", - "type": "boolean" - }, - "messages": { - "description": "Optional. The collection of rich messages corresponding to the\n`Response` field in the Dialogflow console.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessage" - }, - "type": "array" - }, - "mlDisabled": { - "description": "Optional. Indicates whether Machine Learning is disabled for the intent.\nNote: If `ml_disabled` setting is set to true, then this intent is not\ntaken into account during inference in `ML ONLY` match mode. Also,\nauto-markup in the UI is turned off.", - "type": "boolean" - }, - "mlEnabled": { - "description": "Optional. Indicates whether Machine Learning is enabled for the intent.\nNote: If `ml_enabled` setting is set to false, then this intent is not\ntaken into account during inference in `ML ONLY` match mode. Also,\nauto-markup in the UI is turned off.\nDEPRECATED! Please use `ml_disabled` field instead.\nNOTE: If both `ml_enabled` and `ml_disabled` are either not set or false,\nthen the default value is determined as follows:\n- Before April 15th, 2018 the default is:\n ml_enabled = false / ml_disabled = true.\n- After April 15th, 2018 the default is:\n ml_enabled = true / ml_disabled = false.", - "type": "boolean" - }, - "name": { - "description": "Optional. The unique identifier of this intent.\nRequired for Intents.UpdateIntent and Intents.BatchUpdateIntents\nmethods.\nFormat: `projects//agent/intents/`.", - "type": "string" - }, - "outputContexts": { - "description": "Optional. The collection of contexts that are activated when the intent\nis matched. Context messages in this collection should not set the\nparameters field. Setting the `lifespan_count` to 0 will reset the context\nwhen the intent is matched.\nFormat: `projects//agent/sessions/-/contexts/`.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1Context" - }, - "type": "array" - }, - "parameters": { - "description": "Optional. The collection of parameters associated with the intent.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentParameter" - }, - "type": "array" - }, - "parentFollowupIntentName": { - "description": "Optional. The unique identifier of the parent intent in the\nchain of followup intents. You can set this field when creating an intent,\nfor example with CreateIntent or\nBatchUpdateIntents, in order to make this\nintent a followup intent.\n\nIt identifies the parent followup intent.\nFormat: `projects//agent/intents/`.", - "type": "string" - }, - "priority": { - "description": "Optional. The priority of this intent. Higher numbers represent higher\npriorities.\n\n- If the supplied value is unspecified or 0, the service\n translates the value to 500,000, which corresponds to the\n `Normal` priority in the console.\n- If the supplied value is negative, the intent is ignored\n in runtime detect intent requests.", - "format": "int32", - "type": "integer" - }, - "resetContexts": { - "description": "Optional. Indicates whether to delete all contexts in the current\nsession when this intent is matched.", - "type": "boolean" - }, - "rootFollowupIntentName": { - "description": "Output only. The unique identifier of the root intent in the chain of\nfollowup intents. It identifies the correct followup intents chain for\nthis intent.\n\nFormat: `projects//agent/intents/`.", - "type": "string" - }, - "trainingPhrases": { - "description": "Optional. The collection of examples that the agent is\ntrained on.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase" - }, - "type": "array" - }, - "webhookState": { - "description": "Optional. Indicates whether webhooks are enabled for the intent.", - "enum": [ - "WEBHOOK_STATE_UNSPECIFIED", - "WEBHOOK_STATE_ENABLED", - "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - ], - "enumDescriptions": [ - "Webhook is disabled in the agent and in the intent.", - "Webhook is enabled in the agent and in the intent.", - "Webhook is enabled in the agent and in the intent. Also, each slot\nfilling prompt is forwarded to the webhook." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo": { - "description": "Represents a single followup intent in the chain.", - "id": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo", - "properties": { - "followupIntentName": { - "description": "The unique identifier of the followup intent.\nFormat: `projects//agent/intents/`.", - "type": "string" - }, - "parentFollowupIntentName": { - "description": "The unique identifier of the followup intent's parent.\nFormat: `projects//agent/intents/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessage": { - "description": "Corresponds to the `Response` field in the Dialogflow console.", - "id": "GoogleCloudDialogflowV2beta1IntentMessage", - "properties": { - "basicCard": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard", - "description": "Displays a basic card for Actions on Google." - }, - "browseCarouselCard": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard", - "description": "Browse carousel card for Actions on Google." - }, - "card": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageCard", - "description": "Displays a card." - }, - "carouselSelect": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect", - "description": "Displays a carousel card for Actions on Google." - }, - "image": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", - "description": "Displays an image." - }, - "linkOutSuggestion": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion", - "description": "Displays a link out suggestion chip for Actions on Google." - }, - "listSelect": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelect", - "description": "Displays a list card for Actions on Google." - }, - "mediaContent": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent", - "description": "The media content card for Actions on Google." - }, - "payload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "A custom platform-specific response.", - "type": "object" - }, - "platform": { - "description": "Optional. The platform that this message is intended for.", - "enum": [ - "PLATFORM_UNSPECIFIED", - "FACEBOOK", - "SLACK", - "TELEGRAM", - "KIK", - "SKYPE", - "LINE", - "VIBER", - "ACTIONS_ON_GOOGLE", - "TELEPHONY", - "GOOGLE_HANGOUTS" - ], - "enumDescriptions": [ - "Not specified.", - "Facebook.", - "Slack.", - "Telegram.", - "Kik.", - "Skype.", - "Line.", - "Viber.", - "Google Assistant\nSee [Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)", - "Telephony Gateway.", - "Google Hangouts." - ], - "type": "string" - }, - "quickReplies": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies", - "description": "Displays quick replies." - }, - "rbmCarouselRichCard": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard", - "description": "Rich Business Messaging (RBM) carousel rich card response." - }, - "rbmStandaloneRichCard": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard", - "description": "Standalone Rich Business Messaging (RBM) rich card response." - }, - "rbmText": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmText", - "description": "Rich Business Messaging (RBM) text response.\n\nRBM allows businesses to send enriched and branded versions of SMS. See\nhttps://jibe.google.com/business-messaging." - }, - "simpleResponses": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses", - "description": "Returns a voice or text-only response for Actions on Google." - }, - "suggestions": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions", - "description": "Displays suggestion chips for Actions on Google." - }, - "tableCard": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCard", - "description": "Table card for Actions on Google." - }, - "telephonyPlayAudio": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio", - "description": "Plays audio from a file in Telephony Gateway." - }, - "telephonySynthesizeSpeech": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech", - "description": "Synthesizes speech in Telephony Gateway." - }, - "telephonyTransferCall": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall", - "description": "Transfers the call in Telephony Gateway." - }, - "text": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageText", - "description": "Returns a text response." - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageBasicCard": { - "description": "The basic card message. Useful for displaying information.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard", - "properties": { - "buttons": { - "description": "Optional. The collection of card buttons.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" - }, - "type": "array" - }, - "formattedText": { - "description": "Required, unless image is present. The body text of the card.", - "type": "string" - }, - "image": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", - "description": "Optional. The image for the card." - }, - "subtitle": { - "description": "Optional. The subtitle of the card.", - "type": "string" - }, - "title": { - "description": "Optional. The title of the card.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton": { - "description": "The button object that appears at the bottom of a card.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton", - "properties": { - "openUriAction": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction", - "description": "Required. Action to take when a user taps on the button." - }, - "title": { - "description": "Required. The title of the button.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction": { - "description": "Opens the given URI.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction", - "properties": { - "uri": { - "description": "Required. The HTTP or HTTPS scheme URI.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard": { - "description": "Browse Carousel Card for Actions on Google.\nhttps://developers.google.com/actions/assistant/responses#browsing_carousel", - "id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard", - "properties": { - "imageDisplayOptions": { - "description": "Optional. Settings for displaying the image. Applies to every image in\nitems.", - "enum": [ - "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", - "GRAY", - "WHITE", - "CROPPED", - "BLURRED_BACKGROUND" - ], - "enumDescriptions": [ - "Fill the gaps between the image and the image container with gray\nbars.", - "Fill the gaps between the image and the image container with gray\nbars.", - "Fill the gaps between the image and the image container with white\nbars.", - "Image is scaled such that the image width and height match or exceed\nthe container dimensions. This may crop the top and bottom of the\nimage if the scaled image height is greater than the container\nheight, or crop the left and right of the image if the scaled image\nwidth is greater than the container width. This is similar to \"Zoom\nMode\" on a widescreen TV when playing a 4:3 video.", - "Pad the gaps between image and image frame with a blurred copy of the\nsame image." - ], - "type": "string" - }, - "items": { - "description": "Required. List of items in the Browse Carousel Card. Minimum of two\nitems, maximum of ten.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { - "description": "Browsing carousel tile", - "id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem", - "properties": { - "description": { - "description": "Optional. Description of the carousel item. Maximum of four lines of\ntext.", - "type": "string" - }, - "footer": { - "description": "Optional. Text that appears at the bottom of the Browse Carousel\nCard. Maximum of one line of text.", - "type": "string" - }, - "image": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", - "description": "Optional. Hero image for the carousel item." - }, - "openUriAction": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", - "description": "Required. Action to present to the user." - }, - "title": { - "description": "Required. Title of the carousel item. Maximum of two lines of text.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { - "description": "Actions on Google action to open a given url.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", - "properties": { - "url": { - "description": "Required. URL", - "type": "string" - }, - "urlTypeHint": { - "description": "Optional. Specifies the type of viewer that is used when opening\nthe URL. Defaults to opening via web browser.", - "enum": [ - "URL_TYPE_HINT_UNSPECIFIED", - "AMP_ACTION", - "AMP_CONTENT" - ], - "enumDescriptions": [ - "Unspecified", - "Url would be an amp action", - "URL that points directly to AMP content, or to a canonical URL\nwhich refers to AMP content via ." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageCard": { - "description": "The card response message.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageCard", - "properties": { - "buttons": { - "description": "Optional. The collection of card buttons.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageCardButton" - }, - "type": "array" - }, - "imageUri": { - "description": "Optional. The public URI to an image file for the card.", - "type": "string" - }, - "subtitle": { - "description": "Optional. The subtitle of the card.", - "type": "string" - }, - "title": { - "description": "Optional. The title of the card.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageCardButton": { - "description": "Optional. Contains information about a button.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageCardButton", - "properties": { - "postback": { - "description": "Optional. The text to send back to the Dialogflow API or a URI to\nopen.", - "type": "string" - }, - "text": { - "description": "Optional. The text to show on the button.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect": { - "description": "The card for presenting a carousel of options to select from.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect", - "properties": { - "items": { - "description": "Required. Carousel items.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem": { - "description": "An item in the carousel.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem", - "properties": { - "description": { - "description": "Optional. The body text of the card.", - "type": "string" - }, - "image": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", - "description": "Optional. The image to display." - }, - "info": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo", - "description": "Required. Additional info about the option item." - }, - "title": { - "description": "Required. Title of the carousel item.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties": { - "description": "Column properties for TableCard.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties", - "properties": { - "header": { - "description": "Required. Column heading.", - "type": "string" - }, - "horizontalAlignment": { - "description": "Optional. Defines text alignment for all cells in this column.", - "enum": [ - "HORIZONTAL_ALIGNMENT_UNSPECIFIED", - "LEADING", - "CENTER", - "TRAILING" - ], - "enumDescriptions": [ - "Text is aligned to the leading edge of the column.", - "Text is aligned to the leading edge of the column.", - "Text is centered in the column.", - "Text is aligned to the trailing edge of the column." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageImage": { - "description": "The image response message.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageImage", - "properties": { - "accessibilityText": { - "description": "A text description of the image to be used for accessibility,\ne.g., screen readers. Required if image_uri is set for CarouselSelect.", - "type": "string" - }, - "imageUri": { - "description": "Optional. The public URI to an image file.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion": { - "description": "The suggestion chip message that allows the user to jump out to the app\nor website associated with this agent.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion", - "properties": { - "destinationName": { - "description": "Required. The name of the app or site this chip is linking to.", - "type": "string" - }, - "uri": { - "description": "Required. The URI of the app or site to open when the user taps the\nsuggestion chip.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageListSelect": { - "description": "The card for presenting a list of options to select from.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageListSelect", - "properties": { - "items": { - "description": "Required. List items.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem" - }, - "type": "array" - }, - "subtitle": { - "description": "Optional. Subtitle of the list.", - "type": "string" - }, - "title": { - "description": "Optional. The overall title of the list.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem": { - "description": "An item in the list.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem", - "properties": { - "description": { - "description": "Optional. The main text describing the item.", - "type": "string" - }, - "image": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", - "description": "Optional. The image to display." - }, - "info": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo", - "description": "Required. Additional information about this option." - }, - "title": { - "description": "Required. The title of the list item.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageMediaContent": { - "description": "The media content card for Actions on Google.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent", - "properties": { - "mediaObjects": { - "description": "Required. List of media objects.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject" - }, - "type": "array" - }, - "mediaType": { - "description": "Optional. What type of media is the content (ie \"audio\").", - "enum": [ - "RESPONSE_MEDIA_TYPE_UNSPECIFIED", - "AUDIO" - ], - "enumDescriptions": [ - "Unspecified.", - "Response media type is audio." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject": { - "description": "Response media object for media content card.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject", - "properties": { - "contentUrl": { - "description": "Required. Url where the media is stored.", - "type": "string" - }, - "description": { - "description": "Optional. Description of media card.", - "type": "string" - }, - "icon": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", - "description": "Optional. Icon to display above media content." - }, - "largeImage": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", - "description": "Optional. Image to display above media content." - }, - "name": { - "description": "Required. Name of media card.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies": { - "description": "The quick replies response message.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies", - "properties": { - "quickReplies": { - "description": "Optional. The collection of quick replies.", - "items": { - "type": "string" - }, - "type": "array" - }, - "title": { - "description": "Optional. The title of the collection of quick replies.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent": { - "description": "Rich Business Messaging (RBM) Card content", - "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent", - "properties": { - "description": { - "description": "Optional. Description of the card (at most 2000 bytes).\n\nAt least one of the title, description or media must be set.", - "type": "string" - }, - "media": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia", - "description": "Optional. However at least one of the title, description or media must\nbe set. Media (image, GIF or a video) to include in the card." - }, - "suggestions": { - "description": "Optional. List of suggestions to include in the card.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" - }, - "type": "array" - }, - "title": { - "description": "Optional. Title of the card (at most 200 bytes).\n\nAt least one of the title, description or media must be set.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia": { - "description": "Rich Business Messaging (RBM) Media displayed in Cards\nThe following media-types are currently supported:\n\nImage Types\n\n* image/jpeg\n* image/jpg'\n* image/gif\n* image/png\n\nVideo Types\n\n* video/h263\n* video/m4v\n* video/mp4\n* video/mpeg\n* video/mpeg4\n* video/webm", - "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia", - "properties": { - "fileUri": { - "description": "Required. Publicly reachable URI of the file. The RBM platform\ndetermines the MIME type of the file from the content-type field in\nthe HTTP headers when the platform fetches the file. The content-type\nfield must be present and accurate in the HTTP response from the URL.", - "type": "string" - }, - "height": { - "description": "Required for cards with vertical orientation. The height of the media\nwithin a rich card with a vertical layout. (https://goo.gl/NeFCjz).\nFor a standalone card with horizontal layout, height is not\ncustomizable, and this field is ignored.", - "enum": [ - "HEIGHT_UNSPECIFIED", - "SHORT", - "MEDIUM", - "TALL" - ], - "enumDescriptions": [ - "Not specified.", - "112 DP.", - "168 DP.", - "264 DP. Not available for rich card carousels when the card width\nis set to small." - ], - "type": "string" - }, - "thumbnailUri": { - "description": "Optional. Publicly reachable URI of the thumbnail.If you don't\nprovide a thumbnail URI, the RBM platform displays a blank\nplaceholder thumbnail until the user's device downloads the file.\nDepending on the user's setting, the file may not download\nautomatically and may require the user to tap a download button.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard": { - "description": "Carousel Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nFor more details about RBM rich cards, please see:\nhttps://developers.google.com/business-communications/rcs-business-messaging/guides/build/messages/send#rich-cards\nIf you want to show a single card with more control over the layout,\nplease use RbmStandaloneCard instead.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard", - "properties": { - "cardContents": { - "description": "Required. The cards in the carousel. A carousel must have at least\n2 cards and at most 10.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent" - }, - "type": "array" - }, - "cardWidth": { - "description": "Required. The width of the cards in the carousel.", - "enum": [ - "CARD_WIDTH_UNSPECIFIED", - "SMALL", - "MEDIUM" - ], - "enumDescriptions": [ - "Not specified.", - "120 DP. Note that tall media cannot be used.", - "232 DP." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard": { - "description": "Standalone Rich Business Messaging (RBM) rich card.\n\nRich cards allow you to respond to users with more vivid content, e.g.\nwith media and suggestions.\n\nFor more details about RBM rich cards, please see:\nhttps://developers.google.com/business-communications/rcs-business-messaging/guides/build/messages/send#rich-cards\nYou can group multiple rich cards into one using RbmCarouselCard but\ncarousel cards will give you less control over the card layout.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard", - "properties": { - "cardContent": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent", - "description": "Required. Card content." - }, - "cardOrientation": { - "description": "Required. Orientation of the card.", - "enum": [ - "CARD_ORIENTATION_UNSPECIFIED", - "HORIZONTAL", - "VERTICAL" - ], - "enumDescriptions": [ - "Not specified.", - "Horizontal layout.", - "Vertical layout." - ], - "type": "string" - }, - "thumbnailImageAlignment": { - "description": "Required if orientation is horizontal.\nImage preview alignment for standalone cards with horizontal layout.", - "enum": [ - "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", - "LEFT", - "RIGHT" - ], - "enumDescriptions": [ - "Not specified.", - "Thumbnail preview is left-aligned.", - "Thumbnail preview is right-aligned." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction": { - "description": "Rich Business Messaging (RBM) suggested client-side action that the user\ncan choose from the card.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction", - "properties": { - "dial": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial", - "description": "Suggested client side action: Dial a phone number" - }, - "openUrl": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri", - "description": "Suggested client side action: Open a URI on device" - }, - "postbackData": { - "description": "Opaque payload that the Dialogflow receives in a user event\nwhen the user taps the suggested action. This data will be also\nforwarded to webhook to allow performing custom business logic.", - "type": "string" - }, - "shareLocation": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation", - "description": "Suggested client side action: Share user location" - }, - "text": { - "description": "Text to display alongside the action.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial": { - "description": "Opens the user's default dialer app with the specified phone number\nbut does not dial automatically (https://goo.gl/ergbB2).", - "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial", - "properties": { - "phoneNumber": { - "description": "Required. The phone number to fill in the default dialer app.\nThis field should be in [E.164](https://en.wikipedia.org/wiki/E.164)\nformat. An example of a correctly formatted phone number:\n+15556767888.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri": { - "description": "Opens the user's default web browser app to the specified uri\n(https://goo.gl/6GLJD2). If the user has an app installed that is\nregistered as the default handler for the URL, then this app will be\nopened instead, and its icon will be used in the suggested action UI.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri", - "properties": { - "uri": { - "description": "Required. The uri to open on the user device", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation": { - "description": "Opens the device's location chooser so the user can pick a location\nto send back to the agent (https://goo.gl/GXotJW).", - "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation", - "properties": {}, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply": { - "description": "Rich Business Messaging (RBM) suggested reply that the user can click\ninstead of typing in their own response.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply", - "properties": { - "postbackData": { - "description": "Opaque payload that the Dialogflow receives in a user event\nwhen the user taps the suggested reply. This data will be also\nforwarded to webhook to allow performing custom business logic.", - "type": "string" - }, - "text": { - "description": "Suggested reply text.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion": { - "description": "Rich Business Messaging (RBM) suggestion. Suggestions allow user to\neasily select/click a predefined response or perform an action (like\nopening a web uri).", - "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion", - "properties": { - "action": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction", - "description": "Predefined client side actions that user can choose" - }, - "reply": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply", - "description": "Predefined replies for user to select instead of typing" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageRbmText": { - "description": "Rich Business Messaging (RBM) text response with suggestions.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageRbmText", - "properties": { - "rbmSuggestion": { - "description": "Optional. One or more suggestions to show to the user.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" - }, - "type": "array" - }, - "text": { - "description": "Required. Text sent and displayed to the user.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo": { - "description": "Additional info about the select item for when it is triggered in a\ndialog.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo", - "properties": { - "key": { - "description": "Required. A unique key that will be sent back to the agent if this\nresponse is given.", - "type": "string" - }, - "synonyms": { - "description": "Optional. A list of synonyms that can also be used to trigger this\nitem in dialog.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse": { - "description": "The simple response message containing speech or text.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse", - "properties": { - "displayText": { - "description": "Optional. The text to display.", - "type": "string" - }, - "ssml": { - "description": "One of text_to_speech or ssml must be provided. Structured spoken\nresponse to the user in the SSML format. Mutually exclusive with\ntext_to_speech.", - "type": "string" - }, - "textToSpeech": { - "description": "One of text_to_speech or ssml must be provided. The plain text of the\nspeech output. Mutually exclusive with ssml.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses": { - "description": "The collection of simple response candidates.\nThis message in `QueryResult.fulfillment_messages` and\n`WebhookResponse.fulfillment_messages` should contain only one\n`SimpleResponse`.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses", - "properties": { - "simpleResponses": { - "description": "Required. The list of simple responses.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageSuggestion": { - "description": "The suggestion chip message that the user can tap to quickly post a reply\nto the conversation.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion", - "properties": { - "title": { - "description": "Required. The text shown the in the suggestion chip.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageSuggestions": { - "description": "The collection of suggestions.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions", - "properties": { - "suggestions": { - "description": "Required. The list of suggested replies.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageTableCard": { - "description": "Table card for Actions on Google.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageTableCard", - "properties": { - "buttons": { - "description": "Optional. List of buttons for the card.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" - }, - "type": "array" - }, - "columnProperties": { - "description": "Optional. Display properties for the columns in this table.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties" - }, - "type": "array" - }, - "image": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage", - "description": "Optional. Image which should be displayed on the card." - }, - "rows": { - "description": "Optional. Rows in this table of data.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow" - }, - "type": "array" - }, - "subtitle": { - "description": "Optional. Subtitle to the title.", - "type": "string" - }, - "title": { - "description": "Required. Title of the card.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell": { - "description": "Cell of TableCardRow.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell", - "properties": { - "text": { - "description": "Required. Text in this cell.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow": { - "description": "Row of TableCard.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow", - "properties": { - "cells": { - "description": "Optional. List of cells that make up this row.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell" - }, - "type": "array" - }, - "dividerAfter": { - "description": "Optional. Whether to add a visual divider after this row.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio": { - "description": "Plays audio from a file in Telephony Gateway.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio", - "properties": { - "audioUri": { - "description": "Required. URI to a Google Cloud Storage object containing the audio to\nplay, e.g., \"gs://bucket/object\". The object must contain a single\nchannel (mono) of linear PCM audio (2 bytes / sample) at 8kHz.\n\nThis object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account\nwhere is the number of the Telephony Gateway project\n(usually the same as the Dialogflow agent project). If the Google Cloud\nStorage bucket is in the Telephony Gateway project, this permission is\nadded by default when enabling the Dialogflow V2 API.\n\nFor audio from other sources, consider using the\n`TelephonySynthesizeSpeech` message with SSML.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech": { - "description": "Synthesizes speech and plays back the synthesized audio to the caller in\nTelephony Gateway.\n\nTelephony Gateway takes the synthesizer settings from\n`DetectIntentResponse.output_audio_config` which can either be set\nat request-level or can come from the agent-level synthesizer config.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech", - "properties": { - "ssml": { - "description": "The SSML to be synthesized. For more information, see\n[SSML](https://developers.google.com/actions/reference/ssml).", - "type": "string" - }, - "text": { - "description": "The raw text to be synthesized.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall": { - "description": "Transfers the call in Telephony Gateway.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall", - "properties": { - "phoneNumber": { - "description": "Required. The phone number to transfer the call to\nin [E.164 format](https://en.wikipedia.org/wiki/E.164).\n\nWe currently only allow transferring to US numbers (+1xxxyyyzzzz).", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentMessageText": { - "description": "The text response message.", - "id": "GoogleCloudDialogflowV2beta1IntentMessageText", - "properties": { - "text": { - "description": "Optional. The collection of the agent's responses.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentParameter": { - "description": "Represents intent parameters.", - "id": "GoogleCloudDialogflowV2beta1IntentParameter", - "properties": { - "defaultValue": { - "description": "Optional. The default value to use when the `value` yields an empty\nresult.\nDefault values can be extracted from contexts by using the following\nsyntax: `#context_name.parameter_name`.", - "type": "string" - }, - "displayName": { - "description": "Required. The name of the parameter.", - "type": "string" - }, - "entityTypeDisplayName": { - "description": "Optional. The name of the entity type, prefixed with `@`, that\ndescribes values of the parameter. If the parameter is\nrequired, this must be provided.", - "type": "string" - }, - "isList": { - "description": "Optional. Indicates whether the parameter represents a list of values.", - "type": "boolean" - }, - "mandatory": { - "description": "Optional. Indicates whether the parameter is required. That is,\nwhether the intent cannot be completed without collecting the parameter\nvalue.", - "type": "boolean" - }, - "name": { - "description": "The unique identifier of this parameter.", - "type": "string" - }, - "prompts": { - "description": "Optional. The collection of prompts that the agent can present to the\nuser in order to collect a value for the parameter.", - "items": { - "type": "string" - }, - "type": "array" - }, - "value": { - "description": "Optional. The definition of the parameter value. It can be:\n\n- a constant string,\n- a parameter value defined as `$parameter_name`,\n- an original parameter value defined as `$parameter_name.original`,\n- a parameter value from some context defined as\n `#context_name.parameter_name`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentTrainingPhrase": { - "description": "Represents an example that the agent is trained on.", - "id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase", - "properties": { - "name": { - "description": "Output only. The unique identifier of this training phrase.", - "type": "string" - }, - "parts": { - "description": "Required. The ordered list of training phrase parts.\nThe parts are concatenated in order to form the training phrase.\n\nNote: The API does not automatically annotate training phrases like the\nDialogflow Console does.\n\nNote: Do not forget to include whitespace at part boundaries,\nso the training phrase is well formatted when the parts are concatenated.\n\nIf the training phrase does not need to be annotated with parameters,\nyou just need a single part with only the Part.text field set.\n\nIf you want to annotate the training phrase, you must create multiple\nparts, where the fields of each part are populated in one of two ways:\n\n- `Part.text` is set to a part of the phrase that has no parameters.\n- `Part.text` is set to a part of the phrase that you want to annotate,\n and the `entity_type`, `alias`, and `user_defined` fields are all\n set.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart" - }, - "type": "array" - }, - "timesAddedCount": { - "description": "Optional. Indicates how many times this example was added to\nthe intent. Each time a developer adds an existing sample by editing an\nintent or training, this counter is increased.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "Required. The type of the training phrase.", - "enum": [ - "TYPE_UNSPECIFIED", - "EXAMPLE", - "TEMPLATE" - ], - "enumDescriptions": [ - "Not specified. This value should never be used.", - "Examples do not contain @-prefixed entity type names, but example parts\ncan be annotated with entity types.", - "Templates are not annotated with entity types, but they can contain\n@-prefixed entity type names as substrings.\nTemplate mode has been deprecated. Example mode is the only supported\nway to create new training phrases. If you have existing training\nphrases that you've created in template mode, those will continue to\nwork." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart": { - "description": "Represents a part of a training phrase.", - "id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart", - "properties": { - "alias": { - "description": "Optional. The parameter name for the value extracted from the\nannotated part of the example.\nThis field is required for annotated parts of the training phrase.", - "type": "string" - }, - "entityType": { - "description": "Optional. The entity type name prefixed with `@`.\nThis field is required for annotated parts of the training phrase.", - "type": "string" - }, - "text": { - "description": "Required. The text for this part.", - "type": "string" - }, - "userDefined": { - "description": "Optional. Indicates whether the text was manually annotated.\nThis field is set to true when the Dialogflow Console is used to\nmanually annotate the part. When creating an annotated part with the\nAPI, you must set this to true.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1KnowledgeAnswers": { - "description": "Represents the result of querying a Knowledge base.", - "id": "GoogleCloudDialogflowV2beta1KnowledgeAnswers", - "properties": { - "answers": { - "description": "A list of answers from Knowledge Connector.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer": { - "description": "An answer from Knowledge Connector.", - "id": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer", - "properties": { - "answer": { - "description": "The piece of text from the `source` knowledge base document that answers\nthis conversational query.", - "type": "string" - }, - "faqQuestion": { - "description": "The corresponding FAQ question if the answer was extracted from a FAQ\nDocument, empty otherwise.", - "type": "string" - }, - "matchConfidence": { - "description": "The system's confidence score that this Knowledge answer is a good match\nfor this conversational query.\nThe range is from 0.0 (completely uncertain) to 1.0 (completely certain).\nNote: The confidence score is likely to vary somewhat (possibly even for\nidentical requests), as the underlying model is under constant\nimprovement. It may be deprecated in the future. We recommend using\n`match_confidence_level` which should be generally more stable.", - "format": "float", - "type": "number" - }, - "matchConfidenceLevel": { - "description": "The system's confidence level that this knowledge answer is a good match\nfor this conversational query.\nNOTE: The confidence level for a given `` pair may change\nwithout notice, as it depends on models that are constantly being\nimproved. However, it will change less frequently than the confidence\nscore below, and should be preferred for referencing the quality of an\nanswer.", - "enum": [ - "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", - "LOW", - "MEDIUM", - "HIGH" - ], - "enumDescriptions": [ - "Not specified.", - "Indicates that the confidence is low.", - "Indicates our confidence is medium.", - "Indicates our confidence is high." - ], - "type": "string" - }, - "source": { - "description": "Indicates which Knowledge Document this answer was extracted from.\nFormat: `projects//knowledgeBases//documents/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata": { - "description": "Metadata in google::longrunning::Operation for Knowledge operations.", - "id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata", - "properties": { - "state": { - "description": "Required. Output only. The current state of this operation.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "RUNNING", - "DONE" - ], - "enumDescriptions": [ - "State unspecified.", - "The operation has been created.", - "The operation is currently running.", - "The operation is done, either cancelled or completed." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1LabelConversationResponse": { - "description": "The response for\nConversationDatasets.LabelConversation.", - "id": "GoogleCloudDialogflowV2beta1LabelConversationResponse", - "properties": { - "annotatedConversationDataset": { - "$ref": "GoogleCloudDialogflowV2beta1AnnotatedConversationDataset", - "description": "New annotated conversation dataset created by the labeling task." - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest": { - "description": "Represents the contents of the original request that was passed to\nthe `[Streaming]DetectIntent` call.", - "id": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest", - "properties": { - "payload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Optional. This field is set to the value of the `QueryParameters.payload`\nfield passed in the request. Some integrations that query a Dialogflow\nagent may provide additional information in the payload.\n\nIn particular, for the Dialogflow Phone Gateway integration, this field has\nthe form:\n
                      {\n \"telephony\": {\n   \"caller_id\": \"+18558363987\"\n }\n}
                      \nNote: The caller ID field (`caller_id`) will be redacted for Standard\nEdition agents and populated with the caller ID in [E.164\nformat](https://en.wikipedia.org/wiki/E.164) for Enterprise Edition agents.", - "type": "object" - }, - "source": { - "description": "The source of this request, e.g., `google`, `facebook`, `slack`. It is set\nby Dialogflow-owned servers.", - "type": "string" - }, - "version": { - "description": "Optional. The version of the protocol used for this request.\nThis field is AoG-specific.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1QueryResult": { - "description": "Represents the result of conversational query or event processing.", - "id": "GoogleCloudDialogflowV2beta1QueryResult", - "properties": { - "action": { - "description": "The action name from the matched intent.", - "type": "string" - }, - "allRequiredParamsPresent": { - "description": "This field is set to:\n\n- `false` if the matched intent has required parameters and not all of\n the required parameter values have been collected.\n- `true` if all required parameter values have been collected, or if the\n matched intent doesn't contain any required parameters.", - "type": "boolean" - }, - "diagnosticInfo": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Free-form diagnostic information for the associated detect intent request.\nThe fields of this data can change without notice, so you should not write\ncode that depends on its structure.\nThe data may contain:\n\n- webhook call latency\n- webhook errors", - "type": "object" - }, - "fulfillmentMessages": { - "description": "The collection of rich messages to present to the user.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessage" - }, - "type": "array" - }, - "fulfillmentText": { - "description": "The text to be pronounced to the user or shown on the screen.\nNote: This is a legacy field, `fulfillment_messages` should be preferred.", - "type": "string" - }, - "intent": { - "$ref": "GoogleCloudDialogflowV2beta1Intent", - "description": "The intent that matched the conversational query. Some, not\nall fields are filled in this message, including but not limited to:\n`name`, `display_name`, `end_interaction` and `is_fallback`." - }, - "intentDetectionConfidence": { - "description": "The intent detection confidence. Values range from 0.0\n(completely uncertain) to 1.0 (completely certain).\nThis value is for informational purpose only and is only used to\nhelp match the best intent within the classification threshold.\nThis value may change for the same end-user expression at any time due to a\nmodel retraining or change in implementation.\nIf there are `multiple knowledge_answers` messages, this value is set to\nthe greatest `knowledgeAnswers.match_confidence` value in the list.", - "format": "float", - "type": "number" - }, - "knowledgeAnswers": { - "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswers", - "description": "The result from Knowledge Connector (if any), ordered by decreasing\n`KnowledgeAnswers.match_confidence`." - }, - "languageCode": { - "description": "The language that was triggered during intent detection.\nSee [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes.", - "type": "string" - }, - "outputContexts": { - "description": "The collection of output contexts. If applicable,\n`output_contexts.parameters` contains entries with name\n`.original` containing the original parameter values\nbefore the query.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1Context" - }, - "type": "array" - }, - "parameters": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The collection of extracted parameters.\n\nDepending on your protocol or client library language, this is a\nmap, associative array, symbol table, dictionary, or JSON object\ncomposed of a collection of (MapKey, MapValue) pairs:\n\n- MapKey type: string\n- MapKey value: parameter name\n- MapValue type:\n - If parameter's entity type is a composite entity: map\n - Else: string or number, depending on parameter value type\n- MapValue value:\n - If parameter's entity type is a composite entity:\n map from composite entity property names to property values\n - Else: parameter value", - "type": "object" - }, - "queryText": { - "description": "The original conversational query text:\n\n- If natural language text was provided as input, `query_text` contains\n a copy of the input.\n- If natural language speech audio was provided as input, `query_text`\n contains the speech recognition result. If speech recognizer produced\n multiple alternatives, a particular one is picked.\n- If automatic spell correction is enabled, `query_text` will contain the\n corrected user input.", - "type": "string" - }, - "sentimentAnalysisResult": { - "$ref": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", - "description": "The sentiment analysis result, which depends on the\n`sentiment_analysis_request_config` specified in the request." - }, - "speechRecognitionConfidence": { - "description": "The Speech recognition confidence between 0.0 and 1.0. A higher number\nindicates an estimated greater likelihood that the recognized words are\ncorrect. The default of 0.0 is a sentinel value indicating that confidence\nwas not set.\n\nThis field is not guaranteed to be accurate or set. In particular this\nfield isn't set for StreamingDetectIntent since the streaming endpoint has\nseparate confidence estimates per portion of the audio in\nStreamingRecognitionResult.", - "format": "float", - "type": "number" - }, - "webhookPayload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "If the query was fulfilled by a webhook call, this field is set to the\nvalue of the `payload` field returned in the webhook response.", - "type": "object" - }, - "webhookSource": { - "description": "If the query was fulfilled by a webhook call, this field is set to the\nvalue of the `source` field returned in the webhook response.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1Sentiment": { - "description": "The sentiment, such as positive/negative feeling or association, for a unit\nof analysis, such as the query text.", - "id": "GoogleCloudDialogflowV2beta1Sentiment", - "properties": { - "magnitude": { - "description": "A non-negative number in the [0, +inf) range, which represents the absolute\nmagnitude of sentiment, regardless of score (positive or negative).", - "format": "float", - "type": "number" - }, - "score": { - "description": "Sentiment score between -1.0 (negative sentiment) and 1.0 (positive\nsentiment).", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1SentimentAnalysisResult": { - "description": "The result of sentiment analysis as configured by\n`sentiment_analysis_request_config`.", - "id": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", - "properties": { - "queryTextSentiment": { - "$ref": "GoogleCloudDialogflowV2beta1Sentiment", - "description": "The sentiment analysis result for `query_text`." - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1SessionEntityType": { - "description": "Represents a session entity type.\n\nExtends or replaces a custom entity type at the user session level (we\nrefer to the entity types defined at the agent level as \"custom entity\ntypes\").\n\nNote: session entity types apply to all queries, regardless of the language.", - "id": "GoogleCloudDialogflowV2beta1SessionEntityType", - "properties": { - "entities": { - "description": "Required. The collection of entities associated with this session entity\ntype.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" - }, - "type": "array" - }, - "entityOverrideMode": { - "description": "Required. Indicates whether the additional data should override or\nsupplement the custom entity type definition.", - "enum": [ - "ENTITY_OVERRIDE_MODE_UNSPECIFIED", - "ENTITY_OVERRIDE_MODE_OVERRIDE", - "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - ], - "enumDescriptions": [ - "Not specified. This value should be never used.", - "The collection of session entities overrides the collection of entities\nin the corresponding custom entity type.", - "The collection of session entities extends the collection of entities in\nthe corresponding custom entity type.\n\nNote: Even in this override mode calls to `ListSessionEntityTypes`,\n`GetSessionEntityType`, `CreateSessionEntityType` and\n`UpdateSessionEntityType` only return the additional entities added in\nthis session entity type. If you want to get the supplemented list,\nplease call EntityTypes.GetEntityType on the custom entity type\nand merge." - ], - "type": "string" - }, - "name": { - "description": "Required. The unique identifier of this session entity type. Format:\n`projects//agent/sessions//entityTypes/`, or\n`projects//agent/environments//users//sessions//entityTypes/`.\nIf `Environment ID` is not specified, we assume default 'draft'\nenvironment. If `User ID` is not specified, we assume default '-' user.\n\n`` must be the display name of an existing entity\ntype in the same agent that will be overridden or supplemented.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1WebhookRequest": { - "description": "The request message for a webhook call.", - "id": "GoogleCloudDialogflowV2beta1WebhookRequest", - "properties": { - "alternativeQueryResults": { - "description": "Alternative query results from KnowledgeService.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1QueryResult" - }, - "type": "array" - }, - "originalDetectIntentRequest": { - "$ref": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest", - "description": "Optional. The contents of the original request that was passed to\n`[Streaming]DetectIntent` call." - }, - "queryResult": { - "$ref": "GoogleCloudDialogflowV2beta1QueryResult", - "description": "The result of the conversational query or event processing. Contains the\nsame value as `[Streaming]DetectIntentResponse.query_result`." - }, - "responseId": { - "description": "The unique identifier of the response. Contains the same value as\n`[Streaming]DetectIntentResponse.response_id`.", - "type": "string" - }, - "session": { - "description": "The unique identifier of detectIntent request session.\nCan be used to identify end-user inside webhook implementation.\nFormat: `projects//agent/sessions/`, or\n`projects//agent/environments//users//sessions/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV2beta1WebhookResponse": { - "description": "The response message for a webhook call.\n\nThis response is validated by the Dialogflow server. If validation fails,\nan error will be returned in the QueryResult.diagnostic_info field.\nSetting JSON fields to an empty value with the wrong type is a common error.\nTo avoid this error:\n\n- Use `\"\"` for empty strings\n- Use `{}` or `null` for empty objects\n- Use `[]` or `null` for empty arrays\n\nFor more information, see the\n[Protocol Buffers Language\nGuide](https://developers.google.com/protocol-buffers/docs/proto3#json).", - "id": "GoogleCloudDialogflowV2beta1WebhookResponse", - "properties": { - "endInteraction": { - "description": "Optional. Indicates that this intent ends an interaction. Some integrations\n(e.g., Actions on Google or Dialogflow phone gateway) use this information\nto close interaction with an end user. Default is false.", - "type": "boolean" - }, - "followupEventInput": { - "$ref": "GoogleCloudDialogflowV2beta1EventInput", - "description": "Optional. Invokes the supplied events.\nWhen this field is set, Dialogflow ignores the `fulfillment_text`,\n`fulfillment_messages`, and `payload` fields." - }, - "fulfillmentMessages": { - "description": "Optional. The rich response messages intended for the end-user.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_messages sent to the integration or API caller.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1IntentMessage" - }, - "type": "array" - }, - "fulfillmentText": { - "description": "Optional. The text response message intended for the end-user.\nIt is recommended to use `fulfillment_messages.text.text[0]` instead.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.fulfillment_text sent to the integration or API caller.", - "type": "string" - }, - "outputContexts": { - "description": "Optional. The collection of output contexts that will overwrite currently\nactive contexts for the session and reset their lifespans.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.output_contexts sent to the integration or API caller.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1Context" - }, - "type": "array" - }, - "payload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Optional. This field can be used to pass custom data from your webhook to the\nintegration or API caller. Arbitrary JSON objects are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_payload sent to the integration or API caller.\nThis field is also used by the\n[Google Assistant\nintegration](https://cloud.google.com/dialogflow/docs/integrations/aog)\nfor rich response messages.\nSee the format definition at [Google Assistant Dialogflow webhook\nformat](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)", - "type": "object" - }, - "sessionEntityTypes": { - "description": "Optional. Additional session entity types to replace or extend developer\nentity types with. The entity synonyms apply to all languages and persist\nfor the session. Setting this data from a webhook overwrites\nthe session entity types that have been set using `detectIntent`,\n`streamingDetectIntent` or SessionEntityType management methods.", - "items": { - "$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" - }, - "type": "array" - }, - "source": { - "description": "Optional. A custom field used to identify the webhook source.\nArbitrary strings are supported.\nWhen provided, Dialogflow uses this field to populate\nQueryResult.webhook_source sent to the integration or API caller.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowV3alpha1ExportAgentResponse": { - "description": "The response message for Agents.ExportAgent.", - "id": "GoogleCloudDialogflowV3alpha1ExportAgentResponse", - "properties": { - "agentContent": { - "description": "Uncompressed raw byte content for agent.", - "format": "byte", - "type": "string" - }, - "agentUri": { - "description": "The URI to a file containing the exported agent. This field is populated\nonly if `agent_uri` is specified in ExportAgentRequest.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleLongrunningListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "GoogleLongrunningListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "GoogleLongrunningOperation" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleLongrunningOperation": { - "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", - "id": "GoogleLongrunningOperation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleProtobufEmpty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "id": "GoogleProtobufEmpty", - "properties": {}, - "type": "object" - }, - "GoogleRpcStatus": { - "description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "GoogleRpcStatus", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Dialogflow API", - "version": "v3alpha1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/discoveryengine-v1.json b/discovery/discoveryengine-v1.json index d83a98f26e9..66b19b28c53 100644 --- a/discovery/discoveryengine-v1.json +++ b/discovery/discoveryengine-v1.json @@ -6869,6 +6869,85 @@ ] } } + }, + "userStores": { + "methods": { + "batchUpdateUserLicenses": { + "description": "Updates the User License. This method is used for batch assign/unassign licenses to users.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}:batchUpdateUserLicenses", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.userStores.batchUpdateUserLicenses", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}:batchUpdateUserLicenses", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "userLicenses": { + "methods": { + "list": { + "description": "Lists the User Licenses.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/userLicenses", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.userStores.userLicenses.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter for the list request. Supported fields: * `license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/userLicenses", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1ListUserLicensesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } } } }, @@ -6973,7 +7052,7 @@ } } }, - "revision": "20250425", + "revision": "20250509", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -7453,7 +7532,8 @@ "CUSTOMER_POLICY_VIOLATION", "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", "LOW_GROUNDED_ANSWER", - "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED" + "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", + "UNHELPFUL_ANSWER" ], "enumDescriptions": [ "Default value. The answer skipped reason is not specified.", @@ -7466,7 +7546,8 @@ "The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.", "The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.", "The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.", - "The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification." + "The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification.", + "The unhelpful answer case. Google skips the answer if the answer is not helpful. This can be due to a variety of factors, including but not limited to: the query is not answerable, the answer is not relevant to the query, or the answer is not well-formatted." ], "type": "string" }, @@ -8741,6 +8822,44 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest": { + "description": "Request message for UserLicenseService.BatchUpdateUserLicenses method.", + "id": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest", + "properties": { + "deleteUnassignedUserLicenses": { + "description": "Optional. If true, if user licenses removed associated license config, the user license will be deleted. By default which is false, the user license will be updated to unassigned state.", + "type": "boolean" + }, + "gcsSource": { + "$ref": "GoogleCloudDiscoveryengineV1GcsSource", + "description": "Cloud Storage location for the input content." + }, + "inlineSource": { + "$ref": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource", + "description": "The inline source for the input content for document embeddings." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource": { + "description": "The inline source for the input config for BatchUpdateUserLicenses method.", + "id": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource", + "properties": { + "updateMask": { + "description": "Optional. The list of fields to update.", + "format": "google-fieldmask", + "type": "string" + }, + "userLicenses": { + "description": "Required. A list of user licenses to update. Each user license must have a valid UserLicense.user_principal.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1UserLicense" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest": { "description": "Request message for SiteSearchEngineService.BatchVerifyTargetSites method.", "id": "GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest", @@ -9028,7 +9147,7 @@ "type": "boolean" }, "score": { - "description": "Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when enable_claim_level_score is true.", + "description": "Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true.", "format": "double", "type": "number" }, @@ -9477,7 +9596,7 @@ }, "promoteAction": { "$ref": "GoogleCloudDiscoveryengineV1ControlPromoteAction", - "description": "Promote certain links based on predefined trigger queries. This now only supports basic site search." + "description": "Promote certain links based on predefined trigger queries." }, "redirectAction": { "$ref": "GoogleCloudDiscoveryengineV1ControlRedirectAction", @@ -11901,6 +12020,24 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1ListUserLicensesResponse": { + "description": "Response message for UserLicenseService.ListUserLicenses.", + "id": "GoogleCloudDiscoveryengineV1ListUserLicensesResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "userLicenses": { + "description": "All the customer's UserLicenses.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1UserLicense" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1MediaInfo": { "description": "Media-specific user event information.", "id": "GoogleCloudDiscoveryengineV1MediaInfo", @@ -13109,6 +13246,10 @@ "$ref": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpec", "description": "Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" }, + "customSearchOperators": { + "description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).", + "type": "string" + }, "dataStore": { "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.", "type": "string" @@ -14476,6 +14617,66 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1UserLicense": { + "description": "User License information assigned by the admin.", + "id": "GoogleCloudDiscoveryengineV1UserLicense", + "properties": { + "createTime": { + "description": "Output only. User created timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "lastLoginTime": { + "description": "Output only. User last logged in time. If the user has not logged in yet, this field will be empty.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "licenseAssignmentState": { + "description": "Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;", + "enum": [ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN" + ], + "enumDescriptions": [ + "Default value.", + "License assigned to the user.", + "No license assigned to the user. Deprecated, translated to NO_LICENSE.", + "No license assigned to the user.", + "User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin)." + ], + "readOnly": true, + "type": "string" + }, + "licenseConfig": { + "description": "Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.", + "type": "string" + }, + "updateTime": { + "description": "Output only. User update timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "user": { + "description": "Optional. The full resource name of the User, in the format of `projects/{project}/locations/{location}/userStores/{user_store}/users/{user_id}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created.", + "type": "string" + }, + "userPrincipal": { + "description": "Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal.", + "type": "string" + }, + "userProfile": { + "description": "Optional. The user profile. We user user full name(First name + Last name) as user profile.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1WorkspaceConfig": { "description": "Config to store data store type configuration for workspace data", "id": "GoogleCloudDiscoveryengineV1WorkspaceConfig", @@ -14636,7 +14837,8 @@ "CUSTOMER_POLICY_VIOLATION", "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", "LOW_GROUNDED_ANSWER", - "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED" + "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", + "UNHELPFUL_ANSWER" ], "enumDescriptions": [ "Default value. The answer skipped reason is not specified.", @@ -14649,7 +14851,8 @@ "The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.", "The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.", "The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.", - "The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification." + "The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification.", + "The unhelpful answer case. Google skips the answer if the answer is not helpful. This can be due to a variety of factors, including but not limited to: the query is not answerable, the answer is not relevant to the query, or the answer is not well-formatted." ], "type": "string" }, @@ -15250,12 +15453,14 @@ "enum": [ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", - "ACTIONS" + "ACTIONS", + "END_USER_AUTHENTICATION" ], "enumDescriptions": [ "Connector mode unspecified.", "Connector utilized for data ingestion.", - "Connector utilized for Actions" + "Connector utilized for Actions", + "Connector utilized for End User Authentication." ], "type": "string" }, @@ -15295,6 +15500,54 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata": { + "description": "Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field.", + "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata", + "properties": { + "createTime": { + "description": "Operation create time.", + "format": "google-datetime", + "type": "string" + }, + "failureCount": { + "description": "Count of user licenses that failed to be updated.", + "format": "int64", + "type": "string" + }, + "successCount": { + "description": "Count of user licenses successfully updated.", + "format": "int64", + "type": "string" + }, + "updateTime": { + "description": "Operation last update time. If the operation is done, this is also the finish time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse": { + "description": "Response message for UserLicenseService.BatchUpdateUserLicenses method.", + "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse", + "properties": { + "errorSamples": { + "description": "A sample of errors encountered while processing the request.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + }, + "userLicenses": { + "description": "UserLicenses successfully updated.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaUserLicense" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaCmekConfig": { "description": "Configurations used to enable CMEK data encryption with Cloud KMS keys.", "id": "GoogleCloudDiscoveryengineV1alphaCmekConfig", @@ -15639,13 +15892,15 @@ "SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL", - "REALTIME" + "REALTIME", + "SCALA_SYNC" ], "enumDescriptions": [ "Sync type unspecified.", "Sync triggers full sync of all documents.", "Incremental sync of updated documents.", - "Realtime sync." + "Realtime sync.", + "Scala sync." ], "type": "string" } @@ -15711,7 +15966,7 @@ }, "promoteAction": { "$ref": "GoogleCloudDiscoveryengineV1alphaControlPromoteAction", - "description": "Promote certain links based on predefined trigger queries. This now only supports basic site search." + "description": "Promote certain links based on predefined trigger queries." }, "redirectAction": { "$ref": "GoogleCloudDiscoveryengineV1alphaControlRedirectAction", @@ -16037,7 +16292,7 @@ "type": "array" }, "autoRunDisabled": { - "description": "Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync.", + "description": "Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs", "type": "boolean" }, "bapConfig": { @@ -16084,7 +16339,7 @@ "type": "array" }, "connectorType": { - "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is notmutable once set by system.", + "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.", "enum": [ "CONNECTOR_TYPE_UNSPECIFIED", "THIRD_PARTY", @@ -16114,6 +16369,10 @@ "readOnly": true, "type": "string" }, + "createEuaSaas": { + "description": "Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.", + "type": "boolean" + }, "createTime": { "description": "Output only. Timestamp the DataConnector was created at.", "format": "google-datetime", @@ -16160,6 +16419,15 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig", "description": "The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector." }, + "incrementalRefreshInterval": { + "description": "Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days.", + "format": "google-duration", + "type": "string" + }, + "incrementalSyncDisabled": { + "description": "Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled.", + "type": "boolean" + }, "kmsKeyName": { "description": "Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.", "type": "string" @@ -16270,12 +16538,14 @@ "enum": [ "PERIODIC", "STREAMING", - "UNSPECIFIED" + "UNSPECIFIED", + "SCALA_SYNC" ], "enumDescriptions": [ "The connector will sync data periodically based on the refresh_interval. Use it with auto_run_disabled to pause the periodic sync, or indicate a one-time sync.", "The data will be synced in real time.", - "Connector that doesn't ingest data will have this value" + "Connector that doesn't ingest data will have this value", + "The data will be synced with Scala Sync, a data ingestion solution." ], "type": "string" }, @@ -19260,6 +19530,10 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec", "description": "Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" }, + "customSearchOperators": { + "description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).", + "type": "string" + }, "dataStore": { "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.", "type": "string" @@ -20039,6 +20313,66 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaUserLicense": { + "description": "User License information assigned by the admin.", + "id": "GoogleCloudDiscoveryengineV1alphaUserLicense", + "properties": { + "createTime": { + "description": "Output only. User created timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "lastLoginTime": { + "description": "Output only. User last logged in time. If the user has not logged in yet, this field will be empty.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "licenseAssignmentState": { + "description": "Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;", + "enum": [ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN" + ], + "enumDescriptions": [ + "Default value.", + "License assigned to the user.", + "No license assigned to the user. Deprecated, translated to NO_LICENSE.", + "No license assigned to the user.", + "User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin)." + ], + "readOnly": true, + "type": "string" + }, + "licenseConfig": { + "description": "Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.", + "type": "string" + }, + "updateTime": { + "description": "Output only. User update timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "user": { + "description": "Optional. The full resource name of the User, in the format of `projects/{project}/locations/{location}/userStores/{user_store}/users/{user_id}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created.", + "type": "string" + }, + "userPrincipal": { + "description": "Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal.", + "type": "string" + }, + "userProfile": { + "description": "Optional. The user profile. We user user full name(First name + Last name) as user profile.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig": { "description": "Config to store data store type configuration for workspace data", "id": "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig", @@ -20303,7 +20637,7 @@ }, "promoteAction": { "$ref": "GoogleCloudDiscoveryengineV1betaControlPromoteAction", - "description": "Promote certain links based on predefined trigger queries. This now only supports basic site search." + "description": "Promote certain links based on predefined trigger queries." }, "redirectAction": { "$ref": "GoogleCloudDiscoveryengineV1betaControlRedirectAction", @@ -22698,6 +23032,10 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec", "description": "Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" }, + "customSearchOperators": { + "description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).", + "type": "string" + }, "dataStore": { "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.", "type": "string" diff --git a/discovery/discoveryengine-v1alpha.json b/discovery/discoveryengine-v1alpha.json index 2b47f5d894b..bfcc26eaa46 100644 --- a/discovery/discoveryengine-v1alpha.json +++ b/discovery/discoveryengine-v1alpha.json @@ -1488,13 +1488,15 @@ "PROCESSED_DOCUMENT_TYPE_UNSPECIFIED", "PARSED_DOCUMENT", "CHUNKED_DOCUMENT", - "IMAGE_CONVERTED_DOCUMENT" + "IMAGE_CONVERTED_DOCUMENT", + "IMAGE_BYTES" ], "enumDescriptions": [ "Default value.", "Available for all data store parsing configs.", "Only available if ChunkingConfig is enabled on the data store.", - "Returns the converted Image bytes (as JPEG or PNG) if available." + "Returns the converted Image bytes (as JPEG or PNG) if available.", + "Return image bytes if image_id of a document is provided, only supported for enabling shareholder-structure in layout parsing config for now." ], "location": "query", "type": "string" @@ -5683,13 +5685,15 @@ "PROCESSED_DOCUMENT_TYPE_UNSPECIFIED", "PARSED_DOCUMENT", "CHUNKED_DOCUMENT", - "IMAGE_CONVERTED_DOCUMENT" + "IMAGE_CONVERTED_DOCUMENT", + "IMAGE_BYTES" ], "enumDescriptions": [ "Default value.", "Available for all data store parsing configs.", "Only available if ChunkingConfig is enabled on the data store.", - "Returns the converted Image bytes (as JPEG or PNG) if available." + "Returns the converted Image bytes (as JPEG or PNG) if available.", + "Return image bytes if image_id of a document is provided, only supported for enabling shareholder-structure in layout parsing config for now." ], "location": "query", "type": "string" @@ -8903,6 +8907,36 @@ } }, "userStores": { + "methods": { + "batchUpdateUserLicenses": { + "description": "Updates the User License. This method is used for batch assign/unassign licenses to users.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}:batchUpdateUserLicenses", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.userStores.batchUpdateUserLicenses", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}:batchUpdateUserLicenses", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "operations": { "methods": { @@ -8973,6 +9007,51 @@ ] } } + }, + "userLicenses": { + "methods": { + "list": { + "description": "Lists the User Licenses.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/userLicenses", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.userStores.userLicenses.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter for the list request. Supported fields: * `license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/userLicenses", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } } } } @@ -9051,7 +9130,7 @@ } } }, - "revision": "20250425", + "revision": "20250509", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "ApiservingMediaRequestInfo": { @@ -10332,7 +10411,7 @@ }, "promoteAction": { "$ref": "GoogleCloudDiscoveryengineV1ControlPromoteAction", - "description": "Promote certain links based on predefined trigger queries. This now only supports basic site search." + "description": "Promote certain links based on predefined trigger queries." }, "redirectAction": { "$ref": "GoogleCloudDiscoveryengineV1ControlRedirectAction", @@ -13002,7 +13081,8 @@ "CUSTOMER_POLICY_VIOLATION", "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", "LOW_GROUNDED_ANSWER", - "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED" + "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", + "UNHELPFUL_ANSWER" ], "enumDescriptions": [ "Default value. The answer skipped reason is not specified.", @@ -13015,7 +13095,8 @@ "The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.", "The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.", "The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.", - "The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification." + "The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification.", + "The unhelpful answer case. Google skips the answer if the answer is not helpful. This can be due to a variety of factors, including but not limited to: the query is not answerable, the answer is not relevant to the query, or the answer is not well-formatted." ], "type": "string" }, @@ -14295,12 +14376,14 @@ "enum": [ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", - "ACTIONS" + "ACTIONS", + "END_USER_AUTHENTICATION" ], "enumDescriptions": [ "Connector mode unspecified.", "Connector utilized for data ingestion.", - "Connector utilized for Actions" + "Connector utilized for Actions", + "Connector utilized for End User Authentication." ], "type": "string" }, @@ -14419,6 +14502,92 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata": { + "description": "Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field.", + "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata", + "properties": { + "createTime": { + "description": "Operation create time.", + "format": "google-datetime", + "type": "string" + }, + "failureCount": { + "description": "Count of user licenses that failed to be updated.", + "format": "int64", + "type": "string" + }, + "successCount": { + "description": "Count of user licenses successfully updated.", + "format": "int64", + "type": "string" + }, + "updateTime": { + "description": "Operation last update time. If the operation is done, this is also the finish time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest": { + "description": "Request message for UserLicenseService.BatchUpdateUserLicenses method.", + "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest", + "properties": { + "deleteUnassignedUserLicenses": { + "description": "Optional. If true, if user licenses removed associated license config, the user license will be deleted. By default which is false, the user license will be updated to unassigned state.", + "type": "boolean" + }, + "gcsSource": { + "$ref": "GoogleCloudDiscoveryengineV1alphaGcsSource", + "description": "Cloud Storage location for the input content." + }, + "inlineSource": { + "$ref": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource", + "description": "The inline source for the input content for document embeddings." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource": { + "description": "The inline source for the input config for BatchUpdateUserLicenses method.", + "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource", + "properties": { + "updateMask": { + "description": "Optional. The list of fields to update.", + "format": "google-fieldmask", + "type": "string" + }, + "userLicenses": { + "description": "Required. A list of user licenses to update. Each user license must have a valid UserLicense.user_principal.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaUserLicense" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse": { + "description": "Response message for UserLicenseService.BatchUpdateUserLicenses method.", + "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse", + "properties": { + "errorSamples": { + "description": "A sample of errors encountered while processing the request.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + }, + "userLicenses": { + "description": "UserLicenses successfully updated.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaUserLicense" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest": { "description": "Request message for SiteSearchEngineService.BatchVerifyTargetSites method.", "id": "GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest", @@ -14706,7 +14875,7 @@ "type": "boolean" }, "score": { - "description": "Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when enable_claim_level_score is true.", + "description": "Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true.", "format": "double", "type": "number" }, @@ -15403,13 +15572,15 @@ "SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL", - "REALTIME" + "REALTIME", + "SCALA_SYNC" ], "enumDescriptions": [ "Sync type unspecified.", "Sync triggers full sync of all documents.", "Incremental sync of updated documents.", - "Realtime sync." + "Realtime sync.", + "Scala sync." ], "type": "string" } @@ -15475,7 +15646,7 @@ }, "promoteAction": { "$ref": "GoogleCloudDiscoveryengineV1alphaControlPromoteAction", - "description": "Promote certain links based on predefined trigger queries. This now only supports basic site search." + "description": "Promote certain links based on predefined trigger queries." }, "redirectAction": { "$ref": "GoogleCloudDiscoveryengineV1alphaControlRedirectAction", @@ -16063,7 +16234,7 @@ "type": "array" }, "autoRunDisabled": { - "description": "Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync.", + "description": "Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs", "type": "boolean" }, "bapConfig": { @@ -16110,7 +16281,7 @@ "type": "array" }, "connectorType": { - "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is notmutable once set by system.", + "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.", "enum": [ "CONNECTOR_TYPE_UNSPECIFIED", "THIRD_PARTY", @@ -16140,6 +16311,10 @@ "readOnly": true, "type": "string" }, + "createEuaSaas": { + "description": "Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.", + "type": "boolean" + }, "createTime": { "description": "Output only. Timestamp the DataConnector was created at.", "format": "google-datetime", @@ -16186,6 +16361,15 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig", "description": "The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector." }, + "incrementalRefreshInterval": { + "description": "Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days.", + "format": "google-duration", + "type": "string" + }, + "incrementalSyncDisabled": { + "description": "Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled.", + "type": "boolean" + }, "kmsKeyName": { "description": "Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.", "type": "string" @@ -16296,12 +16480,14 @@ "enum": [ "PERIODIC", "STREAMING", - "UNSPECIFIED" + "UNSPECIFIED", + "SCALA_SYNC" ], "enumDescriptions": [ "The connector will sync data periodically based on the refresh_interval. Use it with auto_run_disabled to pause the periodic sync, or indicate a one-time sync.", "The data will be synced in real time.", - "Connector that doesn't ingest data will have this value" + "Connector that doesn't ingest data will have this value", + "The data will be synced with Scala Sync, a data ingestion solution." ], "type": "string" }, @@ -19246,6 +19432,24 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse": { + "description": "Response message for UserLicenseService.ListUserLicenses.", + "id": "GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "userLicenses": { + "description": "All the customer's UserLicenses.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaUserLicense" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaMediaInfo": { "description": "Media-specific user event information.", "id": "GoogleCloudDiscoveryengineV1alphaMediaInfo", @@ -21246,6 +21450,10 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec", "description": "Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" }, + "customSearchOperators": { + "description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).", + "type": "string" + }, "dataStore": { "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.", "type": "string" @@ -21746,10 +21954,6 @@ "description": "Rewritten input query minus the extracted filters.", "type": "string" }, - "sqlRequest": { - "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest", - "description": "Optional. The SQL request that was generated from the natural language query understanding phase." - }, "structuredExtractedFilter": { "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter", "description": "The filters that were extracted from the input query represented in a structured form." @@ -21757,17 +21961,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest": { - "description": "The SQL request that was generated from the natural language query understanding phase.", - "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest", - "properties": { - "sqlQuery": { - "description": "Optional. The SQL query in text format.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter": { "description": "The filters that were extracted from the input query represented in a structured form.", "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter", @@ -23342,6 +23535,66 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaUserLicense": { + "description": "User License information assigned by the admin.", + "id": "GoogleCloudDiscoveryengineV1alphaUserLicense", + "properties": { + "createTime": { + "description": "Output only. User created timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "lastLoginTime": { + "description": "Output only. User last logged in time. If the user has not logged in yet, this field will be empty.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "licenseAssignmentState": { + "description": "Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;", + "enum": [ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN" + ], + "enumDescriptions": [ + "Default value.", + "License assigned to the user.", + "No license assigned to the user. Deprecated, translated to NO_LICENSE.", + "No license assigned to the user.", + "User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin)." + ], + "readOnly": true, + "type": "string" + }, + "licenseConfig": { + "description": "Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.", + "type": "string" + }, + "updateTime": { + "description": "Output only. User update timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "user": { + "description": "Optional. The full resource name of the User, in the format of `projects/{project}/locations/{location}/userStores/{user_store}/users/{user_id}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created.", + "type": "string" + }, + "userPrincipal": { + "description": "Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal.", + "type": "string" + }, + "userProfile": { + "description": "Optional. The user profile. We user user full name(First name + Last name) as user profile.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaWidgetConfig": { "description": "WidgetConfig captures configs at the Widget level.", "id": "GoogleCloudDiscoveryengineV1alphaWidgetConfig", @@ -23443,6 +23696,11 @@ "description": "Whether to allow conversational search (LLM, multi-turn) or not (non-LLM, single-turn).", "type": "boolean" }, + "enablePrivateKnowledgeGraph": { + "description": "Optional. Output only. Whether to enable private knowledge graph.", + "readOnly": true, + "type": "boolean" + }, "enableQualityFeedback": { "deprecated": true, "description": "Turn on or off collecting the search result quality feedback from end users.", @@ -24305,7 +24563,7 @@ }, "promoteAction": { "$ref": "GoogleCloudDiscoveryengineV1betaControlPromoteAction", - "description": "Promote certain links based on predefined trigger queries. This now only supports basic site search." + "description": "Promote certain links based on predefined trigger queries." }, "redirectAction": { "$ref": "GoogleCloudDiscoveryengineV1betaControlRedirectAction", @@ -26700,6 +26958,10 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec", "description": "Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" }, + "customSearchOperators": { + "description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).", + "type": "string" + }, "dataStore": { "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.", "type": "string" diff --git a/discovery/discoveryengine-v1beta.json b/discovery/discoveryengine-v1beta.json index 2b101ff9c15..d3cb7f5bf92 100644 --- a/discovery/discoveryengine-v1beta.json +++ b/discovery/discoveryengine-v1beta.json @@ -7849,6 +7849,85 @@ ] } } + }, + "userStores": { + "methods": { + "batchUpdateUserLicenses": { + "description": "Updates the User License. This method is used for batch assign/unassign licenses to users.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}:batchUpdateUserLicenses", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.userStores.batchUpdateUserLicenses", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}:batchUpdateUserLicenses", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "userLicenses": { + "methods": { + "list": { + "description": "Lists the User Licenses.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/userLicenses", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.userStores.userLicenses.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter for the list request. Supported fields: * `license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/userLicenses", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1betaListUserLicensesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } } } }, @@ -7925,7 +8004,7 @@ } } }, - "revision": "20250425", + "revision": "20250509", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -8614,7 +8693,7 @@ }, "promoteAction": { "$ref": "GoogleCloudDiscoveryengineV1ControlPromoteAction", - "description": "Promote certain links based on predefined trigger queries. This now only supports basic site search." + "description": "Promote certain links based on predefined trigger queries." }, "redirectAction": { "$ref": "GoogleCloudDiscoveryengineV1ControlRedirectAction", @@ -10941,7 +11020,8 @@ "CUSTOMER_POLICY_VIOLATION", "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", "LOW_GROUNDED_ANSWER", - "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED" + "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", + "UNHELPFUL_ANSWER" ], "enumDescriptions": [ "Default value. The answer skipped reason is not specified.", @@ -10954,7 +11034,8 @@ "The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.", "The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.", "The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.", - "The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification." + "The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification.", + "The unhelpful answer case. Google skips the answer if the answer is not helpful. This can be due to a variety of factors, including but not limited to: the query is not answerable, the answer is not relevant to the query, or the answer is not well-formatted." ], "type": "string" }, @@ -11555,12 +11636,14 @@ "enum": [ "CONNECTOR_MODE_UNSPECIFIED", "DATA_INGESTION", - "ACTIONS" + "ACTIONS", + "END_USER_AUTHENTICATION" ], "enumDescriptions": [ "Connector mode unspecified.", "Connector utilized for data ingestion.", - "Connector utilized for Actions" + "Connector utilized for Actions", + "Connector utilized for End User Authentication." ], "type": "string" }, @@ -11600,6 +11683,54 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata": { + "description": "Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field.", + "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata", + "properties": { + "createTime": { + "description": "Operation create time.", + "format": "google-datetime", + "type": "string" + }, + "failureCount": { + "description": "Count of user licenses that failed to be updated.", + "format": "int64", + "type": "string" + }, + "successCount": { + "description": "Count of user licenses successfully updated.", + "format": "int64", + "type": "string" + }, + "updateTime": { + "description": "Operation last update time. If the operation is done, this is also the finish time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse": { + "description": "Response message for UserLicenseService.BatchUpdateUserLicenses method.", + "id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse", + "properties": { + "errorSamples": { + "description": "A sample of errors encountered while processing the request.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + }, + "userLicenses": { + "description": "UserLicenses successfully updated.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaUserLicense" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaCmekConfig": { "description": "Configurations used to enable CMEK data encryption with Cloud KMS keys.", "id": "GoogleCloudDiscoveryengineV1alphaCmekConfig", @@ -11944,13 +12075,15 @@ "SYNC_TYPE_UNSPECIFIED", "FULL", "INCREMENTAL", - "REALTIME" + "REALTIME", + "SCALA_SYNC" ], "enumDescriptions": [ "Sync type unspecified.", "Sync triggers full sync of all documents.", "Incremental sync of updated documents.", - "Realtime sync." + "Realtime sync.", + "Scala sync." ], "type": "string" } @@ -12016,7 +12149,7 @@ }, "promoteAction": { "$ref": "GoogleCloudDiscoveryengineV1alphaControlPromoteAction", - "description": "Promote certain links based on predefined trigger queries. This now only supports basic site search." + "description": "Promote certain links based on predefined trigger queries." }, "redirectAction": { "$ref": "GoogleCloudDiscoveryengineV1alphaControlRedirectAction", @@ -12342,7 +12475,7 @@ "type": "array" }, "autoRunDisabled": { - "description": "Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync.", + "description": "Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs", "type": "boolean" }, "bapConfig": { @@ -12389,7 +12522,7 @@ "type": "array" }, "connectorType": { - "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is notmutable once set by system.", + "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.", "enum": [ "CONNECTOR_TYPE_UNSPECIFIED", "THIRD_PARTY", @@ -12419,6 +12552,10 @@ "readOnly": true, "type": "string" }, + "createEuaSaas": { + "description": "Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.", + "type": "boolean" + }, "createTime": { "description": "Output only. Timestamp the DataConnector was created at.", "format": "google-datetime", @@ -12465,6 +12602,15 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig", "description": "The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector." }, + "incrementalRefreshInterval": { + "description": "Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days.", + "format": "google-duration", + "type": "string" + }, + "incrementalSyncDisabled": { + "description": "Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled.", + "type": "boolean" + }, "kmsKeyName": { "description": "Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.", "type": "string" @@ -12575,12 +12721,14 @@ "enum": [ "PERIODIC", "STREAMING", - "UNSPECIFIED" + "UNSPECIFIED", + "SCALA_SYNC" ], "enumDescriptions": [ "The connector will sync data periodically based on the refresh_interval. Use it with auto_run_disabled to pause the periodic sync, or indicate a one-time sync.", "The data will be synced in real time.", - "Connector that doesn't ingest data will have this value" + "Connector that doesn't ingest data will have this value", + "The data will be synced with Scala Sync, a data ingestion solution." ], "type": "string" }, @@ -15565,6 +15713,10 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec", "description": "Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" }, + "customSearchOperators": { + "description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).", + "type": "string" + }, "dataStore": { "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.", "type": "string" @@ -16344,6 +16496,66 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaUserLicense": { + "description": "User License information assigned by the admin.", + "id": "GoogleCloudDiscoveryengineV1alphaUserLicense", + "properties": { + "createTime": { + "description": "Output only. User created timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "lastLoginTime": { + "description": "Output only. User last logged in time. If the user has not logged in yet, this field will be empty.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "licenseAssignmentState": { + "description": "Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;", + "enum": [ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN" + ], + "enumDescriptions": [ + "Default value.", + "License assigned to the user.", + "No license assigned to the user. Deprecated, translated to NO_LICENSE.", + "No license assigned to the user.", + "User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin)." + ], + "readOnly": true, + "type": "string" + }, + "licenseConfig": { + "description": "Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.", + "type": "string" + }, + "updateTime": { + "description": "Output only. User update timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "user": { + "description": "Optional. The full resource name of the User, in the format of `projects/{project}/locations/{location}/userStores/{user_store}/users/{user_id}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created.", + "type": "string" + }, + "userPrincipal": { + "description": "Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal.", + "type": "string" + }, + "userProfile": { + "description": "Optional. The user profile. We user user full name(First name + Last name) as user profile.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig": { "description": "Config to store data store type configuration for workspace data", "id": "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig", @@ -16765,7 +16977,8 @@ "CUSTOMER_POLICY_VIOLATION", "NON_ANSWER_SEEKING_QUERY_IGNORED_V2", "LOW_GROUNDED_ANSWER", - "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED" + "USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", + "UNHELPFUL_ANSWER" ], "enumDescriptions": [ "Default value. The answer skipped reason is not specified.", @@ -16778,7 +16991,8 @@ "The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.", "The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.", "The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.", - "The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification." + "The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification.", + "The unhelpful answer case. Google skips the answer if the answer is not helpful. This can be due to a variety of factors, including but not limited to: the query is not answerable, the answer is not relevant to the query, or the answer is not well-formatted." ], "type": "string" }, @@ -18154,6 +18368,44 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest": { + "description": "Request message for UserLicenseService.BatchUpdateUserLicenses method.", + "id": "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest", + "properties": { + "deleteUnassignedUserLicenses": { + "description": "Optional. If true, if user licenses removed associated license config, the user license will be deleted. By default which is false, the user license will be updated to unassigned state.", + "type": "boolean" + }, + "gcsSource": { + "$ref": "GoogleCloudDiscoveryengineV1betaGcsSource", + "description": "Cloud Storage location for the input content." + }, + "inlineSource": { + "$ref": "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource", + "description": "The inline source for the input content for document embeddings." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource": { + "description": "The inline source for the input config for BatchUpdateUserLicenses method.", + "id": "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource", + "properties": { + "updateMask": { + "description": "Optional. The list of fields to update.", + "format": "google-fieldmask", + "type": "string" + }, + "userLicenses": { + "description": "Required. A list of user licenses to update. Each user license must have a valid UserLicense.user_principal.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1betaUserLicense" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest": { "description": "Request message for SiteSearchEngineService.BatchVerifyTargetSites method.", "id": "GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest", @@ -18441,7 +18693,7 @@ "type": "boolean" }, "score": { - "description": "Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when enable_claim_level_score is true.", + "description": "Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true.", "format": "double", "type": "number" }, @@ -18890,7 +19142,7 @@ }, "promoteAction": { "$ref": "GoogleCloudDiscoveryengineV1betaControlPromoteAction", - "description": "Promote certain links based on predefined trigger queries. This now only supports basic site search." + "description": "Promote certain links based on predefined trigger queries." }, "redirectAction": { "$ref": "GoogleCloudDiscoveryengineV1betaControlRedirectAction", @@ -21673,6 +21925,24 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaListUserLicensesResponse": { + "description": "Response message for UserLicenseService.ListUserLicenses.", + "id": "GoogleCloudDiscoveryengineV1betaListUserLicensesResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "userLicenses": { + "description": "All the customer's UserLicenses.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1betaUserLicense" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaMediaInfo": { "description": "Media-specific user event information.", "id": "GoogleCloudDiscoveryengineV1betaMediaInfo", @@ -23273,6 +23543,10 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec", "description": "Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" }, + "customSearchOperators": { + "description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).", + "type": "string" + }, "dataStore": { "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.", "type": "string" @@ -23773,10 +24047,6 @@ "description": "Rewritten input query minus the extracted filters.", "type": "string" }, - "sqlRequest": { - "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest", - "description": "Optional. The SQL request that was generated from the natural language query understanding phase." - }, "structuredExtractedFilter": { "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter", "description": "The filters that were extracted from the input query represented in a structured form." @@ -23784,17 +24054,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest": { - "description": "The SQL request that was generated from the natural language query understanding phase.", - "id": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest", - "properties": { - "sqlQuery": { - "description": "Optional. The SQL query in text format.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter": { "description": "The filters that were extracted from the input query represented in a structured form.", "id": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter", @@ -25199,6 +25458,66 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaUserLicense": { + "description": "User License information assigned by the admin.", + "id": "GoogleCloudDiscoveryengineV1betaUserLicense", + "properties": { + "createTime": { + "description": "Output only. User created timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "lastLoginTime": { + "description": "Output only. User last logged in time. If the user has not logged in yet, this field will be empty.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "licenseAssignmentState": { + "description": "Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;", + "enum": [ + "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", + "ASSIGNED", + "UNASSIGNED", + "NO_LICENSE", + "NO_LICENSE_ATTEMPTED_LOGIN" + ], + "enumDescriptions": [ + "Default value.", + "License assigned to the user.", + "No license assigned to the user. Deprecated, translated to NO_LICENSE.", + "No license assigned to the user.", + "User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin)." + ], + "readOnly": true, + "type": "string" + }, + "licenseConfig": { + "description": "Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.", + "type": "string" + }, + "updateTime": { + "description": "Output only. User update timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "user": { + "description": "Optional. The full resource name of the User, in the format of `projects/{project}/locations/{location}/userStores/{user_store}/users/{user_id}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created.", + "type": "string" + }, + "userPrincipal": { + "description": "Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal.", + "type": "string" + }, + "userProfile": { + "description": "Optional. The user profile. We user user full name(First name + Last name) as user profile.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaWorkspaceConfig": { "description": "Config to store data store type configuration for workspace data", "id": "GoogleCloudDiscoveryengineV1betaWorkspaceConfig", diff --git a/discovery/displayvideo-v1.json b/discovery/displayvideo-v1.json deleted file mode 100644 index 6f905117ab1..00000000000 --- a/discovery/displayvideo-v1.json +++ /dev/null @@ -1,18848 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/display-video": { - "description": "Create, see, edit, and permanently delete your Display & Video 360 entities and reports" - }, - "https://www.googleapis.com/auth/display-video-mediaplanning": { - "description": "Create, see, and edit Display & Video 360 Campaign entities and see billing invoices" - }, - "https://www.googleapis.com/auth/display-video-user-management": { - "description": "Private Service: https://www.googleapis.com/auth/display-video-user-management" - }, - "https://www.googleapis.com/auth/doubleclickbidmanager": { - "description": "View and manage your reports in DoubleClick Bid Manager" - } - } - } - }, - "basePath": "", - "baseUrl": "https://displayvideo.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Display Video", - "description": "Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/display-video/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "displayvideo:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://displayvideo.mtls.googleapis.com/", - "name": "displayvideo", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "advertisers": { - "methods": { - "audit": { - "description": "Audits an advertiser. Returns the counts of used entities per resource type under the advertiser provided. Used entities count towards their respective resource limit. See https://support.google.com/displayvideo/answer/6071450.", - "flatPath": "v1/advertisers/{advertisersId}:audit", - "httpMethod": "GET", - "id": "displayvideo.advertisers.audit", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser to audit.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "readMask": { - "description": "Optional. The specific fields to return. If no mask is specified, all fields in the response proto will be filled. Valid values are: * usedLineItemsCount * usedInsertionOrdersCount * usedCampaignsCount * channelsCount * negativelyTargetedChannelsCount * negativeKeywordListsCount * adGroupCriteriaCount * campaignCriteriaCount", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}:audit", - "response": { - "$ref": "AuditAdvertiserResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "bulkEditAdvertiserAssignedTargetingOptions": { - "description": "Bulk edits targeting options under a single advertiser. The operation will delete the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .", - "flatPath": "v1/advertisers/{advertisersId}:bulkEditAdvertiserAssignedTargetingOptions", - "httpMethod": "POST", - "id": "displayvideo.advertisers.bulkEditAdvertiserAssignedTargetingOptions", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}:bulkEditAdvertiserAssignedTargetingOptions", - "request": { - "$ref": "BulkEditAdvertiserAssignedTargetingOptionsRequest" - }, - "response": { - "$ref": "BulkEditAdvertiserAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "bulkListAdvertiserAssignedTargetingOptions": { - "description": "Lists assigned targeting options of an advertiser across targeting types.", - "flatPath": "v1/advertisers/{advertisersId}:bulkListAdvertiserAssignedTargetingOptions", - "httpMethod": "GET", - "id": "displayvideo.advertisers.bulkListAdvertiserAssignedTargetingOptions", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=) operator`. Supported fields: * `targetingType` Examples: * targetingType with value TARGETING_TYPE_CHANNEL `targetingType=\"TARGETING_TYPE_CHANNEL\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListAdvertiserAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}:bulkListAdvertiserAssignedTargetingOptions", - "response": { - "$ref": "BulkListAdvertiserAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "create": { - "description": "Creates a new advertiser. Returns the newly created advertiser if successful. This method can take up to 180 seconds to complete.", - "flatPath": "v1/advertisers", - "httpMethod": "POST", - "id": "displayvideo.advertisers.create", - "parameterOrder": [], - "parameters": {}, - "path": "v1/advertisers", - "request": { - "$ref": "Advertiser" - }, - "response": { - "$ref": "Advertiser" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes an advertiser. Deleting an advertiser will delete all of its child resources, for example, campaigns, insertion orders and line items. A deleted advertiser cannot be recovered.", - "flatPath": "v1/advertisers/{advertisersId}", - "httpMethod": "DELETE", - "id": "displayvideo.advertisers.delete", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser we need to delete.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets an advertiser.", - "flatPath": "v1/advertisers/{advertisersId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.get", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}", - "response": { - "$ref": "Advertiser" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists advertisers that are accessible to the current user. The order is defined by the order_by parameter. A single partner_id is required. Cross-partner listing is not supported.", - "flatPath": "v1/advertisers", - "httpMethod": "GET", - "id": "displayvideo.advertisers.list", - "parameterOrder": [], - "parameters": { - "filter": { - "description": "Allows filtering by advertiser fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `advertiserId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All active advertisers under a partner: `entityStatus=\"ENTITY_STATUS_ACTIVE\"` * All advertisers with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All advertisers with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdvertisers` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "Required. The ID of the partner that the fetched advertisers should all belong to. The system only supports listing advertisers for one partner at a time.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers", - "response": { - "$ref": "ListAdvertisersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates an existing advertiser. Returns the updated advertiser if successful.", - "flatPath": "v1/advertisers/{advertisersId}", - "httpMethod": "PATCH", - "id": "displayvideo.advertisers.patch", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser. Assigned by the system.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}", - "request": { - "$ref": "Advertiser" - }, - "response": { - "$ref": "Advertiser" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - }, - "resources": { - "assets": { - "methods": { - "upload": { - "description": "Uploads an asset. Returns the ID of the newly uploaded asset if successful. The asset file size should be no more than 10 MB for images, 200 MB for ZIP files, and 1 GB for videos. Must be used within the [multipart media upload process](/display-video/api/guides/how-tos/upload#multipart). Examples using provided client libraries can be found in our [Creating Creatives guide](/display-video/api/guides/creating-creatives/overview#upload_an_asset).", - "flatPath": "v1/advertisers/{advertisersId}/assets", - "httpMethod": "POST", - "id": "displayvideo.advertisers.assets.upload", - "mediaUpload": { - "accept": [ - "*/*" - ], - "protocols": { - "simple": { - "multipart": true, - "path": "/upload/v1/advertisers/{+advertiserId}/assets" - } - } - }, - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser this asset belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/assets", - "request": { - "$ref": "CreateAssetRequest" - }, - "response": { - "$ref": "CreateAssetResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ], - "supportsMediaUpload": true - } - } - }, - "campaigns": { - "methods": { - "bulkListCampaignAssignedTargetingOptions": { - "description": "Lists assigned targeting options of a campaign across targeting types.", - "flatPath": "v1/advertisers/{advertisersId}/campaigns/{campaignsId}:bulkListCampaignAssignedTargetingOptions", - "httpMethod": "GET", - "id": "displayvideo.advertisers.campaigns.bulkListCampaignAssignedTargetingOptions", - "parameterOrder": [ - "advertiserId", - "campaignId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the campaign belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "campaignId": { - "description": "Required. The ID of the campaign to list assigned targeting options for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_LANGUAGE` or `TARGETING_TYPE_GENDER`: `targetingType=\"TARGETING_TYPE_LANGUAGE\" OR targetingType=\"TARGETING_TYPE_GENDER\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListCampaignAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/campaigns/{+campaignId}:bulkListCampaignAssignedTargetingOptions", - "response": { - "$ref": "BulkListCampaignAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "create": { - "description": "Creates a new campaign. Returns the newly created campaign if successful.", - "flatPath": "v1/advertisers/{advertisersId}/campaigns", - "httpMethod": "POST", - "id": "displayvideo.advertisers.campaigns.create", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the campaign belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/campaigns", - "request": { - "$ref": "Campaign" - }, - "response": { - "$ref": "Campaign" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/display-video-mediaplanning" - ] - }, - "delete": { - "description": "Permanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.", - "flatPath": "v1/advertisers/{advertisersId}/campaigns/{campaignsId}", - "httpMethod": "DELETE", - "id": "displayvideo.advertisers.campaigns.delete", - "parameterOrder": [ - "advertiserId", - "campaignId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser this campaign belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "campaignId": { - "description": "The ID of the campaign we need to delete.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/campaigns/{+campaignId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/display-video-mediaplanning" - ] - }, - "get": { - "description": "Gets a campaign.", - "flatPath": "v1/advertisers/{advertisersId}/campaigns/{campaignsId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.campaigns.get", - "parameterOrder": [ - "advertiserId", - "campaignId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser this campaign belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "campaignId": { - "description": "Required. The ID of the campaign to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/campaigns/{+campaignId}", - "response": { - "$ref": "Campaign" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/display-video-mediaplanning" - ] - }, - "list": { - "description": "Lists campaigns in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, campaigns with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", - "flatPath": "v1/advertisers/{advertisersId}/campaigns", - "httpMethod": "GET", - "id": "displayvideo.advertisers.campaigns.list", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser to list campaigns for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by campaign fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\")` * All campaigns with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All campaigns with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCampaigns` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/campaigns", - "response": { - "$ref": "ListCampaignsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/display-video-mediaplanning" - ] - }, - "patch": { - "description": "Updates an existing campaign. Returns the updated campaign if successful.", - "flatPath": "v1/advertisers/{advertisersId}/campaigns/{campaignsId}", - "httpMethod": "PATCH", - "id": "displayvideo.advertisers.campaigns.patch", - "parameterOrder": [ - "advertiserId", - "campaignId" - ], - "parameters": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the campaign belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "campaignId": { - "description": "Output only. The unique ID of the campaign. Assigned by the system.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/campaigns/{+campaignId}", - "request": { - "$ref": "Campaign" - }, - "response": { - "$ref": "Campaign" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/display-video-mediaplanning" - ] - } - }, - "resources": { - "targetingTypes": { - "resources": { - "assignedTargetingOptions": { - "methods": { - "get": { - "description": "Gets a single targeting option assigned to a campaign.", - "flatPath": "v1/advertisers/{advertisersId}/campaigns/{campaignsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.get", - "parameterOrder": [ - "advertiserId", - "campaignId", - "targetingType", - "assignedTargetingOptionId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the campaign belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "assignedTargetingOptionId": { - "description": "Required. An identifier unique to the targeting type in this campaign that identifies the assigned targeting option being requested.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "campaignId": { - "description": "Required. The ID of the campaign the assigned targeting option belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", - "response": { - "$ref": "AssignedTargetingOption" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists the targeting options assigned to a campaign for a specified targeting type.", - "flatPath": "v1/advertisers/{advertisersId}/campaigns/{campaignsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", - "httpMethod": "GET", - "id": "displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.list", - "parameterOrder": [ - "advertiserId", - "campaignId", - "targetingType" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the campaign belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "campaignId": { - "description": "Required. The ID of the campaign to list assigned targeting options for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2 `assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER` `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCampaignAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions", - "response": { - "$ref": "ListCampaignAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - } - } - }, - "channels": { - "methods": { - "create": { - "description": "Creates a new channel. Returns the newly created channel if successful.", - "flatPath": "v1/advertisers/{advertisersId}/channels", - "httpMethod": "POST", - "id": "displayvideo.advertisers.channels.create", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the created channel.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the created channel.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/channels", - "request": { - "$ref": "Channel" - }, - "response": { - "$ref": "Channel" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a channel for a partner or advertiser.", - "flatPath": "v1/advertisers/{advertisersId}/channels/{channelsId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.channels.get", - "parameterOrder": [ - "advertiserId", - "channelId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the fetched channel.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "channelId": { - "description": "Required. The ID of the channel to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the fetched channel.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/channels/{+channelId}", - "response": { - "$ref": "Channel" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists channels for a partner or advertiser.", - "flatPath": "v1/advertisers/{advertisersId}/channels", - "httpMethod": "GET", - "id": "displayvideo.advertisers.channels.list", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the channels.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels for which the display name contains \"google\": `displayName : \"google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListChannels` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the channels.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/channels", - "response": { - "$ref": "ListChannelsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates a channel. Returns the updated channel if successful.", - "flatPath": "v1/advertisers/{advertisersId}/channels/{channelId}", - "httpMethod": "PATCH", - "id": "displayvideo.advertisers.channels.patch", - "parameterOrder": [ - "advertiserId", - "channelId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the created channel.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "channelId": { - "description": "Output only. The unique ID of the channel. Assigned by the system.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the created channel.", - "format": "int64", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/channels/{channelId}", - "request": { - "$ref": "Channel" - }, - "response": { - "$ref": "Channel" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - }, - "resources": { - "sites": { - "methods": { - "bulkEdit": { - "description": "Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.", - "flatPath": "v1/advertisers/{advertiserId}/channels/{channelsId}/sites:bulkEdit", - "httpMethod": "POST", - "id": "displayvideo.advertisers.channels.sites.bulkEdit", - "parameterOrder": [ - "advertiserId", - "channelId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent channel.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "channelId": { - "description": "Required. The ID of the parent channel to which the sites belong.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit", - "request": { - "$ref": "BulkEditSitesRequest" - }, - "response": { - "$ref": "BulkEditSitesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "create": { - "description": "Creates a site in a channel.", - "flatPath": "v1/advertisers/{advertiserId}/channels/{channelsId}/sites", - "httpMethod": "POST", - "id": "displayvideo.advertisers.channels.sites.create", - "parameterOrder": [ - "advertiserId", - "channelId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent channel.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "channelId": { - "description": "Required. The ID of the parent channel in which the site will be created.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent channel.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/channels/{+channelId}/sites", - "request": { - "$ref": "Site" - }, - "response": { - "$ref": "Site" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes a site from a channel.", - "flatPath": "v1/advertisers/{advertiserId}/channels/{channelsId}/sites/{sitesId}", - "httpMethod": "DELETE", - "id": "displayvideo.advertisers.channels.sites.delete", - "parameterOrder": [ - "advertiserId", - "channelId", - "urlOrAppId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent channel.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "channelId": { - "description": "Required. The ID of the parent channel to which the site belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent channel.", - "format": "int64", - "location": "query", - "type": "string" - }, - "urlOrAppId": { - "description": "Required. The URL or app ID of the site to delete.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists sites in a channel.", - "flatPath": "v1/advertisers/{advertisersId}/channels/{channelsId}/sites", - "httpMethod": "GET", - "id": "displayvideo.advertisers.channels.sites.list", - "parameterOrder": [ - "advertiserId", - "channelId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent channel.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "channelId": { - "description": "Required. The ID of the parent channel to which the requested sites belong.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by site fields. Supported syntax: * Filter expressions for site retrieval can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `urlOrAppId` Examples: * All sites for which the URL or app ID contains \"google\": `urlOrAppId : \"google\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `urlOrAppId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `urlOrAppId desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListSites` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent channel.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/channels/{+channelId}/sites", - "response": { - "$ref": "ListSitesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "replace": { - "description": "Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites.", - "flatPath": "v1/advertisers/{advertiserId}/channels/{channelsId}/sites:replace", - "httpMethod": "POST", - "id": "displayvideo.advertisers.channels.sites.replace", - "parameterOrder": [ - "advertiserId", - "channelId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent channel.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "channelId": { - "description": "Required. The ID of the parent channel whose sites will be replaced.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/channels/{+channelId}/sites:replace", - "request": { - "$ref": "ReplaceSitesRequest" - }, - "response": { - "$ref": "ReplaceSitesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - }, - "creatives": { - "methods": { - "create": { - "description": "Creates a new creative. Returns the newly created creative if successful. A [\"Standard\" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner is required to make this request.", - "flatPath": "v1/advertisers/{advertisersId}/creatives", - "httpMethod": "POST", - "id": "displayvideo.advertisers.creatives.create", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the creative belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/creatives", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes a creative. Returns error code `NOT_FOUND` if the creative does not exist. The creative should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, before it can be deleted. A [\"Standard\" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner is required to make this request.", - "flatPath": "v1/advertisers/{advertisersId}/creatives/{creativesId}", - "httpMethod": "DELETE", - "id": "displayvideo.advertisers.creatives.delete", - "parameterOrder": [ - "advertiserId", - "creativeId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser this creative belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "creativeId": { - "description": "The ID of the creative to be deleted.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/creatives/{+creativeId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a creative.", - "flatPath": "v1/advertisers/{advertisersId}/creatives/{creativesId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.creatives.get", - "parameterOrder": [ - "advertiserId", - "creativeId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser this creative belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "creativeId": { - "description": "Required. The ID of the creative to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/creatives/{+creativeId}", - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists creatives in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, creatives with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", - "flatPath": "v1/advertisers/{advertisersId}/creatives", - "httpMethod": "GET", - "id": "displayvideo.advertisers.creatives.list", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser to list creatives for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by creative fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `lineItemIds` field must use the `HAS (:)` operator. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. * For `entityStatus`, `minDuration`, `maxDuration`, `updateTime`, and `dynamic` fields, there may be at most one restriction. Supported Fields: * `approvalStatus` * `creativeId` * `creativeType` * `dimensions` (input in the form of `{width}x{height}`) * `dynamic` * `entityStatus` * `exchangeReviewStatus` (input in the form of `{exchange}-{reviewStatus}`) * `lineItemIds` * `maxDuration` (input in the form of `{duration}s`. Only seconds are supported) * `minDuration` (input in the form of `{duration}s`. Only seconds are supported) * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Notes: * For `updateTime`, a creative resource's field value reflects the last time that a creative has been updated, which includes updates made by the system (e.g. creative review updates). Examples: * All native creatives: `creativeType=\"CREATIVE_TYPE_NATIVE\"` * All active creatives with 300x400 or 50x100 dimensions: `entityStatus=\"ENTITY_STATUS_ACTIVE\" AND (dimensions=\"300x400\" OR dimensions=\"50x100\")` * All dynamic creatives that are approved by AdX or AppNexus, with a minimum duration of 5 seconds and 200ms: `dynamic=\"true\" AND minDuration=\"5.2s\" AND (exchangeReviewStatus=\"EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED\" OR exchangeReviewStatus=\"EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED\")` * All video creatives that are associated with line item ID 1 or 2: `creativeType=\"CREATIVE_TYPE_VIDEO\" AND (lineItemIds:1 OR lineItemIds:2)` * Find creatives by multiple creative IDs: `creativeId=1 OR creativeId=2` * All creatives with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `creativeId` (default) * `createTime` * `mediaDuration` * `dimensions` (sorts by width first, then by height) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `createTime desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCreatives` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/creatives", - "response": { - "$ref": "ListCreativesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates an existing creative. Returns the updated creative if successful. A [\"Standard\" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner is required to make this request.", - "flatPath": "v1/advertisers/{advertisersId}/creatives/{creativesId}", - "httpMethod": "PATCH", - "id": "displayvideo.advertisers.creatives.patch", - "parameterOrder": [ - "advertiserId", - "creativeId" - ], - "parameters": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the creative belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "creativeId": { - "description": "Output only. The unique ID of the creative. Assigned by the system.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/creatives/{+creativeId}", - "request": { - "$ref": "Creative" - }, - "response": { - "$ref": "Creative" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - }, - "insertionOrders": { - "methods": { - "bulkListInsertionOrderAssignedTargetingOptions": { - "description": "Lists assigned targeting options of an insertion order across targeting types.", - "flatPath": "v1/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}:bulkListInsertionOrderAssignedTargetingOptions", - "httpMethod": "GET", - "id": "displayvideo.advertisers.insertionOrders.bulkListInsertionOrderAssignedTargetingOptions", - "parameterOrder": [ - "advertiserId", - "insertionOrderId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the insertion order belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: `targetingType=\"TARGETING_TYPE_PROXIMITY_LOCATION_LIST\" OR targetingType=\"TARGETING_TYPE_CHANNEL\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "insertionOrderId": { - "description": "Required. The ID of the insertion order to list assigned targeting options for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListInsertionOrderAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}:bulkListInsertionOrderAssignedTargetingOptions", - "response": { - "$ref": "BulkListInsertionOrderAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "create": { - "description": "Creates a new insertion order. Returns the newly created insertion order if successful.", - "flatPath": "v1/advertisers/{advertisersId}/insertionOrders", - "httpMethod": "POST", - "id": "displayvideo.advertisers.insertionOrders.create", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the insertion order belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/insertionOrders", - "request": { - "$ref": "InsertionOrder" - }, - "response": { - "$ref": "InsertionOrder" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist. The insertion order should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.", - "flatPath": "v1/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}", - "httpMethod": "DELETE", - "id": "displayvideo.advertisers.insertionOrders.delete", - "parameterOrder": [ - "advertiserId", - "insertionOrderId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser this insertion order belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "insertionOrderId": { - "description": "The ID of the insertion order to delete.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist.", - "flatPath": "v1/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.insertionOrders.get", - "parameterOrder": [ - "advertiserId", - "insertionOrderId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser this insertion order belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "insertionOrderId": { - "description": "Required. The ID of the insertion order to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}", - "response": { - "$ref": "InsertionOrder" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", - "flatPath": "v1/advertisers/{advertisersId}/insertionOrders", - "httpMethod": "GET", - "id": "displayvideo.advertisers.insertionOrders.list", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser to list insertion orders for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by insertion order fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All insertion orders under a campaign: `campaignId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\")` * All insertion orders with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All insertion orders with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * \"displayName\" (default) * \"entityStatus\" * \"updateTime\" The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInsertionOrders` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/insertionOrders", - "response": { - "$ref": "ListInsertionOrdersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates an existing insertion order. Returns the updated insertion order if successful.", - "flatPath": "v1/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}", - "httpMethod": "PATCH", - "id": "displayvideo.advertisers.insertionOrders.patch", - "parameterOrder": [ - "advertiserId", - "insertionOrderId" - ], - "parameters": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the insertion order belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "insertionOrderId": { - "description": "Output only. The unique ID of the insertion order. Assigned by the system.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}", - "request": { - "$ref": "InsertionOrder" - }, - "response": { - "$ref": "InsertionOrder" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - }, - "resources": { - "targetingTypes": { - "resources": { - "assignedTargetingOptions": { - "methods": { - "get": { - "description": "Gets a single targeting option assigned to an insertion order.", - "flatPath": "v1/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.get", - "parameterOrder": [ - "advertiserId", - "insertionOrderId", - "targetingType", - "assignedTargetingOptionId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the insertion order belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "assignedTargetingOptionId": { - "description": "Required. An identifier unique to the targeting type in this insertion order that identifies the assigned targeting option being requested.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "insertionOrderId": { - "description": "Required. The ID of the insertion order the assigned targeting option belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", - "response": { - "$ref": "AssignedTargetingOption" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists the targeting options assigned to an insertion order.", - "flatPath": "v1/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", - "httpMethod": "GET", - "id": "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.list", - "parameterOrder": [ - "advertiserId", - "insertionOrderId", - "targetingType" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the insertion order belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "insertionOrderId": { - "description": "Required. The ID of the insertion order to list assigned targeting options for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInsertionOrderAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions", - "response": { - "$ref": "ListInsertionOrderAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - } - } - }, - "invoices": { - "methods": { - "list": { - "description": "Lists invoices posted for an advertiser in a given month. Invoices generated by billing profiles with a \"Partner\" invoice level are not retrievable through this method.", - "flatPath": "v1/advertisers/{advertisersId}/invoices", - "httpMethod": "GET", - "id": "displayvideo.advertisers.invoices.list", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser to list invoices for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "issueMonth": { - "description": "The month to list the invoices for. If not set, the request will retrieve invoices for the previous month. Must be in the format YYYYMM.", - "location": "query", - "type": "string" - }, - "loiSapinInvoiceType": { - "description": "Select type of invoice to retrieve for Loi Sapin advertisers. Only applicable to Loi Sapin advertisers. Will be ignored otherwise.", - "enum": [ - "LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED", - "LOI_SAPIN_INVOICE_TYPE_MEDIA", - "LOI_SAPIN_INVOICE_TYPE_PLATFORM" - ], - "enumDescriptions": [ - "Value is not specified.", - "Invoices with Media cost.", - "Invoices with Platform fee." - ], - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInvoices` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/invoices", - "response": { - "$ref": "ListInvoicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/display-video-mediaplanning" - ] - }, - "lookupInvoiceCurrency": { - "description": "Retrieves the invoice currency used by an advertiser in a given month.", - "flatPath": "v1/advertisers/{advertisersId}/invoices:lookupInvoiceCurrency", - "httpMethod": "GET", - "id": "displayvideo.advertisers.invoices.lookupInvoiceCurrency", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser to lookup currency for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "invoiceMonth": { - "description": "Month for which the currency is needed. If not set, the request will return existing currency settings for the advertiser. Must be in the format YYYYMM.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/invoices:lookupInvoiceCurrency", - "response": { - "$ref": "LookupInvoiceCurrencyResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/display-video-mediaplanning" - ] - } - } - }, - "lineItems": { - "methods": { - "bulkEditLineItemAssignedTargetingOptions": { - "description": "Bulk edits targeting options under a single line item. The operation will delete the assigned targeting options provided in BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditLineItemAssignedTargetingOptionsRequest.create_requests. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}:bulkEditLineItemAssignedTargetingOptions", - "httpMethod": "POST", - "id": "displayvideo.advertisers.lineItems.bulkEditLineItemAssignedTargetingOptions", - "parameterOrder": [ - "advertiserId", - "lineItemId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "lineItemId": { - "description": "Required. The ID of the line item the assigned targeting option will belong to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}:bulkEditLineItemAssignedTargetingOptions", - "request": { - "$ref": "BulkEditLineItemAssignedTargetingOptionsRequest" - }, - "response": { - "$ref": "BulkEditLineItemAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "bulkListLineItemAssignedTargetingOptions": { - "description": "Lists assigned targeting options of a line item across targeting types.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}:bulkListLineItemAssignedTargetingOptions", - "httpMethod": "GET", - "id": "displayvideo.advertisers.lineItems.bulkListLineItemAssignedTargetingOptions", - "parameterOrder": [ - "advertiserId", - "lineItemId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: `targetingType=\"TARGETING_TYPE_PROXIMITY_LOCATION_LIST\" OR targetingType=\"TARGETING_TYPE_CHANNEL\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "lineItemId": { - "description": "Required. The ID of the line item to list assigned targeting options for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListLineItemAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}:bulkListLineItemAssignedTargetingOptions", - "response": { - "$ref": "BulkListLineItemAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "create": { - "description": "Creates a new line item. Returns the newly created line item if successful. YouTube & Partners line items cannot be created or updated using the API.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems", - "httpMethod": "POST", - "id": "displayvideo.advertisers.lineItems.create", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems", - "request": { - "$ref": "LineItem" - }, - "response": { - "$ref": "LineItem" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes a line item. Returns error code `NOT_FOUND` if the line item does not exist. The line item should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. YouTube & Partners line items cannot be created or updated using the API.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}", - "httpMethod": "DELETE", - "id": "displayvideo.advertisers.lineItems.delete", - "parameterOrder": [ - "advertiserId", - "lineItemId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser this line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "lineItemId": { - "description": "The ID of the line item to delete.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "generateDefault": { - "description": "Creates a new line item with settings (including targeting) inherited from the insertion order and an `ENTITY_STATUS_DRAFT` entity_status. Returns the newly created line item if successful. There are default values based on the three fields: * The insertion order's insertion_order_type * The insertion order's automation_type * The given line_item_type YouTube & Partners line items cannot be created or updated using the API.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems:generateDefault", - "httpMethod": "POST", - "id": "displayvideo.advertisers.lineItems.generateDefault", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser this line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems:generateDefault", - "request": { - "$ref": "GenerateDefaultLineItemRequest" - }, - "response": { - "$ref": "LineItem" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a line item.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.lineItems.get", - "parameterOrder": [ - "advertiserId", - "lineItemId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser this line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "lineItemId": { - "description": "Required. The ID of the line item to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}", - "response": { - "$ref": "LineItem" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists line items in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, line items with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems", - "httpMethod": "GET", - "id": "displayvideo.advertisers.lineItems.list", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser to list line items for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by line item fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `insertionOrderId` * `lineItemId` * `lineItemType` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All line items under an insertion order: `insertionOrderId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\") AND lineItemType=\"LINE_ITEM_TYPE_DISPLAY_DEFAULT\"` * All line items with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All line items with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListLineItems` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems", - "response": { - "$ref": "ListLineItemsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates an existing line item. Returns the updated line item if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * BulkEditAssignedTargetingOptions * BulkUpdateLineItems * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}", - "httpMethod": "PATCH", - "id": "displayvideo.advertisers.lineItems.patch", - "parameterOrder": [ - "advertiserId", - "lineItemId" - ], - "parameters": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "lineItemId": { - "description": "Output only. The unique ID of the line item. Assigned by the system.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}", - "request": { - "$ref": "LineItem" - }, - "response": { - "$ref": "LineItem" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - }, - "resources": { - "targetingTypes": { - "resources": { - "assignedTargetingOptions": { - "methods": { - "create": { - "description": "Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", - "httpMethod": "POST", - "id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.create", - "parameterOrder": [ - "advertiserId", - "lineItemId", - "targetingType" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "lineItemId": { - "description": "Required. The ID of the line item the assigned targeting option will belong to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions", - "request": { - "$ref": "AssignedTargetingOption" - }, - "response": { - "$ref": "AssignedTargetingOption" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", - "httpMethod": "DELETE", - "id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.delete", - "parameterOrder": [ - "advertiserId", - "lineItemId", - "targetingType", - "assignedTargetingOptionId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "assignedTargetingOptionId": { - "description": "Required. The ID of the assigned targeting option to delete.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "lineItemId": { - "description": "Required. The ID of the line item the assigned targeting option belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a single targeting option assigned to a line item.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.get", - "parameterOrder": [ - "advertiserId", - "lineItemId", - "targetingType", - "assignedTargetingOptionId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "assignedTargetingOptionId": { - "description": "Required. An identifier unique to the targeting type in this line item that identifies the assigned targeting option being requested.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "lineItemId": { - "description": "Required. The ID of the line item the assigned targeting option belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `TARGETING_TYPE_YOUTUBE_VIDEO` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", - "response": { - "$ref": "AssignedTargetingOption" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists the targeting options assigned to a line item.", - "flatPath": "v1/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", - "httpMethod": "GET", - "id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.list", - "parameterOrder": [ - "advertiserId", - "lineItemId", - "targetingType" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser the line item belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "lineItemId": { - "description": "Required. The ID of the line item to list assigned targeting options for.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListLineItemAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `TARGETING_TYPE_YOUTUBE_VIDEO` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions", - "response": { - "$ref": "ListLineItemAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - } - } - }, - "locationLists": { - "methods": { - "create": { - "description": "Creates a new location list. Returns the newly created location list if successful.", - "flatPath": "v1/advertisers/{advertisersId}/locationLists", - "httpMethod": "POST", - "id": "displayvideo.advertisers.locationLists.create", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the location list belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/locationLists", - "request": { - "$ref": "LocationList" - }, - "response": { - "$ref": "LocationList" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a location list.", - "flatPath": "v1/advertisers/{advertisersId}/locationLists/{locationListsId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.locationLists.get", - "parameterOrder": [ - "advertiserId", - "locationListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the fetched location list belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "locationListId": { - "description": "Required. The ID of the location list to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/locationLists/{+locationListId}", - "response": { - "$ref": "LocationList" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists location lists based on a given advertiser id.", - "flatPath": "v1/advertisers/{advertisersId}/locationLists", - "httpMethod": "GET", - "id": "displayvideo.advertisers.locationLists.list", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the fetched location lists belong.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by location list fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `locationType` Examples: * All regional location list: `locationType=\"TARGETING_LOCATION_TYPE_REGIONAL\"` * All proximity location list: `locationType=\"TARGETING_LOCATION_TYPE_PROXIMITY\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `locationListId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListLocationLists` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/locationLists", - "response": { - "$ref": "ListLocationListsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates a location list. Returns the updated location list if successful.", - "flatPath": "v1/advertisers/{advertisersId}/locationLists/{locationListId}", - "httpMethod": "PATCH", - "id": "displayvideo.advertisers.locationLists.patch", - "parameterOrder": [ - "advertiserId", - "locationListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the location lists belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "locationListId": { - "description": "Output only. The unique ID of the location list. Assigned by the system.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/locationLists/{locationListId}", - "request": { - "$ref": "LocationList" - }, - "response": { - "$ref": "LocationList" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - }, - "resources": { - "assignedLocations": { - "methods": { - "bulkEdit": { - "description": "Bulk edits multiple assignments between locations and a single location list. The operation will delete the assigned locations provided in deletedAssignedLocations and then create the assigned locations provided in createdAssignedLocations.", - "flatPath": "v1/advertisers/{advertiserId}/locationLists/{locationListsId}/assignedLocations:bulkEdit", - "httpMethod": "POST", - "id": "displayvideo.advertisers.locationLists.assignedLocations.bulkEdit", - "parameterOrder": [ - "advertiserId", - "locationListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the location list belongs.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "locationListId": { - "description": "Required. The ID of the location list to which these assignments are assigned.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit", - "request": { - "$ref": "BulkEditAssignedLocationsRequest" - }, - "response": { - "$ref": "BulkEditAssignedLocationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "create": { - "description": "Creates an assignment between a location and a location list.", - "flatPath": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", - "httpMethod": "POST", - "id": "displayvideo.advertisers.locationLists.assignedLocations.create", - "parameterOrder": [ - "advertiserId", - "locationListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the location list belongs.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "locationListId": { - "description": "Required. The ID of the location list for which the assignment will be created.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", - "request": { - "$ref": "AssignedLocation" - }, - "response": { - "$ref": "AssignedLocation" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes the assignment between a location and a location list.", - "flatPath": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{assignedLocationsId}", - "httpMethod": "DELETE", - "id": "displayvideo.advertisers.locationLists.assignedLocations.delete", - "parameterOrder": [ - "advertiserId", - "locationListId", - "assignedLocationId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the location list belongs.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "assignedLocationId": { - "description": "Required. The ID of the assigned location to delete.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "locationListId": { - "description": "Required. The ID of the location list to which this assignment is assigned.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{+assignedLocationId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists locations assigned to a location list.", - "flatPath": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", - "httpMethod": "GET", - "id": "displayvideo.advertisers.locationLists.assignedLocations.list", - "parameterOrder": [ - "advertiserId", - "locationListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the location list belongs.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by location list assignment fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedLocationId` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "locationListId": { - "description": "Required. The ID of the location list to which these assignments are assigned.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `assignedLocationId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `assignedLocationId desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAssignedLocations` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", - "response": { - "$ref": "ListAssignedLocationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - }, - "manualTriggers": { - "methods": { - "activate": { - "description": "Activates a manual trigger. Each activation of the manual trigger must be at least 5 minutes apart, otherwise an error will be returned. **Warning:** Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation announcement](/display-video/api/deprecations#features.manual_triggers) for more information.", - "flatPath": "v1/advertisers/{advertisersId}/manualTriggers/{manualTriggersId}:activate", - "httpMethod": "POST", - "id": "displayvideo.advertisers.manualTriggers.activate", - "parameterOrder": [ - "advertiserId", - "triggerId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser that the manual trigger belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "triggerId": { - "description": "Required. The ID of the manual trigger to activate.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}:activate", - "request": { - "$ref": "ActivateManualTriggerRequest" - }, - "response": { - "$ref": "ManualTrigger" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "create": { - "description": "Creates a new manual trigger. Returns the newly created manual trigger if successful. **Warning:** Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation announcement](/display-video/api/deprecations#features.manual_triggers) for more information.", - "flatPath": "v1/advertisers/{advertisersId}/manualTriggers", - "httpMethod": "POST", - "id": "displayvideo.advertisers.manualTriggers.create", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/manualTriggers", - "request": { - "$ref": "ManualTrigger" - }, - "response": { - "$ref": "ManualTrigger" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "deactivate": { - "description": "Deactivates a manual trigger. **Warning:** Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation announcement](/display-video/api/deprecations#features.manual_triggers) for more information.", - "flatPath": "v1/advertisers/{advertisersId}/manualTriggers/{manualTriggersId}:deactivate", - "httpMethod": "POST", - "id": "displayvideo.advertisers.manualTriggers.deactivate", - "parameterOrder": [ - "advertiserId", - "triggerId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser that the manual trigger belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "triggerId": { - "description": "Required. The ID of the manual trigger to deactivate.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}:deactivate", - "request": { - "$ref": "DeactivateManualTriggerRequest" - }, - "response": { - "$ref": "ManualTrigger" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a manual trigger. **Warning:** Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation announcement](/display-video/api/deprecations#features.manual_triggers) for more information.", - "flatPath": "v1/advertisers/{advertisersId}/manualTriggers/{manualTriggersId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.manualTriggers.get", - "parameterOrder": [ - "advertiserId", - "triggerId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser this manual trigger belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "triggerId": { - "description": "Required. The ID of the manual trigger to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}", - "response": { - "$ref": "ManualTrigger" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists manual triggers that are accessible to the current user for a given advertiser ID. The order is defined by the order_by parameter. A single advertiser_id is required. **Warning:** Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation announcement](/display-video/api/deprecations#features.manual_triggers) for more information.", - "flatPath": "v1/advertisers/{advertisersId}/manualTriggers", - "httpMethod": "GET", - "id": "displayvideo.advertisers.manualTriggers.list", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser that the fetched manual triggers belong to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by manual trigger fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `displayName` * `state` Examples: * All active manual triggers under an advertiser: `state=\"ACTIVE\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `state` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListManualTriggers` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/manualTriggers", - "response": { - "$ref": "ListManualTriggersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates a manual trigger. Returns the updated manual trigger if successful. **Warning:** Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation announcement](/display-video/api/deprecations#features.manual_triggers) for more information.", - "flatPath": "v1/advertisers/{advertisersId}/manualTriggers/{manualTriggersId}", - "httpMethod": "PATCH", - "id": "displayvideo.advertisers.manualTriggers.patch", - "parameterOrder": [ - "advertiserId", - "triggerId" - ], - "parameters": { - "advertiserId": { - "description": "Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "triggerId": { - "description": "Output only. The unique ID of the manual trigger.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}", - "request": { - "$ref": "ManualTrigger" - }, - "response": { - "$ref": "ManualTrigger" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - }, - "negativeKeywordLists": { - "methods": { - "create": { - "description": "Creates a new negative keyword list. Returns the newly created negative keyword list if successful.", - "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists", - "httpMethod": "POST", - "id": "displayvideo.advertisers.negativeKeywordLists.create", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the negative keyword list will belong.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists", - "request": { - "$ref": "NegativeKeywordList" - }, - "response": { - "$ref": "NegativeKeywordList" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes a negative keyword list given an advertiser ID and a negative keyword list ID.", - "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}", - "httpMethod": "DELETE", - "id": "displayvideo.advertisers.negativeKeywordLists.delete", - "parameterOrder": [ - "advertiserId", - "negativeKeywordListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the negative keyword list belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "negativeKeywordListId": { - "description": "Required. The ID of the negative keyword list to delete.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a negative keyword list given an advertiser ID and a negative keyword list ID.", - "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.negativeKeywordLists.get", - "parameterOrder": [ - "advertiserId", - "negativeKeywordListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the fetched negative keyword list belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "negativeKeywordListId": { - "description": "Required. The ID of the negative keyword list to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}", - "response": { - "$ref": "NegativeKeywordList" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists negative keyword lists based on a given advertiser id.", - "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists", - "httpMethod": "GET", - "id": "displayvideo.advertisers.negativeKeywordLists.list", - "parameterOrder": [ - "advertiserId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the fetched negative keyword lists belong.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListNegativeKeywordLists` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists", - "response": { - "$ref": "ListNegativeKeywordListsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates a negative keyword list. Returns the updated negative keyword list if successful.", - "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListId}", - "httpMethod": "PATCH", - "id": "displayvideo.advertisers.negativeKeywordLists.patch", - "parameterOrder": [ - "advertiserId", - "negativeKeywordListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the negative keyword list belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "negativeKeywordListId": { - "description": "Output only. The unique ID of the negative keyword list. Assigned by the system.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists/{negativeKeywordListId}", - "request": { - "$ref": "NegativeKeywordList" - }, - "response": { - "$ref": "NegativeKeywordList" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - }, - "resources": { - "negativeKeywords": { - "methods": { - "bulkEdit": { - "description": "Bulk edits negative keywords in a single negative keyword list. The operation will delete the negative keywords provided in BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then create the negative keywords provided in BulkEditNegativeKeywordsRequest.created_negative_keywords. This operation is guaranteed to be atomic and will never result in a partial success or partial failure.", - "flatPath": "v1/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords:bulkEdit", - "httpMethod": "POST", - "id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.bulkEdit", - "parameterOrder": [ - "advertiserId", - "negativeKeywordListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "negativeKeywordListId": { - "description": "Required. The ID of the parent negative keyword list to which the negative keywords belong.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:bulkEdit", - "request": { - "$ref": "BulkEditNegativeKeywordsRequest" - }, - "response": { - "$ref": "BulkEditNegativeKeywordsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "create": { - "description": "Creates a negative keyword in a negative keyword list.", - "flatPath": "v1/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords", - "httpMethod": "POST", - "id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.create", - "parameterOrder": [ - "advertiserId", - "negativeKeywordListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "negativeKeywordListId": { - "description": "Required. The ID of the parent negative keyword list in which the negative keyword will be created.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords", - "request": { - "$ref": "NegativeKeyword" - }, - "response": { - "$ref": "NegativeKeyword" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes a negative keyword from a negative keyword list.", - "flatPath": "v1/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords/{negativeKeywordsId}", - "httpMethod": "DELETE", - "id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.delete", - "parameterOrder": [ - "advertiserId", - "negativeKeywordListId", - "keywordValue" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "keywordValue": { - "description": "Required. The keyword value of the negative keyword to delete.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "negativeKeywordListId": { - "description": "Required. The ID of the parent negative keyword list to which the negative keyword belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords/{+keywordValue}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists negative keywords in a negative keyword list.", - "flatPath": "v1/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords", - "httpMethod": "GET", - "id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.list", - "parameterOrder": [ - "advertiserId", - "negativeKeywordListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by negative keyword fields. Supported syntax: * Filter expressions for negative keywords can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `keywordValue` Examples: * All negative keywords for which the keyword value contains \"google\": `keywordValue : \"google\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "negativeKeywordListId": { - "description": "Required. The ID of the parent negative keyword list to which the requested negative keywords belong.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `keywordValue` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `keywordValue desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `1000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListNegativeKeywords` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords", - "response": { - "$ref": "ListNegativeKeywordsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "replace": { - "description": "Replaces all negative keywords in a single negative keyword list. The operation will replace the keywords in a negative keyword list with keywords provided in ReplaceNegativeKeywordsRequest.new_negative_keywords.", - "flatPath": "v1/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords:replace", - "httpMethod": "POST", - "id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.replace", - "parameterOrder": [ - "advertiserId", - "negativeKeywordListId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "negativeKeywordListId": { - "description": "Required. The ID of the parent negative keyword list to which the negative keywords belong.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:replace", - "request": { - "$ref": "ReplaceNegativeKeywordsRequest" - }, - "response": { - "$ref": "ReplaceNegativeKeywordsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - }, - "targetingTypes": { - "resources": { - "assignedTargetingOptions": { - "methods": { - "create": { - "description": "Assigns a targeting option to an advertiser. Returns the assigned targeting option if successful.", - "flatPath": "v1/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", - "httpMethod": "POST", - "id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.create", - "parameterOrder": [ - "advertiserId", - "targetingType" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions", - "request": { - "$ref": "AssignedTargetingOption" - }, - "response": { - "$ref": "AssignedTargetingOption" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes an assigned targeting option from an advertiser.", - "flatPath": "v1/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", - "httpMethod": "DELETE", - "id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.delete", - "parameterOrder": [ - "advertiserId", - "targetingType", - "assignedTargetingOptionId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "assignedTargetingOptionId": { - "description": "Required. The ID of the assigned targeting option to delete.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a single targeting option assigned to an advertiser.", - "flatPath": "v1/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", - "httpMethod": "GET", - "id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.get", - "parameterOrder": [ - "advertiserId", - "targetingType", - "assignedTargetingOptionId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "assignedTargetingOptionId": { - "description": "Required. An identifier unique to the targeting type in this advertiser that identifies the assigned targeting option being requested.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", - "response": { - "$ref": "AssignedTargetingOption" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists the targeting options assigned to an advertiser.", - "flatPath": "v1/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", - "httpMethod": "GET", - "id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.list", - "parameterOrder": [ - "advertiserId", - "targetingType" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` Examples: * `AssignedTargetingOption` with ID 123456: `assignedTargetingOptionId=\"123456\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdvertiserAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions", - "response": { - "$ref": "ListAdvertiserAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - } - } - }, - "combinedAudiences": { - "methods": { - "get": { - "description": "Gets a combined audience.", - "flatPath": "v1/combinedAudiences/{combinedAudiencesId}", - "httpMethod": "GET", - "id": "displayvideo.combinedAudiences.get", - "parameterOrder": [ - "combinedAudienceId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the fetched combined audience.", - "format": "int64", - "location": "query", - "type": "string" - }, - "combinedAudienceId": { - "description": "Required. The ID of the combined audience to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the fetched combined audience.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/combinedAudiences/{+combinedAudienceId}", - "response": { - "$ref": "CombinedAudience" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists combined audiences. The order is defined by the order_by parameter.", - "flatPath": "v1/combinedAudiences", - "httpMethod": "GET", - "id": "displayvideo.combinedAudiences.list", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the fetched combined audiences.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Allows filtering by combined audience fields. Supported syntax: * Filter expressions for combined audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All combined audiences for which the display name contains \"Google\": `displayName : \"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `combinedAudienceId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCombinedAudiences` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the fetched combined audiences.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/combinedAudiences", - "response": { - "$ref": "ListCombinedAudiencesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - }, - "customBiddingAlgorithms": { - "methods": { - "create": { - "description": "Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful.", - "flatPath": "v1/customBiddingAlgorithms", - "httpMethod": "POST", - "id": "displayvideo.customBiddingAlgorithms.create", - "parameterOrder": [], - "parameters": {}, - "path": "v1/customBiddingAlgorithms", - "request": { - "$ref": "CustomBiddingAlgorithm" - }, - "response": { - "$ref": "CustomBiddingAlgorithm" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a custom bidding algorithm.", - "flatPath": "v1/customBiddingAlgorithms/{customBiddingAlgorithmsId}", - "httpMethod": "GET", - "id": "displayvideo.customBiddingAlgorithms.get", - "parameterOrder": [ - "customBiddingAlgorithmId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the DV360 partner that has access to the custom bidding algorithm.", - "format": "int64", - "location": "query", - "type": "string" - }, - "customBiddingAlgorithmId": { - "description": "Required. The ID of the custom bidding algorithm to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the DV360 partner that has access to the custom bidding algorithm.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}", - "response": { - "$ref": "CustomBiddingAlgorithm" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists custom bidding algorithms that are accessible to the current user and can be used in bidding stratgies. The order is defined by the order_by parameter.", - "flatPath": "v1/customBiddingAlgorithms", - "httpMethod": "GET", - "id": "displayvideo.customBiddingAlgorithms.list", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "The ID of the DV360 advertiser that has access to the custom bidding algorithm.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Allows filtering by custom bidding algorithm fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND`. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `customBiddingAlgorithmType` field must use the `EQUALS (=)` operator. * The `displayName` field must use the `HAS (:)` operator. Supported fields: * `customBiddingAlgorithmType` * `displayName` Examples: * All custom bidding algorithms for which the display name contains \"politics\": `displayName:\"politics\"`. * All custom bidding algorithms for which the type is \"SCRIPT_BASED\": `customBiddingAlgorithmType=SCRIPT_BASED` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCustomBiddingAlgorithms` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the DV360 partner that has access to the custom bidding algorithm.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/customBiddingAlgorithms", - "response": { - "$ref": "ListCustomBiddingAlgorithmsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful.", - "flatPath": "v1/customBiddingAlgorithms/{customBiddingAlgorithmsId}", - "httpMethod": "PATCH", - "id": "displayvideo.customBiddingAlgorithms.patch", - "parameterOrder": [ - "customBiddingAlgorithmId" - ], - "parameters": { - "customBiddingAlgorithmId": { - "description": "Output only. The unique ID of the custom bidding algorithm. Assigned by the system.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}", - "request": { - "$ref": "CustomBiddingAlgorithm" - }, - "response": { - "$ref": "CustomBiddingAlgorithm" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "uploadScript": { - "description": "Creates a custom bidding script reference object for a script file. The resulting reference object provides a resource path to which the script file should be uploaded. This reference object should be included in when creating a new custom bidding script object.", - "flatPath": "v1/customBiddingAlgorithms/{customBiddingAlgorithmsId}:uploadScript", - "httpMethod": "GET", - "id": "displayvideo.customBiddingAlgorithms.uploadScript", - "parameterOrder": [ - "customBiddingAlgorithmId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent custom bidding algorithm.", - "format": "int64", - "location": "query", - "type": "string" - }, - "customBiddingAlgorithmId": { - "description": "Required. The ID of the custom bidding algorithm owns the script.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}:uploadScript", - "response": { - "$ref": "CustomBiddingScriptRef" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - }, - "resources": { - "scripts": { - "methods": { - "create": { - "description": "Creates a new custom bidding script. Returns the newly created script if successful.", - "flatPath": "v1/customBiddingAlgorithms/{customBiddingAlgorithmsId}/scripts", - "httpMethod": "POST", - "id": "displayvideo.customBiddingAlgorithms.scripts.create", - "parameterOrder": [ - "customBiddingAlgorithmId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent custom bidding algorithm.", - "format": "int64", - "location": "query", - "type": "string" - }, - "customBiddingAlgorithmId": { - "description": "Required. The ID of the custom bidding algorithm that owns the script.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts", - "request": { - "$ref": "CustomBiddingScript" - }, - "response": { - "$ref": "CustomBiddingScript" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a custom bidding script.", - "flatPath": "v1/customBiddingAlgorithms/{customBiddingAlgorithmsId}/scripts/{scriptsId}", - "httpMethod": "GET", - "id": "displayvideo.customBiddingAlgorithms.scripts.get", - "parameterOrder": [ - "customBiddingAlgorithmId", - "customBiddingScriptId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent custom bidding algorithm.", - "format": "int64", - "location": "query", - "type": "string" - }, - "customBiddingAlgorithmId": { - "description": "Required. The ID of the custom bidding algorithm owns the script.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "customBiddingScriptId": { - "description": "Required. The ID of the custom bidding script to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts/{+customBiddingScriptId}", - "response": { - "$ref": "CustomBiddingScript" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by parameter.", - "flatPath": "v1/customBiddingAlgorithms/{customBiddingAlgorithmsId}/scripts", - "httpMethod": "GET", - "id": "displayvideo.customBiddingAlgorithms.scripts.list", - "parameterOrder": [ - "customBiddingAlgorithmId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent custom bidding algorithm.", - "format": "int64", - "location": "query", - "type": "string" - }, - "customBiddingAlgorithmId": { - "description": "Required. The ID of the custom bidding algorithm owns the script.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `createTime desc` (default) The default sorting order is descending. To specify ascending order for a field, the suffix \"desc\" should be removed. Example: `createTime`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCustomBiddingScripts` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts", - "response": { - "$ref": "ListCustomBiddingScriptsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - }, - "customLists": { - "methods": { - "get": { - "description": "Gets a custom list.", - "flatPath": "v1/customLists/{customListsId}", - "httpMethod": "GET", - "id": "displayvideo.customLists.get", - "parameterOrder": [ - "customListId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the DV360 advertiser that has access to the fetched custom lists.", - "format": "int64", - "location": "query", - "type": "string" - }, - "customListId": { - "description": "Required. The ID of the custom list to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/customLists/{+customListId}", - "response": { - "$ref": "CustomList" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists custom lists. The order is defined by the order_by parameter.", - "flatPath": "v1/customLists", - "httpMethod": "GET", - "id": "displayvideo.customLists.list", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "The ID of the DV360 advertiser that has access to the fetched custom lists.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Allows filtering by custom list fields. Supported syntax: * Filter expressions for custom lists can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All custom lists for which the display name contains \"Google\": `displayName:\"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `customListId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCustomLists` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/customLists", - "response": { - "$ref": "ListCustomListsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - }, - "firstAndThirdPartyAudiences": { - "methods": { - "create": { - "description": "Creates a FirstAndThirdPartyAudience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", - "flatPath": "v1/firstAndThirdPartyAudiences", - "httpMethod": "POST", - "id": "displayvideo.firstAndThirdPartyAudiences.create", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the advertiser under whom the FirstAndThirdPartyAudience will be created.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/firstAndThirdPartyAudiences", - "request": { - "$ref": "FirstAndThirdPartyAudience" - }, - "response": { - "$ref": "FirstAndThirdPartyAudience" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "editCustomerMatchMembers": { - "description": "Updates the member list of a Customer Match audience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", - "flatPath": "v1/firstAndThirdPartyAudiences/{firstAndThirdPartyAudiencesId}:editCustomerMatchMembers", - "httpMethod": "POST", - "id": "displayvideo.firstAndThirdPartyAudiences.editCustomerMatchMembers", - "parameterOrder": [ - "firstAndThirdPartyAudienceId" - ], - "parameters": { - "firstAndThirdPartyAudienceId": { - "description": "Required. The ID of the Customer Match FirstAndThirdPartyAudience whose members will be edited.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}:editCustomerMatchMembers", - "request": { - "$ref": "EditCustomerMatchMembersRequest" - }, - "response": { - "$ref": "EditCustomerMatchMembersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a first and third party audience.", - "flatPath": "v1/firstAndThirdPartyAudiences/{firstAndThirdPartyAudiencesId}", - "httpMethod": "GET", - "id": "displayvideo.firstAndThirdPartyAudiences.get", - "parameterOrder": [ - "firstAndThirdPartyAudienceId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the fetched first and third party audience.", - "format": "int64", - "location": "query", - "type": "string" - }, - "firstAndThirdPartyAudienceId": { - "description": "Required. The ID of the first and third party audience to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the fetched first and third party audience.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}", - "response": { - "$ref": "FirstAndThirdPartyAudience" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists first and third party audiences. The order is defined by the order_by parameter.", - "flatPath": "v1/firstAndThirdPartyAudiences", - "httpMethod": "GET", - "id": "displayvideo.firstAndThirdPartyAudiences.list", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the fetched first and third party audiences.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Allows filtering by first and third party audience fields. Supported syntax: * Filter expressions for first and third party audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All first and third party audiences for which the display name contains \"Google\": `displayName:\"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `firstAndThirdPartyAudienceId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListFirstAndThirdPartyAudiences` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the fetched first and third party audiences.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/firstAndThirdPartyAudiences", - "response": { - "$ref": "ListFirstAndThirdPartyAudiencesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates an existing FirstAndThirdPartyAudience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", - "flatPath": "v1/firstAndThirdPartyAudiences/{firstAndThirdPartyAudiencesId}", - "httpMethod": "PATCH", - "id": "displayvideo.firstAndThirdPartyAudiences.patch", - "parameterOrder": [ - "firstAndThirdPartyAudienceId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The ID of the owner advertiser of the updated FirstAndThirdPartyAudience.", - "format": "int64", - "location": "query", - "type": "string" - }, - "firstAndThirdPartyAudienceId": { - "description": "Output only. The unique ID of the first and third party audience. Assigned by the system.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update. Updates are only supported for the following fields: * `displayName` * `description` * `membershipDurationDays`", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}", - "request": { - "$ref": "FirstAndThirdPartyAudience" - }, - "response": { - "$ref": "FirstAndThirdPartyAudience" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - }, - "floodlightGroups": { - "methods": { - "get": { - "description": "Gets a Floodlight group.", - "flatPath": "v1/floodlightGroups/{floodlightGroupsId}", - "httpMethod": "GET", - "id": "displayvideo.floodlightGroups.get", - "parameterOrder": [ - "floodlightGroupId" - ], - "parameters": { - "floodlightGroupId": { - "description": "Required. The ID of the Floodlight group to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "Required. The partner context by which the Floodlight group is being accessed.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/floodlightGroups/{+floodlightGroupId}", - "response": { - "$ref": "FloodlightGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates an existing Floodlight group. Returns the updated Floodlight group if successful.", - "flatPath": "v1/floodlightGroups/{floodlightGroupId}", - "httpMethod": "PATCH", - "id": "displayvideo.floodlightGroups.patch", - "parameterOrder": [ - "floodlightGroupId" - ], - "parameters": { - "floodlightGroupId": { - "description": "Output only. The unique ID of the Floodlight group. Assigned by the system.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "Required. The partner context by which the Floodlight group is being accessed.", - "format": "int64", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/floodlightGroups/{floodlightGroupId}", - "request": { - "$ref": "FloodlightGroup" - }, - "response": { - "$ref": "FloodlightGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - }, - "googleAudiences": { - "methods": { - "get": { - "description": "Gets a Google audience.", - "flatPath": "v1/googleAudiences/{googleAudiencesId}", - "httpMethod": "GET", - "id": "displayvideo.googleAudiences.get", - "parameterOrder": [ - "googleAudienceId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the fetched Google audience.", - "format": "int64", - "location": "query", - "type": "string" - }, - "googleAudienceId": { - "description": "Required. The ID of the Google audience to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the fetched Google audience.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/googleAudiences/{+googleAudienceId}", - "response": { - "$ref": "GoogleAudience" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists Google audiences. The order is defined by the order_by parameter.", - "flatPath": "v1/googleAudiences", - "httpMethod": "GET", - "id": "displayvideo.googleAudiences.list", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the fetched Google audiences.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Allows filtering by Google audience fields. Supported syntax: * Filter expressions for Google audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All Google audiences for which the display name contains \"Google\": `displayName:\"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `googleAudienceId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListGoogleAudiences` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the fetched Google audiences.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/googleAudiences", - "response": { - "$ref": "ListGoogleAudiencesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - }, - "guaranteedOrders": { - "methods": { - "create": { - "description": "Creates a new guaranteed order. Returns the newly created guaranteed order if successful.", - "flatPath": "v1/guaranteedOrders", - "httpMethod": "POST", - "id": "displayvideo.guaranteedOrders.create", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that the request is being made within.", - "format": "int64", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that the request is being made within.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/guaranteedOrders", - "request": { - "$ref": "GuaranteedOrder" - }, - "response": { - "$ref": "GuaranteedOrder" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "editGuaranteedOrderReadAccessors": { - "description": "Edits read advertisers of a guaranteed order.", - "flatPath": "v1/guaranteedOrders/{guaranteedOrdersId}:editGuaranteedOrderReadAccessors", - "httpMethod": "POST", - "id": "displayvideo.guaranteedOrders.editGuaranteedOrderReadAccessors", - "parameterOrder": [ - "guaranteedOrderId" - ], - "parameters": { - "guaranteedOrderId": { - "description": "Required. The ID of the guaranteed order to edit. The ID is of the format `{exchange}-{legacy_guaranteed_order_id}`", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/guaranteedOrders/{+guaranteedOrderId}:editGuaranteedOrderReadAccessors", - "request": { - "$ref": "EditGuaranteedOrderReadAccessorsRequest" - }, - "response": { - "$ref": "EditGuaranteedOrderReadAccessorsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a guaranteed order.", - "flatPath": "v1/guaranteedOrders/{guaranteedOrdersId}", - "httpMethod": "GET", - "id": "displayvideo.guaranteedOrders.get", - "parameterOrder": [ - "guaranteedOrderId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the guaranteed order.", - "format": "int64", - "location": "query", - "type": "string" - }, - "guaranteedOrderId": { - "description": "Required. The ID of the guaranteed order to fetch. The ID is of the format `{exchange}-{legacy_guaranteed_order_id}`", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the guaranteed order.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/guaranteedOrders/{+guaranteedOrderId}", - "response": { - "$ref": "GuaranteedOrder" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists guaranteed orders that are accessible to the current user. The order is defined by the order_by parameter. If a filter by entity_status is not specified, guaranteed orders with entity status `ENTITY_STATUS_ARCHIVED` will not be included in the results.", - "flatPath": "v1/guaranteedOrders", - "httpMethod": "GET", - "id": "displayvideo.guaranteedOrders.list", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the guaranteed order.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Allows filtering by guaranteed order fields. * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `guaranteed_order_id` * `exchange` * `display_name` * `status.entityStatus` Examples: * All active guaranteed orders: `status.entityStatus=\"ENTITY_STATUS_ACTIVE\"` * Guaranteed orders belonging to Google Ad Manager or Rubicon exchanges: `exchange=\"EXCHANGE_GOOGLE_AD_MANAGER\" OR exchange=\"EXCHANGE_RUBICON\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListGuaranteedOrders` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the guaranteed order.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/guaranteedOrders", - "response": { - "$ref": "ListGuaranteedOrdersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates an existing guaranteed order. Returns the updated guaranteed order if successful.", - "flatPath": "v1/guaranteedOrders/{guaranteedOrdersId}", - "httpMethod": "PATCH", - "id": "displayvideo.guaranteedOrders.patch", - "parameterOrder": [ - "guaranteedOrderId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that the request is being made within.", - "format": "int64", - "location": "query", - "type": "string" - }, - "guaranteedOrderId": { - "description": "Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format `{exchange}-{legacy_guaranteed_order_id}`.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that the request is being made within.", - "format": "int64", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/guaranteedOrders/{+guaranteedOrderId}", - "request": { - "$ref": "GuaranteedOrder" - }, - "response": { - "$ref": "GuaranteedOrder" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - }, - "inventorySourceGroups": { - "methods": { - "create": { - "description": "Creates a new inventory source group. Returns the newly created inventory source group if successful.", - "flatPath": "v1/inventorySourceGroups", - "httpMethod": "POST", - "id": "displayvideo.inventorySourceGroups.create", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the inventory source group. The parent partner will not have access to this group.", - "format": "int64", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the inventory source group. Only this partner will have write access to this group. Only advertisers to which this group is explicitly shared will have read access to this group.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySourceGroups", - "request": { - "$ref": "InventorySourceGroup" - }, - "response": { - "$ref": "InventorySourceGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes an inventory source group.", - "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}", - "httpMethod": "DELETE", - "id": "displayvideo.inventorySourceGroups.delete", - "parameterOrder": [ - "inventorySourceGroupId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the inventory source group. The parent partner does not have access to this group.", - "format": "int64", - "location": "query", - "type": "string" - }, - "inventorySourceGroupId": { - "description": "Required. The ID of the inventory source group to delete.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the inventory source group. Only this partner has write access to this group.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets an inventory source group.", - "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}", - "httpMethod": "GET", - "id": "displayvideo.inventorySourceGroups.get", - "parameterOrder": [ - "inventorySourceGroupId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the inventory source group. If an inventory source group is partner-owned, only advertisers to which the group is explicitly shared can access the group.", - "format": "int64", - "location": "query", - "type": "string" - }, - "inventorySourceGroupId": { - "description": "Required. The ID of the inventory source group to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the inventory source group. A partner cannot access an advertiser-owned inventory source group.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}", - "response": { - "$ref": "InventorySourceGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists inventory source groups that are accessible to the current user. The order is defined by the order_by parameter.", - "flatPath": "v1/inventorySourceGroups", - "httpMethod": "GET", - "id": "displayvideo.inventorySourceGroups.list", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the inventory source group. If an inventory source group is partner-owned, only advertisers to which the group is explicitly shared can access the group.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Allows filtering by inventory source group fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `inventorySourceGroupId` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `inventorySourceGroupId` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInventorySources` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the inventory source group. A partner cannot access advertiser-owned inventory source groups.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySourceGroups", - "response": { - "$ref": "ListInventorySourceGroupsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates an inventory source group. Returns the updated inventory source group if successful.", - "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupId}", - "httpMethod": "PATCH", - "id": "displayvideo.inventorySourceGroups.patch", - "parameterOrder": [ - "inventorySourceGroupId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the inventory source group. The parent partner does not have access to this group.", - "format": "int64", - "location": "query", - "type": "string" - }, - "inventorySourceGroupId": { - "description": "Output only. The unique ID of the inventory source group. Assigned by the system.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the inventory source group. Only this partner has write access to this group.", - "format": "int64", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySourceGroups/{inventorySourceGroupId}", - "request": { - "$ref": "InventorySourceGroup" - }, - "response": { - "$ref": "InventorySourceGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - }, - "resources": { - "assignedInventorySources": { - "methods": { - "bulkEdit": { - "description": "Bulk edits multiple assignments between inventory sources and a single inventory source group. The operation will delete the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources and then create the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.", - "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources:bulkEdit", - "httpMethod": "POST", - "id": "displayvideo.inventorySourceGroups.assignedInventorySources.bulkEdit", - "parameterOrder": [ - "inventorySourceGroupId" - ], - "parameters": { - "inventorySourceGroupId": { - "description": "Required. The ID of the inventory source group to which the assignments are assigned.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit", - "request": { - "$ref": "BulkEditAssignedInventorySourcesRequest" - }, - "response": { - "$ref": "BulkEditAssignedInventorySourcesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "create": { - "description": "Creates an assignment between an inventory source and an inventory source group.", - "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources", - "httpMethod": "POST", - "id": "displayvideo.inventorySourceGroups.assignedInventorySources.create", - "parameterOrder": [ - "inventorySourceGroupId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent inventory source group. The parent partner will not have access to this assigned inventory source.", - "format": "int64", - "location": "query", - "type": "string" - }, - "inventorySourceGroupId": { - "description": "Required. The ID of the inventory source group to which the assignment will be assigned.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent inventory source group. Only this partner will have write access to this assigned inventory source.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources", - "request": { - "$ref": "AssignedInventorySource" - }, - "response": { - "$ref": "AssignedInventorySource" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes the assignment between an inventory source and an inventory source group.", - "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources/{assignedInventorySourcesId}", - "httpMethod": "DELETE", - "id": "displayvideo.inventorySourceGroups.assignedInventorySources.delete", - "parameterOrder": [ - "inventorySourceGroupId", - "assignedInventorySourceId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to this assigned inventory source.", - "format": "int64", - "location": "query", - "type": "string" - }, - "assignedInventorySourceId": { - "description": "Required. The ID of the assigned inventory source to delete.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "inventorySourceGroupId": { - "description": "Required. The ID of the inventory source group to which this assignment is assigned.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent inventory source group. Only this partner has write access to this assigned inventory source.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources/{+assignedInventorySourceId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists inventory sources assigned to an inventory source group.", - "flatPath": "v1/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources", - "httpMethod": "GET", - "id": "displayvideo.inventorySourceGroups.assignedInventorySources.list", - "parameterOrder": [ - "inventorySourceGroupId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the assignment. If the parent inventory source group is partner-owned, only advertisers to which the parent group is explicitly shared can access the assigned inventory source.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Allows filtering by assigned inventory source fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedInventorySourceId` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "inventorySourceGroupId": { - "description": "Required. The ID of the inventory source group to which these assignments are assigned.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `assignedInventorySourceId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `assignedInventorySourceId desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAssignedInventorySources` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the assignment. If the parent inventory source group is advertiser-owned, the assignment cannot be accessed via a partner.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources", - "response": { - "$ref": "ListAssignedInventorySourcesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - }, - "inventorySources": { - "methods": { - "create": { - "description": "Creates a new inventory source. Returns the newly created inventory source if successful.", - "flatPath": "v1/inventorySources", - "httpMethod": "POST", - "id": "displayvideo.inventorySources.create", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that the request is being made within.", - "format": "int64", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that the request is being made within.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySources", - "request": { - "$ref": "InventorySource" - }, - "response": { - "$ref": "InventorySource" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "editInventorySourceReadWriteAccessors": { - "description": "Edits read/write accessors of an inventory source. Returns the updated read_write_accessors for the inventory source.", - "flatPath": "v1/inventorySources/{inventorySourcesId}:editInventorySourceReadWriteAccessors", - "httpMethod": "POST", - "id": "displayvideo.inventorySources.editInventorySourceReadWriteAccessors", - "parameterOrder": [ - "inventorySourceId" - ], - "parameters": { - "inventorySourceId": { - "description": "Required. The ID of inventory source to update.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/inventorySources/{+inventorySourceId}:editInventorySourceReadWriteAccessors", - "request": { - "$ref": "EditInventorySourceReadWriteAccessorsRequest" - }, - "response": { - "$ref": "InventorySourceAccessors" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets an inventory source.", - "flatPath": "v1/inventorySources/{inventorySourcesId}", - "httpMethod": "GET", - "id": "displayvideo.inventorySources.get", - "parameterOrder": [ - "inventorySourceId" - ], - "parameters": { - "inventorySourceId": { - "description": "Required. The ID of the inventory source to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "Required. The ID of the DV360 partner to which the fetched inventory source is permissioned.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySources/{+inventorySourceId}", - "response": { - "$ref": "InventorySource" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists inventory sources that are accessible to the current user. The order is defined by the order_by parameter. If a filter by entity_status is not specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED` will not be included in the results.", - "flatPath": "v1/inventorySources", - "httpMethod": "GET", - "id": "displayvideo.inventorySources.list", - "parameterOrder": [], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that has access to the inventory source.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Allows filtering by inventory source fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `status.entityStatus` * `commitment` * `deliveryMethod` * `rateDetails.rateType` * `exchange` Examples: * All active inventory sources: `status.entityStatus=\"ENTITY_STATUS_ACTIVE\"` * Inventory sources belonging to Google Ad Manager or Rubicon exchanges: `exchange=\"EXCHANGE_GOOGLE_AD_MANAGER\" OR exchange=\"EXCHANGE_RUBICON\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInventorySources` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that has access to the inventory source.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySources", - "response": { - "$ref": "ListInventorySourcesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates an existing inventory source. Returns the updated inventory source if successful.", - "flatPath": "v1/inventorySources/{inventorySourcesId}", - "httpMethod": "PATCH", - "id": "displayvideo.inventorySources.patch", - "parameterOrder": [ - "inventorySourceId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that the request is being made within.", - "format": "int64", - "location": "query", - "type": "string" - }, - "inventorySourceId": { - "description": "Output only. The unique ID of the inventory source. Assigned by the system.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that the request is being made within.", - "format": "int64", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/inventorySources/{+inventorySourceId}", - "request": { - "$ref": "InventorySource" - }, - "response": { - "$ref": "InventorySource" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - }, - "media": { - "methods": { - "download": { - "description": "Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: Download requests will not be successful without including `alt=media` query string.", - "flatPath": "download/{downloadId}", - "httpMethod": "GET", - "id": "displayvideo.media.download", - "parameterOrder": [ - "resourceName" - ], - "parameters": { - "resourceName": { - "description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "download/{+resourceName}", - "response": { - "$ref": "GoogleBytestreamMedia" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/doubleclickbidmanager" - ], - "supportsMediaDownload": true - }, - "upload": { - "description": "Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` **Note**: Upload requests will not be successful without including `upload_type=media` query string.", - "flatPath": "media/{mediaId}", - "httpMethod": "POST", - "id": "displayvideo.media.upload", - "mediaUpload": { - "accept": [ - "*/*" - ], - "protocols": { - "simple": { - "multipart": true, - "path": "/upload/media/{+resourceName}" - } - } - }, - "parameterOrder": [ - "resourceName" - ], - "parameters": { - "resourceName": { - "description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "media/{+resourceName}", - "request": { - "$ref": "GoogleBytestreamMedia" - }, - "response": { - "$ref": "GoogleBytestreamMedia" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/doubleclickbidmanager" - ], - "supportsMediaUpload": true - } - } - }, - "partners": { - "methods": { - "bulkEditPartnerAssignedTargetingOptions": { - "description": "Bulk edits targeting options under a single partner. The operation will delete the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .", - "flatPath": "v1/partners/{partnersId}:bulkEditPartnerAssignedTargetingOptions", - "httpMethod": "POST", - "id": "displayvideo.partners.bulkEditPartnerAssignedTargetingOptions", - "parameterOrder": [ - "partnerId" - ], - "parameters": { - "partnerId": { - "description": "Required. The ID of the partner.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{+partnerId}:bulkEditPartnerAssignedTargetingOptions", - "request": { - "$ref": "BulkEditPartnerAssignedTargetingOptionsRequest" - }, - "response": { - "$ref": "BulkEditPartnerAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a partner.", - "flatPath": "v1/partners/{partnersId}", - "httpMethod": "GET", - "id": "displayvideo.partners.get", - "parameterOrder": [ - "partnerId" - ], - "parameters": { - "partnerId": { - "description": "Required. The ID of the partner to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{+partnerId}", - "response": { - "$ref": "Partner" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists partners that are accessible to the current user. The order is defined by the order_by parameter.", - "flatPath": "v1/partners", - "httpMethod": "GET", - "id": "displayvideo.partners.list", - "parameterOrder": [], - "parameters": { - "filter": { - "description": "Allows filtering by partner fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `entityStatus` Examples: * All active partners: `entityStatus=\"ENTITY_STATUS_ACTIVE\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListPartners` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/partners", - "response": { - "$ref": "ListPartnersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - }, - "resources": { - "channels": { - "methods": { - "create": { - "description": "Creates a new channel. Returns the newly created channel if successful.", - "flatPath": "v1/partners/{partnersId}/channels", - "httpMethod": "POST", - "id": "displayvideo.partners.channels.create", - "parameterOrder": [ - "partnerId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the created channel.", - "format": "int64", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the created channel.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{+partnerId}/channels", - "request": { - "$ref": "Channel" - }, - "response": { - "$ref": "Channel" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a channel for a partner or advertiser.", - "flatPath": "v1/partners/{partnersId}/channels/{channelsId}", - "httpMethod": "GET", - "id": "displayvideo.partners.channels.get", - "parameterOrder": [ - "partnerId", - "channelId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the fetched channel.", - "format": "int64", - "location": "query", - "type": "string" - }, - "channelId": { - "description": "Required. The ID of the channel to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the fetched channel.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{+partnerId}/channels/{+channelId}", - "response": { - "$ref": "Channel" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists channels for a partner or advertiser.", - "flatPath": "v1/partners/{partnersId}/channels", - "httpMethod": "GET", - "id": "displayvideo.partners.channels.list", - "parameterOrder": [ - "partnerId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the channels.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels for which the display name contains \"google\": `displayName : \"google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListChannels` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the channels.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{+partnerId}/channels", - "response": { - "$ref": "ListChannelsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "patch": { - "description": "Updates a channel. Returns the updated channel if successful.", - "flatPath": "v1/partners/{partnersId}/channels/{channelId}", - "httpMethod": "PATCH", - "id": "displayvideo.partners.channels.patch", - "parameterOrder": [ - "partnerId", - "channelId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the created channel.", - "format": "int64", - "location": "query", - "type": "string" - }, - "channelId": { - "description": "Output only. The unique ID of the channel. Assigned by the system.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the created channel.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/partners/{+partnerId}/channels/{channelId}", - "request": { - "$ref": "Channel" - }, - "response": { - "$ref": "Channel" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - }, - "resources": { - "sites": { - "methods": { - "bulkEdit": { - "description": "Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.", - "flatPath": "v1/partners/{partnerId}/channels/{channelsId}/sites:bulkEdit", - "httpMethod": "POST", - "id": "displayvideo.partners.channels.sites.bulkEdit", - "parameterOrder": [ - "partnerId", - "channelId" - ], - "parameters": { - "channelId": { - "description": "Required. The ID of the parent channel to which the sites belong.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent channel.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{partnerId}/channels/{+channelId}/sites:bulkEdit", - "request": { - "$ref": "BulkEditSitesRequest" - }, - "response": { - "$ref": "BulkEditSitesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "create": { - "description": "Creates a site in a channel.", - "flatPath": "v1/partners/{partnerId}/channels/{channelsId}/sites", - "httpMethod": "POST", - "id": "displayvideo.partners.channels.sites.create", - "parameterOrder": [ - "partnerId", - "channelId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent channel.", - "format": "int64", - "location": "query", - "type": "string" - }, - "channelId": { - "description": "Required. The ID of the parent channel in which the site will be created.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent channel.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{partnerId}/channels/{+channelId}/sites", - "request": { - "$ref": "Site" - }, - "response": { - "$ref": "Site" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes a site from a channel.", - "flatPath": "v1/partners/{partnerId}/channels/{channelsId}/sites/{sitesId}", - "httpMethod": "DELETE", - "id": "displayvideo.partners.channels.sites.delete", - "parameterOrder": [ - "partnerId", - "channelId", - "urlOrAppId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent channel.", - "format": "int64", - "location": "query", - "type": "string" - }, - "channelId": { - "description": "Required. The ID of the parent channel to which the site belongs.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent channel.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "urlOrAppId": { - "description": "Required. The URL or app ID of the site to delete.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{partnerId}/channels/{+channelId}/sites/{+urlOrAppId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists sites in a channel.", - "flatPath": "v1/partners/{partnersId}/channels/{channelsId}/sites", - "httpMethod": "GET", - "id": "displayvideo.partners.channels.sites.list", - "parameterOrder": [ - "partnerId", - "channelId" - ], - "parameters": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent channel.", - "format": "int64", - "location": "query", - "type": "string" - }, - "channelId": { - "description": "Required. The ID of the parent channel to which the requested sites belong.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "filter": { - "description": "Allows filtering by site fields. Supported syntax: * Filter expressions for site retrieval can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `urlOrAppId` Examples: * All sites for which the URL or app ID contains \"google\": `urlOrAppId : \"google\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `urlOrAppId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `urlOrAppId desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListSites` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent channel.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{+partnerId}/channels/{+channelId}/sites", - "response": { - "$ref": "ListSitesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "replace": { - "description": "Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites.", - "flatPath": "v1/partners/{partnerId}/channels/{channelsId}/sites:replace", - "httpMethod": "POST", - "id": "displayvideo.partners.channels.sites.replace", - "parameterOrder": [ - "partnerId", - "channelId" - ], - "parameters": { - "channelId": { - "description": "Required. The ID of the parent channel whose sites will be replaced.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent channel.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{partnerId}/channels/{+channelId}/sites:replace", - "request": { - "$ref": "ReplaceSitesRequest" - }, - "response": { - "$ref": "ReplaceSitesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - }, - "targetingTypes": { - "resources": { - "assignedTargetingOptions": { - "methods": { - "create": { - "description": "Assigns a targeting option to a partner. Returns the assigned targeting option if successful.", - "flatPath": "v1/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", - "httpMethod": "POST", - "id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.create", - "parameterOrder": [ - "partnerId", - "targetingType" - ], - "parameters": { - "partnerId": { - "description": "Required. The ID of the partner.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions", - "request": { - "$ref": "AssignedTargetingOption" - }, - "response": { - "$ref": "AssignedTargetingOption" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "delete": { - "description": "Deletes an assigned targeting option from a partner.", - "flatPath": "v1/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", - "httpMethod": "DELETE", - "id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.delete", - "parameterOrder": [ - "partnerId", - "targetingType", - "assignedTargetingOptionId" - ], - "parameters": { - "assignedTargetingOptionId": { - "description": "Required. The ID of the assigned targeting option to delete.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "Required. The ID of the partner.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "get": { - "description": "Gets a single targeting option assigned to a partner.", - "flatPath": "v1/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", - "httpMethod": "GET", - "id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.get", - "parameterOrder": [ - "partnerId", - "targetingType", - "assignedTargetingOptionId" - ], - "parameters": { - "assignedTargetingOptionId": { - "description": "Required. An identifier unique to the targeting type in this partner that identifies the assigned targeting option being requested.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "partnerId": { - "description": "Required. The ID of the partner.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", - "response": { - "$ref": "AssignedTargetingOption" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists the targeting options assigned to a partner.", - "flatPath": "v1/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", - "httpMethod": "GET", - "id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.list", - "parameterOrder": [ - "partnerId", - "targetingType" - ], - "parameters": { - "filter": { - "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` Examples: * `AssignedTargetingOption` resource with ID 123456: `assignedTargetingOptionId=\"123456\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListPartnerAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "partnerId": { - "description": "Required. The ID of the partner.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions", - "response": { - "$ref": "ListPartnerAssignedTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - } - } - }, - "sdfdownloadtasks": { - "methods": { - "create": { - "description": "Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a long-running, asynchronous operation. The metadata type of this operation is SdfDownloadTaskMetadata. If the request is successful, the response type of the operation is SdfDownloadTask. The response will not include the download files, which must be retrieved with media.download. The state of operation can be retrieved with sdfdownloadtask.operations.get. Any errors can be found in the error.message. Note that error.details is expected to be empty.", - "flatPath": "v1/sdfdownloadtasks", - "httpMethod": "POST", - "id": "displayvideo.sdfdownloadtasks.create", - "parameterOrder": [], - "parameters": {}, - "path": "v1/sdfdownloadtasks", - "request": { - "$ref": "CreateSdfDownloadTaskRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - }, - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.", - "flatPath": "v1/sdfdownloadtasks/operations/{operationsId}", - "httpMethod": "GET", - "id": "displayvideo.sdfdownloadtasks.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^sdfdownloadtasks/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/doubleclickbidmanager" - ] - } - } - } - } - }, - "targetingTypes": { - "resources": { - "targetingOptions": { - "methods": { - "get": { - "description": "Gets a single targeting option.", - "flatPath": "v1/targetingTypes/{targetingTypesId}/targetingOptions/{targetingOptionsId}", - "httpMethod": "GET", - "id": "displayvideo.targetingTypes.targetingOptions.get", - "parameterOrder": [ - "targetingType", - "targetingOptionId" - ], - "parameters": { - "advertiserId": { - "description": "Required. The Advertiser this request is being made in the context of.", - "format": "int64", - "location": "query", - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The ID of the of targeting option to retrieve.", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - }, - "targetingType": { - "description": "Required. The type of targeting option to retrieve. Accepted values are: * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/targetingTypes/{+targetingType}/targetingOptions/{+targetingOptionId}", - "response": { - "$ref": "TargetingOption" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "list": { - "description": "Lists targeting options of a given type.", - "flatPath": "v1/targetingTypes/{targetingTypesId}/targetingOptions", - "httpMethod": "GET", - "id": "displayvideo.targetingTypes.targetingOptions.list", - "parameterOrder": [ - "targetingType" - ], - "parameters": { - "advertiserId": { - "description": "Required. The Advertiser this request is being made in the context of.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Allows filtering by targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `OR` logical operators. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `carrierAndIspDetails.type` * `geoRegionDetails.geoRegionType` * `targetingOptionId` Examples: * All `GEO REGION` targeting options that belong to sub type `GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`: `geoRegionDetails.geoRegionType=\"GEO_REGION_TYPE_COUNTRY\" OR geoRegionDetails.geoRegionType=\"GEO_REGION_TYPE_STATE\"` * All `CARRIER AND ISP` targeting options that belong to sub type `CARRIER_AND_ISP_TYPE_CARRIER`: `carrierAndIspDetails.type=\"CARRIER_AND_ISP_TYPE_CARRIER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `targetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingOptionId desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListTargetingOptions` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - }, - "targetingType": { - "description": "Required. The type of targeting option to be listed. Accepted values are: * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/targetingTypes/{+targetingType}/targetingOptions", - "response": { - "$ref": "ListTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - }, - "search": { - "description": "Searches for targeting options of a given type based on the given search terms.", - "flatPath": "v1/targetingTypes/{targetingTypesId}/targetingOptions:search", - "httpMethod": "POST", - "id": "displayvideo.targetingTypes.targetingOptions.search", - "parameterOrder": [ - "targetingType" - ], - "parameters": { - "targetingType": { - "description": "Required. The type of targeting options to retrieve. Accepted values are: * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_BUSINESS_CHAIN`", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/targetingTypes/{+targetingType}/targetingOptions:search", - "request": { - "$ref": "SearchTargetingOptionsRequest" - }, - "response": { - "$ref": "SearchTargetingOptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video" - ] - } - } - } - } - }, - "users": { - "methods": { - "bulkEditAssignedUserRoles": { - "description": "Bulk edits user roles for a user. The operation will delete the assigned user roles provided in BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles and then assign the user roles provided in BulkEditAssignedUserRolesRequest.createdAssignedUserRoles. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", - "flatPath": "v1/users/{usersId}:bulkEditAssignedUserRoles", - "httpMethod": "POST", - "id": "displayvideo.users.bulkEditAssignedUserRoles", - "parameterOrder": [ - "userId" - ], - "parameters": { - "userId": { - "description": "Required. The ID of the user to which the assigned user roles belong.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/users/{+userId}:bulkEditAssignedUserRoles", - "request": { - "$ref": "BulkEditAssignedUserRolesRequest" - }, - "response": { - "$ref": "BulkEditAssignedUserRolesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video-user-management" - ] - }, - "create": { - "description": "Creates a new user. Returns the newly created user if successful. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", - "flatPath": "v1/users", - "httpMethod": "POST", - "id": "displayvideo.users.create", - "parameterOrder": [], - "parameters": {}, - "path": "v1/users", - "request": { - "$ref": "User" - }, - "response": { - "$ref": "User" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video-user-management" - ] - }, - "delete": { - "description": "Deletes a user. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", - "flatPath": "v1/users/{usersId}", - "httpMethod": "DELETE", - "id": "displayvideo.users.delete", - "parameterOrder": [ - "userId" - ], - "parameters": { - "userId": { - "description": "Required. The ID of the user to delete.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/users/{+userId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video-user-management" - ] - }, - "get": { - "description": "Gets a user. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", - "flatPath": "v1/users/{usersId}", - "httpMethod": "GET", - "id": "displayvideo.users.get", - "parameterOrder": [ - "userId" - ], - "parameters": { - "userId": { - "description": "Required. The ID of the user to fetch.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/users/{+userId}", - "response": { - "$ref": "User" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video-user-management" - ] - }, - "list": { - "description": "Lists users that are accessible to the current user. If two users have user roles on the same partner or advertiser, they can access each other. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", - "flatPath": "v1/users", - "httpMethod": "GET", - "id": "displayvideo.users.list", - "parameterOrder": [], - "parameters": { - "filter": { - "description": "Allows filtering by user fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `budget.budget_segments.date_range.end_date` field must use the `LESS THAN (<)` operator. * The `displayName and `email` field must use the `HAS (:)` operator. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `assignedUserRole.advertiserId` * `assignedUserRole.entityType` * This is synthetic field of `AssignedUserRole` used for filtering. Identifies the type of entity to which the user role is assigned. Valid values are `Partner` and `Advertiser`. * `assignedUserRole.parentPartnerId` * This is a synthetic field of `AssignedUserRole` used for filtering. Identifies the parent partner of the entity to which the user role is assigned. * `assignedUserRole.partnerId` * `assignedUserRole.userRole` * `displayName` * `email` Examples: * The user with `displayName` containing \"foo\": `displayName:\"foo\"` * The user with `email` containing \"bar\": `email:\"bar\"` * All users with standard user roles: `assignedUserRole.userRole=\"STANDARD\"` * All users with user roles for partner 123: `assignedUserRole.partnerId=\"123\"` * All users with user roles for advertiser 123: `assignedUserRole.advertiserId=\"123\"` * All users with partner level user roles: `entityType=\"PARTNER\"` * All users with user roles for partner 123 and advertisers under partner 123: `parentPartnerId=\"123\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListUsers` method. If not specified, the first page of results will be returned.", - "location": "query", - "type": "string" - } - }, - "path": "v1/users", - "response": { - "$ref": "ListUsersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video-user-management" - ] - }, - "patch": { - "description": "Updates an existing user. Returns the updated user if successful. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", - "flatPath": "v1/users/{usersId}", - "httpMethod": "PATCH", - "id": "displayvideo.users.patch", - "parameterOrder": [ - "userId" - ], - "parameters": { - "updateMask": { - "description": "Required. The mask to control which fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - }, - "userId": { - "description": "Output only. The unique ID of the user. Assigned by the system.", - "format": "int64", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/users/{+userId}", - "request": { - "$ref": "User" - }, - "response": { - "$ref": "User" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video-user-management" - ] - } - } - } - }, - "revision": "20240201", - "rootUrl": "https://displayvideo.googleapis.com/", - "schemas": { - "ActivateManualTriggerRequest": { - "description": "Request message for ManualTriggerService.ActivateManualTrigger.", - "id": "ActivateManualTriggerRequest", - "properties": {}, - "type": "object" - }, - "ActiveViewVideoViewabilityMetricConfig": { - "description": "Configuration for custom Active View video viewability metrics.", - "id": "ActiveViewVideoViewabilityMetricConfig", - "properties": { - "displayName": { - "description": "Required. The display name of the custom metric.", - "type": "string" - }, - "minimumDuration": { - "description": "The minimum visible video duration required (in seconds) in order for an impression to be recorded. You must specify minimum_duration, minimum_quartile or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first).", - "enum": [ - "VIDEO_DURATION_UNSPECIFIED", - "VIDEO_DURATION_SECONDS_NONE", - "VIDEO_DURATION_SECONDS_0", - "VIDEO_DURATION_SECONDS_1", - "VIDEO_DURATION_SECONDS_2", - "VIDEO_DURATION_SECONDS_3", - "VIDEO_DURATION_SECONDS_4", - "VIDEO_DURATION_SECONDS_5", - "VIDEO_DURATION_SECONDS_6", - "VIDEO_DURATION_SECONDS_7", - "VIDEO_DURATION_SECONDS_8", - "VIDEO_DURATION_SECONDS_9", - "VIDEO_DURATION_SECONDS_10", - "VIDEO_DURATION_SECONDS_11", - "VIDEO_DURATION_SECONDS_12", - "VIDEO_DURATION_SECONDS_13", - "VIDEO_DURATION_SECONDS_14", - "VIDEO_DURATION_SECONDS_15", - "VIDEO_DURATION_SECONDS_30", - "VIDEO_DURATION_SECONDS_45", - "VIDEO_DURATION_SECONDS_60" - ], - "enumDescriptions": [ - "Value is not specified or is unknown in this version.", - "No duration value.", - "0 seconds.", - "1 second.", - "2 seconds.", - "3 seconds.", - "4 seconds.", - "5 seconds.", - "6 seconds.", - "7 seconds.", - "8 seconds.", - "9 seconds.", - "10 seconds.", - "11 seconds.", - "12 seconds.", - "13 seconds.", - "14 seconds.", - "15 seconds.", - "30 seconds.", - "45 seconds.", - "60 seconds." - ], - "type": "string" - }, - "minimumQuartile": { - "description": "The minimum visible video duration required, based on the video quartiles, in order for an impression to be recorded. You must specify minimum_duration, minimum_quartile or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first).", - "enum": [ - "VIDEO_DURATION_QUARTILE_UNSPECIFIED", - "VIDEO_DURATION_QUARTILE_NONE", - "VIDEO_DURATION_QUARTILE_FIRST", - "VIDEO_DURATION_QUARTILE_SECOND", - "VIDEO_DURATION_QUARTILE_THIRD", - "VIDEO_DURATION_QUARTILE_FOURTH" - ], - "enumDescriptions": [ - "Value is not specified or is unknown in this version.", - "No quartile value.", - "First quartile.", - "Second quartile (midpoint).", - "Third quartile.", - "Fourth quartile (completion)." - ], - "type": "string" - }, - "minimumViewability": { - "description": "Required. The minimum percentage of the video ad's pixels visible on the screen in order for an impression to be recorded.", - "enum": [ - "VIEWABILITY_PERCENT_UNSPECIFIED", - "VIEWABILITY_PERCENT_0", - "VIEWABILITY_PERCENT_25", - "VIEWABILITY_PERCENT_50", - "VIEWABILITY_PERCENT_75", - "VIEWABILITY_PERCENT_100" - ], - "enumDescriptions": [ - "Value is not specified or is unknown in this version.", - "0% viewable.", - "25% viewable.", - "50% viewable.", - "75% viewable.", - "100% viewable." - ], - "type": "string" - }, - "minimumVolume": { - "description": "Required. The minimum percentage of the video ad's volume required in order for an impression to be recorded.", - "enum": [ - "VIDEO_VOLUME_PERCENT_UNSPECIFIED", - "VIDEO_VOLUME_PERCENT_0", - "VIDEO_VOLUME_PERCENT_10" - ], - "enumDescriptions": [ - "Value is not specified or is unknown in this version.", - "0% volume.", - "10% volume." - ], - "type": "string" - } - }, - "type": "object" - }, - "Adloox": { - "description": "Details of Adloox settings.", - "id": "Adloox", - "properties": { - "excludedAdlooxCategories": { - "description": "Adloox's brand safety settings.", - "items": { - "enum": [ - "ADLOOX_UNSPECIFIED", - "ADULT_CONTENT_HARD", - "ADULT_CONTENT_SOFT", - "ILLEGAL_CONTENT", - "BORDERLINE_CONTENT", - "DISCRIMINATORY_CONTENT", - "VIOLENT_CONTENT_WEAPONS", - "LOW_VIEWABILITY_DOMAINS", - "FRAUD" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any Adloox option.", - "Adult content (hard).", - "Adult content (soft).", - "Illegal content.", - "Borderline content.", - "Discriminatory content.", - "Violent content & weapons.", - "Low viewability domains.", - "Fraud." - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Advertiser": { - "description": "A single advertiser in Display & Video 360 (DV360).", - "id": "Advertiser", - "properties": { - "adServerConfig": { - "$ref": "AdvertiserAdServerConfig", - "description": "Required. Immutable. Ad server related settings of the advertiser." - }, - "advertiserId": { - "description": "Output only. The unique ID of the advertiser. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "creativeConfig": { - "$ref": "AdvertiserCreativeConfig", - "description": "Required. Creative related settings of the advertiser." - }, - "dataAccessConfig": { - "$ref": "AdvertiserDataAccessConfig", - "description": "Settings that control how advertiser data may be accessed." - }, - "displayName": { - "description": "Required. The display name of the advertiser. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "entityStatus": { - "description": "Required. Controls whether or not insertion orders and line items of the advertiser can spend their budgets and bid on inventory. * Accepted values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_PAUSED` and `ENTITY_STATUS_SCHEDULED_FOR_DELETION`. * If set to `ENTITY_STATUS_SCHEDULED_FOR_DELETION`, the advertiser will be deleted 30 days from when it was first scheduled for deletion.", - "enum": [ - "ENTITY_STATUS_UNSPECIFIED", - "ENTITY_STATUS_ACTIVE", - "ENTITY_STATUS_ARCHIVED", - "ENTITY_STATUS_DRAFT", - "ENTITY_STATUS_PAUSED", - "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - ], - "enumDescriptions": [ - "Default value when status is not specified or is unknown in this version.", - "The entity is enabled to bid and spend budget.", - "The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", - "The entity is under draft. Bidding and budget spending are disabled.", - "Bidding and budget spending are paused for the entity.", - "The entity is scheduled for deletion." - ], - "type": "string" - }, - "generalConfig": { - "$ref": "AdvertiserGeneralConfig", - "description": "Required. General settings of the advertiser." - }, - "integrationDetails": { - "$ref": "IntegrationDetails", - "description": "Integration details of the advertiser. Only integrationCode is currently applicable to advertiser. Other fields of IntegrationDetails are not supported and will be ignored if provided." - }, - "name": { - "description": "Output only. The resource name of the advertiser.", - "readOnly": true, - "type": "string" - }, - "partnerId": { - "description": "Required. Immutable. The unique ID of the partner that the advertiser belongs to.", - "format": "int64", - "type": "string" - }, - "prismaEnabled": { - "description": "Whether integration with Mediaocean (Prisma) is enabled. By enabling this, you agree to the following: On behalf of my company, I authorize Mediaocean (Prisma) to send budget segment plans to Google, and I authorize Google to send corresponding reporting and invoices from DV360 to Mediaocean for the purposes of budget planning, billing, and reconciliation for this advertiser.", - "type": "boolean" - }, - "servingConfig": { - "$ref": "AdvertiserTargetingConfig", - "description": "Targeting settings related to ad serving of the advertiser." - }, - "updateTime": { - "description": "Output only. The timestamp when the advertiser was last updated. Assigned by the system.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "AdvertiserAdServerConfig": { - "description": "Ad server related settings of an advertiser.", - "id": "AdvertiserAdServerConfig", - "properties": { - "cmHybridConfig": { - "$ref": "CmHybridConfig", - "description": "The configuration for advertisers that use both Campaign Manager 360 (CM360) and third-party ad servers." - }, - "thirdPartyOnlyConfig": { - "$ref": "ThirdPartyOnlyConfig", - "description": "The configuration for advertisers that use third-party ad servers only." - } - }, - "type": "object" - }, - "AdvertiserCreativeConfig": { - "description": "Creatives related settings of an advertiser.", - "id": "AdvertiserCreativeConfig", - "properties": { - "dynamicCreativeEnabled": { - "description": "Whether or not the advertiser is enabled for dynamic creatives.", - "type": "boolean" - }, - "iasClientId": { - "description": "An ID for configuring campaign monitoring provided by Integral Ad Service (IAS). The DV360 system will append an IAS \"Campaign Monitor\" tag containing this ID to the creative tag.", - "format": "int64", - "type": "string" - }, - "obaComplianceDisabled": { - "description": "Whether or not to use DV360's Online Behavioral Advertising (OBA) compliance. Starting on February 9, 2024, this field will be affected by an update to the Display & Video 360 API Terms of Service. See our [announcement](//ads-developers.googleblog.com/2024/01/update-to-display-video-360-api-terms.html) for more detail. Warning: Changing OBA settings may cause the audit status of your creatives to be reset by some ad exchanges, making them ineligible to serve until they are re-approved.", - "type": "boolean" - }, - "videoCreativeDataSharingAuthorized": { - "description": "By setting this field to `true`, you, on behalf of your company, authorize Google to use video creatives associated with this Display & Video 360 advertiser to provide reporting and features related to the advertiser's television campaigns. Applicable only when the advertiser has a CM360 hybrid ad server configuration.", - "type": "boolean" - } - }, - "type": "object" - }, - "AdvertiserDataAccessConfig": { - "description": "Settings that control how advertiser related data may be accessed.", - "id": "AdvertiserDataAccessConfig", - "properties": { - "sdfConfig": { - "$ref": "AdvertiserSdfConfig", - "description": "Structured Data Files (SDF) settings for the advertiser. If not specified, the SDF settings of the parent partner are used." - } - }, - "type": "object" - }, - "AdvertiserGeneralConfig": { - "description": "General settings of an advertiser.", - "id": "AdvertiserGeneralConfig", - "properties": { - "currencyCode": { - "description": "Required. Immutable. Advertiser's currency in ISO 4217 format. Accepted codes and the currencies they represent are: Currency Code : Currency Name * `ARS` : Argentine Peso * `AUD` : Australian Dollar * `BRL` : Brazilian Real * `CAD` : Canadian Dollar * `CHF` : Swiss Franc * `CLP` : Chilean Peso * `CNY` : Chinese Yuan * `COP` : Colombian Peso * `CZK` : Czech Koruna * `DKK` : Danish Krone * `EGP` : Egyption Pound * `EUR` : Euro * `GBP` : British Pound * `HKD` : Hong Kong Dollar * `HUF` : Hungarian Forint * `IDR` : Indonesian Rupiah * `ILS` : Israeli Shekel * `INR` : Indian Rupee * `JPY` : Japanese Yen * `KRW` : South Korean Won * `MXN` : Mexican Pesos * `MYR` : Malaysian Ringgit * `NGN` : Nigerian Naira * `NOK` : Norwegian Krone * `NZD` : New Zealand Dollar * `PEN` : Peruvian Nuevo Sol * `PLN` : Polish Zloty * `RON` : New Romanian Leu * `RUB` : Russian Ruble * `SEK` : Swedish Krona * `TRY` : Turkish Lira * `TWD` : New Taiwan Dollar * `USD` : US Dollar * `ZAR` : South African Rand", - "type": "string" - }, - "domainUrl": { - "description": "Required. The domain URL of the advertiser's primary website. The system will send this information to publishers that require website URL to associate a campaign with an advertiser. Provide a URL with no path or query string, beginning with `http:` or `https:`. For example, http://www.example.com", - "type": "string" - }, - "timeZone": { - "description": "Output only. The standard TZ database name of the advertiser's time zone. For example, `America/New_York`. See more at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones For CM360 hybrid advertisers, the time zone is the same as that of the associated CM360 account; for third-party only advertisers, the time zone is the same as that of the parent partner.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "AdvertiserSdfConfig": { - "description": "Structured Data Files (SDF) settings of an advertiser.", - "id": "AdvertiserSdfConfig", - "properties": { - "overridePartnerSdfConfig": { - "description": "Whether or not this advertiser overrides the SDF configuration of its parent partner. By default, an advertiser inherits the SDF configuration from the parent partner. To override the partner configuration, set this field to `true` and provide the new configuration in sdfConfig.", - "type": "boolean" - }, - "sdfConfig": { - "$ref": "SdfConfig", - "description": "The SDF configuration for the advertiser. * Required when overridePartnerSdfConfig is `true`. * Output only when overridePartnerSdfConfig is `false`." - } - }, - "type": "object" - }, - "AdvertiserTargetingConfig": { - "description": "Targeting settings related to ad serving of an advertiser.", - "id": "AdvertiserTargetingConfig", - "properties": { - "exemptTvFromViewabilityTargeting": { - "description": "Whether or not connected TV devices are exempt from viewability targeting for all video line items under the advertiser.", - "type": "boolean" - } - }, - "type": "object" - }, - "AgeRangeAssignedTargetingOptionDetails": { - "description": "Represents a targetable age range. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AGE_RANGE`.", - "id": "AgeRangeAssignedTargetingOptionDetails", - "properties": { - "ageRange": { - "description": "Required. The age range of an audience. We only support targeting a continuous age range of an audience. Thus, the age range represented in this field can be 1) targeted solely, or, 2) part of a larger continuous age range. The reach of a continuous age range targeting can be expanded by also targeting an audience of an unknown age.", - "enum": [ - "AGE_RANGE_UNSPECIFIED", - "AGE_RANGE_18_24", - "AGE_RANGE_25_34", - "AGE_RANGE_35_44", - "AGE_RANGE_45_54", - "AGE_RANGE_55_64", - "AGE_RANGE_65_PLUS", - "AGE_RANGE_UNKNOWN" - ], - "enumDescriptions": [ - "Default value when age range is not specified in this version. This enum is a placeholder for default value and does not represent a real age range option.", - "The age range of the audience is 18 to 24.", - "The age range of the audience is 25 to 34.", - "The age range of the audience is 35 to 44.", - "The age range of the audience is 45 to 54.", - "The age range of the audience is 55 to 64.", - "The age range of the audience is 65 and up.", - "The age range of the audience is unknown." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_AGE_RANGE`.", - "type": "string" - } - }, - "type": "object" - }, - "AgeRangeTargetingOptionDetails": { - "description": "Represents a targetable age range. This will be populated in the age_range_details field when targeting_type is `TARGETING_TYPE_AGE_RANGE`.", - "id": "AgeRangeTargetingOptionDetails", - "properties": { - "ageRange": { - "description": "Output only. The age range of an audience.", - "enum": [ - "AGE_RANGE_UNSPECIFIED", - "AGE_RANGE_18_24", - "AGE_RANGE_25_34", - "AGE_RANGE_35_44", - "AGE_RANGE_45_54", - "AGE_RANGE_55_64", - "AGE_RANGE_65_PLUS", - "AGE_RANGE_UNKNOWN" - ], - "enumDescriptions": [ - "Default value when age range is not specified in this version. This enum is a placeholder for default value and does not represent a real age range option.", - "The age range of the audience is 18 to 24.", - "The age range of the audience is 25 to 34.", - "The age range of the audience is 35 to 44.", - "The age range of the audience is 45 to 54.", - "The age range of the audience is 55 to 64.", - "The age range of the audience is 65 and up.", - "The age range of the audience is unknown." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "AppAssignedTargetingOptionDetails": { - "description": "Details for assigned app targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP`.", - "id": "AppAssignedTargetingOptionDetails", - "properties": { - "appId": { - "description": "Required. The ID of the app. Android's Play store app uses bundle ID, for example `com.google.android.gm`. Apple's App store app ID uses 9 digit string, for example `422689480`.", - "type": "string" - }, - "appPlatform": { - "description": "Indicates the platform of the targeted app. If this field is not specified, the app platform will be assumed to be mobile (i.e., Android or iOS), and we will derive the appropriate mobile platform from the app ID.", - "enum": [ - "APP_PLATFORM_UNSPECIFIED", - "APP_PLATFORM_IOS", - "APP_PLATFORM_ANDROID", - "APP_PLATFORM_ROKU", - "APP_PLATFORM_AMAZON_FIRETV", - "APP_PLATFORM_PLAYSTATION", - "APP_PLATFORM_APPLE_TV", - "APP_PLATFORM_XBOX", - "APP_PLATFORM_SAMSUNG_TV", - "APP_PLATFORM_ANDROID_TV", - "APP_PLATFORM_GENERIC_CTV" - ], - "enumDescriptions": [ - "Default value when app platform is not specified in this version. This enum is a placeholder for default value and does not represent a real platform option.", - "The app platform is iOS.", - "The app platform is Android.", - "The app platform is Roku.", - "The app platform is Amazon FireTV.", - "The app platform is Playstation.", - "The app platform is Apple TV.", - "The app platform is Xbox.", - "The app platform is Samsung TV.", - "The app platform is Android TV.", - "The app platform is a CTV platform that is not explicitly listed elsewhere." - ], - "type": "string" - }, - "displayName": { - "description": "Output only. The display name of the app.", - "readOnly": true, - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted.", - "type": "boolean" - } - }, - "type": "object" - }, - "AppCategoryAssignedTargetingOptionDetails": { - "description": "Details for assigned app category targeting option. This will be populated in the app_category_details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP_CATEGORY`.", - "id": "AppCategoryAssignedTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the app category.", - "readOnly": true, - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted.", - "type": "boolean" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_APP_CATEGORY`.", - "type": "string" - } - }, - "type": "object" - }, - "AppCategoryTargetingOptionDetails": { - "description": "Represents a targetable collection of apps. A collection lets you target dynamic groups of related apps that are maintained by the platform, for example `All Apps/Google Play/Games`. This will be populated in the app_category_details field when targeting_type is `TARGETING_TYPE_APP_CATEGORY`.", - "id": "AppCategoryTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The name of the app collection.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Asset": { - "description": "A single asset.", - "id": "Asset", - "properties": { - "content": { - "description": "The asset content. For uploaded assets, the content is the serving path.", - "type": "string" - }, - "mediaId": { - "description": "Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. The Media ID space updated on **April 5, 2023**. Update media IDs cached before **April 5, 2023** by retrieving the new media ID from associated creative resources or re-uploading the asset.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AssetAssociation": { - "description": "Asset association for the creative.", - "id": "AssetAssociation", - "properties": { - "asset": { - "$ref": "Asset", - "description": "The associated asset." - }, - "role": { - "description": "The role of this asset for the creative.", - "enum": [ - "ASSET_ROLE_UNSPECIFIED", - "ASSET_ROLE_MAIN", - "ASSET_ROLE_BACKUP", - "ASSET_ROLE_POLITE_LOAD", - "ASSET_ROLE_HEADLINE", - "ASSET_ROLE_LONG_HEADLINE", - "ASSET_ROLE_BODY", - "ASSET_ROLE_LONG_BODY", - "ASSET_ROLE_CAPTION_URL", - "ASSET_ROLE_CALL_TO_ACTION", - "ASSET_ROLE_ADVERTISER_NAME", - "ASSET_ROLE_PRICE", - "ASSET_ROLE_ANDROID_APP_ID", - "ASSET_ROLE_IOS_APP_ID", - "ASSET_ROLE_RATING", - "ASSET_ROLE_ICON", - "ASSET_ROLE_COVER_IMAGE" - ], - "enumDescriptions": [ - "Asset role is not specified or is unknown in this version.", - "The asset is the main asset of the creative.", - "The asset is a backup asset of the creative.", - "The asset is a polite load asset of the creative.", - "Headline of a native creative. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "Long headline of a native creative. The content must be UTF-8 encoded with a length of no more than 50 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "Body text of a native creative. The content must be UTF-8 encoded with a length of no more than 90 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "Long body text of a native creative. The content must be UTF-8 encoded with a length of no more than 150 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "A short, friendly version of the landing page URL to show in the creative. This URL gives people an idea of where they'll arrive after they click on the creative. The content must be UTF-8 encoded with a length of no more than 30 characters. For example, if the landing page URL is 'http://www.example.com/page', the caption URL can be 'example.com'. The protocol (http://) is optional, but the URL can't contain spaces or special characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "The text to use on the call-to-action button of a native creative. The content must be UTF-8 encoded with a length of no more than 15 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "The text that identifies the advertiser or brand name. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "The purchase price of your app in the Google play store or iOS app store (for example, $5.99). Note that this value is not automatically synced with the actual value listed in the store. It will always be the one provided when save the creative. The content must be UTF-8 encoded with a length of no more than 15 characters. Assets of this role are read-only.", - "The ID of an Android app in the Google play store. You can find this ID in the App’s Google Play Store URL after ‘id’. For example, in https://play.google.com/store/apps/details?id=com.company.appname the identifier is com.company.appname. Assets of this role are read-only.", - "The ID of an iOS app in the Apple app store. This ID number can be found in the Apple App Store URL as the string of numbers directly after \"id\". For example, in https://apps.apple.com/us/app/gmail-email-by-google/id422689480 the ID is 422689480. Assets of this role are read-only.", - "The rating of an app in the Google play store or iOS app store. Note that this value is not automatically synced with the actual rating in the store. It will always be the one provided when save the creative. Assets of this role are read-only.", - "The icon of a creative. This role is only supported and required in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`", - "The cover image of a native video creative. This role is only supported and required in following creative_type: * `CREATIVE_TYPE_VIDEO`" - ], - "type": "string" - } - }, - "type": "object" - }, - "AssignedInventorySource": { - "description": "An assignment between a targetable inventory source and an inventory source group.", - "id": "AssignedInventorySource", - "properties": { - "assignedInventorySourceId": { - "description": "Output only. The unique ID of the assigned inventory source. The ID is only unique within a given inventory source group. It may be reused in other contexts.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "inventorySourceId": { - "description": "Required. The ID of the inventory source entity being targeted.", - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the assigned inventory source.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "AssignedLocation": { - "description": "An assignment between a location list and a relevant targeting option.", - "id": "AssignedLocation", - "properties": { - "assignedLocationId": { - "description": "Output only. The unique ID of the assigned location. The ID is only unique within a location list. It may be reused in other contexts.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the assigned location.", - "readOnly": true, - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The ID of the targeting option assigned to the location list.", - "type": "string" - } - }, - "type": "object" - }, - "AssignedTargetingOption": { - "description": "A single assigned targeting option, which defines the state of a targeting option for an entity with targeting settings.", - "id": "AssignedTargetingOption", - "properties": { - "ageRangeDetails": { - "$ref": "AgeRangeAssignedTargetingOptionDetails", - "description": "Age range details. This field will be populated when the targeting_type is `TARGETING_TYPE_AGE_RANGE`." - }, - "appCategoryDetails": { - "$ref": "AppCategoryAssignedTargetingOptionDetails", - "description": "App category details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP_CATEGORY`." - }, - "appDetails": { - "$ref": "AppAssignedTargetingOptionDetails", - "description": "App details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP`." - }, - "assignedTargetingOptionId": { - "description": "Output only. The unique ID of the assigned targeting option. The ID is only unique within a given resource and targeting type. It may be reused in other contexts.", - "readOnly": true, - "type": "string" - }, - "audienceGroupDetails": { - "$ref": "AudienceGroupAssignedTargetingOptionDetails", - "description": "Audience targeting details. This field will be populated when the targeting_type is `TARGETING_TYPE_AUDIENCE_GROUP`. You can only target one audience group option per resource." - }, - "audioContentTypeDetails": { - "$ref": "AudioContentTypeAssignedTargetingOptionDetails", - "description": "Audio content type details. This field will be populated when the targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`." - }, - "authorizedSellerStatusDetails": { - "$ref": "AuthorizedSellerStatusAssignedTargetingOptionDetails", - "description": "Authorized seller status details. This field will be populated when the targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. You can only target one authorized seller status option per resource. If a resource doesn't have an authorized seller status option, all authorized sellers indicated as DIRECT or RESELLER in the ads.txt file are targeted by default." - }, - "browserDetails": { - "$ref": "BrowserAssignedTargetingOptionDetails", - "description": "Browser details. This field will be populated when the targeting_type is `TARGETING_TYPE_BROWSER`." - }, - "businessChainDetails": { - "$ref": "BusinessChainAssignedTargetingOptionDetails", - "description": "Business chain details. This field will be populated when the targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`." - }, - "carrierAndIspDetails": { - "$ref": "CarrierAndIspAssignedTargetingOptionDetails", - "description": "Carrier and ISP details. This field will be populated when the targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`." - }, - "categoryDetails": { - "$ref": "CategoryAssignedTargetingOptionDetails", - "description": "Category details. This field will be populated when the targeting_type is `TARGETING_TYPE_CATEGORY`. Targeting a category will also target its subcategories. If a category is excluded from targeting and a subcategory is included, the exclusion will take precedence." - }, - "channelDetails": { - "$ref": "ChannelAssignedTargetingOptionDetails", - "description": "Channel details. This field will be populated when the targeting_type is `TARGETING_TYPE_CHANNEL`." - }, - "contentDurationDetails": { - "$ref": "ContentDurationAssignedTargetingOptionDetails", - "description": "Content duration details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_DURATION`." - }, - "contentGenreDetails": { - "$ref": "ContentGenreAssignedTargetingOptionDetails", - "description": "Content genre details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_GENRE`." - }, - "contentInstreamPositionDetails": { - "$ref": "ContentInstreamPositionAssignedTargetingOptionDetails", - "description": "Content instream position details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`." - }, - "contentOutstreamPositionDetails": { - "$ref": "ContentOutstreamPositionAssignedTargetingOptionDetails", - "description": "Content outstream position details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`." - }, - "contentStreamTypeDetails": { - "$ref": "ContentStreamTypeAssignedTargetingOptionDetails", - "description": "Content duration details. This field will be populated when the TargetingType is `TARGETING_TYPE_CONTENT_STREAM_TYPE`." - }, - "dayAndTimeDetails": { - "$ref": "DayAndTimeAssignedTargetingOptionDetails", - "description": "Day and time details. This field will be populated when the targeting_type is `TARGETING_TYPE_DAY_AND_TIME`." - }, - "deviceMakeModelDetails": { - "$ref": "DeviceMakeModelAssignedTargetingOptionDetails", - "description": "Device make and model details. This field will be populated when the targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`." - }, - "deviceTypeDetails": { - "$ref": "DeviceTypeAssignedTargetingOptionDetails", - "description": "Device Type details. This field will be populated when the targeting_type is `TARGETING_TYPE_DEVICE_TYPE`." - }, - "digitalContentLabelExclusionDetails": { - "$ref": "DigitalContentLabelAssignedTargetingOptionDetails", - "description": "Digital content label details. This field will be populated when the targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. Digital content labels are targeting exclusions. Advertiser level digital content label exclusions, if set, are always applied in serving (even though they aren't visible in resource settings). Resource settings can exclude content labels in addition to advertiser exclusions, but can't override them. A line item won't serve if all the digital content labels are excluded." - }, - "environmentDetails": { - "$ref": "EnvironmentAssignedTargetingOptionDetails", - "description": "Environment details. This field will be populated when the targeting_type is `TARGETING_TYPE_ENVIRONMENT`." - }, - "exchangeDetails": { - "$ref": "ExchangeAssignedTargetingOptionDetails", - "description": "Exchange details. This field will be populated when the targeting_type is `TARGETING_TYPE_EXCHANGE`." - }, - "genderDetails": { - "$ref": "GenderAssignedTargetingOptionDetails", - "description": "Gender details. This field will be populated when the targeting_type is `TARGETING_TYPE_GENDER`." - }, - "geoRegionDetails": { - "$ref": "GeoRegionAssignedTargetingOptionDetails", - "description": "Geographic region details. This field will be populated when the targeting_type is `TARGETING_TYPE_GEO_REGION`." - }, - "householdIncomeDetails": { - "$ref": "HouseholdIncomeAssignedTargetingOptionDetails", - "description": "Household income details. This field will be populated when the targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`." - }, - "inheritance": { - "description": "Output only. The inheritance status of the assigned targeting option.", - "enum": [ - "INHERITANCE_UNSPECIFIED", - "NOT_INHERITED", - "INHERITED_FROM_PARTNER", - "INHERITED_FROM_ADVERTISER" - ], - "enumDescriptions": [ - "The inheritance is unspecified or unknown.", - "The assigned targeting option is not inherited from higher level entity.", - "The assigned targeting option is inherited from partner targeting settings.", - "The assigned targeting option is inherited from advertiser targeting settings." - ], - "readOnly": true, - "type": "string" - }, - "inventorySourceDetails": { - "$ref": "InventorySourceAssignedTargetingOptionDetails", - "description": "Inventory source details. This field will be populated when the targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE`." - }, - "inventorySourceGroupDetails": { - "$ref": "InventorySourceGroupAssignedTargetingOptionDetails", - "description": "Inventory source group details. This field will be populated when the targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`." - }, - "keywordDetails": { - "$ref": "KeywordAssignedTargetingOptionDetails", - "description": "Keyword details. This field will be populated when the targeting_type is `TARGETING_TYPE_KEYWORD`. A maximum of 5000 direct negative keywords can be assigned to a resource. No limit on number of positive keywords that can be assigned." - }, - "languageDetails": { - "$ref": "LanguageAssignedTargetingOptionDetails", - "description": "Language details. This field will be populated when the targeting_type is `TARGETING_TYPE_LANGUAGE`." - }, - "name": { - "description": "Output only. The resource name for this assigned targeting option.", - "readOnly": true, - "type": "string" - }, - "nativeContentPositionDetails": { - "$ref": "NativeContentPositionAssignedTargetingOptionDetails", - "description": "Native content position details. This field will be populated when the targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`." - }, - "negativeKeywordListDetails": { - "$ref": "NegativeKeywordListAssignedTargetingOptionDetails", - "description": "Keyword details. This field will be populated when the targeting_type is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. A maximum of 4 negative keyword lists can be assigned to a resource." - }, - "omidDetails": { - "$ref": "OmidAssignedTargetingOptionDetails", - "description": "Open Measurement enabled inventory details. This field will be populated when the targeting_type is `TARGETING_TYPE_OMID`." - }, - "onScreenPositionDetails": { - "$ref": "OnScreenPositionAssignedTargetingOptionDetails", - "description": "On screen position details. This field will be populated when the targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`." - }, - "operatingSystemDetails": { - "$ref": "OperatingSystemAssignedTargetingOptionDetails", - "description": "Operating system details. This field will be populated when the targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`." - }, - "parentalStatusDetails": { - "$ref": "ParentalStatusAssignedTargetingOptionDetails", - "description": "Parental status details. This field will be populated when the targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`." - }, - "poiDetails": { - "$ref": "PoiAssignedTargetingOptionDetails", - "description": "POI details. This field will be populated when the targeting_type is `TARGETING_TYPE_POI`." - }, - "proximityLocationListDetails": { - "$ref": "ProximityLocationListAssignedTargetingOptionDetails", - "description": "Proximity location list details. This field will be populated when the targeting_type is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`." - }, - "regionalLocationListDetails": { - "$ref": "RegionalLocationListAssignedTargetingOptionDetails", - "description": "Regional location list details. This field will be populated when the targeting_type is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`." - }, - "sensitiveCategoryExclusionDetails": { - "$ref": "SensitiveCategoryAssignedTargetingOptionDetails", - "description": "Sensitive category details. This field will be populated when the targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. Sensitive categories are targeting exclusions. Advertiser level sensitive category exclusions, if set, are always applied in serving (even though they aren't visible in resource settings). Resource settings can exclude sensitive categories in addition to advertiser exclusions, but can't override them." - }, - "subExchangeDetails": { - "$ref": "SubExchangeAssignedTargetingOptionDetails", - "description": "Sub-exchange details. This field will be populated when the targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`." - }, - "targetingType": { - "description": "Output only. Identifies the type of this assigned targeting option.", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "readOnly": true, - "type": "string" - }, - "thirdPartyVerifierDetails": { - "$ref": "ThirdPartyVerifierAssignedTargetingOptionDetails", - "description": "Third party verification details. This field will be populated when the targeting_type is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`." - }, - "urlDetails": { - "$ref": "UrlAssignedTargetingOptionDetails", - "description": "URL details. This field will be populated when the targeting_type is `TARGETING_TYPE_URL`." - }, - "userRewardedContentDetails": { - "$ref": "UserRewardedContentAssignedTargetingOptionDetails", - "description": "User rewarded content details. This field will be populated when the targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`." - }, - "videoPlayerSizeDetails": { - "$ref": "VideoPlayerSizeAssignedTargetingOptionDetails", - "description": "Video player size details. This field will be populated when the targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`." - }, - "viewabilityDetails": { - "$ref": "ViewabilityAssignedTargetingOptionDetails", - "description": "Viewability details. This field will be populated when the targeting_type is `TARGETING_TYPE_VIEWABILITY`. You can only target one viewability option per resource." - } - }, - "type": "object" - }, - "AssignedUserRole": { - "description": "A single assigned user role, which defines a user's authorized interaction with a specified partner or advertiser.", - "id": "AssignedUserRole", - "properties": { - "advertiserId": { - "description": "The ID of the advertiser that the assigend user role applies to.", - "format": "int64", - "type": "string" - }, - "assignedUserRoleId": { - "description": "Output only. The ID of the assigned user role.", - "readOnly": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that the assigned user role applies to.", - "format": "int64", - "type": "string" - }, - "userRole": { - "description": "Required. The user role to assign to a user for the entity.", - "enum": [ - "USER_ROLE_UNSPECIFIED", - "ADMIN", - "ADMIN_PARTNER_CLIENT", - "STANDARD", - "STANDARD_PLANNER", - "STANDARD_PLANNER_LIMITED", - "STANDARD_PARTNER_CLIENT", - "READ_ONLY", - "REPORTING_ONLY", - "LIMITED_REPORTING_ONLY", - "CREATIVE", - "CREATIVE_ADMIN" - ], - "enumDescriptions": [ - "Default value when the user role is not specified or is unknown in this version.", - "The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They can view and edit billing information, create or modify users, and enable or disable exchanges. This role can only be assigned for a partner entity.", - "The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They can create and modify other `ADMIN_PARTNER_CLIENT` users and view billing information. They cannot view revenue models, markups, or any other reseller-sensitive fields. This role can only be assigned for a partner entity.", - "The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They cannot create and modify users or view billing information.", - "The user can view all campaigns, creatives, insertion orders, line items, and reports for the entity, including all cost data. They can create and modify planning-related features, including plans and inventory.", - "The user can view all campaigns, creatives, insertion orders, line items, and reports for the entity. They can create or modify planning-related features, including plans and inventory. They have no access to cost data and cannot start, accept, or negotiate deals.", - "The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They cannot create or modify other users or view billing information. They cannot view revenue models, markups, or any other reseller-sensitive fields. This role can only be assigned for an advertiser entity.", - "The user can only build reports and view data for the entity.", - "The user can only create and manage reports.", - "The user can only create and manage the following client-safe reports: General, Audience Performance, Cross-Partner, Keyword, Order ID, Category, and Third-Party Data Provider.", - "The user can view media plan information they need to collaborate, but can't view cost-related data or Marketplace.", - "The user can view media plan information they need to collaborate, but can't view cost-related data or Marketplace. In addition, they can add other creative admins or creative users to the entity." - ], - "type": "string" - } - }, - "type": "object" - }, - "AudienceGroupAssignedTargetingOptionDetails": { - "description": "Assigned audience group targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUDIENCE_GROUP`. The relation between each group is UNION, except for excluded_first_and_third_party_audience_group and excluded_google_audience_group, of which COMPLEMENT is used as an INTERSECTION with other groups.", - "id": "AudienceGroupAssignedTargetingOptionDetails", - "properties": { - "excludedFirstAndThirdPartyAudienceGroup": { - "$ref": "FirstAndThirdPartyAudienceGroup", - "description": "The first and third party audience ids and recencies of the excluded first and third party audience group. Used for negative targeting. The COMPLEMENT of the UNION of this group and other excluded audience groups is used as an INTERSECTION to any positive audience targeting. All items are logically ‘OR’ of each other." - }, - "excludedGoogleAudienceGroup": { - "$ref": "GoogleAudienceGroup", - "description": "The Google audience ids of the excluded Google audience group. Used for negative targeting. The COMPLEMENT of the UNION of this group and other excluded audience groups is used as an INTERSECTION to any positive audience targeting. Only contains Affinity, In-market and Installed-apps type Google audiences. All items are logically ‘OR’ of each other." - }, - "includedCombinedAudienceGroup": { - "$ref": "CombinedAudienceGroup", - "description": "The combined audience ids of the included combined audience group. Contains combined audience ids only." - }, - "includedCustomListGroup": { - "$ref": "CustomListGroup", - "description": "The custom list ids of the included custom list group. Contains custom list ids only." - }, - "includedFirstAndThirdPartyAudienceGroups": { - "description": "The first and third party audience ids and recencies of included first and third party audience groups. Each first and third party audience group contains first and third party audience ids only. The relation between each first and third party audience group is INTERSECTION, and the result is UNION'ed with other audience groups. Repeated groups with same settings will be ignored.", - "items": { - "$ref": "FirstAndThirdPartyAudienceGroup" - }, - "type": "array" - }, - "includedGoogleAudienceGroup": { - "$ref": "GoogleAudienceGroup", - "description": "The Google audience ids of the included Google audience group. Contains Google audience ids only." - } - }, - "type": "object" - }, - "AudioContentTypeAssignedTargetingOptionDetails": { - "description": "Details for audio content type assigned targeting option. This will be populated in the audio_content_type_details field when targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`. Explicitly targeting all options is not supported. Remove all audio content type targeting options to achieve this effect.", - "id": "AudioContentTypeAssignedTargetingOptionDetails", - "properties": { - "audioContentType": { - "description": "Required. The audio content type.", - "enum": [ - "AUDIO_CONTENT_TYPE_UNSPECIFIED", - "AUDIO_CONTENT_TYPE_UNKNOWN", - "AUDIO_CONTENT_TYPE_MUSIC", - "AUDIO_CONTENT_TYPE_BROADCAST", - "AUDIO_CONTENT_TYPE_PODCAST" - ], - "enumDescriptions": [ - "Audio content type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", - "The audio content type is unknown.", - "The audio content type is music.", - "The audio content type is broadcast.", - "The audio content type is podcast." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`.", - "type": "string" - } - }, - "type": "object" - }, - "AudioContentTypeTargetingOptionDetails": { - "description": "Represents a targetable audio content type. This will be populated in the audio_content_type_details field when targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`.", - "id": "AudioContentTypeTargetingOptionDetails", - "properties": { - "audioContentType": { - "description": "Output only. The audio content type.", - "enum": [ - "AUDIO_CONTENT_TYPE_UNSPECIFIED", - "AUDIO_CONTENT_TYPE_UNKNOWN", - "AUDIO_CONTENT_TYPE_MUSIC", - "AUDIO_CONTENT_TYPE_BROADCAST", - "AUDIO_CONTENT_TYPE_PODCAST" - ], - "enumDescriptions": [ - "Audio content type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", - "The audio content type is unknown.", - "The audio content type is music.", - "The audio content type is broadcast.", - "The audio content type is podcast." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "AudioVideoOffset": { - "description": "The length an audio or a video has been played.", - "id": "AudioVideoOffset", - "properties": { - "percentage": { - "description": "The offset in percentage of the audio or video duration.", - "format": "int64", - "type": "string" - }, - "seconds": { - "description": "The offset in seconds from the start of the audio or video.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AuditAdvertiserResponse": { - "description": "Response message for AdvertiserService.AuditAdvertiser.", - "id": "AuditAdvertiserResponse", - "properties": { - "adGroupCriteriaCount": { - "description": "The number of individual targeting options from the following targeting types that are assigned to a line item under this advertiser. These individual targeting options count towards the limit of 4500000 ad group targeting options per advertiser. Qualifying Targeting types: * Channels, URLs, apps, and collections * Demographic * Google Audiences, including Affinity, Custom Affinity, and In-market audiences * Inventory source * Keyword * Mobile app category * User lists * Video targeting * Viewability", - "format": "int64", - "type": "string" - }, - "campaignCriteriaCount": { - "description": "The number of individual targeting options from the following targeting types that are assigned to a line item under this advertiser. These individual targeting options count towards the limit of 900000 campaign targeting options per advertiser. Qualifying Targeting types: * Position * Browser * Connection speed * Day and time * Device and operating system * Digital content label * Sensitive categories * Environment * Geography, including business chains and proximity * ISP * Language * Third-party verification", - "format": "int64", - "type": "string" - }, - "channelsCount": { - "description": "The number of channels created under this advertiser. These channels count towards the limit of 1000 channels per advertiser.", - "format": "int64", - "type": "string" - }, - "negativeKeywordListsCount": { - "description": "The number of negative keyword lists created under this advertiser. These negative keyword lists count towards the limit of 20 negative keyword lists per advertiser.", - "format": "int64", - "type": "string" - }, - "negativelyTargetedChannelsCount": { - "description": "The number of negatively targeted channels created under this advertiser. These negatively targeted channels count towards the limit of 5 negatively targeted channels per advertiser.", - "format": "int64", - "type": "string" - }, - "usedCampaignsCount": { - "description": "The number of ACTIVE and PAUSED campaigns under this advertiser. These campaigns count towards the limit of 9999 campaigns per advertiser.", - "format": "int64", - "type": "string" - }, - "usedInsertionOrdersCount": { - "description": "The number of ACTIVE, PAUSED and DRAFT insertion orders under this advertiser. These insertion orders count towards the limit of 9999 insertion orders per advertiser.", - "format": "int64", - "type": "string" - }, - "usedLineItemsCount": { - "description": "The number of ACTIVE, PAUSED, and DRAFT line items under this advertiser. These line items count towards the limit of 9999 line items per advertiser.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AuthorizedSellerStatusAssignedTargetingOptionDetails": { - "description": "Represents an assigned authorized seller status. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. If a resource does not have an `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` assigned targeting option, it is using the \"Authorized Direct Sellers and Resellers\" option.", - "id": "AuthorizedSellerStatusAssignedTargetingOptionDetails", - "properties": { - "authorizedSellerStatus": { - "description": "Output only. The authorized seller status to target.", - "enum": [ - "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", - "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", - "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS" - ], - "enumDescriptions": [ - "Default value when authorized seller status is not specified in this version. This enum is a placeholder for the default value, or \"Authorized Direct Sellers and Resellers\" in the UI.", - "Only authorized sellers that directly own the inventory being monetized, as indicated by a DIRECT declaration in the ads.txt file. This value is equivalent to \"Authorized Direct Sellers\" in the UI.", - "All authorized sellers, including publishers that have not posted an ads.txt file. Display & Video 360 automatically disallows unauthorized sellers. This value is equivalent to \"Authorized and Non-Participating Publishers\" in the UI." - ], - "readOnly": true, - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.", - "type": "string" - } - }, - "type": "object" - }, - "AuthorizedSellerStatusTargetingOptionDetails": { - "description": "Represents a targetable authorized seller status. This will be populated in the authorized_seller_status_details field when targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.", - "id": "AuthorizedSellerStatusTargetingOptionDetails", - "properties": { - "authorizedSellerStatus": { - "description": "Output only. The authorized seller status.", - "enum": [ - "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", - "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", - "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS" - ], - "enumDescriptions": [ - "Default value when authorized seller status is not specified in this version. This enum is a placeholder for the default value, or \"Authorized Direct Sellers and Resellers\" in the UI.", - "Only authorized sellers that directly own the inventory being monetized, as indicated by a DIRECT declaration in the ads.txt file. This value is equivalent to \"Authorized Direct Sellers\" in the UI.", - "All authorized sellers, including publishers that have not posted an ads.txt file. Display & Video 360 automatically disallows unauthorized sellers. This value is equivalent to \"Authorized and Non-Participating Publishers\" in the UI." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "BiddingStrategy": { - "description": "Settings that control the bid strategy. Bid strategy determines the bid price.", - "id": "BiddingStrategy", - "properties": { - "fixedBid": { - "$ref": "FixedBidStrategy", - "description": "A strategy that uses a fixed bid price." - }, - "maximizeSpendAutoBid": { - "$ref": "MaximizeSpendBidStrategy", - "description": "A strategy that automatically adjusts the bid to optimize to your performance goal while spending the full budget. At insertion order level, the markup_type of line items cannot be set to `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`. In addition, when performance_goal_type is one of: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` , the line_item_type of the insertion order line items must be either: * `LINE_ITEM_TYPE_DISPLAY_DEFAULT` * `LINE_ITEM_TYPE_VIDEO_DEFAULT` , and when performance_goal_type is either: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` the line_item_type of the insertion order line items must be `LINE_ITEM_TYPE_VIDEO_DEFAULT`." - }, - "performanceGoalAutoBid": { - "$ref": "PerformanceGoalBidStrategy", - "description": "A strategy that automatically adjusts the bid to meet or beat a specified performance goal. It is to be used only for a line item entity." - } - }, - "type": "object" - }, - "BrowserAssignedTargetingOptionDetails": { - "description": "Details for assigned browser targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BROWSER`.", - "id": "BrowserAssignedTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the browser.", - "readOnly": true, - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted. All assigned browser targeting options on the same resource must have the same value for this field.", - "type": "boolean" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BROWSER`.", - "type": "string" - } - }, - "type": "object" - }, - "BrowserTargetingOptionDetails": { - "description": "Represents a targetable browser. This will be populated in the browser_details field when targeting_type is `TARGETING_TYPE_BROWSER`.", - "id": "BrowserTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the browser.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "BudgetSummary": { - "description": "Summarized information of an individual campaign budget.", - "id": "BudgetSummary", - "properties": { - "externalBudgetId": { - "description": "Corresponds to the external_budget_id of a campaign budget. If the value is not set in the campaign budget, this field will be empty.", - "type": "string" - }, - "preTaxAmountMicros": { - "description": "The sum of charges made under this budget before taxes, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", - "format": "int64", - "type": "string" - }, - "prismaCpeCode": { - "$ref": "PrismaCpeCode", - "description": "Relevant client, product, and estimate codes from the Mediaocean Prisma tool. Only applicable for campaign budgets with an external_budget_source of EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN." - }, - "taxAmountMicros": { - "description": "The amount of tax applied to charges under this budget, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", - "format": "int64", - "type": "string" - }, - "totalAmountMicros": { - "description": "The total sum of charges made under this budget, including tax, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "BulkEditAdvertiserAssignedTargetingOptionsRequest": { - "description": "Request message for BulkEditAdvertiserAssignedTargetingOptions.", - "id": "BulkEditAdvertiserAssignedTargetingOptionsRequest", - "properties": { - "createRequests": { - "description": "The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", - "items": { - "$ref": "CreateAssignedTargetingOptionsRequest" - }, - "type": "array" - }, - "deleteRequests": { - "description": "The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`", - "items": { - "$ref": "DeleteAssignedTargetingOptionsRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditAdvertiserAssignedTargetingOptionsResponse": { - "id": "BulkEditAdvertiserAssignedTargetingOptionsResponse", - "properties": { - "createdAssignedTargetingOptions": { - "description": "The list of assigned targeting options that have been successfully created. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditAssignedInventorySourcesRequest": { - "description": "Request message for AssignedInventorySourceService.BulkEdit.", - "id": "BulkEditAssignedInventorySourcesRequest", - "properties": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to these assigned inventory sources.", - "format": "int64", - "type": "string" - }, - "createdAssignedInventorySources": { - "description": "The assigned inventory sources to create in bulk, specified as a list of AssignedInventorySources.", - "items": { - "$ref": "AssignedInventorySource" - }, - "type": "array" - }, - "deletedAssignedInventorySources": { - "description": "The IDs of the assigned inventory sources to delete in bulk, specified as a list of assigned_inventory_source_ids.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "partnerId": { - "description": "The ID of the partner that owns the inventory source group. Only this partner has write access to these assigned inventory sources.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "BulkEditAssignedInventorySourcesResponse": { - "description": "Response message for AssignedInventorySourceService.BulkEdit.", - "id": "BulkEditAssignedInventorySourcesResponse", - "properties": { - "assignedInventorySources": { - "description": "The list of assigned inventory sources that have been successfully created. This list will be absent if empty.", - "items": { - "$ref": "AssignedInventorySource" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditAssignedLocationsRequest": { - "description": "Request message for AssignedLocationService.BulkEditAssignedLocations.", - "id": "BulkEditAssignedLocationsRequest", - "properties": { - "createdAssignedLocations": { - "description": "The assigned locations to create in bulk, specified as a list of AssignedLocation resources.", - "items": { - "$ref": "AssignedLocation" - }, - "type": "array" - }, - "deletedAssignedLocations": { - "description": "The IDs of the assigned locations to delete in bulk, specified as a list of assignedLocationId values.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditAssignedLocationsResponse": { - "id": "BulkEditAssignedLocationsResponse", - "properties": { - "assignedLocations": { - "description": "The list of assigned locations that have been successfully created. This list will be absent if empty.", - "items": { - "$ref": "AssignedLocation" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditAssignedUserRolesRequest": { - "description": "Request message for BulkEditAssignedUserRoles.", - "id": "BulkEditAssignedUserRolesRequest", - "properties": { - "createdAssignedUserRoles": { - "description": "The assigned user roles to create in batch, specified as a list of AssignedUserRoles.", - "items": { - "$ref": "AssignedUserRole" - }, - "type": "array" - }, - "deletedAssignedUserRoles": { - "description": "The assigned user roles to delete in batch, specified as a list of assigned_user_role_ids. The format of assigned_user_role_id is `entityType-entityid`, for example `partner-123`.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditAssignedUserRolesResponse": { - "id": "BulkEditAssignedUserRolesResponse", - "properties": { - "createdAssignedUserRoles": { - "description": "The list of assigned user roles that have been successfully created. This list will be absent if empty.", - "items": { - "$ref": "AssignedUserRole" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditLineItemAssignedTargetingOptionsRequest": { - "description": "Request message for BulkEditLineItemAssignedTargetingOptions.", - "id": "BulkEditLineItemAssignedTargetingOptionsRequest", - "properties": { - "createRequests": { - "description": "The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`.", - "items": { - "$ref": "CreateAssignedTargetingOptionsRequest" - }, - "type": "array" - }, - "deleteRequests": { - "description": "The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`.", - "items": { - "$ref": "DeleteAssignedTargetingOptionsRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditLineItemAssignedTargetingOptionsResponse": { - "id": "BulkEditLineItemAssignedTargetingOptionsResponse", - "properties": { - "createdAssignedTargetingOptions": { - "description": "The list of assigned targeting options that have been successfully created. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditNegativeKeywordsRequest": { - "description": "Request message for NegativeKeywordService.BulkEditNegativeKeywords.", - "id": "BulkEditNegativeKeywordsRequest", - "properties": { - "createdNegativeKeywords": { - "description": "The negative keywords to create in batch, specified as a list of NegativeKeywords.", - "items": { - "$ref": "NegativeKeyword" - }, - "type": "array" - }, - "deletedNegativeKeywords": { - "description": "The negative keywords to delete in batch, specified as a list of keyword_values.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditNegativeKeywordsResponse": { - "description": "Response message for NegativeKeywordService.BulkEditNegativeKeywords.", - "id": "BulkEditNegativeKeywordsResponse", - "properties": { - "negativeKeywords": { - "description": "The list of negative keywords that have been successfully created. This list will be absent if empty.", - "items": { - "$ref": "NegativeKeyword" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditPartnerAssignedTargetingOptionsRequest": { - "description": "Request message for BulkEditPartnerAssignedTargetingOptions.", - "id": "BulkEditPartnerAssignedTargetingOptionsRequest", - "properties": { - "createRequests": { - "description": "The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", - "items": { - "$ref": "CreateAssignedTargetingOptionsRequest" - }, - "type": "array" - }, - "deleteRequests": { - "description": "The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", - "items": { - "$ref": "DeleteAssignedTargetingOptionsRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditPartnerAssignedTargetingOptionsResponse": { - "id": "BulkEditPartnerAssignedTargetingOptionsResponse", - "properties": { - "createdAssignedTargetingOptions": { - "description": "The list of assigned targeting options that have been successfully created. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkEditSitesRequest": { - "description": "Request message for SiteService.BulkEditSites.", - "id": "BulkEditSitesRequest", - "properties": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent channel.", - "format": "int64", - "type": "string" - }, - "createdSites": { - "description": "The sites to create in batch, specified as a list of Sites.", - "items": { - "$ref": "Site" - }, - "type": "array" - }, - "deletedSites": { - "description": "The sites to delete in batch, specified as a list of site url_or_app_ids.", - "items": { - "type": "string" - }, - "type": "array" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent channel.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "BulkEditSitesResponse": { - "description": "Response message for SiteService.BulkEditSites.", - "id": "BulkEditSitesResponse", - "properties": { - "sites": { - "description": "The list of sites that have been successfully created. This list will be absent if empty.", - "items": { - "$ref": "Site" - }, - "type": "array" - } - }, - "type": "object" - }, - "BulkListAdvertiserAssignedTargetingOptionsResponse": { - "id": "BulkListAdvertiserAssignedTargetingOptionsResponse", - "properties": { - "assignedTargetingOptions": { - "description": "The list of assigned targeting options. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListAdvertiserAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", - "type": "string" - } - }, - "type": "object" - }, - "BulkListCampaignAssignedTargetingOptionsResponse": { - "id": "BulkListCampaignAssignedTargetingOptionsResponse", - "properties": { - "assignedTargetingOptions": { - "description": "The list of assigned targeting options. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListCampaignAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", - "type": "string" - } - }, - "type": "object" - }, - "BulkListInsertionOrderAssignedTargetingOptionsResponse": { - "id": "BulkListInsertionOrderAssignedTargetingOptionsResponse", - "properties": { - "assignedTargetingOptions": { - "description": "The list of assigned targeting options. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", - "type": "string" - } - }, - "type": "object" - }, - "BulkListLineItemAssignedTargetingOptionsResponse": { - "id": "BulkListLineItemAssignedTargetingOptionsResponse", - "properties": { - "assignedTargetingOptions": { - "description": "The list of assigned targeting options. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListLineItemAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", - "type": "string" - } - }, - "type": "object" - }, - "BusinessChainAssignedTargetingOptionDetails": { - "description": "Details for assigned Business chain targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.", - "id": "BusinessChainAssignedTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of a business chain, e.g. \"KFC\", \"Chase Bank\".", - "readOnly": true, - "type": "string" - }, - "proximityRadiusAmount": { - "description": "Required. The radius of the area around the business chain that will be targeted. The units of the radius are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is `DISTANCE_UNIT_MILES`. The minimum increment for both cases is 0.1. Inputs will be rounded to the nearest acceptable value if it is too granular, e.g. 15.57 will become 15.6.", - "format": "double", - "type": "number" - }, - "proximityRadiusUnit": { - "description": "Required. The unit of distance by which the targeting radius is measured.", - "enum": [ - "DISTANCE_UNIT_UNSPECIFIED", - "DISTANCE_UNIT_MILES", - "DISTANCE_UNIT_KILOMETERS" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Miles.", - "Kilometers." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BUSINESS_CHAIN`. Accepted business chain targeting option IDs can be retrieved using SearchTargetingOptions.", - "type": "string" - } - }, - "type": "object" - }, - "BusinessChainSearchTerms": { - "description": "Search terms for Business Chain targeting options. At least one of the field should be populated.", - "id": "BusinessChainSearchTerms", - "properties": { - "businessChainQuery": { - "description": "The search query for the desired business chain. The query must be the full name of the business, e.g. \"KFC\", \"mercedes-benz\".", - "type": "string" - }, - "regionQuery": { - "description": "The search query for the desired geo region, e.g. \"Seattle\", \"United State\".", - "type": "string" - } - }, - "type": "object" - }, - "BusinessChainTargetingOptionDetails": { - "description": "Represents a targetable business chain within a geo region. This will be populated in the business_chain_details field when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.", - "id": "BusinessChainTargetingOptionDetails", - "properties": { - "businessChain": { - "description": "Output only. The display name of the business chain, e.g. \"KFC\", \"Chase Bank\".", - "readOnly": true, - "type": "string" - }, - "geoRegion": { - "description": "Output only. The display name of the geographic region, e.g. \"Ontario, Canada\".", - "readOnly": true, - "type": "string" - }, - "geoRegionType": { - "description": "Output only. The type of the geographic region.", - "enum": [ - "GEO_REGION_TYPE_UNKNOWN", - "GEO_REGION_TYPE_OTHER", - "GEO_REGION_TYPE_COUNTRY", - "GEO_REGION_TYPE_REGION", - "GEO_REGION_TYPE_TERRITORY", - "GEO_REGION_TYPE_PROVINCE", - "GEO_REGION_TYPE_STATE", - "GEO_REGION_TYPE_PREFECTURE", - "GEO_REGION_TYPE_GOVERNORATE", - "GEO_REGION_TYPE_CANTON", - "GEO_REGION_TYPE_UNION_TERRITORY", - "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", - "GEO_REGION_TYPE_DMA_REGION", - "GEO_REGION_TYPE_METRO", - "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", - "GEO_REGION_TYPE_COUNTY", - "GEO_REGION_TYPE_MUNICIPALITY", - "GEO_REGION_TYPE_CITY", - "GEO_REGION_TYPE_POSTAL_CODE", - "GEO_REGION_TYPE_DEPARTMENT", - "GEO_REGION_TYPE_AIRPORT", - "GEO_REGION_TYPE_TV_REGION", - "GEO_REGION_TYPE_OKRUG", - "GEO_REGION_TYPE_BOROUGH", - "GEO_REGION_TYPE_CITY_REGION", - "GEO_REGION_TYPE_ARRONDISSEMENT", - "GEO_REGION_TYPE_NEIGHBORHOOD", - "GEO_REGION_TYPE_UNIVERSITY", - "GEO_REGION_TYPE_DISTRICT" - ], - "enumDescriptions": [ - "The geographic region type is unknown.", - "The geographic region type is other.", - "The geographic region is a country.", - "The geographic region type is region.", - "The geographic region is a territory.", - "The geographic region is a province.", - "The geographic region is a state.", - "The geographic region is a prefecture.", - "The geographic region is a governorate.", - "The geographic region is a canton.", - "The geographic region is a union territory.", - "The geographic region is an autonomous community.", - "The geographic region is a designated market area (DMA) region.", - "The geographic region type is metro.", - "The geographic region is a congressional district.", - "The geographic region is a county.", - "The geographic region is a municipality.", - "The geographic region is a city.", - "The geographic region targeting type is postal code.", - "The geographic region targeting type is department.", - "The geographic region is an airport.", - "The geographic region is a TV region.", - "The geographic region is an okrug.", - "The geographic region is a borough.", - "The geographic region is a city region.", - "The geographic region is an arrondissement.", - "The geographic region is a neighborhood.", - "The geographic region is a university.", - "The geographic region is a district." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Campaign": { - "description": "A single campaign.", - "id": "Campaign", - "properties": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the campaign belongs to.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "campaignBudgets": { - "description": "The list of budgets available to this campaign. If this field is not set, the campaign uses an unlimited budget.", - "items": { - "$ref": "CampaignBudget" - }, - "type": "array" - }, - "campaignFlight": { - "$ref": "CampaignFlight", - "description": "Required. The planned spend and duration of the campaign." - }, - "campaignGoal": { - "$ref": "CampaignGoal", - "description": "Required. The goal of the campaign." - }, - "campaignId": { - "description": "Output only. The unique ID of the campaign. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "displayName": { - "description": "Required. The display name of the campaign. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "entityStatus": { - "description": "Required. Controls whether or not the insertion orders under this campaign can spend their budgets and bid on inventory. * Accepted values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. * For CreateCampaign method, `ENTITY_STATUS_ARCHIVED` is not allowed.", - "enum": [ - "ENTITY_STATUS_UNSPECIFIED", - "ENTITY_STATUS_ACTIVE", - "ENTITY_STATUS_ARCHIVED", - "ENTITY_STATUS_DRAFT", - "ENTITY_STATUS_PAUSED", - "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - ], - "enumDescriptions": [ - "Default value when status is not specified or is unknown in this version.", - "The entity is enabled to bid and spend budget.", - "The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", - "The entity is under draft. Bidding and budget spending are disabled.", - "Bidding and budget spending are paused for the entity.", - "The entity is scheduled for deletion." - ], - "type": "string" - }, - "frequencyCap": { - "$ref": "FrequencyCap", - "description": "Required. The frequency cap setting of the campaign." - }, - "name": { - "description": "Output only. The resource name of the campaign.", - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. The timestamp when the campaign was last updated. Assigned by the system.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "CampaignBudget": { - "description": "Settings that control how the campaign budget is allocated.", - "id": "CampaignBudget", - "properties": { - "budgetAmountMicros": { - "description": "Required. The total amount the linked insertion order segments can budget. The amount is in micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency.", - "format": "int64", - "type": "string" - }, - "budgetId": { - "description": "The unique ID of the campaign budget. Assigned by the system. Do not set for new budgets. Must be included when updating or adding budgets to campaign_budgets. Otherwise, a new ID will be generated and assigned.", - "format": "int64", - "type": "string" - }, - "budgetUnit": { - "description": "Required. Immutable. Specifies whether the budget is measured in currency or impressions.", - "enum": [ - "BUDGET_UNIT_UNSPECIFIED", - "BUDGET_UNIT_CURRENCY", - "BUDGET_UNIT_IMPRESSIONS" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Budgeting in currency amounts.", - "Budgeting in impression amounts." - ], - "type": "string" - }, - "dateRange": { - "$ref": "DateRange", - "description": "Required. The date range for the campaign budget. Linked budget segments may have a different date range. They are resolved relative to the parent advertiser's time zone. Both `start_date` and `end_date` must be before the year 2037." - }, - "displayName": { - "description": "Required. The display name of the budget. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "externalBudgetId": { - "description": "Immutable. The ID identifying this budget to the external source. If this field is set and the invoice detail level of the corresponding billing profile is set to \"Budget level PO\", all impressions served against this budget will include this ID on the invoice. Must be unique under the campaign.", - "type": "string" - }, - "externalBudgetSource": { - "description": "Required. The external source of the budget.", - "enum": [ - "EXTERNAL_BUDGET_SOURCE_UNSPECIFIED", - "EXTERNAL_BUDGET_SOURCE_NONE", - "EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN" - ], - "enumDescriptions": [ - "External budget source value is not specified or unknown in this version.", - "Budget has no external source.", - "Budget source is Mediaocean." - ], - "type": "string" - }, - "invoiceGroupingId": { - "description": "Immutable. The ID used to group budgets to be included the same invoice. If this field is set and the invoice level of the corresponding billing profile is set to \"Budget invoice grouping ID\", all external_budget_id sharing the same invoice_grouping_id will be grouped in the same invoice.", - "type": "string" - }, - "prismaConfig": { - "$ref": "PrismaConfig", - "description": "Additional metadata for use by the Mediaocean Prisma tool. Required for Mediaocean budgets. Only applicable to prisma_enabled advertisers." - } - }, - "type": "object" - }, - "CampaignFlight": { - "description": "Settings that track the planned spend and duration of a campaign.", - "id": "CampaignFlight", - "properties": { - "plannedDates": { - "$ref": "DateRange", - "description": "Required. The dates that the campaign is expected to run. They are resolved relative to the parent advertiser's time zone. * The dates specified here will not affect serving. They are used to generate alerts and warnings. For example, if the flight date of any child insertion order is outside the range of these dates, the user interface will show a warning. * `start_date` is required and must be the current date or later. * `end_date` is optional. If specified, it must be the `start_date` or later. * Any specified date must be before the year 2037." - }, - "plannedSpendAmountMicros": { - "description": "The amount the campaign is expected to spend for its given planned_dates. This will not limit serving, but will be used for tracking spend in the DV360 UI. The amount is in micros. Must be greater than or equal to 0. For example, 500000000 represents 500 standard units of the currency.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CampaignGoal": { - "description": "Settings that control the goal of a campaign.", - "id": "CampaignGoal", - "properties": { - "campaignGoalType": { - "description": "Required. The type of the campaign goal.", - "enum": [ - "CAMPAIGN_GOAL_TYPE_UNSPECIFIED", - "CAMPAIGN_GOAL_TYPE_APP_INSTALL", - "CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS", - "CAMPAIGN_GOAL_TYPE_OFFLINE_ACTION", - "CAMPAIGN_GOAL_TYPE_ONLINE_ACTION" - ], - "enumDescriptions": [ - "Goal value is not specified or unknown in this version.", - "Drive app installs or engagements.", - "Raise awareness of a brand or product.", - "Drive offline or in-store sales.", - "Drive online action or visits." - ], - "type": "string" - }, - "performanceGoal": { - "$ref": "PerformanceGoal", - "description": "Required. The performance goal of the campaign. Acceptable values for performance_goal_type are: * `PERFORMANCE_GOAL_TYPE_CPM` * `PERFORMANCE_GOAL_TYPE_CPC` * `PERFORMANCE_GOAL_TYPE_CPA` * `PERFORMANCE_GOAL_TYPE_CPIAVC` * `PERFORMANCE_GOAL_TYPE_CTR` * `PERFORMANCE_GOAL_TYPE_VIEWABILITY` * `PERFORMANCE_GOAL_TYPE_OTHER`" - } - }, - "type": "object" - }, - "CarrierAndIspAssignedTargetingOptionDetails": { - "description": "Details for assigned carrier and ISP targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`.", - "id": "CarrierAndIspAssignedTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the carrier or ISP.", - "readOnly": true, - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted. All assigned carrier and ISP targeting options on the same resource must have the same value for this field.", - "type": "boolean" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_CARRIER_AND_ISP`.", - "type": "string" - } - }, - "type": "object" - }, - "CarrierAndIspTargetingOptionDetails": { - "description": "Represents a targetable carrier or ISP. This will be populated in the carrier_and_isp_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`.", - "id": "CarrierAndIspTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the carrier or ISP.", - "readOnly": true, - "type": "string" - }, - "type": { - "description": "Output only. The type indicating if it's carrier or ISP.", - "enum": [ - "CARRIER_AND_ISP_TYPE_UNSPECIFIED", - "CARRIER_AND_ISP_TYPE_ISP", - "CARRIER_AND_ISP_TYPE_CARRIER" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Indicates this targeting resource refers to an ISP.", - "Indicates this targeting resource refers to a mobile carrier." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "CategoryAssignedTargetingOptionDetails": { - "description": "Assigned category targeting option details. This will be populated in the category_details field when targeting_type is `TARGETING_TYPE_CATEGORY`.", - "id": "CategoryAssignedTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the category.", - "readOnly": true, - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted.", - "type": "boolean" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CATEGORY`.", - "type": "string" - } - }, - "type": "object" - }, - "CategoryTargetingOptionDetails": { - "description": "Represents a targetable category. This will be populated in the category_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_CATEGORY`.", - "id": "CategoryTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the category.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Channel": { - "description": "A single channel. Channels are custom groups of related websites and apps.", - "id": "Channel", - "properties": { - "advertiserId": { - "description": "The ID of the advertiser that owns the channel.", - "format": "int64", - "type": "string" - }, - "channelId": { - "description": "Output only. The unique ID of the channel. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "displayName": { - "description": "Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes.", - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the channel.", - "readOnly": true, - "type": "string" - }, - "negativelyTargetedLineItemCount": { - "description": "Output only. Number of line items that are directly targeting this channel negatively.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "partnerId": { - "description": "The ID of the partner that owns the channel.", - "format": "int64", - "type": "string" - }, - "positivelyTargetedLineItemCount": { - "description": "Output only. Number of line items that are directly targeting this channel positively.", - "format": "int64", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ChannelAssignedTargetingOptionDetails": { - "description": "Details for assigned channel targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CHANNEL`.", - "id": "ChannelAssignedTargetingOptionDetails", - "properties": { - "channelId": { - "description": "Required. ID of the channel. Should refer to the channel ID field on a [Partner-owned channel](partners.channels#Channel.FIELDS.channel_id) or [advertiser-owned channel](advertisers.channels#Channel.FIELDS.channel_id) resource.", - "format": "int64", - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted. For advertiser level assigned targeting option, this field must be true.", - "type": "boolean" - } - }, - "type": "object" - }, - "CmHybridConfig": { - "description": "Settings for advertisers that use both Campaign Manager 360 (CM360) and third-party ad servers.", - "id": "CmHybridConfig", - "properties": { - "cmAccountId": { - "description": "Required. Immutable. Account ID of the CM360 Floodlight configuration linked with the DV360 advertiser.", - "format": "int64", - "type": "string" - }, - "cmAdvertiserIds": { - "description": "Output only. The set of CM360 Advertiser IDs sharing the CM360 Floodlight configuration.", - "items": { - "format": "int64", - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "cmFloodlightConfigId": { - "description": "Required. Immutable. ID of the CM360 Floodlight configuration linked with the DV360 advertiser.", - "format": "int64", - "type": "string" - }, - "cmFloodlightLinkingAuthorized": { - "description": "Required. Immutable. By setting this field to `true`, you, on behalf of your company, authorize the sharing of information from the given Floodlight configuration to this Display & Video 360 advertiser.", - "type": "boolean" - }, - "cmSyncableSiteIds": { - "description": "A list of CM360 sites whose placements will be synced to DV360 as creatives. If absent or empty in CreateAdvertiser method, the system will automatically create a CM360 site. Removing sites from this list may cause DV360 creatives synced from CM360 to be deleted. At least one site must be specified.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "dv360ToCmCostReportingEnabled": { - "description": "Whether or not to report DV360 cost to CM360.", - "type": "boolean" - }, - "dv360ToCmDataSharingEnabled": { - "description": "Whether or not to include DV360 data in CM360 data transfer reports.", - "type": "boolean" - } - }, - "type": "object" - }, - "CmTrackingAd": { - "description": "A Campaign Manager 360 tracking ad.", - "id": "CmTrackingAd", - "properties": { - "cmAdId": { - "description": "The ad ID of the campaign manager 360 tracking Ad.", - "format": "int64", - "type": "string" - }, - "cmCreativeId": { - "description": "The creative ID of the campaign manager 360 tracking Ad.", - "format": "int64", - "type": "string" - }, - "cmPlacementId": { - "description": "The placement ID of the campaign manager 360 tracking Ad.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CombinedAudience": { - "description": "Describes a combined audience resource.", - "id": "CombinedAudience", - "properties": { - "combinedAudienceId": { - "description": "Output only. The unique ID of the combined audience. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "displayName": { - "description": "Output only. The display name of the combined audience. .", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the combined audience.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "CombinedAudienceGroup": { - "description": "Details of combined audience group. All combined audience targeting settings are logically ‘OR’ of each other.", - "id": "CombinedAudienceGroup", - "properties": { - "settings": { - "description": "Required. All combined audience targeting settings in combined audience group. Repeated settings with same id will be ignored. The number of combined audience settings should be no more than five, error will be thrown otherwise.", - "items": { - "$ref": "CombinedAudienceTargetingSetting" - }, - "type": "array" - } - }, - "type": "object" - }, - "CombinedAudienceTargetingSetting": { - "description": "Details of combined audience targeting setting.", - "id": "CombinedAudienceTargetingSetting", - "properties": { - "combinedAudienceId": { - "description": "Required. Combined audience id of combined audience targeting setting. This id is combined_audience_id.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Consent": { - "description": "User consent status.", - "id": "Consent", - "properties": { - "adPersonalization": { - "description": "Represents consent for ad personalization.", - "enum": [ - "CONSENT_STATUS_UNSPECIFIED", - "CONSENT_STATUS_GRANTED", - "CONSENT_STATUS_DENIED" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Consent is granted.", - "Consent is denied." - ], - "type": "string" - }, - "adUserData": { - "description": "Represents consent for ad user data.", - "enum": [ - "CONSENT_STATUS_UNSPECIFIED", - "CONSENT_STATUS_GRANTED", - "CONSENT_STATUS_DENIED" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Consent is granted.", - "Consent is denied." - ], - "type": "string" - } - }, - "type": "object" - }, - "ContactInfo": { - "description": "Contact information defining a Customer Match audience member.", - "id": "ContactInfo", - "properties": { - "countryCode": { - "description": "Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes", - "type": "string" - }, - "hashedEmails": { - "description": "A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.", - "items": { - "type": "string" - }, - "type": "array" - }, - "hashedFirstName": { - "description": "SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes", - "type": "string" - }, - "hashedLastName": { - "description": "SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes", - "type": "string" - }, - "hashedPhoneNumbers": { - "description": "A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](//en.wikipedia.org/wiki/E.164) and include the country calling code.", - "items": { - "type": "string" - }, - "type": "array" - }, - "zipCodes": { - "description": "A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ContactInfoList": { - "description": "Wrapper message for a list of contact information defining Customer Match audience members.", - "id": "ContactInfoList", - "properties": { - "consent": { - "$ref": "Consent", - "description": "Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error." - }, - "contactInfos": { - "description": "A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn't be greater than 500,000.", - "items": { - "$ref": "ContactInfo" - }, - "type": "array" - } - }, - "type": "object" - }, - "ContentDurationAssignedTargetingOptionDetails": { - "description": "Details for content duration assigned targeting option. This will be populated in the content_duration_details field when targeting_type is `TARGETING_TYPE_CONTENT_DURATION`. Explicitly targeting all options is not supported. Remove all content duration targeting options to achieve this effect.", - "id": "ContentDurationAssignedTargetingOptionDetails", - "properties": { - "contentDuration": { - "description": "Output only. The content duration.", - "enum": [ - "CONTENT_DURATION_UNSPECIFIED", - "CONTENT_DURATION_UNKNOWN", - "CONTENT_DURATION_0_TO_1_MIN", - "CONTENT_DURATION_1_TO_5_MIN", - "CONTENT_DURATION_5_TO_15_MIN", - "CONTENT_DURATION_15_TO_30_MIN", - "CONTENT_DURATION_30_TO_60_MIN", - "CONTENT_DURATION_OVER_60_MIN" - ], - "enumDescriptions": [ - "Content duration is not specified in this version. This enum is a place holder for a default value and does not represent a real content duration.", - "The content duration is unknown.", - "Content is 0-1 minute long.", - "Content is 1-5 minutes long.", - "Content is 5-15 minutes long.", - "Content is 15-30 minutes long.", - "Content is 30-60 minutes long.", - "Content is over 60 minutes long." - ], - "readOnly": true, - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_DURATION`.", - "type": "string" - } - }, - "type": "object" - }, - "ContentDurationTargetingOptionDetails": { - "description": "Represents a targetable content duration. This will be populated in the content_duration_details field when targeting_type is `TARGETING_TYPE_CONTENT_DURATION`.", - "id": "ContentDurationTargetingOptionDetails", - "properties": { - "contentDuration": { - "description": "Output only. The content duration.", - "enum": [ - "CONTENT_DURATION_UNSPECIFIED", - "CONTENT_DURATION_UNKNOWN", - "CONTENT_DURATION_0_TO_1_MIN", - "CONTENT_DURATION_1_TO_5_MIN", - "CONTENT_DURATION_5_TO_15_MIN", - "CONTENT_DURATION_15_TO_30_MIN", - "CONTENT_DURATION_30_TO_60_MIN", - "CONTENT_DURATION_OVER_60_MIN" - ], - "enumDescriptions": [ - "Content duration is not specified in this version. This enum is a place holder for a default value and does not represent a real content duration.", - "The content duration is unknown.", - "Content is 0-1 minute long.", - "Content is 1-5 minutes long.", - "Content is 5-15 minutes long.", - "Content is 15-30 minutes long.", - "Content is 30-60 minutes long.", - "Content is over 60 minutes long." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ContentGenreAssignedTargetingOptionDetails": { - "description": "Details for content genre assigned targeting option. This will be populated in the content_genre_details field when targeting_type is `TARGETING_TYPE_CONTENT_GENRE`. Explicitly targeting all options is not supported. Remove all content genre targeting options to achieve this effect.", - "id": "ContentGenreAssignedTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the content genre.", - "readOnly": true, - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted.", - "type": "boolean" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_GENRE`.", - "type": "string" - } - }, - "type": "object" - }, - "ContentGenreTargetingOptionDetails": { - "description": "Represents a targetable content genre. This will be populated in the content_genre_details field when targeting_type is `TARGETING_TYPE_CONTENT_GENRE`.", - "id": "ContentGenreTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the content genre", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ContentInstreamPositionAssignedTargetingOptionDetails": { - "description": "Assigned content instream position targeting option details. This will be populated in the content_instream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.", - "id": "ContentInstreamPositionAssignedTargetingOptionDetails", - "properties": { - "adType": { - "description": "Output only. The ad type to target. Only applicable to insertion order targeting and new line items supporting the specified ad type will inherit this targeting option by default. Possible values are: * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`. * `AD_TYPE_AUDIO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_AUDIO_DEFAULT`.", - "enum": [ - "AD_TYPE_UNSPECIFIED", - "AD_TYPE_DISPLAY", - "AD_TYPE_VIDEO", - "AD_TYPE_AUDIO" - ], - "enumDescriptions": [ - "Ad type is not specified or is unknown in this version.", - "Display creatives, e.g. image and HTML5.", - "Video creatives, e.g. video ads that play during streaming content in video players.", - "Audio creatives, e.g. audio ads that play during audio content." - ], - "readOnly": true, - "type": "string" - }, - "contentInstreamPosition": { - "description": "Required. The content instream position for video or audio ads.", - "enum": [ - "CONTENT_INSTREAM_POSITION_UNSPECIFIED", - "CONTENT_INSTREAM_POSITION_PRE_ROLL", - "CONTENT_INSTREAM_POSITION_MID_ROLL", - "CONTENT_INSTREAM_POSITION_POST_ROLL", - "CONTENT_INSTREAM_POSITION_UNKNOWN" - ], - "enumDescriptions": [ - "Content instream position is not specified in this version. This enum is a place holder for a default value and does not represent a real in stream ad position.", - "Ads that play before streaming content.", - "Ads that play between the beginning and end of streaming content.", - "Ads that play at the end of streaming content.", - "Ads instream position is unknown." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.", - "type": "string" - } - }, - "type": "object" - }, - "ContentInstreamPositionTargetingOptionDetails": { - "description": "Represents a targetable content instream position, which could be used by video and audio ads. This will be populated in the content_instream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.", - "id": "ContentInstreamPositionTargetingOptionDetails", - "properties": { - "contentInstreamPosition": { - "description": "Output only. The content instream position.", - "enum": [ - "CONTENT_INSTREAM_POSITION_UNSPECIFIED", - "CONTENT_INSTREAM_POSITION_PRE_ROLL", - "CONTENT_INSTREAM_POSITION_MID_ROLL", - "CONTENT_INSTREAM_POSITION_POST_ROLL", - "CONTENT_INSTREAM_POSITION_UNKNOWN" - ], - "enumDescriptions": [ - "Content instream position is not specified in this version. This enum is a place holder for a default value and does not represent a real in stream ad position.", - "Ads that play before streaming content.", - "Ads that play between the beginning and end of streaming content.", - "Ads that play at the end of streaming content.", - "Ads instream position is unknown." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ContentOutstreamPositionAssignedTargetingOptionDetails": { - "description": "Assigned content outstream position targeting option details. This will be populated in the content_outstream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.", - "id": "ContentOutstreamPositionAssignedTargetingOptionDetails", - "properties": { - "adType": { - "description": "Output only. The ad type to target. Only applicable to insertion order targeting and new line items supporting the specified ad type will inherit this targeting option by default. Possible values are: * `AD_TYPE_DISPLAY`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`.", - "enum": [ - "AD_TYPE_UNSPECIFIED", - "AD_TYPE_DISPLAY", - "AD_TYPE_VIDEO", - "AD_TYPE_AUDIO" - ], - "enumDescriptions": [ - "Ad type is not specified or is unknown in this version.", - "Display creatives, e.g. image and HTML5.", - "Video creatives, e.g. video ads that play during streaming content in video players.", - "Audio creatives, e.g. audio ads that play during audio content." - ], - "readOnly": true, - "type": "string" - }, - "contentOutstreamPosition": { - "description": "Required. The content outstream position.", - "enum": [ - "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", - "CONTENT_OUTSTREAM_POSITION_UNKNOWN", - "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", - "CONTENT_OUTSTREAM_POSITION_IN_BANNER", - "CONTENT_OUTSTREAM_POSITION_IN_FEED", - "CONTENT_OUTSTREAM_POSITION_INTERSTITIAL" - ], - "enumDescriptions": [ - "Content outstream position is not specified in this version. This enum is a place holder for a default value and does not represent a real content outstream position.", - "The ad position is unknown in the content outstream.", - "Ads that appear between the paragraphs of your pages.", - "Ads that display on the top and the sides of a page.", - "Ads that appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", - "Ads shown before or between content loads." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.", - "type": "string" - } - }, - "type": "object" - }, - "ContentOutstreamPositionTargetingOptionDetails": { - "description": "Represents a targetable content outstream position, which could be used by display and video ads. This will be populated in the content_outstream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.", - "id": "ContentOutstreamPositionTargetingOptionDetails", - "properties": { - "contentOutstreamPosition": { - "description": "Output only. The content outstream position.", - "enum": [ - "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", - "CONTENT_OUTSTREAM_POSITION_UNKNOWN", - "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", - "CONTENT_OUTSTREAM_POSITION_IN_BANNER", - "CONTENT_OUTSTREAM_POSITION_IN_FEED", - "CONTENT_OUTSTREAM_POSITION_INTERSTITIAL" - ], - "enumDescriptions": [ - "Content outstream position is not specified in this version. This enum is a place holder for a default value and does not represent a real content outstream position.", - "The ad position is unknown in the content outstream.", - "Ads that appear between the paragraphs of your pages.", - "Ads that display on the top and the sides of a page.", - "Ads that appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", - "Ads shown before or between content loads." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ContentStreamTypeAssignedTargetingOptionDetails": { - "description": "Details for content stream type assigned targeting option. This will be populated in the content_stream_type_details field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`. Explicitly targeting all options is not supported. Remove all content stream type targeting options to achieve this effect.", - "id": "ContentStreamTypeAssignedTargetingOptionDetails", - "properties": { - "contentStreamType": { - "description": "Output only. The content stream type.", - "enum": [ - "CONTENT_STREAM_TYPE_UNSPECIFIED", - "CONTENT_LIVE_STREAM", - "CONTENT_ON_DEMAND" - ], - "enumDescriptions": [ - "Content stream type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", - "The content is being live-streamed.", - "The content is viewed on-demand." - ], - "readOnly": true, - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.", - "type": "string" - } - }, - "type": "object" - }, - "ContentStreamTypeTargetingOptionDetails": { - "description": "Represents a targetable content stream type. This will be populated in the content_stream_type_details field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.", - "id": "ContentStreamTypeTargetingOptionDetails", - "properties": { - "contentStreamType": { - "description": "Output only. The content stream type.", - "enum": [ - "CONTENT_STREAM_TYPE_UNSPECIFIED", - "CONTENT_LIVE_STREAM", - "CONTENT_ON_DEMAND" - ], - "enumDescriptions": [ - "Content stream type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", - "The content is being live-streamed.", - "The content is viewed on-demand." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ConversionCountingConfig": { - "description": "Settings that control how conversions are counted. All post-click conversions will be counted. A percentage value can be set for post-view conversions counting.", - "id": "ConversionCountingConfig", - "properties": { - "floodlightActivityConfigs": { - "description": "The Floodlight activity configs used to track conversions. The number of conversions counted is the sum of all of the conversions counted by all of the Floodlight activity IDs specified in this field.", - "items": { - "$ref": "TrackingFloodlightActivityConfig" - }, - "type": "array" - }, - "postViewCountPercentageMillis": { - "description": "The percentage of post-view conversions to count, in millis (1/1000 of a percent). Must be between 0 and 100000 inclusive. For example, to track 50% of the post-click conversions, set a value of 50000.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CounterEvent": { - "description": "Counter event of the creative.", - "id": "CounterEvent", - "properties": { - "name": { - "description": "Required. The name of the counter event.", - "type": "string" - }, - "reportingName": { - "description": "Required. The name used to identify this counter event in reports.", - "type": "string" - } - }, - "type": "object" - }, - "CreateAssetRequest": { - "description": "A request message for CreateAsset.", - "id": "CreateAssetRequest", - "properties": { - "filename": { - "description": "Required. The filename of the asset, including the file extension. The filename must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - } - }, - "type": "object" - }, - "CreateAssetResponse": { - "description": "A response message for CreateAsset.", - "id": "CreateAssetResponse", - "properties": { - "asset": { - "$ref": "Asset", - "description": "The uploaded asset, if successful." - } - }, - "type": "object" - }, - "CreateAssignedTargetingOptionsRequest": { - "description": "A request listing which assigned targeting options of a given targeting type should be created and added.", - "id": "CreateAssignedTargetingOptionsRequest", - "properties": { - "assignedTargetingOptions": { - "description": "Required. The assigned targeting options to create and add.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option.", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "type": "string" - } - }, - "type": "object" - }, - "CreateSdfDownloadTaskRequest": { - "description": "Request message for [SdfDownloadTaskService.CreateSdfDownloadTask].", - "id": "CreateSdfDownloadTaskRequest", - "properties": { - "advertiserId": { - "description": "The ID of the advertiser to download SDF for.", - "format": "int64", - "type": "string" - }, - "idFilter": { - "$ref": "IdFilter", - "description": "Filters on entities by their entity IDs." - }, - "inventorySourceFilter": { - "$ref": "InventorySourceFilter", - "description": "Filters on Inventory Sources by their IDs." - }, - "parentEntityFilter": { - "$ref": "ParentEntityFilter", - "description": "Filters on selected file types. The entities in each file are filtered by a chosen set of filter entities. The filter entities must be the same type as, or a parent type of, the selected file types." - }, - "partnerId": { - "description": "The ID of the partner to download SDF for.", - "format": "int64", - "type": "string" - }, - "version": { - "description": "Required. The SDF version of the downloaded file. If set to `SDF_VERSION_UNSPECIFIED`, this will default to the version specified by the advertiser or partner identified by `root_id`. An advertiser inherits its SDF version from its partner unless configured otherwise.", - "enum": [ - "SDF_VERSION_UNSPECIFIED", - "SDF_VERSION_3_1", - "SDF_VERSION_4", - "SDF_VERSION_4_1", - "SDF_VERSION_4_2", - "SDF_VERSION_5", - "SDF_VERSION_5_1", - "SDF_VERSION_5_2", - "SDF_VERSION_5_3", - "SDF_VERSION_5_4", - "SDF_VERSION_5_5", - "SDF_VERSION_6", - "SDF_VERSION_7" - ], - "enumDeprecated": [ - false, - true, - true, - true, - true, - true, - true, - true, - true, - false, - false, - false, - false - ], - "enumDescriptions": [ - "SDF version value is not specified or is unknown in this version.", - "SDF version 3.1", - "SDF version 4", - "SDF version 4.1", - "SDF version 4.2", - "SDF version 5.", - "SDF version 5.1", - "SDF version 5.2", - "SDF version 5.3", - "SDF version 5.4", - "SDF version 5.5", - "SDF version 6", - "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version. Currently in beta. Only available for use by a subset of users." - ], - "type": "string" - } - }, - "type": "object" - }, - "Creative": { - "description": "A single Creative.", - "id": "Creative", - "properties": { - "additionalDimensions": { - "description": "Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and height_pixels are both required and must be greater than or equal to 0.", - "items": { - "$ref": "Dimensions" - }, - "type": "array" - }, - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the creative belongs to.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "appendedTag": { - "description": "Third-party HTML tracking tag to be appended to the creative tag.", - "type": "string" - }, - "assets": { - "description": "Required. Assets associated to this creative.", - "items": { - "$ref": "AssetAssociation" - }, - "type": "array" - }, - "cmPlacementId": { - "description": "Output only. The unique ID of the Campaign Manager 360 placement associated with the creative. This field is only applicable for creatives that are synced from Campaign Manager.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "cmTrackingAd": { - "$ref": "CmTrackingAd", - "description": "The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` Output only for other cases." - }, - "companionCreativeIds": { - "description": "The IDs of companion creatives for a video creative. You can assign existing display creatives (with image or HTML5 assets) to serve surrounding the publisher's video player. Companions display around the video player while the video is playing and remain after the video has completed. Creatives contain additional dimensions can not be companion creatives. This field is only supported for following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "counterEvents": { - "description": "Counter events for a rich media creative. Counters track the number of times that a user interacts with any part of a rich media creative in a specified way (mouse-overs, mouse-outs, clicks, taps, data loading, keyboard entries, etc.). Any event that can be captured in the creative can be recorded as a counter. Leave it empty or unset for creatives containing image assets only.", - "items": { - "$ref": "CounterEvent" - }, - "type": "array" - }, - "createTime": { - "description": "Output only. The timestamp when the creative was created. Assigned by the system.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "creativeAttributes": { - "description": "Output only. A list of attributes of the creative that is generated by the system.", - "items": { - "enum": [ - "CREATIVE_ATTRIBUTE_UNSPECIFIED", - "CREATIVE_ATTRIBUTE_VAST", - "CREATIVE_ATTRIBUTE_VPAID_LINEAR", - "CREATIVE_ATTRIBUTE_VPAID_NON_LINEAR" - ], - "enumDescriptions": [ - "The creative attribute is not specified or is unknown in this version.", - "The creative is a VAST creative.", - "The creative is a linear VPAID creative.", - "The creative is a non-linear VPAID creative." - ], - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "creativeId": { - "description": "Output only. The unique ID of the creative. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "creativeType": { - "description": "Required. Immutable. The type of the creative.", - "enum": [ - "CREATIVE_TYPE_UNSPECIFIED", - "CREATIVE_TYPE_STANDARD", - "CREATIVE_TYPE_EXPANDABLE", - "CREATIVE_TYPE_VIDEO", - "CREATIVE_TYPE_NATIVE", - "CREATIVE_TYPE_TEMPLATED_APP_INSTALL", - "CREATIVE_TYPE_NATIVE_SITE_SQUARE", - "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL", - "CREATIVE_TYPE_LIGHTBOX", - "CREATIVE_TYPE_NATIVE_APP_INSTALL", - "CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE", - "CREATIVE_TYPE_AUDIO", - "CREATIVE_TYPE_PUBLISHER_HOSTED", - "CREATIVE_TYPE_NATIVE_VIDEO", - "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Standard display creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", - "Expandable creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_THIRD_PARTY`", - "Video creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", - "Native creative rendered by publishers with assets from advertiser. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Templated app install mobile creative (banner). Create and update methods are **not** supported for this creative type.", - "Square native creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Interstitial creative including both display and video. Create and update methods are **not** supported for this creative type.", - "Responsive and expandable Lightbox creative. Create and update methods are **not** supported for this creative type.", - "Native app install creative. Create and update methods are **not** supported for this creative type.", - "Square native app install creative. Create and update methods are **not** supported for this creative type.", - "Audio creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Publisher hosted creative. Create and update methods are **not** supported for this creative type.", - "Native video creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Templated app install mobile video creative. Create and update methods are **not** supported for this creative type." - ], - "type": "string" - }, - "dimensions": { - "$ref": "Dimensions", - "description": "Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO`" - }, - "displayName": { - "description": "Required. The display name of the creative. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "dynamic": { - "description": "Output only. Indicates whether the creative is dynamic.", - "readOnly": true, - "type": "boolean" - }, - "entityStatus": { - "description": "Required. Controls whether or not the creative can serve. Accepted values are: * `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED` * `ENTITY_STATUS_PAUSED`", - "enum": [ - "ENTITY_STATUS_UNSPECIFIED", - "ENTITY_STATUS_ACTIVE", - "ENTITY_STATUS_ARCHIVED", - "ENTITY_STATUS_DRAFT", - "ENTITY_STATUS_PAUSED", - "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - ], - "enumDescriptions": [ - "Default value when status is not specified or is unknown in this version.", - "The entity is enabled to bid and spend budget.", - "The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", - "The entity is under draft. Bidding and budget spending are disabled.", - "Bidding and budget spending are paused for the entity.", - "The entity is scheduled for deletion." - ], - "type": "string" - }, - "exitEvents": { - "description": "Required. Exit events for this creative. An exit (also known as a click tag) is any area in your creative that someone can click or tap to open an advertiser's landing page. Every creative must include at least one exit. You can add an exit to your creative in any of the following ways: * Use Google Web Designer's tap area. * Define a JavaScript variable called \"clickTag\". * Use the Enabler (Enabler.exit()) to track exits in rich media formats.", - "items": { - "$ref": "ExitEvent" - }, - "type": "array" - }, - "expandOnHover": { - "description": "Optional. Indicates the creative will automatically expand on hover. Optional and only valid for third-party expandable creatives. Third-party expandable creatives are creatives with following hosting source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_EXPANDABLE`", - "type": "boolean" - }, - "expandingDirection": { - "description": "Optional. Specifies the expanding direction of the creative. Required and only valid for third-party expandable creatives. Third-party expandable creatives are creatives with following hosting source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_EXPANDABLE`", - "enum": [ - "EXPANDING_DIRECTION_UNSPECIFIED", - "EXPANDING_DIRECTION_NONE", - "EXPANDING_DIRECTION_UP", - "EXPANDING_DIRECTION_DOWN", - "EXPANDING_DIRECTION_LEFT", - "EXPANDING_DIRECTION_RIGHT", - "EXPANDING_DIRECTION_UP_AND_LEFT", - "EXPANDING_DIRECTION_UP_AND_RIGHT", - "EXPANDING_DIRECTION_DOWN_AND_LEFT", - "EXPANDING_DIRECTION_DOWN_AND_RIGHT", - "EXPANDING_DIRECTION_UP_OR_DOWN", - "EXPANDING_DIRECTION_LEFT_OR_RIGHT", - "EXPANDING_DIRECTION_ANY_DIAGONAL" - ], - "enumDescriptions": [ - "The expanding direction is not specified.", - "Does not expand in any direction.", - "Expands up.", - "Expands down.", - "Expands left.", - "Expands right.", - "Expands up and to the left side.", - "Expands up and to the right side.", - "Expands down and to the left side.", - "Expands down and to the right side.", - "Expands either up or down.", - "Expands to either the left or the right side.", - "Can expand in any diagonal direction." - ], - "type": "string" - }, - "hostingSource": { - "description": "Required. Indicates where the creative is hosted.", - "enum": [ - "HOSTING_SOURCE_UNSPECIFIED", - "HOSTING_SOURCE_CM", - "HOSTING_SOURCE_THIRD_PARTY", - "HOSTING_SOURCE_HOSTED", - "HOSTING_SOURCE_RICH_MEDIA" - ], - "enumDescriptions": [ - "Hosting source is not specified or is unknown in this version.", - "A creative synced from Campaign Manager 360. Create and update methods are **not** supported for this hosting type.", - "A creative hosted by a third-party ad server (3PAS). Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", - "A creative created in DV360 and hosted by Campaign Manager 360. Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", - "A rich media creative created in Studio and hosted by Campaign Manager 360. Create and update methods are **not** supported for this hosting type." - ], - "type": "string" - }, - "html5Video": { - "description": "Output only. Indicates the third-party VAST tag creative requires HTML5 Video support. Output only and only valid for third-party VAST tag creatives. Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_VIDEO`", - "readOnly": true, - "type": "boolean" - }, - "iasCampaignMonitoring": { - "description": "Indicates whether Integral Ad Science (IAS) campaign monitoring is enabled. To enable this for the creative, make sure the Advertiser.creative_config.ias_client_id has been set to your IAS client ID.", - "type": "boolean" - }, - "integrationCode": { - "description": "ID information used to link this creative to an external system. Must be UTF-8 encoded with a length of no more than 10,000 characters.", - "type": "string" - }, - "jsTrackerUrl": { - "description": "JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not supported. This field is only writeable in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "type": "string" - }, - "lineItemIds": { - "description": "Output only. The IDs of the line items this creative is associated with. To associate a creative to a line item, use LineItem.creative_ids instead.", - "items": { - "format": "int64", - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "mediaDuration": { - "description": "Output only. Media duration of the creative. Applicable when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_PUBLISHER_HOSTED`", - "format": "google-duration", - "readOnly": true, - "type": "string" - }, - "mp3Audio": { - "description": "Output only. Indicates the third-party audio creative supports MP3. Output only and only valid for third-party audio creatives. Third-party audio creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO`", - "readOnly": true, - "type": "boolean" - }, - "name": { - "description": "Output only. The resource name of the creative.", - "readOnly": true, - "type": "string" - }, - "notes": { - "description": "User notes for this creative. Must be UTF-8 encoded with a length of no more than 20,000 characters.", - "type": "string" - }, - "obaIcon": { - "$ref": "ObaIcon", - "description": "Specifies the OBA icon for a video creative. This field is only supported in following creative_type: * `CREATIVE_TYPE_VIDEO`" - }, - "oggAudio": { - "description": "Output only. Indicates the third-party audio creative supports OGG. Output only and only valid for third-party audio creatives. Third-party audio creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO`", - "readOnly": true, - "type": "boolean" - }, - "progressOffset": { - "$ref": "AudioVideoOffset", - "description": "Amount of time to play the video before counting a view. This field is required when skippable is true. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`" - }, - "requireHtml5": { - "description": "Optional. Indicates that the creative relies on HTML5 to render properly. Optional and only valid for third-party tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE`", - "type": "boolean" - }, - "requireMraid": { - "description": "Optional. Indicates that the creative requires MRAID (Mobile Rich Media Ad Interface Definitions system). Set this if the creative relies on mobile gestures for interactivity, such as swiping or tapping. Optional and only valid for third-party tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE`", - "type": "boolean" - }, - "requirePingForAttribution": { - "description": "Optional. Indicates that the creative will wait for a return ping for attribution. Only valid when using a Campaign Manager 360 tracking ad with a third-party ad server parameter and the ${DC_DBM_TOKEN} macro. Optional and only valid for third-party tag creatives or third-party VAST tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`", - "type": "boolean" - }, - "reviewStatus": { - "$ref": "ReviewStatusInfo", - "description": "Output only. The current status of the creative review process.", - "readOnly": true - }, - "skipOffset": { - "$ref": "AudioVideoOffset", - "description": "Amount of time to play the video before the skip button appears. This field is required when skippable is true. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`" - }, - "skippable": { - "description": "Whether the user can choose to skip a video creative. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`", - "type": "boolean" - }, - "thirdPartyTag": { - "description": "Optional. The original third-party tag used for the creative. Required and only valid for third-party tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE`", - "type": "string" - }, - "thirdPartyUrls": { - "description": "Tracking URLs from third parties to track interactions with a video creative. This field is only supported for the following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "items": { - "$ref": "ThirdPartyUrl" - }, - "type": "array" - }, - "timerEvents": { - "description": "Timer custom events for a rich media creative. Timers track the time during which a user views and interacts with a specified part of a rich media creative. A creative can have multiple timer events, each timed independently. Leave it empty or unset for creatives containing image assets only.", - "items": { - "$ref": "TimerEvent" - }, - "type": "array" - }, - "trackerUrls": { - "description": "Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with https (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros supported by Display & Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only writeable in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "items": { - "type": "string" - }, - "type": "array" - }, - "transcodes": { - "description": "Output only. Audio/Video transcodes. Display & Video 360 transcodes the main asset into a number of alternative versions that use different file formats or have different properties (resolution, audio bit rate, and video bit rate), each designed for specific video players or bandwidths. These transcodes give a publisher's system more options to choose from for each impression on your video and ensures that the appropriate file serves based on the viewer’s connection and screen size. This field is only supported in following creative_type: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_AUDIO`", - "items": { - "$ref": "Transcode" - }, - "readOnly": true, - "type": "array" - }, - "universalAdId": { - "$ref": "UniversalAdId", - "description": "Optional. An optional creative identifier provided by a registry that is unique across all platforms. Universal Ad ID is part of the VAST 4.0 standard. It can be modified after the creative is created. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`" - }, - "updateTime": { - "description": "Output only. The timestamp when the creative was last updated, either by the user or system (e.g. creative review). Assigned by the system.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "vastTagUrl": { - "description": "Optional. The URL of the VAST tag for a third-party VAST tag creative. Required and only valid for third-party VAST tag creatives. Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`", - "type": "string" - }, - "vpaid": { - "description": "Output only. Indicates the third-party VAST tag creative requires VPAID (Digital Video Player-Ad Interface). Output only and only valid for third-party VAST tag creatives. Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_VIDEO`", - "readOnly": true, - "type": "boolean" - } - }, - "type": "object" - }, - "CreativeConfig": { - "description": "Creative requirements configuration for the inventory source.", - "id": "CreativeConfig", - "properties": { - "creativeType": { - "description": "The type of creative that can be assigned to the inventory source. Only the following types are supported: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", - "enum": [ - "CREATIVE_TYPE_UNSPECIFIED", - "CREATIVE_TYPE_STANDARD", - "CREATIVE_TYPE_EXPANDABLE", - "CREATIVE_TYPE_VIDEO", - "CREATIVE_TYPE_NATIVE", - "CREATIVE_TYPE_TEMPLATED_APP_INSTALL", - "CREATIVE_TYPE_NATIVE_SITE_SQUARE", - "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL", - "CREATIVE_TYPE_LIGHTBOX", - "CREATIVE_TYPE_NATIVE_APP_INSTALL", - "CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE", - "CREATIVE_TYPE_AUDIO", - "CREATIVE_TYPE_PUBLISHER_HOSTED", - "CREATIVE_TYPE_NATIVE_VIDEO", - "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Standard display creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", - "Expandable creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_THIRD_PARTY`", - "Video creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", - "Native creative rendered by publishers with assets from advertiser. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Templated app install mobile creative (banner). Create and update methods are **not** supported for this creative type.", - "Square native creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Interstitial creative including both display and video. Create and update methods are **not** supported for this creative type.", - "Responsive and expandable Lightbox creative. Create and update methods are **not** supported for this creative type.", - "Native app install creative. Create and update methods are **not** supported for this creative type.", - "Square native app install creative. Create and update methods are **not** supported for this creative type.", - "Audio creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Publisher hosted creative. Create and update methods are **not** supported for this creative type.", - "Native video creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Templated app install mobile video creative. Create and update methods are **not** supported for this creative type." - ], - "type": "string" - }, - "displayCreativeConfig": { - "$ref": "InventorySourceDisplayCreativeConfig", - "description": "The configuration for display creatives. Applicable when creative_type is `CREATIVE_TYPE_STANDARD`." - }, - "videoCreativeConfig": { - "$ref": "InventorySourceVideoCreativeConfig", - "description": "The configuration for video creatives. Applicable when creative_type is `CREATIVE_TYPE_VIDEO`." - } - }, - "type": "object" - }, - "CustomBiddingAlgorithm": { - "description": "A single custom bidding algorithm.", - "id": "CustomBiddingAlgorithm", - "properties": { - "advertiserId": { - "description": "Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.", - "format": "int64", - "type": "string" - }, - "customBiddingAlgorithmId": { - "description": "Output only. The unique ID of the custom bidding algorithm. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "customBiddingAlgorithmState": { - "description": "Output only. The status of custom bidding algorithm.", - "enum": [ - "STATE_UNSPECIFIED", - "ENABLED", - "DORMANT", - "SUSPENDED" - ], - "enumDescriptions": [ - "State is not specified or is unknown in this version.", - "Algorithm is enabled, either recently used, currently used or scheduled to be used. The algorithm is actively scoring impressions.", - "Algorithm has not been used recently. Although the algorithm still acts as `ENABLED`, it will eventually be suspended if not used.", - "Algorithm is susepended from scoring impressions and doesn't have a serving model trained. If the algorithm is assigned to a line item or otherwise updated, it will switch back to the `ENABLED` state and require time to prepare the serving model again." - ], - "readOnly": true, - "type": "string" - }, - "customBiddingAlgorithmType": { - "description": "Required. Immutable. The type of custom bidding algorithm.", - "enum": [ - "CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED", - "SCRIPT_BASED", - "ADS_DATA_HUB_BASED", - "GOAL_BUILDER_BASED" - ], - "enumDescriptions": [ - "Algorithm type is not specified or is unknown in this version.", - "Algorithm generated through customer-uploaded custom bidding script files.", - "Algorithm created through Ads Data Hub product.", - "Algorithm created through goal builder in DV3 UI." - ], - "type": "string" - }, - "displayName": { - "description": "Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "entityStatus": { - "description": "Controls whether or not the custom bidding algorithm can be used as a bidding strategy. Accepted values are: * `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED`", - "enum": [ - "ENTITY_STATUS_UNSPECIFIED", - "ENTITY_STATUS_ACTIVE", - "ENTITY_STATUS_ARCHIVED", - "ENTITY_STATUS_DRAFT", - "ENTITY_STATUS_PAUSED", - "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - ], - "enumDescriptions": [ - "Default value when status is not specified or is unknown in this version.", - "The entity is enabled to bid and spend budget.", - "The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", - "The entity is under draft. Bidding and budget spending are disabled.", - "Bidding and budget spending are paused for the entity.", - "The entity is scheduled for deletion." - ], - "type": "string" - }, - "modelReadiness": { - "description": "Output only. The state of custom bidding model readiness for each advertiser who has access. This field may only include the state of the queried advertiser if the algorithm [`owner`](/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBiddingAlgorithm.FIELDS.oneof_owner) is a partner and is being retrieved using an advertiser [`accessor`](/display-video/api/reference/rest/v1/customBiddingAlgorithms/list#body.QUERY_PARAMETERS.oneof_accessor).", - "items": { - "$ref": "CustomBiddingModelReadinessState" - }, - "readOnly": true, - "type": "array" - }, - "name": { - "description": "Output only. The resource name of the custom bidding algorithm.", - "readOnly": true, - "type": "string" - }, - "partnerId": { - "description": "Immutable. The unique ID of the partner that owns the custom bidding algorithm.", - "format": "int64", - "type": "string" - }, - "sharedAdvertiserIds": { - "description": "The IDs of the advertisers who have access to this algorithm. If advertiser_id is set, this field will only consist of that value. This field will not be set if the algorithm [`owner`](/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBiddingAlgorithm.FIELDS.oneof_owner) is a partner and is being retrieved using an advertiser [`accessor`](/display-video/api/reference/rest/v1/customBiddingAlgorithms/list#body.QUERY_PARAMETERS.oneof_accessor).", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomBiddingModelReadinessState": { - "description": "The custom bidding algorithm model readiness state for a single shared advertiser.", - "id": "CustomBiddingModelReadinessState", - "properties": { - "advertiserId": { - "description": "The unique ID of the relevant advertiser.", - "format": "int64", - "type": "string" - }, - "readinessState": { - "description": "The readiness state of custom bidding model.", - "enum": [ - "READINESS_STATE_UNSPECIFIED", - "READINESS_STATE_ACTIVE", - "READINESS_STATE_INSUFFICIENT_DATA", - "READINESS_STATE_TRAINING", - "READINESS_STATE_NO_VALID_SCRIPT" - ], - "enumDescriptions": [ - "State is not specified or is unknown in this version.", - "The model is trained and ready for serving.", - "There is not enough data to train the serving model.", - "The model is training and not ready for serving.", - "A valid custom bidding script has not been provided with which to train the model. This state will only be applied to algorithms whose `custom_bidding_algorithm_type` is `SCRIPT_BASED`." - ], - "type": "string" - } - }, - "type": "object" - }, - "CustomBiddingScript": { - "description": "A single custom bidding script.", - "id": "CustomBiddingScript", - "properties": { - "active": { - "description": "Output only. Whether the script is currently being used for scoring by the parent algorithm.", - "readOnly": true, - "type": "boolean" - }, - "createTime": { - "description": "Output only. The time when the script was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "customBiddingAlgorithmId": { - "description": "Output only. The unique ID of the custom bidding algorithm the script belongs to.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "customBiddingScriptId": { - "description": "Output only. The unique ID of the custom bidding script.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "errors": { - "description": "Output only. Error details of a rejected custom bidding script. This field will only be populated when state is REJECTED.", - "items": { - "$ref": "ScriptError" - }, - "readOnly": true, - "type": "array" - }, - "name": { - "description": "Output only. The resource name of the custom bidding script.", - "readOnly": true, - "type": "string" - }, - "script": { - "$ref": "CustomBiddingScriptRef", - "description": "The reference to the uploaded script file." - }, - "state": { - "description": "Output only. The state of the custom bidding script.", - "enum": [ - "STATE_UNSPECIFIED", - "ACCEPTED", - "REJECTED", - "PENDING" - ], - "enumDescriptions": [ - "The script state is not specified or is unknown in this version.", - "The script has been accepted for scoring impressions.", - "The script has been rejected by backend pipelines. It may have errors.", - "The script is being processed for backend pipelines." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "CustomBiddingScriptRef": { - "description": "The reference to the uploaded custom bidding script file.", - "id": "CustomBiddingScriptRef", - "properties": { - "resourceName": { - "description": "A resource name to be used in media.download to Download the script files. Or media.upload to Upload the script files. Resource names have the format `customBiddingAlgorithms/{custom_bidding_algorithm_id}/scriptRef/{ref_id}`.", - "type": "string" - } - }, - "type": "object" - }, - "CustomList": { - "description": "Describes a custom list entity, such as a custom affinity or custom intent audience list.", - "id": "CustomList", - "properties": { - "customListId": { - "description": "Output only. The unique ID of the custom list. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "displayName": { - "description": "Output only. The display name of the custom list. .", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the custom list.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "CustomListGroup": { - "description": "Details of custom list group. All custom list targeting settings are logically ‘OR’ of each other.", - "id": "CustomListGroup", - "properties": { - "settings": { - "description": "Required. All custom list targeting settings in custom list group. Repeated settings with same id will be ignored.", - "items": { - "$ref": "CustomListTargetingSetting" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomListTargetingSetting": { - "description": "Details of custom list targeting setting.", - "id": "CustomListTargetingSetting", - "properties": { - "customListId": { - "description": "Required. Custom id of custom list targeting setting. This id is custom_list_id.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Date": { - "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", - "id": "Date", - "properties": { - "day": { - "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", - "format": "int32", - "type": "integer" - }, - "month": { - "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", - "format": "int32", - "type": "integer" - }, - "year": { - "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "DateRange": { - "description": "A date range.", - "id": "DateRange", - "properties": { - "endDate": { - "$ref": "Date", - "description": "The upper bound of the date range, inclusive. Must specify a positive value for `year`, `month`, and `day`." - }, - "startDate": { - "$ref": "Date", - "description": "The lower bound of the date range, inclusive. Must specify a positive value for `year`, `month`, and `day`." - } - }, - "type": "object" - }, - "DayAndTimeAssignedTargetingOptionDetails": { - "description": "Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by `start_hour` must be before the time represented by `end_hour`.", - "id": "DayAndTimeAssignedTargetingOptionDetails", - "properties": { - "dayOfWeek": { - "description": "Required. The day of the week for this day and time targeting setting.", - "enum": [ - "DAY_OF_WEEK_UNSPECIFIED", - "MONDAY", - "TUESDAY", - "WEDNESDAY", - "THURSDAY", - "FRIDAY", - "SATURDAY", - "SUNDAY" - ], - "enumDescriptions": [ - "The day of the week is unspecified.", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "endHour": { - "description": "Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).", - "format": "int32", - "type": "integer" - }, - "startHour": { - "description": "Required. The start hour for day and time targeting. Must be between 0 (start of day) and 23 (1 hour before end of day).", - "format": "int32", - "type": "integer" - }, - "timeZoneResolution": { - "description": "Required. The mechanism used to determine which timezone to use for this day and time targeting setting.", - "enum": [ - "TIME_ZONE_RESOLUTION_UNSPECIFIED", - "TIME_ZONE_RESOLUTION_END_USER", - "TIME_ZONE_RESOLUTION_ADVERTISER" - ], - "enumDescriptions": [ - "Time zone resolution is either unspecific or unknown.", - "Times are resolved in the time zone of the user that saw the ad.", - "Times are resolved in the time zone of the advertiser that served the ad." - ], - "type": "string" - } - }, - "type": "object" - }, - "DeactivateManualTriggerRequest": { - "description": "Request message for ManualTriggerService.DeactivateManualTrigger.", - "id": "DeactivateManualTriggerRequest", - "properties": {}, - "type": "object" - }, - "DeleteAssignedTargetingOptionsRequest": { - "description": "A request listing which assigned targeting options of a given targeting type should be deleted.", - "id": "DeleteAssignedTargetingOptionsRequest", - "properties": { - "assignedTargetingOptionIds": { - "description": "Required. The assigned targeting option IDs to delete.", - "items": { - "type": "string" - }, - "type": "array" - }, - "targetingType": { - "description": "Required. Identifies the type of this assigned targeting option.", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "type": "string" - } - }, - "type": "object" - }, - "DeviceMakeModelAssignedTargetingOptionDetails": { - "description": "Assigned device make and model targeting option details. This will be populated in the device_make_model_details field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.", - "id": "DeviceMakeModelAssignedTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the device make and model.", - "readOnly": true, - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted.", - "type": "boolean" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.", - "type": "string" - } - }, - "type": "object" - }, - "DeviceMakeModelTargetingOptionDetails": { - "description": "Represents a targetable device make and model. This will be populated in the device_make_model_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.", - "id": "DeviceMakeModelTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the device make and model.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "DeviceTypeAssignedTargetingOptionDetails": { - "description": "Targeting details for device type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_TYPE`.", - "id": "DeviceTypeAssignedTargetingOptionDetails", - "properties": { - "deviceType": { - "description": "Required. The display name of the device type.", - "enum": [ - "DEVICE_TYPE_UNSPECIFIED", - "DEVICE_TYPE_COMPUTER", - "DEVICE_TYPE_CONNECTED_TV", - "DEVICE_TYPE_SMART_PHONE", - "DEVICE_TYPE_TABLET" - ], - "enumDescriptions": [ - "Default value when device type is not specified in this version. This enum is a placeholder for default value and does not represent a real device type option.", - "Computer.", - "Connected TV.", - "Smart phone.", - "Tablet." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. ID of the device type.", - "type": "string" - } - }, - "type": "object" - }, - "DeviceTypeTargetingOptionDetails": { - "description": "Represents a targetable device type. This will be populated in the device_type_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_TYPE`.", - "id": "DeviceTypeTargetingOptionDetails", - "properties": { - "deviceType": { - "description": "Output only. The device type that is used to be targeted.", - "enum": [ - "DEVICE_TYPE_UNSPECIFIED", - "DEVICE_TYPE_COMPUTER", - "DEVICE_TYPE_CONNECTED_TV", - "DEVICE_TYPE_SMART_PHONE", - "DEVICE_TYPE_TABLET" - ], - "enumDescriptions": [ - "Default value when device type is not specified in this version. This enum is a placeholder for default value and does not represent a real device type option.", - "Computer.", - "Connected TV.", - "Smart phone.", - "Tablet." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "DigitalContentLabelAssignedTargetingOptionDetails": { - "description": "Targeting details for digital content label. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`.", - "id": "DigitalContentLabelAssignedTargetingOptionDetails", - "properties": { - "contentRatingTier": { - "description": "Output only. The display name of the digital content label rating tier.", - "enum": [ - "CONTENT_RATING_TIER_UNSPECIFIED", - "CONTENT_RATING_TIER_UNRATED", - "CONTENT_RATING_TIER_GENERAL", - "CONTENT_RATING_TIER_PARENTAL_GUIDANCE", - "CONTENT_RATING_TIER_TEENS", - "CONTENT_RATING_TIER_MATURE" - ], - "enumDescriptions": [ - "Content label is not specified in this version. This enum is a place holder for a default value and does not represent a real content rating.", - "Content that has not been labeled.", - "Content suitable for general audiences.", - "Content suitable for most audiences with parental guidance.", - "Content suitable for teen and older audiences.", - "Content suitable only for mature audiences." - ], - "readOnly": true, - "type": "string" - }, - "excludedTargetingOptionId": { - "description": "Required. ID of the digital content label to be EXCLUDED.", - "type": "string" - } - }, - "type": "object" - }, - "DigitalContentLabelTargetingOptionDetails": { - "description": "Represents a targetable digital content label rating tier. This will be populated in the digital_content_label_details field of the TargetingOption when targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`.", - "id": "DigitalContentLabelTargetingOptionDetails", - "properties": { - "contentRatingTier": { - "description": "Output only. An enum for the content label brand safety tiers.", - "enum": [ - "CONTENT_RATING_TIER_UNSPECIFIED", - "CONTENT_RATING_TIER_UNRATED", - "CONTENT_RATING_TIER_GENERAL", - "CONTENT_RATING_TIER_PARENTAL_GUIDANCE", - "CONTENT_RATING_TIER_TEENS", - "CONTENT_RATING_TIER_MATURE" - ], - "enumDescriptions": [ - "Content label is not specified in this version. This enum is a place holder for a default value and does not represent a real content rating.", - "Content that has not been labeled.", - "Content suitable for general audiences.", - "Content suitable for most audiences with parental guidance.", - "Content suitable for teen and older audiences.", - "Content suitable only for mature audiences." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Dimensions": { - "description": "Dimensions.", - "id": "Dimensions", - "properties": { - "heightPixels": { - "description": "The height in pixels.", - "format": "int32", - "type": "integer" - }, - "widthPixels": { - "description": "The width in pixels.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "DoubleVerify": { - "description": "Details of DoubleVerify settings.", - "id": "DoubleVerify", - "properties": { - "appStarRating": { - "$ref": "DoubleVerifyAppStarRating", - "description": "Avoid bidding on apps with the star ratings." - }, - "avoidedAgeRatings": { - "description": "Avoid bidding on apps with the age rating.", - "items": { - "enum": [ - "AGE_RATING_UNSPECIFIED", - "APP_AGE_RATE_UNKNOWN", - "APP_AGE_RATE_4_PLUS", - "APP_AGE_RATE_9_PLUS", - "APP_AGE_RATE_12_PLUS", - "APP_AGE_RATE_17_PLUS", - "APP_AGE_RATE_18_PLUS" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any age rating options.", - "Apps with unknown age rating.", - "Apps rated for Everyone (4+).", - "Apps rated for Everyone (9+).", - "Apps rated for Teens (12+).", - "Apps rated for Mature (17+).", - "Apps rated for Adults Only (18+)." - ], - "type": "string" - }, - "type": "array" - }, - "brandSafetyCategories": { - "$ref": "DoubleVerifyBrandSafetyCategories", - "description": "DV Brand Safety Controls." - }, - "customSegmentId": { - "description": "The custom segment ID provided by DoubleVerify. The ID must start with \"51\" and consist of eight digits. Custom segment ID cannot be specified along with any of the following fields: * brand_safety_categories * avoided_age_ratings * app_star_rating * fraud_invalid_traffic", - "format": "int64", - "type": "string" - }, - "displayViewability": { - "$ref": "DoubleVerifyDisplayViewability", - "description": "Display viewability settings (applicable to display line items only)." - }, - "fraudInvalidTraffic": { - "$ref": "DoubleVerifyFraudInvalidTraffic", - "description": "Avoid Sites and Apps with historical Fraud & IVT Rates." - }, - "videoViewability": { - "$ref": "DoubleVerifyVideoViewability", - "description": "Video viewability settings (applicable to video line items only)." - } - }, - "type": "object" - }, - "DoubleVerifyAppStarRating": { - "description": "Details of DoubleVerify star ratings settings.", - "id": "DoubleVerifyAppStarRating", - "properties": { - "avoidInsufficientStarRating": { - "description": "Avoid bidding on apps with insufficient star ratings.", - "type": "boolean" - }, - "avoidedStarRating": { - "description": "Avoid bidding on apps with the star ratings.", - "enum": [ - "APP_STAR_RATE_UNSPECIFIED", - "APP_STAR_RATE_1_POINT_5_LESS", - "APP_STAR_RATE_2_LESS", - "APP_STAR_RATE_2_POINT_5_LESS", - "APP_STAR_RATE_3_LESS", - "APP_STAR_RATE_3_POINT_5_LESS", - "APP_STAR_RATE_4_LESS", - "APP_STAR_RATE_4_POINT_5_LESS" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any app star rating options.", - "Official Apps with rating < 1.5 Stars.", - "Official Apps with rating < 2 Stars.", - "Official Apps with rating < 2.5 Stars.", - "Official Apps with rating < 3 Stars.", - "Official Apps with rating < 3.5 Stars.", - "Official Apps with rating < 4 Stars.", - "Official Apps with rating < 4.5 Stars." - ], - "type": "string" - } - }, - "type": "object" - }, - "DoubleVerifyBrandSafetyCategories": { - "description": "Settings for brand safety controls.", - "id": "DoubleVerifyBrandSafetyCategories", - "properties": { - "avoidUnknownBrandSafetyCategory": { - "description": "Unknown or unrateable.", - "type": "boolean" - }, - "avoidedHighSeverityCategories": { - "description": "Brand safety high severity avoidance categories.", - "items": { - "enum": [ - "HIGHER_SEVERITY_UNSPECIFIED", - "ADULT_CONTENT_PORNOGRAPHY", - "COPYRIGHT_INFRINGEMENT", - "SUBSTANCE_ABUSE", - "GRAPHIC_VIOLENCE_WEAPONS", - "HATE_PROFANITY", - "CRIMINAL_SKILLS", - "NUISANCE_INCENTIVIZED_MALWARE_CLUTTER" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any high severity categories.", - "Adult Content: Pornography, Mature Topics & Nudity.", - "Copyright Infringement.", - "Drugs/Alcohol/Controlled Substances: Substance Abuse.", - "Extreme Graphic/Explicit Violence/Weapons.", - "Hate/Profanity.", - "Illegal Activities: Criminal Skills.", - "Incentivized/Malware/Clutter." - ], - "type": "string" - }, - "type": "array" - }, - "avoidedMediumSeverityCategories": { - "description": "Brand safety medium severity avoidance categories.", - "items": { - "enum": [ - "MEDIUM_SEVERITY_UNSPECIFIED", - "AD_SERVERS", - "ADULT_CONTENT_SWIMSUIT", - "ALTERNATIVE_LIFESTYLES", - "CELEBRITY_GOSSIP", - "GAMBLING", - "OCCULT", - "SEX_EDUCATION", - "DISASTER_AVIATION", - "DISASTER_MAN_MADE", - "DISASTER_NATURAL", - "DISASTER_TERRORIST_EVENTS", - "DISASTER_VEHICLE", - "ALCOHOL", - "SMOKING", - "NEGATIVE_NEWS_FINANCIAL", - "NON_ENGLISH", - "PARKING_PAGE", - "UNMODERATED_UGC", - "INFLAMMATORY_POLITICS_AND_NEWS", - "NEGATIVE_NEWS_PHARMACEUTICAL" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any medium severity categories.", - "Ad Servers.", - "Adult Content: Swimsuit.", - "Controversial Subjects: Alternative Lifestyles.", - "Controversial Subjects: Celebrity Gossip.", - "Controversial Subjects: Gambling.", - "Controversial Subjects: Occult.", - "Controversial Subjects: Sex Education.", - "Disaster: Aviation.", - "Disaster: Man-made.", - "Disaster: Natural.", - "Disaster: Terrorist Events.", - "Disaster: Vehicle.", - "Drugs/Alcohol/Controlled Substances: Alcohol.", - "Drugs/Alcohol/Controlled Substances: Smoking.", - "Negative News: Financial.", - "Non-Std Content: Non-English.", - "Non-Std Content: Parking Page.", - "Unmoderated UGC: Forums, Images & Video.", - "Controversial Subjects: Inflammatory Politics and News.", - "Negative News: Pharmaceutical." - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "DoubleVerifyDisplayViewability": { - "description": "Details of DoubleVerify display viewability settings.", - "id": "DoubleVerifyDisplayViewability", - "properties": { - "iab": { - "description": "Target web and app inventory to maximize IAB viewable rate.", - "enum": [ - "IAB_VIEWED_RATE_UNSPECIFIED", - "IAB_VIEWED_RATE_80_PERCENT_HIGHER", - "IAB_VIEWED_RATE_75_PERCENT_HIGHER", - "IAB_VIEWED_RATE_70_PERCENT_HIGHER", - "IAB_VIEWED_RATE_65_PERCENT_HIGHER", - "IAB_VIEWED_RATE_60_PERCENT_HIGHER", - "IAB_VIEWED_RATE_55_PERCENT_HIGHER", - "IAB_VIEWED_RATE_50_PERCENT_HIGHER", - "IAB_VIEWED_RATE_40_PERCENT_HIGHER", - "IAB_VIEWED_RATE_30_PERCENT_HIGHER" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any IAB viewed rate options.", - "Target web and app inventory to maximize IAB viewable rate 80% or higher.", - "Target web and app inventory to maximize IAB viewable rate 75% or higher.", - "Target web and app inventory to maximize IAB viewable rate 70% or higher.", - "Target web and app inventory to maximize IAB viewable rate 65% or higher.", - "Target web and app inventory to maximize IAB viewable rate 60% or higher.", - "Target web and app inventory to maximize IAB viewable rate 55% or higher.", - "Target web and app inventory to maximize IAB viewable rate 50% or higher.", - "Target web and app inventory to maximize IAB viewable rate 40% or higher.", - "Target web and app inventory to maximize IAB viewable rate 30% or higher." - ], - "type": "string" - }, - "viewableDuring": { - "description": "Target web and app inventory to maximize 100% viewable duration.", - "enum": [ - "AVERAGE_VIEW_DURATION_UNSPECIFIED", - "AVERAGE_VIEW_DURATION_5_SEC", - "AVERAGE_VIEW_DURATION_10_SEC", - "AVERAGE_VIEW_DURATION_15_SEC" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any average view duration options.", - "Target web and app inventory to maximize 100% viewable duration 5 seconds or more.", - "Target web and app inventory to maximize 100% viewable duration 10 seconds or more.", - "Target web and app inventory to maximize 100% viewable duration 15 seconds or more." - ], - "type": "string" - } - }, - "type": "object" - }, - "DoubleVerifyFraudInvalidTraffic": { - "description": "DoubleVerify Fraud & Invalid Traffic settings.", - "id": "DoubleVerifyFraudInvalidTraffic", - "properties": { - "avoidInsufficientOption": { - "description": "Insufficient Historical Fraud & IVT Stats.", - "type": "boolean" - }, - "avoidedFraudOption": { - "description": "Avoid Sites and Apps with historical Fraud & IVT.", - "enum": [ - "FRAUD_UNSPECIFIED", - "AD_IMPRESSION_FRAUD_100", - "AD_IMPRESSION_FRAUD_50", - "AD_IMPRESSION_FRAUD_25", - "AD_IMPRESSION_FRAUD_10", - "AD_IMPRESSION_FRAUD_8", - "AD_IMPRESSION_FRAUD_6", - "AD_IMPRESSION_FRAUD_4", - "AD_IMPRESSION_FRAUD_2" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any fraud and invalid traffic options.", - "100% Fraud & IVT.", - "50% or Higher Fraud & IVT.", - "25% or Higher Fraud & IVT.", - "10% or Higher Fraud & IVT.", - "8% or Higher Fraud & IVT.", - "6% or Higher Fraud & IVT.", - "4% or Higher Fraud & IVT.", - "2% or Higher Fraud & IVT." - ], - "type": "string" - } - }, - "type": "object" - }, - "DoubleVerifyVideoViewability": { - "description": "Details of DoubleVerify video viewability settings.", - "id": "DoubleVerifyVideoViewability", - "properties": { - "playerImpressionRate": { - "description": "Target inventory to maximize impressions with 400x300 or greater player size.", - "enum": [ - "PLAYER_SIZE_400X300_UNSPECIFIED", - "PLAYER_SIZE_400X300_95", - "PLAYER_SIZE_400X300_70", - "PLAYER_SIZE_400X300_25", - "PLAYER_SIZE_400X300_5" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any impressions options.", - "Sites with 95%+ of impressions.", - "Sites with 70%+ of impressions.", - "Sites with 25%+ of impressions.", - "Sites with 5%+ of impressions." - ], - "type": "string" - }, - "videoIab": { - "description": "Target web inventory to maximize IAB viewable rate.", - "enum": [ - "VIDEO_IAB_UNSPECIFIED", - "IAB_VIEWABILITY_80_PERCENT_HIGHER", - "IAB_VIEWABILITY_75_PERCENT_HIGHER", - "IAB_VIEWABILITY_70_PERCENT_HIGHER", - "IAB_VIEWABILITY_65_PERCENT_HIHGER", - "IAB_VIEWABILITY_60_PERCENT_HIGHER", - "IAB_VIEWABILITY_55_PERCENT_HIHGER", - "IAB_VIEWABILITY_50_PERCENT_HIGHER", - "IAB_VIEWABILITY_40_PERCENT_HIHGER", - "IAB_VIEWABILITY_30_PERCENT_HIHGER" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any video IAB viewable rate options.", - "Target web and app inventory to maximize IAB viewable rate 80% or higher.", - "Target web and app inventory to maximize IAB viewable rate 75% or higher.", - "Target web and app inventory to maximize IAB viewable rate 70% or higher.", - "Target web and app inventory to maximize IAB viewable rate 65% or higher.", - "Target web and app inventory to maximize IAB viewable rate 60% or higher.", - "Target web and app inventory to maximize IAB viewable rate 55% or higher.", - "Target web and app inventory to maximize IAB viewable rate 50% or higher.", - "Target web and app inventory to maximize IAB viewable rate 40% or higher.", - "Target web and app inventory to maximize IAB viewable rate 30% or higher." - ], - "type": "string" - }, - "videoViewableRate": { - "description": "Target web inventory to maximize fully viewable rate.", - "enum": [ - "VIDEO_VIEWABLE_RATE_UNSPECIFIED", - "VIEWED_PERFORMANCE_40_PERCENT_HIGHER", - "VIEWED_PERFORMANCE_35_PERCENT_HIGHER", - "VIEWED_PERFORMANCE_30_PERCENT_HIGHER", - "VIEWED_PERFORMANCE_25_PERCENT_HIGHER", - "VIEWED_PERFORMANCE_20_PERCENT_HIGHER", - "VIEWED_PERFORMANCE_10_PERCENT_HIGHER" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any video viewable rate options.", - "Target web inventory to maximize fully viewable rate 40% or higher.", - "Target web inventory to maximize fully viewable rate 35% or higher.", - "Target web inventory to maximize fully viewable rate 30% or higher.", - "Target web inventory to maximize fully viewable rate 25% or higher.", - "Target web inventory to maximize fully viewable rate 20% or higher.", - "Target web inventory to maximize fully viewable rate 10% or higher." - ], - "type": "string" - } - }, - "type": "object" - }, - "EditCustomerMatchMembersRequest": { - "description": "Request message for FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.", - "id": "EditCustomerMatchMembersRequest", - "properties": { - "addedContactInfoList": { - "$ref": "ContactInfoList", - "description": "Input only. A list of contact information to define the members to be added." - }, - "addedMobileDeviceIdList": { - "$ref": "MobileDeviceIdList", - "description": "Input only. A list of mobile device IDs to define the members to be added." - }, - "advertiserId": { - "description": "Required. The ID of the owner advertiser of the updated Customer Match FirstAndThirdPartyAudience.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "EditCustomerMatchMembersResponse": { - "description": "The response of FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.", - "id": "EditCustomerMatchMembersResponse", - "properties": { - "firstAndThirdPartyAudienceId": { - "description": "Required. The ID of the updated Customer Match FirstAndThirdPartyAudience.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "EditGuaranteedOrderReadAccessorsRequest": { - "description": "Request message for GuaranteedOrderService.EditGuaranteedOrderReadAccessors.", - "id": "EditGuaranteedOrderReadAccessorsRequest", - "properties": { - "addedAdvertisers": { - "description": "The advertisers to add as read accessors to the guaranteed order.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "partnerId": { - "description": "Required. The partner context in which the change is being made.", - "format": "int64", - "type": "string" - }, - "readAccessInherited": { - "description": "Whether to give all advertisers of the read/write accessor partner read access to the guaranteed order. Only applicable if read_write_partner_id is set in the guaranteed order.", - "type": "boolean" - }, - "removedAdvertisers": { - "description": "The advertisers to remove as read accessors to the guaranteed order.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EditGuaranteedOrderReadAccessorsResponse": { - "id": "EditGuaranteedOrderReadAccessorsResponse", - "properties": { - "readAccessInherited": { - "description": "Whether all advertisers of read_write_partner_id have read access to the guaranteed order.", - "type": "boolean" - }, - "readAdvertiserIds": { - "description": "The IDs of advertisers with read access to the guaranteed order.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EditInventorySourceReadWriteAccessorsRequest": { - "description": "Request message for InventorySourceService.EditInventorySourceReadWriteAccessors.", - "id": "EditInventorySourceReadWriteAccessorsRequest", - "properties": { - "advertisersUpdate": { - "$ref": "EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate", - "description": "The advertisers to add or remove from the list of advertisers that have read/write access to the inventory source. This change will remove an existing partner read/write accessor." - }, - "assignPartner": { - "description": "Set the partner context as read/write accessor of the inventory source. This will remove all other current read/write advertiser accessors.", - "type": "boolean" - }, - "partnerId": { - "description": "Required. The partner context by which the accessors change is being made.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate": { - "description": "Update to the list of advertisers with read/write access to the inventory source.", - "id": "EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate", - "properties": { - "addedAdvertisers": { - "description": "The advertisers to add.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "removedAdvertisers": { - "description": "The advertisers to remove.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "EnvironmentAssignedTargetingOptionDetails": { - "description": "Assigned environment targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_ENVIRONMENT`.", - "id": "EnvironmentAssignedTargetingOptionDetails", - "properties": { - "environment": { - "description": "Required. The serving environment.", - "enum": [ - "ENVIRONMENT_UNSPECIFIED", - "ENVIRONMENT_WEB_OPTIMIZED", - "ENVIRONMENT_WEB_NOT_OPTIMIZED", - "ENVIRONMENT_APP" - ], - "enumDescriptions": [ - "Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option.", - "Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option.", - "Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option.", - "Target inventory displayed in apps." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_ENVIRONMENT` (e.g., \"508010\" for targeting the `ENVIRONMENT_WEB_OPTIMIZED` option).", - "type": "string" - } - }, - "type": "object" - }, - "EnvironmentTargetingOptionDetails": { - "description": "Represents a targetable environment. This will be populated in the environment_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_ENVIRONMENT`.", - "id": "EnvironmentTargetingOptionDetails", - "properties": { - "environment": { - "description": "Output only. The serving environment.", - "enum": [ - "ENVIRONMENT_UNSPECIFIED", - "ENVIRONMENT_WEB_OPTIMIZED", - "ENVIRONMENT_WEB_NOT_OPTIMIZED", - "ENVIRONMENT_APP" - ], - "enumDescriptions": [ - "Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option.", - "Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option.", - "Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option.", - "Target inventory displayed in apps." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ExchangeAssignedTargetingOptionDetails": { - "description": "Details for assigned exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_EXCHANGE`.", - "id": "ExchangeAssignedTargetingOptionDetails", - "properties": { - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_EXCHANGE`.", - "type": "string" - } - }, - "type": "object" - }, - "ExchangeConfig": { - "description": "Settings that control which exchanges are enabled for a partner.", - "id": "ExchangeConfig", - "properties": { - "enabledExchanges": { - "description": "All enabled exchanges in the partner. Duplicate enabled exchanges will be ignored.", - "items": { - "$ref": "ExchangeConfigEnabledExchange" - }, - "type": "array" - } - }, - "type": "object" - }, - "ExchangeConfigEnabledExchange": { - "description": "An enabled exchange in the partner.", - "id": "ExchangeConfigEnabledExchange", - "properties": { - "exchange": { - "description": "The enabled exchange.", - "enum": [ - "EXCHANGE_UNSPECIFIED", - "EXCHANGE_GOOGLE_AD_MANAGER", - "EXCHANGE_APPNEXUS", - "EXCHANGE_BRIGHTROLL", - "EXCHANGE_ADFORM", - "EXCHANGE_ADMETA", - "EXCHANGE_ADMIXER", - "EXCHANGE_ADSMOGO", - "EXCHANGE_ADSWIZZ", - "EXCHANGE_BIDSWITCH", - "EXCHANGE_BRIGHTROLL_DISPLAY", - "EXCHANGE_CADREON", - "EXCHANGE_DAILYMOTION", - "EXCHANGE_FIVE", - "EXCHANGE_FLUCT", - "EXCHANGE_FREEWHEEL", - "EXCHANGE_GENIEE", - "EXCHANGE_GUMGUM", - "EXCHANGE_IMOBILE", - "EXCHANGE_IBILLBOARD", - "EXCHANGE_IMPROVE_DIGITAL", - "EXCHANGE_INDEX", - "EXCHANGE_KARGO", - "EXCHANGE_MICROAD", - "EXCHANGE_MOPUB", - "EXCHANGE_NEND", - "EXCHANGE_ONE_BY_AOL_DISPLAY", - "EXCHANGE_ONE_BY_AOL_MOBILE", - "EXCHANGE_ONE_BY_AOL_VIDEO", - "EXCHANGE_OOYALA", - "EXCHANGE_OPENX", - "EXCHANGE_PERMODO", - "EXCHANGE_PLATFORMONE", - "EXCHANGE_PLATFORMID", - "EXCHANGE_PUBMATIC", - "EXCHANGE_PULSEPOINT", - "EXCHANGE_REVENUEMAX", - "EXCHANGE_RUBICON", - "EXCHANGE_SMARTCLIP", - "EXCHANGE_SMARTRTB", - "EXCHANGE_SMARTSTREAMTV", - "EXCHANGE_SOVRN", - "EXCHANGE_SPOTXCHANGE", - "EXCHANGE_STROER", - "EXCHANGE_TEADSTV", - "EXCHANGE_TELARIA", - "EXCHANGE_TVN", - "EXCHANGE_UNITED", - "EXCHANGE_YIELDLAB", - "EXCHANGE_YIELDMO", - "EXCHANGE_UNRULYX", - "EXCHANGE_OPEN8", - "EXCHANGE_TRITON", - "EXCHANGE_TRIPLELIFT", - "EXCHANGE_TABOOLA", - "EXCHANGE_INMOBI", - "EXCHANGE_SMAATO", - "EXCHANGE_AJA", - "EXCHANGE_SUPERSHIP", - "EXCHANGE_NEXSTAR_DIGITAL", - "EXCHANGE_WAZE", - "EXCHANGE_SOUNDCAST", - "EXCHANGE_SHARETHROUGH", - "EXCHANGE_FYBER", - "EXCHANGE_RED_FOR_PUBLISHERS", - "EXCHANGE_MEDIANET", - "EXCHANGE_TAPJOY", - "EXCHANGE_VISTAR", - "EXCHANGE_DAX", - "EXCHANGE_JCD", - "EXCHANGE_PLACE_EXCHANGE", - "EXCHANGE_APPLOVIN", - "EXCHANGE_CONNATIX", - "EXCHANGE_RESET_DIGITAL", - "EXCHANGE_HIVESTACK" - ], - "enumDescriptions": [ - "Exchange is not specified or is unknown in this version.", - "Google Ad Manager.", - "AppNexus.", - "BrightRoll Exchange for Video from Yahoo!.", - "Adform.", - "Admeta.", - "Admixer.", - "AdsMogo.", - "AdsWizz.", - "BidSwitch.", - "BrightRoll Exchange for Display from Yahoo!.", - "Cadreon.", - "Dailymotion.", - "Five.", - "Fluct.", - "FreeWheel SSP.", - "Geniee.", - "GumGum.", - "i-mobile.", - "iBILLBOARD.", - "Improve Digital.", - "Index Exchange.", - "Kargo.", - "MicroAd.", - "MoPub.", - "Nend.", - "ONE by AOL: Display Market Place.", - "ONE by AOL: Mobile.", - "ONE by AOL: Video.", - "Ooyala.", - "OpenX.", - "Permodo.", - "Platform One.", - "PlatformId.", - "PubMatic.", - "PulsePoint.", - "RevenueMax.", - "Rubicon.", - "SmartClip.", - "SmartRTB+.", - "SmartstreamTv.", - "Sovrn.", - "SpotXchange.", - "Ströer SSP.", - "TeadsTv.", - "Telaria.", - "TVN.", - "United.", - "Yieldlab.", - "Yieldmo.", - "UnrulyX.", - "Open8.", - "Triton.", - "TripleLift.", - "Taboola.", - "InMobi.", - "Smaato.", - "Aja.", - "Supership.", - "Nexstar Digital.", - "Waze.", - "SoundCast.", - "Sharethrough.", - "Fyber.", - "Red For Publishers.", - "Media.net.", - "Tapjoy.", - "Vistar.", - "DAX.", - "JCD.", - "Place Exchange.", - "AppLovin.", - "Connatix.", - "Reset Digital.", - "Hivestack." - ], - "type": "string" - }, - "googleAdManagerAgencyId": { - "description": "Output only. Agency ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the enabled exchange.", - "readOnly": true, - "type": "string" - }, - "googleAdManagerBuyerNetworkId": { - "description": "Output only. Network ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the enabled exchange.", - "readOnly": true, - "type": "string" - }, - "seatId": { - "description": "Output only. Seat ID of the enabled exchange.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ExchangeReviewStatus": { - "description": "Exchange review status for the creative.", - "id": "ExchangeReviewStatus", - "properties": { - "exchange": { - "description": "The exchange reviewing the creative.", - "enum": [ - "EXCHANGE_UNSPECIFIED", - "EXCHANGE_GOOGLE_AD_MANAGER", - "EXCHANGE_APPNEXUS", - "EXCHANGE_BRIGHTROLL", - "EXCHANGE_ADFORM", - "EXCHANGE_ADMETA", - "EXCHANGE_ADMIXER", - "EXCHANGE_ADSMOGO", - "EXCHANGE_ADSWIZZ", - "EXCHANGE_BIDSWITCH", - "EXCHANGE_BRIGHTROLL_DISPLAY", - "EXCHANGE_CADREON", - "EXCHANGE_DAILYMOTION", - "EXCHANGE_FIVE", - "EXCHANGE_FLUCT", - "EXCHANGE_FREEWHEEL", - "EXCHANGE_GENIEE", - "EXCHANGE_GUMGUM", - "EXCHANGE_IMOBILE", - "EXCHANGE_IBILLBOARD", - "EXCHANGE_IMPROVE_DIGITAL", - "EXCHANGE_INDEX", - "EXCHANGE_KARGO", - "EXCHANGE_MICROAD", - "EXCHANGE_MOPUB", - "EXCHANGE_NEND", - "EXCHANGE_ONE_BY_AOL_DISPLAY", - "EXCHANGE_ONE_BY_AOL_MOBILE", - "EXCHANGE_ONE_BY_AOL_VIDEO", - "EXCHANGE_OOYALA", - "EXCHANGE_OPENX", - "EXCHANGE_PERMODO", - "EXCHANGE_PLATFORMONE", - "EXCHANGE_PLATFORMID", - "EXCHANGE_PUBMATIC", - "EXCHANGE_PULSEPOINT", - "EXCHANGE_REVENUEMAX", - "EXCHANGE_RUBICON", - "EXCHANGE_SMARTCLIP", - "EXCHANGE_SMARTRTB", - "EXCHANGE_SMARTSTREAMTV", - "EXCHANGE_SOVRN", - "EXCHANGE_SPOTXCHANGE", - "EXCHANGE_STROER", - "EXCHANGE_TEADSTV", - "EXCHANGE_TELARIA", - "EXCHANGE_TVN", - "EXCHANGE_UNITED", - "EXCHANGE_YIELDLAB", - "EXCHANGE_YIELDMO", - "EXCHANGE_UNRULYX", - "EXCHANGE_OPEN8", - "EXCHANGE_TRITON", - "EXCHANGE_TRIPLELIFT", - "EXCHANGE_TABOOLA", - "EXCHANGE_INMOBI", - "EXCHANGE_SMAATO", - "EXCHANGE_AJA", - "EXCHANGE_SUPERSHIP", - "EXCHANGE_NEXSTAR_DIGITAL", - "EXCHANGE_WAZE", - "EXCHANGE_SOUNDCAST", - "EXCHANGE_SHARETHROUGH", - "EXCHANGE_FYBER", - "EXCHANGE_RED_FOR_PUBLISHERS", - "EXCHANGE_MEDIANET", - "EXCHANGE_TAPJOY", - "EXCHANGE_VISTAR", - "EXCHANGE_DAX", - "EXCHANGE_JCD", - "EXCHANGE_PLACE_EXCHANGE", - "EXCHANGE_APPLOVIN", - "EXCHANGE_CONNATIX", - "EXCHANGE_RESET_DIGITAL", - "EXCHANGE_HIVESTACK" - ], - "enumDescriptions": [ - "Exchange is not specified or is unknown in this version.", - "Google Ad Manager.", - "AppNexus.", - "BrightRoll Exchange for Video from Yahoo!.", - "Adform.", - "Admeta.", - "Admixer.", - "AdsMogo.", - "AdsWizz.", - "BidSwitch.", - "BrightRoll Exchange for Display from Yahoo!.", - "Cadreon.", - "Dailymotion.", - "Five.", - "Fluct.", - "FreeWheel SSP.", - "Geniee.", - "GumGum.", - "i-mobile.", - "iBILLBOARD.", - "Improve Digital.", - "Index Exchange.", - "Kargo.", - "MicroAd.", - "MoPub.", - "Nend.", - "ONE by AOL: Display Market Place.", - "ONE by AOL: Mobile.", - "ONE by AOL: Video.", - "Ooyala.", - "OpenX.", - "Permodo.", - "Platform One.", - "PlatformId.", - "PubMatic.", - "PulsePoint.", - "RevenueMax.", - "Rubicon.", - "SmartClip.", - "SmartRTB+.", - "SmartstreamTv.", - "Sovrn.", - "SpotXchange.", - "Ströer SSP.", - "TeadsTv.", - "Telaria.", - "TVN.", - "United.", - "Yieldlab.", - "Yieldmo.", - "UnrulyX.", - "Open8.", - "Triton.", - "TripleLift.", - "Taboola.", - "InMobi.", - "Smaato.", - "Aja.", - "Supership.", - "Nexstar Digital.", - "Waze.", - "SoundCast.", - "Sharethrough.", - "Fyber.", - "Red For Publishers.", - "Media.net.", - "Tapjoy.", - "Vistar.", - "DAX.", - "JCD.", - "Place Exchange.", - "AppLovin.", - "Connatix.", - "Reset Digital.", - "Hivestack." - ], - "type": "string" - }, - "status": { - "description": "Status of the exchange review.", - "enum": [ - "REVIEW_STATUS_UNSPECIFIED", - "REVIEW_STATUS_APPROVED", - "REVIEW_STATUS_REJECTED", - "REVIEW_STATUS_PENDING" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "The creative is approved.", - "The creative is rejected.", - "The creative is pending review." - ], - "type": "string" - } - }, - "type": "object" - }, - "ExchangeTargetingOptionDetails": { - "description": "Represents a targetable exchange. This will be populated in the exchange_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_EXCHANGE`.", - "id": "ExchangeTargetingOptionDetails", - "properties": { - "exchange": { - "description": "Output only. The type of exchange.", - "enum": [ - "EXCHANGE_UNSPECIFIED", - "EXCHANGE_GOOGLE_AD_MANAGER", - "EXCHANGE_APPNEXUS", - "EXCHANGE_BRIGHTROLL", - "EXCHANGE_ADFORM", - "EXCHANGE_ADMETA", - "EXCHANGE_ADMIXER", - "EXCHANGE_ADSMOGO", - "EXCHANGE_ADSWIZZ", - "EXCHANGE_BIDSWITCH", - "EXCHANGE_BRIGHTROLL_DISPLAY", - "EXCHANGE_CADREON", - "EXCHANGE_DAILYMOTION", - "EXCHANGE_FIVE", - "EXCHANGE_FLUCT", - "EXCHANGE_FREEWHEEL", - "EXCHANGE_GENIEE", - "EXCHANGE_GUMGUM", - "EXCHANGE_IMOBILE", - "EXCHANGE_IBILLBOARD", - "EXCHANGE_IMPROVE_DIGITAL", - "EXCHANGE_INDEX", - "EXCHANGE_KARGO", - "EXCHANGE_MICROAD", - "EXCHANGE_MOPUB", - "EXCHANGE_NEND", - "EXCHANGE_ONE_BY_AOL_DISPLAY", - "EXCHANGE_ONE_BY_AOL_MOBILE", - "EXCHANGE_ONE_BY_AOL_VIDEO", - "EXCHANGE_OOYALA", - "EXCHANGE_OPENX", - "EXCHANGE_PERMODO", - "EXCHANGE_PLATFORMONE", - "EXCHANGE_PLATFORMID", - "EXCHANGE_PUBMATIC", - "EXCHANGE_PULSEPOINT", - "EXCHANGE_REVENUEMAX", - "EXCHANGE_RUBICON", - "EXCHANGE_SMARTCLIP", - "EXCHANGE_SMARTRTB", - "EXCHANGE_SMARTSTREAMTV", - "EXCHANGE_SOVRN", - "EXCHANGE_SPOTXCHANGE", - "EXCHANGE_STROER", - "EXCHANGE_TEADSTV", - "EXCHANGE_TELARIA", - "EXCHANGE_TVN", - "EXCHANGE_UNITED", - "EXCHANGE_YIELDLAB", - "EXCHANGE_YIELDMO", - "EXCHANGE_UNRULYX", - "EXCHANGE_OPEN8", - "EXCHANGE_TRITON", - "EXCHANGE_TRIPLELIFT", - "EXCHANGE_TABOOLA", - "EXCHANGE_INMOBI", - "EXCHANGE_SMAATO", - "EXCHANGE_AJA", - "EXCHANGE_SUPERSHIP", - "EXCHANGE_NEXSTAR_DIGITAL", - "EXCHANGE_WAZE", - "EXCHANGE_SOUNDCAST", - "EXCHANGE_SHARETHROUGH", - "EXCHANGE_FYBER", - "EXCHANGE_RED_FOR_PUBLISHERS", - "EXCHANGE_MEDIANET", - "EXCHANGE_TAPJOY", - "EXCHANGE_VISTAR", - "EXCHANGE_DAX", - "EXCHANGE_JCD", - "EXCHANGE_PLACE_EXCHANGE", - "EXCHANGE_APPLOVIN", - "EXCHANGE_CONNATIX", - "EXCHANGE_RESET_DIGITAL", - "EXCHANGE_HIVESTACK" - ], - "enumDescriptions": [ - "Exchange is not specified or is unknown in this version.", - "Google Ad Manager.", - "AppNexus.", - "BrightRoll Exchange for Video from Yahoo!.", - "Adform.", - "Admeta.", - "Admixer.", - "AdsMogo.", - "AdsWizz.", - "BidSwitch.", - "BrightRoll Exchange for Display from Yahoo!.", - "Cadreon.", - "Dailymotion.", - "Five.", - "Fluct.", - "FreeWheel SSP.", - "Geniee.", - "GumGum.", - "i-mobile.", - "iBILLBOARD.", - "Improve Digital.", - "Index Exchange.", - "Kargo.", - "MicroAd.", - "MoPub.", - "Nend.", - "ONE by AOL: Display Market Place.", - "ONE by AOL: Mobile.", - "ONE by AOL: Video.", - "Ooyala.", - "OpenX.", - "Permodo.", - "Platform One.", - "PlatformId.", - "PubMatic.", - "PulsePoint.", - "RevenueMax.", - "Rubicon.", - "SmartClip.", - "SmartRTB+.", - "SmartstreamTv.", - "Sovrn.", - "SpotXchange.", - "Ströer SSP.", - "TeadsTv.", - "Telaria.", - "TVN.", - "United.", - "Yieldlab.", - "Yieldmo.", - "UnrulyX.", - "Open8.", - "Triton.", - "TripleLift.", - "Taboola.", - "InMobi.", - "Smaato.", - "Aja.", - "Supership.", - "Nexstar Digital.", - "Waze.", - "SoundCast.", - "Sharethrough.", - "Fyber.", - "Red For Publishers.", - "Media.net.", - "Tapjoy.", - "Vistar.", - "DAX.", - "JCD.", - "Place Exchange.", - "AppLovin.", - "Connatix.", - "Reset Digital.", - "Hivestack." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ExitEvent": { - "description": "Exit event of the creative.", - "id": "ExitEvent", - "properties": { - "name": { - "description": "The name of the click tag of the exit event. The name must be unique within one creative. Leave it empty or unset for creatives containing image assets only.", - "type": "string" - }, - "reportingName": { - "description": "The name used to identify this event in reports. Leave it empty or unset for creatives containing image assets only.", - "type": "string" - }, - "type": { - "description": "Required. The type of the exit event.", - "enum": [ - "EXIT_EVENT_TYPE_UNSPECIFIED", - "EXIT_EVENT_TYPE_DEFAULT", - "EXIT_EVENT_TYPE_BACKUP" - ], - "enumDescriptions": [ - "Exit event type is not specified or is unknown in this version.", - "The exit event is the default one.", - "The exit event is a backup exit event. There could be multiple backup exit events in a creative." - ], - "type": "string" - }, - "url": { - "description": "Required. The click through URL of the exit event. This is required when type is: * `EXIT_EVENT_TYPE_DEFAULT` * `EXIT_EVENT_TYPE_BACKUP`", - "type": "string" - } - }, - "type": "object" - }, - "FirstAndThirdPartyAudience": { - "description": "Describes a first or third party audience list used for targeting. First party audiences are created via usage of client data. Third party audiences are provided by Third Party data providers and can only be licensed to customers.", - "id": "FirstAndThirdPartyAudience", - "properties": { - "activeDisplayAudienceSize": { - "description": "Output only. The estimated audience size for the Display network in the past month. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "appId": { - "description": "The app_id matches with the type of the mobile_device_ids being uploaded. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`", - "type": "string" - }, - "audienceSource": { - "description": "Output only. The source of the audience.", - "enum": [ - "AUDIENCE_SOURCE_UNSPECIFIED", - "DISPLAY_VIDEO_360", - "CAMPAIGN_MANAGER", - "AD_MANAGER", - "SEARCH_ADS_360", - "YOUTUBE", - "ADS_DATA_HUB" - ], - "enumDescriptions": [ - "Default value when audience source is not specified or is unknown.", - "Originated from Display & Video 360.", - "Originated from Campaign Manager 360.", - "Originated from Google Ad Manager.", - "Originated from Search Ads 360.", - "Originated from Youtube.", - "Originated from Ads Data Hub." - ], - "readOnly": true, - "type": "string" - }, - "audienceType": { - "description": "The type of the audience.", - "enum": [ - "AUDIENCE_TYPE_UNSPECIFIED", - "CUSTOMER_MATCH_CONTACT_INFO", - "CUSTOMER_MATCH_DEVICE_ID", - "CUSTOMER_MATCH_USER_ID", - "ACTIVITY_BASED", - "FREQUENCY_CAP", - "TAG_BASED", - "YOUTUBE_USERS", - "LICENSED" - ], - "enumDeprecated": [ - false, - false, - false, - false, - true, - true, - false, - false, - false - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown.", - "Audience was generated through matching customers to known contact information.", - "Audience was generated through matching customers to known Mobile device IDs.", - "Audience was generated through matching customers to known User IDs.", - "Audience was created based on campaign activity.", - "Audience was created based on excluding the number of impressions they were served.", - "Audience was created based on custom variables attached to pixel.", - "Audience was created based on past interactions with videos, YouTube ads, or YouTube channel.", - "Subtype of third party audience type." - ], - "type": "string" - }, - "contactInfoList": { - "$ref": "ContactInfoList", - "description": "Input only. A list of contact information to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_CONTACT_INFO`" - }, - "description": { - "description": "The user-provided description of the audience. Only applicable to first party audiences.", - "type": "string" - }, - "displayAudienceSize": { - "description": "Output only. The estimated audience size for the Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "displayDesktopAudienceSize": { - "description": "Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "displayMobileAppAudienceSize": { - "description": "Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "displayMobileWebAudienceSize": { - "description": "Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "displayName": { - "description": "The display name of the first and third party audience.", - "type": "string" - }, - "firstAndThirdPartyAudienceId": { - "description": "Output only. The unique ID of the first and third party audience. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "firstAndThirdPartyAudienceType": { - "description": "Whether the audience is a first or third party audience.", - "enum": [ - "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_UNSPECIFIED", - "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_FIRST_PARTY", - "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_THIRD_PARTY" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown.", - "Audience that is created via usage of client data.", - "Audience that is provided by Third Party data providers." - ], - "type": "string" - }, - "gmailAudienceSize": { - "description": "Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "membershipDurationDays": { - "description": "The duration in days that an entry remains in the audience after the qualifying event. If the audience has no expiration, set the value of this field to 10000. Otherwise, the set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", - "format": "int64", - "type": "string" - }, - "mobileDeviceIdList": { - "$ref": "MobileDeviceIdList", - "description": "Input only. A list of mobile device IDs to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`" - }, - "name": { - "description": "Output only. The resource name of the first and third party audience.", - "readOnly": true, - "type": "string" - }, - "youtubeAudienceSize": { - "description": "Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", - "format": "int64", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "FirstAndThirdPartyAudienceGroup": { - "description": "Details of first and third party audience group. All first and third party audience targeting settings are logically ‘OR’ of each other.", - "id": "FirstAndThirdPartyAudienceGroup", - "properties": { - "settings": { - "description": "Required. All first and third party audience targeting settings in first and third party audience group. Repeated settings with same id are not allowed.", - "items": { - "$ref": "FirstAndThirdPartyAudienceTargetingSetting" - }, - "type": "array" - } - }, - "type": "object" - }, - "FirstAndThirdPartyAudienceTargetingSetting": { - "description": "Details of first and third party audience targeting setting.", - "id": "FirstAndThirdPartyAudienceTargetingSetting", - "properties": { - "firstAndThirdPartyAudienceId": { - "description": "Required. First and third party audience id of the first and third party audience targeting setting. This id is first_and_third_party_audience_id.", - "format": "int64", - "type": "string" - }, - "recency": { - "description": "The recency of the first and third party audience targeting setting. Only applicable to first party audiences, otherwise will be ignored. For more info, refer to https://support.google.com/displayvideo/answer/2949947#recency When unspecified, no recency limit will be used.", - "enum": [ - "RECENCY_NO_LIMIT", - "RECENCY_1_MINUTE", - "RECENCY_5_MINUTES", - "RECENCY_10_MINUTES", - "RECENCY_15_MINUTES", - "RECENCY_30_MINUTES", - "RECENCY_1_HOUR", - "RECENCY_2_HOURS", - "RECENCY_3_HOURS", - "RECENCY_6_HOURS", - "RECENCY_12_HOURS", - "RECENCY_1_DAY", - "RECENCY_2_DAYS", - "RECENCY_3_DAYS", - "RECENCY_5_DAYS", - "RECENCY_7_DAYS", - "RECENCY_10_DAYS", - "RECENCY_14_DAYS", - "RECENCY_15_DAYS", - "RECENCY_21_DAYS", - "RECENCY_28_DAYS", - "RECENCY_30_DAYS", - "RECENCY_40_DAYS", - "RECENCY_45_DAYS", - "RECENCY_60_DAYS", - "RECENCY_90_DAYS", - "RECENCY_120_DAYS", - "RECENCY_180_DAYS", - "RECENCY_270_DAYS", - "RECENCY_365_DAYS" - ], - "enumDescriptions": [ - "No limit of recency.", - "Recency is 1 minute.", - "Recency is 5 minutes.", - "Recency is 10 minutes.", - "Recency is 15 minutes.", - "Recency is 30 minutes.", - "Recency is 1 hour.", - "Recency is 2 hours.", - "Recency is 3 hours.", - "Recency is 6 hours.", - "Recency is 12 hours.", - "Recency is 1 day.", - "Recency is 2 days.", - "Recency is 3 days.", - "Recency is 5 days.", - "Recency is 7 days.", - "Recency is 10 days.", - "Recency is 14 days.", - "Recency is 15 days.", - "Recency is 21 days.", - "Recency is 28 days.", - "Recency is 30 days.", - "Recency is 40 days.", - "Recency is 45 days.", - "Recency is 60 days.", - "Recency is 90 days.", - "Recency is 120 days.", - "Recency is 180 days.", - "Recency is 270 days.", - "Recency is 365 days." - ], - "type": "string" - } - }, - "type": "object" - }, - "FixedBidStrategy": { - "description": "A strategy that uses a fixed bidding price.", - "id": "FixedBidStrategy", - "properties": { - "bidAmountMicros": { - "description": "The fixed bid amount, in micros of the advertiser's currency. For insertion order entity, bid_amount_micros should be set as 0. For line item entity, bid_amount_micros must be greater than or equal to billable unit of the given currency and smaller than or equal to the upper limit 1000000000. For example, 1500000 represents 1.5 standard units of the currency.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "FloodlightGroup": { - "description": "A single Floodlight group.", - "id": "FloodlightGroup", - "properties": { - "activeViewConfig": { - "$ref": "ActiveViewVideoViewabilityMetricConfig", - "description": "The Active View video viewability metric configuration for the Floodlight group." - }, - "customVariables": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "User-defined custom variables owned by the Floodlight group. Use custom Floodlight variables to create reporting data that is tailored to your unique business needs. Custom Floodlight variables use the keys `U1=`, `U2=`, and so on, and can take any values that you choose to pass to them. You can use them to track virtually any type of data that you collect about your customers, such as the genre of movie that a customer purchases, the country to which the item is shipped, and so on. Custom Floodlight variables may not be used to pass any data that could be used or recognized as personally identifiable information (PII). Example: `custom_variables { fields { \"U1\": value { number_value: 123.4 }, \"U2\": value { string_value: \"MyVariable2\" }, \"U3\": value { string_value: \"MyVariable3\" } } }` Acceptable values for keys are \"U1\" through \"U100\", inclusive. String values must be less than 64 characters long, and cannot contain the following characters: `\"<>`.", - "type": "object" - }, - "displayName": { - "description": "Required. The display name of the Floodlight group.", - "type": "string" - }, - "floodlightGroupId": { - "description": "Output only. The unique ID of the Floodlight group. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "lookbackWindow": { - "$ref": "LookbackWindow", - "description": "Required. The lookback window for the Floodlight group. Both click_days and impression_days are required. Acceptable values for both are `0` to `90`, inclusive." - }, - "name": { - "description": "Output only. The resource name of the Floodlight group.", - "readOnly": true, - "type": "string" - }, - "webTagType": { - "description": "Required. The web tag type enabled for the Floodlight group.", - "enum": [ - "WEB_TAG_TYPE_UNSPECIFIED", - "WEB_TAG_TYPE_NONE", - "WEB_TAG_TYPE_IMAGE", - "WEB_TAG_TYPE_DYNAMIC" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "No tag type.", - "Image tag.", - "Dynamic tag." - ], - "type": "string" - } - }, - "type": "object" - }, - "FrequencyCap": { - "description": "Settings that control the number of times a user may be shown with the same ad during a given time period.", - "id": "FrequencyCap", - "properties": { - "maxImpressions": { - "description": "The maximum number of times a user may be shown the same ad during this period. Must be greater than 0. Required when unlimited is `false` and max_views is not set.", - "format": "int32", - "type": "integer" - }, - "timeUnit": { - "description": "The time unit in which the frequency cap will be applied. Required when unlimited is `false`.", - "enum": [ - "TIME_UNIT_UNSPECIFIED", - "TIME_UNIT_LIFETIME", - "TIME_UNIT_MONTHS", - "TIME_UNIT_WEEKS", - "TIME_UNIT_DAYS", - "TIME_UNIT_HOURS", - "TIME_UNIT_MINUTES" - ], - "enumDescriptions": [ - "Time unit value is not specified or is unknown in this version.", - "The frequency cap will be applied to the whole life time of the line item.", - "The frequency cap will be applied to a number of months.", - "The frequency cap will be applied to a number of weeks.", - "The frequency cap will be applied to a number of days.", - "The frequency cap will be applied to a number of hours.", - "The frequency cap will be applied to a number of minutes." - ], - "type": "string" - }, - "timeUnitCount": { - "description": "The number of time_unit the frequency cap will last. Required when unlimited is `false`. The following restrictions apply based on the value of time_unit: * `TIME_UNIT_LIFETIME` - this field is output only and will default to 1 * `TIME_UNIT_MONTHS` - must be between 1 and 2 * `TIME_UNIT_WEEKS` - must be between 1 and 4 * `TIME_UNIT_DAYS` - must be between 1 and 6 * `TIME_UNIT_HOURS` - must be between 1 and 23 * `TIME_UNIT_MINUTES` - must be between 1 and 59", - "format": "int32", - "type": "integer" - }, - "unlimited": { - "description": "Whether unlimited frequency capping is applied. When this field is set to `true`, the remaining frequency cap fields are not applicable.", - "type": "boolean" - } - }, - "type": "object" - }, - "GenderAssignedTargetingOptionDetails": { - "description": "Details for assigned gender targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_GENDER`.", - "id": "GenderAssignedTargetingOptionDetails", - "properties": { - "gender": { - "description": "Required. The gender of the audience.", - "enum": [ - "GENDER_UNSPECIFIED", - "GENDER_MALE", - "GENDER_FEMALE", - "GENDER_UNKNOWN" - ], - "enumDescriptions": [ - "Default value when gender is not specified in this version. This enum is a place holder for default value and does not represent a real gender option.", - "The audience gender is male.", - "The audience gender is female.", - "The audience gender is unknown." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_GENDER`.", - "type": "string" - } - }, - "type": "object" - }, - "GenderTargetingOptionDetails": { - "description": "Represents a targetable gender. This will be populated in the gender_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_GENDER`.", - "id": "GenderTargetingOptionDetails", - "properties": { - "gender": { - "description": "Output only. The gender of an audience.", - "enum": [ - "GENDER_UNSPECIFIED", - "GENDER_MALE", - "GENDER_FEMALE", - "GENDER_UNKNOWN" - ], - "enumDescriptions": [ - "Default value when gender is not specified in this version. This enum is a place holder for default value and does not represent a real gender option.", - "The audience gender is male.", - "The audience gender is female.", - "The audience gender is unknown." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GenerateDefaultLineItemRequest": { - "description": "Request message for LineItemService.GenerateDefaultLineItem.", - "id": "GenerateDefaultLineItemRequest", - "properties": { - "displayName": { - "description": "Required. The display name of the line item. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "insertionOrderId": { - "description": "Required. The unique ID of the insertion order that the line item belongs to.", - "format": "int64", - "type": "string" - }, - "lineItemType": { - "description": "Required. The type of the line item.", - "enum": [ - "LINE_ITEM_TYPE_UNSPECIFIED", - "LINE_ITEM_TYPE_DISPLAY_DEFAULT", - "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", - "LINE_ITEM_TYPE_VIDEO_DEFAULT", - "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL", - "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY", - "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY", - "LINE_ITEM_TYPE_AUDIO_DEFAULT", - "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP", - "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", - "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version. Line items of this type and their targeting cannot be created or updated using the API.", - "Image, HTML5, native, or rich media ads.", - "Display ads that drive installs of an app.", - "Video ads sold on a CPM basis for a variety of environments.", - "Video ads that drive installs of an app.", - "Display ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", - "Video ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", - "RTB Audio ads sold for a variety of environments.", - "Over-the-top ads present in OTT insertion orders. This type is only applicable to line items with an insertion order of insertion_order_type `OVER_THE_TOP`.", - "Display ads served on digital-out-of-home inventory. Line items of this type and their targeting cannot be created or updated using the API.", - "Video ads served on digital-out-of-home inventory. Line items of this type and their targeting cannot be created or updated using the API." - ], - "type": "string" - }, - "mobileApp": { - "$ref": "MobileApp", - "description": "The mobile app promoted by the line item. This is applicable only when line_item_type is either `LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL` or `LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL`." - } - }, - "type": "object" - }, - "GeoRegionAssignedTargetingOptionDetails": { - "description": "Details for assigned geographic region targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_GEO_REGION`.", - "id": "GeoRegionAssignedTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the geographic region (e.g., \"Ontario, Canada\").", - "readOnly": true, - "type": "string" - }, - "geoRegionType": { - "description": "Output only. The type of geographic region targeting.", - "enum": [ - "GEO_REGION_TYPE_UNKNOWN", - "GEO_REGION_TYPE_OTHER", - "GEO_REGION_TYPE_COUNTRY", - "GEO_REGION_TYPE_REGION", - "GEO_REGION_TYPE_TERRITORY", - "GEO_REGION_TYPE_PROVINCE", - "GEO_REGION_TYPE_STATE", - "GEO_REGION_TYPE_PREFECTURE", - "GEO_REGION_TYPE_GOVERNORATE", - "GEO_REGION_TYPE_CANTON", - "GEO_REGION_TYPE_UNION_TERRITORY", - "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", - "GEO_REGION_TYPE_DMA_REGION", - "GEO_REGION_TYPE_METRO", - "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", - "GEO_REGION_TYPE_COUNTY", - "GEO_REGION_TYPE_MUNICIPALITY", - "GEO_REGION_TYPE_CITY", - "GEO_REGION_TYPE_POSTAL_CODE", - "GEO_REGION_TYPE_DEPARTMENT", - "GEO_REGION_TYPE_AIRPORT", - "GEO_REGION_TYPE_TV_REGION", - "GEO_REGION_TYPE_OKRUG", - "GEO_REGION_TYPE_BOROUGH", - "GEO_REGION_TYPE_CITY_REGION", - "GEO_REGION_TYPE_ARRONDISSEMENT", - "GEO_REGION_TYPE_NEIGHBORHOOD", - "GEO_REGION_TYPE_UNIVERSITY", - "GEO_REGION_TYPE_DISTRICT" - ], - "enumDescriptions": [ - "The geographic region type is unknown.", - "The geographic region type is other.", - "The geographic region is a country.", - "The geographic region type is region.", - "The geographic region is a territory.", - "The geographic region is a province.", - "The geographic region is a state.", - "The geographic region is a prefecture.", - "The geographic region is a governorate.", - "The geographic region is a canton.", - "The geographic region is a union territory.", - "The geographic region is an autonomous community.", - "The geographic region is a designated market area (DMA) region.", - "The geographic region type is metro.", - "The geographic region is a congressional district.", - "The geographic region is a county.", - "The geographic region is a municipality.", - "The geographic region is a city.", - "The geographic region targeting type is postal code.", - "The geographic region targeting type is department.", - "The geographic region is an airport.", - "The geographic region is a TV region.", - "The geographic region is an okrug.", - "The geographic region is a borough.", - "The geographic region is a city region.", - "The geographic region is an arrondissement.", - "The geographic region is a neighborhood.", - "The geographic region is a university.", - "The geographic region is a district." - ], - "readOnly": true, - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted.", - "type": "boolean" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_GEO_REGION`.", - "type": "string" - } - }, - "type": "object" - }, - "GeoRegionSearchTerms": { - "description": "Search terms for geo region targeting options.", - "id": "GeoRegionSearchTerms", - "properties": { - "geoRegionQuery": { - "description": "The search query for the desired geo region. The query can be a prefix, e.g. \"New Yor\", \"Seattle\", \"USA\", etc.", - "type": "string" - } - }, - "type": "object" - }, - "GeoRegionTargetingOptionDetails": { - "description": "Represents a targetable geographic region. This will be populated in the geo_region_details field when targeting_type is `TARGETING_TYPE_GEO_REGION`.", - "id": "GeoRegionTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the geographic region (e.g., \"Ontario, Canada\").", - "readOnly": true, - "type": "string" - }, - "geoRegionType": { - "description": "Output only. The type of geographic region targeting.", - "enum": [ - "GEO_REGION_TYPE_UNKNOWN", - "GEO_REGION_TYPE_OTHER", - "GEO_REGION_TYPE_COUNTRY", - "GEO_REGION_TYPE_REGION", - "GEO_REGION_TYPE_TERRITORY", - "GEO_REGION_TYPE_PROVINCE", - "GEO_REGION_TYPE_STATE", - "GEO_REGION_TYPE_PREFECTURE", - "GEO_REGION_TYPE_GOVERNORATE", - "GEO_REGION_TYPE_CANTON", - "GEO_REGION_TYPE_UNION_TERRITORY", - "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", - "GEO_REGION_TYPE_DMA_REGION", - "GEO_REGION_TYPE_METRO", - "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", - "GEO_REGION_TYPE_COUNTY", - "GEO_REGION_TYPE_MUNICIPALITY", - "GEO_REGION_TYPE_CITY", - "GEO_REGION_TYPE_POSTAL_CODE", - "GEO_REGION_TYPE_DEPARTMENT", - "GEO_REGION_TYPE_AIRPORT", - "GEO_REGION_TYPE_TV_REGION", - "GEO_REGION_TYPE_OKRUG", - "GEO_REGION_TYPE_BOROUGH", - "GEO_REGION_TYPE_CITY_REGION", - "GEO_REGION_TYPE_ARRONDISSEMENT", - "GEO_REGION_TYPE_NEIGHBORHOOD", - "GEO_REGION_TYPE_UNIVERSITY", - "GEO_REGION_TYPE_DISTRICT" - ], - "enumDescriptions": [ - "The geographic region type is unknown.", - "The geographic region type is other.", - "The geographic region is a country.", - "The geographic region type is region.", - "The geographic region is a territory.", - "The geographic region is a province.", - "The geographic region is a state.", - "The geographic region is a prefecture.", - "The geographic region is a governorate.", - "The geographic region is a canton.", - "The geographic region is a union territory.", - "The geographic region is an autonomous community.", - "The geographic region is a designated market area (DMA) region.", - "The geographic region type is metro.", - "The geographic region is a congressional district.", - "The geographic region is a county.", - "The geographic region is a municipality.", - "The geographic region is a city.", - "The geographic region targeting type is postal code.", - "The geographic region targeting type is department.", - "The geographic region is an airport.", - "The geographic region is a TV region.", - "The geographic region is an okrug.", - "The geographic region is a borough.", - "The geographic region is a city region.", - "The geographic region is an arrondissement.", - "The geographic region is a neighborhood.", - "The geographic region is a university.", - "The geographic region is a district." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleAudience": { - "description": "Describes a Google audience resource. Includes Google audience lists.", - "id": "GoogleAudience", - "properties": { - "displayName": { - "description": "Output only. The display name of the Google audience. .", - "readOnly": true, - "type": "string" - }, - "googleAudienceId": { - "description": "Output only. The unique ID of the Google audience. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "googleAudienceType": { - "description": "Output only. The type of Google audience. .", - "enum": [ - "GOOGLE_AUDIENCE_TYPE_UNSPECIFIED", - "GOOGLE_AUDIENCE_TYPE_AFFINITY", - "GOOGLE_AUDIENCE_TYPE_IN_MARKET", - "GOOGLE_AUDIENCE_TYPE_INSTALLED_APPS", - "GOOGLE_AUDIENCE_TYPE_NEW_MOBILE_DEVICES", - "GOOGLE_AUDIENCE_TYPE_LIFE_EVENT", - "GOOGLE_AUDIENCE_TYPE_EXTENDED_DEMOGRAPHIC" - ], - "enumDeprecated": [ - false, - false, - false, - true, - true, - false, - false - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown.", - "Affinity type Google audience.", - "In-Market type Google audience.", - "Installed-Apps type Google audience.", - "New-Mobile-Devices type Google audience.", - "Life-Event type Google audience.", - "Extended-Demographic type Google audience." - ], - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the google audience.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleAudienceGroup": { - "description": "Details of Google audience group. All Google audience targeting settings are logically ‘OR’ of each other.", - "id": "GoogleAudienceGroup", - "properties": { - "settings": { - "description": "Required. All Google audience targeting settings in Google audience group. Repeated settings with same id will be ignored.", - "items": { - "$ref": "GoogleAudienceTargetingSetting" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleAudienceTargetingSetting": { - "description": "Details of Google audience targeting setting.", - "id": "GoogleAudienceTargetingSetting", - "properties": { - "googleAudienceId": { - "description": "Required. Google audience id of the Google audience targeting setting. This id is google_audience_id.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleBytestreamMedia": { - "description": "Media resource.", - "id": "GoogleBytestreamMedia", - "properties": { - "resourceName": { - "description": "Name of the media resource.", - "type": "string" - } - }, - "type": "object" - }, - "GuaranteedOrder": { - "description": "A guaranteed order. Guaranteed orders are parent entity of guaranteed inventory sources. When creating a guaranteed inventory source, a guaranteed order ID must be assigned to the inventory source.", - "id": "GuaranteedOrder", - "properties": { - "defaultAdvertiserId": { - "description": "Output only. The ID of default advertiser of the guaranteed order. The default advertiser is either the read_write_advertiser_id or, if that is not set, the first advertiser listed in read_advertiser_ids. Otherwise, there is no default advertiser.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "defaultCampaignId": { - "description": "The ID of the default campaign that is assigned to the guaranteed order. The default campaign must belong to the default advertiser.", - "format": "int64", - "type": "string" - }, - "displayName": { - "description": "Required. The display name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "exchange": { - "description": "Required. Immutable. The exchange where the guaranteed order originated.", - "enum": [ - "EXCHANGE_UNSPECIFIED", - "EXCHANGE_GOOGLE_AD_MANAGER", - "EXCHANGE_APPNEXUS", - "EXCHANGE_BRIGHTROLL", - "EXCHANGE_ADFORM", - "EXCHANGE_ADMETA", - "EXCHANGE_ADMIXER", - "EXCHANGE_ADSMOGO", - "EXCHANGE_ADSWIZZ", - "EXCHANGE_BIDSWITCH", - "EXCHANGE_BRIGHTROLL_DISPLAY", - "EXCHANGE_CADREON", - "EXCHANGE_DAILYMOTION", - "EXCHANGE_FIVE", - "EXCHANGE_FLUCT", - "EXCHANGE_FREEWHEEL", - "EXCHANGE_GENIEE", - "EXCHANGE_GUMGUM", - "EXCHANGE_IMOBILE", - "EXCHANGE_IBILLBOARD", - "EXCHANGE_IMPROVE_DIGITAL", - "EXCHANGE_INDEX", - "EXCHANGE_KARGO", - "EXCHANGE_MICROAD", - "EXCHANGE_MOPUB", - "EXCHANGE_NEND", - "EXCHANGE_ONE_BY_AOL_DISPLAY", - "EXCHANGE_ONE_BY_AOL_MOBILE", - "EXCHANGE_ONE_BY_AOL_VIDEO", - "EXCHANGE_OOYALA", - "EXCHANGE_OPENX", - "EXCHANGE_PERMODO", - "EXCHANGE_PLATFORMONE", - "EXCHANGE_PLATFORMID", - "EXCHANGE_PUBMATIC", - "EXCHANGE_PULSEPOINT", - "EXCHANGE_REVENUEMAX", - "EXCHANGE_RUBICON", - "EXCHANGE_SMARTCLIP", - "EXCHANGE_SMARTRTB", - "EXCHANGE_SMARTSTREAMTV", - "EXCHANGE_SOVRN", - "EXCHANGE_SPOTXCHANGE", - "EXCHANGE_STROER", - "EXCHANGE_TEADSTV", - "EXCHANGE_TELARIA", - "EXCHANGE_TVN", - "EXCHANGE_UNITED", - "EXCHANGE_YIELDLAB", - "EXCHANGE_YIELDMO", - "EXCHANGE_UNRULYX", - "EXCHANGE_OPEN8", - "EXCHANGE_TRITON", - "EXCHANGE_TRIPLELIFT", - "EXCHANGE_TABOOLA", - "EXCHANGE_INMOBI", - "EXCHANGE_SMAATO", - "EXCHANGE_AJA", - "EXCHANGE_SUPERSHIP", - "EXCHANGE_NEXSTAR_DIGITAL", - "EXCHANGE_WAZE", - "EXCHANGE_SOUNDCAST", - "EXCHANGE_SHARETHROUGH", - "EXCHANGE_FYBER", - "EXCHANGE_RED_FOR_PUBLISHERS", - "EXCHANGE_MEDIANET", - "EXCHANGE_TAPJOY", - "EXCHANGE_VISTAR", - "EXCHANGE_DAX", - "EXCHANGE_JCD", - "EXCHANGE_PLACE_EXCHANGE", - "EXCHANGE_APPLOVIN", - "EXCHANGE_CONNATIX", - "EXCHANGE_RESET_DIGITAL", - "EXCHANGE_HIVESTACK" - ], - "enumDescriptions": [ - "Exchange is not specified or is unknown in this version.", - "Google Ad Manager.", - "AppNexus.", - "BrightRoll Exchange for Video from Yahoo!.", - "Adform.", - "Admeta.", - "Admixer.", - "AdsMogo.", - "AdsWizz.", - "BidSwitch.", - "BrightRoll Exchange for Display from Yahoo!.", - "Cadreon.", - "Dailymotion.", - "Five.", - "Fluct.", - "FreeWheel SSP.", - "Geniee.", - "GumGum.", - "i-mobile.", - "iBILLBOARD.", - "Improve Digital.", - "Index Exchange.", - "Kargo.", - "MicroAd.", - "MoPub.", - "Nend.", - "ONE by AOL: Display Market Place.", - "ONE by AOL: Mobile.", - "ONE by AOL: Video.", - "Ooyala.", - "OpenX.", - "Permodo.", - "Platform One.", - "PlatformId.", - "PubMatic.", - "PulsePoint.", - "RevenueMax.", - "Rubicon.", - "SmartClip.", - "SmartRTB+.", - "SmartstreamTv.", - "Sovrn.", - "SpotXchange.", - "Ströer SSP.", - "TeadsTv.", - "Telaria.", - "TVN.", - "United.", - "Yieldlab.", - "Yieldmo.", - "UnrulyX.", - "Open8.", - "Triton.", - "TripleLift.", - "Taboola.", - "InMobi.", - "Smaato.", - "Aja.", - "Supership.", - "Nexstar Digital.", - "Waze.", - "SoundCast.", - "Sharethrough.", - "Fyber.", - "Red For Publishers.", - "Media.net.", - "Tapjoy.", - "Vistar.", - "DAX.", - "JCD.", - "Place Exchange.", - "AppLovin.", - "Connatix.", - "Reset Digital.", - "Hivestack." - ], - "type": "string" - }, - "guaranteedOrderId": { - "description": "Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format `{exchange}-{legacy_guaranteed_order_id}`.", - "readOnly": true, - "type": "string" - }, - "legacyGuaranteedOrderId": { - "description": "Output only. The legacy ID of the guaranteed order. Assigned by the original exchange. The legacy ID is unique within one exchange, but is not guaranteed to be unique across all guaranteed orders. This ID is used in SDF and UI.", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the guaranteed order.", - "readOnly": true, - "type": "string" - }, - "publisherName": { - "description": "Required. The publisher name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "readAccessInherited": { - "description": "Whether all advertisers of read_write_partner_id have read access to the guaranteed order. Only applicable if read_write_partner_id is set. If True, overrides read_advertiser_ids.", - "type": "boolean" - }, - "readAdvertiserIds": { - "description": "The IDs of advertisers with read access to the guaranteed order. This field must not include the advertiser assigned to read_write_advertiser_id if it is set. All advertisers in this field must belong to read_write_partner_id or the same partner as read_write_advertiser_id.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "readWriteAdvertiserId": { - "description": "The advertiser with read/write access to the guaranteed order. This is also the default advertiser of the guaranteed order.", - "format": "int64", - "type": "string" - }, - "readWritePartnerId": { - "description": "The partner with read/write access to the guaranteed order.", - "format": "int64", - "type": "string" - }, - "status": { - "$ref": "GuaranteedOrderStatus", - "description": "The status settings of the guaranteed order." - }, - "updateTime": { - "description": "Output only. The timestamp when the guaranteed order was last updated. Assigned by the system.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GuaranteedOrderStatus": { - "description": "The status settings of the guaranteed order.", - "id": "GuaranteedOrderStatus", - "properties": { - "configStatus": { - "description": "Output only. The configuration status of the guaranteed order. Acceptable values are `PENDING` and `COMPLETED`. A guaranteed order must be configured (fill in the required fields, choose creatives, and select a default campaign) before it can serve. Currently the configuration action can only be performed via UI.", - "enum": [ - "GUARANTEED_ORDER_CONFIG_STATUS_UNSPECIFIED", - "PENDING", - "COMPLETED" - ], - "enumDescriptions": [ - "The approval status is not specified or is unknown in this version.", - "The beginning state of a guaranteed order. The guaranteed order in this state needs to be configured before it can serve.", - "The state after the buyer configures a guaranteed order." - ], - "readOnly": true, - "type": "string" - }, - "entityPauseReason": { - "description": "The user-provided reason for pausing this guaranteed order. Must be UTF-8 encoded with a maximum length of 100 bytes. Only applicable when entity_status is set to `ENTITY_STATUS_PAUSED`.", - "type": "string" - }, - "entityStatus": { - "description": "Whether or not the guaranteed order is servable. Acceptable values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value is `ENTITY_STATUS_ACTIVE`.", - "enum": [ - "ENTITY_STATUS_UNSPECIFIED", - "ENTITY_STATUS_ACTIVE", - "ENTITY_STATUS_ARCHIVED", - "ENTITY_STATUS_DRAFT", - "ENTITY_STATUS_PAUSED", - "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - ], - "enumDescriptions": [ - "Default value when status is not specified or is unknown in this version.", - "The entity is enabled to bid and spend budget.", - "The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", - "The entity is under draft. Bidding and budget spending are disabled.", - "Bidding and budget spending are paused for the entity.", - "The entity is scheduled for deletion." - ], - "type": "string" - } - }, - "type": "object" - }, - "HouseholdIncomeAssignedTargetingOptionDetails": { - "description": "Details for assigned household income targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`.", - "id": "HouseholdIncomeAssignedTargetingOptionDetails", - "properties": { - "householdIncome": { - "description": "Required. The household income of the audience.", - "enum": [ - "HOUSEHOLD_INCOME_UNSPECIFIED", - "HOUSEHOLD_INCOME_UNKNOWN", - "HOUSEHOLD_INCOME_LOWER_50_PERCENT", - "HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT", - "HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT", - "HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT", - "HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT", - "HOUSEHOLD_INCOME_TOP_10_PERCENT" - ], - "enumDescriptions": [ - "Default value when household income is not specified in this version. This enum is a placeholder for default value and does not represent a real household income option.", - "The household income of the audience is unknown.", - "The audience is in the lower 50% of U.S. household incomes.", - "The audience is in the top 41-50% of U.S. household incomes.", - "The audience is in the top 31-40% of U.S. household incomes.", - "The audience is in the top 21-30% of U.S. household incomes.", - "The audience is in the top 11-20% of U.S. household incomes.", - "The audience is in the top 10% of U.S. household incomes." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_HOUSEHOLD_INCOME`.", - "type": "string" - } - }, - "type": "object" - }, - "HouseholdIncomeTargetingOptionDetails": { - "description": "Represents a targetable household income. This will be populated in the household_income_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`.", - "id": "HouseholdIncomeTargetingOptionDetails", - "properties": { - "householdIncome": { - "description": "Output only. The household income of an audience.", - "enum": [ - "HOUSEHOLD_INCOME_UNSPECIFIED", - "HOUSEHOLD_INCOME_UNKNOWN", - "HOUSEHOLD_INCOME_LOWER_50_PERCENT", - "HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT", - "HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT", - "HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT", - "HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT", - "HOUSEHOLD_INCOME_TOP_10_PERCENT" - ], - "enumDescriptions": [ - "Default value when household income is not specified in this version. This enum is a placeholder for default value and does not represent a real household income option.", - "The household income of the audience is unknown.", - "The audience is in the lower 50% of U.S. household incomes.", - "The audience is in the top 41-50% of U.S. household incomes.", - "The audience is in the top 31-40% of U.S. household incomes.", - "The audience is in the top 21-30% of U.S. household incomes.", - "The audience is in the top 11-20% of U.S. household incomes.", - "The audience is in the top 10% of U.S. household incomes." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "IdFilter": { - "description": "A filtering option that filters entities by their entity IDs.", - "id": "IdFilter", - "properties": { - "adGroupAdIds": { - "description": "YouTube Ads to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "adGroupIds": { - "description": "YouTube Ad Groups to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "campaignIds": { - "description": "Campaigns to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "insertionOrderIds": { - "description": "Insertion Orders to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "lineItemIds": { - "description": "Line Items to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "mediaProductIds": { - "description": "Media Products to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "InsertionOrder": { - "description": "A single insertion order.", - "id": "InsertionOrder", - "properties": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the insertion order belongs to.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "bidStrategy": { - "$ref": "BiddingStrategy", - "description": "The bidding strategy of the insertion order. By default, fixed_bid is set." - }, - "billableOutcome": { - "description": "Immutable. The billable outcome of the insertion order. Outcome based buying is deprecated. `BILLABLE_OUTCOME_PAY_PER_IMPRESSION` is the only valid value.", - "enum": [ - "BILLABLE_OUTCOME_UNSPECIFIED", - "BILLABLE_OUTCOME_PAY_PER_IMPRESSION", - "BILLABLE_OUTCOME_PAY_PER_CLICK", - "BILLABLE_OUTCOME_PAY_PER_VIEWABLE_IMPRESSION" - ], - "enumDeprecated": [ - false, - false, - true, - true - ], - "enumDescriptions": [ - "Unspecified billable outcome.", - "Pay per impressions.", - "Pay per click.", - "Pay per active view." - ], - "type": "string" - }, - "budget": { - "$ref": "InsertionOrderBudget", - "description": "Required. The budget allocation settings of the insertion order." - }, - "campaignId": { - "description": "Required. Immutable. The unique ID of the campaign that the insertion order belongs to.", - "format": "int64", - "type": "string" - }, - "displayName": { - "description": "Required. The display name of the insertion order. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "entityStatus": { - "description": "Required. Controls whether or not the insertion order can spend its budget and bid on inventory. * For CreateInsertionOrder method, only `ENTITY_STATUS_DRAFT` is allowed. To activate an insertion order, use UpdateInsertionOrder method and update the status to `ENTITY_STATUS_ACTIVE` after creation. * An insertion order cannot be changed back to `ENTITY_STATUS_DRAFT` status from any other status. * An insertion order cannot be set to `ENTITY_STATUS_ACTIVE` if its parent campaign is not active.", - "enum": [ - "ENTITY_STATUS_UNSPECIFIED", - "ENTITY_STATUS_ACTIVE", - "ENTITY_STATUS_ARCHIVED", - "ENTITY_STATUS_DRAFT", - "ENTITY_STATUS_PAUSED", - "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - ], - "enumDescriptions": [ - "Default value when status is not specified or is unknown in this version.", - "The entity is enabled to bid and spend budget.", - "The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", - "The entity is under draft. Bidding and budget spending are disabled.", - "Bidding and budget spending are paused for the entity.", - "The entity is scheduled for deletion." - ], - "type": "string" - }, - "frequencyCap": { - "$ref": "FrequencyCap", - "description": "Required. The frequency capping setting of the insertion order." - }, - "insertionOrderId": { - "description": "Output only. The unique ID of the insertion order. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "insertionOrderType": { - "description": "The type of insertion order. If this field is unspecified in creation, the value defaults to `RTB`.", - "enum": [ - "INSERTION_ORDER_TYPE_UNSPECIFIED", - "RTB", - "OVER_THE_TOP" - ], - "enumDescriptions": [ - "Insertion order type is not specified or is unknown.", - "Real-time bidding.", - "Over-the-top." - ], - "type": "string" - }, - "integrationDetails": { - "$ref": "IntegrationDetails", - "description": "Additional integration details of the insertion order." - }, - "name": { - "description": "Output only. The resource name of the insertion order.", - "readOnly": true, - "type": "string" - }, - "pacing": { - "$ref": "Pacing", - "description": "Required. The budget spending speed setting of the insertion order." - }, - "partnerCosts": { - "description": "The partner costs associated with the insertion order. If absent or empty in CreateInsertionOrder method, the newly created insertion order will inherit partner costs from the partner settings.", - "items": { - "$ref": "PartnerCost" - }, - "type": "array" - }, - "performanceGoal": { - "$ref": "PerformanceGoal", - "description": "Required. Performance goal of the insertion order." - }, - "reservationType": { - "description": "Output only. The reservation type of the insertion order.", - "enum": [ - "RESERVATION_TYPE_UNSPECIFIED", - "RESERVATION_TYPE_NOT_GUARANTEED", - "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", - "RESERVATION_TYPE_TAG_GUARANTEED" - ], - "enumDescriptions": [ - "Reservation type value is not specified or is unknown in this version.", - "Not created through a guaranteed inventory source.", - "Created through a programmatic guaranteed inventory source.", - "Created through a tag guaranteed inventory source." - ], - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. The timestamp when the insertion order was last updated. Assigned by the system.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "InsertionOrderBudget": { - "description": "Settings that control how insertion order budget is allocated.", - "id": "InsertionOrderBudget", - "properties": { - "automationType": { - "description": "The type of automation used to manage bid and budget for the insertion order. If this field is unspecified in creation, the value defaults to `INSERTION_ORDER_AUTOMATION_TYPE_NONE`.", - "enum": [ - "INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED", - "INSERTION_ORDER_AUTOMATION_TYPE_BUDGET", - "INSERTION_ORDER_AUTOMATION_TYPE_NONE", - "INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET" - ], - "enumDescriptions": [ - "Insertion order automation option is not specified or is unknown in this version.", - "Automatic budget allocation. Allow the system to automatically shift budget to owning line items to optimize performance defined by kpi. No automation on bid settings.", - "No automation of bid or budget on insertion order level. Bid and budget must be manually configured at the line item level.", - "Allow the system to automatically adjust bids and shift budget to owning line items to optimize performance defined by kpi." - ], - "type": "string" - }, - "budgetSegments": { - "description": "Required. The list of budget segments. Use a budget segment to specify a specific budget for a given period of time an insertion order is running.", - "items": { - "$ref": "InsertionOrderBudgetSegment" - }, - "type": "array" - }, - "budgetUnit": { - "description": "Required. Immutable. The budget unit specifies whether the budget is currency based or impression based.", - "enum": [ - "BUDGET_UNIT_UNSPECIFIED", - "BUDGET_UNIT_CURRENCY", - "BUDGET_UNIT_IMPRESSIONS" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Budgeting in currency amounts.", - "Budgeting in impression amounts." - ], - "type": "string" - } - }, - "type": "object" - }, - "InsertionOrderBudgetSegment": { - "description": "Settings that control the budget of a single budget segment.", - "id": "InsertionOrderBudgetSegment", - "properties": { - "budgetAmountMicros": { - "description": "Required. The budget amount the insertion order will spend for the given date_range. The amount is in micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency.", - "format": "int64", - "type": "string" - }, - "campaignBudgetId": { - "description": "The budget_id of the campaign budget that this insertion order budget segment is a part of.", - "format": "int64", - "type": "string" - }, - "dateRange": { - "$ref": "DateRange", - "description": "Required. The start and end date settings of the budget segment. They are resolved relative to the parent advertiser's time zone. * When creating a new budget segment, both `start_date` and `end_date` must be in the future. * An existing budget segment with a `start_date` in the past has a mutable `end_date` but an immutable `start_date`. * `end_date` must be the `start_date` or later, both before the year 2037." - }, - "description": { - "description": "The budget segment description. It can be used to enter Purchase Order information for each budget segment and have that information printed on the invoices. Must be UTF-8 encoded.", - "type": "string" - } - }, - "type": "object" - }, - "IntegralAdScience": { - "description": "Details of Integral Ad Science settings.", - "id": "IntegralAdScience", - "properties": { - "customSegmentId": { - "description": "The custom segment ID provided by Integral Ad Science. The ID must be between `1000001` and `1999999`, inclusive.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "displayViewability": { - "description": "Display Viewability section (applicable to display line items only).", - "enum": [ - "PERFORMANCE_VIEWABILITY_UNSPECIFIED", - "PERFORMANCE_VIEWABILITY_40", - "PERFORMANCE_VIEWABILITY_50", - "PERFORMANCE_VIEWABILITY_60", - "PERFORMANCE_VIEWABILITY_70" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any display viewability options.", - "Target 40% Viewability or Higher.", - "Target 50% Viewability or Higher.", - "Target 60% Viewability or Higher.", - "Target 70% Viewability or Higher." - ], - "type": "string" - }, - "excludeUnrateable": { - "description": "Brand Safety - **Unrateable**.", - "type": "boolean" - }, - "excludedAdFraudRisk": { - "description": "Ad Fraud settings.", - "enum": [ - "SUSPICIOUS_ACTIVITY_UNSPECIFIED", - "SUSPICIOUS_ACTIVITY_HR", - "SUSPICIOUS_ACTIVITY_HMR" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any ad fraud prevention options.", - "Ad Fraud - Exclude High Risk.", - "Ad Fraud - Exclude High and Moderate Risk." - ], - "type": "string" - }, - "excludedAdultRisk": { - "description": "Brand Safety - **Adult content**.", - "enum": [ - "ADULT_UNSPECIFIED", - "ADULT_HR", - "ADULT_HMR" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any adult options.", - "Adult - Exclude High Risk.", - "Adult - Exclude High and Moderate Risk." - ], - "type": "string" - }, - "excludedAlcoholRisk": { - "description": "Brand Safety - **Alcohol**.", - "enum": [ - "ALCOHOL_UNSPECIFIED", - "ALCOHOL_HR", - "ALCOHOL_HMR" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any alcohol options.", - "Alcohol - Exclude High Risk.", - "Alcohol - Exclude High and Moderate Risk." - ], - "type": "string" - }, - "excludedDrugsRisk": { - "description": "Brand Safety - **Drugs**.", - "enum": [ - "DRUGS_UNSPECIFIED", - "DRUGS_HR", - "DRUGS_HMR" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any drugs options.", - "Drugs - Exclude High Risk.", - "Drugs - Exclude High and Moderate Risk." - ], - "type": "string" - }, - "excludedGamblingRisk": { - "description": "Brand Safety - **Gambling**.", - "enum": [ - "GAMBLING_UNSPECIFIED", - "GAMBLING_HR", - "GAMBLING_HMR" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any gambling options.", - "Gambling - Exclude High Risk.", - "Gambling - Exclude High and Moderate Risk." - ], - "type": "string" - }, - "excludedHateSpeechRisk": { - "description": "Brand Safety - **Hate speech**.", - "enum": [ - "HATE_SPEECH_UNSPECIFIED", - "HATE_SPEECH_HR", - "HATE_SPEECH_HMR" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any hate speech options.", - "Hate Speech - Exclude High Risk.", - "Hate Speech - Exclude High and Moderate Risk." - ], - "type": "string" - }, - "excludedIllegalDownloadsRisk": { - "description": "Brand Safety - **Illegal downloads**.", - "enum": [ - "ILLEGAL_DOWNLOADS_UNSPECIFIED", - "ILLEGAL_DOWNLOADS_HR", - "ILLEGAL_DOWNLOADS_HMR" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any illegal downloads options.", - "Illegal Downloads - Exclude High Risk.", - "Illegal Downloads - Exclude High and Moderate Risk." - ], - "type": "string" - }, - "excludedOffensiveLanguageRisk": { - "description": "Brand Safety - **Offensive language**.", - "enum": [ - "OFFENSIVE_LANGUAGE_UNSPECIFIED", - "OFFENSIVE_LANGUAGE_HR", - "OFFENSIVE_LANGUAGE_HMR" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any language options.", - "Offensive Language - Exclude High Risk.", - "Offensive Language - Exclude High and Moderate Risk." - ], - "type": "string" - }, - "excludedViolenceRisk": { - "description": "Brand Safety - **Violence**.", - "enum": [ - "VIOLENCE_UNSPECIFIED", - "VIOLENCE_HR", - "VIOLENCE_HMR" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any violence options.", - "Violence - Exclude High Risk.", - "Violence - Exclude High and Moderate Risk." - ], - "type": "string" - }, - "traqScoreOption": { - "description": "True advertising quality (applicable to Display line items only).", - "enum": [ - "TRAQ_UNSPECIFIED", - "TRAQ_250", - "TRAQ_500", - "TRAQ_600", - "TRAQ_700", - "TRAQ_750", - "TRAQ_875", - "TRAQ_1000" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any true advertising quality scores.", - "TRAQ score 250-1000.", - "TRAQ score 500-1000.", - "TRAQ score 600-1000.", - "TRAQ score 700-1000.", - "TRAQ score 750-1000.", - "TRAQ score 875-1000.", - "TRAQ score 1000." - ], - "type": "string" - }, - "videoViewability": { - "description": "Video Viewability Section (applicable to video line items only).", - "enum": [ - "VIDEO_VIEWABILITY_UNSPECIFIED", - "VIDEO_VIEWABILITY_40", - "VIDEO_VIEWABILITY_50", - "VIDEO_VIEWABILITY_60", - "VIDEO_VIEWABILITY_70" - ], - "enumDescriptions": [ - "This enum is only a placeholder and it doesn't specify any video viewability options.", - "40%+ in view (IAB video viewability standard).", - "50%+ in view (IAB video viewability standard).", - "60%+ in view (IAB video viewability standard).", - "70%+ in view (IAB video viewability standard)." - ], - "type": "string" - } - }, - "type": "object" - }, - "IntegrationDetails": { - "description": "Integration details of an entry.", - "id": "IntegrationDetails", - "properties": { - "details": { - "description": "Additional details of the entry in string format. Must be UTF-8 encoded with a length of no more than 1000 characters.", - "type": "string" - }, - "integrationCode": { - "description": "An external identifier to be associated with the entry. The integration code will show up together with the entry in many places in the system, for example, reporting. Must be UTF-8 encoded with a length of no more than 500 characters.", - "type": "string" - } - }, - "type": "object" - }, - "InventorySource": { - "description": "An inventory source.", - "id": "InventorySource", - "properties": { - "commitment": { - "description": "Whether the inventory source has a guaranteed or non-guaranteed delivery.", - "enum": [ - "INVENTORY_SOURCE_COMMITMENT_UNSPECIFIED", - "INVENTORY_SOURCE_COMMITMENT_GUARANTEED", - "INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED" - ], - "enumDescriptions": [ - "The commitment is not specified or is unknown in this version.", - "The commitment is guaranteed delivery.", - "The commitment is non-guaranteed delivery." - ], - "type": "string" - }, - "creativeConfigs": { - "description": "The creative requirements of the inventory source. Not applicable for auction packages.", - "items": { - "$ref": "CreativeConfig" - }, - "type": "array" - }, - "dealId": { - "description": "The ID in the exchange space that uniquely identifies the inventory source. Must be unique across buyers within each exchange but not necessarily unique across exchanges.", - "type": "string" - }, - "deliveryMethod": { - "description": "The delivery method of the inventory source. * For non-guaranteed inventory sources, the only acceptable value is `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`. * For guaranteed inventory sources, acceptable values are `INVENTORY_SOURCE_DELIVERY_METHOD_TAG` and `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`.", - "enum": [ - "INVENTORY_SOURCE_DELIVERY_METHOD_UNSPECIFIED", - "INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC", - "INVENTORY_SOURCE_DELIVERY_METHOD_TAG" - ], - "enumDescriptions": [ - "The delivery method is not specified or is unknown in this version.", - "The delivery method is programmatic.", - "The delivery method is tag." - ], - "type": "string" - }, - "displayName": { - "description": "The display name of the inventory source. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "exchange": { - "description": "The exchange to which the inventory source belongs.", - "enum": [ - "EXCHANGE_UNSPECIFIED", - "EXCHANGE_GOOGLE_AD_MANAGER", - "EXCHANGE_APPNEXUS", - "EXCHANGE_BRIGHTROLL", - "EXCHANGE_ADFORM", - "EXCHANGE_ADMETA", - "EXCHANGE_ADMIXER", - "EXCHANGE_ADSMOGO", - "EXCHANGE_ADSWIZZ", - "EXCHANGE_BIDSWITCH", - "EXCHANGE_BRIGHTROLL_DISPLAY", - "EXCHANGE_CADREON", - "EXCHANGE_DAILYMOTION", - "EXCHANGE_FIVE", - "EXCHANGE_FLUCT", - "EXCHANGE_FREEWHEEL", - "EXCHANGE_GENIEE", - "EXCHANGE_GUMGUM", - "EXCHANGE_IMOBILE", - "EXCHANGE_IBILLBOARD", - "EXCHANGE_IMPROVE_DIGITAL", - "EXCHANGE_INDEX", - "EXCHANGE_KARGO", - "EXCHANGE_MICROAD", - "EXCHANGE_MOPUB", - "EXCHANGE_NEND", - "EXCHANGE_ONE_BY_AOL_DISPLAY", - "EXCHANGE_ONE_BY_AOL_MOBILE", - "EXCHANGE_ONE_BY_AOL_VIDEO", - "EXCHANGE_OOYALA", - "EXCHANGE_OPENX", - "EXCHANGE_PERMODO", - "EXCHANGE_PLATFORMONE", - "EXCHANGE_PLATFORMID", - "EXCHANGE_PUBMATIC", - "EXCHANGE_PULSEPOINT", - "EXCHANGE_REVENUEMAX", - "EXCHANGE_RUBICON", - "EXCHANGE_SMARTCLIP", - "EXCHANGE_SMARTRTB", - "EXCHANGE_SMARTSTREAMTV", - "EXCHANGE_SOVRN", - "EXCHANGE_SPOTXCHANGE", - "EXCHANGE_STROER", - "EXCHANGE_TEADSTV", - "EXCHANGE_TELARIA", - "EXCHANGE_TVN", - "EXCHANGE_UNITED", - "EXCHANGE_YIELDLAB", - "EXCHANGE_YIELDMO", - "EXCHANGE_UNRULYX", - "EXCHANGE_OPEN8", - "EXCHANGE_TRITON", - "EXCHANGE_TRIPLELIFT", - "EXCHANGE_TABOOLA", - "EXCHANGE_INMOBI", - "EXCHANGE_SMAATO", - "EXCHANGE_AJA", - "EXCHANGE_SUPERSHIP", - "EXCHANGE_NEXSTAR_DIGITAL", - "EXCHANGE_WAZE", - "EXCHANGE_SOUNDCAST", - "EXCHANGE_SHARETHROUGH", - "EXCHANGE_FYBER", - "EXCHANGE_RED_FOR_PUBLISHERS", - "EXCHANGE_MEDIANET", - "EXCHANGE_TAPJOY", - "EXCHANGE_VISTAR", - "EXCHANGE_DAX", - "EXCHANGE_JCD", - "EXCHANGE_PLACE_EXCHANGE", - "EXCHANGE_APPLOVIN", - "EXCHANGE_CONNATIX", - "EXCHANGE_RESET_DIGITAL", - "EXCHANGE_HIVESTACK" - ], - "enumDescriptions": [ - "Exchange is not specified or is unknown in this version.", - "Google Ad Manager.", - "AppNexus.", - "BrightRoll Exchange for Video from Yahoo!.", - "Adform.", - "Admeta.", - "Admixer.", - "AdsMogo.", - "AdsWizz.", - "BidSwitch.", - "BrightRoll Exchange for Display from Yahoo!.", - "Cadreon.", - "Dailymotion.", - "Five.", - "Fluct.", - "FreeWheel SSP.", - "Geniee.", - "GumGum.", - "i-mobile.", - "iBILLBOARD.", - "Improve Digital.", - "Index Exchange.", - "Kargo.", - "MicroAd.", - "MoPub.", - "Nend.", - "ONE by AOL: Display Market Place.", - "ONE by AOL: Mobile.", - "ONE by AOL: Video.", - "Ooyala.", - "OpenX.", - "Permodo.", - "Platform One.", - "PlatformId.", - "PubMatic.", - "PulsePoint.", - "RevenueMax.", - "Rubicon.", - "SmartClip.", - "SmartRTB+.", - "SmartstreamTv.", - "Sovrn.", - "SpotXchange.", - "Ströer SSP.", - "TeadsTv.", - "Telaria.", - "TVN.", - "United.", - "Yieldlab.", - "Yieldmo.", - "UnrulyX.", - "Open8.", - "Triton.", - "TripleLift.", - "Taboola.", - "InMobi.", - "Smaato.", - "Aja.", - "Supership.", - "Nexstar Digital.", - "Waze.", - "SoundCast.", - "Sharethrough.", - "Fyber.", - "Red For Publishers.", - "Media.net.", - "Tapjoy.", - "Vistar.", - "DAX.", - "JCD.", - "Place Exchange.", - "AppLovin.", - "Connatix.", - "Reset Digital.", - "Hivestack." - ], - "type": "string" - }, - "guaranteedOrderId": { - "description": "Immutable. The ID of the guaranteed order that this inventory source belongs to. Only applicable when commitment is `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`.", - "type": "string" - }, - "inventorySourceId": { - "description": "Output only. The unique ID of the inventory source. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "inventorySourceProductType": { - "description": "Output only. The product type of the inventory source, denoting the way through which it sells inventory.", - "enum": [ - "INVENTORY_SOURCE_PRODUCT_TYPE_UNSPECIFIED", - "PREFERRED_DEAL", - "PRIVATE_AUCTION", - "PROGRAMMATIC_GUARANTEED", - "TAG_GUARANTEED", - "YOUTUBE_RESERVE", - "INSTANT_RESERVE", - "GUARANTEED_PACKAGE", - "PROGRAMMATIC_TV", - "AUCTION_PACKAGE" - ], - "enumDescriptions": [ - "The product type is not specified or is unknown in this version. Modifying inventory sources of this product type are not supported via API.", - "The inventory source sells inventory through Preferred Deal.", - "The inventory source sells inventory through Private Auction.", - "The inventory source sells inventory through Programmatic Guaranteed.", - "The inventory source sells inventory through Tag Guaranteed.", - "The inventory source sells inventory through YouTube Reserve.", - "The inventory source sells inventory through Instant Reserve. Modifying inventory sources of this product type are not supported via API.", - "The inventory source sells inventory through Guaranteed Package. Modifying inventory sources of this product type are not supported via API.", - "The inventory source sells inventory through Programmtic TV. Modifying inventory sources of this product type are not supported via API.", - "The inventory source sells inventory through Auction Package. Modifying inventory sources of this product type are not supported via API." - ], - "readOnly": true, - "type": "string" - }, - "inventorySourceType": { - "description": "Denotes the type of the inventory source.", - "enum": [ - "INVENTORY_SOURCE_TYPE_UNSPECIFIED", - "INVENTORY_SOURCE_TYPE_PRIVATE", - "INVENTORY_SOURCE_TYPE_AUCTION_PACKAGE" - ], - "enumDescriptions": [ - "The inventory source type is not specified or is unknown in this version.", - "Private inventory source.", - "Auction package." - ], - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the inventory source.", - "readOnly": true, - "type": "string" - }, - "publisherName": { - "description": "The publisher/seller name of the inventory source.", - "type": "string" - }, - "rateDetails": { - "$ref": "RateDetails", - "description": "Required. The rate details of the inventory source." - }, - "readAdvertiserIds": { - "description": "Output only. The IDs of advertisers with read-only access to the inventory source.", - "items": { - "format": "int64", - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "readPartnerIds": { - "description": "Output only. The IDs of partners with read-only access to the inventory source. All advertisers of partners in this field inherit read-only access to the inventory source.", - "items": { - "format": "int64", - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "readWriteAccessors": { - "$ref": "InventorySourceAccessors", - "description": "The partner or advertisers that have read/write access to the inventory source. Output only when commitment is `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`, in which case the read/write accessors are inherited from the parent guaranteed order. Required when commitment is `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED`. If commitment is `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED` and a partner is set in this field, all advertisers under this partner will automatically have read-only access to the inventory source. These advertisers will not be included in read_advertiser_ids." - }, - "status": { - "$ref": "InventorySourceStatus", - "description": "The status settings of the inventory source." - }, - "timeRange": { - "$ref": "TimeRange", - "description": "The time range when this inventory source starts and stops serving." - }, - "updateTime": { - "description": "Output only. The timestamp when the inventory source was last updated. Assigned by the system.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "InventorySourceAccessors": { - "description": "The partner or advertisers with access to the inventory source.", - "id": "InventorySourceAccessors", - "properties": { - "advertisers": { - "$ref": "InventorySourceAccessorsAdvertiserAccessors", - "description": "The advertisers with access to the inventory source. All advertisers must belong to the same partner." - }, - "partner": { - "$ref": "InventorySourceAccessorsPartnerAccessor", - "description": "The partner with access to the inventory source." - } - }, - "type": "object" - }, - "InventorySourceAccessorsAdvertiserAccessors": { - "description": "The advertisers with access to the inventory source.", - "id": "InventorySourceAccessorsAdvertiserAccessors", - "properties": { - "advertiserIds": { - "description": "The IDs of the advertisers.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "InventorySourceAccessorsPartnerAccessor": { - "description": "The partner with access to the inventory source.", - "id": "InventorySourceAccessorsPartnerAccessor", - "properties": { - "partnerId": { - "description": "The ID of the partner.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "InventorySourceAssignedTargetingOptionDetails": { - "description": "Targeting details for inventory source. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE`.", - "id": "InventorySourceAssignedTargetingOptionDetails", - "properties": { - "inventorySourceId": { - "description": "Required. ID of the inventory source. Should refer to the inventory_source_id field of an InventorySource resource.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "InventorySourceDisplayCreativeConfig": { - "description": "The configuration for display creatives.", - "id": "InventorySourceDisplayCreativeConfig", - "properties": { - "creativeSize": { - "$ref": "Dimensions", - "description": "The size requirements for display creatives that can be assigned to the inventory source." - } - }, - "type": "object" - }, - "InventorySourceFilter": { - "description": "A filtering option for filtering on Inventory Source entities.", - "id": "InventorySourceFilter", - "properties": { - "inventorySourceIds": { - "description": "Inventory Sources to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Leave empty to download all Inventory Sources for the selected Advertiser or Partner.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "InventorySourceGroup": { - "description": "A collection of targetable inventory sources.", - "id": "InventorySourceGroup", - "properties": { - "displayName": { - "description": "Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "inventorySourceGroupId": { - "description": "Output only. The unique ID of the inventory source group. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the inventory source group.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "InventorySourceGroupAssignedTargetingOptionDetails": { - "description": "Targeting details for inventory source group. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`.", - "id": "InventorySourceGroupAssignedTargetingOptionDetails", - "properties": { - "inventorySourceGroupId": { - "description": "Required. ID of the inventory source group. Should refer to the inventory_source_group_id field of an InventorySourceGroup resource.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "InventorySourceStatus": { - "description": "The status related settings of the inventory source.", - "id": "InventorySourceStatus", - "properties": { - "configStatus": { - "description": "Output only. The configuration status of the inventory source. Only applicable for guaranteed inventory sources. Acceptable values are `INVENTORY_SOURCE_CONFIG_STATUS_PENDING` and `INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED`. An inventory source must be configured (fill in the required fields, choose creatives, and select a default campaign) before it can serve.", - "enum": [ - "INVENTORY_SOURCE_CONFIG_STATUS_UNSPECIFIED", - "INVENTORY_SOURCE_CONFIG_STATUS_PENDING", - "INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED" - ], - "enumDescriptions": [ - "The approval status is not specified or is unknown in this version.", - "The beginning state of a guaranteed inventory source. The inventory source in this state needs to be configured.", - "The state after the buyer configures a guaranteed inventory source." - ], - "readOnly": true, - "type": "string" - }, - "entityPauseReason": { - "description": "The user-provided reason for pausing this inventory source. Must not exceed 100 characters. Only applicable when entity_status is set to `ENTITY_STATUS_PAUSED`.", - "type": "string" - }, - "entityStatus": { - "description": "Whether or not the inventory source is servable. Acceptable values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value is `ENTITY_STATUS_ACTIVE`.", - "enum": [ - "ENTITY_STATUS_UNSPECIFIED", - "ENTITY_STATUS_ACTIVE", - "ENTITY_STATUS_ARCHIVED", - "ENTITY_STATUS_DRAFT", - "ENTITY_STATUS_PAUSED", - "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - ], - "enumDescriptions": [ - "Default value when status is not specified or is unknown in this version.", - "The entity is enabled to bid and spend budget.", - "The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", - "The entity is under draft. Bidding and budget spending are disabled.", - "Bidding and budget spending are paused for the entity.", - "The entity is scheduled for deletion." - ], - "type": "string" - }, - "sellerPauseReason": { - "description": "Output only. The seller-provided reason for pausing this inventory source. Only applicable for inventory sources synced directly from the publishers and when seller_status is set to `ENTITY_STATUS_PAUSED`.", - "readOnly": true, - "type": "string" - }, - "sellerStatus": { - "description": "Output only. The status set by the seller for the inventory source. Only applicable for inventory sources synced directly from the publishers. Acceptable values are `ENTITY_STATUS_ACTIVE` and `ENTITY_STATUS_PAUSED`.", - "enum": [ - "ENTITY_STATUS_UNSPECIFIED", - "ENTITY_STATUS_ACTIVE", - "ENTITY_STATUS_ARCHIVED", - "ENTITY_STATUS_DRAFT", - "ENTITY_STATUS_PAUSED", - "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - ], - "enumDescriptions": [ - "Default value when status is not specified or is unknown in this version.", - "The entity is enabled to bid and spend budget.", - "The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", - "The entity is under draft. Bidding and budget spending are disabled.", - "Bidding and budget spending are paused for the entity.", - "The entity is scheduled for deletion." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "InventorySourceVideoCreativeConfig": { - "description": "The configuration for video creatives.", - "id": "InventorySourceVideoCreativeConfig", - "properties": { - "duration": { - "description": "The duration requirements for the video creatives that can be assigned to the inventory source.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "Invoice": { - "description": "A single invoice.", - "id": "Invoice", - "properties": { - "budgetInvoiceGroupingId": { - "description": "The budget grouping ID for this invoice. This field will only be set if the invoice level of the corresponding billing profile was set to \"Budget invoice grouping ID\".", - "type": "string" - }, - "budgetSummaries": { - "description": "The list of summarized information for each budget associated with this invoice. This field will only be set if the invoice detail level of the corresponding billing profile was set to \"Budget level PO\".", - "items": { - "$ref": "BudgetSummary" - }, - "type": "array" - }, - "correctedInvoiceId": { - "description": "The ID of the original invoice being adjusted by this invoice, if applicable. May appear on the invoice PDF as `Reference invoice number`. If replaced_invoice_ids is set, this field will be empty.", - "type": "string" - }, - "currencyCode": { - "description": "The currency used in the invoice in ISO 4217 format.", - "type": "string" - }, - "displayName": { - "description": "The display name of the invoice.", - "type": "string" - }, - "dueDate": { - "$ref": "Date", - "description": "The date when the invoice is due." - }, - "invoiceId": { - "description": "The unique ID of the invoice.", - "type": "string" - }, - "invoiceType": { - "description": "The type of invoice document.", - "enum": [ - "INVOICE_TYPE_UNSPECIFIED", - "INVOICE_TYPE_CREDIT", - "INVOICE_TYPE_INVOICE" - ], - "enumDescriptions": [ - "Not specified or is unknown in this version.", - "The invoice has a negative amount.", - "The invoice has a positive amount." - ], - "type": "string" - }, - "issueDate": { - "$ref": "Date", - "description": "The date when the invoice was issued." - }, - "name": { - "description": "The resource name of the invoice.", - "type": "string" - }, - "nonBudgetMicros": { - "description": "The total amount of costs or adjustments not tied to a particular budget, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", - "format": "int64", - "type": "string" - }, - "paymentsAccountId": { - "description": "The ID of the payments account the invoice belongs to. Appears on the invoice PDF as `Billing Account Number`.", - "type": "string" - }, - "paymentsProfileId": { - "description": "The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as `Billing ID`.", - "type": "string" - }, - "pdfUrl": { - "description": "The URL to download a PDF copy of the invoice. This URL is user specific and requires a valid OAuth 2.0 access token to access. The access token must be provided in an `Authorization: Bearer` HTTP header and be authorized for one of the following scopes: * `https://www.googleapis.com/auth/display-video-mediaplanning` * `https://www.googleapis.com/auth/display-video` The URL will be valid for 7 days after retrieval of this invoice object or until this invoice is retrieved again.", - "type": "string" - }, - "purchaseOrderNumber": { - "description": "Purchase order number associated with the invoice.", - "type": "string" - }, - "replacedInvoiceIds": { - "description": "The ID(s) of any originally issued invoice that is being cancelled by this invoice, if applicable. Multiple invoices may be listed if those invoices are being consolidated into a single invoice. May appear on invoice PDF as `Replaced invoice numbers`. If corrected_invoice_id is set, this field will be empty.", - "items": { - "type": "string" - }, - "type": "array" - }, - "serviceDateRange": { - "$ref": "DateRange", - "description": "The service start and end dates which are covered by this invoice." - }, - "subtotalAmountMicros": { - "description": "The pre-tax subtotal amount, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", - "format": "int64", - "type": "string" - }, - "totalAmountMicros": { - "description": "The invoice total amount, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", - "format": "int64", - "type": "string" - }, - "totalTaxAmountMicros": { - "description": "The sum of all taxes in invoice, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "KeywordAssignedTargetingOptionDetails": { - "description": "Details for assigned keyword targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_KEYWORD`.", - "id": "KeywordAssignedTargetingOptionDetails", - "properties": { - "keyword": { - "description": "Required. The keyword, for example `car insurance`. Positive keyword cannot be offensive word. Must be UTF-8 encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10.", - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted.", - "type": "boolean" - } - }, - "type": "object" - }, - "LanguageAssignedTargetingOptionDetails": { - "description": "Details for assigned language targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_LANGUAGE`.", - "id": "LanguageAssignedTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the language (e.g., \"French\").", - "readOnly": true, - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted. All assigned language targeting options on the same resource must have the same value for this field.", - "type": "boolean" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_LANGUAGE`.", - "type": "string" - } - }, - "type": "object" - }, - "LanguageTargetingOptionDetails": { - "description": "Represents a targetable language. This will be populated in the language_details field when targeting_type is `TARGETING_TYPE_LANGUAGE`.", - "id": "LanguageTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the language (e.g., \"French\").", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "LineItem": { - "description": "A single line item.", - "id": "LineItem", - "properties": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the line item belongs to.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "bidStrategy": { - "$ref": "BiddingStrategy", - "description": "Required. The bidding strategy of the line item." - }, - "budget": { - "$ref": "LineItemBudget", - "description": "Required. The budget allocation setting of the line item." - }, - "campaignId": { - "description": "Output only. The unique ID of the campaign that the line item belongs to.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "conversionCounting": { - "$ref": "ConversionCountingConfig", - "description": "The conversion tracking setting of the line item." - }, - "creativeIds": { - "description": "The IDs of the creatives associated with the line item.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "displayName": { - "description": "Required. The display name of the line item. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "entityStatus": { - "description": "Required. Controls whether or not the line item can spend its budget and bid on inventory. * For CreateLineItem method, only `ENTITY_STATUS_DRAFT` is allowed. To activate a line item, use UpdateLineItem method and update the status to `ENTITY_STATUS_ACTIVE` after creation. * A line item cannot be changed back to `ENTITY_STATUS_DRAFT` status from any other status. * If the line item's parent insertion order is not active, the line item can't spend its budget even if its own status is `ENTITY_STATUS_ACTIVE`.", - "enum": [ - "ENTITY_STATUS_UNSPECIFIED", - "ENTITY_STATUS_ACTIVE", - "ENTITY_STATUS_ARCHIVED", - "ENTITY_STATUS_DRAFT", - "ENTITY_STATUS_PAUSED", - "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - ], - "enumDescriptions": [ - "Default value when status is not specified or is unknown in this version.", - "The entity is enabled to bid and spend budget.", - "The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", - "The entity is under draft. Bidding and budget spending are disabled.", - "Bidding and budget spending are paused for the entity.", - "The entity is scheduled for deletion." - ], - "type": "string" - }, - "excludeNewExchanges": { - "description": "Whether to exclude new exchanges from automatically being targeted by the line item. This field is false by default.", - "type": "boolean" - }, - "flight": { - "$ref": "LineItemFlight", - "description": "Required. The start and end time of the line item's flight." - }, - "frequencyCap": { - "$ref": "FrequencyCap", - "description": "Required. The impression frequency cap settings of the line item. The max_impressions field in this settings object must be used if assigning a limited cap." - }, - "insertionOrderId": { - "description": "Required. Immutable. The unique ID of the insertion order that the line item belongs to.", - "format": "int64", - "type": "string" - }, - "integrationDetails": { - "$ref": "IntegrationDetails", - "description": "Integration details of the line item." - }, - "inventorySourceIds": { - "description": "The IDs of the private inventory sources assigned to the line item.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "lineItemId": { - "description": "Output only. The unique ID of the line item. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "lineItemType": { - "description": "Required. Immutable. The type of the line item.", - "enum": [ - "LINE_ITEM_TYPE_UNSPECIFIED", - "LINE_ITEM_TYPE_DISPLAY_DEFAULT", - "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", - "LINE_ITEM_TYPE_VIDEO_DEFAULT", - "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL", - "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY", - "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY", - "LINE_ITEM_TYPE_AUDIO_DEFAULT", - "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP", - "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", - "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version. Line items of this type and their targeting cannot be created or updated using the API.", - "Image, HTML5, native, or rich media ads.", - "Display ads that drive installs of an app.", - "Video ads sold on a CPM basis for a variety of environments.", - "Video ads that drive installs of an app.", - "Display ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", - "Video ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", - "RTB Audio ads sold for a variety of environments.", - "Over-the-top ads present in OTT insertion orders. This type is only applicable to line items with an insertion order of insertion_order_type `OVER_THE_TOP`.", - "Display ads served on digital-out-of-home inventory. Line items of this type and their targeting cannot be created or updated using the API.", - "Video ads served on digital-out-of-home inventory. Line items of this type and their targeting cannot be created or updated using the API." - ], - "type": "string" - }, - "mobileApp": { - "$ref": "MobileApp", - "description": "The mobile app promoted by the line item. This is applicable only when line_item_type is either `LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL` or `LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL`." - }, - "name": { - "description": "Output only. The resource name of the line item.", - "readOnly": true, - "type": "string" - }, - "pacing": { - "$ref": "Pacing", - "description": "Required. The budget spending speed setting of the line item." - }, - "partnerCosts": { - "description": "The partner costs associated with the line item. If absent or empty in CreateLineItem method, the newly created line item will inherit partner costs from its parent insertion order.", - "items": { - "$ref": "PartnerCost" - }, - "type": "array" - }, - "partnerRevenueModel": { - "$ref": "PartnerRevenueModel", - "description": "Required. The partner revenue model setting of the line item." - }, - "reservationType": { - "description": "Output only. The reservation type of the line item.", - "enum": [ - "RESERVATION_TYPE_UNSPECIFIED", - "RESERVATION_TYPE_NOT_GUARANTEED", - "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", - "RESERVATION_TYPE_TAG_GUARANTEED" - ], - "enumDescriptions": [ - "Reservation type value is not specified or is unknown in this version.", - "Not created through a guaranteed inventory source.", - "Created through a programmatic guaranteed inventory source.", - "Created through a tag guaranteed inventory source." - ], - "readOnly": true, - "type": "string" - }, - "targetingExpansion": { - "$ref": "TargetingExpansionConfig", - "description": "The [optimized targeting](//support.google.com/displayvideo/answer/12060859) settings of the line item. This config is only applicable for display, video, or audio line items that use automated bidding and positively target eligible audience lists." - }, - "updateTime": { - "description": "Output only. The timestamp when the line item was last updated. Assigned by the system.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "warningMessages": { - "description": "Output only. The warning messages generated by the line item. These warnings do not block saving the line item, but some may block the line item from running.", - "items": { - "enum": [ - "LINE_ITEM_WARNING_MESSAGE_UNSPECIFIED", - "INVALID_FLIGHT_DATES", - "EXPIRED", - "PENDING_FLIGHT", - "ALL_PARTNER_ENABLED_EXCHANGES_NEGATIVELY_TARGETED", - "INVALID_INVENTORY_SOURCE", - "APP_INVENTORY_INVALID_SITE_TARGETING", - "APP_INVENTORY_INVALID_AUDIENCE_LISTS", - "NO_VALID_CREATIVE", - "PARENT_INSERTION_ORDER_PAUSED", - "PARENT_INSERTION_ORDER_EXPIRED", - "NO_POSITIVE_AUDIENCE_LIST_TARGETED", - "APP_INSTALL_NO_CONVERSION_PIXEL", - "TARGETING_REVOKED_OR_CLOSED_USER_LIST", - "APP_INSTALL_NO_OPTIMAL_BIDDING_STRATEGY", - "CREATIVE_SIZE_NOT_IN_USE_FOR_TARGETED_DEALS", - "NO_CREATIVE_FOR_TARGETED_DEALS", - "TARGETING_DEPRECATED_GEO_TARGET", - "DEPRECATED_FIRST_PARTY_AUDIENCE_EXCLUSION" - ], - "enumDescriptions": [ - "Not specified or is unknown.", - "This line item has invalid flight dates. The line item will not run.", - "This line item's end date is in the past.", - "This line item will begin running in the future.", - "All partner enabled exchanges are negatively targeted. The line item will not run.", - "No active inventory sources are being targeted. The line item will not run.", - "This line item's Apps & URLs targeting doesn't include any mobile apps. This line item's type requires you to include mobile apps in your channel, sitelist, or apps targeting. The line item will not run.", - "This line item isn't targeting any mobile users. This line item's type requires you to target a user list with mobile users. The line item will not run.", - "This line item does not contain any valid creative. The line item will not run.", - "The insertion order of this line item is paused. The line item will not run.", - "The insertion order of this line item has its end date set in the past. The line item will not run.", - "This line item does not target any audience lists, which may result in spending your budget too quickly.", - "This app install line item does not have any conversion pixel set up.", - "This line item targets one or more user lists that are no longer available. In the future, this will prevent the line item from serving, so consider removing these lists from your targeting.", - "This app install line item does not have an optimal bidding strategy.", - "Deals targeted by this line item accept creative sizes which are not in use. This may limit the line item's delivery or performance.", - "This line item does not contain any creative for the targeted deals.", - "This line item targets a geo target that is deprecated.", - "This line item uses the exclude_first_party_audience setting, which is deprecated and scheduled to sunset after **March 25, 2023**. Update your API integration to directly exclude any first-party audiences using audience targeting before **March 25, 2023** to account for the sunset of the exclude_first_party_audience field." - ], - "type": "string" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "LineItemBudget": { - "description": "Settings that control how budget is allocated.", - "id": "LineItemBudget", - "properties": { - "budgetAllocationType": { - "description": "Required. The type of the budget allocation. `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC` is only applicable when automatic budget allocation is enabled for the parent insertion order.", - "enum": [ - "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNSPECIFIED", - "LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC", - "LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED", - "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Automatic budget allocation is enabled for the line item.", - "A fixed max budget amount is allocated for the line item.", - "No budget limit is applied to the line item." - ], - "type": "string" - }, - "budgetUnit": { - "description": "Output only. The budget unit specifies whether the budget is currency based or impression based. This value is inherited from the parent insertion order.", - "enum": [ - "BUDGET_UNIT_UNSPECIFIED", - "BUDGET_UNIT_CURRENCY", - "BUDGET_UNIT_IMPRESSIONS" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Budgeting in currency amounts.", - "Budgeting in impression amounts." - ], - "readOnly": true, - "type": "string" - }, - "maxAmount": { - "description": "The maximum budget amount the line item will spend. Must be greater than 0. When budget_allocation_type is: * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC`, this field is immutable and is set by the system. * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED`, if budget_unit is: - `BUDGET_UNIT_CURRENCY`, this field represents maximum budget amount to spend, in micros of the advertiser's currency. For example, 1500000 represents 1.5 standard units of the currency. - `BUDGET_UNIT_IMPRESSIONS`, this field represents the maximum number of impressions to serve. * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED`, this field is not applicable and will be ignored by the system.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "LineItemFlight": { - "description": "Settings that control the active duration of a line item.", - "id": "LineItemFlight", - "properties": { - "dateRange": { - "$ref": "DateRange", - "description": "The flight start and end dates of the line item. They are resolved relative to the parent advertiser's time zone. * Required when flight_date_type is `LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM`. Output only otherwise. * When creating a new flight, both `start_date` and `end_date` must be in the future. * An existing flight with a `start_date` in the past has a mutable `end_date` but an immutable `start_date`. * `end_date` must be the `start_date` or later, both before the year 2037." - }, - "flightDateType": { - "description": "Required. The type of the line item's flight dates.", - "enum": [ - "LINE_ITEM_FLIGHT_DATE_TYPE_UNSPECIFIED", - "LINE_ITEM_FLIGHT_DATE_TYPE_INHERITED", - "LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM", - "LINE_ITEM_FLIGHT_DATE_TYPE_TRIGGER" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "The line item's flight dates are inherited from its parent insertion order.", - "The line item uses its own custom flight dates.", - "The line item uses a trigger. **Warning:** Line Items using manual triggers no longer serve in Display & Video 360. This value will sunset on August 1, 2023. Read our [feature deprecation announcement](/display-video/api/deprecations#features.manual_triggers) for more information." - ], - "type": "string" - }, - "triggerId": { - "description": "The ID of the manual trigger associated with the line item. * Required when flight_date_type is `LINE_ITEM_FLIGHT_DATE_TYPE_TRIGGER`. Must not be set otherwise. * When set, the line item's flight dates are inherited from its parent insertion order. * Active line items will spend when the selected trigger is activated within the parent insertion order's flight dates. **Warning:** Line Items using manual triggers no longer serve in Display & Video 360. This field will sunset on August 1, 2023. Read our [feature deprecation announcement](/display-video/api/deprecations#features.manual_triggers) for more information.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ListAdvertiserAssignedTargetingOptionsResponse": { - "description": "Response message for ListAdvertiserAssignedTargetingOptions.", - "id": "ListAdvertiserAssignedTargetingOptionsResponse", - "properties": { - "assignedTargetingOptions": { - "description": "The list of assigned targeting options. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListAdvertiserAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", - "type": "string" - } - }, - "type": "object" - }, - "ListAdvertisersResponse": { - "id": "ListAdvertisersResponse", - "properties": { - "advertisers": { - "description": "The list of advertisers. This list will be absent if empty.", - "items": { - "$ref": "Advertiser" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAdvertisers` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListAssignedInventorySourcesResponse": { - "description": "Response message for AssignedInventorySourceService.ListAssignedInventorySources.", - "id": "ListAssignedInventorySourcesResponse", - "properties": { - "assignedInventorySources": { - "description": "The list of assigned inventory sources. This list will be absent if empty.", - "items": { - "$ref": "AssignedInventorySource" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAssignedInventorySources` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListAssignedLocationsResponse": { - "description": "Response message for AssignedLocationService.ListAssignedLocations.", - "id": "ListAssignedLocationsResponse", - "properties": { - "assignedLocations": { - "description": "The list of assigned locations. This list will be absent if empty.", - "items": { - "$ref": "AssignedLocation" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAssignedLocations` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListCampaignAssignedTargetingOptionsResponse": { - "description": "Response message for ListCampaignAssignedTargetingOptions.", - "id": "ListCampaignAssignedTargetingOptionsResponse", - "properties": { - "assignedTargetingOptions": { - "description": "The list of assigned targeting options. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListCampaignAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", - "type": "string" - } - }, - "type": "object" - }, - "ListCampaignsResponse": { - "id": "ListCampaignsResponse", - "properties": { - "campaigns": { - "description": "The list of campaigns. This list will be absent if empty.", - "items": { - "$ref": "Campaign" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCampaigns` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListChannelsResponse": { - "id": "ListChannelsResponse", - "properties": { - "channels": { - "description": "The list of channels. This list will be absent if empty.", - "items": { - "$ref": "Channel" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListChannels` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListCombinedAudiencesResponse": { - "id": "ListCombinedAudiencesResponse", - "properties": { - "combinedAudiences": { - "description": "The list of combined audiences. This list will be absent if empty.", - "items": { - "$ref": "CombinedAudience" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCombinedAudiences` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListCreativesResponse": { - "id": "ListCreativesResponse", - "properties": { - "creatives": { - "description": "The list of creatives. This list will be absent if empty.", - "items": { - "$ref": "Creative" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCreativesRequest` method to retrieve the next page of results. If this field is null, it means this is the last page.", - "type": "string" - } - }, - "type": "object" - }, - "ListCustomBiddingAlgorithmsResponse": { - "id": "ListCustomBiddingAlgorithmsResponse", - "properties": { - "customBiddingAlgorithms": { - "description": "The list of custom bidding algorithms. This list will be absent if empty.", - "items": { - "$ref": "CustomBiddingAlgorithm" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCustomBiddingAlgorithmsRequest` method to retrieve the next page of results. If this field is null, it means this is the last page.", - "type": "string" - } - }, - "type": "object" - }, - "ListCustomBiddingScriptsResponse": { - "id": "ListCustomBiddingScriptsResponse", - "properties": { - "customBiddingScripts": { - "description": "The list of custom bidding scripts. This list will be absent if empty.", - "items": { - "$ref": "CustomBiddingScript" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCustomBiddingScriptsRequest` method to retrieve the next page of results. If this field is null, it means this is the last page.", - "type": "string" - } - }, - "type": "object" - }, - "ListCustomListsResponse": { - "id": "ListCustomListsResponse", - "properties": { - "customLists": { - "description": "The list of custom lists. This list will be absent if empty.", - "items": { - "$ref": "CustomList" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCustomLists` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListFirstAndThirdPartyAudiencesResponse": { - "id": "ListFirstAndThirdPartyAudiencesResponse", - "properties": { - "firstAndThirdPartyAudiences": { - "description": "The list of first and third party audiences. Audience size properties will not be included. This list will be absent if empty.", - "items": { - "$ref": "FirstAndThirdPartyAudience" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListFirstAndThirdPartyAudiences` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListGoogleAudiencesResponse": { - "id": "ListGoogleAudiencesResponse", - "properties": { - "googleAudiences": { - "description": "The list of Google audiences. This list will be absent if empty.", - "items": { - "$ref": "GoogleAudience" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListGoogleAudiences` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListGuaranteedOrdersResponse": { - "id": "ListGuaranteedOrdersResponse", - "properties": { - "guaranteedOrders": { - "description": "The list of guaranteed orders. This list will be absent if empty.", - "items": { - "$ref": "GuaranteedOrder" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListGuaranteedOrders` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListInsertionOrderAssignedTargetingOptionsResponse": { - "id": "ListInsertionOrderAssignedTargetingOptionsResponse", - "properties": { - "assignedTargetingOptions": { - "description": "The list of assigned targeting options. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", - "type": "string" - } - }, - "type": "object" - }, - "ListInsertionOrdersResponse": { - "id": "ListInsertionOrdersResponse", - "properties": { - "insertionOrders": { - "description": "The list of insertion orders. This list will be absent if empty.", - "items": { - "$ref": "InsertionOrder" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInsertionOrders` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListInventorySourceGroupsResponse": { - "description": "Response message for InventorySourceGroupService.ListInventorySourceGroups.", - "id": "ListInventorySourceGroupsResponse", - "properties": { - "inventorySourceGroups": { - "description": "The list of inventory source groups. This list will be absent if empty.", - "items": { - "$ref": "InventorySourceGroup" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInventorySourceGroups` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListInventorySourcesResponse": { - "id": "ListInventorySourcesResponse", - "properties": { - "inventorySources": { - "description": "The list of inventory sources. This list will be absent if empty.", - "items": { - "$ref": "InventorySource" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInventorySources` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListInvoicesResponse": { - "id": "ListInvoicesResponse", - "properties": { - "invoices": { - "description": "The list of invoices. This list will be absent if empty.", - "items": { - "$ref": "Invoice" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInvoices` method to retrieve the next page of results. This token will be absent if there are no more invoices to return.", - "type": "string" - } - }, - "type": "object" - }, - "ListLineItemAssignedTargetingOptionsResponse": { - "description": "Response message for ListLineItemAssignedTargetingOptions.", - "id": "ListLineItemAssignedTargetingOptionsResponse", - "properties": { - "assignedTargetingOptions": { - "description": "The list of assigned targeting options. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListLineItemAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", - "type": "string" - } - }, - "type": "object" - }, - "ListLineItemsResponse": { - "id": "ListLineItemsResponse", - "properties": { - "lineItems": { - "description": "The list of line items. This list will be absent if empty.", - "items": { - "$ref": "LineItem" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListLineItems` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListLocationListsResponse": { - "id": "ListLocationListsResponse", - "properties": { - "locationLists": { - "description": "The list of location lists. This list will be absent if empty.", - "items": { - "$ref": "LocationList" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListLocationLists` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListManualTriggersResponse": { - "id": "ListManualTriggersResponse", - "properties": { - "manualTriggers": { - "description": "The list of manual triggers. This list will be absent if empty.", - "items": { - "$ref": "ManualTrigger" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListManualTriggers` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListNegativeKeywordListsResponse": { - "description": "Response message for NegativeKeywordListService.ListNegativeKeywordLists.", - "id": "ListNegativeKeywordListsResponse", - "properties": { - "negativeKeywordLists": { - "description": "The list of negative keyword lists. This list will be absent if empty.", - "items": { - "$ref": "NegativeKeywordList" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListNegativeKeywordLists` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListNegativeKeywordsResponse": { - "description": "Response message for NegativeKeywordService.ListNegativeKeywords.", - "id": "ListNegativeKeywordsResponse", - "properties": { - "negativeKeywords": { - "description": "The list of negative keywords. This list will be absent if empty.", - "items": { - "$ref": "NegativeKeyword" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListNegativeKeywords` method to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListPartnerAssignedTargetingOptionsResponse": { - "id": "ListPartnerAssignedTargetingOptionsResponse", - "properties": { - "assignedTargetingOptions": { - "description": "The list of assigned targeting options. This list will be absent if empty.", - "items": { - "$ref": "AssignedTargetingOption" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListPartnerAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", - "type": "string" - } - }, - "type": "object" - }, - "ListPartnersResponse": { - "id": "ListPartnersResponse", - "properties": { - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListPartners` method to retrieve the next page of results.", - "type": "string" - }, - "partners": { - "description": "The list of partners. This list will be absent if empty.", - "items": { - "$ref": "Partner" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListSitesResponse": { - "description": "Response message for SiteService.ListSites.", - "id": "ListSitesResponse", - "properties": { - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListSites` method to retrieve the next page of results.", - "type": "string" - }, - "sites": { - "description": "The list of sites. This list will be absent if empty.", - "items": { - "$ref": "Site" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListTargetingOptionsResponse": { - "description": "Response message for ListTargetingOptions.", - "id": "ListTargetingOptionsResponse", - "properties": { - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListTargetingOptions` method to retrieve the next page of results.", - "type": "string" - }, - "targetingOptions": { - "description": "The list of targeting options. This list will be absent if empty.", - "items": { - "$ref": "TargetingOption" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListUsersResponse": { - "id": "ListUsersResponse", - "properties": { - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListUsers` method to retrieve the next page of results. This token will be absent if there are no more results to return.", - "type": "string" - }, - "users": { - "description": "The list of users. This list will be absent if empty.", - "items": { - "$ref": "User" - }, - "type": "array" - } - }, - "type": "object" - }, - "LocationList": { - "description": "A list of locations used for targeting.", - "id": "LocationList", - "properties": { - "advertiserId": { - "description": "Required. Immutable. The unique ID of the advertiser the location list belongs to.", - "format": "int64", - "type": "string" - }, - "displayName": { - "description": "Required. The display name of the location list. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "locationListId": { - "description": "Output only. The unique ID of the location list. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "locationType": { - "description": "Required. Immutable. The type of location. All locations in the list will share this type.", - "enum": [ - "TARGETING_LOCATION_TYPE_UNSPECIFIED", - "TARGETING_LOCATION_TYPE_PROXIMITY", - "TARGETING_LOCATION_TYPE_REGIONAL" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown.", - "The type for proximity geo location.", - "The type for regional geo location." - ], - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the location list.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "LookbackWindow": { - "description": "Specifies how many days into the past to look when determining whether to record a conversion.", - "id": "LookbackWindow", - "properties": { - "clickDays": { - "description": "Lookback window, in days, from the last time a given user clicked on one of your ads.", - "format": "int32", - "type": "integer" - }, - "impressionDays": { - "description": "Lookback window, in days, from the last time a given user viewed one of your ads.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "LookupInvoiceCurrencyResponse": { - "id": "LookupInvoiceCurrencyResponse", - "properties": { - "currencyCode": { - "description": "Currency used by the advertiser in ISO 4217 format.", - "type": "string" - } - }, - "type": "object" - }, - "ManualTrigger": { - "description": "A single manual trigger in Display & Video 360. **Warning:** Line Items using manual triggers no longer serve in Display & Video 360. This resource will sunset on August 1, 2023. Read our [feature deprecation announcement](/display-video/api/deprecations#features.manual_triggers) for more information.", - "id": "ManualTrigger", - "properties": { - "activationDurationMinutes": { - "description": "Required. The maximum duration of each activation in minutes. Must be between 1 and 360 inclusive. After this duration, the trigger will be automatically deactivated.", - "format": "int64", - "type": "string" - }, - "advertiserId": { - "description": "Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to.", - "format": "int64", - "type": "string" - }, - "displayName": { - "description": "Required. The display name of the manual trigger. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "latestActivationTime": { - "description": "Output only. The timestamp of the trigger's latest activation.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the manual trigger.", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. The state of the manual trigger. Will be set to the `INACTIVE` state upon creation.", - "enum": [ - "STATE_UNSPECIFIED", - "INACTIVE", - "ACTIVE" - ], - "enumDescriptions": [ - "Default value when state is not specified or is unknown in this version.", - "The trigger is currently inactive and ready to be activated.", - "The trigger is currently active (activated)." - ], - "readOnly": true, - "type": "string" - }, - "triggerId": { - "description": "Output only. The unique ID of the manual trigger.", - "format": "int64", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "MaximizeSpendBidStrategy": { - "description": "A strategy that automatically adjusts the bid to optimize a specified performance goal while spending the full budget.", - "id": "MaximizeSpendBidStrategy", - "properties": { - "customBiddingAlgorithmId": { - "description": "The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`.", - "format": "int64", - "type": "string" - }, - "maxAverageCpmBidAmountMicros": { - "description": "The maximum average CPM that may be bid, in micros of the advertiser's currency. Must be greater than or equal to a billable unit of the given currency. For example, 1500000 represents 1.5 standard units of the currency.", - "format": "int64", - "type": "string" - }, - "performanceGoalType": { - "description": "Required. The type of the performance goal that the bidding strategy tries to minimize while spending the full budget. `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` is not supported for this strategy.", - "enum": [ - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Cost per action.", - "Cost per click.", - "Viewable CPM.", - "Custom bidding algorithm.", - "Completed inview and audible views.", - "Inview time over 10 secs views.", - "Viewable impressions." - ], - "type": "string" - }, - "raiseBidForDeals": { - "description": "Whether the strategy takes deal floor prices into account.", - "type": "boolean" - } - }, - "type": "object" - }, - "MeasurementConfig": { - "description": "Measurement settings of a partner.", - "id": "MeasurementConfig", - "properties": { - "dv360ToCmCostReportingEnabled": { - "description": "Whether or not to report DV360 cost to CM360.", - "type": "boolean" - }, - "dv360ToCmDataSharingEnabled": { - "description": "Whether or not to include DV360 data in CM360 data transfer reports.", - "type": "boolean" - } - }, - "type": "object" - }, - "MobileApp": { - "description": "A mobile app promoted by a mobile app install line item.", - "id": "MobileApp", - "properties": { - "appId": { - "description": "Required. The ID of the app provided by the platform store. Android apps are identified by the bundle ID used by Android's Play store, such as `com.google.android.gm`. iOS apps are identified by a nine-digit app ID used by Apple's App store, such as `422689480`.", - "type": "string" - }, - "displayName": { - "description": "Output only. The app name.", - "readOnly": true, - "type": "string" - }, - "platform": { - "description": "Output only. The app platform.", - "enum": [ - "PLATFORM_UNSPECIFIED", - "IOS", - "ANDROID" - ], - "enumDescriptions": [ - "Platform is not specified.", - "iOS platform.", - "Android platform." - ], - "readOnly": true, - "type": "string" - }, - "publisher": { - "description": "Output only. The app publisher.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "MobileDeviceIdList": { - "description": "Wrapper message for a list of mobile device IDs defining Customer Match audience members.", - "id": "MobileDeviceIdList", - "properties": { - "consent": { - "$ref": "Consent", - "description": "Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error." - }, - "mobileDeviceIds": { - "description": "A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn't be greater than 500,000.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Money": { - "description": "Represents an amount of money with its currency type.", - "id": "Money", - "properties": { - "currencyCode": { - "description": "The three-letter currency code defined in ISO 4217.", - "type": "string" - }, - "nanos": { - "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", - "format": "int32", - "type": "integer" - }, - "units": { - "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "NativeContentPositionAssignedTargetingOptionDetails": { - "description": "Details for native content position assigned targeting option. This will be populated in the native_content_position_details field when targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`. Explicitly targeting all options is not supported. Remove all native content position targeting options to achieve this effect.", - "id": "NativeContentPositionAssignedTargetingOptionDetails", - "properties": { - "contentPosition": { - "description": "Required. The content position.", - "enum": [ - "NATIVE_CONTENT_POSITION_UNSPECIFIED", - "NATIVE_CONTENT_POSITION_UNKNOWN", - "NATIVE_CONTENT_POSITION_IN_ARTICLE", - "NATIVE_CONTENT_POSITION_IN_FEED", - "NATIVE_CONTENT_POSITION_PERIPHERAL", - "NATIVE_CONTENT_POSITION_RECOMMENDATION" - ], - "enumDescriptions": [ - "Native content position is not specified in this version. This enum is a place holder for a default value and does not represent a real native content position.", - "The native content position is unknown.", - "Native content position is in-article, i.e., ads appear between the paragraphs of pages.", - "Native content position is in-feed, i.e., ads appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", - "Native content position is peripheral, i.e., ads appear outside of core content on pages, such as the right- or left-hand side of the page.", - "Native content position is recommendation, i.e., ads appear in sections for recommended content." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`.", - "type": "string" - } - }, - "type": "object" - }, - "NativeContentPositionTargetingOptionDetails": { - "description": "Represents a targetable native content position. This will be populated in the native_content_position_details field when targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`.", - "id": "NativeContentPositionTargetingOptionDetails", - "properties": { - "contentPosition": { - "description": "Output only. The content position.", - "enum": [ - "NATIVE_CONTENT_POSITION_UNSPECIFIED", - "NATIVE_CONTENT_POSITION_UNKNOWN", - "NATIVE_CONTENT_POSITION_IN_ARTICLE", - "NATIVE_CONTENT_POSITION_IN_FEED", - "NATIVE_CONTENT_POSITION_PERIPHERAL", - "NATIVE_CONTENT_POSITION_RECOMMENDATION" - ], - "enumDescriptions": [ - "Native content position is not specified in this version. This enum is a place holder for a default value and does not represent a real native content position.", - "The native content position is unknown.", - "Native content position is in-article, i.e., ads appear between the paragraphs of pages.", - "Native content position is in-feed, i.e., ads appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", - "Native content position is peripheral, i.e., ads appear outside of core content on pages, such as the right- or left-hand side of the page.", - "Native content position is recommendation, i.e., ads appear in sections for recommended content." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "NegativeKeyword": { - "description": "A negatively targeted keyword that belongs to a negative keyword list.", - "id": "NegativeKeyword", - "properties": { - "keywordValue": { - "description": "Required. Immutable. The negatively targeted keyword, for example `car insurance`. Must be UTF-8 encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10. Valid characters are restricted to ASCII characters only. The only URL-escaping permitted is for representing whitespace between words. Leading or trailing whitespace is ignored.", - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the negative keyword.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "NegativeKeywordList": { - "description": "A list of negative keywords used for targeting.", - "id": "NegativeKeywordList", - "properties": { - "advertiserId": { - "description": "Output only. The unique ID of the advertiser the negative keyword list belongs to.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "displayName": { - "description": "Required. The display name of the negative keyword list. Must be UTF-8 encoded with a maximum size of 255 bytes.", - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the negative keyword list.", - "readOnly": true, - "type": "string" - }, - "negativeKeywordListId": { - "description": "Output only. The unique ID of the negative keyword list. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "targetedLineItemCount": { - "description": "Output only. Number of line items that are directly targeting this negative keyword list.", - "format": "int64", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "NegativeKeywordListAssignedTargetingOptionDetails": { - "description": "Targeting details for negative keyword list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`.", - "id": "NegativeKeywordListAssignedTargetingOptionDetails", - "properties": { - "negativeKeywordListId": { - "description": "Required. ID of the negative keyword list. Should refer to the negative_keyword_list_id field of a NegativeKeywordList resource.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ObaIcon": { - "description": "OBA Icon for a Creative", - "id": "ObaIcon", - "properties": { - "clickTrackingUrl": { - "description": "Required. The click tracking URL of the OBA icon. Only URLs of the following domains are allowed: * https://info.evidon.com * https://l.betrad.com", - "type": "string" - }, - "dimensions": { - "$ref": "Dimensions", - "description": "The dimensions of the OBA icon." - }, - "landingPageUrl": { - "description": "Required. The landing page URL of the OBA icon. Only URLs of the following domains are allowed: * https://info.evidon.com * https://l.betrad.com", - "type": "string" - }, - "position": { - "description": "The position of the OBA icon on the creative.", - "enum": [ - "OBA_ICON_POSITION_UNSPECIFIED", - "OBA_ICON_POSITION_UPPER_RIGHT", - "OBA_ICON_POSITION_UPPER_LEFT", - "OBA_ICON_POSITION_LOWER_RIGHT", - "OBA_ICON_POSITION_LOWER_LEFT" - ], - "enumDescriptions": [ - "The OBA icon position is not specified.", - "At the upper right side of the creative.", - "At the upper left side of the creative.", - "At the lower right side of the creative.", - "At the lower left side of the creative." - ], - "type": "string" - }, - "program": { - "description": "The program of the OBA icon. For example: “AdChoices”.", - "type": "string" - }, - "resourceMimeType": { - "description": "The MIME type of the OBA icon resource.", - "type": "string" - }, - "resourceUrl": { - "description": "The URL of the OBA icon resource.", - "type": "string" - }, - "viewTrackingUrl": { - "description": "Required. The view tracking URL of the OBA icon. Only URLs of the following domains are allowed: * https://info.evidon.com * https://l.betrad.com", - "type": "string" - } - }, - "type": "object" - }, - "OmidAssignedTargetingOptionDetails": { - "description": "Represents a targetable Open Measurement enabled inventory type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_OMID`.", - "id": "OmidAssignedTargetingOptionDetails", - "properties": { - "omid": { - "description": "Required. The type of Open Measurement enabled inventory.", - "enum": [ - "OMID_UNSPECIFIED", - "OMID_FOR_MOBILE_DISPLAY_ADS" - ], - "enumDescriptions": [ - "Default value when omid targeting is not specified in this version.", - "Open Measurement enabled mobile display inventory." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_OMID`.", - "type": "string" - } - }, - "type": "object" - }, - "OmidTargetingOptionDetails": { - "description": "Represents a targetable Open Measurement enabled inventory type. This will be populated in the omid_details field when targeting_type is `TARGETING_TYPE_OMID`.", - "id": "OmidTargetingOptionDetails", - "properties": { - "omid": { - "description": "Output only. The type of Open Measurement enabled inventory.", - "enum": [ - "OMID_UNSPECIFIED", - "OMID_FOR_MOBILE_DISPLAY_ADS" - ], - "enumDescriptions": [ - "Default value when omid targeting is not specified in this version.", - "Open Measurement enabled mobile display inventory." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "OnScreenPositionAssignedTargetingOptionDetails": { - "description": "On screen position targeting option details. This will be populated in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.", - "id": "OnScreenPositionAssignedTargetingOptionDetails", - "properties": { - "adType": { - "description": "Output only. The ad type to target. Only applicable to insertion order targeting and new line items supporting the specified ad type will inherit this targeting option by default. Possible values are: * `AD_TYPE_DISPLAY`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`.", - "enum": [ - "AD_TYPE_UNSPECIFIED", - "AD_TYPE_DISPLAY", - "AD_TYPE_VIDEO", - "AD_TYPE_AUDIO" - ], - "enumDescriptions": [ - "Ad type is not specified or is unknown in this version.", - "Display creatives, e.g. image and HTML5.", - "Video creatives, e.g. video ads that play during streaming content in video players.", - "Audio creatives, e.g. audio ads that play during audio content." - ], - "readOnly": true, - "type": "string" - }, - "onScreenPosition": { - "description": "Output only. The on screen position.", - "enum": [ - "ON_SCREEN_POSITION_UNSPECIFIED", - "ON_SCREEN_POSITION_UNKNOWN", - "ON_SCREEN_POSITION_ABOVE_THE_FOLD", - "ON_SCREEN_POSITION_BELOW_THE_FOLD" - ], - "enumDescriptions": [ - "On screen position is not specified in this version. This enum is a place holder for a default value and does not represent a real on screen position.", - "The ad position is unknown on the screen.", - "The ad is located above the fold.", - "The ad is located below the fold." - ], - "readOnly": true, - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.", - "type": "string" - } - }, - "type": "object" - }, - "OnScreenPositionTargetingOptionDetails": { - "description": "Represents a targetable on screen position, which could be used by display and video ads. This will be populated in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.", - "id": "OnScreenPositionTargetingOptionDetails", - "properties": { - "onScreenPosition": { - "description": "Output only. The on screen position.", - "enum": [ - "ON_SCREEN_POSITION_UNSPECIFIED", - "ON_SCREEN_POSITION_UNKNOWN", - "ON_SCREEN_POSITION_ABOVE_THE_FOLD", - "ON_SCREEN_POSITION_BELOW_THE_FOLD" - ], - "enumDescriptions": [ - "On screen position is not specified in this version. This enum is a place holder for a default value and does not represent a real on screen position.", - "The ad position is unknown on the screen.", - "The ad is located above the fold.", - "The ad is located below the fold." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "OperatingSystemAssignedTargetingOptionDetails": { - "description": "Assigned operating system targeting option details. This will be populated in the operating_system_details field when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.", - "id": "OperatingSystemAssignedTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the operating system.", - "readOnly": true, - "type": "string" - }, - "negative": { - "description": "Indicates if this option is being negatively targeted.", - "type": "boolean" - }, - "targetingOptionId": { - "description": "Required. The targeting option ID populated in targeting_option_id field when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.", - "type": "string" - } - }, - "type": "object" - }, - "OperatingSystemTargetingOptionDetails": { - "description": "Represents a targetable operating system. This will be populated in the operating_system_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.", - "id": "OperatingSystemTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the operating system.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "Pacing": { - "description": "Settings that control the rate at which a budget is spent.", - "id": "Pacing", - "properties": { - "dailyMaxImpressions": { - "description": "Maximum number of impressions to serve every day. Applicable when the budget is impression based. Must be greater than 0.", - "format": "int64", - "type": "string" - }, - "dailyMaxMicros": { - "description": "Maximum currency amount to spend every day in micros of advertiser's currency. Applicable when the budget is currency based. Must be greater than 0. For example, for 1.5 standard unit of the currency, set this field to 1500000. The value assigned will be rounded to whole billable units for the relevant currency by the following rules: any positive value less than a single billable unit will be rounded up to one billable unit and any value larger than a single billable unit will be rounded down to the nearest billable value. For example, if the currency's billable unit is 0.01, and this field is set to 10257770, it will round down to 10250000, a value of 10.25. If set to 505, it will round up to 10000, a value of 0.01.", - "format": "int64", - "type": "string" - }, - "pacingPeriod": { - "description": "Required. The time period in which the pacing budget will be spent. When automatic budget allocation is enabled at the insertion order via automationType, this field is output only and defaults to `PACING_PERIOD_FLIGHT`.", - "enum": [ - "PACING_PERIOD_UNSPECIFIED", - "PACING_PERIOD_DAILY", - "PACING_PERIOD_FLIGHT" - ], - "enumDescriptions": [ - "Period value is not specified or is unknown in this version.", - "The pacing setting will be applied on daily basis.", - "The pacing setting will be applied to the whole flight duration." - ], - "type": "string" - }, - "pacingType": { - "description": "Required. The type of pacing that defines how the budget amount will be spent across the pacing_period.", - "enum": [ - "PACING_TYPE_UNSPECIFIED", - "PACING_TYPE_AHEAD", - "PACING_TYPE_ASAP", - "PACING_TYPE_EVEN" - ], - "enumDescriptions": [ - "Pacing mode value is not specified or is unknown in this version.", - "Only applicable to `PACING_PERIOD_FLIGHT` pacing period. Ahead pacing attempts to spend faster than evenly, to make sure the entire budget is spent by the end of the flight.", - "Spend all of pacing budget amount as quick as possible.", - "Spend a consistent budget amount every period of time." - ], - "type": "string" - } - }, - "type": "object" - }, - "ParentEntityFilter": { - "description": "A filtering option that filters on selected file types belonging to a chosen set of filter entities.", - "id": "ParentEntityFilter", - "properties": { - "fileType": { - "description": "Required. File types that will be returned.", - "items": { - "enum": [ - "FILE_TYPE_UNSPECIFIED", - "FILE_TYPE_CAMPAIGN", - "FILE_TYPE_MEDIA_PRODUCT", - "FILE_TYPE_INSERTION_ORDER", - "FILE_TYPE_LINE_ITEM", - "FILE_TYPE_AD_GROUP", - "FILE_TYPE_AD" - ], - "enumDescriptions": [ - "Default value when type is unspecified or is unknown in this version.", - "Campaign.", - "Media Product.", - "Insertion Order.", - "Line Item.", - "YouTube Ad Group.", - "YouTube Ad." - ], - "type": "string" - }, - "type": "array" - }, - "filterIds": { - "description": "The IDs of the specified filter type. This is used to filter entities to fetch. If filter type is not `FILTER_TYPE_NONE`, at least one ID must be specified.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "filterType": { - "description": "Required. Filter type used to filter fetched entities.", - "enum": [ - "FILTER_TYPE_UNSPECIFIED", - "FILTER_TYPE_NONE", - "FILTER_TYPE_ADVERTISER_ID", - "FILTER_TYPE_CAMPAIGN_ID", - "FILTER_TYPE_MEDIA_PRODUCT_ID", - "FILTER_TYPE_INSERTION_ORDER_ID", - "FILTER_TYPE_LINE_ITEM_ID" - ], - "enumDescriptions": [ - "Default value when type is unspecified or is unknown in this version.", - "If selected, no filter will be applied to the download. Can only be used if an Advertiser is specified in CreateSdfDownloadTaskRequest.", - "Advertiser ID. If selected, all filter IDs must be Advertiser IDs that belong to the Partner specified in CreateSdfDownloadTaskRequest.", - "Campaign ID. If selected, all filter IDs must be Campaign IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", - "Media Product ID. If selected, all filter IDs must be Media Product IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Can only be used for downloading `FILE_TYPE_MEDIA_PRODUCT`.", - "Insertion Order ID. If selected, all filter IDs must be Insertion Order IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Can only be used for downloading `FILE_TYPE_INSERTION_ORDER`, `FILE_TYPE_LINE_ITEM`, `FILE_TYPE_AD_GROUP`, and `FILE_TYPE_AD`.", - "Line Item ID. If selected, all filter IDs must be Line Item IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Can only be used for downloading `FILE_TYPE_LINE_ITEM`, `FILE_TYPE_AD_GROUP`, and `FILE_TYPE_AD`." - ], - "type": "string" - } - }, - "type": "object" - }, - "ParentalStatusAssignedTargetingOptionDetails": { - "description": "Details for assigned parental status targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`.", - "id": "ParentalStatusAssignedTargetingOptionDetails", - "properties": { - "parentalStatus": { - "description": "Required. The parental status of the audience.", - "enum": [ - "PARENTAL_STATUS_UNSPECIFIED", - "PARENTAL_STATUS_PARENT", - "PARENTAL_STATUS_NOT_A_PARENT", - "PARENTAL_STATUS_UNKNOWN" - ], - "enumDescriptions": [ - "Default value when parental status is not specified in this version. This enum is a place holder for default value and does not represent a real parental status option.", - "The audience is a parent.", - "The audience is not a parent.", - "The parental status of the audience is unknown." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_PARENTAL_STATUS`.", - "type": "string" - } - }, - "type": "object" - }, - "ParentalStatusTargetingOptionDetails": { - "description": "Represents a targetable parental status. This will be populated in the parental_status_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`.", - "id": "ParentalStatusTargetingOptionDetails", - "properties": { - "parentalStatus": { - "description": "Output only. The parental status of an audience.", - "enum": [ - "PARENTAL_STATUS_UNSPECIFIED", - "PARENTAL_STATUS_PARENT", - "PARENTAL_STATUS_NOT_A_PARENT", - "PARENTAL_STATUS_UNKNOWN" - ], - "enumDescriptions": [ - "Default value when parental status is not specified in this version. This enum is a place holder for default value and does not represent a real parental status option.", - "The audience is a parent.", - "The audience is not a parent.", - "The parental status of the audience is unknown." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Partner": { - "description": "A single partner in Display & Video 360 (DV360).", - "id": "Partner", - "properties": { - "adServerConfig": { - "$ref": "PartnerAdServerConfig", - "description": "Ad server related settings of the partner." - }, - "dataAccessConfig": { - "$ref": "PartnerDataAccessConfig", - "description": "Settings that control how partner data may be accessed." - }, - "displayName": { - "description": "The display name of the partner. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "entityStatus": { - "description": "Output only. The status of the partner.", - "enum": [ - "ENTITY_STATUS_UNSPECIFIED", - "ENTITY_STATUS_ACTIVE", - "ENTITY_STATUS_ARCHIVED", - "ENTITY_STATUS_DRAFT", - "ENTITY_STATUS_PAUSED", - "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - ], - "enumDescriptions": [ - "Default value when status is not specified or is unknown in this version.", - "The entity is enabled to bid and spend budget.", - "The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", - "The entity is under draft. Bidding and budget spending are disabled.", - "Bidding and budget spending are paused for the entity.", - "The entity is scheduled for deletion." - ], - "readOnly": true, - "type": "string" - }, - "exchangeConfig": { - "$ref": "ExchangeConfig", - "description": "Settings that control which exchanges are enabled for the partner." - }, - "generalConfig": { - "$ref": "PartnerGeneralConfig", - "description": "General settings of the partner." - }, - "name": { - "description": "Output only. The resource name of the partner.", - "readOnly": true, - "type": "string" - }, - "partnerId": { - "description": "Output only. The unique ID of the partner. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. The timestamp when the partner was last updated. Assigned by the system.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "PartnerAdServerConfig": { - "description": "Ad server related settings of a partner.", - "id": "PartnerAdServerConfig", - "properties": { - "measurementConfig": { - "$ref": "MeasurementConfig", - "description": "Measurement settings of a partner." - } - }, - "type": "object" - }, - "PartnerCost": { - "description": "Settings that control a partner cost. A partner cost is any type of expense involved in running a campaign, other than the costs of purchasing impressions (which is called the media cost) and using third-party audience segment data (data fee). Some examples of partner costs include the fees for using DV360, a third-party ad server, or a third-party ad serving verification service.", - "id": "PartnerCost", - "properties": { - "costType": { - "description": "Required. The type of the partner cost.", - "enum": [ - "PARTNER_COST_TYPE_UNSPECIFIED", - "PARTNER_COST_TYPE_ADLOOX", - "PARTNER_COST_TYPE_ADLOOX_PREBID", - "PARTNER_COST_TYPE_ADSAFE", - "PARTNER_COST_TYPE_ADXPOSE", - "PARTNER_COST_TYPE_AGGREGATE_KNOWLEDGE", - "PARTNER_COST_TYPE_AGENCY_TRADING_DESK", - "PARTNER_COST_TYPE_DV360_FEE", - "PARTNER_COST_TYPE_COMSCORE_VCE", - "PARTNER_COST_TYPE_DATA_MANAGEMENT_PLATFORM", - "PARTNER_COST_TYPE_DEFAULT", - "PARTNER_COST_TYPE_DOUBLE_VERIFY", - "PARTNER_COST_TYPE_DOUBLE_VERIFY_PREBID", - "PARTNER_COST_TYPE_EVIDON", - "PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_VIDEO", - "PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_PREBID", - "PARTNER_COST_TYPE_MEDIA_COST_DATA", - "PARTNER_COST_TYPE_MOAT_VIDEO", - "PARTNER_COST_TYPE_NIELSEN_DAR", - "PARTNER_COST_TYPE_SHOP_LOCAL", - "PARTNER_COST_TYPE_TERACENT", - "PARTNER_COST_TYPE_THIRD_PARTY_AD_SERVER", - "PARTNER_COST_TYPE_TRUST_METRICS", - "PARTNER_COST_TYPE_VIZU", - "PARTNER_COST_TYPE_ADLINGO_FEE", - "PARTNER_COST_TYPE_CUSTOM_FEE_1", - "PARTNER_COST_TYPE_CUSTOM_FEE_2", - "PARTNER_COST_TYPE_CUSTOM_FEE_3", - "PARTNER_COST_TYPE_CUSTOM_FEE_4", - "PARTNER_COST_TYPE_CUSTOM_FEE_5", - "PARTNER_COST_TYPE_SCIBIDS_FEE" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "The cost is charged for using Adloox. Billed by the partner.", - "The cost is charged for using Adloox Pre-Bid. Billed through DV360.", - "The cost is charged for using AdSafe. Billed by the partner.", - "The cost is charged for using AdExpose. Billed by the partner.", - "The cost is charged for using Aggregate Knowledge. Billed by the partner.", - "The cost is charged for using an Agency Trading Desk. Billed by the partner.", - "The cost is charged for using DV360. Billed through DV360.", - "The cost is charged for using comScore vCE. Billed through DV360.", - "The cost is charged for using a Data Management Platform. Billed by the partner.", - "The default cost type. Billed by the partner.", - "The cost is charged for using DoubleVerify. Billed by the partner.", - "The cost is charged for using DoubleVerify Pre-Bid. Billed through DV360.", - "The cost is charged for using Evidon. Billed by the partner.", - "The cost is charged for using Integral Ad Science Video. Billed by the partner.", - "The cost is charged for using Integral Ad Science Pre-Bid. Billed through DV360.", - "The cost is charged for using media cost data. Billed by the partner.", - "The cost is charged for using MOAT Video. Billed by the partner.", - "The cost is charged for using Nielsen Digital Ad Ratings. Billed through DV360.", - "The cost is charged for using ShopLocal. Billed by the partner.", - "The cost is charged for using Teracent. Billed by the partner.", - "The cost is charged for using a third-party ad server. Billed by the partner.", - "The cost is charged for using TrustMetrics. Billed by the partner.", - "The cost is charged for using Vizu. Billed by the partner.", - "The cost is charged for using AdLingo. Billed through DV360.", - "The cost is charged as custom fee 1. Billed by the partner.", - "The cost is charged as custom fee 2. Billed by the partner.", - "The cost is charged as custom fee 3. Billed by the partner.", - "The cost is charged as custom fee 4. Billed by the partner.", - "The cost is charged as custom fee 5. Billed by the partner.", - "The cost is charged for using Scibids. Billed through DV360. This type is currently only available to certain customers. Other customers attempting to use this type will receive an error." - ], - "type": "string" - }, - "feeAmount": { - "description": "The CPM fee amount in micros of advertiser's currency. Applicable when the fee_type is `PARTNER_FEE_TYPE_CPM_FEE`. Must be greater than or equal to 0. For example, for 1.5 standard unit of the advertiser's currency, set this field to 1500000.", - "format": "int64", - "type": "string" - }, - "feePercentageMillis": { - "description": "The media fee percentage in millis (1/1000 of a percent). Applicable when the fee_type is `PARTNER_FEE_TYPE_MEDIA_FEE`. Must be greater than or equal to 0. For example: 100 represents 0.1%.", - "format": "int64", - "type": "string" - }, - "feeType": { - "description": "Required. The fee type for this partner cost.", - "enum": [ - "PARTNER_COST_FEE_TYPE_UNSPECIFIED", - "PARTNER_COST_FEE_TYPE_CPM_FEE", - "PARTNER_COST_FEE_TYPE_MEDIA_FEE" - ], - "enumDescriptions": [ - "Value is not specified or is unknown in this version.", - "The partner cost is a fixed CPM fee. Not applicable when the partner cost cost_type is one of: * `PARTNER_COST_TYPE_MEDIA_COST_DATA` * `PARTNER_COST_TYPE_DV360_FEE`.", - "The partner cost is a percentage surcharge based on the media cost. Not applicable when the partner cost_type is one of: * `PARTNER_COST_TYPE_SHOP_LOCAL` * `PARTNER_COST_TYPE_TRUST_METRICS` * `PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_VIDEO` * `PARTNER_COST_TYPE_MOAT_VIDEO`." - ], - "type": "string" - }, - "invoiceType": { - "description": "The invoice type for this partner cost. * Required when cost_type is one of: - `PARTNER_COST_TYPE_ADLOOX` - `PARTNER_COST_TYPE_DOUBLE_VERIFY` - `PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE`. * Output only for other types.", - "enum": [ - "PARTNER_COST_INVOICE_TYPE_UNSPECIFIED", - "PARTNER_COST_INVOICE_TYPE_DV360", - "PARTNER_COST_INVOICE_TYPE_PARTNER" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Partner cost is billed through DV360.", - "Partner cost is billed by the partner." - ], - "type": "string" - } - }, - "type": "object" - }, - "PartnerDataAccessConfig": { - "description": "Settings that control how partner related data may be accessed.", - "id": "PartnerDataAccessConfig", - "properties": { - "sdfConfig": { - "$ref": "SdfConfig", - "description": "Structured Data Files (SDF) settings for the partner. The SDF configuration for the partner." - } - }, - "type": "object" - }, - "PartnerGeneralConfig": { - "description": "General settings of a partner.", - "id": "PartnerGeneralConfig", - "properties": { - "currencyCode": { - "description": "Immutable. Partner's currency in ISO 4217 format.", - "type": "string" - }, - "timeZone": { - "description": "Immutable. The standard TZ database name of the partner's time zone. For example, `America/New_York`. See more at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones", - "type": "string" - } - }, - "type": "object" - }, - "PartnerRevenueModel": { - "description": "Settings that control how partner revenue is calculated.", - "id": "PartnerRevenueModel", - "properties": { - "markupAmount": { - "description": "Required. The markup amount of the partner revenue model. Must be greater than or equal to 0. * When the markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`, this field represents the CPM markup in micros of advertiser's currency. For example, 1500000 represents 1.5 standard units of the currency. * When the markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP`, this field represents the media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001). * When the markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP`, this field represents the total media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001).", - "format": "int64", - "type": "string" - }, - "markupType": { - "description": "Required. The markup type of the partner revenue model.", - "enum": [ - "PARTNER_REVENUE_MODEL_MARKUP_TYPE_UNSPECIFIED", - "PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM", - "PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP", - "PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP" - ], - "enumDeprecated": [ - false, - false, - true, - false - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Calculate the partner revenue based on a fixed CPM.", - "Calculate the partner revenue based on a percentage surcharge of its media cost.", - "Calculate the partner revenue based on a percentage surcharge of its total media cost, which includes all partner costs and data costs." - ], - "type": "string" - } - }, - "type": "object" - }, - "PerformanceGoal": { - "description": "Settings that control the performance goal of a campaign.", - "id": "PerformanceGoal", - "properties": { - "performanceGoalAmountMicros": { - "description": "The goal amount, in micros of the advertiser's currency. Applicable when performance_goal_type is one of: * `PERFORMANCE_GOAL_TYPE_CPM` * `PERFORMANCE_GOAL_TYPE_CPC` * `PERFORMANCE_GOAL_TYPE_CPA` * `PERFORMANCE_GOAL_TYPE_CPIAVC` * `PERFORMANCE_GOAL_TYPE_VCPM` For example 1500000 represents 1.5 standard units of the currency.", - "format": "int64", - "type": "string" - }, - "performanceGoalPercentageMicros": { - "description": "The decimal representation of the goal percentage in micros. Applicable when performance_goal_type is one of: * `PERFORMANCE_GOAL_TYPE_CTR` * `PERFORMANCE_GOAL_TYPE_VIEWABILITY` * `PERFORMANCE_GOAL_TYPE_CLICK_CVR` * `PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR` * `PERFORMANCE_GOAL_TYPE_VTR` * `PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE` * `PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE` For example, 70000 represents 7% (decimal 0.07).", - "format": "int64", - "type": "string" - }, - "performanceGoalString": { - "description": "A key performance indicator (KPI) string, which can be empty. Must be UTF-8 encoded with a length of no more than 100 characters. Applicable when performance_goal_type is set to `PERFORMANCE_GOAL_TYPE_OTHER`.", - "type": "string" - }, - "performanceGoalType": { - "description": "Required. The type of the performance goal.", - "enum": [ - "PERFORMANCE_GOAL_TYPE_UNSPECIFIED", - "PERFORMANCE_GOAL_TYPE_CPM", - "PERFORMANCE_GOAL_TYPE_CPC", - "PERFORMANCE_GOAL_TYPE_CPA", - "PERFORMANCE_GOAL_TYPE_CTR", - "PERFORMANCE_GOAL_TYPE_VIEWABILITY", - "PERFORMANCE_GOAL_TYPE_CPIAVC", - "PERFORMANCE_GOAL_TYPE_CPE", - "PERFORMANCE_GOAL_TYPE_CLICK_CVR", - "PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR", - "PERFORMANCE_GOAL_TYPE_VCPM", - "PERFORMANCE_GOAL_TYPE_VTR", - "PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE", - "PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE", - "PERFORMANCE_GOAL_TYPE_OTHER" - ], - "enumDescriptions": [ - "Performance goal type is not specified or is unknown in this version.", - "The performance goal is set in CPM (cost per mille).", - "The performance goal is set in CPC (cost per click).", - "The performance goal is set in CPA (cost per action).", - "The performance goal is set in CTR (click-through rate) percentage.", - "The performance goal is set in Viewability percentage.", - "The performance goal is set as CPIAVC (cost per impression audible and visible at completion).", - "The performance goal is set in CPE (cost per engagement).", - "The performance goal is set in click conversion rate (conversions per click) percentage.", - "The performance goal is set in impression conversion rate (conversions per impression) percentage.", - "The performance goal is set in VCPM (cost per thousand viewable impressions).", - "The performance goal is set in YouTube view rate (YouTube views per impression) percentage.", - "The performance goal is set in audio completion rate (complete audio listens per impression) percentage.", - "The performance goal is set in video completion rate (complete video views per impression) percentage.", - "The performance goal is set to Other." - ], - "type": "string" - } - }, - "type": "object" - }, - "PerformanceGoalBidStrategy": { - "description": "A strategy that automatically adjusts the bid to meet or beat a specified performance goal.", - "id": "PerformanceGoalBidStrategy", - "properties": { - "customBiddingAlgorithmId": { - "description": "The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`.", - "format": "int64", - "type": "string" - }, - "maxAverageCpmBidAmountMicros": { - "description": "The maximum average CPM that may be bid, in micros of the advertiser's currency. Must be greater than or equal to a billable unit of the given currency. Not applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`. For example, 1500000 represents 1.5 standard units of the currency.", - "format": "int64", - "type": "string" - }, - "performanceGoalAmountMicros": { - "description": "Required. The performance goal the bidding strategy will attempt to meet or beat, in micros of the advertiser's currency or in micro of the ROAS (Return On Advertising Spend) value which is also based on advertiser's currency. Must be greater than or equal to a billable unit of the given currency and smaller or equal to upper bounds. Each performance_goal_type has its upper bound: * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA`, upper bound is 10000.00 USD. * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC`, upper bound is 1000.00 USD. * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, upper bound is 1000.00 USD. * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`, upper bound is 1000.00 and lower bound is 0.01. Example: If set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, the bid price will be based on the probability that each available impression will be viewable. For example, if viewable CPM target is $2 and an impression is 40% likely to be viewable, the bid price will be $0.80 CPM (40% of $2). For example, 1500000 represents 1.5 standard units of the currency or ROAS value.", - "format": "int64", - "type": "string" - }, - "performanceGoalType": { - "description": "Required. The type of the performance goal that the bidding strategy will try to meet or beat. For line item level usage, the value must be one of: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`.", - "enum": [ - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN", - "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Cost per action.", - "Cost per click.", - "Viewable CPM.", - "Custom bidding algorithm.", - "Completed inview and audible views.", - "Inview time over 10 secs views.", - "Viewable impressions." - ], - "type": "string" - } - }, - "type": "object" - }, - "PoiAssignedTargetingOptionDetails": { - "description": "Details for assigned POI targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_POI`.", - "id": "PoiAssignedTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of a POI, e.g. \"Times Square\", \"Space Needle\", followed by its full address if available.", - "readOnly": true, - "type": "string" - }, - "latitude": { - "description": "Output only. Latitude of the POI rounding to 6th decimal place.", - "format": "double", - "readOnly": true, - "type": "number" - }, - "longitude": { - "description": "Output only. Longitude of the POI rounding to 6th decimal place.", - "format": "double", - "readOnly": true, - "type": "number" - }, - "proximityRadiusAmount": { - "description": "Required. The radius of the area around the POI that will be targeted. The units of the radius are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is `DISTANCE_UNIT_MILES`.", - "format": "double", - "type": "number" - }, - "proximityRadiusUnit": { - "description": "Required. The unit of distance by which the targeting radius is measured.", - "enum": [ - "DISTANCE_UNIT_UNSPECIFIED", - "DISTANCE_UNIT_MILES", - "DISTANCE_UNIT_KILOMETERS" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "Miles.", - "Kilometers." - ], - "type": "string" - }, - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_POI`. Accepted POI targeting option IDs can be retrieved using `targetingTypes.targetingOptions.search`. If targeting a specific latitude/longitude coordinate removed from an address or POI name, you can generate the necessary targeting option ID by rounding the desired coordinate values to the 6th decimal place, removing the decimals, and concatenating the string values separated by a semicolon. For example, you can target the latitude/longitude pair of 40.7414691, -74.003387 using the targeting option ID \"40741469;-74003387\". **Upon** **creation, this field value will be updated to append a semicolon and** **alphanumerical hash value if only latitude/longitude coordinates are** **provided.**", - "type": "string" - } - }, - "type": "object" - }, - "PoiSearchTerms": { - "description": "Search terms for POI targeting options.", - "id": "PoiSearchTerms", - "properties": { - "poiQuery": { - "description": "The search query for the desired POI name, street address, or coordinate of the desired POI. The query can be a prefix, e.g. \"Times squar\", \"40.7505045,-73.99562\", \"315 W 44th St\", etc.", - "type": "string" - } - }, - "type": "object" - }, - "PoiTargetingOptionDetails": { - "description": "Represents a targetable point of interest(POI). This will be populated in the poi_details field when targeting_type is `TARGETING_TYPE_POI`.", - "id": "PoiTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of a POI(e.g. \"Times Square\", \"Space Needle\"), followed by its full address if available.", - "readOnly": true, - "type": "string" - }, - "latitude": { - "description": "Output only. Latitude of the POI rounding to 6th decimal place.", - "format": "double", - "readOnly": true, - "type": "number" - }, - "longitude": { - "description": "Output only. Longitude of the POI rounding to 6th decimal place.", - "format": "double", - "readOnly": true, - "type": "number" - } - }, - "type": "object" - }, - "PrismaConfig": { - "description": "Settings specific to the Mediaocean Prisma tool.", - "id": "PrismaConfig", - "properties": { - "prismaCpeCode": { - "$ref": "PrismaCpeCode", - "description": "Required. Relevant client, product, and estimate codes from the Mediaocean Prisma tool." - }, - "prismaType": { - "description": "Required. The Prisma type.", - "enum": [ - "PRISMA_TYPE_UNSPECIFIED", - "PRISMA_TYPE_DISPLAY", - "PRISMA_TYPE_SEARCH", - "PRISMA_TYPE_VIDEO", - "PRISMA_TYPE_AUDIO", - "PRISMA_TYPE_SOCIAL", - "PRISMA_TYPE_FEE" - ], - "enumDescriptions": [ - "Type is not specified or unknown in this version.", - "Display type.", - "Search type.", - "Video type.", - "Audio type.", - "Social type.", - "Fee type." - ], - "type": "string" - }, - "supplier": { - "description": "Required. The entity allocated this budget (DSP, site, etc.).", - "type": "string" - } - }, - "type": "object" - }, - "PrismaCpeCode": { - "description": "Google Payments Center supports searching and filtering on the component fields of this code.", - "id": "PrismaCpeCode", - "properties": { - "prismaClientCode": { - "description": "The Prisma client code.", - "type": "string" - }, - "prismaEstimateCode": { - "description": "The Prisma estimate code.", - "type": "string" - }, - "prismaProductCode": { - "description": "The Prisma product code.", - "type": "string" - } - }, - "type": "object" - }, - "ProximityLocationListAssignedTargetingOptionDetails": { - "description": "Targeting details for proximity location list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`.", - "id": "ProximityLocationListAssignedTargetingOptionDetails", - "properties": { - "proximityLocationListId": { - "description": "Required. ID of the proximity location list. Should refer to the location_list_id field of a LocationList resource whose type is `TARGETING_LOCATION_TYPE_PROXIMITY`.", - "format": "int64", - "type": "string" - }, - "proximityRadiusRange": { - "description": "Required. Radius range for proximity location list. This represents the size of the area around a chosen location that will be targeted. `All` proximity location targeting under a single resource must have the same radius range value. Set this value to match any existing targeting. If updated, this field will change the radius range for all proximity targeting under the resource.", - "enum": [ - "PROXIMITY_RADIUS_RANGE_UNSPECIFIED", - "PROXIMITY_RADIUS_RANGE_SMALL", - "PROXIMITY_RADIUS_RANGE_MEDIUM", - "PROXIMITY_RADIUS_RANGE_LARGE" - ], - "enumDescriptions": [ - "The targeted radius range is not specified or is unknown. Default value when radius range is not specified in this version. This enum is a placeholder for default value and does not represent a real radius range option.", - "The targeted radius range is small.", - "The targeted radius range is medium.", - "The targeted radius range is large." - ], - "type": "string" - } - }, - "type": "object" - }, - "PublisherReviewStatus": { - "description": "Publisher review status for the creative.", - "id": "PublisherReviewStatus", - "properties": { - "publisherName": { - "description": "The publisher reviewing the creative.", - "type": "string" - }, - "status": { - "description": "Status of the publisher review.", - "enum": [ - "REVIEW_STATUS_UNSPECIFIED", - "REVIEW_STATUS_APPROVED", - "REVIEW_STATUS_REJECTED", - "REVIEW_STATUS_PENDING" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "The creative is approved.", - "The creative is rejected.", - "The creative is pending review." - ], - "type": "string" - } - }, - "type": "object" - }, - "RateDetails": { - "description": "The rate related settings of the inventory source.", - "id": "RateDetails", - "properties": { - "inventorySourceRateType": { - "description": "The rate type. Acceptable values are `INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED`, `INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR`, and `INVENTORY_SOURCE_RATE_TYPE_CPD`.", - "enum": [ - "INVENTORY_SOURCE_RATE_TYPE_UNSPECIFIED", - "INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED", - "INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR", - "INVENTORY_SOURCE_RATE_TYPE_CPD", - "INVENTORY_SOURCE_RATE_TYPE_FLAT" - ], - "enumDescriptions": [ - "The rate type is not specified or is unknown in this version.", - "The rate type is CPM (Fixed).", - "The rate type is CPM (Floor).", - "The rate type is Cost per Day.", - "The rate type is Flat." - ], - "type": "string" - }, - "minimumSpend": { - "$ref": "Money", - "description": "Output only. The amount that the buyer has committed to spending on the inventory source up front. Only applicable for guaranteed inventory sources.", - "readOnly": true - }, - "rate": { - "$ref": "Money", - "description": "The rate for the inventory source." - }, - "unitsPurchased": { - "description": "Required for guaranteed inventory sources. The number of impressions guaranteed by the seller.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "RegionalLocationListAssignedTargetingOptionDetails": { - "description": "Targeting details for regional location list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`.", - "id": "RegionalLocationListAssignedTargetingOptionDetails", - "properties": { - "negative": { - "description": "Indicates if this option is being negatively targeted.", - "type": "boolean" - }, - "regionalLocationListId": { - "description": "Required. ID of the regional location list. Should refer to the location_list_id field of a LocationList resource whose type is `TARGETING_LOCATION_TYPE_REGIONAL`.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ReplaceNegativeKeywordsRequest": { - "description": "Request message for NegativeKeywordService.ReplaceNegativeKeywords.", - "id": "ReplaceNegativeKeywordsRequest", - "properties": { - "newNegativeKeywords": { - "description": "The negative keywords that will replace the existing keywords in the negative keyword list, specified as a list of NegativeKeywords.", - "items": { - "$ref": "NegativeKeyword" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReplaceNegativeKeywordsResponse": { - "description": "Response message for NegativeKeywordService.ReplaceNegativeKeywords.", - "id": "ReplaceNegativeKeywordsResponse", - "properties": { - "negativeKeywords": { - "description": "The full list of negative keywords now present in the negative keyword list.", - "items": { - "$ref": "NegativeKeyword" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReplaceSitesRequest": { - "description": "Request message for SiteService.ReplaceSites.", - "id": "ReplaceSitesRequest", - "properties": { - "advertiserId": { - "description": "The ID of the advertiser that owns the parent channel.", - "format": "int64", - "type": "string" - }, - "newSites": { - "description": "The sites that will replace the existing sites assigned to the channel, specified as a list of Sites.", - "items": { - "$ref": "Site" - }, - "type": "array" - }, - "partnerId": { - "description": "The ID of the partner that owns the parent channel.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ReplaceSitesResponse": { - "description": "Response message for SiteService.ReplaceSites.", - "id": "ReplaceSitesResponse", - "properties": { - "sites": { - "description": "The list of sites in the channel after replacing.", - "items": { - "$ref": "Site" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReviewStatusInfo": { - "description": "Review statuses for the creative.", - "id": "ReviewStatusInfo", - "properties": { - "approvalStatus": { - "description": "Represents the basic approval needed for a creative to begin serving. Summary of creative_and_landing_page_review_status and content_and_policy_review_status.", - "enum": [ - "APPROVAL_STATUS_UNSPECIFIED", - "APPROVAL_STATUS_PENDING_NOT_SERVABLE", - "APPROVAL_STATUS_PENDING_SERVABLE", - "APPROVAL_STATUS_APPROVED_SERVABLE", - "APPROVAL_STATUS_REJECTED_NOT_SERVABLE" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "The creative is still under review and not servable.", - "The creative has passed creative & landing page review and is servable, but is awaiting additional content & policy review.", - "Both creative & landing page review and content & policy review are approved. The creative is servable.", - "There is an issue with the creative that must be fixed before it can serve." - ], - "type": "string" - }, - "contentAndPolicyReviewStatus": { - "description": "Content and policy review status for the creative.", - "enum": [ - "REVIEW_STATUS_UNSPECIFIED", - "REVIEW_STATUS_APPROVED", - "REVIEW_STATUS_REJECTED", - "REVIEW_STATUS_PENDING" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "The creative is approved.", - "The creative is rejected.", - "The creative is pending review." - ], - "type": "string" - }, - "creativeAndLandingPageReviewStatus": { - "description": "Creative and landing page review status for the creative.", - "enum": [ - "REVIEW_STATUS_UNSPECIFIED", - "REVIEW_STATUS_APPROVED", - "REVIEW_STATUS_REJECTED", - "REVIEW_STATUS_PENDING" - ], - "enumDescriptions": [ - "Type value is not specified or is unknown in this version.", - "The creative is approved.", - "The creative is rejected.", - "The creative is pending review." - ], - "type": "string" - }, - "exchangeReviewStatuses": { - "description": "Exchange review statuses for the creative.", - "items": { - "$ref": "ExchangeReviewStatus" - }, - "type": "array" - }, - "publisherReviewStatuses": { - "description": "Publisher review statuses for the creative.", - "items": { - "$ref": "PublisherReviewStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "ScriptError": { - "description": "An error message for a custom bidding script.", - "id": "ScriptError", - "properties": { - "column": { - "description": "The column number in the script where the error was thrown.", - "format": "int64", - "type": "string" - }, - "errorCode": { - "description": "The type of error.", - "enum": [ - "ERROR_CODE_UNSPECIFIED", - "SYNTAX_ERROR", - "DEPRECATED_SYNTAX", - "INTERNAL_ERROR" - ], - "enumDescriptions": [ - "The script error is not specified or is unknown in this version.", - "The script has a syntax error.", - "The script uses deprecated syntax.", - "Internal errors were thrown while processing the script." - ], - "type": "string" - }, - "errorMessage": { - "description": "The detailed error message.", - "type": "string" - }, - "line": { - "description": "The line number in the script where the error was thrown.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "SdfConfig": { - "description": "Structured Data File (SDF) related settings.", - "id": "SdfConfig", - "properties": { - "adminEmail": { - "description": "An administrator email address to which the SDF processing status reports will be sent.", - "type": "string" - }, - "version": { - "description": "Required. The version of SDF being used.", - "enum": [ - "SDF_VERSION_UNSPECIFIED", - "SDF_VERSION_3_1", - "SDF_VERSION_4", - "SDF_VERSION_4_1", - "SDF_VERSION_4_2", - "SDF_VERSION_5", - "SDF_VERSION_5_1", - "SDF_VERSION_5_2", - "SDF_VERSION_5_3", - "SDF_VERSION_5_4", - "SDF_VERSION_5_5", - "SDF_VERSION_6", - "SDF_VERSION_7" - ], - "enumDeprecated": [ - false, - true, - true, - true, - true, - true, - true, - true, - true, - false, - false, - false, - false - ], - "enumDescriptions": [ - "SDF version value is not specified or is unknown in this version.", - "SDF version 3.1", - "SDF version 4", - "SDF version 4.1", - "SDF version 4.2", - "SDF version 5.", - "SDF version 5.1", - "SDF version 5.2", - "SDF version 5.3", - "SDF version 5.4", - "SDF version 5.5", - "SDF version 6", - "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version. Currently in beta. Only available for use by a subset of users." - ], - "type": "string" - } - }, - "type": "object" - }, - "SdfDownloadTask": { - "description": "Type for the response returned by [SdfDownloadTaskService.CreateSdfDownloadTask].", - "id": "SdfDownloadTask", - "properties": { - "resourceName": { - "description": "A resource name to be used in media.download to Download the prepared files. Resource names have the format `download/sdfdownloadtasks/media/{media_id}`. `media_id` will be made available by the long running operation service once the task status is done.", - "type": "string" - } - }, - "type": "object" - }, - "SdfDownloadTaskMetadata": { - "description": "Type for the metadata returned by [SdfDownloadTaskService.CreateSdfDownloadTask].", - "id": "SdfDownloadTaskMetadata", - "properties": { - "createTime": { - "description": "The time when the operation was created.", - "format": "google-datetime", - "type": "string" - }, - "endTime": { - "description": "The time when execution was completed.", - "format": "google-datetime", - "type": "string" - }, - "version": { - "description": "The SDF version used to execute this download task.", - "enum": [ - "SDF_VERSION_UNSPECIFIED", - "SDF_VERSION_3_1", - "SDF_VERSION_4", - "SDF_VERSION_4_1", - "SDF_VERSION_4_2", - "SDF_VERSION_5", - "SDF_VERSION_5_1", - "SDF_VERSION_5_2", - "SDF_VERSION_5_3", - "SDF_VERSION_5_4", - "SDF_VERSION_5_5", - "SDF_VERSION_6", - "SDF_VERSION_7" - ], - "enumDeprecated": [ - false, - true, - true, - true, - true, - true, - true, - true, - true, - false, - false, - false, - false - ], - "enumDescriptions": [ - "SDF version value is not specified or is unknown in this version.", - "SDF version 3.1", - "SDF version 4", - "SDF version 4.1", - "SDF version 4.2", - "SDF version 5.", - "SDF version 5.1", - "SDF version 5.2", - "SDF version 5.3", - "SDF version 5.4", - "SDF version 5.5", - "SDF version 6", - "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version. Currently in beta. Only available for use by a subset of users." - ], - "type": "string" - } - }, - "type": "object" - }, - "SearchTargetingOptionsRequest": { - "description": "Request message for SearchTargetingOptions.", - "id": "SearchTargetingOptionsRequest", - "properties": { - "advertiserId": { - "description": "Required. The Advertiser this request is being made in the context of.", - "format": "int64", - "type": "string" - }, - "businessChainSearchTerms": { - "$ref": "BusinessChainSearchTerms", - "description": "Search terms for Business Chain targeting options. Can only be used when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`." - }, - "geoRegionSearchTerms": { - "$ref": "GeoRegionSearchTerms", - "description": "Search terms for geo region targeting options. Can only be used when targeting_type is `TARGETING_TYPE_GEO_REGION`." - }, - "pageSize": { - "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", - "format": "int32", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `SearchTargetingOptions` method. If not specified, the first page of results will be returned.", - "type": "string" - }, - "poiSearchTerms": { - "$ref": "PoiSearchTerms", - "description": "Search terms for POI targeting options. Can only be used when targeting_type is `TARGETING_TYPE_POI`." - } - }, - "type": "object" - }, - "SearchTargetingOptionsResponse": { - "description": "Response message for SearchTargetingOptions.", - "id": "SearchTargetingOptionsResponse", - "properties": { - "nextPageToken": { - "description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `SearchTargetingOptions` method to retrieve the next page of results.", - "type": "string" - }, - "targetingOptions": { - "description": "The list of targeting options that match the search criteria. This list will be absent if empty.", - "items": { - "$ref": "TargetingOption" - }, - "type": "array" - } - }, - "type": "object" - }, - "SensitiveCategoryAssignedTargetingOptionDetails": { - "description": "Targeting details for sensitive category. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.", - "id": "SensitiveCategoryAssignedTargetingOptionDetails", - "properties": { - "excludedTargetingOptionId": { - "description": "Required. ID of the sensitive category to be EXCLUDED.", - "type": "string" - }, - "sensitiveCategory": { - "description": "Output only. An enum for the DV360 Sensitive category content classifier.", - "enum": [ - "SENSITIVE_CATEGORY_UNSPECIFIED", - "SENSITIVE_CATEGORY_ADULT", - "SENSITIVE_CATEGORY_DEROGATORY", - "SENSITIVE_CATEGORY_DOWNLOADS_SHARING", - "SENSITIVE_CATEGORY_WEAPONS", - "SENSITIVE_CATEGORY_GAMBLING", - "SENSITIVE_CATEGORY_VIOLENCE", - "SENSITIVE_CATEGORY_SUGGESTIVE", - "SENSITIVE_CATEGORY_PROFANITY", - "SENSITIVE_CATEGORY_ALCOHOL", - "SENSITIVE_CATEGORY_DRUGS", - "SENSITIVE_CATEGORY_TOBACCO", - "SENSITIVE_CATEGORY_POLITICS", - "SENSITIVE_CATEGORY_RELIGION", - "SENSITIVE_CATEGORY_TRAGEDY", - "SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS", - "SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES", - "SENSITIVE_CATEGORY_SHOCKING" - ], - "enumDescriptions": [ - "This enum is only a placeholder and doesn't specify a DV360 sensitive category.", - "Adult or pornographic text, image, or video content.", - "Content that may be construed as biased against individuals, groups, or organizations based on criteria such as race, religion, disability, sex, age, veteran status, sexual orientation, gender identity, or political affiliation. May also indicate discussion of such content, for instance, in an academic or journalistic context.", - "Content related to audio, video, or software downloads.", - "Contains content related to personal weapons, including knives, guns, small firearms, and ammunition. Selecting either \"weapons\" or \"sensitive social issues\" will result in selecting both.", - "Contains content related to betting or wagering in a real-world or online setting.", - "Content which may be considered graphically violent, gory, gruesome, or shocking, such as street fighting videos, accident photos, descriptions of torture, etc.", - "Adult content, as well as suggestive content that's not explicitly pornographic. This category includes all pages categorized as adult.", - "Prominent use of words considered indecent, such as curse words and sexual slang. Pages with only very occasional usage, such as news sites that might include such words in a quotation, are not included.", - "Contains content related to alcoholic beverages, alcohol brands, recipes, etc.", - "Contains content related to the recreational use of legal or illegal drugs, as well as to drug paraphernalia or cultivation.", - "Contains content related to tobacco and tobacco accessories, including lighters, humidors, ashtrays, etc.", - "Political news and media, including discussions of social, governmental, and public policy.", - "Content related to religious thought or beliefs.", - "Content related to death, disasters, accidents, war, etc.", - "Content related to motor vehicle, aviation or other transportation accidents.", - "Issues that evoke strong, opposing views and spark debate. These include issues that are controversial in most countries and markets (such as abortion), as well as those that are controversial in specific countries and markets (such as immigration reform in the United States).", - "Content which may be considered shocking or disturbing, such as violent news stories, stunts, or toilet humor." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "SensitiveCategoryTargetingOptionDetails": { - "description": "Represents a targetable sensitive category. This will be populated in the sensitive_category_details field of the TargetingOption when targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.", - "id": "SensitiveCategoryTargetingOptionDetails", - "properties": { - "sensitiveCategory": { - "description": "Output only. An enum for the DV360 Sensitive category content classifier.", - "enum": [ - "SENSITIVE_CATEGORY_UNSPECIFIED", - "SENSITIVE_CATEGORY_ADULT", - "SENSITIVE_CATEGORY_DEROGATORY", - "SENSITIVE_CATEGORY_DOWNLOADS_SHARING", - "SENSITIVE_CATEGORY_WEAPONS", - "SENSITIVE_CATEGORY_GAMBLING", - "SENSITIVE_CATEGORY_VIOLENCE", - "SENSITIVE_CATEGORY_SUGGESTIVE", - "SENSITIVE_CATEGORY_PROFANITY", - "SENSITIVE_CATEGORY_ALCOHOL", - "SENSITIVE_CATEGORY_DRUGS", - "SENSITIVE_CATEGORY_TOBACCO", - "SENSITIVE_CATEGORY_POLITICS", - "SENSITIVE_CATEGORY_RELIGION", - "SENSITIVE_CATEGORY_TRAGEDY", - "SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS", - "SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES", - "SENSITIVE_CATEGORY_SHOCKING" - ], - "enumDescriptions": [ - "This enum is only a placeholder and doesn't specify a DV360 sensitive category.", - "Adult or pornographic text, image, or video content.", - "Content that may be construed as biased against individuals, groups, or organizations based on criteria such as race, religion, disability, sex, age, veteran status, sexual orientation, gender identity, or political affiliation. May also indicate discussion of such content, for instance, in an academic or journalistic context.", - "Content related to audio, video, or software downloads.", - "Contains content related to personal weapons, including knives, guns, small firearms, and ammunition. Selecting either \"weapons\" or \"sensitive social issues\" will result in selecting both.", - "Contains content related to betting or wagering in a real-world or online setting.", - "Content which may be considered graphically violent, gory, gruesome, or shocking, such as street fighting videos, accident photos, descriptions of torture, etc.", - "Adult content, as well as suggestive content that's not explicitly pornographic. This category includes all pages categorized as adult.", - "Prominent use of words considered indecent, such as curse words and sexual slang. Pages with only very occasional usage, such as news sites that might include such words in a quotation, are not included.", - "Contains content related to alcoholic beverages, alcohol brands, recipes, etc.", - "Contains content related to the recreational use of legal or illegal drugs, as well as to drug paraphernalia or cultivation.", - "Contains content related to tobacco and tobacco accessories, including lighters, humidors, ashtrays, etc.", - "Political news and media, including discussions of social, governmental, and public policy.", - "Content related to religious thought or beliefs.", - "Content related to death, disasters, accidents, war, etc.", - "Content related to motor vehicle, aviation or other transportation accidents.", - "Issues that evoke strong, opposing views and spark debate. These include issues that are controversial in most countries and markets (such as abortion), as well as those that are controversial in specific countries and markets (such as immigration reform in the United States).", - "Content which may be considered shocking or disturbing, such as violent news stories, stunts, or toilet humor." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Site": { - "description": "A single site. Sites are apps or websites belonging to a channel.", - "id": "Site", - "properties": { - "name": { - "description": "Output only. The resource name of the site.", - "readOnly": true, - "type": "string" - }, - "urlOrAppId": { - "description": "Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes.", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "SubExchangeAssignedTargetingOptionDetails": { - "description": "Details for assigned sub-exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`.", - "id": "SubExchangeAssignedTargetingOptionDetails", - "properties": { - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_SUB_EXCHANGE`.", - "type": "string" - } - }, - "type": "object" - }, - "SubExchangeTargetingOptionDetails": { - "description": "Represents a targetable sub-exchange. This will be populated in the sub_exchange_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`.", - "id": "SubExchangeTargetingOptionDetails", - "properties": { - "displayName": { - "description": "Output only. The display name of the sub-exchange.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "TargetingExpansionConfig": { - "description": "Settings that control the [optimized targeting](//support.google.com/displayvideo/answer/12060859) settings of the line item.", - "id": "TargetingExpansionConfig", - "properties": { - "excludeFirstPartyAudience": { - "deprecated": true, - "description": "Whether to exclude first-party audiences from use in targeting expansion. This field was deprecated with the launch of [optimized targeting](//support.google.com/displayvideo/answer/12060859). This field will be set to `false`. If this field is set to `true` when deprecated, all positive first-party audience targeting assigned to this line item will be replaced with negative targeting of the same first-party audiences to ensure the continued exclusion of those audiences.", - "type": "boolean" - }, - "targetingExpansionLevel": { - "description": "Required. Whether optimized targeting is turned on. This field supports the following values: * `NO_EXPANSION`: optimized targeting is turned off * `LEAST_EXPANSION`: optimized targeting is turned on If this field is set to any other value, it will automatically be set to `LEAST_EXPANSION`. `NO_EXPANSION` will be the default value for the field and will be automatically assigned if you do not set the field.", - "enum": [ - "TARGETING_EXPANSION_LEVEL_UNSPECIFIED", - "NO_EXPANSION", - "LEAST_EXPANSION", - "SOME_EXPANSION", - "BALANCED_EXPANSION", - "MORE_EXPANSION", - "MOST_EXPANSION" - ], - "enumDeprecated": [ - false, - false, - false, - true, - true, - true, - true - ], - "enumDescriptions": [ - "The optimized targeting setting is not specified or is unknown in this version.", - "Optimized targeting is off.", - "Optimized targeting is on.", - "If used, will automatically be set to `LEAST_EXPANSION`.", - "If used, will automatically be set to `LEAST_EXPANSION`.", - "If used, will automatically be set to `LEAST_EXPANSION`.", - "If used, will automatically be set to `LEAST_EXPANSION`." - ], - "type": "string" - } - }, - "type": "object" - }, - "TargetingOption": { - "description": "Represents a single targeting option, which is a targetable concept in DV360.", - "id": "TargetingOption", - "properties": { - "ageRangeDetails": { - "$ref": "AgeRangeTargetingOptionDetails", - "description": "Age range details." - }, - "appCategoryDetails": { - "$ref": "AppCategoryTargetingOptionDetails", - "description": "App category details." - }, - "audioContentTypeDetails": { - "$ref": "AudioContentTypeTargetingOptionDetails", - "description": "Audio content type details." - }, - "authorizedSellerStatusDetails": { - "$ref": "AuthorizedSellerStatusTargetingOptionDetails", - "description": "Authorized seller status resource details." - }, - "browserDetails": { - "$ref": "BrowserTargetingOptionDetails", - "description": "Browser details." - }, - "businessChainDetails": { - "$ref": "BusinessChainTargetingOptionDetails", - "description": "Business chain resource details." - }, - "carrierAndIspDetails": { - "$ref": "CarrierAndIspTargetingOptionDetails", - "description": "Carrier and ISP details." - }, - "categoryDetails": { - "$ref": "CategoryTargetingOptionDetails", - "description": "Category resource details." - }, - "contentDurationDetails": { - "$ref": "ContentDurationTargetingOptionDetails", - "description": "Content duration resource details." - }, - "contentGenreDetails": { - "$ref": "ContentGenreTargetingOptionDetails", - "description": "Content genre resource details." - }, - "contentInstreamPositionDetails": { - "$ref": "ContentInstreamPositionTargetingOptionDetails", - "description": "Content instream position details." - }, - "contentOutstreamPositionDetails": { - "$ref": "ContentOutstreamPositionTargetingOptionDetails", - "description": "Content outstream position details." - }, - "contentStreamTypeDetails": { - "$ref": "ContentStreamTypeTargetingOptionDetails", - "description": "Content stream type resource details." - }, - "deviceMakeModelDetails": { - "$ref": "DeviceMakeModelTargetingOptionDetails", - "description": "Device make and model resource details." - }, - "deviceTypeDetails": { - "$ref": "DeviceTypeTargetingOptionDetails", - "description": "Device type details." - }, - "digitalContentLabelDetails": { - "$ref": "DigitalContentLabelTargetingOptionDetails", - "description": "Digital content label details." - }, - "environmentDetails": { - "$ref": "EnvironmentTargetingOptionDetails", - "description": "Environment details." - }, - "exchangeDetails": { - "$ref": "ExchangeTargetingOptionDetails", - "description": "Exchange details." - }, - "genderDetails": { - "$ref": "GenderTargetingOptionDetails", - "description": "Gender details." - }, - "geoRegionDetails": { - "$ref": "GeoRegionTargetingOptionDetails", - "description": "Geographic region resource details." - }, - "householdIncomeDetails": { - "$ref": "HouseholdIncomeTargetingOptionDetails", - "description": "Household income details." - }, - "languageDetails": { - "$ref": "LanguageTargetingOptionDetails", - "description": "Language resource details." - }, - "name": { - "description": "Output only. The resource name for this targeting option.", - "readOnly": true, - "type": "string" - }, - "nativeContentPositionDetails": { - "$ref": "NativeContentPositionTargetingOptionDetails", - "description": "Native content position details." - }, - "omidDetails": { - "$ref": "OmidTargetingOptionDetails", - "description": "Open Measurement enabled inventory details." - }, - "onScreenPositionDetails": { - "$ref": "OnScreenPositionTargetingOptionDetails", - "description": "On screen position details." - }, - "operatingSystemDetails": { - "$ref": "OperatingSystemTargetingOptionDetails", - "description": "Operating system resources details." - }, - "parentalStatusDetails": { - "$ref": "ParentalStatusTargetingOptionDetails", - "description": "Parental status details." - }, - "poiDetails": { - "$ref": "PoiTargetingOptionDetails", - "description": "POI resource details." - }, - "sensitiveCategoryDetails": { - "$ref": "SensitiveCategoryTargetingOptionDetails", - "description": "Sensitive Category details." - }, - "subExchangeDetails": { - "$ref": "SubExchangeTargetingOptionDetails", - "description": "Sub-exchange details." - }, - "targetingOptionId": { - "description": "Output only. A unique identifier for this targeting option. The tuple {`targeting_type`, `targeting_option_id`} will be unique.", - "readOnly": true, - "type": "string" - }, - "targetingType": { - "description": "Output only. The type of this targeting option.", - "enum": [ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE" - ], - "enumDescriptions": [ - "Default value when type is not specified or is unknown in this version.", - "Target a channel (a custom group of related websites or apps).", - "Target an app category (for example, education or puzzle games).", - "Target a specific app (for example, Angry Birds).", - "Target a specific url (for example, quora.com).", - "Target ads during a chosen time period on a specific day.", - "Target ads to a specific age range (for example, 18-24).", - "Target ads to the specified regions on a regional location list.", - "Target ads to the specified points of interest on a proximity location list.", - "Target ads to a specific gender (for example, female or male).", - "Target a specific video player size for video ads.", - "Target user rewarded content for video ads.", - "Target ads to a specific parental status (for example, parent or not a parent).", - "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", - "Target ads in a specific content outstream position.", - "Target ads to a specific device type (for example, tablet or connected TV).", - "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", - "Target ads to specific web browsers (for example, Chrome).", - "Target ads to a specific household income range (for example, top 10%).", - "Target ads in a specific on screen position.", - "Filter web sites through third party verification (for example, IAS or DoubleVerify).", - "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", - "Filter website content by sensitive categories (for example, adult).", - "Target ads to a specific environment (for example, web or app).", - "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", - "Target ads to a specific operating system (for example, macOS).", - "Target ads to a specific device make or model (for example, Roku or Samsung).", - "Target ads to a specific keyword (for example, dog or retriever).", - "Target ads to a specific negative keyword list.", - "Target ads to a specific viewability (for example, 80% viewable).", - "Target ads to a specific content category (for example, arts & entertainment).", - "Purchase impressions from specific deals and auction packages.", - "Target ads to a specific language (for example, English or Japanese).", - "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", - "Target ads to a specific regional location (for example, a city or state).", - "Purchase impressions from a group of deals and auction packages.", - "Purchase impressions from specific exchanges.", - "Purchase impressions from specific sub-exchanges.", - "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", - "Target ads around locations of a business chain within a specific geo region.", - "Target ads to a specific video content duration.", - "Target ads to a specific video content stream type.", - "Target ads to a specific native content position.", - "Target ads in an Open Measurement enabled inventory.", - "Target ads to a specific audio content type.", - "Target ads to a specific content genre." - ], - "readOnly": true, - "type": "string" - }, - "userRewardedContentDetails": { - "$ref": "UserRewardedContentTargetingOptionDetails", - "description": "User rewarded content details." - }, - "videoPlayerSizeDetails": { - "$ref": "VideoPlayerSizeTargetingOptionDetails", - "description": "Video player size details." - }, - "viewabilityDetails": { - "$ref": "ViewabilityTargetingOptionDetails", - "description": "Viewability resource details." - } - }, - "type": "object" - }, - "ThirdPartyOnlyConfig": { - "description": "Settings for advertisers that use third-party ad servers only.", - "id": "ThirdPartyOnlyConfig", - "properties": { - "pixelOrderIdReportingEnabled": { - "description": "Whether or not order ID reporting for pixels is enabled. This value cannot be changed once set to `true`.", - "type": "boolean" - } - }, - "type": "object" - }, - "ThirdPartyUrl": { - "description": "Tracking URLs from third parties to track interactions with an audio or a video creative.", - "id": "ThirdPartyUrl", - "properties": { - "type": { - "description": "The type of interaction needs to be tracked by the tracking URL", - "enum": [ - "THIRD_PARTY_URL_TYPE_UNSPECIFIED", - "THIRD_PARTY_URL_TYPE_IMPRESSION", - "THIRD_PARTY_URL_TYPE_CLICK_TRACKING", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_START", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FIRST_QUARTILE", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MIDPOINT", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_THIRD_QUARTILE", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_COMPLETE", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MUTE", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PAUSE", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_REWIND", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FULLSCREEN", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_STOP", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_CUSTOM", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_SKIP", - "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PROGRESS" - ], - "enumDescriptions": [ - "The type of third-party URL is unspecified or is unknown in this version.", - "Used to count impressions of the creative after the audio or video buffering is complete.", - "Used to track user clicks on the audio or video.", - "Used to track the number of times a user starts the audio or video.", - "Used to track the number of times the audio or video plays to 25% of its length.", - "Used to track the number of times the audio or video plays to 50% of its length.", - "Used to track the number of times the audio or video plays to 75% of its length.", - "Used to track the number of times the audio or video plays to the end.", - "Used to track the number of times a user mutes the audio or video.", - "Used to track the number of times a user pauses the audio or video.", - "Used to track the number of times a user replays the audio or video.", - "Used to track the number of times a user expands the player to full-screen size.", - "Used to track the number of times a user stops the audio or video.", - "Used to track the number of times a user performs a custom click, such as clicking on a video hot spot.", - "Used to track the number of times the audio or video was skipped.", - "Used to track the number of times the audio or video plays to an offset determined by the progress_offset." - ], - "type": "string" - }, - "url": { - "description": "Tracking URL used to track the interaction. Provide a URL with optional path or query string, beginning with `https:`. For example, https://www.example.com/path", - "type": "string" - } - }, - "type": "object" - }, - "ThirdPartyVerifierAssignedTargetingOptionDetails": { - "description": "Assigned third party verifier targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`.", - "id": "ThirdPartyVerifierAssignedTargetingOptionDetails", - "properties": { - "adloox": { - "$ref": "Adloox", - "description": "Third party brand verifier -- Adloox." - }, - "doubleVerify": { - "$ref": "DoubleVerify", - "description": "Third party brand verifier -- DoubleVerify." - }, - "integralAdScience": { - "$ref": "IntegralAdScience", - "description": "Third party brand verifier -- Integral Ad Science." - } - }, - "type": "object" - }, - "TimeRange": { - "description": "A time range.", - "id": "TimeRange", - "properties": { - "endTime": { - "description": "Required. The upper bound of a time range, inclusive.", - "format": "google-datetime", - "type": "string" - }, - "startTime": { - "description": "Required. The lower bound of a time range, inclusive.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "TimerEvent": { - "description": "Timer event of the creative.", - "id": "TimerEvent", - "properties": { - "name": { - "description": "Required. The name of the timer event.", - "type": "string" - }, - "reportingName": { - "description": "Required. The name used to identify this timer event in reports.", - "type": "string" - } - }, - "type": "object" - }, - "TrackingFloodlightActivityConfig": { - "description": "Settings that control the behavior of a single Floodlight activity config.", - "id": "TrackingFloodlightActivityConfig", - "properties": { - "floodlightActivityId": { - "description": "Required. The ID of the Floodlight activity.", - "format": "int64", - "type": "string" - }, - "postClickLookbackWindowDays": { - "description": "Required. The number of days after an ad has been clicked in which a conversion may be counted. Must be between 0 and 90 inclusive.", - "format": "int32", - "type": "integer" - }, - "postViewLookbackWindowDays": { - "description": "Required. The number of days after an ad has been viewed in which a conversion may be counted. Must be between 0 and 90 inclusive.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Transcode": { - "description": "Represents information about the transcoded audio or video file.", - "id": "Transcode", - "properties": { - "audioBitRateKbps": { - "description": "The bit rate for the audio stream of the transcoded video, or the bit rate for the transcoded audio, in kilobits per second.", - "format": "int64", - "type": "string" - }, - "audioSampleRateHz": { - "description": "The sample rate for the audio stream of the transcoded video, or the sample rate for the transcoded audio, in hertz.", - "format": "int64", - "type": "string" - }, - "bitRateKbps": { - "description": "The transcoding bit rate of the transcoded video, in kilobits per second.", - "format": "int64", - "type": "string" - }, - "dimensions": { - "$ref": "Dimensions", - "description": "The dimensions of the transcoded video." - }, - "fileSizeBytes": { - "description": "The size of the transcoded file, in bytes.", - "format": "int64", - "type": "string" - }, - "frameRate": { - "description": "The frame rate of the transcoded video, in frames per second.", - "format": "float", - "type": "number" - }, - "mimeType": { - "description": "The MIME type of the transcoded file.", - "type": "string" - }, - "name": { - "description": "The name of the transcoded file.", - "type": "string" - }, - "transcoded": { - "description": "Indicates if the transcoding was successful.", - "type": "boolean" - } - }, - "type": "object" - }, - "UniversalAdId": { - "description": "A creative identifier provided by a registry that is unique across all platforms. This is part of the VAST 4.0 standard.", - "id": "UniversalAdId", - "properties": { - "id": { - "description": "The unique creative identifier.", - "type": "string" - }, - "registry": { - "description": "The registry provides unique creative identifiers.", - "enum": [ - "UNIVERSAL_AD_REGISTRY_UNSPECIFIED", - "UNIVERSAL_AD_REGISTRY_OTHER", - "UNIVERSAL_AD_REGISTRY_AD_ID", - "UNIVERSAL_AD_REGISTRY_CLEARCAST", - "UNIVERSAL_AD_REGISTRY_DV360", - "UNIVERSAL_AD_REGISTRY_CM" - ], - "enumDescriptions": [ - "The Universal Ad registry is unspecified or is unknown in this version.", - "Use a custom provider to provide the Universal Ad ID.", - "Use Ad-ID to provide the Universal Ad ID.", - "Use clearcast.co.uk to provide the Universal Ad ID.", - "Use Display & Video 360 to provide the Universal Ad ID.", - "Use Campaign Manager 360 to provide the Universal Ad ID." - ], - "type": "string" - } - }, - "type": "object" - }, - "UrlAssignedTargetingOptionDetails": { - "description": "Details for assigned URL targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_URL`.", - "id": "UrlAssignedTargetingOptionDetails", - "properties": { - "negative": { - "description": "Indicates if this option is being negatively targeted.", - "type": "boolean" - }, - "url": { - "description": "Required. The URL, for example `example.com`. DV360 supports two levels of subdirectory targeting, for example `www.example.com/one-subdirectory-level/second-level`, and five levels of subdomain targeting, for example `five.four.three.two.one.example.com`.", - "type": "string" - } - }, - "type": "object" - }, - "User": { - "description": "A single user in Display & Video 360.", - "id": "User", - "properties": { - "assignedUserRoles": { - "description": "The assigned user roles. Required in CreateUser. Output only in UpdateUser. Can only be updated through BulkEditAssignedUserRoles.", - "items": { - "$ref": "AssignedUserRole" - }, - "type": "array" - }, - "displayName": { - "description": "Required. The display name of the user. Must be UTF-8 encoded with a maximum size of 240 bytes.", - "type": "string" - }, - "email": { - "description": "Required. Immutable. The email address used to identify the user.", - "type": "string" - }, - "lastLoginTime": { - "description": "Output only. The timestamp when the user last logged in DV360 UI.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The resource name of the user.", - "readOnly": true, - "type": "string" - }, - "userId": { - "description": "Output only. The unique ID of the user. Assigned by the system.", - "format": "int64", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "UserRewardedContentAssignedTargetingOptionDetails": { - "description": "User rewarded content targeting option details. This will be populated in the user_rewarded_content_details field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.", - "id": "UserRewardedContentAssignedTargetingOptionDetails", - "properties": { - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.", - "type": "string" - }, - "userRewardedContent": { - "description": "Output only. User rewarded content status for video ads.", - "enum": [ - "USER_REWARDED_CONTENT_UNSPECIFIED", - "USER_REWARDED_CONTENT_USER_REWARDED", - "USER_REWARDED_CONTENT_NOT_USER_REWARDED" - ], - "enumDescriptions": [ - "User rewarded content is not specified or is unknown in this version.", - "Represents ads where the user will see a reward after viewing.", - "Represents all other ads besides user-rewarded." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "UserRewardedContentTargetingOptionDetails": { - "description": "Represents a targetable user rewarded content status for video ads only. This will be populated in the user_rewarded_content_details field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.", - "id": "UserRewardedContentTargetingOptionDetails", - "properties": { - "userRewardedContent": { - "description": "Output only. User rewarded content status for video ads.", - "enum": [ - "USER_REWARDED_CONTENT_UNSPECIFIED", - "USER_REWARDED_CONTENT_USER_REWARDED", - "USER_REWARDED_CONTENT_NOT_USER_REWARDED" - ], - "enumDescriptions": [ - "User rewarded content is not specified or is unknown in this version.", - "Represents ads where the user will see a reward after viewing.", - "Represents all other ads besides user-rewarded." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "VideoPlayerSizeAssignedTargetingOptionDetails": { - "description": "Video player size targeting option details. This will be populated in the video_player_size_details field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`. Explicitly targeting all options is not supported. Remove all video player size targeting options to achieve this effect.", - "id": "VideoPlayerSizeAssignedTargetingOptionDetails", - "properties": { - "targetingOptionId": { - "description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`.", - "type": "string" - }, - "videoPlayerSize": { - "description": "Required. The video player size.", - "enum": [ - "VIDEO_PLAYER_SIZE_UNSPECIFIED", - "VIDEO_PLAYER_SIZE_SMALL", - "VIDEO_PLAYER_SIZE_LARGE", - "VIDEO_PLAYER_SIZE_HD", - "VIDEO_PLAYER_SIZE_UNKNOWN" - ], - "enumDescriptions": [ - "Video player size is not specified in this version. This enum is a place holder for a default value and does not represent a real video player size.", - "The dimensions of the video player are less than 400×300 (desktop), or up to 20% of screen covered (mobile).", - "The dimensions of the video player are between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the screen covered (mobile).", - "The dimensions of the video player are 1280×720 or greater (desktop), or over 90% of the screen covered (mobile).", - "The dimensions of the video player are unknown." - ], - "type": "string" - } - }, - "type": "object" - }, - "VideoPlayerSizeTargetingOptionDetails": { - "description": "Represents a targetable video player size. This will be populated in the video_player_size_details field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`.", - "id": "VideoPlayerSizeTargetingOptionDetails", - "properties": { - "videoPlayerSize": { - "description": "Output only. The video player size.", - "enum": [ - "VIDEO_PLAYER_SIZE_UNSPECIFIED", - "VIDEO_PLAYER_SIZE_SMALL", - "VIDEO_PLAYER_SIZE_LARGE", - "VIDEO_PLAYER_SIZE_HD", - "VIDEO_PLAYER_SIZE_UNKNOWN" - ], - "enumDescriptions": [ - "Video player size is not specified in this version. This enum is a place holder for a default value and does not represent a real video player size.", - "The dimensions of the video player are less than 400×300 (desktop), or up to 20% of screen covered (mobile).", - "The dimensions of the video player are between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the screen covered (mobile).", - "The dimensions of the video player are 1280×720 or greater (desktop), or over 90% of the screen covered (mobile).", - "The dimensions of the video player are unknown." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ViewabilityAssignedTargetingOptionDetails": { - "description": "Assigned viewability targeting option details. This will be populated in the viewability_details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_VIEWABILITY`.", - "id": "ViewabilityAssignedTargetingOptionDetails", - "properties": { - "targetingOptionId": { - "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_VIEWABILITY` (e.g., \"509010\" for targeting the `VIEWABILITY_10_PERCENT_OR_MORE` option).", - "type": "string" - }, - "viewability": { - "description": "Required. The predicted viewability percentage.", - "enum": [ - "VIEWABILITY_UNSPECIFIED", - "VIEWABILITY_10_PERCENT_OR_MORE", - "VIEWABILITY_20_PERCENT_OR_MORE", - "VIEWABILITY_30_PERCENT_OR_MORE", - "VIEWABILITY_40_PERCENT_OR_MORE", - "VIEWABILITY_50_PERCENT_OR_MORE", - "VIEWABILITY_60_PERCENT_OR_MORE", - "VIEWABILITY_70_PERCENT_OR_MORE", - "VIEWABILITY_80_PERCENT_OR_MORE", - "VIEWABILITY_90_PERCENT_OR_MORE" - ], - "enumDescriptions": [ - "Default value when viewability is not specified in this version. This enum is a placeholder for default value and does not represent a real viewability option.", - "Bid only on impressions that are at least 10% likely to be viewable.", - "Bid only on impressions that are at least 20% likely to be viewable.", - "Bid only on impressions that are at least 30% likely to be viewable.", - "Bid only on impressions that are at least 40% likely to be viewable.", - "Bid only on impressions that are at least 50% likely to be viewable.", - "Bid only on impressions that are at least 60% likely to be viewable.", - "Bid only on impressions that are at least 70% likely to be viewable.", - "Bid only on impressions that are at least 80% likely to be viewable.", - "Bid only on impressions that are at least 90% likely to be viewable." - ], - "type": "string" - } - }, - "type": "object" - }, - "ViewabilityTargetingOptionDetails": { - "description": "Represents a targetable viewability. This will be populated in the viewability_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_VIEWABILITY`.", - "id": "ViewabilityTargetingOptionDetails", - "properties": { - "viewability": { - "description": "Output only. The predicted viewability percentage.", - "enum": [ - "VIEWABILITY_UNSPECIFIED", - "VIEWABILITY_10_PERCENT_OR_MORE", - "VIEWABILITY_20_PERCENT_OR_MORE", - "VIEWABILITY_30_PERCENT_OR_MORE", - "VIEWABILITY_40_PERCENT_OR_MORE", - "VIEWABILITY_50_PERCENT_OR_MORE", - "VIEWABILITY_60_PERCENT_OR_MORE", - "VIEWABILITY_70_PERCENT_OR_MORE", - "VIEWABILITY_80_PERCENT_OR_MORE", - "VIEWABILITY_90_PERCENT_OR_MORE" - ], - "enumDescriptions": [ - "Default value when viewability is not specified in this version. This enum is a placeholder for default value and does not represent a real viewability option.", - "Bid only on impressions that are at least 10% likely to be viewable.", - "Bid only on impressions that are at least 20% likely to be viewable.", - "Bid only on impressions that are at least 30% likely to be viewable.", - "Bid only on impressions that are at least 40% likely to be viewable.", - "Bid only on impressions that are at least 50% likely to be viewable.", - "Bid only on impressions that are at least 60% likely to be viewable.", - "Bid only on impressions that are at least 70% likely to be viewable.", - "Bid only on impressions that are at least 80% likely to be viewable.", - "Bid only on impressions that are at least 90% likely to be viewable." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Display & Video 360 API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/displayvideo-v1beta.json b/discovery/displayvideo-v1beta.json deleted file mode 100644 index 8482da6aefe..00000000000 --- a/discovery/displayvideo-v1beta.json +++ /dev/null @@ -1,292 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/display-video": { - "description": "Create, see, edit, and permanently delete your Display & Video 360 entities and reports" - }, - "https://www.googleapis.com/auth/doubleclickbidmanager": { - "description": "View and manage your reports in DoubleClick Bid Manager" - } - } - } - }, - "basePath": "", - "baseUrl": "https://displayvideo.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Display Video", - "description": "Display & Video 360 API allows users to manage and create campaigns and reports.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/display-video/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "displayvideo:v1beta", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://displayvideo.mtls.googleapis.com/", - "name": "displayvideo", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "media": { - "methods": { - "download": { - "description": "Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: Download requests will not be successful without including `alt=media` query string.", - "flatPath": "download/{downloadId}", - "httpMethod": "GET", - "id": "displayvideo.media.download", - "parameterOrder": [ - "resourceName" - ], - "parameters": { - "resourceName": { - "description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "download/{+resourceName}", - "response": { - "$ref": "GoogleBytestreamMedia" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/doubleclickbidmanager" - ], - "supportsMediaDownload": true - } - } - }, - "sdfdownloadtask": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.", - "flatPath": "v1beta/sdfdownloadtask/operations/{operationsId}", - "httpMethod": "GET", - "id": "displayvideo.sdfdownloadtask.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^sdfdownloadtask/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/doubleclickbidmanager" - ] - } - } - } - } - }, - "sdfdownloadtasks": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.", - "flatPath": "v1beta/sdfdownloadtasks/operations/{operationsId}", - "httpMethod": "GET", - "id": "displayvideo.sdfdownloadtasks.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^sdfdownloadtasks/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/doubleclickbidmanager" - ] - } - } - } - } - } - }, - "revision": "20200929", - "rootUrl": "https://displayvideo.googleapis.com/", - "schemas": { - "GoogleBytestreamMedia": { - "description": "Media resource.", - "id": "GoogleBytestreamMedia", - "properties": { - "resourceName": { - "description": "Name of the media resource.", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Display & Video 360 API", - "version": "v1beta", - "version_module": true -} \ No newline at end of file diff --git a/discovery/displayvideo-v1beta2.json b/discovery/displayvideo-v1beta2.json deleted file mode 100644 index 081561286d5..00000000000 --- a/discovery/displayvideo-v1beta2.json +++ /dev/null @@ -1,258 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/display-video": { - "description": "Create, see, edit, and permanently delete your Display & Video 360 entities and reports" - }, - "https://www.googleapis.com/auth/doubleclickbidmanager": { - "description": "View and manage your reports in DoubleClick Bid Manager" - } - } - } - }, - "basePath": "", - "baseUrl": "https://displayvideo.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Display Video", - "description": "Display & Video 360 API allows users to manage and create campaigns and reports.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/display-video/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "displayvideo:v1beta2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://displayvideo.mtls.googleapis.com/", - "name": "displayvideo", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "media": { - "methods": { - "download": { - "description": "Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: Download requests will not be successful without including `alt=media` query string.", - "flatPath": "download/{downloadId}", - "httpMethod": "GET", - "id": "displayvideo.media.download", - "parameterOrder": [ - "resourceName" - ], - "parameters": { - "resourceName": { - "description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "download/{+resourceName}", - "response": { - "$ref": "GoogleBytestreamMedia" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/doubleclickbidmanager" - ], - "supportsMediaDownload": true - } - } - }, - "sdfdownloadtasks": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.", - "flatPath": "v1beta2/sdfdownloadtasks/operations/{operationsId}", - "httpMethod": "GET", - "id": "displayvideo.sdfdownloadtasks.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^sdfdownloadtasks/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/doubleclickbidmanager" - ] - } - } - } - } - } - }, - "revision": "20200929", - "rootUrl": "https://displayvideo.googleapis.com/", - "schemas": { - "GoogleBytestreamMedia": { - "description": "Media resource.", - "id": "GoogleBytestreamMedia", - "properties": { - "resourceName": { - "description": "Name of the media resource.", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Display & Video 360 API", - "version": "v1beta2", - "version_module": true -} \ No newline at end of file diff --git a/discovery/displayvideo-v1dev.json b/discovery/displayvideo-v1dev.json deleted file mode 100644 index e0c187e89c4..00000000000 --- a/discovery/displayvideo-v1dev.json +++ /dev/null @@ -1,258 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/display-video": { - "description": "Create, see, edit, and permanently delete your Display & Video 360 entities and reports" - }, - "https://www.googleapis.com/auth/doubleclickbidmanager": { - "description": "View and manage your reports in DoubleClick Bid Manager" - } - } - } - }, - "basePath": "", - "baseUrl": "https://displayvideo.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Display Video", - "description": "Display & Video 360 API allows users to manage and create campaigns and reports.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/display-video/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "displayvideo:v1dev", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://displayvideo.mtls.googleapis.com/", - "name": "displayvideo", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "media": { - "methods": { - "download": { - "description": "Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: Download requests will not be successful without including `alt=media` query string.", - "flatPath": "download/{downloadId}", - "httpMethod": "GET", - "id": "displayvideo.media.download", - "parameterOrder": [ - "resourceName" - ], - "parameters": { - "resourceName": { - "description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "download/{+resourceName}", - "response": { - "$ref": "GoogleBytestreamMedia" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/doubleclickbidmanager" - ], - "supportsMediaDownload": true - } - } - }, - "sdfdownloadtasks": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.", - "flatPath": "v1dev/sdfdownloadtasks/operations/{operationsId}", - "httpMethod": "GET", - "id": "displayvideo.sdfdownloadtasks.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^sdfdownloadtasks/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1dev/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/display-video", - "https://www.googleapis.com/auth/doubleclickbidmanager" - ] - } - } - } - } - } - }, - "revision": "20200929", - "rootUrl": "https://displayvideo.googleapis.com/", - "schemas": { - "GoogleBytestreamMedia": { - "description": "Media resource.", - "id": "GoogleBytestreamMedia", - "properties": { - "resourceName": { - "description": "Name of the media resource.", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Display & Video 360 API", - "version": "v1dev", - "version_module": true -} \ No newline at end of file diff --git a/discovery/dlp-v2.json b/discovery/dlp-v2.json index 65f8cd4bf42..9eaccca8841 100644 --- a/discovery/dlp-v2.json +++ b/discovery/dlp-v2.json @@ -5113,7 +5113,7 @@ } } }, - "revision": "20250323", + "revision": "20250504", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -7179,7 +7179,7 @@ "type": "object" }, "GooglePrivacyDlpV2Deidentify": { - "description": "Create a de-identified copy of the requested table or files. A TransformationDetail will be created for each transformation. If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table. Compatible with: Inspect", + "description": "Create a de-identified copy of a storage bucket. Only compatible with Cloud Storage buckets. A TransformationDetail will be created for each transformation. Compatible with: Inspection of Cloud Storage", "id": "GooglePrivacyDlpV2Deidentify", "properties": { "cloudStorageOutput": { @@ -7225,7 +7225,7 @@ }, "transformationDetailsStorageConfig": { "$ref": "GooglePrivacyDlpV2TransformationDetailsStorageConfig", - "description": "Config for storing transformation details. This is separate from the de-identified content, and contains metadata about the successful transformations and/or failures that occurred while de-identifying. This needs to be set in order for users to access information about the status of each transformation (see TransformationDetails message for more information about what is noted)." + "description": "Config for storing transformation details. This field specifies the configuration for storing detailed metadata about each transformation performed during a de-identification process. The metadata is stored separately from the de-identified content itself and provides a granular record of both successful transformations and any failures that occurred. Enabling this configuration is essential for users who need to access comprehensive information about the status, outcome, and specifics of each transformation. The details are captured in the TransformationDetails message for each operation. Key use cases: * **Auditing and compliance** * Provides a verifiable audit trail of de-identification activities, which is crucial for meeting regulatory requirements and internal data governance policies. * Logs what data was transformed, what transformations were applied, when they occurred, and their success status. This helps demonstrate accountability and due diligence in protecting sensitive data. * **Troubleshooting and debugging** * Offers detailed error messages and context if a transformation fails. This information is useful for diagnosing and resolving issues in the de-identification pipeline. * Helps pinpoint the exact location and nature of failures, speeding up the debugging process. * **Process verification and quality assurance** * Allows users to confirm that de-identification rules and transformations were applied correctly and consistently across the dataset as intended. * Helps in verifying the effectiveness of the chosen de-identification strategies. * **Data lineage and impact analysis** * Creates a record of how data elements were modified, contributing to data lineage. This is useful for understanding the provenance of de-identified data. * Aids in assessing the potential impact of de-identification choices on downstream analytical processes or data usability. * **Reporting and operational insights** * You can analyze the metadata stored in a queryable BigQuery table to generate reports on transformation success rates, common error types, processing volumes (e.g., transformedBytes), and the types of transformations applied. * These insights can inform optimization of de-identification configurations and resource planning. To take advantage of these benefits, set this configuration. The stored details include a description of the transformation, success or error codes, error messages, the number of bytes transformed, the location of the transformed content, and identifiers for the job and source data." } }, "type": "object" diff --git a/discovery/dns-v2.json b/discovery/dns-v2.json deleted file mode 100644 index 3b0e33632f5..00000000000 --- a/discovery/dns-v2.json +++ /dev/null @@ -1,3377 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - }, - "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud services and see the email address of your Google Account" - }, - "https://www.googleapis.com/auth/ndev.clouddns.readonly": { - "description": "View your DNS records hosted by Google Cloud DNS" - }, - "https://www.googleapis.com/auth/ndev.clouddns.readwrite": { - "description": "View and manage your DNS records hosted by Google Cloud DNS" - } - } - } - }, - "basePath": "", - "baseUrl": "https://dns.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Dns", - "description": "", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/dns/docs", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "dns:v2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://dns.mtls.googleapis.com/", - "name": "dns", - "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": { - "changes": { - "methods": { - "create": { - "description": "Atomically updates the ResourceRecordSet collection.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/changes", - "httpMethod": "POST", - "id": "dns.changes.create", - "parameterOrder": [ - "project", - "location", - "managedZone" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/changes", - "request": { - "$ref": "Change" - }, - "response": { - "$ref": "Change" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "get": { - "description": "Fetches the representation of an existing Change.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/changes/{changeId}", - "httpMethod": "GET", - "id": "dns.changes.get", - "parameterOrder": [ - "project", - "location", - "managedZone", - "changeId" - ], - "parameters": { - "changeId": { - "description": "The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse.", - "location": "path", - "required": true, - "type": "string" - }, - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/changes/{changeId}", - "response": { - "$ref": "Change" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerates Changes to a ResourceRecordSet collection.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/changes", - "httpMethod": "GET", - "id": "dns.changes.list", - "parameterOrder": [ - "project", - "location", - "managedZone" - ], - "parameters": { - "location": { - "default": "global", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "sortBy": { - "default": "CHANGE_SEQUENCE", - "description": "Sorting criterion. The only supported value is change sequence.", - "enum": [ - "CHANGE_SEQUENCE" - ], - "enumDescriptions": [ - "" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "description": "Sorting order direction: 'ascending' or 'descending'.", - "location": "query", - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/changes", - "response": { - "$ref": "ChangesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "dnsKeys": { - "methods": { - "get": { - "description": "Fetches the representation of an existing DnsKey.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}", - "httpMethod": "GET", - "id": "dns.dnsKeys.get", - "parameterOrder": [ - "project", - "location", - "managedZone", - "dnsKeyId" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "digestType": { - "description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type is computed and displayed.", - "location": "query", - "type": "string" - }, - "dnsKeyId": { - "description": "The identifier of the requested DnsKey.", - "location": "path", - "required": true, - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}", - "response": { - "$ref": "DnsKey" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerates DnsKeys to a ResourceRecordSet collection.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/dnsKeys", - "httpMethod": "GET", - "id": "dns.dnsKeys.list", - "parameterOrder": [ - "project", - "location", - "managedZone" - ], - "parameters": { - "digestType": { - "description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type is computed and displayed.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/dnsKeys", - "response": { - "$ref": "DnsKeysListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "managedZoneOperations": { - "methods": { - "get": { - "description": "Fetches the representation of an existing Operation.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/operations/{operation}", - "httpMethod": "GET", - "id": "dns.managedZoneOperations.get", - "parameterOrder": [ - "project", - "location", - "managedZone", - "operation" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "operation": { - "description": "Identifies the operation addressed by this request (ID of the operation).", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/operations/{operation}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerates Operations for the given ManagedZone.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/operations", - "httpMethod": "GET", - "id": "dns.managedZoneOperations.list", - "parameterOrder": [ - "project", - "location", - "managedZone" - ], - "parameters": { - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "sortBy": { - "default": "START_TIME", - "description": "Sorting criterion. The only supported values are START_TIME and ID.", - "enum": [ - "START_TIME", - "ID" - ], - "enumDescriptions": [ - "", - "" - ], - "location": "query", - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/operations", - "response": { - "$ref": "ManagedZoneOperationsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "managedZones": { - "methods": { - "create": { - "description": "Creates a new ManagedZone.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones", - "httpMethod": "POST", - "id": "dns.managedZones.create", - "parameterOrder": [ - "project", - "location" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones", - "request": { - "$ref": "ManagedZone" - }, - "response": { - "$ref": "ManagedZone" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "delete": { - "description": "Deletes a previously created ManagedZone.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}", - "httpMethod": "DELETE", - "id": "dns.managedZones.delete", - "parameterOrder": [ - "project", - "location", - "managedZone" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "get": { - "description": "Fetches the representation of an existing ManagedZone.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}", - "httpMethod": "GET", - "id": "dns.managedZones.get", - "parameterOrder": [ - "project", - "location", - "managedZone" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}", - "response": { - "$ref": "ManagedZone" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerates ManagedZones that have been created but not yet deleted.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones", - "httpMethod": "GET", - "id": "dns.managedZones.list", - "parameterOrder": [ - "project", - "location" - ], - "parameters": { - "dnsName": { - "description": "Restricts the list to return only zones with this domain name.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones", - "response": { - "$ref": "ManagedZonesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "patch": { - "description": "Applies a partial update to an existing ManagedZone.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}", - "httpMethod": "PATCH", - "id": "dns.managedZones.patch", - "parameterOrder": [ - "project", - "location", - "managedZone" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}", - "request": { - "$ref": "ManagedZone" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "update": { - "description": "Updates an existing ManagedZone.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}", - "httpMethod": "PUT", - "id": "dns.managedZones.update", - "parameterOrder": [ - "project", - "location", - "managedZone" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}", - "request": { - "$ref": "ManagedZone" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "policies": { - "methods": { - "create": { - "description": "Creates a new Policy.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/policies", - "httpMethod": "POST", - "id": "dns.policies.create", - "parameterOrder": [ - "project", - "location" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/policies", - "request": { - "$ref": "Policy" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "delete": { - "description": "Deletes a previously created Policy. Fails if the policy is still being referenced by a network.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/policies/{policy}", - "httpMethod": "DELETE", - "id": "dns.policies.delete", - "parameterOrder": [ - "project", - "location", - "policy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "policy": { - "description": "User given friendly name of the policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/policies/{policy}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "get": { - "description": "Fetches the representation of an existing Policy.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/policies/{policy}", - "httpMethod": "GET", - "id": "dns.policies.get", - "parameterOrder": [ - "project", - "location", - "policy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "policy": { - "description": "User given friendly name of the policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/policies/{policy}", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerates all Policies associated with a project.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/policies", - "httpMethod": "GET", - "id": "dns.policies.list", - "parameterOrder": [ - "project", - "location" - ], - "parameters": { - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/policies", - "response": { - "$ref": "PoliciesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "patch": { - "description": "Applies a partial update to an existing Policy.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/policies/{policy}", - "httpMethod": "PATCH", - "id": "dns.policies.patch", - "parameterOrder": [ - "project", - "location", - "policy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "policy": { - "description": "User given friendly name of the policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/policies/{policy}", - "request": { - "$ref": "Policy" - }, - "response": { - "$ref": "PoliciesPatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "update": { - "description": "Updates an existing Policy.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/policies/{policy}", - "httpMethod": "PUT", - "id": "dns.policies.update", - "parameterOrder": [ - "project", - "location", - "policy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "policy": { - "description": "User given friendly name of the policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/policies/{policy}", - "request": { - "$ref": "Policy" - }, - "response": { - "$ref": "PoliciesUpdateResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "projects": { - "methods": { - "get": { - "description": "Fetches the representation of an existing Project.", - "flatPath": "dns/v2/projects/{project}/locations/{location}", - "httpMethod": "GET", - "id": "dns.projects.get", - "parameterOrder": [ - "project", - "location" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}", - "response": { - "$ref": "Project" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "resourceRecordSets": { - "methods": { - "create": { - "description": "Creates a new ResourceRecordSet.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/rrsets", - "httpMethod": "POST", - "id": "dns.resourceRecordSets.create", - "parameterOrder": [ - "project", - "location", - "managedZone" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/rrsets", - "request": { - "$ref": "ResourceRecordSet" - }, - "response": { - "$ref": "ResourceRecordSet" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "delete": { - "description": "Deletes a previously created ResourceRecordSet.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/rrsets/{name}/{type}", - "httpMethod": "DELETE", - "id": "dns.resourceRecordSets.delete", - "parameterOrder": [ - "project", - "location", - "managedZone", - "name", - "type" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "name": { - "description": "Fully qualified domain name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "type": { - "description": "RRSet type.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/rrsets/{name}/{type}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "get": { - "description": "Fetches the representation of an existing ResourceRecordSet.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/rrsets/{name}/{type}", - "httpMethod": "GET", - "id": "dns.resourceRecordSets.get", - "parameterOrder": [ - "project", - "location", - "managedZone", - "name", - "type" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "name": { - "description": "Fully qualified domain name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "type": { - "description": "RRSet type.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/rrsets/{name}/{type}", - "response": { - "$ref": "ResourceRecordSet" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerates ResourceRecordSets that you have created but not yet deleted.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/rrsets", - "httpMethod": "GET", - "id": "dns.resourceRecordSets.list", - "parameterOrder": [ - "project", - "location", - "managedZone" - ], - "parameters": { - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "name": { - "description": "Restricts the list to return only records with this fully qualified domain name.", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "type": { - "description": "Restricts the list to return only records of this type. If present, the \"name\" parameter must also be present.", - "location": "query", - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/rrsets", - "response": { - "$ref": "ResourceRecordSetsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "patch": { - "description": "Applies a partial update to an existing ResourceRecordSet.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/rrsets/{name}/{type}", - "httpMethod": "PATCH", - "id": "dns.resourceRecordSets.patch", - "parameterOrder": [ - "project", - "location", - "managedZone", - "name", - "type" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", - "location": "path", - "required": true, - "type": "string" - }, - "name": { - "description": "Fully qualified domain name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "type": { - "description": "RRSet type.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/managedZones/{managedZone}/rrsets/{name}/{type}", - "request": { - "$ref": "ResourceRecordSet" - }, - "response": { - "$ref": "ResourceRecordSet" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "responsePolicies": { - "methods": { - "create": { - "description": "Creates a new Response Policy", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies", - "httpMethod": "POST", - "id": "dns.responsePolicies.create", - "parameterOrder": [ - "project", - "location" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource, only applicable in the v APIs. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies", - "request": { - "$ref": "ResponsePolicy" - }, - "response": { - "$ref": "ResponsePolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "delete": { - "description": "Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}", - "httpMethod": "DELETE", - "id": "dns.responsePolicies.delete", - "parameterOrder": [ - "project", - "location", - "responsePolicy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicy": { - "description": "User assigned name of the Response Policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "get": { - "description": "Fetches the representation of an existing Response Policy.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}", - "httpMethod": "GET", - "id": "dns.responsePolicies.get", - "parameterOrder": [ - "project", - "location", - "responsePolicy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicy": { - "description": "User assigned name of the Response Policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}", - "response": { - "$ref": "ResponsePolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerates all Response Policies associated with a project.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies", - "httpMethod": "GET", - "id": "dns.responsePolicies.list", - "parameterOrder": [ - "project", - "location" - ], - "parameters": { - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies", - "response": { - "$ref": "ResponsePoliciesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "patch": { - "description": "Applies a partial update to an existing Response Policy.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}", - "httpMethod": "PATCH", - "id": "dns.responsePolicies.patch", - "parameterOrder": [ - "project", - "location", - "responsePolicy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicy": { - "description": "User assigned name of the Respones Policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}", - "request": { - "$ref": "ResponsePolicy" - }, - "response": { - "$ref": "ResponsePoliciesPatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "update": { - "description": "Updates an existing Response Policy.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}", - "httpMethod": "PUT", - "id": "dns.responsePolicies.update", - "parameterOrder": [ - "project", - "location", - "responsePolicy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicy": { - "description": "User assigned name of the Response Policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}", - "request": { - "$ref": "ResponsePolicy" - }, - "response": { - "$ref": "ResponsePoliciesUpdateResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "responsePolicyRules": { - "methods": { - "create": { - "description": "Creates a new Response Policy Rule.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules", - "httpMethod": "POST", - "id": "dns.responsePolicyRules.create", - "parameterOrder": [ - "project", - "location", - "responsePolicy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicy": { - "description": "User assigned name of the Response Policy containing the Response Policy Rule.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules", - "request": { - "$ref": "ResponsePolicyRule" - }, - "response": { - "$ref": "ResponsePolicyRule" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "delete": { - "description": "Deletes a previously created Response Policy Rule.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", - "httpMethod": "DELETE", - "id": "dns.responsePolicyRules.delete", - "parameterOrder": [ - "project", - "location", - "responsePolicy", - "responsePolicyRule" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicy": { - "description": "User assigned name of the Response Policy containing the Response Policy Rule.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicyRule": { - "description": "User assigned name of the Response Policy Rule addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "get": { - "description": "Fetches the representation of an existing Response Policy Rule.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", - "httpMethod": "GET", - "id": "dns.responsePolicyRules.get", - "parameterOrder": [ - "project", - "location", - "responsePolicy", - "responsePolicyRule" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicy": { - "description": "User assigned name of the Response Policy containing the Response Policy Rule.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicyRule": { - "description": "User assigned name of the Response Policy Rule addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", - "response": { - "$ref": "ResponsePolicyRule" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerates all Response Policy Rules associated with a project.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules", - "httpMethod": "GET", - "id": "dns.responsePolicyRules.list", - "parameterOrder": [ - "project", - "location", - "responsePolicy" - ], - "parameters": { - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicy": { - "description": "User assigned name of the Response Policy to list.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules", - "response": { - "$ref": "ResponsePolicyRulesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "patch": { - "description": "Applies a partial update to an existing Response Policy Rule.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", - "httpMethod": "PATCH", - "id": "dns.responsePolicyRules.patch", - "parameterOrder": [ - "project", - "location", - "responsePolicy", - "responsePolicyRule" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicy": { - "description": "User assigned name of the Response Policy containing the Response Policy Rule.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicyRule": { - "description": "User assigned name of the Response Policy Rule addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", - "request": { - "$ref": "ResponsePolicyRule" - }, - "response": { - "$ref": "ResponsePolicyRulesPatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "update": { - "description": "Updates an existing Response Policy Rule.", - "flatPath": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", - "httpMethod": "PUT", - "id": "dns.responsePolicyRules.update", - "parameterOrder": [ - "project", - "location", - "responsePolicy", - "responsePolicyRule" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", - "location": "query", - "type": "string" - }, - "location": { - "default": "global", - "description": "Specifies the location of the resource. This information will be used for routing and will be part of the resource name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicy": { - "description": "User assigned name of the Response Policy containing the Response Policy Rule.", - "location": "path", - "required": true, - "type": "string" - }, - "responsePolicyRule": { - "description": "User assigned name of the Response Policy Rule addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2/projects/{project}/locations/{location}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", - "request": { - "$ref": "ResponsePolicyRule" - }, - "response": { - "$ref": "ResponsePolicyRulesUpdateResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - } - }, - "revision": "20220217", - "rootUrl": "https://dns.googleapis.com/", - "schemas": { - "Change": { - "description": "A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is the sum effect of applying all Change elements in the Changes collection in sequence.", - "id": "Change", - "properties": { - "additions": { - "description": "Which ResourceRecordSets to add?", - "items": { - "$ref": "ResourceRecordSet" - }, - "type": "array" - }, - "deletions": { - "description": "Which ResourceRecordSets to remove? Must match existing data exactly.", - "items": { - "$ref": "ResourceRecordSet" - }, - "type": "array" - }, - "id": { - "description": "Unique identifier for the resource; defined by the server (output only).", - "type": "string" - }, - "isServing": { - "description": "If the DNS queries for the zone will be served.", - "type": "boolean" - }, - "kind": { - "default": "dns#change", - "type": "string" - }, - "startTime": { - "description": "The time that this operation was started by the server (output only). This is in RFC3339 text format.", - "type": "string" - }, - "status": { - "description": "Status of the operation (output only). A status of \"done\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.", - "enum": [ - "PENDING", - "DONE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "ChangesListResponse": { - "description": "The response to a request to enumerate Changes to a ResourceRecordSets collection.", - "id": "ChangesListResponse", - "properties": { - "changes": { - "description": "The requested changes.", - "items": { - "$ref": "Change" - }, - "type": "array" - }, - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#changesListResponse", - "description": "Type of resource.", - "type": "string" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. This lets you retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a \"snapshot\" of collections larger than the maximum page size.", - "type": "string" - } - }, - "type": "object" - }, - "DnsKey": { - "description": "A DNSSEC key pair.", - "id": "DnsKey", - "properties": { - "algorithm": { - "description": "String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.", - "enum": [ - "RSASHA1", - "RSASHA256", - "RSASHA512", - "ECDSAP256SHA256", - "ECDSAP384SHA384" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "creationTime": { - "description": "The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.", - "type": "string" - }, - "description": { - "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function.", - "type": "string" - }, - "digests": { - "description": "Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only.", - "items": { - "$ref": "DnsKeyDigest" - }, - "type": "array" - }, - "id": { - "description": "Unique identifier for the resource; defined by the server (output only).", - "type": "string" - }, - "isActive": { - "description": "Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures.", - "type": "boolean" - }, - "keyLength": { - "description": "Length of the key in bits. Specified at creation time, and then immutable.", - "format": "uint32", - "type": "integer" - }, - "keyTag": { - "description": "The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone's DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only.", - "format": "int32", - "type": "integer" - }, - "kind": { - "default": "dns#dnsKey", - "type": "string" - }, - "publicKey": { - "description": "Base64 encoded public half of this key. Output only.", - "type": "string" - }, - "type": { - "description": "One of \"KEY_SIGNING\" or \"ZONE_SIGNING\". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time.", - "enum": [ - "KEY_SIGNING", - "ZONE_SIGNING" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "DnsKeyDigest": { - "id": "DnsKeyDigest", - "properties": { - "digest": { - "description": "The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.", - "type": "string" - }, - "type": { - "description": "Specifies the algorithm used to calculate this digest.", - "enum": [ - "SHA1", - "SHA256", - "SHA384" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "DnsKeySpec": { - "description": "Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.", - "id": "DnsKeySpec", - "properties": { - "algorithm": { - "description": "String mnemonic specifying the DNSSEC algorithm of this key.", - "enum": [ - "RSASHA1", - "RSASHA256", - "RSASHA512", - "ECDSAP256SHA256", - "ECDSAP384SHA384" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "keyLength": { - "description": "Length of the keys in bits.", - "format": "uint32", - "type": "integer" - }, - "keyType": { - "description": "Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.", - "enum": [ - "KEY_SIGNING", - "ZONE_SIGNING" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "kind": { - "default": "dns#dnsKeySpec", - "type": "string" - } - }, - "type": "object" - }, - "DnsKeysListResponse": { - "description": "The response to a request to enumerate DnsKeys in a ManagedZone.", - "id": "DnsKeysListResponse", - "properties": { - "dnsKeys": { - "description": "The requested resources.", - "items": { - "$ref": "DnsKey" - }, - "type": "array" - }, - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#dnsKeysListResponse", - "description": "Type of resource.", - "type": "string" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. In this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. There is no way to retrieve a \"snapshot\" of collections larger than the maximum page size.", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZone": { - "description": "A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.", - "id": "ManagedZone", - "properties": { - "cloudLoggingConfig": { - "$ref": "ManagedZoneCloudLoggingConfig" - }, - "creationTime": { - "description": "The time that this resource was created on the server. This is in RFC3339 text format. Output only.", - "type": "string" - }, - "description": { - "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function.", - "type": "string" - }, - "dnsName": { - "description": "The DNS name of this managed zone, for instance \"example.com.\".", - "type": "string" - }, - "dnssecConfig": { - "$ref": "ManagedZoneDnsSecConfig", - "description": "DNSSEC configuration." - }, - "forwardingConfig": { - "$ref": "ManagedZoneForwardingConfig", - "description": "The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to." - }, - "id": { - "description": "Unique identifier for the resource; defined by the server (output only)", - "format": "uint64", - "type": "string" - }, - "kind": { - "default": "dns#managedZone", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "User labels.", - "type": "object" - }, - "name": { - "description": "User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.", - "type": "string" - }, - "nameServerSet": { - "description": "Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team.", - "type": "string" - }, - "nameServers": { - "description": "Delegate your managed_zone to these virtual name servers; defined by the server (output only)", - "items": { - "type": "string" - }, - "type": "array" - }, - "peeringConfig": { - "$ref": "ManagedZonePeeringConfig", - "description": "The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with." - }, - "privateVisibilityConfig": { - "$ref": "ManagedZonePrivateVisibilityConfig", - "description": "For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from." - }, - "reverseLookupConfig": { - "$ref": "ManagedZoneReverseLookupConfig", - "description": "The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config." - }, - "serviceDirectoryConfig": { - "$ref": "ManagedZoneServiceDirectoryConfig", - "description": "This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones." - }, - "visibility": { - "description": "The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.", - "enum": [ - "PUBLIC", - "PRIVATE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "ManagedZoneCloudLoggingConfig": { - "description": "Cloud Logging configurations for publicly visible zones.", - "id": "ManagedZoneCloudLoggingConfig", - "properties": { - "enableLogging": { - "description": "If set, enable query logging for this ManagedZone. False by default, making logging opt-in.", - "type": "boolean" - }, - "kind": { - "default": "dns#managedZoneCloudLoggingConfig", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZoneDnsSecConfig": { - "id": "ManagedZoneDnsSecConfig", - "properties": { - "defaultKeySpecs": { - "description": "Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.", - "items": { - "$ref": "DnsKeySpec" - }, - "type": "array" - }, - "kind": { - "default": "dns#managedZoneDnsSecConfig", - "type": "string" - }, - "nonExistence": { - "description": "Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.", - "enum": [ - "NSEC", - "NSEC3" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "state": { - "description": "Specifies whether DNSSEC is enabled, and what mode it is in.", - "enum": [ - "OFF", - "ON", - "TRANSFER" - ], - "enumDescriptions": [ - "DNSSEC is disabled; the zone is not signed.", - "DNSSEC is enabled; the zone is signed and fully managed.", - "DNSSEC is enabled, but in a \"transfer\" mode." - ], - "type": "string" - } - }, - "type": "object" - }, - "ManagedZoneForwardingConfig": { - "id": "ManagedZoneForwardingConfig", - "properties": { - "kind": { - "default": "dns#managedZoneForwardingConfig", - "type": "string" - }, - "targetNameServers": { - "description": "List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.", - "items": { - "$ref": "ManagedZoneForwardingConfigNameServerTarget" - }, - "type": "array" - } - }, - "type": "object" - }, - "ManagedZoneForwardingConfigNameServerTarget": { - "id": "ManagedZoneForwardingConfigNameServerTarget", - "properties": { - "forwardingPath": { - "description": "Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.", - "enum": [ - "DEFAULT", - "PRIVATE" - ], - "enumDescriptions": [ - "Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet", - "Cloud DNS always forwards to this target through the VPC." - ], - "type": "string" - }, - "ipv4Address": { - "description": "IPv4 address of a target name server.", - "type": "string" - }, - "kind": { - "default": "dns#managedZoneForwardingConfigNameServerTarget", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZoneOperationsListResponse": { - "id": "ManagedZoneOperationsListResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#managedZoneOperationsListResponse", - "type": "string" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", - "type": "string" - }, - "operations": { - "description": "The operation resources.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "ManagedZonePeeringConfig": { - "id": "ManagedZonePeeringConfig", - "properties": { - "kind": { - "default": "dns#managedZonePeeringConfig", - "type": "string" - }, - "targetNetwork": { - "$ref": "ManagedZonePeeringConfigTargetNetwork", - "description": "The network with which to peer." - } - }, - "type": "object" - }, - "ManagedZonePeeringConfigTargetNetwork": { - "id": "ManagedZonePeeringConfigTargetNetwork", - "properties": { - "deactivateTime": { - "description": "The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.", - "type": "string" - }, - "kind": { - "default": "dns#managedZonePeeringConfigTargetNetwork", - "type": "string" - }, - "networkUrl": { - "description": "The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZonePrivateVisibilityConfig": { - "id": "ManagedZonePrivateVisibilityConfig", - "properties": { - "gkeClusters": { - "description": "The list of Google Kubernetes Engine clusters that can see this zone.", - "items": { - "$ref": "ManagedZonePrivateVisibilityConfigGKECluster" - }, - "type": "array" - }, - "kind": { - "default": "dns#managedZonePrivateVisibilityConfig", - "type": "string" - }, - "networks": { - "description": "The list of VPC networks that can see this zone.", - "items": { - "$ref": "ManagedZonePrivateVisibilityConfigNetwork" - }, - "type": "array" - } - }, - "type": "object" - }, - "ManagedZonePrivateVisibilityConfigGKECluster": { - "id": "ManagedZonePrivateVisibilityConfigGKECluster", - "properties": { - "gkeClusterName": { - "description": "The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get", - "type": "string" - }, - "kind": { - "default": "dns#managedZonePrivateVisibilityConfigGKECluster", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZonePrivateVisibilityConfigNetwork": { - "id": "ManagedZonePrivateVisibilityConfigNetwork", - "properties": { - "kind": { - "default": "dns#managedZonePrivateVisibilityConfigNetwork", - "type": "string" - }, - "networkUrl": { - "description": "The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZoneReverseLookupConfig": { - "id": "ManagedZoneReverseLookupConfig", - "properties": { - "kind": { - "default": "dns#managedZoneReverseLookupConfig", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZoneServiceDirectoryConfig": { - "description": "Contains information about Service Directory-backed zones.", - "id": "ManagedZoneServiceDirectoryConfig", - "properties": { - "kind": { - "default": "dns#managedZoneServiceDirectoryConfig", - "type": "string" - }, - "namespace": { - "$ref": "ManagedZoneServiceDirectoryConfigNamespace", - "description": "Contains information about the namespace associated with the zone." - } - }, - "type": "object" - }, - "ManagedZoneServiceDirectoryConfigNamespace": { - "id": "ManagedZoneServiceDirectoryConfigNamespace", - "properties": { - "deletionTime": { - "description": "The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.", - "type": "string" - }, - "kind": { - "default": "dns#managedZoneServiceDirectoryConfigNamespace", - "type": "string" - }, - "namespaceUrl": { - "description": "The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZonesListResponse": { - "id": "ManagedZonesListResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#managedZonesListResponse", - "description": "Type of resource.", - "type": "string" - }, - "managedZones": { - "description": "The managed zone resources.", - "items": { - "$ref": "ManagedZone" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id.", - "id": "Operation", - "properties": { - "dnsKeyContext": { - "$ref": "OperationDnsKeyContext", - "description": "Only populated if the operation targeted a DnsKey (output only)." - }, - "id": { - "description": "Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only)", - "type": "string" - }, - "kind": { - "default": "dns#operation", - "type": "string" - }, - "startTime": { - "description": "The time that this operation was started by the server. This is in RFC3339 text format (output only).", - "type": "string" - }, - "status": { - "description": "Status of the operation. Can be one of the following: \"PENDING\" or \"DONE\" (output only). A status of \"DONE\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.", - "enum": [ - "PENDING", - "DONE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "type": { - "description": "Type of the operation. Operations include insert, update, and delete (output only).", - "type": "string" - }, - "user": { - "description": "User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)", - "type": "string" - }, - "zoneContext": { - "$ref": "OperationManagedZoneContext", - "description": "Only populated if the operation targeted a ManagedZone (output only)." - } - }, - "type": "object" - }, - "OperationDnsKeyContext": { - "id": "OperationDnsKeyContext", - "properties": { - "newValue": { - "$ref": "DnsKey", - "description": "The post-operation DnsKey resource." - }, - "oldValue": { - "$ref": "DnsKey", - "description": "The pre-operation DnsKey resource." - } - }, - "type": "object" - }, - "OperationManagedZoneContext": { - "id": "OperationManagedZoneContext", - "properties": { - "newValue": { - "$ref": "ManagedZone", - "description": "The post-operation ManagedZone resource." - }, - "oldValue": { - "$ref": "ManagedZone", - "description": "The pre-operation ManagedZone resource." - } - }, - "type": "object" - }, - "PoliciesListResponse": { - "id": "PoliciesListResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#policiesListResponse", - "description": "Type of resource.", - "type": "string" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", - "type": "string" - }, - "policies": { - "description": "The policy resources.", - "items": { - "$ref": "Policy" - }, - "type": "array" - } - }, - "type": "object" - }, - "PoliciesPatchResponse": { - "id": "PoliciesPatchResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "policy": { - "$ref": "Policy" - } - }, - "type": "object" - }, - "PoliciesUpdateResponse": { - "id": "PoliciesUpdateResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "policy": { - "$ref": "Policy" - } - }, - "type": "object" - }, - "Policy": { - "description": "A policy is a collection of DNS rules applied to one or more Virtual Private Cloud resources.", - "id": "Policy", - "properties": { - "alternativeNameServerConfig": { - "$ref": "PolicyAlternativeNameServerConfig", - "description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified." - }, - "description": { - "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.", - "type": "string" - }, - "enableInboundForwarding": { - "description": "Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy.", - "type": "boolean" - }, - "enableLogging": { - "description": "Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.", - "type": "boolean" - }, - "id": { - "description": "Unique identifier for the resource; defined by the server (output only).", - "format": "uint64", - "type": "string" - }, - "kind": { - "default": "dns#policy", - "type": "string" - }, - "name": { - "description": "User-assigned name for this policy.", - "type": "string" - }, - "networks": { - "description": "List of network names specifying networks to which this policy is applied.", - "items": { - "$ref": "PolicyNetwork" - }, - "type": "array" - } - }, - "type": "object" - }, - "PolicyAlternativeNameServerConfig": { - "id": "PolicyAlternativeNameServerConfig", - "properties": { - "kind": { - "default": "dns#policyAlternativeNameServerConfig", - "type": "string" - }, - "targetNameServers": { - "description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.", - "items": { - "$ref": "PolicyAlternativeNameServerConfigTargetNameServer" - }, - "type": "array" - } - }, - "type": "object" - }, - "PolicyAlternativeNameServerConfigTargetNameServer": { - "id": "PolicyAlternativeNameServerConfigTargetNameServer", - "properties": { - "forwardingPath": { - "description": "Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.", - "enum": [ - "DEFAULT", - "PRIVATE" - ], - "enumDescriptions": [ - "Cloud DNS makes forwarding decision based on IP address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet", - "Cloud DNS always forwards to this target through the VPC." - ], - "type": "string" - }, - "ipv4Address": { - "description": "IPv4 address to forward to.", - "type": "string" - }, - "kind": { - "default": "dns#policyAlternativeNameServerConfigTargetNameServer", - "type": "string" - } - }, - "type": "object" - }, - "PolicyNetwork": { - "id": "PolicyNetwork", - "properties": { - "kind": { - "default": "dns#policyNetwork", - "type": "string" - }, - "networkUrl": { - "description": "The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", - "type": "string" - } - }, - "type": "object" - }, - "Project": { - "description": "A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console. Next tag: 7.", - "id": "Project", - "properties": { - "id": { - "description": "User assigned unique identifier for the resource (output only).", - "type": "string" - }, - "kind": { - "default": "dns#project", - "type": "string" - }, - "number": { - "description": "Unique numeric identifier for the resource; defined by the server (output only).", - "format": "uint64", - "type": "string" - }, - "quota": { - "$ref": "Quota", - "description": "Quotas assigned to this project (output only)." - } - }, - "type": "object" - }, - "Quota": { - "description": "Limits associated with a Project.", - "id": "Quota", - "properties": { - "dnsKeysPerManagedZone": { - "description": "Maximum allowed number of DnsKeys per ManagedZone.", - "format": "int32", - "type": "integer" - }, - "itemsPerRoutingPolicy": { - "description": "Maximum allowed number of items per routing policy.", - "format": "int32", - "type": "integer" - }, - "kind": { - "default": "dns#quota", - "type": "string" - }, - "managedZones": { - "description": "Maximum allowed number of managed zones in the project.", - "format": "int32", - "type": "integer" - }, - "managedZonesPerNetwork": { - "description": "Maximum allowed number of managed zones which can be attached to a network.", - "format": "int32", - "type": "integer" - }, - "networksPerManagedZone": { - "description": "Maximum allowed number of networks to which a privately scoped zone can be attached.", - "format": "int32", - "type": "integer" - }, - "networksPerPolicy": { - "description": "Maximum allowed number of networks per policy.", - "format": "int32", - "type": "integer" - }, - "peeringZonesPerTargetNetwork": { - "description": "Maximum allowed number of consumer peering zones per target network owned by this producer project", - "format": "int32", - "type": "integer" - }, - "policies": { - "description": "Maximum allowed number of policies per project.", - "format": "int32", - "type": "integer" - }, - "resourceRecordsPerRrset": { - "description": "Maximum allowed number of ResourceRecords per ResourceRecordSet.", - "format": "int32", - "type": "integer" - }, - "rrsetAdditionsPerChange": { - "description": "Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.", - "format": "int32", - "type": "integer" - }, - "rrsetDeletionsPerChange": { - "description": "Maximum allowed number of ResourceRecordSets to delete per ChangesCreateRequest.", - "format": "int32", - "type": "integer" - }, - "rrsetsPerManagedZone": { - "description": "Maximum allowed number of ResourceRecordSets per zone in the project.", - "format": "int32", - "type": "integer" - }, - "targetNameServersPerManagedZone": { - "description": "Maximum allowed number of target name servers per managed forwarding zone.", - "format": "int32", - "type": "integer" - }, - "targetNameServersPerPolicy": { - "description": "Maximum allowed number of alternative target name servers per policy.", - "format": "int32", - "type": "integer" - }, - "totalRrdataSizePerChange": { - "description": "Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.", - "format": "int32", - "type": "integer" - }, - "whitelistedKeySpecs": { - "description": "DNSSEC algorithm and key length types that can be used for DnsKeys.", - "items": { - "$ref": "DnsKeySpec" - }, - "type": "array" - } - }, - "type": "object" - }, - "RRSetRoutingPolicy": { - "description": "A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection.", - "id": "RRSetRoutingPolicy", - "properties": { - "geo": { - "$ref": "RRSetRoutingPolicyGeoPolicy" - }, - "kind": { - "default": "dns#rRSetRoutingPolicy", - "type": "string" - }, - "wrr": { - "$ref": "RRSetRoutingPolicyWrrPolicy" - } - }, - "type": "object" - }, - "RRSetRoutingPolicyGeoPolicy": { - "description": "Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.", - "id": "RRSetRoutingPolicyGeoPolicy", - "properties": { - "items": { - "description": "The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.", - "items": { - "$ref": "RRSetRoutingPolicyGeoPolicyGeoPolicyItem" - }, - "type": "array" - }, - "kind": { - "default": "dns#rRSetRoutingPolicyGeoPolicy", - "type": "string" - } - }, - "type": "object" - }, - "RRSetRoutingPolicyGeoPolicyGeoPolicyItem": { - "description": "ResourceRecordSet data for one geo location.", - "id": "RRSetRoutingPolicyGeoPolicyGeoPolicyItem", - "properties": { - "kind": { - "default": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", - "type": "string" - }, - "location": { - "description": "The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. \"us-east1\", \"southamerica-east1\", \"asia-east1\", etc.", - "type": "string" - }, - "rrdatas": { - "items": { - "type": "string" - }, - "type": "array" - }, - "signatureRrdatas": { - "description": "DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "RRSetRoutingPolicyWrrPolicy": { - "description": "Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.", - "id": "RRSetRoutingPolicyWrrPolicy", - "properties": { - "items": { - "items": { - "$ref": "RRSetRoutingPolicyWrrPolicyWrrPolicyItem" - }, - "type": "array" - }, - "kind": { - "default": "dns#rRSetRoutingPolicyWrrPolicy", - "type": "string" - } - }, - "type": "object" - }, - "RRSetRoutingPolicyWrrPolicyWrrPolicyItem": { - "description": "A routing block which contains the routing information for one WRR item.", - "id": "RRSetRoutingPolicyWrrPolicyWrrPolicyItem", - "properties": { - "kind": { - "default": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", - "type": "string" - }, - "rrdatas": { - "items": { - "type": "string" - }, - "type": "array" - }, - "signatureRrdatas": { - "description": "DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .", - "items": { - "type": "string" - }, - "type": "array" - }, - "weight": { - "description": "The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "ResourceRecordSet": { - "description": "A unit of data that is returned by the DNS servers.", - "id": "ResourceRecordSet", - "properties": { - "kind": { - "default": "dns#resourceRecordSet", - "type": "string" - }, - "name": { - "description": "For example, www.example.com.", - "type": "string" - }, - "routingPolicy": { - "$ref": "RRSetRoutingPolicy", - "description": "Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise." - }, - "rrdatas": { - "description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.", - "items": { - "type": "string" - }, - "type": "array" - }, - "signatureRrdatas": { - "description": "As defined in RFC 4034 (section 3.2).", - "items": { - "type": "string" - }, - "type": "array" - }, - "ttl": { - "description": "Number of seconds that this ResourceRecordSet can be cached by resolvers.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "The identifier of a supported record type. See the list of Supported DNS record types.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceRecordSetsListResponse": { - "id": "ResourceRecordSetsListResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#resourceRecordSetsListResponse", - "description": "Type of resource.", - "type": "string" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. This lets you retrieve complete contents of even larger collections, one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", - "type": "string" - }, - "rrsets": { - "description": "The resource record set resources.", - "items": { - "$ref": "ResourceRecordSet" - }, - "type": "array" - } - }, - "type": "object" - }, - "ResponseHeader": { - "description": "Elements common to every response.", - "id": "ResponseHeader", - "properties": { - "operationId": { - "description": "For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).", - "type": "string" - } - }, - "type": "object" - }, - "ResponsePoliciesListResponse": { - "id": "ResponsePoliciesListResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", - "type": "string" - }, - "responsePolicies": { - "description": "The Response Policy resources.", - "items": { - "$ref": "ResponsePolicy" - }, - "type": "array" - } - }, - "type": "object" - }, - "ResponsePoliciesPatchResponse": { - "id": "ResponsePoliciesPatchResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "responsePolicy": { - "$ref": "ResponsePolicy" - } - }, - "type": "object" - }, - "ResponsePoliciesUpdateResponse": { - "id": "ResponsePoliciesUpdateResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "responsePolicy": { - "$ref": "ResponsePolicy" - } - }, - "type": "object" - }, - "ResponsePolicy": { - "description": "A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.", - "id": "ResponsePolicy", - "properties": { - "description": { - "description": "User-provided description for this Response Policy.", - "type": "string" - }, - "gkeClusters": { - "description": "The list of Google Kubernetes Engine clusters to which this response policy is applied.", - "items": { - "$ref": "ResponsePolicyGKECluster" - }, - "type": "array" - }, - "id": { - "description": "Unique identifier for the resource; defined by the server (output only).", - "format": "int64", - "type": "string" - }, - "kind": { - "default": "dns#responsePolicy", - "type": "string" - }, - "networks": { - "description": "List of network names specifying networks to which this policy is applied.", - "items": { - "$ref": "ResponsePolicyNetwork" - }, - "type": "array" - }, - "responsePolicyName": { - "description": "User assigned name for this Response Policy.", - "type": "string" - } - }, - "type": "object" - }, - "ResponsePolicyGKECluster": { - "id": "ResponsePolicyGKECluster", - "properties": { - "gkeClusterName": { - "description": "The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get", - "type": "string" - }, - "kind": { - "default": "dns#responsePolicyGKECluster", - "type": "string" - } - }, - "type": "object" - }, - "ResponsePolicyNetwork": { - "id": "ResponsePolicyNetwork", - "properties": { - "kind": { - "default": "dns#responsePolicyNetwork", - "type": "string" - }, - "networkUrl": { - "description": "The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", - "type": "string" - } - }, - "type": "object" - }, - "ResponsePolicyRule": { - "description": "A Response Policy Rule is a selector that applies its behavior to queries that match the selector. Selectors are DNS names, which may be wildcards or exact matches. Each DNS query subject to a Response Policy matches at most one ResponsePolicyRule, as identified by the dns_name field with the longest matching suffix.", - "id": "ResponsePolicyRule", - "properties": { - "behavior": { - "description": "Answer this query with a behavior rather than DNS data.", - "enum": [ - "BEHAVIOR_UNSPECIFIED", - "BYPASS_RESPONSE_POLICY" - ], - "enumDescriptions": [ - "", - "Skip a less-specific ResponsePolicyRule and continue normal query logic. This can be used in conjunction with a wildcard to exempt a subset of the wildcard ResponsePolicyRule from the ResponsePolicy behavior and e.g., query the public internet instead. For instance, if these rules exist: *.example.com -> 1.2.3.4 foo.example.com -> PASSTHRU Then a query for 'foo.example.com' skips the wildcard." - ], - "type": "string" - }, - "dnsName": { - "description": "The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.", - "type": "string" - }, - "kind": { - "default": "dns#responsePolicyRule", - "type": "string" - }, - "localData": { - "$ref": "ResponsePolicyRuleLocalData", - "description": "Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed." - }, - "ruleName": { - "description": "An identifier for this rule. Must be unique with the ResponsePolicy.", - "type": "string" - } - }, - "type": "object" - }, - "ResponsePolicyRuleLocalData": { - "id": "ResponsePolicyRuleLocalData", - "properties": { - "localDatas": { - "description": "All resource record sets for this selector, one per resource record type. The name must match the dns_name.", - "items": { - "$ref": "ResourceRecordSet" - }, - "type": "array" - } - }, - "type": "object" - }, - "ResponsePolicyRulesListResponse": { - "id": "ResponsePolicyRulesListResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", - "type": "string" - }, - "responsePolicyRules": { - "description": "The Response Policy Rule resources.", - "items": { - "$ref": "ResponsePolicyRule" - }, - "type": "array" - } - }, - "type": "object" - }, - "ResponsePolicyRulesPatchResponse": { - "id": "ResponsePolicyRulesPatchResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "responsePolicyRule": { - "$ref": "ResponsePolicyRule" - } - }, - "type": "object" - }, - "ResponsePolicyRulesUpdateResponse": { - "id": "ResponsePolicyRulesUpdateResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "responsePolicyRule": { - "$ref": "ResponsePolicyRule" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud DNS API", - "version": "v2" -} \ No newline at end of file diff --git a/discovery/dns-v2beta1.json b/discovery/dns-v2beta1.json deleted file mode 100644 index 9d546db517e..00000000000 --- a/discovery/dns-v2beta1.json +++ /dev/null @@ -1,1956 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, - "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" - }, - "https://www.googleapis.com/auth/ndev.clouddns.readonly": { - "description": "View your DNS records hosted by Google Cloud DNS" - }, - "https://www.googleapis.com/auth/ndev.clouddns.readwrite": { - "description": "View and manage your DNS records hosted by Google Cloud DNS" - } - } - } - }, - "basePath": "", - "baseUrl": "https://dns.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Dns", - "description": "", - "discoveryVersion": "v1", - "documentationLink": "http://developers.google.com/cloud-dns", - "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": "dns:v2beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://dns.mtls.googleapis.com/", - "name": "dns", - "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": { - "changes": { - "methods": { - "create": { - "description": "Atomically update the ResourceRecordSet collection.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes", - "httpMethod": "POST", - "id": "dns.changes.create", - "parameterOrder": [ - "project", - "managedZone" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes", - "request": { - "$ref": "Change" - }, - "response": { - "$ref": "Change" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "get": { - "description": "Fetch the representation of an existing Change.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes/{changeId}", - "httpMethod": "GET", - "id": "dns.changes.get", - "parameterOrder": [ - "project", - "managedZone", - "changeId" - ], - "parameters": { - "changeId": { - "description": "The identifier of the requested change, from a previous\nResourceRecordSetsChangeResponse.", - "location": "path", - "required": true, - "type": "string" - }, - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes/{changeId}", - "response": { - "$ref": "Change" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerate Changes to a ResourceRecordSet collection.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes", - "httpMethod": "GET", - "id": "dns.changes.list", - "parameterOrder": [ - "project", - "managedZone" - ], - "parameters": { - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "sortBy": { - "default": "CHANGE_SEQUENCE", - "description": "Sorting criterion. The only supported value is change sequence.", - "enum": [ - "CHANGE_SEQUENCE" - ], - "location": "query", - "type": "string" - }, - "sortOrder": { - "description": "Sorting order direction: 'ascending' or 'descending'.", - "location": "query", - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes", - "response": { - "$ref": "ChangesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "dnsKeys": { - "methods": { - "get": { - "description": "Fetch the representation of an existing DnsKey.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}", - "httpMethod": "GET", - "id": "dns.dnsKeys.get", - "parameterOrder": [ - "project", - "managedZone", - "dnsKeyId" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "digestType": { - "description": "An optional comma-separated list of digest types to compute and display\nfor key signing keys. If omitted, the recommended digest type will be\ncomputed and displayed.", - "location": "query", - "type": "string" - }, - "dnsKeyId": { - "description": "The identifier of the requested DnsKey.", - "location": "path", - "required": true, - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}", - "response": { - "$ref": "DnsKey" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerate DnsKeys to a ResourceRecordSet collection.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/dnsKeys", - "httpMethod": "GET", - "id": "dns.dnsKeys.list", - "parameterOrder": [ - "project", - "managedZone" - ], - "parameters": { - "digestType": { - "description": "An optional comma-separated list of digest types to compute and display\nfor key signing keys. If omitted, the recommended digest type will be\ncomputed and displayed.", - "location": "query", - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/dnsKeys", - "response": { - "$ref": "DnsKeysListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "managedZoneOperations": { - "methods": { - "get": { - "description": "Fetch the representation of an existing Operation.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/operations/{operation}", - "httpMethod": "GET", - "id": "dns.managedZoneOperations.get", - "parameterOrder": [ - "project", - "managedZone", - "operation" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "operation": { - "description": "Identifies the operation addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/operations/{operation}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerate Operations for the given ManagedZone.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/operations", - "httpMethod": "GET", - "id": "dns.managedZoneOperations.list", - "parameterOrder": [ - "project", - "managedZone" - ], - "parameters": { - "managedZone": { - "description": "Identifies the managed zone addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "sortBy": { - "default": "START_TIME", - "description": "Sorting criterion. The only supported values are START_TIME and ID.", - "enum": [ - "START_TIME", - "ID" - ], - "location": "query", - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/operations", - "response": { - "$ref": "ManagedZoneOperationsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "managedZones": { - "methods": { - "create": { - "description": "Create a new ManagedZone.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones", - "httpMethod": "POST", - "id": "dns.managedZones.create", - "parameterOrder": [ - "project" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones", - "request": { - "$ref": "ManagedZone" - }, - "response": { - "$ref": "ManagedZone" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "delete": { - "description": "Delete a previously created ManagedZone.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}", - "httpMethod": "DELETE", - "id": "dns.managedZones.delete", - "parameterOrder": [ - "project", - "managedZone" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "get": { - "description": "Fetch the representation of an existing ManagedZone.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}", - "httpMethod": "GET", - "id": "dns.managedZones.get", - "parameterOrder": [ - "project", - "managedZone" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}", - "response": { - "$ref": "ManagedZone" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "list": { - "description": "Enumerate ManagedZones that have been created but not yet deleted.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones", - "httpMethod": "GET", - "id": "dns.managedZones.list", - "parameterOrder": [ - "project" - ], - "parameters": { - "dnsName": { - "description": "Restricts the list to return only zones with this domain name.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones", - "response": { - "$ref": "ManagedZonesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "patch": { - "description": "Apply a partial update to an existing ManagedZone.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}", - "httpMethod": "PATCH", - "id": "dns.managedZones.patch", - "parameterOrder": [ - "project", - "managedZone" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}", - "request": { - "$ref": "ManagedZone" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - }, - "update": { - "description": "Update an existing ManagedZone.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}", - "httpMethod": "PUT", - "id": "dns.managedZones.update", - "parameterOrder": [ - "project", - "managedZone" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}", - "request": { - "$ref": "ManagedZone" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "policies": { - "methods": { - "create": { - "description": "Create a new Policy", - "flatPath": "dns/v2beta1/projects/{project}/policies", - "httpMethod": "POST", - "id": "dns.policies.create", - "parameterOrder": [ - "project" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/policies", - "request": { - "$ref": "Policy" - }, - "response": { - "$ref": "Policy" - } - }, - "delete": { - "description": "Delete a previously created Policy. Will fail if the policy is still being\nreferenced by a network.", - "flatPath": "dns/v2beta1/projects/{project}/policies/{policy}", - "httpMethod": "DELETE", - "id": "dns.policies.delete", - "parameterOrder": [ - "project", - "policy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "policy": { - "description": "User given friendly name of the policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/policies/{policy}" - }, - "get": { - "description": "Fetch the representation of an existing Policy.", - "flatPath": "dns/v2beta1/projects/{project}/policies/{policy}", - "httpMethod": "GET", - "id": "dns.policies.get", - "parameterOrder": [ - "project", - "policy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "policy": { - "description": "User given friendly name of the policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/policies/{policy}", - "response": { - "$ref": "Policy" - } - }, - "list": { - "description": "Enumerate all Policies associated with a project.", - "flatPath": "dns/v2beta1/projects/{project}/policies", - "httpMethod": "GET", - "id": "dns.policies.list", - "parameterOrder": [ - "project" - ], - "parameters": { - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/policies", - "response": { - "$ref": "PoliciesListResponse" - } - }, - "patch": { - "description": "Apply a partial update to an existing Policy.", - "flatPath": "dns/v2beta1/projects/{project}/policies/{policy}", - "httpMethod": "PATCH", - "id": "dns.policies.patch", - "parameterOrder": [ - "project", - "policy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "policy": { - "description": "User given friendly name of the policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/policies/{policy}", - "request": { - "$ref": "Policy" - }, - "response": { - "$ref": "PoliciesPatchResponse" - } - }, - "update": { - "description": "Update an existing Policy.", - "flatPath": "dns/v2beta1/projects/{project}/policies/{policy}", - "httpMethod": "PUT", - "id": "dns.policies.update", - "parameterOrder": [ - "project", - "policy" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "policy": { - "description": "User given friendly name of the policy addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/policies/{policy}", - "request": { - "$ref": "Policy" - }, - "response": { - "$ref": "PoliciesUpdateResponse" - } - } - } - }, - "projects": { - "methods": { - "get": { - "description": "Fetch the representation of an existing Project.", - "flatPath": "dns/v2beta1/projects/{project}", - "httpMethod": "GET", - "id": "dns.projects.get", - "parameterOrder": [ - "project" - ], - "parameters": { - "clientOperationId": { - "description": "For mutating operation requests only. An optional identifier\nspecified by the client. Must be unique for operation resources in the\nOperations collection.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}", - "response": { - "$ref": "Project" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - }, - "resourceRecordSets": { - "methods": { - "list": { - "description": "Enumerate ResourceRecordSets that have been created but not yet deleted.", - "flatPath": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/rrsets", - "httpMethod": "GET", - "id": "dns.resourceRecordSets.list", - "parameterOrder": [ - "project", - "managedZone" - ], - "parameters": { - "managedZone": { - "description": "Identifies the managed zone addressed by this request. Can be the managed\nzone name or id.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Optional. Maximum number of results to be returned. If unspecified, the\nserver will decide how many results to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "name": { - "description": "Restricts the list to return only records with this fully qualified domain\nname.", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Optional. A tag returned by a previous list request that was truncated.\nUse this parameter to continue a previous list request.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Identifies the project addressed by this request.", - "location": "path", - "required": true, - "type": "string" - }, - "type": { - "description": "Restricts the list to return only records of this type. If present, the\n\"name\" parameter must also be present.", - "location": "query", - "type": "string" - } - }, - "path": "dns/v2beta1/projects/{project}/managedZones/{managedZone}/rrsets", - "response": { - "$ref": "ResourceRecordSetsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/ndev.clouddns.readonly", - "https://www.googleapis.com/auth/ndev.clouddns.readwrite" - ] - } - } - } - }, - "revision": "20200731", - "rootUrl": "https://dns.googleapis.com/", - "schemas": { - "Change": { - "description": "A Change represents a set of ResourceRecordSet additions and deletions\napplied atomically to a ManagedZone. ResourceRecordSets within a\nManagedZone are modified by creating a new Change element in the Changes\ncollection. In turn the Changes collection also records the past\nmodifications to the ResourceRecordSets in a ManagedZone. The current\nstate of the ManagedZone is the sum effect of applying all Change\nelements in the Changes collection in sequence.", - "id": "Change", - "properties": { - "additions": { - "description": "Which ResourceRecordSets to add?", - "items": { - "$ref": "ResourceRecordSet" - }, - "type": "array" - }, - "deletions": { - "description": "Which ResourceRecordSets to remove? Must match existing data exactly.", - "items": { - "$ref": "ResourceRecordSet" - }, - "type": "array" - }, - "id": { - "description": "Unique identifier for the resource; defined by the server (output only).", - "type": "string" - }, - "isServing": { - "description": "If the DNS queries for the zone will be served.", - "type": "boolean" - }, - "kind": { - "default": "dns#change", - "type": "string" - }, - "startTime": { - "description": "The time that this operation was started by the server (output only). This\nis in RFC3339 text format.", - "type": "string" - }, - "status": { - "description": "Status of the operation (output only). A status of \"done\" means that the\nrequest to update the authoritative servers has been sent but the\nservers might not be updated yet.", - "enum": [ - "PENDING", - "DONE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "ChangesListResponse": { - "description": "The response to a request to enumerate Changes to a ResourceRecordSets\ncollection.", - "id": "ChangesListResponse", - "properties": { - "changes": { - "description": "The requested changes.", - "items": { - "$ref": "Change" - }, - "type": "array" - }, - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#changesListResponse", - "description": "Type of resource.", - "type": "string" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a \"snapshot\" of collections larger than the maximum\npage size.", - "type": "string" - } - }, - "type": "object" - }, - "DnsKey": { - "description": "A DNSSEC key pair.", - "id": "DnsKey", - "properties": { - "algorithm": { - "description": "String mnemonic specifying the DNSSEC algorithm of this key. Immutable\nafter creation time.", - "enum": [ - "RSASHA1", - "RSASHA256", - "RSASHA512", - "ECDSAP256SHA256", - "ECDSAP384SHA384" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "creationTime": { - "description": "The time that this resource was created in the control plane. This is in\nRFC3339 text format. Output only.", - "type": "string" - }, - "description": { - "description": "A mutable string of at most 1024 characters associated with this resource\nfor the user's convenience. Has no effect on the resource's function.", - "type": "string" - }, - "digests": { - "description": "Cryptographic hashes of the DNSKEY resource record associated with this\nDnsKey. These digests are needed to construct a DS record that points at\nthis DNS key. Output only.", - "items": { - "$ref": "DnsKeyDigest" - }, - "type": "array" - }, - "id": { - "description": "Unique identifier for the resource; defined by the server (output only).", - "type": "string" - }, - "isActive": { - "description": "Active keys will be used to sign subsequent changes to the ManagedZone.\nInactive keys will still be present as DNSKEY Resource Records for the use\nof resolvers validating existing signatures.", - "type": "boolean" - }, - "keyLength": { - "description": "Length of the key in bits. Specified at creation time then immutable.", - "format": "uint32", - "type": "integer" - }, - "keyTag": { - "description": "The key tag is a non-cryptographic hash of the a DNSKEY resource record\nassociated with this DnsKey. The key tag can be used to identify a DNSKEY\nmore quickly (but it is not a unique identifier). In particular, the key\ntag is used in a parent zone's DS record to point at the DNSKEY in this\nchild ManagedZone. The key tag is a number in the range [0, 65535] and the\nalgorithm to calculate it is specified in RFC4034 Appendix B. Output only.", - "format": "int32", - "type": "integer" - }, - "kind": { - "default": "dns#dnsKey", - "type": "string" - }, - "publicKey": { - "description": "Base64 encoded public half of this key. Output only.", - "type": "string" - }, - "type": { - "description": "One of \"KEY_SIGNING\" or \"ZONE_SIGNING\". Keys of type KEY_SIGNING have the\nSecure Entry Point flag set and, when active, will be used to sign only\nresource record sets of type DNSKEY. Otherwise, the Secure Entry Point\nflag will be cleared and this key will be used to sign only resource\nrecord sets of other types. Immutable after creation time.", - "enum": [ - "KEY_SIGNING", - "ZONE_SIGNING" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "DnsKeyDigest": { - "id": "DnsKeyDigest", - "properties": { - "digest": { - "description": "The base-16 encoded bytes of this digest. Suitable for use in a DS\nresource record.", - "type": "string" - }, - "type": { - "description": "Specifies the algorithm used to calculate this digest.", - "enum": [ - "SHA1", - "SHA256", - "SHA384" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "DnsKeySpec": { - "description": "Parameters for DnsKey key generation. Used for generating initial keys\nfor a new ManagedZone and as default when adding a new DnsKey.", - "id": "DnsKeySpec", - "properties": { - "algorithm": { - "description": "String mnemonic specifying the DNSSEC algorithm of this key.", - "enum": [ - "RSASHA1", - "RSASHA256", - "RSASHA512", - "ECDSAP256SHA256", - "ECDSAP384SHA384" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "keyLength": { - "description": "Length of the keys in bits.", - "format": "uint32", - "type": "integer" - }, - "keyType": { - "description": "Specifies whether this is a key signing key (KSK) or a zone signing key\n(ZSK). Key signing keys have the Secure Entry Point flag set and, when\nactive, will only be used to sign resource record sets of type DNSKEY.\nZone signing keys do not have the Secure Entry Point flag set and will be\nused to sign all other types of resource record sets.", - "enum": [ - "KEY_SIGNING", - "ZONE_SIGNING" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "kind": { - "default": "dns#dnsKeySpec", - "type": "string" - } - }, - "type": "object" - }, - "DnsKeysListResponse": { - "description": "The response to a request to enumerate DnsKeys in a ManagedZone.", - "id": "DnsKeysListResponse", - "properties": { - "dnsKeys": { - "description": "The requested resources.", - "items": { - "$ref": "DnsKey" - }, - "type": "array" - }, - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#dnsKeysListResponse", - "description": "Type of resource.", - "type": "string" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a \"snapshot\" of collections larger than the maximum\npage size.", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZone": { - "description": "A zone is a subtree of the DNS namespace under one administrative\nresponsibility. A ManagedZone is a resource that represents a DNS zone\nhosted by the Cloud DNS service.", - "id": "ManagedZone", - "properties": { - "creationTime": { - "description": "The time that this resource was created on the server. This is in RFC3339\ntext format. Output only.", - "type": "string" - }, - "description": { - "description": "A mutable string of at most 1024 characters associated with this resource\nfor the user's convenience. Has no effect on the managed zone's function.", - "type": "string" - }, - "dnsName": { - "description": "The DNS name of this managed zone, for instance \"example.com.\".", - "type": "string" - }, - "dnssecConfig": { - "$ref": "ManagedZoneDnsSecConfig", - "description": "DNSSEC configuration." - }, - "forwardingConfig": { - "$ref": "ManagedZoneForwardingConfig", - "description": "The presence for this field indicates that outbound forwarding is enabled\nfor this zone. The value of this field contains the set of destinations\nto forward to." - }, - "id": { - "description": "Unique identifier for the resource; defined by the server (output only)", - "format": "uint64", - "type": "string" - }, - "kind": { - "default": "dns#managedZone", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "User labels.", - "type": "object" - }, - "name": { - "description": "User assigned name for this resource. Must be unique within the project.\nThe name must be 1-63 characters long, must begin with a letter, end with\na letter or digit, and only contain lowercase letters, digits or dashes.", - "type": "string" - }, - "nameServerSet": { - "description": "Optionally specifies the NameServerSet for this ManagedZone. A\nNameServerSet is a set of DNS name servers that all host the same\nManagedZones. Most users will leave this field unset.", - "type": "string" - }, - "nameServers": { - "description": "Delegate your managed_zone to these virtual name servers; defined by the\nserver (output only)", - "items": { - "type": "string" - }, - "type": "array" - }, - "peeringConfig": { - "$ref": "ManagedZonePeeringConfig", - "description": "The presence of this field indicates that DNS Peering is enabled for this\nzone. The value of this field contains the network to peer with." - }, - "privateVisibilityConfig": { - "$ref": "ManagedZonePrivateVisibilityConfig", - "description": "For privately visible zones, the set of Virtual Private Cloud resources\nthat the zone is visible from." - }, - "reverseLookupConfig": { - "$ref": "ManagedZoneReverseLookupConfig", - "description": "The presence of this field indicates that this is a managed reverse\nlookup zone and Cloud DNS will resolve reverse lookup queries using\nautomatically configured records for VPC resources. This only applies\nto networks listed under private_visibility_config." - }, - "visibility": { - "description": "The zone's visibility: public zones are exposed to the Internet, while\nprivate zones are visible only to Virtual Private Cloud resources.", - "enum": [ - "PUBLIC", - "PRIVATE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "ManagedZoneDnsSecConfig": { - "id": "ManagedZoneDnsSecConfig", - "properties": { - "defaultKeySpecs": { - "description": "Specifies parameters for generating initial DnsKeys for this\nManagedZone. Can only be changed while the state is OFF.", - "items": { - "$ref": "DnsKeySpec" - }, - "type": "array" - }, - "kind": { - "default": "dns#managedZoneDnsSecConfig", - "type": "string" - }, - "nonExistence": { - "description": "Specifies the mechanism for authenticated denial-of-existence responses.\nCan only be changed while the state is OFF.", - "enum": [ - "NSEC", - "NSEC3" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "state": { - "description": "Specifies whether DNSSEC is enabled, and what mode it is in.", - "enum": [ - "OFF", - "ON", - "TRANSFER" - ], - "enumDescriptions": [ - "DNSSEC is disabled; the zone is not signed.", - "DNSSEC is enabled; the zone is signed and fully managed.", - "DNSSEC is enabled, but in a \"transfer\" mode." - ], - "type": "string" - } - }, - "type": "object" - }, - "ManagedZoneForwardingConfig": { - "id": "ManagedZoneForwardingConfig", - "properties": { - "kind": { - "default": "dns#managedZoneForwardingConfig", - "type": "string" - }, - "targetNameServers": { - "description": "List of target name servers to forward to.\nCloud DNS will select the best available name server if more than one\ntarget is given.", - "items": { - "$ref": "ManagedZoneForwardingConfigNameServerTarget" - }, - "type": "array" - } - }, - "type": "object" - }, - "ManagedZoneForwardingConfigNameServerTarget": { - "id": "ManagedZoneForwardingConfigNameServerTarget", - "properties": { - "forwardingPath": { - "description": "Forwarding path for this NameServerTarget. If unset or set to DEFAULT,\nCloud DNS will make forwarding decision based on address ranges,\ni.e. RFC1918 addresses go to the VPC, non-RFC1918 addresses go to the\nInternet. When set to PRIVATE, Cloud DNS will always send queries\nthrough VPC for this target.", - "enum": [ - "DEFAULT", - "PRIVATE" - ], - "enumDescriptions": [ - "Cloud DNS will make forwarding decision based on address ranges,\ni.e. RFC1918 addresses forward to the target through the VPC and\nnon-RFC1918 addresses will forward to the target through the\nInternet", - "Cloud DNS will always forward to this target through the VPC." - ], - "type": "string" - }, - "ipv4Address": { - "description": "IPv4 address of a target name server.", - "type": "string" - }, - "kind": { - "default": "dns#managedZoneForwardingConfigNameServerTarget", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZoneOperationsListResponse": { - "id": "ManagedZoneOperationsListResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#managedZoneOperationsListResponse", - "type": "string" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a consistent snapshot of a collection larger than the\nmaximum page size.", - "type": "string" - }, - "operations": { - "description": "The operation resources.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "ManagedZonePeeringConfig": { - "id": "ManagedZonePeeringConfig", - "properties": { - "kind": { - "default": "dns#managedZonePeeringConfig", - "type": "string" - }, - "targetNetwork": { - "$ref": "ManagedZonePeeringConfigTargetNetwork", - "description": "The network with which to peer." - } - }, - "type": "object" - }, - "ManagedZonePeeringConfigTargetNetwork": { - "id": "ManagedZonePeeringConfigTargetNetwork", - "properties": { - "deactivateTime": { - "description": "The time at which the zone was deactivated, in RFC 3339 date-time\nformat. An empty string indicates that the peering connection is\nactive. The producer network can deactivate a zone. The zone is\nautomatically deactivated if the producer network that the zone\ntargeted is deleted. Output only.", - "type": "string" - }, - "kind": { - "default": "dns#managedZonePeeringConfigTargetNetwork", - "type": "string" - }, - "networkUrl": { - "description": "The fully qualified URL of the VPC network to forward queries to.\nThis should be formatted like\nhttps://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZonePrivateVisibilityConfig": { - "id": "ManagedZonePrivateVisibilityConfig", - "properties": { - "kind": { - "default": "dns#managedZonePrivateVisibilityConfig", - "type": "string" - }, - "networks": { - "description": "The list of VPC networks that can see this zone.", - "items": { - "$ref": "ManagedZonePrivateVisibilityConfigNetwork" - }, - "type": "array" - } - }, - "type": "object" - }, - "ManagedZonePrivateVisibilityConfigNetwork": { - "id": "ManagedZonePrivateVisibilityConfigNetwork", - "properties": { - "kind": { - "default": "dns#managedZonePrivateVisibilityConfigNetwork", - "type": "string" - }, - "networkUrl": { - "description": "The fully qualified URL of the VPC network to bind to.\nThis should be formatted like\nhttps://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZoneReverseLookupConfig": { - "id": "ManagedZoneReverseLookupConfig", - "properties": { - "kind": { - "default": "dns#managedZoneReverseLookupConfig", - "type": "string" - } - }, - "type": "object" - }, - "ManagedZonesListResponse": { - "id": "ManagedZonesListResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#managedZonesListResponse", - "description": "Type of resource.", - "type": "string" - }, - "managedZones": { - "description": "The managed zone resources.", - "items": { - "$ref": "ManagedZone" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a consistent snapshot of a collection larger than the\nmaximum page size.", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "An operation represents a successful mutation performed on a Cloud DNS\nresource.\nOperations provide:\n- An audit log of server resource mutations.\n- A way to recover/retry API calls in the case where the response is never\n received by the caller. Use the caller specified client_operation_id.", - "id": "Operation", - "properties": { - "dnsKeyContext": { - "$ref": "OperationDnsKeyContext", - "description": "Only populated if the operation targeted a DnsKey (output only)." - }, - "id": { - "description": "Unique identifier for the resource. This is the client_operation_id if\nthe client specified it when the mutation was initiated, otherwise,\nit is generated by the server. The name must be 1-63 characters long\nand match the regular expression [-a-z0-9]? (output only)", - "type": "string" - }, - "kind": { - "default": "dns#operation", - "type": "string" - }, - "startTime": { - "description": "The time that this operation was started by the server. This is in RFC3339\ntext format (output only).", - "type": "string" - }, - "status": { - "description": "Status of the operation. Can be one of the following: \"PENDING\" or \"DONE\"\n(output only). A status of \"DONE\" means that the\nrequest to update the authoritative servers has been sent, but the\nservers might not be updated yet.", - "enum": [ - "PENDING", - "DONE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "type": { - "description": "Type of the operation. Operations include insert, update, and delete\n(output only).", - "type": "string" - }, - "user": { - "description": "User who requested the operation, for example: user@example.com.\ncloud-dns-system for operations automatically done by the system.\n(output only)", - "type": "string" - }, - "zoneContext": { - "$ref": "OperationManagedZoneContext", - "description": "Only populated if the operation targeted a ManagedZone (output only)." - } - }, - "type": "object" - }, - "OperationDnsKeyContext": { - "id": "OperationDnsKeyContext", - "properties": { - "newValue": { - "$ref": "DnsKey", - "description": "The post-operation DnsKey resource." - }, - "oldValue": { - "$ref": "DnsKey", - "description": "The pre-operation DnsKey resource." - } - }, - "type": "object" - }, - "OperationManagedZoneContext": { - "id": "OperationManagedZoneContext", - "properties": { - "newValue": { - "$ref": "ManagedZone", - "description": "The post-operation ManagedZone resource." - }, - "oldValue": { - "$ref": "ManagedZone", - "description": "The pre-operation ManagedZone resource." - } - }, - "type": "object" - }, - "PoliciesListResponse": { - "id": "PoliciesListResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#policiesListResponse", - "description": "Type of resource.", - "type": "string" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your page token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a consistent snapshot of a collection larger than the\nmaximum page size.", - "type": "string" - }, - "policies": { - "description": "The policy resources.", - "items": { - "$ref": "Policy" - }, - "type": "array" - } - }, - "type": "object" - }, - "PoliciesPatchResponse": { - "id": "PoliciesPatchResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "policy": { - "$ref": "Policy" - } - }, - "type": "object" - }, - "PoliciesUpdateResponse": { - "id": "PoliciesUpdateResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "policy": { - "$ref": "Policy" - } - }, - "type": "object" - }, - "Policy": { - "description": "A policy is a collection of DNS rules applied to one or more Virtual Private\nCloud resources.", - "id": "Policy", - "properties": { - "alternativeNameServerConfig": { - "$ref": "PolicyAlternativeNameServerConfig", - "description": "Sets an alternative name server for the associated networks. When\nspecified, all DNS queries are forwarded to a name server that you\nchoose. Names such as .internal are not available when an alternative\nname server is specified." - }, - "description": { - "description": "A mutable string of at most 1024 characters associated with this resource\nfor the user's convenience. Has no effect on the policy's function.", - "type": "string" - }, - "enableInboundForwarding": { - "description": "Allows networks bound to this policy to receive DNS queries sent by VMs or\napplications over VPN connections. When enabled, a virtual IP address will\nbe allocated from each of the sub-networks that are bound to this policy.", - "type": "boolean" - }, - "enableLogging": { - "description": "Controls whether logging is enabled for the networks bound to this policy.\nDefaults to no logging if not set.", - "type": "boolean" - }, - "id": { - "description": "Unique identifier for the resource; defined by the server (output only).", - "format": "uint64", - "type": "string" - }, - "kind": { - "default": "dns#policy", - "type": "string" - }, - "name": { - "description": "User assigned name for this policy.", - "type": "string" - }, - "networks": { - "description": "List of network names specifying networks to which this policy is applied.", - "items": { - "$ref": "PolicyNetwork" - }, - "type": "array" - } - }, - "type": "object" - }, - "PolicyAlternativeNameServerConfig": { - "id": "PolicyAlternativeNameServerConfig", - "properties": { - "kind": { - "default": "dns#policyAlternativeNameServerConfig", - "type": "string" - }, - "targetNameServers": { - "description": "Sets an alternative name server for the associated networks. When\nspecified, all DNS queries are forwarded to a name server that you\nchoose. Names such as .internal are not available when an alternative\nname server is specified.", - "items": { - "$ref": "PolicyAlternativeNameServerConfigTargetNameServer" - }, - "type": "array" - } - }, - "type": "object" - }, - "PolicyAlternativeNameServerConfigTargetNameServer": { - "id": "PolicyAlternativeNameServerConfigTargetNameServer", - "properties": { - "forwardingPath": { - "description": "Forwarding path for this TargetNameServer. If unset or set to DEFAULT,\nCloud DNS will make forwarding decision based on address ranges,\ni.e. RFC1918 addresses go to the VPC, non-RFC1918 addresses go to the\nInternet. When set to PRIVATE, Cloud DNS will always send queries\nthrough VPC for this target.", - "enum": [ - "DEFAULT", - "PRIVATE" - ], - "enumDescriptions": [ - "Cloud DNS will make forwarding decision based on address ranges,\ni.e. RFC1918 addresses forward to the target through the VPC and\nnon-RFC1918 addresses will forward to the target through the\nInternet", - "Cloud DNS will always forward to this target through the VPC." - ], - "type": "string" - }, - "ipv4Address": { - "description": "IPv4 address to forward to.", - "type": "string" - }, - "kind": { - "default": "dns#policyAlternativeNameServerConfigTargetNameServer", - "type": "string" - } - }, - "type": "object" - }, - "PolicyNetwork": { - "id": "PolicyNetwork", - "properties": { - "kind": { - "default": "dns#policyNetwork", - "type": "string" - }, - "networkUrl": { - "description": "The fully qualified URL of the VPC network to bind to.\nThis should be formatted like\nhttps://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", - "type": "string" - } - }, - "type": "object" - }, - "Project": { - "description": "A project resource. The project is a top level container for resources\nincluding Cloud DNS ManagedZones. Projects can be created only in the APIs\nconsole.", - "id": "Project", - "properties": { - "id": { - "description": "User assigned unique identifier for the resource (output only).", - "type": "string" - }, - "kind": { - "default": "dns#project", - "type": "string" - }, - "number": { - "description": "Unique numeric identifier for the resource; defined by the server (output\nonly).", - "format": "uint64", - "type": "string" - }, - "quota": { - "$ref": "Quota", - "description": "Quotas assigned to this project (output only)." - } - }, - "type": "object" - }, - "Quota": { - "description": "Limits associated with a Project.", - "id": "Quota", - "properties": { - "dnsKeysPerManagedZone": { - "description": "Maximum allowed number of DnsKeys per ManagedZone.", - "format": "int32", - "type": "integer" - }, - "kind": { - "default": "dns#quota", - "type": "string" - }, - "managedZones": { - "description": "Maximum allowed number of managed zones in the project.", - "format": "int32", - "type": "integer" - }, - "managedZonesPerNetwork": { - "description": "Maximum allowed number of managed zones which can be attached to a\nnetwork.", - "format": "int32", - "type": "integer" - }, - "networksPerManagedZone": { - "description": "Maximum allowed number of networks to which a privately scoped zone can be\nattached.", - "format": "int32", - "type": "integer" - }, - "networksPerPolicy": { - "description": "Maximum allowed number of networks per policy.", - "format": "int32", - "type": "integer" - }, - "policies": { - "description": "Maximum allowed number of policies per project.", - "format": "int32", - "type": "integer" - }, - "resourceRecordsPerRrset": { - "description": "Maximum allowed number of ResourceRecords per ResourceRecordSet.", - "format": "int32", - "type": "integer" - }, - "rrsetAdditionsPerChange": { - "description": "Maximum allowed number of ResourceRecordSets to add per\nChangesCreateRequest.", - "format": "int32", - "type": "integer" - }, - "rrsetDeletionsPerChange": { - "description": "Maximum allowed number of ResourceRecordSets to delete per\nChangesCreateRequest.", - "format": "int32", - "type": "integer" - }, - "rrsetsPerManagedZone": { - "description": "Maximum allowed number of ResourceRecordSets per zone in the project.", - "format": "int32", - "type": "integer" - }, - "targetNameServersPerManagedZone": { - "description": "Maximum allowed number of target name servers per managed forwarding zone.", - "format": "int32", - "type": "integer" - }, - "targetNameServersPerPolicy": { - "description": "Maximum allowed number of alternative target name servers per policy.", - "format": "int32", - "type": "integer" - }, - "totalRrdataSizePerChange": { - "description": "Maximum allowed size for total rrdata in one ChangesCreateRequest in\nbytes.", - "format": "int32", - "type": "integer" - }, - "whitelistedKeySpecs": { - "description": "DNSSEC algorithm and key length types that can be used for DnsKeys.", - "items": { - "$ref": "DnsKeySpec" - }, - "type": "array" - } - }, - "type": "object" - }, - "ResourceRecordSet": { - "description": "A unit of data that will be returned by the DNS servers.", - "id": "ResourceRecordSet", - "properties": { - "kind": { - "default": "dns#resourceRecordSet", - "type": "string" - }, - "name": { - "description": "For example, www.example.com.", - "type": "string" - }, - "rrdatas": { - "description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see\nexamples.", - "items": { - "type": "string" - }, - "type": "array" - }, - "signatureRrdatas": { - "description": "As defined in RFC 4034 (section 3.2).", - "items": { - "type": "string" - }, - "type": "array" - }, - "ttl": { - "description": "Number of seconds that this ResourceRecordSet can be cached by resolvers.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "The identifier of a supported record type. See the list of\nSupported\nDNS record types.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceRecordSetsListResponse": { - "id": "ResourceRecordSetsListResponse", - "properties": { - "header": { - "$ref": "ResponseHeader" - }, - "kind": { - "default": "dns#resourceRecordSetsListResponse", - "description": "Type of resource.", - "type": "string" - }, - "nextPageToken": { - "description": "The presence of this field indicates that there exist more results\nfollowing your last page of results in pagination order. To fetch them,\nmake another list request using this value as your pagination token.\n\nIn this way you can retrieve the complete contents of even very large\ncollections one page at a time. However, if the contents of the collection\nchange between the first and last paginated list request, the set of all\nelements returned will be an inconsistent view of the collection. There is\nno way to retrieve a consistent snapshot of a collection larger than the\nmaximum page size.", - "type": "string" - }, - "rrsets": { - "description": "The resource record set resources.", - "items": { - "$ref": "ResourceRecordSet" - }, - "type": "array" - } - }, - "type": "object" - }, - "ResponseHeader": { - "description": "Elements common to every response.", - "id": "ResponseHeader", - "properties": { - "operationId": { - "description": "For mutating operation requests that completed successfully.\nThis is the client_operation_id if the client specified it,\notherwise it is generated by the server (output only).", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud DNS API", - "version": "v2beta1" -} \ No newline at end of file diff --git a/discovery/documentai-v1beta2.json b/discovery/documentai-v1beta2.json deleted file mode 100644 index ffd84974156..00000000000 --- a/discovery/documentai-v1beta2.json +++ /dev/null @@ -1,6139 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://documentai.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Document", - "description": "Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/document-ai/docs/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "documentai:v1beta2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://documentai.mtls.googleapis.com/", - "name": "documentai", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "documents": { - "methods": { - "batchProcess": { - "description": "LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.", - "flatPath": "v1beta2/projects/{projectsId}/documents:batchProcess", - "httpMethod": "POST", - "id": "documentai.projects.documents.batchProcess", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/documents:batchProcess", - "request": { - "$ref": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "process": { - "description": "Processes a single document.", - "flatPath": "v1beta2/projects/{projectsId}/documents:process", - "httpMethod": "POST", - "id": "documentai.projects.documents.process", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/documents:process", - "request": { - "$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest" - }, - "response": { - "$ref": "GoogleCloudDocumentaiV1beta2Document" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "locations": { - "resources": { - "documents": { - "methods": { - "batchProcess": { - "description": "LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/documents:batchProcess", - "httpMethod": "POST", - "id": "documentai.projects.locations.documents.batchProcess", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/documents:batchProcess", - "request": { - "$ref": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "process": { - "description": "Processes a single document.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/documents:process", - "httpMethod": "POST", - "id": "documentai.projects.locations.documents.process", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+parent}/documents:process", - "request": { - "$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest" - }, - "response": { - "$ref": "GoogleCloudDocumentaiV1beta2Document" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "documentai.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta2/projects/{projectsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "documentai.projects.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - }, - "revision": "20240531", - "rootUrl": "https://documentai.googleapis.com/", - "schemas": { - "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { - "description": "Metadata of the auto-labeling documents operation.", - "id": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "individualAutoLabelStatuses": { - "description": "The list of individual auto-labeling statuses of the dataset documents.", - "items": { - "$ref": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus" - }, - "type": "array" - }, - "totalDocumentCount": { - "description": "Total number of the auto-labeling documents.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus": { - "description": "The status of individual documents in the auto-labeling process.", - "id": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus", - "properties": { - "documentId": { - "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", - "description": "The document id of the auto-labeled document. This will replace the gcs_uri." - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status of the document auto-labeling." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse": { - "description": "The response proto of AutoLabelDocuments method.", - "id": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { - "id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "errorDocumentCount": { - "description": "Total number of documents that failed to be deleted in storage.", - "format": "int32", - "type": "integer" - }, - "individualBatchDeleteStatuses": { - "description": "The list of response details of each document.", - "items": { - "$ref": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus" - }, - "type": "array" - }, - "totalDocumentCount": { - "description": "Total number of documents deleting from dataset.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus": { - "description": "The status of each individual document in the batch delete process.", - "id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus", - "properties": { - "documentId": { - "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", - "description": "The document id of the document." - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status of deleting the document in storage." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse": { - "description": "Response of the delete documents operation.", - "id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata": { - "id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "destDatasetType": { - "deprecated": true, - "description": "The destination dataset split type.", - "enum": [ - "DATASET_SPLIT_TYPE_UNSPECIFIED", - "DATASET_SPLIT_TRAIN", - "DATASET_SPLIT_TEST", - "DATASET_SPLIT_UNASSIGNED" - ], - "enumDescriptions": [ - "Default value if the enum is not set.", - "Identifies the train documents.", - "Identifies the test documents.", - "Identifies the unassigned documents." - ], - "type": "string" - }, - "destSplitType": { - "description": "The destination dataset split type.", - "enum": [ - "DATASET_SPLIT_TYPE_UNSPECIFIED", - "DATASET_SPLIT_TRAIN", - "DATASET_SPLIT_TEST", - "DATASET_SPLIT_UNASSIGNED" - ], - "enumDescriptions": [ - "Default value if the enum is not set.", - "Identifies the train documents.", - "Identifies the test documents.", - "Identifies the unassigned documents." - ], - "type": "string" - }, - "individualBatchMoveStatuses": { - "description": "The list of response details of each document.", - "items": { - "$ref": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus": { - "description": "The status of each individual document in the batch move process.", - "id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus", - "properties": { - "documentId": { - "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", - "description": "The document id of the document." - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status of moving the document." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse": { - "description": "Response of the batch move documents operation.", - "id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata": { - "id": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "individualBatchUpdateStatuses": { - "description": "The list of response details of each document.", - "items": { - "$ref": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus": { - "description": "The status of each individual document in the batch update process.", - "id": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus", - "properties": { - "documentId": { - "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", - "description": "The document id of the document." - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status of updating the document in storage." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse": { - "description": "Response of the batch update documents operation.", - "id": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": { - "description": "The common metadata for long running operations.", - "id": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "resource": { - "description": "A related resource to this operation.", - "type": "string" - }, - "state": { - "description": "The state of the operation.", - "enum": [ - "STATE_UNSPECIFIED", - "RUNNING", - "CANCELLING", - "SUCCEEDED", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "Unspecified state.", - "Operation is still running.", - "Operation is being cancelled.", - "Operation succeeded.", - "Operation failed.", - "Operation is cancelled." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata": { - "description": "The long-running operation metadata for the CreateLabelerPool method.", - "id": "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata": { - "description": "The long-running operation metadata for DeleteLabelerPool.", - "id": "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata": { - "description": "The long-running operation metadata for the DeleteProcessor method.", - "id": "GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata": { - "description": "The long-running operation metadata for the DeleteProcessorVersion method.", - "id": "GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata": { - "description": "The long-running operation metadata for the DeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse": { - "description": "Response message for the DeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata": { - "description": "The long-running operation metadata for the DisableProcessor method.", - "id": "GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse": { - "description": "Response message for the DisableProcessor method. Intentionally empty proto for adding fields in future.", - "id": "GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3DocumentId": { - "description": "Document Identifier.", - "id": "GoogleCloudDocumentaiUiv1beta3DocumentId", - "properties": { - "gcsManagedDocId": { - "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId", - "description": "A document id within user-managed Cloud Storage." - }, - "revisionRef": { - "$ref": "GoogleCloudDocumentaiUiv1beta3RevisionRef", - "description": "Points to a specific revision of the document if set." - }, - "unmanagedDocId": { - "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId", - "description": "A document id within unmanaged dataset." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId": { - "description": "Identifies a document uniquely within the scope of a dataset in the user-managed Cloud Storage option.", - "id": "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId", - "properties": { - "cwDocId": { - "deprecated": true, - "description": "Id of the document (indexed) managed by Content Warehouse.", - "type": "string" - }, - "gcsUri": { - "description": "Required. The Cloud Storage URI where the actual document is stored.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId": { - "description": "Identifies a document uniquely within the scope of a dataset in unmanaged option.", - "id": "GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId", - "properties": { - "docId": { - "description": "Required. The id of the document.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata": { - "description": "The long-running operation metadata for the EnableProcessor method.", - "id": "GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse": { - "description": "Response message for the EnableProcessor method. Intentionally empty proto for adding fields in future.", - "id": "GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata": { - "description": "Metadata of the EvaluateProcessorVersion method.", - "id": "GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse": { - "description": "Response of the EvaluateProcessorVersion method.", - "id": "GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse", - "properties": { - "evaluation": { - "description": "The resource name of the created evaluation.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata": { - "description": "Metadata of the batch export documents operation.", - "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "individualExportStatuses": { - "description": "The list of response details of each document.", - "items": { - "$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus" - }, - "type": "array" - }, - "splitExportStats": { - "description": "The list of statistics for each dataset split type.", - "items": { - "$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus": { - "description": "The status of each individual document in the export process.", - "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus", - "properties": { - "documentId": { - "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", - "description": "The path to source docproto of the document." - }, - "outputGcsDestination": { - "description": "The output_gcs_destination of the exported document if it was successful, otherwise empty.", - "type": "string" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status of the exporting of the document." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat": { - "description": "The statistic representing a dataset split type for this export.", - "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat", - "properties": { - "splitType": { - "description": "The dataset split type.", - "enum": [ - "DATASET_SPLIT_TYPE_UNSPECIFIED", - "DATASET_SPLIT_TRAIN", - "DATASET_SPLIT_TEST", - "DATASET_SPLIT_UNASSIGNED" - ], - "enumDescriptions": [ - "Default value if the enum is not set.", - "Identifies the train documents.", - "Identifies the test documents.", - "Identifies the unassigned documents." - ], - "type": "string" - }, - "totalDocumentCount": { - "description": "Total number of documents with the given dataset split type to be exported.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse": { - "description": "The response proto of ExportDocuments method.", - "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata": { - "description": "Metadata message associated with the ExportProcessorVersion operation.", - "id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The common metadata about the operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse": { - "description": "Response message associated with the ExportProcessorVersion operation.", - "id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse", - "properties": { - "gcsUri": { - "description": "The Cloud Storage URI containing the output artifacts.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata": { - "description": "Metadata of the import document operation.", - "id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "importConfigValidationResults": { - "description": "Validation statuses of the batch documents import config.", - "items": { - "$ref": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult" - }, - "type": "array" - }, - "individualImportStatuses": { - "description": "The list of response details of each document.", - "items": { - "$ref": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus" - }, - "type": "array" - }, - "totalDocumentCount": { - "description": "Total number of the documents that are qualified for importing.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult": { - "description": "The validation status of each import config. Status is set to an error if there are no documents to import in the `import_config`, or `OK` if the operation will try to proceed with at least one document.", - "id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult", - "properties": { - "inputGcsSource": { - "description": "The source Cloud Storage URI specified in the import config.", - "type": "string" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The validation status of import config." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus": { - "description": "The status of each individual document in the import process.", - "id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus", - "properties": { - "inputGcsSource": { - "description": "The source Cloud Storage URI of the document.", - "type": "string" - }, - "outputDocumentId": { - "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", - "description": "The document id of imported document if it was successful, otherwise empty." - }, - "outputGcsDestination": { - "description": "The output_gcs_destination of the processed document if it was successful, otherwise empty.", - "type": "string" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status of the importing of the document." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse": { - "description": "Response of the import document operation.", - "id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata": { - "description": "The long-running operation metadata for the ImportProcessorVersion method.", - "id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata for the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse": { - "description": "The response message for the ImportProcessorVersion method.", - "id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse", - "properties": { - "processorVersion": { - "description": "The destination processor version name.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata": { - "description": "The metadata proto of `ResyncDataset` method.", - "id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "datasetResyncStatuses": { - "description": "The list of dataset resync statuses. Not checked when ResyncDatasetRequest.dataset_documents is specified.", - "items": { - "$ref": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus" - }, - "type": "array" - }, - "individualDocumentResyncStatuses": { - "description": "The list of document resync statuses. The same document could have multiple `individual_document_resync_statuses` if it has multiple inconsistencies.", - "items": { - "$ref": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus": { - "description": "Resync status against inconsistency types on the dataset level.", - "id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus", - "properties": { - "datasetInconsistencyType": { - "description": "The type of the inconsistency of the dataset.", - "enum": [ - "DATASET_INCONSISTENCY_TYPE_UNSPECIFIED", - "DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER" - ], - "enumDescriptions": [ - "Default value.", - "The marker file under the dataset folder is not found." - ], - "type": "string" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status of resyncing the dataset with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus": { - "description": "Resync status for each document per inconsistency type.", - "id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus", - "properties": { - "documentId": { - "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", - "description": "The document identifier." - }, - "documentInconsistencyType": { - "description": "The type of document inconsistency.", - "enum": [ - "DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED", - "DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO", - "DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA", - "DOCUMENT_INCONSISTENCY_TYPE_NO_PAGE_IMAGE" - ], - "enumDescriptions": [ - "Default value.", - "The document proto is invalid.", - "Indexed docproto metadata is mismatched.", - "The page image or thumbnails are missing." - ], - "type": "string" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status of resyncing the document with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse": { - "description": "The response proto of ResyncDataset method.", - "id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3RevisionRef": { - "description": "The revision reference specifies which revision on the document to read.", - "id": "GoogleCloudDocumentaiUiv1beta3RevisionRef", - "properties": { - "latestProcessorVersion": { - "description": "Reads the revision generated by the processor version. The format takes the full resource name of processor version. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", - "type": "string" - }, - "revisionCase": { - "description": "Reads the revision by the predefined case.", - "enum": [ - "REVISION_CASE_UNSPECIFIED", - "LATEST_HUMAN_REVIEW", - "LATEST_TIMESTAMP", - "BASE_OCR_REVISION" - ], - "enumDescriptions": [ - "Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.", - "The latest revision made by a human.", - "The latest revision based on timestamp.", - "The first (OCR) revision." - ], - "type": "string" - }, - "revisionId": { - "description": "Reads the revision given by the id.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata": { - "description": "Metadata of the sample documents operation.", - "id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse": { - "description": "Response of the sample documents operation.", - "id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse", - "properties": { - "sampleTestStatus": { - "$ref": "GoogleRpcStatus", - "description": "The status of sampling documents in test split." - }, - "sampleTrainingStatus": { - "$ref": "GoogleRpcStatus", - "description": "The status of sampling documents in training split." - }, - "selectedDocuments": { - "description": "The result of the sampling process.", - "items": { - "$ref": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument": { - "id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument", - "properties": { - "documentId": { - "description": "An internal identifier for document.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata": { - "description": "The long-running operation metadata for the SetDefaultProcessorVersion method.", - "id": "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse": { - "description": "Response message for the SetDefaultProcessorVersion method.", - "id": "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata": { - "description": "The metadata that represents a processor version being created.", - "id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "testDatasetValidation": { - "$ref": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation", - "description": "The test dataset validation information." - }, - "trainingDatasetValidation": { - "$ref": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation", - "description": "The training dataset validation information." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation": { - "description": "The dataset validation information. This includes any and all errors with documents and the dataset.", - "id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation", - "properties": { - "datasetErrorCount": { - "description": "The total number of dataset errors.", - "format": "int32", - "type": "integer" - }, - "datasetErrors": { - "description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.", - "items": { - "$ref": "GoogleRpcStatus" - }, - "type": "array" - }, - "documentErrorCount": { - "description": "The total number of document errors.", - "format": "int32", - "type": "integer" - }, - "documentErrors": { - "description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.", - "items": { - "$ref": "GoogleRpcStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse": { - "description": "The response for TrainProcessorVersion.", - "id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse", - "properties": { - "processorVersion": { - "description": "The resource name of the processor version produced by training.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata": { - "description": "The long-running operation metadata for the UndeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse": { - "description": "Response message for the UndeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata": { - "id": "GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata": { - "description": "The long-running operation metadata for updating the human review configuration.", - "id": "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata": { - "description": "The long-running operation metadata for UpdateLabelerPool.", - "id": "GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1BatchProcessMetadata": { - "description": "The long-running operation metadata for BatchProcessDocuments.", - "id": "GoogleCloudDocumentaiV1BatchProcessMetadata", - "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "individualProcessStatuses": { - "description": "The list of response details of each document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus" - }, - "type": "array" - }, - "state": { - "description": "The state of the current batch processing.", - "enum": [ - "STATE_UNSPECIFIED", - "WAITING", - "RUNNING", - "SUCCEEDED", - "CANCELLING", - "CANCELLED", - "FAILED" - ], - "enumDescriptions": [ - "The default value. This value is used if the state is omitted.", - "Request operation is waiting for scheduling.", - "Request is being processed.", - "The batch processing completed successfully.", - "The batch processing was being cancelled.", - "The batch processing was cancelled.", - "The batch processing has failed." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus": { - "description": "The status of a each individual document in the batch process.", - "id": "GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus", - "properties": { - "humanReviewStatus": { - "$ref": "GoogleCloudDocumentaiV1HumanReviewStatus", - "description": "The status of human review on the processed document." - }, - "inputGcsSource": { - "description": "The source of the document, same as the input_gcs_source field in the request when the batch process started.", - "type": "string" - }, - "outputGcsDestination": { - "description": "The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.", - "type": "string" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status processing the document." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1BatchProcessResponse": { - "description": "Response message for BatchProcessDocuments.", - "id": "GoogleCloudDocumentaiV1BatchProcessResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1CommonOperationMetadata": { - "description": "The common metadata for long running operations.", - "id": "GoogleCloudDocumentaiV1CommonOperationMetadata", - "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "resource": { - "description": "A related resource to this operation.", - "type": "string" - }, - "state": { - "description": "The state of the operation.", - "enum": [ - "STATE_UNSPECIFIED", - "RUNNING", - "CANCELLING", - "SUCCEEDED", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "Unspecified state.", - "Operation is still running.", - "Operation is being cancelled.", - "Operation succeeded.", - "Operation failed.", - "Operation is cancelled." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1DeleteProcessorMetadata": { - "description": "The long-running operation metadata for the DeleteProcessor method.", - "id": "GoogleCloudDocumentaiV1DeleteProcessorMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata": { - "description": "The long-running operation metadata for the DeleteProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1DeployProcessorVersionMetadata": { - "description": "The long-running operation metadata for the DeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1DeployProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1DeployProcessorVersionResponse": { - "description": "Response message for the DeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1DeployProcessorVersionResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1DisableProcessorMetadata": { - "description": "The long-running operation metadata for the DisableProcessor method.", - "id": "GoogleCloudDocumentaiV1DisableProcessorMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1DisableProcessorResponse": { - "description": "Response message for the DisableProcessor method. Intentionally empty proto for adding fields in future.", - "id": "GoogleCloudDocumentaiV1DisableProcessorResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1EnableProcessorMetadata": { - "description": "The long-running operation metadata for the EnableProcessor method.", - "id": "GoogleCloudDocumentaiV1EnableProcessorMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1EnableProcessorResponse": { - "description": "Response message for the EnableProcessor method. Intentionally empty proto for adding fields in future.", - "id": "GoogleCloudDocumentaiV1EnableProcessorResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata": { - "description": "Metadata of the EvaluateProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse": { - "description": "Response of the EvaluateProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse", - "properties": { - "evaluation": { - "description": "The resource name of the created evaluation.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1HumanReviewStatus": { - "description": "The status of human review on a processed document.", - "id": "GoogleCloudDocumentaiV1HumanReviewStatus", - "properties": { - "humanReviewOperation": { - "description": "The name of the operation triggered by the processed document. This field is populated only when the state is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by ReviewDocument.", - "type": "string" - }, - "state": { - "description": "The state of human review on the processing request.", - "enum": [ - "STATE_UNSPECIFIED", - "SKIPPED", - "VALIDATION_PASSED", - "IN_PROGRESS", - "ERROR" - ], - "enumDescriptions": [ - "Human review state is unspecified. Most likely due to an internal error.", - "Human review is skipped for the document. This can happen because human review isn't enabled on the processor or the processing request has been set to skip this document.", - "Human review validation is triggered and passed, so no review is needed.", - "Human review validation is triggered and the document is under review.", - "Some error happened during triggering human review, see the state_message for details." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the human review state.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata": { - "description": "The long-running operation metadata for the ReviewDocument method.", - "id": "GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "questionId": { - "description": "The Crowd Compute question ID.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1ReviewDocumentResponse": { - "description": "Response message for the ReviewDocument method.", - "id": "GoogleCloudDocumentaiV1ReviewDocumentResponse", - "properties": { - "gcsDestination": { - "description": "The Cloud Storage uri for the human reviewed document if the review is succeeded.", - "type": "string" - }, - "rejectionReason": { - "description": "The reason why the review is rejected by reviewer.", - "type": "string" - }, - "state": { - "description": "The state of the review operation.", - "enum": [ - "STATE_UNSPECIFIED", - "REJECTED", - "SUCCEEDED" - ], - "enumDescriptions": [ - "The default value. This value is used if the state is omitted.", - "The review operation is rejected by the reviewer.", - "The review operation is succeeded." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata": { - "description": "The long-running operation metadata for the SetDefaultProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse": { - "description": "Response message for the SetDefaultProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1TrainProcessorVersionMetadata": { - "description": "The metadata that represents a processor version being created.", - "id": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "testDatasetValidation": { - "$ref": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation", - "description": "The test dataset validation information." - }, - "trainingDatasetValidation": { - "$ref": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation", - "description": "The training dataset validation information." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation": { - "description": "The dataset validation information. This includes any and all errors with documents and the dataset.", - "id": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation", - "properties": { - "datasetErrorCount": { - "description": "The total number of dataset errors.", - "format": "int32", - "type": "integer" - }, - "datasetErrors": { - "description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.", - "items": { - "$ref": "GoogleRpcStatus" - }, - "type": "array" - }, - "documentErrorCount": { - "description": "The total number of document errors.", - "format": "int32", - "type": "integer" - }, - "documentErrors": { - "description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.", - "items": { - "$ref": "GoogleRpcStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1TrainProcessorVersionResponse": { - "description": "The response for TrainProcessorVersion.", - "id": "GoogleCloudDocumentaiV1TrainProcessorVersionResponse", - "properties": { - "processorVersion": { - "description": "The resource name of the processor version produced by training.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata": { - "description": "The long-running operation metadata for the UndeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1UndeployProcessorVersionResponse": { - "description": "Response message for the UndeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1UndeployProcessorVersionResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1Barcode": { - "description": "Encodes the detailed information of a barcode.", - "id": "GoogleCloudDocumentaiV1beta1Barcode", - "properties": { - "format": { - "description": "Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code type. - `DATABAR`: GS1 DataBar code type.", - "type": "string" - }, - "rawValue": { - "description": "Raw value encoded in the barcode. For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.", - "type": "string" - }, - "valueFormat": { - "description": "Value format describes the format of the value that a barcode encodes. The supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. - `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse": { - "description": "Response to an batch document processing request. This is returned in the LRO Operation after the operation is complete.", - "id": "GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse", - "properties": { - "responses": { - "description": "Responses for each individual document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1ProcessDocumentResponse" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1BoundingPoly": { - "description": "A bounding polygon for the detected image annotation.", - "id": "GoogleCloudDocumentaiV1beta1BoundingPoly", - "properties": { - "normalizedVertices": { - "description": "The bounding polygon normalized vertices.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1NormalizedVertex" - }, - "type": "array" - }, - "vertices": { - "description": "The bounding polygon vertices.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1Vertex" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1Document": { - "description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.", - "id": "GoogleCloudDocumentaiV1beta1Document", - "properties": { - "chunkedDocument": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocument", - "description": "Document chunked based on chunking config." - }, - "content": { - "description": "Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.", - "format": "byte", - "type": "string" - }, - "documentLayout": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayout", - "description": "Parsed layout of the document." - }, - "entities": { - "description": "A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentEntity" - }, - "type": "array" - }, - "entityRelations": { - "description": "Placeholder. Relationship among Document.entities.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentEntityRelation" - }, - "type": "array" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "Any error that occurred while processing this document." - }, - "mimeType": { - "description": "An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).", - "type": "string" - }, - "pages": { - "description": "Visual page layout for the Document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPage" - }, - "type": "array" - }, - "revisions": { - "description": "Placeholder. Revision history of this document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentRevision" - }, - "type": "array" - }, - "shardInfo": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentShardInfo", - "description": "Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified." - }, - "text": { - "description": "Optional. UTF-8 encoded text in reading order from the document.", - "type": "string" - }, - "textChanges": { - "description": "Placeholder. A list of text corrections made to Document.text. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextChange" - }, - "type": "array" - }, - "textStyles": { - "deprecated": true, - "description": "Styles for the Document.text.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentStyle" - }, - "type": "array" - }, - "uri": { - "description": "Optional. Currently supports Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. For more information, refer to [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris).", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentChunkedDocument": { - "description": "Represents the chunks that the document is divided into.", - "id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocument", - "properties": { - "chunks": { - "description": "List of chunks.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk": { - "description": "Represents a chunk.", - "id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk", - "properties": { - "chunkId": { - "description": "ID of the chunk.", - "type": "string" - }, - "content": { - "description": "Text content of the chunk.", - "type": "string" - }, - "pageFooters": { - "description": "Page footers associated with the chunk.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter" - }, - "type": "array" - }, - "pageHeaders": { - "description": "Page headers associated with the chunk.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader" - }, - "type": "array" - }, - "pageSpan": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", - "description": "Page span of the chunk." - }, - "sourceBlockIds": { - "description": "Unused.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter": { - "description": "Represents the page footer associated with the chunk.", - "id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter", - "properties": { - "pageSpan": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", - "description": "Page span of the footer." - }, - "text": { - "description": "Footer in text format.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader": { - "description": "Represents the page header associated with the chunk.", - "id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader", - "properties": { - "pageSpan": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", - "description": "Page span of the header." - }, - "text": { - "description": "Header in text format.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan": { - "description": "Represents where the chunk starts and ends in the document.", - "id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", - "properties": { - "pageEnd": { - "description": "Page where chunk ends in the document.", - "format": "int32", - "type": "integer" - }, - "pageStart": { - "description": "Page where chunk starts in the document.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentDocumentLayout": { - "description": "Represents the parsed layout of a document as a collection of blocks that the document is divided into.", - "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayout", - "properties": { - "blocks": { - "description": "List of blocks in the document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock": { - "description": "Represents a block. A block could be one of the various types (text, table, list) supported.", - "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock", - "properties": { - "blockId": { - "description": "ID of the block.", - "type": "string" - }, - "listBlock": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", - "description": "Block consisting of list content/structure." - }, - "pageSpan": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", - "description": "Page span of the block." - }, - "tableBlock": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", - "description": "Block consisting of table content/structure." - }, - "textBlock": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", - "description": "Block consisting of text content." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock": { - "description": "Represents a list type block.", - "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", - "properties": { - "listEntries": { - "description": "List entries that constitute a list block.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry" - }, - "type": "array" - }, - "type": { - "description": "Type of the list_entries (if exist). Available options are `ordered` and `unordered`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry": { - "description": "Represents an entry in the list.", - "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry", - "properties": { - "blocks": { - "description": "A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan": { - "description": "Represents where the block starts and ends in the document.", - "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", - "properties": { - "pageEnd": { - "description": "Page where block ends in the document.", - "format": "int32", - "type": "integer" - }, - "pageStart": { - "description": "Page where block starts in the document.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock": { - "description": "Represents a table type block.", - "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", - "properties": { - "bodyRows": { - "description": "Body rows containing main table content.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" - }, - "type": "array" - }, - "caption": { - "description": "Table caption/title.", - "type": "string" - }, - "headerRows": { - "description": "Header rows at the top of the table.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell": { - "description": "Represents a cell in a table row.", - "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell", - "properties": { - "blocks": { - "description": "A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" - }, - "type": "array" - }, - "colSpan": { - "description": "How many columns this cell spans.", - "format": "int32", - "type": "integer" - }, - "rowSpan": { - "description": "How many rows this cell spans.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow": { - "description": "Represents a row in a table.", - "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow", - "properties": { - "cells": { - "description": "A table row is a list of table cells.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock": { - "description": "Represents a text type block.", - "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", - "properties": { - "blocks": { - "description": "A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" - }, - "type": "array" - }, - "text": { - "description": "Text content stored in the block.", - "type": "string" - }, - "type": { - "description": "Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentEntity": { - "description": "An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.", - "id": "GoogleCloudDocumentaiV1beta1DocumentEntity", - "properties": { - "confidence": { - "description": "Optional. Confidence of detected Schema entity. Range `[0, 1]`.", - "format": "float", - "type": "number" - }, - "id": { - "description": "Optional. Canonical id. This will be a unique value in the entity list for this document.", - "type": "string" - }, - "mentionId": { - "description": "Optional. Deprecated. Use `id` field instead.", - "type": "string" - }, - "mentionText": { - "description": "Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.", - "type": "string" - }, - "normalizedValue": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue", - "description": "Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types." - }, - "pageAnchor": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageAnchor", - "description": "Optional. Represents the provenance of this entity wrt. the location on the page where it was found." - }, - "properties": { - "description": "Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentEntity" - }, - "type": "array" - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", - "description": "Optional. The history of this annotation." - }, - "redacted": { - "description": "Optional. Whether the entity will be redacted for de-identification purposes.", - "type": "boolean" - }, - "textAnchor": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor", - "description": "Optional. Provenance of the entity. Text anchor indexing into the Document.text." - }, - "type": { - "description": "Required. Entity type from a schema e.g. `Address`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue": { - "description": "Parsed and normalized entity value.", - "id": "GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue", - "properties": { - "addressValue": { - "$ref": "GoogleTypePostalAddress", - "description": "Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto" - }, - "booleanValue": { - "description": "Boolean value. Can be used for entities with binary values, or for checkboxes.", - "type": "boolean" - }, - "dateValue": { - "$ref": "GoogleTypeDate", - "description": "Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto" - }, - "datetimeValue": { - "$ref": "GoogleTypeDateTime", - "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" - }, - "floatValue": { - "description": "Float value.", - "format": "float", - "type": "number" - }, - "integerValue": { - "description": "Integer value.", - "format": "int32", - "type": "integer" - }, - "moneyValue": { - "$ref": "GoogleTypeMoney", - "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" - }, - "text": { - "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentEntityRelation": { - "description": "Relationship between Entities.", - "id": "GoogleCloudDocumentaiV1beta1DocumentEntityRelation", - "properties": { - "objectId": { - "description": "Object entity id.", - "type": "string" - }, - "relation": { - "description": "Relationship description.", - "type": "string" - }, - "subjectId": { - "description": "Subject entity id.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPage": { - "description": "A page in a Document.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPage", - "properties": { - "blocks": { - "description": "A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageBlock" - }, - "type": "array" - }, - "detectedBarcodes": { - "description": "A list of detected barcodes.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode" - }, - "type": "array" - }, - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "dimension": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDimension", - "description": "Physical dimension of the page." - }, - "formFields": { - "description": "A list of visually detected form fields on the page.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageFormField" - }, - "type": "array" - }, - "image": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageImage", - "description": "Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned." - }, - "imageQualityScores": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores", - "description": "Image quality scores." - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for the page." - }, - "lines": { - "description": "A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLine" - }, - "type": "array" - }, - "pageNumber": { - "description": "1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.", - "format": "int32", - "type": "integer" - }, - "paragraphs": { - "description": "A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageParagraph" - }, - "type": "array" - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", - "deprecated": true, - "description": "The history of this page." - }, - "symbols": { - "description": "A list of visually detected symbols on the page.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageSymbol" - }, - "type": "array" - }, - "tables": { - "description": "A list of visually detected tables on the page.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTable" - }, - "type": "array" - }, - "tokens": { - "description": "A list of visually detected tokens on the page.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageToken" - }, - "type": "array" - }, - "transforms": { - "description": "Transformation matrices that were applied to the original document image to produce Page.image.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageMatrix" - }, - "type": "array" - }, - "visualElements": { - "description": "A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageVisualElement" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageAnchor": { - "description": "Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageAnchor", - "properties": { - "pageRefs": { - "description": "One or more references to visual page elements", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef": { - "description": "Represents a weak reference to a page element within a document.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef", - "properties": { - "boundingPoly": { - "$ref": "GoogleCloudDocumentaiV1beta1BoundingPoly", - "description": "Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to." - }, - "confidence": { - "description": "Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.", - "format": "float", - "type": "number" - }, - "layoutId": { - "deprecated": true, - "description": "Optional. Deprecated. Use PageRef.bounding_poly instead.", - "type": "string" - }, - "layoutType": { - "description": "Optional. The type of the layout element that is being referenced if any.", - "enum": [ - "LAYOUT_TYPE_UNSPECIFIED", - "BLOCK", - "PARAGRAPH", - "LINE", - "TOKEN", - "VISUAL_ELEMENT", - "TABLE", - "FORM_FIELD" - ], - "enumDescriptions": [ - "Layout Unspecified.", - "References a Page.blocks element.", - "References a Page.paragraphs element.", - "References a Page.lines element.", - "References a Page.tokens element.", - "References a Page.visual_elements element.", - "Refrrences a Page.tables element.", - "References a Page.form_fields element." - ], - "type": "string" - }, - "page": { - "description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageBlock": { - "description": "A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageBlock", - "properties": { - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for Block." - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", - "deprecated": true, - "description": "The history of this annotation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode": { - "description": "A detected barcode.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode", - "properties": { - "barcode": { - "$ref": "GoogleCloudDocumentaiV1beta1Barcode", - "description": "Detailed barcode information of the DetectedBarcode." - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for DetectedBarcode." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage": { - "description": "Detected language for a structural component.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage", - "properties": { - "confidence": { - "description": "Confidence of detected language. Range `[0, 1]`.", - "format": "float", - "type": "number" - }, - "languageCode": { - "description": "The [BCP-47 language code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), such as `en-US` or `sr-Latn`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageDimension": { - "description": "Dimension for the page.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageDimension", - "properties": { - "height": { - "description": "Page height.", - "format": "float", - "type": "number" - }, - "unit": { - "description": "Dimension unit.", - "type": "string" - }, - "width": { - "description": "Page width.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageFormField": { - "description": "A form field detected on the page.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageFormField", - "properties": { - "correctedKeyText": { - "description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", - "type": "string" - }, - "correctedValueText": { - "description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", - "type": "string" - }, - "fieldName": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc." - }, - "fieldValue": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for the FormField value." - }, - "nameDetectedLanguages": { - "description": "A list of detected languages for name together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", - "description": "The history of this annotation." - }, - "valueDetectedLanguages": { - "description": "A list of detected languages for value together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "valueType": { - "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageImage": { - "description": "Rendered image contents for this page.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageImage", - "properties": { - "content": { - "description": "Raw byte content of the image.", - "format": "byte", - "type": "string" - }, - "height": { - "description": "Height of the image in pixels.", - "format": "int32", - "type": "integer" - }, - "mimeType": { - "description": "Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for the image.", - "type": "string" - }, - "width": { - "description": "Width of the image in pixels.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores": { - "description": "Image quality scores for the page image.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores", - "properties": { - "detectedDefects": { - "description": "A list of detected defects.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect" - }, - "type": "array" - }, - "qualityScore": { - "description": "The overall quality score. Range `[0, 1]` where `1` is perfect quality.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect": { - "description": "Image Quality Defects", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect", - "properties": { - "confidence": { - "description": "Confidence of detected defect. Range `[0, 1]` where `1` indicates strong confidence that the defect exists.", - "format": "float", - "type": "number" - }, - "type": { - "description": "Name of the defect type. Supported values are: - `quality/defect_blurry` - `quality/defect_noisy` - `quality/defect_dark` - `quality/defect_faint` - `quality/defect_text_too_small` - `quality/defect_document_cutoff` - `quality/defect_text_cutoff` - `quality/defect_glare`", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageLayout": { - "description": "Visual element describing a layout unit on a page.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "properties": { - "boundingPoly": { - "$ref": "GoogleCloudDocumentaiV1beta1BoundingPoly", - "description": "The bounding polygon for the Layout." - }, - "confidence": { - "description": "Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range `[0, 1]`.", - "format": "float", - "type": "number" - }, - "orientation": { - "description": "Detected orientation for the Layout.", - "enum": [ - "ORIENTATION_UNSPECIFIED", - "PAGE_UP", - "PAGE_RIGHT", - "PAGE_DOWN", - "PAGE_LEFT" - ], - "enumDescriptions": [ - "Unspecified orientation.", - "Orientation is aligned with page up.", - "Orientation is aligned with page right. Turn the head 90 degrees clockwise from upright to read.", - "Orientation is aligned with page down. Turn the head 180 degrees from upright to read.", - "Orientation is aligned with page left. Turn the head 90 degrees counterclockwise from upright to read." - ], - "type": "string" - }, - "textAnchor": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor", - "description": "Text anchor indexing into the Document.text." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageLine": { - "description": "A collection of tokens that a human would perceive as a line. Does not cross column boundaries, can be horizontal, vertical, etc.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageLine", - "properties": { - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for Line." - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", - "deprecated": true, - "description": "The history of this annotation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageMatrix": { - "description": "Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageMatrix", - "properties": { - "cols": { - "description": "Number of columns in the matrix.", - "format": "int32", - "type": "integer" - }, - "data": { - "description": "The matrix data.", - "format": "byte", - "type": "string" - }, - "rows": { - "description": "Number of rows in the matrix.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "This encodes information about what data type the matrix uses. For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive data types, please refer to https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageParagraph": { - "description": "A collection of lines that a human would perceive as a paragraph.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageParagraph", - "properties": { - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for Paragraph." - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", - "deprecated": true, - "description": "The history of this annotation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageSymbol": { - "description": "A detected symbol.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageSymbol", - "properties": { - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for Symbol." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageTable": { - "description": "A table representation similar to HTML table structure.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageTable", - "properties": { - "bodyRows": { - "description": "Body rows of the table.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow" - }, - "type": "array" - }, - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "headerRows": { - "description": "Header rows of the table.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for Table." - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", - "deprecated": true, - "description": "The history of this table." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell": { - "description": "A cell representation inside the table.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell", - "properties": { - "colSpan": { - "description": "How many columns this cell spans.", - "format": "int32", - "type": "integer" - }, - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for TableCell." - }, - "rowSpan": { - "description": "How many rows this cell spans.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow": { - "description": "A row of table cells.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow", - "properties": { - "cells": { - "description": "Cells that make up this row.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageToken": { - "description": "A detected token.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageToken", - "properties": { - "detectedBreak": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak", - "description": "Detected break at the end of a Token." - }, - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for Token." - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", - "deprecated": true, - "description": "The history of this annotation." - }, - "styleInfo": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo", - "description": "Text style attributes." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak": { - "description": "Detected break at the end of a Token.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak", - "properties": { - "type": { - "description": "Detected break type.", - "enum": [ - "TYPE_UNSPECIFIED", - "SPACE", - "WIDE_SPACE", - "HYPHEN" - ], - "enumDescriptions": [ - "Unspecified break type.", - "A single whitespace.", - "A wider whitespace.", - "A hyphen that indicates that a token has been split across lines." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo": { - "description": "Font and other text style attributes.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo", - "properties": { - "backgroundColor": { - "$ref": "GoogleTypeColor", - "description": "Color of the background." - }, - "bold": { - "description": "Whether the text is bold (equivalent to font_weight is at least `700`).", - "type": "boolean" - }, - "fontSize": { - "description": "Font size in points (`1` point is `¹⁄₇₂` inches).", - "format": "int32", - "type": "integer" - }, - "fontType": { - "description": "Name or style of the font.", - "type": "string" - }, - "fontWeight": { - "description": "TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `400`, bold is `700`.", - "format": "int32", - "type": "integer" - }, - "handwritten": { - "description": "Whether the text is handwritten.", - "type": "boolean" - }, - "italic": { - "description": "Whether the text is italic.", - "type": "boolean" - }, - "letterSpacing": { - "description": "Letter spacing in points.", - "format": "double", - "type": "number" - }, - "pixelFontSize": { - "description": "Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`.", - "format": "double", - "type": "number" - }, - "smallcaps": { - "description": "Whether the text is in small caps. This feature is not supported yet.", - "type": "boolean" - }, - "strikeout": { - "description": "Whether the text is strikethrough. This feature is not supported yet.", - "type": "boolean" - }, - "subscript": { - "description": "Whether the text is a subscript. This feature is not supported yet.", - "type": "boolean" - }, - "superscript": { - "description": "Whether the text is a superscript. This feature is not supported yet.", - "type": "boolean" - }, - "textColor": { - "$ref": "GoogleTypeColor", - "description": "Color of the text." - }, - "underlined": { - "description": "Whether the text is underlined.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentPageVisualElement": { - "description": "Detected non-text visual elements e.g. checkbox, signature etc. on the page.", - "id": "GoogleCloudDocumentaiV1beta1DocumentPageVisualElement", - "properties": { - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", - "description": "Layout for VisualElement." - }, - "type": { - "description": "Type of the VisualElement.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentProvenance": { - "description": "Structure to identify provenance relationships between annotations in different revisions.", - "id": "GoogleCloudDocumentaiV1beta1DocumentProvenance", - "properties": { - "id": { - "deprecated": true, - "description": "The Id of this operation. Needs to be unique within the scope of the revision.", - "format": "int32", - "type": "integer" - }, - "parents": { - "description": "References to the original elements that are replaced.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenanceParent" - }, - "type": "array" - }, - "revision": { - "deprecated": true, - "description": "The index of the revision that produced this element.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "The type of provenance operation.", - "enum": [ - "OPERATION_TYPE_UNSPECIFIED", - "ADD", - "REMOVE", - "UPDATE", - "REPLACE", - "EVAL_REQUESTED", - "EVAL_APPROVED", - "EVAL_SKIPPED" - ], - "enumDeprecated": [ - false, - false, - false, - false, - false, - true, - true, - true - ], - "enumDescriptions": [ - "Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a `parent`.", - "Add an element.", - "Remove an element identified by `parent`.", - "Updates any fields within the given provenance scope of the message. It overwrites the fields rather than replacing them. Use this when you want to update a field value of an entity without also updating all the child properties.", - "Currently unused. Replace an element identified by `parent`.", - "Deprecated. Request human review for the element identified by `parent`.", - "Deprecated. Element is reviewed and approved at human review, confidence will be set to 1.0.", - "Deprecated. Element is skipped in the validation process." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentProvenanceParent": { - "description": "The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.", - "id": "GoogleCloudDocumentaiV1beta1DocumentProvenanceParent", - "properties": { - "id": { - "deprecated": true, - "description": "The id of the parent provenance.", - "format": "int32", - "type": "integer" - }, - "index": { - "description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.", - "format": "int32", - "type": "integer" - }, - "revision": { - "description": "The index of the index into current revision's parent_ids list.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentRevision": { - "description": "Contains past or forward revisions of this document.", - "id": "GoogleCloudDocumentaiV1beta1DocumentRevision", - "properties": { - "agent": { - "description": "If the change was made by a person specify the name or id of that person.", - "type": "string" - }, - "createTime": { - "description": "The time that the revision was created, internally generated by doc proto storage at the time of create.", - "format": "google-datetime", - "type": "string" - }, - "humanReview": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview", - "description": "Human Review information of this revision." - }, - "id": { - "description": "Id of the revision, internally generated by doc proto storage. Unique within the context of the document.", - "type": "string" - }, - "parent": { - "deprecated": true, - "description": "The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the `revisions` field.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "parentIds": { - "description": "The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are `provenance.parent.revision` fields that index into this field.", - "items": { - "type": "string" - }, - "type": "array" - }, - "processor": { - "description": "If the annotation was made by processor identify the processor by its resource name.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview": { - "description": "Human Review information of the document.", - "id": "GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview", - "properties": { - "state": { - "description": "Human review state. e.g. `requested`, `succeeded`, `rejected`.", - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing. For example, the rejection reason when the state is `rejected`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentShardInfo": { - "description": "For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.", - "id": "GoogleCloudDocumentaiV1beta1DocumentShardInfo", - "properties": { - "shardCount": { - "description": "Total number of shards.", - "format": "int64", - "type": "string" - }, - "shardIndex": { - "description": "The 0-based index of this shard.", - "format": "int64", - "type": "string" - }, - "textOffset": { - "description": "The index of the first character in Document.text in the overall document global text.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentStyle": { - "description": "Annotation for common text style attributes. This adheres to CSS conventions as much as possible.", - "id": "GoogleCloudDocumentaiV1beta1DocumentStyle", - "properties": { - "backgroundColor": { - "$ref": "GoogleTypeColor", - "description": "Text background color." - }, - "color": { - "$ref": "GoogleTypeColor", - "description": "Text color." - }, - "fontFamily": { - "description": "Font family such as `Arial`, `Times New Roman`. https://www.w3schools.com/cssref/pr_font_font-family.asp", - "type": "string" - }, - "fontSize": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentStyleFontSize", - "description": "Font size." - }, - "fontWeight": { - "description": "[Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible values are `normal`, `bold`, `bolder`, and `lighter`.", - "type": "string" - }, - "textAnchor": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor", - "description": "Text anchor indexing into the Document.text." - }, - "textDecoration": { - "description": "[Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). Follows CSS standard. ", - "type": "string" - }, - "textStyle": { - "description": "[Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). Possible values are `normal`, `italic`, and `oblique`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentStyleFontSize": { - "description": "Font size with unit.", - "id": "GoogleCloudDocumentaiV1beta1DocumentStyleFontSize", - "properties": { - "size": { - "description": "Font size for the text.", - "format": "float", - "type": "number" - }, - "unit": { - "description": "Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentTextAnchor": { - "description": "Text reference indexing into the Document.text.", - "id": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor", - "properties": { - "content": { - "description": "Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.", - "type": "string" - }, - "textSegments": { - "description": "The text segments from the Document.text.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment": { - "description": "A text segment in the Document.text. The indices may be out of bounds which indicate that the text extends into another document shard for large sharded documents. See ShardInfo.text_offset", - "id": "GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment", - "properties": { - "endIndex": { - "description": "TextSegment half open end UTF-8 char index in the Document.text.", - "format": "int64", - "type": "string" - }, - "startIndex": { - "description": "TextSegment start UTF-8 char index in the Document.text.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1DocumentTextChange": { - "description": "This message is used for text changes aka. OCR corrections.", - "id": "GoogleCloudDocumentaiV1beta1DocumentTextChange", - "properties": { - "changedText": { - "description": "The text that replaces the text identified in the `text_anchor`.", - "type": "string" - }, - "provenance": { - "deprecated": true, - "description": "The history of this annotation.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance" - }, - "type": "array" - }, - "textAnchor": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor", - "description": "Provenance of the correction. Text anchor indexing into the Document.text. There can only be a single `TextAnchor.text_segments` element. If the start and end index of the text segment are the same, the text change is inserted before that index." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1GcsDestination": { - "description": "The Google Cloud Storage location where the output file will be written to.", - "id": "GoogleCloudDocumentaiV1beta1GcsDestination", - "properties": { - "uri": { - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1GcsSource": { - "description": "The Google Cloud Storage location where the input file will be read from.", - "id": "GoogleCloudDocumentaiV1beta1GcsSource", - "properties": { - "uri": { - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1InputConfig": { - "description": "The desired input location and metadata.", - "id": "GoogleCloudDocumentaiV1beta1InputConfig", - "properties": { - "gcsSource": { - "$ref": "GoogleCloudDocumentaiV1beta1GcsSource", - "description": "The Google Cloud Storage location to read the input from. This must be a single file." - }, - "mimeType": { - "description": "Required. Mimetype of the input. Current supported mimetypes are application/pdf, image/tiff, and image/gif. In addition, application/json type is supported for requests with ProcessDocumentRequest.automl_params field set. The JSON file needs to be in Document format.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1NormalizedVertex": { - "description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", - "id": "GoogleCloudDocumentaiV1beta1NormalizedVertex", - "properties": { - "x": { - "description": "X coordinate.", - "format": "float", - "type": "number" - }, - "y": { - "description": "Y coordinate (starts from the top of the image).", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1OperationMetadata": { - "description": "Contains metadata for the BatchProcessDocuments operation.", - "id": "GoogleCloudDocumentaiV1beta1OperationMetadata", - "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "The state of the current batch processing.", - "enum": [ - "STATE_UNSPECIFIED", - "ACCEPTED", - "WAITING", - "RUNNING", - "SUCCEEDED", - "CANCELLED", - "FAILED" - ], - "enumDescriptions": [ - "The default value. This value is used if the state is omitted.", - "Request is received.", - "Request operation is waiting for scheduling.", - "Request is being processed.", - "The batch processing completed successfully.", - "The batch processing was cancelled.", - "The batch processing has failed." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1OutputConfig": { - "description": "The desired output location and metadata.", - "id": "GoogleCloudDocumentaiV1beta1OutputConfig", - "properties": { - "gcsDestination": { - "$ref": "GoogleCloudDocumentaiV1beta1GcsDestination", - "description": "The Google Cloud Storage location to write the output to." - }, - "pagesPerShard": { - "description": "The max number of pages to include into each output Document shard JSON on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 parsed pages will be produced. If `pages_per_shard` = 20, then 5 Document shard JSON files each containing 20 parsed pages will be written under the prefix OutputConfig.gcs_destination.uri and suffix pages-x-to-y.json where x and y are 1-indexed page numbers. Example GCS outputs with 157 pages and pages_per_shard = 50: pages-001-to-050.json pages-051-to-100.json pages-101-to-150.json pages-151-to-157.json", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1ProcessDocumentResponse": { - "description": "Response to a single document processing request.", - "id": "GoogleCloudDocumentaiV1beta1ProcessDocumentResponse", - "properties": { - "inputConfig": { - "$ref": "GoogleCloudDocumentaiV1beta1InputConfig", - "description": "Information about the input file. This is the same as the corresponding input config in the request." - }, - "outputConfig": { - "$ref": "GoogleCloudDocumentaiV1beta1OutputConfig", - "description": "The output location of the parsed responses. The responses are written to this location as JSON-serialized `Document` objects." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta1Vertex": { - "description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", - "id": "GoogleCloudDocumentaiV1beta1Vertex", - "properties": { - "x": { - "description": "X coordinate.", - "format": "int32", - "type": "integer" - }, - "y": { - "description": "Y coordinate (starts from the top of the image).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2AutoMlParams": { - "description": "Parameters to control AutoML model prediction behavior.", - "id": "GoogleCloudDocumentaiV1beta2AutoMlParams", - "properties": { - "model": { - "description": "Resource name of the AutoML model. Format: `projects/{project-id}/locations/{location-id}/models/{model-id}`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2Barcode": { - "description": "Encodes the detailed information of a barcode.", - "id": "GoogleCloudDocumentaiV1beta2Barcode", - "properties": { - "format": { - "description": "Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code type. - `DATABAR`: GS1 DataBar code type.", - "type": "string" - }, - "rawValue": { - "description": "Raw value encoded in the barcode. For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.", - "type": "string" - }, - "valueFormat": { - "description": "Value format describes the format of the value that a barcode encodes. The supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. - `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest": { - "description": "Request to batch process documents as an asynchronous operation. The output is written to Cloud Storage as JSON in the [Document] format.", - "id": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest", - "properties": { - "requests": { - "description": "Required. Individual requests for each document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse": { - "description": "Response to an batch document processing request. This is returned in the LRO Operation after the operation is complete.", - "id": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse", - "properties": { - "responses": { - "description": "Responses for each individual document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentResponse" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2BoundingPoly": { - "description": "A bounding polygon for the detected image annotation.", - "id": "GoogleCloudDocumentaiV1beta2BoundingPoly", - "properties": { - "normalizedVertices": { - "description": "The bounding polygon normalized vertices.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2NormalizedVertex" - }, - "type": "array" - }, - "vertices": { - "description": "The bounding polygon vertices.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2Vertex" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2Document": { - "description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.", - "id": "GoogleCloudDocumentaiV1beta2Document", - "properties": { - "chunkedDocument": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocument", - "description": "Document chunked based on chunking config." - }, - "content": { - "description": "Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.", - "format": "byte", - "type": "string" - }, - "documentLayout": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayout", - "description": "Parsed layout of the document." - }, - "entities": { - "description": "A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentEntity" - }, - "type": "array" - }, - "entityRelations": { - "description": "Placeholder. Relationship among Document.entities.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentEntityRelation" - }, - "type": "array" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "Any error that occurred while processing this document." - }, - "labels": { - "description": "Labels for this document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentLabel" - }, - "type": "array" - }, - "mimeType": { - "description": "An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).", - "type": "string" - }, - "pages": { - "description": "Visual page layout for the Document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPage" - }, - "type": "array" - }, - "revisions": { - "description": "Placeholder. Revision history of this document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentRevision" - }, - "type": "array" - }, - "shardInfo": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentShardInfo", - "description": "Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified." - }, - "text": { - "description": "Optional. UTF-8 encoded text in reading order from the document.", - "type": "string" - }, - "textChanges": { - "description": "Placeholder. A list of text corrections made to Document.text. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentTextChange" - }, - "type": "array" - }, - "textStyles": { - "deprecated": true, - "description": "Styles for the Document.text.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentStyle" - }, - "type": "array" - }, - "uri": { - "description": "Optional. Currently supports Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. For more information, refer to [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris).", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentChunkedDocument": { - "description": "Represents the chunks that the document is divided into.", - "id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocument", - "properties": { - "chunks": { - "description": "List of chunks.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk": { - "description": "Represents a chunk.", - "id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk", - "properties": { - "chunkId": { - "description": "ID of the chunk.", - "type": "string" - }, - "content": { - "description": "Text content of the chunk.", - "type": "string" - }, - "pageFooters": { - "description": "Page footers associated with the chunk.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter" - }, - "type": "array" - }, - "pageHeaders": { - "description": "Page headers associated with the chunk.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader" - }, - "type": "array" - }, - "pageSpan": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", - "description": "Page span of the chunk." - }, - "sourceBlockIds": { - "description": "Unused.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter": { - "description": "Represents the page footer associated with the chunk.", - "id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter", - "properties": { - "pageSpan": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", - "description": "Page span of the footer." - }, - "text": { - "description": "Footer in text format.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader": { - "description": "Represents the page header associated with the chunk.", - "id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader", - "properties": { - "pageSpan": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", - "description": "Page span of the header." - }, - "text": { - "description": "Header in text format.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan": { - "description": "Represents where the chunk starts and ends in the document.", - "id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", - "properties": { - "pageEnd": { - "description": "Page where chunk ends in the document.", - "format": "int32", - "type": "integer" - }, - "pageStart": { - "description": "Page where chunk starts in the document.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentDocumentLayout": { - "description": "Represents the parsed layout of a document as a collection of blocks that the document is divided into.", - "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayout", - "properties": { - "blocks": { - "description": "List of blocks in the document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock": { - "description": "Represents a block. A block could be one of the various types (text, table, list) supported.", - "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock", - "properties": { - "blockId": { - "description": "ID of the block.", - "type": "string" - }, - "listBlock": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", - "description": "Block consisting of list content/structure." - }, - "pageSpan": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", - "description": "Page span of the block." - }, - "tableBlock": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", - "description": "Block consisting of table content/structure." - }, - "textBlock": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", - "description": "Block consisting of text content." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock": { - "description": "Represents a list type block.", - "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", - "properties": { - "listEntries": { - "description": "List entries that constitute a list block.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry" - }, - "type": "array" - }, - "type": { - "description": "Type of the list_entries (if exist). Available options are `ordered` and `unordered`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry": { - "description": "Represents an entry in the list.", - "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry", - "properties": { - "blocks": { - "description": "A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan": { - "description": "Represents where the block starts and ends in the document.", - "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", - "properties": { - "pageEnd": { - "description": "Page where block ends in the document.", - "format": "int32", - "type": "integer" - }, - "pageStart": { - "description": "Page where block starts in the document.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock": { - "description": "Represents a table type block.", - "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", - "properties": { - "bodyRows": { - "description": "Body rows containing main table content.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" - }, - "type": "array" - }, - "caption": { - "description": "Table caption/title.", - "type": "string" - }, - "headerRows": { - "description": "Header rows at the top of the table.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell": { - "description": "Represents a cell in a table row.", - "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell", - "properties": { - "blocks": { - "description": "A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" - }, - "type": "array" - }, - "colSpan": { - "description": "How many columns this cell spans.", - "format": "int32", - "type": "integer" - }, - "rowSpan": { - "description": "How many rows this cell spans.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow": { - "description": "Represents a row in a table.", - "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow", - "properties": { - "cells": { - "description": "A table row is a list of table cells.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock": { - "description": "Represents a text type block.", - "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", - "properties": { - "blocks": { - "description": "A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" - }, - "type": "array" - }, - "text": { - "description": "Text content stored in the block.", - "type": "string" - }, - "type": { - "description": "Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentEntity": { - "description": "An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.", - "id": "GoogleCloudDocumentaiV1beta2DocumentEntity", - "properties": { - "confidence": { - "description": "Optional. Confidence of detected Schema entity. Range `[0, 1]`.", - "format": "float", - "type": "number" - }, - "id": { - "description": "Optional. Canonical id. This will be a unique value in the entity list for this document.", - "type": "string" - }, - "mentionId": { - "description": "Optional. Deprecated. Use `id` field instead.", - "type": "string" - }, - "mentionText": { - "description": "Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.", - "type": "string" - }, - "normalizedValue": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue", - "description": "Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types." - }, - "pageAnchor": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageAnchor", - "description": "Optional. Represents the provenance of this entity wrt. the location on the page where it was found." - }, - "properties": { - "description": "Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentEntity" - }, - "type": "array" - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", - "description": "Optional. The history of this annotation." - }, - "redacted": { - "description": "Optional. Whether the entity will be redacted for de-identification purposes.", - "type": "boolean" - }, - "textAnchor": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor", - "description": "Optional. Provenance of the entity. Text anchor indexing into the Document.text." - }, - "type": { - "description": "Required. Entity type from a schema e.g. `Address`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue": { - "description": "Parsed and normalized entity value.", - "id": "GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue", - "properties": { - "addressValue": { - "$ref": "GoogleTypePostalAddress", - "description": "Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto" - }, - "booleanValue": { - "description": "Boolean value. Can be used for entities with binary values, or for checkboxes.", - "type": "boolean" - }, - "dateValue": { - "$ref": "GoogleTypeDate", - "description": "Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto" - }, - "datetimeValue": { - "$ref": "GoogleTypeDateTime", - "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" - }, - "floatValue": { - "description": "Float value.", - "format": "float", - "type": "number" - }, - "integerValue": { - "description": "Integer value.", - "format": "int32", - "type": "integer" - }, - "moneyValue": { - "$ref": "GoogleTypeMoney", - "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" - }, - "text": { - "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentEntityRelation": { - "description": "Relationship between Entities.", - "id": "GoogleCloudDocumentaiV1beta2DocumentEntityRelation", - "properties": { - "objectId": { - "description": "Object entity id.", - "type": "string" - }, - "relation": { - "description": "Relationship description.", - "type": "string" - }, - "subjectId": { - "description": "Subject entity id.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentLabel": { - "description": "Label attaches schema information and/or other metadata to segments within a Document. Multiple Labels on a single field can denote either different labels, different instances of the same label created at different times, or some combination of both.", - "id": "GoogleCloudDocumentaiV1beta2DocumentLabel", - "properties": { - "automlModel": { - "description": "Label is generated AutoML model. This field stores the full resource name of the AutoML model. Format: `projects/{project-id}/locations/{location-id}/models/{model-id}`", - "type": "string" - }, - "confidence": { - "description": "Confidence score between 0 and 1 for label assignment.", - "format": "float", - "type": "number" - }, - "name": { - "description": "Name of the label. When the label is generated from AutoML Text Classification model, this field represents the name of the category.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPage": { - "description": "A page in a Document.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPage", - "properties": { - "blocks": { - "description": "A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageBlock" - }, - "type": "array" - }, - "detectedBarcodes": { - "description": "A list of detected barcodes.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode" - }, - "type": "array" - }, - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "dimension": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDimension", - "description": "Physical dimension of the page." - }, - "formFields": { - "description": "A list of visually detected form fields on the page.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageFormField" - }, - "type": "array" - }, - "image": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageImage", - "description": "Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned." - }, - "imageQualityScores": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores", - "description": "Image quality scores." - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for the page." - }, - "lines": { - "description": "A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLine" - }, - "type": "array" - }, - "pageNumber": { - "description": "1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.", - "format": "int32", - "type": "integer" - }, - "paragraphs": { - "description": "A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageParagraph" - }, - "type": "array" - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", - "deprecated": true, - "description": "The history of this page." - }, - "symbols": { - "description": "A list of visually detected symbols on the page.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageSymbol" - }, - "type": "array" - }, - "tables": { - "description": "A list of visually detected tables on the page.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTable" - }, - "type": "array" - }, - "tokens": { - "description": "A list of visually detected tokens on the page.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageToken" - }, - "type": "array" - }, - "transforms": { - "description": "Transformation matrices that were applied to the original document image to produce Page.image.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageMatrix" - }, - "type": "array" - }, - "visualElements": { - "description": "A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageVisualElement" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageAnchor": { - "description": "Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageAnchor", - "properties": { - "pageRefs": { - "description": "One or more references to visual page elements", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef": { - "description": "Represents a weak reference to a page element within a document.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef", - "properties": { - "boundingPoly": { - "$ref": "GoogleCloudDocumentaiV1beta2BoundingPoly", - "description": "Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to." - }, - "confidence": { - "description": "Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.", - "format": "float", - "type": "number" - }, - "layoutId": { - "deprecated": true, - "description": "Optional. Deprecated. Use PageRef.bounding_poly instead.", - "type": "string" - }, - "layoutType": { - "description": "Optional. The type of the layout element that is being referenced if any.", - "enum": [ - "LAYOUT_TYPE_UNSPECIFIED", - "BLOCK", - "PARAGRAPH", - "LINE", - "TOKEN", - "VISUAL_ELEMENT", - "TABLE", - "FORM_FIELD" - ], - "enumDescriptions": [ - "Layout Unspecified.", - "References a Page.blocks element.", - "References a Page.paragraphs element.", - "References a Page.lines element.", - "References a Page.tokens element.", - "References a Page.visual_elements element.", - "Refrrences a Page.tables element.", - "References a Page.form_fields element." - ], - "type": "string" - }, - "page": { - "description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageBlock": { - "description": "A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageBlock", - "properties": { - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for Block." - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", - "deprecated": true, - "description": "The history of this annotation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode": { - "description": "A detected barcode.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode", - "properties": { - "barcode": { - "$ref": "GoogleCloudDocumentaiV1beta2Barcode", - "description": "Detailed barcode information of the DetectedBarcode." - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for DetectedBarcode." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage": { - "description": "Detected language for a structural component.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage", - "properties": { - "confidence": { - "description": "Confidence of detected language. Range `[0, 1]`.", - "format": "float", - "type": "number" - }, - "languageCode": { - "description": "The [BCP-47 language code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), such as `en-US` or `sr-Latn`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageDimension": { - "description": "Dimension for the page.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageDimension", - "properties": { - "height": { - "description": "Page height.", - "format": "float", - "type": "number" - }, - "unit": { - "description": "Dimension unit.", - "type": "string" - }, - "width": { - "description": "Page width.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageFormField": { - "description": "A form field detected on the page.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageFormField", - "properties": { - "correctedKeyText": { - "description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", - "type": "string" - }, - "correctedValueText": { - "description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", - "type": "string" - }, - "fieldName": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc." - }, - "fieldValue": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for the FormField value." - }, - "nameDetectedLanguages": { - "description": "A list of detected languages for name together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", - "description": "The history of this annotation." - }, - "valueDetectedLanguages": { - "description": "A list of detected languages for value together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "valueType": { - "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageImage": { - "description": "Rendered image contents for this page.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageImage", - "properties": { - "content": { - "description": "Raw byte content of the image.", - "format": "byte", - "type": "string" - }, - "height": { - "description": "Height of the image in pixels.", - "format": "int32", - "type": "integer" - }, - "mimeType": { - "description": "Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for the image.", - "type": "string" - }, - "width": { - "description": "Width of the image in pixels.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores": { - "description": "Image quality scores for the page image.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores", - "properties": { - "detectedDefects": { - "description": "A list of detected defects.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect" - }, - "type": "array" - }, - "qualityScore": { - "description": "The overall quality score. Range `[0, 1]` where `1` is perfect quality.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect": { - "description": "Image Quality Defects", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect", - "properties": { - "confidence": { - "description": "Confidence of detected defect. Range `[0, 1]` where `1` indicates strong confidence that the defect exists.", - "format": "float", - "type": "number" - }, - "type": { - "description": "Name of the defect type. Supported values are: - `quality/defect_blurry` - `quality/defect_noisy` - `quality/defect_dark` - `quality/defect_faint` - `quality/defect_text_too_small` - `quality/defect_document_cutoff` - `quality/defect_text_cutoff` - `quality/defect_glare`", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageLayout": { - "description": "Visual element describing a layout unit on a page.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "properties": { - "boundingPoly": { - "$ref": "GoogleCloudDocumentaiV1beta2BoundingPoly", - "description": "The bounding polygon for the Layout." - }, - "confidence": { - "description": "Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range `[0, 1]`.", - "format": "float", - "type": "number" - }, - "orientation": { - "description": "Detected orientation for the Layout.", - "enum": [ - "ORIENTATION_UNSPECIFIED", - "PAGE_UP", - "PAGE_RIGHT", - "PAGE_DOWN", - "PAGE_LEFT" - ], - "enumDescriptions": [ - "Unspecified orientation.", - "Orientation is aligned with page up.", - "Orientation is aligned with page right. Turn the head 90 degrees clockwise from upright to read.", - "Orientation is aligned with page down. Turn the head 180 degrees from upright to read.", - "Orientation is aligned with page left. Turn the head 90 degrees counterclockwise from upright to read." - ], - "type": "string" - }, - "textAnchor": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor", - "description": "Text anchor indexing into the Document.text." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageLine": { - "description": "A collection of tokens that a human would perceive as a line. Does not cross column boundaries, can be horizontal, vertical, etc.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageLine", - "properties": { - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for Line." - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", - "deprecated": true, - "description": "The history of this annotation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageMatrix": { - "description": "Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageMatrix", - "properties": { - "cols": { - "description": "Number of columns in the matrix.", - "format": "int32", - "type": "integer" - }, - "data": { - "description": "The matrix data.", - "format": "byte", - "type": "string" - }, - "rows": { - "description": "Number of rows in the matrix.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "This encodes information about what data type the matrix uses. For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive data types, please refer to https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageParagraph": { - "description": "A collection of lines that a human would perceive as a paragraph.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageParagraph", - "properties": { - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for Paragraph." - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", - "deprecated": true, - "description": "The history of this annotation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageSymbol": { - "description": "A detected symbol.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageSymbol", - "properties": { - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for Symbol." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageTable": { - "description": "A table representation similar to HTML table structure.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageTable", - "properties": { - "bodyRows": { - "description": "Body rows of the table.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow" - }, - "type": "array" - }, - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "headerRows": { - "description": "Header rows of the table.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for Table." - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", - "deprecated": true, - "description": "The history of this table." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell": { - "description": "A cell representation inside the table.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell", - "properties": { - "colSpan": { - "description": "How many columns this cell spans.", - "format": "int32", - "type": "integer" - }, - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for TableCell." - }, - "rowSpan": { - "description": "How many rows this cell spans.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow": { - "description": "A row of table cells.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow", - "properties": { - "cells": { - "description": "Cells that make up this row.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageToken": { - "description": "A detected token.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageToken", - "properties": { - "detectedBreak": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak", - "description": "Detected break at the end of a Token." - }, - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for Token." - }, - "provenance": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", - "deprecated": true, - "description": "The history of this annotation." - }, - "styleInfo": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo", - "description": "Text style attributes." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak": { - "description": "Detected break at the end of a Token.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak", - "properties": { - "type": { - "description": "Detected break type.", - "enum": [ - "TYPE_UNSPECIFIED", - "SPACE", - "WIDE_SPACE", - "HYPHEN" - ], - "enumDescriptions": [ - "Unspecified break type.", - "A single whitespace.", - "A wider whitespace.", - "A hyphen that indicates that a token has been split across lines." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo": { - "description": "Font and other text style attributes.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo", - "properties": { - "backgroundColor": { - "$ref": "GoogleTypeColor", - "description": "Color of the background." - }, - "bold": { - "description": "Whether the text is bold (equivalent to font_weight is at least `700`).", - "type": "boolean" - }, - "fontSize": { - "description": "Font size in points (`1` point is `¹⁄₇₂` inches).", - "format": "int32", - "type": "integer" - }, - "fontType": { - "description": "Name or style of the font.", - "type": "string" - }, - "fontWeight": { - "description": "TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `400`, bold is `700`.", - "format": "int32", - "type": "integer" - }, - "handwritten": { - "description": "Whether the text is handwritten.", - "type": "boolean" - }, - "italic": { - "description": "Whether the text is italic.", - "type": "boolean" - }, - "letterSpacing": { - "description": "Letter spacing in points.", - "format": "double", - "type": "number" - }, - "pixelFontSize": { - "description": "Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`.", - "format": "double", - "type": "number" - }, - "smallcaps": { - "description": "Whether the text is in small caps. This feature is not supported yet.", - "type": "boolean" - }, - "strikeout": { - "description": "Whether the text is strikethrough. This feature is not supported yet.", - "type": "boolean" - }, - "subscript": { - "description": "Whether the text is a subscript. This feature is not supported yet.", - "type": "boolean" - }, - "superscript": { - "description": "Whether the text is a superscript. This feature is not supported yet.", - "type": "boolean" - }, - "textColor": { - "$ref": "GoogleTypeColor", - "description": "Color of the text." - }, - "underlined": { - "description": "Whether the text is underlined.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentPageVisualElement": { - "description": "Detected non-text visual elements e.g. checkbox, signature etc. on the page.", - "id": "GoogleCloudDocumentaiV1beta2DocumentPageVisualElement", - "properties": { - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" - }, - "type": "array" - }, - "layout": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", - "description": "Layout for VisualElement." - }, - "type": { - "description": "Type of the VisualElement.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentProvenance": { - "description": "Structure to identify provenance relationships between annotations in different revisions.", - "id": "GoogleCloudDocumentaiV1beta2DocumentProvenance", - "properties": { - "id": { - "deprecated": true, - "description": "The Id of this operation. Needs to be unique within the scope of the revision.", - "format": "int32", - "type": "integer" - }, - "parents": { - "description": "References to the original elements that are replaced.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenanceParent" - }, - "type": "array" - }, - "revision": { - "deprecated": true, - "description": "The index of the revision that produced this element.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "The type of provenance operation.", - "enum": [ - "OPERATION_TYPE_UNSPECIFIED", - "ADD", - "REMOVE", - "UPDATE", - "REPLACE", - "EVAL_REQUESTED", - "EVAL_APPROVED", - "EVAL_SKIPPED" - ], - "enumDeprecated": [ - false, - false, - false, - false, - false, - true, - true, - true - ], - "enumDescriptions": [ - "Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a `parent`.", - "Add an element.", - "Remove an element identified by `parent`.", - "Updates any fields within the given provenance scope of the message. It overwrites the fields rather than replacing them. Use this when you want to update a field value of an entity without also updating all the child properties.", - "Currently unused. Replace an element identified by `parent`.", - "Deprecated. Request human review for the element identified by `parent`.", - "Deprecated. Element is reviewed and approved at human review, confidence will be set to 1.0.", - "Deprecated. Element is skipped in the validation process." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentProvenanceParent": { - "description": "The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.", - "id": "GoogleCloudDocumentaiV1beta2DocumentProvenanceParent", - "properties": { - "id": { - "deprecated": true, - "description": "The id of the parent provenance.", - "format": "int32", - "type": "integer" - }, - "index": { - "description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.", - "format": "int32", - "type": "integer" - }, - "revision": { - "description": "The index of the index into current revision's parent_ids list.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentRevision": { - "description": "Contains past or forward revisions of this document.", - "id": "GoogleCloudDocumentaiV1beta2DocumentRevision", - "properties": { - "agent": { - "description": "If the change was made by a person specify the name or id of that person.", - "type": "string" - }, - "createTime": { - "description": "The time that the revision was created, internally generated by doc proto storage at the time of create.", - "format": "google-datetime", - "type": "string" - }, - "humanReview": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview", - "description": "Human Review information of this revision." - }, - "id": { - "description": "Id of the revision, internally generated by doc proto storage. Unique within the context of the document.", - "type": "string" - }, - "parent": { - "deprecated": true, - "description": "The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the `revisions` field.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "parentIds": { - "description": "The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are `provenance.parent.revision` fields that index into this field.", - "items": { - "type": "string" - }, - "type": "array" - }, - "processor": { - "description": "If the annotation was made by processor identify the processor by its resource name.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview": { - "description": "Human Review information of the document.", - "id": "GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview", - "properties": { - "state": { - "description": "Human review state. e.g. `requested`, `succeeded`, `rejected`.", - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing. For example, the rejection reason when the state is `rejected`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentShardInfo": { - "description": "For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.", - "id": "GoogleCloudDocumentaiV1beta2DocumentShardInfo", - "properties": { - "shardCount": { - "description": "Total number of shards.", - "format": "int64", - "type": "string" - }, - "shardIndex": { - "description": "The 0-based index of this shard.", - "format": "int64", - "type": "string" - }, - "textOffset": { - "description": "The index of the first character in Document.text in the overall document global text.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentStyle": { - "description": "Annotation for common text style attributes. This adheres to CSS conventions as much as possible.", - "id": "GoogleCloudDocumentaiV1beta2DocumentStyle", - "properties": { - "backgroundColor": { - "$ref": "GoogleTypeColor", - "description": "Text background color." - }, - "color": { - "$ref": "GoogleTypeColor", - "description": "Text color." - }, - "fontFamily": { - "description": "Font family such as `Arial`, `Times New Roman`. https://www.w3schools.com/cssref/pr_font_font-family.asp", - "type": "string" - }, - "fontSize": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentStyleFontSize", - "description": "Font size." - }, - "fontWeight": { - "description": "[Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible values are `normal`, `bold`, `bolder`, and `lighter`.", - "type": "string" - }, - "textAnchor": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor", - "description": "Text anchor indexing into the Document.text." - }, - "textDecoration": { - "description": "[Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). Follows CSS standard. ", - "type": "string" - }, - "textStyle": { - "description": "[Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). Possible values are `normal`, `italic`, and `oblique`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentStyleFontSize": { - "description": "Font size with unit.", - "id": "GoogleCloudDocumentaiV1beta2DocumentStyleFontSize", - "properties": { - "size": { - "description": "Font size for the text.", - "format": "float", - "type": "number" - }, - "unit": { - "description": "Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentTextAnchor": { - "description": "Text reference indexing into the Document.text.", - "id": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor", - "properties": { - "content": { - "description": "Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.", - "type": "string" - }, - "textSegments": { - "description": "The text segments from the Document.text.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment": { - "description": "A text segment in the Document.text. The indices may be out of bounds which indicate that the text extends into another document shard for large sharded documents. See ShardInfo.text_offset", - "id": "GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment", - "properties": { - "endIndex": { - "description": "TextSegment half open end UTF-8 char index in the Document.text.", - "format": "int64", - "type": "string" - }, - "startIndex": { - "description": "TextSegment start UTF-8 char index in the Document.text.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2DocumentTextChange": { - "description": "This message is used for text changes aka. OCR corrections.", - "id": "GoogleCloudDocumentaiV1beta2DocumentTextChange", - "properties": { - "changedText": { - "description": "The text that replaces the text identified in the `text_anchor`.", - "type": "string" - }, - "provenance": { - "deprecated": true, - "description": "The history of this annotation.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance" - }, - "type": "array" - }, - "textAnchor": { - "$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor", - "description": "Provenance of the correction. Text anchor indexing into the Document.text. There can only be a single `TextAnchor.text_segments` element. If the start and end index of the text segment are the same, the text change is inserted before that index." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2EntityExtractionParams": { - "description": "Parameters to control entity extraction behavior.", - "id": "GoogleCloudDocumentaiV1beta2EntityExtractionParams", - "properties": { - "enabled": { - "description": "Whether to enable entity extraction.", - "type": "boolean" - }, - "modelVersion": { - "description": "Model version of the entity extraction. Default is \"builtin/stable\". Specify \"builtin/latest\" for the latest model.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2FormExtractionParams": { - "description": "Parameters to control form extraction behavior.", - "id": "GoogleCloudDocumentaiV1beta2FormExtractionParams", - "properties": { - "enabled": { - "description": "Whether to enable form extraction.", - "type": "boolean" - }, - "keyValuePairHints": { - "description": "Reserved for future use.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2KeyValuePairHint" - }, - "type": "array" - }, - "modelVersion": { - "description": "Model version of the form extraction system. Default is \"builtin/stable\". Specify \"builtin/latest\" for the latest model. For custom form models, specify: \"custom/{model_name}\". Model name format is \"bucket_name/path/to/modeldir\" corresponding to \"gs://bucket_name/path/to/modeldir\" where annotated examples are stored.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2GcsDestination": { - "description": "The Google Cloud Storage location where the output file will be written to.", - "id": "GoogleCloudDocumentaiV1beta2GcsDestination", - "properties": { - "uri": { - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2GcsSource": { - "description": "The Google Cloud Storage location where the input file will be read from.", - "id": "GoogleCloudDocumentaiV1beta2GcsSource", - "properties": { - "uri": { - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2InputConfig": { - "description": "The desired input location and metadata.", - "id": "GoogleCloudDocumentaiV1beta2InputConfig", - "properties": { - "contents": { - "description": "Content in bytes, represented as a stream of bytes. Note: As with all `bytes` fields, proto buffer messages use a pure binary representation, whereas JSON representations use base64. This field only works for synchronous ProcessDocument method.", - "format": "byte", - "type": "string" - }, - "gcsSource": { - "$ref": "GoogleCloudDocumentaiV1beta2GcsSource", - "description": "The Google Cloud Storage location to read the input from. This must be a single file." - }, - "mimeType": { - "description": "Required. Mimetype of the input. Current supported mimetypes are application/pdf, image/tiff, and image/gif. In addition, application/json type is supported for requests with ProcessDocumentRequest.automl_params field set. The JSON file needs to be in Document format.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2KeyValuePairHint": { - "description": "Reserved for future use.", - "id": "GoogleCloudDocumentaiV1beta2KeyValuePairHint", - "properties": { - "key": { - "description": "The key text for the hint.", - "type": "string" - }, - "valueTypes": { - "description": "Type of the value. This is case-insensitive, and could be one of: ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, ID, NUMBER, EMAIL, PRICE, TERMS, DATE, NAME. Types not in this list will be ignored.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2NormalizedVertex": { - "description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", - "id": "GoogleCloudDocumentaiV1beta2NormalizedVertex", - "properties": { - "x": { - "description": "X coordinate.", - "format": "float", - "type": "number" - }, - "y": { - "description": "Y coordinate (starts from the top of the image).", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2OcrParams": { - "description": "Parameters to control Optical Character Recognition (OCR) behavior.", - "id": "GoogleCloudDocumentaiV1beta2OcrParams", - "properties": { - "languageHints": { - "description": "List of languages to use for OCR. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting `language_hints` is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Document processing returns an error if one or more of the specified languages is not one of the supported languages.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2OperationMetadata": { - "description": "Contains metadata for the BatchProcessDocuments operation.", - "id": "GoogleCloudDocumentaiV1beta2OperationMetadata", - "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "The state of the current batch processing.", - "enum": [ - "STATE_UNSPECIFIED", - "ACCEPTED", - "WAITING", - "RUNNING", - "SUCCEEDED", - "CANCELLED", - "FAILED" - ], - "enumDescriptions": [ - "The default value. This value is used if the state is omitted.", - "Request is received.", - "Request operation is waiting for scheduling.", - "Request is being processed.", - "The batch processing completed successfully.", - "The batch processing was cancelled.", - "The batch processing has failed." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2OutputConfig": { - "description": "The desired output location and metadata.", - "id": "GoogleCloudDocumentaiV1beta2OutputConfig", - "properties": { - "gcsDestination": { - "$ref": "GoogleCloudDocumentaiV1beta2GcsDestination", - "description": "The Google Cloud Storage location to write the output to." - }, - "pagesPerShard": { - "description": "The max number of pages to include into each output Document shard JSON on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 parsed pages will be produced. If `pages_per_shard` = 20, then 5 Document shard JSON files each containing 20 parsed pages will be written under the prefix OutputConfig.gcs_destination.uri and suffix pages-x-to-y.json where x and y are 1-indexed page numbers. Example GCS outputs with 157 pages and pages_per_shard = 50: pages-001-to-050.json pages-051-to-100.json pages-101-to-150.json pages-151-to-157.json", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest": { - "description": "Request to process one document.", - "id": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest", - "properties": { - "automlParams": { - "$ref": "GoogleCloudDocumentaiV1beta2AutoMlParams", - "description": "Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params." - }, - "documentType": { - "description": "Specifies a known document type for deeper structure detection. Valid values are currently \"general\" and \"invoice\". If not provided, \"general\"\\ is used as default. If any other value is given, the request is rejected.", - "type": "string" - }, - "entityExtractionParams": { - "$ref": "GoogleCloudDocumentaiV1beta2EntityExtractionParams", - "description": "Controls entity extraction behavior. If not specified, the system will decide reasonable defaults." - }, - "formExtractionParams": { - "$ref": "GoogleCloudDocumentaiV1beta2FormExtractionParams", - "description": "Controls form extraction behavior. If not specified, the system will decide reasonable defaults." - }, - "inputConfig": { - "$ref": "GoogleCloudDocumentaiV1beta2InputConfig", - "description": "Required. Information about the input file." - }, - "ocrParams": { - "$ref": "GoogleCloudDocumentaiV1beta2OcrParams", - "description": "Controls OCR behavior. If not specified, the system will decide reasonable defaults." - }, - "outputConfig": { - "$ref": "GoogleCloudDocumentaiV1beta2OutputConfig", - "description": "The desired output location. This field is only needed in BatchProcessDocumentsRequest." - }, - "parent": { - "description": "Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.", - "type": "string" - }, - "tableExtractionParams": { - "$ref": "GoogleCloudDocumentaiV1beta2TableExtractionParams", - "description": "Controls table extraction behavior. If not specified, the system will decide reasonable defaults." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2ProcessDocumentResponse": { - "description": "Response to a single document processing request.", - "id": "GoogleCloudDocumentaiV1beta2ProcessDocumentResponse", - "properties": { - "inputConfig": { - "$ref": "GoogleCloudDocumentaiV1beta2InputConfig", - "description": "Information about the input file. This is the same as the corresponding input config in the request." - }, - "outputConfig": { - "$ref": "GoogleCloudDocumentaiV1beta2OutputConfig", - "description": "The output location of the parsed responses. The responses are written to this location as JSON-serialized `Document` objects." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2TableBoundHint": { - "description": "A hint for a table bounding box on the page for table parsing.", - "id": "GoogleCloudDocumentaiV1beta2TableBoundHint", - "properties": { - "boundingBox": { - "$ref": "GoogleCloudDocumentaiV1beta2BoundingPoly", - "description": "Bounding box hint for a table on this page. The coordinates must be normalized to [0,1] and the bounding box must be an axis-aligned rectangle." - }, - "pageNumber": { - "description": "Optional. Page number for multi-paged inputs this hint applies to. If not provided, this hint will apply to all pages by default. This value is 1-based.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2TableExtractionParams": { - "description": "Parameters to control table extraction behavior.", - "id": "GoogleCloudDocumentaiV1beta2TableExtractionParams", - "properties": { - "enabled": { - "description": "Whether to enable table extraction.", - "type": "boolean" - }, - "headerHints": { - "description": "Optional. Reserved for future use.", - "items": { - "type": "string" - }, - "type": "array" - }, - "modelVersion": { - "description": "Model version of the table extraction system. Default is \"builtin/stable\". Specify \"builtin/latest\" for the latest model.", - "type": "string" - }, - "tableBoundHints": { - "description": "Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta2TableBoundHint" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta2Vertex": { - "description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", - "id": "GoogleCloudDocumentaiV1beta2Vertex", - "properties": { - "x": { - "description": "X coordinate.", - "format": "int32", - "type": "integer" - }, - "y": { - "description": "Y coordinate (starts from the top of the image).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata": { - "id": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "errorDocumentCount": { - "description": "Total number of documents that failed to be deleted in storage.", - "format": "int32", - "type": "integer" - }, - "individualBatchDeleteStatuses": { - "description": "The list of response details of each document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus" - }, - "type": "array" - }, - "totalDocumentCount": { - "description": "Total number of documents deleting from dataset.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus": { - "description": "The status of each individual document in the batch delete process.", - "id": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus", - "properties": { - "documentId": { - "$ref": "GoogleCloudDocumentaiV1beta3DocumentId", - "description": "The document id of the document." - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status of deleting the document in storage." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse": { - "description": "Response of the delete documents operation.", - "id": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3BatchProcessMetadata": { - "description": "The long-running operation metadata for BatchProcessDocuments.", - "id": "GoogleCloudDocumentaiV1beta3BatchProcessMetadata", - "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "individualProcessStatuses": { - "description": "The list of response details of each document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus" - }, - "type": "array" - }, - "state": { - "description": "The state of the current batch processing.", - "enum": [ - "STATE_UNSPECIFIED", - "WAITING", - "RUNNING", - "SUCCEEDED", - "CANCELLING", - "CANCELLED", - "FAILED" - ], - "enumDescriptions": [ - "The default value. This value is used if the state is omitted.", - "Request operation is waiting for scheduling.", - "Request is being processed.", - "The batch processing completed successfully.", - "The batch processing was being cancelled.", - "The batch processing was cancelled.", - "The batch processing has failed." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus": { - "description": "The status of a each individual document in the batch process.", - "id": "GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus", - "properties": { - "humanReviewOperation": { - "deprecated": true, - "description": "The name of the operation triggered by the processed document. If the human review process isn't triggered, this field will be empty. It has the same response type and metadata as the long-running operation returned by the ReviewDocument method.", - "type": "string" - }, - "humanReviewStatus": { - "$ref": "GoogleCloudDocumentaiV1beta3HumanReviewStatus", - "description": "The status of human review on the processed document." - }, - "inputGcsSource": { - "description": "The source of the document, same as the input_gcs_source field in the request when the batch process started.", - "type": "string" - }, - "outputGcsDestination": { - "description": "The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.", - "type": "string" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status processing the document." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3BatchProcessResponse": { - "description": "Response message for BatchProcessDocuments.", - "id": "GoogleCloudDocumentaiV1beta3BatchProcessResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3CommonOperationMetadata": { - "description": "The common metadata for long running operations.", - "id": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "resource": { - "description": "A related resource to this operation.", - "type": "string" - }, - "state": { - "description": "The state of the operation.", - "enum": [ - "STATE_UNSPECIFIED", - "RUNNING", - "CANCELLING", - "SUCCEEDED", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "Unspecified state.", - "Operation is still running.", - "Operation is being cancelled.", - "Operation succeeded.", - "Operation failed.", - "Operation is cancelled." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3Dataset": { - "description": "A singleton resource under a Processor which configures a collection of documents.", - "id": "GoogleCloudDocumentaiV1beta3Dataset", - "properties": { - "documentWarehouseConfig": { - "$ref": "GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig", - "deprecated": true, - "description": "Optional. Deprecated. Warehouse-based dataset configuration is not supported." - }, - "gcsManagedConfig": { - "$ref": "GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig", - "description": "Optional. User-managed Cloud Storage dataset configuration. Use this configuration if the dataset documents are stored under a user-managed Cloud Storage location." - }, - "name": { - "description": "Dataset resource name. Format: `projects/{project}/locations/{location}/processors/{processor}/dataset`", - "type": "string" - }, - "satisfiesPzi": { - "description": "Output only. Reserved for future use.", - "readOnly": true, - "type": "boolean" - }, - "satisfiesPzs": { - "description": "Output only. Reserved for future use.", - "readOnly": true, - "type": "boolean" - }, - "spannerIndexingConfig": { - "$ref": "GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig", - "description": "Optional. A lightweight indexing source with low latency and high reliability, but lacking advanced features like CMEK and content-based search." - }, - "state": { - "description": "Required. State of the dataset. Ignored when updating dataset.", - "enum": [ - "STATE_UNSPECIFIED", - "UNINITIALIZED", - "INITIALIZING", - "INITIALIZED" - ], - "enumDescriptions": [ - "Default unspecified enum, should not be used.", - "Dataset has not been initialized.", - "Dataset is being initialized.", - "Dataset has been initialized." - ], - "type": "string" - }, - "unmanagedDatasetConfig": { - "$ref": "GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig", - "description": "Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed)." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig": { - "description": "Configuration specific to the Document AI Warehouse-based implementation.", - "id": "GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig", - "properties": { - "collection": { - "description": "Output only. The collection in Document AI Warehouse associated with the dataset.", - "readOnly": true, - "type": "string" - }, - "schema": { - "description": "Output only. The schema in Document AI Warehouse associated with the dataset.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig": { - "description": "Configuration specific to the Cloud Storage-based implementation.", - "id": "GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig", - "properties": { - "gcsPrefix": { - "$ref": "GoogleCloudDocumentaiV1beta3GcsPrefix", - "description": "Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig": { - "description": "Configuration specific to spanner-based indexing.", - "id": "GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig": { - "description": "Configuration specific to an unmanaged dataset.", - "id": "GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata": { - "description": "The long-running operation metadata for the DeleteProcessor method.", - "id": "GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata": { - "description": "The long-running operation metadata for the DeleteProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata": { - "description": "The long-running operation metadata for the DeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse": { - "description": "Response message for the DeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DisableProcessorMetadata": { - "description": "The long-running operation metadata for the DisableProcessor method.", - "id": "GoogleCloudDocumentaiV1beta3DisableProcessorMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DisableProcessorResponse": { - "description": "Response message for the DisableProcessor method. Intentionally empty proto for adding fields in future.", - "id": "GoogleCloudDocumentaiV1beta3DisableProcessorResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DocumentId": { - "description": "Document Identifier.", - "id": "GoogleCloudDocumentaiV1beta3DocumentId", - "properties": { - "gcsManagedDocId": { - "$ref": "GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId", - "description": "A document id within user-managed Cloud Storage." - }, - "revisionRef": { - "$ref": "GoogleCloudDocumentaiV1beta3RevisionRef", - "description": "Points to a specific revision of the document if set." - }, - "unmanagedDocId": { - "$ref": "GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId", - "description": "A document id within unmanaged dataset." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId": { - "description": "Identifies a document uniquely within the scope of a dataset in the user-managed Cloud Storage option.", - "id": "GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId", - "properties": { - "cwDocId": { - "deprecated": true, - "description": "Id of the document (indexed) managed by Content Warehouse.", - "type": "string" - }, - "gcsUri": { - "description": "Required. The Cloud Storage URI where the actual document is stored.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId": { - "description": "Identifies a document uniquely within the scope of a dataset in unmanaged option.", - "id": "GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId", - "properties": { - "docId": { - "description": "Required. The id of the document.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3EnableProcessorMetadata": { - "description": "The long-running operation metadata for the EnableProcessor method.", - "id": "GoogleCloudDocumentaiV1beta3EnableProcessorMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3EnableProcessorResponse": { - "description": "Response message for the EnableProcessor method. Intentionally empty proto for adding fields in future.", - "id": "GoogleCloudDocumentaiV1beta3EnableProcessorResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata": { - "description": "Metadata of the EvaluateProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse": { - "description": "Response of the EvaluateProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse", - "properties": { - "evaluation": { - "description": "The resource name of the created evaluation.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3GcsPrefix": { - "description": "Specifies all documents on Cloud Storage with a common prefix.", - "id": "GoogleCloudDocumentaiV1beta3GcsPrefix", - "properties": { - "gcsUriPrefix": { - "description": "The URI prefix.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3HumanReviewStatus": { - "description": "The status of human review on a processed document.", - "id": "GoogleCloudDocumentaiV1beta3HumanReviewStatus", - "properties": { - "humanReviewOperation": { - "description": "The name of the operation triggered by the processed document. This field is populated only when the state is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by ReviewDocument.", - "type": "string" - }, - "state": { - "description": "The state of human review on the processing request.", - "enum": [ - "STATE_UNSPECIFIED", - "SKIPPED", - "VALIDATION_PASSED", - "IN_PROGRESS", - "ERROR" - ], - "enumDescriptions": [ - "Human review state is unspecified. Most likely due to an internal error.", - "Human review is skipped for the document. This can happen because human review isn't enabled on the processor or the processing request has been set to skip this document.", - "Human review validation is triggered and passed, so no review is needed.", - "Human review validation is triggered and the document is under review.", - "Some error happened during triggering human review, see the state_message for details." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the human review state.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata": { - "description": "Metadata of the import document operation.", - "id": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "importConfigValidationResults": { - "description": "Validation statuses of the batch documents import config.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult" - }, - "type": "array" - }, - "individualImportStatuses": { - "description": "The list of response details of each document.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus" - }, - "type": "array" - }, - "totalDocumentCount": { - "description": "Total number of the documents that are qualified for importing.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult": { - "description": "The validation status of each import config. Status is set to an error if there are no documents to import in the `import_config`, or `OK` if the operation will try to proceed with at least one document.", - "id": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult", - "properties": { - "inputGcsSource": { - "description": "The source Cloud Storage URI specified in the import config.", - "type": "string" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The validation status of import config." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus": { - "description": "The status of each individual document in the import process.", - "id": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus", - "properties": { - "inputGcsSource": { - "description": "The source Cloud Storage URI of the document.", - "type": "string" - }, - "outputDocumentId": { - "$ref": "GoogleCloudDocumentaiV1beta3DocumentId", - "description": "The document id of imported document if it was successful, otherwise empty." - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The status of the importing of the document." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3ImportDocumentsResponse": { - "description": "Response of the import document operation.", - "id": "GoogleCloudDocumentaiV1beta3ImportDocumentsResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata": { - "description": "The long-running operation metadata for the ImportProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata for the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse": { - "description": "The response message for the ImportProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse", - "properties": { - "processorVersion": { - "description": "The destination processor version name.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata": { - "description": "The long-running operation metadata for the ReviewDocument method.", - "id": "GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "questionId": { - "description": "The Crowd Compute question ID.", - "type": "string" - }, - "state": { - "description": "Used only when Operation.done is false.", - "enum": [ - "STATE_UNSPECIFIED", - "RUNNING", - "CANCELLING", - "SUCCEEDED", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "Unspecified state.", - "Operation is still running.", - "Operation is being cancelled.", - "Operation succeeded.", - "Operation failed.", - "Operation is cancelled." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3ReviewDocumentResponse": { - "description": "Response message for the ReviewDocument method.", - "id": "GoogleCloudDocumentaiV1beta3ReviewDocumentResponse", - "properties": { - "gcsDestination": { - "description": "The Cloud Storage uri for the human reviewed document if the review is succeeded.", - "type": "string" - }, - "rejectionReason": { - "description": "The reason why the review is rejected by reviewer.", - "type": "string" - }, - "state": { - "description": "The state of the review operation.", - "enum": [ - "STATE_UNSPECIFIED", - "REJECTED", - "SUCCEEDED" - ], - "enumDescriptions": [ - "The default value. This value is used if the state is omitted.", - "The review operation is rejected by the reviewer.", - "The review operation is succeeded." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3RevisionRef": { - "description": "The revision reference specifies which revision on the document to read.", - "id": "GoogleCloudDocumentaiV1beta3RevisionRef", - "properties": { - "latestProcessorVersion": { - "description": "Reads the revision generated by the processor version. The format takes the full resource name of processor version. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", - "type": "string" - }, - "revisionCase": { - "description": "Reads the revision by the predefined case.", - "enum": [ - "REVISION_CASE_UNSPECIFIED", - "LATEST_HUMAN_REVIEW", - "LATEST_TIMESTAMP", - "BASE_OCR_REVISION" - ], - "enumDescriptions": [ - "Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.", - "The latest revision made by a human.", - "The latest revision based on timestamp.", - "The first (OCR) revision." - ], - "type": "string" - }, - "revisionId": { - "description": "Reads the revision given by the id.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata": { - "description": "The long-running operation metadata for the SetDefaultProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse": { - "description": "Response message for the SetDefaultProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata": { - "description": "The metadata that represents a processor version being created.", - "id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - }, - "testDatasetValidation": { - "$ref": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation", - "description": "The test dataset validation information." - }, - "trainingDatasetValidation": { - "$ref": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation", - "description": "The training dataset validation information." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation": { - "description": "The dataset validation information. This includes any and all errors with documents and the dataset.", - "id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation", - "properties": { - "datasetErrorCount": { - "description": "The total number of dataset errors.", - "format": "int32", - "type": "integer" - }, - "datasetErrors": { - "description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.", - "items": { - "$ref": "GoogleRpcStatus" - }, - "type": "array" - }, - "documentErrorCount": { - "description": "The total number of document errors.", - "format": "int32", - "type": "integer" - }, - "documentErrors": { - "description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.", - "items": { - "$ref": "GoogleRpcStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse": { - "description": "The response for TrainProcessorVersion.", - "id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse", - "properties": { - "processorVersion": { - "description": "The resource name of the processor version produced by training.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata": { - "description": "The long-running operation metadata for the UndeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse": { - "description": "Response message for the UndeployProcessorVersion method.", - "id": "GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata": { - "id": "GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", - "description": "The basic metadata of the long-running operation." - } - }, - "type": "object" - }, - "GoogleLongrunningOperation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "GoogleLongrunningOperation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleProtobufEmpty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "GoogleProtobufEmpty", - "properties": {}, - "type": "object" - }, - "GoogleRpcStatus": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "GoogleRpcStatus", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleTypeColor": { - "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", - "id": "GoogleTypeColor", - "properties": { - "alpha": { - "description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", - "format": "float", - "type": "number" - }, - "blue": { - "description": "The amount of blue in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - }, - "green": { - "description": "The amount of green in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - }, - "red": { - "description": "The amount of red in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "GoogleTypeDate": { - "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", - "id": "GoogleTypeDate", - "properties": { - "day": { - "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", - "format": "int32", - "type": "integer" - }, - "month": { - "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", - "format": "int32", - "type": "integer" - }, - "year": { - "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleTypeDateTime": { - "description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", - "id": "GoogleTypeDateTime", - "properties": { - "day": { - "description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", - "format": "int32", - "type": "integer" - }, - "hours": { - "description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", - "format": "int32", - "type": "integer" - }, - "minutes": { - "description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", - "format": "int32", - "type": "integer" - }, - "month": { - "description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", - "format": "int32", - "type": "integer" - }, - "nanos": { - "description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", - "format": "int32", - "type": "integer" - }, - "seconds": { - "description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", - "format": "int32", - "type": "integer" - }, - "timeZone": { - "$ref": "GoogleTypeTimeZone", - "description": "Time zone." - }, - "utcOffset": { - "description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", - "format": "google-duration", - "type": "string" - }, - "year": { - "description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleTypeMoney": { - "description": "Represents an amount of money with its currency type.", - "id": "GoogleTypeMoney", - "properties": { - "currencyCode": { - "description": "The three-letter currency code defined in ISO 4217.", - "type": "string" - }, - "nanos": { - "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", - "format": "int32", - "type": "integer" - }, - "units": { - "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleTypePostalAddress": { - "description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", - "id": "GoogleTypePostalAddress", - "properties": { - "addressLines": { - "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", - "items": { - "type": "string" - }, - "type": "array" - }, - "administrativeArea": { - "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.", - "type": "string" - }, - "languageCode": { - "description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", - "type": "string" - }, - "locality": { - "description": "Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.", - "type": "string" - }, - "organization": { - "description": "Optional. The name of the organization at the address.", - "type": "string" - }, - "postalCode": { - "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).", - "type": "string" - }, - "recipients": { - "description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", - "items": { - "type": "string" - }, - "type": "array" - }, - "regionCode": { - "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", - "type": "string" - }, - "revision": { - "description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", - "format": "int32", - "type": "integer" - }, - "sortingCode": { - "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (e.g. Côte d'Ivoire).", - "type": "string" - }, - "sublocality": { - "description": "Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleTypeTimeZone": { - "description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", - "id": "GoogleTypeTimeZone", - "properties": { - "id": { - "description": "IANA Time Zone Database time zone, e.g. \"America/New_York\".", - "type": "string" - }, - "version": { - "description": "Optional. IANA Time Zone Database version number, e.g. \"2019a\".", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Document AI API", - "version": "v1beta2", - "version_module": true -} \ No newline at end of file diff --git a/discovery/domainsrdap-v1.json b/discovery/domainsrdap-v1.json deleted file mode 100644 index 6961fbc6dda..00000000000 --- a/discovery/domainsrdap-v1.json +++ /dev/null @@ -1,436 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://domainsrdap.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Domains RDAP", - "description": "Read-only public API that lets users search for information about domain names.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/domains/rdap/", - "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": "domainsrdap:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://domainsrdap.mtls.googleapis.com/", - "name": "domainsrdap", - "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": { - "autnum": { - "methods": { - "get": { - "description": "The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.", - "flatPath": "v1/autnum/{autnumId}", - "httpMethod": "GET", - "id": "domainsrdap.autnum.get", - "parameterOrder": [ - "autnumId" - ], - "parameters": { - "autnumId": { - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1/autnum/{autnumId}", - "response": { - "$ref": "RdapResponse" - } - } - } - }, - "domain": { - "methods": { - "get": { - "description": "Look up RDAP information for a domain by name.", - "flatPath": "v1/domain/{domainId}", - "httpMethod": "GET", - "id": "domainsrdap.domain.get", - "parameterOrder": [ - "domainName" - ], - "parameters": { - "domainName": { - "description": "Full domain name to look up. Example: \"example.com\"", - "location": "path", - "pattern": "^[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/domain/{+domainName}", - "response": { - "$ref": "HttpBody" - } - } - } - }, - "entity": { - "methods": { - "get": { - "description": "The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.", - "flatPath": "v1/entity/{entityId}", - "httpMethod": "GET", - "id": "domainsrdap.entity.get", - "parameterOrder": [ - "entityId" - ], - "parameters": { - "entityId": { - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1/entity/{entityId}", - "response": { - "$ref": "RdapResponse" - } - } - } - }, - "ip": { - "methods": { - "get": { - "description": "The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.", - "flatPath": "v1/ip/{ipId}/{ipId1}", - "httpMethod": "GET", - "id": "domainsrdap.ip.get", - "parameterOrder": [ - "ipId", - "ipId1" - ], - "parameters": { - "ipId": { - "location": "path", - "required": true, - "type": "string" - }, - "ipId1": { - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1/ip/{ipId}/{ipId1}", - "response": { - "$ref": "RdapResponse" - } - } - } - }, - "nameserver": { - "methods": { - "get": { - "description": "The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.", - "flatPath": "v1/nameserver/{nameserverId}", - "httpMethod": "GET", - "id": "domainsrdap.nameserver.get", - "parameterOrder": [ - "nameserverId" - ], - "parameters": { - "nameserverId": { - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1/nameserver/{nameserverId}", - "response": { - "$ref": "RdapResponse" - } - } - } - }, - "v1": { - "methods": { - "getDomains": { - "description": "The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.", - "flatPath": "v1/domains", - "httpMethod": "GET", - "id": "domainsrdap.getDomains", - "parameterOrder": [], - "parameters": {}, - "path": "v1/domains", - "response": { - "$ref": "RdapResponse" - } - }, - "getEntities": { - "description": "The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.", - "flatPath": "v1/entities", - "httpMethod": "GET", - "id": "domainsrdap.getEntities", - "parameterOrder": [], - "parameters": {}, - "path": "v1/entities", - "response": { - "$ref": "RdapResponse" - } - }, - "getHelp": { - "description": "Get help information for the RDAP API, including links to documentation.", - "flatPath": "v1/help", - "httpMethod": "GET", - "id": "domainsrdap.getHelp", - "parameterOrder": [], - "parameters": {}, - "path": "v1/help", - "response": { - "$ref": "HttpBody" - } - }, - "getIp": { - "description": "The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.", - "flatPath": "v1/ip", - "httpMethod": "GET", - "id": "domainsrdap.getIp", - "parameterOrder": [], - "parameters": {}, - "path": "v1/ip", - "response": { - "$ref": "HttpBody" - } - }, - "getNameservers": { - "description": "The RDAP API recognizes this command from the RDAP specification but does not support it. The response is a formatted 501 error.", - "flatPath": "v1/nameservers", - "httpMethod": "GET", - "id": "domainsrdap.getNameservers", - "parameterOrder": [], - "parameters": {}, - "path": "v1/nameservers", - "response": { - "$ref": "RdapResponse" - } - } - } - } - }, - "revision": "20200803", - "rootUrl": "https://domainsrdap.googleapis.com/", - "schemas": { - "HttpBody": { - "description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", - "id": "HttpBody", - "properties": { - "contentType": { - "description": "The HTTP Content-Type header value specifying the content type of the body.", - "type": "string" - }, - "data": { - "description": "The HTTP request/response body as raw binary.", - "format": "byte", - "type": "string" - }, - "extensions": { - "description": "Application specific response metadata. Must be set in the first response for streaming APIs.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "Link": { - "description": "Links object defined in [section 4.2 of RFC 7483](https://tools.ietf.org/html/rfc7483#section-4.2).", - "id": "Link", - "properties": { - "href": { - "description": "Target URL of a link. Example: \"http://example.com/previous\".", - "type": "string" - }, - "hreflang": { - "description": "Language code of a link. Example: \"en\".", - "type": "string" - }, - "media": { - "description": "Media type of the link destination. Example: \"screen\".", - "type": "string" - }, - "rel": { - "description": "Relation type of a link. Example: \"previous\".", - "type": "string" - }, - "title": { - "description": "Title of this link. Example: \"title\".", - "type": "string" - }, - "type": { - "description": "Content type of the link. Example: \"application/json\".", - "type": "string" - }, - "value": { - "description": "URL giving context for the link. Example: \"http://example.com/current\".", - "type": "string" - } - }, - "type": "object" - }, - "Notice": { - "description": "Notices object defined in [section 4.3 of RFC 7483](https://tools.ietf.org/html/rfc7483#section-4.3).", - "id": "Notice", - "properties": { - "description": { - "description": "Description of the notice.", - "items": { - "type": "string" - }, - "type": "array" - }, - "links": { - "description": "Link to a document containing more information.", - "items": { - "$ref": "Link" - }, - "type": "array" - }, - "title": { - "description": "Title of a notice. Example: \"Terms of Service\".", - "type": "string" - }, - "type": { - "description": "Type values defined in [section 10.2.1 of RFC 7483](https://tools.ietf.org/html/rfc7483#section-10.2.1) specific to a whole response: \"result set truncated due to authorization\", \"result set truncated due to excessive load\", \"result set truncated due to unexplainable reasons\".", - "type": "string" - } - }, - "type": "object" - }, - "RdapResponse": { - "description": "Response to a general RDAP query.", - "id": "RdapResponse", - "properties": { - "description": { - "description": "Error description.", - "items": { - "type": "string" - }, - "type": "array" - }, - "errorCode": { - "description": "Error HTTP code. Example: \"501\".", - "format": "int32", - "type": "integer" - }, - "jsonResponse": { - "$ref": "HttpBody", - "description": "HTTP response with content type set to \"application/json+rdap\"." - }, - "lang": { - "description": "Error language code. Error response info fields are defined in [section 6 of RFC 7483](https://tools.ietf.org/html/rfc7483#section-6).", - "type": "string" - }, - "notices": { - "description": "Notices applying to this response.", - "items": { - "$ref": "Notice" - }, - "type": "array" - }, - "rdapConformance": { - "description": "RDAP conformance level.", - "items": { - "type": "string" - }, - "type": "array" - }, - "title": { - "description": "Error title.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Domains RDAP API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/doubleclickbidmanager-v1.1.json b/discovery/doubleclickbidmanager-v1.1.json deleted file mode 100644 index 8806f095002..00000000000 --- a/discovery/doubleclickbidmanager-v1.1.json +++ /dev/null @@ -1,3779 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/doubleclickbidmanager": { - "description": "View and manage your reports in DoubleClick Bid Manager" - } - } - } - }, - "basePath": "/doubleclickbidmanager/v1.1/", - "baseUrl": "https://doubleclickbidmanager.googleapis.com/doubleclickbidmanager/v1.1/", - "batchPath": "batch", - "canonicalName": "DoubleClick Bid Manager", - "description": "DoubleClick Bid Manager API allows users to manage and create campaigns and reports.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/bid-manager/", - "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": "doubleclickbidmanager:v1.1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://doubleclickbidmanager.mtls.googleapis.com/", - "name": "doubleclickbidmanager", - "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": { - "queries": { - "methods": { - "createquery": { - "description": "Creates a query.", - "flatPath": "query", - "httpMethod": "POST", - "id": "doubleclickbidmanager.queries.createquery", - "parameterOrder": [], - "parameters": { - "asynchronous": { - "default": "false", - "description": "If true, tries to run the query asynchronously. Only applicable when the frequency is ONE_TIME.", - "location": "query", - "type": "boolean" - } - }, - "path": "query", - "request": { - "$ref": "Query" - }, - "response": { - "$ref": "Query" - }, - "scopes": [ - "https://www.googleapis.com/auth/doubleclickbidmanager" - ] - }, - "deletequery": { - "description": "Deletes a stored query as well as the associated stored reports.", - "flatPath": "query/{queryId}", - "httpMethod": "DELETE", - "id": "doubleclickbidmanager.queries.deletequery", - "parameterOrder": [ - "queryId" - ], - "parameters": { - "queryId": { - "description": "Query ID to delete.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "query/{queryId}", - "scopes": [ - "https://www.googleapis.com/auth/doubleclickbidmanager" - ] - }, - "getquery": { - "description": "Retrieves a stored query.", - "flatPath": "query/{queryId}", - "httpMethod": "GET", - "id": "doubleclickbidmanager.queries.getquery", - "parameterOrder": [ - "queryId" - ], - "parameters": { - "queryId": { - "description": "Query ID to retrieve.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "query/{queryId}", - "response": { - "$ref": "Query" - }, - "scopes": [ - "https://www.googleapis.com/auth/doubleclickbidmanager" - ] - }, - "listqueries": { - "description": "Retrieves stored queries.", - "flatPath": "queries", - "httpMethod": "GET", - "id": "doubleclickbidmanager.queries.listqueries", - "parameterOrder": [], - "parameters": { - "pageSize": { - "description": "Maximum number of results per page. Must be between 1 and 100. Defaults to 100 if unspecified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional pagination token.", - "location": "query", - "type": "string" - } - }, - "path": "queries", - "response": { - "$ref": "ListQueriesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/doubleclickbidmanager" - ] - }, - "runquery": { - "description": "Runs a stored query to generate a report.", - "flatPath": "query/{queryId}", - "httpMethod": "POST", - "id": "doubleclickbidmanager.queries.runquery", - "parameterOrder": [ - "queryId" - ], - "parameters": { - "asynchronous": { - "default": "false", - "description": "If true, tries to run the query asynchronously.", - "location": "query", - "type": "boolean" - }, - "queryId": { - "description": "Query ID to run.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "query/{queryId}", - "request": { - "$ref": "RunQueryRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/doubleclickbidmanager" - ] - } - } - }, - "reports": { - "methods": { - "listreports": { - "description": "Retrieves stored reports.", - "flatPath": "queries/{queryId}/reports", - "httpMethod": "GET", - "id": "doubleclickbidmanager.reports.listreports", - "parameterOrder": [ - "queryId" - ], - "parameters": { - "pageSize": { - "description": "Maximum number of results per page. Must be between 1 and 100. Defaults to 100 if unspecified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional pagination token.", - "location": "query", - "type": "string" - }, - "queryId": { - "description": "Query ID with which the reports are associated.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "queries/{queryId}/reports", - "response": { - "$ref": "ListReportsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/doubleclickbidmanager" - ] - } - } - } - }, - "revision": "20220622", - "rootUrl": "https://doubleclickbidmanager.googleapis.com/", - "schemas": { - "ChannelGrouping": { - "description": "A channel grouping defines a set of rules that can be used to categorize events in a path report.", - "id": "ChannelGrouping", - "properties": { - "fallbackName": { - "description": "The name to apply to an event that does not match any of the rules in the channel grouping.", - "type": "string" - }, - "name": { - "description": "Channel Grouping name.", - "type": "string" - }, - "rules": { - "description": "Rules within Channel Grouping. There is a limit of 100 rules that can be set per channel grouping.", - "items": { - "$ref": "Rule" - }, - "type": "array" - } - }, - "type": "object" - }, - "DisjunctiveMatchStatement": { - "description": "DisjunctiveMatchStatement that OR's all contained filters.", - "id": "DisjunctiveMatchStatement", - "properties": { - "eventFilters": { - "description": "Filters. There is a limit of 100 filters that can be set per disjunctive match statement.", - "items": { - "$ref": "EventFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "EventFilter": { - "description": "Defines the type of filter to be applied to the path, a DV360 event dimension filter.", - "id": "EventFilter", - "properties": { - "dimensionFilter": { - "$ref": "PathQueryOptionsFilter", - "description": "Filter on a dimension." - } - }, - "type": "object" - }, - "FilterPair": { - "description": "Filter used to match traffic data in your report.", - "id": "FilterPair", - "properties": { - "type": { - "description": "Filter type.", - "enum": [ - "FILTER_UNKNOWN", - "FILTER_DATE", - "FILTER_DAY_OF_WEEK", - "FILTER_WEEK", - "FILTER_MONTH", - "FILTER_YEAR", - "FILTER_TIME_OF_DAY", - "FILTER_CONVERSION_DELAY", - "FILTER_CREATIVE_ID", - "FILTER_CREATIVE_SIZE", - "FILTER_CREATIVE_TYPE", - "FILTER_EXCHANGE_ID", - "FILTER_AD_POSITION", - "FILTER_PUBLIC_INVENTORY", - "FILTER_INVENTORY_SOURCE", - "FILTER_CITY", - "FILTER_REGION", - "FILTER_DMA", - "FILTER_COUNTRY", - "FILTER_SITE_ID", - "FILTER_CHANNEL_ID", - "FILTER_PARTNER", - "FILTER_ADVERTISER", - "FILTER_INSERTION_ORDER", - "FILTER_LINE_ITEM", - "FILTER_PARTNER_CURRENCY", - "FILTER_ADVERTISER_CURRENCY", - "FILTER_ADVERTISER_TIMEZONE", - "FILTER_LINE_ITEM_TYPE", - "FILTER_USER_LIST", - "FILTER_USER_LIST_FIRST_PARTY", - "FILTER_USER_LIST_THIRD_PARTY", - "FILTER_TARGETED_USER_LIST", - "FILTER_DATA_PROVIDER", - "FILTER_ORDER_ID", - "FILTER_VIDEO_PLAYER_SIZE", - "FILTER_VIDEO_DURATION_SECONDS", - "FILTER_KEYWORD", - "FILTER_PAGE_CATEGORY", - "FILTER_CAMPAIGN_DAILY_FREQUENCY", - "FILTER_LINE_ITEM_DAILY_FREQUENCY", - "FILTER_LINE_ITEM_LIFETIME_FREQUENCY", - "FILTER_OS", - "FILTER_BROWSER", - "FILTER_CARRIER", - "FILTER_SITE_LANGUAGE", - "FILTER_INVENTORY_FORMAT", - "FILTER_ZIP_CODE", - "FILTER_VIDEO_RATING_TIER", - "FILTER_VIDEO_FORMAT_SUPPORT", - "FILTER_VIDEO_SKIPPABLE_SUPPORT", - "FILTER_VIDEO_CREATIVE_DURATION", - "FILTER_PAGE_LAYOUT", - "FILTER_VIDEO_AD_POSITION_IN_STREAM", - "FILTER_AGE", - "FILTER_GENDER", - "FILTER_QUARTER", - "FILTER_TRUEVIEW_CONVERSION_TYPE", - "FILTER_MOBILE_GEO", - "FILTER_MRAID_SUPPORT", - "FILTER_ACTIVE_VIEW_EXPECTED_VIEWABILITY", - "FILTER_VIDEO_CREATIVE_DURATION_SKIPPABLE", - "FILTER_NIELSEN_COUNTRY_CODE", - "FILTER_NIELSEN_DEVICE_ID", - "FILTER_NIELSEN_GENDER", - "FILTER_NIELSEN_AGE", - "FILTER_INVENTORY_SOURCE_TYPE", - "FILTER_CREATIVE_WIDTH", - "FILTER_CREATIVE_HEIGHT", - "FILTER_DFP_ORDER_ID", - "FILTER_TRUEVIEW_AGE", - "FILTER_TRUEVIEW_GENDER", - "FILTER_TRUEVIEW_PARENTAL_STATUS", - "FILTER_TRUEVIEW_REMARKETING_LIST", - "FILTER_TRUEVIEW_INTEREST", - "FILTER_TRUEVIEW_AD_GROUP_ID", - "FILTER_TRUEVIEW_AD_GROUP_AD_ID", - "FILTER_TRUEVIEW_IAR_LANGUAGE", - "FILTER_TRUEVIEW_IAR_GENDER", - "FILTER_TRUEVIEW_IAR_AGE", - "FILTER_TRUEVIEW_IAR_CATEGORY", - "FILTER_TRUEVIEW_IAR_COUNTRY", - "FILTER_TRUEVIEW_IAR_CITY", - "FILTER_TRUEVIEW_IAR_REGION", - "FILTER_TRUEVIEW_IAR_ZIPCODE", - "FILTER_TRUEVIEW_IAR_REMARKETING_LIST", - "FILTER_TRUEVIEW_IAR_INTEREST", - "FILTER_TRUEVIEW_IAR_PARENTAL_STATUS", - "FILTER_TRUEVIEW_IAR_TIME_OF_DAY", - "FILTER_TRUEVIEW_CUSTOM_AFFINITY", - "FILTER_TRUEVIEW_CATEGORY", - "FILTER_TRUEVIEW_KEYWORD", - "FILTER_TRUEVIEW_PLACEMENT", - "FILTER_TRUEVIEW_URL", - "FILTER_TRUEVIEW_COUNTRY", - "FILTER_TRUEVIEW_REGION", - "FILTER_TRUEVIEW_CITY", - "FILTER_TRUEVIEW_DMA", - "FILTER_TRUEVIEW_ZIPCODE", - "FILTER_NOT_SUPPORTED", - "FILTER_MEDIA_PLAN", - "FILTER_TRUEVIEW_IAR_YOUTUBE_CHANNEL", - "FILTER_TRUEVIEW_IAR_YOUTUBE_VIDEO", - "FILTER_SKIPPABLE_SUPPORT", - "FILTER_COMPANION_CREATIVE_ID", - "FILTER_BUDGET_SEGMENT_DESCRIPTION", - "FILTER_FLOODLIGHT_ACTIVITY_ID", - "FILTER_DEVICE_MODEL", - "FILTER_DEVICE_MAKE", - "FILTER_DEVICE_TYPE", - "FILTER_CREATIVE_ATTRIBUTE", - "FILTER_INVENTORY_COMMITMENT_TYPE", - "FILTER_INVENTORY_RATE_TYPE", - "FILTER_INVENTORY_DELIVERY_METHOD", - "FILTER_INVENTORY_SOURCE_EXTERNAL_ID", - "FILTER_AUTHORIZED_SELLER_STATE", - "FILTER_VIDEO_DURATION_SECONDS_RANGE", - "FILTER_PARTNER_NAME", - "FILTER_PARTNER_STATUS", - "FILTER_ADVERTISER_NAME", - "FILTER_ADVERTISER_INTEGRATION_CODE", - "FILTER_ADVERTISER_INTEGRATION_STATUS", - "FILTER_CARRIER_NAME", - "FILTER_CHANNEL_NAME", - "FILTER_CITY_NAME", - "FILTER_COMPANION_CREATIVE_NAME", - "FILTER_USER_LIST_FIRST_PARTY_NAME", - "FILTER_USER_LIST_THIRD_PARTY_NAME", - "FILTER_NIELSEN_RESTATEMENT_DATE", - "FILTER_NIELSEN_DATE_RANGE", - "FILTER_INSERTION_ORDER_NAME", - "FILTER_REGION_NAME", - "FILTER_DMA_NAME", - "FILTER_TRUEVIEW_IAR_REGION_NAME", - "FILTER_TRUEVIEW_DMA_NAME", - "FILTER_TRUEVIEW_REGION_NAME", - "FILTER_ACTIVE_VIEW_CUSTOM_METRIC_ID", - "FILTER_ACTIVE_VIEW_CUSTOM_METRIC_NAME", - "FILTER_AD_TYPE", - "FILTER_ALGORITHM", - "FILTER_ALGORITHM_ID", - "FILTER_AMP_PAGE_REQUEST", - "FILTER_ANONYMOUS_INVENTORY_MODELING", - "FILTER_APP_URL", - "FILTER_APP_URL_EXCLUDED", - "FILTER_ATTRIBUTED_USERLIST", - "FILTER_ATTRIBUTED_USERLIST_COST", - "FILTER_ATTRIBUTED_USERLIST_TYPE", - "FILTER_ATTRIBUTION_MODEL", - "FILTER_AUDIENCE_LIST", - "FILTER_AUDIENCE_LIST_COST", - "FILTER_AUDIENCE_LIST_TYPE", - "FILTER_AUDIENCE_NAME", - "FILTER_AUDIENCE_TYPE", - "FILTER_BILLABLE_OUTCOME", - "FILTER_BRAND_LIFT_TYPE", - "FILTER_CHANNEL_TYPE", - "FILTER_CM_PLACEMENT_ID", - "FILTER_CONVERSION_SOURCE", - "FILTER_CONVERSION_SOURCE_ID", - "FILTER_COUNTRY_ID", - "FILTER_CREATIVE", - "FILTER_CREATIVE_ASSET", - "FILTER_CREATIVE_INTEGRATION_CODE", - "FILTER_CREATIVE_RENDERED_IN_AMP", - "FILTER_CREATIVE_SOURCE", - "FILTER_CREATIVE_STATUS", - "FILTER_DATA_PROVIDER_NAME", - "FILTER_DETAILED_DEMOGRAPHICS", - "FILTER_DETAILED_DEMOGRAPHICS_ID", - "FILTER_DEVICE", - "FILTER_GAM_INSERTION_ORDER", - "FILTER_GAM_LINE_ITEM", - "FILTER_GAM_LINE_ITEM_ID", - "FILTER_DIGITAL_CONTENT_LABEL", - "FILTER_DOMAIN", - "FILTER_ELIGIBLE_COOKIES_ON_FIRST_PARTY_AUDIENCE_LIST", - "FILTER_ELIGIBLE_COOKIES_ON_THIRD_PARTY_AUDIENCE_LIST_AND_INTEREST", - "FILTER_EXCHANGE", - "FILTER_EXCHANGE_CODE", - "FILTER_EXTENSION", - "FILTER_EXTENSION_STATUS", - "FILTER_EXTENSION_TYPE", - "FILTER_FIRST_PARTY_AUDIENCE_LIST_COST", - "FILTER_FIRST_PARTY_AUDIENCE_LIST_TYPE", - "FILTER_FLOODLIGHT_ACTIVITY", - "FILTER_FORMAT", - "FILTER_GMAIL_AGE", - "FILTER_GMAIL_CITY", - "FILTER_GMAIL_COUNTRY", - "FILTER_GMAIL_COUNTRY_NAME", - "FILTER_GMAIL_DEVICE_TYPE", - "FILTER_GMAIL_DEVICE_TYPE_NAME", - "FILTER_GMAIL_GENDER", - "FILTER_GMAIL_REGION", - "FILTER_GMAIL_REMARKETING_LIST", - "FILTER_HOUSEHOLD_INCOME", - "FILTER_IMPRESSION_COUNTING_METHOD", - "FILTER_YOUTUBE_PROGRAMMATIC_GUARANTEED_INSERTION_ORDER", - "FILTER_INSERTION_ORDER_INTEGRATION_CODE", - "FILTER_INSERTION_ORDER_STATUS", - "FILTER_INTEREST", - "FILTER_INVENTORY_SOURCE_GROUP", - "FILTER_INVENTORY_SOURCE_GROUP_ID", - "FILTER_INVENTORY_SOURCE_ID", - "FILTER_INVENTORY_SOURCE_NAME", - "FILTER_LIFE_EVENT", - "FILTER_LIFE_EVENTS", - "FILTER_LINE_ITEM_INTEGRATION_CODE", - "FILTER_LINE_ITEM_NAME", - "FILTER_LINE_ITEM_STATUS", - "FILTER_MATCH_RATIO", - "FILTER_MEASUREMENT_SOURCE", - "FILTER_MEDIA_PLAN_NAME", - "FILTER_PARENTAL_STATUS", - "FILTER_PLACEMENT_ALL_YOUTUBE_CHANNELS", - "FILTER_PLATFORM", - "FILTER_PLAYBACK_METHOD", - "FILTER_POSITION_IN_CONTENT", - "FILTER_PUBLISHER_PROPERTY", - "FILTER_PUBLISHER_PROPERTY_ID", - "FILTER_PUBLISHER_PROPERTY_SECTION", - "FILTER_PUBLISHER_PROPERTY_SECTION_ID", - "FILTER_REFUND_REASON", - "FILTER_REMARKETING_LIST", - "FILTER_REWARDED", - "FILTER_SENSITIVE_CATEGORY", - "FILTER_SERVED_PIXEL_DENSITY", - "FILTER_TARGETED_DATA_PROVIDERS", - "FILTER_THIRD_PARTY_AUDIENCE_LIST_COST", - "FILTER_THIRD_PARTY_AUDIENCE_LIST_TYPE", - "FILTER_TRUEVIEW_AD", - "FILTER_TRUEVIEW_AD_GROUP", - "FILTER_TRUEVIEW_DETAILED_DEMOGRAPHICS", - "FILTER_TRUEVIEW_DETAILED_DEMOGRAPHICS_ID", - "FILTER_TRUEVIEW_HOUSEHOLD_INCOME", - "FILTER_TRUEVIEW_IAR_COUNTRY_NAME", - "FILTER_TRUEVIEW_REMARKETING_LIST_NAME", - "FILTER_VARIANT_ID", - "FILTER_VARIANT_NAME", - "FILTER_VARIANT_VERSION", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE", - "FILTER_VERIFICATION_VIDEO_POSITION", - "FILTER_VIDEO_COMPANION_CREATIVE_SIZE", - "FILTER_VIDEO_CONTINUOUS_PLAY", - "FILTER_VIDEO_DURATION", - "FILTER_YOUTUBE_ADAPTED_AUDIENCE_LIST", - "FILTER_YOUTUBE_AD_VIDEO", - "FILTER_YOUTUBE_AD_VIDEO_ID", - "FILTER_YOUTUBE_CHANNEL", - "FILTER_YOUTUBE_PROGRAMMATIC_GUARANTEED_ADVERTISER", - "FILTER_YOUTUBE_PROGRAMMATIC_GUARANTEED_PARTNER", - "FILTER_YOUTUBE_VIDEO", - "FILTER_ZIP_POSTAL_CODE", - "FILTER_PLACEMENT_NAME_ALL_YOUTUBE_CHANNELS", - "FILTER_TRUEVIEW_PLACEMENT_ID", - "FILTER_PATH_PATTERN_ID", - "FILTER_PATH_EVENT_INDEX", - "FILTER_EVENT_TYPE", - "FILTER_CHANNEL_GROUPING", - "FILTER_OM_SDK_AVAILABLE", - "FILTER_DATA_SOURCE", - "FILTER_CM360_PLACEMENT_ID", - "FILTER_TRUEVIEW_CLICK_TYPE_NAME", - "FILTER_TRUEVIEW_AD_TYPE_NAME", - "FILTER_VIDEO_CONTENT_DURATION", - "FILTER_MATCHED_GENRE_TARGET", - "FILTER_VIDEO_CONTENT_LIVE_STREAM", - "FILTER_BUDGET_SEGMENT_TYPE", - "FILTER_BUDGET_SEGMENT_BUDGET", - "FILTER_BUDGET_SEGMENT_START_DATE", - "FILTER_BUDGET_SEGMENT_END_DATE", - "FILTER_BUDGET_SEGMENT_PACING_PERCENTAGE", - "FILTER_LINE_ITEM_BUDGET", - "FILTER_LINE_ITEM_START_DATE", - "FILTER_LINE_ITEM_END_DATE", - "FILTER_INSERTION_ORDER_GOAL_TYPE", - "FILTER_LINE_ITEM_PACING_PERCENTAGE", - "FILTER_INSERTION_ORDER_GOAL_VALUE", - "FILTER_OMID_CAPABLE", - "FILTER_VENDOR_MEASUREMENT_MODE", - "FILTER_IMPRESSION_LOSS_REJECTION_REASON", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_START", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_FIRST_QUARTILE", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_MID_POINT", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_THIRD_QUARTILE", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_COMPLETE", - "FILTER_VERIFICATION_VIDEO_RESIZED", - "FILTER_VERIFICATION_AUDIBILITY_START", - "FILTER_VERIFICATION_AUDIBILITY_COMPLETE", - "FILTER_MEDIA_TYPE", - "FILTER_AUDIO_FEED_TYPE_NAME", - "FILTER_TRUEVIEW_TARGETING_EXPANSION", - "FILTER_PUBLISHER_TRAFFIC_SOURCE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "value": { - "description": "Filter value.", - "type": "string" - } - }, - "type": "object" - }, - "ListQueriesResponse": { - "description": "List queries response.", - "id": "ListQueriesResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"doubleclickbidmanager#listQueriesResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Next page's pagination token if one exists.", - "type": "string" - }, - "queries": { - "description": "Retrieved queries.", - "items": { - "$ref": "Query" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListReportsResponse": { - "description": "List reports response.", - "id": "ListReportsResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"doubleclickbidmanager#listReportsResponse\".", - "type": "string" - }, - "nextPageToken": { - "description": "Next page's pagination token if one exists.", - "type": "string" - }, - "reports": { - "description": "Retrieved reports.", - "items": { - "$ref": "Report" - }, - "type": "array" - } - }, - "type": "object" - }, - "Options": { - "description": "Additional query options.", - "id": "Options", - "properties": { - "includeOnlyTargetedUserLists": { - "description": "Set to true and filter your report by `FILTER_INSERTION_ORDER` or `FILTER_LINE_ITEM` to include data for audience lists specifically targeted by those items.", - "type": "boolean" - }, - "pathQueryOptions": { - "$ref": "PathQueryOptions", - "description": "Options that contain Path Filters and Custom Channel Groupings." - } - }, - "type": "object" - }, - "Parameters": { - "description": "Parameters of a query or report.", - "id": "Parameters", - "properties": { - "filters": { - "description": "Filters used to match traffic data in your report.", - "items": { - "$ref": "FilterPair" - }, - "type": "array" - }, - "groupBys": { - "description": "Data is grouped by the filters listed in this field.", - "items": { - "enum": [ - "FILTER_UNKNOWN", - "FILTER_DATE", - "FILTER_DAY_OF_WEEK", - "FILTER_WEEK", - "FILTER_MONTH", - "FILTER_YEAR", - "FILTER_TIME_OF_DAY", - "FILTER_CONVERSION_DELAY", - "FILTER_CREATIVE_ID", - "FILTER_CREATIVE_SIZE", - "FILTER_CREATIVE_TYPE", - "FILTER_EXCHANGE_ID", - "FILTER_AD_POSITION", - "FILTER_PUBLIC_INVENTORY", - "FILTER_INVENTORY_SOURCE", - "FILTER_CITY", - "FILTER_REGION", - "FILTER_DMA", - "FILTER_COUNTRY", - "FILTER_SITE_ID", - "FILTER_CHANNEL_ID", - "FILTER_PARTNER", - "FILTER_ADVERTISER", - "FILTER_INSERTION_ORDER", - "FILTER_LINE_ITEM", - "FILTER_PARTNER_CURRENCY", - "FILTER_ADVERTISER_CURRENCY", - "FILTER_ADVERTISER_TIMEZONE", - "FILTER_LINE_ITEM_TYPE", - "FILTER_USER_LIST", - "FILTER_USER_LIST_FIRST_PARTY", - "FILTER_USER_LIST_THIRD_PARTY", - "FILTER_TARGETED_USER_LIST", - "FILTER_DATA_PROVIDER", - "FILTER_ORDER_ID", - "FILTER_VIDEO_PLAYER_SIZE", - "FILTER_VIDEO_DURATION_SECONDS", - "FILTER_KEYWORD", - "FILTER_PAGE_CATEGORY", - "FILTER_CAMPAIGN_DAILY_FREQUENCY", - "FILTER_LINE_ITEM_DAILY_FREQUENCY", - "FILTER_LINE_ITEM_LIFETIME_FREQUENCY", - "FILTER_OS", - "FILTER_BROWSER", - "FILTER_CARRIER", - "FILTER_SITE_LANGUAGE", - "FILTER_INVENTORY_FORMAT", - "FILTER_ZIP_CODE", - "FILTER_VIDEO_RATING_TIER", - "FILTER_VIDEO_FORMAT_SUPPORT", - "FILTER_VIDEO_SKIPPABLE_SUPPORT", - "FILTER_VIDEO_CREATIVE_DURATION", - "FILTER_PAGE_LAYOUT", - "FILTER_VIDEO_AD_POSITION_IN_STREAM", - "FILTER_AGE", - "FILTER_GENDER", - "FILTER_QUARTER", - "FILTER_TRUEVIEW_CONVERSION_TYPE", - "FILTER_MOBILE_GEO", - "FILTER_MRAID_SUPPORT", - "FILTER_ACTIVE_VIEW_EXPECTED_VIEWABILITY", - "FILTER_VIDEO_CREATIVE_DURATION_SKIPPABLE", - "FILTER_NIELSEN_COUNTRY_CODE", - "FILTER_NIELSEN_DEVICE_ID", - "FILTER_NIELSEN_GENDER", - "FILTER_NIELSEN_AGE", - "FILTER_INVENTORY_SOURCE_TYPE", - "FILTER_CREATIVE_WIDTH", - "FILTER_CREATIVE_HEIGHT", - "FILTER_DFP_ORDER_ID", - "FILTER_TRUEVIEW_AGE", - "FILTER_TRUEVIEW_GENDER", - "FILTER_TRUEVIEW_PARENTAL_STATUS", - "FILTER_TRUEVIEW_REMARKETING_LIST", - "FILTER_TRUEVIEW_INTEREST", - "FILTER_TRUEVIEW_AD_GROUP_ID", - "FILTER_TRUEVIEW_AD_GROUP_AD_ID", - "FILTER_TRUEVIEW_IAR_LANGUAGE", - "FILTER_TRUEVIEW_IAR_GENDER", - "FILTER_TRUEVIEW_IAR_AGE", - "FILTER_TRUEVIEW_IAR_CATEGORY", - "FILTER_TRUEVIEW_IAR_COUNTRY", - "FILTER_TRUEVIEW_IAR_CITY", - "FILTER_TRUEVIEW_IAR_REGION", - "FILTER_TRUEVIEW_IAR_ZIPCODE", - "FILTER_TRUEVIEW_IAR_REMARKETING_LIST", - "FILTER_TRUEVIEW_IAR_INTEREST", - "FILTER_TRUEVIEW_IAR_PARENTAL_STATUS", - "FILTER_TRUEVIEW_IAR_TIME_OF_DAY", - "FILTER_TRUEVIEW_CUSTOM_AFFINITY", - "FILTER_TRUEVIEW_CATEGORY", - "FILTER_TRUEVIEW_KEYWORD", - "FILTER_TRUEVIEW_PLACEMENT", - "FILTER_TRUEVIEW_URL", - "FILTER_TRUEVIEW_COUNTRY", - "FILTER_TRUEVIEW_REGION", - "FILTER_TRUEVIEW_CITY", - "FILTER_TRUEVIEW_DMA", - "FILTER_TRUEVIEW_ZIPCODE", - "FILTER_NOT_SUPPORTED", - "FILTER_MEDIA_PLAN", - "FILTER_TRUEVIEW_IAR_YOUTUBE_CHANNEL", - "FILTER_TRUEVIEW_IAR_YOUTUBE_VIDEO", - "FILTER_SKIPPABLE_SUPPORT", - "FILTER_COMPANION_CREATIVE_ID", - "FILTER_BUDGET_SEGMENT_DESCRIPTION", - "FILTER_FLOODLIGHT_ACTIVITY_ID", - "FILTER_DEVICE_MODEL", - "FILTER_DEVICE_MAKE", - "FILTER_DEVICE_TYPE", - "FILTER_CREATIVE_ATTRIBUTE", - "FILTER_INVENTORY_COMMITMENT_TYPE", - "FILTER_INVENTORY_RATE_TYPE", - "FILTER_INVENTORY_DELIVERY_METHOD", - "FILTER_INVENTORY_SOURCE_EXTERNAL_ID", - "FILTER_AUTHORIZED_SELLER_STATE", - "FILTER_VIDEO_DURATION_SECONDS_RANGE", - "FILTER_PARTNER_NAME", - "FILTER_PARTNER_STATUS", - "FILTER_ADVERTISER_NAME", - "FILTER_ADVERTISER_INTEGRATION_CODE", - "FILTER_ADVERTISER_INTEGRATION_STATUS", - "FILTER_CARRIER_NAME", - "FILTER_CHANNEL_NAME", - "FILTER_CITY_NAME", - "FILTER_COMPANION_CREATIVE_NAME", - "FILTER_USER_LIST_FIRST_PARTY_NAME", - "FILTER_USER_LIST_THIRD_PARTY_NAME", - "FILTER_NIELSEN_RESTATEMENT_DATE", - "FILTER_NIELSEN_DATE_RANGE", - "FILTER_INSERTION_ORDER_NAME", - "FILTER_REGION_NAME", - "FILTER_DMA_NAME", - "FILTER_TRUEVIEW_IAR_REGION_NAME", - "FILTER_TRUEVIEW_DMA_NAME", - "FILTER_TRUEVIEW_REGION_NAME", - "FILTER_ACTIVE_VIEW_CUSTOM_METRIC_ID", - "FILTER_ACTIVE_VIEW_CUSTOM_METRIC_NAME", - "FILTER_AD_TYPE", - "FILTER_ALGORITHM", - "FILTER_ALGORITHM_ID", - "FILTER_AMP_PAGE_REQUEST", - "FILTER_ANONYMOUS_INVENTORY_MODELING", - "FILTER_APP_URL", - "FILTER_APP_URL_EXCLUDED", - "FILTER_ATTRIBUTED_USERLIST", - "FILTER_ATTRIBUTED_USERLIST_COST", - "FILTER_ATTRIBUTED_USERLIST_TYPE", - "FILTER_ATTRIBUTION_MODEL", - "FILTER_AUDIENCE_LIST", - "FILTER_AUDIENCE_LIST_COST", - "FILTER_AUDIENCE_LIST_TYPE", - "FILTER_AUDIENCE_NAME", - "FILTER_AUDIENCE_TYPE", - "FILTER_BILLABLE_OUTCOME", - "FILTER_BRAND_LIFT_TYPE", - "FILTER_CHANNEL_TYPE", - "FILTER_CM_PLACEMENT_ID", - "FILTER_CONVERSION_SOURCE", - "FILTER_CONVERSION_SOURCE_ID", - "FILTER_COUNTRY_ID", - "FILTER_CREATIVE", - "FILTER_CREATIVE_ASSET", - "FILTER_CREATIVE_INTEGRATION_CODE", - "FILTER_CREATIVE_RENDERED_IN_AMP", - "FILTER_CREATIVE_SOURCE", - "FILTER_CREATIVE_STATUS", - "FILTER_DATA_PROVIDER_NAME", - "FILTER_DETAILED_DEMOGRAPHICS", - "FILTER_DETAILED_DEMOGRAPHICS_ID", - "FILTER_DEVICE", - "FILTER_GAM_INSERTION_ORDER", - "FILTER_GAM_LINE_ITEM", - "FILTER_GAM_LINE_ITEM_ID", - "FILTER_DIGITAL_CONTENT_LABEL", - "FILTER_DOMAIN", - "FILTER_ELIGIBLE_COOKIES_ON_FIRST_PARTY_AUDIENCE_LIST", - "FILTER_ELIGIBLE_COOKIES_ON_THIRD_PARTY_AUDIENCE_LIST_AND_INTEREST", - "FILTER_EXCHANGE", - "FILTER_EXCHANGE_CODE", - "FILTER_EXTENSION", - "FILTER_EXTENSION_STATUS", - "FILTER_EXTENSION_TYPE", - "FILTER_FIRST_PARTY_AUDIENCE_LIST_COST", - "FILTER_FIRST_PARTY_AUDIENCE_LIST_TYPE", - "FILTER_FLOODLIGHT_ACTIVITY", - "FILTER_FORMAT", - "FILTER_GMAIL_AGE", - "FILTER_GMAIL_CITY", - "FILTER_GMAIL_COUNTRY", - "FILTER_GMAIL_COUNTRY_NAME", - "FILTER_GMAIL_DEVICE_TYPE", - "FILTER_GMAIL_DEVICE_TYPE_NAME", - "FILTER_GMAIL_GENDER", - "FILTER_GMAIL_REGION", - "FILTER_GMAIL_REMARKETING_LIST", - "FILTER_HOUSEHOLD_INCOME", - "FILTER_IMPRESSION_COUNTING_METHOD", - "FILTER_YOUTUBE_PROGRAMMATIC_GUARANTEED_INSERTION_ORDER", - "FILTER_INSERTION_ORDER_INTEGRATION_CODE", - "FILTER_INSERTION_ORDER_STATUS", - "FILTER_INTEREST", - "FILTER_INVENTORY_SOURCE_GROUP", - "FILTER_INVENTORY_SOURCE_GROUP_ID", - "FILTER_INVENTORY_SOURCE_ID", - "FILTER_INVENTORY_SOURCE_NAME", - "FILTER_LIFE_EVENT", - "FILTER_LIFE_EVENTS", - "FILTER_LINE_ITEM_INTEGRATION_CODE", - "FILTER_LINE_ITEM_NAME", - "FILTER_LINE_ITEM_STATUS", - "FILTER_MATCH_RATIO", - "FILTER_MEASUREMENT_SOURCE", - "FILTER_MEDIA_PLAN_NAME", - "FILTER_PARENTAL_STATUS", - "FILTER_PLACEMENT_ALL_YOUTUBE_CHANNELS", - "FILTER_PLATFORM", - "FILTER_PLAYBACK_METHOD", - "FILTER_POSITION_IN_CONTENT", - "FILTER_PUBLISHER_PROPERTY", - "FILTER_PUBLISHER_PROPERTY_ID", - "FILTER_PUBLISHER_PROPERTY_SECTION", - "FILTER_PUBLISHER_PROPERTY_SECTION_ID", - "FILTER_REFUND_REASON", - "FILTER_REMARKETING_LIST", - "FILTER_REWARDED", - "FILTER_SENSITIVE_CATEGORY", - "FILTER_SERVED_PIXEL_DENSITY", - "FILTER_TARGETED_DATA_PROVIDERS", - "FILTER_THIRD_PARTY_AUDIENCE_LIST_COST", - "FILTER_THIRD_PARTY_AUDIENCE_LIST_TYPE", - "FILTER_TRUEVIEW_AD", - "FILTER_TRUEVIEW_AD_GROUP", - "FILTER_TRUEVIEW_DETAILED_DEMOGRAPHICS", - "FILTER_TRUEVIEW_DETAILED_DEMOGRAPHICS_ID", - "FILTER_TRUEVIEW_HOUSEHOLD_INCOME", - "FILTER_TRUEVIEW_IAR_COUNTRY_NAME", - "FILTER_TRUEVIEW_REMARKETING_LIST_NAME", - "FILTER_VARIANT_ID", - "FILTER_VARIANT_NAME", - "FILTER_VARIANT_VERSION", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE", - "FILTER_VERIFICATION_VIDEO_POSITION", - "FILTER_VIDEO_COMPANION_CREATIVE_SIZE", - "FILTER_VIDEO_CONTINUOUS_PLAY", - "FILTER_VIDEO_DURATION", - "FILTER_YOUTUBE_ADAPTED_AUDIENCE_LIST", - "FILTER_YOUTUBE_AD_VIDEO", - "FILTER_YOUTUBE_AD_VIDEO_ID", - "FILTER_YOUTUBE_CHANNEL", - "FILTER_YOUTUBE_PROGRAMMATIC_GUARANTEED_ADVERTISER", - "FILTER_YOUTUBE_PROGRAMMATIC_GUARANTEED_PARTNER", - "FILTER_YOUTUBE_VIDEO", - "FILTER_ZIP_POSTAL_CODE", - "FILTER_PLACEMENT_NAME_ALL_YOUTUBE_CHANNELS", - "FILTER_TRUEVIEW_PLACEMENT_ID", - "FILTER_PATH_PATTERN_ID", - "FILTER_PATH_EVENT_INDEX", - "FILTER_EVENT_TYPE", - "FILTER_CHANNEL_GROUPING", - "FILTER_OM_SDK_AVAILABLE", - "FILTER_DATA_SOURCE", - "FILTER_CM360_PLACEMENT_ID", - "FILTER_TRUEVIEW_CLICK_TYPE_NAME", - "FILTER_TRUEVIEW_AD_TYPE_NAME", - "FILTER_VIDEO_CONTENT_DURATION", - "FILTER_MATCHED_GENRE_TARGET", - "FILTER_VIDEO_CONTENT_LIVE_STREAM", - "FILTER_BUDGET_SEGMENT_TYPE", - "FILTER_BUDGET_SEGMENT_BUDGET", - "FILTER_BUDGET_SEGMENT_START_DATE", - "FILTER_BUDGET_SEGMENT_END_DATE", - "FILTER_BUDGET_SEGMENT_PACING_PERCENTAGE", - "FILTER_LINE_ITEM_BUDGET", - "FILTER_LINE_ITEM_START_DATE", - "FILTER_LINE_ITEM_END_DATE", - "FILTER_INSERTION_ORDER_GOAL_TYPE", - "FILTER_LINE_ITEM_PACING_PERCENTAGE", - "FILTER_INSERTION_ORDER_GOAL_VALUE", - "FILTER_OMID_CAPABLE", - "FILTER_VENDOR_MEASUREMENT_MODE", - "FILTER_IMPRESSION_LOSS_REJECTION_REASON", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_START", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_FIRST_QUARTILE", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_MID_POINT", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_THIRD_QUARTILE", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_COMPLETE", - "FILTER_VERIFICATION_VIDEO_RESIZED", - "FILTER_VERIFICATION_AUDIBILITY_START", - "FILTER_VERIFICATION_AUDIBILITY_COMPLETE", - "FILTER_MEDIA_TYPE", - "FILTER_AUDIO_FEED_TYPE_NAME", - "FILTER_TRUEVIEW_TARGETING_EXPANSION", - "FILTER_PUBLISHER_TRAFFIC_SOURCE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "includeInviteData": { - "description": "Deprecated. This field is no longer in use.", - "type": "boolean" - }, - "metrics": { - "description": "Metrics to include as columns in your report.", - "items": { - "enum": [ - "METRIC_UNKNOWN", - "METRIC_IMPRESSIONS", - "METRIC_CLICKS", - "METRIC_LAST_IMPRESSIONS", - "METRIC_LAST_CLICKS", - "METRIC_TOTAL_CONVERSIONS", - "METRIC_MEDIA_COST_ADVERTISER", - "METRIC_MEDIA_COST_USD", - "METRIC_MEDIA_COST_PARTNER", - "METRIC_DATA_COST_ADVERTISER", - "METRIC_DATA_COST_USD", - "METRIC_DATA_COST_PARTNER", - "METRIC_CPM_FEE1_ADVERTISER", - "METRIC_CPM_FEE1_USD", - "METRIC_CPM_FEE1_PARTNER", - "METRIC_CPM_FEE2_ADVERTISER", - "METRIC_CPM_FEE2_USD", - "METRIC_CPM_FEE2_PARTNER", - "METRIC_MEDIA_FEE1_ADVERTISER", - "METRIC_MEDIA_FEE1_USD", - "METRIC_MEDIA_FEE1_PARTNER", - "METRIC_MEDIA_FEE2_ADVERTISER", - "METRIC_MEDIA_FEE2_USD", - "METRIC_MEDIA_FEE2_PARTNER", - "METRIC_REVENUE_ADVERTISER", - "METRIC_REVENUE_USD", - "METRIC_REVENUE_PARTNER", - "METRIC_PROFIT_ADVERTISER", - "METRIC_PROFIT_USD", - "METRIC_PROFIT_PARTNER", - "METRIC_PROFIT_MARGIN", - "METRIC_TOTAL_MEDIA_COST_USD", - "METRIC_TOTAL_MEDIA_COST_PARTNER", - "METRIC_TOTAL_MEDIA_COST_ADVERTISER", - "METRIC_BILLABLE_COST_USD", - "METRIC_BILLABLE_COST_PARTNER", - "METRIC_BILLABLE_COST_ADVERTISER", - "METRIC_PLATFORM_FEE_USD", - "METRIC_PLATFORM_FEE_PARTNER", - "METRIC_PLATFORM_FEE_ADVERTISER", - "METRIC_VIDEO_COMPLETION_RATE", - "METRIC_PROFIT_ECPM_ADVERTISER", - "METRIC_PROFIT_ECPM_USD", - "METRIC_PROFIT_ECPM_PARTNER", - "METRIC_REVENUE_ECPM_ADVERTISER", - "METRIC_REVENUE_ECPM_USD", - "METRIC_REVENUE_ECPM_PARTNER", - "METRIC_REVENUE_ECPC_ADVERTISER", - "METRIC_REVENUE_ECPC_USD", - "METRIC_REVENUE_ECPC_PARTNER", - "METRIC_REVENUE_ECPA_ADVERTISER", - "METRIC_REVENUE_ECPA_USD", - "METRIC_REVENUE_ECPA_PARTNER", - "METRIC_REVENUE_ECPAPV_ADVERTISER", - "METRIC_REVENUE_ECPAPV_USD", - "METRIC_REVENUE_ECPAPV_PARTNER", - "METRIC_REVENUE_ECPAPC_ADVERTISER", - "METRIC_REVENUE_ECPAPC_USD", - "METRIC_REVENUE_ECPAPC_PARTNER", - "METRIC_MEDIA_COST_ECPM_ADVERTISER", - "METRIC_MEDIA_COST_ECPM_USD", - "METRIC_MEDIA_COST_ECPM_PARTNER", - "METRIC_MEDIA_COST_ECPC_ADVERTISER", - "METRIC_MEDIA_COST_ECPC_USD", - "METRIC_MEDIA_COST_ECPC_PARTNER", - "METRIC_MEDIA_COST_ECPA_ADVERTISER", - "METRIC_MEDIA_COST_ECPA_USD", - "METRIC_MEDIA_COST_ECPA_PARTNER", - "METRIC_MEDIA_COST_ECPAPV_ADVERTISER", - "METRIC_MEDIA_COST_ECPAPV_USD", - "METRIC_MEDIA_COST_ECPAPV_PARTNER", - "METRIC_MEDIA_COST_ECPAPC_ADVERTISER", - "METRIC_MEDIA_COST_ECPAPC_USD", - "METRIC_MEDIA_COST_ECPAPC_PARTNER", - "METRIC_TOTAL_MEDIA_COST_ECPM_ADVERTISER", - "METRIC_TOTAL_MEDIA_COST_ECPM_USD", - "METRIC_TOTAL_MEDIA_COST_ECPM_PARTNER", - "METRIC_TOTAL_MEDIA_COST_ECPC_ADVERTISER", - "METRIC_TOTAL_MEDIA_COST_ECPC_USD", - "METRIC_TOTAL_MEDIA_COST_ECPC_PARTNER", - "METRIC_TOTAL_MEDIA_COST_ECPA_ADVERTISER", - "METRIC_TOTAL_MEDIA_COST_ECPA_USD", - "METRIC_TOTAL_MEDIA_COST_ECPA_PARTNER", - "METRIC_TOTAL_MEDIA_COST_ECPAPV_ADVERTISER", - "METRIC_TOTAL_MEDIA_COST_ECPAPV_USD", - "METRIC_TOTAL_MEDIA_COST_ECPAPV_PARTNER", - "METRIC_TOTAL_MEDIA_COST_ECPAPC_ADVERTISER", - "METRIC_TOTAL_MEDIA_COST_ECPAPC_USD", - "METRIC_TOTAL_MEDIA_COST_ECPAPC_PARTNER", - "METRIC_RICH_MEDIA_VIDEO_PLAYS", - "METRIC_RICH_MEDIA_VIDEO_COMPLETIONS", - "METRIC_RICH_MEDIA_VIDEO_PAUSES", - "METRIC_RICH_MEDIA_VIDEO_MUTES", - "METRIC_RICH_MEDIA_VIDEO_MIDPOINTS", - "METRIC_RICH_MEDIA_VIDEO_FULL_SCREENS", - "METRIC_RICH_MEDIA_VIDEO_FIRST_QUARTILE_COMPLETES", - "METRIC_RICH_MEDIA_VIDEO_THIRD_QUARTILE_COMPLETES", - "METRIC_CLICK_TO_POST_CLICK_CONVERSION_RATE", - "METRIC_IMPRESSIONS_TO_CONVERSION_RATE", - "METRIC_CONVERSIONS_PER_MILLE", - "METRIC_CTR", - "METRIC_BID_REQUESTS", - "METRIC_UNIQUE_VISITORS_COOKIES", - "METRIC_REVENUE_ECPCV_ADVERTISER", - "METRIC_REVENUE_ECPCV_USD", - "METRIC_REVENUE_ECPCV_PARTNER", - "METRIC_MEDIA_COST_ECPCV_ADVERTISER", - "METRIC_MEDIA_COST_ECPCV_USD", - "METRIC_MEDIA_COST_ECPCV_PARTNER", - "METRIC_TOTAL_MEDIA_COST_ECPCV_ADVERTISER", - "METRIC_TOTAL_MEDIA_COST_ECPCV_USD", - "METRIC_TOTAL_MEDIA_COST_ECPCV_PARTNER", - "METRIC_RICH_MEDIA_VIDEO_SKIPS", - "METRIC_FEE2_ADVERTISER", - "METRIC_FEE2_USD", - "METRIC_FEE2_PARTNER", - "METRIC_FEE3_ADVERTISER", - "METRIC_FEE3_USD", - "METRIC_FEE3_PARTNER", - "METRIC_FEE4_ADVERTISER", - "METRIC_FEE4_USD", - "METRIC_FEE4_PARTNER", - "METRIC_FEE5_ADVERTISER", - "METRIC_FEE5_USD", - "METRIC_FEE5_PARTNER", - "METRIC_FEE6_ADVERTISER", - "METRIC_FEE6_USD", - "METRIC_FEE6_PARTNER", - "METRIC_FEE7_ADVERTISER", - "METRIC_FEE7_USD", - "METRIC_FEE7_PARTNER", - "METRIC_FEE8_ADVERTISER", - "METRIC_FEE8_USD", - "METRIC_FEE8_PARTNER", - "METRIC_FEE9_ADVERTISER", - "METRIC_FEE9_USD", - "METRIC_FEE9_PARTNER", - "METRIC_FEE10_ADVERTISER", - "METRIC_FEE10_USD", - "METRIC_FEE10_PARTNER", - "METRIC_FEE11_ADVERTISER", - "METRIC_FEE11_USD", - "METRIC_FEE11_PARTNER", - "METRIC_FEE12_ADVERTISER", - "METRIC_FEE12_USD", - "METRIC_FEE12_PARTNER", - "METRIC_FEE13_ADVERTISER", - "METRIC_FEE13_USD", - "METRIC_FEE13_PARTNER", - "METRIC_FEE14_ADVERTISER", - "METRIC_FEE14_USD", - "METRIC_FEE14_PARTNER", - "METRIC_FEE15_ADVERTISER", - "METRIC_FEE15_USD", - "METRIC_FEE15_PARTNER", - "METRIC_CPM_FEE3_ADVERTISER", - "METRIC_CPM_FEE3_USD", - "METRIC_CPM_FEE3_PARTNER", - "METRIC_CPM_FEE4_ADVERTISER", - "METRIC_CPM_FEE4_USD", - "METRIC_CPM_FEE4_PARTNER", - "METRIC_CPM_FEE5_ADVERTISER", - "METRIC_CPM_FEE5_USD", - "METRIC_CPM_FEE5_PARTNER", - "METRIC_MEDIA_FEE3_ADVERTISER", - "METRIC_MEDIA_FEE3_USD", - "METRIC_MEDIA_FEE3_PARTNER", - "METRIC_MEDIA_FEE4_ADVERTISER", - "METRIC_MEDIA_FEE4_USD", - "METRIC_MEDIA_FEE4_PARTNER", - "METRIC_MEDIA_FEE5_ADVERTISER", - "METRIC_MEDIA_FEE5_USD", - "METRIC_MEDIA_FEE5_PARTNER", - "METRIC_VIDEO_COMPANION_IMPRESSIONS", - "METRIC_VIDEO_COMPANION_CLICKS", - "METRIC_FEE16_ADVERTISER", - "METRIC_FEE16_USD", - "METRIC_FEE16_PARTNER", - "METRIC_FEE17_ADVERTISER", - "METRIC_FEE17_USD", - "METRIC_FEE17_PARTNER", - "METRIC_FEE18_ADVERTISER", - "METRIC_FEE18_USD", - "METRIC_FEE18_PARTNER", - "METRIC_TRUEVIEW_VIEWS", - "METRIC_TRUEVIEW_UNIQUE_VIEWERS", - "METRIC_TRUEVIEW_EARNED_VIEWS", - "METRIC_TRUEVIEW_EARNED_SUBSCRIBERS", - "METRIC_TRUEVIEW_EARNED_PLAYLIST_ADDITIONS", - "METRIC_TRUEVIEW_EARNED_LIKES", - "METRIC_TRUEVIEW_EARNED_SHARES", - "METRIC_TRUEVIEW_IMPRESSION_SHARE", - "METRIC_TRUEVIEW_LOST_IS_BUDGET", - "METRIC_TRUEVIEW_LOST_IS_RANK", - "METRIC_TRUEVIEW_VIEW_THROUGH_CONVERSION", - "METRIC_TRUEVIEW_CONVERSION_MANY_PER_VIEW", - "METRIC_TRUEVIEW_VIEW_RATE", - "METRIC_TRUEVIEW_CONVERSION_RATE_ONE_PER_VIEW", - "METRIC_TRUEVIEW_CPV_ADVERTISER", - "METRIC_TRUEVIEW_CPV_USD", - "METRIC_TRUEVIEW_CPV_PARTNER", - "METRIC_FEE19_ADVERTISER", - "METRIC_FEE19_USD", - "METRIC_FEE19_PARTNER", - "METRIC_TEA_TRUEVIEW_IMPRESSIONS", - "METRIC_TEA_TRUEVIEW_UNIQUE_COOKIES", - "METRIC_FEE20_ADVERTISER", - "METRIC_FEE20_USD", - "METRIC_FEE20_PARTNER", - "METRIC_FEE21_ADVERTISER", - "METRIC_FEE21_USD", - "METRIC_FEE21_PARTNER", - "METRIC_FEE22_ADVERTISER", - "METRIC_FEE22_USD", - "METRIC_FEE22_PARTNER", - "METRIC_TRUEVIEW_TOTAL_CONVERSION_VALUES_ADVERTISER", - "METRIC_TRUEVIEW_TOTAL_CONVERSION_VALUES_USD", - "METRIC_TRUEVIEW_TOTAL_CONVERSION_VALUES_PARTNER", - "METRIC_TRUEVIEW_CONVERSION_COST_MANY_PER_VIEW_ADVERTISER", - "METRIC_TRUEVIEW_CONVERSION_COST_MANY_PER_VIEW_USD", - "METRIC_TRUEVIEW_CONVERSION_COST_MANY_PER_VIEW_PARTNER", - "METRIC_PROFIT_VIEWABLE_ECPM_ADVERTISER", - "METRIC_PROFIT_VIEWABLE_ECPM_USD", - "METRIC_PROFIT_VIEWABLE_ECPM_PARTNER", - "METRIC_REVENUE_VIEWABLE_ECPM_ADVERTISER", - "METRIC_REVENUE_VIEWABLE_ECPM_USD", - "METRIC_REVENUE_VIEWABLE_ECPM_PARTNER", - "METRIC_MEDIA_COST_VIEWABLE_ECPM_ADVERTISER", - "METRIC_MEDIA_COST_VIEWABLE_ECPM_USD", - "METRIC_MEDIA_COST_VIEWABLE_ECPM_PARTNER", - "METRIC_TOTAL_MEDIA_COST_VIEWABLE_ECPM_ADVERTISER", - "METRIC_TOTAL_MEDIA_COST_VIEWABLE_ECPM_USD", - "METRIC_TOTAL_MEDIA_COST_VIEWABLE_ECPM_PARTNER", - "METRIC_TRUEVIEW_ENGAGEMENTS", - "METRIC_TRUEVIEW_ENGAGEMENT_RATE", - "METRIC_TRUEVIEW_AVERAGE_CPE_ADVERTISER", - "METRIC_TRUEVIEW_AVERAGE_CPE_USD", - "METRIC_TRUEVIEW_AVERAGE_CPE_PARTNER", - "METRIC_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_PCT_MEASURABLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_PCT_VIEWABLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME", - "METRIC_ACTIVE_VIEW_UNMEASURABLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_UNVIEWABLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_DISTRIBUTION_UNMEASURABLE", - "METRIC_ACTIVE_VIEW_DISTRIBUTION_UNVIEWABLE", - "METRIC_ACTIVE_VIEW_DISTRIBUTION_VIEWABLE", - "METRIC_ACTIVE_VIEW_PERCENT_VIEWABLE_FOR_TIME_THRESHOLD", - "METRIC_ACTIVE_VIEW_VIEWABLE_FOR_TIME_THRESHOLD", - "METRIC_ACTIVE_VIEW_PERCENT_VISIBLE_AT_START", - "METRIC_ACTIVE_VIEW_PERCENT_VISIBLE_FIRST_QUAR", - "METRIC_ACTIVE_VIEW_PERCENT_VISIBLE_SECOND_QUAR", - "METRIC_ACTIVE_VIEW_PERCENT_VISIBLE_THIRD_QUAR", - "METRIC_ACTIVE_VIEW_PERCENT_VISIBLE_ON_COMPLETE", - "METRIC_ACTIVE_VIEW_PERCENT_AUDIBLE_VISIBLE_AT_START", - "METRIC_ACTIVE_VIEW_PERCENT_AUDIBLE_VISIBLE_FIRST_QUAR", - "METRIC_ACTIVE_VIEW_PERCENT_AUDIBLE_VISIBLE_SECOND_QUAR", - "METRIC_ACTIVE_VIEW_PERCENT_AUDIBLE_VISIBLE_THIRD_QUAR", - "METRIC_ACTIVE_VIEW_PERCENT_AUDIBLE_VISIBLE_ON_COMPLETE", - "METRIC_ACTIVE_VIEW_AUDIBLE_VISIBLE_ON_COMPLETE_IMPRESSIONS", - "METRIC_VIEWABLE_BID_REQUESTS", - "METRIC_COOKIE_REACH_IMPRESSION_REACH", - "METRIC_COOKIE_REACH_AVERAGE_IMPRESSION_FREQUENCY", - "METRIC_DBM_ENGAGEMENT_RATE", - "METRIC_RICH_MEDIA_SCROLLS", - "METRIC_CM_POST_VIEW_REVENUE", - "METRIC_CM_POST_CLICK_REVENUE", - "METRIC_FLOODLIGHT_IMPRESSIONS", - "METRIC_BILLABLE_IMPRESSIONS", - "METRIC_NIELSEN_AVERAGE_FREQUENCY", - "METRIC_NIELSEN_IMPRESSIONS", - "METRIC_NIELSEN_UNIQUE_AUDIENCE", - "METRIC_NIELSEN_GRP", - "METRIC_NIELSEN_IMPRESSION_INDEX", - "METRIC_NIELSEN_IMPRESSIONS_SHARE", - "METRIC_NIELSEN_POPULATION", - "METRIC_NIELSEN_POPULATION_REACH", - "METRIC_NIELSEN_POPULATION_SHARE", - "METRIC_NIELSEN_REACH_INDEX", - "METRIC_NIELSEN_REACH_SHARE", - "METRIC_ACTIVE_VIEW_AUDIBLE_FULLY_ON_SCREEN_HALF_OF_DURATION_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_AUDIBLE_FULLY_ON_SCREEN_HALF_OF_DURATION_MEASURABLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_AUDIBLE_FULLY_ON_SCREEN_HALF_OF_DURATION_RATE", - "METRIC_ACTIVE_VIEW_AUDIBLE_FULLY_ON_SCREEN_HALF_OF_DURATION_TRUEVIEW_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_AUDIBLE_FULLY_ON_SCREEN_HALF_OF_DURATION_TRUEVIEW_MEASURABLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_AUDIBLE_FULLY_ON_SCREEN_HALF_OF_DURATION_TRUEVIEW_RATE", - "METRIC_ACTIVE_VIEW_CUSTOM_METRIC_MEASURABLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_CUSTOM_METRIC_VIEWABLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_CUSTOM_METRIC_VIEWABLE_RATE", - "METRIC_ACTIVE_VIEW_PERCENT_AUDIBLE_IMPRESSIONS", - "METRIC_ACTIVE_VIEW_PERCENT_FULLY_ON_SCREEN_2_SEC", - "METRIC_ACTIVE_VIEW_PERCENT_FULL_SCREEN", - "METRIC_ACTIVE_VIEW_PERCENT_IN_BACKGROUND", - "METRIC_ACTIVE_VIEW_PERCENT_OF_AD_PLAYED", - "METRIC_ACTIVE_VIEW_PERCENT_OF_COMPLETED_IMPRESSIONS_AUDIBLE_AND_VISIBLE", - "METRIC_ACTIVE_VIEW_PERCENT_OF_COMPLETED_IMPRESSIONS_VISIBLE", - "METRIC_ACTIVE_VIEW_PERCENT_OF_FIRST_QUARTILE_IMPRESSIONS_AUDIBLE_AND_VISIBLE", - "METRIC_ACTIVE_VIEW_PERCENT_OF_FIRST_QUARTILE_IMPRESSIONS_VISIBLE", - "METRIC_ACTIVE_VIEW_PERCENT_OF_MIDPOINT_IMPRESSIONS_AUDIBLE_AND_VISIBLE", - "METRIC_ACTIVE_VIEW_PERCENT_OF_MIDPOINT_IMPRESSIONS_VISIBLE", - "METRIC_ACTIVE_VIEW_PERCENT_OF_THIRD_QUARTILE_IMPRESSIONS_AUDIBLE_AND_VISIBLE", - "METRIC_ACTIVE_VIEW_PERCENT_OF_THIRD_QUARTILE_IMPRESSIONS_VISIBLE", - "METRIC_ACTIVE_VIEW_PERCENT_PLAY_TIME_AUDIBLE", - "METRIC_ACTIVE_VIEW_PERCENT_PLAY_TIME_AUDIBLE_AND_VISIBLE", - "METRIC_ACTIVE_VIEW_PERCENT_PLAY_TIME_VISIBLE", - "METRIC_ADAPTED_AUDIENCE_FREQUENCY", - "METRIC_ADLINGO_FEE_ADVERTISER_CURRENCY", - "METRIC_AUDIO_CLIENT_COST_ECPCL_ADVERTISER_CURRENCY", - "METRIC_AUDIO_MEDIA_COST_ECPCL_ADVERTISER_CURRENCY", - "METRIC_AUDIO_MUTES_AUDIO", - "METRIC_AUDIO_REVENUE_ECPCL_ADVERTISER_CURRENCY", - "METRIC_AUDIO_UNMUTES_AUDIO", - "METRIC_AUDIO_UNMUTES_VIDEO", - "METRIC_AVERAGE_DISPLAY_TIME", - "METRIC_AVERAGE_IMPRESSION_FREQUENCY_PER_USER", - "METRIC_AVERAGE_INTERACTION_TIME", - "METRIC_AVERAGE_WATCH_TIME_PER_IMPRESSION", - "METRIC_BEGIN_TO_RENDER_ELIGIBLE_IMPRESSIONS", - "METRIC_BEGIN_TO_RENDER_IMPRESSIONS", - "METRIC_BENCHMARK_FREQUENCY", - "METRIC_BRAND_LIFT_ABSOLUTE_BRAND_LIFT", - "METRIC_BRAND_LIFT_ALL_SURVEY_RESPONSES", - "METRIC_BRAND_LIFT_BASELINE_POSITIVE_RESPONSE_RATE", - "METRIC_BRAND_LIFT_BASELINE_SURVEY_RESPONSES", - "METRIC_BRAND_LIFT_COST_PER_LIFTED_USER", - "METRIC_BRAND_LIFT_EXPOSED_SURVEY_RESPONSES", - "METRIC_BRAND_LIFT_HEADROOM_BRAND_LIFT", - "METRIC_BRAND_LIFT_RELATIVE_BRAND_LIFT", - "METRIC_BRAND_LIFT_USERS", - "METRIC_CARD_CLICKS", - "METRIC_CLIENT_COST_ADVERTISER_CURRENCY", - "METRIC_CLIENT_COST_ECPA_ADVERTISER_CURRENCY", - "METRIC_CLIENT_COST_ECPA_PC_ADVERTISER_CURRENCY", - "METRIC_CLIENT_COST_ECPA_PV_ADVERTISER_CURRENCY", - "METRIC_CLIENT_COST_ECPC_ADVERTISER_CURRENCY", - "METRIC_CLIENT_COST_ECPM_ADVERTISER_CURRENCY", - "METRIC_CLIENT_COST_VIEWABLE_ECPM_ADVERTISER_CURRENCY", - "METRIC_CM_POST_CLICK_REVENUE_CROSS_ENVIRONMENT", - "METRIC_CM_POST_VIEW_REVENUE_CROSS_ENVIRONMENT", - "METRIC_COMPANION_CLICKS_AUDIO", - "METRIC_COMPANION_IMPRESSIONS_AUDIO", - "METRIC_COMPLETE_LISTENS_AUDIO", - "METRIC_COMPLETION_RATE_AUDIO", - "METRIC_COUNTERS", - "METRIC_CUSTOM_FEE_1_ADVERTISER_CURRENCY", - "METRIC_CUSTOM_FEE_2_ADVERTISER_CURRENCY", - "METRIC_CUSTOM_FEE_3_ADVERTISER_CURRENCY", - "METRIC_CUSTOM_FEE_4_ADVERTISER_CURRENCY", - "METRIC_CUSTOM_FEE_5_ADVERTISER_CURRENCY", - "METRIC_CUSTOM_VALUE_PER_1000_IMPRESSIONS", - "METRIC_ENGAGEMENTS", - "METRIC_ESTIMATED_CPM_FOR_IMPRESSIONS_WITH_CUSTOM_VALUE_ADVERTISER_CURRENCY", - "METRIC_ESTIMATED_TOTAL_COST_FOR_IMPRESSIONS_WITH_CUSTOM_VALUE_ADVERTISER_CURRENCY", - "METRIC_EXITS", - "METRIC_EXPANSIONS", - "METRIC_FIRST_QUARTILE_AUDIO", - "METRIC_GENERAL_INVALID_TRAFFIC_GIVT_IMPRESSIONS", - "METRIC_GENERAL_INVALID_TRAFFIC_GIVT_TRACKED_ADS", - "METRIC_GIVT_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", - "METRIC_GIVT_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", - "METRIC_GIVT_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", - "METRIC_GIVT_BEGIN_TO_RENDER_IMPRESSIONS", - "METRIC_GIVT_CLICKS", - "METRIC_GMAIL_CONVERSIONS", - "METRIC_GMAIL_POST_CLICK_CONVERSIONS", - "METRIC_GMAIL_POST_VIEW_CONVERSIONS", - "METRIC_GMAIL_POTENTIAL_VIEWS", - "METRIC_IMPRESSIONS_WITH_CUSTOM_VALUE", - "METRIC_IMPRESSIONS_WITH_POSITIVE_CUSTOM_VALUE", - "METRIC_IMPRESSION_CUSTOM_VALUE_COST", - "METRIC_INTERACTIVE_IMPRESSIONS", - "METRIC_INVALID_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS", - "METRIC_INVALID_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS", - "METRIC_INVALID_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS", - "METRIC_INVALID_BEGIN_TO_RENDER_IMPRESSIONS", - "METRIC_INVALID_CLICKS", - "METRIC_INVALID_IMPRESSIONS", - "METRIC_INVALID_TRACKED_ADS", - "METRIC_MIDPOINT_AUDIO", - "METRIC_ORIGINAL_AUDIENCE_FREQUENCY", - "METRIC_PAUSES_AUDIO", - "METRIC_PERCENT_IMPRESSIONS_WITH_POSITIVE_CUSTOM_VALUE", - "METRIC_PLATFORM_FEE_RATE", - "METRIC_POST_CLICK_CONVERSIONS_CROSS_ENVIRONMENT", - "METRIC_POST_VIEW_CONVERSIONS_CROSS_ENVIRONMENT", - "METRIC_POTENTIAL_IMPRESSIONS", - "METRIC_POTENTIAL_VIEWS", - "METRIC_PREMIUM_FEE_ADVERTISER_CURRENCY", - "METRIC_PROGRAMMATIC_GUARANTEED_IMPRESSIONS_PASSED_DUE_TO_FREQUENCY", - "METRIC_PROGRAMMATIC_GUARANTEED_SAVINGS_RE_INVESTED_DUE_TO_FREQUENCY_ADVERTISER_CURRENCY", - "METRIC_REFUND_BILLABLE_COST_ADVERTISER_CURRENCY", - "METRIC_REFUND_MEDIA_COST_ADVERTISER_CURRENCY", - "METRIC_REFUND_PLATFORM_FEE_ADVERTISER_CURRENCY", - "METRIC_RICH_MEDIA_ENGAGEMENTS", - "METRIC_STARTS_AUDIO", - "METRIC_STOPS_AUDIO", - "METRIC_STORE_VISIT_CONVERSIONS", - "METRIC_THIRD_QUARTILE_AUDIO", - "METRIC_TIMERS", - "METRIC_TOTAL_AUDIO_MEDIA_COST_ECPCL_ADVERTISER_CURRENCY", - "METRIC_TOTAL_CONVERSIONS_CROSS_ENVIRONMENT", - "METRIC_TOTAL_DISPLAY_TIME", - "METRIC_TOTAL_IMPRESSION_CUSTOM_VALUE", - "METRIC_TOTAL_INTERACTION_TIME", - "METRIC_TOTAL_USERS", - "METRIC_TRACKED_ADS", - "METRIC_TRUEVIEW_GENERAL_INVALID_TRAFFIC_GIVT_VIEWS", - "METRIC_TRUEVIEW_INVALID_VIEWS", - "METRIC_UNIQUE_COOKIES_WITH_IMPRESSIONS", - "METRIC_UNIQUE_REACH_AVERAGE_IMPRESSION_FREQUENCY", - "METRIC_UNIQUE_REACH_CLICK_REACH", - "METRIC_UNIQUE_REACH_IMPRESSION_REACH", - "METRIC_UNIQUE_REACH_TOTAL_REACH", - "METRIC_VERIFIABLE_IMPRESSIONS", - "METRIC_VIDEO_CLIENT_COST_ECPCV_ADVERTISER_CURRENCY", - "METRIC_WATCH_TIME", - "METRIC_LAST_TOUCH_TOTAL_CONVERSIONS", - "METRIC_LAST_TOUCH_CLICK_THROUGH_CONVERSIONS", - "METRIC_LAST_TOUCH_VIEW_THROUGH_CONVERSIONS", - "METRIC_TOTAL_PATHS", - "METRIC_TOTAL_EXPOSURES", - "METRIC_PATH_CONVERSION_RATE", - "METRIC_CONVERTING_PATHS", - "METRIC_ACTIVITY_REVENUE", - "METRIC_PERCENT_INVALID_IMPRESSIONS_PREBID", - "METRIC_GRP_CORRECTED_IMPRESSIONS", - "METRIC_DEMO_CORRECTED_CLICKS", - "METRIC_VIRTUAL_PEOPLE_IMPRESSION_REACH_BY_DEMO", - "METRIC_VIRTUAL_PEOPLE_CLICK_REACH_BY_DEMO", - "METRIC_VIRTUAL_PEOPLE_AVERAGE_IMPRESSION_FREQUENCY_BY_DEMO", - "METRIC_DEMO_COMPOSITION_IMPRESSION", - "METRIC_VIRTUAL_PEOPLE_IMPRESSION_REACH_SHARE_PERCENT", - "METRIC_DEMO_POPULATION", - "METRIC_VIRTUAL_PEOPLE_IMPRESSION_REACH_PERCENT", - "METRIC_TARGET_RATING_POINTS", - "METRIC_PROVISIONAL_IMPRESSIONS", - "METRIC_VENDOR_BLOCKED_ADS", - "METRIC_GRP_CORRECTED_VIEWABLE_IMPRESSIONS", - "METRIC_GRP_CORRECTED_VIEWABLE_IMPRESSIONS_SHARE_PERCENT", - "METRIC_VIEWABLE_GROSS_RATING_POINTS", - "METRIC_VIRTUAL_PEOPLE_AVERAGE_VIEWABLE_IMPRESSION_FREQUENCY_BY_DEMO", - "METRIC_VIRTUAL_PEOPLE_VIEWABLE_IMPRESSION_REACH_BY_DEMO", - "METRIC_VIRTUAL_PEOPLE_VIEWABLE_IMPRESSION_REACH_PERCENT", - "METRIC_VIRTUAL_PEOPLE_VIEWABLE_IMPRESSION_REACH_SHARE_PERCENT", - "METRIC_ENGAGEMENT_RATE", - "METRIC_CM360_POST_VIEW_REVENUE", - "METRIC_CM360_POST_CLICK_REVENUE", - "METRIC_CM360_POST_CLICK_REVENUE_CROSS_ENVIRONMENT", - "METRIC_CM360_POST_VIEW_REVENUE_CROSS_ENVIRONMENT", - "METRIC_PERCENTAGE_FROM_CURRENT_IO_GOAL", - "METRIC_DUPLICATE_FLOODLIGHT_IMPRESSIONS", - "METRIC_COOKIE_CONSENTED_FLOODLIGHT_IMPRESSIONS", - "METRIC_COOKIE_UNCONSENTED_FLOODLIGHT_IMPRESSIONS", - "METRIC_TRACKING_UNCONSENTED_CLICKS", - "METRIC_IMPRESSION_LOSS_TARGETED_IMPRESSIONS", - "METRIC_LINEITEM_BID_RESPONSE_COUNT", - "METRIC_WIN_LOSS_RATE", - "METRIC_WIN_LOSS_DEAL_AVAILABLE_REQUESTS", - "METRIC_WIN_LOSS_LINEITEM_AVAILABLE_REQUESTS", - "METRIC_WIN_LOSS_DEAL_TARGETED_IMPRESSIONS", - "METRIC_WIN_LOSS_LINEITEM_TARGETED_IMPRESSIONS", - "METRIC_VERIFICATION_VIDEO_PLAYER_SIZE_MEASURABLE_IMPRESSIONS", - "METRIC_TRUEVIEW_ALL_AD_SEQUENCE_IMPRESSIONS", - "METRIC_IMPRESSIONS_COVIEWED", - "METRIC_UNIQUE_REACH_IMPRESSION_REACH_COVIEWED", - "METRIC_UNIQUE_REACH_TOTAL_REACH_COVIEWED", - "METRIC_UNIQUE_REACH_AVERAGE_IMPRESSION_FREQUENCY_COVIEWED", - "METRIC_GRP_CORRECTED_IMPRESSIONS_COVIEWED", - "METRIC_VIRTUAL_PEOPLE_IMPRESSION_REACH_BY_DEMO_COVIEWED", - "METRIC_VIRTUAL_PEOPLE_AVERAGE_IMPRESSION_FREQUENCY_BY_DEMO_COVIEWED", - "METRIC_TARGET_RATING_POINTS_COVIEWED", - "METRIC_DEMO_COMPOSITION_IMPRESSION_COVIEWED", - "METRIC_VIRTUAL_PEOPLE_IMPRESSION_REACH_SHARE_PERCENT_COVIEWED", - "METRIC_VIRTUAL_PEOPLE_IMPRESSION_REACH_PERCENT_COVIEWED" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - }, - "options": { - "$ref": "Options", - "description": "Additional query options." - }, - "type": { - "description": "Report type.", - "enum": [ - "TYPE_GENERAL", - "TYPE_AUDIENCE_PERFORMANCE", - "TYPE_INVENTORY_AVAILABILITY", - "TYPE_KEYWORD", - "TYPE_PIXEL_LOAD", - "TYPE_AUDIENCE_COMPOSITION", - "TYPE_CROSS_PARTNER", - "TYPE_PAGE_CATEGORY", - "TYPE_THIRD_PARTY_DATA_PROVIDER", - "TYPE_CROSS_PARTNER_THIRD_PARTY_DATA_PROVIDER", - "TYPE_CLIENT_SAFE", - "TYPE_ORDER_ID", - "TYPE_FEE", - "TYPE_CROSS_FEE", - "TYPE_ACTIVE_GRP", - "TYPE_YOUTUBE_VERTICAL", - "TYPE_COMSCORE_VCE", - "TYPE_TRUEVIEW", - "TYPE_NIELSEN_AUDIENCE_PROFILE", - "TYPE_NIELSEN_DAILY_REACH_BUILD", - "TYPE_NIELSEN_SITE", - "TYPE_REACH_AND_FREQUENCY", - "TYPE_ESTIMATED_CONVERSION", - "TYPE_VERIFICATION", - "TYPE_TRUEVIEW_IAR", - "TYPE_NIELSEN_ONLINE_GLOBAL_MARKET", - "TYPE_PETRA_NIELSEN_AUDIENCE_PROFILE", - "TYPE_PETRA_NIELSEN_DAILY_REACH_BUILD", - "TYPE_PETRA_NIELSEN_ONLINE_GLOBAL_MARKET", - "TYPE_NOT_SUPPORTED", - "TYPE_REACH_AUDIENCE", - "TYPE_LINEAR_TV_SEARCH_LIFT", - "TYPE_PATH", - "TYPE_PATH_ATTRIBUTION" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "PathFilter": { - "description": "Path filters specify which paths to include in a report. A path is the result of combining DV360 events based on User ID to create a workflow of users' actions. When a path filter is set, the resulting report will only include paths that match the specified event at the specified position. All other paths will be excluded.", - "id": "PathFilter", - "properties": { - "eventFilters": { - "description": "Filter on an event to be applied to some part of the path.", - "items": { - "$ref": "EventFilter" - }, - "type": "array" - }, - "pathMatchPosition": { - "description": "Indicates the position of the path the filter should match to (first, last, or any event in path).", - "enum": [ - "ANY", - "FIRST", - "LAST" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "PathQueryOptions": { - "description": "Path Query Options for Report Options.", - "id": "PathQueryOptions", - "properties": { - "channelGrouping": { - "$ref": "ChannelGrouping", - "description": "Custom Channel Groupings." - }, - "pathFilters": { - "description": "Path Filters. There is a limit of 100 path filters that can be set per report.", - "items": { - "$ref": "PathFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "PathQueryOptionsFilter": { - "description": "Dimension Filter on path events.", - "id": "PathQueryOptionsFilter", - "properties": { - "filter": { - "description": "Dimension the filter is applied to.", - "enum": [ - "FILTER_UNKNOWN", - "FILTER_DATE", - "FILTER_DAY_OF_WEEK", - "FILTER_WEEK", - "FILTER_MONTH", - "FILTER_YEAR", - "FILTER_TIME_OF_DAY", - "FILTER_CONVERSION_DELAY", - "FILTER_CREATIVE_ID", - "FILTER_CREATIVE_SIZE", - "FILTER_CREATIVE_TYPE", - "FILTER_EXCHANGE_ID", - "FILTER_AD_POSITION", - "FILTER_PUBLIC_INVENTORY", - "FILTER_INVENTORY_SOURCE", - "FILTER_CITY", - "FILTER_REGION", - "FILTER_DMA", - "FILTER_COUNTRY", - "FILTER_SITE_ID", - "FILTER_CHANNEL_ID", - "FILTER_PARTNER", - "FILTER_ADVERTISER", - "FILTER_INSERTION_ORDER", - "FILTER_LINE_ITEM", - "FILTER_PARTNER_CURRENCY", - "FILTER_ADVERTISER_CURRENCY", - "FILTER_ADVERTISER_TIMEZONE", - "FILTER_LINE_ITEM_TYPE", - "FILTER_USER_LIST", - "FILTER_USER_LIST_FIRST_PARTY", - "FILTER_USER_LIST_THIRD_PARTY", - "FILTER_TARGETED_USER_LIST", - "FILTER_DATA_PROVIDER", - "FILTER_ORDER_ID", - "FILTER_VIDEO_PLAYER_SIZE", - "FILTER_VIDEO_DURATION_SECONDS", - "FILTER_KEYWORD", - "FILTER_PAGE_CATEGORY", - "FILTER_CAMPAIGN_DAILY_FREQUENCY", - "FILTER_LINE_ITEM_DAILY_FREQUENCY", - "FILTER_LINE_ITEM_LIFETIME_FREQUENCY", - "FILTER_OS", - "FILTER_BROWSER", - "FILTER_CARRIER", - "FILTER_SITE_LANGUAGE", - "FILTER_INVENTORY_FORMAT", - "FILTER_ZIP_CODE", - "FILTER_VIDEO_RATING_TIER", - "FILTER_VIDEO_FORMAT_SUPPORT", - "FILTER_VIDEO_SKIPPABLE_SUPPORT", - "FILTER_VIDEO_CREATIVE_DURATION", - "FILTER_PAGE_LAYOUT", - "FILTER_VIDEO_AD_POSITION_IN_STREAM", - "FILTER_AGE", - "FILTER_GENDER", - "FILTER_QUARTER", - "FILTER_TRUEVIEW_CONVERSION_TYPE", - "FILTER_MOBILE_GEO", - "FILTER_MRAID_SUPPORT", - "FILTER_ACTIVE_VIEW_EXPECTED_VIEWABILITY", - "FILTER_VIDEO_CREATIVE_DURATION_SKIPPABLE", - "FILTER_NIELSEN_COUNTRY_CODE", - "FILTER_NIELSEN_DEVICE_ID", - "FILTER_NIELSEN_GENDER", - "FILTER_NIELSEN_AGE", - "FILTER_INVENTORY_SOURCE_TYPE", - "FILTER_CREATIVE_WIDTH", - "FILTER_CREATIVE_HEIGHT", - "FILTER_DFP_ORDER_ID", - "FILTER_TRUEVIEW_AGE", - "FILTER_TRUEVIEW_GENDER", - "FILTER_TRUEVIEW_PARENTAL_STATUS", - "FILTER_TRUEVIEW_REMARKETING_LIST", - "FILTER_TRUEVIEW_INTEREST", - "FILTER_TRUEVIEW_AD_GROUP_ID", - "FILTER_TRUEVIEW_AD_GROUP_AD_ID", - "FILTER_TRUEVIEW_IAR_LANGUAGE", - "FILTER_TRUEVIEW_IAR_GENDER", - "FILTER_TRUEVIEW_IAR_AGE", - "FILTER_TRUEVIEW_IAR_CATEGORY", - "FILTER_TRUEVIEW_IAR_COUNTRY", - "FILTER_TRUEVIEW_IAR_CITY", - "FILTER_TRUEVIEW_IAR_REGION", - "FILTER_TRUEVIEW_IAR_ZIPCODE", - "FILTER_TRUEVIEW_IAR_REMARKETING_LIST", - "FILTER_TRUEVIEW_IAR_INTEREST", - "FILTER_TRUEVIEW_IAR_PARENTAL_STATUS", - "FILTER_TRUEVIEW_IAR_TIME_OF_DAY", - "FILTER_TRUEVIEW_CUSTOM_AFFINITY", - "FILTER_TRUEVIEW_CATEGORY", - "FILTER_TRUEVIEW_KEYWORD", - "FILTER_TRUEVIEW_PLACEMENT", - "FILTER_TRUEVIEW_URL", - "FILTER_TRUEVIEW_COUNTRY", - "FILTER_TRUEVIEW_REGION", - "FILTER_TRUEVIEW_CITY", - "FILTER_TRUEVIEW_DMA", - "FILTER_TRUEVIEW_ZIPCODE", - "FILTER_NOT_SUPPORTED", - "FILTER_MEDIA_PLAN", - "FILTER_TRUEVIEW_IAR_YOUTUBE_CHANNEL", - "FILTER_TRUEVIEW_IAR_YOUTUBE_VIDEO", - "FILTER_SKIPPABLE_SUPPORT", - "FILTER_COMPANION_CREATIVE_ID", - "FILTER_BUDGET_SEGMENT_DESCRIPTION", - "FILTER_FLOODLIGHT_ACTIVITY_ID", - "FILTER_DEVICE_MODEL", - "FILTER_DEVICE_MAKE", - "FILTER_DEVICE_TYPE", - "FILTER_CREATIVE_ATTRIBUTE", - "FILTER_INVENTORY_COMMITMENT_TYPE", - "FILTER_INVENTORY_RATE_TYPE", - "FILTER_INVENTORY_DELIVERY_METHOD", - "FILTER_INVENTORY_SOURCE_EXTERNAL_ID", - "FILTER_AUTHORIZED_SELLER_STATE", - "FILTER_VIDEO_DURATION_SECONDS_RANGE", - "FILTER_PARTNER_NAME", - "FILTER_PARTNER_STATUS", - "FILTER_ADVERTISER_NAME", - "FILTER_ADVERTISER_INTEGRATION_CODE", - "FILTER_ADVERTISER_INTEGRATION_STATUS", - "FILTER_CARRIER_NAME", - "FILTER_CHANNEL_NAME", - "FILTER_CITY_NAME", - "FILTER_COMPANION_CREATIVE_NAME", - "FILTER_USER_LIST_FIRST_PARTY_NAME", - "FILTER_USER_LIST_THIRD_PARTY_NAME", - "FILTER_NIELSEN_RESTATEMENT_DATE", - "FILTER_NIELSEN_DATE_RANGE", - "FILTER_INSERTION_ORDER_NAME", - "FILTER_REGION_NAME", - "FILTER_DMA_NAME", - "FILTER_TRUEVIEW_IAR_REGION_NAME", - "FILTER_TRUEVIEW_DMA_NAME", - "FILTER_TRUEVIEW_REGION_NAME", - "FILTER_ACTIVE_VIEW_CUSTOM_METRIC_ID", - "FILTER_ACTIVE_VIEW_CUSTOM_METRIC_NAME", - "FILTER_AD_TYPE", - "FILTER_ALGORITHM", - "FILTER_ALGORITHM_ID", - "FILTER_AMP_PAGE_REQUEST", - "FILTER_ANONYMOUS_INVENTORY_MODELING", - "FILTER_APP_URL", - "FILTER_APP_URL_EXCLUDED", - "FILTER_ATTRIBUTED_USERLIST", - "FILTER_ATTRIBUTED_USERLIST_COST", - "FILTER_ATTRIBUTED_USERLIST_TYPE", - "FILTER_ATTRIBUTION_MODEL", - "FILTER_AUDIENCE_LIST", - "FILTER_AUDIENCE_LIST_COST", - "FILTER_AUDIENCE_LIST_TYPE", - "FILTER_AUDIENCE_NAME", - "FILTER_AUDIENCE_TYPE", - "FILTER_BILLABLE_OUTCOME", - "FILTER_BRAND_LIFT_TYPE", - "FILTER_CHANNEL_TYPE", - "FILTER_CM_PLACEMENT_ID", - "FILTER_CONVERSION_SOURCE", - "FILTER_CONVERSION_SOURCE_ID", - "FILTER_COUNTRY_ID", - "FILTER_CREATIVE", - "FILTER_CREATIVE_ASSET", - "FILTER_CREATIVE_INTEGRATION_CODE", - "FILTER_CREATIVE_RENDERED_IN_AMP", - "FILTER_CREATIVE_SOURCE", - "FILTER_CREATIVE_STATUS", - "FILTER_DATA_PROVIDER_NAME", - "FILTER_DETAILED_DEMOGRAPHICS", - "FILTER_DETAILED_DEMOGRAPHICS_ID", - "FILTER_DEVICE", - "FILTER_GAM_INSERTION_ORDER", - "FILTER_GAM_LINE_ITEM", - "FILTER_GAM_LINE_ITEM_ID", - "FILTER_DIGITAL_CONTENT_LABEL", - "FILTER_DOMAIN", - "FILTER_ELIGIBLE_COOKIES_ON_FIRST_PARTY_AUDIENCE_LIST", - "FILTER_ELIGIBLE_COOKIES_ON_THIRD_PARTY_AUDIENCE_LIST_AND_INTEREST", - "FILTER_EXCHANGE", - "FILTER_EXCHANGE_CODE", - "FILTER_EXTENSION", - "FILTER_EXTENSION_STATUS", - "FILTER_EXTENSION_TYPE", - "FILTER_FIRST_PARTY_AUDIENCE_LIST_COST", - "FILTER_FIRST_PARTY_AUDIENCE_LIST_TYPE", - "FILTER_FLOODLIGHT_ACTIVITY", - "FILTER_FORMAT", - "FILTER_GMAIL_AGE", - "FILTER_GMAIL_CITY", - "FILTER_GMAIL_COUNTRY", - "FILTER_GMAIL_COUNTRY_NAME", - "FILTER_GMAIL_DEVICE_TYPE", - "FILTER_GMAIL_DEVICE_TYPE_NAME", - "FILTER_GMAIL_GENDER", - "FILTER_GMAIL_REGION", - "FILTER_GMAIL_REMARKETING_LIST", - "FILTER_HOUSEHOLD_INCOME", - "FILTER_IMPRESSION_COUNTING_METHOD", - "FILTER_YOUTUBE_PROGRAMMATIC_GUARANTEED_INSERTION_ORDER", - "FILTER_INSERTION_ORDER_INTEGRATION_CODE", - "FILTER_INSERTION_ORDER_STATUS", - "FILTER_INTEREST", - "FILTER_INVENTORY_SOURCE_GROUP", - "FILTER_INVENTORY_SOURCE_GROUP_ID", - "FILTER_INVENTORY_SOURCE_ID", - "FILTER_INVENTORY_SOURCE_NAME", - "FILTER_LIFE_EVENT", - "FILTER_LIFE_EVENTS", - "FILTER_LINE_ITEM_INTEGRATION_CODE", - "FILTER_LINE_ITEM_NAME", - "FILTER_LINE_ITEM_STATUS", - "FILTER_MATCH_RATIO", - "FILTER_MEASUREMENT_SOURCE", - "FILTER_MEDIA_PLAN_NAME", - "FILTER_PARENTAL_STATUS", - "FILTER_PLACEMENT_ALL_YOUTUBE_CHANNELS", - "FILTER_PLATFORM", - "FILTER_PLAYBACK_METHOD", - "FILTER_POSITION_IN_CONTENT", - "FILTER_PUBLISHER_PROPERTY", - "FILTER_PUBLISHER_PROPERTY_ID", - "FILTER_PUBLISHER_PROPERTY_SECTION", - "FILTER_PUBLISHER_PROPERTY_SECTION_ID", - "FILTER_REFUND_REASON", - "FILTER_REMARKETING_LIST", - "FILTER_REWARDED", - "FILTER_SENSITIVE_CATEGORY", - "FILTER_SERVED_PIXEL_DENSITY", - "FILTER_TARGETED_DATA_PROVIDERS", - "FILTER_THIRD_PARTY_AUDIENCE_LIST_COST", - "FILTER_THIRD_PARTY_AUDIENCE_LIST_TYPE", - "FILTER_TRUEVIEW_AD", - "FILTER_TRUEVIEW_AD_GROUP", - "FILTER_TRUEVIEW_DETAILED_DEMOGRAPHICS", - "FILTER_TRUEVIEW_DETAILED_DEMOGRAPHICS_ID", - "FILTER_TRUEVIEW_HOUSEHOLD_INCOME", - "FILTER_TRUEVIEW_IAR_COUNTRY_NAME", - "FILTER_TRUEVIEW_REMARKETING_LIST_NAME", - "FILTER_VARIANT_ID", - "FILTER_VARIANT_NAME", - "FILTER_VARIANT_VERSION", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE", - "FILTER_VERIFICATION_VIDEO_POSITION", - "FILTER_VIDEO_COMPANION_CREATIVE_SIZE", - "FILTER_VIDEO_CONTINUOUS_PLAY", - "FILTER_VIDEO_DURATION", - "FILTER_YOUTUBE_ADAPTED_AUDIENCE_LIST", - "FILTER_YOUTUBE_AD_VIDEO", - "FILTER_YOUTUBE_AD_VIDEO_ID", - "FILTER_YOUTUBE_CHANNEL", - "FILTER_YOUTUBE_PROGRAMMATIC_GUARANTEED_ADVERTISER", - "FILTER_YOUTUBE_PROGRAMMATIC_GUARANTEED_PARTNER", - "FILTER_YOUTUBE_VIDEO", - "FILTER_ZIP_POSTAL_CODE", - "FILTER_PLACEMENT_NAME_ALL_YOUTUBE_CHANNELS", - "FILTER_TRUEVIEW_PLACEMENT_ID", - "FILTER_PATH_PATTERN_ID", - "FILTER_PATH_EVENT_INDEX", - "FILTER_EVENT_TYPE", - "FILTER_CHANNEL_GROUPING", - "FILTER_OM_SDK_AVAILABLE", - "FILTER_DATA_SOURCE", - "FILTER_CM360_PLACEMENT_ID", - "FILTER_TRUEVIEW_CLICK_TYPE_NAME", - "FILTER_TRUEVIEW_AD_TYPE_NAME", - "FILTER_VIDEO_CONTENT_DURATION", - "FILTER_MATCHED_GENRE_TARGET", - "FILTER_VIDEO_CONTENT_LIVE_STREAM", - "FILTER_BUDGET_SEGMENT_TYPE", - "FILTER_BUDGET_SEGMENT_BUDGET", - "FILTER_BUDGET_SEGMENT_START_DATE", - "FILTER_BUDGET_SEGMENT_END_DATE", - "FILTER_BUDGET_SEGMENT_PACING_PERCENTAGE", - "FILTER_LINE_ITEM_BUDGET", - "FILTER_LINE_ITEM_START_DATE", - "FILTER_LINE_ITEM_END_DATE", - "FILTER_INSERTION_ORDER_GOAL_TYPE", - "FILTER_LINE_ITEM_PACING_PERCENTAGE", - "FILTER_INSERTION_ORDER_GOAL_VALUE", - "FILTER_OMID_CAPABLE", - "FILTER_VENDOR_MEASUREMENT_MODE", - "FILTER_IMPRESSION_LOSS_REJECTION_REASON", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_START", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_FIRST_QUARTILE", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_MID_POINT", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_THIRD_QUARTILE", - "FILTER_VERIFICATION_VIDEO_PLAYER_SIZE_COMPLETE", - "FILTER_VERIFICATION_VIDEO_RESIZED", - "FILTER_VERIFICATION_AUDIBILITY_START", - "FILTER_VERIFICATION_AUDIBILITY_COMPLETE", - "FILTER_MEDIA_TYPE", - "FILTER_AUDIO_FEED_TYPE_NAME", - "FILTER_TRUEVIEW_TARGETING_EXPANSION", - "FILTER_PUBLISHER_TRAFFIC_SOURCE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "match": { - "description": "Indicates how the filter should be matched to the value.", - "enum": [ - "UNKNOWN", - "EXACT", - "PARTIAL", - "BEGINS_WITH", - "WILDCARD_EXPRESSION" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "values": { - "description": "Value to filter on.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Query": { - "description": "Represents a query.", - "id": "Query", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"doubleclickbidmanager#query\".", - "type": "string" - }, - "metadata": { - "$ref": "QueryMetadata", - "description": "Query metadata." - }, - "params": { - "$ref": "Parameters", - "description": "Query parameters." - }, - "queryId": { - "description": "Query ID.", - "format": "int64", - "type": "string" - }, - "reportDataEndTimeMs": { - "description": "The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.", - "format": "int64", - "type": "string" - }, - "reportDataStartTimeMs": { - "description": "The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.", - "format": "int64", - "type": "string" - }, - "schedule": { - "$ref": "QuerySchedule", - "description": "Information on how often and when to run a query." - }, - "timezoneCode": { - "description": "Canonical timezone code for report data time. Defaults to America/New_York.", - "type": "string" - } - }, - "type": "object" - }, - "QueryMetadata": { - "description": "Query metadata.", - "id": "QueryMetadata", - "properties": { - "dataRange": { - "description": "Range of report data.", - "enum": [ - "CUSTOM_DATES", - "CURRENT_DAY", - "PREVIOUS_DAY", - "WEEK_TO_DATE", - "MONTH_TO_DATE", - "QUARTER_TO_DATE", - "YEAR_TO_DATE", - "PREVIOUS_WEEK", - "PREVIOUS_HALF_MONTH", - "PREVIOUS_MONTH", - "PREVIOUS_QUARTER", - "PREVIOUS_YEAR", - "LAST_7_DAYS", - "LAST_30_DAYS", - "LAST_90_DAYS", - "LAST_365_DAYS", - "ALL_TIME", - "LAST_14_DAYS", - "TYPE_NOT_SUPPORTED", - "LAST_60_DAYS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "format": { - "description": "Format of the generated report.", - "enum": [ - "CSV", - "EXCEL_CSV", - "XLSX" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "googleCloudStoragePathForLatestReport": { - "description": "The path to the location in Google Cloud Storage where the latest report is stored.", - "type": "string" - }, - "googleDrivePathForLatestReport": { - "description": "The path in Google Drive for the latest report.", - "type": "string" - }, - "latestReportRunTimeMs": { - "description": "The time when the latest report started to run.", - "format": "int64", - "type": "string" - }, - "locale": { - "description": "Locale of the generated reports. Valid values are cs CZECH de GERMAN en ENGLISH es SPANISH fr FRENCH it ITALIAN ja JAPANESE ko KOREAN pl POLISH pt-BR BRAZILIAN_PORTUGUESE ru RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-TW TAIWAN_CHINESE An locale string not in the list above will generate reports in English.", - "type": "string" - }, - "reportCount": { - "description": "Number of reports that have been generated for the query.", - "format": "int32", - "type": "integer" - }, - "running": { - "description": "Whether the latest report is currently running.", - "type": "boolean" - }, - "sendNotification": { - "description": "Whether to send an email notification when a report is ready. Default to false.", - "type": "boolean" - }, - "shareEmailAddress": { - "description": "List of email addresses which are sent email notifications when the report is finished. Separate from sendNotification.", - "items": { - "type": "string" - }, - "type": "array" - }, - "title": { - "description": "Query title. It is used to name the reports generated from this query.", - "type": "string" - } - }, - "type": "object" - }, - "QuerySchedule": { - "description": "Information on how frequently and when to run a query.", - "id": "QuerySchedule", - "properties": { - "endTimeMs": { - "description": "Datetime to periodically run the query until.", - "format": "int64", - "type": "string" - }, - "frequency": { - "description": "How often the query is run.", - "enum": [ - "ONE_TIME", - "DAILY", - "WEEKLY", - "SEMI_MONTHLY", - "MONTHLY", - "QUARTERLY", - "YEARLY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "nextRunMinuteOfDay": { - "description": "Time of day at which a new report will be generated, represented as minutes past midnight. Range is 0 to 1439. Only applies to scheduled reports.", - "format": "int32", - "type": "integer" - }, - "nextRunTimezoneCode": { - "description": "Canonical timezone code for report generation time. Defaults to America/New_York.", - "type": "string" - }, - "startTimeMs": { - "description": "When to start running the query. Not applicable to `ONE_TIME` frequency.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Report": { - "description": "Represents a report.", - "id": "Report", - "properties": { - "key": { - "$ref": "ReportKey", - "description": "Key used to identify a report." - }, - "metadata": { - "$ref": "ReportMetadata", - "description": "Report metadata." - }, - "params": { - "$ref": "Parameters", - "description": "Report parameters." - } - }, - "type": "object" - }, - "ReportFailure": { - "description": "An explanation of a report failure.", - "id": "ReportFailure", - "properties": { - "errorCode": { - "description": "Error code that shows why the report was not created.", - "enum": [ - "AUTHENTICATION_ERROR", - "UNAUTHORIZED_API_ACCESS", - "SERVER_ERROR", - "VALIDATION_ERROR", - "REPORTING_FATAL_ERROR", - "REPORTING_TRANSIENT_ERROR", - "REPORTING_IMCOMPATIBLE_METRICS", - "REPORTING_ILLEGAL_FILENAME", - "REPORTING_QUERY_NOT_FOUND", - "REPORTING_BUCKET_NOT_FOUND", - "REPORTING_CREATE_BUCKET_FAILED", - "REPORTING_DELETE_BUCKET_FAILED", - "REPORTING_UPDATE_BUCKET_PERMISSION_FAILED", - "REPORTING_WRITE_BUCKET_OBJECT_FAILED", - "DEPRECATED_REPORTING_INVALID_QUERY", - "REPORTING_INVALID_QUERY_TOO_MANY_UNFILTERED_LARGE_GROUP_BYS", - "REPORTING_INVALID_QUERY_TITLE_MISSING", - "REPORTING_INVALID_QUERY_MISSING_PARTNER_AND_ADVERTISER_FILTERS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "ReportKey": { - "description": "Key used to identify a report.", - "id": "ReportKey", - "properties": { - "queryId": { - "description": "Query ID.", - "format": "int64", - "type": "string" - }, - "reportId": { - "description": "Report ID.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ReportMetadata": { - "description": "Report metadata.", - "id": "ReportMetadata", - "properties": { - "googleCloudStoragePath": { - "description": "The path to the location in Google Cloud Storage where the report is stored.", - "type": "string" - }, - "reportDataEndTimeMs": { - "description": "The ending time for the data that is shown in the report.", - "format": "int64", - "type": "string" - }, - "reportDataStartTimeMs": { - "description": "The starting time for the data that is shown in the report.", - "format": "int64", - "type": "string" - }, - "status": { - "$ref": "ReportStatus", - "description": "Report status." - } - }, - "type": "object" - }, - "ReportStatus": { - "description": "Report status.", - "id": "ReportStatus", - "properties": { - "failure": { - "$ref": "ReportFailure", - "description": "If the report failed, this records the cause." - }, - "finishTimeMs": { - "description": "The time when this report either completed successfully or failed.", - "format": "int64", - "type": "string" - }, - "format": { - "description": "The file type of the report.", - "enum": [ - "CSV", - "EXCEL_CSV", - "XLSX" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "state": { - "description": "The state of the report.", - "enum": [ - "RUNNING", - "DONE", - "FAILED" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "Rule": { - "description": "A Rule defines a name, and a boolean expression in [conjunctive normal form](http: //mathworld.wolfram.com/ConjunctiveNormalForm.html){.external} that can be // applied to a path event to determine if that name should be applied.", - "id": "Rule", - "properties": { - "disjunctiveMatchStatements": { - "items": { - "$ref": "DisjunctiveMatchStatement" - }, - "type": "array" - }, - "name": { - "description": "Rule name.", - "type": "string" - } - }, - "type": "object" - }, - "RunQueryRequest": { - "description": "Request to run a stored query to generate a report.", - "id": "RunQueryRequest", - "properties": { - "dataRange": { - "description": "Report data range used to generate the report.", - "enum": [ - "CUSTOM_DATES", - "CURRENT_DAY", - "PREVIOUS_DAY", - "WEEK_TO_DATE", - "MONTH_TO_DATE", - "QUARTER_TO_DATE", - "YEAR_TO_DATE", - "PREVIOUS_WEEK", - "PREVIOUS_HALF_MONTH", - "PREVIOUS_MONTH", - "PREVIOUS_QUARTER", - "PREVIOUS_YEAR", - "LAST_7_DAYS", - "LAST_30_DAYS", - "LAST_90_DAYS", - "LAST_365_DAYS", - "ALL_TIME", - "LAST_14_DAYS", - "TYPE_NOT_SUPPORTED", - "LAST_60_DAYS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "reportDataEndTimeMs": { - "description": "The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if dataRange is CUSTOM_DATES and ignored otherwise.", - "format": "int64", - "type": "string" - }, - "reportDataStartTimeMs": { - "description": "The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if dataRange is CUSTOM_DATES and ignored otherwise.", - "format": "int64", - "type": "string" - }, - "timezoneCode": { - "description": "Canonical timezone code for report data time. Defaults to America/New_York.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "doubleclickbidmanager/v1.1/", - "title": "DoubleClick Bid Manager API", - "version": "v1.1" -} \ No newline at end of file diff --git a/discovery/doubleclickbidmanager-v1.json b/discovery/doubleclickbidmanager-v1.json deleted file mode 100644 index a62cadddd56..00000000000 --- a/discovery/doubleclickbidmanager-v1.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "basePath": "/doubleclickbidmanager/v1/", - "baseUrl": "https://doubleclickbidmanager.googleapis.com/doubleclickbidmanager/v1/", - "batchPath": "batch", - "canonicalName": "DoubleClick Bid Manager", - "description": "DoubleClick Bid Manager API allows users to manage and create campaigns and reports.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/bid-manager/", - "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": "doubleclickbidmanager:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://doubleclickbidmanager.mtls.googleapis.com/", - "name": "doubleclickbidmanager", - "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": {}, - "revision": "20210420", - "rootUrl": "https://doubleclickbidmanager.googleapis.com/", - "schemas": {}, - "servicePath": "doubleclickbidmanager/v1/", - "title": "DoubleClick Bid Manager API", - "version": "v1" -} \ No newline at end of file diff --git a/discovery/drive-v2.json b/discovery/drive-v2.json index 364d3ce0535..61a66cbc94d 100644 --- a/discovery/drive-v2.json +++ b/discovery/drive-v2.json @@ -2777,6 +2777,12 @@ "location": "query", "type": "string" }, + "enforceExpansiveAccess": { + "default": "false", + "description": "Whether the request should enforce expansive access rules.", + "location": "query", + "type": "boolean" + }, "enforceSingleParent": { "default": "false", "deprecated": true, @@ -3887,7 +3893,7 @@ } } }, - "revision": "20250427", + "revision": "20250506", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { diff --git a/discovery/drive-v3.json b/discovery/drive-v3.json index a00d4ee8cad..a515cea296e 100644 --- a/discovery/drive-v3.json +++ b/discovery/drive-v3.json @@ -1949,6 +1949,12 @@ "location": "query", "type": "string" }, + "enforceExpansiveAccess": { + "default": "false", + "description": "Whether the request should enforce expansive access rules.", + "location": "query", + "type": "boolean" + }, "enforceSingleParent": { "default": "false", "deprecated": true, @@ -2800,7 +2806,7 @@ } } }, - "revision": "20250427", + "revision": "20250506", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { diff --git a/discovery/eventarc-v1beta1.json b/discovery/eventarc-v1beta1.json deleted file mode 100644 index 55fce37a7f9..00000000000 --- a/discovery/eventarc-v1beta1.json +++ /dev/null @@ -1,1103 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://eventarc.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Eventarc", - "description": "Build event-driven applications on Google Cloud Platform.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/eventarc", - "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": "eventarc:v1beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://eventarc.mtls.googleapis.com/", - "name": "eventarc", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "methods": { - "get": { - "description": "Gets information about a location.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", - "httpMethod": "GET", - "id": "eventarc.projects.locations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name for the location.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Location" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists information about the supported locations for this service.", - "flatPath": "v1beta1/projects/{projectsId}/locations", - "httpMethod": "GET", - "id": "eventarc.projects.locations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", - "location": "query", - "type": "string" - }, - "name": { - "description": "The resource that owns the locations collection, if applicable.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The maximum number of results to return. If not set, the service selects a default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}/locations", - "response": { - "$ref": "ListLocationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "eventarc.projects.locations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "eventarc.projects.locations.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "eventarc.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", - "httpMethod": "GET", - "id": "eventarc.projects.locations.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}/operations", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "triggers": { - "methods": { - "create": { - "description": "Create a new trigger in a particular project and location.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers", - "httpMethod": "POST", - "id": "eventarc.projects.locations.triggers.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The parent collection in which to add this trigger.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "triggerId": { - "description": "Required. The user-provided ID to be assigned to the trigger.", - "location": "query", - "type": "string" - }, - "validateOnly": { - "description": "Required. If set, validate the request and preview the review, but do not actually post it.", - "location": "query", - "type": "boolean" - } - }, - "path": "v1beta1/{+parent}/triggers", - "request": { - "$ref": "Trigger" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Delete a single trigger.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", - "httpMethod": "DELETE", - "id": "eventarc.projects.locations.triggers.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "allowMissing": { - "description": "If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.", - "location": "query", - "type": "boolean" - }, - "etag": { - "description": "If provided, the trigger will only be deleted if the etag matches the current etag on the resource.", - "location": "query", - "type": "string" - }, - "name": { - "description": "Required. The name of the trigger to be deleted.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", - "required": true, - "type": "string" - }, - "validateOnly": { - "description": "Required. If set, validate the request and preview the review, but do not actually post it.", - "location": "query", - "type": "boolean" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Get a single trigger.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", - "httpMethod": "GET", - "id": "eventarc.projects.locations.triggers.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the trigger to get.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Trigger" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:getIamPolicy", - "httpMethod": "GET", - "id": "eventarc.projects.locations.triggers.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "List triggers.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers", - "httpMethod": "GET", - "id": "eventarc.projects.locations.triggers.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "orderBy": { - "description": "The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting oder is ascending. To specify descending order for a field, append a ` desc` suffix; for example: `name desc, trigger_id`.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of triggers to return on each page. Note: The service may send fewer.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The page token; provide the value from the `next_page_token` field in a previous `ListTriggers` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListTriggers` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent collection to list triggers on.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/triggers", - "response": { - "$ref": "ListTriggersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Update a single trigger.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", - "httpMethod": "PATCH", - "id": "eventarc.projects.locations.triggers.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "allowMissing": { - "description": "If set to true, and the trigger is not found, a new trigger will be created. In this situation, `update_mask` is ignored.", - "location": "query", - "type": "boolean" - }, - "name": { - "description": "Required. The resource name of the trigger. Must be unique within the location on the project and must in `projects/{project}/locations/{location}/triggers/{trigger}` format.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "The fields to be updated; only fields explicitly provided will be updated. If no field mask is provided, all provided fields in the request will be updated. To update all fields, provide a field mask of \"*\".", - "format": "google-fieldmask", - "location": "query", - "type": "string" - }, - "validateOnly": { - "description": "Required. If set, validate the request and preview the review, but do not actually post it.", - "location": "query", - "type": "boolean" - } - }, - "path": "v1beta1/{+name}", - "request": { - "$ref": "Trigger" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:setIamPolicy", - "httpMethod": "POST", - "id": "eventarc.projects.locations.triggers.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:testIamPermissions", - "httpMethod": "POST", - "id": "eventarc.projects.locations.triggers.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20240119", - "rootUrl": "https://eventarc.googleapis.com/", - "schemas": { - "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", - "id": "AuditConfig", - "properties": { - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.", - "items": { - "$ref": "AuditLogConfig" - }, - "type": "array" - }, - "service": { - "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", - "type": "string" - } - }, - "type": "object" - }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", - "id": "AuditLogConfig", - "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logType": { - "description": "The log type that this config enables.", - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], - "type": "string" - } - }, - "type": "object" - }, - "Binding": { - "description": "Associates `members`, or principals, with a `role`.", - "id": "Binding", - "properties": { - "condition": { - "$ref": "Expr", - "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." - }, - "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "role": { - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", - "type": "string" - } - }, - "type": "object" - }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "CloudRunService": { - "description": "Represents a Cloud Run service destination.", - "id": "CloudRunService", - "properties": { - "path": { - "description": "Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".", - "type": "string" - }, - "region": { - "description": "Required. The region the Cloud Run service is deployed in.", - "type": "string" - }, - "service": { - "description": "Required. The name of the Cloud run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project of the trigger object can be addressed.", - "type": "string" - } - }, - "type": "object" - }, - "Destination": { - "description": "Represents a target of an invocation over HTTP.", - "id": "Destination", - "properties": { - "cloudRunService": { - "$ref": "CloudRunService", - "description": "Cloud Run fully-managed service that receives the events. The service should be running in the same project as the trigger." - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", - "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" - }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", - "type": "string" - }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" - } - }, - "type": "object" - }, - "ListLocationsResponse": { - "description": "The response message for Locations.ListLocations.", - "id": "ListLocationsResponse", - "properties": { - "locations": { - "description": "A list of locations that matches the specified filter in the request.", - "items": { - "$ref": "Location" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - } - }, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListTriggersResponse": { - "description": "The response message for the ListTriggers method.", - "id": "ListTriggersResponse", - "properties": { - "nextPageToken": { - "description": "A page token that can be sent to ListTriggers to request the next page. If this is empty, then there are no more pages.", - "type": "string" - }, - "triggers": { - "description": "The requested triggers, up to the number specified in `page_size`.", - "items": { - "$ref": "Trigger" - }, - "type": "array" - }, - "unreachable": { - "description": "Unreachable resources, if any.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Location": { - "description": "A resource that represents a Google Cloud location.", - "id": "Location", - "properties": { - "displayName": { - "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", - "type": "object" - }, - "locationId": { - "description": "The canonical id for this location. For example: `\"us-east1\"`.", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata. For example the available capacity at the given location.", - "type": "object" - }, - "name": { - "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", - "type": "string" - } - }, - "type": "object" - }, - "MatchingCriteria": { - "description": "Matches events based on exact matches on the CloudEvents attributes.", - "id": "MatchingCriteria", - "properties": { - "attribute": { - "description": "Required. The name of a CloudEvents attribute. Currently, only a subset of attributes can be specified. All triggers MUST provide a matching criteria for the 'type' attribute.", - "type": "string" - }, - "value": { - "description": "Required. The value for the attribute.", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "OperationMetadata": { - "description": "Represents the metadata of the long-running operation.", - "id": "OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", - "id": "Policy", - "properties": { - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", - "items": { - "$ref": "AuditConfig" - }, - "type": "array" - }, - "bindings": { - "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", - "items": { - "$ref": "Binding" - }, - "type": "array" - }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Pubsub": { - "description": "Represents a Pub/Sub transport.", - "id": "Pubsub", - "properties": { - "subscription": { - "description": "Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.", - "readOnly": true, - "type": "string" - }, - "topic": { - "description": "Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You may set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion.", - "type": "string" - } - }, - "type": "object" - }, - "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", - "id": "SetIamPolicyRequest", - "properties": { - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." - }, - "updateMask": { - "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "id": "TestIamPermissionsRequest", - "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", - "id": "TestIamPermissionsResponse", - "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Transport": { - "description": "Represents the transport intermediaries created for the trigger in order to deliver events.", - "id": "Transport", - "properties": { - "pubsub": { - "$ref": "Pubsub", - "description": "The Pub/Sub topic and subscription used by Eventarc as delivery intermediary." - } - }, - "type": "object" - }, - "Trigger": { - "description": "A representation of the trigger resource.", - "id": "Trigger", - "properties": { - "createTime": { - "description": "Output only. The creation time.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "destination": { - "$ref": "Destination", - "description": "Required. Destination specifies where the events should be sent to." - }, - "etag": { - "description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent only on create requests to ensure the client has an up-to-date value before proceeding.", - "readOnly": true, - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. User labels attached to the triggers that can be used to group resources.", - "type": "object" - }, - "matchingCriteria": { - "description": "Required. Unordered list. The criteria by which events are filtered. Only events that match with this criteria will be sent to the destination.", - "items": { - "$ref": "MatchingCriteria" - }, - "type": "array" - }, - "name": { - "description": "Required. The resource name of the trigger. Must be unique within the location on the project and must in `projects/{project}/locations/{location}/triggers/{trigger}` format.", - "type": "string" - }, - "serviceAccount": { - "description": "Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have 'eventarc.events.receiveAuditLogV1Written' permission.", - "type": "string" - }, - "transport": { - "$ref": "Transport", - "description": "Output only. In order to deliver messages, Eventarc may use other Google Cloud products as transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.", - "readOnly": true - }, - "updateTime": { - "description": "Output only. The last-modified time.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Eventarc API", - "version": "v1beta1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/fcmdata-v1beta1.json b/discovery/fcmdata-v1beta1.json index 46e105a14c1..a4cf5c50059 100644 --- a/discovery/fcmdata-v1beta1.json +++ b/discovery/fcmdata-v1beta1.json @@ -154,7 +154,7 @@ } } }, - "revision": "20240626", + "revision": "20240605", "rootUrl": "https://fcmdata.googleapis.com/", "schemas": { "GoogleFirebaseFcmDataV1beta1AndroidDeliveryData": { diff --git a/discovery/firebaseapphosting-v1.json b/discovery/firebaseapphosting-v1.json new file mode 100644 index 00000000000..2b2d611f286 --- /dev/null +++ b/discovery/firebaseapphosting-v1.json @@ -0,0 +1,2642 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://firebaseapphosting.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Firebase App Hosting", + "description": "Firebase App Hosting streamlines the development and deployment of dynamic Next.js and Angular applications, offering built-in framework support, GitHub integration, and integration with other Firebase products. You can use this API to intervene in the Firebase App Hosting build process and add custom functionality not supported in our default Console & CLI flows, including triggering builds from external CI/CD workflows or deploying from pre-built container images. ", + "discoveryVersion": "v1", + "documentationLink": "https://firebase.google.com/docs/app-hosting", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "firebaseapphosting:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://firebaseapphosting.mtls.googleapis.com/", + "name": "firebaseapphosting", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "extraLocationTypes": { + "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", + "location": "query", + "repeated": true, + "type": "string" + }, + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "backends": { + "methods": { + "create": { + "description": "Creates a new backend in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends", + "httpMethod": "POST", + "id": "firebaseapphosting.projects.locations.backends.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "backendId": { + "description": "Required. Id of the backend. Also used as the service ID for Cloud Run, and as part of the default domain name.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. A parent name of the form `projects/{project}/locations/{locationId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/backends", + "request": { + "$ref": "Backend" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single backend.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", + "httpMethod": "DELETE", + "id": "firebaseapphosting.projects.locations.backends.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "etag": { + "description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", + "location": "query", + "type": "string" + }, + "force": { + "description": "Optional. If set to true, any resources for this backend will also be deleted. Otherwise, any children resources will block deletion.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets information about a backend.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Backend" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists backends in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. A parent name of the form `projects/{project}/locations/{locationId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "showDeleted": { + "description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/backends", + "response": { + "$ref": "ListBackendsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the information for a single backend.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", + "httpMethod": "PATCH", + "id": "firebaseapphosting.projects.locations.backends.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the backend is not found, a new backend will be created.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Identifier. The resource name of the backend. Format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the backend resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Backend" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "builds": { + "methods": { + "create": { + "description": "Creates a new build for a backend.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds", + "httpMethod": "POST", + "id": "firebaseapphosting.projects.locations.backends.builds.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "buildId": { + "description": "Required. Desired ID of the build being created.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/builds", + "request": { + "$ref": "Build" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single build.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds/{buildsId}", + "httpMethod": "DELETE", + "id": "firebaseapphosting.projects.locations.backends.builds.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "etag": { + "description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/builds/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets information about a build.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds/{buildsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.builds.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/builds/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Build" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists builds in a given project, location, and backend.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.builds.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent backend in the form `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "showDeleted": { + "description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/builds", + "response": { + "$ref": "ListBuildsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "domains": { + "methods": { + "create": { + "description": "Links a new domain to a backend.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains", + "httpMethod": "POST", + "id": "firebaseapphosting.projects.locations.backends.domains.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "domainId": { + "description": "Required. Id of the domain to create. Must be a valid domain name.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/domains", + "request": { + "$ref": "Domain" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single domain.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", + "httpMethod": "DELETE", + "id": "firebaseapphosting.projects.locations.backends.domains.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "etag": { + "description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets information about a domain.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.domains.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Domain" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists domains of a backend.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.domains.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "showDeleted": { + "description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/domains", + "response": { + "$ref": "ListDomainsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the information for a single domain.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", + "httpMethod": "PATCH", + "id": "firebaseapphosting.projects.locations.backends.domains.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the domain is not found, a new domain will be created.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the Domain resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or modifying any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Domain" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "rollouts": { + "methods": { + "create": { + "description": "Creates a new rollout for a backend.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts", + "httpMethod": "POST", + "id": "firebaseapphosting.projects.locations.backends.rollouts.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "rolloutId": { + "description": "Optional. Desired ID of the rollout being created.", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/rollouts", + "request": { + "$ref": "Rollout" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets information about a rollout.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts/{rolloutsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.rollouts.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/rollouts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Rollout" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists rollouts for a backend.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.rollouts.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "showDeleted": { + "description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/rollouts", + "response": { + "$ref": "ListRolloutsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "traffic": { + "methods": { + "get": { + "description": "Gets information about a backend's traffic.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/traffic", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.traffic.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/traffic$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Traffic" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a backend's traffic.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/traffic", + "httpMethod": "PATCH", + "id": "firebaseapphosting.projects.locations.backends.traffic.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The resource name of the backend's traffic. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/traffic$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the traffic resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Traffic" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "firebaseapphosting.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "firebaseapphosting.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20250501", + "rootUrl": "https://firebaseapphosting.googleapis.com/", + "schemas": { + "Backend": { + "description": "A backend is the primary resource of App Hosting.", + "id": "Backend", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", + "type": "object" + }, + "appId": { + "description": "Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the backend.", + "type": "string" + }, + "codebase": { + "$ref": "Codebase", + "description": "Optional. If specified, the connection to an external source repository to watch for event-driven updates to the backend." + }, + "createTime": { + "description": "Output only. Time at which the backend was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. Time at which the backend was deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Optional. Human-readable name. 63 character limit.", + "type": "string" + }, + "environment": { + "description": "Optional. The environment name of the backend, used to load environment variables from environment specific configuration.", + "type": "string" + }, + "etag": { + "description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", + "type": "object" + }, + "managedResources": { + "description": "Output only. A list of the resources managed by this backend.", + "items": { + "$ref": "ManagedResource" + }, + "readOnly": true, + "type": "array" + }, + "mode": { + "deprecated": true, + "description": "Optional. Deprecated: Use `environment` instead.", + "type": "string" + }, + "name": { + "description": "Identifier. The resource name of the backend. Format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "type": "string" + }, + "reconciling": { + "description": "Output only. A field that, if true, indicates that the system is working to make adjustments to the backend during a LRO.", + "readOnly": true, + "type": "boolean" + }, + "serviceAccount": { + "description": "Required. The name of the service account used for Cloud Build and Cloud Run. Should have the role roles/firebaseapphosting.computeRunner or equivalent permissions.", + "type": "string" + }, + "servingLocality": { + "description": "Required. Immutable. Specifies how App Hosting will serve the content for this backend. It will either be contained to a single region (REGIONAL_STRICT) or allowed to use App Hosting's global-replicated serving infrastructure (GLOBAL_ACCESS).", + "enum": [ + "SERVING_LOCALITY_UNSPECIFIED", + "REGIONAL_STRICT", + "GLOBAL_ACCESS" + ], + "enumDescriptions": [ + "Unspecified. Will return an error if used.", + "In this mode, App Hosting serves your backend's content from your chosen parent region. App Hosting only maintains data and serving infrastructure in that chosen region and does not replicate your data to other regions.", + "In this mode, App Hosting serves your backend's content from multiple points-of-presence (POP) across the globe. App Hosting replicates your backend's configuration and cached data to these POPs and uses a global CDN to further decrease response latency. App Hosting-maintained Cloud Resources on your project, such as Cloud Run services, Cloud Build build, and Artifact Registry Images are still confined to your backend's parent region. Responses cached by the CDN may be stored in the POPs for the duration of the cache's TTL." + ], + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned, unique identifier.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the backend was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. The primary URI to communicate with the backend.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Build": { + "description": "A single build for a backend, at a specific point codebase reference tag and point in time. Encapsulates several resources, including an Artifact Registry container image, a Cloud Build invocation that built the image, and the Cloud Run revision that uses that image.", + "id": "Build", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", + "type": "object" + }, + "buildLogsUri": { + "description": "Output only. The location of the [Cloud Build logs](https://cloud.google.com/build/docs/view-build-results) for the build process.", + "readOnly": true, + "type": "string" + }, + "config": { + "$ref": "Config", + "description": "Optional. Additional configuration of the service." + }, + "createTime": { + "description": "Output only. Time at which the build was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. Time at which the build was deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Optional. Human-readable name. 63 character limit.", + "type": "string" + }, + "environment": { + "description": "Output only. The environment name of the backend when this build was created.", + "readOnly": true, + "type": "string" + }, + "errors": { + "description": "Output only. A list of all errors that occurred during an App Hosting build.", + "items": { + "$ref": "Error" + }, + "readOnly": true, + "type": "array" + }, + "etag": { + "description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", + "readOnly": true, + "type": "string" + }, + "image": { + "description": "Output only. The Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) URI, used by the Cloud Run [`revision`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services.revisions) for this build.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", + "type": "object" + }, + "name": { + "description": "Identifier. The resource name of the build. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", + "type": "string" + }, + "reconciling": { + "description": "Output only. A field that, if true, indicates that the build has an ongoing LRO.", + "readOnly": true, + "type": "boolean" + }, + "source": { + "$ref": "BuildSource", + "description": "Required. Immutable. The source for the build." + }, + "state": { + "description": "Output only. The state of the build.", + "enum": [ + "STATE_UNSPECIFIED", + "BUILDING", + "BUILT", + "DEPLOYING", + "READY", + "FAILED" + ], + "enumDescriptions": [ + "The build is in an unknown state.", + "The build is building.", + "The build has completed and is awaiting the next step. This may move to DEPLOYING once App Hosting starts to set up infrastructure.", + "The infrastructure for this build is being set up.", + "The infrastructure for this build is ready. The build may or may not be serving traffic - see `Backend.traffic` for the current state, or `Backend.traffic_statuses` for the desired state.", + "The build has failed." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned, unique identifier.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the build was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "BuildSource": { + "description": "The source for the build.", + "id": "BuildSource", + "properties": { + "codebase": { + "$ref": "CodebaseSource", + "description": "A codebase source." + }, + "container": { + "$ref": "ContainerSource", + "description": "An Artifact Registry container image source." + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "Codebase": { + "description": "The connection to an external source repository to watch for event-driven updates to the backend.", + "id": "Codebase", + "properties": { + "repository": { + "description": "Required. The resource name for the Developer Connect [`gitRepositoryLink`](https://cloud.google.com/developer-connect/docs/api/reference/rest/v1/projects.locations.connections.gitRepositoryLinks) connected to this backend, in the format: `projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{repositoryLink}` The connection for the `gitRepositoryLink` must made be using the Firebase App Hosting GitHub App via the Firebase Console.", + "type": "string" + }, + "rootDirectory": { + "description": "Optional. If `repository` is provided, the directory relative to the root of the repository to use as the root for the deployed web app.", + "type": "string" + } + }, + "type": "object" + }, + "CodebaseSource": { + "description": "A codebase source, representing the state of the codebase that the build will be created at.", + "id": "CodebaseSource", + "properties": { + "author": { + "$ref": "UserMetadata", + "description": "Output only. The author contained in the metadata of a version control change.", + "readOnly": true + }, + "branch": { + "description": "The branch in the codebase to build from, using the latest commit.", + "type": "string" + }, + "commit": { + "description": "The commit in the codebase to build from.", + "type": "string" + }, + "commitMessage": { + "description": "Output only. The message of a codebase change.", + "readOnly": true, + "type": "string" + }, + "commitTime": { + "description": "Output only. The time the change was made.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Output only. The human-friendly name to use for this Codebase when displaying a build. We use the first eight characters of the SHA-1 hash for GitHub.com.", + "readOnly": true, + "type": "string" + }, + "hash": { + "description": "Output only. The full SHA-1 hash of a Git commit, if available.", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. A URI linking to the codebase on an hosting provider's website. May not be valid if the commit has been rebased or force-pushed out of existence in the linked repository.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Config": { + "description": "Additional configuration of the backend for this build.", + "id": "Config", + "properties": { + "env": { + "description": "Optional. Environment variables for this build.", + "items": { + "$ref": "EnvironmentVariable" + }, + "type": "array" + }, + "runConfig": { + "$ref": "RunConfig", + "description": "Optional. Additional configuration of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service)." + } + }, + "type": "object" + }, + "ContainerSource": { + "description": "The URI of an Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) to use as the build source.", + "id": "ContainerSource", + "properties": { + "image": { + "description": "Required. A URI representing a container for the backend to use.", + "type": "string" + } + }, + "type": "object" + }, + "CustomDomainOperationMetadata": { + "description": "Additional metadata for operations on custom domains.", + "id": "CustomDomainOperationMetadata", + "properties": { + "certState": { + "description": "Output only. The custom domain's `CertState`, which must be `CERT_ACTIVE` for the create operations to complete.", + "enum": [ + "CERT_STATE_UNSPECIFIED", + "CERT_PREPARING", + "CERT_VALIDATING", + "CERT_PROPAGATING", + "CERT_ACTIVE", + "CERT_EXPIRING_SOON", + "CERT_EXPIRED" + ], + "enumDescriptions": [ + "The certificate's state is unspecified. The message is invalid if this is unspecified.", + "The initial state of every certificate, represents App Hosting's intent to create a certificate before requests to a Certificate Authority are made.", + "App Hosting is validating whether a domain name's DNS records are in a state that allow certificate creation on its behalf.", + "The certificate was recently created, and needs time to propagate in App Hosting's load balancers.", + "The certificate is active, providing secure connections for the domain names it represents.", + "The certificate is expiring, all domain names on it will be given new certificates.", + "The certificate has expired. App Hosting can no longer serve secure content on your domain name." + ], + "readOnly": true, + "type": "string" + }, + "hostState": { + "description": "Output only. The custom domain's `HostState`, which must be `HOST_ACTIVE` for Create operations of the domain name this `CustomDomain` refers toto complete.", + "enum": [ + "HOST_STATE_UNSPECIFIED", + "HOST_UNHOSTED", + "HOST_UNREACHABLE", + "HOST_NON_FAH", + "HOST_CONFLICT", + "HOST_WRONG_SHARD", + "HOST_ACTIVE" + ], + "enumDescriptions": [ + "Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", + "Your custom domain isn't associated with any IP addresses.", + "Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's IP addresses resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", + "Your domain has only IP addresses that don't ultimately resolve to App Hosting.", + "Your domain has IP addresses that resolve to both App Hosting and to other services. To ensure consistent results, remove `A` and `AAAA` records related to non-App-Hosting services.", + "Your domain has IP addresses that resolve to an incorrect instance of the App Hosting Data Plane. App Hosting has multiple data plane instances to ensure high availability. The SSL certificate that App Hosting creates for your domain is only available on its assigned instance. If your domain's IP addresses resolve to an incorrect instance, App Hosting won't be able to serve secure content on it.", + "All requests against your domain are served by App Hosting, via your domain's assigned shard. If the custom domain's `OwnershipState` is also `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on requests for the domain." + ], + "readOnly": true, + "type": "string" + }, + "issues": { + "description": "Output only. A list of issues that are currently preventing the operation from completing. These are generally DNS-related issues encountered when querying a domain's records or attempting to mint an SSL certificate.", + "items": { + "$ref": "Status" + }, + "readOnly": true, + "type": "array" + }, + "liveMigrationSteps": { + "description": "Output only. A list of steps that the user must complete to migrate their domain to App Hosting without downtime.", + "items": { + "$ref": "LiveMigrationStep" + }, + "readOnly": true, + "type": "array" + }, + "ownershipState": { + "description": "Output only. The custom domain's `OwnershipState`, which must be `OWNERSHIP_ACTIVE` for the create operations to complete.", + "enum": [ + "OWNERSHIP_STATE_UNSPECIFIED", + "OWNERSHIP_MISSING", + "OWNERSHIP_UNREACHABLE", + "OWNERSHIP_MISMATCH", + "OWNERSHIP_CONFLICT", + "OWNERSHIP_PENDING", + "OWNERSHIP_ACTIVE" + ], + "enumDescriptions": [ + "Your custom domain's ownership state is unspecified. This should never happen.", + "Your custom domain's domain has no App-Hosting-related ownership records; no backend is authorized to serve on the domain in this Origin shard.", + "Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's ownership records resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", + "Your custom domain is owned by another App Hosting custom domain. Remove the conflicting records and replace them with records for your current custom domain.", + "Your custom domain has conflicting `TXT` records that indicate ownership by both your current custom domain one or more others. Remove the extraneous ownership records to grant the current custom domain ownership.", + "Your custom domain's DNS records are configured correctly. App Hosting will transfer ownership of your domain to this custom domain within 24 hours.", + "Your custom domain owns its domain." + ], + "readOnly": true, + "type": "string" + }, + "quickSetupUpdates": { + "description": "Output only. A set of DNS record updates to perform, to allow App Hosting to serve secure content on the domain.", + "items": { + "$ref": "DnsUpdates" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "CustomDomainStatus": { + "description": "The status of a custom domain's linkage to a backend.", + "id": "CustomDomainStatus", + "properties": { + "certState": { + "description": "Output only. Tracks SSL certificate status for the domain.", + "enum": [ + "CERT_STATE_UNSPECIFIED", + "CERT_PREPARING", + "CERT_VALIDATING", + "CERT_PROPAGATING", + "CERT_ACTIVE", + "CERT_EXPIRING_SOON", + "CERT_EXPIRED" + ], + "enumDescriptions": [ + "The certificate's state is unspecified. The message is invalid if this is unspecified.", + "The initial state of every certificate, represents App Hosting's intent to create a certificate before requests to a Certificate Authority are made.", + "App Hosting is validating whether a domain name's DNS records are in a state that allow certificate creation on its behalf.", + "The certificate was recently created, and needs time to propagate in App Hosting's load balancers.", + "The certificate is active, providing secure connections for the domain names it represents.", + "The certificate is expiring, all domain names on it will be given new certificates.", + "The certificate has expired. App Hosting can no longer serve secure content on your domain name." + ], + "readOnly": true, + "type": "string" + }, + "hostState": { + "description": "Output only. Tracks whether a custom domain is detected as appropriately directing traffic to App Hosting.", + "enum": [ + "HOST_STATE_UNSPECIFIED", + "HOST_UNHOSTED", + "HOST_UNREACHABLE", + "HOST_NON_FAH", + "HOST_CONFLICT", + "HOST_WRONG_SHARD", + "HOST_ACTIVE" + ], + "enumDescriptions": [ + "Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", + "Your custom domain isn't associated with any IP addresses.", + "Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's IP addresses resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", + "Your domain has only IP addresses that don't ultimately resolve to App Hosting.", + "Your domain has IP addresses that resolve to both App Hosting and to other services. To ensure consistent results, remove `A` and `AAAA` records related to non-App-Hosting services.", + "Your domain has IP addresses that resolve to an incorrect instance of the App Hosting Data Plane. App Hosting has multiple data plane instances to ensure high availability. The SSL certificate that App Hosting creates for your domain is only available on its assigned instance. If your domain's IP addresses resolve to an incorrect instance, App Hosting won't be able to serve secure content on it.", + "All requests against your domain are served by App Hosting, via your domain's assigned shard. If the custom domain's `OwnershipState` is also `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on requests for the domain." + ], + "readOnly": true, + "type": "string" + }, + "issues": { + "description": "Output only. A list of issues with domain configuration. Allows users to self-correct problems with DNS records.", + "items": { + "$ref": "Status" + }, + "readOnly": true, + "type": "array" + }, + "ownershipState": { + "description": "Output only. Tracks whether the backend is permitted to serve content on the domain, based off the domain's DNS records.", + "enum": [ + "OWNERSHIP_STATE_UNSPECIFIED", + "OWNERSHIP_MISSING", + "OWNERSHIP_UNREACHABLE", + "OWNERSHIP_MISMATCH", + "OWNERSHIP_CONFLICT", + "OWNERSHIP_PENDING", + "OWNERSHIP_ACTIVE" + ], + "enumDescriptions": [ + "Your custom domain's ownership state is unspecified. This should never happen.", + "Your custom domain's domain has no App-Hosting-related ownership records; no backend is authorized to serve on the domain in this Origin shard.", + "Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's ownership records resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", + "Your custom domain is owned by another App Hosting custom domain. Remove the conflicting records and replace them with records for your current custom domain.", + "Your custom domain has conflicting `TXT` records that indicate ownership by both your current custom domain one or more others. Remove the extraneous ownership records to grant the current custom domain ownership.", + "Your custom domain's DNS records are configured correctly. App Hosting will transfer ownership of your domain to this custom domain within 24 hours.", + "Your custom domain owns its domain." + ], + "readOnly": true, + "type": "string" + }, + "requiredDnsUpdates": { + "description": "Output only. Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state.", + "items": { + "$ref": "DnsUpdates" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "DnsRecord": { + "description": "A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).", + "id": "DnsRecord", + "properties": { + "domainName": { + "description": "Output only. The domain the record pertains to, e.g. `foo.bar.com.`.", + "readOnly": true, + "type": "string" + }, + "rdata": { + "description": "Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue \"pki.goog\"`.", + "readOnly": true, + "type": "string" + }, + "relevantState": { + "description": "Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.", + "items": { + "enum": [ + "CUSTOM_DOMAIN_STATE_UNSPECIFIED", + "HOST_STATE", + "OWNERSHIP_STATE", + "CERT_STATE" + ], + "enumDescriptions": [ + "This message is invalid if this is unspecified.", + "The custom domain's host state.", + "The custom domain's ownership state.", + "The custom domain's certificate state." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "requiredAction": { + "description": "Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.", + "enum": [ + "NONE", + "ADD", + "REMOVE" + ], + "enumDescriptions": [ + "No action necessary.", + "Add this record to your DNS records.", + "Remove this record from your DNS records." + ], + "readOnly": true, + "type": "string" + }, + "type": { + "description": "Output only. The record's type, which determines what data the record contains.", + "enum": [ + "TYPE_UNSPECIFIED", + "A", + "CNAME", + "TXT", + "AAAA", + "CAA" + ], + "enumDescriptions": [ + "The record's type is unspecified. The message is invalid if this is unspecified.", + "An `A` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). A records determine which IPv4 addresses a domain directs traffic towards.", + "A `CNAME` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `CNAME` or Canonical Name records map a domain to a different, canonical domain. If a `CNAME` record is present, it should be the only record on the domain.", + "A `TXT` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `TXT` records hold arbitrary text data on a domain. Hosting uses `TXT` records to establish which Firebase Project has permission to act on a domain.", + "An AAAA record, as defined in [RFC 3596](https://tools.ietf.org/html/rfc3596) AAAA records determine which IPv6 addresses a domain directs traffic towards.", + "A CAA record, as defined in [RFC 6844](https://tools.ietf.org/html/rfc6844). CAA, or Certificate Authority Authorization, records determine which Certificate Authorities (SSL certificate minting organizations) are authorized to mint a certificate for the domain. App Hosting uses `pki.goog` as its primary CA. CAA records cascade. A CAA record on `foo.com` also applies to `bar.foo.com` unless `bar.foo.com` has its own set of CAA records. CAA records are optional. If a domain and its parents have no CAA records, all CAs are authorized to mint certificates on its behalf. In general, App Hosting only asks you to modify CAA records when doing so is required to unblock SSL cert creation." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "DnsRecordSet": { + "description": "A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.", + "id": "DnsRecordSet", + "properties": { + "checkError": { + "$ref": "Status", + "description": "Output only. An error App Hosting services encountered when querying your domain's DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn't been set up yet.", + "readOnly": true + }, + "domainName": { + "description": "Output only. The domain name the record set pertains to.", + "readOnly": true, + "type": "string" + }, + "records": { + "description": "Output only. Records on the domain.", + "items": { + "$ref": "DnsRecord" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "DnsUpdates": { + "description": "A set of DNS record updates that you should make to allow App Hosting to serve secure content in response to requests against your domain. These updates present the current state of your domain's and related subdomains' DNS records when App Hosting last queried them, and the desired set of records that App Hosting needs to see before your custom domain can be fully active.", + "id": "DnsUpdates", + "properties": { + "checkTime": { + "description": "Output only. The last time App Hosting checked your custom domain's DNS records.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "desired": { + "description": "Output only. The set of DNS records App Hosting needs in order to be able to serve secure content on the domain.", + "items": { + "$ref": "DnsRecordSet" + }, + "readOnly": true, + "type": "array" + }, + "discovered": { + "description": "Output only. The set of DNS records App Hosting discovered when inspecting a domain.", + "items": { + "$ref": "DnsRecordSet" + }, + "readOnly": true, + "type": "array" + }, + "domainName": { + "description": "Output only. The domain name the DNS updates pertain to.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Domain": { + "description": "A domain name that is associated with a backend.", + "id": "Domain", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Annotations as key value pairs.", + "type": "object" + }, + "createTime": { + "description": "Output only. Time at which the domain was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "customDomainStatus": { + "$ref": "CustomDomainStatus", + "description": "Output only. Represents the state and configuration of a `CUSTOM` type domain. It is only present on Domains of that type.", + "readOnly": true + }, + "deleteTime": { + "description": "Output only. Time at which the domain was deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "disabled": { + "description": "Optional. Whether the domain is disabled. Defaults to false.", + "type": "boolean" + }, + "displayName": { + "description": "Optional. Mutable human-readable name for the domain. 63 character limit. e.g. `prod domain`.", + "type": "string" + }, + "etag": { + "description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels as key value pairs.", + "type": "object" + }, + "name": { + "description": "Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`", + "type": "string" + }, + "reconciling": { + "description": "Output only. A field that, if true, indicates that the build has an ongoing LRO.", + "readOnly": true, + "type": "boolean" + }, + "serve": { + "$ref": "ServingBehavior", + "description": "Optional. The serving behavior of the domain. If specified, the domain will serve content other than its backend's live content." + }, + "type": { + "description": "Output only. The type of the domain.", + "enum": [ + "TYPE_UNSPECIFIED", + "DEFAULT", + "CUSTOM" + ], + "enumDescriptions": [ + "The type is unspecified (this should not happen).", + "Default, App Hosting-provided and managed domains. These domains are created automatically with their parent backend and cannot be deleted except by deleting that parent, and cannot be moved to another backend. Default domains can be disabled via the `disabled` field.", + "Custom, developer-owned domains. Custom Domains allow you to associate a domain you own with your App Hosting backend, and configure that domain to serve your backend's content." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned, unique identifier.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the domain was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "DomainOperationMetadata": { + "description": "Represents the metadata of a long-running operation on domains.", + "id": "DomainOperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "customDomainOperationMetadata": { + "$ref": "CustomDomainOperationMetadata", + "description": "Output only. Additional metadata for operations on custom domains.", + "readOnly": true + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "EnvironmentVariable": { + "description": "Environment variables for this build.", + "id": "EnvironmentVariable", + "properties": { + "availability": { + "description": "Optional. Where this variable should be made available. If left unspecified, will be available in both BUILD and BACKEND.", + "items": { + "enum": [ + "AVAILABILITY_UNSPECIFIED", + "BUILD", + "RUNTIME" + ], + "enumDescriptions": [ + "The default value, unspecified, which is unused.", + "This value is available when creating a Build from source code.", + "This value is available at runtime within Cloud Run." + ], + "type": "string" + }, + "type": "array" + }, + "secret": { + "description": "A fully qualified secret version. The value of the secret will be accessed once while building the application and once per cold start of the container at runtime. The service account used by Cloud Build and by Cloud Run must each have the `secretmanager.versions.access` permission on the secret.", + "type": "string" + }, + "value": { + "description": "A plaintext value. This value is encrypted at rest, but all project readers can view the value when reading your backend configuration.", + "type": "string" + }, + "variable": { + "description": "Required. The name of the environment variable. - Must be a valid environment variable name (e.g. A-Z or underscores). - May not start with \"FIREBASE\" or \"GOOGLE\". - May not be a reserved environment variable for KNative/Cloud Run", + "type": "string" + } + }, + "type": "object" + }, + "Error": { + "description": "The container for the rpc status and source for any errors found during the build process.", + "id": "Error", + "properties": { + "cloudResource": { + "description": "Output only. Resource link", + "readOnly": true, + "type": "string" + }, + "error": { + "$ref": "Status", + "description": "Output only. A status and (human readable) error message for the build, if in a `FAILED` state.", + "readOnly": true + }, + "errorSource": { + "description": "Output only. The source of the error for the build, if in a `FAILED` state.", + "enum": [ + "ERROR_SOURCE_UNSPECIFIED", + "CLOUD_BUILD", + "CLOUD_RUN" + ], + "enumDescriptions": [ + "Indicates that generic error occurred outside of the Cloud Build or Cloud Run processes, such as a pre-empted or user-canceled App Hosting Build.", + "Indicates that the build failed during the Cloud Build process, such as a build timeout.", + "Indicates that the build failed during the Cloud Run process, such as a service creation failure." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ListBackendsResponse": { + "description": "Message for response to list backends", + "id": "ListBackendsResponse", + "properties": { + "backends": { + "description": "The list of backends", + "items": { + "$ref": "Backend" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying the next page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListBuildsResponse": { + "description": "Message for response to list builds.", + "id": "ListBuildsResponse", + "properties": { + "builds": { + "description": "The list of builds.", + "items": { + "$ref": "Build" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying the next page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListDomainsResponse": { + "description": "Message for response to list domains.", + "id": "ListDomainsResponse", + "properties": { + "domains": { + "description": "Output only. The list of domains.", + "items": { + "$ref": "Domain" + }, + "readOnly": true, + "type": "array" + }, + "nextPageToken": { + "description": "Output only. A token identifying the next page of results the server should return.", + "readOnly": true, + "type": "string" + }, + "unreachable": { + "description": "Output only. Locations that could not be reached.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListRolloutsResponse": { + "description": "Message for response to list rollouts.", + "id": "ListRolloutsResponse", + "properties": { + "nextPageToken": { + "description": "A token identifying the next page of results the server should return.", + "type": "string" + }, + "rollouts": { + "description": "The list of rollouts.", + "items": { + "$ref": "Rollout" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "LiveMigrationStep": { + "description": "A set of updates including ACME challenges and DNS records that allow App Hosting to create an SSL certificate and establish project ownership for your domain name before you direct traffic to App Hosting servers. Use these updates to facilitate zero downtime migrations to App Hosting from other services. After you've made the recommended updates, check your custom domain's `ownershipState` and `certState`. To avoid downtime, they should be `OWNERSHIP_ACTIVE` and `CERT_ACTIVE`, respectively, before you update your `A` and `AAAA` records.", + "id": "LiveMigrationStep", + "properties": { + "dnsUpdates": { + "description": "Output only. DNS updates to facilitate your domain's zero-downtime migration to App Hosting.", + "items": { + "$ref": "DnsUpdates" + }, + "readOnly": true, + "type": "array" + }, + "issues": { + "description": "Output only. Issues that prevent the current step from completing.", + "items": { + "$ref": "Status" + }, + "readOnly": true, + "type": "array" + }, + "relevantDomainStates": { + "description": "Output only. One or more states from the `CustomDomainStatus` of the migrating domain that this step is attempting to make ACTIVE. For example, if the step is attempting to mint an SSL certificate, this field will include `CERT_STATE`.", + "items": { + "enum": [ + "CUSTOM_DOMAIN_STATE_UNSPECIFIED", + "HOST_STATE", + "OWNERSHIP_STATE", + "CERT_STATE" + ], + "enumDescriptions": [ + "This message is invalid if this is unspecified.", + "The custom domain's host state.", + "The custom domain's ownership state.", + "The custom domain's certificate state." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "stepState": { + "description": "Output only. The state of the live migration step, indicates whether you should work to complete the step now, in the future, or have already completed it.", + "enum": [ + "STEP_STATE_UNSPECIFIED", + "PREPARING", + "PENDING", + "INCOMPLETE", + "PROCESSING", + "COMPLETE" + ], + "enumDescriptions": [ + "The step's state is unspecified. The message is invalid if this is unspecified.", + "App Hosting doesn't have enough information to construct the step yet. Complete any prior steps and/or resolve this step's issue to proceed.", + "The step's state is pending. Complete prior steps before working on a `PENDING` step.", + "The step is incomplete. You should complete any `dnsUpdates` changes to complete it.", + "You've done your part to update records and present challenges as necessary. App Hosting is now completing background processes to complete the step, e.g. minting an SSL cert for your domain.", + "The step is complete. You've already made the necessary changes to your domain and/or prior hosting service to advance to the next step. Once all steps are complete, App Hosting is ready to serve secure content on your domain." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents a Google Cloud location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "ManagedResource": { + "description": "An external resource managed by App Hosting on the project.", + "id": "ManagedResource", + "properties": { + "runService": { + "$ref": "RunService", + "description": "A Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), managed by App Hosting." + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of a long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Redirect": { + "description": "Specifies redirect behavior for a domain.", + "id": "Redirect", + "properties": { + "status": { + "description": "Optional. The status code to use in a redirect response. Must be a valid HTTP 3XX status code. Defaults to 302 if not present.", + "format": "int64", + "type": "string" + }, + "uri": { + "description": "Required. The URI of the redirect's intended destination. This URI will be prepended to the original request path. URI without a scheme are assumed to be HTTPS.", + "type": "string" + } + }, + "type": "object" + }, + "Rollout": { + "description": "A single rollout of a build for a backend.", + "id": "Rollout", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", + "type": "object" + }, + "build": { + "description": "Immutable. The name of a build that already exists. It doesn't have to be built; a rollout will wait for a build to be ready before updating traffic.", + "type": "string" + }, + "createTime": { + "description": "Output only. Time at which the rollout was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. Time at which the rollout was deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Optional. Human-readable name. 63 character limit.", + "type": "string" + }, + "error": { + "$ref": "Status", + "description": "Output only. A status and (human readable) error message for the rollout, if in a `FAILED` state.", + "readOnly": true + }, + "etag": { + "description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", + "type": "object" + }, + "name": { + "description": "Identifier. The resource name of the rollout. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`.", + "type": "string" + }, + "reconciling": { + "description": "Output only. A field that, if true, indicates that the Rollout currently has an LRO.", + "readOnly": true, + "type": "boolean" + }, + "state": { + "description": "Output only. The state of the rollout.", + "enum": [ + "STATE_UNSPECIFIED", + "QUEUED", + "PENDING_BUILD", + "PROGRESSING", + "PAUSED", + "SUCCEEDED", + "FAILED", + "CANCELLED" + ], + "enumDescriptions": [ + "The rollout is in an unknown state.", + "The rollout is waiting for actuation to begin. This may be because it is waiting on another rollout to complete.", + "The rollout is waiting for the build process to complete, which builds the code and sets up the underlying infrastructure.", + "The rollout has started and is actively modifying traffic.", + "The rollout has been paused due to either being manually paused or a PAUSED stage. This should be set while `paused = true`.", + "The rollout has completed.", + "The rollout has failed. See error for more information.", + "The rollout has been cancelled." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned, unique identifier.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the rollout was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "RolloutPolicy": { + "description": "The policy for how automatic builds and rollouts are triggered and rolled out.", + "id": "RolloutPolicy", + "properties": { + "codebaseBranch": { + "description": "If set, specifies a branch that triggers a new build to be started with this policy. Otherwise, no automatic rollouts will happen.", + "type": "string" + }, + "disabled": { + "description": "Optional. A flag that, if true, prevents automatic rollouts from being created via this RolloutPolicy.", + "type": "boolean" + }, + "disabledTime": { + "description": "Output only. If `disabled` is set, the time at which the automatic rollouts were disabled.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "RunConfig": { + "description": "Additional configuration to apply to the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service).", + "id": "RunConfig", + "properties": { + "concurrency": { + "description": "Optional. Maximum number of requests that each Cloud Run instance can receive. By default, each instance can receive Cloud Run's default of up to 80 requests at the same time. Concurrency can be set to any integer value up to 1000.", + "format": "int32", + "type": "integer" + }, + "cpu": { + "description": "Optional. Number of CPUs used for each serving instance. By default, cpu defaults to the Cloud Run's default of 1.0. CPU can be set to value 1, 2, 4, 6, or 8 CPUs, and for less than 1 CPU, a value from 0.08 to less than 1.00, in increments of 0.01. If you set a value of less than 1 CPU, you must set concurrency to 1, and CPU will only be allocated during request processing. Increasing CPUs limit may require increase in memory limits: - 4 CPUs: at least 2 GiB - 6 CPUs: at least 4 GiB - 8 CPUs: at least 4 GiB", + "format": "float", + "type": "number" + }, + "maxInstances": { + "description": "Optional. Number of Cloud Run instances to maintain at maximum for each revision. By default, each Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service) scales out to Cloud Run's default of a maximum of 100 instances. The maximum max_instances limit is based on your quota. See https://cloud.google.com/run/docs/configuring/max-instances#limits.", + "format": "int32", + "type": "integer" + }, + "memoryMib": { + "description": "Optional. Amount of memory allocated for each serving instance in MiB. By default, memory defaults to the Cloud Run's default where each instance is allocated 512 MiB of memory. Memory can be set to any integer value between 128 to 32768. Increasing memory limit may require increase in CPUs limits: - Over 4 GiB: at least 2 CPUs - Over 8 GiB: at least 4 CPUs - Over 16 GiB: at least 6 CPUs - Over 24 GiB: at least 8 CPUs", + "format": "int32", + "type": "integer" + }, + "minInstances": { + "description": "Optional. Number of Cloud Run instances to maintain at minimum for each Cloud Run Service. By default, there are no minimum. Even if the service splits traffic across multiple revisions, the total number of instances for a service will be capped at this value.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "RunService": { + "description": "A managed Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service).", + "id": "RunService", + "properties": { + "service": { + "description": "Optional. The name of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), in the format: `projects/{project}/locations/{location}/services/{serviceId}`", + "type": "string" + } + }, + "type": "object" + }, + "ServingBehavior": { + "description": "Indicates whether App Hosting will serve content on the domain.", + "id": "ServingBehavior", + "properties": { + "redirect": { + "$ref": "Redirect", + "description": "Optional. Redirect behavior for a domain, if provided." + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "Traffic": { + "description": "Controls traffic configuration for the backend.", + "id": "Traffic", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", + "type": "object" + }, + "createTime": { + "description": "Output only. Time at which the backend was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "current": { + "$ref": "TrafficSet", + "description": "Output only. Current state of traffic allocation for the backend. When setting `target`, this field may differ for some time until the desired state is reached.", + "readOnly": true + }, + "etag": { + "description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", + "type": "object" + }, + "name": { + "description": "Identifier. The resource name of the backend's traffic. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", + "type": "string" + }, + "reconciling": { + "description": "Output only. A field that, if true, indicates that the system is working to make the backend's `current` match the requested `target` list.", + "readOnly": true, + "type": "boolean" + }, + "rolloutPolicy": { + "$ref": "RolloutPolicy", + "description": "A rollout policy specifies how new builds and automatic deployments are created." + }, + "target": { + "$ref": "TrafficSet", + "description": "Set to manually control the desired traffic for the backend. This will cause `current` to eventually match this value. The percentages must add up to 100%." + }, + "uid": { + "description": "Output only. System-assigned, unique identifier.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the backend was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "TrafficSet": { + "description": "A list of traffic splits that together represent where traffic is being routed.", + "id": "TrafficSet", + "properties": { + "splits": { + "description": "Required. The list of traffic splits.", + "items": { + "$ref": "TrafficSplit" + }, + "type": "array" + } + }, + "type": "object" + }, + "TrafficSplit": { + "description": "The traffic allocation for the backend.", + "id": "TrafficSplit", + "properties": { + "build": { + "description": "Required. The build that traffic is being routed to.", + "type": "string" + }, + "percent": { + "description": "Required. The percentage of traffic to send to the build. Currently must be 100% or 0%.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "UserMetadata": { + "description": "Version control metadata for a user associated with a resolved codebase. Currently assumes a Git user.", + "id": "UserMetadata", + "properties": { + "displayName": { + "description": "Output only. The 'name' field in a Git user's git.config. Required by Git.", + "readOnly": true, + "type": "string" + }, + "email": { + "description": "Output only. The 'email' field in a Git user's git.config, if available.", + "readOnly": true, + "type": "string" + }, + "imageUri": { + "description": "Output only. The URI of an image file associated with the user's account in an external source control provider, if available.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Firebase App Hosting API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/firebaseapphosting-v1beta.json b/discovery/firebaseapphosting-v1beta.json new file mode 100644 index 00000000000..f9655ad5254 --- /dev/null +++ b/discovery/firebaseapphosting-v1beta.json @@ -0,0 +1,2714 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://firebaseapphosting.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Firebase App Hosting", + "description": "Firebase App Hosting streamlines the development and deployment of dynamic Next.js and Angular applications, offering built-in framework support, GitHub integration, and integration with other Firebase products. You can use this API to intervene in the Firebase App Hosting build process and add custom functionality not supported in our default Console & CLI flows, including triggering builds from external CI/CD workflows or deploying from pre-built container images. ", + "discoveryVersion": "v1", + "documentationLink": "https://firebase.google.com/docs/app-hosting", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "firebaseapphosting:v1beta", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://firebaseapphosting.mtls.googleapis.com/", + "name": "firebaseapphosting", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1beta/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "extraLocationTypes": { + "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", + "location": "query", + "repeated": true, + "type": "string" + }, + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "backends": { + "methods": { + "create": { + "description": "Creates a new backend in a given project and location.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends", + "httpMethod": "POST", + "id": "firebaseapphosting.projects.locations.backends.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "backendId": { + "description": "Required. Id of the backend. Also used as the service ID for Cloud Run, and as part of the default domain name.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. A parent name of the form `projects/{project}/locations/{locationId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+parent}/backends", + "request": { + "$ref": "Backend" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single backend.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", + "httpMethod": "DELETE", + "id": "firebaseapphosting.projects.locations.backends.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "etag": { + "description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", + "location": "query", + "type": "string" + }, + "force": { + "description": "Optional. If set to true, any resources for this backend will also be deleted. Otherwise, any children resources will block deletion.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets information about a backend.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Backend" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists backends in a given project and location.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. A parent name of the form `projects/{project}/locations/{locationId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "showDeleted": { + "description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+parent}/backends", + "response": { + "$ref": "ListBackendsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the information for a single backend.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", + "httpMethod": "PATCH", + "id": "firebaseapphosting.projects.locations.backends.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the backend is not found, a new backend will be created.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Identifier. The resource name of the backend. Format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the backend resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+name}", + "request": { + "$ref": "Backend" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "builds": { + "methods": { + "create": { + "description": "Creates a new build for a backend.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds", + "httpMethod": "POST", + "id": "firebaseapphosting.projects.locations.backends.builds.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "buildId": { + "description": "Required. Desired ID of the build being created.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+parent}/builds", + "request": { + "$ref": "Build" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single build.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds/{buildsId}", + "httpMethod": "DELETE", + "id": "firebaseapphosting.projects.locations.backends.builds.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "etag": { + "description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/builds/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets information about a build.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds/{buildsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.builds.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/builds/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Build" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists builds in a given project, location, and backend.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.builds.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent backend in the form `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "showDeleted": { + "description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+parent}/builds", + "response": { + "$ref": "ListBuildsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "domains": { + "methods": { + "create": { + "description": "Links a new domain to a backend.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains", + "httpMethod": "POST", + "id": "firebaseapphosting.projects.locations.backends.domains.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "domainId": { + "description": "Required. Id of the domain to create. Must be a valid domain name.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+parent}/domains", + "request": { + "$ref": "Domain" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single domain.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", + "httpMethod": "DELETE", + "id": "firebaseapphosting.projects.locations.backends.domains.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "etag": { + "description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets information about a domain.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.domains.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Domain" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists domains of a backend.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.domains.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "showDeleted": { + "description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+parent}/domains", + "response": { + "$ref": "ListDomainsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the information for a single domain.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", + "httpMethod": "PATCH", + "id": "firebaseapphosting.projects.locations.backends.domains.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the domain is not found, a new domain will be created.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the Domain resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or modifying any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+name}", + "request": { + "$ref": "Domain" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "rollouts": { + "methods": { + "create": { + "description": "Creates a new rollout for a backend.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts", + "httpMethod": "POST", + "id": "firebaseapphosting.projects.locations.backends.rollouts.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "rolloutId": { + "description": "Optional. Desired ID of the rollout being created.", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+parent}/rollouts", + "request": { + "$ref": "Rollout" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets information about a rollout.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts/{rolloutsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.rollouts.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/rollouts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Rollout" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists rollouts for a backend.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.rollouts.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", + "required": true, + "type": "string" + }, + "showDeleted": { + "description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+parent}/rollouts", + "response": { + "$ref": "ListRolloutsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "traffic": { + "methods": { + "get": { + "description": "Gets information about a backend's traffic.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/traffic", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.backends.traffic.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/traffic$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Traffic" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a backend's traffic.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/traffic", + "httpMethod": "PATCH", + "id": "firebaseapphosting.projects.locations.backends.traffic.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The resource name of the backend's traffic. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/traffic$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the traffic resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta/{+name}", + "request": { + "$ref": "Traffic" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "firebaseapphosting.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}:cancel", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "firebaseapphosting.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "firebaseapphosting.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20250501", + "rootUrl": "https://firebaseapphosting.googleapis.com/", + "schemas": { + "ArchiveSource": { + "description": "The URI of an storage archive or a signed URL to use as the build source.", + "id": "ArchiveSource", + "properties": { + "author": { + "$ref": "SourceUserMetadata", + "description": "Optional. The author contained in the metadata of a version control change." + }, + "description": { + "description": "Optional. An optional message that describes the uploaded version of the source code.", + "type": "string" + }, + "externalSignedUri": { + "description": "Signed URL to an archive in a storage bucket.", + "type": "string" + }, + "rootDirectory": { + "description": "Optional. Relative path in the archive.", + "type": "string" + }, + "userStorageUri": { + "description": "URI to an archive in Cloud Storage. The object must be a zipped (.zip) or gzipped archive file (.tar.gz) containing source to deploy.", + "type": "string" + } + }, + "type": "object" + }, + "Backend": { + "description": "A backend is the primary resource of App Hosting.", + "id": "Backend", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", + "type": "object" + }, + "appId": { + "description": "Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the backend.", + "type": "string" + }, + "codebase": { + "$ref": "Codebase", + "description": "Optional. If specified, the connection to an external source repository to watch for event-driven updates to the backend." + }, + "createTime": { + "description": "Output only. Time at which the backend was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. Time at which the backend was deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Optional. Human-readable name. 63 character limit.", + "type": "string" + }, + "environment": { + "description": "Optional. The environment name of the backend, used to load environment variables from environment specific configuration.", + "type": "string" + }, + "etag": { + "description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", + "type": "object" + }, + "managedResources": { + "description": "Output only. A list of the resources managed by this backend.", + "items": { + "$ref": "ManagedResource" + }, + "readOnly": true, + "type": "array" + }, + "mode": { + "deprecated": true, + "description": "Optional. Deprecated: Use `environment` instead.", + "type": "string" + }, + "name": { + "description": "Identifier. The resource name of the backend. Format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", + "type": "string" + }, + "reconciling": { + "description": "Output only. A field that, if true, indicates that the system is working to make adjustments to the backend during a LRO.", + "readOnly": true, + "type": "boolean" + }, + "serviceAccount": { + "description": "Required. The name of the service account used for Cloud Build and Cloud Run. Should have the role roles/firebaseapphosting.computeRunner or equivalent permissions.", + "type": "string" + }, + "servingLocality": { + "description": "Required. Immutable. Specifies how App Hosting will serve the content for this backend. It will either be contained to a single region (REGIONAL_STRICT) or allowed to use App Hosting's global-replicated serving infrastructure (GLOBAL_ACCESS).", + "enum": [ + "SERVING_LOCALITY_UNSPECIFIED", + "REGIONAL_STRICT", + "GLOBAL_ACCESS" + ], + "enumDescriptions": [ + "Unspecified. Will return an error if used.", + "In this mode, App Hosting serves your backend's content from your chosen parent region. App Hosting only maintains data and serving infrastructure in that chosen region and does not replicate your data to other regions.", + "In this mode, App Hosting serves your backend's content from multiple points-of-presence (POP) across the globe. App Hosting replicates your backend's configuration and cached data to these POPs and uses a global CDN to further decrease response latency. App Hosting-maintained Cloud Resources on your project, such as Cloud Run services, Cloud Build build, and Artifact Registry Images are still confined to your backend's parent region. Responses cached by the CDN may be stored in the POPs for the duration of the cache's TTL." + ], + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned, unique identifier.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the backend was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. The primary URI to communicate with the backend.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Build": { + "description": "A single build for a backend, at a specific point codebase reference tag and point in time. Encapsulates several resources, including an Artifact Registry container image, a Cloud Build invocation that built the image, and the Cloud Run revision that uses that image.", + "id": "Build", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", + "type": "object" + }, + "buildLogsUri": { + "description": "Output only. The location of the [Cloud Build logs](https://cloud.google.com/build/docs/view-build-results) for the build process.", + "readOnly": true, + "type": "string" + }, + "config": { + "$ref": "Config", + "description": "Optional. Additional configuration of the service." + }, + "createTime": { + "description": "Output only. Time at which the build was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. Time at which the build was deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Optional. Human-readable name. 63 character limit.", + "type": "string" + }, + "environment": { + "description": "Output only. The environment name of the backend when this build was created.", + "readOnly": true, + "type": "string" + }, + "error": { + "$ref": "Status", + "deprecated": true, + "description": "Output only. A status and (human readable) error message for the build, if in a `FAILED` state. Deprecated. Use `errors` instead.", + "readOnly": true + }, + "errorSource": { + "deprecated": true, + "description": "Output only. The source of the error for the build, if in a `FAILED` state. Deprecated. Use `errors` instead.", + "enum": [ + "ERROR_SOURCE_UNSPECIFIED", + "CLOUD_BUILD", + "CLOUD_RUN" + ], + "enumDescriptions": [ + "Indicates that generic error occurred outside of the Cloud Build or Cloud Run processes, such as a pre-empted or user-canceled App Hosting Build.", + "Indicates that the build failed during the Cloud Build process, such as a build timeout.", + "Indicates that the build failed during the Cloud Run process, such as a service creation failure." + ], + "readOnly": true, + "type": "string" + }, + "errors": { + "description": "Output only. A list of all errors that occurred during an App Hosting build.", + "items": { + "$ref": "Error" + }, + "readOnly": true, + "type": "array" + }, + "etag": { + "description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", + "readOnly": true, + "type": "string" + }, + "image": { + "description": "Output only. The Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) URI, used by the Cloud Run [`revision`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services.revisions) for this build.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", + "type": "object" + }, + "name": { + "description": "Identifier. The resource name of the build. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", + "type": "string" + }, + "reconciling": { + "description": "Output only. A field that, if true, indicates that the build has an ongoing LRO.", + "readOnly": true, + "type": "boolean" + }, + "source": { + "$ref": "BuildSource", + "description": "Required. Immutable. The source for the build." + }, + "state": { + "description": "Output only. The state of the build.", + "enum": [ + "STATE_UNSPECIFIED", + "BUILDING", + "BUILT", + "DEPLOYING", + "READY", + "FAILED" + ], + "enumDescriptions": [ + "The build is in an unknown state.", + "The build is building.", + "The build has completed and is awaiting the next step. This may move to DEPLOYING once App Hosting starts to set up infrastructure.", + "The infrastructure for this build is being set up.", + "The infrastructure for this build is ready. The build may or may not be serving traffic - see `Backend.traffic` for the current state, or `Backend.traffic_statuses` for the desired state.", + "The build has failed." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned, unique identifier.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the build was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "BuildSource": { + "description": "The source for the build.", + "id": "BuildSource", + "properties": { + "archive": { + "$ref": "ArchiveSource", + "description": "An archive source." + }, + "codebase": { + "$ref": "CodebaseSource", + "description": "A codebase source." + }, + "container": { + "$ref": "ContainerSource", + "description": "An Artifact Registry container image source." + } + }, + "type": "object" + }, + "Codebase": { + "description": "The connection to an external source repository to watch for event-driven updates to the backend.", + "id": "Codebase", + "properties": { + "repository": { + "description": "Required. The resource name for the Developer Connect [`gitRepositoryLink`](https://cloud.google.com/developer-connect/docs/api/reference/rest/v1/projects.locations.connections.gitRepositoryLinks) connected to this backend, in the format: `projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{repositoryLink}` The connection for the `gitRepositoryLink` must made be using the Firebase App Hosting GitHub App via the Firebase Console.", + "type": "string" + }, + "rootDirectory": { + "description": "Optional. If `repository` is provided, the directory relative to the root of the repository to use as the root for the deployed web app.", + "type": "string" + } + }, + "type": "object" + }, + "CodebaseSource": { + "description": "A codebase source, representing the state of the codebase that the build will be created at.", + "id": "CodebaseSource", + "properties": { + "author": { + "$ref": "UserMetadata", + "description": "Output only. The author contained in the metadata of a version control change.", + "readOnly": true + }, + "branch": { + "description": "The branch in the codebase to build from, using the latest commit.", + "type": "string" + }, + "commit": { + "description": "The commit in the codebase to build from.", + "type": "string" + }, + "commitMessage": { + "description": "Output only. The message of a codebase change.", + "readOnly": true, + "type": "string" + }, + "commitTime": { + "description": "Output only. The time the change was made.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Output only. The human-friendly name to use for this Codebase when displaying a build. We use the first eight characters of the SHA-1 hash for GitHub.com.", + "readOnly": true, + "type": "string" + }, + "hash": { + "description": "Output only. The full SHA-1 hash of a Git commit, if available.", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. A URI linking to the codebase on an hosting provider's website. May not be valid if the commit has been rebased or force-pushed out of existence in the linked repository.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Config": { + "description": "Additional configuration of the backend for this build.", + "id": "Config", + "properties": { + "env": { + "description": "Optional. Environment variables for this build.", + "items": { + "$ref": "EnvironmentVariable" + }, + "type": "array" + }, + "runConfig": { + "$ref": "RunConfig", + "description": "Optional. Additional configuration of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service)." + } + }, + "type": "object" + }, + "ContainerSource": { + "description": "The URI of an Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) to use as the build source.", + "id": "ContainerSource", + "properties": { + "image": { + "description": "Required. A URI representing a container for the backend to use.", + "type": "string" + } + }, + "type": "object" + }, + "CustomDomainOperationMetadata": { + "description": "Additional metadata for operations on custom domains.", + "id": "CustomDomainOperationMetadata", + "properties": { + "certState": { + "description": "Output only. The custom domain's `CertState`, which must be `CERT_ACTIVE` for the create operations to complete.", + "enum": [ + "CERT_STATE_UNSPECIFIED", + "CERT_PREPARING", + "CERT_VALIDATING", + "CERT_PROPAGATING", + "CERT_ACTIVE", + "CERT_EXPIRING_SOON", + "CERT_EXPIRED" + ], + "enumDescriptions": [ + "The certificate's state is unspecified. The message is invalid if this is unspecified.", + "The initial state of every certificate, represents App Hosting's intent to create a certificate before requests to a Certificate Authority are made.", + "App Hosting is validating whether a domain name's DNS records are in a state that allow certificate creation on its behalf.", + "The certificate was recently created, and needs time to propagate in App Hosting's load balancers.", + "The certificate is active, providing secure connections for the domain names it represents.", + "The certificate is expiring, all domain names on it will be given new certificates.", + "The certificate has expired. App Hosting can no longer serve secure content on your domain name." + ], + "readOnly": true, + "type": "string" + }, + "hostState": { + "description": "Output only. The custom domain's `HostState`, which must be `HOST_ACTIVE` for Create operations of the domain name this `CustomDomain` refers toto complete.", + "enum": [ + "HOST_STATE_UNSPECIFIED", + "HOST_UNHOSTED", + "HOST_UNREACHABLE", + "HOST_NON_FAH", + "HOST_CONFLICT", + "HOST_WRONG_SHARD", + "HOST_ACTIVE" + ], + "enumDescriptions": [ + "Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", + "Your custom domain isn't associated with any IP addresses.", + "Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's IP addresses resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", + "Your domain has only IP addresses that don't ultimately resolve to App Hosting.", + "Your domain has IP addresses that resolve to both App Hosting and to other services. To ensure consistent results, remove `A` and `AAAA` records related to non-App-Hosting services.", + "Your domain has IP addresses that resolve to an incorrect instance of the App Hosting Data Plane. App Hosting has multiple data plane instances to ensure high availability. The SSL certificate that App Hosting creates for your domain is only available on its assigned instance. If your domain's IP addresses resolve to an incorrect instance, App Hosting won't be able to serve secure content on it.", + "All requests against your domain are served by App Hosting, via your domain's assigned shard. If the custom domain's `OwnershipState` is also `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on requests for the domain." + ], + "readOnly": true, + "type": "string" + }, + "issues": { + "description": "Output only. A list of issues that are currently preventing the operation from completing. These are generally DNS-related issues encountered when querying a domain's records or attempting to mint an SSL certificate.", + "items": { + "$ref": "Status" + }, + "readOnly": true, + "type": "array" + }, + "liveMigrationSteps": { + "description": "Output only. A list of steps that the user must complete to migrate their domain to App Hosting without downtime.", + "items": { + "$ref": "LiveMigrationStep" + }, + "readOnly": true, + "type": "array" + }, + "ownershipState": { + "description": "Output only. The custom domain's `OwnershipState`, which must be `OWNERSHIP_ACTIVE` for the create operations to complete.", + "enum": [ + "OWNERSHIP_STATE_UNSPECIFIED", + "OWNERSHIP_MISSING", + "OWNERSHIP_UNREACHABLE", + "OWNERSHIP_MISMATCH", + "OWNERSHIP_CONFLICT", + "OWNERSHIP_PENDING", + "OWNERSHIP_ACTIVE" + ], + "enumDescriptions": [ + "Your custom domain's ownership state is unspecified. This should never happen.", + "Your custom domain's domain has no App-Hosting-related ownership records; no backend is authorized to serve on the domain in this Origin shard.", + "Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's ownership records resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", + "Your custom domain is owned by another App Hosting custom domain. Remove the conflicting records and replace them with records for your current custom domain.", + "Your custom domain has conflicting `TXT` records that indicate ownership by both your current custom domain one or more others. Remove the extraneous ownership records to grant the current custom domain ownership.", + "Your custom domain's DNS records are configured correctly. App Hosting will transfer ownership of your domain to this custom domain within 24 hours.", + "Your custom domain owns its domain." + ], + "readOnly": true, + "type": "string" + }, + "quickSetupUpdates": { + "description": "Output only. A set of DNS record updates to perform, to allow App Hosting to serve secure content on the domain.", + "items": { + "$ref": "DnsUpdates" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "CustomDomainStatus": { + "description": "The status of a custom domain's linkage to a backend.", + "id": "CustomDomainStatus", + "properties": { + "certState": { + "description": "Output only. Tracks SSL certificate status for the domain.", + "enum": [ + "CERT_STATE_UNSPECIFIED", + "CERT_PREPARING", + "CERT_VALIDATING", + "CERT_PROPAGATING", + "CERT_ACTIVE", + "CERT_EXPIRING_SOON", + "CERT_EXPIRED" + ], + "enumDescriptions": [ + "The certificate's state is unspecified. The message is invalid if this is unspecified.", + "The initial state of every certificate, represents App Hosting's intent to create a certificate before requests to a Certificate Authority are made.", + "App Hosting is validating whether a domain name's DNS records are in a state that allow certificate creation on its behalf.", + "The certificate was recently created, and needs time to propagate in App Hosting's load balancers.", + "The certificate is active, providing secure connections for the domain names it represents.", + "The certificate is expiring, all domain names on it will be given new certificates.", + "The certificate has expired. App Hosting can no longer serve secure content on your domain name." + ], + "readOnly": true, + "type": "string" + }, + "hostState": { + "description": "Output only. Tracks whether a custom domain is detected as appropriately directing traffic to App Hosting.", + "enum": [ + "HOST_STATE_UNSPECIFIED", + "HOST_UNHOSTED", + "HOST_UNREACHABLE", + "HOST_NON_FAH", + "HOST_CONFLICT", + "HOST_WRONG_SHARD", + "HOST_ACTIVE" + ], + "enumDescriptions": [ + "Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", + "Your custom domain isn't associated with any IP addresses.", + "Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's IP addresses resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", + "Your domain has only IP addresses that don't ultimately resolve to App Hosting.", + "Your domain has IP addresses that resolve to both App Hosting and to other services. To ensure consistent results, remove `A` and `AAAA` records related to non-App-Hosting services.", + "Your domain has IP addresses that resolve to an incorrect instance of the App Hosting Data Plane. App Hosting has multiple data plane instances to ensure high availability. The SSL certificate that App Hosting creates for your domain is only available on its assigned instance. If your domain's IP addresses resolve to an incorrect instance, App Hosting won't be able to serve secure content on it.", + "All requests against your domain are served by App Hosting, via your domain's assigned shard. If the custom domain's `OwnershipState` is also `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on requests for the domain." + ], + "readOnly": true, + "type": "string" + }, + "issues": { + "description": "Output only. A list of issues with domain configuration. Allows users to self-correct problems with DNS records.", + "items": { + "$ref": "Status" + }, + "readOnly": true, + "type": "array" + }, + "ownershipState": { + "description": "Output only. Tracks whether the backend is permitted to serve content on the domain, based off the domain's DNS records.", + "enum": [ + "OWNERSHIP_STATE_UNSPECIFIED", + "OWNERSHIP_MISSING", + "OWNERSHIP_UNREACHABLE", + "OWNERSHIP_MISMATCH", + "OWNERSHIP_CONFLICT", + "OWNERSHIP_PENDING", + "OWNERSHIP_ACTIVE" + ], + "enumDescriptions": [ + "Your custom domain's ownership state is unspecified. This should never happen.", + "Your custom domain's domain has no App-Hosting-related ownership records; no backend is authorized to serve on the domain in this Origin shard.", + "Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's ownership records resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", + "Your custom domain is owned by another App Hosting custom domain. Remove the conflicting records and replace them with records for your current custom domain.", + "Your custom domain has conflicting `TXT` records that indicate ownership by both your current custom domain one or more others. Remove the extraneous ownership records to grant the current custom domain ownership.", + "Your custom domain's DNS records are configured correctly. App Hosting will transfer ownership of your domain to this custom domain within 24 hours.", + "Your custom domain owns its domain." + ], + "readOnly": true, + "type": "string" + }, + "requiredDnsUpdates": { + "description": "Output only. Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state.", + "items": { + "$ref": "DnsUpdates" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "DnsRecord": { + "description": "A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).", + "id": "DnsRecord", + "properties": { + "domainName": { + "description": "Output only. The domain the record pertains to, e.g. `foo.bar.com.`.", + "readOnly": true, + "type": "string" + }, + "rdata": { + "description": "Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue \"pki.goog\"`.", + "readOnly": true, + "type": "string" + }, + "relevantState": { + "description": "Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.", + "items": { + "enum": [ + "CUSTOM_DOMAIN_STATE_UNSPECIFIED", + "HOST_STATE", + "OWNERSHIP_STATE", + "CERT_STATE" + ], + "enumDescriptions": [ + "This message is invalid if this is unspecified.", + "The custom domain's host state.", + "The custom domain's ownership state.", + "The custom domain's certificate state." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "requiredAction": { + "description": "Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.", + "enum": [ + "NONE", + "ADD", + "REMOVE" + ], + "enumDescriptions": [ + "No action necessary.", + "Add this record to your DNS records.", + "Remove this record from your DNS records." + ], + "readOnly": true, + "type": "string" + }, + "type": { + "description": "Output only. The record's type, which determines what data the record contains.", + "enum": [ + "TYPE_UNSPECIFIED", + "A", + "CNAME", + "TXT", + "AAAA", + "CAA" + ], + "enumDescriptions": [ + "The record's type is unspecified. The message is invalid if this is unspecified.", + "An `A` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). A records determine which IPv4 addresses a domain directs traffic towards.", + "A `CNAME` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `CNAME` or Canonical Name records map a domain to a different, canonical domain. If a `CNAME` record is present, it should be the only record on the domain.", + "A `TXT` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `TXT` records hold arbitrary text data on a domain. Hosting uses `TXT` records to establish which Firebase Project has permission to act on a domain.", + "An AAAA record, as defined in [RFC 3596](https://tools.ietf.org/html/rfc3596) AAAA records determine which IPv6 addresses a domain directs traffic towards.", + "A CAA record, as defined in [RFC 6844](https://tools.ietf.org/html/rfc6844). CAA, or Certificate Authority Authorization, records determine which Certificate Authorities (SSL certificate minting organizations) are authorized to mint a certificate for the domain. App Hosting uses `pki.goog` as its primary CA. CAA records cascade. A CAA record on `foo.com` also applies to `bar.foo.com` unless `bar.foo.com` has its own set of CAA records. CAA records are optional. If a domain and its parents have no CAA records, all CAs are authorized to mint certificates on its behalf. In general, App Hosting only asks you to modify CAA records when doing so is required to unblock SSL cert creation." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "DnsRecordSet": { + "description": "A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.", + "id": "DnsRecordSet", + "properties": { + "checkError": { + "$ref": "Status", + "description": "Output only. An error App Hosting services encountered when querying your domain's DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn't been set up yet.", + "readOnly": true + }, + "domainName": { + "description": "Output only. The domain name the record set pertains to.", + "readOnly": true, + "type": "string" + }, + "records": { + "description": "Output only. Records on the domain.", + "items": { + "$ref": "DnsRecord" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "DnsUpdates": { + "description": "A set of DNS record updates that you should make to allow App Hosting to serve secure content in response to requests against your domain. These updates present the current state of your domain's and related subdomains' DNS records when App Hosting last queried them, and the desired set of records that App Hosting needs to see before your custom domain can be fully active.", + "id": "DnsUpdates", + "properties": { + "checkTime": { + "description": "Output only. The last time App Hosting checked your custom domain's DNS records.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "desired": { + "description": "Output only. The set of DNS records App Hosting needs in order to be able to serve secure content on the domain.", + "items": { + "$ref": "DnsRecordSet" + }, + "readOnly": true, + "type": "array" + }, + "discovered": { + "description": "Output only. The set of DNS records App Hosting discovered when inspecting a domain.", + "items": { + "$ref": "DnsRecordSet" + }, + "readOnly": true, + "type": "array" + }, + "domainName": { + "description": "Output only. The domain name the DNS updates pertain to.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Domain": { + "description": "A domain name that is associated with a backend.", + "id": "Domain", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Annotations as key value pairs.", + "type": "object" + }, + "createTime": { + "description": "Output only. Time at which the domain was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "customDomainStatus": { + "$ref": "CustomDomainStatus", + "description": "Output only. Represents the state and configuration of a `CUSTOM` type domain. It is only present on Domains of that type.", + "readOnly": true + }, + "deleteTime": { + "description": "Output only. Time at which the domain was deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "disabled": { + "description": "Optional. Whether the domain is disabled. Defaults to false.", + "type": "boolean" + }, + "displayName": { + "description": "Optional. Mutable human-readable name for the domain. 63 character limit. e.g. `prod domain`.", + "type": "string" + }, + "etag": { + "description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels as key value pairs.", + "type": "object" + }, + "name": { + "description": "Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`", + "type": "string" + }, + "purgeTime": { + "description": "Output only. Time at which a soft-deleted domain will be purged, rendering in permanently deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "reconciling": { + "description": "Output only. A field that, if true, indicates that the build has an ongoing LRO.", + "readOnly": true, + "type": "boolean" + }, + "serve": { + "$ref": "ServingBehavior", + "description": "Optional. The serving behavior of the domain. If specified, the domain will serve content other than its backend's live content." + }, + "type": { + "description": "Output only. The type of the domain.", + "enum": [ + "TYPE_UNSPECIFIED", + "DEFAULT", + "CUSTOM" + ], + "enumDescriptions": [ + "The type is unspecified (this should not happen).", + "Default, App Hosting-provided and managed domains. These domains are created automatically with their parent backend and cannot be deleted except by deleting that parent, and cannot be moved to another backend. Default domains can be disabled via the `disabled` field.", + "Custom, developer-owned domains. Custom Domains allow you to associate a domain you own with your App Hosting backend, and configure that domain to serve your backend's content." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned, unique identifier.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the domain was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "DomainOperationMetadata": { + "description": "Represents the metadata of a long-running operation on domains.", + "id": "DomainOperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "customDomainOperationMetadata": { + "$ref": "CustomDomainOperationMetadata", + "description": "Output only. Additional metadata for operations on custom domains.", + "readOnly": true + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "EnvironmentVariable": { + "description": "Environment variables for this build.", + "id": "EnvironmentVariable", + "properties": { + "availability": { + "description": "Optional. Where this variable should be made available. If left unspecified, will be available in both BUILD and BACKEND.", + "items": { + "enum": [ + "AVAILABILITY_UNSPECIFIED", + "BUILD", + "RUNTIME" + ], + "enumDescriptions": [ + "The default value, unspecified, which is unused.", + "This value is available when creating a Build from source code.", + "This value is available at runtime within Cloud Run." + ], + "type": "string" + }, + "type": "array" + }, + "secret": { + "description": "A fully qualified secret version. The value of the secret will be accessed once while building the application and once per cold start of the container at runtime. The service account used by Cloud Build and by Cloud Run must each have the `secretmanager.versions.access` permission on the secret.", + "type": "string" + }, + "value": { + "description": "A plaintext value. This value is encrypted at rest, but all project readers can view the value when reading your backend configuration.", + "type": "string" + }, + "variable": { + "description": "Required. The name of the environment variable. - Must be a valid environment variable name (e.g. A-Z or underscores). - May not start with \"FIREBASE\" or \"GOOGLE\". - May not be a reserved environment variable for KNative/Cloud Run", + "type": "string" + } + }, + "type": "object" + }, + "Error": { + "description": "The container for the rpc status and source for any errors found during the build process.", + "id": "Error", + "properties": { + "cloudResource": { + "description": "Output only. Resource link", + "readOnly": true, + "type": "string" + }, + "error": { + "$ref": "Status", + "description": "Output only. A status and (human readable) error message for the build, if in a `FAILED` state.", + "readOnly": true + }, + "errorSource": { + "description": "Output only. The source of the error for the build, if in a `FAILED` state.", + "enum": [ + "ERROR_SOURCE_UNSPECIFIED", + "CLOUD_BUILD", + "CLOUD_RUN" + ], + "enumDescriptions": [ + "Indicates that generic error occurred outside of the Cloud Build or Cloud Run processes, such as a pre-empted or user-canceled App Hosting Build.", + "Indicates that the build failed during the Cloud Build process, such as a build timeout.", + "Indicates that the build failed during the Cloud Run process, such as a service creation failure." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ListBackendsResponse": { + "description": "Message for response to list backends", + "id": "ListBackendsResponse", + "properties": { + "backends": { + "description": "The list of backends", + "items": { + "$ref": "Backend" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying the next page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListBuildsResponse": { + "description": "Message for response to list builds.", + "id": "ListBuildsResponse", + "properties": { + "builds": { + "description": "The list of builds.", + "items": { + "$ref": "Build" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying the next page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListDomainsResponse": { + "description": "Message for response to list domains.", + "id": "ListDomainsResponse", + "properties": { + "domains": { + "description": "Output only. The list of domains.", + "items": { + "$ref": "Domain" + }, + "readOnly": true, + "type": "array" + }, + "nextPageToken": { + "description": "Output only. A token identifying the next page of results the server should return.", + "readOnly": true, + "type": "string" + }, + "unreachable": { + "description": "Output only. Locations that could not be reached.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListRolloutsResponse": { + "description": "Message for response to list rollouts.", + "id": "ListRolloutsResponse", + "properties": { + "nextPageToken": { + "description": "A token identifying the next page of results the server should return.", + "type": "string" + }, + "rollouts": { + "description": "The list of rollouts.", + "items": { + "$ref": "Rollout" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "LiveMigrationStep": { + "description": "A set of updates including ACME challenges and DNS records that allow App Hosting to create an SSL certificate and establish project ownership for your domain name before you direct traffic to App Hosting servers. Use these updates to facilitate zero downtime migrations to App Hosting from other services. After you've made the recommended updates, check your custom domain's `ownershipState` and `certState`. To avoid downtime, they should be `OWNERSHIP_ACTIVE` and `CERT_ACTIVE`, respectively, before you update your `A` and `AAAA` records.", + "id": "LiveMigrationStep", + "properties": { + "dnsUpdates": { + "description": "Output only. DNS updates to facilitate your domain's zero-downtime migration to App Hosting.", + "items": { + "$ref": "DnsUpdates" + }, + "readOnly": true, + "type": "array" + }, + "issues": { + "description": "Output only. Issues that prevent the current step from completing.", + "items": { + "$ref": "Status" + }, + "readOnly": true, + "type": "array" + }, + "relevantDomainStates": { + "description": "Output only. One or more states from the `CustomDomainStatus` of the migrating domain that this step is attempting to make ACTIVE. For example, if the step is attempting to mint an SSL certificate, this field will include `CERT_STATE`.", + "items": { + "enum": [ + "CUSTOM_DOMAIN_STATE_UNSPECIFIED", + "HOST_STATE", + "OWNERSHIP_STATE", + "CERT_STATE" + ], + "enumDescriptions": [ + "This message is invalid if this is unspecified.", + "The custom domain's host state.", + "The custom domain's ownership state.", + "The custom domain's certificate state." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "stepState": { + "description": "Output only. The state of the live migration step, indicates whether you should work to complete the step now, in the future, or have already completed it.", + "enum": [ + "STEP_STATE_UNSPECIFIED", + "PREPARING", + "PENDING", + "INCOMPLETE", + "PROCESSING", + "COMPLETE" + ], + "enumDescriptions": [ + "The step's state is unspecified. The message is invalid if this is unspecified.", + "App Hosting doesn't have enough information to construct the step yet. Complete any prior steps and/or resolve this step's issue to proceed.", + "The step's state is pending. Complete prior steps before working on a `PENDING` step.", + "The step is incomplete. You should complete any `dnsUpdates` changes to complete it.", + "You've done your part to update records and present challenges as necessary. App Hosting is now completing background processes to complete the step, e.g. minting an SSL cert for your domain.", + "The step is complete. You've already made the necessary changes to your domain and/or prior hosting service to advance to the next step. Once all steps are complete, App Hosting is ready to serve secure content on your domain." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents a Google Cloud location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "ManagedResource": { + "description": "An external resource managed by App Hosting on the project.", + "id": "ManagedResource", + "properties": { + "runService": { + "$ref": "RunService", + "description": "A Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), managed by App Hosting." + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of a long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Redirect": { + "description": "Specifies redirect behavior for a domain.", + "id": "Redirect", + "properties": { + "status": { + "description": "Optional. The status code to use in a redirect response. Must be a valid HTTP 3XX status code. Defaults to 302 if not present.", + "format": "int64", + "type": "string" + }, + "uri": { + "description": "Required. The URI of the redirect's intended destination. This URI will be prepended to the original request path. URI without a scheme are assumed to be HTTPS.", + "type": "string" + } + }, + "type": "object" + }, + "Rollout": { + "description": "A single rollout of a build for a backend.", + "id": "Rollout", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", + "type": "object" + }, + "build": { + "description": "Immutable. The name of a build that already exists. It doesn't have to be built; a rollout will wait for a build to be ready before updating traffic.", + "type": "string" + }, + "createTime": { + "description": "Output only. Time at which the rollout was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. Time at which the rollout was deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Optional. Human-readable name. 63 character limit.", + "type": "string" + }, + "error": { + "$ref": "Status", + "description": "Output only. A status and (human readable) error message for the rollout, if in a `FAILED` state.", + "readOnly": true + }, + "etag": { + "description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", + "type": "object" + }, + "name": { + "description": "Identifier. The resource name of the rollout. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`.", + "type": "string" + }, + "reconciling": { + "description": "Output only. A field that, if true, indicates that the Rollout currently has an LRO.", + "readOnly": true, + "type": "boolean" + }, + "state": { + "description": "Output only. The state of the rollout.", + "enum": [ + "STATE_UNSPECIFIED", + "QUEUED", + "PENDING_BUILD", + "PROGRESSING", + "PAUSED", + "SUCCEEDED", + "FAILED", + "CANCELLED" + ], + "enumDescriptions": [ + "The rollout is in an unknown state.", + "The rollout is waiting for actuation to begin. This may be because it is waiting on another rollout to complete.", + "The rollout is waiting for the build process to complete, which builds the code and sets up the underlying infrastructure.", + "The rollout has started and is actively modifying traffic.", + "The rollout has been paused due to either being manually paused or a PAUSED stage. This should be set while `paused = true`.", + "The rollout has completed.", + "The rollout has failed. See error for more information.", + "The rollout has been cancelled." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned, unique identifier.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the rollout was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "RolloutPolicy": { + "description": "The policy for how automatic builds and rollouts are triggered and rolled out.", + "id": "RolloutPolicy", + "properties": { + "codebaseBranch": { + "description": "If set, specifies a branch that triggers a new build to be started with this policy. Otherwise, no automatic rollouts will happen.", + "type": "string" + }, + "disabled": { + "description": "Optional. A flag that, if true, prevents automatic rollouts from being created via this RolloutPolicy.", + "type": "boolean" + }, + "disabledTime": { + "description": "Output only. If `disabled` is set, the time at which the automatic rollouts were disabled.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "RunConfig": { + "description": "Additional configuration to apply to the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service).", + "id": "RunConfig", + "properties": { + "concurrency": { + "description": "Optional. Maximum number of requests that each Cloud Run instance can receive. By default, each instance can receive Cloud Run's default of up to 80 requests at the same time. Concurrency can be set to any integer value up to 1000.", + "format": "int32", + "type": "integer" + }, + "cpu": { + "description": "Optional. Number of CPUs used for each serving instance. By default, cpu defaults to the Cloud Run's default of 1.0. CPU can be set to value 1, 2, 4, 6, or 8 CPUs, and for less than 1 CPU, a value from 0.08 to less than 1.00, in increments of 0.01. If you set a value of less than 1 CPU, you must set concurrency to 1, and CPU will only be allocated during request processing. Increasing CPUs limit may require increase in memory limits: - 4 CPUs: at least 2 GiB - 6 CPUs: at least 4 GiB - 8 CPUs: at least 4 GiB", + "format": "float", + "type": "number" + }, + "maxInstances": { + "description": "Optional. Number of Cloud Run instances to maintain at maximum for each revision. By default, each Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service) scales out to Cloud Run's default of a maximum of 100 instances. The maximum max_instances limit is based on your quota. See https://cloud.google.com/run/docs/configuring/max-instances#limits.", + "format": "int32", + "type": "integer" + }, + "memoryMib": { + "description": "Optional. Amount of memory allocated for each serving instance in MiB. By default, memory defaults to the Cloud Run's default where each instance is allocated 512 MiB of memory. Memory can be set to any integer value between 128 to 32768. Increasing memory limit may require increase in CPUs limits: - Over 4 GiB: at least 2 CPUs - Over 8 GiB: at least 4 CPUs - Over 16 GiB: at least 6 CPUs - Over 24 GiB: at least 8 CPUs", + "format": "int32", + "type": "integer" + }, + "minInstances": { + "description": "Optional. Number of Cloud Run instances to maintain at minimum for each Cloud Run Service. By default, there are no minimum. Even if the service splits traffic across multiple revisions, the total number of instances for a service will be capped at this value.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "RunService": { + "description": "A managed Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service).", + "id": "RunService", + "properties": { + "service": { + "description": "Optional. The name of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), in the format: `projects/{project}/locations/{location}/services/{serviceId}`", + "type": "string" + } + }, + "type": "object" + }, + "ServingBehavior": { + "description": "Indicates whether App Hosting will serve content on the domain.", + "id": "ServingBehavior", + "properties": { + "redirect": { + "$ref": "Redirect", + "description": "Optional. Redirect behavior for a domain, if provided." + } + }, + "type": "object" + }, + "SourceUserMetadata": { + "description": "Metadata for the user who started the build.", + "id": "SourceUserMetadata", + "properties": { + "displayName": { + "description": "Output only. The user-chosen displayname. May be empty.", + "readOnly": true, + "type": "string" + }, + "email": { + "description": "Output only. The account email linked to the EUC that created the build. May be a service account or other robot account.", + "readOnly": true, + "type": "string" + }, + "imageUri": { + "description": "Output only. The URI of a profile photo associated with the user who created the build.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "Traffic": { + "description": "Controls traffic configuration for the backend.", + "id": "Traffic", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", + "type": "object" + }, + "createTime": { + "description": "Output only. Time at which the backend was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "current": { + "$ref": "TrafficSet", + "description": "Output only. Current state of traffic allocation for the backend. When setting `target`, this field may differ for some time until the desired state is reached.", + "readOnly": true + }, + "etag": { + "description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", + "type": "object" + }, + "name": { + "description": "Identifier. The resource name of the backend's traffic. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", + "type": "string" + }, + "reconciling": { + "description": "Output only. A field that, if true, indicates that the system is working to make the backend's `current` match the requested `target` list.", + "readOnly": true, + "type": "boolean" + }, + "rolloutPolicy": { + "$ref": "RolloutPolicy", + "description": "A rollout policy specifies how new builds and automatic deployments are created." + }, + "target": { + "$ref": "TrafficSet", + "description": "Set to manually control the desired traffic for the backend. This will cause `current` to eventually match this value. The percentages must add up to 100%." + }, + "uid": { + "description": "Output only. System-assigned, unique identifier.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the backend was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "TrafficSet": { + "description": "A list of traffic splits that together represent where traffic is being routed.", + "id": "TrafficSet", + "properties": { + "splits": { + "description": "Required. The list of traffic splits.", + "items": { + "$ref": "TrafficSplit" + }, + "type": "array" + } + }, + "type": "object" + }, + "TrafficSplit": { + "description": "The traffic allocation for the backend.", + "id": "TrafficSplit", + "properties": { + "build": { + "description": "Required. The build that traffic is being routed to.", + "type": "string" + }, + "percent": { + "description": "Required. The percentage of traffic to send to the build. Currently must be 100% or 0%.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "UserMetadata": { + "description": "Version control metadata for a user associated with a resolved codebase. Currently assumes a Git user.", + "id": "UserMetadata", + "properties": { + "displayName": { + "description": "Output only. The 'name' field in a Git user's git.config. Required by Git.", + "readOnly": true, + "type": "string" + }, + "email": { + "description": "Output only. The 'email' field in a Git user's git.config, if available.", + "readOnly": true, + "type": "string" + }, + "imageUri": { + "description": "Output only. The URI of an image file associated with the user's account in an external source control provider, if available.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Firebase App Hosting API", + "version": "v1beta", + "version_module": true +} \ No newline at end of file diff --git a/discovery/firebasehosting-v1beta1.json b/discovery/firebasehosting-v1beta1.json index 841bd99db6e..40e430d02e6 100644 --- a/discovery/firebasehosting-v1beta1.json +++ b/discovery/firebasehosting-v1beta1.json @@ -2422,7 +2422,7 @@ } } }, - "revision": "20240320", + "revision": "20240319", "rootUrl": "https://firebasehosting.googleapis.com/", "schemas": { "ActingUser": { diff --git a/discovery/firebaseml-v1beta2.json b/discovery/firebaseml-v1beta2.json index b4769ec24fc..2eb749668db 100644 --- a/discovery/firebaseml-v1beta2.json +++ b/discovery/firebaseml-v1beta2.json @@ -318,7 +318,7 @@ } } }, - "revision": "20230807", + "revision": "20230802", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "DownloadModelResponse": { diff --git a/discovery/firebaseml-v2beta.json b/discovery/firebaseml-v2beta.json index a321f835372..174e5bbe347 100644 --- a/discovery/firebaseml-v2beta.json +++ b/discovery/firebaseml-v2beta.json @@ -206,7 +206,7 @@ } } }, - "revision": "20250427", + "revision": "20250505", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -1086,6 +1086,10 @@ "description": "Config for thinking features.", "id": "GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig", "properties": { + "includeThoughts": { + "description": "Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available.", + "type": "boolean" + }, "thinkingBudget": { "description": "Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.", "format": "int32", diff --git a/discovery/fitness-v1.json b/discovery/fitness-v1.json index 6228bd75e14..8433c3ed142 100644 --- a/discovery/fitness-v1.json +++ b/discovery/fitness-v1.json @@ -832,7 +832,7 @@ } } }, - "revision": "20231121", + "revision": "20231107", "rootUrl": "https://fitness.googleapis.com/", "schemas": { "AggregateBucket": { diff --git a/discovery/gameservices-v1.json b/discovery/gameservices-v1.json deleted file mode 100644 index 88e5af16cd3..00000000000 --- a/discovery/gameservices-v1.json +++ /dev/null @@ -1,1007 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://gameservices.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Game Services", - "description": "Deploy and manage infrastructure for global multiplayer gaming experiences.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/solutions/gaming/", - "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": "gameservices:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://gameservices.mtls.googleapis.com/", - "name": "gameservices", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "methods": { - "get": { - "description": "Gets information about a location.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", - "httpMethod": "GET", - "id": "gameservices.projects.locations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name for the location.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Location" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists information about the supported locations for this service.", - "flatPath": "v1/projects/{projectsId}/locations", - "httpMethod": "GET", - "id": "gameservices.projects.locations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", - "location": "query", - "type": "string" - }, - "includeUnrevealedLocations": { - "description": "If true, the returned list will include locations which are not yet revealed.", - "location": "query", - "type": "boolean" - }, - "name": { - "description": "The resource that owns the locations collection, if applicable.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The maximum number of results to return. If not set, the service selects a default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}/locations", - "response": { - "$ref": "ListLocationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "gameServerDeployments": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}:getIamPolicy", - "httpMethod": "GET", - "id": "gameservices.projects.locations.gameServerDeployments.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gameServerDeployments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}:setIamPolicy", - "httpMethod": "POST", - "id": "gameservices.projects.locations.gameServerDeployments.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gameServerDeployments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}:testIamPermissions", - "httpMethod": "POST", - "id": "gameservices.projects.locations.gameServerDeployments.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gameServerDeployments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "gameservices.projects.locations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "gameservices.projects.locations.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "gameservices.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", - "httpMethod": "GET", - "id": "gameservices.projects.locations.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}/operations", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20230419", - "rootUrl": "https://gameservices.googleapis.com/", - "schemas": { - "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", - "id": "AuditConfig", - "properties": { - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.", - "items": { - "$ref": "AuditLogConfig" - }, - "type": "array" - }, - "service": { - "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", - "type": "string" - } - }, - "type": "object" - }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", - "id": "AuditLogConfig", - "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", - "items": { - "type": "string" - }, - "type": "array" - }, - "ignoreChildExemptions": { - "type": "boolean" - }, - "logType": { - "description": "The log type that this config enables.", - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], - "type": "string" - } - }, - "type": "object" - }, - "AuthorizationLoggingOptions": { - "description": "Authorization-related information used by Cloud Audit Logging.", - "id": "AuthorizationLoggingOptions", - "properties": { - "permissionType": { - "description": "The type of the permission that was checked.", - "enum": [ - "PERMISSION_TYPE_UNSPECIFIED", - "ADMIN_READ", - "ADMIN_WRITE", - "DATA_READ", - "DATA_WRITE" - ], - "enumDescriptions": [ - "Default. Should not be used.", - "A read of admin (meta) data.", - "A write of admin (meta) data.", - "A read of standard data.", - "A write of standard data." - ], - "type": "string" - } - }, - "type": "object" - }, - "Binding": { - "description": "Associates `members`, or principals, with a `role`.", - "id": "Binding", - "properties": { - "bindingId": { - "type": "string" - }, - "condition": { - "$ref": "Expr", - "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." - }, - "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.", - "items": { - "type": "string" - }, - "type": "array" - }, - "role": { - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", - "type": "string" - } - }, - "type": "object" - }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "CloudAuditOptions": { - "description": "Write a Cloud Audit log", - "id": "CloudAuditOptions", - "properties": { - "authorizationLoggingOptions": { - "$ref": "AuthorizationLoggingOptions", - "description": "Information used by the Cloud Audit Logging pipeline." - }, - "logName": { - "description": "The log_name to populate in the Cloud Audit Record.", - "enum": [ - "UNSPECIFIED_LOG_NAME", - "ADMIN_ACTIVITY", - "DATA_ACCESS" - ], - "enumDescriptions": [ - "Default. Should not be used.", - "Corresponds to \"cloudaudit.googleapis.com/activity\"", - "Corresponds to \"cloudaudit.googleapis.com/data_access\"" - ], - "type": "string" - } - }, - "type": "object" - }, - "Condition": { - "description": "A condition to be met.", - "id": "Condition", - "properties": { - "iam": { - "description": "Trusted attributes supplied by the IAM system.", - "enum": [ - "NO_ATTR", - "AUTHORITY", - "ATTRIBUTION", - "SECURITY_REALM", - "APPROVER", - "JUSTIFICATION_TYPE", - "CREDENTIALS_TYPE", - "CREDS_ASSERTION" - ], - "enumDescriptions": [ - "Default non-attribute.", - "Either principal or (if present) authority selector.", - "The principal (even if an authority selector is present), which must only be used for attribution, not authorization.", - "Any of the security realms in the IAMContext (go/security-realms). When used with IN, the condition indicates \"any of the request's realms match one of the given values; with NOT_IN, \"none of the realms match any of the given values\". Note that a value can be: - 'self:campus' (i.e., clients that are in the same campus) - 'self:metro' (i.e., clients that are in the same metro) - 'self:cloud-region' (i.e., allow connections from clients that are in the same cloud region) - 'self:prod-region' (i.e., allow connections from clients that are in the same prod region) - 'guardians' (i.e., allow connections from its guardian realms. See go/security-realms-glossary#guardian for more information.) - 'self' [DEPRECATED] (i.e., allow connections from clients that are in the same security realm, which is currently but not guaranteed to be campus-sized) - a realm (e.g., 'campus-abc') - a realm group (e.g., 'realms-for-borg-cell-xx', see: go/realm-groups) A match is determined by a realm group membership check performed by a RealmAclRep object (go/realm-acl-howto). It is not permitted to grant access based on the *absence* of a realm, so realm conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).", - "An approver (distinct from the requester) that has authorized this request. When used with IN, the condition indicates that one of the approvers associated with the request matches the specified principal, or is a member of the specified group. Approvers can only grant additional access, and are thus only used in a strictly positive context (e.g. ALLOW/IN or DENY/NOT_IN).", - "What types of justifications have been supplied with this request. String values should match enum names from security.credentials.JustificationType, e.g. \"MANUAL_STRING\". It is not permitted to grant access based on the *absence* of a justification, so justification conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN). Multiple justifications, e.g., a Buganizer ID and a manually-entered reason, are normal and supported.", - "What type of credentials have been supplied with this request. String values should match enum names from security_loas_l2.CredentialsType - currently, only CREDS_TYPE_EMERGENCY is supported. It is not permitted to grant access based on the *absence* of a credentials type, so the conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).", - "EXPERIMENTAL -- DO NOT USE. The conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN)." - ], - "type": "string" - }, - "op": { - "description": "An operator to apply the subject with.", - "enum": [ - "NO_OP", - "EQUALS", - "NOT_EQUALS", - "IN", - "NOT_IN", - "DISCHARGED" - ], - "enumDescriptions": [ - "Default no-op.", - "DEPRECATED. Use IN instead.", - "DEPRECATED. Use NOT_IN instead.", - "The condition is true if the subject (or any element of it if it is a set) matches any of the supplied values.", - "The condition is true if the subject (or every element of it if it is a set) matches none of the supplied values.", - "Subject is discharged" - ], - "type": "string" - }, - "svc": { - "description": "Trusted attributes discharged by the service.", - "type": "string" - }, - "sys": { - "description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.", - "enum": [ - "NO_ATTR", - "REGION", - "SERVICE", - "NAME", - "IP" - ], - "enumDescriptions": [ - "Default non-attribute type", - "Region of the resource", - "Service name", - "Resource name", - "IP address of the caller" - ], - "type": "string" - }, - "values": { - "description": "The objects of the condition.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CounterOptions": { - "description": "Increment a streamz counter with the specified metric and field names. Metric names should start with a '/', generally be lowercase-only, and end in \"_count\". Field names should not contain an initial slash. The actual exported metric names will have \"/iam/policy\" prepended. Field names correspond to IAM request parameters and field values are their respective values. Supported field names: - \"authority\", which is \"[token]\" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - \"iam_principal\", a representation of IAMContext.principal even if a token or authority selector is present; or - \"\" (empty string), resulting in a counter with no fields. Examples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==> increment counter /iam/policy/debug_access_count {iam_principal=[value of IAMContext.principal]}", - "id": "CounterOptions", - "properties": { - "customFields": { - "description": "Custom fields.", - "items": { - "$ref": "CustomField" - }, - "type": "array" - }, - "field": { - "description": "The field value to attribute.", - "type": "string" - }, - "metric": { - "description": "The metric to update.", - "type": "string" - } - }, - "type": "object" - }, - "CustomField": { - "description": "Custom fields. These can be used to create a counter with arbitrary field/value pairs. See: go/rpcsp-custom-fields.", - "id": "CustomField", - "properties": { - "name": { - "description": "Name is the field name.", - "type": "string" - }, - "value": { - "description": "Value is the field value. It is important that in contrast to the CounterOptions.field, the value here is a constant that is not derived from the IAMContext.", - "type": "string" - } - }, - "type": "object" - }, - "DataAccessOptions": { - "description": "Write a Data Access (Gin) log", - "id": "DataAccessOptions", - "properties": { - "logMode": { - "enum": [ - "LOG_MODE_UNSPECIFIED", - "LOG_FAIL_CLOSED" - ], - "enumDescriptions": [ - "Client is not required to write a partial Gin log immediately after the authorization check. If client chooses to write one and it fails, client may either fail open (allow the operation to continue) or fail closed (handle as a DENY outcome).", - "The application's operation in the context of which this authorization check is being made may only be performed if it is successfully logged to Gin. For instance, the authorization library may satisfy this obligation by emitting a partial log entry at authorization check time and only returning ALLOW to the application if it succeeds. If a matching Rule has this directive, but the client has not indicated that it will honor such requirements, then the IAM check will result in authorization failure by setting CheckPolicyResponse.success=false." - ], - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", - "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" - }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", - "type": "string" - }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" - } - }, - "type": "object" - }, - "ListLocationsResponse": { - "description": "The response message for Locations.ListLocations.", - "id": "ListLocationsResponse", - "properties": { - "locations": { - "description": "A list of locations that matches the specified filter in the request.", - "items": { - "$ref": "Location" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - } - }, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "Location": { - "description": "A resource that represents a Google Cloud location.", - "id": "Location", - "properties": { - "displayName": { - "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", - "type": "object" - }, - "locationId": { - "description": "The canonical id for this location. For example: `\"us-east1\"`.", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata. For example the available capacity at the given location.", - "type": "object" - }, - "name": { - "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", - "type": "string" - } - }, - "type": "object" - }, - "LogConfig": { - "description": "Specifies what kind of log the caller must write", - "id": "LogConfig", - "properties": { - "cloudAudit": { - "$ref": "CloudAuditOptions", - "description": "Cloud audit options." - }, - "counter": { - "$ref": "CounterOptions", - "description": "Counter options." - }, - "dataAccess": { - "$ref": "DataAccessOptions", - "description": "Data access options." - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", - "id": "Policy", - "properties": { - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", - "items": { - "$ref": "AuditConfig" - }, - "type": "array" - }, - "bindings": { - "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", - "items": { - "$ref": "Binding" - }, - "type": "array" - }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", - "format": "byte", - "type": "string" - }, - "rules": { - "description": "If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.", - "items": { - "$ref": "Rule" - }, - "type": "array" - }, - "version": { - "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Rule": { - "description": "A rule to be applied in a Policy.", - "id": "Rule", - "properties": { - "action": { - "description": "Required", - "enum": [ - "NO_ACTION", - "ALLOW", - "ALLOW_WITH_LOG", - "DENY", - "DENY_WITH_LOG", - "LOG" - ], - "enumDescriptions": [ - "Default no action.", - "Matching 'Entries' grant access.", - "Matching 'Entries' grant access and the caller promises to log the request per the returned log_configs.", - "Matching 'Entries' deny access.", - "Matching 'Entries' deny access and the caller promises to log the request per the returned log_configs.", - "Matching 'Entries' tell IAM.Check callers to generate logs." - ], - "type": "string" - }, - "conditions": { - "description": "Additional restrictions that must be met. All conditions must pass for the rule to match.", - "items": { - "$ref": "Condition" - }, - "type": "array" - }, - "description": { - "description": "Human-readable description of the rule.", - "type": "string" - }, - "in": { - "description": "If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logConfig": { - "description": "The config returned to callers of CheckPolicy for any entries that match the LOG action.", - "items": { - "$ref": "LogConfig" - }, - "type": "array" - }, - "notIn": { - "description": "If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. The format for in and not_in entries can be found at in the Local IAM documentation (see go/local-iam#features).", - "items": { - "type": "string" - }, - "type": "array" - }, - "permissions": { - "description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", - "id": "SetIamPolicyRequest", - "properties": { - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." - }, - "updateMask": { - "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "id": "TestIamPermissionsRequest", - "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", - "id": "TestIamPermissionsResponse", - "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Game Services API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/gameservices-v1beta.json b/discovery/gameservices-v1beta.json deleted file mode 100644 index a35e68cab32..00000000000 --- a/discovery/gameservices-v1beta.json +++ /dev/null @@ -1,1007 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://gameservices.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Game Services", - "description": "Deploy and manage infrastructure for global multiplayer gaming experiences.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/solutions/gaming/", - "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": "gameservices:v1beta", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://gameservices.mtls.googleapis.com/", - "name": "gameservices", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "methods": { - "get": { - "description": "Gets information about a location.", - "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}", - "httpMethod": "GET", - "id": "gameservices.projects.locations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name for the location.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "Location" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists information about the supported locations for this service.", - "flatPath": "v1beta/projects/{projectsId}/locations", - "httpMethod": "GET", - "id": "gameservices.projects.locations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", - "location": "query", - "type": "string" - }, - "includeUnrevealedLocations": { - "description": "If true, the returned list will include locations which are not yet revealed.", - "location": "query", - "type": "boolean" - }, - "name": { - "description": "The resource that owns the locations collection, if applicable.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The maximum number of results to return. If not set, the service selects a default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta/{+name}/locations", - "response": { - "$ref": "ListLocationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "gameServerDeployments": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}:getIamPolicy", - "httpMethod": "GET", - "id": "gameservices.projects.locations.gameServerDeployments.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gameServerDeployments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}:setIamPolicy", - "httpMethod": "POST", - "id": "gameservices.projects.locations.gameServerDeployments.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gameServerDeployments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}:testIamPermissions", - "httpMethod": "POST", - "id": "gameservices.projects.locations.gameServerDeployments.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gameServerDeployments/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "gameservices.projects.locations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "gameservices.projects.locations.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "gameservices.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", - "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations", - "httpMethod": "GET", - "id": "gameservices.projects.locations.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta/{+name}/operations", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20230419", - "rootUrl": "https://gameservices.googleapis.com/", - "schemas": { - "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", - "id": "AuditConfig", - "properties": { - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.", - "items": { - "$ref": "AuditLogConfig" - }, - "type": "array" - }, - "service": { - "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", - "type": "string" - } - }, - "type": "object" - }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", - "id": "AuditLogConfig", - "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", - "items": { - "type": "string" - }, - "type": "array" - }, - "ignoreChildExemptions": { - "type": "boolean" - }, - "logType": { - "description": "The log type that this config enables.", - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], - "type": "string" - } - }, - "type": "object" - }, - "AuthorizationLoggingOptions": { - "description": "Authorization-related information used by Cloud Audit Logging.", - "id": "AuthorizationLoggingOptions", - "properties": { - "permissionType": { - "description": "The type of the permission that was checked.", - "enum": [ - "PERMISSION_TYPE_UNSPECIFIED", - "ADMIN_READ", - "ADMIN_WRITE", - "DATA_READ", - "DATA_WRITE" - ], - "enumDescriptions": [ - "Default. Should not be used.", - "A read of admin (meta) data.", - "A write of admin (meta) data.", - "A read of standard data.", - "A write of standard data." - ], - "type": "string" - } - }, - "type": "object" - }, - "Binding": { - "description": "Associates `members`, or principals, with a `role`.", - "id": "Binding", - "properties": { - "bindingId": { - "type": "string" - }, - "condition": { - "$ref": "Expr", - "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." - }, - "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.", - "items": { - "type": "string" - }, - "type": "array" - }, - "role": { - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", - "type": "string" - } - }, - "type": "object" - }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "CloudAuditOptions": { - "description": "Write a Cloud Audit log", - "id": "CloudAuditOptions", - "properties": { - "authorizationLoggingOptions": { - "$ref": "AuthorizationLoggingOptions", - "description": "Information used by the Cloud Audit Logging pipeline." - }, - "logName": { - "description": "The log_name to populate in the Cloud Audit Record.", - "enum": [ - "UNSPECIFIED_LOG_NAME", - "ADMIN_ACTIVITY", - "DATA_ACCESS" - ], - "enumDescriptions": [ - "Default. Should not be used.", - "Corresponds to \"cloudaudit.googleapis.com/activity\"", - "Corresponds to \"cloudaudit.googleapis.com/data_access\"" - ], - "type": "string" - } - }, - "type": "object" - }, - "Condition": { - "description": "A condition to be met.", - "id": "Condition", - "properties": { - "iam": { - "description": "Trusted attributes supplied by the IAM system.", - "enum": [ - "NO_ATTR", - "AUTHORITY", - "ATTRIBUTION", - "SECURITY_REALM", - "APPROVER", - "JUSTIFICATION_TYPE", - "CREDENTIALS_TYPE", - "CREDS_ASSERTION" - ], - "enumDescriptions": [ - "Default non-attribute.", - "Either principal or (if present) authority selector.", - "The principal (even if an authority selector is present), which must only be used for attribution, not authorization.", - "Any of the security realms in the IAMContext (go/security-realms). When used with IN, the condition indicates \"any of the request's realms match one of the given values; with NOT_IN, \"none of the realms match any of the given values\". Note that a value can be: - 'self:campus' (i.e., clients that are in the same campus) - 'self:metro' (i.e., clients that are in the same metro) - 'self:cloud-region' (i.e., allow connections from clients that are in the same cloud region) - 'self:prod-region' (i.e., allow connections from clients that are in the same prod region) - 'guardians' (i.e., allow connections from its guardian realms. See go/security-realms-glossary#guardian for more information.) - 'self' [DEPRECATED] (i.e., allow connections from clients that are in the same security realm, which is currently but not guaranteed to be campus-sized) - a realm (e.g., 'campus-abc') - a realm group (e.g., 'realms-for-borg-cell-xx', see: go/realm-groups) A match is determined by a realm group membership check performed by a RealmAclRep object (go/realm-acl-howto). It is not permitted to grant access based on the *absence* of a realm, so realm conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).", - "An approver (distinct from the requester) that has authorized this request. When used with IN, the condition indicates that one of the approvers associated with the request matches the specified principal, or is a member of the specified group. Approvers can only grant additional access, and are thus only used in a strictly positive context (e.g. ALLOW/IN or DENY/NOT_IN).", - "What types of justifications have been supplied with this request. String values should match enum names from security.credentials.JustificationType, e.g. \"MANUAL_STRING\". It is not permitted to grant access based on the *absence* of a justification, so justification conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN). Multiple justifications, e.g., a Buganizer ID and a manually-entered reason, are normal and supported.", - "What type of credentials have been supplied with this request. String values should match enum names from security_loas_l2.CredentialsType - currently, only CREDS_TYPE_EMERGENCY is supported. It is not permitted to grant access based on the *absence* of a credentials type, so the conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).", - "EXPERIMENTAL -- DO NOT USE. The conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN)." - ], - "type": "string" - }, - "op": { - "description": "An operator to apply the subject with.", - "enum": [ - "NO_OP", - "EQUALS", - "NOT_EQUALS", - "IN", - "NOT_IN", - "DISCHARGED" - ], - "enumDescriptions": [ - "Default no-op.", - "DEPRECATED. Use IN instead.", - "DEPRECATED. Use NOT_IN instead.", - "The condition is true if the subject (or any element of it if it is a set) matches any of the supplied values.", - "The condition is true if the subject (or every element of it if it is a set) matches none of the supplied values.", - "Subject is discharged" - ], - "type": "string" - }, - "svc": { - "description": "Trusted attributes discharged by the service.", - "type": "string" - }, - "sys": { - "description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.", - "enum": [ - "NO_ATTR", - "REGION", - "SERVICE", - "NAME", - "IP" - ], - "enumDescriptions": [ - "Default non-attribute type", - "Region of the resource", - "Service name", - "Resource name", - "IP address of the caller" - ], - "type": "string" - }, - "values": { - "description": "The objects of the condition.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CounterOptions": { - "description": "Increment a streamz counter with the specified metric and field names. Metric names should start with a '/', generally be lowercase-only, and end in \"_count\". Field names should not contain an initial slash. The actual exported metric names will have \"/iam/policy\" prepended. Field names correspond to IAM request parameters and field values are their respective values. Supported field names: - \"authority\", which is \"[token]\" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - \"iam_principal\", a representation of IAMContext.principal even if a token or authority selector is present; or - \"\" (empty string), resulting in a counter with no fields. Examples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==> increment counter /iam/policy/debug_access_count {iam_principal=[value of IAMContext.principal]}", - "id": "CounterOptions", - "properties": { - "customFields": { - "description": "Custom fields.", - "items": { - "$ref": "CustomField" - }, - "type": "array" - }, - "field": { - "description": "The field value to attribute.", - "type": "string" - }, - "metric": { - "description": "The metric to update.", - "type": "string" - } - }, - "type": "object" - }, - "CustomField": { - "description": "Custom fields. These can be used to create a counter with arbitrary field/value pairs. See: go/rpcsp-custom-fields.", - "id": "CustomField", - "properties": { - "name": { - "description": "Name is the field name.", - "type": "string" - }, - "value": { - "description": "Value is the field value. It is important that in contrast to the CounterOptions.field, the value here is a constant that is not derived from the IAMContext.", - "type": "string" - } - }, - "type": "object" - }, - "DataAccessOptions": { - "description": "Write a Data Access (Gin) log", - "id": "DataAccessOptions", - "properties": { - "logMode": { - "enum": [ - "LOG_MODE_UNSPECIFIED", - "LOG_FAIL_CLOSED" - ], - "enumDescriptions": [ - "Client is not required to write a partial Gin log immediately after the authorization check. If client chooses to write one and it fails, client may either fail open (allow the operation to continue) or fail closed (handle as a DENY outcome).", - "The application's operation in the context of which this authorization check is being made may only be performed if it is successfully logged to Gin. For instance, the authorization library may satisfy this obligation by emitting a partial log entry at authorization check time and only returning ALLOW to the application if it succeeds. If a matching Rule has this directive, but the client has not indicated that it will honor such requirements, then the IAM check will result in authorization failure by setting CheckPolicyResponse.success=false." - ], - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", - "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" - }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", - "type": "string" - }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" - } - }, - "type": "object" - }, - "ListLocationsResponse": { - "description": "The response message for Locations.ListLocations.", - "id": "ListLocationsResponse", - "properties": { - "locations": { - "description": "A list of locations that matches the specified filter in the request.", - "items": { - "$ref": "Location" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - } - }, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "Location": { - "description": "A resource that represents a Google Cloud location.", - "id": "Location", - "properties": { - "displayName": { - "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", - "type": "object" - }, - "locationId": { - "description": "The canonical id for this location. For example: `\"us-east1\"`.", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata. For example the available capacity at the given location.", - "type": "object" - }, - "name": { - "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", - "type": "string" - } - }, - "type": "object" - }, - "LogConfig": { - "description": "Specifies what kind of log the caller must write", - "id": "LogConfig", - "properties": { - "cloudAudit": { - "$ref": "CloudAuditOptions", - "description": "Cloud audit options." - }, - "counter": { - "$ref": "CounterOptions", - "description": "Counter options." - }, - "dataAccess": { - "$ref": "DataAccessOptions", - "description": "Data access options." - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", - "id": "Policy", - "properties": { - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", - "items": { - "$ref": "AuditConfig" - }, - "type": "array" - }, - "bindings": { - "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", - "items": { - "$ref": "Binding" - }, - "type": "array" - }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", - "format": "byte", - "type": "string" - }, - "rules": { - "description": "If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.", - "items": { - "$ref": "Rule" - }, - "type": "array" - }, - "version": { - "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Rule": { - "description": "A rule to be applied in a Policy.", - "id": "Rule", - "properties": { - "action": { - "description": "Required", - "enum": [ - "NO_ACTION", - "ALLOW", - "ALLOW_WITH_LOG", - "DENY", - "DENY_WITH_LOG", - "LOG" - ], - "enumDescriptions": [ - "Default no action.", - "Matching 'Entries' grant access.", - "Matching 'Entries' grant access and the caller promises to log the request per the returned log_configs.", - "Matching 'Entries' deny access.", - "Matching 'Entries' deny access and the caller promises to log the request per the returned log_configs.", - "Matching 'Entries' tell IAM.Check callers to generate logs." - ], - "type": "string" - }, - "conditions": { - "description": "Additional restrictions that must be met. All conditions must pass for the rule to match.", - "items": { - "$ref": "Condition" - }, - "type": "array" - }, - "description": { - "description": "Human-readable description of the rule.", - "type": "string" - }, - "in": { - "description": "If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logConfig": { - "description": "The config returned to callers of CheckPolicy for any entries that match the LOG action.", - "items": { - "$ref": "LogConfig" - }, - "type": "array" - }, - "notIn": { - "description": "If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. The format for in and not_in entries can be found at in the Local IAM documentation (see go/local-iam#features).", - "items": { - "type": "string" - }, - "type": "array" - }, - "permissions": { - "description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", - "id": "SetIamPolicyRequest", - "properties": { - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." - }, - "updateMask": { - "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "id": "TestIamPermissionsRequest", - "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", - "id": "TestIamPermissionsResponse", - "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Game Services API", - "version": "v1beta", - "version_module": true -} \ No newline at end of file diff --git a/discovery/genomics-v1.json b/discovery/genomics-v1.json deleted file mode 100644 index 1fe0e184aed..00000000000 --- a/discovery/genomics-v1.json +++ /dev/null @@ -1,796 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://genomics.googleapis.com/", - "batchPath": "batch", - "description": "Uploads, processes, queries, and searches Genomics data in the cloud.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/genomics", - "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": "genomics:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://genomics.mtls.googleapis.com/", - "name": "genomics", - "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": {}, - "revision": "20210512", - "rootUrl": "https://genomics.googleapis.com/", - "schemas": { - "Accelerator": { - "description": "Carries information about an accelerator that can be attached to a VM.", - "id": "Accelerator", - "properties": { - "count": { - "description": "How many accelerators of this type to attach.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "The accelerator type string (for example, \"nvidia-tesla-k80\"). Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is attached, the required runtime libraries will be made available to all containers under `/usr/local/nvidia`. The driver version to install must be specified using the NVIDIA driver version parameter on the virtual machine specification. Note that attaching a GPU increases the worker VM startup time by a few minutes.", - "type": "string" - } - }, - "type": "object" - }, - "Action": { - "description": "Specifies a single action that runs a Docker container.", - "id": "Action", - "properties": { - "commands": { - "description": "If specified, overrides the `CMD` specified in the container. If the container also has an `ENTRYPOINT` the values are used as entrypoint arguments. Otherwise, they are used as a command and arguments to run inside the container.", - "items": { - "type": "string" - }, - "type": "array" - }, - "credentials": { - "$ref": "Secret", - "description": "If the specified image is hosted on a private registry other than Google Container Registry, the credentials required to pull the image must be specified here as an encrypted secret. The secret must decrypt to a JSON-encoded dictionary containing both `username` and `password` keys." - }, - "encryptedEnvironment": { - "$ref": "Secret", - "description": "The encrypted environment to pass into the container. This environment is merged with values specified in the google.genomics.v2alpha1.Pipeline message, overwriting any duplicate values. The secret must decrypt to a JSON-encoded dictionary where key-value pairs serve as environment variable names and their values. The decoded environment variables can overwrite the values specified by the `environment` field." - }, - "entrypoint": { - "description": "If specified, overrides the `ENTRYPOINT` specified in the container.", - "type": "string" - }, - "environment": { - "additionalProperties": { - "type": "string" - }, - "description": "The environment to pass into the container. This environment is merged with values specified in the google.genomics.v2alpha1.Pipeline message, overwriting any duplicate values. In addition to the values passed here, a few other values are automatically injected into the environment. These cannot be hidden or overwritten. `GOOGLE_PIPELINE_FAILED` will be set to \"1\" if the pipeline failed because an action has exited with a non-zero status (and did not have the `IGNORE_EXIT_STATUS` flag set). This can be used to determine if additional debug or logging actions should execute. `GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last non-background action that executed. This can be used by workflow engine authors to determine whether an individual action has succeeded or failed.", - "type": "object" - }, - "flags": { - "description": "The set of flags to apply to this action.", - "items": { - "enum": [ - "FLAG_UNSPECIFIED", - "IGNORE_EXIT_STATUS", - "RUN_IN_BACKGROUND", - "ALWAYS_RUN", - "ENABLE_FUSE", - "PUBLISH_EXPOSED_PORTS", - "DISABLE_IMAGE_PREFETCH", - "DISABLE_STANDARD_ERROR_CAPTURE", - "BLOCK_EXTERNAL_NETWORK" - ], - "enumDescriptions": [ - "Unspecified flag.", - "Normally, a non-zero exit status causes the pipeline to fail. This flag allows execution of other actions to continue instead.", - "This flag allows an action to continue running in the background while executing subsequent actions. This is useful to provide services to other actions (or to provide debugging support tools like SSH servers).", - "By default, after an action fails, no further actions are run. This flag indicates that this action must be run even if the pipeline has already failed. This is useful for actions that copy output files off of the VM or for debugging. Note that no actions will be run if image prefetching fails.", - "Enable access to the FUSE device for this action. Filesystems can then be mounted into disks shared with other actions. The other actions do not need the `ENABLE_FUSE` flag to access the mounted filesystem. This has the effect of causing the container to be executed with `CAP_SYS_ADMIN` and exposes `/dev/fuse` to the container, so use it only for containers you trust.", - "Exposes all ports specified by `EXPOSE` statements in the container. To discover the host side port numbers, consult the `ACTION_STARTED` event in the operation metadata.", - "All container images are typically downloaded before any actions are executed. This helps prevent typos in URIs or issues like lack of disk space from wasting large amounts of compute resources. If set, this flag prevents the worker from downloading the image until just before the action is executed.", - "A small portion of the container's standard error stream is typically captured and returned inside the `ContainerStoppedEvent`. Setting this flag disables this functionality.", - "Prevents the container from accessing the external network." - ], - "type": "string" - }, - "type": "array" - }, - "imageUri": { - "description": "Required. The URI to pull the container image from. Note that all images referenced by actions in the pipeline are pulled before the first action runs. If multiple actions reference the same image, it is only pulled once, ensuring that the same image is used for all actions in a single pipeline. The image URI can be either a complete host and image specification (e.g., quay.io/biocontainers/samtools), a library and image name (e.g., google/cloud-sdk) or a bare image name ('bash') to pull from the default library. No schema is required in any of these cases. If the specified image is not public, the service account specified for the Virtual Machine must have access to pull the images from GCR, or appropriate credentials must be specified in the google.genomics.v2alpha1.Action.credentials field.", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels to associate with the action. This field is provided to assist workflow engine authors in identifying actions (for example, to indicate what sort of action they perform, such as localization or debugging). They are returned in the operation metadata, but are otherwise ignored.", - "type": "object" - }, - "mounts": { - "description": "A list of mounts to make available to the action. In addition to the values specified here, every action has a special virtual disk mounted under `/google` that contains log files and other operational components. - /google/logs All logs written during the pipeline execution. - /google/logs/output The combined standard output and standard error of all actions run as part of the pipeline execution. - /google/logs/action/*/stdout The complete contents of each individual action's standard output. - /google/logs/action/*/stderr The complete contents of each individual action's standard error output. ", - "items": { - "$ref": "Mount" - }, - "type": "array" - }, - "name": { - "description": "An optional name for the container. The container hostname will be set to this name, making it useful for inter-container communication. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.", - "type": "string" - }, - "pidNamespace": { - "description": "An optional identifier for a PID namespace to run the action inside. Multiple actions should use the same string to share a namespace. If unspecified, a separate isolated namespace is used.", - "type": "string" - }, - "portMappings": { - "additionalProperties": { - "format": "int32", - "type": "integer" - }, - "description": "A map of containers to host port mappings for this container. If the container already specifies exposed ports, use the `PUBLISH_EXPOSED_PORTS` flag instead. The host port number must be less than 65536. If it is zero, an unused random port is assigned. To determine the resulting port number, consult the `ContainerStartedEvent` in the operation metadata.", - "type": "object" - }, - "timeout": { - "description": "The maximum amount of time to give the action to complete. If the action fails to complete before the timeout, it will be terminated and the exit status will be non-zero. The pipeline will continue or terminate based on the rules defined by the `ALWAYS_RUN` and `IGNORE_EXIT_STATUS` flags.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "ContainerKilledEvent": { - "description": "An event generated when a container is forcibly terminated by the worker. Currently, this only occurs when the container outlives the timeout specified by the user.", - "id": "ContainerKilledEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started the container.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ContainerStartedEvent": { - "description": "An event generated when a container starts.", - "id": "ContainerStartedEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started this container.", - "format": "int32", - "type": "integer" - }, - "ipAddress": { - "description": "The public IP address that can be used to connect to the container. This field is only populated when at least one port mapping is present. If the instance was created with a private address, this field will be empty even if port mappings exist.", - "type": "string" - }, - "portMappings": { - "additionalProperties": { - "format": "int32", - "type": "integer" - }, - "description": "The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.", - "type": "object" - } - }, - "type": "object" - }, - "ContainerStoppedEvent": { - "description": "An event generated when a container exits.", - "id": "ContainerStoppedEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started this container.", - "format": "int32", - "type": "integer" - }, - "exitStatus": { - "description": "The exit status of the container.", - "format": "int32", - "type": "integer" - }, - "stderr": { - "description": "The tail end of any content written to standard error by the container. If the content emits large amounts of debugging noise or contains sensitive information, you can prevent the content from being printed by setting the `DISABLE_STANDARD_ERROR_CAPTURE` flag. Note that only a small amount of the end of the stream is captured here. The entire stream is stored in the `/google/logs` directory mounted into each action, and can be copied off the machine as described elsewhere.", - "type": "string" - } - }, - "type": "object" - }, - "DelayedEvent": { - "description": "An event generated whenever a resource limitation or transient error delays execution of a pipeline that was otherwise ready to run.", - "id": "DelayedEvent", - "properties": { - "cause": { - "description": "A textual description of the cause of the delay. The string can change without notice because it is often generated by another service (such as Compute Engine).", - "type": "string" - }, - "metrics": { - "description": "If the delay was caused by a resource shortage, this field lists the Compute Engine metrics that are preventing this operation from running (for example, `CPUS` or `INSTANCES`). If the particular metric is not known, a single `UNKNOWN` metric will be present.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Disk": { - "description": "Carries information about a disk that can be attached to a VM. See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations. Specify either `Volume` or `Disk`, but not both.", - "id": "Disk", - "properties": { - "name": { - "description": "A user-supplied name for the disk. Used when mounting the disk into actions. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.", - "type": "string" - }, - "sizeGb": { - "description": "The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance. If the disk type is specified as `local-ssd`, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.", - "format": "int32", - "type": "integer" - }, - "sourceImage": { - "description": "An optional image to put on the disk before attaching it to the VM.", - "type": "string" - }, - "type": { - "description": "The Compute Engine disk type. If unspecified, `pd-standard` is used.", - "type": "string" - } - }, - "type": "object" - }, - "Event": { - "description": "Carries information about events that occur during pipeline execution.", - "id": "Event", - "properties": { - "description": { - "description": "A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the `details` field.", - "type": "string" - }, - "details": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Machine-readable details about the event.", - "type": "object" - }, - "timestamp": { - "description": "The time at which the event occurred.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "ExistingDisk": { - "description": "Configuration for an existing disk to be attached to the VM.", - "id": "ExistingDisk", - "properties": { - "disk": { - "description": "If `disk` contains slashes, the Cloud Life Sciences API assumes that it is a complete URL for the disk. If `disk` does not contain slashes, the Cloud Life Sciences API assumes that the disk is a zonal disk and a URL will be generated of the form `zones//disks/`, where `` is the zone in which the instance is allocated. The disk must be ext4 formatted. If all `Mount` references to this disk have the `read_only` flag set to true, the disk will be attached in `read-only` mode and can be shared with other instances. Otherwise, the disk will be available for writing but cannot be shared.", - "type": "string" - } - }, - "type": "object" - }, - "FailedEvent": { - "description": "An event generated when the execution of a pipeline has failed. Note that other events can continue to occur after this event.", - "id": "FailedEvent", - "properties": { - "cause": { - "description": "The human-readable description of the cause of the failure.", - "type": "string" - }, - "code": { - "description": "The Google standard error code that best describes this failure.", - "enum": [ - "OK", - "CANCELLED", - "UNKNOWN", - "INVALID_ARGUMENT", - "DEADLINE_EXCEEDED", - "NOT_FOUND", - "ALREADY_EXISTS", - "PERMISSION_DENIED", - "UNAUTHENTICATED", - "RESOURCE_EXHAUSTED", - "FAILED_PRECONDITION", - "ABORTED", - "OUT_OF_RANGE", - "UNIMPLEMENTED", - "INTERNAL", - "UNAVAILABLE", - "DATA_LOSS" - ], - "enumDescriptions": [ - "Not an error; returned on success HTTP Mapping: 200 OK", - "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", - "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", - "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", - "The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", - "Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", - "The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", - "The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", - "The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", - "Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", - "The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", - "The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", - "The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", - "The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", - "Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", - "The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", - "Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" - ], - "type": "string" - } - }, - "type": "object" - }, - "Metadata": { - "description": "Carries information about the pipeline execution that is returned in the long running operation's metadata field.", - "id": "Metadata", - "properties": { - "createTime": { - "description": "The time at which the operation was created by the API.", - "format": "google-datetime", - "type": "string" - }, - "endTime": { - "description": "The time at which execution was completed and resources were cleaned up.", - "format": "google-datetime", - "type": "string" - }, - "events": { - "description": "The list of events that have happened so far during the execution of this operation.", - "items": { - "$ref": "Event" - }, - "type": "array" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "The user-defined labels associated with this operation.", - "type": "object" - }, - "pipeline": { - "$ref": "Pipeline", - "description": "The pipeline this operation represents." - }, - "startTime": { - "description": "The first time at which resources were allocated to execute the pipeline.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "Mount": { - "description": "Carries information about a particular disk mount inside a container.", - "id": "Mount", - "properties": { - "disk": { - "description": "The name of the disk to mount, as specified in the resources section.", - "type": "string" - }, - "path": { - "description": "The path to mount the disk inside the container.", - "type": "string" - }, - "readOnly": { - "description": "If true, the disk is mounted read-only inside the container.", - "type": "boolean" - } - }, - "type": "object" - }, - "NFSMount": { - "description": "Configuration for an `NFSMount` to be attached to the VM.", - "id": "NFSMount", - "properties": { - "target": { - "description": "A target NFS mount. The target must be specified as `address:/mount\".", - "type": "string" - } - }, - "type": "object" - }, - "Network": { - "description": "VM networking options.", - "id": "Network", - "properties": { - "name": { - "description": "The network name to attach the VM's network interface to. The value will be prefixed with `global/networks/` unless it contains a `/`, in which case it is assumed to be a fully specified network resource URL. If unspecified, the global default network is used.", - "type": "string" - }, - "subnetwork": { - "description": "If the specified network is configured for custom subnet creation, the name of the subnetwork to attach the instance to must be specified here. The value is prefixed with `regions/*/subnetworks/` unless it contains a `/`, in which case it is assumed to be a fully specified subnetwork resource URL. If the `*` character appears in the value, it is replaced with the region that the virtual machine has been allocated in.", - "type": "string" - }, - "usePrivateAddress": { - "description": "If set to true, do not attach a public IP address to the VM. Note that without a public IP address, additional configuration is required to allow the VM to access Google services. See https://cloud.google.com/vpc/docs/configure-private-google-access for more information.", - "type": "boolean" - } - }, - "type": "object" - }, - "PersistentDisk": { - "description": "Configuration for a persistent disk to be attached to the VM. See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations.", - "id": "PersistentDisk", - "properties": { - "sizeGb": { - "description": "The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance. If the disk type is specified as `local-ssd`, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.", - "format": "int32", - "type": "integer" - }, - "sourceImage": { - "description": "An image to put on the disk before attaching it to the VM.", - "type": "string" - }, - "type": { - "description": "The Compute Engine disk type. If unspecified, `pd-standard` is used.", - "type": "string" - } - }, - "type": "object" - }, - "Pipeline": { - "description": "Specifies a series of actions to execute, expressed as Docker containers.", - "id": "Pipeline", - "properties": { - "actions": { - "description": "The list of actions to execute, in the order they are specified.", - "items": { - "$ref": "Action" - }, - "type": "array" - }, - "encryptedEnvironment": { - "$ref": "Secret", - "description": "The encrypted environment to pass into every action. Each action can also specify its own encrypted environment. The secret must decrypt to a JSON-encoded dictionary where key-value pairs serve as environment variable names and their values. The decoded environment variables can overwrite the values specified by the `environment` field." - }, - "environment": { - "additionalProperties": { - "type": "string" - }, - "description": "The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map (though they can overwrite it with a different value).", - "type": "object" - }, - "resources": { - "$ref": "Resources", - "description": "The resources required for execution." - }, - "timeout": { - "description": "The maximum amount of time to give the pipeline to complete. This includes the time spent waiting for a worker to be allocated. If the pipeline fails to complete before the timeout, it will be cancelled and the error code will be set to DEADLINE_EXCEEDED. If unspecified, it will default to 7 days.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "PullStartedEvent": { - "description": "An event generated when the worker starts pulling an image.", - "id": "PullStartedEvent", - "properties": { - "imageUri": { - "description": "The URI of the image that was pulled.", - "type": "string" - } - }, - "type": "object" - }, - "PullStoppedEvent": { - "description": "An event generated when the worker stops pulling an image.", - "id": "PullStoppedEvent", - "properties": { - "imageUri": { - "description": "The URI of the image that was pulled.", - "type": "string" - } - }, - "type": "object" - }, - "Resources": { - "description": "The system resources for the pipeline run. At least one zone or region must be specified or the pipeline run will fail.", - "id": "Resources", - "properties": { - "projectId": { - "description": "The project ID to allocate resources in.", - "type": "string" - }, - "regions": { - "description": "The list of regions allowed for VM allocation. If set, the `zones` field must not be set.", - "items": { - "type": "string" - }, - "type": "array" - }, - "virtualMachine": { - "$ref": "VirtualMachine", - "description": "The virtual machine specification." - }, - "zones": { - "description": "The list of zones allowed for VM allocation. If set, the `regions` field must not be set.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "RunPipelineResponse": { - "description": "The response to the RunPipeline method, returned in the operation's result field on success.", - "id": "RunPipelineResponse", - "properties": {}, - "type": "object" - }, - "Secret": { - "description": "Holds encrypted information that is only decrypted and stored in RAM by the worker VM when running the pipeline.", - "id": "Secret", - "properties": { - "cipherText": { - "description": "The value of the cipherText response from the `encrypt` method. This field is intentionally unaudited.", - "type": "string" - }, - "keyName": { - "description": "The name of the Cloud KMS key that will be used to decrypt the secret value. The VM service account must have the required permissions and authentication scopes to invoke the `decrypt` method on the specified key.", - "type": "string" - } - }, - "type": "object" - }, - "ServiceAccount": { - "description": "Carries information about a Google Cloud service account.", - "id": "ServiceAccount", - "properties": { - "email": { - "description": "Email address of the service account. If not specified, the default Compute Engine service account for the project will be used.", - "type": "string" - }, - "scopes": { - "description": "List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "UnexpectedExitStatusEvent": { - "description": "An event generated when the execution of a container results in a non-zero exit status that was not otherwise ignored. Execution will continue, but only actions that are flagged as `ALWAYS_RUN` will be executed. Other actions will be skipped.", - "id": "UnexpectedExitStatusEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started the container.", - "format": "int32", - "type": "integer" - }, - "exitStatus": { - "description": "The exit status of the container.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "VirtualMachine": { - "description": "Carries information about a Compute Engine VM resource.", - "id": "VirtualMachine", - "properties": { - "accelerators": { - "description": "The list of accelerators to attach to the VM.", - "items": { - "$ref": "Accelerator" - }, - "type": "array" - }, - "bootDiskSizeGb": { - "description": "The size of the boot disk, in GB. The boot disk must be large enough to accommodate all of the Docker images from each action in the pipeline at the same time. If not specified, a small but reasonable default value is used.", - "format": "int32", - "type": "integer" - }, - "bootImage": { - "description": "The host operating system image to use. Currently, only Container-Optimized OS images can be used. The default value is `projects/cos-cloud/global/images/family/cos-stable`, which selects the latest stable release of Container-Optimized OS. This option is provided to allow testing against the beta release of the operating system to ensure that the new version does not interact negatively with production pipelines. To test a pipeline against the beta release of Container-Optimized OS, use the value `projects/cos-cloud/global/images/family/cos-beta`.", - "type": "string" - }, - "cpuPlatform": { - "description": "The CPU platform to request. An instance based on a newer platform can be allocated, but never one with fewer capabilities. The value of this parameter must be a valid Compute Engine CPU platform name (such as \"Intel Skylake\"). This parameter is only useful for carefully optimized work loads where the CPU platform has a significant impact. For more information about the effect of this parameter, see https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.", - "type": "string" - }, - "disks": { - "description": "The list of disks to create and attach to the VM. Specify either the `volumes[]` field or the `disks[]` field, but not both.", - "items": { - "$ref": "Disk" - }, - "type": "array" - }, - "dockerCacheImages": { - "description": "The Compute Engine Disk Images to use as a Docker cache. The disks will be mounted into the Docker folder in a way that the images present in the cache will not need to be pulled. The digests of the cached images must match those of the tags used or the latest version will still be pulled. The root directory of the ext4 image must contain `image` and `overlay2` directories copied from the Docker directory of a VM where the desired Docker images have already been pulled. Any images pulled that are not cached will be stored on the first cache disk instead of the boot disk. Only a single image is supported.", - "items": { - "type": "string" - }, - "type": "array" - }, - "enableStackdriverMonitoring": { - "description": "Whether Stackdriver monitoring should be enabled on the VM.", - "type": "boolean" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the [name and value restrictions](https://cloud.google.com/compute/docs/labeling-resources) on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.", - "type": "object" - }, - "machineType": { - "description": "Required. The machine type of the virtual machine to create. Must be the short name of a standard machine type (such as \"n1-standard-1\") or a custom machine type (such as \"custom-1-4096\", where \"1\" indicates the number of vCPUs and \"4096\" indicates the memory in MB). See [Creating an instance with a custom machine type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) for more specifications on creating a custom machine type.", - "type": "string" - }, - "network": { - "$ref": "Network", - "description": "The VM network configuration." - }, - "nvidiaDriverVersion": { - "description": "The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator. The version specified here must be compatible with the GPU libraries contained in the container being executed, and must be one of the drivers hosted in the `nvidia-drivers-us-public` bucket on Google Cloud Storage.", - "type": "string" - }, - "preemptible": { - "description": "If true, allocate a preemptible VM.", - "type": "boolean" - }, - "serviceAccount": { - "$ref": "ServiceAccount", - "description": "The service account to install on the VM. This account does not need any permissions other than those required by the pipeline." - }, - "volumes": { - "description": "The list of disks and other storage to create or attach to the VM. Specify either the `volumes[]` field or the `disks[]` field, but not both.", - "items": { - "$ref": "Volume" - }, - "type": "array" - } - }, - "type": "object" - }, - "Volume": { - "description": "Carries information about storage that can be attached to a VM. Specify either `Volume` or `Disk`, but not both.", - "id": "Volume", - "properties": { - "existingDisk": { - "$ref": "ExistingDisk", - "description": "Configuration for a existing disk." - }, - "nfsMount": { - "$ref": "NFSMount", - "description": "Configuration for an NFS mount." - }, - "persistentDisk": { - "$ref": "PersistentDisk", - "description": "Configuration for a persistent disk." - }, - "volume": { - "description": "A user-supplied name for the volume. Used when mounting the volume into `Actions`. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.", - "type": "string" - } - }, - "type": "object" - }, - "WorkerAssignedEvent": { - "description": "An event generated after a worker VM has been assigned to run the pipeline.", - "id": "WorkerAssignedEvent", - "properties": { - "instance": { - "description": "The worker's instance name.", - "type": "string" - }, - "machineType": { - "description": "The machine type that was assigned for the worker.", - "type": "string" - }, - "zone": { - "description": "The zone the worker is running in.", - "type": "string" - } - }, - "type": "object" - }, - "WorkerReleasedEvent": { - "description": "An event generated when the worker VM that was assigned to the pipeline has been released (deleted).", - "id": "WorkerReleasedEvent", - "properties": { - "instance": { - "description": "The worker's instance name.", - "type": "string" - }, - "zone": { - "description": "The zone the worker was running in.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Genomics API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/genomics-v1alpha2.json b/discovery/genomics-v1alpha2.json deleted file mode 100644 index f60bdf38ae3..00000000000 --- a/discovery/genomics-v1alpha2.json +++ /dev/null @@ -1,1293 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" - }, - "https://www.googleapis.com/auth/compute": { - "description": "View and manage your Google Compute Engine resources" - }, - "https://www.googleapis.com/auth/genomics": { - "description": "View and manage Genomics data" - } - } - } - }, - "basePath": "", - "baseUrl": "https://genomics.googleapis.com/", - "batchPath": "batch", - "description": "Uploads, processes, queries, and searches Genomics data in the cloud.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/genomics", - "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": "genomics:v1alpha2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://genomics.mtls.googleapis.com/", - "name": "genomics", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.cancel`", - "flatPath": "v1alpha2/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "genomics.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.get`", - "flatPath": "v1alpha2/operations/{operationsId}", - "httpMethod": "GET", - "id": "genomics.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.list`", - "flatPath": "v1alpha2/operations", - "httpMethod": "GET", - "id": "genomics.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "A string for filtering Operations. In v2alpha1, the following filter fields are supported: * createTime: The time this job was created * events: The set of event (names) that have occurred while running the pipeline. The : operator can be used to determine if a particular event has occurred. * error: If the pipeline is running, this value is NULL. Once the pipeline finishes, the value is the standard Google error code. * labels.key or labels.\"key with space\" where key is a label key. * done: If the pipeline is running, this value is false. Once the pipeline finishes, the value is true. In v1 and v1alpha2, the following filter fields are supported: * projectId: Required. Corresponds to OperationMetadata.projectId. * createTime: The time this job was created, in seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=` operators. * status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only one status may be specified. * labels.key where key is a label key. Examples: * `projectId = my-project AND createTime >= 1432140000` * `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId = my-project AND labels.color = red`", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The maximum number of results to return. The maximum value is 256.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - } - } - }, - "pipelines": { - "methods": { - "create": { - "description": "Creates a pipeline that can be run later. Create takes a Pipeline that has all fields other than `pipelineId` populated, and then returns the same pipeline with `pipelineId` populated. This id can be used to run the pipeline. Caller must have WRITE permission to the project.", - "flatPath": "v1alpha2/pipelines", - "httpMethod": "POST", - "id": "genomics.pipelines.create", - "parameterOrder": [], - "parameters": {}, - "path": "v1alpha2/pipelines", - "request": { - "$ref": "Pipeline" - }, - "response": { - "$ref": "Pipeline" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - }, - "delete": { - "description": "Deletes a pipeline based on ID. Caller must have WRITE permission to the project.", - "flatPath": "v1alpha2/pipelines/{pipelineId}", - "httpMethod": "DELETE", - "id": "genomics.pipelines.delete", - "parameterOrder": [ - "pipelineId" - ], - "parameters": { - "pipelineId": { - "description": "Caller must have WRITE access to the project in which this pipeline is defined.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/pipelines/{pipelineId}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - }, - "get": { - "description": "Retrieves a pipeline based on ID. Caller must have READ permission to the project.", - "flatPath": "v1alpha2/pipelines/{pipelineId}", - "httpMethod": "GET", - "id": "genomics.pipelines.get", - "parameterOrder": [ - "pipelineId" - ], - "parameters": { - "pipelineId": { - "description": "Caller must have READ access to the project in which this pipeline is defined.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/pipelines/{pipelineId}", - "response": { - "$ref": "Pipeline" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - }, - "getControllerConfig": { - "description": "Gets controller configuration information. Should only be called by VMs created by the Pipelines Service and not by end users.", - "flatPath": "v1alpha2/pipelines:getControllerConfig", - "httpMethod": "GET", - "id": "genomics.pipelines.getControllerConfig", - "parameterOrder": [], - "parameters": { - "operationId": { - "description": "The operation to retrieve controller configuration for.", - "location": "query", - "type": "string" - }, - "validationToken": { - "format": "uint64", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/pipelines:getControllerConfig", - "response": { - "$ref": "ControllerConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - }, - "list": { - "description": "Lists pipelines. Caller must have READ permission to the project.", - "flatPath": "v1alpha2/pipelines", - "httpMethod": "GET", - "id": "genomics.pipelines.list", - "parameterOrder": [], - "parameters": { - "namePrefix": { - "description": "Pipelines with names that match this prefix should be returned. If unspecified, all pipelines in the project, up to `pageSize`, will be returned.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Number of pipelines to return at once. Defaults to 256, and max is 2048.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Token to use to indicate where to start getting results. If unspecified, returns the first page of results.", - "location": "query", - "type": "string" - }, - "projectId": { - "description": "Required. The name of the project to search for pipelines. Caller must have READ access to this project.", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/pipelines", - "response": { - "$ref": "ListPipelinesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - }, - "run": { - "description": "Runs a pipeline. If `pipelineId` is specified in the request, then run a saved pipeline. If `ephemeralPipeline` is specified, then run that pipeline once without saving a copy. The caller must have READ permission to the project where the pipeline is stored and WRITE permission to the project where the pipeline will be run, as VMs will be created and storage will be used. If a pipeline operation is still running after 6 days, it will be canceled.", - "flatPath": "v1alpha2/pipelines:run", - "httpMethod": "POST", - "id": "genomics.pipelines.run", - "parameterOrder": [], - "parameters": {}, - "path": "v1alpha2/pipelines:run", - "request": { - "$ref": "RunPipelineRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/genomics" - ] - }, - "setOperationStatus": { - "description": "Sets status of a given operation. Any new timestamps (as determined by description) are appended to TimestampEvents. Should only be called by VMs created by the Pipelines Service and not by end users.", - "flatPath": "v1alpha2/pipelines:setOperationStatus", - "httpMethod": "PUT", - "id": "genomics.pipelines.setOperationStatus", - "parameterOrder": [], - "parameters": {}, - "path": "v1alpha2/pipelines:setOperationStatus", - "request": { - "$ref": "SetOperationStatusRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - } - } - } - }, - "revision": "20210420", - "rootUrl": "https://genomics.googleapis.com/", - "schemas": { - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "ComputeEngine": { - "description": "Describes a Compute Engine resource that is being managed by a running pipeline.", - "id": "ComputeEngine", - "properties": { - "diskNames": { - "description": "The names of the disks that were created for this pipeline.", - "items": { - "type": "string" - }, - "type": "array" - }, - "instanceName": { - "description": "The instance on which the operation is running.", - "type": "string" - }, - "machineType": { - "description": "The machine type of the instance.", - "type": "string" - }, - "zone": { - "description": "The availability zone in which the instance resides.", - "type": "string" - } - }, - "type": "object" - }, - "ContainerKilledEvent": { - "description": "An event generated when a container is forcibly terminated by the worker. Currently, this only occurs when the container outlives the timeout specified by the user.", - "id": "ContainerKilledEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started the container.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ContainerStartedEvent": { - "description": "An event generated when a container starts.", - "id": "ContainerStartedEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started this container.", - "format": "int32", - "type": "integer" - }, - "ipAddress": { - "description": "The public IP address that can be used to connect to the container. This field is only populated when at least one port mapping is present. If the instance was created with a private address, this field will be empty even if port mappings exist.", - "type": "string" - }, - "portMappings": { - "additionalProperties": { - "format": "int32", - "type": "integer" - }, - "description": "The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.", - "type": "object" - } - }, - "type": "object" - }, - "ContainerStoppedEvent": { - "description": "An event generated when a container exits.", - "id": "ContainerStoppedEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started this container.", - "format": "int32", - "type": "integer" - }, - "exitStatus": { - "description": "The exit status of the container.", - "format": "int32", - "type": "integer" - }, - "stderr": { - "description": "The tail end of any content written to standard error by the container. If the content emits large amounts of debugging noise or contains sensitive information, you can prevent the content from being printed by setting the `DISABLE_STANDARD_ERROR_CAPTURE` flag. Note that only a small amount of the end of the stream is captured here. The entire stream is stored in the `/google/logs` directory mounted into each action, and can be copied off the machine as described elsewhere.", - "type": "string" - } - }, - "type": "object" - }, - "ControllerConfig": { - "description": "Stores the information that the controller will fetch from the server in order to run. Should only be used by VMs created by the Pipelines Service and not by end users.", - "id": "ControllerConfig", - "properties": { - "cmd": { - "type": "string" - }, - "disks": { - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "gcsLogPath": { - "type": "string" - }, - "gcsSinks": { - "additionalProperties": { - "$ref": "RepeatedString" - }, - "type": "object" - }, - "gcsSources": { - "additionalProperties": { - "$ref": "RepeatedString" - }, - "type": "object" - }, - "image": { - "type": "string" - }, - "machineType": { - "type": "string" - }, - "vars": { - "additionalProperties": { - "type": "string" - }, - "type": "object" - } - }, - "type": "object" - }, - "DelayedEvent": { - "description": "An event generated whenever a resource limitation or transient error delays execution of a pipeline that was otherwise ready to run.", - "id": "DelayedEvent", - "properties": { - "cause": { - "description": "A textual description of the cause of the delay. The string can change without notice because it is often generated by another service (such as Compute Engine).", - "type": "string" - }, - "metrics": { - "description": "If the delay was caused by a resource shortage, this field lists the Compute Engine metrics that are preventing this operation from running (for example, `CPUS` or `INSTANCES`). If the particular metric is not known, a single `UNKNOWN` metric will be present.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Disk": { - "description": "A Google Compute Engine disk resource specification.", - "id": "Disk", - "properties": { - "autoDelete": { - "description": "Deprecated. Disks created by the Pipelines API will be deleted at the end of the pipeline run, regardless of what this field is set to.", - "type": "boolean" - }, - "mountPoint": { - "description": "Required at create time and cannot be overridden at run time. Specifies the path in the docker container where files on this disk should be located. For example, if `mountPoint` is `/mnt/disk`, and the parameter has `localPath` `inputs/file.txt`, the docker container can access the data at `/mnt/disk/inputs/file.txt`.", - "type": "string" - }, - "name": { - "description": "Required. The name of the disk that can be used in the pipeline parameters. Must be 1 - 63 characters. The name \"boot\" is reserved for system use.", - "type": "string" - }, - "readOnly": { - "description": "Specifies how a sourced-base persistent disk will be mounted. See https://cloud.google.com/compute/docs/disks/persistent-disks#use_multi_instances for more details. Can only be set at create time.", - "type": "boolean" - }, - "sizeGb": { - "description": "The size of the disk. Defaults to 500 (GB). This field is not applicable for local SSD.", - "format": "int32", - "type": "integer" - }, - "source": { - "description": "The full or partial URL of the persistent disk to attach. See https://cloud.google.com/compute/docs/reference/latest/instances#resource and https://cloud.google.com/compute/docs/disks/persistent-disks#snapshots for more details.", - "type": "string" - }, - "type": { - "description": "Required. The type of the disk to create.", - "enum": [ - "TYPE_UNSPECIFIED", - "PERSISTENT_HDD", - "PERSISTENT_SSD", - "LOCAL_SSD" - ], - "enumDescriptions": [ - "Default disk type. Use one of the other options below.", - "Specifies a Google Compute Engine persistent hard disk. See https://cloud.google.com/compute/docs/disks/#pdspecs for details.", - "Specifies a Google Compute Engine persistent solid-state disk. See https://cloud.google.com/compute/docs/disks/#pdspecs for details.", - "Specifies a Google Compute Engine local SSD. See https://cloud.google.com/compute/docs/disks/local-ssd for details." - ], - "type": "string" - } - }, - "type": "object" - }, - "DockerExecutor": { - "description": "The Docker execuctor specification.", - "id": "DockerExecutor", - "properties": { - "cmd": { - "description": "Required. The command or newline delimited script to run. The command string will be executed within a bash shell. If the command exits with a non-zero exit code, output parameter de-localization will be skipped and the pipeline operation's `error` field will be populated. Maximum command string length is 16384.", - "type": "string" - }, - "imageName": { - "description": "Required. Image name from either Docker Hub or Google Container Registry. Users that run pipelines must have READ access to the image.", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Event": { - "description": "Carries information about events that occur during pipeline execution.", - "id": "Event", - "properties": { - "description": { - "description": "A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the `details` field.", - "type": "string" - }, - "details": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Machine-readable details about the event.", - "type": "object" - }, - "timestamp": { - "description": "The time at which the event occurred.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "FailedEvent": { - "description": "An event generated when the execution of a pipeline has failed. Note that other events can continue to occur after this event.", - "id": "FailedEvent", - "properties": { - "cause": { - "description": "The human-readable description of the cause of the failure.", - "type": "string" - }, - "code": { - "description": "The Google standard error code that best describes this failure.", - "enum": [ - "OK", - "CANCELLED", - "UNKNOWN", - "INVALID_ARGUMENT", - "DEADLINE_EXCEEDED", - "NOT_FOUND", - "ALREADY_EXISTS", - "PERMISSION_DENIED", - "UNAUTHENTICATED", - "RESOURCE_EXHAUSTED", - "FAILED_PRECONDITION", - "ABORTED", - "OUT_OF_RANGE", - "UNIMPLEMENTED", - "INTERNAL", - "UNAVAILABLE", - "DATA_LOSS" - ], - "enumDescriptions": [ - "Not an error; returned on success HTTP Mapping: 200 OK", - "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", - "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", - "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", - "The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", - "Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", - "The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", - "The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", - "The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", - "Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", - "The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", - "The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", - "The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", - "The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", - "Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", - "The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", - "Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" - ], - "type": "string" - } - }, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListPipelinesResponse": { - "description": "The response of ListPipelines. Contains at most `pageSize` pipelines. If it contains `pageSize` pipelines, and more pipelines exist, then `nextPageToken` will be populated and should be used as the `pageToken` argument to a subsequent ListPipelines request.", - "id": "ListPipelinesResponse", - "properties": { - "nextPageToken": { - "description": "The token to use to get the next page of results.", - "type": "string" - }, - "pipelines": { - "description": "The matched pipelines.", - "items": { - "$ref": "Pipeline" - }, - "type": "array" - } - }, - "type": "object" - }, - "LocalCopy": { - "description": "LocalCopy defines how a remote file should be copied to and from the VM.", - "id": "LocalCopy", - "properties": { - "disk": { - "description": "Required. The name of the disk where this parameter is located. Can be the name of one of the disks specified in the Resources field, or \"boot\", which represents the Docker instance's boot disk and has a mount point of `/`.", - "type": "string" - }, - "path": { - "description": "Required. The path within the user's docker container where this input should be localized to and from, relative to the specified disk's mount point. For example: file.txt,", - "type": "string" - } - }, - "type": "object" - }, - "LoggingOptions": { - "description": "The logging options for the pipeline run.", - "id": "LoggingOptions", - "properties": { - "gcsPath": { - "description": "The location in Google Cloud Storage to which the pipeline logs will be copied. Can be specified as a fully qualified directory path, in which case logs will be output with a unique identifier as the filename in that directory, or as a fully specified path, which must end in `.log`, in which case that path will be used, and the user must ensure that logs are not overwritten. Stdout and stderr logs from the run are also generated and output as `-stdout.log` and `-stderr.log`.", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "An OperationMetadata or Metadata object. This will always be returned with the Operation.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "An Empty object.", - "type": "object" - } - }, - "type": "object" - }, - "OperationEvent": { - "description": "An event that occurred during an Operation.", - "id": "OperationEvent", - "properties": { - "description": { - "description": "Required description of event.", - "type": "string" - }, - "endTime": { - "description": "Optional time of when event finished. An event can have a start time and no finish time. If an event has a finish time, there must be a start time.", - "format": "google-datetime", - "type": "string" - }, - "startTime": { - "description": "Optional time of when event started.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "OperationMetadata": { - "description": "Metadata describing an Operation.", - "id": "OperationMetadata", - "properties": { - "clientId": { - "description": "This field is deprecated. Use `labels` instead. Optionally provided by the caller when submitting the request that creates the operation.", - "type": "string" - }, - "createTime": { - "description": "The time at which the job was submitted to the Genomics service.", - "format": "google-datetime", - "type": "string" - }, - "endTime": { - "description": "The time at which the job stopped running.", - "format": "google-datetime", - "type": "string" - }, - "events": { - "description": "Optional event messages that were generated during the job's execution. This also contains any warnings that were generated during import or export.", - "items": { - "$ref": "OperationEvent" - }, - "type": "array" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optionally provided by the caller when submitting the request that creates the operation.", - "type": "object" - }, - "projectId": { - "description": "The Google Cloud Project in which the job is scoped.", - "type": "string" - }, - "request": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The original request that started the operation. Note that this will be in current version of the API. If the operation was started with v1beta2 API and a GetOperation is performed on v1 API, a v1 request will be returned.", - "type": "object" - }, - "runtimeMetadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Runtime metadata on this Operation.", - "type": "object" - }, - "startTime": { - "description": "The time at which the job began to run.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "Pipeline": { - "description": "The pipeline object. Represents a transformation from a set of input parameters to a set of output parameters. The transformation is defined as a docker image and command to run within that image. Each pipeline is run on a Google Compute Engine VM. A pipeline can be created with the `create` method and then later run with the `run` method, or a pipeline can be defined and run all at once with the `run` method.", - "id": "Pipeline", - "properties": { - "description": { - "description": "User-specified description.", - "type": "string" - }, - "docker": { - "$ref": "DockerExecutor", - "description": "Specifies the docker run information." - }, - "inputParameters": { - "description": "Input parameters of the pipeline.", - "items": { - "$ref": "PipelineParameter" - }, - "type": "array" - }, - "name": { - "description": "Required. A user specified pipeline name that does not have to be unique. This name can be used for filtering Pipelines in ListPipelines.", - "type": "string" - }, - "outputParameters": { - "description": "Output parameters of the pipeline.", - "items": { - "$ref": "PipelineParameter" - }, - "type": "array" - }, - "pipelineId": { - "description": "Unique pipeline id that is generated by the service when CreatePipeline is called. Cannot be specified in the Pipeline used in the CreatePipelineRequest, and will be populated in the response to CreatePipeline and all subsequent Get and List calls. Indicates that the service has registered this pipeline.", - "type": "string" - }, - "projectId": { - "description": "Required. The project in which to create the pipeline. The caller must have WRITE access.", - "type": "string" - }, - "resources": { - "$ref": "PipelineResources", - "description": "Required. Specifies resource requirements for the pipeline run. Required fields: * minimumCpuCores * minimumRamGb" - } - }, - "type": "object" - }, - "PipelineParameter": { - "description": "Parameters facilitate setting and delivering data into the pipeline's execution environment. They are defined at create time, with optional defaults, and can be overridden at run time. If `localCopy` is unset, then the parameter specifies a string that is passed as-is into the pipeline, as the value of the environment variable with the given name. A default value can be optionally specified at create time. The default can be overridden at run time using the inputs map. If no default is given, a value must be supplied at runtime. If `localCopy` is defined, then the parameter specifies a data source or sink, both in Google Cloud Storage and on the Docker container where the pipeline computation is run. The service account associated with the Pipeline (by default the project's Compute Engine service account) must have access to the Google Cloud Storage paths. At run time, the Google Cloud Storage paths can be overridden if a default was provided at create time, or must be set otherwise. The pipeline runner should add a key/value pair to either the inputs or outputs map. The indicated data copies will be carried out before/after pipeline execution, just as if the corresponding arguments were provided to `gsutil cp`. For example: Given the following `PipelineParameter`, specified in the `inputParameters` list: ``` {name: \"input_file\", localCopy: {path: \"file.txt\", disk: \"pd1\"}} ``` where `disk` is defined in the `PipelineResources` object as: ``` {name: \"pd1\", mountPoint: \"/mnt/disk/\"} ``` We create a disk named `pd1`, mount it on the host VM, and map `/mnt/pd1` to `/mnt/disk` in the docker container. At runtime, an entry for `input_file` would be required in the inputs map, such as: ``` inputs[\"input_file\"] = \"gs://my-bucket/bar.txt\" ``` This would generate the following gsutil call: ``` gsutil cp gs://my-bucket/bar.txt /mnt/pd1/file.txt ``` The file `/mnt/pd1/file.txt` maps to `/mnt/disk/file.txt` in the Docker container. Acceptable paths are: Google Cloud storage pathLocal path file file glob directory For outputs, the direction of the copy is reversed: ``` gsutil cp /mnt/disk/file.txt gs://my-bucket/bar.txt ``` Acceptable paths are: Local pathGoogle Cloud Storage path file file file directory - directory must already exist glob directory - directory will be created if it doesn't exist One restriction due to docker limitations, is that for outputs that are found on the boot disk, the local path cannot be a glob and must be a file.", - "id": "PipelineParameter", - "properties": { - "defaultValue": { - "description": "The default value for this parameter. Can be overridden at runtime. If `localCopy` is present, then this must be a Google Cloud Storage path beginning with `gs://`.", - "type": "string" - }, - "description": { - "description": "Human-readable description.", - "type": "string" - }, - "localCopy": { - "$ref": "LocalCopy", - "description": "If present, this parameter is marked for copying to and from the VM. `LocalCopy` indicates where on the VM the file should be. The value given to this parameter (either at runtime or using `defaultValue`) must be the remote path where the file should be." - }, - "name": { - "description": "Required. Name of the parameter - the pipeline runner uses this string as the key to the input and output maps in RunPipeline.", - "type": "string" - } - }, - "type": "object" - }, - "PipelineResources": { - "description": "The system resources for the pipeline run.", - "id": "PipelineResources", - "properties": { - "acceleratorCount": { - "description": "Optional. The number of accelerators of the specified type to attach. By specifying this parameter, you will download and install the following third-party software onto your managed Compute Engine instances: NVIDIA® Tesla® drivers and NVIDIA® CUDA toolkit.", - "format": "int64", - "type": "string" - }, - "acceleratorType": { - "description": "Optional. The Compute Engine defined accelerator type. By specifying this parameter, you will download and install the following third-party software onto your managed Compute Engine instances: NVIDIA® Tesla® drivers and NVIDIA® CUDA toolkit. Please see https://cloud.google.com/compute/docs/gpus/ for a list of available accelerator types.", - "type": "string" - }, - "bootDiskSizeGb": { - "description": "The size of the boot disk. Defaults to 10 (GB).", - "format": "int32", - "type": "integer" - }, - "disks": { - "description": "Disks to attach.", - "items": { - "$ref": "Disk" - }, - "type": "array" - }, - "minimumCpuCores": { - "description": "The minimum number of cores to use. Defaults to 1.", - "format": "int32", - "type": "integer" - }, - "minimumRamGb": { - "description": "The minimum amount of RAM to use. Defaults to 3.75 (GB)", - "format": "double", - "type": "number" - }, - "noAddress": { - "description": "Whether to assign an external IP to the instance. This is an experimental feature that may go away. Defaults to false. Corresponds to `--no_address` flag for [gcloud compute instances create] (https://cloud.google.com/sdk/gcloud/reference/compute/instances/create). In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. If you need to ssh into a private IP VM for debugging, you can ssh to a public VM and then ssh into the private VM's Internal IP. If noAddress is set, this pipeline run may only load docker images from Google Container Registry and not Docker Hub. Before using this, you must [configure access to Google services from internal IPs](https://cloud.google.com/compute/docs/configure-private-google-access#configuring_access_to_google_services_from_internal_ips).", - "type": "boolean" - }, - "preemptible": { - "description": "Whether to use preemptible VMs. Defaults to `false`. In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time.", - "type": "boolean" - }, - "zones": { - "description": "List of Google Compute Engine availability zones to which resource creation will restricted. If empty, any zone may be chosen.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "PullStartedEvent": { - "description": "An event generated when the worker starts pulling an image.", - "id": "PullStartedEvent", - "properties": { - "imageUri": { - "description": "The URI of the image that was pulled.", - "type": "string" - } - }, - "type": "object" - }, - "PullStoppedEvent": { - "description": "An event generated when the worker stops pulling an image.", - "id": "PullStoppedEvent", - "properties": { - "imageUri": { - "description": "The URI of the image that was pulled.", - "type": "string" - } - }, - "type": "object" - }, - "RepeatedString": { - "id": "RepeatedString", - "properties": { - "values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "RunPipelineArgs": { - "description": "The pipeline run arguments.", - "id": "RunPipelineArgs", - "properties": { - "clientId": { - "description": "This field is deprecated. Use `labels` instead. Client-specified pipeline operation identifier.", - "type": "string" - }, - "inputs": { - "additionalProperties": { - "type": "string" - }, - "description": "Pipeline input arguments; keys are defined in the pipeline documentation. All input parameters that do not have default values must be specified. If parameters with defaults are specified here, the defaults will be overridden.", - "type": "object" - }, - "keepVmAliveOnFailureDuration": { - "description": "How long to keep the VM up after a failure (for example docker command failed, copying input or output files failed, etc). While the VM is up, one can ssh into the VM to debug. Default is 0; maximum allowed value is 1 day.", - "format": "google-duration", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels to apply to this pipeline run. Labels will also be applied to compute resources (VM, disks) created by this pipeline run. When listing operations, operations can filtered by labels. Label keys may not be empty; label values may be empty. Non-empty labels must be 1-63 characters long, and comply with [RFC1035] (https://www.ietf.org/rfc/rfc1035.txt). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "type": "object" - }, - "logging": { - "$ref": "LoggingOptions", - "description": "Required. Logging options. Used by the service to communicate results to the user." - }, - "outputs": { - "additionalProperties": { - "type": "string" - }, - "description": "Pipeline output arguments; keys are defined in the pipeline documentation. All output parameters of without default values must be specified. If parameters with defaults are specified here, the defaults will be overridden.", - "type": "object" - }, - "projectId": { - "description": "Required. The project in which to run the pipeline. The caller must have WRITER access to all Google Cloud services and resources (e.g. Google Compute Engine) will be used.", - "type": "string" - }, - "resources": { - "$ref": "PipelineResources", - "description": "Specifies resource requirements/overrides for the pipeline run." - }, - "serviceAccount": { - "$ref": "ServiceAccount", - "description": "The Google Cloud Service Account that will be used to access data and services. By default, the compute service account associated with `projectId` is used." - } - }, - "type": "object" - }, - "RunPipelineRequest": { - "description": "The request to run a pipeline. If `pipelineId` is specified, it refers to a saved pipeline created with CreatePipeline and set as the `pipelineId` of the returned Pipeline object. If `ephemeralPipeline` is specified, that pipeline is run once with the given args and not saved. It is an error to specify both `pipelineId` and `ephemeralPipeline`. `pipelineArgs` must be specified.", - "id": "RunPipelineRequest", - "properties": { - "ephemeralPipeline": { - "$ref": "Pipeline", - "description": "A new pipeline object to run once and then delete." - }, - "pipelineArgs": { - "$ref": "RunPipelineArgs", - "description": "The arguments to use when running this pipeline." - }, - "pipelineId": { - "description": "The already created pipeline to run.", - "type": "string" - } - }, - "type": "object" - }, - "RunPipelineResponse": { - "description": "The response to the RunPipeline method, returned in the operation's result field on success.", - "id": "RunPipelineResponse", - "properties": {}, - "type": "object" - }, - "RuntimeMetadata": { - "description": "Runtime metadata that will be populated in the runtimeMetadata field of the Operation associated with a RunPipeline execution.", - "id": "RuntimeMetadata", - "properties": { - "computeEngine": { - "$ref": "ComputeEngine", - "description": "Execution information specific to Google Compute Engine." - } - }, - "type": "object" - }, - "ServiceAccount": { - "description": "A Google Cloud Service Account.", - "id": "ServiceAccount", - "properties": { - "email": { - "description": "Email address of the service account. Defaults to `default`, which uses the compute service account associated with the project.", - "type": "string" - }, - "scopes": { - "description": "List of scopes to be enabled for this service account on the VM. The following scopes are automatically included: * https://www.googleapis.com/auth/compute * https://www.googleapis.com/auth/devstorage.full_control * https://www.googleapis.com/auth/genomics * https://www.googleapis.com/auth/logging.write * https://www.googleapis.com/auth/monitoring.write", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "SetOperationStatusRequest": { - "description": "Request to set operation status. Should only be used by VMs created by the Pipelines Service and not by end users.", - "id": "SetOperationStatusRequest", - "properties": { - "errorCode": { - "enum": [ - "OK", - "CANCELLED", - "UNKNOWN", - "INVALID_ARGUMENT", - "DEADLINE_EXCEEDED", - "NOT_FOUND", - "ALREADY_EXISTS", - "PERMISSION_DENIED", - "UNAUTHENTICATED", - "RESOURCE_EXHAUSTED", - "FAILED_PRECONDITION", - "ABORTED", - "OUT_OF_RANGE", - "UNIMPLEMENTED", - "INTERNAL", - "UNAVAILABLE", - "DATA_LOSS" - ], - "enumDescriptions": [ - "Not an error; returned on success HTTP Mapping: 200 OK", - "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", - "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", - "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", - "The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", - "Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", - "The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", - "The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", - "The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", - "Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", - "The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", - "The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", - "The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", - "The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", - "Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", - "The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", - "Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" - ], - "type": "string" - }, - "errorMessage": { - "type": "string" - }, - "operationId": { - "type": "string" - }, - "timestampEvents": { - "items": { - "$ref": "TimestampEvent" - }, - "type": "array" - }, - "validationToken": { - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "TimestampEvent": { - "description": "Stores the list of events and times they occured for major events in job execution.", - "id": "TimestampEvent", - "properties": { - "description": { - "description": "String indicating the type of event", - "type": "string" - }, - "timestamp": { - "description": "The time this event occured.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "UnexpectedExitStatusEvent": { - "description": "An event generated when the execution of a container results in a non-zero exit status that was not otherwise ignored. Execution will continue, but only actions that are flagged as `ALWAYS_RUN` will be executed. Other actions will be skipped.", - "id": "UnexpectedExitStatusEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started the container.", - "format": "int32", - "type": "integer" - }, - "exitStatus": { - "description": "The exit status of the container.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "WorkerAssignedEvent": { - "description": "An event generated after a worker VM has been assigned to run the pipeline.", - "id": "WorkerAssignedEvent", - "properties": { - "instance": { - "description": "The worker's instance name.", - "type": "string" - }, - "machineType": { - "description": "The machine type that was assigned for the worker.", - "type": "string" - }, - "zone": { - "description": "The zone the worker is running in.", - "type": "string" - } - }, - "type": "object" - }, - "WorkerReleasedEvent": { - "description": "An event generated when the worker VM that was assigned to the pipeline has been released (deleted).", - "id": "WorkerReleasedEvent", - "properties": { - "instance": { - "description": "The worker's instance name.", - "type": "string" - }, - "zone": { - "description": "The zone the worker was running in.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Genomics API", - "version": "v1alpha2" -} \ No newline at end of file diff --git a/discovery/genomics-v2alpha1.json b/discovery/genomics-v2alpha1.json deleted file mode 100644 index aa814821b9b..00000000000 --- a/discovery/genomics-v2alpha1.json +++ /dev/null @@ -1,1257 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - }, - "https://www.googleapis.com/auth/genomics": { - "description": "View and manage Genomics data" - } - } - } - }, - "basePath": "", - "baseUrl": "https://genomics.googleapis.com/", - "batchPath": "batch", - "description": "Uploads, processes, queries, and searches Genomics data in the cloud.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/genomics", - "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": "genomics:v2alpha1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://genomics.mtls.googleapis.com/", - "name": "genomics", - "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": { - "pipelines": { - "methods": { - "run": { - "description": "Runs a pipeline. The returned Operation's metadata field will contain a google.genomics.v2alpha1.Metadata object describing the status of the pipeline execution. The [response] field will contain a google.genomics.v2alpha1.RunPipelineResponse object if the pipeline completes successfully. **Note:** Before you can use this method, the Genomics Service Agent must have access to your project. This is done automatically when the Cloud Genomics API is first enabled, but if you delete this permission, or if you enabled the Cloud Genomics API before the v2alpha1 API launch, you must disable and re-enable the API to grant the Genomics Service Agent the required permissions. Authorization requires the following [Google IAM](https://cloud.google.com/iam/) permission: * `genomics.operations.create` [1]: /genomics/gsa", - "flatPath": "v2alpha1/pipelines:run", - "httpMethod": "POST", - "id": "genomics.pipelines.run", - "parameterOrder": [], - "parameters": {}, - "path": "v2alpha1/pipelines:run", - "request": { - "$ref": "RunPipelineRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - } - } - }, - "projects": { - "resources": { - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.cancel`", - "flatPath": "v2alpha1/projects/{projectsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "genomics.projects.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha1/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.get`", - "flatPath": "v2alpha1/projects/{projectsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "genomics.projects.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.list`", - "flatPath": "v2alpha1/projects/{projectsId}/operations", - "httpMethod": "GET", - "id": "genomics.projects.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "A string for filtering Operations. In v2alpha1, the following filter fields are supported: * createTime: The time this job was created * events: The set of event (names) that have occurred while running the pipeline. The : operator can be used to determine if a particular event has occurred. * error: If the pipeline is running, this value is NULL. Once the pipeline finishes, the value is the standard Google error code. * labels.key or labels.\"key with space\" where key is a label key. * done: If the pipeline is running, this value is false. Once the pipeline finishes, the value is true. Examples: * `projectId = my-project AND createTime >= 1432140000` * `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId = my-project AND labels.color = red`", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+/operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The maximum number of results to return. The maximum value is 256.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v2alpha1/{+name}", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - } - } - }, - "workers": { - "methods": { - "checkIn": { - "description": "The worker uses this method to retrieve the assigned operation and provide periodic status updates.", - "flatPath": "v2alpha1/projects/{projectsId}/workers/{workersId}:checkIn", - "httpMethod": "POST", - "id": "genomics.projects.workers.checkIn", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The VM identity token for authenticating the VM instance. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", - "location": "path", - "pattern": "^projects/[^/]+/workers/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha1/{+id}:checkIn", - "request": { - "$ref": "CheckInRequest" - }, - "response": { - "$ref": "CheckInResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - } - } - } - } - }, - "workers": { - "methods": { - "checkIn": { - "description": "The worker uses this method to retrieve the assigned operation and provide periodic status updates.", - "flatPath": "v2alpha1/workers/{id}:checkIn", - "httpMethod": "POST", - "id": "genomics.workers.checkIn", - "parameterOrder": [ - "id" - ], - "parameters": { - "id": { - "description": "The VM identity token for authenticating the VM instance. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v2alpha1/workers/{id}:checkIn", - "request": { - "$ref": "CheckInRequest" - }, - "response": { - "$ref": "CheckInResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] - } - } - } - }, - "revision": "20220917", - "rootUrl": "https://genomics.googleapis.com/", - "schemas": { - "Accelerator": { - "description": "Carries information about an accelerator that can be attached to a VM.", - "id": "Accelerator", - "properties": { - "count": { - "description": "How many accelerators of this type to attach.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "The accelerator type string (for example, \"nvidia-tesla-k80\"). Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is attached, the required runtime libraries will be made available to all containers under `/usr/local/nvidia`. The driver version to install must be specified using the NVIDIA driver version parameter on the virtual machine specification. Note that attaching a GPU increases the worker VM startup time by a few minutes.", - "type": "string" - } - }, - "type": "object" - }, - "Action": { - "description": "Specifies a single action that runs a Docker container.", - "id": "Action", - "properties": { - "commands": { - "description": "If specified, overrides the `CMD` specified in the container. If the container also has an `ENTRYPOINT` the values are used as entrypoint arguments. Otherwise, they are used as a command and arguments to run inside the container.", - "items": { - "type": "string" - }, - "type": "array" - }, - "credentials": { - "$ref": "Secret", - "description": "If the specified image is hosted on a private registry other than Google Container Registry, the credentials required to pull the image must be specified here as an encrypted secret. The secret must decrypt to a JSON-encoded dictionary containing both `username` and `password` keys." - }, - "encryptedEnvironment": { - "$ref": "Secret", - "description": "The encrypted environment to pass into the container. This environment is merged with values specified in the google.genomics.v2alpha1.Pipeline message, overwriting any duplicate values. The secret must decrypt to a JSON-encoded dictionary where key-value pairs serve as environment variable names and their values. The decoded environment variables can overwrite the values specified by the `environment` field." - }, - "entrypoint": { - "description": "If specified, overrides the `ENTRYPOINT` specified in the container.", - "type": "string" - }, - "environment": { - "additionalProperties": { - "type": "string" - }, - "description": "The environment to pass into the container. This environment is merged with values specified in the google.genomics.v2alpha1.Pipeline message, overwriting any duplicate values. In addition to the values passed here, a few other values are automatically injected into the environment. These cannot be hidden or overwritten. `GOOGLE_PIPELINE_FAILED` will be set to \"1\" if the pipeline failed because an action has exited with a non-zero status (and did not have the `IGNORE_EXIT_STATUS` flag set). This can be used to determine if additional debug or logging actions should execute. `GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last non-background action that executed. This can be used by workflow engine authors to determine whether an individual action has succeeded or failed.", - "type": "object" - }, - "flags": { - "description": "The set of flags to apply to this action.", - "items": { - "enum": [ - "FLAG_UNSPECIFIED", - "IGNORE_EXIT_STATUS", - "RUN_IN_BACKGROUND", - "ALWAYS_RUN", - "ENABLE_FUSE", - "PUBLISH_EXPOSED_PORTS", - "DISABLE_IMAGE_PREFETCH", - "DISABLE_STANDARD_ERROR_CAPTURE", - "BLOCK_EXTERNAL_NETWORK" - ], - "enumDescriptions": [ - "Unspecified flag.", - "Normally, a non-zero exit status causes the pipeline to fail. This flag allows execution of other actions to continue instead.", - "This flag allows an action to continue running in the background while executing subsequent actions. This is useful to provide services to other actions (or to provide debugging support tools like SSH servers).", - "By default, after an action fails, no further actions are run. This flag indicates that this action must be run even if the pipeline has already failed. This is useful for actions that copy output files off of the VM or for debugging. Note that no actions will be run if image prefetching fails.", - "Enable access to the FUSE device for this action. Filesystems can then be mounted into disks shared with other actions. The other actions do not need the `ENABLE_FUSE` flag to access the mounted filesystem. This has the effect of causing the container to be executed with `CAP_SYS_ADMIN` and exposes `/dev/fuse` to the container, so use it only for containers you trust.", - "Exposes all ports specified by `EXPOSE` statements in the container. To discover the host side port numbers, consult the `ACTION_STARTED` event in the operation metadata.", - "All container images are typically downloaded before any actions are executed. This helps prevent typos in URIs or issues like lack of disk space from wasting large amounts of compute resources. If set, this flag prevents the worker from downloading the image until just before the action is executed.", - "A small portion of the container's standard error stream is typically captured and returned inside the `ContainerStoppedEvent`. Setting this flag disables this functionality.", - "Prevents the container from accessing the external network." - ], - "type": "string" - }, - "type": "array" - }, - "imageUri": { - "description": "Required. The URI to pull the container image from. Note that all images referenced by actions in the pipeline are pulled before the first action runs. If multiple actions reference the same image, it is only pulled once, ensuring that the same image is used for all actions in a single pipeline. The image URI can be either a complete host and image specification (e.g., quay.io/biocontainers/samtools), a library and image name (e.g., google/cloud-sdk) or a bare image name ('bash') to pull from the default library. No schema is required in any of these cases. If the specified image is not public, the service account specified for the Virtual Machine must have access to pull the images from GCR, or appropriate credentials must be specified in the google.genomics.v2alpha1.Action.credentials field.", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels to associate with the action. This field is provided to assist workflow engine authors in identifying actions (for example, to indicate what sort of action they perform, such as localization or debugging). They are returned in the operation metadata, but are otherwise ignored.", - "type": "object" - }, - "mounts": { - "description": "A list of mounts to make available to the action. In addition to the values specified here, every action has a special virtual disk mounted under `/google` that contains log files and other operational components. - /google/logs All logs written during the pipeline execution. - /google/logs/output The combined standard output and standard error of all actions run as part of the pipeline execution. - /google/logs/action/*/stdout The complete contents of each individual action's standard output. - /google/logs/action/*/stderr The complete contents of each individual action's standard error output. ", - "items": { - "$ref": "Mount" - }, - "type": "array" - }, - "name": { - "description": "An optional name for the container. The container hostname will be set to this name, making it useful for inter-container communication. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.", - "type": "string" - }, - "pidNamespace": { - "description": "An optional identifier for a PID namespace to run the action inside. Multiple actions should use the same string to share a namespace. If unspecified, a separate isolated namespace is used.", - "type": "string" - }, - "portMappings": { - "additionalProperties": { - "format": "int32", - "type": "integer" - }, - "description": "A map of containers to host port mappings for this container. If the container already specifies exposed ports, use the `PUBLISH_EXPOSED_PORTS` flag instead. The host port number must be less than 65536. If it is zero, an unused random port is assigned. To determine the resulting port number, consult the `ContainerStartedEvent` in the operation metadata.", - "type": "object" - }, - "timeout": { - "description": "The maximum amount of time to give the action to complete. If the action fails to complete before the timeout, it will be terminated and the exit status will be non-zero. The pipeline will continue or terminate based on the rules defined by the `ALWAYS_RUN` and `IGNORE_EXIT_STATUS` flags.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "CheckInRequest": { - "description": "The parameters to the CheckIn method.", - "id": "CheckInRequest", - "properties": { - "deadlineExpired": { - "$ref": "Empty", - "description": "The deadline has expired and the worker needs more time." - }, - "event": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "A workflow specific event occurred.", - "type": "object" - }, - "events": { - "description": "A list of timestamped events.", - "items": { - "$ref": "TimestampedEvent" - }, - "type": "array" - }, - "result": { - "$ref": "Status", - "description": "The operation has finished with the given result." - }, - "sosReport": { - "description": "An SOS report for an unexpected VM failure.", - "format": "byte", - "type": "string" - }, - "workerStatus": { - "$ref": "WorkerStatus", - "description": "Data about the status of the worker VM." - } - }, - "type": "object" - }, - "CheckInResponse": { - "description": "The response to the CheckIn method.", - "id": "CheckInResponse", - "properties": { - "deadline": { - "description": "The deadline by which the worker must request an extension. The backend will allow for network transmission time and other delays, but the worker must attempt to transmit the extension request no later than the deadline.", - "format": "google-datetime", - "type": "string" - }, - "features": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Feature configuration for the operation.", - "type": "object" - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The metadata that describes the operation assigned to the worker.", - "type": "object" - } - }, - "type": "object" - }, - "ContainerKilledEvent": { - "description": "An event generated when a container is forcibly terminated by the worker. Currently, this only occurs when the container outlives the timeout specified by the user.", - "id": "ContainerKilledEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started the container.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ContainerStartedEvent": { - "description": "An event generated when a container starts.", - "id": "ContainerStartedEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started this container.", - "format": "int32", - "type": "integer" - }, - "ipAddress": { - "description": "The public IP address that can be used to connect to the container. This field is only populated when at least one port mapping is present. If the instance was created with a private address, this field will be empty even if port mappings exist.", - "type": "string" - }, - "portMappings": { - "additionalProperties": { - "format": "int32", - "type": "integer" - }, - "description": "The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.", - "type": "object" - } - }, - "type": "object" - }, - "ContainerStoppedEvent": { - "description": "An event generated when a container exits.", - "id": "ContainerStoppedEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started this container.", - "format": "int32", - "type": "integer" - }, - "exitStatus": { - "description": "The exit status of the container.", - "format": "int32", - "type": "integer" - }, - "stderr": { - "description": "The tail end of any content written to standard error by the container. If the content emits large amounts of debugging noise or contains sensitive information, you can prevent the content from being printed by setting the `DISABLE_STANDARD_ERROR_CAPTURE` flag. Note that only a small amount of the end of the stream is captured here. The entire stream is stored in the `/google/logs` directory mounted into each action, and can be copied off the machine as described elsewhere.", - "type": "string" - } - }, - "type": "object" - }, - "DelayedEvent": { - "description": "An event generated whenever a resource limitation or transient error delays execution of a pipeline that was otherwise ready to run.", - "id": "DelayedEvent", - "properties": { - "cause": { - "description": "A textual description of the cause of the delay. The string can change without notice because it is often generated by another service (such as Compute Engine).", - "type": "string" - }, - "metrics": { - "description": "If the delay was caused by a resource shortage, this field lists the Compute Engine metrics that are preventing this operation from running (for example, `CPUS` or `INSTANCES`). If the particular metric is not known, a single `UNKNOWN` metric will be present.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Disk": { - "description": "Carries information about a disk that can be attached to a VM. See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations. Specify either `Volume` or `Disk`, but not both.", - "id": "Disk", - "properties": { - "name": { - "description": "A user-supplied name for the disk. Used when mounting the disk into actions. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.", - "type": "string" - }, - "sizeGb": { - "description": "The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance. If the disk type is specified as `local-ssd`, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.", - "format": "int32", - "type": "integer" - }, - "sourceImage": { - "description": "An optional image to put on the disk before attaching it to the VM.", - "type": "string" - }, - "type": { - "description": "The Compute Engine disk type. If unspecified, `pd-standard` is used.", - "type": "string" - } - }, - "type": "object" - }, - "DiskStatus": { - "description": "The status of a disk on a VM.", - "id": "DiskStatus", - "properties": { - "freeSpaceBytes": { - "description": "Free disk space.", - "format": "uint64", - "type": "string" - }, - "totalSpaceBytes": { - "description": "Total disk space.", - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Event": { - "description": "Carries information about events that occur during pipeline execution.", - "id": "Event", - "properties": { - "description": { - "description": "A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the `details` field.", - "type": "string" - }, - "details": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Machine-readable details about the event.", - "type": "object" - }, - "timestamp": { - "description": "The time at which the event occurred.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "ExistingDisk": { - "description": "Configuration for an existing disk to be attached to the VM.", - "id": "ExistingDisk", - "properties": { - "disk": { - "description": "If `disk` contains slashes, the Cloud Life Sciences API assumes that it is a complete URL for the disk. If `disk` does not contain slashes, the Cloud Life Sciences API assumes that the disk is a zonal disk and a URL will be generated of the form `zones//disks/`, where `` is the zone in which the instance is allocated. The disk must be ext4 formatted. If all `Mount` references to this disk have the `read_only` flag set to true, the disk will be attached in `read-only` mode and can be shared with other instances. Otherwise, the disk will be available for writing but cannot be shared.", - "type": "string" - } - }, - "type": "object" - }, - "FailedEvent": { - "description": "An event generated when the execution of a pipeline has failed. Note that other events can continue to occur after this event.", - "id": "FailedEvent", - "properties": { - "cause": { - "description": "The human-readable description of the cause of the failure.", - "type": "string" - }, - "code": { - "description": "The Google standard error code that best describes this failure.", - "enum": [ - "OK", - "CANCELLED", - "UNKNOWN", - "INVALID_ARGUMENT", - "DEADLINE_EXCEEDED", - "NOT_FOUND", - "ALREADY_EXISTS", - "PERMISSION_DENIED", - "UNAUTHENTICATED", - "RESOURCE_EXHAUSTED", - "FAILED_PRECONDITION", - "ABORTED", - "OUT_OF_RANGE", - "UNIMPLEMENTED", - "INTERNAL", - "UNAVAILABLE", - "DATA_LOSS" - ], - "enumDescriptions": [ - "Not an error; returned on success. HTTP Mapping: 200 OK", - "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", - "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", - "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", - "The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", - "Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", - "The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", - "The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", - "The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", - "Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", - "The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", - "The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", - "The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", - "The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", - "Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", - "The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", - "Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" - ], - "type": "string" - } - }, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "Metadata": { - "description": "Carries information about the pipeline execution that is returned in the long running operation's metadata field.", - "id": "Metadata", - "properties": { - "createTime": { - "description": "The time at which the operation was created by the API.", - "format": "google-datetime", - "type": "string" - }, - "endTime": { - "description": "The time at which execution was completed and resources were cleaned up.", - "format": "google-datetime", - "type": "string" - }, - "events": { - "description": "The list of events that have happened so far during the execution of this operation.", - "items": { - "$ref": "Event" - }, - "type": "array" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "The user-defined labels associated with this operation.", - "type": "object" - }, - "pipeline": { - "$ref": "Pipeline", - "description": "The pipeline this operation represents." - }, - "startTime": { - "description": "The first time at which resources were allocated to execute the pipeline.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "Mount": { - "description": "Carries information about a particular disk mount inside a container.", - "id": "Mount", - "properties": { - "disk": { - "description": "The name of the disk to mount, as specified in the resources section.", - "type": "string" - }, - "path": { - "description": "The path to mount the disk inside the container.", - "type": "string" - }, - "readOnly": { - "description": "If true, the disk is mounted read-only inside the container.", - "type": "boolean" - } - }, - "type": "object" - }, - "NFSMount": { - "description": "Configuration for an `NFSMount` to be attached to the VM.", - "id": "NFSMount", - "properties": { - "target": { - "description": "A target NFS mount. The target must be specified as `address:/mount\".", - "type": "string" - } - }, - "type": "object" - }, - "Network": { - "description": "VM networking options.", - "id": "Network", - "properties": { - "name": { - "description": "The network name to attach the VM's network interface to. The value will be prefixed with `global/networks/` unless it contains a `/`, in which case it is assumed to be a fully specified network resource URL. If unspecified, the global default network is used.", - "type": "string" - }, - "subnetwork": { - "description": "If the specified network is configured for custom subnet creation, the name of the subnetwork to attach the instance to must be specified here. The value is prefixed with `regions/*/subnetworks/` unless it contains a `/`, in which case it is assumed to be a fully specified subnetwork resource URL. If the `*` character appears in the value, it is replaced with the region that the virtual machine has been allocated in.", - "type": "string" - }, - "usePrivateAddress": { - "description": "If set to true, do not attach a public IP address to the VM. Note that without a public IP address, additional configuration is required to allow the VM to access Google services. See https://cloud.google.com/vpc/docs/configure-private-google-access for more information.", - "type": "boolean" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "An OperationMetadata or Metadata object. This will always be returned with the Operation.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "An Empty object.", - "type": "object" - } - }, - "type": "object" - }, - "PersistentDisk": { - "description": "Configuration for a persistent disk to be attached to the VM. See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations.", - "id": "PersistentDisk", - "properties": { - "sizeGb": { - "description": "The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance. If the disk type is specified as `local-ssd`, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.", - "format": "int32", - "type": "integer" - }, - "sourceImage": { - "description": "An image to put on the disk before attaching it to the VM.", - "type": "string" - }, - "type": { - "description": "The Compute Engine disk type. If unspecified, `pd-standard` is used.", - "type": "string" - } - }, - "type": "object" - }, - "Pipeline": { - "description": "Specifies a series of actions to execute, expressed as Docker containers.", - "id": "Pipeline", - "properties": { - "actions": { - "description": "The list of actions to execute, in the order they are specified.", - "items": { - "$ref": "Action" - }, - "type": "array" - }, - "encryptedEnvironment": { - "$ref": "Secret", - "description": "The encrypted environment to pass into every action. Each action can also specify its own encrypted environment. The secret must decrypt to a JSON-encoded dictionary where key-value pairs serve as environment variable names and their values. The decoded environment variables can overwrite the values specified by the `environment` field." - }, - "environment": { - "additionalProperties": { - "type": "string" - }, - "description": "The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map (though they can overwrite it with a different value).", - "type": "object" - }, - "resources": { - "$ref": "Resources", - "description": "The resources required for execution." - }, - "timeout": { - "description": "The maximum amount of time to give the pipeline to complete. This includes the time spent waiting for a worker to be allocated. If the pipeline fails to complete before the timeout, it will be cancelled and the error code will be set to DEADLINE_EXCEEDED. If unspecified, it will default to 7 days.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "PullStartedEvent": { - "description": "An event generated when the worker starts pulling an image.", - "id": "PullStartedEvent", - "properties": { - "imageUri": { - "description": "The URI of the image that was pulled.", - "type": "string" - } - }, - "type": "object" - }, - "PullStoppedEvent": { - "description": "An event generated when the worker stops pulling an image.", - "id": "PullStoppedEvent", - "properties": { - "imageUri": { - "description": "The URI of the image that was pulled.", - "type": "string" - } - }, - "type": "object" - }, - "Resources": { - "description": "The system resources for the pipeline run. At least one zone or region must be specified or the pipeline run will fail.", - "id": "Resources", - "properties": { - "projectId": { - "description": "The project ID to allocate resources in.", - "type": "string" - }, - "regions": { - "description": "The list of regions allowed for VM allocation. If set, the `zones` field must not be set.", - "items": { - "type": "string" - }, - "type": "array" - }, - "virtualMachine": { - "$ref": "VirtualMachine", - "description": "The virtual machine specification." - }, - "zones": { - "description": "The list of zones allowed for VM allocation. If set, the `regions` field must not be set.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "RunPipelineRequest": { - "description": "The arguments to the `RunPipeline` method. The requesting user must have the `iam.serviceAccounts.actAs` permission for the Cloud Genomics service account or the request will fail.", - "id": "RunPipelineRequest", - "properties": { - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "User-defined labels to associate with the returned operation. These labels are not propagated to any Google Cloud Platform resources used by the operation, and can be modified at any time. To associate labels with resources created while executing the operation, see the appropriate resource message (for example, `VirtualMachine`).", - "type": "object" - }, - "pipeline": { - "$ref": "Pipeline", - "description": "Required. The description of the pipeline to run." - }, - "pubSubTopic": { - "description": "The name of an existing Pub/Sub topic. The server will publish messages to this topic whenever the status of the operation changes. The Genomics Service Agent account must have publisher permissions to the specified topic or notifications will not be sent.", - "type": "string" - } - }, - "type": "object" - }, - "RunPipelineResponse": { - "description": "The response to the RunPipeline method, returned in the operation's result field on success.", - "id": "RunPipelineResponse", - "properties": {}, - "type": "object" - }, - "Secret": { - "description": "Holds encrypted information that is only decrypted and stored in RAM by the worker VM when running the pipeline.", - "id": "Secret", - "properties": { - "cipherText": { - "description": "The value of the cipherText response from the `encrypt` method. This field is intentionally unaudited.", - "type": "string" - }, - "keyName": { - "description": "The name of the Cloud KMS key that will be used to decrypt the secret value. The VM service account must have the required permissions and authentication scopes to invoke the `decrypt` method on the specified key.", - "type": "string" - } - }, - "type": "object" - }, - "ServiceAccount": { - "description": "Carries information about a Google Cloud service account.", - "id": "ServiceAccount", - "properties": { - "email": { - "description": "Email address of the service account. If not specified, the default Compute Engine service account for the project will be used.", - "type": "string" - }, - "scopes": { - "description": "List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "TimestampedEvent": { - "description": "An event that occured in the operation assigned to the worker and the time of occurance.", - "id": "TimestampedEvent", - "properties": { - "data": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The event data.", - "type": "object" - }, - "timestamp": { - "description": "The time when the event happened.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "UnexpectedExitStatusEvent": { - "description": "An event generated when the execution of a container results in a non-zero exit status that was not otherwise ignored. Execution will continue, but only actions that are flagged as `ALWAYS_RUN` will be executed. Other actions will be skipped.", - "id": "UnexpectedExitStatusEvent", - "properties": { - "actionId": { - "description": "The numeric ID of the action that started the container.", - "format": "int32", - "type": "integer" - }, - "exitStatus": { - "description": "The exit status of the container.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "VirtualMachine": { - "description": "Carries information about a Compute Engine VM resource.", - "id": "VirtualMachine", - "properties": { - "accelerators": { - "description": "The list of accelerators to attach to the VM.", - "items": { - "$ref": "Accelerator" - }, - "type": "array" - }, - "bootDiskSizeGb": { - "description": "The size of the boot disk, in GB. The boot disk must be large enough to accommodate all of the Docker images from each action in the pipeline at the same time. If not specified, a small but reasonable default value is used.", - "format": "int32", - "type": "integer" - }, - "bootImage": { - "description": "The host operating system image to use. Currently, only Container-Optimized OS images can be used. The default value is `projects/cos-cloud/global/images/family/cos-stable`, which selects the latest stable release of Container-Optimized OS. This option is provided to allow testing against the beta release of the operating system to ensure that the new version does not interact negatively with production pipelines. To test a pipeline against the beta release of Container-Optimized OS, use the value `projects/cos-cloud/global/images/family/cos-beta`.", - "type": "string" - }, - "cpuPlatform": { - "description": "The CPU platform to request. An instance based on a newer platform can be allocated, but never one with fewer capabilities. The value of this parameter must be a valid Compute Engine CPU platform name (such as \"Intel Skylake\"). This parameter is only useful for carefully optimized work loads where the CPU platform has a significant impact. For more information about the effect of this parameter, see https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.", - "type": "string" - }, - "disks": { - "description": "The list of disks to create and attach to the VM. Specify either the `volumes[]` field or the `disks[]` field, but not both.", - "items": { - "$ref": "Disk" - }, - "type": "array" - }, - "dockerCacheImages": { - "description": "The Compute Engine Disk Images to use as a Docker cache. The disks will be mounted into the Docker folder in a way that the images present in the cache will not need to be pulled. The digests of the cached images must match those of the tags used or the latest version will still be pulled. The root directory of the ext4 image must contain `image` and `overlay2` directories copied from the Docker directory of a VM where the desired Docker images have already been pulled. Any images pulled that are not cached will be stored on the first cache disk instead of the boot disk. Only a single image is supported.", - "items": { - "type": "string" - }, - "type": "array" - }, - "enableStackdriverMonitoring": { - "description": "Whether Stackdriver monitoring should be enabled on the VM.", - "type": "boolean" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the [name and value restrictions](https://cloud.google.com/compute/docs/labeling-resources) on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.", - "type": "object" - }, - "machineType": { - "description": "Required. The machine type of the virtual machine to create. Must be the short name of a standard machine type (such as \"n1-standard-1\") or a custom machine type (such as \"custom-1-4096\", where \"1\" indicates the number of vCPUs and \"4096\" indicates the memory in MB). See [Creating an instance with a custom machine type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) for more specifications on creating a custom machine type.", - "type": "string" - }, - "network": { - "$ref": "Network", - "description": "The VM network configuration." - }, - "nvidiaDriverVersion": { - "description": "The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator. The version specified here must be compatible with the GPU libraries contained in the container being executed, and must be one of the drivers hosted in the `nvidia-drivers-us-public` bucket on Google Cloud Storage.", - "type": "string" - }, - "preemptible": { - "description": "If true, allocate a preemptible VM.", - "type": "boolean" - }, - "reservation": { - "description": "If specified, the VM will only be allocated inside the matching reservation. It will fail if the VM parameters don't match the reservation.", - "type": "string" - }, - "serviceAccount": { - "$ref": "ServiceAccount", - "description": "The service account to install on the VM. This account does not need any permissions other than those required by the pipeline." - }, - "volumes": { - "description": "The list of disks and other storage to create or attach to the VM. Specify either the `volumes[]` field or the `disks[]` field, but not both.", - "items": { - "$ref": "Volume" - }, - "type": "array" - } - }, - "type": "object" - }, - "Volume": { - "description": "Carries information about storage that can be attached to a VM. Specify either `Volume` or `Disk`, but not both.", - "id": "Volume", - "properties": { - "existingDisk": { - "$ref": "ExistingDisk", - "description": "Configuration for a existing disk." - }, - "nfsMount": { - "$ref": "NFSMount", - "description": "Configuration for an NFS mount." - }, - "persistentDisk": { - "$ref": "PersistentDisk", - "description": "Configuration for a persistent disk." - }, - "volume": { - "description": "A user-supplied name for the volume. Used when mounting the volume into `Actions`. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.", - "type": "string" - } - }, - "type": "object" - }, - "WorkerAssignedEvent": { - "description": "An event generated after a worker VM has been assigned to run the pipeline.", - "id": "WorkerAssignedEvent", - "properties": { - "instance": { - "description": "The worker's instance name.", - "type": "string" - }, - "machineType": { - "description": "The machine type that was assigned for the worker.", - "type": "string" - }, - "zone": { - "description": "The zone the worker is running in.", - "type": "string" - } - }, - "type": "object" - }, - "WorkerReleasedEvent": { - "description": "An event generated when the worker VM that was assigned to the pipeline has been released (deleted).", - "id": "WorkerReleasedEvent", - "properties": { - "instance": { - "description": "The worker's instance name.", - "type": "string" - }, - "zone": { - "description": "The zone the worker was running in.", - "type": "string" - } - }, - "type": "object" - }, - "WorkerStatus": { - "description": "The status of the worker VM.", - "id": "WorkerStatus", - "properties": { - "attachedDisks": { - "additionalProperties": { - "$ref": "DiskStatus" - }, - "description": "Status of attached disks.", - "type": "object" - }, - "bootDisk": { - "$ref": "DiskStatus", - "description": "Status of the boot disk." - }, - "freeRamBytes": { - "description": "Free RAM.", - "format": "uint64", - "type": "string" - }, - "totalRamBytes": { - "description": "Total RAM.", - "format": "uint64", - "type": "string" - }, - "uptimeSeconds": { - "description": "System uptime.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Genomics API", - "version": "v2alpha1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/gkehub-v1alpha2.json b/discovery/gkehub-v1alpha2.json deleted file mode 100644 index f9ba802842d..00000000000 --- a/discovery/gkehub-v1alpha2.json +++ /dev/null @@ -1,1517 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://gkehub.googleapis.com/", - "batchPath": "batch", - "canonicalName": "GKE Hub", - "description": "", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", - "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": "gkehub:v1alpha2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://gkehub.mtls.googleapis.com/", - "name": "gkehub", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "methods": { - "get": { - "description": "Gets information about a location.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}", - "httpMethod": "GET", - "id": "gkehub.projects.locations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name for the location.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Location" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists information about the supported locations for this service.", - "flatPath": "v1alpha2/projects/{projectsId}/locations", - "httpMethod": "GET", - "id": "gkehub.projects.locations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", - "location": "query", - "type": "string" - }, - "name": { - "description": "The resource that owns the locations collection, if applicable.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The maximum number of results to return. If not set, the service selects a default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/{+name}/locations", - "response": { - "$ref": "ListLocationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "global": { - "resources": { - "memberships": { - "methods": { - "initializeHub": { - "description": "Initializes the Hub in this project, which includes creating the default Hub Service Account and the Hub Workload Identity Pool. Initialization is optional, and happens automatically when the first Membership is created. InitializeHub should be called when the first Membership cannot be registered without these resources. A common example is granting the Hub Service Account access to another project, which requires the account to exist first.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/global/memberships:initializeHub", - "httpMethod": "POST", - "id": "gkehub.projects.locations.global.memberships.initializeHub", - "parameterOrder": [ - "project" - ], - "parameters": { - "project": { - "description": "Required. The Hub to initialize, in the format `projects/*/locations/*/memberships/*`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/memberships$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+project}:initializeHub", - "request": { - "$ref": "InitializeHubRequest" - }, - "response": { - "$ref": "InitializeHubResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "memberships": { - "methods": { - "create": { - "description": "Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/memberships", - "httpMethod": "POST", - "id": "gkehub.projects.locations.memberships.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "membershipId": { - "description": "Required. Client chosen ID for the membership. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+parent}/memberships", - "request": { - "$ref": "Membership" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Removes a Membership. **This is currently only supported for GKE clusters on Google Cloud**. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", - "httpMethod": "DELETE", - "id": "gkehub.projects.locations.memberships.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "force": { - "description": "Optional. If set to true, any subresource from this Membership will also be deleted. Otherwise, the request will only work if the Membership has no subresource.", - "location": "query", - "type": "boolean" - }, - "name": { - "description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "generateConnectManifest": { - "description": "Generates the manifest for deployment of the GKE connect agent. **This method is used internally by Google-provided libraries.** Most clients should not need to call this method directly.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:generateConnectManifest", - "httpMethod": "GET", - "id": "gkehub.projects.locations.memberships.generateConnectManifest", - "parameterOrder": [ - "name" - ], - "parameters": { - "imagePullSecretContent": { - "description": "Optional. The image pull secret content for the registry, if not public.", - "format": "byte", - "location": "query", - "type": "string" - }, - "isUpgrade": { - "description": "Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.", - "location": "query", - "type": "boolean" - }, - "name": { - "description": "Required. The Membership resource name the Agent will associate with, in the format `projects/*/locations/*/memberships/*`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", - "required": true, - "type": "string" - }, - "namespace": { - "description": "Optional. Namespace for GKE Connect agent resources. Defaults to `gke-connect`. The Connect Agent is authorized automatically when run in the default namespace. Otherwise, explicit authorization must be granted with an additional IAM binding.", - "location": "query", - "type": "string" - }, - "proxy": { - "description": "Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com requires the use of a proxy. Format must be in the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol supported by the proxy. This will direct the connect agent's outbound traffic through a HTTP(S) proxy.", - "format": "byte", - "location": "query", - "type": "string" - }, - "registry": { - "description": "Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.", - "location": "query", - "type": "string" - }, - "version": { - "description": "Optional. The Connect agent version to use. Defaults to the most current version.", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/{+name}:generateConnectManifest", - "response": { - "$ref": "GenerateConnectManifestResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the details of a Membership.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", - "httpMethod": "GET", - "id": "gkehub.projects.locations.memberships.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Membership" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:getIamPolicy", - "httpMethod": "GET", - "id": "gkehub.projects.locations.memberships.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists Memberships in a given project and location.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/memberships", - "httpMethod": "GET", - "id": "gkehub.projects.locations.memberships.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Name is `bar` in project `foo-proj` and location `global`: name = \"projects/foo-proj/locations/global/membership/bar\" - Memberships that have a label called `foo`: labels.foo:* - Memberships that have a label called `foo` whose value is `bar`: labels.foo = bar - Memberships in the CREATING state: state = CREATING", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships in all the regions.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+parent}/memberships", - "response": { - "$ref": "ListMembershipsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an existing Membership.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", - "httpMethod": "PATCH", - "id": "gkehub.projects.locations.memberships.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. Mask of fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "request": { - "$ref": "Membership" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:setIamPolicy", - "httpMethod": "POST", - "id": "gkehub.projects.locations.memberships.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:testIamPermissions", - "httpMethod": "POST", - "id": "gkehub.projects.locations.memberships.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "gkehub.projects.locations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "gkehub.projects.locations.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "gkehub.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha2/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", - "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations", - "httpMethod": "GET", - "id": "gkehub.projects.locations.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha2/{+name}/operations", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20240118", - "rootUrl": "https://gkehub.googleapis.com/", - "schemas": { - "ApplianceCluster": { - "description": "ApplianceCluster contains information specific to GDC Edge Appliance Clusters.", - "id": "ApplianceCluster", - "properties": { - "resourceLink": { - "description": "Immutable. Self-link of the Google Cloud resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance", - "type": "string" - } - }, - "type": "object" - }, - "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", - "id": "AuditConfig", - "properties": { - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.", - "items": { - "$ref": "AuditLogConfig" - }, - "type": "array" - }, - "service": { - "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", - "type": "string" - } - }, - "type": "object" - }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", - "id": "AuditLogConfig", - "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logType": { - "description": "The log type that this config enables.", - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], - "type": "string" - } - }, - "type": "object" - }, - "Authority": { - "description": "Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity", - "id": "Authority", - "properties": { - "identityProvider": { - "description": "Output only. An identity provider that reflects the `issuer` in the workload identity pool.", - "readOnly": true, - "type": "string" - }, - "issuer": { - "description": "Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters. If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer, unless `oidc_jwks` is set. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity).", - "type": "string" - }, - "oidcJwks": { - "description": "Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517). When this field is set, OIDC discovery will NOT be performed on `issuer`, and instead OIDC tokens will be validated using this field.", - "format": "byte", - "type": "string" - }, - "workloadIdentityPool": { - "description": "Output only. The name of the workload identity pool in which `issuer` will be recognized. There is a single Workload Identity Pool per Hub that is shared between all Memberships that belong to that Hub. For a Hub hosted in {PROJECT_ID}, the workload pool format is `{PROJECT_ID}.hub.id.goog`, although this is subject to change in newer versions of this API.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Binding": { - "description": "Associates `members`, or principals, with a `role`.", - "id": "Binding", - "properties": { - "condition": { - "$ref": "Expr", - "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." - }, - "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "role": { - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", - "type": "string" - } - }, - "type": "object" - }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "ConnectAgentResource": { - "description": "ConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.", - "id": "ConnectAgentResource", - "properties": { - "manifest": { - "description": "YAML manifest of the resource.", - "type": "string" - }, - "type": { - "$ref": "TypeMeta", - "description": "Kubernetes type of the resource." - } - }, - "type": "object" - }, - "EdgeCluster": { - "description": "EdgeCluster contains information specific to Google Edge Clusters.", - "id": "EdgeCluster", - "properties": { - "resourceLink": { - "description": "Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", - "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" - }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", - "type": "string" - }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" - } - }, - "type": "object" - }, - "GenerateConnectManifestResponse": { - "description": "GenerateConnectManifestResponse contains manifest information for installing/upgrading a Connect agent.", - "id": "GenerateConnectManifestResponse", - "properties": { - "manifest": { - "description": "The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.", - "items": { - "$ref": "ConnectAgentResource" - }, - "type": "array" - } - }, - "type": "object" - }, - "GkeCluster": { - "description": "GkeCluster contains information specific to GKE clusters.", - "id": "GkeCluster", - "properties": { - "clusterMissing": { - "description": "Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane.", - "readOnly": true, - "type": "boolean" - }, - "resourceLink": { - "description": "Immutable. Self-link of the Google Cloud resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleRpcStatus": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "GoogleRpcStatus", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "InitializeHubRequest": { - "description": "Request message for the InitializeHub method.", - "id": "InitializeHubRequest", - "properties": {}, - "type": "object" - }, - "InitializeHubResponse": { - "description": "Response message for the InitializeHub method.", - "id": "InitializeHubResponse", - "properties": { - "serviceIdentity": { - "description": "Name of the Hub default service identity, in the format: service-@gcp-sa-gkehub.iam.gserviceaccount.com The service account has `roles/gkehub.serviceAgent` in the Hub project.", - "type": "string" - }, - "workloadIdentityPool": { - "description": "The Workload Identity Pool used for Workload Identity-enabled clusters registered with this Hub. Format: `.hub.id.goog`", - "type": "string" - } - }, - "type": "object" - }, - "KubernetesMetadata": { - "description": "KubernetesMetadata provides informational metadata for Memberships that are created from Kubernetes Endpoints (currently, these are equivalent to Kubernetes clusters).", - "id": "KubernetesMetadata", - "properties": { - "kubernetesApiServerVersion": { - "description": "Output only. Kubernetes API server version string as reported by '/version'.", - "readOnly": true, - "type": "string" - }, - "memoryMb": { - "description": "Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "nodeCount": { - "description": "Output only. Node count as reported by Kubernetes nodes resources.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "nodeProviderId": { - "description": "Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.", - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "vcpuCount": { - "description": "Output only. vCPU count as reported by Kubernetes nodes resources.", - "format": "int32", - "readOnly": true, - "type": "integer" - } - }, - "type": "object" - }, - "KubernetesResource": { - "description": "KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.", - "id": "KubernetesResource", - "properties": { - "connectResources": { - "description": "Output only. The Kubernetes resources for installing the GKE Connect agent. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.", - "items": { - "$ref": "ResourceManifest" - }, - "readOnly": true, - "type": "array" - }, - "membershipCrManifest": { - "description": "Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during Create or Update, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.", - "type": "string" - }, - "membershipResources": { - "description": "Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.", - "items": { - "$ref": "ResourceManifest" - }, - "readOnly": true, - "type": "array" - }, - "resourceOptions": { - "$ref": "ResourceOptions", - "description": "Optional. Options for Kubernetes resource generation." - } - }, - "type": "object" - }, - "ListLocationsResponse": { - "description": "The response message for Locations.ListLocations.", - "id": "ListLocationsResponse", - "properties": { - "locations": { - "description": "A list of locations that matches the specified filter in the request.", - "items": { - "$ref": "Location" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - } - }, - "type": "object" - }, - "ListMembershipsResponse": { - "description": "Response message for the `GkeHub.ListMemberships` method.", - "id": "ListMembershipsResponse", - "properties": { - "nextPageToken": { - "description": "A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return.", - "type": "string" - }, - "resources": { - "description": "The list of matching Memberships.", - "items": { - "$ref": "Membership" - }, - "type": "array" - }, - "unreachable": { - "description": "List of locations that could not be reached while fetching this list.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "Location": { - "description": "A resource that represents a Google Cloud location.", - "id": "Location", - "properties": { - "displayName": { - "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", - "type": "object" - }, - "locationId": { - "description": "The canonical id for this location. For example: `\"us-east1\"`.", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata. For example the available capacity at the given location.", - "type": "object" - }, - "name": { - "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", - "type": "string" - } - }, - "type": "object" - }, - "Membership": { - "description": "Membership contains information about a member cluster.", - "id": "Membership", - "properties": { - "authority": { - "$ref": "Authority", - "description": "Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity" - }, - "createTime": { - "description": "Output only. When the Membership was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "deleteTime": { - "description": "Output only. When the Membership was deleted.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "Output only. Description of this membership, limited to 63 characters. Must match the regex: `a-zA-Z0-9*` This field is present for legacy purposes.", - "readOnly": true, - "type": "string" - }, - "endpoint": { - "$ref": "MembershipEndpoint", - "description": "Optional. Endpoint information to reach this member." - }, - "externalId": { - "description": "Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. For GKE clusters, external_id is managed by the Hub API and updates will be ignored. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.", - "type": "string" - }, - "infrastructureType": { - "description": "Optional. The infrastructure type this Membership is running on.", - "enum": [ - "INFRASTRUCTURE_TYPE_UNSPECIFIED", - "ON_PREM", - "MULTI_CLOUD" - ], - "enumDescriptions": [ - "No type was specified. Some Hub functionality may require a type be specified, and will not support Memberships with this value.", - "Private infrastructure that is owned or operated by customer. This includes GKE distributions such as GKE-OnPrem and GKE-OnBareMetal.", - "Public cloud infrastructure." - ], - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Labels for this membership.", - "type": "object" - }, - "lastConnectionTime": { - "description": "Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "monitoringConfig": { - "$ref": "MonitoringConfig", - "description": "Optional. The monitoring config information for this membership." - }, - "name": { - "description": "Output only. The full, unique name of this Membership resource in the format `projects/*/locations/*/memberships/{membership_id}`, set during creation. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", - "readOnly": true, - "type": "string" - }, - "state": { - "$ref": "MembershipState", - "description": "Output only. State of the Membership resource.", - "readOnly": true - }, - "uniqueId": { - "description": "Output only. Google-generated UUID for this resource. This is unique across all Membership resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.", - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. When the Membership was last updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "MembershipEndpoint": { - "description": "MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.", - "id": "MembershipEndpoint", - "properties": { - "applianceCluster": { - "$ref": "ApplianceCluster", - "description": "Optional. Specific information for a GDC Edge Appliance cluster." - }, - "edgeCluster": { - "$ref": "EdgeCluster", - "description": "Optional. Specific information for a Google Edge cluster." - }, - "gkeCluster": { - "$ref": "GkeCluster", - "description": "Optional. Specific information for a GKE-on-GCP cluster." - }, - "kubernetesMetadata": { - "$ref": "KubernetesMetadata", - "description": "Output only. Useful Kubernetes-specific metadata.", - "readOnly": true - }, - "kubernetesResource": { - "$ref": "KubernetesResource", - "description": "Optional. The in-cluster Kubernetes Resources that should be applied for a correctly registered cluster, in the steady state. These resources: * Ensure that the cluster is exclusively registered to one and only one Hub Membership. * Propagate Workload Pool Information available in the Membership Authority field. * Ensure proper initial configuration of default Hub Features." - }, - "multiCloudCluster": { - "$ref": "MultiCloudCluster", - "description": "Optional. Specific information for a GKE Multi-Cloud cluster." - }, - "onPremCluster": { - "$ref": "OnPremCluster", - "description": "Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil \"type\" instead." - } - }, - "type": "object" - }, - "MembershipState": { - "description": "MembershipState describes the state of a Membership resource.", - "id": "MembershipState", - "properties": { - "code": { - "description": "Output only. The current state of the Membership resource.", - "enum": [ - "CODE_UNSPECIFIED", - "CREATING", - "READY", - "DELETING", - "UPDATING", - "SERVICE_UPDATING" - ], - "enumDescriptions": [ - "The code is not set.", - "The cluster is being registered.", - "The cluster is registered.", - "The cluster is being unregistered.", - "The Membership is being updated.", - "The Membership is being updated by the Hub Service." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "MonitoringConfig": { - "description": "MonitoringConfig informs Fleet-based applications/services/UIs how the metrics for the underlying cluster is reported to cloud monitoring services. It can be set from empty to non-empty, but can't be mutated directly to prevent accidentally breaking the constinousty of metrics.", - "id": "MonitoringConfig", - "properties": { - "cluster": { - "description": "Optional. Cluster name used to report metrics. For Anthos on VMWare/Baremetal/MultiCloud clusters, it would be in format {cluster_type}/{cluster_name}, e.g., \"awsClusters/cluster_1\".", - "type": "string" - }, - "clusterHash": { - "description": "Optional. For GKE and Multicloud clusters, this is the UUID of the cluster resource. For VMWare and Baremetal clusters, this is the kube-system UID.", - "type": "string" - }, - "kubernetesMetricsPrefix": { - "description": "Optional. Kubernetes system metrics, if available, are written to this prefix. This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today but will migration to be under kubernetes.io/anthos.", - "type": "string" - }, - "location": { - "description": "Optional. Location used to report Metrics", - "type": "string" - }, - "projectId": { - "description": "Optional. Project used to report Metrics", - "type": "string" - } - }, - "type": "object" - }, - "MultiCloudCluster": { - "description": "MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.", - "id": "MultiCloudCluster", - "properties": { - "clusterMissing": { - "description": "Output only. If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.", - "readOnly": true, - "type": "boolean" - }, - "resourceLink": { - "description": "Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster", - "type": "string" - } - }, - "type": "object" - }, - "OnPremCluster": { - "description": "OnPremCluster contains information specific to GKE On-Prem clusters.", - "id": "OnPremCluster", - "properties": { - "adminCluster": { - "description": "Immutable. Whether the cluster is an admin cluster.", - "type": "boolean" - }, - "clusterMissing": { - "description": "Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.", - "readOnly": true, - "type": "boolean" - }, - "clusterType": { - "description": "Immutable. The on prem cluster's type.", - "enum": [ - "CLUSTERTYPE_UNSPECIFIED", - "BOOTSTRAP", - "HYBRID", - "STANDALONE", - "USER" - ], - "enumDescriptions": [ - "The ClusterType is not set.", - "The ClusterType is bootstrap cluster.", - "The ClusterType is baremetal hybrid cluster.", - "The ClusterType is baremetal standalone cluster.", - "The ClusterType is user cluster." - ], - "type": "string" - }, - "resourceLink": { - "description": "Immutable. Self-link of the Google Cloud resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "OperationMetadata": { - "description": "Represents the metadata of the long-running operation.", - "id": "OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "cancelRequested": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "statusDetail": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", - "id": "Policy", - "properties": { - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", - "items": { - "$ref": "AuditConfig" - }, - "type": "array" - }, - "bindings": { - "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", - "items": { - "$ref": "Binding" - }, - "type": "array" - }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ResourceManifest": { - "description": "ResourceManifest represents a single Kubernetes resource to be applied to the cluster.", - "id": "ResourceManifest", - "properties": { - "clusterScoped": { - "description": "Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster.", - "type": "boolean" - }, - "manifest": { - "description": "YAML manifest of the resource.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceOptions": { - "description": "ResourceOptions represent options for Kubernetes resource generation.", - "id": "ResourceOptions", - "properties": { - "connectVersion": { - "description": "Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.", - "type": "string" - }, - "k8sVersion": { - "description": "Optional. Major version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.", - "type": "string" - }, - "v1beta1Crd": { - "description": "Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16.", - "type": "boolean" - } - }, - "type": "object" - }, - "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", - "id": "SetIamPolicyRequest", - "properties": { - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." - }, - "updateMask": { - "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "id": "TestIamPermissionsRequest", - "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", - "id": "TestIamPermissionsResponse", - "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TypeMeta": { - "description": "TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.", - "id": "TypeMeta", - "properties": { - "apiVersion": { - "description": "APIVersion of the resource (e.g. v1).", - "type": "string" - }, - "kind": { - "description": "Kind of the resource (e.g. Deployment).", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "GKE Hub API", - "version": "v1alpha2", - "version_module": true -} \ No newline at end of file diff --git a/discovery/gkehub-v1beta.json b/discovery/gkehub-v1beta.json index cef9a78c608..c8646d2107c 100644 --- a/discovery/gkehub-v1beta.json +++ b/discovery/gkehub-v1beta.json @@ -2117,7 +2117,7 @@ } } }, - "revision": "20250421", + "revision": "20250509", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -6385,6 +6385,7 @@ "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", "CNI_INSTALLATION_FAILED", "CNI_POD_UNSCHEDULABLE", + "THC_POD_UNSCHEDULABLE", "CLUSTER_HAS_ZERO_NODES", "CANONICAL_SERVICE_ERROR", "UNSUPPORTED_MULTIPLE_CONTROL_PLANES", @@ -6429,6 +6430,7 @@ "Nodepool workload identity federation required error code", "CNI installation failed error code", "CNI pod unschedulable error code", + "THC pod unschedulable error code", "Cluster has zero node code", "Failure to reconcile CanonicalServices", "Multiple control planes unsupported error code", diff --git a/discovery/groupsmigration-v1.json b/discovery/groupsmigration-v1.json index d435d18d924..687051ca5d6 100644 --- a/discovery/groupsmigration-v1.json +++ b/discovery/groupsmigration-v1.json @@ -146,7 +146,7 @@ } } }, - "revision": "20210311", + "revision": "20210304", "rootUrl": "https://groupsmigration.googleapis.com/", "schemas": { "Groups": { diff --git a/discovery/iam-v1.json b/discovery/iam-v1.json index 9d002d8306c..fd9441c2247 100644 --- a/discovery/iam-v1.json +++ b/discovery/iam-v1.json @@ -1613,7 +1613,7 @@ ] }, "getIamPolicy": { - "description": "Gets IAM policies for one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity", + "description": "Gets the IAM policy of a WorkloadIdentityPool.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}:getIamPolicy", "httpMethod": "POST", "id": "iam.projects.locations.workloadIdentityPools.getIamPolicy", @@ -1716,7 +1716,7 @@ ] }, "setIamPolicy": { - "description": "Sets IAM policies on one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity", + "description": "Sets the IAM policies on a WorkloadIdentityPool", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}:setIamPolicy", "httpMethod": "POST", "id": "iam.projects.locations.workloadIdentityPools.setIamPolicy", @@ -1744,7 +1744,7 @@ ] }, "testIamPermissions": { - "description": "Returns the caller's permissions on one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity", + "description": "Returns the caller's permissions on a WorkloadIdentityPool", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}:testIamPermissions", "httpMethod": "POST", "id": "iam.projects.locations.workloadIdentityPools.testIamPermissions", @@ -2105,7 +2105,7 @@ ] }, "list": { - "description": "Lists all non-deleted WorkloadIdentityPoolManagedIdentitys in a namespace. If `show_deleted` is set to `true`, then deleted managed identites are also listed.", + "description": "Lists all non-deleted WorkloadIdentityPoolManagedIdentitys in a namespace. If `show_deleted` is set to `true`, then deleted managed identities are also listed.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}/namespaces/{namespacesId}/managedIdentities", "httpMethod": "GET", "id": "iam.projects.locations.workloadIdentityPools.namespaces.managedIdentities.list", @@ -3773,7 +3773,7 @@ } } }, - "revision": "20250411", + "revision": "20250509", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AccessRestrictions": { @@ -4192,7 +4192,7 @@ "id": "GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2ClientQueryParameters", "properties": { "filter": { - "description": "Optional. The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The groups should be mail enabled and security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.", + "description": "Optional. The filter used to request specific records from the IdP. By default, all of the groups that are associated with a user are fetched. For Microsoft Entra ID, you can add `$search` query parameters using [Keyword Query Language] (https://learn.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference). To learn more about `$search` querying in Microsoft Entra ID, see [Use the `$search` query parameter] (https://learn.microsoft.com/en-us/graph/search-query-parameter). Additionally, Workforce Identity Federation automatically adds the following [`$filter` query parameters] (https://learn.microsoft.com/en-us/graph/filter-query-parameter), based on the value of `attributes_type`. Values passed to `filter` are converted to `$search` query parameters. Additional `$filter` query parameters cannot be added using this field. * `AZURE_AD_GROUPS_MAIL`: `mailEnabled` and `securityEnabled` filters are applied. * `AZURE_AD_GROUPS_ID`: `securityEnabled` filter is applied.", "type": "string" } }, @@ -4313,11 +4313,11 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. A required mapping of a cloud region to the CA pool resource located in that region used for certificate issuance, adhering to these constraints: * Key format: A supported cloud region name equivalent to the location identifier in the corresponding map entry's value. * Value format: A valid CA pool resource path format like: \"projects/{project}/locations/{location}/caPools/{ca_pool}\" * Region Matching: Workloads are ONLY issued certificates from CA pools within the same region. Also the CA pool region (in value) must match the workload's region (key).", + "description": "Optional. A required mapping of a Google Cloud region to the CA pool resource located in that region. The CA pool is used for certificate issuance, adhering to the following constraints: * Key format: A supported cloud region name equivalent to the location identifier in the corresponding map entry's value. * Value format: A valid CA pool resource path format like: \"projects/{project}/locations/{location}/caPools/{ca_pool}\" * Region Matching: Workloads are ONLY issued certificates from CA pools within the same region. Also the CA pool region (in value) must match the workload's region (key).", "type": "object" }, "keyAlgorithm": { - "description": "Optional. Key algorithm to use when generating the key pair. This key pair will be used to create the certificate. If unspecified, this will default to ECDSA_P256.", + "description": "Optional. Key algorithm to use when generating the key pair. This key pair will be used to create the certificate. If not specified, this will default to ECDSA_P256.", "enum": [ "KEY_ALGORITHM_UNSPECIFIED", "RSA_2048", @@ -4337,12 +4337,12 @@ "type": "string" }, "lifetime": { - "description": "Optional. Lifetime of the workload certificates issued by the CA pool. Must be between 10 hours - 30 days. If unspecified, this will be defaulted to 24 hours.", + "description": "Optional. Lifetime of the workload certificates issued by the CA pool. Must be between 10 hours and 30 days. If not specified, this will be defaulted to 24 hours.", "format": "google-duration", "type": "string" }, "rotationWindowPercentage": { - "description": "Optional. Rotation window percentage indicating when certificate rotation should be initiated based on remaining lifetime. Must be between 10 - 80. If unspecified, this will be defaulted to 50.", + "description": "Optional. Rotation window percentage indicating when certificate rotation should be initiated based on remaining lifetime. Must be between 10 and 80. If not specified, this will be defaulted to 50.", "format": "int32", "type": "integer" } @@ -4357,7 +4357,7 @@ "additionalProperties": { "$ref": "TrustStore" }, - "description": "Optional. Maps specific trust domains (e.g., \"example.com\") to their corresponding TrustStore objects, which contain the trusted root certificates for that domain. There can be a maximum of 10 trust domain entries in this map. Note that a trust domain automatically trusts itself and don't need to be specified here. If however, this WorkloadIdentityPool's trust domain contains any trust anchors in the additional_trust_bundles map, those trust anchors will be *appended to* the Trust Bundle automatically derived from your InlineCertificateIssuanceConfig's ca_pools.", + "description": "Optional. Maps specific trust domains (e.g., \"example.com\") to their corresponding TrustStore, which contain the trusted root certificates for that domain. There can be a maximum of 10 trust domain entries in this map. Note that a trust domain automatically trusts itself and don't need to be specified here. If however, this WorkloadIdentityPool's trust domain contains any trust anchors in the additional_trust_bundles map, those trust anchors will be *appended to* the trust bundle automatically derived from your InlineCertificateIssuanceConfig's ca_pools.", "type": "object" } }, @@ -4886,7 +4886,7 @@ "type": "array" }, "issuerUri": { - "description": "Required. The OIDC issuer URL. Must be an HTTPS endpoint. Used per OpenID Connect Discovery 1.0 spec to locate the provider's public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token. These public key types must be 'EC' or 'RSA'.", + "description": "Required. The OIDC issuer URL. Must be an HTTPS endpoint. Per OpenID Connect Discovery 1.0 spec, the OIDC issuer URL is used to locate the provider's public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token. These public key types must be 'EC' or 'RSA'.", "type": "string" }, "jwksJson": { @@ -5157,7 +5157,7 @@ "id": "QueryGrantableRolesRequest", "properties": { "fullResourceName": { - "description": "Required. The full resource name to query from the list of grantable roles. The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`.", + "description": "Required. Required. The full resource name to query from the list of grantable roles. The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`.", "type": "string" }, "pageSize": { @@ -5681,18 +5681,18 @@ "type": "object" }, "TrustStore": { - "description": "Trust store that contains trust anchors and optional intermediate CAs used in PKI to build trust chain and verify client's identity.", + "description": "Trust store that contains trust anchors and optional intermediate CAs used in PKI to build trust chain and verify a client's identity.", "id": "TrustStore", "properties": { "intermediateCas": { - "description": "Optional. Set of intermediate CA certificates used for building the trust chain to trust anchor. IMPORTANT: * Intermediate CAs are only supported when configuring x509 federation.", + "description": "Optional. Set of intermediate CA certificates used for building the trust chain to the trust anchor. Important: Intermediate CAs are only supported for X.509 federation.", "items": { "$ref": "IntermediateCA" }, "type": "array" }, "trustAnchors": { - "description": "Required. List of Trust Anchors to be used while performing validation against a given TrustStore. The incoming end entity's certificate must be chained up to one of the trust anchors here.", + "description": "Required. List of trust anchors to be used while performing validation against a given TrustStore. The incoming end entity's certificate must be in the trust chain of one of the trust anchors here.", "items": { "$ref": "TrustAnchor" }, @@ -5877,6 +5877,10 @@ "description": "Optional. A user-specified description of the provider. Cannot exceed 256 characters.", "type": "string" }, + "detailedAuditLogging": { + "description": "Optional. If true, populates additional debug information in Cloud Audit Logs for this provider. Logged attribute mappings and values can be found in `sts.googleapis.com` data access logs. Default value is false.", + "type": "boolean" + }, "disabled": { "description": "Optional. Disables the workforce pool provider. You cannot use a disabled provider to exchange tokens. However, existing tokens still grant access.", "type": "boolean" @@ -6260,7 +6264,7 @@ "properties": { "trustStore": { "$ref": "TrustStore", - "description": "Required. A Trust store, use this trust store as a wrapper to config the trust anchor and optional intermediate cas to help build the trust chain for the incoming end entity certificate. Follow the x509 guidelines to define those PEM encoded certs. Only 1 trust store is currently supported." + "description": "Required. A TrustStore. Use this trust store as a wrapper to config the trust anchor and optional intermediate cas to help build the trust chain for the incoming end entity certificate. Follow the X.509 guidelines to define those PEM encoded certs. Only one trust store is currently supported." } }, "type": "object" diff --git a/discovery/iam-v2.json b/discovery/iam-v2.json index dfcc4a85696..8bcfab16520 100644 --- a/discovery/iam-v2.json +++ b/discovery/iam-v2.json @@ -293,7 +293,7 @@ } } }, - "revision": "20250213", + "revision": "20250502", "rootUrl": "https://iam.googleapis.com/", "schemas": { "CloudControl2SharedOperationsReconciliationOperationMetadata": { @@ -483,7 +483,7 @@ "type": "array" }, "deniedPrincipals": { - "description": "The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", + "description": " The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", "items": { "type": "string" }, diff --git a/discovery/iam-v2beta.json b/discovery/iam-v2beta.json index f1cbadc2fe1..2e39ff0d4fe 100644 --- a/discovery/iam-v2beta.json +++ b/discovery/iam-v2beta.json @@ -293,7 +293,7 @@ } } }, - "revision": "20250213", + "revision": "20250502", "rootUrl": "https://iam.googleapis.com/", "schemas": { "CloudControl2SharedOperationsReconciliationOperationMetadata": { @@ -483,7 +483,7 @@ "type": "array" }, "deniedPrincipals": { - "description": "The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", + "description": " The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", "items": { "type": "string" }, diff --git a/discovery/iap-v1beta1.json b/discovery/iap-v1beta1.json index 9fd05a72a84..e323c7a6684 100644 --- a/discovery/iap-v1beta1.json +++ b/discovery/iap-v1beta1.json @@ -194,7 +194,7 @@ } } }, - "revision": "20240126", + "revision": "20240119", "rootUrl": "https://iap.googleapis.com/", "schemas": { "Binding": { diff --git a/discovery/ideahub-v1alpha.json b/discovery/ideahub-v1alpha.json deleted file mode 100644 index a06712e7a02..00000000000 --- a/discovery/ideahub-v1alpha.json +++ /dev/null @@ -1,518 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://ideahub.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Ideahub", - "description": "This is an invitation-only API.", - "discoveryVersion": "v1", - "documentationLink": "https://console.cloud.google.com/apis/library/ideahub.googleapis.com", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "ideahub:v1alpha", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://ideahub.mtls.googleapis.com/", - "name": "ideahub", - "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": { - "ideas": { - "methods": { - "list": { - "description": "List ideas for a given Creator and filter and sort options.", - "flatPath": "v1alpha/ideas", - "httpMethod": "GET", - "id": "ideahub.ideas.list", - "parameterOrder": [], - "parameters": { - "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined, as if the `AND` operator was always used. The `OR` operator is currently unsupported. * Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas. If set to false, fetches all except saved ideas. Can't be simultaneously used with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be simultaneously used with `saved(bool)`. The `false` value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)` The length of this field should be no more than 500 characters.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Order semantics described below.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will be coerced to 2000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Used to fetch next page.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "If defined, specifies the creator for which to filter by. Format: publishers/{publisher}/properties/{property}", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/ideas", - "response": { - "$ref": "GoogleSearchIdeahubV1alphaListIdeasResponse" - } - } - } - }, - "platforms": { - "resources": { - "properties": { - "resources": { - "ideaActivities": { - "methods": { - "create": { - "description": "Creates an idea activity entry.", - "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/ideaActivities", - "httpMethod": "POST", - "id": "ideahub.platforms.properties.ideaActivities.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The parent resource where this idea activity will be created. Format: platforms/{platform}/property/{property}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/ideaActivities", - "request": { - "$ref": "GoogleSearchIdeahubV1alphaIdeaActivity" - }, - "response": { - "$ref": "GoogleSearchIdeahubV1alphaIdeaActivity" - } - } - } - }, - "ideaStates": { - "methods": { - "patch": { - "description": "Update an idea state resource.", - "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/ideaStates/{ideaStatesId}", - "httpMethod": "PATCH", - "id": "ideahub.platforms.properties.ideaStates.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+/ideaStates/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "The list of fields to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleSearchIdeahubV1alphaIdeaState" - }, - "response": { - "$ref": "GoogleSearchIdeahubV1alphaIdeaState" - } - } - } - }, - "ideas": { - "methods": { - "list": { - "description": "List ideas for a given Creator and filter and sort options.", - "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/ideas", - "httpMethod": "GET", - "id": "ideahub.platforms.properties.ideas.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined, as if the `AND` operator was always used. The `OR` operator is currently unsupported. * Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas. If set to false, fetches all except saved ideas. Can't be simultaneously used with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be simultaneously used with `saved(bool)`. The `false` value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)` The length of this field should be no more than 500 characters.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Order semantics described below.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will be coerced to 2000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Used to fetch next page.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "If defined, specifies the creator for which to filter by. Format: publishers/{publisher}/properties/{property}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/ideas", - "response": { - "$ref": "GoogleSearchIdeahubV1alphaListIdeasResponse" - } - } - } - }, - "locales": { - "methods": { - "list": { - "description": "Returns which locales ideas are available in for a given Creator.", - "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/locales", - "httpMethod": "GET", - "id": "ideahub.platforms.properties.locales.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of locales to return. The service may return fewer than this value. If unspecified, at most 100 locales will be returned. The maximum value is 100; values above 100 will be coerced to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token, received from a previous `ListAvailableLocales` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAvailableLocales` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The web property to check idea availability for Format: platforms/{platform}/property/{property}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/locales", - "response": { - "$ref": "GoogleSearchIdeahubV1alphaListAvailableLocalesResponse" - } - } - } - }, - "topicStates": { - "methods": { - "patch": { - "description": "Update a topic state resource.", - "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/topicStates/{topicStatesId}", - "httpMethod": "PATCH", - "id": "ideahub.platforms.properties.topicStates.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+/topicStates/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "The list of fields to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleSearchIdeahubV1alphaTopicState" - }, - "response": { - "$ref": "GoogleSearchIdeahubV1alphaTopicState" - } - } - } - } - } - } - } - } - }, - "revision": "20211103", - "rootUrl": "https://ideahub.googleapis.com/", - "schemas": { - "GoogleSearchIdeahubV1alphaAvailableLocale": { - "description": "Represents locales that are available for a web property.", - "id": "GoogleSearchIdeahubV1alphaAvailableLocale", - "properties": { - "locale": { - "description": "A string in BCP 47 format, without a resource prefix.", - "type": "string" - }, - "name": { - "description": "A string in BCP 47 format, prefixed with the platform and property name, and \"locales/\". Format: platforms/{platform}/properties/{property}/locales/{locale}", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1alphaIdea": { - "description": "A single Idea that we want to show the end user.", - "id": "GoogleSearchIdeahubV1alphaIdea", - "properties": { - "name": { - "description": "Unique identifier for the idea. Format: ideas/{ideaId}", - "type": "string" - }, - "text": { - "description": "The idea’s text.", - "type": "string" - }, - "topics": { - "description": "The Topics that match the idea.", - "items": { - "$ref": "GoogleSearchIdeahubV1alphaTopic" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1alphaIdeaActivity": { - "description": "An idea activity entry.", - "id": "GoogleSearchIdeahubV1alphaIdeaActivity", - "properties": { - "ideas": { - "description": "The Idea IDs for this entry. If empty, topics should be set.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Unique identifier for the idea activity. The name is ignored when creating an idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}", - "type": "string" - }, - "topics": { - "description": "The Topic IDs for this entry. If empty, ideas should be set.", - "items": { - "type": "string" - }, - "type": "array" - }, - "type": { - "description": "The type of activity performed.", - "enum": [ - "TYPE_UNSPECIFIED", - "POST_DRAFTED", - "POST_PUBLISHED", - "POST_DELETED", - "POST_UNPUBLISHED" - ], - "enumDescriptions": [ - "An unspecified, unknown type of idea activity.", - "An idea activity type indicating a post has been drafted.", - "An idea activity type indicating a post has been published.", - "An idea activity type indicating a post has been deleted.", - "An idea activity type indicating a post has been unpublished." - ], - "type": "string" - }, - "uri": { - "description": "The uri the activity relates to.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1alphaIdeaState": { - "description": "Represents idea state specific to a web property.", - "id": "GoogleSearchIdeahubV1alphaIdeaState", - "properties": { - "dismissed": { - "description": "Whether the idea is dismissed.", - "type": "boolean" - }, - "name": { - "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", - "type": "string" - }, - "saved": { - "description": "Whether the idea is saved.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1alphaListAvailableLocalesResponse": { - "description": "Response for whether ideas are available for a given web property on a platform, for the currently logged-in user.", - "id": "GoogleSearchIdeahubV1alphaListAvailableLocalesResponse", - "properties": { - "availableLocales": { - "description": "Locales for which ideas are available for the given Creator.", - "items": { - "$ref": "GoogleSearchIdeahubV1alphaAvailableLocale" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1alphaListIdeasResponse": { - "id": "GoogleSearchIdeahubV1alphaListIdeasResponse", - "properties": { - "ideas": { - "description": "Results for the ListIdeasRequest.", - "items": { - "$ref": "GoogleSearchIdeahubV1alphaIdea" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Used to fetch the next page in a subsequent request.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1alphaTopic": { - "description": "Represents a Topic umbrella for a list of questions that a Creator may want to respond to.", - "id": "GoogleSearchIdeahubV1alphaTopic", - "properties": { - "displayName": { - "description": "String displayed to the creator indicating the name of the Topic.", - "type": "string" - }, - "mid": { - "description": "The mID of the topic.", - "type": "string" - }, - "name": { - "description": "Unique identifier for the topic. Format: topics/{topic}", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1alphaTopicState": { - "description": "Represents topic state specific to a web property.", - "id": "GoogleSearchIdeahubV1alphaTopicState", - "properties": { - "dismissed": { - "description": "Whether the topic is dismissed.", - "type": "boolean" - }, - "name": { - "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", - "type": "string" - }, - "saved": { - "description": "Whether the topic is saved.", - "type": "boolean" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Idea Hub API", - "version": "v1alpha", - "version_module": true -} \ No newline at end of file diff --git a/discovery/ideahub-v1beta.json b/discovery/ideahub-v1beta.json deleted file mode 100644 index ab91e600d55..00000000000 --- a/discovery/ideahub-v1beta.json +++ /dev/null @@ -1,475 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://ideahub.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Ideahub", - "description": "This is an invitation-only API.", - "discoveryVersion": "v1", - "documentationLink": "https://console.cloud.google.com/apis/library/ideahub.googleapis.com", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "ideahub:v1beta", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://ideahub.mtls.googleapis.com/", - "name": "ideahub", - "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": { - "platforms": { - "resources": { - "properties": { - "resources": { - "ideaActivities": { - "methods": { - "create": { - "description": "Creates an idea activity entry.", - "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/ideaActivities", - "httpMethod": "POST", - "id": "ideahub.platforms.properties.ideaActivities.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The parent resource where this idea activity will be created. Format: platforms/{platform}/property/{property}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+parent}/ideaActivities", - "request": { - "$ref": "GoogleSearchIdeahubV1betaIdeaActivity" - }, - "response": { - "$ref": "GoogleSearchIdeahubV1betaIdeaActivity" - } - } - } - }, - "ideaStates": { - "methods": { - "patch": { - "description": "Update an idea state resource.", - "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/ideaStates/{ideaStatesId}", - "httpMethod": "PATCH", - "id": "ideahub.platforms.properties.ideaStates.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+/ideaStates/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "The list of fields to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta/{+name}", - "request": { - "$ref": "GoogleSearchIdeahubV1betaIdeaState" - }, - "response": { - "$ref": "GoogleSearchIdeahubV1betaIdeaState" - } - } - } - }, - "ideas": { - "methods": { - "list": { - "description": "List ideas for a given Creator and filter and sort options.", - "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/ideas", - "httpMethod": "GET", - "id": "ideahub.platforms.properties.ideas.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined, as if the `AND` operator was always used. The `OR` operator is currently unsupported. * Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas. If set to false, fetches all except saved ideas. Can't be simultaneously used with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be simultaneously used with `saved(bool)`. The `false` value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)` The length of this field should be no more than 500 characters.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Order semantics described below.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will be coerced to 2000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Used to fetch next page.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. If defined, specifies the creator for which to filter by. Format: publishers/{publisher}/properties/{property}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+parent}/ideas", - "response": { - "$ref": "GoogleSearchIdeahubV1betaListIdeasResponse" - } - } - } - }, - "locales": { - "methods": { - "list": { - "description": "Returns which locales ideas are available in for a given Creator.", - "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/locales", - "httpMethod": "GET", - "id": "ideahub.platforms.properties.locales.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of locales to return. The service may return fewer than this value. If unspecified, at most 100 locales will be returned. The maximum value is 100; values above 100 will be coerced to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token, received from a previous `ListAvailableLocales` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAvailableLocales` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The web property to check idea availability for Format: platforms/{platform}/property/{property}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+parent}/locales", - "response": { - "$ref": "GoogleSearchIdeahubV1betaListAvailableLocalesResponse" - } - } - } - }, - "topicStates": { - "methods": { - "patch": { - "description": "Update a topic state resource.", - "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/topicStates/{topicStatesId}", - "httpMethod": "PATCH", - "id": "ideahub.platforms.properties.topicStates.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+/topicStates/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "The list of fields to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta/{+name}", - "request": { - "$ref": "GoogleSearchIdeahubV1betaTopicState" - }, - "response": { - "$ref": "GoogleSearchIdeahubV1betaTopicState" - } - } - } - } - } - } - } - } - }, - "revision": "20211103", - "rootUrl": "https://ideahub.googleapis.com/", - "schemas": { - "GoogleSearchIdeahubV1betaAvailableLocale": { - "description": "Represents locales that are available for a web property.", - "id": "GoogleSearchIdeahubV1betaAvailableLocale", - "properties": { - "locale": { - "description": "A string in BCP 47 format, without a resource prefix.", - "type": "string" - }, - "name": { - "description": "A string in BCP 47 format, prefixed with the platform and property name, and \"locales/\". Format: platforms/{platform}/properties/{property}/locales/{locale}", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaIdea": { - "description": "A single Idea that we want to show the end user.", - "id": "GoogleSearchIdeahubV1betaIdea", - "properties": { - "name": { - "description": "Unique identifier for the idea. Format: ideas/{ideaId}", - "type": "string" - }, - "text": { - "description": "The idea’s text.", - "type": "string" - }, - "topics": { - "description": "The Topics that match the idea.", - "items": { - "$ref": "GoogleSearchIdeahubV1betaTopic" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaIdeaActivity": { - "description": "An idea activity entry.", - "id": "GoogleSearchIdeahubV1betaIdeaActivity", - "properties": { - "ideas": { - "description": "The Idea IDs for this entry. If empty, topics should be set.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Unique identifier for the idea activity. The name is ignored when creating an idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}", - "type": "string" - }, - "topics": { - "description": "The Topic IDs for this entry. If empty, ideas should be set.", - "items": { - "type": "string" - }, - "type": "array" - }, - "type": { - "description": "The type of activity performed.", - "enum": [ - "TYPE_UNSPECIFIED", - "POST_DRAFTED", - "POST_PUBLISHED", - "POST_DELETED", - "POST_UNPUBLISHED" - ], - "enumDescriptions": [ - "An unspecified, unknown type of idea activity.", - "An idea activity type indicating a post has been drafted.", - "An idea activity type indicating a post has been published.", - "An idea activity type indicating a post has been deleted.", - "An idea activity type indicating a post has been unpublished." - ], - "type": "string" - }, - "uri": { - "description": "The uri the activity relates to.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaIdeaState": { - "description": "Represents idea state specific to a web property.", - "id": "GoogleSearchIdeahubV1betaIdeaState", - "properties": { - "dismissed": { - "description": "Whether the idea is dismissed.", - "type": "boolean" - }, - "name": { - "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", - "type": "string" - }, - "saved": { - "description": "Whether the idea is saved.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaListAvailableLocalesResponse": { - "description": "Response for whether ideas are available for a given web property on a platform, for the currently logged-in user.", - "id": "GoogleSearchIdeahubV1betaListAvailableLocalesResponse", - "properties": { - "availableLocales": { - "description": "Locales for which ideas are available for the given Creator.", - "items": { - "$ref": "GoogleSearchIdeahubV1betaAvailableLocale" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaListIdeasResponse": { - "id": "GoogleSearchIdeahubV1betaListIdeasResponse", - "properties": { - "ideas": { - "description": "Results for the ListIdeasRequest.", - "items": { - "$ref": "GoogleSearchIdeahubV1betaIdea" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Used to fetch the next page in a subsequent request.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaTopic": { - "description": "Represents a Topic umbrella for a list of questions that a Creator may want to respond to.", - "id": "GoogleSearchIdeahubV1betaTopic", - "properties": { - "displayName": { - "description": "String displayed to the creator indicating the name of the Topic.", - "type": "string" - }, - "mid": { - "description": "The mID of the topic.", - "type": "string" - }, - "name": { - "description": "Unique identifier for the topic. Format: topics/{topic}", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaTopicState": { - "description": "Represents topic state specific to a web property.", - "id": "GoogleSearchIdeahubV1betaTopicState", - "properties": { - "dismissed": { - "description": "Whether the topic is dismissed.", - "type": "boolean" - }, - "name": { - "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", - "type": "string" - }, - "saved": { - "description": "Whether the topic is saved.", - "type": "boolean" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Idea Hub API", - "version": "v1beta", - "version_module": true -} \ No newline at end of file diff --git a/discovery/identitytoolkit-v3.json b/discovery/identitytoolkit-v3.json index 921ea610e61..85af78181a8 100644 --- a/discovery/identitytoolkit-v3.json +++ b/discovery/identitytoolkit-v3.json @@ -18,7 +18,7 @@ "description": "Help the third party sites to implement federated login.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/identity-toolkit/v3/", - "etag": "\"9eZ1uxVRThTDhLJCZHhqs3eQWz4/taa97NuhcHSAt0fUktvGBcH-OqE\"", + "etag": "\"J3WqvAcMk4eQjJXvfSI4Yr8VouA/3oj2ig7C4N6A-_tqqb8y4vu2RvM\"", "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" diff --git a/discovery/index.json b/discovery/index.json index e980eb610e3..71a774c034e 100644 --- a/discovery/index.json +++ b/discovery/index.json @@ -570,6 +570,21 @@ "title": "Apigee Registry API", "version": "v1" }, + { + "description": "", + "discoveryRestUrl": "https://apihub.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub", + "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": "apihub:v1", + "kind": "discovery#directoryItem", + "name": "apihub", + "preferred": true, + "title": "API hub API", + "version": "v1" + }, { "description": "Manages the API keys associated with developer projects.", "discoveryRestUrl": "https://apikeys.googleapis.com/$discovery/rest?version=v2", @@ -3140,6 +3155,36 @@ "title": "Firebase App Distribution API", "version": "v1" }, + { + "description": "Firebase App Hosting streamlines the development and deployment of dynamic Next.js and Angular applications, offering built-in framework support, GitHub integration, and integration with other Firebase products. You can use this API to intervene in the Firebase App Hosting build process and add custom functionality not supported in our default Console & CLI flows, including triggering builds from external CI/CD workflows or deploying from pre-built container images.", + "discoveryRestUrl": "https://firebaseapphosting.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://firebase.google.com/docs/app-hosting", + "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": "firebaseapphosting:v1beta", + "kind": "discovery#directoryItem", + "name": "firebaseapphosting", + "preferred": false, + "title": "Firebase App Hosting API", + "version": "v1beta" + }, + { + "description": "Firebase App Hosting streamlines the development and deployment of dynamic Next.js and Angular applications, offering built-in framework support, GitHub integration, and integration with other Firebase products. You can use this API to intervene in the Firebase App Hosting build process and add custom functionality not supported in our default Console & CLI flows, including triggering builds from external CI/CD workflows or deploying from pre-built container images.", + "discoveryRestUrl": "https://firebaseapphosting.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://firebase.google.com/docs/app-hosting", + "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": "firebaseapphosting:v1", + "kind": "discovery#directoryItem", + "name": "firebaseapphosting", + "preferred": true, + "title": "Firebase App Hosting API", + "version": "v1" + }, { "description": "The Firebase Realtime Database API enables programmatic provisioning and management of Realtime Database instances.", "discoveryRestUrl": "https://firebasedatabase.googleapis.com/$discovery/rest?version=v1beta", @@ -4280,6 +4325,21 @@ "title": "Merchant API", "version": "inventories_v1beta" }, + { + "description": "Programmatically manage your Merchant Center Accounts.", + "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=issueresolution_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", + "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": "merchantapi:issueresolution_v1beta", + "kind": "discovery#directoryItem", + "name": "merchantapi", + "preferred": false, + "title": "Merchant API", + "version": "issueresolution_v1beta" + }, { "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=lfp_v1beta", @@ -4310,6 +4370,21 @@ "title": "Merchant API", "version": "notifications_v1beta" }, + { + "description": "Programmatically manage your Merchant Center Accounts.", + "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=ordertracking_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", + "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": "merchantapi:ordertracking_v1beta", + "kind": "discovery#directoryItem", + "name": "merchantapi", + "preferred": false, + "title": "Merchant API", + "version": "ordertracking_v1beta" + }, { "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=products_v1beta", diff --git a/discovery/indexing-v3.json b/discovery/indexing-v3.json index 61f6c403286..39d2035186e 100644 --- a/discovery/indexing-v3.json +++ b/discovery/indexing-v3.json @@ -149,7 +149,7 @@ } } }, - "revision": "20231003", + "revision": "20230927", "rootUrl": "https://indexing.googleapis.com/", "schemas": { "PublishUrlNotificationResponse": { diff --git a/discovery/integrations-v1.json b/discovery/integrations-v1.json index aef0956e7a0..b071b60ae72 100644 --- a/discovery/integrations-v1.json +++ b/discovery/integrations-v1.json @@ -4810,7 +4810,7 @@ } } }, - "revision": "20250427", + "revision": "20250506", "rootUrl": "https://integrations.googleapis.com/", "schemas": { "CrmlogErrorCode": { @@ -9461,18 +9461,18 @@ "id": "GoogleCloudConnectorsV1AuthConfig", "properties": { "additionalVariables": { - "description": "List containing additional auth configs.", + "description": "Optional. List containing additional auth configs.", "items": { "$ref": "GoogleCloudConnectorsV1ConfigVariable" }, "type": "array" }, "authKey": { - "description": "Identifier key for auth config", + "description": "Optional. Identifier key for auth config", "type": "string" }, "authType": { - "description": "The type of authentication configured.", + "description": "Optional. The type of authentication configured.", "enum": [ "AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", @@ -9527,35 +9527,35 @@ "id": "GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow", "properties": { "authCode": { - "description": "Authorization code to be exchanged for access and refresh tokens.", + "description": "Optional. Authorization code to be exchanged for access and refresh tokens.", "type": "string" }, "authUri": { - "description": "Auth URL for Authorization Code Flow", + "description": "Optional. Auth URL for Authorization Code Flow", "type": "string" }, "clientId": { - "description": "Client ID for user-provided OAuth app.", + "description": "Optional. Client ID for user-provided OAuth app.", "type": "string" }, "clientSecret": { "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Client secret for user-provided OAuth app." + "description": "Optional. Client secret for user-provided OAuth app." }, "enablePkce": { - "description": "Whether to enable PKCE when the user performs the auth code flow.", + "description": "Optional. Whether to enable PKCE when the user performs the auth code flow.", "type": "boolean" }, "pkceVerifier": { - "description": "PKCE verifier to be used during the auth code exchange.", + "description": "Optional. PKCE verifier to be used during the auth code exchange.", "type": "string" }, "redirectUri": { - "description": "Redirect URI to be provided during the auth code exchange.", + "description": "Optional. Redirect URI to be provided during the auth code exchange.", "type": "string" }, "scopes": { - "description": "Scopes the connection will request when the user performs the auth code flow.", + "description": "Optional. Scopes the connection will request when the user performs the auth code flow.", "items": { "type": "string" }, @@ -9591,12 +9591,12 @@ "id": "GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials", "properties": { "clientId": { - "description": "The client identifier.", + "description": "Optional. The client identifier.", "type": "string" }, "clientSecret": { "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Secret version reference containing the client secret." + "description": "Optional. Secret version reference containing the client secret." } }, "type": "object" @@ -9607,11 +9607,11 @@ "properties": { "clientKey": { "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`." + "description": "Optional. Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`." }, "jwtClaims": { "$ref": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims", - "description": "JwtClaims providers fields to generate the token." + "description": "Optional. JwtClaims providers fields to generate the token." } }, "type": "object" @@ -9621,15 +9621,15 @@ "id": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims", "properties": { "audience": { - "description": "Value for the \"aud\" claim.", + "description": "Optional. Value for the \"aud\" claim.", "type": "string" }, "issuer": { - "description": "Value for the \"iss\" claim.", + "description": "Optional. Value for the \"iss\" claim.", "type": "string" }, "subject": { - "description": "Value for the \"sub\" claim.", + "description": "Optional. Value for the \"sub\" claim.", "type": "string" } }, @@ -9640,19 +9640,19 @@ "id": "GoogleCloudConnectorsV1AuthConfigSshPublicKey", "properties": { "certType": { - "description": "Format of SSH Client cert.", + "description": "Optional. Format of SSH Client cert.", "type": "string" }, "sshClientCert": { "$ref": "GoogleCloudConnectorsV1Secret", - "description": "SSH Client Cert. It should contain both public and private key." + "description": "Optional. SSH Client Cert. It should contain both public and private key." }, "sshClientCertPass": { "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Password (passphrase) for ssh client certificate if it has one." + "description": "Optional. Password (passphrase) for ssh client certificate if it has one." }, "username": { - "description": "The user account used to authenticate.", + "description": "Optional. The user account used to authenticate.", "type": "string" } }, @@ -9664,10 +9664,10 @@ "properties": { "password": { "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Secret version reference containing the password." + "description": "Optional. Secret version reference containing the password." }, "username": { - "description": "Username.", + "description": "Optional. Username.", "type": "string" } }, @@ -9713,7 +9713,7 @@ "type": "string" }, "key": { - "description": "Key of the config variable.", + "description": "Optional. Key of the config variable.", "type": "string" }, "secretValue": { @@ -9813,6 +9813,10 @@ "readOnly": true, "type": "string" }, + "euaOauthAuthConfig": { + "$ref": "GoogleCloudConnectorsV1AuthConfig", + "description": "Optional. Additional Oauth2.0 Auth config for EUA. If the connection is configured using non-OAuth authentication but OAuth needs to be used for EUA, this field can be populated with the OAuth config. This should be a OAuth2AuthCodeFlow Auth type only." + }, "eventingConfig": { "$ref": "GoogleCloudConnectorsV1EventingConfig", "description": "Optional. Eventing config of a connection" @@ -9836,6 +9840,10 @@ "description": "Output only. Eventing Runtime Data.", "readOnly": true }, + "fallbackOnAdminCredentials": { + "description": "Optional. Fallback on admin credentials for the connection. If this both auth_override_enabled and fallback_on_admin_credentials are set to true, the connection will use the admin credentials if the dynamic auth header is not present during auth override.", + "type": "boolean" + }, "host": { "description": "Output only. The name of the Hostname of the Service Directory service with TLS.", "readOnly": true, @@ -10115,7 +10123,7 @@ "id": "GoogleCloudConnectorsV1EncryptionKey", "properties": { "kmsKeyName": { - "description": "The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.", + "description": "Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.", "type": "string" }, "type": { @@ -10358,11 +10366,11 @@ "id": "GoogleCloudConnectorsV1LockConfig", "properties": { "locked": { - "description": "Indicates whether or not the connection is locked.", + "description": "Optional. Indicates whether or not the connection is locked.", "type": "boolean" }, "reason": { - "description": "Describes why a connection is locked.", + "description": "Optional. Describes why a connection is locked.", "type": "string" } }, @@ -10373,7 +10381,7 @@ "id": "GoogleCloudConnectorsV1LogConfig", "properties": { "enabled": { - "description": "Enabled represents whether logging is enabled or not for a connection.", + "description": "Optional. Enabled represents whether logging is enabled or not for a connection.", "type": "boolean" }, "level": { @@ -10400,12 +10408,12 @@ "id": "GoogleCloudConnectorsV1NodeConfig", "properties": { "maxNodeCount": { - "description": "Maximum number of nodes in the runtime nodes.", + "description": "Optional. Maximum number of nodes in the runtime nodes.", "format": "int32", "type": "integer" }, "minNodeCount": { - "description": "Minimum number of nodes in the runtime nodes.", + "description": "Optional. Minimum number of nodes in the runtime nodes.", "format": "int32", "type": "integer" } @@ -10451,7 +10459,7 @@ "id": "GoogleCloudConnectorsV1Secret", "properties": { "secretVersion": { - "description": "The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.", + "description": "Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.", "type": "string" } }, diff --git a/discovery/integrations-v1alpha.json b/discovery/integrations-v1alpha.json deleted file mode 100644 index 6a2d3500c8a..00000000000 --- a/discovery/integrations-v1alpha.json +++ /dev/null @@ -1,11913 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://integrations.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Integrations", - "description": "", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/application-integration", - "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": "integrations:v1alpha", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://integrations.mtls.googleapis.com/", - "name": "integrations", - "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": { - "callback": { - "methods": { - "generateToken": { - "description": "Receives the auth code and auth config id to combine that with the client id and secret to retrieve access tokens from the token endpoint. Returns either a success or error message when it's done.", - "flatPath": "v1alpha/callback:generateToken", - "httpMethod": "GET", - "id": "integrations.callback.generateToken", - "parameterOrder": [], - "parameters": { - "code": { - "description": "The auth code for the given request", - "location": "query", - "type": "string" - }, - "gcpProjectId": { - "description": "The gcp project id of the request", - "location": "query", - "type": "string" - }, - "product": { - "description": "Which product sends the request", - "enum": [ - "UNSPECIFIED_PRODUCT", - "IP", - "APIGEE", - "SECURITY" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "location": "query", - "type": "string" - }, - "redirectUri": { - "description": "Redirect uri of the auth code request", - "location": "query", - "type": "string" - }, - "state": { - "description": "The auth config id for the given request", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/callback:generateToken", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaGenerateTokenResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "connectorPlatformRegions": { - "methods": { - "enumerate": { - "description": "Enumerates the regions for which Connector Platform is provisioned.", - "flatPath": "v1alpha/connectorPlatformRegions:enumerate", - "httpMethod": "GET", - "id": "integrations.connectorPlatformRegions.enumerate", - "parameterOrder": [], - "parameters": {}, - "path": "v1alpha/connectorPlatformRegions:enumerate", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "projects": { - "resources": { - "locations": { - "resources": { - "appsScriptProjects": { - "methods": { - "create": { - "description": "Creates an Apps Script project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/appsScriptProjects", - "httpMethod": "POST", - "id": "integrations.projects.locations.appsScriptProjects.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The project that the executed integration belongs to.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/appsScriptProjects", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "link": { - "description": "Links a existing Apps Script project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/appsScriptProjects:link", - "httpMethod": "POST", - "id": "integrations.projects.locations.appsScriptProjects.link", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The project that the executed integration belongs to.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/appsScriptProjects:link", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "authConfigs": { - "methods": { - "create": { - "description": "Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs", - "httpMethod": "POST", - "id": "integrations.projects.locations.authConfigs.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "clientCertificate.encryptedPrivateKey": { - "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", - "location": "query", - "type": "string" - }, - "clientCertificate.passphrase": { - "description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", - "location": "query", - "type": "string" - }, - "clientCertificate.sslCertificate": { - "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. \"projects/{project}/locations/{location}\" format.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/authConfigs", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes an auth config.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}", - "httpMethod": "DELETE", - "id": "integrations.projects.locations.authConfigs.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the AuthConfig.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be thrown. Returns the decrypted auth config.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.authConfigs.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the AuthConfig.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs", - "httpMethod": "GET", - "id": "integrations.projects.locations.authConfigs.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The size of entries in the response. If unspecified, defaults to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The token returned in the previous response.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The client, which owns this collection of AuthConfigs.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "readMask": { - "description": "The mask which specifies fields that need to be returned in the AuthConfig's response.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+parent}/authConfigs", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner, decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and update the Spanner record. For other fields, directly update the Spanner record. Returns the encrypted auth config.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}", - "httpMethod": "PATCH", - "id": "integrations.projects.locations.authConfigs.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "clientCertificate.encryptedPrivateKey": { - "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", - "location": "query", - "type": "string" - }, - "clientCertificate.passphrase": { - "description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", - "location": "query", - "type": "string" - }, - "clientCertificate.sslCertificate": { - "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", - "location": "query", - "type": "string" - }, - "name": { - "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/authConfigs/{authConfig}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "certificates": { - "methods": { - "get": { - "description": "Get a certificates in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.certificates.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The certificate to retrieve. Format: projects/{project}/locations/{location}/certificates/{certificate}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaCertificate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "connections": { - "methods": { - "getConnectionSchemaMetadata": { - "description": "Lists the available entities and actions associated with a Connection.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/connectionSchemaMetadata", - "httpMethod": "GET", - "id": "integrations.projects.locations.connections.getConnectionSchemaMetadata", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. ConnectionSchemaMetadata name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/connectionSchemaMetadata$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists Connections in a given project and location.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections", - "httpMethod": "GET", - "id": "integrations.projects.locations.connections.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filter.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Order by parameters.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Parent resource of the Connection, of the form: `projects/*/locations/*`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/connections", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListConnectionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "runtimeActionSchemas": { - "methods": { - "list": { - "description": "Lists the JSON schemas for the inputs and outputs of actions, filtered by action name.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/runtimeActionSchemas", - "httpMethod": "GET", - "id": "integrations.projects.locations.connections.runtimeActionSchemas.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filter. Only the action field with literal equality operator is supported.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Parent resource of RuntimeActionSchema. Format: projects/{project}/locations/{location}/connections/{connection}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/runtimeActionSchemas", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "runtimeEntitySchemas": { - "methods": { - "list": { - "description": "Lists the JSON schemas for the properties of runtime entities, filtered by entity name.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/runtimeEntitySchemas", - "httpMethod": "GET", - "id": "integrations.projects.locations.connections.runtimeEntitySchemas.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filter. Only the entity field with literal equality operator is supported.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Parent resource of RuntimeEntitySchema. Format: projects/{project}/locations/{location}/connections/{connection}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/runtimeEntitySchemas", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "integrations": { - "methods": { - "delete": { - "description": "Delete the selected integration and all versions inside", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}", - "httpMethod": "DELETE", - "id": "integrations.projects.locations.integrations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The location resource of the request.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "execute": { - "description": "Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:execute", - "httpMethod": "POST", - "id": "integrations.projects.locations.integrations.execute", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The integration resource name.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:execute", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "executeEvent": { - "description": "Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. Input data to integration is received in body in json format", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:executeEvent", - "httpMethod": "POST", - "id": "integrations.projects.locations.integrations.executeEvent", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The integration resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - }, - "triggerId": { - "description": "Required. Id of the integration trigger config. The trigger_id is in the format: `integration_connector_trigger/projects/{gcp_project_id}/location/{location}/connections/{connection_name}/subscriptions/{subscription_name}`.", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}:executeEvent", - "request": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "type": "object" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaExecuteEventResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Returns the list of all integrations in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations", - "httpMethod": "GET", - "id": "integrations.projects.locations.integrations.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "The results would be returned in order you specified here. Supported sort keys are: Descending sort order by \"last_modified_time\", \"created_time\", \"snapshot_number\". Ascending sort order by the integration name.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The page size for the resquest.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The page token for the resquest.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Project and location from which the integrations should be listed. Format: projects/{project}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/integrations", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "schedule": { - "description": "Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:schedule", - "httpMethod": "POST", - "id": "integrations.projects.locations.integrations.schedule", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The integration resource name.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:schedule", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "executions": { - "methods": { - "list": { - "description": "Lists the results of all the integration executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions", - "httpMethod": "GET", - "id": "integrations.projects.locations.integrations.executions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. Standard filter field, we support filtering on following fields: workflow_name: the name of the integration. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: \"parameter_type\" HAS \\\"string\\\" Also supports operators like AND, OR, NOT For example, trigger_id=\\\"id1\\\" AND workflow_name=\\\"testWorkflow\\\"", - "location": "query", - "type": "string" - }, - "filterParams.customFilter": { - "description": "Optional user-provided custom filter.", - "location": "query", - "type": "string" - }, - "filterParams.endTime": { - "description": "End timestamp.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filterParams.eventStatuses": { - "description": "List of possible event statuses.", - "location": "query", - "repeated": true, - "type": "string" - }, - "filterParams.executionId": { - "description": "Execution id.", - "location": "query", - "type": "string" - }, - "filterParams.parameterKey": { - "deprecated": true, - "description": "Param key. DEPRECATED. User parameter_pair_key instead.", - "location": "query", - "type": "string" - }, - "filterParams.parameterPairKey": { - "description": "Param key in the key value pair filter.", - "location": "query", - "type": "string" - }, - "filterParams.parameterPairValue": { - "description": "Param value in the key value pair filter.", - "location": "query", - "type": "string" - }, - "filterParams.parameterType": { - "description": "Param type.", - "location": "query", - "type": "string" - }, - "filterParams.parameterValue": { - "deprecated": true, - "description": "Param value. DEPRECATED. User parameter_pair_value instead.", - "location": "query", - "type": "string" - }, - "filterParams.startTime": { - "description": "Start timestamp.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filterParams.taskStatuses": { - "deprecated": true, - "description": "List of possible task statuses.", - "location": "query", - "repeated": true, - "type": "string" - }, - "filterParams.workflowName": { - "description": "Workflow name.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. The results would be returned in order you specified here. Currently supporting \"last_modified_time\" and \"create_time\".", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The size of entries in the response.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The token returned in the previous response.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent resource name of the integration execution.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - }, - "readMask": { - "description": "Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in event execution info will be filled and returned.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - }, - "refreshAcl": { - "description": "Optional. If true, the service will use the most recent acl information to list event execution infos and renew the acl cache. Note that fetching the most recent acl is synchronous, so it will increase RPC call latency.", - "location": "query", - "type": "boolean" - }, - "snapshotMetadataWithoutParams": { - "description": "Optional. If true, the service will provide execution info with snapshot metadata only i.e. without event parameters.", - "location": "query", - "type": "boolean" - }, - "truncateParams": { - "deprecated": true, - "description": "Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.", - "location": "query", - "type": "boolean" - } - }, - "path": "v1alpha/{+parent}/executions", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListExecutionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "suspensions": { - "methods": { - "lift": { - "description": "* Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:lift", - "httpMethod": "POST", - "id": "integrations.projects.locations.integrations.executions.suspensions.lift", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource that the suspension belongs to. \"projects/{project}/locations/{location}/products/{product}/integrations/{integration}/executions/{execution}/suspensions/{suspenion}\" format.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:lift", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions", - "httpMethod": "GET", - "id": "integrations.projects.locations.integrations.executions.suspensions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Standard filter field.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field name to order by.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Maximum number of entries in the response.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Token to retrieve a specific page.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/suspensions", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "resolve": { - "description": "* Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:resolve", - "httpMethod": "POST", - "id": "integrations.projects.locations.integrations.executions.suspensions.resolve", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}/suspensions/{suspension_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:resolve", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "versions": { - "methods": { - "create": { - "description": "Create a integration with a draft version in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions", - "httpMethod": "POST", - "id": "integrations.projects.locations.integrations.versions.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "createSampleIntegrations": { - "description": "Optional. Optional. Indicates if sample workflow should be created.", - "location": "query", - "type": "boolean" - }, - "newIntegration": { - "description": "Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to `false` and no existing integration is found, a new draft integration will still be created.", - "location": "query", - "type": "boolean" - }, - "parent": { - "description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/versions", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}", - "httpMethod": "DELETE", - "id": "integrations.projects.locations.integrations.versions.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "download": { - "description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:download", - "httpMethod": "GET", - "id": "integrations.projects.locations.integrations.versions.download", - "parameterOrder": [ - "name" - ], - "parameters": { - "fileFormat": { - "description": "File format for download request.", - "enum": [ - "FILE_FORMAT_UNSPECIFIED", - "JSON", - "YAML" - ], - "enumDescriptions": [ - "Unspecified file format", - "JSON File Format", - "YAML File Format" - ], - "location": "query", - "type": "string" - }, - "files": { - "description": "Optional. Integration related file to download like Integration Json, Config variable, testcase etc.", - "enum": [ - "INTEGRATION_FILE_UNSPECIFIED", - "INTEGRATION", - "INTEGRATION_CONFIG_VARIABLES" - ], - "enumDescriptions": [ - "Default value.", - "Integration file.", - "Integration Config variables." - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "name": { - "description": "Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:download", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Get a integration in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.integrations.versions.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Returns the list of all integration versions in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions", - "httpMethod": "GET", - "id": "integrations.projects.locations.integrations.versions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "fieldMask": { - "description": "The field mask which specifies the particular data to be returned.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "The results would be returned in order you specified here. Currently supported sort keys are: Descending sort order for \"last_modified_time\", \"created_time\", \"snapshot_number\" Ascending sort order for \"name\".", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token, received from a previous `ListIntegrationVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationVersions` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: \"List versions (with filter) for a particular integration\". 2. projects//locations//integrations/- Meaning: \"List versions (with filter) for a client within a particular region\". 3. projects//locations/-/integrations/- Meaning: \"List versions (with filter) for a client\".", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/versions", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Update a integration with a draft version in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}", - "httpMethod": "PATCH", - "id": "integrations.projects.locations.integrations.versions.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. Auto-generated primary key.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Field mask specifying the fields in the above integration that have been modified and need to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "publish": { - "description": "This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the `locked_by` user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:publish", - "httpMethod": "POST", - "id": "integrations.projects.locations.integrations.versions.publish", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:publish", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "takeoverEditLock": { - "description": "Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:takeoverEditLock", - "httpMethod": "POST", - "id": "integrations.projects.locations.integrations.versions.takeoverEditLock", - "parameterOrder": [ - "integrationVersion" - ], - "parameters": { - "integrationVersion": { - "description": "Required. The version to take over edit lock. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+integrationVersion}:takeoverEditLock", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "unpublish": { - "description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish", - "httpMethod": "POST", - "id": "integrations.projects.locations.integrations.versions.unpublish", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:unpublish", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest" - }, - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "upload": { - "description": "Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions:upload", - "httpMethod": "POST", - "id": "integrations.projects.locations.integrations.versions.upload", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/versions:upload", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "products": { - "resources": { - "authConfigs": { - "methods": { - "create": { - "description": "Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.authConfigs.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "clientCertificate.encryptedPrivateKey": { - "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", - "location": "query", - "type": "string" - }, - "clientCertificate.passphrase": { - "description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", - "location": "query", - "type": "string" - }, - "clientCertificate.sslCertificate": { - "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. \"projects/{project}/locations/{location}\" format.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/authConfigs", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes an auth config.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}", - "httpMethod": "DELETE", - "id": "integrations.projects.locations.products.authConfigs.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the AuthConfig.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be thrown. Returns the decrypted auth config.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.authConfigs.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the AuthConfig.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.authConfigs.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The size of entries in the response. If unspecified, defaults to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The token returned in the previous response.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The client, which owns this collection of AuthConfigs.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", - "required": true, - "type": "string" - }, - "readMask": { - "description": "The mask which specifies fields that need to be returned in the AuthConfig's response.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+parent}/authConfigs", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner, decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and update the Spanner record. For other fields, directly update the Spanner record. Returns the encrypted auth config.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}", - "httpMethod": "PATCH", - "id": "integrations.projects.locations.products.authConfigs.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "clientCertificate.encryptedPrivateKey": { - "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", - "location": "query", - "type": "string" - }, - "clientCertificate.passphrase": { - "description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", - "location": "query", - "type": "string" - }, - "clientCertificate.sslCertificate": { - "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", - "location": "query", - "type": "string" - }, - "name": { - "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/authConfigs/{authConfig}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "certificates": { - "methods": { - "create": { - "description": "Creates a new certificate. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.certificates.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. \"projects/{project}/locations/{location}\" format.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/certificates", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaCertificate" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaCertificate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Delete a certificate", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}", - "httpMethod": "DELETE", - "id": "integrations.projects.locations.products.certificates.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the Certificate.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Get a certificates in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.certificates.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The certificate to retrieve. Format: projects/{project}/locations/{location}/certificates/{certificate}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaCertificate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "List all the certificates that match the filter. Restrict to certificate of current client only.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.certificates.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The size of entries in the response. If unspecified, defaults to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The token returned in the previous response.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The client, which owns this collection of Certificates.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", - "required": true, - "type": "string" - }, - "readMask": { - "description": "The mask which specifies fields that need to be returned in the Certificate's response.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+parent}/certificates", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListCertificatesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates the certificate by id. If new certificate file is updated, it will register with the trawler service, re-encrypt with cloud KMS and update the Spanner record. Other fields will directly update the Spanner record. Returns the Certificate.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}", - "httpMethod": "PATCH", - "id": "integrations.projects.locations.products.certificates.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. Auto generated primary key", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Field mask specifying the fields in the above Certificate that have been modified and need to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaCertificate" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaCertificate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "integrations": { - "methods": { - "delete": { - "description": "Delete the selected integration and all versions inside", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}", - "httpMethod": "DELETE", - "id": "integrations.projects.locations.products.integrations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The location resource of the request.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "execute": { - "description": "Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:execute", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.integrations.execute", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The integration resource name.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:execute", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Returns the list of all integrations in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.integrations.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "The results would be returned in order you specified here. Supported sort keys are: Descending sort order by \"last_modified_time\", \"created_time\", \"snapshot_number\". Ascending sort order by the integration name.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The page size for the resquest.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The page token for the resquest.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Project and location from which the integrations should be listed. Format: projects/{project}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/integrations", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "schedule": { - "description": "Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:schedule", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.integrations.schedule", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The integration resource name.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:schedule", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "executions": { - "methods": { - "cancel": { - "description": "Cancellation of an execution", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}:cancel", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.integrations.executions.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:cancel", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaCancelExecutionRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaCancelExecutionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Get an execution in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.integrations.executions.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaExecution" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists the results of all the integration executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.integrations.executions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. Standard filter field, we support filtering on following fields: workflow_name: the name of the integration. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: \"parameter_type\" HAS \\\"string\\\" Also supports operators like AND, OR, NOT For example, trigger_id=\\\"id1\\\" AND workflow_name=\\\"testWorkflow\\\"", - "location": "query", - "type": "string" - }, - "filterParams.customFilter": { - "description": "Optional user-provided custom filter.", - "location": "query", - "type": "string" - }, - "filterParams.endTime": { - "description": "End timestamp.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filterParams.eventStatuses": { - "description": "List of possible event statuses.", - "location": "query", - "repeated": true, - "type": "string" - }, - "filterParams.executionId": { - "description": "Execution id.", - "location": "query", - "type": "string" - }, - "filterParams.parameterKey": { - "deprecated": true, - "description": "Param key. DEPRECATED. User parameter_pair_key instead.", - "location": "query", - "type": "string" - }, - "filterParams.parameterPairKey": { - "description": "Param key in the key value pair filter.", - "location": "query", - "type": "string" - }, - "filterParams.parameterPairValue": { - "description": "Param value in the key value pair filter.", - "location": "query", - "type": "string" - }, - "filterParams.parameterType": { - "description": "Param type.", - "location": "query", - "type": "string" - }, - "filterParams.parameterValue": { - "deprecated": true, - "description": "Param value. DEPRECATED. User parameter_pair_value instead.", - "location": "query", - "type": "string" - }, - "filterParams.startTime": { - "description": "Start timestamp.", - "format": "int64", - "location": "query", - "type": "string" - }, - "filterParams.taskStatuses": { - "deprecated": true, - "description": "List of possible task statuses.", - "location": "query", - "repeated": true, - "type": "string" - }, - "filterParams.workflowName": { - "description": "Workflow name.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. The results would be returned in order you specified here. Currently supporting \"last_modified_time\" and \"create_time\".", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The size of entries in the response.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The token returned in the previous response.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent resource name of the integration execution.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - }, - "readMask": { - "description": "Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in event execution info will be filled and returned.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - }, - "refreshAcl": { - "description": "Optional. If true, the service will use the most recent acl information to list event execution infos and renew the acl cache. Note that fetching the most recent acl is synchronous, so it will increase RPC call latency.", - "location": "query", - "type": "boolean" - }, - "snapshotMetadataWithoutParams": { - "description": "Optional. If true, the service will provide execution info with snapshot metadata only i.e. without event parameters.", - "location": "query", - "type": "boolean" - }, - "truncateParams": { - "deprecated": true, - "description": "Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.", - "location": "query", - "type": "boolean" - } - }, - "path": "v1alpha/{+parent}/executions", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListExecutionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "suspensions": { - "methods": { - "lift": { - "description": "* Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:lift", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.integrations.executions.suspensions.lift", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource that the suspension belongs to. \"projects/{project}/locations/{location}/products/{product}/integrations/{integration}/executions/{execution}/suspensions/{suspenion}\" format.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:lift", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.integrations.executions.suspensions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Standard filter field.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field name to order by.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Maximum number of entries in the response.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Token to retrieve a specific page.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/suspensions", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "resolve": { - "description": "* Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:resolve", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.integrations.executions.suspensions.resolve", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}/suspensions/{suspension_id}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:resolve", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "versions": { - "methods": { - "create": { - "description": "Create a integration with a draft version in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.integrations.versions.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "createSampleIntegrations": { - "description": "Optional. Optional. Indicates if sample workflow should be created.", - "location": "query", - "type": "boolean" - }, - "newIntegration": { - "description": "Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to `false` and no existing integration is found, a new draft integration will still be created.", - "location": "query", - "type": "boolean" - }, - "parent": { - "description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/versions", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}", - "httpMethod": "DELETE", - "id": "integrations.projects.locations.products.integrations.versions.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "download": { - "description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:download", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.integrations.versions.download", - "parameterOrder": [ - "name" - ], - "parameters": { - "fileFormat": { - "description": "File format for download request.", - "enum": [ - "FILE_FORMAT_UNSPECIFIED", - "JSON", - "YAML" - ], - "enumDescriptions": [ - "Unspecified file format", - "JSON File Format", - "YAML File Format" - ], - "location": "query", - "type": "string" - }, - "files": { - "description": "Optional. Integration related file to download like Integration Json, Config variable, testcase etc.", - "enum": [ - "INTEGRATION_FILE_UNSPECIFIED", - "INTEGRATION", - "INTEGRATION_CONFIG_VARIABLES" - ], - "enumDescriptions": [ - "Default value.", - "Integration file.", - "Integration Config variables." - ], - "location": "query", - "repeated": true, - "type": "string" - }, - "name": { - "description": "Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:download", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Get a integration in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.integrations.versions.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Returns the list of all integration versions in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.integrations.versions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "fieldMask": { - "description": "The field mask which specifies the particular data to be returned.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "The results would be returned in order you specified here. Currently supported sort keys are: Descending sort order for \"last_modified_time\", \"created_time\", \"snapshot_number\" Ascending sort order for \"name\".", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token, received from a previous `ListIntegrationVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationVersions` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: \"List versions (with filter) for a particular integration\". 2. projects//locations//integrations/- Meaning: \"List versions (with filter) for a client within a particular region\". 3. projects//locations/-/integrations/- Meaning: \"List versions (with filter) for a client\".", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/versions", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Update a integration with a draft version in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}", - "httpMethod": "PATCH", - "id": "integrations.projects.locations.products.integrations.versions.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. Auto-generated primary key.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Field mask specifying the fields in the above integration that have been modified and need to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "publish": { - "description": "This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the `locked_by` user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:publish", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.integrations.versions.publish", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:publish", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "takeoverEditLock": { - "description": "Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:takeoverEditLock", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.integrations.versions.takeoverEditLock", - "parameterOrder": [ - "integrationVersion" - ], - "parameters": { - "integrationVersion": { - "description": "Required. The version to take over edit lock. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+integrationVersion}:takeoverEditLock", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "unpublish": { - "description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.integrations.versions.unpublish", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:unpublish", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest" - }, - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "upload": { - "description": "Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions:upload", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.integrations.versions.upload", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/versions:upload", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "integrationtemplates": { - "resources": { - "versions": { - "methods": { - "create": { - "description": "Creates an IntegrationTemplateVersion.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrationtemplates/{integrationtemplatesId}/versions", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.integrationtemplates.versions.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The parent resource where this TemplateVersion will be created. Format: projects/{project}/location/{location}/product/{product}/integrationtemplates/{integrationtemplate}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrationtemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/versions", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns an IntegrationTemplateVersion in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrationtemplates/{integrationtemplatesId}/versions/{versionsId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.integrationtemplates.versions.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The TemplateVersion to retrieve. Format: projects/{project}/locations/{location}/products/{product}/integrationtemplates/{integrationtemplate}/versions/{version}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrationtemplates/[^/]+/versions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Returns the list of all IntegrationTemplateVersions in the specified project.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrationtemplates/{integrationtemplatesId}/versions", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.integrationtemplates.versions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filter syntax: defined in the EBNF grammar.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of IntegrationTemplateVersions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token, received from a previous `ListIntegrationTemplateVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationTemplateVersions` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Format: projects/{project}/location/{location}/product/{product}/integrationtemplates/{integrationtemplate}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrationtemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/versions", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "sfdcInstances": { - "methods": { - "create": { - "description": "Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.sfdcInstances.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. \"projects/{project}/locations/{location}\" format.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/sfdcInstances", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes an sfdc instance.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}", - "httpMethod": "DELETE", - "id": "integrations.projects.locations.products.sfdcInstances.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the SfdcInstance.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.sfdcInstances.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the SfdcInstance.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.sfdcInstances.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The size of entries in the response. If unspecified, defaults to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The token returned in the previous response.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The client, which owns this collection of SfdcInstances.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", - "required": true, - "type": "string" - }, - "readMask": { - "description": "The mask which specifies fields that need to be returned in the SfdcInstance's response.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+parent}/sfdcInstances", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}", - "httpMethod": "PATCH", - "id": "integrations.projects.locations.products.sfdcInstances.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "sfdcChannels": { - "methods": { - "create": { - "description": "Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", - "httpMethod": "POST", - "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. \"projects/{project}/locations/{location}\" format.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/sfdcChannels", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes an sfdc channel.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", - "httpMethod": "DELETE", - "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the SfdcChannel.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the SfdcChannel.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", - "httpMethod": "GET", - "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The size of entries in the response. If unspecified, defaults to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The token returned in the previous response.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The client, which owns this collection of SfdcChannels.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", - "required": true, - "type": "string" - }, - "readMask": { - "description": "The mask which specifies fields that need to be returned in the SfdcChannel's response.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+parent}/sfdcChannels", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", - "httpMethod": "PATCH", - "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - }, - "sfdcInstances": { - "methods": { - "create": { - "description": "Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances", - "httpMethod": "POST", - "id": "integrations.projects.locations.sfdcInstances.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. \"projects/{project}/locations/{location}\" format.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/sfdcInstances", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes an sfdc instance.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}", - "httpMethod": "DELETE", - "id": "integrations.projects.locations.sfdcInstances.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the SfdcInstance.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.sfdcInstances.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the SfdcInstance.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances", - "httpMethod": "GET", - "id": "integrations.projects.locations.sfdcInstances.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The size of entries in the response. If unspecified, defaults to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The token returned in the previous response.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The client, which owns this collection of SfdcInstances.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "readMask": { - "description": "The mask which specifies fields that need to be returned in the SfdcInstance's response.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+parent}/sfdcInstances", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}", - "httpMethod": "PATCH", - "id": "integrations.projects.locations.sfdcInstances.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "sfdcChannels": { - "methods": { - "create": { - "description": "Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", - "httpMethod": "POST", - "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. \"projects/{project}/locations/{location}\" format.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/sfdcChannels", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes an sfdc channel.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", - "httpMethod": "DELETE", - "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the SfdcChannel.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", - "httpMethod": "GET", - "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name that is associated with the SfdcChannel.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", - "httpMethod": "GET", - "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The size of entries in the response. If unspecified, defaults to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The token returned in the previous response.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The client, which owns this collection of SfdcChannels.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", - "required": true, - "type": "string" - }, - "readMask": { - "description": "The mask which specifies fields that need to be returned in the SfdcChannel's response.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+parent}/sfdcChannels", - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", - "httpMethod": "PATCH", - "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" - }, - "response": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - } - } - }, - "revision": "20240305", - "rootUrl": "https://integrations.googleapis.com/", - "schemas": { - "CrmlogErrorCode": { - "description": "Registered ids for errors, as \"oneof\" enums. Each task or logical grouping of tasks may share the same enum.", - "id": "CrmlogErrorCode", - "properties": { - "commonErrorCode": { - "enum": [ - "COMMON_ERROR_CODE_UNSPECIFIED", - "INVALID_CREDENTIALS", - "REQUIRED_FIELDS_MISSING", - "INVALID_FIELDS", - "BACKEND", - "GENERAL", - "INTERNAL", - "IO_ERROR", - "NOT_FOUND", - "EVENT_BUS", - "ALREADY_EXISTS", - "CONCORD", - "CONVERSION", - "FLUME", - "PERMISSION", - "SALES_FORCE", - "SPANNER", - "UNIMPLEMENTED", - "RELTIO", - "WORKFLOW_NOT_FOUND", - "QUOTA_THROTTLED", - "QUOTA_ENQUEUED", - "INVALID_QUOTA_CONFIGURATION", - "TASK_NOT_FOUND", - "EXECUTION_TIMEOUT", - "INVALID_EVENT_EXECUTION_STATE", - "INVALID_ATTRIBUTE", - "MISSING_ATTRIBUTE", - "CLIENT_UNAUTHORIZED_FOR_WORKFLOW", - "INVALID_PARAMETER", - "MISSING_PARAMETER", - "UNAUTHROIZED_WORKFLOW_EDITOR_ACTION", - "FAILED_PRECONDITION", - "INVALID_CLIENT", - "MISSING_CLIENT", - "INVALID_WORKFLOW", - "MISSING_QUOTA_CONFIGURATION", - "UNHANDLED_TASK_ERROR", - "SCRIPT_TASK_RUNTIME_ERROR", - "RPC", - "INVALID_PROTO", - "UNHANDLED_EVENTBUS_ERROR", - "INVALID_TASK_STATE", - "TYPED_TASK_INVALID_INPUT_OPERATION", - "TYPED_TASK_INVALID_OUTPUT_OPERATION", - "VALIDATION_ERROR", - "RESUME_ERROR", - "APPS_SCRIPT_EXECUTION_ERROR", - "INVALID_VECTOR_USER", - "INFORMATICA", - "RETRYABLE_TASK_ERROR", - "INVALID_TENANT", - "WRONG_TENANT", - "INFORMATICA_BACKEND_UNAVAILABLE", - "RPC_PERMISSION_DENIED", - "SYNC_EVENTBUS_EXECUTION_TIMEOUT", - "ASYNC_EVENTBUS_EXECUTION_TIMEOUT", - "NOT_SUPPORTED_DATA_TYPE", - "UNSANITIZED_USER_INPUT", - "TRANSFORM_EXPRESSION_EVALUATION_ERROR", - "HTTP_EXCEPTION", - "EXECUTION_CANCELLED" - ], - "enumDeprecated": [ - false, - true, - false, - false, - true, - true, - true, - false, - false, - true, - false, - false, - false, - false, - true, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "SYNC_EVENTBUS_EXECUTION_TIMEOUT is for eventbus internal use only.", - "ASYNC_EVENTBUS_EXECUTION_TIMEOUT is for eventbus internal use only. This error will be counted as server availability error.", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam": { - "id": "EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam", - "properties": { - "allowedCredentialTypes": { - "description": "Defines the credential types to be supported as Task may restrict specific types to use, e.g. Cloud SQL Task will use username/password type only.", - "items": { - "enum": [ - "CREDENTIAL_TYPE_UNSPECIFIED", - "USERNAME_AND_PASSWORD", - "API_KEY", - "OAUTH2_AUTHORIZATION_CODE", - "OAUTH2_IMPLICIT", - "OAUTH2_CLIENT_CREDENTIALS", - "OAUTH2_RESOURCE_OWNER_CREDENTIALS", - "JWT", - "AUTH_TOKEN", - "SERVICE_ACCOUNT", - "CLIENT_CERTIFICATE_ONLY", - "OIDC_TOKEN" - ], - "enumDescriptions": [ - "", - "Regular username/password pair.", - "API key.", - "OAuth 2.0 Authorization Code Grant Type.", - "OAuth 2.0 Implicit Grant Type.", - "OAuth 2.0 Client Credentials Grant Type.", - "OAuth 2.0 Resource Owner Credentials Grant Type.", - "JWT Token.", - "Auth Token, e.g. bearer token.", - "Service Account which can be used to generate token for authentication.", - "Client Certificate only.", - "Google OIDC ID Token" - ], - "type": "string" - }, - "type": "array" - }, - "allowedServiceAccountInContext": { - "type": "boolean" - }, - "authConfigId": { - "description": "UUID of the AuthConfig.", - "type": "string" - }, - "scope": { - "description": "A space-delimited list of requested scope permissions.", - "type": "string" - }, - "useServiceAccountInContext": { - "type": "boolean" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoAddress": { - "description": "Email address along with optional name and tokens. These tokens will be substituted for the variables in the form of [{var_name}], where var_name could be any string of no more than 32 bytes.", - "id": "EnterpriseCrmEventbusProtoAddress", - "properties": { - "email": { - "description": "Required.", - "type": "string" - }, - "name": { - "type": "string" - }, - "tokens": { - "items": { - "$ref": "EnterpriseCrmEventbusProtoToken" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoAttributes": { - "description": "Attributes are additional options that can be associated with each event property. For more information, see", - "id": "EnterpriseCrmEventbusProtoAttributes", - "properties": { - "dataType": { - "description": "Things like URL, Email, Currency, Timestamp (rather than string, int64...)", - "enum": [ - "DATA_TYPE_UNSPECIFIED", - "EMAIL", - "URL", - "CURRENCY", - "TIMESTAMP", - "DOMAIN_NAME" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "Domain is a web url string with one top-level private domain and a suffix (for example: google.com, walmart.com)" - ], - "type": "string" - }, - "defaultValue": { - "$ref": "EnterpriseCrmEventbusProtoValueType", - "description": "Used to define defaults." - }, - "isRequired": { - "description": "Required for event execution. The validation will be done by the event bus when the event is triggered.", - "type": "boolean" - }, - "isSearchable": { - "deprecated": true, - "description": "Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.", - "type": "boolean" - }, - "logSettings": { - "$ref": "EnterpriseCrmEventbusProtoLogSettings", - "description": "See" - }, - "masked": { - "description": "True if this workflow parameter should be masked in the logs", - "type": "boolean" - }, - "readOnly": { - "description": "Used to indicate if the ParameterEntry is a read only field or not.", - "type": "boolean" - }, - "searchable": { - "enum": [ - "UNSPECIFIED", - "YES", - "NO" - ], - "enumDescriptions": [ - "", - "If yes, the parameter key and value will be full-text indexed. In a proto, this value will propagate to all children whose searchable is unspecified.", - "If no, the parameter key and value will not be full-text indexed. In a proto, this value will propagate to all children whose searchable is unspecified." - ], - "type": "string" - }, - "taskVisibility": { - "description": "List of tasks that can view this property, if empty then all.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList": { - "description": "List of error enums for alerts.", - "id": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList", - "properties": { - "enumStrings": { - "items": { - "type": "string" - }, - "type": "array" - }, - "filterType": { - "enum": [ - "DEFAULT_INCLUSIVE", - "EXCLUSIVE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue": { - "description": "The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig.", - "id": "EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue", - "properties": { - "absolute": { - "format": "int64", - "type": "string" - }, - "percentage": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoBaseFunction": { - "id": "EnterpriseCrmEventbusProtoBaseFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "NOW_IN_MILLIS", - "INT_LIST", - "ENVIRONMENT", - "GET_EXECUTION_ID", - "GET_INTEGRATION_NAME", - "GET_REGION", - "GET_UUID", - "GET_PROJECT_ID" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoBaseValue": { - "id": "EnterpriseCrmEventbusProtoBaseValue", - "properties": { - "baseFunction": { - "$ref": "EnterpriseCrmEventbusProtoFunction", - "description": "Start with a function that does not build on existing values. Eg. CurrentTime, Min, Max, Exists, etc." - }, - "literalValue": { - "$ref": "EnterpriseCrmEventbusProtoParameterValueType", - "description": "Start with a literal value." - }, - "referenceValue": { - "description": "Start with a reference value to dereference.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoBooleanArrayFunction": { - "id": "EnterpriseCrmEventbusProtoBooleanArrayFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "GET", - "APPEND", - "SIZE", - "TO_SET", - "APPEND_ALL", - "TO_JSON", - "SET", - "REMOVE", - "REMOVE_AT", - "CONTAINS", - "FOR_EACH", - "FILTER" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoBooleanFunction": { - "id": "EnterpriseCrmEventbusProtoBooleanFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "TO_JSON", - "NOT", - "AND", - "NAND", - "OR", - "XOR", - "NOR", - "XNOR", - "TO_STRING", - "EQUALS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoBooleanParameterArray": { - "id": "EnterpriseCrmEventbusProtoBooleanParameterArray", - "properties": { - "booleanValues": { - "items": { - "type": "boolean" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoBuganizerNotification": { - "id": "EnterpriseCrmEventbusProtoBuganizerNotification", - "properties": { - "assigneeEmailAddress": { - "description": "Whom to assign the new bug. Optional.", - "type": "string" - }, - "componentId": { - "description": "ID of the buganizer component within which to create a new issue. Required.", - "format": "int64", - "type": "string" - }, - "templateId": { - "description": "ID of the buganizer template to use. Optional.", - "format": "int64", - "type": "string" - }, - "title": { - "description": "Title of the issue to be created. Required.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoCloudKmsConfig": { - "id": "EnterpriseCrmEventbusProtoCloudKmsConfig", - "properties": { - "gcpProjectId": { - "description": "Optional. The id of GCP project where the KMS key is stored. If not provided, assume the key is stored in the same GCP project defined in Client (tag 14).", - "type": "string" - }, - "keyName": { - "description": "A Cloud KMS key is a named object containing one or more key versions, along with metadata for the key. A key exists on exactly one key ring tied to a specific location.", - "type": "string" - }, - "keyRingName": { - "description": "A key ring organizes keys in a specific Google Cloud location and allows you to manage access control on groups of keys. A key ring's name does not need to be unique across a Google Cloud project, but must be unique within a given location.", - "type": "string" - }, - "keyVersionName": { - "description": "Optional. Each version of a key contains key material used for encryption or signing. A key's version is represented by an integer, starting at 1. To decrypt data or verify a signature, you must use the same key version that was used to encrypt or sign the data.", - "type": "string" - }, - "locationName": { - "description": "Location name of the key ring, e.g. \"us-west1\".", - "type": "string" - }, - "serviceAccount": { - "description": "Optional. The service account used for authentication of this KMS key. If this is not provided, the service account in Client.clientSource will be used.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoCloudSchedulerConfig": { - "description": "Cloud Scheduler Trigger configuration", - "id": "EnterpriseCrmEventbusProtoCloudSchedulerConfig", - "properties": { - "cronTab": { - "description": "Required. The cron tab of cloud scheduler trigger.", - "type": "string" - }, - "errorMessage": { - "description": "Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations", - "type": "string" - }, - "location": { - "description": "Required. The location where associated cloud scheduler job will be created", - "type": "string" - }, - "serviceAccountEmail": { - "description": "Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoCombinedCondition": { - "deprecated": true, - "description": "This message recursively combines constituent conditions using logical AND.", - "id": "EnterpriseCrmEventbusProtoCombinedCondition", - "properties": { - "conditions": { - "description": "A set of individual constituent conditions.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoCondition" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoCondition": { - "deprecated": true, - "description": "Condition that uses `operator` to evaluate the key against the value.", - "id": "EnterpriseCrmEventbusProtoCondition", - "properties": { - "eventPropertyKey": { - "description": "Key that's evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.", - "type": "string" - }, - "operator": { - "description": "Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.", - "enum": [ - "UNSET", - "EQUALS", - "CONTAINS", - "LESS_THAN", - "GREATER_THAN", - "EXISTS", - "DOES_NOT_EXIST", - "IS_EMPTY", - "IS_NOT_EMPTY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "value": { - "$ref": "EnterpriseCrmEventbusProtoValueType", - "description": "Value that's checked for the key." - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoConditionResult": { - "description": "Contains the combined condition calculation results.", - "id": "EnterpriseCrmEventbusProtoConditionResult", - "properties": { - "currentTaskNumber": { - "description": "the current task number.", - "type": "string" - }, - "nextTaskNumber": { - "description": "the next task number.", - "type": "string" - }, - "result": { - "description": "the result comes out after evaluate the combined condition. True if there's no combined condition specified.", - "type": "boolean" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoConnectorsConnection": { - "id": "EnterpriseCrmEventbusProtoConnectorsConnection", - "properties": { - "connectionName": { - "description": "Connection name Format: projects/{project}/locations/{location}/connections/{connection}", - "type": "string" - }, - "connectorVersion": { - "description": "Connector version Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}", - "type": "string" - }, - "serviceName": { - "description": "Service name Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig": { - "id": "EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig", - "properties": { - "connection": { - "$ref": "EnterpriseCrmEventbusProtoConnectorsConnection", - "description": "User-selected connection." - }, - "operation": { - "description": "Operation to perform using the configured connection.", - "enum": [ - "OPERATION_UNSPECIFIED", - "EXECUTE_ACTION", - "LIST_ENTITIES", - "GET_ENTITY", - "CREATE_ENTITY", - "UPDATE_ENTITY", - "DELETE_ENTITY", - "EXECUTE_QUERY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoCoordinate": { - "description": "Represents two-dimensional positions.", - "id": "EnterpriseCrmEventbusProtoCoordinate", - "properties": { - "x": { - "format": "int32", - "type": "integer" - }, - "y": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoCustomSuspensionRequest": { - "id": "EnterpriseCrmEventbusProtoCustomSuspensionRequest", - "properties": { - "postToQueueWithTriggerIdRequest": { - "$ref": "GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest", - "description": "Request to fire an event containing the SuspensionInfo message." - }, - "suspensionInfoEventParameterKey": { - "description": "In the fired event, set the SuspensionInfo message as the value for this key.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoDoubleArray": { - "id": "EnterpriseCrmEventbusProtoDoubleArray", - "properties": { - "values": { - "items": { - "format": "double", - "type": "number" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoDoubleArrayFunction": { - "id": "EnterpriseCrmEventbusProtoDoubleArrayFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "GET", - "APPEND", - "SIZE", - "SUM", - "AVG", - "MAX", - "MIN", - "TO_SET", - "APPEND_ALL", - "TO_JSON", - "SET", - "REMOVE", - "REMOVE_AT", - "CONTAINS", - "FOR_EACH", - "FILTER" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoDoubleFunction": { - "id": "EnterpriseCrmEventbusProtoDoubleFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "TO_JSON", - "TO_STRING", - "ADD", - "SUBTRACT", - "MULTIPLY", - "DIVIDE", - "EXPONENT", - "ROUND", - "FLOOR", - "CEIL", - "GREATER_THAN", - "LESS_THAN", - "EQUALS", - "GREATER_THAN_EQUALS", - "LESS_THAN_EQUALS", - "MOD" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoDoubleParameterArray": { - "id": "EnterpriseCrmEventbusProtoDoubleParameterArray", - "properties": { - "doubleValues": { - "items": { - "format": "double", - "type": "number" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoErrorDetail": { - "description": "An error, warning, or information message associated with a workflow.", - "id": "EnterpriseCrmEventbusProtoErrorDetail", - "properties": { - "errorCode": { - "$ref": "CrmlogErrorCode", - "description": "The associated error-code, which can be a common or internal code." - }, - "errorMessage": { - "description": "The full text of the error message, including any parameters that were thrown along with the exception.", - "type": "string" - }, - "severity": { - "description": "The severity of the error: ERROR|WARN|INFO.", - "enum": [ - "SEVERITY_UNSPECIFIED", - "ERROR", - "WARN", - "INFO" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "taskNumber": { - "description": "The task try-number, in which, the error occurred. If zero, the error happened at the event level.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoEventBusProperties": { - "description": "LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.", - "id": "EnterpriseCrmEventbusProtoEventBusProperties", - "properties": { - "properties": { - "description": "An unordered list of property entries.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoPropertyEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoEventExecutionDetails": { - "description": "Contains the details of the execution info of this event: this includes the tasks execution details plus the event execution statistics. Next available id: 11", - "id": "EnterpriseCrmEventbusProtoEventExecutionDetails", - "properties": { - "eventAttemptStats": { - "items": { - "$ref": "EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats" - }, - "type": "array" - }, - "eventExecutionSnapshot": { - "items": { - "$ref": "EnterpriseCrmEventbusProtoEventExecutionSnapshot" - }, - "type": "array" - }, - "eventExecutionSnapshotsSize": { - "description": "Total size of all event_execution_snapshots for an execution", - "format": "int64", - "type": "string" - }, - "eventExecutionState": { - "enum": [ - "UNSPECIFIED", - "ON_HOLD", - "IN_PROCESS", - "SUCCEEDED", - "FAILED", - "CANCELED", - "RETRY_ON_HOLD", - "SUSPENDED" - ], - "enumDescriptions": [ - "", - "Event is received and waiting for the execution. This happens when firing the event via \"postToQueue\" or \"schedule\".", - "Event is under processing.", - "Event execution successfully finished. There's no more change after this state.", - "Event execution failed. There's no more change after this state.", - "Event execution canceled by user. There's no more change after this state.", - "Event execution failed and waiting for retry.", - "Event execution suspended and waiting for manual intervention." - ], - "type": "string" - }, - "eventRetriesFromBeginningCount": { - "description": "Indicates the number of times the execution has restarted from the beginning.", - "format": "int32", - "type": "integer" - }, - "logFilePath": { - "description": "The log file path (aka. cns address) for this event.", - "type": "string" - }, - "networkAddress": { - "description": "The network address (aka. bns address) that indicates where the event executor is running.", - "type": "string" - }, - "nextExecutionTime": { - "description": "Next scheduled execution time in case the execution status was RETRY_ON_HOLD.", - "format": "int64", - "type": "string" - }, - "ryeLockUnheldCount": { - "description": "Used internally and shouldn't be exposed to users. A counter for the cron job to record how many times this event is in in_process state but don't have a lock consecutively/", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats": { - "id": "EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats", - "properties": { - "endTime": { - "description": "The end time of the event execution for current attempt.", - "format": "int64", - "type": "string" - }, - "startTime": { - "description": "The start time of the event execution for current attempt. This could be in the future if it's been scheduled.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoEventExecutionSnapshot": { - "description": "Contains the snapshot of the event execution for a given checkpoint. Next available id: 13", - "id": "EnterpriseCrmEventbusProtoEventExecutionSnapshot", - "properties": { - "checkpointTaskNumber": { - "description": "Indicates \"right after which checkpoint task's execution\" this snapshot is taken.", - "type": "string" - }, - "conditionResults": { - "description": "All of the computed conditions that been calculated.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoConditionResult" - }, - "type": "array" - }, - "diffParams": { - "$ref": "EnterpriseCrmEventbusProtoEventParameters", - "description": "The parameters in Event object that differs from last snapshot." - }, - "eventExecutionInfoId": { - "description": "Points to the event execution info this snapshot belongs to.", - "type": "string" - }, - "eventExecutionSnapshotId": { - "description": "Auto-generated. Used as primary key for EventExecutionSnapshots table.", - "type": "string" - }, - "eventExecutionSnapshotMetadata": { - "$ref": "EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata" - }, - "eventParams": { - "$ref": "EnterpriseCrmEventbusProtoEventParameters", - "description": "The parameters in Event object." - }, - "exceedMaxSize": { - "description": "indicate whether snapshot exceeded maximum size before clean up", - "type": "boolean" - }, - "snapshotTime": { - "description": "Indicates when this snapshot is taken.", - "format": "int64", - "type": "string" - }, - "taskExecutionDetails": { - "description": "All of the task execution details at the given point of time.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoTaskExecutionDetails" - }, - "type": "array" - }, - "taskName": { - "deprecated": true, - "description": "The task name associated with this snapshot. Could be empty.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata": { - "id": "EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata", - "properties": { - "ancestorIterationNumbers": { - "description": "Ancestor iteration number for the task(it will only be non-empty if the task is under 'private workflow')", - "items": { - "type": "string" - }, - "type": "array" - }, - "ancestorTaskNumbers": { - "description": "Ancestor task number for the task(it will only be non-empty if the task is under 'private workflow')", - "items": { - "type": "string" - }, - "type": "array" - }, - "eventAttemptNum": { - "description": "the event attempt number this snapshot belongs to.", - "format": "int32", - "type": "integer" - }, - "integrationName": { - "description": "The direct integration which the event execution snapshots belongs to", - "type": "string" - }, - "taskAttemptNum": { - "description": "the task attempt number this snapshot belongs to. Could be empty.", - "format": "int32", - "type": "integer" - }, - "taskLabel": { - "description": "the task label associated with this snapshot. Could be empty.", - "type": "string" - }, - "taskName": { - "description": "the task name associated with this snapshot. Could be empty.", - "type": "string" - }, - "taskNumber": { - "description": "The task number associated with this snapshot. Could be empty.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoEventParameters": { - "description": "LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see", - "id": "EnterpriseCrmEventbusProtoEventParameters", - "properties": { - "parameters": { - "description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoParameterEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoExecutionTraceInfo": { - "description": "Message that helps aggregate all sub-executions triggered by one execution and keeps track of child-parent relationships.", - "id": "EnterpriseCrmEventbusProtoExecutionTraceInfo", - "properties": { - "parentEventExecutionInfoId": { - "description": "Parent event execution info id that triggers the current execution through SubWorkflowExecutorTask.", - "type": "string" - }, - "traceId": { - "description": "Used to aggregate ExecutionTraceInfo.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoExternalTraffic": { - "description": "Represents external traffic type and id.", - "id": "EnterpriseCrmEventbusProtoExternalTraffic", - "properties": { - "gcpProjectId": { - "description": "User’s GCP project id the traffic is referring to.", - "type": "string" - }, - "gcpProjectNumber": { - "description": "User’s GCP project number the traffic is referring to.", - "type": "string" - }, - "location": { - "description": "Location for the user's request.", - "type": "string" - }, - "source": { - "description": "LINT.ThenChange(//depot/google3/enterprise/crm/eventbus/proto/product.proto:product, //depot/google3/java/com/google/enterprise/crm/integrationplatform/api/utils/ConverterUtils.java:source_to_product)", - "enum": [ - "SOURCE_UNSPECIFIED", - "APIGEE", - "SECURITY" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoFailurePolicy": { - "description": "Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).", - "id": "EnterpriseCrmEventbusProtoFailurePolicy", - "properties": { - "intervalInSeconds": { - "description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.", - "format": "int64", - "type": "string" - }, - "maxNumRetries": { - "description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.", - "format": "int32", - "type": "integer" - }, - "retryStrategy": { - "description": "Defines what happens to the task upon failure.", - "enum": [ - "UNSPECIFIED", - "IGNORE", - "NONE", - "FATAL", - "FIXED_INTERVAL", - "LINEAR_BACKOFF", - "EXPONENTIAL_BACKOFF", - "RESTART_WORKFLOW_WITH_BACKOFF" - ], - "enumDescriptions": [ - "", - "Ignores the failure of this task. The rest of the workflow will be executed Assuming this task succeeded.", - "Causes a permanent failure of the task. However, if the last task(s) of event was successfully completed despite the failure of this task, it has no impact on the workflow.", - "Causes a permanent failure of the event. It is different from NONE because this will mark the event as FAILED by shutting down the event execution.", - "The task will be retried from the failed task onwards after a fixed delay. A max-retry count is required to be specified with this strategy. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. Max_num_retries and interval_in_seconds must be specified.", - "The task will be retried from the failed task onwards after a fixed delay that linearly increases with each retry attempt. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. Max_num_retries and interval_in_seconds must be specified.", - "The task will be retried after an exponentially increasing period of time with each failure. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. `max_num_retries` and `interval_in_seconds` must be specified.", - "The entire workflow will be restarted with the initial parameters that were set when the event was fired. A max-retry count is required to be specified with this strategy. `max_num_retries` and `interval_in_seconds` must be specified." - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoField": { - "description": "Information about the value and type of the field.", - "id": "EnterpriseCrmEventbusProtoField", - "properties": { - "cardinality": { - "description": "By default, if the cardinality is unspecified the field is considered required while mapping.", - "enum": [ - "UNSPECIFIED", - "OPTIONAL" - ], - "enumDescriptions": [ - "For fields with unspecified cardinality.", - "If field cardinality is set to optional, ignore errors if input field value is null or the reference_key is not found." - ], - "type": "string" - }, - "defaultValue": { - "$ref": "EnterpriseCrmEventbusProtoParameterValueType", - "description": "This holds the default values for the fields. This value is supplied by user so may or may not contain PII or SPII data." - }, - "fieldType": { - "description": "Specifies the data type of the field.", - "enum": [ - "DATA_TYPE_UNSPECIFIED", - "STRING_VALUE", - "INT_VALUE", - "DOUBLE_VALUE", - "BOOLEAN_VALUE", - "PROTO_VALUE", - "SERIALIZED_OBJECT_VALUE", - "STRING_ARRAY", - "INT_ARRAY", - "DOUBLE_ARRAY", - "PROTO_ARRAY", - "PROTO_ENUM", - "BOOLEAN_ARRAY", - "PROTO_ENUM_ARRAY", - "BYTES", - "BYTES_ARRAY", - "NON_SERIALIZABLE_OBJECT", - "JSON_VALUE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", - "", - "", - "" - ], - "type": "string" - }, - "protoDefPath": { - "description": "Optional. The fully qualified proto name (e.g. enterprise.crm.storage.Account). Required for output field of type PROTO_VALUE or PROTO_ARRAY. For e.g., if input field_type is BYTES and output field_type is PROTO_VALUE, then fully qualified proto type url should be provided to parse the input bytes. If field_type is *_ARRAY, then all the converted protos are of the same type.", - "type": "string" - }, - "referenceKey": { - "description": "This holds the reference key of the workflow or task parameter. 1. Any workflow parameter, for e.g. $workflowParam1$. 2. Any task input or output parameter, for e.g. $task1_param1$. 3. Any workflow or task parameters with subfield references, for e.g., $task1_param1.employee.id$", - "type": "string" - }, - "transformExpression": { - "$ref": "EnterpriseCrmEventbusProtoTransformExpression", - "description": "This is the transform expression to fetch the input field value. for e.g. $param1$.CONCAT('test'). Keep points - 1. Only input field can have a transform expression. 2. If a transform expression is provided, reference_key will be ignored. 3. If no value is returned after evaluation of transform expression, default_value can be mapped if provided. 4. The field_type should be the type of the final object returned after the transform expression is evaluated. Scrubs the transform expression before logging as value provided by user so may or may not contain PII or SPII data." - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoFieldMappingConfig": { - "description": "Field Mapping Config to map multiple output fields values from input fields values.", - "id": "EnterpriseCrmEventbusProtoFieldMappingConfig", - "properties": { - "mappedFields": { - "items": { - "$ref": "EnterpriseCrmEventbusProtoMappedField" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoFunction": { - "id": "EnterpriseCrmEventbusProtoFunction", - "properties": { - "functionType": { - "$ref": "EnterpriseCrmEventbusProtoFunctionType", - "description": "The name of the function to perform." - }, - "parameters": { - "description": "List of parameters required for the transformation.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoTransformExpression" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoFunctionType": { - "id": "EnterpriseCrmEventbusProtoFunctionType", - "properties": { - "baseFunction": { - "$ref": "EnterpriseCrmEventbusProtoBaseFunction", - "description": "LINT.IfChange" - }, - "booleanArrayFunction": { - "$ref": "EnterpriseCrmEventbusProtoBooleanArrayFunction" - }, - "booleanFunction": { - "$ref": "EnterpriseCrmEventbusProtoBooleanFunction" - }, - "doubleArrayFunction": { - "$ref": "EnterpriseCrmEventbusProtoDoubleArrayFunction" - }, - "doubleFunction": { - "$ref": "EnterpriseCrmEventbusProtoDoubleFunction" - }, - "intArrayFunction": { - "$ref": "EnterpriseCrmEventbusProtoIntArrayFunction" - }, - "intFunction": { - "$ref": "EnterpriseCrmEventbusProtoIntFunction" - }, - "jsonFunction": { - "$ref": "EnterpriseCrmEventbusProtoJsonFunction", - "description": "LINT.ThenChange(//depot/google3/alkali/apps/integrationplatform/client/workflow_editor/utils/transform_function.ts)" - }, - "protoArrayFunction": { - "$ref": "EnterpriseCrmEventbusProtoProtoArrayFunction" - }, - "protoFunction": { - "$ref": "EnterpriseCrmEventbusProtoProtoFunction" - }, - "stringArrayFunction": { - "$ref": "EnterpriseCrmEventbusProtoStringArrayFunction" - }, - "stringFunction": { - "$ref": "EnterpriseCrmEventbusProtoStringFunction" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoIntArray": { - "id": "EnterpriseCrmEventbusProtoIntArray", - "properties": { - "values": { - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoIntArrayFunction": { - "id": "EnterpriseCrmEventbusProtoIntArrayFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "GET", - "APPEND", - "SIZE", - "SUM", - "AVG", - "MAX", - "MIN", - "TO_SET", - "APPEND_ALL", - "TO_JSON", - "SET", - "REMOVE", - "REMOVE_AT", - "CONTAINS", - "FOR_EACH", - "FILTER" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoIntFunction": { - "id": "EnterpriseCrmEventbusProtoIntFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "ADD", - "SUBTRACT", - "MULTIPLY", - "DIVIDE", - "EXPONENT", - "GREATER_THAN_EQUAL_TO", - "GREATER_THAN", - "LESS_THAN_EQUAL_TO", - "LESS_THAN", - "TO_DOUBLE", - "TO_STRING", - "EQUALS", - "TO_JSON", - "MOD", - "EPOCH_TO_HUMAN_READABLE_TIME" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoIntParameterArray": { - "id": "EnterpriseCrmEventbusProtoIntParameterArray", - "properties": { - "intValues": { - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoJsonFunction": { - "id": "EnterpriseCrmEventbusProtoJsonFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "GET_PROPERTY", - "GET_ELEMENT", - "APPEND_ELEMENT", - "SIZE", - "SET_PROPERTY", - "FLATTEN", - "FLATTEN_ONCE", - "MERGE", - "TO_STRING", - "TO_INT", - "TO_DOUBLE", - "TO_BOOLEAN", - "TO_PROTO", - "TO_STRING_ARRAY", - "TO_INT_ARRAY", - "TO_DOUBLE_ARRAY", - "TO_PROTO_ARRAY", - "TO_BOOLEAN_ARRAY", - "REMOVE_PROPERTY", - "RESOLVE_TEMPLATE", - "EQUALS", - "FOR_EACH", - "FILTER_ELEMENTS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "next id: 24" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoLogSettings": { - "description": "The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information.", - "id": "EnterpriseCrmEventbusProtoLogSettings", - "properties": { - "logFieldName": { - "description": "The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.", - "type": "string" - }, - "sanitizeOptions": { - "$ref": "EnterpriseCrmLoggingGwsSanitizeOptions", - "description": "Contains the scrubbing options, such as whether to scrub, obfuscate, etc." - }, - "seedPeriod": { - "enum": [ - "SEED_PERIOD_UNSPECIFIED", - "DAY", - "WEEK", - "MONTH" - ], - "enumDescriptions": [ - "", - "Sanitized values remain constant for the day of the event.", - "Sanitized values remain constant for the week of the event; may cross month boundaries.", - "Sanitized values remain constant for the month of the event." - ], - "type": "string" - }, - "seedScope": { - "enum": [ - "SEED_SCOPE_UNSPECIFIED", - "EVENT_NAME", - "TIME_PERIOD", - "PARAM_NAME" - ], - "enumDescriptions": [ - "", - "Hash computations include the event name.", - "Hash computations include a time period.", - "Hash computations include the param name." - ], - "type": "string" - }, - "shorteningLimits": { - "$ref": "EnterpriseCrmLoggingGwsFieldLimits", - "description": "Contains the field limits for shortening, such as max string length and max array length." - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoLoopMetadata": { - "id": "EnterpriseCrmEventbusProtoLoopMetadata", - "properties": { - "currentIterationCount": { - "description": "Starting from 1, not 0.", - "format": "int64", - "type": "string" - }, - "currentIterationDetail": { - "description": "Needs to be set by the loop impl class before each iteration. The abstract loop class will append the request and response to it. Eg. The foreach Loop will clean up and set it as the current iteration element at the start of each loop. The post request and response will be appended to the value once they are available.", - "type": "string" - }, - "errorMsg": { - "description": "Add the error message when loops fail.", - "type": "string" - }, - "failureLocation": { - "description": "Indicates where in the loop logic did it error out.", - "enum": [ - "UNKNOWN", - "SUBWORKFLOW", - "PARAM_OVERRIDING", - "PARAM_AGGREGATING", - "SETTING_ITERATION_ELEMENT", - "GETTING_LIST_TO_ITERATE", - "CONDITION_EVALUATION", - "BUILDING_REQUEST" - ], - "enumDescriptions": [ - "No error or Unknown.", - "Subworkflow failed while firing/running.", - "Param overrides failed.", - "Param aggregation failed.", - "Setting for loop current element failed.", - "Getting the list to iterate.", - "Evaluating the while loop condition.", - "Building the iteration request" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoMappedField": { - "description": "Mapped field is a pair of input field and output field.", - "id": "EnterpriseCrmEventbusProtoMappedField", - "properties": { - "inputField": { - "$ref": "EnterpriseCrmEventbusProtoField", - "description": "The input field being mapped from." - }, - "outputField": { - "$ref": "EnterpriseCrmEventbusProtoField", - "description": "The output field being mapped to." - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoNextTask": { - "description": "The task that is next in line to be executed, if the condition specified evaluated to true.", - "id": "EnterpriseCrmEventbusProtoNextTask", - "properties": { - "combinedConditions": { - "deprecated": true, - "description": "Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`", - "items": { - "$ref": "EnterpriseCrmEventbusProtoCombinedCondition" - }, - "type": "array" - }, - "condition": { - "description": "Standard filter expression for this task to become an eligible next task.", - "type": "string" - }, - "description": { - "description": "User-provided description intended to give more business context about the next task edge or condition.", - "type": "string" - }, - "label": { - "description": "User-provided label that is attached to this edge in the UI.", - "type": "string" - }, - "taskConfigId": { - "description": "ID of the next task.", - "type": "string" - }, - "taskNumber": { - "description": "Task number of the next task.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoNextTeardownTask": { - "description": "The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).", - "id": "EnterpriseCrmEventbusProtoNextTeardownTask", - "properties": { - "name": { - "description": "Required. Name of the next teardown task.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoNodeIdentifier": { - "description": "Represents a node identifier (type + id). Next highest id: 3", - "id": "EnterpriseCrmEventbusProtoNodeIdentifier", - "properties": { - "elementIdentifier": { - "description": "Configuration of the edge.", - "type": "string" - }, - "elementType": { - "description": "Destination node where the edge ends. It can only be a task config.", - "enum": [ - "UNKNOWN_TYPE", - "TASK_CONFIG", - "TRIGGER_CONFIG" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoNotification": { - "id": "EnterpriseCrmEventbusProtoNotification", - "properties": { - "buganizerNotification": { - "$ref": "EnterpriseCrmEventbusProtoBuganizerNotification" - }, - "emailAddress": { - "$ref": "EnterpriseCrmEventbusProtoAddress" - }, - "escalatorQueue": { - "type": "string" - }, - "pubsubTopic": { - "type": "string" - }, - "request": { - "$ref": "EnterpriseCrmEventbusProtoCustomSuspensionRequest", - "description": "If the out-of-the-box email/pubsub notifications are not suitable and custom logic is required, fire a workflow containing all info needed to notify users to resume execution." - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoParamSpecEntryConfig": { - "id": "EnterpriseCrmEventbusProtoParamSpecEntryConfig", - "properties": { - "descriptivePhrase": { - "description": "A short phrase to describe what this parameter contains.", - "type": "string" - }, - "helpText": { - "description": "Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.", - "type": "string" - }, - "hideDefaultValue": { - "description": "Whether the default value is hidden in the UI.", - "type": "boolean" - }, - "inputDisplayOption": { - "enum": [ - "DEFAULT", - "STRING_MULTI_LINE", - "NUMBER_SLIDER", - "BOOLEAN_TOGGLE" - ], - "enumDescriptions": [ - "A single-line input for strings, a numeric input box for numbers, or a checkbox for booleans.", - "A multi-line input box for longer strings/string templates.", - "A slider to select a numerical value. The default range is [0, 100].", - "A toggle button for boolean parameters." - ], - "type": "string" - }, - "isHidden": { - "description": "Whether this field is hidden in the UI.", - "type": "boolean" - }, - "label": { - "description": "A user-friendly label for the parameter.", - "type": "string" - }, - "parameterNameOption": { - "enum": [ - "DEFAULT_NOT_PARAMETER_NAME", - "IS_PARAMETER_NAME", - "KEY_IS_PARAMETER_NAME", - "VALUE_IS_PARAMETER_NAME" - ], - "enumDescriptions": [ - "This field is not a parameter name.", - "If this field is a string and this option is selected, the field will be interpreted as a parameter name. Users will be able to choose a variable using the autocomplete, but the name will be stored as a literal string.", - "If this field is a ParameterMap and this option is selected, the map's keys will be interpreted as parameter names. Ignored if this field is not a ParameterMap.", - "If this field is a ParameterMap and this option is selected, the map's values will be interpreted as parameter names. Ignored if this field is not a ParameterMap." - ], - "type": "string" - }, - "subSectionLabel": { - "description": "A user-friendly label for subSection under which the parameter will be displayed.", - "type": "string" - }, - "uiPlaceholderText": { - "description": "Placeholder text which will appear in the UI input form for this parameter.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition": { - "id": "EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition", - "properties": { - "fullName": { - "description": "The fully-qualified proto name. This message, for example, would be \"enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition\".", - "type": "string" - }, - "path": { - "description": "Path to the proto file that contains the message type's definition.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoParamSpecEntryValidationRule": { - "id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRule", - "properties": { - "doubleRange": { - "$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange" - }, - "intRange": { - "$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange" - }, - "stringRegex": { - "$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange": { - "description": "Range used to validate doubles and floats.", - "id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange", - "properties": { - "max": { - "description": "The inclusive maximum of the acceptable range.", - "format": "double", - "type": "number" - }, - "min": { - "description": "The inclusive minimum of the acceptable range.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange": { - "description": "Range used to validate longs and ints.", - "id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange", - "properties": { - "max": { - "description": "The inclusive maximum of the acceptable range.", - "format": "int64", - "type": "string" - }, - "min": { - "description": "The inclusive minimum of the acceptable range.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex": { - "description": "Rule used to validate strings.", - "id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex", - "properties": { - "exclusive": { - "description": "Whether the regex matcher is applied exclusively (if true, matching values will be rejected).", - "type": "boolean" - }, - "regex": { - "description": "The regex applied to the input value(s).", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoParameterEntry": { - "description": "Key-value pair of EventBus parameters.", - "id": "EnterpriseCrmEventbusProtoParameterEntry", - "properties": { - "key": { - "description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.", - "type": "string" - }, - "masked": { - "description": "True if this parameter should be masked in the logs", - "type": "boolean" - }, - "value": { - "$ref": "EnterpriseCrmEventbusProtoParameterValueType", - "description": "Values for the defined keys. Each value can either be string, int, double or any proto message." - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoParameterMap": { - "description": "A generic multi-map that holds key value pairs. They keys and values can be of any type, unless specified.", - "id": "EnterpriseCrmEventbusProtoParameterMap", - "properties": { - "entries": { - "items": { - "$ref": "EnterpriseCrmEventbusProtoParameterMapEntry" - }, - "type": "array" - }, - "keyType": { - "description": "Option to specify key value type for all entries of the map. If provided then field types for all entries must conform to this.", - "enum": [ - "DATA_TYPE_UNSPECIFIED", - "STRING_VALUE", - "INT_VALUE", - "DOUBLE_VALUE", - "BOOLEAN_VALUE", - "PROTO_VALUE", - "SERIALIZED_OBJECT_VALUE", - "STRING_ARRAY", - "INT_ARRAY", - "DOUBLE_ARRAY", - "PROTO_ARRAY", - "PROTO_ENUM", - "BOOLEAN_ARRAY", - "PROTO_ENUM_ARRAY", - "BYTES", - "BYTES_ARRAY", - "NON_SERIALIZABLE_OBJECT", - "JSON_VALUE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", - "", - "", - "" - ], - "type": "string" - }, - "valueType": { - "enum": [ - "DATA_TYPE_UNSPECIFIED", - "STRING_VALUE", - "INT_VALUE", - "DOUBLE_VALUE", - "BOOLEAN_VALUE", - "PROTO_VALUE", - "SERIALIZED_OBJECT_VALUE", - "STRING_ARRAY", - "INT_ARRAY", - "DOUBLE_ARRAY", - "PROTO_ARRAY", - "PROTO_ENUM", - "BOOLEAN_ARRAY", - "PROTO_ENUM_ARRAY", - "BYTES", - "BYTES_ARRAY", - "NON_SERIALIZABLE_OBJECT", - "JSON_VALUE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoParameterMapEntry": { - "description": "Entry is a pair of key and value.", - "id": "EnterpriseCrmEventbusProtoParameterMapEntry", - "properties": { - "key": { - "$ref": "EnterpriseCrmEventbusProtoParameterMapField" - }, - "value": { - "$ref": "EnterpriseCrmEventbusProtoParameterMapField" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoParameterMapField": { - "description": "Field represents either the key or value in an entry.", - "id": "EnterpriseCrmEventbusProtoParameterMapField", - "properties": { - "literalValue": { - "$ref": "EnterpriseCrmEventbusProtoParameterValueType", - "description": "Passing a literal value." - }, - "referenceKey": { - "description": "Referencing one of the WF variables.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoParameterValueType": { - "description": "LINT.IfChange To support various types of parameter values. Next available id: 14", - "id": "EnterpriseCrmEventbusProtoParameterValueType", - "properties": { - "booleanArray": { - "$ref": "EnterpriseCrmEventbusProtoBooleanParameterArray" - }, - "booleanValue": { - "type": "boolean" - }, - "doubleArray": { - "$ref": "EnterpriseCrmEventbusProtoDoubleParameterArray" - }, - "doubleValue": { - "format": "double", - "type": "number" - }, - "intArray": { - "$ref": "EnterpriseCrmEventbusProtoIntParameterArray" - }, - "intValue": { - "format": "int64", - "type": "string" - }, - "protoArray": { - "$ref": "EnterpriseCrmEventbusProtoProtoParameterArray" - }, - "protoValue": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "serializedObjectValue": { - "$ref": "EnterpriseCrmEventbusProtoSerializedObjectParameter" - }, - "stringArray": { - "$ref": "EnterpriseCrmEventbusProtoStringParameterArray" - }, - "stringValue": { - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoPropertyEntry": { - "description": "Key-value pair of EventBus property.", - "id": "EnterpriseCrmEventbusProtoPropertyEntry", - "properties": { - "key": { - "description": "Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.", - "type": "string" - }, - "value": { - "$ref": "EnterpriseCrmEventbusProtoValueType", - "description": "Values for the defined keys. Each value can either be string, int, double or any proto message." - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoProtoArrayFunction": { - "id": "EnterpriseCrmEventbusProtoProtoArrayFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "GET", - "APPEND", - "SIZE", - "TO_SET", - "APPEND_ALL", - "TO_JSON", - "SET", - "REMOVE", - "REMOVE_AT", - "CONTAINS", - "FOR_EACH", - "FILTER" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoProtoFunction": { - "id": "EnterpriseCrmEventbusProtoProtoFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "GET_STRING_SUBFIELD", - "GET_INT_SUBFIELD", - "GET_DOUBLE_SUBFIELD", - "GET_BOOLEAN_SUBFIELD", - "GET_STRING_ARRAY_SUBFIELD", - "GET_INT_ARRAY_SUBFIELD", - "GET_DOUBLE_ARRAY_SUBFIELD", - "GET_BOOLEAN_ARRAY_SUBFIELD", - "GET_PROTO_ARRAY_SUBFIELD", - "GET_PROTO_SUBFIELD", - "TO_JSON", - "GET_BYTES_SUBFIELD_AS_UTF_8_STRING", - "GET_BYTES_SUBFIELD_AS_PROTO", - "EQUALS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoProtoParameterArray": { - "id": "EnterpriseCrmEventbusProtoProtoParameterArray", - "properties": { - "protoValues": { - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoScatterResponse": { - "id": "EnterpriseCrmEventbusProtoScatterResponse", - "properties": { - "errorMsg": { - "description": "The error message of the failure if applicable.", - "type": "string" - }, - "executionIds": { - "description": "The execution ids of each Subworkflow fired by this scatter.", - "items": { - "type": "string" - }, - "type": "array" - }, - "isSuccessful": { - "description": "If execution is sync, this is true if the execution passed and false if it failed. If the execution is async, this is true if the WF was fired off successfully, and false if it failed to execute. The success or failure of the subworkflows executed are not captured.", - "type": "boolean" - }, - "responseParams": { - "description": "A list of all the response parameters in the aggregtorMap stored with the remapped key.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoParameterEntry" - }, - "type": "array" - }, - "scatterElement": { - "$ref": "EnterpriseCrmEventbusProtoParameterValueType", - "description": "The element that was scattered for this execution." - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoSerializedObjectParameter": { - "id": "EnterpriseCrmEventbusProtoSerializedObjectParameter", - "properties": { - "objectValue": { - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoStringArray": { - "id": "EnterpriseCrmEventbusProtoStringArray", - "properties": { - "values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoStringArrayFunction": { - "id": "EnterpriseCrmEventbusProtoStringArrayFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "GET", - "APPEND", - "SIZE", - "TO_SET", - "APPEND_ALL", - "TO_JSON", - "SET", - "REMOVE", - "REMOVE_AT", - "CONTAINS", - "FOR_EACH", - "FILTER" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoStringFunction": { - "id": "EnterpriseCrmEventbusProtoStringFunction", - "properties": { - "functionName": { - "enum": [ - "UNSPECIFIED", - "CONCAT", - "TO_UPPERCASE", - "TO_LOWERCASE", - "CONTAINS", - "SPLIT", - "LENGTH", - "EQUALS", - "TO_INT", - "TO_DOUBLE", - "TO_BOOLEAN", - "TO_BASE_64", - "TO_JSON", - "EQUALS_IGNORE_CASE", - "REPLACE_ALL", - "SUBSTRING", - "RESOLVE_TEMPLATE", - "DECODE_BASE64_STRING" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoStringParameterArray": { - "id": "EnterpriseCrmEventbusProtoStringParameterArray", - "properties": { - "stringValues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoSuccessPolicy": { - "description": "Policy that dictates the behavior for the task after it completes successfully.", - "id": "EnterpriseCrmEventbusProtoSuccessPolicy", - "properties": { - "finalState": { - "description": "State to which the execution snapshot status will be set if the task succeeds.", - "enum": [ - "UNSPECIFIED", - "SUCCEEDED", - "SUSPENDED" - ], - "enumDescriptions": [ - "", - "The default behavior, where successful tasks will be marked as SUCCEEDED.", - "Sets the state to SUSPENDED after executing. This is required for SuspensionTask; event execution will continue once the user calls ResolveSuspensions with the event_execution_info_id and the task number." - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoSuspensionAuthPermissions": { - "description": "LINT.IfChange", - "id": "EnterpriseCrmEventbusProtoSuspensionAuthPermissions", - "properties": { - "gaiaIdentity": { - "$ref": "EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity", - "description": "Represents a Gaia identity for a person or service account." - }, - "googleGroup": { - "$ref": "EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity" - }, - "loasRole": { - "type": "string" - }, - "mdbGroup": { - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity": { - "id": "EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity", - "properties": { - "emailAddress": { - "type": "string" - }, - "gaiaId": { - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoSuspensionConfig": { - "id": "EnterpriseCrmEventbusProtoSuspensionConfig", - "properties": { - "customMessage": { - "description": "Optional information to provide recipients of the suspension in addition to the resolution URL, typically containing relevant parameter values from the originating workflow.", - "type": "string" - }, - "notifications": { - "items": { - "$ref": "EnterpriseCrmEventbusProtoNotification" - }, - "type": "array" - }, - "suspensionExpiration": { - "$ref": "EnterpriseCrmEventbusProtoSuspensionExpiration", - "description": "Indicates the next steps when no external actions happen on the suspension." - }, - "whoMayResolve": { - "description": "Identities able to resolve this suspension.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoSuspensionAuthPermissions" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoSuspensionExpiration": { - "id": "EnterpriseCrmEventbusProtoSuspensionExpiration", - "properties": { - "expireAfterMs": { - "description": "Milliseconds after which the suspension expires, if no action taken.", - "format": "int32", - "type": "integer" - }, - "liftWhenExpired": { - "description": "Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is the default behavior.", - "type": "boolean" - }, - "remindAfterMs": { - "description": "Milliseconds after which the previous suspension action reminder, if any, is sent using the selected notification option, for a suspension which is still PENDING_UNSPECIFIED.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoSuspensionResolutionInfo": { - "id": "EnterpriseCrmEventbusProtoSuspensionResolutionInfo", - "properties": { - "audit": { - "$ref": "EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit" - }, - "clientId": { - "description": "The event data user sends as request.", - "type": "string" - }, - "cloudKmsConfig": { - "$ref": "EnterpriseCrmEventbusProtoCloudKmsConfig", - "description": "KMS info, used by cmek/gmek integration" - }, - "createdTimestamp": { - "description": "Auto-generated.", - "format": "google-datetime", - "type": "string" - }, - "encryptedSuspensionResolutionInfo": { - "description": "Encrypted SuspensionResolutionInfo", - "format": "byte", - "type": "string" - }, - "eventExecutionInfoId": { - "description": "Required. ID of the associated execution.", - "type": "string" - }, - "externalTraffic": { - "$ref": "EnterpriseCrmEventbusProtoExternalTraffic", - "description": "The origin of the suspension for periodic notifications." - }, - "lastModifiedTimestamp": { - "description": "Auto-generated.", - "format": "google-datetime", - "type": "string" - }, - "product": { - "description": "Which Google product the suspension belongs to. If not set, the suspension belongs to Integration Platform by default.", - "enum": [ - "UNSPECIFIED_PRODUCT", - "IP", - "APIGEE", - "SECURITY" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "status": { - "enum": [ - "PENDING_UNSPECIFIED", - "REJECTED", - "LIFTED", - "CANCELED" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "suspensionConfig": { - "$ref": "EnterpriseCrmEventbusProtoSuspensionConfig" - }, - "suspensionId": { - "description": "Primary key for the SuspensionResolutionInfoTable.", - "type": "string" - }, - "taskNumber": { - "description": "Required. Task number of the associated SuspensionTask.", - "type": "string" - }, - "workflowName": { - "description": "Required. The name of the originating workflow.", - "type": "string" - }, - "wrappedDek": { - "description": "Wrapped dek", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit": { - "id": "EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit", - "properties": { - "resolvedBy": { - "type": "string" - }, - "resolvedByCpi": { - "type": "string" - }, - "timestamp": { - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoTaskAlertConfig": { - "description": "Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.", - "id": "EnterpriseCrmEventbusProtoTaskAlertConfig", - "properties": { - "aggregationPeriod": { - "description": "The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).", - "type": "string" - }, - "alertDisabled": { - "description": "Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.", - "type": "boolean" - }, - "alertName": { - "description": "A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.", - "type": "string" - }, - "clientId": { - "description": "Client associated with this alert configuration. Must be a client enabled in one of the containing workflow's triggers.", - "type": "string" - }, - "durationThresholdMs": { - "description": "Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.", - "format": "int64", - "type": "string" - }, - "errorEnumList": { - "$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" - }, - "metricType": { - "enum": [ - "METRIC_TYPE_UNSPECIFIED", - "TASK_ERROR_RATE", - "TASK_WARNING_RATE", - "TASK_RATE", - "TASK_AVERAGE_DURATION", - "TASK_PERCENTILE_DURATION" - ], - "enumDescriptions": [ - "The default value. Metric type should always be set to one of the other non-default values, otherwise it will result in an INVALID_ARGUMENT error.", - "Specifies alerting on the rate of errors (potentially for a specific set of enum values) for the enclosing TaskConfig.", - "Specifies alerting on the rate of warnings (potentially for a specific set of enum values) for the enclosing TaskConfig. Warnings use the same enum values as errors.", - "Specifies alerting on the number of instances for the enclosing TaskConfig executed in the given aggregation_period.", - "Specifies alerting on the average duration of execution for the enclosing task.", - "Specifies alerting on the duration of a particular percentile of task executions. E.g. If 10% or more of the task executions have durations above 5 seconds, alert." - ], - "type": "string" - }, - "numAggregationPeriods": { - "description": "For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.", - "format": "int32", - "type": "integer" - }, - "onlyFinalAttempt": { - "description": "Only count final task attempts, not retries.", - "type": "boolean" - }, - "playbookUrl": { - "description": "Link to a playbook for resolving the issue that triggered this alert.", - "type": "string" - }, - "thresholdType": { - "description": "The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.", - "enum": [ - "UNSPECIFIED_THRESHOLD_TYPE", - "EXPECTED_MIN", - "EXPECTED_MAX" - ], - "enumDescriptions": [ - "", - "Note that this field will only trigger alerts if the workflow specifying it runs at least once in 24 hours (which is our in-memory retention period for monarch streams). Also note that `aggregation_period` for this alert configuration must be less than 24 hours.", - "" - ], - "type": "string" - }, - "thresholdValue": { - "$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue", - "description": "The metric value, above or below which the alert should be triggered." - }, - "warningEnumList": { - "$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoTaskExecutionDetails": { - "description": "Contains the details of the execution of this task. Next available id: 11", - "id": "EnterpriseCrmEventbusProtoTaskExecutionDetails", - "properties": { - "taskAttemptStats": { - "items": { - "$ref": "EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats" - }, - "type": "array" - }, - "taskExecutionState": { - "enum": [ - "UNSPECIFIED", - "PENDING_EXECUTION", - "IN_PROCESS", - "SUCCEED", - "FAILED", - "FATAL", - "RETRY_ON_HOLD", - "SKIPPED", - "CANCELED", - "PENDING_ROLLBACK", - "ROLLBACK_IN_PROCESS", - "ROLLEDBACK", - "SUSPENDED" - ], - "enumDescriptions": [ - "", - "Task is waiting for its precondition tasks to finish to start the execution.", - "Task is under processing.", - "Task execution successfully finished. There's no more change after this state.", - "Task execution failed. There's no more change after this state.", - "Task execution failed and cause the whole event execution to fail immediately. There's no more change after this state.", - "Task execution failed and waiting for retry.", - "Task execution skipped. This happens when its precondition wasn't met, or the event execution been canceled before reach to the task. There's no more changes after this state.", - "Task execution canceled when in progress. This happens when event execution been canceled or any other task fall in fatal state.", - "Task is waiting for its dependency tasks' rollback to finish to start its rollback.", - "Task is rolling back.", - "Task is rolled back. This is the state we will set regardless of rollback succeeding or failing.", - "Task is a SuspensionTask which has executed once, creating a pending suspension." - ], - "type": "string" - }, - "taskNumber": { - "description": "Pointer to the task config it used for execution.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats": { - "id": "EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats", - "properties": { - "endTime": { - "description": "The end time of the task execution for current attempt.", - "format": "int64", - "type": "string" - }, - "startTime": { - "description": "The start time of the task execution for current attempt. This could be in the future if it's been scheduled.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoTaskMetadata": { - "description": "TaskMetadata are attributes that are associated to every common Task we have.", - "id": "EnterpriseCrmEventbusProtoTaskMetadata", - "properties": { - "activeTaskName": { - "description": "The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.", - "type": "string" - }, - "admins": { - "items": { - "$ref": "EnterpriseCrmEventbusProtoTaskMetadataAdmin" - }, - "type": "array" - }, - "category": { - "enum": [ - "UNSPECIFIED_CATEGORY", - "CUSTOM", - "FLOW_CONTROL", - "DATA_MANIPULATION", - "SCRIPTING", - "CONNECTOR", - "HIDDEN", - "CLOUD_SYSTEMS", - "CUSTOM_TASK_TEMPLATE", - "TASK_RECOMMENDATIONS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "Internal IP tasks that should not be available in the UI.", - "Tasks that are relevant to cloud systems teams and typically", - "include connecting to Vector salesforce, CRM Hub Spanner etc. Task entities that derive from a custom task template.", - "Category to show task recommendations" - ], - "type": "string" - }, - "codeSearchLink": { - "description": "The Code Search link to the Task Java file.", - "type": "string" - }, - "defaultJsonValidationOption": { - "description": "Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task's execution.", - "enum": [ - "UNSPECIFIED_JSON_VALIDATION_OPTION", - "SKIP", - "PRE_EXECUTION", - "POST_EXECUTION", - "PRE_POST_EXECUTION" - ], - "enumDescriptions": [ - "As per the default behavior, no validation will be run. Will not override any option set in a Task.", - "Do not run any validation against JSON schemas.", - "Validate all potential input JSON parameters against schemas specified in WorkflowParameters.", - "Validate all potential output JSON parameters against schemas specified in WorkflowParameters.", - "Perform both PRE_EXECUTION and POST_EXECUTION validations." - ], - "type": "string" - }, - "defaultSpec": { - "description": "Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.", - "type": "string" - }, - "description": { - "description": "In a few sentences, describe the purpose and usage of the task.", - "type": "string" - }, - "descriptiveName": { - "description": "The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. \"Send Mail\")", - "type": "string" - }, - "docMarkdown": { - "description": "Snippet of markdown documentation to embed in the RHP for this task.", - "type": "string" - }, - "externalCategory": { - "enum": [ - "UNSPECIFIED_EXTERNAL_CATEGORY", - "CORE", - "CONNECTORS", - "EXTERNAL_HTTP", - "EXTERNAL_INTEGRATION_SERVICES", - "EXTERNAL_CUSTOMER_ACTIONS", - "EXTERNAL_FLOW_CONTROL", - "EXTERNAL_WORKSPACE", - "EXTERNAL_SECURITY", - "EXTERNAL_DATABASES", - "EXTERNAL_ANALYTICS", - "EXTERNAL_BYOC", - "EXTERNAL_BYOT", - "EXTERNAL_ARTIFICIAL_INTELIGENCE", - "EXTERNAL_DATA_MANIPULATION" - ], - "enumDescriptions": [ - "", - "", - "", - "HTTP tasks, e.g. rest api call task", - "Integration services, e.g. connector task", - "Customer ations, e.g. email task", - "Flow control, e.g. while loop task", - "Workspace tasks, e.g. list drive task", - "Security, e.g. kms related tasks", - "Database operation tasks, e.g. read firestore info tasks", - "Analytics tasks, e.g. dataflow creattion tasks", - "BYOC tasks", - "BYOT tasks", - "AI related tasks.", - "Data manipulation related tasks, e.g. data mapping task" - ], - "type": "string" - }, - "externalCategorySequence": { - "description": "Sequence with which the task in specific category to be displayed in task discovery panel for external users.", - "format": "int32", - "type": "integer" - }, - "externalDocHtml": { - "description": "External-facing documention embedded in the RHP for this task.", - "type": "string" - }, - "externalDocLink": { - "description": "Doc link for external-facing documentation (separate from g3doc).", - "type": "string" - }, - "externalDocMarkdown": { - "description": "DEPRECATED: Use external_doc_html.", - "type": "string" - }, - "g3DocLink": { - "description": "URL to the associated G3 Doc for the task if available", - "type": "string" - }, - "iconLink": { - "description": "URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.", - "type": "string" - }, - "isDeprecated": { - "description": "The deprecation status of the current task. Default value is false;", - "type": "boolean" - }, - "name": { - "description": "The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.", - "type": "string" - }, - "standaloneExternalDocHtml": { - "description": "External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html", - "type": "string" - }, - "status": { - "description": "Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.", - "enum": [ - "UNSPECIFIED_STATUS", - "DEFAULT_INACTIVE", - "ACTIVE" - ], - "enumDescriptions": [ - "Default value. Actual Task Status should always be set to either INACTIVE or ACTIVE. If none is specified at runtime, it will be set to INACTIVE.", - "Still in-progress or incomplete, and not intended for use.", - "Available for use." - ], - "type": "string" - }, - "system": { - "enum": [ - "UNSPECIFIED_SYSTEM", - "GENERIC", - "BUGANIZER", - "SALESFORCE", - "CLOUD_SQL", - "PLX", - "SHEETS", - "GOOGLE_GROUPS", - "EMAIL", - "SPANNER", - "DATA_BRIDGE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "tags": { - "description": "A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (\"REST Caller\" vs. \"Call REST Endpoint\") or to help users find tasks based on related words.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoTaskMetadataAdmin": { - "description": "Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.", - "id": "EnterpriseCrmEventbusProtoTaskMetadataAdmin", - "properties": { - "googleGroupEmail": { - "type": "string" - }, - "userEmail": { - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoTaskUiConfig": { - "description": "Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework:", - "id": "EnterpriseCrmEventbusProtoTaskUiConfig", - "properties": { - "taskUiModuleConfigs": { - "description": "Configurations of included config modules.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoTaskUiModuleConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoTaskUiModuleConfig": { - "description": "Task author would use this type to configure a config module.", - "id": "EnterpriseCrmEventbusProtoTaskUiModuleConfig", - "properties": { - "moduleId": { - "description": "ID of the config module.", - "enum": [ - "UNSPECIFIED_TASK_MODULE", - "LABEL", - "ERROR_HANDLING", - "TASK_PARAM_TABLE", - "TASK_PARAM_FORM", - "PRECONDITION", - "SCRIPT_EDITOR", - "RPC", - "TASK_SUMMARY", - "SUSPENSION", - "RPC_TYPED", - "SUB_WORKFLOW", - "APPS_SCRIPT_NAVIGATOR", - "SUB_WORKFLOW_FOR_EACH_LOOP", - "FIELD_MAPPING", - "README", - "REST_CALLER", - "SUB_WORKFLOW_SCATTER_GATHER", - "CLOUD_SQL", - "GENERIC_CONNECTOR_TASK" - ], - "enumDescriptions": [ - "Default", - "Supports editing label of a task config.", - "Supports editing error handling settings such as retry strategy.", - "Supports adding, removing and editing task parameter values in a table with little assistance or restriction.", - "Supports editing values of declared input parameters of a task. Think of it as a \"strongly typed\" upgrade to the TASK_PARAM_TABLE.", - "Supports editing preconditions of a task config.", - "Supports adding, editing, and deleting the scripts associated with a script task, as well as modifying the input/output parameters.", - "Supports editing task parameters associated with an RPC/stubby task.", - "Contains readonly task information, including input/output type info.", - "Configures a SuspensionTask.", - "Configures a GenericStubbyTypedTask.", - "Configures a SubWorkflowExecutorTask.", - "Supports navigating to Apps Script editor", - "Configures a SubWorkflowForEachLoopTask.", - "Configures a FieldMappingTask.", - "Contains embedded in-product documentation for a task.", - "UI widget for the rest caller task.", - "Configures a SubWorkflowScatterGatherTask.", - "Configures a CloudSql Task.", - "Configure a GenericConnectorTask." - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoTeardown": { - "id": "EnterpriseCrmEventbusProtoTeardown", - "properties": { - "teardownTaskConfigs": { - "description": "Required.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoTeardownTaskConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoTeardownTaskConfig": { - "id": "EnterpriseCrmEventbusProtoTeardownTaskConfig", - "properties": { - "creatorEmail": { - "description": "The creator's email address.", - "type": "string" - }, - "name": { - "description": "Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.", - "type": "string" - }, - "nextTeardownTask": { - "$ref": "EnterpriseCrmEventbusProtoNextTeardownTask" - }, - "parameters": { - "$ref": "EnterpriseCrmEventbusProtoEventParameters", - "description": "The parameters the user can pass to this task." - }, - "properties": { - "$ref": "EnterpriseCrmEventbusProtoEventBusProperties" - }, - "teardownTaskImplementationClassName": { - "description": "Required. Implementation class name.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoToken": { - "id": "EnterpriseCrmEventbusProtoToken", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoTransformExpression": { - "id": "EnterpriseCrmEventbusProtoTransformExpression", - "properties": { - "initialValue": { - "$ref": "EnterpriseCrmEventbusProtoBaseValue", - "description": "Initial value upon which to perform transformations." - }, - "transformationFunctions": { - "description": "Transformations to be applied sequentially.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoFunction" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoTriggerCriteria": { - "id": "EnterpriseCrmEventbusProtoTriggerCriteria", - "properties": { - "condition": { - "description": "Required. Standard filter expression, when true the workflow will be executed. If there's no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.", - "type": "string" - }, - "parameters": { - "$ref": "EnterpriseCrmEventbusProtoEventParameters", - "description": "Optional. To be used in TaskConfig for the implementation class." - }, - "triggerCriteriaTaskImplementationClassName": { - "description": "Optional. Implementation class name. The class should implement the “TypedTask” interface.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoValueType": { - "description": "Used for define type for values. Currently supported value types include int, string, double, array, and any proto message.", - "id": "EnterpriseCrmEventbusProtoValueType", - "properties": { - "booleanValue": { - "type": "boolean" - }, - "doubleArray": { - "$ref": "EnterpriseCrmEventbusProtoDoubleArray" - }, - "doubleValue": { - "format": "double", - "type": "number" - }, - "intArray": { - "$ref": "EnterpriseCrmEventbusProtoIntArray" - }, - "intValue": { - "format": "int64", - "type": "string" - }, - "protoValue": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "stringArray": { - "$ref": "EnterpriseCrmEventbusProtoStringArray" - }, - "stringValue": { - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusProtoWorkflowAlertConfig": { - "description": "Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.", - "id": "EnterpriseCrmEventbusProtoWorkflowAlertConfig", - "properties": { - "aggregationPeriod": { - "description": "For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.", - "type": "string" - }, - "alertDisabled": { - "description": "Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.", - "type": "boolean" - }, - "alertName": { - "description": "A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.", - "type": "string" - }, - "clientId": { - "description": "Client associated with this alert configuration.", - "type": "string" - }, - "durationThresholdMs": { - "description": "Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.", - "format": "int64", - "type": "string" - }, - "errorEnumList": { - "$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" - }, - "metricType": { - "enum": [ - "METRIC_TYPE_UNSPECIFIED", - "EVENT_ERROR_RATE", - "EVENT_WARNING_RATE", - "TASK_ERROR_RATE", - "TASK_WARNING_RATE", - "TASK_RATE", - "EVENT_RATE", - "EVENT_AVERAGE_DURATION", - "EVENT_PERCENTILE_DURATION", - "TASK_AVERAGE_DURATION", - "TASK_PERCENTILE_DURATION" - ], - "enumDescriptions": [ - "The default value. Metric type should always be set to one of the other non-default values, otherwise it will result in an INVALID_ARGUMENT error.", - "Specifies alerting on the rate of errors for the enclosing workflow.", - "Specifies alerting on the rate of warnings for the enclosing workflow. Warnings use the same enum values as errors.", - "Specifies alerting on the rate of errors for any task in the enclosing workflow.", - "Specifies alerting on the rate of warnings for any task in the enclosing workflow.", - "Specifies alerting on the rate of executions over all tasks in the enclosing workflow.", - "Specifies alerting on the number of events executed in the given aggregation_period.", - "Specifies alerting on the average duration of executions for this workflow.", - "Specifies alerting on the duration value of a particular percentile of workflow executions. E.g. If 10% or more of the workflow executions have durations above 5 seconds, alert.", - "Specifies alerting on the average duration of any task in the enclosing workflow,", - "Specifies alerting on the duration value of a particular percentile of any task executions within the enclosing workflow. E.g. If 10% or more of the task executions in the workflow have durations above 5 seconds, alert." - ], - "type": "string" - }, - "numAggregationPeriods": { - "description": "For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.", - "format": "int32", - "type": "integer" - }, - "onlyFinalAttempt": { - "description": "For either events or tasks, depending on the type of alert, count only final attempts, not retries.", - "type": "boolean" - }, - "playbookUrl": { - "description": "Link to a playbook for resolving the issue that triggered this alert.", - "type": "string" - }, - "thresholdType": { - "description": "The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.", - "enum": [ - "UNSPECIFIED_THRESHOLD_TYPE", - "EXPECTED_MIN", - "EXPECTED_MAX" - ], - "enumDescriptions": [ - "", - "Note that this field will only trigger alerts if the workflow specifying it runs at least once in 24 hours (which is our in-memory retention period for monarch streams). Also note that `aggregation_period` for this alert configuration must be less than 24 hours.", - "" - ], - "type": "string" - }, - "thresholdValue": { - "$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue", - "description": "The metric value, above or below which the alert should be triggered." - }, - "warningEnumList": { - "$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusStats": { - "description": "Stats for the requested dimensions: QPS, duration, and error/warning rate", - "id": "EnterpriseCrmEventbusStats", - "properties": { - "dimensions": { - "$ref": "EnterpriseCrmEventbusStatsDimensions", - "description": "Dimensions that these stats have been aggregated on." - }, - "durationInSeconds": { - "description": "Average duration in seconds.", - "format": "double", - "type": "number" - }, - "errorRate": { - "description": "Average error rate.", - "format": "double", - "type": "number" - }, - "qps": { - "description": "Queries per second.", - "format": "double", - "type": "number" - }, - "warningRate": { - "description": "Average warning rate.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "EnterpriseCrmEventbusStatsDimensions": { - "id": "EnterpriseCrmEventbusStatsDimensions", - "properties": { - "clientId": { - "type": "string" - }, - "enumFilterType": { - "description": "Whether to include or exclude the enums matching the regex.", - "enum": [ - "DEFAULT_INCLUSIVE", - "EXCLUSIVE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "errorEnumString": { - "type": "string" - }, - "retryAttempt": { - "enum": [ - "UNSPECIFIED", - "FINAL", - "RETRYABLE", - "CANCELED" - ], - "enumDescriptions": [ - "", - "Task has completed successfully or has depleted all retry attempts.", - "Task has failed but may be retried.", - "Task has been deliberately canceled." - ], - "type": "string" - }, - "taskName": { - "type": "string" - }, - "taskNumber": { - "type": "string" - }, - "triggerId": { - "description": "Stats have been or will be aggregated on set fields for any semantically-meaningful combination.", - "type": "string" - }, - "warningEnumString": { - "type": "string" - }, - "workflowId": { - "type": "string" - }, - "workflowName": { - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray": { - "id": "EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray", - "properties": { - "booleanValues": { - "items": { - "type": "boolean" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray": { - "id": "EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray", - "properties": { - "doubleValues": { - "items": { - "format": "double", - "type": "number" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails": { - "description": "Contains the details of the execution info of this event: this includes the tasks execution details plus the event execution statistics. Next available id: 11", - "id": "EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails", - "properties": { - "eventAttemptStats": { - "items": { - "$ref": "EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats" - }, - "type": "array" - }, - "eventExecutionSnapshot": { - "description": "After snapshot migration, this field will no longer be populated, but old execution snapshots will still be accessible.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot" - }, - "type": "array" - }, - "eventExecutionSnapshotsSize": { - "description": "Total size of all event_execution_snapshots for an execution", - "format": "int64", - "type": "string" - }, - "eventExecutionState": { - "description": "The execution state of this event.", - "enum": [ - "UNSPECIFIED", - "ON_HOLD", - "IN_PROCESS", - "SUCCEEDED", - "FAILED", - "CANCELED", - "RETRY_ON_HOLD", - "SUSPENDED" - ], - "enumDescriptions": [ - "", - "Event is received and waiting for the execution. This happens when firing the event via \"postToQueue\" or \"schedule\".", - "Event is under processing.", - "Event execution successfully finished. There's no more change after this state.", - "Event execution failed. There's no more change after this state.", - "Event execution canceled by user. There's no more change after this state.", - "Event execution failed and waiting for retry.", - "Event execution suspended and waiting for manual intervention." - ], - "type": "string" - }, - "eventRetriesFromBeginningCount": { - "description": "Indicates the number of times the execution has restarted from the beginning.", - "format": "int32", - "type": "integer" - }, - "logFilePath": { - "description": "The log file path (aka. cns address) for this event.", - "type": "string" - }, - "networkAddress": { - "description": "The network address (aka. bns address) that indicates where the event executor is running.", - "type": "string" - }, - "nextExecutionTime": { - "description": "Next scheduled execution time in case the execution status was RETRY_ON_HOLD.", - "format": "int64", - "type": "string" - }, - "ryeLockUnheldCount": { - "description": "Used internally and shouldn't be exposed to users. A counter for the cron job to record how many times this event is in in_process state but don't have a lock consecutively/", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo": { - "description": "Contains all the execution details for a workflow instance. Next available id: 24", - "id": "EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo", - "properties": { - "clientId": { - "description": "The event data user sends as request.", - "type": "string" - }, - "createTime": { - "description": "Auto-generated.", - "format": "int64", - "type": "string" - }, - "errorCode": { - "$ref": "CrmlogErrorCode", - "description": "Final error-code if event failed." - }, - "errors": { - "description": "Errors, warnings, and informationals associated with the workflow/task. The order in which the errors were added by the workflow/task is maintained.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoErrorDetail" - }, - "type": "array" - }, - "eventExecutionDetails": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails", - "description": "The execution info about this event." - }, - "eventExecutionInfoId": { - "description": "Auto-generated primary key.", - "type": "string" - }, - "executionTraceInfo": { - "$ref": "EnterpriseCrmEventbusProtoExecutionTraceInfo", - "description": "Execution trace info to aggregate parent-child executions." - }, - "lastModifiedTime": { - "description": "Auto-generated.", - "format": "int64", - "type": "string" - }, - "postMethod": { - "description": "The ways user posts this event.", - "enum": [ - "UNSPECIFIED", - "POST", - "POST_TO_QUEUE", - "SCHEDULE", - "POST_BY_EVENT_CONFIG_ID", - "POST_WITH_EVENT_DETAILS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "product": { - "description": "Which Google product the execution_info belongs to. If not set, the execution_info belongs to Integration Platform by default.", - "enum": [ - "UNSPECIFIED_PRODUCT", - "IP", - "APIGEE", - "SECURITY" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "requestId": { - "description": "Optional. This is used to de-dup incoming request.", - "type": "string" - }, - "requestParams": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", - "description": "Event parameters come in as part of the request." - }, - "responseParams": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", - "description": "Event parameters come out as part of the response." - }, - "snapshotNumber": { - "description": "Workflow snapshot number.", - "format": "int64", - "type": "string" - }, - "tenant": { - "description": "Tenant this event is created. Used to reschedule the event to correct tenant.", - "type": "string" - }, - "triggerId": { - "description": "The trigger id of the workflow trigger config. If both trigger_id and client_id is present, the workflow is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.", - "type": "string" - }, - "workflowId": { - "description": "Required. Pointer to the workflow it is executing.", - "type": "string" - }, - "workflowName": { - "description": "Name of the workflow.", - "type": "string" - }, - "workflowRetryBackoffIntervalSeconds": { - "description": "Time interval in seconds to schedule retry of workflow in manifold when workflow is already running", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot": { - "id": "EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot", - "properties": { - "checkpointTaskNumber": { - "description": "Indicates \"right after which checkpoint task's execution\" this snapshot is taken.", - "type": "string" - }, - "conditionResults": { - "description": "All of the computed conditions that been calculated.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoConditionResult" - }, - "type": "array" - }, - "diffParams": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", - "description": "The parameters in Event object that differs from last snapshot." - }, - "eventExecutionInfoId": { - "description": "Points to the event execution info this snapshot belongs to.", - "type": "string" - }, - "eventExecutionSnapshotId": { - "description": "Auto-generated. Used as primary key for EventExecutionSnapshots table.", - "type": "string" - }, - "eventExecutionSnapshotMetadata": { - "$ref": "EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata" - }, - "eventParams": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", - "description": "The parameters in Event object." - }, - "snapshotTime": { - "description": "Indicates when this snapshot is taken.", - "format": "int64", - "type": "string" - }, - "taskExecutionDetails": { - "description": "All of the task execution details at the given point of time.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoTaskExecutionDetails" - }, - "type": "array" - }, - "taskName": { - "deprecated": true, - "description": "The task name associated with this snapshot. Could be empty.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoEventParameters": { - "description": "LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see", - "id": "EnterpriseCrmFrontendsEventbusProtoEventParameters", - "properties": { - "parameters": { - "description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoIntParameterArray": { - "id": "EnterpriseCrmFrontendsEventbusProtoIntParameterArray", - "properties": { - "intValues": { - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoParamSpecEntry": { - "description": "Key-value pair of EventBus task parameters. Next id: 13", - "id": "EnterpriseCrmFrontendsEventbusProtoParamSpecEntry", - "properties": { - "className": { - "description": "The FQCN of the Java object this represents. A string, for example, would be \"java.lang.String\". If this is \"java.lang.Object\", the parameter can be of any type.", - "type": "string" - }, - "collectionElementClassName": { - "description": "If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is \"java.lang.Object\", the parameter is a collection of any type.", - "type": "string" - }, - "config": { - "$ref": "EnterpriseCrmEventbusProtoParamSpecEntryConfig", - "description": "Optional fields, such as help text and other useful info." - }, - "dataType": { - "description": "The data type of the parameter.", - "enum": [ - "DATA_TYPE_UNSPECIFIED", - "STRING_VALUE", - "INT_VALUE", - "DOUBLE_VALUE", - "BOOLEAN_VALUE", - "PROTO_VALUE", - "SERIALIZED_OBJECT_VALUE", - "STRING_ARRAY", - "INT_ARRAY", - "DOUBLE_ARRAY", - "PROTO_ARRAY", - "PROTO_ENUM", - "BOOLEAN_ARRAY", - "PROTO_ENUM_ARRAY", - "BYTES", - "BYTES_ARRAY", - "NON_SERIALIZABLE_OBJECT", - "JSON_VALUE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", - "", - "", - "" - ], - "type": "string" - }, - "defaultValue": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", - "description": "Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." - }, - "isDeprecated": { - "description": "If set, this entry is deprecated, so further use of this parameter should be prohibited.", - "type": "boolean" - }, - "isOutput": { - "type": "boolean" - }, - "jsonSchema": { - "description": "If the data_type is JSON_VALUE, then this will define its schema.", - "type": "string" - }, - "key": { - "description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.", - "type": "string" - }, - "protoDef": { - "$ref": "EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition", - "description": "Populated if this represents a proto or proto array." - }, - "required": { - "description": "If set, the user must provide an input value for this parameter.", - "type": "boolean" - }, - "validationRule": { - "$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRule", - "description": "Rule used to validate inputs (individual values and collection elements) for this parameter." - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage": { - "id": "EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage", - "properties": { - "parameters": { - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParamSpecEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoParameterEntry": { - "description": "Key-value pair of EventBus parameters.", - "id": "EnterpriseCrmFrontendsEventbusProtoParameterEntry", - "properties": { - "dataType": { - "description": "Explicitly getting the type of the parameter.", - "enum": [ - "DATA_TYPE_UNSPECIFIED", - "STRING_VALUE", - "INT_VALUE", - "DOUBLE_VALUE", - "BOOLEAN_VALUE", - "PROTO_VALUE", - "SERIALIZED_OBJECT_VALUE", - "STRING_ARRAY", - "INT_ARRAY", - "DOUBLE_ARRAY", - "PROTO_ARRAY", - "PROTO_ENUM", - "BOOLEAN_ARRAY", - "PROTO_ENUM_ARRAY", - "BYTES", - "BYTES_ARRAY", - "NON_SERIALIZABLE_OBJECT", - "JSON_VALUE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", - "", - "", - "" - ], - "type": "string" - }, - "key": { - "description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.", - "type": "string" - }, - "masked": { - "description": "True if this parameter should be masked in the logs", - "type": "boolean" - }, - "value": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", - "description": "Values for the defined keys. Each value can either be string, int, double or any proto message." - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoParameterMap": { - "description": "A generic multi-map that holds key value pairs. They keys and values can be of any type, unless specified.", - "id": "EnterpriseCrmFrontendsEventbusProtoParameterMap", - "properties": { - "entries": { - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterMapEntry" - }, - "type": "array" - }, - "keyType": { - "description": "Option to specify key value type for all entries of the map. If provided then field types for all entries must conform to this.", - "enum": [ - "DATA_TYPE_UNSPECIFIED", - "STRING_VALUE", - "INT_VALUE", - "DOUBLE_VALUE", - "BOOLEAN_VALUE", - "PROTO_VALUE", - "SERIALIZED_OBJECT_VALUE", - "STRING_ARRAY", - "INT_ARRAY", - "DOUBLE_ARRAY", - "PROTO_ARRAY", - "PROTO_ENUM", - "BOOLEAN_ARRAY", - "PROTO_ENUM_ARRAY", - "BYTES", - "BYTES_ARRAY", - "NON_SERIALIZABLE_OBJECT", - "JSON_VALUE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", - "", - "", - "" - ], - "type": "string" - }, - "valueType": { - "enum": [ - "DATA_TYPE_UNSPECIFIED", - "STRING_VALUE", - "INT_VALUE", - "DOUBLE_VALUE", - "BOOLEAN_VALUE", - "PROTO_VALUE", - "SERIALIZED_OBJECT_VALUE", - "STRING_ARRAY", - "INT_ARRAY", - "DOUBLE_ARRAY", - "PROTO_ARRAY", - "PROTO_ENUM", - "BOOLEAN_ARRAY", - "PROTO_ENUM_ARRAY", - "BYTES", - "BYTES_ARRAY", - "NON_SERIALIZABLE_OBJECT", - "JSON_VALUE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoParameterMapEntry": { - "description": "Entry is a pair of key and value.", - "id": "EnterpriseCrmFrontendsEventbusProtoParameterMapEntry", - "properties": { - "key": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterMapField" - }, - "value": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterMapField" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoParameterMapField": { - "description": "Field represents either the key or value in an entry.", - "id": "EnterpriseCrmFrontendsEventbusProtoParameterMapField", - "properties": { - "literalValue": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", - "description": "Passing a literal value." - }, - "referenceKey": { - "description": "Referencing one of the WF variables.", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoParameterValueType": { - "description": "To support various types of parameter values. Next available id: 14", - "id": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", - "properties": { - "booleanArray": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray" - }, - "booleanValue": { - "type": "boolean" - }, - "doubleArray": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray" - }, - "doubleValue": { - "format": "double", - "type": "number" - }, - "intArray": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoIntParameterArray" - }, - "intValue": { - "format": "int64", - "type": "string" - }, - "jsonValue": { - "type": "string" - }, - "protoArray": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoProtoParameterArray" - }, - "protoValue": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "serializedObjectValue": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter" - }, - "stringArray": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoStringParameterArray" - }, - "stringValue": { - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoProtoParameterArray": { - "id": "EnterpriseCrmFrontendsEventbusProtoProtoParameterArray", - "properties": { - "protoValues": { - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoRollbackStrategy": { - "description": "Next available id: 4", - "id": "EnterpriseCrmFrontendsEventbusProtoRollbackStrategy", - "properties": { - "parameters": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", - "description": "Optional. The customized parameters the user can pass to this task." - }, - "rollbackTaskImplementationClassName": { - "description": "Required. This is the name of the task that needs to be executed upon rollback of this task.", - "type": "string" - }, - "taskNumbersToRollback": { - "description": "Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter": { - "id": "EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter", - "properties": { - "objectValue": { - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoStringParameterArray": { - "id": "EnterpriseCrmFrontendsEventbusProtoStringParameterArray", - "properties": { - "stringValues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoTaskConfig": { - "description": "The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.", - "id": "EnterpriseCrmFrontendsEventbusProtoTaskConfig", - "properties": { - "alertConfigs": { - "description": "Alert configurations on error rate, warning rate, number of runs, durations, etc.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoTaskAlertConfig" - }, - "type": "array" - }, - "createTime": { - "description": "Auto-generated.", - "format": "google-datetime", - "type": "string" - }, - "creatorEmail": { - "description": "The creator's email address. Auto-generated from the user's email.", - "type": "string" - }, - "description": { - "description": "User-provided description intended to give more business context about the task.", - "type": "string" - }, - "disableStrictTypeValidation": { - "description": "If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.", - "type": "boolean" - }, - "errorCatcherId": { - "description": "Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", - "type": "string" - }, - "externalTaskType": { - "enum": [ - "EXTERNAL_TASK_TYPE_UNSPECIFIED", - "NORMAL_TASK", - "ERROR_TASK" - ], - "enumDescriptions": [ - "Default value. External task type is not specified", - "Tasks belongs to the normal task flows", - "Task belongs to the error catch task flows" - ], - "type": "string" - }, - "failurePolicy": { - "$ref": "EnterpriseCrmEventbusProtoFailurePolicy", - "description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.)." - }, - "incomingEdgeCount": { - "description": "The number of edges leading into this TaskConfig.", - "format": "int32", - "type": "integer" - }, - "jsonValidationOption": { - "description": "If set, overrides the option configured in the Task implementation class.", - "enum": [ - "UNSPECIFIED_JSON_VALIDATION_OPTION", - "SKIP", - "PRE_EXECUTION", - "POST_EXECUTION", - "PRE_POST_EXECUTION" - ], - "enumDescriptions": [ - "As per the default behavior, no validation will be run. Will not override any option set in a Task.", - "Do not run any validation against JSON schemas.", - "Validate all potential input JSON parameters against schemas specified in WorkflowParameters.", - "Validate all potential output JSON parameters against schemas specified in WorkflowParameters.", - "Perform both PRE_EXECUTION and POST_EXECUTION validations." - ], - "type": "string" - }, - "label": { - "description": "User-provided label that is attached to this TaskConfig in the UI.", - "type": "string" - }, - "lastModifiedTime": { - "description": "Auto-generated.", - "format": "google-datetime", - "type": "string" - }, - "nextTasks": { - "description": "The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoNextTask" - }, - "type": "array" - }, - "nextTasksExecutionPolicy": { - "description": "The policy dictating the execution of the next set of tasks for the current task.", - "enum": [ - "UNSPECIFIED", - "RUN_ALL_MATCH", - "RUN_FIRST_MATCH" - ], - "enumDescriptions": [ - "Default", - "Execute all the tasks that satisfy their associated condition.", - "Execute the first task that satisfies the associated condition." - ], - "type": "string" - }, - "parameters": { - "additionalProperties": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" - }, - "description": "The customized parameters the user can pass to this task.", - "type": "object" - }, - "position": { - "$ref": "EnterpriseCrmEventbusProtoCoordinate", - "description": "Optional. Informs the front-end application where to draw this task config on the UI." - }, - "precondition": { - "description": "Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. \"rollout(5)\" will only allow 5% of incoming traffic to task.", - "type": "string" - }, - "preconditionLabel": { - "description": "Optional. User-provided label that is attached to precondition in the UI.", - "type": "string" - }, - "rollbackStrategy": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoRollbackStrategy", - "description": "Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times)." - }, - "successPolicy": { - "$ref": "EnterpriseCrmEventbusProtoSuccessPolicy", - "description": "Determines what action to take upon successful task completion." - }, - "synchronousCallFailurePolicy": { - "$ref": "EnterpriseCrmEventbusProtoFailurePolicy", - "description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post)." - }, - "taskEntity": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoTaskEntity", - "description": "Copy of the task entity that this task config is an instance of." - }, - "taskExecutionStrategy": { - "description": "The policy dictating the execution strategy of this task.", - "enum": [ - "WHEN_ALL_SUCCEED", - "WHEN_ANY_SUCCEED", - "WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" - ], - "enumDescriptions": [ - "Wait until all of its previous tasks finished execution, then verify at least one of the edge conditions is met, and execute if possible. This should be considered as WHEN_ALL_TASKS_SUCCEED.", - "Start execution as long as any of its previous tasks finished execution and the corresponding edge condition is met (since we will execute if only that succeeding edge condition is met).", - "Wait until all of its previous tasks finished execution, then verify the all edge conditions are met and execute if possible." - ], - "type": "string" - }, - "taskName": { - "description": "The name for the task.", - "type": "string" - }, - "taskNumber": { - "description": "REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).", - "type": "string" - }, - "taskSpec": { - "description": "A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old \"parameters\" field.", - "type": "string" - }, - "taskTemplateName": { - "description": "Used to define task-template name if task is of type task-template", - "type": "string" - }, - "taskType": { - "description": "Defines the type of the task", - "enum": [ - "TASK", - "ASIS_TEMPLATE", - "IO_TEMPLATE" - ], - "enumDescriptions": [ - "Normal IP task", - "Task is of As-Is Template type", - "Task is of I/O template type with a different underlying task" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoTaskEntity": { - "description": "Contains a task's metadata and associated information. Next available id: 7", - "id": "EnterpriseCrmFrontendsEventbusProtoTaskEntity", - "properties": { - "disabledForVpcSc": { - "description": "True if the task has conflict with vpcsc", - "type": "boolean" - }, - "metadata": { - "$ref": "EnterpriseCrmEventbusProtoTaskMetadata", - "description": "Metadata inclueds the task name, author and so on." - }, - "paramSpecs": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage", - "description": "Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask." - }, - "stats": { - "$ref": "EnterpriseCrmEventbusStats", - "deprecated": true, - "description": "Deprecated - statistics from the Monarch query." - }, - "taskType": { - "description": "Defines the type of the task", - "enum": [ - "TASK", - "ASIS_TEMPLATE", - "IO_TEMPLATE" - ], - "enumDescriptions": [ - "Normal IP task", - "Task is of As-Is Template type", - "Task is of I/O template type with a different underlying task" - ], - "type": "string" - }, - "uiConfig": { - "$ref": "EnterpriseCrmEventbusProtoTaskUiConfig", - "description": "UI configuration for this task Also associated with the METADATA mask." - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoTriggerConfig": { - "description": "Configuration detail of a trigger. Next available id: 20", - "id": "EnterpriseCrmFrontendsEventbusProtoTriggerConfig", - "properties": { - "alertConfig": { - "description": "An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.", - "items": { - "$ref": "EnterpriseCrmEventbusProtoWorkflowAlertConfig" - }, - "type": "array" - }, - "cloudSchedulerConfig": { - "$ref": "EnterpriseCrmEventbusProtoCloudSchedulerConfig" - }, - "description": { - "description": "User-provided description intended to give more business context about the task.", - "type": "string" - }, - "enabledClients": { - "description": "Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.", - "items": { - "type": "string" - }, - "type": "array" - }, - "errorCatcherId": { - "description": "Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", - "type": "string" - }, - "label": { - "description": "The user created label for a particular trigger.", - "type": "string" - }, - "nextTasksExecutionPolicy": { - "description": "Dictates how next tasks will be executed.", - "enum": [ - "UNSPECIFIED", - "RUN_ALL_MATCH", - "RUN_FIRST_MATCH" - ], - "enumDescriptions": [ - "Default", - "Execute all the tasks that satisfy their associated condition.", - "Execute the first task that satisfies the associated condition." - ], - "type": "string" - }, - "pauseWorkflowExecutions": { - "description": "Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.", - "type": "boolean" - }, - "position": { - "$ref": "EnterpriseCrmEventbusProtoCoordinate", - "description": "Optional. Informs the front-end application where to draw this trigger config on the UI." - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Configurable properties of the trigger, not to be confused with workflow parameters. E.g. \"name\" is a property for API triggers and \"subscription\" is a property for Cloud Pubsub triggers.", - "type": "object" - }, - "startTasks": { - "description": "Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).", - "items": { - "$ref": "EnterpriseCrmEventbusProtoNextTask" - }, - "type": "array" - }, - "triggerCriteria": { - "$ref": "EnterpriseCrmEventbusProtoTriggerCriteria", - "description": "Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true." - }, - "triggerId": { - "description": "The backend trigger ID.", - "type": "string" - }, - "triggerName": { - "description": "Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.", - "type": "string" - }, - "triggerNumber": { - "description": "Required. A number to uniquely identify each trigger config within the workflow on UI.", - "type": "string" - }, - "triggerType": { - "enum": [ - "UNKNOWN", - "CLOUD_PUBSUB", - "GOOPS", - "SFDC_SYNC", - "CRON", - "API", - "MANIFOLD_TRIGGER", - "DATALAYER_DATA_CHANGE", - "SFDC_CHANNEL", - "CLOUD_PUBSUB_EXTERNAL", - "SFDC_CDC_CHANNEL", - "SFDC_PLATFORM_EVENTS_CHANNEL", - "CLOUD_SCHEDULER", - "INTEGRATION_CONNECTOR_TRIGGER", - "PRIVATE_TRIGGER" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry": { - "id": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry", - "properties": { - "attributes": { - "$ref": "EnterpriseCrmEventbusProtoAttributes", - "description": "Metadata information about the parameters." - }, - "children": { - "description": "Child parameters nested within this parameter. This field only applies to protobuf parameters", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry" - }, - "type": "array" - }, - "containsLargeData": { - "description": "Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.", - "type": "boolean" - }, - "dataType": { - "description": "The data type of the parameter.", - "enum": [ - "DATA_TYPE_UNSPECIFIED", - "STRING_VALUE", - "INT_VALUE", - "DOUBLE_VALUE", - "BOOLEAN_VALUE", - "PROTO_VALUE", - "SERIALIZED_OBJECT_VALUE", - "STRING_ARRAY", - "INT_ARRAY", - "DOUBLE_ARRAY", - "PROTO_ARRAY", - "PROTO_ENUM", - "BOOLEAN_ARRAY", - "PROTO_ENUM_ARRAY", - "BYTES", - "BYTES_ARRAY", - "NON_SERIALIZABLE_OBJECT", - "JSON_VALUE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", - "", - "", - "" - ], - "type": "string" - }, - "defaultValue": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", - "description": "Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." - }, - "description": { - "description": "Optional. The description about the parameter", - "type": "string" - }, - "inOutType": { - "description": "Specifies the input/output type for the parameter.", - "enum": [ - "IN_OUT_TYPE_UNSPECIFIED", - "IN", - "OUT", - "IN_OUT" - ], - "enumDescriptions": [ - "", - "Input parameters for the workflow. EventBus validates that these parameters exist in the workflows before execution.", - "Output Parameters for the workflow. EventBus will only return the workflow parameters tagged with OUT in the response back.", - "Input or Output Parameters. These can be used as both input and output. EventBus will validate for the existence of these parameters before execution and will also return this parameter back in the response." - ], - "type": "string" - }, - "isTransient": { - "description": "Whether this parameter is a transient parameter.", - "type": "boolean" - }, - "jsonSchema": { - "description": "This schema will be used to validate runtime JSON-typed values of this parameter.", - "type": "string" - }, - "key": { - "description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.", - "type": "string" - }, - "name": { - "description": "The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is \"foo.bar.myName\", then the name would be \"myName\".", - "type": "string" - }, - "producedBy": { - "$ref": "EnterpriseCrmEventbusProtoNodeIdentifier", - "description": "The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param." - }, - "producer": { - "type": "string" - }, - "protoDefName": { - "description": "The name of the protobuf type if the parameter has a protobuf data type.", - "type": "string" - }, - "protoDefPath": { - "description": "If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be \"enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry\".", - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmFrontendsEventbusProtoWorkflowParameters": { - "description": "LINT.IfChange This is the frontend version of WorkflowParameters. It's exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as \"children\" (see 'children' field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters.", - "id": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameters", - "properties": { - "parameters": { - "description": "Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnterpriseCrmLoggingGwsFieldLimits": { - "description": "Describes string and array limits when writing to logs. When a limit is exceeded the *shortener_type* describes how to shorten the field. next_id: 6", - "id": "EnterpriseCrmLoggingGwsFieldLimits", - "properties": { - "logAction": { - "enum": [ - "LOG_ACTION_UNSPECIFIED", - "DONT_LOG", - "LOG" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "logType": { - "description": "To which type(s) of logs the limits apply.", - "items": { - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "GWS", - "GTS", - "ALL" - ], - "enumDescriptions": [ - "", - "Limits apply when log detail records are written to GWS.", - "Limits apply when log detail records are written to GTS (e.g., RecordIO files).", - "Limits apply to *all* output log types." - ], - "type": "string" - }, - "type": "array" - }, - "maxArraySize": { - "description": "maximum array size. If the array exceds this size, the field (list) is truncated.", - "format": "int32", - "type": "integer" - }, - "maxStringLength": { - "description": "maximum string length. If the field exceeds this amount the field is shortened.", - "format": "int32", - "type": "integer" - }, - "shortenerType": { - "enum": [ - "SHORTENER_TYPE_UNSPECIFIED", - "SHORTEN", - "HASH", - "SHORTEN_WITH_HASH", - "SHORTEN_EMAIL", - "SHORTEN_EMAIL_WITH_HASH", - "SHORTEN_DOMAIN" - ], - "enumDescriptions": [ - "", - "String is shortened to max_string_length.", - "String is replaced by its hex-string hash.", - "String is replaced by a combination of string shortening and a hex-string hash.", - "String shortening for email addresses. Shortening may be done on the user and/or domain portion of the email address.", - "String is replaced by a combination of string shortening and a hex-string hash for an email address.", - "Shortens a domain name (e.g., as part of an email address or URL)." - ], - "type": "string" - } - }, - "type": "object" - }, - "EnterpriseCrmLoggingGwsSanitizeOptions": { - "description": "Identifies whether a field contains, or may contain, PII or sensitive data, and how to sanitize the field if it does. If a field's privacy type cannot be determined then it is sanitized (e.g., scrubbed). The specific sanitizer implementation is determined by run-time configuration and environment options (e.g., prod vs. qa). next_id: 5", - "id": "EnterpriseCrmLoggingGwsSanitizeOptions", - "properties": { - "isAlreadySanitized": { - "description": "If true, the value has already been sanitized and needs no further sanitization. For instance, a D3 customer id is already an obfuscated entity and *might not* need further sanitization.", - "type": "boolean" - }, - "logType": { - "description": "To which type(s) of logs the sanitize options apply.", - "items": { - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "GWS", - "GTS", - "ALL" - ], - "enumDescriptions": [ - "", - "Limits apply when log detail records are written to GWS.", - "Limits apply when log detail records are written to GTS (e.g., RecordIO files).", - "Limits apply to *all* output log types." - ], - "type": "string" - }, - "type": "array" - }, - "privacy": { - "enum": [ - "PRIVACY_TYPE_UNSPECIFIED", - "NOT_PII", - "PII", - "SPII", - "UNSURE" - ], - "enumDescriptions": [ - "", - "Field does *NOT* contain PII or sensitive data.", - "Field contains PII.", - "Field contains Sensitive PII.", - "Unsure if field contains PII." - ], - "type": "string" - }, - "sanitizeType": { - "enum": [ - "SANITIZE_TYPE_UNSPECIFIED", - "SCRUB", - "ANONYMIZE", - "ANONYMIZE_LIMITED_REPEATABLE", - "OBFUSCATE", - "ENCRYPT", - "DO_NOT_SANITIZE" - ], - "enumDescriptions": [ - "", - "Replace value with a scrubbed value (usu. a constant).", - "Transform a value so that it cannot be tracked across events. However, a given value, is transformed to the same value *within* an event. E.g., \"foo.com\" is transformed to \"0xabcdef\" for event 1001, and to \"0xfedcba\" for event 1002.", - "Transform values as with ANONYMIZER, but the same transformation is repeated for a limited time (e.g., 1 day).", - "The value is transformed using a well-defined obfuscator (e.g., D3_CUSTOMER_ID).", - "The value is encrypted.", - "No sanitization is required." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1AuthConfig": { - "description": "AuthConfig defines details of a authentication type.", - "id": "GoogleCloudConnectorsV1AuthConfig", - "properties": { - "additionalVariables": { - "description": "List containing additional auth configs.", - "items": { - "$ref": "GoogleCloudConnectorsV1ConfigVariable" - }, - "type": "array" - }, - "authKey": { - "description": "Identifier key for auth config", - "type": "string" - }, - "authType": { - "description": "The type of authentication configured.", - "enum": [ - "AUTH_TYPE_UNSPECIFIED", - "USER_PASSWORD", - "OAUTH2_JWT_BEARER", - "OAUTH2_CLIENT_CREDENTIALS", - "SSH_PUBLIC_KEY", - "OAUTH2_AUTH_CODE_FLOW", - "GOOGLE_AUTHENTICATION" - ], - "enumDescriptions": [ - "Authentication type not specified.", - "Username and Password Authentication.", - "JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication", - "Oauth 2.0 Client Credentials Grant Authentication", - "SSH Public Key Authentication", - "Oauth 2.0 Authorization Code Flow", - "Google authentication" - ], - "type": "string" - }, - "oauth2AuthCodeFlow": { - "$ref": "GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow", - "description": "Oauth2AuthCodeFlow." - }, - "oauth2ClientCredentials": { - "$ref": "GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials", - "description": "Oauth2ClientCredentials." - }, - "oauth2JwtBearer": { - "$ref": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer", - "description": "Oauth2JwtBearer." - }, - "sshPublicKey": { - "$ref": "GoogleCloudConnectorsV1AuthConfigSshPublicKey", - "description": "SSH Public Key." - }, - "userPassword": { - "$ref": "GoogleCloudConnectorsV1AuthConfigUserPassword", - "description": "UserPassword." - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow": { - "description": "Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.", - "id": "GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow", - "properties": { - "authCode": { - "description": "Authorization code to be exchanged for access and refresh tokens.", - "type": "string" - }, - "authUri": { - "description": "Auth URL for Authorization Code Flow", - "type": "string" - }, - "clientId": { - "description": "Client ID for user-provided OAuth app.", - "type": "string" - }, - "clientSecret": { - "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Client secret for user-provided OAuth app." - }, - "enablePkce": { - "description": "Whether to enable PKCE when the user performs the auth code flow.", - "type": "boolean" - }, - "pkceVerifier": { - "description": "PKCE verifier to be used during the auth code exchange.", - "type": "string" - }, - "redirectUri": { - "description": "Redirect URI to be provided during the auth code exchange.", - "type": "string" - }, - "scopes": { - "description": "Scopes the connection will request when the user performs the auth code flow.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials": { - "description": "Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.", - "id": "GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials", - "properties": { - "clientId": { - "description": "The client identifier.", - "type": "string" - }, - "clientSecret": { - "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Secret version reference containing the client secret." - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer": { - "description": "Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details.", - "id": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer", - "properties": { - "clientKey": { - "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`." - }, - "jwtClaims": { - "$ref": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims", - "description": "JwtClaims providers fields to generate the token." - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims": { - "description": "JWT claims used for the jwt-bearer authorization grant.", - "id": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims", - "properties": { - "audience": { - "description": "Value for the \"aud\" claim.", - "type": "string" - }, - "issuer": { - "description": "Value for the \"iss\" claim.", - "type": "string" - }, - "subject": { - "description": "Value for the \"sub\" claim.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1AuthConfigSshPublicKey": { - "description": "Parameters to support Ssh public key Authentication.", - "id": "GoogleCloudConnectorsV1AuthConfigSshPublicKey", - "properties": { - "certType": { - "description": "Format of SSH Client cert.", - "type": "string" - }, - "sshClientCert": { - "$ref": "GoogleCloudConnectorsV1Secret", - "description": "SSH Client Cert. It should contain both public and private key." - }, - "sshClientCertPass": { - "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Password (passphrase) for ssh client certificate if it has one." - }, - "username": { - "description": "The user account used to authenticate.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1AuthConfigUserPassword": { - "description": "Parameters to support Username and Password Authentication.", - "id": "GoogleCloudConnectorsV1AuthConfigUserPassword", - "properties": { - "password": { - "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Secret version reference containing the password." - }, - "username": { - "description": "Username.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1ConfigVariable": { - "description": "ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.", - "id": "GoogleCloudConnectorsV1ConfigVariable", - "properties": { - "boolValue": { - "description": "Value is a bool.", - "type": "boolean" - }, - "encryptionKeyValue": { - "$ref": "GoogleCloudConnectorsV1EncryptionKey", - "description": "Value is a Encryption Key." - }, - "intValue": { - "description": "Value is an integer", - "format": "int64", - "type": "string" - }, - "key": { - "description": "Key of the config variable.", - "type": "string" - }, - "secretValue": { - "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Value is a secret." - }, - "stringValue": { - "description": "Value is a string.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1Connection": { - "description": "Connection represents an instance of connector.", - "id": "GoogleCloudConnectorsV1Connection", - "properties": { - "authConfig": { - "$ref": "GoogleCloudConnectorsV1AuthConfig", - "description": "Optional. Configuration for establishing the connection's authentication with an external system." - }, - "configVariables": { - "description": "Optional. Configuration for configuring the connection with an external system.", - "items": { - "$ref": "GoogleCloudConnectorsV1ConfigVariable" - }, - "type": "array" - }, - "connectionRevision": { - "description": "Output only. Connection revision. This field is only updated when the connection is created or updated by User.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "connectorVersion": { - "description": "Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.", - "type": "string" - }, - "connectorVersionInfraConfig": { - "$ref": "GoogleCloudConnectorsV1ConnectorVersionInfraConfig", - "description": "Output only. Infra configs supported by Connector Version.", - "readOnly": true - }, - "connectorVersionLaunchStage": { - "description": "Output only. Flag to mark the version indicating the launch stage.", - "enum": [ - "LAUNCH_STAGE_UNSPECIFIED", - "PREVIEW", - "GA", - "DEPRECATED", - "PRIVATE_PREVIEW" - ], - "enumDescriptions": [ - "LAUNCH_STAGE_UNSPECIFIED.", - "PREVIEW.", - "GA.", - "DEPRECATED.", - "PRIVATE_PREVIEW." - ], - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. Created time.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "Optional. Description of the resource.", - "type": "string" - }, - "destinationConfigs": { - "description": "Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s).", - "items": { - "$ref": "GoogleCloudConnectorsV1DestinationConfig" - }, - "type": "array" - }, - "envoyImageLocation": { - "description": "Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}", - "readOnly": true, - "type": "string" - }, - "eventingConfig": { - "$ref": "GoogleCloudConnectorsV1EventingConfig", - "description": "Optional. Eventing config of a connection" - }, - "eventingEnablementType": { - "description": "Optional. Eventing enablement type. Will be nil if eventing is not enabled.", - "enum": [ - "EVENTING_ENABLEMENT_TYPE_UNSPECIFIED", - "EVENTING_AND_CONNECTION", - "ONLY_EVENTING" - ], - "enumDescriptions": [ - "Eventing Enablement Type Unspecifeied.", - "Both connection and eventing.", - "Only Eventing." - ], - "type": "string" - }, - "eventingRuntimeData": { - "$ref": "GoogleCloudConnectorsV1EventingRuntimeData", - "description": "Output only. Eventing Runtime Data.", - "readOnly": true - }, - "imageLocation": { - "description": "Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}", - "readOnly": true, - "type": "string" - }, - "isTrustedTester": { - "description": "Output only. Is trusted tester program enabled for the project.", - "readOnly": true, - "type": "boolean" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources", - "type": "object" - }, - "lockConfig": { - "$ref": "GoogleCloudConnectorsV1LockConfig", - "description": "Optional. Configuration that indicates whether or not the Connection can be edited." - }, - "logConfig": { - "$ref": "GoogleCloudConnectorsV1LogConfig", - "description": "Optional. Log configuration for the connection." - }, - "name": { - "description": "Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}", - "readOnly": true, - "type": "string" - }, - "nodeConfig": { - "$ref": "GoogleCloudConnectorsV1NodeConfig", - "description": "Optional. Node configuration for the connection." - }, - "serviceAccount": { - "description": "Optional. Service account needed for runtime plane to access Google Cloud resources.", - "type": "string" - }, - "serviceDirectory": { - "description": "Output only. The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. \"projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors\"", - "readOnly": true, - "type": "string" - }, - "sslConfig": { - "$ref": "GoogleCloudConnectorsV1SslConfig", - "description": "Optional. Ssl config of a connection" - }, - "status": { - "$ref": "GoogleCloudConnectorsV1ConnectionStatus", - "description": "Output only. Current status of the connection.", - "readOnly": true - }, - "subscriptionType": { - "description": "Output only. This subscription type enum states the subscription type of the project.", - "enum": [ - "SUBSCRIPTION_TYPE_UNSPECIFIED", - "PAY_G", - "PAID" - ], - "enumDescriptions": [ - "Unspecified subscription type.", - "PayG subscription.", - "Paid Subscription." - ], - "readOnly": true, - "type": "string" - }, - "suspended": { - "description": "Optional. Suspended indicates if a user has suspended a connection or not.", - "type": "boolean" - }, - "updateTime": { - "description": "Output only. Updated time.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1ConnectionStatus": { - "description": "ConnectionStatus indicates the state of the connection.", - "id": "GoogleCloudConnectorsV1ConnectionStatus", - "properties": { - "description": { - "description": "Description.", - "type": "string" - }, - "state": { - "description": "State.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "ACTIVE", - "INACTIVE", - "DELETING", - "UPDATING", - "ERROR", - "AUTHORIZATION_REQUIRED" - ], - "enumDescriptions": [ - "Connection does not have a state yet.", - "Connection is being created.", - "Connection is running and ready for requests.", - "Connection is stopped.", - "Connection is being deleted.", - "Connection is being updated.", - "Connection is not running due to an error.", - "Connection is not running because the authorization configuration is not complete." - ], - "type": "string" - }, - "status": { - "description": "Status provides detailed information for the state.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1ConnectorVersionInfraConfig": { - "description": "This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version", - "id": "GoogleCloudConnectorsV1ConnectorVersionInfraConfig", - "properties": { - "connectionRatelimitWindowSeconds": { - "description": "Output only. The window used for ratelimiting runtime requests to connections.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "deploymentModel": { - "description": "Optional. Indicates whether connector is deployed on GKE/CloudRun", - "enum": [ - "DEPLOYMENT_MODEL_UNSPECIFIED", - "GKE_MST", - "CLOUD_RUN_MST" - ], - "enumDescriptions": [ - "Deployment model is not specified.", - "Default model gke mst.", - "Cloud run mst." - ], - "type": "string" - }, - "hpaConfig": { - "$ref": "GoogleCloudConnectorsV1HPAConfig", - "description": "Output only. HPA autoscaling config.", - "readOnly": true - }, - "internalclientRatelimitThreshold": { - "description": "Output only. Max QPS supported for internal requests originating from Connd.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "ratelimitThreshold": { - "description": "Output only. Max QPS supported by the connector version before throttling of requests.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "resourceLimits": { - "$ref": "GoogleCloudConnectorsV1ResourceLimits", - "description": "Output only. System resource limits.", - "readOnly": true - }, - "resourceRequests": { - "$ref": "GoogleCloudConnectorsV1ResourceRequests", - "description": "Output only. System resource requests.", - "readOnly": true - }, - "sharedDeployment": { - "description": "Output only. The name of shared connector deployment.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1Destination": { - "id": "GoogleCloudConnectorsV1Destination", - "properties": { - "host": { - "description": "For publicly routable host.", - "type": "string" - }, - "port": { - "description": "The port is the target port number that is accepted by the destination.", - "format": "int32", - "type": "integer" - }, - "serviceAttachment": { - "deprecated": true, - "description": "PSC service attachments. Format: projects/*/regions/*/serviceAttachments/*", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1DestinationConfig": { - "description": "Define the Connectors target endpoint.", - "id": "GoogleCloudConnectorsV1DestinationConfig", - "properties": { - "destinations": { - "description": "The destinations for the key.", - "items": { - "$ref": "GoogleCloudConnectorsV1Destination" - }, - "type": "array" - }, - "key": { - "description": "The key is the destination identifier that is supported by the Connector.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1EncryptionKey": { - "description": "Encryption Key value.", - "id": "GoogleCloudConnectorsV1EncryptionKey", - "properties": { - "kmsKeyName": { - "description": "The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.", - "type": "string" - }, - "type": { - "description": "Type.", - "enum": [ - "TYPE_UNSPECIFIED", - "GOOGLE_MANAGED", - "CUSTOMER_MANAGED" - ], - "enumDescriptions": [ - "Value type is not specified.", - "Google Managed.", - "Customer Managed." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1EventingConfig": { - "description": "Eventing Configuration of a connection", - "id": "GoogleCloudConnectorsV1EventingConfig", - "properties": { - "additionalVariables": { - "description": "Additional eventing related field values", - "items": { - "$ref": "GoogleCloudConnectorsV1ConfigVariable" - }, - "type": "array" - }, - "authConfig": { - "$ref": "GoogleCloudConnectorsV1AuthConfig", - "description": "Auth details for the webhook adapter." - }, - "deadLetterConfig": { - "$ref": "GoogleCloudConnectorsV1EventingConfigDeadLetterConfig", - "description": "Optional. Dead letter configuration for eventing of a connection." - }, - "enrichmentEnabled": { - "description": "Enrichment Enabled.", - "type": "boolean" - }, - "eventsListenerIngressEndpoint": { - "description": "Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled.", - "type": "string" - }, - "listenerAuthConfig": { - "$ref": "GoogleCloudConnectorsV1AuthConfig", - "description": "Optional. Auth details for the event listener." - }, - "privateConnectivityEnabled": { - "description": "Optional. Private Connectivity Enabled.", - "type": "boolean" - }, - "proxyDestinationConfig": { - "$ref": "GoogleCloudConnectorsV1DestinationConfig", - "description": "Optional. Proxy for Eventing auto-registration." - }, - "registrationDestinationConfig": { - "$ref": "GoogleCloudConnectorsV1DestinationConfig", - "description": "Registration endpoint for auto registration." - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1EventingConfigDeadLetterConfig": { - "description": "Dead Letter configuration details provided by the user.", - "id": "GoogleCloudConnectorsV1EventingConfigDeadLetterConfig", - "properties": { - "projectId": { - "description": "Optional. Project which has the topic given.", - "type": "string" - }, - "topic": { - "description": "Optional. Topic to push events which couldn't be processed.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1EventingRuntimeData": { - "description": "Eventing runtime data has the details related to eventing managed by the system.", - "id": "GoogleCloudConnectorsV1EventingRuntimeData", - "properties": { - "eventsListenerEndpoint": { - "description": "Output only. Events listener endpoint. The value will populated after provisioning the events listener.", - "readOnly": true, - "type": "string" - }, - "eventsListenerPscSa": { - "description": "Output only. Events listener PSC Service attachment. The value will be populated after provisioning the events listener with private connectivity enabled.", - "readOnly": true, - "type": "string" - }, - "status": { - "$ref": "GoogleCloudConnectorsV1EventingStatus", - "description": "Output only. Current status of eventing.", - "readOnly": true - }, - "webhookData": { - "$ref": "GoogleCloudConnectorsV1EventingRuntimeDataWebhookData", - "description": "Output only. Webhook data.", - "readOnly": true - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1EventingRuntimeDataWebhookData": { - "description": "WebhookData has details of webhook configuration.", - "id": "GoogleCloudConnectorsV1EventingRuntimeDataWebhookData", - "properties": { - "additionalVariables": { - "description": "Output only. Additional webhook related field values.", - "items": { - "$ref": "GoogleCloudConnectorsV1ConfigVariable" - }, - "readOnly": true, - "type": "array" - }, - "createTime": { - "description": "Output only. Timestamp when the webhook was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "id": { - "description": "Output only. ID to uniquely identify webhook.", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. Name of the Webhook", - "readOnly": true, - "type": "string" - }, - "nextRefreshTime": { - "description": "Output only. Next webhook refresh time. Will be null if refresh is not supported.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. Timestamp when the webhook was last updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1EventingStatus": { - "description": "EventingStatus indicates the state of eventing.", - "id": "GoogleCloudConnectorsV1EventingStatus", - "properties": { - "description": { - "description": "Output only. Description of error if State is set to \"ERROR\".", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. State.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "ERROR", - "INGRESS_ENDPOINT_REQUIRED" - ], - "enumDescriptions": [ - "Default state.", - "Eventing is enabled and ready to receive events.", - "Eventing is not active due to an error.", - "Ingress endpoint required." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1HPAConfig": { - "description": "Autoscaling config for connector deployment system metrics.", - "id": "GoogleCloudConnectorsV1HPAConfig", - "properties": { - "cpuUtilizationThreshold": { - "description": "Output only. Percent CPU utilization where HPA triggers autoscaling.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "memoryUtilizationThreshold": { - "description": "Output only. Percent Memory utilization where HPA triggers autoscaling.", - "format": "int64", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1LockConfig": { - "description": "Determines whether or no a connection is locked. If locked, a reason must be specified.", - "id": "GoogleCloudConnectorsV1LockConfig", - "properties": { - "locked": { - "description": "Indicates whether or not the connection is locked.", - "type": "boolean" - }, - "reason": { - "description": "Describes why a connection is locked.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1LogConfig": { - "description": "Log configuration for the connection.", - "id": "GoogleCloudConnectorsV1LogConfig", - "properties": { - "enabled": { - "description": "Enabled represents whether logging is enabled or not for a connection.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1NodeConfig": { - "description": "Node configuration for the connection.", - "id": "GoogleCloudConnectorsV1NodeConfig", - "properties": { - "maxNodeCount": { - "description": "Maximum number of nodes in the runtime nodes.", - "format": "int32", - "type": "integer" - }, - "minNodeCount": { - "description": "Minimum number of nodes in the runtime nodes.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1ResourceLimits": { - "description": "Resource limits defined for connection pods of a given connector type.", - "id": "GoogleCloudConnectorsV1ResourceLimits", - "properties": { - "cpu": { - "description": "Output only. CPU limit.", - "readOnly": true, - "type": "string" - }, - "memory": { - "description": "Output only. Memory limit.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1ResourceRequests": { - "description": "Resource requests defined for connection pods of a given connector type.", - "id": "GoogleCloudConnectorsV1ResourceRequests", - "properties": { - "cpu": { - "description": "Output only. CPU request.", - "readOnly": true, - "type": "string" - }, - "memory": { - "description": "Output only. Memory request.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1Secret": { - "description": "Secret provides a reference to entries in Secret Manager.", - "id": "GoogleCloudConnectorsV1Secret", - "properties": { - "secretVersion": { - "description": "The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudConnectorsV1SslConfig": { - "description": "SSL Configuration of a connection", - "id": "GoogleCloudConnectorsV1SslConfig", - "properties": { - "additionalVariables": { - "description": "Additional SSL related field values", - "items": { - "$ref": "GoogleCloudConnectorsV1ConfigVariable" - }, - "type": "array" - }, - "clientCertType": { - "description": "Type of Client Cert (PEM/JKS/.. etc.)", - "enum": [ - "CERT_TYPE_UNSPECIFIED", - "PEM" - ], - "enumDescriptions": [ - "Cert type unspecified.", - "Privacy Enhanced Mail (PEM) Type" - ], - "type": "string" - }, - "clientCertificate": { - "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Client Certificate" - }, - "clientPrivateKey": { - "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Client Private Key" - }, - "clientPrivateKeyPass": { - "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Secret containing the passphrase protecting the Client Private Key" - }, - "privateServerCertificate": { - "$ref": "GoogleCloudConnectorsV1Secret", - "description": "Private Server Certificate. Needs to be specified if trust model is `PRIVATE`." - }, - "serverCertType": { - "description": "Type of Server Cert (PEM/JKS/.. etc.)", - "enum": [ - "CERT_TYPE_UNSPECIFIED", - "PEM" - ], - "enumDescriptions": [ - "Cert type unspecified.", - "Privacy Enhanced Mail (PEM) Type" - ], - "type": "string" - }, - "trustModel": { - "description": "Trust Model of the SSL connection", - "enum": [ - "PUBLIC", - "PRIVATE", - "INSECURE" - ], - "enumDescriptions": [ - "Public Trust Model. Takes the Default Java trust store.", - "Private Trust Model. Takes custom/private trust store.", - "Insecure Trust Model. Accept all certificates." - ], - "type": "string" - }, - "type": { - "description": "Controls the ssl type for the given connector version.", - "enum": [ - "SSL_TYPE_UNSPECIFIED", - "TLS", - "MTLS" - ], - "enumDescriptions": [ - "No SSL configuration required.", - "TLS Handshake", - "mutual TLS (MTLS) Handshake" - ], - "type": "string" - }, - "useSsl": { - "description": "Bool for enabling SSL", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaAccessToken": { - "description": "The access token represents the authorization of a specific application to access specific parts of a user’s data.", - "id": "GoogleCloudIntegrationsV1alphaAccessToken", - "properties": { - "accessToken": { - "description": "The access token encapsulating the security identity of a process or thread.", - "type": "string" - }, - "accessTokenExpireTime": { - "description": "Required. The approximate time until the access token retrieved is valid.", - "format": "google-datetime", - "type": "string" - }, - "refreshToken": { - "description": "If the access token will expire, use the refresh token to obtain another access token.", - "type": "string" - }, - "refreshTokenExpireTime": { - "description": "The approximate time until the refresh token retrieved is valid.", - "format": "google-datetime", - "type": "string" - }, - "tokenType": { - "description": "Only support \"bearer\" token in v1 as bearer token is the predominant type used with OAuth 2.0.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaAttemptStats": { - "description": "Status for the execution attempt.", - "id": "GoogleCloudIntegrationsV1alphaAttemptStats", - "properties": { - "endTime": { - "description": "The end time of the integration execution for current attempt.", - "format": "google-datetime", - "type": "string" - }, - "startTime": { - "description": "The start time of the integration execution for current attempt. This could be in the future if it's been scheduled.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaAuthConfig": { - "description": "The AuthConfig resource use to hold channels and connection config data.", - "id": "GoogleCloudIntegrationsV1alphaAuthConfig", - "properties": { - "certificateId": { - "description": "Certificate id for client certificate", - "type": "string" - }, - "createTime": { - "description": "Output only. The timestamp when the auth config is created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "creatorEmail": { - "description": "The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", - "type": "string" - }, - "credentialType": { - "description": "Credential type of the encrypted credential.", - "enum": [ - "CREDENTIAL_TYPE_UNSPECIFIED", - "USERNAME_AND_PASSWORD", - "API_KEY", - "OAUTH2_AUTHORIZATION_CODE", - "OAUTH2_IMPLICIT", - "OAUTH2_CLIENT_CREDENTIALS", - "OAUTH2_RESOURCE_OWNER_CREDENTIALS", - "JWT", - "AUTH_TOKEN", - "SERVICE_ACCOUNT", - "CLIENT_CERTIFICATE_ONLY", - "OIDC_TOKEN" - ], - "enumDescriptions": [ - "Unspecified credential type", - "Regular username/password pair.", - "API key.", - "OAuth 2.0 Authorization Code Grant Type.", - "OAuth 2.0 Implicit Grant Type.", - "OAuth 2.0 Client Credentials Grant Type.", - "OAuth 2.0 Resource Owner Credentials Grant Type.", - "JWT Token.", - "Auth Token, e.g. bearer token.", - "Service Account which can be used to generate token for authentication.", - "Client Certificate only.", - "Google OIDC ID Token" - ], - "type": "string" - }, - "decryptedCredential": { - "$ref": "GoogleCloudIntegrationsV1alphaCredential", - "description": "Raw auth credentials." - }, - "description": { - "description": "A description of the auth config.", - "type": "string" - }, - "displayName": { - "description": "Required. The name of the auth config.", - "type": "string" - }, - "encryptedCredential": { - "description": "Auth credential encrypted by Cloud KMS. Can be decrypted as Credential with proper KMS key.", - "format": "byte", - "type": "string" - }, - "expiryNotificationDuration": { - "description": "User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours.", - "items": { - "format": "google-duration", - "type": "string" - }, - "type": "array" - }, - "lastModifierEmail": { - "description": "The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", - "type": "string" - }, - "name": { - "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/authConfigs/{authConfig}.", - "type": "string" - }, - "overrideValidTime": { - "description": "User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings.", - "format": "google-datetime", - "type": "string" - }, - "reason": { - "description": "The reason / details of the current status.", - "type": "string" - }, - "state": { - "description": "The status of the auth config.", - "enum": [ - "STATE_UNSPECIFIED", - "VALID", - "INVALID", - "SOFT_DELETED", - "EXPIRED", - "UNAUTHORIZED", - "UNSUPPORTED" - ], - "enumDescriptions": [ - "Status not specified.", - "Valid Auth config.", - "General invalidity, if it doesn't fits in the detailed issue below.", - "Auth config soft deleted.", - "Auth config expired.", - "Auth config unauthorized.", - "Auth config not supported." - ], - "type": "string" - }, - "updateTime": { - "description": "Output only. The timestamp when the auth config is modified.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "validTime": { - "description": "The time until the auth config is valid. Empty or max value is considered the auth config won't expire.", - "format": "google-datetime", - "type": "string" - }, - "visibility": { - "description": "The visibility of the auth config.", - "enum": [ - "AUTH_CONFIG_VISIBILITY_UNSPECIFIED", - "PRIVATE", - "CLIENT_VISIBLE" - ], - "enumDescriptions": [ - "Visibility not specified.", - "Profile visible to the creator only.", - "Profile visible within the client." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaAuthToken": { - "description": "The credentials to authenticate a user agent with a server that is put in HTTP Authorization request header.", - "id": "GoogleCloudIntegrationsV1alphaAuthToken", - "properties": { - "token": { - "description": "The token for the auth type.", - "type": "string" - }, - "type": { - "description": "Authentication type, e.g. \"Basic\", \"Bearer\", etc.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaBooleanParameterArray": { - "description": "This message only contains a field of boolean array.", - "id": "GoogleCloudIntegrationsV1alphaBooleanParameterArray", - "properties": { - "booleanValues": { - "description": "Boolean array.", - "items": { - "type": "boolean" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaCancelExecutionRequest": { - "description": "Request for cancelling an execution.", - "id": "GoogleCloudIntegrationsV1alphaCancelExecutionRequest", - "properties": {}, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaCancelExecutionResponse": { - "description": "Response for cancelling an execution.", - "id": "GoogleCloudIntegrationsV1alphaCancelExecutionResponse", - "properties": { - "isCanceled": { - "description": "True if cancellation performed successfully", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaCertificate": { - "description": "The certificate definition", - "id": "GoogleCloudIntegrationsV1alphaCertificate", - "properties": { - "certificateStatus": { - "description": "Status of the certificate", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "EXPIRED" - ], - "enumDescriptions": [ - "Unspecified certificate status", - "Certificate in active state will be able to use", - "Certificate in expired state needs to be updated" - ], - "type": "string" - }, - "credentialId": { - "description": "Immutable. Credential id that will be used to register with trawler INTERNAL_ONLY", - "type": "string" - }, - "description": { - "description": "Description of the certificate", - "type": "string" - }, - "displayName": { - "description": "Required. Name of the certificate", - "type": "string" - }, - "name": { - "description": "Output only. Auto generated primary key", - "readOnly": true, - "type": "string" - }, - "rawCertificate": { - "$ref": "GoogleCloudIntegrationsV1alphaClientCertificate", - "description": "Input only. Raw client certificate which would be registered with trawler" - }, - "requestorId": { - "description": "Immutable. Requestor ID to be used to register certificate with trawler", - "type": "string" - }, - "validEndTime": { - "description": "Output only. The timestamp after which certificate will expire", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "validStartTime": { - "description": "Output only. The timestamp after which certificate will be valid", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaClientCertificate": { - "description": "Contains client certificate information", - "id": "GoogleCloudIntegrationsV1alphaClientCertificate", - "properties": { - "encryptedPrivateKey": { - "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", - "type": "string" - }, - "passphrase": { - "description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", - "type": "string" - }, - "sslCertificate": { - "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaCloudLoggingDetails": { - "description": "Cloud Logging details for execution info", - "id": "GoogleCloudIntegrationsV1alphaCloudLoggingDetails", - "properties": { - "cloudLoggingSeverity": { - "description": "Optional. Severity selected by the customer for the logs to be sent to Cloud Logging, for the integration version getting executed.", - "enum": [ - "CLOUD_LOGGING_SEVERITY_UNSPECIFIED", - "INFO", - "ERROR", - "WARNING" - ], - "enumDescriptions": [ - "Unspecified", - "If Severity selected is `INFO`, then all the Integration Execution States (`IN_PROCESS`, `ON_HOLD`, `SUCCEEDED`, `SUSPENDED`, `ERROR`, `CANCELLED`) will be sent to Cloud Logging.", - "If Severity selected is `ERROR`, then only the following Integration Execution States (`ERROR`, `CANCELLED`) will be sent to Cloud Logging.", - "If Severity selected is `WARNING`, then only the following Integration Execution States (`ERROR`, `CANCELLED`) will be sent to Cloud Logging." - ], - "type": "string" - }, - "enableCloudLogging": { - "description": "Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaCloudSchedulerConfig": { - "description": "Cloud Scheduler Trigger configuration", - "id": "GoogleCloudIntegrationsV1alphaCloudSchedulerConfig", - "properties": { - "cronTab": { - "description": "Required. The cron tab of cloud scheduler trigger.", - "type": "string" - }, - "errorMessage": { - "description": "Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations", - "type": "string" - }, - "location": { - "description": "Required. The location where associated cloud scheduler job will be created", - "type": "string" - }, - "serviceAccountEmail": { - "description": "Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata": { - "description": "Metadata of runtime connection schema.", - "id": "GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata", - "properties": { - "actions": { - "description": "List of actions.", - "items": { - "type": "string" - }, - "type": "array" - }, - "entities": { - "description": "List of entity names.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaCoordinate": { - "description": "Configuration detail of coordinate, it used for UI", - "id": "GoogleCloudIntegrationsV1alphaCoordinate", - "properties": { - "x": { - "description": "Required. X axis of the coordinate", - "format": "int32", - "type": "integer" - }, - "y": { - "description": "Required. Y axis of the coordinate", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest": { - "description": "Request for CreateAppsScriptProject rpc call.", - "id": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest", - "properties": { - "appsScriptProject": { - "description": "The name of the Apps Script project to be created.", - "type": "string" - }, - "authConfigId": { - "description": "The auth config id necessary to fetch the necessary credentials to create the project for external clients", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse": { - "description": "Response for CreateAppsScriptProject rpc call.", - "id": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse", - "properties": { - "projectId": { - "description": "The created AppsScriptProject ID.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaCredential": { - "description": "Defines parameters for a single, canonical credential.", - "id": "GoogleCloudIntegrationsV1alphaCredential", - "properties": { - "authToken": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthToken", - "description": "Auth token credential" - }, - "credentialType": { - "description": "Credential type associated with auth config.", - "enum": [ - "CREDENTIAL_TYPE_UNSPECIFIED", - "USERNAME_AND_PASSWORD", - "API_KEY", - "OAUTH2_AUTHORIZATION_CODE", - "OAUTH2_IMPLICIT", - "OAUTH2_CLIENT_CREDENTIALS", - "OAUTH2_RESOURCE_OWNER_CREDENTIALS", - "JWT", - "AUTH_TOKEN", - "SERVICE_ACCOUNT", - "CLIENT_CERTIFICATE_ONLY", - "OIDC_TOKEN" - ], - "enumDescriptions": [ - "Unspecified credential type", - "Regular username/password pair.", - "API key.", - "OAuth 2.0 Authorization Code Grant Type.", - "OAuth 2.0 Implicit Grant Type.", - "OAuth 2.0 Client Credentials Grant Type.", - "OAuth 2.0 Resource Owner Credentials Grant Type.", - "JWT Token.", - "Auth Token, e.g. bearer token.", - "Service Account which can be used to generate token for authentication.", - "Client Certificate only.", - "Google OIDC ID Token" - ], - "type": "string" - }, - "jwt": { - "$ref": "GoogleCloudIntegrationsV1alphaJwt", - "description": "JWT credential" - }, - "oauth2AuthorizationCode": { - "$ref": "GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode", - "description": "The api_key and oauth2_implicit are not covered in v1 and will be picked up once v1 is implemented. ApiKey api_key = 3; OAuth2 authorization code credential" - }, - "oauth2ClientCredentials": { - "$ref": "GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials", - "description": "OAuth2Implicit oauth2_implicit = 5; OAuth2 client credentials" - }, - "oauth2ResourceOwnerCredentials": { - "$ref": "GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials", - "description": "OAuth2 resource owner credentials" - }, - "oidcToken": { - "$ref": "GoogleCloudIntegrationsV1alphaOidcToken", - "description": "Google OIDC ID Token" - }, - "serviceAccountCredentials": { - "$ref": "GoogleCloudIntegrationsV1alphaServiceAccountCredentials", - "description": "Service account credential" - }, - "usernameAndPassword": { - "$ref": "GoogleCloudIntegrationsV1alphaUsernameAndPassword", - "description": "Username and password credential" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaDoubleParameterArray": { - "description": "This message only contains a field of double number array.", - "id": "GoogleCloudIntegrationsV1alphaDoubleParameterArray", - "properties": { - "doubleValues": { - "description": "Double number array.", - "items": { - "format": "double", - "type": "number" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse": { - "description": "Response for DownloadIntegrationVersion.", - "id": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse", - "properties": { - "content": { - "description": "String representation of the requested file.", - "type": "string" - }, - "files": { - "description": "List containing String represendation for multiple file with type.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaSerializedFile" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse": { - "description": "Response containing all provisioned regions for Connector Platform.", - "id": "GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse", - "properties": { - "regions": { - "description": "All regions where Connector Platform is provisioned.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaErrorCatcherConfig": { - "description": "Configuration detail of a error catch task", - "id": "GoogleCloudIntegrationsV1alphaErrorCatcherConfig", - "properties": { - "description": { - "description": "Optional. User-provided description intended to give more business context about the error catcher config.", - "type": "string" - }, - "errorCatcherId": { - "description": "Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow", - "type": "string" - }, - "errorCatcherNumber": { - "description": "Required. A number to uniquely identify each error catcher config within the workflow on UI.", - "type": "string" - }, - "label": { - "description": "Optional. The user created label for a particular error catcher. Optional.", - "type": "string" - }, - "position": { - "$ref": "GoogleCloudIntegrationsV1alphaCoordinate", - "description": "Optional. Informs the front-end application where to draw this error catcher config on the UI." - }, - "startErrorTasks": { - "description": "Required. The set of start tasks that are to be executed for the error catch flow", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaNextTask" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaEventParameter": { - "description": "This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4", - "id": "GoogleCloudIntegrationsV1alphaEventParameter", - "properties": { - "key": { - "description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.", - "type": "string" - }, - "masked": { - "description": "True if this parameter should be masked in the logs", - "type": "boolean" - }, - "value": { - "$ref": "GoogleCloudIntegrationsV1alphaValueType", - "description": "Values for the defined keys. Each value can either be string, int, double or any proto message." - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaExecuteEventResponse": { - "description": "The response for executing an integration.", - "id": "GoogleCloudIntegrationsV1alphaExecuteEventResponse", - "properties": { - "executionId": { - "description": "The id of the execution corresponding to this run of integration.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest": { - "description": "The request for executing an integration.", - "id": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest", - "properties": { - "doNotPropagateError": { - "description": "Optional. Flag to determine how to should propagate errors. If this flag is set to be true, it will not throw an exception. Instead, it will return a {@link ExecuteIntegrationsResponse} with an execution id and error messages as PostWithTriggerIdExecutionException in {@link EventParameters}. The flag is set to be false by default.", - "type": "boolean" - }, - "executionId": { - "deprecated": true, - "description": "Optional. The id of the ON_HOLD execution to be resumed.", - "type": "string" - }, - "inputParameters": { - "additionalProperties": { - "$ref": "GoogleCloudIntegrationsV1alphaValueType" - }, - "description": "Optional. Input parameters used by integration execution.", - "type": "object" - }, - "parameterEntries": { - "deprecated": true, - "description": "Optional. Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" - }, - "type": "array" - }, - "parameters": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", - "deprecated": true, - "description": "Optional. Passed in as parameters to each integration execution. Redacted" - }, - "requestId": { - "description": "Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned.", - "type": "string" - }, - "triggerId": { - "description": "Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id). The trigger_id is in the format of `api_trigger/TRIGGER_NAME`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse": { - "description": "The response for executing an integration.", - "id": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse", - "properties": { - "eventParameters": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", - "deprecated": true, - "description": "Details for the integration that were executed." - }, - "executionFailed": { - "deprecated": true, - "description": "Is true if any execution in the integration failed. False otherwise.", - "type": "boolean" - }, - "executionId": { - "description": "The id of the execution corresponding to this run of integration.", - "type": "string" - }, - "outputParameters": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "OUTPUT parameters in format of Map. Where Key is the name of the parameter. Note: Name of the system generated parameters are wrapped by backtick(`) to distinguish them from the user defined parameters.", - "type": "object" - }, - "parameterEntries": { - "deprecated": true, - "description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaExecution": { - "description": "The Execution resource contains detailed information of an individual integration execution.", - "id": "GoogleCloudIntegrationsV1alphaExecution", - "properties": { - "cloudLoggingDetails": { - "$ref": "GoogleCloudIntegrationsV1alphaCloudLoggingDetails", - "description": "Cloud Logging details for the integration version" - }, - "createTime": { - "description": "Output only. Created time of the execution.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "directSubExecutions": { - "description": "Direct sub executions of the following Execution.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaExecution" - }, - "type": "array" - }, - "eventExecutionDetails": { - "$ref": "EnterpriseCrmEventbusProtoEventExecutionDetails", - "deprecated": true, - "description": "The execution info about this event." - }, - "executionDetails": { - "$ref": "GoogleCloudIntegrationsV1alphaExecutionDetails", - "description": "Detailed info of this execution." - }, - "executionMethod": { - "description": "The ways user posts this event.", - "enum": [ - "EXECUTION_METHOD_UNSPECIFIED", - "POST", - "POST_TO_QUEUE", - "SCHEDULE" - ], - "enumDescriptions": [ - "Default value.", - "Sync post.", - "Async post.", - "Async post with schedule time." - ], - "type": "string" - }, - "integrationVersionState": { - "description": "Output only. State of the integration version", - "enum": [ - "INTEGRATION_STATE_UNSPECIFIED", - "DRAFT", - "ACTIVE", - "ARCHIVED", - "SNAPSHOT" - ], - "enumDescriptions": [ - "Default.", - "Draft.", - "Active.", - "Archived.", - "Snapshot." - ], - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Auto-generated primary key.", - "type": "string" - }, - "requestParameters": { - "additionalProperties": { - "$ref": "GoogleCloudIntegrationsV1alphaValueType" - }, - "description": "Event parameters come in as part of the request.", - "type": "object" - }, - "requestParams": { - "deprecated": true, - "description": "Event parameters come in as part of the request.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" - }, - "type": "array" - }, - "responseParameters": { - "additionalProperties": { - "$ref": "GoogleCloudIntegrationsV1alphaValueType" - }, - "description": "Event parameters returned as part of the response.", - "type": "object" - }, - "responseParams": { - "deprecated": true, - "description": "Event parameters come out as part of the response.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" - }, - "type": "array" - }, - "snapshotNumber": { - "description": "Output only. An increasing sequence that is set when a new snapshot is created", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "triggerId": { - "description": "The trigger id of the integration trigger config. If both trigger_id and client_id is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.", - "type": "string" - }, - "updateTime": { - "description": "Output only. Last modified time of the execution.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaExecutionDetails": { - "description": "Contains the details of the execution info: this includes the tasks execution details plus the event execution statistics.", - "id": "GoogleCloudIntegrationsV1alphaExecutionDetails", - "properties": { - "attemptStats": { - "description": "List of Start and end time of the execution attempts.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaAttemptStats" - }, - "type": "array" - }, - "eventExecutionSnapshotsSize": { - "description": "Total size of all event_execution_snapshots for an execution", - "format": "int64", - "type": "string" - }, - "executionSnapshots": { - "description": "List of snapshots taken during the execution.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaExecutionSnapshot" - }, - "type": "array" - }, - "state": { - "description": "Status of the execution.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "PROCESSING", - "SUCCEEDED", - "FAILED", - "CANCELLED", - "RETRY_ON_HOLD", - "SUSPENDED" - ], - "enumDescriptions": [ - "Default.", - "Execution is scheduled and awaiting to be triggered.", - "Execution is processing.", - "Execution successfully finished. There's no more change after this state.", - "Execution failed. There's no more change after this state.", - "Execution canceled by user. There's no more change after this state.", - "Execution failed and waiting for retry.", - "Execution suspended and waiting for manual intervention." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaExecutionSnapshot": { - "description": "Contains the snapshot of the execution for a given checkpoint.", - "id": "GoogleCloudIntegrationsV1alphaExecutionSnapshot", - "properties": { - "checkpointTaskNumber": { - "description": "Indicates \"after which checkpoint task's execution\" this snapshot is taken.", - "type": "string" - }, - "executionSnapshotMetadata": { - "$ref": "GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata", - "description": "Metadata of the execution snapshot." - }, - "params": { - "additionalProperties": { - "$ref": "GoogleCloudIntegrationsV1alphaValueType" - }, - "description": "Parameters used during the execution.", - "type": "object" - }, - "taskExecutionDetails": { - "description": "All of the task execution details at the given point of time.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaTaskExecutionDetails" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata": { - "description": "Metadata of the execution snapshot.", - "id": "GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata", - "properties": { - "ancestorIterationNumbers": { - "description": "Ancestor iteration number for the task(it will only be non-empty if the task is under 'private workflow')", - "items": { - "type": "string" - }, - "type": "array" - }, - "ancestorTaskNumbers": { - "description": "Ancestor task number for the task(it will only be non-empty if the task is under 'private workflow')", - "items": { - "type": "string" - }, - "type": "array" - }, - "executionAttempt": { - "description": "the execution attempt number this snapshot belongs to.", - "format": "int32", - "type": "integer" - }, - "integrationName": { - "description": "The direct integration which the event execution snapshots belongs to", - "type": "string" - }, - "task": { - "description": "the task name associated with this snapshot.", - "type": "string" - }, - "taskAttempt": { - "description": "the task attempt number this snapshot belongs to.", - "format": "int32", - "type": "integer" - }, - "taskLabel": { - "description": "the task label associated with this snapshot. Could be empty.", - "type": "string" - }, - "taskNumber": { - "description": "The task number associated with this snapshot.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaFailurePolicy": { - "description": "Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).", - "id": "GoogleCloudIntegrationsV1alphaFailurePolicy", - "properties": { - "intervalTime": { - "description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.", - "format": "google-datetime", - "type": "string" - }, - "maxRetries": { - "description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.", - "format": "int32", - "type": "integer" - }, - "retryStrategy": { - "description": "Defines what happens to the task upon failure.", - "enum": [ - "RETRY_STRATEGY_UNSPECIFIED", - "IGNORE", - "NONE", - "FATAL", - "FIXED_INTERVAL", - "LINEAR_BACKOFF", - "EXPONENTIAL_BACKOFF", - "RESTART_INTEGRATION_WITH_BACKOFF" - ], - "enumDescriptions": [ - "UNSPECIFIED.", - "Ignores the failure of this task. The rest of the integration will be executed Assuming this task succeeded.", - "Causes a permanent failure of the task. However, if the last task(s) of event was successfully completed despite the failure of this task, it has no impact on the integration.", - "Causes a permanent failure of the event. It is different from NONE because this will mark the event as FAILED by shutting down the event execution.", - "The task will be retried from the failed task onwards after a fixed delay. A max-retry count is required to be specified with this strategy. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. max_retries and interval_in_seconds must be specified.", - "The task will be retried from the failed task onwards after a fixed delay that linearly increases with each retry attempt. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. max_retries and interval_in_seconds must be specified.", - "The task will be retried after an exponentially increasing period of time with each failure. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. `max_retries` and `interval_in_seconds` must be specified.", - "The entire integration will be restarted with the initial parameters that were set when the event was fired. A max-retry count is required to be specified with this strategy. `max_retries` and `interval_in_seconds` must be specified." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaGenerateTokenResponse": { - "description": "Returns success or error message", - "id": "GoogleCloudIntegrationsV1alphaGenerateTokenResponse", - "properties": { - "message": { - "description": "The message that notifies the user if the request succeeded or not.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaIntParameterArray": { - "description": "This message only contains a field of integer array.", - "id": "GoogleCloudIntegrationsV1alphaIntParameterArray", - "properties": { - "intValues": { - "description": "Integer array.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaIntegration": { - "description": "The integration definition.", - "id": "GoogleCloudIntegrationsV1alphaIntegration", - "properties": { - "active": { - "description": "Required. If any integration version is published.", - "type": "boolean" - }, - "description": { - "description": "Optional.", - "type": "string" - }, - "name": { - "description": "Required. The resource name of the integration.", - "type": "string" - }, - "updateTime": { - "description": "Output only. Auto-generated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaIntegrationAlertConfig": { - "description": "Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.", - "id": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfig", - "properties": { - "aggregationPeriod": { - "description": "The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.", - "type": "string" - }, - "alertThreshold": { - "description": "For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.", - "format": "int32", - "type": "integer" - }, - "disableAlert": { - "description": "Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.", - "type": "boolean" - }, - "displayName": { - "description": "Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.", - "type": "string" - }, - "durationThreshold": { - "description": "Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.", - "format": "google-duration", - "type": "string" - }, - "metricType": { - "description": "The type of metric.", - "enum": [ - "METRIC_TYPE_UNSPECIFIED", - "EVENT_ERROR_RATE", - "EVENT_WARNING_RATE", - "TASK_ERROR_RATE", - "TASK_WARNING_RATE", - "TASK_RATE", - "EVENT_RATE", - "EVENT_AVERAGE_DURATION", - "EVENT_PERCENTILE_DURATION", - "TASK_AVERAGE_DURATION", - "TASK_PERCENTILE_DURATION" - ], - "enumDescriptions": [ - "The default value. Metric type should always be set to one of the other non-default values, otherwise it will result in an INVALID_ARGUMENT error.", - "Specifies alerting on the rate of errors for the enclosing integration.", - "Specifies alerting on the rate of warnings for the enclosing integration. Warnings use the same enum values as errors.", - "Specifies alerting on the rate of errors for any task in the enclosing integration.", - "Specifies alerting on the rate of warnings for any task in the enclosing integration.", - "Specifies alerting on the rate of executions over all tasks in the enclosing integration.", - "Specifies alerting on the number of events executed in the given aggregation_period.", - "Specifies alerting on the average duration of executions for this integration.", - "Specifies alerting on the duration value of a particular percentile of integration executions. E.g. If 10% or more of the integration executions have durations above 5 seconds, alert.", - "Specifies alerting on the average duration of any task in the enclosing integration,", - "Specifies alerting on the duration value of a particular percentile of any task executions within the enclosing integration. E.g. If 10% or more of the task executions in the integration have durations above 5 seconds, alert." - ], - "type": "string" - }, - "onlyFinalAttempt": { - "description": "For either events or tasks, depending on the type of alert, count only final attempts, not retries.", - "type": "boolean" - }, - "thresholdType": { - "description": "The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.", - "enum": [ - "THRESHOLD_TYPE_UNSPECIFIED", - "EXPECTED_MIN", - "EXPECTED_MAX" - ], - "enumDescriptions": [ - "Default.", - "Note that this field will only trigger alerts if the integration specifying it runs at least once in 24 hours (which is our in-memory retention period for monarch streams). Also note that `aggregation_period` for this alert configuration must be less than 24 hours. Min value threshold.", - "Max value threshold." - ], - "type": "string" - }, - "thresholdValue": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue", - "description": "The metric value, above or below which the alert should be triggered." - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue": { - "description": "The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig.", - "id": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue", - "properties": { - "absolute": { - "description": "Absolute value threshold.", - "format": "int64", - "type": "string" - }, - "percentage": { - "description": "Percentage threshold.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaIntegrationConfigParameter": { - "description": "Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.", - "id": "GoogleCloudIntegrationsV1alphaIntegrationConfigParameter", - "properties": { - "parameter": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationParameter", - "description": "Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables." - }, - "value": { - "$ref": "GoogleCloudIntegrationsV1alphaValueType", - "description": "Values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaIntegrationParameter": { - "description": "Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition.", - "id": "GoogleCloudIntegrationsV1alphaIntegrationParameter", - "properties": { - "containsLargeData": { - "description": "Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.", - "type": "boolean" - }, - "dataType": { - "description": "Type of the parameter.", - "enum": [ - "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", - "STRING_VALUE", - "INT_VALUE", - "DOUBLE_VALUE", - "BOOLEAN_VALUE", - "STRING_ARRAY", - "INT_ARRAY", - "DOUBLE_ARRAY", - "BOOLEAN_ARRAY", - "JSON_VALUE", - "PROTO_VALUE", - "PROTO_ARRAY" - ], - "enumDescriptions": [ - "Unspecified.", - "String.", - "Integer.", - "Double Number.", - "Boolean.", - "String Array.", - "Integer Array.", - "Double Number Array.", - "Boolean Array.", - "Json.", - "Proto Value (Internal use only).", - "Proto Array (Internal use only)." - ], - "type": "string" - }, - "defaultValue": { - "$ref": "GoogleCloudIntegrationsV1alphaValueType", - "description": "Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." - }, - "displayName": { - "description": "The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is \"foo.bar.myName\", then the name would be \"myName\".", - "type": "string" - }, - "inputOutputType": { - "description": "Specifies the input/output type for the parameter.", - "enum": [ - "IN_OUT_TYPE_UNSPECIFIED", - "IN", - "OUT", - "IN_OUT" - ], - "enumDescriptions": [ - "Default.", - "Input parameters for the integration. EventBus validates that these parameters exist in the integrations before execution.", - "Output Parameters for the integration. EventBus will only return the integration parameters tagged with OUT in the response back.", - "Input and Output Parameters. These can be used as both input and output. EventBus will validate for the existence of these parameters before execution and will also return this parameter back in the response." - ], - "type": "string" - }, - "isTransient": { - "description": "Whether this parameter is a transient parameter.", - "type": "boolean" - }, - "jsonSchema": { - "description": "This schema will be used to validate runtime JSON-typed values of this parameter.", - "type": "string" - }, - "key": { - "description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.", - "type": "string" - }, - "masked": { - "description": "True if this parameter should be masked in the logs", - "type": "boolean" - }, - "producer": { - "description": "The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.", - "type": "string" - }, - "searchable": { - "description": "Searchable in the execution log or not.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion": { - "description": "IntegrationTemplateVersion definition. An IntegrationTemplateVersion provides configurations required to construct an IntegrationVersion. It cannot be executed directly like an Integration. Users can create IntegrationTemplateVersions using Integrations. These Templates can be shared by users across GCP projects. Next available: 17", - "id": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion", - "properties": { - "createTime": { - "description": "Output only. Auto-generated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "databasePersistencePolicy": { - "description": "Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.", - "enum": [ - "DATABASE_PERSISTENCE_POLICY_UNSPECIFIED", - "DATABASE_PERSISTENCE_DISABLED", - "DATABASE_PERSISTENCE_ASYNC" - ], - "enumDescriptions": [ - "Enables persistence for all execution data.", - "Disables persistence for all execution data.", - "Asynchronously persist all execution data." - ], - "type": "string" - }, - "description": { - "description": "Optional. The templateversion description. Permitted format is alphanumeric with underscores and no spaces.", - "type": "string" - }, - "enableVariableMasking": { - "description": "Optional. True if variable masking feature should be turned on for generated workflows", - "type": "boolean" - }, - "errorCatcherConfigs": { - "description": "Optional. Error Catch Task configuration for the IntegrationTemplateVersion. It's optional.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaErrorCatcherConfig" - }, - "type": "array" - }, - "lastModifierEmail": { - "description": "Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", - "type": "string" - }, - "name": { - "description": "Output only. Auto-generated primary key. Format: projects/{project}/locations/{location}/products/{product}/integrationtemplates/{integrationtemplate}/versions/{version}", - "readOnly": true, - "type": "string" - }, - "parentIntegrationVersionId": { - "description": "Optional. ID of the IntegrationVersion that was used to create this IntegrationTemplateVersion", - "type": "string" - }, - "snapshotNumber": { - "description": "Output only. An increasing sequence that is set when a new snapshot is created.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "status": { - "description": "Optional. Generated by eventbus. User should not set it as an input.", - "enum": [ - "UNKNOWN", - "DRAFT", - "ACTIVE", - "ARCHIVED", - "SNAPSHOT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "taskConfigs": { - "description": "Optional. Task configuration for the IntegrationTemplateVersion. It's optional, but the IntegrationTemplateVersion doesn't do anything without task_configs.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoTaskConfig" - }, - "type": "array" - }, - "teardown": { - "$ref": "EnterpriseCrmEventbusProtoTeardown", - "description": "Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to \"finally\" in code." - }, - "templateParameters": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameters", - "description": "Optional. Parameters that are expected to be passed to the IntegrationTemplateVersion when an event is triggered. This consists of all the parameters that are expected in the IntegrationTemplateVersion execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter." - }, - "triggerConfigs": { - "description": "Optional. Trigger configurations.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoTriggerConfig" - }, - "type": "array" - }, - "updateTime": { - "description": "Output only. Auto-generated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "userLabel": { - "description": "Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaIntegrationVersion": { - "description": "The integration version definition.", - "id": "GoogleCloudIntegrationsV1alphaIntegrationVersion", - "properties": { - "cloudLoggingDetails": { - "$ref": "GoogleCloudIntegrationsV1alphaCloudLoggingDetails", - "description": "Optional. Cloud Logging details for the integration version" - }, - "createTime": { - "description": "Output only. Auto-generated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "databasePersistencePolicy": { - "description": "Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.", - "enum": [ - "DATABASE_PERSISTENCE_POLICY_UNSPECIFIED", - "DATABASE_PERSISTENCE_DISABLED", - "DATABASE_PERSISTENCE_ASYNC" - ], - "enumDescriptions": [ - "Enables persistence for all execution data.", - "Disables persistence for all execution data.", - "Asynchronously persist all execution data." - ], - "type": "string" - }, - "description": { - "description": "Optional. The integration description.", - "type": "string" - }, - "enableVariableMasking": { - "description": "Optional. True if variable masking feature should be turned on for this version", - "type": "boolean" - }, - "errorCatcherConfigs": { - "description": "Optional. Error Catch Task configuration for the integration. It's optional.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaErrorCatcherConfig" - }, - "type": "array" - }, - "integrationConfigParameters": { - "description": "Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationConfigParameter" - }, - "type": "array" - }, - "integrationParameters": { - "description": "Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationParameter" - }, - "type": "array" - }, - "integrationParametersInternal": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameters", - "deprecated": true, - "description": "Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter." - }, - "lastModifierEmail": { - "description": "Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", - "type": "string" - }, - "lockHolder": { - "description": "Optional. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", - "type": "string" - }, - "name": { - "description": "Output only. Auto-generated primary key.", - "readOnly": true, - "type": "string" - }, - "origin": { - "deprecated": true, - "description": "Optional. The origin that indicates where this integration is coming from.", - "enum": [ - "UNSPECIFIED", - "UI", - "PIPER_V2", - "PIPER_V3", - "APPLICATION_IP_PROVISIONING", - "TEST_CASE" - ], - "enumDeprecated": [ - false, - false, - true, - false, - false, - false - ], - "enumDescriptions": [ - "", - "Workflow is being created via event bus UI.", - "User checked in this workflow in Piper as v2 textproto format and we synced it into spanner.", - "User checked in this workflow in piper as v3 textproto format and we synced it into spanner.", - "Workflow is being created via Standalone IP Provisioning", - "Workflow is being created via Test Case." - ], - "type": "string" - }, - "parentTemplateId": { - "description": "Optional. The id of the template which was used to create this integration_version.", - "type": "string" - }, - "runAsServiceAccount": { - "description": "Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.", - "type": "string" - }, - "snapshotNumber": { - "description": "Optional. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use \"HEAD\" tag to identify the head.", - "format": "int64", - "type": "string" - }, - "state": { - "description": "Output only. User should not set it as an input.", - "enum": [ - "INTEGRATION_STATE_UNSPECIFIED", - "DRAFT", - "ACTIVE", - "ARCHIVED", - "SNAPSHOT" - ], - "enumDescriptions": [ - "Default.", - "Draft.", - "Active.", - "Archived.", - "Snapshot." - ], - "readOnly": true, - "type": "string" - }, - "status": { - "deprecated": true, - "description": "Output only. Generated by eventbus. User should not set it as an input.", - "enum": [ - "UNKNOWN", - "DRAFT", - "ACTIVE", - "ARCHIVED", - "SNAPSHOT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "readOnly": true, - "type": "string" - }, - "taskConfigs": { - "description": "Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaTaskConfig" - }, - "type": "array" - }, - "taskConfigsInternal": { - "deprecated": true, - "description": "Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoTaskConfig" - }, - "type": "array" - }, - "teardown": { - "$ref": "EnterpriseCrmEventbusProtoTeardown", - "deprecated": true, - "description": "Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to \"finally\" in code." - }, - "triggerConfigs": { - "description": "Optional. Trigger configurations.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaTriggerConfig" - }, - "type": "array" - }, - "triggerConfigsInternal": { - "deprecated": true, - "description": "Optional. Trigger configurations.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoTriggerConfig" - }, - "type": "array" - }, - "updateTime": { - "description": "Output only. Auto-generated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "userLabel": { - "description": "Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaJwt": { - "description": "Represents JSON web token(JWT), which is a compact, URL-safe means of representing claims to be transferred between two parties, enabling the claims to be digitally signed or integrity protected.", - "id": "GoogleCloudIntegrationsV1alphaJwt", - "properties": { - "jwt": { - "description": "The token calculated by the header, payload and signature.", - "type": "string" - }, - "jwtHeader": { - "description": "Identifies which algorithm is used to generate the signature.", - "type": "string" - }, - "jwtPayload": { - "description": "Contains a set of claims. The JWT specification defines seven Registered Claim Names which are the standard fields commonly included in tokens. Custom claims are usually also included, depending on the purpose of the token.", - "type": "string" - }, - "secret": { - "description": "User's pre-shared secret to sign the token.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest": { - "description": "Request for lift Suspension", - "id": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest", - "properties": { - "suspensionResult": { - "description": "User passed in suspension result and will be used to control workflow execution branching behavior by setting up corresponnding edge condition with suspension result. For example, if you want to lift the suspension, you can pass \"Approved\", or if you want to reject the suspension and terminate workfloe execution, you can pass \"Rejected\" and terminate the workflow execution with configuring the edge condition.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse": { - "description": "Response of lift Suspense", - "id": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse", - "properties": { - "eventExecutionInfoId": { - "description": "Execution Id that will be returned", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest": { - "description": "Request for LinkAppsScriptProject rpc call.", - "id": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest", - "properties": { - "scriptId": { - "description": "The id of the Apps Script project to be linked.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse": { - "description": "Response for LinkAppsScriptProject rpc call.", - "id": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse", - "properties": { - "scriptId": { - "description": "The id of the linked Apps Script project.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse": { - "description": "Response to list AuthConfigs.", - "id": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse", - "properties": { - "authConfigs": { - "description": "The list of AuthConfigs retrieved.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The token used to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListCertificatesResponse": { - "description": "Response to list Certificates.", - "id": "GoogleCloudIntegrationsV1alphaListCertificatesResponse", - "properties": { - "certificates": { - "description": "The list of Certificates retrieved.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaCertificate" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The token used to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListConnectionsResponse": { - "description": "Response containing Connections listed by region.", - "id": "GoogleCloudIntegrationsV1alphaListConnectionsResponse", - "properties": { - "connections": { - "description": "Connections.", - "items": { - "$ref": "GoogleCloudConnectorsV1Connection" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Next page token.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListExecutionsResponse": { - "description": "Response for listing the integration execution data.", - "id": "GoogleCloudIntegrationsV1alphaListExecutionsResponse", - "properties": { - "executionInfos": { - "deprecated": true, - "description": "Required. The detailed information of requested executions.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo" - }, - "type": "array" - }, - "executions": { - "description": "The detailed information of requested executions", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaExecution" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The token used to retrieve the next page results.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse": { - "description": "Response for IntegrationTemplateVersions.ListIntegrationTemplateVersions.", - "id": "GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse", - "properties": { - "integrationTemplateVersions": { - "description": "The IntegrationTemplateVersions which match the request.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse": { - "description": "Response for ListIntegrationVersions.", - "id": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse", - "properties": { - "integrationVersions": { - "description": "The integrations which match the request.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - }, - "noPermission": { - "description": "Whether the user has no permission on the version or not.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListIntegrationsResponse": { - "description": "Response for ListIntegrations.", - "id": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse", - "properties": { - "integrations": { - "description": "The integrations which match the request.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegration" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The next page token for the response.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse": { - "description": "Response for listing RuntimeActionSchemas for a specific Connection.", - "id": "GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse", - "properties": { - "nextPageToken": { - "description": "Next page token.", - "type": "string" - }, - "runtimeActionSchemas": { - "description": "Runtime action schemas.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaRuntimeActionSchema" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse": { - "description": "Response for listing RuntimeEntitySchemas for a specific Connection.", - "id": "GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse", - "properties": { - "nextPageToken": { - "description": "Next page token.", - "type": "string" - }, - "runtimeEntitySchemas": { - "description": "Runtime entity schemas.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaRuntimeEntitySchema" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse": { - "description": "Response to list SfdcChannels.", - "id": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse", - "properties": { - "nextPageToken": { - "description": "The token used to retrieve the next page of results.", - "type": "string" - }, - "sfdcChannels": { - "description": "The list of SfdcChannels retrieved.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse": { - "description": "Response to list SfdcInstances.", - "id": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse", - "properties": { - "nextPageToken": { - "description": "The token used to retrieve the next page of results.", - "type": "string" - }, - "sfdcInstances": { - "description": "The list of SfdcInstances retrieved.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaListSuspensionsResponse": { - "description": "Response for Suspensions.ListSuspensions.", - "id": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results.", - "type": "string" - }, - "suspensions": { - "description": "The suspensions for the relevant execution which the caller has permissions to view and resolve.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaSuspension" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaNextTask": { - "description": "The task that is next in line to be executed, if the condition specified evaluated to true.", - "id": "GoogleCloudIntegrationsV1alphaNextTask", - "properties": { - "condition": { - "description": "Standard filter expression for this task to become an eligible next task.", - "type": "string" - }, - "description": { - "description": "User-provided description intended to give additional business context about the task.", - "type": "string" - }, - "displayName": { - "description": "User-provided label that is attached to this edge in the UI.", - "type": "string" - }, - "taskConfigId": { - "description": "ID of the next task.", - "type": "string" - }, - "taskId": { - "description": "Task number of the next task.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode": { - "description": "The OAuth Type where the client sends request with the client id and requested scopes to auth endpoint. User sees a consent screen and auth code is received at specified redirect url afterwards. The auth code is then combined with the client id and secret and sent to the token endpoint in exchange for the access and refresh token. The refresh token can be used to fetch new access tokens.", - "id": "GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode", - "properties": { - "accessToken": { - "$ref": "GoogleCloudIntegrationsV1alphaAccessToken", - "description": "The access token received from the token endpoint." - }, - "applyReauthPolicy": { - "description": "Indicates if the user has opted in Google Reauth Policy. If opted in, the refresh token will be valid for 20 hours, after which time users must re-authenticate in order to obtain a new one.", - "type": "boolean" - }, - "authCode": { - "description": "The Auth Code that is used to initially retrieve the access token.", - "type": "string" - }, - "authEndpoint": { - "description": "The auth url endpoint to send the auth code request to.", - "type": "string" - }, - "authParams": { - "$ref": "GoogleCloudIntegrationsV1alphaParameterMap", - "description": "The auth parameters sent along with the auth code request." - }, - "clientId": { - "description": "The client's id.", - "type": "string" - }, - "clientSecret": { - "description": "The client's secret.", - "type": "string" - }, - "requestType": { - "description": "Represent how to pass parameters to fetch access token", - "enum": [ - "REQUEST_TYPE_UNSPECIFIED", - "REQUEST_BODY", - "QUERY_PARAMETERS", - "ENCODED_HEADER" - ], - "enumDescriptions": [ - "Unspecified request type", - "To pass all the parameters in post body.", - "To pass all the parameters as a part of query parameter.", - "To pass client id and client secret as base 64 encoding of client_id:client_password and rest parameters in post body." - ], - "type": "string" - }, - "scope": { - "description": "A space-delimited list of requested scope permissions.", - "type": "string" - }, - "tokenEndpoint": { - "description": "The token url endpoint to send the token request to.", - "type": "string" - }, - "tokenParams": { - "$ref": "GoogleCloudIntegrationsV1alphaParameterMap", - "description": "The token parameters sent along with the token request." - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials": { - "description": "For client credentials grant, the client sends a POST request with grant_type as 'client_credentials' to the authorization server. The authorization server will respond with a JSON object containing the access token.", - "id": "GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials", - "properties": { - "accessToken": { - "$ref": "GoogleCloudIntegrationsV1alphaAccessToken", - "description": "Access token fetched from the authorization server." - }, - "clientId": { - "description": "The client's ID.", - "type": "string" - }, - "clientSecret": { - "description": "The client's secret.", - "type": "string" - }, - "requestType": { - "description": "Represent how to pass parameters to fetch access token", - "enum": [ - "REQUEST_TYPE_UNSPECIFIED", - "REQUEST_BODY", - "QUERY_PARAMETERS", - "ENCODED_HEADER" - ], - "enumDescriptions": [ - "Unspecified request type", - "To pass all the parameters in post body.", - "To pass all the parameters as a part of query parameter.", - "To pass client id and client secret as base 64 encoding of client_id:client_password and rest parameters in post body." - ], - "type": "string" - }, - "scope": { - "description": "A space-delimited list of requested scope permissions.", - "type": "string" - }, - "tokenEndpoint": { - "description": "The token endpoint is used by the client to obtain an access token by presenting its authorization grant or refresh token.", - "type": "string" - }, - "tokenParams": { - "$ref": "GoogleCloudIntegrationsV1alphaParameterMap", - "description": "Token parameters for the auth request." - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials": { - "description": "For resource owner credentials grant, the client will ask the user for their authorization credentials (ususally a username and password) and send a POST request to the authorization server. The authorization server will respond with a JSON object containing the access token.", - "id": "GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials", - "properties": { - "accessToken": { - "$ref": "GoogleCloudIntegrationsV1alphaAccessToken", - "description": "Access token fetched from the authorization server." - }, - "clientId": { - "description": "The client's ID.", - "type": "string" - }, - "clientSecret": { - "description": "The client's secret.", - "type": "string" - }, - "password": { - "description": "The user's password.", - "type": "string" - }, - "requestType": { - "description": "Represent how to pass parameters to fetch access token", - "enum": [ - "REQUEST_TYPE_UNSPECIFIED", - "REQUEST_BODY", - "QUERY_PARAMETERS", - "ENCODED_HEADER" - ], - "enumDescriptions": [ - "Unspecified request type", - "To pass all the parameters in post body.", - "To pass all the parameters as a part of query parameter.", - "To pass client id and client secret as base 64 encoding of client_id:client_password and rest parameters in post body." - ], - "type": "string" - }, - "scope": { - "description": "A space-delimited list of requested scope permissions.", - "type": "string" - }, - "tokenEndpoint": { - "description": "The token endpoint is used by the client to obtain an access token by presenting its authorization grant or refresh token.", - "type": "string" - }, - "tokenParams": { - "$ref": "GoogleCloudIntegrationsV1alphaParameterMap", - "description": "Token parameters for the auth request." - }, - "username": { - "description": "The user's username.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaOidcToken": { - "description": "OIDC Token", - "id": "GoogleCloudIntegrationsV1alphaOidcToken", - "properties": { - "audience": { - "description": "Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for.", - "type": "string" - }, - "serviceAccountEmail": { - "description": "The service account email to be used as the identity for the token.", - "type": "string" - }, - "token": { - "description": "ID token obtained for the service account", - "type": "string" - }, - "tokenExpireTime": { - "description": "The approximate time until the token retrieved is valid.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaParameterMap": { - "description": "A generic multi-map that holds key value pairs. They keys and values can be of any type, unless specified.", - "id": "GoogleCloudIntegrationsV1alphaParameterMap", - "properties": { - "entries": { - "description": "A list of parameter map entries.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaParameterMapEntry" - }, - "type": "array" - }, - "keyType": { - "description": "Option to specify key type for all entries of the map. If provided then field types for all entries must conform to this.", - "enum": [ - "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", - "STRING_VALUE", - "INT_VALUE", - "DOUBLE_VALUE", - "BOOLEAN_VALUE", - "STRING_ARRAY", - "INT_ARRAY", - "DOUBLE_ARRAY", - "BOOLEAN_ARRAY", - "JSON_VALUE", - "PROTO_VALUE", - "PROTO_ARRAY" - ], - "enumDescriptions": [ - "Unspecified.", - "String.", - "Integer.", - "Double Number.", - "Boolean.", - "String Array.", - "Integer Array.", - "Double Number Array.", - "Boolean Array.", - "Json.", - "Proto Value (Internal use only).", - "Proto Array (Internal use only)." - ], - "type": "string" - }, - "valueType": { - "description": "Option to specify value type for all entries of the map. If provided then field types for all entries must conform to this.", - "enum": [ - "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", - "STRING_VALUE", - "INT_VALUE", - "DOUBLE_VALUE", - "BOOLEAN_VALUE", - "STRING_ARRAY", - "INT_ARRAY", - "DOUBLE_ARRAY", - "BOOLEAN_ARRAY", - "JSON_VALUE", - "PROTO_VALUE", - "PROTO_ARRAY" - ], - "enumDescriptions": [ - "Unspecified.", - "String.", - "Integer.", - "Double Number.", - "Boolean.", - "String Array.", - "Integer Array.", - "Double Number Array.", - "Boolean Array.", - "Json.", - "Proto Value (Internal use only).", - "Proto Array (Internal use only)." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaParameterMapEntry": { - "description": "Entry is a pair of key and value.", - "id": "GoogleCloudIntegrationsV1alphaParameterMapEntry", - "properties": { - "key": { - "$ref": "GoogleCloudIntegrationsV1alphaParameterMapField", - "description": "Key of the map entry." - }, - "value": { - "$ref": "GoogleCloudIntegrationsV1alphaParameterMapField", - "description": "Value of the map entry." - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaParameterMapField": { - "description": "Field represents either the key or value in an entry.", - "id": "GoogleCloudIntegrationsV1alphaParameterMapField", - "properties": { - "literalValue": { - "$ref": "GoogleCloudIntegrationsV1alphaValueType", - "description": "Passing a literal value." - }, - "referenceKey": { - "description": "Referencing one of the Integration variables.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest": { - "description": "Request for PublishIntegrationVersion.", - "id": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest", - "properties": { - "configParameters": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Optional. Config parameters used during integration execution.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse": { - "description": "Response for PublishIntegrationVersion.", - "id": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest": { - "description": "Request for [Suspensions.ResolveSuspensions].", - "id": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest", - "properties": { - "suspension": { - "$ref": "GoogleCloudIntegrationsV1alphaSuspension", - "description": "Suspension, containing the event_execution_info_id, task_id, and state to set on the corresponding suspension record." - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse": { - "description": "Response for Suspensions.ResolveSuspensions.", - "id": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaRuntimeActionSchema": { - "description": "Metadata of an action, including schemas for its inputs and outputs.", - "id": "GoogleCloudIntegrationsV1alphaRuntimeActionSchema", - "properties": { - "action": { - "description": "Name of the action.", - "type": "string" - }, - "inputSchema": { - "description": "Input parameter schema for the action.", - "type": "string" - }, - "outputSchema": { - "description": "Output parameter schema for the action.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaRuntimeEntitySchema": { - "description": "Metadata of an entity, including a schema for its properties.", - "id": "GoogleCloudIntegrationsV1alphaRuntimeEntitySchema", - "properties": { - "arrayFieldSchema": { - "description": "The above schema, but for an array of the associated entity.", - "type": "string" - }, - "entity": { - "description": "Name of the entity.", - "type": "string" - }, - "fieldSchema": { - "description": "List of fields in the entity.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest": { - "description": "The request for scheduling an integration. Next available id: 10", - "id": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest", - "properties": { - "inputParameters": { - "additionalProperties": { - "$ref": "GoogleCloudIntegrationsV1alphaValueType" - }, - "description": "Optional. Input parameters used by integration execution.", - "type": "object" - }, - "parameterEntries": { - "deprecated": true, - "description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", - "items": { - "$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" - }, - "type": "array" - }, - "parameters": { - "$ref": "EnterpriseCrmEventbusProtoEventParameters", - "deprecated": true, - "description": "Passed in as parameters to each integration execution." - }, - "requestId": { - "description": "This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned.", - "type": "string" - }, - "scheduleTime": { - "description": "The time that the integration should be executed. If the time is less or equal to the current time, the integration is executed immediately.", - "format": "google-datetime", - "type": "string" - }, - "triggerId": { - "description": "Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id)", - "type": "string" - }, - "userGeneratedExecutionId": { - "description": "Optional. This is a unique id provided by the method caller. If provided this will be used as the execution_id when a new execution info is created. This is a string representation of a UUID. Must have no more than 36 characters and contain only alphanumeric characters and hyphens.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse": { - "description": "The response for executing an integration.", - "id": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse", - "properties": { - "executionInfoIds": { - "description": "The execution info id for the executed integrations.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaSerializedFile": { - "description": "To store string representation of Integration file.", - "id": "GoogleCloudIntegrationsV1alphaSerializedFile", - "properties": { - "content": { - "description": "String representation of the file content.", - "type": "string" - }, - "file": { - "description": "File information like Integration version, Integration Config variables etc.", - "enum": [ - "INTEGRATION_FILE_UNSPECIFIED", - "INTEGRATION", - "INTEGRATION_CONFIG_VARIABLES" - ], - "enumDescriptions": [ - "Default value.", - "Integration file.", - "Integration Config variables." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaServiceAccountCredentials": { - "description": "Represents the service account which can be used to generate access token for authenticating the service call.", - "id": "GoogleCloudIntegrationsV1alphaServiceAccountCredentials", - "properties": { - "scope": { - "description": "A space-delimited list of requested scope permissions.", - "type": "string" - }, - "serviceAccount": { - "description": "Name of the service account that has the permission to make the request.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaSfdcChannel": { - "description": "The SfdcChannel that points to a CDC or Platform Event Channel.", - "id": "GoogleCloudIntegrationsV1alphaSfdcChannel", - "properties": { - "channelTopic": { - "description": "The Channel topic defined by salesforce once an channel is opened", - "type": "string" - }, - "createTime": { - "description": "Output only. Time when the channel is created", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "deleteTime": { - "description": "Output only. Time when the channel was deleted. Empty if not deleted.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "The description for this channel", - "type": "string" - }, - "displayName": { - "description": "Client level unique name/alias to easily reference a channel.", - "type": "string" - }, - "isActive": { - "description": "Indicated if a channel has any active integrations referencing it. Set to false when the channel is created, and set to true if there is any integration published with the channel configured in it.", - "type": "boolean" - }, - "lastReplayId": { - "description": "Last sfdc messsage replay id for channel", - "type": "string" - }, - "name": { - "description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.", - "type": "string" - }, - "updateTime": { - "description": "Output only. Time when the channel was last updated", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaSfdcInstance": { - "description": "The SfdcInstance resource use to hold channels and connection config data.", - "id": "GoogleCloudIntegrationsV1alphaSfdcInstance", - "properties": { - "authConfigId": { - "description": "A list of AuthConfigs that can be tried to open the channel to SFDC", - "items": { - "type": "string" - }, - "type": "array" - }, - "createTime": { - "description": "Output only. Time when the instance is created", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "deleteTime": { - "description": "Output only. Time when the instance was deleted. Empty if not deleted.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "A description of the sfdc instance.", - "type": "string" - }, - "displayName": { - "description": "User selected unique name/alias to easily reference an instance.", - "type": "string" - }, - "name": { - "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.", - "type": "string" - }, - "serviceAuthority": { - "description": "URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig).", - "type": "string" - }, - "sfdcOrgId": { - "description": "The SFDC Org Id. This is defined in salesforce.", - "type": "string" - }, - "updateTime": { - "description": "Output only. Time when the instance was last updated", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaStringParameterArray": { - "description": "This message only contains a field of string array.", - "id": "GoogleCloudIntegrationsV1alphaStringParameterArray", - "properties": { - "stringValues": { - "description": "String array.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaSuccessPolicy": { - "description": "Policy that dictates the behavior for the task after it completes successfully.", - "id": "GoogleCloudIntegrationsV1alphaSuccessPolicy", - "properties": { - "finalState": { - "description": "State to which the execution snapshot status will be set if the task succeeds.", - "enum": [ - "FINAL_STATE_UNSPECIFIED", - "SUCCEEDED", - "SUSPENDED" - ], - "enumDescriptions": [ - "UNSPECIFIED.", - "The default behavior, where successful tasks will be marked as SUCCEEDED.", - "Sets the state to SUSPENDED after executing. This is required for SuspensionTask; event execution will continue once the user calls ResolveSuspensions with the event_execution_info_id and the task number." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaSuspension": { - "description": "A record representing a suspension.", - "id": "GoogleCloudIntegrationsV1alphaSuspension", - "properties": { - "approvalConfig": { - "$ref": "GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig", - "description": "Controls the notifications and approval permissions for this suspension." - }, - "audit": { - "$ref": "GoogleCloudIntegrationsV1alphaSuspensionAudit", - "description": "Metadata pertaining to the resolution of this suspension." - }, - "createTime": { - "description": "Output only. Auto-generated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "eventExecutionInfoId": { - "description": "Required. ID of the associated execution.", - "type": "string" - }, - "integration": { - "description": "Required. The name of the originating integration.", - "type": "string" - }, - "lastModifyTime": { - "description": "Output only. Auto-generated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Resource name for suspensions suspension/{suspension_id}", - "type": "string" - }, - "state": { - "description": "Required. State of this suspension, indicating what action a resolver has taken.", - "enum": [ - "RESOLUTION_STATE_UNSPECIFIED", - "PENDING", - "REJECTED", - "LIFTED" - ], - "enumDescriptions": [ - "Unset state.", - "The suspension has not yet been resolved.", - "The resolver has rejected the suspension.", - "The resolver has lifted the suspension." - ], - "type": "string" - }, - "suspensionConfig": { - "$ref": "EnterpriseCrmEventbusProtoSuspensionConfig", - "deprecated": true, - "description": "Controls the notifications and resolver permissions for this suspension." - }, - "taskId": { - "description": "Required. Task id of the associated SuspensionTask.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig": { - "description": "Configurations for approving the Suspension.", - "id": "GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig", - "properties": { - "customMessage": { - "description": "Information to provide for recipients.", - "type": "string" - }, - "emailAddresses": { - "description": "Email addresses to send approval request to.", - "items": { - "type": "string" - }, - "type": "array" - }, - "expiration": { - "$ref": "GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration", - "description": "Indicates the next steps when no external actions happen on the suspension." - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration": { - "description": "Expiration configs for the approval request.", - "id": "GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration", - "properties": { - "expireTime": { - "description": "Output only. Time after which the suspension expires, if no action taken.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "liftWhenExpired": { - "description": "Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is the default behavior.", - "type": "boolean" - }, - "remindTime": { - "description": "Time after the previous suspension action reminder, if any, is sent using the selected notification option, for a suspension which is still PENDING_UNSPECIFIED.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaSuspensionAudit": { - "description": "Contains when and by whom the suspension was resolved.", - "id": "GoogleCloudIntegrationsV1alphaSuspensionAudit", - "properties": { - "resolveTime": { - "description": "Time at which this suspension was resolved.", - "format": "google-datetime", - "type": "string" - }, - "resolver": { - "description": "Email address of the person who resolved this suspension.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest": { - "description": "Request for TakeoverEditLock.", - "id": "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest", - "properties": {}, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse": { - "description": "Response for TakeoverEditLock.", - "id": "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse", - "properties": { - "integrationVersion": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", - "description": "Version after the lock is acquired by the new user." - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaTaskConfig": { - "description": "The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.", - "id": "GoogleCloudIntegrationsV1alphaTaskConfig", - "properties": { - "description": { - "description": "Optional. User-provided description intended to give additional business context about the task.", - "type": "string" - }, - "displayName": { - "description": "Optional. User-provided label that is attached to this TaskConfig in the UI.", - "type": "string" - }, - "errorCatcherId": { - "description": "Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", - "type": "string" - }, - "externalTaskType": { - "description": "Optional. External task type of the task", - "enum": [ - "EXTERNAL_TASK_TYPE_UNSPECIFIED", - "NORMAL_TASK", - "ERROR_TASK" - ], - "enumDescriptions": [ - "Default value. External task type is not specified", - "Tasks belongs to the normal task flows", - "Task belongs to the error catch task flows" - ], - "type": "string" - }, - "failurePolicy": { - "$ref": "GoogleCloudIntegrationsV1alphaFailurePolicy", - "description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.)." - }, - "jsonValidationOption": { - "description": "Optional. If set, overrides the option configured in the Task implementation class.", - "enum": [ - "JSON_VALIDATION_OPTION_UNSPECIFIED", - "SKIP", - "PRE_EXECUTION", - "POST_EXECUTION", - "PRE_POST_EXECUTION" - ], - "enumDescriptions": [ - "As per the default behavior, no validation will be run. Will not override any option set in a Task.", - "Do not run any validation against JSON schemas.", - "Validate all potential input JSON parameters against schemas specified in IntegrationParameter.", - "Validate all potential output JSON parameters against schemas specified in IntegrationParameter.", - "Perform both PRE_EXECUTION and POST_EXECUTION validations." - ], - "type": "string" - }, - "nextTasks": { - "description": "Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaNextTask" - }, - "type": "array" - }, - "nextTasksExecutionPolicy": { - "description": "Optional. The policy dictating the execution of the next set of tasks for the current task.", - "enum": [ - "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED", - "RUN_ALL_MATCH", - "RUN_FIRST_MATCH" - ], - "enumDescriptions": [ - "Default.", - "Execute all the tasks that satisfy their associated condition.", - "Execute the first task that satisfies the associated condition." - ], - "type": "string" - }, - "parameters": { - "additionalProperties": { - "$ref": "GoogleCloudIntegrationsV1alphaEventParameter" - }, - "description": "Optional. The customized parameters the user can pass to this task.", - "type": "object" - }, - "position": { - "$ref": "GoogleCloudIntegrationsV1alphaCoordinate", - "description": "Optional. Informs the front-end application where to draw this error catcher config on the UI." - }, - "successPolicy": { - "$ref": "GoogleCloudIntegrationsV1alphaSuccessPolicy", - "description": "Optional. Determines what action to take upon successful task completion." - }, - "synchronousCallFailurePolicy": { - "$ref": "GoogleCloudIntegrationsV1alphaFailurePolicy", - "description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post)." - }, - "task": { - "description": "Optional. The name for the task.", - "type": "string" - }, - "taskExecutionStrategy": { - "description": "Optional. The policy dictating the execution strategy of this task.", - "enum": [ - "TASK_EXECUTION_STRATEGY_UNSPECIFIED", - "WHEN_ALL_SUCCEED", - "WHEN_ANY_SUCCEED", - "WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" - ], - "enumDescriptions": [ - "Default. If the strategy is not set explicitly, it will default to `WHEN_ALL_SUCCEED`.", - "Wait until all of its previous tasks finished execution, then verify at least one of the edge conditions is met, and execute if possible. This should be considered as WHEN_ALL_TASKS_SUCCEED.", - "Start execution as long as any of its previous tasks finished execution and the corresponding edge condition is met (since we will execute if only that succeeding edge condition is met).", - "Wait until all of its previous tasks finished execution, then verify the all edge conditions are met and execute if possible." - ], - "type": "string" - }, - "taskId": { - "description": "Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).", - "type": "string" - }, - "taskTemplate": { - "description": "Optional. Used to define task-template name if task is of type task-template", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaTaskExecutionDetails": { - "description": "Contains the details of the execution of this task.", - "id": "GoogleCloudIntegrationsV1alphaTaskExecutionDetails", - "properties": { - "taskAttemptStats": { - "description": "Status for the current task execution attempt.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaAttemptStats" - }, - "type": "array" - }, - "taskExecutionState": { - "description": "The execution state of this task.", - "enum": [ - "TASK_EXECUTION_STATE_UNSPECIFIED", - "PENDING_EXECUTION", - "IN_PROCESS", - "SUCCEED", - "FAILED", - "FATAL", - "RETRY_ON_HOLD", - "SKIPPED", - "CANCELLED", - "PENDING_ROLLBACK", - "ROLLBACK_IN_PROCESS", - "ROLLEDBACK", - "SUSPENDED" - ], - "enumDescriptions": [ - "Default value.", - "Task is waiting for its precondition tasks to finish to start the execution.", - "Task is under processing.", - "Task execution successfully finished. There's no more change after this state.", - "Task execution failed. There's no more change after this state.", - "Task execution failed and cause the whole integration execution to fail immediately. There's no more change after this state.", - "Task execution failed and waiting for retry.", - "Task execution skipped. This happens when its precondition wasn't met, or the integration execution been canceled before reach to the task. There's no more changes after this state.", - "Task execution canceled when in progress. This happens when integration execution been canceled or any other task fall in fatal state.", - "Task is waiting for its dependency tasks' rollback to finish to start its rollback.", - "Task is rolling back.", - "Task is rolled back. This is the state we will set regardless of rollback succeeding or failing.", - "Task is a SuspensionTask which has executed once, creating a pending suspension." - ], - "type": "string" - }, - "taskNumber": { - "description": "Pointer to the task config it used for execution.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaTriggerConfig": { - "description": "Configuration detail of a trigger.", - "id": "GoogleCloudIntegrationsV1alphaTriggerConfig", - "properties": { - "alertConfig": { - "description": "Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfig" - }, - "type": "array" - }, - "cloudSchedulerConfig": { - "$ref": "GoogleCloudIntegrationsV1alphaCloudSchedulerConfig", - "description": "Optional. Cloud Scheduler Trigger related metadata" - }, - "description": { - "description": "Optional. User-provided description intended to give additional business context about the task.", - "type": "string" - }, - "errorCatcherId": { - "description": "Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", - "type": "string" - }, - "label": { - "description": "Optional. The user created label for a particular trigger.", - "type": "string" - }, - "nextTasksExecutionPolicy": { - "description": "Optional. Dictates how next tasks will be executed.", - "enum": [ - "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED", - "RUN_ALL_MATCH", - "RUN_FIRST_MATCH" - ], - "enumDescriptions": [ - "Default.", - "Execute all the tasks that satisfy their associated condition.", - "Execute the first task that satisfies the associated condition." - ], - "type": "string" - }, - "position": { - "$ref": "GoogleCloudIntegrationsV1alphaCoordinate", - "description": "Optional. Informs the front-end application where to draw this error catcher config on the UI." - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. \"name\" is a property for API triggers and \"subscription\" is a property for Pub/sub triggers.", - "type": "object" - }, - "startTasks": { - "description": "Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaNextTask" - }, - "type": "array" - }, - "trigger": { - "description": "Optional. Name of the trigger. Example: \"API Trigger\", \"Cloud Pub Sub Trigger\" When set will be sent out to monitoring dashabord for tracking purpose.", - "type": "string" - }, - "triggerId": { - "description": "Optional. The backend trigger ID.", - "type": "string" - }, - "triggerNumber": { - "description": "Required. A number to uniquely identify each trigger config within the integration on UI.", - "type": "string" - }, - "triggerType": { - "description": "Optional. Type of trigger", - "enum": [ - "TRIGGER_TYPE_UNSPECIFIED", - "CRON", - "API", - "SFDC_CHANNEL", - "CLOUD_PUBSUB_EXTERNAL", - "SFDC_CDC_CHANNEL", - "CLOUD_SCHEDULER", - "INTEGRATION_CONNECTOR_TRIGGER", - "PRIVATE_TRIGGER" - ], - "enumDescriptions": [ - "Unknown.", - "Trigger by scheduled time.", - "Trigger by API call.", - "Trigger by Salesforce Channel.", - "Trigger by Pub/Sub external.", - "SFDC Channel Trigger for CDC.", - "Trigger by Cloud Scheduler job.", - "Trigger by Connector Event", - "Trigger for private workflow" - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest": { - "description": "Request for UnpublishIntegrationVersion.", - "id": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest", - "properties": {}, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest": { - "description": "Request for UploadIntegrationVersion.", - "id": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest", - "properties": { - "content": { - "description": "The textproto of the integration_version.", - "type": "string" - }, - "fileFormat": { - "description": "File format for upload request.", - "enum": [ - "FILE_FORMAT_UNSPECIFIED", - "JSON", - "YAML" - ], - "enumDescriptions": [ - "Unspecified file format", - "JSON File Format", - "YAML File Format" - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse": { - "description": "Response for UploadIntegrationVersion.", - "id": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse", - "properties": { - "integrationVersion": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", - "description": "The uploaded integration." - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaUsernameAndPassword": { - "description": "Username and password pair.", - "id": "GoogleCloudIntegrationsV1alphaUsernameAndPassword", - "properties": { - "password": { - "description": "Password to be used", - "type": "string" - }, - "username": { - "description": "Username to be used", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudIntegrationsV1alphaValueType": { - "description": "The type of the parameter.", - "id": "GoogleCloudIntegrationsV1alphaValueType", - "properties": { - "booleanArray": { - "$ref": "GoogleCloudIntegrationsV1alphaBooleanParameterArray", - "description": "Boolean Array." - }, - "booleanValue": { - "description": "Boolean.", - "type": "boolean" - }, - "doubleArray": { - "$ref": "GoogleCloudIntegrationsV1alphaDoubleParameterArray", - "description": "Double Number Array." - }, - "doubleValue": { - "description": "Double Number.", - "format": "double", - "type": "number" - }, - "intArray": { - "$ref": "GoogleCloudIntegrationsV1alphaIntParameterArray", - "description": "Integer Array." - }, - "intValue": { - "description": "Integer.", - "format": "int64", - "type": "string" - }, - "jsonValue": { - "description": "Json.", - "type": "string" - }, - "stringArray": { - "$ref": "GoogleCloudIntegrationsV1alphaStringParameterArray", - "description": "String Array." - }, - "stringValue": { - "description": "String.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest": { - "description": "LINT.IfChange Use this request to post all workflows associated with a given trigger id. Next available id: 12", - "id": "GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest", - "properties": { - "clientId": { - "description": "Optional. If the client id is provided, then the combination of trigger id and client id is matched across all the workflows. If the client id is not provided, then workflows with matching trigger id are executed for each client id in the {@link TriggerConfig}. For Api Trigger, the client id is required and will be validated against the allowed clients.", - "type": "string" - }, - "ignoreErrorIfNoActiveWorkflow": { - "description": "Optional. Flag to determine whether clients would suppress a warning when no ACTIVE workflows are not found. If this flag is set to be true, an error will not be thrown if the requested trigger_id or client_id is not found in any ACTIVE workflow. Otherwise, the error is always thrown. The flag is set to be false by default.", - "type": "boolean" - }, - "parameters": { - "$ref": "EnterpriseCrmEventbusProtoEventParameters", - "description": "Passed in as parameters to each workflow execution. Optional." - }, - "priority": { - "description": "The request priority this request should be processed at. For internal users:", - "enum": [ - "UNSPCIFIED", - "SHEDDABLE", - "SHEDDABLE_PLUS", - "CRITICAL", - "CRITICAL_PLUS" - ], - "enumDescriptions": [ - "Unspecified", - "Frequent partial and occasional full unavailability is expected and not pageable. * Requests to this band will be shed before all other requests. * This is the default for async calls sent from batch jobs.", - "Partial unavailability is expected and is not necessarily pageable. * Requests to this band will be shed before any critical traffic. * This is the default for async calls sent from production jobs.", - "Any outage is a pageable event. * During a production outage requests in this band will only be shed before CRITICAL_PLUS. * This is the default for sync calls sent from production jobs.", - "Any outage is a pageable event. * The guideline is for < 10% of requests to a service to be in this band. * During a production outage requests in this band will be prioritized above all others. * Opt-in to CRITICAL_PLUS when your workflow triggers by human." - ], - "type": "string" - }, - "requestId": { - "description": "Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. Must have no more than 36 characters and contain only alphanumeric characters and hyphens.", - "type": "string" - }, - "resourceName": { - "description": "This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: \"projects/*/locations/*/integrations/*\"", - "type": "string" - }, - "scheduledTime": { - "description": "Optional. Time in milliseconds since epoch when the given event would be scheduled.", - "format": "int64", - "type": "string" - }, - "testMode": { - "description": "Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}.", - "type": "boolean" - }, - "triggerId": { - "description": "Matched against all {@link TriggerConfig}s across all workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required.", - "type": "string" - }, - "userGeneratedExecutionId": { - "description": "This is a unique id provided by the method caller. If provided this will be used as the execution_id when a new execution info is created. This is a string representation of a UUID. Must have no more than 36 characters and contain only alphanumeric characters and hyphens.", - "type": "string" - }, - "workflowName": { - "description": "Optional. If provided, the workflow_name is used to filter all the matched workflows having same trigger_id+client_id. A combination of trigger_id, client_id and workflow_name identifies a unique workflow.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleProtobufEmpty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "GoogleProtobufEmpty", - "properties": {}, - "type": "object" - } - }, - "servicePath": "", - "title": "Application Integration API", - "version": "v1alpha", - "version_module": true -} \ No newline at end of file diff --git a/discovery/jobs-v2.json b/discovery/jobs-v2.json deleted file mode 100644 index 84d3700a5a2..00000000000 --- a/discovery/jobs-v2.json +++ /dev/null @@ -1,4173 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, - "https://www.googleapis.com/auth/jobs": { - "description": "Manage job postings" - } - } - } - }, - "basePath": "", - "baseUrl": "https://jobs.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Talent Solution", - "description": "Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. ", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "jobs:v2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://jobs.mtls.googleapis.com/", - "name": "jobs", - "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": { - "companies": { - "methods": { - "create": { - "description": "Creates a new company entity.", - "flatPath": "v2/companies", - "httpMethod": "POST", - "id": "jobs.companies.create", - "parameterOrder": [], - "parameters": {}, - "path": "v2/companies", - "request": { - "$ref": "Company" - }, - "response": { - "$ref": "Company" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "delete": { - "description": "Deletes the specified company.", - "flatPath": "v2/companies/{companiesId}", - "httpMethod": "DELETE", - "id": "jobs.companies.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the company to be deleted, such as, \"companies/0000aaaa-1111-bbbb-2222-cccc3333dddd\".", - "location": "path", - "pattern": "^companies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "get": { - "description": "Retrieves the specified company.", - "flatPath": "v2/companies/{companiesId}", - "httpMethod": "GET", - "id": "jobs.companies.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Resource name of the company to retrieve, such as \"companies/0000aaaa-1111-bbbb-2222-cccc3333dddd\".", - "location": "path", - "pattern": "^companies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+name}", - "response": { - "$ref": "Company" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "list": { - "description": "Lists all companies associated with a Cloud Talent Solution account.", - "flatPath": "v2/companies", - "httpMethod": "GET", - "id": "jobs.companies.list", - "parameterOrder": [], - "parameters": { - "mustHaveOpenJobs": { - "description": "Optional. Set to true if the companies request must have open jobs. Defaults to false. If true, at most page_size of companies are fetched, among which only those with open jobs are returned.", - "location": "query", - "type": "boolean" - }, - "pageSize": { - "description": "Optional. The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The starting indicator from which to return results.", - "location": "query", - "type": "string" - } - }, - "path": "v2/companies", - "response": { - "$ref": "ListCompaniesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "patch": { - "description": "Updates the specified company. Company names can't be updated. To update a company name, delete the company and all jobs associated with it, and only then re-create them.", - "flatPath": "v2/companies/{companiesId}", - "httpMethod": "PATCH", - "id": "jobs.companies.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required during company update. The resource name for a company. This is generated by the service when a company is created, for example, \"companies/0000aaaa-1111-bbbb-2222-cccc3333dddd\".", - "location": "path", - "pattern": "^companies/[^/]+$", - "required": true, - "type": "string" - }, - "updateCompanyFields": { - "description": "Optional but strongly recommended to be provided for the best service experience. If update_company_fields is provided, only the specified fields in company are updated. Otherwise all the fields are updated. A field mask to specify the company fields to update. Valid values are: * displayName * website * imageUrl * companySize * distributorBillingCompanyId * companyInfoSources * careerPageLink * hiringAgency * hqLocation * eeoText * keywordSearchableCustomAttributes * title (deprecated) * keywordSearchableCustomFields (deprecated)", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v2/{+name}", - "request": { - "$ref": "Company" - }, - "response": { - "$ref": "Company" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - } - }, - "resources": { - "jobs": { - "methods": { - "list": { - "description": "Deprecated. Use ListJobs instead. Lists all jobs associated with a company.", - "flatPath": "v2/companies/{companiesId}/jobs", - "httpMethod": "GET", - "id": "jobs.companies.jobs.list", - "parameterOrder": [ - "companyName" - ], - "parameters": { - "companyName": { - "description": "Required. The resource name of the company that owns the jobs to be listed, such as, \"companies/0000aaaa-1111-bbbb-2222-cccc3333dddd\".", - "location": "path", - "pattern": "^companies/[^/]+$", - "required": true, - "type": "string" - }, - "idsOnly": { - "description": "Optional. If set to `true`, only job ID, job requisition ID and language code will be returned. A typical use is to synchronize job repositories. Defaults to false.", - "location": "query", - "type": "boolean" - }, - "includeJobsCount": { - "description": "Deprecated. Please DO NOT use this field except for small companies. Suggest counting jobs page by page instead. Optional. Set to true if the total number of open jobs is to be returned. Defaults to false.", - "location": "query", - "type": "boolean" - }, - "jobRequisitionId": { - "description": "Optional. The requisition ID, also known as posting ID, assigned by the company to the job. The maximum number of allowable characters is 225.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The maximum number of jobs to be returned per page of results. If ids_only is set to true, the maximum allowed page size is 1000. Otherwise, the maximum allowed page size is 100. Default is 100 if empty or a number < 1 is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The starting point of a query result.", - "location": "query", - "type": "string" - } - }, - "path": "v2/{+companyName}/jobs", - "response": { - "$ref": "ListCompanyJobsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - } - } - } - } - }, - "jobs": { - "methods": { - "batchDelete": { - "description": "Deletes a list of Job postings by filter.", - "flatPath": "v2/jobs:batchDelete", - "httpMethod": "POST", - "id": "jobs.jobs.batchDelete", - "parameterOrder": [], - "parameters": {}, - "path": "v2/jobs:batchDelete", - "request": { - "$ref": "BatchDeleteJobsRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "create": { - "description": "Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.", - "flatPath": "v2/jobs", - "httpMethod": "POST", - "id": "jobs.jobs.create", - "parameterOrder": [], - "parameters": {}, - "path": "v2/jobs", - "request": { - "$ref": "CreateJobRequest" - }, - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "delete": { - "description": "Deletes the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.", - "flatPath": "v2/jobs/{jobsId}", - "httpMethod": "DELETE", - "id": "jobs.jobs.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "disableFastProcess": { - "description": "Deprecated. This field is not working anymore. Optional. If set to true, this call waits for all processing steps to complete before the job is cleaned up. Otherwise, the call returns while some steps are still taking place asynchronously, hence faster.", - "location": "query", - "type": "boolean" - }, - "name": { - "description": "Required. The resource name of the job to be deleted, such as \"jobs/11111111\".", - "location": "path", - "pattern": "^jobs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "deleteByFilter": { - "description": "Deprecated. Use BatchDeleteJobs instead. Deletes the specified job by filter. You can specify whether to synchronously wait for validation, indexing, and general processing to be completed before the response is returned.", - "flatPath": "v2/jobs:deleteByFilter", - "httpMethod": "POST", - "id": "jobs.jobs.deleteByFilter", - "parameterOrder": [], - "parameters": {}, - "path": "v2/jobs:deleteByFilter", - "request": { - "$ref": "DeleteJobsByFilterRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "get": { - "description": "Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.", - "flatPath": "v2/jobs/{jobsId}", - "httpMethod": "GET", - "id": "jobs.jobs.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the job to retrieve, such as \"jobs/11111111\".", - "location": "path", - "pattern": "^jobs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+name}", - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "histogram": { - "description": "Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single call with both search and histogram. Retrieves a histogram for the given GetHistogramRequest. This call provides a structured count of jobs that match against the search query, grouped by specified facets. This call constrains the visibility of jobs present in the database, and only counts jobs the caller has permission to search against. For example, use this call to generate the number of jobs in the U.S. by state.", - "flatPath": "v2/jobs:histogram", - "httpMethod": "POST", - "id": "jobs.jobs.histogram", - "parameterOrder": [], - "parameters": {}, - "path": "v2/jobs:histogram", - "request": { - "$ref": "GetHistogramRequest" - }, - "response": { - "$ref": "GetHistogramResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "list": { - "description": "Lists jobs by filter.", - "flatPath": "v2/jobs", - "httpMethod": "GET", - "id": "jobs.jobs.list", - "parameterOrder": [], - "parameters": { - "filter": { - "description": "Required. The filter string specifies the jobs to be enumerated. Supported operator: =, AND The fields eligible for filtering are: * `companyName` (Required) * `requisitionId` (Optional) Sample Query: * companyName = \"companies/123\" * companyName = \"companies/123\" AND requisitionId = \"req-1\"", - "location": "query", - "type": "string" - }, - "idsOnly": { - "description": "Optional. If set to `true`, only Job.name, Job.requisition_id and Job.language_code will be returned. A typical use case is to synchronize job repositories. Defaults to false.", - "location": "query", - "type": "boolean" - }, - "pageSize": { - "description": "Optional. The maximum number of jobs to be returned per page of results. If ids_only is set to true, the maximum allowed page size is 1000. Otherwise, the maximum allowed page size is 100. Default is 100 if empty or a number < 1 is specified.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The starting point of a query result.", - "location": "query", - "type": "string" - } - }, - "path": "v2/jobs", - "response": { - "$ref": "ListJobsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "patch": { - "description": "Updates specified job. Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.", - "flatPath": "v2/jobs/{jobsId}", - "httpMethod": "PATCH", - "id": "jobs.jobs.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required during job update. Resource name assigned to a job by the API, for example, \"/jobs/foo\". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.", - "location": "path", - "pattern": "^jobs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+name}", - "request": { - "$ref": "UpdateJobRequest" - }, - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "search": { - "description": "Searches for jobs using the provided SearchJobsRequest. This call constrains the visibility of jobs present in the database, and only returns jobs that the caller has permission to search against.", - "flatPath": "v2/jobs:search", - "httpMethod": "POST", - "id": "jobs.jobs.search", - "parameterOrder": [], - "parameters": {}, - "path": "v2/jobs:search", - "request": { - "$ref": "SearchJobsRequest" - }, - "response": { - "$ref": "SearchJobsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - }, - "searchForAlert": { - "description": "Searches for jobs using the provided SearchJobsRequest. This API call is intended for the use case of targeting passive job seekers (for example, job seekers who have signed up to receive email alerts about potential job opportunities), and has different algorithmic adjustments that are targeted to passive job seekers. This call constrains the visibility of jobs present in the database, and only returns jobs the caller has permission to search against.", - "flatPath": "v2/jobs:searchForAlert", - "httpMethod": "POST", - "id": "jobs.jobs.searchForAlert", - "parameterOrder": [], - "parameters": {}, - "path": "v2/jobs:searchForAlert", - "request": { - "$ref": "SearchJobsRequest" - }, - "response": { - "$ref": "SearchJobsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - } - } - }, - "v2": { - "methods": { - "complete": { - "description": "Completes the specified prefix with job keyword suggestions. Intended for use by a job search auto-complete search box.", - "flatPath": "v2:complete", - "httpMethod": "GET", - "id": "jobs.complete", - "parameterOrder": [], - "parameters": { - "companyName": { - "description": "Optional. If provided, restricts completion to the specified company.", - "location": "query", - "type": "string" - }, - "languageCode": { - "description": "Required. The language of the query. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). For CompletionType.JOB_TITLE type, only open jobs with same language_code are returned. For CompletionType.COMPANY_NAME type, only companies having open jobs with same language_code are returned. For CompletionType.COMBINED type, only open jobs with same language_code or companies having open jobs with same language_code are returned.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Required. Completion result count. The maximum allowed page size is 10.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "query": { - "description": "Required. The query used to generate suggestions.", - "location": "query", - "type": "string" - }, - "scope": { - "description": "Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC.", - "enum": [ - "COMPLETION_SCOPE_UNSPECIFIED", - "TENANT", - "PUBLIC" - ], - "enumDescriptions": [ - "Default value.", - "Suggestions are based only on the data provided by the client.", - "Suggestions are based on all jobs data in the system that's visible to the client" - ], - "location": "query", - "type": "string" - }, - "type": { - "description": "Optional. The completion topic. The default is CompletionType.COMBINED.", - "enum": [ - "COMPLETION_TYPE_UNSPECIFIED", - "JOB_TITLE", - "COMPANY_NAME", - "COMBINED" - ], - "enumDescriptions": [ - "Default value.", - "Only suggest job titles.", - "Only suggest company names.", - "Suggest both job titles and company names." - ], - "location": "query", - "type": "string" - } - }, - "path": "v2:complete", - "response": { - "$ref": "CompleteQueryResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/jobs" - ] - } - } - } - }, - "revision": "20200929", - "rootUrl": "https://jobs.googleapis.com/", - "schemas": { - "BatchDeleteJobsRequest": { - "description": "Input only. Batch delete jobs request.", - "id": "BatchDeleteJobsRequest", - "properties": { - "filter": { - "description": "Required. The filter string specifies the jobs to be deleted. Supported operator: =, AND The fields eligible for filtering are: * `companyName` (Required) * `requisitionId` (Required) Sample Query: companyName = \"companies/123\" AND requisitionId = \"req-1\"", - "type": "string" - } - }, - "type": "object" - }, - "BucketRange": { - "description": "Represents starting and ending value of a range in double.", - "id": "BucketRange", - "properties": { - "from": { - "description": "Starting value of the bucket range.", - "format": "double", - "type": "number" - }, - "to": { - "description": "Ending value of the bucket range.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "BucketizedCount": { - "description": "Represents count of jobs within one bucket.", - "id": "BucketizedCount", - "properties": { - "count": { - "description": "Number of jobs whose numeric field value fall into `range`.", - "format": "int32", - "type": "integer" - }, - "range": { - "$ref": "BucketRange", - "description": "Bucket range on which histogram was performed for the numeric field, that is, the count represents number of jobs in this range." - } - }, - "type": "object" - }, - "CommuteInfo": { - "description": "Output only. Commute details related to this job.", - "id": "CommuteInfo", - "properties": { - "jobLocation": { - "$ref": "JobLocation", - "description": "Location used as the destination in the commute calculation." - }, - "travelDuration": { - "description": "The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job is not reachable within the requested duration, but was returned as part of an expanded query.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "CommutePreference": { - "description": "Input only. Parameters needed for commute search.", - "id": "CommutePreference", - "properties": { - "allowNonStreetLevelAddress": { - "description": "Optional. If `true`, jobs without street level addresses may also be returned. For city level addresses, the city center is used. For state and coarser level addresses, text matching is used. If this field is set to `false` or is not specified, only jobs that include street level addresses will be returned by commute search.", - "type": "boolean" - }, - "departureHourLocal": { - "description": "Optional. The departure hour to use to calculate traffic impact. Accepts an integer between 0 and 23, representing the hour in the time zone of the start_location. Must not be present if road_traffic is specified.", - "format": "int32", - "type": "integer" - }, - "method": { - "description": "Required. The method of transportation for which to calculate the commute time.", - "enum": [ - "COMMUTE_METHOD_UNSPECIFIED", - "DRIVING", - "TRANSIT" - ], - "enumDescriptions": [ - "Commute method is not specified.", - "Commute time is calculated based on driving time.", - "Commute time is calculated based on public transit including bus, metro, subway, etc." - ], - "type": "string" - }, - "roadTraffic": { - "description": "Optional. Specifies the traffic density to use when calculating commute time. Must not be present if departure_hour_local is specified.", - "enum": [ - "ROAD_TRAFFIC_UNSPECIFIED", - "TRAFFIC_FREE", - "BUSY_HOUR" - ], - "enumDescriptions": [ - "Road traffic situation is not specified.", - "Optimal commute time without considering any traffic impact.", - "Commute time calculation takes in account the peak traffic impact." - ], - "type": "string" - }, - "startLocation": { - "$ref": "LatLng", - "description": "Required. The latitude and longitude of the location from which to calculate the commute time." - }, - "travelTime": { - "description": "Required. The maximum travel time in seconds. The maximum allowed value is `3600s` (one hour). Format is `123s`.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "Company": { - "description": "A Company resource represents a company in the service. A company is the entity that owns job listings, that is, the hiring entity responsible for employing applicants for the job position.", - "id": "Company", - "properties": { - "careerPageLink": { - "description": "Optional. The URL to employer's career site or careers page on the employer's web site.", - "type": "string" - }, - "companyInfoSources": { - "description": "Optional. Identifiers external to the application that help to further identify the employer.", - "items": { - "$ref": "CompanyInfoSource" - }, - "type": "array" - }, - "companySize": { - "description": "Optional. The employer's company size.", - "enum": [ - "COMPANY_SIZE_UNSPECIFIED", - "MINI", - "SMALL", - "SMEDIUM", - "MEDIUM", - "BIG", - "BIGGER", - "GIANT" - ], - "enumDescriptions": [ - "Default value if the size is not specified.", - "The company has less than 50 employees.", - "The company has between 50 and 99 employees.", - "The company has between 100 and 499 employees.", - "The company has between 500 and 999 employees.", - "The company has between 1,000 and 4,999 employees.", - "The company has between 5,000 and 9,999 employees.", - "The company has 10,000 or more employees." - ], - "type": "string" - }, - "disableLocationOptimization": { - "description": "Deprecated. Do not use this field. Optional. This field is no longer used. Any value set to it is ignored.", - "type": "boolean" - }, - "displayName": { - "description": "Required. The name of the employer to be displayed with the job, for example, \"Google, LLC.\".", - "type": "string" - }, - "distributorBillingCompanyId": { - "description": "Optional. The unique company identifier provided by the client to identify an employer for billing purposes. Recommended practice is to use the distributor_company_id. Defaults to same value as distributor_company_id when a value is not provided.", - "type": "string" - }, - "distributorCompanyId": { - "description": "Required. A client's company identifier, used to uniquely identify the company. If an employer has a subsidiary or sub-brand, such as \"Alphabet\" and \"Google\", which the client wishes to use as the company displayed on the job. Best practice is to create a distinct company identifier for each distinct brand displayed. The maximum number of allowed characters is 255.", - "type": "string" - }, - "eeoText": { - "description": "Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.", - "type": "string" - }, - "hiringAgency": { - "description": "Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.", - "type": "boolean" - }, - "hqLocation": { - "description": "Optional. The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in structured_company_hq_location.", - "type": "string" - }, - "imageUrl": { - "description": "Optional. A URL that hosts the employer's company logo. If provided, the logo image should be squared at 80x80 pixels. The url must be a Google Photos or Google Album url. Only images in these Google sub-domains are accepted.", - "type": "string" - }, - "keywordSearchableCustomAttributes": { - "description": "Optional. A list of keys of filterable Job.custom_attributes, whose corresponding `string_values` are used in keyword search. Jobs with `string_values` under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols might not be properly searchable, and those keyword queries need to be surrounded by quotes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "keywordSearchableCustomFields": { - "description": "Deprecated. Use keyword_searchable_custom_attributes instead. Optional. A list of filterable custom fields that should be used in keyword search. The jobs of this company are returned if any of these custom fields matches the search keyword. Custom field values with parenthesis, brackets and special symbols might not be properly searchable, and those keyword queries need to be surrounded by quotes.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "name": { - "description": "Required during company update. The resource name for a company. This is generated by the service when a company is created, for example, \"companies/0000aaaa-1111-bbbb-2222-cccc3333dddd\".", - "type": "string" - }, - "structuredCompanyHqLocation": { - "$ref": "JobLocation", - "description": "Output only. A structured headquarters location of the company, resolved from hq_location if possible." - }, - "suspended": { - "description": "Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.", - "type": "boolean" - }, - "title": { - "description": "Deprecated. Use display_name instead. Required. The name of the employer to be displayed with the job, for example, \"Google, LLC.\".", - "type": "string" - }, - "website": { - "description": "Optional. The URL representing the company's primary web site or home page, such as, \"www.google.com\".", - "type": "string" - } - }, - "type": "object" - }, - "CompanyInfoSource": { - "description": "A resource that represents an external Google identifier for a company, for example, a Google+ business page or a Google Maps business page. For unsupported types, use `unknown_type_id`.", - "id": "CompanyInfoSource", - "properties": { - "freebaseMid": { - "description": "Optional. The Google's Knowledge Graph value for the employer's company.", - "type": "string" - }, - "gplusId": { - "description": "Optional. The numeric identifier for the employer's Google+ business page.", - "type": "string" - }, - "mapsCid": { - "description": "Optional. The numeric identifier for the employer's headquarters on Google Maps, namely, the Google Maps CID (cell id).", - "type": "string" - }, - "unknownTypeId": { - "description": "Optional. A Google identifier that does not match any of the other types.", - "type": "string" - } - }, - "type": "object" - }, - "CompensationEntry": { - "description": "A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if - it contains valid amount or range. - and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.", - "id": "CompensationEntry", - "properties": { - "amount": { - "$ref": "Money", - "description": "Optional. Compensation amount." - }, - "description": { - "description": "Optional. Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.", - "type": "string" - }, - "expectedUnitsPerYear": { - "description": "Optional. Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1", - "format": "double", - "type": "number" - }, - "range": { - "$ref": "CompensationRange", - "description": "Optional. Compensation range." - }, - "type": { - "description": "Required. Compensation type.", - "enum": [ - "COMPENSATION_TYPE_UNSPECIFIED", - "BASE", - "BONUS", - "SIGNING_BONUS", - "EQUITY", - "PROFIT_SHARING", - "COMMISSIONS", - "TIPS", - "OTHER_COMPENSATION_TYPE" - ], - "enumDescriptions": [ - "Default value. Equivalent to OTHER_COMPENSATION_TYPE.", - "Base compensation: Refers to the fixed amount of money paid to an employee by an employer in return for work performed. Base compensation does not include benefits, bonuses or any other potential compensation from an employer.", - "Bonus.", - "Signing bonus.", - "Equity.", - "Profit sharing.", - "Commission.", - "Tips.", - "Other compensation type." - ], - "type": "string" - }, - "unit": { - "description": "Optional. Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.", - "enum": [ - "COMPENSATION_UNIT_UNSPECIFIED", - "HOURLY", - "DAILY", - "WEEKLY", - "MONTHLY", - "YEARLY", - "ONE_TIME", - "OTHER_COMPENSATION_UNIT" - ], - "enumDescriptions": [ - "Default value. Equivalent to OTHER_COMPENSATION_UNIT.", - "Hourly.", - "Daily.", - "Weekly", - "Monthly.", - "Yearly.", - "One time.", - "Other compensation units." - ], - "type": "string" - } - }, - "type": "object" - }, - "CompensationFilter": { - "description": "Input only. Filter on job compensation type and amount.", - "id": "CompensationFilter", - "properties": { - "includeJobsWithUnspecifiedCompensationRange": { - "description": "Optional. Whether to include jobs whose compensation range is unspecified.", - "type": "boolean" - }, - "range": { - "$ref": "CompensationRange", - "description": "Optional. Compensation range." - }, - "type": { - "description": "Required. Type of filter.", - "enum": [ - "FILTER_TYPE_UNSPECIFIED", - "UNIT_ONLY", - "UNIT_AND_AMOUNT", - "ANNUALIZED_BASE_AMOUNT", - "ANNUALIZED_TOTAL_AMOUNT" - ], - "enumDescriptions": [ - "Filter type unspecified. Position holder, INVALID, should never be used.", - "Filter by `base compensation entry's` unit. A job is a match if and only if the job contains a base CompensationEntry and the base CompensationEntry's unit matches provided units. Populate one or more units. See CompensationInfo.CompensationEntry for definition of base compensation entry.", - "Filter by `base compensation entry's` unit and amount / range. A job is a match if and only if the job contains a base CompensationEntry, and the base entry's unit matches provided compensation_units and amount or range overlaps with provided compensation_range. See CompensationInfo.CompensationEntry for definition of base compensation entry. Set exactly one units and populate range.", - "Filter by annualized base compensation amount and `base compensation entry's` unit. Populate range and zero or more units.", - "Filter by annualized total compensation amount and `base compensation entry's` unit . Populate range and zero or more units." - ], - "type": "string" - }, - "units": { - "description": "Required. Specify desired `base compensation entry's` CompensationInfo.CompensationUnit.", - "items": { - "enum": [ - "COMPENSATION_UNIT_UNSPECIFIED", - "HOURLY", - "DAILY", - "WEEKLY", - "MONTHLY", - "YEARLY", - "ONE_TIME", - "OTHER_COMPENSATION_UNIT" - ], - "enumDescriptions": [ - "Default value. Equivalent to OTHER_COMPENSATION_UNIT.", - "Hourly.", - "Daily.", - "Weekly", - "Monthly.", - "Yearly.", - "One time.", - "Other compensation units." - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CompensationHistogramRequest": { - "description": "Input only. Compensation based histogram request.", - "id": "CompensationHistogramRequest", - "properties": { - "bucketingOption": { - "$ref": "NumericBucketingOption", - "description": "Required. Numeric histogram options, like buckets, whether include min or max value." - }, - "type": { - "description": "Required. Type of the request, representing which field the histogramming should be performed over. A single request can only specify one histogram of each `CompensationHistogramRequestType`.", - "enum": [ - "COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", - "BASE", - "ANNUALIZED_BASE", - "ANNUALIZED_TOTAL" - ], - "enumDescriptions": [ - "Default value. Invalid.", - "Histogram by job's base compensation. See CompensationEntry for definition of base compensation.", - "Histogram by job's annualized base compensation. See CompensationEntry for definition of annualized base compensation.", - "Histogram by job's annualized total compensation. See CompensationEntry for definition of annualized total compensation." - ], - "type": "string" - } - }, - "type": "object" - }, - "CompensationHistogramResult": { - "description": "Output only. Compensation based histogram result.", - "id": "CompensationHistogramResult", - "properties": { - "result": { - "$ref": "NumericBucketingResult", - "description": "Histogram result." - }, - "type": { - "description": "Type of the request, corresponding to CompensationHistogramRequest.type.", - "enum": [ - "COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", - "BASE", - "ANNUALIZED_BASE", - "ANNUALIZED_TOTAL" - ], - "enumDescriptions": [ - "Default value. Invalid.", - "Histogram by job's base compensation. See CompensationEntry for definition of base compensation.", - "Histogram by job's annualized base compensation. See CompensationEntry for definition of annualized base compensation.", - "Histogram by job's annualized total compensation. See CompensationEntry for definition of annualized total compensation." - ], - "type": "string" - } - }, - "type": "object" - }, - "CompensationInfo": { - "description": "Job compensation details.", - "id": "CompensationInfo", - "properties": { - "amount": { - "$ref": "Money", - "description": "Deprecated. Use entries instead. Optional. The amount of compensation or pay for the job. As an alternative, compensation_amount_min and compensation_amount_max may be used to define a range of compensation." - }, - "annualizedBaseCompensationRange": { - "$ref": "CompensationRange", - "description": "Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.compensation times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization." - }, - "annualizedTotalCompensationRange": { - "$ref": "CompensationRange", - "description": "Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.compensation times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization." - }, - "entries": { - "description": "Optional. Job compensation information. At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as ** base compensation entry ** for the job.", - "items": { - "$ref": "CompensationEntry" - }, - "type": "array" - }, - "max": { - "$ref": "Money", - "description": "Deprecated. Use entries instead. Optional. An upper bound on a range for compensation or pay for the job. The currency type is specified in compensation_amount." - }, - "min": { - "$ref": "Money", - "description": "Deprecated. Use entries instead. Optional. A lower bound on a range for compensation or pay for the job. The currency type is specified in compensation_amount." - }, - "type": { - "description": "Deprecated. Use entries instead. Optional. Type of job compensation.", - "enum": [ - "JOB_COMPENSATION_TYPE_UNSPECIFIED", - "HOURLY", - "SALARY", - "PER_PROJECT", - "COMMISSION", - "OTHER_TYPE" - ], - "enumDescriptions": [ - "The default value if the type is not specified.", - "The job compensation is quoted by the number of hours worked.", - "The job compensation is quoted on an annual basis.", - "The job compensation is quoted by project completion.", - "The job compensation is quoted based solely on commission.", - "The job compensation is not quoted according to the listed compensation options." - ], - "type": "string" - } - }, - "type": "object" - }, - "CompensationRange": { - "description": "Compensation range.", - "id": "CompensationRange", - "properties": { - "max": { - "$ref": "Money", - "description": "Optional. The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation." - }, - "min": { - "$ref": "Money", - "description": "Optional. The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation." - } - }, - "type": "object" - }, - "CompleteQueryResponse": { - "description": "Output only. Response of auto-complete query.", - "id": "CompleteQueryResponse", - "properties": { - "completionResults": { - "description": "Results of the matching job/company candidates.", - "items": { - "$ref": "CompletionResult" - }, - "type": "array" - }, - "metadata": { - "$ref": "ResponseMetadata", - "description": "Additional information for the API invocation, such as the request tracking id." - } - }, - "type": "object" - }, - "CompletionResult": { - "description": "Output only. Resource that represents completion results.", - "id": "CompletionResult", - "properties": { - "imageUrl": { - "description": "The URL for the company logo if `type=COMPANY_NAME`.", - "type": "string" - }, - "suggestion": { - "description": "The suggestion for the query.", - "type": "string" - }, - "type": { - "description": "The completion topic.", - "enum": [ - "COMPLETION_TYPE_UNSPECIFIED", - "JOB_TITLE", - "COMPANY_NAME", - "COMBINED" - ], - "enumDescriptions": [ - "Default value.", - "Only suggest job titles.", - "Only suggest company names.", - "Suggest both job titles and company names." - ], - "type": "string" - } - }, - "type": "object" - }, - "CreateJobRequest": { - "description": "Input only. Create job request.", - "id": "CreateJobRequest", - "properties": { - "disableStreetAddressResolution": { - "description": "Deprecated. Please use processing_options. This flag is ignored if processing_options is set. Optional. If set to `true`, the service does not attempt to resolve a more precise address for the job.", - "type": "boolean" - }, - "job": { - "$ref": "Job", - "description": "Required. The Job to be created." - }, - "processingOptions": { - "$ref": "JobProcessingOptions", - "description": "Optional. Options for job processing." - } - }, - "type": "object" - }, - "CustomAttribute": { - "description": "Custom attribute values that are either filterable or non-filterable.", - "id": "CustomAttribute", - "properties": { - "filterable": { - "description": "Optional. If the `filterable` flag is true, custom field values are searchable. If false, values are not searchable. Default is false.", - "type": "boolean" - }, - "longValue": { - "description": "Optional but at least one of string_values or long_value must be specified. This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. For `long_value`, a value between Long.MIN and Long.MAX is allowed.", - "format": "int64", - "type": "string" - }, - "stringValues": { - "$ref": "StringValues", - "description": "Optional but at least one of string_values or long_value must be specified. This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or `CASE_INSENSITIVE_MATCH`) search. For filterable `string_values`, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 255B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB. Empty strings are not allowed." - } - }, - "type": "object" - }, - "CustomAttributeHistogramRequest": { - "description": "Custom attributes histogram request. An error will be thrown if neither string_value_histogram or long_value_histogram_bucketing_option has been defined.", - "id": "CustomAttributeHistogramRequest", - "properties": { - "key": { - "description": "Required. Specifies the custom field key to perform a histogram on. If specified without `long_value_histogram_bucketing_option`, histogram on string values of the given `key` is triggered, otherwise histogram is performed on long values.", - "type": "string" - }, - "longValueHistogramBucketingOption": { - "$ref": "NumericBucketingOption", - "description": "Optional. Specifies buckets used to perform a range histogram on Job's filterable long custom field values, or min/max value requirements." - }, - "stringValueHistogram": { - "description": "Optional. If set to true, the response will include the histogram value for each key as a string.", - "type": "boolean" - } - }, - "type": "object" - }, - "CustomAttributeHistogramResult": { - "description": "Output only. Custom attribute histogram result.", - "id": "CustomAttributeHistogramResult", - "properties": { - "key": { - "description": "Stores the key of custom attribute the histogram is performed on.", - "type": "string" - }, - "longValueHistogramResult": { - "$ref": "NumericBucketingResult", - "description": "Stores bucketed histogram counting result or min/max values for custom attribute long values associated with `key`." - }, - "stringValueHistogramResult": { - "additionalProperties": { - "format": "int32", - "type": "integer" - }, - "description": "Stores a map from the values of string custom field associated with `key` to the number of jobs with that value in this histogram result.", - "type": "object" - } - }, - "type": "object" - }, - "CustomField": { - "description": "Resource that represents the custom data not captured by the standard fields.", - "id": "CustomField", - "properties": { - "values": { - "description": "Optional. The values of the custom data.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomFieldFilter": { - "description": "Input only. Custom field filter of the search.", - "id": "CustomFieldFilter", - "properties": { - "queries": { - "description": "Required. The query strings for the filter.", - "items": { - "type": "string" - }, - "type": "array" - }, - "type": { - "description": "Optional. The type of filter. Defaults to FilterType.OR.", - "enum": [ - "FILTER_TYPE_UNSPECIFIED", - "OR", - "AND", - "NOT" - ], - "enumDescriptions": [ - "Default value.", - "Search for a match with any query.", - "Search for a match with all queries.", - "Negate the set of filter values for the search." - ], - "type": "string" - } - }, - "type": "object" - }, - "Date": { - "description": "Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent: * A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", - "id": "Date", - "properties": { - "day": { - "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant.", - "format": "int32", - "type": "integer" - }, - "month": { - "description": "Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day.", - "format": "int32", - "type": "integer" - }, - "year": { - "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "DeleteJobsByFilterRequest": { - "description": "Deprecated. Use BatchDeleteJobsRequest instead. Input only. Delete job by filter request. The job typically becomes unsearchable within 10 seconds, but it may take up to 5 minutes.", - "id": "DeleteJobsByFilterRequest", - "properties": { - "disableFastProcess": { - "description": "Optional. If set to true, this call waits for all processing steps to complete before the job is cleaned up. Otherwise, the call returns while some steps are still taking place asynchronously, hence faster.", - "type": "boolean" - }, - "filter": { - "$ref": "Filter", - "description": "Required. Restrictions on the scope of the delete request." - } - }, - "type": "object" - }, - "DeviceInfo": { - "description": "Input only. Device information collected from the job seeker, candidate, or other entity conducting the job search. Providing this information improves the quality of the search results across devices.", - "id": "DeviceInfo", - "properties": { - "deviceType": { - "description": "Optional. Type of the device.", - "enum": [ - "DEVICE_TYPE_UNSPECIFIED", - "WEB", - "MOBILE_WEB", - "ANDROID", - "IOS", - "BOT", - "OTHER" - ], - "enumDescriptions": [ - "The device type isn't specified.", - "A desktop web browser, such as, Chrome, Firefox, Safari, or Internet Explorer)", - "A mobile device web browser, such as a phone or tablet with a Chrome browser.", - "An Android device native application.", - "An iOS device native application.", - "A bot, as opposed to a device operated by human beings, such as a web crawler.", - "Other devices types." - ], - "type": "string" - }, - "id": { - "description": "Optional. A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "ExtendedCompensationFilter": { - "description": "Deprecated. Always use CompensationFilter. Input only. Filter on job compensation type and amount.", - "id": "ExtendedCompensationFilter", - "properties": { - "compensationRange": { - "$ref": "ExtendedCompensationInfoCompensationRange", - "description": "Optional. Compensation range." - }, - "compensationUnits": { - "description": "Required. Specify desired `base compensation entry's` ExtendedCompensationInfo.CompensationUnit.", - "items": { - "enum": [ - "EXTENDED_COMPENSATION_UNIT_UNSPECIFIED", - "HOURLY", - "DAILY", - "WEEKLY", - "MONTHLY", - "YEARLY", - "ONE_TIME", - "OTHER_COMPENSATION_UNIT" - ], - "enumDescriptions": [ - "Default value. Equivalent to OTHER_COMPENSATION_UNIT.", - "Hourly.", - "Daily.", - "Weekly", - "Monthly.", - "Yearly.", - "One time.", - "Other compensation units." - ], - "type": "string" - }, - "type": "array" - }, - "currency": { - "description": "Optional. Specify currency in 3-letter [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) format. If unspecified, jobs are returned regardless of currency.", - "type": "string" - }, - "includeJobWithUnspecifiedCompensationRange": { - "description": "Optional. Whether to include jobs whose compensation range is unspecified.", - "type": "boolean" - }, - "type": { - "description": "Required. Type of filter.", - "enum": [ - "FILTER_TYPE_UNSPECIFIED", - "UNIT_ONLY", - "UNIT_AND_AMOUNT", - "ANNUALIZED_BASE_AMOUNT", - "ANNUALIZED_TOTAL_AMOUNT" - ], - "enumDescriptions": [ - "Filter type unspecified. Position holder, INVALID, should never be used.", - "Filter by `base compensation entry's` unit. A job is a match if and only if the job contains a base CompensationEntry and the base CompensationEntry's unit matches provided compensation_units. Populate one or more compensation_units. See ExtendedCompensationInfo.CompensationEntry for definition of base compensation entry.", - "Filter by `base compensation entry's` unit and amount / range. A job is a match if and only if the job contains a base CompensationEntry, and the base entry's unit matches provided compensation_units and amount or range overlaps with provided compensation_range. See ExtendedCompensationInfo.CompensationEntry for definition of base compensation entry. Set exactly one compensation_units and populate compensation_range.", - "Filter by annualized base compensation amount and `base compensation entry's` unit. Populate compensation_range and zero or more compensation_units.", - "Filter by annualized total compensation amount and `base compensation entry's` unit . Populate compensation_range and zero or more compensation_units." - ], - "type": "string" - } - }, - "type": "object" - }, - "ExtendedCompensationInfo": { - "description": "Deprecated. Use CompensationInfo. Describes job compensation.", - "id": "ExtendedCompensationInfo", - "properties": { - "annualizedBaseCompensationRange": { - "$ref": "ExtendedCompensationInfoCompensationRange", - "description": "Output only. Annualized base compensation range." - }, - "annualizedBaseCompensationUnspecified": { - "description": "Output only. Indicates annualized base compensation range cannot be derived, due to the job's base compensation entry cannot be annualized. See CompensationEntry for explanation on annualization and base compensation entry.", - "type": "boolean" - }, - "annualizedTotalCompensationRange": { - "$ref": "ExtendedCompensationInfoCompensationRange", - "description": "Output only. Annualized total compensation range." - }, - "annualizedTotalCompensationUnspecified": { - "description": "Output only. Indicates annualized total compensation range cannot be derived, due to the job's all CompensationEntry cannot be annualized. See CompensationEntry for explanation on annualization and base compensation entry.", - "type": "boolean" - }, - "currency": { - "description": "Optional. A 3-letter [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code.", - "type": "string" - }, - "entries": { - "description": "Optional. Job compensation information. At most one entry can be of type ExtendedCompensationInfo.CompensationType.BASE, which is referred as ** base compensation entry ** for the job.", - "items": { - "$ref": "ExtendedCompensationInfoCompensationEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "ExtendedCompensationInfoCompensationEntry": { - "description": "Deprecated. See CompensationInfo. A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if - it contains valid amount or range. - and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.", - "id": "ExtendedCompensationInfoCompensationEntry", - "properties": { - "amount": { - "$ref": "ExtendedCompensationInfoDecimal", - "description": "Optional. Monetary amount." - }, - "description": { - "description": "Optional. Compensation description.", - "type": "string" - }, - "expectedUnitsPerYear": { - "$ref": "ExtendedCompensationInfoDecimal", - "description": "Optional. Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1" - }, - "range": { - "$ref": "ExtendedCompensationInfoCompensationRange", - "description": "Optional. Compensation range." - }, - "type": { - "description": "Required. Compensation type.", - "enum": [ - "EXTENDED_COMPENSATION_TYPE_UNSPECIFIED", - "BASE", - "BONUS", - "SIGNING_BONUS", - "EQUITY", - "PROFIT_SHARING", - "COMMISSIONS", - "TIPS", - "OTHER_COMPENSATION_TYPE" - ], - "enumDescriptions": [ - "Default value. Equivalent to OTHER_COMPENSATION_TYPE.", - "Base compensation: Refers to the fixed amount of money paid to an employee by an employer in return for work performed. Base compensation does not include benefits, bonuses or any other potential compensation from an employer.", - "Bonus.", - "Signing bonus.", - "Equity.", - "Profit sharing.", - "Commission.", - "Tips.", - "Other compensation type." - ], - "type": "string" - }, - "unit": { - "description": "Optional. Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.", - "enum": [ - "EXTENDED_COMPENSATION_UNIT_UNSPECIFIED", - "HOURLY", - "DAILY", - "WEEKLY", - "MONTHLY", - "YEARLY", - "ONE_TIME", - "OTHER_COMPENSATION_UNIT" - ], - "enumDescriptions": [ - "Default value. Equivalent to OTHER_COMPENSATION_UNIT.", - "Hourly.", - "Daily.", - "Weekly", - "Monthly.", - "Yearly.", - "One time.", - "Other compensation units." - ], - "type": "string" - }, - "unspecified": { - "description": "Optional. Indicates compensation amount and range are unset.", - "type": "boolean" - } - }, - "type": "object" - }, - "ExtendedCompensationInfoCompensationRange": { - "description": "Deprecated. See CompensationInfo. Compensation range.", - "id": "ExtendedCompensationInfoCompensationRange", - "properties": { - "max": { - "$ref": "ExtendedCompensationInfoDecimal", - "description": "Required. Maximum value." - }, - "min": { - "$ref": "ExtendedCompensationInfoDecimal", - "description": "Required. Minimum value." - } - }, - "type": "object" - }, - "ExtendedCompensationInfoDecimal": { - "description": "Deprecated. See CompensationInfo. Decimal number.", - "id": "ExtendedCompensationInfoDecimal", - "properties": { - "micros": { - "description": "Micro (10^-6) units. The value must be between -999,999 and +999,999 inclusive. If `units` is positive, `micros` must be positive or zero. If `units` is zero, `micros` can be positive, zero, or negative. If `units` is negative, `micros` must be negative or zero. For example -1.75 is represented as `units`=-1 and `micros`=-750,000.", - "format": "int32", - "type": "integer" - }, - "units": { - "description": "Whole units.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Filter": { - "description": "Deprecated. Use BatchDeleteJobsRequest instead. Input only. Filter for jobs to be deleted.", - "id": "Filter", - "properties": { - "requisitionId": { - "description": "Required. The requisition ID (or posting ID) assigned by the client to identify a job. This is intended for client identification and tracking of listings. name takes precedence over this field The maximum number of allowed characters is 225.", - "type": "string" - } - }, - "type": "object" - }, - "GetHistogramRequest": { - "description": "Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single call with both search and histogram. Input only. A request for the `GetHistogram` method.", - "id": "GetHistogramRequest", - "properties": { - "allowBroadening": { - "description": "Optional. Controls whether to broaden the search to avoid too few results for a given query in instances where a search has sparse results. Results from a broadened query is a superset of the results from the original query. Defaults to false.", - "type": "boolean" - }, - "filters": { - "$ref": "JobFilters", - "description": "Deprecated. Use query instead. Optional. Restrictions on the scope of the histogram." - }, - "query": { - "$ref": "JobQuery", - "description": "Optional. Query used to search against jobs, such as keyword, location filters, etc." - }, - "requestMetadata": { - "$ref": "RequestMetadata", - "description": "Meta information, such as `user_id`, collected from the job searcher or other entity conducting a job search, is used to improve the service's search quality. Users determine identifier values, which must be unique and consist." - }, - "searchTypes": { - "description": "Required. A list of facets that specify the histogram data to be calculated against and returned. Histogram response times can be slow, and counts can be approximations. This call may be temporarily or permanently removed prior to the production release of Cloud Talent Solution.", - "items": { - "enum": [ - "JOB_FIELD_UNSPECIFIED", - "COMPANY_ID", - "EMPLOYMENT_TYPE", - "COMPANY_SIZE", - "DATE_PUBLISHED", - "CUSTOM_FIELD_1", - "CUSTOM_FIELD_2", - "CUSTOM_FIELD_3", - "CUSTOM_FIELD_4", - "CUSTOM_FIELD_5", - "CUSTOM_FIELD_6", - "CUSTOM_FIELD_7", - "CUSTOM_FIELD_8", - "CUSTOM_FIELD_9", - "CUSTOM_FIELD_10", - "CUSTOM_FIELD_11", - "CUSTOM_FIELD_12", - "CUSTOM_FIELD_13", - "CUSTOM_FIELD_14", - "CUSTOM_FIELD_15", - "CUSTOM_FIELD_16", - "CUSTOM_FIELD_17", - "CUSTOM_FIELD_18", - "CUSTOM_FIELD_19", - "CUSTOM_FIELD_20", - "EDUCATION_LEVEL", - "EXPERIENCE_LEVEL", - "ADMIN1", - "COUNTRY", - "CITY", - "LOCALE", - "LANGUAGE", - "CATEGORY", - "CITY_COORDINATE", - "ADMIN1_COUNTRY", - "COMPANY_TITLE", - "COMPANY_DISPLAY_NAME", - "BASE_COMPENSATION_UNIT" - ], - "enumDescriptions": [ - "The default value if search type is not specified.", - "Filter by the company id field.", - "Filter by the employment type field, such as `FULL_TIME` or `PART_TIME`.", - "Filter by the company size type field, such as `BIG`, `SMALL` or `BIGGER`.", - "Filter by the date published field. Values are stringified with TimeRange, for example, TimeRange.PAST_MONTH.", - "Filter by custom field 1.", - "Filter by custom field 2.", - "Filter by custom field 3.", - "Filter by custom field 4.", - "Filter by custom field 5.", - "Filter by custom field 6.", - "Filter by custom field 7.", - "Filter by custom field 8.", - "Filter by custom field 9.", - "Filter by custom field 10.", - "Filter by custom field 11.", - "Filter by custom field 12.", - "Filter by custom field 13.", - "Filter by custom field 14.", - "Filter by custom field 15.", - "Filter by custom field 16.", - "Filter by custom field 17.", - "Filter by custom field 18.", - "Filter by custom field 19.", - "Filter by custom field 20.", - "Filter by the required education level of the job.", - "Filter by the required experience level of the job.", - "Filter by Admin1, which is a global placeholder for referring to state, province, or the particular term a country uses to define the geographic structure below the country level. Examples include states codes such as \"CA\", \"IL\", \"NY\", and provinces, such as \"BC\".", - "Filter by the country code of job, such as US, JP, FR.", - "Filter by the \"city name\", \"Admin1 code\", for example, \"Mountain View, CA\" or \"New York, NY\".", - "Filter by the locale field of a job, such as \"en-US\", \"fr-FR\". This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", - "Filter by the language code portion of the locale field, such as \"en\" or \"fr\".", - "Filter by the Category.", - "Filter by the city center GPS coordinate (latitude and longitude), for example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, clients may need to refresh them periodically.", - "A combination of state or province code with a country code. This field differs from `JOB_ADMIN1`, which can be used in multiple countries.", - "Deprecated. Use COMPANY_DISPLAY_NAME instead. Company display name.", - "Company display name.", - "Base compensation unit." - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetHistogramResponse": { - "description": "Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single call with both search and histogram. Output only. The response of the GetHistogram method.", - "id": "GetHistogramResponse", - "properties": { - "metadata": { - "$ref": "ResponseMetadata", - "description": "Additional information for the API invocation, such as the request tracking id." - }, - "results": { - "description": "The Histogram results.", - "items": { - "$ref": "HistogramResult" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4BatchCreateJobsResponse": { - "description": "The result of JobService.BatchCreateJobs. It's used to replace google.longrunning.Operation.response in case of success.", - "id": "GoogleCloudTalentV4BatchCreateJobsResponse", - "properties": { - "jobResults": { - "description": "List of job mutation results from a batch create operation. It can change until operation status is FINISHED, FAILED or CANCELLED.", - "items": { - "$ref": "GoogleCloudTalentV4JobResult" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4BatchDeleteJobsResponse": { - "description": "The result of JobService.BatchDeleteJobs. It's used to replace google.longrunning.Operation.response in case of success.", - "id": "GoogleCloudTalentV4BatchDeleteJobsResponse", - "properties": { - "jobResults": { - "description": "List of job mutation results from a batch delete operation. It can change until operation status is FINISHED, FAILED or CANCELLED.", - "items": { - "$ref": "GoogleCloudTalentV4JobResult" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4BatchOperationMetadata": { - "description": "Metadata used for long running operations returned by CTS batch APIs. It's used to replace google.longrunning.Operation.metadata.", - "id": "GoogleCloudTalentV4BatchOperationMetadata", - "properties": { - "createTime": { - "description": "The time when the batch operation is created.", - "format": "google-datetime", - "type": "string" - }, - "endTime": { - "description": "The time when the batch operation is finished and google.longrunning.Operation.done is set to `true`.", - "format": "google-datetime", - "type": "string" - }, - "failureCount": { - "description": "Count of failed item(s) inside an operation.", - "format": "int32", - "type": "integer" - }, - "state": { - "description": "The state of a long running operation.", - "enum": [ - "STATE_UNSPECIFIED", - "INITIALIZING", - "PROCESSING", - "SUCCEEDED", - "FAILED", - "CANCELLING", - "CANCELLED" - ], - "enumDescriptions": [ - "Default value.", - "The batch operation is being prepared for processing.", - "The batch operation is actively being processed.", - "The batch operation is processed, and at least one item has been successfully processed.", - "The batch operation is done and no item has been successfully processed.", - "The batch operation is in the process of cancelling after google.longrunning.Operations.CancelOperation is called.", - "The batch operation is done after google.longrunning.Operations.CancelOperation is called. Any items processed before cancelling are returned in the response." - ], - "type": "string" - }, - "stateDescription": { - "description": "More detailed information about operation state.", - "type": "string" - }, - "successCount": { - "description": "Count of successful item(s) inside an operation.", - "format": "int32", - "type": "integer" - }, - "totalCount": { - "description": "Count of total item(s) inside an operation.", - "format": "int32", - "type": "integer" - }, - "updateTime": { - "description": "The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4BatchUpdateJobsResponse": { - "description": "The result of JobService.BatchUpdateJobs. It's used to replace google.longrunning.Operation.response in case of success.", - "id": "GoogleCloudTalentV4BatchUpdateJobsResponse", - "properties": { - "jobResults": { - "description": "List of job mutation results from a batch update operation. It can change until operation status is FINISHED, FAILED or CANCELLED.", - "items": { - "$ref": "GoogleCloudTalentV4JobResult" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4CompensationInfo": { - "description": "Job compensation details.", - "id": "GoogleCloudTalentV4CompensationInfo", - "properties": { - "annualizedBaseCompensationRange": { - "$ref": "GoogleCloudTalentV4CompensationInfoCompensationRange", - "description": "Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.amount times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization.", - "readOnly": true - }, - "annualizedTotalCompensationRange": { - "$ref": "GoogleCloudTalentV4CompensationInfoCompensationRange", - "description": "Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.amount times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization.", - "readOnly": true - }, - "entries": { - "description": "Job compensation information. At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as **base compensation entry** for the job.", - "items": { - "$ref": "GoogleCloudTalentV4CompensationInfoCompensationEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4CompensationInfoCompensationEntry": { - "description": "A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if - it contains valid amount or range. - and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.", - "id": "GoogleCloudTalentV4CompensationInfoCompensationEntry", - "properties": { - "amount": { - "$ref": "Money", - "description": "Compensation amount." - }, - "description": { - "description": "Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.", - "type": "string" - }, - "expectedUnitsPerYear": { - "description": "Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1", - "format": "double", - "type": "number" - }, - "range": { - "$ref": "GoogleCloudTalentV4CompensationInfoCompensationRange", - "description": "Compensation range." - }, - "type": { - "description": "Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.", - "enum": [ - "COMPENSATION_TYPE_UNSPECIFIED", - "BASE", - "BONUS", - "SIGNING_BONUS", - "EQUITY", - "PROFIT_SHARING", - "COMMISSIONS", - "TIPS", - "OTHER_COMPENSATION_TYPE" - ], - "enumDescriptions": [ - "Default value.", - "Base compensation: Refers to the fixed amount of money paid to an employee by an employer in return for work performed. Base compensation does not include benefits, bonuses or any other potential compensation from an employer.", - "Bonus.", - "Signing bonus.", - "Equity.", - "Profit sharing.", - "Commission.", - "Tips.", - "Other compensation type." - ], - "type": "string" - }, - "unit": { - "description": "Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.", - "enum": [ - "COMPENSATION_UNIT_UNSPECIFIED", - "HOURLY", - "DAILY", - "WEEKLY", - "MONTHLY", - "YEARLY", - "ONE_TIME", - "OTHER_COMPENSATION_UNIT" - ], - "enumDescriptions": [ - "Default value.", - "Hourly.", - "Daily.", - "Weekly", - "Monthly.", - "Yearly.", - "One time.", - "Other compensation units." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4CompensationInfoCompensationRange": { - "description": "Compensation range.", - "id": "GoogleCloudTalentV4CompensationInfoCompensationRange", - "properties": { - "maxCompensation": { - "$ref": "Money", - "description": "The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation." - }, - "minCompensation": { - "$ref": "Money", - "description": "The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation." - } - }, - "type": "object" - }, - "GoogleCloudTalentV4CustomAttribute": { - "description": "Custom attribute values that are either filterable or non-filterable.", - "id": "GoogleCloudTalentV4CustomAttribute", - "properties": { - "filterable": { - "description": "If the `filterable` flag is true, the custom field values may be used for custom attribute filters JobQuery.custom_attribute_filter. If false, these values may not be used for custom attribute filters. Default is false.", - "type": "boolean" - }, - "keywordSearchable": { - "description": "If the `keyword_searchable` flag is true, the keywords in custom fields are searchable by keyword match. If false, the values are not searchable by keyword match. Default is false.", - "type": "boolean" - }, - "longValues": { - "description": "Exactly one of string_values or long_values must be specified. This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. Currently at most 1 long_values is supported.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "stringValues": { - "description": "Exactly one of string_values or long_values must be specified. This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or `CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 500B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4Job": { - "description": "A Job resource represents a job posting (also referred to as a \"job listing\" or \"job requisition\"). A job belongs to a Company, which is the hiring entity responsible for the job.", - "id": "GoogleCloudTalentV4Job", - "properties": { - "addresses": { - "description": "Strongly recommended for the best service experience. Location(s) where the employer is looking to hire for this job posting. Specifying the full street address(es) of the hiring location enables better API results, especially job searches by commute time. At most 50 locations are allowed for best search performance. If a job has more locations, it is suggested to split it into multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original requisition_id must be preserved, a custom field should be used for storage. It is also suggested to group the locations that close to each other in the same job for better search experience. The maximum number of allowed characters is 500.", - "items": { - "type": "string" - }, - "type": "array" - }, - "applicationInfo": { - "$ref": "GoogleCloudTalentV4JobApplicationInfo", - "description": "Job application information." - }, - "company": { - "description": "Required. The resource name of the company listing the job. The format is \"projects/{project_id}/tenants/{tenant_id}/companies/{company_id}\". For example, \"projects/foo/tenants/bar/companies/baz\".", - "type": "string" - }, - "companyDisplayName": { - "description": "Output only. Display name of the company listing the job.", - "readOnly": true, - "type": "string" - }, - "compensationInfo": { - "$ref": "GoogleCloudTalentV4CompensationInfo", - "description": "Job compensation information (a.k.a. \"pay rate\") i.e., the compensation that will paid to the employee." - }, - "customAttributes": { - "additionalProperties": { - "$ref": "GoogleCloudTalentV4CustomAttribute" - }, - "description": "A map of fields to hold both filterable and non-filterable custom job attributes that are not covered by the provided structured fields. The keys of the map are strings up to 64 bytes and must match the pattern: a-zA-Z*. For example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most 100 unfilterable keys are supported. For filterable `string_values`, across all keys at most 200 values are allowed, with each string no more than 255 characters. For unfilterable `string_values`, the maximum total size of `string_values` across all keys is 50KB.", - "type": "object" - }, - "degreeTypes": { - "description": "The desired education degrees for the job, such as Bachelors, Masters.", - "items": { - "enum": [ - "DEGREE_TYPE_UNSPECIFIED", - "PRIMARY_EDUCATION", - "LOWER_SECONDARY_EDUCATION", - "UPPER_SECONDARY_EDUCATION", - "ADULT_REMEDIAL_EDUCATION", - "ASSOCIATES_OR_EQUIVALENT", - "BACHELORS_OR_EQUIVALENT", - "MASTERS_OR_EQUIVALENT", - "DOCTORAL_OR_EQUIVALENT" - ], - "enumDescriptions": [ - "Default value. Represents no degree, or early childhood education. Maps to ISCED code 0. Ex) Kindergarten", - "Primary education which is typically the first stage of compulsory education. ISCED code 1. Ex) Elementary school", - "Lower secondary education; First stage of secondary education building on primary education, typically with a more subject-oriented curriculum. ISCED code 2. Ex) Middle school", - "Middle education; Second/final stage of secondary education preparing for tertiary education and/or providing skills relevant to employment. Usually with an increased range of subject options and streams. ISCED code 3. Ex) High school", - "Adult Remedial Education; Programmes providing learning experiences that build on secondary education and prepare for labour market entry and/or tertiary education. The content is broader than secondary but not as complex as tertiary education. ISCED code 4.", - "Associate's or equivalent; Short first tertiary programmes that are typically practically-based, occupationally-specific and prepare for labour market entry. These programmes may also provide a pathway to other tertiary programmes. ISCED code 5.", - "Bachelor's or equivalent; Programmes designed to provide intermediate academic and/or professional knowledge, skills and competencies leading to a first tertiary degree or equivalent qualification. ISCED code 6.", - "Master's or equivalent; Programmes designed to provide advanced academic and/or professional knowledge, skills and competencies leading to a second tertiary degree or equivalent qualification. ISCED code 7.", - "Doctoral or equivalent; Programmes designed primarily to lead to an advanced research qualification, usually concluding with the submission and defense of a substantive dissertation of publishable quality based on original research. ISCED code 8." - ], - "type": "string" - }, - "type": "array" - }, - "department": { - "description": "The department or functional area within the company with the open position. The maximum number of allowed characters is 255.", - "type": "string" - }, - "derivedInfo": { - "$ref": "GoogleCloudTalentV4JobDerivedInfo", - "description": "Output only. Derived details about the job posting.", - "readOnly": true - }, - "description": { - "description": "Required. The description of the job, which typically includes a multi-paragraph description of the company and related information. Separate fields are provided on the job object for responsibilities, qualifications, and other job characteristics. Use of these separate job fields is recommended. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 100,000.", - "type": "string" - }, - "employmentTypes": { - "description": "The employment type(s) of a job, for example, full time or part time.", - "items": { - "enum": [ - "EMPLOYMENT_TYPE_UNSPECIFIED", - "FULL_TIME", - "PART_TIME", - "CONTRACTOR", - "CONTRACT_TO_HIRE", - "TEMPORARY", - "INTERN", - "VOLUNTEER", - "PER_DIEM", - "FLY_IN_FLY_OUT", - "OTHER_EMPLOYMENT_TYPE" - ], - "enumDescriptions": [ - "The default value if the employment type isn't specified.", - "The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", - "The job entails working fewer hours than a full time job, typically less than 40 hours a week.", - "The job is offered as a contracted, as opposed to a salaried employee, position.", - "The job is offered as a contracted position with the understanding that it's converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", - "The job is offered as a temporary employment opportunity, usually a short-term engagement.", - "The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", - "The is an opportunity for an individual to volunteer, where there's no expectation of compensation for the provided services.", - "The job requires an employee to work on an as-needed basis with a flexible schedule.", - "The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", - "The job does not fit any of the other listed types." - ], - "type": "string" - }, - "type": "array" - }, - "incentives": { - "description": "A description of bonus, commission, and other compensation incentives associated with the job not including salary or pay. The maximum number of allowed characters is 10,000.", - "type": "string" - }, - "jobBenefits": { - "description": "The benefits included with the job.", - "items": { - "enum": [ - "JOB_BENEFIT_UNSPECIFIED", - "CHILD_CARE", - "DENTAL", - "DOMESTIC_PARTNER", - "FLEXIBLE_HOURS", - "MEDICAL", - "LIFE_INSURANCE", - "PARENTAL_LEAVE", - "RETIREMENT_PLAN", - "SICK_DAYS", - "VACATION", - "VISION" - ], - "enumDescriptions": [ - "Default value if the type isn't specified.", - "The job includes access to programs that support child care, such as daycare.", - "The job includes dental services covered by a dental insurance plan.", - "The job offers specific benefits to domestic partners.", - "The job allows for a flexible work schedule.", - "The job includes health services covered by a medical insurance plan.", - "The job includes a life insurance plan provided by the employer or available for purchase by the employee.", - "The job allows for a leave of absence to a parent to care for a newborn child.", - "The job includes a workplace retirement plan provided by the employer or available for purchase by the employee.", - "The job allows for paid time off due to illness.", - "The job includes paid time off for vacation.", - "The job includes vision services covered by a vision insurance plan." - ], - "type": "string" - }, - "type": "array" - }, - "jobEndTime": { - "description": "The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.", - "format": "google-datetime", - "type": "string" - }, - "jobLevel": { - "description": "The experience level associated with the job, such as \"Entry Level\".", - "enum": [ - "JOB_LEVEL_UNSPECIFIED", - "ENTRY_LEVEL", - "EXPERIENCED", - "MANAGER", - "DIRECTOR", - "EXECUTIVE" - ], - "enumDescriptions": [ - "The default value if the level isn't specified.", - "Entry-level individual contributors, typically with less than 2 years of experience in a similar role. Includes interns.", - "Experienced individual contributors, typically with 2+ years of experience in a similar role.", - "Entry- to mid-level managers responsible for managing a team of people.", - "Senior-level managers responsible for managing teams of managers.", - "Executive-level managers and above, including C-level positions." - ], - "type": "string" - }, - "jobStartTime": { - "description": "The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.", - "format": "google-datetime", - "type": "string" - }, - "languageCode": { - "description": "The language of the posting. This field is distinct from any requirements for fluency that are associated with the job. Language codes must be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: class=\"external\" target=\"_blank\" }. If this field is unspecified and Job.description is present, detected language code based on Job.description is assigned, otherwise defaults to 'en_US'.", - "type": "string" - }, - "name": { - "description": "Required during job update. The resource name for the job. This is generated by the service when a job is created. The format is \"projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}\". For example, \"projects/foo/tenants/bar/jobs/baz\". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.", - "type": "string" - }, - "postingCreateTime": { - "description": "Output only. The timestamp when this job posting was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "postingExpireTime": { - "description": "Strongly recommended for the best service experience. The expiration timestamp of the job. After this timestamp, the job is marked as expired, and it no longer appears in search results. The expired job can't be listed by the ListJobs API, but it can be retrieved with the GetJob API or updated with the UpdateJob API or deleted with the DeleteJob API. An expired job can be updated and opened again by using a future expiration timestamp. Updating an expired job fails if there is another existing open job with same company, language_code and requisition_id. The expired jobs are retained in our system for 90 days. However, the overall expired job count cannot exceed 3 times the maximum number of open jobs over previous 7 days. If this threshold is exceeded, expired jobs are cleaned out in order of earliest expire time. Expired jobs are no longer accessible after they are cleaned out. Invalid timestamps are ignored, and treated as expire time not provided. If the timestamp is before the instant request is made, the job is treated as expired immediately on creation. This kind of job can not be updated. And when creating a job with past timestamp, the posting_publish_time must be set before posting_expire_time. The purpose of this feature is to allow other objects, such as Application, to refer a job that didn't exist in the system prior to becoming expired. If you want to modify a job that was expired on creation, delete it and create a new one. If this value isn't provided at the time of job creation or is invalid, the job posting expires after 30 days from the job's creation time. For example, if the job was created on 2017/01/01 13:00AM UTC with an unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. If this value isn't provided on job update, it depends on the field masks set by UpdateJobRequest.update_mask. If the field masks include job_end_time, or the masks are empty meaning that every field is updated, the job posting expires after 30 days from the job's last update time. Otherwise the expiration date isn't updated.", - "format": "google-datetime", - "type": "string" - }, - "postingPublishTime": { - "description": "The timestamp this job posting was most recently published. The default value is the time the request arrives at the server. Invalid timestamps are ignored.", - "format": "google-datetime", - "type": "string" - }, - "postingRegion": { - "description": "The job PostingRegion (for example, state, country) throughout which the job is available. If this field is set, a LocationFilter in a search query within the job region finds this job posting if an exact location match isn't specified. If this field is set to PostingRegion.NATION or PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as this field is strongly recommended.", - "enum": [ - "POSTING_REGION_UNSPECIFIED", - "ADMINISTRATIVE_AREA", - "NATION", - "TELECOMMUTE" - ], - "enumDescriptions": [ - "If the region is unspecified, the job is only returned if it matches the LocationFilter.", - "In addition to exact location matching, job posting is returned when the LocationFilter in the search query is in the same administrative area as the returned job posting. For example, if a `ADMINISTRATIVE_AREA` job is posted in \"CA, USA\", it's returned if LocationFilter has \"Mountain View\". Administrative area refers to top-level administrative subdivision of this country. For example, US state, IT region, UK constituent nation and JP prefecture.", - "In addition to exact location matching, job is returned when LocationFilter in search query is in the same country as this job. For example, if a `NATION_WIDE` job is posted in \"USA\", it's returned if LocationFilter has 'Mountain View'.", - "Job allows employees to work remotely (telecommute). If locations are provided with this value, the job is considered as having a location, but telecommuting is allowed." - ], - "type": "string" - }, - "postingUpdateTime": { - "description": "Output only. The timestamp when this job posting was last updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "processingOptions": { - "$ref": "GoogleCloudTalentV4JobProcessingOptions", - "description": "Options for job processing." - }, - "promotionValue": { - "description": "A promotion value of the job, as determined by the client. The value determines the sort order of the jobs returned when searching for jobs using the featured jobs search call, with higher promotional values being returned first and ties being resolved by relevance sort. Only the jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0, and negative values are treated as 0.", - "format": "int32", - "type": "integer" - }, - "qualifications": { - "description": "A description of the qualifications required to perform the job. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000.", - "type": "string" - }, - "requisitionId": { - "description": "Required. The requisition ID, also referred to as the posting ID, is assigned by the client to identify a job. This field is intended to be used by clients for client identification and tracking of postings. A job isn't allowed to be created if there is another job with the same company, language_code and requisition_id. The maximum number of allowed characters is 255.", - "type": "string" - }, - "responsibilities": { - "description": "A description of job responsibilities. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000.", - "type": "string" - }, - "title": { - "description": "Required. The title of the job, such as \"Software Engineer\" The maximum number of allowed characters is 500.", - "type": "string" - }, - "visibility": { - "description": "Deprecated. The job is only visible to the owner. The visibility of the job. Defaults to Visibility.ACCOUNT_ONLY if not specified.", - "enum": [ - "VISIBILITY_UNSPECIFIED", - "ACCOUNT_ONLY", - "SHARED_WITH_GOOGLE", - "SHARED_WITH_PUBLIC" - ], - "enumDescriptions": [ - "Default value.", - "The resource is only visible to the GCP account who owns it.", - "The resource is visible to the owner and may be visible to other applications and processes at Google.", - "The resource is visible to the owner and may be visible to all other API clients." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4JobApplicationInfo": { - "description": "Application related details of a job posting.", - "id": "GoogleCloudTalentV4JobApplicationInfo", - "properties": { - "emails": { - "description": "Use this field to specify email address(es) to which resumes or applications can be sent. The maximum number of allowed characters for each entry is 255.", - "items": { - "type": "string" - }, - "type": "array" - }, - "instruction": { - "description": "Use this field to provide instructions, such as \"Mail your application to ...\", that a candidate can follow to apply for the job. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 3,000.", - "type": "string" - }, - "uris": { - "description": "Use this URI field to direct an applicant to a website, for example to link to an online application form. The maximum number of allowed characters for each entry is 2,000.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4JobDerivedInfo": { - "description": "Derived details about the job posting.", - "id": "GoogleCloudTalentV4JobDerivedInfo", - "properties": { - "jobCategories": { - "description": "Job categories derived from Job.title and Job.description.", - "items": { - "enum": [ - "JOB_CATEGORY_UNSPECIFIED", - "ACCOUNTING_AND_FINANCE", - "ADMINISTRATIVE_AND_OFFICE", - "ADVERTISING_AND_MARKETING", - "ANIMAL_CARE", - "ART_FASHION_AND_DESIGN", - "BUSINESS_OPERATIONS", - "CLEANING_AND_FACILITIES", - "COMPUTER_AND_IT", - "CONSTRUCTION", - "CUSTOMER_SERVICE", - "EDUCATION", - "ENTERTAINMENT_AND_TRAVEL", - "FARMING_AND_OUTDOORS", - "HEALTHCARE", - "HUMAN_RESOURCES", - "INSTALLATION_MAINTENANCE_AND_REPAIR", - "LEGAL", - "MANAGEMENT", - "MANUFACTURING_AND_WAREHOUSE", - "MEDIA_COMMUNICATIONS_AND_WRITING", - "OIL_GAS_AND_MINING", - "PERSONAL_CARE_AND_SERVICES", - "PROTECTIVE_SERVICES", - "REAL_ESTATE", - "RESTAURANT_AND_HOSPITALITY", - "SALES_AND_RETAIL", - "SCIENCE_AND_ENGINEERING", - "SOCIAL_SERVICES_AND_NON_PROFIT", - "SPORTS_FITNESS_AND_RECREATION", - "TRANSPORTATION_AND_LOGISTICS" - ], - "enumDescriptions": [ - "The default value if the category isn't specified.", - "An accounting and finance job, such as an Accountant.", - "An administrative and office job, such as an Administrative Assistant.", - "An advertising and marketing job, such as Marketing Manager.", - "An animal care job, such as Veterinarian.", - "An art, fashion, or design job, such as Designer.", - "A business operations job, such as Business Operations Manager.", - "A cleaning and facilities job, such as Custodial Staff.", - "A computer and IT job, such as Systems Administrator.", - "A construction job, such as General Laborer.", - "A customer service job, such s Cashier.", - "An education job, such as School Teacher.", - "An entertainment and travel job, such as Flight Attendant.", - "A farming or outdoor job, such as Park Ranger.", - "A healthcare job, such as Registered Nurse.", - "A human resources job, such as Human Resources Director.", - "An installation, maintenance, or repair job, such as Electrician.", - "A legal job, such as Law Clerk.", - "A management job, often used in conjunction with another category, such as Store Manager.", - "A manufacturing or warehouse job, such as Assembly Technician.", - "A media, communications, or writing job, such as Media Relations.", - "An oil, gas or mining job, such as Offshore Driller.", - "A personal care and services job, such as Hair Stylist.", - "A protective services job, such as Security Guard.", - "A real estate job, such as Buyer's Agent.", - "A restaurant and hospitality job, such as Restaurant Server.", - "A sales and/or retail job, such Sales Associate.", - "A science and engineering job, such as Lab Technician.", - "A social services or non-profit job, such as Case Worker.", - "A sports, fitness, or recreation job, such as Personal Trainer.", - "A transportation or logistics job, such as Truck Driver." - ], - "type": "string" - }, - "type": "array" - }, - "locations": { - "description": "Structured locations of the job, resolved from Job.addresses. locations are exactly matched to Job.addresses in the same order.", - "items": { - "$ref": "GoogleCloudTalentV4Location" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4JobProcessingOptions": { - "description": "Options for job processing.", - "id": "GoogleCloudTalentV4JobProcessingOptions", - "properties": { - "disableStreetAddressResolution": { - "description": "If set to `true`, the service does not attempt to resolve a more precise address for the job.", - "type": "boolean" - }, - "htmlSanitization": { - "description": "Option for job HTML content sanitization. Applied fields are: * description * applicationInfo.instruction * incentives * qualifications * responsibilities HTML tags in these fields may be stripped if sanitiazation isn't disabled. Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.", - "enum": [ - "HTML_SANITIZATION_UNSPECIFIED", - "HTML_SANITIZATION_DISABLED", - "SIMPLE_FORMATTING_ONLY" - ], - "enumDescriptions": [ - "Default value.", - "Disables sanitization on HTML input.", - "Sanitizes HTML input, only accepts bold, italic, ordered list, and unordered list markup tags." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudTalentV4JobResult": { - "description": "Mutation result of a job from a batch operation.", - "id": "GoogleCloudTalentV4JobResult", - "properties": { - "job": { - "$ref": "GoogleCloudTalentV4Job", - "description": "Here Job only contains basic information including name, company, language_code and requisition_id, use getJob method to retrieve detailed information of the created/updated job." - }, - "status": { - "$ref": "Status", - "description": "The status of the job processed. This field is populated if the processing of the job fails." - } - }, - "type": "object" - }, - "GoogleCloudTalentV4Location": { - "description": "A resource that represents a location with full geographic information.", - "id": "GoogleCloudTalentV4Location", - "properties": { - "latLng": { - "$ref": "LatLng", - "description": "An object representing a latitude/longitude pair." - }, - "locationType": { - "description": "The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, \"Downtown, Atlanta, GA, USA\" has a type of LocationType.NEIGHBORHOOD, and \"Kansas City, KS, USA\" has a type of LocationType.LOCALITY.", - "enum": [ - "LOCATION_TYPE_UNSPECIFIED", - "COUNTRY", - "ADMINISTRATIVE_AREA", - "SUB_ADMINISTRATIVE_AREA", - "LOCALITY", - "POSTAL_CODE", - "SUB_LOCALITY", - "SUB_LOCALITY_1", - "SUB_LOCALITY_2", - "NEIGHBORHOOD", - "STREET_ADDRESS" - ], - "enumDescriptions": [ - "Default value if the type isn't specified.", - "A country level location.", - "A state or equivalent level location.", - "A county or equivalent level location.", - "A city or equivalent level location.", - "A postal code level location.", - "A sublocality is a subdivision of a locality, for example a city borough, ward, or arrondissement. Sublocalities are usually recognized by a local political authority. For example, Manhattan and Brooklyn are recognized as boroughs by the City of New York, and are therefore modeled as sublocalities.", - "A district or equivalent level location.", - "A smaller district or equivalent level display.", - "A neighborhood level location.", - "A street address level location." - ], - "type": "string" - }, - "postalAddress": { - "$ref": "PostalAddress", - "description": "Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location." - }, - "radiusMiles": { - "description": "Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from google.type.LatLng covers the area associated with the job location. For example, currently, \"Mountain View, CA, USA\" has a radius of 6.17 miles.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "HistogramFacets": { - "description": "Input only. Histogram facets to be specified in SearchJobsRequest.", - "id": "HistogramFacets", - "properties": { - "compensationHistogramFacets": { - "description": "Optional. Specifies compensation field-based histogram requests. Duplicate values of CompensationHistogramRequest.type are not allowed.", - "items": { - "$ref": "CompensationHistogramRequest" - }, - "type": "array" - }, - "customAttributeHistogramFacets": { - "description": "Optional. Specifies the custom attributes histogram requests. Duplicate values of CustomAttributeHistogramRequest.key are not allowed.", - "items": { - "$ref": "CustomAttributeHistogramRequest" - }, - "type": "array" - }, - "simpleHistogramFacets": { - "description": "Optional. Specifies the simple type of histogram facets, for example, `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc. This field is equivalent to GetHistogramRequest.", - "items": { - "enum": [ - "JOB_FIELD_UNSPECIFIED", - "COMPANY_ID", - "EMPLOYMENT_TYPE", - "COMPANY_SIZE", - "DATE_PUBLISHED", - "CUSTOM_FIELD_1", - "CUSTOM_FIELD_2", - "CUSTOM_FIELD_3", - "CUSTOM_FIELD_4", - "CUSTOM_FIELD_5", - "CUSTOM_FIELD_6", - "CUSTOM_FIELD_7", - "CUSTOM_FIELD_8", - "CUSTOM_FIELD_9", - "CUSTOM_FIELD_10", - "CUSTOM_FIELD_11", - "CUSTOM_FIELD_12", - "CUSTOM_FIELD_13", - "CUSTOM_FIELD_14", - "CUSTOM_FIELD_15", - "CUSTOM_FIELD_16", - "CUSTOM_FIELD_17", - "CUSTOM_FIELD_18", - "CUSTOM_FIELD_19", - "CUSTOM_FIELD_20", - "EDUCATION_LEVEL", - "EXPERIENCE_LEVEL", - "ADMIN1", - "COUNTRY", - "CITY", - "LOCALE", - "LANGUAGE", - "CATEGORY", - "CITY_COORDINATE", - "ADMIN1_COUNTRY", - "COMPANY_TITLE", - "COMPANY_DISPLAY_NAME", - "BASE_COMPENSATION_UNIT" - ], - "enumDescriptions": [ - "The default value if search type is not specified.", - "Filter by the company id field.", - "Filter by the employment type field, such as `FULL_TIME` or `PART_TIME`.", - "Filter by the company size type field, such as `BIG`, `SMALL` or `BIGGER`.", - "Filter by the date published field. Values are stringified with TimeRange, for example, TimeRange.PAST_MONTH.", - "Filter by custom field 1.", - "Filter by custom field 2.", - "Filter by custom field 3.", - "Filter by custom field 4.", - "Filter by custom field 5.", - "Filter by custom field 6.", - "Filter by custom field 7.", - "Filter by custom field 8.", - "Filter by custom field 9.", - "Filter by custom field 10.", - "Filter by custom field 11.", - "Filter by custom field 12.", - "Filter by custom field 13.", - "Filter by custom field 14.", - "Filter by custom field 15.", - "Filter by custom field 16.", - "Filter by custom field 17.", - "Filter by custom field 18.", - "Filter by custom field 19.", - "Filter by custom field 20.", - "Filter by the required education level of the job.", - "Filter by the required experience level of the job.", - "Filter by Admin1, which is a global placeholder for referring to state, province, or the particular term a country uses to define the geographic structure below the country level. Examples include states codes such as \"CA\", \"IL\", \"NY\", and provinces, such as \"BC\".", - "Filter by the country code of job, such as US, JP, FR.", - "Filter by the \"city name\", \"Admin1 code\", for example, \"Mountain View, CA\" or \"New York, NY\".", - "Filter by the locale field of a job, such as \"en-US\", \"fr-FR\". This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", - "Filter by the language code portion of the locale field, such as \"en\" or \"fr\".", - "Filter by the Category.", - "Filter by the city center GPS coordinate (latitude and longitude), for example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, clients may need to refresh them periodically.", - "A combination of state or province code with a country code. This field differs from `JOB_ADMIN1`, which can be used in multiple countries.", - "Deprecated. Use COMPANY_DISPLAY_NAME instead. Company display name.", - "Company display name.", - "Base compensation unit." - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "HistogramResult": { - "description": "Output only. Result of a histogram call. The response contains the histogram map for the search type specified by HistogramResult.field. The response is a map of each filter value to the corresponding count of jobs for that filter.", - "id": "HistogramResult", - "properties": { - "searchType": { - "description": "The Histogram search filters.", - "enum": [ - "JOB_FIELD_UNSPECIFIED", - "COMPANY_ID", - "EMPLOYMENT_TYPE", - "COMPANY_SIZE", - "DATE_PUBLISHED", - "CUSTOM_FIELD_1", - "CUSTOM_FIELD_2", - "CUSTOM_FIELD_3", - "CUSTOM_FIELD_4", - "CUSTOM_FIELD_5", - "CUSTOM_FIELD_6", - "CUSTOM_FIELD_7", - "CUSTOM_FIELD_8", - "CUSTOM_FIELD_9", - "CUSTOM_FIELD_10", - "CUSTOM_FIELD_11", - "CUSTOM_FIELD_12", - "CUSTOM_FIELD_13", - "CUSTOM_FIELD_14", - "CUSTOM_FIELD_15", - "CUSTOM_FIELD_16", - "CUSTOM_FIELD_17", - "CUSTOM_FIELD_18", - "CUSTOM_FIELD_19", - "CUSTOM_FIELD_20", - "EDUCATION_LEVEL", - "EXPERIENCE_LEVEL", - "ADMIN1", - "COUNTRY", - "CITY", - "LOCALE", - "LANGUAGE", - "CATEGORY", - "CITY_COORDINATE", - "ADMIN1_COUNTRY", - "COMPANY_TITLE", - "COMPANY_DISPLAY_NAME", - "BASE_COMPENSATION_UNIT" - ], - "enumDescriptions": [ - "The default value if search type is not specified.", - "Filter by the company id field.", - "Filter by the employment type field, such as `FULL_TIME` or `PART_TIME`.", - "Filter by the company size type field, such as `BIG`, `SMALL` or `BIGGER`.", - "Filter by the date published field. Values are stringified with TimeRange, for example, TimeRange.PAST_MONTH.", - "Filter by custom field 1.", - "Filter by custom field 2.", - "Filter by custom field 3.", - "Filter by custom field 4.", - "Filter by custom field 5.", - "Filter by custom field 6.", - "Filter by custom field 7.", - "Filter by custom field 8.", - "Filter by custom field 9.", - "Filter by custom field 10.", - "Filter by custom field 11.", - "Filter by custom field 12.", - "Filter by custom field 13.", - "Filter by custom field 14.", - "Filter by custom field 15.", - "Filter by custom field 16.", - "Filter by custom field 17.", - "Filter by custom field 18.", - "Filter by custom field 19.", - "Filter by custom field 20.", - "Filter by the required education level of the job.", - "Filter by the required experience level of the job.", - "Filter by Admin1, which is a global placeholder for referring to state, province, or the particular term a country uses to define the geographic structure below the country level. Examples include states codes such as \"CA\", \"IL\", \"NY\", and provinces, such as \"BC\".", - "Filter by the country code of job, such as US, JP, FR.", - "Filter by the \"city name\", \"Admin1 code\", for example, \"Mountain View, CA\" or \"New York, NY\".", - "Filter by the locale field of a job, such as \"en-US\", \"fr-FR\". This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", - "Filter by the language code portion of the locale field, such as \"en\" or \"fr\".", - "Filter by the Category.", - "Filter by the city center GPS coordinate (latitude and longitude), for example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, clients may need to refresh them periodically.", - "A combination of state or province code with a country code. This field differs from `JOB_ADMIN1`, which can be used in multiple countries.", - "Deprecated. Use COMPANY_DISPLAY_NAME instead. Company display name.", - "Company display name.", - "Base compensation unit." - ], - "type": "string" - }, - "values": { - "additionalProperties": { - "format": "int32", - "type": "integer" - }, - "description": "A map from the values of field to the number of jobs with that value in this search result. Key: search type (filter names, such as the companyName). Values: the count of jobs that match the filter for this search.", - "type": "object" - } - }, - "type": "object" - }, - "HistogramResults": { - "description": "Output only. Histogram results that matches HistogramFacets specified in SearchJobsRequest.", - "id": "HistogramResults", - "properties": { - "compensationHistogramResults": { - "description": "Specifies compensation field-based histogram results that matches HistogramFacets.compensation_histogram_requests.", - "items": { - "$ref": "CompensationHistogramResult" - }, - "type": "array" - }, - "customAttributeHistogramResults": { - "description": "Specifies histogram results for custom attributes that matches HistogramFacets.custom_attribute_histogram_facets.", - "items": { - "$ref": "CustomAttributeHistogramResult" - }, - "type": "array" - }, - "simpleHistogramResults": { - "description": "Specifies histogram results that matches HistogramFacets.simple_histogram_facets.", - "items": { - "$ref": "HistogramResult" - }, - "type": "array" - } - }, - "type": "object" - }, - "Job": { - "description": "A Job resource represents a job posting (also referred to as a \"job listing\" or \"job requisition\"). A job belongs to a Company, which is the hiring entity responsible for the job.", - "id": "Job", - "properties": { - "applicationEmailList": { - "description": "Optional but at least one of application_urls, application_email_list or application_instruction must be specified. Use this field to specify email address(es) to which resumes or applications can be sent. The maximum number of allowed characters is 255.", - "items": { - "type": "string" - }, - "type": "array" - }, - "applicationInstruction": { - "description": "Optional but at least one of application_urls, application_email_list or application_instruction must be specified. Use this field to provide instructions, such as \"Mail your application to ...\", that a candidate can follow to apply for the job. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 3,000.", - "type": "string" - }, - "applicationUrls": { - "description": "Optional but at least one of application_urls, application_email_list or application_instruction must be specified. Use this URL field to direct an applicant to a website, for example to link to an online application form. The maximum number of allowed characters is 2,000.", - "items": { - "type": "string" - }, - "type": "array" - }, - "benefits": { - "description": "Optional. The benefits included with the job.", - "items": { - "enum": [ - "JOB_BENEFIT_TYPE_UNSPECIFIED", - "CHILD_CARE", - "DENTAL", - "DOMESTIC_PARTNER", - "FLEXIBLE_HOURS", - "MEDICAL", - "LIFE_INSURANCE", - "PARENTAL_LEAVE", - "RETIREMENT_PLAN", - "SICK_DAYS", - "TELECOMMUTE", - "VACATION", - "VISION" - ], - "enumDescriptions": [ - "Default value if the type is not specified.", - "The job includes access to programs that support child care, such as daycare.", - "The job includes dental services that are covered by a dental insurance plan.", - "The job offers specific benefits to domestic partners.", - "The job allows for a flexible work schedule.", - "The job includes health services that are covered by a medical insurance plan.", - "The job includes a life insurance plan provided by the employer or available for purchase by the employee.", - "The job allows for a leave of absence to a parent to care for a newborn child.", - "The job includes a workplace retirement plan provided by the employer or available for purchase by the employee.", - "The job allows for paid time off due to illness.", - "Deprecated. Set Region.TELECOMMUTE instead. The job allows telecommuting (working remotely).", - "The job includes paid time off for vacation.", - "The job includes vision services that are covered by a vision insurance plan." - ], - "type": "string" - }, - "type": "array" - }, - "companyDisplayName": { - "description": "Output only. The name of the company listing the job.", - "type": "string" - }, - "companyName": { - "description": "Optional but one of company_name or distributor_company_id must be provided. The resource name of the company listing the job, such as /companies/foo. This field takes precedence over the distributor-assigned company identifier, distributor_company_id.", - "type": "string" - }, - "companyTitle": { - "description": "Deprecated. Use company_display_name instead. Output only. The name of the company listing the job.", - "type": "string" - }, - "compensationInfo": { - "$ref": "CompensationInfo", - "description": "Optional. Job compensation information." - }, - "createTime": { - "description": "Output only. The timestamp when this job was created.", - "format": "google-datetime", - "type": "string" - }, - "customAttributes": { - "additionalProperties": { - "$ref": "CustomAttribute" - }, - "description": "Optional. A map of fields to hold both filterable and non-filterable custom job attributes that are not covered by the provided structured fields. This field is a more general combination of the deprecated id-based filterable_custom_fields and string-based non_filterable_custom_fields. The keys of the map are strings up to 64 bytes and must match the pattern: a-zA-Z*. At most 100 filterable and at most 100 unfilterable keys are supported. For filterable `string_values`, across all keys at most 200 values are allowed, with each string no more than 255 characters. For unfilterable `string_values`, the maximum total size of `string_values` across all keys is 50KB.", - "type": "object" - }, - "department": { - "description": "Optional. The department or functional area within the company with the open position. The maximum number of allowed characters is 255.", - "type": "string" - }, - "description": { - "description": "Required. The description of the job, which typically includes a multi-paragraph description of the company and related information. Separate fields are provided on the job object for responsibilities, qualifications, and other job characteristics. Use of these separate job fields is recommended. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 100,000.", - "type": "string" - }, - "distributorCompanyId": { - "description": "Optional but one of company_name or distributor_company_id must be provided. A unique company identifier used by job distributors to identify an employer's company entity. company_name takes precedence over this field, and is the recommended field to use to identify companies. The maximum number of allowed characters is 255.", - "type": "string" - }, - "educationLevels": { - "description": "Optional. The desired education level for the job, such as \"Bachelors\", \"Masters\", \"Doctorate\".", - "items": { - "enum": [ - "EDUCATION_LEVEL_UNSPECIFIED", - "HIGH_SCHOOL", - "ASSOCIATE", - "BACHELORS", - "MASTERS", - "DOCTORATE", - "NO_DEGREE_REQUIRED" - ], - "enumDescriptions": [ - "The default value if the level is not specified.", - "A High School diploma is required for the position.", - "An Associate degree is required for the position.", - "A Bachelors degree is required for the position.", - "A Masters degree is required for the position.", - "A Doctorate degree is required for the position.", - "No formal education is required for the position." - ], - "type": "string" - }, - "type": "array" - }, - "employmentTypes": { - "description": "Optional. The employment type(s) of a job, for example, full time or part time.", - "items": { - "enum": [ - "EMPLOYMENT_TYPE_UNSPECIFIED", - "FULL_TIME", - "PART_TIME", - "CONTRACTOR", - "TEMPORARY", - "INTERN", - "VOLUNTEER", - "PER_DIEM", - "CONTRACT_TO_HIRE", - "FLY_IN_FLY_OUT", - "OTHER" - ], - "enumDescriptions": [ - "The default value if the employment type is not specified.", - "The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", - "The job entails working fewer hours than a full time job, typically less than 40 hours a week.", - "The job is offered as a contracted, as opposed to a salaried employee, position.", - "The job is offered as a temporary employment opportunity, usually a short-term engagement.", - "The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", - "The is an opportunity for an individual to volunteer, where there is no expectation of compensation for the provided services.", - "The job requires an employee to work on an as-needed basis with a flexible schedule.", - "The job is offered as a contracted position with the understanding that it is converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", - "The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", - "The job does not fit any of the other listed types." - ], - "type": "string" - }, - "type": "array" - }, - "endDate": { - "$ref": "Date", - "description": "Optional. The end date of the job in UTC time zone. Typically this field is used for contracting engagements. Dates prior to 1970/1/1 and invalid date formats are ignored." - }, - "expireTime": { - "description": "Optional but strongly recommended for the best service experience. The expiration timestamp of the job. After this timestamp, the job is marked as expired, and it no longer appears in search results. The expired job can't be deleted or listed by the DeleteJob and ListJobs APIs, but it can be retrieved with the GetJob API or updated with the UpdateJob API. An expired job can be updated and opened again by using a future expiration timestamp. Updating an expired job fails if there is another existing open job with same requisition_id, company_name and language_code. The expired jobs are retained in our system for 90 days. However, the overall expired job count cannot exceed 3 times the maximum of open jobs count over the past week, otherwise jobs with earlier expire time are cleaned first. Expired jobs are no longer accessible after they are cleaned out. The format of this field is RFC 3339 date strings. Example: 2000-01-01T00:00:00.999999999Z See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt). A valid date range is between 1970-01-01T00:00:00.0Z and 2100-12-31T23:59:59.999Z. Invalid dates are ignored and treated as expire time not provided. If this value is not provided at the time of job creation or is invalid, the job posting expires after 30 days from the job's creation time. For example, if the job was created on 2017/01/01 13:00AM UTC with an unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. If this value is not provided but expiry_date is, expiry_date is used. If this value is not provided on job update, it depends on the field masks set by UpdateJobRequest.update_job_fields. If the field masks include expiry_time, or the masks are empty meaning that every field is updated, the job posting expires after 30 days from the job's last update time. Otherwise the expiration date isn't updated.", - "format": "google-datetime", - "type": "string" - }, - "expiryDate": { - "$ref": "Date", - "description": "Deprecated. Use expire_time instead. Optional but strongly recommended to be provided for the best service experience. The expiration date of the job in UTC time. After 12 am on this date, the job is marked as expired, and it no longer appears in search results. The expired job can't be deleted or listed by the DeleteJob and ListJobs APIs, but it can be retrieved with the GetJob API or updated with the UpdateJob API. An expired job can be updated and opened again by using a future expiration date. It can also remain expired. Updating an expired job to be open fails if there is another existing open job with same requisition_id, company_name and language_code. The expired jobs are retained in our system for 90 days. However, the overall expired job count cannot exceed 3 times the maximum of open jobs count over the past week, otherwise jobs with earlier expire time are removed first. Expired jobs are no longer accessible after they are cleaned out. A valid date range is between 1970/1/1 and 2100/12/31. Invalid dates are ignored and treated as expiry date not provided. If this value is not provided on job creation or is invalid, the job posting expires after 30 days from the job's creation time. For example, if the job was created on 2017/01/01 13:00AM UTC with an unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. If this value is not provided on job update, it depends on the field masks set by UpdateJobRequest.update_job_fields. If the field masks include expiry_date, or the masks are empty meaning that every field is updated, the job expires after 30 days from the job's last update time. Otherwise the expiration date isn't updated." - }, - "extendedCompensationInfo": { - "$ref": "ExtendedCompensationInfo", - "description": "Deprecated. Always use compensation_info. Optional. Job compensation information. This field replaces compensation_info. Only CompensationInfo.entries or extended_compensation_info can be set, otherwise an exception is thrown." - }, - "filterableCustomFields": { - "additionalProperties": { - "$ref": "CustomField" - }, - "description": "Deprecated. Use custom_attributes instead. Optional. A map of fields to hold filterable custom job attributes not captured by the standard fields such as job_title, company_name, or level. These custom fields store arbitrary string values, and can be used for purposes not covered by the structured fields. For the best search experience, use of the structured rather than custom fields is recommended. Data stored in these custom fields fields are indexed and searched against by keyword searches (see SearchJobsRequest.custom_field_filters][]). The map key must be a number between 1-20. If an invalid key is provided on job create or update, an error is returned.", - "type": "object" - }, - "incentives": { - "description": "Optional. A description of bonus, commission, and other compensation incentives associated with the job not including salary or pay. The maximum number of allowed characters is 10,000.", - "type": "string" - }, - "jobLocations": { - "description": "Output only. Structured locations of the job, resolved from locations.", - "items": { - "$ref": "JobLocation" - }, - "type": "array" - }, - "jobTitle": { - "description": "Required. The title of the job, such as \"Software Engineer\" The maximum number of allowed characters is 500.", - "type": "string" - }, - "languageCode": { - "description": "Optional. The language of the posting. This field is distinct from any requirements for fluency that are associated with the job. Language codes must be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: class=\"external\" target=\"_blank\" }. If this field is unspecified and Job.description is present, detected language code based on Job.description is assigned, otherwise defaults to 'en_US'.", - "type": "string" - }, - "level": { - "description": "Optional. The experience level associated with the job, such as \"Entry Level\".", - "enum": [ - "JOB_LEVEL_UNSPECIFIED", - "ENTRY_LEVEL", - "EXPERIENCED", - "MANAGER", - "DIRECTOR", - "EXECUTIVE" - ], - "enumDescriptions": [ - "The default value if the level is not specified.", - "Entry-level individual contributors, typically with less than 2 years of experience in a similar role. Includes interns.", - "Experienced individual contributors, typically with 2+ years of experience in a similar role.", - "Entry- to mid-level managers responsible for managing a team of people.", - "Senior-level managers responsible for managing teams of managers.", - "Executive-level managers and above, including C-level positions." - ], - "type": "string" - }, - "locations": { - "description": "Optional but strongly recommended for the best service experience. Location(s) where the emploeyer is looking to hire for this job posting. Specifying the full street address(es) of the hiring location enables better API results, especially job searches by commute time. At most 50 locations are allowed for best search performance. If a job has more locations, it is suggested to split it into multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as multiple jobs with the same requisition_id, company_name and language_code are not allowed. If the original requisition_id must be preserved, a custom field should be used for storage. It is also suggested to group the locations that close to each other in the same job for better search experience. The maximum number of allowed characters is 500.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Required during job update. Resource name assigned to a job by the API, for example, \"/jobs/foo\". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.", - "type": "string" - }, - "promotionValue": { - "description": "Optional. A promotion value of the job, as determined by the client. The value determines the sort order of the jobs returned when searching for jobs using the featured jobs search call, with higher promotional values being returned first and ties being resolved by relevance sort. Only the jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0, and negative values are treated as 0.", - "format": "int32", - "type": "integer" - }, - "publishDate": { - "$ref": "Date", - "description": "Optional. The date this job was most recently published in UTC format. The default value is the time the request arrives at the server." - }, - "qualifications": { - "description": "Optional. A description of the qualifications required to perform the job. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000.", - "type": "string" - }, - "referenceUrl": { - "description": "Output only. The URL of a web page that displays job details.", - "type": "string" - }, - "region": { - "description": "Optional. The job Region (for example, state, country) throughout which the job is available. If this field is set, a LocationFilter in a search query within the job region finds this job if an exact location match is not specified. If this field is set, setting job locations to the same location level as this field is strongly recommended.", - "enum": [ - "REGION_UNSPECIFIED", - "STATE_WIDE", - "NATION_WIDE", - "TELECOMMUTE" - ], - "enumDescriptions": [ - "If the region is unspecified, the job is only returned if it matches the LocationFilter.", - "In additiona to exact location matching, job is returned when the LocationFilter in search query is in the same state as this job. For example, if a `STATE_WIDE` job is posted in \"CA, USA\", it is returned if LocationFilter has \"Mountain View\".", - "In addition to exact location matching, job is returned when LocationFilter in search query is in the same country as this job. For example, if a `NATION_WIDE` job is posted in \"USA\", it is returned if LocationFilter has 'Mountain View'.", - "Job allows employees to work remotely (telecommute). If locations are provided with this value, the job is considered as having a location, but telecommuting is allowed." - ], - "type": "string" - }, - "requisitionId": { - "description": "Required. The requisition ID, also referred to as the posting ID, assigned by the client to identify a job. This field is intended to be used by clients for client identification and tracking of listings. A job is not allowed to be created if there is another job with the same requisition_id, company_name and language_code. The maximum number of allowed characters is 255.", - "type": "string" - }, - "responsibilities": { - "description": "Optional. A description of job responsibilities. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000.", - "type": "string" - }, - "startDate": { - "$ref": "Date", - "description": "Optional. The start date of the job in UTC time zone. Typically this field is used for contracting engagements. Dates prior to 1970/1/1 and invalid date formats are ignored." - }, - "unindexedCustomFields": { - "additionalProperties": { - "$ref": "CustomField" - }, - "description": "Deprecated. Use custom_attributes instead. Optional. A map of fields to hold non-filterable custom job attributes, similar to filterable_custom_fields. These fields are distinct in that the data in these fields are not indexed. Therefore, the client cannot search against them, nor can the client use them to list jobs. The key of the map can be any valid string.", - "type": "object" - }, - "updateTime": { - "description": "Output only. The timestamp when this job was last updated.", - "format": "google-datetime", - "type": "string" - }, - "visibility": { - "description": "Optional. The visibility of the job. Defaults to JobVisibility.PRIVATE if not specified. Currently only JobVisibility.PRIVATE is supported.", - "enum": [ - "JOB_VISIBILITY_UNSPECIFIED", - "PRIVATE", - "GOOGLE", - "PUBLIC" - ], - "enumDescriptions": [ - "Default value.", - "The Job is only visible to the owner.", - "The Job is visible to the owner and may be visible to other applications and processes at Google. Not yet supported. Use PRIVATE.", - "The Job is visible to the owner and may be visible to all other API clients. Not yet supported. Use PRIVATE." - ], - "type": "string" - } - }, - "type": "object" - }, - "JobFilters": { - "description": "Input only. Deprecated. Use JobQuery instead. The filters required to perform a search query or histogram.", - "id": "JobFilters", - "properties": { - "categories": { - "description": "Optional. The category filter specifies the categories of jobs to search against. See Category for more information. If a value is not specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.", - "items": { - "enum": [ - "JOB_CATEGORY_UNSPECIFIED", - "ACCOUNTING_AND_FINANCE", - "ADMINISTRATIVE_AND_OFFICE", - "ADVERTISING_AND_MARKETING", - "ANIMAL_CARE", - "ART_FASHION_AND_DESIGN", - "BUSINESS_OPERATIONS", - "CLEANING_AND_FACILITIES", - "COMPUTER_AND_IT", - "CONSTRUCTION", - "CUSTOMER_SERVICE", - "EDUCATION", - "ENTERTAINMENT_AND_TRAVEL", - "FARMING_AND_OUTDOORS", - "HEALTHCARE", - "HUMAN_RESOURCES", - "INSTALLATION_MAINTENANCE_AND_REPAIR", - "LEGAL", - "MANAGEMENT", - "MANUFACTURING_AND_WAREHOUSE", - "MEDIA_COMMUNICATIONS_AND_WRITING", - "OIL_GAS_AND_MINING", - "PERSONAL_CARE_AND_SERVICES", - "PROTECTIVE_SERVICES", - "REAL_ESTATE", - "RESTAURANT_AND_HOSPITALITY", - "SALES_AND_RETAIL", - "SCIENCE_AND_ENGINEERING", - "SOCIAL_SERVICES_AND_NON_PROFIT", - "SPORTS_FITNESS_AND_RECREATION", - "TRANSPORTATION_AND_LOGISTICS" - ], - "enumDescriptions": [ - "The default value if the category is not specified.", - "An accounting and finance job, such as an Accountant.", - "And administrative and office job, such as an Administrative Assistant.", - "An advertising and marketing job, such as Marketing Manager.", - "An animal care job, such as Veterinarian.", - "An art, fashion, or design job, such as Designer.", - "A business operations job, such as Business Operations Manager.", - "A cleaning and facilities job, such as Custodial Staff.", - "A computer and IT job, such as Systems Administrator.", - "A construction job, such as General Laborer.", - "A customer service job, such s Cashier.", - "An education job, such as School Teacher.", - "An entertainment and travel job, such as Flight Attendant.", - "A farming or outdoor job, such as Park Ranger.", - "A healthcare job, such as Registered Nurse.", - "A human resources job, such as Human Resources Director.", - "An installation, maintenance, or repair job, such as Electrician.", - "A legal job, such as Law Clerk.", - "A management job, often used in conjunction with another category, such as Store Manager.", - "A manufacturing or warehouse job, such as Assembly Technician.", - "A media, communications, or writing job, such as Media Relations.", - "An oil, gas or mining job, such as Offshore Driller.", - "A personal care and services job, such as Hair Stylist.", - "A protective services job, such as Security Guard.", - "A real estate job, such as Buyer's Agent.", - "A restaurant and hospitality job, such as Restaurant Server.", - "A sales and/or retail job, such Sales Associate.", - "A science and engineering job, such as Lab Technician.", - "A social services or non-profit job, such as Case Worker.", - "A sports, fitness, or recreation job, such as Personal Trainer.", - "A transportation or logistics job, such as Truck Driver." - ], - "type": "string" - }, - "type": "array" - }, - "commuteFilter": { - "$ref": "CommutePreference", - "description": "Optional. Allows filtering jobs by commute time with different travel methods (e.g. driving or public transit). Note: this only works with COMMUTE MODE. When specified, [JobFilters.location_filters] will be ignored. Currently we do not support sorting by commute time." - }, - "companyNames": { - "description": "Optional. The company names filter specifies the company entities to search against. If a value is not specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the specified companies. At most 20 company filters are allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "companyTitles": { - "description": "Optional. This filter specifies the exact company titles of jobs to search against. If a value is not specified, jobs within the search results can be associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company title filters are allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "compensationFilter": { - "$ref": "CompensationFilter", - "description": "Optional. This search filter is applied only to Job.compensation_info. For example, if the filter is specified as \"Hourly job with per-hour compensation > $15\", only jobs that meet this criteria are searched. If a filter is not defined, all open jobs are searched." - }, - "customAttributeFilter": { - "description": "Optional. This filter specifies a structured syntax to match against the Job.custom_attributes that are marked as `filterable`. The syntax for this expression is a subset of Google SQL syntax. Supported operators are: =, !=, <, <=, >, >= where the left of the operator is a custom field key and the right of the operator is a number or string (surrounded by quotes) value. Supported functions are LOWER() to perform case insensitive match and EMPTY() to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (For example, \"((A AND B AND C) OR NOT D) AND E\"), and there can be a maximum of 100 comparisons/functions in the expression. The expression must be < 3000 bytes in length. Sample Query: (key1 = \"TEST\" OR LOWER(key1)=\"test\" OR NOT EMPTY(key1)) AND key2 > 100", - "type": "string" - }, - "customFieldFilters": { - "additionalProperties": { - "$ref": "CustomFieldFilter" - }, - "description": "Deprecated. Use custom_attribute_filter instead. Optional. This filter specifies searching against custom field values. See Job.filterable_custom_fields for information. The key value specifies a number between 1-20 (the service supports 20 custom fields) corresponding to the desired custom field map value. If an invalid key is provided or specified together with custom_attribute_filter, an error is thrown.", - "type": "object" - }, - "disableSpellCheck": { - "description": "Optional. This flag controls the spell-check feature. If false, the service attempts to correct a misspelled query, for example, \"enginee\" is corrected to \"engineer\". Defaults to false: a spell check is performed.", - "type": "boolean" - }, - "employmentTypes": { - "description": "Optional. The employment type filter specifies the employment type of jobs to search against, such as EmploymentType.FULL_TIME. If a value is not specified, jobs in the search results include any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.", - "items": { - "enum": [ - "EMPLOYMENT_TYPE_UNSPECIFIED", - "FULL_TIME", - "PART_TIME", - "CONTRACTOR", - "TEMPORARY", - "INTERN", - "VOLUNTEER", - "PER_DIEM", - "CONTRACT_TO_HIRE", - "FLY_IN_FLY_OUT", - "OTHER" - ], - "enumDescriptions": [ - "The default value if the employment type is not specified.", - "The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", - "The job entails working fewer hours than a full time job, typically less than 40 hours a week.", - "The job is offered as a contracted, as opposed to a salaried employee, position.", - "The job is offered as a temporary employment opportunity, usually a short-term engagement.", - "The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", - "The is an opportunity for an individual to volunteer, where there is no expectation of compensation for the provided services.", - "The job requires an employee to work on an as-needed basis with a flexible schedule.", - "The job is offered as a contracted position with the understanding that it is converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", - "The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", - "The job does not fit any of the other listed types." - ], - "type": "string" - }, - "type": "array" - }, - "extendedCompensationFilter": { - "$ref": "ExtendedCompensationFilter", - "description": "Deprecated. Always use compensation_filter. Optional. This search filter is applied only to Job.extended_compensation_info. For example, if the filter is specified as \"Hourly job with per-hour compensation > $15\", only jobs that meet these criteria are searched. If a filter is not defined, all open jobs are searched." - }, - "languageCodes": { - "description": "Optional. This filter specifies the locale of jobs to search against, for example, \"en-US\". If a value is not specified, the search results may contain jobs in any locale. Language codes should be in BCP-47 format, for example, \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "locationFilters": { - "description": "Optional. The location filter specifies geo-regions containing the jobs to search against. See LocationFilter for more information. If a location value is not specified, jobs are retrieved from all locations. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the LocationFilter.distance_in_miles parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.", - "items": { - "$ref": "LocationFilter" - }, - "type": "array" - }, - "publishDateRange": { - "description": "Optional. Jobs published within a range specified by this filter are searched against, for example, DateRange.PAST_MONTH. If a value is not specified, all open jobs are searched against regardless of the date they were published.", - "enum": [ - "DATE_RANGE_UNSPECIFIED", - "PAST_24_HOURS", - "PAST_WEEK", - "PAST_MONTH", - "PAST_YEAR", - "PAST_3_DAYS" - ], - "enumDescriptions": [ - "Default value: Filtering on time is not performed.", - "The past 24 hours", - "The past week (7 days)", - "The past month (30 days)", - "The past year (365 days)", - "The past 3 days" - ], - "type": "string" - }, - "query": { - "description": "Optional. The query filter contains the keywords that match against the job title, description, and location fields. The maximum query size is 255 bytes/characters.", - "type": "string" - }, - "tenantJobOnly": { - "description": "Deprecated. Do not use this field. This flag controls whether the job search should be restricted to jobs owned by the current user. Defaults to false where all jobs accessible to the user are searched against.", - "type": "boolean" - } - }, - "type": "object" - }, - "JobLocation": { - "description": "Output only. A resource that represents a location with full geographic information.", - "id": "JobLocation", - "properties": { - "latLng": { - "$ref": "LatLng", - "description": "An object representing a latitude/longitude pair." - }, - "locationType": { - "description": "The type of a location, which corresponds to the address lines field of PostalAddress. For example, \"Downtown, Atlanta, GA, USA\" has a type of LocationType#NEIGHBORHOOD, and \"Kansas City, KS, USA\" has a type of LocationType#LOCALITY.", - "enum": [ - "LOCATION_TYPE_UNSPECIFIED", - "COUNTRY", - "ADMINISTRATIVE_AREA", - "SUB_ADMINISTRATIVE_AREA", - "LOCALITY", - "POSTAL_CODE", - "SUB_LOCALITY", - "SUB_LOCALITY_1", - "SUB_LOCALITY_2", - "NEIGHBORHOOD", - "STREET_ADDRESS" - ], - "enumDescriptions": [ - "Default value if the type is not specified.", - "A country level location.", - "A state or equivalent level location.", - "A county or equivalent level location.", - "A city or equivalent level location.", - "A postal code level location.", - "A sublocality is a subdivision of a locality, for example a city borough, ward, or arrondissement. Sublocalities are usually recognized by a local political authority. For example, Manhattan and Brooklyn are recognized as boroughs by the City of New York, and are therefore modeled as sublocalities.", - "A district or equivalent level location.", - "A smaller district or equivalent level display.", - "A neighborhood level location.", - "A street address level location." - ], - "type": "string" - }, - "postalAddress": { - "$ref": "PostalAddress", - "description": "Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location." - }, - "radiusMeters": { - "description": "Radius in meters of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng coves the area associated with the job location. For example, currently, \"Mountain View, CA, USA\" has a radius of 7885.79 meters.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "JobProcessingOptions": { - "description": "Input only. Options for job processing.", - "id": "JobProcessingOptions", - "properties": { - "disableStreetAddressResolution": { - "description": "Optional. If set to `true`, the service does not attempt to resolve a more precise address for the job.", - "type": "boolean" - }, - "htmlSanitization": { - "description": "Optional. Option for job HTML content sanitization. Applied fields are: * description * applicationInstruction * incentives * qualifications * responsibilities HTML tags in these fields may be stripped if sanitiazation is not disabled. Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.", - "enum": [ - "HTML_SANITIZATION_UNSPECIFIED", - "HTML_SANITIZATION_DISABLED", - "SIMPLE_FORMATTING_ONLY" - ], - "enumDescriptions": [ - "Default value.", - "Disables sanitization on HTML input.", - "Sanitizes HTML input, only accepts bold, italic, ordered list, and unordered list markup tags." - ], - "type": "string" - } - }, - "type": "object" - }, - "JobQuery": { - "description": "Input only. The query required to perform a search query or histogram.", - "id": "JobQuery", - "properties": { - "categories": { - "description": "Optional. The category filter specifies the categories of jobs to search against. See Category for more information. If a value is not specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.", - "items": { - "enum": [ - "JOB_CATEGORY_UNSPECIFIED", - "ACCOUNTING_AND_FINANCE", - "ADMINISTRATIVE_AND_OFFICE", - "ADVERTISING_AND_MARKETING", - "ANIMAL_CARE", - "ART_FASHION_AND_DESIGN", - "BUSINESS_OPERATIONS", - "CLEANING_AND_FACILITIES", - "COMPUTER_AND_IT", - "CONSTRUCTION", - "CUSTOMER_SERVICE", - "EDUCATION", - "ENTERTAINMENT_AND_TRAVEL", - "FARMING_AND_OUTDOORS", - "HEALTHCARE", - "HUMAN_RESOURCES", - "INSTALLATION_MAINTENANCE_AND_REPAIR", - "LEGAL", - "MANAGEMENT", - "MANUFACTURING_AND_WAREHOUSE", - "MEDIA_COMMUNICATIONS_AND_WRITING", - "OIL_GAS_AND_MINING", - "PERSONAL_CARE_AND_SERVICES", - "PROTECTIVE_SERVICES", - "REAL_ESTATE", - "RESTAURANT_AND_HOSPITALITY", - "SALES_AND_RETAIL", - "SCIENCE_AND_ENGINEERING", - "SOCIAL_SERVICES_AND_NON_PROFIT", - "SPORTS_FITNESS_AND_RECREATION", - "TRANSPORTATION_AND_LOGISTICS" - ], - "enumDescriptions": [ - "The default value if the category is not specified.", - "An accounting and finance job, such as an Accountant.", - "And administrative and office job, such as an Administrative Assistant.", - "An advertising and marketing job, such as Marketing Manager.", - "An animal care job, such as Veterinarian.", - "An art, fashion, or design job, such as Designer.", - "A business operations job, such as Business Operations Manager.", - "A cleaning and facilities job, such as Custodial Staff.", - "A computer and IT job, such as Systems Administrator.", - "A construction job, such as General Laborer.", - "A customer service job, such s Cashier.", - "An education job, such as School Teacher.", - "An entertainment and travel job, such as Flight Attendant.", - "A farming or outdoor job, such as Park Ranger.", - "A healthcare job, such as Registered Nurse.", - "A human resources job, such as Human Resources Director.", - "An installation, maintenance, or repair job, such as Electrician.", - "A legal job, such as Law Clerk.", - "A management job, often used in conjunction with another category, such as Store Manager.", - "A manufacturing or warehouse job, such as Assembly Technician.", - "A media, communications, or writing job, such as Media Relations.", - "An oil, gas or mining job, such as Offshore Driller.", - "A personal care and services job, such as Hair Stylist.", - "A protective services job, such as Security Guard.", - "A real estate job, such as Buyer's Agent.", - "A restaurant and hospitality job, such as Restaurant Server.", - "A sales and/or retail job, such Sales Associate.", - "A science and engineering job, such as Lab Technician.", - "A social services or non-profit job, such as Case Worker.", - "A sports, fitness, or recreation job, such as Personal Trainer.", - "A transportation or logistics job, such as Truck Driver." - ], - "type": "string" - }, - "type": "array" - }, - "commuteFilter": { - "$ref": "CommutePreference", - "description": "Optional. Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works with COMMUTE MODE. When specified, [JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time." - }, - "companyDisplayNames": { - "description": "Optional. This filter specifies the exact company display name of the jobs to search against. If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "companyNames": { - "description": "Optional. This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. At most 20 company filters are allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "compensationFilter": { - "$ref": "CompensationFilter", - "description": "Optional. This search filter is applied only to Job.compensation_info. For example, if the filter is specified as \"Hourly job with per-hour compensation > $15\", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched." - }, - "customAttributeFilter": { - "description": "Optional. This filter specifies a structured syntax to match against the Job.custom_attributes marked as `filterable`. The syntax for this expression is a subset of Google SQL syntax. Supported operators are: =, !=, <, <=, >, >= where the left of the operator is a custom field key and the right of the operator is a number or string (surrounded by quotes) value. Supported functions are LOWER() to perform case insensitive match and EMPTY() to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, \"((A AND B AND C) OR NOT D) AND E\"), a maximum of 50 comparisons/functions are allowed in the expression. The expression must be < 2000 characters in length. Sample Query: (key1 = \"TEST\" OR LOWER(key1)=\"test\" OR NOT EMPTY(key1)) AND key2 > 100", - "type": "string" - }, - "disableSpellCheck": { - "description": "Optional. This flag controls the spell-check feature. If false, the service attempts to correct a misspelled query, for example, \"enginee\" is corrected to \"engineer\". Defaults to false: a spell check is performed.", - "type": "boolean" - }, - "employmentTypes": { - "description": "Optional. The employment type filter specifies the employment type of jobs to search against, such as EmploymentType.FULL_TIME. If a value is not specified, jobs in the search results include any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.", - "items": { - "enum": [ - "EMPLOYMENT_TYPE_UNSPECIFIED", - "FULL_TIME", - "PART_TIME", - "CONTRACTOR", - "TEMPORARY", - "INTERN", - "VOLUNTEER", - "PER_DIEM", - "CONTRACT_TO_HIRE", - "FLY_IN_FLY_OUT", - "OTHER" - ], - "enumDescriptions": [ - "The default value if the employment type is not specified.", - "The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", - "The job entails working fewer hours than a full time job, typically less than 40 hours a week.", - "The job is offered as a contracted, as opposed to a salaried employee, position.", - "The job is offered as a temporary employment opportunity, usually a short-term engagement.", - "The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", - "The is an opportunity for an individual to volunteer, where there is no expectation of compensation for the provided services.", - "The job requires an employee to work on an as-needed basis with a flexible schedule.", - "The job is offered as a contracted position with the understanding that it is converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", - "The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", - "The job does not fit any of the other listed types." - ], - "type": "string" - }, - "type": "array" - }, - "languageCodes": { - "description": "Optional. This filter specifies the locale of jobs to search against, for example, \"en-US\". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "locationFilters": { - "description": "Optional. The location filter specifies geo-regions containing the jobs to search against. See LocationFilter for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the LocationFilter.distance_in_miles parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.", - "items": { - "$ref": "LocationFilter" - }, - "type": "array" - }, - "publishDateRange": { - "description": "Optional. Jobs published within a range specified by this filter are searched against, for example, DateRange.PAST_MONTH. If a value isn't specified, all open jobs are searched against regardless of their published date.", - "enum": [ - "DATE_RANGE_UNSPECIFIED", - "PAST_24_HOURS", - "PAST_WEEK", - "PAST_MONTH", - "PAST_YEAR", - "PAST_3_DAYS" - ], - "enumDescriptions": [ - "Default value: Filtering on time is not performed.", - "The past 24 hours", - "The past week (7 days)", - "The past month (30 days)", - "The past year (365 days)", - "The past 3 days" - ], - "type": "string" - }, - "query": { - "description": "Optional. The query string that matches against the job title, description, and location fields. The maximum query size is 255 bytes.", - "type": "string" - } - }, - "type": "object" - }, - "LatLng": { - "description": "An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.", - "id": "LatLng", - "properties": { - "latitude": { - "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", - "format": "double", - "type": "number" - }, - "longitude": { - "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "ListCompaniesResponse": { - "description": "Output only. The List companies response object.", - "id": "ListCompaniesResponse", - "properties": { - "companies": { - "description": "Companies for the current client.", - "items": { - "$ref": "Company" - }, - "type": "array" - }, - "metadata": { - "$ref": "ResponseMetadata", - "description": "Additional information for the API invocation, such as the request tracking id." - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ListCompanyJobsResponse": { - "description": "Deprecated. Use ListJobsResponse instead. Output only. The List jobs response object.", - "id": "ListCompanyJobsResponse", - "properties": { - "jobs": { - "description": "The Jobs for a given company. The maximum number of items returned is based on the limit field provided in the request.", - "items": { - "$ref": "Job" - }, - "type": "array" - }, - "metadata": { - "$ref": "ResponseMetadata", - "description": "Additional information for the API invocation, such as the request tracking id." - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results.", - "type": "string" - }, - "totalSize": { - "description": "The total number of open jobs. The result will be empty if ListCompanyJobsRequest.include_jobs_count is not enabled or if no open jobs are available.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ListJobsResponse": { - "description": "Output only. List jobs response.", - "id": "ListJobsResponse", - "properties": { - "jobs": { - "description": "The Jobs for a given company. The maximum number of items returned is based on the limit field provided in the request.", - "items": { - "$ref": "Job" - }, - "type": "array" - }, - "metadata": { - "$ref": "ResponseMetadata", - "description": "Additional information for the API invocation, such as the request tracking id." - }, - "nextPageToken": { - "description": "A token to retrieve the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "LocationFilter": { - "description": "Input only. Geographic region of the search.", - "id": "LocationFilter", - "properties": { - "distanceInMiles": { - "description": "Optional. The distance_in_miles is applied when the location being searched for is identified as a city or smaller. When the location being searched for is a state or larger, this field is ignored.", - "format": "double", - "type": "number" - }, - "isTelecommute": { - "description": "Optional. Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecomuting is considered by the service as a special location. Job.allow_telecommute indicates if a job permits telecommuting. If this field is true, telecommuting jobs are searched, and name and lat_lng are ignored. This filter can be used by itself to search exclusively for telecommuting jobs, or it can be combined with another location filter to search for a combination of job locations, such as \"Mountain View\" or \"telecommuting\" jobs. However, when used in combination with other location filters, telecommuting jobs can be treated as less relevant than other jobs in the search response.", - "type": "boolean" - }, - "latLng": { - "$ref": "LatLng", - "description": "Optional. The latitude and longitude of the geographic center from which to search. This field is ignored if `location_name` is provided." - }, - "name": { - "description": "Optional. The address name, such as \"Mountain View\" or \"Bay Area\".", - "type": "string" - }, - "regionCode": { - "description": "Optional. CLDR region code of the country/region of the address. This will be used to address ambiguity of the user-input location, e.g. \"Liverpool\" against \"Liverpool, NY, US\" or \"Liverpool, UK\". Set this field if all the jobs to search against are from a same region, or jobs are world-wide but the job seeker is from a specific region. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", - "type": "string" - } - }, - "type": "object" - }, - "MatchingJob": { - "description": "Output only. Job entry with metadata inside SearchJobsResponse.", - "id": "MatchingJob", - "properties": { - "commuteInfo": { - "$ref": "CommuteInfo", - "description": "Commute information which is generated based on specified CommutePreference." - }, - "job": { - "$ref": "Job", - "description": "Job resource that matches the specified SearchJobsRequest." - }, - "jobSummary": { - "description": "A summary of the job with core information that's displayed on the search results listing page.", - "type": "string" - }, - "jobTitleSnippet": { - "description": "Contains snippets of text from the Job.job_title field most closely matching a search query's keywords, if available. The matching query keywords are enclosed in HTML bold tags.", - "type": "string" - }, - "searchTextSnippet": { - "description": "Contains snippets of text from the Job.description and similar fields that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags.", - "type": "string" - } - }, - "type": "object" - }, - "MendelDebugInput": { - "description": "Message representing input to a Mendel server for debug forcing. See go/mendel-debug-forcing for more details. Next ID: 2", - "id": "MendelDebugInput", - "properties": { - "namespacedDebugInput": { - "additionalProperties": { - "$ref": "NamespacedDebugInput" - }, - "description": "When a request spans multiple servers, a MendelDebugInput may travel with the request and take effect in all the servers. This field is a map of namespaces to NamespacedMendelDebugInput protos. In a single server, up to two NamespacedMendelDebugInput protos are applied: 1. NamespacedMendelDebugInput with the global namespace (key == \"\"). 2. NamespacedMendelDebugInput with the server's namespace. When both NamespacedMendelDebugInput protos are present, they are merged. See go/mendel-debug-forcing for more details.", - "type": "object" - } - }, - "type": "object" - }, - "Money": { - "description": "Represents an amount of money with its currency type.", - "id": "Money", - "properties": { - "currencyCode": { - "description": "The 3-letter currency code defined in ISO 4217.", - "type": "string" - }, - "nanos": { - "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", - "format": "int32", - "type": "integer" - }, - "units": { - "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "NamespacedDebugInput": { - "description": "Next ID: 15", - "id": "NamespacedDebugInput", - "properties": { - "absolutelyForcedExpNames": { - "description": "Set of experiment names to be absolutely forced. These experiments will be forced without evaluating the conditions.", - "items": { - "type": "string" - }, - "type": "array" - }, - "absolutelyForcedExpTags": { - "description": "Set of experiment tags to be absolutely forced. The experiments with these tags will be forced without evaluating the conditions.", - "items": { - "type": "string" - }, - "type": "array" - }, - "absolutelyForcedExps": { - "description": "Set of experiment ids to be absolutely forced. These ids will be forced without evaluating the conditions.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "conditionallyForcedExpNames": { - "description": "Set of experiment names to be conditionally forced. These experiments will be forced only if their conditions and their parent domain's conditions are true.", - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionallyForcedExpTags": { - "description": "Set of experiment tags to be conditionally forced. The experiments with these tags will be forced only if their conditions and their parent domain's conditions are true.", - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionallyForcedExps": { - "description": "Set of experiment ids to be conditionally forced. These ids will be forced only if their conditions and their parent domain's conditions are true.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "disableAutomaticEnrollmentSelection": { - "description": "If true, disable automatic enrollment selection (at all diversion points). Automatic enrollment selection means experiment selection process based on the experiment's automatic enrollment condition. This does not disable selection of forced experiments.", - "type": "boolean" - }, - "disableExpNames": { - "description": "Set of experiment names to be disabled. If an experiment is disabled, it is never selected nor forced. If an aggregate experiment is disabled, its partitions are disabled together. If an experiment with an enrollment is disabled, the enrollment is disabled together. If a name corresponds to a domain, the domain itself and all descendant experiments and domains are disabled together.", - "items": { - "type": "string" - }, - "type": "array" - }, - "disableExpTags": { - "description": "Set of experiment tags to be disabled. All experiments that are tagged with one or more of these tags are disabled. If an experiment is disabled, it is never selected nor forced. If an aggregate experiment is disabled, its partitions are disabled together. If an experiment with an enrollment is disabled, the enrollment is disabled together.", - "items": { - "type": "string" - }, - "type": "array" - }, - "disableExps": { - "description": "Set of experiment ids to be disabled. If an experiment is disabled, it is never selected nor forced. If an aggregate experiment is disabled, its partitions are disabled together. If an experiment with an enrollment is disabled, the enrollment is disabled together. If an ID corresponds to a domain, the domain itself and all descendant experiments and domains are disabled together.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "disableManualEnrollmentSelection": { - "description": "If true, disable manual enrollment selection (at all diversion points). Manual enrollment selection means experiment selection process based on the request's manual enrollment states (a.k.a. opt-in experiments). This does not disable selection of forced experiments.", - "type": "boolean" - }, - "disableOrganicSelection": { - "description": "If true, disable organic experiment selection (at all diversion points). Organic selection means experiment selection process based on traffic allocation and diversion condition evaluation. This does not disable selection of forced experiments. This is useful in cases when it is not known whether experiment selection behavior is responsible for a error or breakage. Disabling organic selection may help to isolate the cause of a given problem.", - "type": "boolean" - }, - "forcedFlags": { - "additionalProperties": { - "type": "string" - }, - "description": "Flags to force in a particular experiment state. Map from flag name to flag value.", - "type": "object" - }, - "forcedRollouts": { - "additionalProperties": { - "type": "boolean" - }, - "description": "Rollouts to force in a particular experiment state. Map from rollout name to rollout value.", - "type": "object" - } - }, - "type": "object" - }, - "NumericBucketingOption": { - "description": "Input only. Use this field to specify bucketing option for the histogram search response.", - "id": "NumericBucketingOption", - "properties": { - "bucketBounds": { - "description": "Required. Two adjacent values form a histogram bucket. Values should be in ascending order. For example, if [5, 10, 15] are provided, four buckets are created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20 [buckets_bound is supported.", - "items": { - "format": "double", - "type": "number" - }, - "type": "array" - }, - "requiresMinMax": { - "description": "Optional. If set to true, the histogram result includes minimum/maximum value of the numeric field.", - "type": "boolean" - } - }, - "type": "object" - }, - "NumericBucketingResult": { - "description": "Output only. Custom numeric bucketing result.", - "id": "NumericBucketingResult", - "properties": { - "counts": { - "description": "Count within each bucket. Its size is the length of NumericBucketingOption.bucket_bounds plus 1.", - "items": { - "$ref": "BucketizedCount" - }, - "type": "array" - }, - "maxValue": { - "description": "Stores the maximum value of the numeric field. Will be populated only if [NumericBucketingOption.requires_min_max] is set to true.", - "format": "double", - "type": "number" - }, - "minValue": { - "description": "Stores the minimum value of the numeric field. Will be populated only if [NumericBucketingOption.requires_min_max] is set to true.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "PostalAddress": { - "description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", - "id": "PostalAddress", - "properties": { - "addressLines": { - "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", - "items": { - "type": "string" - }, - "type": "array" - }, - "administrativeArea": { - "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.", - "type": "string" - }, - "languageCode": { - "description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", - "type": "string" - }, - "locality": { - "description": "Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.", - "type": "string" - }, - "organization": { - "description": "Optional. The name of the organization at the address.", - "type": "string" - }, - "postalCode": { - "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).", - "type": "string" - }, - "recipients": { - "description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", - "items": { - "type": "string" - }, - "type": "array" - }, - "regionCode": { - "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", - "type": "string" - }, - "revision": { - "description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", - "format": "int32", - "type": "integer" - }, - "sortingCode": { - "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (e.g. Côte d'Ivoire).", - "type": "string" - }, - "sublocality": { - "description": "Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.", - "type": "string" - } - }, - "type": "object" - }, - "RequestMetadata": { - "description": "Input only. Meta information related to the job searcher or entity conducting the job search. This information is used to improve the performance of the service.", - "id": "RequestMetadata", - "properties": { - "deviceInfo": { - "$ref": "DeviceInfo", - "description": "Optional. The type of device used by the job seeker at the time of the call to the service." - }, - "domain": { - "description": "Required. The client-defined scope or source of the service call, which typically is the domain on which the service has been implemented and is currently being run. For example, if the service is being run by client *Foo, Inc.*, on job board www.foo.com and career site www.bar.com, then this field is set to \"foo.com\" for use on the job board, and \"bar.com\" for use on the career site. If this field is not available for some reason, send \"UNKNOWN\". Note that any improvements to the service model for a particular tenant site rely on this field being set correctly to some domain.", - "type": "string" - }, - "sessionId": { - "description": "Required. A unique session identification string. A session is defined as the duration of an end user's interaction with the service over a period. Obfuscate this field for privacy concerns before providing it to the API. If this field is not available for some reason, please send \"UNKNOWN\". Note that any improvements to the service model for a particular tenant site, rely on this field being set correctly to some unique session_id.", - "type": "string" - }, - "userId": { - "description": "Required. A unique user identification string, as determined by the client. The client is responsible for ensuring client-level uniqueness of this value in order to have the strongest positive impact on search quality. Obfuscate this field for privacy concerns before providing it to the service. If this field is not available for some reason, please send \"UNKNOWN\". Note that any improvements to the service model for a particular tenant site, rely on this field being set correctly to some unique user_id.", - "type": "string" - } - }, - "type": "object" - }, - "ResponseMetadata": { - "description": "Output only. Additional information returned to client, such as debugging information.", - "id": "ResponseMetadata", - "properties": { - "experimentIdList": { - "description": "Identifiers for the versions of the search algorithm used during this API invocation if multiple algorithms are used. The default value is empty. For search response only.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "mode": { - "description": "For search response only. Indicates the mode of a performed search.", - "enum": [ - "SEARCH_MODE_UNSPECIFIED", - "JOB_SEARCH", - "FEATURED_JOB_SEARCH", - "EMAIL_ALERT_SEARCH" - ], - "enumDescriptions": [ - "The mode of the search method isn't specified.", - "The job search doesn't include support for featured jobs.", - "The job search matches only against featured jobs (jobs with a promotionValue > 0). This method doesn't return any jobs having a promotionValue <= 0. The search results order is determined by the promotionValue (jobs with a higher promotionValue are returned higher up in the search results), with relevance being used as a tiebreaker.", - "Deprecated. Please use the SearchJobsForAlert API. The job search matches against jobs suited to email notifications." - ], - "type": "string" - }, - "requestId": { - "description": "A unique id associated with this call. This id is logged for tracking purposes.", - "type": "string" - } - }, - "type": "object" - }, - "SearchJobsRequest": { - "description": "Input only. The Request body of the `SearchJobs` call.", - "id": "SearchJobsRequest", - "properties": { - "disableRelevanceThresholding": { - "description": "Optional. Controls whether to disable relevance thresholding. Relevance thresholding removes jobs that have low relevance in search results, for example, removing \"Assistant to the CEO\" positions from the search results of a search for \"CEO\". Disabling relevance thresholding improves the accuracy of subsequent search requests. Defaults to false.", - "type": "boolean" - }, - "enableBroadening": { - "description": "Optional. Controls whether to broaden the search when it produces sparse results. Broadened queries append results to the end of the matching results list. Defaults to false.", - "type": "boolean" - }, - "enablePreciseResultSize": { - "description": "Optional. Controls if the search job request requires the return of a precise count of the first 300 results. Setting this to `true` ensures consistency in the number of results per page. Best practice is to set this value to true if a client allows users to jump directly to a non-sequential search results page. Enabling this flag may adversely impact performance. Defaults to false.", - "type": "boolean" - }, - "filters": { - "$ref": "JobFilters", - "description": "Deprecated. Use query instead. Optional. Restrictions on the scope of the search request, such as filtering by location." - }, - "histogramFacets": { - "$ref": "HistogramFacets", - "description": "Optional. Restrictions on what fields to perform histogram on, such as `COMPANY_SIZE` etc." - }, - "jobView": { - "description": "Optional. The number of job attributes returned for jobs in the search response. Defaults to JobView.SMALL if no value is specified.", - "enum": [ - "JOB_VIEW_UNSPECIFIED", - "SMALL", - "MINIMAL", - "FULL" - ], - "enumDescriptions": [ - "Default value.", - "A small view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.job_title, Job.company_name, Job.job_locations, Job.description, Job.visibility. Note: Job.description is deprecated. It is scheduled to be removed from MatchingJob.Job objects in the SearchJobsResponse results on 12/31/2018.", - "A minimal view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.job_title, Job.company_name, Job.job_locations.", - "All available attributes are included in the search results. Note: [Job.description, Job.responsibilities, Job.qualifications and Job.incentives are deprecated. These fields are scheduled to be removed from MatchingJob.Job objects in the SearchJobsResponse results on 12/31/2018. See the alternative MatchingJob.search_text_snippet and MatchingJob.job_summary fields." - ], - "type": "string" - }, - "mode": { - "description": "Required. Mode of a search.", - "enum": [ - "SEARCH_MODE_UNSPECIFIED", - "JOB_SEARCH", - "FEATURED_JOB_SEARCH", - "EMAIL_ALERT_SEARCH" - ], - "enumDescriptions": [ - "The mode of the search method isn't specified.", - "The job search doesn't include support for featured jobs.", - "The job search matches only against featured jobs (jobs with a promotionValue > 0). This method doesn't return any jobs having a promotionValue <= 0. The search results order is determined by the promotionValue (jobs with a higher promotionValue are returned higher up in the search results), with relevance being used as a tiebreaker.", - "Deprecated. Please use the SearchJobsForAlert API. The job search matches against jobs suited to email notifications." - ], - "type": "string" - }, - "offset": { - "description": "Optional. An integer that specifies the current offset (that is, starting result location, amongst the jobs deemed by the API as relevant) in search results. This field is only considered if page_token is unset. For example, 0 means to return results starting from the first matching job, and 10 means to return from the 11th job. This can be used for pagination, (for example, pageSize = 10 and offset = 10 means to return from the second page).", - "format": "int32", - "type": "integer" - }, - "orderBy": { - "description": "Deprecated. Use sort_by instead. Optional. The criteria determining how search results are sorted. Defaults to SortBy.RELEVANCE_DESC if no value is specified.", - "enum": [ - "SORT_BY_UNSPECIFIED", - "RELEVANCE_DESC", - "PUBLISHED_DATE_DESC", - "UPDATED_DATE_DESC", - "TITLE", - "TITLE_DESC", - "ANNUALIZED_BASE_COMPENSATION", - "ANNUALIZED_TOTAL_COMPENSATION", - "ANNUALIZED_BASE_COMPENSATION_DESC", - "ANNUALIZED_TOTAL_COMPENSATION_DESC" - ], - "enumDescriptions": [ - "Default value.", - "By descending relevance, as determined by the API algorithms. Relevance thresholding of query results is only available for queries if RELEVANCE_DESC sort ordering is specified.", - "Sort by published date descending.", - "Sort by updated date descending.", - "Sort by job title ascending.", - "Sort by job title descending.", - "Sort by job annualized base compensation in ascending order. If job's annualized base compensation is unspecified, they are put at the end of search result.", - "Sort by job annualized total compensation in ascending order. If job's annualized total compensation is unspecified, they are put at the end of search result.", - "Sort by job annualized base compensation in descending order. If job's annualized base compensation is unspecified, they are put at the end of search result.", - "Sort by job annualized total compensation in descending order. If job's annualized total compensation is unspecified, they are put at the end of search result." - ], - "type": "string" - }, - "pageSize": { - "description": "Optional. A limit on the number of jobs returned in the search results. Increasing this value above the default value of 10 can increase search response time. The value can be between 1 and 100.", - "format": "int32", - "type": "integer" - }, - "pageToken": { - "description": "Optional. The token specifying the current offset within search results. See SearchJobsResponse.next_page_token for an explanation of how to obtain the next set of query results.", - "type": "string" - }, - "query": { - "$ref": "JobQuery", - "description": "Optional. Query used to search against jobs, such as keyword, location filters, etc." - }, - "requestMetadata": { - "$ref": "RequestMetadata", - "description": "Required. The meta information collected about the job searcher, used to improve the search quality of the service. The identifiers, (such as `user_id`) are provided by users, and must be unique and consistent." - }, - "sortBy": { - "description": "Optional. The criteria determining how search results are sorted. Defaults to SortBy.RELEVANCE_DESC if no value is specified.", - "enum": [ - "SORT_BY_UNSPECIFIED", - "RELEVANCE_DESC", - "PUBLISHED_DATE_DESC", - "UPDATED_DATE_DESC", - "TITLE", - "TITLE_DESC", - "ANNUALIZED_BASE_COMPENSATION", - "ANNUALIZED_TOTAL_COMPENSATION", - "ANNUALIZED_BASE_COMPENSATION_DESC", - "ANNUALIZED_TOTAL_COMPENSATION_DESC" - ], - "enumDescriptions": [ - "Default value.", - "By descending relevance, as determined by the API algorithms. Relevance thresholding of query results is only available for queries if RELEVANCE_DESC sort ordering is specified.", - "Sort by published date descending.", - "Sort by updated date descending.", - "Sort by job title ascending.", - "Sort by job title descending.", - "Sort by job annualized base compensation in ascending order. If job's annualized base compensation is unspecified, they are put at the end of search result.", - "Sort by job annualized total compensation in ascending order. If job's annualized total compensation is unspecified, they are put at the end of search result.", - "Sort by job annualized base compensation in descending order. If job's annualized base compensation is unspecified, they are put at the end of search result.", - "Sort by job annualized total compensation in descending order. If job's annualized total compensation is unspecified, they are put at the end of search result." - ], - "type": "string" - } - }, - "type": "object" - }, - "SearchJobsResponse": { - "description": "Output only. Response for SearchJob method.", - "id": "SearchJobsResponse", - "properties": { - "appliedCommuteFilter": { - "$ref": "CommutePreference", - "description": "The commute filter the service applied to the specified query. This information is only available when query has a valid CommutePreference." - }, - "appliedJobLocationFilters": { - "description": "The location filters that the service applied to the specified query. If any filters are lat-lng based, the JobLocation.location_type is JobLocation.LocationType#LOCATION_TYPE_UNSPECIFIED.", - "items": { - "$ref": "JobLocation" - }, - "type": "array" - }, - "estimatedTotalSize": { - "description": "An estimation of the number of jobs that match the specified query. This number is not guaranteed to be accurate. For accurate results, seenenable_precise_result_size.", - "format": "int64", - "type": "string" - }, - "histogramResults": { - "$ref": "HistogramResults", - "description": "The histogram results that match specified SearchJobsRequest.HistogramFacets." - }, - "jobView": { - "description": "Corresponds to SearchJobsRequest.job_view.", - "enum": [ - "JOB_VIEW_UNSPECIFIED", - "SMALL", - "MINIMAL", - "FULL" - ], - "enumDescriptions": [ - "Default value.", - "A small view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.job_title, Job.company_name, Job.job_locations, Job.description, Job.visibility. Note: Job.description is deprecated. It is scheduled to be removed from MatchingJob.Job objects in the SearchJobsResponse results on 12/31/2018.", - "A minimal view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.job_title, Job.company_name, Job.job_locations.", - "All available attributes are included in the search results. Note: [Job.description, Job.responsibilities, Job.qualifications and Job.incentives are deprecated. These fields are scheduled to be removed from MatchingJob.Job objects in the SearchJobsResponse results on 12/31/2018. See the alternative MatchingJob.search_text_snippet and MatchingJob.job_summary fields." - ], - "type": "string" - }, - "matchingJobs": { - "description": "The Job entities that match the specified SearchJobsRequest.", - "items": { - "$ref": "MatchingJob" - }, - "type": "array" - }, - "metadata": { - "$ref": "ResponseMetadata", - "description": "Additional information for the API invocation, such as the request tracking id." - }, - "nextPageToken": { - "description": "The token that specifies the starting position of the next page of results. This field is empty if there are no more results.", - "type": "string" - }, - "numJobsFromBroadenedQuery": { - "description": "If query broadening is enabled, we may append additional results from the broadened query. This number indicates how many of the jobs returned in the jobs field are from the broadened query. These results are always at the end of the jobs list. In particular, a value of 0 means all the jobs in the jobs list are from the original (without broadening) query. If this field is non-zero, subsequent requests with offset after this result set should contain all broadened results.", - "format": "int32", - "type": "integer" - }, - "spellResult": { - "$ref": "SpellingCorrection", - "description": "The spell checking result, and correction." - }, - "totalSize": { - "description": "The precise result count, which is available only if the client set enable_precise_result_size to `true` or if the response is the last page of results. Otherwise, the value will be `-1`.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "SpellingCorrection": { - "description": "Output only. Spell check result.", - "id": "SpellingCorrection", - "properties": { - "corrected": { - "description": "Indicates if the query was corrected by the spell checker.", - "type": "boolean" - }, - "correctedText": { - "description": "Correction output consisting of the corrected keyword string.", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "StringValues": { - "description": "Represents array of string values.", - "id": "StringValues", - "properties": { - "values": { - "description": "Required. String values.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "UpdateJobRequest": { - "description": "Input only. Update job request.", - "id": "UpdateJobRequest", - "properties": { - "disableStreetAddressResolution": { - "description": "Deprecated. Please use processing_options. This flag is ignored if processing_options is set. Optional. If set to `true`, the service does not attempt resolve a more precise address for the job.", - "type": "boolean" - }, - "job": { - "$ref": "Job", - "description": "Required. The Job to be updated." - }, - "processingOptions": { - "$ref": "JobProcessingOptions", - "description": "Optional. Options for job processing. UpdateJobRequest.disable_street_address_resolution is ignored if this flag is set." - }, - "updateJobFields": { - "description": "Optional but strongly recommended to be provided for the best service experience. If update_job_fields is provided, only the specified fields in job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Valid values are: * jobTitle * employmentTypes * description * applicationUrls * applicationEmailList * applicationInstruction * responsibilities * qualifications * educationLevels * level * department * startDate * endDate * compensationInfo * incentives * languageCode * benefits * expireTime * customAttributes * visibility * publishDate * promotionValue * locations * region * expiryDate (deprecated) * filterableCustomFields (deprecated) * unindexedCustomFields (deprecated)", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Talent Solution API", - "version": "v2", - "version_module": true -} \ No newline at end of file diff --git a/discovery/kgsearch-v1.json b/discovery/kgsearch-v1.json index 2a320077226..43622bcf261 100644 --- a/discovery/kgsearch-v1.json +++ b/discovery/kgsearch-v1.json @@ -151,7 +151,7 @@ } } }, - "revision": "20200912", + "revision": "20200809", "rootUrl": "https://kgsearch.googleapis.com/", "schemas": { "SearchResponse": { diff --git a/discovery/language-v1.json b/discovery/language-v1.json index 841164fdbec..fd56d5f7b9b 100644 --- a/discovery/language-v1.json +++ b/discovery/language-v1.json @@ -246,7 +246,7 @@ } } }, - "revision": "20250420", + "revision": "20250511", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -3670,6 +3670,7 @@ "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", "NVIDIA_B200", + "NVIDIA_GB200", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -3689,6 +3690,7 @@ "Nvidia H100 80Gb GPU.", "Nvidia H200 141Gb GPU.", "Nvidia B200 GPU.", + "Nvidia GB200 GPU.", "TPU v2 (JellyFish).", "TPU v3 (DragonFish).", "TPU_v4 (PufferFish).", diff --git a/discovery/language-v1beta1.json b/discovery/language-v1beta1.json deleted file mode 100644 index 54fe04efb5f..00000000000 --- a/discovery/language-v1beta1.json +++ /dev/null @@ -1,1100 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-language": { - "description": "Apply machine learning models to reveal the structure and meaning of text" - }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://language.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Natural Language", - "description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/natural-language/", - "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": "language:v1beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://language.mtls.googleapis.com/", - "name": "language", - "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": { - "documents": { - "methods": { - "analyzeEntities": { - "description": "Finds named entities (currently proper names and common nouns) in the text along with entity types, salience, mentions for each entity, and other properties.", - "flatPath": "v1beta1/documents:analyzeEntities", - "httpMethod": "POST", - "id": "language.documents.analyzeEntities", - "parameterOrder": [], - "parameters": {}, - "path": "v1beta1/documents:analyzeEntities", - "request": { - "$ref": "AnalyzeEntitiesRequest" - }, - "response": { - "$ref": "AnalyzeEntitiesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-language", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "analyzeSentiment": { - "description": "Analyzes the sentiment of the provided text.", - "flatPath": "v1beta1/documents:analyzeSentiment", - "httpMethod": "POST", - "id": "language.documents.analyzeSentiment", - "parameterOrder": [], - "parameters": {}, - "path": "v1beta1/documents:analyzeSentiment", - "request": { - "$ref": "AnalyzeSentimentRequest" - }, - "response": { - "$ref": "AnalyzeSentimentResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-language", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "analyzeSyntax": { - "description": "Analyzes the syntax of the text and provides sentence boundaries and tokenization along with part of speech tags, dependency trees, and other properties.", - "flatPath": "v1beta1/documents:analyzeSyntax", - "httpMethod": "POST", - "id": "language.documents.analyzeSyntax", - "parameterOrder": [], - "parameters": {}, - "path": "v1beta1/documents:analyzeSyntax", - "request": { - "$ref": "AnalyzeSyntaxRequest" - }, - "response": { - "$ref": "AnalyzeSyntaxResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-language", - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "annotateText": { - "description": "A convenience method that provides all the features that analyzeSentiment, analyzeEntities, and analyzeSyntax provide in one call.", - "flatPath": "v1beta1/documents:annotateText", - "httpMethod": "POST", - "id": "language.documents.annotateText", - "parameterOrder": [], - "parameters": {}, - "path": "v1beta1/documents:annotateText", - "request": { - "$ref": "AnnotateTextRequest" - }, - "response": { - "$ref": "AnnotateTextResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-language", - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - }, - "revision": "20221022", - "rootUrl": "https://language.googleapis.com/", - "schemas": { - "AnalyzeEntitiesRequest": { - "description": "The entity analysis request message.", - "id": "AnalyzeEntitiesRequest", - "properties": { - "document": { - "$ref": "Document", - "description": "Input document." - }, - "encodingType": { - "description": "The encoding type used by the API to calculate offsets.", - "enum": [ - "NONE", - "UTF8", - "UTF16", - "UTF32" - ], - "enumDescriptions": [ - "If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and Javascript are examples of languages that use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." - ], - "type": "string" - } - }, - "type": "object" - }, - "AnalyzeEntitiesResponse": { - "description": "The entity analysis response message.", - "id": "AnalyzeEntitiesResponse", - "properties": { - "entities": { - "description": "The recognized entities in the input document.", - "items": { - "$ref": "Entity" - }, - "type": "array" - }, - "language": { - "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", - "type": "string" - } - }, - "type": "object" - }, - "AnalyzeSentimentRequest": { - "description": "The sentiment analysis request message.", - "id": "AnalyzeSentimentRequest", - "properties": { - "document": { - "$ref": "Document", - "description": "Input document." - }, - "encodingType": { - "description": "The encoding type used by the API to calculate sentence offsets for the sentence sentiment.", - "enum": [ - "NONE", - "UTF8", - "UTF16", - "UTF32" - ], - "enumDescriptions": [ - "If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and Javascript are examples of languages that use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." - ], - "type": "string" - } - }, - "type": "object" - }, - "AnalyzeSentimentResponse": { - "description": "The sentiment analysis response message.", - "id": "AnalyzeSentimentResponse", - "properties": { - "documentSentiment": { - "$ref": "Sentiment", - "description": "The overall sentiment of the input document." - }, - "language": { - "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", - "type": "string" - }, - "sentences": { - "description": "The sentiment for all the sentences in the document.", - "items": { - "$ref": "Sentence" - }, - "type": "array" - } - }, - "type": "object" - }, - "AnalyzeSyntaxRequest": { - "description": "The syntax analysis request message.", - "id": "AnalyzeSyntaxRequest", - "properties": { - "document": { - "$ref": "Document", - "description": "Input document." - }, - "encodingType": { - "description": "The encoding type used by the API to calculate offsets.", - "enum": [ - "NONE", - "UTF8", - "UTF16", - "UTF32" - ], - "enumDescriptions": [ - "If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and Javascript are examples of languages that use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." - ], - "type": "string" - } - }, - "type": "object" - }, - "AnalyzeSyntaxResponse": { - "description": "The syntax analysis response message.", - "id": "AnalyzeSyntaxResponse", - "properties": { - "language": { - "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", - "type": "string" - }, - "sentences": { - "description": "Sentences in the input document.", - "items": { - "$ref": "Sentence" - }, - "type": "array" - }, - "tokens": { - "description": "Tokens, along with their syntactic information, in the input document.", - "items": { - "$ref": "Token" - }, - "type": "array" - } - }, - "type": "object" - }, - "AnnotateTextRequest": { - "description": "The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.", - "id": "AnnotateTextRequest", - "properties": { - "document": { - "$ref": "Document", - "description": "Input document." - }, - "encodingType": { - "description": "The encoding type used by the API to calculate offsets.", - "enum": [ - "NONE", - "UTF8", - "UTF16", - "UTF32" - ], - "enumDescriptions": [ - "If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and Javascript are examples of languages that use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." - ], - "type": "string" - }, - "features": { - "$ref": "Features", - "description": "The enabled features." - } - }, - "type": "object" - }, - "AnnotateTextResponse": { - "description": "The text annotations response message.", - "id": "AnnotateTextResponse", - "properties": { - "documentSentiment": { - "$ref": "Sentiment", - "description": "The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment." - }, - "entities": { - "description": "Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities.", - "items": { - "$ref": "Entity" - }, - "type": "array" - }, - "language": { - "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", - "type": "string" - }, - "sentences": { - "description": "Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.", - "items": { - "$ref": "Sentence" - }, - "type": "array" - }, - "tokens": { - "description": "Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.", - "items": { - "$ref": "Token" - }, - "type": "array" - } - }, - "type": "object" - }, - "DependencyEdge": { - "description": "Represents dependency parse tree information for a token.", - "id": "DependencyEdge", - "properties": { - "headTokenIndex": { - "description": "Represents the head of this token in the dependency tree. This is the index of the token which has an arc going to this token. The index is the position of the token in the array of tokens returned by the API method. If this token is a root token, then the `head_token_index` is its own index.", - "format": "int32", - "type": "integer" - }, - "label": { - "description": "The parse label for the token.", - "enum": [ - "UNKNOWN", - "ABBREV", - "ACOMP", - "ADVCL", - "ADVMOD", - "AMOD", - "APPOS", - "ATTR", - "AUX", - "AUXPASS", - "CC", - "CCOMP", - "CONJ", - "CSUBJ", - "CSUBJPASS", - "DEP", - "DET", - "DISCOURSE", - "DOBJ", - "EXPL", - "GOESWITH", - "IOBJ", - "MARK", - "MWE", - "MWV", - "NEG", - "NN", - "NPADVMOD", - "NSUBJ", - "NSUBJPASS", - "NUM", - "NUMBER", - "P", - "PARATAXIS", - "PARTMOD", - "PCOMP", - "POBJ", - "POSS", - "POSTNEG", - "PRECOMP", - "PRECONJ", - "PREDET", - "PREF", - "PREP", - "PRONL", - "PRT", - "PS", - "QUANTMOD", - "RCMOD", - "RCMODREL", - "RDROP", - "REF", - "REMNANT", - "REPARANDUM", - "ROOT", - "SNUM", - "SUFF", - "TMOD", - "TOPIC", - "VMOD", - "VOCATIVE", - "XCOMP", - "SUFFIX", - "TITLE", - "ADVPHMOD", - "AUXCAUS", - "AUXVV", - "DTMOD", - "FOREIGN", - "KW", - "LIST", - "NOMC", - "NOMCSUBJ", - "NOMCSUBJPASS", - "NUMC", - "COP", - "DISLOCATED", - "ASP", - "GMOD", - "GOBJ", - "INFMOD", - "MES", - "NCOMP" - ], - "enumDescriptions": [ - "Unknown", - "Abbreviation modifier", - "Adjectival complement", - "Adverbial clause modifier", - "Adverbial modifier", - "Adjectival modifier of an NP", - "Appositional modifier of an NP", - "Attribute dependent of a copular verb", - "Auxiliary (non-main) verb", - "Passive auxiliary", - "Coordinating conjunction", - "Clausal complement of a verb or adjective", - "Conjunct", - "Clausal subject", - "Clausal passive subject", - "Dependency (unable to determine)", - "Determiner", - "Discourse", - "Direct object", - "Expletive", - "Goes with (part of a word in a text not well edited)", - "Indirect object", - "Marker (word introducing a subordinate clause)", - "Multi-word expression", - "Multi-word verbal expression", - "Negation modifier", - "Noun compound modifier", - "Noun phrase used as an adverbial modifier", - "Nominal subject", - "Passive nominal subject", - "Numeric modifier of a noun", - "Element of compound number", - "Punctuation mark", - "Parataxis relation", - "Participial modifier", - "The complement of a preposition is a clause", - "Object of a preposition", - "Possession modifier", - "Postverbal negative particle", - "Predicate complement", - "Preconjunt", - "Predeterminer", - "Prefix", - "Prepositional modifier", - "The relationship between a verb and verbal morpheme", - "Particle", - "Associative or possessive marker", - "Quantifier phrase modifier", - "Relative clause modifier", - "Complementizer in relative clause", - "Ellipsis without a preceding predicate", - "Referent", - "Remnant", - "Reparandum", - "Root", - "Suffix specifying a unit of number", - "Suffix", - "Temporal modifier", - "Topic marker", - "Clause headed by an infinite form of the verb that modifies a noun", - "Vocative", - "Open clausal complement", - "Name suffix", - "Name title", - "Adverbial phrase modifier", - "Causative auxiliary", - "Helper auxiliary", - "Rentaishi (Prenominal modifier)", - "Foreign words", - "Keyword", - "List for chains of comparable items", - "Nominalized clause", - "Nominalized clausal subject", - "Nominalized clausal passive", - "Compound of numeric modifier", - "Copula", - "Dislocated relation (for fronted/topicalized elements)", - "Aspect marker", - "Genitive modifier", - "Genitive object", - "Infinitival modifier", - "Measure", - "Nominal complement of a noun" - ], - "type": "string" - } - }, - "type": "object" - }, - "Document": { - "description": "Represents the input to API methods.", - "id": "Document", - "properties": { - "content": { - "description": "The content of the input in string format. Cloud audit logging exempt since it is based on user data.", - "type": "string" - }, - "gcsContentUri": { - "description": "The Google Cloud Storage URI where the file content is located. This URI must be of the form: gs://bucket_name/object_name. For more details, see https://cloud.google.com/storage/docs/reference-uris. NOTE: Cloud Storage object versioning is not supported.", - "type": "string" - }, - "language": { - "description": "The language of the document (if not specified, the language is automatically detected). Both ISO and BCP-47 language codes are accepted. [Language Support](https://cloud.google.com/natural-language/docs/languages) lists currently supported languages for each API method. If the language (either specified by the caller or automatically detected) is not supported by the called API method, an `INVALID_ARGUMENT` error is returned.", - "type": "string" - }, - "type": { - "description": "Required. If the type is not set or is `TYPE_UNSPECIFIED`, returns an `INVALID_ARGUMENT` error.", - "enum": [ - "TYPE_UNSPECIFIED", - "PLAIN_TEXT", - "HTML" - ], - "enumDescriptions": [ - "The content type is not specified.", - "Plain text", - "HTML" - ], - "type": "string" - } - }, - "type": "object" - }, - "Entity": { - "description": "Represents a phrase in the text that is a known entity, such as a person, an organization, or location. The API associates information, such as salience and mentions, with entities.", - "id": "Entity", - "properties": { - "mentions": { - "description": "The mentions of this entity in the input document. The API currently supports proper noun mentions.", - "items": { - "$ref": "EntityMention" - }, - "type": "array" - }, - "metadata": { - "additionalProperties": { - "type": "string" - }, - "description": "Metadata associated with the entity. Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if available. The associated keys are \"wikipedia_url\" and \"mid\", respectively.", - "type": "object" - }, - "name": { - "description": "The representative name for the entity.", - "type": "string" - }, - "salience": { - "description": "The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient.", - "format": "float", - "type": "number" - }, - "type": { - "description": "The entity type.", - "enum": [ - "UNKNOWN", - "PERSON", - "LOCATION", - "ORGANIZATION", - "EVENT", - "WORK_OF_ART", - "CONSUMER_GOOD", - "OTHER" - ], - "enumDescriptions": [ - "Unknown", - "Person", - "Location", - "Organization", - "Event", - "Work of art", - "Consumer goods", - "Other types" - ], - "type": "string" - } - }, - "type": "object" - }, - "EntityMention": { - "description": "Represents a mention for an entity in the text. Currently, proper noun mentions are supported.", - "id": "EntityMention", - "properties": { - "text": { - "$ref": "TextSpan", - "description": "The mention text." - }, - "type": { - "description": "The type of the entity mention.", - "enum": [ - "TYPE_UNKNOWN", - "PROPER", - "COMMON" - ], - "enumDescriptions": [ - "Unknown", - "Proper name", - "Common noun (or noun compound)" - ], - "type": "string" - } - }, - "type": "object" - }, - "Features": { - "description": "All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.", - "id": "Features", - "properties": { - "extractDocumentSentiment": { - "description": "Extract document-level sentiment.", - "type": "boolean" - }, - "extractEntities": { - "description": "Extract entities.", - "type": "boolean" - }, - "extractSyntax": { - "description": "Extract syntax information.", - "type": "boolean" - } - }, - "type": "object" - }, - "PartOfSpeech": { - "description": "Represents part of speech information for a token.", - "id": "PartOfSpeech", - "properties": { - "aspect": { - "description": "The grammatical aspect.", - "enum": [ - "ASPECT_UNKNOWN", - "PERFECTIVE", - "IMPERFECTIVE", - "PROGRESSIVE" - ], - "enumDescriptions": [ - "Aspect is not applicable in the analyzed language or is not predicted.", - "Perfective", - "Imperfective", - "Progressive" - ], - "type": "string" - }, - "case": { - "description": "The grammatical case.", - "enum": [ - "CASE_UNKNOWN", - "ACCUSATIVE", - "ADVERBIAL", - "COMPLEMENTIVE", - "DATIVE", - "GENITIVE", - "INSTRUMENTAL", - "LOCATIVE", - "NOMINATIVE", - "OBLIQUE", - "PARTITIVE", - "PREPOSITIONAL", - "REFLEXIVE_CASE", - "RELATIVE_CASE", - "VOCATIVE" - ], - "enumDescriptions": [ - "Case is not applicable in the analyzed language or is not predicted.", - "Accusative", - "Adverbial", - "Complementive", - "Dative", - "Genitive", - "Instrumental", - "Locative", - "Nominative", - "Oblique", - "Partitive", - "Prepositional", - "Reflexive", - "Relative", - "Vocative" - ], - "type": "string" - }, - "form": { - "description": "The grammatical form.", - "enum": [ - "FORM_UNKNOWN", - "ADNOMIAL", - "AUXILIARY", - "COMPLEMENTIZER", - "FINAL_ENDING", - "GERUND", - "REALIS", - "IRREALIS", - "SHORT", - "LONG", - "ORDER", - "SPECIFIC" - ], - "enumDescriptions": [ - "Form is not applicable in the analyzed language or is not predicted.", - "Adnomial", - "Auxiliary", - "Complementizer", - "Final ending", - "Gerund", - "Realis", - "Irrealis", - "Short form", - "Long form", - "Order form", - "Specific form" - ], - "type": "string" - }, - "gender": { - "description": "The grammatical gender.", - "enum": [ - "GENDER_UNKNOWN", - "FEMININE", - "MASCULINE", - "NEUTER" - ], - "enumDescriptions": [ - "Gender is not applicable in the analyzed language or is not predicted.", - "Feminine", - "Masculine", - "Neuter" - ], - "type": "string" - }, - "mood": { - "description": "The grammatical mood.", - "enum": [ - "MOOD_UNKNOWN", - "CONDITIONAL_MOOD", - "IMPERATIVE", - "INDICATIVE", - "INTERROGATIVE", - "JUSSIVE", - "SUBJUNCTIVE" - ], - "enumDescriptions": [ - "Mood is not applicable in the analyzed language or is not predicted.", - "Conditional", - "Imperative", - "Indicative", - "Interrogative", - "Jussive", - "Subjunctive" - ], - "type": "string" - }, - "number": { - "description": "The grammatical number.", - "enum": [ - "NUMBER_UNKNOWN", - "SINGULAR", - "PLURAL", - "DUAL" - ], - "enumDescriptions": [ - "Number is not applicable in the analyzed language or is not predicted.", - "Singular", - "Plural", - "Dual" - ], - "type": "string" - }, - "person": { - "description": "The grammatical person.", - "enum": [ - "PERSON_UNKNOWN", - "FIRST", - "SECOND", - "THIRD", - "REFLEXIVE_PERSON" - ], - "enumDescriptions": [ - "Person is not applicable in the analyzed language or is not predicted.", - "First", - "Second", - "Third", - "Reflexive" - ], - "type": "string" - }, - "proper": { - "description": "The grammatical properness.", - "enum": [ - "PROPER_UNKNOWN", - "PROPER", - "NOT_PROPER" - ], - "enumDescriptions": [ - "Proper is not applicable in the analyzed language or is not predicted.", - "Proper", - "Not proper" - ], - "type": "string" - }, - "reciprocity": { - "description": "The grammatical reciprocity.", - "enum": [ - "RECIPROCITY_UNKNOWN", - "RECIPROCAL", - "NON_RECIPROCAL" - ], - "enumDescriptions": [ - "Reciprocity is not applicable in the analyzed language or is not predicted.", - "Reciprocal", - "Non-reciprocal" - ], - "type": "string" - }, - "tag": { - "description": "The part of speech tag.", - "enum": [ - "UNKNOWN", - "ADJ", - "ADP", - "ADV", - "CONJ", - "DET", - "NOUN", - "NUM", - "PRON", - "PRT", - "PUNCT", - "VERB", - "X", - "AFFIX" - ], - "enumDescriptions": [ - "Unknown", - "Adjective", - "Adposition (preposition and postposition)", - "Adverb", - "Conjunction", - "Determiner", - "Noun (common and proper)", - "Cardinal number", - "Pronoun", - "Particle or other function word", - "Punctuation", - "Verb (all tenses and modes)", - "Other: foreign words, typos, abbreviations", - "Affix" - ], - "type": "string" - }, - "tense": { - "description": "The grammatical tense.", - "enum": [ - "TENSE_UNKNOWN", - "CONDITIONAL_TENSE", - "FUTURE", - "PAST", - "PRESENT", - "IMPERFECT", - "PLUPERFECT" - ], - "enumDescriptions": [ - "Tense is not applicable in the analyzed language or is not predicted.", - "Conditional", - "Future", - "Past", - "Present", - "Imperfect", - "Pluperfect" - ], - "type": "string" - }, - "voice": { - "description": "The grammatical voice.", - "enum": [ - "VOICE_UNKNOWN", - "ACTIVE", - "CAUSATIVE", - "PASSIVE" - ], - "enumDescriptions": [ - "Voice is not applicable in the analyzed language or is not predicted.", - "Active", - "Causative", - "Passive" - ], - "type": "string" - } - }, - "type": "object" - }, - "Sentence": { - "description": "Represents a sentence in the input document.", - "id": "Sentence", - "properties": { - "sentiment": { - "$ref": "Sentiment", - "description": "For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence." - }, - "text": { - "$ref": "TextSpan", - "description": "The sentence text." - } - }, - "type": "object" - }, - "Sentiment": { - "description": "Represents the feeling associated with the entire text or entities in the text.", - "id": "Sentiment", - "properties": { - "magnitude": { - "description": "A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).", - "format": "float", - "type": "number" - }, - "polarity": { - "description": "DEPRECATED FIELD - This field is being deprecated in favor of score. Please refer to our documentation at https://cloud.google.com/natural-language/docs for more information.", - "format": "float", - "type": "number" - }, - "score": { - "description": "Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "TextSpan": { - "description": "Represents an output piece of text.", - "id": "TextSpan", - "properties": { - "beginOffset": { - "description": "The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.", - "format": "int32", - "type": "integer" - }, - "content": { - "description": "The content of the output text.", - "type": "string" - } - }, - "type": "object" - }, - "Token": { - "description": "Represents the smallest syntactic building block of the text.", - "id": "Token", - "properties": { - "dependencyEdge": { - "$ref": "DependencyEdge", - "description": "Dependency tree parse for this token." - }, - "lemma": { - "description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.", - "type": "string" - }, - "partOfSpeech": { - "$ref": "PartOfSpeech", - "description": "Parts of speech tag for this token." - }, - "text": { - "$ref": "TextSpan", - "description": "The token text." - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Natural Language API", - "version": "v1beta1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/language-v1beta2.json b/discovery/language-v1beta2.json index 22fb3debd12..b64c35bf4a5 100644 --- a/discovery/language-v1beta2.json +++ b/discovery/language-v1beta2.json @@ -246,7 +246,7 @@ } } }, - "revision": "20250420", + "revision": "20250511", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -3688,6 +3688,7 @@ "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", "NVIDIA_B200", + "NVIDIA_GB200", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -3707,6 +3708,7 @@ "Nvidia H100 80Gb GPU.", "Nvidia H200 141Gb GPU.", "Nvidia B200 GPU.", + "Nvidia GB200 GPU.", "TPU v2 (JellyFish).", "TPU v3 (DragonFish).", "TPU_v4 (PufferFish).", diff --git a/discovery/language-v2.json b/discovery/language-v2.json index 04c4d6d850a..5af4be96c90 100644 --- a/discovery/language-v2.json +++ b/discovery/language-v2.json @@ -208,7 +208,7 @@ } } }, - "revision": "20250420", + "revision": "20250511", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -3041,6 +3041,7 @@ "NVIDIA_H100_MEGA_80GB", "NVIDIA_H200_141GB", "NVIDIA_B200", + "NVIDIA_GB200", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -3060,6 +3061,7 @@ "Nvidia H100 80Gb GPU.", "Nvidia H200 141Gb GPU.", "Nvidia B200 GPU.", + "Nvidia GB200 GPU.", "TPU v2 (JellyFish).", "TPU v3 (DragonFish).", "TPU_v4 (PufferFish).", diff --git a/discovery/libraryagent-v1.json b/discovery/libraryagent-v1.json index bd143fbe4ff..028739859c4 100644 --- a/discovery/libraryagent-v1.json +++ b/discovery/libraryagent-v1.json @@ -279,7 +279,7 @@ } } }, - "revision": "20210830", + "revision": "20210806", "rootUrl": "https://libraryagent.googleapis.com/", "schemas": { "GoogleExampleLibraryagentV1Book": { diff --git a/discovery/marketingplatformadmin-v1alpha.json b/discovery/marketingplatformadmin-v1alpha.json index 3c35ab7b348..ce57768e7c3 100644 --- a/discovery/marketingplatformadmin-v1alpha.json +++ b/discovery/marketingplatformadmin-v1alpha.json @@ -263,7 +263,7 @@ } } }, - "revision": "20240530", + "revision": "20240529", "rootUrl": "https://marketingplatformadmin.googleapis.com/", "schemas": { "AnalyticsAccountLink": { diff --git a/discovery/memcache-v1.json b/discovery/memcache-v1.json index 19db8617bcd..366ea2d5882 100644 --- a/discovery/memcache-v1.json +++ b/discovery/memcache-v1.json @@ -143,6 +143,12 @@ "name" ], "parameters": { + "extraLocationTypes": { + "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", + "location": "query", + "repeated": true, + "type": "string" + }, "filter": { "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", "location": "query", @@ -584,7 +590,7 @@ } } }, - "revision": "20250206", + "revision": "20250505", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { @@ -797,6 +803,10 @@ "description": "consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites).", "type": "string" }, + "consumerProjectNumber": { + "description": "Optional. The consumer_project_number associated with this Apigee instance. This field is added specifically to support Apigee integration with SLM Rollout and UMM. It represents the numerical project ID of the GCP project that consumes this Apigee instance. It is used for SLM rollout notifications and UMM integration, enabling proper mapping to customer projects and log delivery for Apigee instances. This field complements consumer_project_id and may be used for specific Apigee scenarios where the numerical ID is required.", + "type": "string" + }, "createTime": { "description": "Output only. Timestamp when the resource was created.", "format": "google-datetime", diff --git a/discovery/memcache-v1beta2.json b/discovery/memcache-v1beta2.json index f6edbe8c523..94ca3caa1ba 100644 --- a/discovery/memcache-v1beta2.json +++ b/discovery/memcache-v1beta2.json @@ -143,6 +143,12 @@ "name" ], "parameters": { + "extraLocationTypes": { + "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", + "location": "query", + "repeated": true, + "type": "string" + }, "filter": { "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", "location": "query", @@ -612,7 +618,7 @@ } } }, - "revision": "20250206", + "revision": "20250505", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { @@ -843,6 +849,10 @@ "description": "consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites).", "type": "string" }, + "consumerProjectNumber": { + "description": "Optional. The consumer_project_number associated with this Apigee instance. This field is added specifically to support Apigee integration with SLM Rollout and UMM. It represents the numerical project ID of the GCP project that consumes this Apigee instance. It is used for SLM rollout notifications and UMM integration, enabling proper mapping to customer projects and log delivery for Apigee instances. This field complements consumer_project_id and may be used for specific Apigee scenarios where the numerical ID is required.", + "type": "string" + }, "createTime": { "description": "Output only. Timestamp when the resource was created.", "format": "google-datetime", diff --git a/discovery/merchantapi-accounts_v1beta.json b/discovery/merchantapi-accounts_v1beta.json index 34d38e032c8..0f83e9b64d2 100644 --- a/discovery/merchantapi-accounts_v1beta.json +++ b/discovery/merchantapi-accounts_v1beta.json @@ -602,7 +602,7 @@ "homepage": { "methods": { "claim": { - "description": "Claims a store's homepage. Executing this method requires admin access. If the homepage is already claimed, this will recheck the verification (unless the merchant is exempted from claiming, which also exempts from verification) and return a successful response. If ownership can no longer be verified, it will return an error, but it won't clear the claim. In case of failure, a canonical error message will be returned: * PERMISSION_DENIED: user doesn't have the necessary permissions on this MC account; * FAILED_PRECONDITION: - The account is not a Merchant Center account; - MC account doesn't have a homepage; - claiming failed (in this case the error message will contain more details).", + "description": "Claims a store's homepage. Executing this method requires admin access. If the homepage is already claimed, this will recheck the verification (unless the merchant is exempted from claiming, which also exempts from verification) and return a successful response. If ownership can no longer be verified, it will return an error, but it won't clear the claim. In case of failure, a canonical error message is returned: * PERMISSION_DENIED: User doesn't have the necessary permissions on this Merchant Center account. * FAILED_PRECONDITION: - The account is not a Merchant Center account. - Merchant Center account doesn't have a homepage. - Claiming failed (in this case the error message contains more details).", "flatPath": "accounts/v1beta/accounts/{accountsId}/homepage:claim", "httpMethod": "POST", "id": "merchantapi.accounts.homepage.claim", @@ -1123,7 +1123,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the account relationship to get.", + "description": "Required. The resource name of the account relationship to get. Format: `accounts/{account}/relationships/{relationship}`", "location": "path", "pattern": "^accounts/[^/]+/relationships/[^/]+$", "required": true, @@ -1159,7 +1159,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent account of the account relationship to filter by.", + "description": "Required. The parent account of the account relationship to filter by. Format: `accounts/{account}`", "location": "path", "pattern": "^accounts/[^/]+$", "required": true, @@ -1184,7 +1184,7 @@ ], "parameters": { "name": { - "description": "Identifier. The resource name of the account relationship.", + "description": "Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}`", "location": "path", "pattern": "^accounts/[^/]+/relationships/[^/]+$", "required": true, @@ -1222,7 +1222,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the account service to approve.", + "description": "Required. The resource name of the account service to approve. Format: `accounts/{account}/services/{service}`", "location": "path", "pattern": "^accounts/[^/]+/services/[^/]+$", "required": true, @@ -1250,7 +1250,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the account service to get.", + "description": "Required. The resource name of the account service to get. Format: `accounts/{account}/services/{service}`", "location": "path", "pattern": "^accounts/[^/]+/services/[^/]+$", "required": true, @@ -1286,7 +1286,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent account of the account service to filter by.", + "description": "Required. The parent account of the account service to filter by. Format: `accounts/{account}`", "location": "path", "pattern": "^accounts/[^/]+$", "required": true, @@ -1311,7 +1311,7 @@ ], "parameters": { "parent": { - "description": "Required. The resource name of the parent account for the service.", + "description": "Required. The resource name of the parent account for the service. Format: `accounts/{account}`", "location": "path", "pattern": "^accounts/[^/]+$", "required": true, @@ -1339,7 +1339,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the account service to reject.", + "description": "Required. The resource name of the account service to reject. Format: `accounts/{account}/services/{service}`", "location": "path", "pattern": "^accounts/[^/]+/services/[^/]+$", "required": true, @@ -1728,7 +1728,7 @@ } } }, - "revision": "20250430", + "revision": "20250507", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "AcceptTermsOfServiceResponse": { @@ -1866,7 +1866,7 @@ "type": "string" }, "name": { - "description": "Identifier. The resource name of the account relationship.", + "description": "Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}`", "type": "string" }, "provider": { @@ -1922,7 +1922,7 @@ "type": "string" }, "name": { - "description": "Identifier. The resource name of the account service.", + "description": "Identifier. The resource name of the account service. Format: `accounts/{account}/services/{service}`", "type": "string" }, "productsManagement": { @@ -2270,7 +2270,7 @@ "id": "ClaimHomepageRequest", "properties": { "overwrite": { - "description": "Optional. When set to `true`, this option removes any existing claim on the requested website and replaces it with a claim from the account that makes the request.", + "description": "Optional. When set to `true`, this option removes any existing claim on the requested website from any other account to the account making the request, effectively replacing the previous claim.", "type": "boolean" } }, @@ -3472,7 +3472,7 @@ "type": "object" }, "Program": { - "description": "Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&sjid=796648681813264022-EU) program, which enables products from a merchant's store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `free-listings` * `shopping-ads` * `youtube-shopping-checkout`", + "description": "Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/answer/13889434) program, which enables products from a merchant's store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `free-listings` * `shopping-ads` * `youtube-shopping-checkout`", "id": "Program", "properties": { "activeRegionCodes": { @@ -4195,7 +4195,7 @@ "type": "string" }, "warehouse": { - "description": "Required. Warehouse name. This should match warehouse", + "description": "Required. Warehouse name. This should match [warehouse](/merchant/api/reference/rest/accounts_v1beta/accounts.shippingSettings#warehouse)", "type": "string" } }, diff --git a/discovery/merchantapi-datasources_v1beta.json b/discovery/merchantapi-datasources_v1beta.json index cd4039ae9d5..0137886b3f7 100644 --- a/discovery/merchantapi-datasources_v1beta.json +++ b/discovery/merchantapi-datasources_v1beta.json @@ -110,7 +110,7 @@ "dataSources": { "methods": { "create": { - "description": "Creates the new data source configuration for the given account.", + "description": "Creates the new data source configuration for the given account. This method always creates a new data source.", "flatPath": "datasources/v1beta/accounts/{accountsId}/dataSources", "httpMethod": "POST", "id": "merchantapi.accounts.dataSources.create", @@ -321,7 +321,7 @@ } } }, - "revision": "20250430", + "revision": "20250507", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "DataSource": { diff --git a/discovery/merchantapi-issueresolution_v1beta.json b/discovery/merchantapi-issueresolution_v1beta.json new file mode 100644 index 00000000000..973a9bcc4d2 --- /dev/null +++ b/discovery/merchantapi-issueresolution_v1beta.json @@ -0,0 +1,999 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/content": { + "description": "Manage your product listings and accounts for Google Shopping" + } + } + } + }, + "basePath": "", + "baseUrl": "https://merchantapi.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Merchant", + "description": "Programmatically manage your Merchant Center Accounts.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", + "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": "merchantapi:issueresolution_v1beta", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", + "name": "merchantapi", + "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": { + "issueresolution": { + "methods": { + "renderaccountissues": { + "description": "Provide a list of business's account issues with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.", + "flatPath": "issueresolution/v1beta/accounts/{accountsId}:renderaccountissues", + "httpMethod": "POST", + "id": "merchantapi.issueresolution.renderaccountissues", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize issue resolution content. If not set, the result will be in default language `en-US`.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The account to fetch issues for. Format: `accounts/{account}`", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + }, + "timeZone": { + "description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.", + "location": "query", + "type": "string" + } + }, + "path": "issueresolution/v1beta/{+name}:renderaccountissues", + "request": { + "$ref": "RenderIssuesRequestPayload" + }, + "response": { + "$ref": "RenderAccountIssuesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "renderproductissues": { + "description": "Provide a list of issues for business's product with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.", + "flatPath": "issueresolution/v1beta/accounts/{accountsId}/products/{productsId}:renderproductissues", + "httpMethod": "POST", + "id": "merchantapi.issueresolution.renderproductissues", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize an issue resolution content. If not set, the result will be in default language `en-US`.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the product to fetch issues for. Format: `accounts/{account}/products/{product}`", + "location": "path", + "pattern": "^accounts/[^/]+/products/[^/]+$", + "required": true, + "type": "string" + }, + "timeZone": { + "description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.", + "location": "query", + "type": "string" + } + }, + "path": "issueresolution/v1beta/{+name}:renderproductissues", + "request": { + "$ref": "RenderIssuesRequestPayload" + }, + "response": { + "$ref": "RenderProductIssuesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "triggeraction": { + "description": "Start an action. The action can be requested by a business in third-party application. Before the business can request the action, the third-party application needs to show them action specific content and display a user input form. The action can be successfully started only once all `required` inputs are provided. If any `required` input is missing, or invalid value was provided, the service will return 400 error. Validation errors will contain Ids for all problematic field together with translated, human readable error messages that can be shown to the user.", + "flatPath": "issueresolution/v1beta/accounts/{accountsId}:triggeraction", + "httpMethod": "POST", + "id": "merchantapi.issueresolution.triggeraction", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "Optional. Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) used to localize the response. If not set, the result will be in default language `en-US`.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The business's account that is triggering the action. Format: `accounts/{account}`", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "issueresolution/v1beta/{+name}:triggeraction", + "request": { + "$ref": "TriggerActionPayload" + }, + "response": { + "$ref": "TriggerActionResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + } + }, + "revision": "20250505", + "rootUrl": "https://merchantapi.googleapis.com/", + "schemas": { + "Action": { + "description": "An actionable step that can be executed to solve the issue.", + "id": "Action", + "properties": { + "builtinSimpleAction": { + "$ref": "BuiltInSimpleAction", + "description": "Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available." + }, + "builtinUserInputAction": { + "$ref": "BuiltInUserInputAction", + "description": "Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs." + }, + "buttonLabel": { + "description": "Label of the action button.", + "type": "string" + }, + "externalAction": { + "$ref": "ExternalAction", + "description": "Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action." + }, + "isAvailable": { + "description": "Controlling whether the button is active or disabled. The value is 'false' when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.", + "type": "boolean" + }, + "reasons": { + "description": "List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.", + "items": { + "$ref": "Reason" + }, + "type": "array" + } + }, + "type": "object" + }, + "ActionFlow": { + "description": "Flow that can be selected for an action. When a business selects a flow, application should open a dialog with more information and input form.", + "id": "ActionFlow", + "properties": { + "dialogButtonLabel": { + "description": "Label for the button to trigger the action from the action dialog. For example: \"Request review\"", + "type": "string" + }, + "dialogCallout": { + "$ref": "Callout", + "description": "Important message to be highlighted in the request dialog. For example: \"You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait a few days before you can request another review.\"" + }, + "dialogMessage": { + "$ref": "TextWithTooltip", + "description": "Message displayed in the request dialog. For example: \"Make sure you've fixed all your country-specific issues. If not, you may have to wait 7 days to request another review\". There may be an more information to be shown in a tooltip." + }, + "dialogTitle": { + "description": "Title of the request dialog. For example: \"Before you request a review\"", + "type": "string" + }, + "id": { + "description": "Not for display but need to be sent back for the selected action flow.", + "type": "string" + }, + "inputs": { + "description": "A list of input fields.", + "items": { + "$ref": "InputField" + }, + "type": "array" + }, + "label": { + "description": "Text value describing the intent for the action flow. It can be used as an input label if business needs to pick one of multiple flows. For example: \"I disagree with the issue\"", + "type": "string" + } + }, + "type": "object" + }, + "ActionInput": { + "description": "Input provided by the business.", + "id": "ActionInput", + "properties": { + "actionFlowId": { + "description": "Required. Id of the selected action flow.", + "type": "string" + }, + "inputValues": { + "description": "Required. Values for input fields.", + "items": { + "$ref": "InputValue" + }, + "type": "array" + } + }, + "type": "object" + }, + "AdditionalContent": { + "description": "Long text from external source.", + "id": "AdditionalContent", + "properties": { + "paragraphs": { + "description": "Long text organized into paragraphs.", + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "description": "Title of the additional content;", + "type": "string" + } + }, + "type": "object" + }, + "Breakdown": { + "description": "A detailed impact breakdown for a group of regions where the impact of the issue on different shopping destinations is the same.", + "id": "Breakdown", + "properties": { + "details": { + "description": "Human readable, localized description of issue's effect on different targets. Should be rendered as a list. For example: * \"Products not showing in ads\" * \"Products not showing organically\"", + "items": { + "type": "string" + }, + "type": "array" + }, + "regions": { + "description": "Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.", + "items": { + "$ref": "Region" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuiltInSimpleAction": { + "description": "Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to business and will help them with resolving the issue. The application should point the business to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to the business and provide them with instructions how to solve the issue.", + "id": "BuiltInSimpleAction", + "properties": { + "additionalContent": { + "$ref": "AdditionalContent", + "description": "Long text from an external source that should be available to the business. Present when the type is `SHOW_ADDITIONAL_CONTENT`." + }, + "attributeCode": { + "description": "The attribute that needs to be updated. Present when the type is `EDIT_ITEM_ATTRIBUTE`. This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes [here](https://support.google.com/merchants/answer/7052112).", + "type": "string" + }, + "type": { + "description": "The type of action that represents a functionality that is expected to be available in third-party application.", + "enum": [ + "BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED", + "VERIFY_PHONE", + "CLAIM_WEBSITE", + "ADD_PRODUCTS", + "ADD_CONTACT_INFO", + "LINK_ADS_ACCOUNT", + "ADD_BUSINESS_REGISTRATION_NUMBER", + "EDIT_ITEM_ATTRIBUTE", + "FIX_ACCOUNT_ISSUE", + "SHOW_ADDITIONAL_CONTENT" + ], + "enumDescriptions": [ + "Default value. Will never be provided by the API.", + "Redirect the business to the part of your application where they can verify their phone.", + "Redirect the business to the part of your application where they can claim their website.", + "Redirect the business to the part of your application where they can add products.", + "Open a form where the business can edit their contact information.", + "Redirect the business to the part of your application where they can link ads account.", + "Open a form where the business can add their business registration number.", + "Open a form where the business can edit an attribute. The attribute that needs to be updated is specified in attribute_code field of the action.", + "Redirect the business from the product issues to the diagnostic page with their account issues in your application. This action will be returned only for product issues that are caused by an account issue and thus the business should resolve the problem on the account level.", + "Show additional content to the business. This action will be used for example to deliver a justification from national authority." + ], + "type": "string" + } + }, + "type": "object" + }, + "BuiltInUserInputAction": { + "description": "Action that is implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business. They can start the action only when they provided all required inputs. The application will request processing of the action by calling the [triggeraction method](https://developers.google.com/merchant/api/reference/rest/issueresolution_v1beta/issueresolution/triggeraction).", + "id": "BuiltInUserInputAction", + "properties": { + "actionContext": { + "description": "Contains the action's context that must be included as part of the TriggerActionPayload.action_context in TriggerActionRequest.payload to call the `triggeraction` method. The content should be treated as opaque and must not be modified.", + "type": "string" + }, + "flows": { + "description": "Actions may provide multiple different flows. Business selects one that fits best to their intent. Selecting the flow is the first step in user's interaction with the action. It affects what input fields will be available and required and also how the request will be processed.", + "items": { + "$ref": "ActionFlow" + }, + "type": "array" + } + }, + "type": "object" + }, + "Callout": { + "description": "An important message that should be highlighted. Usually displayed as a banner.", + "id": "Callout", + "properties": { + "fullMessage": { + "$ref": "TextWithTooltip", + "description": "A full message that needs to be shown to the business." + }, + "styleHint": { + "description": "Can be used to render messages with different severity in different styles. Snippets off all types contain important information that should be displayed to the business.", + "enum": [ + "CALLOUT_STYLE_HINT_UNSPECIFIED", + "ERROR", + "WARNING", + "INFO" + ], + "enumDescriptions": [ + "Default value. Will never be provided by the API.", + "The most important type of information highlighting problems, like an unsuccessful outcome of previously requested actions.", + "Information warning about pending problems, risks or deadlines.", + "Default severity for important information like pending status of previously requested action or cooldown for re-review." + ], + "type": "string" + } + }, + "type": "object" + }, + "CheckboxInput": { + "description": "Checkbox input allows the business to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox). If the business checks the box, the input value for the field is `true`, otherwise it is `false`. This type of input is often used as a confirmation that the business completed required steps before they are allowed to start the action. In such a case, the input field is marked as required and the button to trigger the action should stay disabled until the business checks the box.", + "id": "CheckboxInput", + "properties": {}, + "type": "object" + }, + "CheckboxInputValue": { + "description": "Value for checkbox input field.", + "id": "CheckboxInputValue", + "properties": { + "value": { + "description": "Required. True if the business checked the box field. False otherwise.", + "type": "boolean" + } + }, + "type": "object" + }, + "ChoiceInput": { + "description": "Choice input allows the business to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the the business. For example, additional input field can be hidden or disabled until the business selects the specific choice.", + "id": "ChoiceInput", + "properties": { + "options": { + "description": "A list of choices. Only one option can be selected.", + "items": { + "$ref": "ChoiceInputOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "ChoiceInputOption": { + "description": "A choice that the business can select.", + "id": "ChoiceInputOption", + "properties": { + "additionalInput": { + "$ref": "InputField", + "description": "Input that should be displayed when this option is selected. The additional input will not contain a `ChoiceInput`." + }, + "id": { + "description": "Not for display but need to be sent back for the selected choice option.", + "type": "string" + }, + "label": { + "$ref": "TextWithTooltip", + "description": "Short description of the choice option. There may be more information to be shown as a tooltip." + } + }, + "type": "object" + }, + "ChoiceInputValue": { + "description": "Value for choice input field.", + "id": "ChoiceInputValue", + "properties": { + "choiceInputOptionId": { + "description": "Required. Id of the option that was selected by the business.", + "type": "string" + } + }, + "type": "object" + }, + "ExternalAction": { + "description": "Action that is implemented and performed outside of the third-party application. It should redirect the business to the provided URL of an external system where they can perform the action. For example to request a review in the Merchant Center.", + "id": "ExternalAction", + "properties": { + "type": { + "description": "The type of external action.", + "enum": [ + "EXTERNAL_ACTION_TYPE_UNSPECIFIED", + "REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER", + "REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER", + "LEGAL_APPEAL_IN_HELP_CENTER", + "VERIFY_IDENTITY_IN_MERCHANT_CENTER" + ], + "enumDescriptions": [ + "Default value. Will never be provided by the API.", + "Redirect to Merchant Center where the business can request a review for issue related to their product.", + "Redirect to Merchant Center where the business can request a review for issue related to their account.", + "Redirect to the form in Help Center where the business can request a legal appeal for the issue.", + "Redirect to Merchant Center where the business can perform identity verification." + ], + "type": "string" + }, + "uri": { + "description": "URL to external system, for example Merchant Center, where the business can perform the action.", + "type": "string" + } + }, + "type": "object" + }, + "Impact": { + "description": "Overall impact of the issue.", + "id": "Impact", + "properties": { + "breakdowns": { + "description": "Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.", + "items": { + "$ref": "Breakdown" + }, + "type": "array" + }, + "message": { + "description": "Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the business. For example: \"Disapproves 90k offers in 25 countries\"", + "type": "string" + }, + "severity": { + "description": "The severity of the issue.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "ERROR", + "WARNING", + "INFO" + ], + "enumDescriptions": [ + "Default value. Will never be provided by the API.", + "Causes either an account suspension or an item disapproval. Errors should be resolved as soon as possible to ensure items are eligible to appear in results again.", + "Warnings can negatively impact the performance of ads and can lead to item or account suspensions in the future unless the issue is resolved.", + "Infos are suggested optimizations to increase data quality. Resolving these issues is recommended, but not required." + ], + "type": "string" + } + }, + "type": "object" + }, + "InputField": { + "description": "Input field that needs to be available to the business. If the field is marked as required, then a value needs to be provided for a successful processing of the request.", + "id": "InputField", + "properties": { + "checkboxInput": { + "$ref": "CheckboxInput", + "description": "Input field to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox)." + }, + "choiceInput": { + "$ref": "ChoiceInput", + "description": "Input field to select one of the offered choices. Corresponds to the [html input type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio)." + }, + "id": { + "description": "Not for display but need to be sent back for the given input field.", + "type": "string" + }, + "label": { + "$ref": "TextWithTooltip", + "description": "Input field label. There may be more information to be shown in a tooltip." + }, + "required": { + "description": "Whether the field is required. The action button needs to stay disabled till values for all required fields are provided.", + "type": "boolean" + }, + "textInput": { + "$ref": "TextInput", + "description": "Input field to provide text information. Corresponds to the [html input type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text) or [html textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea)." + } + }, + "type": "object" + }, + "InputValue": { + "description": "Input provided by the business for input field.", + "id": "InputValue", + "properties": { + "checkboxInputValue": { + "$ref": "CheckboxInputValue", + "description": "Value for checkbox input field." + }, + "choiceInputValue": { + "$ref": "ChoiceInputValue", + "description": "Value for choice input field." + }, + "inputFieldId": { + "description": "Required. Id of the corresponding input field.", + "type": "string" + }, + "textInputValue": { + "$ref": "TextInputValue", + "description": "Value for text input field." + } + }, + "type": "object" + }, + "ProductChange": { + "description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", + "id": "ProductChange", + "properties": { + "newValue": { + "description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", + "type": "string" + }, + "oldValue": { + "description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", + "type": "string" + }, + "regionCode": { + "description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", + "type": "string" + }, + "reportingContext": { + "description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", + "enum": [ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT" + ], + "enumDeprecated": [ + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "Not specified.", + "[Shopping ads](https://support.google.com/merchants/answer/6149970).", + "Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", + "[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", + "[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", + "[Video ads](https://support.google.com/google-ads/answer/6340491).", + "[Display ads](https://support.google.com/merchants/answer/6069387).", + "[Local inventory ads](https://support.google.com/merchants/answer/3271956).", + "[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", + "[Free product listings](https://support.google.com/merchants/answer/9199328).", + "[Free local product listings](https://support.google.com/merchants/answer/9825611).", + "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", + "[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", + "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", + "[Cloud retail](https://cloud.google.com/solutions/retail).", + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", + "YouTube Checkout ." + ], + "type": "string" + } + }, + "type": "object" + }, + "ProductStatusChangeMessage": { + "description": "The message that the merchant will receive to notify about product status change event", + "id": "ProductStatusChangeMessage", + "properties": { + "account": { + "description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", + "type": "string" + }, + "attribute": { + "description": "The attribute in the resource that changed, in this case it will be always `Status`.", + "enum": [ + "ATTRIBUTE_UNSPECIFIED", + "STATUS" + ], + "enumDescriptions": [ + "Unspecified attribute", + "Status of the changed entity" + ], + "type": "string" + }, + "changes": { + "description": "A message to describe the change that happened to the product", + "items": { + "$ref": "ProductChange" + }, + "type": "array" + }, + "eventTime": { + "description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", + "format": "google-datetime", + "type": "string" + }, + "expirationTime": { + "description": "Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.", + "format": "google-datetime", + "type": "string" + }, + "managingAccount": { + "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", + "type": "string" + }, + "resource": { + "description": "The product name. Format: `accounts/{account}/products/{product}`", + "type": "string" + }, + "resourceId": { + "description": "The product id.", + "type": "string" + }, + "resourceType": { + "description": "The resource that changed, in this case it will always be `Product`.", + "enum": [ + "RESOURCE_UNSPECIFIED", + "PRODUCT" + ], + "enumDescriptions": [ + "Unspecified resource", + "Resource type : product" + ], + "type": "string" + } + }, + "type": "object" + }, + "Reason": { + "description": "A single reason why the action is not available.", + "id": "Reason", + "properties": { + "action": { + "$ref": "Action", + "description": "Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message. For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action." + }, + "detail": { + "description": "Detailed explanation of the reason. Should be displayed as a hint if present.", + "type": "string" + }, + "message": { + "description": "Messages summarizing the reason, why the action is not available. For example: \"Review requested on Jan 03. Review requests can take a few days to complete.\"", + "type": "string" + } + }, + "type": "object" + }, + "Region": { + "description": "Region with code and localized name.", + "id": "Region", + "properties": { + "code": { + "description": "The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)", + "type": "string" + }, + "name": { + "description": "The localized name of the region. For region with code='001' the value is 'All countries' or the equivalent in other languages.", + "type": "string" + } + }, + "type": "object" + }, + "RenderAccountIssuesResponse": { + "description": "Response containing an issue resolution content and actions for listed account issues.", + "id": "RenderAccountIssuesResponse", + "properties": { + "renderedIssues": { + "description": "List of account issues for a given account. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.", + "items": { + "$ref": "RenderedIssue" + }, + "type": "array" + } + }, + "type": "object" + }, + "RenderIssuesRequestPayload": { + "description": "The payload for configuring how the content should be rendered.", + "id": "RenderIssuesRequestPayload", + "properties": { + "contentOption": { + "description": "Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.", + "enum": [ + "CONTENT_OPTION_UNSPECIFIED", + "PRE_RENDERED_HTML" + ], + "enumDescriptions": [ + "Default value. Will never be provided by the API.", + "Returns the detail of the issue as a pre-rendered HTML text." + ], + "type": "string" + }, + "userInputActionOption": { + "description": "Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action.", + "enum": [ + "USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED", + "REDIRECT_TO_MERCHANT_CENTER", + "BUILT_IN_USER_INPUT_ACTIONS" + ], + "enumDescriptions": [ + "Default value. Will never be provided by the API.", + "Actions that require user input are represented only as links that points the business to Merchant Center where they can request the action. Provides easier to implement alternative to `BUILT_IN_USER_INPUT_ACTIONS`.", + "Returns content and input form definition for each complex action. Your application needs to display this content and input form to the business before they can request processing of the action. To start the action, your application needs to call the `triggeraction` method." + ], + "type": "string" + } + }, + "type": "object" + }, + "RenderProductIssuesResponse": { + "description": "Response containing an issue resolution content and actions for listed product issues.", + "id": "RenderProductIssuesResponse", + "properties": { + "renderedIssues": { + "description": "List of issues for a given product. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.", + "items": { + "$ref": "RenderedIssue" + }, + "type": "array" + } + }, + "type": "object" + }, + "RenderedIssue": { + "description": "An issue affecting specific business or their product.", + "id": "RenderedIssue", + "properties": { + "actions": { + "description": "A list of actionable steps that can be executed to solve the issue. An example is requesting a re-review or providing arguments when business disagrees with the issue. Actions that are supported in (your) third-party application can be rendered as buttons and should be available to the business when they expand the issue.", + "items": { + "$ref": "Action" + }, + "type": "array" + }, + "impact": { + "$ref": "Impact", + "description": "Clarifies the severity of the issue. The summarizing message, if present, should be shown right under the title for each issue. It helps business to quickly understand the impact of the issue. The detailed breakdown helps the business to fully understand the impact of the issue. It can be rendered as dialog that opens when the business mouse over the summarized impact statement. Issues with different severity can be styled differently. They may use a different color or icon to signal the difference between `ERROR`, `WARNING` and `INFO`." + }, + "prerenderedContent": { + "description": "Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class.", + "type": "string" + }, + "prerenderedOutOfCourtDisputeSettlement": { + "description": "Pre-rendered HTML that contains a link to the external location where the ODS can be requested and instructions for how to request it. HTML elements contain CSS classes that can be used to customize the style of this snippet. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper around the out-of-court dispute resolution section * `ods-description`* - intro text for the out-of-court dispute resolution. It may contain multiple segments and a link. * `ods-param`* - wrapper around the header-value pair for parameters that the business may need to provide during the ODS process. * `ods-routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `ods-param-value`* - value of the ODS parameter. This value should be rendered in a way that it is easy for the user to identify and copy. * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon.", + "type": "string" + }, + "title": { + "description": "Title of the issue.", + "type": "string" + } + }, + "type": "object" + }, + "TextInput": { + "description": "Text input allows the business to provide a text value.", + "id": "TextInput", + "properties": { + "additionalInfo": { + "$ref": "TextWithTooltip", + "description": "Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip." + }, + "ariaLabel": { + "description": "Text to be used as the [aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the input.", + "type": "string" + }, + "formatInfo": { + "description": "Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: \"VAT numbers should be in a format similar to SK9999999999\"", + "type": "string" + }, + "type": { + "description": "Type of the text input", + "enum": [ + "TEXT_INPUT_TYPE_UNSPECIFIED", + "GENERIC_SHORT_TEXT", + "GENERIC_LONG_TEXT" + ], + "enumDescriptions": [ + "Default value. Will never be provided by the API.", + "Used when a short text is expected. The field can be rendered as a [text field](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text).", + "Used when a longer text is expected. The field should be rendered as a [textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea)." + ], + "type": "string" + } + }, + "type": "object" + }, + "TextInputValue": { + "description": "Value for text input field.", + "id": "TextInputValue", + "properties": { + "value": { + "description": "Required. Text provided by the business.", + "type": "string" + } + }, + "type": "object" + }, + "TextWithTooltip": { + "description": "Block of text that may contain a tooltip with more information.", + "id": "TextWithTooltip", + "properties": { + "simpleTooltipValue": { + "description": "Value of the tooltip as a simple text.", + "type": "string" + }, + "simpleValue": { + "description": "Value of the message as a simple text.", + "type": "string" + }, + "tooltipIconStyle": { + "description": "The suggested type of an icon for tooltip, if a tooltip is present.", + "enum": [ + "TOOLTIP_ICON_STYLE_UNSPECIFIED", + "INFO", + "QUESTION" + ], + "enumDescriptions": [ + "Default value. Will never be provided by the API.", + "Used when the tooltip adds additional information to the context, the 'i' can be used as an icon.", + "Used when the tooltip shows helpful information, the '?' can be used as an icon." + ], + "type": "string" + } + }, + "type": "object" + }, + "TriggerActionPayload": { + "description": "The payload for the triggered action.", + "id": "TriggerActionPayload", + "properties": { + "actionContext": { + "description": "Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.", + "type": "string" + }, + "actionInput": { + "$ref": "ActionInput", + "description": "Required. Input provided by the business." + } + }, + "type": "object" + }, + "TriggerActionResponse": { + "description": "Response informing about the started action.", + "id": "TriggerActionResponse", + "properties": { + "message": { + "description": "The message for the business.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Merchant API", + "version": "issueresolution_v1beta", + "version_module": true +} \ No newline at end of file diff --git a/discovery/merchantapi-ordertracking_v1beta.json b/discovery/merchantapi-ordertracking_v1beta.json new file mode 100644 index 00000000000..f203fa3e0bf --- /dev/null +++ b/discovery/merchantapi-ordertracking_v1beta.json @@ -0,0 +1,566 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/content": { + "description": "Manage your product listings and accounts for Google Shopping" + } + } + } + }, + "basePath": "", + "baseUrl": "https://merchantapi.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Merchant", + "description": "Programmatically manage your Merchant Center Accounts.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", + "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": "merchantapi:ordertracking_v1beta", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", + "name": "merchantapi", + "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": { + "accounts": { + "resources": { + "ordertrackingsignals": { + "methods": { + "create": { + "description": "Creates new order tracking signal.", + "flatPath": "ordertracking/v1beta/accounts/{accountsId}/ordertrackingsignals", + "httpMethod": "POST", + "id": "merchantapi.accounts.ordertrackingsignals.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "orderTrackingSignalId": { + "description": "Output only. The ID that uniquely identifies this order tracking signal.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The account of the business for which the order signal is created. Format: accounts/{account}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "ordertracking/v1beta/{+parent}/ordertrackingsignals", + "request": { + "$ref": "OrderTrackingSignal" + }, + "response": { + "$ref": "OrderTrackingSignal" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + } + } + } + }, + "revision": "20250505", + "rootUrl": "https://merchantapi.googleapis.com/", + "schemas": { + "DateTime": { + "description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", + "id": "DateTime", + "properties": { + "day": { + "description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", + "format": "int32", + "type": "integer" + }, + "hours": { + "description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", + "format": "int32", + "type": "integer" + }, + "minutes": { + "description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", + "format": "int32", + "type": "integer" + }, + "nanos": { + "description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", + "format": "int32", + "type": "integer" + }, + "seconds": { + "description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", + "format": "int32", + "type": "integer" + }, + "timeZone": { + "$ref": "TimeZone", + "description": "Time zone." + }, + "utcOffset": { + "description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", + "format": "google-duration", + "type": "string" + }, + "year": { + "description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "LineItemDetails": { + "description": "The line items of the order.", + "id": "LineItemDetails", + "properties": { + "brand": { + "description": "Optional. Brand of the product.", + "type": "string" + }, + "gtin": { + "description": "Optional. The Global Trade Item Number.", + "type": "string" + }, + "lineItemId": { + "description": "Required. The ID for this line item.", + "type": "string" + }, + "mpn": { + "description": "Optional. The manufacturer part number.", + "type": "string" + }, + "productId": { + "description": "Required. The Content API REST ID of the product, in the form channel:contentLanguage:targetCountry:offerId.", + "type": "string" + }, + "productTitle": { + "description": "Optional. Plain text title of this product.", + "type": "string" + }, + "quantity": { + "description": "Required. The quantity of the line item in the order.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "OrderTrackingSignal": { + "description": "Represents a business trade from which signals are extracted, such as shipping.", + "id": "OrderTrackingSignal", + "properties": { + "customerShippingFee": { + "$ref": "Price", + "description": "Optional. The shipping fee of the order; this value should be set to zero in the case of free shipping." + }, + "deliveryPostalCode": { + "description": "Optional. The delivery postal code, as a continuous string without spaces or dashes, for example \"95016\". This field will be anonymized in returned OrderTrackingSignal creation response.", + "type": "string" + }, + "deliveryRegionCode": { + "description": "Optional. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping destination.", + "type": "string" + }, + "lineItems": { + "description": "Required. Information about line items in the order.", + "items": { + "$ref": "LineItemDetails" + }, + "type": "array" + }, + "merchantId": { + "description": "Optional. The Google Merchant Center ID of this order tracking signal. This value is optional. If left unset, the caller's Merchant Center ID is used. You must request access in order to provide data on behalf of another business. For more information, see [Submitting Order Tracking Signals](/shopping-content/guides/order-tracking-signals).", + "format": "int64", + "type": "string" + }, + "orderCreatedTime": { + "$ref": "DateTime", + "description": "Required. The time when the order was created on the businesses side. Include the year and timezone string, if available." + }, + "orderId": { + "description": "Required. The ID of the order on the businesses side. This field will be hashed in returned OrderTrackingSignal creation response.", + "type": "string" + }, + "orderTrackingSignalId": { + "description": "Output only. The ID that uniquely identifies this order tracking signal.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "shipmentLineItemMapping": { + "description": "Optional. The mapping of the line items to the shipment information.", + "items": { + "$ref": "ShipmentLineItemMapping" + }, + "type": "array" + }, + "shippingInfo": { + "description": "Required. The shipping information for the order.", + "items": { + "$ref": "ShippingInfo" + }, + "type": "array" + } + }, + "type": "object" + }, + "Price": { + "description": "The price represented as a number and currency.", + "id": "Price", + "properties": { + "amountMicros": { + "description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", + "format": "int64", + "type": "string" + }, + "currencyCode": { + "description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", + "type": "string" + } + }, + "type": "object" + }, + "ProductChange": { + "description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", + "id": "ProductChange", + "properties": { + "newValue": { + "description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", + "type": "string" + }, + "oldValue": { + "description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", + "type": "string" + }, + "regionCode": { + "description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", + "type": "string" + }, + "reportingContext": { + "description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", + "enum": [ + "REPORTING_CONTEXT_ENUM_UNSPECIFIED", + "SHOPPING_ADS", + "DISCOVERY_ADS", + "DEMAND_GEN_ADS", + "DEMAND_GEN_ADS_DISCOVER_SURFACE", + "VIDEO_ADS", + "DISPLAY_ADS", + "LOCAL_INVENTORY_ADS", + "VEHICLE_INVENTORY_ADS", + "FREE_LISTINGS", + "FREE_LOCAL_LISTINGS", + "FREE_LOCAL_VEHICLE_LISTINGS", + "YOUTUBE_AFFILIATE", + "YOUTUBE_SHOPPING", + "CLOUD_RETAIL", + "LOCAL_CLOUD_RETAIL", + "PRODUCT_REVIEWS", + "MERCHANT_REVIEWS", + "YOUTUBE_CHECKOUT" + ], + "enumDeprecated": [ + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "Not specified.", + "[Shopping ads](https://support.google.com/merchants/answer/6149970).", + "Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", + "[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", + "[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", + "[Video ads](https://support.google.com/google-ads/answer/6340491).", + "[Display ads](https://support.google.com/merchants/answer/6069387).", + "[Local inventory ads](https://support.google.com/merchants/answer/3271956).", + "[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", + "[Free product listings](https://support.google.com/merchants/answer/9199328).", + "[Free local product listings](https://support.google.com/merchants/answer/9825611).", + "[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", + "[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", + "[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", + "[Cloud retail](https://cloud.google.com/solutions/retail).", + "[Local cloud retail](https://cloud.google.com/solutions/retail).", + "[Product Reviews](https://support.google.com/merchants/answer/14620732).", + "[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", + "YouTube Checkout ." + ], + "type": "string" + } + }, + "type": "object" + }, + "ProductStatusChangeMessage": { + "description": "The message that the merchant will receive to notify about product status change event", + "id": "ProductStatusChangeMessage", + "properties": { + "account": { + "description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", + "type": "string" + }, + "attribute": { + "description": "The attribute in the resource that changed, in this case it will be always `Status`.", + "enum": [ + "ATTRIBUTE_UNSPECIFIED", + "STATUS" + ], + "enumDescriptions": [ + "Unspecified attribute", + "Status of the changed entity" + ], + "type": "string" + }, + "changes": { + "description": "A message to describe the change that happened to the product", + "items": { + "$ref": "ProductChange" + }, + "type": "array" + }, + "eventTime": { + "description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", + "format": "google-datetime", + "type": "string" + }, + "expirationTime": { + "description": "Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.", + "format": "google-datetime", + "type": "string" + }, + "managingAccount": { + "description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", + "type": "string" + }, + "resource": { + "description": "The product name. Format: `accounts/{account}/products/{product}`", + "type": "string" + }, + "resourceId": { + "description": "The product id.", + "type": "string" + }, + "resourceType": { + "description": "The resource that changed, in this case it will always be `Product`.", + "enum": [ + "RESOURCE_UNSPECIFIED", + "PRODUCT" + ], + "enumDescriptions": [ + "Unspecified resource", + "Resource type : product" + ], + "type": "string" + } + }, + "type": "object" + }, + "ShipmentLineItemMapping": { + "description": "Represents how many items are in the shipment for the given shipment_id and line_item_id.", + "id": "ShipmentLineItemMapping", + "properties": { + "lineItemId": { + "description": "Required. The line item ID.", + "type": "string" + }, + "quantity": { + "description": "Required. The line item quantity in the shipment.", + "format": "int64", + "type": "string" + }, + "shipmentId": { + "description": "Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.", + "type": "string" + } + }, + "type": "object" + }, + "ShippingInfo": { + "description": "The shipping information for the order.", + "id": "ShippingInfo", + "properties": { + "actualDeliveryTime": { + "$ref": "DateTime", + "description": "Optional. The time when the shipment was actually delivered. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name." + }, + "carrier": { + "description": "Optional. The name of the shipping carrier for the delivery. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.", + "type": "string" + }, + "carrierService": { + "description": "Optional. The service type for fulfillment, such as GROUND, FIRST_CLASS, etc.", + "type": "string" + }, + "earliestDeliveryPromiseTime": { + "$ref": "DateTime", + "description": "Optional. The earliest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name." + }, + "latestDeliveryPromiseTime": { + "$ref": "DateTime", + "description": "Optional. The latest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name." + }, + "originPostalCode": { + "description": "Required. The origin postal code, as a continuous string without spaces or dashes, for example \"95016\". This field will be anonymized in returned OrderTrackingSignal creation response.", + "type": "string" + }, + "originRegionCode": { + "description": "Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping origin.", + "type": "string" + }, + "shipmentId": { + "description": "Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.", + "type": "string" + }, + "shippedTime": { + "$ref": "DateTime", + "description": "Optional. The time when the shipment was shipped. Include the year and timezone string, if available." + }, + "shippingStatus": { + "description": "Required. The status of the shipment.", + "enum": [ + "SHIPPING_STATE_UNSPECIFIED", + "SHIPPED", + "DELIVERED" + ], + "enumDescriptions": [ + "The shipping status is not known to business.", + "All items are shipped.", + "The shipment is already delivered." + ], + "type": "string" + }, + "trackingId": { + "description": "Optional. The tracking ID of the shipment. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.", + "type": "string" + } + }, + "type": "object" + }, + "TimeZone": { + "description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", + "id": "TimeZone", + "properties": { + "id": { + "description": "IANA Time Zone Database time zone. For example \"America/New_York\".", + "type": "string" + }, + "version": { + "description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Merchant API", + "version": "ordertracking_v1beta", + "version_module": true +} \ No newline at end of file diff --git a/discovery/metastore-v2.json b/discovery/metastore-v2.json deleted file mode 100644 index 6cff955c06c..00000000000 --- a/discovery/metastore-v2.json +++ /dev/null @@ -1,1837 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://metastore.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Dataproc Metastore", - "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/dataproc-metastore/docs", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "metastore:v2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://metastore.mtls.googleapis.com/", - "name": "metastore", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "resources": { - "services": { - "methods": { - "alterLocation": { - "description": "Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterLocation", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.alterLocation", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+service}:alterLocation", - "request": { - "$ref": "GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "alterTableProperties": { - "description": "Alter metadata table properties.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterTableProperties", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.alterTableProperties", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the Dataproc Metastore service that's being used to mutate metadata table properties, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+service}:alterTableProperties", - "request": { - "$ref": "GoogleCloudMetastoreV2AlterTablePropertiesRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "create": { - "description": "Creates a metastore service in a project and location.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The relative resource name of the location in which to create a metastore service, in the following form:projects/{project_number}/locations/{location_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - }, - "serviceId": { - "description": "Required. The ID of the metastore service, which is used as the final component of the metastore service's name.This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", - "location": "query", - "type": "string" - } - }, - "path": "v2/{+parent}/services", - "request": { - "$ref": "GoogleCloudMetastoreV2Service" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a single service.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", - "httpMethod": "DELETE", - "id": "metastore.projects.locations.services.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the metastore service to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - } - }, - "path": "v2/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "exportMetadata": { - "description": "Exports metadata from a service.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:exportMetadata", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.exportMetadata", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to run export, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+service}:exportMetadata", - "request": { - "$ref": "GoogleCloudMetastoreV2ExportMetadataRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the details of a single service.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the metastore service to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+name}", - "response": { - "$ref": "GoogleCloudMetastoreV2Service" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "importMetadata": { - "description": "Imports Metadata into a Dataproc Metastore service.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:importMetadata", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.importMetadata", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Immutable. The relative resource name of the metastore service to run import, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+name}:importMetadata", - "request": { - "$ref": "GoogleCloudMetastoreV2ImportMetadataRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists services in a project and location.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. The filter to apply to list results.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The maximum number of services to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum value is 1000; values above 1000 are changed to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous DataprocMetastore.ListServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListServices must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The relative resource name of the location of metastore services to list, in the following form:projects/{project_number}/locations/{location_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+parent}/services", - "response": { - "$ref": "GoogleCloudMetastoreV2ListServicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "moveTableToDatabase": { - "description": "Move a table to another database.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:moveTableToDatabase", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.moveTableToDatabase", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+service}:moveTableToDatabase", - "request": { - "$ref": "GoogleCloudMetastoreV2MoveTableToDatabaseRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates the parameters of a single service.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", - "httpMethod": "PATCH", - "id": "metastore.projects.locations.services.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Required. A field mask used to specify the fields to be overwritten in the metastore service resource by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v2/{+name}", - "request": { - "$ref": "GoogleCloudMetastoreV2Service" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "queryMetadata": { - "description": "Query Dataproc Metastore metadata.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:queryMetadata", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.queryMetadata", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to query metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+service}:queryMetadata", - "request": { - "$ref": "GoogleCloudMetastoreV2QueryMetadataRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "restore": { - "description": "Restores a service from a backup.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:restore", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.restore", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to run restore, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+service}:restore", - "request": { - "$ref": "GoogleCloudMetastoreV2RestoreServiceRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "backups": { - "methods": { - "create": { - "description": "Creates a new backup in a given project and location.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.backups.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "backupId": { - "description": "Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The relative resource name of the service in which to create a backup of the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - } - }, - "path": "v2/{+parent}/backups", - "request": { - "$ref": "GoogleCloudMetastoreV2Backup" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a single backup.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}", - "httpMethod": "DELETE", - "id": "metastore.projects.locations.services.backups.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the backup to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - } - }, - "path": "v2/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets details of a single backup.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.backups.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the backup to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+name}", - "response": { - "$ref": "GoogleCloudMetastoreV2Backup" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists backups in a service.", - "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.backups.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. The filter to apply to list results.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The maximum number of backups to return. The response may contain less than the maximum number. If unspecified, no more than 500 backups are returned. The maximum value is 1000; values above 1000 are changed to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous DataprocMetastore.ListBackups call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListBackups must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The relative resource name of the service whose backups to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+parent}/backups", - "response": { - "$ref": "GoogleCloudMetastoreV2ListBackupsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - } - } - }, - "revision": "20250227", - "rootUrl": "https://metastore.googleapis.com/", - "schemas": { - "GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse": { - "description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1CustomRegionMetadata": { - "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", - "id": "GoogleCloudMetastoreV1CustomRegionMetadata", - "properties": { - "optionalReadOnlyRegions": { - "description": "The read-only regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredReadWriteRegions": { - "description": "The read-write regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "witnessRegion": { - "description": "The Spanner witness region for this custom region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1ErrorDetails": { - "description": "Error details in public error message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1ErrorDetails", - "properties": { - "details": { - "additionalProperties": { - "type": "string" - }, - "description": "Additional structured details about this error.Keys define the failure items. Value describes the exception or details of the item.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1HiveMetastoreVersion": { - "description": "A specification of a supported version of the Hive Metastore software.", - "id": "GoogleCloudMetastoreV1HiveMetastoreVersion", - "properties": { - "isDefault": { - "description": "Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.", - "type": "boolean" - }, - "version": { - "description": "The semantic version of the Hive Metastore software.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1LocationMetadata": { - "description": "Metadata about the service in a location.", - "id": "GoogleCloudMetastoreV1LocationMetadata", - "properties": { - "customRegionMetadata": { - "description": "Possible configurations supported if the current region is a custom region.", - "items": { - "$ref": "GoogleCloudMetastoreV1CustomRegionMetadata" - }, - "type": "array" - }, - "multiRegionMetadata": { - "$ref": "GoogleCloudMetastoreV1MultiRegionMetadata", - "description": "The multi-region metadata if the current region is a multi-region." - }, - "supportedHiveMetastoreVersions": { - "description": "The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.", - "items": { - "$ref": "GoogleCloudMetastoreV1HiveMetastoreVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1MoveTableToDatabaseResponse": { - "description": "Response message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV1MoveTableToDatabaseResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1MultiRegionMetadata": { - "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", - "id": "GoogleCloudMetastoreV1MultiRegionMetadata", - "properties": { - "constituentRegions": { - "description": "The regions constituting the multi-region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "The continent for this multi-region.", - "type": "string" - }, - "witnessRegion": { - "description": "The Spanner witness region for this multi-region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1OperationMetadata": { - "description": "Represents the metadata of a long-running operation.", - "id": "GoogleCloudMetastoreV1OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1QueryMetadataResponse": { - "description": "Response message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1QueryMetadataResponse", - "properties": { - "resultManifestUri": { - "description": "The manifest URI is link to a JSON instance in Cloud Storage. This instance manifests immediately along with QueryMetadataResponse. The content of the URI is not retriable until the long-running operation query against the metadata finishes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse": { - "description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaCancelMigrationResponse": { - "description": "Response message for DataprocMetastore.CancelMigration.", - "id": "GoogleCloudMetastoreV1alphaCancelMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaCompleteMigrationResponse": { - "description": "Response message for DataprocMetastore.CompleteMigration.", - "id": "GoogleCloudMetastoreV1alphaCompleteMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaCustomRegionMetadata": { - "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", - "id": "GoogleCloudMetastoreV1alphaCustomRegionMetadata", - "properties": { - "optionalReadOnlyRegions": { - "description": "The read-only regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredReadWriteRegions": { - "description": "The read-write regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "witnessRegion": { - "description": "The Spanner witness region for this custom region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaErrorDetails": { - "description": "Error details in public error message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1alphaErrorDetails", - "properties": { - "details": { - "additionalProperties": { - "type": "string" - }, - "description": "Additional structured details about this error.Keys define the failure items. Value describes the exception or details of the item.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaHiveMetastoreVersion": { - "description": "A specification of a supported version of the Hive Metastore software.", - "id": "GoogleCloudMetastoreV1alphaHiveMetastoreVersion", - "properties": { - "isDefault": { - "description": "Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.", - "type": "boolean" - }, - "version": { - "description": "The semantic version of the Hive Metastore software.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaLocationMetadata": { - "description": "Metadata about the service in a location.", - "id": "GoogleCloudMetastoreV1alphaLocationMetadata", - "properties": { - "customRegionMetadata": { - "description": "Possible configurations supported if the current region is a custom region.", - "items": { - "$ref": "GoogleCloudMetastoreV1alphaCustomRegionMetadata" - }, - "type": "array" - }, - "multiRegionMetadata": { - "$ref": "GoogleCloudMetastoreV1alphaMultiRegionMetadata", - "description": "The multi-region metadata if the current region is a multi-region." - }, - "supportedHiveMetastoreVersions": { - "description": "The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.", - "items": { - "$ref": "GoogleCloudMetastoreV1alphaHiveMetastoreVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse": { - "description": "Response message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaMultiRegionMetadata": { - "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", - "id": "GoogleCloudMetastoreV1alphaMultiRegionMetadata", - "properties": { - "constituentRegions": { - "description": "The regions constituting the multi-region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "The continent for this multi-region.", - "type": "string" - }, - "witnessRegion": { - "description": "The Spanner witness region for this multi-region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaOperationMetadata": { - "description": "Represents the metadata of a long-running operation.", - "id": "GoogleCloudMetastoreV1alphaOperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaQueryMetadataResponse": { - "description": "Response message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1alphaQueryMetadataResponse", - "properties": { - "resultManifestUri": { - "description": "The manifest URI is link to a JSON instance in Cloud Storage. This instance manifests immediately along with QueryMetadataResponse. The content of the URI is not retriable until the long-running operation query against the metadata finishes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse": { - "description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1betaCancelMigrationResponse": { - "description": "Response message for DataprocMetastore.CancelMigration.", - "id": "GoogleCloudMetastoreV1betaCancelMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaCompleteMigrationResponse": { - "description": "Response message for DataprocMetastore.CompleteMigration.", - "id": "GoogleCloudMetastoreV1betaCompleteMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaCustomRegionMetadata": { - "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", - "id": "GoogleCloudMetastoreV1betaCustomRegionMetadata", - "properties": { - "optionalReadOnlyRegions": { - "description": "The read-only regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredReadWriteRegions": { - "description": "The read-write regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "witnessRegion": { - "description": "The Spanner witness region for this custom region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaErrorDetails": { - "description": "Error details in public error message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1betaErrorDetails", - "properties": { - "details": { - "additionalProperties": { - "type": "string" - }, - "description": "Additional structured details about this error.Keys define the failure items. Value describes the exception or details of the item.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaHiveMetastoreVersion": { - "description": "A specification of a supported version of the Hive Metastore software.", - "id": "GoogleCloudMetastoreV1betaHiveMetastoreVersion", - "properties": { - "isDefault": { - "description": "Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.", - "type": "boolean" - }, - "version": { - "description": "The semantic version of the Hive Metastore software.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaLocationMetadata": { - "description": "Metadata about the service in a location.", - "id": "GoogleCloudMetastoreV1betaLocationMetadata", - "properties": { - "customRegionMetadata": { - "description": "Possible configurations supported if the current region is a custom region.", - "items": { - "$ref": "GoogleCloudMetastoreV1betaCustomRegionMetadata" - }, - "type": "array" - }, - "multiRegionMetadata": { - "$ref": "GoogleCloudMetastoreV1betaMultiRegionMetadata", - "description": "The multi-region metadata if the current region is a multi-region." - }, - "supportedHiveMetastoreVersions": { - "description": "The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.", - "items": { - "$ref": "GoogleCloudMetastoreV1betaHiveMetastoreVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse": { - "description": "Response message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1betaMultiRegionMetadata": { - "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", - "id": "GoogleCloudMetastoreV1betaMultiRegionMetadata", - "properties": { - "constituentRegions": { - "description": "The regions constituting the multi-region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "The continent for this multi-region.", - "type": "string" - }, - "witnessRegion": { - "description": "The Spanner witness region for this multi-region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaOperationMetadata": { - "description": "Represents the metadata of a long-running operation.", - "id": "GoogleCloudMetastoreV1betaOperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaQueryMetadataResponse": { - "description": "Response message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1betaQueryMetadataResponse", - "properties": { - "resultManifestUri": { - "description": "The manifest URI is link to a JSON instance in Cloud Storage. This instance manifests immediately along with QueryMetadataResponse. The content of the URI is not retriable until the long-running operation query against the metadata finishes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest": { - "description": "Request message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest", - "properties": { - "locationUri": { - "description": "Required. The new location URI for the metadata resource.", - "type": "string" - }, - "resourceName": { - "description": "Required. The relative metadata resource name in the following format.databases/{database_id} or databases/{database_id}/tables/{table_id} or databases/{database_id}/tables/{table_id}/partitions/{partition_id}", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2AlterTablePropertiesRequest": { - "description": "Request message for DataprocMetastore.AlterTableProperties.", - "id": "GoogleCloudMetastoreV2AlterTablePropertiesRequest", - "properties": { - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "A map that describes the desired values to mutate. If update_mask is empty, the properties will not update. Otherwise, the properties only alters the value whose associated paths exist in the update mask", - "type": "object" - }, - "tableName": { - "description": "Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id}", - "type": "string" - }, - "updateMask": { - "description": "A field mask that specifies the metadata table properties that are overwritten by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.For example, given the target properties: properties { a: 1 b: 2 } And an update properties: properties { a: 2 b: 3 c: 4 } then if the field mask is:paths: \"properties.b\", \"properties.c\"then the result will be: properties { a: 1 b: 3 c: 4 } ", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2AuxiliaryVersionConfig": { - "description": "Configuration information for the auxiliary service versions.", - "id": "GoogleCloudMetastoreV2AuxiliaryVersionConfig", - "properties": { - "configOverrides": { - "additionalProperties": { - "type": "string" - }, - "description": "A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.", - "type": "object" - }, - "endpoints": { - "description": "Output only. The list of endpoints used to access the auxiliary metastore service, includes version and region data.", - "items": { - "$ref": "GoogleCloudMetastoreV2Endpoint" - }, - "readOnly": true, - "type": "array" - }, - "version": { - "description": "The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2Backup": { - "description": "The details of a backup resource.", - "id": "GoogleCloudMetastoreV2Backup", - "properties": { - "createTime": { - "description": "Output only. The time when the backup was started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "The description of the backup.", - "type": "string" - }, - "endTime": { - "description": "Output only. The time when the backup finished creating.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}", - "type": "string" - }, - "restoringServices": { - "description": "Output only. Services that are restoring from the backup.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "serviceRevision": { - "$ref": "GoogleCloudMetastoreV2Service", - "description": "Output only. The revision of the service at the time of backup.", - "readOnly": true - }, - "state": { - "description": "Output only. The current state of the backup.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "DELETING", - "ACTIVE", - "FAILED", - "RESTORING" - ], - "enumDescriptions": [ - "The state of the backup is unknown.", - "The backup is being created.", - "The backup is being deleted.", - "The backup is active and ready to use.", - "The backup failed.", - "The backup is being restored." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2DataCatalogConfig": { - "description": "Specifies how metastore metadata should be integrated with the Data Catalog service.", - "id": "GoogleCloudMetastoreV2DataCatalogConfig", - "properties": { - "enabled": { - "description": "Optional. Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2DatabaseDump": { - "description": "A specification of the location and metadata type for a database dump from a relational database management system.", - "id": "GoogleCloudMetastoreV2DatabaseDump", - "properties": { - "gcsUri": { - "description": "Required. A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.", - "type": "string" - }, - "type": { - "description": "Optional. The type of the database dump. If unspecified, defaults to MYSQL.", - "enum": [ - "TYPE_UNSPECIFIED", - "MYSQL", - "AVRO" - ], - "enumDescriptions": [ - "The type of the database dump is unknown.", - "Database dump is a MySQL dump file.", - "Database dump contains Avro files." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2EncryptionConfig": { - "description": "Encryption settings for the service.", - "id": "GoogleCloudMetastoreV2EncryptionConfig", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV2Endpoint": { - "description": "An endpoint used to access the metastore service.", - "id": "GoogleCloudMetastoreV2Endpoint", - "properties": { - "endpointUri": { - "description": "Output only. The URI of the endpoint used to access the metastore service.", - "readOnly": true, - "type": "string" - }, - "region": { - "description": "Output only. The region where the endpoint is located.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2ExportMetadataRequest": { - "description": "Request message for DataprocMetastore.ExportMetadata.", - "id": "GoogleCloudMetastoreV2ExportMetadataRequest", - "properties": { - "databaseDumpType": { - "description": "Optional. The type of the database dump. If unspecified, defaults to MYSQL.", - "enum": [ - "TYPE_UNSPECIFIED", - "MYSQL", - "AVRO" - ], - "enumDescriptions": [ - "The type of the database dump is unknown.", - "Database dump is a MySQL dump file.", - "Database dump contains Avro files." - ], - "type": "string" - }, - "destinationGcsFolder": { - "description": "A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing exported files will be created below it.", - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2HiveMetastoreConfig": { - "description": "Specifies configuration information specific to running Hive metastore software as the metastore service.", - "id": "GoogleCloudMetastoreV2HiveMetastoreConfig", - "properties": { - "auxiliaryVersions": { - "additionalProperties": { - "$ref": "GoogleCloudMetastoreV2AuxiliaryVersionConfig" - }, - "description": "Optional. A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.", - "type": "object" - }, - "configOverrides": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig.", - "type": "object" - }, - "endpointProtocol": { - "description": "Optional. The protocol to use for the metastore service endpoint. If unspecified, defaults to GRPC.", - "enum": [ - "ENDPOINT_PROTOCOL_UNSPECIFIED", - "THRIFT", - "GRPC" - ], - "enumDescriptions": [ - "The protocol is not set.", - "Use the legacy Apache Thrift protocol for the metastore service endpoint.", - "Use the modernized gRPC protocol for the metastore service endpoint." - ], - "type": "string" - }, - "version": { - "description": "Immutable. The Hive metastore schema version.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2ImportMetadataRequest": { - "description": "Request message for DataprocMetastore.CreateMetadataImport.", - "id": "GoogleCloudMetastoreV2ImportMetadataRequest", - "properties": { - "databaseDump": { - "$ref": "GoogleCloudMetastoreV2DatabaseDump", - "description": "Immutable. A database dump from a pre-existing metastore's database." - }, - "description": { - "description": "Optional. The description of the metadata import.", - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2LatestBackup": { - "description": "The details of the latest scheduled backup.", - "id": "GoogleCloudMetastoreV2LatestBackup", - "properties": { - "backupId": { - "description": "Output only. The ID of an in-progress scheduled backup. Empty if no backup is in progress.", - "readOnly": true, - "type": "string" - }, - "duration": { - "description": "Output only. The duration of the backup completion.", - "format": "google-duration", - "readOnly": true, - "type": "string" - }, - "startTime": { - "description": "Output only. The time when the backup was started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. The current state of the backup.", - "enum": [ - "STATE_UNSPECIFIED", - "IN_PROGRESS", - "SUCCEEDED", - "FAILED" - ], - "enumDescriptions": [ - "The state of the backup is unknown.", - "The backup is in progress.", - "The backup completed.", - "The backup failed." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2ListBackupsResponse": { - "description": "Response message for DataprocMetastore.ListBackups.", - "id": "GoogleCloudMetastoreV2ListBackupsResponse", - "properties": { - "backups": { - "description": "The backups of the specified service.", - "items": { - "$ref": "GoogleCloudMetastoreV2Backup" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2ListServicesResponse": { - "description": "Response message for DataprocMetastore.ListServices.", - "id": "GoogleCloudMetastoreV2ListServicesResponse", - "properties": { - "nextPageToken": { - "description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - }, - "services": { - "description": "The services in the specified location.", - "items": { - "$ref": "GoogleCloudMetastoreV2Service" - }, - "type": "array" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2MetadataIntegration": { - "description": "Specifies how metastore metadata should be integrated with external services.", - "id": "GoogleCloudMetastoreV2MetadataIntegration", - "properties": { - "dataCatalogConfig": { - "$ref": "GoogleCloudMetastoreV2DataCatalogConfig", - "description": "Optional. The integration config for the Data Catalog service." - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2MoveTableToDatabaseRequest": { - "description": "Request message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV2MoveTableToDatabaseRequest", - "properties": { - "dbName": { - "description": "Required. The name of the database where the table resides.", - "type": "string" - }, - "destinationDbName": { - "description": "Required. The name of the database where the table should be moved.", - "type": "string" - }, - "tableName": { - "description": "Required. The name of the table to be moved.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2QueryMetadataRequest": { - "description": "Request message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV2QueryMetadataRequest", - "properties": { - "query": { - "description": "Required. A read-only SQL query to execute against the metadata database. The query cannot change or mutate the data.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2RestoreServiceRequest": { - "description": "Request message for DataprocMetastore.Restore.", - "id": "GoogleCloudMetastoreV2RestoreServiceRequest", - "properties": { - "backup": { - "description": "Optional. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. Mutually exclusive with backup_location, and exactly one of the two must be set.", - "type": "string" - }, - "backupLocation": { - "description": "Optional. A Cloud Storage URI specifying the location of the backup artifacts, namely - backup avro files under \"avro/\", backup_metastore.json and service.json, in the following form:gs://. Mutually exclusive with backup, and exactly one of the two must be set.", - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "type": "string" - }, - "restoreType": { - "description": "Optional. The type of restore. If unspecified, defaults to METADATA_ONLY.", - "enum": [ - "RESTORE_TYPE_UNSPECIFIED", - "FULL", - "METADATA_ONLY" - ], - "enumDescriptions": [ - "The restore type is unknown.", - "The service's metadata and configuration are restored.", - "Only the service's metadata is restored." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2ScalingConfig": { - "description": "Represents the scaling configuration of a metastore service.", - "id": "GoogleCloudMetastoreV2ScalingConfig", - "properties": { - "scalingFactor": { - "description": "Optional. Scaling factor from 1 to 5, increments of 1.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2ScheduledBackup": { - "description": "This specifies the configuration of scheduled backup.", - "id": "GoogleCloudMetastoreV2ScheduledBackup", - "properties": { - "backupLocation": { - "description": "Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it.", - "type": "string" - }, - "cronSchedule": { - "description": "Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups.", - "type": "string" - }, - "enabled": { - "description": "Optional. Defines whether the scheduled backup is enabled. The default value is false.", - "type": "boolean" - }, - "latestBackup": { - "$ref": "GoogleCloudMetastoreV2LatestBackup", - "description": "Output only. The details of the latest scheduled backup.", - "readOnly": true - }, - "nextScheduledTime": { - "description": "Output only. The time when the next backups execution is scheduled to start.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "timeZone": { - "description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2Service": { - "description": "A managed metastore service that serves metadata queries.", - "id": "GoogleCloudMetastoreV2Service", - "properties": { - "createTime": { - "description": "Output only. The time when the metastore service was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "encryptionConfig": { - "$ref": "GoogleCloudMetastoreV2EncryptionConfig", - "description": "Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated." - }, - "endpoints": { - "description": "Output only. The list of endpoints used to access the metastore service.", - "items": { - "$ref": "GoogleCloudMetastoreV2Endpoint" - }, - "readOnly": true, - "type": "array" - }, - "hiveMetastoreConfig": { - "$ref": "GoogleCloudMetastoreV2HiveMetastoreConfig", - "description": "Configuration information specific to running Hive metastore software as the metastore service." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "User-defined labels for the metastore service.", - "type": "object" - }, - "metadataIntegration": { - "$ref": "GoogleCloudMetastoreV2MetadataIntegration", - "description": "Optional. The setting that defines how metastore metadata should be integrated with external services and systems." - }, - "name": { - "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "type": "string" - }, - "scalingConfig": { - "$ref": "GoogleCloudMetastoreV2ScalingConfig", - "description": "Optional. Scaling configuration of the metastore service." - }, - "scheduledBackup": { - "$ref": "GoogleCloudMetastoreV2ScheduledBackup", - "description": "Optional. The configuration of scheduled backup for the metastore service." - }, - "state": { - "description": "Output only. The current state of the metastore service.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "ACTIVE", - "SUSPENDING", - "SUSPENDED", - "UPDATING", - "DELETING", - "ERROR" - ], - "enumDescriptions": [ - "The state of the metastore service is unknown.", - "The metastore service is in the process of being created.", - "The metastore service is running and ready to serve queries.", - "The metastore service is entering suspension. Its query-serving availability may cease unexpectedly.", - "The metastore service is suspended and unable to serve queries.", - "The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.", - "The metastore service is undergoing deletion. It cannot be used.", - "The metastore service has encountered an error and cannot be used. The metastore service should be deleted." - ], - "readOnly": true, - "type": "string" - }, - "stateMessage": { - "description": "Output only. Additional information about the current state of the metastore service, if available.", - "readOnly": true, - "type": "string" - }, - "uid": { - "description": "Output only. The globally unique resource identifier of the metastore service.", - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. The time when the metastore service was last updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "warehouseGcsUri": { - "description": "Required. A Cloud Storage URI (starting with gs://) that specifies the default warehouse directory of the Hive Metastore.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleLongrunningOperation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "GoogleLongrunningOperation", - "properties": { - "done": { - "description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", - "type": "boolean" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleRpcStatus": { - "description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", - "id": "GoogleRpcStatus", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Dataproc Metastore API", - "version": "v2", - "version_module": true -} \ No newline at end of file diff --git a/discovery/metastore-v2alpha.json b/discovery/metastore-v2alpha.json deleted file mode 100644 index b1d95448137..00000000000 --- a/discovery/metastore-v2alpha.json +++ /dev/null @@ -1,2337 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://metastore.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Dataproc Metastore", - "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/dataproc-metastore/docs", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "metastore:v2alpha", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://metastore.mtls.googleapis.com/", - "name": "metastore", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "resources": { - "services": { - "methods": { - "alterLocation": { - "description": "Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterLocation", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.alterLocation", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+service}:alterLocation", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaAlterMetadataResourceLocationRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "alterTableProperties": { - "description": "Alter metadata table properties.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterTableProperties", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.alterTableProperties", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the Dataproc Metastore service that's being used to mutate metadata table properties, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+service}:alterTableProperties", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaAlterTablePropertiesRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "cancelMigration": { - "description": "Cancels the ongoing Managed Migration process.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:cancelMigration", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.cancelMigration", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to cancel the ongoing migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+service}:cancelMigration", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaCancelMigrationRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "completeMigration": { - "description": "Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:completeMigration", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.completeMigration", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to complete the migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+service}:completeMigration", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaCompleteMigrationRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "create": { - "description": "Creates a metastore service in a project and location.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The relative resource name of the location in which to create a metastore service, in the following form:projects/{project_number}/locations/{location_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - }, - "serviceId": { - "description": "Required. The ID of the metastore service, which is used as the final component of the metastore service's name.This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", - "location": "query", - "type": "string" - } - }, - "path": "v2alpha/{+parent}/services", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaService" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a single service.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", - "httpMethod": "DELETE", - "id": "metastore.projects.locations.services.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the metastore service to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - } - }, - "path": "v2alpha/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "exportMetadata": { - "description": "Exports metadata from a service.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:exportMetadata", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.exportMetadata", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to run export, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+service}:exportMetadata", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaExportMetadataRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the details of a single service.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the metastore service to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+name}", - "response": { - "$ref": "GoogleCloudMetastoreV2alphaService" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "importMetadata": { - "description": "Imports Metadata into a Dataproc Metastore service.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:importMetadata", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.importMetadata", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Immutable. The relative resource name of the metastore service to run import, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+name}:importMetadata", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaImportMetadataRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists services in a project and location.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. The filter to apply to list results.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The maximum number of services to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum value is 1000; values above 1000 are changed to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous DataprocMetastore.ListServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListServices must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The relative resource name of the location of metastore services to list, in the following form:projects/{project_number}/locations/{location_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+parent}/services", - "response": { - "$ref": "GoogleCloudMetastoreV2alphaListServicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "moveTableToDatabase": { - "description": "Move a table to another database.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:moveTableToDatabase", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.moveTableToDatabase", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+service}:moveTableToDatabase", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaMoveTableToDatabaseRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates the parameters of a single service.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", - "httpMethod": "PATCH", - "id": "metastore.projects.locations.services.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Required. A field mask used to specify the fields to be overwritten in the metastore service resource by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v2alpha/{+name}", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaService" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "queryMetadata": { - "description": "Query Dataproc Metastore metadata.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:queryMetadata", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.queryMetadata", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to query metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+service}:queryMetadata", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaQueryMetadataRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "removeIamPolicy": { - "description": "Removes the attached IAM policies for a resource", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/{servicesId1}:removeIamPolicy", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.removeIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "Required. The relative resource name of the dataplane resource to remove IAM policy, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} or projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/.*$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+resource}:removeIamPolicy", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaRemoveIamPolicyRequest" - }, - "response": { - "$ref": "GoogleCloudMetastoreV2alphaRemoveIamPolicyResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "restore": { - "description": "Restores a service from a backup.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:restore", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.restore", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to run restore, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+service}:restore", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaRestoreServiceRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "startMigration": { - "description": "Starts the Managed Migration process.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:startMigration", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.startMigration", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to start migrating to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+service}:startMigration", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaStartMigrationRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "backups": { - "methods": { - "create": { - "description": "Creates a new backup in a given project and location.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.backups.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "backupId": { - "description": "Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The relative resource name of the service in which to create a backup of the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - } - }, - "path": "v2alpha/{+parent}/backups", - "request": { - "$ref": "GoogleCloudMetastoreV2alphaBackup" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a single backup.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}", - "httpMethod": "DELETE", - "id": "metastore.projects.locations.services.backups.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the backup to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - } - }, - "path": "v2alpha/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets details of a single backup.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.backups.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the backup to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+name}", - "response": { - "$ref": "GoogleCloudMetastoreV2alphaBackup" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists backups in a service.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.backups.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. The filter to apply to list results.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The maximum number of backups to return. The response may contain less than the maximum number. If unspecified, no more than 500 backups are returned. The maximum value is 1000; values above 1000 are changed to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous DataprocMetastore.ListBackups call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListBackups must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The relative resource name of the service whose backups to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+parent}/backups", - "response": { - "$ref": "GoogleCloudMetastoreV2alphaListBackupsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "migrationExecutions": { - "methods": { - "delete": { - "description": "Deletes a single migration execution.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions/{migrationExecutionsId}", - "httpMethod": "DELETE", - "id": "metastore.projects.locations.services.migrationExecutions.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the migrationExecution to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/migrationExecutions/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - } - }, - "path": "v2alpha/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets details of a single migration execution.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions/{migrationExecutionsId}", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.migrationExecutions.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the migration execution to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/migrationExecutions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+name}", - "response": { - "$ref": "GoogleCloudMetastoreV2alphaMigrationExecution" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists migration executions on a service.", - "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.migrationExecutions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. The filter to apply to list results.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The maximum number of migration executions to return. The response may contain less than the maximum number. If unspecified, no more than 500 migration executions are returned. The maximum value is 1000; values above 1000 are changed to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous DataprocMetastore.ListMigrationExecutions call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListMigrationExecutions must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The relative resource name of the service whose migration executions to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2alpha/{+parent}/migrationExecutions", - "response": { - "$ref": "GoogleCloudMetastoreV2alphaListMigrationExecutionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - } - } - }, - "revision": "20250227", - "rootUrl": "https://metastore.googleapis.com/", - "schemas": { - "GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse": { - "description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1CustomRegionMetadata": { - "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", - "id": "GoogleCloudMetastoreV1CustomRegionMetadata", - "properties": { - "optionalReadOnlyRegions": { - "description": "The read-only regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredReadWriteRegions": { - "description": "The read-write regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "witnessRegion": { - "description": "The Spanner witness region for this custom region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1ErrorDetails": { - "description": "Error details in public error message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1ErrorDetails", - "properties": { - "details": { - "additionalProperties": { - "type": "string" - }, - "description": "Additional structured details about this error.Keys define the failure items. Value describes the exception or details of the item.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1HiveMetastoreVersion": { - "description": "A specification of a supported version of the Hive Metastore software.", - "id": "GoogleCloudMetastoreV1HiveMetastoreVersion", - "properties": { - "isDefault": { - "description": "Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.", - "type": "boolean" - }, - "version": { - "description": "The semantic version of the Hive Metastore software.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1LocationMetadata": { - "description": "Metadata about the service in a location.", - "id": "GoogleCloudMetastoreV1LocationMetadata", - "properties": { - "customRegionMetadata": { - "description": "Possible configurations supported if the current region is a custom region.", - "items": { - "$ref": "GoogleCloudMetastoreV1CustomRegionMetadata" - }, - "type": "array" - }, - "multiRegionMetadata": { - "$ref": "GoogleCloudMetastoreV1MultiRegionMetadata", - "description": "The multi-region metadata if the current region is a multi-region." - }, - "supportedHiveMetastoreVersions": { - "description": "The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.", - "items": { - "$ref": "GoogleCloudMetastoreV1HiveMetastoreVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1MoveTableToDatabaseResponse": { - "description": "Response message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV1MoveTableToDatabaseResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1MultiRegionMetadata": { - "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", - "id": "GoogleCloudMetastoreV1MultiRegionMetadata", - "properties": { - "constituentRegions": { - "description": "The regions constituting the multi-region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "The continent for this multi-region.", - "type": "string" - }, - "witnessRegion": { - "description": "The Spanner witness region for this multi-region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1OperationMetadata": { - "description": "Represents the metadata of a long-running operation.", - "id": "GoogleCloudMetastoreV1OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1QueryMetadataResponse": { - "description": "Response message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1QueryMetadataResponse", - "properties": { - "resultManifestUri": { - "description": "The manifest URI is link to a JSON instance in Cloud Storage. This instance manifests immediately along with QueryMetadataResponse. The content of the URI is not retriable until the long-running operation query against the metadata finishes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse": { - "description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaCancelMigrationResponse": { - "description": "Response message for DataprocMetastore.CancelMigration.", - "id": "GoogleCloudMetastoreV1alphaCancelMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaCompleteMigrationResponse": { - "description": "Response message for DataprocMetastore.CompleteMigration.", - "id": "GoogleCloudMetastoreV1alphaCompleteMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaCustomRegionMetadata": { - "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", - "id": "GoogleCloudMetastoreV1alphaCustomRegionMetadata", - "properties": { - "optionalReadOnlyRegions": { - "description": "The read-only regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredReadWriteRegions": { - "description": "The read-write regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "witnessRegion": { - "description": "The Spanner witness region for this custom region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaErrorDetails": { - "description": "Error details in public error message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1alphaErrorDetails", - "properties": { - "details": { - "additionalProperties": { - "type": "string" - }, - "description": "Additional structured details about this error.Keys define the failure items. Value describes the exception or details of the item.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaHiveMetastoreVersion": { - "description": "A specification of a supported version of the Hive Metastore software.", - "id": "GoogleCloudMetastoreV1alphaHiveMetastoreVersion", - "properties": { - "isDefault": { - "description": "Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.", - "type": "boolean" - }, - "version": { - "description": "The semantic version of the Hive Metastore software.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaLocationMetadata": { - "description": "Metadata about the service in a location.", - "id": "GoogleCloudMetastoreV1alphaLocationMetadata", - "properties": { - "customRegionMetadata": { - "description": "Possible configurations supported if the current region is a custom region.", - "items": { - "$ref": "GoogleCloudMetastoreV1alphaCustomRegionMetadata" - }, - "type": "array" - }, - "multiRegionMetadata": { - "$ref": "GoogleCloudMetastoreV1alphaMultiRegionMetadata", - "description": "The multi-region metadata if the current region is a multi-region." - }, - "supportedHiveMetastoreVersions": { - "description": "The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.", - "items": { - "$ref": "GoogleCloudMetastoreV1alphaHiveMetastoreVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse": { - "description": "Response message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaMultiRegionMetadata": { - "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", - "id": "GoogleCloudMetastoreV1alphaMultiRegionMetadata", - "properties": { - "constituentRegions": { - "description": "The regions constituting the multi-region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "The continent for this multi-region.", - "type": "string" - }, - "witnessRegion": { - "description": "The Spanner witness region for this multi-region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaOperationMetadata": { - "description": "Represents the metadata of a long-running operation.", - "id": "GoogleCloudMetastoreV1alphaOperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaQueryMetadataResponse": { - "description": "Response message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1alphaQueryMetadataResponse", - "properties": { - "resultManifestUri": { - "description": "The manifest URI is link to a JSON instance in Cloud Storage. This instance manifests immediately along with QueryMetadataResponse. The content of the URI is not retriable until the long-running operation query against the metadata finishes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse": { - "description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1betaCancelMigrationResponse": { - "description": "Response message for DataprocMetastore.CancelMigration.", - "id": "GoogleCloudMetastoreV1betaCancelMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaCompleteMigrationResponse": { - "description": "Response message for DataprocMetastore.CompleteMigration.", - "id": "GoogleCloudMetastoreV1betaCompleteMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaCustomRegionMetadata": { - "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", - "id": "GoogleCloudMetastoreV1betaCustomRegionMetadata", - "properties": { - "optionalReadOnlyRegions": { - "description": "The read-only regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredReadWriteRegions": { - "description": "The read-write regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "witnessRegion": { - "description": "The Spanner witness region for this custom region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaErrorDetails": { - "description": "Error details in public error message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1betaErrorDetails", - "properties": { - "details": { - "additionalProperties": { - "type": "string" - }, - "description": "Additional structured details about this error.Keys define the failure items. Value describes the exception or details of the item.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaHiveMetastoreVersion": { - "description": "A specification of a supported version of the Hive Metastore software.", - "id": "GoogleCloudMetastoreV1betaHiveMetastoreVersion", - "properties": { - "isDefault": { - "description": "Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.", - "type": "boolean" - }, - "version": { - "description": "The semantic version of the Hive Metastore software.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaLocationMetadata": { - "description": "Metadata about the service in a location.", - "id": "GoogleCloudMetastoreV1betaLocationMetadata", - "properties": { - "customRegionMetadata": { - "description": "Possible configurations supported if the current region is a custom region.", - "items": { - "$ref": "GoogleCloudMetastoreV1betaCustomRegionMetadata" - }, - "type": "array" - }, - "multiRegionMetadata": { - "$ref": "GoogleCloudMetastoreV1betaMultiRegionMetadata", - "description": "The multi-region metadata if the current region is a multi-region." - }, - "supportedHiveMetastoreVersions": { - "description": "The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.", - "items": { - "$ref": "GoogleCloudMetastoreV1betaHiveMetastoreVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse": { - "description": "Response message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1betaMultiRegionMetadata": { - "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", - "id": "GoogleCloudMetastoreV1betaMultiRegionMetadata", - "properties": { - "constituentRegions": { - "description": "The regions constituting the multi-region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "The continent for this multi-region.", - "type": "string" - }, - "witnessRegion": { - "description": "The Spanner witness region for this multi-region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaOperationMetadata": { - "description": "Represents the metadata of a long-running operation.", - "id": "GoogleCloudMetastoreV1betaOperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaQueryMetadataResponse": { - "description": "Response message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1betaQueryMetadataResponse", - "properties": { - "resultManifestUri": { - "description": "The manifest URI is link to a JSON instance in Cloud Storage. This instance manifests immediately along with QueryMetadataResponse. The content of the URI is not retriable until the long-running operation query against the metadata finishes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaAlterMetadataResourceLocationRequest": { - "description": "Request message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV2alphaAlterMetadataResourceLocationRequest", - "properties": { - "locationUri": { - "description": "Required. The new location URI for the metadata resource.", - "type": "string" - }, - "resourceName": { - "description": "Required. The relative metadata resource name in the following format.databases/{database_id} or databases/{database_id}/tables/{table_id} or databases/{database_id}/tables/{table_id}/partitions/{partition_id}", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaAlterTablePropertiesRequest": { - "description": "Request message for DataprocMetastore.AlterTableProperties.", - "id": "GoogleCloudMetastoreV2alphaAlterTablePropertiesRequest", - "properties": { - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "A map that describes the desired values to mutate. If update_mask is empty, the properties will not update. Otherwise, the properties only alters the value whose associated paths exist in the update mask", - "type": "object" - }, - "tableName": { - "description": "Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id}", - "type": "string" - }, - "updateMask": { - "description": "A field mask that specifies the metadata table properties that are overwritten by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.For example, given the target properties: properties { a: 1 b: 2 } And an update properties: properties { a: 2 b: 3 c: 4 } then if the field mask is:paths: \"properties.b\", \"properties.c\"then the result will be: properties { a: 1 b: 3 c: 4 } ", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaAutoscalingConfig": { - "description": "Represents the autoscaling configuration of a metastore service.", - "id": "GoogleCloudMetastoreV2alphaAutoscalingConfig", - "properties": { - "autoscalingEnabled": { - "description": "Optional. Whether or not autoscaling is enabled for this service.", - "type": "boolean" - }, - "autoscalingFactor": { - "description": "Output only. The scaling factor of a service with autoscaling enabled.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "limitConfig": { - "$ref": "GoogleCloudMetastoreV2alphaLimitConfig", - "description": "Optional. The LimitConfig of the service." - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaAuxiliaryVersionConfig": { - "description": "Configuration information for the auxiliary service versions.", - "id": "GoogleCloudMetastoreV2alphaAuxiliaryVersionConfig", - "properties": { - "configOverrides": { - "additionalProperties": { - "type": "string" - }, - "description": "A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.", - "type": "object" - }, - "endpoints": { - "description": "Output only. The list of endpoints used to access the auxiliary metastore service, includes version and region data.", - "items": { - "$ref": "GoogleCloudMetastoreV2alphaEndpoint" - }, - "readOnly": true, - "type": "array" - }, - "version": { - "description": "The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaBackup": { - "description": "The details of a backup resource.", - "id": "GoogleCloudMetastoreV2alphaBackup", - "properties": { - "createTime": { - "description": "Output only. The time when the backup was started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "The description of the backup.", - "type": "string" - }, - "endTime": { - "description": "Output only. The time when the backup finished creating.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}", - "type": "string" - }, - "restoringServices": { - "description": "Output only. Services that are restoring from the backup.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "serviceRevision": { - "$ref": "GoogleCloudMetastoreV2alphaService", - "description": "Output only. The revision of the service at the time of backup.", - "readOnly": true - }, - "state": { - "description": "Output only. The current state of the backup.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "DELETING", - "ACTIVE", - "FAILED", - "RESTORING" - ], - "enumDescriptions": [ - "The state of the backup is unknown.", - "The backup is being created.", - "The backup is being deleted.", - "The backup is active and ready to use.", - "The backup failed.", - "The backup is being restored." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaCancelMigrationRequest": { - "description": "Request message for DataprocMetastore.CancelMigration.", - "id": "GoogleCloudMetastoreV2alphaCancelMigrationRequest", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaCdcConfig": { - "description": "Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore.", - "id": "GoogleCloudMetastoreV2alphaCdcConfig", - "properties": { - "bucket": { - "description": "Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like \"gs://\". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used.", - "type": "string" - }, - "password": { - "description": "Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request.", - "type": "string" - }, - "reverseProxySubnet": { - "description": "Required. The URL of the subnetwork resource to create the VM instance hosting the reverse proxy in. More context in https://cloud.google.com/datastream/docs/private-connectivity#reverse-csql-proxy The subnetwork should reside in the network provided in the request that Datastream will peer to and should be in the same region as Datastream, in the following format. projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", - "type": "string" - }, - "rootPath": { - "description": "Optional. The root path inside the Cloud Storage bucket. The stream event data will be written to this path. The default value is /migration.", - "type": "string" - }, - "subnetIpRange": { - "description": "Required. A /29 CIDR IP range for peering with datastream.", - "type": "string" - }, - "username": { - "description": "Required. The username that the Datastream service should use for the MySQL connection.", - "type": "string" - }, - "vpcNetwork": { - "description": "Required. Fully qualified name of the Cloud SQL instance's VPC network or the shared VPC network that Datastream will peer to, in the following format: projects/{project_id}/locations/global/networks/{network_id}. More context in https://cloud.google.com/datastream/docs/network-connectivity-options#privateconnectivity", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaCloudSQLConnectionConfig": { - "description": "Configuration information to establish customer database connection before the cutover phase of migration", - "id": "GoogleCloudMetastoreV2alphaCloudSQLConnectionConfig", - "properties": { - "hiveDatabaseName": { - "description": "Required. The hive database name.", - "type": "string" - }, - "instanceConnectionName": { - "description": "Required. Cloud SQL database connection name (project_id:region:instance_name)", - "type": "string" - }, - "ipAddress": { - "description": "Required. The private IP address of the Cloud SQL instance.", - "type": "string" - }, - "natSubnet": { - "description": "Required. The relative resource name of the subnetwork to be used for Private Service Connect. Note that this cannot be a regular subnet and is used only for NAT. (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc-subnets) This subnet is used to publish the SOCKS5 proxy service. The subnet size must be at least /29 and it should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", - "type": "string" - }, - "password": { - "description": "Required. Input only. The password for the user that Dataproc Metastore service will be using to connect to the database. This field is not returned on request.", - "type": "string" - }, - "port": { - "description": "Required. The network port of the database.", - "format": "int32", - "type": "integer" - }, - "proxySubnet": { - "description": "Required. The relative resource name of the subnetwork to deploy the SOCKS5 proxy service in. The subnetwork should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", - "type": "string" - }, - "username": { - "description": "Required. The username that Dataproc Metastore service will use to connect to the database.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaCloudSQLMigrationConfig": { - "description": "Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.", - "id": "GoogleCloudMetastoreV2alphaCloudSQLMigrationConfig", - "properties": { - "cdcConfig": { - "$ref": "GoogleCloudMetastoreV2alphaCdcConfig", - "description": "Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration." - }, - "cloudSqlConnectionConfig": { - "$ref": "GoogleCloudMetastoreV2alphaCloudSQLConnectionConfig", - "description": "Required. Configuration information to establish customer database connection before the cutover phase of migration" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaCompleteMigrationRequest": { - "description": "Request message for DataprocMetastore.CompleteMigration.", - "id": "GoogleCloudMetastoreV2alphaCompleteMigrationRequest", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaDataCatalogConfig": { - "description": "Specifies how metastore metadata should be integrated with the Data Catalog service.", - "id": "GoogleCloudMetastoreV2alphaDataCatalogConfig", - "properties": { - "enabled": { - "description": "Optional. Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaDatabaseDump": { - "description": "A specification of the location and metadata type for a database dump from a relational database management system.", - "id": "GoogleCloudMetastoreV2alphaDatabaseDump", - "properties": { - "gcsUri": { - "description": "Required. A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.", - "type": "string" - }, - "type": { - "description": "Optional. The type of the database dump. If unspecified, defaults to MYSQL.", - "enum": [ - "TYPE_UNSPECIFIED", - "MYSQL", - "AVRO" - ], - "enumDescriptions": [ - "The type of the database dump is unknown.", - "Database dump is a MySQL dump file.", - "Database dump contains Avro files." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaEncryptionConfig": { - "description": "Encryption settings for the service.", - "id": "GoogleCloudMetastoreV2alphaEncryptionConfig", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaEndpoint": { - "description": "An endpoint used to access the metastore service.", - "id": "GoogleCloudMetastoreV2alphaEndpoint", - "properties": { - "endpointUri": { - "description": "Output only. The URI of the endpoint used to access the metastore service.", - "readOnly": true, - "type": "string" - }, - "region": { - "description": "Output only. The region where the endpoint is located.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaExportMetadataRequest": { - "description": "Request message for DataprocMetastore.ExportMetadata.", - "id": "GoogleCloudMetastoreV2alphaExportMetadataRequest", - "properties": { - "databaseDumpType": { - "description": "Optional. The type of the database dump. If unspecified, defaults to MYSQL.", - "enum": [ - "TYPE_UNSPECIFIED", - "MYSQL", - "AVRO" - ], - "enumDescriptions": [ - "The type of the database dump is unknown.", - "Database dump is a MySQL dump file.", - "Database dump contains Avro files." - ], - "type": "string" - }, - "destinationGcsFolder": { - "description": "A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing exported files will be created below it.", - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaHiveMetastoreConfig": { - "description": "Specifies configuration information specific to running Hive metastore software as the metastore service.", - "id": "GoogleCloudMetastoreV2alphaHiveMetastoreConfig", - "properties": { - "auxiliaryVersions": { - "additionalProperties": { - "$ref": "GoogleCloudMetastoreV2alphaAuxiliaryVersionConfig" - }, - "description": "Optional. A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.", - "type": "object" - }, - "configOverrides": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig.", - "type": "object" - }, - "endpointProtocol": { - "description": "Optional. The protocol to use for the metastore service endpoint. If unspecified, defaults to GRPC.", - "enum": [ - "ENDPOINT_PROTOCOL_UNSPECIFIED", - "THRIFT", - "GRPC" - ], - "enumDescriptions": [ - "The protocol is not set.", - "Use the legacy Apache Thrift protocol for the metastore service endpoint.", - "Use the modernized gRPC protocol for the metastore service endpoint." - ], - "type": "string" - }, - "version": { - "description": "Immutable. The Hive metastore schema version.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaImportMetadataRequest": { - "description": "Request message for DataprocMetastore.CreateMetadataImport.", - "id": "GoogleCloudMetastoreV2alphaImportMetadataRequest", - "properties": { - "databaseDump": { - "$ref": "GoogleCloudMetastoreV2alphaDatabaseDump", - "description": "Immutable. A database dump from a pre-existing metastore's database." - }, - "description": { - "description": "Optional. The description of the metadata import.", - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaLatestBackup": { - "description": "The details of the latest scheduled backup.", - "id": "GoogleCloudMetastoreV2alphaLatestBackup", - "properties": { - "backupId": { - "description": "Output only. The ID of an in-progress scheduled backup. Empty if no backup is in progress.", - "readOnly": true, - "type": "string" - }, - "duration": { - "description": "Output only. The duration of the backup completion.", - "format": "google-duration", - "readOnly": true, - "type": "string" - }, - "startTime": { - "description": "Output only. The time when the backup was started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. The current state of the backup.", - "enum": [ - "STATE_UNSPECIFIED", - "IN_PROGRESS", - "SUCCEEDED", - "FAILED" - ], - "enumDescriptions": [ - "The state of the backup is unknown.", - "The backup is in progress.", - "The backup completed.", - "The backup failed." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaLimitConfig": { - "description": "Represents the autoscaling limit configuration of a metastore service.", - "id": "GoogleCloudMetastoreV2alphaLimitConfig", - "properties": { - "maxScalingFactor": { - "description": "Optional. The highest scaling factor that the service should be autoscaled to.", - "format": "int32", - "type": "integer" - }, - "minScalingFactor": { - "description": "Optional. The lowest scaling factor that the service should be autoscaled to.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaListBackupsResponse": { - "description": "Response message for DataprocMetastore.ListBackups.", - "id": "GoogleCloudMetastoreV2alphaListBackupsResponse", - "properties": { - "backups": { - "description": "The backups of the specified service.", - "items": { - "$ref": "GoogleCloudMetastoreV2alphaBackup" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaListMigrationExecutionsResponse": { - "description": "Response message for DataprocMetastore.ListMigrationExecutions.", - "id": "GoogleCloudMetastoreV2alphaListMigrationExecutionsResponse", - "properties": { - "migrationExecutions": { - "description": "The migration executions on the specified service.", - "items": { - "$ref": "GoogleCloudMetastoreV2alphaMigrationExecution" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaListServicesResponse": { - "description": "Response message for DataprocMetastore.ListServices.", - "id": "GoogleCloudMetastoreV2alphaListServicesResponse", - "properties": { - "nextPageToken": { - "description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - }, - "services": { - "description": "The services in the specified location.", - "items": { - "$ref": "GoogleCloudMetastoreV2alphaService" - }, - "type": "array" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaMetadataIntegration": { - "description": "Specifies how metastore metadata should be integrated with external services.", - "id": "GoogleCloudMetastoreV2alphaMetadataIntegration", - "properties": { - "dataCatalogConfig": { - "$ref": "GoogleCloudMetastoreV2alphaDataCatalogConfig", - "description": "Optional. The integration config for the Data Catalog service." - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaMigrationExecution": { - "description": "The details of a migration execution resource.", - "id": "GoogleCloudMetastoreV2alphaMigrationExecution", - "properties": { - "cloudSqlMigrationConfig": { - "$ref": "GoogleCloudMetastoreV2alphaCloudSQLMigrationConfig", - "description": "Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore." - }, - "createTime": { - "description": "Output only. The time when the migration execution was started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time when the migration execution finished.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}", - "readOnly": true, - "type": "string" - }, - "phase": { - "description": "Output only. The current phase of the migration execution.", - "enum": [ - "PHASE_UNSPECIFIED", - "REPLICATION", - "CUTOVER" - ], - "enumDescriptions": [ - "The phase of the migration execution is unknown.", - "Replication phase refers to the migration phase when Dataproc Metastore is running a pipeline to replicate changes in the customer database to its backend database. During this phase, Dataproc Metastore uses the customer database as the hive metastore backend database.", - "Cutover phase refers to the migration phase when Dataproc Metastore switches to using its own backend database. Migration enters this phase when customer is done migrating all their clusters/workloads to Dataproc Metastore and triggers CompleteMigration." - ], - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. The current state of the migration execution.", - "enum": [ - "STATE_UNSPECIFIED", - "STARTING", - "RUNNING", - "CANCELLING", - "AWAITING_USER_ACTION", - "SUCCEEDED", - "FAILED", - "CANCELLED", - "DELETING" - ], - "enumDescriptions": [ - "The state of the migration execution is unknown.", - "The migration execution is starting.", - "The migration execution is running.", - "The migration execution is in the process of being cancelled.", - "The migration execution is awaiting user action.", - "The migration execution has completed successfully.", - "The migration execution has failed.", - "The migration execution is cancelled.", - "The migration execution is being deleted." - ], - "readOnly": true, - "type": "string" - }, - "stateMessage": { - "description": "Output only. Additional information about the current state of the migration execution.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaMoveTableToDatabaseRequest": { - "description": "Request message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV2alphaMoveTableToDatabaseRequest", - "properties": { - "dbName": { - "description": "Required. The name of the database where the table resides.", - "type": "string" - }, - "destinationDbName": { - "description": "Required. The name of the database where the table should be moved.", - "type": "string" - }, - "tableName": { - "description": "Required. The name of the table to be moved.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaQueryMetadataRequest": { - "description": "Request message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV2alphaQueryMetadataRequest", - "properties": { - "query": { - "description": "Required. A read-only SQL query to execute against the metadata database. The query cannot change or mutate the data.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaRemoveIamPolicyRequest": { - "description": "Request message for DataprocMetastore.RemoveIamPolicy.", - "id": "GoogleCloudMetastoreV2alphaRemoveIamPolicyRequest", - "properties": { - "asynchronous": { - "description": "Optional. Removes IAM policy attached to database or table asynchronously when it is set. The default is false.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaRemoveIamPolicyResponse": { - "description": "Response message for DataprocMetastore.RemoveIamPolicy.", - "id": "GoogleCloudMetastoreV2alphaRemoveIamPolicyResponse", - "properties": { - "success": { - "description": "True if the policy is successfully removed.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaRestoreServiceRequest": { - "description": "Request message for DataprocMetastore.Restore.", - "id": "GoogleCloudMetastoreV2alphaRestoreServiceRequest", - "properties": { - "backup": { - "description": "Optional. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. Mutually exclusive with backup_location, and exactly one of the two must be set.", - "type": "string" - }, - "backupLocation": { - "description": "Optional. A Cloud Storage URI specifying the location of the backup artifacts, namely - backup avro files under \"avro/\", backup_metastore.json and service.json, in the following form:gs://. Mutually exclusive with backup, and exactly one of the two must be set.", - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "type": "string" - }, - "restoreType": { - "description": "Optional. The type of restore. If unspecified, defaults to METADATA_ONLY.", - "enum": [ - "RESTORE_TYPE_UNSPECIFIED", - "FULL", - "METADATA_ONLY" - ], - "enumDescriptions": [ - "The restore type is unknown.", - "The service's metadata and configuration are restored.", - "Only the service's metadata is restored." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaScalingConfig": { - "description": "Represents the scaling configuration of a metastore service.", - "id": "GoogleCloudMetastoreV2alphaScalingConfig", - "properties": { - "autoscalingConfig": { - "$ref": "GoogleCloudMetastoreV2alphaAutoscalingConfig", - "description": "Optional. The autoscaling configuration." - }, - "scalingFactor": { - "description": "Optional. Scaling factor from 1 to 5, increments of 1.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaScheduledBackup": { - "description": "This specifies the configuration of scheduled backup.", - "id": "GoogleCloudMetastoreV2alphaScheduledBackup", - "properties": { - "backupLocation": { - "description": "Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it.", - "type": "string" - }, - "cronSchedule": { - "description": "Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups.", - "type": "string" - }, - "enabled": { - "description": "Optional. Defines whether the scheduled backup is enabled. The default value is false.", - "type": "boolean" - }, - "latestBackup": { - "$ref": "GoogleCloudMetastoreV2alphaLatestBackup", - "description": "Output only. The details of the latest scheduled backup.", - "readOnly": true - }, - "nextScheduledTime": { - "description": "Output only. The time when the next backups execution is scheduled to start.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "timeZone": { - "description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaService": { - "description": "A managed metastore service that serves metadata queries.", - "id": "GoogleCloudMetastoreV2alphaService", - "properties": { - "createTime": { - "description": "Output only. The time when the metastore service was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "encryptionConfig": { - "$ref": "GoogleCloudMetastoreV2alphaEncryptionConfig", - "description": "Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated." - }, - "endpoints": { - "description": "Output only. The list of endpoints used to access the metastore service.", - "items": { - "$ref": "GoogleCloudMetastoreV2alphaEndpoint" - }, - "readOnly": true, - "type": "array" - }, - "hiveMetastoreConfig": { - "$ref": "GoogleCloudMetastoreV2alphaHiveMetastoreConfig", - "description": "Configuration information specific to running Hive metastore software as the metastore service." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "User-defined labels for the metastore service.", - "type": "object" - }, - "metadataIntegration": { - "$ref": "GoogleCloudMetastoreV2alphaMetadataIntegration", - "description": "Optional. The setting that defines how metastore metadata should be integrated with external services and systems." - }, - "name": { - "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "type": "string" - }, - "scalingConfig": { - "$ref": "GoogleCloudMetastoreV2alphaScalingConfig", - "description": "Optional. Scaling configuration of the metastore service." - }, - "scheduledBackup": { - "$ref": "GoogleCloudMetastoreV2alphaScheduledBackup", - "description": "Optional. The configuration of scheduled backup for the metastore service." - }, - "state": { - "description": "Output only. The current state of the metastore service.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "ACTIVE", - "SUSPENDING", - "SUSPENDED", - "UPDATING", - "DELETING", - "ERROR", - "MIGRATING" - ], - "enumDescriptions": [ - "The state of the metastore service is unknown.", - "The metastore service is in the process of being created.", - "The metastore service is running and ready to serve queries.", - "The metastore service is entering suspension. Its query-serving availability may cease unexpectedly.", - "The metastore service is suspended and unable to serve queries.", - "The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.", - "The metastore service is undergoing deletion. It cannot be used.", - "The metastore service has encountered an error and cannot be used. The metastore service should be deleted.", - "The metastore service is processing a managed migration." - ], - "readOnly": true, - "type": "string" - }, - "stateMessage": { - "description": "Output only. Additional information about the current state of the metastore service, if available.", - "readOnly": true, - "type": "string" - }, - "uid": { - "description": "Output only. The globally unique resource identifier of the metastore service.", - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. The time when the metastore service was last updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "warehouseGcsUri": { - "description": "Required. A Cloud Storage URI (starting with gs://) that specifies the default warehouse directory of the Hive Metastore.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2alphaStartMigrationRequest": { - "description": "Request message for DataprocMetastore.StartMigration.", - "id": "GoogleCloudMetastoreV2alphaStartMigrationRequest", - "properties": { - "migrationExecution": { - "$ref": "GoogleCloudMetastoreV2alphaMigrationExecution", - "description": "Required. The configuration details for the migration." - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleLongrunningOperation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "GoogleLongrunningOperation", - "properties": { - "done": { - "description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", - "type": "boolean" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleRpcStatus": { - "description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", - "id": "GoogleRpcStatus", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Dataproc Metastore API", - "version": "v2alpha", - "version_module": true -} \ No newline at end of file diff --git a/discovery/metastore-v2beta.json b/discovery/metastore-v2beta.json deleted file mode 100644 index c9560670c32..00000000000 --- a/discovery/metastore-v2beta.json +++ /dev/null @@ -1,2337 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://metastore.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Dataproc Metastore", - "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/dataproc-metastore/docs", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "metastore:v2beta", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://metastore.mtls.googleapis.com/", - "name": "metastore", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "resources": { - "services": { - "methods": { - "alterLocation": { - "description": "Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterLocation", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.alterLocation", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+service}:alterLocation", - "request": { - "$ref": "GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "alterTableProperties": { - "description": "Alter metadata table properties.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterTableProperties", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.alterTableProperties", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the Dataproc Metastore service that's being used to mutate metadata table properties, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+service}:alterTableProperties", - "request": { - "$ref": "GoogleCloudMetastoreV2betaAlterTablePropertiesRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "cancelMigration": { - "description": "Cancels the ongoing Managed Migration process.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:cancelMigration", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.cancelMigration", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to cancel the ongoing migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+service}:cancelMigration", - "request": { - "$ref": "GoogleCloudMetastoreV2betaCancelMigrationRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "completeMigration": { - "description": "Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:completeMigration", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.completeMigration", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to complete the migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+service}:completeMigration", - "request": { - "$ref": "GoogleCloudMetastoreV2betaCompleteMigrationRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "create": { - "description": "Creates a metastore service in a project and location.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The relative resource name of the location in which to create a metastore service, in the following form:projects/{project_number}/locations/{location_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - }, - "serviceId": { - "description": "Required. The ID of the metastore service, which is used as the final component of the metastore service's name.This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", - "location": "query", - "type": "string" - } - }, - "path": "v2beta/{+parent}/services", - "request": { - "$ref": "GoogleCloudMetastoreV2betaService" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a single service.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", - "httpMethod": "DELETE", - "id": "metastore.projects.locations.services.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the metastore service to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - } - }, - "path": "v2beta/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "exportMetadata": { - "description": "Exports metadata from a service.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:exportMetadata", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.exportMetadata", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to run export, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+service}:exportMetadata", - "request": { - "$ref": "GoogleCloudMetastoreV2betaExportMetadataRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the details of a single service.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the metastore service to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+name}", - "response": { - "$ref": "GoogleCloudMetastoreV2betaService" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "importMetadata": { - "description": "Imports Metadata into a Dataproc Metastore service.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:importMetadata", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.importMetadata", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Immutable. The relative resource name of the metastore service to run import, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+name}:importMetadata", - "request": { - "$ref": "GoogleCloudMetastoreV2betaImportMetadataRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists services in a project and location.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. The filter to apply to list results.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The maximum number of services to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum value is 1000; values above 1000 are changed to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous DataprocMetastore.ListServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListServices must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The relative resource name of the location of metastore services to list, in the following form:projects/{project_number}/locations/{location_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+parent}/services", - "response": { - "$ref": "GoogleCloudMetastoreV2betaListServicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "moveTableToDatabase": { - "description": "Move a table to another database.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:moveTableToDatabase", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.moveTableToDatabase", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+service}:moveTableToDatabase", - "request": { - "$ref": "GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates the parameters of a single service.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", - "httpMethod": "PATCH", - "id": "metastore.projects.locations.services.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Required. A field mask used to specify the fields to be overwritten in the metastore service resource by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v2beta/{+name}", - "request": { - "$ref": "GoogleCloudMetastoreV2betaService" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "queryMetadata": { - "description": "Query Dataproc Metastore metadata.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:queryMetadata", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.queryMetadata", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to query metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+service}:queryMetadata", - "request": { - "$ref": "GoogleCloudMetastoreV2betaQueryMetadataRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "removeIamPolicy": { - "description": "Removes the attached IAM policies for a resource", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/{servicesId1}:removeIamPolicy", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.removeIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "Required. The relative resource name of the dataplane resource to remove IAM policy, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} or projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/.*$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+resource}:removeIamPolicy", - "request": { - "$ref": "GoogleCloudMetastoreV2betaRemoveIamPolicyRequest" - }, - "response": { - "$ref": "GoogleCloudMetastoreV2betaRemoveIamPolicyResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "restore": { - "description": "Restores a service from a backup.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:restore", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.restore", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to run restore, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+service}:restore", - "request": { - "$ref": "GoogleCloudMetastoreV2betaRestoreServiceRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "startMigration": { - "description": "Starts the Managed Migration process.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:startMigration", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.startMigration", - "parameterOrder": [ - "service" - ], - "parameters": { - "service": { - "description": "Required. The relative resource name of the metastore service to start migrating to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+service}:startMigration", - "request": { - "$ref": "GoogleCloudMetastoreV2betaStartMigrationRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "backups": { - "methods": { - "create": { - "description": "Creates a new backup in a given project and location.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups", - "httpMethod": "POST", - "id": "metastore.projects.locations.services.backups.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "backupId": { - "description": "Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The relative resource name of the service in which to create a backup of the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - } - }, - "path": "v2beta/{+parent}/backups", - "request": { - "$ref": "GoogleCloudMetastoreV2betaBackup" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a single backup.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}", - "httpMethod": "DELETE", - "id": "metastore.projects.locations.services.backups.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the backup to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - } - }, - "path": "v2beta/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets details of a single backup.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.backups.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the backup to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+name}", - "response": { - "$ref": "GoogleCloudMetastoreV2betaBackup" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists backups in a service.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.backups.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. The filter to apply to list results.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The maximum number of backups to return. The response may contain less than the maximum number. If unspecified, no more than 500 backups are returned. The maximum value is 1000; values above 1000 are changed to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous DataprocMetastore.ListBackups call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListBackups must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The relative resource name of the service whose backups to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+parent}/backups", - "response": { - "$ref": "GoogleCloudMetastoreV2betaListBackupsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "migrationExecutions": { - "methods": { - "delete": { - "description": "Deletes a single migration execution.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions/{migrationExecutionsId}", - "httpMethod": "DELETE", - "id": "metastore.projects.locations.services.migrationExecutions.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the migrationExecution to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/migrationExecutions/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "location": "query", - "type": "string" - } - }, - "path": "v2beta/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets details of a single migration execution.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions/{migrationExecutionsId}", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.migrationExecutions.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the migration execution to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/migrationExecutions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+name}", - "response": { - "$ref": "GoogleCloudMetastoreV2betaMigrationExecution" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists migration executions on a service.", - "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions", - "httpMethod": "GET", - "id": "metastore.projects.locations.services.migrationExecutions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. The filter to apply to list results.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The maximum number of migration executions to return. The response may contain less than the maximum number. If unspecified, no more than 500 migration executions are returned. The maximum value is 1000; values above 1000 are changed to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous DataprocMetastore.ListMigrationExecutions call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListMigrationExecutions must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The relative resource name of the service whose migration executions to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta/{+parent}/migrationExecutions", - "response": { - "$ref": "GoogleCloudMetastoreV2betaListMigrationExecutionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - } - } - }, - "revision": "20250227", - "rootUrl": "https://metastore.googleapis.com/", - "schemas": { - "GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse": { - "description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1CustomRegionMetadata": { - "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", - "id": "GoogleCloudMetastoreV1CustomRegionMetadata", - "properties": { - "optionalReadOnlyRegions": { - "description": "The read-only regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredReadWriteRegions": { - "description": "The read-write regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "witnessRegion": { - "description": "The Spanner witness region for this custom region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1ErrorDetails": { - "description": "Error details in public error message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1ErrorDetails", - "properties": { - "details": { - "additionalProperties": { - "type": "string" - }, - "description": "Additional structured details about this error.Keys define the failure items. Value describes the exception or details of the item.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1HiveMetastoreVersion": { - "description": "A specification of a supported version of the Hive Metastore software.", - "id": "GoogleCloudMetastoreV1HiveMetastoreVersion", - "properties": { - "isDefault": { - "description": "Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.", - "type": "boolean" - }, - "version": { - "description": "The semantic version of the Hive Metastore software.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1LocationMetadata": { - "description": "Metadata about the service in a location.", - "id": "GoogleCloudMetastoreV1LocationMetadata", - "properties": { - "customRegionMetadata": { - "description": "Possible configurations supported if the current region is a custom region.", - "items": { - "$ref": "GoogleCloudMetastoreV1CustomRegionMetadata" - }, - "type": "array" - }, - "multiRegionMetadata": { - "$ref": "GoogleCloudMetastoreV1MultiRegionMetadata", - "description": "The multi-region metadata if the current region is a multi-region." - }, - "supportedHiveMetastoreVersions": { - "description": "The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.", - "items": { - "$ref": "GoogleCloudMetastoreV1HiveMetastoreVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1MoveTableToDatabaseResponse": { - "description": "Response message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV1MoveTableToDatabaseResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1MultiRegionMetadata": { - "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", - "id": "GoogleCloudMetastoreV1MultiRegionMetadata", - "properties": { - "constituentRegions": { - "description": "The regions constituting the multi-region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "The continent for this multi-region.", - "type": "string" - }, - "witnessRegion": { - "description": "The Spanner witness region for this multi-region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1OperationMetadata": { - "description": "Represents the metadata of a long-running operation.", - "id": "GoogleCloudMetastoreV1OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1QueryMetadataResponse": { - "description": "Response message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1QueryMetadataResponse", - "properties": { - "resultManifestUri": { - "description": "The manifest URI is link to a JSON instance in Cloud Storage. This instance manifests immediately along with QueryMetadataResponse. The content of the URI is not retriable until the long-running operation query against the metadata finishes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse": { - "description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaCancelMigrationResponse": { - "description": "Response message for DataprocMetastore.CancelMigration.", - "id": "GoogleCloudMetastoreV1alphaCancelMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaCompleteMigrationResponse": { - "description": "Response message for DataprocMetastore.CompleteMigration.", - "id": "GoogleCloudMetastoreV1alphaCompleteMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaCustomRegionMetadata": { - "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", - "id": "GoogleCloudMetastoreV1alphaCustomRegionMetadata", - "properties": { - "optionalReadOnlyRegions": { - "description": "The read-only regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredReadWriteRegions": { - "description": "The read-write regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "witnessRegion": { - "description": "The Spanner witness region for this custom region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaErrorDetails": { - "description": "Error details in public error message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1alphaErrorDetails", - "properties": { - "details": { - "additionalProperties": { - "type": "string" - }, - "description": "Additional structured details about this error.Keys define the failure items. Value describes the exception or details of the item.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaHiveMetastoreVersion": { - "description": "A specification of a supported version of the Hive Metastore software.", - "id": "GoogleCloudMetastoreV1alphaHiveMetastoreVersion", - "properties": { - "isDefault": { - "description": "Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.", - "type": "boolean" - }, - "version": { - "description": "The semantic version of the Hive Metastore software.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaLocationMetadata": { - "description": "Metadata about the service in a location.", - "id": "GoogleCloudMetastoreV1alphaLocationMetadata", - "properties": { - "customRegionMetadata": { - "description": "Possible configurations supported if the current region is a custom region.", - "items": { - "$ref": "GoogleCloudMetastoreV1alphaCustomRegionMetadata" - }, - "type": "array" - }, - "multiRegionMetadata": { - "$ref": "GoogleCloudMetastoreV1alphaMultiRegionMetadata", - "description": "The multi-region metadata if the current region is a multi-region." - }, - "supportedHiveMetastoreVersions": { - "description": "The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.", - "items": { - "$ref": "GoogleCloudMetastoreV1alphaHiveMetastoreVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse": { - "description": "Response message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaMultiRegionMetadata": { - "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", - "id": "GoogleCloudMetastoreV1alphaMultiRegionMetadata", - "properties": { - "constituentRegions": { - "description": "The regions constituting the multi-region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "The continent for this multi-region.", - "type": "string" - }, - "witnessRegion": { - "description": "The Spanner witness region for this multi-region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaOperationMetadata": { - "description": "Represents the metadata of a long-running operation.", - "id": "GoogleCloudMetastoreV1alphaOperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1alphaQueryMetadataResponse": { - "description": "Response message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1alphaQueryMetadataResponse", - "properties": { - "resultManifestUri": { - "description": "The manifest URI is link to a JSON instance in Cloud Storage. This instance manifests immediately along with QueryMetadataResponse. The content of the URI is not retriable until the long-running operation query against the metadata finishes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse": { - "description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1betaCancelMigrationResponse": { - "description": "Response message for DataprocMetastore.CancelMigration.", - "id": "GoogleCloudMetastoreV1betaCancelMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaCompleteMigrationResponse": { - "description": "Response message for DataprocMetastore.CompleteMigration.", - "id": "GoogleCloudMetastoreV1betaCompleteMigrationResponse", - "properties": { - "migrationExecution": { - "description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaCustomRegionMetadata": { - "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", - "id": "GoogleCloudMetastoreV1betaCustomRegionMetadata", - "properties": { - "optionalReadOnlyRegions": { - "description": "The read-only regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "requiredReadWriteRegions": { - "description": "The read-write regions for this custom region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "witnessRegion": { - "description": "The Spanner witness region for this custom region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaErrorDetails": { - "description": "Error details in public error message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1betaErrorDetails", - "properties": { - "details": { - "additionalProperties": { - "type": "string" - }, - "description": "Additional structured details about this error.Keys define the failure items. Value describes the exception or details of the item.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaHiveMetastoreVersion": { - "description": "A specification of a supported version of the Hive Metastore software.", - "id": "GoogleCloudMetastoreV1betaHiveMetastoreVersion", - "properties": { - "isDefault": { - "description": "Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.", - "type": "boolean" - }, - "version": { - "description": "The semantic version of the Hive Metastore software.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaLocationMetadata": { - "description": "Metadata about the service in a location.", - "id": "GoogleCloudMetastoreV1betaLocationMetadata", - "properties": { - "customRegionMetadata": { - "description": "Possible configurations supported if the current region is a custom region.", - "items": { - "$ref": "GoogleCloudMetastoreV1betaCustomRegionMetadata" - }, - "type": "array" - }, - "multiRegionMetadata": { - "$ref": "GoogleCloudMetastoreV1betaMultiRegionMetadata", - "description": "The multi-region metadata if the current region is a multi-region." - }, - "supportedHiveMetastoreVersions": { - "description": "The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.", - "items": { - "$ref": "GoogleCloudMetastoreV1betaHiveMetastoreVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse": { - "description": "Response message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV1betaMultiRegionMetadata": { - "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", - "id": "GoogleCloudMetastoreV1betaMultiRegionMetadata", - "properties": { - "constituentRegions": { - "description": "The regions constituting the multi-region.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "The continent for this multi-region.", - "type": "string" - }, - "witnessRegion": { - "description": "The Spanner witness region for this multi-region.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaOperationMetadata": { - "description": "Represents the metadata of a long-running operation.", - "id": "GoogleCloudMetastoreV1betaOperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used to start the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the verb executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV1betaQueryMetadataResponse": { - "description": "Response message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV1betaQueryMetadataResponse", - "properties": { - "resultManifestUri": { - "description": "The manifest URI is link to a JSON instance in Cloud Storage. This instance manifests immediately along with QueryMetadataResponse. The content of the URI is not retriable until the long-running operation query against the metadata finishes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest": { - "description": "Request message for DataprocMetastore.AlterMetadataResourceLocation.", - "id": "GoogleCloudMetastoreV2betaAlterMetadataResourceLocationRequest", - "properties": { - "locationUri": { - "description": "Required. The new location URI for the metadata resource.", - "type": "string" - }, - "resourceName": { - "description": "Required. The relative metadata resource name in the following format.databases/{database_id} or databases/{database_id}/tables/{table_id} or databases/{database_id}/tables/{table_id}/partitions/{partition_id}", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaAlterTablePropertiesRequest": { - "description": "Request message for DataprocMetastore.AlterTableProperties.", - "id": "GoogleCloudMetastoreV2betaAlterTablePropertiesRequest", - "properties": { - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "A map that describes the desired values to mutate. If update_mask is empty, the properties will not update. Otherwise, the properties only alters the value whose associated paths exist in the update mask", - "type": "object" - }, - "tableName": { - "description": "Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id}", - "type": "string" - }, - "updateMask": { - "description": "A field mask that specifies the metadata table properties that are overwritten by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.For example, given the target properties: properties { a: 1 b: 2 } And an update properties: properties { a: 2 b: 3 c: 4 } then if the field mask is:paths: \"properties.b\", \"properties.c\"then the result will be: properties { a: 1 b: 3 c: 4 } ", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaAutoscalingConfig": { - "description": "Represents the autoscaling configuration of a metastore service.", - "id": "GoogleCloudMetastoreV2betaAutoscalingConfig", - "properties": { - "autoscalingEnabled": { - "description": "Optional. Whether or not autoscaling is enabled for this service.", - "type": "boolean" - }, - "autoscalingFactor": { - "description": "Output only. The scaling factor of a service with autoscaling enabled.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "limitConfig": { - "$ref": "GoogleCloudMetastoreV2betaLimitConfig", - "description": "Optional. The LimitConfig of the service." - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaAuxiliaryVersionConfig": { - "description": "Configuration information for the auxiliary service versions.", - "id": "GoogleCloudMetastoreV2betaAuxiliaryVersionConfig", - "properties": { - "configOverrides": { - "additionalProperties": { - "type": "string" - }, - "description": "A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.", - "type": "object" - }, - "endpoints": { - "description": "Output only. The list of endpoints used to access the auxiliary metastore service, includes version and region data.", - "items": { - "$ref": "GoogleCloudMetastoreV2betaEndpoint" - }, - "readOnly": true, - "type": "array" - }, - "version": { - "description": "The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaBackup": { - "description": "The details of a backup resource.", - "id": "GoogleCloudMetastoreV2betaBackup", - "properties": { - "createTime": { - "description": "Output only. The time when the backup was started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "The description of the backup.", - "type": "string" - }, - "endTime": { - "description": "Output only. The time when the backup finished creating.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}", - "type": "string" - }, - "restoringServices": { - "description": "Output only. Services that are restoring from the backup.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "serviceRevision": { - "$ref": "GoogleCloudMetastoreV2betaService", - "description": "Output only. The revision of the service at the time of backup.", - "readOnly": true - }, - "state": { - "description": "Output only. The current state of the backup.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "DELETING", - "ACTIVE", - "FAILED", - "RESTORING" - ], - "enumDescriptions": [ - "The state of the backup is unknown.", - "The backup is being created.", - "The backup is being deleted.", - "The backup is active and ready to use.", - "The backup failed.", - "The backup is being restored." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaCancelMigrationRequest": { - "description": "Request message for DataprocMetastore.CancelMigration.", - "id": "GoogleCloudMetastoreV2betaCancelMigrationRequest", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV2betaCdcConfig": { - "description": "Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore.", - "id": "GoogleCloudMetastoreV2betaCdcConfig", - "properties": { - "bucket": { - "description": "Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like \"gs://\". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used.", - "type": "string" - }, - "password": { - "description": "Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request.", - "type": "string" - }, - "reverseProxySubnet": { - "description": "Required. The URL of the subnetwork resource to create the VM instance hosting the reverse proxy in. More context in https://cloud.google.com/datastream/docs/private-connectivity#reverse-csql-proxy The subnetwork should reside in the network provided in the request that Datastream will peer to and should be in the same region as Datastream, in the following format. projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", - "type": "string" - }, - "rootPath": { - "description": "Optional. The root path inside the Cloud Storage bucket. The stream event data will be written to this path. The default value is /migration.", - "type": "string" - }, - "subnetIpRange": { - "description": "Required. A /29 CIDR IP range for peering with datastream.", - "type": "string" - }, - "username": { - "description": "Required. The username that the Datastream service should use for the MySQL connection.", - "type": "string" - }, - "vpcNetwork": { - "description": "Required. Fully qualified name of the Cloud SQL instance's VPC network or the shared VPC network that Datastream will peer to, in the following format: projects/{project_id}/locations/global/networks/{network_id}. More context in https://cloud.google.com/datastream/docs/network-connectivity-options#privateconnectivity", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaCloudSQLConnectionConfig": { - "description": "Configuration information to establish customer database connection before the cutover phase of migration", - "id": "GoogleCloudMetastoreV2betaCloudSQLConnectionConfig", - "properties": { - "hiveDatabaseName": { - "description": "Required. The hive database name.", - "type": "string" - }, - "instanceConnectionName": { - "description": "Required. Cloud SQL database connection name (project_id:region:instance_name)", - "type": "string" - }, - "ipAddress": { - "description": "Required. The private IP address of the Cloud SQL instance.", - "type": "string" - }, - "natSubnet": { - "description": "Required. The relative resource name of the subnetwork to be used for Private Service Connect. Note that this cannot be a regular subnet and is used only for NAT. (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc-subnets) This subnet is used to publish the SOCKS5 proxy service. The subnet size must be at least /29 and it should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", - "type": "string" - }, - "password": { - "description": "Required. Input only. The password for the user that Dataproc Metastore service will be using to connect to the database. This field is not returned on request.", - "type": "string" - }, - "port": { - "description": "Required. The network port of the database.", - "format": "int32", - "type": "integer" - }, - "proxySubnet": { - "description": "Required. The relative resource name of the subnetwork to deploy the SOCKS5 proxy service in. The subnetwork should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", - "type": "string" - }, - "username": { - "description": "Required. The username that Dataproc Metastore service will use to connect to the database.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaCloudSQLMigrationConfig": { - "description": "Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.", - "id": "GoogleCloudMetastoreV2betaCloudSQLMigrationConfig", - "properties": { - "cdcConfig": { - "$ref": "GoogleCloudMetastoreV2betaCdcConfig", - "description": "Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration." - }, - "cloudSqlConnectionConfig": { - "$ref": "GoogleCloudMetastoreV2betaCloudSQLConnectionConfig", - "description": "Required. Configuration information to establish customer database connection before the cutover phase of migration" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaCompleteMigrationRequest": { - "description": "Request message for DataprocMetastore.CompleteMigration.", - "id": "GoogleCloudMetastoreV2betaCompleteMigrationRequest", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV2betaDataCatalogConfig": { - "description": "Specifies how metastore metadata should be integrated with the Data Catalog service.", - "id": "GoogleCloudMetastoreV2betaDataCatalogConfig", - "properties": { - "enabled": { - "description": "Optional. Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaDatabaseDump": { - "description": "A specification of the location and metadata type for a database dump from a relational database management system.", - "id": "GoogleCloudMetastoreV2betaDatabaseDump", - "properties": { - "gcsUri": { - "description": "Required. A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.", - "type": "string" - }, - "type": { - "description": "Optional. The type of the database dump. If unspecified, defaults to MYSQL.", - "enum": [ - "TYPE_UNSPECIFIED", - "MYSQL", - "AVRO" - ], - "enumDescriptions": [ - "The type of the database dump is unknown.", - "Database dump is a MySQL dump file.", - "Database dump contains Avro files." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaEncryptionConfig": { - "description": "Encryption settings for the service.", - "id": "GoogleCloudMetastoreV2betaEncryptionConfig", - "properties": {}, - "type": "object" - }, - "GoogleCloudMetastoreV2betaEndpoint": { - "description": "An endpoint used to access the metastore service.", - "id": "GoogleCloudMetastoreV2betaEndpoint", - "properties": { - "endpointUri": { - "description": "Output only. The URI of the endpoint used to access the metastore service.", - "readOnly": true, - "type": "string" - }, - "region": { - "description": "Output only. The region where the endpoint is located.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaExportMetadataRequest": { - "description": "Request message for DataprocMetastore.ExportMetadata.", - "id": "GoogleCloudMetastoreV2betaExportMetadataRequest", - "properties": { - "databaseDumpType": { - "description": "Optional. The type of the database dump. If unspecified, defaults to MYSQL.", - "enum": [ - "TYPE_UNSPECIFIED", - "MYSQL", - "AVRO" - ], - "enumDescriptions": [ - "The type of the database dump is unknown.", - "Database dump is a MySQL dump file.", - "Database dump contains Avro files." - ], - "type": "string" - }, - "destinationGcsFolder": { - "description": "A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing exported files will be created below it.", - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaHiveMetastoreConfig": { - "description": "Specifies configuration information specific to running Hive metastore software as the metastore service.", - "id": "GoogleCloudMetastoreV2betaHiveMetastoreConfig", - "properties": { - "auxiliaryVersions": { - "additionalProperties": { - "$ref": "GoogleCloudMetastoreV2betaAuxiliaryVersionConfig" - }, - "description": "Optional. A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.", - "type": "object" - }, - "configOverrides": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig.", - "type": "object" - }, - "endpointProtocol": { - "description": "Optional. The protocol to use for the metastore service endpoint. If unspecified, defaults to GRPC.", - "enum": [ - "ENDPOINT_PROTOCOL_UNSPECIFIED", - "THRIFT", - "GRPC" - ], - "enumDescriptions": [ - "The protocol is not set.", - "Use the legacy Apache Thrift protocol for the metastore service endpoint.", - "Use the modernized gRPC protocol for the metastore service endpoint." - ], - "type": "string" - }, - "version": { - "description": "Immutable. The Hive metastore schema version.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaImportMetadataRequest": { - "description": "Request message for DataprocMetastore.CreateMetadataImport.", - "id": "GoogleCloudMetastoreV2betaImportMetadataRequest", - "properties": { - "databaseDump": { - "$ref": "GoogleCloudMetastoreV2betaDatabaseDump", - "description": "Immutable. A database dump from a pre-existing metastore's database." - }, - "description": { - "description": "Optional. The description of the metadata import.", - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaLatestBackup": { - "description": "The details of the latest scheduled backup.", - "id": "GoogleCloudMetastoreV2betaLatestBackup", - "properties": { - "backupId": { - "description": "Output only. The ID of an in-progress scheduled backup. Empty if no backup is in progress.", - "readOnly": true, - "type": "string" - }, - "duration": { - "description": "Output only. The duration of the backup completion.", - "format": "google-duration", - "readOnly": true, - "type": "string" - }, - "startTime": { - "description": "Output only. The time when the backup was started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. The current state of the backup.", - "enum": [ - "STATE_UNSPECIFIED", - "IN_PROGRESS", - "SUCCEEDED", - "FAILED" - ], - "enumDescriptions": [ - "The state of the backup is unknown.", - "The backup is in progress.", - "The backup completed.", - "The backup failed." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaLimitConfig": { - "description": "Represents the autoscaling limit configuration of a metastore service.", - "id": "GoogleCloudMetastoreV2betaLimitConfig", - "properties": { - "maxScalingFactor": { - "description": "Optional. The highest scaling factor that the service should be autoscaled to.", - "format": "int32", - "type": "integer" - }, - "minScalingFactor": { - "description": "Optional. The lowest scaling factor that the service should be autoscaled to.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaListBackupsResponse": { - "description": "Response message for DataprocMetastore.ListBackups.", - "id": "GoogleCloudMetastoreV2betaListBackupsResponse", - "properties": { - "backups": { - "description": "The backups of the specified service.", - "items": { - "$ref": "GoogleCloudMetastoreV2betaBackup" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaListMigrationExecutionsResponse": { - "description": "Response message for DataprocMetastore.ListMigrationExecutions.", - "id": "GoogleCloudMetastoreV2betaListMigrationExecutionsResponse", - "properties": { - "migrationExecutions": { - "description": "The migration executions on the specified service.", - "items": { - "$ref": "GoogleCloudMetastoreV2betaMigrationExecution" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaListServicesResponse": { - "description": "Response message for DataprocMetastore.ListServices.", - "id": "GoogleCloudMetastoreV2betaListServicesResponse", - "properties": { - "nextPageToken": { - "description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - }, - "services": { - "description": "The services in the specified location.", - "items": { - "$ref": "GoogleCloudMetastoreV2betaService" - }, - "type": "array" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaMetadataIntegration": { - "description": "Specifies how metastore metadata should be integrated with external services.", - "id": "GoogleCloudMetastoreV2betaMetadataIntegration", - "properties": { - "dataCatalogConfig": { - "$ref": "GoogleCloudMetastoreV2betaDataCatalogConfig", - "description": "Optional. The integration config for the Data Catalog service." - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaMigrationExecution": { - "description": "The details of a migration execution resource.", - "id": "GoogleCloudMetastoreV2betaMigrationExecution", - "properties": { - "cloudSqlMigrationConfig": { - "$ref": "GoogleCloudMetastoreV2betaCloudSQLMigrationConfig", - "description": "Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore." - }, - "createTime": { - "description": "Output only. The time when the migration execution was started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time when the migration execution finished.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}", - "readOnly": true, - "type": "string" - }, - "phase": { - "description": "Output only. The current phase of the migration execution.", - "enum": [ - "PHASE_UNSPECIFIED", - "REPLICATION", - "CUTOVER" - ], - "enumDescriptions": [ - "The phase of the migration execution is unknown.", - "Replication phase refers to the migration phase when Dataproc Metastore is running a pipeline to replicate changes in the customer database to its backend database. During this phase, Dataproc Metastore uses the customer database as the hive metastore backend database.", - "Cutover phase refers to the migration phase when Dataproc Metastore switches to using its own backend database. Migration enters this phase when customer is done migrating all their clusters/workloads to Dataproc Metastore and triggers CompleteMigration." - ], - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. The current state of the migration execution.", - "enum": [ - "STATE_UNSPECIFIED", - "STARTING", - "RUNNING", - "CANCELLING", - "AWAITING_USER_ACTION", - "SUCCEEDED", - "FAILED", - "CANCELLED", - "DELETING" - ], - "enumDescriptions": [ - "The state of the migration execution is unknown.", - "The migration execution is starting.", - "The migration execution is running.", - "The migration execution is in the process of being cancelled.", - "The migration execution is awaiting user action.", - "The migration execution has completed successfully.", - "The migration execution has failed.", - "The migration execution is cancelled.", - "The migration execution is being deleted." - ], - "readOnly": true, - "type": "string" - }, - "stateMessage": { - "description": "Output only. Additional information about the current state of the migration execution.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest": { - "description": "Request message for DataprocMetastore.MoveTableToDatabase.", - "id": "GoogleCloudMetastoreV2betaMoveTableToDatabaseRequest", - "properties": { - "dbName": { - "description": "Required. The name of the database where the table resides.", - "type": "string" - }, - "destinationDbName": { - "description": "Required. The name of the database where the table should be moved.", - "type": "string" - }, - "tableName": { - "description": "Required. The name of the table to be moved.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaQueryMetadataRequest": { - "description": "Request message for DataprocMetastore.QueryMetadata.", - "id": "GoogleCloudMetastoreV2betaQueryMetadataRequest", - "properties": { - "query": { - "description": "Required. A read-only SQL query to execute against the metadata database. The query cannot change or mutate the data.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaRemoveIamPolicyRequest": { - "description": "Request message for DataprocMetastore.RemoveIamPolicy.", - "id": "GoogleCloudMetastoreV2betaRemoveIamPolicyRequest", - "properties": { - "asynchronous": { - "description": "Optional. Removes IAM policy attached to database or table asynchronously when it is set. The default is false.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaRemoveIamPolicyResponse": { - "description": "Response message for DataprocMetastore.RemoveIamPolicy.", - "id": "GoogleCloudMetastoreV2betaRemoveIamPolicyResponse", - "properties": { - "success": { - "description": "True if the policy is successfully removed.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaRestoreServiceRequest": { - "description": "Request message for DataprocMetastore.Restore.", - "id": "GoogleCloudMetastoreV2betaRestoreServiceRequest", - "properties": { - "backup": { - "description": "Optional. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. Mutually exclusive with backup_location, and exactly one of the two must be set.", - "type": "string" - }, - "backupLocation": { - "description": "Optional. A Cloud Storage URI specifying the location of the backup artifacts, namely - backup avro files under \"avro/\", backup_metastore.json and service.json, in the following form:gs://. Mutually exclusive with backup, and exactly one of the two must be set.", - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "type": "string" - }, - "restoreType": { - "description": "Optional. The type of restore. If unspecified, defaults to METADATA_ONLY.", - "enum": [ - "RESTORE_TYPE_UNSPECIFIED", - "FULL", - "METADATA_ONLY" - ], - "enumDescriptions": [ - "The restore type is unknown.", - "The service's metadata and configuration are restored.", - "Only the service's metadata is restored." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaScalingConfig": { - "description": "Represents the scaling configuration of a metastore service.", - "id": "GoogleCloudMetastoreV2betaScalingConfig", - "properties": { - "autoscalingConfig": { - "$ref": "GoogleCloudMetastoreV2betaAutoscalingConfig", - "description": "Optional. The autoscaling configuration." - }, - "scalingFactor": { - "description": "Optional. Scaling factor from 1 to 5, increments of 1.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaScheduledBackup": { - "description": "This specifies the configuration of scheduled backup.", - "id": "GoogleCloudMetastoreV2betaScheduledBackup", - "properties": { - "backupLocation": { - "description": "Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it.", - "type": "string" - }, - "cronSchedule": { - "description": "Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups.", - "type": "string" - }, - "enabled": { - "description": "Optional. Defines whether the scheduled backup is enabled. The default value is false.", - "type": "boolean" - }, - "latestBackup": { - "$ref": "GoogleCloudMetastoreV2betaLatestBackup", - "description": "Output only. The details of the latest scheduled backup.", - "readOnly": true - }, - "nextScheduledTime": { - "description": "Output only. The time when the next backups execution is scheduled to start.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "timeZone": { - "description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaService": { - "description": "A managed metastore service that serves metadata queries.", - "id": "GoogleCloudMetastoreV2betaService", - "properties": { - "createTime": { - "description": "Output only. The time when the metastore service was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "encryptionConfig": { - "$ref": "GoogleCloudMetastoreV2betaEncryptionConfig", - "description": "Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated." - }, - "endpoints": { - "description": "Output only. The list of endpoints used to access the metastore service.", - "items": { - "$ref": "GoogleCloudMetastoreV2betaEndpoint" - }, - "readOnly": true, - "type": "array" - }, - "hiveMetastoreConfig": { - "$ref": "GoogleCloudMetastoreV2betaHiveMetastoreConfig", - "description": "Configuration information specific to running Hive metastore software as the metastore service." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "User-defined labels for the metastore service.", - "type": "object" - }, - "metadataIntegration": { - "$ref": "GoogleCloudMetastoreV2betaMetadataIntegration", - "description": "Optional. The setting that defines how metastore metadata should be integrated with external services and systems." - }, - "name": { - "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", - "type": "string" - }, - "scalingConfig": { - "$ref": "GoogleCloudMetastoreV2betaScalingConfig", - "description": "Optional. Scaling configuration of the metastore service." - }, - "scheduledBackup": { - "$ref": "GoogleCloudMetastoreV2betaScheduledBackup", - "description": "Optional. The configuration of scheduled backup for the metastore service." - }, - "state": { - "description": "Output only. The current state of the metastore service.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "ACTIVE", - "SUSPENDING", - "SUSPENDED", - "UPDATING", - "DELETING", - "ERROR", - "MIGRATING" - ], - "enumDescriptions": [ - "The state of the metastore service is unknown.", - "The metastore service is in the process of being created.", - "The metastore service is running and ready to serve queries.", - "The metastore service is entering suspension. Its query-serving availability may cease unexpectedly.", - "The metastore service is suspended and unable to serve queries.", - "The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.", - "The metastore service is undergoing deletion. It cannot be used.", - "The metastore service has encountered an error and cannot be used. The metastore service should be deleted.", - "The metastore service is processing a managed migration." - ], - "readOnly": true, - "type": "string" - }, - "stateMessage": { - "description": "Output only. Additional information about the current state of the metastore service, if available.", - "readOnly": true, - "type": "string" - }, - "uid": { - "description": "Output only. The globally unique resource identifier of the metastore service.", - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. The time when the metastore service was last updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "warehouseGcsUri": { - "description": "Required. A Cloud Storage URI (starting with gs://) that specifies the default warehouse directory of the Hive Metastore.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudMetastoreV2betaStartMigrationRequest": { - "description": "Request message for DataprocMetastore.StartMigration.", - "id": "GoogleCloudMetastoreV2betaStartMigrationRequest", - "properties": { - "migrationExecution": { - "$ref": "GoogleCloudMetastoreV2betaMigrationExecution", - "description": "Required. The configuration details for the migration." - }, - "requestId": { - "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleLongrunningOperation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "GoogleLongrunningOperation", - "properties": { - "done": { - "description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", - "type": "boolean" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleRpcStatus": { - "description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", - "id": "GoogleRpcStatus", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Dataproc Metastore API", - "version": "v2beta", - "version_module": true -} \ No newline at end of file diff --git a/discovery/migrationcenter-v1.json b/discovery/migrationcenter-v1.json index a39040f2ee8..b601e1af3b0 100644 --- a/discovery/migrationcenter-v1.json +++ b/discovery/migrationcenter-v1.json @@ -2407,7 +2407,7 @@ } } }, - "revision": "20250422", + "revision": "20250429", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -2890,6 +2890,13 @@ "description": "Optional. When this value is set to `true` the request is a no-op for non-existing assets. See https://google.aip.dev/135#delete-if-existing for additional details. Default value is `false`.", "type": "boolean" }, + "cascadingRules": { + "description": "Optional. Optional cascading rules for deleting related assets.", + "items": { + "$ref": "CascadingRule" + }, + "type": "array" + }, "names": { "description": "Required. The IDs of the assets to delete. A maximum of 1000 assets can be deleted in a batch. Format: projects/{project}/locations/{location}/assets/{name}.", "items": { @@ -2966,6 +2973,23 @@ "properties": {}, "type": "object" }, + "CascadeLogicalDBsRule": { + "description": "Cascading rule for related logical DBs.", + "id": "CascadeLogicalDBsRule", + "properties": {}, + "type": "object" + }, + "CascadingRule": { + "description": "Specifies cascading rules for traversing relations.", + "id": "CascadingRule", + "properties": { + "cascadeLogicalDbs": { + "$ref": "CascadeLogicalDBsRule", + "description": "Cascading rule for related logical DBs." + } + }, + "type": "object" + }, "ComputeEngineMigrationTarget": { "description": "Compute engine migration target.", "id": "ComputeEngineMigrationTarget", diff --git a/discovery/monitoring-v1.json b/discovery/monitoring-v1.json index 17ed33179ef..caae5574f72 100644 --- a/discovery/monitoring-v1.json +++ b/discovery/monitoring-v1.json @@ -753,7 +753,7 @@ } } }, - "revision": "20250424", + "revision": "20250501", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -2928,7 +2928,7 @@ "properties": { "templateVariableCondition": { "$ref": "TemplateVariableCondition", - "description": "A condition whose evaluation is based on the value of a template1 variable." + "description": "A condition whose evaluation is based on the value of a template variable." } }, "type": "object" diff --git a/discovery/mybusinessbusinesscalls-v1.json b/discovery/mybusinessbusinesscalls-v1.json deleted file mode 100644 index 90c814c630e..00000000000 --- a/discovery/mybusinessbusinesscalls-v1.json +++ /dev/null @@ -1,398 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://mybusinessbusinesscalls.googleapis.com/", - "batchPath": "batch", - "canonicalName": "My Business Business Calls", - "description": "The My Business Business Calls API manages business calls information of a location on Google and collect insights like the number of missed calls to their location. Additional information about Business calls can be found at https://support.google.com/business/answer/9688285?p=call_history. If the Google Business Profile links to a Google Ads account and call history is turned on, calls that last longer than a specific time, and that can be attributed to an ad interaction, will show in the linked Google Ads account under the \"Calls from Ads\" conversion. If smart bidding and call conversions are used in the optimization strategy, there could be a change in ad spend. Learn more about smart bidding. To view and perform actions on a location's calls, you need to be a `OWNER`, `CO_OWNER` or `MANAGER` of the location. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/my-business/", - "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": "mybusinessbusinesscalls:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://mybusinessbusinesscalls.mtls.googleapis.com/", - "name": "mybusinessbusinesscalls", - "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": { - "locations": { - "methods": { - "getBusinesscallssettings": { - "description": "Returns the Business calls settings resource for the given location.", - "flatPath": "v1/locations/{locationsId}/businesscallssettings", - "httpMethod": "GET", - "id": "mybusinessbusinesscalls.locations.getBusinesscallssettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The BusinessCallsSettings to get. The `name` field is used to identify the business call settings to get. Format: locations/{location_id}/businesscallssettings.", - "location": "path", - "pattern": "^locations/[^/]+/businesscallssettings$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "BusinessCallsSettings" - } - }, - "updateBusinesscallssettings": { - "description": "Updates the Business call settings for the specified location.", - "flatPath": "v1/locations/{locationsId}/businesscallssettings", - "httpMethod": "PATCH", - "id": "mybusinessbusinesscalls.locations.updateBusinesscallssettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the calls settings. Format: locations/{location}/businesscallssettings", - "location": "path", - "pattern": "^locations/[^/]+/businesscallssettings$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. The list of fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "BusinessCallsSettings" - }, - "response": { - "$ref": "BusinessCallsSettings" - } - } - }, - "resources": { - "businesscallsinsights": { - "methods": { - "list": { - "description": "Returns insights for Business calls for a location.", - "flatPath": "v1/locations/{locationsId}/businesscallsinsights", - "httpMethod": "GET", - "id": "mybusinessbusinesscalls.locations.businesscallsinsights.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. A filter constraining the calls insights to return. The response includes only entries that match the filter. If the MetricType is not provided, AGGREGATE_COUNT is returned. If no end_date is provided, the last date for which data is available is used. If no start_date is provided, we will default to the first date for which data is available, which is currently 6 months. If start_date is before the date when data is available, data is returned starting from the date when it is available. At this time we support following filters. 1. start_date=\"DATE\" where date is in YYYY-MM-DD format. 2. end_date=\"DATE\" where date is in YYYY-MM-DD format. 3. metric_type=XYZ where XYZ is a valid MetricType. 4. Conjunctions(AND) of all of the above. e.g., \"start_date=2021-08-01 AND end_date=2021-08-10 AND metric_type=AGGREGATE_COUNT\" The AGGREGATE_COUNT metric_type ignores the DD part of the date.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The maximum number of BusinessCallsInsights to return. If unspecified, at most 20 will be returned. Some of the metric_types(e.g, AGGREGATE_COUNT) returns a single page. For these metrics, the page_size is ignored.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous `ListBusinessCallsInsights` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBusinessCallsInsights` must match the call that provided the page token. Some of the metric_types (e.g, AGGREGATE_COUNT) returns a single page. For these metrics, the pake_token is ignored.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent location to fetch calls insights for. Format: locations/{location_id}", - "location": "path", - "pattern": "^locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/businesscallsinsights", - "response": { - "$ref": "ListBusinessCallsInsightsResponse" - } - } - } - } - } - } - }, - "revision": "20221213", - "rootUrl": "https://mybusinessbusinesscalls.googleapis.com/", - "schemas": { - "AggregateMetrics": { - "description": "Metrics aggregated over the input time range.", - "id": "AggregateMetrics", - "properties": { - "answeredCallsCount": { - "description": "Total count of answered calls.", - "format": "int32", - "type": "integer" - }, - "endDate": { - "$ref": "Date", - "description": "End date for this metric." - }, - "hourlyMetrics": { - "description": "A list of metrics by hour of day.", - "items": { - "$ref": "HourlyMetrics" - }, - "type": "array" - }, - "missedCallsCount": { - "description": "Total count of missed calls.", - "format": "int32", - "type": "integer" - }, - "startDate": { - "$ref": "Date", - "description": "Date for this metric. If metric is monthly, only year and month are used." - }, - "weekdayMetrics": { - "description": "A list of metrics by day of week.", - "items": { - "$ref": "WeekDayMetrics" - }, - "type": "array" - } - }, - "type": "object" - }, - "BusinessCallsInsights": { - "description": "Insights for calls made to a location.", - "id": "BusinessCallsInsights", - "properties": { - "aggregateMetrics": { - "$ref": "AggregateMetrics", - "description": "Metric for the time range based on start_date and end_date." - }, - "metricType": { - "description": "The metric for which the value applies.", - "enum": [ - "METRIC_TYPE_UNSPECIFIED", - "AGGREGATE_COUNT" - ], - "enumDescriptions": [ - "Type of metric is unspecified.", - "The metrics provided are counts aggregated over the input time_range." - ], - "type": "string" - }, - "name": { - "description": "Required. The resource name of the calls insights. Format: locations/{location}/businesscallsinsights", - "type": "string" - } - }, - "type": "object" - }, - "BusinessCallsSettings": { - "description": "Business calls settings for a location.", - "id": "BusinessCallsSettings", - "properties": { - "callsState": { - "description": "Required. The state of this location's enrollment in Business calls.", - "enum": [ - "CALLS_STATE_UNSPECIFIED", - "ENABLED", - "DISABLED" - ], - "enumDescriptions": [ - "Unspecified.", - "Business calls is enabled for the location.", - "Business calls is disabled for the location." - ], - "type": "string" - }, - "consentTime": { - "description": "Input only. Time when the end user provided consent to the API user to enable business calls.", - "format": "google-datetime", - "type": "string" - }, - "name": { - "description": "Required. The resource name of the calls settings. Format: locations/{location}/businesscallssettings", - "type": "string" - } - }, - "type": "object" - }, - "Date": { - "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", - "id": "Date", - "properties": { - "day": { - "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", - "format": "int32", - "type": "integer" - }, - "month": { - "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", - "format": "int32", - "type": "integer" - }, - "year": { - "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "HourlyMetrics": { - "description": "Metrics for an hour.", - "id": "HourlyMetrics", - "properties": { - "hour": { - "description": "Hour of the day. Allowed values are 0-23.", - "format": "int32", - "type": "integer" - }, - "missedCallsCount": { - "description": "Total count of missed calls for this hour.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ListBusinessCallsInsightsResponse": { - "description": "Response message for ListBusinessCallsInsights.", - "id": "ListBusinessCallsInsightsResponse", - "properties": { - "businessCallsInsights": { - "description": "A collection of business calls insights for the location.", - "items": { - "$ref": "BusinessCallsInsights" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. Some of the metric_types (e.g, AGGREGATE_COUNT) returns a single page. For these metrics, the next_page_token will be empty.", - "type": "string" - } - }, - "type": "object" - }, - "WeekDayMetrics": { - "description": "Metrics for a week day.", - "id": "WeekDayMetrics", - "properties": { - "day": { - "description": "Day of the week. Allowed values are Sunday - Saturday.", - "enum": [ - "DAY_OF_WEEK_UNSPECIFIED", - "MONDAY", - "TUESDAY", - "WEDNESDAY", - "THURSDAY", - "FRIDAY", - "SATURDAY", - "SUNDAY" - ], - "enumDescriptions": [ - "The day of the week is unspecified.", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "missedCallsCount": { - "description": "Total count of missed calls for this hour.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "My Business Business Calls API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/mybusinessnotifications-v1.json b/discovery/mybusinessnotifications-v1.json index 461acedd3f4..3efa6ae6f9f 100644 --- a/discovery/mybusinessnotifications-v1.json +++ b/discovery/mybusinessnotifications-v1.json @@ -154,7 +154,7 @@ } } }, - "revision": "20230705", + "revision": "20230702", "rootUrl": "https://mybusinessnotifications.googleapis.com/", "schemas": { "NotificationSetting": { diff --git a/discovery/mybusinessplaceactions-v1.json b/discovery/mybusinessplaceactions-v1.json index 3793dbf34b2..4987bf8a397 100644 --- a/discovery/mybusinessplaceactions-v1.json +++ b/discovery/mybusinessplaceactions-v1.json @@ -281,7 +281,7 @@ } } }, - "revision": "20221213", + "revision": "20221124", "rootUrl": "https://mybusinessplaceactions.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/mybusinessqanda-v1.json b/discovery/mybusinessqanda-v1.json index c54be2577ec..2186b9d9e5b 100644 --- a/discovery/mybusinessqanda-v1.json +++ b/discovery/mybusinessqanda-v1.json @@ -323,7 +323,7 @@ } } }, - "revision": "20221213", + "revision": "20221124", "rootUrl": "https://mybusinessqanda.googleapis.com/", "schemas": { "Answer": { diff --git a/discovery/networkconnectivity-v1.json b/discovery/networkconnectivity-v1.json index 9508569250d..3a78bb970e0 100644 --- a/discovery/networkconnectivity-v1.json +++ b/discovery/networkconnectivity-v1.json @@ -2925,7 +2925,7 @@ } } }, - "revision": "20250414", + "revision": "20250502", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AcceptHubSpokeRequest": { @@ -2973,6 +2973,36 @@ }, "type": "object" }, + "AllocationOptions": { + "description": "Range auto-allocation options, to be optionally used when CIDR block is not explicitly set.", + "id": "AllocationOptions", + "properties": { + "allocationStrategy": { + "description": "Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.", + "enum": [ + "ALLOCATION_STRATEGY_UNSPECIFIED", + "RANDOM", + "FIRST_AVAILABLE", + "RANDOM_FIRST_N_AVAILABLE", + "FIRST_SMALLEST_FITTING" + ], + "enumDescriptions": [ + "Unspecified strategy must be used when the range is specified explicitly using ip_cidr_range field. Othherwise unspefified means using the default strategy.", + "Random strategy, the legacy algorithm, used for backwards compatibility. This allocation strategy remains efficient in the case of concurrent allocation requests in the same peered network space and doesn't require providing the level of concurrency in an explicit parameter, but it is prone to fragmenting available address space.", + "Pick the first available address range. This strategy is deterministic and the result is easy to predict.", + "Pick an arbitrary range out of the first N available ones. The N will be set in the first_available_ranges_lookup_size field. This strategy should be used when concurrent allocation requests are made in the same space of peered networks while the fragmentation of the addrress space is reduced.", + "Pick the smallest but fitting available range. This deterministic strategy minimizes fragmentation of the address space." + ], + "type": "string" + }, + "firstAvailableRangesLookupSize": { + "description": "Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "AuditConfig": { "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", "id": "AuditConfig", @@ -3646,6 +3676,10 @@ "description": "The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.", "id": "InternalRange", "properties": { + "allocationOptions": { + "$ref": "AllocationOptions", + "description": "Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length)." + }, "createTime": { "description": "Time when the internal range was created.", "format": "google-datetime", @@ -4411,6 +4445,21 @@ }, "type": "object" }, + "NextHopSpoke": { + "description": "A route next hop that leads to a spoke resource.", + "id": "NextHopSpoke", + "properties": { + "siteToSiteDataTransfer": { + "description": "Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). Whether this route is accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false, the route is only accessible to VPC spokes of the connected Hub.", + "type": "boolean" + }, + "uri": { + "description": "The URI of the spoke resource.", + "type": "string" + } + }, + "type": "object" + }, "NextHopVPNTunnel": { "description": "A route next hop that leads to a VPN tunnel resource.", "id": "NextHopVPNTunnel", @@ -5007,6 +5056,10 @@ "$ref": "NextHopRouterApplianceInstance", "description": "Immutable. The next-hop Router appliance instance for packets on this route." }, + "nextHopSpoke": { + "$ref": "NextHopSpoke", + "description": "Immutable. The next-hop spoke for packets on this route." + }, "nextHopVpcNetwork": { "$ref": "NextHopVpcNetwork", "description": "Immutable. The destination VPC network for packets on this route." diff --git a/discovery/networkconnectivity-v1alpha1.json b/discovery/networkconnectivity-v1alpha1.json index f757487b4b9..1bc66a9fb82 100644 --- a/discovery/networkconnectivity-v1alpha1.json +++ b/discovery/networkconnectivity-v1alpha1.json @@ -1122,7 +1122,7 @@ } } }, - "revision": "20250414", + "revision": "20250502", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AllocationOptions": { @@ -1130,7 +1130,7 @@ "id": "AllocationOptions", "properties": { "allocationStrategy": { - "description": "Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.", + "description": "Optional. Allocation strategy. Not setting this field when the allocation is requested means an implementation defined strategy is used.", "enum": [ "ALLOCATION_STRATEGY_UNSPECIFIED", "RANDOM", diff --git a/discovery/networksecurity-v1.json b/discovery/networksecurity-v1.json index 4b21bbe997e..840d7257780 100644 --- a/discovery/networksecurity-v1.json +++ b/discovery/networksecurity-v1.json @@ -4908,7 +4908,7 @@ } } }, - "revision": "20250416", + "revision": "20250428", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AddAddressGroupItemsRequest": { @@ -5225,7 +5225,7 @@ "id": "AuthzPolicyAuthzRuleFromRequestSource", "properties": { "principals": { - "description": "Optional. A list of identities derived from the client's certificate. This field will not match on a request unless mutual TLS is enabled for the forwarding rule or Gateway. For Application Load Balancers, each identity is a string whose value is matched against the URI SAN, or DNS SAN, or SPIFFE ID, or the subject field in the client's certificate. For Cloud Service Mesh, each identity is a string whose value is matched against the URI SAN, or DNS SAN, or the subject field in the client's certificate. The match can be exact, prefix, suffix, or a substring match. One of exact, prefix, suffix, or contains must be specified. Limited to 5 principals.", + "description": "Optional. A list of identities derived from the client's certificate. This field is under development and we don't recommend using it at this time. Limited to 5 principals.", "items": { "$ref": "AuthzPolicyAuthzRuleStringMatch" }, diff --git a/discovery/networksecurity-v1beta1.json b/discovery/networksecurity-v1beta1.json index 3e821b71750..f2a974d4467 100644 --- a/discovery/networksecurity-v1beta1.json +++ b/discovery/networksecurity-v1beta1.json @@ -5070,7 +5070,7 @@ } } }, - "revision": "20250416", + "revision": "20250428", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AddAddressGroupItemsRequest": { @@ -5387,7 +5387,7 @@ "id": "AuthzPolicyAuthzRuleFromRequestSource", "properties": { "principals": { - "description": "Optional. A list of identities derived from the client's certificate. This field will not match on a request unless mutual TLS is enabled for the forwarding rule or Gateway. For Application Load Balancers, each identity is a string whose value is matched against the URI SAN, or DNS SAN, or SPIFFE ID, or the subject field in the client's certificate. For Cloud Service Mesh, each identity is a string whose value is matched against the URI SAN, or DNS SAN, or the subject field in the client's certificate. The match can be exact, prefix, suffix, or a substring match. One of exact, prefix, suffix, or contains must be specified. Limited to 5 principals.", + "description": "Optional. A list of identities derived from the client's certificate. This field is under development and we don't recommend using it at this time. Limited to 5 principals.", "items": { "$ref": "AuthzPolicyAuthzRuleStringMatch" }, diff --git a/discovery/notebooks-v1.json b/discovery/notebooks-v1.json index 2003a14f177..36a9f4454a9 100644 --- a/discovery/notebooks-v1.json +++ b/discovery/notebooks-v1.json @@ -143,6 +143,12 @@ "name" ], "parameters": { + "extraLocationTypes": { + "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", + "location": "query", + "repeated": true, + "type": "string" + }, "filter": { "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", "location": "query", @@ -2008,7 +2014,7 @@ } } }, - "revision": "20241204", + "revision": "20250430", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { diff --git a/discovery/notebooks-v2.json b/discovery/notebooks-v2.json index 4ac42a5a0ab..a5ef13d52a2 100644 --- a/discovery/notebooks-v2.json +++ b/discovery/notebooks-v2.json @@ -143,6 +143,12 @@ "name" ], "parameters": { + "extraLocationTypes": { + "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", + "location": "query", + "repeated": true, + "type": "string" + }, "filter": { "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", "location": "query", @@ -904,7 +910,7 @@ } } }, - "revision": "20250319", + "revision": "20250507", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1071,21 +1077,13 @@ "description": "Optional. Defines the type of technology used by the confidential instance.", "enum": [ "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", - "SEV", - "SEV_SNP", - "TDX" + "SEV" ], "enumDescriptions": [ "No type specified. Do not use this value.", - "AMD Secure Encrypted Virtualization.", - "AMD Secure Encrypted Virtualization - Secure Nested Paging.", - "Intel Trust Domain eXtension." + "AMD Secure Encrypted Virtualization." ], "type": "string" - }, - "enableConfidentialCompute": { - "description": "Optional. Defines whether the instance should have confidential compute enabled.", - "type": "boolean" } }, "type": "object" @@ -1385,6 +1383,10 @@ }, "type": "array" }, + "reservationAffinity": { + "$ref": "ReservationAffinity", + "description": "Optional. Specifies the reservations that this instance can consume from." + }, "serviceAccounts": { "description": "Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.", "items": { @@ -1446,6 +1448,10 @@ "description": "Optional. If true, the notebook instance will not register with the proxy.", "type": "boolean" }, + "enableDeletionProtection": { + "description": "Optional. If true, deletion protection will be enabled for this Workbench Instance. If false, deletion protection will be disabled for this Workbench Instance.", + "type": "boolean" + }, "enableThirdPartyIdentity": { "description": "Optional. Flag that specifies that a notebook can be accessed with third party identity provider.", "type": "boolean" @@ -1487,7 +1493,7 @@ "type": "string" }, "instanceOwners": { - "description": "Optional. Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.", + "description": "Optional. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.", "items": { "type": "string" }, @@ -1819,6 +1825,40 @@ }, "type": "object" }, + "ReservationAffinity": { + "description": "A reservation that an instance can consume from.", + "id": "ReservationAffinity", + "properties": { + "consumeReservationType": { + "description": "Required. Specifies the type of reservation from which this instance can consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances for examples.", + "enum": [ + "RESERVATION_UNSPECIFIED", + "RESERVATION_NONE", + "RESERVATION_ANY", + "RESERVATION_SPECIFIC" + ], + "enumDescriptions": [ + "Default type.", + "Do not consume from any allocated capacity.", + "Consume any reservation available.", + "Must consume from a specific reservation. Must specify key value fields for specifying the reservations." + ], + "type": "string" + }, + "key": { + "description": "Optional. Corresponds to the label key of a reservation resource. To target a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value.", + "type": "string" + }, + "values": { + "description": "Optional. Corresponds to the label values of a reservation resource. This can be either a name to a reservation in the same project or \"projects/different-project/reservations/some-reservation-name\" to target a shared reservation in the same zone but in a different project.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ResetInstanceRequest": { "description": "Request for resetting a notebook instance", "id": "ResetInstanceRequest", @@ -1902,7 +1942,7 @@ "id": "ShieldedInstanceConfig", "properties": { "enableIntegrityMonitoring": { - "description": "Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created. Enabled by default.", + "description": "Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created.", "type": "boolean" }, "enableSecureBoot": { @@ -1910,7 +1950,7 @@ "type": "boolean" }, "enableVtpm": { - "description": "Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default.", + "description": "Optional. Defines whether the VM instance has the vTPM enabled.", "type": "boolean" } }, diff --git a/discovery/ondemandscanning-v1.json b/discovery/ondemandscanning-v1.json index 0ed8e41e2d9..e9d5dc92719 100644 --- a/discovery/ondemandscanning-v1.json +++ b/discovery/ondemandscanning-v1.json @@ -339,7 +339,7 @@ } } }, - "revision": "20250321", + "revision": "20250505", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1307,6 +1307,10 @@ }, "type": "array" }, + "chainId": { + "description": "The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid", + "type": "string" + }, "command": { "description": "The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.", "type": "string" @@ -1647,6 +1651,10 @@ }, "type": "array" }, + "chainId": { + "description": "The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid", + "type": "string" + }, "command": { "description": "The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.", "type": "string" @@ -1870,7 +1878,8 @@ "COMPLIANCE", "DSSE_ATTESTATION", "VULNERABILITY_ASSESSMENT", - "SBOM_REFERENCE" + "SBOM_REFERENCE", + "SECRET" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -1885,7 +1894,8 @@ "This represents a Compliance Note", "This represents a DSSE attestation Note", "This represents a Vulnerability Assessment.", - "This represents an SBOM Reference." + "This represents an SBOM Reference.", + "This represents a secret." ], "type": "string" }, @@ -1913,6 +1923,10 @@ "$ref": "SBOMReferenceOccurrence", "description": "Describes a specific SBOM reference occurrences." }, + "secret": { + "$ref": "SecretOccurrence", + "description": "Describes a secret." + }, "updateTime": { "description": "Output only. The time this occurrence was last updated.", "format": "google-datetime", @@ -2056,7 +2070,7 @@ "NPM packages.", "Nuget (C#/.NET) packages.", "Ruby packges (from RubyGems package manager).", - "Rust packages from Cargo (Github ecosystem is `RUST`).", + "Rust packages from Cargo (GitHub ecosystem is `RUST`).", "PHP packages from Composer package manager.", "Swift packages from Swift Package Manager (SwiftPM)." ], @@ -2516,6 +2530,84 @@ }, "type": "object" }, + "SecretLocation": { + "description": "The location of the secret.", + "id": "SecretLocation", + "properties": { + "fileLocation": { + "$ref": "GrafeasV1FileLocation", + "description": "The secret is found from a file." + } + }, + "type": "object" + }, + "SecretOccurrence": { + "description": "The occurrence provides details of a secret.", + "id": "SecretOccurrence", + "properties": { + "kind": { + "description": "Required. Type of secret.", + "enum": [ + "SECRET_KIND_UNSPECIFIED", + "SECRET_KIND_UNKNOWN", + "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY" + ], + "enumDescriptions": [ + "Unspecified", + "The secret kind is unknown.", + "A GCP service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys" + ], + "type": "string" + }, + "locations": { + "description": "Optional. Locations where the secret is detected.", + "items": { + "$ref": "SecretLocation" + }, + "type": "array" + }, + "statuses": { + "description": "Optional. Status of the secret.", + "items": { + "$ref": "SecretStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "SecretStatus": { + "description": "The status of the secret with a timestamp.", + "id": "SecretStatus", + "properties": { + "message": { + "description": "Optional. Optional message about the status code.", + "type": "string" + }, + "status": { + "description": "Optional. The status of the secret.", + "enum": [ + "STATUS_UNSPECIFIED", + "UNKNOWN", + "VALID", + "INVALID" + ], + "enumDescriptions": [ + "Unspecified", + "The status of the secret is unknown.", + "The secret is valid.", + "The secret is invalid." + ], + "type": "string" + }, + "updateTime": { + "description": "Optional. The time the secret status was last updated.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "Signature": { "description": "Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be \"attached\" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any \"attached\" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).", "id": "Signature", diff --git a/discovery/ondemandscanning-v1beta1.json b/discovery/ondemandscanning-v1beta1.json index 7ab008c1eb4..504bada0fcb 100644 --- a/discovery/ondemandscanning-v1beta1.json +++ b/discovery/ondemandscanning-v1beta1.json @@ -339,7 +339,7 @@ } } }, - "revision": "20250321", + "revision": "20250505", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1302,6 +1302,10 @@ }, "type": "array" }, + "chainId": { + "description": "The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid", + "type": "string" + }, "command": { "description": "The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.", "type": "string" @@ -1642,6 +1646,10 @@ }, "type": "array" }, + "chainId": { + "description": "The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid", + "type": "string" + }, "command": { "description": "The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.", "type": "string" @@ -1865,7 +1873,8 @@ "COMPLIANCE", "DSSE_ATTESTATION", "VULNERABILITY_ASSESSMENT", - "SBOM_REFERENCE" + "SBOM_REFERENCE", + "SECRET" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -1880,7 +1889,8 @@ "This represents a Compliance Note", "This represents a DSSE attestation Note", "This represents a Vulnerability Assessment.", - "This represents an SBOM Reference." + "This represents an SBOM Reference.", + "This represents a secret." ], "type": "string" }, @@ -1908,6 +1918,10 @@ "$ref": "SBOMReferenceOccurrence", "description": "Describes a specific SBOM reference occurrences." }, + "secret": { + "$ref": "SecretOccurrence", + "description": "Describes a secret." + }, "updateTime": { "description": "Output only. The time this occurrence was last updated.", "format": "google-datetime", @@ -2051,7 +2065,7 @@ "NPM packages.", "Nuget (C#/.NET) packages.", "Ruby packges (from RubyGems package manager).", - "Rust packages from Cargo (Github ecosystem is `RUST`).", + "Rust packages from Cargo (GitHub ecosystem is `RUST`).", "PHP packages from Composer package manager.", "Swift packages from Swift Package Manager (SwiftPM)." ], @@ -2511,6 +2525,84 @@ }, "type": "object" }, + "SecretLocation": { + "description": "The location of the secret.", + "id": "SecretLocation", + "properties": { + "fileLocation": { + "$ref": "GrafeasV1FileLocation", + "description": "The secret is found from a file." + } + }, + "type": "object" + }, + "SecretOccurrence": { + "description": "The occurrence provides details of a secret.", + "id": "SecretOccurrence", + "properties": { + "kind": { + "description": "Required. Type of secret.", + "enum": [ + "SECRET_KIND_UNSPECIFIED", + "SECRET_KIND_UNKNOWN", + "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY" + ], + "enumDescriptions": [ + "Unspecified", + "The secret kind is unknown.", + "A GCP service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys" + ], + "type": "string" + }, + "locations": { + "description": "Optional. Locations where the secret is detected.", + "items": { + "$ref": "SecretLocation" + }, + "type": "array" + }, + "statuses": { + "description": "Optional. Status of the secret.", + "items": { + "$ref": "SecretStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "SecretStatus": { + "description": "The status of the secret with a timestamp.", + "id": "SecretStatus", + "properties": { + "message": { + "description": "Optional. Optional message about the status code.", + "type": "string" + }, + "status": { + "description": "Optional. The status of the secret.", + "enum": [ + "STATUS_UNSPECIFIED", + "UNKNOWN", + "VALID", + "INVALID" + ], + "enumDescriptions": [ + "Unspecified", + "The status of the secret is unknown.", + "The secret is valid.", + "The secret is invalid." + ], + "type": "string" + }, + "updateTime": { + "description": "Optional. The time the secret status was last updated.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "Signature": { "description": "Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be \"attached\" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any \"attached\" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).", "id": "Signature", diff --git a/discovery/oracledatabase-v1.json b/discovery/oracledatabase-v1.json index c978220e5cf..a497a9d8834 100644 --- a/discovery/oracledatabase-v1.json +++ b/discovery/oracledatabase-v1.json @@ -970,7 +970,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}.", + "description": "Required. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. .", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+$", "required": true, @@ -1080,6 +1080,11 @@ "parent" ], "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request. Only the shape and gi_version fields are supported in this format: `shape=\"{shape}\"`.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle Grid Infrastructure (GI) versions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000.", "format": "int32", @@ -1237,7 +1242,7 @@ } } }, - "revision": "20250428", + "revision": "20250509", "rootUrl": "https://oracledatabase.googleapis.com/", "schemas": { "AllConnectionStrings": { @@ -1271,7 +1276,7 @@ "type": "string" }, "cidr": { - "description": "Optional. The subnet CIDR range for the Autonmous Database.", + "description": "Optional. The subnet CIDR range for the Autonomous Database.", "type": "string" }, "createTime": { @@ -3897,7 +3902,7 @@ "type": "object" }, "SourceConfig": { - "description": "The source configuration for the standby Autonomnous Database.", + "description": "The source configuration for the standby Autonomous Database.", "id": "SourceConfig", "properties": { "automaticBackupsReplicationEnabled": { diff --git a/discovery/osconfig-v1.json b/discovery/osconfig-v1.json index 741a5ea8e65..97125259e8f 100644 --- a/discovery/osconfig-v1.json +++ b/discovery/osconfig-v1.json @@ -1083,7 +1083,7 @@ } } }, - "revision": "20250323", + "revision": "20250511", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptSettings": { @@ -2055,6 +2055,13 @@ }, "type": "object" }, + "MessageSet": { + "deprecated": true, + "description": "This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a \"bridge\" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments.", + "id": "MessageSet", + "properties": {}, + "type": "object" + }, "MonthlySchedule": { "description": "Represents a monthly schedule. An example of a valid monthly schedule is \"on the third Tuesday of the month\" or \"on the 15th of the month\".", "id": "MonthlySchedule", @@ -3583,6 +3590,35 @@ }, "type": "object" }, + "StatusProto": { + "description": "Wire-format for a Status object", + "id": "StatusProto", + "properties": { + "canonicalCode": { + "description": "copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;", + "format": "int32", + "type": "integer" + }, + "code": { + "description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;", + "format": "int32", + "type": "integer" + }, + "message": { + "description": "Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;", + "type": "string" + }, + "messageSet": { + "$ref": "MessageSet", + "description": "message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;" + }, + "space": { + "description": "copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs", + "type": "string" + } + }, + "type": "object" + }, "TimeOfDay": { "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", "id": "TimeOfDay", diff --git a/discovery/osconfig-v1alpha.json b/discovery/osconfig-v1alpha.json index d7451d5a528..036bc01f93c 100644 --- a/discovery/osconfig-v1alpha.json +++ b/discovery/osconfig-v1alpha.json @@ -707,7 +707,7 @@ } } }, - "revision": "20250323", + "revision": "20250511", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CVSSv3": { @@ -1596,6 +1596,13 @@ }, "type": "object" }, + "MessageSet": { + "deprecated": true, + "description": "This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a \"bridge\" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments.", + "id": "MessageSet", + "properties": {}, + "type": "object" + }, "OSPolicy": { "description": "An OS policy defines the desired state configuration for a VM.", "id": "OSPolicy", @@ -2680,6 +2687,35 @@ }, "type": "object" }, + "StatusProto": { + "description": "Wire-format for a Status object", + "id": "StatusProto", + "properties": { + "canonicalCode": { + "description": "copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;", + "format": "int32", + "type": "integer" + }, + "code": { + "description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;", + "format": "int32", + "type": "integer" + }, + "message": { + "description": "Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;", + "type": "string" + }, + "messageSet": { + "$ref": "MessageSet", + "description": "message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;" + }, + "space": { + "description": "copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs", + "type": "string" + } + }, + "type": "object" + }, "VulnerabilityReport": { "description": "This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time. For more information, see [Vulnerability reports](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports).", "id": "VulnerabilityReport", diff --git a/discovery/osconfig-v1beta.json b/discovery/osconfig-v1beta.json index 7cad5c879ba..91e74eadf8b 100644 --- a/discovery/osconfig-v1beta.json +++ b/discovery/osconfig-v1beta.json @@ -689,7 +689,7 @@ } } }, - "revision": "20250323", + "revision": "20250511", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptRepository": { @@ -1365,6 +1365,13 @@ }, "type": "object" }, + "MessageSet": { + "deprecated": true, + "description": "This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a \"bridge\" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments.", + "id": "MessageSet", + "properties": {}, + "type": "object" + }, "MonthlySchedule": { "description": "Represents a monthly schedule. An example of a valid monthly schedule is \"on the third Tuesday of the month\" or \"on the 15th of the month\".", "id": "MonthlySchedule", @@ -2351,6 +2358,35 @@ }, "type": "object" }, + "StatusProto": { + "description": "Wire-format for a Status object", + "id": "StatusProto", + "properties": { + "canonicalCode": { + "description": "copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;", + "format": "int32", + "type": "integer" + }, + "code": { + "description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;", + "format": "int32", + "type": "integer" + }, + "message": { + "description": "Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;", + "type": "string" + }, + "messageSet": { + "$ref": "MessageSet", + "description": "message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;" + }, + "space": { + "description": "copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs", + "type": "string" + } + }, + "type": "object" + }, "TimeOfDay": { "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", "id": "TimeOfDay", diff --git a/discovery/osconfig-v2.json b/discovery/osconfig-v2.json index c41e746db0b..6dfe0c64c9a 100644 --- a/discovery/osconfig-v2.json +++ b/discovery/osconfig-v2.json @@ -274,7 +274,7 @@ "type": "string" }, "updateMask": { - "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", + "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -591,7 +591,7 @@ "type": "string" }, "updateMask": { - "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", + "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -908,7 +908,7 @@ "type": "string" }, "updateMask": { - "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", + "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1057,7 +1057,7 @@ } } }, - "revision": "20250323", + "revision": "20250511", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1504,6 +1504,13 @@ }, "type": "object" }, + "MessageSet": { + "deprecated": true, + "description": "This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a \"bridge\" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments.", + "id": "MessageSet", + "properties": {}, + "type": "object" + }, "OSPolicy": { "description": "An OS policy defines the desired state configuration for a VM.", "id": "OSPolicy", @@ -2309,6 +2316,35 @@ } }, "type": "object" + }, + "StatusProto": { + "description": "Wire-format for a Status object", + "id": "StatusProto", + "properties": { + "canonicalCode": { + "description": "copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;", + "format": "int32", + "type": "integer" + }, + "code": { + "description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;", + "format": "int32", + "type": "integer" + }, + "message": { + "description": "Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;", + "type": "string" + }, + "messageSet": { + "$ref": "MessageSet", + "description": "message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;" + }, + "space": { + "description": "copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs", + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/osconfig-v2beta.json b/discovery/osconfig-v2beta.json index a2a8bce880b..671f91e27ce 100644 --- a/discovery/osconfig-v2beta.json +++ b/discovery/osconfig-v2beta.json @@ -274,7 +274,7 @@ "type": "string" }, "updateMask": { - "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", + "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -591,7 +591,7 @@ "type": "string" }, "updateMask": { - "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", + "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -908,7 +908,7 @@ "type": "string" }, "updateMask": { - "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", + "description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1057,7 +1057,7 @@ } } }, - "revision": "20250323", + "revision": "20250511", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1504,6 +1504,13 @@ }, "type": "object" }, + "MessageSet": { + "deprecated": true, + "description": "This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a \"bridge\" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments.", + "id": "MessageSet", + "properties": {}, + "type": "object" + }, "OSPolicy": { "description": "An OS policy defines the desired state configuration for a VM.", "id": "OSPolicy", @@ -2309,6 +2316,35 @@ } }, "type": "object" + }, + "StatusProto": { + "description": "Wire-format for a Status object", + "id": "StatusProto", + "properties": { + "canonicalCode": { + "description": "copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;", + "format": "int32", + "type": "integer" + }, + "code": { + "description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;", + "format": "int32", + "type": "integer" + }, + "message": { + "description": "Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;", + "type": "string" + }, + "messageSet": { + "$ref": "MessageSet", + "description": "message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;" + }, + "space": { + "description": "copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs", + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/oslogin-v1alpha.json b/discovery/oslogin-v1alpha.json index e427be64757..55ea9474ba9 100644 --- a/discovery/oslogin-v1alpha.json +++ b/discovery/oslogin-v1alpha.json @@ -542,7 +542,7 @@ } } }, - "revision": "20250406", + "revision": "20250504", "rootUrl": "https://oslogin.googleapis.com/", "schemas": { "Empty": { @@ -556,7 +556,7 @@ "id": "GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest", "properties": { "appEngineInstance": { - "description": "The App Engine instance to sign the SSH public key for. Expected format: services/{service}/versions/{version}/instances/{instance}", + "description": "The App Engine instance to sign the SSH public key for. Expected format: apps/{app}/services/{service}/versions/{version}/instances/{instance}", "type": "string" }, "computeInstance": { diff --git a/discovery/oslogin-v1beta.json b/discovery/oslogin-v1beta.json index 6a9d33f1994..9e66cbb0d92 100644 --- a/discovery/oslogin-v1beta.json +++ b/discovery/oslogin-v1beta.json @@ -512,7 +512,7 @@ } } }, - "revision": "20250406", + "revision": "20250504", "rootUrl": "https://oslogin.googleapis.com/", "schemas": { "Empty": { @@ -526,7 +526,7 @@ "id": "GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyRequest", "properties": { "appEngineInstance": { - "description": "The App Engine instance to sign the SSH public key for. Expected format: services/{service}/versions/{version}/instances/{instance}", + "description": "The App Engine instance to sign the SSH public key for. Expected format: apps/{app}/services/{service}/versions/{version}/instances/{instance}", "type": "string" }, "computeInstance": { diff --git a/discovery/pagespeedonline-v2.json b/discovery/pagespeedonline-v2.json deleted file mode 100644 index 48286215eb4..00000000000 --- a/discovery/pagespeedonline-v2.json +++ /dev/null @@ -1,494 +0,0 @@ -{ - "basePath": "/pagespeedonline/v2/", - "baseUrl": "https://www.googleapis.com/pagespeedonline/v2/", - "batchPath": "batch/pagespeedonline/v2", - "description": "Analyzes the performance of a web page and provides tailored suggestions to make that page faster.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/speed/docs/insights/v2/getting-started", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/ce_5IontW4X-sI_yeDqAZlRCXbY\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/pagespeed-16.png", - "x32": "https://www.google.com/images/icons/product/pagespeed-32.png" - }, - "id": "pagespeedonline:v2", - "kind": "discovery#restDescription", - "name": "pagespeedonline", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "pagespeedapi": { - "methods": { - "runpagespeed": { - "description": "Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.", - "httpMethod": "GET", - "id": "pagespeedonline.pagespeedapi.runpagespeed", - "parameterOrder": [ - "url" - ], - "parameters": { - "filter_third_party_resources": { - "default": "false", - "description": "Indicates if third party resources should be filtered out before PageSpeed analysis.", - "location": "query", - "type": "boolean" - }, - "locale": { - "description": "The locale used to localize formatted results", - "location": "query", - "pattern": "[a-zA-Z]+(_[a-zA-Z]+)?", - "type": "string" - }, - "rule": { - "description": "A PageSpeed rule to run; if none are given, all rules are run", - "location": "query", - "pattern": "[a-zA-Z]+", - "repeated": true, - "type": "string" - }, - "screenshot": { - "default": "false", - "description": "Indicates if binary data containing a screenshot should be included", - "location": "query", - "type": "boolean" - }, - "strategy": { - "description": "The analysis strategy to use", - "enum": [ - "desktop", - "mobile" - ], - "enumDescriptions": [ - "Fetch and analyze the URL for desktop browsers", - "Fetch and analyze the URL for mobile devices" - ], - "location": "query", - "type": "string" - }, - "url": { - "description": "The URL to fetch and analyze", - "location": "query", - "pattern": "(?i)http(s)?://.*", - "required": true, - "type": "string" - } - }, - "path": "runPagespeed", - "response": { - "$ref": "Result" - } - } - } - } - }, - "revision": "20191206", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "PagespeedApiFormatStringV2": { - "id": "PagespeedApiFormatStringV2", - "properties": { - "args": { - "description": "List of arguments for the format string.", - "items": { - "properties": { - "key": { - "description": "The placeholder key for this arg, as a string.", - "type": "string" - }, - "rects": { - "description": "The screen rectangles being referred to, with dimensions measured in CSS pixels. This is only ever used for SNAPSHOT_RECT arguments. If this is absent for a SNAPSHOT_RECT argument, it means that that argument refers to the entire snapshot.", - "items": { - "properties": { - "height": { - "description": "The height of the rect.", - "format": "int32", - "type": "integer" - }, - "left": { - "description": "The left coordinate of the rect, in page coordinates.", - "format": "int32", - "type": "integer" - }, - "top": { - "description": "The top coordinate of the rect, in page coordinates.", - "format": "int32", - "type": "integer" - }, - "width": { - "description": "The width of the rect.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "secondary_rects": { - "description": "Secondary screen rectangles being referred to, with dimensions measured in CSS pixels. This is only ever used for SNAPSHOT_RECT arguments.", - "items": { - "properties": { - "height": { - "description": "The height of the rect.", - "format": "int32", - "type": "integer" - }, - "left": { - "description": "The left coordinate of the rect, in page coordinates.", - "format": "int32", - "type": "integer" - }, - "top": { - "description": "The top coordinate of the rect, in page coordinates.", - "format": "int32", - "type": "integer" - }, - "width": { - "description": "The width of the rect.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "description": "Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, DURATION, VERBATIM_STRING, PERCENTAGE, HYPERLINK, or SNAPSHOT_RECT.", - "type": "string" - }, - "value": { - "description": "Argument value, as a localized string.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "format": { - "description": "A localized format string with {{FOO}} placeholders, where 'FOO' is the key of the argument whose value should be substituted. For HYPERLINK arguments, the format string will instead contain {{BEGIN_FOO}} and {{END_FOO}} for the argument with key 'FOO'.", - "type": "string" - } - }, - "type": "object" - }, - "PagespeedApiImageV2": { - "id": "PagespeedApiImageV2", - "properties": { - "data": { - "description": "Image data base64 encoded.", - "format": "byte", - "type": "string" - }, - "height": { - "description": "Height of screenshot in pixels.", - "format": "int32", - "type": "integer" - }, - "key": { - "description": "Unique string key, if any, identifying this image.", - "type": "string" - }, - "mime_type": { - "description": "Mime type of image data (e.g. \"image/jpeg\").", - "type": "string" - }, - "page_rect": { - "description": "The region of the page that is captured by this image, with dimensions measured in CSS pixels.", - "properties": { - "height": { - "description": "The height of the rect.", - "format": "int32", - "type": "integer" - }, - "left": { - "description": "The left coordinate of the rect, in page coordinates.", - "format": "int32", - "type": "integer" - }, - "top": { - "description": "The top coordinate of the rect, in page coordinates.", - "format": "int32", - "type": "integer" - }, - "width": { - "description": "The width of the rect.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "width": { - "description": "Width of screenshot in pixels.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Result": { - "id": "Result", - "properties": { - "captchaResult": { - "description": "The captcha verify result", - "type": "string" - }, - "formattedResults": { - "description": "Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed rule instantiated and run by the server.", - "properties": { - "locale": { - "description": "The locale of the formattedResults, e.g. \"en_US\".", - "type": "string" - }, - "ruleResults": { - "additionalProperties": { - "description": "The enum-like identifier for this rule. For instance \"EnableKeepAlive\" or \"AvoidCssImport\". Not localized.", - "properties": { - "groups": { - "description": "List of rule groups that this rule belongs to. Each entry in the list is one of \"SPEED\" or \"USABILITY\".", - "items": { - "type": "string" - }, - "type": "array" - }, - "localizedRuleName": { - "description": "Localized name of the rule, intended for presentation to a user.", - "type": "string" - }, - "ruleImpact": { - "description": "The impact (unbounded floating point value) that implementing the suggestions for this rule would have on making the page faster. Impact is comparable between rules to determine which rule's suggestions would have a higher or lower impact on making a page faster. For instance, if enabling compression would save 1MB, while optimizing images would save 500kB, the enable compression rule would have 2x the impact of the image optimization rule, all other things being equal.", - "format": "double", - "type": "number" - }, - "summary": { - "$ref": "PagespeedApiFormatStringV2", - "description": "A brief summary description for the rule, indicating at a high level what should be done to follow the rule and what benefit can be gained by doing so." - }, - "urlBlocks": { - "description": "List of blocks of URLs. Each block may contain a heading and a list of URLs. Each URL may optionally include additional details.", - "items": { - "properties": { - "header": { - "$ref": "PagespeedApiFormatStringV2", - "description": "Heading to be displayed with the list of URLs." - }, - "urls": { - "description": "List of entries that provide information about URLs in the url block. Optional.", - "items": { - "properties": { - "details": { - "description": "List of entries that provide additional details about a single URL. Optional.", - "items": { - "$ref": "PagespeedApiFormatStringV2" - }, - "type": "array" - }, - "result": { - "$ref": "PagespeedApiFormatStringV2", - "description": "A format string that gives information about the URL, and a list of arguments for that format string." - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "description": "Dictionary of formatted rule results, with one entry for each PageSpeed rule instantiated and run by the server.", - "type": "object" - } - }, - "type": "object" - }, - "id": { - "description": "Canonicalized and final URL for the document, after following page redirects (if any).", - "type": "string" - }, - "invalidRules": { - "description": "List of rules that were specified in the request, but which the server did not know how to instantiate.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "default": "pagespeedonline#result", - "description": "Kind of result.", - "type": "string" - }, - "pageStats": { - "description": "Summary statistics for the page, such as number of JavaScript bytes, number of HTML bytes, etc.", - "properties": { - "cssResponseBytes": { - "description": "Number of uncompressed response bytes for CSS resources on the page.", - "format": "int64", - "type": "string" - }, - "flashResponseBytes": { - "description": "Number of response bytes for flash resources on the page.", - "format": "int64", - "type": "string" - }, - "htmlResponseBytes": { - "description": "Number of uncompressed response bytes for the main HTML document and all iframes on the page.", - "format": "int64", - "type": "string" - }, - "imageResponseBytes": { - "description": "Number of response bytes for image resources on the page.", - "format": "int64", - "type": "string" - }, - "javascriptResponseBytes": { - "description": "Number of uncompressed response bytes for JS resources on the page.", - "format": "int64", - "type": "string" - }, - "numberCssResources": { - "description": "Number of CSS resources referenced by the page.", - "format": "int32", - "type": "integer" - }, - "numberHosts": { - "description": "Number of unique hosts referenced by the page.", - "format": "int32", - "type": "integer" - }, - "numberJsResources": { - "description": "Number of JavaScript resources referenced by the page.", - "format": "int32", - "type": "integer" - }, - "numberResources": { - "description": "Number of HTTP resources loaded by the page.", - "format": "int32", - "type": "integer" - }, - "numberStaticResources": { - "description": "Number of static (i.e. cacheable) resources on the page.", - "format": "int32", - "type": "integer" - }, - "otherResponseBytes": { - "description": "Number of response bytes for other resources on the page.", - "format": "int64", - "type": "string" - }, - "textResponseBytes": { - "description": "Number of uncompressed response bytes for text resources not covered by other statistics (i.e non-HTML, non-script, non-CSS resources) on the page.", - "format": "int64", - "type": "string" - }, - "totalRequestBytes": { - "description": "Total size of all request bytes sent by the page.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "responseCode": { - "description": "Response code for the document. 200 indicates a normal page load. 4xx/5xx indicates an error.", - "format": "int32", - "type": "integer" - }, - "ruleGroups": { - "additionalProperties": { - "description": "The name of this rule group: one of \"SPEED\" or \"USABILITY\".", - "properties": { - "score": { - "description": "The score (0-100) for this rule group, which indicates how much better a page could be in that category (e.g. how much faster, or how much more usable). A high score indicates little room for improvement, while a lower score indicates more room for improvement.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "description": "A map with one entry for each rule group in these results.", - "type": "object" - }, - "screenshot": { - "$ref": "PagespeedApiImageV2", - "description": "Base64-encoded screenshot of the page that was analyzed." - }, - "title": { - "description": "Title of the page, as displayed in the browser's title bar.", - "type": "string" - }, - "version": { - "description": "The version of PageSpeed used to generate these results.", - "properties": { - "major": { - "description": "The major version number of PageSpeed used to generate these results.", - "format": "int32", - "type": "integer" - }, - "minor": { - "description": "The minor version number of PageSpeed used to generate these results.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - } - }, - "servicePath": "pagespeedonline/v2/", - "title": "PageSpeed Insights API", - "version": "v2" -} \ No newline at end of file diff --git a/discovery/pagespeedonline-v4.json b/discovery/pagespeedonline-v4.json deleted file mode 100644 index 42bbee74c32..00000000000 --- a/discovery/pagespeedonline-v4.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "basePath": "/pagespeedonline/v4/", - "baseUrl": "https://www.googleapis.com/pagespeedonline/v4/", - "batchPath": "batch/pagespeedonline/v4", - "description": "Analyzes the performance of a web page and provides tailored suggestions to make that page faster.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/speed/docs/insights/v4/getting-started", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/9Qwy3178hLpLAQ_5MCsznJfAU5w\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/pagespeed-16.png", - "x32": "https://www.google.com/images/icons/product/pagespeed-32.png" - }, - "id": "pagespeedonline:v4", - "kind": "discovery#restDescription", - "name": "pagespeedonline", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "pagespeedapi": { - "methods": { - "runpagespeed": { - "description": "Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.", - "httpMethod": "GET", - "id": "pagespeedonline.pagespeedapi.runpagespeed", - "parameterOrder": [ - "url" - ], - "parameters": { - "filter_third_party_resources": { - "default": "false", - "description": "Indicates if third party resources should be filtered out before PageSpeed analysis.", - "location": "query", - "type": "boolean" - }, - "locale": { - "description": "The locale used to localize formatted results", - "location": "query", - "pattern": "[a-zA-Z]+(_[a-zA-Z]+)?", - "type": "string" - }, - "rule": { - "description": "A PageSpeed rule to run; if none are given, all rules are run", - "location": "query", - "pattern": "[a-zA-Z]+", - "repeated": true, - "type": "string" - }, - "screenshot": { - "default": "false", - "description": "Indicates if binary data containing a screenshot should be included", - "location": "query", - "type": "boolean" - }, - "snapshots": { - "default": "false", - "description": "Indicates if binary data containing snapshot images should be included", - "location": "query", - "type": "boolean" - }, - "strategy": { - "description": "The analysis strategy (desktop or mobile) to use, and desktop is the default", - "enum": [ - "desktop", - "mobile" - ], - "enumDescriptions": [ - "Fetch and analyze the URL for desktop browsers", - "Fetch and analyze the URL for mobile devices" - ], - "location": "query", - "type": "string" - }, - "url": { - "description": "The URL to fetch and analyze", - "location": "query", - "pattern": "(?i)(site:|origin:)?http(s)?://.*", - "required": true, - "type": "string" - }, - "utm_campaign": { - "description": "Campaign name for analytics.", - "location": "query", - "type": "string" - }, - "utm_source": { - "description": "Campaign source for analytics.", - "location": "query", - "type": "string" - } - }, - "path": "runPagespeed", - "response": { - "$ref": "PagespeedApiPagespeedResponseV4" - } - } - } - } - }, - "revision": "20191206", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "PagespeedApiFormatStringV4": { - "id": "PagespeedApiFormatStringV4", - "properties": { - "args": { - "description": "List of arguments for the format string.", - "items": { - "properties": { - "key": { - "description": "The placeholder key for this arg, as a string.", - "type": "string" - }, - "rects": { - "description": "The screen rectangles being referred to, with dimensions measured in CSS pixels. This is only ever used for SNAPSHOT_RECT arguments. If this is absent for a SNAPSHOT_RECT argument, it means that that argument refers to the entire snapshot.", - "items": { - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "left": { - "format": "int32", - "type": "integer" - }, - "top": { - "format": "int32", - "type": "integer" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "secondary_rects": { - "description": "Secondary screen rectangles being referred to, with dimensions measured in CSS pixels. This is only ever used for SNAPSHOT_RECT arguments.", - "items": { - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "left": { - "format": "int32", - "type": "integer" - }, - "top": { - "format": "int32", - "type": "integer" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "description": "Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, DURATION, VERBATIM_STRING, PERCENTAGE, HYPERLINK, or SNAPSHOT_RECT.", - "type": "string" - }, - "value": { - "description": "Argument value, as a localized string.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "format": { - "description": "A localized format string with {{FOO}} placeholders, where 'FOO' is the key of the argument whose value should be substituted. For HYPERLINK arguments, the format string will instead contain {{BEGIN_FOO}} and {{END_FOO}} for the argument with key 'FOO'.", - "type": "string" - } - }, - "type": "object" - }, - "PagespeedApiImageV4": { - "id": "PagespeedApiImageV4", - "properties": { - "data": { - "description": "Image data base64 encoded.", - "format": "byte", - "type": "string" - }, - "height": { - "description": "Height of screenshot in pixels.", - "format": "int32", - "type": "integer" - }, - "key": { - "description": "Unique string key, if any, identifying this image.", - "type": "string" - }, - "mime_type": { - "description": "Mime type of image data (e.g. \"image/jpeg\").", - "type": "string" - }, - "page_rect": { - "properties": { - "height": { - "format": "int32", - "type": "integer" - }, - "left": { - "format": "int32", - "type": "integer" - }, - "top": { - "format": "int32", - "type": "integer" - }, - "width": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "width": { - "description": "Width of screenshot in pixels.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "PagespeedApiPagespeedResponseV4": { - "id": "PagespeedApiPagespeedResponseV4", - "properties": { - "captchaResult": { - "description": "The captcha verify result", - "type": "string" - }, - "formattedResults": { - "description": "Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed rule instantiated and run by the server.", - "properties": { - "locale": { - "description": "The locale of the formattedResults, e.g. \"en_US\".", - "type": "string" - }, - "ruleResults": { - "additionalProperties": { - "description": "The enum-like identifier for this rule. For instance \"EnableKeepAlive\" or \"AvoidCssImport\". Not localized.", - "properties": { - "beta": { - "description": "Whether this rule is in 'beta'. Rules in beta are new rules that are being tested, which do not impact the overall score.", - "type": "boolean" - }, - "groups": { - "description": "List of rule groups that this rule belongs to. Each entry in the list is one of \"SPEED\", \"USABILITY\", or \"SECURITY\".", - "items": { - "type": "string" - }, - "type": "array" - }, - "localizedRuleName": { - "description": "Localized name of the rule, intended for presentation to a user.", - "type": "string" - }, - "ruleImpact": { - "description": "The impact (unbounded floating point value) that implementing the suggestions for this rule would have on making the page faster. Impact is comparable between rules to determine which rule's suggestions would have a higher or lower impact on making a page faster. For instance, if enabling compression would save 1MB, while optimizing images would save 500kB, the enable compression rule would have 2x the impact of the image optimization rule, all other things being equal.", - "format": "double", - "type": "number" - }, - "summary": { - "$ref": "PagespeedApiFormatStringV4", - "description": "A brief summary description for the rule, indicating at a high level what should be done to follow the rule and what benefit can be gained by doing so." - }, - "urlBlocks": { - "description": "List of blocks of URLs. Each block may contain a heading and a list of URLs. Each URL may optionally include additional details.", - "items": { - "properties": { - "header": { - "$ref": "PagespeedApiFormatStringV4", - "description": "Heading to be displayed with the list of URLs." - }, - "urls": { - "description": "List of entries that provide information about URLs in the url block. Optional.", - "items": { - "properties": { - "details": { - "description": "List of entries that provide additional details about a single URL. Optional.", - "items": { - "$ref": "PagespeedApiFormatStringV4" - }, - "type": "array" - }, - "result": { - "$ref": "PagespeedApiFormatStringV4", - "description": "A format string that gives information about the URL, and a list of arguments for that format string." - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "description": "Dictionary of formatted rule results, with one entry for each PageSpeed rule instantiated and run by the server.", - "type": "object" - } - }, - "type": "object" - }, - "id": { - "description": "Canonicalized and final URL for the document, after following page redirects (if any).", - "type": "string" - }, - "invalidRules": { - "description": "List of rules that were specified in the request, but which the server did not know how to instantiate.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "default": "pagespeedonline#result", - "description": "Kind of result.", - "type": "string" - }, - "loadingExperience": { - "description": "Metrics of end users' page loading experience.", - "properties": { - "id": { - "description": "The url, pattern or origin which the metrics are on.", - "type": "string" - }, - "initial_url": { - "type": "string" - }, - "metrics": { - "additionalProperties": { - "description": "The type of the metric.", - "properties": { - "category": { - "type": "string" - }, - "distributions": { - "items": { - "properties": { - "max": { - "format": "int32", - "type": "integer" - }, - "min": { - "format": "int32", - "type": "integer" - }, - "proportion": { - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "type": "array" - }, - "median": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "type": "object" - }, - "overall_category": { - "type": "string" - } - }, - "type": "object" - }, - "pageStats": { - "description": "Summary statistics for the page, such as number of JavaScript bytes, number of HTML bytes, etc.", - "properties": { - "cms": { - "description": "Content management system (CMS) used for the page.", - "type": "string" - }, - "cssResponseBytes": { - "description": "Number of uncompressed response bytes for CSS resources on the page.", - "format": "int64", - "type": "string" - }, - "flashResponseBytes": { - "description": "Number of response bytes for flash resources on the page.", - "format": "int64", - "type": "string" - }, - "htmlResponseBytes": { - "description": "Number of uncompressed response bytes for the main HTML document and all iframes on the page.", - "format": "int64", - "type": "string" - }, - "imageResponseBytes": { - "description": "Number of response bytes for image resources on the page.", - "format": "int64", - "type": "string" - }, - "javascriptResponseBytes": { - "description": "Number of uncompressed response bytes for JS resources on the page.", - "format": "int64", - "type": "string" - }, - "numRenderBlockingRoundTrips": { - "description": "The needed round trips to load render blocking resources", - "format": "int32", - "type": "integer" - }, - "numTotalRoundTrips": { - "description": "The needed round trips to load the full page", - "format": "int32", - "type": "integer" - }, - "numberCssResources": { - "description": "Number of CSS resources referenced by the page.", - "format": "int32", - "type": "integer" - }, - "numberHosts": { - "description": "Number of unique hosts referenced by the page.", - "format": "int32", - "type": "integer" - }, - "numberJsResources": { - "description": "Number of JavaScript resources referenced by the page.", - "format": "int32", - "type": "integer" - }, - "numberResources": { - "description": "Number of HTTP resources loaded by the page.", - "format": "int32", - "type": "integer" - }, - "numberRobotedResources": { - "description": "Number of roboted resources.", - "format": "int32", - "type": "integer" - }, - "numberStaticResources": { - "description": "Number of static (i.e. cacheable) resources on the page.", - "format": "int32", - "type": "integer" - }, - "numberTransientFetchFailureResources": { - "description": "Number of transient-failed resources.", - "format": "int32", - "type": "integer" - }, - "otherResponseBytes": { - "description": "Number of response bytes for other resources on the page.", - "format": "int64", - "type": "string" - }, - "overTheWireResponseBytes": { - "description": "Number of over-the-wire bytes, uses the default gzip compression strategy as an estimation.", - "format": "int64", - "type": "string" - }, - "robotedUrls": { - "description": "List of roboted urls.", - "items": { - "type": "string" - }, - "type": "array" - }, - "textResponseBytes": { - "description": "Number of uncompressed response bytes for text resources not covered by other statistics (i.e non-HTML, non-script, non-CSS resources) on the page.", - "format": "int64", - "type": "string" - }, - "totalRequestBytes": { - "description": "Total size of all request bytes sent by the page.", - "format": "int64", - "type": "string" - }, - "transientFetchFailureUrls": { - "description": "List of transient fetch failure urls.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "responseCode": { - "description": "Response code for the document. 200 indicates a normal page load. 4xx/5xx indicates an error.", - "format": "int32", - "type": "integer" - }, - "ruleGroups": { - "additionalProperties": { - "description": "The name of this rule group: one of \"SPEED\", \"USABILITY\", or \"SECURITY\".", - "properties": { - "pass": { - "type": "boolean" - }, - "score": { - "description": "The score (0-100) for this rule group, which indicates how much better a page could be in that category (e.g. how much faster, or how much more usable, or how much more secure). A high score indicates little room for improvement, while a lower score indicates more room for improvement.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "description": "A map with one entry for each rule group in these results.", - "type": "object" - }, - "screenshot": { - "$ref": "PagespeedApiImageV4", - "description": "Base64-encoded screenshot of the page that was analyzed." - }, - "snapshots": { - "description": "Additional base64-encoded screenshots of the page, in various partial render states.", - "items": { - "$ref": "PagespeedApiImageV4" - }, - "type": "array" - }, - "title": { - "description": "Title of the page, as displayed in the browser's title bar.", - "type": "string" - }, - "version": { - "description": "The version of PageSpeed used to generate these results.", - "properties": { - "major": { - "description": "The major version number of PageSpeed used to generate these results.", - "format": "int32", - "type": "integer" - }, - "minor": { - "description": "The minor version number of PageSpeed used to generate these results.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - } - }, - "servicePath": "pagespeedonline/v4/", - "title": "PageSpeed Insights API", - "version": "v4" -} \ No newline at end of file diff --git a/discovery/people-v1.json b/discovery/people-v1.json index 624fd4a5405..77a2bfb7eef 100644 --- a/discovery/people-v1.json +++ b/discovery/people-v1.json @@ -1190,7 +1190,7 @@ } } }, - "revision": "20240320", + "revision": "20240313", "rootUrl": "https://people.googleapis.com/", "schemas": { "Address": { diff --git a/discovery/places-v1.json b/discovery/places-v1.json index 8fd29b9ef6a..727aeb8eaad 100644 --- a/discovery/places-v1.json +++ b/discovery/places-v1.json @@ -280,7 +280,7 @@ } } }, - "revision": "20250429", + "revision": "20250506", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -1497,7 +1497,7 @@ "type": "string" }, "photosUri": { - "description": "A link to show photos of this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps.", + "description": "A link to show reviews of this place on Google Maps.", "type": "string" }, "placeUri": { @@ -1505,11 +1505,11 @@ "type": "string" }, "reviewsUri": { - "description": "A link to show reviews of this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps.", + "description": "A link to show reviews of this place on Google Maps.", "type": "string" }, "writeAReviewUri": { - "description": "A link to write a review for this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps.", + "description": "A link to write a review for this place on Google Maps.", "type": "string" } }, @@ -1757,6 +1757,10 @@ "description": "A link where users can flag a problem with the summary.", "type": "string" }, + "reviewsUri": { + "description": "A link to show reviews of this place on Google Maps.", + "type": "string" + }, "text": { "$ref": "GoogleTypeLocalizedText", "description": "The summary of user reviews." @@ -1846,27 +1850,6 @@ "text": { "$ref": "GoogleTypeLocalizedText", "description": "The localized text of the review." - }, - "visitDate": { - "$ref": "GoogleMapsPlacesV1ReviewVisitDate", - "description": "The date when the author visited the place. This is trucated to month." - } - }, - "type": "object" - }, - "GoogleMapsPlacesV1ReviewVisitDate": { - "description": "The date when the author visited the place. This is trucated to month.", - "id": "GoogleMapsPlacesV1ReviewVisitDate", - "properties": { - "month": { - "description": "The month the author visited the place, e.g. 4. The value is between 1 and 12.", - "format": "int32", - "type": "integer" - }, - "year": { - "description": "The year the author visited the place, e.g. 2025.", - "format": "int32", - "type": "integer" } }, "type": "object" diff --git a/discovery/playablelocations-v3.json b/discovery/playablelocations-v3.json deleted file mode 100644 index 1be03e04d3b..00000000000 --- a/discovery/playablelocations-v3.json +++ /dev/null @@ -1,528 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://playablelocations.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Playable Locations", - "description": "", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/maps/contact-sales/", - "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": "playablelocations:v3", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://playablelocations.mtls.googleapis.com/", - "name": "playablelocations", - "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": { - "v3": { - "methods": { - "logImpressions": { - "description": "Logs new events when playable locations are displayed, and when they are interacted with. Impressions are not partially saved; either all impressions are saved and this request succeeds, or no impressions are saved, and this request fails.", - "flatPath": "v3:logImpressions", - "httpMethod": "POST", - "id": "playablelocations.logImpressions", - "parameterOrder": [], - "parameters": {}, - "path": "v3:logImpressions", - "request": { - "$ref": "GoogleMapsPlayablelocationsV3LogImpressionsRequest" - }, - "response": { - "$ref": "GoogleMapsPlayablelocationsV3LogImpressionsResponse" - } - }, - "logPlayerReports": { - "description": "Logs bad playable location reports submitted by players. Reports are not partially saved; either all reports are saved and this request succeeds, or no reports are saved, and this request fails.", - "flatPath": "v3:logPlayerReports", - "httpMethod": "POST", - "id": "playablelocations.logPlayerReports", - "parameterOrder": [], - "parameters": {}, - "path": "v3:logPlayerReports", - "request": { - "$ref": "GoogleMapsPlayablelocationsV3LogPlayerReportsRequest" - }, - "response": { - "$ref": "GoogleMapsPlayablelocationsV3LogPlayerReportsResponse" - } - }, - "samplePlayableLocations": { - "description": "Returns a set of playable locations that lie within a specified area, that satisfy optional filter criteria. Note: Identical `SamplePlayableLocations` requests can return different results as the state of the world changes over time.", - "flatPath": "v3:samplePlayableLocations", - "httpMethod": "POST", - "id": "playablelocations.samplePlayableLocations", - "parameterOrder": [], - "parameters": {}, - "path": "v3:samplePlayableLocations", - "request": { - "$ref": "GoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest" - }, - "response": { - "$ref": "GoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse" - } - } - } - } - }, - "revision": "20210421", - "rootUrl": "https://playablelocations.googleapis.com/", - "schemas": { - "GoogleMapsPlayablelocationsV3Impression": { - "description": "Encapsulates impression event details.", - "id": "GoogleMapsPlayablelocationsV3Impression", - "properties": { - "gameObjectType": { - "description": "An arbitrary, developer-defined type identifier for each type of game object used in your game. Since players interact with differ types of game objects in different ways, this field allows you to segregate impression data by type for analysis. You should assign a unique `game_object_type` ID to represent a distinct type of game object in your game. For example, 1=monster location, 2=powerup location.", - "format": "int32", - "type": "integer" - }, - "impressionType": { - "description": "Required. The type of impression event.", - "enum": [ - "IMPRESSION_TYPE_UNSPECIFIED", - "PRESENTED", - "INTERACTED" - ], - "enumDescriptions": [ - "Unspecified type. Do not use.", - "The playable location was presented to a player.", - "A player interacted with the playable location." - ], - "type": "string" - }, - "locationName": { - "description": "Required. The name of the playable location.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3LogImpressionsRequest": { - "description": "A request for logging impressions.", - "id": "GoogleMapsPlayablelocationsV3LogImpressionsRequest", - "properties": { - "clientInfo": { - "$ref": "GoogleMapsUnityClientInfo", - "description": "Required. Information about the client device. For example, device model and operating system." - }, - "impressions": { - "description": "Required. Impression event details. The maximum number of impression reports that you can log at once is 50.", - "items": { - "$ref": "GoogleMapsPlayablelocationsV3Impression" - }, - "type": "array" - }, - "requestId": { - "description": "Required. A string that uniquely identifies the log impressions request. This allows you to detect duplicate requests. We recommend that you use UUIDs for this value. The value must not exceed 50 characters. You should reuse the `request_id` only when retrying a request in case of failure. In this case, the request must be identical to the one that failed.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3LogImpressionsResponse": { - "description": "A response for the LogImpressions method. This method returns no data upon success.", - "id": "GoogleMapsPlayablelocationsV3LogImpressionsResponse", - "properties": {}, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3LogPlayerReportsRequest": { - "description": "A request for logging your player's bad location reports.", - "id": "GoogleMapsPlayablelocationsV3LogPlayerReportsRequest", - "properties": { - "clientInfo": { - "$ref": "GoogleMapsUnityClientInfo", - "description": "Required. Information about the client device (for example, device model and operating system)." - }, - "playerReports": { - "description": "Required. Player reports. The maximum number of player reports that you can log at once is 50.", - "items": { - "$ref": "GoogleMapsPlayablelocationsV3PlayerReport" - }, - "type": "array" - }, - "requestId": { - "description": "Required. A string that uniquely identifies the log player reports request. This allows you to detect duplicate requests. We recommend that you use UUIDs for this value. The value must not exceed 50 characters. You should reuse the `request_id` only when retrying a request in the case of a failure. In that case, the request must be identical to the one that failed.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3LogPlayerReportsResponse": { - "description": "A response for the LogPlayerReports method. This method returns no data upon success.", - "id": "GoogleMapsPlayablelocationsV3LogPlayerReportsResponse", - "properties": {}, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3PlayerReport": { - "description": "A report submitted by a player about a playable location that is considered inappropriate for use in the game.", - "id": "GoogleMapsPlayablelocationsV3PlayerReport", - "properties": { - "languageCode": { - "description": "Language code (in BCP-47 format) indicating the language of the freeform description provided in `reason_details`. Examples are \"en\", \"en-US\" or \"ja-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", - "type": "string" - }, - "locationName": { - "description": "Required. The name of the playable location.", - "type": "string" - }, - "reasonDetails": { - "description": "Required. A free-form description detailing why the playable location is considered bad.", - "type": "string" - }, - "reasons": { - "description": "Required. One or more reasons why this playable location is considered bad.", - "items": { - "enum": [ - "BAD_LOCATION_REASON_UNSPECIFIED", - "OTHER", - "NOT_PEDESTRIAN_ACCESSIBLE", - "NOT_OPEN_TO_PUBLIC", - "PERMANENTLY_CLOSED", - "TEMPORARILY_INACCESSIBLE" - ], - "enumDescriptions": [ - "Unspecified reason. Do not use.", - "The reason isn't one of the reasons in this enumeration.", - "The playable location isn't accessible to pedestrians. For example, if it's in the middle of a highway.", - "The playable location isn't open to the public. For example, a private office building.", - "The playable location is permanently closed. For example, when a business has been shut down.", - "The playable location is temporarily inaccessible. For example, when a business has closed for renovations." - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3SampleAreaFilter": { - "description": "Specifies the area to search for playable locations.", - "id": "GoogleMapsPlayablelocationsV3SampleAreaFilter", - "properties": { - "s2CellId": { - "description": "Required. The S2 cell ID of the area you want. This must be between cell level 11 and 14 (inclusive). S2 cells are 64-bit integers that identify areas on the Earth. They are hierarchical, and can therefore be used for spatial indexing. The S2 geometry library is available in a number of languages: * [C++](https://github.com/google/s2geometry) * [Java](https://github.com/google/s2-geometry-library-java) * [Go](https://github.com/golang/geo) * [Python](https://github.com/google/s2geometry/tree/master/src/python)", - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3SampleCriterion": { - "description": "Encapsulates a filter criterion for searching for a set of playable locations.", - "id": "GoogleMapsPlayablelocationsV3SampleCriterion", - "properties": { - "fieldsToReturn": { - "description": "Specifies which `PlayableLocation` fields are returned. `name` (which is used for logging impressions), `center_point` and `place_id` (or `plus_code`) are always returned. The following fields are omitted unless you specify them here: * snapped_point * types Note: The more fields you include, the more expensive in terms of data and associated latency your query will be.", - "format": "google-fieldmask", - "type": "string" - }, - "filter": { - "$ref": "GoogleMapsPlayablelocationsV3SampleFilter", - "description": "Specifies filtering options, and specifies what will be included in the result set." - }, - "gameObjectType": { - "description": "Required. An arbitrary, developer-defined identifier of the type of game object that the playable location is used for. This field allows you to specify criteria per game object type when searching for playable locations. You should assign a unique `game_object_type` ID across all `request_criteria` to represent a distinct type of game object. For example, 1=monster location, 2=powerup location. The response contains a map.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3SampleFilter": { - "description": "Specifies the filters to use when searching for playable locations.", - "id": "GoogleMapsPlayablelocationsV3SampleFilter", - "properties": { - "includedTypes": { - "description": "Restricts the set of playable locations to just the [types](/maps/documentation/gaming/tt/types) that you want.", - "items": { - "type": "string" - }, - "type": "array" - }, - "maxLocationCount": { - "description": "Specifies the maximum number of playable locations to return. This value must not be greater than 1000. The default value is 100. Only the top-ranking playable locations are returned.", - "format": "int32", - "type": "integer" - }, - "spacing": { - "$ref": "GoogleMapsPlayablelocationsV3SampleSpacingOptions", - "description": "A set of options that control the spacing between playable locations. By default the minimum distance between locations is 200m." - } - }, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3SamplePlayableLocation": { - "description": "A geographical point suitable for placing game objects in location-based games.", - "id": "GoogleMapsPlayablelocationsV3SamplePlayableLocation", - "properties": { - "centerPoint": { - "$ref": "GoogleTypeLatLng", - "description": "Required. The latitude and longitude associated with the center of the playable location. By default, the set of playable locations returned from SamplePlayableLocations use center-point coordinates." - }, - "name": { - "description": "Required. The name of this playable location.", - "type": "string" - }, - "placeId": { - "description": "A [place ID] (https://developers.google.com/places/place-id)", - "type": "string" - }, - "plusCode": { - "description": "A [plus code] (http://openlocationcode.com)", - "type": "string" - }, - "snappedPoint": { - "$ref": "GoogleTypeLatLng", - "description": "The playable location's coordinates, snapped to the sidewalk of the nearest road, if a nearby road exists." - }, - "types": { - "description": "A collection of [Playable Location Types](/maps/documentation/gaming/tt/types) for this playable location. The first type in the collection is the primary type. Type information might not be available for all playable locations.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3SamplePlayableLocationList": { - "description": "A list of PlayableLocation objects that satisfies a single Criterion.", - "id": "GoogleMapsPlayablelocationsV3SamplePlayableLocationList", - "properties": { - "locations": { - "description": "A list of playable locations for this game object type.", - "items": { - "$ref": "GoogleMapsPlayablelocationsV3SamplePlayableLocation" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest": { - "description": " Life of a query: - When a game starts in a new location, your game server issues a SamplePlayableLocations request. The request specifies the S2 cell, and contains one or more \"criteria\" for filtering: - Criterion 0: i locations for long-lived bases, or level 0 monsters, or... - Criterion 1: j locations for short-lived bases, or level 1 monsters, ... - Criterion 2: k locations for random objects. - etc (up to 5 criterion may be specified). `PlayableLocationList` will then contain mutually exclusive lists of `PlayableLocation` objects that satisfy each of the criteria. Think of it as a collection of real-world locations that you can then associate with your game state. Note: These points are impermanent in nature. E.g, parks can close, and places can be removed. The response specifies how long you can expect the playable locations to last. Once they expire, you should query the `samplePlayableLocations` API again to get a fresh view of the real world.", - "id": "GoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest", - "properties": { - "areaFilter": { - "$ref": "GoogleMapsPlayablelocationsV3SampleAreaFilter", - "description": "Required. Specifies the area to search within for playable locations." - }, - "criteria": { - "description": "Required. Specifies one or more (up to 5) criteria for filtering the returned playable locations.", - "items": { - "$ref": "GoogleMapsPlayablelocationsV3SampleCriterion" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse": { - "description": " Response for the SamplePlayableLocations method.", - "id": "GoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse", - "properties": { - "locationsPerGameObjectType": { - "additionalProperties": { - "$ref": "GoogleMapsPlayablelocationsV3SamplePlayableLocationList" - }, - "description": "Each PlayableLocation object corresponds to a game_object_type specified in the request.", - "type": "object" - }, - "ttl": { - "description": "Required. Specifies the \"time-to-live\" for the set of playable locations. You can use this value to determine how long to cache the set of playable locations. After this length of time, your back-end game server should issue a new SamplePlayableLocations request to get a fresh set of playable locations (because for example, they might have been removed, a park might have closed for the day, a business might have closed permanently).", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "GoogleMapsPlayablelocationsV3SampleSpacingOptions": { - "description": "A set of options that specifies the separation between playable locations.", - "id": "GoogleMapsPlayablelocationsV3SampleSpacingOptions", - "properties": { - "minSpacingMeters": { - "description": "Required. The minimum spacing between any two playable locations, measured in meters. The minimum value is 30. The maximum value is 1000. Inputs will be rounded up to the next 10 meter interval. The default value is 200m. Set this field to remove tight clusters of playable locations. Note: The spacing is a greedy algorithm. It optimizes for selecting the highest ranking locations first, not to maximize the number of locations selected. Consider the following scenario: * Rank: A: 2, B: 1, C: 3. * Distance: A--200m--B--200m--C If spacing=250, it will pick the highest ranked location [B], not [A, C]. Note: Spacing works within the game object type itself, as well as the previous ones. Suppose three game object types, each with the following spacing: * X: 400m, Y: undefined, Z: 200m. 1. Add locations for X, within 400m of each other. 2. Add locations for Y, without any spacing. 3. Finally, add locations for Z within 200m of each other as well X and Y. The distance diagram between those locations end up as: * From->To. * X->X: 400m * Y->X, Y->Y: unspecified. * Z->X, Z->Y, Z->Z: 200m.", - "format": "double", - "type": "number" - }, - "pointType": { - "description": "Specifies whether the minimum spacing constraint applies to the center-point or to the snapped point of playable locations. The default value is `CENTER_POINT`. If a snapped point is not available for a playable location, its center-point is used instead. Set this to the point type used in your game.", - "enum": [ - "POINT_TYPE_UNSPECIFIED", - "CENTER_POINT", - "SNAPPED_POINT" - ], - "enumDescriptions": [ - "Unspecified point type. Do not use this value.", - "The geographic coordinates correspond to the center of the location.", - "The geographic coordinates correspond to the location snapped to the sidewalk of the nearest road (when a nearby road exists)." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleMapsUnityClientInfo": { - "description": "Client information.", - "id": "GoogleMapsUnityClientInfo", - "properties": { - "apiClient": { - "description": "API client name and version. For example, the SDK calling the API. The exact format is up to the client.", - "type": "string" - }, - "applicationId": { - "description": "Application ID, such as the package name on Android and the bundle identifier on iOS platforms.", - "type": "string" - }, - "applicationVersion": { - "description": "Application version number, such as \"1.2.3\". The exact format is application-dependent.", - "type": "string" - }, - "deviceModel": { - "description": "Device model as reported by the device. The exact format is platform-dependent.", - "type": "string" - }, - "languageCode": { - "description": "Language code (in BCP-47 format) indicating the UI language of the client. Examples are \"en\", \"en-US\" or \"ja-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", - "type": "string" - }, - "operatingSystem": { - "description": "Operating system name and version as reported by the OS. For example, \"Mac OS X 10.10.4\". The exact format is platform-dependent.", - "type": "string" - }, - "operatingSystemBuild": { - "description": "Build number/version of the operating system. e.g., the contents of android.os.Build.ID in Android, or the contents of sysctl \"kern.osversion\" in iOS.", - "type": "string" - }, - "platform": { - "description": "Platform where the application is running.", - "enum": [ - "PLATFORM_UNSPECIFIED", - "EDITOR", - "MAC_OS", - "WINDOWS", - "LINUX", - "ANDROID", - "IOS", - "WEB_GL" - ], - "enumDescriptions": [ - "Unspecified or unknown OS.", - "Development environment.", - "macOS.", - "Windows.", - "Linux", - "Android", - "iOS", - "WebGL." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleTypeLatLng": { - "description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", - "id": "GoogleTypeLatLng", - "properties": { - "latitude": { - "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", - "format": "double", - "type": "number" - }, - "longitude": { - "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", - "format": "double", - "type": "number" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Playable Locations API", - "version": "v3", - "version_module": true -} \ No newline at end of file diff --git a/discovery/playcustomapp-v1.json b/discovery/playcustomapp-v1.json index 36151320c04..23750d179e5 100644 --- a/discovery/playcustomapp-v1.json +++ b/discovery/playcustomapp-v1.json @@ -158,7 +158,7 @@ } } }, - "revision": "20211026", + "revision": "20211022", "rootUrl": "https://playcustomapp.googleapis.com/", "schemas": { "CustomApp": { diff --git a/discovery/playgrouping-v1alpha1.json b/discovery/playgrouping-v1alpha1.json index 80cffd65a53..abef94cd72b 100644 --- a/discovery/playgrouping-v1alpha1.json +++ b/discovery/playgrouping-v1alpha1.json @@ -177,7 +177,7 @@ } } }, - "revision": "20230920", + "revision": "20230824", "rootUrl": "https://playgrouping.googleapis.com/", "schemas": { "CreateOrUpdateTagsRequest": { diff --git a/discovery/plus-v1.json b/discovery/plus-v1.json deleted file mode 100644 index e883b388add..00000000000 --- a/discovery/plus-v1.json +++ /dev/null @@ -1,1569 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/plus.login": { - "description": "View your basic profile info, including your age range and language" - }, - "https://www.googleapis.com/auth/plus.me": { - "description": "Associate you with your personal info on Google" - }, - "https://www.googleapis.com/auth/userinfo.email": { - "description": "View your email address" - }, - "https://www.googleapis.com/auth/userinfo.profile": { - "description": "See your personal info, including any personal info you've made publicly available" - } - } - } - }, - "basePath": "/plus/v1/", - "baseUrl": "https://www.googleapis.com/plus/v1/", - "batchPath": "batch/plus/v1", - "description": "Builds on top of the Google+ platform.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/+/api/", - "etag": "\"9eZ1uxVRThTDhLJCZHhqs3eQWz4/w2FrgYFAkH9NArdWrHE1nhKOCxU\"", - "icons": { - "x16": "http://www.google.com/images/icons/product/gplus-16.png", - "x32": "http://www.google.com/images/icons/product/gplus-32.png" - }, - "id": "plus:v1", - "kind": "discovery#restDescription", - "name": "plus", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "activities": { - "methods": { - "get": { - "description": "Shut down. See https://developers.google.com/+/api-shutdown for more details.", - "httpMethod": "GET", - "id": "plus.activities.get", - "parameterOrder": [ - "activityId" - ], - "parameters": { - "activityId": { - "description": "The ID of the activity to get.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "activities/{activityId}", - "response": { - "$ref": "Activity" - }, - "scopes": [ - "https://www.googleapis.com/auth/plus.login", - "https://www.googleapis.com/auth/plus.me" - ] - }, - "list": { - "description": "Shut down. See https://developers.google.com/+/api-shutdown for more details.", - "httpMethod": "GET", - "id": "plus.activities.list", - "parameterOrder": [ - "userId", - "collection" - ], - "parameters": { - "collection": { - "description": "The collection of activities to list.", - "enum": [ - "public" - ], - "enumDescriptions": [ - "All public activities created by the specified user." - ], - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "default": "20", - "description": "The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.", - "format": "uint32", - "location": "query", - "maximum": "100", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - }, - "userId": { - "description": "The ID of the user to get activities for. The special value \"me\" can be used to indicate the authenticated user.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "people/{userId}/activities/{collection}", - "response": { - "$ref": "ActivityFeed" - }, - "scopes": [ - "https://www.googleapis.com/auth/plus.login", - "https://www.googleapis.com/auth/plus.me" - ] - }, - "search": { - "description": "Shut down. See https://developers.google.com/+/api-shutdown for more details.", - "httpMethod": "GET", - "id": "plus.activities.search", - "parameterOrder": [ - "query" - ], - "parameters": { - "language": { - "default": "en-US", - "description": "Specify the preferred language to search with. See search language codes for available values.", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "10", - "description": "The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.", - "format": "uint32", - "location": "query", - "maximum": "20", - "minimum": "1", - "type": "integer" - }, - "orderBy": { - "default": "recent", - "description": "Specifies how to order search results.", - "enum": [ - "best", - "recent" - ], - "enumDescriptions": [ - "Sort activities by relevance to the user, most relevant first.", - "Sort activities by published date, most recent first." - ], - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response. This token can be of any length.", - "location": "query", - "type": "string" - }, - "query": { - "description": "Full-text search query string.", - "location": "query", - "required": true, - "type": "string" - } - }, - "path": "activities", - "response": { - "$ref": "ActivityFeed" - }, - "scopes": [ - "https://www.googleapis.com/auth/plus.login", - "https://www.googleapis.com/auth/plus.me" - ] - } - } - }, - "comments": { - "methods": { - "get": { - "description": "Shut down. See https://developers.google.com/+/api-shutdown for more details.", - "httpMethod": "GET", - "id": "plus.comments.get", - "parameterOrder": [ - "commentId" - ], - "parameters": { - "commentId": { - "description": "The ID of the comment to get.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "comments/{commentId}", - "response": { - "$ref": "Comment" - }, - "scopes": [ - "https://www.googleapis.com/auth/plus.login", - "https://www.googleapis.com/auth/plus.me" - ] - }, - "list": { - "description": "Shut down. See https://developers.google.com/+/api-shutdown for more details.", - "httpMethod": "GET", - "id": "plus.comments.list", - "parameterOrder": [ - "activityId" - ], - "parameters": { - "activityId": { - "description": "The ID of the activity to get comments for.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "default": "20", - "description": "The maximum number of comments to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.", - "format": "uint32", - "location": "query", - "maximum": "500", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - }, - "sortOrder": { - "default": "ascending", - "description": "The order in which to sort the list of comments.", - "enum": [ - "ascending", - "descending" - ], - "enumDescriptions": [ - "Sort oldest comments first.", - "Sort newest comments first." - ], - "location": "query", - "type": "string" - } - }, - "path": "activities/{activityId}/comments", - "response": { - "$ref": "CommentFeed" - }, - "scopes": [ - "https://www.googleapis.com/auth/plus.login", - "https://www.googleapis.com/auth/plus.me" - ] - } - } - }, - "people": { - "methods": { - "get": { - "description": "Get a person's profile. If your app uses scope https://www.googleapis.com/auth/plus.login, this method is guaranteed to return ageRange and language.", - "httpMethod": "GET", - "id": "plus.people.get", - "parameterOrder": [ - "userId" - ], - "parameters": { - "userId": { - "description": "The ID of the person to get the profile for. The special value \"me\" can be used to indicate the authenticated user.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "people/{userId}", - "response": { - "$ref": "Person" - }, - "scopes": [ - "https://www.googleapis.com/auth/plus.login", - "https://www.googleapis.com/auth/plus.me", - "https://www.googleapis.com/auth/userinfo.email", - "https://www.googleapis.com/auth/userinfo.profile" - ] - }, - "list": { - "description": "List all of the people in the specified collection.", - "httpMethod": "GET", - "id": "plus.people.list", - "parameterOrder": [ - "userId", - "collection" - ], - "parameters": { - "collection": { - "description": "The collection of people to list.", - "enum": [ - "connected", - "visible" - ], - "enumDescriptions": [ - "The list of visible people in the authenticated user's circles who also use the requesting app. This list is limited to users who made their app activities visible to the authenticated user.", - "The list of people who this user has added to one or more circles, limited to the circles visible to the requesting application." - ], - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "default": "100", - "description": "The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.", - "format": "uint32", - "location": "query", - "maximum": "100", - "minimum": "1", - "type": "integer" - }, - "orderBy": { - "description": "The order to return people in.", - "enum": [ - "alphabetical", - "best" - ], - "enumDescriptions": [ - "Order the people by their display name.", - "Order people based on the relevence to the viewer." - ], - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - }, - "userId": { - "description": "Get the collection of people for the person identified. Use \"me\" to indicate the authenticated user.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "people/{userId}/people/{collection}", - "response": { - "$ref": "PeopleFeed" - }, - "scopes": [ - "https://www.googleapis.com/auth/plus.login", - "https://www.googleapis.com/auth/plus.me" - ] - }, - "listByActivity": { - "description": "Shut down. See https://developers.google.com/+/api-shutdown for more details.", - "httpMethod": "GET", - "id": "plus.people.listByActivity", - "parameterOrder": [ - "activityId", - "collection" - ], - "parameters": { - "activityId": { - "description": "The ID of the activity to get the list of people for.", - "location": "path", - "required": true, - "type": "string" - }, - "collection": { - "description": "The collection of people to list.", - "enum": [ - "plusoners", - "resharers" - ], - "enumDescriptions": [ - "List all people who have +1'd this activity.", - "List all people who have reshared this activity." - ], - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "default": "20", - "description": "The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.", - "format": "uint32", - "location": "query", - "maximum": "100", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response.", - "location": "query", - "type": "string" - } - }, - "path": "activities/{activityId}/people/{collection}", - "response": { - "$ref": "PeopleFeed" - }, - "scopes": [ - "https://www.googleapis.com/auth/plus.login", - "https://www.googleapis.com/auth/plus.me" - ] - }, - "search": { - "description": "Shut down. See https://developers.google.com/+/api-shutdown for more details.", - "httpMethod": "GET", - "id": "plus.people.search", - "parameterOrder": [ - "query" - ], - "parameters": { - "language": { - "default": "en-US", - "description": "Specify the preferred language to search with. See search language codes for available values.", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "25", - "description": "The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.", - "format": "uint32", - "location": "query", - "maximum": "50", - "minimum": "1", - "type": "integer" - }, - "pageToken": { - "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response. This token can be of any length.", - "location": "query", - "type": "string" - }, - "query": { - "description": "Specify a query string for full text search of public text in all profiles.", - "location": "query", - "required": true, - "type": "string" - } - }, - "path": "people", - "response": { - "$ref": "PeopleFeed" - }, - "scopes": [ - "https://www.googleapis.com/auth/plus.login", - "https://www.googleapis.com/auth/plus.me" - ] - } - } - } - }, - "revision": "20190616", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "Acl": { - "id": "Acl", - "properties": { - "description": { - "description": "Description of the access granted, suitable for display.", - "type": "string" - }, - "items": { - "description": "The list of access entries.", - "items": { - "$ref": "PlusAclentryResource" - }, - "type": "array" - }, - "kind": { - "default": "plus#acl", - "description": "Identifies this resource as a collection of access controls. Value: \"plus#acl\".", - "type": "string" - } - }, - "type": "object" - }, - "Activity": { - "id": "Activity", - "properties": { - "access": { - "$ref": "Acl", - "description": "Identifies who has access to see this activity." - }, - "actor": { - "description": "The person who performed this activity.", - "properties": { - "clientSpecificActorInfo": { - "description": "Actor info specific to particular clients.", - "properties": { - "youtubeActorInfo": { - "description": "Actor info specific to YouTube clients.", - "properties": { - "channelId": { - "description": "ID of the YouTube channel owned by the Actor.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "displayName": { - "description": "The name of the actor, suitable for display.", - "type": "string" - }, - "id": { - "description": "The ID of the actor's Person resource.", - "type": "string" - }, - "image": { - "description": "The image representation of the actor.", - "properties": { - "url": { - "description": "The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.", - "type": "string" - } - }, - "type": "object" - }, - "name": { - "description": "An object representation of the individual components of name.", - "properties": { - "familyName": { - "description": "The family name (\"last name\") of the actor.", - "type": "string" - }, - "givenName": { - "description": "The given name (\"first name\") of the actor.", - "type": "string" - } - }, - "type": "object" - }, - "url": { - "description": "The link to the actor's Google profile.", - "type": "string" - }, - "verification": { - "description": "Verification status of actor.", - "properties": { - "adHocVerified": { - "description": "Verification for one-time or manual processes.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "address": { - "description": "Street address where this activity occurred.", - "type": "string" - }, - "annotation": { - "description": "Additional content added by the person who shared this activity, applicable only when resharing an activity.", - "type": "string" - }, - "crosspostSource": { - "description": "If this activity is a crosspost from another system, this property specifies the ID of the original activity.", - "type": "string" - }, - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "geocode": { - "description": "Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated.", - "type": "string" - }, - "id": { - "description": "The ID of this activity.", - "type": "string" - }, - "kind": { - "default": "plus#activity", - "description": "Identifies this resource as an activity. Value: \"plus#activity\".", - "type": "string" - }, - "location": { - "$ref": "Place", - "description": "The location where this activity occurred." - }, - "object": { - "description": "The object of this activity.", - "properties": { - "actor": { - "description": "If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's actor.", - "properties": { - "clientSpecificActorInfo": { - "description": "Actor info specific to particular clients.", - "properties": { - "youtubeActorInfo": { - "description": "Actor info specific to YouTube clients.", - "properties": { - "channelId": { - "description": "ID of the YouTube channel owned by the Actor.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "displayName": { - "description": "The original actor's name, which is suitable for display.", - "type": "string" - }, - "id": { - "description": "ID of the original actor.", - "type": "string" - }, - "image": { - "description": "The image representation of the original actor.", - "properties": { - "url": { - "description": "A URL that points to a thumbnail photo of the original actor.", - "type": "string" - } - }, - "type": "object" - }, - "url": { - "description": "A link to the original actor's Google profile.", - "type": "string" - }, - "verification": { - "description": "Verification status of actor.", - "properties": { - "adHocVerified": { - "description": "Verification for one-time or manual processes.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "attachments": { - "description": "The media objects attached to this activity.", - "items": { - "properties": { - "content": { - "description": "If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types.", - "type": "string" - }, - "displayName": { - "description": "The title of the attachment, such as a photo caption or an article title.", - "type": "string" - }, - "embed": { - "description": "If the attachment is a video, the embeddable link.", - "properties": { - "type": { - "description": "Media type of the link.", - "type": "string" - }, - "url": { - "description": "URL of the link.", - "type": "string" - } - }, - "type": "object" - }, - "fullImage": { - "description": "The full image URL for photo attachments.", - "properties": { - "height": { - "description": "The height, in pixels, of the linked resource.", - "format": "uint32", - "type": "integer" - }, - "type": { - "description": "Media type of the link.", - "type": "string" - }, - "url": { - "description": "URL of the image.", - "type": "string" - }, - "width": { - "description": "The width, in pixels, of the linked resource.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "id": { - "description": "The ID of the attachment.", - "type": "string" - }, - "image": { - "description": "The preview image for photos or videos.", - "properties": { - "height": { - "description": "The height, in pixels, of the linked resource.", - "format": "uint32", - "type": "integer" - }, - "type": { - "description": "Media type of the link.", - "type": "string" - }, - "url": { - "description": "Image URL.", - "type": "string" - }, - "width": { - "description": "The width, in pixels, of the linked resource.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "objectType": { - "description": "The type of media object. Possible values include, but are not limited to, the following values: \n- \"photo\" - A photo. \n- \"album\" - A photo album. \n- \"video\" - A video. \n- \"article\" - An article, specified by a link.", - "type": "string" - }, - "thumbnails": { - "description": "If the attachment is an album, this property is a list of potential additional thumbnails from the album.", - "items": { - "properties": { - "description": { - "description": "Potential name of the thumbnail.", - "type": "string" - }, - "image": { - "description": "Image resource.", - "properties": { - "height": { - "description": "The height, in pixels, of the linked resource.", - "format": "uint32", - "type": "integer" - }, - "type": { - "description": "Media type of the link.", - "type": "string" - }, - "url": { - "description": "Image url.", - "type": "string" - }, - "width": { - "description": "The width, in pixels, of the linked resource.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "url": { - "description": "URL of the webpage containing the image.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "url": { - "description": "The link to the attachment, which should be of type text/html.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "content": { - "description": "The HTML-formatted content, which is suitable for display.", - "type": "string" - }, - "id": { - "description": "The ID of the object. When resharing an activity, this is the ID of the activity that is being reshared.", - "type": "string" - }, - "objectType": { - "description": "The type of the object. Possible values include, but are not limited to, the following values: \n- \"note\" - Textual content. \n- \"activity\" - A Google+ activity.", - "type": "string" - }, - "originalContent": { - "description": "The content (text) as provided by the author, which is stored without any HTML formatting. When creating or updating an activity, this value must be supplied as plain text in the request.", - "type": "string" - }, - "plusoners": { - "description": "People who +1'd this activity.", - "properties": { - "selfLink": { - "description": "The URL for the collection of people who +1'd this activity.", - "type": "string" - }, - "totalItems": { - "description": "Total number of people who +1'd this activity.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "replies": { - "description": "Comments in reply to this activity.", - "properties": { - "selfLink": { - "description": "The URL for the collection of comments in reply to this activity.", - "type": "string" - }, - "totalItems": { - "description": "Total number of comments on this activity.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "resharers": { - "description": "People who reshared this activity.", - "properties": { - "selfLink": { - "description": "The URL for the collection of resharers.", - "type": "string" - }, - "totalItems": { - "description": "Total number of people who reshared this activity.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "url": { - "description": "The URL that points to the linked resource.", - "type": "string" - } - }, - "type": "object" - }, - "placeId": { - "description": "ID of the place where this activity occurred.", - "type": "string" - }, - "placeName": { - "description": "Name of the place where this activity occurred.", - "type": "string" - }, - "provider": { - "description": "The service provider that initially published this activity.", - "properties": { - "title": { - "description": "Name of the service provider.", - "type": "string" - } - }, - "type": "object" - }, - "published": { - "description": "The time at which this activity was initially published. Formatted as an RFC 3339 timestamp.", - "format": "date-time", - "type": "string" - }, - "radius": { - "description": "Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode.", - "type": "string" - }, - "title": { - "description": "Title of this activity.", - "type": "string" - }, - "updated": { - "description": "The time at which this activity was last updated. Formatted as an RFC 3339 timestamp.", - "format": "date-time", - "type": "string" - }, - "url": { - "description": "The link to this activity.", - "type": "string" - }, - "verb": { - "description": "This activity's verb, which indicates the action that was performed. Possible values include, but are not limited to, the following values: \n- \"post\" - Publish content to the stream. \n- \"share\" - Reshare an activity.", - "type": "string" - } - }, - "type": "object" - }, - "ActivityFeed": { - "id": "ActivityFeed", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "id": { - "description": "The ID of this collection of activities. Deprecated.", - "type": "string" - }, - "items": { - "description": "The activities in this page of results.", - "items": { - "$ref": "Activity" - }, - "type": "array" - }, - "kind": { - "default": "plus#activityFeed", - "description": "Identifies this resource as a collection of activities. Value: \"plus#activityFeed\".", - "type": "string" - }, - "nextLink": { - "description": "Link to the next page of activities.", - "type": "string" - }, - "nextPageToken": { - "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", - "type": "string" - }, - "selfLink": { - "description": "Link to this activity resource.", - "type": "string" - }, - "title": { - "description": "The title of this collection of activities, which is a truncated portion of the content.", - "type": "string" - }, - "updated": { - "description": "The time at which this collection of activities was last updated. Formatted as an RFC 3339 timestamp.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "Comment": { - "id": "Comment", - "properties": { - "actor": { - "description": "The person who posted this comment.", - "properties": { - "clientSpecificActorInfo": { - "description": "Actor info specific to particular clients.", - "properties": { - "youtubeActorInfo": { - "description": "Actor info specific to YouTube clients.", - "properties": { - "channelId": { - "description": "ID of the YouTube channel owned by the Actor.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "displayName": { - "description": "The name of this actor, suitable for display.", - "type": "string" - }, - "id": { - "description": "The ID of the actor.", - "type": "string" - }, - "image": { - "description": "The image representation of this actor.", - "properties": { - "url": { - "description": "The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.", - "type": "string" - } - }, - "type": "object" - }, - "url": { - "description": "A link to the Person resource for this actor.", - "type": "string" - }, - "verification": { - "description": "Verification status of actor.", - "properties": { - "adHocVerified": { - "description": "Verification for one-time or manual processes.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "id": { - "description": "The ID of this comment.", - "type": "string" - }, - "inReplyTo": { - "description": "The activity this comment replied to.", - "items": { - "properties": { - "id": { - "description": "The ID of the activity.", - "type": "string" - }, - "url": { - "description": "The URL of the activity.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "kind": { - "default": "plus#comment", - "description": "Identifies this resource as a comment. Value: \"plus#comment\".", - "type": "string" - }, - "object": { - "description": "The object of this comment.", - "properties": { - "content": { - "description": "The HTML-formatted content, suitable for display.", - "type": "string" - }, - "objectType": { - "default": "comment", - "description": "The object type of this comment. Possible values are: \n- \"comment\" - A comment in reply to an activity.", - "type": "string" - }, - "originalContent": { - "description": "The content (text) as provided by the author, stored without any HTML formatting. When creating or updating a comment, this value must be supplied as plain text in the request.", - "type": "string" - } - }, - "type": "object" - }, - "plusoners": { - "description": "People who +1'd this comment.", - "properties": { - "totalItems": { - "description": "Total number of people who +1'd this comment.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "published": { - "description": "The time at which this comment was initially published. Formatted as an RFC 3339 timestamp.", - "format": "date-time", - "type": "string" - }, - "selfLink": { - "description": "Link to this comment resource.", - "type": "string" - }, - "updated": { - "description": "The time at which this comment was last updated. Formatted as an RFC 3339 timestamp.", - "format": "date-time", - "type": "string" - }, - "verb": { - "default": "post", - "description": "This comment's verb, indicating what action was performed. Possible values are: \n- \"post\" - Publish content to the stream.", - "type": "string" - } - }, - "type": "object" - }, - "CommentFeed": { - "id": "CommentFeed", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "id": { - "description": "The ID of this collection of comments.", - "type": "string" - }, - "items": { - "description": "The comments in this page of results.", - "items": { - "$ref": "Comment" - }, - "type": "array" - }, - "kind": { - "default": "plus#commentFeed", - "description": "Identifies this resource as a collection of comments. Value: \"plus#commentFeed\".", - "type": "string" - }, - "nextLink": { - "description": "Link to the next page of activities.", - "type": "string" - }, - "nextPageToken": { - "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", - "type": "string" - }, - "title": { - "description": "The title of this collection of comments.", - "type": "string" - }, - "updated": { - "description": "The time at which this collection of comments was last updated. Formatted as an RFC 3339 timestamp.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "PeopleFeed": { - "id": "PeopleFeed", - "properties": { - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "items": { - "description": "The people in this page of results. Each item includes the id, displayName, image, and url for the person. To retrieve additional profile data, see the people.get method.", - "items": { - "$ref": "Person" - }, - "type": "array" - }, - "kind": { - "default": "plus#peopleFeed", - "description": "Identifies this resource as a collection of people. Value: \"plus#peopleFeed\".", - "type": "string" - }, - "nextPageToken": { - "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", - "type": "string" - }, - "selfLink": { - "description": "Link to this resource.", - "type": "string" - }, - "title": { - "description": "The title of this collection of people.", - "type": "string" - }, - "totalItems": { - "description": "The total number of people available in this list. The number of people in a response might be smaller due to paging. This might not be set for all collections.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Person": { - "id": "Person", - "properties": { - "aboutMe": { - "description": "A short biography for this person.", - "type": "string" - }, - "ageRange": { - "description": "The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning.", - "properties": { - "max": { - "description": "The age range's upper bound, if any. Possible values include, but are not limited to, the following: \n- \"17\" - for age 17 \n- \"20\" - for age 20", - "format": "int32", - "type": "integer" - }, - "min": { - "description": "The age range's lower bound, if any. Possible values include, but are not limited to, the following: \n- \"21\" - for age 21 \n- \"18\" - for age 18", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "birthday": { - "description": "The person's date of birth, represented as YYYY-MM-DD.", - "type": "string" - }, - "braggingRights": { - "description": "The \"bragging rights\" line of this person.", - "type": "string" - }, - "circledByCount": { - "description": "For followers who are visible, the number of people who have added this person or page to a circle.", - "format": "int32", - "type": "integer" - }, - "cover": { - "description": "The cover photo content.", - "properties": { - "coverInfo": { - "description": "Extra information about the cover photo.", - "properties": { - "leftImageOffset": { - "description": "The difference between the left position of the cover image and the actual displayed cover image. Only valid for banner layout.", - "format": "int32", - "type": "integer" - }, - "topImageOffset": { - "description": "The difference between the top position of the cover image and the actual displayed cover image. Only valid for banner layout.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "coverPhoto": { - "description": "The person's primary cover image.", - "properties": { - "height": { - "description": "The height of the image.", - "format": "int32", - "type": "integer" - }, - "url": { - "description": "The URL of the image.", - "type": "string" - }, - "width": { - "description": "The width of the image.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "layout": { - "description": "The layout of the cover art. Possible values include, but are not limited to, the following values: \n- \"banner\" - One large image banner.", - "type": "string" - } - }, - "type": "object" - }, - "currentLocation": { - "description": "(this field is not currently used)", - "type": "string" - }, - "displayName": { - "description": "The name of this person, which is suitable for display.", - "type": "string" - }, - "domain": { - "description": "The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.", - "type": "string" - }, - "emails": { - "description": "A list of email addresses that this person has, including their Google account email address, and the public verified email addresses on their Google+ profile. The plus.profile.emails.read scope is needed to retrieve these email addresses, or the email scope can be used to retrieve just the Google account email address.", - "items": { - "properties": { - "type": { - "description": "The type of address. Possible values include, but are not limited to, the following values: \n- \"account\" - Google account email address. \n- \"home\" - Home email address. \n- \"work\" - Work email address. \n- \"other\" - Other.", - "type": "string" - }, - "value": { - "description": "The email address.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "etag": { - "description": "ETag of this response for caching purposes.", - "type": "string" - }, - "gender": { - "description": "The person's gender. Possible values include, but are not limited to, the following values: \n- \"male\" - Male gender. \n- \"female\" - Female gender. \n- \"other\" - Other.", - "type": "string" - }, - "id": { - "description": "The ID of this person.", - "type": "string" - }, - "image": { - "description": "The representation of the person's profile photo.", - "properties": { - "isDefault": { - "description": "Whether the person's profile photo is the default one", - "type": "boolean" - }, - "url": { - "description": "The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.", - "type": "string" - } - }, - "type": "object" - }, - "isPlusUser": { - "description": "Whether this user has signed up for Google+.", - "type": "boolean" - }, - "kind": { - "default": "plus#person", - "description": "Identifies this resource as a person. Value: \"plus#person\".", - "type": "string" - }, - "language": { - "description": "The user's preferred language for rendering.", - "type": "string" - }, - "name": { - "description": "An object representation of the individual components of a person's name.", - "properties": { - "familyName": { - "description": "The family name (last name) of this person.", - "type": "string" - }, - "formatted": { - "description": "The full name of this person, including middle names, suffixes, etc.", - "type": "string" - }, - "givenName": { - "description": "The given name (first name) of this person.", - "type": "string" - }, - "honorificPrefix": { - "description": "The honorific prefixes (such as \"Dr.\" or \"Mrs.\") for this person.", - "type": "string" - }, - "honorificSuffix": { - "description": "The honorific suffixes (such as \"Jr.\") for this person.", - "type": "string" - }, - "middleName": { - "description": "The middle name of this person.", - "type": "string" - } - }, - "type": "object" - }, - "nickname": { - "description": "The nickname of this person.", - "type": "string" - }, - "objectType": { - "description": "Type of person within Google+. Possible values include, but are not limited to, the following values: \n- \"person\" - represents an actual person. \n- \"page\" - represents a page.", - "type": "string" - }, - "occupation": { - "description": "The occupation of this person.", - "type": "string" - }, - "organizations": { - "description": "A list of current or past organizations with which this person is associated.", - "items": { - "properties": { - "department": { - "description": "The department within the organization. Deprecated.", - "type": "string" - }, - "description": { - "description": "A short description of the person's role in this organization. Deprecated.", - "type": "string" - }, - "endDate": { - "description": "The date that the person left this organization.", - "type": "string" - }, - "location": { - "description": "The location of this organization. Deprecated.", - "type": "string" - }, - "name": { - "description": "The name of the organization.", - "type": "string" - }, - "primary": { - "description": "If \"true\", indicates this organization is the person's primary one, which is typically interpreted as the current one.", - "type": "boolean" - }, - "startDate": { - "description": "The date that the person joined this organization.", - "type": "string" - }, - "title": { - "description": "The person's job title or role within the organization.", - "type": "string" - }, - "type": { - "description": "The type of organization. Possible values include, but are not limited to, the following values: \n- \"work\" - Work. \n- \"school\" - School.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "placesLived": { - "description": "A list of places where this person has lived.", - "items": { - "properties": { - "primary": { - "description": "If \"true\", this place of residence is this person's primary residence.", - "type": "boolean" - }, - "value": { - "description": "A place where this person has lived. For example: \"Seattle, WA\", \"Near Toronto\".", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "plusOneCount": { - "description": "If a Google+ Page, the number of people who have +1'd this page.", - "format": "int32", - "type": "integer" - }, - "relationshipStatus": { - "description": "The person's relationship status. Possible values include, but are not limited to, the following values: \n- \"single\" - Person is single. \n- \"in_a_relationship\" - Person is in a relationship. \n- \"engaged\" - Person is engaged. \n- \"married\" - Person is married. \n- \"its_complicated\" - The relationship is complicated. \n- \"open_relationship\" - Person is in an open relationship. \n- \"widowed\" - Person is widowed. \n- \"in_domestic_partnership\" - Person is in a domestic partnership. \n- \"in_civil_union\" - Person is in a civil union.", - "type": "string" - }, - "skills": { - "description": "The person's skills.", - "type": "string" - }, - "tagline": { - "description": "The brief description (tagline) of this person.", - "type": "string" - }, - "url": { - "description": "The URL of this person's profile.", - "type": "string" - }, - "urls": { - "description": "A list of URLs for this person.", - "items": { - "properties": { - "label": { - "description": "The label of the URL.", - "type": "string" - }, - "type": { - "description": "The type of URL. Possible values include, but are not limited to, the following values: \n- \"otherProfile\" - URL for another profile. \n- \"contributor\" - URL to a site for which this person is a contributor. \n- \"website\" - URL for this Google+ Page's primary website. \n- \"other\" - Other URL.", - "type": "string" - }, - "value": { - "description": "The URL value.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "verified": { - "description": "Whether the person or Google+ Page has been verified.", - "type": "boolean" - } - }, - "type": "object" - }, - "Place": { - "id": "Place", - "properties": { - "address": { - "description": "The physical address of the place.", - "properties": { - "formatted": { - "description": "The formatted address for display.", - "type": "string" - } - }, - "type": "object" - }, - "displayName": { - "description": "The display name of the place.", - "type": "string" - }, - "id": { - "description": "The id of the place.", - "type": "string" - }, - "kind": { - "default": "plus#place", - "description": "Identifies this resource as a place. Value: \"plus#place\".", - "type": "string" - }, - "position": { - "description": "The position of the place.", - "properties": { - "latitude": { - "description": "The latitude of this position.", - "format": "double", - "type": "number" - }, - "longitude": { - "description": "The longitude of this position.", - "format": "double", - "type": "number" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "PlusAclentryResource": { - "id": "PlusAclentryResource", - "properties": { - "displayName": { - "description": "A descriptive name for this entry. Suitable for display.", - "type": "string" - }, - "id": { - "description": "The ID of the entry. For entries of type \"person\" or \"circle\", this is the ID of the resource. For other types, this property is not set.", - "type": "string" - }, - "type": { - "description": "The type of entry describing to whom access is granted. Possible values are: \n- \"person\" - Access to an individual. \n- \"circle\" - Access to members of a circle. \n- \"myCircles\" - Access to members of all the person's circles. \n- \"extendedCircles\" - Access to members of all the person's circles, plus all of the people in their circles. \n- \"domain\" - Access to members of the person's Google Apps domain. \n- \"public\" - Access to anyone on the web.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "plus/v1/", - "title": "Google+ API", - "version": "v1" -} \ No newline at end of file diff --git a/discovery/policysimulator-v1beta1.json b/discovery/policysimulator-v1beta1.json deleted file mode 100644 index 0e9ef97a283..00000000000 --- a/discovery/policysimulator-v1beta1.json +++ /dev/null @@ -1,984 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://policysimulator.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Policy Simulator", - "description": " Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/iam/docs/simulating-access", - "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": "policysimulator:v1beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://policysimulator.mtls.googleapis.com/", - "name": "policysimulator", - "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": { - "folders": { - "resources": { - "locations": { - "resources": { - "orgPolicyViolationsPreviews": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "policysimulator.folders.locations.orgPolicyViolationsPreviews.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^folders/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "replays": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "policysimulator.folders.locations.replays.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^folders/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/replays/{replaysId}/operations", - "httpMethod": "GET", - "id": "policysimulator.folders.locations.replays.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^folders/[^/]+/locations/[^/]+/replays/[^/]+/operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - } - }, - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/operations/{operationsId}", - "httpMethod": "GET", - "id": "policysimulator.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1beta1/operations", - "httpMethod": "GET", - "id": "policysimulator.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "organizations": { - "resources": { - "locations": { - "resources": { - "orgPolicyViolationsPreviews": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "replays": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "policysimulator.organizations.locations.replays.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/operations", - "httpMethod": "GET", - "id": "policysimulator.organizations.locations.replays.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - } - }, - "projects": { - "resources": { - "locations": { - "resources": { - "orgPolicyViolationsPreviews": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "policysimulator.projects.locations.orgPolicyViolationsPreviews.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "replays": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "policysimulator.projects.locations.replays.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/operations", - "httpMethod": "GET", - "id": "policysimulator.projects.locations.replays.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - } - } - }, - "revision": "20230226", - "rootUrl": "https://policysimulator.googleapis.com/", - "schemas": { - "GoogleCloudPolicysimulatorV1Replay": { - "description": "A resource describing a `Replay`, or simulation.", - "id": "GoogleCloudPolicysimulatorV1Replay", - "properties": { - "config": { - "$ref": "GoogleCloudPolicysimulatorV1ReplayConfig", - "description": "Required. The configuration used for the `Replay`." - }, - "name": { - "description": "Output only. The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`", - "readOnly": true, - "type": "string" - }, - "resultsSummary": { - "$ref": "GoogleCloudPolicysimulatorV1ReplayResultsSummary", - "description": "Output only. Summary statistics about the replayed log entries.", - "readOnly": true - }, - "state": { - "description": "Output only. The current state of the `Replay`.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "RUNNING", - "SUCCEEDED", - "FAILED" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "The `Replay` has not started yet.", - "The `Replay` is currently running.", - "The `Replay` has successfully completed.", - "The `Replay` has finished with an error." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudPolicysimulatorV1ReplayConfig": { - "description": "The configuration used for a Replay.", - "id": "GoogleCloudPolicysimulatorV1ReplayConfig", - "properties": { - "logSource": { - "description": "The logs to use as input for the Replay.", - "enum": [ - "LOG_SOURCE_UNSPECIFIED", - "RECENT_ACCESSES" - ], - "enumDescriptions": [ - "An unspecified log source. If the log source is unspecified, the Replay defaults to using `RECENT_ACCESSES`.", - "All access logs from the last 90 days. These logs may not include logs from the most recent 7 days." - ], - "type": "string" - }, - "policyOverlay": { - "additionalProperties": { - "$ref": "GoogleIamV1Policy" - }, - "description": "A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, `//cloudresourcemanager.googleapis.com/projects/my-project`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudPolicysimulatorV1ReplayOperationMetadata": { - "description": "Metadata about a Replay operation.", - "id": "GoogleCloudPolicysimulatorV1ReplayOperationMetadata", - "properties": { - "startTime": { - "description": "Time when the request was received.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudPolicysimulatorV1ReplayResultsSummary": { - "description": "Summary statistics about the replayed log entries.", - "id": "GoogleCloudPolicysimulatorV1ReplayResultsSummary", - "properties": { - "differenceCount": { - "description": "The number of replayed log entries with a difference between baseline and simulated policies.", - "format": "int32", - "type": "integer" - }, - "errorCount": { - "description": "The number of log entries that could not be replayed.", - "format": "int32", - "type": "integer" - }, - "logCount": { - "description": "The total number of log entries replayed.", - "format": "int32", - "type": "integer" - }, - "newestDate": { - "$ref": "GoogleTypeDate", - "description": "The date of the newest log entry replayed." - }, - "oldestDate": { - "$ref": "GoogleTypeDate", - "description": "The date of the oldest log entry replayed." - }, - "unchangedCount": { - "description": "The number of replayed log entries with no difference between baseline and simulated policies.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudPolicysimulatorV1beta1Replay": { - "description": "A resource describing a `Replay`, or simulation.", - "id": "GoogleCloudPolicysimulatorV1beta1Replay", - "properties": { - "config": { - "$ref": "GoogleCloudPolicysimulatorV1beta1ReplayConfig", - "description": "Required. The configuration used for the `Replay`." - }, - "name": { - "description": "Output only. The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`", - "readOnly": true, - "type": "string" - }, - "resultsSummary": { - "$ref": "GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary", - "description": "Output only. Summary statistics about the replayed log entries.", - "readOnly": true - }, - "state": { - "description": "Output only. The current state of the `Replay`.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "RUNNING", - "SUCCEEDED", - "FAILED" - ], - "enumDescriptions": [ - "The state is unspecified.", - "The `Replay` has not started yet.", - "The `Replay` is currently running.", - "The `Replay` has successfully completed.", - "The `Replay` has finished with an error." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudPolicysimulatorV1beta1ReplayConfig": { - "description": "The configuration used for a Replay.", - "id": "GoogleCloudPolicysimulatorV1beta1ReplayConfig", - "properties": { - "logSource": { - "description": "The logs to use as input for the Replay.", - "enum": [ - "LOG_SOURCE_UNSPECIFIED", - "RECENT_ACCESSES" - ], - "enumDescriptions": [ - "An unspecified log source. If the log source is unspecified, the Replay defaults to using `RECENT_ACCESSES`.", - "All access logs from the last 90 days. These logs may not include logs from the most recent 7 days." - ], - "type": "string" - }, - "policyOverlay": { - "additionalProperties": { - "$ref": "GoogleIamV1Policy" - }, - "description": "A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, `//cloudresourcemanager.googleapis.com/projects/my-project`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudPolicysimulatorV1beta1ReplayOperationMetadata": { - "description": "Metadata about a Replay operation.", - "id": "GoogleCloudPolicysimulatorV1beta1ReplayOperationMetadata", - "properties": { - "startTime": { - "description": "Time when the request was received.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary": { - "description": "Summary statistics about the replayed log entries.", - "id": "GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary", - "properties": { - "differenceCount": { - "description": "The number of replayed log entries with a difference between baseline and simulated policies.", - "format": "int32", - "type": "integer" - }, - "errorCount": { - "description": "The number of log entries that could not be replayed.", - "format": "int32", - "type": "integer" - }, - "logCount": { - "description": "The total number of log entries replayed.", - "format": "int32", - "type": "integer" - }, - "newestDate": { - "$ref": "GoogleTypeDate", - "description": "The date of the newest log entry replayed." - }, - "oldestDate": { - "$ref": "GoogleTypeDate", - "description": "The date of the oldest log entry replayed." - }, - "unchangedCount": { - "description": "The number of replayed log entries with no difference between baseline and simulated policies.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleIamV1AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", - "id": "GoogleIamV1AuditConfig", - "properties": { - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.", - "items": { - "$ref": "GoogleIamV1AuditLogConfig" - }, - "type": "array" - }, - "service": { - "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleIamV1AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", - "id": "GoogleIamV1AuditLogConfig", - "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logType": { - "description": "The log type that this config enables.", - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleIamV1Binding": { - "description": "Associates `members`, or principals, with a `role`.", - "id": "GoogleIamV1Binding", - "properties": { - "condition": { - "$ref": "GoogleTypeExpr", - "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." - }, - "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.", - "items": { - "type": "string" - }, - "type": "array" - }, - "role": { - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleIamV1Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", - "id": "GoogleIamV1Policy", - "properties": { - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", - "items": { - "$ref": "GoogleIamV1AuditConfig" - }, - "type": "array" - }, - "bindings": { - "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", - "items": { - "$ref": "GoogleIamV1Binding" - }, - "type": "array" - }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleLongrunningListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "GoogleLongrunningListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "GoogleLongrunningOperation" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleLongrunningOperation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "GoogleLongrunningOperation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleRpcStatus": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "GoogleRpcStatus", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleTypeDate": { - "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", - "id": "GoogleTypeDate", - "properties": { - "day": { - "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", - "format": "int32", - "type": "integer" - }, - "month": { - "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", - "format": "int32", - "type": "integer" - }, - "year": { - "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleTypeExpr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "GoogleTypeExpr", - "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" - }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", - "type": "string" - }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Policy Simulator API", - "version": "v1beta1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/policytroubleshooter-v1.json b/discovery/policytroubleshooter-v1.json index 90179c16923..24cd9b266f9 100644 --- a/discovery/policytroubleshooter-v1.json +++ b/discovery/policytroubleshooter-v1.json @@ -128,7 +128,7 @@ } } }, - "revision": "20240128", + "revision": "20240121", "rootUrl": "https://policytroubleshooter.googleapis.com/", "schemas": { "GoogleCloudPolicytroubleshooterV1AccessTuple": { diff --git a/discovery/policytroubleshooter-v1beta.json b/discovery/policytroubleshooter-v1beta.json index b1cdeaac0ae..c5c7d94cc46 100644 --- a/discovery/policytroubleshooter-v1beta.json +++ b/discovery/policytroubleshooter-v1beta.json @@ -128,7 +128,7 @@ } } }, - "revision": "20240128", + "revision": "20240121", "rootUrl": "https://policytroubleshooter.googleapis.com/", "schemas": { "GoogleCloudPolicytroubleshooterV1betaAccessTuple": { diff --git a/discovery/poly-v1.json b/discovery/poly-v1.json deleted file mode 100644 index beec23b27aa..00000000000 --- a/discovery/poly-v1.json +++ /dev/null @@ -1,805 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://poly.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Poly Service", - "description": "The Poly API provides read access to assets hosted on poly.google.com to all, and upload access to poly.google.com for whitelisted accounts. ", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/poly/", - "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": "poly:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://poly.mtls.googleapis.com/", - "name": "poly", - "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": { - "assets": { - "methods": { - "get": { - "description": "Returns detailed information about an asset given its name. PRIVATE assets are returned only if the currently authenticated user (via OAuth token) is the author of the asset.", - "flatPath": "v1/assets/{assetsId}", - "httpMethod": "GET", - "id": "poly.assets.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. An asset's name in the form `assets/{ASSET_ID}`.", - "location": "path", - "pattern": "^assets/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Asset" - } - }, - "list": { - "description": "Lists all public, remixable assets. These are assets with an access level of PUBLIC and published under the CC-By license.", - "flatPath": "v1/assets", - "httpMethod": "GET", - "id": "poly.assets.list", - "parameterOrder": [], - "parameters": { - "category": { - "description": "Filter assets based on the specified category. Supported values are: `animals`, `architecture`, `art`, `food`, `nature`, `objects`, `people`, `scenes`, `technology`, and `transport`.", - "location": "query", - "type": "string" - }, - "curated": { - "description": "Return only assets that have been curated by the Poly team.", - "location": "query", - "type": "boolean" - }, - "format": { - "description": "Return only assets with the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.", - "location": "query", - "type": "string" - }, - "keywords": { - "description": "One or more search terms to be matched against all text that Poly has indexed for assets, which includes display_name, description, and tags. Multiple keywords should be separated by spaces.", - "location": "query", - "type": "string" - }, - "maxComplexity": { - "description": "Returns assets that are of the specified complexity or less. Defaults to COMPLEX. For example, a request for MEDIUM assets also includes SIMPLE assets.", - "enum": [ - "COMPLEXITY_UNSPECIFIED", - "COMPLEX", - "MEDIUM", - "SIMPLE" - ], - "enumDescriptions": [ - "No complexity specified. This is equivalent to omitting the filter.", - "Highly-complex.", - "Averagely-complex.", - "Simple." - ], - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets based on a combination of popularity and other features.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of assets to be returned. This value must be between `1` and `100`. Defaults to `20`.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Specifies a continuation token from a previous search whose results were split into multiple pages. To get the next page, submit the same request specifying the value from next_page_token.", - "location": "query", - "type": "string" - } - }, - "path": "v1/assets", - "response": { - "$ref": "ListAssetsResponse" - } - } - } - }, - "users": { - "resources": { - "assets": { - "methods": { - "list": { - "description": "Lists assets authored by the given user. Only the value 'me', representing the currently-authenticated user, is supported. May include assets with an access level of PRIVATE or UNLISTED and assets which are All Rights Reserved for the currently-authenticated user.", - "flatPath": "v1/users/{usersId}/assets", - "httpMethod": "GET", - "id": "poly.users.assets.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "format": { - "description": "Return only assets with the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.", - "location": "query", - "type": "string" - }, - "name": { - "description": "A valid user id. Currently, only the special value 'me', representing the currently-authenticated user is supported. To use 'me', you must pass an OAuth token with the request.", - "location": "path", - "pattern": "^users/[^/]+$", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets based on a combination of popularity and other features.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of assets to be returned. This value must be between `1` and `100`. Defaults to `20`.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Specifies a continuation token from a previous search whose results were split into multiple pages. To get the next page, submit the same request specifying the value from next_page_token.", - "location": "query", - "type": "string" - }, - "visibility": { - "description": "The visibility of the assets to be returned. Defaults to VISIBILITY_UNSPECIFIED which returns all assets.", - "enum": [ - "VISIBILITY_UNSPECIFIED", - "PUBLISHED", - "PRIVATE" - ], - "enumDescriptions": [ - "No visibility specified. Returns all assets.", - "Returns only published assets.", - "Returns only private assets." - ], - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}/assets", - "response": { - "$ref": "ListUserAssetsResponse" - } - } - } - }, - "likedassets": { - "methods": { - "list": { - "description": "Lists assets that the user has liked. Only the value 'me', representing the currently-authenticated user, is supported. May include assets with an access level of UNLISTED.", - "flatPath": "v1/users/{usersId}/likedassets", - "httpMethod": "GET", - "id": "poly.users.likedassets.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "format": { - "description": "Return only assets with the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.", - "location": "query", - "type": "string" - }, - "name": { - "description": "A valid user id. Currently, only the special value 'me', representing the currently-authenticated user is supported. To use 'me', you must pass an OAuth token with the request.", - "location": "path", - "pattern": "^users/[^/]+$", - "required": true, - "type": "string" - }, - "orderBy": { - "description": "Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`, 'LIKED_TIME'. Defaults to `LIKED_TIME`, which ranks assets based on how recently they were liked.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of assets to be returned. This value must be between `1` and `100`. Defaults to `20`.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Specifies a continuation token from a previous search whose results were split into multiple pages. To get the next page, submit the same request specifying the value from next_page_token.", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}/likedassets", - "response": { - "$ref": "ListLikedAssetsResponse" - } - } - } - } - } - } - }, - "revision": "20201006", - "rootUrl": "https://poly.googleapis.com/", - "schemas": { - "Asset": { - "description": "Represents and describes an asset in the Poly library. An asset is a 3D model or scene created using [Tilt Brush](//www.tiltbrush.com), [Blocks](//vr.google.com/blocks/), or any 3D program that produces a file that can be upload to Poly.", - "id": "Asset", - "properties": { - "authorName": { - "description": "The author's publicly visible name. Use this name when giving credit to the author. For more information, see [Licensing](/poly/discover/licensing).", - "type": "string" - }, - "createTime": { - "description": "For published assets, the time when the asset was published. For unpublished assets, the time when the asset was created.", - "format": "google-datetime", - "type": "string" - }, - "description": { - "description": "The human-readable description, set by the asset's author.", - "type": "string" - }, - "displayName": { - "description": "The human-readable name, set by the asset's author.", - "type": "string" - }, - "formats": { - "description": "A list of Formats where each format describes one representation of the asset.", - "items": { - "$ref": "Format" - }, - "type": "array" - }, - "isCurated": { - "description": "Whether this asset has been curated by the Poly team.", - "type": "boolean" - }, - "license": { - "description": "The license under which the author has made the asset available for use, if any.", - "enum": [ - "UNKNOWN", - "CREATIVE_COMMONS_BY", - "ALL_RIGHTS_RESERVED" - ], - "enumDescriptions": [ - "Unknown license value.", - "Creative Commons CC-BY 3.0. https://creativecommons.org/licenses/by/3.0/", - "Unlicensed: All Rights Reserved by the author. Unlicensed assets are **not** returned by List Assets." - ], - "type": "string" - }, - "metadata": { - "description": "Application-defined opaque metadata for this asset. This field is only returned when querying for the signed-in user's own assets, not for public assets. This string is limited to 1K chars. It is up to the creator of the asset to define the format for this string (for example, JSON).", - "type": "string" - }, - "name": { - "description": "The unique identifier for the asset in the form: `assets/{ASSET_ID}`.", - "type": "string" - }, - "presentationParams": { - "$ref": "PresentationParams", - "description": "Hints for displaying the asset. Note that these parameters are not immutable; the author of an asset may change them post-publication." - }, - "remixInfo": { - "$ref": "RemixInfo", - "description": "The remix info for the asset." - }, - "thumbnail": { - "$ref": "File", - "description": "The thumbnail image for the asset." - }, - "updateTime": { - "description": "The time when the asset was last modified. For published assets, whose contents are immutable, the update time changes only when metadata properties, such as visibility, are updated.", - "format": "google-datetime", - "type": "string" - }, - "visibility": { - "description": "The visibility of the asset and who can access it.", - "enum": [ - "VISIBILITY_UNSPECIFIED", - "PRIVATE", - "UNLISTED", - "PUBLIC" - ], - "enumDescriptions": [ - "Unknown (and invalid) visibility.", - "Access to the asset and its underlying files and resources is restricted to the author. **Authentication:** You must supply an OAuth token that corresponds to the author's account.", - "Access to the asset and its underlying files and resources is available to anyone with the asset's name. Unlisted assets are **not** returned by List Assets.", - "Access to the asset and its underlying files and resources is available to anyone." - ], - "type": "string" - } - }, - "type": "object" - }, - "AssetImportMessage": { - "description": "A message generated by the asset import process.", - "id": "AssetImportMessage", - "properties": { - "code": { - "description": "The code associated with this message.", - "enum": [ - "CODE_UNSPECIFIED", - "NO_IMPORTABLE_FILE", - "EMPTY_MODEL", - "OBJ_PARSE_ERROR", - "EXPIRED", - "IMAGE_ERROR", - "EXTRA_FILES_WITH_ARCHIVE", - "DEFAULT_MATERIALS", - "FATAL_ERROR", - "INVALID_ELEMENT_TYPE" - ], - "enumDescriptions": [ - "Unknown error code.", - "The asset import did not include any file that we can import (i.e. an OBJ file).", - "When generating the preview for the import, no geometry was found.", - "A problem was encountered while parsing the OBJ file. The converter makes a 'best effort' attempt to continue when encountering such issues. In some cases the resulting preview model may still be acceptable. The details can be found in the parse error message.", - "The importer was not able to import the model before the expiration time.", - "The importer encountered a problem reading an image file.", - "Multiple files were encountered in addition to a ZIP archive. When uploading an archive only one file is permitted.", - "Default materials are used in the model. This means that one or more faces is using default materials either because no usemtl statement was specified or because the requested material was not found due to a missing material file or bad material name. This does not cover the case of missing textures.", - "The importer encountered a fatal error and was unable to import the model.", - "The import includes a file of an unsupported element type. The file path is specified." - ], - "type": "string" - }, - "filePath": { - "description": "An optional file path. Only present for those error codes that specify it.", - "type": "string" - }, - "imageError": { - "$ref": "ImageError", - "description": "An optional image error. Only present for INVALID_IMAGE_FILE." - }, - "objParseError": { - "$ref": "ObjParseError", - "description": "An optional OBJ parse error. Only present for OBJ_PARSE_ERROR." - } - }, - "type": "object" - }, - "File": { - "description": "Represents a file in Poly, which can be a root, resource, or thumbnail file.", - "id": "File", - "properties": { - "contentType": { - "description": "The MIME content-type, such as `image/png`. For more information, see [MIME types](//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types).", - "type": "string" - }, - "relativePath": { - "description": "The path of the resource file relative to the root file. For root or thumbnail files, this is just the filename.", - "type": "string" - }, - "url": { - "description": "The URL where the file data can be retrieved.", - "type": "string" - } - }, - "type": "object" - }, - "Format": { - "description": "The same asset can be represented in different formats, for example, a [WaveFront .obj](//en.wikipedia.org/wiki/Wavefront_.obj_file) file with its corresponding .mtl file or a [Khronos glTF](//www.khronos.org/gltf) file with its corresponding .glb binary data. A format refers to a specific representation of an asset and contains all information needed to retrieve and describe this representation.", - "id": "Format", - "properties": { - "formatComplexity": { - "$ref": "FormatComplexity", - "description": "Complexity stats about this representation of the asset." - }, - "formatType": { - "description": "A short string that identifies the format type of this representation. Possible values are: `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.", - "type": "string" - }, - "resources": { - "description": "A list of dependencies of the root element. May include, but is not limited to, materials, textures, and shader programs.", - "items": { - "$ref": "File" - }, - "type": "array" - }, - "root": { - "$ref": "File", - "description": "The root of the file hierarchy. This will always be populated. For some format_types - such as `TILT`, which are self-contained - this is all of the data. Other types - such as `OBJ` - often reference other data elements. These are contained in the resources field." - } - }, - "type": "object" - }, - "FormatComplexity": { - "description": "Information on the complexity of this Format.", - "id": "FormatComplexity", - "properties": { - "lodHint": { - "description": "A non-negative integer that represents the level of detail (LOD) of this format relative to other formats of the same asset with the same format_type. This hint allows you to sort formats from the most-detailed (0) to least-detailed (integers greater than 0).", - "format": "int32", - "type": "integer" - }, - "triangleCount": { - "description": "The estimated number of triangles.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "ImageError": { - "description": "A message resulting from reading an image file.", - "id": "ImageError", - "properties": { - "code": { - "description": "The type of image error encountered. Optional for older image errors.", - "enum": [ - "CODE_UNSPECIFIED", - "INVALID_IMAGE", - "IMAGE_TOO_BIG", - "WRONG_IMAGE_TYPE" - ], - "enumDescriptions": [ - "Unknown error code.", - "We were unable to read the image file.", - "The image size is too large.", - "The image data does not match the expected MIME type of the image." - ], - "type": "string" - }, - "filePath": { - "description": "The file path in the import of the image that was rejected.", - "type": "string" - } - }, - "type": "object" - }, - "ListAssetsResponse": { - "description": "A response message from a request to list.", - "id": "ListAssetsResponse", - "properties": { - "assets": { - "description": "A list of assets that match the criteria specified in the request.", - "items": { - "$ref": "Asset" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The continuation token for retrieving the next page. If empty, indicates that there are no more pages. To get the next page, submit the same request specifying this value as the page_token.", - "type": "string" - }, - "totalSize": { - "description": "The total number of assets in the list, without pagination.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ListLikedAssetsResponse": { - "description": "A response message from a request to list.", - "id": "ListLikedAssetsResponse", - "properties": { - "assets": { - "description": "A list of assets that match the criteria specified in the request.", - "items": { - "$ref": "Asset" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The continuation token for retrieving the next page. If empty, indicates that there are no more pages. To get the next page, submit the same request specifying this value as the page_token.", - "type": "string" - }, - "totalSize": { - "description": "The total number of assets in the list, without pagination.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ListUserAssetsResponse": { - "description": "A response message from a request to list.", - "id": "ListUserAssetsResponse", - "properties": { - "nextPageToken": { - "description": "The continuation token for retrieving the next page. If empty, indicates that there are no more pages. To get the next page, submit the same request specifying this value as the page_token.", - "type": "string" - }, - "totalSize": { - "description": "The total number of assets in the list, without pagination.", - "format": "int32", - "type": "integer" - }, - "userAssets": { - "description": "A list of UserAssets matching the request.", - "items": { - "$ref": "UserAsset" - }, - "type": "array" - } - }, - "type": "object" - }, - "ObjParseError": { - "description": "Details of an error resulting from parsing an OBJ file", - "id": "ObjParseError", - "properties": { - "code": { - "description": "The type of problem found (required).", - "enum": [ - "CODE_UNSPECIFIED", - "INCONSISTENT_VERTEX_REFS", - "INVALID_COMMAND", - "INVALID_NUMBER", - "INVALID_VERTEX_REF", - "MISSING_GEOMETRIC_VERTEX", - "MISSING_TOKEN", - "TOO_FEW_DIMENSIONS", - "TOO_FEW_VERTICES", - "TOO_MANY_DIMENSIONS", - "UNSUPPORTED_COMMAND", - "UNUSED_TOKENS", - "VERTEX_NOT_FOUND", - "NUMBER_OUT_OF_RANGE", - "INVALID_VALUE", - "INVALID_TEXTURE_OPTION", - "TOO_MANY_PROBLEMS", - "MISSING_FILE_NAME", - "FILE_NOT_FOUND", - "UNKNOWN_MATERIAL", - "NO_MATERIAL_DEFINED", - "INVALID_SMOOTHING_GROUP", - "MISSING_VERTEX_COLORS", - "FILE_SUBSTITUTION", - "LINE_TOO_LONG", - "INVALID_FILE_PATH" - ], - "enumDescriptions": [ - "Unknown error code.", - "Vertex references are specified in an inconsistent style for a face (e.g. some vertices specify texture vertices but some don't).", - "The command is invalid.", - "A invalid number was specified.", - "An invalid vertex reference was specified.", - "A vertex reference does not specify a geometric vertex.", - "An expected token was not found.", - "The vertex specified too few dimensions for its usage.", - "The face specified too few vertices.", - "The vertex specified too many dimensions for its usage.", - "This command is a valid OBJ command but is not supported. This error is only generated for the first instance of such a command.", - "This line ended with unparsed token characters.", - "The specified vertex was not found.", - "The specified number was too large or small for its usage.", - "The specified parameter value was not recognized.", - "The specified texture option is not valid.", - "The maximum number of problems to report was reached. Parsing continues, but further problems will be ignored.", - "An expected file name was not specified.", - "The specified file was not found in the import.", - "The specified material was not found in any material definition in the import.", - "Material parameters were specified before the first material definition.", - "The smoothing group is not valid.", - "Vertex colors were specified for only some vertices of a face.", - "A missing file was found at a different file path.", - "A line in an OBJ or MTL file exceeded the maximum line length.", - "The file path was invalid. Only relative paths are supported." - ], - "type": "string" - }, - "endIndex": { - "description": "The ending character index at which the problem was found.", - "format": "int32", - "type": "integer" - }, - "filePath": { - "description": "The file path in which the problem was found.", - "type": "string" - }, - "line": { - "description": "The text of the line. Note that this may be truncated if the line was very long. This may not include the error if it occurs after line truncation.", - "type": "string" - }, - "lineNumber": { - "description": "Line number at which the problem was found.", - "format": "int32", - "type": "integer" - }, - "startIndex": { - "description": "The starting character index at which the problem was found.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "PresentationParams": { - "description": "Hints for displaying the asset, based on information available when the asset was uploaded.", - "id": "PresentationParams", - "properties": { - "backgroundColor": { - "description": "A background color which could be used for displaying the 3D asset in a 'thumbnail' or 'palette' style view. Authors have the option to set this background color when publishing or editing their asset. This is represented as a six-digit hexademical triplet specifying the RGB components of the background color, e.g. #FF0000 for Red.", - "type": "string" - }, - "colorSpace": { - "description": "The materials' diffuse/albedo color. This does not apply to vertex colors or texture maps.", - "enum": [ - "UNKNOWN", - "LINEAR", - "GAMMA" - ], - "enumDescriptions": [ - "Invalid color value.", - "Linear color values. Default.", - "Colors should be converted to linear by assuming gamma = 2.0." - ], - "type": "string" - }, - "orientingRotation": { - "$ref": "Quaternion", - "description": "A rotation that should be applied to the object root to make it upright. More precisely, this quaternion transforms from \"object space\" (the space in which the object is defined) to \"presentation space\", a coordinate system where +Y is up, +X is right, -Z is forward. For example, if the object is the Eiffel Tower, in its local coordinate system the object might be laid out such that the base of the tower is on the YZ plane and the tip of the tower is towards positive X. In this case this quaternion would specify a rotation (of 90 degrees about the Z axis) such that in the presentation space the base of the tower is aligned with the XZ plane, and the tip of the tower lies towards +Y. This rotation is unrelated to the object's pose in the web preview, which is just a camera position setting and is *not* reflected in this rotation. Please note: this is applicable only to the gLTF." - } - }, - "type": "object" - }, - "Quaternion": { - "description": "A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the response you see \"w: 1\" and nothing else this is the default value of [0, 0, 0, 1] where x,y, and z are 0.", - "id": "Quaternion", - "properties": { - "w": { - "description": "The scalar component.", - "format": "double", - "type": "number" - }, - "x": { - "description": "The x component.", - "format": "double", - "type": "number" - }, - "y": { - "description": "The y component.", - "format": "double", - "type": "number" - }, - "z": { - "description": "The z component.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "RemixInfo": { - "description": "Info about the sources of this asset (i.e. assets that were remixed to create this asset).", - "id": "RemixInfo", - "properties": { - "sourceAsset": { - "description": "Resource ids for the sources of this remix, of the form: `assets/{ASSET_ID}`", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "StartAssetImportResponse": { - "description": "A response message from a request to startImport. This is returned in the response field of the Operation.", - "id": "StartAssetImportResponse", - "properties": { - "assetId": { - "description": "The id of newly created asset. If this is empty when the operation is complete it means the import failed. Please refer to the assetImportMessages field to understand what went wrong.", - "type": "string" - }, - "assetImportId": { - "description": "The id of the asset import.", - "type": "string" - }, - "assetImportMessages": { - "description": "The message from the asset import. This will contain any warnings (or - in the case of failure - errors) that occurred during import.", - "items": { - "$ref": "AssetImportMessage" - }, - "type": "array" - }, - "publishUrl": { - "description": "The publish URL for the asset.", - "type": "string" - } - }, - "type": "object" - }, - "UserAsset": { - "description": "Data about the user's asset.", - "id": "UserAsset", - "properties": { - "asset": { - "$ref": "Asset", - "description": "An Asset." - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Poly API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/publicca-v1.json b/discovery/publicca-v1.json index e2a99a72bdd..ba585304414 100644 --- a/discovery/publicca-v1.json +++ b/discovery/publicca-v1.json @@ -146,7 +146,7 @@ } } }, - "revision": "20230425", + "revision": "20230424", "rootUrl": "https://publicca.googleapis.com/", "schemas": { "ExternalAccountKey": { diff --git a/discovery/realtimebidding-v1.json b/discovery/realtimebidding-v1.json index b3c8c196ad6..88bd5a68adb 100644 --- a/discovery/realtimebidding-v1.json +++ b/discovery/realtimebidding-v1.json @@ -1305,7 +1305,7 @@ } } }, - "revision": "20250306", + "revision": "20250508", "rootUrl": "https://realtimebidding.googleapis.com/", "schemas": { "ActivatePretargetingConfigRequest": { @@ -2294,6 +2294,12 @@ "OPENRTB_JSON", "OPENRTB_PROTOBUF" ], + "enumDeprecated": [ + false, + true, + false, + false + ], "enumDescriptions": [ "Placeholder for undefined bid protocol. This value should not be used.", "Google RTB protocol / Protobuf encoding.", diff --git a/discovery/realtimebidding-v1alpha.json b/discovery/realtimebidding-v1alpha.json deleted file mode 100644 index f440adcb239..00000000000 --- a/discovery/realtimebidding-v1alpha.json +++ /dev/null @@ -1,319 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/realtime-bidding": { - "description": "See, create, edit, and delete your Authorized Buyers and Open Bidding account entities" - } - } - } - }, - "basePath": "", - "baseUrl": "https://realtimebidding.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Real-time Bidding", - "description": "Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/", - "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": "realtimebidding:v1alpha", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://realtimebidding.mtls.googleapis.com/", - "name": "realtimebidding", - "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": { - "bidders": { - "resources": { - "biddingFunctions": { - "methods": { - "activate": { - "description": "Activates an existing bidding function. An activated function is available for invocation for the server-side TURTLEDOVE simulations.", - "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions/{biddingFunctionsId}:activate", - "httpMethod": "POST", - "id": "realtimebidding.bidders.biddingFunctions.activate", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the bidding function to activate. Format: `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}`", - "location": "path", - "pattern": "^bidders/[^/]+/biddingFunctions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:activate", - "request": { - "$ref": "ActivateBiddingFunctionRequest" - }, - "response": { - "$ref": "BiddingFunction" - }, - "scopes": [ - "https://www.googleapis.com/auth/realtime-bidding" - ] - }, - "archive": { - "description": "Archives an existing bidding function. An archived function will not be available for function invocation for the server-side TURTLEDOVE simulations unless it is activated.", - "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions/{biddingFunctionsId}:archive", - "httpMethod": "POST", - "id": "realtimebidding.bidders.biddingFunctions.archive", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the bidding function to archive. Format: `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}`", - "location": "path", - "pattern": "^bidders/[^/]+/biddingFunctions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:archive", - "request": { - "$ref": "ArchiveBiddingFunctionRequest" - }, - "response": { - "$ref": "BiddingFunction" - }, - "scopes": [ - "https://www.googleapis.com/auth/realtime-bidding" - ] - }, - "create": { - "description": "Creates a new bidding function.", - "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions", - "httpMethod": "POST", - "id": "realtimebidding.bidders.biddingFunctions.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The name of the bidder for which to create the bidding function. Format: `bidders/{bidderAccountId}`", - "location": "path", - "pattern": "^bidders/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/biddingFunctions", - "request": { - "$ref": "BiddingFunction" - }, - "response": { - "$ref": "BiddingFunction" - }, - "scopes": [ - "https://www.googleapis.com/auth/realtime-bidding" - ] - }, - "list": { - "description": "Lists the bidding functions that a bidder currently has registered.", - "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions", - "httpMethod": "GET", - "id": "realtimebidding.bidders.biddingFunctions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of bidding functions to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return. This value is received from a previous `ListBiddingFunctions` call in ListBiddingFunctionsResponse.nextPageToken.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Name of the bidder whose bidding functions will be listed. Format: `bidders/{bidder_account_id}`", - "location": "path", - "pattern": "^bidders/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/biddingFunctions", - "response": { - "$ref": "ListBiddingFunctionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/realtime-bidding" - ] - } - } - } - } - } - }, - "revision": "20220920", - "rootUrl": "https://realtimebidding.googleapis.com/", - "schemas": { - "ActivateBiddingFunctionRequest": { - "description": "The request to activate a bidding function.", - "id": "ActivateBiddingFunctionRequest", - "properties": {}, - "type": "object" - }, - "ArchiveBiddingFunctionRequest": { - "description": "A request to archive a bidding function.", - "id": "ArchiveBiddingFunctionRequest", - "properties": {}, - "type": "object" - }, - "BiddingFunction": { - "description": "The bidding function to be executed as part of the TURTLEDOVE simulation experiment bidding flow.", - "id": "BiddingFunction", - "properties": { - "biddingFunction": { - "description": "The raw Javascript source code of the bidding function.", - "type": "string" - }, - "name": { - "description": "The name of the bidding function that must follow the pattern: `bidders/{bidder_account_id}/biddingFunctions/{bidding_function_name}`.", - "type": "string" - }, - "state": { - "description": "Output only. The state of the bidding function.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "ARCHIVED" - ], - "enumDescriptions": [ - "Default value that should not be used.", - "An active function. Only `ACTIVE` bidding functions or ad scoring functions are made available for the server-side TURTLEDOVE simulations. Every account is limited to 10 active bidding functions per account.", - "A function that is no longer made available for invocation in a simulation and instead archived. An archived function can later be made active by activating the function through `ActivateBiddingFunction`." - ], - "readOnly": true, - "type": "string" - }, - "type": { - "description": "The type of the bidding function to be created.", - "enum": [ - "FUNCTION_TYPE_UNSPECIFIED", - "TURTLEDOVE_SIMULATION_BIDDING_FUNCTION", - "FLEDGE_BIDDING_FUNCTION" - ], - "enumDescriptions": [ - "Default value that should not be used.", - "Bidding function that can be used by Authorized Buyers in the original TURTLEDOVE simulation. See documentation on the TURTLEDOVE simulation at https://developers.google.com/authorized-buyers/rtb/turtledove. The function takes in a Javascript object, `inputs`, that contains the following named fields: `openrtbContextualBidRequest` OR `googleContextualBidRequest`, `customContextualSignal`, `interestBasedBidData`, `interestGroupData`, and returns the bid price CPM. Example: ``` /* Returns a bid price CPM. * * @param {Object} inputs an object with the * following named fields: * - openrtbContextualBidRequest * OR googleContextualBidRequest * - customContextualSignal * - interestBasedBidData * - interestGroupData */ function biddingFunction(inputs) { ... return inputs.interestBasedBidData.cpm * inputs.customContextualSignals.placementMultiplier; } ```", - "Buyer's interest group bidding function that can be used by Authorized Buyers in the FLEDGE simulation. See the FLEDGE explainer at https://github.com/WICG/turtledove/blob/main/FLEDGE.md#32-on-device-bidding. The function takes one argument, `inputs`, that contains an object with the following named fields of the form: ``` { \"interestGroup\" : { \"ad\" : [ \"buyerCreativeId\": \"...\", # Ad creative ID \"adData\": { # JSON object } ], \"userBiddingSignals\": { . # JSON object } }, \"auctionSignals\": { \"url\": # string, \"slotVisibility\": # enum value, \"slotDimensions\": [ { \"height\": # number value \"width\": # number value } ] }, \"perBuyerSignals\": { # JSON object }, \"trustedBiddingSignals\": { # JSON object }, \"browserSignals\": { \"recent_impression_ages_secs\": [ # Array of integers. Not yet populated. ] } } ``` `interestGroup`: An object containing a list of `ad` objects, which contain the following named fields: - `buyerCreativeId`: The ad creative ID string. - `adData`: Any JSON value of the bidder's choosing to contain data associated with an ad provided in `BidResponse.ad.adslot.ad_data` for the Google Authorized Buyers protocol and `BidResponse.seatbid.bid.ext.ad_data` for the OpenRTB protocol. - `userBiddingSignals`: Any JSON value of the bidder's choosing containing interest group data that corresponds to user_bidding_signals (as in FLEDGE). This field will be populated from `BidResponse.interest_group_map.user_bidding_signals` for Google Authorized Buyers protocol and `BidResponse.ext.interest_group_map.user_bidding_signals` for the OpenRTB protocol. `auctionSignals`: Contains data from the seller. It corresponds to the auction signals data described in the FLEDGE proposal. It is an object containing the following named fields: - `url`: The string URL of the page with parameters removed. - `slotVisibility`: Enum of one of the following potential values: - NO_DETECTION = 0 - ABOVE_THE_FOLD = 1 - BELOW_THE_FOLD = 2 - `slotDimensions`: A list of objects containing containing width and height pairs in `width` and `height` fields, respectively, from `BidRequest.adslot.width` and `BidRequest.adslot.height` for the Google Authorized Buyers protocol and `BidRequest.imp.banner.format.w` and `BidRequest.imp.banner.format.h` for the OpenRTB protocol. `perBuyerSignals`: The contextual signals from the bid response that are populated in `BidResponse.interest_group_bidding.interest_group_buyers.per_buyer_signals` for the Google Authorized Buyers protocol and `BidResponse.ext.interest_group_bidding.interest_group_buyers.per_buyer_signals` for the OpenRTB protocol. These signals can be of any JSON format of your choosing, however, the buyer's domain name must match between: - the interest group response in `BidResponse.interest_group_map.buyer_domain` for the Google Authorized Buyers protocol or in `BidResponse.ext.interest_group_map.buyer_domain` for the OpenRTB protocol. - the contextual response as a key to the map in `BidResponse.interest_group_bidding.interest_group_buyers` for the Google Authorized Buyers protocol or in `BidResponse.ext.interest_group_bidding.interest_group_buyers` for the OpenRTB protocol. In other words, there must be a match between the buyer domain of the contextual per_buyer_signals and the domain of an interest group. `trustedBiddingSignals`: The trusted bidding signals that corresponds to the trusted_bidding_signals in the FLEDGE proposal. It is provided in the interest group response as `BidResponse.interest_group_map.user_bidding_signals` for the Google Authorized Buyers protocol and `BidResponse.ext.interest_group_map.user_bidding_signals` for the OpenRTB protocol. This field can be any JSON format of your choosing. `browserSignals`: An object of simulated browser-provider signals. It is an object with a single named field, `recent_impression_ages_secs`, that contains a list of estimated number value recent impression ages in seconds for a given interest group. `recent_impression_ages_secs` is not yet populated. The function returns the string creative ID of the selected ad, the bid price CPM, and (optionally) selected product IDs. In addition, the bidding function may populate an optional debug string that may be used for remote debugging and troubleshooting of a bidder-provided bidding function. The debug string should not contain a user identifier. The maximum length of the debug string is 200 bytes. This debug string is available in `BidResponseFeedback` (https://developers.google.com/authorized-buyers/rtb/realtime-bidding-guide#bidresponsefeedback-object) and `BidFeedback` (https://developers.google.com/authorized-buyers/rtb/openrtb-guide#bidfeedback), for the Google protocol and OpenRTB protocol respectively. In addition, the debug string can be inserted into the creative HTML snippet through macro substitution if the following string is included in the snippet: “%%DEBUG_STRING%%”. Ensure the debug string complies with [Platform Program Policies](https://support.google.com/platformspolicy/answer/3013851). Sample Bidding Function: ``` function biddingFunction(inputs) { ... return { \"buyerCreativeId\": \"ad_creative_id_1\", \"bidPriceCpm\": 0.3, \"productIds\": [\"product_id_1\", \"product_id_2\", \"product_id_3\"] \"debugString\": \"Bidding function executed successfully!\" } } ```" - ], - "type": "string" - } - }, - "type": "object" - }, - "ListBiddingFunctionsResponse": { - "description": "A response containing a list of a bidder's bidding functions.", - "id": "ListBiddingFunctionsResponse", - "properties": { - "biddingFunctions": { - "description": "A list of a bidder's bidding functions.", - "items": { - "$ref": "BiddingFunction" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token which can be passed to a subsequent call to the `ListBiddingFunctions` method to retrieve the next page of results in ListBiddingFunctionsRequest.pageToken.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Real-time Bidding API", - "version": "v1alpha", - "version_module": true -} \ No newline at end of file diff --git a/discovery/recaptchaenterprise-v1.json b/discovery/recaptchaenterprise-v1.json index a5d65f6547d..675bbb4eb5b 100644 --- a/discovery/recaptchaenterprise-v1.json +++ b/discovery/recaptchaenterprise-v1.json @@ -786,7 +786,7 @@ } } }, - "revision": "20250427", + "revision": "20250504", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "schemas": { "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": { @@ -1412,6 +1412,14 @@ "description": "Output only. Assessment of this transaction for risk of being part of a card testing attack.", "readOnly": true }, + "riskReasons": { + "description": "Output only. Reasons why the transaction is probably fraudulent and received a high transaction risk score.", + "items": { + "$ref": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason" + }, + "readOnly": true, + "type": "array" + }, "stolenInstrumentVerdict": { "$ref": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict", "description": "Output only. Assessment of this transaction for risk of a stolen instrument.", @@ -1452,6 +1460,34 @@ }, "type": "object" }, + "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason": { + "description": "Risk reasons applicable to the Fraud Prevention assessment.", + "id": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason", + "properties": { + "reason": { + "description": "Output only. Risk reasons applicable to the Fraud Prevention assessment.", + "enum": [ + "REASON_UNSPECIFIED", + "HIGH_TRANSACTION_VELOCITY", + "EXCESSIVE_ENUMERATION_PATTERN", + "SHORT_IDENTITY_HISTORY", + "GEOLOCATION_DISCREPANCY", + "ASSOCIATED_WITH_FRAUD_CLUSTER" + ], + "enumDescriptions": [ + "Default unspecified type.", + "A suspiciously high number of recent transactions have used identifiers present in this transaction.", + "User is cycling through a suspiciously large number of identifiers, suggesting enumeration or validation attacks within a potential fraud network.", + "User has a short history or no history in the reCAPTCHA network, suggesting the possibility of synthetic identity generation.", + "Identifiers used in this transaction originate from an unusual or conflicting set of geolocations.", + "This transaction is linked to a cluster of known fraudulent activity." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict": { "description": "Information about stolen instrument fraud, where the user is not the legitimate owner of the instrument being used for the purchase.", "id": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict", diff --git a/discovery/remotebuildexecution-v1.json b/discovery/remotebuildexecution-v1.json deleted file mode 100644 index b65c176712e..00000000000 --- a/discovery/remotebuildexecution-v1.json +++ /dev/null @@ -1,2103 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" - } - } - } - }, - "basePath": "", - "baseUrl": "https://remotebuildexecution.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Remote Build Execution", - "description": "Supplies a Remote Execution API service for tools such as bazel.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/remote-build-execution/docs/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "remotebuildexecution:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://remotebuildexecution.mtls.googleapis.com/", - "name": "remotebuildexecution", - "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": { - "media": { - "methods": { - "download": { - "description": "Downloads media. Download is supported on the URI `/v1/media/{+name}?alt=media`.", - "flatPath": "v1/media/{mediaId}", - "httpMethod": "GET", - "id": "remotebuildexecution.media.download", - "parameterOrder": [ - "resourceName" - ], - "parameters": { - "resourceName": { - "description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/media/{+resourceName}", - "response": { - "$ref": "GoogleBytestreamMedia" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "supportsMediaDownload": true - }, - "upload": { - "description": "Uploads media. Upload is supported on the URI `/upload/v1/media/{+name}`.", - "flatPath": "v1/media/{mediaId}", - "httpMethod": "POST", - "id": "remotebuildexecution.media.upload", - "mediaUpload": { - "accept": [ - "*/*" - ], - "protocols": { - "simple": { - "multipart": true, - "path": "/upload/v1/media/{+resourceName}" - } - } - }, - "parameterOrder": [ - "resourceName" - ], - "parameters": { - "resourceName": { - "description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/media/{+resourceName}", - "request": { - "$ref": "GoogleBytestreamMedia" - }, - "response": { - "$ref": "GoogleBytestreamMedia" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "supportsMediaUpload": true - } - } - }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "remotebuildexecution.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:cancel", - "request": { - "$ref": "GoogleLongrunningCancelOperationRequest" - }, - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "remotebuildexecution.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1/operations", - "httpMethod": "GET", - "id": "remotebuildexecution.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "GoogleLongrunningListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "projects": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1/projects/{projectsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "remotebuildexecution.projects.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - }, - "revision": "20210614", - "rootUrl": "https://remotebuildexecution.googleapis.com/", - "schemas": { - "BuildBazelRemoteExecutionV2Action": { - "description": "An `Action` captures all the information about an execution which is required to reproduce it. `Action`s are the core component of the [Execution] service. A single `Action` represents a repeatable action that can be performed by the execution service. `Action`s can be succinctly identified by the digest of their wire format encoding and, once an `Action` has been executed, will be cached in the action cache. Future requests can then use the cached result rather than needing to run afresh. When a server completes execution of an Action, it MAY choose to cache the result in the ActionCache unless `do_not_cache` is `true`. Clients SHOULD expect the server to do so. By default, future calls to Execute the same `Action` will also serve their results from the cache. Clients must take care to understand the caching behaviour. Ideally, all `Action`s will be reproducible so that serving a result from cache is always desirable and correct.", - "id": "BuildBazelRemoteExecutionV2Action", - "properties": { - "commandDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the Command to run, which MUST be present in the ContentAddressableStorage." - }, - "doNotCache": { - "description": "If true, then the `Action`'s result cannot be cached, and in-flight requests for the same `Action` may not be merged.", - "type": "boolean" - }, - "inputRootDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the root Directory for the input files. The files in the directory tree are available in the correct location on the build machine before the command is executed. The root directory, as well as every subdirectory and content blob referred to, MUST be in the ContentAddressableStorage." - }, - "platform": { - "$ref": "BuildBazelRemoteExecutionV2Platform", - "description": "The optional platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. New in version 2.2: clients SHOULD set these platform properties as well as those in the Command. Servers SHOULD prefer those set here." - }, - "salt": { - "description": "An optional additional salt value used to place this `Action` into a separate cache namespace from other instances having the same field contents. This salt typically comes from operational configuration specific to sources such as repo and service configuration, and allows disowning an entire set of ActionResults that might have been poisoned by buggy software or tool failures.", - "format": "byte", - "type": "string" - }, - "timeout": { - "description": "A timeout after which the execution should be killed. If the timeout is absent, then the client is specifying that the execution should continue as long as the server will let it. The server SHOULD impose a timeout if the client does not specify one, however, if the client does specify a timeout that is longer than the server's maximum timeout, the server MUST reject the request. The timeout is a part of the Action message, and therefore two `Actions` with different timeouts are different, even if they are otherwise identical. This is because, if they were not, running an `Action` with a lower timeout than is required might result in a cache hit from an execution run with a longer timeout, hiding the fact that the timeout is too short. By encoding it directly in the `Action`, a lower timeout will result in a cache miss and the execution timeout will fail immediately, rather than whenever the cache entry gets evicted.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ActionResult": { - "description": "An ActionResult represents the result of an Action being run. It is advised that at least one field (for example `ActionResult.execution_metadata.Worker`) have a non-default value, to ensure that the serialized value is non-empty, which can then be used as a basic data sanity check.", - "id": "BuildBazelRemoteExecutionV2ActionResult", - "properties": { - "executionMetadata": { - "$ref": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", - "description": "The details of the execution that originally produced this result." - }, - "exitCode": { - "description": "The exit code of the command.", - "format": "int32", - "type": "integer" - }, - "outputDirectories": { - "description": "The output directories of the action. For each output directory requested in the `output_directories` or `output_paths` field of the Action, if the corresponding directory existed after the action completed, a single entry will be present in the output list, which will contain the digest of a Tree message containing the directory tree, and the path equal exactly to the corresponding Action output_directories member. As an example, suppose the Action had an output directory `a/b/dir` and the execution produced the following contents in `a/b/dir`: a file named `bar` and a directory named `foo` with an executable file named `baz`. Then, output_directory will contain (hashes shortened for readability): ```json // OutputDirectory proto: { path: \"a/b/dir\" tree_digest: { hash: \"4a73bc9d03...\", size: 55 } } // Tree proto with hash \"4a73bc9d03...\" and size 55: { root: { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 } } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } children : { // (Directory proto with hash \"4cf2eda940...\" and size 43) files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } } ``` If an output of the same name as listed in `output_files` of the Command was found in `output_directories`, but was not a directory, the server will return a FAILED_PRECONDITION.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputDirectory" - }, - "type": "array" - }, - "outputDirectorySymlinks": { - "description": "The output directories of the action that are symbolic links to other directories. Those may be links to other output directories, or input directories, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output directory requested in the `output_directories` field of the Action, if the directory existed after the action completed, a single entry will be present either in this field, or in the `output_directories` field, if the directory was not a symbolic link. If an output of the same name was found, but was a symbolic link to a file instead of a directory, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" - }, - "type": "array" - }, - "outputFileSymlinks": { - "description": "The output files of the action that are symbolic links to other files. Those may be links to other output files, or input files, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or in the `output_files` field, if the file was not a symbolic link. If an output symbolic link of the same name as listed in `output_files` of the Command was found, but its target type was not a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" - }, - "type": "array" - }, - "outputFiles": { - "description": "The output files of the action. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or the `output_file_symlinks` field if the file was a symbolic link to another file (`output_symlinks` field after v2.1). If an output listed in `output_files` was found, but was a directory rather than a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputFile" - }, - "type": "array" - }, - "outputSymlinks": { - "description": "New in v2.1: this field will only be populated if the command `output_paths` field was used, and not the pre v2.1 `output_files` or `output_directories` fields. The output paths of the action that are symbolic links to other paths. Those may be links to other outputs, or inputs, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. A single entry for each output requested in `output_paths` field of the Action, if the corresponding path existed after the action completed and was a symbolic link. If the action does not produce a requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" - }, - "type": "array" - }, - "stderrDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest for a blob containing the standard error of the action, which can be retrieved from the ContentAddressableStorage." - }, - "stderrRaw": { - "description": "The standard error buffer of the action. The server SHOULD NOT inline stderr unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", - "format": "byte", - "type": "string" - }, - "stdoutDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest for a blob containing the standard output of the action, which can be retrieved from the ContentAddressableStorage." - }, - "stdoutRaw": { - "description": "The standard output buffer of the action. The server SHOULD NOT inline stdout unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Command": { - "description": "A `Command` is the actual command executed by a worker running an Action and specifications of its environment. Except as otherwise required, the environment (such as which system libraries or binaries are available, and what filesystems are mounted where) is defined by and specific to the implementation of the remote execution API.", - "id": "BuildBazelRemoteExecutionV2Command", - "properties": { - "arguments": { - "description": "The arguments to the command. The first argument must be the path to the executable, which must be either a relative path, in which case it is evaluated with respect to the input root, or an absolute path.", - "items": { - "type": "string" - }, - "type": "array" - }, - "environmentVariables": { - "description": "The environment variables to set when running the program. The worker may provide its own default environment variables; these defaults can be overridden using this field. Additional variables can also be specified. In order to ensure that equivalent Commands always hash to the same value, the environment variables MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable" - }, - "type": "array" - }, - "outputDirectories": { - "description": "A list of the output directories that the client expects to retrieve from the action. Only the listed directories will be returned (an entire directory structure will be returned as a Tree message digest, see OutputDirectory), as well as files listed in `output_files`. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. The special value of empty string is allowed, although not recommended, and can be used to capture the entire working directory tree, including inputs. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output directory cannot be duplicated or have the same path as any of the listed output files. An output directory is allowed to be a parent of another output directory. Directories leading up to the output directories (but not the output directories themselves) are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since 2.1: Use `output_paths` instead.", - "items": { - "type": "string" - }, - "type": "array" - }, - "outputFiles": { - "description": "A list of the output files that the client expects to retrieve from the action. Only the listed files, as well as directories listed in `output_directories`, will be returned to the client as output. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output file cannot be duplicated, be a parent of another output file, or have the same path as any of the listed output directories. Directories leading up to the output files are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since v2.1: Use `output_paths` instead.", - "items": { - "type": "string" - }, - "type": "array" - }, - "outputNodeProperties": { - "description": "A list of keys for node properties the client expects to retrieve for output files and directories. Keys are either names of string-based NodeProperty or names of fields in NodeProperties. In order to ensure that equivalent `Action`s always hash to the same value, the node properties MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes. The interpretation of string-based properties is server-dependent. If a property is not recognized by the server, the server will return an `INVALID_ARGUMENT`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "outputPaths": { - "description": "A list of the output paths that the client expects to retrieve from the action. Only the listed paths will be returned to the client as output. The type of the output (file or directory) is not specified, and will be determined by the server after action execution. If the resulting path is a file, it will be returned in an OutputFile) typed field. If the path is a directory, the entire directory structure will be returned as a Tree message digest, see OutputDirectory) Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be deduplicated and sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). Directories leading up to the output paths are created by the worker prior to execution, even if they are not explicitly part of the input root. New in v2.1: this field supersedes the DEPRECATED `output_files` and `output_directories` fields. If `output_paths` is used, `output_files` and `output_directories` will be ignored!", - "items": { - "type": "string" - }, - "type": "array" - }, - "platform": { - "$ref": "BuildBazelRemoteExecutionV2Platform", - "description": "The platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. DEPRECATED as of v2.2: platform properties are now specified directly in the action. See documentation note in the Action for migration." - }, - "workingDirectory": { - "description": "The working directory, relative to the input root, for the command to run in. It must be a directory which exists in the input tree. If it is left empty, then the action is run in the input root.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2CommandEnvironmentVariable": { - "description": "An `EnvironmentVariable` is one variable to set in the running program's environment.", - "id": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable", - "properties": { - "name": { - "description": "The variable name.", - "type": "string" - }, - "value": { - "description": "The variable value.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Digest": { - "description": "A content digest. A digest for a given blob consists of the size of the blob and its hash. The hash algorithm to use is defined by the server. The size is considered to be an integral part of the digest and cannot be separated. That is, even if the `hash` field is correctly specified but `size_bytes` is not, the server MUST reject the request. The reason for including the size in the digest is as follows: in a great many cases, the server needs to know the size of the blob it is about to work with prior to starting an operation with it, such as flattening Merkle tree structures or streaming it to a worker. Technically, the server could implement a separate metadata store, but this results in a significantly more complicated implementation as opposed to having the client specify the size up-front (or storing the size along with the digest in every message where digests are embedded). This does mean that the API leaks some implementation details of (what we consider to be) a reasonable server implementation, but we consider this to be a worthwhile tradeoff. When a `Digest` is used to refer to a proto message, it always refers to the message in binary encoded form. To ensure consistent hashing, clients and servers MUST ensure that they serialize messages according to the following rules, even if there are alternate valid encodings for the same message: * Fields are serialized in tag order. * There are no unknown fields. * There are no duplicate fields. * Fields are serialized according to the default semantics for their type. Most protocol buffer implementations will always follow these rules when serializing, but care should be taken to avoid shortcuts. For instance, concatenating two messages to merge them may produce duplicate fields.", - "id": "BuildBazelRemoteExecutionV2Digest", - "properties": { - "hash": { - "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", - "type": "string" - }, - "sizeBytes": { - "description": "The size of the blob, in bytes.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Directory": { - "description": "A `Directory` represents a directory node in a file tree, containing zero or more children FileNodes, DirectoryNodes and SymlinkNodes. Each `Node` contains its name in the directory, either the digest of its content (either a file blob or a `Directory` proto) or a symlink target, as well as possibly some metadata about the file or directory. In order to ensure that two equivalent directory trees hash to the same value, the following restrictions MUST be obeyed when constructing a a `Directory`: * Every child in the directory must have a path of exactly one segment. Multiple levels of directory hierarchy may not be collapsed. * Each child in the directory must have a unique path segment (file name). Note that while the API itself is case-sensitive, the environment where the Action is executed may or may not be case-sensitive. That is, it is legal to call the API with a Directory that has both \"Foo\" and \"foo\" as children, but the Action may be rejected by the remote system upon execution. * The files, directories and symlinks in the directory must each be sorted in lexicographical order by path. The path strings must be sorted by code point, equivalently, by UTF-8 bytes. * The NodeProperties of files, directories, and symlinks must be sorted in lexicographical order by property name. A `Directory` that obeys the restrictions is said to be in canonical form. As an example, the following could be used for a file named `bar` and a directory named `foo` with an executable file named `baz` (hashes shortened for readability): ```json // (Directory proto) { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 }, node_properties: [ { \"name\": \"MTime\", \"value\": \"2017-01-15T01:30:15.01Z\" } ] } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } // (Directory proto with hash \"4cf2eda940...\" and size 43) { files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } ```", - "id": "BuildBazelRemoteExecutionV2Directory", - "properties": { - "directories": { - "description": "The subdirectories in the directory.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2DirectoryNode" - }, - "type": "array" - }, - "files": { - "description": "The files in the directory.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2FileNode" - }, - "type": "array" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "symlinks": { - "description": "The symlinks in the directory.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2SymlinkNode" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2DirectoryNode": { - "description": "A `DirectoryNode` represents a child of a Directory which is itself a `Directory` and its associated metadata.", - "id": "BuildBazelRemoteExecutionV2DirectoryNode", - "properties": { - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the Directory object represented. See Digest for information about how to take the digest of a proto message." - }, - "name": { - "description": "The name of the directory.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecuteOperationMetadata": { - "description": "Metadata about an ongoing execution, which will be contained in the metadata field of the Operation.", - "id": "BuildBazelRemoteExecutionV2ExecuteOperationMetadata", - "properties": { - "actionDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the Action being executed." - }, - "stage": { - "description": "The current stage of execution.", - "enum": [ - "UNKNOWN", - "CACHE_CHECK", - "QUEUED", - "EXECUTING", - "COMPLETED" - ], - "enumDescriptions": [ - "Invalid value.", - "Checking the result against the cache.", - "Currently idle, awaiting a free machine to execute.", - "Currently being executed by a worker.", - "Finished execution." - ], - "type": "string" - }, - "stderrStreamName": { - "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard error from the endpoint hosting streamed responses.", - "type": "string" - }, - "stdoutStreamName": { - "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard output from the endpoint hosting streamed responses.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecuteResponse": { - "description": "The response message for Execution.Execute, which will be contained in the response field of the Operation.", - "id": "BuildBazelRemoteExecutionV2ExecuteResponse", - "properties": { - "cachedResult": { - "description": "True if the result was served from cache, false if it was executed.", - "type": "boolean" - }, - "message": { - "description": "Freeform informational message with details on the execution of the action that may be displayed to the user upon failure or when requested explicitly.", - "type": "string" - }, - "result": { - "$ref": "BuildBazelRemoteExecutionV2ActionResult", - "description": "The result of the action." - }, - "serverLogs": { - "additionalProperties": { - "$ref": "BuildBazelRemoteExecutionV2LogFile" - }, - "description": "An optional list of additional log outputs the server wishes to provide. A server can use this to return execution-specific logs however it wishes. This is intended primarily to make it easier for users to debug issues that may be outside of the actual job execution, such as by identifying the worker executing the action or by providing logs from the worker's setup phase. The keys SHOULD be human readable so that a client can display them to a user.", - "type": "object" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "If the status has a code other than `OK`, it indicates that the action did not finish execution. For example, if the operation times out during execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST use this field for errors in execution, rather than the error field on the `Operation` object. If the status code is other than `OK`, then the result MUST NOT be cached. For an error status, the `result` field is optional; the server may populate the output-, stdout-, and stderr-related fields if it has any information available, such as the stdout and stderr of a timed-out action." - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecutedActionMetadata": { - "description": "ExecutedActionMetadata contains details about a completed execution.", - "id": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", - "properties": { - "auxiliaryMetadata": { - "description": "Details that are specific to the kind of worker used. For example, on POSIX-like systems this could contain a message with getrusage(2) statistics.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "executionCompletedTimestamp": { - "description": "When the worker completed executing the action command.", - "format": "google-datetime", - "type": "string" - }, - "executionStartTimestamp": { - "description": "When the worker started executing the action command.", - "format": "google-datetime", - "type": "string" - }, - "inputFetchCompletedTimestamp": { - "description": "When the worker finished fetching action inputs.", - "format": "google-datetime", - "type": "string" - }, - "inputFetchStartTimestamp": { - "description": "When the worker started fetching action inputs.", - "format": "google-datetime", - "type": "string" - }, - "outputUploadCompletedTimestamp": { - "description": "When the worker finished uploading action outputs.", - "format": "google-datetime", - "type": "string" - }, - "outputUploadStartTimestamp": { - "description": "When the worker started uploading action outputs.", - "format": "google-datetime", - "type": "string" - }, - "queuedTimestamp": { - "description": "When was the action added to the queue.", - "format": "google-datetime", - "type": "string" - }, - "worker": { - "description": "The name of the worker which ran the execution.", - "type": "string" - }, - "workerCompletedTimestamp": { - "description": "When the worker completed the action, including all stages.", - "format": "google-datetime", - "type": "string" - }, - "workerStartTimestamp": { - "description": "When the worker received the action.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2FileNode": { - "description": "A `FileNode` represents a single file and associated metadata.", - "id": "BuildBazelRemoteExecutionV2FileNode", - "properties": { - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the file's content." - }, - "isExecutable": { - "description": "True if file is executable, false otherwise.", - "type": "boolean" - }, - "name": { - "description": "The name of the file.", - "type": "string" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2LogFile": { - "description": "A `LogFile` is a log stored in the CAS.", - "id": "BuildBazelRemoteExecutionV2LogFile", - "properties": { - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the log contents." - }, - "humanReadable": { - "description": "This is a hint as to the purpose of the log, and is set to true if the log is human-readable text that can be usefully displayed to a user, and false otherwise. For instance, if a command-line client wishes to print the server logs to the terminal for a failed action, this allows it to avoid displaying a binary file.", - "type": "boolean" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2NodeProperties": { - "description": "Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the properties that it accepts.", - "id": "BuildBazelRemoteExecutionV2NodeProperties", - "properties": { - "mtime": { - "description": "The file's last modification timestamp.", - "format": "google-datetime", - "type": "string" - }, - "properties": { - "description": "A list of string-based NodeProperties.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperty" - }, - "type": "array" - }, - "unixMode": { - "description": "The UNIX file mode, e.g., 0755.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2NodeProperty": { - "description": "A single property for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the property `name`s that it accepts. If permitted by the server, the same `name` may occur multiple times.", - "id": "BuildBazelRemoteExecutionV2NodeProperty", - "properties": { - "name": { - "description": "The property name.", - "type": "string" - }, - "value": { - "description": "The property value.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2OutputDirectory": { - "description": "An `OutputDirectory` is the output in an `ActionResult` corresponding to a directory's full contents rather than a single file.", - "id": "BuildBazelRemoteExecutionV2OutputDirectory", - "properties": { - "path": { - "description": "The full path of the directory relative to the working directory. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash. The empty string value is allowed, and it denotes the entire working directory.", - "type": "string" - }, - "treeDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the encoded Tree proto containing the directory's contents." - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2OutputFile": { - "description": "An `OutputFile` is similar to a FileNode, but it is used as an output in an `ActionResult`. It allows a full file path rather than only a name.", - "id": "BuildBazelRemoteExecutionV2OutputFile", - "properties": { - "contents": { - "description": "The contents of the file if inlining was requested. The server SHOULD NOT inline file contents unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", - "format": "byte", - "type": "string" - }, - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the file's content." - }, - "isExecutable": { - "description": "True if file is executable, false otherwise.", - "type": "boolean" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "path": { - "description": "The full path of the file relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2OutputSymlink": { - "description": "An `OutputSymlink` is similar to a Symlink, but it is used as an output in an `ActionResult`. `OutputSymlink` is binary-compatible with `SymlinkNode`.", - "id": "BuildBazelRemoteExecutionV2OutputSymlink", - "properties": { - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "path": { - "description": "The full path of the symlink relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", - "type": "string" - }, - "target": { - "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Platform": { - "description": "A `Platform` is a set of requirements, such as hardware, operating system, or compiler toolchain, for an Action's execution environment. A `Platform` is represented as a series of key-value pairs representing the properties that are required of the platform.", - "id": "BuildBazelRemoteExecutionV2Platform", - "properties": { - "properties": { - "description": "The properties that make up this platform. In order to ensure that equivalent `Platform`s always hash to the same value, the properties MUST be lexicographically sorted by name, and then by value. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2PlatformProperty" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2PlatformProperty": { - "description": "A single property for the environment. The server is responsible for specifying the property `name`s that it accepts. If an unknown `name` is provided in the requirements for an Action, the server SHOULD reject the execution request. If permitted by the server, the same `name` may occur multiple times. The server is also responsible for specifying the interpretation of property `value`s. For instance, a property describing how much RAM must be available may be interpreted as allowing a worker with 16GB to fulfill a request for 8GB, while a property describing the OS environment on which the action must be performed may require an exact match with the worker's OS. The server MAY use the `value` of one or more properties to determine how it sets up the execution environment, such as by making specific system files available to the worker. Both names and values are typically case-sensitive. Note that the platform is implicitly part of the action digest, so even tiny changes in the names or values (like changing case) may result in different action cache entries.", - "id": "BuildBazelRemoteExecutionV2PlatformProperty", - "properties": { - "name": { - "description": "The property name.", - "type": "string" - }, - "value": { - "description": "The property value.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2RequestMetadata": { - "description": "An optional Metadata to attach to any RPC request to tell the server about an external context of the request. The server may use this for logging or other purposes. To use it, the client attaches the header to the call using the canonical proto serialization: * name: `build.bazel.remote.execution.v2.requestmetadata-bin` * contents: the base64 encoded binary `RequestMetadata` message. Note: the gRPC library serializes binary headers encoded in base 64 by default (https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests). Therefore, if the gRPC library is used to pass/retrieve this metadata, the user may ignore the base64 encoding and assume it is simply serialized as a binary message.", - "id": "BuildBazelRemoteExecutionV2RequestMetadata", - "properties": { - "actionId": { - "description": "An identifier that ties multiple requests to the same action. For example, multiple requests to the CAS, Action Cache, and Execution API are used in order to compile foo.cc.", - "type": "string" - }, - "actionMnemonic": { - "description": "A brief description of the kind of action, for example, CppCompile or GoLink. There is no standard agreed set of values for this, and they are expected to vary between different client tools.", - "type": "string" - }, - "configurationId": { - "description": "An identifier for the configuration in which the target was built, e.g. for differentiating building host tools or different target platforms. There is no expectation that this value will have any particular structure, or equality across invocations, though some client tools may offer these guarantees.", - "type": "string" - }, - "correlatedInvocationsId": { - "description": "An identifier to tie multiple tool invocations together. For example, runs of foo_test, bar_test and baz_test on a post-submit of a given patch.", - "type": "string" - }, - "targetId": { - "description": "An identifier for the target which produced this action. No guarantees are made around how many actions may relate to a single target.", - "type": "string" - }, - "toolDetails": { - "$ref": "BuildBazelRemoteExecutionV2ToolDetails", - "description": "The details for the tool invoking the requests." - }, - "toolInvocationId": { - "description": "An identifier that ties multiple actions together to a final result. For example, multiple actions are required to build and run foo_test.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2SymlinkNode": { - "description": "A `SymlinkNode` represents a symbolic link.", - "id": "BuildBazelRemoteExecutionV2SymlinkNode", - "properties": { - "name": { - "description": "The name of the symlink.", - "type": "string" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "target": { - "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path as logical canonicalization may lead to different behavior in the presence of directory symlinks (e.g. `foo/../bar` may not be the same as `bar`). To reduce potential cache misses, canonicalization is still recommended where this is possible without impacting correctness.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ToolDetails": { - "description": "Details for the tool used to call the API.", - "id": "BuildBazelRemoteExecutionV2ToolDetails", - "properties": { - "toolName": { - "description": "Name of the tool, e.g. bazel.", - "type": "string" - }, - "toolVersion": { - "description": "Version of the tool used for the request, e.g. 5.0.3.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Tree": { - "description": "A `Tree` contains all the Directory protos in a single directory Merkle tree, compressed into one message.", - "id": "BuildBazelRemoteExecutionV2Tree", - "properties": { - "children": { - "description": "All the child directories: the directories referred to by the root and, recursively, all its children. In order to reconstruct the directory tree, the client must take the digests of each of the child directories and then build up a tree starting from the `root`.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2Directory" - }, - "type": "array" - }, - "root": { - "$ref": "BuildBazelRemoteExecutionV2Directory", - "description": "The root directory in the tree." - } - }, - "type": "object" - }, - "GoogleBytestreamMedia": { - "description": "Media resource.", - "id": "GoogleBytestreamMedia", - "properties": { - "resourceName": { - "description": "Name of the media resource.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotCommandDurations": { - "description": "CommandDuration contains the various duration metrics tracked when a bot performs a command.", - "id": "GoogleDevtoolsRemotebuildbotCommandDurations", - "properties": { - "casRelease": { - "description": "The time spent to release the CAS blobs used by the task.", - "format": "google-duration", - "type": "string" - }, - "cmWaitForAssignment": { - "description": "The time spent waiting for Container Manager to assign an asynchronous container for execution.", - "format": "google-duration", - "type": "string" - }, - "dockerPrep": { - "description": "The time spent preparing the command to be run in a Docker container (includes pulling the Docker image, if necessary).", - "format": "google-duration", - "type": "string" - }, - "dockerPrepStartTime": { - "description": "The timestamp when docker preparation begins.", - "format": "google-datetime", - "type": "string" - }, - "download": { - "description": "The time spent downloading the input files and constructing the working directory.", - "format": "google-duration", - "type": "string" - }, - "downloadStartTime": { - "description": "The timestamp when downloading the input files begins.", - "format": "google-datetime", - "type": "string" - }, - "execStartTime": { - "description": "The timestamp when execution begins.", - "format": "google-datetime", - "type": "string" - }, - "execution": { - "description": "The time spent executing the command (i.e., doing useful work).", - "format": "google-duration", - "type": "string" - }, - "isoPrepDone": { - "description": "The timestamp when preparation is done and bot starts downloading files.", - "format": "google-datetime", - "type": "string" - }, - "overall": { - "description": "The time spent completing the command, in total.", - "format": "google-duration", - "type": "string" - }, - "stdout": { - "description": "The time spent uploading the stdout logs.", - "format": "google-duration", - "type": "string" - }, - "upload": { - "description": "The time spent uploading the output files.", - "format": "google-duration", - "type": "string" - }, - "uploadStartTime": { - "description": "The timestamp when uploading the output files begins.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotCommandEvents": { - "description": "CommandEvents contains counters for the number of warnings and errors that occurred during the execution of a command.", - "id": "GoogleDevtoolsRemotebuildbotCommandEvents", - "properties": { - "cmUsage": { - "description": "Indicates if and how Container Manager is being used for task execution.", - "enum": [ - "CONFIG_NONE", - "CONFIG_MATCH", - "CONFIG_MISMATCH" - ], - "enumDescriptions": [ - "Container Manager is disabled or not running for this execution.", - "Container Manager is enabled and there was a matching container available for use during execution.", - "Container Manager is enabled, but there was no matching container available for execution." - ], - "type": "string" - }, - "dockerCacheHit": { - "description": "Indicates whether we are using a cached Docker image (true) or had to pull the Docker image (false) for this command.", - "type": "boolean" - }, - "dockerImageName": { - "description": "Docker Image name.", - "type": "string" - }, - "inputCacheMiss": { - "description": "The input cache miss ratio.", - "format": "float", - "type": "number" - }, - "numErrors": { - "description": "The number of errors reported.", - "format": "uint64", - "type": "string" - }, - "numWarnings": { - "description": "The number of warnings reported.", - "format": "uint64", - "type": "string" - }, - "outputLocation": { - "description": "Indicates whether output files and/or output directories were found relative to the execution root or to the user provided work directory or both or none.", - "enum": [ - "LOCATION_UNDEFINED", - "LOCATION_NONE", - "LOCATION_EXEC_ROOT_RELATIVE", - "LOCATION_WORKING_DIR_RELATIVE", - "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE", - "LOCATION_EXEC_ROOT_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR", - "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR" - ], - "enumDescriptions": [ - "Location is set to LOCATION_UNDEFINED for tasks where the working directorty is not specified or is identical to the execution root directory.", - "No output files or directories were found neither relative to the execution root directory nor relative to the working directory.", - "Output files or directories were found relative to the execution root directory but not relative to the working directory.", - "Output files or directories were found relative to the working directory but not relative to the execution root directory.", - "Output files or directories were found both relative to the execution root directory and relative to the working directory.", - "Output files or directories were found relative to the execution root directory but not relative to the working directory. In addition at least one output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`.", - "Output files or directories were found both relative to the execution root directory and relative to the working directory. In addition at least one exec-root-relative output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`." - ], - "type": "string" - }, - "usedAsyncContainer": { - "description": "Indicates whether an asynchronous container was used for execution.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotCommandStatus": { - "description": "The internal status of the command result.", - "id": "GoogleDevtoolsRemotebuildbotCommandStatus", - "properties": { - "code": { - "description": "The status code.", - "enum": [ - "OK", - "INVALID_ARGUMENT", - "DEADLINE_EXCEEDED", - "NOT_FOUND", - "PERMISSION_DENIED", - "INTERNAL", - "ABORTED", - "FAILED_PRECONDITION", - "CLEANUP_ERROR", - "DOWNLOAD_INPUTS_ERROR", - "UNKNOWN", - "UPLOAD_OUTPUTS_ERROR", - "UPLOAD_OUTPUTS_BYTES_LIMIT_EXCEEDED", - "DOCKER_LOGIN_ERROR", - "DOCKER_IMAGE_PULL_ERROR", - "DOCKER_IMAGE_EXIST_ERROR", - "DUPLICATE_INPUTS", - "DOCKER_IMAGE_PERMISSION_DENIED", - "DOCKER_IMAGE_NOT_FOUND", - "WORKING_DIR_NOT_FOUND", - "WORKING_DIR_NOT_IN_BASE_DIR", - "DOCKER_UNAVAILABLE", - "NO_CUDA_CAPABLE_DEVICE", - "REMOTE_CAS_DOWNLOAD_ERROR", - "REMOTE_CAS_UPLOAD_ERROR", - "LOCAL_CASPROXY_NOT_RUNNING", - "DOCKER_CREATE_CONTAINER_ERROR", - "DOCKER_INVALID_ULIMIT", - "DOCKER_UNKNOWN_RUNTIME", - "DOCKER_UNKNOWN_CAPABILITY", - "DOCKER_UNKNOWN_ERROR", - "DOCKER_CREATE_COMPUTE_SYSTEM_ERROR", - "DOCKER_PREPARELAYER_ERROR", - "DOCKER_INCOMPATIBLE_OS_ERROR", - "DOCKER_CREATE_RUNTIME_FILE_NOT_FOUND", - "DOCKER_CREATE_RUNTIME_PERMISSION_DENIED", - "DOCKER_CREATE_PROCESS_FILE_NOT_FOUND", - "DOCKER_CREATE_COMPUTE_SYSTEM_INCORRECT_PARAMETER_ERROR", - "DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS", - "LOCAL_CONTAINER_MANAGER_NOT_RUNNING", - "DOCKER_IMAGE_VPCSC_PERMISSION_DENIED", - "WORKING_DIR_NOT_RELATIVE", - "DOCKER_MISSING_CONTAINER" - ], - "enumDescriptions": [ - "The command succeeded.", - "The command input was invalid.", - "The command had passed its expiry time while it was still running.", - "The resources requested by the command were not found.", - "The command failed due to permission errors.", - "The command failed because of some invariants expected by the underlying system have been broken. This usually indicates a bug wit the system.", - "The command was aborted.", - "The command failed because the system is not in a state required for the command, e.g. the command inputs cannot be found on the server.", - "The bot failed to do the cleanup, e.g. unable to delete the command working directory or the command process.", - "The bot failed to download the inputs.", - "Unknown error.", - "The bot failed to upload the outputs.", - "The bot tried to upload files having a total size that is too large.", - "The bot failed to login to docker.", - "The bot failed to pull docker image.", - "The bot failed to check docker images.", - "The inputs contain duplicate files.", - "The bot doesn't have the permissions to pull docker images.", - "The docker image cannot be found.", - "Working directory is not found.", - "Working directory is not under the base directory", - "There are issues with docker service/runtime.", - "The command failed with \"no cuda-capable device is detected\" error.", - "The bot encountered errors from remote CAS when downloading blobs.", - "The bot encountered errors from remote CAS when uploading blobs.", - "The local casproxy is not running.", - "The bot couldn't start the container.", - "The docker ulimit is not valid.", - "The docker runtime is unknown.", - "The docker capability is unknown.", - "The command failed with unknown docker errors.", - "Docker failed to run containers with CreateComputeSystem error.", - "Docker failed to run containers with hcsshim::PrepareLayer error.", - "Docker incompatible operating system error.", - "Docker failed to create OCI runtime because of file not found.", - "Docker failed to create OCI runtime because of permission denied.", - "Docker failed to create process because of file not found.", - "Docker failed to run containers with CreateComputeSystem error that involves an incorrect parameter (more specific version of DOCKER_CREATE_COMPUTE_SYSTEM_ERROR that is user-caused).", - "Docker failed to create an overlay mount because of too many levels of symbolic links.", - "The local Container Manager is not running.", - "Docker failed because a request was denied by the organization's policy.", - "Working directory is not relative", - "Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run." - ], - "type": "string" - }, - "message": { - "description": "The error message.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotResourceUsage": { - "description": "ResourceUsage is the system resource usage of the host machine.", - "id": "GoogleDevtoolsRemotebuildbotResourceUsage", - "properties": { - "cpuUsedPercent": { - "format": "double", - "type": "number" - }, - "diskUsage": { - "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" - }, - "memoryUsage": { - "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" - }, - "totalDiskIoStats": { - "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotResourceUsageIOStats": { - "id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats", - "properties": { - "readBytesCount": { - "format": "uint64", - "type": "string" - }, - "readCount": { - "format": "uint64", - "type": "string" - }, - "readTimeMs": { - "format": "uint64", - "type": "string" - }, - "writeBytesCount": { - "format": "uint64", - "type": "string" - }, - "writeCount": { - "format": "uint64", - "type": "string" - }, - "writeTimeMs": { - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotResourceUsageStat": { - "id": "GoogleDevtoolsRemotebuildbotResourceUsageStat", - "properties": { - "total": { - "format": "uint64", - "type": "string" - }, - "used": { - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig": { - "description": "AcceleratorConfig defines the accelerator cards to attach to the VM.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", - "properties": { - "acceleratorCount": { - "description": "The number of guest accelerator cards exposed to each VM.", - "format": "int64", - "type": "string" - }, - "acceleratorType": { - "description": "The type of accelerator to attach to each VM, e.g. \"nvidia-tesla-k80\" for nVidia Tesla K80.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale": { - "description": "Autoscale defines the autoscaling policy of a worker pool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", - "properties": { - "maxSize": { - "description": "The maximal number of workers. Must be equal to or greater than min_size.", - "format": "int64", - "type": "string" - }, - "minSize": { - "description": "The minimal number of workers. Must be greater than 0.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest": { - "description": "The request used for `CreateInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest", - "properties": { - "instance": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", - "description": "Specifies the instance to create. The name in the instance, if specified in the instance, is ignored." - }, - "instanceId": { - "description": "ID of the created instance. A valid `instance_id` must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", - "type": "string" - }, - "parent": { - "description": "Resource name of the project containing the instance. Format: `projects/[PROJECT_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest": { - "description": "The request used for `CreateWorkerPool`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest", - "properties": { - "parent": { - "description": "Resource name of the instance in which to create the new worker pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - }, - "poolId": { - "description": "ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", - "type": "string" - }, - "workerPool": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", - "description": "Specifies the worker pool to create. The name in the worker pool, if specified, is ignored." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest": { - "description": "The request used for `DeleteInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest", - "properties": { - "name": { - "description": "Name of the instance to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest": { - "description": "The request used for DeleteWorkerPool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest", - "properties": { - "name": { - "description": "Name of the worker pool to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy": { - "description": "FeaturePolicy defines features allowed to be used on RBE instances, as well as instance-wide behavior changes that take effect without opt-in or opt-out at usage time.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", - "properties": { - "containerImageSources": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ \"gcr.io/project-foo\", \"gcr.io/project-bar/repo-baz\", ] } will allow any repositories under \"gcr.io/project-foo\" plus the repository \"gcr.io/project-bar/repo-baz\". Default (UNSPECIFIED) is equivalent to any source is allowed." - }, - "dockerAddCapabilities": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerAddCapabilities can be used or what capabilities are allowed." - }, - "dockerChrootPath": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerChrootPath can be used." - }, - "dockerNetwork": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow `off` value only via `allowed_values`." - }, - "dockerPrivileged": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerPrivileged can be used." - }, - "dockerRunAsRoot": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerRunAsRoot can be used." - }, - "dockerRuntime": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation." - }, - "dockerSiblingContainers": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerSiblingContainers can be used." - }, - "linuxIsolation": { - "description": "linux_isolation allows overriding the docker runtime used for containers started on Linux.", - "enum": [ - "LINUX_ISOLATION_UNSPECIFIED", - "GVISOR", - "OFF" - ], - "enumDescriptions": [ - "Default value. Will be using Linux default runtime.", - "Use gVisor runsc runtime.", - "Use stardard Linux runtime. This has the same behaviour as unspecified, but it can be used to revert back from gVisor." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature": { - "description": "Defines whether a feature can be used or what values are accepted.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "properties": { - "allowedValues": { - "description": "A list of acceptable values. Only effective when the policy is `RESTRICTED`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "policy": { - "description": "The policy of the feature.", - "enum": [ - "POLICY_UNSPECIFIED", - "ALLOWED", - "FORBIDDEN", - "RESTRICTED" - ], - "enumDescriptions": [ - "Default value, if not explicitly set. Equivalent to FORBIDDEN, unless otherwise documented on a specific Feature.", - "Feature is explicitly allowed.", - "Feature is forbidden. Requests attempting to leverage it will get an FailedPrecondition error, with a message like: \"Feature forbidden by FeaturePolicy: Feature on instance \"", - "Only the values specified in the `allowed_values` are allowed." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest": { - "description": "The request used for `GetInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest", - "properties": { - "name": { - "description": "Name of the instance to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest": { - "description": "The request used for GetWorkerPool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest", - "properties": { - "name": { - "description": "Name of the worker pool to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance": { - "description": "Instance conceptually encapsulates all Remote Build Execution resources for remote builds. An instance consists of storage and compute resources (for example, `ContentAddressableStorage`, `ActionCache`, `WorkerPools`) used for running remote builds. All Remote Build Execution API calls are scoped to an instance.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", - "properties": { - "featurePolicy": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", - "description": "The policy to define whether or not RBE features can be used or how they can be used." - }, - "location": { - "description": "The location is a GCP region. Currently only `us-central1` is supported.", - "type": "string" - }, - "loggingEnabled": { - "description": "Output only. Whether stack driver logging is enabled for the instance.", - "type": "boolean" - }, - "name": { - "description": "Output only. Instance resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be populated when creating an instance since it is provided in the `instance_id` field.", - "type": "string" - }, - "state": { - "description": "Output only. State of the instance.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "RUNNING", - "INACTIVE" - ], - "enumDescriptions": [ - "Not a valid state, but the default value of the enum.", - "The instance is in state `CREATING` once `CreateInstance` is called and before the instance is ready for use.", - "The instance is in state `RUNNING` when it is ready for use.", - "An `INACTIVE` instance indicates that there is a problem that needs to be fixed. Such instances cannot be used for execution and instances that remain in this state for a significant period of time will be removed permanently." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest", - "properties": { - "parent": { - "description": "Resource name of the project. Format: `projects/[PROJECT_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse", - "properties": { - "instances": { - "description": "The list of instances in a given project.", - "items": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest", - "properties": { - "filter": { - "description": "Optional. A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. String values are case-insensitive. The comparison operator must be either `:`, `=`, `!=`, `>`, `>=`, `<=` or `<`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. You can also filter on nested fields. To filter on multiple expressions, you can separate expression using `AND` and `OR` operators, using parentheses to specify precedence. If neither operator is specified, `AND` is assumed. Examples: Include only pools with more than 100 reserved workers: `(worker_count > 100) (worker_config.reserved = true)` Include only pools with a certain label or machines of the e2-standard family: `worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard`", - "type": "string" - }, - "parent": { - "description": "Resource name of the instance. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse", - "properties": { - "workerPools": { - "description": "The list of worker pools in a given instance.", - "items": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest": { - "description": "The request used for `UpdateInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest", - "properties": { - "instance": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", - "description": "Specifies the instance to update." - }, - "loggingEnabled": { - "description": "Deprecated, use instance.logging_enabled instead. Whether to enable Stackdriver logging for this instance.", - "type": "boolean" - }, - "name": { - "description": "Deprecated, use instance.Name instead. Name of the instance to update. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - }, - "updateMask": { - "description": "The update mask applies to instance. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest": { - "description": "The request used for UpdateWorkerPool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest", - "properties": { - "updateMask": { - "description": "The update mask applies to worker_pool. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", - "format": "google-fieldmask", - "type": "string" - }, - "workerPool": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", - "description": "Specifies the worker pool to update." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig": { - "description": "Defines the configuration to be used for creating workers in the worker pool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", - "properties": { - "accelerator": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", - "description": "The accelerator card attached to each VM." - }, - "diskSizeGb": { - "description": "Required. Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/", - "format": "int64", - "type": "string" - }, - "diskType": { - "description": "Required. Disk Type to use for the worker. See [Storage options](https://cloud.google.com/compute/docs/disks/#introduction). Currently only `pd-standard` and `pd-ssd` are supported.", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.", - "type": "object" - }, - "machineType": { - "description": "Required. Machine type of the worker, such as `e2-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.", - "type": "string" - }, - "maxConcurrentActions": { - "description": "The maximum number of actions a worker can execute concurrently.", - "format": "int64", - "type": "string" - }, - "minCpuPlatform": { - "description": "Minimum CPU platform to use when creating the worker. See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).", - "type": "string" - }, - "networkAccess": { - "description": "Determines the type of network access granted to workers. Possible values: - \"public\": Workers can connect to the public internet. - \"private\": Workers can only connect to Google APIs and services. - \"restricted-private\": Workers can only connect to Google APIs that are reachable through `restricted.googleapis.com` (`199.36.153.4/30`).", - "type": "string" - }, - "reserved": { - "description": "Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more details.", - "type": "boolean" - }, - "soleTenantNodeType": { - "description": "The node type name to be used for sole-tenant nodes.", - "type": "string" - }, - "vmImage": { - "description": "The name of the image used by each VM.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool": { - "description": "A worker pool resource in the Remote Build Execution API.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", - "properties": { - "autoscale": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", - "description": "The autoscale policy to apply on a pool." - }, - "channel": { - "description": "Channel specifies the release channel of the pool.", - "type": "string" - }, - "name": { - "description": "WorkerPool resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`. name should not be populated when creating a worker pool since it is provided in the `poolId` field.", - "type": "string" - }, - "state": { - "description": "Output only. State of the worker pool.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "RUNNING", - "UPDATING", - "DELETING", - "INACTIVE" - ], - "enumDescriptions": [ - "Not a valid state, but the default value of the enum.", - "The worker pool is in state `CREATING` once `CreateWorkerPool` is called and before all requested workers are ready.", - "The worker pool is in state `RUNNING` when all its workers are ready for use.", - "The worker pool is in state `UPDATING` once `UpdateWorkerPool` is called and before the new configuration has all the requested workers ready for use, and no older configuration has any workers. At that point the state transitions to `RUNNING`.", - "The worker pool is in state `DELETING` once the `Delete` method is called and before the deletion completes.", - "The worker pool is in state `INACTIVE` when the instance hosting the worker pool in not running." - ], - "type": "string" - }, - "workerConfig": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", - "description": "Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool." - }, - "workerCount": { - "description": "The desired number of workers in the worker pool. Must be a value between 0 and 15000.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2AdminTemp": { - "description": "AdminTemp is a prelimiary set of administration tasks. It's called \"Temp\" because we do not yet know the best way to represent admin tasks; it's possible that this will be entirely replaced in later versions of this API. If this message proves to be sufficient, it will be renamed in the alpha or beta release of this API. This message (suitably marshalled into a protobuf.Any) can be used as the inline_assignment field in a lease; the lease assignment field should simply be `\"admin\"` in these cases. This message is heavily based on Swarming administration tasks from the LUCI project (http://github.com/luci/luci-py/appengine/swarming).", - "id": "GoogleDevtoolsRemoteworkersV1test2AdminTemp", - "properties": { - "arg": { - "description": "The argument to the admin action; see `Command` for semantics.", - "type": "string" - }, - "command": { - "description": "The admin action; see `Command` for legal values.", - "enum": [ - "UNSPECIFIED", - "BOT_UPDATE", - "BOT_RESTART", - "BOT_TERMINATE", - "HOST_RESTART" - ], - "enumDescriptions": [ - "Illegal value.", - "Download and run a new version of the bot. `arg` will be a resource accessible via `ByteStream.Read` to obtain the new bot code.", - "Restart the bot without downloading a new version. `arg` will be a message to log.", - "Shut down the bot. `arg` will be a task resource name (similar to those in tasks.proto) that the bot can use to tell the server that it is terminating.", - "Restart the host computer. `arg` will be a message to log." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2Blob": { - "description": "Describes a blob of binary content with its digest.", - "id": "GoogleDevtoolsRemoteworkersV1test2Blob", - "properties": { - "contents": { - "description": "The contents of the blob.", - "format": "byte", - "type": "string" - }, - "digest": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "The digest of the blob. This should be verified by the receiver." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandOutputs": { - "description": "DEPRECATED - use CommandResult instead. Describes the actual outputs from the task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandOutputs", - "properties": { - "exitCode": { - "description": "exit_code is only fully reliable if the status' code is OK. If the task exceeded its deadline or was cancelled, the process may still produce an exit code as it is cancelled, and this will be populated, but a successful (zero) is unlikely to be correct unless the status code is OK.", - "format": "int32", - "type": "integer" - }, - "outputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandOverhead": { - "description": "DEPRECATED - use CommandResult instead. Can be used as part of CompleteRequest.metadata, or are part of a more sophisticated message.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandOverhead", - "properties": { - "duration": { - "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", - "format": "google-duration", - "type": "string" - }, - "overhead": { - "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandResult": { - "description": "All information about the execution of a command, suitable for providing as the Bots interface's `Lease.result` field.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandResult", - "properties": { - "duration": { - "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", - "format": "google-duration", - "type": "string" - }, - "exitCode": { - "description": "The exit code of the process. An exit code of \"0\" should only be trusted if `status` has a code of OK (otherwise it may simply be unset).", - "format": "int32", - "type": "integer" - }, - "metadata": { - "description": "Implementation-dependent metadata about the task. Both servers and bots may define messages which can be encoded here; bots are free to provide metadata in multiple formats, and servers are free to choose one or more of the values to process and ignore others. In particular, it is *not* considered an error for the bot to provide the server with a field that it doesn't know about.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "outputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" - }, - "overhead": { - "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", - "format": "google-duration", - "type": "string" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "An overall status for the command. For example, if the command timed out, this might have a code of DEADLINE_EXCEEDED; if it was killed by the OS for memory exhaustion, it might have a code of RESOURCE_EXHAUSTED." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTask": { - "description": "Describes a shell-style task to execute, suitable for providing as the Bots interface's `Lease.payload` field.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTask", - "properties": { - "expectedOutputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", - "description": "The expected outputs from the task." - }, - "inputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", - "description": "The inputs to the task." - }, - "timeouts": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", - "description": "The timeouts of this task." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs": { - "description": "Describes the inputs to a shell-style task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", - "properties": { - "arguments": { - "description": "The command itself to run (e.g., argv). This field should be passed directly to the underlying operating system, and so it must be sensible to that operating system. For example, on Windows, the first argument might be \"C:\\Windows\\System32\\ping.exe\" - that is, using drive letters and backslashes. A command for a *nix system, on the other hand, would use forward slashes. All other fields in the RWAPI must consistently use forward slashes, since those fields may be interpretted by both the service and the bot.", - "items": { - "type": "string" - }, - "type": "array" - }, - "environmentVariables": { - "description": "All environment variables required by the task.", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable" - }, - "type": "array" - }, - "files": { - "description": "The input filesystem to be set up prior to the task beginning. The contents should be a repeated set of FileMetadata messages though other formats are allowed if better for the implementation (eg, a LUCI-style .isolated file). This field is repeated since implementations might want to cache the metadata, in which case it may be useful to break up portions of the filesystem that change frequently (eg, specific input files) from those that don't (eg, standard header files).", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest" - }, - "type": "array" - }, - "inlineBlobs": { - "description": "Inline contents for blobs expected to be needed by the bot to execute the task. For example, contents of entries in `files` or blobs that are indirectly referenced by an entry there. The bot should check against this list before downloading required task inputs to reduce the number of communications between itself and the remote CAS server.", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Blob" - }, - "type": "array" - }, - "workingDirectory": { - "description": "Directory from which a command is executed. It is a relative directory with respect to the bot's working directory (i.e., \"./\"). If it is non-empty, then it must exist under \"./\". Otherwise, \"./\" will be used.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable": { - "description": "An environment variable required by this task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable", - "properties": { - "name": { - "description": "The envvar name.", - "type": "string" - }, - "value": { - "description": "The envvar value.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs": { - "description": "Describes the expected outputs of the command.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", - "properties": { - "directories": { - "description": "A list of expected directories, relative to the execution root. All paths MUST be delimited by forward slashes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "files": { - "description": "A list of expected files, relative to the execution root. All paths MUST be delimited by forward slashes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "stderrDestination": { - "description": "The destination to which any stderr should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", - "type": "string" - }, - "stdoutDestination": { - "description": "The destination to which any stdout should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts": { - "description": "Describes the timeouts associated with this task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", - "properties": { - "execution": { - "description": "This specifies the maximum time that the task can run, excluding the time required to download inputs or upload outputs. That is, the worker will terminate the task if it runs longer than this.", - "format": "google-duration", - "type": "string" - }, - "idle": { - "description": "This specifies the maximum amount of time the task can be idle - that is, go without generating some output in either stdout or stderr. If the process is silent for more than the specified time, the worker will terminate the task.", - "format": "google-duration", - "type": "string" - }, - "shutdown": { - "description": "If the execution or IO timeouts are exceeded, the worker will try to gracefully terminate the task and return any existing logs. However, tasks may be hard-frozen in which case this process will fail. This timeout specifies how long to wait for a terminated task to shut down gracefully (e.g. via SIGTERM) before we bring down the hammer (e.g. SIGKILL on *nix, CTRL_BREAK_EVENT on Windows).", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2Digest": { - "description": "The CommandTask and CommandResult messages assume the existence of a service that can serve blobs of content, identified by a hash and size known as a \"digest.\" The method by which these blobs may be retrieved is not specified here, but a model implementation is in the Remote Execution API's \"ContentAddressibleStorage\" interface. In the context of the RWAPI, a Digest will virtually always refer to the contents of a file or a directory. The latter is represented by the byte-encoded Directory message.", - "id": "GoogleDevtoolsRemoteworkersV1test2Digest", - "properties": { - "hash": { - "description": "A string-encoded hash (eg \"1a2b3c\", not the byte array [0x1a, 0x2b, 0x3c]) using an implementation-defined hash algorithm (eg SHA-256).", - "type": "string" - }, - "sizeBytes": { - "description": "The size of the contents. While this is not strictly required as part of an identifier (after all, any given hash will have exactly one canonical size), it's useful in almost all cases when one might want to send or retrieve blobs of content and is included here for this reason.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2Directory": { - "description": "The contents of a directory. Similar to the equivalent message in the Remote Execution API.", - "id": "GoogleDevtoolsRemoteworkersV1test2Directory", - "properties": { - "directories": { - "description": "Any subdirectories", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata" - }, - "type": "array" - }, - "files": { - "description": "The files in this directory", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2FileMetadata" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata": { - "description": "The metadata for a directory. Similar to the equivalent message in the Remote Execution API.", - "id": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata", - "properties": { - "digest": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "A pointer to the contents of the directory, in the form of a marshalled Directory message." - }, - "path": { - "description": "The path of the directory, as in FileMetadata.path.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2FileMetadata": { - "description": "The metadata for a file. Similar to the equivalent message in the Remote Execution API.", - "id": "GoogleDevtoolsRemoteworkersV1test2FileMetadata", - "properties": { - "contents": { - "description": "If the file is small enough, its contents may also or alternatively be listed here.", - "format": "byte", - "type": "string" - }, - "digest": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "A pointer to the contents of the file. The method by which a client retrieves the contents from a CAS system is not defined here." - }, - "isExecutable": { - "description": "Properties of the file", - "type": "boolean" - }, - "path": { - "description": "The path of this file. If this message is part of the CommandOutputs.outputs fields, the path is relative to the execution root and must correspond to an entry in CommandTask.outputs.files. If this message is part of a Directory message, then the path is relative to the root of that directory. All paths MUST be delimited by forward slashes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleLongrunningCancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "GoogleLongrunningCancelOperationRequest", - "properties": {}, - "type": "object" - }, - "GoogleLongrunningListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "GoogleLongrunningListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "GoogleLongrunningOperation" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleLongrunningOperation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "GoogleLongrunningOperation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleProtobufEmpty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", - "id": "GoogleProtobufEmpty", - "properties": {}, - "type": "object" - }, - "GoogleRpcStatus": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "GoogleRpcStatus", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Remote Build Execution API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/remotebuildexecution-v1alpha.json b/discovery/remotebuildexecution-v1alpha.json deleted file mode 100644 index ffddf5b8f32..00000000000 --- a/discovery/remotebuildexecution-v1alpha.json +++ /dev/null @@ -1,2187 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" - } - } - } - }, - "basePath": "", - "baseUrl": "https://admin-remotebuildexecution.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Remote Build Execution", - "description": "Supplies a Remote Execution API service for tools such as bazel.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/remote-build-execution/docs/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "remotebuildexecution:v1alpha", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://admin-remotebuildexecution.mtls.googleapis.com/", - "name": "remotebuildexecution", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "instances": { - "methods": { - "create": { - "description": "Creates a new instance in the specified region. Returns a long running operation which contains an instance on completion. While the long running operation is in progress, any call to `GetInstance` returns an instance in state `CREATING`.", - "flatPath": "v1alpha/projects/{projectsId}/instances", - "httpMethod": "POST", - "id": "remotebuildexecution.projects.instances.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Resource name of the project containing the instance. Format: `projects/[PROJECT_ID]`.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/instances", - "request": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes the specified instance. Returns a long running operation which contains a `google.protobuf.Empty` response on completion. Deleting an instance with worker pools in it will delete these worker pools.", - "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}", - "httpMethod": "DELETE", - "id": "remotebuildexecution.projects.instances.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the instance to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "location": "path", - "pattern": "^projects/[^/]+/instances/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns the specified instance.", - "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}", - "httpMethod": "GET", - "id": "remotebuildexecution.projects.instances.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the instance to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "location": "path", - "pattern": "^projects/[^/]+/instances/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists instances in a project.", - "flatPath": "v1alpha/projects/{projectsId}/instances", - "httpMethod": "GET", - "id": "remotebuildexecution.projects.instances.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Resource name of the project. Format: `projects/[PROJECT_ID]`.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/instances", - "response": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates the specified instance. Returns a long running operation which contains the updated instance in the response on completion.", - "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}", - "httpMethod": "PATCH", - "id": "remotebuildexecution.projects.instances.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "loggingEnabled": { - "description": "Deprecated, use instance.logging_enabled instead. Whether to enable Stackdriver logging for this instance.", - "location": "query", - "type": "boolean" - }, - "name": { - "description": "Output only. Instance resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be populated when creating an instance since it is provided in the `instance_id` field.", - "location": "path", - "pattern": "^projects/[^/]+/instances/[^/]+$", - "required": true, - "type": "string" - }, - "name1": { - "description": "Deprecated, use instance.Name instead. Name of the instance to update. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "The update mask applies to instance. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "workerpools": { - "methods": { - "create": { - "description": "Creates a new worker pool with a specified size and configuration. Returns a long running operation which contains a worker pool on completion. While the long running operation is in progress, any call to `GetWorkerPool` returns a worker pool in state `CREATING`.", - "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}/workerpools", - "httpMethod": "POST", - "id": "remotebuildexecution.projects.instances.workerpools.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Resource name of the instance in which to create the new worker pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "location": "path", - "pattern": "^projects/[^/]+/instances/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/workerpools", - "request": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes the specified worker pool. Returns a long running operation, which contains a `google.protobuf.Empty` response on completion. While the long running operation is in progress, any call to `GetWorkerPool` returns a worker pool in state `DELETING`.", - "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}/workerpools/{workerpoolsId}", - "httpMethod": "DELETE", - "id": "remotebuildexecution.projects.instances.workerpools.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the worker pool to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", - "location": "path", - "pattern": "^projects/[^/]+/instances/[^/]+/workerpools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns the specified worker pool.", - "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}/workerpools/{workerpoolsId}", - "httpMethod": "GET", - "id": "remotebuildexecution.projects.instances.workerpools.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Name of the worker pool to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", - "location": "path", - "pattern": "^projects/[^/]+/instances/[^/]+/workerpools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists worker pools in an instance.", - "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}/workerpools", - "httpMethod": "GET", - "id": "remotebuildexecution.projects.instances.workerpools.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. String values are case-insensitive. The comparison operator must be either `:`, `=`, `!=`, `>`, `>=`, `<=` or `<`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. You can also filter on nested fields. To filter on multiple expressions, you can separate expression using `AND` and `OR` operators, using parentheses to specify precedence. If neither operator is specified, `AND` is assumed. Examples: Include only pools with more than 100 reserved workers: `(worker_count > 100) (worker_config.reserved = true)` Include only pools with a certain label or machines of the e2-standard family: `worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard`", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Resource name of the instance. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "location": "path", - "pattern": "^projects/[^/]+/instances/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/workerpools", - "response": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates an existing worker pool with a specified size and/or configuration. Returns a long running operation, which contains a worker pool on completion. While the long running operation is in progress, any call to `GetWorkerPool` returns a worker pool in state `UPDATING`.", - "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}/workerpools/{workerpoolsId}", - "httpMethod": "PATCH", - "id": "remotebuildexecution.projects.instances.workerpools.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "WorkerPool resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`. name should not be populated when creating a worker pool since it is provided in the `poolId` field.", - "location": "path", - "pattern": "^projects/[^/]+/instances/[^/]+/workerpools/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "request": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1alpha/projects/{projectsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "remotebuildexecution.projects.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - }, - "revision": "20210614", - "rootUrl": "https://admin-remotebuildexecution.googleapis.com/", - "schemas": { - "BuildBazelRemoteExecutionV2Action": { - "description": "An `Action` captures all the information about an execution which is required to reproduce it. `Action`s are the core component of the [Execution] service. A single `Action` represents a repeatable action that can be performed by the execution service. `Action`s can be succinctly identified by the digest of their wire format encoding and, once an `Action` has been executed, will be cached in the action cache. Future requests can then use the cached result rather than needing to run afresh. When a server completes execution of an Action, it MAY choose to cache the result in the ActionCache unless `do_not_cache` is `true`. Clients SHOULD expect the server to do so. By default, future calls to Execute the same `Action` will also serve their results from the cache. Clients must take care to understand the caching behaviour. Ideally, all `Action`s will be reproducible so that serving a result from cache is always desirable and correct.", - "id": "BuildBazelRemoteExecutionV2Action", - "properties": { - "commandDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the Command to run, which MUST be present in the ContentAddressableStorage." - }, - "doNotCache": { - "description": "If true, then the `Action`'s result cannot be cached, and in-flight requests for the same `Action` may not be merged.", - "type": "boolean" - }, - "inputRootDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the root Directory for the input files. The files in the directory tree are available in the correct location on the build machine before the command is executed. The root directory, as well as every subdirectory and content blob referred to, MUST be in the ContentAddressableStorage." - }, - "platform": { - "$ref": "BuildBazelRemoteExecutionV2Platform", - "description": "The optional platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. New in version 2.2: clients SHOULD set these platform properties as well as those in the Command. Servers SHOULD prefer those set here." - }, - "salt": { - "description": "An optional additional salt value used to place this `Action` into a separate cache namespace from other instances having the same field contents. This salt typically comes from operational configuration specific to sources such as repo and service configuration, and allows disowning an entire set of ActionResults that might have been poisoned by buggy software or tool failures.", - "format": "byte", - "type": "string" - }, - "timeout": { - "description": "A timeout after which the execution should be killed. If the timeout is absent, then the client is specifying that the execution should continue as long as the server will let it. The server SHOULD impose a timeout if the client does not specify one, however, if the client does specify a timeout that is longer than the server's maximum timeout, the server MUST reject the request. The timeout is a part of the Action message, and therefore two `Actions` with different timeouts are different, even if they are otherwise identical. This is because, if they were not, running an `Action` with a lower timeout than is required might result in a cache hit from an execution run with a longer timeout, hiding the fact that the timeout is too short. By encoding it directly in the `Action`, a lower timeout will result in a cache miss and the execution timeout will fail immediately, rather than whenever the cache entry gets evicted.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ActionResult": { - "description": "An ActionResult represents the result of an Action being run. It is advised that at least one field (for example `ActionResult.execution_metadata.Worker`) have a non-default value, to ensure that the serialized value is non-empty, which can then be used as a basic data sanity check.", - "id": "BuildBazelRemoteExecutionV2ActionResult", - "properties": { - "executionMetadata": { - "$ref": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", - "description": "The details of the execution that originally produced this result." - }, - "exitCode": { - "description": "The exit code of the command.", - "format": "int32", - "type": "integer" - }, - "outputDirectories": { - "description": "The output directories of the action. For each output directory requested in the `output_directories` or `output_paths` field of the Action, if the corresponding directory existed after the action completed, a single entry will be present in the output list, which will contain the digest of a Tree message containing the directory tree, and the path equal exactly to the corresponding Action output_directories member. As an example, suppose the Action had an output directory `a/b/dir` and the execution produced the following contents in `a/b/dir`: a file named `bar` and a directory named `foo` with an executable file named `baz`. Then, output_directory will contain (hashes shortened for readability): ```json // OutputDirectory proto: { path: \"a/b/dir\" tree_digest: { hash: \"4a73bc9d03...\", size: 55 } } // Tree proto with hash \"4a73bc9d03...\" and size 55: { root: { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 } } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } children : { // (Directory proto with hash \"4cf2eda940...\" and size 43) files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } } ``` If an output of the same name as listed in `output_files` of the Command was found in `output_directories`, but was not a directory, the server will return a FAILED_PRECONDITION.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputDirectory" - }, - "type": "array" - }, - "outputDirectorySymlinks": { - "description": "The output directories of the action that are symbolic links to other directories. Those may be links to other output directories, or input directories, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output directory requested in the `output_directories` field of the Action, if the directory existed after the action completed, a single entry will be present either in this field, or in the `output_directories` field, if the directory was not a symbolic link. If an output of the same name was found, but was a symbolic link to a file instead of a directory, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" - }, - "type": "array" - }, - "outputFileSymlinks": { - "description": "The output files of the action that are symbolic links to other files. Those may be links to other output files, or input files, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or in the `output_files` field, if the file was not a symbolic link. If an output symbolic link of the same name as listed in `output_files` of the Command was found, but its target type was not a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" - }, - "type": "array" - }, - "outputFiles": { - "description": "The output files of the action. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or the `output_file_symlinks` field if the file was a symbolic link to another file (`output_symlinks` field after v2.1). If an output listed in `output_files` was found, but was a directory rather than a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputFile" - }, - "type": "array" - }, - "outputSymlinks": { - "description": "New in v2.1: this field will only be populated if the command `output_paths` field was used, and not the pre v2.1 `output_files` or `output_directories` fields. The output paths of the action that are symbolic links to other paths. Those may be links to other outputs, or inputs, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. A single entry for each output requested in `output_paths` field of the Action, if the corresponding path existed after the action completed and was a symbolic link. If the action does not produce a requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" - }, - "type": "array" - }, - "stderrDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest for a blob containing the standard error of the action, which can be retrieved from the ContentAddressableStorage." - }, - "stderrRaw": { - "description": "The standard error buffer of the action. The server SHOULD NOT inline stderr unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", - "format": "byte", - "type": "string" - }, - "stdoutDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest for a blob containing the standard output of the action, which can be retrieved from the ContentAddressableStorage." - }, - "stdoutRaw": { - "description": "The standard output buffer of the action. The server SHOULD NOT inline stdout unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Command": { - "description": "A `Command` is the actual command executed by a worker running an Action and specifications of its environment. Except as otherwise required, the environment (such as which system libraries or binaries are available, and what filesystems are mounted where) is defined by and specific to the implementation of the remote execution API.", - "id": "BuildBazelRemoteExecutionV2Command", - "properties": { - "arguments": { - "description": "The arguments to the command. The first argument must be the path to the executable, which must be either a relative path, in which case it is evaluated with respect to the input root, or an absolute path.", - "items": { - "type": "string" - }, - "type": "array" - }, - "environmentVariables": { - "description": "The environment variables to set when running the program. The worker may provide its own default environment variables; these defaults can be overridden using this field. Additional variables can also be specified. In order to ensure that equivalent Commands always hash to the same value, the environment variables MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable" - }, - "type": "array" - }, - "outputDirectories": { - "description": "A list of the output directories that the client expects to retrieve from the action. Only the listed directories will be returned (an entire directory structure will be returned as a Tree message digest, see OutputDirectory), as well as files listed in `output_files`. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. The special value of empty string is allowed, although not recommended, and can be used to capture the entire working directory tree, including inputs. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output directory cannot be duplicated or have the same path as any of the listed output files. An output directory is allowed to be a parent of another output directory. Directories leading up to the output directories (but not the output directories themselves) are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since 2.1: Use `output_paths` instead.", - "items": { - "type": "string" - }, - "type": "array" - }, - "outputFiles": { - "description": "A list of the output files that the client expects to retrieve from the action. Only the listed files, as well as directories listed in `output_directories`, will be returned to the client as output. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output file cannot be duplicated, be a parent of another output file, or have the same path as any of the listed output directories. Directories leading up to the output files are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since v2.1: Use `output_paths` instead.", - "items": { - "type": "string" - }, - "type": "array" - }, - "outputNodeProperties": { - "description": "A list of keys for node properties the client expects to retrieve for output files and directories. Keys are either names of string-based NodeProperty or names of fields in NodeProperties. In order to ensure that equivalent `Action`s always hash to the same value, the node properties MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes. The interpretation of string-based properties is server-dependent. If a property is not recognized by the server, the server will return an `INVALID_ARGUMENT`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "outputPaths": { - "description": "A list of the output paths that the client expects to retrieve from the action. Only the listed paths will be returned to the client as output. The type of the output (file or directory) is not specified, and will be determined by the server after action execution. If the resulting path is a file, it will be returned in an OutputFile) typed field. If the path is a directory, the entire directory structure will be returned as a Tree message digest, see OutputDirectory) Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be deduplicated and sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). Directories leading up to the output paths are created by the worker prior to execution, even if they are not explicitly part of the input root. New in v2.1: this field supersedes the DEPRECATED `output_files` and `output_directories` fields. If `output_paths` is used, `output_files` and `output_directories` will be ignored!", - "items": { - "type": "string" - }, - "type": "array" - }, - "platform": { - "$ref": "BuildBazelRemoteExecutionV2Platform", - "description": "The platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. DEPRECATED as of v2.2: platform properties are now specified directly in the action. See documentation note in the Action for migration." - }, - "workingDirectory": { - "description": "The working directory, relative to the input root, for the command to run in. It must be a directory which exists in the input tree. If it is left empty, then the action is run in the input root.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2CommandEnvironmentVariable": { - "description": "An `EnvironmentVariable` is one variable to set in the running program's environment.", - "id": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable", - "properties": { - "name": { - "description": "The variable name.", - "type": "string" - }, - "value": { - "description": "The variable value.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Digest": { - "description": "A content digest. A digest for a given blob consists of the size of the blob and its hash. The hash algorithm to use is defined by the server. The size is considered to be an integral part of the digest and cannot be separated. That is, even if the `hash` field is correctly specified but `size_bytes` is not, the server MUST reject the request. The reason for including the size in the digest is as follows: in a great many cases, the server needs to know the size of the blob it is about to work with prior to starting an operation with it, such as flattening Merkle tree structures or streaming it to a worker. Technically, the server could implement a separate metadata store, but this results in a significantly more complicated implementation as opposed to having the client specify the size up-front (or storing the size along with the digest in every message where digests are embedded). This does mean that the API leaks some implementation details of (what we consider to be) a reasonable server implementation, but we consider this to be a worthwhile tradeoff. When a `Digest` is used to refer to a proto message, it always refers to the message in binary encoded form. To ensure consistent hashing, clients and servers MUST ensure that they serialize messages according to the following rules, even if there are alternate valid encodings for the same message: * Fields are serialized in tag order. * There are no unknown fields. * There are no duplicate fields. * Fields are serialized according to the default semantics for their type. Most protocol buffer implementations will always follow these rules when serializing, but care should be taken to avoid shortcuts. For instance, concatenating two messages to merge them may produce duplicate fields.", - "id": "BuildBazelRemoteExecutionV2Digest", - "properties": { - "hash": { - "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", - "type": "string" - }, - "sizeBytes": { - "description": "The size of the blob, in bytes.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Directory": { - "description": "A `Directory` represents a directory node in a file tree, containing zero or more children FileNodes, DirectoryNodes and SymlinkNodes. Each `Node` contains its name in the directory, either the digest of its content (either a file blob or a `Directory` proto) or a symlink target, as well as possibly some metadata about the file or directory. In order to ensure that two equivalent directory trees hash to the same value, the following restrictions MUST be obeyed when constructing a a `Directory`: * Every child in the directory must have a path of exactly one segment. Multiple levels of directory hierarchy may not be collapsed. * Each child in the directory must have a unique path segment (file name). Note that while the API itself is case-sensitive, the environment where the Action is executed may or may not be case-sensitive. That is, it is legal to call the API with a Directory that has both \"Foo\" and \"foo\" as children, but the Action may be rejected by the remote system upon execution. * The files, directories and symlinks in the directory must each be sorted in lexicographical order by path. The path strings must be sorted by code point, equivalently, by UTF-8 bytes. * The NodeProperties of files, directories, and symlinks must be sorted in lexicographical order by property name. A `Directory` that obeys the restrictions is said to be in canonical form. As an example, the following could be used for a file named `bar` and a directory named `foo` with an executable file named `baz` (hashes shortened for readability): ```json // (Directory proto) { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 }, node_properties: [ { \"name\": \"MTime\", \"value\": \"2017-01-15T01:30:15.01Z\" } ] } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } // (Directory proto with hash \"4cf2eda940...\" and size 43) { files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } ```", - "id": "BuildBazelRemoteExecutionV2Directory", - "properties": { - "directories": { - "description": "The subdirectories in the directory.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2DirectoryNode" - }, - "type": "array" - }, - "files": { - "description": "The files in the directory.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2FileNode" - }, - "type": "array" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "symlinks": { - "description": "The symlinks in the directory.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2SymlinkNode" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2DirectoryNode": { - "description": "A `DirectoryNode` represents a child of a Directory which is itself a `Directory` and its associated metadata.", - "id": "BuildBazelRemoteExecutionV2DirectoryNode", - "properties": { - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the Directory object represented. See Digest for information about how to take the digest of a proto message." - }, - "name": { - "description": "The name of the directory.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecuteOperationMetadata": { - "description": "Metadata about an ongoing execution, which will be contained in the metadata field of the Operation.", - "id": "BuildBazelRemoteExecutionV2ExecuteOperationMetadata", - "properties": { - "actionDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the Action being executed." - }, - "stage": { - "description": "The current stage of execution.", - "enum": [ - "UNKNOWN", - "CACHE_CHECK", - "QUEUED", - "EXECUTING", - "COMPLETED" - ], - "enumDescriptions": [ - "Invalid value.", - "Checking the result against the cache.", - "Currently idle, awaiting a free machine to execute.", - "Currently being executed by a worker.", - "Finished execution." - ], - "type": "string" - }, - "stderrStreamName": { - "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard error from the endpoint hosting streamed responses.", - "type": "string" - }, - "stdoutStreamName": { - "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard output from the endpoint hosting streamed responses.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecuteResponse": { - "description": "The response message for Execution.Execute, which will be contained in the response field of the Operation.", - "id": "BuildBazelRemoteExecutionV2ExecuteResponse", - "properties": { - "cachedResult": { - "description": "True if the result was served from cache, false if it was executed.", - "type": "boolean" - }, - "message": { - "description": "Freeform informational message with details on the execution of the action that may be displayed to the user upon failure or when requested explicitly.", - "type": "string" - }, - "result": { - "$ref": "BuildBazelRemoteExecutionV2ActionResult", - "description": "The result of the action." - }, - "serverLogs": { - "additionalProperties": { - "$ref": "BuildBazelRemoteExecutionV2LogFile" - }, - "description": "An optional list of additional log outputs the server wishes to provide. A server can use this to return execution-specific logs however it wishes. This is intended primarily to make it easier for users to debug issues that may be outside of the actual job execution, such as by identifying the worker executing the action or by providing logs from the worker's setup phase. The keys SHOULD be human readable so that a client can display them to a user.", - "type": "object" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "If the status has a code other than `OK`, it indicates that the action did not finish execution. For example, if the operation times out during execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST use this field for errors in execution, rather than the error field on the `Operation` object. If the status code is other than `OK`, then the result MUST NOT be cached. For an error status, the `result` field is optional; the server may populate the output-, stdout-, and stderr-related fields if it has any information available, such as the stdout and stderr of a timed-out action." - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecutedActionMetadata": { - "description": "ExecutedActionMetadata contains details about a completed execution.", - "id": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", - "properties": { - "auxiliaryMetadata": { - "description": "Details that are specific to the kind of worker used. For example, on POSIX-like systems this could contain a message with getrusage(2) statistics.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "executionCompletedTimestamp": { - "description": "When the worker completed executing the action command.", - "format": "google-datetime", - "type": "string" - }, - "executionStartTimestamp": { - "description": "When the worker started executing the action command.", - "format": "google-datetime", - "type": "string" - }, - "inputFetchCompletedTimestamp": { - "description": "When the worker finished fetching action inputs.", - "format": "google-datetime", - "type": "string" - }, - "inputFetchStartTimestamp": { - "description": "When the worker started fetching action inputs.", - "format": "google-datetime", - "type": "string" - }, - "outputUploadCompletedTimestamp": { - "description": "When the worker finished uploading action outputs.", - "format": "google-datetime", - "type": "string" - }, - "outputUploadStartTimestamp": { - "description": "When the worker started uploading action outputs.", - "format": "google-datetime", - "type": "string" - }, - "queuedTimestamp": { - "description": "When was the action added to the queue.", - "format": "google-datetime", - "type": "string" - }, - "worker": { - "description": "The name of the worker which ran the execution.", - "type": "string" - }, - "workerCompletedTimestamp": { - "description": "When the worker completed the action, including all stages.", - "format": "google-datetime", - "type": "string" - }, - "workerStartTimestamp": { - "description": "When the worker received the action.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2FileNode": { - "description": "A `FileNode` represents a single file and associated metadata.", - "id": "BuildBazelRemoteExecutionV2FileNode", - "properties": { - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the file's content." - }, - "isExecutable": { - "description": "True if file is executable, false otherwise.", - "type": "boolean" - }, - "name": { - "description": "The name of the file.", - "type": "string" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2LogFile": { - "description": "A `LogFile` is a log stored in the CAS.", - "id": "BuildBazelRemoteExecutionV2LogFile", - "properties": { - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the log contents." - }, - "humanReadable": { - "description": "This is a hint as to the purpose of the log, and is set to true if the log is human-readable text that can be usefully displayed to a user, and false otherwise. For instance, if a command-line client wishes to print the server logs to the terminal for a failed action, this allows it to avoid displaying a binary file.", - "type": "boolean" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2NodeProperties": { - "description": "Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the properties that it accepts.", - "id": "BuildBazelRemoteExecutionV2NodeProperties", - "properties": { - "mtime": { - "description": "The file's last modification timestamp.", - "format": "google-datetime", - "type": "string" - }, - "properties": { - "description": "A list of string-based NodeProperties.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperty" - }, - "type": "array" - }, - "unixMode": { - "description": "The UNIX file mode, e.g., 0755.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2NodeProperty": { - "description": "A single property for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the property `name`s that it accepts. If permitted by the server, the same `name` may occur multiple times.", - "id": "BuildBazelRemoteExecutionV2NodeProperty", - "properties": { - "name": { - "description": "The property name.", - "type": "string" - }, - "value": { - "description": "The property value.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2OutputDirectory": { - "description": "An `OutputDirectory` is the output in an `ActionResult` corresponding to a directory's full contents rather than a single file.", - "id": "BuildBazelRemoteExecutionV2OutputDirectory", - "properties": { - "path": { - "description": "The full path of the directory relative to the working directory. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash. The empty string value is allowed, and it denotes the entire working directory.", - "type": "string" - }, - "treeDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the encoded Tree proto containing the directory's contents." - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2OutputFile": { - "description": "An `OutputFile` is similar to a FileNode, but it is used as an output in an `ActionResult`. It allows a full file path rather than only a name.", - "id": "BuildBazelRemoteExecutionV2OutputFile", - "properties": { - "contents": { - "description": "The contents of the file if inlining was requested. The server SHOULD NOT inline file contents unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", - "format": "byte", - "type": "string" - }, - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the file's content." - }, - "isExecutable": { - "description": "True if file is executable, false otherwise.", - "type": "boolean" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "path": { - "description": "The full path of the file relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2OutputSymlink": { - "description": "An `OutputSymlink` is similar to a Symlink, but it is used as an output in an `ActionResult`. `OutputSymlink` is binary-compatible with `SymlinkNode`.", - "id": "BuildBazelRemoteExecutionV2OutputSymlink", - "properties": { - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "path": { - "description": "The full path of the symlink relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", - "type": "string" - }, - "target": { - "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Platform": { - "description": "A `Platform` is a set of requirements, such as hardware, operating system, or compiler toolchain, for an Action's execution environment. A `Platform` is represented as a series of key-value pairs representing the properties that are required of the platform.", - "id": "BuildBazelRemoteExecutionV2Platform", - "properties": { - "properties": { - "description": "The properties that make up this platform. In order to ensure that equivalent `Platform`s always hash to the same value, the properties MUST be lexicographically sorted by name, and then by value. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2PlatformProperty" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2PlatformProperty": { - "description": "A single property for the environment. The server is responsible for specifying the property `name`s that it accepts. If an unknown `name` is provided in the requirements for an Action, the server SHOULD reject the execution request. If permitted by the server, the same `name` may occur multiple times. The server is also responsible for specifying the interpretation of property `value`s. For instance, a property describing how much RAM must be available may be interpreted as allowing a worker with 16GB to fulfill a request for 8GB, while a property describing the OS environment on which the action must be performed may require an exact match with the worker's OS. The server MAY use the `value` of one or more properties to determine how it sets up the execution environment, such as by making specific system files available to the worker. Both names and values are typically case-sensitive. Note that the platform is implicitly part of the action digest, so even tiny changes in the names or values (like changing case) may result in different action cache entries.", - "id": "BuildBazelRemoteExecutionV2PlatformProperty", - "properties": { - "name": { - "description": "The property name.", - "type": "string" - }, - "value": { - "description": "The property value.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2RequestMetadata": { - "description": "An optional Metadata to attach to any RPC request to tell the server about an external context of the request. The server may use this for logging or other purposes. To use it, the client attaches the header to the call using the canonical proto serialization: * name: `build.bazel.remote.execution.v2.requestmetadata-bin` * contents: the base64 encoded binary `RequestMetadata` message. Note: the gRPC library serializes binary headers encoded in base 64 by default (https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests). Therefore, if the gRPC library is used to pass/retrieve this metadata, the user may ignore the base64 encoding and assume it is simply serialized as a binary message.", - "id": "BuildBazelRemoteExecutionV2RequestMetadata", - "properties": { - "actionId": { - "description": "An identifier that ties multiple requests to the same action. For example, multiple requests to the CAS, Action Cache, and Execution API are used in order to compile foo.cc.", - "type": "string" - }, - "actionMnemonic": { - "description": "A brief description of the kind of action, for example, CppCompile or GoLink. There is no standard agreed set of values for this, and they are expected to vary between different client tools.", - "type": "string" - }, - "configurationId": { - "description": "An identifier for the configuration in which the target was built, e.g. for differentiating building host tools or different target platforms. There is no expectation that this value will have any particular structure, or equality across invocations, though some client tools may offer these guarantees.", - "type": "string" - }, - "correlatedInvocationsId": { - "description": "An identifier to tie multiple tool invocations together. For example, runs of foo_test, bar_test and baz_test on a post-submit of a given patch.", - "type": "string" - }, - "targetId": { - "description": "An identifier for the target which produced this action. No guarantees are made around how many actions may relate to a single target.", - "type": "string" - }, - "toolDetails": { - "$ref": "BuildBazelRemoteExecutionV2ToolDetails", - "description": "The details for the tool invoking the requests." - }, - "toolInvocationId": { - "description": "An identifier that ties multiple actions together to a final result. For example, multiple actions are required to build and run foo_test.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2SymlinkNode": { - "description": "A `SymlinkNode` represents a symbolic link.", - "id": "BuildBazelRemoteExecutionV2SymlinkNode", - "properties": { - "name": { - "description": "The name of the symlink.", - "type": "string" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "target": { - "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path as logical canonicalization may lead to different behavior in the presence of directory symlinks (e.g. `foo/../bar` may not be the same as `bar`). To reduce potential cache misses, canonicalization is still recommended where this is possible without impacting correctness.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ToolDetails": { - "description": "Details for the tool used to call the API.", - "id": "BuildBazelRemoteExecutionV2ToolDetails", - "properties": { - "toolName": { - "description": "Name of the tool, e.g. bazel.", - "type": "string" - }, - "toolVersion": { - "description": "Version of the tool used for the request, e.g. 5.0.3.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Tree": { - "description": "A `Tree` contains all the Directory protos in a single directory Merkle tree, compressed into one message.", - "id": "BuildBazelRemoteExecutionV2Tree", - "properties": { - "children": { - "description": "All the child directories: the directories referred to by the root and, recursively, all its children. In order to reconstruct the directory tree, the client must take the digests of each of the child directories and then build up a tree starting from the `root`.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2Directory" - }, - "type": "array" - }, - "root": { - "$ref": "BuildBazelRemoteExecutionV2Directory", - "description": "The root directory in the tree." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotCommandDurations": { - "description": "CommandDuration contains the various duration metrics tracked when a bot performs a command.", - "id": "GoogleDevtoolsRemotebuildbotCommandDurations", - "properties": { - "casRelease": { - "description": "The time spent to release the CAS blobs used by the task.", - "format": "google-duration", - "type": "string" - }, - "cmWaitForAssignment": { - "description": "The time spent waiting for Container Manager to assign an asynchronous container for execution.", - "format": "google-duration", - "type": "string" - }, - "dockerPrep": { - "description": "The time spent preparing the command to be run in a Docker container (includes pulling the Docker image, if necessary).", - "format": "google-duration", - "type": "string" - }, - "dockerPrepStartTime": { - "description": "The timestamp when docker preparation begins.", - "format": "google-datetime", - "type": "string" - }, - "download": { - "description": "The time spent downloading the input files and constructing the working directory.", - "format": "google-duration", - "type": "string" - }, - "downloadStartTime": { - "description": "The timestamp when downloading the input files begins.", - "format": "google-datetime", - "type": "string" - }, - "execStartTime": { - "description": "The timestamp when execution begins.", - "format": "google-datetime", - "type": "string" - }, - "execution": { - "description": "The time spent executing the command (i.e., doing useful work).", - "format": "google-duration", - "type": "string" - }, - "isoPrepDone": { - "description": "The timestamp when preparation is done and bot starts downloading files.", - "format": "google-datetime", - "type": "string" - }, - "overall": { - "description": "The time spent completing the command, in total.", - "format": "google-duration", - "type": "string" - }, - "stdout": { - "description": "The time spent uploading the stdout logs.", - "format": "google-duration", - "type": "string" - }, - "upload": { - "description": "The time spent uploading the output files.", - "format": "google-duration", - "type": "string" - }, - "uploadStartTime": { - "description": "The timestamp when uploading the output files begins.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotCommandEvents": { - "description": "CommandEvents contains counters for the number of warnings and errors that occurred during the execution of a command.", - "id": "GoogleDevtoolsRemotebuildbotCommandEvents", - "properties": { - "cmUsage": { - "description": "Indicates if and how Container Manager is being used for task execution.", - "enum": [ - "CONFIG_NONE", - "CONFIG_MATCH", - "CONFIG_MISMATCH" - ], - "enumDescriptions": [ - "Container Manager is disabled or not running for this execution.", - "Container Manager is enabled and there was a matching container available for use during execution.", - "Container Manager is enabled, but there was no matching container available for execution." - ], - "type": "string" - }, - "dockerCacheHit": { - "description": "Indicates whether we are using a cached Docker image (true) or had to pull the Docker image (false) for this command.", - "type": "boolean" - }, - "dockerImageName": { - "description": "Docker Image name.", - "type": "string" - }, - "inputCacheMiss": { - "description": "The input cache miss ratio.", - "format": "float", - "type": "number" - }, - "numErrors": { - "description": "The number of errors reported.", - "format": "uint64", - "type": "string" - }, - "numWarnings": { - "description": "The number of warnings reported.", - "format": "uint64", - "type": "string" - }, - "outputLocation": { - "description": "Indicates whether output files and/or output directories were found relative to the execution root or to the user provided work directory or both or none.", - "enum": [ - "LOCATION_UNDEFINED", - "LOCATION_NONE", - "LOCATION_EXEC_ROOT_RELATIVE", - "LOCATION_WORKING_DIR_RELATIVE", - "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE", - "LOCATION_EXEC_ROOT_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR", - "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR" - ], - "enumDescriptions": [ - "Location is set to LOCATION_UNDEFINED for tasks where the working directorty is not specified or is identical to the execution root directory.", - "No output files or directories were found neither relative to the execution root directory nor relative to the working directory.", - "Output files or directories were found relative to the execution root directory but not relative to the working directory.", - "Output files or directories were found relative to the working directory but not relative to the execution root directory.", - "Output files or directories were found both relative to the execution root directory and relative to the working directory.", - "Output files or directories were found relative to the execution root directory but not relative to the working directory. In addition at least one output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`.", - "Output files or directories were found both relative to the execution root directory and relative to the working directory. In addition at least one exec-root-relative output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`." - ], - "type": "string" - }, - "usedAsyncContainer": { - "description": "Indicates whether an asynchronous container was used for execution.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotCommandStatus": { - "description": "The internal status of the command result.", - "id": "GoogleDevtoolsRemotebuildbotCommandStatus", - "properties": { - "code": { - "description": "The status code.", - "enum": [ - "OK", - "INVALID_ARGUMENT", - "DEADLINE_EXCEEDED", - "NOT_FOUND", - "PERMISSION_DENIED", - "INTERNAL", - "ABORTED", - "FAILED_PRECONDITION", - "CLEANUP_ERROR", - "DOWNLOAD_INPUTS_ERROR", - "UNKNOWN", - "UPLOAD_OUTPUTS_ERROR", - "UPLOAD_OUTPUTS_BYTES_LIMIT_EXCEEDED", - "DOCKER_LOGIN_ERROR", - "DOCKER_IMAGE_PULL_ERROR", - "DOCKER_IMAGE_EXIST_ERROR", - "DUPLICATE_INPUTS", - "DOCKER_IMAGE_PERMISSION_DENIED", - "DOCKER_IMAGE_NOT_FOUND", - "WORKING_DIR_NOT_FOUND", - "WORKING_DIR_NOT_IN_BASE_DIR", - "DOCKER_UNAVAILABLE", - "NO_CUDA_CAPABLE_DEVICE", - "REMOTE_CAS_DOWNLOAD_ERROR", - "REMOTE_CAS_UPLOAD_ERROR", - "LOCAL_CASPROXY_NOT_RUNNING", - "DOCKER_CREATE_CONTAINER_ERROR", - "DOCKER_INVALID_ULIMIT", - "DOCKER_UNKNOWN_RUNTIME", - "DOCKER_UNKNOWN_CAPABILITY", - "DOCKER_UNKNOWN_ERROR", - "DOCKER_CREATE_COMPUTE_SYSTEM_ERROR", - "DOCKER_PREPARELAYER_ERROR", - "DOCKER_INCOMPATIBLE_OS_ERROR", - "DOCKER_CREATE_RUNTIME_FILE_NOT_FOUND", - "DOCKER_CREATE_RUNTIME_PERMISSION_DENIED", - "DOCKER_CREATE_PROCESS_FILE_NOT_FOUND", - "DOCKER_CREATE_COMPUTE_SYSTEM_INCORRECT_PARAMETER_ERROR", - "DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS", - "LOCAL_CONTAINER_MANAGER_NOT_RUNNING", - "DOCKER_IMAGE_VPCSC_PERMISSION_DENIED", - "WORKING_DIR_NOT_RELATIVE", - "DOCKER_MISSING_CONTAINER" - ], - "enumDescriptions": [ - "The command succeeded.", - "The command input was invalid.", - "The command had passed its expiry time while it was still running.", - "The resources requested by the command were not found.", - "The command failed due to permission errors.", - "The command failed because of some invariants expected by the underlying system have been broken. This usually indicates a bug wit the system.", - "The command was aborted.", - "The command failed because the system is not in a state required for the command, e.g. the command inputs cannot be found on the server.", - "The bot failed to do the cleanup, e.g. unable to delete the command working directory or the command process.", - "The bot failed to download the inputs.", - "Unknown error.", - "The bot failed to upload the outputs.", - "The bot tried to upload files having a total size that is too large.", - "The bot failed to login to docker.", - "The bot failed to pull docker image.", - "The bot failed to check docker images.", - "The inputs contain duplicate files.", - "The bot doesn't have the permissions to pull docker images.", - "The docker image cannot be found.", - "Working directory is not found.", - "Working directory is not under the base directory", - "There are issues with docker service/runtime.", - "The command failed with \"no cuda-capable device is detected\" error.", - "The bot encountered errors from remote CAS when downloading blobs.", - "The bot encountered errors from remote CAS when uploading blobs.", - "The local casproxy is not running.", - "The bot couldn't start the container.", - "The docker ulimit is not valid.", - "The docker runtime is unknown.", - "The docker capability is unknown.", - "The command failed with unknown docker errors.", - "Docker failed to run containers with CreateComputeSystem error.", - "Docker failed to run containers with hcsshim::PrepareLayer error.", - "Docker incompatible operating system error.", - "Docker failed to create OCI runtime because of file not found.", - "Docker failed to create OCI runtime because of permission denied.", - "Docker failed to create process because of file not found.", - "Docker failed to run containers with CreateComputeSystem error that involves an incorrect parameter (more specific version of DOCKER_CREATE_COMPUTE_SYSTEM_ERROR that is user-caused).", - "Docker failed to create an overlay mount because of too many levels of symbolic links.", - "The local Container Manager is not running.", - "Docker failed because a request was denied by the organization's policy.", - "Working directory is not relative", - "Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run." - ], - "type": "string" - }, - "message": { - "description": "The error message.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotResourceUsage": { - "description": "ResourceUsage is the system resource usage of the host machine.", - "id": "GoogleDevtoolsRemotebuildbotResourceUsage", - "properties": { - "cpuUsedPercent": { - "format": "double", - "type": "number" - }, - "diskUsage": { - "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" - }, - "memoryUsage": { - "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" - }, - "totalDiskIoStats": { - "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotResourceUsageIOStats": { - "id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats", - "properties": { - "readBytesCount": { - "format": "uint64", - "type": "string" - }, - "readCount": { - "format": "uint64", - "type": "string" - }, - "readTimeMs": { - "format": "uint64", - "type": "string" - }, - "writeBytesCount": { - "format": "uint64", - "type": "string" - }, - "writeCount": { - "format": "uint64", - "type": "string" - }, - "writeTimeMs": { - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotResourceUsageStat": { - "id": "GoogleDevtoolsRemotebuildbotResourceUsageStat", - "properties": { - "total": { - "format": "uint64", - "type": "string" - }, - "used": { - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig": { - "description": "AcceleratorConfig defines the accelerator cards to attach to the VM.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", - "properties": { - "acceleratorCount": { - "description": "The number of guest accelerator cards exposed to each VM.", - "format": "int64", - "type": "string" - }, - "acceleratorType": { - "description": "The type of accelerator to attach to each VM, e.g. \"nvidia-tesla-k80\" for nVidia Tesla K80.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale": { - "description": "Autoscale defines the autoscaling policy of a worker pool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", - "properties": { - "maxSize": { - "description": "The maximal number of workers. Must be equal to or greater than min_size.", - "format": "int64", - "type": "string" - }, - "minSize": { - "description": "The minimal number of workers. Must be greater than 0.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest": { - "description": "The request used for `CreateInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest", - "properties": { - "instance": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", - "description": "Specifies the instance to create. The name in the instance, if specified in the instance, is ignored." - }, - "instanceId": { - "description": "ID of the created instance. A valid `instance_id` must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", - "type": "string" - }, - "parent": { - "description": "Resource name of the project containing the instance. Format: `projects/[PROJECT_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest": { - "description": "The request used for `CreateWorkerPool`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest", - "properties": { - "parent": { - "description": "Resource name of the instance in which to create the new worker pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - }, - "poolId": { - "description": "ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", - "type": "string" - }, - "workerPool": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", - "description": "Specifies the worker pool to create. The name in the worker pool, if specified, is ignored." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest": { - "description": "The request used for `DeleteInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest", - "properties": { - "name": { - "description": "Name of the instance to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest": { - "description": "The request used for DeleteWorkerPool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest", - "properties": { - "name": { - "description": "Name of the worker pool to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy": { - "description": "FeaturePolicy defines features allowed to be used on RBE instances, as well as instance-wide behavior changes that take effect without opt-in or opt-out at usage time.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", - "properties": { - "containerImageSources": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ \"gcr.io/project-foo\", \"gcr.io/project-bar/repo-baz\", ] } will allow any repositories under \"gcr.io/project-foo\" plus the repository \"gcr.io/project-bar/repo-baz\". Default (UNSPECIFIED) is equivalent to any source is allowed." - }, - "dockerAddCapabilities": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerAddCapabilities can be used or what capabilities are allowed." - }, - "dockerChrootPath": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerChrootPath can be used." - }, - "dockerNetwork": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow `off` value only via `allowed_values`." - }, - "dockerPrivileged": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerPrivileged can be used." - }, - "dockerRunAsRoot": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerRunAsRoot can be used." - }, - "dockerRuntime": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation." - }, - "dockerSiblingContainers": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerSiblingContainers can be used." - }, - "linuxIsolation": { - "description": "linux_isolation allows overriding the docker runtime used for containers started on Linux.", - "enum": [ - "LINUX_ISOLATION_UNSPECIFIED", - "GVISOR", - "OFF" - ], - "enumDescriptions": [ - "Default value. Will be using Linux default runtime.", - "Use gVisor runsc runtime.", - "Use stardard Linux runtime. This has the same behaviour as unspecified, but it can be used to revert back from gVisor." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature": { - "description": "Defines whether a feature can be used or what values are accepted.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "properties": { - "allowedValues": { - "description": "A list of acceptable values. Only effective when the policy is `RESTRICTED`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "policy": { - "description": "The policy of the feature.", - "enum": [ - "POLICY_UNSPECIFIED", - "ALLOWED", - "FORBIDDEN", - "RESTRICTED" - ], - "enumDescriptions": [ - "Default value, if not explicitly set. Equivalent to FORBIDDEN, unless otherwise documented on a specific Feature.", - "Feature is explicitly allowed.", - "Feature is forbidden. Requests attempting to leverage it will get an FailedPrecondition error, with a message like: \"Feature forbidden by FeaturePolicy: Feature on instance \"", - "Only the values specified in the `allowed_values` are allowed." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest": { - "description": "The request used for `GetInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest", - "properties": { - "name": { - "description": "Name of the instance to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest": { - "description": "The request used for GetWorkerPool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest", - "properties": { - "name": { - "description": "Name of the worker pool to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance": { - "description": "Instance conceptually encapsulates all Remote Build Execution resources for remote builds. An instance consists of storage and compute resources (for example, `ContentAddressableStorage`, `ActionCache`, `WorkerPools`) used for running remote builds. All Remote Build Execution API calls are scoped to an instance.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", - "properties": { - "featurePolicy": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", - "description": "The policy to define whether or not RBE features can be used or how they can be used." - }, - "location": { - "description": "The location is a GCP region. Currently only `us-central1` is supported.", - "type": "string" - }, - "loggingEnabled": { - "description": "Output only. Whether stack driver logging is enabled for the instance.", - "type": "boolean" - }, - "name": { - "description": "Output only. Instance resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be populated when creating an instance since it is provided in the `instance_id` field.", - "type": "string" - }, - "state": { - "description": "Output only. State of the instance.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "RUNNING", - "INACTIVE" - ], - "enumDescriptions": [ - "Not a valid state, but the default value of the enum.", - "The instance is in state `CREATING` once `CreateInstance` is called and before the instance is ready for use.", - "The instance is in state `RUNNING` when it is ready for use.", - "An `INACTIVE` instance indicates that there is a problem that needs to be fixed. Such instances cannot be used for execution and instances that remain in this state for a significant period of time will be removed permanently." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest", - "properties": { - "parent": { - "description": "Resource name of the project. Format: `projects/[PROJECT_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse", - "properties": { - "instances": { - "description": "The list of instances in a given project.", - "items": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest", - "properties": { - "filter": { - "description": "Optional. A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. String values are case-insensitive. The comparison operator must be either `:`, `=`, `!=`, `>`, `>=`, `<=` or `<`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. You can also filter on nested fields. To filter on multiple expressions, you can separate expression using `AND` and `OR` operators, using parentheses to specify precedence. If neither operator is specified, `AND` is assumed. Examples: Include only pools with more than 100 reserved workers: `(worker_count > 100) (worker_config.reserved = true)` Include only pools with a certain label or machines of the e2-standard family: `worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard`", - "type": "string" - }, - "parent": { - "description": "Resource name of the instance. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse", - "properties": { - "workerPools": { - "description": "The list of worker pools in a given instance.", - "items": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest": { - "description": "The request used for `UpdateInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest", - "properties": { - "instance": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", - "description": "Specifies the instance to update." - }, - "loggingEnabled": { - "description": "Deprecated, use instance.logging_enabled instead. Whether to enable Stackdriver logging for this instance.", - "type": "boolean" - }, - "name": { - "description": "Deprecated, use instance.Name instead. Name of the instance to update. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - }, - "updateMask": { - "description": "The update mask applies to instance. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest": { - "description": "The request used for UpdateWorkerPool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest", - "properties": { - "updateMask": { - "description": "The update mask applies to worker_pool. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", - "format": "google-fieldmask", - "type": "string" - }, - "workerPool": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", - "description": "Specifies the worker pool to update." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig": { - "description": "Defines the configuration to be used for creating workers in the worker pool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", - "properties": { - "accelerator": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", - "description": "The accelerator card attached to each VM." - }, - "diskSizeGb": { - "description": "Required. Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/", - "format": "int64", - "type": "string" - }, - "diskType": { - "description": "Required. Disk Type to use for the worker. See [Storage options](https://cloud.google.com/compute/docs/disks/#introduction). Currently only `pd-standard` and `pd-ssd` are supported.", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.", - "type": "object" - }, - "machineType": { - "description": "Required. Machine type of the worker, such as `e2-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.", - "type": "string" - }, - "maxConcurrentActions": { - "description": "The maximum number of actions a worker can execute concurrently.", - "format": "int64", - "type": "string" - }, - "minCpuPlatform": { - "description": "Minimum CPU platform to use when creating the worker. See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).", - "type": "string" - }, - "networkAccess": { - "description": "Determines the type of network access granted to workers. Possible values: - \"public\": Workers can connect to the public internet. - \"private\": Workers can only connect to Google APIs and services. - \"restricted-private\": Workers can only connect to Google APIs that are reachable through `restricted.googleapis.com` (`199.36.153.4/30`).", - "type": "string" - }, - "reserved": { - "description": "Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more details.", - "type": "boolean" - }, - "soleTenantNodeType": { - "description": "The node type name to be used for sole-tenant nodes.", - "type": "string" - }, - "vmImage": { - "description": "The name of the image used by each VM.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool": { - "description": "A worker pool resource in the Remote Build Execution API.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", - "properties": { - "autoscale": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", - "description": "The autoscale policy to apply on a pool." - }, - "channel": { - "description": "Channel specifies the release channel of the pool.", - "type": "string" - }, - "name": { - "description": "WorkerPool resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`. name should not be populated when creating a worker pool since it is provided in the `poolId` field.", - "type": "string" - }, - "state": { - "description": "Output only. State of the worker pool.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "RUNNING", - "UPDATING", - "DELETING", - "INACTIVE" - ], - "enumDescriptions": [ - "Not a valid state, but the default value of the enum.", - "The worker pool is in state `CREATING` once `CreateWorkerPool` is called and before all requested workers are ready.", - "The worker pool is in state `RUNNING` when all its workers are ready for use.", - "The worker pool is in state `UPDATING` once `UpdateWorkerPool` is called and before the new configuration has all the requested workers ready for use, and no older configuration has any workers. At that point the state transitions to `RUNNING`.", - "The worker pool is in state `DELETING` once the `Delete` method is called and before the deletion completes.", - "The worker pool is in state `INACTIVE` when the instance hosting the worker pool in not running." - ], - "type": "string" - }, - "workerConfig": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", - "description": "Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool." - }, - "workerCount": { - "description": "The desired number of workers in the worker pool. Must be a value between 0 and 15000.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2AdminTemp": { - "description": "AdminTemp is a prelimiary set of administration tasks. It's called \"Temp\" because we do not yet know the best way to represent admin tasks; it's possible that this will be entirely replaced in later versions of this API. If this message proves to be sufficient, it will be renamed in the alpha or beta release of this API. This message (suitably marshalled into a protobuf.Any) can be used as the inline_assignment field in a lease; the lease assignment field should simply be `\"admin\"` in these cases. This message is heavily based on Swarming administration tasks from the LUCI project (http://github.com/luci/luci-py/appengine/swarming).", - "id": "GoogleDevtoolsRemoteworkersV1test2AdminTemp", - "properties": { - "arg": { - "description": "The argument to the admin action; see `Command` for semantics.", - "type": "string" - }, - "command": { - "description": "The admin action; see `Command` for legal values.", - "enum": [ - "UNSPECIFIED", - "BOT_UPDATE", - "BOT_RESTART", - "BOT_TERMINATE", - "HOST_RESTART" - ], - "enumDescriptions": [ - "Illegal value.", - "Download and run a new version of the bot. `arg` will be a resource accessible via `ByteStream.Read` to obtain the new bot code.", - "Restart the bot without downloading a new version. `arg` will be a message to log.", - "Shut down the bot. `arg` will be a task resource name (similar to those in tasks.proto) that the bot can use to tell the server that it is terminating.", - "Restart the host computer. `arg` will be a message to log." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2Blob": { - "description": "Describes a blob of binary content with its digest.", - "id": "GoogleDevtoolsRemoteworkersV1test2Blob", - "properties": { - "contents": { - "description": "The contents of the blob.", - "format": "byte", - "type": "string" - }, - "digest": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "The digest of the blob. This should be verified by the receiver." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandOutputs": { - "description": "DEPRECATED - use CommandResult instead. Describes the actual outputs from the task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandOutputs", - "properties": { - "exitCode": { - "description": "exit_code is only fully reliable if the status' code is OK. If the task exceeded its deadline or was cancelled, the process may still produce an exit code as it is cancelled, and this will be populated, but a successful (zero) is unlikely to be correct unless the status code is OK.", - "format": "int32", - "type": "integer" - }, - "outputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandOverhead": { - "description": "DEPRECATED - use CommandResult instead. Can be used as part of CompleteRequest.metadata, or are part of a more sophisticated message.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandOverhead", - "properties": { - "duration": { - "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", - "format": "google-duration", - "type": "string" - }, - "overhead": { - "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandResult": { - "description": "All information about the execution of a command, suitable for providing as the Bots interface's `Lease.result` field.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandResult", - "properties": { - "duration": { - "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", - "format": "google-duration", - "type": "string" - }, - "exitCode": { - "description": "The exit code of the process. An exit code of \"0\" should only be trusted if `status` has a code of OK (otherwise it may simply be unset).", - "format": "int32", - "type": "integer" - }, - "metadata": { - "description": "Implementation-dependent metadata about the task. Both servers and bots may define messages which can be encoded here; bots are free to provide metadata in multiple formats, and servers are free to choose one or more of the values to process and ignore others. In particular, it is *not* considered an error for the bot to provide the server with a field that it doesn't know about.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "outputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" - }, - "overhead": { - "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", - "format": "google-duration", - "type": "string" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "An overall status for the command. For example, if the command timed out, this might have a code of DEADLINE_EXCEEDED; if it was killed by the OS for memory exhaustion, it might have a code of RESOURCE_EXHAUSTED." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTask": { - "description": "Describes a shell-style task to execute, suitable for providing as the Bots interface's `Lease.payload` field.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTask", - "properties": { - "expectedOutputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", - "description": "The expected outputs from the task." - }, - "inputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", - "description": "The inputs to the task." - }, - "timeouts": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", - "description": "The timeouts of this task." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs": { - "description": "Describes the inputs to a shell-style task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", - "properties": { - "arguments": { - "description": "The command itself to run (e.g., argv). This field should be passed directly to the underlying operating system, and so it must be sensible to that operating system. For example, on Windows, the first argument might be \"C:\\Windows\\System32\\ping.exe\" - that is, using drive letters and backslashes. A command for a *nix system, on the other hand, would use forward slashes. All other fields in the RWAPI must consistently use forward slashes, since those fields may be interpretted by both the service and the bot.", - "items": { - "type": "string" - }, - "type": "array" - }, - "environmentVariables": { - "description": "All environment variables required by the task.", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable" - }, - "type": "array" - }, - "files": { - "description": "The input filesystem to be set up prior to the task beginning. The contents should be a repeated set of FileMetadata messages though other formats are allowed if better for the implementation (eg, a LUCI-style .isolated file). This field is repeated since implementations might want to cache the metadata, in which case it may be useful to break up portions of the filesystem that change frequently (eg, specific input files) from those that don't (eg, standard header files).", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest" - }, - "type": "array" - }, - "inlineBlobs": { - "description": "Inline contents for blobs expected to be needed by the bot to execute the task. For example, contents of entries in `files` or blobs that are indirectly referenced by an entry there. The bot should check against this list before downloading required task inputs to reduce the number of communications between itself and the remote CAS server.", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Blob" - }, - "type": "array" - }, - "workingDirectory": { - "description": "Directory from which a command is executed. It is a relative directory with respect to the bot's working directory (i.e., \"./\"). If it is non-empty, then it must exist under \"./\". Otherwise, \"./\" will be used.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable": { - "description": "An environment variable required by this task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable", - "properties": { - "name": { - "description": "The envvar name.", - "type": "string" - }, - "value": { - "description": "The envvar value.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs": { - "description": "Describes the expected outputs of the command.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", - "properties": { - "directories": { - "description": "A list of expected directories, relative to the execution root. All paths MUST be delimited by forward slashes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "files": { - "description": "A list of expected files, relative to the execution root. All paths MUST be delimited by forward slashes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "stderrDestination": { - "description": "The destination to which any stderr should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", - "type": "string" - }, - "stdoutDestination": { - "description": "The destination to which any stdout should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts": { - "description": "Describes the timeouts associated with this task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", - "properties": { - "execution": { - "description": "This specifies the maximum time that the task can run, excluding the time required to download inputs or upload outputs. That is, the worker will terminate the task if it runs longer than this.", - "format": "google-duration", - "type": "string" - }, - "idle": { - "description": "This specifies the maximum amount of time the task can be idle - that is, go without generating some output in either stdout or stderr. If the process is silent for more than the specified time, the worker will terminate the task.", - "format": "google-duration", - "type": "string" - }, - "shutdown": { - "description": "If the execution or IO timeouts are exceeded, the worker will try to gracefully terminate the task and return any existing logs. However, tasks may be hard-frozen in which case this process will fail. This timeout specifies how long to wait for a terminated task to shut down gracefully (e.g. via SIGTERM) before we bring down the hammer (e.g. SIGKILL on *nix, CTRL_BREAK_EVENT on Windows).", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2Digest": { - "description": "The CommandTask and CommandResult messages assume the existence of a service that can serve blobs of content, identified by a hash and size known as a \"digest.\" The method by which these blobs may be retrieved is not specified here, but a model implementation is in the Remote Execution API's \"ContentAddressibleStorage\" interface. In the context of the RWAPI, a Digest will virtually always refer to the contents of a file or a directory. The latter is represented by the byte-encoded Directory message.", - "id": "GoogleDevtoolsRemoteworkersV1test2Digest", - "properties": { - "hash": { - "description": "A string-encoded hash (eg \"1a2b3c\", not the byte array [0x1a, 0x2b, 0x3c]) using an implementation-defined hash algorithm (eg SHA-256).", - "type": "string" - }, - "sizeBytes": { - "description": "The size of the contents. While this is not strictly required as part of an identifier (after all, any given hash will have exactly one canonical size), it's useful in almost all cases when one might want to send or retrieve blobs of content and is included here for this reason.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2Directory": { - "description": "The contents of a directory. Similar to the equivalent message in the Remote Execution API.", - "id": "GoogleDevtoolsRemoteworkersV1test2Directory", - "properties": { - "directories": { - "description": "Any subdirectories", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata" - }, - "type": "array" - }, - "files": { - "description": "The files in this directory", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2FileMetadata" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata": { - "description": "The metadata for a directory. Similar to the equivalent message in the Remote Execution API.", - "id": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata", - "properties": { - "digest": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "A pointer to the contents of the directory, in the form of a marshalled Directory message." - }, - "path": { - "description": "The path of the directory, as in FileMetadata.path.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2FileMetadata": { - "description": "The metadata for a file. Similar to the equivalent message in the Remote Execution API.", - "id": "GoogleDevtoolsRemoteworkersV1test2FileMetadata", - "properties": { - "contents": { - "description": "If the file is small enough, its contents may also or alternatively be listed here.", - "format": "byte", - "type": "string" - }, - "digest": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "A pointer to the contents of the file. The method by which a client retrieves the contents from a CAS system is not defined here." - }, - "isExecutable": { - "description": "Properties of the file", - "type": "boolean" - }, - "path": { - "description": "The path of this file. If this message is part of the CommandOutputs.outputs fields, the path is relative to the execution root and must correspond to an entry in CommandTask.outputs.files. If this message is part of a Directory message, then the path is relative to the root of that directory. All paths MUST be delimited by forward slashes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleLongrunningOperation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "GoogleLongrunningOperation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleRpcStatus": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "GoogleRpcStatus", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Remote Build Execution API", - "version": "v1alpha", - "version_module": true -} \ No newline at end of file diff --git a/discovery/remotebuildexecution-v2.json b/discovery/remotebuildexecution-v2.json deleted file mode 100644 index 7a45afa9cd9..00000000000 --- a/discovery/remotebuildexecution-v2.json +++ /dev/null @@ -1,2623 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud Platform data" - } - } - } - }, - "basePath": "", - "baseUrl": "https://remotebuildexecution.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Remote Build Execution", - "description": "Supplies a Remote Execution API service for tools such as bazel.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/remote-build-execution/docs/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "remotebuildexecution:v2", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://remotebuildexecution.mtls.googleapis.com/", - "name": "remotebuildexecution", - "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": { - "actionResults": { - "methods": { - "get": { - "description": "Retrieve a cached execution result. Implementations SHOULD ensure that any blobs referenced from the ContentAddressableStorage are available at the time of returning the ActionResult and will be for some period of time afterwards. The lifetimes of the referenced blobs SHOULD be increased if necessary and applicable. Errors: * `NOT_FOUND`: The requested `ActionResult` is not in the cache.", - "flatPath": "v2/{v2Id}/actionResults/{hash}/{sizeBytes}", - "httpMethod": "GET", - "id": "remotebuildexecution.actionResults.get", - "parameterOrder": [ - "instanceName", - "hash", - "sizeBytes" - ], - "parameters": { - "hash": { - "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", - "location": "path", - "required": true, - "type": "string" - }, - "inlineOutputFiles": { - "description": "A hint to the server to inline the contents of the listed output files. Each path needs to exactly match one file path in either `output_paths` or `output_files` (DEPRECATED since v2.1) in the Command message.", - "location": "query", - "repeated": true, - "type": "string" - }, - "inlineStderr": { - "description": "A hint to the server to request inlining stderr in the ActionResult message.", - "location": "query", - "type": "boolean" - }, - "inlineStdout": { - "description": "A hint to the server to request inlining stdout in the ActionResult message.", - "location": "query", - "type": "boolean" - }, - "instanceName": { - "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - }, - "sizeBytes": { - "description": "The size of the blob, in bytes.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v2/{+instanceName}/actionResults/{hash}/{sizeBytes}", - "response": { - "$ref": "BuildBazelRemoteExecutionV2ActionResult" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "update": { - "description": "Upload a new execution result. In order to allow the server to perform access control based on the type of action, and to assist with client debugging, the client MUST first upload the Action that produced the result, along with its Command, into the `ContentAddressableStorage`. Server implementations MAY modify the `UpdateActionResultRequest.action_result` and return an equivalent value. Errors: * `INVALID_ARGUMENT`: One or more arguments are invalid. * `FAILED_PRECONDITION`: One or more errors occurred in updating the action result, such as a missing command or action. * `RESOURCE_EXHAUSTED`: There is insufficient storage space to add the entry to the cache.", - "flatPath": "v2/{v2Id}/actionResults/{hash}/{sizeBytes}", - "httpMethod": "PUT", - "id": "remotebuildexecution.actionResults.update", - "parameterOrder": [ - "instanceName", - "hash", - "sizeBytes" - ], - "parameters": { - "hash": { - "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", - "location": "path", - "required": true, - "type": "string" - }, - "instanceName": { - "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - }, - "resultsCachePolicy.priority": { - "description": "The priority (relative importance) of this content in the overall cache. Generally, a lower value means a longer retention time or other advantage, but the interpretation of a given value is server-dependent. A priority of 0 means a *default* value, decided by the server. The particular semantics of this field is up to the server. In particular, every server will have their own supported range of priorities, and will decide how these map into retention/eviction policy.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "sizeBytes": { - "description": "The size of the blob, in bytes.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v2/{+instanceName}/actionResults/{hash}/{sizeBytes}", - "request": { - "$ref": "BuildBazelRemoteExecutionV2ActionResult" - }, - "response": { - "$ref": "BuildBazelRemoteExecutionV2ActionResult" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "actions": { - "methods": { - "execute": { - "description": "Execute an action remotely. In order to execute an action, the client must first upload all of the inputs, the Command to run, and the Action into the ContentAddressableStorage. It then calls `Execute` with an `action_digest` referring to them. The server will run the action and eventually return the result. The input `Action`'s fields MUST meet the various canonicalization requirements specified in the documentation for their types so that it has the same digest as other logically equivalent `Action`s. The server MAY enforce the requirements and return errors if a non-canonical input is received. It MAY also proceed without verifying some or all of the requirements, such as for performance reasons. If the server does not verify the requirement, then it will treat the `Action` as distinct from another logically equivalent action if they hash differently. Returns a stream of google.longrunning.Operation messages describing the resulting execution, with eventual `response` ExecuteResponse. The `metadata` on the operation is of type ExecuteOperationMetadata. If the client remains connected after the first response is returned after the server, then updates are streamed as if the client had called WaitExecution until the execution completes or the request reaches an error. The operation can also be queried using Operations API. The server NEED NOT implement other methods or functionality of the Operations API. Errors discovered during creation of the `Operation` will be reported as gRPC Status errors, while errors that occurred while running the action will be reported in the `status` field of the `ExecuteResponse`. The server MUST NOT set the `error` field of the `Operation` proto. The possible errors include: * `INVALID_ARGUMENT`: One or more arguments are invalid. * `FAILED_PRECONDITION`: One or more errors occurred in setting up the action requested, such as a missing input or command or no worker being available. The client may be able to fix the errors and retry. * `RESOURCE_EXHAUSTED`: There is insufficient quota of some resource to run the action. * `UNAVAILABLE`: Due to a transient condition, such as all workers being occupied (and the server does not support a queue), the action could not be started. The client should retry. * `INTERNAL`: An internal error occurred in the execution engine or the worker. * `DEADLINE_EXCEEDED`: The execution timed out. * `CANCELLED`: The operation was cancelled by the client. This status is only possible if the server implements the Operations API CancelOperation method, and it was called for the current execution. In the case of a missing input or command, the server SHOULD additionally send a PreconditionFailure error detail where, for each requested blob not present in the CAS, there is a `Violation` with a `type` of `MISSING` and a `subject` of `\"blobs/{hash}/{size}\"` indicating the digest of the missing blob. The server does not need to guarantee that a call to this method leads to at most one execution of the action. The server MAY execute the action multiple times, potentially in parallel. These redundant executions MAY continue to run, even if the operation is completed.", - "flatPath": "v2/{v2Id}/actions:execute", - "httpMethod": "POST", - "id": "remotebuildexecution.actions.execute", - "parameterOrder": [ - "instanceName" - ], - "parameters": { - "instanceName": { - "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+instanceName}/actions:execute", - "request": { - "$ref": "BuildBazelRemoteExecutionV2ExecuteRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "blobs": { - "methods": { - "batchRead": { - "description": "Download many blobs at once. The server may enforce a limit of the combined total size of blobs to be downloaded using this API. This limit may be obtained using the Capabilities API. Requests exceeding the limit should either be split into smaller chunks or downloaded using the ByteStream API, as appropriate. This request is equivalent to calling a Bytestream `Read` request on each individual blob, in parallel. The requests may succeed or fail independently. Errors: * `INVALID_ARGUMENT`: The client attempted to read more than the server supported limit. Every error on individual read will be returned in the corresponding digest status.", - "flatPath": "v2/{v2Id}/blobs:batchRead", - "httpMethod": "POST", - "id": "remotebuildexecution.blobs.batchRead", - "parameterOrder": [ - "instanceName" - ], - "parameters": { - "instanceName": { - "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+instanceName}/blobs:batchRead", - "request": { - "$ref": "BuildBazelRemoteExecutionV2BatchReadBlobsRequest" - }, - "response": { - "$ref": "BuildBazelRemoteExecutionV2BatchReadBlobsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "batchUpdate": { - "description": "Upload many blobs at once. The server may enforce a limit of the combined total size of blobs to be uploaded using this API. This limit may be obtained using the Capabilities API. Requests exceeding the limit should either be split into smaller chunks or uploaded using the ByteStream API, as appropriate. This request is equivalent to calling a Bytestream `Write` request on each individual blob, in parallel. The requests may succeed or fail independently. Errors: * `INVALID_ARGUMENT`: The client attempted to upload more than the server supported limit. Individual requests may return the following errors, additionally: * `RESOURCE_EXHAUSTED`: There is insufficient disk quota to store the blob. * `INVALID_ARGUMENT`: The Digest does not match the provided data.", - "flatPath": "v2/{v2Id}/blobs:batchUpdate", - "httpMethod": "POST", - "id": "remotebuildexecution.blobs.batchUpdate", - "parameterOrder": [ - "instanceName" - ], - "parameters": { - "instanceName": { - "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+instanceName}/blobs:batchUpdate", - "request": { - "$ref": "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest" - }, - "response": { - "$ref": "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "findMissing": { - "description": "Determine if blobs are present in the CAS. Clients can use this API before uploading blobs to determine which ones are already present in the CAS and do not need to be uploaded again. Servers SHOULD increase the lifetimes of the referenced blobs if necessary and applicable. There are no method-specific errors.", - "flatPath": "v2/{v2Id}/blobs:findMissing", - "httpMethod": "POST", - "id": "remotebuildexecution.blobs.findMissing", - "parameterOrder": [ - "instanceName" - ], - "parameters": { - "instanceName": { - "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+instanceName}/blobs:findMissing", - "request": { - "$ref": "BuildBazelRemoteExecutionV2FindMissingBlobsRequest" - }, - "response": { - "$ref": "BuildBazelRemoteExecutionV2FindMissingBlobsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getTree": { - "description": "Fetch the entire directory tree rooted at a node. This request must be targeted at a Directory stored in the ContentAddressableStorage (CAS). The server will enumerate the `Directory` tree recursively and return every node descended from the root. The GetTreeRequest.page_token parameter can be used to skip ahead in the stream (e.g. when retrying a partially completed and aborted request), by setting it to a value taken from GetTreeResponse.next_page_token of the last successfully processed GetTreeResponse). The exact traversal order is unspecified and, unless retrieving subsequent pages from an earlier request, is not guaranteed to be stable across multiple invocations of `GetTree`. If part of the tree is missing from the CAS, the server will return the portion present and omit the rest. Errors: * `NOT_FOUND`: The requested tree root is not present in the CAS.", - "flatPath": "v2/{v2Id}/blobs/{hash}/{sizeBytes}:getTree", - "httpMethod": "GET", - "id": "remotebuildexecution.blobs.getTree", - "parameterOrder": [ - "instanceName", - "hash", - "sizeBytes" - ], - "parameters": { - "hash": { - "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", - "location": "path", - "required": true, - "type": "string" - }, - "instanceName": { - "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "A maximum page size to request. If present, the server will request no more than this many items. Regardless of whether a page size is specified, the server may place its own limit on the number of items to be returned and require the client to retrieve more items using a subsequent request.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token, which must be a value received in a previous GetTreeResponse. If present, the server will use that token as an offset, returning only that page and the ones that succeed it.", - "location": "query", - "type": "string" - }, - "sizeBytes": { - "description": "The size of the blob, in bytes.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v2/{+instanceName}/blobs/{hash}/{sizeBytes}:getTree", - "response": { - "$ref": "BuildBazelRemoteExecutionV2GetTreeResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "operations": { - "methods": { - "waitExecution": { - "description": "Wait for an execution operation to complete. When the client initially makes the request, the server immediately responds with the current status of the execution. The server will leave the request stream open until the operation completes, and then respond with the completed operation. The server MAY choose to stream additional updates as execution progresses, such as to provide an update as to the state of the execution.", - "flatPath": "v2/operations/{operationsId}:waitExecution", - "httpMethod": "POST", - "id": "remotebuildexecution.operations.waitExecution", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the Operation returned by Execute.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+name}:waitExecution", - "request": { - "$ref": "BuildBazelRemoteExecutionV2WaitExecutionRequest" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "v2": { - "methods": { - "getCapabilities": { - "description": "GetCapabilities returns the server capabilities configuration of the remote endpoint. Only the capabilities of the services supported by the endpoint will be returned: * Execution + CAS + Action Cache endpoints should return both CacheCapabilities and ExecutionCapabilities. * Execution only endpoints should return ExecutionCapabilities. * CAS + Action Cache only endpoints should return CacheCapabilities.", - "flatPath": "v2/{v2Id}/capabilities", - "httpMethod": "GET", - "id": "remotebuildexecution.getCapabilities", - "parameterOrder": [ - "instanceName" - ], - "parameters": { - "instanceName": { - "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", - "location": "path", - "pattern": "^.*$", - "required": true, - "type": "string" - } - }, - "path": "v2/{+instanceName}/capabilities", - "response": { - "$ref": "BuildBazelRemoteExecutionV2ServerCapabilities" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - }, - "revision": "20210614", - "rootUrl": "https://remotebuildexecution.googleapis.com/", - "schemas": { - "BuildBazelRemoteExecutionV2Action": { - "description": "An `Action` captures all the information about an execution which is required to reproduce it. `Action`s are the core component of the [Execution] service. A single `Action` represents a repeatable action that can be performed by the execution service. `Action`s can be succinctly identified by the digest of their wire format encoding and, once an `Action` has been executed, will be cached in the action cache. Future requests can then use the cached result rather than needing to run afresh. When a server completes execution of an Action, it MAY choose to cache the result in the ActionCache unless `do_not_cache` is `true`. Clients SHOULD expect the server to do so. By default, future calls to Execute the same `Action` will also serve their results from the cache. Clients must take care to understand the caching behaviour. Ideally, all `Action`s will be reproducible so that serving a result from cache is always desirable and correct.", - "id": "BuildBazelRemoteExecutionV2Action", - "properties": { - "commandDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the Command to run, which MUST be present in the ContentAddressableStorage." - }, - "doNotCache": { - "description": "If true, then the `Action`'s result cannot be cached, and in-flight requests for the same `Action` may not be merged.", - "type": "boolean" - }, - "inputRootDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the root Directory for the input files. The files in the directory tree are available in the correct location on the build machine before the command is executed. The root directory, as well as every subdirectory and content blob referred to, MUST be in the ContentAddressableStorage." - }, - "platform": { - "$ref": "BuildBazelRemoteExecutionV2Platform", - "description": "The optional platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. New in version 2.2: clients SHOULD set these platform properties as well as those in the Command. Servers SHOULD prefer those set here." - }, - "salt": { - "description": "An optional additional salt value used to place this `Action` into a separate cache namespace from other instances having the same field contents. This salt typically comes from operational configuration specific to sources such as repo and service configuration, and allows disowning an entire set of ActionResults that might have been poisoned by buggy software or tool failures.", - "format": "byte", - "type": "string" - }, - "timeout": { - "description": "A timeout after which the execution should be killed. If the timeout is absent, then the client is specifying that the execution should continue as long as the server will let it. The server SHOULD impose a timeout if the client does not specify one, however, if the client does specify a timeout that is longer than the server's maximum timeout, the server MUST reject the request. The timeout is a part of the Action message, and therefore two `Actions` with different timeouts are different, even if they are otherwise identical. This is because, if they were not, running an `Action` with a lower timeout than is required might result in a cache hit from an execution run with a longer timeout, hiding the fact that the timeout is too short. By encoding it directly in the `Action`, a lower timeout will result in a cache miss and the execution timeout will fail immediately, rather than whenever the cache entry gets evicted.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities": { - "description": "Describes the server/instance capabilities for updating the action cache.", - "id": "BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities", - "properties": { - "updateEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ActionResult": { - "description": "An ActionResult represents the result of an Action being run. It is advised that at least one field (for example `ActionResult.execution_metadata.Worker`) have a non-default value, to ensure that the serialized value is non-empty, which can then be used as a basic data sanity check.", - "id": "BuildBazelRemoteExecutionV2ActionResult", - "properties": { - "executionMetadata": { - "$ref": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", - "description": "The details of the execution that originally produced this result." - }, - "exitCode": { - "description": "The exit code of the command.", - "format": "int32", - "type": "integer" - }, - "outputDirectories": { - "description": "The output directories of the action. For each output directory requested in the `output_directories` or `output_paths` field of the Action, if the corresponding directory existed after the action completed, a single entry will be present in the output list, which will contain the digest of a Tree message containing the directory tree, and the path equal exactly to the corresponding Action output_directories member. As an example, suppose the Action had an output directory `a/b/dir` and the execution produced the following contents in `a/b/dir`: a file named `bar` and a directory named `foo` with an executable file named `baz`. Then, output_directory will contain (hashes shortened for readability): ```json // OutputDirectory proto: { path: \"a/b/dir\" tree_digest: { hash: \"4a73bc9d03...\", size: 55 } } // Tree proto with hash \"4a73bc9d03...\" and size 55: { root: { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 } } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } children : { // (Directory proto with hash \"4cf2eda940...\" and size 43) files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } } ``` If an output of the same name as listed in `output_files` of the Command was found in `output_directories`, but was not a directory, the server will return a FAILED_PRECONDITION.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputDirectory" - }, - "type": "array" - }, - "outputDirectorySymlinks": { - "description": "The output directories of the action that are symbolic links to other directories. Those may be links to other output directories, or input directories, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output directory requested in the `output_directories` field of the Action, if the directory existed after the action completed, a single entry will be present either in this field, or in the `output_directories` field, if the directory was not a symbolic link. If an output of the same name was found, but was a symbolic link to a file instead of a directory, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" - }, - "type": "array" - }, - "outputFileSymlinks": { - "description": "The output files of the action that are symbolic links to other files. Those may be links to other output files, or input files, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or in the `output_files` field, if the file was not a symbolic link. If an output symbolic link of the same name as listed in `output_files` of the Command was found, but its target type was not a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" - }, - "type": "array" - }, - "outputFiles": { - "description": "The output files of the action. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or the `output_file_symlinks` field if the file was a symbolic link to another file (`output_symlinks` field after v2.1). If an output listed in `output_files` was found, but was a directory rather than a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputFile" - }, - "type": "array" - }, - "outputSymlinks": { - "description": "New in v2.1: this field will only be populated if the command `output_paths` field was used, and not the pre v2.1 `output_files` or `output_directories` fields. The output paths of the action that are symbolic links to other paths. Those may be links to other outputs, or inputs, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. A single entry for each output requested in `output_paths` field of the Action, if the corresponding path existed after the action completed and was a symbolic link. If the action does not produce a requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" - }, - "type": "array" - }, - "stderrDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest for a blob containing the standard error of the action, which can be retrieved from the ContentAddressableStorage." - }, - "stderrRaw": { - "description": "The standard error buffer of the action. The server SHOULD NOT inline stderr unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", - "format": "byte", - "type": "string" - }, - "stdoutDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest for a blob containing the standard output of the action, which can be retrieved from the ContentAddressableStorage." - }, - "stdoutRaw": { - "description": "The standard output buffer of the action. The server SHOULD NOT inline stdout unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2BatchReadBlobsRequest": { - "description": "A request message for ContentAddressableStorage.BatchReadBlobs.", - "id": "BuildBazelRemoteExecutionV2BatchReadBlobsRequest", - "properties": { - "digests": { - "description": "The individual blob digests.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2Digest" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2BatchReadBlobsResponse": { - "description": "A response message for ContentAddressableStorage.BatchReadBlobs.", - "id": "BuildBazelRemoteExecutionV2BatchReadBlobsResponse", - "properties": { - "responses": { - "description": "The responses to the requests.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse": { - "description": "A response corresponding to a single blob that the client tried to download.", - "id": "BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse", - "properties": { - "data": { - "description": "The raw binary data.", - "format": "byte", - "type": "string" - }, - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest to which this response corresponds." - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The result of attempting to download that blob." - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest": { - "description": "A request message for ContentAddressableStorage.BatchUpdateBlobs.", - "id": "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest", - "properties": { - "requests": { - "description": "The individual upload requests.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest": { - "description": "A request corresponding to a single blob that the client wants to upload.", - "id": "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest", - "properties": { - "data": { - "description": "The raw binary data.", - "format": "byte", - "type": "string" - }, - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the blob. This MUST be the digest of `data`." - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse": { - "description": "A response message for ContentAddressableStorage.BatchUpdateBlobs.", - "id": "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse", - "properties": { - "responses": { - "description": "The responses to the requests.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse": { - "description": "A response corresponding to a single blob that the client tried to upload.", - "id": "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse", - "properties": { - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The blob digest to which this response corresponds." - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "The result of attempting to upload that blob." - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2CacheCapabilities": { - "description": "Capabilities of the remote cache system.", - "id": "BuildBazelRemoteExecutionV2CacheCapabilities", - "properties": { - "actionCacheUpdateCapabilities": { - "$ref": "BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities", - "description": "Capabilities for updating the action cache." - }, - "cachePriorityCapabilities": { - "$ref": "BuildBazelRemoteExecutionV2PriorityCapabilities", - "description": "Supported cache priority range for both CAS and ActionCache." - }, - "digestFunction": { - "description": "All the digest functions supported by the remote cache. Remote cache may support multiple digest functions simultaneously.", - "items": { - "enum": [ - "UNKNOWN", - "SHA256", - "SHA1", - "MD5", - "VSO", - "SHA384", - "SHA512", - "MURMUR3" - ], - "enumDescriptions": [ - "It is an error for the server to return this value.", - "The SHA-256 digest function.", - "The SHA-1 digest function.", - "The MD5 digest function.", - "The Microsoft \"VSO-Hash\" paged SHA256 digest function. See https://github.com/microsoft/BuildXL/blob/master/Documentation/Specs/PagedHash.md .", - "The SHA-384 digest function.", - "The SHA-512 digest function.", - "Murmur3 128-bit digest function, x64 variant. Note that this is not a cryptographic hash function and its collision properties are not strongly guaranteed. See https://github.com/aappleby/smhasher/wiki/MurmurHash3 ." - ], - "type": "string" - }, - "type": "array" - }, - "maxBatchTotalSizeBytes": { - "description": "Maximum total size of blobs to be uploaded/downloaded using batch methods. A value of 0 means no limit is set, although in practice there will always be a message size limitation of the protocol in use, e.g. GRPC.", - "format": "int64", - "type": "string" - }, - "supportedCompressor": { - "description": "Compressors supported by the \"compressed-blobs\" bytestream resources. Servers MUST support identity/no-compression, even if it is not listed here. Note that this does not imply which if any compressors are supported by the server at the gRPC level.", - "items": { - "enum": [ - "IDENTITY", - "ZSTD" - ], - "enumDescriptions": [ - "No compression. Servers and clients MUST always support this, and do not need to advertise it.", - "Zstandard compression." - ], - "type": "string" - }, - "type": "array" - }, - "symlinkAbsolutePathStrategy": { - "description": "Whether absolute symlink targets are supported.", - "enum": [ - "UNKNOWN", - "DISALLOWED", - "ALLOWED" - ], - "enumDescriptions": [ - "Invalid value.", - "Server will return an `INVALID_ARGUMENT` on input symlinks with absolute targets. If an action tries to create an output symlink with an absolute target, a `FAILED_PRECONDITION` will be returned.", - "Server will allow symlink targets to escape the input root tree, possibly resulting in non-hermetic builds." - ], - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Command": { - "description": "A `Command` is the actual command executed by a worker running an Action and specifications of its environment. Except as otherwise required, the environment (such as which system libraries or binaries are available, and what filesystems are mounted where) is defined by and specific to the implementation of the remote execution API.", - "id": "BuildBazelRemoteExecutionV2Command", - "properties": { - "arguments": { - "description": "The arguments to the command. The first argument must be the path to the executable, which must be either a relative path, in which case it is evaluated with respect to the input root, or an absolute path.", - "items": { - "type": "string" - }, - "type": "array" - }, - "environmentVariables": { - "description": "The environment variables to set when running the program. The worker may provide its own default environment variables; these defaults can be overridden using this field. Additional variables can also be specified. In order to ensure that equivalent Commands always hash to the same value, the environment variables MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable" - }, - "type": "array" - }, - "outputDirectories": { - "description": "A list of the output directories that the client expects to retrieve from the action. Only the listed directories will be returned (an entire directory structure will be returned as a Tree message digest, see OutputDirectory), as well as files listed in `output_files`. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. The special value of empty string is allowed, although not recommended, and can be used to capture the entire working directory tree, including inputs. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output directory cannot be duplicated or have the same path as any of the listed output files. An output directory is allowed to be a parent of another output directory. Directories leading up to the output directories (but not the output directories themselves) are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since 2.1: Use `output_paths` instead.", - "items": { - "type": "string" - }, - "type": "array" - }, - "outputFiles": { - "description": "A list of the output files that the client expects to retrieve from the action. Only the listed files, as well as directories listed in `output_directories`, will be returned to the client as output. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output file cannot be duplicated, be a parent of another output file, or have the same path as any of the listed output directories. Directories leading up to the output files are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since v2.1: Use `output_paths` instead.", - "items": { - "type": "string" - }, - "type": "array" - }, - "outputNodeProperties": { - "description": "A list of keys for node properties the client expects to retrieve for output files and directories. Keys are either names of string-based NodeProperty or names of fields in NodeProperties. In order to ensure that equivalent `Action`s always hash to the same value, the node properties MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes. The interpretation of string-based properties is server-dependent. If a property is not recognized by the server, the server will return an `INVALID_ARGUMENT`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "outputPaths": { - "description": "A list of the output paths that the client expects to retrieve from the action. Only the listed paths will be returned to the client as output. The type of the output (file or directory) is not specified, and will be determined by the server after action execution. If the resulting path is a file, it will be returned in an OutputFile) typed field. If the path is a directory, the entire directory structure will be returned as a Tree message digest, see OutputDirectory) Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be deduplicated and sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). Directories leading up to the output paths are created by the worker prior to execution, even if they are not explicitly part of the input root. New in v2.1: this field supersedes the DEPRECATED `output_files` and `output_directories` fields. If `output_paths` is used, `output_files` and `output_directories` will be ignored!", - "items": { - "type": "string" - }, - "type": "array" - }, - "platform": { - "$ref": "BuildBazelRemoteExecutionV2Platform", - "description": "The platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. DEPRECATED as of v2.2: platform properties are now specified directly in the action. See documentation note in the Action for migration." - }, - "workingDirectory": { - "description": "The working directory, relative to the input root, for the command to run in. It must be a directory which exists in the input tree. If it is left empty, then the action is run in the input root.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2CommandEnvironmentVariable": { - "description": "An `EnvironmentVariable` is one variable to set in the running program's environment.", - "id": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable", - "properties": { - "name": { - "description": "The variable name.", - "type": "string" - }, - "value": { - "description": "The variable value.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Digest": { - "description": "A content digest. A digest for a given blob consists of the size of the blob and its hash. The hash algorithm to use is defined by the server. The size is considered to be an integral part of the digest and cannot be separated. That is, even if the `hash` field is correctly specified but `size_bytes` is not, the server MUST reject the request. The reason for including the size in the digest is as follows: in a great many cases, the server needs to know the size of the blob it is about to work with prior to starting an operation with it, such as flattening Merkle tree structures or streaming it to a worker. Technically, the server could implement a separate metadata store, but this results in a significantly more complicated implementation as opposed to having the client specify the size up-front (or storing the size along with the digest in every message where digests are embedded). This does mean that the API leaks some implementation details of (what we consider to be) a reasonable server implementation, but we consider this to be a worthwhile tradeoff. When a `Digest` is used to refer to a proto message, it always refers to the message in binary encoded form. To ensure consistent hashing, clients and servers MUST ensure that they serialize messages according to the following rules, even if there are alternate valid encodings for the same message: * Fields are serialized in tag order. * There are no unknown fields. * There are no duplicate fields. * Fields are serialized according to the default semantics for their type. Most protocol buffer implementations will always follow these rules when serializing, but care should be taken to avoid shortcuts. For instance, concatenating two messages to merge them may produce duplicate fields.", - "id": "BuildBazelRemoteExecutionV2Digest", - "properties": { - "hash": { - "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", - "type": "string" - }, - "sizeBytes": { - "description": "The size of the blob, in bytes.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Directory": { - "description": "A `Directory` represents a directory node in a file tree, containing zero or more children FileNodes, DirectoryNodes and SymlinkNodes. Each `Node` contains its name in the directory, either the digest of its content (either a file blob or a `Directory` proto) or a symlink target, as well as possibly some metadata about the file or directory. In order to ensure that two equivalent directory trees hash to the same value, the following restrictions MUST be obeyed when constructing a a `Directory`: * Every child in the directory must have a path of exactly one segment. Multiple levels of directory hierarchy may not be collapsed. * Each child in the directory must have a unique path segment (file name). Note that while the API itself is case-sensitive, the environment where the Action is executed may or may not be case-sensitive. That is, it is legal to call the API with a Directory that has both \"Foo\" and \"foo\" as children, but the Action may be rejected by the remote system upon execution. * The files, directories and symlinks in the directory must each be sorted in lexicographical order by path. The path strings must be sorted by code point, equivalently, by UTF-8 bytes. * The NodeProperties of files, directories, and symlinks must be sorted in lexicographical order by property name. A `Directory` that obeys the restrictions is said to be in canonical form. As an example, the following could be used for a file named `bar` and a directory named `foo` with an executable file named `baz` (hashes shortened for readability): ```json // (Directory proto) { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 }, node_properties: [ { \"name\": \"MTime\", \"value\": \"2017-01-15T01:30:15.01Z\" } ] } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } // (Directory proto with hash \"4cf2eda940...\" and size 43) { files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } ```", - "id": "BuildBazelRemoteExecutionV2Directory", - "properties": { - "directories": { - "description": "The subdirectories in the directory.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2DirectoryNode" - }, - "type": "array" - }, - "files": { - "description": "The files in the directory.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2FileNode" - }, - "type": "array" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "symlinks": { - "description": "The symlinks in the directory.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2SymlinkNode" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2DirectoryNode": { - "description": "A `DirectoryNode` represents a child of a Directory which is itself a `Directory` and its associated metadata.", - "id": "BuildBazelRemoteExecutionV2DirectoryNode", - "properties": { - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the Directory object represented. See Digest for information about how to take the digest of a proto message." - }, - "name": { - "description": "The name of the directory.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecuteOperationMetadata": { - "description": "Metadata about an ongoing execution, which will be contained in the metadata field of the Operation.", - "id": "BuildBazelRemoteExecutionV2ExecuteOperationMetadata", - "properties": { - "actionDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the Action being executed." - }, - "stage": { - "description": "The current stage of execution.", - "enum": [ - "UNKNOWN", - "CACHE_CHECK", - "QUEUED", - "EXECUTING", - "COMPLETED" - ], - "enumDescriptions": [ - "Invalid value.", - "Checking the result against the cache.", - "Currently idle, awaiting a free machine to execute.", - "Currently being executed by a worker.", - "Finished execution." - ], - "type": "string" - }, - "stderrStreamName": { - "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard error from the endpoint hosting streamed responses.", - "type": "string" - }, - "stdoutStreamName": { - "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard output from the endpoint hosting streamed responses.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecuteRequest": { - "description": "A request message for Execution.Execute.", - "id": "BuildBazelRemoteExecutionV2ExecuteRequest", - "properties": { - "actionDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the Action to execute." - }, - "executionPolicy": { - "$ref": "BuildBazelRemoteExecutionV2ExecutionPolicy", - "description": "An optional policy for execution of the action. The server will have a default policy if this is not provided." - }, - "resultsCachePolicy": { - "$ref": "BuildBazelRemoteExecutionV2ResultsCachePolicy", - "description": "An optional policy for the results of this execution in the remote cache. The server will have a default policy if this is not provided. This may be applied to both the ActionResult and the associated blobs." - }, - "skipCacheLookup": { - "description": "If true, the action will be executed even if its result is already present in the ActionCache. The execution is still allowed to be merged with other in-flight executions of the same action, however - semantically, the service MUST only guarantee that the results of an execution with this field set were not visible before the corresponding execution request was sent. Note that actions from execution requests setting this field set are still eligible to be entered into the action cache upon completion, and services SHOULD overwrite any existing entries that may exist. This allows skip_cache_lookup requests to be used as a mechanism for replacing action cache entries that reference outputs no longer available or that are poisoned in any way. If false, the result may be served from the action cache.", - "type": "boolean" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecuteResponse": { - "description": "The response message for Execution.Execute, which will be contained in the response field of the Operation.", - "id": "BuildBazelRemoteExecutionV2ExecuteResponse", - "properties": { - "cachedResult": { - "description": "True if the result was served from cache, false if it was executed.", - "type": "boolean" - }, - "message": { - "description": "Freeform informational message with details on the execution of the action that may be displayed to the user upon failure or when requested explicitly.", - "type": "string" - }, - "result": { - "$ref": "BuildBazelRemoteExecutionV2ActionResult", - "description": "The result of the action." - }, - "serverLogs": { - "additionalProperties": { - "$ref": "BuildBazelRemoteExecutionV2LogFile" - }, - "description": "An optional list of additional log outputs the server wishes to provide. A server can use this to return execution-specific logs however it wishes. This is intended primarily to make it easier for users to debug issues that may be outside of the actual job execution, such as by identifying the worker executing the action or by providing logs from the worker's setup phase. The keys SHOULD be human readable so that a client can display them to a user.", - "type": "object" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "If the status has a code other than `OK`, it indicates that the action did not finish execution. For example, if the operation times out during execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST use this field for errors in execution, rather than the error field on the `Operation` object. If the status code is other than `OK`, then the result MUST NOT be cached. For an error status, the `result` field is optional; the server may populate the output-, stdout-, and stderr-related fields if it has any information available, such as the stdout and stderr of a timed-out action." - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecutedActionMetadata": { - "description": "ExecutedActionMetadata contains details about a completed execution.", - "id": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", - "properties": { - "auxiliaryMetadata": { - "description": "Details that are specific to the kind of worker used. For example, on POSIX-like systems this could contain a message with getrusage(2) statistics.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "executionCompletedTimestamp": { - "description": "When the worker completed executing the action command.", - "format": "google-datetime", - "type": "string" - }, - "executionStartTimestamp": { - "description": "When the worker started executing the action command.", - "format": "google-datetime", - "type": "string" - }, - "inputFetchCompletedTimestamp": { - "description": "When the worker finished fetching action inputs.", - "format": "google-datetime", - "type": "string" - }, - "inputFetchStartTimestamp": { - "description": "When the worker started fetching action inputs.", - "format": "google-datetime", - "type": "string" - }, - "outputUploadCompletedTimestamp": { - "description": "When the worker finished uploading action outputs.", - "format": "google-datetime", - "type": "string" - }, - "outputUploadStartTimestamp": { - "description": "When the worker started uploading action outputs.", - "format": "google-datetime", - "type": "string" - }, - "queuedTimestamp": { - "description": "When was the action added to the queue.", - "format": "google-datetime", - "type": "string" - }, - "worker": { - "description": "The name of the worker which ran the execution.", - "type": "string" - }, - "workerCompletedTimestamp": { - "description": "When the worker completed the action, including all stages.", - "format": "google-datetime", - "type": "string" - }, - "workerStartTimestamp": { - "description": "When the worker received the action.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecutionCapabilities": { - "description": "Capabilities of the remote execution system.", - "id": "BuildBazelRemoteExecutionV2ExecutionCapabilities", - "properties": { - "digestFunction": { - "description": "Remote execution may only support a single digest function.", - "enum": [ - "UNKNOWN", - "SHA256", - "SHA1", - "MD5", - "VSO", - "SHA384", - "SHA512", - "MURMUR3" - ], - "enumDescriptions": [ - "It is an error for the server to return this value.", - "The SHA-256 digest function.", - "The SHA-1 digest function.", - "The MD5 digest function.", - "The Microsoft \"VSO-Hash\" paged SHA256 digest function. See https://github.com/microsoft/BuildXL/blob/master/Documentation/Specs/PagedHash.md .", - "The SHA-384 digest function.", - "The SHA-512 digest function.", - "Murmur3 128-bit digest function, x64 variant. Note that this is not a cryptographic hash function and its collision properties are not strongly guaranteed. See https://github.com/aappleby/smhasher/wiki/MurmurHash3 ." - ], - "type": "string" - }, - "execEnabled": { - "description": "Whether remote execution is enabled for the particular server/instance.", - "type": "boolean" - }, - "executionPriorityCapabilities": { - "$ref": "BuildBazelRemoteExecutionV2PriorityCapabilities", - "description": "Supported execution priority range." - }, - "supportedNodeProperties": { - "description": "Supported node properties.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ExecutionPolicy": { - "description": "An `ExecutionPolicy` can be used to control the scheduling of the action.", - "id": "BuildBazelRemoteExecutionV2ExecutionPolicy", - "properties": { - "priority": { - "description": "The priority (relative importance) of this action. Generally, a lower value means that the action should be run sooner than actions having a greater priority value, but the interpretation of a given value is server- dependent. A priority of 0 means the *default* priority. Priorities may be positive or negative, and such actions should run later or sooner than actions having the default priority, respectively. The particular semantics of this field is up to the server. In particular, every server will have their own supported range of priorities, and will decide how these map into scheduling policy.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2FileNode": { - "description": "A `FileNode` represents a single file and associated metadata.", - "id": "BuildBazelRemoteExecutionV2FileNode", - "properties": { - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the file's content." - }, - "isExecutable": { - "description": "True if file is executable, false otherwise.", - "type": "boolean" - }, - "name": { - "description": "The name of the file.", - "type": "string" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2FindMissingBlobsRequest": { - "description": "A request message for ContentAddressableStorage.FindMissingBlobs.", - "id": "BuildBazelRemoteExecutionV2FindMissingBlobsRequest", - "properties": { - "blobDigests": { - "description": "A list of the blobs to check.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2Digest" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2FindMissingBlobsResponse": { - "description": "A response message for ContentAddressableStorage.FindMissingBlobs.", - "id": "BuildBazelRemoteExecutionV2FindMissingBlobsResponse", - "properties": { - "missingBlobDigests": { - "description": "A list of the blobs requested *not* present in the storage.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2Digest" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2GetTreeResponse": { - "description": "A response message for ContentAddressableStorage.GetTree.", - "id": "BuildBazelRemoteExecutionV2GetTreeResponse", - "properties": { - "directories": { - "description": "The directories descended from the requested root.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2Directory" - }, - "type": "array" - }, - "nextPageToken": { - "description": "If present, signifies that there are more results which the client can retrieve by passing this as the page_token in a subsequent request. If empty, signifies that this is the last page of results.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2LogFile": { - "description": "A `LogFile` is a log stored in the CAS.", - "id": "BuildBazelRemoteExecutionV2LogFile", - "properties": { - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the log contents." - }, - "humanReadable": { - "description": "This is a hint as to the purpose of the log, and is set to true if the log is human-readable text that can be usefully displayed to a user, and false otherwise. For instance, if a command-line client wishes to print the server logs to the terminal for a failed action, this allows it to avoid displaying a binary file.", - "type": "boolean" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2NodeProperties": { - "description": "Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the properties that it accepts.", - "id": "BuildBazelRemoteExecutionV2NodeProperties", - "properties": { - "mtime": { - "description": "The file's last modification timestamp.", - "format": "google-datetime", - "type": "string" - }, - "properties": { - "description": "A list of string-based NodeProperties.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperty" - }, - "type": "array" - }, - "unixMode": { - "description": "The UNIX file mode, e.g., 0755.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2NodeProperty": { - "description": "A single property for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the property `name`s that it accepts. If permitted by the server, the same `name` may occur multiple times.", - "id": "BuildBazelRemoteExecutionV2NodeProperty", - "properties": { - "name": { - "description": "The property name.", - "type": "string" - }, - "value": { - "description": "The property value.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2OutputDirectory": { - "description": "An `OutputDirectory` is the output in an `ActionResult` corresponding to a directory's full contents rather than a single file.", - "id": "BuildBazelRemoteExecutionV2OutputDirectory", - "properties": { - "path": { - "description": "The full path of the directory relative to the working directory. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash. The empty string value is allowed, and it denotes the entire working directory.", - "type": "string" - }, - "treeDigest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the encoded Tree proto containing the directory's contents." - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2OutputFile": { - "description": "An `OutputFile` is similar to a FileNode, but it is used as an output in an `ActionResult`. It allows a full file path rather than only a name.", - "id": "BuildBazelRemoteExecutionV2OutputFile", - "properties": { - "contents": { - "description": "The contents of the file if inlining was requested. The server SHOULD NOT inline file contents unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", - "format": "byte", - "type": "string" - }, - "digest": { - "$ref": "BuildBazelRemoteExecutionV2Digest", - "description": "The digest of the file's content." - }, - "isExecutable": { - "description": "True if file is executable, false otherwise.", - "type": "boolean" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "path": { - "description": "The full path of the file relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2OutputSymlink": { - "description": "An `OutputSymlink` is similar to a Symlink, but it is used as an output in an `ActionResult`. `OutputSymlink` is binary-compatible with `SymlinkNode`.", - "id": "BuildBazelRemoteExecutionV2OutputSymlink", - "properties": { - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "path": { - "description": "The full path of the symlink relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", - "type": "string" - }, - "target": { - "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Platform": { - "description": "A `Platform` is a set of requirements, such as hardware, operating system, or compiler toolchain, for an Action's execution environment. A `Platform` is represented as a series of key-value pairs representing the properties that are required of the platform.", - "id": "BuildBazelRemoteExecutionV2Platform", - "properties": { - "properties": { - "description": "The properties that make up this platform. In order to ensure that equivalent `Platform`s always hash to the same value, the properties MUST be lexicographically sorted by name, and then by value. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2PlatformProperty" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2PlatformProperty": { - "description": "A single property for the environment. The server is responsible for specifying the property `name`s that it accepts. If an unknown `name` is provided in the requirements for an Action, the server SHOULD reject the execution request. If permitted by the server, the same `name` may occur multiple times. The server is also responsible for specifying the interpretation of property `value`s. For instance, a property describing how much RAM must be available may be interpreted as allowing a worker with 16GB to fulfill a request for 8GB, while a property describing the OS environment on which the action must be performed may require an exact match with the worker's OS. The server MAY use the `value` of one or more properties to determine how it sets up the execution environment, such as by making specific system files available to the worker. Both names and values are typically case-sensitive. Note that the platform is implicitly part of the action digest, so even tiny changes in the names or values (like changing case) may result in different action cache entries.", - "id": "BuildBazelRemoteExecutionV2PlatformProperty", - "properties": { - "name": { - "description": "The property name.", - "type": "string" - }, - "value": { - "description": "The property value.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2PriorityCapabilities": { - "description": "Allowed values for priority in ResultsCachePolicy and ExecutionPolicy Used for querying both cache and execution valid priority ranges.", - "id": "BuildBazelRemoteExecutionV2PriorityCapabilities", - "properties": { - "priorities": { - "items": { - "$ref": "BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange" - }, - "type": "array" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange": { - "description": "Supported range of priorities, including boundaries.", - "id": "BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange", - "properties": { - "maxPriority": { - "description": "The maximum numeric value for this priority range, which represents the least urgent task or shortest retained item.", - "format": "int32", - "type": "integer" - }, - "minPriority": { - "description": "The minimum numeric value for this priority range, which represents the most urgent task or longest retained item.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2RequestMetadata": { - "description": "An optional Metadata to attach to any RPC request to tell the server about an external context of the request. The server may use this for logging or other purposes. To use it, the client attaches the header to the call using the canonical proto serialization: * name: `build.bazel.remote.execution.v2.requestmetadata-bin` * contents: the base64 encoded binary `RequestMetadata` message. Note: the gRPC library serializes binary headers encoded in base 64 by default (https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests). Therefore, if the gRPC library is used to pass/retrieve this metadata, the user may ignore the base64 encoding and assume it is simply serialized as a binary message.", - "id": "BuildBazelRemoteExecutionV2RequestMetadata", - "properties": { - "actionId": { - "description": "An identifier that ties multiple requests to the same action. For example, multiple requests to the CAS, Action Cache, and Execution API are used in order to compile foo.cc.", - "type": "string" - }, - "actionMnemonic": { - "description": "A brief description of the kind of action, for example, CppCompile or GoLink. There is no standard agreed set of values for this, and they are expected to vary between different client tools.", - "type": "string" - }, - "configurationId": { - "description": "An identifier for the configuration in which the target was built, e.g. for differentiating building host tools or different target platforms. There is no expectation that this value will have any particular structure, or equality across invocations, though some client tools may offer these guarantees.", - "type": "string" - }, - "correlatedInvocationsId": { - "description": "An identifier to tie multiple tool invocations together. For example, runs of foo_test, bar_test and baz_test on a post-submit of a given patch.", - "type": "string" - }, - "targetId": { - "description": "An identifier for the target which produced this action. No guarantees are made around how many actions may relate to a single target.", - "type": "string" - }, - "toolDetails": { - "$ref": "BuildBazelRemoteExecutionV2ToolDetails", - "description": "The details for the tool invoking the requests." - }, - "toolInvocationId": { - "description": "An identifier that ties multiple actions together to a final result. For example, multiple actions are required to build and run foo_test.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ResultsCachePolicy": { - "description": "A `ResultsCachePolicy` is used for fine-grained control over how action outputs are stored in the CAS and Action Cache.", - "id": "BuildBazelRemoteExecutionV2ResultsCachePolicy", - "properties": { - "priority": { - "description": "The priority (relative importance) of this content in the overall cache. Generally, a lower value means a longer retention time or other advantage, but the interpretation of a given value is server-dependent. A priority of 0 means a *default* value, decided by the server. The particular semantics of this field is up to the server. In particular, every server will have their own supported range of priorities, and will decide how these map into retention/eviction policy.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ServerCapabilities": { - "description": "A response message for Capabilities.GetCapabilities.", - "id": "BuildBazelRemoteExecutionV2ServerCapabilities", - "properties": { - "cacheCapabilities": { - "$ref": "BuildBazelRemoteExecutionV2CacheCapabilities", - "description": "Capabilities of the remote cache system." - }, - "deprecatedApiVersion": { - "$ref": "BuildBazelSemverSemVer", - "description": "Earliest RE API version supported, including deprecated versions." - }, - "executionCapabilities": { - "$ref": "BuildBazelRemoteExecutionV2ExecutionCapabilities", - "description": "Capabilities of the remote execution system." - }, - "highApiVersion": { - "$ref": "BuildBazelSemverSemVer", - "description": "Latest RE API version supported." - }, - "lowApiVersion": { - "$ref": "BuildBazelSemverSemVer", - "description": "Earliest non-deprecated RE API version supported." - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2SymlinkNode": { - "description": "A `SymlinkNode` represents a symbolic link.", - "id": "BuildBazelRemoteExecutionV2SymlinkNode", - "properties": { - "name": { - "description": "The name of the symlink.", - "type": "string" - }, - "nodeProperties": { - "$ref": "BuildBazelRemoteExecutionV2NodeProperties" - }, - "target": { - "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path as logical canonicalization may lead to different behavior in the presence of directory symlinks (e.g. `foo/../bar` may not be the same as `bar`). To reduce potential cache misses, canonicalization is still recommended where this is possible without impacting correctness.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2ToolDetails": { - "description": "Details for the tool used to call the API.", - "id": "BuildBazelRemoteExecutionV2ToolDetails", - "properties": { - "toolName": { - "description": "Name of the tool, e.g. bazel.", - "type": "string" - }, - "toolVersion": { - "description": "Version of the tool used for the request, e.g. 5.0.3.", - "type": "string" - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2Tree": { - "description": "A `Tree` contains all the Directory protos in a single directory Merkle tree, compressed into one message.", - "id": "BuildBazelRemoteExecutionV2Tree", - "properties": { - "children": { - "description": "All the child directories: the directories referred to by the root and, recursively, all its children. In order to reconstruct the directory tree, the client must take the digests of each of the child directories and then build up a tree starting from the `root`.", - "items": { - "$ref": "BuildBazelRemoteExecutionV2Directory" - }, - "type": "array" - }, - "root": { - "$ref": "BuildBazelRemoteExecutionV2Directory", - "description": "The root directory in the tree." - } - }, - "type": "object" - }, - "BuildBazelRemoteExecutionV2WaitExecutionRequest": { - "description": "A request message for WaitExecution.", - "id": "BuildBazelRemoteExecutionV2WaitExecutionRequest", - "properties": {}, - "type": "object" - }, - "BuildBazelSemverSemVer": { - "description": "The full version of a given tool.", - "id": "BuildBazelSemverSemVer", - "properties": { - "major": { - "description": "The major version, e.g 10 for 10.2.3.", - "format": "int32", - "type": "integer" - }, - "minor": { - "description": "The minor version, e.g. 2 for 10.2.3.", - "format": "int32", - "type": "integer" - }, - "patch": { - "description": "The patch version, e.g 3 for 10.2.3.", - "format": "int32", - "type": "integer" - }, - "prerelease": { - "description": "The pre-release version. Either this field or major/minor/patch fields must be filled. They are mutually exclusive. Pre-release versions are assumed to be earlier than any released versions.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotCommandDurations": { - "description": "CommandDuration contains the various duration metrics tracked when a bot performs a command.", - "id": "GoogleDevtoolsRemotebuildbotCommandDurations", - "properties": { - "casRelease": { - "description": "The time spent to release the CAS blobs used by the task.", - "format": "google-duration", - "type": "string" - }, - "cmWaitForAssignment": { - "description": "The time spent waiting for Container Manager to assign an asynchronous container for execution.", - "format": "google-duration", - "type": "string" - }, - "dockerPrep": { - "description": "The time spent preparing the command to be run in a Docker container (includes pulling the Docker image, if necessary).", - "format": "google-duration", - "type": "string" - }, - "dockerPrepStartTime": { - "description": "The timestamp when docker preparation begins.", - "format": "google-datetime", - "type": "string" - }, - "download": { - "description": "The time spent downloading the input files and constructing the working directory.", - "format": "google-duration", - "type": "string" - }, - "downloadStartTime": { - "description": "The timestamp when downloading the input files begins.", - "format": "google-datetime", - "type": "string" - }, - "execStartTime": { - "description": "The timestamp when execution begins.", - "format": "google-datetime", - "type": "string" - }, - "execution": { - "description": "The time spent executing the command (i.e., doing useful work).", - "format": "google-duration", - "type": "string" - }, - "isoPrepDone": { - "description": "The timestamp when preparation is done and bot starts downloading files.", - "format": "google-datetime", - "type": "string" - }, - "overall": { - "description": "The time spent completing the command, in total.", - "format": "google-duration", - "type": "string" - }, - "stdout": { - "description": "The time spent uploading the stdout logs.", - "format": "google-duration", - "type": "string" - }, - "upload": { - "description": "The time spent uploading the output files.", - "format": "google-duration", - "type": "string" - }, - "uploadStartTime": { - "description": "The timestamp when uploading the output files begins.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotCommandEvents": { - "description": "CommandEvents contains counters for the number of warnings and errors that occurred during the execution of a command.", - "id": "GoogleDevtoolsRemotebuildbotCommandEvents", - "properties": { - "cmUsage": { - "description": "Indicates if and how Container Manager is being used for task execution.", - "enum": [ - "CONFIG_NONE", - "CONFIG_MATCH", - "CONFIG_MISMATCH" - ], - "enumDescriptions": [ - "Container Manager is disabled or not running for this execution.", - "Container Manager is enabled and there was a matching container available for use during execution.", - "Container Manager is enabled, but there was no matching container available for execution." - ], - "type": "string" - }, - "dockerCacheHit": { - "description": "Indicates whether we are using a cached Docker image (true) or had to pull the Docker image (false) for this command.", - "type": "boolean" - }, - "dockerImageName": { - "description": "Docker Image name.", - "type": "string" - }, - "inputCacheMiss": { - "description": "The input cache miss ratio.", - "format": "float", - "type": "number" - }, - "numErrors": { - "description": "The number of errors reported.", - "format": "uint64", - "type": "string" - }, - "numWarnings": { - "description": "The number of warnings reported.", - "format": "uint64", - "type": "string" - }, - "outputLocation": { - "description": "Indicates whether output files and/or output directories were found relative to the execution root or to the user provided work directory or both or none.", - "enum": [ - "LOCATION_UNDEFINED", - "LOCATION_NONE", - "LOCATION_EXEC_ROOT_RELATIVE", - "LOCATION_WORKING_DIR_RELATIVE", - "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE", - "LOCATION_EXEC_ROOT_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR", - "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR" - ], - "enumDescriptions": [ - "Location is set to LOCATION_UNDEFINED for tasks where the working directorty is not specified or is identical to the execution root directory.", - "No output files or directories were found neither relative to the execution root directory nor relative to the working directory.", - "Output files or directories were found relative to the execution root directory but not relative to the working directory.", - "Output files or directories were found relative to the working directory but not relative to the execution root directory.", - "Output files or directories were found both relative to the execution root directory and relative to the working directory.", - "Output files or directories were found relative to the execution root directory but not relative to the working directory. In addition at least one output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`.", - "Output files or directories were found both relative to the execution root directory and relative to the working directory. In addition at least one exec-root-relative output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`." - ], - "type": "string" - }, - "usedAsyncContainer": { - "description": "Indicates whether an asynchronous container was used for execution.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotCommandStatus": { - "description": "The internal status of the command result.", - "id": "GoogleDevtoolsRemotebuildbotCommandStatus", - "properties": { - "code": { - "description": "The status code.", - "enum": [ - "OK", - "INVALID_ARGUMENT", - "DEADLINE_EXCEEDED", - "NOT_FOUND", - "PERMISSION_DENIED", - "INTERNAL", - "ABORTED", - "FAILED_PRECONDITION", - "CLEANUP_ERROR", - "DOWNLOAD_INPUTS_ERROR", - "UNKNOWN", - "UPLOAD_OUTPUTS_ERROR", - "UPLOAD_OUTPUTS_BYTES_LIMIT_EXCEEDED", - "DOCKER_LOGIN_ERROR", - "DOCKER_IMAGE_PULL_ERROR", - "DOCKER_IMAGE_EXIST_ERROR", - "DUPLICATE_INPUTS", - "DOCKER_IMAGE_PERMISSION_DENIED", - "DOCKER_IMAGE_NOT_FOUND", - "WORKING_DIR_NOT_FOUND", - "WORKING_DIR_NOT_IN_BASE_DIR", - "DOCKER_UNAVAILABLE", - "NO_CUDA_CAPABLE_DEVICE", - "REMOTE_CAS_DOWNLOAD_ERROR", - "REMOTE_CAS_UPLOAD_ERROR", - "LOCAL_CASPROXY_NOT_RUNNING", - "DOCKER_CREATE_CONTAINER_ERROR", - "DOCKER_INVALID_ULIMIT", - "DOCKER_UNKNOWN_RUNTIME", - "DOCKER_UNKNOWN_CAPABILITY", - "DOCKER_UNKNOWN_ERROR", - "DOCKER_CREATE_COMPUTE_SYSTEM_ERROR", - "DOCKER_PREPARELAYER_ERROR", - "DOCKER_INCOMPATIBLE_OS_ERROR", - "DOCKER_CREATE_RUNTIME_FILE_NOT_FOUND", - "DOCKER_CREATE_RUNTIME_PERMISSION_DENIED", - "DOCKER_CREATE_PROCESS_FILE_NOT_FOUND", - "DOCKER_CREATE_COMPUTE_SYSTEM_INCORRECT_PARAMETER_ERROR", - "DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS", - "LOCAL_CONTAINER_MANAGER_NOT_RUNNING", - "DOCKER_IMAGE_VPCSC_PERMISSION_DENIED", - "WORKING_DIR_NOT_RELATIVE", - "DOCKER_MISSING_CONTAINER" - ], - "enumDescriptions": [ - "The command succeeded.", - "The command input was invalid.", - "The command had passed its expiry time while it was still running.", - "The resources requested by the command were not found.", - "The command failed due to permission errors.", - "The command failed because of some invariants expected by the underlying system have been broken. This usually indicates a bug wit the system.", - "The command was aborted.", - "The command failed because the system is not in a state required for the command, e.g. the command inputs cannot be found on the server.", - "The bot failed to do the cleanup, e.g. unable to delete the command working directory or the command process.", - "The bot failed to download the inputs.", - "Unknown error.", - "The bot failed to upload the outputs.", - "The bot tried to upload files having a total size that is too large.", - "The bot failed to login to docker.", - "The bot failed to pull docker image.", - "The bot failed to check docker images.", - "The inputs contain duplicate files.", - "The bot doesn't have the permissions to pull docker images.", - "The docker image cannot be found.", - "Working directory is not found.", - "Working directory is not under the base directory", - "There are issues with docker service/runtime.", - "The command failed with \"no cuda-capable device is detected\" error.", - "The bot encountered errors from remote CAS when downloading blobs.", - "The bot encountered errors from remote CAS when uploading blobs.", - "The local casproxy is not running.", - "The bot couldn't start the container.", - "The docker ulimit is not valid.", - "The docker runtime is unknown.", - "The docker capability is unknown.", - "The command failed with unknown docker errors.", - "Docker failed to run containers with CreateComputeSystem error.", - "Docker failed to run containers with hcsshim::PrepareLayer error.", - "Docker incompatible operating system error.", - "Docker failed to create OCI runtime because of file not found.", - "Docker failed to create OCI runtime because of permission denied.", - "Docker failed to create process because of file not found.", - "Docker failed to run containers with CreateComputeSystem error that involves an incorrect parameter (more specific version of DOCKER_CREATE_COMPUTE_SYSTEM_ERROR that is user-caused).", - "Docker failed to create an overlay mount because of too many levels of symbolic links.", - "The local Container Manager is not running.", - "Docker failed because a request was denied by the organization's policy.", - "Working directory is not relative", - "Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run." - ], - "type": "string" - }, - "message": { - "description": "The error message.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotResourceUsage": { - "description": "ResourceUsage is the system resource usage of the host machine.", - "id": "GoogleDevtoolsRemotebuildbotResourceUsage", - "properties": { - "cpuUsedPercent": { - "format": "double", - "type": "number" - }, - "diskUsage": { - "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" - }, - "memoryUsage": { - "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" - }, - "totalDiskIoStats": { - "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotResourceUsageIOStats": { - "id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats", - "properties": { - "readBytesCount": { - "format": "uint64", - "type": "string" - }, - "readCount": { - "format": "uint64", - "type": "string" - }, - "readTimeMs": { - "format": "uint64", - "type": "string" - }, - "writeBytesCount": { - "format": "uint64", - "type": "string" - }, - "writeCount": { - "format": "uint64", - "type": "string" - }, - "writeTimeMs": { - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildbotResourceUsageStat": { - "id": "GoogleDevtoolsRemotebuildbotResourceUsageStat", - "properties": { - "total": { - "format": "uint64", - "type": "string" - }, - "used": { - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig": { - "description": "AcceleratorConfig defines the accelerator cards to attach to the VM.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", - "properties": { - "acceleratorCount": { - "description": "The number of guest accelerator cards exposed to each VM.", - "format": "int64", - "type": "string" - }, - "acceleratorType": { - "description": "The type of accelerator to attach to each VM, e.g. \"nvidia-tesla-k80\" for nVidia Tesla K80.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale": { - "description": "Autoscale defines the autoscaling policy of a worker pool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", - "properties": { - "maxSize": { - "description": "The maximal number of workers. Must be equal to or greater than min_size.", - "format": "int64", - "type": "string" - }, - "minSize": { - "description": "The minimal number of workers. Must be greater than 0.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest": { - "description": "The request used for `CreateInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest", - "properties": { - "instance": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", - "description": "Specifies the instance to create. The name in the instance, if specified in the instance, is ignored." - }, - "instanceId": { - "description": "ID of the created instance. A valid `instance_id` must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", - "type": "string" - }, - "parent": { - "description": "Resource name of the project containing the instance. Format: `projects/[PROJECT_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest": { - "description": "The request used for `CreateWorkerPool`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest", - "properties": { - "parent": { - "description": "Resource name of the instance in which to create the new worker pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - }, - "poolId": { - "description": "ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", - "type": "string" - }, - "workerPool": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", - "description": "Specifies the worker pool to create. The name in the worker pool, if specified, is ignored." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest": { - "description": "The request used for `DeleteInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest", - "properties": { - "name": { - "description": "Name of the instance to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest": { - "description": "The request used for DeleteWorkerPool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest", - "properties": { - "name": { - "description": "Name of the worker pool to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy": { - "description": "FeaturePolicy defines features allowed to be used on RBE instances, as well as instance-wide behavior changes that take effect without opt-in or opt-out at usage time.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", - "properties": { - "containerImageSources": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ \"gcr.io/project-foo\", \"gcr.io/project-bar/repo-baz\", ] } will allow any repositories under \"gcr.io/project-foo\" plus the repository \"gcr.io/project-bar/repo-baz\". Default (UNSPECIFIED) is equivalent to any source is allowed." - }, - "dockerAddCapabilities": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerAddCapabilities can be used or what capabilities are allowed." - }, - "dockerChrootPath": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerChrootPath can be used." - }, - "dockerNetwork": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow `off` value only via `allowed_values`." - }, - "dockerPrivileged": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerPrivileged can be used." - }, - "dockerRunAsRoot": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerRunAsRoot can be used." - }, - "dockerRuntime": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation." - }, - "dockerSiblingContainers": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "description": "Whether dockerSiblingContainers can be used." - }, - "linuxIsolation": { - "description": "linux_isolation allows overriding the docker runtime used for containers started on Linux.", - "enum": [ - "LINUX_ISOLATION_UNSPECIFIED", - "GVISOR", - "OFF" - ], - "enumDescriptions": [ - "Default value. Will be using Linux default runtime.", - "Use gVisor runsc runtime.", - "Use stardard Linux runtime. This has the same behaviour as unspecified, but it can be used to revert back from gVisor." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature": { - "description": "Defines whether a feature can be used or what values are accepted.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", - "properties": { - "allowedValues": { - "description": "A list of acceptable values. Only effective when the policy is `RESTRICTED`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "policy": { - "description": "The policy of the feature.", - "enum": [ - "POLICY_UNSPECIFIED", - "ALLOWED", - "FORBIDDEN", - "RESTRICTED" - ], - "enumDescriptions": [ - "Default value, if not explicitly set. Equivalent to FORBIDDEN, unless otherwise documented on a specific Feature.", - "Feature is explicitly allowed.", - "Feature is forbidden. Requests attempting to leverage it will get an FailedPrecondition error, with a message like: \"Feature forbidden by FeaturePolicy: Feature on instance \"", - "Only the values specified in the `allowed_values` are allowed." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest": { - "description": "The request used for `GetInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest", - "properties": { - "name": { - "description": "Name of the instance to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest": { - "description": "The request used for GetWorkerPool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest", - "properties": { - "name": { - "description": "Name of the worker pool to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance": { - "description": "Instance conceptually encapsulates all Remote Build Execution resources for remote builds. An instance consists of storage and compute resources (for example, `ContentAddressableStorage`, `ActionCache`, `WorkerPools`) used for running remote builds. All Remote Build Execution API calls are scoped to an instance.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", - "properties": { - "featurePolicy": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", - "description": "The policy to define whether or not RBE features can be used or how they can be used." - }, - "location": { - "description": "The location is a GCP region. Currently only `us-central1` is supported.", - "type": "string" - }, - "loggingEnabled": { - "description": "Output only. Whether stack driver logging is enabled for the instance.", - "type": "boolean" - }, - "name": { - "description": "Output only. Instance resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be populated when creating an instance since it is provided in the `instance_id` field.", - "type": "string" - }, - "state": { - "description": "Output only. State of the instance.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "RUNNING", - "INACTIVE" - ], - "enumDescriptions": [ - "Not a valid state, but the default value of the enum.", - "The instance is in state `CREATING` once `CreateInstance` is called and before the instance is ready for use.", - "The instance is in state `RUNNING` when it is ready for use.", - "An `INACTIVE` instance indicates that there is a problem that needs to be fixed. Such instances cannot be used for execution and instances that remain in this state for a significant period of time will be removed permanently." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest", - "properties": { - "parent": { - "description": "Resource name of the project. Format: `projects/[PROJECT_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse", - "properties": { - "instances": { - "description": "The list of instances in a given project.", - "items": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest", - "properties": { - "filter": { - "description": "Optional. A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. String values are case-insensitive. The comparison operator must be either `:`, `=`, `!=`, `>`, `>=`, `<=` or `<`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. You can also filter on nested fields. To filter on multiple expressions, you can separate expression using `AND` and `OR` operators, using parentheses to specify precedence. If neither operator is specified, `AND` is assumed. Examples: Include only pools with more than 100 reserved workers: `(worker_count > 100) (worker_config.reserved = true)` Include only pools with a certain label or machines of the e2-standard family: `worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard`", - "type": "string" - }, - "parent": { - "description": "Resource name of the instance. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse": { - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse", - "properties": { - "workerPools": { - "description": "The list of worker pools in a given instance.", - "items": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest": { - "description": "The request used for `UpdateInstance`.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest", - "properties": { - "instance": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", - "description": "Specifies the instance to update." - }, - "loggingEnabled": { - "description": "Deprecated, use instance.logging_enabled instead. Whether to enable Stackdriver logging for this instance.", - "type": "boolean" - }, - "name": { - "description": "Deprecated, use instance.Name instead. Name of the instance to update. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", - "type": "string" - }, - "updateMask": { - "description": "The update mask applies to instance. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest": { - "description": "The request used for UpdateWorkerPool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest", - "properties": { - "updateMask": { - "description": "The update mask applies to worker_pool. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", - "format": "google-fieldmask", - "type": "string" - }, - "workerPool": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", - "description": "Specifies the worker pool to update." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig": { - "description": "Defines the configuration to be used for creating workers in the worker pool.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", - "properties": { - "accelerator": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", - "description": "The accelerator card attached to each VM." - }, - "diskSizeGb": { - "description": "Required. Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/", - "format": "int64", - "type": "string" - }, - "diskType": { - "description": "Required. Disk Type to use for the worker. See [Storage options](https://cloud.google.com/compute/docs/disks/#introduction). Currently only `pd-standard` and `pd-ssd` are supported.", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.", - "type": "object" - }, - "machineType": { - "description": "Required. Machine type of the worker, such as `e2-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.", - "type": "string" - }, - "maxConcurrentActions": { - "description": "The maximum number of actions a worker can execute concurrently.", - "format": "int64", - "type": "string" - }, - "minCpuPlatform": { - "description": "Minimum CPU platform to use when creating the worker. See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).", - "type": "string" - }, - "networkAccess": { - "description": "Determines the type of network access granted to workers. Possible values: - \"public\": Workers can connect to the public internet. - \"private\": Workers can only connect to Google APIs and services. - \"restricted-private\": Workers can only connect to Google APIs that are reachable through `restricted.googleapis.com` (`199.36.153.4/30`).", - "type": "string" - }, - "reserved": { - "description": "Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more details.", - "type": "boolean" - }, - "soleTenantNodeType": { - "description": "The node type name to be used for sole-tenant nodes.", - "type": "string" - }, - "vmImage": { - "description": "The name of the image used by each VM.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool": { - "description": "A worker pool resource in the Remote Build Execution API.", - "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", - "properties": { - "autoscale": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", - "description": "The autoscale policy to apply on a pool." - }, - "channel": { - "description": "Channel specifies the release channel of the pool.", - "type": "string" - }, - "name": { - "description": "WorkerPool resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`. name should not be populated when creating a worker pool since it is provided in the `poolId` field.", - "type": "string" - }, - "state": { - "description": "Output only. State of the worker pool.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "RUNNING", - "UPDATING", - "DELETING", - "INACTIVE" - ], - "enumDescriptions": [ - "Not a valid state, but the default value of the enum.", - "The worker pool is in state `CREATING` once `CreateWorkerPool` is called and before all requested workers are ready.", - "The worker pool is in state `RUNNING` when all its workers are ready for use.", - "The worker pool is in state `UPDATING` once `UpdateWorkerPool` is called and before the new configuration has all the requested workers ready for use, and no older configuration has any workers. At that point the state transitions to `RUNNING`.", - "The worker pool is in state `DELETING` once the `Delete` method is called and before the deletion completes.", - "The worker pool is in state `INACTIVE` when the instance hosting the worker pool in not running." - ], - "type": "string" - }, - "workerConfig": { - "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", - "description": "Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool." - }, - "workerCount": { - "description": "The desired number of workers in the worker pool. Must be a value between 0 and 15000.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2AdminTemp": { - "description": "AdminTemp is a prelimiary set of administration tasks. It's called \"Temp\" because we do not yet know the best way to represent admin tasks; it's possible that this will be entirely replaced in later versions of this API. If this message proves to be sufficient, it will be renamed in the alpha or beta release of this API. This message (suitably marshalled into a protobuf.Any) can be used as the inline_assignment field in a lease; the lease assignment field should simply be `\"admin\"` in these cases. This message is heavily based on Swarming administration tasks from the LUCI project (http://github.com/luci/luci-py/appengine/swarming).", - "id": "GoogleDevtoolsRemoteworkersV1test2AdminTemp", - "properties": { - "arg": { - "description": "The argument to the admin action; see `Command` for semantics.", - "type": "string" - }, - "command": { - "description": "The admin action; see `Command` for legal values.", - "enum": [ - "UNSPECIFIED", - "BOT_UPDATE", - "BOT_RESTART", - "BOT_TERMINATE", - "HOST_RESTART" - ], - "enumDescriptions": [ - "Illegal value.", - "Download and run a new version of the bot. `arg` will be a resource accessible via `ByteStream.Read` to obtain the new bot code.", - "Restart the bot without downloading a new version. `arg` will be a message to log.", - "Shut down the bot. `arg` will be a task resource name (similar to those in tasks.proto) that the bot can use to tell the server that it is terminating.", - "Restart the host computer. `arg` will be a message to log." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2Blob": { - "description": "Describes a blob of binary content with its digest.", - "id": "GoogleDevtoolsRemoteworkersV1test2Blob", - "properties": { - "contents": { - "description": "The contents of the blob.", - "format": "byte", - "type": "string" - }, - "digest": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "The digest of the blob. This should be verified by the receiver." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandOutputs": { - "description": "DEPRECATED - use CommandResult instead. Describes the actual outputs from the task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandOutputs", - "properties": { - "exitCode": { - "description": "exit_code is only fully reliable if the status' code is OK. If the task exceeded its deadline or was cancelled, the process may still produce an exit code as it is cancelled, and this will be populated, but a successful (zero) is unlikely to be correct unless the status code is OK.", - "format": "int32", - "type": "integer" - }, - "outputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandOverhead": { - "description": "DEPRECATED - use CommandResult instead. Can be used as part of CompleteRequest.metadata, or are part of a more sophisticated message.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandOverhead", - "properties": { - "duration": { - "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", - "format": "google-duration", - "type": "string" - }, - "overhead": { - "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandResult": { - "description": "All information about the execution of a command, suitable for providing as the Bots interface's `Lease.result` field.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandResult", - "properties": { - "duration": { - "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", - "format": "google-duration", - "type": "string" - }, - "exitCode": { - "description": "The exit code of the process. An exit code of \"0\" should only be trusted if `status` has a code of OK (otherwise it may simply be unset).", - "format": "int32", - "type": "integer" - }, - "metadata": { - "description": "Implementation-dependent metadata about the task. Both servers and bots may define messages which can be encoded here; bots are free to provide metadata in multiple formats, and servers are free to choose one or more of the values to process and ignore others. In particular, it is *not* considered an error for the bot to provide the server with a field that it doesn't know about.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "outputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" - }, - "overhead": { - "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", - "format": "google-duration", - "type": "string" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "An overall status for the command. For example, if the command timed out, this might have a code of DEADLINE_EXCEEDED; if it was killed by the OS for memory exhaustion, it might have a code of RESOURCE_EXHAUSTED." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTask": { - "description": "Describes a shell-style task to execute, suitable for providing as the Bots interface's `Lease.payload` field.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTask", - "properties": { - "expectedOutputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", - "description": "The expected outputs from the task." - }, - "inputs": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", - "description": "The inputs to the task." - }, - "timeouts": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", - "description": "The timeouts of this task." - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs": { - "description": "Describes the inputs to a shell-style task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", - "properties": { - "arguments": { - "description": "The command itself to run (e.g., argv). This field should be passed directly to the underlying operating system, and so it must be sensible to that operating system. For example, on Windows, the first argument might be \"C:\\Windows\\System32\\ping.exe\" - that is, using drive letters and backslashes. A command for a *nix system, on the other hand, would use forward slashes. All other fields in the RWAPI must consistently use forward slashes, since those fields may be interpretted by both the service and the bot.", - "items": { - "type": "string" - }, - "type": "array" - }, - "environmentVariables": { - "description": "All environment variables required by the task.", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable" - }, - "type": "array" - }, - "files": { - "description": "The input filesystem to be set up prior to the task beginning. The contents should be a repeated set of FileMetadata messages though other formats are allowed if better for the implementation (eg, a LUCI-style .isolated file). This field is repeated since implementations might want to cache the metadata, in which case it may be useful to break up portions of the filesystem that change frequently (eg, specific input files) from those that don't (eg, standard header files).", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest" - }, - "type": "array" - }, - "inlineBlobs": { - "description": "Inline contents for blobs expected to be needed by the bot to execute the task. For example, contents of entries in `files` or blobs that are indirectly referenced by an entry there. The bot should check against this list before downloading required task inputs to reduce the number of communications between itself and the remote CAS server.", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Blob" - }, - "type": "array" - }, - "workingDirectory": { - "description": "Directory from which a command is executed. It is a relative directory with respect to the bot's working directory (i.e., \"./\"). If it is non-empty, then it must exist under \"./\". Otherwise, \"./\" will be used.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable": { - "description": "An environment variable required by this task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable", - "properties": { - "name": { - "description": "The envvar name.", - "type": "string" - }, - "value": { - "description": "The envvar value.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs": { - "description": "Describes the expected outputs of the command.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", - "properties": { - "directories": { - "description": "A list of expected directories, relative to the execution root. All paths MUST be delimited by forward slashes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "files": { - "description": "A list of expected files, relative to the execution root. All paths MUST be delimited by forward slashes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "stderrDestination": { - "description": "The destination to which any stderr should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", - "type": "string" - }, - "stdoutDestination": { - "description": "The destination to which any stdout should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts": { - "description": "Describes the timeouts associated with this task.", - "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", - "properties": { - "execution": { - "description": "This specifies the maximum time that the task can run, excluding the time required to download inputs or upload outputs. That is, the worker will terminate the task if it runs longer than this.", - "format": "google-duration", - "type": "string" - }, - "idle": { - "description": "This specifies the maximum amount of time the task can be idle - that is, go without generating some output in either stdout or stderr. If the process is silent for more than the specified time, the worker will terminate the task.", - "format": "google-duration", - "type": "string" - }, - "shutdown": { - "description": "If the execution or IO timeouts are exceeded, the worker will try to gracefully terminate the task and return any existing logs. However, tasks may be hard-frozen in which case this process will fail. This timeout specifies how long to wait for a terminated task to shut down gracefully (e.g. via SIGTERM) before we bring down the hammer (e.g. SIGKILL on *nix, CTRL_BREAK_EVENT on Windows).", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2Digest": { - "description": "The CommandTask and CommandResult messages assume the existence of a service that can serve blobs of content, identified by a hash and size known as a \"digest.\" The method by which these blobs may be retrieved is not specified here, but a model implementation is in the Remote Execution API's \"ContentAddressibleStorage\" interface. In the context of the RWAPI, a Digest will virtually always refer to the contents of a file or a directory. The latter is represented by the byte-encoded Directory message.", - "id": "GoogleDevtoolsRemoteworkersV1test2Digest", - "properties": { - "hash": { - "description": "A string-encoded hash (eg \"1a2b3c\", not the byte array [0x1a, 0x2b, 0x3c]) using an implementation-defined hash algorithm (eg SHA-256).", - "type": "string" - }, - "sizeBytes": { - "description": "The size of the contents. While this is not strictly required as part of an identifier (after all, any given hash will have exactly one canonical size), it's useful in almost all cases when one might want to send or retrieve blobs of content and is included here for this reason.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2Directory": { - "description": "The contents of a directory. Similar to the equivalent message in the Remote Execution API.", - "id": "GoogleDevtoolsRemoteworkersV1test2Directory", - "properties": { - "directories": { - "description": "Any subdirectories", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata" - }, - "type": "array" - }, - "files": { - "description": "The files in this directory", - "items": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2FileMetadata" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata": { - "description": "The metadata for a directory. Similar to the equivalent message in the Remote Execution API.", - "id": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata", - "properties": { - "digest": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "A pointer to the contents of the directory, in the form of a marshalled Directory message." - }, - "path": { - "description": "The path of the directory, as in FileMetadata.path.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleDevtoolsRemoteworkersV1test2FileMetadata": { - "description": "The metadata for a file. Similar to the equivalent message in the Remote Execution API.", - "id": "GoogleDevtoolsRemoteworkersV1test2FileMetadata", - "properties": { - "contents": { - "description": "If the file is small enough, its contents may also or alternatively be listed here.", - "format": "byte", - "type": "string" - }, - "digest": { - "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", - "description": "A pointer to the contents of the file. The method by which a client retrieves the contents from a CAS system is not defined here." - }, - "isExecutable": { - "description": "Properties of the file", - "type": "boolean" - }, - "path": { - "description": "The path of this file. If this message is part of the CommandOutputs.outputs fields, the path is relative to the execution root and must correspond to an entry in CommandTask.outputs.files. If this message is part of a Directory message, then the path is relative to the root of that directory. All paths MUST be delimited by forward slashes.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleLongrunningOperation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "GoogleLongrunningOperation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "GoogleRpcStatus": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "GoogleRpcStatus", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Remote Build Execution API", - "version": "v2", - "version_module": true -} \ No newline at end of file diff --git a/discovery/reseller-v1.json b/discovery/reseller-v1.json index a55bcff5d29..f379348a0ff 100644 --- a/discovery/reseller-v1.json +++ b/discovery/reseller-v1.json @@ -499,7 +499,7 @@ ], "parameters": { "action": { - "description": "The intented insert action. The usage of this field is governed by certain policies which are being developed & tested currently. Hence, these might not work as intended. Once this is fully tested & available to consume, we will share more information about its usage, limitations and policy documentation.", + "description": "The intented insert action. Advised to set this when the customer already has a subscription for a different SKU in the same product.", "enum": [ "actionUnspecified", "buy", @@ -525,7 +525,7 @@ "type": "string" }, "sourceSkuId": { - "description": "The sku_id of the existing subscription to be upgraded or downgraded. This is required when action is SWITCH. The usage of this field is governed by certain policies which are being developed & tested currently. Hence, these might not work as intended. Once this is fully tested & available to consume, we will share more information about its usage, limitations and policy documentation.", + "description": "The sku_id of the existing subscription to be upgraded or downgraded. This is required when action is SWITCH.", "location": "query", "type": "string" } @@ -651,7 +651,7 @@ } } }, - "revision": "20250419", + "revision": "20250511", "rootUrl": "https://reseller.googleapis.com/", "schemas": { "Address": { diff --git a/discovery/resourcesettings-v1.json b/discovery/resourcesettings-v1.json deleted file mode 100644 index 2c67fbfda2f..00000000000 --- a/discovery/resourcesettings-v1.json +++ /dev/null @@ -1,685 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://resourcesettings.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Resource Settings", - "description": "The Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/resource-manager/docs/resource-settings/overview", - "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": "resourcesettings:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://resourcesettings.mtls.googleapis.com/", - "name": "resourcesettings", - "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": { - "folders": { - "resources": { - "settings": { - "deprecated": true, - "methods": { - "get": { - "deprecated": true, - "description": "Returns a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist.", - "flatPath": "v1/folders/{foldersId}/settings/{settingsId}", - "httpMethod": "GET", - "id": "resourcesettings.folders.settings.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the setting to get. See Setting for naming requirements.", - "location": "path", - "pattern": "^folders/[^/]+/settings/[^/]+$", - "required": true, - "type": "string" - }, - "view": { - "description": "The SettingView for this request.", - "enum": [ - "SETTING_VIEW_UNSPECIFIED", - "SETTING_VIEW_BASIC", - "SETTING_VIEW_EFFECTIVE_VALUE", - "SETTING_VIEW_LOCAL_VALUE" - ], - "enumDescriptions": [ - "The default / unset value. The API will default to the SETTING_VIEW_BASIC view.", - "Include Setting.metadata, but nothing else. This is the default value (for both ListSettings and GetSetting).", - "Include Setting.effective_value, but nothing else.", - "Include Setting.local_value, but nothing else." - ], - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "GoogleCloudResourcesettingsV1Setting" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "deprecated": true, - "description": "Lists all the settings that are available on the Cloud resource `parent`.", - "flatPath": "v1/folders/{foldersId}/settings", - "httpMethod": "GET", - "id": "resourcesettings.folders.settings.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "Unused. The size of the page to be returned.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Unused. A page token used to retrieve the next page.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The project, folder, or organization that is the parent resource for this setting. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", - "location": "path", - "pattern": "^folders/[^/]+$", - "required": true, - "type": "string" - }, - "view": { - "description": "The SettingView for this request.", - "enum": [ - "SETTING_VIEW_UNSPECIFIED", - "SETTING_VIEW_BASIC", - "SETTING_VIEW_EFFECTIVE_VALUE", - "SETTING_VIEW_LOCAL_VALUE" - ], - "enumDescriptions": [ - "The default / unset value. The API will default to the SETTING_VIEW_BASIC view.", - "Include Setting.metadata, but nothing else. This is the default value (for both ListSettings and GetSetting).", - "Include Setting.effective_value, but nothing else.", - "Include Setting.local_value, but nothing else." - ], - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/settings", - "response": { - "$ref": "GoogleCloudResourcesettingsV1ListSettingsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "deprecated": true, - "description": "Updates a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.FAILED_PRECONDITION` if the setting is flagged as read only. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the setting value. On success, the response will contain only `name`, `local_value` and `etag`. The `metadata` and `effective_value` cannot be updated through this API. Note: the supplied setting will perform a full overwrite of the `local_value` field.", - "flatPath": "v1/folders/{foldersId}/settings/{settingsId}", - "httpMethod": "PATCH", - "id": "resourcesettings.folders.settings.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The resource name of the setting. Must be in one of the following forms: * `projects/{project_number}/settings/{setting_name}` * `folders/{folder_id}/settings/{setting_name}` * `organizations/{organization_id}/settings/{setting_name}` For example, \"/projects/123/settings/gcp-enableMyFeature\"", - "location": "path", - "pattern": "^folders/[^/]+/settings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "GoogleCloudResourcesettingsV1Setting" - }, - "response": { - "$ref": "GoogleCloudResourcesettingsV1Setting" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "organizations": { - "resources": { - "settings": { - "deprecated": true, - "methods": { - "get": { - "deprecated": true, - "description": "Returns a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist.", - "flatPath": "v1/organizations/{organizationsId}/settings/{settingsId}", - "httpMethod": "GET", - "id": "resourcesettings.organizations.settings.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the setting to get. See Setting for naming requirements.", - "location": "path", - "pattern": "^organizations/[^/]+/settings/[^/]+$", - "required": true, - "type": "string" - }, - "view": { - "description": "The SettingView for this request.", - "enum": [ - "SETTING_VIEW_UNSPECIFIED", - "SETTING_VIEW_BASIC", - "SETTING_VIEW_EFFECTIVE_VALUE", - "SETTING_VIEW_LOCAL_VALUE" - ], - "enumDescriptions": [ - "The default / unset value. The API will default to the SETTING_VIEW_BASIC view.", - "Include Setting.metadata, but nothing else. This is the default value (for both ListSettings and GetSetting).", - "Include Setting.effective_value, but nothing else.", - "Include Setting.local_value, but nothing else." - ], - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "GoogleCloudResourcesettingsV1Setting" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "deprecated": true, - "description": "Lists all the settings that are available on the Cloud resource `parent`.", - "flatPath": "v1/organizations/{organizationsId}/settings", - "httpMethod": "GET", - "id": "resourcesettings.organizations.settings.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "Unused. The size of the page to be returned.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Unused. A page token used to retrieve the next page.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The project, folder, or organization that is the parent resource for this setting. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", - "location": "path", - "pattern": "^organizations/[^/]+$", - "required": true, - "type": "string" - }, - "view": { - "description": "The SettingView for this request.", - "enum": [ - "SETTING_VIEW_UNSPECIFIED", - "SETTING_VIEW_BASIC", - "SETTING_VIEW_EFFECTIVE_VALUE", - "SETTING_VIEW_LOCAL_VALUE" - ], - "enumDescriptions": [ - "The default / unset value. The API will default to the SETTING_VIEW_BASIC view.", - "Include Setting.metadata, but nothing else. This is the default value (for both ListSettings and GetSetting).", - "Include Setting.effective_value, but nothing else.", - "Include Setting.local_value, but nothing else." - ], - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/settings", - "response": { - "$ref": "GoogleCloudResourcesettingsV1ListSettingsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "deprecated": true, - "description": "Updates a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.FAILED_PRECONDITION` if the setting is flagged as read only. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the setting value. On success, the response will contain only `name`, `local_value` and `etag`. The `metadata` and `effective_value` cannot be updated through this API. Note: the supplied setting will perform a full overwrite of the `local_value` field.", - "flatPath": "v1/organizations/{organizationsId}/settings/{settingsId}", - "httpMethod": "PATCH", - "id": "resourcesettings.organizations.settings.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The resource name of the setting. Must be in one of the following forms: * `projects/{project_number}/settings/{setting_name}` * `folders/{folder_id}/settings/{setting_name}` * `organizations/{organization_id}/settings/{setting_name}` For example, \"/projects/123/settings/gcp-enableMyFeature\"", - "location": "path", - "pattern": "^organizations/[^/]+/settings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "GoogleCloudResourcesettingsV1Setting" - }, - "response": { - "$ref": "GoogleCloudResourcesettingsV1Setting" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "projects": { - "resources": { - "settings": { - "deprecated": true, - "methods": { - "get": { - "deprecated": true, - "description": "Returns a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist.", - "flatPath": "v1/projects/{projectsId}/settings/{settingsId}", - "httpMethod": "GET", - "id": "resourcesettings.projects.settings.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the setting to get. See Setting for naming requirements.", - "location": "path", - "pattern": "^projects/[^/]+/settings/[^/]+$", - "required": true, - "type": "string" - }, - "view": { - "description": "The SettingView for this request.", - "enum": [ - "SETTING_VIEW_UNSPECIFIED", - "SETTING_VIEW_BASIC", - "SETTING_VIEW_EFFECTIVE_VALUE", - "SETTING_VIEW_LOCAL_VALUE" - ], - "enumDescriptions": [ - "The default / unset value. The API will default to the SETTING_VIEW_BASIC view.", - "Include Setting.metadata, but nothing else. This is the default value (for both ListSettings and GetSetting).", - "Include Setting.effective_value, but nothing else.", - "Include Setting.local_value, but nothing else." - ], - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "GoogleCloudResourcesettingsV1Setting" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "deprecated": true, - "description": "Lists all the settings that are available on the Cloud resource `parent`.", - "flatPath": "v1/projects/{projectsId}/settings", - "httpMethod": "GET", - "id": "resourcesettings.projects.settings.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "Unused. The size of the page to be returned.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Unused. A page token used to retrieve the next page.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The project, folder, or organization that is the parent resource for this setting. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "view": { - "description": "The SettingView for this request.", - "enum": [ - "SETTING_VIEW_UNSPECIFIED", - "SETTING_VIEW_BASIC", - "SETTING_VIEW_EFFECTIVE_VALUE", - "SETTING_VIEW_LOCAL_VALUE" - ], - "enumDescriptions": [ - "The default / unset value. The API will default to the SETTING_VIEW_BASIC view.", - "Include Setting.metadata, but nothing else. This is the default value (for both ListSettings and GetSetting).", - "Include Setting.effective_value, but nothing else.", - "Include Setting.local_value, but nothing else." - ], - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/settings", - "response": { - "$ref": "GoogleCloudResourcesettingsV1ListSettingsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "deprecated": true, - "description": "Updates a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.FAILED_PRECONDITION` if the setting is flagged as read only. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the setting value. On success, the response will contain only `name`, `local_value` and `etag`. The `metadata` and `effective_value` cannot be updated through this API. Note: the supplied setting will perform a full overwrite of the `local_value` field.", - "flatPath": "v1/projects/{projectsId}/settings/{settingsId}", - "httpMethod": "PATCH", - "id": "resourcesettings.projects.settings.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The resource name of the setting. Must be in one of the following forms: * `projects/{project_number}/settings/{setting_name}` * `folders/{folder_id}/settings/{setting_name}` * `organizations/{organization_id}/settings/{setting_name}` For example, \"/projects/123/settings/gcp-enableMyFeature\"", - "location": "path", - "pattern": "^projects/[^/]+/settings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "GoogleCloudResourcesettingsV1Setting" - }, - "response": { - "$ref": "GoogleCloudResourcesettingsV1Setting" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - }, - "revision": "20240604", - "rootUrl": "https://resourcesettings.googleapis.com/", - "schemas": { - "GoogleCloudResourcesettingsV1ListSettingsResponse": { - "description": "The response from ListSettings.", - "id": "GoogleCloudResourcesettingsV1ListSettingsResponse", - "properties": { - "nextPageToken": { - "description": "Unused. A page token used to retrieve the next page.", - "type": "string" - }, - "settings": { - "description": "A list of settings that are available at the specified Cloud resource.", - "items": { - "$ref": "GoogleCloudResourcesettingsV1Setting" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudResourcesettingsV1Setting": { - "description": "The schema for settings.", - "id": "GoogleCloudResourcesettingsV1Setting", - "properties": { - "effectiveValue": { - "$ref": "GoogleCloudResourcesettingsV1Value", - "description": "Output only. The effective value of the setting at the given parent resource, evaluated based on the resource hierarchy The effective value evaluates to one of the following options, in this order. If an option is not valid or doesn't exist, then the next option is used: 1. The local setting value on the given resource: Setting.local_value 2. If one of the given resource's ancestors in the resource hierarchy have a local setting value, the local value at the nearest such ancestor. 3. The setting's default value: SettingMetadata.default_value 4. An empty value, defined as a `Value` with all fields unset. The data type of Value must always be consistent with the data type defined in Setting.metadata.", - "readOnly": true - }, - "etag": { - "description": "A fingerprint used for optimistic concurrency. See UpdateSetting for more details.", - "type": "string" - }, - "localValue": { - "$ref": "GoogleCloudResourcesettingsV1Value", - "description": "The configured value of the setting at the given parent resource, ignoring the resource hierarchy. The data type of Value must always be consistent with the data type defined in Setting.metadata." - }, - "metadata": { - "$ref": "GoogleCloudResourcesettingsV1SettingMetadata", - "description": "Output only. Metadata about a setting which is not editable by the end user.", - "readOnly": true - }, - "name": { - "description": "The resource name of the setting. Must be in one of the following forms: * `projects/{project_number}/settings/{setting_name}` * `folders/{folder_id}/settings/{setting_name}` * `organizations/{organization_id}/settings/{setting_name}` For example, \"/projects/123/settings/gcp-enableMyFeature\"", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudResourcesettingsV1SettingMetadata": { - "description": "Metadata about a setting which is not editable by the end user.", - "id": "GoogleCloudResourcesettingsV1SettingMetadata", - "properties": { - "dataType": { - "description": "The data type for this setting.", - "enum": [ - "DATA_TYPE_UNSPECIFIED", - "BOOLEAN", - "STRING", - "STRING_SET", - "ENUM_VALUE", - "DURATION_VALUE", - "STRING_MAP" - ], - "enumDescriptions": [ - "Unspecified data type.", - "A boolean setting.", - "A string setting.", - "A string set setting.", - "A Enum setting", - "A Duration setting", - "A string->string map setting" - ], - "type": "string" - }, - "defaultValue": { - "$ref": "GoogleCloudResourcesettingsV1Value", - "description": "The value provided by Setting.effective_value if no setting value is explicitly set. Note: not all settings have a default value." - }, - "description": { - "description": "A detailed description of what this setting does.", - "type": "string" - }, - "displayName": { - "description": "The human readable name for this setting.", - "type": "string" - }, - "readOnly": { - "description": "A flag indicating that values of this setting cannot be modified. See documentation for the specific setting for updates and reasons.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleCloudResourcesettingsV1Value": { - "description": "The data in a setting value.", - "id": "GoogleCloudResourcesettingsV1Value", - "properties": { - "booleanValue": { - "description": "Defines this value as being a boolean value.", - "type": "boolean" - }, - "durationValue": { - "description": "Defines this value as being a Duration.", - "format": "google-duration", - "type": "string" - }, - "enumValue": { - "$ref": "GoogleCloudResourcesettingsV1ValueEnumValue", - "description": "Defines this value as being a Enum." - }, - "stringMapValue": { - "$ref": "GoogleCloudResourcesettingsV1ValueStringMap", - "description": "Defines this value as being a StringMap." - }, - "stringSetValue": { - "$ref": "GoogleCloudResourcesettingsV1ValueStringSet", - "description": "Defines this value as being a StringSet." - }, - "stringValue": { - "description": "Defines this value as being a string value.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudResourcesettingsV1ValueEnumValue": { - "description": "A enum value that can hold any enum type setting values. Each enum type is represented by a number, this representation is stored in the definitions.", - "id": "GoogleCloudResourcesettingsV1ValueEnumValue", - "properties": { - "value": { - "description": "The value of this enum", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudResourcesettingsV1ValueStringMap": { - "description": "A string->string map value that can hold a map of string keys to string values. The maximum length of each string is 200 characters and there can be a maximum of 50 key-value pairs in the map.", - "id": "GoogleCloudResourcesettingsV1ValueStringMap", - "properties": { - "mappings": { - "additionalProperties": { - "type": "string" - }, - "description": "The key-value pairs in the map", - "type": "object" - } - }, - "type": "object" - }, - "GoogleCloudResourcesettingsV1ValueStringSet": { - "description": "A string set value that can hold a set of strings. The maximum length of each string is 200 characters and there can be a maximum of 50 strings in the string set.", - "id": "GoogleCloudResourcesettingsV1ValueStringSet", - "properties": { - "values": { - "description": "The strings in the set", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Resource Settings API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/retail-v2.json b/discovery/retail-v2.json index 8856901841a..b3ecf475f9e 100644 --- a/discovery/retail-v2.json +++ b/discovery/retail-v2.json @@ -2223,7 +2223,7 @@ } } }, - "revision": "20250417", + "revision": "20250508", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -3777,24 +3777,6 @@ "description": "Optional. Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. The `searchable` field should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB.", "type": "object" }, - "availability": { - "description": "Optional. The availability of the Product at this place_id. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered \"in stock\" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability). This field is currently only used by the Recommendations API. For Search, please make use of fulfillment_types or custom attributes for similar behaviour. See [here]( https://cloud.google.com/retail/docs/local-inventory-updates#local-inventory-update-methods) for more details.", - "enum": [ - "AVAILABILITY_UNSPECIFIED", - "IN_STOCK", - "OUT_OF_STOCK", - "PREORDER", - "BACKORDER" - ], - "enumDescriptions": [ - "Default product availability. Default to Availability.IN_STOCK if unset.", - "Product in stock.", - "Product out of stock.", - "Product that is in pre-order state.", - "Product that is back-ordered (i.e. temporarily out of stock)." - ], - "type": "string" - }, "fulfillmentTypes": { "description": "Optional. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned.", "items": { @@ -6612,8 +6594,14 @@ "description": "Merchant Center Feed filter criterion.", "id": "GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter", "properties": { + "dataSourceId": { + "description": "AFM data source ID.", + "format": "int64", + "type": "string" + }, "primaryFeedId": { - "description": "Merchant Center primary feed ID.", + "deprecated": true, + "description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.", "format": "int64", "type": "string" }, diff --git a/discovery/retail-v2alpha.json b/discovery/retail-v2alpha.json index 66063c9e441..b7a51e1ff5b 100644 --- a/discovery/retail-v2alpha.json +++ b/discovery/retail-v2alpha.json @@ -2800,7 +2800,7 @@ } } }, - "revision": "20250417", + "revision": "20250508", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -4694,11 +4694,6 @@ "$ref": "GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch" }, "type": "array" - }, - "rephrasedQuery": { - "deprecated": true, - "description": "This field is deprecated. Please find the refinded_query from search response when using CONVERSATIONAL_FILTER_ONLY mode in ConversationalSearchResponse.refined_search instead. The rephrased query based on the user's query and the conversation history. It can be used to fetch the relevant search results.", - "type": "string" } }, "type": "object" @@ -5751,8 +5746,14 @@ "description": "Merchant Center Feed filter criterion.", "id": "GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter", "properties": { + "dataSourceId": { + "description": "AFM data source ID.", + "format": "int64", + "type": "string" + }, "primaryFeedId": { - "description": "Merchant Center primary feed ID.", + "deprecated": true, + "description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.", "format": "int64", "type": "string" }, @@ -5767,8 +5768,14 @@ "description": "Merchant Center Feed filter criterion.", "id": "GoogleCloudRetailV2alphaMerchantCenterFeedFilter", "properties": { + "dataSourceId": { + "description": "AFM data source ID.", + "format": "int64", + "type": "string" + }, "primaryFeedId": { - "description": "Merchant Center primary feed ID.", + "deprecated": true, + "description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.", "format": "int64", "type": "string" }, diff --git a/discovery/retail-v2beta.json b/discovery/retail-v2beta.json index 4b071ac55d9..7875477e122 100644 --- a/discovery/retail-v2beta.json +++ b/discovery/retail-v2beta.json @@ -2368,7 +2368,7 @@ } } }, - "revision": "20250417", + "revision": "20250508", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -3461,8 +3461,14 @@ "description": "Merchant Center Feed filter criterion.", "id": "GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter", "properties": { + "dataSourceId": { + "description": "AFM data source ID.", + "format": "int64", + "type": "string" + }, "primaryFeedId": { - "description": "Merchant Center primary feed ID.", + "deprecated": true, + "description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.", "format": "int64", "type": "string" }, @@ -5510,24 +5516,6 @@ "description": "Optional. Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. The `searchable` field should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB.", "type": "object" }, - "availability": { - "description": "Optional. The availability of the Product at this place_id. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered \"in stock\" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability). This field is currently only used by the Recommendations API. For Search, please make use of fulfillment_types or custom attributes for similar behaviour. See [here]( https://cloud.google.com/retail/docs/local-inventory-updates#local-inventory-update-methods) for more details.", - "enum": [ - "AVAILABILITY_UNSPECIFIED", - "IN_STOCK", - "OUT_OF_STOCK", - "PREORDER", - "BACKORDER" - ], - "enumDescriptions": [ - "Default product availability. Default to Availability.IN_STOCK if unset.", - "Product in stock.", - "Product out of stock.", - "Product that is in pre-order state.", - "Product that is back-ordered (i.e. temporarily out of stock)." - ], - "type": "string" - }, "fulfillmentTypes": { "description": "Optional. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned.", "items": { @@ -5550,8 +5538,14 @@ "description": "Merchant Center Feed filter criterion.", "id": "GoogleCloudRetailV2betaMerchantCenterFeedFilter", "properties": { + "dataSourceId": { + "description": "AFM data source ID.", + "format": "int64", + "type": "string" + }, "primaryFeedId": { - "description": "Merchant Center primary feed ID.", + "deprecated": true, + "description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.", "format": "int64", "type": "string" }, diff --git a/discovery/run-v1alpha1.json b/discovery/run-v1alpha1.json deleted file mode 100644 index b378e4b57a6..00000000000 --- a/discovery/run-v1alpha1.json +++ /dev/null @@ -1,1286 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://run.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Run", - "description": "Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/run/", - "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": "run:v1alpha1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://run.mtls.googleapis.com/", - "name": "run", - "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": { - "namespaces": { - "resources": { - "jobs": { - "methods": { - "create": { - "description": "Create a job.", - "flatPath": "apis/run.googleapis.com/v1alpha1/namespaces/{namespacesId}/jobs", - "httpMethod": "POST", - "id": "run.namespaces.jobs.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The namespace in which the job should be created. Replace {namespace_id} with the project ID or number.", - "location": "path", - "pattern": "^namespaces/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "apis/run.googleapis.com/v1alpha1/{+parent}/jobs", - "request": { - "$ref": "Job" - }, - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Delete a job.", - "flatPath": "apis/run.googleapis.com/v1alpha1/namespaces/{namespacesId}/jobs/{jobsId}", - "httpMethod": "DELETE", - "id": "run.namespaces.jobs.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "apiVersion": { - "description": "Optional. Cloud Run currently ignores this parameter.", - "location": "query", - "type": "string" - }, - "kind": { - "description": "Optional. Cloud Run currently ignores this parameter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "Required. The name of the job to delete. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.", - "location": "path", - "pattern": "^namespaces/[^/]+/jobs/[^/]+$", - "required": true, - "type": "string" - }, - "propagationPolicy": { - "description": "Optional. Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.", - "location": "query", - "type": "string" - } - }, - "path": "apis/run.googleapis.com/v1alpha1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Get information about a job.", - "flatPath": "apis/run.googleapis.com/v1alpha1/namespaces/{namespacesId}/jobs/{jobsId}", - "httpMethod": "GET", - "id": "run.namespaces.jobs.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the job to retrieve. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.", - "location": "path", - "pattern": "^namespaces/[^/]+/jobs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "apis/run.googleapis.com/v1alpha1/{+name}", - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "List jobs.", - "flatPath": "apis/run.googleapis.com/v1alpha1/namespaces/{namespacesId}/jobs", - "httpMethod": "GET", - "id": "run.namespaces.jobs.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "continue": { - "description": "Optional. Optional encoded string to continue paging.", - "location": "query", - "type": "string" - }, - "fieldSelector": { - "description": "Optional. Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.", - "location": "query", - "type": "string" - }, - "includeUninitialized": { - "description": "Optional. Not currently used by Cloud Run.", - "location": "query", - "type": "boolean" - }, - "labelSelector": { - "description": "Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.", - "location": "query", - "type": "string" - }, - "limit": { - "description": "Optional. The maximum number of records that should be returned.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "parent": { - "description": "Required. The namespace from which the jobs should be listed. Replace {namespace_id} with the project ID or number.", - "location": "path", - "pattern": "^namespaces/[^/]+$", - "required": true, - "type": "string" - }, - "resourceVersion": { - "description": "Optional. The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.", - "location": "query", - "type": "string" - }, - "watch": { - "description": "Optional. Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.", - "location": "query", - "type": "boolean" - } - }, - "path": "apis/run.googleapis.com/v1alpha1/{+parent}/jobs", - "response": { - "$ref": "ListJobsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - }, - "revision": "20220626", - "rootUrl": "https://run.googleapis.com/", - "schemas": { - "ConfigMapEnvSource": { - "description": "Not supported by Cloud Run ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", - "id": "ConfigMapEnvSource", - "properties": { - "localObjectReference": { - "$ref": "LocalObjectReference", - "description": "This field should not be used directly as it is meant to be inlined directly into the message. Use the \"name\" field instead." - }, - "name": { - "description": "The ConfigMap to select from.", - "type": "string" - }, - "optional": { - "description": "(Optional) Specify whether the ConfigMap must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "ConfigMapKeySelector": { - "description": "Not supported by Cloud Run Selects a key from a ConfigMap.", - "id": "ConfigMapKeySelector", - "properties": { - "key": { - "description": "The key to select.", - "type": "string" - }, - "localObjectReference": { - "$ref": "LocalObjectReference", - "description": "This field should not be used directly as it is meant to be inlined directly into the message. Use the \"name\" field instead." - }, - "name": { - "description": "The ConfigMap to select from.", - "type": "string" - }, - "optional": { - "description": "(Optional) Specify whether the ConfigMap or its key must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "ConfigMapVolumeSource": { - "description": "Not supported by Cloud Run Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths.", - "id": "ConfigMapVolumeSource", - "properties": { - "defaultMode": { - "description": "(Optional) Integer representation of mode bits to use on created files by default. Must be a value between 01 and 0777 (octal). If 0 or not set, it will default to 0644. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "items": { - "description": "(Optional) If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified that is not present in the Secret, the volume setup will error unless it is marked optional.", - "items": { - "$ref": "KeyToPath" - }, - "type": "array" - }, - "name": { - "description": "Name of the config.", - "type": "string" - }, - "optional": { - "description": "(Optional) Specify whether the Secret or its keys must be defined.", - "type": "boolean" - } - }, - "type": "object" - }, - "Container": { - "description": "A single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments may be supplied by the system to the container at runtime.", - "id": "Container", - "properties": { - "args": { - "description": "(Optional) Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array" - }, - "command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "env": { - "description": "(Optional) List of environment variables to set in the container.", - "items": { - "$ref": "EnvVar" - }, - "type": "array" - }, - "envFrom": { - "description": "(Optional) List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", - "items": { - "$ref": "EnvFromSource" - }, - "type": "array" - }, - "image": { - "description": "Only supports containers from Google Container Registry or Artifact Registry URL of the Container image. More info: https://kubernetes.io/docs/concepts/containers/images", - "type": "string" - }, - "imagePullPolicy": { - "description": "(Optional) Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", - "type": "string" - }, - "livenessProbe": { - "$ref": "Probe", - "description": "(Optional) Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" - }, - "name": { - "description": "(Optional) Name of the container specified as a DNS_LABEL. Currently unused in Cloud Run. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names", - "type": "string" - }, - "ports": { - "description": "(Optional) List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.", - "items": { - "$ref": "ContainerPort" - }, - "type": "array" - }, - "readinessProbe": { - "$ref": "Probe", - "description": "(Optional) Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" - }, - "resources": { - "$ref": "ResourceRequirements", - "description": "(Optional) Compute Resources required by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" - }, - "securityContext": { - "$ref": "SecurityContext", - "description": "(Optional) Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" - }, - "startupProbe": { - "$ref": "Probe", - "description": "(Optional) Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" - }, - "terminationMessagePath": { - "description": "(Optional) Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log.", - "type": "string" - }, - "terminationMessagePolicy": { - "description": "(Optional) Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", - "type": "string" - }, - "volumeMounts": { - "description": "(Optional) Volume to mount into the container's filesystem. Only supports SecretVolumeSources. Pod volumes to mount into the container's filesystem.", - "items": { - "$ref": "VolumeMount" - }, - "type": "array" - }, - "workingDir": { - "description": "(Optional) Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.", - "type": "string" - } - }, - "type": "object" - }, - "ContainerPort": { - "description": "ContainerPort represents a network port in a single container.", - "id": "ContainerPort", - "properties": { - "containerPort": { - "description": "(Optional) Port number the container listens on. This must be a valid port number, 0 < x < 65536.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "(Optional) If specified, used to specify which protocol to use. Allowed values are \"http1\" and \"h2c\".", - "type": "string" - }, - "protocol": { - "description": "(Optional) Protocol for port. Must be \"TCP\". Defaults to \"TCP\".", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "EnvFromSource": { - "description": "Not supported by Cloud Run EnvFromSource represents the source of a set of ConfigMaps", - "id": "EnvFromSource", - "properties": { - "configMapRef": { - "$ref": "ConfigMapEnvSource", - "description": "(Optional) The ConfigMap to select from" - }, - "prefix": { - "description": "(Optional) An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", - "type": "string" - }, - "secretRef": { - "$ref": "SecretEnvSource", - "description": "(Optional) The Secret to select from" - } - }, - "type": "object" - }, - "EnvVar": { - "description": "EnvVar represents an environment variable present in a Container.", - "id": "EnvVar", - "properties": { - "name": { - "description": "Name of the environment variable. Must be a C_IDENTIFIER.", - "type": "string" - }, - "value": { - "description": "(Optional) Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", - "type": "string" - }, - "valueFrom": { - "$ref": "EnvVarSource", - "description": "(Optional) Source for the environment variable's value. Only supports secret_key_ref. Source for the environment variable's value. Cannot be used if value is not empty." - } - }, - "type": "object" - }, - "EnvVarSource": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", - "id": "EnvVarSource", - "properties": { - "configMapKeyRef": { - "$ref": "ConfigMapKeySelector", - "description": "(Optional) Not supported by Cloud Run Selects a key of a ConfigMap." - }, - "secretKeyRef": { - "$ref": "SecretKeySelector", - "description": "(Optional) Selects a key (version) of a secret in Secret Manager." - } - }, - "type": "object" - }, - "ExecAction": { - "description": "Not supported by Cloud Run ExecAction describes a \"run in container\" action.", - "id": "ExecAction", - "properties": { - "command": { - "description": "(Optional) Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GRPCAction": { - "description": "Not supported by Cloud Run GRPCAction describes an action involving a GRPC port.", - "id": "GRPCAction", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "format": "int32", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleRpcStatus": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "GoogleRpcStatus", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "HTTPGetAction": { - "description": "Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get requests.", - "id": "HTTPGetAction", - "properties": { - "host": { - "description": "(Optional) Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "(Optional) Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "$ref": "HTTPHeader" - }, - "type": "array" - }, - "path": { - "description": "(Optional) Path to access on the HTTP server.", - "type": "string" - }, - "scheme": { - "description": "(Optional) Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "type": "object" - }, - "HTTPHeader": { - "description": "Not supported by Cloud Run HTTPHeader describes a custom header to be used in HTTP probes", - "id": "HTTPHeader", - "properties": { - "name": { - "description": "The header field name", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "type": "object" - }, - "InstanceAttemptResult": { - "description": "Result of an instance attempt.", - "id": "InstanceAttemptResult", - "properties": { - "exitCode": { - "description": "Optional. The exit code of this attempt. This may be unset if the container was unable to exit cleanly with a code due to some other failure. See status field for possible failure details.", - "format": "int32", - "type": "integer" - }, - "status": { - "$ref": "GoogleRpcStatus", - "description": "Optional. The status of this attempt. If the status code is OK, then the attempt succeeded." - } - }, - "type": "object" - }, - "InstanceSpec": { - "description": "InstanceSpec is a description of an instance.", - "id": "InstanceSpec", - "properties": { - "activeDeadlineSeconds": { - "description": "Optional. Optional duration in seconds the instance may be active relative to StartTime before the system will actively try to mark it failed and kill associated containers. If set to zero, the system will never attempt to kill an instance based on time. Otherwise, value must be a positive integer. +optional", - "format": "int64", - "type": "string" - }, - "containers": { - "description": "Optional. List of containers belonging to the instance. We disallow a number of fields on this Container. Only a single container may be provided.", - "items": { - "$ref": "Container" - }, - "type": "array" - }, - "restartPolicy": { - "description": "Optional. Restart policy for all containers within the instance. Allowed values are: - OnFailure: Instances will always be restarted on failure if the backoffLimit has not been reached. - Never: Instances are never restarted and all failures are permanent. Cannot be used if backoffLimit is set. +optional", - "type": "string" - }, - "serviceAccountName": { - "description": "Optional. Email address of the IAM service account associated with the instance of a Job. The service account represents the identity of the running instance, and determines what permissions the instance has. If not provided, the instance will use the project's default service account. +optional", - "type": "string" - }, - "terminationGracePeriodSeconds": { - "description": "Optional. Optional duration in seconds the instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates delete immediately. The grace period is the duration in seconds after the processes running in the instance are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. +optional", - "format": "int64", - "type": "string" - }, - "volumes": { - "description": "Optional. List of volumes that can be mounted by containers belonging to the instance. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional", - "items": { - "$ref": "Volume" - }, - "type": "array" - } - }, - "type": "object" - }, - "InstanceStatus": { - "description": "Instance represents the status of an instance of a Job.", - "id": "InstanceStatus", - "properties": { - "completionTime": { - "description": "Optional. Represents time when the instance was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional", - "format": "google-datetime", - "type": "string" - }, - "failed": { - "description": "Optional. The number of times this instance exited with code > 0; +optional", - "format": "int32", - "type": "integer" - }, - "index": { - "description": "Required. Index of the instance, unique per Job, and beginning at 0.", - "format": "int32", - "type": "integer" - }, - "lastAttemptResult": { - "$ref": "InstanceAttemptResult", - "description": "Optional. Result of the last attempt of this instance. +optional" - }, - "lastExitCode": { - "description": "Optional. Last exit code seen for this instance. +optional", - "format": "int32", - "type": "integer" - }, - "restarted": { - "description": "Optional. The number of times this instance was restarted. Instances are restarted according the restartPolicy configured in the Job template. +optional", - "format": "int32", - "type": "integer" - }, - "startTime": { - "description": "Optional. Represents time when the instance was created by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional", - "format": "google-datetime", - "type": "string" - }, - "succeeded": { - "description": "Optional. The number of times this instance exited with code == 0. +optional", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "InstanceTemplateSpec": { - "description": "InstanceTemplateSpec describes the data an instance should have when created from a template.", - "id": "InstanceTemplateSpec", - "properties": { - "spec": { - "$ref": "InstanceSpec", - "description": "Optional. Specification of the desired behavior of the instance. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional" - } - }, - "type": "object" - }, - "Job": { - "description": "Job represents the configuration of a single job. A job an immutable resource that references a container image which is run to completion.", - "id": "Job", - "properties": { - "apiVersion": { - "description": "Optional. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional", - "type": "string" - }, - "kind": { - "description": "Optional. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional", - "type": "string" - }, - "metadata": { - "$ref": "ObjectMeta", - "description": "Optional. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional" - }, - "spec": { - "$ref": "JobSpec", - "description": "Optional. Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status +optional" - }, - "status": { - "$ref": "JobStatus", - "description": "Optional. Current status of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status +optional" - } - }, - "type": "object" - }, - "JobCondition": { - "description": "JobCondition defines a readiness condition for a Revision.", - "id": "JobCondition", - "properties": { - "lastTransitionTime": { - "description": "Optional. Last time the condition transitioned from one status to another.", - "format": "google-datetime", - "type": "string" - }, - "message": { - "description": "Optional. Human readable message indicating details about the current status.", - "type": "string" - }, - "reason": { - "description": "Optional. One-word CamelCase reason for the condition's last transition.", - "type": "string" - }, - "severity": { - "description": "Optional. How to interpret failures of this condition, one of Error, Warning, Info", - "type": "string" - }, - "status": { - "description": "Required. Status of the condition, one of True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Required. Type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types include: * \"Completed\": True when the Job has successfully completed. * \"Started\": True when the Job has successfully started running. * \"ResourcesAvailable\": True when underlying resources have been provisioned.", - "type": "string" - } - }, - "type": "object" - }, - "JobSpec": { - "description": "JobSpec describes how the job execution will look like.", - "id": "JobSpec", - "properties": { - "activeDeadlineSeconds": { - "description": "Optional. Not supported. Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it. If set to zero, the system will never attempt to terminate the job based on time. Otherwise, the value must be positive integer. +optional", - "format": "int64", - "type": "string" - }, - "backoffLimit": { - "description": "Optional. Specifies the number of retries per instance, before marking this job failed. If set to zero, instances will never retry on failure. +optional", - "format": "int32", - "type": "integer" - }, - "completions": { - "description": "Optional. Specifies the desired number of successfully finished instances the job should be run with. Setting to 1 means that parallelism is limited to 1 and the success of that instance signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional", - "format": "int32", - "type": "integer" - }, - "parallelism": { - "description": "Optional. Specifies the maximum desired number of instances the job should run at any given time. Must be <= completions. The actual number of instances running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional", - "format": "int32", - "type": "integer" - }, - "template": { - "$ref": "InstanceTemplateSpec", - "description": "Optional. Describes the instance that will be created when executing a job." - }, - "ttlSecondsAfterFinished": { - "description": "Optional. Not supported. ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is set to zero, the Job won't be automatically deleted. +optional", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "JobStatus": { - "description": "JobStatus represents the current state of a Job.", - "id": "JobStatus", - "properties": { - "active": { - "description": "Optional. The number of actively running instances. +optional", - "format": "int32", - "type": "integer" - }, - "completionTime": { - "description": "Optional. Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional", - "format": "google-datetime", - "type": "string" - }, - "conditions": { - "description": "Optional. The latest available observations of a job's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional", - "items": { - "$ref": "JobCondition" - }, - "type": "array" - }, - "failed": { - "description": "Optional. The number of instances which reached phase Failed. +optional", - "format": "int32", - "type": "integer" - }, - "imageDigest": { - "description": "Optional. ImageDigest holds the resolved digest for the image specified within .Spec.Template.Spec.Container.Image. The digest is resolved during the creation of the Job. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object.", - "type": "string" - }, - "instances": { - "description": "Optional. Status of completed, failed, and running instances. +optional", - "items": { - "$ref": "InstanceStatus" - }, - "type": "array" - }, - "observedGeneration": { - "description": "Optional. The 'generation' of the job that was last processed by the controller.", - "format": "int32", - "type": "integer" - }, - "startTime": { - "description": "Optional. Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional", - "format": "google-datetime", - "type": "string" - }, - "succeeded": { - "description": "Optional. The number of instances which reached phase Succeeded. +optional", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "KeyToPath": { - "description": "Maps a string key to a path within a volume.", - "id": "KeyToPath", - "properties": { - "key": { - "description": "The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version. The key to project.", - "type": "string" - }, - "mode": { - "description": "(Optional) Mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "path": { - "description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", - "type": "string" - } - }, - "type": "object" - }, - "ListJobsResponse": { - "description": "ListJobsResponse is a list of Jobs resources.", - "id": "ListJobsResponse", - "properties": { - "apiVersion": { - "description": "The API version for this call such as \"run.googleapis.com/v1alpha1\".", - "type": "string" - }, - "items": { - "description": "List of Jobs.", - "items": { - "$ref": "Job" - }, - "type": "array" - }, - "kind": { - "description": "The kind of this resource, in this case \"JobsList\".", - "type": "string" - }, - "metadata": { - "$ref": "ListMeta", - "description": "Metadata associated with this jobs list." - }, - "nextPageToken": { - "description": "This field is equivalent to the metadata.continue field and is provided as a convenience for compatibility with https://google.aip.dev/158. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The metadata.resourceVersion field returned when using this field will be identical to the value in the first response.", - "type": "string" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListMeta": { - "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", - "id": "ListMeta", - "properties": { - "continue": { - "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response.", - "type": "string" - }, - "resourceVersion": { - "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency +optional", - "type": "string" - }, - "selfLink": { - "description": "SelfLink is a URL representing this object. Populated by the system. Read-only. +optional", - "type": "string" - } - }, - "type": "object" - }, - "LocalObjectReference": { - "description": "Not supported by Cloud Run LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "id": "LocalObjectReference", - "properties": { - "name": { - "description": "(Optional) Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object" - }, - "ObjectMeta": { - "description": "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", - "id": "ObjectMeta", - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "description": "(Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations", - "type": "object" - }, - "clusterName": { - "description": "(Optional) Not supported by Cloud Run The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.", - "type": "string" - }, - "creationTimestamp": { - "description": "(Optional) CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "format": "google-datetime", - "type": "string" - }, - "deletionGracePeriodSeconds": { - "description": "(Optional) Not supported by Cloud Run Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "format": "int32", - "type": "integer" - }, - "deletionTimestamp": { - "description": "(Optional) Not supported by Cloud Run DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "format": "google-datetime", - "type": "string" - }, - "finalizers": { - "description": "(Optional) Not supported by Cloud Run Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +patchStrategy=merge", - "items": { - "type": "string" - }, - "type": "array" - }, - "generateName": { - "description": "(Optional) Not supported by Cloud Run GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency string generateName = 2;", - "type": "string" - }, - "generation": { - "description": "(Optional) A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "format": "int32", - "type": "integer" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "(Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. More info: https://kubernetes.io/docs/user-guide/labels", - "type": "object" - }, - "name": { - "description": "Name must be unique within a namespace, within a Cloud Run region. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/user-guide/identifiers#names +optional", - "type": "string" - }, - "namespace": { - "description": "Namespace defines the space within each name must be unique, within a Cloud Run region. In Cloud Run the namespace must be equal to either the project ID or project number.", - "type": "string" - }, - "ownerReferences": { - "description": "(Optional) Not supported by Cloud Run List of objects that own this object. If ALL objects in the list have been deleted, this object will be garbage collected.", - "items": { - "$ref": "OwnerReference" - }, - "type": "array" - }, - "resourceVersion": { - "description": "Optional. An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients or omitted. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "selfLink": { - "description": "(Optional) SelfLink is a URL representing this object. Populated by the system. Read-only. string selfLink = 4;", - "type": "string" - }, - "uid": { - "description": "(Optional) UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: https://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" - } - }, - "type": "object" - }, - "OwnerReference": { - "description": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.", - "id": "OwnerReference", - "properties": { - "apiVersion": { - "description": "API version of the referent.", - "type": "string" - }, - "blockOwnerDeletion": { - "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional", - "type": "boolean" - }, - "controller": { - "description": "If true, this reference points to the managing controller. +optional", - "type": "boolean" - }, - "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/user-guide/identifiers#names", - "type": "string" - }, - "uid": { - "description": "UID of the referent. More info: https://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" - } - }, - "type": "object" - }, - "Probe": { - "description": "Not supported by Cloud Run Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "id": "Probe", - "properties": { - "exec": { - "$ref": "ExecAction", - "description": "(Optional) Not supported by Cloud Run One and only one of the following should be specified. Exec specifies the action to take. A field inlined from the Handler message." - }, - "failureThreshold": { - "description": "(Optional) Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "grpc": { - "$ref": "GRPCAction", - "description": "(Optional) GRPCAction specifies an action involving a GRPC port. A field inlined from the Handler message." - }, - "httpGet": { - "$ref": "HTTPGetAction", - "description": "(Optional) HTTPGet specifies the http request to perform. A field inlined from the Handler message." - }, - "initialDelaySeconds": { - "description": "(Optional) Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - }, - "periodSeconds": { - "description": "(Optional) How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.", - "format": "int32", - "type": "integer" - }, - "successThreshold": { - "description": "(Optional) Minimum consecutive successes for the probe to be considered successful after having failed. Must be 1 if set.", - "format": "int32", - "type": "integer" - }, - "tcpSocket": { - "$ref": "TCPSocketAction", - "description": "(Optional) TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported A field inlined from the Handler message." - }, - "timeoutSeconds": { - "description": "(Optional) Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ResourceRequirements": { - "description": "ResourceRequirements describes the compute resource requirements.", - "id": "ResourceRequirements", - "properties": { - "limits": { - "additionalProperties": { - "type": "string" - }, - "description": "(Optional) Only memory and CPU are supported. Limits describes the maximum amount of compute resources allowed. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go", - "type": "object" - }, - "requests": { - "additionalProperties": { - "type": "string" - }, - "description": "(Optional) Only memory and CPU are supported. Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go", - "type": "object" - } - }, - "type": "object" - }, - "SecretEnvSource": { - "description": "Not supported by Cloud Run SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.", - "id": "SecretEnvSource", - "properties": { - "localObjectReference": { - "$ref": "LocalObjectReference", - "description": "This field should not be used directly as it is meant to be inlined directly into the message. Use the \"name\" field instead." - }, - "name": { - "description": "The Secret to select from.", - "type": "string" - }, - "optional": { - "description": "(Optional) Specify whether the Secret must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "SecretKeySelector": { - "description": "SecretKeySelector selects a key of a Secret.", - "id": "SecretKeySelector", - "properties": { - "key": { - "description": "A Cloud Secret Manager secret version. Must be 'latest' for the latest version or an integer for a specific version. The key of the secret to select from. Must be a valid secret key.", - "type": "string" - }, - "localObjectReference": { - "$ref": "LocalObjectReference", - "description": "This field should not be used directly as it is meant to be inlined directly into the message. Use the \"name\" field instead." - }, - "name": { - "description": "The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from.", - "type": "string" - }, - "optional": { - "description": "(Optional) Specify whether the Secret or its key must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "SecretVolumeSource": { - "description": "The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name. The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names.", - "id": "SecretVolumeSource", - "properties": { - "defaultMode": { - "description": "Integer representation of mode bits to use on created files by default. Must be a value between 01 and 0777 (octal). If 0 or not set, it will default to 0644. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "items": { - "description": "(Optional) If unspecified, the volume will expose a file whose name is the secret_name. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a key and a path. If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified that is not present in the Secret, the volume setup will error unless it is marked optional.", - "items": { - "$ref": "KeyToPath" - }, - "type": "array" - }, - "optional": { - "description": "(Optional) Specify whether the Secret or its keys must be defined.", - "type": "boolean" - }, - "secretName": { - "description": "The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. Name of the secret in the container's namespace to use.", - "type": "string" - } - }, - "type": "object" - }, - "SecurityContext": { - "description": "Not supported by Cloud Run SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", - "id": "SecurityContext", - "properties": { - "runAsUser": { - "description": "(Optional) The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "TCPSocketAction": { - "description": "Not supported by Cloud Run TCPSocketAction describes an action based on opening a socket", - "id": "TCPSocketAction", - "properties": { - "host": { - "description": "(Optional) Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. This field is currently limited to integer types only because of proto's inability to properly support the IntOrString golang type.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Volume": { - "description": "Volume represents a named volume in a container.", - "id": "Volume", - "properties": { - "configMap": { - "$ref": "ConfigMapVolumeSource" - }, - "name": { - "description": "Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' is reserved.", - "type": "string" - }, - "secret": { - "$ref": "SecretVolumeSource" - } - }, - "type": "object" - }, - "VolumeMount": { - "description": "VolumeMount describes a mounting of a Volume within a container.", - "id": "VolumeMount", - "properties": { - "mountPath": { - "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", - "type": "string" - }, - "name": { - "description": "The name of the volume. There must be a corresponding Volume with the same name.", - "type": "string" - }, - "readOnly": { - "description": "(Optional) Only true is accepted. Defaults to true.", - "type": "boolean" - }, - "subPath": { - "description": "(Optional) Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Run Admin API", - "version": "v1alpha1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/run-v1beta1.json b/discovery/run-v1beta1.json deleted file mode 100644 index 4ffe387b166..00000000000 --- a/discovery/run-v1beta1.json +++ /dev/null @@ -1,898 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "basePath": "", - "baseUrl": "https://run.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Run", - "description": "Deploy and manage user provided container images that scale automatically based on HTTP traffic.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/run/", - "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": "run:v1beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://run.mtls.googleapis.com/", - "name": "run", - "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": { - "customresourcedefinitions": { - "methods": { - "list": { - "description": "Rpc to list custom resource definitions.", - "flatPath": "apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", - "httpMethod": "GET", - "id": "run.customresourcedefinitions.list", - "parameterOrder": [], - "parameters": { - "continue": { - "description": "Optional encoded string to continue paging.", - "location": "query", - "type": "string" - }, - "fieldSelector": { - "description": "Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.", - "location": "query", - "type": "string" - }, - "includeUninitialized": { - "description": "Not currently used by Cloud Run.", - "location": "query", - "type": "boolean" - }, - "labelSelector": { - "description": "Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.", - "location": "query", - "type": "string" - }, - "limit": { - "format": "int32", - "location": "query", - "type": "integer" - }, - "parent": { - "description": "The project ID or project number from which the storages should be listed.", - "location": "query", - "type": "string" - }, - "resourceVersion": { - "description": "The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.", - "location": "query", - "type": "string" - }, - "watch": { - "description": "Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.", - "location": "query", - "type": "boolean" - } - }, - "path": "apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", - "response": { - "$ref": "ListCustomResourceDefinitionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "namespaces": { - "resources": { - "customresourcedefinitions": { - "methods": { - "get": { - "description": "Rpc to get information about a CustomResourceDefinition.", - "flatPath": "apis/apiextensions.k8s.io/v1beta1/namespaces/{namespacesId}/customresourcedefinitions/{customresourcedefinitionsId}", - "httpMethod": "GET", - "id": "run.namespaces.customresourcedefinitions.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the CustomResourceDefinition being retrieved. If needed, replace {namespace_id} with the project ID.", - "location": "path", - "pattern": "^namespaces/[^/]+/customresourcedefinitions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "apis/apiextensions.k8s.io/v1beta1/{+name}", - "response": { - "$ref": "CustomResourceDefinition" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "projects": { - "resources": { - "locations": { - "resources": { - "customresourcedefinitions": { - "methods": { - "get": { - "description": "Rpc to get information about a CustomResourceDefinition.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/customresourcedefinitions/{customresourcedefinitionsId}", - "httpMethod": "GET", - "id": "run.projects.locations.customresourcedefinitions.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the CustomResourceDefinition being retrieved. If needed, replace {namespace_id} with the project ID.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/customresourcedefinitions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "CustomResourceDefinition" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Rpc to list custom resource definitions.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/customresourcedefinitions", - "httpMethod": "GET", - "id": "run.projects.locations.customresourcedefinitions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "continue": { - "description": "Optional encoded string to continue paging.", - "location": "query", - "type": "string" - }, - "fieldSelector": { - "description": "Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.", - "location": "query", - "type": "string" - }, - "includeUninitialized": { - "description": "Not currently used by Cloud Run.", - "location": "query", - "type": "boolean" - }, - "labelSelector": { - "description": "Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.", - "location": "query", - "type": "string" - }, - "limit": { - "format": "int32", - "location": "query", - "type": "integer" - }, - "parent": { - "description": "The project ID or project number from which the storages should be listed.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "resourceVersion": { - "description": "The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.", - "location": "query", - "type": "string" - }, - "watch": { - "description": "Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.", - "location": "query", - "type": "boolean" - } - }, - "path": "v1beta1/{+parent}/customresourcedefinitions", - "response": { - "$ref": "ListCustomResourceDefinitionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20200814", - "rootUrl": "https://run.googleapis.com/", - "schemas": { - "CustomResourceColumnDefinition": { - "description": "CustomResourceColumnDefinition specifies a column for server side printing.", - "id": "CustomResourceColumnDefinition", - "properties": { - "description": { - "description": "description is a human readable description of this column. +optional", - "type": "string" - }, - "format": { - "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. +optional", - "type": "string" - }, - "jsonPath": { - "description": "JSONPath is a simple JSON path, i.e. with array notation.", - "type": "string" - }, - "name": { - "description": "name is a human readable name for the column.", - "type": "string" - }, - "priority": { - "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority. +optional", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", - "type": "string" - } - }, - "type": "object" - }, - "CustomResourceDefinition": { - "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", - "id": "CustomResourceDefinition", - "properties": { - "apiVersion": { - "description": "The API version for this call such as \"k8s.apiextensions.io/v1beta1\".", - "type": "string" - }, - "kind": { - "description": "The kind of resource, in this case always \"CustomResourceDefinition\".", - "type": "string" - }, - "metadata": { - "$ref": "ObjectMeta", - "description": "Metadata associated with this CustomResourceDefinition." - }, - "spec": { - "$ref": "CustomResourceDefinitionSpec", - "description": "Spec describes how the user wants the resources to appear" - } - }, - "type": "object" - }, - "CustomResourceDefinitionNames": { - "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", - "id": "CustomResourceDefinitionNames", - "properties": { - "categories": { - "description": "Categories is a list of grouped resources custom resources belong to (e.g. 'all') +optional", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "Kind is the serialized kind of the resource. It is normally CamelCase and singular.", - "type": "string" - }, - "listKind": { - "description": "ListKind is the serialized kind of the list for this resource. Defaults to List. +optional", - "type": "string" - }, - "plural": { - "description": "Plural is the plural name of the resource to serve. It must match the name of the CustomResourceDefinition-registration too: plural.group and it must be all lowercase.", - "type": "string" - }, - "shortNames": { - "description": "ShortNames are short names for the resource. It must be all lowercase. +optional", - "items": { - "type": "string" - }, - "type": "array" - }, - "singular": { - "description": "Singular is the singular name of the resource. It must be all lowercase Defaults to lowercased +optional", - "type": "string" - } - }, - "type": "object" - }, - "CustomResourceDefinitionSpec": { - "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", - "id": "CustomResourceDefinitionSpec", - "properties": { - "additionalPrinterColumns": { - "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. +optional", - "items": { - "$ref": "CustomResourceColumnDefinition" - }, - "type": "array" - }, - "group": { - "description": "Group is the group this resource belongs in", - "type": "string" - }, - "names": { - "$ref": "CustomResourceDefinitionNames", - "description": "Names are the names used to describe this custom resource" - }, - "scope": { - "description": "Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced", - "type": "string" - }, - "subresources": { - "$ref": "CustomResourceSubresources", - "description": "Subresources describes the subresources for CustomResources +optional" - }, - "validation": { - "$ref": "CustomResourceValidation", - "description": "Validation describes the validation methods for CustomResources +optional" - }, - "version": { - "description": "Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`. +optional", - "type": "string" - }, - "versions": { - "description": "Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional", - "items": { - "$ref": "CustomResourceDefinitionVersion" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomResourceDefinitionVersion": { - "id": "CustomResourceDefinitionVersion", - "properties": { - "name": { - "description": "Name is the version name, e.g. “v1”, “v2beta1”, etc.", - "type": "string" - }, - "served": { - "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" - }, - "storage": { - "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" - } - }, - "type": "object" - }, - "CustomResourceSubresourceScale": { - "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", - "id": "CustomResourceSubresourceScale", - "properties": { - "labelSelectorPath": { - "description": "LabelSelectorPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Selector. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. Must be set to work with HPA. If there is no value under the given path in the CustomResource, the status label selector value in the /scale subresource will default to the empty string. +optional", - "type": "string" - }, - "specReplicasPath": { - "description": "SpecReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Spec.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .spec. If there is no value under the given path in the CustomResource, the /scale subresource will return an error on GET.", - "type": "string" - }, - "statusReplicasPath": { - "description": "StatusReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. If there is no value under the given path in the CustomResource, the status replica value in the /scale subresource will default to 0.", - "type": "string" - } - }, - "type": "object" - }, - "CustomResourceSubresourceStatus": { - "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", - "id": "CustomResourceSubresourceStatus", - "properties": {}, - "type": "object" - }, - "CustomResourceSubresources": { - "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", - "id": "CustomResourceSubresources", - "properties": { - "scale": { - "$ref": "CustomResourceSubresourceScale", - "description": "Scale denotes the scale subresource for CustomResources +optional" - }, - "status": { - "$ref": "CustomResourceSubresourceStatus", - "description": "Status denotes the status subresource for CustomResources +optional" - } - }, - "type": "object" - }, - "CustomResourceValidation": { - "description": "CustomResourceValidation is a list of validation methods for CustomResources.", - "id": "CustomResourceValidation", - "properties": { - "openAPIV3Schema": { - "$ref": "JSONSchemaProps", - "description": "OpenAPIV3Schema is the OpenAPI v3 schema to be validated against. +optional" - } - }, - "type": "object" - }, - "ExternalDocumentation": { - "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", - "id": "ExternalDocumentation", - "properties": { - "description": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "type": "object" - }, - "JSON": { - "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", - "id": "JSON", - "properties": { - "raw": { - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "JSONSchemaProps": { - "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", - "id": "JSONSchemaProps", - "properties": { - "additionalItems": { - "$ref": "JSONSchemaPropsOrBool" - }, - "additionalProperties": { - "$ref": "JSONSchemaPropsOrBool" - }, - "allOf": { - "items": { - "$ref": "JSONSchemaProps" - }, - "type": "array" - }, - "anyOf": { - "items": { - "$ref": "JSONSchemaProps" - }, - "type": "array" - }, - "default": { - "$ref": "JSON" - }, - "definitions": { - "additionalProperties": { - "$ref": "JSONSchemaProps" - }, - "type": "object" - }, - "dependencies": { - "additionalProperties": { - "$ref": "JSONSchemaPropsOrStringArray" - }, - "type": "object" - }, - "description": { - "type": "string" - }, - "enum": { - "items": { - "type": "string" - }, - "type": "array" - }, - "example": { - "$ref": "JSON" - }, - "exclusiveMaximum": { - "type": "boolean" - }, - "exclusiveMinimum": { - "type": "boolean" - }, - "externalDocs": { - "$ref": "ExternalDocumentation" - }, - "format": { - "type": "string" - }, - "id": { - "type": "string" - }, - "items": { - "$ref": "JSONSchemaPropsOrArray" - }, - "maxItems": { - "format": "int64", - "type": "string" - }, - "maxLength": { - "format": "int64", - "type": "string" - }, - "maxProperties": { - "format": "int64", - "type": "string" - }, - "maximum": { - "format": "double", - "type": "number" - }, - "minItems": { - "format": "int64", - "type": "string" - }, - "minLength": { - "format": "int64", - "type": "string" - }, - "minProperties": { - "format": "int64", - "type": "string" - }, - "minimum": { - "format": "double", - "type": "number" - }, - "multipleOf": { - "format": "double", - "type": "number" - }, - "not": { - "$ref": "JSONSchemaProps" - }, - "oneOf": { - "items": { - "$ref": "JSONSchemaProps" - }, - "type": "array" - }, - "pattern": { - "type": "string" - }, - "patternProperties": { - "additionalProperties": { - "$ref": "JSONSchemaProps" - }, - "type": "object" - }, - "properties": { - "additionalProperties": { - "$ref": "JSONSchemaProps" - }, - "type": "object" - }, - "ref": { - "type": "string" - }, - "required": { - "items": { - "type": "string" - }, - "type": "array" - }, - "schema": { - "type": "string" - }, - "title": { - "type": "string" - }, - "type": { - "type": "string" - }, - "uniqueItems": { - "type": "boolean" - } - }, - "type": "object" - }, - "JSONSchemaPropsOrArray": { - "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.", - "id": "JSONSchemaPropsOrArray", - "properties": { - "jsonSchemas": { - "items": { - "$ref": "JSONSchemaProps" - }, - "type": "array" - }, - "schema": { - "$ref": "JSONSchemaProps" - } - }, - "type": "object" - }, - "JSONSchemaPropsOrBool": { - "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", - "id": "JSONSchemaPropsOrBool", - "properties": { - "allows": { - "type": "boolean" - }, - "schema": { - "$ref": "JSONSchemaProps" - } - }, - "type": "object" - }, - "JSONSchemaPropsOrStringArray": { - "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", - "id": "JSONSchemaPropsOrStringArray", - "properties": { - "property": { - "items": { - "type": "string" - }, - "type": "array" - }, - "schema": { - "$ref": "JSONSchemaProps" - } - }, - "type": "object" - }, - "ListCustomResourceDefinitionsResponse": { - "id": "ListCustomResourceDefinitionsResponse", - "properties": { - "apiVersion": { - "description": "The API version for this call such as \"k8s.apiextensions.io/v1beta1\".", - "type": "string" - }, - "items": { - "description": "List of CustomResourceDefinitions.", - "items": { - "$ref": "CustomResourceDefinition" - }, - "type": "array" - }, - "kind": { - "description": "The kind of this resource, in this case \"CustomResourceDefinitionList\".", - "type": "string" - }, - "metadata": { - "$ref": "ListMeta", - "description": "Metadata associated with this CustomResourceDefinition list." - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListMeta": { - "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", - "id": "ListMeta", - "properties": { - "continue": { - "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response.", - "type": "string" - }, - "resourceVersion": { - "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency +optional", - "type": "string" - }, - "selfLink": { - "description": "SelfLink is a URL representing this object. Populated by the system. Read-only. +optional", - "type": "string" - } - }, - "type": "object" - }, - "ObjectMeta": { - "description": "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", - "id": "ObjectMeta", - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "description": "(Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object" - }, - "clusterName": { - "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.", - "type": "string" - }, - "creationTimestamp": { - "description": "(Optional) CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "format": "google-datetime", - "type": "string" - }, - "deletionGracePeriodSeconds": { - "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "format": "int32", - "type": "integer" - }, - "deletionTimestamp": { - "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "format": "google-datetime", - "type": "string" - }, - "finalizers": { - "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +patchStrategy=merge", - "items": { - "type": "string" - }, - "type": "array" - }, - "generateName": { - "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency string generateName = 2;", - "type": "string" - }, - "generation": { - "description": "(Optional) A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "format": "int32", - "type": "integer" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "(Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object" - }, - "name": { - "description": "Name must be unique within a namespace, within a Cloud Run region. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names +optional", - "type": "string" - }, - "namespace": { - "description": "Namespace defines the space within each name must be unique, within a Cloud Run region. In Cloud Run the namespace must be equal to either the project ID or project number.", - "type": "string" - }, - "ownerReferences": { - "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported List of objects that own this object. If ALL objects in the list have been deleted, this object will be garbage collected.", - "items": { - "$ref": "OwnerReference" - }, - "type": "array" - }, - "resourceVersion": { - "description": "(Optional) An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "selfLink": { - "description": "(Optional) SelfLink is a URL representing this object. Populated by the system. Read-only. string selfLink = 4;", - "type": "string" - }, - "uid": { - "description": "(Optional) UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" - } - }, - "type": "object" - }, - "OwnerReference": { - "description": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.", - "id": "OwnerReference", - "properties": { - "apiVersion": { - "description": "API version of the referent.", - "type": "string" - }, - "blockOwnerDeletion": { - "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional", - "type": "boolean" - }, - "controller": { - "description": "If true, this reference points to the managing controller. +optional", - "type": "boolean" - }, - "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", - "type": "string" - }, - "uid": { - "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Run Admin API", - "version": "v1beta1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/run-v2.json b/discovery/run-v2.json index 5e6b80f8e07..3c0a57d940a 100644 --- a/discovery/run-v2.json +++ b/discovery/run-v2.json @@ -1631,6 +1631,37 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getIamPolicy": { + "description": "Gets the IAM Access Control policy currently in effect for the given Cloud Run WorkerPool. This result does not include any inherited policies.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}:getIamPolicy", + "httpMethod": "GET", + "id": "run.projects.locations.workerPools.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/workerPools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+resource}:getIamPolicy", + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists WorkerPools. Results are sorted by creation time, descending.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/workerPools", @@ -1721,6 +1752,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "setIamPolicy": { + "description": "Sets the IAM Access control policy for the specified WorkerPool. Overwrites any existing policy.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}:setIamPolicy", + "httpMethod": "POST", + "id": "run.projects.locations.workerPools.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/workerPools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+resource}:setIamPolicy", + "request": { + "$ref": "GoogleIamV1SetIamPolicyRequest" + }, + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "testIamPermissions": { "description": "Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}:testIamPermissions", @@ -1863,7 +1922,7 @@ } } }, - "revision": "20250425", + "revision": "20250504", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { diff --git a/discovery/safebrowsing-v4.json b/discovery/safebrowsing-v4.json index 43ed0ff6821..dd4fea84e94 100644 --- a/discovery/safebrowsing-v4.json +++ b/discovery/safebrowsing-v4.json @@ -261,7 +261,7 @@ } } }, - "revision": "20230216", + "revision": "20230212", "rootUrl": "https://safebrowsing.googleapis.com/", "schemas": { "GoogleProtobufEmpty": { diff --git a/discovery/securitycenter-v1.json b/discovery/securitycenter-v1.json index d47c2f3fc9e..eb28227a7de 100644 --- a/discovery/securitycenter-v1.json +++ b/discovery/securitycenter-v1.json @@ -5938,7 +5938,7 @@ } } }, - "revision": "20250411", + "revision": "20250505", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -6967,7 +6967,7 @@ }, "end": { "$ref": "Position", - "description": "The end position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed.." + "description": "The end position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed." }, "fieldPath": { "description": "The path, in RFC 8901 JSON Pointer format, to the field that failed validation. This may be left empty if no specific field is affected.", @@ -6985,6 +6985,7 @@ "id": "CustomModuleValidationErrors", "properties": { "errors": { + "description": "The list of errors.", "items": { "$ref": "CustomModuleValidationError" }, @@ -14717,10 +14718,12 @@ "id": "Position", "properties": { "columnNumber": { + "description": "The column number.", "format": "int32", "type": "integer" }, "lineNumber": { + "description": "The line number.", "format": "int32", "type": "integer" } diff --git a/discovery/securitycenter-v1p1alpha1.json b/discovery/securitycenter-v1p1alpha1.json deleted file mode 100644 index eb2ad2cae2b..00000000000 --- a/discovery/securitycenter-v1p1alpha1.json +++ /dev/null @@ -1,807 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "basePath": "", - "baseUrl": "https://securitycenter.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Security Command Center", - "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", - "discoveryVersion": "v1", - "documentationLink": "https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview", - "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": "securitycenter:v1p1alpha1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://securitycenter.mtls.googleapis.com/", - "name": "securitycenter", - "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": { - "organizations": { - "resources": { - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1p1alpha1/organizations/{organizationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "securitycenter.organizations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^organizations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1alpha1/{+name}:cancel", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1p1alpha1/organizations/{organizationsId}/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "securitycenter.organizations.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^organizations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1alpha1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1p1alpha1/organizations/{organizationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "securitycenter.organizations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^organizations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1alpha1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1p1alpha1/organizations/{organizationsId}/operations", - "httpMethod": "GET", - "id": "securitycenter.organizations.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^organizations/[^/]+/operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1p1alpha1/{+name}", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - }, - "revision": "20200806", - "rootUrl": "https://securitycenter.googleapis.com/", - "schemas": { - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Finding": { - "description": "Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.", - "id": "Finding", - "properties": { - "category": { - "description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", - "type": "string" - }, - "createTime": { - "description": "The time at which the finding was created in Security Command Center.", - "format": "google-datetime", - "type": "string" - }, - "eventTime": { - "description": "The time at which the event took place. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector.", - "format": "google-datetime", - "type": "string" - }, - "externalUri": { - "description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", - "type": "string" - }, - "name": { - "description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"", - "type": "string" - }, - "parent": { - "description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", - "type": "string" - }, - "resourceName": { - "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" - }, - "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.", - "readOnly": true - }, - "sourceProperties": { - "additionalProperties": { - "type": "any" - }, - "description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", - "type": "object" - }, - "state": { - "description": "The state of the finding.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "INACTIVE" - ], - "enumDescriptions": [ - "Unspecified state.", - "The finding requires attention and has not been addressed yet.", - "The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1NotificationMessage": { - "description": "Cloud SCC's Notification", - "id": "GoogleCloudSecuritycenterV1NotificationMessage", - "properties": { - "finding": { - "$ref": "Finding", - "description": "If it's a Finding based notification config, this field will be populated." - }, - "notificationConfigName": { - "description": "Name of the notification config that generated current notification.", - "type": "string" - }, - "resource": { - "$ref": "GoogleCloudSecuritycenterV1Resource", - "description": "The Cloud resource tied to this notification's Finding." - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1Resource": { - "description": " Information related to the Google Cloud resource.", - "id": "GoogleCloudSecuritycenterV1Resource", - "properties": { - "name": { - "description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", - "type": "string" - }, - "parent": { - "description": "The full resource name of resource's parent.", - "type": "string" - }, - "parentDisplayName": { - "description": " The human readable name of resource's parent.", - "type": "string" - }, - "project": { - "description": "The full resource name of project that the resource belongs to.", - "type": "string" - }, - "projectDisplayName": { - "description": " The human readable name of project that the resource belongs to.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": { - "description": "Response of asset discovery run", - "id": "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse", - "properties": { - "duration": { - "description": "The duration between asset discovery run start and end", - "format": "google-duration", - "type": "string" - }, - "state": { - "description": "The state of an asset discovery run.", - "enum": [ - "STATE_UNSPECIFIED", - "COMPLETED", - "SUPERSEDED", - "TERMINATED" - ], - "enumDescriptions": [ - "Asset discovery run state was unspecified.", - "Asset discovery run completed successfully.", - "Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", - "Asset discovery run was killed and terminated." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse": { - "description": "Response of asset discovery run", - "id": "GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse", - "properties": { - "duration": { - "description": "The duration between asset discovery run start and end", - "format": "google-duration", - "type": "string" - }, - "state": { - "description": "The state of an asset discovery run.", - "enum": [ - "STATE_UNSPECIFIED", - "COMPLETED", - "SUPERSEDED", - "TERMINATED" - ], - "enumDescriptions": [ - "Asset discovery run state was unspecified.", - "Asset discovery run completed successfully.", - "Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", - "Asset discovery run was killed and terminated." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1Asset": { - "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": "GoogleCloudSecuritycenterV1p1beta1Asset", - "properties": { - "createTime": { - "description": "The time at which the asset was created in Security Command Center.", - "format": "google-datetime", - "type": "string" - }, - "iamPolicy": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1IamPolicy", - "description": "Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user." - }, - "name": { - "description": "The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/assets/{asset_id}\".", - "type": "string" - }, - "resourceProperties": { - "additionalProperties": { - "type": "any" - }, - "description": "Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.", - "type": "object" - }, - "securityCenterProperties": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties", - "description": "Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user." - }, - "securityMarks": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", - "description": "User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset." - }, - "updateTime": { - "description": "The time at which the asset was last updated, added, or deleted in Cloud SCC.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1Finding": { - "description": "Security Command Center finding. A finding is a record of assessment data (security, risk, health or privacy) ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.", - "id": "GoogleCloudSecuritycenterV1p1beta1Finding", - "properties": { - "category": { - "description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", - "type": "string" - }, - "createTime": { - "description": "The time at which the finding was created in Security Command Center.", - "format": "google-datetime", - "type": "string" - }, - "eventTime": { - "description": "The time at which the event took place. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector.", - "format": "google-datetime", - "type": "string" - }, - "externalUri": { - "description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", - "type": "string" - }, - "name": { - "description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"", - "type": "string" - }, - "parent": { - "description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", - "type": "string" - }, - "resourceName": { - "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" - }, - "securityMarks": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", - "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.", - "readOnly": true - }, - "severity": { - "description": "The severity of the finding.", - "enum": [ - "SEVERITY_UNSPECIFIED", - "CRITICAL", - "HIGH", - "MEDIUM", - "LOW" - ], - "enumDescriptions": [ - "No severity specified. The default value.", - "Critical severity.", - "High severity.", - "Medium severity.", - "Low severity." - ], - "type": "string" - }, - "sourceProperties": { - "additionalProperties": { - "type": "any" - }, - "description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", - "type": "object" - }, - "state": { - "description": "The state of the finding.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "INACTIVE" - ], - "enumDescriptions": [ - "Unspecified state.", - "The finding requires attention and has not been addressed yet.", - "The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1IamPolicy": { - "description": "Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.", - "id": "GoogleCloudSecuritycenterV1p1beta1IamPolicy", - "properties": { - "policyBlob": { - "description": "The JSON representation of the Policy associated with the asset. See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1NotificationMessage": { - "description": "Security Command Center's Notification", - "id": "GoogleCloudSecuritycenterV1p1beta1NotificationMessage", - "properties": { - "finding": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Finding", - "description": "If it's a Finding based notification config, this field will be populated." - }, - "notificationConfigName": { - "description": "Name of the notification config that generated current notification.", - "type": "string" - }, - "resource": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Resource", - "description": "The Cloud resource tied to the notification." - }, - "temporalAsset": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1TemporalAsset", - "description": "If it's an asset based notification config, this field will be populated." - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1Resource": { - "description": " Information related to the Google Cloud resource.", - "id": "GoogleCloudSecuritycenterV1p1beta1Resource", - "properties": { - "name": { - "description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", - "type": "string" - }, - "parent": { - "description": "The full resource name of resource's parent.", - "type": "string" - }, - "parentDisplayName": { - "description": " The human readable name of resource's parent.", - "type": "string" - }, - "project": { - "description": "The full resource name of project that the resource belongs to.", - "type": "string" - }, - "projectDisplayName": { - "description": " The human readable name of project that the resource belongs to.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse": { - "description": "Response of asset discovery run", - "id": "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse", - "properties": { - "duration": { - "description": "The duration between asset discovery run start and end", - "format": "google-duration", - "type": "string" - }, - "state": { - "description": "The state of an asset discovery run.", - "enum": [ - "STATE_UNSPECIFIED", - "COMPLETED", - "SUPERSEDED", - "TERMINATED" - ], - "enumDescriptions": [ - "Asset discovery run state was unspecified.", - "Asset discovery run completed successfully.", - "Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", - "Asset discovery run was killed and terminated." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties": { - "description": "Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.", - "id": "GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties", - "properties": { - "resourceDisplayName": { - "description": "The user defined display name for this resource.", - "type": "string" - }, - "resourceName": { - "description": "The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", - "type": "string" - }, - "resourceOwners": { - "description": "Owners of the Google Cloud resource.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resourceParent": { - "description": "The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", - "type": "string" - }, - "resourceParentDisplayName": { - "description": "The user defined display name for the parent of this resource.", - "type": "string" - }, - "resourceProject": { - "description": "The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", - "type": "string" - }, - "resourceProjectDisplayName": { - "description": "The user defined display name for the project of this resource.", - "type": "string" - }, - "resourceType": { - "description": "The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1SecurityMarks": { - "description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", - "id": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", - "properties": { - "marks": { - "additionalProperties": { - "type": "string" - }, - "description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", - "type": "object" - }, - "name": { - "description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1TemporalAsset": { - "description": "Wrapper over asset object that also captures the state change for the asset e.g. if it was a newly created asset vs updated or deleted asset.", - "id": "GoogleCloudSecuritycenterV1p1beta1TemporalAsset", - "properties": { - "asset": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Asset", - "description": "Asset data that includes attributes, properties and marks about the asset." - }, - "changeType": { - "description": "Represents if the asset was created/updated/deleted.", - "enum": [ - "CHANGE_TYPE_UNSPECIFIED", - "CREATED", - "UPDATED", - "DELETED" - ], - "enumDescriptions": [ - "Unspecified or default.", - "Newly created Asset", - "Asset was updated.", - "Asset was deleted." - ], - "type": "string" - } - }, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "SecurityMarks": { - "description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", - "id": "SecurityMarks", - "properties": { - "marks": { - "additionalProperties": { - "type": "string" - }, - "description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", - "type": "object" - }, - "name": { - "description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Security Command Center API", - "version": "v1p1alpha1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/securitycenter-v1p1beta1.json b/discovery/securitycenter-v1p1beta1.json deleted file mode 100644 index 5060cc8671f..00000000000 --- a/discovery/securitycenter-v1p1beta1.json +++ /dev/null @@ -1,2296 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "basePath": "", - "baseUrl": "https://securitycenter.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Security Command Center", - "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", - "discoveryVersion": "v1", - "documentationLink": "https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview", - "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": "securitycenter:v1p1beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://securitycenter.mtls.googleapis.com/", - "name": "securitycenter", - "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": { - "organizations": { - "methods": { - "getOrganizationSettings": { - "description": "Gets the settings for an organization.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/organizationSettings", - "httpMethod": "GET", - "id": "securitycenter.organizations.getOrganizationSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the organization to get organization settings for. Its format is \"organizations/[organization_id]/organizationSettings\".", - "location": "path", - "pattern": "^organizations/[^/]+/organizationSettings$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "response": { - "$ref": "OrganizationSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "updateOrganizationSettings": { - "description": " Updates an organization's settings.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/organizationSettings", - "httpMethod": "PATCH", - "id": "securitycenter.organizations.updateOrganizationSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/organizationSettings\".", - "location": "path", - "pattern": "^organizations/[^/]+/organizationSettings$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "The FieldMask to use when updating the settings resource. If empty all mutable fields will be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "request": { - "$ref": "OrganizationSettings" - }, - "response": { - "$ref": "OrganizationSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "assets": { - "methods": { - "group": { - "description": "Filters an organization's assets and groups them by their specified properties.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/assets:group", - "httpMethod": "POST", - "id": "securitycenter.organizations.assets.group", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. Name of the organization to groupBy. Its format is \"organizations/[organization_id]\".", - "location": "path", - "pattern": "^organizations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+parent}/assets:group", - "request": { - "$ref": "GroupAssetsRequest" - }, - "response": { - "$ref": "GroupAssetsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists an organization's assets.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/assets", - "httpMethod": "GET", - "id": "securitycenter.organizations.assets.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "compareDuration": { - "description": "When compare_duration is set, the ListAssetsResult's \"state_change\" attribute is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state_change\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present at the start of compare_duration, but present at read_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at read_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all assets present at read_time.", - "format": "google-duration", - "location": "query", - "type": "string" - }, - "fieldMask": { - "description": " A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list all fields.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following are the allowed field and operator combinations: * name: `=` * update_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = \"2019-06-10T16:07:18-07:00\"` `update_time = 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = \"2019-06-10T16:07:18-07:00\"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : \"\"`", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,resource_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,resource_properties.a_property\" and \" name desc , resource_properties.a_property \" are equivalent. The following fields are supported: name update_time resource_properties security_marks.marks security_center_properties.resource_name security_center_properties.resource_display_name security_center_properties.resource_parent security_center_properties.resource_parent_display_name security_center_properties.resource_project security_center_properties.resource_project_display_name security_center_properties.resource_type", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The value returned by the last `ListAssetsResponse`; indicates that this is a continuation of a prior `ListAssets` call, and that the system should return the next page of data.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Name of the organization assets should belong to. Its format is \"organizations/[organization_id]\".", - "location": "path", - "pattern": "^organizations/[^/]+$", - "required": true, - "type": "string" - }, - "readTime": { - "description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", - "format": "google-datetime", - "location": "query", - "type": "string" - } - }, - "path": "v1p1beta1/{+parent}/assets", - "response": { - "$ref": "ListAssetsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "runDiscovery": { - "description": "Runs asset discovery. The discovery is tracked with a long-running operation. // This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/assets:runDiscovery", - "httpMethod": "POST", - "id": "securitycenter.organizations.assets.runDiscovery", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. Name of the organization to run asset discovery for. Its format is \"organizations/[organization_id]\".", - "location": "path", - "pattern": "^organizations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+parent}/assets:runDiscovery", - "request": { - "$ref": "RunAssetDiscoveryRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "updateSecurityMarks": { - "description": " Updates security marks.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/assets/{assetsId}/securityMarks", - "httpMethod": "PATCH", - "id": "securitycenter.organizations.assets.updateSecurityMarks", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", - "location": "path", - "pattern": "^organizations/[^/]+/assets/[^/]+/securityMarks$", - "required": true, - "type": "string" - }, - "startTime": { - "description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time.", - "format": "google-datetime", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "request": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks" - }, - "response": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "notificationConfigs": { - "methods": { - "create": { - "description": "Creates a notification config.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/notificationConfigs", - "httpMethod": "POST", - "id": "securitycenter.organizations.notificationConfigs.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "configId": { - "description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and contains alphanumeric characters, underscores or hyphens only.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Resource name of the new notification config's parent. Its format is \"organizations/[organization_id]\".", - "location": "path", - "pattern": "^organizations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+parent}/notificationConfigs", - "request": { - "$ref": "NotificationConfig" - }, - "response": { - "$ref": "NotificationConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a notification config.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/notificationConfigs/{notificationConfigsId}", - "httpMethod": "DELETE", - "id": "securitycenter.organizations.notificationConfigs.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the notification config to delete. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\".", - "location": "path", - "pattern": "^organizations/[^/]+/notificationConfigs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets a notification config.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/notificationConfigs/{notificationConfigsId}", - "httpMethod": "GET", - "id": "securitycenter.organizations.notificationConfigs.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the notification config to get. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\".", - "location": "path", - "pattern": "^organizations/[^/]+/notificationConfigs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "response": { - "$ref": "NotificationConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists notification configs.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/notificationConfigs", - "httpMethod": "GET", - "id": "securitycenter.organizations.notificationConfigs.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The value returned by the last `ListNotificationConfigsResponse`; indicates that this is a continuation of a prior `ListNotificationConfigs` call, and that the system should return the next page of data.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Name of the organization to list notification configs. Its format is \"organizations/[organization_id]\".", - "location": "path", - "pattern": "^organizations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+parent}/notificationConfigs", - "response": { - "$ref": "ListNotificationConfigsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": " Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter", - "flatPath": "v1p1beta1/organizations/{organizationsId}/notificationConfigs/{notificationConfigsId}", - "httpMethod": "PATCH", - "id": "securitycenter.organizations.notificationConfigs.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/notificationConfigs/notify_public_bucket\".", - "location": "path", - "pattern": "^organizations/[^/]+/notificationConfigs/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "The FieldMask to use when updating the notification config. If empty all mutable fields will be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "request": { - "$ref": "NotificationConfig" - }, - "response": { - "$ref": "NotificationConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "securitycenter.organizations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^organizations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+name}:cancel", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "securitycenter.organizations.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^organizations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "securitycenter.organizations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^organizations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/operations", - "httpMethod": "GET", - "id": "securitycenter.organizations.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^organizations/[^/]+/operations$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "sources": { - "methods": { - "create": { - "description": "Creates a source.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources", - "httpMethod": "POST", - "id": "securitycenter.organizations.sources.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. Resource name of the new source's parent. Its format should be \"organizations/[organization_id]\".", - "location": "path", - "pattern": "^organizations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+parent}/sources", - "request": { - "$ref": "Source" - }, - "response": { - "$ref": "Source" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets a source.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources/{sourcesId}", - "httpMethod": "GET", - "id": "securitycenter.organizations.sources.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Relative resource name of the source. Its format is \"organizations/[organization_id]/source/[source_id]\".", - "location": "path", - "pattern": "^organizations/[^/]+/sources/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "response": { - "$ref": "Source" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "getIamPolicy": { - "description": "Gets the access control policy on the specified Source.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources/{sourcesId}:getIamPolicy", - "httpMethod": "POST", - "id": "securitycenter.organizations.sources.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^organizations/[^/]+/sources/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+resource}:getIamPolicy", - "request": { - "$ref": "GetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all sources belonging to an organization.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources", - "httpMethod": "GET", - "id": "securitycenter.organizations.sources.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The value returned by the last `ListSourcesResponse`; indicates that this is a continuation of a prior `ListSources` call, and that the system should return the next page of data.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id]\".", - "location": "path", - "pattern": "^organizations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+parent}/sources", - "response": { - "$ref": "ListSourcesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": " Updates a source.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources/{sourcesId}", - "httpMethod": "PATCH", - "id": "securitycenter.organizations.sources.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}\"", - "location": "path", - "pattern": "^organizations/[^/]+/sources/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "The FieldMask to use when updating the source resource. If empty all mutable fields will be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "request": { - "$ref": "Source" - }, - "response": { - "$ref": "Source" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified Source.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources/{sourcesId}:setIamPolicy", - "httpMethod": "POST", - "id": "securitycenter.organizations.sources.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^organizations/[^/]+/sources/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns the permissions that a caller has on the specified source.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources/{sourcesId}:testIamPermissions", - "httpMethod": "POST", - "id": "securitycenter.organizations.sources.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", - "location": "path", - "pattern": "^organizations/[^/]+/sources/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "findings": { - "methods": { - "create": { - "description": " Creates a finding. The corresponding source must exist for finding creation to succeed.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings", - "httpMethod": "POST", - "id": "securitycenter.organizations.sources.findings.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "findingId": { - "description": "Required. Unique identifier provided by the client within the parent scope.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Resource name of the new finding's parent. Its format should be \"organizations/[organization_id]/sources/[source_id]\".", - "location": "path", - "pattern": "^organizations/[^/]+/sources/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+parent}/findings", - "request": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Finding" - }, - "response": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Finding" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "group": { - "description": "Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1p1beta1/organizations/{organization_id}/sources/-/findings", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings:group", - "httpMethod": "POST", - "id": "securitycenter.organizations.sources.findings.group", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. Name of the source to groupBy. Its format is \"organizations/[organization_id]/sources/[source_id]\". To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-", - "location": "path", - "pattern": "^organizations/[^/]+/sources/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+parent}/findings:group", - "request": { - "$ref": "GroupFindingsRequest" - }, - "response": { - "$ref": "GroupFindingsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1p1beta1/organizations/{organization_id}/sources/-/findings", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings", - "httpMethod": "GET", - "id": "securitycenter.organizations.sources.findings.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "compareDuration": { - "description": "When compare_duration is set, the ListFindingsResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added in any state during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time.", - "format": "google-duration", - "location": "query", - "type": "string" - }, - "fieldMask": { - "description": " A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all fields.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - }, - "filter": { - "description": "Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: name: `=` parent: `=`, `:` resource_name: `=`, `:` state: `=`, `:` category: `=`, `:` external_uri: `=`, `:` event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = \"2019-06-10T16:07:18-07:00\"` `event_time = 1560208038000` security_marks.marks: `=`, `:` source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : \"\"`", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,source_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,source_properties.a_property\" and \" name desc , source_properties.a_property \" are equivalent. The following fields are supported: name parent state category resource_name event_time source_properties security_marks.marks", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The value returned by the last `ListFindingsResponse`; indicates that this is a continuation of a prior `ListFindings` call, and that the system should return the next page of data.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Name of the source the findings belong to. Its format is \"organizations/[organization_id]/sources/[source_id]\". To list across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-", - "location": "path", - "pattern": "^organizations/[^/]+/sources/[^/]+$", - "required": true, - "type": "string" - }, - "readTime": { - "description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", - "format": "google-datetime", - "location": "query", - "type": "string" - } - }, - "path": "v1p1beta1/{+parent}/findings", - "response": { - "$ref": "ListFindingsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": " Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}", - "httpMethod": "PATCH", - "id": "securitycenter.organizations.sources.findings.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"", - "location": "path", - "pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "The FieldMask to use when updating the finding resource. This field should not be specified when creating a finding. When updating a finding, an empty mask is treated as updating all mutable fields and replacing source_properties. Individual source_properties can be added/updated by using \"source_properties.\" in the field mask.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "request": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Finding" - }, - "response": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Finding" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setState": { - "description": " Updates the state of a finding.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}:setState", - "httpMethod": "POST", - "id": "securitycenter.organizations.sources.findings.setState", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/finding/{finding_id}\".", - "location": "path", - "pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1p1beta1/{+name}:setState", - "request": { - "$ref": "SetFindingStateRequest" - }, - "response": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Finding" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "updateSecurityMarks": { - "description": " Updates security marks.", - "flatPath": "v1p1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}/securityMarks", - "httpMethod": "PATCH", - "id": "securitycenter.organizations.sources.findings.updateSecurityMarks", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", - "location": "path", - "pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+/securityMarks$", - "required": true, - "type": "string" - }, - "startTime": { - "description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time.", - "format": "google-datetime", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1p1beta1/{+name}", - "request": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks" - }, - "response": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20200806", - "rootUrl": "https://securitycenter.googleapis.com/", - "schemas": { - "AssetDiscoveryConfig": { - "description": "The configuration used for Asset Discovery runs.", - "id": "AssetDiscoveryConfig", - "properties": { - "inclusionMode": { - "description": "The mode to use for filtering asset discovery.", - "enum": [ - "INCLUSION_MODE_UNSPECIFIED", - "INCLUDE_ONLY", - "EXCLUDE" - ], - "enumDescriptions": [ - "Unspecified. Setting the mode with this value will disable inclusion/exclusion filtering for Asset Discovery.", - "Asset Discovery will capture only the resources within the projects specified. All other resources will be ignored.", - "Asset Discovery will ignore all resources under the projects specified. All other resources will be retrieved." - ], - "type": "string" - }, - "projectIds": { - "description": "The project ids to use for filtering asset discovery.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", - "id": "AuditConfig", - "properties": { - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.", - "items": { - "$ref": "AuditLogConfig" - }, - "type": "array" - }, - "service": { - "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", - "type": "string" - } - }, - "type": "object" - }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", - "id": "AuditLogConfig", - "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logType": { - "description": "The log type that this config enables.", - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], - "type": "string" - } - }, - "type": "object" - }, - "Binding": { - "description": "Associates `members` with a `role`.", - "id": "Binding", - "properties": { - "condition": { - "$ref": "Expr", - "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." - }, - "members": { - "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", - "items": { - "type": "string" - }, - "type": "array" - }, - "role": { - "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", - "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" - }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", - "type": "string" - }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" - } - }, - "type": "object" - }, - "Finding": { - "description": "Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.", - "id": "Finding", - "properties": { - "category": { - "description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", - "type": "string" - }, - "createTime": { - "description": "The time at which the finding was created in Security Command Center.", - "format": "google-datetime", - "type": "string" - }, - "eventTime": { - "description": "The time at which the event took place. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector.", - "format": "google-datetime", - "type": "string" - }, - "externalUri": { - "description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", - "type": "string" - }, - "name": { - "description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"", - "type": "string" - }, - "parent": { - "description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", - "type": "string" - }, - "resourceName": { - "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" - }, - "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.", - "readOnly": true - }, - "sourceProperties": { - "additionalProperties": { - "type": "any" - }, - "description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", - "type": "object" - }, - "state": { - "description": "The state of the finding.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "INACTIVE" - ], - "enumDescriptions": [ - "Unspecified state.", - "The finding requires attention and has not been addressed yet.", - "The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." - ], - "type": "string" - } - }, - "type": "object" - }, - "GetIamPolicyRequest": { - "description": "Request message for `GetIamPolicy` method.", - "id": "GetIamPolicyRequest", - "properties": { - "options": { - "$ref": "GetPolicyOptions", - "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." - } - }, - "type": "object" - }, - "GetPolicyOptions": { - "description": "Encapsulates settings provided to GetIamPolicy.", - "id": "GetPolicyOptions", - "properties": { - "requestedPolicyVersion": { - "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1NotificationMessage": { - "description": "Cloud SCC's Notification", - "id": "GoogleCloudSecuritycenterV1NotificationMessage", - "properties": { - "finding": { - "$ref": "Finding", - "description": "If it's a Finding based notification config, this field will be populated." - }, - "notificationConfigName": { - "description": "Name of the notification config that generated current notification.", - "type": "string" - }, - "resource": { - "$ref": "GoogleCloudSecuritycenterV1Resource", - "description": "The Cloud resource tied to this notification's Finding." - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1Resource": { - "description": " Information related to the Google Cloud resource.", - "id": "GoogleCloudSecuritycenterV1Resource", - "properties": { - "name": { - "description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", - "type": "string" - }, - "parent": { - "description": "The full resource name of resource's parent.", - "type": "string" - }, - "parentDisplayName": { - "description": " The human readable name of resource's parent.", - "type": "string" - }, - "project": { - "description": "The full resource name of project that the resource belongs to.", - "type": "string" - }, - "projectDisplayName": { - "description": " The human readable name of project that the resource belongs to.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": { - "description": "Response of asset discovery run", - "id": "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse", - "properties": { - "duration": { - "description": "The duration between asset discovery run start and end", - "format": "google-duration", - "type": "string" - }, - "state": { - "description": "The state of an asset discovery run.", - "enum": [ - "STATE_UNSPECIFIED", - "COMPLETED", - "SUPERSEDED", - "TERMINATED" - ], - "enumDescriptions": [ - "Asset discovery run state was unspecified.", - "Asset discovery run completed successfully.", - "Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", - "Asset discovery run was killed and terminated." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse": { - "description": "Response of asset discovery run", - "id": "GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse", - "properties": { - "duration": { - "description": "The duration between asset discovery run start and end", - "format": "google-duration", - "type": "string" - }, - "state": { - "description": "The state of an asset discovery run.", - "enum": [ - "STATE_UNSPECIFIED", - "COMPLETED", - "SUPERSEDED", - "TERMINATED" - ], - "enumDescriptions": [ - "Asset discovery run state was unspecified.", - "Asset discovery run completed successfully.", - "Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", - "Asset discovery run was killed and terminated." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1Asset": { - "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": "GoogleCloudSecuritycenterV1p1beta1Asset", - "properties": { - "createTime": { - "description": "The time at which the asset was created in Security Command Center.", - "format": "google-datetime", - "type": "string" - }, - "iamPolicy": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1IamPolicy", - "description": "Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user." - }, - "name": { - "description": "The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/assets/{asset_id}\".", - "type": "string" - }, - "resourceProperties": { - "additionalProperties": { - "type": "any" - }, - "description": "Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.", - "type": "object" - }, - "securityCenterProperties": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties", - "description": "Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user." - }, - "securityMarks": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", - "description": "User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset." - }, - "updateTime": { - "description": "The time at which the asset was last updated, added, or deleted in Cloud SCC.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1Finding": { - "description": "Security Command Center finding. A finding is a record of assessment data (security, risk, health or privacy) ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.", - "id": "GoogleCloudSecuritycenterV1p1beta1Finding", - "properties": { - "category": { - "description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", - "type": "string" - }, - "createTime": { - "description": "The time at which the finding was created in Security Command Center.", - "format": "google-datetime", - "type": "string" - }, - "eventTime": { - "description": "The time at which the event took place. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector.", - "format": "google-datetime", - "type": "string" - }, - "externalUri": { - "description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", - "type": "string" - }, - "name": { - "description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"", - "type": "string" - }, - "parent": { - "description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", - "type": "string" - }, - "resourceName": { - "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" - }, - "securityMarks": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", - "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.", - "readOnly": true - }, - "severity": { - "description": "The severity of the finding.", - "enum": [ - "SEVERITY_UNSPECIFIED", - "CRITICAL", - "HIGH", - "MEDIUM", - "LOW" - ], - "enumDescriptions": [ - "No severity specified. The default value.", - "Critical severity.", - "High severity.", - "Medium severity.", - "Low severity." - ], - "type": "string" - }, - "sourceProperties": { - "additionalProperties": { - "type": "any" - }, - "description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", - "type": "object" - }, - "state": { - "description": "The state of the finding.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "INACTIVE" - ], - "enumDescriptions": [ - "Unspecified state.", - "The finding requires attention and has not been addressed yet.", - "The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1IamPolicy": { - "description": "Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.", - "id": "GoogleCloudSecuritycenterV1p1beta1IamPolicy", - "properties": { - "policyBlob": { - "description": "The JSON representation of the Policy associated with the asset. See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1NotificationMessage": { - "description": "Security Command Center's Notification", - "id": "GoogleCloudSecuritycenterV1p1beta1NotificationMessage", - "properties": { - "finding": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Finding", - "description": "If it's a Finding based notification config, this field will be populated." - }, - "notificationConfigName": { - "description": "Name of the notification config that generated current notification.", - "type": "string" - }, - "resource": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Resource", - "description": "The Cloud resource tied to the notification." - }, - "temporalAsset": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1TemporalAsset", - "description": "If it's an asset based notification config, this field will be populated." - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1Resource": { - "description": " Information related to the Google Cloud resource.", - "id": "GoogleCloudSecuritycenterV1p1beta1Resource", - "properties": { - "name": { - "description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", - "type": "string" - }, - "parent": { - "description": "The full resource name of resource's parent.", - "type": "string" - }, - "parentDisplayName": { - "description": " The human readable name of resource's parent.", - "type": "string" - }, - "project": { - "description": "The full resource name of project that the resource belongs to.", - "type": "string" - }, - "projectDisplayName": { - "description": " The human readable name of project that the resource belongs to.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse": { - "description": "Response of asset discovery run", - "id": "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse", - "properties": { - "duration": { - "description": "The duration between asset discovery run start and end", - "format": "google-duration", - "type": "string" - }, - "state": { - "description": "The state of an asset discovery run.", - "enum": [ - "STATE_UNSPECIFIED", - "COMPLETED", - "SUPERSEDED", - "TERMINATED" - ], - "enumDescriptions": [ - "Asset discovery run state was unspecified.", - "Asset discovery run completed successfully.", - "Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", - "Asset discovery run was killed and terminated." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties": { - "description": "Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.", - "id": "GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties", - "properties": { - "resourceDisplayName": { - "description": "The user defined display name for this resource.", - "type": "string" - }, - "resourceName": { - "description": "The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", - "type": "string" - }, - "resourceOwners": { - "description": "Owners of the Google Cloud resource.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resourceParent": { - "description": "The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", - "type": "string" - }, - "resourceParentDisplayName": { - "description": "The user defined display name for the parent of this resource.", - "type": "string" - }, - "resourceProject": { - "description": "The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", - "type": "string" - }, - "resourceProjectDisplayName": { - "description": "The user defined display name for the project of this resource.", - "type": "string" - }, - "resourceType": { - "description": "The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1SecurityMarks": { - "description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", - "id": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", - "properties": { - "marks": { - "additionalProperties": { - "type": "string" - }, - "description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", - "type": "object" - }, - "name": { - "description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudSecuritycenterV1p1beta1TemporalAsset": { - "description": "Wrapper over asset object that also captures the state change for the asset e.g. if it was a newly created asset vs updated or deleted asset.", - "id": "GoogleCloudSecuritycenterV1p1beta1TemporalAsset", - "properties": { - "asset": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Asset", - "description": "Asset data that includes attributes, properties and marks about the asset." - }, - "changeType": { - "description": "Represents if the asset was created/updated/deleted.", - "enum": [ - "CHANGE_TYPE_UNSPECIFIED", - "CREATED", - "UPDATED", - "DELETED" - ], - "enumDescriptions": [ - "Unspecified or default.", - "Newly created Asset", - "Asset was updated.", - "Asset was deleted." - ], - "type": "string" - } - }, - "type": "object" - }, - "GroupAssetsRequest": { - "description": "Request message for grouping by assets.", - "id": "GroupAssetsRequest", - "properties": { - "compareDuration": { - "description": "When compare_duration is set, the GroupResult's \"state_change\" property is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state_change\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present at the start of compare_duration, but present at reference_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at reference_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and reference_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all assets present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.", - "format": "google-duration", - "type": "string" - }, - "filter": { - "description": "Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: * name: `=` * update_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = \"2019-06-10T16:07:18-07:00\"` `update_time = 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = \"2019-06-10T16:07:18-07:00\"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_name_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : \"\"`", - "type": "string" - }, - "groupBy": { - "description": "Required. Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: \"security_center_properties.resource_project,security_center_properties.project\". The following fields are supported when compare_duration is not set: * security_center_properties.resource_project * security_center_properties.resource_project_display_name * security_center_properties.resource_type * security_center_properties.resource_parent * security_center_properties.resource_parent_display_name The following fields are supported when compare_duration is set: * security_center_properties.resource_type * security_center_properties.resource_project_display_name * security_center_properties.resource_parent_display_name", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", - "format": "int32", - "type": "integer" - }, - "pageToken": { - "description": "The value returned by the last `GroupAssetsResponse`; indicates that this is a continuation of a prior `GroupAssets` call, and that the system should return the next page of data.", - "type": "string" - }, - "readTime": { - "description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GroupAssetsResponse": { - "description": "Response message for grouping by assets.", - "id": "GroupAssetsResponse", - "properties": { - "groupByResults": { - "description": "Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.", - "items": { - "$ref": "GroupResult" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results.", - "type": "string" - }, - "readTime": { - "description": "Time used for executing the groupBy request.", - "format": "google-datetime", - "type": "string" - }, - "totalSize": { - "description": "The total number of results matching the query.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GroupFindingsRequest": { - "description": "Request message for grouping by findings.", - "id": "GroupFindingsRequest", - "properties": { - "compareDuration": { - "description": "When compare_duration is set, the GroupResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.", - "format": "google-duration", - "type": "string" - }, - "filter": { - "description": "Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = \"2019-06-10T16:07:18-07:00\"` `event_time = 1560208038000` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : \"\"`", - "type": "string" - }, - "groupBy": { - "description": "Required. Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: \"parent,resource_name\". The following fields are supported: * resource_name * category * state * parent The following fields are supported when compare_duration is set: * state_change", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", - "format": "int32", - "type": "integer" - }, - "pageToken": { - "description": "The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.", - "type": "string" - }, - "readTime": { - "description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "GroupFindingsResponse": { - "description": "Response message for group by findings.", - "id": "GroupFindingsResponse", - "properties": { - "groupByResults": { - "description": "Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.", - "items": { - "$ref": "GroupResult" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results.", - "type": "string" - }, - "readTime": { - "description": "Time used for executing the groupBy request.", - "format": "google-datetime", - "type": "string" - }, - "totalSize": { - "description": "The total number of results matching the query.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GroupResult": { - "description": "Result containing the properties and count of a groupBy request.", - "id": "GroupResult", - "properties": { - "count": { - "description": "Total count of resources for the given properties.", - "format": "int64", - "type": "string" - }, - "properties": { - "additionalProperties": { - "type": "any" - }, - "description": "Properties matching the groupBy fields in the request.", - "type": "object" - } - }, - "type": "object" - }, - "ListAssetsResponse": { - "description": "Response message for listing assets.", - "id": "ListAssetsResponse", - "properties": { - "listAssetsResults": { - "description": "Assets matching the list request.", - "items": { - "$ref": "ListAssetsResult" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results.", - "type": "string" - }, - "readTime": { - "description": "Time used for executing the list request.", - "format": "google-datetime", - "type": "string" - }, - "totalSize": { - "description": "The total number of assets matching the query.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ListAssetsResult": { - "description": "Result containing the Asset and its State.", - "id": "ListAssetsResult", - "properties": { - "asset": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Asset", - "description": "Asset matching the search request." - }, - "stateChange": { - "description": "State change of the asset between the points in time.", - "enum": [ - "UNUSED", - "ADDED", - "REMOVED", - "ACTIVE" - ], - "enumDescriptions": [ - "State change is unused, this is the canonical default for this enum.", - "Asset was added between the points in time.", - "Asset was removed between the points in time.", - "Asset was present at both point(s) in time." - ], - "type": "string" - } - }, - "type": "object" - }, - "ListFindingsResponse": { - "description": "Response message for listing findings.", - "id": "ListFindingsResponse", - "properties": { - "listFindingsResults": { - "description": "Findings matching the list request.", - "items": { - "$ref": "ListFindingsResult" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results.", - "type": "string" - }, - "readTime": { - "description": "Time used for executing the list request.", - "format": "google-datetime", - "type": "string" - }, - "totalSize": { - "description": "The total number of findings matching the query.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ListFindingsResult": { - "description": "Result containing the Finding and its StateChange.", - "id": "ListFindingsResult", - "properties": { - "finding": { - "$ref": "GoogleCloudSecuritycenterV1p1beta1Finding", - "description": "Finding matching the search request." - }, - "resource": { - "$ref": "Resource", - "description": "Output only. Resource that is associated with this finding.", - "readOnly": true - }, - "stateChange": { - "description": "State change of the finding between the points in time.", - "enum": [ - "UNUSED", - "CHANGED", - "UNCHANGED", - "ADDED", - "REMOVED" - ], - "enumDescriptions": [ - "State change is unused, this is the canonical default for this enum.", - "The finding has changed state in some way between the points in time and existed at both points.", - "The finding has not changed state between the points in time and existed at both points.", - "The finding was created between the points in time.", - "The finding at timestamp does not match the filter specified, but it did at timestamp - compare_duration." - ], - "type": "string" - } - }, - "type": "object" - }, - "ListNotificationConfigsResponse": { - "description": "Response message for listing notification configs.", - "id": "ListNotificationConfigsResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results.", - "type": "string" - }, - "notificationConfigs": { - "description": "Notification configs belonging to the requested parent.", - "items": { - "$ref": "NotificationConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListSourcesResponse": { - "description": "Response message for listing sources.", - "id": "ListSourcesResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results.", - "type": "string" - }, - "sources": { - "description": "Sources belonging to the requested parent.", - "items": { - "$ref": "Source" - }, - "type": "array" - } - }, - "type": "object" - }, - "NotificationConfig": { - "description": "Security Command Center notification configs. A notification config is a Security Command Center resource that contains the configuration to send notifications for create/update events of findings, assets and etc.", - "id": "NotificationConfig", - "properties": { - "description": { - "description": "The description of the notification config (max of 1024 characters).", - "type": "string" - }, - "eventType": { - "description": "The type of events the config is for, e.g. FINDING.", - "enum": [ - "EVENT_TYPE_UNSPECIFIED", - "FINDING" - ], - "enumDescriptions": [ - "Unspecified event type.", - "Events for findings." - ], - "type": "string" - }, - "name": { - "description": "The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/notificationConfigs/notify_public_bucket\".", - "type": "string" - }, - "pubsubTopic": { - "description": "The Pub/Sub topic to send notifications to. Its format is \"projects/[project_id]/topics/[topic]\".", - "type": "string" - }, - "serviceAccount": { - "description": "Output only. The service account that needs \"pubsub.topics.publish\" permission to publish to the Pub/Sub topic.", - "readOnly": true, - "type": "string" - }, - "streamingConfig": { - "$ref": "StreamingConfig", - "description": "The config for triggering streaming-based notifications." - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "OrganizationSettings": { - "description": "User specified settings that are attached to the Security Command Center organization.", - "id": "OrganizationSettings", - "properties": { - "assetDiscoveryConfig": { - "$ref": "AssetDiscoveryConfig", - "description": "The configuration used for Asset Discovery runs." - }, - "enableAssetDiscovery": { - "description": "A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false, all historical assets will remain, but discovery of future assets will not occur.", - "type": "boolean" - }, - "name": { - "description": "The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/organizationSettings\".", - "type": "string" - } - }, - "type": "object" - }, - "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", - "id": "Policy", - "properties": { - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", - "items": { - "$ref": "AuditConfig" - }, - "type": "array" - }, - "bindings": { - "description": "Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.", - "items": { - "$ref": "Binding" - }, - "type": "array" - }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Resource": { - "description": "Information related to the Google Cloud resource that is associated with this finding. LINT.IfChange", - "id": "Resource", - "properties": { - "name": { - "description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", - "type": "string" - }, - "parentDisplayName": { - "description": "The human readable name of resource's parent.", - "type": "string" - }, - "parentName": { - "description": "The full resource name of resource's parent.", - "type": "string" - }, - "projectDisplayName": { - "description": "The human readable name of project that the resource belongs to.", - "type": "string" - }, - "projectName": { - "description": "The full resource name of project that the resource belongs to.", - "type": "string" - } - }, - "type": "object" - }, - "RunAssetDiscoveryRequest": { - "description": "Request message for running asset discovery for an organization.", - "id": "RunAssetDiscoveryRequest", - "properties": {}, - "type": "object" - }, - "SecurityMarks": { - "description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", - "id": "SecurityMarks", - "properties": { - "marks": { - "additionalProperties": { - "type": "string" - }, - "description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", - "type": "object" - }, - "name": { - "description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", - "type": "string" - } - }, - "type": "object" - }, - "SetFindingStateRequest": { - "description": "Request message for updating a finding's state.", - "id": "SetFindingStateRequest", - "properties": { - "startTime": { - "description": "Required. The time at which the updated state takes effect.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "Required. The desired State of the finding.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "INACTIVE" - ], - "enumDescriptions": [ - "Unspecified state.", - "The finding requires attention and has not been addressed yet.", - "The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." - ], - "type": "string" - } - }, - "type": "object" - }, - "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", - "id": "SetIamPolicyRequest", - "properties": { - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." - }, - "updateMask": { - "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "Source": { - "description": "Security Command Center finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, etc.", - "id": "Source", - "properties": { - "description": { - "description": "The description of the source (max of 1024 characters). Example: \"Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated/insecure libraries.\"", - "type": "string" - }, - "displayName": { - "description": "The source's display name. A source's display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must have a length between 1 and 64 characters (inclusive).", - "type": "string" - }, - "name": { - "description": "The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}\"", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "StreamingConfig": { - "description": "The config for streaming-based notifications, which send each event as soon as it is detected.", - "id": "StreamingConfig", - "properties": { - "filter": { - "description": "Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", - "type": "string" - } - }, - "type": "object" - }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "id": "TestIamPermissionsRequest", - "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", - "id": "TestIamPermissionsResponse", - "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Security Command Center API", - "version": "v1p1beta1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/serviceconsumermanagement-v1.json b/discovery/serviceconsumermanagement-v1.json index cb970fff458..6f8aa1fe42a 100644 --- a/discovery/serviceconsumermanagement-v1.json +++ b/discovery/serviceconsumermanagement-v1.json @@ -542,7 +542,7 @@ } } }, - "revision": "20250313", + "revision": "20250508", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "AddTenantProjectRequest": { diff --git a/discovery/serviceconsumermanagement-v1beta1.json b/discovery/serviceconsumermanagement-v1beta1.json index 2cb98bba81d..9b6ebb85188 100644 --- a/discovery/serviceconsumermanagement-v1beta1.json +++ b/discovery/serviceconsumermanagement-v1beta1.json @@ -715,7 +715,7 @@ } } }, - "revision": "20250313", + "revision": "20250508", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "Api": { diff --git a/discovery/servicemanagement-v1.json b/discovery/servicemanagement-v1.json index 8ceea753f85..5fdd7e6f765 100644 --- a/discovery/servicemanagement-v1.json +++ b/discovery/servicemanagement-v1.json @@ -830,7 +830,7 @@ } } }, - "revision": "20250414", + "revision": "20250502", "rootUrl": "https://servicemanagement.googleapis.com/", "schemas": { "Advice": { @@ -911,7 +911,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `apiserving/configaspects/proto`.", + "description": "Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", "type": "object" } }, diff --git a/discovery/servicenetworking-v1.json b/discovery/servicenetworking-v1.json index 676197f75ec..940ac5858c2 100644 --- a/discovery/servicenetworking-v1.json +++ b/discovery/servicenetworking-v1.json @@ -1029,7 +1029,7 @@ } } }, - "revision": "20250316", + "revision": "20250506", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -1300,7 +1300,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `apiserving/configaspects/proto`.", + "description": "Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", "type": "object" } }, diff --git a/discovery/servicenetworking-v1beta.json b/discovery/servicenetworking-v1beta.json index 8d7c2e8a088..62e2e3349b3 100644 --- a/discovery/servicenetworking-v1beta.json +++ b/discovery/servicenetworking-v1beta.json @@ -307,7 +307,7 @@ } } }, - "revision": "20250312", + "revision": "20250506", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -467,7 +467,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `apiserving/configaspects/proto`.", + "description": "Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", "type": "object" } }, diff --git a/discovery/smartdevicemanagement-v1.json b/discovery/smartdevicemanagement-v1.json index cac303524f6..3689ce0ccd9 100644 --- a/discovery/smartdevicemanagement-v1.json +++ b/discovery/smartdevicemanagement-v1.json @@ -312,7 +312,7 @@ } } }, - "revision": "20231202", + "revision": "20231119", "rootUrl": "https://smartdevicemanagement.googleapis.com/", "schemas": { "GoogleHomeEnterpriseSdmV1Device": { diff --git a/discovery/sourcerepo-v1.json b/discovery/sourcerepo-v1.json deleted file mode 100644 index 0adbe9b9257..00000000000 --- a/discovery/sourcerepo-v1.json +++ /dev/null @@ -1,879 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - }, - "https://www.googleapis.com/auth/source.full_control": { - "description": "Manage your source code repositories" - }, - "https://www.googleapis.com/auth/source.read_only": { - "description": "View the contents of your source code repositories" - }, - "https://www.googleapis.com/auth/source.read_write": { - "description": "Manage the contents of your source code repositories" - } - } - } - }, - "basePath": "", - "baseUrl": "https://sourcerepo.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Cloud Source Repositories", - "description": "Accesses source code repositories hosted by Google. Important: Cloud Source Repositories is scheduled for end of sales starting June 17, 2024. Customers who have enabled the API prior to this date will not be affected and can continue to use Cloud Source Repositories. Organizations or projects who have not previously enabled the API cannot use Cloud Source Repositories after this date. View Cloud Source Repositories documentation for more info. ", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/source-repositories/docs", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "sourcerepo:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://sourcerepo.mtls.googleapis.com/", - "name": "sourcerepo", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "methods": { - "getConfig": { - "description": "Returns the Cloud Source Repositories configuration of the project.", - "flatPath": "v1/projects/{projectsId}/config", - "httpMethod": "GET", - "id": "sourcerepo.projects.getConfig", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the requested project. Values are of the form `projects/`.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}/config", - "response": { - "$ref": "ProjectConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "updateConfig": { - "description": "Updates the Cloud Source Repositories configuration of the project.", - "flatPath": "v1/projects/{projectsId}/config", - "httpMethod": "PATCH", - "id": "sourcerepo.projects.updateConfig", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the requested project. Values are of the form `projects/`.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}/config", - "request": { - "$ref": "UpdateProjectConfigRequest" - }, - "response": { - "$ref": "ProjectConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "repos": { - "methods": { - "create": { - "description": "Creates a repo in the given project with the given name. If the named repository already exists, `CreateRepo` returns `ALREADY_EXISTS`.", - "flatPath": "v1/projects/{projectsId}/repos", - "httpMethod": "POST", - "id": "sourcerepo.projects.repos.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "The project in which to create the repo. Values are of the form `projects/`.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/repos", - "request": { - "$ref": "Repo" - }, - "response": { - "$ref": "Repo" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/source.full_control" - ] - }, - "delete": { - "description": "Deletes a repo.", - "flatPath": "v1/projects/{projectsId}/repos/{reposId}", - "httpMethod": "DELETE", - "id": "sourcerepo.projects.repos.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the repo to delete. Values are of the form `projects//repos/`.", - "location": "path", - "pattern": "^projects/[^/]+/repos/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/source.full_control" - ] - }, - "get": { - "description": "Returns information about a repo.", - "flatPath": "v1/projects/{projectsId}/repos/{reposId}", - "httpMethod": "GET", - "id": "sourcerepo.projects.repos.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the requested repository. Values are of the form `projects//repos/`.", - "location": "path", - "pattern": "^projects/[^/]+/repos/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Repo" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/source.full_control", - "https://www.googleapis.com/auth/source.read_only", - "https://www.googleapis.com/auth/source.read_write" - ] - }, - "getIamPolicy": { - "description": "Gets the IAM policy policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/repos/{reposId}:getIamPolicy", - "httpMethod": "GET", - "id": "sourcerepo.projects.repos.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/repos/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/source.full_control", - "https://www.googleapis.com/auth/source.read_only", - "https://www.googleapis.com/auth/source.read_write" - ] - }, - "list": { - "description": "Returns all repos belonging to a project. The sizes of the repos are not set by ListRepos. To get the size of a repo, use GetRepo.", - "flatPath": "v1/projects/{projectsId}/repos", - "httpMethod": "GET", - "id": "sourcerepo.projects.repos.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The project ID whose repos should be listed. Values are of the form `projects/`.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "Maximum number of repositories to return; between 1 and 500. If not set or zero, defaults to 100 at the server.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Resume listing repositories where a prior ListReposResponse left off. This is an opaque token that must be obtained from a recent, prior ListReposResponse's next_page_token field.", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}/repos", - "response": { - "$ref": "ListReposResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/source.full_control", - "https://www.googleapis.com/auth/source.read_only", - "https://www.googleapis.com/auth/source.read_write" - ] - }, - "patch": { - "description": "Updates information about a repo.", - "flatPath": "v1/projects/{projectsId}/repos/{reposId}", - "httpMethod": "PATCH", - "id": "sourcerepo.projects.repos.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the requested repository. Values are of the form `projects//repos/`.", - "location": "path", - "pattern": "^projects/[^/]+/repos/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "UpdateRepoRequest" - }, - "response": { - "$ref": "Repo" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the IAM policy on the specified resource. Replaces any existing policy.", - "flatPath": "v1/projects/{projectsId}/repos/{reposId}:setIamPolicy", - "httpMethod": "POST", - "id": "sourcerepo.projects.repos.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/repos/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/source.full_control" - ] - }, - "sync": { - "description": "Synchronize a connected repo. The response contains SyncRepoMetadata in the metadata field.", - "flatPath": "v1/projects/{projectsId}/repos/{reposId}:sync", - "httpMethod": "POST", - "id": "sourcerepo.projects.repos.sync", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the repo to synchronize. Values are of the form `projects//repos/`.", - "location": "path", - "pattern": "^projects/[^/]+/repos/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:sync", - "request": { - "$ref": "SyncRepoRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.", - "flatPath": "v1/projects/{projectsId}/repos/{reposId}:testIamPermissions", - "httpMethod": "POST", - "id": "sourcerepo.projects.repos.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/repos/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/source.full_control", - "https://www.googleapis.com/auth/source.read_only", - "https://www.googleapis.com/auth/source.read_write" - ] - } - } - } - } - } - }, - "revision": "20240520", - "rootUrl": "https://sourcerepo.googleapis.com/", - "schemas": { - "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", - "id": "AuditConfig", - "properties": { - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.", - "items": { - "$ref": "AuditLogConfig" - }, - "type": "array" - }, - "service": { - "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", - "type": "string" - } - }, - "type": "object" - }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", - "id": "AuditLogConfig", - "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logType": { - "description": "The log type that this config enables.", - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], - "type": "string" - } - }, - "type": "object" - }, - "Binding": { - "description": "Associates `members`, or principals, with a `role`.", - "id": "Binding", - "properties": { - "condition": { - "$ref": "Expr", - "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." - }, - "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "role": { - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", - "type": "string" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", - "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" - }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", - "type": "string" - }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" - } - }, - "type": "object" - }, - "ListReposResponse": { - "description": "Response for ListRepos. The size is not set in the returned repositories.", - "id": "ListReposResponse", - "properties": { - "nextPageToken": { - "description": "If non-empty, additional repositories exist within the project. These can be retrieved by including this value in the next ListReposRequest's page_token field.", - "type": "string" - }, - "repos": { - "description": "The listed repos.", - "items": { - "$ref": "Repo" - }, - "type": "array" - } - }, - "type": "object" - }, - "MirrorConfig": { - "description": "Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.", - "id": "MirrorConfig", - "properties": { - "deployKeyId": { - "description": "ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring.", - "type": "string" - }, - "url": { - "description": "URL of the main repository at the other hosting service.", - "type": "string" - }, - "webhookId": { - "description": "ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring.", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", - "id": "Policy", - "properties": { - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", - "items": { - "$ref": "AuditConfig" - }, - "type": "array" - }, - "bindings": { - "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", - "items": { - "$ref": "Binding" - }, - "type": "array" - }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ProjectConfig": { - "description": "Cloud Source Repositories configuration of a project.", - "id": "ProjectConfig", - "properties": { - "enablePrivateKeyCheck": { - "description": "Reject a Git push that contains a private key.", - "type": "boolean" - }, - "name": { - "description": "The name of the project. Values are of the form `projects/`.", - "type": "string" - }, - "pubsubConfigs": { - "additionalProperties": { - "$ref": "PubsubConfig" - }, - "description": "How this project publishes a change in the repositories through Cloud Pub/Sub. Keyed by the topic names.", - "type": "object" - } - }, - "type": "object" - }, - "PubsubConfig": { - "description": "Configuration to publish a Cloud Pub/Sub message.", - "id": "PubsubConfig", - "properties": { - "messageFormat": { - "description": "The format of the Cloud Pub/Sub messages.", - "enum": [ - "MESSAGE_FORMAT_UNSPECIFIED", - "PROTOBUF", - "JSON" - ], - "enumDescriptions": [ - "Unspecified.", - "The message payload is a serialized protocol buffer of SourceRepoEvent.", - "The message payload is a JSON string of SourceRepoEvent." - ], - "type": "string" - }, - "serviceAccountEmail": { - "description": "Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.", - "type": "string" - }, - "topic": { - "description": "A topic of Cloud Pub/Sub. Values are of the form `projects//topics/`. The project needs to be the same project as this config is in.", - "type": "string" - } - }, - "type": "object" - }, - "Repo": { - "description": "A repository (or repo) is a Git repository storing versioned source content.", - "id": "Repo", - "properties": { - "mirrorConfig": { - "$ref": "MirrorConfig", - "description": "How this repository mirrors a repository managed by another service. Read-only field." - }, - "name": { - "description": "Resource name of the repository, of the form `projects//repos/`. The repo name may contain slashes. eg, `projects/myproject/repos/name/with/slash`", - "type": "string" - }, - "pubsubConfigs": { - "additionalProperties": { - "$ref": "PubsubConfig" - }, - "description": "How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names.", - "type": "object" - }, - "size": { - "description": "The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo.", - "format": "int64", - "type": "string" - }, - "url": { - "description": "URL to clone the repository from Google Cloud Source Repositories. Read-only field.", - "type": "string" - } - }, - "type": "object" - }, - "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", - "id": "SetIamPolicyRequest", - "properties": { - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." - }, - "updateMask": { - "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "SyncRepoMetadata": { - "description": "Metadata of SyncRepo. This message is in the metadata field of Operation.", - "id": "SyncRepoMetadata", - "properties": { - "name": { - "description": "The name of the repo being synchronized. Values are of the form `projects//repos/`.", - "type": "string" - }, - "startTime": { - "description": "The time this operation is started.", - "format": "google-datetime", - "type": "string" - }, - "statusMessage": { - "description": "The latest status message on syncing the repository.", - "type": "string" - }, - "updateTime": { - "description": "The time this operation's status message is updated.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "SyncRepoRequest": { - "description": "Request for SyncRepo.", - "id": "SyncRepoRequest", - "properties": {}, - "type": "object" - }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "id": "TestIamPermissionsRequest", - "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", - "id": "TestIamPermissionsResponse", - "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "UpdateProjectConfigRequest": { - "description": "Request for UpdateProjectConfig.", - "id": "UpdateProjectConfigRequest", - "properties": { - "projectConfig": { - "$ref": "ProjectConfig", - "description": "The new configuration for the project." - }, - "updateMask": { - "description": "A FieldMask specifying which fields of the project_config to modify. Only the fields in the mask will be modified. If no mask is provided, this request is no-op.", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "UpdateRepoRequest": { - "description": "Request for UpdateRepo.", - "id": "UpdateRepoRequest", - "properties": { - "repo": { - "$ref": "Repo", - "description": "The new configuration for the repository." - }, - "updateMask": { - "description": "A FieldMask specifying which fields of the repo to modify. Only the fields in the mask will be modified. If no mask is provided, this request is no-op.", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Source Repositories API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/speech-v2beta1.json b/discovery/speech-v2beta1.json deleted file mode 100644 index 39fdc4e8f05..00000000000 --- a/discovery/speech-v2beta1.json +++ /dev/null @@ -1,407 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://speech.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Speech", - "description": "Converts audio to text by applying powerful neural network models.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", - "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": "speech:v2beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://speech.mtls.googleapis.com/", - "name": "speech", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "speech.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v2beta1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/operations", - "httpMethod": "GET", - "id": "speech.projects.locations.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v2beta1/{+name}/operations", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20210810", - "rootUrl": "https://speech.googleapis.com/", - "schemas": { - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "LongRunningRecognizeMetadata": { - "description": "Describes the progress of a long-running `LongRunningRecognize` call. It is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", - "id": "LongRunningRecognizeMetadata", - "properties": { - "lastUpdateTime": { - "description": "Output only. Time of the most recent processing update.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "progressPercent": { - "description": "Output only. Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "startTime": { - "description": "Output only. Time when the request was received.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "uri": { - "description": "The URI of the audio file being transcribed. Empty if the audio was sent as byte content.", - "type": "string" - } - }, - "type": "object" - }, - "LongRunningRecognizeResponse": { - "description": "The only message returned to the client by the `LongRunningRecognize` method. It contains the result as zero or more sequential SpeechRecognitionResult messages. It is included in the `result.response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", - "id": "LongRunningRecognizeResponse", - "properties": { - "results": { - "description": "Output only. Sequential list of transcription results corresponding to sequential portions of audio.", - "items": { - "$ref": "SpeechRecognitionResult" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "SpeechRecognitionAlternative": { - "description": "Alternative hypotheses (a.k.a. n-best list).", - "id": "SpeechRecognitionAlternative", - "properties": { - "confidence": { - "description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative of a non-streaming result or, of a streaming result where `is_final=true`. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", - "format": "float", - "readOnly": true, - "type": "number" - }, - "transcript": { - "description": "Output only. Transcript text representing the words that the user spoke.", - "readOnly": true, - "type": "string" - }, - "words": { - "description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is true, you will see all the words from the beginning of the audio.", - "items": { - "$ref": "WordInfo" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "SpeechRecognitionResult": { - "description": "A speech recognition result corresponding to a portion of the audio.", - "id": "SpeechRecognitionResult", - "properties": { - "alternatives": { - "description": "Output only. May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", - "items": { - "$ref": "SpeechRecognitionAlternative" - }, - "readOnly": true, - "type": "array" - }, - "channelTag": { - "description": "Output only. For multi-channel audio, this is the channel number corresponding to the recognized result for the audio from that channel. For `audio_channel_count` = N, its output values can range from `1` to `N`.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "languageCode": { - "description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - }, - "WordInfo": { - "description": "Word-specific information for recognized words.", - "id": "WordInfo", - "properties": { - "confidence": { - "description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative of a non-streaming result or, of a streaming result where `is_final=true`. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", - "format": "float", - "readOnly": true, - "type": "number" - }, - "endOffset": { - "description": "Output only. Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", - "format": "google-duration", - "readOnly": true, - "type": "string" - }, - "speakerTag": { - "description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from `1` to `diarization_config.max_speaker_count` . `speaker_tag` is set if `diarization_config.enable_speaker_diarization` = `true` and only in the top alternative.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "startOffset": { - "description": "Output only. Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", - "format": "google-duration", - "readOnly": true, - "type": "string" - }, - "word": { - "description": "Output only. The word corresponding to this set of information.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud Speech-to-Text API", - "version": "v2beta1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/sql-v1beta4.json b/discovery/sql-v1beta4.json deleted file mode 100644 index f7fdd000831..00000000000 --- a/discovery/sql-v1beta4.json +++ /dev/null @@ -1,4049 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, - "https://www.googleapis.com/auth/sqlservice.admin": { - "description": "Manage your Google SQL Service instances" - } - } - } - }, - "basePath": "", - "baseUrl": "https://sqladmin.googleapis.com/", - "batchPath": "batch", - "canonicalName": "SQL Admin", - "description": "API for Cloud SQL database instance management", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/cloud-sql/", - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "sql:v1beta4", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://sqladmin.mtls.googleapis.com/", - "name": "sql", - "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": { - "backupRuns": { - "methods": { - "delete": { - "description": "Deletes the backup taken by a backup run.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}", - "httpMethod": "DELETE", - "id": "sql.backupRuns.delete", - "parameterOrder": [ - "project", - "instance", - "id" - ], - "parameters": { - "id": { - "description": "The ID of the Backup Run to delete. To find a Backup Run ID, use the list method.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "get": { - "description": "Retrieves a resource containing information about a backup run.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}", - "httpMethod": "GET", - "id": "sql.backupRuns.get", - "parameterOrder": [ - "project", - "instance", - "id" - ], - "parameters": { - "id": { - "description": "The ID of this Backup Run.", - "format": "int64", - "location": "path", - "required": true, - "type": "string" - }, - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}", - "response": { - "$ref": "BackupRun" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "insert": { - "description": "Creates a new backup run on demand. This method is applicable only to Second Generation instances.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns", - "httpMethod": "POST", - "id": "sql.backupRuns.insert", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns", - "request": { - "$ref": "BackupRun" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "list": { - "description": "Lists all backup runs associated with a given instance and configuration in the reverse chronological order of the backup initiation time.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns", - "httpMethod": "GET", - "id": "sql.backupRuns.list", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "maxResults": { - "description": "Maximum number of backup runs per response.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A previously-returned page token representing part of the larger set of results to view.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns", - "response": { - "$ref": "BackupRunsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - } - } - }, - "databases": { - "methods": { - "delete": { - "description": "Deletes a database from a Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", - "httpMethod": "DELETE", - "id": "sql.databases.delete", - "parameterOrder": [ - "project", - "instance", - "database" - ], - "parameters": { - "database": { - "description": "Name of the database to be deleted in the instance.", - "location": "path", - "required": true, - "type": "string" - }, - "instance": { - "description": "Database instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "get": { - "description": "Retrieves a resource containing information about a database inside a Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", - "httpMethod": "GET", - "id": "sql.databases.get", - "parameterOrder": [ - "project", - "instance", - "database" - ], - "parameters": { - "database": { - "description": "Name of the database in the instance.", - "location": "path", - "required": true, - "type": "string" - }, - "instance": { - "description": "Database instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", - "response": { - "$ref": "Database" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "insert": { - "description": "Inserts a resource containing information about a database inside a Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases", - "httpMethod": "POST", - "id": "sql.databases.insert", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Database instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/databases", - "request": { - "$ref": "Database" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "list": { - "description": "Lists databases in the specified Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases", - "httpMethod": "GET", - "id": "sql.databases.list", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/databases", - "response": { - "$ref": "DatabasesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "patch": { - "description": "Partially updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", - "httpMethod": "PATCH", - "id": "sql.databases.patch", - "parameterOrder": [ - "project", - "instance", - "database" - ], - "parameters": { - "database": { - "description": "Name of the database to be updated in the instance.", - "location": "path", - "required": true, - "type": "string" - }, - "instance": { - "description": "Database instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", - "request": { - "$ref": "Database" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "update": { - "description": "Updates a resource containing information about a database inside a Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", - "httpMethod": "PUT", - "id": "sql.databases.update", - "parameterOrder": [ - "project", - "instance", - "database" - ], - "parameters": { - "database": { - "description": "Name of the database to be updated in the instance.", - "location": "path", - "required": true, - "type": "string" - }, - "instance": { - "description": "Database instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", - "request": { - "$ref": "Database" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - } - } - }, - "flags": { - "methods": { - "list": { - "description": "List all available database flags for Cloud SQL instances.", - "flatPath": "sql/v1beta4/flags", - "httpMethod": "GET", - "id": "sql.flags.list", - "parameterOrder": [], - "parameters": { - "databaseVersion": { - "description": "Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.", - "location": "query", - "type": "string" - } - }, - "path": "sql/v1beta4/flags", - "response": { - "$ref": "FlagsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - } - } - }, - "instances": { - "methods": { - "addServerCa": { - "description": "Add a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/addServerCa", - "httpMethod": "POST", - "id": "sql.instances.addServerCa", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/addServerCa", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "clone": { - "description": "Creates a Cloud SQL instance as a clone of the source instance. Using this operation might cause your instance to restart.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/clone", - "httpMethod": "POST", - "id": "sql.instances.clone", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the source as well as the clone Cloud SQL instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/clone", - "request": { - "$ref": "InstancesCloneRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "delete": { - "description": "Deletes a Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}", - "httpMethod": "DELETE", - "id": "sql.instances.delete", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance to be deleted.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "demoteMaster": { - "description": "Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster", - "httpMethod": "POST", - "id": "sql.instances.demoteMaster", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster", - "request": { - "$ref": "InstancesDemoteMasterRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "export": { - "description": "Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/export", - "httpMethod": "POST", - "id": "sql.instances.export", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance to be exported.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/export", - "request": { - "$ref": "InstancesExportRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "failover": { - "description": "Failover the instance to its failover replica instance. Using this operation might cause your instance to restart.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/failover", - "httpMethod": "POST", - "id": "sql.instances.failover", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "ID of the project that contains the read replica.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/failover", - "request": { - "$ref": "InstancesFailoverRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "get": { - "description": "Retrieves a resource containing information about a Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}", - "httpMethod": "GET", - "id": "sql.instances.get", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Database instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}", - "response": { - "$ref": "DatabaseInstance" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "import": { - "description": "Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/import", - "httpMethod": "POST", - "id": "sql.instances.import", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/import", - "request": { - "$ref": "InstancesImportRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "insert": { - "description": "Creates a new Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances", - "httpMethod": "POST", - "id": "sql.instances.insert", - "parameterOrder": [ - "project" - ], - "parameters": { - "project": { - "description": "Project ID of the project to which the newly created Cloud SQL instances should belong.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances", - "request": { - "$ref": "DatabaseInstance" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "list": { - "description": "Lists instances under a given project.", - "flatPath": "sql/v1beta4/projects/{project}/instances", - "httpMethod": "GET", - "id": "sql.instances.list", - "parameterOrder": [ - "project" - ], - "parameters": { - "filter": { - "description": "A filter expression that filters resources listed in the response. The expression is in the form of field:value. For example, 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON representation, such as 'settings.userLabels.auto_start:true'. Multiple filter queries are space-separated. For example. 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of results to return per response.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A previously-returned page token representing part of the larger set of results to view.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Project ID of the project for which to list Cloud SQL instances.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances", - "response": { - "$ref": "InstancesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "listServerCas": { - "description": "Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/listServerCas", - "httpMethod": "GET", - "id": "sql.instances.listServerCas", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/listServerCas", - "response": { - "$ref": "InstancesListServerCasResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "patch": { - "description": "Updates settings of a Cloud SQL instance. This method supports patch semantics.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}", - "httpMethod": "PATCH", - "id": "sql.instances.patch", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}", - "request": { - "$ref": "DatabaseInstance" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "promoteReplica": { - "description": "Promotes the read replica instance to be a stand-alone Cloud SQL instance. Using this operation might cause your instance to restart.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica", - "httpMethod": "POST", - "id": "sql.instances.promoteReplica", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL read replica instance name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "ID of the project that contains the read replica.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "resetSslConfig": { - "description": "Deletes all client certificates and generates a new server SSL certificate for the instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig", - "httpMethod": "POST", - "id": "sql.instances.resetSslConfig", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "restart": { - "description": "Restarts a Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/restart", - "httpMethod": "POST", - "id": "sql.instances.restart", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance to be restarted.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/restart", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "restoreBackup": { - "description": "Restores a backup of a Cloud SQL instance. Using this operation might cause your instance to restart.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup", - "httpMethod": "POST", - "id": "sql.instances.restoreBackup", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup", - "request": { - "$ref": "InstancesRestoreBackupRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "rotateServerCa": { - "description": "Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa", - "httpMethod": "POST", - "id": "sql.instances.rotateServerCa", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa", - "request": { - "$ref": "InstancesRotateServerCaRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "startReplica": { - "description": "Starts the replication in the read replica instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/startReplica", - "httpMethod": "POST", - "id": "sql.instances.startReplica", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL read replica instance name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "ID of the project that contains the read replica.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/startReplica", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "stopReplica": { - "description": "Stops the replication in the read replica instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/stopReplica", - "httpMethod": "POST", - "id": "sql.instances.stopReplica", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL read replica instance name.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "ID of the project that contains the read replica.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/stopReplica", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "truncateLog": { - "description": "Truncate MySQL general and slow query log tables", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/truncateLog", - "httpMethod": "POST", - "id": "sql.instances.truncateLog", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the Cloud SQL project.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/truncateLog", - "request": { - "$ref": "InstancesTruncateLogRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "update": { - "description": "Updates settings of a Cloud SQL instance. Using this operation might cause your instance to restart.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}", - "httpMethod": "PUT", - "id": "sql.instances.update", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}", - "request": { - "$ref": "DatabaseInstance" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - } - } - }, - "operations": { - "methods": { - "get": { - "description": "Retrieves an instance operation that has been performed on an instance.", - "flatPath": "sql/v1beta4/projects/{project}/operations/{operation}", - "httpMethod": "GET", - "id": "sql.operations.get", - "parameterOrder": [ - "project", - "operation" - ], - "parameters": { - "operation": { - "description": "Instance operation ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/operations/{operation}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "list": { - "description": "Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.", - "flatPath": "sql/v1beta4/projects/{project}/operations", - "httpMethod": "GET", - "id": "sql.operations.list", - "parameterOrder": [ - "project" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "Maximum number of operations per response.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A previously-returned page token representing part of the larger set of results to view.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/operations", - "response": { - "$ref": "OperationsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - } - } - }, - "projects": { - "resources": { - "instances": { - "methods": { - "rescheduleMaintenance": { - "description": "Reschedules the maintenance on the given instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance", - "httpMethod": "POST", - "id": "sql.projects.instances.rescheduleMaintenance", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance", - "request": { - "$ref": "SqlInstancesRescheduleMaintenanceRequestBody" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "startExternalSync": { - "description": "Start External master migration.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync", - "httpMethod": "POST", - "id": "sql.projects.instances.startExternalSync", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - }, - "syncMode": { - "description": "External sync mode", - "enum": [ - "EXTERNAL_SYNC_MODE_UNSPECIFIED", - "ONLINE", - "OFFLINE" - ], - "enumDescriptions": [ - "Unknown external sync mode, will be defaulted to ONLINE mode", - "Online external sync will set up replication after initial data external sync", - "Offline external sync only dumps and loads a one-time snapshot of master's data" - ], - "location": "query", - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "verifyExternalSyncSettings": { - "description": "Verify External master external sync settings.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings", - "httpMethod": "POST", - "id": "sql.projects.instances.verifyExternalSyncSettings", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - }, - "syncMode": { - "description": "External sync mode", - "enum": [ - "EXTERNAL_SYNC_MODE_UNSPECIFIED", - "ONLINE", - "OFFLINE" - ], - "enumDescriptions": [ - "Unknown external sync mode, will be defaulted to ONLINE mode", - "Online external sync will set up replication after initial data external sync", - "Offline external sync only dumps and loads a one-time snapshot of master's data" - ], - "location": "query", - "type": "string" - }, - "verifyConnectionOnly": { - "description": "Flag to enable verifying connection only", - "location": "query", - "type": "boolean" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings", - "response": { - "$ref": "SqlInstancesVerifyExternalSyncSettingsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - } - } - } - } - }, - "sslCerts": { - "methods": { - "createEphemeral": { - "description": "Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral", - "httpMethod": "POST", - "id": "sql.sslCerts.createEphemeral", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the Cloud SQL project.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral", - "request": { - "$ref": "SslCertsCreateEphemeralRequest" - }, - "response": { - "$ref": "SslCert" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "delete": { - "description": "Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", - "httpMethod": "DELETE", - "id": "sql.sslCerts.delete", - "parameterOrder": [ - "project", - "instance", - "sha1Fingerprint" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - }, - "sha1Fingerprint": { - "description": "Sha1 FingerPrint.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "get": { - "description": "Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", - "httpMethod": "GET", - "id": "sql.sslCerts.get", - "parameterOrder": [ - "project", - "instance", - "sha1Fingerprint" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - }, - "sha1Fingerprint": { - "description": "Sha1 FingerPrint.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", - "response": { - "$ref": "SslCert" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "insert": { - "description": "Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts", - "httpMethod": "POST", - "id": "sql.sslCerts.insert", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts", - "request": { - "$ref": "SslCertsInsertRequest" - }, - "response": { - "$ref": "SslCertsInsertResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "list": { - "description": "Lists all of the current SSL certificates for the instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts", - "httpMethod": "GET", - "id": "sql.sslCerts.list", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Cloud SQL instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts", - "response": { - "$ref": "SslCertsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - } - } - }, - "tiers": { - "methods": { - "list": { - "description": "Lists all available machine types (tiers) for Cloud SQL, for example, db-n1-standard-1. For related information, see Pricing.", - "flatPath": "sql/v1beta4/projects/{project}/tiers", - "httpMethod": "GET", - "id": "sql.tiers.list", - "parameterOrder": [ - "project" - ], - "parameters": { - "project": { - "description": "Project ID of the project for which to list tiers.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/tiers", - "response": { - "$ref": "TiersListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - } - } - }, - "users": { - "methods": { - "delete": { - "description": "Deletes a user from a Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/users", - "httpMethod": "DELETE", - "id": "sql.users.delete", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "host": { - "description": "Host of the user in the instance.", - "location": "query", - "type": "string" - }, - "instance": { - "description": "Database instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "name": { - "description": "Name of the user in the instance.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/users", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "insert": { - "description": "Creates a new user in a Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/users", - "httpMethod": "POST", - "id": "sql.users.insert", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Database instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/users", - "request": { - "$ref": "User" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "list": { - "description": "Lists users in the specified Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/users", - "httpMethod": "GET", - "id": "sql.users.list", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "instance": { - "description": "Database instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/users", - "response": { - "$ref": "UsersListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - }, - "update": { - "description": "Updates an existing user in a Cloud SQL instance.", - "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/users", - "httpMethod": "PUT", - "id": "sql.users.update", - "parameterOrder": [ - "project", - "instance" - ], - "parameters": { - "host": { - "description": "Optional. Host of the user in the instance.", - "location": "query", - "type": "string" - }, - "instance": { - "description": "Database instance ID. This does not include the project ID.", - "location": "path", - "required": true, - "type": "string" - }, - "name": { - "description": "Name of the user in the instance.", - "location": "query", - "type": "string" - }, - "project": { - "description": "Project ID of the project that contains the instance.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sql/v1beta4/projects/{project}/instances/{instance}/users", - "request": { - "$ref": "User" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/sqlservice.admin" - ] - } - } - } - }, - "revision": "20200805", - "rootUrl": "https://sqladmin.googleapis.com/", - "schemas": { - "AclEntry": { - "description": "An entry for an Access Control list.", - "id": "AclEntry", - "properties": { - "expirationTime": { - "description": "The time when this access control entry expires in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.", - "format": "google-datetime", - "type": "string" - }, - "kind": { - "description": "This is always *sql#aclEntry*.", - "type": "string" - }, - "name": { - "description": "Optional. A label to identify this entry.", - "type": "string" - }, - "value": { - "description": "The allowlisted value for the access control list.", - "type": "string" - } - }, - "type": "object" - }, - "ApiWarning": { - "description": "An Admin API warning message.", - "id": "ApiWarning", - "properties": { - "code": { - "description": "Code to uniquely identify the warning type.", - "enum": [ - "SQL_API_WARNING_CODE_UNSPECIFIED", - "REGION_UNREACHABLE" - ], - "enumDescriptions": [ - "An unknown or unset warning type from Cloud SQL API.", - "Warning when one or more regions are not reachable. The returned result set may be incomplete." - ], - "type": "string" - }, - "message": { - "description": "The warning message.", - "type": "string" - } - }, - "type": "object" - }, - "BackupConfiguration": { - "description": "Database instance backup configuration.", - "id": "BackupConfiguration", - "properties": { - "binaryLogEnabled": { - "description": "(MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.", - "type": "boolean" - }, - "enabled": { - "description": "Whether this configuration is enabled.", - "type": "boolean" - }, - "kind": { - "description": "This is always *sql#backupConfiguration*.", - "type": "string" - }, - "location": { - "description": "Location of the backup", - "type": "string" - }, - "pointInTimeRecoveryEnabled": { - "description": "Reserved for future use.", - "type": "boolean" - }, - "replicationLogArchivingEnabled": { - "description": "Reserved for future use.", - "type": "boolean" - }, - "startTime": { - "description": "Start time for the daily backup configuration in UTC timezone in the 24 hour format - *HH:MM*.", - "type": "string" - } - }, - "type": "object" - }, - "BackupRun": { - "description": "A BackupRun resource.", - "id": "BackupRun", - "properties": { - "backupKind": { - "description": "Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.", - "enum": [ - "SQL_BACKUP_KIND_UNSPECIFIED", - "SNAPSHOT", - "PHYSICAL" - ], - "enumDescriptions": [ - "This is an unknown BackupKind.", - "The snapshot based backups", - "Physical backups" - ], - "type": "string" - }, - "description": { - "description": "The description of this run, only applicable to on-demand backups.", - "type": "string" - }, - "diskEncryptionConfiguration": { - "$ref": "DiskEncryptionConfiguration", - "description": "Encryption configuration specific to a backup. Applies only to Second Generation instances." - }, - "diskEncryptionStatus": { - "$ref": "DiskEncryptionStatus", - "description": "Encryption status specific to a backup. Applies only to Second Generation instances." - }, - "endTime": { - "description": "The time the backup operation completed in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.", - "format": "google-datetime", - "type": "string" - }, - "enqueuedTime": { - "description": "The time the run was enqueued in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.", - "format": "google-datetime", - "type": "string" - }, - "error": { - "$ref": "OperationError", - "description": "Information about why the backup operation failed. This is only present if the run has the FAILED status." - }, - "id": { - "description": "The identifier for this backup run. Unique only for a specific Cloud SQL instance.", - "format": "int64", - "type": "string" - }, - "instance": { - "description": "Name of the database instance.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#backupRun*.", - "type": "string" - }, - "location": { - "description": "Location of the backups.", - "type": "string" - }, - "selfLink": { - "description": "The URI of this resource.", - "type": "string" - }, - "startTime": { - "description": "The time the backup operation actually started in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.", - "format": "google-datetime", - "type": "string" - }, - "status": { - "description": "The status of this run.", - "enum": [ - "SQL_BACKUP_RUN_STATUS_UNSPECIFIED", - "ENQUEUED", - "OVERDUE", - "RUNNING", - "FAILED", - "SUCCESSFUL", - "SKIPPED", - "DELETION_PENDING", - "DELETION_FAILED", - "DELETED" - ], - "enumDescriptions": [ - "The status of the run is unknown.", - "The backup operation was enqueued.", - "The backup is overdue across a given backup window. Indicates a problem. Example: Long-running operation in progress during the whole window.", - "The backup is in progress.", - "The backup failed.", - "The backup was successful.", - "The backup was skipped (without problems) for a given backup window. Example: Instance was idle.", - "The backup is about to be deleted.", - "The backup deletion failed.", - "The backup has been deleted." - ], - "type": "string" - }, - "type": { - "description": "The type of this run; can be either \"AUTOMATED\" or \"ON_DEMAND\".", - "enum": [ - "SQL_BACKUP_RUN_TYPE_UNSPECIFIED", - "AUTOMATED", - "ON_DEMAND" - ], - "enumDescriptions": [ - "This is an unknown BackupRun type.", - "The backup schedule automatically triggers a backup.", - "The user manually triggers a backup." - ], - "type": "string" - }, - "windowStartTime": { - "description": "The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "BackupRunsListResponse": { - "description": "Backup run list results.", - "id": "BackupRunsListResponse", - "properties": { - "items": { - "description": "A list of backup runs in reverse chronological order of the enqueued time.", - "items": { - "$ref": "BackupRun" - }, - "type": "array" - }, - "kind": { - "description": "This is always *sql#backupRunsList*.", - "type": "string" - }, - "nextPageToken": { - "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "BinLogCoordinates": { - "description": "Binary log coordinates.", - "id": "BinLogCoordinates", - "properties": { - "binLogFileName": { - "description": "Name of the binary log file for a Cloud SQL instance.", - "type": "string" - }, - "binLogPosition": { - "description": "Position (offset) within the binary log file.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "This is always *sql#binLogCoordinates*.", - "type": "string" - } - }, - "type": "object" - }, - "CloneContext": { - "description": "Database instance clone context.", - "id": "CloneContext", - "properties": { - "binLogCoordinates": { - "$ref": "BinLogCoordinates", - "description": "Binary log coordinates, if specified, identify the position up to which the source instance is cloned. If not specified, the source instance is cloned up to the most recent binary log coordinates." - }, - "destinationInstanceName": { - "description": "Name of the Cloud SQL instance to be created as a clone.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#cloneContext*.", - "type": "string" - }, - "pitrTimestampMs": { - "description": "Reserved for future use.", - "format": "int64", - "type": "string" - }, - "pointInTime": { - "description": "Reserved for future use.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "Database": { - "description": "Represents a SQL database on the Cloud SQL instance.", - "id": "Database", - "properties": { - "charset": { - "description": "The Cloud SQL charset value.", - "type": "string" - }, - "collation": { - "description": "The Cloud SQL collation value.", - "type": "string" - }, - "etag": { - "description": "This field is deprecated and will be removed from a future version of the API.", - "type": "string" - }, - "instance": { - "description": "The name of the Cloud SQL instance. This does not include the project ID.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#database*.", - "type": "string" - }, - "name": { - "description": "The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.", - "type": "string" - }, - "project": { - "description": "The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.", - "type": "string" - }, - "selfLink": { - "description": "The URI of this resource.", - "type": "string" - }, - "sqlserverDatabaseDetails": { - "$ref": "SqlServerDatabaseDetails" - } - }, - "type": "object" - }, - "DatabaseFlags": { - "description": "Database flags for Cloud SQL instances.", - "id": "DatabaseFlags", - "properties": { - "name": { - "description": "The name of the flag. These flags are passed at instance startup, so include both server options and system variables for MySQL. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.", - "type": "string" - }, - "value": { - "description": "The value of the flag. Booleans are set to *on* for true and *off* for false. This field must be omitted if the flag doesn't take a value.", - "type": "string" - } - }, - "type": "object" - }, - "DatabaseInstance": { - "description": "A Cloud SQL instance resource. Next field: 34", - "id": "DatabaseInstance", - "properties": { - "backendType": { - "description": " *SECOND_GEN*: Cloud SQL database instance. *EXTERNAL*: A database server that is not managed by Google. This property is read-only; use the *tier* property in the *settings* object to determine the database type.", - "enum": [ - "SQL_BACKEND_TYPE_UNSPECIFIED", - "FIRST_GEN", - "SECOND_GEN", - "EXTERNAL" - ], - "enumDescriptions": [ - "This is an unknown backend type for instance.", - "V1 speckle instance.", - "V2 speckle instance.", - "On premises instance." - ], - "type": "string" - }, - "connectionName": { - "description": "Connection name of the Cloud SQL instance used in connection strings.", - "type": "string" - }, - "currentDiskSize": { - "description": "The current disk usage of the instance in bytes. This property has been deprecated. Use the \"cloudsql.googleapis.com/database/disk/bytes_used\" metric in Cloud Monitoring API instead. Please see this announcement for details.", - "format": "int64", - "type": "string" - }, - "databaseVersion": { - "description": "The database engine type and version. The *databaseVersion* field cannot be changed after instance creation. MySQL instances: *MYSQL_5_7* (default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*, *POSTGRES_11* or *POSTGRES_12* (default). SQL Server instances: *SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.", - "enum": [ - "SQL_DATABASE_VERSION_UNSPECIFIED", - "MYSQL_5_1", - "MYSQL_5_5", - "MYSQL_5_6", - "MYSQL_5_7", - "POSTGRES_9_6", - "POSTGRES_11", - "SQLSERVER_2017_STANDARD", - "SQLSERVER_2017_ENTERPRISE", - "SQLSERVER_2017_EXPRESS", - "SQLSERVER_2017_WEB", - "POSTGRES_10", - "POSTGRES_12", - "MYSQL_8_0" - ], - "enumDescriptions": [ - "This is an unknown database version.", - "The database version is MySQL 5.1.", - "The database version is MySQL 5.5.", - "The database version is MySQL 5.6.", - "The database version is MySQL 5.7.", - "The database version is PostgreSQL 9.6.", - "The database version is PostgreSQL 11.", - "The database version is SQL Server 2017 Standard.", - "The database version is SQL Server 2017 Enterprise.", - "The database version is SQL Server 2017 Express.", - "The database version is SQL Server 2017 Web.", - "The database version is PostgreSQL 10.", - "The database version is PostgreSQL 12.", - "The database version is MySQL 8." - ], - "type": "string" - }, - "diskEncryptionConfiguration": { - "$ref": "DiskEncryptionConfiguration", - "description": "Disk encryption configuration specific to an instance. Applies only to Second Generation instances." - }, - "diskEncryptionStatus": { - "$ref": "DiskEncryptionStatus", - "description": "Disk encryption status specific to an instance. Applies only to Second Generation instances." - }, - "etag": { - "description": "This field is deprecated and will be removed from a future version of the API. Use the *settings.settingsVersion* field instead.", - "type": "string" - }, - "failoverReplica": { - "description": "The name and status of the failover replica. This property is applicable only to Second Generation instances.", - "properties": { - "available": { - "description": "The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The master can only failover to the failover replica when the status is true.", - "type": "boolean" - }, - "name": { - "description": "The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID. This property is applicable only to Second Generation instances.", - "type": "string" - } - }, - "type": "object" - }, - "gceZone": { - "description": "The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone.", - "type": "string" - }, - "instanceType": { - "description": "The instance type. This can be one of the following. *CLOUD_SQL_INSTANCE*: A Cloud SQL instance that is not replicating from a master. *ON_PREMISES_INSTANCE*: An instance running on the customer's premises. *READ_REPLICA_INSTANCE*: A Cloud SQL instance configured as a read-replica.", - "enum": [ - "SQL_INSTANCE_TYPE_UNSPECIFIED", - "CLOUD_SQL_INSTANCE", - "ON_PREMISES_INSTANCE", - "READ_REPLICA_INSTANCE" - ], - "enumDescriptions": [ - "This is an unknown Cloud SQL instance type.", - "A regular Cloud SQL instance.", - "An instance running on the customer's premises that is not managed by Cloud SQL.", - "A Cloud SQL instance acting as a read-replica." - ], - "type": "string" - }, - "ipAddresses": { - "description": "The assigned IP addresses for the instance.", - "items": { - "$ref": "IpMapping" - }, - "type": "array" - }, - "ipv6Address": { - "description": "The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#instance*.", - "type": "string" - }, - "masterInstanceName": { - "description": "The name of the instance which will act as master in the replication setup.", - "type": "string" - }, - "maxDiskSize": { - "description": "The maximum disk size of the instance in bytes.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Name of the Cloud SQL instance. This does not include the project ID.", - "type": "string" - }, - "onPremisesConfiguration": { - "$ref": "OnPremisesConfiguration", - "description": "Configuration specific to on-premises instances." - }, - "project": { - "description": "The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.", - "type": "string" - }, - "region": { - "description": "The geographical region. Can be *us-central* (*FIRST_GEN* instances only) *us-central1* (*SECOND_GEN* instances only) *asia-east1* or *europe-west1*. Defaults to *us-central* or *us-central1* depending on the instance type. The region cannot be changed after instance creation.", - "type": "string" - }, - "replicaConfiguration": { - "$ref": "ReplicaConfiguration", - "description": "Configuration specific to failover replicas and read replicas." - }, - "replicaNames": { - "description": "The replicas of the instance.", - "items": { - "type": "string" - }, - "type": "array" - }, - "rootPassword": { - "description": "Initial root password. Use only on creation.", - "type": "string" - }, - "scheduledMaintenance": { - "$ref": "SqlScheduledMaintenance", - "description": "The start time of any upcoming scheduled maintenance for this instance." - }, - "selfLink": { - "description": "The URI of this resource.", - "type": "string" - }, - "serverCaCert": { - "$ref": "SslCert", - "description": "SSL configuration." - }, - "serviceAccountEmailAddress": { - "description": "The service account email address assigned to the instance. This property is applicable only to Second Generation instances.", - "type": "string" - }, - "settings": { - "$ref": "Settings", - "description": "The user settings." - }, - "state": { - "description": "The current serving state of the Cloud SQL instance. This can be one of the following. *RUNNABLE*: The instance is running, or is ready to run when accessed. *SUSPENDED*: The instance is not available, for example due to problems with billing. *PENDING_CREATE*: The instance is being created. *MAINTENANCE*: The instance is down for maintenance. *FAILED*: The instance creation failed. *UNKNOWN_STATE*: The state of the instance is unknown.", - "enum": [ - "SQL_INSTANCE_STATE_UNSPECIFIED", - "RUNNABLE", - "SUSPENDED", - "PENDING_DELETE", - "PENDING_CREATE", - "MAINTENANCE", - "FAILED" - ], - "enumDescriptions": [ - "The state of the instance is unknown.", - "The instance is running.", - "The instance is currently offline, but it may run again in the future.", - "The instance is being deleted.", - "The instance is being created.", - "The instance is down for maintenance.", - "The instance failed to be created." - ], - "type": "string" - }, - "suspensionReason": { - "description": "If the instance state is SUSPENDED, the reason for the suspension.", - "enumDescriptions": [ - "This is an unknown suspension reason.", - "The instance is suspended due to billing issues (for example:, GCP account issue)", - "The instance is suspended due to illegal content (for example:, child pornography, copyrighted material, etc.).", - "The instance is causing operational issues (for example:, causing the database to crash).", - "The KMS key used by the instance is either revoked or denied access to" - ], - "items": { - "enum": [ - "SQL_SUSPENSION_REASON_UNSPECIFIED", - "BILLING_ISSUE", - "LEGAL_ISSUE", - "OPERATIONAL_ISSUE", - "KMS_KEY_ISSUE" - ], - "enumDescriptions": [ - "This is an unknown suspension reason.", - "The instance is suspended due to billing issues (for example:, GCP account issue)", - "The instance is suspended due to illegal content (for example:, child pornography, copyrighted material, etc.).", - "The instance is causing operational issues (for example:, causing the database to crash).", - "The KMS key used by the instance is either revoked or denied access to" - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "DatabasesListResponse": { - "description": "Database list response.", - "id": "DatabasesListResponse", - "properties": { - "items": { - "description": "List of database resources in the instance.", - "items": { - "$ref": "Database" - }, - "type": "array" - }, - "kind": { - "description": "This is always *sql#databasesList*.", - "type": "string" - } - }, - "type": "object" - }, - "DemoteMasterConfiguration": { - "description": "Read-replica configuration for connecting to the on-premises master.", - "id": "DemoteMasterConfiguration", - "properties": { - "kind": { - "description": "This is always *sql#demoteMasterConfiguration*.", - "type": "string" - }, - "mysqlReplicaConfiguration": { - "$ref": "DemoteMasterMySqlReplicaConfiguration", - "description": "MySQL specific configuration when replicating from a MySQL on-premises master. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named *master.info* in the data directory." - } - }, - "type": "object" - }, - "DemoteMasterContext": { - "description": "Database instance demote master context.", - "id": "DemoteMasterContext", - "properties": { - "kind": { - "description": "This is always *sql#demoteMasterContext*.", - "type": "string" - }, - "masterInstanceName": { - "description": "The name of the instance which will act as on-premises master in the replication setup.", - "type": "string" - }, - "replicaConfiguration": { - "$ref": "DemoteMasterConfiguration", - "description": "Configuration specific to read-replicas replicating from the on-premises master." - }, - "verifyGtidConsistency": { - "description": "Verify GTID consistency for demote operation. Default value: *True*. Second Generation instances only. Setting this flag to false enables you to bypass GTID consistency check between on-premises master and Cloud SQL instance during the demotion operation but also exposes you to the risk of future replication failures. Change the value only if you know the reason for the GTID divergence and are confident that doing so will not cause any replication issues.", - "type": "boolean" - } - }, - "type": "object" - }, - "DemoteMasterMySqlReplicaConfiguration": { - "description": "Read-replica configuration specific to MySQL databases.", - "id": "DemoteMasterMySqlReplicaConfiguration", - "properties": { - "caCertificate": { - "description": "PEM representation of the trusted CA's x509 certificate.", - "type": "string" - }, - "clientCertificate": { - "description": "PEM representation of the replica's x509 certificate.", - "type": "string" - }, - "clientKey": { - "description": "PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate. The format of the replica's private key can be either PKCS #1 or PKCS #8.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#demoteMasterMysqlReplicaConfiguration*.", - "type": "string" - }, - "password": { - "description": "The password for the replication connection.", - "type": "string" - }, - "username": { - "description": "The username for the replication connection.", - "type": "string" - } - }, - "type": "object" - }, - "DiskEncryptionConfiguration": { - "description": "Disk encryption configuration for an instance.", - "id": "DiskEncryptionConfiguration", - "properties": { - "kind": { - "description": "This is always *sql#diskEncryptionConfiguration*.", - "type": "string" - }, - "kmsKeyName": { - "description": "Resource name of KMS key for disk encryption", - "type": "string" - } - }, - "type": "object" - }, - "DiskEncryptionStatus": { - "description": "Disk encryption status for an instance.", - "id": "DiskEncryptionStatus", - "properties": { - "kind": { - "description": "This is always *sql#diskEncryptionStatus*.", - "type": "string" - }, - "kmsKeyVersionName": { - "description": "KMS key version used to encrypt the Cloud SQL instance resource", - "type": "string" - } - }, - "type": "object" - }, - "ExportContext": { - "description": "Database instance export context.", - "id": "ExportContext", - "properties": { - "csvExportOptions": { - "description": "Options for exporting data as CSV.", - "properties": { - "selectQuery": { - "description": "The select query used to extract the data.", - "type": "string" - } - }, - "type": "object" - }, - "databases": { - "description": "Databases to be exported. *MySQL instances:* If *fileType* is *SQL* and no database is specified, all databases are exported, except for the *mysql* system database. If *fileType* is *CSV*, you can specify one database, either by using this property or by using the *csvExportOptions.selectQuery* property, which takes precedence over this property. *PostgreSQL instances:* You must specify one database to be exported. If *fileType* is *CSV*, this database must match the one specified in the *csvExportOptions.selectQuery* property.", - "items": { - "type": "string" - }, - "type": "array" - }, - "fileType": { - "description": "The file type for the specified uri. *SQL*: The file contains SQL statements. *CSV*: The file contains CSV data.", - "enum": [ - "SQL_FILE_TYPE_UNSPECIFIED", - "SQL", - "CSV", - "BAK" - ], - "enumDescriptions": [ - "Unknown file type.", - "File containing SQL statements.", - "File in CSV format.", - "" - ], - "type": "string" - }, - "kind": { - "description": "This is always *sql#exportContext*.", - "type": "string" - }, - "offload": { - "description": "Option for export offload.", - "type": "boolean" - }, - "sqlExportOptions": { - "description": "Options for exporting data as SQL statements.", - "properties": { - "mysqlExportOptions": { - "description": "Options for exporting from MySQL.", - "properties": { - "masterData": { - "description": "Option to include SQL statement required to set up replication. If set to *1*, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates. If set to *2*, the CHANGE MASTER TO statement is written as a SQL comment, and has no effect. All other values are ignored.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "schemaOnly": { - "description": "Export only schemas.", - "type": "boolean" - }, - "tables": { - "description": "Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "uri": { - "description": "The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form *gs: //bucketName/fileName*. If the file already exists, the requests // succeeds, but the operation fails. If *fileType* is // *SQL* and the filename ends with .gz, the contents are // compressed.", - "type": "string" - } - }, - "type": "object" - }, - "FailoverContext": { - "description": "Database instance failover context.", - "id": "FailoverContext", - "properties": { - "kind": { - "description": "This is always *sql#failoverContext*.", - "type": "string" - }, - "settingsVersion": { - "description": "The current settings version of this instance. Request will be rejected if this version doesn't match the current settings version.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "Flag": { - "description": "A flag resource.", - "id": "Flag", - "properties": { - "allowedIntValues": { - "description": "Use this field if only certain integers are accepted. Can be combined with min_value and max_value to add additional values.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "allowedStringValues": { - "description": "For *STRING* flags, a list of strings that the value can be set to.", - "items": { - "type": "string" - }, - "type": "array" - }, - "appliesTo": { - "description": "The database version this flag applies to. Can be *MYSQL_5_5*, *MYSQL_5_6*, or *MYSQL_5_7*. *MYSQL_5_7* is applicable only to Second Generation instances.", - "enumDescriptions": [ - "This is an unknown database version.", - "The database version is MySQL 5.1.", - "The database version is MySQL 5.5.", - "The database version is MySQL 5.6.", - "The database version is MySQL 5.7.", - "The database version is PostgreSQL 9.6.", - "The database version is PostgreSQL 11.", - "The database version is SQL Server 2017 Standard.", - "The database version is SQL Server 2017 Enterprise.", - "The database version is SQL Server 2017 Express.", - "The database version is SQL Server 2017 Web.", - "The database version is PostgreSQL 10.", - "The database version is PostgreSQL 12.", - "The database version is MySQL 8." - ], - "items": { - "enum": [ - "SQL_DATABASE_VERSION_UNSPECIFIED", - "MYSQL_5_1", - "MYSQL_5_5", - "MYSQL_5_6", - "MYSQL_5_7", - "POSTGRES_9_6", - "POSTGRES_11", - "SQLSERVER_2017_STANDARD", - "SQLSERVER_2017_ENTERPRISE", - "SQLSERVER_2017_EXPRESS", - "SQLSERVER_2017_WEB", - "POSTGRES_10", - "POSTGRES_12", - "MYSQL_8_0" - ], - "enumDescriptions": [ - "This is an unknown database version.", - "The database version is MySQL 5.1.", - "The database version is MySQL 5.5.", - "The database version is MySQL 5.6.", - "The database version is MySQL 5.7.", - "The database version is PostgreSQL 9.6.", - "The database version is PostgreSQL 11.", - "The database version is SQL Server 2017 Standard.", - "The database version is SQL Server 2017 Enterprise.", - "The database version is SQL Server 2017 Express.", - "The database version is SQL Server 2017 Web.", - "The database version is PostgreSQL 10.", - "The database version is PostgreSQL 12.", - "The database version is MySQL 8." - ], - "type": "string" - }, - "type": "array" - }, - "inBeta": { - "description": "Whether or not the flag is considered in beta.", - "type": "boolean" - }, - "kind": { - "description": "This is always *sql#flag*.", - "type": "string" - }, - "maxValue": { - "description": "For *INTEGER* flags, the maximum allowed value.", - "format": "int64", - "type": "string" - }, - "minValue": { - "description": "For *INTEGER* flags, the minimum allowed value.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "This is the name of the flag. Flag names always use underscores, not hyphens, for example: *max_allowed_packet*", - "type": "string" - }, - "requiresRestart": { - "description": "Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances.", - "type": "boolean" - }, - "type": { - "description": "The type of the flag. Flags are typed to being *BOOLEAN*, *STRING*, *INTEGER* or *NONE*. *NONE* is used for flags which do not take a value, such as *skip_grant_tables*.", - "enum": [ - "SQL_FLAG_TYPE_UNSPECIFIED", - "BOOLEAN", - "STRING", - "INTEGER", - "NONE", - "MYSQL_TIMEZONE_OFFSET", - "FLOAT", - "REPEATED_STRING" - ], - "enumDescriptions": [ - "This is an unknown flag type.", - "Boolean type flag.", - "String type flag.", - "Integer type flag.", - "Flag type used for a server startup option.", - "Type introduced specically for MySQL TimeZone offset. Accept a string value with the format [-12:59, 13:00].", - "Float type flag.", - "Comma-separated list of the strings in a SqlFlagType enum." - ], - "type": "string" - } - }, - "type": "object" - }, - "FlagsListResponse": { - "description": "Flags list response.", - "id": "FlagsListResponse", - "properties": { - "items": { - "description": "List of flags.", - "items": { - "$ref": "Flag" - }, - "type": "array" - }, - "kind": { - "description": "This is always *sql#flagsList*.", - "type": "string" - } - }, - "type": "object" - }, - "ImportContext": { - "description": "Database instance import context.", - "id": "ImportContext", - "properties": { - "bakImportOptions": { - "description": "Import parameters specific to SQL Server .BAK files", - "properties": { - "encryptionOptions": { - "properties": { - "certPath": { - "description": "Path to the Certificate (.cer) in Cloud Storage, in the form *gs://bucketName/fileName*. The instance must have write permissions to the bucket and read access to the file.", - "type": "string" - }, - "pvkPassword": { - "description": "Password that encrypts the private key", - "type": "string" - }, - "pvkPath": { - "description": "Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form *gs://bucketName/fileName*. The instance must have write permissions to the bucket and read access to the file.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "csvImportOptions": { - "description": "Options for importing data as CSV.", - "properties": { - "columns": { - "description": "The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.", - "items": { - "type": "string" - }, - "type": "array" - }, - "table": { - "description": "The table to which CSV data is imported.", - "type": "string" - } - }, - "type": "object" - }, - "database": { - "description": "The target database for the import. If *fileType* is *SQL*, this field is required only if the import file does not specify a database, and is overridden by any database specification in the import file. If *fileType* is *CSV*, one database must be specified.", - "type": "string" - }, - "fileType": { - "description": "The file type for the specified uri. *SQL*: The file contains SQL statements. *CSV*: The file contains CSV data.", - "enum": [ - "SQL_FILE_TYPE_UNSPECIFIED", - "SQL", - "CSV", - "BAK" - ], - "enumDescriptions": [ - "Unknown file type.", - "File containing SQL statements.", - "File in CSV format.", - "" - ], - "type": "string" - }, - "importUser": { - "description": "The PostgreSQL user for this import operation. PostgreSQL instances only.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#importContext*.", - "type": "string" - }, - "uri": { - "description": "Path to the import file in Cloud Storage, in the form *gs: //bucketName/fileName*. Compressed gzip files (.gz) are supported // when *fileType* is *SQL*. The instance must have // write permissions to the bucket and read access to the file.", - "type": "string" - } - }, - "type": "object" - }, - "InstancesCloneRequest": { - "description": "Database instance clone request.", - "id": "InstancesCloneRequest", - "properties": { - "cloneContext": { - "$ref": "CloneContext", - "description": "Contains details about the clone operation." - } - }, - "type": "object" - }, - "InstancesDemoteMasterRequest": { - "description": "Database demote master request.", - "id": "InstancesDemoteMasterRequest", - "properties": { - "demoteMasterContext": { - "$ref": "DemoteMasterContext", - "description": "Contains details about the demoteMaster operation." - } - }, - "type": "object" - }, - "InstancesExportRequest": { - "description": "Database instance export request.", - "id": "InstancesExportRequest", - "properties": { - "exportContext": { - "$ref": "ExportContext", - "description": "Contains details about the export operation." - } - }, - "type": "object" - }, - "InstancesFailoverRequest": { - "description": "Instance failover request.", - "id": "InstancesFailoverRequest", - "properties": { - "failoverContext": { - "$ref": "FailoverContext", - "description": "Failover Context." - } - }, - "type": "object" - }, - "InstancesImportRequest": { - "description": "Database instance import request.", - "id": "InstancesImportRequest", - "properties": { - "importContext": { - "$ref": "ImportContext", - "description": "Contains details about the import operation." - } - }, - "type": "object" - }, - "InstancesListResponse": { - "description": "Database instances list response.", - "id": "InstancesListResponse", - "properties": { - "items": { - "description": "List of database instance resources.", - "items": { - "$ref": "DatabaseInstance" - }, - "type": "array" - }, - "kind": { - "description": "This is always *sql#instancesList*.", - "type": "string" - }, - "nextPageToken": { - "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", - "type": "string" - }, - "warnings": { - "description": "List of warnings that occurred while handling the request.", - "items": { - "$ref": "ApiWarning" - }, - "type": "array" - } - }, - "type": "object" - }, - "InstancesListServerCasResponse": { - "description": "Instances ListServerCas response.", - "id": "InstancesListServerCasResponse", - "properties": { - "activeVersion": { - "type": "string" - }, - "certs": { - "description": "List of server CA certificates for the instance.", - "items": { - "$ref": "SslCert" - }, - "type": "array" - }, - "kind": { - "description": "This is always *sql#instancesListServerCas*.", - "type": "string" - } - }, - "type": "object" - }, - "InstancesRestoreBackupRequest": { - "description": "Database instance restore backup request.", - "id": "InstancesRestoreBackupRequest", - "properties": { - "restoreBackupContext": { - "$ref": "RestoreBackupContext", - "description": "Parameters required to perform the restore backup operation." - } - }, - "type": "object" - }, - "InstancesRotateServerCaRequest": { - "description": "Rotate Server CA request.", - "id": "InstancesRotateServerCaRequest", - "properties": { - "rotateServerCaContext": { - "$ref": "RotateServerCaContext", - "description": "Contains details about the rotate server CA operation." - } - }, - "type": "object" - }, - "InstancesTruncateLogRequest": { - "description": "Instance truncate log request.", - "id": "InstancesTruncateLogRequest", - "properties": { - "truncateLogContext": { - "$ref": "TruncateLogContext", - "description": "Contains details about the truncate log operation." - } - }, - "type": "object" - }, - "IpConfiguration": { - "description": "IP Management configuration.", - "id": "IpConfiguration", - "properties": { - "authorizedNetworks": { - "description": "The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example: *192.168.100.0/24*).", - "items": { - "$ref": "AclEntry" - }, - "type": "array" - }, - "ipv4Enabled": { - "description": "Whether the instance is assigned a public IP address or not.", - "type": "boolean" - }, - "privateNetwork": { - "description": "The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, */projects/myProject/global/networks/default*. This setting can be updated, but it cannot be removed after it is set.", - "type": "string" - }, - "requireSsl": { - "description": "Whether SSL connections over IP are enforced or not.", - "type": "boolean" - } - }, - "type": "object" - }, - "IpMapping": { - "description": "Database instance IP Mapping.", - "id": "IpMapping", - "properties": { - "ipAddress": { - "description": "The IP address assigned.", - "type": "string" - }, - "timeToRetire": { - "description": "The due time for this IP to be retired in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*. This field is only available when the IP is scheduled to be retired.", - "format": "google-datetime", - "type": "string" - }, - "type": { - "description": "The type of this IP address. A *PRIMARY* address is a public address that can accept incoming connections. A *PRIVATE* address is a private address that can accept incoming connections. An *OUTGOING* address is the source address of connections originating from the instance, if supported.", - "enum": [ - "SQL_IP_ADDRESS_TYPE_UNSPECIFIED", - "PRIMARY", - "OUTGOING", - "PRIVATE", - "MIGRATED_1ST_GEN" - ], - "enumDescriptions": [ - "This is an unknown IP address type.", - "IP address the customer is supposed to connect to. Usually this is the load balancer's IP address", - "Source IP address of the connection a read replica establishes to its external master. This IP address can be allowlisted by the customer in case it has a firewall that filters incoming connection to its on premises master.", - "Private IP used when using private IPs and network peering.", - "V1 IP of a migrated instance. We want the user to decommission this IP as soon as the migration is complete. Note: V1 instances with V1 ip addresses will be counted as PRIMARY." - ], - "type": "string" - } - }, - "type": "object" - }, - "LocationPreference": { - "description": "Preferred location. This specifies where a Cloud SQL instance is located, either in a specific Compute Engine zone, or co-located with an App Engine application. Note that if the preferred location is not available, the instance will be located as close as possible within the region. Only one location may be specified.", - "id": "LocationPreference", - "properties": { - "followGaeApplication": { - "description": "The App Engine application to follow, it must be in the same region as the Cloud SQL instance.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#locationPreference*.", - "type": "string" - }, - "zone": { - "description": "The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.).", - "type": "string" - } - }, - "type": "object" - }, - "MaintenanceWindow": { - "description": "Maintenance window. This specifies when a Cloud SQL instance is restarted for system maintenance purposes.", - "id": "MaintenanceWindow", - "properties": { - "day": { - "description": "day of week (1-7), starting on Monday.", - "format": "int32", - "type": "integer" - }, - "hour": { - "description": "hour of day - 0 to 23.", - "format": "int32", - "type": "integer" - }, - "kind": { - "description": "This is always *sql#maintenanceWindow*.", - "type": "string" - }, - "updateTrack": { - "description": "Maintenance timing setting: *canary* (Earlier) or *stable* (Later). Learn more.", - "enum": [ - "SQL_UPDATE_TRACK_UNSPECIFIED", - "canary", - "stable" - ], - "enumDescriptions": [ - "This is an unknown maintenance timing preference.", - "For instance update that requires a restart, this update track indicates your instance prefer to restart for new version early in maintenance window.", - "For instance update that requires a restart, this update track indicates your instance prefer to let Cloud SQL choose the timing of restart (within its Maintenance window, if applicable)." - ], - "type": "string" - } - }, - "type": "object" - }, - "MySqlReplicaConfiguration": { - "description": "Read-replica configuration specific to MySQL databases.", - "id": "MySqlReplicaConfiguration", - "properties": { - "caCertificate": { - "description": "PEM representation of the trusted CA's x509 certificate.", - "type": "string" - }, - "clientCertificate": { - "description": "PEM representation of the replica's x509 certificate.", - "type": "string" - }, - "clientKey": { - "description": "PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.", - "type": "string" - }, - "connectRetryInterval": { - "description": "Seconds to wait between connect retries. MySQL's default is 60 seconds.", - "format": "int32", - "type": "integer" - }, - "dumpFilePath": { - "description": "Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#mysqlReplicaConfiguration*.", - "type": "string" - }, - "masterHeartbeatPeriod": { - "description": "Interval in milliseconds between replication heartbeats.", - "format": "int64", - "type": "string" - }, - "password": { - "description": "The password for the replication connection.", - "type": "string" - }, - "sslCipher": { - "description": "A list of permissible ciphers to use for SSL encryption.", - "type": "string" - }, - "username": { - "description": "The username for the replication connection.", - "type": "string" - }, - "verifyServerCertificate": { - "description": "Whether or not to check the master's Common Name value in the certificate that it sends during the SSL handshake.", - "type": "boolean" - } - }, - "type": "object" - }, - "OnPremisesConfiguration": { - "description": "On-premises instance configuration.", - "id": "OnPremisesConfiguration", - "properties": { - "caCertificate": { - "description": "PEM representation of the trusted CA's x509 certificate.", - "type": "string" - }, - "clientCertificate": { - "description": "PEM representation of the replica's x509 certificate.", - "type": "string" - }, - "clientKey": { - "description": "PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.", - "type": "string" - }, - "dumpFilePath": { - "description": "The dump file to create the Cloud SQL replica.", - "type": "string" - }, - "hostPort": { - "description": "The host and port of the on-premises instance in host:port format", - "type": "string" - }, - "kind": { - "description": "This is always *sql#onPremisesConfiguration*.", - "type": "string" - }, - "password": { - "description": "The password for connecting to on-premises instance.", - "type": "string" - }, - "username": { - "description": "The username for connecting to on-premises instance.", - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "An Operation resource. For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.", - "id": "Operation", - "properties": { - "endTime": { - "description": "The time this operation finished in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.", - "format": "google-datetime", - "type": "string" - }, - "error": { - "$ref": "OperationErrors", - "description": "If errors occurred during processing of this operation, this field will be populated." - }, - "exportContext": { - "$ref": "ExportContext", - "description": "The context for export operation, if applicable." - }, - "importContext": { - "$ref": "ImportContext", - "description": "The context for import operation, if applicable." - }, - "insertTime": { - "description": "The time this operation was enqueued in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.", - "format": "google-datetime", - "type": "string" - }, - "kind": { - "description": "This is always *sql#operation*.", - "type": "string" - }, - "name": { - "description": "An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.", - "type": "string" - }, - "operationType": { - "description": "The type of the operation. Valid values are: *CREATE* *DELETE* *UPDATE* *RESTART* *IMPORT* *EXPORT* *BACKUP_VOLUME* *RESTORE_VOLUME* *CREATE_USER* *DELETE_USER* *CREATE_DATABASE* *DELETE_DATABASE*", - "enum": [ - "SQL_OPERATION_TYPE_UNSPECIFIED", - "IMPORT", - "EXPORT", - "CREATE", - "UPDATE", - "DELETE", - "RESTART", - "BACKUP", - "SNAPSHOT", - "BACKUP_VOLUME", - "DELETE_VOLUME", - "RESTORE_VOLUME", - "INJECT_USER", - "CLONE", - "STOP_REPLICA", - "START_REPLICA", - "PROMOTE_REPLICA", - "CREATE_REPLICA", - "CREATE_USER", - "DELETE_USER", - "UPDATE_USER", - "CREATE_DATABASE", - "DELETE_DATABASE", - "UPDATE_DATABASE", - "FAILOVER", - "DELETE_BACKUP", - "RECREATE_REPLICA", - "TRUNCATE_LOG", - "DEMOTE_MASTER", - "MAINTENANCE", - "ENABLE_PRIVATE_IP", - "DEFER_MAINTENANCE", - "CREATE_CLONE", - "RESCHEDULE_MAINTENANCE", - "START_EXTERNAL_SYNC" - ], - "enumDescriptions": [ - "Unknown operation type.", - "Imports data into a Cloud SQL instance.", - "Exports data from a Cloud SQL instance to a Cloud Storage bucket.", - "Creates a new Cloud SQL instance.", - "Updates the settings of a Cloud SQL instance.", - "Deletes a Cloud SQL instance.", - "Restarts the Cloud SQL instance.", - "", - "", - "Performs instance backup.", - "Deletes an instance backup.", - "Restores an instance backup.", - "Injects a privileged user in mysql for MOB instances.", - "Clones a Cloud SQL instance.", - "Stops replication on a Cloud SQL read replica instance.", - "Starts replication on a Cloud SQL read replica instance.", - "Promotes a Cloud SQL replica instance.", - "Creates a Cloud SQL replica instance.", - "Creates a new user in a Cloud SQL instance.", - "Deletes a user from a Cloud SQL instance.", - "Updates an existing user in a Cloud SQL instance.", - "Creates a database in the Cloud SQL instance.", - "Deletes a database in the Cloud SQL instance.", - "Updates a database in the Cloud SQL instance.", - "Performs failover of an HA-enabled Cloud SQL failover replica.", - "Deletes the backup taken by a backup run.", - "", - "Truncates a general or slow log table in MySQL.", - "Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.", - "Indicates that the instance is currently in maintenance. Maintenance typically causes the instance to be unavailable for 1-3 minutes.", - "This field is deprecated, and will be removed in future version of API.", - "", - "Creates clone instance.", - "Reschedule maintenance to another time.", - "Starts external sync of a Cloud SQL EM replica to an external master." - ], - "type": "string" - }, - "selfLink": { - "description": "The URI of this resource.", - "type": "string" - }, - "startTime": { - "description": "The time this operation actually started in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.", - "format": "google-datetime", - "type": "string" - }, - "status": { - "description": "The status of an operation. Valid values are: *PENDING* *RUNNING* *DONE* *SQL_OPERATION_STATUS_UNSPECIFIED*", - "enum": [ - "SQL_OPERATION_STATUS_UNSPECIFIED", - "PENDING", - "RUNNING", - "DONE" - ], - "enumDescriptions": [ - "The state of the operation is unknown.", - "The operation has been queued, but has not started yet.", - "The operation is running.", - "The operation completed." - ], - "type": "string" - }, - "targetId": { - "description": "Name of the database instance related to this operation.", - "type": "string" - }, - "targetLink": { - "type": "string" - }, - "targetProject": { - "description": "The project ID of the target instance related to this operation.", - "type": "string" - }, - "user": { - "description": "The email address of the user who initiated this operation.", - "type": "string" - } - }, - "type": "object" - }, - "OperationError": { - "description": "Database instance operation error.", - "id": "OperationError", - "properties": { - "code": { - "description": "Identifies the specific error that occurred.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#operationError*.", - "type": "string" - }, - "message": { - "description": "Additional information about the error encountered.", - "type": "string" - } - }, - "type": "object" - }, - "OperationErrors": { - "description": "Database instance operation errors list wrapper.", - "id": "OperationErrors", - "properties": { - "errors": { - "description": "The list of errors encountered while processing this operation.", - "items": { - "$ref": "OperationError" - }, - "type": "array" - }, - "kind": { - "description": "This is always *sql#operationErrors*.", - "type": "string" - } - }, - "type": "object" - }, - "OperationsListResponse": { - "description": "Database instance list operations response.", - "id": "OperationsListResponse", - "properties": { - "items": { - "description": "List of operation resources.", - "items": { - "$ref": "Operation" - }, - "type": "array" - }, - "kind": { - "description": "This is always *sql#operationsList*.", - "type": "string" - }, - "nextPageToken": { - "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "ReplicaConfiguration": { - "description": "Read-replica configuration for connecting to the master.", - "id": "ReplicaConfiguration", - "properties": { - "failoverTarget": { - "description": "Specifies if the replica is the failover target. If the field is set to *true* the replica will be designated as a failover replica. In case the master instance fails, the replica instance will be promoted as the new master instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the master instance.", - "type": "boolean" - }, - "kind": { - "description": "This is always *sql#replicaConfiguration*.", - "type": "string" - }, - "mysqlReplicaConfiguration": { - "$ref": "MySqlReplicaConfiguration", - "description": "MySQL specific configuration when replicating from a MySQL on-premises master. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named *master.info* in the data directory." - } - }, - "type": "object" - }, - "Reschedule": { - "id": "Reschedule", - "properties": { - "rescheduleType": { - "description": "Required. The type of the reschedule.", - "enum": [ - "RESCHEDULE_TYPE_UNSPECIFIED", - "IMMEDIATE", - "NEXT_AVAILABLE_WINDOW", - "SPECIFIC_TIME" - ], - "enumDescriptions": [ - "", - "If the user wants to schedule the maintenance to happen now.", - "If the user wants to use the existing maintenance policy to find the next available window.", - "If the user wants to reschedule the maintenance to a specific time." - ], - "type": "string" - }, - "scheduleTime": { - "description": "Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "RestoreBackupContext": { - "description": "Database instance restore from backup context. Backup context contains source instance id and project id.", - "id": "RestoreBackupContext", - "properties": { - "backupRunId": { - "description": "The ID of the backup run to restore from.", - "format": "int64", - "type": "string" - }, - "instanceId": { - "description": "The ID of the instance that the backup was taken from.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#restoreBackupContext*.", - "type": "string" - }, - "project": { - "description": "The full project ID of the source instance.", - "type": "string" - } - }, - "type": "object" - }, - "RotateServerCaContext": { - "description": "Instance rotate server CA context.", - "id": "RotateServerCaContext", - "properties": { - "kind": { - "description": "This is always *sql#rotateServerCaContext*.", - "type": "string" - }, - "nextVersion": { - "description": "The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server CA version.", - "type": "string" - } - }, - "type": "object" - }, - "Settings": { - "description": "Database instance settings.", - "id": "Settings", - "properties": { - "activationPolicy": { - "description": "The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: *ALWAYS*: The instance is on, and remains so even in the absence of connection requests. *NEVER*: The instance is off; it is not activated, even if a connection request arrives.", - "enum": [ - "SQL_ACTIVATION_POLICY_UNSPECIFIED", - "ALWAYS", - "NEVER", - "ON_DEMAND" - ], - "enumDescriptions": [ - "Unknown activation plan.", - "The instance is always up and running.", - "The instance never starts.", - "The instance starts upon receiving requests." - ], - "type": "string" - }, - "authorizedGaeApplications": { - "description": "The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.", - "items": { - "type": "string" - }, - "type": "array" - }, - "availabilityType": { - "description": "Availability type. Potential values: *ZONAL*: The instance serves data from only one zone. Outages in that zone affect data accessibility. *REGIONAL*: The instance can serve data from more than one zone in a region (it is highly available). For more information, see Overview of the High Availability Configuration.", - "enum": [ - "SQL_AVAILABILITY_TYPE_UNSPECIFIED", - "ZONAL", - "REGIONAL" - ], - "enumDescriptions": [ - "This is an unknown Availability type.", - "Zonal available instance.", - "Regional available instance." - ], - "type": "string" - }, - "backupConfiguration": { - "$ref": "BackupConfiguration", - "description": "The daily backup configuration for the instance." - }, - "collation": { - "description": "The name of server Instance collation.", - "type": "string" - }, - "crashSafeReplicationEnabled": { - "description": "Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.", - "type": "boolean" - }, - "dataDiskSizeGb": { - "description": "The size of data disk, in GB. The data disk size minimum is 10GB.", - "format": "int64", - "type": "string" - }, - "dataDiskType": { - "description": "The type of data disk: PD_SSD (default) or PD_HDD. Not used for First Generation instances.", - "enum": [ - "SQL_DATA_DISK_TYPE_UNSPECIFIED", - "PD_SSD", - "PD_HDD", - "OBSOLETE_LOCAL_SSD" - ], - "enumDescriptions": [ - "This is an unknown data disk type.", - "An SSD data disk.", - "An HDD data disk.", - "This field is deprecated and will be removed from a future version of the API." - ], - "type": "string" - }, - "databaseFlags": { - "description": "The database flags passed to the instance at startup.", - "items": { - "$ref": "DatabaseFlags" - }, - "type": "array" - }, - "databaseReplicationEnabled": { - "description": "Configuration specific to read replica instances. Indicates whether replication is enabled or not.", - "type": "boolean" - }, - "ipConfiguration": { - "$ref": "IpConfiguration", - "description": "The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances." - }, - "kind": { - "description": "This is always *sql#settings*.", - "type": "string" - }, - "locationPreference": { - "$ref": "LocationPreference", - "description": "The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances." - }, - "maintenanceWindow": { - "$ref": "MaintenanceWindow", - "description": "The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes." - }, - "pricingPlan": { - "description": "The pricing plan for this instance. This can be either *PER_USE* or *PACKAGE*. Only *PER_USE* is supported for Second Generation instances.", - "enum": [ - "SQL_PRICING_PLAN_UNSPECIFIED", - "PACKAGE", - "PER_USE" - ], - "enumDescriptions": [ - "This is an unknown pricing plan for this instance.", - "The instance is billed at a monthly flat rate.", - "The instance is billed per usage." - ], - "type": "string" - }, - "replicationType": { - "description": "The type of replication this instance uses. This can be either *ASYNCHRONOUS* or *SYNCHRONOUS*. (Deprecated_ This property was only applicable to First Generation instances.", - "enum": [ - "SQL_REPLICATION_TYPE_UNSPECIFIED", - "SYNCHRONOUS", - "ASYNCHRONOUS" - ], - "enumDescriptions": [ - "This is an unknown replication type for a Cloud SQL instance.", - "The synchronous replication mode for First Generation instances. It is the default value.", - "The asynchronous replication mode for First Generation instances. It provides a slight performance gain, but if an outage occurs while this option is set to asynchronous, you can lose up to a few seconds of updates to your data." - ], - "type": "string" - }, - "settingsVersion": { - "description": "The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.", - "format": "int64", - "type": "string" - }, - "storageAutoResize": { - "description": "Configuration to increase storage size automatically. The default value is true.", - "type": "boolean" - }, - "storageAutoResizeLimit": { - "description": "The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.", - "format": "int64", - "type": "string" - }, - "tier": { - "description": "The tier (or machine type) for this instance, for example *db-n1-standard-1* (MySQL instances) or *db-custom-1-3840* (PostgreSQL instances).", - "type": "string" - }, - "userLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "User-provided labels, represented as a dictionary where each label is a single key value pair.", - "type": "object" - } - }, - "type": "object" - }, - "SqlExternalSyncSettingError": { - "description": "External master migration setting error.", - "id": "SqlExternalSyncSettingError", - "properties": { - "detail": { - "description": "Additional information about the error encountered.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#migrationSettingError*.", - "type": "string" - }, - "type": { - "description": "Identifies the specific error that occurred.", - "enum": [ - "SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED", - "CONNECTION_FAILURE", - "BINLOG_NOT_ENABLED", - "INCOMPATIBLE_DATABASE_VERSION", - "REPLICA_ALREADY_SETUP", - "INSUFFICIENT_PRIVILEGE", - "UNSUPPORTED_MIGRATION_TYPE", - "NO_PGLOGICAL_INSTALLED", - "PGLOGICAL_NODE_ALREADY_EXISTS", - "INVALID_WAL_LEVEL", - "INVALID_SHARED_PRELOAD_LIBRARY", - "INSUFFICIENT_MAX_REPLICATION_SLOTS", - "INSUFFICIENT_MAX_WAL_SENDERS", - "INSUFFICIENT_MAX_WORKER_PROCESSES", - "UNSUPPORTED_EXTENSIONS", - "INVALID_RDS_LOGICAL_REPLICATION", - "INVALID_LOGGING_SETUP", - "INVALID_DB_PARAM", - "UNSUPPORTED_GTID_MODE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "Unsupported migration type.", - "No pglogical extension installed on databases, applicable for postgres.", - "pglogical node already exists on databases, applicable for postgres.", - "The value of parameter wal_level is not set to logical.", - "The value of parameter shared_preload_libraries does not include pglogical.", - "The value of parameter max_replication_slots is not sufficient.", - "The value of parameter max_wal_senders is not sufficient.", - "The value of parameter max_worker_processes is not sufficient.", - "Extensions installed are either not supported or having unsupported versions", - "The value of parameter rds.logical_replication is not set to 1.", - "The master logging setup doesn't allow EM sync.", - "The master database parameter setup doesn't allow EM sync.", - "The gtid_mode is not supported, applicable for MySQL." - ], - "type": "string" - } - }, - "type": "object" - }, - "SqlInstancesRescheduleMaintenanceRequestBody": { - "description": "Reschedule options for maintenance windows.", - "id": "SqlInstancesRescheduleMaintenanceRequestBody", - "properties": { - "reschedule": { - "$ref": "Reschedule", - "description": "Required. The type of the reschedule the user wants." - } - }, - "type": "object" - }, - "SqlInstancesVerifyExternalSyncSettingsResponse": { - "description": "Instance verify external sync settings response.", - "id": "SqlInstancesVerifyExternalSyncSettingsResponse", - "properties": { - "errors": { - "description": "List of migration violations.", - "items": { - "$ref": "SqlExternalSyncSettingError" - }, - "type": "array" - }, - "kind": { - "description": "This is always *sql#migrationSettingErrorList*.", - "type": "string" - } - }, - "type": "object" - }, - "SqlScheduledMaintenance": { - "description": "Any scheduled maintenancce for this instance.", - "id": "SqlScheduledMaintenance", - "properties": { - "canDefer": { - "type": "boolean" - }, - "canReschedule": { - "description": "If the scheduled maintenance can be rescheduled.", - "type": "boolean" - }, - "startTime": { - "description": "The start time of any upcoming scheduled maintenance for this instance.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "SqlServerDatabaseDetails": { - "description": "Represents a Sql Server database on the Cloud SQL instance.", - "id": "SqlServerDatabaseDetails", - "properties": { - "compatibilityLevel": { - "description": "The version of SQL Server with which the database is to be made compatible", - "format": "int32", - "type": "integer" - }, - "recoveryModel": { - "description": "The recovery model of a SQL Server database", - "type": "string" - } - }, - "type": "object" - }, - "SqlServerUserDetails": { - "description": "Represents a Sql Server user on the Cloud SQL instance.", - "id": "SqlServerUserDetails", - "properties": { - "disabled": { - "description": "If the user has been disabled", - "type": "boolean" - }, - "serverRoles": { - "description": "The server roles for this user", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "SslCert": { - "description": "SslCerts Resource", - "id": "SslCert", - "properties": { - "cert": { - "description": "PEM representation.", - "type": "string" - }, - "certSerialNumber": { - "description": "Serial number, as extracted from the certificate.", - "type": "string" - }, - "commonName": { - "description": "User supplied name. Constrained to [a-zA-Z.-_ ]+.", - "type": "string" - }, - "createTime": { - "description": "The time when the certificate was created in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*", - "format": "google-datetime", - "type": "string" - }, - "expirationTime": { - "description": "The time when the certificate expires in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.", - "format": "google-datetime", - "type": "string" - }, - "instance": { - "description": "Name of the database instance.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#sslCert*.", - "type": "string" - }, - "selfLink": { - "description": "The URI of this resource.", - "type": "string" - }, - "sha1Fingerprint": { - "description": "Sha1 Fingerprint.", - "type": "string" - } - }, - "type": "object" - }, - "SslCertDetail": { - "description": "SslCertDetail.", - "id": "SslCertDetail", - "properties": { - "certInfo": { - "$ref": "SslCert", - "description": "The public information about the cert." - }, - "certPrivateKey": { - "description": "The private key for the client cert, in pem format. Keep private in order to protect your security.", - "type": "string" - } - }, - "type": "object" - }, - "SslCertsCreateEphemeralRequest": { - "description": "SslCerts create ephemeral certificate request.", - "id": "SslCertsCreateEphemeralRequest", - "properties": { - "public_key": { - "description": "PEM encoded public key to include in the signed certificate.", - "type": "string" - } - }, - "type": "object" - }, - "SslCertsInsertRequest": { - "description": "SslCerts insert request.", - "id": "SslCertsInsertRequest", - "properties": { - "commonName": { - "description": "User supplied name. Must be a distinct name from the other certificates for this instance.", - "type": "string" - } - }, - "type": "object" - }, - "SslCertsInsertResponse": { - "description": "SslCert insert response.", - "id": "SslCertsInsertResponse", - "properties": { - "clientCert": { - "$ref": "SslCertDetail", - "description": "The new client certificate and private key." - }, - "kind": { - "description": "This is always *sql#sslCertsInsert*.", - "type": "string" - }, - "operation": { - "$ref": "Operation", - "description": "The operation to track the ssl certs insert request." - }, - "serverCaCert": { - "$ref": "SslCert", - "description": "The server Certificate Authority's certificate. If this is missing you can force a new one to be generated by calling resetSslConfig method on instances resource." - } - }, - "type": "object" - }, - "SslCertsListResponse": { - "description": "SslCerts list response.", - "id": "SslCertsListResponse", - "properties": { - "items": { - "description": "List of client certificates for the instance.", - "items": { - "$ref": "SslCert" - }, - "type": "array" - }, - "kind": { - "description": "This is always *sql#sslCertsList*.", - "type": "string" - } - }, - "type": "object" - }, - "Tier": { - "description": "A Google Cloud SQL service tier resource.", - "id": "Tier", - "properties": { - "DiskQuota": { - "description": "The maximum disk size of this tier in bytes.", - "format": "int64", - "type": "string" - }, - "RAM": { - "description": "The maximum RAM usage of this tier in bytes.", - "format": "int64", - "type": "string" - }, - "kind": { - "description": "This is always *sql#tier*.", - "type": "string" - }, - "region": { - "description": "The applicable regions for this tier.", - "items": { - "type": "string" - }, - "type": "array" - }, - "tier": { - "description": "An identifier for the machine type, for example, db-n1-standard-1. For related information, see Pricing.", - "type": "string" - } - }, - "type": "object" - }, - "TiersListResponse": { - "description": "Tiers list response.", - "id": "TiersListResponse", - "properties": { - "items": { - "description": "List of tiers.", - "items": { - "$ref": "Tier" - }, - "type": "array" - }, - "kind": { - "description": "This is always *sql#tiersList*.", - "type": "string" - } - }, - "type": "object" - }, - "TruncateLogContext": { - "description": "Database Instance truncate log context.", - "id": "TruncateLogContext", - "properties": { - "kind": { - "description": "This is always *sql#truncateLogContext*.", - "type": "string" - }, - "logType": { - "description": "The type of log to truncate. Valid values are *MYSQL_GENERAL_TABLE* and *MYSQL_SLOW_TABLE*.", - "type": "string" - } - }, - "type": "object" - }, - "User": { - "description": "A Cloud SQL user resource.", - "id": "User", - "properties": { - "etag": { - "description": "This field is deprecated and will be removed from a future version of the API.", - "type": "string" - }, - "host": { - "description": "The host name from which the user can connect. For *insert* operations, host defaults to an empty string. For *update* operations, host is specified as part of the request URL. The host name cannot be updated after insertion.", - "type": "string" - }, - "instance": { - "description": "The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for *update* since it is already specified on the URL.", - "type": "string" - }, - "kind": { - "description": "This is always *sql#user*.", - "type": "string" - }, - "name": { - "description": "The name of the user in the Cloud SQL instance. Can be omitted for *update* since it is already specified in the URL.", - "type": "string" - }, - "password": { - "description": "The password for the user.", - "type": "string" - }, - "project": { - "description": "The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for *update* since it is already specified on the URL.", - "type": "string" - }, - "sqlserverUserDetails": { - "$ref": "SqlServerUserDetails" - }, - "type": { - "description": "The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.", - "enum": [ - "BUILT_IN", - "CLOUD_IAM_USER", - "CLOUD_IAM_SERVICE_ACCOUNT" - ], - "enumDescriptions": [ - "The database's built-in user type.", - "Cloud IAM user.", - "Cloud IAM service account." - ], - "type": "string" - } - }, - "type": "object" - }, - "UsersListResponse": { - "description": "User list response.", - "id": "UsersListResponse", - "properties": { - "items": { - "description": "List of user resources in the instance.", - "items": { - "$ref": "User" - }, - "type": "array" - }, - "kind": { - "description": "This is always *sql#usersList*.", - "type": "string" - }, - "nextPageToken": { - "description": "An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Cloud SQL Admin API", - "version": "v1beta4" -} \ No newline at end of file diff --git a/discovery/sqladmin-v1.json b/discovery/sqladmin-v1.json index 007136cd836..61d90d27f81 100644 --- a/discovery/sqladmin-v1.json +++ b/discovery/sqladmin-v1.json @@ -234,7 +234,7 @@ ] }, "UpdateBackup": { - "description": "This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only.", + "description": "Updates the retention period and description of the backup. You can use this API to update final backups only.", "flatPath": "v1/projects/{projectsId}/backups/{backupsId}", "httpMethod": "PATCH", "id": "sql.Backups.UpdateBackup", @@ -250,7 +250,7 @@ "type": "string" }, "updateMask": { - "description": "The list of fields that you can update. 1- You can update only the description and retention period for a final backup. 2- You can update only the gcbdr_soft_delete_status for GCBDR managed backup.", + "description": "The list of fields that you can update. You can update only the description and retention period of the final backup.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2594,7 +2594,7 @@ } } }, - "revision": "20250427", + "revision": "20250502", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { diff --git a/discovery/sqladmin-v1beta4.json b/discovery/sqladmin-v1beta4.json index 71c89da3b9b..6bd83c46bea 100644 --- a/discovery/sqladmin-v1beta4.json +++ b/discovery/sqladmin-v1beta4.json @@ -396,7 +396,7 @@ ] }, "updateBackup": { - "description": "This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only.", + "description": "Updates the retention period and the description of the backup. You can use this API to update final backups only.", "flatPath": "sql/v1beta4/projects/{projectsId}/backups/{backupsId}", "httpMethod": "PATCH", "id": "sql.backups.updateBackup", @@ -412,7 +412,7 @@ "type": "string" }, "updateMask": { - "description": "The list of fields that you can update. 1- You can update only the description and retention period for a final backup. 2- You can update only the gcbdr_soft_delete_status for GCBDR managed backup.", + "description": "The list of fields that you can update. You can update only the description and retention period of the final backup.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2594,7 +2594,7 @@ } } }, - "revision": "20250427", + "revision": "20250502", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { diff --git a/discovery/storage-v1.json b/discovery/storage-v1.json index 3d82bb4d974..eac81179d60 100644 --- a/discovery/storage-v1.json +++ b/discovery/storage-v1.json @@ -236,9 +236,14 @@ "description": "Regional Endpoint", "endpointUrl": "https://storage.northamerica-northeast1.rep.googleapis.com/", "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://storage.europe-north2.rep.googleapis.com/", + "location": "europe-north2" } ], - "etag": "\"38353737343034333936303735343633323432\"", + "etag": "\"38313932303531353034313530333239303931\"", "icons": { "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png", "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png" @@ -4524,7 +4529,7 @@ } } }, - "revision": "20250424", + "revision": "20250509", "rootUrl": "https://storage.googleapis.com/", "schemas": { "AdvanceRelocateBucketOperationRequest": { diff --git a/discovery/storage-v1beta2.json b/discovery/storage-v1beta2.json deleted file mode 100644 index 3fd032576b2..00000000000 --- a/discovery/storage-v1beta2.json +++ /dev/null @@ -1,2345 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/devstorage.full_control": { - "description": "Manage your data and permissions in Google Cloud Storage" - }, - "https://www.googleapis.com/auth/devstorage.read_only": { - "description": "View your data in Google Cloud Storage" - }, - "https://www.googleapis.com/auth/devstorage.read_write": { - "description": "Manage your data in Google Cloud Storage" - } - } - } - }, - "basePath": "/storage/v1beta2/", - "baseUrl": "https://storage.googleapis.com/storage/v1beta2/", - "batchPath": "batch/storage/v1beta2", - "description": "Lets you store and retrieve potentially-large, immutable data objects.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/storage/docs/json_api/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/Ei3kXNBXlSAW2eI6GcaBEFRJ8mk\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png", - "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png" - }, - "id": "storage:v1beta2", - "kind": "discovery#restDescription", - "labels": [ - "labs" - ], - "name": "storage", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "bucketAccessControls": { - "methods": { - "delete": { - "description": "Permanently deletes the ACL entry for the specified entity on the specified bucket.", - "httpMethod": "DELETE", - "id": "storage.bucketAccessControls.delete", - "parameterOrder": [ - "bucket", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/acl/{entity}", - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "get": { - "description": "Returns the ACL entry for the specified entity on the specified bucket.", - "httpMethod": "GET", - "id": "storage.bucketAccessControls.get", - "parameterOrder": [ - "bucket", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/acl/{entity}", - "response": { - "$ref": "BucketAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "insert": { - "description": "Creates a new ACL entry on the specified bucket.", - "httpMethod": "POST", - "id": "storage.bucketAccessControls.insert", - "parameterOrder": [ - "bucket" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/acl", - "request": { - "$ref": "BucketAccessControl" - }, - "response": { - "$ref": "BucketAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "list": { - "description": "Retrieves ACL entries on the specified bucket.", - "httpMethod": "GET", - "id": "storage.bucketAccessControls.list", - "parameterOrder": [ - "bucket" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/acl", - "response": { - "$ref": "BucketAccessControls" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "patch": { - "description": "Updates an ACL entry on the specified bucket. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "storage.bucketAccessControls.patch", - "parameterOrder": [ - "bucket", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/acl/{entity}", - "request": { - "$ref": "BucketAccessControl" - }, - "response": { - "$ref": "BucketAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "update": { - "description": "Updates an ACL entry on the specified bucket.", - "httpMethod": "PUT", - "id": "storage.bucketAccessControls.update", - "parameterOrder": [ - "bucket", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/acl/{entity}", - "request": { - "$ref": "BucketAccessControl" - }, - "response": { - "$ref": "BucketAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - } - } - }, - "buckets": { - "methods": { - "delete": { - "description": "Permanently deletes an empty bucket.", - "httpMethod": "DELETE", - "id": "storage.buckets.delete", - "parameterOrder": [ - "bucket" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationNotMatch": { - "description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - } - }, - "path": "b/{bucket}", - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_write" - ] - }, - "get": { - "description": "Returns metadata for the specified bucket.", - "httpMethod": "GET", - "id": "storage.buckets.get", - "parameterOrder": [ - "bucket" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationNotMatch": { - "description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to noAcl.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit acl and defaultObjectAcl properties." - ], - "location": "query", - "type": "string" - } - }, - "path": "b/{bucket}", - "response": { - "$ref": "Bucket" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_only", - "https://www.googleapis.com/auth/devstorage.read_write" - ] - }, - "insert": { - "description": "Creates a new bucket.", - "httpMethod": "POST", - "id": "storage.buckets.insert", - "parameterOrder": [ - "project" - ], - "parameters": { - "project": { - "description": "A valid API project identifier.", - "location": "query", - "required": true, - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit acl and defaultObjectAcl properties." - ], - "location": "query", - "type": "string" - } - }, - "path": "b", - "request": { - "$ref": "Bucket" - }, - "response": { - "$ref": "Bucket" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_write" - ] - }, - "list": { - "description": "Retrieves a list of buckets for a given project.", - "httpMethod": "GET", - "id": "storage.buckets.list", - "parameterOrder": [ - "project" - ], - "parameters": { - "maxResults": { - "description": "Maximum number of buckets to return.", - "format": "uint32", - "location": "query", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A previously-returned page token representing part of the larger set of results to view.", - "location": "query", - "type": "string" - }, - "project": { - "description": "A valid API project identifier.", - "location": "query", - "required": true, - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to noAcl.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit acl and defaultObjectAcl properties." - ], - "location": "query", - "type": "string" - } - }, - "path": "b", - "response": { - "$ref": "Buckets" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_only", - "https://www.googleapis.com/auth/devstorage.read_write" - ] - }, - "patch": { - "description": "Updates a bucket. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "storage.buckets.patch", - "parameterOrder": [ - "bucket" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationNotMatch": { - "description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to full.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit acl and defaultObjectAcl properties." - ], - "location": "query", - "type": "string" - } - }, - "path": "b/{bucket}", - "request": { - "$ref": "Bucket" - }, - "response": { - "$ref": "Bucket" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_write" - ] - }, - "update": { - "description": "Updates a bucket.", - "httpMethod": "PUT", - "id": "storage.buckets.update", - "parameterOrder": [ - "bucket" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationNotMatch": { - "description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to full.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit acl and defaultObjectAcl properties." - ], - "location": "query", - "type": "string" - } - }, - "path": "b/{bucket}", - "request": { - "$ref": "Bucket" - }, - "response": { - "$ref": "Bucket" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_write" - ] - } - } - }, - "channels": { - "methods": { - "stop": { - "description": "Stop watching resources through this channel", - "httpMethod": "POST", - "id": "storage.channels.stop", - "path": "channels/stop", - "request": { - "$ref": "Channel", - "parameterName": "resource" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_only", - "https://www.googleapis.com/auth/devstorage.read_write" - ] - } - } - }, - "defaultObjectAccessControls": { - "methods": { - "delete": { - "description": "Permanently deletes the default object ACL entry for the specified entity on the specified bucket.", - "httpMethod": "DELETE", - "id": "storage.defaultObjectAccessControls.delete", - "parameterOrder": [ - "bucket", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/defaultObjectAcl/{entity}", - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "get": { - "description": "Returns the default object ACL entry for the specified entity on the specified bucket.", - "httpMethod": "GET", - "id": "storage.defaultObjectAccessControls.get", - "parameterOrder": [ - "bucket", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/defaultObjectAcl/{entity}", - "response": { - "$ref": "ObjectAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "insert": { - "description": "Creates a new default object ACL entry on the specified bucket.", - "httpMethod": "POST", - "id": "storage.defaultObjectAccessControls.insert", - "parameterOrder": [ - "bucket" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/defaultObjectAcl", - "request": { - "$ref": "ObjectAccessControl" - }, - "response": { - "$ref": "ObjectAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "list": { - "description": "Retrieves default object ACL entries on the specified bucket.", - "httpMethod": "GET", - "id": "storage.defaultObjectAccessControls.list", - "parameterOrder": [ - "bucket" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "If present, only return default ACL listing if the bucket's current metageneration matches this value.", - "format": "int64", - "location": "query", - "type": "string" - }, - "ifMetagenerationNotMatch": { - "description": "If present, only return default ACL listing if the bucket's current metageneration does not match the given value.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "b/{bucket}/defaultObjectAcl", - "response": { - "$ref": "ObjectAccessControls" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "patch": { - "description": "Updates a default object ACL entry on the specified bucket. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "storage.defaultObjectAccessControls.patch", - "parameterOrder": [ - "bucket", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/defaultObjectAcl/{entity}", - "request": { - "$ref": "ObjectAccessControl" - }, - "response": { - "$ref": "ObjectAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "update": { - "description": "Updates a default object ACL entry on the specified bucket.", - "httpMethod": "PUT", - "id": "storage.defaultObjectAccessControls.update", - "parameterOrder": [ - "bucket", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/defaultObjectAcl/{entity}", - "request": { - "$ref": "ObjectAccessControl" - }, - "response": { - "$ref": "ObjectAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - } - } - }, - "objectAccessControls": { - "methods": { - "delete": { - "description": "Permanently deletes the ACL entry for the specified entity on the specified object.", - "httpMethod": "DELETE", - "id": "storage.objectAccessControls.delete", - "parameterOrder": [ - "bucket", - "object", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - }, - "generation": { - "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", - "format": "uint64", - "location": "query", - "type": "string" - }, - "object": { - "description": "Name of the object.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/o/{object}/acl/{entity}", - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "get": { - "description": "Returns the ACL entry for the specified entity on the specified object.", - "httpMethod": "GET", - "id": "storage.objectAccessControls.get", - "parameterOrder": [ - "bucket", - "object", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - }, - "generation": { - "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", - "format": "uint64", - "location": "query", - "type": "string" - }, - "object": { - "description": "Name of the object.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/o/{object}/acl/{entity}", - "response": { - "$ref": "ObjectAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "insert": { - "description": "Creates a new ACL entry on the specified object.", - "httpMethod": "POST", - "id": "storage.objectAccessControls.insert", - "parameterOrder": [ - "bucket", - "object" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "generation": { - "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", - "format": "uint64", - "location": "query", - "type": "string" - }, - "object": { - "description": "Name of the object.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/o/{object}/acl", - "request": { - "$ref": "ObjectAccessControl" - }, - "response": { - "$ref": "ObjectAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "list": { - "description": "Retrieves ACL entries on the specified object.", - "httpMethod": "GET", - "id": "storage.objectAccessControls.list", - "parameterOrder": [ - "bucket", - "object" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "generation": { - "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", - "format": "uint64", - "location": "query", - "type": "string" - }, - "object": { - "description": "Name of the object.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/o/{object}/acl", - "response": { - "$ref": "ObjectAccessControls" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "patch": { - "description": "Updates an ACL entry on the specified object. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "storage.objectAccessControls.patch", - "parameterOrder": [ - "bucket", - "object", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - }, - "generation": { - "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", - "format": "uint64", - "location": "query", - "type": "string" - }, - "object": { - "description": "Name of the object.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/o/{object}/acl/{entity}", - "request": { - "$ref": "ObjectAccessControl" - }, - "response": { - "$ref": "ObjectAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - }, - "update": { - "description": "Updates an ACL entry on the specified object.", - "httpMethod": "PUT", - "id": "storage.objectAccessControls.update", - "parameterOrder": [ - "bucket", - "object", - "entity" - ], - "parameters": { - "bucket": { - "description": "Name of a bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "entity": { - "description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", - "location": "path", - "required": true, - "type": "string" - }, - "generation": { - "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", - "format": "uint64", - "location": "query", - "type": "string" - }, - "object": { - "description": "Name of the object.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/o/{object}/acl/{entity}", - "request": { - "$ref": "ObjectAccessControl" - }, - "response": { - "$ref": "ObjectAccessControl" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control" - ] - } - } - }, - "objects": { - "methods": { - "compose": { - "description": "Concatenates a list of existing objects into a new object in the same bucket.", - "httpMethod": "POST", - "id": "storage.objects.compose", - "parameterOrder": [ - "destinationBucket", - "destinationObject" - ], - "parameters": { - "destinationBucket": { - "description": "Name of the bucket containing the source objects. The destination object is stored in this bucket.", - "location": "path", - "required": true, - "type": "string" - }, - "destinationObject": { - "description": "Name of the new object.", - "location": "path", - "required": true, - "type": "string" - }, - "ifGenerationMatch": { - "description": "Makes the operation conditional on whether the object's current generation matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - } - }, - "path": "b/{destinationBucket}/o/{destinationObject}/compose", - "request": { - "$ref": "ComposeRequest" - }, - "response": { - "$ref": "Object" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_write" - ], - "supportsMediaDownload": true - }, - "copy": { - "description": "Copies an object to a destination in the same location. Optionally overrides metadata.", - "httpMethod": "POST", - "id": "storage.objects.copy", - "parameterOrder": [ - "sourceBucket", - "sourceObject", - "destinationBucket", - "destinationObject" - ], - "parameters": { - "destinationBucket": { - "description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.", - "location": "path", - "required": true, - "type": "string" - }, - "destinationObject": { - "description": "Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any.", - "location": "path", - "required": true, - "type": "string" - }, - "ifGenerationMatch": { - "description": "Makes the operation conditional on whether the destination object's current generation matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifGenerationNotMatch": { - "description": "Makes the operation conditional on whether the destination object's current generation does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "Makes the operation conditional on whether the destination object's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationNotMatch": { - "description": "Makes the operation conditional on whether the destination object's current metageneration does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifSourceGenerationMatch": { - "description": "Makes the operation conditional on whether the source object's generation matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifSourceGenerationNotMatch": { - "description": "Makes the operation conditional on whether the source object's generation does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifSourceMetagenerationMatch": { - "description": "Makes the operation conditional on whether the source object's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifSourceMetagenerationNotMatch": { - "description": "Makes the operation conditional on whether the source object's current metageneration does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit the acl property." - ], - "location": "query", - "type": "string" - }, - "sourceBucket": { - "description": "Name of the bucket in which to find the source object.", - "location": "path", - "required": true, - "type": "string" - }, - "sourceGeneration": { - "description": "If present, selects a specific revision of the source object (as opposed to the latest version, the default).", - "format": "uint64", - "location": "query", - "type": "string" - }, - "sourceObject": { - "description": "Name of the source object.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}", - "request": { - "$ref": "Object" - }, - "response": { - "$ref": "Object" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_write" - ], - "supportsMediaDownload": true - }, - "delete": { - "description": "Deletes data blobs and associated metadata. Deletions are permanent if versioning is not enabled for the bucket, or if the generation parameter is used.", - "httpMethod": "DELETE", - "id": "storage.objects.delete", - "parameterOrder": [ - "bucket", - "object" - ], - "parameters": { - "bucket": { - "description": "Name of the bucket in which the object resides.", - "location": "path", - "required": true, - "type": "string" - }, - "generation": { - "description": "If present, permanently deletes a specific revision of this object (as opposed to the latest version, the default).", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifGenerationMatch": { - "description": "Makes the operation conditional on whether the object's current generation matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifGenerationNotMatch": { - "description": "Makes the operation conditional on whether the object's current generation does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationNotMatch": { - "description": "Makes the operation conditional on whether the object's current metageneration does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "object": { - "description": "Name of the object.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "b/{bucket}/o/{object}", - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_write" - ] - }, - "get": { - "description": "Retrieves objects or their associated metadata.", - "httpMethod": "GET", - "id": "storage.objects.get", - "parameterOrder": [ - "bucket", - "object" - ], - "parameters": { - "bucket": { - "description": "Name of the bucket in which the object resides.", - "location": "path", - "required": true, - "type": "string" - }, - "generation": { - "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifGenerationMatch": { - "description": "Makes the operation conditional on whether the object's generation matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifGenerationNotMatch": { - "description": "Makes the operation conditional on whether the object's generation does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationNotMatch": { - "description": "Makes the operation conditional on whether the object's current metageneration does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "object": { - "description": "Name of the object.", - "location": "path", - "required": true, - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to noAcl.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit the acl property." - ], - "location": "query", - "type": "string" - } - }, - "path": "b/{bucket}/o/{object}", - "response": { - "$ref": "Object" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_only", - "https://www.googleapis.com/auth/devstorage.read_write" - ], - "supportsMediaDownload": true - }, - "insert": { - "description": "Stores new data blobs and associated metadata.", - "httpMethod": "POST", - "id": "storage.objects.insert", - "mediaUpload": { - "accept": [ - "*/*" - ], - "protocols": { - "resumable": { - "multipart": true, - "path": "/resumable/upload/storage/v1beta2/b/{bucket}/o" - }, - "simple": { - "multipart": true, - "path": "/upload/storage/v1beta2/b/{bucket}/o" - } - } - }, - "parameterOrder": [ - "bucket" - ], - "parameters": { - "bucket": { - "description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.", - "location": "path", - "required": true, - "type": "string" - }, - "ifGenerationMatch": { - "description": "Makes the operation conditional on whether the object's current generation matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifGenerationNotMatch": { - "description": "Makes the operation conditional on whether the object's current generation does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationNotMatch": { - "description": "Makes the operation conditional on whether the object's current metageneration does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "name": { - "description": "Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any.", - "location": "query", - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit the acl property." - ], - "location": "query", - "type": "string" - } - }, - "path": "b/{bucket}/o", - "request": { - "$ref": "Object" - }, - "response": { - "$ref": "Object" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_write" - ], - "supportsMediaDownload": true, - "supportsMediaUpload": true - }, - "list": { - "description": "Retrieves a list of objects matching the criteria.", - "httpMethod": "GET", - "id": "storage.objects.list", - "parameterOrder": [ - "bucket" - ], - "parameters": { - "bucket": { - "description": "Name of the bucket in which to look for objects.", - "location": "path", - "required": true, - "type": "string" - }, - "delimiter": { - "description": "Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "Maximum number of items plus prefixes to return. As duplicate prefixes are omitted, fewer total results may be returned than requested.", - "format": "uint32", - "location": "query", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A previously-returned page token representing part of the larger set of results to view.", - "location": "query", - "type": "string" - }, - "prefix": { - "description": "Filter results to objects whose names begin with this prefix.", - "location": "query", - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to noAcl.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit the acl property." - ], - "location": "query", - "type": "string" - }, - "versions": { - "description": "If true, lists all versions of a file as distinct results.", - "location": "query", - "type": "boolean" - } - }, - "path": "b/{bucket}/o", - "response": { - "$ref": "Objects" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_only", - "https://www.googleapis.com/auth/devstorage.read_write" - ], - "supportsSubscription": true - }, - "patch": { - "description": "Updates a data blob's associated metadata. This method supports patch semantics.", - "httpMethod": "PATCH", - "id": "storage.objects.patch", - "parameterOrder": [ - "bucket", - "object" - ], - "parameters": { - "bucket": { - "description": "Name of the bucket in which the object resides.", - "location": "path", - "required": true, - "type": "string" - }, - "generation": { - "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifGenerationMatch": { - "description": "Makes the operation conditional on whether the object's current generation matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifGenerationNotMatch": { - "description": "Makes the operation conditional on whether the object's current generation does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationNotMatch": { - "description": "Makes the operation conditional on whether the object's current metageneration does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "object": { - "description": "Name of the object.", - "location": "path", - "required": true, - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to full.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit the acl property." - ], - "location": "query", - "type": "string" - } - }, - "path": "b/{bucket}/o/{object}", - "request": { - "$ref": "Object" - }, - "response": { - "$ref": "Object" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_write" - ] - }, - "update": { - "description": "Updates a data blob's associated metadata.", - "httpMethod": "PUT", - "id": "storage.objects.update", - "parameterOrder": [ - "bucket", - "object" - ], - "parameters": { - "bucket": { - "description": "Name of the bucket in which the object resides.", - "location": "path", - "required": true, - "type": "string" - }, - "generation": { - "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifGenerationMatch": { - "description": "Makes the operation conditional on whether the object's current generation matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifGenerationNotMatch": { - "description": "Makes the operation conditional on whether the object's current generation does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationMatch": { - "description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "ifMetagenerationNotMatch": { - "description": "Makes the operation conditional on whether the object's current metageneration does not match the given value.", - "format": "uint64", - "location": "query", - "type": "string" - }, - "object": { - "description": "Name of the object.", - "location": "path", - "required": true, - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to full.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit the acl property." - ], - "location": "query", - "type": "string" - } - }, - "path": "b/{bucket}/o/{object}", - "request": { - "$ref": "Object" - }, - "response": { - "$ref": "Object" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_write" - ], - "supportsMediaDownload": true - }, - "watchAll": { - "description": "Watch for changes on all objects in a bucket.", - "httpMethod": "POST", - "id": "storage.objects.watchAll", - "parameterOrder": [ - "bucket" - ], - "parameters": { - "bucket": { - "description": "Name of the bucket in which to look for objects.", - "location": "path", - "required": true, - "type": "string" - }, - "delimiter": { - "description": "Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "Maximum number of items plus prefixes to return. As duplicate prefixes are omitted, fewer total results may be returned than requested.", - "format": "uint32", - "location": "query", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "description": "A previously-returned page token representing part of the larger set of results to view.", - "location": "query", - "type": "string" - }, - "prefix": { - "description": "Filter results to objects whose names begin with this prefix.", - "location": "query", - "type": "string" - }, - "projection": { - "description": "Set of properties to return. Defaults to noAcl.", - "enum": [ - "full", - "noAcl" - ], - "enumDescriptions": [ - "Include all properties.", - "Omit the acl property." - ], - "location": "query", - "type": "string" - }, - "versions": { - "description": "If true, lists all versions of a file as distinct results.", - "location": "query", - "type": "boolean" - } - }, - "path": "b/{bucket}/o/watch", - "request": { - "$ref": "Channel", - "parameterName": "resource" - }, - "response": { - "$ref": "Channel" - }, - "scopes": [ - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_only", - "https://www.googleapis.com/auth/devstorage.read_write" - ], - "supportsSubscription": true - } - } - } - }, - "revision": "20200430", - "rootUrl": "https://storage.googleapis.com/", - "schemas": { - "Bucket": { - "description": "A bucket.", - "id": "Bucket", - "properties": { - "acl": { - "annotations": { - "required": [ - "storage.buckets.update" - ] - }, - "description": "Access controls on the bucket.", - "items": { - "$ref": "BucketAccessControl" - }, - "type": "array" - }, - "cors": { - "description": "The bucket's Cross-Origin Resource Sharing (CORS) configuration.", - "items": { - "properties": { - "maxAgeSeconds": { - "description": "The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.", - "format": "int32", - "type": "integer" - }, - "method": { - "description": "The list of HTTP methods on which to include CORS response headers: GET, OPTIONS, POST, etc. Note, \"*\" is permitted in the list of methods, and means \"any method\".", - "items": { - "type": "string" - }, - "type": "array" - }, - "origin": { - "description": "The list of Origins eligible to receive CORS response headers. Note: \"*\" is permitted in the list of origins, and means \"any Origin\".", - "items": { - "type": "string" - }, - "type": "array" - }, - "responseHeader": { - "description": "The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - }, - "defaultObjectAcl": { - "description": "Default access controls to apply to new objects when no ACL is provided.", - "items": { - "$ref": "ObjectAccessControl" - }, - "type": "array" - }, - "etag": { - "description": "HTTP 1.1 Entity tag for the bucket.", - "type": "string" - }, - "id": { - "description": "The ID of the bucket.", - "type": "string" - }, - "kind": { - "default": "storage#bucket", - "description": "The kind of item this is. For buckets, this is always storage#bucket.", - "type": "string" - }, - "lifecycle": { - "description": "The bucket's lifecycle configuration. See object lifecycle management for more information.", - "properties": { - "rule": { - "description": "A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.", - "items": { - "properties": { - "action": { - "description": "The action to take.", - "properties": { - "type": { - "description": "Type of the action. Currently only Delete is supported.", - "type": "string" - } - }, - "type": "object" - }, - "condition": { - "description": "The condition(s) under which the action will be taken.", - "properties": { - "age": { - "description": "Age of an object (in days). This condition is satisfied when an object reaches the specified age.", - "format": "int32", - "type": "integer" - }, - "createdBefore": { - "description": "A date in RFC 3339 format with only the date part, e.g. \"2013-01-15\". This condition is satisfied when an object is created before midnight of the specified date in UTC.", - "format": "date", - "type": "string" - }, - "isLive": { - "description": "Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.", - "type": "boolean" - }, - "numNewerVersions": { - "description": "Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "location": { - "description": "The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Typical values are US and EU. Defaults to US. See the developer's guide for the authoritative list.", - "type": "string" - }, - "logging": { - "description": "The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.", - "properties": { - "logBucket": { - "description": "The destination bucket where the current bucket's logs should be placed.", - "type": "string" - }, - "logObjectPrefix": { - "description": "A prefix for log object names.", - "type": "string" - } - }, - "type": "object" - }, - "metageneration": { - "description": "The metadata generation of this bucket.", - "format": "int64", - "type": "string" - }, - "name": { - "annotations": { - "required": [ - "storage.buckets.insert" - ] - }, - "description": "The name of the bucket.", - "type": "string" - }, - "owner": { - "description": "The owner of the bucket. This is always the project team's owner group.", - "properties": { - "entity": { - "description": "The entity, in the form group-groupId.", - "type": "string" - }, - "entityId": { - "description": "The ID for the entity.", - "type": "string" - } - }, - "type": "object" - }, - "selfLink": { - "description": "The URI of this bucket.", - "type": "string" - }, - "storageClass": { - "description": "The bucket's storage class. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Typical values are STANDARD and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. See the developer's guide for the authoritative list.", - "type": "string" - }, - "timeCreated": { - "description": "Creation time of the bucket in RFC 3339 format.", - "format": "date-time", - "type": "string" - }, - "versioning": { - "description": "The bucket's versioning configuration.", - "properties": { - "enabled": { - "description": "While set to true, versioning is fully enabled for this bucket.", - "type": "boolean" - } - }, - "type": "object" - }, - "website": { - "description": "The bucket's website configuration.", - "properties": { - "mainPageSuffix": { - "description": "Behaves as the bucket's directory index where missing objects are treated as potential directories.", - "type": "string" - }, - "notFoundPage": { - "description": "The custom object to return when a requested resource is not found.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "BucketAccessControl": { - "description": "An access-control entry.", - "id": "BucketAccessControl", - "properties": { - "bucket": { - "description": "The name of the bucket.", - "type": "string" - }, - "domain": { - "description": "The domain associated with the entity, if any.", - "type": "string" - }, - "email": { - "description": "The email address associated with the entity, if any.", - "type": "string" - }, - "entity": { - "annotations": { - "required": [ - "storage.bucketAccessControls.insert" - ] - }, - "description": "The entity holding the permission, in one of the following forms: \n- user-userId \n- user-email \n- group-groupId \n- group-email \n- domain-domain \n- allUsers \n- allAuthenticatedUsers Examples: \n- The user liz@example.com would be user-liz@example.com. \n- The group example@googlegroups.com would be group-example@googlegroups.com. \n- To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.", - "type": "string" - }, - "entityId": { - "description": "The ID for the entity, if any.", - "type": "string" - }, - "etag": { - "description": "HTTP 1.1 Entity tag for the access-control entry.", - "type": "string" - }, - "id": { - "description": "The ID of the access-control entry.", - "type": "string" - }, - "kind": { - "default": "storage#bucketAccessControl", - "description": "The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.", - "type": "string" - }, - "role": { - "annotations": { - "required": [ - "storage.bucketAccessControls.insert" - ] - }, - "description": "The access permission for the entity. Can be READER, WRITER, or OWNER.", - "type": "string" - }, - "selfLink": { - "description": "The link to this access-control entry.", - "type": "string" - } - }, - "type": "object" - }, - "BucketAccessControls": { - "description": "An access-control list.", - "id": "BucketAccessControls", - "properties": { - "items": { - "description": "The list of items.", - "items": { - "$ref": "BucketAccessControl" - }, - "type": "array" - }, - "kind": { - "default": "storage#bucketAccessControls", - "description": "The kind of item this is. For lists of bucket access control entries, this is always storage#bucketAccessControls.", - "type": "string" - } - }, - "type": "object" - }, - "Buckets": { - "description": "A list of buckets.", - "id": "Buckets", - "properties": { - "items": { - "description": "The list of items.", - "items": { - "$ref": "Bucket" - }, - "type": "array" - }, - "kind": { - "default": "storage#buckets", - "description": "The kind of item this is. For lists of buckets, this is always storage#buckets.", - "type": "string" - }, - "nextPageToken": { - "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", - "type": "string" - } - }, - "type": "object" - }, - "Channel": { - "description": "An notification channel used to watch for resource changes.", - "id": "Channel", - "properties": { - "address": { - "description": "The address where notifications are delivered for this channel.", - "type": "string" - }, - "expiration": { - "description": "Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "A UUID or similar unique string that identifies this channel.", - "type": "string" - }, - "kind": { - "default": "api#channel", - "description": "Identifies this as a notification channel used to watch for changes to a resource, which is \"api#channel\".", - "type": "string" - }, - "params": { - "additionalProperties": { - "description": "Declares a new parameter by name.", - "type": "string" - }, - "description": "Additional parameters controlling delivery channel behavior. Optional.", - "type": "object" - }, - "payload": { - "description": "A Boolean value to indicate whether payload is wanted. Optional.", - "type": "boolean" - }, - "resourceId": { - "description": "An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.", - "type": "string" - }, - "resourceUri": { - "description": "A version-specific identifier for the watched resource.", - "type": "string" - }, - "token": { - "description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.", - "type": "string" - }, - "type": { - "description": "The type of delivery mechanism used for this channel.", - "type": "string" - } - }, - "type": "object" - }, - "ComposeRequest": { - "description": "A Compose request.", - "id": "ComposeRequest", - "properties": { - "destination": { - "$ref": "Object", - "description": "Properties of the resulting object" - }, - "kind": { - "default": "storage#composeRequest", - "description": "The kind of item this is.", - "type": "string" - }, - "sourceObjects": { - "annotations": { - "required": [ - "storage.objects.compose" - ] - }, - "description": "The list of source objects that will be concatenated into a single object.", - "items": { - "properties": { - "generation": { - "description": "The generation of this object to use as the source.", - "format": "int64", - "type": "string" - }, - "name": { - "annotations": { - "required": [ - "storage.objects.compose" - ] - }, - "description": "The source object's name. All source objects must reside in the same bucket.", - "type": "string" - }, - "objectPreconditions": { - "description": "Conditions that must be met for this operation to execute.", - "properties": { - "ifGenerationMatch": { - "description": "Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both specified, they must be the same value or the call will fail.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "Object": { - "description": "An object.", - "id": "Object", - "properties": { - "acl": { - "annotations": { - "required": [ - "storage.objects.update" - ] - }, - "description": "Access controls on the object.", - "items": { - "$ref": "ObjectAccessControl" - }, - "type": "array" - }, - "bucket": { - "description": "The bucket containing this object.", - "type": "string" - }, - "cacheControl": { - "description": "Cache-Control directive for the object data.", - "type": "string" - }, - "componentCount": { - "description": "Number of underlying components that make up this object. Components are accumulated by compose operations and are limited to a count of 32.", - "format": "int32", - "type": "integer" - }, - "contentDisposition": { - "description": "Content-Disposition of the object data.", - "type": "string" - }, - "contentEncoding": { - "description": "Content-Encoding of the object data.", - "type": "string" - }, - "contentLanguage": { - "description": "Content-Language of the object data.", - "type": "string" - }, - "contentType": { - "annotations": { - "required": [ - "storage.objects.update" - ] - }, - "description": "Content-Type of the object data.", - "type": "string" - }, - "crc32c": { - "description": "CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.", - "type": "string" - }, - "etag": { - "description": "HTTP 1.1 Entity tag for the object.", - "type": "string" - }, - "generation": { - "description": "The content generation of this object. Used for object versioning.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "The ID of the object.", - "type": "string" - }, - "kind": { - "default": "storage#object", - "description": "The kind of item this is. For objects, this is always storage#object.", - "type": "string" - }, - "md5Hash": { - "description": "MD5 hash of the data; encoded using base64.", - "type": "string" - }, - "mediaLink": { - "description": "Media download link.", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "description": "An individual metadata entry.", - "type": "string" - }, - "description": "User-provided metadata, in key/value pairs.", - "type": "object" - }, - "metageneration": { - "description": "The generation of the metadata for this object at this generation. Used for metadata versioning. Has no meaning outside of the context of this generation.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "The name of this object. Required if not specified by URL parameter.", - "type": "string" - }, - "owner": { - "description": "The owner of the object. This will always be the uploader of the object.", - "properties": { - "entity": { - "description": "The entity, in the form user-userId.", - "type": "string" - }, - "entityId": { - "description": "The ID for the entity.", - "type": "string" - } - }, - "type": "object" - }, - "selfLink": { - "description": "The link to this object.", - "type": "string" - }, - "size": { - "description": "Content-Length of the data in bytes.", - "format": "uint64", - "type": "string" - }, - "storageClass": { - "description": "Storage class of the object.", - "type": "string" - }, - "timeDeleted": { - "description": "Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.", - "format": "date-time", - "type": "string" - }, - "updated": { - "description": "Modification time of the object metadata in RFC 3339 format.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "ObjectAccessControl": { - "description": "An access-control entry.", - "id": "ObjectAccessControl", - "properties": { - "bucket": { - "description": "The name of the bucket.", - "type": "string" - }, - "domain": { - "description": "The domain associated with the entity, if any.", - "type": "string" - }, - "email": { - "description": "The email address associated with the entity, if any.", - "type": "string" - }, - "entity": { - "description": "The entity holding the permission, in one of the following forms: \n- user-userId \n- user-email \n- group-groupId \n- group-email \n- domain-domain \n- allUsers \n- allAuthenticatedUsers Examples: \n- The user liz@example.com would be user-liz@example.com. \n- The group example@googlegroups.com would be group-example@googlegroups.com. \n- To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.", - "type": "string" - }, - "entityId": { - "description": "The ID for the entity, if any.", - "type": "string" - }, - "etag": { - "description": "HTTP 1.1 Entity tag for the access-control entry.", - "type": "string" - }, - "generation": { - "description": "The content generation of the object.", - "format": "int64", - "type": "string" - }, - "id": { - "description": "The ID of the access-control entry.", - "type": "string" - }, - "kind": { - "default": "storage#objectAccessControl", - "description": "The kind of item this is. For object access control entries, this is always storage#objectAccessControl.", - "type": "string" - }, - "object": { - "description": "The name of the object.", - "type": "string" - }, - "role": { - "description": "The access permission for the entity. Can be READER or OWNER.", - "type": "string" - }, - "selfLink": { - "description": "The link to this access-control entry.", - "type": "string" - } - }, - "type": "object" - }, - "ObjectAccessControls": { - "description": "An access-control list.", - "id": "ObjectAccessControls", - "properties": { - "items": { - "description": "The list of items.", - "items": { - "type": "any" - }, - "type": "array" - }, - "kind": { - "default": "storage#objectAccessControls", - "description": "The kind of item this is. For lists of object access control entries, this is always storage#objectAccessControls.", - "type": "string" - } - }, - "type": "object" - }, - "Objects": { - "description": "A list of objects.", - "id": "Objects", - "properties": { - "items": { - "description": "The list of items.", - "items": { - "$ref": "Object" - }, - "type": "array" - }, - "kind": { - "default": "storage#objects", - "description": "The kind of item this is. For lists of objects, this is always storage#objects.", - "type": "string" - }, - "nextPageToken": { - "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", - "type": "string" - }, - "prefixes": { - "description": "The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "servicePath": "storage/v1beta2/", - "title": "Cloud Storage JSON API", - "version": "v1beta2" -} \ No newline at end of file diff --git a/discovery/storagetransfer-v1.json b/discovery/storagetransfer-v1.json index 711d0ac60d6..8b09cfcb7e4 100644 --- a/discovery/storagetransfer-v1.json +++ b/discovery/storagetransfer-v1.json @@ -632,7 +632,7 @@ } } }, - "revision": "20250426", + "revision": "20250503", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AgentPool": { @@ -982,7 +982,7 @@ "id": "HttpData", "properties": { "listUrl": { - "description": "Required. The URL that points to the file that stores the object list entries. This file must allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported.", + "description": "Required. The URL that points to the file that stores the object list entries. This file must allow public access. The URL is either an HTTP/HTTPS address (e.g. `https://example.com/urllist.tsv`) or a Cloud Storage path (e.g. `gs://my-bucket/urllist.tsv`).", "type": "string" } }, @@ -1277,7 +1277,7 @@ "type": "object" }, "ObjectConditions": { - "description": "Conditions that determine which objects are transferred. Applies only to Cloud Data Sources such as S3, Azure, and Cloud Storage. The \"last modification time\" refers to the time of the last change to the object's content or metadata — specifically, this is the `updated` property of Cloud Storage objects, the `LastModified` field of S3 objects, and the `Last-Modified` header of Azure blobs. Transfers with a PosixFilesystem source or destination don't support `ObjectConditions`.", + "description": "Conditions that determine which objects are transferred. Applies only to Cloud Data Sources such as S3, Azure, and Cloud Storage. The \"last modification time\" refers to the time of the last change to the object's content or metadata — specifically, this is the `updated` property of Cloud Storage objects, the `LastModified` field of S3 objects, and the `Last-Modified` header of Azure blobs. For S3 objects, the `LastModified` value is the time the object begins uploading. If the object meets your \"last modification time\" criteria, but has not finished uploading, the object is not transferred. See [Transfer from Amazon S3 to Cloud Storage](https://cloud.google.com/storage-transfer/docs/create-transfers/agentless/s3#transfer_options) for more information. Transfers with a PosixFilesystem source or destination don't support `ObjectConditions`.", "id": "ObjectConditions", "properties": { "excludePrefixes": { @@ -1724,6 +1724,10 @@ "$ref": "Schedule", "description": "Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job never executes a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule." }, + "serviceAccount": { + "description": "Optional. The service account to be used to access resources in the consumer project in the transfer job. We accept `email` or `uniqueId` for the service account. Service account format is projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID} See https://cloud.google.com/iam/docs/reference/credentials/rest/v1/projects.serviceAccounts/generateAccessToken#path-parameters for details. Caller requires the following IAM permission on the specified service account: `iam.serviceAccounts.actAs`. project-PROJECT_NUMBER@storage-transfer-service.iam.gserviceaccount.com requires the following IAM permission on the specified service account: `iam.serviceAccounts.getAccessToken`", + "type": "string" + }, "status": { "description": "Status of the job. This value MUST be specified for `CreateTransferJobRequests`. **Note:** The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.", "enum": [ diff --git a/discovery/streetviewpublish-v1.json b/discovery/streetviewpublish-v1.json index 31e8bdc9b7f..44837ba9932 100644 --- a/discovery/streetviewpublish-v1.json +++ b/discovery/streetviewpublish-v1.json @@ -534,7 +534,7 @@ } } }, - "revision": "20240226", + "revision": "20240224", "rootUrl": "https://streetviewpublish.googleapis.com/", "schemas": { "BatchDeletePhotosRequest": { diff --git a/discovery/texttospeech-v1.json b/discovery/texttospeech-v1.json index 06d7de39c69..9c13ee24b8f 100644 --- a/discovery/texttospeech-v1.json +++ b/discovery/texttospeech-v1.json @@ -318,7 +318,7 @@ } } }, - "revision": "20250415", + "revision": "20250424", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AdvancedVoiceOptions": { @@ -403,12 +403,16 @@ "enum": [ "PHONETIC_ENCODING_UNSPECIFIED", "PHONETIC_ENCODING_IPA", - "PHONETIC_ENCODING_X_SAMPA" + "PHONETIC_ENCODING_X_SAMPA", + "PHONETIC_ENCODING_JAPANESE_YOMIGANA", + "PHONETIC_ENCODING_PINYIN" ], "enumDescriptions": [ "Not specified.", "IPA, such as apple -> ˈæpəl. https://en.wikipedia.org/wiki/International_Phonetic_Alphabet", - "X-SAMPA, such as apple -> \"{p@l\". https://en.wikipedia.org/wiki/X-SAMPA" + "X-SAMPA, such as apple -> \"{p@l\". https://en.wikipedia.org/wiki/X-SAMPA", + "For reading-to-pron conversion to work well, the `pronunciation` field should only contain Kanji, Hiragana, and Katakana. The pronunciation can also contain pitch accents. The start of a pitch phrase is specified with `^` and the down-pitch position is specified with `!`, for example: phrase:端 pronunciation:^はし phrase:箸 pronunciation:^は!し phrase:橋 pronunciation:^はし! We currently only support the Tokyo dialect, which allows at most one down-pitch per phrase (i.e. at most one `!` between `^`).", + "Used to specify pronunciations for Mandarin words. See https://en.wikipedia.org/wiki/Pinyin. For example: 朝阳, the pronunciation is \"chao2 yang2\". The number represents the tone, and there is a space between syllables. Neutral tones are represented by 5, for example 孩子 \"hai2 zi5\"." ], "type": "string" }, @@ -608,6 +612,10 @@ "$ref": "CustomPronunciations", "description": "Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag." }, + "markup": { + "description": "Markup for HD voices specifically. This field may not be used with any other voices.", + "type": "string" + }, "multiSpeakerMarkup": { "$ref": "MultiSpeakerMarkup", "description": "The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis." diff --git a/discovery/texttospeech-v1beta1.json b/discovery/texttospeech-v1beta1.json index 7cca7347760..5bb19cb45e2 100644 --- a/discovery/texttospeech-v1beta1.json +++ b/discovery/texttospeech-v1beta1.json @@ -261,7 +261,7 @@ } } }, - "revision": "20250415", + "revision": "20250424", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AdvancedVoiceOptions": { @@ -342,12 +342,16 @@ "enum": [ "PHONETIC_ENCODING_UNSPECIFIED", "PHONETIC_ENCODING_IPA", - "PHONETIC_ENCODING_X_SAMPA" + "PHONETIC_ENCODING_X_SAMPA", + "PHONETIC_ENCODING_JAPANESE_YOMIGANA", + "PHONETIC_ENCODING_PINYIN" ], "enumDescriptions": [ "Not specified.", "IPA, such as apple -> ˈæpəl. https://en.wikipedia.org/wiki/International_Phonetic_Alphabet", - "X-SAMPA, such as apple -> \"{p@l\". https://en.wikipedia.org/wiki/X-SAMPA" + "X-SAMPA, such as apple -> \"{p@l\". https://en.wikipedia.org/wiki/X-SAMPA", + "For reading-to-pron conversion to work well, the `pronunciation` field should only contain Kanji, Hiragana, and Katakana. The pronunciation can also contain pitch accents. The start of a pitch phrase is specified with `^` and the down-pitch position is specified with `!`, for example: phrase:端 pronunciation:^はし phrase:箸 pronunciation:^は!し phrase:橋 pronunciation:^はし! We currently only support the Tokyo dialect, which allows at most one down-pitch per phrase (i.e. at most one `!` between `^`).", + "Used to specify pronunciations for Mandarin words. See https://en.wikipedia.org/wiki/Pinyin. For example: 朝阳, the pronunciation is \"chao2 yang2\". The number represents the tone, and there is a space between syllables. Neutral tones are represented by 5, for example 孩子 \"hai2 zi5\"." ], "type": "string" }, @@ -541,6 +545,10 @@ "$ref": "CustomPronunciations", "description": "Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag." }, + "markup": { + "description": "Markup for HD voices specifically. This field may not be used with any other voices.", + "type": "string" + }, "multiSpeakerMarkup": { "$ref": "MultiSpeakerMarkup", "description": "The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis." diff --git a/discovery/trafficdirector-v2.json b/discovery/trafficdirector-v2.json index 03d8b41c992..2183641ffd7 100644 --- a/discovery/trafficdirector-v2.json +++ b/discovery/trafficdirector-v2.json @@ -128,7 +128,7 @@ } } }, - "revision": "20230724", + "revision": "20230711", "rootUrl": "https://trafficdirector.googleapis.com/", "schemas": { "Address": { diff --git a/discovery/transcoder-v1beta1.json b/discovery/transcoder-v1beta1.json deleted file mode 100644 index a786b78f95d..00000000000 --- a/discovery/transcoder-v1beta1.json +++ /dev/null @@ -1,1506 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://transcoder.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Transcoder", - "description": "This API converts video files into formats suitable for consumer distribution. ", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/transcoder/docs/", - "fullyEncodeReservedExpansion": true, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "transcoder:v1beta1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://transcoder.mtls.googleapis.com/", - "name": "transcoder", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "projects": { - "resources": { - "locations": { - "resources": { - "jobTemplates": { - "methods": { - "create": { - "description": "Creates a job template in the specified region.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/jobTemplates", - "httpMethod": "POST", - "id": "transcoder.projects.locations.jobTemplates.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "jobTemplateId": { - "description": "Required. The ID to use for the job template, which will become the final component of the job template's resource name. This value should be 4-63 characters, and valid characters must match the regular expression `a-zA-Z*`.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent location to create this job template. Format: `projects/{project}/locations/{location}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/jobTemplates", - "request": { - "$ref": "JobTemplate" - }, - "response": { - "$ref": "JobTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a job template.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/jobTemplates/{jobTemplatesId}", - "httpMethod": "DELETE", - "id": "transcoder.projects.locations.jobTemplates.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the job template to delete. `projects/{project}/locations/{location}/jobTemplates/{job_template}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/jobTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns the job template data.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/jobTemplates/{jobTemplatesId}", - "httpMethod": "GET", - "id": "transcoder.projects.locations.jobTemplates.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the job template to retrieve. Format: `projects/{project}/locations/{location}/jobTemplates/{job_template}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/jobTemplates/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "JobTemplate" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists job templates in the specified region.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/jobTemplates", - "httpMethod": "GET", - "id": "transcoder.projects.locations.jobTemplates.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of items to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The `next_page_token` value returned from a previous List request, if any.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent location from which to retrieve the collection of job templates. Format: `projects/{project}/locations/{location}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/jobTemplates", - "response": { - "$ref": "ListJobTemplatesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "jobs": { - "methods": { - "create": { - "description": "Creates a job in the specified region.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/jobs", - "httpMethod": "POST", - "id": "transcoder.projects.locations.jobs.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The parent location to create and process this job. Format: `projects/{project}/locations/{location}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/jobs", - "request": { - "$ref": "Job" - }, - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a job.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}", - "httpMethod": "DELETE", - "id": "transcoder.projects.locations.jobs.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the job to delete. Format: `projects/{project}/locations/{location}/jobs/{job}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns the job data.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}", - "httpMethod": "GET", - "id": "transcoder.projects.locations.jobs.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the job to retrieve. Format: `projects/{project}/locations/{location}/jobs/{job}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists jobs in the specified region.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/jobs", - "httpMethod": "GET", - "id": "transcoder.projects.locations.jobs.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of items to return.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The `next_page_token` value returned from a previous List request, if any.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Format: `projects/{project}/locations/{location}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/jobs", - "response": { - "$ref": "ListJobsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } - } - } - }, - "revision": "20210819", - "rootUrl": "https://transcoder.googleapis.com/", - "schemas": { - "AdBreak": { - "description": "Ad break.", - "id": "AdBreak", - "properties": { - "startTimeOffset": { - "description": "Start time in seconds for the ad break, relative to the output file timeline. The default is `0s`.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "Aes128Encryption": { - "description": "Configuration for AES-128 encryption.", - "id": "Aes128Encryption", - "properties": { - "keyUri": { - "description": "Required. URI of the key delivery service. This URI is inserted into the M3U8 header.", - "type": "string" - } - }, - "type": "object" - }, - "Animation": { - "description": "Animation types.", - "id": "Animation", - "properties": { - "animationEnd": { - "$ref": "AnimationEnd", - "description": "End previous animation." - }, - "animationFade": { - "$ref": "AnimationFade", - "description": "Display overlay object with fade animation." - }, - "animationStatic": { - "$ref": "AnimationStatic", - "description": "Display static overlay object." - } - }, - "type": "object" - }, - "AnimationEnd": { - "description": "End previous overlay animation from the video. Without AnimationEnd, the overlay object will keep the state of previous animation until the end of the video.", - "id": "AnimationEnd", - "properties": { - "startTimeOffset": { - "description": "The time to end overlay object, in seconds. Default: 0", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "AnimationFade": { - "description": "Display overlay object with fade animation.", - "id": "AnimationFade", - "properties": { - "endTimeOffset": { - "description": "The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s", - "format": "google-duration", - "type": "string" - }, - "fadeType": { - "description": "Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.", - "enum": [ - "FADE_TYPE_UNSPECIFIED", - "FADE_IN", - "FADE_OUT" - ], - "enumDescriptions": [ - "The fade type is not specified.", - "Fade the overlay object into view.", - "Fade the overlay object out of view." - ], - "type": "string" - }, - "startTimeOffset": { - "description": "The time to start the fade animation, in seconds. Default: 0", - "format": "google-duration", - "type": "string" - }, - "xy": { - "$ref": "NormalizedCoordinate", - "description": "Normalized coordinates based on output video resolution. Valid values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video." - } - }, - "type": "object" - }, - "AnimationStatic": { - "description": "Display static overlay object.", - "id": "AnimationStatic", - "properties": { - "startTimeOffset": { - "description": "The time to start displaying the overlay object, in seconds. Default: 0", - "format": "google-duration", - "type": "string" - }, - "xy": { - "$ref": "NormalizedCoordinate", - "description": "Normalized coordinates based on output video resolution. Valid values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video." - } - }, - "type": "object" - }, - "Audio": { - "description": "Audio preprocessing configuration.", - "id": "Audio", - "properties": { - "highBoost": { - "description": "Enable boosting high frequency components. The default is `false`.", - "type": "boolean" - }, - "lowBoost": { - "description": "Enable boosting low frequency components. The default is `false`.", - "type": "boolean" - }, - "lufs": { - "description": "Specify audio loudness normalization in loudness units relative to full scale (LUFS). Enter a value between -24 and 0 (the default), where: * -24 is the Advanced Television Systems Committee (ATSC A/85) standard * -23 is the EU R128 broadcast standard * -19 is the prior standard for online mono audio * -18 is the ReplayGain standard * -16 is the prior standard for stereo audio * -14 is the new online audio standard recommended by Spotify, as well as Amazon Echo * 0 disables normalization", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "AudioAtom": { - "description": "The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.", - "id": "AudioAtom", - "properties": { - "channels": { - "description": "List of `Channel`s for this audio stream. for in-depth explanation.", - "items": { - "$ref": "AudioChannel" - }, - "type": "array" - }, - "key": { - "description": "Required. The `EditAtom.key` that references the atom with audio inputs in the `Job.edit_list`.", - "type": "string" - } - }, - "type": "object" - }, - "AudioChannel": { - "description": "The audio channel.", - "id": "AudioChannel", - "properties": { - "inputs": { - "description": "List of `Job.inputs` for this audio channel.", - "items": { - "$ref": "AudioChannelInput" - }, - "type": "array" - } - }, - "type": "object" - }, - "AudioChannelInput": { - "description": "Identifies which input file, track, and channel should be used.", - "id": "AudioChannelInput", - "properties": { - "channel": { - "description": "Required. The zero-based index of the channel in the input file.", - "format": "int32", - "type": "integer" - }, - "gainDb": { - "description": "Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.", - "format": "double", - "type": "number" - }, - "key": { - "description": "Required. The `Input.key` that identifies the input file.", - "type": "string" - }, - "track": { - "description": "Required. The zero-based index of the track in the input file.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "AudioStream": { - "description": "Audio stream resource.", - "id": "AudioStream", - "properties": { - "bitrateBps": { - "description": "Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.", - "format": "int32", - "type": "integer" - }, - "channelCount": { - "description": "Number of audio channels. Must be between 1 and 6. The default is 2.", - "format": "int32", - "type": "integer" - }, - "channelLayout": { - "description": "A list of channel names specifying layout of the audio channels. This only affects the metadata embedded in the container headers, if supported by the specified format. The default is `[\"fl\", \"fr\"]`. Supported channel names: - 'fl' - Front left channel - 'fr' - Front right channel - 'sl' - Side left channel - 'sr' - Side right channel - 'fc' - Front center channel - 'lfe' - Low frequency", - "items": { - "type": "string" - }, - "type": "array" - }, - "codec": { - "description": "The codec for this audio stream. The default is `\"aac\"`. Supported audio codecs: - 'aac' - 'aac-he' - 'aac-he-v2' - 'mp3' - 'ac3' - 'eac3'", - "type": "string" - }, - "mapping": { - "description": "The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.", - "items": { - "$ref": "AudioAtom" - }, - "type": "array" - }, - "sampleRateHertz": { - "description": "The audio sample rate in Hertz. The default is 48000 Hertz.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Color": { - "description": "Color preprocessing configuration.", - "id": "Color", - "properties": { - "brightness": { - "description": "Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0.", - "format": "double", - "type": "number" - }, - "contrast": { - "description": "Control black and white contrast of the video. Enter a value between -1 and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no change. The default is 0.", - "format": "double", - "type": "number" - }, - "saturation": { - "description": "Control color saturation of the video. Enter a value between -1 and 1, where -1 is fully desaturated and 1 is maximum saturation. 0 is no change. The default is 0.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "Crop": { - "description": "Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution.", - "id": "Crop", - "properties": { - "bottomPixels": { - "description": "The number of pixels to crop from the bottom. The default is 0.", - "format": "int32", - "type": "integer" - }, - "leftPixels": { - "description": "The number of pixels to crop from the left. The default is 0.", - "format": "int32", - "type": "integer" - }, - "rightPixels": { - "description": "The number of pixels to crop from the right. The default is 0.", - "format": "int32", - "type": "integer" - }, - "topPixels": { - "description": "The number of pixels to crop from the top. The default is 0.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Deblock": { - "description": "Deblock preprocessing configuration.", - "id": "Deblock", - "properties": { - "enabled": { - "description": "Enable deblocker. The default is `false`.", - "type": "boolean" - }, - "strength": { - "description": "Set strength of the deblocker. Enter a value between 0 and 1. The higher the value, the stronger the block removal. 0 is no deblocking. The default is 0.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "Denoise": { - "description": "Denoise preprocessing configuration.", - "id": "Denoise", - "properties": { - "strength": { - "description": "Set strength of the denoise. Enter a value between 0 and 1. The higher the value, the smoother the image. 0 is no denoising. The default is 0.", - "format": "double", - "type": "number" - }, - "tune": { - "description": "Set the denoiser mode. The default is `\"standard\"`. Supported denoiser modes: - 'standard' - 'grain'", - "type": "string" - } - }, - "type": "object" - }, - "EditAtom": { - "description": "Edit atom.", - "id": "EditAtom", - "properties": { - "endTimeOffset": { - "description": "End time in seconds for the atom, relative to the input file timeline. When `end_time_offset` is not specified, the `inputs` are used until the end of the atom.", - "format": "google-duration", - "type": "string" - }, - "inputs": { - "description": "List of `Input.key`s identifying files that should be used in this atom. The listed `inputs` must have the same timeline.", - "items": { - "type": "string" - }, - "type": "array" - }, - "key": { - "description": "A unique key for this atom. Must be specified when using advanced mapping.", - "type": "string" - }, - "startTimeOffset": { - "description": "Start time in seconds for the atom, relative to the input file timeline. The default is `0s`.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "ElementaryStream": { - "description": "Encoding of an input file such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats.", - "id": "ElementaryStream", - "properties": { - "audioStream": { - "$ref": "AudioStream", - "description": "Encoding of an audio stream." - }, - "key": { - "description": "A unique key for this elementary stream.", - "type": "string" - }, - "textStream": { - "$ref": "TextStream", - "description": "Encoding of a text stream. For example, closed captions or subtitles." - }, - "videoStream": { - "$ref": "VideoStream", - "description": "Encoding of a video stream." - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Encryption": { - "description": "Encryption settings.", - "id": "Encryption", - "properties": { - "aes128": { - "$ref": "Aes128Encryption", - "description": "Configuration for AES-128 encryption." - }, - "iv": { - "description": "Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.", - "type": "string" - }, - "key": { - "description": "Required. 128 bit encryption key represented as lowercase hexadecimal digits.", - "type": "string" - }, - "mpegCenc": { - "$ref": "MpegCommonEncryption", - "description": "Configuration for MPEG Common Encryption (MPEG-CENC)." - }, - "sampleAes": { - "$ref": "SampleAesEncryption", - "description": "Configuration for SAMPLE-AES encryption." - } - }, - "type": "object" - }, - "FailureDetail": { - "description": "Additional information about the reasons for the failure.", - "id": "FailureDetail", - "properties": { - "description": { - "description": "A description of the failure.", - "type": "string" - } - }, - "type": "object" - }, - "Image": { - "description": "Overlaid jpeg image.", - "id": "Image", - "properties": { - "alpha": { - "description": "Target image opacity. Valid values are from `1.0` (solid, default) to `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.", - "format": "double", - "type": "number" - }, - "resolution": { - "$ref": "NormalizedCoordinate", - "description": "Normalized image resolution, based on output video resolution. Valid values: `0.0`–`1.0`. To respect the original image aspect ratio, set either `x` or `y` to `0.0`. To use the original image resolution, set both `x` and `y` to `0.0`." - }, - "uri": { - "description": "Required. URI of the JPEG image in Cloud Storage. For example, `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.", - "type": "string" - } - }, - "type": "object" - }, - "Input": { - "description": "Input asset.", - "id": "Input", - "properties": { - "key": { - "description": "A unique key for this input. Must be specified when using advanced mapping and edit lists.", - "type": "string" - }, - "preprocessingConfig": { - "$ref": "PreprocessingConfig", - "description": "Preprocessing configurations." - }, - "uri": { - "description": "URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). If empty, the value will be populated from `Job.input_uri`.", - "type": "string" - } - }, - "type": "object" - }, - "Job": { - "description": "Transcoding job resource.", - "id": "Job", - "properties": { - "config": { - "$ref": "JobConfig", - "description": "The configuration for this job." - }, - "createTime": { - "description": "Output only. The time the job was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the transcoding finished.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "failureDetails": { - "description": "Output only. List of failure details. This property may contain additional information about the failure when `failure_reason` is present. *Note*: This feature is not yet available.", - "items": { - "$ref": "FailureDetail" - }, - "readOnly": true, - "type": "array" - }, - "failureReason": { - "description": "Output only. A description of the reason for the failure. This property is always present when `state` is `FAILED`.", - "readOnly": true, - "type": "string" - }, - "inputUri": { - "description": "Input only. Specify the `input_uri` to populate empty `uri` fields in each element of `Job.config.inputs` or `JobTemplate.config.inputs` when using template. URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).", - "type": "string" - }, - "name": { - "description": "The resource name of the job. Format: `projects/{project}/locations/{location}/jobs/{job}`", - "type": "string" - }, - "originUri": { - "$ref": "OriginUri", - "description": "Output only. The origin URI. *Note*: This feature is not yet available.", - "readOnly": true - }, - "outputUri": { - "description": "Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or `JobTemplate.config.output.uri` when using template. URI for the output file(s). For example, `gs://my-bucket/outputs/`.", - "type": "string" - }, - "priority": { - "description": "Specify the priority of the job. Enter a value between 0 and 100, where 0 is the lowest priority and 100 is the highest priority. The default is 0.", - "format": "int32", - "type": "integer" - }, - "progress": { - "$ref": "Progress", - "description": "Output only. Estimated fractional progress, from `0` to `1` for each step. *Note*: This feature is not yet available.", - "readOnly": true - }, - "startTime": { - "description": "Output only. The time the transcoding started.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. The current state of the job.", - "enum": [ - "PROCESSING_STATE_UNSPECIFIED", - "PENDING", - "RUNNING", - "SUCCEEDED", - "FAILED" - ], - "enumDescriptions": [ - "The processing state is not specified.", - "The job is enqueued and will be picked up for processing soon.", - "The job is being processed.", - "The job has been completed successfully.", - "The job has failed. For additional information, see `failure_reason` and `failure_details`" - ], - "readOnly": true, - "type": "string" - }, - "templateId": { - "description": "Input only. Specify the `template_id` to use for populating `Job.config`. The default is `preset/web-hd`. Preset Transcoder templates: - `preset/{preset_id}` - User defined JobTemplate: `{job_template_id}`", - "type": "string" - }, - "ttlAfterCompletionDays": { - "description": "Job time to live value in days, which will be effective after job completion. Job should be deleted automatically after the given TTL. Enter a value between 1 and 90. The default is 30.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "JobConfig": { - "description": "Job configuration", - "id": "JobConfig", - "properties": { - "adBreaks": { - "description": "List of ad breaks. Specifies where to insert ad break tags in the output manifests.", - "items": { - "$ref": "AdBreak" - }, - "type": "array" - }, - "editList": { - "description": "List of `Edit atom`s. Defines the ultimate timeline of the resulting file or manifest.", - "items": { - "$ref": "EditAtom" - }, - "type": "array" - }, - "elementaryStreams": { - "description": "List of elementary streams.", - "items": { - "$ref": "ElementaryStream" - }, - "type": "array" - }, - "inputs": { - "description": "List of input assets stored in Cloud Storage.", - "items": { - "$ref": "Input" - }, - "type": "array" - }, - "manifests": { - "description": "List of output manifests.", - "items": { - "$ref": "Manifest" - }, - "type": "array" - }, - "muxStreams": { - "description": "List of multiplexing settings for output streams.", - "items": { - "$ref": "MuxStream" - }, - "type": "array" - }, - "output": { - "$ref": "Output", - "description": "Output configuration." - }, - "overlays": { - "description": "List of overlays on the output video, in descending Z-order.", - "items": { - "$ref": "Overlay" - }, - "type": "array" - }, - "pubsubDestination": { - "$ref": "PubsubDestination", - "description": "Destination on Pub/Sub." - }, - "spriteSheets": { - "description": "List of output sprite sheets.", - "items": { - "$ref": "SpriteSheet" - }, - "type": "array" - } - }, - "type": "object" - }, - "JobTemplate": { - "description": "Transcoding job template resource.", - "id": "JobTemplate", - "properties": { - "config": { - "$ref": "JobConfig", - "description": "The configuration for this template." - }, - "name": { - "description": "The resource name of the job template. Format: `projects/{project}/locations/{location}/jobTemplates/{job_template}`", - "type": "string" - } - }, - "type": "object" - }, - "ListJobTemplatesResponse": { - "description": "Response message for `TranscoderService.ListJobTemplates`.", - "id": "ListJobTemplatesResponse", - "properties": { - "jobTemplates": { - "description": "List of job templates in the specified region.", - "items": { - "$ref": "JobTemplate" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The pagination token.", - "type": "string" - } - }, - "type": "object" - }, - "ListJobsResponse": { - "description": "Response message for `TranscoderService.ListJobs`.", - "id": "ListJobsResponse", - "properties": { - "jobs": { - "description": "List of jobs in the specified region.", - "items": { - "$ref": "Job" - }, - "type": "array" - }, - "nextPageToken": { - "description": "The pagination token.", - "type": "string" - } - }, - "type": "object" - }, - "Manifest": { - "description": "Manifest configuration.", - "id": "Manifest", - "properties": { - "fileName": { - "description": "The name of the generated file. The default is `\"manifest\"` with the extension suffix corresponding to the `Manifest.type`.", - "type": "string" - }, - "muxStreams": { - "description": "Required. List of user given `MuxStream.key`s that should appear in this manifest. When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key` and `.m3u8` extension is generated for each element of the `Manifest.mux_streams`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "type": { - "description": "Required. Type of the manifest, can be \"HLS\" or \"DASH\".", - "enum": [ - "MANIFEST_TYPE_UNSPECIFIED", - "HLS", - "DASH" - ], - "enumDescriptions": [ - "The manifest type is not specified.", - "Create `\"HLS\"` manifest. The corresponding file extension is `\".m3u8\"`.", - "Create `\"DASH\"` manifest. The corresponding file extension is `\".mpd\"`." - ], - "type": "string" - } - }, - "type": "object" - }, - "MpegCommonEncryption": { - "description": "Configuration for MPEG Common Encryption (MPEG-CENC).", - "id": "MpegCommonEncryption", - "properties": { - "keyId": { - "description": "Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with common encryption.", - "type": "string" - }, - "scheme": { - "description": "Required. Specify the encryption scheme. Supported encryption schemes: - 'cenc' - 'cbcs'", - "type": "string" - } - }, - "type": "object" - }, - "MuxStream": { - "description": "Multiplexing settings for output stream.", - "id": "MuxStream", - "properties": { - "container": { - "description": "The container format. The default is `\"mp4\"` Supported container formats: - 'ts' - 'fmp4'- the corresponding file extension is `\".m4s\"` - 'mp4' - 'vtt'", - "type": "string" - }, - "elementaryStreams": { - "description": "List of `ElementaryStream.key`s multiplexed in this stream.", - "items": { - "type": "string" - }, - "type": "array" - }, - "encryption": { - "$ref": "Encryption", - "description": "Encryption settings." - }, - "fileName": { - "description": "The name of the generated file. The default is `MuxStream.key` with the extension suffix corresponding to the `MuxStream.container`. Individual segments also have an incremental 10-digit zero-padded suffix starting from 0 before the extension, such as `\"mux_stream0000000123.ts\"`.", - "type": "string" - }, - "key": { - "description": "A unique key for this multiplexed stream. HLS media manifests will be named `MuxStream.key` with the `\".m3u8\"` extension suffix.", - "type": "string" - }, - "segmentSettings": { - "$ref": "SegmentSettings", - "description": "Segment settings for `\"ts\"`, `\"fmp4\"` and `\"vtt\"`." - } - }, - "type": "object" - }, - "NormalizedCoordinate": { - "description": "2D normalized coordinates. Default: `{0.0, 0.0}`", - "id": "NormalizedCoordinate", - "properties": { - "x": { - "description": "Normalized x coordinate.", - "format": "double", - "type": "number" - }, - "y": { - "description": "Normalized y coordinate.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "OriginUri": { - "description": "The origin URI.", - "id": "OriginUri", - "properties": { - "dash": { - "description": "Dash manifest URI. If multiple Dash manifests are created, only the first one is listed.", - "type": "string" - }, - "hls": { - "description": "HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4. If multiple HLS manifests are created, only the first one is listed.", - "type": "string" - } - }, - "type": "object" - }, - "Output": { - "description": "Location of output file(s) in a Cloud Storage bucket.", - "id": "Output", - "properties": { - "uri": { - "description": "URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty the value is populated from `Job.output_uri`.", - "type": "string" - } - }, - "type": "object" - }, - "Overlay": { - "description": "Overlay configuration.", - "id": "Overlay", - "properties": { - "animations": { - "description": "List of Animations. The list should be chronological, without any time overlap.", - "items": { - "$ref": "Animation" - }, - "type": "array" - }, - "image": { - "$ref": "Image", - "description": "Image overlay." - } - }, - "type": "object" - }, - "Pad": { - "description": "Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution.", - "id": "Pad", - "properties": { - "bottomPixels": { - "description": "The number of pixels to add to the bottom. The default is 0.", - "format": "int32", - "type": "integer" - }, - "leftPixels": { - "description": "The number of pixels to add to the left. The default is 0.", - "format": "int32", - "type": "integer" - }, - "rightPixels": { - "description": "The number of pixels to add to the right. The default is 0.", - "format": "int32", - "type": "integer" - }, - "topPixels": { - "description": "The number of pixels to add to the top. The default is 0.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "PreprocessingConfig": { - "description": "Preprocessing configurations.", - "id": "PreprocessingConfig", - "properties": { - "audio": { - "$ref": "Audio", - "description": "Audio preprocessing configuration." - }, - "color": { - "$ref": "Color", - "description": "Color preprocessing configuration." - }, - "crop": { - "$ref": "Crop", - "description": "Specify the video cropping configuration." - }, - "deblock": { - "$ref": "Deblock", - "description": "Deblock preprocessing configuration." - }, - "denoise": { - "$ref": "Denoise", - "description": "Denoise preprocessing configuration." - }, - "pad": { - "$ref": "Pad", - "description": "Specify the video pad filter configuration." - } - }, - "type": "object" - }, - "Progress": { - "description": "Estimated fractional progress for each step, from `0` to `1`.", - "id": "Progress", - "properties": { - "analyzed": { - "description": "Estimated fractional progress for `analyzing` step.", - "format": "double", - "type": "number" - }, - "encoded": { - "description": "Estimated fractional progress for `encoding` step.", - "format": "double", - "type": "number" - }, - "notified": { - "description": "Estimated fractional progress for `notifying` step.", - "format": "double", - "type": "number" - }, - "uploaded": { - "description": "Estimated fractional progress for `uploading` step.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "PubsubDestination": { - "description": "A Pub/Sub destination.", - "id": "PubsubDestination", - "properties": { - "topic": { - "description": "The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.", - "type": "string" - } - }, - "type": "object" - }, - "SampleAesEncryption": { - "description": "Configuration for SAMPLE-AES encryption.", - "id": "SampleAesEncryption", - "properties": { - "keyUri": { - "description": "Required. URI of the key delivery service. This URI is inserted into the M3U8 header.", - "type": "string" - } - }, - "type": "object" - }, - "SegmentSettings": { - "description": "Segment settings for `\"ts\"`, `\"fmp4\"` and `\"vtt\"`.", - "id": "SegmentSettings", - "properties": { - "individualSegments": { - "description": "Required. Create an individual segment file. The default is `false`.", - "type": "boolean" - }, - "segmentDuration": { - "description": "Duration of the segments in seconds. The default is `\"6.0s\"`. Note that `segmentDuration` must be greater than or equal to [`gopDuration`](#videostream), and `segmentDuration` must be divisible by [`gopDuration`](#videostream).", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "SpriteSheet": { - "description": "Sprite sheet configuration.", - "id": "SpriteSheet", - "properties": { - "columnCount": { - "description": "The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.", - "format": "int32", - "type": "integer" - }, - "endTimeOffset": { - "description": "End time in seconds, relative to the output file timeline. When `end_time_offset` is not specified, the sprites are generated until the end of the output file.", - "format": "google-duration", - "type": "string" - }, - "filePrefix": { - "description": "Required. File name prefix for the generated sprite sheets. Each sprite sheet has an incremental 10-digit zero-padded suffix starting from 0 before the extension, such as `\"sprite_sheet0000000123.jpeg\"`.", - "type": "string" - }, - "format": { - "description": "Format type. The default is `\"jpeg\"`. Supported formats: - 'jpeg'", - "type": "string" - }, - "interval": { - "description": "Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.", - "format": "google-duration", - "type": "string" - }, - "quality": { - "description": "The quality of the generated sprite sheet. Enter a value between 1 and 100, where 1 is the lowest quality and 100 is the highest quality. The default is 100. A high quality value corresponds to a low image data compression ratio.", - "format": "int32", - "type": "integer" - }, - "rowCount": { - "description": "The maximum number of rows per sprite sheet. When the sprite sheet is full, a new sprite sheet is created. The default is 0, which indicates no maximum limit.", - "format": "int32", - "type": "integer" - }, - "spriteHeightPixels": { - "description": "Required. The height of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_height_pixels field or the SpriteSheet.sprite_width_pixels field, but not both (the API will automatically calculate the missing field).", - "format": "int32", - "type": "integer" - }, - "spriteWidthPixels": { - "description": "Required. The width of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_width_pixels field or the SpriteSheet.sprite_height_pixels field, but not both (the API will automatically calculate the missing field).", - "format": "int32", - "type": "integer" - }, - "startTimeOffset": { - "description": "Start time in seconds, relative to the output file timeline. Determines the first sprite to pick. The default is `0s`.", - "format": "google-duration", - "type": "string" - }, - "totalCount": { - "description": "Total number of sprites. Create the specified number of sprites distributed evenly across the timeline of the output media. The default is 100.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "TextAtom": { - "description": "The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.", - "id": "TextAtom", - "properties": { - "inputs": { - "description": "List of `Job.inputs` that should be embedded in this atom. Only one input is supported.", - "items": { - "$ref": "TextInput" - }, - "type": "array" - }, - "key": { - "description": "Required. The `EditAtom.key` that references atom with text inputs in the `Job.edit_list`.", - "type": "string" - } - }, - "type": "object" - }, - "TextInput": { - "description": "Identifies which input file and track should be used.", - "id": "TextInput", - "properties": { - "key": { - "description": "Required. The `Input.key` that identifies the input file.", - "type": "string" - }, - "track": { - "description": "Required. The zero-based index of the track in the input file.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "TextStream": { - "description": "Encoding of a text stream. For example, closed captions or subtitles.", - "id": "TextStream", - "properties": { - "codec": { - "description": "The codec for this text stream. The default is `\"webvtt\"`. Supported text codecs: - 'srt' - 'ttml' - 'cea608' - 'cea708' - 'webvtt'", - "type": "string" - }, - "languageCode": { - "description": "Required. The BCP-47 language code, such as `\"en-US\"` or `\"sr-Latn\"`. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", - "type": "string" - }, - "mapping": { - "description": "The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.", - "items": { - "$ref": "TextAtom" - }, - "type": "array" - } - }, - "type": "object" - }, - "VideoStream": { - "description": "Video stream resource.", - "id": "VideoStream", - "properties": { - "allowOpenGop": { - "description": "Specifies whether an open Group of Pictures (GOP) structure should be allowed or not. The default is `false`.", - "type": "boolean" - }, - "aqStrength": { - "description": "Specify the intensity of the adaptive quantizer (AQ). Must be between 0 and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A higher value equals a lower bitrate but smoother image. The default is 0.", - "format": "double", - "type": "number" - }, - "bFrameCount": { - "description": "The number of consecutive B-frames. Must be greater than or equal to zero. Must be less than `VideoStream.gop_frame_count` if set. The default is 0.", - "format": "int32", - "type": "integer" - }, - "bPyramid": { - "description": "Allow B-pyramid for reference frame selection. This may not be supported on all decoders. The default is `false`.", - "type": "boolean" - }, - "bitrateBps": { - "description": "Required. The video bitrate in bits per second. The minimum value is 1,000. The maximum value for H264/H265 is 800,000,000. The maximum value for VP9 is 480,000,000.", - "format": "int32", - "type": "integer" - }, - "codec": { - "description": "Codec type. The following codecs are supported: * `h264` (default) * `h265` * `vp9`", - "type": "string" - }, - "crfLevel": { - "description": "Target CRF level. Must be between 10 and 36, where 10 is the highest quality and 36 is the most efficient compression. The default is 21.", - "format": "int32", - "type": "integer" - }, - "enableTwoPass": { - "description": "Use two-pass encoding strategy to achieve better video quality. `VideoStream.rate_control_mode` must be `\"vbr\"`. The default is `false`.", - "type": "boolean" - }, - "entropyCoder": { - "description": "The entropy coder to use. The default is `\"cabac\"`. Supported entropy coders: - 'cavlc' - 'cabac'", - "type": "string" - }, - "frameRate": { - "description": "Required. The target video frame rate in frames per second (FPS). Must be less than or equal to 120. Will default to the input frame rate if larger than the input frame rate. The API will generate an output FPS that is divisible by the input FPS, and smaller or equal to the target FPS. See [Calculate frame rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for more information.", - "format": "double", - "type": "number" - }, - "gopDuration": { - "description": "Select the GOP size based on the specified duration. The default is `\"3s\"`. Note that `gopDuration` must be less than or equal to [`segmentDuration`](#SegmentSettings), and [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.", - "format": "google-duration", - "type": "string" - }, - "gopFrameCount": { - "description": "Select the GOP size based on the specified frame count. Must be greater than zero.", - "format": "int32", - "type": "integer" - }, - "heightPixels": { - "description": "The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used.", - "format": "int32", - "type": "integer" - }, - "pixelFormat": { - "description": "Pixel format to use. The default is `\"yuv420p\"`. Supported pixel formats: - 'yuv420p' pixel format. - 'yuv422p' pixel format. - 'yuv444p' pixel format. - 'yuv420p10' 10-bit HDR pixel format. - 'yuv422p10' 10-bit HDR pixel format. - 'yuv444p10' 10-bit HDR pixel format. - 'yuv420p12' 12-bit HDR pixel format. - 'yuv422p12' 12-bit HDR pixel format. - 'yuv444p12' 12-bit HDR pixel format.", - "type": "string" - }, - "preset": { - "description": "Enforces the specified codec preset. The default is `veryfast`. The available options are FFmpeg-compatible. Note that certain values for this field may cause the transcoder to override other fields you set in the `VideoStream` message.", - "type": "string" - }, - "profile": { - "description": "Enforces the specified codec profile. The following profiles are supported: * `baseline` * `main` * `high` (default) The available options are FFmpeg-compatible. Note that certain values for this field may cause the transcoder to override other fields you set in the `VideoStream` message.", - "type": "string" - }, - "rateControlMode": { - "description": "Specify the `rate_control_mode`. The default is `\"vbr\"`. Supported rate control modes: - 'vbr' - variable bitrate - 'crf' - constant rate factor", - "type": "string" - }, - "tune": { - "description": "Enforces the specified codec tune. The available options are FFmpeg-compatible. Note that certain values for this field may cause the transcoder to override other fields you set in the `VideoStream` message.", - "type": "string" - }, - "vbvFullnessBits": { - "description": "Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to 90% of `VideoStream.vbv_size_bits`.", - "format": "int32", - "type": "integer" - }, - "vbvSizeBits": { - "description": "Size of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to `VideoStream.bitrate_bps`.", - "format": "int32", - "type": "integer" - }, - "widthPixels": { - "description": "The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Transcoder API", - "version": "v1beta1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/vectortile-v1.json b/discovery/vectortile-v1.json deleted file mode 100644 index f6ddde2b376..00000000000 --- a/discovery/vectortile-v1.json +++ /dev/null @@ -1,907 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://vectortile.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Semantic Tile", - "description": "Serves vector tiles containing geospatial data. ", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/maps/contact-sales/", - "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": "vectortile:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://vectortile.mtls.googleapis.com/", - "name": "vectortile", - "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": { - "featuretiles": { - "methods": { - "get": { - "description": "Gets a feature tile by its tile resource name.", - "flatPath": "v1/featuretiles/{featuretilesId}", - "httpMethod": "GET", - "id": "vectortile.featuretiles.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "alwaysIncludeBuildingFootprints": { - "description": "Flag indicating whether the returned tile will always contain 2.5D footprints for structures. If enabled_modeled_volumes is set, this will mean that structures will have both their 3D models and 2.5D footprints returned.", - "location": "query", - "type": "boolean" - }, - "clientInfo.apiClient": { - "description": "API client name and version. For example, the SDK calling the API. The exact format is up to the client.", - "location": "query", - "type": "string" - }, - "clientInfo.applicationId": { - "description": "Application ID, such as the package name on Android and the bundle identifier on iOS platforms.", - "location": "query", - "type": "string" - }, - "clientInfo.applicationVersion": { - "description": "Application version number, such as \"1.2.3\". The exact format is application-dependent.", - "location": "query", - "type": "string" - }, - "clientInfo.deviceModel": { - "description": "Device model as reported by the device. The exact format is platform-dependent.", - "location": "query", - "type": "string" - }, - "clientInfo.operatingSystem": { - "description": "Operating system name and version as reported by the OS. For example, \"Mac OS X 10.10.4\". The exact format is platform-dependent.", - "location": "query", - "type": "string" - }, - "clientInfo.platform": { - "description": "Platform where the application is running.", - "enum": [ - "PLATFORM_UNSPECIFIED", - "EDITOR", - "MAC_OS", - "WINDOWS", - "LINUX", - "ANDROID", - "IOS", - "WEB_GL" - ], - "enumDescriptions": [ - "Unspecified or unknown OS.", - "Development environment.", - "macOS.", - "Windows.", - "Linux", - "Android", - "iOS", - "WebGL." - ], - "location": "query", - "type": "string" - }, - "clientInfo.userId": { - "description": "Required. A client-generated user ID. The ID should be generated and persisted during the first user session or whenever a pre-existing ID is not found. The exact format is up to the client. This must be non-empty in a GetFeatureTileRequest (whether via the header or GetFeatureTileRequest.client_info).", - "location": "query", - "type": "string" - }, - "clientTileVersionId": { - "description": "Optional version id identifying the tile that is already in the client's cache. This field should be populated with the most recent version_id value returned by the API for the requested tile. If the version id is empty the server always returns a newly rendered tile. If it is provided the server checks if the tile contents would be identical to one that's already on the client, and if so, returns a stripped-down response tile with STATUS_OK_DATA_UNCHANGED instead.", - "location": "query", - "type": "string" - }, - "enableDetailedHighwayTypes": { - "description": "Flag indicating whether detailed highway types should be returned. If this is set, the CONTROLLED_ACCESS_HIGHWAY type may be returned. If not, then these highways will have the generic HIGHWAY type. This exists for backwards compatibility reasons.", - "location": "query", - "type": "boolean" - }, - "enableFeatureNames": { - "description": "Flag indicating whether human-readable names should be returned for features. If this is set, the display_name field on the feature will be filled out.", - "location": "query", - "type": "boolean" - }, - "enableModeledVolumes": { - "description": "Flag indicating whether 3D building models should be enabled. If this is set structures will be returned as 3D modeled volumes rather than 2.5D extruded areas where possible.", - "location": "query", - "type": "boolean" - }, - "enablePoliticalFeatures": { - "description": "Flag indicating whether political features should be returned.", - "location": "query", - "type": "boolean" - }, - "enablePrivateRoads": { - "description": "Flag indicating whether the returned tile will contain road features that are marked private. Private roads are indicated by the Feature.segment_info.road_info.is_private field.", - "location": "query", - "type": "boolean" - }, - "enableUnclippedBuildings": { - "description": "Flag indicating whether unclipped buildings should be returned. If this is set, building render ops will extend beyond the tile boundary. Buildings will only be returned on the tile that contains their centroid.", - "location": "query", - "type": "boolean" - }, - "languageCode": { - "description": "Required. The BCP-47 language code corresponding to the language in which the name was requested, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", - "location": "query", - "type": "string" - }, - "name": { - "description": "Required. Resource name of the tile. The tile resource name is prefixed by its collection ID `tiles/` followed by the resource ID, which encodes the tile's global x and y coordinates and zoom level as `@,,z`. For example, `tiles/@1,2,3z`.", - "location": "path", - "pattern": "^featuretiles/[^/]+$", - "required": true, - "type": "string" - }, - "regionCode": { - "description": "Required. The Unicode country/region code (CLDR) of the location from which the request is coming from, such as \"US\" and \"419\". For more information, see http://www.unicode.org/reports/tr35/#unicode_region_subtag.", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "FeatureTile" - } - } - } - }, - "terraintiles": { - "methods": { - "get": { - "description": "Gets a terrain tile by its tile resource name.", - "flatPath": "v1/terraintiles/{terraintilesId}", - "httpMethod": "GET", - "id": "vectortile.terraintiles.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "altitudePrecisionCentimeters": { - "description": "The precision of terrain altitudes in centimeters. Possible values: between 1 (cm level precision) and 1,000,000 (10-kilometer level precision).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "clientInfo.apiClient": { - "description": "API client name and version. For example, the SDK calling the API. The exact format is up to the client.", - "location": "query", - "type": "string" - }, - "clientInfo.applicationId": { - "description": "Application ID, such as the package name on Android and the bundle identifier on iOS platforms.", - "location": "query", - "type": "string" - }, - "clientInfo.applicationVersion": { - "description": "Application version number, such as \"1.2.3\". The exact format is application-dependent.", - "location": "query", - "type": "string" - }, - "clientInfo.deviceModel": { - "description": "Device model as reported by the device. The exact format is platform-dependent.", - "location": "query", - "type": "string" - }, - "clientInfo.operatingSystem": { - "description": "Operating system name and version as reported by the OS. For example, \"Mac OS X 10.10.4\". The exact format is platform-dependent.", - "location": "query", - "type": "string" - }, - "clientInfo.platform": { - "description": "Platform where the application is running.", - "enum": [ - "PLATFORM_UNSPECIFIED", - "EDITOR", - "MAC_OS", - "WINDOWS", - "LINUX", - "ANDROID", - "IOS", - "WEB_GL" - ], - "enumDescriptions": [ - "Unspecified or unknown OS.", - "Development environment.", - "macOS.", - "Windows.", - "Linux", - "Android", - "iOS", - "WebGL." - ], - "location": "query", - "type": "string" - }, - "clientInfo.userId": { - "description": "Required. A client-generated user ID. The ID should be generated and persisted during the first user session or whenever a pre-existing ID is not found. The exact format is up to the client. This must be non-empty in a GetFeatureTileRequest (whether via the header or GetFeatureTileRequest.client_info).", - "location": "query", - "type": "string" - }, - "maxElevationResolutionCells": { - "description": "The maximum allowed resolution for the returned elevation heightmap. Possible values: between 1 and 1024 (and not less than min_elevation_resolution_cells). Over-sized heightmaps will be non-uniformly down-sampled such that each edge is no longer than this value. Non-uniformity is chosen to maximise the amount of preserved data. For example: Original resolution: 100px (width) * 30px (height) max_elevation_resolution: 30 New resolution: 30px (width) * 30px (height)", - "format": "int32", - "location": "query", - "type": "integer" - }, - "minElevationResolutionCells": { - "description": " api-linter: core::0131::request-unknown-fields=disabled aip.dev/not-precedent: Maintaining existing request parameter pattern. The minimum allowed resolution for the returned elevation heightmap. Possible values: between 0 and 1024 (and not more than max_elevation_resolution_cells). Zero is supported for backward compatibility. Under-sized heightmaps will be non-uniformly up-sampled such that each edge is no shorter than this value. Non-uniformity is chosen to maximise the amount of preserved data. For example: Original resolution: 30px (width) * 10px (height) min_elevation_resolution: 30 New resolution: 30px (width) * 30px (height)", - "format": "int32", - "location": "query", - "type": "integer" - }, - "name": { - "description": "Required. Resource name of the tile. The tile resource name is prefixed by its collection ID `terraintiles/` followed by the resource ID, which encodes the tile's global x and y coordinates and zoom level as `@,,z`. For example, `terraintiles/@1,2,3z`.", - "location": "path", - "pattern": "^terraintiles/[^/]+$", - "required": true, - "type": "string" - }, - "terrainFormats": { - "description": "Terrain formats that the client understands.", - "enum": [ - "TERRAIN_FORMAT_UNKNOWN", - "FIRST_DERIVATIVE", - "SECOND_DERIVATIVE" - ], - "enumDescriptions": [ - "An unknown or unspecified terrain format.", - "Terrain elevation data encoded as a FirstDerivativeElevationGrid. .", - "Terrain elevation data encoded as a SecondDerivativeElevationGrid." - ], - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "TerrainTile" - } - } - } - } - }, - "revision": "20210827", - "rootUrl": "https://vectortile.googleapis.com/", - "schemas": { - "Area": { - "description": "Represents an area. Used to represent regions such as water, parks, etc. Next ID: 10", - "id": "Area", - "properties": { - "basemapZOrder": { - "$ref": "BasemapZOrder", - "description": "The z-order of this geometry when rendered on a flat basemap. Geometry with a lower z-order should be rendered beneath geometry with a higher z-order. This z-ordering does not imply anything about the altitude of the area relative to the ground, but it can be used to prevent z-fighting. Unlike Area.z_order this can be used to compare with Line.basemap_z_order, and in fact may yield more accurate rendering (where a line may be rendered beneath an area)." - }, - "hasExternalEdges": { - "description": "True if the polygon is not entirely internal to the feature that it belongs to: that is, some of the edges are bordering another feature.", - "type": "boolean" - }, - "internalEdges": { - "description": "When has_external_edges is true, the polygon has some edges that border another feature. This field indicates the internal edges that do not border another feature. Each value is an index into the vertices array, and denotes the start vertex of the internal edge (the next vertex in the boundary loop is the end of the edge). If the selected vertex is the last vertex in the boundary loop, then the edge between that vertex and the starting vertex of the loop is internal. This field may be used for styling. For example, building parapets could be placed only on the external edges of a building polygon, or water could be lighter colored near the external edges of a body of water. If has_external_edges is false, all edges are internal and this field will be empty.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "loopBreaks": { - "description": "Identifies the boundary loops of the polygon. Only set for INDEXED_TRIANGLE polygons. Each value is an index into the vertices array indicating the beginning of a loop. For instance, values of [2, 5] would indicate loop_data contained 3 loops with indices 0-1, 2-4, and 5-end. This may be used in conjunction with the internal_edges field for styling polygon boundaries. Note that an edge may be on a polygon boundary but still internal to the feature. For example, a feature split across multiple tiles will have an internal polygon boundary edge along the edge of the tile.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "triangleIndices": { - "description": "When the polygon encoding is of type INDEXED_TRIANGLES, this contains the indices of the triangle vertices in the vertex_offsets field. There are 3 vertex indices per triangle.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "type": { - "description": "The polygon encoding type used for this area.", - "enum": [ - "TRIANGLE_FAN", - "INDEXED_TRIANGLES", - "TRIANGLE_STRIP" - ], - "enumDescriptions": [ - "The first vertex in vertex_offset is the center of a triangle fan. The other vertices are arranged around this vertex in a fan shape. The following diagram showes a triangle fan polygon with the vertices labelled with their indices in the vertex_offset list. Triangle fan polygons always have a single boundary loop. Vertices may be in either a clockwise or counterclockwise order. (1) / \\ / \\ / \\ (0)-----(2) / \\ / / \\ / / \\ / (4)-----(3)", - "The polygon is a set of triangles with three vertex indices per triangle. The vertex indices can be found in the triangle_indices field. Indexed triangle polygons also contain information about boundary loops. These identify the loops at the boundary of the polygon and may be used in conjunction with the internal_edges field for styling. Boundary loops may represent either a hole or a disconnected component of the polygon. The following diagram shows an indexed triangle polygon with two boundary loops. (0) (4) / \\ / \\ / \\ / \\ (1)----(2) (3)----(5)", - "A strip of triangles, where each triangle uses the last edge of the previous triangle. Vertices may be in either a clockwise or counterclockwise order. Only polygons without the has_external_edges flag set will use triangle strips. (0) / \\ / \\ / \\ (2)-----(1) / \\ / / \\ / / \\ / (4)-----(3)" - ], - "type": "string" - }, - "vertexOffsets": { - "$ref": "Vertex2DList", - "description": "The vertices present in the polygon defining the area." - }, - "zOrder": { - "description": "The z-ordering of this area. Areas with a lower z-order should be rendered beneath areas with a higher z-order. This z-ordering does not imply anything about the altitude of the line relative to the ground, but it can be used to prevent z-fighting during rendering on the client. This z-ordering can only be used to compare areas, and cannot be compared with the z_order field in the Line message. The z-order may be negative or zero. Prefer Area.basemap_z_order.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "BasemapZOrder": { - "description": "Metadata necessary to determine the ordering of a particular basemap element relative to others. To render the basemap correctly, sort by z-plane, then z-grade, then z-within-grade.", - "id": "BasemapZOrder", - "properties": { - "zGrade": { - "description": "The second most significant component of the ordering of a component to be rendered onto the basemap.", - "format": "int32", - "type": "integer" - }, - "zPlane": { - "description": "The most significant component of the ordering of a component to be rendered onto the basemap.", - "format": "int32", - "type": "integer" - }, - "zWithinGrade": { - "description": "The least significant component of the ordering of a component to be rendered onto the basemap.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ExtrudedArea": { - "description": "Represents a height-extruded area: a 3D prism with a constant X-Y plane cross section. Used to represent extruded buildings. A single building may consist of several extruded areas. The min_z and max_z fields are scaled to the size of the tile. An extruded area with a max_z value of 4096 has the same height as the width of the tile that it is on.", - "id": "ExtrudedArea", - "properties": { - "area": { - "$ref": "Area", - "description": "The area representing the footprint of the extruded area." - }, - "maxZ": { - "description": "The z-value in local tile coordinates where the extruded area ends.", - "format": "int32", - "type": "integer" - }, - "minZ": { - "description": "The z-value in local tile coordinates where the extruded area begins. This is non-zero for extruded areas that begin off the ground. For example, a building with a skybridge may have an extruded area component with a non-zero min_z.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Feature": { - "description": "A feature representing a single geographic entity.", - "id": "Feature", - "properties": { - "displayName": { - "description": "The localized name of this feature. Currently only returned for roads.", - "type": "string" - }, - "geometry": { - "$ref": "Geometry", - "description": "The geometry of this feature, representing the space that it occupies in the world." - }, - "placeId": { - "description": "Place ID of this feature, suitable for use in Places API details requests.", - "type": "string" - }, - "relations": { - "description": "Relations to other features.", - "items": { - "$ref": "Relation" - }, - "type": "array" - }, - "segmentInfo": { - "$ref": "SegmentInfo", - "description": "Metadata for features with the SEGMENT FeatureType." - }, - "type": { - "description": "The type of this feature.", - "enum": [ - "FEATURE_TYPE_UNSPECIFIED", - "STRUCTURE", - "BAR", - "BANK", - "LODGING", - "CAFE", - "RESTAURANT", - "EVENT_VENUE", - "TOURIST_DESTINATION", - "SHOPPING", - "SCHOOL", - "SEGMENT", - "ROAD", - "LOCAL_ROAD", - "ARTERIAL_ROAD", - "HIGHWAY", - "CONTROLLED_ACCESS_HIGHWAY", - "FOOTPATH", - "RAIL", - "FERRY", - "REGION", - "PARK", - "BEACH", - "FOREST", - "POLITICAL", - "ADMINISTRATIVE_AREA1", - "LOCALITY", - "SUBLOCALITY", - "WATER" - ], - "enumDescriptions": [ - "Unknown feature type.", - "Structures such as buildings and bridges.", - "A business serving alcoholic drinks to be consumed onsite.", - "A financial institution that offers services to the general public.", - "A place that provides any type of lodging for travelers.", - "A business that sells coffee, tea, and sometimes small meals.", - "A business that prepares meals on-site for service to customers.", - "A venue for private and public events.", - "Place of interest to tourists, typically for natural or cultural value.", - "A structure containing a business or businesses that sell goods.", - "Institution where young people receive general (not vocation or professional) education.", - "Segments such as roads and train lines.", - "A way leading from one place to another intended for use by vehicles.", - "A small city street, typically for travel in a residential neighborhood.", - "Major through road that's expected to carry large volumes of traffic.", - "A major road including freeways and state highways.", - "A highway with grade-separated crossings that is accessed exclusively by ramps. These are usually called \"freeways\" or \"motorways\". The enable_detailed_highway_types request flag must be set in order for this type to be returned.", - "A path that's primarily intended for use by pedestrians and/or cyclists.", - "Tracks intended for use by trains.", - "Services which are part of the road network but are not roads.", - "Non-water areas such as parks and forest.", - "Outdoor areas such as parks and botanical gardens.", - "A pebbly or sandy shore along the edge of a sea or lake.", - "Area of land covered by trees.", - "Political entities, such as provinces and districts.", - "Top-level divisions within a country, such as prefectures or states.", - "Cities, towns, and other municipalities.", - "Divisions within a locality like a borough or ward.", - "Water features such as rivers and lakes." - ], - "type": "string" - } - }, - "type": "object" - }, - "FeatureTile": { - "description": "A tile containing information about the map features located in the region it covers.", - "id": "FeatureTile", - "properties": { - "coordinates": { - "$ref": "TileCoordinates", - "description": "The global tile coordinates that uniquely identify this tile." - }, - "features": { - "description": "Features present on this map tile.", - "items": { - "$ref": "Feature" - }, - "type": "array" - }, - "name": { - "description": "Resource name of the tile. The tile resource name is prefixed by its collection ID `tiles/` followed by the resource ID, which encodes the tile's global x and y coordinates and zoom level as `@,,z`. For example, `tiles/@1,2,3z`.", - "type": "string" - }, - "providers": { - "description": "Data providers for the data contained in this tile.", - "items": { - "$ref": "ProviderInfo" - }, - "type": "array" - }, - "status": { - "description": "Tile response status code to support tile caching.", - "enum": [ - "STATUS_OK", - "STATUS_OK_DATA_UNCHANGED" - ], - "enumDescriptions": [ - "Everything worked out OK. The cache-control header determines how long this Tile response may be cached by the client. See also version_id and STATUS_OK_DATA_UNCHANGED.", - "Indicates that the request was processed successfully and that the tile data that would have been returned are identical to the data already in the client's cache, as specified by the value of client_tile_version_id contained in GetFeatureTileRequest. In particular, the tile's features and providers will not be populated when the tile data is identical. However, the cache-control header and version_id can still change even when the tile contents itself does not, so clients should always use the most recent values returned by the API." - ], - "type": "string" - }, - "versionId": { - "description": "An opaque value, usually less than 30 characters, that contains version info about this tile and the data that was used to generate it. The client should store this value in its tile cache and pass it back to the API in the client_tile_version_id field of subsequent tile requests in order to enable the API to detect when the new tile would be the same as the one the client already has in its cache. Also see STATUS_OK_DATA_UNCHANGED.", - "type": "string" - } - }, - "type": "object" - }, - "FirstDerivativeElevationGrid": { - "description": "A packed representation of a 2D grid of uniformly spaced points containing elevation data. Each point within the grid represents the altitude in meters above average sea level at that location within the tile. Elevations provided are (generally) relative to the EGM96 geoid, however some areas will be relative to NAVD88. EGM96 and NAVD88 are off by no more than 2 meters. The grid is oriented north-west to south-east, as illustrated: rows[0].a[0] rows[0].a[m] +-----------------+ | | | N | | ^ | | | | | W <-----> E | | | | | v | | S | | | +-----------------+ rows[n].a[0] rows[n].a[m] Rather than storing the altitudes directly, we store the diffs between them as integers at some requested level of precision to take advantage of integer packing. The actual altitude values a[] can be reconstructed using the scale and each row's first_altitude and altitude_diff fields. More details in go/elevation-encoding-options-for-enduro under \"Recommended implementation\".", - "id": "FirstDerivativeElevationGrid", - "properties": { - "altitudeMultiplier": { - "description": "A multiplier applied to the altitude fields below to extract the actual altitudes in meters from the elevation grid.", - "format": "float", - "type": "number" - }, - "rows": { - "description": "Rows of points containing altitude data making up the elevation grid. Each row is the same length. Rows are ordered from north to south. E.g: rows[0] is the north-most row, and rows[n] is the south-most row.", - "items": { - "$ref": "Row" - }, - "type": "array" - } - }, - "type": "object" - }, - "Geometry": { - "description": "Represents the geometry of a feature, that is, the shape that it has on the map. The local tile coordinate system has the origin at the north-west (upper-left) corner of the tile, and is scaled to 4096 units across each edge. The height (Z) axis has the same scale factor: an extruded area with a max_z value of 4096 has the same height as the width of the tile that it is on. There is no clipping boundary, so it is possible that some coordinates will lie outside the tile boundaries.", - "id": "Geometry", - "properties": { - "areas": { - "description": "The areas present in this geometry.", - "items": { - "$ref": "Area" - }, - "type": "array" - }, - "extrudedAreas": { - "description": "The extruded areas present in this geometry. Not populated if modeled_volumes are included in this geometry unless always_include_building_footprints is set in GetFeatureTileRequest, in which case the client should decide which (extruded areas or modeled volumes) should be used (they should not be rendered together).", - "items": { - "$ref": "ExtrudedArea" - }, - "type": "array" - }, - "lines": { - "description": "The lines present in this geometry.", - "items": { - "$ref": "Line" - }, - "type": "array" - }, - "modeledVolumes": { - "description": "The modeled volumes present in this geometry. Not populated unless enable_modeled_volumes has been set in GetFeatureTileRequest.", - "items": { - "$ref": "ModeledVolume" - }, - "type": "array" - } - }, - "type": "object" - }, - "Line": { - "description": "Represents a 2D polyline. Used to represent segments such as roads, train tracks, etc.", - "id": "Line", - "properties": { - "basemapZOrder": { - "$ref": "BasemapZOrder", - "description": "The z-order of this geometry when rendered on a flat basemap. Geometry with a lower z-order should be rendered beneath geometry with a higher z-order. This z-ordering does not imply anything about the altitude of the area relative to the ground, but it can be used to prevent z-fighting. Unlike Line.z_order this can be used to compare with Area.basemap_z_order, and in fact may yield more accurate rendering (where a line may be rendered beneath an area)." - }, - "vertexOffsets": { - "$ref": "Vertex2DList", - "description": "The vertices present in the polyline." - }, - "zOrder": { - "description": "The z-order of the line. Lines with a lower z-order should be rendered beneath lines with a higher z-order. This z-ordering does not imply anything about the altitude of the area relative to the ground, but it can be used to prevent z-fighting during rendering on the client. In general, larger and more important road features will have a higher z-order line associated with them. This z-ordering can only be used to compare lines, and cannot be compared with the z_order field in the Area message. The z-order may be negative or zero. Prefer Line.basemap_z_order.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ModeledVolume": { - "description": "Represents a modeled volume in 3D space. Used to represent 3D buildings.", - "id": "ModeledVolume", - "properties": { - "strips": { - "description": "The triangle strips present in this mesh.", - "items": { - "$ref": "TriangleStrip" - }, - "type": "array" - }, - "vertexOffsets": { - "$ref": "Vertex3DList", - "description": "The vertices present in the mesh defining the modeled volume." - } - }, - "type": "object" - }, - "ProviderInfo": { - "description": "Information about the data providers that should be included in the attribution string shown by the client.", - "id": "ProviderInfo", - "properties": { - "description": { - "description": "Attribution string for this provider. This string is not localized.", - "type": "string" - } - }, - "type": "object" - }, - "Relation": { - "description": "Represents a relation to another feature in the tile. For example, a building might be occupied by a given POI. The related feature can be retrieved using the related feature index.", - "id": "Relation", - "properties": { - "relatedFeatureIndex": { - "description": "Zero-based index to look up the related feature from the list of features in the tile.", - "format": "int32", - "type": "integer" - }, - "relationType": { - "description": "Relation type between the origin feature to the related feature.", - "enum": [ - "RELATION_TYPE_UNSPECIFIED", - "OCCUPIES", - "PRIMARILY_OCCUPIED_BY" - ], - "enumDescriptions": [ - "Unspecified relation type. Should never happen.", - "The origin feature occupies the related feature.", - "The origin feature is primarily occupied by the related feature." - ], - "type": "string" - } - }, - "type": "object" - }, - "RoadInfo": { - "description": "Extra metadata relating to roads.", - "id": "RoadInfo", - "properties": { - "isPrivate": { - "description": "Road has signage discouraging or prohibiting use by the general public. E.g., roads with signs that say \"Private\", or \"No trespassing.\"", - "type": "boolean" - } - }, - "type": "object" - }, - "Row": { - "description": "A row of altitude points in the elevation grid, ordered from west to east.", - "id": "Row", - "properties": { - "altitudeDiffs": { - "description": "The difference between each successive pair of altitudes, from west to east. The first, westmost point, is just the altitude rather than a diff. The units are specified by the altitude_multiplier parameter above; the value in meters is given by altitude_multiplier * altitude_diffs[n]. The altitude row (in metres above sea level) can be reconstructed with: a[0] = altitude_diffs[0] * altitude_multiplier when n > 0, a[n] = a[n-1] + altitude_diffs[n-1] * altitude_multiplier.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "SecondDerivativeElevationGrid": { - "description": "A packed representation of a 2D grid of uniformly spaced points containing elevation data. Each point within the grid represents the altitude in meters above average sea level at that location within the tile. Elevations provided are (generally) relative to the EGM96 geoid, however some areas will be relative to NAVD88. EGM96 and NAVD88 are off by no more than 2 meters. The grid is oriented north-west to south-east, as illustrated: rows[0].a[0] rows[0].a[m] +-----------------+ | | | N | | ^ | | | | | W <-----> E | | | | | v | | S | | | +-----------------+ rows[n].a[0] rows[n].a[m] Rather than storing the altitudes directly, we store the diffs of the diffs between them as integers at some requested level of precision to take advantage of integer packing. Note that the data is packed in such a way that is fast to decode in Unity and that further optimizes wire size.", - "id": "SecondDerivativeElevationGrid", - "properties": { - "altitudeMultiplier": { - "description": "A multiplier applied to the elements in the encoded data to extract the actual altitudes in meters.", - "format": "float", - "type": "number" - }, - "columnCount": { - "description": "The number of columns included in the encoded elevation data (i.e. the horizontal resolution of the grid).", - "format": "int32", - "type": "integer" - }, - "encodedData": { - "description": "A stream of elements each representing a point on the tile running across each row from left to right, top to bottom. There will be precisely horizontal_resolution * vertical_resolution elements in the stream. The elements are not the heights, rather the second order derivative of the values one would expect in a stream of height data. Each element is a varint with the following encoding: ------------------------------------------------------------------------| | Head Nibble | ------------------------------------------------------------------------| | Bit 0 | Bit 1 | Bits 2-3 | | Terminator| Sign (1=neg) | Least significant 2 bits of absolute error | ------------------------------------------------------------------------| | Tail Nibble #1 | ------------------------------------------------------------------------| | Bit 0 | Bit 1-3 | | Terminator| Least significant 3 bits of absolute error | ------------------------------------------------------------------------| | ... | Tail Nibble #n | ------------------------------------------------------------------------| | Bit 0 | Bit 1-3 | | Terminator| Least significant 3 bits of absolute error | ------------------------------------------------------------------------|", - "format": "byte", - "type": "string" - }, - "rowCount": { - "description": "The number of rows included in the encoded elevation data (i.e. the vertical resolution of the grid).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "SegmentInfo": { - "description": "Extra metadata relating to segments.", - "id": "SegmentInfo", - "properties": { - "roadInfo": { - "$ref": "RoadInfo", - "description": "Metadata for features with the ROAD FeatureType." - } - }, - "type": "object" - }, - "TerrainTile": { - "description": "A tile containing information about the terrain located in the region it covers.", - "id": "TerrainTile", - "properties": { - "coordinates": { - "$ref": "TileCoordinates", - "description": "The global tile coordinates that uniquely identify this tile." - }, - "firstDerivative": { - "$ref": "FirstDerivativeElevationGrid", - "description": "Terrain elevation data encoded as a FirstDerivativeElevationGrid. cs/symbol:FirstDerivativeElevationGrid." - }, - "name": { - "description": "Resource name of the tile. The tile resource name is prefixed by its collection ID `terrain/` followed by the resource ID, which encodes the tile's global x and y coordinates and zoom level as `@,,z`. For example, `terrain/@1,2,3z`.", - "type": "string" - }, - "secondDerivative": { - "$ref": "SecondDerivativeElevationGrid", - "description": "Terrain elevation data encoded as a SecondDerivativeElevationGrid. cs/symbol:SecondDerivativeElevationGrid. See go/byte-encoded-terrain for more details." - } - }, - "type": "object" - }, - "TileCoordinates": { - "description": "Global tile coordinates. Global tile coordinates reference a specific tile on the map at a specific zoom level. The origin of this coordinate system is always at the northwest corner of the map, with x values increasing from west to east and y values increasing from north to south. Tiles are indexed using x, y coordinates from that origin. The zoom level containing the entire world in a tile is 0, and it increases as you zoom in. Zoom level n + 1 will contain 4 times as many tiles as zoom level n. The zoom level controls the level of detail of the data that is returned. In particular, this affects the set of feature types returned, their density, and geometry simplification. The exact tile contents may change over time, but care will be taken to keep supporting the most important use cases. For example, zoom level 15 shows roads for orientation and planning in the local neighborhood and zoom level 17 shows buildings to give users on foot a sense of situational awareness.", - "id": "TileCoordinates", - "properties": { - "x": { - "description": "Required. The x coordinate.", - "format": "int32", - "type": "integer" - }, - "y": { - "description": "Required. The y coordinate.", - "format": "int32", - "type": "integer" - }, - "zoom": { - "description": "Required. The Google Maps API zoom level.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "TriangleStrip": { - "description": "Represents a strip of triangles. Each triangle uses the last edge of the previous one. The following diagram shows an example of a triangle strip, with each vertex labeled with its index in the vertex_index array. (1)-----(3) / \\ / \\ / \\ / \\ / \\ / \\ (0)-----(2)-----(4) Vertices may be in either clockwise or counter-clockwise order.", - "id": "TriangleStrip", - "properties": { - "vertexIndices": { - "description": "Index into the vertex_offset array representing the next vertex in the triangle strip.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "Vertex2DList": { - "description": "2D vertex list used for lines and areas. Each entry represents an offset from the previous one in local tile coordinates. The first entry is offset from (0, 0). For example, the list of vertices [(1,1), (2, 2), (1, 2)] would be encoded in vertex offsets as [(1, 1), (1, 1), (-1, 0)].", - "id": "Vertex2DList", - "properties": { - "xOffsets": { - "description": "List of x-offsets in local tile coordinates.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "yOffsets": { - "description": "List of y-offsets in local tile coordinates.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "Vertex3DList": { - "description": "3D vertex list used for modeled volumes. Each entry represents an offset from the previous one in local tile coordinates. The first coordinate is offset from (0, 0, 0).", - "id": "Vertex3DList", - "properties": { - "xOffsets": { - "description": "List of x-offsets in local tile coordinates.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "yOffsets": { - "description": "List of y-offsets in local tile coordinates.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "zOffsets": { - "description": "List of z-offsets in local tile coordinates.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Semantic Tile API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/verifiedaccess-v1.json b/discovery/verifiedaccess-v1.json index 3879cbac2f9..9ee0ed23f90 100644 --- a/discovery/verifiedaccess-v1.json +++ b/discovery/verifiedaccess-v1.json @@ -146,7 +146,7 @@ } } }, - "revision": "20230912", + "revision": "20230815", "rootUrl": "https://verifiedaccess.googleapis.com/", "schemas": { "Challenge": { diff --git a/discovery/versionhistory-v1.json b/discovery/versionhistory-v1.json index 05213c6f588..580334e5be6 100644 --- a/discovery/versionhistory-v1.json +++ b/discovery/versionhistory-v1.json @@ -271,7 +271,7 @@ } } }, - "revision": "20240529", + "revision": "20240528", "rootUrl": "https://versionhistory.googleapis.com/", "schemas": { "Channel": { diff --git a/discovery/walletobjects-v1.json b/discovery/walletobjects-v1.json index b7e59580b74..f2e1a6fc8f0 100644 --- a/discovery/walletobjects-v1.json +++ b/discovery/walletobjects-v1.json @@ -2711,7 +2711,7 @@ } } }, - "revision": "20250312", + "revision": "20250506", "rootUrl": "https://walletobjects.googleapis.com/", "schemas": { "ActivationOptions": { @@ -3610,7 +3610,7 @@ "id": "DiscoverableProgramMerchantSignupInfo", "properties": { "signupSharedDatas": { - "description": " User data that is sent in a POST request to the signup website URL. This information is encoded and then shared so that the merchant's website can prefill fields used to enroll the user for the discoverable program.", + "description": "User data that is sent in a POST request to the signup website URL. This information is encoded and then shared so that the merchant's website can prefill fields used to enroll the user for the discoverable program.", "items": { "enum": [ "SHARED_DATA_TYPE_UNSPECIFIED", @@ -4369,14 +4369,14 @@ true ], "enumDescriptions": [ - "", + "Default value.", "Object is active and displayed to with other active objects.", "Legacy alias for `ACTIVE`. Deprecated.", - "", + "Object has completed it's lifecycle.", "Legacy alias for `COMPLETED`. Deprecated.", "Object is no longer valid (`validTimeInterval` passed).", "Legacy alias for `EXPIRED`. Deprecated.", - "", + "Object is no longer valid", "Legacy alias for `INACTIVE`. Deprecated." ], "type": "string" @@ -5175,14 +5175,14 @@ true ], "enumDescriptions": [ - "", + "Default value.", "Object is active and displayed to with other active objects.", "Legacy alias for `ACTIVE`. Deprecated.", - "", + "Object has completed it's lifecycle.", "Legacy alias for `COMPLETED`. Deprecated.", "Object is no longer valid (`validTimeInterval` passed).", "Legacy alias for `EXPIRED`. Deprecated.", - "", + "Object is no longer valid", "Legacy alias for `INACTIVE`. Deprecated." ], "type": "string" @@ -5573,14 +5573,14 @@ true ], "enumDescriptions": [ - "", + "Default value.", "Object is active and displayed to with other active objects.", "Legacy alias for `ACTIVE`. Deprecated.", - "", + "Object has completed it's lifecycle.", "Legacy alias for `COMPLETED`. Deprecated.", "Object is no longer valid (`validTimeInterval` passed).", "Legacy alias for `EXPIRED`. Deprecated.", - "", + "Object is no longer valid", "Legacy alias for `INACTIVE`. Deprecated." ], "type": "string" @@ -6112,14 +6112,14 @@ true ], "enumDescriptions": [ - "", + "Default value.", "Object is active and displayed to with other active objects.", "Legacy alias for `ACTIVE`. Deprecated.", - "", + "Object has completed it's lifecycle.", "Legacy alias for `COMPLETED`. Deprecated.", "Object is no longer valid (`validTimeInterval` passed).", "Legacy alias for `EXPIRED`. Deprecated.", - "", + "Object is no longer valid", "Legacy alias for `INACTIVE`. Deprecated." ], "type": "string" @@ -7005,14 +7005,14 @@ true ], "enumDescriptions": [ - "", + "Default value.", "Object is active and displayed to with other active objects.", "Legacy alias for `ACTIVE`. Deprecated.", - "", + "Object has completed it's lifecycle.", "Legacy alias for `COMPLETED`. Deprecated.", "Object is no longer valid (`validTimeInterval` passed).", "Legacy alias for `EXPIRED`. Deprecated.", - "", + "Object is no longer valid", "Legacy alias for `INACTIVE`. Deprecated." ], "type": "string" @@ -8019,14 +8019,14 @@ true ], "enumDescriptions": [ - "", + "Default value.", "Object is active and displayed to with other active objects.", "Legacy alias for `ACTIVE`. Deprecated.", - "", + "Object has completed it's lifecycle.", "Legacy alias for `COMPLETED`. Deprecated.", "Object is no longer valid (`validTimeInterval` passed).", "Legacy alias for `EXPIRED`. Deprecated.", - "", + "Object is no longer valid", "Legacy alias for `INACTIVE`. Deprecated." ], "type": "string" @@ -9551,14 +9551,14 @@ true ], "enumDescriptions": [ - "", + "Default value.", "Object is active and displayed to with other active objects.", "Legacy alias for `ACTIVE`. Deprecated.", - "", + "Object has completed it's lifecycle.", "Legacy alias for `COMPLETED`. Deprecated.", "Object is no longer valid (`validTimeInterval` passed).", "Legacy alias for `EXPIRED`. Deprecated.", - "", + "Object is no longer valid", "Legacy alias for `INACTIVE`. Deprecated." ], "type": "string" diff --git a/discovery/webmasters-v3.json b/discovery/webmasters-v3.json deleted file mode 100644 index 94cd3762bd8..00000000000 --- a/discovery/webmasters-v3.json +++ /dev/null @@ -1,555 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/webmasters": { - "description": "View and manage Search Console data for your verified sites" - }, - "https://www.googleapis.com/auth/webmasters.readonly": { - "description": "View Search Console data for your verified sites" - } - } - } - }, - "basePath": "/webmasters/v3/", - "baseUrl": "https://www.googleapis.com/webmasters/v3/", - "batchPath": "batch/webmasters/v3", - "description": "View Google Search Console data for your verified sites.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/webmaster-tools/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/yeQbVpX8MWZgvu0Tp4j1CJkOSB4\"", - "icons": { - "x16": "https://www.google.com/images/icons/product/webmaster_tools-16.png", - "x32": "https://www.google.com/images/icons/product/webmaster_tools-32.png" - }, - "id": "webmasters:v3", - "kind": "discovery#restDescription", - "name": "webmasters", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "alt": { - "default": "json", - "description": "Data format for the response.", - "enum": [ - "json" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json" - ], - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "userIp": { - "description": "Deprecated. Please use quotaUser instead.", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "searchanalytics": { - "methods": { - "query": { - "description": "Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days.\n\nWhen date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a broad date range query grouped by date for any metric, and see which day rows are returned.", - "httpMethod": "POST", - "id": "webmasters.searchanalytics.query", - "parameterOrder": [ - "siteUrl" - ], - "parameters": { - "siteUrl": { - "description": "The site's URL, including protocol. For example: http://www.example.com/", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sites/{siteUrl}/searchAnalytics/query", - "request": { - "$ref": "SearchAnalyticsQueryRequest" - }, - "response": { - "$ref": "SearchAnalyticsQueryResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/webmasters", - "https://www.googleapis.com/auth/webmasters.readonly" - ] - } - } - }, - "sitemaps": { - "methods": { - "delete": { - "description": "Deletes a sitemap from this site.", - "httpMethod": "DELETE", - "id": "webmasters.sitemaps.delete", - "parameterOrder": [ - "siteUrl", - "feedpath" - ], - "parameters": { - "feedpath": { - "description": "The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml", - "location": "path", - "required": true, - "type": "string" - }, - "siteUrl": { - "description": "The site's URL, including protocol. For example: http://www.example.com/", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sites/{siteUrl}/sitemaps/{feedpath}", - "scopes": [ - "https://www.googleapis.com/auth/webmasters" - ] - }, - "get": { - "description": "Retrieves information about a specific sitemap.", - "httpMethod": "GET", - "id": "webmasters.sitemaps.get", - "parameterOrder": [ - "siteUrl", - "feedpath" - ], - "parameters": { - "feedpath": { - "description": "The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml", - "location": "path", - "required": true, - "type": "string" - }, - "siteUrl": { - "description": "The site's URL, including protocol. For example: http://www.example.com/", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sites/{siteUrl}/sitemaps/{feedpath}", - "response": { - "$ref": "WmxSitemap" - }, - "scopes": [ - "https://www.googleapis.com/auth/webmasters", - "https://www.googleapis.com/auth/webmasters.readonly" - ] - }, - "list": { - "description": "Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).", - "httpMethod": "GET", - "id": "webmasters.sitemaps.list", - "parameterOrder": [ - "siteUrl" - ], - "parameters": { - "siteUrl": { - "description": "The site's URL, including protocol. For example: http://www.example.com/", - "location": "path", - "required": true, - "type": "string" - }, - "sitemapIndex": { - "description": "A URL of a site's sitemap index. For example: http://www.example.com/sitemapindex.xml", - "location": "query", - "type": "string" - } - }, - "path": "sites/{siteUrl}/sitemaps", - "response": { - "$ref": "SitemapsListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/webmasters", - "https://www.googleapis.com/auth/webmasters.readonly" - ] - }, - "submit": { - "description": "Submits a sitemap for a site.", - "httpMethod": "PUT", - "id": "webmasters.sitemaps.submit", - "parameterOrder": [ - "siteUrl", - "feedpath" - ], - "parameters": { - "feedpath": { - "description": "The URL of the sitemap to add. For example: http://www.example.com/sitemap.xml", - "location": "path", - "required": true, - "type": "string" - }, - "siteUrl": { - "description": "The site's URL, including protocol. For example: http://www.example.com/", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sites/{siteUrl}/sitemaps/{feedpath}", - "scopes": [ - "https://www.googleapis.com/auth/webmasters" - ] - } - } - }, - "sites": { - "methods": { - "add": { - "description": "Adds a site to the set of the user's sites in Search Console.", - "httpMethod": "PUT", - "id": "webmasters.sites.add", - "parameterOrder": [ - "siteUrl" - ], - "parameters": { - "siteUrl": { - "description": "The URL of the site to add.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sites/{siteUrl}", - "scopes": [ - "https://www.googleapis.com/auth/webmasters" - ] - }, - "delete": { - "description": "Removes a site from the set of the user's Search Console sites.", - "httpMethod": "DELETE", - "id": "webmasters.sites.delete", - "parameterOrder": [ - "siteUrl" - ], - "parameters": { - "siteUrl": { - "description": "The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ Note: for property-sets, use the URI that starts with sc-set: which is used in Search Console URLs.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sites/{siteUrl}", - "scopes": [ - "https://www.googleapis.com/auth/webmasters" - ] - }, - "get": { - "description": "Retrieves information about specific site.", - "httpMethod": "GET", - "id": "webmasters.sites.get", - "parameterOrder": [ - "siteUrl" - ], - "parameters": { - "siteUrl": { - "description": "The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ Note: for property-sets, use the URI that starts with sc-set: which is used in Search Console URLs.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "sites/{siteUrl}", - "response": { - "$ref": "WmxSite" - }, - "scopes": [ - "https://www.googleapis.com/auth/webmasters", - "https://www.googleapis.com/auth/webmasters.readonly" - ] - }, - "list": { - "description": "Lists the user's Search Console sites.", - "httpMethod": "GET", - "id": "webmasters.sites.list", - "path": "sites", - "response": { - "$ref": "SitesListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/webmasters", - "https://www.googleapis.com/auth/webmasters.readonly" - ] - } - } - } - }, - "revision": "20190428", - "rootUrl": "https://www.googleapis.com/", - "schemas": { - "ApiDataRow": { - "id": "ApiDataRow", - "properties": { - "clicks": { - "format": "double", - "type": "number" - }, - "ctr": { - "format": "double", - "type": "number" - }, - "impressions": { - "format": "double", - "type": "number" - }, - "keys": { - "items": { - "type": "string" - }, - "type": "array" - }, - "position": { - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "ApiDimensionFilter": { - "id": "ApiDimensionFilter", - "properties": { - "dimension": { - "type": "string" - }, - "expression": { - "type": "string" - }, - "operator": { - "type": "string" - } - }, - "type": "object" - }, - "ApiDimensionFilterGroup": { - "id": "ApiDimensionFilterGroup", - "properties": { - "filters": { - "items": { - "$ref": "ApiDimensionFilter" - }, - "type": "array" - }, - "groupType": { - "type": "string" - } - }, - "type": "object" - }, - "SearchAnalyticsQueryRequest": { - "id": "SearchAnalyticsQueryRequest", - "properties": { - "aggregationType": { - "description": "[Optional; Default is \"auto\"] How data is aggregated. If aggregated by property, all data for the same property is aggregated; if aggregated by page, all data is aggregated by canonical URI. If you filter or group by page, choose AUTO; otherwise you can aggregate either by property or by page, depending on how you want your data calculated; see the help documentation to learn how data is calculated differently by site versus by page.\n\nNote: If you group or filter by page, you cannot aggregate by property.\n\nIf you specify any value other than AUTO, the aggregation type in the result will match the requested type, or if you request an invalid type, you will get an error. The API will never change your aggregation type if the requested type is invalid.", - "type": "string" - }, - "dataState": { - "description": "[Optional] If \"all\" (case-insensitive), data will include fresh data. If \"final\" (case-insensitive) or if this parameter is omitted, the returned data will include only finalized data.", - "type": "string" - }, - "dimensionFilterGroups": { - "description": "[Optional] Zero or more filters to apply to the dimension grouping values; for example, 'query contains \"buy\"' to see only data where the query string contains the substring \"buy\" (not case-sensitive). You can filter by a dimension without grouping by it.", - "items": { - "$ref": "ApiDimensionFilterGroup" - }, - "type": "array" - }, - "dimensions": { - "description": "[Optional] Zero or more dimensions to group results by. Dimensions are the group-by values in the Search Analytics page. Dimensions are combined to create a unique row key for each row. Results are grouped in the order that you supply these dimensions.", - "items": { - "type": "string" - }, - "type": "array" - }, - "endDate": { - "description": "[Required] End date of the requested date range, in YYYY-MM-DD format, in PST (UTC - 8:00). Must be greater than or equal to the start date. This value is included in the range.", - "type": "string" - }, - "rowLimit": { - "description": "[Optional; Default is 1000] The maximum number of rows to return. Must be a number from 1 to 5,000 (inclusive).", - "format": "int32", - "type": "integer" - }, - "searchType": { - "description": "[Optional; Default is \"web\"] The search type to filter for.", - "type": "string" - }, - "startDate": { - "description": "[Required] Start date of the requested date range, in YYYY-MM-DD format, in PST time (UTC - 8:00). Must be less than or equal to the end date. This value is included in the range.", - "type": "string" - }, - "startRow": { - "description": "[Optional; Default is 0] Zero-based index of the first row in the response. Must be a non-negative number.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "SearchAnalyticsQueryResponse": { - "description": "A list of rows, one per result, grouped by key. Metrics in each row are aggregated for all data grouped by that key either by page or property, as specified by the aggregation type parameter.", - "id": "SearchAnalyticsQueryResponse", - "properties": { - "responseAggregationType": { - "description": "How the results were aggregated.", - "type": "string" - }, - "rows": { - "description": "A list of rows grouped by the key values in the order given in the query.", - "items": { - "$ref": "ApiDataRow" - }, - "type": "array" - } - }, - "type": "object" - }, - "SitemapsListResponse": { - "description": "List of sitemaps.", - "id": "SitemapsListResponse", - "properties": { - "sitemap": { - "description": "Contains detailed information about a specific URL submitted as a sitemap.", - "items": { - "$ref": "WmxSitemap" - }, - "type": "array" - } - }, - "type": "object" - }, - "SitesListResponse": { - "description": "List of sites with access level information.", - "id": "SitesListResponse", - "properties": { - "siteEntry": { - "description": "Contains permission level information about a Search Console site. For more information, see Permissions in Search Console.", - "items": { - "$ref": "WmxSite" - }, - "type": "array" - } - }, - "type": "object" - }, - "WmxSite": { - "description": "Contains permission level information about a Search Console site. For more information, see Permissions in Search Console.", - "id": "WmxSite", - "properties": { - "permissionLevel": { - "description": "The user's permission level for the site.", - "type": "string" - }, - "siteUrl": { - "description": "The URL of the site.", - "type": "string" - } - }, - "type": "object" - }, - "WmxSitemap": { - "description": "Contains detailed information about a specific URL submitted as a sitemap.", - "id": "WmxSitemap", - "properties": { - "contents": { - "description": "The various content types in the sitemap.", - "items": { - "$ref": "WmxSitemapContent" - }, - "type": "array" - }, - "errors": { - "description": "Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed before it can be processed correctly.", - "format": "int64", - "type": "string" - }, - "isPending": { - "description": "If true, the sitemap has not been processed.", - "type": "boolean" - }, - "isSitemapsIndex": { - "description": "If true, the sitemap is a collection of sitemaps.", - "type": "boolean" - }, - "lastDownloaded": { - "description": "Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-mm-dd).", - "format": "date-time", - "type": "string" - }, - "lastSubmitted": { - "description": "Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-dd).", - "format": "date-time", - "type": "string" - }, - "path": { - "description": "The url of the sitemap.", - "type": "string" - }, - "type": { - "description": "The type of the sitemap. For example: rssFeed.", - "type": "string" - }, - "warnings": { - "description": "Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "WmxSitemapContent": { - "description": "Information about the various content types in the sitemap.", - "id": "WmxSitemapContent", - "properties": { - "indexed": { - "description": "The number of URLs from the sitemap that were indexed (of the content type).", - "format": "int64", - "type": "string" - }, - "submitted": { - "description": "The number of URLs in the sitemap (of the content type).", - "format": "int64", - "type": "string" - }, - "type": { - "description": "The specific type of content in this sitemap. For example: web.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "webmasters/v3/", - "title": "Search Console API", - "version": "v3" -} \ No newline at end of file diff --git a/discovery/websecurityscanner-v1alpha.json b/discovery/websecurityscanner-v1alpha.json index cee54fb73cc..0cdf8de2420 100644 --- a/discovery/websecurityscanner-v1alpha.json +++ b/discovery/websecurityscanner-v1alpha.json @@ -526,7 +526,7 @@ } } }, - "revision": "20231112", + "revision": "20231021", "rootUrl": "https://websecurityscanner.googleapis.com/", "schemas": { "Authentication": { diff --git a/discovery/websecurityscanner-v1beta.json b/discovery/websecurityscanner-v1beta.json index d29883e188f..8a56d1f0682 100644 --- a/discovery/websecurityscanner-v1beta.json +++ b/discovery/websecurityscanner-v1beta.json @@ -526,7 +526,7 @@ } } }, - "revision": "20231112", + "revision": "20231021", "rootUrl": "https://websecurityscanner.googleapis.com/", "schemas": { "Authentication": { diff --git a/discovery/workflowexecutions-v1beta.json b/discovery/workflowexecutions-v1beta.json index a3ab1cae93e..4122a0446e2 100644 --- a/discovery/workflowexecutions-v1beta.json +++ b/discovery/workflowexecutions-v1beta.json @@ -269,7 +269,7 @@ } } }, - "revision": "20230725", + "revision": "20230719", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { "CancelExecutionRequest": { diff --git a/discovery/youtubeAnalytics-v1.json b/discovery/youtubeAnalytics-v1.json deleted file mode 100644 index e9647de2cfc..00000000000 --- a/discovery/youtubeAnalytics-v1.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://youtubeanalytics.googleapis.com/", - "batchPath": "batch", - "canonicalName": "YouTube Analytics", - "description": "Retrieves your YouTube Analytics data.", - "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/youtube/analytics", - "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": "youtubeAnalytics:v1", - "kind": "discovery#restDescription", - "mtlsRootUrl": "https://youtubeanalytics.mtls.googleapis.com/", - "name": "youtubeAnalytics", - "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": {}, - "revision": "20200512", - "rootUrl": "https://youtubeanalytics.googleapis.com/", - "schemas": {}, - "servicePath": "", - "title": "YouTube Analytics API", - "version": "v1", - "version_module": true -} \ No newline at end of file diff --git a/discovery/youtubeAnalytics-v2.json b/discovery/youtubeAnalytics-v2.json index 0704219c277..19f2c1e4288 100644 --- a/discovery/youtubeAnalytics-v2.json +++ b/discovery/youtubeAnalytics-v2.json @@ -421,7 +421,7 @@ } } }, - "revision": "20230705", + "revision": "20230704", "rootUrl": "https://youtubeanalytics.googleapis.com/", "schemas": { "EmptyResponse": { diff --git a/discovery/youtubereporting-v1.json b/discovery/youtubereporting-v1.json index a08fe06747f..2bbb22cd63a 100644 --- a/discovery/youtubereporting-v1.json +++ b/discovery/youtubereporting-v1.json @@ -411,7 +411,7 @@ } } }, - "revision": "20230705", + "revision": "20230704", "rootUrl": "https://youtubereporting.googleapis.com/", "schemas": { "Empty": { diff --git a/ignore.json b/ignore.json index e0f9ad5e109..cc038d23d01 100644 --- a/ignore.json +++ b/ignore.json @@ -9,6 +9,8 @@ "baremetalsolution:v2", "policysimulator:v1alpha", "policysimulator:v1beta", - "datalineage:v1" + "datalineage:v1", + "healthcare:v1", + "healthcare:v1beta1" ] } diff --git a/package.json b/package.json index f8ccaa3a565..4b7bc2b28c6 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "types": "./build/src/index.d.ts", "sideEffects": false, "engines": { - "node": ">=14.0.0" + "node": ">=18" }, "files": [ "build/src", @@ -19,6 +19,8 @@ "prepare": "npm run compile", "test": "c8 mocha build/test", "predocs": "npm run build-tools", + "precompile": "rimraf build", + "prebuild-test": "rimraf build", "docs": "npm run compile && node build/src/generator/docs", "predocs2": "npm run compile", "docs-extract": "node --max-old-space-size=8192 ./node_modules/@microsoft/api-extractor/bin/api-extractor run --local --verbose", @@ -28,9 +30,7 @@ "system-test": "mocha build/system-test", "samples-test": "cd samples && npm install && npm link ../ && pwd && npm test", "lint": "gts check", - "precompile": "rimraf build", "compile": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc -p tsconfig.json", - "prebuild-test": "rimraf build", "build-test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc -p tsconfig.test.json", "build-tools": "tsc -p tsconfig.tools.json", "clean": "gts clean", @@ -55,50 +55,50 @@ "client library" ], "dependencies": { - "google-auth-library": "^9.0.0", - "googleapis-common": "^7.0.0" + "google-auth-library": "^10.0.0-rc.1", + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { - "@types/execa": "^2.0.0", - "@types/mocha": "^9.0.0", - "@types/mv": "^2.1.0", - "@types/ncp": "^2.0.1", - "@types/node": "^20.4.5", - "@types/nunjucks": "^3.1.1", - "@types/prettier": "3.0.0", - "@types/proxyquire": "^1.3.28", - "@types/qs": "^6.5.3", - "@types/sinon": "^17.0.0", - "@types/tmp": "^0.2.0", + "@types/execa": "^2.0.2", + "@types/mocha": "^10.0.10", + "@types/mv": "^2.1.4", + "@types/ncp": "^2.0.8", + "@types/node": "^22.15.3", + "@types/nunjucks": "^3.2.6", + "@types/prettier": "^3.0.0", + "@types/proxyquire": "^1.3.31", + "@types/qs": "^6.9.18", + "@types/sinon": "^17.0.4", + "@types/tmp": "^0.2.6", "@types/url-template": "^2.0.28", - "@types/yargs-parser": "^20.0.0", - "c8": "^9.0.0", - "cheerio": "1.0.0-rc.12", - "codecov": "^3.4.0", + "@types/yargs-parser": "^21.0.3", + "c8": "^10.1.3", + "cheerio": "^1.0.0", + "codecov": "^3.8.3", "cross-env": "^7.0.3", "execa": "^5.0.0", - "gaxios": "^6.0.3", - "gts": "^5.0.0", + "gaxios": "^7.0.0-rc.5", + "gts": "^6.0.2", "js-green-licenses": "^4.0.0", - "jsdoc": "^4.0.0", + "jsdoc": "^4.0.4", "jsdoc-fresh": "^3.0.0", "jsdoc-region-tag": "^3.0.0", - "linkinator": "^4.0.0", - "mocha": "^9.2.2", + "linkinator": "^6.1.2", + "mocha": "^11.2.2", "mv": "^2.1.1", "ncp": "^2.0.0", - "nock": "^13.0.0", - "nunjucks": "^3.2.1", - "open": "^8.0.0", + "nock": "^14.0.4", + "nunjucks": "^3.2.4", + "open": "^10.1.2", "p-queue": "^6.0.0", - "pdfmake": "0.2.12", - "prettier": "^3.0.0", + "pdfmake": "^0.2.19", + "prettier": "^3.5.3", "proxyquire": "^2.1.3", - "rimraf": "^3.0.2", + "rimraf": "^5.0.0", "server-destroy": "^1.0.1", - "sinon": "^18.0.0", - "tmp": "^0.2.0", - "typescript": "5.1.6", - "yargs-parser": "^20.2.0" + "sinon": "^20.0.0", + "tmp": "^0.2.3", + "typescript": "^5.8.3", + "yargs-parser": "^21.1.1" } } diff --git a/release-please-config.json b/release-please-config.json index 81ed6fd13b7..fc895112ebc 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,9 +1,10 @@ { "bootstrap-sha": "6e61af34c0bfdfc3d6f973bffcd6a7e2420590d2", - "initial-version": "0.1.0", "packages": { "src/apis/abusiveexperiencereport": {}, "src/apis/acceleratedmobilepageurl": {}, + "src/apis/acmedns": {}, + "src/apis/addressvalidation": {}, "src/apis/adexchangebuyer": {}, "src/apis/adexchangebuyer2": {}, "src/apis/adexperiencereport": {}, @@ -11,6 +12,8 @@ "src/apis/admob": {}, "src/apis/adsense": {}, "src/apis/adsensehost": {}, + "src/apis/adsenseplatform": {}, + "src/apis/airquality": {}, "src/apis/alertcenter": {}, "src/apis/analytics": {}, "src/apis/analyticsreporting": {}, @@ -18,30 +21,43 @@ "src/apis/androidenterprise": {}, "src/apis/androidmanagement": {}, "src/apis/androidpublisher": {}, + "src/apis/apihub": {}, + "src/apis/apim": {}, + "src/apis/apphub": {}, "src/apis/appsactivity": {}, + "src/apis/areainsights": {}, "src/apis/authorizedbuyersmarketplace": {}, + "src/apis/backupdr": {}, + "src/apis/biglake": {}, "src/apis/bigtableadmin": {}, + "src/apis/blockchainnodeengine": {}, "src/apis/blogger": {}, "src/apis/books": {}, "src/apis/businessprofileperformance": {}, "src/apis/calendar": {}, "src/apis/chat": {}, + "src/apis/checks": {}, "src/apis/chromemanagement": {}, "src/apis/chromepolicy": {}, "src/apis/chromeuxreport": {}, "src/apis/civicinfo": {}, "src/apis/classroom": {}, + "src/apis/cloudcontrolspartner": {}, "src/apis/cloudidentity": {}, "src/apis/cloudkms": {}, "src/apis/cloudsearch": {}, "src/apis/cloudshell": {}, - "src/apis/cloudsupport": {}, "src/apis/cloudtasks": {}, + "src/apis/config": {}, "src/apis/connectors": {}, + "src/apis/contactcenteraiplatform": {}, "src/apis/content": {}, + "src/apis/css": {}, "src/apis/customsearch": {}, "src/apis/datapipelines": {}, + "src/apis/dataportability": {}, "src/apis/deploymentmanager": {}, + "src/apis/developerconnect": {}, "src/apis/dfareporting": {}, "src/apis/digitalassetlinks": {}, "src/apis/discovery": {}, @@ -58,7 +74,10 @@ "src/apis/fcmdata": {}, "src/apis/firebase": {}, "src/apis/firebaseappcheck": {}, + "src/apis/firebaseappdistribution": {}, + "src/apis/firebaseapphosting": {}, "src/apis/firebasedatabase": {}, + "src/apis/firebasedataconnect": {}, "src/apis/firebasedynamiclinks": {}, "src/apis/firebasehosting": {}, "src/apis/firebaseml": {}, @@ -70,6 +89,7 @@ "src/apis/gamesConfiguration": {}, "src/apis/gamesManagement": {}, "src/apis/genomics": {}, + "src/apis/gkeonprem": {}, "src/apis/gmail": {}, "src/apis/gmailpostmastertools": {}, "src/apis/groupsmigration": {}, @@ -80,11 +100,19 @@ "src/apis/ideahub": {}, "src/apis/identitytoolkit": {}, "src/apis/indexing": {}, + "src/apis/integrations": {}, + "src/apis/keep": {}, "src/apis/kgsearch": {}, + "src/apis/kmsinventory": {}, "src/apis/libraryagent": {}, "src/apis/licensing": {}, "src/apis/localservices": {}, + "src/apis/looker": {}, + "src/apis/managedkafka": {}, "src/apis/manufacturers": {}, + "src/apis/marketingplatformadmin": {}, + "src/apis/meet": {}, + "src/apis/merchantapi": {}, "src/apis/ml": {}, "src/apis/mybusinessaccountmanagement": {}, "src/apis/mybusinessbusinesscalls": {}, @@ -94,22 +122,29 @@ "src/apis/mybusinessplaceactions": {}, "src/apis/mybusinessqanda": {}, "src/apis/mybusinessverifications": {}, + "src/apis/netapp": {}, "src/apis/networkservices": {}, "src/apis/oauth2": {}, + "src/apis/observability": {}, "src/apis/ondemandscanning": {}, + "src/apis/oracledatabase": {}, "src/apis/pagespeedonline": {}, + "src/apis/parallelstore": {}, "src/apis/paymentsresellersubscription": {}, "src/apis/people": {}, "src/apis/playablelocations": {}, "src/apis/playcustomapp": {}, "src/apis/playdeveloperreporting": {}, + "src/apis/playgrouping": {}, "src/apis/playintegrity": {}, "src/apis/plus": {}, "src/apis/policyanalyzer": {}, "src/apis/policysimulator": {}, + "src/apis/pollen": {}, "src/apis/poly": {}, "src/apis/prod_tt_sasportal": {}, "src/apis/pubsublite": {}, + "src/apis/readerrevenuesubscriptionlinking": {}, "src/apis/realtimebidding": {}, "src/apis/recommendationengine": {}, "src/apis/remotebuildexecution": {}, @@ -118,17 +153,21 @@ "src/apis/safebrowsing": {}, "src/apis/sasportal": {}, "src/apis/script": {}, + "src/apis/searchads360": {}, "src/apis/searchconsole": {}, + "src/apis/securityposture": {}, "src/apis/serviceconsumermanagement": {}, "src/apis/servicenetworking": {}, "src/apis/sheets": {}, "src/apis/siteVerification": {}, "src/apis/slides": {}, "src/apis/smartdevicemanagement": {}, + "src/apis/solar": {}, "src/apis/sourcerepo": {}, "src/apis/sql": {}, "src/apis/sqladmin": {}, "src/apis/storage": {}, + "src/apis/storagebatchoperations": {}, "src/apis/streetviewpublish": {}, "src/apis/sts": {}, "src/apis/tagmanager": {}, @@ -140,177 +179,139 @@ "src/apis/vectortile": {}, "src/apis/verifiedaccess": {}, "src/apis/versionhistory": {}, + "src/apis/walletobjects": {}, "src/apis/webfonts": {}, "src/apis/webmasters": {}, "src/apis/workflowexecutions": {}, "src/apis/workloadmanager": {}, - "src/apis/workstations": {}, + "src/apis/workspaceevents": {}, "src/apis/youtube": {}, "src/apis/youtubeAnalytics": {}, "src/apis/youtubereporting": {}, ".": {}, - "src/apis/ids": {}, - "src/apis/places": {}, - "src/apis/vpcaccess": {}, - "src/apis/privateca": {}, - "src/apis/lifesciences": {}, - "src/apis/datalabeling": {}, - "src/apis/cloudasset": {}, - "src/apis/tasks": {}, - "src/apis/datalineage": {}, - "src/apis/transcoder": {}, - "src/apis/clouderrorreporting": {}, - "src/apis/kmsinventory": {}, - "src/apis/websecurityscanner": {}, - "src/apis/apigateway": {}, - "src/apis/analyticshub": {}, - "src/apis/notebooks": {}, - "src/apis/bigqueryconnection": {}, - "src/apis/recommender": {}, - "src/apis/analyticsadmin": {}, - "src/apis/servicedirectory": {}, + "src/apis/osconfig": {}, + "src/apis/pubsub": {}, + "src/apis/cloudbilling": {}, + "src/apis/bigquery": {}, + "src/apis/webrisk": {}, + "src/apis/cloudbuild": {}, + "src/apis/rapidmigrationassessment": {}, + "src/apis/container": {}, + "src/apis/storagetransfer": {}, "src/apis/monitoring": {}, - "src/apis/tpu": {}, - "src/apis/gkebackup": {}, - "src/apis/workflows": {}, - "src/apis/jobs": {}, - "src/apis/containeranalysis": {}, + "src/apis/firestore": {}, + "src/apis/networkconnectivity": {}, + "src/apis/bigquerydatapolicy": {}, + "src/apis/datastore": {}, + "src/apis/assuredworkloads": {}, + "src/apis/run": {}, + "src/apis/area120tables": {}, + "src/apis/texttospeech": {}, + "src/apis/bigqueryconnection": {}, + "src/apis/dataplex": {}, + "src/apis/retail": {}, + "src/apis/compute": {}, + "src/apis/dns": {}, + "src/apis/dataproc": {}, "src/apis/accesscontextmanager": {}, - "src/apis/datafusion": {}, - "src/apis/orgpolicy": {}, - "src/apis/documentai": {}, + "src/apis/vmwareengine": {}, + "src/apis/servicecontrol": {}, + "src/apis/oslogin": {}, + "src/apis/cloudscheduler": {}, + "src/apis/workstations": {}, + "src/apis/analyticsadmin": {}, + "src/apis/bigquerydatatransfer": {}, "src/apis/datastream": {}, - "src/apis/composer": {}, - "src/apis/assuredworkloads": {}, + "src/apis/containeranalysis": {}, + "src/apis/ids": {}, + "src/apis/iamcredentials": {}, + "src/apis/cloudsupport": {}, + "src/apis/language": {}, "src/apis/logging": {}, - "src/apis/domains": {}, - "src/apis/gkehub": {}, + "src/apis/cloudtrace": {}, "src/apis/vision": {}, - "src/apis/policytroubleshooter": {}, - "src/apis/dataflow": {}, - "src/apis/gameservices": {}, - "src/apis/acmedns": {}, - "src/apis/discoveryengine": {}, - "src/apis/secretmanager": {}, - "src/apis/bigquery": {}, - "src/apis/cloudfunctions": {}, "src/apis/vmmigration": {}, - "src/apis/certificatemanager": {}, - "src/apis/baremetalsolution": {}, + "src/apis/cloudiot": {}, + "src/apis/datafusion": {}, "src/apis/accessapproval": {}, - "src/apis/container": {}, - "src/apis/datamigration": {}, - "src/apis/publicca": {}, - "src/apis/batch": {}, - "src/apis/datacatalog": {}, + "src/apis/notebooks": {}, + "src/apis/discoveryengine": {}, + "src/apis/dialogflow": {}, + "src/apis/translate": {}, + "src/apis/places": {}, + "src/apis/migrationcenter": {}, + "src/apis/serviceusage": {}, + "src/apis/tpu": {}, + "src/apis/billingbudgets": {}, + "src/apis/resourcesettings": {}, + "src/apis/spanner": {}, + "src/apis/aiplatform": {}, + "src/apis/transcoder": {}, + "src/apis/domains": {}, + "src/apis/metastore": {}, "src/apis/managedidentities": {}, - "src/apis/bigquerydatatransfer": {}, "src/apis/apikeys": {}, - "src/apis/dns": {}, - "src/apis/memcache": {}, - "src/apis/cloudscheduler": {}, - "src/apis/dialogflow": {}, + "src/apis/gameservices": {}, + "src/apis/lifesciences": {}, "src/apis/contentwarehouse": {}, - "src/apis/speech": {}, - "src/apis/contactcenterinsights": {}, - "src/apis/oslogin": {}, - "src/apis/texttospeech": {}, - "src/apis/readerrevenuesubscriptionlinking": {}, - "src/apis/compute": {}, - "src/apis/cloudtrace": {}, - "src/apis/dataplex": {}, - "src/apis/advisorynotifications": {}, - "src/apis/language": {}, - "src/apis/retail": {}, - "src/apis/file": {}, - "src/apis/iap": {}, - "src/apis/cloudresourcemanager": {}, - "src/apis/osconfig": {}, + "src/apis/clouddebugger": {}, "src/apis/essentialcontacts": {}, - "src/apis/appengine": {}, - "src/apis/checks": {}, - "src/apis/cloudchannel": {}, - "src/apis/translate": {}, - "src/apis/bigqueryreservation": {}, + "src/apis/datalabeling": {}, + "src/apis/composer": {}, + "src/apis/gkehub": {}, + "src/apis/iap": {}, "src/apis/apigeeregistry": {}, - "src/apis/eventarc": {}, - "src/apis/redis": {}, - "src/apis/clouddebugger": {}, - "src/apis/servicecontrol": {}, - "src/apis/videointelligence": {}, - "src/apis/cloudbuild": {}, - "src/apis/dlp": {}, - "src/apis/networksecurity": {}, "src/apis/binaryauthorization": {}, - "src/apis/securitycenter": {}, - "src/apis/cloudprofiler": {}, - "src/apis/dataproc": {}, - "src/apis/pubsub": {}, - "src/apis/dataform": {}, - "src/apis/servicemanagement": {}, - "src/apis/searchads360": {}, - "src/apis/firebaseappdistribution": {}, - "src/apis/billingbudgets": {}, - "src/apis/cloudiot": {}, - "src/apis/area120tables": {}, + "src/apis/alloydb": {}, + "src/apis/clouderrorreporting": {}, + "src/apis/cloudresourcemanager": {}, + "src/apis/policytroubleshooter": {}, + "src/apis/artifactregistry": {}, + "src/apis/dataflow": {}, "src/apis/beyondcorp": {}, + "src/apis/certificatemanager": {}, + "src/apis/recommender": {}, "src/apis/networkmanagement": {}, - "src/apis/networkconnectivity": {}, - "src/apis/analyticsdata": {}, - "src/apis/spanner": {}, - "src/apis/artifactregistry": {}, - "src/apis/firestore": {}, - "src/apis/recaptchaenterprise": {}, + "src/apis/file": {}, + "src/apis/gkebackup": {}, + "src/apis/cloudasset": {}, + "src/apis/datacatalog": {}, + "src/apis/dataform": {}, + "src/apis/advisorynotifications": {}, + "src/apis/batch": {}, + "src/apis/videointelligence": {}, "src/apis/clouddeploy": {}, - "src/apis/datastore": {}, - "src/apis/integrations": {}, - "src/apis/serviceusage": {}, - "src/apis/iamcredentials": {}, - "src/apis/resourcesettings": {}, - "src/apis/storagetransfer": {}, - "src/apis/run": {}, - "src/apis/aiplatform": {}, - "src/apis/webrisk": {}, - "src/apis/gkeonprem": {}, - "src/apis/blockchainnodeengine": {}, - "src/apis/migrationcenter": {}, - "src/apis/contactcenteraiplatform": {}, - "src/apis/cloudbilling": {}, - "src/apis/metastore": {}, - "src/apis/rapidmigrationassessment": {}, - "src/apis/playgrouping": {}, - "src/apis/alloydb": {}, - "src/apis/backupdr": {}, - "src/apis/vmwareengine": {}, - "src/apis/biglake": {}, - "src/apis/looker": {}, - "src/apis/bigquerydatapolicy": {}, - "src/apis/walletobjects": {}, - "src/apis/apphub": {}, - "src/apis/dataportability": {}, - "src/apis/workspaceevents": {}, - "src/apis/marketingplatformadmin": {}, - "src/apis/solar": {}, - "src/apis/config": {}, - "src/apis/cloudcontrolspartner": {}, - "src/apis/addressvalidation": {}, - "src/apis/developerconnect": {}, - "src/apis/merchantapi": {}, - "src/apis/meet": {}, - "src/apis/pollen": {}, - "src/apis/airquality": {}, - "src/apis/apim": {}, - "src/apis/adsenseplatform": {}, - "src/apis/keep": {}, - "src/apis/css": {}, - "src/apis/oracledatabase": {}, - "src/apis/firebasedataconnect": {}, - "src/apis/netapp": {}, - "src/apis/parallelstore": {}, - "src/apis/securityposture": {}, - "src/apis/areainsights": {}, - "src/apis/managedkafka": {}, - "src/apis/observability": {}, - "src/apis/storagebatchoperations": {} + "src/apis/secretmanager": {}, + "src/apis/recaptchaenterprise": {}, + "src/apis/workflows": {}, + "src/apis/jobs": {}, + "src/apis/tasks": {}, + "src/apis/publicca": {}, + "src/apis/cloudfunctions": {}, + "src/apis/baremetalsolution": {}, + "src/apis/memcache": {}, + "src/apis/privateca": {}, + "src/apis/securitycenter": {}, + "src/apis/servicemanagement": {}, + "src/apis/analyticshub": {}, + "src/apis/analyticsdata": {}, + "src/apis/cloudchannel": {}, + "src/apis/datalineage": {}, + "src/apis/servicedirectory": {}, + "src/apis/redis": {}, + "src/apis/vpcaccess": {}, + "src/apis/documentai": {}, + "src/apis/networksecurity": {}, + "src/apis/cloudprofiler": {}, + "src/apis/websecurityscanner": {}, + "src/apis/speech": {}, + "src/apis/bigqueryreservation": {}, + "src/apis/orgpolicy": {}, + "src/apis/contactcenterinsights": {}, + "src/apis/eventarc": {}, + "src/apis/datamigration": {}, + "src/apis/appengine": {}, + "src/apis/dlp": {}, + "src/apis/apigateway": {} } } \ No newline at end of file diff --git a/samples/blogger/blogger.js b/samples/blogger/blogger.js index 48994045b82..95012e25e57 100644 --- a/samples/blogger/blogger.js +++ b/samples/blogger/blogger.js @@ -31,5 +31,5 @@ blogger.blogs.get( throw err; } console.log(res.data); - } + }, ); diff --git a/samples/drive/export.js b/samples/drive/export.js index f157d5f0b16..da9d0f01d37 100644 --- a/samples/drive/export.js +++ b/samples/drive/export.js @@ -35,7 +35,7 @@ async function runSample() { const dest = fs.createWriteStream(destPath); const res = await drive.files.export( {fileId, mimeType: 'application/pdf'}, - {responseType: 'stream'} + {responseType: 'stream'}, ); await new Promise((resolve, reject) => { res.data diff --git a/samples/drive/upload.js b/samples/drive/upload.js index d32054ba5e8..33e997439c7 100644 --- a/samples/drive/upload.js +++ b/samples/drive/upload.js @@ -48,7 +48,7 @@ async function runSample(fileName) { readline.cursorTo(process.stdout, 0); process.stdout.write(`${Math.round(progress)}% complete`); }, - } + }, ); console.log(res.data); return res.data; diff --git a/samples/oauth2.js b/samples/oauth2.js index b276671800c..00a51c33814 100644 --- a/samples/oauth2.js +++ b/samples/oauth2.js @@ -38,7 +38,7 @@ if (fs.existsSync(keyPath)) { const oauth2Client = new google.auth.OAuth2( keys.client_id, keys.client_secret, - keys.redirect_uris[0] + keys.redirect_uris[0], ); /** diff --git a/samples/package.json b/samples/package.json index 195713db5da..08131e0f131 100644 --- a/samples/package.json +++ b/samples/package.json @@ -5,7 +5,7 @@ "license": "Apache-2.0", "private": true, "engines": { - "node": ">=12.0.0" + "node": ">=18" }, "files": [ "**/*.js", @@ -19,7 +19,7 @@ "@google-cloud/local-auth": "^3.0.0", "express": "^4.17.1", "googleapis": "^149.0.0", - "googleapis-common": "^7.0.0", + "googleapis-common": "^8.0.2-rc.0", "nconf": "^0.12.0", "open": "^8.0.0", "server-destroy": "^1.0.1", @@ -33,4 +33,4 @@ "proxyquire": "^2.1.3", "typescript": "^4.6.4" } -} +} \ No newline at end of file diff --git a/samples/sheets/quickstart.js b/samples/sheets/quickstart.js index f88827e31e0..c1ca3eed43d 100644 --- a/samples/sheets/quickstart.js +++ b/samples/sheets/quickstart.js @@ -28,7 +28,7 @@ const scopes = ['https://www.googleapis.com/auth/spreadsheets.readonly']; const client = new google.auth.OAuth2( keys.web.client_id, keys.web.client_secret, - keys.web.redirect_uris[0] + keys.web.redirect_uris[0], ); // Generate the url that will be used for authorization @@ -86,7 +86,7 @@ function listMajors(auth) { console.log(`${row[0]}, ${row[4]}`); } } - } + }, ); } // [END main_body] diff --git a/samples/test/test.samples.auth.js b/samples/test/test.samples.auth.js index a27538b1d14..0dedad720be 100644 --- a/samples/test/test.samples.auth.js +++ b/samples/test/test.samples.auth.js @@ -32,11 +32,12 @@ describe('Auth samples', () => { }); it('should support JWT', async () => { - const scope = nock('https://www.googleapis.com') + const scopes = [nock('https://www.googleapis.com') .get('/drive/v2/files') - .reply(200, {}) - .post('/oauth2/v4/token') - .reply(200, {access_token: 'not-a-token'}); + .reply(200, {}), + nock('https://oauth2.googleapis.com/') + .post('/token') + .reply(200, {access_token: 'not-a-token'})] const fakePath = path.resolve('../test/fixtures/service.json'); const realPath = path.resolve('jwt.keys.json'); const exists = fs.existsSync(realPath); @@ -46,7 +47,7 @@ describe('Auth samples', () => { } const data = await samples.jwt.runSample(); assert(data); - scope.done(); + scopes.forEach(scope => scope.done()); }); it('should accept an access token header', async () => { @@ -54,7 +55,7 @@ describe('Auth samples', () => { .get('/drive/v2/files') .reply(200, {}); const res = await samples.accessToken.runSample(12345); - assert.strictEqual(res.config.headers['Authorization'], 'Bearer 12345'); + assert.strictEqual(res.config.headers.get('Authorization'), 'Bearer 12345'); scope.done(); }); }); diff --git a/samples/test/test.samples.sheets.js b/samples/test/test.samples.sheets.js index 069183db519..88e95ff645b 100644 --- a/samples/test/test.samples.sheets.js +++ b/samples/test/test.samples.sheets.js @@ -48,8 +48,8 @@ describe('sheets samples', () => { const scope = nock(baseUrl) .post( `/v4/spreadsheets/aSheetId/values/${encodeURIComponent( - range - )}:append?valueInputOption=USER_ENTERED` + range, + )}:append?valueInputOption=USER_ENTERED`, ) .reply(200, {}); const data = await samples.append.runSample('aSheetId', 'A1:A10'); diff --git a/samples/test/test.samples.webmasters.js b/samples/test/test.samples.webmasters.js index bb66eea4062..5c62fe8e93d 100644 --- a/samples/test/test.samples.webmasters.js +++ b/samples/test/test.samples.webmasters.js @@ -44,7 +44,7 @@ describe('webmaster samples', () => { it('should query analytics', async () => { const siteUrl = 'http://jbeckwith.com'; const path = `/webmasters/v3/sites/${encodeURIComponent( - siteUrl + siteUrl, )}/searchAnalytics/query`; const scope = nock('https://www.googleapis.com').post(path).reply(200, {}); const data = await samples.query.runSample(); diff --git a/samples/test/test.samples.youtube.js b/samples/test/test.samples.youtube.js index 0f1a46f9c87..eab6451b088 100644 --- a/samples/test/test.samples.youtube.js +++ b/samples/test/test.samples.youtube.js @@ -47,7 +47,7 @@ describe('YouTube samples', () => { it('should upload a video', async () => { const scope = nock('https://youtube.googleapis.com') .post( - '/upload/youtube/v3/videos?part=id%2Csnippet%2Cstatus¬ifySubscribers=false&uploadType=multipart' + '/upload/youtube/v3/videos?part=id%2Csnippet%2Cstatus¬ifySubscribers=false&uploadType=multipart', ) .reply(200, {kind: 'youtube#video'}); const data = await samples.upload.runSample(someFile); diff --git a/samples/youtube/upload.js b/samples/youtube/upload.js index 24dc23e971a..cfea48587ef 100644 --- a/samples/youtube/upload.js +++ b/samples/youtube/upload.js @@ -65,7 +65,7 @@ async function runSample(fileName) { readline.cursorTo(process.stdout, 0, null); process.stdout.write(`${Math.round(progress)}% complete`); }, - } + }, ); console.log('\n\n'); console.log(res.data); diff --git a/src/apis/abusiveexperiencereport/index.ts b/src/apis/abusiveexperiencereport/index.ts index 0d983d71efb..05411e80f55 100644 --- a/src/apis/abusiveexperiencereport/index.ts +++ b/src/apis/abusiveexperiencereport/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/abusiveexperiencereport/package.json b/src/apis/abusiveexperiencereport/package.json index 6342b52b558..c4f22d42815 100644 --- a/src/apis/abusiveexperiencereport/package.json +++ b/src/apis/abusiveexperiencereport/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/abusiveexperiencereport/v1.ts b/src/apis/abusiveexperiencereport/v1.ts index b17da1625b0..ebe1e0a3a2d 100644 --- a/src/apis/abusiveexperiencereport/v1.ts +++ b/src/apis/abusiveexperiencereport/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -186,11 +186,11 @@ export namespace abusiveexperiencereport_v1 { get( params: Params$Resource$Sites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -221,8 +221,8 @@ export namespace abusiveexperiencereport_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -288,11 +288,11 @@ export namespace abusiveexperiencereport_v1 { list( params: Params$Resource$Violatingsites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Violatingsites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Violatingsites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -325,8 +325,8 @@ export namespace abusiveexperiencereport_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Violatingsites$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/acceleratedmobilepageurl/index.ts b/src/apis/acceleratedmobilepageurl/index.ts index e24821c97b5..68d0db100a8 100644 --- a/src/apis/acceleratedmobilepageurl/index.ts +++ b/src/apis/acceleratedmobilepageurl/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/acceleratedmobilepageurl/package.json b/src/apis/acceleratedmobilepageurl/package.json index 29fdc8f5092..7e5063ffb2b 100644 --- a/src/apis/acceleratedmobilepageurl/package.json +++ b/src/apis/acceleratedmobilepageurl/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/acceleratedmobilepageurl/v1.ts b/src/apis/acceleratedmobilepageurl/v1.ts index 038df7a09f3..b5a4918e9b4 100644 --- a/src/apis/acceleratedmobilepageurl/v1.ts +++ b/src/apis/acceleratedmobilepageurl/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -202,11 +202,11 @@ export namespace acceleratedmobilepageurl_v1 { batchGet( params: Params$Resource$Ampurls$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Ampurls$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Ampurls$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -241,8 +241,8 @@ export namespace acceleratedmobilepageurl_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ampurls$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/accessapproval/index.ts b/src/apis/accessapproval/index.ts index 5f4941f8f17..60c830acc3a 100644 --- a/src/apis/accessapproval/index.ts +++ b/src/apis/accessapproval/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/accessapproval/package.json b/src/apis/accessapproval/package.json index e3d361a474b..1e0d60c3dfe 100644 --- a/src/apis/accessapproval/package.json +++ b/src/apis/accessapproval/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/accessapproval/v1.ts b/src/apis/accessapproval/v1.ts index b38358e7c0c..673ae9a807e 100644 --- a/src/apis/accessapproval/v1.ts +++ b/src/apis/accessapproval/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -437,11 +437,11 @@ export namespace accessapproval_v1 { deleteAccessApprovalSettings( params: Params$Resource$Folders$Deleteaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params?: Params$Resource$Folders$Deleteaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params: Params$Resource$Folders$Deleteaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -472,7 +472,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Deleteaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -525,11 +528,11 @@ export namespace accessapproval_v1 { getAccessApprovalSettings( params: Params$Resource$Folders$Getaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params?: Params$Resource$Folders$Getaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params: Params$Resource$Folders$Getaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -564,8 +567,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -618,11 +621,11 @@ export namespace accessapproval_v1 { getServiceAccount( params: Params$Resource$Folders$Getserviceaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getServiceAccount( params?: Params$Resource$Folders$Getserviceaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getServiceAccount( params: Params$Resource$Folders$Getserviceaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -657,8 +660,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getserviceaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -713,11 +716,11 @@ export namespace accessapproval_v1 { updateAccessApprovalSettings( params: Params$Resource$Folders$Updateaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params?: Params$Resource$Folders$Updateaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params: Params$Resource$Folders$Updateaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -752,8 +755,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Updateaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -851,11 +854,11 @@ export namespace accessapproval_v1 { approve( params: Params$Resource$Folders$Approvalrequests$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Folders$Approvalrequests$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Folders$Approvalrequests$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -884,7 +887,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Approvalrequests$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -940,11 +946,11 @@ export namespace accessapproval_v1 { dismiss( params: Params$Resource$Folders$Approvalrequests$Dismiss, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params?: Params$Resource$Folders$Approvalrequests$Dismiss, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params: Params$Resource$Folders$Approvalrequests$Dismiss, options: StreamMethodOptions | BodyResponseCallback, @@ -973,7 +979,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Approvalrequests$Dismiss; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1029,11 +1038,11 @@ export namespace accessapproval_v1 { get( params: Params$Resource$Folders$Approvalrequests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Approvalrequests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Approvalrequests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1062,7 +1071,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Approvalrequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1115,11 +1127,11 @@ export namespace accessapproval_v1 { invalidate( params: Params$Resource$Folders$Approvalrequests$Invalidate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; invalidate( params?: Params$Resource$Folders$Approvalrequests$Invalidate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; invalidate( params: Params$Resource$Folders$Approvalrequests$Invalidate, options: StreamMethodOptions | BodyResponseCallback, @@ -1148,7 +1160,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Approvalrequests$Invalidate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1204,11 +1219,11 @@ export namespace accessapproval_v1 { list( params: Params$Resource$Folders$Approvalrequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Approvalrequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Approvalrequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1243,8 +1258,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Approvalrequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1376,11 +1391,11 @@ export namespace accessapproval_v1 { deleteAccessApprovalSettings( params: Params$Resource$Organizations$Deleteaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params?: Params$Resource$Organizations$Deleteaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params: Params$Resource$Organizations$Deleteaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1411,7 +1426,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Deleteaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1465,11 +1483,11 @@ export namespace accessapproval_v1 { getAccessApprovalSettings( params: Params$Resource$Organizations$Getaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params?: Params$Resource$Organizations$Getaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params: Params$Resource$Organizations$Getaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1504,8 +1522,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1558,11 +1576,11 @@ export namespace accessapproval_v1 { getServiceAccount( params: Params$Resource$Organizations$Getserviceaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getServiceAccount( params?: Params$Resource$Organizations$Getserviceaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getServiceAccount( params: Params$Resource$Organizations$Getserviceaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -1597,8 +1615,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getserviceaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1653,11 +1671,11 @@ export namespace accessapproval_v1 { updateAccessApprovalSettings( params: Params$Resource$Organizations$Updateaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params?: Params$Resource$Organizations$Updateaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params: Params$Resource$Organizations$Updateaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1692,8 +1710,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updateaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1792,11 +1810,11 @@ export namespace accessapproval_v1 { approve( params: Params$Resource$Organizations$Approvalrequests$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Organizations$Approvalrequests$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Organizations$Approvalrequests$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -1825,7 +1843,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Approvalrequests$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1881,11 +1902,11 @@ export namespace accessapproval_v1 { dismiss( params: Params$Resource$Organizations$Approvalrequests$Dismiss, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params?: Params$Resource$Organizations$Approvalrequests$Dismiss, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params: Params$Resource$Organizations$Approvalrequests$Dismiss, options: StreamMethodOptions | BodyResponseCallback, @@ -1914,7 +1935,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Approvalrequests$Dismiss; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1970,11 +1994,11 @@ export namespace accessapproval_v1 { get( params: Params$Resource$Organizations$Approvalrequests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Approvalrequests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Approvalrequests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2003,7 +2027,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Approvalrequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2056,11 +2083,11 @@ export namespace accessapproval_v1 { invalidate( params: Params$Resource$Organizations$Approvalrequests$Invalidate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; invalidate( params?: Params$Resource$Organizations$Approvalrequests$Invalidate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; invalidate( params: Params$Resource$Organizations$Approvalrequests$Invalidate, options: StreamMethodOptions | BodyResponseCallback, @@ -2089,7 +2116,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Approvalrequests$Invalidate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2146,11 +2176,11 @@ export namespace accessapproval_v1 { list( params: Params$Resource$Organizations$Approvalrequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Approvalrequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Approvalrequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2185,8 +2215,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Approvalrequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2318,11 +2348,11 @@ export namespace accessapproval_v1 { deleteAccessApprovalSettings( params: Params$Resource$Projects$Deleteaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params?: Params$Resource$Projects$Deleteaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params: Params$Resource$Projects$Deleteaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2353,7 +2383,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deleteaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2406,11 +2439,11 @@ export namespace accessapproval_v1 { getAccessApprovalSettings( params: Params$Resource$Projects$Getaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params?: Params$Resource$Projects$Getaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params: Params$Resource$Projects$Getaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2445,8 +2478,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2499,11 +2532,11 @@ export namespace accessapproval_v1 { getServiceAccount( params: Params$Resource$Projects$Getserviceaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getServiceAccount( params?: Params$Resource$Projects$Getserviceaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getServiceAccount( params: Params$Resource$Projects$Getserviceaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -2538,8 +2571,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getserviceaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2594,11 +2627,11 @@ export namespace accessapproval_v1 { updateAccessApprovalSettings( params: Params$Resource$Projects$Updateaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params?: Params$Resource$Projects$Updateaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params: Params$Resource$Projects$Updateaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2633,8 +2666,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updateaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2732,11 +2765,11 @@ export namespace accessapproval_v1 { approve( params: Params$Resource$Projects$Approvalrequests$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Projects$Approvalrequests$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Projects$Approvalrequests$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -2765,7 +2798,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Approvalrequests$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2821,11 +2857,11 @@ export namespace accessapproval_v1 { dismiss( params: Params$Resource$Projects$Approvalrequests$Dismiss, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params?: Params$Resource$Projects$Approvalrequests$Dismiss, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params: Params$Resource$Projects$Approvalrequests$Dismiss, options: StreamMethodOptions | BodyResponseCallback, @@ -2854,7 +2890,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Approvalrequests$Dismiss; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2910,11 +2949,11 @@ export namespace accessapproval_v1 { get( params: Params$Resource$Projects$Approvalrequests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Approvalrequests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Approvalrequests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2943,7 +2982,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Approvalrequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2996,11 +3038,11 @@ export namespace accessapproval_v1 { invalidate( params: Params$Resource$Projects$Approvalrequests$Invalidate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; invalidate( params?: Params$Resource$Projects$Approvalrequests$Invalidate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; invalidate( params: Params$Resource$Projects$Approvalrequests$Invalidate, options: StreamMethodOptions | BodyResponseCallback, @@ -3029,7 +3071,10 @@ export namespace accessapproval_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Approvalrequests$Invalidate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3085,11 +3130,11 @@ export namespace accessapproval_v1 { list( params: Params$Resource$Projects$Approvalrequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Approvalrequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Approvalrequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3124,8 +3169,8 @@ export namespace accessapproval_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Approvalrequests$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/accessapproval/v1beta1.ts b/src/apis/accessapproval/v1beta1.ts index 3235be54f65..43ec25442f0 100644 --- a/src/apis/accessapproval/v1beta1.ts +++ b/src/apis/accessapproval/v1beta1.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -354,11 +354,11 @@ export namespace accessapproval_v1beta1 { deleteAccessApprovalSettings( params: Params$Resource$Folders$Deleteaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params?: Params$Resource$Folders$Deleteaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params: Params$Resource$Folders$Deleteaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -389,7 +389,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Deleteaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -488,11 +488,11 @@ export namespace accessapproval_v1beta1 { getAccessApprovalSettings( params: Params$Resource$Folders$Getaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params?: Params$Resource$Folders$Getaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params: Params$Resource$Folders$Getaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -527,8 +527,8 @@ export namespace accessapproval_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -650,11 +650,11 @@ export namespace accessapproval_v1beta1 { updateAccessApprovalSettings( params: Params$Resource$Folders$Updateaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params?: Params$Resource$Folders$Updateaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params: Params$Resource$Folders$Updateaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -689,8 +689,8 @@ export namespace accessapproval_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Updateaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -841,11 +841,11 @@ export namespace accessapproval_v1beta1 { approve( params: Params$Resource$Folders$Approvalrequests$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Folders$Approvalrequests$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Folders$Approvalrequests$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -874,7 +874,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Approvalrequests$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -988,11 +988,11 @@ export namespace accessapproval_v1beta1 { dismiss( params: Params$Resource$Folders$Approvalrequests$Dismiss, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params?: Params$Resource$Folders$Approvalrequests$Dismiss, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params: Params$Resource$Folders$Approvalrequests$Dismiss, options: StreamMethodOptions | BodyResponseCallback, @@ -1021,7 +1021,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Approvalrequests$Dismiss; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1128,11 +1128,11 @@ export namespace accessapproval_v1beta1 { get( params: Params$Resource$Folders$Approvalrequests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Approvalrequests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Approvalrequests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1161,7 +1161,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Approvalrequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1277,11 +1277,11 @@ export namespace accessapproval_v1beta1 { list( params: Params$Resource$Folders$Approvalrequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Approvalrequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Approvalrequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1316,8 +1316,8 @@ export namespace accessapproval_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Approvalrequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1478,11 +1478,11 @@ export namespace accessapproval_v1beta1 { deleteAccessApprovalSettings( params: Params$Resource$Organizations$Deleteaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params?: Params$Resource$Organizations$Deleteaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params: Params$Resource$Organizations$Deleteaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1513,7 +1513,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Deleteaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1612,11 +1612,11 @@ export namespace accessapproval_v1beta1 { getAccessApprovalSettings( params: Params$Resource$Organizations$Getaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params?: Params$Resource$Organizations$Getaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params: Params$Resource$Organizations$Getaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1651,8 +1651,8 @@ export namespace accessapproval_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1774,11 +1774,11 @@ export namespace accessapproval_v1beta1 { updateAccessApprovalSettings( params: Params$Resource$Organizations$Updateaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params?: Params$Resource$Organizations$Updateaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params: Params$Resource$Organizations$Updateaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1813,8 +1813,8 @@ export namespace accessapproval_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updateaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1965,11 +1965,11 @@ export namespace accessapproval_v1beta1 { approve( params: Params$Resource$Organizations$Approvalrequests$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Organizations$Approvalrequests$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Organizations$Approvalrequests$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -1998,7 +1998,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Approvalrequests$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2112,11 +2112,11 @@ export namespace accessapproval_v1beta1 { dismiss( params: Params$Resource$Organizations$Approvalrequests$Dismiss, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params?: Params$Resource$Organizations$Approvalrequests$Dismiss, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params: Params$Resource$Organizations$Approvalrequests$Dismiss, options: StreamMethodOptions | BodyResponseCallback, @@ -2145,7 +2145,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Approvalrequests$Dismiss; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2252,11 +2252,11 @@ export namespace accessapproval_v1beta1 { get( params: Params$Resource$Organizations$Approvalrequests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Approvalrequests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Approvalrequests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2285,7 +2285,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Approvalrequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2401,11 +2401,11 @@ export namespace accessapproval_v1beta1 { list( params: Params$Resource$Organizations$Approvalrequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Approvalrequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Approvalrequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2440,8 +2440,8 @@ export namespace accessapproval_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Approvalrequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2602,11 +2602,11 @@ export namespace accessapproval_v1beta1 { deleteAccessApprovalSettings( params: Params$Resource$Projects$Deleteaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params?: Params$Resource$Projects$Deleteaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessApprovalSettings( params: Params$Resource$Projects$Deleteaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2637,7 +2637,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deleteaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2736,11 +2736,11 @@ export namespace accessapproval_v1beta1 { getAccessApprovalSettings( params: Params$Resource$Projects$Getaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params?: Params$Resource$Projects$Getaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAccessApprovalSettings( params: Params$Resource$Projects$Getaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2775,8 +2775,8 @@ export namespace accessapproval_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2898,11 +2898,11 @@ export namespace accessapproval_v1beta1 { updateAccessApprovalSettings( params: Params$Resource$Projects$Updateaccessapprovalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params?: Params$Resource$Projects$Updateaccessapprovalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessApprovalSettings( params: Params$Resource$Projects$Updateaccessapprovalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2937,8 +2937,8 @@ export namespace accessapproval_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updateaccessapprovalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3089,11 +3089,11 @@ export namespace accessapproval_v1beta1 { approve( params: Params$Resource$Projects$Approvalrequests$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Projects$Approvalrequests$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Projects$Approvalrequests$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -3122,7 +3122,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Approvalrequests$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3236,11 +3236,11 @@ export namespace accessapproval_v1beta1 { dismiss( params: Params$Resource$Projects$Approvalrequests$Dismiss, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params?: Params$Resource$Projects$Approvalrequests$Dismiss, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params: Params$Resource$Projects$Approvalrequests$Dismiss, options: StreamMethodOptions | BodyResponseCallback, @@ -3269,7 +3269,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Approvalrequests$Dismiss; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3376,11 +3376,11 @@ export namespace accessapproval_v1beta1 { get( params: Params$Resource$Projects$Approvalrequests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Approvalrequests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Approvalrequests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3409,7 +3409,7 @@ export namespace accessapproval_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Approvalrequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3525,11 +3525,11 @@ export namespace accessapproval_v1beta1 { list( params: Params$Resource$Projects$Approvalrequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Approvalrequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Approvalrequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3564,8 +3564,8 @@ export namespace accessapproval_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Approvalrequests$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/accesscontextmanager/index.ts b/src/apis/accesscontextmanager/index.ts index b204e7c254e..7b7bb45c541 100644 --- a/src/apis/accesscontextmanager/index.ts +++ b/src/apis/accesscontextmanager/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/accesscontextmanager/package.json b/src/apis/accesscontextmanager/package.json index fab7db7af9c..8120c4a2814 100644 --- a/src/apis/accesscontextmanager/package.json +++ b/src/apis/accesscontextmanager/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/accesscontextmanager/v1.ts b/src/apis/accesscontextmanager/v1.ts index cdfe9e11d2c..7e9c55e65e0 100644 --- a/src/apis/accesscontextmanager/v1.ts +++ b/src/apis/accesscontextmanager/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1095,11 +1095,11 @@ export namespace accesscontextmanager_v1 { create( params: Params$Resource$Accesspolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accesspolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accesspolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1128,7 +1128,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1181,11 +1184,11 @@ export namespace accesscontextmanager_v1 { delete( params: Params$Resource$Accesspolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accesspolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accesspolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1214,7 +1217,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1267,11 +1273,11 @@ export namespace accesscontextmanager_v1 { get( params: Params$Resource$Accesspolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accesspolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accesspolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1300,7 +1306,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1353,11 +1362,11 @@ export namespace accesscontextmanager_v1 { getIamPolicy( params: Params$Resource$Accesspolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Accesspolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Accesspolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1386,7 +1395,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1442,11 +1454,11 @@ export namespace accesscontextmanager_v1 { list( params: Params$Resource$Accesspolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accesspolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accesspolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1481,8 +1493,8 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1535,11 +1547,11 @@ export namespace accesscontextmanager_v1 { patch( params: Params$Resource$Accesspolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accesspolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accesspolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1568,7 +1580,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1621,11 +1636,11 @@ export namespace accesscontextmanager_v1 { setIamPolicy( params: Params$Resource$Accesspolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Accesspolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Accesspolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1654,7 +1669,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1710,11 +1728,11 @@ export namespace accesscontextmanager_v1 { testIamPermissions( params: Params$Resource$Accesspolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Accesspolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Accesspolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1749,8 +1767,8 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1902,11 +1920,11 @@ export namespace accesscontextmanager_v1 { create( params: Params$Resource$Accesspolicies$Accesslevels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accesspolicies$Accesslevels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accesspolicies$Accesslevels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1935,7 +1953,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1991,11 +2012,11 @@ export namespace accesscontextmanager_v1 { delete( params: Params$Resource$Accesspolicies$Accesslevels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accesspolicies$Accesslevels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accesspolicies$Accesslevels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2024,7 +2045,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2077,11 +2101,11 @@ export namespace accesscontextmanager_v1 { get( params: Params$Resource$Accesspolicies$Accesslevels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accesspolicies$Accesslevels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accesspolicies$Accesslevels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2110,7 +2134,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2163,11 +2190,11 @@ export namespace accesscontextmanager_v1 { list( params: Params$Resource$Accesspolicies$Accesslevels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accesspolicies$Accesslevels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accesspolicies$Accesslevels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2200,8 +2227,8 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2257,11 +2284,11 @@ export namespace accesscontextmanager_v1 { patch( params: Params$Resource$Accesspolicies$Accesslevels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accesspolicies$Accesslevels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accesspolicies$Accesslevels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2290,7 +2317,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2343,11 +2373,11 @@ export namespace accesscontextmanager_v1 { replaceAll( params: Params$Resource$Accesspolicies$Accesslevels$Replaceall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceAll( params?: Params$Resource$Accesspolicies$Accesslevels$Replaceall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replaceAll( params: Params$Resource$Accesspolicies$Accesslevels$Replaceall, options: StreamMethodOptions | BodyResponseCallback, @@ -2376,7 +2406,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$Replaceall; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2432,11 +2465,11 @@ export namespace accesscontextmanager_v1 { testIamPermissions( params: Params$Resource$Accesspolicies$Accesslevels$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Accesspolicies$Accesslevels$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Accesspolicies$Accesslevels$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2471,8 +2504,8 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2626,11 +2659,11 @@ export namespace accesscontextmanager_v1 { create( params: Params$Resource$Accesspolicies$Authorizedorgsdescs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accesspolicies$Authorizedorgsdescs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accesspolicies$Authorizedorgsdescs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2659,7 +2692,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Authorizedorgsdescs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2716,11 +2752,11 @@ export namespace accesscontextmanager_v1 { delete( params: Params$Resource$Accesspolicies$Authorizedorgsdescs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accesspolicies$Authorizedorgsdescs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accesspolicies$Authorizedorgsdescs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2749,7 +2785,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Authorizedorgsdescs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2803,11 +2842,11 @@ export namespace accesscontextmanager_v1 { get( params: Params$Resource$Accesspolicies$Authorizedorgsdescs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accesspolicies$Authorizedorgsdescs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accesspolicies$Authorizedorgsdescs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2838,8 +2877,8 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Authorizedorgsdescs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2892,11 +2931,11 @@ export namespace accesscontextmanager_v1 { list( params: Params$Resource$Accesspolicies$Authorizedorgsdescs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accesspolicies$Authorizedorgsdescs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accesspolicies$Authorizedorgsdescs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2931,8 +2970,8 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Authorizedorgsdescs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2990,11 +3029,11 @@ export namespace accesscontextmanager_v1 { patch( params: Params$Resource$Accesspolicies$Authorizedorgsdescs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accesspolicies$Authorizedorgsdescs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accesspolicies$Authorizedorgsdescs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3023,7 +3062,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Authorizedorgsdescs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3141,11 +3183,11 @@ export namespace accesscontextmanager_v1 { commit( params: Params$Resource$Accesspolicies$Serviceperimeters$Commit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commit( params?: Params$Resource$Accesspolicies$Serviceperimeters$Commit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commit( params: Params$Resource$Accesspolicies$Serviceperimeters$Commit, options: StreamMethodOptions | BodyResponseCallback, @@ -3174,7 +3216,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$Commit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3230,11 +3275,11 @@ export namespace accesscontextmanager_v1 { create( params: Params$Resource$Accesspolicies$Serviceperimeters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accesspolicies$Serviceperimeters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accesspolicies$Serviceperimeters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3263,7 +3308,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3319,11 +3367,11 @@ export namespace accesscontextmanager_v1 { delete( params: Params$Resource$Accesspolicies$Serviceperimeters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accesspolicies$Serviceperimeters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accesspolicies$Serviceperimeters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3352,7 +3400,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3405,11 +3456,11 @@ export namespace accesscontextmanager_v1 { get( params: Params$Resource$Accesspolicies$Serviceperimeters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accesspolicies$Serviceperimeters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accesspolicies$Serviceperimeters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3438,7 +3489,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3491,11 +3545,11 @@ export namespace accesscontextmanager_v1 { list( params: Params$Resource$Accesspolicies$Serviceperimeters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accesspolicies$Serviceperimeters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accesspolicies$Serviceperimeters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3530,8 +3584,8 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3589,11 +3643,11 @@ export namespace accesscontextmanager_v1 { patch( params: Params$Resource$Accesspolicies$Serviceperimeters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accesspolicies$Serviceperimeters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accesspolicies$Serviceperimeters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3622,7 +3676,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3675,11 +3732,11 @@ export namespace accesscontextmanager_v1 { replaceAll( params: Params$Resource$Accesspolicies$Serviceperimeters$Replaceall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceAll( params?: Params$Resource$Accesspolicies$Serviceperimeters$Replaceall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replaceAll( params: Params$Resource$Accesspolicies$Serviceperimeters$Replaceall, options: StreamMethodOptions | BodyResponseCallback, @@ -3708,7 +3765,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$Replaceall; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3764,11 +3824,11 @@ export namespace accesscontextmanager_v1 { testIamPermissions( params: Params$Resource$Accesspolicies$Serviceperimeters$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Accesspolicies$Serviceperimeters$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Accesspolicies$Serviceperimeters$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3803,8 +3863,8 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3962,11 +4022,11 @@ export namespace accesscontextmanager_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3995,7 +4055,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4048,11 +4111,11 @@ export namespace accesscontextmanager_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4081,7 +4144,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4134,11 +4200,11 @@ export namespace accesscontextmanager_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4167,7 +4233,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4219,11 +4288,11 @@ export namespace accesscontextmanager_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4256,8 +4325,8 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4370,11 +4439,11 @@ export namespace accesscontextmanager_v1 { create( params: Params$Resource$Organizations$Gcpuseraccessbindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Gcpuseraccessbindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Gcpuseraccessbindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4403,7 +4472,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Gcpuseraccessbindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4460,11 +4532,11 @@ export namespace accesscontextmanager_v1 { delete( params: Params$Resource$Organizations$Gcpuseraccessbindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Gcpuseraccessbindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Gcpuseraccessbindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4493,7 +4565,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Gcpuseraccessbindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4547,11 +4622,11 @@ export namespace accesscontextmanager_v1 { get( params: Params$Resource$Organizations$Gcpuseraccessbindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Gcpuseraccessbindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Gcpuseraccessbindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4584,8 +4659,8 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Gcpuseraccessbindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4638,11 +4713,13 @@ export namespace accesscontextmanager_v1 { list( params: Params$Resource$Organizations$Gcpuseraccessbindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Gcpuseraccessbindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Gcpuseraccessbindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4677,8 +4754,10 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Gcpuseraccessbindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4736,11 +4815,11 @@ export namespace accesscontextmanager_v1 { patch( params: Params$Resource$Organizations$Gcpuseraccessbindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Gcpuseraccessbindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Gcpuseraccessbindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4769,7 +4848,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Gcpuseraccessbindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4892,11 +4974,11 @@ export namespace accesscontextmanager_v1 { get( params: Params$Resource$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4925,7 +5007,10 @@ export namespace accesscontextmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4980,11 +5065,11 @@ export namespace accesscontextmanager_v1 { list( params: Params$Resource$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5019,8 +5104,8 @@ export namespace accesscontextmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/accesscontextmanager/v1beta.ts b/src/apis/accesscontextmanager/v1beta.ts index 1c4dda21c77..a159687363c 100644 --- a/src/apis/accesscontextmanager/v1beta.ts +++ b/src/apis/accesscontextmanager/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -460,11 +460,11 @@ export namespace accesscontextmanager_v1beta { create( params: Params$Resource$Accesspolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accesspolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accesspolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -493,7 +493,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -548,11 +548,11 @@ export namespace accesscontextmanager_v1beta { delete( params: Params$Resource$Accesspolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accesspolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accesspolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -581,7 +581,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -633,11 +633,11 @@ export namespace accesscontextmanager_v1beta { get( params: Params$Resource$Accesspolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accesspolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accesspolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -666,7 +666,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -718,11 +718,11 @@ export namespace accesscontextmanager_v1beta { list( params: Params$Resource$Accesspolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accesspolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accesspolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -757,8 +757,8 @@ export namespace accesscontextmanager_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -813,11 +813,11 @@ export namespace accesscontextmanager_v1beta { patch( params: Params$Resource$Accesspolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accesspolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accesspolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -846,7 +846,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -958,11 +958,11 @@ export namespace accesscontextmanager_v1beta { create( params: Params$Resource$Accesspolicies$Accesslevels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accesspolicies$Accesslevels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accesspolicies$Accesslevels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -991,7 +991,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1046,11 +1046,11 @@ export namespace accesscontextmanager_v1beta { delete( params: Params$Resource$Accesspolicies$Accesslevels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accesspolicies$Accesslevels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accesspolicies$Accesslevels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1079,7 +1079,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1131,11 +1131,11 @@ export namespace accesscontextmanager_v1beta { get( params: Params$Resource$Accesspolicies$Accesslevels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accesspolicies$Accesslevels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accesspolicies$Accesslevels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1164,7 +1164,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1216,11 +1216,11 @@ export namespace accesscontextmanager_v1beta { list( params: Params$Resource$Accesspolicies$Accesslevels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accesspolicies$Accesslevels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accesspolicies$Accesslevels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1253,8 +1253,8 @@ export namespace accesscontextmanager_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1309,11 +1309,11 @@ export namespace accesscontextmanager_v1beta { patch( params: Params$Resource$Accesspolicies$Accesslevels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accesspolicies$Accesslevels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accesspolicies$Accesslevels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1342,7 +1342,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Accesslevels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1467,11 +1467,11 @@ export namespace accesscontextmanager_v1beta { create( params: Params$Resource$Accesspolicies$Serviceperimeters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accesspolicies$Serviceperimeters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accesspolicies$Serviceperimeters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1500,7 +1500,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1555,11 +1555,11 @@ export namespace accesscontextmanager_v1beta { delete( params: Params$Resource$Accesspolicies$Serviceperimeters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accesspolicies$Serviceperimeters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accesspolicies$Serviceperimeters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1588,7 +1588,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1640,11 +1640,11 @@ export namespace accesscontextmanager_v1beta { get( params: Params$Resource$Accesspolicies$Serviceperimeters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accesspolicies$Serviceperimeters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accesspolicies$Serviceperimeters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1673,7 +1673,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1725,11 +1725,11 @@ export namespace accesscontextmanager_v1beta { list( params: Params$Resource$Accesspolicies$Serviceperimeters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accesspolicies$Serviceperimeters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accesspolicies$Serviceperimeters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1764,8 +1764,8 @@ export namespace accesscontextmanager_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1822,11 +1822,11 @@ export namespace accesscontextmanager_v1beta { patch( params: Params$Resource$Accesspolicies$Serviceperimeters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accesspolicies$Serviceperimeters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accesspolicies$Serviceperimeters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1855,7 +1855,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesspolicies$Serviceperimeters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1972,11 +1972,11 @@ export namespace accesscontextmanager_v1beta { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2005,7 +2005,7 @@ export namespace accesscontextmanager_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/acmedns/index.ts b/src/apis/acmedns/index.ts index 0a10d0565d7..22c8dee9e69 100644 --- a/src/apis/acmedns/index.ts +++ b/src/apis/acmedns/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/acmedns/package.json b/src/apis/acmedns/package.json index 4ab26e7a195..0d65904f636 100644 --- a/src/apis/acmedns/package.json +++ b/src/apis/acmedns/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/acmedns/v1.ts b/src/apis/acmedns/v1.ts index a94865f82d5..267b2ac9b52 100644 --- a/src/apis/acmedns/v1.ts +++ b/src/apis/acmedns/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -189,11 +189,11 @@ export namespace acmedns_v1 { get( params: Params$Resource$Acmechallengesets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Acmechallengesets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Acmechallengesets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -222,7 +222,7 @@ export namespace acmedns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acmechallengesets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -277,11 +277,11 @@ export namespace acmedns_v1 { rotateChallenges( params: Params$Resource$Acmechallengesets$Rotatechallenges, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rotateChallenges( params?: Params$Resource$Acmechallengesets$Rotatechallenges, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rotateChallenges( params: Params$Resource$Acmechallengesets$Rotatechallenges, options: StreamMethodOptions | BodyResponseCallback, @@ -312,7 +312,7 @@ export namespace acmedns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acmechallengesets$Rotatechallenges; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/addressvalidation/index.ts b/src/apis/addressvalidation/index.ts index 69197b84789..42abd7c70cd 100644 --- a/src/apis/addressvalidation/index.ts +++ b/src/apis/addressvalidation/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/addressvalidation/package.json b/src/apis/addressvalidation/package.json index 7f41efbe614..07ba879c37a 100644 --- a/src/apis/addressvalidation/package.json +++ b/src/apis/addressvalidation/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/addressvalidation/v1.ts b/src/apis/addressvalidation/v1.ts index e330f0ee818..76066184c84 100644 --- a/src/apis/addressvalidation/v1.ts +++ b/src/apis/addressvalidation/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -671,11 +671,13 @@ export namespace addressvalidation_v1 { provideValidationFeedback( params: Params$Resource$V1$Providevalidationfeedback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provideValidationFeedback( params?: Params$Resource$V1$Providevalidationfeedback, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; provideValidationFeedback( params: Params$Resource$V1$Providevalidationfeedback, options: StreamMethodOptions | BodyResponseCallback, @@ -710,8 +712,10 @@ export namespace addressvalidation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Providevalidationfeedback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -769,11 +773,13 @@ export namespace addressvalidation_v1 { validateAddress( params: Params$Resource$V1$Validateaddress, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateAddress( params?: Params$Resource$V1$Validateaddress, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validateAddress( params: Params$Resource$V1$Validateaddress, options: StreamMethodOptions | BodyResponseCallback, @@ -808,8 +814,10 @@ export namespace addressvalidation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Validateaddress; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/adexchangebuyer/index.ts b/src/apis/adexchangebuyer/index.ts index 097f3f92f39..bf17639a0da 100644 --- a/src/apis/adexchangebuyer/index.ts +++ b/src/apis/adexchangebuyer/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/adexchangebuyer/package.json b/src/apis/adexchangebuyer/package.json index 2292b250cd9..4326685f6a5 100644 --- a/src/apis/adexchangebuyer/package.json +++ b/src/apis/adexchangebuyer/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/adexchangebuyer/v1.2.ts b/src/apis/adexchangebuyer/v1.2.ts index e469d4a3672..c4718a2cfe7 100644 --- a/src/apis/adexchangebuyer/v1.2.ts +++ b/src/apis/adexchangebuyer/v1.2.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -349,11 +349,11 @@ export namespace adexchangebuyer_v1_2 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -382,7 +382,7 @@ export namespace adexchangebuyer_v1_2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -475,11 +475,11 @@ export namespace adexchangebuyer_v1_2 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -508,7 +508,7 @@ export namespace adexchangebuyer_v1_2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -625,11 +625,11 @@ export namespace adexchangebuyer_v1_2 { patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -658,7 +658,7 @@ export namespace adexchangebuyer_v1_2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -775,11 +775,11 @@ export namespace adexchangebuyer_v1_2 { update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -808,7 +808,7 @@ export namespace adexchangebuyer_v1_2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -964,11 +964,11 @@ export namespace adexchangebuyer_v1_2 { get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -997,7 +997,7 @@ export namespace adexchangebuyer_v1_2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1141,11 +1141,11 @@ export namespace adexchangebuyer_v1_2 { insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creatives$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1174,7 +1174,7 @@ export namespace adexchangebuyer_v1_2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1275,11 +1275,11 @@ export namespace adexchangebuyer_v1_2 { list( params: Params$Resource$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1308,7 +1308,7 @@ export namespace adexchangebuyer_v1_2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/adexchangebuyer/v1.3.ts b/src/apis/adexchangebuyer/v1.3.ts index 2798d0f4225..671a3655a78 100644 --- a/src/apis/adexchangebuyer/v1.3.ts +++ b/src/apis/adexchangebuyer/v1.3.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -734,11 +734,11 @@ export namespace adexchangebuyer_v1_3 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -767,7 +767,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -860,11 +860,11 @@ export namespace adexchangebuyer_v1_3 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -893,7 +893,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1010,11 +1010,11 @@ export namespace adexchangebuyer_v1_3 { patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1043,7 +1043,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1160,11 +1160,11 @@ export namespace adexchangebuyer_v1_3 { update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1193,7 +1193,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1328,11 +1328,11 @@ export namespace adexchangebuyer_v1_3 { get( params: Params$Resource$Billinginfo$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billinginfo$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billinginfo$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1361,7 +1361,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billinginfo$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1453,11 +1453,11 @@ export namespace adexchangebuyer_v1_3 { list( params: Params$Resource$Billinginfo$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billinginfo$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billinginfo$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1486,7 +1486,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billinginfo$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1604,11 +1604,11 @@ export namespace adexchangebuyer_v1_3 { get( params: Params$Resource$Budget$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Budget$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Budget$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1637,7 +1637,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Budget$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1752,11 +1752,11 @@ export namespace adexchangebuyer_v1_3 { patch( params: Params$Resource$Budget$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Budget$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Budget$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1785,7 +1785,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Budget$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1900,11 +1900,11 @@ export namespace adexchangebuyer_v1_3 { update( params: Params$Resource$Budget$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Budget$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Budget$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1933,7 +1933,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Budget$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2102,11 +2102,11 @@ export namespace adexchangebuyer_v1_3 { get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2135,7 +2135,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2283,11 +2283,11 @@ export namespace adexchangebuyer_v1_3 { insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creatives$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -2316,7 +2316,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2421,11 +2421,11 @@ export namespace adexchangebuyer_v1_3 { list( params: Params$Resource$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2454,7 +2454,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2609,11 +2609,11 @@ export namespace adexchangebuyer_v1_3 { get( params: Params$Resource$Directdeals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Directdeals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Directdeals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2642,7 +2642,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Directdeals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2735,11 +2735,11 @@ export namespace adexchangebuyer_v1_3 { list( params: Params$Resource$Directdeals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Directdeals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Directdeals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2768,7 +2768,7 @@ export namespace adexchangebuyer_v1_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Directdeals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2888,11 +2888,11 @@ export namespace adexchangebuyer_v1_3 { list( params: Params$Resource$Performancereport$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Performancereport$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Performancereport$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2925,8 +2925,8 @@ export namespace adexchangebuyer_v1_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Performancereport$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3050,11 +3050,11 @@ export namespace adexchangebuyer_v1_3 { delete( params: Params$Resource$Pretargetingconfig$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Pretargetingconfig$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Pretargetingconfig$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3081,7 +3081,7 @@ export namespace adexchangebuyer_v1_3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3202,11 +3202,11 @@ export namespace adexchangebuyer_v1_3 { get( params: Params$Resource$Pretargetingconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Pretargetingconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Pretargetingconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3237,8 +3237,8 @@ export namespace adexchangebuyer_v1_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3388,11 +3388,11 @@ export namespace adexchangebuyer_v1_3 { insert( params: Params$Resource$Pretargetingconfig$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Pretargetingconfig$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Pretargetingconfig$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3423,8 +3423,8 @@ export namespace adexchangebuyer_v1_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3520,11 +3520,11 @@ export namespace adexchangebuyer_v1_3 { list( params: Params$Resource$Pretargetingconfig$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Pretargetingconfig$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Pretargetingconfig$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3557,8 +3557,8 @@ export namespace adexchangebuyer_v1_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3709,11 +3709,11 @@ export namespace adexchangebuyer_v1_3 { patch( params: Params$Resource$Pretargetingconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Pretargetingconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Pretargetingconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3744,8 +3744,8 @@ export namespace adexchangebuyer_v1_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3897,11 +3897,11 @@ export namespace adexchangebuyer_v1_3 { update( params: Params$Resource$Pretargetingconfig$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Pretargetingconfig$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Pretargetingconfig$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3932,8 +3932,8 @@ export namespace adexchangebuyer_v1_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/adexchangebuyer/v1.4.ts b/src/apis/adexchangebuyer/v1.4.ts index edf3dd2927e..40a94cb83ed 100644 --- a/src/apis/adexchangebuyer/v1.4.ts +++ b/src/apis/adexchangebuyer/v1.4.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1724,11 +1724,11 @@ export namespace adexchangebuyer_v1_4 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1757,7 +1757,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1850,11 +1850,11 @@ export namespace adexchangebuyer_v1_4 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1883,7 +1883,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2004,11 +2004,11 @@ export namespace adexchangebuyer_v1_4 { patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2037,7 +2037,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2158,11 +2158,11 @@ export namespace adexchangebuyer_v1_4 { update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2191,7 +2191,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2334,11 +2334,11 @@ export namespace adexchangebuyer_v1_4 { get( params: Params$Resource$Billinginfo$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billinginfo$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billinginfo$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2367,7 +2367,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billinginfo$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2459,11 +2459,11 @@ export namespace adexchangebuyer_v1_4 { list( params: Params$Resource$Billinginfo$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billinginfo$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billinginfo$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2492,7 +2492,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billinginfo$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2610,11 +2610,11 @@ export namespace adexchangebuyer_v1_4 { get( params: Params$Resource$Budget$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Budget$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Budget$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2643,7 +2643,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Budget$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2758,11 +2758,11 @@ export namespace adexchangebuyer_v1_4 { patch( params: Params$Resource$Budget$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Budget$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Budget$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2791,7 +2791,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Budget$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2906,11 +2906,11 @@ export namespace adexchangebuyer_v1_4 { update( params: Params$Resource$Budget$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Budget$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Budget$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2939,7 +2939,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Budget$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3081,11 +3081,11 @@ export namespace adexchangebuyer_v1_4 { addDeal( params: Params$Resource$Creatives$Adddeal, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addDeal( params?: Params$Resource$Creatives$Adddeal, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addDeal( params: Params$Resource$Creatives$Adddeal, options: StreamMethodOptions | BodyResponseCallback, @@ -3112,7 +3112,7 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Adddeal; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3240,11 +3240,11 @@ export namespace adexchangebuyer_v1_4 { get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3273,7 +3273,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3433,11 +3433,11 @@ export namespace adexchangebuyer_v1_4 { insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creatives$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3466,7 +3466,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3573,11 +3573,11 @@ export namespace adexchangebuyer_v1_4 { list( params: Params$Resource$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3606,7 +3606,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3704,11 +3704,11 @@ export namespace adexchangebuyer_v1_4 { listDeals( params: Params$Resource$Creatives$Listdeals, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDeals( params?: Params$Resource$Creatives$Listdeals, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listDeals( params: Params$Resource$Creatives$Listdeals, options: StreamMethodOptions | BodyResponseCallback, @@ -3737,7 +3737,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Listdeals; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3832,11 +3832,11 @@ export namespace adexchangebuyer_v1_4 { removeDeal( params: Params$Resource$Creatives$Removedeal, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeDeal( params?: Params$Resource$Creatives$Removedeal, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeDeal( params: Params$Resource$Creatives$Removedeal, options: StreamMethodOptions | BodyResponseCallback, @@ -3863,7 +3863,7 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Removedeal; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4061,11 +4061,11 @@ export namespace adexchangebuyer_v1_4 { delete( params: Params$Resource$Marketplacedeals$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Marketplacedeals$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Marketplacedeals$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4100,8 +4100,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Marketplacedeals$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4208,11 +4208,11 @@ export namespace adexchangebuyer_v1_4 { insert( params: Params$Resource$Marketplacedeals$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Marketplacedeals$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Marketplacedeals$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4245,8 +4245,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Marketplacedeals$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4344,11 +4344,11 @@ export namespace adexchangebuyer_v1_4 { list( params: Params$Resource$Marketplacedeals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Marketplacedeals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Marketplacedeals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4381,8 +4381,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Marketplacedeals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4489,11 +4489,11 @@ export namespace adexchangebuyer_v1_4 { update( params: Params$Resource$Marketplacedeals$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Marketplacedeals$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Marketplacedeals$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4528,8 +4528,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Marketplacedeals$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4688,11 +4688,11 @@ export namespace adexchangebuyer_v1_4 { insert( params: Params$Resource$Marketplacenotes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Marketplacenotes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Marketplacenotes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4725,8 +4725,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Marketplacenotes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4824,11 +4824,11 @@ export namespace adexchangebuyer_v1_4 { list( params: Params$Resource$Marketplacenotes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Marketplacenotes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Marketplacenotes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4861,8 +4861,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Marketplacenotes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4994,11 +4994,11 @@ export namespace adexchangebuyer_v1_4 { updateproposal( params: Params$Resource$Marketplaceprivateauction$Updateproposal, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateproposal( params?: Params$Resource$Marketplaceprivateauction$Updateproposal, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateproposal( params: Params$Resource$Marketplaceprivateauction$Updateproposal, options: StreamMethodOptions | BodyResponseCallback, @@ -5025,7 +5025,7 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Marketplaceprivateauction$Updateproposal; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5150,11 +5150,11 @@ export namespace adexchangebuyer_v1_4 { list( params: Params$Resource$Performancereport$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Performancereport$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Performancereport$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5187,8 +5187,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Performancereport$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5312,11 +5312,11 @@ export namespace adexchangebuyer_v1_4 { delete( params: Params$Resource$Pretargetingconfig$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Pretargetingconfig$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Pretargetingconfig$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5343,7 +5343,7 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5467,11 +5467,11 @@ export namespace adexchangebuyer_v1_4 { get( params: Params$Resource$Pretargetingconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Pretargetingconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Pretargetingconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5502,8 +5502,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5659,11 +5659,11 @@ export namespace adexchangebuyer_v1_4 { insert( params: Params$Resource$Pretargetingconfig$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Pretargetingconfig$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Pretargetingconfig$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5694,8 +5694,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5791,11 +5791,11 @@ export namespace adexchangebuyer_v1_4 { list( params: Params$Resource$Pretargetingconfig$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Pretargetingconfig$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Pretargetingconfig$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5828,8 +5828,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5986,11 +5986,11 @@ export namespace adexchangebuyer_v1_4 { patch( params: Params$Resource$Pretargetingconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Pretargetingconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Pretargetingconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6021,8 +6021,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6180,11 +6180,11 @@ export namespace adexchangebuyer_v1_4 { update( params: Params$Resource$Pretargetingconfig$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Pretargetingconfig$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Pretargetingconfig$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6215,8 +6215,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pretargetingconfig$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6419,11 +6419,11 @@ export namespace adexchangebuyer_v1_4 { get( params: Params$Resource$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6452,7 +6452,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6546,11 +6546,11 @@ export namespace adexchangebuyer_v1_4 { search( params: Params$Resource$Products$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Products$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Products$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -6581,8 +6581,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6719,11 +6719,11 @@ export namespace adexchangebuyer_v1_4 { get( params: Params$Resource$Proposals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Proposals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Proposals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6752,7 +6752,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Proposals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6852,11 +6852,11 @@ export namespace adexchangebuyer_v1_4 { insert( params: Params$Resource$Proposals$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Proposals$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Proposals$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6889,8 +6889,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Proposals$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7041,11 +7041,11 @@ export namespace adexchangebuyer_v1_4 { patch( params: Params$Resource$Proposals$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Proposals$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Proposals$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7074,7 +7074,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Proposals$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7169,11 +7169,11 @@ export namespace adexchangebuyer_v1_4 { search( params: Params$Resource$Proposals$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Proposals$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Proposals$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -7204,8 +7204,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Proposals$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7295,11 +7295,11 @@ export namespace adexchangebuyer_v1_4 { setupcomplete( params: Params$Resource$Proposals$Setupcomplete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setupcomplete( params?: Params$Resource$Proposals$Setupcomplete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setupcomplete( params: Params$Resource$Proposals$Setupcomplete, options: StreamMethodOptions | BodyResponseCallback, @@ -7326,7 +7326,7 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Proposals$Setupcomplete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7478,11 +7478,11 @@ export namespace adexchangebuyer_v1_4 { update( params: Params$Resource$Proposals$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Proposals$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Proposals$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7511,7 +7511,7 @@ export namespace adexchangebuyer_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Proposals$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7677,11 +7677,11 @@ export namespace adexchangebuyer_v1_4 { list( params: Params$Resource$Pubprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Pubprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Pubprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7716,8 +7716,8 @@ export namespace adexchangebuyer_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pubprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/adexchangebuyer2/index.ts b/src/apis/adexchangebuyer2/index.ts index cfe3851ea06..40f2b154091 100644 --- a/src/apis/adexchangebuyer2/index.ts +++ b/src/apis/adexchangebuyer2/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/adexchangebuyer2/package.json b/src/apis/adexchangebuyer2/package.json index 5f760790ccd..1e5332cd3d8 100644 --- a/src/apis/adexchangebuyer2/package.json +++ b/src/apis/adexchangebuyer2/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/adexchangebuyer2/v2beta1.ts b/src/apis/adexchangebuyer2/v2beta1.ts index a1c4a1b2113..06176655a94 100644 --- a/src/apis/adexchangebuyer2/v2beta1.ts +++ b/src/apis/adexchangebuyer2/v2beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2218,11 +2218,11 @@ export namespace adexchangebuyer2_v2beta1 { create( params: Params$Resource$Accounts$Clients$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Clients$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Clients$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2251,7 +2251,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Clients$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2307,11 +2310,11 @@ export namespace adexchangebuyer2_v2beta1 { get( params: Params$Resource$Accounts$Clients$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Clients$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Clients$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2340,7 +2343,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Clients$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2396,11 +2402,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Accounts$Clients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Clients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Clients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2431,8 +2437,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Clients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2488,11 +2494,11 @@ export namespace adexchangebuyer2_v2beta1 { update( params: Params$Resource$Accounts$Clients$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Clients$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Clients$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2521,7 +2527,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Clients$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2643,11 +2652,11 @@ export namespace adexchangebuyer2_v2beta1 { create( params: Params$Resource$Accounts$Clients$Invitations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Clients$Invitations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Clients$Invitations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2680,8 +2689,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Clients$Invitations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2737,11 +2746,11 @@ export namespace adexchangebuyer2_v2beta1 { get( params: Params$Resource$Accounts$Clients$Invitations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Clients$Invitations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Clients$Invitations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2774,8 +2783,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Clients$Invitations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2831,11 +2840,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Accounts$Clients$Invitations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Clients$Invitations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Clients$Invitations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2870,8 +2881,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Clients$Invitations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2987,11 +3000,11 @@ export namespace adexchangebuyer2_v2beta1 { get( params: Params$Resource$Accounts$Clients$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Clients$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Clients$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3020,7 +3033,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Clients$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3076,11 +3092,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Accounts$Clients$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Clients$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Clients$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3113,8 +3129,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Clients$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3170,11 +3186,11 @@ export namespace adexchangebuyer2_v2beta1 { update( params: Params$Resource$Accounts$Clients$Users$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Clients$Users$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Clients$Users$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3203,7 +3219,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Clients$Users$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3325,11 +3344,11 @@ export namespace adexchangebuyer2_v2beta1 { create( params: Params$Resource$Accounts$Creatives$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Creatives$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Creatives$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3358,7 +3377,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Creatives$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3414,11 +3436,11 @@ export namespace adexchangebuyer2_v2beta1 { get( params: Params$Resource$Accounts$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3447,7 +3469,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3502,11 +3527,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Accounts$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3539,8 +3564,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3596,11 +3621,11 @@ export namespace adexchangebuyer2_v2beta1 { stopWatching( params: Params$Resource$Accounts$Creatives$Stopwatching, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopWatching( params?: Params$Resource$Accounts$Creatives$Stopwatching, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopWatching( params: Params$Resource$Accounts$Creatives$Stopwatching, options: StreamMethodOptions | BodyResponseCallback, @@ -3629,7 +3654,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Creatives$Stopwatching; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3685,11 +3713,11 @@ export namespace adexchangebuyer2_v2beta1 { update( params: Params$Resource$Accounts$Creatives$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Creatives$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Creatives$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3718,7 +3746,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Creatives$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3773,11 +3804,11 @@ export namespace adexchangebuyer2_v2beta1 { watch( params: Params$Resource$Accounts$Creatives$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Accounts$Creatives$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Accounts$Creatives$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -3806,7 +3837,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Creatives$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3964,11 +3998,11 @@ export namespace adexchangebuyer2_v2beta1 { add( params: Params$Resource$Accounts$Creatives$Dealassociations$Add, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; add( params?: Params$Resource$Accounts$Creatives$Dealassociations$Add, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; add( params: Params$Resource$Accounts$Creatives$Dealassociations$Add, options: StreamMethodOptions | BodyResponseCallback, @@ -3997,7 +4031,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Creatives$Dealassociations$Add; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4053,11 +4090,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Accounts$Creatives$Dealassociations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Creatives$Dealassociations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Creatives$Dealassociations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4092,8 +4129,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Creatives$Dealassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4151,11 +4188,11 @@ export namespace adexchangebuyer2_v2beta1 { remove( params: Params$Resource$Accounts$Creatives$Dealassociations$Remove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; remove( params?: Params$Resource$Accounts$Creatives$Dealassociations$Remove, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; remove( params: Params$Resource$Accounts$Creatives$Dealassociations$Remove, options: StreamMethodOptions | BodyResponseCallback, @@ -4184,7 +4221,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Creatives$Dealassociations$Remove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4304,11 +4344,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Accounts$Finalizedproposals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Finalizedproposals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Finalizedproposals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4341,8 +4381,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Finalizedproposals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4397,11 +4437,11 @@ export namespace adexchangebuyer2_v2beta1 { pause( params: Params$Resource$Accounts$Finalizedproposals$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Accounts$Finalizedproposals$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Accounts$Finalizedproposals$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -4430,7 +4470,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Finalizedproposals$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4486,11 +4529,11 @@ export namespace adexchangebuyer2_v2beta1 { resume( params: Params$Resource$Accounts$Finalizedproposals$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Accounts$Finalizedproposals$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Accounts$Finalizedproposals$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -4519,7 +4562,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Finalizedproposals$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4638,11 +4684,11 @@ export namespace adexchangebuyer2_v2beta1 { get( params: Params$Resource$Accounts$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4671,7 +4717,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4726,11 +4775,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Accounts$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4763,8 +4812,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4858,11 +4907,11 @@ export namespace adexchangebuyer2_v2beta1 { accept( params: Params$Resource$Accounts$Proposals$Accept, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accept( params?: Params$Resource$Accounts$Proposals$Accept, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; accept( params: Params$Resource$Accounts$Proposals$Accept, options: StreamMethodOptions | BodyResponseCallback, @@ -4891,7 +4940,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Proposals$Accept; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4947,11 +4999,11 @@ export namespace adexchangebuyer2_v2beta1 { addNote( params: Params$Resource$Accounts$Proposals$Addnote, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addNote( params?: Params$Resource$Accounts$Proposals$Addnote, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addNote( params: Params$Resource$Accounts$Proposals$Addnote, options: StreamMethodOptions | BodyResponseCallback, @@ -4980,7 +5032,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Proposals$Addnote; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5036,11 +5091,11 @@ export namespace adexchangebuyer2_v2beta1 { cancelNegotiation( params: Params$Resource$Accounts$Proposals$Cancelnegotiation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelNegotiation( params?: Params$Resource$Accounts$Proposals$Cancelnegotiation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelNegotiation( params: Params$Resource$Accounts$Proposals$Cancelnegotiation, options: StreamMethodOptions | BodyResponseCallback, @@ -5069,7 +5124,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Proposals$Cancelnegotiation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5125,11 +5183,11 @@ export namespace adexchangebuyer2_v2beta1 { completeSetup( params: Params$Resource$Accounts$Proposals$Completesetup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeSetup( params?: Params$Resource$Accounts$Proposals$Completesetup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeSetup( params: Params$Resource$Accounts$Proposals$Completesetup, options: StreamMethodOptions | BodyResponseCallback, @@ -5158,7 +5216,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Proposals$Completesetup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5214,11 +5275,11 @@ export namespace adexchangebuyer2_v2beta1 { create( params: Params$Resource$Accounts$Proposals$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Proposals$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Proposals$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5247,7 +5308,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Proposals$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5303,11 +5367,11 @@ export namespace adexchangebuyer2_v2beta1 { get( params: Params$Resource$Accounts$Proposals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Proposals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Proposals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5336,7 +5400,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Proposals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5391,11 +5458,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Accounts$Proposals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Proposals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Proposals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5428,8 +5495,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Proposals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5485,11 +5552,11 @@ export namespace adexchangebuyer2_v2beta1 { pause( params: Params$Resource$Accounts$Proposals$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Accounts$Proposals$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Accounts$Proposals$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -5518,7 +5585,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Proposals$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5574,11 +5644,11 @@ export namespace adexchangebuyer2_v2beta1 { resume( params: Params$Resource$Accounts$Proposals$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Accounts$Proposals$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Accounts$Proposals$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -5607,7 +5677,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Proposals$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5663,11 +5736,11 @@ export namespace adexchangebuyer2_v2beta1 { update( params: Params$Resource$Accounts$Proposals$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Proposals$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Proposals$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5696,7 +5769,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Proposals$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5917,11 +5993,11 @@ export namespace adexchangebuyer2_v2beta1 { get( params: Params$Resource$Accounts$Publisherprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Publisherprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Publisherprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5950,7 +6026,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Publisherprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6006,11 +6085,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Accounts$Publisherprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Publisherprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Publisherprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6045,8 +6124,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Publisherprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6194,11 +6273,11 @@ export namespace adexchangebuyer2_v2beta1 { create( params: Params$Resource$Bidders$Accounts$Filtersets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Bidders$Accounts$Filtersets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Bidders$Accounts$Filtersets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6227,7 +6306,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6283,11 +6365,11 @@ export namespace adexchangebuyer2_v2beta1 { delete( params: Params$Resource$Bidders$Accounts$Filtersets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Bidders$Accounts$Filtersets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Bidders$Accounts$Filtersets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6316,7 +6398,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6369,11 +6454,11 @@ export namespace adexchangebuyer2_v2beta1 { get( params: Params$Resource$Bidders$Accounts$Filtersets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Bidders$Accounts$Filtersets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Bidders$Accounts$Filtersets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6402,7 +6487,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6455,11 +6543,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Accounts$Filtersets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Accounts$Filtersets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Accounts$Filtersets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6492,8 +6580,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6602,11 +6690,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Accounts$Filtersets$Bidmetrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Accounts$Filtersets$Bidmetrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Accounts$Filtersets$Bidmetrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6639,8 +6727,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Bidmetrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6720,11 +6808,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Accounts$Filtersets$Bidresponseerrors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Accounts$Filtersets$Bidresponseerrors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Accounts$Filtersets$Bidresponseerrors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6759,8 +6847,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Bidresponseerrors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6841,11 +6929,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6880,8 +6970,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6962,11 +7054,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbidrequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Accounts$Filtersets$Filteredbidrequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbidrequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7001,8 +7093,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Filteredbidrequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7093,11 +7185,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7130,8 +7222,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7211,11 +7303,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7250,8 +7344,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7337,11 +7433,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Details$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Details$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Details$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7376,8 +7474,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Details$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7463,11 +7563,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Accounts$Filtersets$Impressionmetrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Accounts$Filtersets$Impressionmetrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Accounts$Filtersets$Impressionmetrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7502,8 +7602,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Impressionmetrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7584,11 +7684,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Accounts$Filtersets$Losingbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Accounts$Filtersets$Losingbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Accounts$Filtersets$Losingbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7621,8 +7721,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Losingbids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7702,11 +7802,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7741,8 +7843,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7850,11 +7954,11 @@ export namespace adexchangebuyer2_v2beta1 { create( params: Params$Resource$Bidders$Filtersets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Bidders$Filtersets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Bidders$Filtersets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7883,7 +7987,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7939,11 +8046,11 @@ export namespace adexchangebuyer2_v2beta1 { delete( params: Params$Resource$Bidders$Filtersets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Bidders$Filtersets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Bidders$Filtersets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7972,7 +8079,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8025,11 +8135,11 @@ export namespace adexchangebuyer2_v2beta1 { get( params: Params$Resource$Bidders$Filtersets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Bidders$Filtersets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Bidders$Filtersets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8058,7 +8168,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8111,11 +8224,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Filtersets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Filtersets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Filtersets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8148,8 +8261,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8258,11 +8371,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Filtersets$Bidmetrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Filtersets$Bidmetrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Filtersets$Bidmetrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8295,8 +8408,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Bidmetrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8375,11 +8488,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Filtersets$Bidresponseerrors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Filtersets$Bidresponseerrors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Filtersets$Bidresponseerrors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8414,8 +8527,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Bidresponseerrors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8496,11 +8609,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Filtersets$Bidresponseswithoutbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Filtersets$Bidresponseswithoutbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Bidders$Filtersets$Bidresponseswithoutbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8535,8 +8650,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Bidresponseswithoutbids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8617,11 +8734,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Filtersets$Filteredbidrequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Filtersets$Filteredbidrequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Filtersets$Filteredbidrequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8656,8 +8773,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Filteredbidrequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8746,11 +8863,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Filtersets$Filteredbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Filtersets$Filteredbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Filtersets$Filteredbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8783,8 +8900,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Filteredbids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8863,11 +8980,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Filtersets$Filteredbids$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Filtersets$Filteredbids$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Bidders$Filtersets$Filteredbids$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8902,8 +9021,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Filteredbids$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8989,11 +9110,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Filtersets$Filteredbids$Details$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Filtersets$Filteredbids$Details$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Bidders$Filtersets$Filteredbids$Details$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9028,8 +9151,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Filteredbids$Details$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9115,11 +9240,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Filtersets$Impressionmetrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Filtersets$Impressionmetrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Filtersets$Impressionmetrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9154,8 +9279,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Impressionmetrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9236,11 +9361,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Filtersets$Losingbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Filtersets$Losingbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Filtersets$Losingbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9273,8 +9398,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Losingbids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9353,11 +9478,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Bidders$Filtersets$Nonbillablewinningbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Filtersets$Nonbillablewinningbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Bidders$Filtersets$Nonbillablewinningbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9392,8 +9519,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Filtersets$Nonbillablewinningbids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9508,11 +9637,11 @@ export namespace adexchangebuyer2_v2beta1 { create( params: Params$Resource$Buyers$Filtersets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Buyers$Filtersets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Buyers$Filtersets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9541,7 +9670,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9597,11 +9729,11 @@ export namespace adexchangebuyer2_v2beta1 { delete( params: Params$Resource$Buyers$Filtersets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Buyers$Filtersets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Buyers$Filtersets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9630,7 +9762,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9683,11 +9818,11 @@ export namespace adexchangebuyer2_v2beta1 { get( params: Params$Resource$Buyers$Filtersets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Filtersets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Filtersets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9716,7 +9851,10 @@ export namespace adexchangebuyer2_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9769,11 +9907,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Buyers$Filtersets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Filtersets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Filtersets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9806,8 +9944,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9916,11 +10054,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Buyers$Filtersets$Bidmetrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Filtersets$Bidmetrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Filtersets$Bidmetrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9953,8 +10091,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Bidmetrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10033,11 +10171,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Buyers$Filtersets$Bidresponseerrors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Filtersets$Bidresponseerrors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Filtersets$Bidresponseerrors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10072,8 +10210,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Bidresponseerrors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10153,11 +10291,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Buyers$Filtersets$Bidresponseswithoutbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Filtersets$Bidresponseswithoutbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Buyers$Filtersets$Bidresponseswithoutbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10192,8 +10332,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Bidresponseswithoutbids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10274,11 +10416,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Buyers$Filtersets$Filteredbidrequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Filtersets$Filteredbidrequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Filtersets$Filteredbidrequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10313,8 +10455,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Filteredbidrequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10403,11 +10545,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Buyers$Filtersets$Filteredbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Filtersets$Filteredbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Filtersets$Filteredbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10440,8 +10582,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Filteredbids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10520,11 +10662,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Buyers$Filtersets$Filteredbids$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Filtersets$Filteredbids$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Buyers$Filtersets$Filteredbids$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10559,8 +10703,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Filteredbids$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10646,11 +10792,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Buyers$Filtersets$Filteredbids$Details$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Filtersets$Filteredbids$Details$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Buyers$Filtersets$Filteredbids$Details$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10685,8 +10833,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Filteredbids$Details$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10772,11 +10922,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Buyers$Filtersets$Impressionmetrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Filtersets$Impressionmetrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Filtersets$Impressionmetrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10811,8 +10961,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Impressionmetrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10892,11 +11042,11 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Buyers$Filtersets$Losingbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Filtersets$Losingbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Filtersets$Losingbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10929,8 +11079,8 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Losingbids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11009,11 +11159,13 @@ export namespace adexchangebuyer2_v2beta1 { list( params: Params$Resource$Buyers$Filtersets$Nonbillablewinningbids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Filtersets$Nonbillablewinningbids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Buyers$Filtersets$Nonbillablewinningbids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11048,8 +11200,10 @@ export namespace adexchangebuyer2_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Filtersets$Nonbillablewinningbids$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/adexperiencereport/index.ts b/src/apis/adexperiencereport/index.ts index 70b807d5a51..c6c350a067a 100644 --- a/src/apis/adexperiencereport/index.ts +++ b/src/apis/adexperiencereport/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/adexperiencereport/package.json b/src/apis/adexperiencereport/package.json index 65472b10de1..fb450d56372 100644 --- a/src/apis/adexperiencereport/package.json +++ b/src/apis/adexperiencereport/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/adexperiencereport/v1.ts b/src/apis/adexperiencereport/v1.ts index a066e56d114..e47f6664820 100644 --- a/src/apis/adexperiencereport/v1.ts +++ b/src/apis/adexperiencereport/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -203,11 +203,11 @@ export namespace adexperiencereport_v1 { get( params: Params$Resource$Sites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -238,8 +238,8 @@ export namespace adexperiencereport_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -305,11 +305,11 @@ export namespace adexperiencereport_v1 { list( params: Params$Resource$Violatingsites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Violatingsites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Violatingsites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -342,8 +342,8 @@ export namespace adexperiencereport_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Violatingsites$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/admin/datatransfer_v1.ts b/src/apis/admin/datatransfer_v1.ts index 094dd00280d..03d5a200a75 100644 --- a/src/apis/admin/datatransfer_v1.ts +++ b/src/apis/admin/datatransfer_v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -278,11 +278,11 @@ export namespace admin_datatransfer_v1 { get( params: Params$Resource$Applications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Applications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Applications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -311,7 +311,10 @@ export namespace admin_datatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -364,11 +367,11 @@ export namespace admin_datatransfer_v1 { list( params: Params$Resource$Applications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Applications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Applications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -401,8 +404,8 @@ export namespace admin_datatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applications$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -486,11 +489,11 @@ export namespace admin_datatransfer_v1 { get( params: Params$Resource$Transfers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Transfers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Transfers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -519,7 +522,10 @@ export namespace admin_datatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transfers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -572,11 +578,11 @@ export namespace admin_datatransfer_v1 { insert( params: Params$Resource$Transfers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Transfers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Transfers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -605,7 +611,10 @@ export namespace admin_datatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transfers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -659,11 +668,11 @@ export namespace admin_datatransfer_v1 { list( params: Params$Resource$Transfers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Transfers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Transfers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -698,8 +707,8 @@ export namespace admin_datatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transfers$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/admin/directory_v1.ts b/src/apis/admin/directory_v1.ts index 3b388557b8a..e7df74047d5 100644 --- a/src/apis/admin/directory_v1.ts +++ b/src/apis/admin/directory_v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1071,7 +1071,7 @@ export namespace admin_directory_v1 { */ export interface Schema$DirectoryChromeosdevicesCommandResult { /** - * The payload for the command result. The following commands respond with a payload: * `DEVICE_START_CRD_SESSION`: Payload is a stringified JSON object in the form: { "url": url \}. The URL provides a link to the Chrome Remote Desktop session. + * The payload for the command result. The following commands respond with a payload: * `DEVICE_START_CRD_SESSION`: Payload is a stringified JSON object in the form: { "url": url \}. The URL provides a link to the Chrome Remote Desktop session. * `FETCH_CRD_AVAILABILITY_INFO`: Payload is a stringified JSON object in the form: { "deviceIdleTimeInSeconds": number, "userSessionType": string, "remoteSupportAvailability": string, "remoteAccessAvailability": string \}. The "remoteSupportAvailability" field is set to "AVAILABLE" if `shared` CRD session to the device is available. The "remoteAccessAvailability" field is set to "AVAILABLE" if `private` CRD session to the device is available. */ commandResultPayload?: string | null; /** @@ -2931,11 +2931,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Asps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Asps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Asps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2962,7 +2962,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Asps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3015,11 +3018,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Asps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Asps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Asps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3048,7 +3051,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Asps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3101,11 +3107,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Asps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Asps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Asps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3134,7 +3140,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Asps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3222,11 +3231,11 @@ export namespace admin_directory_v1 { stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Channels$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -3253,7 +3262,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channels$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3321,11 +3333,11 @@ export namespace admin_directory_v1 { action( params: Params$Resource$Chromeosdevices$Action, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; action( params?: Params$Resource$Chromeosdevices$Action, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; action( params: Params$Resource$Chromeosdevices$Action, options: StreamMethodOptions | BodyResponseCallback, @@ -3352,7 +3364,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Chromeosdevices$Action; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3407,11 +3422,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Chromeosdevices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Chromeosdevices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Chromeosdevices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3440,7 +3455,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Chromeosdevices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3495,11 +3513,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Chromeosdevices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Chromeosdevices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Chromeosdevices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3528,7 +3546,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Chromeosdevices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3583,11 +3604,11 @@ export namespace admin_directory_v1 { moveDevicesToOu( params: Params$Resource$Chromeosdevices$Movedevicestoou, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveDevicesToOu( params?: Params$Resource$Chromeosdevices$Movedevicestoou, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveDevicesToOu( params: Params$Resource$Chromeosdevices$Movedevicestoou, options: StreamMethodOptions | BodyResponseCallback, @@ -3614,7 +3635,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Chromeosdevices$Movedevicestoou; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3669,11 +3693,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Chromeosdevices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Chromeosdevices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Chromeosdevices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3702,7 +3726,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Chromeosdevices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3757,11 +3784,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Chromeosdevices$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Chromeosdevices$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Chromeosdevices$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3790,7 +3817,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Chromeosdevices$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4001,11 +4031,13 @@ export namespace admin_directory_v1 { batchChangeStatus( params: Params$Resource$Customer$Devices$Chromeos$Batchchangestatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchChangeStatus( params?: Params$Resource$Customer$Devices$Chromeos$Batchchangestatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchChangeStatus( params: Params$Resource$Customer$Devices$Chromeos$Batchchangestatus, options: StreamMethodOptions | BodyResponseCallback, @@ -4040,8 +4072,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customer$Devices$Chromeos$Batchchangestatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4099,11 +4133,13 @@ export namespace admin_directory_v1 { issueCommand( params: Params$Resource$Customer$Devices$Chromeos$Issuecommand, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; issueCommand( params?: Params$Resource$Customer$Devices$Chromeos$Issuecommand, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; issueCommand( params: Params$Resource$Customer$Devices$Chromeos$Issuecommand, options: StreamMethodOptions | BodyResponseCallback, @@ -4138,8 +4174,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customer$Devices$Chromeos$Issuecommand; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4232,11 +4270,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Customer$Devices$Chromeos$Commands$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customer$Devices$Chromeos$Commands$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customer$Devices$Chromeos$Commands$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4271,8 +4309,8 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customer$Devices$Chromeos$Commands$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4354,11 +4392,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Customers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4387,7 +4425,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4440,11 +4481,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Customers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4473,7 +4514,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4526,11 +4570,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Customers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Customers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Customers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4559,7 +4603,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4661,11 +4708,11 @@ export namespace admin_directory_v1 { batchCreatePrinters( params: Params$Resource$Customers$Chrome$Printers$Batchcreateprinters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreatePrinters( params?: Params$Resource$Customers$Chrome$Printers$Batchcreateprinters, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreatePrinters( params: Params$Resource$Customers$Chrome$Printers$Batchcreateprinters, options: StreamMethodOptions | BodyResponseCallback, @@ -4700,8 +4747,8 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printers$Batchcreateprinters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4757,11 +4804,11 @@ export namespace admin_directory_v1 { batchDeletePrinters( params: Params$Resource$Customers$Chrome$Printers$Batchdeleteprinters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDeletePrinters( params?: Params$Resource$Customers$Chrome$Printers$Batchdeleteprinters, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDeletePrinters( params: Params$Resource$Customers$Chrome$Printers$Batchdeleteprinters, options: StreamMethodOptions | BodyResponseCallback, @@ -4796,8 +4843,8 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printers$Batchdeleteprinters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4853,11 +4900,11 @@ export namespace admin_directory_v1 { create( params: Params$Resource$Customers$Chrome$Printers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Chrome$Printers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Chrome$Printers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4886,7 +4933,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4940,11 +4990,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Customers$Chrome$Printers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customers$Chrome$Printers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customers$Chrome$Printers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4973,7 +5023,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5028,11 +5081,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Customers$Chrome$Printers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Chrome$Printers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Chrome$Printers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5061,7 +5114,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5116,11 +5172,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Customers$Chrome$Printers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Chrome$Printers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Chrome$Printers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5153,8 +5209,8 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5208,11 +5264,11 @@ export namespace admin_directory_v1 { listPrinterModels( params: Params$Resource$Customers$Chrome$Printers$Listprintermodels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPrinterModels( params?: Params$Resource$Customers$Chrome$Printers$Listprintermodels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listPrinterModels( params: Params$Resource$Customers$Chrome$Printers$Listprintermodels, options: StreamMethodOptions | BodyResponseCallback, @@ -5247,8 +5303,8 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printers$Listprintermodels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5304,11 +5360,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Customers$Chrome$Printers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Chrome$Printers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Chrome$Printers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5337,7 +5393,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5516,11 +5575,11 @@ export namespace admin_directory_v1 { batchCreatePrintServers( params: Params$Resource$Customers$Chrome$Printservers$Batchcreateprintservers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreatePrintServers( params?: Params$Resource$Customers$Chrome$Printservers$Batchcreateprintservers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreatePrintServers( params: Params$Resource$Customers$Chrome$Printservers$Batchcreateprintservers, options: StreamMethodOptions | BodyResponseCallback, @@ -5555,8 +5614,8 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printservers$Batchcreateprintservers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5614,11 +5673,11 @@ export namespace admin_directory_v1 { batchDeletePrintServers( params: Params$Resource$Customers$Chrome$Printservers$Batchdeleteprintservers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDeletePrintServers( params?: Params$Resource$Customers$Chrome$Printservers$Batchdeleteprintservers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDeletePrintServers( params: Params$Resource$Customers$Chrome$Printservers$Batchdeleteprintservers, options: StreamMethodOptions | BodyResponseCallback, @@ -5653,8 +5712,8 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printservers$Batchdeleteprintservers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5712,11 +5771,11 @@ export namespace admin_directory_v1 { create( params: Params$Resource$Customers$Chrome$Printservers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Chrome$Printservers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Chrome$Printservers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5745,7 +5804,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printservers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5799,11 +5861,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Customers$Chrome$Printservers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customers$Chrome$Printservers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customers$Chrome$Printservers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5832,7 +5894,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printservers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5887,11 +5952,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Customers$Chrome$Printservers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Chrome$Printservers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Chrome$Printservers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5920,7 +5985,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printservers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5975,11 +6043,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Customers$Chrome$Printservers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Chrome$Printservers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Chrome$Printservers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6012,8 +6080,8 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printservers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6067,11 +6135,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Customers$Chrome$Printservers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Chrome$Printservers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Chrome$Printservers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6100,7 +6168,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Chrome$Printservers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6256,11 +6327,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Domainaliases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Domainaliases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Domainaliases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6287,7 +6358,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domainaliases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6342,11 +6416,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Domainaliases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Domainaliases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Domainaliases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6375,7 +6449,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domainaliases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6430,11 +6507,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Domainaliases$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Domainaliases$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Domainaliases$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6463,7 +6540,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domainaliases$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6517,11 +6597,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Domainaliases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Domainaliases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Domainaliases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6550,7 +6630,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domainaliases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6657,11 +6740,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Domains$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Domains$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Domains$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6688,7 +6771,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6742,11 +6828,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Domains$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Domains$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Domains$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6775,7 +6861,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6829,11 +6918,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Domains$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Domains$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Domains$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6862,7 +6951,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6915,11 +7007,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Domains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Domains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Domains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6948,7 +7040,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7048,11 +7143,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Groups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Groups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Groups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7079,7 +7174,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7133,11 +7231,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7166,7 +7264,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7220,11 +7321,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Groups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Groups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Groups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7253,7 +7354,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7307,11 +7411,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7340,7 +7444,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7394,11 +7501,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Groups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Groups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Groups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7427,7 +7534,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7481,11 +7591,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Groups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Groups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Groups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7514,7 +7624,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7650,11 +7763,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Groups$Aliases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Groups$Aliases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Groups$Aliases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7681,7 +7794,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Aliases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7735,11 +7851,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Groups$Aliases$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Groups$Aliases$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Groups$Aliases$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7768,7 +7884,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Aliases$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7822,11 +7941,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Groups$Aliases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Groups$Aliases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Groups$Aliases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7855,7 +7974,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Aliases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7947,11 +8069,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Members$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Members$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Members$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7978,7 +8100,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Members$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8032,11 +8157,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Members$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Members$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Members$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8065,7 +8190,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Members$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8119,11 +8247,11 @@ export namespace admin_directory_v1 { hasMember( params: Params$Resource$Members$Hasmember, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; hasMember( params?: Params$Resource$Members$Hasmember, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; hasMember( params: Params$Resource$Members$Hasmember, options: StreamMethodOptions | BodyResponseCallback, @@ -8152,7 +8280,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Members$Hasmember; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8207,11 +8338,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Members$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Members$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Members$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8240,7 +8371,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Members$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8293,11 +8427,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Members$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Members$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Members$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8326,7 +8460,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Members$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8379,11 +8516,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Members$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Members$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Members$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8412,7 +8549,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Members$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8466,11 +8606,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Members$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Members$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Members$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8499,7 +8639,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Members$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8655,11 +8798,11 @@ export namespace admin_directory_v1 { action( params: Params$Resource$Mobiledevices$Action, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; action( params?: Params$Resource$Mobiledevices$Action, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; action( params: Params$Resource$Mobiledevices$Action, options: StreamMethodOptions | BodyResponseCallback, @@ -8686,7 +8829,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobiledevices$Action; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8741,11 +8887,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Mobiledevices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Mobiledevices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Mobiledevices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8772,7 +8918,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobiledevices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8827,11 +8976,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Mobiledevices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Mobiledevices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Mobiledevices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8860,7 +9009,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobiledevices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8915,11 +9067,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Mobiledevices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Mobiledevices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Mobiledevices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8948,7 +9100,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobiledevices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9084,11 +9239,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Orgunits$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Orgunits$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Orgunits$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9115,7 +9270,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orgunits$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9169,11 +9327,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Orgunits$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Orgunits$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Orgunits$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9202,7 +9360,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orgunits$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9256,11 +9417,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Orgunits$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Orgunits$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Orgunits$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9289,7 +9450,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orgunits$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9342,11 +9506,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Orgunits$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Orgunits$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Orgunits$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9375,7 +9539,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orgunits$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9428,11 +9595,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Orgunits$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Orgunits$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Orgunits$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9461,7 +9628,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orgunits$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9515,11 +9685,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Orgunits$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Orgunits$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Orgunits$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9548,7 +9718,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orgunits$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9685,11 +9858,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Privileges$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Privileges$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Privileges$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9718,7 +9891,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Privileges$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9799,11 +9975,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Resources$Buildings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Resources$Buildings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Resources$Buildings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9830,7 +10006,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Buildings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9885,11 +10064,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Resources$Buildings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resources$Buildings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resources$Buildings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9918,7 +10097,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Buildings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9973,11 +10155,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Resources$Buildings$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Resources$Buildings$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Resources$Buildings$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10006,7 +10188,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Buildings$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10061,11 +10246,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Resources$Buildings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resources$Buildings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resources$Buildings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10094,7 +10279,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Buildings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10149,11 +10337,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Resources$Buildings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Resources$Buildings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Resources$Buildings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10182,7 +10370,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Buildings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10237,11 +10428,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Resources$Buildings$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Resources$Buildings$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Resources$Buildings$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10270,7 +10461,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Buildings$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10426,11 +10620,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Resources$Calendars$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Resources$Calendars$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Resources$Calendars$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10457,7 +10651,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Calendars$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10512,11 +10709,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Resources$Calendars$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resources$Calendars$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resources$Calendars$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10545,7 +10742,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Calendars$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10600,11 +10800,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Resources$Calendars$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Resources$Calendars$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Resources$Calendars$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10633,7 +10833,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Calendars$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10688,11 +10891,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Resources$Calendars$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resources$Calendars$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resources$Calendars$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10723,8 +10926,8 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Calendars$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10779,11 +10982,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Resources$Calendars$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Resources$Calendars$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Resources$Calendars$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10812,7 +11015,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Calendars$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10867,11 +11073,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Resources$Calendars$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Resources$Calendars$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Resources$Calendars$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10900,7 +11106,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Calendars$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11052,11 +11261,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Resources$Features$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Resources$Features$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Resources$Features$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11083,7 +11292,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Features$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11138,11 +11350,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Resources$Features$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resources$Features$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resources$Features$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11171,7 +11383,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Features$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11226,11 +11441,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Resources$Features$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Resources$Features$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Resources$Features$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -11259,7 +11474,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Features$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11314,11 +11532,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Resources$Features$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resources$Features$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resources$Features$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11347,7 +11565,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Features$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11402,11 +11623,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Resources$Features$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Resources$Features$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Resources$Features$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11435,7 +11656,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Features$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11490,11 +11714,11 @@ export namespace admin_directory_v1 { rename( params: Params$Resource$Resources$Features$Rename, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rename( params?: Params$Resource$Resources$Features$Rename, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rename( params: Params$Resource$Resources$Features$Rename, options: StreamMethodOptions | BodyResponseCallback, @@ -11521,7 +11745,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Features$Rename; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11576,11 +11803,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Resources$Features$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Resources$Features$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Resources$Features$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11609,7 +11836,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Features$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11769,11 +11999,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Roleassignments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Roleassignments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Roleassignments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11800,7 +12030,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roleassignments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11855,11 +12088,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Roleassignments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Roleassignments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Roleassignments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11888,7 +12121,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roleassignments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11943,11 +12179,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Roleassignments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Roleassignments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Roleassignments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -11976,7 +12212,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roleassignments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12031,11 +12270,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Roleassignments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Roleassignments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Roleassignments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12064,7 +12303,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roleassignments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12188,11 +12430,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Roles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Roles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Roles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12219,7 +12461,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12272,11 +12517,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Roles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Roles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Roles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12305,7 +12550,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12358,11 +12606,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Roles$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Roles$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Roles$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -12391,7 +12639,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roles$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12444,11 +12695,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Roles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Roles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Roles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12477,7 +12728,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12530,11 +12784,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Roles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Roles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Roles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12563,7 +12817,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12616,11 +12873,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Roles$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Roles$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Roles$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12649,7 +12906,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roles$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12785,11 +13045,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Schemas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Schemas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Schemas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12816,7 +13076,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Schemas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12870,11 +13133,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Schemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Schemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Schemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12903,7 +13166,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Schemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12957,11 +13223,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Schemas$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Schemas$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Schemas$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -12990,7 +13256,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Schemas$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13043,11 +13312,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Schemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Schemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Schemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13076,7 +13345,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Schemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13129,11 +13401,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Schemas$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Schemas$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Schemas$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13162,7 +13434,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Schemas$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13216,11 +13491,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Schemas$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Schemas$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Schemas$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -13249,7 +13524,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Schemas$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13378,11 +13656,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Tokens$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Tokens$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Tokens$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13409,7 +13687,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tokens$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13462,11 +13743,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Tokens$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Tokens$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Tokens$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13495,7 +13776,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tokens$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13548,11 +13832,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Tokens$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tokens$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tokens$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13581,7 +13865,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tokens$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13668,11 +13955,11 @@ export namespace admin_directory_v1 { turnOff( params: Params$Resource$Twostepverification$Turnoff, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; turnOff( params?: Params$Resource$Twostepverification$Turnoff, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; turnOff( params: Params$Resource$Twostepverification$Turnoff, options: StreamMethodOptions | BodyResponseCallback, @@ -13699,7 +13986,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Twostepverification$Turnoff; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13773,11 +14063,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13804,7 +14094,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13858,11 +14151,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13891,7 +14184,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13945,11 +14241,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Users$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Users$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Users$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -13978,7 +14274,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14032,11 +14331,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14065,7 +14364,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14119,11 +14421,11 @@ export namespace admin_directory_v1 { makeAdmin( params: Params$Resource$Users$Makeadmin, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; makeAdmin( params?: Params$Resource$Users$Makeadmin, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; makeAdmin( params: Params$Resource$Users$Makeadmin, options: StreamMethodOptions | BodyResponseCallback, @@ -14150,7 +14452,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Makeadmin; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14203,11 +14508,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14236,7 +14541,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14290,11 +14598,11 @@ export namespace admin_directory_v1 { signOut( params: Params$Resource$Users$Signout, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signOut( params?: Params$Resource$Users$Signout, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signOut( params: Params$Resource$Users$Signout, options: StreamMethodOptions | BodyResponseCallback, @@ -14321,7 +14629,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Signout; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14374,11 +14685,11 @@ export namespace admin_directory_v1 { undelete( params: Params$Resource$Users$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Users$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Users$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -14405,7 +14716,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14458,11 +14772,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Users$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Users$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Users$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -14491,7 +14805,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14545,11 +14862,11 @@ export namespace admin_directory_v1 { watch( params: Params$Resource$Users$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Users$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Users$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -14578,7 +14895,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14830,11 +15150,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Users$Aliases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Aliases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Aliases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14861,7 +15181,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Aliases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14915,11 +15238,11 @@ export namespace admin_directory_v1 { insert( params: Params$Resource$Users$Aliases$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Users$Aliases$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Users$Aliases$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -14948,7 +15271,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Aliases$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15002,11 +15328,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Users$Aliases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Aliases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Aliases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15035,7 +15361,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Aliases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15089,11 +15418,11 @@ export namespace admin_directory_v1 { watch( params: Params$Resource$Users$Aliases$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Users$Aliases$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Users$Aliases$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -15122,7 +15451,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Aliases$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15234,11 +15566,11 @@ export namespace admin_directory_v1 { delete( params: Params$Resource$Users$Photos$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Photos$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Photos$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15265,7 +15597,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Photos$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15319,11 +15654,11 @@ export namespace admin_directory_v1 { get( params: Params$Resource$Users$Photos$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Photos$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Photos$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15352,7 +15687,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Photos$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15405,11 +15743,11 @@ export namespace admin_directory_v1 { patch( params: Params$Resource$Users$Photos$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Photos$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Photos$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15438,7 +15776,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Photos$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15492,11 +15833,11 @@ export namespace admin_directory_v1 { update( params: Params$Resource$Users$Photos$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Users$Photos$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Users$Photos$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -15525,7 +15866,10 @@ export namespace admin_directory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Photos$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15624,11 +15968,11 @@ export namespace admin_directory_v1 { generate( params: Params$Resource$Verificationcodes$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Verificationcodes$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Verificationcodes$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -15655,7 +15999,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Verificationcodes$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15710,11 +16057,11 @@ export namespace admin_directory_v1 { invalidate( params: Params$Resource$Verificationcodes$Invalidate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; invalidate( params?: Params$Resource$Verificationcodes$Invalidate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; invalidate( params: Params$Resource$Verificationcodes$Invalidate, options: StreamMethodOptions | BodyResponseCallback, @@ -15741,7 +16088,10 @@ export namespace admin_directory_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Verificationcodes$Invalidate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15796,11 +16146,11 @@ export namespace admin_directory_v1 { list( params: Params$Resource$Verificationcodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Verificationcodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Verificationcodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15831,8 +16181,8 @@ export namespace admin_directory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Verificationcodes$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/admin/index.ts b/src/apis/admin/index.ts index 897447853a8..ae5e4e0ce3e 100644 --- a/src/apis/admin/index.ts +++ b/src/apis/admin/index.ts @@ -65,7 +65,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/admin/package.json b/src/apis/admin/package.json index 3effb004c58..cde96e7ca80 100644 --- a/src/apis/admin/package.json +++ b/src/apis/admin/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/admin/reports_v1.ts b/src/apis/admin/reports_v1.ts index 35dc12bfbf1..abd96a30fb8 100644 --- a/src/apis/admin/reports_v1.ts +++ b/src/apis/admin/reports_v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -567,11 +567,11 @@ export namespace admin_reports_v1 { list( params: Params$Resource$Activities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Activities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Activities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -600,7 +600,10 @@ export namespace admin_reports_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Activities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -654,11 +657,11 @@ export namespace admin_reports_v1 { watch( params: Params$Resource$Activities$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Activities$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Activities$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -687,7 +690,10 @@ export namespace admin_reports_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Activities$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -854,11 +860,11 @@ export namespace admin_reports_v1 { stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Channels$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -885,7 +891,10 @@ export namespace admin_reports_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channels$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -953,11 +962,11 @@ export namespace admin_reports_v1 { get( params: Params$Resource$Customerusagereports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customerusagereports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customerusagereports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -986,7 +995,10 @@ export namespace admin_reports_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customerusagereports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1046,7 +1058,7 @@ export namespace admin_reports_v1 { */ pageToken?: string; /** - * The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. + * The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. */ parameters?: string; } @@ -1068,11 +1080,11 @@ export namespace admin_reports_v1 { get( params: Params$Resource$Entityusagereports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Entityusagereports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Entityusagereports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1101,7 +1113,10 @@ export namespace admin_reports_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entityusagereports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1199,11 +1214,11 @@ export namespace admin_reports_v1 { get( params: Params$Resource$Userusagereport$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userusagereport$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userusagereport$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1232,7 +1247,10 @@ export namespace admin_reports_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userusagereport$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1287,7 +1305,7 @@ export namespace admin_reports_v1 { */ date?: string; /** - * The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The `filters` query string includes the name of the application whose usage is returned in the report. The application values for the Users Usage Report include `accounts`, `docs`, and `gmail`. Filters are in the form `[application name]:parameter name[parameter value],...`. In this example, the `<\>` 'not equal to' operator is URL-encoded in the request's query string (%3C%3E): GET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?parameters=accounts:last_login_time &filters=accounts:last_login_time%3C%3E2010-10-28T10:26:35.000Z The relational operators include: - `==` - 'equal to'. - `<\>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<` - 'less than'. It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It is URL-encoded (%3C=). - `\>` - 'greater than'. It is URL-encoded (%3E). - `\>=` - 'greater than or equal to'. It is URL-encoded (%3E=). + * The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The `filters` query string includes the name of the application whose usage is returned in the report. The application values for the Users Usage Report include `accounts`, `chat`, `docs`, and `gmail`. Filters are in the form `[application name]:parameter name[parameter value],...`. In this example, the `<\>` 'not equal to' operator is URL-encoded in the request's query string (%3C%3E): GET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?parameters=accounts:last_login_time &filters=accounts:last_login_time%3C%3E2010-10-28T10:26:35.000Z The relational operators include: - `==` - 'equal to'. - `<\>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<` - 'less than'. It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It is URL-encoded (%3C=). - `\>` - 'greater than'. It is URL-encoded (%3E). - `\>=` - 'greater than or equal to'. It is URL-encoded (%3E=). */ filters?: string; /** @@ -1307,7 +1325,7 @@ export namespace admin_reports_v1 { */ pageToken?: string; /** - * The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers Usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. + * The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers Usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. */ parameters?: string; /** diff --git a/src/apis/admob/index.ts b/src/apis/admob/index.ts index 4f59d7a2a71..c2c4e5ae717 100644 --- a/src/apis/admob/index.ts +++ b/src/apis/admob/index.ts @@ -43,7 +43,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/admob/package.json b/src/apis/admob/package.json index 245d70142bc..902366221b0 100644 --- a/src/apis/admob/package.json +++ b/src/apis/admob/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/admob/v1.ts b/src/apis/admob/v1.ts index 513f1788b00..e147420d45a 100644 --- a/src/apis/admob/v1.ts +++ b/src/apis/admob/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -616,11 +616,11 @@ export namespace admob_v1 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -649,7 +649,10 @@ export namespace admob_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -700,11 +703,11 @@ export namespace admob_v1 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -739,8 +742,8 @@ export namespace admob_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -817,11 +820,11 @@ export namespace admob_v1 { list( params: Params$Resource$Accounts$Adunits$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adunits$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adunits$List, options: StreamMethodOptions | BodyResponseCallback, @@ -852,8 +855,8 @@ export namespace admob_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -931,11 +934,11 @@ export namespace admob_v1 { list( params: Params$Resource$Accounts$Apps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Apps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Apps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -964,7 +967,10 @@ export namespace admob_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1039,11 +1045,11 @@ export namespace admob_v1 { generate( params: Params$Resource$Accounts$Mediationreport$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Accounts$Mediationreport$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Accounts$Mediationreport$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -1078,8 +1084,8 @@ export namespace admob_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mediationreport$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1156,11 +1162,11 @@ export namespace admob_v1 { generate( params: Params$Resource$Accounts$Networkreport$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Accounts$Networkreport$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Accounts$Networkreport$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -1195,8 +1201,8 @@ export namespace admob_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Networkreport$Generate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/admob/v1beta.ts b/src/apis/admob/v1beta.ts index 76ecb08483c..17619fa418f 100644 --- a/src/apis/admob/v1beta.ts +++ b/src/apis/admob/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1025,11 +1025,11 @@ export namespace admob_v1beta { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1058,7 +1058,10 @@ export namespace admob_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1109,11 +1112,11 @@ export namespace admob_v1beta { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1148,8 +1151,8 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1228,11 +1231,11 @@ export namespace admob_v1beta { list( params: Params$Resource$Accounts$Adsources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adsources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adsources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1265,8 +1268,8 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adsources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1344,11 +1347,11 @@ export namespace admob_v1beta { list( params: Params$Resource$Accounts$Adsources$Adapters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adsources$Adapters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adsources$Adapters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1381,8 +1384,8 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adsources$Adapters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1460,11 +1463,13 @@ export namespace admob_v1beta { batchCreate( params: Params$Resource$Accounts$Adunitmappings$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Accounts$Adunitmappings$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchCreate( params: Params$Resource$Accounts$Adunitmappings$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -1499,8 +1504,10 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunitmappings$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1580,11 +1587,11 @@ export namespace admob_v1beta { create( params: Params$Resource$Accounts$Adunits$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Adunits$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Adunits$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1613,7 +1620,10 @@ export namespace admob_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1668,11 +1678,11 @@ export namespace admob_v1beta { list( params: Params$Resource$Accounts$Adunits$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adunits$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adunits$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1703,8 +1713,8 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1794,11 +1804,11 @@ export namespace admob_v1beta { create( params: Params$Resource$Accounts$Adunits$Adunitmappings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Adunits$Adunitmappings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Adunits$Adunitmappings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1827,7 +1837,10 @@ export namespace admob_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Adunitmappings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1882,11 +1895,11 @@ export namespace admob_v1beta { list( params: Params$Resource$Accounts$Adunits$Adunitmappings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adunits$Adunitmappings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adunits$Adunitmappings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1921,8 +1934,8 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Adunitmappings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2016,11 +2029,11 @@ export namespace admob_v1beta { create( params: Params$Resource$Accounts$Apps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Apps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Apps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2049,7 +2062,10 @@ export namespace admob_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2104,11 +2120,11 @@ export namespace admob_v1beta { list( params: Params$Resource$Accounts$Apps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Apps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Apps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2137,7 +2153,10 @@ export namespace admob_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2227,11 +2246,11 @@ export namespace admob_v1beta { generate( params: Params$Resource$Accounts$Campaignreport$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Accounts$Campaignreport$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Accounts$Campaignreport$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -2266,8 +2285,8 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Campaignreport$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2348,11 +2367,11 @@ export namespace admob_v1beta { create( params: Params$Resource$Accounts$Mediationgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Mediationgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Mediationgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2381,7 +2400,10 @@ export namespace admob_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mediationgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2436,11 +2458,11 @@ export namespace admob_v1beta { list( params: Params$Resource$Accounts$Mediationgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Mediationgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Mediationgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2475,8 +2497,8 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mediationgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2531,11 +2553,11 @@ export namespace admob_v1beta { patch( params: Params$Resource$Accounts$Mediationgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Mediationgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Mediationgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2564,7 +2586,10 @@ export namespace admob_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mediationgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2671,11 +2696,11 @@ export namespace admob_v1beta { create( params: Params$Resource$Accounts$Mediationgroups$Mediationabexperiments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Mediationgroups$Mediationabexperiments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Mediationgroups$Mediationabexperiments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2708,8 +2733,8 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mediationgroups$Mediationabexperiments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2765,11 +2790,11 @@ export namespace admob_v1beta { stop( params: Params$Resource$Accounts$Mediationgroups$Mediationabexperiments$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Accounts$Mediationgroups$Mediationabexperiments$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Accounts$Mediationgroups$Mediationabexperiments$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -2802,8 +2827,8 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mediationgroups$Mediationabexperiments$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2891,11 +2916,11 @@ export namespace admob_v1beta { generate( params: Params$Resource$Accounts$Mediationreport$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Accounts$Mediationreport$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Accounts$Mediationreport$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -2930,8 +2955,8 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mediationreport$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3007,11 +3032,11 @@ export namespace admob_v1beta { generate( params: Params$Resource$Accounts$Networkreport$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Accounts$Networkreport$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Accounts$Networkreport$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -3046,8 +3071,8 @@ export namespace admob_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Networkreport$Generate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/adsense/index.ts b/src/apis/adsense/index.ts index f14728c2634..d4f18103ed1 100644 --- a/src/apis/adsense/index.ts +++ b/src/apis/adsense/index.ts @@ -43,7 +43,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/adsense/package.json b/src/apis/adsense/package.json index 9218404386d..a877bae91ee 100644 --- a/src/apis/adsense/package.json +++ b/src/apis/adsense/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/adsense/v1.4.ts b/src/apis/adsense/v1.4.ts index 51d10c7b05a..8686bf19620 100644 --- a/src/apis/adsense/v1.4.ts +++ b/src/apis/adsense/v1.4.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -708,11 +708,11 @@ export namespace adsense_v1_4 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -741,7 +741,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -844,11 +844,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -877,7 +877,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1010,11 +1010,11 @@ export namespace adsense_v1_4 { getAdCode( params: Params$Resource$Accounts$Adclients$Getadcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAdCode( params?: Params$Resource$Accounts$Adclients$Getadcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAdCode( params: Params$Resource$Accounts$Adclients$Getadcode, options: StreamMethodOptions | BodyResponseCallback, @@ -1043,7 +1043,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Getadcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1149,11 +1149,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Accounts$Adclients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adclients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adclients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1182,7 +1182,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1335,11 +1335,11 @@ export namespace adsense_v1_4 { get( params: Params$Resource$Accounts$Adunits$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Adunits$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Adunits$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1368,7 +1368,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1474,11 +1474,11 @@ export namespace adsense_v1_4 { getAdCode( params: Params$Resource$Accounts$Adunits$Getadcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAdCode( params?: Params$Resource$Accounts$Adunits$Getadcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAdCode( params: Params$Resource$Accounts$Adunits$Getadcode, options: StreamMethodOptions | BodyResponseCallback, @@ -1507,7 +1507,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Getadcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1617,11 +1617,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Accounts$Adunits$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adunits$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adunits$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1650,7 +1650,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1821,11 +1821,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Accounts$Adunits$Customchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adunits$Customchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adunits$Customchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1854,7 +1854,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Customchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1978,11 +1978,11 @@ export namespace adsense_v1_4 { delete( params: Params$Resource$Accounts$Alerts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Alerts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Alerts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2009,7 +2009,7 @@ export namespace adsense_v1_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Alerts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2110,11 +2110,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Accounts$Alerts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Alerts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Alerts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2143,7 +2143,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Alerts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2281,11 +2281,11 @@ export namespace adsense_v1_4 { get( params: Params$Resource$Accounts$Customchannels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Customchannels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Customchannels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2314,7 +2314,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customchannels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2422,11 +2422,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Accounts$Customchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Customchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Customchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2455,7 +2455,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2609,11 +2609,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Accounts$Customchannels$Adunits$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Customchannels$Adunits$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Customchannels$Adunits$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2642,7 +2642,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customchannels$Adunits$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2777,11 +2777,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Accounts$Payments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Payments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Payments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2810,7 +2810,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Payments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2957,11 +2957,11 @@ export namespace adsense_v1_4 { generate( params: Params$Resource$Accounts$Reports$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Accounts$Reports$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Accounts$Reports$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -2996,8 +2996,8 @@ export namespace adsense_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3172,11 +3172,11 @@ export namespace adsense_v1_4 { generate( params: Params$Resource$Accounts$Reports$Saved$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Accounts$Reports$Saved$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Accounts$Reports$Saved$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -3211,8 +3211,8 @@ export namespace adsense_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Saved$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3320,11 +3320,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Accounts$Reports$Saved$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Reports$Saved$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Reports$Saved$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3353,7 +3353,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Saved$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3502,11 +3502,11 @@ export namespace adsense_v1_4 { get( params: Params$Resource$Accounts$Savedadstyles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Savedadstyles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Savedadstyles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3535,7 +3535,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Savedadstyles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3641,11 +3641,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Accounts$Savedadstyles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Savedadstyles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Savedadstyles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3674,7 +3674,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Savedadstyles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3815,11 +3815,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Accounts$Urlchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Urlchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Urlchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3848,7 +3848,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Urlchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3979,11 +3979,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Adclients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Adclients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Adclients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4012,7 +4012,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Adclients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4141,11 +4141,11 @@ export namespace adsense_v1_4 { get( params: Params$Resource$Adunits$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Adunits$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Adunits$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4174,7 +4174,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Adunits$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4277,11 +4277,11 @@ export namespace adsense_v1_4 { getAdCode( params: Params$Resource$Adunits$Getadcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAdCode( params?: Params$Resource$Adunits$Getadcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAdCode( params: Params$Resource$Adunits$Getadcode, options: StreamMethodOptions | BodyResponseCallback, @@ -4310,7 +4310,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Adunits$Getadcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4418,11 +4418,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Adunits$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Adunits$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Adunits$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4451,7 +4451,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Adunits$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4604,11 +4604,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Adunits$Customchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Adunits$Customchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Adunits$Customchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4637,7 +4637,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Adunits$Customchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4755,11 +4755,11 @@ export namespace adsense_v1_4 { delete( params: Params$Resource$Alerts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Alerts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Alerts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4786,7 +4786,7 @@ export namespace adsense_v1_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Alerts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4885,11 +4885,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Alerts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Alerts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Alerts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4918,7 +4918,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Alerts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5044,11 +5044,11 @@ export namespace adsense_v1_4 { get( params: Params$Resource$Customchannels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customchannels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customchannels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5077,7 +5077,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customchannels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5183,11 +5183,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Customchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5216,7 +5216,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5359,11 +5359,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Customchannels$Adunits$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customchannels$Adunits$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customchannels$Adunits$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5392,7 +5392,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customchannels$Adunits$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5531,11 +5531,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Metadata$Dimensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Metadata$Dimensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Metadata$Dimensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5564,7 +5564,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Metadata$Dimensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5671,11 +5671,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Metadata$Metrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Metadata$Metrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Metadata$Metrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5704,7 +5704,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Metadata$Metrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5811,11 +5811,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Payments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Payments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Payments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5844,7 +5844,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Payments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5985,11 +5985,11 @@ export namespace adsense_v1_4 { generate( params: Params$Resource$Reports$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Reports$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Reports$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -6024,8 +6024,8 @@ export namespace adsense_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6197,11 +6197,11 @@ export namespace adsense_v1_4 { generate( params: Params$Resource$Reports$Saved$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Reports$Saved$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Reports$Saved$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -6236,8 +6236,8 @@ export namespace adsense_v1_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Saved$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6343,11 +6343,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Reports$Saved$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reports$Saved$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reports$Saved$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6376,7 +6376,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Saved$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6516,11 +6516,11 @@ export namespace adsense_v1_4 { get( params: Params$Resource$Savedadstyles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Savedadstyles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Savedadstyles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6549,7 +6549,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Savedadstyles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6652,11 +6652,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Savedadstyles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Savedadstyles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Savedadstyles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6685,7 +6685,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Savedadstyles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6817,11 +6817,11 @@ export namespace adsense_v1_4 { list( params: Params$Resource$Urlchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Urlchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Urlchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6850,7 +6850,7 @@ export namespace adsense_v1_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/adsense/v2.ts b/src/apis/adsense/v2.ts index 98b94f1e588..0b5a19b4f3b 100644 --- a/src/apis/adsense/v2.ts +++ b/src/apis/adsense/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -597,7 +597,7 @@ export namespace adsense_v2 { */ export interface Schema$PolicyTopic { /** - * Required. Deprecated. Policy topics no longer have a "must-fix" classification. + * Required. Deprecated. Always set to false. */ mustFix?: boolean | null; /** @@ -753,11 +753,11 @@ export namespace adsense_v2 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -786,7 +786,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -837,11 +840,11 @@ export namespace adsense_v2 { getAdBlockingRecoveryTag( params: Params$Resource$Accounts$Getadblockingrecoverytag, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAdBlockingRecoveryTag( params?: Params$Resource$Accounts$Getadblockingrecoverytag, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAdBlockingRecoveryTag( params: Params$Resource$Accounts$Getadblockingrecoverytag, options: StreamMethodOptions | BodyResponseCallback, @@ -876,8 +879,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Getadblockingrecoverytag; let options = (optionsOrCallback || {}) as MethodOptions; @@ -932,11 +935,11 @@ export namespace adsense_v2 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -969,8 +972,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1021,11 +1024,11 @@ export namespace adsense_v2 { listChildAccounts( params: Params$Resource$Accounts$Listchildaccounts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listChildAccounts( params?: Params$Resource$Accounts$Listchildaccounts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listChildAccounts( params: Params$Resource$Accounts$Listchildaccounts, options: StreamMethodOptions | BodyResponseCallback, @@ -1060,8 +1063,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Listchildaccounts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1172,11 +1175,11 @@ export namespace adsense_v2 { get( params: Params$Resource$Accounts$Adclients$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Adclients$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Adclients$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1205,7 +1208,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1257,11 +1263,11 @@ export namespace adsense_v2 { getAdcode( params: Params$Resource$Accounts$Adclients$Getadcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAdcode( params?: Params$Resource$Accounts$Adclients$Getadcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAdcode( params: Params$Resource$Accounts$Adclients$Getadcode, options: StreamMethodOptions | BodyResponseCallback, @@ -1290,7 +1296,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Getadcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1342,11 +1351,11 @@ export namespace adsense_v2 { list( params: Params$Resource$Accounts$Adclients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adclients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adclients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1379,8 +1388,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1472,11 +1481,11 @@ export namespace adsense_v2 { create( params: Params$Resource$Accounts$Adclients$Adunits$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Adclients$Adunits$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Adclients$Adunits$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1505,7 +1514,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Adunits$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1560,11 +1572,11 @@ export namespace adsense_v2 { get( params: Params$Resource$Accounts$Adclients$Adunits$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Adclients$Adunits$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Adclients$Adunits$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1593,7 +1605,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Adunits$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1645,11 +1660,11 @@ export namespace adsense_v2 { getAdcode( params: Params$Resource$Accounts$Adclients$Adunits$Getadcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAdcode( params?: Params$Resource$Accounts$Adclients$Adunits$Getadcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAdcode( params: Params$Resource$Accounts$Adclients$Adunits$Getadcode, options: StreamMethodOptions | BodyResponseCallback, @@ -1678,7 +1693,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Adunits$Getadcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1730,11 +1748,11 @@ export namespace adsense_v2 { list( params: Params$Resource$Accounts$Adclients$Adunits$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adclients$Adunits$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adclients$Adunits$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1765,8 +1783,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Adunits$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1821,11 +1839,13 @@ export namespace adsense_v2 { listLinkedCustomChannels( params: Params$Resource$Accounts$Adclients$Adunits$Listlinkedcustomchannels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listLinkedCustomChannels( params?: Params$Resource$Accounts$Adclients$Adunits$Listlinkedcustomchannels, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listLinkedCustomChannels( params: Params$Resource$Accounts$Adclients$Adunits$Listlinkedcustomchannels, options: StreamMethodOptions | BodyResponseCallback, @@ -1860,8 +1880,10 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Adunits$Listlinkedcustomchannels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1919,11 +1941,11 @@ export namespace adsense_v2 { patch( params: Params$Resource$Accounts$Adclients$Adunits$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Adclients$Adunits$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Adclients$Adunits$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1952,7 +1974,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Adunits$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2084,11 +2109,11 @@ export namespace adsense_v2 { create( params: Params$Resource$Accounts$Adclients$Customchannels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Adclients$Customchannels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Adclients$Customchannels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2117,7 +2142,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Customchannels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2172,11 +2200,11 @@ export namespace adsense_v2 { delete( params: Params$Resource$Accounts$Adclients$Customchannels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Adclients$Customchannels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Adclients$Customchannels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2205,7 +2233,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Customchannels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2257,11 +2288,11 @@ export namespace adsense_v2 { get( params: Params$Resource$Accounts$Adclients$Customchannels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Adclients$Customchannels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Adclients$Customchannels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2290,7 +2321,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Customchannels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2342,11 +2376,11 @@ export namespace adsense_v2 { list( params: Params$Resource$Accounts$Adclients$Customchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adclients$Customchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adclients$Customchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2381,8 +2415,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Customchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2437,11 +2471,11 @@ export namespace adsense_v2 { listLinkedAdUnits( params: Params$Resource$Accounts$Adclients$Customchannels$Listlinkedadunits, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listLinkedAdUnits( params?: Params$Resource$Accounts$Adclients$Customchannels$Listlinkedadunits, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listLinkedAdUnits( params: Params$Resource$Accounts$Adclients$Customchannels$Listlinkedadunits, options: StreamMethodOptions | BodyResponseCallback, @@ -2476,8 +2510,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Customchannels$Listlinkedadunits; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2533,11 +2567,11 @@ export namespace adsense_v2 { patch( params: Params$Resource$Accounts$Adclients$Customchannels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Adclients$Customchannels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Adclients$Customchannels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2566,7 +2600,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Customchannels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2698,11 +2735,11 @@ export namespace adsense_v2 { get( params: Params$Resource$Accounts$Adclients$Urlchannels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Adclients$Urlchannels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Adclients$Urlchannels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2731,7 +2768,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Urlchannels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2783,11 +2823,11 @@ export namespace adsense_v2 { list( params: Params$Resource$Accounts$Adclients$Urlchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adclients$Urlchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adclients$Urlchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2820,8 +2860,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Urlchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2906,11 +2946,11 @@ export namespace adsense_v2 { list( params: Params$Resource$Accounts$Alerts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Alerts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Alerts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2941,8 +2981,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Alerts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3016,11 +3056,11 @@ export namespace adsense_v2 { list( params: Params$Resource$Accounts$Payments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Payments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Payments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3053,8 +3093,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Payments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3124,11 +3164,11 @@ export namespace adsense_v2 { get( params: Params$Resource$Accounts$Policyissues$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Policyissues$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Policyissues$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3157,7 +3197,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Policyissues$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3209,11 +3252,11 @@ export namespace adsense_v2 { list( params: Params$Resource$Accounts$Policyissues$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Policyissues$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Policyissues$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3246,8 +3289,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Policyissues$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3334,11 +3377,11 @@ export namespace adsense_v2 { generate( params: Params$Resource$Accounts$Reports$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Accounts$Reports$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Accounts$Reports$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -3367,7 +3410,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3422,11 +3468,11 @@ export namespace adsense_v2 { generateCsv( params: Params$Resource$Accounts$Reports$Generatecsv, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateCsv( params?: Params$Resource$Accounts$Reports$Generatecsv, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateCsv( params: Params$Resource$Accounts$Reports$Generatecsv, options: StreamMethodOptions | BodyResponseCallback, @@ -3455,7 +3501,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Generatecsv; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3510,11 +3559,11 @@ export namespace adsense_v2 { getSaved( params: Params$Resource$Accounts$Reports$Getsaved, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSaved( params?: Params$Resource$Accounts$Reports$Getsaved, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSaved( params: Params$Resource$Accounts$Reports$Getsaved, options: StreamMethodOptions | BodyResponseCallback, @@ -3543,7 +3592,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Getsaved; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3744,11 +3796,11 @@ export namespace adsense_v2 { generate( params: Params$Resource$Accounts$Reports$Saved$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Accounts$Reports$Saved$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Accounts$Reports$Saved$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -3777,7 +3829,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Saved$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3832,11 +3887,11 @@ export namespace adsense_v2 { generateCsv( params: Params$Resource$Accounts$Reports$Saved$Generatecsv, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateCsv( params?: Params$Resource$Accounts$Reports$Saved$Generatecsv, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateCsv( params: Params$Resource$Accounts$Reports$Saved$Generatecsv, options: StreamMethodOptions | BodyResponseCallback, @@ -3865,7 +3920,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Saved$Generatecsv; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3920,11 +3978,11 @@ export namespace adsense_v2 { list( params: Params$Resource$Accounts$Reports$Saved$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Reports$Saved$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Reports$Saved$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3957,8 +4015,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Saved$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4130,11 +4188,11 @@ export namespace adsense_v2 { get( params: Params$Resource$Accounts$Sites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Sites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Sites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4163,7 +4221,10 @@ export namespace adsense_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Sites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4215,11 +4276,11 @@ export namespace adsense_v2 { list( params: Params$Resource$Accounts$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4250,8 +4311,8 @@ export namespace adsense_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/adsensehost/index.ts b/src/apis/adsensehost/index.ts index 506395b0cc4..1cee14169f1 100644 --- a/src/apis/adsensehost/index.ts +++ b/src/apis/adsensehost/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/adsensehost/package.json b/src/apis/adsensehost/package.json index 0cdbec0cad8..524074a24fe 100644 --- a/src/apis/adsensehost/package.json +++ b/src/apis/adsensehost/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/adsensehost/v4.1.ts b/src/apis/adsensehost/v4.1.ts index e58e8c304ae..461043248c7 100644 --- a/src/apis/adsensehost/v4.1.ts +++ b/src/apis/adsensehost/v4.1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -450,11 +450,11 @@ export namespace adsensehost_v4_1 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -483,7 +483,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -537,11 +537,11 @@ export namespace adsensehost_v4_1 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -570,7 +570,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -644,11 +644,11 @@ export namespace adsensehost_v4_1 { get( params: Params$Resource$Accounts$Adclients$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Adclients$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Adclients$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -677,7 +677,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -732,11 +732,11 @@ export namespace adsensehost_v4_1 { list( params: Params$Resource$Accounts$Adclients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adclients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adclients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -765,7 +765,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adclients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -853,11 +853,11 @@ export namespace adsensehost_v4_1 { delete( params: Params$Resource$Accounts$Adunits$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Adunits$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Adunits$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -886,7 +886,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -941,11 +941,11 @@ export namespace adsensehost_v4_1 { get( params: Params$Resource$Accounts$Adunits$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Adunits$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Adunits$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -974,7 +974,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1029,11 +1029,11 @@ export namespace adsensehost_v4_1 { getAdCode( params: Params$Resource$Accounts$Adunits$Getadcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAdCode( params?: Params$Resource$Accounts$Adunits$Getadcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAdCode( params: Params$Resource$Accounts$Adunits$Getadcode, options: StreamMethodOptions | BodyResponseCallback, @@ -1062,7 +1062,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Getadcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1117,11 +1117,11 @@ export namespace adsensehost_v4_1 { insert( params: Params$Resource$Accounts$Adunits$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Adunits$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Adunits$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1150,7 +1150,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1205,11 +1205,11 @@ export namespace adsensehost_v4_1 { list( params: Params$Resource$Accounts$Adunits$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Adunits$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Adunits$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1238,7 +1238,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1293,11 +1293,11 @@ export namespace adsensehost_v4_1 { patch( params: Params$Resource$Accounts$Adunits$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Adunits$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Adunits$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1326,7 +1326,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1381,11 +1381,11 @@ export namespace adsensehost_v4_1 { update( params: Params$Resource$Accounts$Adunits$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Adunits$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Adunits$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1414,7 +1414,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Adunits$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1601,11 +1601,11 @@ export namespace adsensehost_v4_1 { generate( params: Params$Resource$Accounts$Reports$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Accounts$Reports$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Accounts$Reports$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -1634,7 +1634,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1739,11 +1739,11 @@ export namespace adsensehost_v4_1 { get( params: Params$Resource$Adclients$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Adclients$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Adclients$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1772,7 +1772,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Adclients$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1826,11 +1826,11 @@ export namespace adsensehost_v4_1 { list( params: Params$Resource$Adclients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Adclients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Adclients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1859,7 +1859,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Adclients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1937,11 +1937,11 @@ export namespace adsensehost_v4_1 { start( params: Params$Resource$Associationsessions$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Associationsessions$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Associationsessions$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -1972,8 +1972,8 @@ export namespace adsensehost_v4_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Associationsessions$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2027,11 +2027,11 @@ export namespace adsensehost_v4_1 { verify( params: Params$Resource$Associationsessions$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Associationsessions$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Associationsessions$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -2062,8 +2062,8 @@ export namespace adsensehost_v4_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Associationsessions$Verify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2155,11 +2155,11 @@ export namespace adsensehost_v4_1 { delete( params: Params$Resource$Customchannels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customchannels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customchannels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2188,7 +2188,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customchannels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2243,11 +2243,11 @@ export namespace adsensehost_v4_1 { get( params: Params$Resource$Customchannels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customchannels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customchannels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2276,7 +2276,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customchannels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2331,11 +2331,11 @@ export namespace adsensehost_v4_1 { insert( params: Params$Resource$Customchannels$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Customchannels$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Customchannels$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -2364,7 +2364,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customchannels$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2419,11 +2419,11 @@ export namespace adsensehost_v4_1 { list( params: Params$Resource$Customchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2452,7 +2452,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2507,11 +2507,11 @@ export namespace adsensehost_v4_1 { patch( params: Params$Resource$Customchannels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customchannels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customchannels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2540,7 +2540,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customchannels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2595,11 +2595,11 @@ export namespace adsensehost_v4_1 { update( params: Params$Resource$Customchannels$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Customchannels$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Customchannels$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2628,7 +2628,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customchannels$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2768,11 +2768,11 @@ export namespace adsensehost_v4_1 { generate( params: Params$Resource$Reports$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Reports$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Reports$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -2801,7 +2801,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2901,11 +2901,11 @@ export namespace adsensehost_v4_1 { delete( params: Params$Resource$Urlchannels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Urlchannels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Urlchannels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2934,7 +2934,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlchannels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2989,11 +2989,11 @@ export namespace adsensehost_v4_1 { insert( params: Params$Resource$Urlchannels$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Urlchannels$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Urlchannels$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3022,7 +3022,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlchannels$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3076,11 +3076,11 @@ export namespace adsensehost_v4_1 { list( params: Params$Resource$Urlchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Urlchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Urlchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3109,7 +3109,7 @@ export namespace adsensehost_v4_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/adsenseplatform/index.ts b/src/apis/adsenseplatform/index.ts index 8698a3cd5bd..0d6c76ac545 100644 --- a/src/apis/adsenseplatform/index.ts +++ b/src/apis/adsenseplatform/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/adsenseplatform/package.json b/src/apis/adsenseplatform/package.json index cfa4263f709..6755c4d8450 100644 --- a/src/apis/adsenseplatform/package.json +++ b/src/apis/adsenseplatform/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/adsenseplatform/v1.ts b/src/apis/adsenseplatform/v1.ts index cc5b42582e2..8afd5f4f9a8 100644 --- a/src/apis/adsenseplatform/v1.ts +++ b/src/apis/adsenseplatform/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -344,11 +344,11 @@ export namespace adsenseplatform_v1 { close( params: Params$Resource$Platforms$Accounts$Close, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; close( params?: Params$Resource$Platforms$Accounts$Close, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; close( params: Params$Resource$Platforms$Accounts$Close, options: StreamMethodOptions | BodyResponseCallback, @@ -381,8 +381,8 @@ export namespace adsenseplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Close; let options = (optionsOrCallback || {}) as MethodOptions; @@ -435,11 +435,11 @@ export namespace adsenseplatform_v1 { create( params: Params$Resource$Platforms$Accounts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Platforms$Accounts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Platforms$Accounts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -468,7 +468,10 @@ export namespace adsenseplatform_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -524,11 +527,11 @@ export namespace adsenseplatform_v1 { get( params: Params$Resource$Platforms$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Platforms$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Platforms$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -557,7 +560,10 @@ export namespace adsenseplatform_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -610,11 +616,11 @@ export namespace adsenseplatform_v1 { list( params: Params$Resource$Platforms$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -647,8 +653,8 @@ export namespace adsenseplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -704,11 +710,11 @@ export namespace adsenseplatform_v1 { lookup( params: Params$Resource$Platforms$Accounts$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Platforms$Accounts$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Platforms$Accounts$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -741,8 +747,8 @@ export namespace adsenseplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -863,11 +869,11 @@ export namespace adsenseplatform_v1 { create( params: Params$Resource$Platforms$Accounts$Events$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Platforms$Accounts$Events$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Platforms$Accounts$Events$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -896,7 +902,10 @@ export namespace adsenseplatform_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Events$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -972,11 +981,11 @@ export namespace adsenseplatform_v1 { create( params: Params$Resource$Platforms$Accounts$Sites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Platforms$Accounts$Sites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Platforms$Accounts$Sites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1005,7 +1014,10 @@ export namespace adsenseplatform_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Sites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1061,11 +1073,11 @@ export namespace adsenseplatform_v1 { delete( params: Params$Resource$Platforms$Accounts$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Platforms$Accounts$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Platforms$Accounts$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1094,7 +1106,10 @@ export namespace adsenseplatform_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1147,11 +1162,11 @@ export namespace adsenseplatform_v1 { get( params: Params$Resource$Platforms$Accounts$Sites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Platforms$Accounts$Sites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Platforms$Accounts$Sites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1180,7 +1195,10 @@ export namespace adsenseplatform_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Sites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1233,11 +1251,11 @@ export namespace adsenseplatform_v1 { list( params: Params$Resource$Platforms$Accounts$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$Accounts$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$Accounts$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1268,8 +1286,8 @@ export namespace adsenseplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1325,11 +1343,11 @@ export namespace adsenseplatform_v1 { requestReview( params: Params$Resource$Platforms$Accounts$Sites$Requestreview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestReview( params?: Params$Resource$Platforms$Accounts$Sites$Requestreview, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; requestReview( params: Params$Resource$Platforms$Accounts$Sites$Requestreview, options: StreamMethodOptions | BodyResponseCallback, @@ -1364,8 +1382,8 @@ export namespace adsenseplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Sites$Requestreview; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/adsenseplatform/v1alpha.ts b/src/apis/adsenseplatform/v1alpha.ts index e4b8449afce..d551c7eace1 100644 --- a/src/apis/adsenseplatform/v1alpha.ts +++ b/src/apis/adsenseplatform/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -447,11 +447,11 @@ export namespace adsenseplatform_v1alpha { get( params: Params$Resource$Accounts$Platforms$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Platforms$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Platforms$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -480,7 +480,10 @@ export namespace adsenseplatform_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Platforms$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -533,11 +536,11 @@ export namespace adsenseplatform_v1alpha { list( params: Params$Resource$Accounts$Platforms$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Platforms$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Platforms$List, options: StreamMethodOptions | BodyResponseCallback, @@ -570,8 +573,8 @@ export namespace adsenseplatform_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Platforms$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -668,11 +671,11 @@ export namespace adsenseplatform_v1alpha { list( params: Params$Resource$Accounts$Platforms$Childaccounts$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Platforms$Childaccounts$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Platforms$Childaccounts$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -707,8 +710,8 @@ export namespace adsenseplatform_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Platforms$Childaccounts$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -767,11 +770,11 @@ export namespace adsenseplatform_v1alpha { patch( params: Params$Resource$Accounts$Platforms$Childaccounts$Sites$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Platforms$Childaccounts$Sites$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Platforms$Childaccounts$Sites$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -802,8 +805,8 @@ export namespace adsenseplatform_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Platforms$Childaccounts$Sites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -896,11 +899,11 @@ export namespace adsenseplatform_v1alpha { list( params: Params$Resource$Accounts$Platforms$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Platforms$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Platforms$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -935,8 +938,8 @@ export namespace adsenseplatform_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Platforms$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1028,11 +1031,11 @@ export namespace adsenseplatform_v1alpha { close( params: Params$Resource$Platforms$Accounts$Close, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; close( params?: Params$Resource$Platforms$Accounts$Close, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; close( params: Params$Resource$Platforms$Accounts$Close, options: StreamMethodOptions | BodyResponseCallback, @@ -1065,8 +1068,8 @@ export namespace adsenseplatform_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Close; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1122,11 +1125,11 @@ export namespace adsenseplatform_v1alpha { create( params: Params$Resource$Platforms$Accounts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Platforms$Accounts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Platforms$Accounts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1155,7 +1158,10 @@ export namespace adsenseplatform_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1211,11 +1217,11 @@ export namespace adsenseplatform_v1alpha { get( params: Params$Resource$Platforms$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Platforms$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Platforms$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1244,7 +1250,10 @@ export namespace adsenseplatform_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1297,11 +1306,11 @@ export namespace adsenseplatform_v1alpha { list( params: Params$Resource$Platforms$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1334,8 +1343,8 @@ export namespace adsenseplatform_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1391,11 +1400,11 @@ export namespace adsenseplatform_v1alpha { lookup( params: Params$Resource$Platforms$Accounts$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Platforms$Accounts$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Platforms$Accounts$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -1428,8 +1437,8 @@ export namespace adsenseplatform_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1550,11 +1559,11 @@ export namespace adsenseplatform_v1alpha { create( params: Params$Resource$Platforms$Accounts$Events$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Platforms$Accounts$Events$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Platforms$Accounts$Events$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1583,7 +1592,10 @@ export namespace adsenseplatform_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Events$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1659,11 +1671,11 @@ export namespace adsenseplatform_v1alpha { create( params: Params$Resource$Platforms$Accounts$Sites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Platforms$Accounts$Sites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Platforms$Accounts$Sites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1692,7 +1704,10 @@ export namespace adsenseplatform_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Sites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1748,11 +1763,11 @@ export namespace adsenseplatform_v1alpha { delete( params: Params$Resource$Platforms$Accounts$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Platforms$Accounts$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Platforms$Accounts$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1781,7 +1796,10 @@ export namespace adsenseplatform_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1834,11 +1852,11 @@ export namespace adsenseplatform_v1alpha { get( params: Params$Resource$Platforms$Accounts$Sites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Platforms$Accounts$Sites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Platforms$Accounts$Sites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1867,7 +1885,10 @@ export namespace adsenseplatform_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Sites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1920,11 +1941,11 @@ export namespace adsenseplatform_v1alpha { list( params: Params$Resource$Platforms$Accounts$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$Accounts$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$Accounts$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1955,8 +1976,8 @@ export namespace adsenseplatform_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2012,11 +2033,11 @@ export namespace adsenseplatform_v1alpha { requestReview( params: Params$Resource$Platforms$Accounts$Sites$Requestreview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestReview( params?: Params$Resource$Platforms$Accounts$Sites$Requestreview, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; requestReview( params: Params$Resource$Platforms$Accounts$Sites$Requestreview, options: StreamMethodOptions | BodyResponseCallback, @@ -2051,8 +2072,8 @@ export namespace adsenseplatform_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Accounts$Sites$Requestreview; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/advisorynotifications/index.ts b/src/apis/advisorynotifications/index.ts index 21258963951..d19fff8b820 100644 --- a/src/apis/advisorynotifications/index.ts +++ b/src/apis/advisorynotifications/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/advisorynotifications/package.json b/src/apis/advisorynotifications/package.json index 29d5360a284..fb21bb93b4c 100644 --- a/src/apis/advisorynotifications/package.json +++ b/src/apis/advisorynotifications/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/advisorynotifications/v1.ts b/src/apis/advisorynotifications/v1.ts index 35cd50b5866..71351a2e001 100644 --- a/src/apis/advisorynotifications/v1.ts +++ b/src/apis/advisorynotifications/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -320,11 +320,13 @@ export namespace advisorynotifications_v1 { getSettings( params: Params$Resource$Organizations$Locations$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$Organizations$Locations$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getSettings( params: Params$Resource$Organizations$Locations$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -359,8 +361,10 @@ export namespace advisorynotifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -415,11 +419,13 @@ export namespace advisorynotifications_v1 { updateSettings( params: Params$Resource$Organizations$Locations$Updatesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params?: Params$Resource$Organizations$Locations$Updatesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateSettings( params: Params$Resource$Organizations$Locations$Updatesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -454,8 +460,10 @@ export namespace advisorynotifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Updatesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -537,11 +545,13 @@ export namespace advisorynotifications_v1 { get( params: Params$Resource$Organizations$Locations$Notifications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Notifications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Notifications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -576,8 +586,10 @@ export namespace advisorynotifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Notifications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -633,11 +645,13 @@ export namespace advisorynotifications_v1 { list( params: Params$Resource$Organizations$Locations$Notifications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Notifications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Notifications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -672,8 +686,10 @@ export namespace advisorynotifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Notifications$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -787,11 +803,13 @@ export namespace advisorynotifications_v1 { getSettings( params: Params$Resource$Projects$Locations$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$Projects$Locations$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getSettings( params: Params$Resource$Projects$Locations$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -826,8 +844,10 @@ export namespace advisorynotifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -882,11 +902,13 @@ export namespace advisorynotifications_v1 { updateSettings( params: Params$Resource$Projects$Locations$Updatesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params?: Params$Resource$Projects$Locations$Updatesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateSettings( params: Params$Resource$Projects$Locations$Updatesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -921,8 +943,10 @@ export namespace advisorynotifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1004,11 +1028,13 @@ export namespace advisorynotifications_v1 { get( params: Params$Resource$Projects$Locations$Notifications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notifications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Notifications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1043,8 +1069,10 @@ export namespace advisorynotifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notifications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1099,11 +1127,13 @@ export namespace advisorynotifications_v1 { list( params: Params$Resource$Projects$Locations$Notifications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notifications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notifications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1138,8 +1168,10 @@ export namespace advisorynotifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notifications$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/aiplatform/index.ts b/src/apis/aiplatform/index.ts index 17d64c22a7b..fb2e0512a75 100644 --- a/src/apis/aiplatform/index.ts +++ b/src/apis/aiplatform/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/aiplatform/package.json b/src/apis/aiplatform/package.json index 70e0c24177b..ada6a93813f 100644 --- a/src/apis/aiplatform/package.json +++ b/src/apis/aiplatform/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/aiplatform/v1.ts b/src/apis/aiplatform/v1.ts index 30a9053f4f4..ff1ae645656 100644 --- a/src/apis/aiplatform/v1.ts +++ b/src/apis/aiplatform/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1353,6 +1353,10 @@ export namespace aiplatform_v1 { * Optional. Immutable. The user-generated meaningful display name of the cached content. */ displayName?: string | null; + /** + * Input only. Immutable. Customer-managed encryption key spec for a `CachedContent`. If set, this `CachedContent` and all its sub-resources will be secured by this key. + */ + encryptionSpec?: Schema$GoogleCloudAiplatformV1EncryptionSpec; /** * Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input. */ @@ -1488,6 +1492,23 @@ export namespace aiplatform_v1 { */ safetyRatings?: Schema$GoogleCloudAiplatformV1SafetyRating[]; } + /** + * Describes the machine learning model version checkpoint. + */ + export interface Schema$GoogleCloudAiplatformV1Checkpoint { + /** + * The ID of the checkpoint. + */ + checkpointId?: string | null; + /** + * The epoch of the checkpoint. + */ + epoch?: string | null; + /** + * The step of the checkpoint. + */ + step?: string | null; + } /** * This message will be placed in the metadata field of a google.longrunning.Operation associated with a CheckTrialEarlyStoppingState request. */ @@ -2946,6 +2967,10 @@ export namespace aiplatform_v1 { * A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration. */ automaticResources?: Schema$GoogleCloudAiplatformV1AutomaticResources; + /** + * The checkpoint id of the model. + */ + checkpointId?: string | null; /** * Output only. Timestamp when the DeployedModel was created. */ @@ -3019,6 +3044,10 @@ export namespace aiplatform_v1 { * Points to a DeployedModel. */ export interface Schema$GoogleCloudAiplatformV1DeployedModelRef { + /** + * Immutable. The ID of the Checkpoint deployed in the DeployedModel. + */ + checkpointId?: string | null; /** * Immutable. An ID of a DeployedModel in the above Endpoint. */ @@ -6058,6 +6087,10 @@ export namespace aiplatform_v1 { * Config for thinking features. */ export interface Schema$GoogleCloudAiplatformV1GenerationConfigThinkingConfig { + /** + * Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. + */ + includeThoughts?: boolean | null; /** * Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true. */ @@ -8170,6 +8203,10 @@ export namespace aiplatform_v1 { * Optional. User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models. */ baseModelSource?: Schema$GoogleCloudAiplatformV1ModelBaseModelSource; + /** + * Optional. Output only. The checkpoints of the model. + */ + checkpoints?: Schema$GoogleCloudAiplatformV1Checkpoint[]; /** * Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not required for AutoML Models. */ @@ -9683,7 +9720,7 @@ export namespace aiplatform_v1 { values?: string[] | null; } /** - * A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime limited to 24 hours. + * A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime. Default runtimes have a lifetime of 18 hours, while custom runtimes last for 6 months from their creation or last upgrade. */ export interface Schema$GoogleCloudAiplatformV1NotebookRuntime { /** @@ -9894,7 +9931,7 @@ export namespace aiplatform_v1 { notebookRuntimeTemplate?: string | null; } /** - * Notebook Software Config. + * Notebook Software Config. This is passed to the backend when user makes software configurations in UI. */ export interface Schema$GoogleCloudAiplatformV1NotebookSoftwareConfig { /** @@ -11836,6 +11873,10 @@ export namespace aiplatform_v1 { * The Layout Parser to use for RagFiles. */ layoutParser?: Schema$GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser; + /** + * The LLM Parser to use for RagFiles. + */ + llmParser?: Schema$GoogleCloudAiplatformV1RagFileParsingConfigLlmParser; } /** * Document AI Layout Parser config. @@ -11850,6 +11891,23 @@ export namespace aiplatform_v1 { */ processorName?: string | null; } + /** + * Specifies the advanced parsing for RagFiles. + */ + export interface Schema$GoogleCloudAiplatformV1RagFileParsingConfigLlmParser { + /** + * The prompt to use for parsing. If not specified, a default prompt will be used. + */ + customParsingPrompt?: string | null; + /** + * The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used. + */ + maxParsingRequestsPerMin?: number | null; + /** + * The name of a LLM model used for parsing. Format: * `projects/{project_id\}/locations/{location\}/publishers/{publisher\}/models/{model\}` + */ + modelName?: string | null; + } /** * Specifies the transformation config for RagFiles. */ @@ -12228,7 +12286,7 @@ export namespace aiplatform_v1 { */ etag?: string | null; /** - * Identifier. The resource name of the ReasoningEngine. + * Identifier. The resource name of the ReasoningEngine. Format: `projects/{project\}/locations/{location\}/reasoningEngines/{reasoning_engine\}` */ name?: string | null; /** @@ -12986,6 +13044,10 @@ export namespace aiplatform_v1 { * Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. */ export interface Schema$GoogleCloudAiplatformV1Schema { + /** + * Optional. Can either be a boolean or an object; controls the presence of additional properties. + */ + additionalProperties?: any | null; /** * Optional. The value should be validated against any (one or more) of the subschemas in the list. */ @@ -12994,6 +13056,10 @@ export namespace aiplatform_v1 { * Optional. Default value of the data. */ default?: any | null; + /** + * Optional. A map of definitions for use by `ref` Only allowed at the root of the schema. + */ + defs?: {[key: string]: Schema$GoogleCloudAiplatformV1Schema} | null; /** * Optional. The description of the data. */ @@ -13062,6 +13128,10 @@ export namespace aiplatform_v1 { * Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties. */ propertyOrdering?: string[] | null; + /** + * Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + */ + ref?: string | null; /** * Optional. Required properties of Type.OBJECT. */ @@ -17124,7 +17194,7 @@ export namespace aiplatform_v1 { */ export interface Schema$GoogleCloudAiplatformV1SupervisedTuningDataStats { /** - * Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. Must not include example itself. + * Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. */ droppedExampleReasons?: string[] | null; /** @@ -17176,6 +17246,10 @@ export namespace aiplatform_v1 { * Tuning Spec for Supervised Tuning for first party models. */ export interface Schema$GoogleCloudAiplatformV1SupervisedTuningSpec { + /** + * Optional. If set to true, disable intermediate checkpoints for SFT and only the last checkpoint will be exported. Otherwise, enable intermediate checkpoints for SFT. Default is false. + */ + exportLastCheckpointOnly?: boolean | null; /** * Optional. Hyperparameters for SFT. */ @@ -18305,6 +18379,10 @@ export namespace aiplatform_v1 { * The Model Registry Model and Online Prediction Endpoint associated with this TuningJob. */ export interface Schema$GoogleCloudAiplatformV1TunedModel { + /** + * Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints. + */ + checkpoints?: Schema$GoogleCloudAiplatformV1TunedModelCheckpoint[]; /** * Output only. A resource name of an Endpoint. Format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}`. */ @@ -18314,6 +18392,27 @@ export namespace aiplatform_v1 { */ model?: string | null; } + /** + * TunedModelCheckpoint for the Tuned Model of a Tuning Job. + */ + export interface Schema$GoogleCloudAiplatformV1TunedModelCheckpoint { + /** + * The ID of the checkpoint. + */ + checkpointId?: string | null; + /** + * The Endpoint resource name that the checkpoint is deployed to. Format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}`. + */ + endpoint?: string | null; + /** + * The epoch of the checkpoint. + */ + epoch?: string | null; + /** + * The step of the checkpoint. + */ + step?: string | null; + } /** * TunedModel Reference for legacy model migration. */ @@ -18778,6 +18877,14 @@ export namespace aiplatform_v1 { * Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` */ engine?: string | null; + /** + * Optional. Filter strings to be passed to the search API. + */ + filter?: string | null; + /** + * Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10. + */ + maxResults?: number | null; } /** * Config for the Vertex AI Search. @@ -19217,11 +19324,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Batchpredictionjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Batchpredictionjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Batchpredictionjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19256,8 +19365,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Batchpredictionjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19314,11 +19425,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Batchpredictionjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Batchpredictionjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Batchpredictionjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19353,8 +19466,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Batchpredictionjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19408,11 +19523,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Batchpredictionjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Batchpredictionjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Batchpredictionjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19447,8 +19564,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Batchpredictionjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19559,11 +19678,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Datasets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Datasets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Datasets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19598,8 +19717,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19650,11 +19769,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Datasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Datasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19689,8 +19808,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19741,11 +19860,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Datasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Datasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19780,8 +19899,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19834,11 +19953,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Datasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Datasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Datasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19873,8 +19994,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19927,11 +20050,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Datasets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Datasets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Datasets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19966,8 +20089,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20096,11 +20219,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Datasets$Datasetversions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Datasets$Datasetversions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Datasets$Datasetversions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20135,8 +20258,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20191,11 +20314,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Datasets$Datasetversions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Datasets$Datasetversions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Datasets$Datasetversions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20230,8 +20353,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20283,11 +20406,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Datasets$Datasetversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Datasets$Datasetversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Datasets$Datasetversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20322,8 +20447,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20377,11 +20504,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Datasets$Datasetversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Datasets$Datasetversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Datasets$Datasetversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20416,8 +20545,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20474,11 +20605,13 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Datasets$Datasetversions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Datasets$Datasetversions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Datasets$Datasetversions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20513,8 +20646,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20568,11 +20703,11 @@ export namespace aiplatform_v1 { restore( params: Params$Resource$Datasets$Datasetversions$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Datasets$Datasetversions$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Datasets$Datasetversions$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -20607,8 +20742,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20753,11 +20888,13 @@ export namespace aiplatform_v1 { computeTokens( params: Params$Resource$Endpoints$Computetokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeTokens( params?: Params$Resource$Endpoints$Computetokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; computeTokens( params: Params$Resource$Endpoints$Computetokens, options: StreamMethodOptions | BodyResponseCallback, @@ -20792,8 +20929,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Computetokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20850,11 +20989,13 @@ export namespace aiplatform_v1 { countTokens( params: Params$Resource$Endpoints$Counttokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countTokens( params?: Params$Resource$Endpoints$Counttokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countTokens( params: Params$Resource$Endpoints$Counttokens, options: StreamMethodOptions | BodyResponseCallback, @@ -20889,8 +21030,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Counttokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20947,11 +21090,13 @@ export namespace aiplatform_v1 { generateContent( params: Params$Resource$Endpoints$Generatecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateContent( params?: Params$Resource$Endpoints$Generatecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateContent( params: Params$Resource$Endpoints$Generatecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -20986,8 +21131,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Generatecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21044,11 +21191,13 @@ export namespace aiplatform_v1 { predict( params: Params$Resource$Endpoints$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Endpoints$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Endpoints$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -21083,8 +21232,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21141,11 +21292,13 @@ export namespace aiplatform_v1 { streamGenerateContent( params: Params$Resource$Endpoints$Streamgeneratecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamGenerateContent( params?: Params$Resource$Endpoints$Streamgeneratecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamGenerateContent( params: Params$Resource$Endpoints$Streamgeneratecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -21180,8 +21333,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Streamgeneratecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21306,11 +21461,11 @@ export namespace aiplatform_v1 { completions( params: Params$Resource$Endpoints$Chat$Completions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completions( params?: Params$Resource$Endpoints$Chat$Completions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completions( params: Params$Resource$Endpoints$Chat$Completions, options: StreamMethodOptions | BodyResponseCallback, @@ -21341,8 +21496,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Chat$Completions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21417,11 +21572,13 @@ export namespace aiplatform_v1 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -21456,8 +21613,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21553,11 +21712,13 @@ export namespace aiplatform_v1 { getCacheConfig( params: Params$Resource$Projects$Getcacheconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCacheConfig( params?: Params$Resource$Projects$Getcacheconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getCacheConfig( params: Params$Resource$Projects$Getcacheconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -21592,8 +21753,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getcacheconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21647,11 +21810,11 @@ export namespace aiplatform_v1 { updateCacheConfig( params: Params$Resource$Projects$Updatecacheconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCacheConfig( params?: Params$Resource$Projects$Updatecacheconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCacheConfig( params: Params$Resource$Projects$Updatecacheconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -21686,8 +21849,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatecacheconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21880,11 +22043,13 @@ export namespace aiplatform_v1 { augmentPrompt( params: Params$Resource$Projects$Locations$Augmentprompt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; augmentPrompt( params?: Params$Resource$Projects$Locations$Augmentprompt, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; augmentPrompt( params: Params$Resource$Projects$Locations$Augmentprompt, options: StreamMethodOptions | BodyResponseCallback, @@ -21919,8 +22084,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Augmentprompt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21977,11 +22144,13 @@ export namespace aiplatform_v1 { corroborateContent( params: Params$Resource$Projects$Locations$Corroboratecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; corroborateContent( params?: Params$Resource$Projects$Locations$Corroboratecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; corroborateContent( params: Params$Resource$Projects$Locations$Corroboratecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -22016,8 +22185,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Corroboratecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22074,11 +22245,11 @@ export namespace aiplatform_v1 { evaluateDataset( params: Params$Resource$Projects$Locations$Evaluatedataset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evaluateDataset( params?: Params$Resource$Projects$Locations$Evaluatedataset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; evaluateDataset( params: Params$Resource$Projects$Locations$Evaluatedataset, options: StreamMethodOptions | BodyResponseCallback, @@ -22113,8 +22284,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluatedataset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22169,11 +22340,13 @@ export namespace aiplatform_v1 { evaluateInstances( params: Params$Resource$Projects$Locations$Evaluateinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evaluateInstances( params?: Params$Resource$Projects$Locations$Evaluateinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; evaluateInstances( params: Params$Resource$Projects$Locations$Evaluateinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -22208,8 +22381,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluateinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22266,11 +22441,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22305,8 +22480,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22358,11 +22533,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22397,8 +22574,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22455,11 +22634,13 @@ export namespace aiplatform_v1 { retrieveContexts( params: Params$Resource$Projects$Locations$Retrievecontexts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveContexts( params?: Params$Resource$Projects$Locations$Retrievecontexts, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveContexts( params: Params$Resource$Projects$Locations$Retrievecontexts, options: StreamMethodOptions | BodyResponseCallback, @@ -22494,8 +22675,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Retrievecontexts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22650,11 +22833,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Batchpredictionjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -22685,8 +22868,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchpredictionjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22739,11 +22922,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Batchpredictionjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22778,8 +22963,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchpredictionjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22837,11 +23024,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Batchpredictionjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22876,8 +23063,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchpredictionjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22930,11 +23117,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Batchpredictionjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22969,8 +23158,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchpredictionjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23025,11 +23216,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Batchpredictionjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Batchpredictionjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Batchpredictionjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23064,8 +23257,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchpredictionjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23192,11 +23387,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Cachedcontents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Cachedcontents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Cachedcontents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23231,8 +23428,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cachedcontents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23289,11 +23488,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Cachedcontents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Cachedcontents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Cachedcontents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23324,8 +23523,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cachedcontents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23377,11 +23576,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Cachedcontents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Cachedcontents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Cachedcontents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23416,8 +23617,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cachedcontents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23471,11 +23674,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Cachedcontents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Cachedcontents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Cachedcontents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23510,8 +23715,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cachedcontents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23568,11 +23775,13 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Cachedcontents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Cachedcontents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Cachedcontents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23607,8 +23816,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cachedcontents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23731,11 +23942,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Customjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Customjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Customjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -23766,8 +23977,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23819,11 +24030,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Customjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Customjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Customjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23858,8 +24071,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23916,11 +24131,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Customjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Customjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Customjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23955,8 +24170,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24008,11 +24223,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Customjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Customjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Customjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24047,8 +24264,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24102,11 +24321,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Customjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Customjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Customjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24141,8 +24362,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24268,11 +24491,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Customjobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Customjobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Customjobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -24303,8 +24526,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24357,11 +24580,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Customjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Customjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Customjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24392,8 +24615,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24446,11 +24669,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Customjobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Customjobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Customjobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24485,8 +24708,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24539,11 +24762,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Customjobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Customjobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Customjobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24578,8 +24803,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24637,11 +24864,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Customjobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Customjobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Customjobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -24676,8 +24903,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24794,11 +25021,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Datalabelingjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datalabelingjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -24829,8 +25056,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24883,11 +25110,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Datalabelingjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datalabelingjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -24922,8 +25151,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24981,11 +25212,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Datalabelingjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datalabelingjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25020,8 +25251,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25074,11 +25305,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Datalabelingjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datalabelingjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25113,8 +25346,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25168,11 +25403,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datalabelingjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datalabelingjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datalabelingjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25207,8 +25444,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25338,11 +25577,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -25373,8 +25612,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25427,11 +25666,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25462,8 +25701,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25516,11 +25755,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25555,8 +25794,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25609,11 +25848,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25648,8 +25889,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25707,11 +25950,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -25746,8 +25989,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25877,11 +26120,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -25916,8 +26159,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25972,11 +26215,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26011,8 +26254,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26064,11 +26307,11 @@ export namespace aiplatform_v1 { export( params: Params$Resource$Projects$Locations$Datasets$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Datasets$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Datasets$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -26103,8 +26346,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26156,11 +26399,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26195,8 +26438,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26250,11 +26493,11 @@ export namespace aiplatform_v1 { import( params: Params$Resource$Projects$Locations$Datasets$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datasets$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datasets$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -26289,8 +26532,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26342,11 +26585,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26381,8 +26626,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26439,11 +26686,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26478,8 +26725,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26533,11 +26780,13 @@ export namespace aiplatform_v1 { searchDataItems( params: Params$Resource$Projects$Locations$Datasets$Searchdataitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchDataItems( params?: Params$Resource$Projects$Locations$Datasets$Searchdataitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchDataItems( params: Params$Resource$Projects$Locations$Datasets$Searchdataitems, options: StreamMethodOptions | BodyResponseCallback, @@ -26572,8 +26821,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Searchdataitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26800,11 +27051,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26839,8 +27092,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26914,11 +27169,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -26949,8 +27204,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27003,11 +27258,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27038,8 +27293,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27092,11 +27347,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27131,8 +27386,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27185,11 +27440,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27224,8 +27481,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27283,11 +27542,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -27322,8 +27581,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27445,11 +27704,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27484,8 +27745,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27583,11 +27846,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27622,8 +27887,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27716,11 +27983,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -27751,8 +28018,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27805,11 +28072,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27840,8 +28107,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27894,11 +28161,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27933,8 +28200,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27987,11 +28254,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28026,8 +28295,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28085,11 +28356,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -28124,8 +28395,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28237,11 +28508,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -28272,8 +28543,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28326,11 +28597,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28361,8 +28632,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28415,11 +28686,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28454,8 +28725,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28508,11 +28779,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28547,8 +28820,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28606,11 +28881,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -28645,8 +28920,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28758,11 +29033,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28797,8 +29072,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28854,11 +29129,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28893,8 +29168,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28947,11 +29222,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28986,8 +29263,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29042,11 +29321,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29081,8 +29362,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29140,11 +29423,13 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -29179,8 +29464,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29235,11 +29522,11 @@ export namespace aiplatform_v1 { restore( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -29274,8 +29561,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29419,11 +29706,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -29454,8 +29741,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29508,11 +29795,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -29543,8 +29830,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29597,11 +29884,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29636,8 +29923,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29690,11 +29977,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29729,8 +30018,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29788,11 +30079,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Datasets$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datasets$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datasets$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -29827,8 +30118,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29945,11 +30236,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -29984,8 +30275,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30038,11 +30329,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30077,8 +30370,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30178,11 +30473,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -30213,8 +30508,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30267,11 +30562,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30302,8 +30597,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30356,11 +30651,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30395,8 +30690,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30449,11 +30744,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30488,8 +30785,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30547,11 +30846,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -30586,8 +30885,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30704,11 +31003,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -30743,8 +31042,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30800,11 +31099,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30839,8 +31138,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30893,11 +31192,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30932,8 +31233,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30988,11 +31291,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Deploymentresourcepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Deploymentresourcepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31027,8 +31332,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31086,11 +31393,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31125,8 +31432,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31179,11 +31486,13 @@ export namespace aiplatform_v1 { queryDeployedModels( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Querydeployedmodels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryDeployedModels( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Querydeployedmodels, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryDeployedModels( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Querydeployedmodels, options: StreamMethodOptions | BodyResponseCallback, @@ -31218,8 +31527,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Querydeployedmodels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31356,11 +31667,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -31391,8 +31702,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31445,11 +31756,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31480,8 +31791,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31534,11 +31845,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31573,8 +31884,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31627,11 +31938,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31666,8 +31979,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31725,11 +32040,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -31764,8 +32079,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31883,11 +32198,13 @@ export namespace aiplatform_v1 { computeTokens( params: Params$Resource$Projects$Locations$Endpoints$Computetokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeTokens( params?: Params$Resource$Projects$Locations$Endpoints$Computetokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; computeTokens( params: Params$Resource$Projects$Locations$Endpoints$Computetokens, options: StreamMethodOptions | BodyResponseCallback, @@ -31922,8 +32239,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Computetokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31981,11 +32300,13 @@ export namespace aiplatform_v1 { countTokens( params: Params$Resource$Projects$Locations$Endpoints$Counttokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countTokens( params?: Params$Resource$Projects$Locations$Endpoints$Counttokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countTokens( params: Params$Resource$Projects$Locations$Endpoints$Counttokens, options: StreamMethodOptions | BodyResponseCallback, @@ -32020,8 +32341,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Counttokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32078,11 +32401,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Endpoints$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Endpoints$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Endpoints$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -32117,8 +32440,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32173,11 +32496,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Endpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Endpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Endpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -32212,8 +32535,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32265,11 +32588,11 @@ export namespace aiplatform_v1 { deployModel( params: Params$Resource$Projects$Locations$Endpoints$Deploymodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deployModel( params?: Params$Resource$Projects$Locations$Endpoints$Deploymodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deployModel( params: Params$Resource$Projects$Locations$Endpoints$Deploymodel, options: StreamMethodOptions | BodyResponseCallback, @@ -32304,8 +32627,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Deploymodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32360,11 +32683,13 @@ export namespace aiplatform_v1 { directPredict( params: Params$Resource$Projects$Locations$Endpoints$Directpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; directPredict( params?: Params$Resource$Projects$Locations$Endpoints$Directpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; directPredict( params: Params$Resource$Projects$Locations$Endpoints$Directpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -32399,8 +32724,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Directpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32458,11 +32785,13 @@ export namespace aiplatform_v1 { directRawPredict( params: Params$Resource$Projects$Locations$Endpoints$Directrawpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; directRawPredict( params?: Params$Resource$Projects$Locations$Endpoints$Directrawpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; directRawPredict( params: Params$Resource$Projects$Locations$Endpoints$Directrawpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -32497,8 +32826,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Directrawpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32556,11 +32887,13 @@ export namespace aiplatform_v1 { explain( params: Params$Resource$Projects$Locations$Endpoints$Explain, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; explain( params?: Params$Resource$Projects$Locations$Endpoints$Explain, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; explain( params: Params$Resource$Projects$Locations$Endpoints$Explain, options: StreamMethodOptions | BodyResponseCallback, @@ -32595,8 +32928,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Explain; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32653,11 +32988,11 @@ export namespace aiplatform_v1 { fetchPredictOperation( params: Params$Resource$Projects$Locations$Endpoints$Fetchpredictoperation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchPredictOperation( params?: Params$Resource$Projects$Locations$Endpoints$Fetchpredictoperation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchPredictOperation( params: Params$Resource$Projects$Locations$Endpoints$Fetchpredictoperation, options: StreamMethodOptions | BodyResponseCallback, @@ -32692,8 +33027,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Fetchpredictoperation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32749,11 +33084,13 @@ export namespace aiplatform_v1 { generateContent( params: Params$Resource$Projects$Locations$Endpoints$Generatecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateContent( params?: Params$Resource$Projects$Locations$Endpoints$Generatecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateContent( params: Params$Resource$Projects$Locations$Endpoints$Generatecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -32788,8 +33125,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Generatecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32847,11 +33186,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Endpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32886,8 +33225,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32941,11 +33280,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Endpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32980,8 +33321,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33038,11 +33381,11 @@ export namespace aiplatform_v1 { mutateDeployedModel( params: Params$Resource$Projects$Locations$Endpoints$Mutatedeployedmodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; mutateDeployedModel( params?: Params$Resource$Projects$Locations$Endpoints$Mutatedeployedmodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; mutateDeployedModel( params: Params$Resource$Projects$Locations$Endpoints$Mutatedeployedmodel, options: StreamMethodOptions | BodyResponseCallback, @@ -33077,8 +33420,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Mutatedeployedmodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33134,11 +33477,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Endpoints$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Endpoints$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Endpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -33173,8 +33516,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33228,11 +33571,13 @@ export namespace aiplatform_v1 { predict( params: Params$Resource$Projects$Locations$Endpoints$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Locations$Endpoints$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Projects$Locations$Endpoints$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -33267,8 +33612,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33324,11 +33671,11 @@ export namespace aiplatform_v1 { predictLongRunning( params: Params$Resource$Projects$Locations$Endpoints$Predictlongrunning, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predictLongRunning( params?: Params$Resource$Projects$Locations$Endpoints$Predictlongrunning, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; predictLongRunning( params: Params$Resource$Projects$Locations$Endpoints$Predictlongrunning, options: StreamMethodOptions | BodyResponseCallback, @@ -33363,8 +33710,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Predictlongrunning; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33420,11 +33767,11 @@ export namespace aiplatform_v1 { rawPredict( params: Params$Resource$Projects$Locations$Endpoints$Rawpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rawPredict( params?: Params$Resource$Projects$Locations$Endpoints$Rawpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rawPredict( params: Params$Resource$Projects$Locations$Endpoints$Rawpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -33455,8 +33802,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Rawpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33511,11 +33858,13 @@ export namespace aiplatform_v1 { serverStreamingPredict( params: Params$Resource$Projects$Locations$Endpoints$Serverstreamingpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; serverStreamingPredict( params?: Params$Resource$Projects$Locations$Endpoints$Serverstreamingpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; serverStreamingPredict( params: Params$Resource$Projects$Locations$Endpoints$Serverstreamingpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -33550,8 +33899,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Serverstreamingpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33609,11 +33960,13 @@ export namespace aiplatform_v1 { streamGenerateContent( params: Params$Resource$Projects$Locations$Endpoints$Streamgeneratecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamGenerateContent( params?: Params$Resource$Projects$Locations$Endpoints$Streamgeneratecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamGenerateContent( params: Params$Resource$Projects$Locations$Endpoints$Streamgeneratecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -33648,8 +34001,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Streamgeneratecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33707,11 +34062,11 @@ export namespace aiplatform_v1 { streamRawPredict( params: Params$Resource$Projects$Locations$Endpoints$Streamrawpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamRawPredict( params?: Params$Resource$Projects$Locations$Endpoints$Streamrawpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; streamRawPredict( params: Params$Resource$Projects$Locations$Endpoints$Streamrawpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -33744,8 +34099,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Streamrawpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33801,11 +34156,11 @@ export namespace aiplatform_v1 { undeployModel( params: Params$Resource$Projects$Locations$Endpoints$Undeploymodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undeployModel( params?: Params$Resource$Projects$Locations$Endpoints$Undeploymodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undeployModel( params: Params$Resource$Projects$Locations$Endpoints$Undeploymodel, options: StreamMethodOptions | BodyResponseCallback, @@ -33840,8 +34195,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Undeploymodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33897,11 +34252,11 @@ export namespace aiplatform_v1 { update( params: Params$Resource$Projects$Locations$Endpoints$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Endpoints$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Endpoints$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -33936,8 +34291,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34274,11 +34629,11 @@ export namespace aiplatform_v1 { completions( params: Params$Resource$Projects$Locations$Endpoints$Chat$Completions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completions( params?: Params$Resource$Projects$Locations$Endpoints$Chat$Completions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completions( params: Params$Resource$Projects$Locations$Endpoints$Chat$Completions, options: StreamMethodOptions | BodyResponseCallback, @@ -34309,8 +34664,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Chat$Completions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34386,11 +34741,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Endpoints$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Endpoints$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Endpoints$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -34421,8 +34776,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34475,11 +34830,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Endpoints$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Endpoints$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Endpoints$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34510,8 +34865,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34564,11 +34919,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Endpoints$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Endpoints$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Endpoints$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34603,8 +34958,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34657,11 +35012,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Endpoints$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Endpoints$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Endpoints$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34696,8 +35053,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34755,11 +35114,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Endpoints$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Endpoints$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Endpoints$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -34794,8 +35153,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34914,11 +35273,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Featuregroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featuregroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featuregroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -34953,8 +35312,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35009,11 +35368,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featuregroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featuregroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featuregroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -35048,8 +35407,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35101,11 +35460,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featuregroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featuregroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featuregroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35140,8 +35501,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35195,11 +35558,11 @@ export namespace aiplatform_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Featuregroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Featuregroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Featuregroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -35232,8 +35595,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35289,11 +35652,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Featuregroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featuregroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featuregroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35328,8 +35693,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35386,11 +35753,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Featuregroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featuregroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featuregroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -35425,8 +35792,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35478,11 +35845,11 @@ export namespace aiplatform_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Featuregroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Featuregroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Featuregroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -35515,8 +35882,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35572,11 +35939,13 @@ export namespace aiplatform_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Featuregroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Featuregroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Featuregroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -35611,8 +35980,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35790,11 +36161,11 @@ export namespace aiplatform_v1 { batchCreate( params: Params$Resource$Projects$Locations$Featuregroups$Features$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Featuregroups$Features$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -35829,8 +36200,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35886,11 +36257,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Featuregroups$Features$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featuregroups$Features$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -35925,8 +36296,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35982,11 +36353,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featuregroups$Features$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featuregroups$Features$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -36021,8 +36392,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36075,11 +36446,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featuregroups$Features$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featuregroups$Features$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36114,8 +36485,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36170,11 +36541,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Featuregroups$Features$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featuregroups$Features$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featuregroups$Features$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36209,8 +36582,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36268,11 +36643,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Featuregroups$Features$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featuregroups$Features$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -36307,8 +36682,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36458,11 +36833,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -36493,8 +36868,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36547,11 +36922,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36586,8 +36961,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36640,11 +37015,13 @@ export namespace aiplatform_v1 { listWait( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Listwait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listWait( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Listwait, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listWait( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Listwait, options: StreamMethodOptions | BodyResponseCallback, @@ -36679,8 +37056,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Listwait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36735,11 +37114,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -36774,8 +37153,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36880,11 +37259,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featuregroups$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -36915,8 +37294,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36969,11 +37348,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featuregroups$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37008,8 +37387,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37062,11 +37441,13 @@ export namespace aiplatform_v1 { listWait( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Listwait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listWait( params?: Params$Resource$Projects$Locations$Featuregroups$Operations$Listwait, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listWait( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Listwait, options: StreamMethodOptions | BodyResponseCallback, @@ -37101,8 +37482,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Operations$Listwait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37157,11 +37540,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featuregroups$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -37196,8 +37579,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37312,11 +37695,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Featureonlinestores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featureonlinestores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featureonlinestores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -37351,8 +37734,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37408,11 +37791,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featureonlinestores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -37447,8 +37830,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37501,11 +37884,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featureonlinestores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featureonlinestores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featureonlinestores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37540,8 +37925,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37596,11 +37983,11 @@ export namespace aiplatform_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Featureonlinestores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -37633,8 +38020,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37690,11 +38077,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Featureonlinestores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featureonlinestores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featureonlinestores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37729,8 +38118,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37788,11 +38179,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Featureonlinestores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featureonlinestores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featureonlinestores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -37827,8 +38218,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37881,11 +38272,11 @@ export namespace aiplatform_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Featureonlinestores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -37918,8 +38309,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37975,11 +38366,13 @@ export namespace aiplatform_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Featureonlinestores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Featureonlinestores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Featureonlinestores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -38014,8 +38407,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38198,11 +38593,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -38237,8 +38632,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38294,11 +38689,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -38333,8 +38728,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38387,11 +38782,13 @@ export namespace aiplatform_v1 { fetchFeatureValues( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Fetchfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchFeatureValues( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Fetchfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchFeatureValues( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Fetchfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -38426,8 +38823,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Fetchfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38485,11 +38884,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38524,8 +38925,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38580,11 +38983,11 @@ export namespace aiplatform_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -38617,8 +39020,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38674,11 +39077,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38713,8 +39118,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38772,11 +39179,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -38811,8 +39218,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38865,11 +39272,13 @@ export namespace aiplatform_v1 { searchNearestEntities( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Searchnearestentities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchNearestEntities( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Searchnearestentities, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchNearestEntities( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Searchnearestentities, options: StreamMethodOptions | BodyResponseCallback, @@ -38904,8 +39313,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Searchnearestentities; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38963,11 +39374,11 @@ export namespace aiplatform_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -39000,8 +39411,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39057,11 +39468,13 @@ export namespace aiplatform_v1 { sync( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Sync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sync( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Sync, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; sync( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Sync, options: StreamMethodOptions | BodyResponseCallback, @@ -39096,8 +39509,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Sync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39155,11 +39570,13 @@ export namespace aiplatform_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -39194,8 +39611,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39404,11 +39823,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39443,8 +39864,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39499,11 +39922,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -39538,8 +39963,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39635,11 +40062,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -39670,8 +40097,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39724,11 +40151,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39763,8 +40190,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39817,11 +40244,13 @@ export namespace aiplatform_v1 { listWait( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Listwait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listWait( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Listwait, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listWait( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Listwait, options: StreamMethodOptions | BodyResponseCallback, @@ -39856,8 +40285,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Listwait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39912,11 +40343,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -39951,8 +40382,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40057,11 +40488,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -40092,8 +40523,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40146,11 +40577,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40185,8 +40616,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40239,11 +40670,13 @@ export namespace aiplatform_v1 { listWait( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Listwait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listWait( params?: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Listwait, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listWait( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Listwait, options: StreamMethodOptions | BodyResponseCallback, @@ -40278,8 +40711,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Operations$Listwait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40334,11 +40769,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -40373,8 +40808,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40485,11 +40920,11 @@ export namespace aiplatform_v1 { batchReadFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Batchreadfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchReadFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Batchreadfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchReadFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Batchreadfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -40524,8 +40959,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Batchreadfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40580,11 +41015,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Featurestores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featurestores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featurestores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -40619,8 +41054,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40675,11 +41110,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -40714,8 +41149,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40767,11 +41202,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featurestores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featurestores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40806,8 +41243,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40861,11 +41300,11 @@ export namespace aiplatform_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Featurestores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -40898,8 +41337,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40955,11 +41394,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Featurestores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40994,8 +41435,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41052,11 +41495,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Featurestores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featurestores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featurestores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -41091,8 +41534,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41144,11 +41587,13 @@ export namespace aiplatform_v1 { searchFeatures( params: Params$Resource$Projects$Locations$Featurestores$Searchfeatures, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchFeatures( params?: Params$Resource$Projects$Locations$Featurestores$Searchfeatures, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchFeatures( params: Params$Resource$Projects$Locations$Featurestores$Searchfeatures, options: StreamMethodOptions | BodyResponseCallback, @@ -41183,8 +41628,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Searchfeatures; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41241,11 +41688,11 @@ export namespace aiplatform_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Featurestores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -41278,8 +41725,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41335,11 +41782,13 @@ export namespace aiplatform_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Featurestores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Featurestores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Featurestores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -41374,8 +41823,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41593,11 +42044,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -41632,8 +42083,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41689,11 +42140,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -41728,8 +42179,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41782,11 +42233,11 @@ export namespace aiplatform_v1 { deleteFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Deletefeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Deletefeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Deletefeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -41821,8 +42272,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Deletefeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41878,11 +42329,11 @@ export namespace aiplatform_v1 { exportFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Exportfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Exportfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Exportfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -41917,8 +42368,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Exportfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41974,11 +42425,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -42013,8 +42466,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42069,11 +42524,11 @@ export namespace aiplatform_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -42106,8 +42561,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42163,11 +42618,11 @@ export namespace aiplatform_v1 { importFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Importfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Importfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Importfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -42202,8 +42657,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Importfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42259,11 +42714,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -42298,8 +42755,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42357,11 +42816,13 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -42396,8 +42857,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42452,11 +42915,13 @@ export namespace aiplatform_v1 { readFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Readfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Readfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; readFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Readfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -42491,8 +42956,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Readfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42550,11 +43017,11 @@ export namespace aiplatform_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -42587,8 +43054,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42644,11 +43111,13 @@ export namespace aiplatform_v1 { streamingReadFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Streamingreadfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamingReadFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Streamingreadfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamingReadFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Streamingreadfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -42683,8 +43152,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Streamingreadfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42741,11 +43212,13 @@ export namespace aiplatform_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -42780,8 +43253,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42839,11 +43314,13 @@ export namespace aiplatform_v1 { writeFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Writefeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; writeFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Writefeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; writeFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Writefeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -42878,8 +43355,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Writefeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43133,11 +43612,11 @@ export namespace aiplatform_v1 { batchCreate( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -43172,8 +43651,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43229,11 +43708,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -43268,8 +43747,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43325,11 +43804,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -43364,8 +43843,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43418,11 +43897,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -43457,8 +43936,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43513,11 +43992,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$List, options: StreamMethodOptions | BodyResponseCallback, @@ -43552,8 +44033,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43611,11 +44094,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -43650,8 +44133,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43803,11 +44286,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -43838,8 +44321,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43892,11 +44375,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -43927,8 +44410,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43981,11 +44464,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -44020,8 +44503,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44074,11 +44557,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -44113,8 +44598,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44172,11 +44659,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -44211,8 +44698,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44324,11 +44811,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -44359,8 +44846,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44413,11 +44900,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -44448,8 +44935,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44502,11 +44989,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -44541,8 +45028,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44595,11 +45082,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -44634,8 +45123,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44693,11 +45184,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -44732,8 +45223,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44845,11 +45336,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Featurestores$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Featurestores$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Featurestores$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -44880,8 +45371,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44934,11 +45425,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -44969,8 +45460,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45023,11 +45514,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Featurestores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featurestores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -45062,8 +45553,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45116,11 +45607,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Featurestores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -45155,8 +45648,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45214,11 +45709,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Featurestores$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featurestores$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featurestores$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -45253,8 +45748,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45371,11 +45866,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -45406,8 +45901,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45460,11 +45955,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -45499,8 +45996,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45558,11 +46057,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -45597,8 +46096,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45651,11 +46150,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -45690,8 +46191,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45746,11 +46249,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -45785,8 +46290,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45913,11 +46420,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -45948,8 +46455,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46002,11 +46509,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -46037,8 +46544,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46091,11 +46598,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -46130,8 +46637,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46184,11 +46691,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -46223,8 +46732,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46282,11 +46793,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -46321,8 +46832,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46437,11 +46948,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Indexendpoints$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Indexendpoints$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Indexendpoints$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -46476,8 +46987,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46532,11 +47043,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Indexendpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Indexendpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Indexendpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -46571,8 +47082,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46624,11 +47135,11 @@ export namespace aiplatform_v1 { deployIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Deployindex, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deployIndex( params?: Params$Resource$Projects$Locations$Indexendpoints$Deployindex, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deployIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Deployindex, options: StreamMethodOptions | BodyResponseCallback, @@ -46663,8 +47174,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Deployindex; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46720,11 +47231,13 @@ export namespace aiplatform_v1 { findNeighbors( params: Params$Resource$Projects$Locations$Indexendpoints$Findneighbors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; findNeighbors( params?: Params$Resource$Projects$Locations$Indexendpoints$Findneighbors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; findNeighbors( params: Params$Resource$Projects$Locations$Indexendpoints$Findneighbors, options: StreamMethodOptions | BodyResponseCallback, @@ -46759,8 +47272,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Findneighbors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46818,11 +47333,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Indexendpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Indexendpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Indexendpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -46857,8 +47374,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46912,11 +47431,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Indexendpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Indexendpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Indexendpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -46951,8 +47472,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47009,11 +47532,11 @@ export namespace aiplatform_v1 { mutateDeployedIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Mutatedeployedindex, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; mutateDeployedIndex( params?: Params$Resource$Projects$Locations$Indexendpoints$Mutatedeployedindex, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; mutateDeployedIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Mutatedeployedindex, options: StreamMethodOptions | BodyResponseCallback, @@ -47048,8 +47571,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Mutatedeployedindex; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47105,11 +47628,13 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Indexendpoints$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Indexendpoints$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Indexendpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -47144,8 +47669,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47199,11 +47726,13 @@ export namespace aiplatform_v1 { readIndexDatapoints( params: Params$Resource$Projects$Locations$Indexendpoints$Readindexdatapoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readIndexDatapoints( params?: Params$Resource$Projects$Locations$Indexendpoints$Readindexdatapoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; readIndexDatapoints( params: Params$Resource$Projects$Locations$Indexendpoints$Readindexdatapoints, options: StreamMethodOptions | BodyResponseCallback, @@ -47238,8 +47767,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Readindexdatapoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47297,11 +47828,11 @@ export namespace aiplatform_v1 { undeployIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Undeployindex, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undeployIndex( params?: Params$Resource$Projects$Locations$Indexendpoints$Undeployindex, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undeployIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Undeployindex, options: StreamMethodOptions | BodyResponseCallback, @@ -47336,8 +47867,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Undeployindex; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47526,11 +48057,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Indexendpoints$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -47561,8 +48092,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47615,11 +48146,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Indexendpoints$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -47650,8 +48181,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47704,11 +48235,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Indexendpoints$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -47743,8 +48274,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47797,11 +48328,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Indexendpoints$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -47836,8 +48369,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47895,11 +48430,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Indexendpoints$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -47934,8 +48469,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48051,11 +48586,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Indexes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Indexes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Indexes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -48090,8 +48625,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48146,11 +48681,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Indexes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Indexes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Indexes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -48185,8 +48720,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48238,11 +48773,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Indexes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Indexes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Indexes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -48277,8 +48812,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48332,11 +48867,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Indexes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Indexes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Indexes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -48371,8 +48908,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48429,11 +48968,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Indexes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Indexes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Indexes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -48468,8 +49007,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48521,11 +49060,13 @@ export namespace aiplatform_v1 { removeDatapoints( params: Params$Resource$Projects$Locations$Indexes$Removedatapoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeDatapoints( params?: Params$Resource$Projects$Locations$Indexes$Removedatapoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeDatapoints( params: Params$Resource$Projects$Locations$Indexes$Removedatapoints, options: StreamMethodOptions | BodyResponseCallback, @@ -48560,8 +49101,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Removedatapoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48619,11 +49162,13 @@ export namespace aiplatform_v1 { upsertDatapoints( params: Params$Resource$Projects$Locations$Indexes$Upsertdatapoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upsertDatapoints( params?: Params$Resource$Projects$Locations$Indexes$Upsertdatapoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; upsertDatapoints( params: Params$Resource$Projects$Locations$Indexes$Upsertdatapoints, options: StreamMethodOptions | BodyResponseCallback, @@ -48658,8 +49203,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Upsertdatapoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48814,11 +49361,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Indexes$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Indexes$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Indexes$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -48849,8 +49396,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48903,11 +49450,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Indexes$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Indexes$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Indexes$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -48938,8 +49485,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48992,11 +49539,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Indexes$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Indexes$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Indexes$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -49031,8 +49578,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49085,11 +49632,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Indexes$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Indexes$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Indexes$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -49124,8 +49673,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49183,11 +49734,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Indexes$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Indexes$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Indexes$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -49222,8 +49773,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49354,11 +49905,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Metadatastores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Metadatastores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Metadatastores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -49393,8 +49944,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49449,11 +50000,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -49488,8 +50039,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49541,11 +50092,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Metadatastores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -49580,8 +50133,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49635,11 +50190,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Metadatastores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -49674,8 +50231,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49794,11 +50353,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -49833,8 +50392,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49892,11 +50451,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -49931,8 +50490,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49985,11 +50544,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -50024,8 +50583,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50080,11 +50639,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -50119,8 +50680,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50178,11 +50741,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -50217,8 +50780,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50273,11 +50836,11 @@ export namespace aiplatform_v1 { purge( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -50312,8 +50875,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50369,11 +50932,13 @@ export namespace aiplatform_v1 { queryArtifactLineageSubgraph( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Queryartifactlineagesubgraph, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryArtifactLineageSubgraph( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Queryartifactlineagesubgraph, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryArtifactLineageSubgraph( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Queryartifactlineagesubgraph, options: StreamMethodOptions | BodyResponseCallback, @@ -50408,8 +50973,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Queryartifactlineagesubgraph; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50578,11 +51145,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -50613,8 +51180,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50667,11 +51234,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -50702,8 +51269,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50756,11 +51323,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -50795,8 +51362,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50849,11 +51416,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -50888,8 +51457,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50947,11 +51518,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -50986,8 +51557,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51104,11 +51675,13 @@ export namespace aiplatform_v1 { addContextArtifactsAndExecutions( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextartifactsandexecutions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addContextArtifactsAndExecutions( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextartifactsandexecutions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addContextArtifactsAndExecutions( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextartifactsandexecutions, options: StreamMethodOptions | BodyResponseCallback, @@ -51143,8 +51716,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextartifactsandexecutions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51201,11 +51776,13 @@ export namespace aiplatform_v1 { addContextChildren( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextchildren, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addContextChildren( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextchildren, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addContextChildren( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextchildren, options: StreamMethodOptions | BodyResponseCallback, @@ -51240,8 +51817,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextchildren; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51299,11 +51878,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -51338,8 +51917,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51397,11 +51976,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -51436,8 +52015,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51490,11 +52069,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -51529,8 +52108,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51585,11 +52164,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -51624,8 +52205,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51683,11 +52266,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -51722,8 +52305,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51778,11 +52361,11 @@ export namespace aiplatform_v1 { purge( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -51817,8 +52400,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51874,11 +52457,13 @@ export namespace aiplatform_v1 { queryContextLineageSubgraph( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Querycontextlineagesubgraph, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryContextLineageSubgraph( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Querycontextlineagesubgraph, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryContextLineageSubgraph( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Querycontextlineagesubgraph, options: StreamMethodOptions | BodyResponseCallback, @@ -51913,8 +52498,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Querycontextlineagesubgraph; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51971,11 +52558,13 @@ export namespace aiplatform_v1 { removeContextChildren( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Removecontextchildren, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeContextChildren( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Removecontextchildren, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeContextChildren( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Removecontextchildren, options: StreamMethodOptions | BodyResponseCallback, @@ -52010,8 +52599,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Removecontextchildren; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52213,11 +52804,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -52248,8 +52839,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52302,11 +52893,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -52337,8 +52928,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52391,11 +52982,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -52430,8 +53021,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52484,11 +53075,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -52523,8 +53116,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52582,11 +53177,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -52621,8 +53216,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52739,11 +53334,13 @@ export namespace aiplatform_v1 { addExecutionEvents( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Addexecutionevents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addExecutionEvents( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Addexecutionevents, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addExecutionEvents( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Addexecutionevents, options: StreamMethodOptions | BodyResponseCallback, @@ -52778,8 +53375,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Addexecutionevents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52837,11 +53436,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -52876,8 +53477,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52935,11 +53538,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -52974,8 +53577,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53028,11 +53631,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -53067,8 +53672,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53123,11 +53730,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Executions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Executions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -53162,8 +53771,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53221,11 +53832,13 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -53260,8 +53873,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53316,11 +53931,11 @@ export namespace aiplatform_v1 { purge( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -53355,8 +53970,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53412,11 +54027,13 @@ export namespace aiplatform_v1 { queryExecutionInputsAndOutputs( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Queryexecutioninputsandoutputs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryExecutionInputsAndOutputs( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Queryexecutioninputsandoutputs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryExecutionInputsAndOutputs( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Queryexecutioninputsandoutputs, options: StreamMethodOptions | BodyResponseCallback, @@ -53451,8 +54068,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Queryexecutioninputsandoutputs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53625,11 +54244,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -53660,8 +54279,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53714,11 +54333,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -53749,8 +54368,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53803,11 +54422,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -53842,8 +54461,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53896,11 +54515,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -53935,8 +54556,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53994,11 +54617,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -54033,8 +54656,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54146,11 +54769,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -54185,8 +54810,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54244,11 +54871,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -54283,8 +54912,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54339,11 +54970,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -54378,8 +55011,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54487,11 +55122,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Metadatastores$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -54522,8 +55157,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54576,11 +55211,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -54611,8 +55246,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54665,11 +55300,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -54704,8 +55339,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54758,11 +55393,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -54797,8 +55434,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54856,11 +55495,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Metadatastores$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -54895,8 +55534,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55013,11 +55652,11 @@ export namespace aiplatform_v1 { batchMigrate( params: Params$Resource$Projects$Locations$Migratableresources$Batchmigrate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchMigrate( params?: Params$Resource$Projects$Locations$Migratableresources$Batchmigrate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchMigrate( params: Params$Resource$Projects$Locations$Migratableresources$Batchmigrate, options: StreamMethodOptions | BodyResponseCallback, @@ -55052,8 +55691,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Batchmigrate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55108,11 +55747,13 @@ export namespace aiplatform_v1 { search( params: Params$Resource$Projects$Locations$Migratableresources$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Migratableresources$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Migratableresources$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -55147,8 +55788,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55238,11 +55881,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Migratableresources$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -55273,8 +55916,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55327,11 +55970,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Migratableresources$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -55362,8 +56005,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55416,11 +56059,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Migratableresources$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -55455,8 +56098,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55509,11 +56152,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Migratableresources$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Migratableresources$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Migratableresources$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -55548,8 +56193,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55607,11 +56254,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Migratableresources$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -55646,8 +56293,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55764,11 +56411,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -55803,8 +56452,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55861,11 +56512,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -55900,8 +56551,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55954,11 +56605,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -55993,8 +56646,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56049,11 +56704,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -56088,8 +56745,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56146,11 +56805,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -56185,8 +56844,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56239,11 +56898,11 @@ export namespace aiplatform_v1 { pause( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -56274,8 +56933,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56328,11 +56987,11 @@ export namespace aiplatform_v1 { resume( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -56363,8 +57022,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56417,11 +57076,13 @@ export namespace aiplatform_v1 { searchModelDeploymentMonitoringStatsAnomalies( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Searchmodeldeploymentmonitoringstatsanomalies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchModelDeploymentMonitoringStatsAnomalies( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Searchmodeldeploymentmonitoringstatsanomalies, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchModelDeploymentMonitoringStatsAnomalies( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Searchmodeldeploymentmonitoringstatsanomalies, options: StreamMethodOptions | BodyResponseCallback, @@ -56456,8 +57117,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Searchmodeldeploymentmonitoringstatsanomalies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56624,11 +57287,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -56659,8 +57322,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56713,11 +57376,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -56748,8 +57411,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56802,11 +57465,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -56841,8 +57504,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56895,11 +57558,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -56934,8 +57599,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56993,11 +57660,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -57032,8 +57699,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57153,11 +57820,11 @@ export namespace aiplatform_v1 { copy( params: Params$Resource$Projects$Locations$Models$Copy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copy( params?: Params$Resource$Projects$Locations$Models$Copy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copy( params: Params$Resource$Projects$Locations$Models$Copy, options: StreamMethodOptions | BodyResponseCallback, @@ -57192,8 +57859,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Copy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57248,11 +57915,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Models$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Models$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Models$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -57287,8 +57954,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57340,11 +58007,11 @@ export namespace aiplatform_v1 { deleteVersion( params: Params$Resource$Projects$Locations$Models$Deleteversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteVersion( params?: Params$Resource$Projects$Locations$Models$Deleteversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteVersion( params: Params$Resource$Projects$Locations$Models$Deleteversion, options: StreamMethodOptions | BodyResponseCallback, @@ -57379,8 +58046,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Deleteversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57435,11 +58102,11 @@ export namespace aiplatform_v1 { export( params: Params$Resource$Projects$Locations$Models$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Models$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Models$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -57474,8 +58141,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57527,11 +58194,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Models$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Models$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Models$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -57566,8 +58233,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57621,11 +58288,11 @@ export namespace aiplatform_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Models$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Models$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Models$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -57658,8 +58325,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57714,11 +58381,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Models$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Models$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Models$List, options: StreamMethodOptions | BodyResponseCallback, @@ -57753,8 +58422,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57811,11 +58482,13 @@ export namespace aiplatform_v1 { listCheckpoints( params: Params$Resource$Projects$Locations$Models$Listcheckpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listCheckpoints( params?: Params$Resource$Projects$Locations$Models$Listcheckpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listCheckpoints( params: Params$Resource$Projects$Locations$Models$Listcheckpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -57850,8 +58523,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Listcheckpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57909,11 +58584,13 @@ export namespace aiplatform_v1 { listVersions( params: Params$Resource$Projects$Locations$Models$Listversions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listVersions( params?: Params$Resource$Projects$Locations$Models$Listversions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listVersions( params: Params$Resource$Projects$Locations$Models$Listversions, options: StreamMethodOptions | BodyResponseCallback, @@ -57948,8 +58625,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Listversions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58006,11 +58685,11 @@ export namespace aiplatform_v1 { mergeVersionAliases( params: Params$Resource$Projects$Locations$Models$Mergeversionaliases, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; mergeVersionAliases( params?: Params$Resource$Projects$Locations$Models$Mergeversionaliases, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; mergeVersionAliases( params: Params$Resource$Projects$Locations$Models$Mergeversionaliases, options: StreamMethodOptions | BodyResponseCallback, @@ -58045,8 +58724,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Mergeversionaliases; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58104,11 +58783,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Models$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Models$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Models$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -58143,8 +58822,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58198,11 +58877,11 @@ export namespace aiplatform_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Models$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Models$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Models$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -58235,8 +58914,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58291,11 +58970,13 @@ export namespace aiplatform_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Models$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Models$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Models$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -58330,8 +59011,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58389,11 +59072,11 @@ export namespace aiplatform_v1 { updateExplanationDataset( params: Params$Resource$Projects$Locations$Models$Updateexplanationdataset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateExplanationDataset( params?: Params$Resource$Projects$Locations$Models$Updateexplanationdataset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateExplanationDataset( params: Params$Resource$Projects$Locations$Models$Updateexplanationdataset, options: StreamMethodOptions | BodyResponseCallback, @@ -58428,8 +59111,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Updateexplanationdataset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58485,11 +59168,11 @@ export namespace aiplatform_v1 { upload( params: Params$Resource$Projects$Locations$Models$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Locations$Models$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Projects$Locations$Models$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -58524,8 +59207,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58797,11 +59480,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Models$Evaluations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Models$Evaluations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Models$Evaluations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -58836,8 +59521,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58892,11 +59579,13 @@ export namespace aiplatform_v1 { import( params: Params$Resource$Projects$Locations$Models$Evaluations$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Models$Evaluations$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; import( params: Params$Resource$Projects$Locations$Models$Evaluations$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -58931,8 +59620,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58990,11 +59681,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Models$Evaluations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Models$Evaluations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Models$Evaluations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -59029,8 +59722,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59138,11 +59833,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -59173,8 +59868,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59227,11 +59922,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -59262,8 +59957,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59316,11 +60011,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -59355,8 +60050,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59409,11 +60104,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Models$Evaluations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -59448,8 +60145,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59507,11 +60206,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -59546,8 +60245,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59659,11 +60358,13 @@ export namespace aiplatform_v1 { batchImport( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Batchimport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchImport( params?: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Batchimport, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchImport( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Batchimport, options: StreamMethodOptions | BodyResponseCallback, @@ -59698,8 +60399,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Slices$Batchimport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59757,11 +60460,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -59796,8 +60501,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Slices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59852,11 +60559,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Models$Evaluations$Slices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -59891,8 +60600,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Slices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60000,11 +60711,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Models$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Models$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Models$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -60035,8 +60746,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60089,11 +60800,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Models$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Models$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Models$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -60124,8 +60835,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60178,11 +60889,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Models$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Models$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Models$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -60217,8 +60928,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60270,11 +60981,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Models$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Models$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Models$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -60309,8 +61022,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60368,11 +61083,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Models$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Models$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Models$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -60407,8 +61122,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60523,11 +61238,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Nasjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Nasjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Nasjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -60558,8 +61273,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60611,11 +61326,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Nasjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Nasjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Nasjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -60650,8 +61365,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60708,11 +61423,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Nasjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Nasjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Nasjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -60747,8 +61462,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60800,11 +61515,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Nasjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Nasjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Nasjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -60839,8 +61554,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60894,11 +61609,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Nasjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Nasjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Nasjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -60933,8 +61650,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61060,11 +61779,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -61099,8 +61820,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61155,11 +61878,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$List, options: StreamMethodOptions | BodyResponseCallback, @@ -61194,8 +61919,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61288,11 +62015,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -61327,8 +62054,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61384,11 +62111,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -61423,8 +62150,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61477,11 +62204,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -61516,8 +62245,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61572,11 +62303,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -61611,8 +62344,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61739,11 +62474,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -61774,8 +62509,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61828,11 +62563,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -61863,8 +62598,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61917,11 +62652,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -61956,8 +62691,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62010,11 +62745,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -62049,8 +62786,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62108,11 +62847,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -62147,8 +62886,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62265,11 +63004,11 @@ export namespace aiplatform_v1 { assign( params: Params$Resource$Projects$Locations$Notebookruntimes$Assign, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; assign( params?: Params$Resource$Projects$Locations$Notebookruntimes$Assign, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; assign( params: Params$Resource$Projects$Locations$Notebookruntimes$Assign, options: StreamMethodOptions | BodyResponseCallback, @@ -62304,8 +63043,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Assign; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62361,11 +63100,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Notebookruntimes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookruntimes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookruntimes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -62400,8 +63139,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62454,11 +63193,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Notebookruntimes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookruntimes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Notebookruntimes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -62493,8 +63234,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62548,11 +63291,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Notebookruntimes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookruntimes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookruntimes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -62587,8 +63332,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62645,11 +63392,11 @@ export namespace aiplatform_v1 { start( params: Params$Resource$Projects$Locations$Notebookruntimes$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Notebookruntimes$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Notebookruntimes$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -62684,8 +63431,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62738,11 +63485,11 @@ export namespace aiplatform_v1 { stop( params: Params$Resource$Projects$Locations$Notebookruntimes$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Notebookruntimes$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Notebookruntimes$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -62777,8 +63524,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62830,11 +63577,11 @@ export namespace aiplatform_v1 { upgrade( params: Params$Resource$Projects$Locations$Notebookruntimes$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Notebookruntimes$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Notebookruntimes$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -62869,8 +63616,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63023,11 +63770,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -63058,8 +63805,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63112,11 +63859,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -63147,8 +63894,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63201,11 +63948,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -63240,8 +63987,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63294,11 +64041,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookruntimes$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -63333,8 +64082,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63392,11 +64143,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -63431,8 +64182,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63549,11 +64300,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -63588,8 +64339,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63645,11 +64396,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -63684,8 +64435,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63738,11 +64489,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -63777,8 +64530,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63833,11 +64588,11 @@ export namespace aiplatform_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -63870,8 +64625,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63927,11 +64682,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -63966,8 +64723,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64025,11 +64784,13 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -64064,8 +64825,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64120,11 +64883,11 @@ export namespace aiplatform_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -64157,8 +64920,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64214,11 +64977,13 @@ export namespace aiplatform_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -64253,8 +65018,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64427,11 +65194,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -64462,8 +65229,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64516,11 +65283,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -64551,8 +65318,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64605,11 +65372,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -64644,8 +65411,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64698,11 +65465,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -64737,8 +65506,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64796,11 +65567,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -64835,8 +65606,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64948,11 +65719,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -64983,8 +65754,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65036,11 +65807,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -65071,8 +65842,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65124,11 +65895,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -65163,8 +65934,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65216,11 +65987,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -65255,8 +66028,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65313,11 +66088,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -65352,8 +66127,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65469,11 +66244,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Persistentresources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Persistentresources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Persistentresources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -65508,8 +66283,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65565,11 +66340,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Persistentresources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Persistentresources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Persistentresources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -65604,8 +66379,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65658,11 +66433,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Persistentresources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Persistentresources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Persistentresources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -65697,8 +66474,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65753,11 +66532,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Persistentresources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Persistentresources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Persistentresources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -65792,8 +66573,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65851,11 +66634,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Persistentresources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Persistentresources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Persistentresources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -65890,8 +66673,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65944,11 +66727,11 @@ export namespace aiplatform_v1 { reboot( params: Params$Resource$Projects$Locations$Persistentresources$Reboot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reboot( params?: Params$Resource$Projects$Locations$Persistentresources$Reboot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reboot( params: Params$Resource$Projects$Locations$Persistentresources$Reboot, options: StreamMethodOptions | BodyResponseCallback, @@ -65983,8 +66766,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Reboot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66118,11 +66901,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Persistentresources$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -66153,8 +66936,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66207,11 +66990,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Persistentresources$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -66242,8 +67025,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66296,11 +67079,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Persistentresources$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -66335,8 +67118,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66389,11 +67172,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Persistentresources$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Persistentresources$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Persistentresources$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -66428,8 +67213,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66487,11 +67274,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Persistentresources$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -66526,8 +67313,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66643,11 +67430,11 @@ export namespace aiplatform_v1 { batchCancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Batchcancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCancel( params?: Params$Resource$Projects$Locations$Pipelinejobs$Batchcancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Batchcancel, options: StreamMethodOptions | BodyResponseCallback, @@ -66682,8 +67469,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Batchcancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66739,11 +67526,11 @@ export namespace aiplatform_v1 { batchDelete( params: Params$Resource$Projects$Locations$Pipelinejobs$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Pipelinejobs$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Pipelinejobs$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -66778,8 +67565,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66835,11 +67622,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Pipelinejobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -66870,8 +67657,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66923,11 +67710,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Pipelinejobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Pipelinejobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Pipelinejobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -66962,8 +67751,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67020,11 +67811,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Pipelinejobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Pipelinejobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Pipelinejobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -67059,8 +67850,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67112,11 +67903,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Pipelinejobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Pipelinejobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Pipelinejobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -67151,8 +67944,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67206,11 +68001,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Pipelinejobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Pipelinejobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Pipelinejobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -67245,8 +68042,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67404,11 +68203,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -67439,8 +68238,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67493,11 +68292,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -67528,8 +68327,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67582,11 +68381,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -67621,8 +68420,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67675,11 +68474,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Pipelinejobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -67714,8 +68515,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67773,11 +68576,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -67812,8 +68615,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67936,11 +68739,13 @@ export namespace aiplatform_v1 { computeTokens( params: Params$Resource$Projects$Locations$Publishers$Models$Computetokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeTokens( params?: Params$Resource$Projects$Locations$Publishers$Models$Computetokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; computeTokens( params: Params$Resource$Projects$Locations$Publishers$Models$Computetokens, options: StreamMethodOptions | BodyResponseCallback, @@ -67975,8 +68780,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Computetokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68034,11 +68841,13 @@ export namespace aiplatform_v1 { countTokens( params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countTokens( params?: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countTokens( params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options: StreamMethodOptions | BodyResponseCallback, @@ -68073,8 +68882,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Counttokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68132,11 +68943,11 @@ export namespace aiplatform_v1 { fetchPredictOperation( params: Params$Resource$Projects$Locations$Publishers$Models$Fetchpredictoperation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchPredictOperation( params?: Params$Resource$Projects$Locations$Publishers$Models$Fetchpredictoperation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchPredictOperation( params: Params$Resource$Projects$Locations$Publishers$Models$Fetchpredictoperation, options: StreamMethodOptions | BodyResponseCallback, @@ -68171,8 +68982,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Fetchpredictoperation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68228,11 +69039,13 @@ export namespace aiplatform_v1 { generateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateContent( params?: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -68267,8 +69080,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Generatecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68326,11 +69141,13 @@ export namespace aiplatform_v1 { predict( params: Params$Resource$Projects$Locations$Publishers$Models$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Locations$Publishers$Models$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Projects$Locations$Publishers$Models$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -68365,8 +69182,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68423,11 +69242,11 @@ export namespace aiplatform_v1 { predictLongRunning( params: Params$Resource$Projects$Locations$Publishers$Models$Predictlongrunning, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predictLongRunning( params?: Params$Resource$Projects$Locations$Publishers$Models$Predictlongrunning, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; predictLongRunning( params: Params$Resource$Projects$Locations$Publishers$Models$Predictlongrunning, options: StreamMethodOptions | BodyResponseCallback, @@ -68462,8 +69281,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Predictlongrunning; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68519,11 +69338,11 @@ export namespace aiplatform_v1 { rawPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Rawpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rawPredict( params?: Params$Resource$Projects$Locations$Publishers$Models$Rawpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rawPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Rawpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -68554,8 +69373,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Rawpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68611,11 +69430,13 @@ export namespace aiplatform_v1 { serverStreamingPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Serverstreamingpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; serverStreamingPredict( params?: Params$Resource$Projects$Locations$Publishers$Models$Serverstreamingpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; serverStreamingPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Serverstreamingpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -68650,8 +69471,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Serverstreamingpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68709,11 +69532,13 @@ export namespace aiplatform_v1 { streamGenerateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamGenerateContent( params?: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamGenerateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -68748,8 +69573,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68807,11 +69634,11 @@ export namespace aiplatform_v1 { streamRawPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Streamrawpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamRawPredict( params?: Params$Resource$Projects$Locations$Publishers$Models$Streamrawpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; streamRawPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Streamrawpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -68844,8 +69671,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Streamrawpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69037,11 +69864,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Ragcorpora$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Ragcorpora$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Ragcorpora$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -69076,8 +69903,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69132,11 +69959,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Ragcorpora$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ragcorpora$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ragcorpora$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -69171,8 +69998,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69224,11 +70051,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Ragcorpora$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ragcorpora$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Ragcorpora$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -69263,8 +70092,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69318,11 +70149,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Ragcorpora$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ragcorpora$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Ragcorpora$List, options: StreamMethodOptions | BodyResponseCallback, @@ -69357,8 +70190,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69415,11 +70250,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Ragcorpora$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Ragcorpora$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Ragcorpora$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -69454,8 +70289,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69572,11 +70407,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Ragcorpora$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -69607,8 +70442,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69661,11 +70496,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ragcorpora$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -69696,8 +70531,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69750,11 +70585,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ragcorpora$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -69789,8 +70624,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69843,11 +70678,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ragcorpora$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -69882,8 +70719,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69941,11 +70780,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Ragcorpora$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -69980,8 +70819,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70098,11 +70937,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -70137,8 +70976,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70191,11 +71030,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -70230,8 +71069,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70286,11 +71125,11 @@ export namespace aiplatform_v1 { import( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -70325,8 +71164,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70382,11 +71221,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -70421,8 +71262,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70529,11 +71372,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -70564,8 +71407,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70618,11 +71461,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -70653,8 +71496,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70707,11 +71550,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -70746,8 +71589,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70800,11 +71643,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -70839,8 +71684,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70898,11 +71745,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -70937,8 +71784,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71062,11 +71909,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -71097,8 +71944,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragengineconfig$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71151,11 +71998,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -71186,8 +72033,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragengineconfig$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71240,11 +72087,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -71279,8 +72126,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragengineconfig$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71333,11 +72180,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ragengineconfig$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -71372,8 +72221,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragengineconfig$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71431,11 +72282,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -71470,8 +72321,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragengineconfig$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71588,11 +72439,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Reasoningengines$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reasoningengines$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reasoningengines$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -71627,8 +72478,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71684,11 +72535,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Reasoningengines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reasoningengines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reasoningengines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -71723,8 +72574,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71777,11 +72628,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Reasoningengines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reasoningengines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Reasoningengines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -71816,8 +72669,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71871,11 +72726,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Reasoningengines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reasoningengines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Reasoningengines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -71910,8 +72767,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71968,11 +72827,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Reasoningengines$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Reasoningengines$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Reasoningengines$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -72007,8 +72866,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72061,11 +72920,13 @@ export namespace aiplatform_v1 { query( params: Params$Resource$Projects$Locations$Reasoningengines$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Projects$Locations$Reasoningengines$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Projects$Locations$Reasoningengines$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -72100,8 +72961,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72156,11 +73019,11 @@ export namespace aiplatform_v1 { streamQuery( params: Params$Resource$Projects$Locations$Reasoningengines$Streamquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamQuery( params?: Params$Resource$Projects$Locations$Reasoningengines$Streamquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; streamQuery( params: Params$Resource$Projects$Locations$Reasoningengines$Streamquery, options: StreamMethodOptions | BodyResponseCallback, @@ -72191,8 +73054,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Streamquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72290,7 +73153,7 @@ export namespace aiplatform_v1 { export interface Params$Resource$Projects$Locations$Reasoningengines$Patch extends StandardParameters { /** - * Identifier. The resource name of the ReasoningEngine. + * Identifier. The resource name of the ReasoningEngine. Format: `projects/{project\}/locations/{location\}/reasoningEngines/{reasoning_engine\}` */ name?: string; /** @@ -72345,11 +73208,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Reasoningengines$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -72380,8 +73243,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72434,11 +73297,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reasoningengines$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -72469,8 +73332,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72523,11 +73386,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reasoningengines$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -72562,8 +73425,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72616,11 +73479,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reasoningengines$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -72655,8 +73520,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72714,11 +73581,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Reasoningengines$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -72753,8 +73620,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72870,11 +73737,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Schedules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Schedules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Schedules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -72909,8 +73776,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72967,11 +73834,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Schedules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Schedules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Schedules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -73006,8 +73873,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73059,11 +73926,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Schedules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Schedules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Schedules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -73098,8 +73965,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73153,11 +74020,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Schedules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Schedules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Schedules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -73192,8 +74061,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73250,11 +74121,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Schedules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Schedules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Schedules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -73289,8 +74160,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73344,11 +74215,11 @@ export namespace aiplatform_v1 { pause( params: Params$Resource$Projects$Locations$Schedules$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Schedules$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Schedules$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -73379,8 +74250,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73432,11 +74303,11 @@ export namespace aiplatform_v1 { resume( params: Params$Resource$Projects$Locations$Schedules$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Schedules$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Schedules$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -73467,8 +74338,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73617,11 +74488,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Schedules$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Schedules$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Schedules$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -73652,8 +74523,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73706,11 +74577,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Schedules$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Schedules$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Schedules$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -73741,8 +74612,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73795,11 +74666,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Schedules$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Schedules$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Schedules$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -73834,8 +74705,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73888,11 +74759,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Schedules$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Schedules$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Schedules$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -73927,8 +74800,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73986,11 +74861,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Schedules$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Schedules$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Schedules$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -74025,8 +74900,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74143,11 +75018,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Specialistpools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Specialistpools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Specialistpools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -74182,8 +75057,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74239,11 +75114,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Specialistpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Specialistpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Specialistpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -74278,8 +75153,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74332,11 +75207,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Specialistpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Specialistpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Specialistpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -74371,8 +75248,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74426,11 +75305,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Specialistpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Specialistpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Specialistpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -74465,8 +75346,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74523,11 +75406,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Specialistpools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Specialistpools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Specialistpools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -74562,8 +75445,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74688,11 +75571,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Specialistpools$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -74723,8 +75606,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74777,11 +75660,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Specialistpools$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -74812,8 +75695,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74866,11 +75749,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Specialistpools$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -74905,8 +75788,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74959,11 +75842,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Specialistpools$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Specialistpools$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Specialistpools$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -74998,8 +75883,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75057,11 +75944,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Specialistpools$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -75096,8 +75983,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75217,11 +76104,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Studies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Studies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Studies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -75256,8 +76143,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75314,11 +76201,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Studies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Studies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Studies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -75349,8 +76236,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75402,11 +76289,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Studies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Studies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Studies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -75441,8 +76328,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75496,11 +76383,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Studies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Studies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Studies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -75535,8 +76424,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75593,11 +76484,11 @@ export namespace aiplatform_v1 { lookup( params: Params$Resource$Projects$Locations$Studies$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Projects$Locations$Studies$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Projects$Locations$Studies$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -75632,8 +76523,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75751,11 +76642,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Studies$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Studies$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Studies$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -75786,8 +76677,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75840,11 +76731,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Studies$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Studies$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Studies$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -75875,8 +76766,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75929,11 +76820,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Studies$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Studies$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Studies$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -75968,8 +76859,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76022,11 +76913,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Studies$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Studies$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Studies$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -76061,8 +76954,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76120,11 +77015,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Studies$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Studies$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Studies$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -76159,8 +77054,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76275,11 +77170,11 @@ export namespace aiplatform_v1 { addTrialMeasurement( params: Params$Resource$Projects$Locations$Studies$Trials$Addtrialmeasurement, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addTrialMeasurement( params?: Params$Resource$Projects$Locations$Studies$Trials$Addtrialmeasurement, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addTrialMeasurement( params: Params$Resource$Projects$Locations$Studies$Trials$Addtrialmeasurement, options: StreamMethodOptions | BodyResponseCallback, @@ -76314,8 +77209,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Addtrialmeasurement; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76373,11 +77268,11 @@ export namespace aiplatform_v1 { checkTrialEarlyStoppingState( params: Params$Resource$Projects$Locations$Studies$Trials$Checktrialearlystoppingstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkTrialEarlyStoppingState( params?: Params$Resource$Projects$Locations$Studies$Trials$Checktrialearlystoppingstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkTrialEarlyStoppingState( params: Params$Resource$Projects$Locations$Studies$Trials$Checktrialearlystoppingstate, options: StreamMethodOptions | BodyResponseCallback, @@ -76412,8 +77307,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Checktrialearlystoppingstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76468,11 +77363,11 @@ export namespace aiplatform_v1 { complete( params: Params$Resource$Projects$Locations$Studies$Trials$Complete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; complete( params?: Params$Resource$Projects$Locations$Studies$Trials$Complete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; complete( params: Params$Resource$Projects$Locations$Studies$Trials$Complete, options: StreamMethodOptions | BodyResponseCallback, @@ -76507,8 +77402,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Complete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76566,11 +77461,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Studies$Trials$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Studies$Trials$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Studies$Trials$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -76605,8 +77500,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76663,11 +77558,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Studies$Trials$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Studies$Trials$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Studies$Trials$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -76698,8 +77593,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76751,11 +77646,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Studies$Trials$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Studies$Trials$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Studies$Trials$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -76790,8 +77685,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76845,11 +77740,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Studies$Trials$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Studies$Trials$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Studies$Trials$List, options: StreamMethodOptions | BodyResponseCallback, @@ -76884,8 +77781,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76942,11 +77841,13 @@ export namespace aiplatform_v1 { listOptimalTrials( params: Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listOptimalTrials( params?: Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listOptimalTrials( params: Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials, options: StreamMethodOptions | BodyResponseCallback, @@ -76981,8 +77882,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77040,11 +77943,11 @@ export namespace aiplatform_v1 { stop( params: Params$Resource$Projects$Locations$Studies$Trials$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Studies$Trials$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Studies$Trials$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -77079,8 +77982,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77134,11 +78037,11 @@ export namespace aiplatform_v1 { suggest( params: Params$Resource$Projects$Locations$Studies$Trials$Suggest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggest( params?: Params$Resource$Projects$Locations$Studies$Trials$Suggest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suggest( params: Params$Resource$Projects$Locations$Studies$Trials$Suggest, options: StreamMethodOptions | BodyResponseCallback, @@ -77173,8 +78076,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Suggest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77351,11 +78254,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Studies$Trials$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -77386,8 +78289,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77440,11 +78343,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Studies$Trials$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -77475,8 +78378,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77529,11 +78432,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Studies$Trials$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -77568,8 +78471,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77622,11 +78525,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Studies$Trials$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -77661,8 +78566,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77720,11 +78627,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Studies$Trials$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -77759,8 +78666,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77879,11 +78786,13 @@ export namespace aiplatform_v1 { batchRead( params: Params$Resource$Projects$Locations$Tensorboards$Batchread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRead( params?: Params$Resource$Projects$Locations$Tensorboards$Batchread, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchRead( params: Params$Resource$Projects$Locations$Tensorboards$Batchread, options: StreamMethodOptions | BodyResponseCallback, @@ -77918,8 +78827,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Batchread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77977,11 +78888,11 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Tensorboards$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tensorboards$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Tensorboards$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -78016,8 +78927,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78072,11 +78983,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -78111,8 +79022,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78164,11 +79075,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tensorboards$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -78203,8 +79116,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78258,11 +79173,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Tensorboards$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$List, options: StreamMethodOptions | BodyResponseCallback, @@ -78297,8 +79214,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78355,11 +79274,11 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Tensorboards$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tensorboards$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Tensorboards$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -78394,8 +79313,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78447,11 +79366,13 @@ export namespace aiplatform_v1 { readSize( params: Params$Resource$Projects$Locations$Tensorboards$Readsize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readSize( params?: Params$Resource$Projects$Locations$Tensorboards$Readsize, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; readSize( params: Params$Resource$Projects$Locations$Tensorboards$Readsize, options: StreamMethodOptions | BodyResponseCallback, @@ -78486,8 +79407,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Readsize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78544,11 +79467,13 @@ export namespace aiplatform_v1 { readUsage( params: Params$Resource$Projects$Locations$Tensorboards$Readusage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readUsage( params?: Params$Resource$Projects$Locations$Tensorboards$Readusage, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; readUsage( params: Params$Resource$Projects$Locations$Tensorboards$Readusage, options: StreamMethodOptions | BodyResponseCallback, @@ -78583,8 +79508,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Readusage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78753,11 +79680,13 @@ export namespace aiplatform_v1 { batchCreate( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchCreate( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -78792,8 +79721,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78851,11 +79782,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -78890,8 +79823,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78949,11 +79884,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -78988,8 +79923,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79042,11 +79977,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -79081,8 +80018,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79137,11 +80076,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -79176,8 +80117,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79235,11 +80178,13 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -79274,8 +80219,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79330,11 +80277,13 @@ export namespace aiplatform_v1 { write( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -79369,8 +80318,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79533,11 +80484,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -79568,8 +80519,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79622,11 +80573,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -79657,8 +80608,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79711,11 +80662,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -79750,8 +80701,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79804,11 +80755,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -79843,8 +80796,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79902,11 +80857,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -79941,8 +80896,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80064,11 +81019,13 @@ export namespace aiplatform_v1 { batchCreate( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchCreate( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -80103,8 +81060,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80162,11 +81121,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -80201,8 +81162,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80257,11 +81220,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -80296,8 +81259,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80350,11 +81313,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -80389,8 +81354,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80445,11 +81412,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -80484,8 +81453,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80540,11 +81511,13 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -80579,8 +81552,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80635,11 +81610,13 @@ export namespace aiplatform_v1 { write( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -80674,8 +81651,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80838,11 +81817,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -80873,8 +81852,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80927,11 +81906,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -80962,8 +81941,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81016,11 +81995,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -81055,8 +82034,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81109,11 +82088,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -81148,8 +82129,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81207,11 +82190,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -81246,8 +82229,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81364,11 +82347,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -81403,8 +82388,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81462,11 +82449,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -81501,8 +82488,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81555,11 +82542,13 @@ export namespace aiplatform_v1 { exportTensorboardTimeSeries( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Exporttensorboardtimeseries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportTensorboardTimeSeries( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Exporttensorboardtimeseries, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exportTensorboardTimeSeries( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Exporttensorboardtimeseries, options: StreamMethodOptions | BodyResponseCallback, @@ -81594,8 +82583,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Exporttensorboardtimeseries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81653,11 +82644,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -81692,8 +82685,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81748,11 +82743,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -81787,8 +82784,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81846,11 +82845,13 @@ export namespace aiplatform_v1 { patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -81885,8 +82886,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81941,11 +82944,13 @@ export namespace aiplatform_v1 { read( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Read, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; read( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Read, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; read( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Read, options: StreamMethodOptions | BodyResponseCallback, @@ -81980,8 +82985,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Read; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82039,11 +83046,13 @@ export namespace aiplatform_v1 { readBlobData( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Readblobdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readBlobData( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Readblobdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; readBlobData( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Readblobdata, options: StreamMethodOptions | BodyResponseCallback, @@ -82078,8 +83087,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Readblobdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82256,11 +83267,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -82291,8 +83302,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82345,11 +83356,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -82380,8 +83391,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82434,11 +83445,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -82473,8 +83484,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82527,11 +83538,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -82566,8 +83579,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82625,11 +83640,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -82664,8 +83679,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82777,11 +83792,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Tensorboards$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -82812,8 +83827,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82866,11 +83881,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -82901,8 +83916,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82955,11 +83970,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -82994,8 +84009,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83048,11 +84063,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -83087,8 +84104,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83146,11 +84165,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Tensorboards$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -83185,8 +84204,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83303,11 +84322,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Trainingpipelines$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Trainingpipelines$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Trainingpipelines$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -83338,8 +84357,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83392,11 +84411,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Trainingpipelines$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Trainingpipelines$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Trainingpipelines$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -83431,8 +84452,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83490,11 +84513,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Trainingpipelines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Trainingpipelines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Trainingpipelines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -83529,8 +84552,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83583,11 +84606,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Trainingpipelines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Trainingpipelines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Trainingpipelines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -83622,8 +84647,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83677,11 +84704,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Trainingpipelines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Trainingpipelines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Trainingpipelines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -83716,8 +84745,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83844,11 +84875,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -83879,8 +84910,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83933,11 +84964,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -83968,8 +84999,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84022,11 +85053,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -84061,8 +85092,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84115,11 +85146,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Trainingpipelines$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -84154,8 +85187,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84213,11 +85248,11 @@ export namespace aiplatform_v1 { wait( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -84252,8 +85287,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84369,11 +85404,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Tuningjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Tuningjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Tuningjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -84404,8 +85439,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84457,11 +85492,13 @@ export namespace aiplatform_v1 { create( params: Params$Resource$Projects$Locations$Tuningjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tuningjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tuningjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -84496,8 +85533,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84554,11 +85593,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Tuningjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tuningjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tuningjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -84593,8 +85634,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84648,11 +85691,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Tuningjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tuningjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tuningjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -84687,8 +85732,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84745,11 +85792,11 @@ export namespace aiplatform_v1 { rebaseTunedModel( params: Params$Resource$Projects$Locations$Tuningjobs$Rebasetunedmodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rebaseTunedModel( params?: Params$Resource$Projects$Locations$Tuningjobs$Rebasetunedmodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rebaseTunedModel( params: Params$Resource$Projects$Locations$Tuningjobs$Rebasetunedmodel, options: StreamMethodOptions | BodyResponseCallback, @@ -84784,8 +85831,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Rebasetunedmodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84910,11 +85957,11 @@ export namespace aiplatform_v1 { cancel( params: Params$Resource$Projects$Locations$Tuningjobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Tuningjobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Tuningjobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -84945,8 +85992,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84999,11 +86046,11 @@ export namespace aiplatform_v1 { delete( params: Params$Resource$Projects$Locations$Tuningjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tuningjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tuningjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -85034,8 +86081,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85088,11 +86135,11 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Projects$Locations$Tuningjobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tuningjobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tuningjobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -85127,8 +86174,8 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85181,11 +86228,13 @@ export namespace aiplatform_v1 { list( params: Params$Resource$Projects$Locations$Tuningjobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tuningjobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tuningjobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -85220,8 +86269,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85336,11 +86387,13 @@ export namespace aiplatform_v1 { computeTokens( params: Params$Resource$Publishers$Models$Computetokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeTokens( params?: Params$Resource$Publishers$Models$Computetokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; computeTokens( params: Params$Resource$Publishers$Models$Computetokens, options: StreamMethodOptions | BodyResponseCallback, @@ -85375,8 +86428,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Computetokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85433,11 +86488,13 @@ export namespace aiplatform_v1 { countTokens( params: Params$Resource$Publishers$Models$Counttokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countTokens( params?: Params$Resource$Publishers$Models$Counttokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countTokens( params: Params$Resource$Publishers$Models$Counttokens, options: StreamMethodOptions | BodyResponseCallback, @@ -85472,8 +86529,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Counttokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85530,11 +86589,13 @@ export namespace aiplatform_v1 { generateContent( params: Params$Resource$Publishers$Models$Generatecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateContent( params?: Params$Resource$Publishers$Models$Generatecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateContent( params: Params$Resource$Publishers$Models$Generatecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -85569,8 +86630,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Generatecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85627,11 +86690,13 @@ export namespace aiplatform_v1 { get( params: Params$Resource$Publishers$Models$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Publishers$Models$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Publishers$Models$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -85666,8 +86731,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85721,11 +86788,13 @@ export namespace aiplatform_v1 { predict( params: Params$Resource$Publishers$Models$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Publishers$Models$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Publishers$Models$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -85760,8 +86829,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85818,11 +86889,13 @@ export namespace aiplatform_v1 { streamGenerateContent( params: Params$Resource$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamGenerateContent( params?: Params$Resource$Publishers$Models$Streamgeneratecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamGenerateContent( params: Params$Resource$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -85857,8 +86930,10 @@ export namespace aiplatform_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Streamgeneratecontent; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/aiplatform/v1beta1.ts b/src/apis/aiplatform/v1beta1.ts index 1878aa58e10..c9fff6caa5c 100644 --- a/src/apis/aiplatform/v1beta1.ts +++ b/src/apis/aiplatform/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1601,6 +1601,10 @@ export namespace aiplatform_v1beta1 { * Optional. Immutable. The user-generated meaningful display name of the cached content. */ displayName?: string | null; + /** + * Input only. Immutable. Customer-managed encryption key spec for a `CachedContent`. If set, this `CachedContent` and all its sub-resources will be secured by this key. + */ + encryptionSpec?: Schema$GoogleCloudAiplatformV1beta1EncryptionSpec; /** * Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input. */ @@ -1736,6 +1740,23 @@ export namespace aiplatform_v1beta1 { */ safetyRatings?: Schema$GoogleCloudAiplatformV1beta1SafetyRating[]; } + /** + * Describes the machine learning model version checkpoint. + */ + export interface Schema$GoogleCloudAiplatformV1beta1Checkpoint { + /** + * The ID of the checkpoint. + */ + checkpointId?: string | null; + /** + * The epoch of the checkpoint. + */ + epoch?: string | null; + /** + * The step of the checkpoint. + */ + step?: string | null; + } /** * Request message for ModelGardenService.CheckPublisherModelEula. */ @@ -3364,6 +3385,10 @@ export namespace aiplatform_v1beta1 { * A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration. */ automaticResources?: Schema$GoogleCloudAiplatformV1beta1AutomaticResources; + /** + * The checkpoint id of the model. + */ + checkpointId?: string | null; /** * Output only. Timestamp when the DeployedModel was created. */ @@ -3441,6 +3466,10 @@ export namespace aiplatform_v1beta1 { * Points to a DeployedModel. */ export interface Schema$GoogleCloudAiplatformV1beta1DeployedModelRef { + /** + * Immutable. The ID of the Checkpoint deployed in the DeployedModel. + */ + checkpointId?: string | null; /** * Immutable. An ID of a DeployedModel in the above Endpoint. */ @@ -4532,9 +4561,6 @@ export namespace aiplatform_v1beta1 { * Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0. */ export interface Schema$GoogleCloudAiplatformV1beta1ExactMatchSpec {} - /** - * A single example to upload or read from the Example Store. - */ export interface Schema$GoogleCloudAiplatformV1beta1Example { /** * Output only. Timestamp when this Example was created. @@ -7412,6 +7438,10 @@ export namespace aiplatform_v1beta1 { * Config for thinking features. */ export interface Schema$GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig { + /** + * Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. + */ + includeThoughts?: boolean | null; /** * Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true. */ @@ -9679,6 +9709,10 @@ export namespace aiplatform_v1beta1 { * Optional. User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models. */ baseModelSource?: Schema$GoogleCloudAiplatformV1beta1ModelBaseModelSource; + /** + * Optional. Output only. The checkpoints of the model. + */ + checkpoints?: Schema$GoogleCloudAiplatformV1beta1Checkpoint[]; /** * Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not required for AutoML Models. */ @@ -11794,7 +11828,7 @@ export namespace aiplatform_v1beta1 { values?: string[] | null; } /** - * A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime limited to 24 hours. + * A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime. Default runtimes have a lifetime of 18 hours, while custom runtimes last for 6 months from their creation or last upgrade. */ export interface Schema$GoogleCloudAiplatformV1beta1NotebookRuntime { /** @@ -12005,7 +12039,7 @@ export namespace aiplatform_v1beta1 { notebookRuntimeTemplate?: string | null; } /** - * Notebook Software Config. + * Notebook Software Config. This is passed to the backend when user makes software configurations in UI. */ export interface Schema$GoogleCloudAiplatformV1beta1NotebookSoftwareConfig { /** @@ -14789,7 +14823,7 @@ export namespace aiplatform_v1beta1 { */ etag?: string | null; /** - * Identifier. The resource name of the ReasoningEngine. + * Identifier. The resource name of the ReasoningEngine. Format: `projects/{project\}/locations/{location\}/reasoningEngines/{reasoning_engine\}` */ name?: string | null; /** @@ -15744,6 +15778,10 @@ export namespace aiplatform_v1beta1 { * Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. */ export interface Schema$GoogleCloudAiplatformV1beta1Schema { + /** + * Optional. Can either be a boolean or an object; controls the presence of additional properties. + */ + additionalProperties?: any | null; /** * Optional. The value should be validated against any (one or more) of the subschemas in the list. */ @@ -15752,6 +15790,10 @@ export namespace aiplatform_v1beta1 { * Optional. Default value of the data. */ default?: any | null; + /** + * Optional. A map of definitions for use by `ref` Only allowed at the root of the schema. + */ + defs?: {[key: string]: Schema$GoogleCloudAiplatformV1beta1Schema} | null; /** * Optional. The description of the data. */ @@ -15822,6 +15864,10 @@ export namespace aiplatform_v1beta1 { * Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties. */ propertyOrdering?: string[] | null; + /** + * Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + */ + ref?: string | null; /** * Optional. Required properties of Type.OBJECT. */ @@ -20252,7 +20298,7 @@ export namespace aiplatform_v1beta1 { */ export interface Schema$GoogleCloudAiplatformV1beta1SupervisedTuningDataStats { /** - * Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. Must not include example itself. + * Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. */ droppedExampleReasons?: string[] | null; /** @@ -20304,6 +20350,10 @@ export namespace aiplatform_v1beta1 { * Tuning Spec for Supervised Tuning for first party models. */ export interface Schema$GoogleCloudAiplatformV1beta1SupervisedTuningSpec { + /** + * Optional. If set to true, disable intermediate checkpoints for SFT and only the last checkpoint will be exported. Otherwise, enable intermediate checkpoints for SFT. Default is false. + */ + exportLastCheckpointOnly?: boolean | null; /** * Optional. Hyperparameters for SFT. */ @@ -21481,6 +21531,10 @@ export namespace aiplatform_v1beta1 { * The Model Registry Model and Online Prediction Endpoint associated with this TuningJob. */ export interface Schema$GoogleCloudAiplatformV1beta1TunedModel { + /** + * Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints. + */ + checkpoints?: Schema$GoogleCloudAiplatformV1beta1TunedModelCheckpoint[]; /** * Output only. A resource name of an Endpoint. Format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}`. */ @@ -21490,6 +21544,27 @@ export namespace aiplatform_v1beta1 { */ model?: string | null; } + /** + * TunedModelCheckpoint for the Tuned Model of a Tuning Job. + */ + export interface Schema$GoogleCloudAiplatformV1beta1TunedModelCheckpoint { + /** + * The ID of the checkpoint. + */ + checkpointId?: string | null; + /** + * The Endpoint resource name that the checkpoint is deployed to. Format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}`. + */ + endpoint?: string | null; + /** + * The epoch of the checkpoint. + */ + epoch?: string | null; + /** + * The step of the checkpoint. + */ + step?: string | null; + } /** * TunedModel Reference for legacy model migration. */ @@ -22027,6 +22102,14 @@ export namespace aiplatform_v1beta1 { * Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` */ engine?: string | null; + /** + * Optional. Filter strings to be passed to the search API. + */ + filter?: string | null; + /** + * Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10. + */ + maxResults?: number | null; } /** * Config for the Vertex AI Search. @@ -22497,11 +22580,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Batchpredictionjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Batchpredictionjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Batchpredictionjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22536,8 +22621,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Batchpredictionjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22594,11 +22681,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Batchpredictionjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Batchpredictionjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Batchpredictionjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22633,8 +22722,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Batchpredictionjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22688,11 +22779,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Batchpredictionjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Batchpredictionjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Batchpredictionjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22727,8 +22820,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Batchpredictionjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22839,11 +22934,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Datasets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Datasets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Datasets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22878,8 +22973,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22930,11 +23025,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Datasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Datasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22969,8 +23064,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23021,11 +23116,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Datasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Datasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23060,8 +23157,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23114,11 +23213,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Datasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Datasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Datasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23153,8 +23254,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23207,11 +23310,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Datasets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Datasets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Datasets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23246,8 +23351,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23376,11 +23483,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Datasets$Datasetversions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Datasets$Datasetversions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Datasets$Datasetversions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23415,8 +23522,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23471,11 +23578,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Datasets$Datasetversions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Datasets$Datasetversions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Datasets$Datasetversions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23510,8 +23617,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23563,11 +23670,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Datasets$Datasetversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Datasets$Datasetversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Datasets$Datasetversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23602,8 +23711,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23657,11 +23768,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Datasets$Datasetversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Datasets$Datasetversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Datasets$Datasetversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23696,8 +23809,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23754,11 +23869,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Datasets$Datasetversions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Datasets$Datasetversions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Datasets$Datasetversions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23793,8 +23910,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23848,11 +23967,11 @@ export namespace aiplatform_v1beta1 { restore( params: Params$Resource$Datasets$Datasetversions$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Datasets$Datasetversions$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Datasets$Datasetversions$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -23887,8 +24006,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Datasetversions$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24033,11 +24152,13 @@ export namespace aiplatform_v1beta1 { computeTokens( params: Params$Resource$Endpoints$Computetokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeTokens( params?: Params$Resource$Endpoints$Computetokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; computeTokens( params: Params$Resource$Endpoints$Computetokens, options: StreamMethodOptions | BodyResponseCallback, @@ -24072,8 +24193,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Computetokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24130,11 +24253,13 @@ export namespace aiplatform_v1beta1 { countTokens( params: Params$Resource$Endpoints$Counttokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countTokens( params?: Params$Resource$Endpoints$Counttokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countTokens( params: Params$Resource$Endpoints$Counttokens, options: StreamMethodOptions | BodyResponseCallback, @@ -24169,8 +24294,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Counttokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24227,11 +24354,13 @@ export namespace aiplatform_v1beta1 { generateContent( params: Params$Resource$Endpoints$Generatecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateContent( params?: Params$Resource$Endpoints$Generatecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateContent( params: Params$Resource$Endpoints$Generatecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -24266,8 +24395,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Generatecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24324,11 +24455,13 @@ export namespace aiplatform_v1beta1 { predict( params: Params$Resource$Endpoints$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Endpoints$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Endpoints$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -24363,8 +24496,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24421,11 +24556,13 @@ export namespace aiplatform_v1beta1 { streamGenerateContent( params: Params$Resource$Endpoints$Streamgeneratecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamGenerateContent( params?: Params$Resource$Endpoints$Streamgeneratecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamGenerateContent( params: Params$Resource$Endpoints$Streamgeneratecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -24460,8 +24597,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Streamgeneratecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24586,11 +24725,11 @@ export namespace aiplatform_v1beta1 { completions( params: Params$Resource$Endpoints$Chat$Completions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completions( params?: Params$Resource$Endpoints$Chat$Completions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completions( params: Params$Resource$Endpoints$Chat$Completions, options: StreamMethodOptions | BodyResponseCallback, @@ -24621,8 +24760,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Endpoints$Chat$Completions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24697,11 +24836,13 @@ export namespace aiplatform_v1beta1 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -24736,8 +24877,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24836,11 +24979,13 @@ export namespace aiplatform_v1beta1 { getCacheConfig( params: Params$Resource$Projects$Getcacheconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCacheConfig( params?: Params$Resource$Projects$Getcacheconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getCacheConfig( params: Params$Resource$Projects$Getcacheconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -24875,8 +25020,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getcacheconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24930,11 +25077,11 @@ export namespace aiplatform_v1beta1 { updateCacheConfig( params: Params$Resource$Projects$Updatecacheconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCacheConfig( params?: Params$Resource$Projects$Updatecacheconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCacheConfig( params: Params$Resource$Projects$Updatecacheconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -24969,8 +25116,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatecacheconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25192,11 +25339,13 @@ export namespace aiplatform_v1beta1 { augmentPrompt( params: Params$Resource$Projects$Locations$Augmentprompt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; augmentPrompt( params?: Params$Resource$Projects$Locations$Augmentprompt, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; augmentPrompt( params: Params$Resource$Projects$Locations$Augmentprompt, options: StreamMethodOptions | BodyResponseCallback, @@ -25231,8 +25380,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Augmentprompt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25289,11 +25440,13 @@ export namespace aiplatform_v1beta1 { corroborateContent( params: Params$Resource$Projects$Locations$Corroboratecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; corroborateContent( params?: Params$Resource$Projects$Locations$Corroboratecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; corroborateContent( params: Params$Resource$Projects$Locations$Corroboratecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -25328,8 +25481,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Corroboratecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25386,11 +25541,11 @@ export namespace aiplatform_v1beta1 { deploy( params: Params$Resource$Projects$Locations$Deploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params?: Params$Resource$Projects$Locations$Deploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params: Params$Resource$Projects$Locations$Deploy, options: StreamMethodOptions | BodyResponseCallback, @@ -25425,8 +25580,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25481,11 +25636,11 @@ export namespace aiplatform_v1beta1 { deployPublisherModel( params: Params$Resource$Projects$Locations$Deploypublishermodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deployPublisherModel( params?: Params$Resource$Projects$Locations$Deploypublishermodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deployPublisherModel( params: Params$Resource$Projects$Locations$Deploypublishermodel, options: StreamMethodOptions | BodyResponseCallback, @@ -25520,8 +25675,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploypublishermodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25575,11 +25730,11 @@ export namespace aiplatform_v1beta1 { evaluateDataset( params: Params$Resource$Projects$Locations$Evaluatedataset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evaluateDataset( params?: Params$Resource$Projects$Locations$Evaluatedataset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; evaluateDataset( params: Params$Resource$Projects$Locations$Evaluatedataset, options: StreamMethodOptions | BodyResponseCallback, @@ -25614,8 +25769,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluatedataset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25670,11 +25825,13 @@ export namespace aiplatform_v1beta1 { evaluateInstances( params: Params$Resource$Projects$Locations$Evaluateinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evaluateInstances( params?: Params$Resource$Projects$Locations$Evaluateinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; evaluateInstances( params: Params$Resource$Projects$Locations$Evaluateinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -25709,8 +25866,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluateinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25767,11 +25926,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25806,8 +25965,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25859,11 +26018,13 @@ export namespace aiplatform_v1beta1 { getRagEngineConfig( params: Params$Resource$Projects$Locations$Getragengineconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRagEngineConfig( params?: Params$Resource$Projects$Locations$Getragengineconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getRagEngineConfig( params: Params$Resource$Projects$Locations$Getragengineconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -25898,8 +26059,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getragengineconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25953,11 +26116,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25992,8 +26157,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26050,11 +26217,13 @@ export namespace aiplatform_v1beta1 { retrieveContexts( params: Params$Resource$Projects$Locations$Retrievecontexts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveContexts( params?: Params$Resource$Projects$Locations$Retrievecontexts, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveContexts( params: Params$Resource$Projects$Locations$Retrievecontexts, options: StreamMethodOptions | BodyResponseCallback, @@ -26089,8 +26258,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Retrievecontexts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26147,11 +26318,11 @@ export namespace aiplatform_v1beta1 { updateRagEngineConfig( params: Params$Resource$Projects$Locations$Updateragengineconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateRagEngineConfig( params?: Params$Resource$Projects$Locations$Updateragengineconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateRagEngineConfig( params: Params$Resource$Projects$Locations$Updateragengineconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -26186,8 +26357,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updateragengineconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26391,11 +26562,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Agents$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Agents$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Agents$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -26426,8 +26597,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26483,11 +26654,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26518,8 +26689,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26572,11 +26743,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Agents$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Agents$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26611,8 +26782,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26664,11 +26835,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Agents$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26703,8 +26876,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26762,11 +26937,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Agents$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Agents$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Agents$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -26801,8 +26976,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26928,11 +27103,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Apps$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Apps$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Apps$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -26963,8 +27138,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apps$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27020,11 +27195,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Apps$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apps$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apps$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27055,8 +27230,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apps$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27109,11 +27284,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Apps$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apps$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apps$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27148,8 +27323,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apps$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27201,11 +27376,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Apps$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apps$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Apps$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27240,8 +27417,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apps$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27298,11 +27477,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Apps$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Apps$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Apps$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -27337,8 +27516,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apps$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27452,11 +27631,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Batchpredictionjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -27487,8 +27666,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchpredictionjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27544,11 +27723,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Batchpredictionjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -27583,8 +27764,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchpredictionjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27642,11 +27825,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Batchpredictionjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27681,8 +27864,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchpredictionjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27735,11 +27918,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Batchpredictionjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Batchpredictionjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27774,8 +27959,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchpredictionjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27830,11 +28017,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Batchpredictionjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Batchpredictionjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Batchpredictionjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27869,8 +28058,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchpredictionjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27997,11 +28188,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Cachedcontents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Cachedcontents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Cachedcontents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28036,8 +28229,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cachedcontents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28094,11 +28289,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Cachedcontents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Cachedcontents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Cachedcontents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28129,8 +28324,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cachedcontents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28182,11 +28377,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Cachedcontents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Cachedcontents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Cachedcontents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28221,8 +28418,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cachedcontents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28276,11 +28475,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Cachedcontents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Cachedcontents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Cachedcontents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28315,8 +28516,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cachedcontents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28373,11 +28576,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Cachedcontents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Cachedcontents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Cachedcontents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28412,8 +28617,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cachedcontents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28536,11 +28743,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Customjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Customjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Customjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -28571,8 +28778,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28627,11 +28834,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Customjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Customjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Customjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28666,8 +28875,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28724,11 +28935,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Customjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Customjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Customjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28763,8 +28974,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28816,11 +29027,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Customjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Customjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Customjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28855,8 +29068,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28910,11 +29125,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Customjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Customjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Customjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28949,8 +29166,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29076,11 +29295,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Customjobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Customjobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Customjobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -29111,8 +29330,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29168,11 +29387,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Customjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Customjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Customjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -29203,8 +29422,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29257,11 +29476,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Customjobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Customjobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Customjobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29296,8 +29515,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29350,11 +29569,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Customjobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Customjobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Customjobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29389,8 +29610,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29448,11 +29671,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Customjobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Customjobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Customjobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -29487,8 +29710,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customjobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29608,11 +29831,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Datalabelingjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datalabelingjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -29643,8 +29866,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29700,11 +29923,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Datalabelingjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datalabelingjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -29739,8 +29964,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29798,11 +30025,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datalabelingjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datalabelingjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -29837,8 +30064,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29891,11 +30118,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Datalabelingjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datalabelingjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29930,8 +30159,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29985,11 +30216,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datalabelingjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datalabelingjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datalabelingjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30024,8 +30257,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30155,11 +30390,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -30190,8 +30425,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30247,11 +30482,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30282,8 +30517,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30336,11 +30571,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30375,8 +30610,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30429,11 +30664,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30468,8 +30705,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30527,11 +30766,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -30566,8 +30805,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30700,11 +30939,11 @@ export namespace aiplatform_v1beta1 { assemble( params: Params$Resource$Projects$Locations$Datasets$Assemble, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; assemble( params?: Params$Resource$Projects$Locations$Datasets$Assemble, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; assemble( params: Params$Resource$Projects$Locations$Datasets$Assemble, options: StreamMethodOptions | BodyResponseCallback, @@ -30739,8 +30978,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Assemble; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30795,11 +31034,11 @@ export namespace aiplatform_v1beta1 { assess( params: Params$Resource$Projects$Locations$Datasets$Assess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; assess( params?: Params$Resource$Projects$Locations$Datasets$Assess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; assess( params: Params$Resource$Projects$Locations$Datasets$Assess, options: StreamMethodOptions | BodyResponseCallback, @@ -30834,8 +31073,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Assess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30890,11 +31129,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -30929,8 +31168,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30985,11 +31224,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31024,8 +31263,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31077,11 +31316,11 @@ export namespace aiplatform_v1beta1 { export( params: Params$Resource$Projects$Locations$Datasets$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Datasets$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Datasets$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -31116,8 +31355,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31172,11 +31411,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31211,8 +31452,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31266,11 +31509,11 @@ export namespace aiplatform_v1beta1 { import( params: Params$Resource$Projects$Locations$Datasets$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datasets$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datasets$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -31305,8 +31548,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31361,11 +31604,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31400,8 +31645,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31458,11 +31705,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datasets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31497,8 +31746,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31552,11 +31803,13 @@ export namespace aiplatform_v1beta1 { searchDataItems( params: Params$Resource$Projects$Locations$Datasets$Searchdataitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchDataItems( params?: Params$Resource$Projects$Locations$Datasets$Searchdataitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchDataItems( params: Params$Resource$Projects$Locations$Datasets$Searchdataitems, options: StreamMethodOptions | BodyResponseCallback, @@ -31591,8 +31844,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Searchdataitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31843,11 +32098,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31882,8 +32139,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31957,11 +32216,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -31992,8 +32251,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32049,11 +32308,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -32084,8 +32343,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32138,11 +32397,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32177,8 +32436,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32231,11 +32490,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32270,8 +32531,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32329,11 +32592,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -32368,8 +32631,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32494,11 +32757,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32533,8 +32798,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32632,11 +32899,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32671,8 +32940,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32765,11 +33036,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -32800,8 +33071,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32857,11 +33128,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -32892,8 +33163,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32946,11 +33217,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32985,8 +33256,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33039,11 +33310,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33078,8 +33351,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33137,11 +33412,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -33176,8 +33451,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33292,11 +33567,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -33327,8 +33602,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33384,11 +33659,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -33419,8 +33694,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33473,11 +33748,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33512,8 +33787,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33566,11 +33841,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33605,8 +33882,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33664,11 +33943,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -33703,8 +33982,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33819,11 +34098,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -33858,8 +34137,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33915,11 +34194,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -33954,8 +34233,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34008,11 +34287,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34047,8 +34328,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34103,11 +34386,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34142,8 +34427,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34201,11 +34488,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -34240,8 +34529,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34296,11 +34587,11 @@ export namespace aiplatform_v1beta1 { restore( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Datasets$Datasetversions$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Datasets$Datasetversions$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -34335,8 +34626,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datasetversions$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34480,11 +34771,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -34515,8 +34806,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34572,11 +34863,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34607,8 +34898,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34661,11 +34952,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34700,8 +34991,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34754,11 +35045,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34793,8 +35086,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34852,11 +35147,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Datasets$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datasets$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datasets$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -34891,8 +35186,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35012,11 +35307,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -35051,8 +35346,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35105,11 +35400,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35144,8 +35441,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35245,11 +35544,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -35280,8 +35579,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35337,11 +35636,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -35372,8 +35671,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35426,11 +35725,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35465,8 +35764,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35519,11 +35818,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35558,8 +35859,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35617,11 +35920,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -35656,8 +35959,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35777,11 +36080,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -35816,8 +36119,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35872,11 +36175,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -35911,8 +36214,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35965,11 +36268,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36004,8 +36309,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36060,11 +36367,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Deploymentresourcepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Deploymentresourcepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36099,8 +36408,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36157,11 +36468,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -36196,8 +36507,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36250,11 +36561,13 @@ export namespace aiplatform_v1beta1 { queryDeployedModels( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Querydeployedmodels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryDeployedModels( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Querydeployedmodels, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryDeployedModels( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Querydeployedmodels, options: StreamMethodOptions | BodyResponseCallback, @@ -36289,8 +36602,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Querydeployedmodels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36427,11 +36742,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -36462,8 +36777,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36519,11 +36834,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -36554,8 +36869,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36608,11 +36923,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36647,8 +36962,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36701,11 +37016,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36740,8 +37057,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36799,11 +37118,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -36838,8 +37157,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36965,11 +37284,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Edgedevices$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Edgedevices$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Edgedevices$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -37000,8 +37319,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgedevices$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37057,11 +37376,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Edgedevices$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Edgedevices$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Edgedevices$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -37092,8 +37411,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgedevices$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37146,11 +37465,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Edgedevices$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Edgedevices$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Edgedevices$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37185,8 +37504,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgedevices$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37239,11 +37558,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Edgedevices$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Edgedevices$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Edgedevices$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37278,8 +37599,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgedevices$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37337,11 +37660,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Edgedevices$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Edgedevices$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Edgedevices$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -37376,8 +37699,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgedevices$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37498,11 +37821,13 @@ export namespace aiplatform_v1beta1 { computeTokens( params: Params$Resource$Projects$Locations$Endpoints$Computetokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeTokens( params?: Params$Resource$Projects$Locations$Endpoints$Computetokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; computeTokens( params: Params$Resource$Projects$Locations$Endpoints$Computetokens, options: StreamMethodOptions | BodyResponseCallback, @@ -37537,8 +37862,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Computetokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37596,11 +37923,13 @@ export namespace aiplatform_v1beta1 { countTokens( params: Params$Resource$Projects$Locations$Endpoints$Counttokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countTokens( params?: Params$Resource$Projects$Locations$Endpoints$Counttokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countTokens( params: Params$Resource$Projects$Locations$Endpoints$Counttokens, options: StreamMethodOptions | BodyResponseCallback, @@ -37635,8 +37964,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Counttokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37693,11 +38024,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Endpoints$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Endpoints$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Endpoints$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -37732,8 +38063,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37788,11 +38119,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Endpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Endpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Endpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -37827,8 +38158,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37880,11 +38211,11 @@ export namespace aiplatform_v1beta1 { deployModel( params: Params$Resource$Projects$Locations$Endpoints$Deploymodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deployModel( params?: Params$Resource$Projects$Locations$Endpoints$Deploymodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deployModel( params: Params$Resource$Projects$Locations$Endpoints$Deploymodel, options: StreamMethodOptions | BodyResponseCallback, @@ -37919,8 +38250,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Deploymodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37975,11 +38306,13 @@ export namespace aiplatform_v1beta1 { directPredict( params: Params$Resource$Projects$Locations$Endpoints$Directpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; directPredict( params?: Params$Resource$Projects$Locations$Endpoints$Directpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; directPredict( params: Params$Resource$Projects$Locations$Endpoints$Directpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -38014,8 +38347,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Directpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38073,11 +38408,13 @@ export namespace aiplatform_v1beta1 { directRawPredict( params: Params$Resource$Projects$Locations$Endpoints$Directrawpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; directRawPredict( params?: Params$Resource$Projects$Locations$Endpoints$Directrawpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; directRawPredict( params: Params$Resource$Projects$Locations$Endpoints$Directrawpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -38112,8 +38449,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Directrawpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38171,11 +38510,13 @@ export namespace aiplatform_v1beta1 { explain( params: Params$Resource$Projects$Locations$Endpoints$Explain, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; explain( params?: Params$Resource$Projects$Locations$Endpoints$Explain, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; explain( params: Params$Resource$Projects$Locations$Endpoints$Explain, options: StreamMethodOptions | BodyResponseCallback, @@ -38210,8 +38551,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Explain; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38268,11 +38611,11 @@ export namespace aiplatform_v1beta1 { fetchPredictOperation( params: Params$Resource$Projects$Locations$Endpoints$Fetchpredictoperation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchPredictOperation( params?: Params$Resource$Projects$Locations$Endpoints$Fetchpredictoperation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchPredictOperation( params: Params$Resource$Projects$Locations$Endpoints$Fetchpredictoperation, options: StreamMethodOptions | BodyResponseCallback, @@ -38307,8 +38650,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Fetchpredictoperation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38363,11 +38706,13 @@ export namespace aiplatform_v1beta1 { generateContent( params: Params$Resource$Projects$Locations$Endpoints$Generatecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateContent( params?: Params$Resource$Projects$Locations$Endpoints$Generatecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateContent( params: Params$Resource$Projects$Locations$Endpoints$Generatecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -38402,8 +38747,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Generatecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38461,11 +38808,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Endpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38500,8 +38849,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38555,11 +38906,11 @@ export namespace aiplatform_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Endpoints$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Endpoints$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Endpoints$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -38592,8 +38943,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38649,11 +39000,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Endpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38688,8 +39041,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38746,11 +39101,11 @@ export namespace aiplatform_v1beta1 { mutateDeployedModel( params: Params$Resource$Projects$Locations$Endpoints$Mutatedeployedmodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; mutateDeployedModel( params?: Params$Resource$Projects$Locations$Endpoints$Mutatedeployedmodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; mutateDeployedModel( params: Params$Resource$Projects$Locations$Endpoints$Mutatedeployedmodel, options: StreamMethodOptions | BodyResponseCallback, @@ -38785,8 +39140,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Mutatedeployedmodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38842,11 +39197,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Endpoints$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Endpoints$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Endpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -38881,8 +39238,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38936,11 +39295,13 @@ export namespace aiplatform_v1beta1 { predict( params: Params$Resource$Projects$Locations$Endpoints$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Locations$Endpoints$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Projects$Locations$Endpoints$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -38975,8 +39336,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39032,11 +39395,11 @@ export namespace aiplatform_v1beta1 { predictLongRunning( params: Params$Resource$Projects$Locations$Endpoints$Predictlongrunning, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predictLongRunning( params?: Params$Resource$Projects$Locations$Endpoints$Predictlongrunning, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; predictLongRunning( params: Params$Resource$Projects$Locations$Endpoints$Predictlongrunning, options: StreamMethodOptions | BodyResponseCallback, @@ -39071,8 +39434,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Predictlongrunning; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39128,11 +39491,11 @@ export namespace aiplatform_v1beta1 { rawPredict( params: Params$Resource$Projects$Locations$Endpoints$Rawpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rawPredict( params?: Params$Resource$Projects$Locations$Endpoints$Rawpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rawPredict( params: Params$Resource$Projects$Locations$Endpoints$Rawpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -39163,8 +39526,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Rawpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39219,11 +39582,13 @@ export namespace aiplatform_v1beta1 { serverStreamingPredict( params: Params$Resource$Projects$Locations$Endpoints$Serverstreamingpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; serverStreamingPredict( params?: Params$Resource$Projects$Locations$Endpoints$Serverstreamingpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; serverStreamingPredict( params: Params$Resource$Projects$Locations$Endpoints$Serverstreamingpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -39258,8 +39623,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Serverstreamingpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39316,11 +39683,11 @@ export namespace aiplatform_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Endpoints$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Endpoints$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Endpoints$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -39353,8 +39720,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39410,11 +39777,13 @@ export namespace aiplatform_v1beta1 { streamGenerateContent( params: Params$Resource$Projects$Locations$Endpoints$Streamgeneratecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamGenerateContent( params?: Params$Resource$Projects$Locations$Endpoints$Streamgeneratecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamGenerateContent( params: Params$Resource$Projects$Locations$Endpoints$Streamgeneratecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -39449,8 +39818,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Streamgeneratecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39508,11 +39879,11 @@ export namespace aiplatform_v1beta1 { streamRawPredict( params: Params$Resource$Projects$Locations$Endpoints$Streamrawpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamRawPredict( params?: Params$Resource$Projects$Locations$Endpoints$Streamrawpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; streamRawPredict( params: Params$Resource$Projects$Locations$Endpoints$Streamrawpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -39545,8 +39916,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Streamrawpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39602,11 +39973,13 @@ export namespace aiplatform_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Endpoints$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Endpoints$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Endpoints$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -39641,8 +40014,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39700,11 +40075,11 @@ export namespace aiplatform_v1beta1 { undeployModel( params: Params$Resource$Projects$Locations$Endpoints$Undeploymodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undeployModel( params?: Params$Resource$Projects$Locations$Endpoints$Undeploymodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undeployModel( params: Params$Resource$Projects$Locations$Endpoints$Undeploymodel, options: StreamMethodOptions | BodyResponseCallback, @@ -39739,8 +40114,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Undeploymodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39796,11 +40171,11 @@ export namespace aiplatform_v1beta1 { update( params: Params$Resource$Projects$Locations$Endpoints$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Endpoints$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Endpoints$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -39835,8 +40210,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40206,11 +40581,11 @@ export namespace aiplatform_v1beta1 { completions( params: Params$Resource$Projects$Locations$Endpoints$Chat$Completions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completions( params?: Params$Resource$Projects$Locations$Endpoints$Chat$Completions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completions( params: Params$Resource$Projects$Locations$Endpoints$Chat$Completions, options: StreamMethodOptions | BodyResponseCallback, @@ -40241,8 +40616,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Chat$Completions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40318,11 +40693,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Endpoints$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Endpoints$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Endpoints$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -40353,8 +40728,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40410,11 +40785,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Endpoints$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Endpoints$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Endpoints$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -40445,8 +40820,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40499,11 +40874,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Endpoints$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Endpoints$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Endpoints$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40538,8 +40913,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40592,11 +40967,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Endpoints$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Endpoints$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Endpoints$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40631,8 +41008,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40690,11 +41069,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Endpoints$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Endpoints$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Endpoints$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -40729,8 +41108,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40857,11 +41236,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Evaluationtasks$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Evaluationtasks$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Evaluationtasks$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -40892,8 +41271,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluationtasks$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40946,11 +41325,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Evaluationtasks$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Evaluationtasks$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Evaluationtasks$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40985,8 +41364,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluationtasks$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41039,11 +41418,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Evaluationtasks$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Evaluationtasks$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Evaluationtasks$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41078,8 +41459,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluationtasks$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41137,11 +41520,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Evaluationtasks$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Evaluationtasks$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Evaluationtasks$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -41176,8 +41559,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluationtasks$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41288,11 +41671,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Examplestores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Examplestores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Examplestores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -41327,8 +41710,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41383,11 +41766,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Examplestores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Examplestores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Examplestores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -41422,8 +41805,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41475,11 +41858,13 @@ export namespace aiplatform_v1beta1 { fetchExamples( params: Params$Resource$Projects$Locations$Examplestores$Fetchexamples, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchExamples( params?: Params$Resource$Projects$Locations$Examplestores$Fetchexamples, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchExamples( params: Params$Resource$Projects$Locations$Examplestores$Fetchexamples, options: StreamMethodOptions | BodyResponseCallback, @@ -41514,8 +41899,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Fetchexamples; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41573,11 +41960,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Examplestores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Examplestores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Examplestores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -41612,8 +42001,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41667,11 +42058,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Examplestores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Examplestores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Examplestores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41706,8 +42099,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41764,11 +42159,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Examplestores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Examplestores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Examplestores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -41803,8 +42198,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41856,11 +42251,13 @@ export namespace aiplatform_v1beta1 { removeExamples( params: Params$Resource$Projects$Locations$Examplestores$Removeexamples, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeExamples( params?: Params$Resource$Projects$Locations$Examplestores$Removeexamples, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeExamples( params: Params$Resource$Projects$Locations$Examplestores$Removeexamples, options: StreamMethodOptions | BodyResponseCallback, @@ -41895,8 +42292,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Removeexamples; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41954,11 +42353,13 @@ export namespace aiplatform_v1beta1 { searchExamples( params: Params$Resource$Projects$Locations$Examplestores$Searchexamples, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchExamples( params?: Params$Resource$Projects$Locations$Examplestores$Searchexamples, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchExamples( params: Params$Resource$Projects$Locations$Examplestores$Searchexamples, options: StreamMethodOptions | BodyResponseCallback, @@ -41993,8 +42394,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Searchexamples; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42052,11 +42455,13 @@ export namespace aiplatform_v1beta1 { upsertExamples( params: Params$Resource$Projects$Locations$Examplestores$Upsertexamples, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upsertExamples( params?: Params$Resource$Projects$Locations$Examplestores$Upsertexamples, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; upsertExamples( params: Params$Resource$Projects$Locations$Examplestores$Upsertexamples, options: StreamMethodOptions | BodyResponseCallback, @@ -42091,8 +42496,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Upsertexamples; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42286,11 +42693,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Examplestores$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Examplestores$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Examplestores$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -42321,8 +42728,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42378,11 +42785,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Examplestores$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Examplestores$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Examplestores$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -42413,8 +42820,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42467,11 +42874,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Examplestores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Examplestores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Examplestores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -42506,8 +42913,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42560,11 +42967,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Examplestores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Examplestores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Examplestores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -42599,8 +43008,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42658,11 +43069,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Examplestores$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Examplestores$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Examplestores$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -42697,8 +43108,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Examplestores$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42825,11 +43236,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -42860,8 +43271,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42917,11 +43328,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -42952,8 +43363,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43006,11 +43417,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -43045,8 +43456,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43099,11 +43510,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -43138,8 +43551,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensioncontrollers$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43197,11 +43612,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -43236,8 +43651,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensioncontrollers$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43356,11 +43771,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Extensions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Extensions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Extensions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -43395,8 +43810,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43448,11 +43863,13 @@ export namespace aiplatform_v1beta1 { execute( params: Params$Resource$Projects$Locations$Extensions$Execute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; execute( params?: Params$Resource$Projects$Locations$Extensions$Execute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; execute( params: Params$Resource$Projects$Locations$Extensions$Execute, options: StreamMethodOptions | BodyResponseCallback, @@ -43487,8 +43904,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$Execute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43545,11 +43964,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Extensions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Extensions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Extensions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -43584,8 +44005,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43639,11 +44062,11 @@ export namespace aiplatform_v1beta1 { import( params: Params$Resource$Projects$Locations$Extensions$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Extensions$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Extensions$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -43678,8 +44101,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43734,11 +44157,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Extensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Extensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Extensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -43773,8 +44198,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43831,11 +44258,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Extensions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Extensions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Extensions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -43870,8 +44299,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43925,11 +44356,13 @@ export namespace aiplatform_v1beta1 { query( params: Params$Resource$Projects$Locations$Extensions$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Projects$Locations$Extensions$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Projects$Locations$Extensions$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -43964,8 +44397,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44119,11 +44554,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Extensions$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Extensions$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Extensions$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -44154,8 +44589,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44211,11 +44646,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Extensions$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Extensions$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Extensions$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -44246,8 +44681,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44300,11 +44735,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Extensions$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Extensions$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Extensions$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -44339,8 +44774,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44393,11 +44828,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Extensions$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Extensions$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Extensions$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -44432,8 +44869,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44491,11 +44930,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Extensions$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Extensions$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Extensions$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -44530,8 +44969,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Extensions$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44658,11 +45097,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Featuregroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featuregroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featuregroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -44697,8 +45136,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44753,11 +45192,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featuregroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featuregroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featuregroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -44792,8 +45231,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44845,11 +45284,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featuregroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featuregroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featuregroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -44884,8 +45325,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44939,11 +45382,11 @@ export namespace aiplatform_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Featuregroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Featuregroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Featuregroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -44976,8 +45419,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45033,11 +45476,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featuregroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featuregroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featuregroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -45072,8 +45517,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45130,11 +45577,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Featuregroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featuregroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featuregroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -45169,8 +45616,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45222,11 +45669,11 @@ export namespace aiplatform_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Featuregroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Featuregroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Featuregroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -45259,8 +45706,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45316,11 +45763,13 @@ export namespace aiplatform_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Featuregroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Featuregroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Featuregroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -45355,8 +45804,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45539,11 +45990,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -45578,8 +46029,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45635,11 +46086,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -45674,8 +46125,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45728,11 +46179,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -45767,8 +46220,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45823,11 +46278,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -45862,8 +46319,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45921,11 +46380,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -45960,8 +46419,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46091,11 +46550,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -46130,8 +46591,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46189,11 +46652,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -46228,8 +46693,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46284,11 +46751,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -46323,8 +46792,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Featuremonitorjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46436,11 +46907,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -46471,8 +46942,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46525,11 +46996,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -46564,8 +47035,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46618,11 +47089,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -46657,8 +47130,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46716,11 +47191,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -46755,8 +47230,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Featuremonitors$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46869,11 +47344,11 @@ export namespace aiplatform_v1beta1 { batchCreate( params: Params$Resource$Projects$Locations$Featuregroups$Features$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Featuregroups$Features$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -46908,8 +47383,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46965,11 +47440,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Featuregroups$Features$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featuregroups$Features$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -47004,8 +47479,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47061,11 +47536,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featuregroups$Features$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featuregroups$Features$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -47100,8 +47575,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47154,11 +47629,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featuregroups$Features$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featuregroups$Features$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -47193,8 +47670,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47249,11 +47728,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featuregroups$Features$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featuregroups$Features$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featuregroups$Features$List, options: StreamMethodOptions | BodyResponseCallback, @@ -47288,8 +47769,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47347,11 +47830,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Featuregroups$Features$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featuregroups$Features$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -47386,8 +47869,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47549,11 +48032,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -47584,8 +48067,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47638,11 +48121,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -47677,8 +48160,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47731,11 +48214,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -47770,8 +48255,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47829,11 +48316,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -47868,8 +48355,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47977,11 +48464,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featuregroups$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -48012,8 +48499,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48066,11 +48553,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featuregroups$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -48105,8 +48592,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48159,11 +48646,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featuregroups$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featuregroups$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featuregroups$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -48198,8 +48687,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48257,11 +48748,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featuregroups$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featuregroups$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -48296,8 +48787,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featuregroups$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48415,11 +48906,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Featureonlinestores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featureonlinestores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featureonlinestores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -48454,8 +48945,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48511,11 +49002,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featureonlinestores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -48550,8 +49041,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48604,11 +49095,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featureonlinestores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featureonlinestores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featureonlinestores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -48643,8 +49136,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48699,11 +49194,11 @@ export namespace aiplatform_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Featureonlinestores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -48736,8 +49231,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48793,11 +49288,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featureonlinestores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featureonlinestores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featureonlinestores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -48832,8 +49329,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48891,11 +49390,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Featureonlinestores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featureonlinestores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featureonlinestores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -48930,8 +49429,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48984,11 +49483,11 @@ export namespace aiplatform_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Featureonlinestores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -49021,8 +49520,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49078,11 +49577,13 @@ export namespace aiplatform_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Featureonlinestores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Featureonlinestores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Featureonlinestores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -49117,8 +49618,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49301,11 +49804,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -49340,8 +49843,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49397,11 +49900,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -49436,8 +49939,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49490,11 +49993,13 @@ export namespace aiplatform_v1beta1 { directWrite( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Directwrite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; directWrite( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Directwrite, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; directWrite( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Directwrite, options: StreamMethodOptions | BodyResponseCallback, @@ -49529,8 +50034,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Directwrite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49588,11 +50095,13 @@ export namespace aiplatform_v1beta1 { fetchFeatureValues( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Fetchfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchFeatureValues( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Fetchfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchFeatureValues( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Fetchfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -49627,8 +50136,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Fetchfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49685,11 +50196,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -49724,8 +50237,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49780,11 +50295,11 @@ export namespace aiplatform_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -49817,8 +50332,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49874,11 +50389,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -49913,8 +50430,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49972,11 +50491,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -50011,8 +50530,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50065,11 +50584,13 @@ export namespace aiplatform_v1beta1 { searchNearestEntities( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Searchnearestentities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchNearestEntities( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Searchnearestentities, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchNearestEntities( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Searchnearestentities, options: StreamMethodOptions | BodyResponseCallback, @@ -50104,8 +50625,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Searchnearestentities; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50162,11 +50685,11 @@ export namespace aiplatform_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -50199,8 +50722,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50256,11 +50779,13 @@ export namespace aiplatform_v1beta1 { streamingFetchFeatureValues( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Streamingfetchfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamingFetchFeatureValues( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Streamingfetchfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamingFetchFeatureValues( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Streamingfetchfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -50295,8 +50820,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Streamingfetchfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50353,11 +50880,13 @@ export namespace aiplatform_v1beta1 { sync( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Sync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sync( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Sync, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; sync( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Sync, options: StreamMethodOptions | BodyResponseCallback, @@ -50392,8 +50921,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Sync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50451,11 +50982,13 @@ export namespace aiplatform_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -50490,8 +51023,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50724,11 +51259,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -50763,8 +51300,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50819,11 +51358,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -50858,8 +51399,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Featureviewsyncs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50955,11 +51498,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -50990,8 +51533,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51044,11 +51587,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -51083,8 +51626,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51137,11 +51680,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -51176,8 +51721,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51235,11 +51782,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -51274,8 +51821,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51383,11 +51930,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -51418,8 +51965,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51472,11 +52019,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -51511,8 +52058,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51565,11 +52112,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featureonlinestores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -51604,8 +52153,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51663,11 +52214,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featureonlinestores$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -51702,8 +52253,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featureonlinestores$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51817,11 +52368,11 @@ export namespace aiplatform_v1beta1 { batchReadFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Batchreadfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchReadFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Batchreadfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchReadFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Batchreadfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -51856,8 +52407,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Batchreadfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51912,11 +52463,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Featurestores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featurestores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featurestores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -51951,8 +52502,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52007,11 +52558,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -52046,8 +52597,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52099,11 +52650,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featurestores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featurestores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -52138,8 +52691,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52193,11 +52748,11 @@ export namespace aiplatform_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Featurestores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -52230,8 +52785,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52287,11 +52842,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featurestores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -52326,8 +52883,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52384,11 +52943,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Featurestores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featurestores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Featurestores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -52423,8 +52982,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52476,11 +53035,13 @@ export namespace aiplatform_v1beta1 { searchFeatures( params: Params$Resource$Projects$Locations$Featurestores$Searchfeatures, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchFeatures( params?: Params$Resource$Projects$Locations$Featurestores$Searchfeatures, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchFeatures( params: Params$Resource$Projects$Locations$Featurestores$Searchfeatures, options: StreamMethodOptions | BodyResponseCallback, @@ -52515,8 +53076,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Searchfeatures; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52573,11 +53136,11 @@ export namespace aiplatform_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Featurestores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -52610,8 +53173,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52667,11 +53230,13 @@ export namespace aiplatform_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Featurestores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Featurestores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Featurestores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -52706,8 +53271,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52927,11 +53494,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -52966,8 +53533,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53023,11 +53590,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -53062,8 +53629,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53116,11 +53683,11 @@ export namespace aiplatform_v1beta1 { deleteFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Deletefeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Deletefeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Deletefeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -53155,8 +53722,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Deletefeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53211,11 +53778,11 @@ export namespace aiplatform_v1beta1 { exportFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Exportfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Exportfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Exportfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -53250,8 +53817,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Exportfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53306,11 +53873,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -53345,8 +53914,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53401,11 +53972,11 @@ export namespace aiplatform_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -53438,8 +54009,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53495,11 +54066,11 @@ export namespace aiplatform_v1beta1 { importFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Importfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Importfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Importfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -53534,8 +54105,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Importfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53590,11 +54161,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -53629,8 +54202,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53688,11 +54263,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -53727,8 +54304,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53783,11 +54362,13 @@ export namespace aiplatform_v1beta1 { readFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Readfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Readfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; readFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Readfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -53822,8 +54403,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Readfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53881,11 +54464,11 @@ export namespace aiplatform_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -53918,8 +54501,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53975,11 +54558,13 @@ export namespace aiplatform_v1beta1 { streamingReadFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Streamingreadfeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamingReadFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Streamingreadfeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamingReadFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Streamingreadfeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -54014,8 +54599,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Streamingreadfeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54072,11 +54659,13 @@ export namespace aiplatform_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -54111,8 +54700,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54170,11 +54761,13 @@ export namespace aiplatform_v1beta1 { writeFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Writefeaturevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; writeFeatureValues( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Writefeaturevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; writeFeatureValues( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Writefeaturevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -54209,8 +54802,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Writefeaturevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54463,11 +55058,11 @@ export namespace aiplatform_v1beta1 { batchCreate( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -54502,8 +55097,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54559,11 +55154,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -54598,8 +55193,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54655,11 +55250,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -54694,8 +55289,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54748,11 +55343,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -54787,8 +55384,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54843,11 +55442,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$List, options: StreamMethodOptions | BodyResponseCallback, @@ -54882,8 +55483,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54941,11 +55544,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -54980,8 +55585,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55145,11 +55752,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -55180,8 +55787,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55237,11 +55844,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -55272,8 +55879,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55326,11 +55933,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -55365,8 +55972,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55419,11 +56026,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -55458,8 +56067,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55517,11 +56128,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -55556,8 +56167,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55672,11 +56283,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -55707,8 +56318,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55764,11 +56375,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -55799,8 +56410,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55853,11 +56464,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -55892,8 +56503,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55946,11 +56557,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -55985,8 +56598,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56044,11 +56659,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -56083,8 +56698,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56199,11 +56814,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Featurestores$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Featurestores$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Featurestores$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -56234,8 +56849,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56291,11 +56906,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Featurestores$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Featurestores$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Featurestores$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -56326,8 +56941,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56380,11 +56995,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Featurestores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Featurestores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Featurestores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -56419,8 +57034,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56473,11 +57088,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Featurestores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Featurestores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Featurestores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -56512,8 +57129,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56571,11 +57190,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Featurestores$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Featurestores$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Featurestores$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -56610,8 +57229,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Featurestores$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56731,11 +57350,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -56766,8 +57385,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56823,11 +57442,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -56862,8 +57483,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56920,11 +57543,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -56959,8 +57582,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57013,11 +57636,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -57052,8 +57677,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57108,11 +57735,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -57147,8 +57776,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57274,11 +57905,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -57309,8 +57940,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57366,11 +57997,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -57401,8 +58032,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57455,11 +58086,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -57494,8 +58125,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57548,11 +58179,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -57587,8 +58220,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57646,11 +58281,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -57685,8 +58320,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57804,11 +58439,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Indexendpoints$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Indexendpoints$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Indexendpoints$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -57843,8 +58478,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57899,11 +58534,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Indexendpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Indexendpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Indexendpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -57938,8 +58573,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57991,11 +58626,11 @@ export namespace aiplatform_v1beta1 { deployIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Deployindex, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deployIndex( params?: Params$Resource$Projects$Locations$Indexendpoints$Deployindex, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deployIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Deployindex, options: StreamMethodOptions | BodyResponseCallback, @@ -58030,8 +58665,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Deployindex; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58087,11 +58722,13 @@ export namespace aiplatform_v1beta1 { findNeighbors( params: Params$Resource$Projects$Locations$Indexendpoints$Findneighbors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; findNeighbors( params?: Params$Resource$Projects$Locations$Indexendpoints$Findneighbors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; findNeighbors( params: Params$Resource$Projects$Locations$Indexendpoints$Findneighbors, options: StreamMethodOptions | BodyResponseCallback, @@ -58126,8 +58763,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Findneighbors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58185,11 +58824,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Indexendpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Indexendpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Indexendpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -58224,8 +58865,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58279,11 +58922,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Indexendpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Indexendpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Indexendpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -58318,8 +58963,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58376,11 +59023,11 @@ export namespace aiplatform_v1beta1 { mutateDeployedIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Mutatedeployedindex, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; mutateDeployedIndex( params?: Params$Resource$Projects$Locations$Indexendpoints$Mutatedeployedindex, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; mutateDeployedIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Mutatedeployedindex, options: StreamMethodOptions | BodyResponseCallback, @@ -58415,8 +59062,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Mutatedeployedindex; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58471,11 +59118,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Indexendpoints$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Indexendpoints$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Indexendpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -58510,8 +59159,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58565,11 +59216,13 @@ export namespace aiplatform_v1beta1 { readIndexDatapoints( params: Params$Resource$Projects$Locations$Indexendpoints$Readindexdatapoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readIndexDatapoints( params?: Params$Resource$Projects$Locations$Indexendpoints$Readindexdatapoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; readIndexDatapoints( params: Params$Resource$Projects$Locations$Indexendpoints$Readindexdatapoints, options: StreamMethodOptions | BodyResponseCallback, @@ -58604,8 +59257,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Readindexdatapoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58662,11 +59317,11 @@ export namespace aiplatform_v1beta1 { undeployIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Undeployindex, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undeployIndex( params?: Params$Resource$Projects$Locations$Indexendpoints$Undeployindex, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undeployIndex( params: Params$Resource$Projects$Locations$Indexendpoints$Undeployindex, options: StreamMethodOptions | BodyResponseCallback, @@ -58701,8 +59356,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Undeployindex; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58891,11 +59546,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Indexendpoints$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -58926,8 +59581,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58983,11 +59638,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Indexendpoints$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -59018,8 +59673,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59072,11 +59727,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Indexendpoints$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -59111,8 +59766,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59165,11 +59820,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Indexendpoints$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -59204,8 +59861,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59263,11 +59922,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Indexendpoints$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Indexendpoints$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -59302,8 +59961,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexendpoints$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59422,11 +60081,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Indexes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Indexes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Indexes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -59461,8 +60120,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59517,11 +60176,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Indexes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Indexes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Indexes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -59556,8 +60215,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59609,11 +60268,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Indexes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Indexes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Indexes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -59648,8 +60309,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59703,11 +60366,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Indexes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Indexes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Indexes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -59742,8 +60407,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59800,11 +60467,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Indexes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Indexes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Indexes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -59839,8 +60506,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59892,11 +60559,13 @@ export namespace aiplatform_v1beta1 { removeDatapoints( params: Params$Resource$Projects$Locations$Indexes$Removedatapoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeDatapoints( params?: Params$Resource$Projects$Locations$Indexes$Removedatapoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeDatapoints( params: Params$Resource$Projects$Locations$Indexes$Removedatapoints, options: StreamMethodOptions | BodyResponseCallback, @@ -59931,8 +60600,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Removedatapoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59990,11 +60661,13 @@ export namespace aiplatform_v1beta1 { upsertDatapoints( params: Params$Resource$Projects$Locations$Indexes$Upsertdatapoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upsertDatapoints( params?: Params$Resource$Projects$Locations$Indexes$Upsertdatapoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; upsertDatapoints( params: Params$Resource$Projects$Locations$Indexes$Upsertdatapoints, options: StreamMethodOptions | BodyResponseCallback, @@ -60029,8 +60702,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Upsertdatapoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60185,11 +60860,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Indexes$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Indexes$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Indexes$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -60220,8 +60895,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60277,11 +60952,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Indexes$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Indexes$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Indexes$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -60312,8 +60987,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60366,11 +61041,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Indexes$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Indexes$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Indexes$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -60405,8 +61080,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60459,11 +61134,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Indexes$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Indexes$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Indexes$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -60498,8 +61175,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60557,11 +61236,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Indexes$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Indexes$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Indexes$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -60596,8 +61275,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Indexes$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60731,11 +61410,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Metadatastores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Metadatastores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Metadatastores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -60770,8 +61449,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60826,11 +61505,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -60865,8 +61544,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60918,11 +61597,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Metadatastores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -60957,8 +61638,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61012,11 +61695,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Metadatastores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -61051,8 +61736,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61171,11 +61858,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -61210,8 +61899,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61269,11 +61960,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -61308,8 +61999,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61362,11 +62053,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -61401,8 +62094,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61457,11 +62152,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -61496,8 +62193,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61555,11 +62254,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -61594,8 +62295,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61650,11 +62353,11 @@ export namespace aiplatform_v1beta1 { purge( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -61689,8 +62392,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61746,11 +62449,13 @@ export namespace aiplatform_v1beta1 { queryArtifactLineageSubgraph( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Queryartifactlineagesubgraph, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryArtifactLineageSubgraph( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Queryartifactlineagesubgraph, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryArtifactLineageSubgraph( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Queryartifactlineagesubgraph, options: StreamMethodOptions | BodyResponseCallback, @@ -61785,8 +62490,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Queryartifactlineagesubgraph; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61955,11 +62662,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -61990,8 +62697,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62047,11 +62754,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -62082,8 +62789,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62136,11 +62843,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -62175,8 +62882,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62229,11 +62936,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -62268,8 +62977,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62327,11 +63038,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -62366,8 +63077,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62487,11 +63198,13 @@ export namespace aiplatform_v1beta1 { addContextArtifactsAndExecutions( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextartifactsandexecutions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addContextArtifactsAndExecutions( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextartifactsandexecutions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addContextArtifactsAndExecutions( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextartifactsandexecutions, options: StreamMethodOptions | BodyResponseCallback, @@ -62526,8 +63239,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextartifactsandexecutions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62584,11 +63299,13 @@ export namespace aiplatform_v1beta1 { addContextChildren( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextchildren, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addContextChildren( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextchildren, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addContextChildren( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextchildren, options: StreamMethodOptions | BodyResponseCallback, @@ -62623,8 +63340,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Addcontextchildren; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62682,11 +63401,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -62721,8 +63442,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62780,11 +63503,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -62819,8 +63542,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62873,11 +63596,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -62912,8 +63637,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62968,11 +63695,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -63007,8 +63736,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63066,11 +63797,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -63105,8 +63838,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63161,11 +63896,11 @@ export namespace aiplatform_v1beta1 { purge( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -63200,8 +63935,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63257,11 +63992,13 @@ export namespace aiplatform_v1beta1 { queryContextLineageSubgraph( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Querycontextlineagesubgraph, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryContextLineageSubgraph( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Querycontextlineagesubgraph, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryContextLineageSubgraph( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Querycontextlineagesubgraph, options: StreamMethodOptions | BodyResponseCallback, @@ -63296,8 +64033,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Querycontextlineagesubgraph; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63354,11 +64093,13 @@ export namespace aiplatform_v1beta1 { removeContextChildren( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Removecontextchildren, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeContextChildren( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Removecontextchildren, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeContextChildren( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Removecontextchildren, options: StreamMethodOptions | BodyResponseCallback, @@ -63393,8 +64134,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Removecontextchildren; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63595,11 +64338,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -63630,8 +64373,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63687,11 +64430,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -63722,8 +64465,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63776,11 +64519,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -63815,8 +64558,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63869,11 +64612,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -63908,8 +64653,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63967,11 +64714,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -64006,8 +64753,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64127,11 +64874,13 @@ export namespace aiplatform_v1beta1 { addExecutionEvents( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Addexecutionevents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addExecutionEvents( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Addexecutionevents, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addExecutionEvents( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Addexecutionevents, options: StreamMethodOptions | BodyResponseCallback, @@ -64166,8 +64915,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Addexecutionevents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64225,11 +64976,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -64264,8 +65017,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64323,11 +65078,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -64362,8 +65117,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64416,11 +65171,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -64455,8 +65212,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64511,11 +65270,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Executions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Executions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -64550,8 +65311,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64609,11 +65372,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -64648,8 +65413,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64704,11 +65471,11 @@ export namespace aiplatform_v1beta1 { purge( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -64743,8 +65510,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64800,11 +65567,13 @@ export namespace aiplatform_v1beta1 { queryExecutionInputsAndOutputs( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Queryexecutioninputsandoutputs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryExecutionInputsAndOutputs( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Queryexecutioninputsandoutputs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryExecutionInputsAndOutputs( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Queryexecutioninputsandoutputs, options: StreamMethodOptions | BodyResponseCallback, @@ -64839,8 +65608,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Queryexecutioninputsandoutputs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65013,11 +65784,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -65048,8 +65819,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65105,11 +65876,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -65140,8 +65911,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65194,11 +65965,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -65233,8 +66004,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65287,11 +66058,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -65326,8 +66099,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65385,11 +66160,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -65424,8 +66199,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65540,11 +66315,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -65579,8 +66356,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65638,11 +66417,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -65677,8 +66458,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65733,11 +66516,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -65772,8 +66557,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Metadataschemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65881,11 +66668,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Metadatastores$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -65916,8 +66703,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65973,11 +66760,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Metadatastores$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -66008,8 +66795,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66062,11 +66849,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatastores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -66101,8 +66888,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66155,11 +66942,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Metadatastores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatastores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatastores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -66194,8 +66983,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66253,11 +67044,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Metadatastores$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Metadatastores$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -66292,8 +67083,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatastores$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66413,11 +67204,11 @@ export namespace aiplatform_v1beta1 { batchMigrate( params: Params$Resource$Projects$Locations$Migratableresources$Batchmigrate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchMigrate( params?: Params$Resource$Projects$Locations$Migratableresources$Batchmigrate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchMigrate( params: Params$Resource$Projects$Locations$Migratableresources$Batchmigrate, options: StreamMethodOptions | BodyResponseCallback, @@ -66452,8 +67243,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Batchmigrate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66508,11 +67299,13 @@ export namespace aiplatform_v1beta1 { search( params: Params$Resource$Projects$Locations$Migratableresources$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Migratableresources$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Migratableresources$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -66547,8 +67340,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66637,11 +67432,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Migratableresources$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -66672,8 +67467,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66729,11 +67524,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Migratableresources$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -66764,8 +67559,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66818,11 +67613,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Migratableresources$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -66857,8 +67652,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66911,11 +67706,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Migratableresources$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Migratableresources$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Migratableresources$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -66950,8 +67747,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67009,11 +67808,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Migratableresources$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Migratableresources$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -67048,8 +67847,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migratableresources$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67169,11 +67968,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -67208,8 +68009,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67266,11 +68069,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -67305,8 +68108,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67359,11 +68162,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -67398,8 +68203,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67454,11 +68261,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -67493,8 +68302,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67551,11 +68362,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -67590,8 +68401,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67644,11 +68455,11 @@ export namespace aiplatform_v1beta1 { pause( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -67679,8 +68490,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67736,11 +68547,11 @@ export namespace aiplatform_v1beta1 { resume( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -67771,8 +68582,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67828,11 +68639,13 @@ export namespace aiplatform_v1beta1 { searchModelDeploymentMonitoringStatsAnomalies( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Searchmodeldeploymentmonitoringstatsanomalies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchModelDeploymentMonitoringStatsAnomalies( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Searchmodeldeploymentmonitoringstatsanomalies, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchModelDeploymentMonitoringStatsAnomalies( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Searchmodeldeploymentmonitoringstatsanomalies, options: StreamMethodOptions | BodyResponseCallback, @@ -67867,8 +68680,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Searchmodeldeploymentmonitoringstatsanomalies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68035,11 +68850,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -68070,8 +68885,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68127,11 +68942,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -68162,8 +68977,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68216,11 +69031,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -68255,8 +69070,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68309,11 +69124,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -68348,8 +69165,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68407,11 +69226,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -68446,8 +69265,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68570,11 +69389,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Modelmonitors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Modelmonitors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Modelmonitors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -68609,8 +69428,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68665,11 +69484,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Modelmonitors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Modelmonitors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Modelmonitors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -68704,8 +69523,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68757,11 +69576,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Modelmonitors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Modelmonitors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Modelmonitors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -68796,8 +69617,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68851,11 +69674,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Modelmonitors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Modelmonitors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Modelmonitors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -68890,8 +69715,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68948,11 +69775,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Modelmonitors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Modelmonitors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Modelmonitors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -68987,8 +69814,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69040,11 +69867,13 @@ export namespace aiplatform_v1beta1 { searchModelMonitoringAlerts( params: Params$Resource$Projects$Locations$Modelmonitors$Searchmodelmonitoringalerts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchModelMonitoringAlerts( params?: Params$Resource$Projects$Locations$Modelmonitors$Searchmodelmonitoringalerts, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchModelMonitoringAlerts( params: Params$Resource$Projects$Locations$Modelmonitors$Searchmodelmonitoringalerts, options: StreamMethodOptions | BodyResponseCallback, @@ -69079,8 +69908,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Searchmodelmonitoringalerts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69137,11 +69968,13 @@ export namespace aiplatform_v1beta1 { searchModelMonitoringStats( params: Params$Resource$Projects$Locations$Modelmonitors$Searchmodelmonitoringstats, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchModelMonitoringStats( params?: Params$Resource$Projects$Locations$Modelmonitors$Searchmodelmonitoringstats, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchModelMonitoringStats( params: Params$Resource$Projects$Locations$Modelmonitors$Searchmodelmonitoringstats, options: StreamMethodOptions | BodyResponseCallback, @@ -69176,8 +70009,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Searchmodelmonitoringstats; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69339,11 +70174,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -69378,8 +70215,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69437,11 +70276,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -69476,8 +70315,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69530,11 +70369,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -69569,8 +70410,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69625,11 +70468,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -69664,8 +70509,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Modelmonitoringjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69784,11 +70631,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Modelmonitors$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Modelmonitors$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Modelmonitors$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -69819,8 +70666,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69876,11 +70723,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Modelmonitors$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Modelmonitors$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Modelmonitors$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -69911,8 +70758,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69965,11 +70812,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Modelmonitors$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Modelmonitors$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Modelmonitors$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -70004,8 +70851,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70058,11 +70905,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Modelmonitors$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Modelmonitors$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Modelmonitors$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -70097,8 +70946,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70156,11 +71007,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Modelmonitors$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Modelmonitors$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Modelmonitors$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -70195,8 +71046,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Modelmonitors$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70319,11 +71170,11 @@ export namespace aiplatform_v1beta1 { copy( params: Params$Resource$Projects$Locations$Models$Copy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copy( params?: Params$Resource$Projects$Locations$Models$Copy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copy( params: Params$Resource$Projects$Locations$Models$Copy, options: StreamMethodOptions | BodyResponseCallback, @@ -70358,8 +71209,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Copy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70414,11 +71265,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Models$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Models$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Models$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -70453,8 +71304,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70506,11 +71357,11 @@ export namespace aiplatform_v1beta1 { deleteVersion( params: Params$Resource$Projects$Locations$Models$Deleteversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteVersion( params?: Params$Resource$Projects$Locations$Models$Deleteversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteVersion( params: Params$Resource$Projects$Locations$Models$Deleteversion, options: StreamMethodOptions | BodyResponseCallback, @@ -70545,8 +71396,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Deleteversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70601,11 +71452,11 @@ export namespace aiplatform_v1beta1 { export( params: Params$Resource$Projects$Locations$Models$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Models$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Models$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -70640,8 +71491,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70696,11 +71547,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Models$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Models$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Models$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -70735,8 +71588,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70790,11 +71645,11 @@ export namespace aiplatform_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Models$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Models$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Models$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -70827,8 +71682,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70883,11 +71738,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Models$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Models$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Models$List, options: StreamMethodOptions | BodyResponseCallback, @@ -70922,8 +71779,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70980,11 +71839,13 @@ export namespace aiplatform_v1beta1 { listCheckpoints( params: Params$Resource$Projects$Locations$Models$Listcheckpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listCheckpoints( params?: Params$Resource$Projects$Locations$Models$Listcheckpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listCheckpoints( params: Params$Resource$Projects$Locations$Models$Listcheckpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -71019,8 +71880,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Listcheckpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71078,11 +71941,13 @@ export namespace aiplatform_v1beta1 { listVersions( params: Params$Resource$Projects$Locations$Models$Listversions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listVersions( params?: Params$Resource$Projects$Locations$Models$Listversions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listVersions( params: Params$Resource$Projects$Locations$Models$Listversions, options: StreamMethodOptions | BodyResponseCallback, @@ -71117,8 +71982,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Listversions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71175,11 +72042,13 @@ export namespace aiplatform_v1beta1 { mergeVersionAliases( params: Params$Resource$Projects$Locations$Models$Mergeversionaliases, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; mergeVersionAliases( params?: Params$Resource$Projects$Locations$Models$Mergeversionaliases, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; mergeVersionAliases( params: Params$Resource$Projects$Locations$Models$Mergeversionaliases, options: StreamMethodOptions | BodyResponseCallback, @@ -71214,8 +72083,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Mergeversionaliases; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71273,11 +72144,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Models$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Models$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Models$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -71312,8 +72185,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71367,11 +72242,11 @@ export namespace aiplatform_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Models$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Models$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Models$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -71404,8 +72279,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71460,11 +72335,13 @@ export namespace aiplatform_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Models$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Models$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Models$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -71499,8 +72376,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71558,11 +72437,11 @@ export namespace aiplatform_v1beta1 { updateExplanationDataset( params: Params$Resource$Projects$Locations$Models$Updateexplanationdataset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateExplanationDataset( params?: Params$Resource$Projects$Locations$Models$Updateexplanationdataset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateExplanationDataset( params: Params$Resource$Projects$Locations$Models$Updateexplanationdataset, options: StreamMethodOptions | BodyResponseCallback, @@ -71597,8 +72476,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Updateexplanationdataset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71653,11 +72532,11 @@ export namespace aiplatform_v1beta1 { upload( params: Params$Resource$Projects$Locations$Models$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Locations$Models$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Projects$Locations$Models$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -71692,8 +72571,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71961,11 +72840,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Models$Evaluations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Models$Evaluations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Models$Evaluations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -72000,8 +72881,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72056,11 +72939,13 @@ export namespace aiplatform_v1beta1 { import( params: Params$Resource$Projects$Locations$Models$Evaluations$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Models$Evaluations$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; import( params: Params$Resource$Projects$Locations$Models$Evaluations$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -72095,8 +72980,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72154,11 +73041,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Models$Evaluations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Models$Evaluations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Models$Evaluations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -72193,8 +73082,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72302,11 +73193,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -72337,8 +73228,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72394,11 +73285,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -72429,8 +73320,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72483,11 +73374,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -72522,8 +73413,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72576,11 +73467,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Models$Evaluations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -72615,8 +73508,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72674,11 +73569,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Models$Evaluations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -72713,8 +73608,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72829,11 +73724,13 @@ export namespace aiplatform_v1beta1 { batchImport( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Batchimport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchImport( params?: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Batchimport, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchImport( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Batchimport, options: StreamMethodOptions | BodyResponseCallback, @@ -72868,8 +73765,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Slices$Batchimport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72927,11 +73826,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -72966,8 +73867,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Slices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73022,11 +73925,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Models$Evaluations$Slices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Models$Evaluations$Slices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -73061,8 +73966,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Evaluations$Slices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73170,11 +74077,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Models$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Models$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Models$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -73205,8 +74112,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73262,11 +74169,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Models$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Models$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Models$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -73297,8 +74204,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73351,11 +74258,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Models$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Models$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Models$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -73390,8 +74297,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73443,11 +74350,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Models$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Models$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Models$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -73482,8 +74391,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73541,11 +74452,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Models$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Models$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Models$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -73580,8 +74491,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73699,11 +74610,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Nasjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Nasjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Nasjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -73734,8 +74645,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73790,11 +74701,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Nasjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Nasjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Nasjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -73829,8 +74742,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73887,11 +74802,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Nasjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Nasjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Nasjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -73926,8 +74841,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73979,11 +74894,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Nasjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Nasjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Nasjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -74018,8 +74935,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74073,11 +74992,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Nasjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Nasjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Nasjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -74112,8 +75033,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74239,11 +75162,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -74278,8 +75203,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74334,11 +75261,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$List, options: StreamMethodOptions | BodyResponseCallback, @@ -74373,8 +75302,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nasjobs$Nastrialdetails$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74467,11 +75398,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -74506,8 +75437,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74563,11 +75494,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -74602,8 +75533,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74656,11 +75587,13 @@ export namespace aiplatform_v1beta1 { generateAccessToken( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Generateaccesstoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateAccessToken( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Generateaccesstoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateAccessToken( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Generateaccesstoken, options: StreamMethodOptions | BodyResponseCallback, @@ -74695,8 +75628,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Generateaccesstoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74754,11 +75689,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -74793,8 +75730,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74849,11 +75788,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -74888,8 +75829,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74946,11 +75889,13 @@ export namespace aiplatform_v1beta1 { reportEvent( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Reportevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportEvent( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Reportevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; reportEvent( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Reportevent, options: StreamMethodOptions | BodyResponseCallback, @@ -74985,8 +75930,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Reportevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75137,11 +76084,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -75172,8 +76119,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75229,11 +76176,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -75264,8 +76211,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75318,11 +76265,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -75357,8 +76304,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75411,11 +76358,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -75450,8 +76399,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75509,11 +76460,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -75548,8 +76499,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75669,11 +76620,11 @@ export namespace aiplatform_v1beta1 { assign( params: Params$Resource$Projects$Locations$Notebookruntimes$Assign, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; assign( params?: Params$Resource$Projects$Locations$Notebookruntimes$Assign, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; assign( params: Params$Resource$Projects$Locations$Notebookruntimes$Assign, options: StreamMethodOptions | BodyResponseCallback, @@ -75708,8 +76659,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Assign; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75764,11 +76715,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Notebookruntimes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookruntimes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookruntimes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -75803,8 +76754,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75857,11 +76808,13 @@ export namespace aiplatform_v1beta1 { generateAccessToken( params: Params$Resource$Projects$Locations$Notebookruntimes$Generateaccesstoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateAccessToken( params?: Params$Resource$Projects$Locations$Notebookruntimes$Generateaccesstoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateAccessToken( params: Params$Resource$Projects$Locations$Notebookruntimes$Generateaccesstoken, options: StreamMethodOptions | BodyResponseCallback, @@ -75896,8 +76849,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Generateaccesstoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75955,11 +76910,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Notebookruntimes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookruntimes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Notebookruntimes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -75994,8 +76951,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76049,11 +77008,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Notebookruntimes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookruntimes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookruntimes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -76088,8 +77049,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76145,11 +77108,13 @@ export namespace aiplatform_v1beta1 { reportEvent( params: Params$Resource$Projects$Locations$Notebookruntimes$Reportevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportEvent( params?: Params$Resource$Projects$Locations$Notebookruntimes$Reportevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; reportEvent( params: Params$Resource$Projects$Locations$Notebookruntimes$Reportevent, options: StreamMethodOptions | BodyResponseCallback, @@ -76184,8 +77149,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Reportevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76243,11 +77210,11 @@ export namespace aiplatform_v1beta1 { start( params: Params$Resource$Projects$Locations$Notebookruntimes$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Notebookruntimes$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Notebookruntimes$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -76282,8 +77249,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76339,11 +77306,11 @@ export namespace aiplatform_v1beta1 { stop( params: Params$Resource$Projects$Locations$Notebookruntimes$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Notebookruntimes$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Notebookruntimes$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -76378,8 +77345,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76434,11 +77401,11 @@ export namespace aiplatform_v1beta1 { upgrade( params: Params$Resource$Projects$Locations$Notebookruntimes$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Notebookruntimes$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Notebookruntimes$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -76473,8 +77440,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76651,11 +77618,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -76686,8 +77653,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76743,11 +77710,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -76778,8 +77745,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76832,11 +77799,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -76871,8 +77838,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76925,11 +77892,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookruntimes$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -76964,8 +77933,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77023,11 +77994,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Notebookruntimes$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -77062,8 +78033,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimes$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77183,11 +78154,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -77222,8 +78193,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77278,11 +78249,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -77317,8 +78288,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77371,11 +78342,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -77410,8 +78383,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77466,11 +78441,11 @@ export namespace aiplatform_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -77503,8 +78478,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77560,11 +78535,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -77599,8 +78576,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77657,11 +78636,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -77696,8 +78677,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77752,11 +78735,11 @@ export namespace aiplatform_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -77789,8 +78772,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77846,11 +78829,13 @@ export namespace aiplatform_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -77885,8 +78870,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78059,11 +79046,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -78094,8 +79081,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78151,11 +79138,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -78186,8 +79173,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78240,11 +79227,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -78279,8 +79266,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78333,11 +79320,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -78372,8 +79361,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78431,11 +79422,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -78470,8 +79461,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78586,11 +79577,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -78621,8 +79612,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78677,11 +79668,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -78712,8 +79703,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78765,11 +79756,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -78804,8 +79795,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78857,11 +79848,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -78896,8 +79889,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78954,11 +79949,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -78993,8 +79988,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79113,11 +80108,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Persistentresources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Persistentresources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Persistentresources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -79152,8 +80147,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79209,11 +80204,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Persistentresources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Persistentresources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Persistentresources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -79248,8 +80243,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79302,11 +80297,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Persistentresources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Persistentresources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Persistentresources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -79341,8 +80338,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79397,11 +80396,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Persistentresources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Persistentresources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Persistentresources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -79436,8 +80437,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79495,11 +80498,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Persistentresources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Persistentresources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Persistentresources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -79534,8 +80537,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79588,11 +80591,11 @@ export namespace aiplatform_v1beta1 { reboot( params: Params$Resource$Projects$Locations$Persistentresources$Reboot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reboot( params?: Params$Resource$Projects$Locations$Persistentresources$Reboot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reboot( params: Params$Resource$Projects$Locations$Persistentresources$Reboot, options: StreamMethodOptions | BodyResponseCallback, @@ -79627,8 +80630,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Reboot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79765,11 +80768,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Persistentresources$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -79800,8 +80803,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79857,11 +80860,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Persistentresources$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -79892,8 +80895,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79946,11 +80949,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Persistentresources$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -79985,8 +80988,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80039,11 +81042,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Persistentresources$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Persistentresources$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Persistentresources$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -80078,8 +81083,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80137,11 +81144,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Persistentresources$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Persistentresources$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -80176,8 +81183,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Persistentresources$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80296,11 +81303,11 @@ export namespace aiplatform_v1beta1 { batchCancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Batchcancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCancel( params?: Params$Resource$Projects$Locations$Pipelinejobs$Batchcancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Batchcancel, options: StreamMethodOptions | BodyResponseCallback, @@ -80335,8 +81342,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Batchcancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80391,11 +81398,11 @@ export namespace aiplatform_v1beta1 { batchDelete( params: Params$Resource$Projects$Locations$Pipelinejobs$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Pipelinejobs$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Pipelinejobs$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -80430,8 +81437,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80486,11 +81493,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Pipelinejobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -80521,8 +81528,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80577,11 +81584,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Pipelinejobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Pipelinejobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Pipelinejobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -80616,8 +81625,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80674,11 +81685,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Pipelinejobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Pipelinejobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Pipelinejobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -80713,8 +81724,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80766,11 +81777,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Pipelinejobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Pipelinejobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Pipelinejobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -80805,8 +81818,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80860,11 +81875,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Pipelinejobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Pipelinejobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Pipelinejobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -80899,8 +81916,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81058,11 +82077,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -81093,8 +82112,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81150,11 +82169,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -81185,8 +82204,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81239,11 +82258,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -81278,8 +82297,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81332,11 +82351,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Pipelinejobs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -81371,8 +82392,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81430,11 +82453,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Pipelinejobs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -81469,8 +82492,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelinejobs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81596,11 +82619,13 @@ export namespace aiplatform_v1beta1 { computeTokens( params: Params$Resource$Projects$Locations$Publishers$Models$Computetokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeTokens( params?: Params$Resource$Projects$Locations$Publishers$Models$Computetokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; computeTokens( params: Params$Resource$Projects$Locations$Publishers$Models$Computetokens, options: StreamMethodOptions | BodyResponseCallback, @@ -81635,8 +82660,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Computetokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81694,11 +82721,13 @@ export namespace aiplatform_v1beta1 { countTokens( params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countTokens( params?: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countTokens( params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options: StreamMethodOptions | BodyResponseCallback, @@ -81733,8 +82762,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Counttokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81792,11 +82823,11 @@ export namespace aiplatform_v1beta1 { export( params: Params$Resource$Projects$Locations$Publishers$Models$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Publishers$Models$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Publishers$Models$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -81831,8 +82862,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81888,11 +82919,11 @@ export namespace aiplatform_v1beta1 { fetchPredictOperation( params: Params$Resource$Projects$Locations$Publishers$Models$Fetchpredictoperation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchPredictOperation( params?: Params$Resource$Projects$Locations$Publishers$Models$Fetchpredictoperation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchPredictOperation( params: Params$Resource$Projects$Locations$Publishers$Models$Fetchpredictoperation, options: StreamMethodOptions | BodyResponseCallback, @@ -81927,8 +82958,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Fetchpredictoperation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81983,11 +83014,13 @@ export namespace aiplatform_v1beta1 { fetchPublisherModelConfig( params: Params$Resource$Projects$Locations$Publishers$Models$Fetchpublishermodelconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchPublisherModelConfig( params?: Params$Resource$Projects$Locations$Publishers$Models$Fetchpublishermodelconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchPublisherModelConfig( params: Params$Resource$Projects$Locations$Publishers$Models$Fetchpublishermodelconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -82022,8 +83055,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Fetchpublishermodelconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82080,11 +83115,13 @@ export namespace aiplatform_v1beta1 { generateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateContent( params?: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -82119,8 +83156,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Generatecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82178,11 +83217,11 @@ export namespace aiplatform_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Publishers$Models$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Publishers$Models$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Publishers$Models$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -82215,8 +83254,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82272,11 +83311,13 @@ export namespace aiplatform_v1beta1 { predict( params: Params$Resource$Projects$Locations$Publishers$Models$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Locations$Publishers$Models$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Projects$Locations$Publishers$Models$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -82311,8 +83352,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82369,11 +83412,11 @@ export namespace aiplatform_v1beta1 { predictLongRunning( params: Params$Resource$Projects$Locations$Publishers$Models$Predictlongrunning, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predictLongRunning( params?: Params$Resource$Projects$Locations$Publishers$Models$Predictlongrunning, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; predictLongRunning( params: Params$Resource$Projects$Locations$Publishers$Models$Predictlongrunning, options: StreamMethodOptions | BodyResponseCallback, @@ -82408,8 +83451,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Predictlongrunning; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82465,11 +83508,11 @@ export namespace aiplatform_v1beta1 { rawPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Rawpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rawPredict( params?: Params$Resource$Projects$Locations$Publishers$Models$Rawpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rawPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Rawpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -82500,8 +83543,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Rawpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82557,11 +83600,13 @@ export namespace aiplatform_v1beta1 { serverStreamingPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Serverstreamingpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; serverStreamingPredict( params?: Params$Resource$Projects$Locations$Publishers$Models$Serverstreamingpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; serverStreamingPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Serverstreamingpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -82596,8 +83641,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Serverstreamingpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82654,11 +83701,11 @@ export namespace aiplatform_v1beta1 { setPublisherModelConfig( params: Params$Resource$Projects$Locations$Publishers$Models$Setpublishermodelconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setPublisherModelConfig( params?: Params$Resource$Projects$Locations$Publishers$Models$Setpublishermodelconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setPublisherModelConfig( params: Params$Resource$Projects$Locations$Publishers$Models$Setpublishermodelconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -82693,8 +83740,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Setpublishermodelconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82750,11 +83797,13 @@ export namespace aiplatform_v1beta1 { streamGenerateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamGenerateContent( params?: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamGenerateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -82789,8 +83838,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82848,11 +83899,11 @@ export namespace aiplatform_v1beta1 { streamRawPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Streamrawpredict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamRawPredict( params?: Params$Resource$Projects$Locations$Publishers$Models$Streamrawpredict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; streamRawPredict( params: Params$Resource$Projects$Locations$Publishers$Models$Streamrawpredict, options: StreamMethodOptions | BodyResponseCallback, @@ -82885,8 +83936,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Streamrawpredict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83124,11 +84175,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Ragcorpora$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Ragcorpora$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Ragcorpora$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -83163,8 +84214,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83219,11 +84270,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Ragcorpora$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ragcorpora$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ragcorpora$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -83258,8 +84309,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83311,11 +84362,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Ragcorpora$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ragcorpora$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Ragcorpora$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -83350,8 +84403,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83405,11 +84460,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Ragcorpora$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ragcorpora$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Ragcorpora$List, options: StreamMethodOptions | BodyResponseCallback, @@ -83444,8 +84501,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83502,11 +84561,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Ragcorpora$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Ragcorpora$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Ragcorpora$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -83541,8 +84600,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83659,11 +84718,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Ragcorpora$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -83694,8 +84753,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83751,11 +84810,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ragcorpora$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -83786,8 +84845,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83840,11 +84899,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ragcorpora$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -83879,8 +84938,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83933,11 +84992,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ragcorpora$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -83972,8 +85033,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84031,11 +85094,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Ragcorpora$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Ragcorpora$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -84070,8 +85133,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84191,11 +85254,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -84230,8 +85293,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84284,11 +85347,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -84323,8 +85388,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84379,11 +85446,11 @@ export namespace aiplatform_v1beta1 { import( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -84418,8 +85485,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84475,11 +85542,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -84514,8 +85583,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84622,11 +85693,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -84657,8 +85728,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84714,11 +85785,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -84749,8 +85820,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84803,11 +85874,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -84842,8 +85913,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84896,11 +85967,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -84935,8 +86008,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84994,11 +86069,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -85033,8 +86108,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85161,11 +86236,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -85196,8 +86271,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragengineconfig$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85253,11 +86328,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -85288,8 +86363,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragengineconfig$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85342,11 +86417,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -85381,8 +86456,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragengineconfig$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85435,11 +86510,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ragengineconfig$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -85474,8 +86551,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragengineconfig$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85533,11 +86612,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Ragengineconfig$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -85572,8 +86651,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ragengineconfig$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85674,6 +86753,7 @@ export namespace aiplatform_v1beta1 { export class Resource$Projects$Locations$Reasoningengines { context: APIRequestContext; operations: Resource$Projects$Locations$Reasoningengines$Operations; + sandboxEnvironments: Resource$Projects$Locations$Reasoningengines$Sandboxenvironments; sessions: Resource$Projects$Locations$Reasoningengines$Sessions; constructor(context: APIRequestContext) { this.context = context; @@ -85681,6 +86761,10 @@ export namespace aiplatform_v1beta1 { new Resource$Projects$Locations$Reasoningengines$Operations( this.context ); + this.sandboxEnvironments = + new Resource$Projects$Locations$Reasoningengines$Sandboxenvironments( + this.context + ); this.sessions = new Resource$Projects$Locations$Reasoningengines$Sessions( this.context ); @@ -85697,11 +86781,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Reasoningengines$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reasoningengines$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reasoningengines$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -85736,8 +86820,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85793,11 +86877,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Reasoningengines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reasoningengines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reasoningengines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -85832,8 +86916,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85886,11 +86970,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Reasoningengines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reasoningengines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Reasoningengines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -85925,8 +87011,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85980,11 +87068,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Reasoningengines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reasoningengines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Reasoningengines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -86019,8 +87109,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86077,11 +87169,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Reasoningengines$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Reasoningengines$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Reasoningengines$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -86116,8 +87208,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86170,11 +87262,13 @@ export namespace aiplatform_v1beta1 { query( params: Params$Resource$Projects$Locations$Reasoningengines$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Projects$Locations$Reasoningengines$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Projects$Locations$Reasoningengines$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -86209,8 +87303,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86268,11 +87364,11 @@ export namespace aiplatform_v1beta1 { streamQuery( params: Params$Resource$Projects$Locations$Reasoningengines$Streamquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamQuery( params?: Params$Resource$Projects$Locations$Reasoningengines$Streamquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; streamQuery( params: Params$Resource$Projects$Locations$Reasoningengines$Streamquery, options: StreamMethodOptions | BodyResponseCallback, @@ -86303,8 +87399,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Streamquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86402,7 +87498,7 @@ export namespace aiplatform_v1beta1 { export interface Params$Resource$Projects$Locations$Reasoningengines$Patch extends StandardParameters { /** - * Identifier. The resource name of the ReasoningEngine. + * Identifier. The resource name of the ReasoningEngine. Format: `projects/{project\}/locations/{location\}/reasoningEngines/{reasoning_engine\}` */ name?: string; /** @@ -86457,11 +87553,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Reasoningengines$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -86492,8 +87588,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86549,11 +87645,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reasoningengines$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -86584,8 +87680,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86638,11 +87734,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reasoningengines$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -86677,8 +87773,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86731,11 +87827,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reasoningengines$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -86770,8 +87868,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86829,11 +87929,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Reasoningengines$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Reasoningengines$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -86868,8 +87968,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86967,6 +88067,549 @@ export namespace aiplatform_v1beta1 { timeout?: string; } + export class Resource$Projects$Locations$Reasoningengines$Sandboxenvironments { + context: APIRequestContext; + operations: Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations; + constructor(context: APIRequestContext) { + this.context = context; + this.operations = + new Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations( + this.context + ); + } + } + + export class Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. + * + * @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. + */ + cancel( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Cancel, + options: StreamMethodOptions + ): Promise>; + cancel( + params?: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Cancel, + options?: MethodOptions + ): Promise>; + cancel( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Cancel, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Cancel, + callback: BodyResponseCallback + ): void; + cancel(callback: BodyResponseCallback): void; + cancel( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Cancel + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Cancel; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Cancel; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://aiplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}:cancel').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://aiplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * + * @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$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://aiplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://aiplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}/operations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. + * + * @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. + */ + wait( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Wait, + options: StreamMethodOptions + ): Promise>; + wait( + params?: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Wait, + options?: MethodOptions + ): Promise>; + wait( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Wait, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + wait( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Wait, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + wait( + params: Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Wait, + callback: BodyResponseCallback + ): void; + wait( + callback: BodyResponseCallback + ): void; + wait( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Wait + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Wait; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Wait; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://aiplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}:wait').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Cancel + extends StandardParameters { + /** + * The name of the operation resource to be cancelled. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Delete + extends StandardParameters { + /** + * The name of the operation resource to be deleted. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Get + extends StandardParameters { + /** + * The name of the operation resource. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$List + extends StandardParameters { + /** + * The standard list filter. + */ + filter?: string; + /** + * The name of the operation's parent resource. + */ + name?: string; + /** + * The standard list page size. + */ + pageSize?: number; + /** + * The standard list page token. + */ + pageToken?: string; + } + export interface Params$Resource$Projects$Locations$Reasoningengines$Sandboxenvironments$Operations$Wait + extends StandardParameters { + /** + * The name of the operation resource to wait on. + */ + name?: string; + /** + * The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. + */ + timeout?: string; + } + export class Resource$Projects$Locations$Reasoningengines$Sessions { context: APIRequestContext; events: Resource$Projects$Locations$Reasoningengines$Sessions$Events; @@ -86989,11 +88632,13 @@ export namespace aiplatform_v1beta1 { appendEvent( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Appendevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; appendEvent( params?: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Appendevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; appendEvent( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Appendevent, options: StreamMethodOptions | BodyResponseCallback, @@ -87028,8 +88673,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Sessions$Appendevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87087,11 +88734,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -87126,8 +88773,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87183,11 +88830,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -87222,8 +88869,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87276,11 +88923,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -87315,8 +88964,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87371,11 +89022,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reasoningengines$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -87410,8 +89063,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87469,11 +89124,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -87508,8 +89165,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Sessions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87649,11 +89308,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Events$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Events$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Reasoningengines$Sessions$Events$List, options: StreamMethodOptions | BodyResponseCallback, @@ -87688,8 +89349,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reasoningengines$Sessions$Events$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87774,11 +89437,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Schedules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Schedules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Schedules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -87813,8 +89478,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87871,11 +89538,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Schedules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Schedules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Schedules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -87910,8 +89577,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87963,11 +89630,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Schedules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Schedules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Schedules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -88002,8 +89671,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88057,11 +89728,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Schedules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Schedules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Schedules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -88096,8 +89769,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88154,11 +89829,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Schedules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Schedules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Schedules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -88193,8 +89870,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88248,11 +89927,11 @@ export namespace aiplatform_v1beta1 { pause( params: Params$Resource$Projects$Locations$Schedules$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Schedules$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Schedules$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -88283,8 +89962,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88339,11 +90018,11 @@ export namespace aiplatform_v1beta1 { resume( params: Params$Resource$Projects$Locations$Schedules$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Schedules$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Schedules$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -88374,8 +90053,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88527,11 +90206,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Schedules$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Schedules$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Schedules$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -88562,8 +90241,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88619,11 +90298,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Schedules$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Schedules$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Schedules$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -88654,8 +90333,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88708,11 +90387,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Schedules$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Schedules$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Schedules$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -88747,8 +90426,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88801,11 +90480,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Schedules$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Schedules$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Schedules$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -88840,8 +90521,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88899,11 +90582,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Schedules$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Schedules$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Schedules$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -88938,8 +90621,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89065,11 +90748,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Solvers$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Solvers$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Solvers$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -89100,8 +90783,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Solvers$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89154,11 +90837,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Solvers$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Solvers$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Solvers$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -89193,8 +90876,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Solvers$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89247,11 +90930,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Solvers$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Solvers$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Solvers$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -89286,8 +90971,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Solvers$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89391,11 +91078,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Specialistpools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Specialistpools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Specialistpools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -89430,8 +91117,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89487,11 +91174,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Specialistpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Specialistpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Specialistpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -89526,8 +91213,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89580,11 +91267,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Specialistpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Specialistpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Specialistpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -89619,8 +91308,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89674,11 +91365,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Specialistpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Specialistpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Specialistpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -89713,8 +91406,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89771,11 +91466,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Specialistpools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Specialistpools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Specialistpools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -89810,8 +91505,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89936,11 +91631,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Specialistpools$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -89971,8 +91666,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90028,11 +91723,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Specialistpools$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -90063,8 +91758,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90117,11 +91812,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Specialistpools$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -90156,8 +91851,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90210,11 +91905,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Specialistpools$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Specialistpools$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Specialistpools$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -90249,8 +91946,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90308,11 +92007,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Specialistpools$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Specialistpools$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -90347,8 +92046,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Specialistpools$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90471,11 +92170,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Studies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Studies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Studies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -90510,8 +92211,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90568,11 +92271,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Studies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Studies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Studies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -90603,8 +92306,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90656,11 +92359,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Studies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Studies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Studies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -90695,8 +92400,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90750,11 +92457,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Studies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Studies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Studies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -90789,8 +92498,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90847,11 +92558,13 @@ export namespace aiplatform_v1beta1 { lookup( params: Params$Resource$Projects$Locations$Studies$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Projects$Locations$Studies$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; lookup( params: Params$Resource$Projects$Locations$Studies$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -90886,8 +92599,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91005,11 +92720,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Studies$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Studies$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Studies$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -91040,8 +92755,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91097,11 +92812,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Studies$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Studies$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Studies$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -91132,8 +92847,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91186,11 +92901,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Studies$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Studies$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Studies$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -91225,8 +92940,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91279,11 +92994,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Studies$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Studies$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Studies$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -91318,8 +93035,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91377,11 +93096,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Studies$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Studies$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Studies$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -91416,8 +93135,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91535,11 +93254,13 @@ export namespace aiplatform_v1beta1 { addTrialMeasurement( params: Params$Resource$Projects$Locations$Studies$Trials$Addtrialmeasurement, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addTrialMeasurement( params?: Params$Resource$Projects$Locations$Studies$Trials$Addtrialmeasurement, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addTrialMeasurement( params: Params$Resource$Projects$Locations$Studies$Trials$Addtrialmeasurement, options: StreamMethodOptions | BodyResponseCallback, @@ -91574,8 +93295,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Addtrialmeasurement; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91632,11 +93355,11 @@ export namespace aiplatform_v1beta1 { checkTrialEarlyStoppingState( params: Params$Resource$Projects$Locations$Studies$Trials$Checktrialearlystoppingstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkTrialEarlyStoppingState( params?: Params$Resource$Projects$Locations$Studies$Trials$Checktrialearlystoppingstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkTrialEarlyStoppingState( params: Params$Resource$Projects$Locations$Studies$Trials$Checktrialearlystoppingstate, options: StreamMethodOptions | BodyResponseCallback, @@ -91671,8 +93394,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Checktrialearlystoppingstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91727,11 +93450,13 @@ export namespace aiplatform_v1beta1 { complete( params: Params$Resource$Projects$Locations$Studies$Trials$Complete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; complete( params?: Params$Resource$Projects$Locations$Studies$Trials$Complete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; complete( params: Params$Resource$Projects$Locations$Studies$Trials$Complete, options: StreamMethodOptions | BodyResponseCallback, @@ -91766,8 +93491,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Complete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91825,11 +93552,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Studies$Trials$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Studies$Trials$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Studies$Trials$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -91864,8 +93593,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91922,11 +93653,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Studies$Trials$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Studies$Trials$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Studies$Trials$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -91957,8 +93688,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92010,11 +93741,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Studies$Trials$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Studies$Trials$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Studies$Trials$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -92049,8 +93782,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92104,11 +93839,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Studies$Trials$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Studies$Trials$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Studies$Trials$List, options: StreamMethodOptions | BodyResponseCallback, @@ -92143,8 +93880,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92201,11 +93940,13 @@ export namespace aiplatform_v1beta1 { listOptimalTrials( params: Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listOptimalTrials( params?: Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listOptimalTrials( params: Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials, options: StreamMethodOptions | BodyResponseCallback, @@ -92240,8 +93981,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92298,11 +94041,13 @@ export namespace aiplatform_v1beta1 { stop( params: Params$Resource$Projects$Locations$Studies$Trials$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Studies$Trials$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; stop( params: Params$Resource$Projects$Locations$Studies$Trials$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -92337,8 +94082,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92395,11 +94142,11 @@ export namespace aiplatform_v1beta1 { suggest( params: Params$Resource$Projects$Locations$Studies$Trials$Suggest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggest( params?: Params$Resource$Projects$Locations$Studies$Trials$Suggest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suggest( params: Params$Resource$Projects$Locations$Studies$Trials$Suggest, options: StreamMethodOptions | BodyResponseCallback, @@ -92434,8 +94181,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Suggest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92612,11 +94359,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Studies$Trials$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -92647,8 +94394,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92704,11 +94451,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Studies$Trials$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -92739,8 +94486,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92793,11 +94540,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Studies$Trials$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -92832,8 +94579,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92886,11 +94633,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Studies$Trials$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -92925,8 +94674,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92984,11 +94735,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Studies$Trials$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Studies$Trials$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -93023,8 +94774,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93146,11 +94897,13 @@ export namespace aiplatform_v1beta1 { batchRead( params: Params$Resource$Projects$Locations$Tensorboards$Batchread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRead( params?: Params$Resource$Projects$Locations$Tensorboards$Batchread, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchRead( params: Params$Resource$Projects$Locations$Tensorboards$Batchread, options: StreamMethodOptions | BodyResponseCallback, @@ -93185,8 +94938,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Batchread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93244,11 +94999,11 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Tensorboards$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tensorboards$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Tensorboards$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -93283,8 +95038,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93339,11 +95094,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -93378,8 +95133,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93431,11 +95186,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tensorboards$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -93470,8 +95227,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93525,11 +95284,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Tensorboards$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$List, options: StreamMethodOptions | BodyResponseCallback, @@ -93564,8 +95325,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93622,11 +95385,11 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Tensorboards$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tensorboards$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Tensorboards$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -93661,8 +95424,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93714,11 +95477,13 @@ export namespace aiplatform_v1beta1 { readSize( params: Params$Resource$Projects$Locations$Tensorboards$Readsize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readSize( params?: Params$Resource$Projects$Locations$Tensorboards$Readsize, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; readSize( params: Params$Resource$Projects$Locations$Tensorboards$Readsize, options: StreamMethodOptions | BodyResponseCallback, @@ -93753,8 +95518,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Readsize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93811,11 +95578,13 @@ export namespace aiplatform_v1beta1 { readUsage( params: Params$Resource$Projects$Locations$Tensorboards$Readusage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readUsage( params?: Params$Resource$Projects$Locations$Tensorboards$Readusage, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; readUsage( params: Params$Resource$Projects$Locations$Tensorboards$Readusage, options: StreamMethodOptions | BodyResponseCallback, @@ -93850,8 +95619,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Readusage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94020,11 +95791,13 @@ export namespace aiplatform_v1beta1 { batchCreate( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchCreate( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -94059,8 +95832,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94118,11 +95893,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -94157,8 +95934,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94216,11 +95995,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -94255,8 +96034,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94309,11 +96088,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -94348,8 +96129,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94404,11 +96187,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -94443,8 +96228,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94502,11 +96289,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -94541,8 +96330,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94597,11 +96388,13 @@ export namespace aiplatform_v1beta1 { write( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -94636,8 +96429,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94800,11 +96595,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -94835,8 +96630,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94892,11 +96687,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -94927,8 +96722,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94981,11 +96776,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -95020,8 +96815,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95074,11 +96869,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -95113,8 +96910,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95172,11 +96971,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -95211,8 +97010,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95337,11 +97136,13 @@ export namespace aiplatform_v1beta1 { batchCreate( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchCreate( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -95376,8 +97177,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95435,11 +97238,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -95474,8 +97279,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95533,11 +97340,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -95572,8 +97379,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95626,11 +97433,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -95665,8 +97474,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95721,11 +97532,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -95760,8 +97573,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95819,11 +97634,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -95858,8 +97675,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95914,11 +97733,13 @@ export namespace aiplatform_v1beta1 { write( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -95953,8 +97774,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96117,11 +97940,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -96152,8 +97975,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96209,11 +98032,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -96244,8 +98067,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96298,11 +98121,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -96337,8 +98160,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96391,11 +98214,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -96430,8 +98255,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96489,11 +98316,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -96528,8 +98355,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96649,11 +98476,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -96688,8 +98517,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96747,11 +98578,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -96786,8 +98617,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96840,11 +98671,13 @@ export namespace aiplatform_v1beta1 { exportTensorboardTimeSeries( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Exporttensorboardtimeseries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportTensorboardTimeSeries( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Exporttensorboardtimeseries, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exportTensorboardTimeSeries( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Exporttensorboardtimeseries, options: StreamMethodOptions | BodyResponseCallback, @@ -96879,8 +98712,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Exporttensorboardtimeseries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96938,11 +98773,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -96977,8 +98814,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97033,11 +98872,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -97072,8 +98913,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97131,11 +98974,13 @@ export namespace aiplatform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -97170,8 +99015,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97226,11 +99073,13 @@ export namespace aiplatform_v1beta1 { read( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Read, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; read( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Read, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; read( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Read, options: StreamMethodOptions | BodyResponseCallback, @@ -97265,8 +99114,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Read; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97324,11 +99175,13 @@ export namespace aiplatform_v1beta1 { readBlobData( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Readblobdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readBlobData( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Readblobdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; readBlobData( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Readblobdata, options: StreamMethodOptions | BodyResponseCallback, @@ -97363,8 +99216,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Readblobdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97541,11 +99396,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -97576,8 +99431,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97633,11 +99488,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -97668,8 +99523,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97722,11 +99577,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -97761,8 +99616,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97815,11 +99670,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -97854,8 +99711,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97913,11 +99772,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -97952,8 +99811,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98068,11 +99927,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Tensorboards$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -98103,8 +99962,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98160,11 +100019,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tensorboards$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -98195,8 +100054,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98249,11 +100108,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorboards$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -98288,8 +100147,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98342,11 +100201,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Tensorboards$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorboards$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tensorboards$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -98381,8 +100242,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98440,11 +100303,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Tensorboards$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Tensorboards$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -98479,8 +100342,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorboards$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98600,11 +100463,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Trainingpipelines$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Trainingpipelines$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Trainingpipelines$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -98635,8 +100498,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98692,11 +100555,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Trainingpipelines$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Trainingpipelines$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Trainingpipelines$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -98731,8 +100596,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98790,11 +100657,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Trainingpipelines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Trainingpipelines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Trainingpipelines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -98829,8 +100696,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98883,11 +100750,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Trainingpipelines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Trainingpipelines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Trainingpipelines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -98922,8 +100791,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98977,11 +100848,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Trainingpipelines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Trainingpipelines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Trainingpipelines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -99016,8 +100889,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99144,11 +101019,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -99179,8 +101054,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99236,11 +101111,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -99271,8 +101146,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99325,11 +101200,11 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -99364,8 +101239,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99418,11 +101293,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Trainingpipelines$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -99457,8 +101334,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99516,11 +101395,11 @@ export namespace aiplatform_v1beta1 { wait( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Trainingpipelines$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -99555,8 +101434,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trainingpipelines$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99675,11 +101554,11 @@ export namespace aiplatform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Tuningjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Tuningjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Tuningjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -99710,8 +101589,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99766,11 +101645,13 @@ export namespace aiplatform_v1beta1 { create( params: Params$Resource$Projects$Locations$Tuningjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tuningjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tuningjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -99805,8 +101686,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99863,11 +101746,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Projects$Locations$Tuningjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tuningjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tuningjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -99902,8 +101787,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99957,11 +101844,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Projects$Locations$Tuningjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tuningjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tuningjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -99996,8 +101885,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100054,11 +101945,11 @@ export namespace aiplatform_v1beta1 { rebaseTunedModel( params: Params$Resource$Projects$Locations$Tuningjobs$Rebasetunedmodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rebaseTunedModel( params?: Params$Resource$Projects$Locations$Tuningjobs$Rebasetunedmodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rebaseTunedModel( params: Params$Resource$Projects$Locations$Tuningjobs$Rebasetunedmodel, options: StreamMethodOptions | BodyResponseCallback, @@ -100093,8 +101984,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Rebasetunedmodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100219,11 +102110,11 @@ export namespace aiplatform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tuningjobs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tuningjobs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tuningjobs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -100254,8 +102145,8 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tuningjobs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100323,11 +102214,13 @@ export namespace aiplatform_v1beta1 { accept( params: Params$Resource$Projects$Modelgardeneula$Accept, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accept( params?: Params$Resource$Projects$Modelgardeneula$Accept, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accept( params: Params$Resource$Projects$Modelgardeneula$Accept, options: StreamMethodOptions | BodyResponseCallback, @@ -100362,8 +102255,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Modelgardeneula$Accept; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100419,11 +102314,13 @@ export namespace aiplatform_v1beta1 { check( params: Params$Resource$Projects$Modelgardeneula$Check, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; check( params?: Params$Resource$Projects$Modelgardeneula$Check, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; check( params: Params$Resource$Projects$Modelgardeneula$Check, options: StreamMethodOptions | BodyResponseCallback, @@ -100458,8 +102355,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Modelgardeneula$Check; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100557,11 +102456,13 @@ export namespace aiplatform_v1beta1 { computeTokens( params: Params$Resource$Publishers$Models$Computetokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeTokens( params?: Params$Resource$Publishers$Models$Computetokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; computeTokens( params: Params$Resource$Publishers$Models$Computetokens, options: StreamMethodOptions | BodyResponseCallback, @@ -100596,8 +102497,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Computetokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100654,11 +102557,13 @@ export namespace aiplatform_v1beta1 { countTokens( params: Params$Resource$Publishers$Models$Counttokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countTokens( params?: Params$Resource$Publishers$Models$Counttokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countTokens( params: Params$Resource$Publishers$Models$Counttokens, options: StreamMethodOptions | BodyResponseCallback, @@ -100693,8 +102598,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Counttokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100751,11 +102658,13 @@ export namespace aiplatform_v1beta1 { generateContent( params: Params$Resource$Publishers$Models$Generatecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateContent( params?: Params$Resource$Publishers$Models$Generatecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateContent( params: Params$Resource$Publishers$Models$Generatecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -100790,8 +102699,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Generatecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100848,11 +102759,13 @@ export namespace aiplatform_v1beta1 { get( params: Params$Resource$Publishers$Models$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Publishers$Models$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Publishers$Models$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -100887,8 +102800,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100942,11 +102857,13 @@ export namespace aiplatform_v1beta1 { list( params: Params$Resource$Publishers$Models$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Publishers$Models$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Publishers$Models$List, options: StreamMethodOptions | BodyResponseCallback, @@ -100981,8 +102898,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101039,11 +102958,13 @@ export namespace aiplatform_v1beta1 { predict( params: Params$Resource$Publishers$Models$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Publishers$Models$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Publishers$Models$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -101078,8 +102999,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101136,11 +103059,13 @@ export namespace aiplatform_v1beta1 { streamGenerateContent( params: Params$Resource$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamGenerateContent( params?: Params$Resource$Publishers$Models$Streamgeneratecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamGenerateContent( params: Params$Resource$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -101175,8 +103100,10 @@ export namespace aiplatform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publishers$Models$Streamgeneratecontent; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/airquality/index.ts b/src/apis/airquality/index.ts index f3685805229..e8670e6e5fd 100644 --- a/src/apis/airquality/index.ts +++ b/src/apis/airquality/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/airquality/package.json b/src/apis/airquality/package.json index d1c46cf124c..68455ecaabc 100644 --- a/src/apis/airquality/package.json +++ b/src/apis/airquality/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/airquality/v1.ts b/src/apis/airquality/v1.ts index 141f640515b..2fd28a4aa95 100644 --- a/src/apis/airquality/v1.ts +++ b/src/apis/airquality/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -560,11 +560,11 @@ export namespace airquality_v1 { lookup( params: Params$Resource$Currentconditions$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Currentconditions$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Currentconditions$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -599,8 +599,8 @@ export namespace airquality_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Currentconditions$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -672,11 +672,11 @@ export namespace airquality_v1 { lookup( params: Params$Resource$Forecast$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Forecast$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Forecast$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -709,8 +709,8 @@ export namespace airquality_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forecast$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -778,11 +778,11 @@ export namespace airquality_v1 { lookup( params: Params$Resource$History$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$History$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$History$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -815,8 +815,8 @@ export namespace airquality_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$History$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -890,11 +890,11 @@ export namespace airquality_v1 { lookupHeatmapTile( params: Params$Resource$Maptypes$Heatmaptiles$Lookupheatmaptile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupHeatmapTile( params?: Params$Resource$Maptypes$Heatmaptiles$Lookupheatmaptile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookupHeatmapTile( params: Params$Resource$Maptypes$Heatmaptiles$Lookupheatmaptile, options: StreamMethodOptions | BodyResponseCallback, @@ -923,7 +923,10 @@ export namespace airquality_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Maptypes$Heatmaptiles$Lookupheatmaptile; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/alertcenter/index.ts b/src/apis/alertcenter/index.ts index 2db666380e4..cb02d280206 100644 --- a/src/apis/alertcenter/index.ts +++ b/src/apis/alertcenter/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/alertcenter/package.json b/src/apis/alertcenter/package.json index f97b4f8c75a..1917ee21001 100644 --- a/src/apis/alertcenter/package.json +++ b/src/apis/alertcenter/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/alertcenter/v1beta1.ts b/src/apis/alertcenter/v1beta1.ts index 13c046330e1..57583cb24a0 100644 --- a/src/apis/alertcenter/v1beta1.ts +++ b/src/apis/alertcenter/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1456,11 +1456,11 @@ export namespace alertcenter_v1beta1 { batchDelete( params: Params$Resource$Alerts$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Alerts$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Alerts$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -1495,8 +1495,8 @@ export namespace alertcenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Alerts$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1551,11 +1551,11 @@ export namespace alertcenter_v1beta1 { batchUndelete( params: Params$Resource$Alerts$Batchundelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUndelete( params?: Params$Resource$Alerts$Batchundelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUndelete( params: Params$Resource$Alerts$Batchundelete, options: StreamMethodOptions | BodyResponseCallback, @@ -1590,8 +1590,8 @@ export namespace alertcenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Alerts$Batchundelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1646,11 +1646,11 @@ export namespace alertcenter_v1beta1 { delete( params: Params$Resource$Alerts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Alerts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Alerts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1679,7 +1679,10 @@ export namespace alertcenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Alerts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1733,11 +1736,11 @@ export namespace alertcenter_v1beta1 { get( params: Params$Resource$Alerts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Alerts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Alerts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1766,7 +1769,10 @@ export namespace alertcenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Alerts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1820,11 +1826,11 @@ export namespace alertcenter_v1beta1 { getMetadata( params: Params$Resource$Alerts$Getmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMetadata( params?: Params$Resource$Alerts$Getmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getMetadata( params: Params$Resource$Alerts$Getmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -1853,7 +1859,10 @@ export namespace alertcenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Alerts$Getmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1908,11 +1917,11 @@ export namespace alertcenter_v1beta1 { list( params: Params$Resource$Alerts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Alerts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Alerts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1943,8 +1952,8 @@ export namespace alertcenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Alerts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1995,11 +2004,11 @@ export namespace alertcenter_v1beta1 { undelete( params: Params$Resource$Alerts$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Alerts$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Alerts$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2028,7 +2037,10 @@ export namespace alertcenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Alerts$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2168,11 +2180,11 @@ export namespace alertcenter_v1beta1 { create( params: Params$Resource$Alerts$Feedback$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Alerts$Feedback$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Alerts$Feedback$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2201,7 +2213,10 @@ export namespace alertcenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Alerts$Feedback$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2256,11 +2271,11 @@ export namespace alertcenter_v1beta1 { list( params: Params$Resource$Alerts$Feedback$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Alerts$Feedback$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Alerts$Feedback$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2295,8 +2310,8 @@ export namespace alertcenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Alerts$Feedback$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2390,11 +2405,11 @@ export namespace alertcenter_v1beta1 { getSettings( params: Params$Resource$V1beta1$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$V1beta1$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params: Params$Resource$V1beta1$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2423,7 +2438,10 @@ export namespace alertcenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1beta1$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2475,11 +2493,11 @@ export namespace alertcenter_v1beta1 { updateSettings( params: Params$Resource$V1beta1$Updatesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params?: Params$Resource$V1beta1$Updatesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params: Params$Resource$V1beta1$Updatesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2508,7 +2526,10 @@ export namespace alertcenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1beta1$Updatesettings; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/alloydb/index.ts b/src/apis/alloydb/index.ts index b7fab3eadec..13f4357ecbd 100644 --- a/src/apis/alloydb/index.ts +++ b/src/apis/alloydb/index.ts @@ -60,7 +60,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/alloydb/package.json b/src/apis/alloydb/package.json index a9758826b9f..6d1ca99db17 100644 --- a/src/apis/alloydb/package.json +++ b/src/apis/alloydb/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/alloydb/v1.ts b/src/apis/alloydb/v1.ts index 5bad73fc6c4..35c11a2b683 100644 --- a/src/apis/alloydb/v1.ts +++ b/src/apis/alloydb/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -842,6 +842,10 @@ export namespace alloydb_v1 { * An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB. */ export interface Schema$Instance { + /** + * Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details. + */ + activationPolicy?: string | null; /** * Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 */ @@ -2370,11 +2374,11 @@ export namespace alloydb_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2409,8 +2413,8 @@ export namespace alloydb_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2462,11 +2466,13 @@ export namespace alloydb_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2501,8 +2507,10 @@ export namespace alloydb_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2597,11 +2605,11 @@ export namespace alloydb_v1 { create( params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2630,7 +2638,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2685,11 +2696,11 @@ export namespace alloydb_v1 { delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2718,7 +2729,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2770,11 +2784,11 @@ export namespace alloydb_v1 { get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2803,7 +2817,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2855,11 +2872,11 @@ export namespace alloydb_v1 { list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2890,8 +2907,8 @@ export namespace alloydb_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2946,11 +2963,11 @@ export namespace alloydb_v1 { patch( params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2979,7 +2996,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3146,11 +3166,11 @@ export namespace alloydb_v1 { create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3179,7 +3199,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3234,11 +3257,11 @@ export namespace alloydb_v1 { createsecondary( params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params?: Params$Resource$Projects$Locations$Clusters$Createsecondary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions | BodyResponseCallback, @@ -3267,7 +3290,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Createsecondary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3323,11 +3349,11 @@ export namespace alloydb_v1 { delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3356,7 +3382,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3408,11 +3437,11 @@ export namespace alloydb_v1 { export( params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Clusters$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -3441,7 +3470,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3493,11 +3525,11 @@ export namespace alloydb_v1 { get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3526,7 +3558,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3578,11 +3613,11 @@ export namespace alloydb_v1 { import( params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Clusters$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -3611,7 +3646,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3663,11 +3701,11 @@ export namespace alloydb_v1 { list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3700,8 +3738,8 @@ export namespace alloydb_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3756,11 +3794,11 @@ export namespace alloydb_v1 { patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3789,7 +3827,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3841,11 +3882,11 @@ export namespace alloydb_v1 { promote( params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; promote( params?: Params$Resource$Projects$Locations$Clusters$Promote, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; promote( params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions | BodyResponseCallback, @@ -3874,7 +3915,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Promote; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3929,11 +3973,11 @@ export namespace alloydb_v1 { restore( params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Clusters$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -3962,7 +4006,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4017,11 +4064,11 @@ export namespace alloydb_v1 { restoreFromCloudSQL( params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restoreFromCloudSQL( params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restoreFromCloudSQL( params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions | BodyResponseCallback, @@ -4050,7 +4097,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4105,11 +4155,11 @@ export namespace alloydb_v1 { switchover( params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params?: Params$Resource$Projects$Locations$Clusters$Switchover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions | BodyResponseCallback, @@ -4138,7 +4188,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Switchover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4193,11 +4246,11 @@ export namespace alloydb_v1 { upgrade( params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Clusters$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -4226,7 +4279,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4506,11 +4562,11 @@ export namespace alloydb_v1 { create( params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4539,7 +4595,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4595,11 +4654,11 @@ export namespace alloydb_v1 { createsecondary( params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params?: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions | BodyResponseCallback, @@ -4628,7 +4687,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4684,11 +4746,11 @@ export namespace alloydb_v1 { delete( params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4717,7 +4779,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4770,11 +4835,11 @@ export namespace alloydb_v1 { failover( params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; failover( params?: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; failover( params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions | BodyResponseCallback, @@ -4803,7 +4868,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Failover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4859,11 +4927,11 @@ export namespace alloydb_v1 { get( params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4892,7 +4960,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4945,11 +5016,11 @@ export namespace alloydb_v1 { getConnectionInfo( params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConnectionInfo( params?: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConnectionInfo( params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions | BodyResponseCallback, @@ -4980,7 +5051,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5036,11 +5110,11 @@ export namespace alloydb_v1 { injectFault( params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; injectFault( params?: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; injectFault( params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions | BodyResponseCallback, @@ -5069,7 +5143,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Injectfault; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5125,11 +5202,11 @@ export namespace alloydb_v1 { list( params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5162,8 +5239,8 @@ export namespace alloydb_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5219,11 +5296,11 @@ export namespace alloydb_v1 { patch( params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5252,7 +5329,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5305,11 +5385,11 @@ export namespace alloydb_v1 { restart( params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -5338,7 +5418,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5578,11 +5661,11 @@ export namespace alloydb_v1 { create( params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Users$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5611,7 +5694,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5666,11 +5752,11 @@ export namespace alloydb_v1 { delete( params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5699,7 +5785,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5751,11 +5840,11 @@ export namespace alloydb_v1 { get( params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5784,7 +5873,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5836,11 +5928,11 @@ export namespace alloydb_v1 { list( params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5871,8 +5963,8 @@ export namespace alloydb_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5927,11 +6019,11 @@ export namespace alloydb_v1 { patch( params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Users$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5960,7 +6052,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6117,11 +6212,11 @@ export namespace alloydb_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6150,7 +6245,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6202,11 +6300,11 @@ export namespace alloydb_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6235,7 +6333,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6287,11 +6388,11 @@ export namespace alloydb_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6320,7 +6421,10 @@ export namespace alloydb_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6372,11 +6476,11 @@ export namespace alloydb_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6409,8 +6513,8 @@ export namespace alloydb_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6518,11 +6622,13 @@ export namespace alloydb_v1 { list( params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6557,8 +6663,10 @@ export namespace alloydb_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Supporteddatabaseflags$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/alloydb/v1alpha.ts b/src/apis/alloydb/v1alpha.ts index 7081a36378f..8fc19a3cb8f 100644 --- a/src/apis/alloydb/v1alpha.ts +++ b/src/apis/alloydb/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -614,7 +614,7 @@ export namespace alloydb_v1alpha { */ export interface Schema$ContinuousBackupInfo { /** - * Output only. The earliest restorable time that can be restored to. Output only field. + * Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes "now minus the recovery window". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided. */ earliestRestorableTime?: string | null; /** @@ -626,7 +626,7 @@ export namespace alloydb_v1alpha { */ encryptionInfo?: Schema$EncryptionInfo; /** - * Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request. + * Output only. Days of the week on which a continuous backup is taken. */ schedule?: string[] | null; } @@ -924,6 +924,10 @@ export namespace alloydb_v1alpha { * An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB. */ export interface Schema$Instance { + /** + * Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details. + */ + activationPolicy?: string | null; /** * Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 */ @@ -1061,6 +1065,10 @@ export namespace alloydb_v1alpha { * Metadata related to instance-level network configuration. */ export interface Schema$InstanceNetworkConfig { + /** + * Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: "google-managed-services-default". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](http://go/rfc/1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. + */ + allocatedIpRangeOverride?: string | null; /** * Optional. A list of external network authorized to access this instance. */ @@ -2485,11 +2493,11 @@ export namespace alloydb_v1alpha { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2524,8 +2532,8 @@ export namespace alloydb_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2577,11 +2585,13 @@ export namespace alloydb_v1alpha { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2616,8 +2626,10 @@ export namespace alloydb_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2712,11 +2724,11 @@ export namespace alloydb_v1alpha { create( params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2745,7 +2757,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2800,11 +2815,11 @@ export namespace alloydb_v1alpha { delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2833,7 +2848,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2885,11 +2903,11 @@ export namespace alloydb_v1alpha { get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2918,7 +2936,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2970,11 +2991,11 @@ export namespace alloydb_v1alpha { list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3005,8 +3026,8 @@ export namespace alloydb_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3061,11 +3082,11 @@ export namespace alloydb_v1alpha { patch( params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3094,7 +3115,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3261,11 +3285,11 @@ export namespace alloydb_v1alpha { create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3294,7 +3318,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3349,11 +3376,11 @@ export namespace alloydb_v1alpha { createsecondary( params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params?: Params$Resource$Projects$Locations$Clusters$Createsecondary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions | BodyResponseCallback, @@ -3382,7 +3409,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Createsecondary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3437,11 +3467,11 @@ export namespace alloydb_v1alpha { delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3470,7 +3500,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3522,11 +3555,11 @@ export namespace alloydb_v1alpha { export( params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Clusters$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -3555,7 +3588,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3610,11 +3646,11 @@ export namespace alloydb_v1alpha { get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3643,7 +3679,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3695,11 +3734,11 @@ export namespace alloydb_v1alpha { import( params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Clusters$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -3728,7 +3767,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3783,11 +3825,11 @@ export namespace alloydb_v1alpha { list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3820,8 +3862,8 @@ export namespace alloydb_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3876,11 +3918,11 @@ export namespace alloydb_v1alpha { patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3909,7 +3951,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3961,11 +4006,11 @@ export namespace alloydb_v1alpha { promote( params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; promote( params?: Params$Resource$Projects$Locations$Clusters$Promote, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; promote( params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions | BodyResponseCallback, @@ -3994,7 +4039,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Promote; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4049,11 +4097,11 @@ export namespace alloydb_v1alpha { restore( params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Clusters$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -4082,7 +4130,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4137,11 +4188,11 @@ export namespace alloydb_v1alpha { restoreFromCloudSQL( params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restoreFromCloudSQL( params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restoreFromCloudSQL( params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions | BodyResponseCallback, @@ -4170,7 +4221,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4225,11 +4279,11 @@ export namespace alloydb_v1alpha { switchover( params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params?: Params$Resource$Projects$Locations$Clusters$Switchover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions | BodyResponseCallback, @@ -4258,7 +4312,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Switchover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4313,11 +4370,11 @@ export namespace alloydb_v1alpha { upgrade( params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Clusters$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -4346,7 +4403,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4626,11 +4686,11 @@ export namespace alloydb_v1alpha { create( params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4659,7 +4719,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4715,11 +4778,11 @@ export namespace alloydb_v1alpha { createsecondary( params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params?: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions | BodyResponseCallback, @@ -4748,7 +4811,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4803,11 +4869,11 @@ export namespace alloydb_v1alpha { delete( params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4836,7 +4902,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4889,11 +4958,11 @@ export namespace alloydb_v1alpha { failover( params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; failover( params?: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; failover( params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions | BodyResponseCallback, @@ -4922,7 +4991,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Failover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4978,11 +5050,11 @@ export namespace alloydb_v1alpha { get( params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5011,7 +5083,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5064,11 +5139,11 @@ export namespace alloydb_v1alpha { getConnectionInfo( params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConnectionInfo( params?: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConnectionInfo( params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions | BodyResponseCallback, @@ -5099,7 +5174,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5155,11 +5233,11 @@ export namespace alloydb_v1alpha { injectFault( params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; injectFault( params?: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; injectFault( params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions | BodyResponseCallback, @@ -5188,7 +5266,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Injectfault; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5244,11 +5325,11 @@ export namespace alloydb_v1alpha { list( params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5281,8 +5362,8 @@ export namespace alloydb_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5338,11 +5419,11 @@ export namespace alloydb_v1alpha { patch( params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5371,7 +5452,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5424,11 +5508,11 @@ export namespace alloydb_v1alpha { restart( params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -5457,7 +5541,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5697,11 +5784,11 @@ export namespace alloydb_v1alpha { create( params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Users$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5730,7 +5817,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5785,11 +5875,11 @@ export namespace alloydb_v1alpha { delete( params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5818,7 +5908,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5870,11 +5963,11 @@ export namespace alloydb_v1alpha { get( params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5903,7 +5996,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5955,11 +6051,11 @@ export namespace alloydb_v1alpha { list( params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5990,8 +6086,8 @@ export namespace alloydb_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6046,11 +6142,11 @@ export namespace alloydb_v1alpha { patch( params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Users$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6079,7 +6175,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6236,11 +6335,11 @@ export namespace alloydb_v1alpha { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6269,7 +6368,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6324,11 +6426,11 @@ export namespace alloydb_v1alpha { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6357,7 +6459,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6409,11 +6514,11 @@ export namespace alloydb_v1alpha { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6442,7 +6547,10 @@ export namespace alloydb_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6494,11 +6602,11 @@ export namespace alloydb_v1alpha { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6531,8 +6639,8 @@ export namespace alloydb_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6640,11 +6748,13 @@ export namespace alloydb_v1alpha { list( params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6679,8 +6789,10 @@ export namespace alloydb_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Supporteddatabaseflags$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/alloydb/v1beta.ts b/src/apis/alloydb/v1beta.ts index 64a07093e3d..e173497fbd0 100644 --- a/src/apis/alloydb/v1beta.ts +++ b/src/apis/alloydb/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -912,6 +912,10 @@ export namespace alloydb_v1beta { * An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB. */ export interface Schema$Instance { + /** + * Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details. + */ + activationPolicy?: string | null; /** * Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 */ @@ -2469,11 +2473,11 @@ export namespace alloydb_v1beta { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2508,8 +2512,8 @@ export namespace alloydb_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2561,11 +2565,13 @@ export namespace alloydb_v1beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2600,8 +2606,10 @@ export namespace alloydb_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2696,11 +2704,11 @@ export namespace alloydb_v1beta { create( params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2729,7 +2737,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2784,11 +2795,11 @@ export namespace alloydb_v1beta { delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2817,7 +2828,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2869,11 +2883,11 @@ export namespace alloydb_v1beta { get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2902,7 +2916,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2954,11 +2971,11 @@ export namespace alloydb_v1beta { list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2989,8 +3006,8 @@ export namespace alloydb_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3045,11 +3062,11 @@ export namespace alloydb_v1beta { patch( params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3078,7 +3095,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3245,11 +3265,11 @@ export namespace alloydb_v1beta { create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3278,7 +3298,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3333,11 +3356,11 @@ export namespace alloydb_v1beta { createsecondary( params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params?: Params$Resource$Projects$Locations$Clusters$Createsecondary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params: Params$Resource$Projects$Locations$Clusters$Createsecondary, options: StreamMethodOptions | BodyResponseCallback, @@ -3366,7 +3389,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Createsecondary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3421,11 +3447,11 @@ export namespace alloydb_v1beta { delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3454,7 +3480,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3506,11 +3535,11 @@ export namespace alloydb_v1beta { export( params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Clusters$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Clusters$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -3539,7 +3568,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3594,11 +3626,11 @@ export namespace alloydb_v1beta { get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3627,7 +3659,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3679,11 +3714,11 @@ export namespace alloydb_v1beta { import( params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Clusters$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Clusters$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -3712,7 +3747,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3767,11 +3805,11 @@ export namespace alloydb_v1beta { list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3804,8 +3842,8 @@ export namespace alloydb_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3860,11 +3898,11 @@ export namespace alloydb_v1beta { patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3893,7 +3931,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3945,11 +3986,11 @@ export namespace alloydb_v1beta { promote( params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; promote( params?: Params$Resource$Projects$Locations$Clusters$Promote, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; promote( params: Params$Resource$Projects$Locations$Clusters$Promote, options: StreamMethodOptions | BodyResponseCallback, @@ -3978,7 +4019,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Promote; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4033,11 +4077,11 @@ export namespace alloydb_v1beta { restore( params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Clusters$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Clusters$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -4066,7 +4110,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4121,11 +4168,11 @@ export namespace alloydb_v1beta { restoreFromCloudSQL( params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restoreFromCloudSQL( params?: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restoreFromCloudSQL( params: Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql, options: StreamMethodOptions | BodyResponseCallback, @@ -4154,7 +4201,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Restorefromcloudsql; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4209,11 +4259,11 @@ export namespace alloydb_v1beta { switchover( params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params?: Params$Resource$Projects$Locations$Clusters$Switchover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params: Params$Resource$Projects$Locations$Clusters$Switchover, options: StreamMethodOptions | BodyResponseCallback, @@ -4242,7 +4292,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Switchover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4297,11 +4350,11 @@ export namespace alloydb_v1beta { upgrade( params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Clusters$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Clusters$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -4330,7 +4383,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4610,11 +4666,11 @@ export namespace alloydb_v1beta { create( params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4643,7 +4699,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4699,11 +4758,11 @@ export namespace alloydb_v1beta { createsecondary( params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params?: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createsecondary( params: Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary, options: StreamMethodOptions | BodyResponseCallback, @@ -4732,7 +4791,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Createsecondary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4787,11 +4849,11 @@ export namespace alloydb_v1beta { delete( params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4820,7 +4882,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4873,11 +4938,11 @@ export namespace alloydb_v1beta { failover( params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; failover( params?: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; failover( params: Params$Resource$Projects$Locations$Clusters$Instances$Failover, options: StreamMethodOptions | BodyResponseCallback, @@ -4906,7 +4971,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Failover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4962,11 +5030,11 @@ export namespace alloydb_v1beta { get( params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4995,7 +5063,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5048,11 +5119,11 @@ export namespace alloydb_v1beta { getConnectionInfo( params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConnectionInfo( params?: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConnectionInfo( params: Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo, options: StreamMethodOptions | BodyResponseCallback, @@ -5083,7 +5154,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Getconnectioninfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5139,11 +5213,11 @@ export namespace alloydb_v1beta { injectFault( params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; injectFault( params?: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; injectFault( params: Params$Resource$Projects$Locations$Clusters$Instances$Injectfault, options: StreamMethodOptions | BodyResponseCallback, @@ -5172,7 +5246,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Injectfault; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5228,11 +5305,11 @@ export namespace alloydb_v1beta { list( params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5265,8 +5342,8 @@ export namespace alloydb_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5322,11 +5399,11 @@ export namespace alloydb_v1beta { patch( params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5355,7 +5432,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5408,11 +5488,11 @@ export namespace alloydb_v1beta { restart( params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Projects$Locations$Clusters$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -5441,7 +5521,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Instances$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5681,11 +5764,11 @@ export namespace alloydb_v1beta { create( params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Users$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Users$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5714,7 +5797,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5769,11 +5855,11 @@ export namespace alloydb_v1beta { delete( params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5802,7 +5888,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5854,11 +5943,11 @@ export namespace alloydb_v1beta { get( params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5887,7 +5976,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5939,11 +6031,11 @@ export namespace alloydb_v1beta { list( params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5974,8 +6066,8 @@ export namespace alloydb_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6030,11 +6122,11 @@ export namespace alloydb_v1beta { patch( params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Users$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Users$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6063,7 +6155,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Users$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6220,11 +6315,11 @@ export namespace alloydb_v1beta { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6253,7 +6348,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6308,11 +6406,11 @@ export namespace alloydb_v1beta { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6341,7 +6439,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6393,11 +6494,11 @@ export namespace alloydb_v1beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6426,7 +6527,10 @@ export namespace alloydb_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6478,11 +6582,11 @@ export namespace alloydb_v1beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6515,8 +6619,8 @@ export namespace alloydb_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6619,11 +6723,13 @@ export namespace alloydb_v1beta { list( params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Supporteddatabaseflags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6658,8 +6764,10 @@ export namespace alloydb_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Supporteddatabaseflags$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/analytics/index.ts b/src/apis/analytics/index.ts index 735452999ae..659bc8627bb 100644 --- a/src/apis/analytics/index.ts +++ b/src/apis/analytics/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/analytics/package.json b/src/apis/analytics/package.json index 9216a6edfa1..48681ee1aab 100644 --- a/src/apis/analytics/package.json +++ b/src/apis/analytics/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/analytics/v3.ts b/src/apis/analytics/v3.ts index 0819f0ab577..ad18ec9360e 100644 --- a/src/apis/analytics/v3.ts +++ b/src/apis/analytics/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2628,11 +2628,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Data$Ga$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Data$Ga$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Data$Ga$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2661,7 +2661,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Data$Ga$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2777,11 +2780,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Data$Mcf$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Data$Mcf$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Data$Mcf$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2810,7 +2813,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Data$Mcf$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2914,11 +2920,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Data$Realtime$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Data$Realtime$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Data$Realtime$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2947,7 +2953,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Data$Realtime$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3103,11 +3112,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3136,7 +3145,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3210,11 +3222,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Accountsummaries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Accountsummaries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Accountsummaries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3243,7 +3255,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Accountsummaries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3316,11 +3331,11 @@ export namespace analytics_v3 { delete( params: Params$Resource$Management$Accountuserlinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Management$Accountuserlinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Management$Accountuserlinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3347,7 +3362,10 @@ export namespace analytics_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Accountuserlinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3402,11 +3420,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Accountuserlinks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Accountuserlinks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Accountuserlinks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3435,7 +3453,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Accountuserlinks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3490,11 +3511,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Accountuserlinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Accountuserlinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Accountuserlinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3523,7 +3544,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Accountuserlinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3578,11 +3602,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Accountuserlinks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Accountuserlinks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Accountuserlinks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3611,7 +3635,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Accountuserlinks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3728,11 +3755,11 @@ export namespace analytics_v3 { hashClientId( params: Params$Resource$Management$Clientid$Hashclientid, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; hashClientId( params?: Params$Resource$Management$Clientid$Hashclientid, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; hashClientId( params: Params$Resource$Management$Clientid$Hashclientid, options: StreamMethodOptions | BodyResponseCallback, @@ -3767,8 +3794,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Clientid$Hashclientid; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3837,11 +3864,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Customdatasources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Customdatasources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Customdatasources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3872,8 +3899,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Customdatasources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3955,11 +3982,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Customdimensions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Customdimensions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Customdimensions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3988,7 +4015,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Customdimensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4043,11 +4073,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Customdimensions$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Customdimensions$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Customdimensions$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4076,7 +4106,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Customdimensions$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4131,11 +4164,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Customdimensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Customdimensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Customdimensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4164,7 +4197,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Customdimensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4219,11 +4255,11 @@ export namespace analytics_v3 { patch( params: Params$Resource$Management$Customdimensions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Management$Customdimensions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Management$Customdimensions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4252,7 +4288,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Customdimensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4307,11 +4346,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Customdimensions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Customdimensions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Customdimensions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4340,7 +4379,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Customdimensions$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4501,11 +4543,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Custommetrics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Custommetrics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Custommetrics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4534,7 +4576,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Custommetrics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4589,11 +4634,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Custommetrics$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Custommetrics$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Custommetrics$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4622,7 +4667,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Custommetrics$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4677,11 +4725,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Custommetrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Custommetrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Custommetrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4710,7 +4758,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Custommetrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4765,11 +4816,11 @@ export namespace analytics_v3 { patch( params: Params$Resource$Management$Custommetrics$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Management$Custommetrics$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Management$Custommetrics$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4798,7 +4849,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Custommetrics$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4853,11 +4907,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Custommetrics$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Custommetrics$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Custommetrics$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4886,7 +4940,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Custommetrics$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5047,11 +5104,11 @@ export namespace analytics_v3 { delete( params: Params$Resource$Management$Experiments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Management$Experiments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Management$Experiments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5078,7 +5135,10 @@ export namespace analytics_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Experiments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5138,11 +5198,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Experiments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Experiments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Experiments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5171,7 +5231,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Experiments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5231,11 +5294,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Experiments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Experiments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Experiments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5264,7 +5327,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Experiments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5319,11 +5385,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Experiments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Experiments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Experiments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5352,7 +5418,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Experiments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5407,11 +5476,11 @@ export namespace analytics_v3 { patch( params: Params$Resource$Management$Experiments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Management$Experiments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Management$Experiments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5440,7 +5509,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Experiments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5500,11 +5572,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Experiments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Experiments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Experiments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5533,7 +5605,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Experiments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5730,11 +5805,11 @@ export namespace analytics_v3 { delete( params: Params$Resource$Management$Filters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Management$Filters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Management$Filters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5763,7 +5838,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Filters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5818,11 +5896,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Filters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Filters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Filters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5851,7 +5929,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Filters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5906,11 +5987,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Filters$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Filters$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Filters$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5939,7 +6020,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Filters$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5993,11 +6077,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Filters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Filters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Filters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6026,7 +6110,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Filters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6080,11 +6167,11 @@ export namespace analytics_v3 { patch( params: Params$Resource$Management$Filters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Management$Filters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Management$Filters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6113,7 +6200,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Filters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6168,11 +6258,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Filters$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Filters$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Filters$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6201,7 +6291,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Filters$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6345,11 +6438,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Goals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Goals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Goals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6378,7 +6471,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Goals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6433,11 +6529,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Goals$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Goals$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Goals$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6466,7 +6562,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Goals$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6521,11 +6620,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Goals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Goals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Goals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6554,7 +6653,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Goals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6609,11 +6711,11 @@ export namespace analytics_v3 { patch( params: Params$Resource$Management$Goals$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Management$Goals$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Management$Goals$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6642,7 +6744,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Goals$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6697,11 +6802,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Goals$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Goals$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Goals$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6730,7 +6835,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Goals$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6903,11 +7011,11 @@ export namespace analytics_v3 { delete( params: Params$Resource$Management$Profilefilterlinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Management$Profilefilterlinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Management$Profilefilterlinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6934,7 +7042,10 @@ export namespace analytics_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profilefilterlinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6989,11 +7100,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Profilefilterlinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Profilefilterlinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Profilefilterlinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7024,8 +7135,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profilefilterlinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7080,11 +7191,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Profilefilterlinks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Profilefilterlinks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Profilefilterlinks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7115,8 +7226,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profilefilterlinks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7171,11 +7282,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Profilefilterlinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Profilefilterlinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Profilefilterlinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7206,8 +7317,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profilefilterlinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7262,11 +7373,11 @@ export namespace analytics_v3 { patch( params: Params$Resource$Management$Profilefilterlinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Management$Profilefilterlinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Management$Profilefilterlinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7297,8 +7408,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profilefilterlinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7353,11 +7464,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Profilefilterlinks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Profilefilterlinks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Profilefilterlinks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7388,8 +7499,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profilefilterlinks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7581,11 +7692,11 @@ export namespace analytics_v3 { delete( params: Params$Resource$Management$Profiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Management$Profiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Management$Profiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7612,7 +7723,10 @@ export namespace analytics_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7667,11 +7781,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Profiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Profiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Profiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7700,7 +7814,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7755,11 +7872,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Profiles$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Profiles$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Profiles$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7788,7 +7905,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profiles$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7843,11 +7963,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Profiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Profiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Profiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7876,7 +7996,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7931,11 +8054,11 @@ export namespace analytics_v3 { patch( params: Params$Resource$Management$Profiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Management$Profiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Management$Profiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7964,7 +8087,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8019,11 +8145,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Profiles$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Profiles$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Profiles$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8052,7 +8178,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profiles$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8220,11 +8349,11 @@ export namespace analytics_v3 { delete( params: Params$Resource$Management$Profileuserlinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Management$Profileuserlinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Management$Profileuserlinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8251,7 +8380,10 @@ export namespace analytics_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profileuserlinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8306,11 +8438,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Profileuserlinks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Profileuserlinks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Profileuserlinks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8339,7 +8471,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profileuserlinks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8394,11 +8529,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Profileuserlinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Profileuserlinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Profileuserlinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8427,7 +8562,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profileuserlinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8482,11 +8620,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Profileuserlinks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Profileuserlinks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Profileuserlinks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8515,7 +8653,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Profileuserlinks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8664,11 +8805,11 @@ export namespace analytics_v3 { delete( params: Params$Resource$Management$Remarketingaudience$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Management$Remarketingaudience$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Management$Remarketingaudience$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8695,7 +8836,10 @@ export namespace analytics_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Remarketingaudience$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8750,11 +8894,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Remarketingaudience$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Remarketingaudience$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Remarketingaudience$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8785,8 +8929,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Remarketingaudience$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8841,11 +8985,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Remarketingaudience$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Remarketingaudience$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Remarketingaudience$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8876,8 +9020,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Remarketingaudience$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8932,11 +9076,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Remarketingaudience$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Remarketingaudience$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Remarketingaudience$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8969,8 +9113,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Remarketingaudience$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9025,11 +9169,11 @@ export namespace analytics_v3 { patch( params: Params$Resource$Management$Remarketingaudience$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Management$Remarketingaudience$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Management$Remarketingaudience$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9060,8 +9204,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Remarketingaudience$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9116,11 +9260,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Remarketingaudience$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Remarketingaudience$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Remarketingaudience$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9151,8 +9295,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Remarketingaudience$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9324,11 +9468,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Segments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Segments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Segments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9357,7 +9501,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Segments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9431,11 +9578,11 @@ export namespace analytics_v3 { delete( params: Params$Resource$Management$Unsampledreports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Management$Unsampledreports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Management$Unsampledreports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9462,7 +9609,10 @@ export namespace analytics_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Unsampledreports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9527,11 +9677,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Unsampledreports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Unsampledreports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Unsampledreports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9560,7 +9710,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Unsampledreports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9625,11 +9778,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Unsampledreports$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Unsampledreports$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Unsampledreports$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9658,7 +9811,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Unsampledreports$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9713,11 +9869,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Unsampledreports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Unsampledreports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Unsampledreports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9746,7 +9902,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Unsampledreports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9890,11 +10049,11 @@ export namespace analytics_v3 { deleteUploadData( params: Params$Resource$Management$Uploads$Deleteuploaddata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteUploadData( params?: Params$Resource$Management$Uploads$Deleteuploaddata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteUploadData( params: Params$Resource$Management$Uploads$Deleteuploaddata, options: StreamMethodOptions | BodyResponseCallback, @@ -9921,7 +10080,10 @@ export namespace analytics_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Uploads$Deleteuploaddata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9976,11 +10138,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Uploads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Uploads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Uploads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10009,7 +10171,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Uploads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10074,11 +10239,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Uploads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Uploads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Uploads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10107,7 +10272,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Uploads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10162,11 +10330,11 @@ export namespace analytics_v3 { uploadData( params: Params$Resource$Management$Uploads$Uploaddata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; uploadData( params?: Params$Resource$Management$Uploads$Uploaddata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; uploadData( params: Params$Resource$Management$Uploads$Uploaddata, options: StreamMethodOptions | BodyResponseCallback, @@ -10195,7 +10363,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Uploads$Uploaddata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10359,11 +10530,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Webproperties$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Webproperties$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Webproperties$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10392,7 +10563,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webproperties$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10447,11 +10621,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Webproperties$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Webproperties$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Webproperties$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10480,7 +10654,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webproperties$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10535,11 +10712,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Webproperties$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Webproperties$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Webproperties$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10568,7 +10745,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webproperties$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10623,11 +10803,11 @@ export namespace analytics_v3 { patch( params: Params$Resource$Management$Webproperties$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Management$Webproperties$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Management$Webproperties$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10656,7 +10836,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webproperties$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10711,11 +10894,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Webproperties$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Webproperties$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Webproperties$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10744,7 +10927,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webproperties$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10877,11 +11063,11 @@ export namespace analytics_v3 { delete( params: Params$Resource$Management$Webpropertyadwordslinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Management$Webpropertyadwordslinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Management$Webpropertyadwordslinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10908,7 +11094,10 @@ export namespace analytics_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webpropertyadwordslinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10968,11 +11157,11 @@ export namespace analytics_v3 { get( params: Params$Resource$Management$Webpropertyadwordslinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Management$Webpropertyadwordslinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Management$Webpropertyadwordslinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11003,8 +11192,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webpropertyadwordslinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11063,11 +11252,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Webpropertyadwordslinks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Webpropertyadwordslinks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Webpropertyadwordslinks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -11098,8 +11287,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webpropertyadwordslinks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11155,11 +11344,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Webpropertyadwordslinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Webpropertyadwordslinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Webpropertyadwordslinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11190,8 +11379,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webpropertyadwordslinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11246,11 +11435,11 @@ export namespace analytics_v3 { patch( params: Params$Resource$Management$Webpropertyadwordslinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Management$Webpropertyadwordslinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Management$Webpropertyadwordslinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11281,8 +11470,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webpropertyadwordslinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11341,11 +11530,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Webpropertyadwordslinks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Webpropertyadwordslinks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Webpropertyadwordslinks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11376,8 +11565,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webpropertyadwordslinks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11550,11 +11739,11 @@ export namespace analytics_v3 { delete( params: Params$Resource$Management$Webpropertyuserlinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Management$Webpropertyuserlinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Management$Webpropertyuserlinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11581,7 +11770,10 @@ export namespace analytics_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webpropertyuserlinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11636,11 +11828,11 @@ export namespace analytics_v3 { insert( params: Params$Resource$Management$Webpropertyuserlinks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Management$Webpropertyuserlinks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Management$Webpropertyuserlinks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -11669,7 +11861,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webpropertyuserlinks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11724,11 +11919,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Management$Webpropertyuserlinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Management$Webpropertyuserlinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Management$Webpropertyuserlinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11757,7 +11952,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webpropertyuserlinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11812,11 +12010,11 @@ export namespace analytics_v3 { update( params: Params$Resource$Management$Webpropertyuserlinks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Management$Webpropertyuserlinks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Management$Webpropertyuserlinks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11845,7 +12043,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Management$Webpropertyuserlinks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11987,11 +12188,11 @@ export namespace analytics_v3 { list( params: Params$Resource$Metadata$Columns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Metadata$Columns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Metadata$Columns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12020,7 +12221,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Metadata$Columns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12089,11 +12293,11 @@ export namespace analytics_v3 { createAccountTicket( params: Params$Resource$Provisioning$Createaccountticket, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createAccountTicket( params?: Params$Resource$Provisioning$Createaccountticket, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createAccountTicket( params: Params$Resource$Provisioning$Createaccountticket, options: StreamMethodOptions | BodyResponseCallback, @@ -12124,7 +12328,10 @@ export namespace analytics_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Provisioning$Createaccountticket; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12178,11 +12385,11 @@ export namespace analytics_v3 { createAccountTree( params: Params$Resource$Provisioning$Createaccounttree, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createAccountTree( params?: Params$Resource$Provisioning$Createaccounttree, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createAccountTree( params: Params$Resource$Provisioning$Createaccounttree, options: StreamMethodOptions | BodyResponseCallback, @@ -12215,8 +12422,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Provisioning$Createaccounttree; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12303,11 +12510,11 @@ export namespace analytics_v3 { upsert( params: Params$Resource$Userdeletion$Userdeletionrequest$Upsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upsert( params?: Params$Resource$Userdeletion$Userdeletionrequest$Upsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upsert( params: Params$Resource$Userdeletion$Userdeletionrequest$Upsert, options: StreamMethodOptions | BodyResponseCallback, @@ -12338,8 +12545,8 @@ export namespace analytics_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userdeletion$Userdeletionrequest$Upsert; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/analyticsadmin/index.ts b/src/apis/analyticsadmin/index.ts index 25d4f7a3050..eac1674cc91 100644 --- a/src/apis/analyticsadmin/index.ts +++ b/src/apis/analyticsadmin/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/analyticsadmin/package.json b/src/apis/analyticsadmin/package.json index 265e8791f4b..959066ac736 100644 --- a/src/apis/analyticsadmin/package.json +++ b/src/apis/analyticsadmin/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/analyticsadmin/v1alpha.ts b/src/apis/analyticsadmin/v1alpha.ts index 748b8e6c42a..25fd3c1799f 100644 --- a/src/apis/analyticsadmin/v1alpha.ts +++ b/src/apis/analyticsadmin/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3052,11 +3052,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Accounts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3087,8 +3087,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3140,11 +3140,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3179,8 +3181,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3234,11 +3238,13 @@ export namespace analyticsadmin_v1alpha { getDataSharingSettings( params: Params$Resource$Accounts$Getdatasharingsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDataSharingSettings( params?: Params$Resource$Accounts$Getdatasharingsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDataSharingSettings( params: Params$Resource$Accounts$Getdatasharingsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -3273,8 +3279,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Getdatasharingsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3329,11 +3337,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3368,8 +3378,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3423,11 +3435,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3462,8 +3476,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3517,11 +3533,13 @@ export namespace analyticsadmin_v1alpha { provisionAccountTicket( params: Params$Resource$Accounts$Provisionaccountticket, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provisionAccountTicket( params?: Params$Resource$Accounts$Provisionaccountticket, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; provisionAccountTicket( params: Params$Resource$Accounts$Provisionaccountticket, options: StreamMethodOptions | BodyResponseCallback, @@ -3556,8 +3574,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Provisionaccountticket; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3615,11 +3635,13 @@ export namespace analyticsadmin_v1alpha { runAccessReport( params: Params$Resource$Accounts$Runaccessreport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runAccessReport( params?: Params$Resource$Accounts$Runaccessreport, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; runAccessReport( params: Params$Resource$Accounts$Runaccessreport, options: StreamMethodOptions | BodyResponseCallback, @@ -3654,8 +3676,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Runaccessreport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3713,11 +3737,13 @@ export namespace analyticsadmin_v1alpha { searchChangeHistoryEvents( params: Params$Resource$Accounts$Searchchangehistoryevents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchChangeHistoryEvents( params?: Params$Resource$Accounts$Searchchangehistoryevents, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchChangeHistoryEvents( params: Params$Resource$Accounts$Searchchangehistoryevents, options: StreamMethodOptions | BodyResponseCallback, @@ -3752,8 +3778,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Searchchangehistoryevents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3897,11 +3925,13 @@ export namespace analyticsadmin_v1alpha { batchCreate( params: Params$Resource$Accounts$Accessbindings$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Accounts$Accessbindings$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchCreate( params: Params$Resource$Accounts$Accessbindings$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -3936,8 +3966,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Accessbindings$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3994,11 +4026,11 @@ export namespace analyticsadmin_v1alpha { batchDelete( params: Params$Resource$Accounts$Accessbindings$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Accounts$Accessbindings$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Accounts$Accessbindings$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -4031,8 +4063,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Accessbindings$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4087,11 +4119,13 @@ export namespace analyticsadmin_v1alpha { batchGet( params: Params$Resource$Accounts$Accessbindings$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Accounts$Accessbindings$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Accounts$Accessbindings$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -4126,8 +4160,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Accessbindings$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4184,11 +4220,13 @@ export namespace analyticsadmin_v1alpha { batchUpdate( params: Params$Resource$Accounts$Accessbindings$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Accounts$Accessbindings$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Accounts$Accessbindings$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -4223,8 +4261,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Accessbindings$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4281,11 +4321,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Accounts$Accessbindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Accessbindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Accounts$Accessbindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4320,8 +4362,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Accessbindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4379,11 +4423,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Accounts$Accessbindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Accessbindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Accessbindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4414,8 +4458,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Accessbindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4468,11 +4512,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Accounts$Accessbindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Accessbindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Accounts$Accessbindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4507,8 +4553,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Accessbindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4563,11 +4611,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Accounts$Accessbindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Accessbindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Accessbindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4602,8 +4652,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Accessbindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4661,11 +4713,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Accounts$Accessbindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Accessbindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Accounts$Accessbindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4700,8 +4754,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Accessbindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4864,11 +4920,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Accountsummaries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountsummaries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accountsummaries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4903,8 +4961,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountsummaries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5042,11 +5102,13 @@ export namespace analyticsadmin_v1alpha { acknowledgeUserDataCollection( params: Params$Resource$Properties$Acknowledgeuserdatacollection, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledgeUserDataCollection( params?: Params$Resource$Properties$Acknowledgeuserdatacollection, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; acknowledgeUserDataCollection( params: Params$Resource$Properties$Acknowledgeuserdatacollection, options: StreamMethodOptions | BodyResponseCallback, @@ -5081,8 +5143,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Acknowledgeuserdatacollection; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5139,11 +5203,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5178,8 +5244,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5237,11 +5305,13 @@ export namespace analyticsadmin_v1alpha { createConnectedSiteTag( params: Params$Resource$Properties$Createconnectedsitetag, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createConnectedSiteTag( params?: Params$Resource$Properties$Createconnectedsitetag, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; createConnectedSiteTag( params: Params$Resource$Properties$Createconnectedsitetag, options: StreamMethodOptions | BodyResponseCallback, @@ -5276,8 +5346,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Createconnectedsitetag; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5334,11 +5406,13 @@ export namespace analyticsadmin_v1alpha { createRollupProperty( params: Params$Resource$Properties$Createrollupproperty, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createRollupProperty( params?: Params$Resource$Properties$Createrollupproperty, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; createRollupProperty( params: Params$Resource$Properties$Createrollupproperty, options: StreamMethodOptions | BodyResponseCallback, @@ -5373,8 +5447,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Createrollupproperty; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5432,11 +5508,13 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; delete( params: Params$Resource$Properties$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5471,8 +5549,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5527,11 +5607,11 @@ export namespace analyticsadmin_v1alpha { deleteConnectedSiteTag( params: Params$Resource$Properties$Deleteconnectedsitetag, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteConnectedSiteTag( params?: Params$Resource$Properties$Deleteconnectedsitetag, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteConnectedSiteTag( params: Params$Resource$Properties$Deleteconnectedsitetag, options: StreamMethodOptions | BodyResponseCallback, @@ -5564,8 +5644,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Deleteconnectedsitetag; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5620,11 +5700,13 @@ export namespace analyticsadmin_v1alpha { fetchAutomatedGa4ConfigurationOptOut( params: Params$Resource$Properties$Fetchautomatedga4configurationoptout, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchAutomatedGa4ConfigurationOptOut( params?: Params$Resource$Properties$Fetchautomatedga4configurationoptout, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchAutomatedGa4ConfigurationOptOut( params: Params$Resource$Properties$Fetchautomatedga4configurationoptout, options: StreamMethodOptions | BodyResponseCallback, @@ -5659,8 +5741,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Fetchautomatedga4configurationoptout; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5719,11 +5803,13 @@ export namespace analyticsadmin_v1alpha { fetchConnectedGa4Property( params: Params$Resource$Properties$Fetchconnectedga4property, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchConnectedGa4Property( params?: Params$Resource$Properties$Fetchconnectedga4property, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchConnectedGa4Property( params: Params$Resource$Properties$Fetchconnectedga4property, options: StreamMethodOptions | BodyResponseCallback, @@ -5758,8 +5844,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Fetchconnectedga4property; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5816,11 +5904,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5855,8 +5945,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5910,11 +6002,13 @@ export namespace analyticsadmin_v1alpha { getAttributionSettings( params: Params$Resource$Properties$Getattributionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAttributionSettings( params?: Params$Resource$Properties$Getattributionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAttributionSettings( params: Params$Resource$Properties$Getattributionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -5949,8 +6043,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Getattributionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6005,11 +6101,13 @@ export namespace analyticsadmin_v1alpha { getDataRetentionSettings( params: Params$Resource$Properties$Getdataretentionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDataRetentionSettings( params?: Params$Resource$Properties$Getdataretentionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDataRetentionSettings( params: Params$Resource$Properties$Getdataretentionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6044,8 +6142,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Getdataretentionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6100,11 +6200,13 @@ export namespace analyticsadmin_v1alpha { getGoogleSignalsSettings( params: Params$Resource$Properties$Getgooglesignalssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGoogleSignalsSettings( params?: Params$Resource$Properties$Getgooglesignalssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getGoogleSignalsSettings( params: Params$Resource$Properties$Getgooglesignalssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6139,8 +6241,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Getgooglesignalssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6195,11 +6299,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6234,8 +6340,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6292,11 +6400,13 @@ export namespace analyticsadmin_v1alpha { listConnectedSiteTags( params: Params$Resource$Properties$Listconnectedsitetags, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listConnectedSiteTags( params?: Params$Resource$Properties$Listconnectedsitetags, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listConnectedSiteTags( params: Params$Resource$Properties$Listconnectedsitetags, options: StreamMethodOptions | BodyResponseCallback, @@ -6331,8 +6441,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Listconnectedsitetags; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6389,11 +6501,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6428,8 +6542,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6483,11 +6599,13 @@ export namespace analyticsadmin_v1alpha { provisionSubproperty( params: Params$Resource$Properties$Provisionsubproperty, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provisionSubproperty( params?: Params$Resource$Properties$Provisionsubproperty, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; provisionSubproperty( params: Params$Resource$Properties$Provisionsubproperty, options: StreamMethodOptions | BodyResponseCallback, @@ -6522,8 +6640,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Provisionsubproperty; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6581,11 +6701,13 @@ export namespace analyticsadmin_v1alpha { runAccessReport( params: Params$Resource$Properties$Runaccessreport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runAccessReport( params?: Params$Resource$Properties$Runaccessreport, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; runAccessReport( params: Params$Resource$Properties$Runaccessreport, options: StreamMethodOptions | BodyResponseCallback, @@ -6620,8 +6742,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Runaccessreport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6679,11 +6803,13 @@ export namespace analyticsadmin_v1alpha { setAutomatedGa4ConfigurationOptOut( params: Params$Resource$Properties$Setautomatedga4configurationoptout, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAutomatedGa4ConfigurationOptOut( params?: Params$Resource$Properties$Setautomatedga4configurationoptout, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setAutomatedGa4ConfigurationOptOut( params: Params$Resource$Properties$Setautomatedga4configurationoptout, options: StreamMethodOptions | BodyResponseCallback, @@ -6718,8 +6844,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Setautomatedga4configurationoptout; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6777,11 +6905,13 @@ export namespace analyticsadmin_v1alpha { updateAttributionSettings( params: Params$Resource$Properties$Updateattributionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAttributionSettings( params?: Params$Resource$Properties$Updateattributionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateAttributionSettings( params: Params$Resource$Properties$Updateattributionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6816,8 +6946,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Updateattributionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6872,11 +7004,13 @@ export namespace analyticsadmin_v1alpha { updateDataRetentionSettings( params: Params$Resource$Properties$Updatedataretentionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDataRetentionSettings( params?: Params$Resource$Properties$Updatedataretentionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateDataRetentionSettings( params: Params$Resource$Properties$Updatedataretentionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6911,8 +7045,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Updatedataretentionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6967,11 +7103,13 @@ export namespace analyticsadmin_v1alpha { updateGoogleSignalsSettings( params: Params$Resource$Properties$Updategooglesignalssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGoogleSignalsSettings( params?: Params$Resource$Properties$Updategooglesignalssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateGoogleSignalsSettings( params: Params$Resource$Properties$Updategooglesignalssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7006,8 +7144,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Updategooglesignalssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7272,11 +7412,13 @@ export namespace analyticsadmin_v1alpha { batchCreate( params: Params$Resource$Properties$Accessbindings$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Properties$Accessbindings$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchCreate( params: Params$Resource$Properties$Accessbindings$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -7311,8 +7453,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Accessbindings$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7369,11 +7513,11 @@ export namespace analyticsadmin_v1alpha { batchDelete( params: Params$Resource$Properties$Accessbindings$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Properties$Accessbindings$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Properties$Accessbindings$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -7406,8 +7550,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Accessbindings$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7462,11 +7606,13 @@ export namespace analyticsadmin_v1alpha { batchGet( params: Params$Resource$Properties$Accessbindings$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Properties$Accessbindings$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Properties$Accessbindings$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -7501,8 +7647,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Accessbindings$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7559,11 +7707,13 @@ export namespace analyticsadmin_v1alpha { batchUpdate( params: Params$Resource$Properties$Accessbindings$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Properties$Accessbindings$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Properties$Accessbindings$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -7598,8 +7748,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Accessbindings$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7656,11 +7808,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Accessbindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Accessbindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Accessbindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7695,8 +7849,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Accessbindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7754,11 +7910,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Accessbindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Accessbindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Accessbindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7789,8 +7945,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Accessbindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7843,11 +7999,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Accessbindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Accessbindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Accessbindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7882,8 +8040,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Accessbindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7938,11 +8098,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Accessbindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Accessbindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Accessbindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7977,8 +8139,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Accessbindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8036,11 +8200,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Accessbindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Accessbindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Accessbindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8075,8 +8241,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Accessbindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8239,11 +8407,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Adsenselinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Adsenselinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Adsenselinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8278,8 +8448,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Adsenselinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8337,11 +8509,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Adsenselinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Adsenselinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Adsenselinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8372,8 +8544,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Adsenselinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8426,11 +8598,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Adsenselinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Adsenselinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Adsenselinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8465,8 +8639,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Adsenselinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8521,11 +8697,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Adsenselinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Adsenselinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Adsenselinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8560,8 +8738,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Adsenselinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8668,11 +8848,11 @@ export namespace analyticsadmin_v1alpha { archive( params: Params$Resource$Properties$Audiences$Archive, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; archive( params?: Params$Resource$Properties$Audiences$Archive, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; archive( params: Params$Resource$Properties$Audiences$Archive, options: StreamMethodOptions | BodyResponseCallback, @@ -8703,8 +8883,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Audiences$Archive; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8760,11 +8940,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Audiences$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Audiences$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Audiences$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8799,8 +8981,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Audiences$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8858,11 +9042,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Audiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Audiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Audiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8897,8 +9083,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Audiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8953,11 +9141,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Audiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Audiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Audiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8992,8 +9182,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Audiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9051,11 +9243,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Audiences$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Audiences$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Audiences$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9090,8 +9284,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Audiences$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9216,11 +9412,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Bigquerylinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Bigquerylinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Bigquerylinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9255,8 +9453,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Bigquerylinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9314,11 +9514,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Bigquerylinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Bigquerylinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Bigquerylinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9349,8 +9549,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Bigquerylinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9403,11 +9603,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Bigquerylinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Bigquerylinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Bigquerylinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9442,8 +9644,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Bigquerylinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9498,11 +9702,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Bigquerylinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Bigquerylinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Bigquerylinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9537,8 +9743,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Bigquerylinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9596,11 +9804,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Bigquerylinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Bigquerylinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Bigquerylinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9635,8 +9845,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Bigquerylinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9756,11 +9968,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Calculatedmetrics$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Calculatedmetrics$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Calculatedmetrics$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9795,8 +10009,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Calculatedmetrics$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9854,11 +10070,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Calculatedmetrics$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Calculatedmetrics$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Calculatedmetrics$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9889,8 +10105,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Calculatedmetrics$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9943,11 +10159,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Calculatedmetrics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Calculatedmetrics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Calculatedmetrics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9982,8 +10200,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Calculatedmetrics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10038,11 +10258,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Calculatedmetrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Calculatedmetrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Calculatedmetrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10077,8 +10299,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Calculatedmetrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10136,11 +10360,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Calculatedmetrics$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Calculatedmetrics$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Calculatedmetrics$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10175,8 +10401,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Calculatedmetrics$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10300,11 +10528,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Channelgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Channelgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Channelgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10339,8 +10569,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Channelgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10398,11 +10630,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Channelgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Channelgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Channelgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10433,8 +10665,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Channelgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10487,11 +10719,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Channelgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Channelgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Channelgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10526,8 +10760,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Channelgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10582,11 +10818,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Channelgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Channelgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Channelgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10621,8 +10859,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Channelgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10680,11 +10920,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Channelgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Channelgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Channelgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10719,8 +10961,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Channelgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10840,11 +11084,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Conversionevents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Conversionevents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Conversionevents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10879,8 +11125,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Conversionevents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10938,11 +11186,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Conversionevents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Conversionevents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Conversionevents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10973,8 +11221,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Conversionevents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11027,11 +11275,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Conversionevents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Conversionevents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Conversionevents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11066,8 +11316,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Conversionevents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11122,11 +11374,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Conversionevents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Conversionevents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Conversionevents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11161,8 +11415,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Conversionevents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11220,11 +11476,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Conversionevents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Conversionevents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Conversionevents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11259,8 +11517,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Conversionevents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11380,11 +11640,11 @@ export namespace analyticsadmin_v1alpha { archive( params: Params$Resource$Properties$Customdimensions$Archive, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; archive( params?: Params$Resource$Properties$Customdimensions$Archive, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; archive( params: Params$Resource$Properties$Customdimensions$Archive, options: StreamMethodOptions | BodyResponseCallback, @@ -11415,8 +11675,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Customdimensions$Archive; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11472,11 +11732,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Customdimensions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Customdimensions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Customdimensions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11511,8 +11773,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Customdimensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11570,11 +11834,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Customdimensions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Customdimensions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Customdimensions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11609,8 +11875,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Customdimensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11665,11 +11933,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Customdimensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Customdimensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Customdimensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11704,8 +11974,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Customdimensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11763,11 +12035,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Customdimensions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Customdimensions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Customdimensions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11802,8 +12076,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Customdimensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11928,11 +12204,11 @@ export namespace analyticsadmin_v1alpha { archive( params: Params$Resource$Properties$Custommetrics$Archive, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; archive( params?: Params$Resource$Properties$Custommetrics$Archive, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; archive( params: Params$Resource$Properties$Custommetrics$Archive, options: StreamMethodOptions | BodyResponseCallback, @@ -11963,8 +12239,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Custommetrics$Archive; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12020,11 +12296,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Custommetrics$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Custommetrics$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Custommetrics$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12059,8 +12337,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Custommetrics$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12118,11 +12398,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Custommetrics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Custommetrics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Custommetrics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12157,8 +12439,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Custommetrics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12213,11 +12497,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Custommetrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Custommetrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Custommetrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12252,8 +12538,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Custommetrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12311,11 +12599,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Custommetrics$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Custommetrics$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Custommetrics$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12350,8 +12640,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Custommetrics$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12493,11 +12785,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Datastreams$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Datastreams$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Datastreams$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12532,8 +12826,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12591,11 +12887,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Datastreams$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Datastreams$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Datastreams$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12626,8 +12922,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12680,11 +12976,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Datastreams$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Datastreams$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Datastreams$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12719,8 +13017,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12775,11 +13075,13 @@ export namespace analyticsadmin_v1alpha { getDataRedactionSettings( params: Params$Resource$Properties$Datastreams$Getdataredactionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDataRedactionSettings( params?: Params$Resource$Properties$Datastreams$Getdataredactionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDataRedactionSettings( params: Params$Resource$Properties$Datastreams$Getdataredactionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -12814,8 +13116,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Getdataredactionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12871,11 +13175,13 @@ export namespace analyticsadmin_v1alpha { getEnhancedMeasurementSettings( params: Params$Resource$Properties$Datastreams$Getenhancedmeasurementsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEnhancedMeasurementSettings( params?: Params$Resource$Properties$Datastreams$Getenhancedmeasurementsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEnhancedMeasurementSettings( params: Params$Resource$Properties$Datastreams$Getenhancedmeasurementsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -12910,8 +13216,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Getenhancedmeasurementsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12967,11 +13275,13 @@ export namespace analyticsadmin_v1alpha { getGlobalSiteTag( params: Params$Resource$Properties$Datastreams$Getglobalsitetag, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGlobalSiteTag( params?: Params$Resource$Properties$Datastreams$Getglobalsitetag, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getGlobalSiteTag( params: Params$Resource$Properties$Datastreams$Getglobalsitetag, options: StreamMethodOptions | BodyResponseCallback, @@ -13006,8 +13316,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Getglobalsitetag; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13062,11 +13374,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Datastreams$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Datastreams$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Datastreams$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13101,8 +13415,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13160,11 +13476,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Datastreams$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Datastreams$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Datastreams$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13199,8 +13517,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13255,11 +13575,13 @@ export namespace analyticsadmin_v1alpha { updateDataRedactionSettings( params: Params$Resource$Properties$Datastreams$Updatedataredactionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDataRedactionSettings( params?: Params$Resource$Properties$Datastreams$Updatedataredactionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateDataRedactionSettings( params: Params$Resource$Properties$Datastreams$Updatedataredactionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -13294,8 +13616,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Updatedataredactionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13351,11 +13675,13 @@ export namespace analyticsadmin_v1alpha { updateEnhancedMeasurementSettings( params: Params$Resource$Properties$Datastreams$Updateenhancedmeasurementsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateEnhancedMeasurementSettings( params?: Params$Resource$Properties$Datastreams$Updateenhancedmeasurementsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateEnhancedMeasurementSettings( params: Params$Resource$Properties$Datastreams$Updateenhancedmeasurementsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -13390,8 +13716,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Updateenhancedmeasurementsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13565,11 +13893,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Datastreams$Eventcreaterules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Datastreams$Eventcreaterules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Datastreams$Eventcreaterules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13604,8 +13934,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Eventcreaterules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13664,11 +13996,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Datastreams$Eventcreaterules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Datastreams$Eventcreaterules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Datastreams$Eventcreaterules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13699,8 +14031,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Eventcreaterules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13754,11 +14086,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Datastreams$Eventcreaterules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Datastreams$Eventcreaterules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Datastreams$Eventcreaterules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13793,8 +14127,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Eventcreaterules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13850,11 +14186,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Datastreams$Eventcreaterules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Datastreams$Eventcreaterules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Datastreams$Eventcreaterules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13889,8 +14227,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Eventcreaterules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13949,11 +14289,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Datastreams$Eventcreaterules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Datastreams$Eventcreaterules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Datastreams$Eventcreaterules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13988,8 +14330,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Eventcreaterules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14110,11 +14454,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Datastreams$Eventeditrules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Datastreams$Eventeditrules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Datastreams$Eventeditrules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14149,8 +14495,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Eventeditrules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14209,11 +14557,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Datastreams$Eventeditrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Datastreams$Eventeditrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Datastreams$Eventeditrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14244,8 +14592,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Eventeditrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14299,11 +14647,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Datastreams$Eventeditrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Datastreams$Eventeditrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Datastreams$Eventeditrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14338,8 +14688,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Eventeditrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14395,11 +14747,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Datastreams$Eventeditrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Datastreams$Eventeditrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Datastreams$Eventeditrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14434,8 +14788,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Eventeditrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14494,11 +14850,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Datastreams$Eventeditrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Datastreams$Eventeditrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Datastreams$Eventeditrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14533,8 +14891,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Eventeditrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14590,11 +14950,11 @@ export namespace analyticsadmin_v1alpha { reorder( params: Params$Resource$Properties$Datastreams$Eventeditrules$Reorder, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reorder( params?: Params$Resource$Properties$Datastreams$Eventeditrules$Reorder, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reorder( params: Params$Resource$Properties$Datastreams$Eventeditrules$Reorder, options: StreamMethodOptions | BodyResponseCallback, @@ -14625,8 +14985,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Eventeditrules$Reorder; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14759,11 +15119,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14798,8 +15160,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14857,11 +15221,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14892,8 +15256,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14947,11 +15311,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14986,8 +15352,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15043,11 +15411,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15082,8 +15452,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15141,11 +15513,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15180,8 +15554,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15302,11 +15678,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15341,8 +15719,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15400,11 +15780,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15435,8 +15815,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15490,11 +15870,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15529,8 +15911,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15586,11 +15970,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15625,8 +16011,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15684,11 +16072,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15723,8 +16113,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Skadnetworkconversionvalueschema$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15845,11 +16237,13 @@ export namespace analyticsadmin_v1alpha { approve( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; approve( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -15884,8 +16278,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15944,11 +16340,13 @@ export namespace analyticsadmin_v1alpha { cancel( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; cancel( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -15983,8 +16381,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16043,11 +16443,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16082,8 +16484,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16142,11 +16546,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16177,8 +16581,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16232,11 +16636,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16271,8 +16677,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Displayvideo360advertiserlinkproposals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16328,11 +16736,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Displayvideo360advertiserlinkproposals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16367,8 +16777,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Displayvideo360advertiserlinkproposals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16500,11 +16912,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Displayvideo360advertiserlinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Displayvideo360advertiserlinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Displayvideo360advertiserlinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16539,8 +16953,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Displayvideo360advertiserlinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16598,11 +17014,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Displayvideo360advertiserlinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Displayvideo360advertiserlinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Displayvideo360advertiserlinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16633,8 +17049,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Displayvideo360advertiserlinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16688,11 +17104,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Displayvideo360advertiserlinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Displayvideo360advertiserlinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Displayvideo360advertiserlinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16727,8 +17145,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Displayvideo360advertiserlinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16784,11 +17204,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Displayvideo360advertiserlinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Displayvideo360advertiserlinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Displayvideo360advertiserlinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16823,8 +17245,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Displayvideo360advertiserlinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16882,11 +17306,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Displayvideo360advertiserlinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Displayvideo360advertiserlinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Displayvideo360advertiserlinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16921,8 +17347,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Displayvideo360advertiserlinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17043,11 +17471,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Expandeddatasets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Expandeddatasets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Expandeddatasets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17082,8 +17512,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Expandeddatasets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17141,11 +17573,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Expandeddatasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Expandeddatasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Expandeddatasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17176,8 +17608,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Expandeddatasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17230,11 +17662,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Expandeddatasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Expandeddatasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Expandeddatasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17269,8 +17703,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Expandeddatasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17325,11 +17761,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Expandeddatasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Expandeddatasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Expandeddatasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17364,8 +17802,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Expandeddatasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17423,11 +17863,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Expandeddatasets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Expandeddatasets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Expandeddatasets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17462,8 +17904,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Expandeddatasets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17583,11 +18027,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Firebaselinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Firebaselinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Firebaselinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17622,8 +18068,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Firebaselinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17681,11 +18129,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Firebaselinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Firebaselinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Firebaselinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17716,8 +18164,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Firebaselinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17770,11 +18218,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Firebaselinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Firebaselinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Firebaselinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17809,8 +18259,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Firebaselinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17910,11 +18362,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Googleadslinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Googleadslinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Googleadslinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17949,8 +18403,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Googleadslinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18008,11 +18464,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Googleadslinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Googleadslinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Googleadslinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18043,8 +18499,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Googleadslinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18097,11 +18553,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Googleadslinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Googleadslinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Googleadslinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18136,8 +18594,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Googleadslinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18195,11 +18655,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Googleadslinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Googleadslinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Googleadslinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18234,8 +18696,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Googleadslinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18348,11 +18812,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Keyevents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Keyevents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Keyevents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18387,8 +18853,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Keyevents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18446,11 +18914,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Keyevents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Keyevents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Keyevents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18481,8 +18949,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Keyevents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18535,11 +19003,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Keyevents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Keyevents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Keyevents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18574,8 +19044,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Keyevents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18630,11 +19102,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Keyevents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Keyevents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Keyevents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18669,8 +19143,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Keyevents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18728,11 +19204,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Keyevents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Keyevents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Keyevents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18767,8 +19245,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Keyevents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18888,11 +19368,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Reportingdataannotations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Reportingdataannotations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Reportingdataannotations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18927,8 +19409,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Reportingdataannotations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18986,11 +19470,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Reportingdataannotations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Reportingdataannotations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Reportingdataannotations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19021,8 +19505,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Reportingdataannotations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19076,11 +19560,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Reportingdataannotations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Reportingdataannotations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Reportingdataannotations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19115,8 +19601,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Reportingdataannotations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19171,11 +19659,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Reportingdataannotations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Reportingdataannotations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Reportingdataannotations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19210,8 +19700,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Reportingdataannotations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19268,11 +19760,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Reportingdataannotations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Reportingdataannotations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Reportingdataannotations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19307,8 +19801,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Reportingdataannotations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19433,11 +19929,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Rolluppropertysourcelinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Rolluppropertysourcelinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Rolluppropertysourcelinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19472,8 +19970,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Rolluppropertysourcelinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19531,11 +20031,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Rolluppropertysourcelinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Rolluppropertysourcelinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Rolluppropertysourcelinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19566,8 +20066,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Rolluppropertysourcelinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19621,11 +20121,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Rolluppropertysourcelinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Rolluppropertysourcelinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Rolluppropertysourcelinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19660,8 +20162,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Rolluppropertysourcelinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19716,11 +20220,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Rolluppropertysourcelinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Rolluppropertysourcelinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Rolluppropertysourcelinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19755,8 +20261,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Rolluppropertysourcelinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19863,11 +20371,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Searchads360links$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Searchads360links$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Searchads360links$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19902,8 +20412,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Searchads360links$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19961,11 +20473,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Searchads360links$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Searchads360links$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Searchads360links$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19996,8 +20508,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Searchads360links$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20050,11 +20562,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Searchads360links$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Searchads360links$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Searchads360links$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20089,8 +20603,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Searchads360links$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20145,11 +20661,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Searchads360links$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Searchads360links$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Searchads360links$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20184,8 +20702,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Searchads360links$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20243,11 +20763,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Searchads360links$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Searchads360links$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Searchads360links$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20282,8 +20804,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Searchads360links$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20403,11 +20927,13 @@ export namespace analyticsadmin_v1alpha { create( params: Params$Resource$Properties$Subpropertyeventfilters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Subpropertyeventfilters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Subpropertyeventfilters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20442,8 +20968,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Subpropertyeventfilters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20501,11 +21029,11 @@ export namespace analyticsadmin_v1alpha { delete( params: Params$Resource$Properties$Subpropertyeventfilters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Subpropertyeventfilters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Subpropertyeventfilters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20536,8 +21064,8 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Subpropertyeventfilters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20591,11 +21119,13 @@ export namespace analyticsadmin_v1alpha { get( params: Params$Resource$Properties$Subpropertyeventfilters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Subpropertyeventfilters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Subpropertyeventfilters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20630,8 +21160,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Subpropertyeventfilters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20686,11 +21218,13 @@ export namespace analyticsadmin_v1alpha { list( params: Params$Resource$Properties$Subpropertyeventfilters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Subpropertyeventfilters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Subpropertyeventfilters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20725,8 +21259,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Subpropertyeventfilters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20783,11 +21319,13 @@ export namespace analyticsadmin_v1alpha { patch( params: Params$Resource$Properties$Subpropertyeventfilters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Subpropertyeventfilters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Subpropertyeventfilters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20822,8 +21360,10 @@ export namespace analyticsadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Subpropertyeventfilters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/analyticsadmin/v1beta.ts b/src/apis/analyticsadmin/v1beta.ts index 27033475c3d..854c056dd20 100644 --- a/src/apis/analyticsadmin/v1beta.ts +++ b/src/apis/analyticsadmin/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1315,11 +1315,11 @@ export namespace analyticsadmin_v1beta { delete( params: Params$Resource$Accounts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1350,8 +1350,8 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1403,11 +1403,13 @@ export namespace analyticsadmin_v1beta { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1442,8 +1444,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1497,11 +1501,13 @@ export namespace analyticsadmin_v1beta { getDataSharingSettings( params: Params$Resource$Accounts$Getdatasharingsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDataSharingSettings( params?: Params$Resource$Accounts$Getdatasharingsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDataSharingSettings( params: Params$Resource$Accounts$Getdatasharingsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1536,8 +1542,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Getdatasharingsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1592,11 +1600,13 @@ export namespace analyticsadmin_v1beta { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1631,8 +1641,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1686,11 +1698,13 @@ export namespace analyticsadmin_v1beta { patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1725,8 +1739,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1780,11 +1796,13 @@ export namespace analyticsadmin_v1beta { provisionAccountTicket( params: Params$Resource$Accounts$Provisionaccountticket, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provisionAccountTicket( params?: Params$Resource$Accounts$Provisionaccountticket, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; provisionAccountTicket( params: Params$Resource$Accounts$Provisionaccountticket, options: StreamMethodOptions | BodyResponseCallback, @@ -1819,8 +1837,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Provisionaccountticket; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1878,11 +1898,13 @@ export namespace analyticsadmin_v1beta { runAccessReport( params: Params$Resource$Accounts$Runaccessreport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runAccessReport( params?: Params$Resource$Accounts$Runaccessreport, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; runAccessReport( params: Params$Resource$Accounts$Runaccessreport, options: StreamMethodOptions | BodyResponseCallback, @@ -1917,8 +1939,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Runaccessreport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1976,11 +2000,13 @@ export namespace analyticsadmin_v1beta { searchChangeHistoryEvents( params: Params$Resource$Accounts$Searchchangehistoryevents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchChangeHistoryEvents( params?: Params$Resource$Accounts$Searchchangehistoryevents, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchChangeHistoryEvents( params: Params$Resource$Accounts$Searchchangehistoryevents, options: StreamMethodOptions | BodyResponseCallback, @@ -2015,8 +2041,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Searchchangehistoryevents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2160,11 +2188,13 @@ export namespace analyticsadmin_v1beta { list( params: Params$Resource$Accountsummaries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountsummaries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accountsummaries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2199,8 +2229,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountsummaries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2297,11 +2329,13 @@ export namespace analyticsadmin_v1beta { acknowledgeUserDataCollection( params: Params$Resource$Properties$Acknowledgeuserdatacollection, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledgeUserDataCollection( params?: Params$Resource$Properties$Acknowledgeuserdatacollection, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; acknowledgeUserDataCollection( params: Params$Resource$Properties$Acknowledgeuserdatacollection, options: StreamMethodOptions | BodyResponseCallback, @@ -2336,8 +2370,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Acknowledgeuserdatacollection; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2394,11 +2430,13 @@ export namespace analyticsadmin_v1beta { create( params: Params$Resource$Properties$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2433,8 +2471,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2489,11 +2529,13 @@ export namespace analyticsadmin_v1beta { delete( params: Params$Resource$Properties$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; delete( params: Params$Resource$Properties$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2528,8 +2570,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2584,11 +2628,13 @@ export namespace analyticsadmin_v1beta { get( params: Params$Resource$Properties$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2623,8 +2669,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2678,11 +2726,13 @@ export namespace analyticsadmin_v1beta { getDataRetentionSettings( params: Params$Resource$Properties$Getdataretentionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDataRetentionSettings( params?: Params$Resource$Properties$Getdataretentionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDataRetentionSettings( params: Params$Resource$Properties$Getdataretentionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2717,8 +2767,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Getdataretentionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2773,11 +2825,13 @@ export namespace analyticsadmin_v1beta { list( params: Params$Resource$Properties$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2812,8 +2866,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2867,11 +2923,13 @@ export namespace analyticsadmin_v1beta { patch( params: Params$Resource$Properties$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2906,8 +2964,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2961,11 +3021,13 @@ export namespace analyticsadmin_v1beta { runAccessReport( params: Params$Resource$Properties$Runaccessreport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runAccessReport( params?: Params$Resource$Properties$Runaccessreport, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; runAccessReport( params: Params$Resource$Properties$Runaccessreport, options: StreamMethodOptions | BodyResponseCallback, @@ -3000,8 +3062,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Runaccessreport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3059,11 +3123,13 @@ export namespace analyticsadmin_v1beta { updateDataRetentionSettings( params: Params$Resource$Properties$Updatedataretentionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDataRetentionSettings( params?: Params$Resource$Properties$Updatedataretentionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateDataRetentionSettings( params: Params$Resource$Properties$Updatedataretentionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -3098,8 +3164,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Updatedataretentionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3262,11 +3330,13 @@ export namespace analyticsadmin_v1beta { create( params: Params$Resource$Properties$Conversionevents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Conversionevents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Conversionevents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3301,8 +3371,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Conversionevents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3360,11 +3432,11 @@ export namespace analyticsadmin_v1beta { delete( params: Params$Resource$Properties$Conversionevents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Conversionevents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Conversionevents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3395,8 +3467,8 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Conversionevents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3449,11 +3521,13 @@ export namespace analyticsadmin_v1beta { get( params: Params$Resource$Properties$Conversionevents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Conversionevents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Conversionevents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3488,8 +3562,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Conversionevents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3544,11 +3620,13 @@ export namespace analyticsadmin_v1beta { list( params: Params$Resource$Properties$Conversionevents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Conversionevents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Conversionevents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3583,8 +3661,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Conversionevents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3642,11 +3722,13 @@ export namespace analyticsadmin_v1beta { patch( params: Params$Resource$Properties$Conversionevents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Conversionevents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Conversionevents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3681,8 +3763,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Conversionevents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3802,11 +3886,11 @@ export namespace analyticsadmin_v1beta { archive( params: Params$Resource$Properties$Customdimensions$Archive, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; archive( params?: Params$Resource$Properties$Customdimensions$Archive, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; archive( params: Params$Resource$Properties$Customdimensions$Archive, options: StreamMethodOptions | BodyResponseCallback, @@ -3837,8 +3921,8 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Customdimensions$Archive; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3894,11 +3978,13 @@ export namespace analyticsadmin_v1beta { create( params: Params$Resource$Properties$Customdimensions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Customdimensions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Customdimensions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3933,8 +4019,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Customdimensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3992,11 +4080,13 @@ export namespace analyticsadmin_v1beta { get( params: Params$Resource$Properties$Customdimensions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Customdimensions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Customdimensions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4031,8 +4121,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Customdimensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4087,11 +4179,13 @@ export namespace analyticsadmin_v1beta { list( params: Params$Resource$Properties$Customdimensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Customdimensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Customdimensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4126,8 +4220,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Customdimensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4185,11 +4281,13 @@ export namespace analyticsadmin_v1beta { patch( params: Params$Resource$Properties$Customdimensions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Customdimensions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Customdimensions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4224,8 +4322,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Customdimensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4350,11 +4450,11 @@ export namespace analyticsadmin_v1beta { archive( params: Params$Resource$Properties$Custommetrics$Archive, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; archive( params?: Params$Resource$Properties$Custommetrics$Archive, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; archive( params: Params$Resource$Properties$Custommetrics$Archive, options: StreamMethodOptions | BodyResponseCallback, @@ -4385,8 +4485,8 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Custommetrics$Archive; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4442,11 +4542,13 @@ export namespace analyticsadmin_v1beta { create( params: Params$Resource$Properties$Custommetrics$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Custommetrics$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Custommetrics$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4481,8 +4583,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Custommetrics$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4540,11 +4644,13 @@ export namespace analyticsadmin_v1beta { get( params: Params$Resource$Properties$Custommetrics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Custommetrics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Custommetrics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4579,8 +4685,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Custommetrics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4635,11 +4743,13 @@ export namespace analyticsadmin_v1beta { list( params: Params$Resource$Properties$Custommetrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Custommetrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Custommetrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4674,8 +4784,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Custommetrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4733,11 +4845,13 @@ export namespace analyticsadmin_v1beta { patch( params: Params$Resource$Properties$Custommetrics$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Custommetrics$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Custommetrics$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4772,8 +4886,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Custommetrics$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4903,11 +5019,13 @@ export namespace analyticsadmin_v1beta { create( params: Params$Resource$Properties$Datastreams$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Datastreams$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Datastreams$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4942,8 +5060,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5001,11 +5121,11 @@ export namespace analyticsadmin_v1beta { delete( params: Params$Resource$Properties$Datastreams$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Datastreams$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Datastreams$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5036,8 +5156,8 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5090,11 +5210,13 @@ export namespace analyticsadmin_v1beta { get( params: Params$Resource$Properties$Datastreams$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Datastreams$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Datastreams$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5129,8 +5251,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5185,11 +5309,13 @@ export namespace analyticsadmin_v1beta { list( params: Params$Resource$Properties$Datastreams$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Datastreams$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Datastreams$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5224,8 +5350,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5283,11 +5411,13 @@ export namespace analyticsadmin_v1beta { patch( params: Params$Resource$Properties$Datastreams$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Datastreams$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Datastreams$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5322,8 +5452,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5443,11 +5575,13 @@ export namespace analyticsadmin_v1beta { create( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5482,8 +5616,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5541,11 +5677,11 @@ export namespace analyticsadmin_v1beta { delete( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5576,8 +5712,8 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5631,11 +5767,13 @@ export namespace analyticsadmin_v1beta { get( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5670,8 +5808,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5727,11 +5867,13 @@ export namespace analyticsadmin_v1beta { list( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5766,8 +5908,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5825,11 +5969,13 @@ export namespace analyticsadmin_v1beta { patch( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5864,8 +6010,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Datastreams$Measurementprotocolsecrets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5986,11 +6134,13 @@ export namespace analyticsadmin_v1beta { create( params: Params$Resource$Properties$Firebaselinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Firebaselinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Firebaselinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6025,8 +6175,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Firebaselinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6084,11 +6236,11 @@ export namespace analyticsadmin_v1beta { delete( params: Params$Resource$Properties$Firebaselinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Firebaselinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Firebaselinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6119,8 +6271,8 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Firebaselinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6173,11 +6325,13 @@ export namespace analyticsadmin_v1beta { list( params: Params$Resource$Properties$Firebaselinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Firebaselinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Firebaselinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6212,8 +6366,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Firebaselinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6313,11 +6469,13 @@ export namespace analyticsadmin_v1beta { create( params: Params$Resource$Properties$Googleadslinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Googleadslinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Googleadslinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6352,8 +6510,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Googleadslinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6411,11 +6571,11 @@ export namespace analyticsadmin_v1beta { delete( params: Params$Resource$Properties$Googleadslinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Googleadslinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Googleadslinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6446,8 +6606,8 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Googleadslinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6500,11 +6660,13 @@ export namespace analyticsadmin_v1beta { list( params: Params$Resource$Properties$Googleadslinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Googleadslinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Googleadslinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6539,8 +6701,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Googleadslinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6598,11 +6762,13 @@ export namespace analyticsadmin_v1beta { patch( params: Params$Resource$Properties$Googleadslinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Googleadslinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Googleadslinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6637,8 +6803,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Googleadslinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6751,11 +6919,13 @@ export namespace analyticsadmin_v1beta { create( params: Params$Resource$Properties$Keyevents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Keyevents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Properties$Keyevents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6790,8 +6960,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Keyevents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6849,11 +7021,11 @@ export namespace analyticsadmin_v1beta { delete( params: Params$Resource$Properties$Keyevents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Keyevents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Keyevents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6884,8 +7056,8 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Keyevents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6938,11 +7110,13 @@ export namespace analyticsadmin_v1beta { get( params: Params$Resource$Properties$Keyevents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Keyevents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Properties$Keyevents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6977,8 +7151,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Keyevents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7033,11 +7209,13 @@ export namespace analyticsadmin_v1beta { list( params: Params$Resource$Properties$Keyevents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Keyevents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Properties$Keyevents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7072,8 +7250,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Keyevents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7131,11 +7311,13 @@ export namespace analyticsadmin_v1beta { patch( params: Params$Resource$Properties$Keyevents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Keyevents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Properties$Keyevents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7170,8 +7352,10 @@ export namespace analyticsadmin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Keyevents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/analyticsdata/index.ts b/src/apis/analyticsdata/index.ts index f2192cfd759..7fb779f387e 100644 --- a/src/apis/analyticsdata/index.ts +++ b/src/apis/analyticsdata/index.ts @@ -57,7 +57,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/analyticsdata/package.json b/src/apis/analyticsdata/package.json index 489278c336a..7174d10919d 100644 --- a/src/apis/analyticsdata/package.json +++ b/src/apis/analyticsdata/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/analyticsdata/v1alpha.ts b/src/apis/analyticsdata/v1alpha.ts index f6a21493fd4..89b92e7e11c 100644 --- a/src/apis/analyticsdata/v1alpha.ts +++ b/src/apis/analyticsdata/v1alpha.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1060,11 +1060,11 @@ export namespace analyticsdata_v1alpha { getMetadata( params: Params$Resource$Properties$Getmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMetadata( params?: Params$Resource$Properties$Getmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getMetadata( params: Params$Resource$Properties$Getmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -1093,7 +1093,7 @@ export namespace analyticsdata_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Getmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1212,11 +1212,11 @@ export namespace analyticsdata_v1alpha { runRealtimeReport( params: Params$Resource$Properties$Runrealtimereport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runRealtimeReport( params?: Params$Resource$Properties$Runrealtimereport, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runRealtimeReport( params: Params$Resource$Properties$Runrealtimereport, options: StreamMethodOptions | BodyResponseCallback, @@ -1251,8 +1251,8 @@ export namespace analyticsdata_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Runrealtimereport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1385,11 +1385,11 @@ export namespace analyticsdata_v1alpha { batchRunPivotReports( params: Params$Resource$V1alpha$Batchrunpivotreports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRunPivotReports( params?: Params$Resource$V1alpha$Batchrunpivotreports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchRunPivotReports( params: Params$Resource$V1alpha$Batchrunpivotreports, options: StreamMethodOptions | BodyResponseCallback, @@ -1424,8 +1424,8 @@ export namespace analyticsdata_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1alpha$Batchrunpivotreports; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1533,11 +1533,11 @@ export namespace analyticsdata_v1alpha { batchRunReports( params: Params$Resource$V1alpha$Batchrunreports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRunReports( params?: Params$Resource$V1alpha$Batchrunreports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchRunReports( params: Params$Resource$V1alpha$Batchrunreports, options: StreamMethodOptions | BodyResponseCallback, @@ -1572,8 +1572,8 @@ export namespace analyticsdata_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1alpha$Batchrunreports; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1694,11 +1694,11 @@ export namespace analyticsdata_v1alpha { runPivotReport( params: Params$Resource$V1alpha$Runpivotreport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runPivotReport( params?: Params$Resource$V1alpha$Runpivotreport, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runPivotReport( params: Params$Resource$V1alpha$Runpivotreport, options: StreamMethodOptions | BodyResponseCallback, @@ -1733,8 +1733,8 @@ export namespace analyticsdata_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1alpha$Runpivotreport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1860,11 +1860,11 @@ export namespace analyticsdata_v1alpha { runReport( params: Params$Resource$V1alpha$Runreport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runReport( params?: Params$Resource$V1alpha$Runreport, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runReport( params: Params$Resource$V1alpha$Runreport, options: StreamMethodOptions | BodyResponseCallback, @@ -1895,8 +1895,8 @@ export namespace analyticsdata_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1alpha$Runreport; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/analyticsdata/v1beta.ts b/src/apis/analyticsdata/v1beta.ts index c74a382183e..3acc0146457 100644 --- a/src/apis/analyticsdata/v1beta.ts +++ b/src/apis/analyticsdata/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1396,11 +1396,11 @@ export namespace analyticsdata_v1beta { batchRunPivotReports( params: Params$Resource$Properties$Batchrunpivotreports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRunPivotReports( params?: Params$Resource$Properties$Batchrunpivotreports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchRunPivotReports( params: Params$Resource$Properties$Batchrunpivotreports, options: StreamMethodOptions | BodyResponseCallback, @@ -1435,8 +1435,8 @@ export namespace analyticsdata_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Batchrunpivotreports; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1494,11 +1494,11 @@ export namespace analyticsdata_v1beta { batchRunReports( params: Params$Resource$Properties$Batchrunreports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRunReports( params?: Params$Resource$Properties$Batchrunreports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchRunReports( params: Params$Resource$Properties$Batchrunreports, options: StreamMethodOptions | BodyResponseCallback, @@ -1533,8 +1533,8 @@ export namespace analyticsdata_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Batchrunreports; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1590,11 +1590,11 @@ export namespace analyticsdata_v1beta { checkCompatibility( params: Params$Resource$Properties$Checkcompatibility, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkCompatibility( params?: Params$Resource$Properties$Checkcompatibility, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkCompatibility( params: Params$Resource$Properties$Checkcompatibility, options: StreamMethodOptions | BodyResponseCallback, @@ -1629,8 +1629,8 @@ export namespace analyticsdata_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Checkcompatibility; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1686,11 +1686,11 @@ export namespace analyticsdata_v1beta { getMetadata( params: Params$Resource$Properties$Getmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMetadata( params?: Params$Resource$Properties$Getmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getMetadata( params: Params$Resource$Properties$Getmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -1719,7 +1719,10 @@ export namespace analyticsdata_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Getmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1772,11 +1775,11 @@ export namespace analyticsdata_v1beta { runPivotReport( params: Params$Resource$Properties$Runpivotreport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runPivotReport( params?: Params$Resource$Properties$Runpivotreport, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runPivotReport( params: Params$Resource$Properties$Runpivotreport, options: StreamMethodOptions | BodyResponseCallback, @@ -1811,8 +1814,8 @@ export namespace analyticsdata_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Runpivotreport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1868,11 +1871,11 @@ export namespace analyticsdata_v1beta { runRealtimeReport( params: Params$Resource$Properties$Runrealtimereport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runRealtimeReport( params?: Params$Resource$Properties$Runrealtimereport, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runRealtimeReport( params: Params$Resource$Properties$Runrealtimereport, options: StreamMethodOptions | BodyResponseCallback, @@ -1907,8 +1910,8 @@ export namespace analyticsdata_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Runrealtimereport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1964,11 +1967,11 @@ export namespace analyticsdata_v1beta { runReport( params: Params$Resource$Properties$Runreport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runReport( params?: Params$Resource$Properties$Runreport, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runReport( params: Params$Resource$Properties$Runreport, options: StreamMethodOptions | BodyResponseCallback, @@ -1999,8 +2002,8 @@ export namespace analyticsdata_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Runreport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2143,11 +2146,11 @@ export namespace analyticsdata_v1beta { create( params: Params$Resource$Properties$Audienceexports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Properties$Audienceexports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Properties$Audienceexports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2176,7 +2179,10 @@ export namespace analyticsdata_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Audienceexports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2232,11 +2238,11 @@ export namespace analyticsdata_v1beta { get( params: Params$Resource$Properties$Audienceexports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Audienceexports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Properties$Audienceexports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2265,7 +2271,10 @@ export namespace analyticsdata_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Audienceexports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2318,11 +2327,11 @@ export namespace analyticsdata_v1beta { list( params: Params$Resource$Properties$Audienceexports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$Audienceexports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Properties$Audienceexports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2357,8 +2366,8 @@ export namespace analyticsdata_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Audienceexports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2414,11 +2423,11 @@ export namespace analyticsdata_v1beta { query( params: Params$Resource$Properties$Audienceexports$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Properties$Audienceexports$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Properties$Audienceexports$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -2453,8 +2462,8 @@ export namespace analyticsdata_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Audienceexports$Query; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/analyticshub/index.ts b/src/apis/analyticshub/index.ts index 42997404de9..9b0c518eba0 100644 --- a/src/apis/analyticshub/index.ts +++ b/src/apis/analyticshub/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/analyticshub/package.json b/src/apis/analyticshub/package.json index 6a85e1cb502..37691cf6a08 100644 --- a/src/apis/analyticshub/package.json +++ b/src/apis/analyticshub/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/analyticshub/v1.ts b/src/apis/analyticshub/v1.ts index 7b51e4d1a75..000a3426984 100644 --- a/src/apis/analyticshub/v1.ts +++ b/src/apis/analyticshub/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1221,11 +1221,11 @@ export namespace analyticshub_v1 { list( params: Params$Resource$Organizations$Locations$Dataexchanges$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Dataexchanges$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Dataexchanges$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1260,8 +1260,8 @@ export namespace analyticshub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Dataexchanges$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1370,11 +1370,11 @@ export namespace analyticshub_v1 { create( params: Params$Resource$Projects$Locations$Dataexchanges$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Dataexchanges$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Dataexchanges$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1403,7 +1403,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1458,11 +1461,11 @@ export namespace analyticshub_v1 { delete( params: Params$Resource$Projects$Locations$Dataexchanges$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Dataexchanges$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Dataexchanges$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1491,7 +1494,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1543,11 +1549,11 @@ export namespace analyticshub_v1 { get( params: Params$Resource$Projects$Locations$Dataexchanges$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Dataexchanges$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Dataexchanges$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1576,7 +1582,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1628,11 +1637,11 @@ export namespace analyticshub_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Dataexchanges$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1661,7 +1670,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1717,11 +1729,11 @@ export namespace analyticshub_v1 { list( params: Params$Resource$Projects$Locations$Dataexchanges$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Dataexchanges$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Dataexchanges$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1756,8 +1768,8 @@ export namespace analyticshub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1812,11 +1824,13 @@ export namespace analyticshub_v1 { listSubscriptions( params: Params$Resource$Projects$Locations$Dataexchanges$Listsubscriptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listSubscriptions( params?: Params$Resource$Projects$Locations$Dataexchanges$Listsubscriptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listSubscriptions( params: Params$Resource$Projects$Locations$Dataexchanges$Listsubscriptions, options: StreamMethodOptions | BodyResponseCallback, @@ -1851,8 +1865,10 @@ export namespace analyticshub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listsubscriptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1910,11 +1926,11 @@ export namespace analyticshub_v1 { patch( params: Params$Resource$Projects$Locations$Dataexchanges$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Dataexchanges$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Dataexchanges$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1943,7 +1959,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1995,11 +2014,11 @@ export namespace analyticshub_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Dataexchanges$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2028,7 +2047,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2084,11 +2106,11 @@ export namespace analyticshub_v1 { subscribe( params: Params$Resource$Projects$Locations$Dataexchanges$Subscribe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; subscribe( params?: Params$Resource$Projects$Locations$Dataexchanges$Subscribe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; subscribe( params: Params$Resource$Projects$Locations$Dataexchanges$Subscribe, options: StreamMethodOptions | BodyResponseCallback, @@ -2117,7 +2139,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Subscribe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2173,11 +2198,11 @@ export namespace analyticshub_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Dataexchanges$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Dataexchanges$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Dataexchanges$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2212,8 +2237,8 @@ export namespace analyticshub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2405,11 +2430,11 @@ export namespace analyticshub_v1 { create( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2438,7 +2463,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2494,11 +2522,11 @@ export namespace analyticshub_v1 { delete( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2527,7 +2555,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2580,11 +2611,11 @@ export namespace analyticshub_v1 { get( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2613,7 +2644,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2666,11 +2700,11 @@ export namespace analyticshub_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2699,7 +2733,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2755,11 +2792,11 @@ export namespace analyticshub_v1 { list( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2792,8 +2829,8 @@ export namespace analyticshub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2849,11 +2886,13 @@ export namespace analyticshub_v1 { listSubscriptions( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Listsubscriptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listSubscriptions( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Listsubscriptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listSubscriptions( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Listsubscriptions, options: StreamMethodOptions | BodyResponseCallback, @@ -2888,8 +2927,10 @@ export namespace analyticshub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Listsubscriptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2947,11 +2988,11 @@ export namespace analyticshub_v1 { patch( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2980,7 +3021,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3033,11 +3077,11 @@ export namespace analyticshub_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3066,7 +3110,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3122,11 +3169,11 @@ export namespace analyticshub_v1 { subscribe( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Subscribe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; subscribe( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Subscribe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; subscribe( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Subscribe, options: StreamMethodOptions | BodyResponseCallback, @@ -3161,8 +3208,8 @@ export namespace analyticshub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Subscribe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3218,11 +3265,11 @@ export namespace analyticshub_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3257,8 +3304,8 @@ export namespace analyticshub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3454,11 +3501,11 @@ export namespace analyticshub_v1 { delete( params: Params$Resource$Projects$Locations$Subscriptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Subscriptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Subscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3487,7 +3534,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Subscriptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3539,11 +3589,11 @@ export namespace analyticshub_v1 { get( params: Params$Resource$Projects$Locations$Subscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Subscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Subscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3572,7 +3622,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Subscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3624,11 +3677,11 @@ export namespace analyticshub_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Subscriptions$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Subscriptions$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Subscriptions$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3657,7 +3710,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Subscriptions$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3713,11 +3769,11 @@ export namespace analyticshub_v1 { list( params: Params$Resource$Projects$Locations$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3752,8 +3808,8 @@ export namespace analyticshub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3808,11 +3864,11 @@ export namespace analyticshub_v1 { refresh( params: Params$Resource$Projects$Locations$Subscriptions$Refresh, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; refresh( params?: Params$Resource$Projects$Locations$Subscriptions$Refresh, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; refresh( params: Params$Resource$Projects$Locations$Subscriptions$Refresh, options: StreamMethodOptions | BodyResponseCallback, @@ -3841,7 +3897,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Subscriptions$Refresh; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3896,11 +3955,11 @@ export namespace analyticshub_v1 { revoke( params: Params$Resource$Projects$Locations$Subscriptions$Revoke, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params?: Params$Resource$Projects$Locations$Subscriptions$Revoke, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params: Params$Resource$Projects$Locations$Subscriptions$Revoke, options: StreamMethodOptions | BodyResponseCallback, @@ -3935,8 +3994,8 @@ export namespace analyticshub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Subscriptions$Revoke; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3988,11 +4047,11 @@ export namespace analyticshub_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Subscriptions$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Subscriptions$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Subscriptions$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4021,7 +4080,10 @@ export namespace analyticshub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Subscriptions$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/analyticshub/v1beta1.ts b/src/apis/analyticshub/v1beta1.ts index 882bcfbf1d4..ccd19dc47bc 100644 --- a/src/apis/analyticshub/v1beta1.ts +++ b/src/apis/analyticshub/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -682,11 +682,11 @@ export namespace analyticshub_v1beta1 { list( params: Params$Resource$Organizations$Locations$Dataexchanges$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Dataexchanges$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Dataexchanges$List, options: StreamMethodOptions | BodyResponseCallback, @@ -721,8 +721,8 @@ export namespace analyticshub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Dataexchanges$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -827,11 +827,11 @@ export namespace analyticshub_v1beta1 { create( params: Params$Resource$Projects$Locations$Dataexchanges$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Dataexchanges$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Dataexchanges$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -860,7 +860,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -915,11 +918,11 @@ export namespace analyticshub_v1beta1 { delete( params: Params$Resource$Projects$Locations$Dataexchanges$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Dataexchanges$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Dataexchanges$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -948,7 +951,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1000,11 +1006,11 @@ export namespace analyticshub_v1beta1 { get( params: Params$Resource$Projects$Locations$Dataexchanges$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Dataexchanges$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Dataexchanges$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1033,7 +1039,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1085,11 +1094,11 @@ export namespace analyticshub_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Dataexchanges$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1118,7 +1127,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1174,11 +1186,11 @@ export namespace analyticshub_v1beta1 { list( params: Params$Resource$Projects$Locations$Dataexchanges$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Dataexchanges$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Dataexchanges$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1213,8 +1225,8 @@ export namespace analyticshub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1269,11 +1281,11 @@ export namespace analyticshub_v1beta1 { patch( params: Params$Resource$Projects$Locations$Dataexchanges$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Dataexchanges$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Dataexchanges$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1302,7 +1314,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1354,11 +1369,11 @@ export namespace analyticshub_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Dataexchanges$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1387,7 +1402,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1443,11 +1461,11 @@ export namespace analyticshub_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Dataexchanges$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Dataexchanges$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Dataexchanges$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1482,8 +1500,8 @@ export namespace analyticshub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1644,11 +1662,11 @@ export namespace analyticshub_v1beta1 { create( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1677,7 +1695,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1733,11 +1754,11 @@ export namespace analyticshub_v1beta1 { delete( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1766,7 +1787,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1819,11 +1843,11 @@ export namespace analyticshub_v1beta1 { get( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1852,7 +1876,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1905,11 +1932,11 @@ export namespace analyticshub_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1938,7 +1965,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1994,11 +2024,11 @@ export namespace analyticshub_v1beta1 { list( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2031,8 +2061,8 @@ export namespace analyticshub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2088,11 +2118,11 @@ export namespace analyticshub_v1beta1 { patch( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2121,7 +2151,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2174,11 +2207,11 @@ export namespace analyticshub_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2207,7 +2240,10 @@ export namespace analyticshub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2263,11 +2299,11 @@ export namespace analyticshub_v1beta1 { subscribe( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Subscribe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; subscribe( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Subscribe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; subscribe( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Subscribe, options: StreamMethodOptions | BodyResponseCallback, @@ -2302,8 +2338,8 @@ export namespace analyticshub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Subscribe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2359,11 +2395,11 @@ export namespace analyticshub_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Dataexchanges$Listings$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Dataexchanges$Listings$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2398,8 +2434,8 @@ export namespace analyticshub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataexchanges$Listings$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/analyticsreporting/index.ts b/src/apis/analyticsreporting/index.ts index 68c618199b8..35b6bb8b7dd 100644 --- a/src/apis/analyticsreporting/index.ts +++ b/src/apis/analyticsreporting/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/analyticsreporting/package.json b/src/apis/analyticsreporting/package.json index 24951d54e67..9c60d5063b0 100644 --- a/src/apis/analyticsreporting/package.json +++ b/src/apis/analyticsreporting/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/analyticsreporting/v4.ts b/src/apis/analyticsreporting/v4.ts index 4e8e21c6ea8..4ff317171b6 100644 --- a/src/apis/analyticsreporting/v4.ts +++ b/src/apis/analyticsreporting/v4.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1119,11 +1119,11 @@ export namespace analyticsreporting_v4 { batchGet( params: Params$Resource$Reports$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Reports$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Reports$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -1154,8 +1154,8 @@ export namespace analyticsreporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1224,11 +1224,11 @@ export namespace analyticsreporting_v4 { search( params: Params$Resource$Useractivity$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Useractivity$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Useractivity$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1263,8 +1263,8 @@ export namespace analyticsreporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Useractivity$Search; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/androiddeviceprovisioning/index.ts b/src/apis/androiddeviceprovisioning/index.ts index 85b76e995d7..3b922b0f58f 100644 --- a/src/apis/androiddeviceprovisioning/index.ts +++ b/src/apis/androiddeviceprovisioning/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/androiddeviceprovisioning/package.json b/src/apis/androiddeviceprovisioning/package.json index 0f5f1eacb62..ea0dd014bf8 100644 --- a/src/apis/androiddeviceprovisioning/package.json +++ b/src/apis/androiddeviceprovisioning/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/androiddeviceprovisioning/v1.ts b/src/apis/androiddeviceprovisioning/v1.ts index 0e51ae51a48..6b15e656677 100644 --- a/src/apis/androiddeviceprovisioning/v1.ts +++ b/src/apis/androiddeviceprovisioning/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -931,11 +931,11 @@ export namespace androiddeviceprovisioning_v1 { list( params: Params$Resource$Customers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -970,8 +970,8 @@ export namespace androiddeviceprovisioning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1043,11 +1043,11 @@ export namespace androiddeviceprovisioning_v1 { create( params: Params$Resource$Customers$Configurations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Configurations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Configurations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1076,7 +1076,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Configurations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1132,11 +1135,11 @@ export namespace androiddeviceprovisioning_v1 { delete( params: Params$Resource$Customers$Configurations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customers$Configurations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customers$Configurations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1165,7 +1168,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Configurations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1218,11 +1224,11 @@ export namespace androiddeviceprovisioning_v1 { get( params: Params$Resource$Customers$Configurations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Configurations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Configurations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1251,7 +1257,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Configurations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1304,11 +1313,13 @@ export namespace androiddeviceprovisioning_v1 { list( params: Params$Resource$Customers$Configurations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Configurations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Configurations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1343,8 +1354,10 @@ export namespace androiddeviceprovisioning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Configurations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1402,11 +1415,11 @@ export namespace androiddeviceprovisioning_v1 { patch( params: Params$Resource$Customers$Configurations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Configurations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Configurations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1435,7 +1448,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Configurations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1545,11 +1561,11 @@ export namespace androiddeviceprovisioning_v1 { applyConfiguration( params: Params$Resource$Customers$Devices$Applyconfiguration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyConfiguration( params?: Params$Resource$Customers$Devices$Applyconfiguration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyConfiguration( params: Params$Resource$Customers$Devices$Applyconfiguration, options: StreamMethodOptions | BodyResponseCallback, @@ -1578,7 +1594,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Applyconfiguration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1634,11 +1653,11 @@ export namespace androiddeviceprovisioning_v1 { get( params: Params$Resource$Customers$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1667,7 +1686,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1720,11 +1742,11 @@ export namespace androiddeviceprovisioning_v1 { list( params: Params$Resource$Customers$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1759,8 +1781,8 @@ export namespace androiddeviceprovisioning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1816,11 +1838,11 @@ export namespace androiddeviceprovisioning_v1 { removeConfiguration( params: Params$Resource$Customers$Devices$Removeconfiguration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeConfiguration( params?: Params$Resource$Customers$Devices$Removeconfiguration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeConfiguration( params: Params$Resource$Customers$Devices$Removeconfiguration, options: StreamMethodOptions | BodyResponseCallback, @@ -1849,7 +1871,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Removeconfiguration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1904,11 +1929,11 @@ export namespace androiddeviceprovisioning_v1 { unclaim( params: Params$Resource$Customers$Devices$Unclaim, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unclaim( params?: Params$Resource$Customers$Devices$Unclaim, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unclaim( params: Params$Resource$Customers$Devices$Unclaim, options: StreamMethodOptions | BodyResponseCallback, @@ -1937,7 +1962,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Unclaim; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2059,11 +2087,11 @@ export namespace androiddeviceprovisioning_v1 { list( params: Params$Resource$Customers$Dpcs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Dpcs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Dpcs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2096,8 +2124,8 @@ export namespace androiddeviceprovisioning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Dpcs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2165,11 +2193,11 @@ export namespace androiddeviceprovisioning_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2198,7 +2226,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2277,11 +2308,11 @@ export namespace androiddeviceprovisioning_v1 { create( params: Params$Resource$Partners$Customers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Customers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Customers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2310,7 +2341,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Customers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2366,11 +2400,11 @@ export namespace androiddeviceprovisioning_v1 { list( params: Params$Resource$Partners$Customers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Customers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Customers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2403,8 +2437,8 @@ export namespace androiddeviceprovisioning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Customers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2495,11 +2529,11 @@ export namespace androiddeviceprovisioning_v1 { claim( params: Params$Resource$Partners$Devices$Claim, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; claim( params?: Params$Resource$Partners$Devices$Claim, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; claim( params: Params$Resource$Partners$Devices$Claim, options: StreamMethodOptions | BodyResponseCallback, @@ -2530,8 +2564,8 @@ export namespace androiddeviceprovisioning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Devices$Claim; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2587,11 +2621,11 @@ export namespace androiddeviceprovisioning_v1 { claimAsync( params: Params$Resource$Partners$Devices$Claimasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; claimAsync( params?: Params$Resource$Partners$Devices$Claimasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; claimAsync( params: Params$Resource$Partners$Devices$Claimasync, options: StreamMethodOptions | BodyResponseCallback, @@ -2620,7 +2654,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Devices$Claimasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2675,11 +2712,13 @@ export namespace androiddeviceprovisioning_v1 { findByIdentifier( params: Params$Resource$Partners$Devices$Findbyidentifier, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; findByIdentifier( params?: Params$Resource$Partners$Devices$Findbyidentifier, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; findByIdentifier( params: Params$Resource$Partners$Devices$Findbyidentifier, options: StreamMethodOptions | BodyResponseCallback, @@ -2714,8 +2753,10 @@ export namespace androiddeviceprovisioning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Devices$Findbyidentifier; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2772,11 +2813,11 @@ export namespace androiddeviceprovisioning_v1 { findByOwner( params: Params$Resource$Partners$Devices$Findbyowner, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; findByOwner( params?: Params$Resource$Partners$Devices$Findbyowner, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; findByOwner( params: Params$Resource$Partners$Devices$Findbyowner, options: StreamMethodOptions | BodyResponseCallback, @@ -2811,8 +2852,8 @@ export namespace androiddeviceprovisioning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Devices$Findbyowner; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2867,11 +2908,11 @@ export namespace androiddeviceprovisioning_v1 { get( params: Params$Resource$Partners$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2900,7 +2941,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2953,11 +2997,11 @@ export namespace androiddeviceprovisioning_v1 { getSimLockState( params: Params$Resource$Partners$Devices$Getsimlockstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSimLockState( params?: Params$Resource$Partners$Devices$Getsimlockstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSimLockState( params: Params$Resource$Partners$Devices$Getsimlockstate, options: StreamMethodOptions | BodyResponseCallback, @@ -2992,8 +3036,8 @@ export namespace androiddeviceprovisioning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Devices$Getsimlockstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3050,11 +3094,11 @@ export namespace androiddeviceprovisioning_v1 { metadata( params: Params$Resource$Partners$Devices$Metadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; metadata( params?: Params$Resource$Partners$Devices$Metadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; metadata( params: Params$Resource$Partners$Devices$Metadata, options: StreamMethodOptions | BodyResponseCallback, @@ -3083,7 +3127,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Devices$Metadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3139,11 +3186,11 @@ export namespace androiddeviceprovisioning_v1 { unclaim( params: Params$Resource$Partners$Devices$Unclaim, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unclaim( params?: Params$Resource$Partners$Devices$Unclaim, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unclaim( params: Params$Resource$Partners$Devices$Unclaim, options: StreamMethodOptions | BodyResponseCallback, @@ -3172,7 +3219,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Devices$Unclaim; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3227,11 +3277,11 @@ export namespace androiddeviceprovisioning_v1 { unclaimAsync( params: Params$Resource$Partners$Devices$Unclaimasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unclaimAsync( params?: Params$Resource$Partners$Devices$Unclaimasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unclaimAsync( params: Params$Resource$Partners$Devices$Unclaimasync, options: StreamMethodOptions | BodyResponseCallback, @@ -3260,7 +3310,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Devices$Unclaimasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3315,11 +3368,11 @@ export namespace androiddeviceprovisioning_v1 { updateMetadataAsync( params: Params$Resource$Partners$Devices$Updatemetadataasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateMetadataAsync( params?: Params$Resource$Partners$Devices$Updatemetadataasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateMetadataAsync( params: Params$Resource$Partners$Devices$Updatemetadataasync, options: StreamMethodOptions | BodyResponseCallback, @@ -3348,7 +3401,10 @@ export namespace androiddeviceprovisioning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Devices$Updatemetadataasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3532,11 +3588,11 @@ export namespace androiddeviceprovisioning_v1 { list( params: Params$Resource$Partners$Vendors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Vendors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Vendors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3567,8 +3623,8 @@ export namespace androiddeviceprovisioning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Vendors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3647,11 +3703,11 @@ export namespace androiddeviceprovisioning_v1 { list( params: Params$Resource$Partners$Vendors$Customers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Vendors$Customers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Vendors$Customers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3686,8 +3742,8 @@ export namespace androiddeviceprovisioning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Vendors$Customers$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/androidenterprise/index.ts b/src/apis/androidenterprise/index.ts index f3ef63d744f..6519b332d48 100644 --- a/src/apis/androidenterprise/index.ts +++ b/src/apis/androidenterprise/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/androidenterprise/package.json b/src/apis/androidenterprise/package.json index 126cc03bba8..fdcb5f412ca 100644 --- a/src/apis/androidenterprise/package.json +++ b/src/apis/androidenterprise/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/androidenterprise/v1.ts b/src/apis/androidenterprise/v1.ts index 6bc64cc62e5..db1f21efa29 100644 --- a/src/apis/androidenterprise/v1.ts +++ b/src/apis/androidenterprise/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1613,11 +1613,11 @@ export namespace androidenterprise_v1 { forceReportUpload( params: Params$Resource$Devices$Forcereportupload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; forceReportUpload( params?: Params$Resource$Devices$Forcereportupload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; forceReportUpload( params: Params$Resource$Devices$Forcereportupload, options: StreamMethodOptions | BodyResponseCallback, @@ -1644,7 +1644,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Forcereportupload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1700,11 +1703,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1733,7 +1736,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1788,11 +1794,11 @@ export namespace androidenterprise_v1 { getState( params: Params$Resource$Devices$Getstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getState( params?: Params$Resource$Devices$Getstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getState( params: Params$Resource$Devices$Getstate, options: StreamMethodOptions | BodyResponseCallback, @@ -1821,7 +1827,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Getstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1876,11 +1885,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1911,8 +1920,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1967,11 +1976,11 @@ export namespace androidenterprise_v1 { setState( params: Params$Resource$Devices$Setstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setState( params?: Params$Resource$Devices$Setstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setState( params: Params$Resource$Devices$Setstate, options: StreamMethodOptions | BodyResponseCallback, @@ -2000,7 +2009,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Setstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2055,11 +2067,11 @@ export namespace androidenterprise_v1 { update( params: Params$Resource$Devices$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Devices$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Devices$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2088,7 +2100,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2246,11 +2261,11 @@ export namespace androidenterprise_v1 { create( params: Params$Resource$Enrollmenttokens$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Enrollmenttokens$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Enrollmenttokens$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2279,7 +2294,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enrollmenttokens$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2355,11 +2373,11 @@ export namespace androidenterprise_v1 { acknowledgeNotificationSet( params: Params$Resource$Enterprises$Acknowledgenotificationset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledgeNotificationSet( params?: Params$Resource$Enterprises$Acknowledgenotificationset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; acknowledgeNotificationSet( params: Params$Resource$Enterprises$Acknowledgenotificationset, options: StreamMethodOptions | BodyResponseCallback, @@ -2386,7 +2404,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Acknowledgenotificationset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2442,11 +2463,11 @@ export namespace androidenterprise_v1 { completeSignup( params: Params$Resource$Enterprises$Completesignup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeSignup( params?: Params$Resource$Enterprises$Completesignup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeSignup( params: Params$Resource$Enterprises$Completesignup, options: StreamMethodOptions | BodyResponseCallback, @@ -2475,7 +2496,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Completesignup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2530,11 +2554,11 @@ export namespace androidenterprise_v1 { createWebToken( params: Params$Resource$Enterprises$Createwebtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createWebToken( params?: Params$Resource$Enterprises$Createwebtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createWebToken( params: Params$Resource$Enterprises$Createwebtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -2569,8 +2593,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Createwebtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2626,11 +2650,11 @@ export namespace androidenterprise_v1 { enroll( params: Params$Resource$Enterprises$Enroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params?: Params$Resource$Enterprises$Enroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params: Params$Resource$Enterprises$Enroll, options: StreamMethodOptions | BodyResponseCallback, @@ -2659,7 +2683,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Enroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2715,11 +2742,13 @@ export namespace androidenterprise_v1 { generateEnterpriseUpgradeUrl( params: Params$Resource$Enterprises$Generateenterpriseupgradeurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateEnterpriseUpgradeUrl( params?: Params$Resource$Enterprises$Generateenterpriseupgradeurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateEnterpriseUpgradeUrl( params: Params$Resource$Enterprises$Generateenterpriseupgradeurl, options: StreamMethodOptions | BodyResponseCallback, @@ -2754,8 +2783,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Generateenterpriseupgradeurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2813,11 +2844,11 @@ export namespace androidenterprise_v1 { generateSignupUrl( params: Params$Resource$Enterprises$Generatesignupurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateSignupUrl( params?: Params$Resource$Enterprises$Generatesignupurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateSignupUrl( params: Params$Resource$Enterprises$Generatesignupurl, options: StreamMethodOptions | BodyResponseCallback, @@ -2846,7 +2877,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Generatesignupurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2901,11 +2935,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Enterprises$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Enterprises$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2934,7 +2968,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2988,11 +3025,11 @@ export namespace androidenterprise_v1 { getServiceAccount( params: Params$Resource$Enterprises$Getserviceaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getServiceAccount( params?: Params$Resource$Enterprises$Getserviceaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getServiceAccount( params: Params$Resource$Enterprises$Getserviceaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -3023,7 +3060,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Getserviceaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3079,11 +3119,11 @@ export namespace androidenterprise_v1 { getStoreLayout( params: Params$Resource$Enterprises$Getstorelayout, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStoreLayout( params?: Params$Resource$Enterprises$Getstorelayout, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStoreLayout( params: Params$Resource$Enterprises$Getstorelayout, options: StreamMethodOptions | BodyResponseCallback, @@ -3112,7 +3152,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Getstorelayout; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3168,11 +3211,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Enterprises$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Enterprises$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Enterprises$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3205,8 +3248,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3261,11 +3304,11 @@ export namespace androidenterprise_v1 { pullNotificationSet( params: Params$Resource$Enterprises$Pullnotificationset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pullNotificationSet( params?: Params$Resource$Enterprises$Pullnotificationset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pullNotificationSet( params: Params$Resource$Enterprises$Pullnotificationset, options: StreamMethodOptions | BodyResponseCallback, @@ -3296,7 +3339,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Pullnotificationset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3351,11 +3397,13 @@ export namespace androidenterprise_v1 { sendTestPushNotification( params: Params$Resource$Enterprises$Sendtestpushnotification, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendTestPushNotification( params?: Params$Resource$Enterprises$Sendtestpushnotification, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; sendTestPushNotification( params: Params$Resource$Enterprises$Sendtestpushnotification, options: StreamMethodOptions | BodyResponseCallback, @@ -3390,8 +3438,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Sendtestpushnotification; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3449,11 +3499,11 @@ export namespace androidenterprise_v1 { setAccount( params: Params$Resource$Enterprises$Setaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAccount( params?: Params$Resource$Enterprises$Setaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAccount( params: Params$Resource$Enterprises$Setaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -3484,8 +3534,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Setaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3541,11 +3591,11 @@ export namespace androidenterprise_v1 { setStoreLayout( params: Params$Resource$Enterprises$Setstorelayout, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setStoreLayout( params?: Params$Resource$Enterprises$Setstorelayout, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setStoreLayout( params: Params$Resource$Enterprises$Setstorelayout, options: StreamMethodOptions | BodyResponseCallback, @@ -3574,7 +3624,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Setstorelayout; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3630,11 +3683,11 @@ export namespace androidenterprise_v1 { unenroll( params: Params$Resource$Enterprises$Unenroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params?: Params$Resource$Enterprises$Unenroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params: Params$Resource$Enterprises$Unenroll, options: StreamMethodOptions | BodyResponseCallback, @@ -3661,7 +3714,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Unenroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3872,11 +3928,11 @@ export namespace androidenterprise_v1 { delete( params: Params$Resource$Entitlements$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Entitlements$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Entitlements$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3903,7 +3959,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entitlements$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3959,11 +4018,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Entitlements$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Entitlements$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Entitlements$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3992,7 +4051,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entitlements$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4047,11 +4109,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Entitlements$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Entitlements$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Entitlements$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4084,8 +4146,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entitlements$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4141,11 +4203,11 @@ export namespace androidenterprise_v1 { update( params: Params$Resource$Entitlements$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Entitlements$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Entitlements$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4174,7 +4236,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entitlements$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4302,11 +4367,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Grouplicenses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Grouplicenses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Grouplicenses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4335,7 +4400,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Grouplicenses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4391,11 +4459,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Grouplicenses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Grouplicenses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Grouplicenses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4430,8 +4498,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Grouplicenses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4513,11 +4581,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Grouplicenseusers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Grouplicenseusers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Grouplicenseusers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4552,8 +4620,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Grouplicenseusers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4630,11 +4698,11 @@ export namespace androidenterprise_v1 { delete( params: Params$Resource$Installs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Installs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Installs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4661,7 +4729,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Installs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4716,11 +4787,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Installs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Installs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Installs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4749,7 +4820,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Installs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4804,11 +4878,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Installs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Installs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Installs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4841,8 +4915,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Installs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4897,11 +4971,11 @@ export namespace androidenterprise_v1 { update( params: Params$Resource$Installs$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Installs$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Installs$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4930,7 +5004,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Installs$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5066,11 +5143,11 @@ export namespace androidenterprise_v1 { delete( params: Params$Resource$Managedconfigurationsfordevice$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Managedconfigurationsfordevice$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Managedconfigurationsfordevice$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5097,7 +5174,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedconfigurationsfordevice$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5163,11 +5243,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Managedconfigurationsfordevice$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Managedconfigurationsfordevice$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Managedconfigurationsfordevice$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5200,8 +5280,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedconfigurationsfordevice$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5267,11 +5347,13 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Managedconfigurationsfordevice$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedconfigurationsfordevice$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Managedconfigurationsfordevice$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5306,8 +5388,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedconfigurationsfordevice$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5365,11 +5449,11 @@ export namespace androidenterprise_v1 { update( params: Params$Resource$Managedconfigurationsfordevice$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Managedconfigurationsfordevice$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Managedconfigurationsfordevice$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5402,8 +5486,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedconfigurationsfordevice$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5554,11 +5638,11 @@ export namespace androidenterprise_v1 { delete( params: Params$Resource$Managedconfigurationsforuser$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Managedconfigurationsforuser$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Managedconfigurationsforuser$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5585,7 +5669,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedconfigurationsforuser$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5645,11 +5732,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Managedconfigurationsforuser$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Managedconfigurationsforuser$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Managedconfigurationsforuser$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5682,8 +5769,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedconfigurationsforuser$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5743,11 +5830,13 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Managedconfigurationsforuser$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedconfigurationsforuser$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Managedconfigurationsforuser$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5782,8 +5871,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedconfigurationsforuser$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5841,11 +5932,11 @@ export namespace androidenterprise_v1 { update( params: Params$Resource$Managedconfigurationsforuser$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Managedconfigurationsforuser$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Managedconfigurationsforuser$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5878,8 +5969,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedconfigurationsforuser$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6008,11 +6099,13 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Managedconfigurationssettings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedconfigurationssettings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Managedconfigurationssettings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6047,8 +6140,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedconfigurationssettings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6125,11 +6220,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Permissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Permissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Permissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6158,7 +6253,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6230,11 +6328,11 @@ export namespace androidenterprise_v1 { approve( params: Params$Resource$Products$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Products$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Products$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -6261,7 +6359,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6316,11 +6417,13 @@ export namespace androidenterprise_v1 { generateApprovalUrl( params: Params$Resource$Products$Generateapprovalurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateApprovalUrl( params?: Params$Resource$Products$Generateapprovalurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateApprovalUrl( params: Params$Resource$Products$Generateapprovalurl, options: StreamMethodOptions | BodyResponseCallback, @@ -6355,8 +6458,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Generateapprovalurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6414,11 +6519,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6447,7 +6552,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6502,11 +6610,11 @@ export namespace androidenterprise_v1 { getAppRestrictionsSchema( params: Params$Resource$Products$Getapprestrictionsschema, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAppRestrictionsSchema( params?: Params$Resource$Products$Getapprestrictionsschema, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAppRestrictionsSchema( params: Params$Resource$Products$Getapprestrictionsschema, options: StreamMethodOptions | BodyResponseCallback, @@ -6541,8 +6649,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Getapprestrictionsschema; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6598,11 +6706,11 @@ export namespace androidenterprise_v1 { getPermissions( params: Params$Resource$Products$Getpermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPermissions( params?: Params$Resource$Products$Getpermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPermissions( params: Params$Resource$Products$Getpermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6635,8 +6743,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Getpermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6692,11 +6800,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6729,8 +6837,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6785,11 +6893,11 @@ export namespace androidenterprise_v1 { unapprove( params: Params$Resource$Products$Unapprove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unapprove( params?: Params$Resource$Products$Unapprove, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unapprove( params: Params$Resource$Products$Unapprove, options: StreamMethodOptions | BodyResponseCallback, @@ -6816,7 +6924,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Unapprove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6987,11 +7098,11 @@ export namespace androidenterprise_v1 { delete( params: Params$Resource$Serviceaccountkeys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Serviceaccountkeys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Serviceaccountkeys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7018,7 +7129,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceaccountkeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7074,11 +7188,11 @@ export namespace androidenterprise_v1 { insert( params: Params$Resource$Serviceaccountkeys$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Serviceaccountkeys$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Serviceaccountkeys$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7109,8 +7223,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceaccountkeys$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7166,11 +7280,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Serviceaccountkeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Serviceaccountkeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Serviceaccountkeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7205,8 +7319,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceaccountkeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7302,11 +7416,11 @@ export namespace androidenterprise_v1 { delete( params: Params$Resource$Storelayoutclusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Storelayoutclusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Storelayoutclusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7333,7 +7447,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storelayoutclusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7389,11 +7506,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Storelayoutclusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Storelayoutclusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Storelayoutclusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7422,7 +7539,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storelayoutclusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7478,11 +7598,11 @@ export namespace androidenterprise_v1 { insert( params: Params$Resource$Storelayoutclusters$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Storelayoutclusters$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Storelayoutclusters$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7511,7 +7631,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storelayoutclusters$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7567,11 +7690,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Storelayoutclusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Storelayoutclusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Storelayoutclusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7606,8 +7729,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storelayoutclusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7665,11 +7788,11 @@ export namespace androidenterprise_v1 { update( params: Params$Resource$Storelayoutclusters$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Storelayoutclusters$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Storelayoutclusters$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7698,7 +7821,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storelayoutclusters$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7839,11 +7965,11 @@ export namespace androidenterprise_v1 { delete( params: Params$Resource$Storelayoutpages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Storelayoutpages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Storelayoutpages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7870,7 +7996,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storelayoutpages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7926,11 +8055,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Storelayoutpages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Storelayoutpages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Storelayoutpages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7959,7 +8088,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storelayoutpages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8015,11 +8147,11 @@ export namespace androidenterprise_v1 { insert( params: Params$Resource$Storelayoutpages$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Storelayoutpages$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Storelayoutpages$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8048,7 +8180,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storelayoutpages$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8104,11 +8239,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Storelayoutpages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Storelayoutpages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Storelayoutpages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8143,8 +8278,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storelayoutpages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8202,11 +8337,11 @@ export namespace androidenterprise_v1 { update( params: Params$Resource$Storelayoutpages$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Storelayoutpages$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Storelayoutpages$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8235,7 +8370,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storelayoutpages$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8356,11 +8494,11 @@ export namespace androidenterprise_v1 { delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8387,7 +8525,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8442,11 +8583,11 @@ export namespace androidenterprise_v1 { generateAuthenticationToken( params: Params$Resource$Users$Generateauthenticationtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateAuthenticationToken( params?: Params$Resource$Users$Generateauthenticationtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateAuthenticationToken( params: Params$Resource$Users$Generateauthenticationtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -8479,8 +8620,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Generateauthenticationtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8536,11 +8677,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8569,7 +8710,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8624,11 +8768,11 @@ export namespace androidenterprise_v1 { getAvailableProductSet( params: Params$Resource$Users$Getavailableproductset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAvailableProductSet( params?: Params$Resource$Users$Getavailableproductset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAvailableProductSet( params: Params$Resource$Users$Getavailableproductset, options: StreamMethodOptions | BodyResponseCallback, @@ -8659,7 +8803,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Getavailableproductset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8715,11 +8862,11 @@ export namespace androidenterprise_v1 { insert( params: Params$Resource$Users$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Users$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Users$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8748,7 +8895,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8802,11 +8952,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8837,8 +8987,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8892,11 +9042,11 @@ export namespace androidenterprise_v1 { revokeDeviceAccess( params: Params$Resource$Users$Revokedeviceaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revokeDeviceAccess( params?: Params$Resource$Users$Revokedeviceaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revokeDeviceAccess( params: Params$Resource$Users$Revokedeviceaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -8923,7 +9073,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Revokedeviceaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8979,11 +9132,11 @@ export namespace androidenterprise_v1 { setAvailableProductSet( params: Params$Resource$Users$Setavailableproductset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAvailableProductSet( params?: Params$Resource$Users$Setavailableproductset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAvailableProductSet( params: Params$Resource$Users$Setavailableproductset, options: StreamMethodOptions | BodyResponseCallback, @@ -9014,7 +9167,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Setavailableproductset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9070,11 +9226,11 @@ export namespace androidenterprise_v1 { update( params: Params$Resource$Users$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Users$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Users$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9103,7 +9259,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9271,11 +9430,11 @@ export namespace androidenterprise_v1 { delete( params: Params$Resource$Webapps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Webapps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Webapps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9302,7 +9461,10 @@ export namespace androidenterprise_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webapps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9357,11 +9519,11 @@ export namespace androidenterprise_v1 { get( params: Params$Resource$Webapps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Webapps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Webapps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9390,7 +9552,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webapps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9445,11 +9610,11 @@ export namespace androidenterprise_v1 { insert( params: Params$Resource$Webapps$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Webapps$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Webapps$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9478,7 +9643,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webapps$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9533,11 +9701,11 @@ export namespace androidenterprise_v1 { list( params: Params$Resource$Webapps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Webapps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Webapps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9568,8 +9736,8 @@ export namespace androidenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webapps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9624,11 +9792,11 @@ export namespace androidenterprise_v1 { update( params: Params$Resource$Webapps$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Webapps$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Webapps$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9657,7 +9825,10 @@ export namespace androidenterprise_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webapps$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/androidmanagement/index.ts b/src/apis/androidmanagement/index.ts index 312ebed82ab..40d18c954ea 100644 --- a/src/apis/androidmanagement/index.ts +++ b/src/apis/androidmanagement/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/androidmanagement/package.json b/src/apis/androidmanagement/package.json index 43d9d95f7a1..9fa47e32bad 100644 --- a/src/apis/androidmanagement/package.json +++ b/src/apis/androidmanagement/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/androidmanagement/v1.ts b/src/apis/androidmanagement/v1.ts index 510273a740a..6a402eb5085 100644 --- a/src/apis/androidmanagement/v1.ts +++ b/src/apis/androidmanagement/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -196,6 +196,104 @@ export namespace androidmanagement_v1 { */ minApiLevel?: number | null; } + /** + * Access Point Name (APN) policy. Configuration for Access Point Names (APNs) which may override any other APNs on the device. See OVERRIDE_APNS_ENABLED and overrideApns for details. + */ + export interface Schema$ApnPolicy { + /** + * Optional. APN settings for override APNs. There must not be any conflict between any of APN settings provided, otherwise the policy will be rejected. Two ApnSettings are considered to conflict when all of the following fields match on both: numericOperatorId, apn, proxyAddress, proxyPort, mmsProxyAddress, mmsProxyPort, mmsc, mvnoType, protocol, roamingProtocol. If some of the APN settings result in non-compliance of INVALID_VALUE , they will be ignored. This can be set on fully managed devices on Android 10 and above. This can also be set on work profiles on Android 13 and above and only with ApnSetting's with ENTERPRISE APN type. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles on Android versions less than 13. + */ + apnSettings?: Schema$ApnSetting[]; + /** + * Optional. Whether override APNs are disabled or enabled. See DevicePolicyManager.setOverrideApnsEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setOverrideApnsEnabled) for more details. + */ + overrideApns?: string | null; + } + /** + * An Access Point Name (APN) configuration for a carrier data connection. The APN provides configuration to connect a cellular network device to an IP data network. A carrier uses this setting to decide which IP address to assign, any security methods to apply, and how the device might be connected to private networks. + */ + export interface Schema$ApnSetting { + /** + * Optional. Whether User Plane resources have to be activated during every transition from CM-IDLE mode to CM-CONNECTED state for this APN. See 3GPP TS 23.501 section 5.6.13. + */ + alwaysOnSetting?: string | null; + /** + * Required. Name of the APN. Policy will be rejected if this field is empty. + */ + apn?: string | null; + /** + * Required. Usage categories for the APN. Policy will be rejected if this field is empty or contains APN_TYPE_UNSPECIFIED or duplicates. Multiple APN types can be set on fully managed devices. ENTERPRISE is the only allowed APN type on work profiles. A nonComplianceDetail with MANAGEMENT_MODE is reported for any other value on work profiles. APN types that are not supported on the device or management mode will be ignored. If this results in the empty list, the APN setting will be ignored, because apnTypes is a required field. A nonComplianceDetail with INVALID_VALUE is reported if none of the APN types are supported on the device or management mode. + */ + apnTypes?: string[] | null; + /** + * Optional. Authentication type of the APN. + */ + authType?: string | null; + /** + * Optional. Carrier ID for the APN. A value of 0 (default) means not set and negative values are rejected. + */ + carrierId?: number | null; + /** + * Required. Human-readable name that describes the APN. Policy will be rejected if this field is empty. + */ + displayName?: string | null; + /** + * Optional. MMSC (Multimedia Messaging Service Center) URI of the APN. + */ + mmsc?: string | null; + /** + * Optional. MMS (Multimedia Messaging Service) proxy address of the APN which can be an IP address or hostname (not a URL). + */ + mmsProxyAddress?: string | null; + /** + * Optional. MMS (Multimedia Messaging Service) proxy port of the APN. A value of 0 (default) means not set and negative values are rejected. + */ + mmsProxyPort?: number | null; + /** + * Optional. The default MTU (Maximum Transmission Unit) size in bytes of the IPv4 routes brought up by this APN setting. A value of 0 (default) means not set and negative values are rejected. Supported on Android 13 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13. + */ + mtuV4?: number | null; + /** + * Optional. The MTU (Maximum Transmission Unit) size of the IPv6 mobile interface to which the APN connected. A value of 0 (default) means not set and negative values are rejected. Supported on Android 13 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13. + */ + mtuV6?: number | null; + /** + * Optional. MVNO match type for the APN. + */ + mvnoType?: string | null; + /** + * Optional. Radio technologies (network types) the APN may use. Policy will be rejected if this field contains NETWORK_TYPE_UNSPECIFIED or duplicates. + */ + networkTypes?: string[] | null; + /** + * Optional. The numeric operator ID of the APN. Numeric operator ID is defined as MCC (Mobile Country Code) + MNC (Mobile Network Code). + */ + numericOperatorId?: string | null; + /** + * Optional. APN password of the APN. + */ + password?: string | null; + /** + * Optional. The protocol to use to connect to this APN. + */ + protocol?: string | null; + /** + * Optional. The proxy address of the APN. + */ + proxyAddress?: string | null; + /** + * Optional. The proxy port of the APN. A value of 0 (default) means not set and negative values are rejected. + */ + proxyPort?: number | null; + /** + * Optional. The protocol to use to connect to this APN while the device is roaming. + */ + roamingProtocol?: string | null; + /** + * Optional. APN username of the APN. + */ + username?: string | null; + } /** * Information about an app. */ @@ -395,6 +493,10 @@ export namespace androidmanagement_v1 { * Explicit permission grants or denials for the app. These values override the default_permission_policy and permission_grants which apply to all apps. */ permissionGrants?: Schema$PermissionGrant[]; + /** + * Optional. ID of the preferential network the application uses. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above. + */ + preferentialNetworkId?: string | null; /** * Optional. Specifies whether user control is permitted for the app. User control includes user actions like force-stopping and clearing app data. Supported on Android 11 and above. */ @@ -1041,6 +1143,10 @@ export namespace androidmanagement_v1 { * Covers controls for device connectivity such as Wi-Fi, USB data access, keyboard/mouse connections, and more. */ export interface Schema$DeviceConnectivityManagement { + /** + * Optional. Access Point Name (APN) policy. Configuration for Access Point Names (APNs) which may override any other APNs on the device. See OVERRIDE_APNS_ENABLED and overrideApns for details. + */ + apnPolicy?: Schema$ApnPolicy; /** * Optional. Controls whether Bluetooth sharing is allowed. */ @@ -1049,6 +1155,10 @@ export namespace androidmanagement_v1 { * Controls Wi-Fi configuring privileges. Based on the option set, user will have either full or limited or no control in configuring Wi-Fi networks. */ configureWifi?: string | null; + /** + * Optional. Preferential network service configuration. Setting this field will override preferentialNetworkService. This can be set on both work profiles and fully managed devices on Android 13 and above. + */ + preferentialNetworkServiceSettings?: Schema$PreferentialNetworkServiceSettings; /** * Controls tethering settings. Based on the value set, the user is partially or fully disallowed from using different forms of tethering. */ @@ -2465,6 +2575,10 @@ export namespace androidmanagement_v1 { * Whether app verification is force-enabled. */ ensureVerifyAppsEnabled?: boolean | null; + /** + * Optional. Controls whether the enterpriseDisplayName is visible on the device (e.g. lock screen message on company-owned devices). + */ + enterpriseDisplayNameVisibility?: string | null; /** * Whether factory resetting from settings is disabled. */ @@ -2598,7 +2712,7 @@ export namespace androidmanagement_v1 { */ policyEnforcementRules?: Schema$PolicyEnforcementRule[]; /** - * Controls whether preferential network service is enabled on the work profile. For example, an organization may have an agreement with a carrier that all of the work data from its employees' devices will be sent via a network service dedicated for enterprise use. An example of a supported preferential network service is the enterprise slice on 5G networks. This has no effect on fully managed devices. + * Controls whether preferential network service is enabled on the work profile or on fully managed devices. For example, an organization may have an agreement with a carrier that all of the work data from its employees' devices will be sent via a network service dedicated for enterprise use. An example of a supported preferential network service is the enterprise slice on 5G networks. This policy has no effect if preferentialNetworkServiceSettings or ApplicationPolicy.preferentialNetworkId is set on devices running Android 13 or above. */ preferentialNetworkService?: string | null; /** @@ -2757,6 +2871,36 @@ export namespace androidmanagement_v1 { */ eventType?: string | null; } + /** + * Individual preferential network service configuration. + */ + export interface Schema$PreferentialNetworkServiceConfig { + /** + * Optional. Whether fallback to the device-wide default network is allowed. If this is set to FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED, then nonMatchingNetworks must not be set to NON_MATCHING_NETWORKS_DISALLOWED, the policy will be rejected otherwise. Note: If this is set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, applications are not able to access the internet if the 5G slice is not available. + */ + fallbackToDefaultConnection?: string | null; + /** + * Optional. Whether apps this configuration applies to are blocked from using networks other than the preferential service. If this is set to NON_MATCHING_NETWORKS_DISALLOWED, then fallbackToDefaultConnection must be set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED. + */ + nonMatchingNetworks?: string | null; + /** + * Required. Preferential network identifier. This must not be set to NO_PREFERENTIAL_NETWORK or PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the policy will be rejected otherwise. + */ + preferentialNetworkId?: string | null; + } + /** + * Preferential network service settings. + */ + export interface Schema$PreferentialNetworkServiceSettings { + /** + * Required. Default preferential network ID for the applications that are not in applications or if ApplicationPolicy.preferentialNetworkId is set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs, unless this is set to NO_PREFERENTIAL_NETWORK. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED or unset, this defaults to NO_PREFERENTIAL_NETWORK. Note: If the default preferential network is misconfigured, applications with no ApplicationPolicy.preferentialNetworkId set are not able to access the internet. This setting does not apply to the following critical apps: com.google.android.apps.work.clouddpc com.google.android.gmsApplicationPolicy.preferentialNetworkId can still be used to configure the preferential network for them. + */ + defaultPreferentialNetworkId?: string | null; + /** + * Required. Preferential network service configurations which enables having multiple enterprise slices. There must not be multiple configurations with the same preferentialNetworkId. If a configuration is not referenced by any application by setting ApplicationPolicy.preferentialNetworkId or by setting defaultPreferentialNetworkId, it will be ignored. For devices on 4G networks, enterprise APN needs to be configured additionally to set up data call for preferential network service. These APNs can be added using apnPolicy. + */ + preferentialNetworkServiceConfigs?: Schema$PreferentialNetworkServiceConfig[]; + } /** * Information about a device that is available during setup. */ @@ -3552,11 +3696,11 @@ export namespace androidmanagement_v1 { create( params: Params$Resource$Enterprises$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Enterprises$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Enterprises$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3585,7 +3729,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3638,11 +3785,11 @@ export namespace androidmanagement_v1 { delete( params: Params$Resource$Enterprises$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Enterprises$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Enterprises$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3671,7 +3818,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3724,11 +3874,13 @@ export namespace androidmanagement_v1 { generateEnterpriseUpgradeUrl( params: Params$Resource$Enterprises$Generateenterpriseupgradeurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateEnterpriseUpgradeUrl( params?: Params$Resource$Enterprises$Generateenterpriseupgradeurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateEnterpriseUpgradeUrl( params: Params$Resource$Enterprises$Generateenterpriseupgradeurl, options: StreamMethodOptions | BodyResponseCallback, @@ -3763,8 +3915,10 @@ export namespace androidmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Generateenterpriseupgradeurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3822,11 +3976,11 @@ export namespace androidmanagement_v1 { get( params: Params$Resource$Enterprises$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Enterprises$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3855,7 +4009,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3907,11 +4064,11 @@ export namespace androidmanagement_v1 { list( params: Params$Resource$Enterprises$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Enterprises$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Enterprises$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3944,8 +4101,8 @@ export namespace androidmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3997,11 +4154,11 @@ export namespace androidmanagement_v1 { patch( params: Params$Resource$Enterprises$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Enterprises$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Enterprises$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4030,7 +4187,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4174,11 +4334,11 @@ export namespace androidmanagement_v1 { get( params: Params$Resource$Enterprises$Applications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Applications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Enterprises$Applications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4207,7 +4367,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Applications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4283,11 +4446,11 @@ export namespace androidmanagement_v1 { delete( params: Params$Resource$Enterprises$Devices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Enterprises$Devices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Enterprises$Devices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4316,7 +4479,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Devices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4369,11 +4535,11 @@ export namespace androidmanagement_v1 { get( params: Params$Resource$Enterprises$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Enterprises$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4402,7 +4568,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4455,11 +4624,11 @@ export namespace androidmanagement_v1 { issueCommand( params: Params$Resource$Enterprises$Devices$Issuecommand, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; issueCommand( params?: Params$Resource$Enterprises$Devices$Issuecommand, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; issueCommand( params: Params$Resource$Enterprises$Devices$Issuecommand, options: StreamMethodOptions | BodyResponseCallback, @@ -4488,7 +4657,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Devices$Issuecommand; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4544,11 +4716,11 @@ export namespace androidmanagement_v1 { list( params: Params$Resource$Enterprises$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Enterprises$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Enterprises$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4579,8 +4751,8 @@ export namespace androidmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4636,11 +4808,11 @@ export namespace androidmanagement_v1 { patch( params: Params$Resource$Enterprises$Devices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Enterprises$Devices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Enterprises$Devices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4669,7 +4841,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Devices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4795,11 +4970,11 @@ export namespace androidmanagement_v1 { cancel( params: Params$Resource$Enterprises$Devices$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Enterprises$Devices$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Enterprises$Devices$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4828,7 +5003,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Devices$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4881,11 +5059,11 @@ export namespace androidmanagement_v1 { get( params: Params$Resource$Enterprises$Devices$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Devices$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Enterprises$Devices$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4914,7 +5092,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Devices$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4967,11 +5148,11 @@ export namespace androidmanagement_v1 { list( params: Params$Resource$Enterprises$Devices$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Enterprises$Devices$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Enterprises$Devices$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5004,8 +5185,8 @@ export namespace androidmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Devices$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5099,11 +5280,11 @@ export namespace androidmanagement_v1 { create( params: Params$Resource$Enterprises$Enrollmenttokens$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Enterprises$Enrollmenttokens$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Enterprises$Enrollmenttokens$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5132,7 +5313,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Enrollmenttokens$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5188,11 +5372,11 @@ export namespace androidmanagement_v1 { delete( params: Params$Resource$Enterprises$Enrollmenttokens$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Enterprises$Enrollmenttokens$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Enterprises$Enrollmenttokens$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5221,7 +5405,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Enrollmenttokens$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5274,11 +5461,11 @@ export namespace androidmanagement_v1 { get( params: Params$Resource$Enterprises$Enrollmenttokens$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Enrollmenttokens$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Enterprises$Enrollmenttokens$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5307,7 +5494,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Enrollmenttokens$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5360,11 +5550,11 @@ export namespace androidmanagement_v1 { list( params: Params$Resource$Enterprises$Enrollmenttokens$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Enterprises$Enrollmenttokens$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Enterprises$Enrollmenttokens$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5399,8 +5589,8 @@ export namespace androidmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Enrollmenttokens$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5507,11 +5697,11 @@ export namespace androidmanagement_v1 { create( params: Params$Resource$Enterprises$Migrationtokens$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Enterprises$Migrationtokens$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Enterprises$Migrationtokens$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5540,7 +5730,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Migrationtokens$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5596,11 +5789,11 @@ export namespace androidmanagement_v1 { get( params: Params$Resource$Enterprises$Migrationtokens$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Migrationtokens$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Enterprises$Migrationtokens$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5629,7 +5822,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Migrationtokens$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5682,11 +5878,11 @@ export namespace androidmanagement_v1 { list( params: Params$Resource$Enterprises$Migrationtokens$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Enterprises$Migrationtokens$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Enterprises$Migrationtokens$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5721,8 +5917,8 @@ export namespace androidmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Migrationtokens$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5820,11 +6016,11 @@ export namespace androidmanagement_v1 { delete( params: Params$Resource$Enterprises$Policies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Enterprises$Policies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Enterprises$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5853,7 +6049,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Policies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5906,11 +6105,11 @@ export namespace androidmanagement_v1 { get( params: Params$Resource$Enterprises$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Enterprises$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5939,7 +6138,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5992,11 +6194,11 @@ export namespace androidmanagement_v1 { list( params: Params$Resource$Enterprises$Policies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Enterprises$Policies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Enterprises$Policies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6029,8 +6231,8 @@ export namespace androidmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Policies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6086,11 +6288,11 @@ export namespace androidmanagement_v1 { patch( params: Params$Resource$Enterprises$Policies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Enterprises$Policies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Enterprises$Policies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6119,7 +6321,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Policies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6225,11 +6430,11 @@ export namespace androidmanagement_v1 { create( params: Params$Resource$Enterprises$Webapps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Enterprises$Webapps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Enterprises$Webapps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6258,7 +6463,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Webapps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6314,11 +6522,11 @@ export namespace androidmanagement_v1 { delete( params: Params$Resource$Enterprises$Webapps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Enterprises$Webapps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Enterprises$Webapps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6347,7 +6555,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Webapps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6400,11 +6611,11 @@ export namespace androidmanagement_v1 { get( params: Params$Resource$Enterprises$Webapps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Webapps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Enterprises$Webapps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6433,7 +6644,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Webapps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6486,11 +6700,11 @@ export namespace androidmanagement_v1 { list( params: Params$Resource$Enterprises$Webapps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Enterprises$Webapps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Enterprises$Webapps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6521,8 +6735,8 @@ export namespace androidmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Webapps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6578,11 +6792,11 @@ export namespace androidmanagement_v1 { patch( params: Params$Resource$Enterprises$Webapps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Enterprises$Webapps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Enterprises$Webapps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6611,7 +6825,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Webapps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6729,11 +6946,11 @@ export namespace androidmanagement_v1 { create( params: Params$Resource$Enterprises$Webtokens$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Enterprises$Webtokens$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Enterprises$Webtokens$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6762,7 +6979,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Webtokens$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6838,11 +7058,11 @@ export namespace androidmanagement_v1 { get( params: Params$Resource$Provisioninginfo$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Provisioninginfo$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Provisioninginfo$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6871,7 +7091,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Provisioninginfo$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6939,11 +7162,11 @@ export namespace androidmanagement_v1 { create( params: Params$Resource$Signupurls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Signupurls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Signupurls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6972,7 +7195,10 @@ export namespace androidmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Signupurls$Create; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/androidpublisher/index.ts b/src/apis/androidpublisher/index.ts index ca1a0e1859e..90538b4f5a8 100644 --- a/src/apis/androidpublisher/index.ts +++ b/src/apis/androidpublisher/index.ts @@ -83,7 +83,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/androidpublisher/package.json b/src/apis/androidpublisher/package.json index bf883239c87..e10c8e9fce1 100644 --- a/src/apis/androidpublisher/package.json +++ b/src/apis/androidpublisher/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/androidpublisher/v1.1.ts b/src/apis/androidpublisher/v1.1.ts index 7f39929bf81..2f729497ab7 100644 --- a/src/apis/androidpublisher/v1.1.ts +++ b/src/apis/androidpublisher/v1.1.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -218,11 +218,11 @@ export namespace androidpublisher_v1_1 { get( params: Params$Resource$Inapppurchases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inapppurchases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inapppurchases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -251,7 +251,7 @@ export namespace androidpublisher_v1_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inapppurchases$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/androidpublisher/v1.ts b/src/apis/androidpublisher/v1.ts index 677d6fb1fcb..af8f40ea67e 100644 --- a/src/apis/androidpublisher/v1.ts +++ b/src/apis/androidpublisher/v1.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, diff --git a/src/apis/androidpublisher/v2.ts b/src/apis/androidpublisher/v2.ts index 8cf5a60f574..7f0cd268dfb 100644 --- a/src/apis/androidpublisher/v2.ts +++ b/src/apis/androidpublisher/v2.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -266,11 +266,11 @@ export namespace androidpublisher_v2 { get( params: Params$Resource$Purchases$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Purchases$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Purchases$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -299,7 +299,7 @@ export namespace androidpublisher_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -437,11 +437,11 @@ export namespace androidpublisher_v2 { list( params: Params$Resource$Purchases$Voidedpurchases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Purchases$Voidedpurchases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Purchases$Voidedpurchases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -476,8 +476,8 @@ export namespace androidpublisher_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Voidedpurchases$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/androidpublisher/v3.ts b/src/apis/androidpublisher/v3.ts index 22b224f0d20..82646450fb4 100644 --- a/src/apis/androidpublisher/v3.ts +++ b/src/apis/androidpublisher/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3914,11 +3914,11 @@ export namespace androidpublisher_v3 { dataSafety( params: Params$Resource$Applications$Datasafety, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; dataSafety( params?: Params$Resource$Applications$Datasafety, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; dataSafety( params: Params$Resource$Applications$Datasafety, options: StreamMethodOptions | BodyResponseCallback, @@ -3953,8 +3953,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applications$Datasafety; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4030,11 +4030,11 @@ export namespace androidpublisher_v3 { create( params: Params$Resource$Applications$Devicetierconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Applications$Devicetierconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Applications$Devicetierconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4063,7 +4063,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applications$Devicetierconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4119,11 +4122,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Applications$Devicetierconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Applications$Devicetierconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Applications$Devicetierconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4152,7 +4155,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applications$Devicetierconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4208,11 +4214,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Applications$Devicetierconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Applications$Devicetierconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Applications$Devicetierconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4247,8 +4253,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applications$Devicetierconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4356,11 +4362,11 @@ export namespace androidpublisher_v3 { addTargeting( params: Params$Resource$Apprecovery$Addtargeting, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addTargeting( params?: Params$Resource$Apprecovery$Addtargeting, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addTargeting( params: Params$Resource$Apprecovery$Addtargeting, options: StreamMethodOptions | BodyResponseCallback, @@ -4395,8 +4401,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apprecovery$Addtargeting; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4452,11 +4458,11 @@ export namespace androidpublisher_v3 { cancel( params: Params$Resource$Apprecovery$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Apprecovery$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Apprecovery$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4491,8 +4497,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apprecovery$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4548,11 +4554,11 @@ export namespace androidpublisher_v3 { create( params: Params$Resource$Apprecovery$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apprecovery$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apprecovery$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4583,8 +4589,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apprecovery$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4640,11 +4646,11 @@ export namespace androidpublisher_v3 { deploy( params: Params$Resource$Apprecovery$Deploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params?: Params$Resource$Apprecovery$Deploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params: Params$Resource$Apprecovery$Deploy, options: StreamMethodOptions | BodyResponseCallback, @@ -4679,8 +4685,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apprecovery$Deploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4736,11 +4742,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Apprecovery$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apprecovery$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apprecovery$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4775,8 +4781,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apprecovery$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4933,11 +4939,11 @@ export namespace androidpublisher_v3 { commit( params: Params$Resource$Edits$Commit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commit( params?: Params$Resource$Edits$Commit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commit( params: Params$Resource$Edits$Commit, options: StreamMethodOptions | BodyResponseCallback, @@ -4966,7 +4972,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Commit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5021,11 +5030,11 @@ export namespace androidpublisher_v3 { delete( params: Params$Resource$Edits$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Edits$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Edits$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5052,7 +5061,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5107,11 +5119,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Edits$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Edits$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Edits$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5140,7 +5152,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5195,11 +5210,11 @@ export namespace androidpublisher_v3 { insert( params: Params$Resource$Edits$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Edits$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Edits$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5228,7 +5243,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5282,11 +5300,11 @@ export namespace androidpublisher_v3 { validate( params: Params$Resource$Edits$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Edits$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validate( params: Params$Resource$Edits$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -5315,7 +5333,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5433,11 +5454,11 @@ export namespace androidpublisher_v3 { addexternallyhosted( params: Params$Resource$Edits$Apks$Addexternallyhosted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addexternallyhosted( params?: Params$Resource$Edits$Apks$Addexternallyhosted, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addexternallyhosted( params: Params$Resource$Edits$Apks$Addexternallyhosted, options: StreamMethodOptions | BodyResponseCallback, @@ -5472,8 +5493,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Apks$Addexternallyhosted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5531,11 +5552,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Edits$Apks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Edits$Apks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Edits$Apks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5564,7 +5585,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Apks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5619,11 +5643,11 @@ export namespace androidpublisher_v3 { upload( params: Params$Resource$Edits$Apks$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Edits$Apks$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Edits$Apks$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -5652,7 +5676,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Apks$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5777,11 +5804,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Edits$Bundles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Edits$Bundles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Edits$Bundles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5812,8 +5839,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Bundles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5869,11 +5896,11 @@ export namespace androidpublisher_v3 { upload( params: Params$Resource$Edits$Bundles$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Edits$Bundles$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Edits$Bundles$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -5902,7 +5929,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Bundles$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6020,11 +6050,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Edits$Countryavailability$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Edits$Countryavailability$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Edits$Countryavailability$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6057,8 +6087,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Countryavailability$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6137,11 +6167,13 @@ export namespace androidpublisher_v3 { upload( params: Params$Resource$Edits$Deobfuscationfiles$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Edits$Deobfuscationfiles$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; upload( params: Params$Resource$Edits$Deobfuscationfiles$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -6176,8 +6208,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Deobfuscationfiles$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6296,11 +6330,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Edits$Details$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Edits$Details$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Edits$Details$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6329,7 +6363,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Details$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6385,11 +6422,11 @@ export namespace androidpublisher_v3 { patch( params: Params$Resource$Edits$Details$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Edits$Details$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Edits$Details$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6418,7 +6455,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Details$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6474,11 +6514,11 @@ export namespace androidpublisher_v3 { update( params: Params$Resource$Edits$Details$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Edits$Details$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Edits$Details$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6507,7 +6547,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Details$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6614,11 +6657,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Edits$Expansionfiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Edits$Expansionfiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Edits$Expansionfiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6647,7 +6690,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Expansionfiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6713,11 +6759,11 @@ export namespace androidpublisher_v3 { patch( params: Params$Resource$Edits$Expansionfiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Edits$Expansionfiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Edits$Expansionfiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6746,7 +6792,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Expansionfiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6812,11 +6861,11 @@ export namespace androidpublisher_v3 { update( params: Params$Resource$Edits$Expansionfiles$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Edits$Expansionfiles$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Edits$Expansionfiles$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6845,7 +6894,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Expansionfiles$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6911,11 +6963,11 @@ export namespace androidpublisher_v3 { upload( params: Params$Resource$Edits$Expansionfiles$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Edits$Expansionfiles$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Edits$Expansionfiles$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -6950,8 +7002,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Expansionfiles$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7137,11 +7189,11 @@ export namespace androidpublisher_v3 { delete( params: Params$Resource$Edits$Images$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Edits$Images$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Edits$Images$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7168,7 +7220,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Images$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7236,11 +7291,11 @@ export namespace androidpublisher_v3 { deleteall( params: Params$Resource$Edits$Images$Deleteall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteall( params?: Params$Resource$Edits$Images$Deleteall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteall( params: Params$Resource$Edits$Images$Deleteall, options: StreamMethodOptions | BodyResponseCallback, @@ -7275,8 +7330,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Images$Deleteall; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7332,11 +7387,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Edits$Images$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Edits$Images$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Edits$Images$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7367,8 +7422,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Images$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7424,11 +7479,11 @@ export namespace androidpublisher_v3 { upload( params: Params$Resource$Edits$Images$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Edits$Images$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Edits$Images$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -7461,8 +7516,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Images$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7630,11 +7685,11 @@ export namespace androidpublisher_v3 { delete( params: Params$Resource$Edits$Listings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Edits$Listings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Edits$Listings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7661,7 +7716,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Listings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7717,11 +7775,11 @@ export namespace androidpublisher_v3 { deleteall( params: Params$Resource$Edits$Listings$Deleteall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteall( params?: Params$Resource$Edits$Listings$Deleteall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteall( params: Params$Resource$Edits$Listings$Deleteall, options: StreamMethodOptions | BodyResponseCallback, @@ -7748,7 +7806,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Listings$Deleteall; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7804,11 +7865,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Edits$Listings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Edits$Listings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Edits$Listings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7837,7 +7898,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Listings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7893,11 +7957,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Edits$Listings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Edits$Listings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Edits$Listings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7930,8 +7994,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Listings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7987,11 +8051,11 @@ export namespace androidpublisher_v3 { patch( params: Params$Resource$Edits$Listings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Edits$Listings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Edits$Listings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8020,7 +8084,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Listings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8076,11 +8143,11 @@ export namespace androidpublisher_v3 { update( params: Params$Resource$Edits$Listings$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Edits$Listings$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Edits$Listings$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8109,7 +8176,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Listings$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8265,11 +8335,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Edits$Testers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Edits$Testers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Edits$Testers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8298,7 +8368,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Testers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8354,11 +8427,11 @@ export namespace androidpublisher_v3 { patch( params: Params$Resource$Edits$Testers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Edits$Testers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Edits$Testers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8387,7 +8460,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Testers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8443,11 +8519,11 @@ export namespace androidpublisher_v3 { update( params: Params$Resource$Edits$Testers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Edits$Testers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Edits$Testers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8476,7 +8552,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Testers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8595,11 +8674,11 @@ export namespace androidpublisher_v3 { create( params: Params$Resource$Edits$Tracks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Edits$Tracks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Edits$Tracks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8628,7 +8707,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Tracks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8684,11 +8766,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Edits$Tracks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Edits$Tracks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Edits$Tracks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8717,7 +8799,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Tracks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8772,11 +8857,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Edits$Tracks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Edits$Tracks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Edits$Tracks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8807,8 +8892,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Tracks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8864,11 +8949,11 @@ export namespace androidpublisher_v3 { patch( params: Params$Resource$Edits$Tracks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Edits$Tracks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Edits$Tracks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8897,7 +8982,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Tracks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8953,11 +9041,11 @@ export namespace androidpublisher_v3 { update( params: Params$Resource$Edits$Tracks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Edits$Tracks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Edits$Tracks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8986,7 +9074,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Edits$Tracks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9131,11 +9222,11 @@ export namespace androidpublisher_v3 { createexternaltransaction( params: Params$Resource$Externaltransactions$Createexternaltransaction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createexternaltransaction( params?: Params$Resource$Externaltransactions$Createexternaltransaction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createexternaltransaction( params: Params$Resource$Externaltransactions$Createexternaltransaction, options: StreamMethodOptions | BodyResponseCallback, @@ -9168,8 +9259,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externaltransactions$Createexternaltransaction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9225,11 +9316,11 @@ export namespace androidpublisher_v3 { getexternaltransaction( params: Params$Resource$Externaltransactions$Getexternaltransaction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getexternaltransaction( params?: Params$Resource$Externaltransactions$Getexternaltransaction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getexternaltransaction( params: Params$Resource$Externaltransactions$Getexternaltransaction, options: StreamMethodOptions | BodyResponseCallback, @@ -9262,8 +9353,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externaltransactions$Getexternaltransaction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9320,11 +9411,11 @@ export namespace androidpublisher_v3 { refundexternaltransaction( params: Params$Resource$Externaltransactions$Refundexternaltransaction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; refundexternaltransaction( params?: Params$Resource$Externaltransactions$Refundexternaltransaction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; refundexternaltransaction( params: Params$Resource$Externaltransactions$Refundexternaltransaction, options: StreamMethodOptions | BodyResponseCallback, @@ -9357,8 +9448,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externaltransactions$Refundexternaltransaction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9458,11 +9549,11 @@ export namespace androidpublisher_v3 { download( params: Params$Resource$Generatedapks$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Generatedapks$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Generatedapks$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -9489,7 +9580,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Generatedapks$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9545,11 +9639,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Generatedapks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Generatedapks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Generatedapks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9584,8 +9678,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Generatedapks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9675,11 +9769,11 @@ export namespace androidpublisher_v3 { create( params: Params$Resource$Grants$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Grants$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Grants$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9708,7 +9802,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Grants$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9763,11 +9860,11 @@ export namespace androidpublisher_v3 { delete( params: Params$Resource$Grants$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Grants$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Grants$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9794,7 +9891,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Grants$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9849,11 +9949,11 @@ export namespace androidpublisher_v3 { patch( params: Params$Resource$Grants$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Grants$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Grants$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9882,7 +9982,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Grants$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9977,11 +10080,11 @@ export namespace androidpublisher_v3 { batchDelete( params: Params$Resource$Inappproducts$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Inappproducts$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Inappproducts$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -10008,7 +10111,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inappproducts$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10064,11 +10170,11 @@ export namespace androidpublisher_v3 { batchGet( params: Params$Resource$Inappproducts$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Inappproducts$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Inappproducts$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -10103,8 +10209,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inappproducts$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10162,11 +10268,13 @@ export namespace androidpublisher_v3 { batchUpdate( params: Params$Resource$Inappproducts$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Inappproducts$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Inappproducts$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -10201,8 +10309,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inappproducts$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10260,11 +10370,11 @@ export namespace androidpublisher_v3 { delete( params: Params$Resource$Inappproducts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inappproducts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inappproducts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10291,7 +10401,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inappproducts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10347,11 +10460,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Inappproducts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inappproducts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inappproducts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10380,7 +10493,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inappproducts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10436,11 +10552,11 @@ export namespace androidpublisher_v3 { insert( params: Params$Resource$Inappproducts$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Inappproducts$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Inappproducts$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10469,7 +10585,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inappproducts$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10525,11 +10644,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Inappproducts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inappproducts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inappproducts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10564,8 +10683,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inappproducts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10621,11 +10740,11 @@ export namespace androidpublisher_v3 { patch( params: Params$Resource$Inappproducts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inappproducts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inappproducts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10654,7 +10773,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inappproducts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10710,11 +10832,11 @@ export namespace androidpublisher_v3 { update( params: Params$Resource$Inappproducts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Inappproducts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Inappproducts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10743,7 +10865,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inappproducts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10955,11 +11080,11 @@ export namespace androidpublisher_v3 { uploadapk( params: Params$Resource$Internalappsharingartifacts$Uploadapk, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; uploadapk( params?: Params$Resource$Internalappsharingartifacts$Uploadapk, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; uploadapk( params: Params$Resource$Internalappsharingartifacts$Uploadapk, options: StreamMethodOptions | BodyResponseCallback, @@ -10994,8 +11119,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Internalappsharingartifacts$Uploadapk; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11055,11 +11180,11 @@ export namespace androidpublisher_v3 { uploadbundle( params: Params$Resource$Internalappsharingartifacts$Uploadbundle, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; uploadbundle( params?: Params$Resource$Internalappsharingartifacts$Uploadbundle, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; uploadbundle( params: Params$Resource$Internalappsharingartifacts$Uploadbundle, options: StreamMethodOptions | BodyResponseCallback, @@ -11094,8 +11219,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Internalappsharingartifacts$Uploadbundle; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11221,11 +11346,11 @@ export namespace androidpublisher_v3 { convertRegionPrices( params: Params$Resource$Monetization$Convertregionprices, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; convertRegionPrices( params?: Params$Resource$Monetization$Convertregionprices, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; convertRegionPrices( params: Params$Resource$Monetization$Convertregionprices, options: StreamMethodOptions | BodyResponseCallback, @@ -11260,8 +11385,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Convertregionprices; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11341,11 +11466,11 @@ export namespace androidpublisher_v3 { archive( params: Params$Resource$Monetization$Subscriptions$Archive, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; archive( params?: Params$Resource$Monetization$Subscriptions$Archive, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; archive( params: Params$Resource$Monetization$Subscriptions$Archive, options: StreamMethodOptions | BodyResponseCallback, @@ -11374,7 +11499,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Archive; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11430,11 +11558,11 @@ export namespace androidpublisher_v3 { batchGet( params: Params$Resource$Monetization$Subscriptions$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Monetization$Subscriptions$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Monetization$Subscriptions$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -11469,8 +11597,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11528,11 +11656,13 @@ export namespace androidpublisher_v3 { batchUpdate( params: Params$Resource$Monetization$Subscriptions$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Monetization$Subscriptions$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Monetization$Subscriptions$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -11567,8 +11697,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11626,11 +11758,11 @@ export namespace androidpublisher_v3 { create( params: Params$Resource$Monetization$Subscriptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Monetization$Subscriptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Monetization$Subscriptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11659,7 +11791,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11715,11 +11850,11 @@ export namespace androidpublisher_v3 { delete( params: Params$Resource$Monetization$Subscriptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Monetization$Subscriptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Monetization$Subscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11746,7 +11881,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11802,11 +11940,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Monetization$Subscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Monetization$Subscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Monetization$Subscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11835,7 +11973,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11891,11 +12032,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Monetization$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Monetization$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Monetization$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11930,8 +12071,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11987,11 +12128,11 @@ export namespace androidpublisher_v3 { patch( params: Params$Resource$Monetization$Subscriptions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Monetization$Subscriptions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Monetization$Subscriptions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12020,7 +12161,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12220,11 +12364,11 @@ export namespace androidpublisher_v3 { activate( params: Params$Resource$Monetization$Subscriptions$Baseplans$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Monetization$Subscriptions$Baseplans$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -12253,7 +12397,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12310,11 +12457,13 @@ export namespace androidpublisher_v3 { batchMigratePrices( params: Params$Resource$Monetization$Subscriptions$Baseplans$Batchmigrateprices, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchMigratePrices( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Batchmigrateprices, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchMigratePrices( params: Params$Resource$Monetization$Subscriptions$Baseplans$Batchmigrateprices, options: StreamMethodOptions | BodyResponseCallback, @@ -12349,8 +12498,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Batchmigrateprices; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12409,11 +12560,13 @@ export namespace androidpublisher_v3 { batchUpdateStates( params: Params$Resource$Monetization$Subscriptions$Baseplans$Batchupdatestates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdateStates( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Batchupdatestates, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdateStates( params: Params$Resource$Monetization$Subscriptions$Baseplans$Batchupdatestates, options: StreamMethodOptions | BodyResponseCallback, @@ -12448,8 +12601,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Batchupdatestates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12508,11 +12663,11 @@ export namespace androidpublisher_v3 { deactivate( params: Params$Resource$Monetization$Subscriptions$Baseplans$Deactivate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Deactivate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params: Params$Resource$Monetization$Subscriptions$Baseplans$Deactivate, options: StreamMethodOptions | BodyResponseCallback, @@ -12541,7 +12696,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Deactivate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12598,11 +12756,11 @@ export namespace androidpublisher_v3 { delete( params: Params$Resource$Monetization$Subscriptions$Baseplans$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Monetization$Subscriptions$Baseplans$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12629,7 +12787,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12686,11 +12847,11 @@ export namespace androidpublisher_v3 { migratePrices( params: Params$Resource$Monetization$Subscriptions$Baseplans$Migrateprices, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; migratePrices( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Migrateprices, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; migratePrices( params: Params$Resource$Monetization$Subscriptions$Baseplans$Migrateprices, options: StreamMethodOptions | BodyResponseCallback, @@ -12725,8 +12886,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Migrateprices; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12900,11 +13061,11 @@ export namespace androidpublisher_v3 { activate( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -12935,8 +13096,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12993,11 +13154,13 @@ export namespace androidpublisher_v3 { batchGet( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -13032,8 +13195,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13092,11 +13257,13 @@ export namespace androidpublisher_v3 { batchUpdate( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -13131,8 +13298,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13191,11 +13360,13 @@ export namespace androidpublisher_v3 { batchUpdateStates( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchupdatestates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdateStates( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchupdatestates, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdateStates( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchupdatestates, options: StreamMethodOptions | BodyResponseCallback, @@ -13230,8 +13401,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Batchupdatestates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13290,11 +13463,11 @@ export namespace androidpublisher_v3 { create( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13325,8 +13498,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13383,11 +13556,11 @@ export namespace androidpublisher_v3 { deactivate( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Deactivate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Deactivate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Deactivate, options: StreamMethodOptions | BodyResponseCallback, @@ -13418,8 +13591,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Deactivate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13476,11 +13649,11 @@ export namespace androidpublisher_v3 { delete( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13507,7 +13680,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13564,11 +13740,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13599,8 +13775,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13657,11 +13833,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13696,8 +13872,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Offers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13756,11 +13932,11 @@ export namespace androidpublisher_v3 { patch( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13791,8 +13967,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monetization$Subscriptions$Baseplans$Offers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14094,11 +14270,11 @@ export namespace androidpublisher_v3 { refund( params: Params$Resource$Orders$Refund, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; refund( params?: Params$Resource$Orders$Refund, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; refund( params: Params$Resource$Orders$Refund, options: StreamMethodOptions | BodyResponseCallback, @@ -14125,7 +14301,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Refund; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14221,11 +14400,11 @@ export namespace androidpublisher_v3 { acknowledge( params: Params$Resource$Purchases$Products$Acknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params?: Params$Resource$Purchases$Products$Acknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params: Params$Resource$Purchases$Products$Acknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -14252,7 +14431,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Products$Acknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14308,11 +14490,11 @@ export namespace androidpublisher_v3 { consume( params: Params$Resource$Purchases$Products$Consume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; consume( params?: Params$Resource$Purchases$Products$Consume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; consume( params: Params$Resource$Purchases$Products$Consume, options: StreamMethodOptions | BodyResponseCallback, @@ -14339,7 +14521,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Products$Consume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14395,11 +14580,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Purchases$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Purchases$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Purchases$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14428,7 +14613,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14542,11 +14730,11 @@ export namespace androidpublisher_v3 { acknowledge( params: Params$Resource$Purchases$Subscriptions$Acknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params?: Params$Resource$Purchases$Subscriptions$Acknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params: Params$Resource$Purchases$Subscriptions$Acknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -14573,7 +14761,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Subscriptions$Acknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14629,11 +14820,11 @@ export namespace androidpublisher_v3 { cancel( params: Params$Resource$Purchases$Subscriptions$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Purchases$Subscriptions$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Purchases$Subscriptions$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -14660,7 +14851,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Subscriptions$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14716,11 +14910,13 @@ export namespace androidpublisher_v3 { defer( params: Params$Resource$Purchases$Subscriptions$Defer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; defer( params?: Params$Resource$Purchases$Subscriptions$Defer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; defer( params: Params$Resource$Purchases$Subscriptions$Defer, options: StreamMethodOptions | BodyResponseCallback, @@ -14755,8 +14951,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Subscriptions$Defer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14814,11 +15012,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Purchases$Subscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Purchases$Subscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Purchases$Subscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14851,8 +15049,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Subscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14908,11 +15106,11 @@ export namespace androidpublisher_v3 { refund( params: Params$Resource$Purchases$Subscriptions$Refund, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; refund( params?: Params$Resource$Purchases$Subscriptions$Refund, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; refund( params: Params$Resource$Purchases$Subscriptions$Refund, options: StreamMethodOptions | BodyResponseCallback, @@ -14939,7 +15137,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Subscriptions$Refund; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14995,11 +15196,11 @@ export namespace androidpublisher_v3 { revoke( params: Params$Resource$Purchases$Subscriptions$Revoke, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params?: Params$Resource$Purchases$Subscriptions$Revoke, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params: Params$Resource$Purchases$Subscriptions$Revoke, options: StreamMethodOptions | BodyResponseCallback, @@ -15026,7 +15227,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Subscriptions$Revoke; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15190,11 +15394,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Purchases$Subscriptionsv2$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Purchases$Subscriptionsv2$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Purchases$Subscriptionsv2$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15227,8 +15431,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Subscriptionsv2$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15284,11 +15488,13 @@ export namespace androidpublisher_v3 { revoke( params: Params$Resource$Purchases$Subscriptionsv2$Revoke, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params?: Params$Resource$Purchases$Subscriptionsv2$Revoke, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; revoke( params: Params$Resource$Purchases$Subscriptionsv2$Revoke, options: StreamMethodOptions | BodyResponseCallback, @@ -15323,8 +15529,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Subscriptionsv2$Revoke; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15417,11 +15625,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Purchases$Voidedpurchases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Purchases$Voidedpurchases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Purchases$Voidedpurchases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15456,8 +15664,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Purchases$Voidedpurchases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15556,11 +15764,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Reviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15589,7 +15797,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15644,11 +15855,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Reviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15679,8 +15890,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reviews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15735,11 +15946,11 @@ export namespace androidpublisher_v3 { reply( params: Params$Resource$Reviews$Reply, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reply( params?: Params$Resource$Reviews$Reply, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reply( params: Params$Resource$Reviews$Reply, options: StreamMethodOptions | BodyResponseCallback, @@ -15772,8 +15983,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reviews$Reply; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15896,11 +16107,11 @@ export namespace androidpublisher_v3 { create( params: Params$Resource$Systemapks$Variants$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Systemapks$Variants$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Systemapks$Variants$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15929,7 +16140,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Systemapks$Variants$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15985,11 +16199,11 @@ export namespace androidpublisher_v3 { download( params: Params$Resource$Systemapks$Variants$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Systemapks$Variants$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Systemapks$Variants$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -16016,7 +16230,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Systemapks$Variants$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16072,11 +16289,11 @@ export namespace androidpublisher_v3 { get( params: Params$Resource$Systemapks$Variants$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Systemapks$Variants$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Systemapks$Variants$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16105,7 +16322,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Systemapks$Variants$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16161,11 +16381,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Systemapks$Variants$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Systemapks$Variants$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Systemapks$Variants$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16198,8 +16418,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Systemapks$Variants$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16320,11 +16540,11 @@ export namespace androidpublisher_v3 { create( params: Params$Resource$Users$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16353,7 +16573,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16408,11 +16631,11 @@ export namespace androidpublisher_v3 { delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16439,7 +16662,10 @@ export namespace androidpublisher_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16494,11 +16720,11 @@ export namespace androidpublisher_v3 { list( params: Params$Resource$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16529,8 +16755,8 @@ export namespace androidpublisher_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16585,11 +16811,11 @@ export namespace androidpublisher_v3 { patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16618,7 +16844,10 @@ export namespace androidpublisher_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/apigateway/index.ts b/src/apis/apigateway/index.ts index 537ea06cb69..d3dd85dfa96 100644 --- a/src/apis/apigateway/index.ts +++ b/src/apis/apigateway/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/apigateway/package.json b/src/apis/apigateway/package.json index 72d52306e0f..e73ee93a0d2 100644 --- a/src/apis/apigateway/package.json +++ b/src/apis/apigateway/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/apigateway/v1.ts b/src/apis/apigateway/v1.ts index f1d54cae859..ac365e9c5b6 100644 --- a/src/apis/apigateway/v1.ts +++ b/src/apis/apigateway/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -631,11 +631,11 @@ export namespace apigateway_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -666,8 +666,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -719,11 +719,11 @@ export namespace apigateway_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -758,8 +758,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -856,11 +856,11 @@ export namespace apigateway_v1 { create( params: Params$Resource$Projects$Locations$Apis$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -891,8 +891,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -944,11 +944,11 @@ export namespace apigateway_v1 { delete( params: Params$Resource$Projects$Locations$Apis$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -979,8 +979,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1032,11 +1032,11 @@ export namespace apigateway_v1 { get( params: Params$Resource$Projects$Locations$Apis$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1065,7 +1065,10 @@ export namespace apigateway_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1117,11 +1120,11 @@ export namespace apigateway_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1150,7 +1153,10 @@ export namespace apigateway_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1205,11 +1211,11 @@ export namespace apigateway_v1 { list( params: Params$Resource$Projects$Locations$Apis$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Apis$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1244,8 +1250,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1297,11 +1303,11 @@ export namespace apigateway_v1 { patch( params: Params$Resource$Projects$Locations$Apis$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Apis$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Apis$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1332,8 +1338,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1385,11 +1391,11 @@ export namespace apigateway_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1418,7 +1424,10 @@ export namespace apigateway_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1473,11 +1482,13 @@ export namespace apigateway_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Apis$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1512,8 +1523,10 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1683,11 +1696,11 @@ export namespace apigateway_v1 { create( params: Params$Resource$Projects$Locations$Apis$Configs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Configs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Configs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1718,8 +1731,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1774,11 +1787,11 @@ export namespace apigateway_v1 { delete( params: Params$Resource$Projects$Locations$Apis$Configs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Configs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Configs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1809,8 +1822,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1862,11 +1875,11 @@ export namespace apigateway_v1 { get( params: Params$Resource$Projects$Locations$Apis$Configs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Configs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Configs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1897,8 +1910,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1950,11 +1963,11 @@ export namespace apigateway_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Configs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Configs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Configs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1983,7 +1996,10 @@ export namespace apigateway_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2039,11 +2055,13 @@ export namespace apigateway_v1 { list( params: Params$Resource$Projects$Locations$Apis$Configs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$Configs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Apis$Configs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2078,8 +2096,10 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2136,11 +2156,11 @@ export namespace apigateway_v1 { patch( params: Params$Resource$Projects$Locations$Apis$Configs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Apis$Configs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Apis$Configs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2171,8 +2191,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2224,11 +2244,11 @@ export namespace apigateway_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Configs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Configs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Configs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2257,7 +2277,10 @@ export namespace apigateway_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2313,11 +2336,13 @@ export namespace apigateway_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Configs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Apis$Configs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Configs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2352,8 +2377,10 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2527,11 +2554,11 @@ export namespace apigateway_v1 { create( params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Gateways$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2562,8 +2589,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2618,11 +2645,11 @@ export namespace apigateway_v1 { delete( params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Gateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2653,8 +2680,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2706,11 +2733,11 @@ export namespace apigateway_v1 { get( params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Gateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2741,8 +2768,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2794,11 +2821,11 @@ export namespace apigateway_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Gateways$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2827,7 +2854,10 @@ export namespace apigateway_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2882,11 +2912,11 @@ export namespace apigateway_v1 { list( params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2921,8 +2951,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2979,11 +3009,11 @@ export namespace apigateway_v1 { patch( params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Gateways$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3014,8 +3044,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3067,11 +3097,11 @@ export namespace apigateway_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Gateways$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3100,7 +3130,10 @@ export namespace apigateway_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3155,11 +3188,13 @@ export namespace apigateway_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Gateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3194,8 +3229,10 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3365,11 +3402,11 @@ export namespace apigateway_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3398,7 +3435,10 @@ export namespace apigateway_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3450,11 +3490,11 @@ export namespace apigateway_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3483,7 +3523,10 @@ export namespace apigateway_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3535,11 +3578,11 @@ export namespace apigateway_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3570,8 +3613,8 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3623,11 +3666,13 @@ export namespace apigateway_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3662,8 +3707,10 @@ export namespace apigateway_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/apigateway/v1beta.ts b/src/apis/apigateway/v1beta.ts index 5b0367d9341..3a8719f3645 100644 --- a/src/apis/apigateway/v1beta.ts +++ b/src/apis/apigateway/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -653,11 +653,11 @@ export namespace apigateway_v1beta { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -688,8 +688,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -741,11 +741,11 @@ export namespace apigateway_v1beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -780,8 +780,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -878,11 +878,11 @@ export namespace apigateway_v1beta { create( params: Params$Resource$Projects$Locations$Apis$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -913,8 +913,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -969,11 +969,11 @@ export namespace apigateway_v1beta { delete( params: Params$Resource$Projects$Locations$Apis$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1004,8 +1004,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1057,11 +1057,11 @@ export namespace apigateway_v1beta { get( params: Params$Resource$Projects$Locations$Apis$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1090,7 +1090,10 @@ export namespace apigateway_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1142,11 +1145,11 @@ export namespace apigateway_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1175,7 +1178,10 @@ export namespace apigateway_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1230,11 +1236,11 @@ export namespace apigateway_v1beta { list( params: Params$Resource$Projects$Locations$Apis$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Apis$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1269,8 +1275,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1325,11 +1331,11 @@ export namespace apigateway_v1beta { patch( params: Params$Resource$Projects$Locations$Apis$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Apis$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Apis$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1360,8 +1366,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1413,11 +1419,11 @@ export namespace apigateway_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1446,7 +1452,10 @@ export namespace apigateway_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1501,11 +1510,13 @@ export namespace apigateway_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Apis$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1540,8 +1551,10 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1711,11 +1724,11 @@ export namespace apigateway_v1beta { create( params: Params$Resource$Projects$Locations$Apis$Configs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Configs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Configs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1746,8 +1759,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1802,11 +1815,11 @@ export namespace apigateway_v1beta { delete( params: Params$Resource$Projects$Locations$Apis$Configs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Configs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Configs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1837,8 +1850,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1890,11 +1903,11 @@ export namespace apigateway_v1beta { get( params: Params$Resource$Projects$Locations$Apis$Configs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Configs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Configs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1925,8 +1938,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1978,11 +1991,11 @@ export namespace apigateway_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Configs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Configs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Configs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2011,7 +2024,10 @@ export namespace apigateway_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2067,11 +2083,13 @@ export namespace apigateway_v1beta { list( params: Params$Resource$Projects$Locations$Apis$Configs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$Configs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Apis$Configs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2106,8 +2124,10 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2164,11 +2184,11 @@ export namespace apigateway_v1beta { patch( params: Params$Resource$Projects$Locations$Apis$Configs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Apis$Configs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Apis$Configs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2199,8 +2219,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2252,11 +2272,11 @@ export namespace apigateway_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Configs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Configs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Configs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2285,7 +2305,10 @@ export namespace apigateway_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2341,11 +2364,13 @@ export namespace apigateway_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Configs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Apis$Configs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Configs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2380,8 +2405,10 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Configs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2555,11 +2582,11 @@ export namespace apigateway_v1beta { create( params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Gateways$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2590,8 +2617,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2646,11 +2673,11 @@ export namespace apigateway_v1beta { delete( params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Gateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2681,8 +2708,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2734,11 +2761,11 @@ export namespace apigateway_v1beta { get( params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Gateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2769,8 +2796,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2822,11 +2849,11 @@ export namespace apigateway_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Gateways$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2855,7 +2882,10 @@ export namespace apigateway_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2910,11 +2940,11 @@ export namespace apigateway_v1beta { list( params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2949,8 +2979,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3007,11 +3037,11 @@ export namespace apigateway_v1beta { patch( params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Gateways$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3042,8 +3072,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3095,11 +3125,11 @@ export namespace apigateway_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Gateways$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3128,7 +3158,10 @@ export namespace apigateway_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3183,11 +3216,13 @@ export namespace apigateway_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Gateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3222,8 +3257,10 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3393,11 +3430,11 @@ export namespace apigateway_v1beta { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3426,7 +3463,10 @@ export namespace apigateway_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3481,11 +3521,11 @@ export namespace apigateway_v1beta { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3514,7 +3554,10 @@ export namespace apigateway_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3566,11 +3609,11 @@ export namespace apigateway_v1beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3601,8 +3644,8 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3654,11 +3697,13 @@ export namespace apigateway_v1beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3693,8 +3738,10 @@ export namespace apigateway_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/apigeeregistry/index.ts b/src/apis/apigeeregistry/index.ts index 1fb43299e2c..e6fb0bef6fa 100644 --- a/src/apis/apigeeregistry/index.ts +++ b/src/apis/apigeeregistry/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/apigeeregistry/package.json b/src/apis/apigeeregistry/package.json index 198e279e628..231de80c8ac 100644 --- a/src/apis/apigeeregistry/package.json +++ b/src/apis/apigeeregistry/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/apigeeregistry/v1.ts b/src/apis/apigeeregistry/v1.ts index ad1aa0d18eb..cf384dd0ca3 100644 --- a/src/apis/apigeeregistry/v1.ts +++ b/src/apis/apigeeregistry/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -837,11 +837,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -870,7 +870,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -923,11 +926,11 @@ export namespace apigeeregistry_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -960,8 +963,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1063,11 +1066,11 @@ export namespace apigeeregistry_v1 { create( params: Params$Resource$Projects$Locations$Apis$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1096,7 +1099,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1149,11 +1155,11 @@ export namespace apigeeregistry_v1 { delete( params: Params$Resource$Projects$Locations$Apis$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1182,7 +1188,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1235,11 +1244,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Apis$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1268,7 +1277,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1321,11 +1333,11 @@ export namespace apigeeregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1354,7 +1366,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1410,11 +1425,11 @@ export namespace apigeeregistry_v1 { list( params: Params$Resource$Projects$Locations$Apis$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Apis$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1443,7 +1458,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1496,11 +1514,11 @@ export namespace apigeeregistry_v1 { patch( params: Params$Resource$Projects$Locations$Apis$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Apis$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Apis$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1529,7 +1547,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1582,11 +1603,11 @@ export namespace apigeeregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1615,7 +1636,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1671,11 +1695,11 @@ export namespace apigeeregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Apis$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1710,8 +1734,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1888,11 +1912,11 @@ export namespace apigeeregistry_v1 { create( params: Params$Resource$Projects$Locations$Apis$Artifacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Artifacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Artifacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1921,7 +1945,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Artifacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1977,11 +2004,11 @@ export namespace apigeeregistry_v1 { delete( params: Params$Resource$Projects$Locations$Apis$Artifacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Artifacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Artifacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2010,7 +2037,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Artifacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2063,11 +2093,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Apis$Artifacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Artifacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Artifacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2096,7 +2126,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Artifacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2149,11 +2182,11 @@ export namespace apigeeregistry_v1 { getContents( params: Params$Resource$Projects$Locations$Apis$Artifacts$Getcontents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params?: Params$Resource$Projects$Locations$Apis$Artifacts$Getcontents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params: Params$Resource$Projects$Locations$Apis$Artifacts$Getcontents, options: StreamMethodOptions | BodyResponseCallback, @@ -2182,7 +2215,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Artifacts$Getcontents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2239,11 +2275,11 @@ export namespace apigeeregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Artifacts$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Artifacts$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Artifacts$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2272,7 +2308,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Artifacts$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2329,11 +2368,11 @@ export namespace apigeeregistry_v1 { list( params: Params$Resource$Projects$Locations$Apis$Artifacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$Artifacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Apis$Artifacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2366,8 +2405,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Artifacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2423,11 +2462,11 @@ export namespace apigeeregistry_v1 { replaceArtifact( params: Params$Resource$Projects$Locations$Apis$Artifacts$Replaceartifact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceArtifact( params?: Params$Resource$Projects$Locations$Apis$Artifacts$Replaceartifact, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replaceArtifact( params: Params$Resource$Projects$Locations$Apis$Artifacts$Replaceartifact, options: StreamMethodOptions | BodyResponseCallback, @@ -2456,7 +2495,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Artifacts$Replaceartifact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2510,11 +2552,11 @@ export namespace apigeeregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Artifacts$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Artifacts$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Artifacts$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2543,7 +2585,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Artifacts$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2600,11 +2645,11 @@ export namespace apigeeregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Artifacts$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Apis$Artifacts$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Artifacts$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2639,8 +2684,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Artifacts$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2817,11 +2862,11 @@ export namespace apigeeregistry_v1 { create( params: Params$Resource$Projects$Locations$Apis$Deployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Deployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Deployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2850,7 +2895,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2907,11 +2955,11 @@ export namespace apigeeregistry_v1 { delete( params: Params$Resource$Projects$Locations$Apis$Deployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Deployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Deployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2940,7 +2988,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2994,11 +3045,11 @@ export namespace apigeeregistry_v1 { deleteRevision( params: Params$Resource$Projects$Locations$Apis$Deployments$Deleterevision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteRevision( params?: Params$Resource$Projects$Locations$Apis$Deployments$Deleterevision, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteRevision( params: Params$Resource$Projects$Locations$Apis$Deployments$Deleterevision, options: StreamMethodOptions | BodyResponseCallback, @@ -3027,7 +3078,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Deleterevision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3084,11 +3138,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Apis$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3117,7 +3171,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3170,11 +3227,11 @@ export namespace apigeeregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Deployments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Deployments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Deployments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3203,7 +3260,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3260,11 +3320,11 @@ export namespace apigeeregistry_v1 { list( params: Params$Resource$Projects$Locations$Apis$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Apis$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3299,8 +3359,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3356,11 +3416,13 @@ export namespace apigeeregistry_v1 { listRevisions( params: Params$Resource$Projects$Locations$Apis$Deployments$Listrevisions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params?: Params$Resource$Projects$Locations$Apis$Deployments$Listrevisions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listRevisions( params: Params$Resource$Projects$Locations$Apis$Deployments$Listrevisions, options: StreamMethodOptions | BodyResponseCallback, @@ -3395,8 +3457,10 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Listrevisions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3455,11 +3519,11 @@ export namespace apigeeregistry_v1 { patch( params: Params$Resource$Projects$Locations$Apis$Deployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Apis$Deployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Apis$Deployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3488,7 +3552,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3542,11 +3609,11 @@ export namespace apigeeregistry_v1 { rollback( params: Params$Resource$Projects$Locations$Apis$Deployments$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Locations$Apis$Deployments$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Locations$Apis$Deployments$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -3575,7 +3642,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3632,11 +3702,11 @@ export namespace apigeeregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Deployments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Deployments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Deployments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3665,7 +3735,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3722,11 +3795,11 @@ export namespace apigeeregistry_v1 { tagRevision( params: Params$Resource$Projects$Locations$Apis$Deployments$Tagrevision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; tagRevision( params?: Params$Resource$Projects$Locations$Apis$Deployments$Tagrevision, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; tagRevision( params: Params$Resource$Projects$Locations$Apis$Deployments$Tagrevision, options: StreamMethodOptions | BodyResponseCallback, @@ -3755,7 +3828,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Tagrevision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3812,11 +3888,11 @@ export namespace apigeeregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Deployments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Apis$Deployments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Deployments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3851,8 +3927,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4079,11 +4155,11 @@ export namespace apigeeregistry_v1 { create( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4112,7 +4188,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4169,11 +4248,11 @@ export namespace apigeeregistry_v1 { delete( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4202,7 +4281,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4256,11 +4338,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4289,7 +4371,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4343,11 +4428,11 @@ export namespace apigeeregistry_v1 { getContents( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Getcontents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params?: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Getcontents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Getcontents, options: StreamMethodOptions | BodyResponseCallback, @@ -4376,7 +4461,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Getcontents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4433,11 +4521,11 @@ export namespace apigeeregistry_v1 { list( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4470,8 +4558,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4528,11 +4616,11 @@ export namespace apigeeregistry_v1 { replaceArtifact( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Replaceartifact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceArtifact( params?: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Replaceartifact, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replaceArtifact( params: Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Replaceartifact, options: StreamMethodOptions | BodyResponseCallback, @@ -4561,7 +4649,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Deployments$Artifacts$Replaceartifact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4703,11 +4794,11 @@ export namespace apigeeregistry_v1 { create( params: Params$Resource$Projects$Locations$Apis$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4736,7 +4827,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4792,11 +4886,11 @@ export namespace apigeeregistry_v1 { delete( params: Params$Resource$Projects$Locations$Apis$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4825,7 +4919,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4878,11 +4975,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Apis$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4911,7 +5008,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4964,11 +5064,11 @@ export namespace apigeeregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Versions$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4997,7 +5097,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5054,11 +5157,11 @@ export namespace apigeeregistry_v1 { list( params: Params$Resource$Projects$Locations$Apis$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Apis$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5091,8 +5194,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5148,11 +5251,11 @@ export namespace apigeeregistry_v1 { patch( params: Params$Resource$Projects$Locations$Apis$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Apis$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Apis$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5181,7 +5284,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5234,11 +5340,11 @@ export namespace apigeeregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Versions$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5267,7 +5373,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5324,11 +5433,11 @@ export namespace apigeeregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Versions$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Apis$Versions$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Versions$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5363,8 +5472,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5541,11 +5650,11 @@ export namespace apigeeregistry_v1 { create( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5574,7 +5683,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5631,11 +5743,11 @@ export namespace apigeeregistry_v1 { delete( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5664,7 +5776,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5718,11 +5833,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5751,7 +5866,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5805,11 +5923,11 @@ export namespace apigeeregistry_v1 { getContents( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Getcontents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params?: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Getcontents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Getcontents, options: StreamMethodOptions | BodyResponseCallback, @@ -5838,7 +5956,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Getcontents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5895,11 +6016,11 @@ export namespace apigeeregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5928,7 +6049,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5985,11 +6109,11 @@ export namespace apigeeregistry_v1 { list( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6022,8 +6146,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Artifacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6080,11 +6204,11 @@ export namespace apigeeregistry_v1 { replaceArtifact( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Replaceartifact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceArtifact( params?: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Replaceartifact, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replaceArtifact( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Replaceartifact, options: StreamMethodOptions | BodyResponseCallback, @@ -6113,7 +6237,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Replaceartifact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6167,11 +6294,11 @@ export namespace apigeeregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6200,7 +6327,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6257,11 +6387,11 @@ export namespace apigeeregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6296,8 +6426,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Artifacts$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6474,11 +6604,11 @@ export namespace apigeeregistry_v1 { create( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6507,7 +6637,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6564,11 +6697,11 @@ export namespace apigeeregistry_v1 { delete( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6597,7 +6730,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6651,11 +6787,11 @@ export namespace apigeeregistry_v1 { deleteRevision( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Deleterevision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteRevision( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Deleterevision, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteRevision( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Deleterevision, options: StreamMethodOptions | BodyResponseCallback, @@ -6684,7 +6820,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Deleterevision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6741,11 +6880,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6774,7 +6913,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6828,11 +6970,11 @@ export namespace apigeeregistry_v1 { getContents( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents, options: StreamMethodOptions | BodyResponseCallback, @@ -6861,7 +7003,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6918,11 +7063,11 @@ export namespace apigeeregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6951,7 +7096,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7008,11 +7156,11 @@ export namespace apigeeregistry_v1 { list( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7045,8 +7193,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7103,11 +7251,11 @@ export namespace apigeeregistry_v1 { listRevisions( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Listrevisions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Listrevisions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Listrevisions, options: StreamMethodOptions | BodyResponseCallback, @@ -7142,8 +7290,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Listrevisions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7202,11 +7350,11 @@ export namespace apigeeregistry_v1 { patch( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7235,7 +7383,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7289,11 +7440,11 @@ export namespace apigeeregistry_v1 { rollback( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -7322,7 +7473,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7379,11 +7533,11 @@ export namespace apigeeregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7412,7 +7566,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7469,11 +7626,11 @@ export namespace apigeeregistry_v1 { tagRevision( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Tagrevision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; tagRevision( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Tagrevision, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; tagRevision( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Tagrevision, options: StreamMethodOptions | BodyResponseCallback, @@ -7502,7 +7659,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Tagrevision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7559,11 +7719,11 @@ export namespace apigeeregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7598,8 +7758,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7833,11 +7993,11 @@ export namespace apigeeregistry_v1 { create( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7866,7 +8026,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7923,11 +8086,11 @@ export namespace apigeeregistry_v1 { delete( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7956,7 +8119,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8010,11 +8176,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8043,7 +8209,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8097,11 +8266,11 @@ export namespace apigeeregistry_v1 { getContents( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Getcontents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Getcontents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Getcontents, options: StreamMethodOptions | BodyResponseCallback, @@ -8130,7 +8299,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Getcontents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8187,11 +8359,11 @@ export namespace apigeeregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8220,7 +8392,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8277,11 +8452,11 @@ export namespace apigeeregistry_v1 { list( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8314,8 +8489,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8372,11 +8547,11 @@ export namespace apigeeregistry_v1 { replaceArtifact( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Replaceartifact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceArtifact( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Replaceartifact, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replaceArtifact( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Replaceartifact, options: StreamMethodOptions | BodyResponseCallback, @@ -8405,7 +8580,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Replaceartifact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8459,11 +8637,11 @@ export namespace apigeeregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8492,7 +8670,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8549,11 +8730,11 @@ export namespace apigeeregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8588,8 +8769,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Artifacts$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8761,11 +8942,11 @@ export namespace apigeeregistry_v1 { create( params: Params$Resource$Projects$Locations$Artifacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Artifacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Artifacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8794,7 +8975,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Artifacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8850,11 +9034,11 @@ export namespace apigeeregistry_v1 { delete( params: Params$Resource$Projects$Locations$Artifacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Artifacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Artifacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8883,7 +9067,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Artifacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8936,11 +9123,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Artifacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Artifacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Artifacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8969,7 +9156,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Artifacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9022,11 +9212,11 @@ export namespace apigeeregistry_v1 { getContents( params: Params$Resource$Projects$Locations$Artifacts$Getcontents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params?: Params$Resource$Projects$Locations$Artifacts$Getcontents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getContents( params: Params$Resource$Projects$Locations$Artifacts$Getcontents, options: StreamMethodOptions | BodyResponseCallback, @@ -9055,7 +9245,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Artifacts$Getcontents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9111,11 +9304,11 @@ export namespace apigeeregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Artifacts$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Artifacts$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Artifacts$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9144,7 +9337,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Artifacts$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9201,11 +9397,11 @@ export namespace apigeeregistry_v1 { list( params: Params$Resource$Projects$Locations$Artifacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Artifacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Artifacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9238,8 +9434,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Artifacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9295,11 +9491,11 @@ export namespace apigeeregistry_v1 { replaceArtifact( params: Params$Resource$Projects$Locations$Artifacts$Replaceartifact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceArtifact( params?: Params$Resource$Projects$Locations$Artifacts$Replaceartifact, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replaceArtifact( params: Params$Resource$Projects$Locations$Artifacts$Replaceartifact, options: StreamMethodOptions | BodyResponseCallback, @@ -9328,7 +9524,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Artifacts$Replaceartifact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9382,11 +9581,11 @@ export namespace apigeeregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Artifacts$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Artifacts$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Artifacts$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9415,7 +9614,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Artifacts$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9472,11 +9674,11 @@ export namespace apigeeregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Artifacts$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Artifacts$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Artifacts$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9511,8 +9713,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Artifacts$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9684,11 +9886,11 @@ export namespace apigeeregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Documents$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Documents$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Documents$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9717,7 +9919,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9774,11 +9979,11 @@ export namespace apigeeregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Documents$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Documents$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Documents$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9807,7 +10012,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9864,11 +10072,11 @@ export namespace apigeeregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Documents$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Documents$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Documents$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9903,8 +10111,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10004,11 +10212,11 @@ export namespace apigeeregistry_v1 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10037,7 +10245,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10093,11 +10304,11 @@ export namespace apigeeregistry_v1 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10126,7 +10337,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10179,11 +10393,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10212,7 +10426,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10265,11 +10482,11 @@ export namespace apigeeregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10298,7 +10515,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10355,11 +10575,11 @@ export namespace apigeeregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10388,7 +10608,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10445,11 +10668,11 @@ export namespace apigeeregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Instances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -10484,8 +10707,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10615,11 +10838,11 @@ export namespace apigeeregistry_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -10648,7 +10871,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10701,11 +10927,11 @@ export namespace apigeeregistry_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10734,7 +10960,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10787,11 +11016,11 @@ export namespace apigeeregistry_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10820,7 +11049,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10873,11 +11105,11 @@ export namespace apigeeregistry_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10910,8 +11142,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11020,11 +11252,11 @@ export namespace apigeeregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Runtime$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Runtime$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Runtime$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -11053,7 +11285,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtime$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11109,11 +11344,11 @@ export namespace apigeeregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Runtime$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Runtime$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Runtime$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -11142,7 +11377,10 @@ export namespace apigeeregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtime$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11198,11 +11436,11 @@ export namespace apigeeregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Runtime$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Runtime$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Runtime$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -11237,8 +11475,8 @@ export namespace apigeeregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtime$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/apihub/README.md b/src/apis/apihub/README.md new file mode 100644 index 00000000000..9215be68133 --- /dev/null +++ b/src/apis/apihub/README.md @@ -0,0 +1,28 @@ +Google Inc. logo + +# apihub + +> + +## Installation + +```sh +$ npm install @googleapis/apihub +``` + +## 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/apihub/classes/Apihub.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/apihub/index.ts b/src/apis/apihub/index.ts new file mode 100644 index 00000000000..e075e9fa325 --- /dev/null +++ b/src/apis/apihub/index.ts @@ -0,0 +1,43 @@ +// 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 {apihub_v1} from './v1'; + +export const VERSIONS = { + v1: apihub_v1.Apihub, +}; + +export function apihub(version: 'v1'): apihub_v1.Apihub; +export function apihub(options: apihub_v1.Options): apihub_v1.Apihub; +export function apihub( + this: GoogleConfigurable, + versionOrOptions: 'v1' | apihub_v1.Options +) { + return getAPI('apihub', versionOrOptions, VERSIONS, this); +} + +const auth = new AuthPlus(); +export {auth}; +export {apihub_v1}; +export { + AuthPlus, + GlobalOptions, + APIRequestContext, + GoogleConfigurable, + StreamMethodOptions, + MethodOptions, + BodyResponseCallback, +} from 'googleapis-common'; diff --git a/src/apis/apihub/package.json b/src/apis/apihub/package.json new file mode 100644 index 00000000000..1bb6255ecce --- /dev/null +++ b/src/apis/apihub/package.json @@ -0,0 +1,43 @@ +{ + "name": "@googleapis/apihub", + "version": "0.1.0", + "description": "apihub", + "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.2-rc.0" + }, + "devDependencies": { + "@microsoft/api-documenter": "^7.8.10", + "@microsoft/api-extractor": "^7.8.10", + "gts": "^5.0.0", + "null-loader": "^4.0.0", + "ts-loader": "^9.0.0", + "typescript": "~4.8.4", + "webpack": "^5.0.0", + "webpack-cli": "^5.0.0" + } +} diff --git a/src/apis/apihub/tsconfig.json b/src/apis/apihub/tsconfig.json new file mode 100644 index 00000000000..e0810904968 --- /dev/null +++ b/src/apis/apihub/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "./node_modules/gts/tsconfig-google.json", + "compilerOptions": { + "rootDir": ".", + "outDir": "build" + }, + "include": [ + "*.ts", + ] +} diff --git a/src/apis/apihub/v1.ts b/src/apis/apihub/v1.ts new file mode 100644 index 00000000000..a72916cc027 --- /dev/null +++ b/src/apis/apihub/v1.ts @@ -0,0 +1,11472 @@ +// 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 apihub_v1 { + export interface Options extends GlobalOptions { + version: 'v1'; + } + + 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; + } + + /** + * API hub API + * + * + * + * @example + * ```js + * const {google} = require('googleapis'); + * const apihub = google.apihub('v1'); + * ``` + */ + export class Apihub { + context: APIRequestContext; + projects: Resource$Projects; + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this.context = { + _options: options || {}, + google, + }; + + this.projects = new Resource$Projects(this.context); + } + } + + /** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} + */ + export interface Schema$Empty {} + /** + * The details for the action to execute. + */ + export interface Schema$GoogleCloudApihubV1ActionExecutionDetail { + /** + * Required. The action id of the plugin to execute. + */ + actionId?: string | null; + } + /** + * The value that can be assigned to the attribute when the data type is enum. + */ + export interface Schema$GoogleCloudApihubV1AllowedValue { + /** + * Optional. The detailed description of the allowed value. + */ + description?: string | null; + /** + * Required. The display name of the allowed value. + */ + displayName?: string | null; + /** + * Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/. + */ + id?: string | null; + /** + * Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes. + */ + immutable?: boolean | null; + } + /** + * An API resource in the API Hub. + */ + export interface Schema$GoogleCloudApihubV1Api { + /** + * Optional. The api functional requirements associated with the API resource. Carinality is 1 for this attribute. + */ + apiFunctionalRequirements?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Optional. The api requirement doc associated with the API resource. Carinality is 1 for this attribute. + */ + apiRequirements?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Optional. The style of the API. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-api-style` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. + */ + apiStyle?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Optional. The api technical requirements associated with the API resource. Carinality is 1 for this attribute. + */ + apiTechnicalRequirements?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Optional. The list of user defined attributes associated with the API resource. The key is the attribute name. It will be of the format: `projects/{project\}/locations/{location\}/attributes/{attribute\}`. The value is the attribute values associated with the resource. + */ + attributes?: { + [key: string]: Schema$GoogleCloudApihubV1AttributeValues; + } | null; + /** + * Optional. The business unit owning the API. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-business-unit` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. + */ + businessUnit?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Output only. The time at which the API resource was created. + */ + createTime?: string | null; + /** + * Optional. The description of the API resource. + */ + description?: string | null; + /** + * Required. The display name of the API resource. + */ + displayName?: string | null; + /** + * Optional. The documentation for the API resource. + */ + documentation?: Schema$GoogleCloudApihubV1Documentation; + /** + * Optional. Fingerprint of the API resource. + */ + fingerprint?: string | null; + /** + * Optional. The maturity level of the API. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-maturity-level` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. + */ + maturityLevel?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Identifier. The name of the API resource in the API Hub. Format: `projects/{project\}/locations/{location\}/apis/{api\}` + */ + name?: string | null; + /** + * Optional. Owner details for the API resource. + */ + owner?: Schema$GoogleCloudApihubV1Owner; + /** + * Optional. The selected version for an API resource. This can be used when special handling is needed on client side for particular version of the API. Format is `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}` + */ + selectedVersion?: string | null; + /** + * Output only. The list of sources and metadata from the sources of the API resource. + */ + sourceMetadata?: Schema$GoogleCloudApihubV1SourceMetadata[]; + /** + * Optional. The target users for the API. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-target-user` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. + */ + targetUser?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Optional. The team owning the API. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-team` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. + */ + team?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Output only. The time at which the API resource was last updated. + */ + updateTime?: string | null; + /** + * Output only. The list of versions present in an API resource. Note: An API resource can be associated with more than 1 version. Format is `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}` + */ + versions?: string[] | null; + } + /** + * The API data to be collected. + */ + export interface Schema$GoogleCloudApihubV1ApiData { + /** + * Optional. The list of API metadata. + */ + apiMetadataList?: Schema$GoogleCloudApihubV1ApiMetadataList; + } + /** + * An ApiHubInstance represents the instance resources of the API Hub. Currently, only one ApiHub instance is allowed for each project. + */ + export interface Schema$GoogleCloudApihubV1ApiHubInstance { + /** + * Required. Config of the ApiHub instance. + */ + config?: Schema$GoogleCloudApihubV1Config; + /** + * Output only. Creation timestamp. + */ + createTime?: string | null; + /** + * Optional. Description of the ApiHub instance. + */ + description?: string | null; + /** + * Optional. Instance labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. Format: `projects/{project\}/locations/{location\}/apiHubInstances/{apiHubInstance\}`. + */ + name?: string | null; + /** + * Output only. The current state of the ApiHub instance. + */ + state?: string | null; + /** + * Output only. Extra information about ApiHub instance state. Currently the message would be populated when state is `FAILED`. + */ + stateMessage?: string | null; + /** + * Output only. Last update timestamp. + */ + updateTime?: string | null; + } + /** + * ApiHubResource is one of the resources such as Api, Operation, Deployment, Definition, Spec and Version resources stored in API-Hub. + */ + export interface Schema$GoogleCloudApihubV1ApiHubResource { + /** + * This represents Api resource in search results. Only name, display_name, description and owner fields are populated in search results. + */ + api?: Schema$GoogleCloudApihubV1Api; + /** + * This represents Definition resource in search results. Only name field is populated in search results. + */ + definition?: Schema$GoogleCloudApihubV1Definition; + /** + * This represents Deployment resource in search results. Only name, display_name, description, deployment_type and api_versions fields are populated in search results. + */ + deployment?: Schema$GoogleCloudApihubV1Deployment; + /** + * This represents ApiOperation resource in search results. Only name, description, spec and details fields are populated in search results. + */ + operation?: Schema$GoogleCloudApihubV1ApiOperation; + /** + * This represents Spec resource in search results. Only name, display_name, description, spec_type and documentation fields are populated in search results. + */ + spec?: Schema$GoogleCloudApihubV1Spec; + /** + * This represents Version resource in search results. Only name, display_name, description, lifecycle, compliance and accreditation fields are populated in search results. + */ + version?: Schema$GoogleCloudApihubV1Version; + } + /** + * Config for authentication with API key. + */ + export interface Schema$GoogleCloudApihubV1ApiKeyConfig { + /** + * Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project\}/secrets/{secrete\}/versions/{version\}`. The `secretmanager.versions.access` permission should be granted to the service account accessing the secret. + */ + apiKey?: Schema$GoogleCloudApihubV1Secret; + /** + * Required. The location of the API key. The default value is QUERY. + */ + httpElementLocation?: string | null; + /** + * Required. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. + */ + name?: string | null; + } + /** + * The API metadata. + */ + export interface Schema$GoogleCloudApihubV1APIMetadata { + /** + * Required. The API resource to be pushed to Hub's collect layer. The ID of the API resource will be generated by Hub to ensure uniqueness across all APIs across systems. + */ + api?: Schema$GoogleCloudApihubV1Api; + /** + * Optional. Timestamp indicating when the API was created at the source. + */ + originalCreateTime?: string | null; + /** + * Optional. The unique identifier of the API in the system where it was originally created. + */ + originalId?: string | null; + /** + * Required. Timestamp indicating when the API was last updated at the source. + */ + originalUpdateTime?: string | null; + /** + * Optional. The list of versions present in an API resource. + */ + versions?: Schema$GoogleCloudApihubV1VersionMetadata[]; + } + /** + * The message to hold repeated API metadata. + */ + export interface Schema$GoogleCloudApihubV1ApiMetadataList { + /** + * Required. The list of API metadata. + */ + apiMetadata?: Schema$GoogleCloudApihubV1APIMetadata[]; + } + /** + * Represents an operation contained in an API version in the API Hub. An operation is added/updated/deleted in an API version when a new spec is added or an existing spec is updated/deleted in a version. Currently, an operation will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec. Alternatively operations can be managed via create,update and delete APIs, creation of apiOperation can be possible only for version with no parsed operations and update/delete can be possible only for operations created via create API. + */ + export interface Schema$GoogleCloudApihubV1ApiOperation { + /** + * Optional. The list of user defined attributes associated with the API operation resource. The key is the attribute name. It will be of the format: `projects/{project\}/locations/{location\}/attributes/{attribute\}`. The value is the attribute values associated with the resource. + */ + attributes?: { + [key: string]: Schema$GoogleCloudApihubV1AttributeValues; + } | null; + /** + * Output only. The time at which the operation was created. + */ + createTime?: string | null; + /** + * Optional. Operation details. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided. + */ + details?: Schema$GoogleCloudApihubV1OperationDetails; + /** + * Identifier. The name of the operation. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/operations/{operation\}` + */ + name?: string | null; + /** + * Output only. The list of sources and metadata from the sources of the API operation. + */ + sourceMetadata?: Schema$GoogleCloudApihubV1SourceMetadata[]; + /** + * Output only. The name of the spec will be of the format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/specs/{spec\}` Note:The name of the spec will be empty if the operation is created via CreateApiOperation API. + */ + spec?: string | null; + /** + * Output only. The time at which the operation was last updated. + */ + updateTime?: string | null; + } + /** + * The details of the Application Integration endpoint to be triggered for curation. + */ + export interface Schema$GoogleCloudApihubV1ApplicationIntegrationEndpointDetails { + /** + * Required. The API trigger ID of the Application Integration workflow. + */ + triggerId?: string | null; + /** + * Required. The endpoint URI should be a valid REST URI for triggering an Application Integration. Format: `https://integrations.googleapis.com/v1/{name=projects/x/locations/x/integrations/x\}:execute` or `https://{location\}-integrations.googleapis.com/v1/{name=projects/x/locations/x/integrations/x\}:execute` + */ + uri?: string | null; + } + /** + * An attribute in the API Hub. An attribute is a name value pair which can be attached to different resources in the API hub based on the scope of the attribute. Attributes can either be pre-defined by the API Hub or created by users. + */ + export interface Schema$GoogleCloudApihubV1Attribute { + /** + * Optional. The list of allowed values when the attribute value is of type enum. This is required when the data_type of the attribute is ENUM. The maximum number of allowed values of an attribute will be 1000. + */ + allowedValues?: Schema$GoogleCloudApihubV1AllowedValue[]; + /** + * Optional. The maximum number of values that the attribute can have when associated with an API Hub resource. Cardinality 1 would represent a single-valued attribute. It must not be less than 1 or greater than 20. If not specified, the cardinality would be set to 1 by default and represent a single-valued attribute. + */ + cardinality?: number | null; + /** + * Output only. The time at which the attribute was created. + */ + createTime?: string | null; + /** + * Required. The type of the data of the attribute. + */ + dataType?: string | null; + /** + * Output only. The definition type of the attribute. + */ + definitionType?: string | null; + /** + * Optional. The description of the attribute. + */ + description?: string | null; + /** + * Required. The display name of the attribute. + */ + displayName?: string | null; + /** + * Output only. When mandatory is true, the attribute is mandatory for the resource specified in the scope. Only System defined attributes can be mandatory. + */ + mandatory?: boolean | null; + /** + * Identifier. The name of the attribute in the API Hub. Format: `projects/{project\}/locations/{location\}/attributes/{attribute\}` + */ + name?: string | null; + /** + * Required. The scope of the attribute. It represents the resource in the API Hub to which the attribute can be linked. + */ + scope?: string | null; + /** + * Output only. The time at which the attribute was last updated. + */ + updateTime?: string | null; + } + /** + * The attribute values associated with resource. + */ + export interface Schema$GoogleCloudApihubV1AttributeValues { + /** + * Output only. The name of the attribute. Format: projects/{project\}/locations/{location\}/attributes/{attribute\} + */ + attribute?: string | null; + /** + * The attribute values associated with a resource in case attribute data type is enum. + */ + enumValues?: Schema$GoogleCloudApihubV1EnumAttributeValues; + /** + * The attribute values associated with a resource in case attribute data type is JSON. + */ + jsonValues?: Schema$GoogleCloudApihubV1StringAttributeValues; + /** + * The attribute values associated with a resource in case attribute data type is string. + */ + stringValues?: Schema$GoogleCloudApihubV1StringAttributeValues; + /** + * The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name. + */ + uriValues?: Schema$GoogleCloudApihubV1StringAttributeValues; + } + /** + * AuthConfig represents the authentication information. + */ + export interface Schema$GoogleCloudApihubV1AuthConfig { + /** + * Api Key Config. + */ + apiKeyConfig?: Schema$GoogleCloudApihubV1ApiKeyConfig; + /** + * Required. The authentication type. + */ + authType?: string | null; + /** + * Google Service Account. + */ + googleServiceAccountConfig?: Schema$GoogleCloudApihubV1GoogleServiceAccountConfig; + /** + * Oauth2.0 Client Credentials. + */ + oauth2ClientCredentialsConfig?: Schema$GoogleCloudApihubV1Oauth2ClientCredentialsConfig; + /** + * User Password. + */ + userPasswordConfig?: Schema$GoogleCloudApihubV1UserPasswordConfig; + } + /** + * AuthConfigTemplate represents the authentication template for a plugin. + */ + export interface Schema$GoogleCloudApihubV1AuthConfigTemplate { + /** + * Optional. The service account of the plugin hosting service. This service account should be granted the required permissions on the Auth Config parameters provided while creating the plugin instances corresponding to this plugin. For example, if the plugin instance auth config requires a secret manager secret, the service account should be granted the secretmanager.versions.access permission on the corresponding secret, if the plugin instance auth config contains a service account, the service account should be granted the iam.serviceAccounts.getAccessToken permission on the corresponding service account. + */ + serviceAccount?: Schema$GoogleCloudApihubV1GoogleServiceAccountConfig; + /** + * Required. The list of authentication types supported by the plugin. + */ + supportedAuthTypes?: string[] | null; + } + /** + * The CollectApiData method's request. + */ + export interface Schema$GoogleCloudApihubV1CollectApiDataRequest { + /** + * Required. The action ID to be used for collecting the API data. This should map to one of the action IDs specified in action configs in the plugin. + */ + actionId?: string | null; + /** + * Required. The API data to be collected. + */ + apiData?: Schema$GoogleCloudApihubV1ApiData; + /** + * Required. The type of collection. Applies to all entries in api_data. + */ + collectionType?: string | null; + /** + * Required. The plugin instance collecting the API data. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}/instances/{instance\}`. + */ + pluginInstance?: string | null; + } + /** + * Available configurations to provision an ApiHub Instance. + */ + export interface Schema$GoogleCloudApihubV1Config { + /** + * Optional. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, where the location must match the instance location. If the CMEK is not provided, a GMEK will be created for the instance. + */ + cmekKeyName?: string | null; + /** + * Optional. If true, the search will be disabled for the instance. The default value is false. + */ + disableSearch?: boolean | null; + /** + * Optional. Encryption type for the region. If the encryption type is CMEK, the cmek_key_name must be provided. If no encryption type is provided, GMEK will be used. + */ + encryptionType?: string | null; + /** + * Optional. The name of the Vertex AI location where the data store is stored. + */ + vertexLocation?: string | null; + } + /** + * ConfigTemplate represents the configuration template for a plugin. + */ + export interface Schema$GoogleCloudApihubV1ConfigTemplate { + /** + * Optional. The list of additional configuration variables for the plugin's configuration. + */ + additionalConfigTemplate?: Schema$GoogleCloudApihubV1ConfigVariableTemplate[]; + /** + * Optional. The authentication template for the plugin. + */ + authConfigTemplate?: Schema$GoogleCloudApihubV1AuthConfigTemplate; + } + /** + * ConfigValueOption represents an option for a config variable of type enum or multi select. + */ + export interface Schema$GoogleCloudApihubV1ConfigValueOption { + /** + * Optional. Description of the option. + */ + description?: string | null; + /** + * Required. Display name of the option. + */ + displayName?: string | null; + /** + * Required. Id of the option. + */ + id?: string | null; + } + /** + * ConfigVariable represents a additional configuration variable present in a PluginInstance Config or AuthConfig, based on a ConfigVariableTemplate. + */ + export interface Schema$GoogleCloudApihubV1ConfigVariable { + /** + * Optional. The config variable value in case of config variable of type boolean. + */ + boolValue?: boolean | null; + /** + * Optional. The config variable value in case of config variable of type enum. + */ + enumValue?: Schema$GoogleCloudApihubV1ConfigValueOption; + /** + * Optional. The config variable value in case of config variable of type integer. + */ + intValue?: string | null; + /** + * Output only. Key will be the id to uniquely identify the config variable. + */ + key?: string | null; + /** + * Optional. The config variable value in case of config variable of type multi integer. + */ + multiIntValues?: Schema$GoogleCloudApihubV1MultiIntValues; + /** + * Optional. The config variable value in case of config variable of type multi select. + */ + multiSelectValues?: Schema$GoogleCloudApihubV1MultiSelectValues; + /** + * Optional. The config variable value in case of config variable of type multi string. + */ + multiStringValues?: Schema$GoogleCloudApihubV1MultiStringValues; + /** + * Optional. The config variable value in case of config variable of type secret. + */ + secretValue?: Schema$GoogleCloudApihubV1Secret; + /** + * Optional. The config variable value in case of config variable of type string. + */ + stringValue?: string | null; + } + /** + * ConfigVariableTemplate represents a configuration variable template present in a Plugin Config. + */ + export interface Schema$GoogleCloudApihubV1ConfigVariableTemplate { + /** + * Optional. Description. + */ + description?: string | null; + /** + * Optional. Enum options. To be populated if `ValueType` is `ENUM`. + */ + enumOptions?: Schema$GoogleCloudApihubV1ConfigValueOption[]; + /** + * Required. ID of the config variable. Must be unique within the configuration. + */ + id?: string | null; + /** + * Optional. Multi select options. To be populated if `ValueType` is `MULTI_SELECT`. + */ + multiSelectOptions?: Schema$GoogleCloudApihubV1ConfigValueOption[]; + /** + * Optional. Flag represents that this `ConfigVariable` must be provided for a PluginInstance. + */ + required?: boolean | null; + /** + * Optional. Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`. + */ + validationRegex?: string | null; + /** + * Required. Type of the parameter: string, int, bool etc. + */ + valueType?: string | null; + } + /** + * A curation resource in the API Hub. + */ + export interface Schema$GoogleCloudApihubV1Curation { + /** + * Output only. The time at which the curation was created. + */ + createTime?: string | null; + /** + * Optional. The description of the curation. + */ + description?: string | null; + /** + * Required. The display name of the curation. + */ + displayName?: string | null; + /** + * Required. The endpoint to be triggered for curation. + */ + endpoint?: Schema$GoogleCloudApihubV1Endpoint; + /** + * Output only. The error code of the last execution of the curation. The error code is populated only when the last execution state is failed. + */ + lastExecutionErrorCode?: string | null; + /** + * Output only. Error message describing the failure, if any, during the last execution of the curation. + */ + lastExecutionErrorMessage?: string | null; + /** + * Output only. The last execution state of the curation. + */ + lastExecutionState?: string | null; + /** + * Identifier. The name of the curation. Format: `projects/{project\}/locations/{location\}/curations/{curation\}` + */ + name?: string | null; + /** + * Output only. The plugin instances and associated actions that are using the curation. Note: A particular curation could be used by multiple plugin instances or multiple actions in a plugin instance. + */ + pluginInstanceActions?: Schema$GoogleCloudApihubV1PluginInstanceActionID[]; + /** + * Output only. The time at which the curation was last updated. + */ + updateTime?: string | null; + } + /** + * The curation information for this plugin instance. + */ + export interface Schema$GoogleCloudApihubV1CurationConfig { + /** + * Required. The curation type for this plugin instance. + */ + curationType?: string | null; + /** + * Optional. Custom curation information for this plugin instance. + */ + customCuration?: Schema$GoogleCloudApihubV1CustomCuration; + } + /** + * Custom curation information for this plugin instance. + */ + export interface Schema$GoogleCloudApihubV1CustomCuration { + /** + * Required. The unique name of the curation resource. This will be the name of the curation resource in the format: `projects/{project\}/locations/{location\}/curations/{curation\}` + */ + curation?: string | null; + } + /** + * Represents a definition for example schema, request, response definitions contained in an API version. A definition is added/updated/deleted in an API version when a new spec is added or an existing spec is updated/deleted in a version. Currently, definition will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec. Also, within OpenAPI spec, only `schema` object is supported. + */ + export interface Schema$GoogleCloudApihubV1Definition { + /** + * Optional. The list of user defined attributes associated with the definition resource. The key is the attribute name. It will be of the format: `projects/{project\}/locations/{location\}/attributes/{attribute\}`. The value is the attribute values associated with the resource. + */ + attributes?: { + [key: string]: Schema$GoogleCloudApihubV1AttributeValues; + } | null; + /** + * Output only. The time at which the definition was created. + */ + createTime?: string | null; + /** + * Identifier. The name of the definition. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/definitions/{definition\}` + */ + name?: string | null; + /** + * Output only. The value of a schema definition. + */ + schema?: Schema$GoogleCloudApihubV1Schema; + /** + * Output only. The name of the spec from where the definition was parsed. Format is `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/specs/{spec\}` + */ + spec?: string | null; + /** + * Output only. The type of the definition. + */ + type?: string | null; + /** + * Output only. The time at which the definition was last updated. + */ + updateTime?: string | null; + } + /** + * A dependency resource defined in the API hub describes a dependency directed from a consumer to a supplier entity. A dependency can be defined between two Operations or between an Operation and External API. + */ + export interface Schema$GoogleCloudApihubV1Dependency { + /** + * Optional. The list of user defined attributes associated with the dependency resource. The key is the attribute name. It will be of the format: `projects/{project\}/locations/{location\}/attributes/{attribute\}`. The value is the attribute values associated with the resource. + */ + attributes?: { + [key: string]: Schema$GoogleCloudApihubV1AttributeValues; + } | null; + /** + * Required. Immutable. The entity acting as the consumer in the dependency. + */ + consumer?: Schema$GoogleCloudApihubV1DependencyEntityReference; + /** + * Output only. The time at which the dependency was created. + */ + createTime?: string | null; + /** + * Optional. Human readable description corresponding of the dependency. + */ + description?: string | null; + /** + * Output only. Discovery mode of the dependency. + */ + discoveryMode?: string | null; + /** + * Output only. Error details of a dependency if the system has detected it internally. + */ + errorDetail?: Schema$GoogleCloudApihubV1DependencyErrorDetail; + /** + * Identifier. The name of the dependency in the API Hub. Format: `projects/{project\}/locations/{location\}/dependencies/{dependency\}` + */ + name?: string | null; + /** + * Output only. State of the dependency. + */ + state?: string | null; + /** + * Required. Immutable. The entity acting as the supplier in the dependency. + */ + supplier?: Schema$GoogleCloudApihubV1DependencyEntityReference; + /** + * Output only. The time at which the dependency was last updated. + */ + updateTime?: string | null; + } + /** + * Reference to an entity participating in a dependency. + */ + export interface Schema$GoogleCloudApihubV1DependencyEntityReference { + /** + * Output only. Display name of the entity. + */ + displayName?: string | null; + /** + * The resource name of an external API in the API Hub. Format: `projects/{project\}/locations/{location\}/externalApis/{external_api\}` + */ + externalApiResourceName?: string | null; + /** + * The resource name of an operation in the API Hub. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/operations/{operation\}` + */ + operationResourceName?: string | null; + } + /** + * Details describing error condition of a dependency. + */ + export interface Schema$GoogleCloudApihubV1DependencyErrorDetail { + /** + * Optional. Error in the dependency. + */ + error?: string | null; + /** + * Optional. Timestamp at which the error was found. + */ + errorTime?: string | null; + } + /** + * Details of the deployment where APIs are hosted. A deployment could represent an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud services as well. A deployment entity is a root level entity in the API hub and exists independent of any API. + */ + export interface Schema$GoogleCloudApihubV1Deployment { + /** + * Output only. The API versions linked to this deployment. Note: A particular deployment could be linked to multiple different API versions (of same or different APIs). + */ + apiVersions?: string[] | null; + /** + * Optional. The list of user defined attributes associated with the deployment resource. The key is the attribute name. It will be of the format: `projects/{project\}/locations/{location\}/attributes/{attribute\}`. The value is the attribute values associated with the resource. + */ + attributes?: { + [key: string]: Schema$GoogleCloudApihubV1AttributeValues; + } | null; + /** + * Output only. The time at which the deployment was created. + */ + createTime?: string | null; + /** + * Required. The type of deployment. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-deployment-type` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. + */ + deploymentType?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Optional. The description of the deployment. + */ + description?: string | null; + /** + * Required. The display name of the deployment. + */ + displayName?: string | null; + /** + * Optional. The documentation of the deployment. + */ + documentation?: Schema$GoogleCloudApihubV1Documentation; + /** + * Required. The endpoints at which this deployment resource is listening for API requests. This could be a list of complete URIs, hostnames or an IP addresses. + */ + endpoints?: string[] | null; + /** + * Optional. The environment mapping to this deployment. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-environment` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. + */ + environment?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Identifier. The name of the deployment. Format: `projects/{project\}/locations/{location\}/deployments/{deployment\}` + */ + name?: string | null; + /** + * Required. A URI to the runtime resource. This URI can be used to manage the resource. For example, if the runtime resource is of type APIGEE_PROXY, then this field will contain the URI to the management UI of the proxy. + */ + resourceUri?: string | null; + /** + * Optional. The SLO for this deployment. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-slo` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. + */ + slo?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Output only. The list of sources and metadata from the sources of the deployment. + */ + sourceMetadata?: Schema$GoogleCloudApihubV1SourceMetadata[]; + /** + * Output only. The time at which the deployment was last updated. + */ + updateTime?: string | null; + } + /** + * The metadata associated with a deployment. + */ + export interface Schema$GoogleCloudApihubV1DeploymentMetadata { + /** + * Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub. + */ + deployment?: Schema$GoogleCloudApihubV1Deployment; + /** + * Optional. Timestamp indicating when the deployment was created at the source. + */ + originalCreateTime?: string | null; + /** + * Optional. The unique identifier of the deployment in the system where it was originally created. + */ + originalId?: string | null; + /** + * Required. Timestamp indicating when the deployment was last updated at the source. + */ + originalUpdateTime?: string | null; + } + /** + * The DisablePluginInstanceAction method's request. + */ + export interface Schema$GoogleCloudApihubV1DisablePluginInstanceActionRequest { + /** + * Required. The action id to disable. + */ + actionId?: string | null; + } + /** + * The DisablePlugin method's request. + */ + export interface Schema$GoogleCloudApihubV1DisablePluginRequest {} + /** + * Documentation details. + */ + export interface Schema$GoogleCloudApihubV1Documentation { + /** + * Optional. The uri of the externally hosted documentation. + */ + externalUri?: string | null; + } + /** + * The EnablePluginInstanceAction method's request. + */ + export interface Schema$GoogleCloudApihubV1EnablePluginInstanceActionRequest { + /** + * Required. The action id to enable. + */ + actionId?: string | null; + } + /** + * The EnablePlugin method's request. + */ + export interface Schema$GoogleCloudApihubV1EnablePluginRequest {} + /** + * The endpoint to be triggered for curation. The endpoint will be invoked with a request payload containing ApiMetadata. Response should contain curated data in the form of ApiMetadata. + */ + export interface Schema$GoogleCloudApihubV1Endpoint { + /** + * Required. The details of the Application Integration endpoint to be triggered for curation. + */ + applicationIntegrationEndpointDetails?: Schema$GoogleCloudApihubV1ApplicationIntegrationEndpointDetails; + } + /** + * The attribute values of data type enum. + */ + export interface Schema$GoogleCloudApihubV1EnumAttributeValues { + /** + * Required. The attribute values in case attribute data type is enum. + */ + values?: Schema$GoogleCloudApihubV1AllowedValue[]; + } + /** + * The ExecutePluginInstanceAction method's request. + */ + export interface Schema$GoogleCloudApihubV1ExecutePluginInstanceActionRequest { + /** + * Required. The execution details for the action to execute. + */ + actionExecutionDetail?: Schema$GoogleCloudApihubV1ActionExecutionDetail; + } + /** + * The execution status for the plugin instance. + */ + export interface Schema$GoogleCloudApihubV1ExecutionStatus { + /** + * Output only. The current state of the execution. + */ + currentExecutionState?: string | null; + /** + * Output only. The last execution of the plugin instance. + */ + lastExecution?: Schema$GoogleCloudApihubV1LastExecution; + } + /** + * An external API represents an API being provided by external sources. This can be used to model third-party APIs and can be used to define dependencies. + */ + export interface Schema$GoogleCloudApihubV1ExternalApi { + /** + * Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project\}/locations/{location\}/attributes/{attribute\}`. The value is the attribute values associated with the resource. + */ + attributes?: { + [key: string]: Schema$GoogleCloudApihubV1AttributeValues; + } | null; + /** + * Output only. Creation timestamp. + */ + createTime?: string | null; + /** + * Optional. Description of the external API. Max length is 2000 characters (Unicode Code Points). + */ + description?: string | null; + /** + * Required. Display name of the external API. Max length is 63 characters (Unicode Code Points). + */ + displayName?: string | null; + /** + * Optional. Documentation of the external API. + */ + documentation?: Schema$GoogleCloudApihubV1Documentation; + /** + * Optional. List of endpoints on which this API is accessible. + */ + endpoints?: string[] | null; + /** + * Identifier. Format: `projects/{project\}/locations/{location\}/externalApi/{externalApi\}`. + */ + name?: string | null; + /** + * Optional. List of paths served by this API. + */ + paths?: string[] | null; + /** + * Output only. Last update timestamp. + */ + updateTime?: string | null; + } + /** + * Config for Google service account authentication. + */ + export interface Schema$GoogleCloudApihubV1GoogleServiceAccountConfig { + /** + * Required. The service account to be used for authenticating request. The `iam.serviceAccounts.getAccessToken` permission should be granted on this service account to the impersonator service account. + */ + serviceAccount?: string | null; + } + /** + * The information related to the service implemented by the plugin developer, used to invoke the plugin's functionality. + */ + export interface Schema$GoogleCloudApihubV1HostingService { + /** + * Optional. The URI of the service implemented by the plugin developer, used to invoke the plugin's functionality. This information is only required for user defined plugins. + */ + serviceUri?: string | null; + } + /** + * Host project registration refers to the registration of a Google cloud project with Api Hub as a host project. This is the project where Api Hub is provisioned. It acts as the consumer project for the Api Hub instance provisioned. Multiple runtime projects can be attached to the host project and these attachments define the scope of Api Hub. + */ + export interface Schema$GoogleCloudApihubV1HostProjectRegistration { + /** + * Output only. The time at which the host project registration was created. + */ + createTime?: string | null; + /** + * Required. Immutable. Google cloud project name in the format: "projects/abc" or "projects/123". As input, project name with either project id or number are accepted. As output, this field will contain project number. + */ + gcpProject?: string | null; + /** + * Identifier. The name of the host project registration. Format: "projects/{project\}/locations/{location\}/hostProjectRegistrations/{host_project_registration\}". + */ + name?: string | null; + } + /** + * The HTTP Operation. + */ + export interface Schema$GoogleCloudApihubV1HttpOperation { + /** + * Optional. Operation method Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided. + */ + method?: string | null; + /** + * Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided. + */ + path?: Schema$GoogleCloudApihubV1Path; + } + /** + * Issue contains the details of a single issue found by the linter. + */ + export interface Schema$GoogleCloudApihubV1Issue { + /** + * Required. Rule code unique to each rule defined in linter. + */ + code?: string | null; + /** + * Required. Human-readable message describing the issue found by the linter. + */ + message?: string | null; + /** + * Required. An array of strings indicating the location in the analyzed document where the rule was triggered. + */ + path?: string[] | null; + /** + * Required. Object describing where in the file the issue was found. + */ + range?: Schema$GoogleCloudApihubV1Range; + /** + * Required. Severity level of the rule violation. + */ + severity?: string | null; + } + /** + * The result of the last execution of the plugin instance. + */ + export interface Schema$GoogleCloudApihubV1LastExecution { + /** + * Output only. The last execution end time of the plugin instance. + */ + endTime?: string | null; + /** + * Output only. Error message describing the failure, if any, during the last execution. + */ + errorMessage?: string | null; + /** + * Output only. The result of the last execution of the plugin instance. + */ + result?: string | null; + /** + * Output only. The last execution start time of the plugin instance. + */ + startTime?: string | null; + } + /** + * LintResponse contains the response from the linter. + */ + export interface Schema$GoogleCloudApihubV1LintResponse { + /** + * Required. Timestamp when the linting response was generated. + */ + createTime?: string | null; + /** + * Optional. Array of issues found in the analyzed document. + */ + issues?: Schema$GoogleCloudApihubV1Issue[]; + /** + * Required. Name of the linter used. + */ + linter?: string | null; + /** + * Required. Name of the linting application. + */ + source?: string | null; + /** + * Required. Lint state represents success or failure for linting. + */ + state?: string | null; + /** + * Optional. Summary of all issue types and counts for each severity level. + */ + summary?: Schema$GoogleCloudApihubV1SummaryEntry[]; + } + /** + * The LintSpec method's request. + */ + export interface Schema$GoogleCloudApihubV1LintSpecRequest {} + /** + * The ListApiOperations method's response. + */ + export interface Schema$GoogleCloudApihubV1ListApiOperationsResponse { + /** + * The operations corresponding to an API version. + */ + apiOperations?: Schema$GoogleCloudApihubV1ApiOperation[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * The ListApis method's response. + */ + export interface Schema$GoogleCloudApihubV1ListApisResponse { + /** + * The API resources present in the API hub. + */ + apis?: Schema$GoogleCloudApihubV1Api[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * The ListAttributes method's response. + */ + export interface Schema$GoogleCloudApihubV1ListAttributesResponse { + /** + * The list of all attributes. + */ + attributes?: Schema$GoogleCloudApihubV1Attribute[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * The ListCurations method's response. + */ + export interface Schema$GoogleCloudApihubV1ListCurationsResponse { + /** + * The curation resources present in the API hub. + */ + curations?: Schema$GoogleCloudApihubV1Curation[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * The ListDependencies method's response. + */ + export interface Schema$GoogleCloudApihubV1ListDependenciesResponse { + /** + * The dependency resources present in the API hub. + */ + dependencies?: Schema$GoogleCloudApihubV1Dependency[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * The ListDeployments method's response. + */ + export interface Schema$GoogleCloudApihubV1ListDeploymentsResponse { + /** + * The deployment resources present in the API hub. + */ + deployments?: Schema$GoogleCloudApihubV1Deployment[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * The ListExternalApis method's response. + */ + export interface Schema$GoogleCloudApihubV1ListExternalApisResponse { + /** + * The External API resources present in the API hub. + */ + externalApis?: Schema$GoogleCloudApihubV1ExternalApi[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * The ListHostProjectRegistrations method's response. + */ + export interface Schema$GoogleCloudApihubV1ListHostProjectRegistrationsResponse { + /** + * The list of host project registrations. + */ + hostProjectRegistrations?: Schema$GoogleCloudApihubV1HostProjectRegistration[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * The ListPluginInstances method's response. + */ + export interface Schema$GoogleCloudApihubV1ListPluginInstancesResponse { + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * The plugin instances from the specified parent resource. + */ + pluginInstances?: Schema$GoogleCloudApihubV1PluginInstance[]; + } + /** + * The ListPlugins method's response. + */ + export interface Schema$GoogleCloudApihubV1ListPluginsResponse { + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * The plugins from the specified parent resource. + */ + plugins?: Schema$GoogleCloudApihubV1Plugin[]; + } + /** + * The ListRuntimeProjectAttachments method's response. + */ + export interface Schema$GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse { + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * List of runtime project attachments. + */ + runtimeProjectAttachments?: Schema$GoogleCloudApihubV1RuntimeProjectAttachment[]; + } + /** + * The ListSpecs method's response. + */ + export interface Schema$GoogleCloudApihubV1ListSpecsResponse { + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * The specs corresponding to an API Version. + */ + specs?: Schema$GoogleCloudApihubV1Spec[]; + } + /** + * The ListVersions method's response. + */ + export interface Schema$GoogleCloudApihubV1ListVersionsResponse { + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * The versions corresponding to an API. + */ + versions?: Schema$GoogleCloudApihubV1Version[]; + } + /** + * The LookupApiHubInstance method's response.` + */ + export interface Schema$GoogleCloudApihubV1LookupApiHubInstanceResponse { + /** + * API Hub instance for a project if it exists, empty otherwise. + */ + apiHubInstance?: Schema$GoogleCloudApihubV1ApiHubInstance; + } + /** + * The ListRuntimeProjectAttachments method's response. + */ + export interface Schema$GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse { + /** + * Runtime project attachment for a project if exists, empty otherwise. + */ + runtimeProjectAttachment?: Schema$GoogleCloudApihubV1RuntimeProjectAttachment; + } + /** + * The config variable value of data type multi int. + */ + export interface Schema$GoogleCloudApihubV1MultiIntValues { + /** + * Optional. The config variable value of data type multi int. + */ + values?: number[] | null; + } + /** + * The config variable value of data type multi select. + */ + export interface Schema$GoogleCloudApihubV1MultiSelectValues { + /** + * Optional. The config variable value of data type multi select. + */ + values?: Schema$GoogleCloudApihubV1ConfigValueOption[]; + } + /** + * The config variable value of data type multi string. + */ + export interface Schema$GoogleCloudApihubV1MultiStringValues { + /** + * Optional. The config variable value of data type multi string. + */ + values?: string[] | null; + } + /** + * Parameters to support Oauth 2.0 client credentials grant authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. + */ + export interface Schema$GoogleCloudApihubV1Oauth2ClientCredentialsConfig { + /** + * Required. The client identifier. + */ + clientId?: string | null; + /** + * Required. Secret version reference containing the client secret. The `secretmanager.versions.access` permission should be granted to the service account accessing the secret. + */ + clientSecret?: Schema$GoogleCloudApihubV1Secret; + } + /** + * OpenApiSpecDetails contains the details parsed from an OpenAPI spec in addition to the fields mentioned in SpecDetails. + */ + export interface Schema$GoogleCloudApihubV1OpenApiSpecDetails { + /** + * Output only. The format of the spec. + */ + format?: string | null; + /** + * Output only. Owner details for the spec. This maps to `info.contact` in OpenAPI spec. + */ + owner?: Schema$GoogleCloudApihubV1Owner; + /** + * Output only. The version in the spec. This maps to `info.version` in OpenAPI spec. + */ + version?: string | null; + } + /** + * The operation details parsed from the spec. + */ + export interface Schema$GoogleCloudApihubV1OperationDetails { + /** + * Optional. For OpenAPI spec, this will be set if `operation.deprecated`is marked as `true` in the spec. + */ + deprecated?: boolean | null; + /** + * Optional. Description of the operation behavior. For OpenAPI spec, this will map to `operation.description` in the spec, in case description is empty, `operation.summary` will be used. + */ + description?: string | null; + /** + * Optional. Additional external documentation for this operation. For OpenAPI spec, this will map to `operation.documentation` in the spec. + */ + documentation?: Schema$GoogleCloudApihubV1Documentation; + /** + * The HTTP Operation. + */ + httpOperation?: Schema$GoogleCloudApihubV1HttpOperation; + } + /** + * Represents the metadata of the long-running operation. + */ + export interface Schema$GoogleCloudApihubV1OperationMetadata { + /** + * Output only. API version used to start the operation. + */ + apiVersion?: string | null; + /** + * Output only. The time the operation was created. + */ + createTime?: string | null; + /** + * Output only. The time the operation finished running. + */ + endTime?: string | null; + /** + * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + */ + requestedCancellation?: boolean | null; + /** + * Output only. Human-readable status of the operation, if any. + */ + statusMessage?: string | null; + /** + * Output only. Server-defined resource path for the target of the operation. + */ + target?: string | null; + /** + * Output only. Name of the verb executed by the operation. + */ + verb?: string | null; + } + /** + * Owner details. + */ + export interface Schema$GoogleCloudApihubV1Owner { + /** + * Optional. The name of the owner. + */ + displayName?: string | null; + /** + * Required. The email of the owner. + */ + email?: string | null; + } + /** + * The path details derived from the spec. + */ + export interface Schema$GoogleCloudApihubV1Path { + /** + * Optional. A short description for the path applicable to all operations. + */ + description?: string | null; + /** + * Optional. Complete path relative to server endpoint. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided. + */ + path?: string | null; + } + /** + * A plugin resource in the API Hub. + */ + export interface Schema$GoogleCloudApihubV1Plugin { + /** + * Optional. The configuration of actions supported by the plugin. + */ + actionsConfig?: Schema$GoogleCloudApihubV1PluginActionConfig[]; + /** + * Optional. The configuration template for the plugin. + */ + configTemplate?: Schema$GoogleCloudApihubV1ConfigTemplate; + /** + * Output only. Timestamp indicating when the plugin was created. + */ + createTime?: string | null; + /** + * Optional. The plugin description. Max length is 2000 characters (Unicode code points). + */ + description?: string | null; + /** + * Required. The display name of the plugin. Max length is 50 characters (Unicode code points). + */ + displayName?: string | null; + /** + * Optional. The documentation of the plugin, that explains how to set up and use the plugin. + */ + documentation?: Schema$GoogleCloudApihubV1Documentation; + /** + * Optional. This field is optional. It is used to notify the plugin hosting service for any lifecycle changes of the plugin instance and trigger execution of plugin instance actions in case of API hub managed actions. This field should be provided if the plugin instance lifecycle of the developed plugin needs to be managed from API hub. Also, in this case the plugin hosting service interface needs to be implemented. This field should not be provided if the plugin wants to manage plugin instance lifecycle events outside of hub interface and use plugin framework for only registering of plugin and plugin instances to capture the source of data into hub. Note, in this case the plugin hosting service interface is not required to be implemented. Also, the plugin instance lifecycle actions will be disabled from API hub's UI. + */ + hostingService?: Schema$GoogleCloudApihubV1HostingService; + /** + * Identifier. The name of the plugin. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}` + */ + name?: string | null; + /** + * Output only. The type of the plugin, indicating whether it is 'SYSTEM_OWNED' or 'USER_OWNED'. + */ + ownershipType?: string | null; + /** + * Optional. The category of the plugin, identifying its primary category or purpose. This field is required for all plugins. + */ + pluginCategory?: string | null; + /** + * Output only. Represents the state of the plugin. Note this field will not be set for plugins developed via plugin framework as the state will be managed at plugin instance level. + */ + state?: string | null; + /** + * Optional. The type of the API. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-plugin-type` attribute. The number of allowed values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. Note this field is not required for plugins developed via plugin framework. + */ + type?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Output only. Timestamp indicating when the plugin was last updated. + */ + updateTime?: string | null; + } + /** + * PluginActionConfig represents the configuration of an action supported by a plugin. + */ + export interface Schema$GoogleCloudApihubV1PluginActionConfig { + /** + * Required. The description of the operation performed by the action. + */ + description?: string | null; + /** + * Required. The display name of the action. + */ + displayName?: string | null; + /** + * Required. The id of the action. + */ + id?: string | null; + /** + * Required. The trigger mode supported by the action. + */ + triggerMode?: string | null; + } + /** + * Represents a plugin instance resource in the API Hub. A PluginInstance is a specific instance of a hub plugin with its own configuration, state, and execution details. + */ + export interface Schema$GoogleCloudApihubV1PluginInstance { + /** + * Required. The action status for the plugin instance. + */ + actions?: Schema$GoogleCloudApihubV1PluginInstanceAction[]; + /** + * Optional. The additional information for this plugin instance corresponding to the additional config template of the plugin. This information will be sent to plugin hosting service on each call to plugin hosted service. The key will be the config_variable_template.display_name to uniquely identify the config variable. + */ + additionalConfig?: { + [key: string]: Schema$GoogleCloudApihubV1ConfigVariable; + } | null; + /** + * Optional. The authentication information for this plugin instance. + */ + authConfig?: Schema$GoogleCloudApihubV1AuthConfig; + /** + * Output only. Timestamp indicating when the plugin instance was created. + */ + createTime?: string | null; + /** + * Required. The display name for this plugin instance. Max length is 255 characters. + */ + displayName?: string | null; + /** + * Output only. Error message describing the failure, if any, during Create, Delete or ApplyConfig operation corresponding to the plugin instance.This field will only be populated if the plugin instance is in the ERROR or FAILED state. + */ + errorMessage?: string | null; + /** + * Identifier. The unique name of the plugin instance resource. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}/instances/{instance\}` + */ + name?: string | null; + /** + * Output only. The current state of the plugin instance (e.g., enabled, disabled, provisioning). + */ + state?: string | null; + /** + * Output only. Timestamp indicating when the plugin instance was last updated. + */ + updateTime?: string | null; + } + /** + * PluginInstanceAction represents an action which can be executed in the plugin instance. + */ + export interface Schema$GoogleCloudApihubV1PluginInstanceAction { + /** + * Required. This should map to one of the action id specified in actions_config in the plugin. + */ + actionId?: string | null; + /** + * Optional. This configuration should be provided if the plugin action is publishing data to API hub curate layer. + */ + curationConfig?: Schema$GoogleCloudApihubV1CurationConfig; + /** + * Optional. The execution information for the plugin instance action done corresponding to an API hub instance. + */ + hubInstanceAction?: Schema$GoogleCloudApihubV1ExecutionStatus; + /** + * Optional. The schedule for this plugin instance action. This can only be set if the plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action. + */ + scheduleCronExpression?: string | null; + /** + * Optional. The time zone for the schedule cron expression. If not provided, UTC will be used. + */ + scheduleTimeZone?: string | null; + /** + * Output only. The current state of the plugin action in the plugin instance. + */ + state?: string | null; + } + /** + * The plugin instance and associated action that is using the curation. + */ + export interface Schema$GoogleCloudApihubV1PluginInstanceActionID { + /** + * Output only. The action ID that is using the curation. This should map to one of the action IDs specified in action configs in the plugin. + */ + actionId?: string | null; + /** + * Output only. Plugin instance that is using the curation. Format is `projects/{project\}/locations/{location\}/plugins/{plugin\}/instances/{instance\}` + */ + pluginInstance?: string | null; + } + /** + * PluginInstanceActionSource represents the plugin instance action source. + */ + export interface Schema$GoogleCloudApihubV1PluginInstanceActionSource { + /** + * Output only. The id of the plugin instance action. + */ + actionId?: string | null; + /** + * Output only. The resource name of the source plugin instance. Format is `projects/{project\}/locations/{location\}/plugins/{plugin\}/instances/{instance\}` + */ + pluginInstance?: string | null; + } + /** + * Point within the file (line and character). + */ + export interface Schema$GoogleCloudApihubV1Point { + /** + * Required. Character position within the line (zero-indexed). + */ + character?: number | null; + /** + * Required. Line number (zero-indexed). + */ + line?: number | null; + } + /** + * Object describing where in the file the issue was found. + */ + export interface Schema$GoogleCloudApihubV1Range { + /** + * Required. End of the issue. + */ + end?: Schema$GoogleCloudApihubV1Point; + /** + * Required. Start of the issue. + */ + start?: Schema$GoogleCloudApihubV1Point; + } + /** + * Runtime project attachment represents an attachment from the runtime project to the host project. Api Hub looks for deployments in the attached runtime projects and creates corresponding resources in Api Hub for the discovered deployments. + */ + export interface Schema$GoogleCloudApihubV1RuntimeProjectAttachment { + /** + * Output only. Create time. + */ + createTime?: string | null; + /** + * Identifier. The resource name of a runtime project attachment. Format: "projects/{project\}/locations/{location\}/runtimeProjectAttachments/{runtime_project_attachment\}". + */ + name?: string | null; + /** + * Required. Immutable. Google cloud project name in the format: "projects/abc" or "projects/123". As input, project name with either project id or number are accepted. As output, this field will contain project number. + */ + runtimeProject?: string | null; + } + /** + * The schema details derived from the spec. Currently, this entity is supported for OpenAPI spec only. For OpenAPI spec, this maps to the schema defined in the `definitions` section for OpenAPI 2.0 version and in `components.schemas` section for OpenAPI 3.0 and 3.1 version. + */ + export interface Schema$GoogleCloudApihubV1Schema { + /** + * Output only. The display name of the schema. This will map to the name of the schema in the spec. + */ + displayName?: string | null; + /** + * Output only. The raw value of the schema definition corresponding to the schema name in the spec. + */ + rawValue?: string | null; + } + /** + * The SearchResources method's request. + */ + export interface Schema$GoogleCloudApihubV1SearchResourcesRequest { + /** + * Optional. An expression that filters the list of search results. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`. Filters are not case sensitive. The following field names are eligible for filtering: * `resource_type` - The type of resource in the search results. Must be one of the following: `Api`, `ApiOperation`, `Deployment`, `Definition`, `Spec` or `Version`. This field can only be specified once in the filter. Here are is an example: * `resource_type = Api` - The resource_type is _Api_. + */ + filter?: string | null; + /** + * Optional. The maximum number of search results to return. The service may return fewer than this value. If unspecified at most 10 search results will be returned. If value is negative then `INVALID_ARGUMENT` error is returned. The maximum value is 25; values above 25 will be coerced to 25. While paginating, you can specify a new page size parameter for each page of search results to be listed. + */ + pageSize?: number | null; + /** + * Optional. A page token, received from a previous SearchResources call. Specify this parameter to retrieve the next page of transactions. When paginating, you must specify the `page_token` parameter and all the other parameters except page_size should be specified with the same value which was used in the previous call. If the other fields are set with a different value than the previous call then `INVALID_ARGUMENT` error is returned. + */ + pageToken?: string | null; + /** + * Required. The free text search query. This query can contain keywords which could be related to any detail of the API-Hub resources such display names, descriptions, attributes etc. + */ + query?: string | null; + } + /** + * Response for the SearchResources method. + */ + export interface Schema$GoogleCloudApihubV1SearchResourcesResponse { + /** + * Pass this token in the SearchResourcesRequest to continue to list results. If all results have been returned, this field is an empty string or not present in the response. + */ + nextPageToken?: string | null; + /** + * List of search results according to the filter and search query specified. The order of search results represents the ranking. + */ + searchResults?: Schema$GoogleCloudApihubV1SearchResult[]; + } + /** + * Represents the search results. + */ + export interface Schema$GoogleCloudApihubV1SearchResult { + /** + * This represents the ApiHubResource. Note: Only selected fields of the resources are populated in response. + */ + resource?: Schema$GoogleCloudApihubV1ApiHubResource; + } + /** + * Secret provides a reference to entries in Secret Manager. + */ + export interface Schema$GoogleCloudApihubV1Secret { + /** + * Required. The resource name of the secret version in the format, format as: `projects/x/secrets/x/versions/x`. + */ + secretVersion?: string | null; + } + /** + * SourceMetadata represents the metadata for a resource at the source. + */ + export interface Schema$GoogleCloudApihubV1SourceMetadata { + /** + * Output only. The time at which the resource was created at the source. + */ + originalResourceCreateTime?: string | null; + /** + * Output only. The unique identifier of the resource at the source. + */ + originalResourceId?: string | null; + /** + * Output only. The time at which the resource was last updated at the source. + */ + originalResourceUpdateTime?: string | null; + /** + * Output only. The source of the resource is a plugin instance action. + */ + pluginInstanceActionSource?: Schema$GoogleCloudApihubV1PluginInstanceActionSource; + /** + * Output only. The type of the source. + */ + sourceType?: string | null; + } + /** + * Represents a spec associated with an API version in the API Hub. Note that specs of various types can be uploaded, however parsing of details is supported for OpenAPI spec currently. + */ + export interface Schema$GoogleCloudApihubV1Spec { + /** + * Optional. The list of user defined attributes associated with the spec. The key is the attribute name. It will be of the format: `projects/{project\}/locations/{location\}/attributes/{attribute\}`. The value is the attribute values associated with the resource. + */ + attributes?: { + [key: string]: Schema$GoogleCloudApihubV1AttributeValues; + } | null; + /** + * Optional. Input only. The contents of the uploaded spec. + */ + contents?: Schema$GoogleCloudApihubV1SpecContents; + /** + * Output only. The time at which the spec was created. + */ + createTime?: string | null; + /** + * Output only. Details parsed from the spec. + */ + details?: Schema$GoogleCloudApihubV1SpecDetails; + /** + * Required. The display name of the spec. This can contain the file name of the spec. + */ + displayName?: string | null; + /** + * Optional. The documentation of the spec. For OpenAPI spec, this will be populated from `externalDocs` in OpenAPI spec. + */ + documentation?: Schema$GoogleCloudApihubV1Documentation; + /** + * Optional. The lint response for the spec. + */ + lintResponse?: Schema$GoogleCloudApihubV1LintResponse; + /** + * Identifier. The name of the spec. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/specs/{spec\}` + */ + name?: string | null; + /** + * Optional. Input only. Enum specifying the parsing mode for OpenAPI Specification (OAS) parsing. + */ + parsingMode?: string | null; + /** + * Output only. The list of sources and metadata from the sources of the spec. + */ + sourceMetadata?: Schema$GoogleCloudApihubV1SourceMetadata[]; + /** + * Optional. The URI of the spec source in case file is uploaded from an external version control system. + */ + sourceUri?: string | null; + /** + * Required. The type of spec. The value should be one of the allowed values defined for `projects/{project\}/locations/{location\}/attributes/system-spec-type` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. Note, this field is mandatory if content is provided. + */ + specType?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Output only. The time at which the spec was last updated. + */ + updateTime?: string | null; + } + /** + * The spec contents. + */ + export interface Schema$GoogleCloudApihubV1SpecContents { + /** + * Required. The contents of the spec. + */ + contents?: string | null; + /** + * Required. The mime type of the content for example application/json, application/yaml, application/wsdl etc. + */ + mimeType?: string | null; + } + /** + * SpecDetails contains the details parsed from supported spec types. + */ + export interface Schema$GoogleCloudApihubV1SpecDetails { + /** + * Output only. The description of the spec. + */ + description?: string | null; + /** + * Output only. Additional details apart from `OperationDetails` parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method. + */ + openApiSpecDetails?: Schema$GoogleCloudApihubV1OpenApiSpecDetails; + } + /** + * The metadata associated with a spec of the API version. + */ + export interface Schema$GoogleCloudApihubV1SpecMetadata { + /** + * Optional. Timestamp indicating when the spec was created at the source. + */ + originalCreateTime?: string | null; + /** + * Optional. The unique identifier of the spec in the system where it was originally created. + */ + originalId?: string | null; + /** + * Required. Timestamp indicating when the spec was last updated at the source. + */ + originalUpdateTime?: string | null; + /** + * Required. The spec resource to be pushed to Hub's collect layer. The ID of the spec will be generated by Hub. + */ + spec?: Schema$GoogleCloudApihubV1Spec; + } + /** + * The attribute values of data type string or JSON. + */ + export interface Schema$GoogleCloudApihubV1StringAttributeValues { + /** + * Required. The attribute values in case attribute data type is string or JSON. + */ + values?: string[] | null; + } + /** + * Represents a singleton style guide resource to be used for linting Open API specs. + */ + export interface Schema$GoogleCloudApihubV1StyleGuide { + /** + * Required. Input only. The contents of the uploaded style guide. + */ + contents?: Schema$GoogleCloudApihubV1StyleGuideContents; + /** + * Required. Target linter for the style guide. + */ + linter?: string | null; + /** + * Identifier. The name of the style guide. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}/styleGuide` + */ + name?: string | null; + } + /** + * The style guide contents. + */ + export interface Schema$GoogleCloudApihubV1StyleGuideContents { + /** + * Required. The contents of the style guide. + */ + contents?: string | null; + /** + * Required. The mime type of the content. + */ + mimeType?: string | null; + } + /** + * Count of issues with a given severity. + */ + export interface Schema$GoogleCloudApihubV1SummaryEntry { + /** + * Required. Count of issues with the given severity. + */ + count?: number | null; + /** + * Required. Severity of the issue. + */ + severity?: string | null; + } + /** + * Parameters to support Username and Password Authentication. + */ + export interface Schema$GoogleCloudApihubV1UserPasswordConfig { + /** + * Required. Secret version reference containing the password. The `secretmanager.versions.access` permission should be granted to the service account accessing the secret. + */ + password?: Schema$GoogleCloudApihubV1Secret; + /** + * Required. Username. + */ + username?: string | null; + } + /** + * Represents a version of the API resource in API hub. This is also referred to as the API version. + */ + export interface Schema$GoogleCloudApihubV1Version { + /** + * Optional. The accreditations associated with the API version. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-accreditation` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. + */ + accreditation?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Output only. The operations contained in the API version. These operations will be added to the version when a new spec is added or when an existing spec is updated. Format is `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/operations/{operation\}` + */ + apiOperations?: string[] | null; + /** + * Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project\}/locations/{location\}/attributes/{attribute\}`. The value is the attribute values associated with the resource. + */ + attributes?: { + [key: string]: Schema$GoogleCloudApihubV1AttributeValues; + } | null; + /** + * Optional. The compliance associated with the API version. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-compliance` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. + */ + compliance?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Output only. The time at which the version was created. + */ + createTime?: string | null; + /** + * Output only. The definitions contained in the API version. These definitions will be added to the version when a new spec is added or when an existing spec is updated. Format is `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/definitions/{definition\}` + */ + definitions?: string[] | null; + /** + * Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc) Format is `projects/{project\}/locations/{location\}/deployments/{deployment\}` + */ + deployments?: string[] | null; + /** + * Optional. The description of the version. + */ + description?: string | null; + /** + * Required. The display name of the version. + */ + displayName?: string | null; + /** + * Optional. The documentation of the version. + */ + documentation?: Schema$GoogleCloudApihubV1Documentation; + /** + * Optional. The lifecycle of the API version. This maps to the following system defined attribute: `projects/{project\}/locations/{location\}/attributes/system-lifecycle` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. + */ + lifecycle?: Schema$GoogleCloudApihubV1AttributeValues; + /** + * Identifier. The name of the version. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}` + */ + name?: string | null; + /** + * Optional. The selected deployment for a Version resource. This can be used when special handling is needed on client side for a particular deployment linked to the version. Format is `projects/{project\}/locations/{location\}/deployments/{deployment\}` + */ + selectedDeployment?: string | null; + /** + * Output only. The list of sources and metadata from the sources of the version. + */ + sourceMetadata?: Schema$GoogleCloudApihubV1SourceMetadata[]; + /** + * Output only. The specs associated with this version. Note that an API version can be associated with multiple specs. Format is `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/specs/{spec\}` + */ + specs?: string[] | null; + /** + * Output only. The time at which the version was last updated. + */ + updateTime?: string | null; + } + /** + * The metadata associated with a version of the API resource. + */ + export interface Schema$GoogleCloudApihubV1VersionMetadata { + /** + * Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc.) + */ + deployments?: Schema$GoogleCloudApihubV1DeploymentMetadata[]; + /** + * Optional. Timestamp indicating when the version was created at the source. + */ + originalCreateTime?: string | null; + /** + * Optional. The unique identifier of the version in the system where it was originally created. + */ + originalId?: string | null; + /** + * Required. Timestamp indicating when the version was last updated at the source. + */ + originalUpdateTime?: string | null; + /** + * Optional. The specs associated with this version. Note that an API version can be associated with multiple specs. + */ + specs?: Schema$GoogleCloudApihubV1SpecMetadata[]; + /** + * Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub. + */ + version?: Schema$GoogleCloudApihubV1Version; + } + /** + * Represents the metadata of the long-running operation. + */ + export interface Schema$GoogleCloudCommonOperationMetadata { + /** + * Output only. API version used to start the operation. + */ + apiVersion?: string | null; + /** + * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. + */ + cancelRequested?: boolean | null; + /** + * Output only. The time the operation was created. + */ + createTime?: string | null; + /** + * Output only. The time the operation finished running. + */ + endTime?: string | null; + /** + * Output only. Human-readable status of the operation, if any. + */ + statusDetail?: string | null; + /** + * Output only. Server-defined resource path for the target of the operation. + */ + target?: string | null; + /** + * Output only. Name of the verb executed by the operation. + */ + verb?: string | null; + } + /** + * The response message for Locations.ListLocations. + */ + export interface Schema$GoogleCloudLocationListLocationsResponse { + /** + * A list of locations that matches the specified filter in the request. + */ + locations?: Schema$GoogleCloudLocationLocation[]; + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + } + /** + * A resource that represents a Google Cloud location. + */ + export interface Schema$GoogleCloudLocationLocation { + /** + * The friendly name for this location, typically a nearby city name. For example, "Tokyo". + */ + displayName?: string | null; + /** + * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\} + */ + labels?: {[key: string]: string} | null; + /** + * The canonical id for this location. For example: `"us-east1"`. + */ + locationId?: string | null; + /** + * Service-specific metadata. For example the available capacity at the given location. + */ + metadata?: {[key: string]: any} | null; + /** + * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` + */ + name?: string | null; + } + /** + * The request message for Operations.CancelOperation. + */ + export interface Schema$GoogleLongrunningCancelOperationRequest {} + /** + * The response message for Operations.ListOperations. + */ + export interface Schema$GoogleLongrunningListOperationsResponse { + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + /** + * A list of operations that matches the specified filter in the request. + */ + operations?: Schema$GoogleLongrunningOperation[]; + } + /** + * This resource represents a long-running operation that is the result of a network API call. + */ + export interface Schema$GoogleLongrunningOperation { + /** + * If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + */ + done?: boolean | null; + /** + * The error result of the operation in case of failure or cancellation. + */ + error?: Schema$GoogleRpcStatus; + /** + * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + */ + metadata?: {[key: string]: any} | null; + /** + * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`. + */ + name?: string | null; + /** + * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + */ + response?: {[key: string]: any} | null; + } + /** + * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). + */ + export interface Schema$GoogleRpcStatus { + /** + * The status code, which should be an enum value of google.rpc.Code. + */ + code?: number | null; + /** + * A list of messages that carry the error details. There is a common set of message types for APIs to use. + */ + details?: Array<{[key: string]: any}> | null; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + */ + message?: string | null; + } + + export class Resource$Projects { + context: APIRequestContext; + locations: Resource$Projects$Locations; + constructor(context: APIRequestContext) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + + export class Resource$Projects$Locations { + context: APIRequestContext; + apiHubInstances: Resource$Projects$Locations$Apihubinstances; + apis: Resource$Projects$Locations$Apis; + attributes: Resource$Projects$Locations$Attributes; + curations: Resource$Projects$Locations$Curations; + dependencies: Resource$Projects$Locations$Dependencies; + deployments: Resource$Projects$Locations$Deployments; + externalApis: Resource$Projects$Locations$Externalapis; + hostProjectRegistrations: Resource$Projects$Locations$Hostprojectregistrations; + operations: Resource$Projects$Locations$Operations; + plugins: Resource$Projects$Locations$Plugins; + runtimeProjectAttachments: Resource$Projects$Locations$Runtimeprojectattachments; + constructor(context: APIRequestContext) { + this.context = context; + this.apiHubInstances = new Resource$Projects$Locations$Apihubinstances( + this.context + ); + this.apis = new Resource$Projects$Locations$Apis(this.context); + this.attributes = new Resource$Projects$Locations$Attributes( + this.context + ); + this.curations = new Resource$Projects$Locations$Curations(this.context); + this.dependencies = new Resource$Projects$Locations$Dependencies( + this.context + ); + this.deployments = new Resource$Projects$Locations$Deployments( + this.context + ); + this.externalApis = new Resource$Projects$Locations$Externalapis( + this.context + ); + this.hostProjectRegistrations = + new Resource$Projects$Locations$Hostprojectregistrations(this.context); + this.operations = new Resource$Projects$Locations$Operations( + this.context + ); + this.plugins = new Resource$Projects$Locations$Plugins(this.context); + this.runtimeProjectAttachments = + new Resource$Projects$Locations$Runtimeprojectattachments(this.context); + } + + /** + * Collect API data from a source and push it to Hub's collect layer. + * + * @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. + */ + collectApiData( + params: Params$Resource$Projects$Locations$Collectapidata, + options: StreamMethodOptions + ): Promise>; + collectApiData( + params?: Params$Resource$Projects$Locations$Collectapidata, + options?: MethodOptions + ): Promise>; + collectApiData( + params: Params$Resource$Projects$Locations$Collectapidata, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + collectApiData( + params: Params$Resource$Projects$Locations$Collectapidata, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + collectApiData( + params: Params$Resource$Projects$Locations$Collectapidata, + callback: BodyResponseCallback + ): void; + collectApiData( + callback: BodyResponseCallback + ): void; + collectApiData( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Collectapidata + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Collectapidata; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Collectapidata; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+location}:collectApiData').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['location'], + pathParams: ['location'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets information about a location. + * + * @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$Projects$Locations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists information about the supported locations for this service. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}/locations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Look up a runtime project attachment. This API can be called in the context of any project. + * + * @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. + */ + lookupRuntimeProjectAttachment( + params: Params$Resource$Projects$Locations$Lookupruntimeprojectattachment, + options: StreamMethodOptions + ): Promise>; + lookupRuntimeProjectAttachment( + params?: Params$Resource$Projects$Locations$Lookupruntimeprojectattachment, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + lookupRuntimeProjectAttachment( + params: Params$Resource$Projects$Locations$Lookupruntimeprojectattachment, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + lookupRuntimeProjectAttachment( + params: Params$Resource$Projects$Locations$Lookupruntimeprojectattachment, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + lookupRuntimeProjectAttachment( + params: Params$Resource$Projects$Locations$Lookupruntimeprojectattachment, + callback: BodyResponseCallback + ): void; + lookupRuntimeProjectAttachment( + callback: BodyResponseCallback + ): void; + lookupRuntimeProjectAttachment( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Lookupruntimeprojectattachment + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Lookupruntimeprojectattachment; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Lookupruntimeprojectattachment; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+name}:lookupRuntimeProjectAttachment' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Search across API-Hub resources. + * + * @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. + */ + searchResources( + params: Params$Resource$Projects$Locations$Searchresources, + options: StreamMethodOptions + ): Promise>; + searchResources( + params?: Params$Resource$Projects$Locations$Searchresources, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + searchResources( + params: Params$Resource$Projects$Locations$Searchresources, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + searchResources( + params: Params$Resource$Projects$Locations$Searchresources, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + searchResources( + params: Params$Resource$Projects$Locations$Searchresources, + callback: BodyResponseCallback + ): void; + searchResources( + callback: BodyResponseCallback + ): void; + searchResources( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Searchresources + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Searchresources; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Searchresources; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+location}:searchResources').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['location'], + pathParams: ['location'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Collectapidata + extends StandardParameters { + /** + * Required. The regional location of the API hub instance and its resources. Format: `projects/{project\}/locations/{location\}` + */ + location?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1CollectApiDataRequest; + } + export interface Params$Resource$Projects$Locations$Get + extends StandardParameters { + /** + * Resource name for the location. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$List + extends StandardParameters { + /** + * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. + */ + extraLocationTypes?: string[]; + /** + * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + */ + filter?: string; + /** + * The resource that owns the locations collection, if applicable. + */ + name?: string; + /** + * The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + } + export interface Params$Resource$Projects$Locations$Lookupruntimeprojectattachment + extends StandardParameters { + /** + * Required. Runtime project ID to look up runtime project attachment for. Lookup happens across all regions. Expected format: `projects/{project\}/locations/{location\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Searchresources + extends StandardParameters { + /** + * Required. The resource name of the location which will be of the type `projects/{project_id\}/locations/{location_id\}`. This field is used to identify the instance of API-Hub in which resources should be searched. + */ + location?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1SearchResourcesRequest; + } + + export class Resource$Projects$Locations$Apihubinstances { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Provisions instance resources for the API Hub. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Apihubinstances$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Apihubinstances$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Apihubinstances$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Apihubinstances$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Apihubinstances$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apihubinstances$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apihubinstances$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apihubinstances$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/apiHubInstances').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes the API hub instance. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Apihubinstances$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Apihubinstances$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Apihubinstances$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Apihubinstances$Delete, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Apihubinstances$Delete, + callback: BodyResponseCallback + ): void; + delete( + callback: BodyResponseCallback + ): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apihubinstances$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apihubinstances$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apihubinstances$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets details of a single API Hub instance. + * + * @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$Projects$Locations$Apihubinstances$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Apihubinstances$Get, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Apihubinstances$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apihubinstances$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apihubinstances$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apihubinstances$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apihubinstances$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apihubinstances$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Looks up an Api Hub instance in a given GCP project. There will always be only one Api Hub instance for a GCP project across all locations. + * + * @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. + */ + lookup( + params: Params$Resource$Projects$Locations$Apihubinstances$Lookup, + options: StreamMethodOptions + ): Promise>; + lookup( + params?: Params$Resource$Projects$Locations$Apihubinstances$Lookup, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + lookup( + params: Params$Resource$Projects$Locations$Apihubinstances$Lookup, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + lookup( + params: Params$Resource$Projects$Locations$Apihubinstances$Lookup, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + lookup( + params: Params$Resource$Projects$Locations$Apihubinstances$Lookup, + callback: BodyResponseCallback + ): void; + lookup( + callback: BodyResponseCallback + ): void; + lookup( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apihubinstances$Lookup + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apihubinstances$Lookup; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apihubinstances$Lookup; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/apiHubInstances:lookup').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Apihubinstances$Create + extends StandardParameters { + /** + * Optional. Identifier to assign to the Api Hub instance. Must be unique within scope of the parent resource. If the field is not provided, system generated id will be used. This value should be 4-40 characters, and valid characters are `/a-z[0-9]-_/`. + */ + apiHubInstanceId?: string; + /** + * Required. The parent resource for the Api Hub instance resource. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1ApiHubInstance; + } + export interface Params$Resource$Projects$Locations$Apihubinstances$Delete + extends StandardParameters { + /** + * Required. The name of the Api Hub instance to delete. Format: `projects/{project\}/locations/{location\}/apiHubInstances/{apiHubInstance\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Apihubinstances$Get + extends StandardParameters { + /** + * Required. The name of the Api Hub instance to retrieve. Format: `projects/{project\}/locations/{location\}/apiHubInstances/{apiHubInstance\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Apihubinstances$Lookup + extends StandardParameters { + /** + * Required. There will always be only one Api Hub instance for a GCP project across all locations. The parent resource for the Api Hub instance resource. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + } + + export class Resource$Projects$Locations$Apis { + context: APIRequestContext; + versions: Resource$Projects$Locations$Apis$Versions; + constructor(context: APIRequestContext) { + this.context = context; + this.versions = new Resource$Projects$Locations$Apis$Versions( + this.context + ); + } + + /** + * Create an API resource in the API hub. Once an API resource is created, versions can be added to it. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Apis$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Apis$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Apis$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Apis$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Apis$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apis$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/apis').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Delete an API resource in the API hub. API can only be deleted if all underlying versions are deleted. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Apis$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Apis$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Apis$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Apis$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Apis$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apis$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get API resource details including the API versions contained in it. + * + * @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$Projects$Locations$Apis$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Apis$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Apis$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apis$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apis$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apis$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * List API resources in the API hub. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Apis$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Apis$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Apis$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Apis$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Apis$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apis$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/apis').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Update an API resource in the API hub. The following fields in the API can be updated: * display_name * description * owner * documentation * target_user * team * business_unit * maturity_level * api_style * attributes The update_mask should be used to specify the fields being updated. Updating the owner field requires complete owner message and updates both owner and email fields. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Apis$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Apis$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Apis$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Apis$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Apis$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apis$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Apis$Create + extends StandardParameters { + /** + * Optional. The ID to use for the API resource, which will become the final component of the API's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another API resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/. + */ + apiId?: string; + /** + * Required. The parent resource for the API resource. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Api; + } + export interface Params$Resource$Projects$Locations$Apis$Delete + extends StandardParameters { + /** + * Optional. If set to true, any versions from this API will also be deleted. Otherwise, the request will only work if the API has no versions. + */ + force?: boolean; + /** + * Required. The name of the API resource to delete. Format: `projects/{project\}/locations/{location\}/apis/{api\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Get + extends StandardParameters { + /** + * Required. The name of the API resource to retrieve. Format: `projects/{project\}/locations/{location\}/apis/{api\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Apis$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of ApiResources. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `\>`, `:` or `=`. Filters are not case sensitive. The following fields in the `ApiResource` are eligible for filtering: * `owner.email` - The email of the team which owns the ApiResource. Allowed comparison operators: `=`. * `create_time` - The time at which the ApiResource was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `\>` and `<`. * `display_name` - The display name of the ApiResource. Allowed comparison operators: `=`. * `target_user.enum_values.values.id` - The allowed value id of the target users attribute associated with the ApiResource. Allowed comparison operator is `:`. * `target_user.enum_values.values.display_name` - The allowed value display name of the target users attribute associated with the ApiResource. Allowed comparison operator is `:`. * `team.enum_values.values.id` - The allowed value id of the team attribute associated with the ApiResource. Allowed comparison operator is `:`. * `team.enum_values.values.display_name` - The allowed value display name of the team attribute associated with the ApiResource. Allowed comparison operator is `:`. * `business_unit.enum_values.values.id` - The allowed value id of the business unit attribute associated with the ApiResource. Allowed comparison operator is `:`. * `business_unit.enum_values.values.display_name` - The allowed value display name of the business unit attribute associated with the ApiResource. Allowed comparison operator is `:`. * `maturity_level.enum_values.values.id` - The allowed value id of the maturity level attribute associated with the ApiResource. Allowed comparison operator is `:`. * `maturity_level.enum_values.values.display_name` - The allowed value display name of the maturity level attribute associated with the ApiResource. Allowed comparison operator is `:`. * `api_style.enum_values.values.id` - The allowed value id of the api style attribute associated with the ApiResource. Allowed comparison operator is `:`. * `api_style.enum_values.values.display_name` - The allowed value display name of the api style attribute associated with the ApiResource. Allowed comparison operator is `:`. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.id` - The allowed value id of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a placeholder that can be replaced with any user defined enum attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.display_name` - The allowed value display name of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-display-name is a placeholder that can be replaced with any user defined enum attribute enum name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.string_values.values` - The allowed value of the user defined string attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-string is a placeholder that can be replaced with any user defined string attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.json_values.values` - The allowed value of the user defined JSON attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-json is a placeholder that can be replaced with any user defined JSON attribute name. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `owner.email = \"apihub@google.com\"` - - The owner team email is _apihub@google.com_. * `owner.email = \"apihub@google.com\" AND create_time < \"2021-08-15T14:50:00Z\" AND create_time \> \"2021-08-10T12:00:00Z\"` - The owner team email is _apihub@google.com_ and the api was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `owner.email = \"apihub@google.com\" OR team.enum_values.values.id: apihub-team-id` - The filter string specifies the APIs where the owner team email is _apihub@google.com_ or the id of the allowed value associated with the team attribute is _apihub-team-id_. * `owner.email = \"apihub@google.com\" OR team.enum_values.values.display_name: ApiHub Team` - The filter string specifies the APIs where the owner team email is _apihub@google.com_ or the display name of the allowed value associated with the team attribute is `ApiHub Team`. * `owner.email = \"apihub@google.com\" AND attributes.projects/test-project-id/locations/test-location-id/ attributes/17650f90-4a29-4971-b3c0-d5532da3764b.enum_values.values.id: test_enum_id AND attributes.projects/test-project-id/locations/test-location-id/ attributes/1765\0f90-4a29-5431-b3d0-d5532da3764c.string_values.values: test_string_value` - The filter string specifies the APIs where the owner team email is _apihub@google.com_ and the id of the allowed value associated with the user defined attribute of type enum is _test_enum_id_ and the value of the user defined attribute of type string is _test_.. + */ + filter?: string; + /** + * Optional. The maximum number of API resources to return. The service may return fewer than this value. If unspecified, at most 50 Apis will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListApis` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListApis` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of API resources. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Patch + extends StandardParameters { + /** + * Identifier. The name of the API resource in the API Hub. Format: `projects/{project\}/locations/{location\}/apis/{api\}` + */ + name?: string; + /** + * Required. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Api; + } + + export class Resource$Projects$Locations$Apis$Versions { + context: APIRequestContext; + definitions: Resource$Projects$Locations$Apis$Versions$Definitions; + operations: Resource$Projects$Locations$Apis$Versions$Operations; + specs: Resource$Projects$Locations$Apis$Versions$Specs; + constructor(context: APIRequestContext) { + this.context = context; + this.definitions = + new Resource$Projects$Locations$Apis$Versions$Definitions(this.context); + this.operations = + new Resource$Projects$Locations$Apis$Versions$Operations(this.context); + this.specs = new Resource$Projects$Locations$Apis$Versions$Specs( + this.context + ); + } + + /** + * Create an API version for an API resource in the API hub. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Apis$Versions$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apis$Versions$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/versions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Delete an API version. Version can only be deleted if all underlying specs, operations, definitions and linked deployments are deleted. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Apis$Versions$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apis$Versions$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get details about the API version of an API resource. This will include information about the specs and operations present in the API version as well as the deployments linked to it. + * + * @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$Projects$Locations$Apis$Versions$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Apis$Versions$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apis$Versions$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * List API versions of an API resource in the API hub. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Apis$Versions$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Apis$Versions$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Apis$Versions$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Apis$Versions$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Apis$Versions$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apis$Versions$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/versions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Update API version. The following fields in the version can be updated currently: * display_name * description * documentation * deployments * lifecycle * compliance * accreditation * attributes The update_mask should be used to specify the fields being updated. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Apis$Versions$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apis$Versions$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Apis$Versions$Create + extends StandardParameters { + /** + * Required. The parent resource for API version. Format: `projects/{project\}/locations/{location\}/apis/{api\}` + */ + parent?: string; + /** + * Optional. The ID to use for the API version, which will become the final component of the version's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another version in the API resource. * If not provided, a system generated id will be used. This value should be 4-500 characters, overall resource name which will be of format `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}`, its length is limited to 700 characters and valid characters are /a-z[0-9]-_/. + */ + versionId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Version; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Delete + extends StandardParameters { + /** + * Optional. If set to true, any specs from this version will also be deleted. Otherwise, the request will only work if the version has no specs. + */ + force?: boolean; + /** + * Required. The name of the version to delete. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Get + extends StandardParameters { + /** + * Required. The name of the API version to retrieve. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of Versions. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `\>` or `=`. Filters are not case sensitive. The following fields in the `Version` are eligible for filtering: * `display_name` - The display name of the Version. Allowed comparison operators: `=`. * `create_time` - The time at which the Version was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `\>` and `<`. * `lifecycle.enum_values.values.id` - The allowed value id of the lifecycle attribute associated with the Version. Allowed comparison operators: `:`. * `lifecycle.enum_values.values.display_name` - The allowed value display name of the lifecycle attribute associated with the Version. Allowed comparison operators: `:`. * `compliance.enum_values.values.id` - The allowed value id of the compliances attribute associated with the Version. Allowed comparison operators: `:`. * `compliance.enum_values.values.display_name` - The allowed value display name of the compliances attribute associated with the Version. Allowed comparison operators: `:`. * `accreditation.enum_values.values.id` - The allowed value id of the accreditations attribute associated with the Version. Allowed comparison operators: `:`. * `accreditation.enum_values.values.display_name` - The allowed value display name of the accreditations attribute associated with the Version. Allowed comparison operators: `:`. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.id` - The allowed value id of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a placeholder that can be replaced with any user defined enum attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.display_name` - The allowed value display name of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-display-name is a placeholder that can be replaced with any user defined enum attribute enum name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.string_values.values` - The allowed value of the user defined string attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-string is a placeholder that can be replaced with any user defined string attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.json_values.values` - The allowed value of the user defined JSON attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-json is a placeholder that can be replaced with any user defined JSON attribute name. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `lifecycle.enum_values.values.id: preview-id` - The filter string specifies that the id of the allowed value associated with the lifecycle attribute of the Version is _preview-id_. * `lifecycle.enum_values.values.display_name: \"Preview Display Name\"` - The filter string specifies that the display name of the allowed value associated with the lifecycle attribute of the Version is `Preview Display Name`. * `lifecycle.enum_values.values.id: preview-id AND create_time < \"2021-08-15T14:50:00Z\" AND create_time \> \"2021-08-10T12:00:00Z\"` - The id of the allowed value associated with the lifecycle attribute of the Version is _preview-id_ and it was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `compliance.enum_values.values.id: gdpr-id OR compliance.enum_values.values.id: pci-dss-id` - The id of the allowed value associated with the compliance attribute is _gdpr-id_ or _pci-dss-id_. * `lifecycle.enum_values.values.id: preview-id AND attributes.projects/test-project-id/locations/test-location-id/ attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values: test` - The filter string specifies that the id of the allowed value associated with the lifecycle attribute of the Version is _preview-id_ and the value of the user defined attribute of type string is _test_. + */ + filter?: string; + /** + * Optional. The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListVersions` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent which owns this collection of API versions i.e., the API resource Format: `projects/{project\}/locations/{location\}/apis/{api\}` + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Patch + extends StandardParameters { + /** + * Identifier. The name of the version. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}` + */ + name?: string; + /** + * Required. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Version; + } + + export class Resource$Projects$Locations$Apis$Versions$Definitions { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Get details about a definition in an API version. + * + * @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$Projects$Locations$Apis$Versions$Definitions$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Apis$Versions$Definitions$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Definitions$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Definitions$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Definitions$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Definitions$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Definitions$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Definitions$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Apis$Versions$Definitions$Get + extends StandardParameters { + /** + * Required. The name of the definition to retrieve. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/definitions/{definition\}` + */ + name?: string; + } + + export class Resource$Projects$Locations$Apis$Versions$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Create an apiOperation in an API version. An apiOperation can be created only if the version has no apiOperations which were created by parsing a spec. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Apis$Versions$Operations$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Operations$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Operations$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Operations$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/operations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Delete an operation in an API version and we can delete only the operations created via create API. If the operation was created by parsing the spec, then it can be deleted by editing or deleting the spec. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Apis$Versions$Operations$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Operations$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Operations$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Operations$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get details about a particular operation in API version. + * + * @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$Projects$Locations$Apis$Versions$Operations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Apis$Versions$Operations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Operations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Operations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Operations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * List operations in an API version. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Apis$Versions$Operations$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Operations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Operations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Operations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/operations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Update an operation in an API version. The following fields in the ApiOperation resource can be updated: * details.description * details.documentation * details.http_operation.path * details.http_operation.method * details.deprecated * attributes The update_mask should be used to specify the fields being updated. An operation can be updated only if the operation was created via CreateApiOperation API. If the operation was created by parsing the spec, then it can be edited by updating the spec. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Apis$Versions$Operations$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Operations$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Operations$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Operations$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Operations$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Apis$Versions$Operations$Create + extends StandardParameters { + /** + * Optional. The ID to use for the operation resource, which will become the final component of the operation's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another operation resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, overall resource name which will be of format `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/operations/{operation\}`, its length is limited to 700 characters, and valid characters are /a-z[0-9]-_/. + */ + apiOperationId?: string; + /** + * Required. The parent resource for the operation resource. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}` + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1ApiOperation; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Operations$Delete + extends StandardParameters { + /** + * Required. The name of the operation resource to delete. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/operations/{operation\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Operations$Get + extends StandardParameters { + /** + * Required. The name of the operation to retrieve. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/operations/{operation\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Operations$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of ApiOperations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string or a boolean. The comparison operator must be one of: `<`, `\>` or `=`. Filters are not case sensitive. The following fields in the `ApiOperation` are eligible for filtering: * `name` - The ApiOperation resource name. Allowed comparison operators: `=`. * `details.http_operation.path.path` - The http operation's complete path relative to server endpoint. Allowed comparison operators: `=`. * `details.http_operation.method` - The http operation method type. Allowed comparison operators: `=`. * `details.deprecated` - Indicates if the ApiOperation is deprecated. Allowed values are True / False indicating the deprycation status of the ApiOperation. Allowed comparison operators: `=`. * `create_time` - The time at which the ApiOperation was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `\>` and `<`. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.id` - The allowed value id of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a placeholder that can be replaced with any user defined enum attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.display_name` - The allowed value display name of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-display-name is a placeholder that can be replaced with any user defined enum attribute enum name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.string_values.values` - The allowed value of the user defined string attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-string is a placeholder that can be replaced with any user defined string attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.json_values.values` - The allowed value of the user defined JSON attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-json is a placeholder that can be replaced with any user defined JSON attribute name. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `details.deprecated = True` - The ApiOperation is deprecated. * `details.http_operation.method = GET AND create_time < \"2021-08-15T14:50:00Z\" AND create_time \> \"2021-08-10T12:00:00Z\"` - The method of the http operation of the ApiOperation is _GET_ and the spec was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `details.http_operation.method = GET OR details.http_operation.method = POST`. - The http operation of the method of ApiOperation is _GET_ or _POST_. * `details.deprecated = True AND attributes.projects/test-project-id/locations/test-location-id/ attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values: test` - The filter string specifies that the ApiOperation is deprecated and the value of the user defined attribute of type string is _test_. + */ + filter?: string; + /** + * Optional. The maximum number of operations to return. The service may return fewer than this value. If unspecified, at most 50 operations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListApiOperations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListApiOperations` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent which owns this collection of operations i.e., the API version. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}` + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Operations$Patch + extends StandardParameters { + /** + * Identifier. The name of the operation. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/operations/{operation\}` + */ + name?: string; + /** + * Required. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1ApiOperation; + } + + export class Resource$Projects$Locations$Apis$Versions$Specs { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Add a spec to an API version in the API hub. Multiple specs can be added to an API version. Note, while adding a spec, at least one of `contents` or `source_uri` must be provided. If `contents` is provided, then `spec_type` must also be provided. On adding a spec with contents to the version, the operations present in it will be added to the version.Note that the file contents in the spec should be of the same type as defined in the `projects/{project\}/locations/{location\}/attributes/system-spec-type` attribute associated with spec resource. Note that specs of various types can be uploaded, however parsing of details is supported for OpenAPI spec currently. In order to access the information parsed from the spec, use the GetSpec method. In order to access the raw contents for a particular spec, use the GetSpecContents method. In order to access the operations parsed from the spec, use the ListAPIOperations method. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Specs$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Specs$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/specs').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Delete a spec. Deleting a spec will also delete the associated operations from the version. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get details about the information parsed from a spec. Note that this method does not return the raw spec contents. Use GetSpecContents method to retrieve the same. + * + * @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$Projects$Locations$Apis$Versions$Specs$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Specs$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Specs$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get spec contents. + * + * @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. + */ + getContents( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents, + options: StreamMethodOptions + ): Promise>; + getContents( + params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents, + options?: MethodOptions + ): Promise>; + getContents( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getContents( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getContents( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents, + callback: BodyResponseCallback + ): void; + getContents( + callback: BodyResponseCallback + ): void; + getContents( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:contents').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Lints the requested spec and updates the corresponding API Spec with the lint response. This lint response will be available in all subsequent Get and List Spec calls to Core service. + * + * @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. + */ + lint( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Lint, + options: StreamMethodOptions + ): Promise>; + lint( + params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Lint, + options?: MethodOptions + ): Promise>; + lint( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Lint, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + lint( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Lint, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + lint( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Lint, + callback: BodyResponseCallback + ): void; + lint(callback: BodyResponseCallback): void; + lint( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Specs$Lint + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Lint; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Specs$Lint; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:lint').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * List specs corresponding to a particular API resource. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Specs$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Specs$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/specs').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Update spec. The following fields in the spec can be updated: * display_name * source_uri * lint_response * attributes * contents * spec_type In case of an OAS spec, updating spec contents can lead to: 1. Creation, deletion and update of operations. 2. Creation, deletion and update of definitions. 3. Update of other info parsed out from the new spec. In case of contents or source_uri being present in update mask, spec_type must also be present. Also, spec_type can not be present in update mask if contents or source_uri is not present. The update_mask should be used to specify the fields being updated. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Apis$Versions$Specs$Create + extends StandardParameters { + /** + * Required. The parent resource for Spec. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}` + */ + parent?: string; + /** + * Optional. The ID to use for the spec, which will become the final component of the spec's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another spec in the API resource. * If not provided, a system generated id will be used. This value should be 4-500 characters, overall resource name which will be of format `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/specs/{spec\}`, its length is limited to 1000 characters and valid characters are /a-z[0-9]-_/. + */ + specId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Spec; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Specs$Delete + extends StandardParameters { + /** + * Required. The name of the spec to delete. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/specs/{spec\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Specs$Get + extends StandardParameters { + /** + * Required. The name of the spec to retrieve. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/specs/{spec\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Specs$Getcontents + extends StandardParameters { + /** + * Required. The name of the spec whose contents need to be retrieved. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/specs/{spec\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Specs$Lint + extends StandardParameters { + /** + * Required. The name of the spec to be linted. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/specs/{spec\}` + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1LintSpecRequest; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Specs$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of Specs. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `\>`, `:` or `=`. Filters are not case sensitive. The following fields in the `Spec` are eligible for filtering: * `display_name` - The display name of the Spec. Allowed comparison operators: `=`. * `create_time` - The time at which the Spec was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `\>` and `<`. * `spec_type.enum_values.values.id` - The allowed value id of the spec_type attribute associated with the Spec. Allowed comparison operators: `:`. * `spec_type.enum_values.values.display_name` - The allowed value display name of the spec_type attribute associated with the Spec. Allowed comparison operators: `:`. * `lint_response.json_values.values` - The json value of the lint_response attribute associated with the Spec. Allowed comparison operators: `:`. * `mime_type` - The MIME type of the Spec. Allowed comparison operators: `=`. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.id` - The allowed value id of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a placeholder that can be replaced with any user defined enum attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.display_name` - The allowed value display name of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-display-name is a placeholder that can be replaced with any user defined enum attribute enum name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.string_values.values` - The allowed value of the user defined string attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-string is a placeholder that can be replaced with any user defined string attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.json_values.values` - The allowed value of the user defined JSON attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-json is a placeholder that can be replaced with any user defined JSON attribute name. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `spec_type.enum_values.values.id: rest-id` - The filter string specifies that the id of the allowed value associated with the spec_type attribute is _rest-id_. * `spec_type.enum_values.values.display_name: \"Rest Display Name\"` - The filter string specifies that the display name of the allowed value associated with the spec_type attribute is `Rest Display Name`. * `spec_type.enum_values.values.id: grpc-id AND create_time < \"2021-08-15T14:50:00Z\" AND create_time \> \"2021-08-10T12:00:00Z\"` - The id of the allowed value associated with the spec_type attribute is _grpc-id_ and the spec was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `spec_type.enum_values.values.id: rest-id OR spec_type.enum_values.values.id: grpc-id` - The id of the allowed value associated with the spec_type attribute is _rest-id_ or _grpc-id_. * `spec_type.enum_values.values.id: rest-id AND attributes.projects/test-project-id/locations/test-location-id/ attributes/17650f90-4a29-4971-b3c0-d5532da3764b.enum_values.values.id: test` - The filter string specifies that the id of the allowed value associated with the spec_type attribute is _rest-id_ and the id of the allowed value associated with the user defined attribute of type enum is _test_. + */ + filter?: string; + /** + * Optional. The maximum number of specs to return. The service may return fewer than this value. If unspecified, at most 50 specs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListSpecs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSpecs` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of specs. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}` + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Apis$Versions$Specs$Patch + extends StandardParameters { + /** + * Identifier. The name of the spec. Format: `projects/{project\}/locations/{location\}/apis/{api\}/versions/{version\}/specs/{spec\}` + */ + name?: string; + /** + * Required. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Spec; + } + + export class Resource$Projects$Locations$Attributes { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Create a user defined attribute. Certain pre defined attributes are already created by the API hub. These attributes will have type as `SYSTEM_DEFINED` and can be listed via ListAttributes method. Allowed values for the same can be updated via UpdateAttribute method. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Attributes$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Attributes$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Attributes$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Attributes$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Attributes$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Attributes$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Attributes$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Attributes$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/attributes').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Delete an attribute. Note: System defined attributes cannot be deleted. All associations of the attribute being deleted with any API hub resource will also get deleted. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Attributes$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Attributes$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Attributes$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Attributes$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Attributes$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Attributes$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Attributes$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Attributes$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get details about the attribute. + * + * @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$Projects$Locations$Attributes$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Attributes$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Attributes$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Attributes$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Attributes$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Attributes$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Attributes$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Attributes$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * List all attributes. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Attributes$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Attributes$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Attributes$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Attributes$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Attributes$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Attributes$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Attributes$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Attributes$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/attributes').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Update the attribute. The following fields in the Attribute resource can be updated: * display_name The display name can be updated for user defined attributes only. * description The description can be updated for user defined attributes only. * allowed_values To update the list of allowed values, clients need to use the fetched list of allowed values and add or remove values to or from the same list. The mutable allowed values can be updated for both user defined and System defined attributes. The immutable allowed values cannot be updated or deleted. The updated list of allowed values cannot be empty. If an allowed value that is already used by some resource's attribute is deleted, then the association between the resource and the attribute value will also be deleted. * cardinality The cardinality can be updated for user defined attributes only. Cardinality can only be increased during an update. The update_mask should be used to specify the fields being updated. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Attributes$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Attributes$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Attributes$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Attributes$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Attributes$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Attributes$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Attributes$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Attributes$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Attributes$Create + extends StandardParameters { + /** + * Optional. The ID to use for the attribute, which will become the final component of the attribute's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another attribute resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/. + */ + attributeId?: string; + /** + * Required. The parent resource for Attribute. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Attribute; + } + export interface Params$Resource$Projects$Locations$Attributes$Delete + extends StandardParameters { + /** + * Required. The name of the attribute to delete. Format: `projects/{project\}/locations/{location\}/attributes/{attribute\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Attributes$Get + extends StandardParameters { + /** + * Required. The name of the attribute to retrieve. Format: `projects/{project\}/locations/{location\}/attributes/{attribute\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Attributes$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of Attributes. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string or a boolean. The comparison operator must be one of: `<`, `\>` or `=`. Filters are not case sensitive. The following fields in the `Attribute` are eligible for filtering: * `display_name` - The display name of the Attribute. Allowed comparison operators: `=`. * `definition_type` - The definition type of the attribute. Allowed comparison operators: `=`. * `scope` - The scope of the attribute. Allowed comparison operators: `=`. * `data_type` - The type of the data of the attribute. Allowed comparison operators: `=`. * `mandatory` - Denotes whether the attribute is mandatory or not. Allowed comparison operators: `=`. * `create_time` - The time at which the Attribute was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `\>` and `<`. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `display_name = production` - - The display name of the attribute is _production_. * `(display_name = production) AND (create_time < \"2021-08-15T14:50:00Z\") AND (create_time \> \"2021-08-10T12:00:00Z\")` - The display name of the attribute is _production_ and the attribute was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `display_name = production OR scope = api` - The attribute where the display name is _production_ or the scope is _api_. + */ + filter?: string; + /** + * Optional. The maximum number of attribute resources to return. The service may return fewer than this value. If unspecified, at most 50 attributes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListAttributes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAttributes` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent resource for Attribute. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Attributes$Patch + extends StandardParameters { + /** + * Identifier. The name of the attribute in the API Hub. Format: `projects/{project\}/locations/{location\}/attributes/{attribute\}` + */ + name?: string; + /** + * Required. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Attribute; + } + + export class Resource$Projects$Locations$Curations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Create a curation resource in the API hub. Once a curation resource is created, plugin instances can start using it. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Curations$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Curations$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Curations$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Curations$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Curations$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Curations$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Curations$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Curations$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/curations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Delete a curation resource in the API hub. A curation can only be deleted if it's not being used by any plugin instance. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Curations$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Curations$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Curations$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Curations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Curations$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Curations$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Curations$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Curations$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get curation resource details. + * + * @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$Projects$Locations$Curations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Curations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Curations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Curations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Curations$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Curations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Curations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Curations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * List curation resources in the API hub. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Curations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Curations$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Curations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Curations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Curations$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Curations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Curations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Curations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/curations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Update a curation resource in the API hub. The following fields in the curation can be updated: * display_name * description The update_mask should be used to specify the fields being updated. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Curations$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Curations$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Curations$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Curations$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Curations$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Curations$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Curations$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Curations$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Curations$Create + extends StandardParameters { + /** + * Optional. The ID to use for the curation resource, which will become the final component of the curations's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified ID is already used by another curation resource in the API hub. * If not provided, a system generated ID will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/. + */ + curationId?: string; + /** + * Required. The parent resource for the curation resource. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Curation; + } + export interface Params$Resource$Projects$Locations$Curations$Delete + extends StandardParameters { + /** + * Required. The name of the curation resource to delete. Format: `projects/{project\}/locations/{location\}/curations/{curation\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Curations$Get + extends StandardParameters { + /** + * Required. The name of the curation resource to retrieve. Format: `projects/{project\}/locations/{location\}/curations/{curation\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Curations$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of curation resources. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `\>`, `:` or `=`. Filters are case insensitive. The following fields in the `curation resource` are eligible for filtering: * `create_time` - The time at which the curation was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `\>` and `<`. * `display_name` - The display name of the curation. Allowed comparison operators: `=`. * `state` - The state of the curation. Allowed comparison operators: `=`. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `create_time < \"2021-08-15T14:50:00Z\" AND create_time \> \"2021-08-10T12:00:00Z\"` - The curation resource was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. + */ + filter?: string; + /** + * Optional. The maximum number of curation resources to return. The service may return fewer than this value. If unspecified, at most 50 curations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListCurations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListCurations` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of curation resources. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Curations$Patch + extends StandardParameters { + /** + * Identifier. The name of the curation. Format: `projects/{project\}/locations/{location\}/curations/{curation\}` + */ + name?: string; + /** + * Optional. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Curation; + } + + export class Resource$Projects$Locations$Dependencies { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Create a dependency between two entities in the API hub. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Dependencies$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Dependencies$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Dependencies$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Dependencies$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Dependencies$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Dependencies$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Dependencies$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Dependencies$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/dependencies').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Delete the dependency resource. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Dependencies$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Dependencies$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Dependencies$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Dependencies$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Dependencies$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Dependencies$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Dependencies$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Dependencies$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get details about a dependency resource in the API hub. + * + * @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$Projects$Locations$Dependencies$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Dependencies$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Dependencies$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Dependencies$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Dependencies$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Dependencies$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Dependencies$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Dependencies$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * List dependencies based on the provided filter and pagination parameters. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Dependencies$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Dependencies$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Dependencies$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Dependencies$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Dependencies$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Dependencies$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Dependencies$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Dependencies$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/dependencies').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Update a dependency based on the update_mask provided in the request. The following fields in the dependency can be updated: * description + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Dependencies$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Dependencies$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Dependencies$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Dependencies$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Dependencies$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Dependencies$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Dependencies$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Dependencies$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Dependencies$Create + extends StandardParameters { + /** + * Optional. The ID to use for the dependency resource, which will become the final component of the dependency's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if duplicate id is provided by the client. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are `a-z[0-9]-_`. + */ + dependencyId?: string; + /** + * Required. The parent resource for the dependency resource. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Dependency; + } + export interface Params$Resource$Projects$Locations$Dependencies$Delete + extends StandardParameters { + /** + * Required. The name of the dependency resource to delete. Format: `projects/{project\}/locations/{location\}/dependencies/{dependency\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Dependencies$Get + extends StandardParameters { + /** + * Required. The name of the dependency resource to retrieve. Format: `projects/{project\}/locations/{location\}/dependencies/{dependency\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Dependencies$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of Dependencies. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. Allowed comparison operator is `=`. Filters are not case sensitive. The following fields in the `Dependency` are eligible for filtering: * `consumer.operation_resource_name` - The operation resource name for the consumer entity involved in a dependency. Allowed comparison operators: `=`. * `consumer.external_api_resource_name` - The external api resource name for the consumer entity involved in a dependency. Allowed comparison operators: `=`. * `supplier.operation_resource_name` - The operation resource name for the supplier entity involved in a dependency. Allowed comparison operators: `=`. * `supplier.external_api_resource_name` - The external api resource name for the supplier entity involved in a dependency. Allowed comparison operators: `=`. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. For example, `consumer.operation_resource_name = \"projects/p1/locations/global/apis/a1/versions/v1/operations/o1\" OR supplier.operation_resource_name = \"projects/p1/locations/global/apis/a1/versions/v1/operations/o1\"` - The dependencies with either consumer or supplier operation resource name as _projects/p1/locations/global/apis/a1/versions/v1/operations/o1_. + */ + filter?: string; + /** + * Optional. The maximum number of dependency resources to return. The service may return fewer than this value. If unspecified, at most 50 dependencies will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListDependencies` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDependencies` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent which owns this collection of dependency resources. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Dependencies$Patch + extends StandardParameters { + /** + * Identifier. The name of the dependency in the API Hub. Format: `projects/{project\}/locations/{location\}/dependencies/{dependency\}` + */ + name?: string; + /** + * Required. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Dependency; + } + + export class Resource$Projects$Locations$Deployments { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Create a deployment resource in the API hub. Once a deployment resource is created, it can be associated with API versions. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Deployments$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Deployments$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Deployments$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Deployments$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Deployments$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Deployments$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Deployments$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Deployments$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/deployments').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Delete a deployment resource in the API hub. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Deployments$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Deployments$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Deployments$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Deployments$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Deployments$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Deployments$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Deployments$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Deployments$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get details about a deployment and the API versions linked to it. + * + * @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$Projects$Locations$Deployments$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Deployments$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Deployments$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Deployments$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Deployments$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Deployments$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Deployments$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Deployments$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * List deployment resources in the API hub. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Deployments$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Deployments$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Deployments$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Deployments$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Deployments$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Deployments$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Deployments$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Deployments$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/deployments').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Update a deployment resource in the API hub. The following fields in the deployment resource can be updated: * display_name * description * documentation * deployment_type * resource_uri * endpoints * slo * environment * attributes The update_mask should be used to specify the fields being updated. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Deployments$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Deployments$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Deployments$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Deployments$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Deployments$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Deployments$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Deployments$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Deployments$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Deployments$Create + extends StandardParameters { + /** + * Optional. The ID to use for the deployment resource, which will become the final component of the deployment's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another deployment resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/. + */ + deploymentId?: string; + /** + * Required. The parent resource for the deployment resource. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Deployment; + } + export interface Params$Resource$Projects$Locations$Deployments$Delete + extends StandardParameters { + /** + * Required. The name of the deployment resource to delete. Format: `projects/{project\}/locations/{location\}/deployments/{deployment\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Deployments$Get + extends StandardParameters { + /** + * Required. The name of the deployment resource to retrieve. Format: `projects/{project\}/locations/{location\}/deployments/{deployment\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Deployments$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of Deployments. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `\>` or `=`. Filters are not case sensitive. The following fields in the `Deployments` are eligible for filtering: * `display_name` - The display name of the Deployment. Allowed comparison operators: `=`. * `create_time` - The time at which the Deployment was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `\>` and `<`. * `resource_uri` - A URI to the deployment resource. Allowed comparison operators: `=`. * `api_versions` - The API versions linked to this deployment. Allowed comparison operators: `:`. * `deployment_type.enum_values.values.id` - The allowed value id of the deployment_type attribute associated with the Deployment. Allowed comparison operators: `:`. * `deployment_type.enum_values.values.display_name` - The allowed value display name of the deployment_type attribute associated with the Deployment. Allowed comparison operators: `:`. * `slo.string_values.values` -The allowed string value of the slo attribute associated with the deployment. Allowed comparison operators: `:`. * `environment.enum_values.values.id` - The allowed value id of the environment attribute associated with the deployment. Allowed comparison operators: `:`. * `environment.enum_values.values.display_name` - The allowed value display name of the environment attribute associated with the deployment. Allowed comparison operators: `:`. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.id` - The allowed value id of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a placeholder that can be replaced with any user defined enum attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.display_name` - The allowed value display name of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-display-name is a placeholder that can be replaced with any user defined enum attribute enum name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.string_values.values` - The allowed value of the user defined string attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-string is a placeholder that can be replaced with any user defined string attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.json_values.values` - The allowed value of the user defined JSON attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-json is a placeholder that can be replaced with any user defined JSON attribute name. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `environment.enum_values.values.id: staging-id` - The allowed value id of the environment attribute associated with the Deployment is _staging-id_. * `environment.enum_values.values.display_name: \"Staging Deployment\"` - The allowed value display name of the environment attribute associated with the Deployment is `Staging Deployment`. * `environment.enum_values.values.id: production-id AND create_time < \"2021-08-15T14:50:00Z\" AND create_time \> \"2021-08-10T12:00:00Z\"` - The allowed value id of the environment attribute associated with the Deployment is _production-id_ and Deployment was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `environment.enum_values.values.id: production-id OR slo.string_values.values: \"99.99%\"` - The allowed value id of the environment attribute Deployment is _production-id_ or string value of the slo attribute is _99.99%_. * `environment.enum_values.values.id: staging-id AND attributes.projects/test-project-id/locations/test-location-id/ attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values: test` - The filter string specifies that the allowed value id of the environment attribute associated with the Deployment is _staging-id_ and the value of the user defined attribute of type string is _test_. + */ + filter?: string; + /** + * Optional. The maximum number of deployment resources to return. The service may return fewer than this value. If unspecified, at most 50 deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListDeployments` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of deployment resources. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Deployments$Patch + extends StandardParameters { + /** + * Identifier. The name of the deployment. Format: `projects/{project\}/locations/{location\}/deployments/{deployment\}` + */ + name?: string; + /** + * Required. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Deployment; + } + + export class Resource$Projects$Locations$Externalapis { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Create an External API resource in the API hub. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Externalapis$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Externalapis$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Externalapis$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Externalapis$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Externalapis$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Externalapis$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Externalapis$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Externalapis$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/externalApis').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Delete an External API resource in the API hub. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Externalapis$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Externalapis$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Externalapis$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Externalapis$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Externalapis$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Externalapis$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Externalapis$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Externalapis$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get details about an External API resource in the API hub. + * + * @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$Projects$Locations$Externalapis$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Externalapis$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Externalapis$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Externalapis$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Externalapis$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Externalapis$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Externalapis$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Externalapis$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * List External API resources in the API hub. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Externalapis$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Externalapis$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Externalapis$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Externalapis$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Externalapis$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Externalapis$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Externalapis$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Externalapis$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/externalApis').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Update an External API resource in the API hub. The following fields can be updated: * display_name * description * documentation * endpoints * paths The update_mask should be used to specify the fields being updated. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Externalapis$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Externalapis$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Externalapis$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Externalapis$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Externalapis$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Externalapis$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Externalapis$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Externalapis$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Externalapis$Create + extends StandardParameters { + /** + * Optional. The ID to use for the External API resource, which will become the final component of the External API's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another External API resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/. + */ + externalApiId?: string; + /** + * Required. The parent resource for the External API resource. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1ExternalApi; + } + export interface Params$Resource$Projects$Locations$Externalapis$Delete + extends StandardParameters { + /** + * Required. The name of the External API resource to delete. Format: `projects/{project\}/locations/{location\}/externalApis/{externalApi\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Externalapis$Get + extends StandardParameters { + /** + * Required. The name of the External API resource to retrieve. Format: `projects/{project\}/locations/{location\}/externalApis/{externalApi\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Externalapis$List + extends StandardParameters { + /** + * Optional. The maximum number of External API resources to return. The service may return fewer than this value. If unspecified, at most 50 ExternalApis will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListExternalApis` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListExternalApis` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of External API resources. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Externalapis$Patch + extends StandardParameters { + /** + * Identifier. Format: `projects/{project\}/locations/{location\}/externalApi/{externalApi\}`. + */ + name?: string; + /** + * Required. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1ExternalApi; + } + + export class Resource$Projects$Locations$Hostprojectregistrations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Create a host project registration. A Google cloud project can be registered as a host project if it is not attached as a runtime project to another host project. A project can be registered as a host project only once. Subsequent register calls for the same project will fail. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Hostprojectregistrations$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Hostprojectregistrations$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Hostprojectregistrations$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Hostprojectregistrations$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Hostprojectregistrations$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Hostprojectregistrations$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Hostprojectregistrations$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Hostprojectregistrations$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/hostProjectRegistrations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Get a host project registration. + * + * @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$Projects$Locations$Hostprojectregistrations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Hostprojectregistrations$Get, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Hostprojectregistrations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Hostprojectregistrations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Hostprojectregistrations$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Hostprojectregistrations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Hostprojectregistrations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Hostprojectregistrations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Lists host project registrations. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Hostprojectregistrations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Hostprojectregistrations$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Hostprojectregistrations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Hostprojectregistrations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Hostprojectregistrations$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Hostprojectregistrations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Hostprojectregistrations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Hostprojectregistrations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/hostProjectRegistrations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Hostprojectregistrations$Create + extends StandardParameters { + /** + * Required. The ID to use for the Host Project Registration, which will become the final component of the host project registration's resource name. The ID must be the same as the Google cloud project specified in the host_project_registration.gcp_project field. + */ + hostProjectRegistrationId?: string; + /** + * Required. The parent resource for the host project. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1HostProjectRegistration; + } + export interface Params$Resource$Projects$Locations$Hostprojectregistrations$Get + extends StandardParameters { + /** + * Required. Host project registration resource name. projects/{project\}/locations/{location\}/hostProjectRegistrations/{host_project_registration_id\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Hostprojectregistrations$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of HostProjectRegistrations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. All standard operators as documented at https://google.aip.dev/160 are supported. The following fields in the `HostProjectRegistration` are eligible for filtering: * `name` - The name of the HostProjectRegistration. * `create_time` - The time at which the HostProjectRegistration was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. * `gcp_project` - The Google cloud project associated with the HostProjectRegistration. + */ + filter?: string; + /** + * Optional. Hint for how to order the results. + */ + orderBy?: string; + /** + * Optional. The maximum number of host project registrations to return. The service may return fewer than this value. If unspecified, at most 50 host project registrations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListHostProjectRegistrations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListHostProjectRegistrations` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of host projects. Format: `projects/x/locations/x` + */ + parent?: string; + } + + export class Resource$Projects$Locations$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. + * + * @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. + */ + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions + ): Promise>; + cancel( + params?: Params$Resource$Projects$Locations$Operations$Cancel, + options?: MethodOptions + ): Promise>; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + callback: BodyResponseCallback + ): void; + cancel(callback: BodyResponseCallback): void; + cancel( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Cancel + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Cancel; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Cancel; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Operations$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * + * @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$Projects$Locations$Operations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Operations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Operations$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Operations$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}/operations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Operations$Cancel + extends StandardParameters { + /** + * The name of the operation resource to be cancelled. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleLongrunningCancelOperationRequest; + } + export interface Params$Resource$Projects$Locations$Operations$Delete + extends StandardParameters { + /** + * The name of the operation resource to be deleted. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$Get + extends StandardParameters { + /** + * The name of the operation resource. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$List + extends StandardParameters { + /** + * The standard list filter. + */ + filter?: string; + /** + * The name of the operation's parent resource. + */ + name?: string; + /** + * The standard list page size. + */ + pageSize?: number; + /** + * The standard list page token. + */ + pageToken?: string; + } + + export class Resource$Projects$Locations$Plugins { + context: APIRequestContext; + instances: Resource$Projects$Locations$Plugins$Instances; + styleGuide: Resource$Projects$Locations$Plugins$Styleguide; + constructor(context: APIRequestContext) { + this.context = context; + this.instances = new Resource$Projects$Locations$Plugins$Instances( + this.context + ); + this.styleGuide = new Resource$Projects$Locations$Plugins$Styleguide( + this.context + ); + } + + /** + * Create an API Hub plugin resource in the API hub. Once a plugin is created, it can be used to create plugin instances. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Plugins$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Plugins$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Plugins$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Plugins$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Plugins$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Plugins$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/plugins').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Delete a Plugin in API hub. Note, only user owned plugins can be deleted via this method. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Plugins$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Plugins$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Plugins$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Plugins$Delete, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Plugins$Delete, + callback: BodyResponseCallback + ): void; + delete( + callback: BodyResponseCallback + ): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Plugins$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Disables a plugin. The `state` of the plugin after disabling is `DISABLED` + * + * @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. + */ + disable( + params: Params$Resource$Projects$Locations$Plugins$Disable, + options: StreamMethodOptions + ): Promise>; + disable( + params?: Params$Resource$Projects$Locations$Plugins$Disable, + options?: MethodOptions + ): Promise>; + disable( + params: Params$Resource$Projects$Locations$Plugins$Disable, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + disable( + params: Params$Resource$Projects$Locations$Plugins$Disable, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + disable( + params: Params$Resource$Projects$Locations$Plugins$Disable, + callback: BodyResponseCallback + ): void; + disable( + callback: BodyResponseCallback + ): void; + disable( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Disable + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Disable; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Plugins$Disable; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:disable').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Enables a plugin. The `state` of the plugin after enabling is `ENABLED` + * + * @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. + */ + enable( + params: Params$Resource$Projects$Locations$Plugins$Enable, + options: StreamMethodOptions + ): Promise>; + enable( + params?: Params$Resource$Projects$Locations$Plugins$Enable, + options?: MethodOptions + ): Promise>; + enable( + params: Params$Resource$Projects$Locations$Plugins$Enable, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + enable( + params: Params$Resource$Projects$Locations$Plugins$Enable, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + enable( + params: Params$Resource$Projects$Locations$Plugins$Enable, + callback: BodyResponseCallback + ): void; + enable( + callback: BodyResponseCallback + ): void; + enable( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Enable + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Enable; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Plugins$Enable; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:enable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get an API Hub plugin. + * + * @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$Projects$Locations$Plugins$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Plugins$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Plugins$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Plugins$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Plugins$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Plugins$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get the style guide being used for linting. + * + * @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. + */ + getStyleGuide( + params: Params$Resource$Projects$Locations$Plugins$Getstyleguide, + options: StreamMethodOptions + ): Promise>; + getStyleGuide( + params?: Params$Resource$Projects$Locations$Plugins$Getstyleguide, + options?: MethodOptions + ): Promise>; + getStyleGuide( + params: Params$Resource$Projects$Locations$Plugins$Getstyleguide, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getStyleGuide( + params: Params$Resource$Projects$Locations$Plugins$Getstyleguide, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getStyleGuide( + params: Params$Resource$Projects$Locations$Plugins$Getstyleguide, + callback: BodyResponseCallback + ): void; + getStyleGuide( + callback: BodyResponseCallback + ): void; + getStyleGuide( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Getstyleguide + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Getstyleguide; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Plugins$Getstyleguide; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * List all the plugins in a given project and location. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Plugins$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Plugins$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Plugins$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Plugins$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Plugins$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Plugins$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/plugins').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Update the styleGuide to be used for liniting in by API hub. + * + * @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. + */ + updateStyleGuide( + params: Params$Resource$Projects$Locations$Plugins$Updatestyleguide, + options: StreamMethodOptions + ): Promise>; + updateStyleGuide( + params?: Params$Resource$Projects$Locations$Plugins$Updatestyleguide, + options?: MethodOptions + ): Promise>; + updateStyleGuide( + params: Params$Resource$Projects$Locations$Plugins$Updatestyleguide, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateStyleGuide( + params: Params$Resource$Projects$Locations$Plugins$Updatestyleguide, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateStyleGuide( + params: Params$Resource$Projects$Locations$Plugins$Updatestyleguide, + callback: BodyResponseCallback + ): void; + updateStyleGuide( + callback: BodyResponseCallback + ): void; + updateStyleGuide( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Updatestyleguide + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Updatestyleguide; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Plugins$Updatestyleguide; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Plugins$Create + extends StandardParameters { + /** + * Required. The parent resource where this plugin will be created. Format: `projects/{project\}/locations/{location\}`. + */ + parent?: string; + /** + * Optional. The ID to use for the Plugin resource, which will become the final component of the Plugin's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another Plugin resource in the API hub instance. * If not provided, a system generated id will be used. This value should be 4-500 characters, overall resource name which will be of format `projects/{project\}/locations/{location\}/plugins/{plugin\}`, its length is limited to 1000 characters and valid characters are /a-z[0-9]-_/. + */ + pluginId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1Plugin; + } + export interface Params$Resource$Projects$Locations$Plugins$Delete + extends StandardParameters { + /** + * Required. The name of the Plugin resource to delete. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Plugins$Disable + extends StandardParameters { + /** + * Required. The name of the plugin to disable. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}`. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1DisablePluginRequest; + } + export interface Params$Resource$Projects$Locations$Plugins$Enable + extends StandardParameters { + /** + * Required. The name of the plugin to enable. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}`. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1EnablePluginRequest; + } + export interface Params$Resource$Projects$Locations$Plugins$Get + extends StandardParameters { + /** + * Required. The name of the plugin to retrieve. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Plugins$Getstyleguide + extends StandardParameters { + /** + * Required. The name of the spec to retrieve. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}/styleGuide`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Plugins$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of plugins. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `\>` or `=`. Filters are not case sensitive. The following fields in the `Plugins` are eligible for filtering: * `plugin_category` - The category of the Plugin. Allowed comparison operators: `=`. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `plugin_category = ON_RAMP` - The plugin is of category on ramp. + */ + filter?: string; + /** + * Optional. The maximum number of hub plugins to return. The service may return fewer than this value. If unspecified, at most 50 hub plugins will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListPlugins` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListPlugins` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent resource where this plugin will be created. Format: `projects/{project\}/locations/{location\}`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Plugins$Updatestyleguide + extends StandardParameters { + /** + * Identifier. The name of the style guide. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}/styleGuide` + */ + name?: string; + /** + * Optional. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1StyleGuide; + } + + export class Resource$Projects$Locations$Plugins$Instances { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a Plugin instance in the API hub. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Plugins$Instances$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Plugins$Instances$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Plugins$Instances$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Plugins$Instances$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Plugins$Instances$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Instances$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Instances$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Plugins$Instances$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/instances').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a plugin instance in the API hub. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Plugins$Instances$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Plugins$Instances$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Plugins$Instances$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Plugins$Instances$Delete, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Plugins$Instances$Delete, + callback: BodyResponseCallback + ): void; + delete( + callback: BodyResponseCallback + ): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Instances$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Instances$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Plugins$Instances$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Disables a plugin instance in the API hub. + * + * @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. + */ + disableAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Disableaction, + options: StreamMethodOptions + ): Promise>; + disableAction( + params?: Params$Resource$Projects$Locations$Plugins$Instances$Disableaction, + options?: MethodOptions + ): Promise>; + disableAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Disableaction, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + disableAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Disableaction, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + disableAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Disableaction, + callback: BodyResponseCallback + ): void; + disableAction( + callback: BodyResponseCallback + ): void; + disableAction( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Instances$Disableaction + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Instances$Disableaction; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Plugins$Instances$Disableaction; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:disableAction').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Enables a plugin instance in the API hub. + * + * @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. + */ + enableAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Enableaction, + options: StreamMethodOptions + ): Promise>; + enableAction( + params?: Params$Resource$Projects$Locations$Plugins$Instances$Enableaction, + options?: MethodOptions + ): Promise>; + enableAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Enableaction, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + enableAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Enableaction, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + enableAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Enableaction, + callback: BodyResponseCallback + ): void; + enableAction( + callback: BodyResponseCallback + ): void; + enableAction( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Instances$Enableaction + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Instances$Enableaction; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Plugins$Instances$Enableaction; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:enableAction').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Executes a plugin instance in the API hub. + * + * @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. + */ + executeAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Executeaction, + options: StreamMethodOptions + ): Promise>; + executeAction( + params?: Params$Resource$Projects$Locations$Plugins$Instances$Executeaction, + options?: MethodOptions + ): Promise>; + executeAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Executeaction, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + executeAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Executeaction, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + executeAction( + params: Params$Resource$Projects$Locations$Plugins$Instances$Executeaction, + callback: BodyResponseCallback + ): void; + executeAction( + callback: BodyResponseCallback + ): void; + executeAction( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Instances$Executeaction + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Instances$Executeaction; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Plugins$Instances$Executeaction; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:executeAction').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get an API Hub plugin instance. + * + * @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$Projects$Locations$Plugins$Instances$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Plugins$Instances$Get, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Plugins$Instances$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Plugins$Instances$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Plugins$Instances$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Instances$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Instances$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Plugins$Instances$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * List all the plugins in a given project and location. `-` can be used as wildcard value for {plugin_id\} + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Plugins$Instances$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Plugins$Instances$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Plugins$Instances$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Plugins$Instances$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Plugins$Instances$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Instances$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Instances$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Plugins$Instances$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/instances').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Plugins$Instances$Create + extends StandardParameters { + /** + * Required. The parent of the plugin instance resource. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}` + */ + parent?: string; + /** + * Optional. The ID to use for the plugin instance, which will become the final component of the plugin instance's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another plugin instance in the plugin resource. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/. + */ + pluginInstanceId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1PluginInstance; + } + export interface Params$Resource$Projects$Locations$Plugins$Instances$Delete + extends StandardParameters { + /** + * Required. The name of the plugin instance to delete. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}/instances/{instance\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Plugins$Instances$Disableaction + extends StandardParameters { + /** + * Required. The name of the plugin instance to disable. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}/instances/{instance\}` + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1DisablePluginInstanceActionRequest; + } + export interface Params$Resource$Projects$Locations$Plugins$Instances$Enableaction + extends StandardParameters { + /** + * Required. The name of the plugin instance to enable. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}/instances/{instance\}` + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1EnablePluginInstanceActionRequest; + } + export interface Params$Resource$Projects$Locations$Plugins$Instances$Executeaction + extends StandardParameters { + /** + * Required. The name of the plugin instance to execute. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}/instances/{instance\}` + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1ExecutePluginInstanceActionRequest; + } + export interface Params$Resource$Projects$Locations$Plugins$Instances$Get + extends StandardParameters { + /** + * Required. The name of the plugin instance to retrieve. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}/instances/{instance\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Plugins$Instances$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of plugin instances. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `\>` or `=`. Filters are not case sensitive. The following fields in the `PluginInstances` are eligible for filtering: * `state` - The state of the Plugin Instance. Allowed comparison operators: `=`. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `state = ENABLED` - The plugin instance is in enabled state. + */ + filter?: string; + /** + * Optional. The maximum number of hub plugins to return. The service may return fewer than this value. If unspecified, at most 50 hub plugins will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListPluginInstances` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPluginInstances` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent resource where this plugin will be created. Format: `projects/{project\}/locations/{location\}/plugins/{plugin\}`. To list plugin instances for multiple plugins, use the - character instead of the plugin ID. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Plugins$Styleguide { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Get the contents of the style guide. + * + * @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. + */ + getContents( + params: Params$Resource$Projects$Locations$Plugins$Styleguide$Getcontents, + options: StreamMethodOptions + ): Promise>; + getContents( + params?: Params$Resource$Projects$Locations$Plugins$Styleguide$Getcontents, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + getContents( + params: Params$Resource$Projects$Locations$Plugins$Styleguide$Getcontents, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getContents( + params: Params$Resource$Projects$Locations$Plugins$Styleguide$Getcontents, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getContents( + params: Params$Resource$Projects$Locations$Plugins$Styleguide$Getcontents, + callback: BodyResponseCallback + ): void; + getContents( + callback: BodyResponseCallback + ): void; + getContents( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Plugins$Styleguide$Getcontents + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Plugins$Styleguide$Getcontents; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Plugins$Styleguide$Getcontents; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:contents').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Plugins$Styleguide$Getcontents + extends StandardParameters { + /** + * Required. The name of the StyleGuide whose contents need to be retrieved. There is exactly one style guide resource per project per location. The expected format is `projects/{project\}/locations/{location\}/plugins/{plugin\}/styleGuide`. + */ + name?: string; + } + + export class Resource$Projects$Locations$Runtimeprojectattachments { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Attaches a runtime project to the host project. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Runtimeprojectattachments$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Runtimeprojectattachments$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Runtimeprojectattachments$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Runtimeprojectattachments$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/runtimeProjectAttachments').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Delete a runtime project attachment in the API Hub. This call will detach the runtime project from the host project. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Runtimeprojectattachments$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Runtimeprojectattachments$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Runtimeprojectattachments$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Runtimeprojectattachments$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets a runtime project attachment. + * + * @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$Projects$Locations$Runtimeprojectattachments$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Runtimeprojectattachments$Get, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Runtimeprojectattachments$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Runtimeprojectattachments$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Runtimeprojectattachments$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * List runtime projects attached to the host project. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Runtimeprojectattachments$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Runtimeprojectattachments$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Runtimeprojectattachments$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Runtimeprojectattachments$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Runtimeprojectattachments$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://apihub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/runtimeProjectAttachments').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Runtimeprojectattachments$Create + extends StandardParameters { + /** + * Required. The parent resource for the Runtime Project Attachment. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + /** + * Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment's name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field. + */ + runtimeProjectAttachmentId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudApihubV1RuntimeProjectAttachment; + } + export interface Params$Resource$Projects$Locations$Runtimeprojectattachments$Delete + extends StandardParameters { + /** + * Required. The name of the Runtime Project Attachment to delete. Format: `projects/{project\}/locations/{location\}/runtimeProjectAttachments/{runtime_project_attachment\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Runtimeprojectattachments$Get + extends StandardParameters { + /** + * Required. The name of the API resource to retrieve. Format: `projects/{project\}/locations/{location\}/runtimeProjectAttachments/{runtime_project_attachment\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Runtimeprojectattachments$List + extends StandardParameters { + /** + * Optional. An expression that filters the list of RuntimeProjectAttachments. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. All standard operators as documented at https://google.aip.dev/160 are supported. The following fields in the `RuntimeProjectAttachment` are eligible for filtering: * `name` - The name of the RuntimeProjectAttachment. * `create_time` - The time at which the RuntimeProjectAttachment was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. * `runtime_project` - The Google cloud project associated with the RuntimeProjectAttachment. + */ + filter?: string; + /** + * Optional. Hint for how to order the results. + */ + orderBy?: string; + /** + * Optional. The maximum number of runtime project attachments to return. The service may return fewer than this value. If unspecified, at most 50 runtime project attachments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListRuntimeProjectAttachments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListRuntimeProjectAttachments` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of runtime project attachments. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + } +} diff --git a/src/apis/apihub/webpack.config.js b/src/apis/apihub/webpack.config.js new file mode 100644 index 00000000000..227d899821f --- /dev/null +++ b/src/apis/apihub/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: 'Apihub', + filename: 'apihub.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: [], +}; diff --git a/src/apis/apikeys/index.ts b/src/apis/apikeys/index.ts index 147a2432f5d..29a42166cec 100644 --- a/src/apis/apikeys/index.ts +++ b/src/apis/apikeys/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/apikeys/package.json b/src/apis/apikeys/package.json index 5499ecce56a..f2b1e96a7f0 100644 --- a/src/apis/apikeys/package.json +++ b/src/apis/apikeys/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/apikeys/v2.ts b/src/apis/apikeys/v2.ts index b819940b551..481cd6f98b5 100644 --- a/src/apis/apikeys/v2.ts +++ b/src/apis/apikeys/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -363,11 +363,11 @@ export namespace apikeys_v2 { lookupKey( params: Params$Resource$Keys$Lookupkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupKey( params?: Params$Resource$Keys$Lookupkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookupKey( params: Params$Resource$Keys$Lookupkey, options: StreamMethodOptions | BodyResponseCallback, @@ -398,8 +398,8 @@ export namespace apikeys_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Keys$Lookupkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -464,11 +464,11 @@ export namespace apikeys_v2 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -497,7 +497,10 @@ export namespace apikeys_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -580,11 +583,11 @@ export namespace apikeys_v2 { create( params: Params$Resource$Projects$Locations$Keys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Keys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Keys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -613,7 +616,10 @@ export namespace apikeys_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -665,11 +671,11 @@ export namespace apikeys_v2 { delete( params: Params$Resource$Projects$Locations$Keys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Keys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Keys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -698,7 +704,10 @@ export namespace apikeys_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -750,11 +759,11 @@ export namespace apikeys_v2 { get( params: Params$Resource$Projects$Locations$Keys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Keys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Keys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -783,7 +792,10 @@ export namespace apikeys_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -835,11 +847,11 @@ export namespace apikeys_v2 { getKeyString( params: Params$Resource$Projects$Locations$Keys$Getkeystring, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getKeyString( params?: Params$Resource$Projects$Locations$Keys$Getkeystring, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getKeyString( params: Params$Resource$Projects$Locations$Keys$Getkeystring, options: StreamMethodOptions | BodyResponseCallback, @@ -874,8 +886,8 @@ export namespace apikeys_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keys$Getkeystring; let options = (optionsOrCallback || {}) as MethodOptions; @@ -930,11 +942,11 @@ export namespace apikeys_v2 { list( params: Params$Resource$Projects$Locations$Keys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Keys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Keys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -965,8 +977,8 @@ export namespace apikeys_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1018,11 +1030,11 @@ export namespace apikeys_v2 { patch( params: Params$Resource$Projects$Locations$Keys$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Keys$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Keys$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1051,7 +1063,10 @@ export namespace apikeys_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keys$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1103,11 +1118,11 @@ export namespace apikeys_v2 { undelete( params: Params$Resource$Projects$Locations$Keys$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Keys$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Locations$Keys$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -1136,7 +1151,10 @@ export namespace apikeys_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keys$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/apim/index.ts b/src/apis/apim/index.ts index d707aa92ee5..685038a2a70 100644 --- a/src/apis/apim/index.ts +++ b/src/apis/apim/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/apim/package.json b/src/apis/apim/package.json index 8ce61e12d90..dfb0e167f7a 100644 --- a/src/apis/apim/package.json +++ b/src/apis/apim/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/apim/v1alpha.ts b/src/apis/apim/v1alpha.ts index e5ba00e1e7f..2492aeb1fe5 100644 --- a/src/apis/apim/v1alpha.ts +++ b/src/apis/apim/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -661,11 +661,11 @@ export namespace apim_v1alpha { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -694,7 +694,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -746,11 +749,11 @@ export namespace apim_v1alpha { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -783,8 +786,8 @@ export namespace apim_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -839,11 +842,11 @@ export namespace apim_v1alpha { listApiObservationTags( params: Params$Resource$Projects$Locations$Listapiobservationtags, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listApiObservationTags( params?: Params$Resource$Projects$Locations$Listapiobservationtags, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listApiObservationTags( params: Params$Resource$Projects$Locations$Listapiobservationtags, options: StreamMethodOptions | BodyResponseCallback, @@ -878,8 +881,8 @@ export namespace apim_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Listapiobservationtags; let options = (optionsOrCallback || {}) as MethodOptions; @@ -990,11 +993,11 @@ export namespace apim_v1alpha { create( params: Params$Resource$Projects$Locations$Observationjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Observationjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Observationjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1023,7 +1026,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1079,11 +1085,11 @@ export namespace apim_v1alpha { delete( params: Params$Resource$Projects$Locations$Observationjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Observationjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Observationjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1112,7 +1118,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1165,11 +1174,11 @@ export namespace apim_v1alpha { disable( params: Params$Resource$Projects$Locations$Observationjobs$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Locations$Observationjobs$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Locations$Observationjobs$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -1198,7 +1207,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationjobs$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1254,11 +1266,11 @@ export namespace apim_v1alpha { enable( params: Params$Resource$Projects$Locations$Observationjobs$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Locations$Observationjobs$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Locations$Observationjobs$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -1287,7 +1299,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationjobs$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1343,11 +1358,11 @@ export namespace apim_v1alpha { get( params: Params$Resource$Projects$Locations$Observationjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Observationjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Observationjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1376,7 +1391,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1428,11 +1446,11 @@ export namespace apim_v1alpha { list( params: Params$Resource$Projects$Locations$Observationjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Observationjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Observationjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1467,8 +1485,8 @@ export namespace apim_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1609,11 +1627,13 @@ export namespace apim_v1alpha { batchEditTags( params: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Batchedittags, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchEditTags( params?: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Batchedittags, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchEditTags( params: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Batchedittags, options: StreamMethodOptions | BodyResponseCallback, @@ -1648,8 +1668,10 @@ export namespace apim_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Batchedittags; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1706,11 +1728,11 @@ export namespace apim_v1alpha { get( params: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1739,7 +1761,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1792,11 +1817,11 @@ export namespace apim_v1alpha { list( params: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1831,8 +1856,8 @@ export namespace apim_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationjobs$Apiobservations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1930,11 +1955,11 @@ export namespace apim_v1alpha { get( params: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Apioperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Apioperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Apioperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1963,7 +1988,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Apioperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2016,11 +2044,11 @@ export namespace apim_v1alpha { list( params: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Apioperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Apioperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Apioperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2055,8 +2083,8 @@ export namespace apim_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationjobs$Apiobservations$Apioperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2142,11 +2170,11 @@ export namespace apim_v1alpha { create( params: Params$Resource$Projects$Locations$Observationsources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Observationsources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Observationsources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2175,7 +2203,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationsources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2231,11 +2262,11 @@ export namespace apim_v1alpha { delete( params: Params$Resource$Projects$Locations$Observationsources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Observationsources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Observationsources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2264,7 +2295,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationsources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2317,11 +2351,11 @@ export namespace apim_v1alpha { get( params: Params$Resource$Projects$Locations$Observationsources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Observationsources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Observationsources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2352,8 +2386,8 @@ export namespace apim_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationsources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2406,11 +2440,11 @@ export namespace apim_v1alpha { list( params: Params$Resource$Projects$Locations$Observationsources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Observationsources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Observationsources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2445,8 +2479,8 @@ export namespace apim_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Observationsources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2561,11 +2595,11 @@ export namespace apim_v1alpha { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2594,7 +2628,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2649,11 +2686,11 @@ export namespace apim_v1alpha { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2682,7 +2719,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2734,11 +2774,11 @@ export namespace apim_v1alpha { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2767,7 +2807,10 @@ export namespace apim_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2819,11 +2862,11 @@ export namespace apim_v1alpha { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2856,8 +2899,8 @@ export namespace apim_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/appengine/index.ts b/src/apis/appengine/index.ts index 5e69e833916..3e2b4fd53fd 100644 --- a/src/apis/appengine/index.ts +++ b/src/apis/appengine/index.ts @@ -65,7 +65,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/appengine/package.json b/src/apis/appengine/package.json index cd3aaf8f6fe..55ccd18e829 100644 --- a/src/apis/appengine/package.json +++ b/src/apis/appengine/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/appengine/v1.ts b/src/apis/appengine/v1.ts index 396dfd2f503..6cf510b3dd3 100644 --- a/src/apis/appengine/v1.ts +++ b/src/apis/appengine/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1918,11 +1918,11 @@ export namespace appengine_v1 { create( params: Params$Resource$Apps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1951,7 +1951,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2002,11 +2005,11 @@ export namespace appengine_v1 { get( params: Params$Resource$Apps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2035,7 +2038,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2086,11 +2092,11 @@ export namespace appengine_v1 { listRuntimes( params: Params$Resource$Apps$Listruntimes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRuntimes( params?: Params$Resource$Apps$Listruntimes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listRuntimes( params: Params$Resource$Apps$Listruntimes, options: StreamMethodOptions | BodyResponseCallback, @@ -2125,8 +2131,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Listruntimes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2181,11 +2187,11 @@ export namespace appengine_v1 { patch( params: Params$Resource$Apps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2214,7 +2220,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2265,11 +2274,11 @@ export namespace appengine_v1 { repair( params: Params$Resource$Apps$Repair, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; repair( params?: Params$Resource$Apps$Repair, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; repair( params: Params$Resource$Apps$Repair, options: StreamMethodOptions | BodyResponseCallback, @@ -2298,7 +2307,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Repair; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2413,11 +2425,11 @@ export namespace appengine_v1 { create( params: Params$Resource$Apps$Authorizedcertificates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Authorizedcertificates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Authorizedcertificates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2450,8 +2462,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2506,11 +2518,11 @@ export namespace appengine_v1 { delete( params: Params$Resource$Apps$Authorizedcertificates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Authorizedcertificates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Authorizedcertificates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2539,7 +2551,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2594,11 +2609,11 @@ export namespace appengine_v1 { get( params: Params$Resource$Apps$Authorizedcertificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Authorizedcertificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Authorizedcertificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2631,8 +2646,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2687,11 +2702,13 @@ export namespace appengine_v1 { list( params: Params$Resource$Apps$Authorizedcertificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Authorizedcertificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Apps$Authorizedcertificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2726,8 +2743,10 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2784,11 +2803,11 @@ export namespace appengine_v1 { patch( params: Params$Resource$Apps$Authorizedcertificates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Authorizedcertificates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Authorizedcertificates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2821,8 +2840,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2962,11 +2981,11 @@ export namespace appengine_v1 { list( params: Params$Resource$Apps$Authorizeddomains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Authorizeddomains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Authorizeddomains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3001,8 +3020,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizeddomains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3082,11 +3101,11 @@ export namespace appengine_v1 { create( params: Params$Resource$Apps$Domainmappings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Domainmappings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Domainmappings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3115,7 +3134,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3170,11 +3192,11 @@ export namespace appengine_v1 { delete( params: Params$Resource$Apps$Domainmappings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Domainmappings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Domainmappings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3203,7 +3225,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3257,11 +3282,11 @@ export namespace appengine_v1 { get( params: Params$Resource$Apps$Domainmappings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Domainmappings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Domainmappings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3290,7 +3315,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3344,11 +3372,11 @@ export namespace appengine_v1 { list( params: Params$Resource$Apps$Domainmappings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Domainmappings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Domainmappings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3383,8 +3411,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3439,11 +3467,11 @@ export namespace appengine_v1 { patch( params: Params$Resource$Apps$Domainmappings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Domainmappings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Domainmappings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3472,7 +3500,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3616,11 +3647,11 @@ export namespace appengine_v1 { batchUpdate( params: Params$Resource$Apps$Firewall$Ingressrules$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Apps$Firewall$Ingressrules$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Apps$Firewall$Ingressrules$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -3655,8 +3686,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3712,11 +3743,11 @@ export namespace appengine_v1 { create( params: Params$Resource$Apps$Firewall$Ingressrules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Firewall$Ingressrules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Firewall$Ingressrules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3745,7 +3776,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3800,11 +3834,11 @@ export namespace appengine_v1 { delete( params: Params$Resource$Apps$Firewall$Ingressrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Firewall$Ingressrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Firewall$Ingressrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3833,7 +3867,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3888,11 +3925,11 @@ export namespace appengine_v1 { get( params: Params$Resource$Apps$Firewall$Ingressrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Firewall$Ingressrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Firewall$Ingressrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3921,7 +3958,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3976,11 +4016,11 @@ export namespace appengine_v1 { list( params: Params$Resource$Apps$Firewall$Ingressrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Firewall$Ingressrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Firewall$Ingressrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4013,8 +4053,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4069,11 +4109,11 @@ export namespace appengine_v1 { patch( params: Params$Resource$Apps$Firewall$Ingressrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Firewall$Ingressrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Firewall$Ingressrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4102,7 +4142,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4250,11 +4293,11 @@ export namespace appengine_v1 { get( params: Params$Resource$Apps$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4283,7 +4326,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4337,11 +4383,11 @@ export namespace appengine_v1 { list( params: Params$Resource$Apps$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4374,8 +4420,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4472,11 +4518,11 @@ export namespace appengine_v1 { get( params: Params$Resource$Apps$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4505,7 +4551,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4559,11 +4608,11 @@ export namespace appengine_v1 { list( params: Params$Resource$Apps$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4596,8 +4645,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4692,11 +4741,11 @@ export namespace appengine_v1 { delete( params: Params$Resource$Apps$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4725,7 +4774,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4780,11 +4832,11 @@ export namespace appengine_v1 { get( params: Params$Resource$Apps$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4813,7 +4865,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4868,11 +4923,11 @@ export namespace appengine_v1 { list( params: Params$Resource$Apps$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4905,8 +4960,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4961,11 +5016,11 @@ export namespace appengine_v1 { patch( params: Params$Resource$Apps$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4994,7 +5049,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5122,11 +5180,11 @@ export namespace appengine_v1 { create( params: Params$Resource$Apps$Services$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Services$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Services$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5155,7 +5213,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5209,11 +5270,11 @@ export namespace appengine_v1 { delete( params: Params$Resource$Apps$Services$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Services$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Services$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5242,7 +5303,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5297,11 +5361,11 @@ export namespace appengine_v1 { get( params: Params$Resource$Apps$Services$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Services$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Services$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5330,7 +5394,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5385,11 +5452,11 @@ export namespace appengine_v1 { list( params: Params$Resource$Apps$Services$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Services$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Services$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5422,8 +5489,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5477,11 +5544,11 @@ export namespace appengine_v1 { patch( params: Params$Resource$Apps$Services$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Services$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Services$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5510,7 +5577,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5670,11 +5740,11 @@ export namespace appengine_v1 { debug( params: Params$Resource$Apps$Services$Versions$Instances$Debug, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; debug( params?: Params$Resource$Apps$Services$Versions$Instances$Debug, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; debug( params: Params$Resource$Apps$Services$Versions$Instances$Debug, options: StreamMethodOptions | BodyResponseCallback, @@ -5703,7 +5773,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Instances$Debug; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5758,11 +5831,11 @@ export namespace appengine_v1 { delete( params: Params$Resource$Apps$Services$Versions$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Services$Versions$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Services$Versions$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5791,7 +5864,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5846,11 +5922,11 @@ export namespace appengine_v1 { get( params: Params$Resource$Apps$Services$Versions$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Services$Versions$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Services$Versions$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5879,7 +5955,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5934,11 +6013,11 @@ export namespace appengine_v1 { list( params: Params$Resource$Apps$Services$Versions$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Services$Versions$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Services$Versions$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5971,8 +6050,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6149,11 +6228,11 @@ export namespace appengine_v1 { patch( params: Params$Resource$Projects$Locations$Applications$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Applications$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Applications$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6182,7 +6261,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6269,11 +6351,11 @@ export namespace appengine_v1 { list( params: Params$Resource$Projects$Locations$Applications$Authorizeddomains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Applications$Authorizeddomains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Applications$Authorizeddomains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6308,8 +6390,8 @@ export namespace appengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Authorizeddomains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6403,11 +6485,11 @@ export namespace appengine_v1 { delete( params: Params$Resource$Projects$Locations$Applications$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Applications$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Applications$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6436,7 +6518,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6529,11 +6614,11 @@ export namespace appengine_v1 { delete( params: Params$Resource$Projects$Locations$Applications$Services$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Applications$Services$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Applications$Services$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6562,7 +6647,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6630,11 +6718,11 @@ export namespace appengine_v1 { patch( params: Params$Resource$Projects$Locations$Applications$Services$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Applications$Services$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Applications$Services$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6663,7 +6751,10 @@ export namespace appengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/appengine/v1alpha.ts b/src/apis/appengine/v1alpha.ts index 5c70b127c78..1ba805d887f 100644 --- a/src/apis/appengine/v1alpha.ts +++ b/src/apis/appengine/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -714,11 +714,11 @@ export namespace appengine_v1alpha { create( params: Params$Resource$Apps$Authorizedcertificates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Authorizedcertificates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Authorizedcertificates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -751,8 +751,8 @@ export namespace appengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -806,11 +806,11 @@ export namespace appengine_v1alpha { delete( params: Params$Resource$Apps$Authorizedcertificates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Authorizedcertificates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Authorizedcertificates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -839,7 +839,10 @@ export namespace appengine_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -894,11 +897,11 @@ export namespace appengine_v1alpha { get( params: Params$Resource$Apps$Authorizedcertificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Authorizedcertificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Authorizedcertificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -931,8 +934,8 @@ export namespace appengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -987,11 +990,13 @@ export namespace appengine_v1alpha { list( params: Params$Resource$Apps$Authorizedcertificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Authorizedcertificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Apps$Authorizedcertificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1026,8 +1031,10 @@ export namespace appengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1083,11 +1090,11 @@ export namespace appengine_v1alpha { patch( params: Params$Resource$Apps$Authorizedcertificates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Authorizedcertificates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Authorizedcertificates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1120,8 +1127,8 @@ export namespace appengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1261,11 +1268,11 @@ export namespace appengine_v1alpha { list( params: Params$Resource$Apps$Authorizeddomains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Authorizeddomains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Authorizeddomains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1300,8 +1307,8 @@ export namespace appengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizeddomains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1381,11 +1388,11 @@ export namespace appengine_v1alpha { create( params: Params$Resource$Apps$Domainmappings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Domainmappings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Domainmappings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1414,7 +1421,10 @@ export namespace appengine_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1469,11 +1479,11 @@ export namespace appengine_v1alpha { delete( params: Params$Resource$Apps$Domainmappings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Domainmappings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Domainmappings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1502,7 +1512,10 @@ export namespace appengine_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1557,11 +1570,11 @@ export namespace appengine_v1alpha { get( params: Params$Resource$Apps$Domainmappings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Domainmappings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Domainmappings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1590,7 +1603,10 @@ export namespace appengine_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1645,11 +1661,11 @@ export namespace appengine_v1alpha { list( params: Params$Resource$Apps$Domainmappings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Domainmappings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Domainmappings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1684,8 +1700,8 @@ export namespace appengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1740,11 +1756,11 @@ export namespace appengine_v1alpha { patch( params: Params$Resource$Apps$Domainmappings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Domainmappings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Domainmappings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1773,7 +1789,10 @@ export namespace appengine_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1917,11 +1936,11 @@ export namespace appengine_v1alpha { get( params: Params$Resource$Apps$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1950,7 +1969,10 @@ export namespace appengine_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2004,11 +2026,11 @@ export namespace appengine_v1alpha { list( params: Params$Resource$Apps$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2041,8 +2063,8 @@ export namespace appengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2139,11 +2161,11 @@ export namespace appengine_v1alpha { get( params: Params$Resource$Apps$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2172,7 +2194,10 @@ export namespace appengine_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2226,11 +2251,11 @@ export namespace appengine_v1alpha { list( params: Params$Resource$Apps$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2263,8 +2288,8 @@ export namespace appengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2374,11 +2399,11 @@ export namespace appengine_v1alpha { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2407,7 +2432,10 @@ export namespace appengine_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2461,11 +2489,11 @@ export namespace appengine_v1alpha { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2498,8 +2526,8 @@ export namespace appengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2608,11 +2636,11 @@ export namespace appengine_v1alpha { list( params: Params$Resource$Projects$Locations$Applications$Authorizeddomains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Applications$Authorizeddomains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Applications$Authorizeddomains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2647,8 +2675,8 @@ export namespace appengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Authorizeddomains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2737,11 +2765,11 @@ export namespace appengine_v1alpha { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2770,7 +2798,10 @@ export namespace appengine_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2825,11 +2856,11 @@ export namespace appengine_v1alpha { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2862,8 +2893,8 @@ export namespace appengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/appengine/v1beta.ts b/src/apis/appengine/v1beta.ts index 4049da7d604..c0ef75a939d 100644 --- a/src/apis/appengine/v1beta.ts +++ b/src/apis/appengine/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1960,11 +1960,11 @@ export namespace appengine_v1beta { create( params: Params$Resource$Apps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1993,7 +1993,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2044,11 +2047,11 @@ export namespace appengine_v1beta { get( params: Params$Resource$Apps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2077,7 +2080,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2131,11 +2137,11 @@ export namespace appengine_v1beta { listRuntimes( params: Params$Resource$Apps$Listruntimes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRuntimes( params?: Params$Resource$Apps$Listruntimes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listRuntimes( params: Params$Resource$Apps$Listruntimes, options: StreamMethodOptions | BodyResponseCallback, @@ -2170,8 +2176,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Listruntimes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2226,11 +2232,11 @@ export namespace appengine_v1beta { patch( params: Params$Resource$Apps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2259,7 +2265,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2313,11 +2322,11 @@ export namespace appengine_v1beta { repair( params: Params$Resource$Apps$Repair, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; repair( params?: Params$Resource$Apps$Repair, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; repair( params: Params$Resource$Apps$Repair, options: StreamMethodOptions | BodyResponseCallback, @@ -2346,7 +2355,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Repair; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2461,11 +2473,11 @@ export namespace appengine_v1beta { create( params: Params$Resource$Apps$Authorizedcertificates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Authorizedcertificates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Authorizedcertificates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2498,8 +2510,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2553,11 +2565,11 @@ export namespace appengine_v1beta { delete( params: Params$Resource$Apps$Authorizedcertificates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Authorizedcertificates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Authorizedcertificates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2586,7 +2598,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2641,11 +2656,11 @@ export namespace appengine_v1beta { get( params: Params$Resource$Apps$Authorizedcertificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Authorizedcertificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Authorizedcertificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2678,8 +2693,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2734,11 +2749,13 @@ export namespace appengine_v1beta { list( params: Params$Resource$Apps$Authorizedcertificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Authorizedcertificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Apps$Authorizedcertificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2773,8 +2790,10 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2830,11 +2849,11 @@ export namespace appengine_v1beta { patch( params: Params$Resource$Apps$Authorizedcertificates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Authorizedcertificates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Authorizedcertificates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2867,8 +2886,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizedcertificates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3008,11 +3027,11 @@ export namespace appengine_v1beta { list( params: Params$Resource$Apps$Authorizeddomains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Authorizeddomains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Authorizeddomains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3047,8 +3066,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Authorizeddomains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3128,11 +3147,11 @@ export namespace appengine_v1beta { create( params: Params$Resource$Apps$Domainmappings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Domainmappings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Domainmappings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3161,7 +3180,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3216,11 +3238,11 @@ export namespace appengine_v1beta { delete( params: Params$Resource$Apps$Domainmappings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Domainmappings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Domainmappings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3249,7 +3271,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3304,11 +3329,11 @@ export namespace appengine_v1beta { get( params: Params$Resource$Apps$Domainmappings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Domainmappings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Domainmappings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3337,7 +3362,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3392,11 +3420,11 @@ export namespace appengine_v1beta { list( params: Params$Resource$Apps$Domainmappings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Domainmappings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Domainmappings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3431,8 +3459,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3487,11 +3515,11 @@ export namespace appengine_v1beta { patch( params: Params$Resource$Apps$Domainmappings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Domainmappings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Domainmappings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3520,7 +3548,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Domainmappings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3665,11 +3696,11 @@ export namespace appengine_v1beta { batchUpdate( params: Params$Resource$Apps$Firewall$Ingressrules$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Apps$Firewall$Ingressrules$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Apps$Firewall$Ingressrules$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -3704,8 +3735,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3762,11 +3793,11 @@ export namespace appengine_v1beta { create( params: Params$Resource$Apps$Firewall$Ingressrules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Firewall$Ingressrules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Firewall$Ingressrules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3795,7 +3826,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3849,11 +3883,11 @@ export namespace appengine_v1beta { delete( params: Params$Resource$Apps$Firewall$Ingressrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Firewall$Ingressrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Firewall$Ingressrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3882,7 +3916,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3937,11 +3974,11 @@ export namespace appengine_v1beta { get( params: Params$Resource$Apps$Firewall$Ingressrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Firewall$Ingressrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Firewall$Ingressrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3970,7 +4007,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4025,11 +4065,11 @@ export namespace appengine_v1beta { list( params: Params$Resource$Apps$Firewall$Ingressrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Firewall$Ingressrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Firewall$Ingressrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4062,8 +4102,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4117,11 +4157,11 @@ export namespace appengine_v1beta { patch( params: Params$Resource$Apps$Firewall$Ingressrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Firewall$Ingressrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Firewall$Ingressrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4150,7 +4190,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Firewall$Ingressrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4298,11 +4341,11 @@ export namespace appengine_v1beta { get( params: Params$Resource$Apps$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4331,7 +4374,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4385,11 +4431,11 @@ export namespace appengine_v1beta { list( params: Params$Resource$Apps$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4422,8 +4468,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4520,11 +4566,11 @@ export namespace appengine_v1beta { get( params: Params$Resource$Apps$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4553,7 +4599,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4607,11 +4656,11 @@ export namespace appengine_v1beta { list( params: Params$Resource$Apps$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4644,8 +4693,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4740,11 +4789,11 @@ export namespace appengine_v1beta { delete( params: Params$Resource$Apps$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4773,7 +4822,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4827,11 +4879,11 @@ export namespace appengine_v1beta { get( params: Params$Resource$Apps$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4860,7 +4912,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4914,11 +4969,11 @@ export namespace appengine_v1beta { list( params: Params$Resource$Apps$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4951,8 +5006,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5007,11 +5062,11 @@ export namespace appengine_v1beta { patch( params: Params$Resource$Apps$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5040,7 +5095,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5171,11 +5229,11 @@ export namespace appengine_v1beta { create( params: Params$Resource$Apps$Services$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Services$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Apps$Services$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5204,7 +5262,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5258,11 +5319,11 @@ export namespace appengine_v1beta { delete( params: Params$Resource$Apps$Services$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Services$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Services$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5291,7 +5352,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5346,11 +5410,11 @@ export namespace appengine_v1beta { get( params: Params$Resource$Apps$Services$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Services$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Services$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5379,7 +5443,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5434,11 +5501,11 @@ export namespace appengine_v1beta { list( params: Params$Resource$Apps$Services$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Services$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Services$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5471,8 +5538,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5526,11 +5593,11 @@ export namespace appengine_v1beta { patch( params: Params$Resource$Apps$Services$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Apps$Services$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Apps$Services$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5559,7 +5626,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5723,11 +5793,11 @@ export namespace appengine_v1beta { debug( params: Params$Resource$Apps$Services$Versions$Instances$Debug, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; debug( params?: Params$Resource$Apps$Services$Versions$Instances$Debug, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; debug( params: Params$Resource$Apps$Services$Versions$Instances$Debug, options: StreamMethodOptions | BodyResponseCallback, @@ -5756,7 +5826,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Instances$Debug; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5811,11 +5884,11 @@ export namespace appengine_v1beta { delete( params: Params$Resource$Apps$Services$Versions$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Apps$Services$Versions$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Apps$Services$Versions$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5844,7 +5917,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5899,11 +5975,11 @@ export namespace appengine_v1beta { get( params: Params$Resource$Apps$Services$Versions$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Services$Versions$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Services$Versions$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5932,7 +6008,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5987,11 +6066,11 @@ export namespace appengine_v1beta { list( params: Params$Resource$Apps$Services$Versions$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$Services$Versions$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$Services$Versions$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6024,8 +6103,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Services$Versions$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6190,11 +6269,11 @@ export namespace appengine_v1beta { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6223,7 +6302,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6277,11 +6359,11 @@ export namespace appengine_v1beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6314,8 +6396,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6421,11 +6503,11 @@ export namespace appengine_v1beta { patch( params: Params$Resource$Projects$Locations$Applications$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Applications$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Applications$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6454,7 +6536,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6541,11 +6626,11 @@ export namespace appengine_v1beta { list( params: Params$Resource$Projects$Locations$Applications$Authorizeddomains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Applications$Authorizeddomains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Applications$Authorizeddomains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6580,8 +6665,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Authorizeddomains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6675,11 +6760,11 @@ export namespace appengine_v1beta { delete( params: Params$Resource$Projects$Locations$Applications$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Applications$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Applications$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6708,7 +6793,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6801,11 +6889,11 @@ export namespace appengine_v1beta { delete( params: Params$Resource$Projects$Locations$Applications$Services$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Applications$Services$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Applications$Services$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6834,7 +6922,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6902,11 +6993,11 @@ export namespace appengine_v1beta { patch( params: Params$Resource$Projects$Locations$Applications$Services$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Applications$Services$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Applications$Services$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6935,7 +7026,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7066,11 +7160,11 @@ export namespace appengine_v1beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7099,7 +7193,10 @@ export namespace appengine_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7154,11 +7251,11 @@ export namespace appengine_v1beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7191,8 +7288,8 @@ export namespace appengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/apphub/index.ts b/src/apis/apphub/index.ts index 23978a161f6..b6cb6ceaaa5 100644 --- a/src/apis/apphub/index.ts +++ b/src/apis/apphub/index.ts @@ -47,7 +47,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/apphub/package.json b/src/apis/apphub/package.json index 4966b78cd46..3e7fe42bb26 100644 --- a/src/apis/apphub/package.json +++ b/src/apis/apphub/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/apphub/v1.ts b/src/apis/apphub/v1.ts index f14e7489d36..61b02a30c38 100644 --- a/src/apis/apphub/v1.ts +++ b/src/apis/apphub/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -883,11 +883,13 @@ export namespace apphub_v1 { detachServiceProjectAttachment( params: Params$Resource$Projects$Locations$Detachserviceprojectattachment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachServiceProjectAttachment( params?: Params$Resource$Projects$Locations$Detachserviceprojectattachment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detachServiceProjectAttachment( params: Params$Resource$Projects$Locations$Detachserviceprojectattachment, options: StreamMethodOptions | BodyResponseCallback, @@ -922,8 +924,10 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Detachserviceprojectattachment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -980,11 +984,11 @@ export namespace apphub_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1013,7 +1017,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1065,11 +1072,11 @@ export namespace apphub_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1102,8 +1109,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1158,11 +1165,13 @@ export namespace apphub_v1 { lookupServiceProjectAttachment( params: Params$Resource$Projects$Locations$Lookupserviceprojectattachment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupServiceProjectAttachment( params?: Params$Resource$Projects$Locations$Lookupserviceprojectattachment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; lookupServiceProjectAttachment( params: Params$Resource$Projects$Locations$Lookupserviceprojectattachment, options: StreamMethodOptions | BodyResponseCallback, @@ -1197,8 +1206,10 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lookupserviceprojectattachment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1320,11 +1331,11 @@ export namespace apphub_v1 { create( params: Params$Resource$Projects$Locations$Applications$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Applications$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Applications$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1353,7 +1364,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1408,11 +1422,11 @@ export namespace apphub_v1 { delete( params: Params$Resource$Projects$Locations$Applications$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Applications$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Applications$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1441,7 +1455,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1493,11 +1510,11 @@ export namespace apphub_v1 { get( params: Params$Resource$Projects$Locations$Applications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Applications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Applications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1526,7 +1543,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1578,11 +1598,11 @@ export namespace apphub_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Applications$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Applications$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Applications$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1611,7 +1631,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1667,11 +1690,11 @@ export namespace apphub_v1 { list( params: Params$Resource$Projects$Locations$Applications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Applications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Applications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1704,8 +1727,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1760,11 +1783,11 @@ export namespace apphub_v1 { patch( params: Params$Resource$Projects$Locations$Applications$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Applications$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Applications$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1793,7 +1816,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1845,11 +1871,11 @@ export namespace apphub_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Applications$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Applications$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Applications$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1878,7 +1904,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1934,11 +1963,11 @@ export namespace apphub_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Applications$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Applications$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Applications$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1973,8 +2002,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2154,11 +2183,11 @@ export namespace apphub_v1 { create( params: Params$Resource$Projects$Locations$Applications$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Applications$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Applications$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2187,7 +2216,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2243,11 +2275,11 @@ export namespace apphub_v1 { delete( params: Params$Resource$Projects$Locations$Applications$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Applications$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Applications$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2276,7 +2308,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2329,11 +2364,11 @@ export namespace apphub_v1 { get( params: Params$Resource$Projects$Locations$Applications$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Applications$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Applications$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2362,7 +2397,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2415,11 +2453,11 @@ export namespace apphub_v1 { list( params: Params$Resource$Projects$Locations$Applications$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Applications$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Applications$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2452,8 +2490,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2509,11 +2547,11 @@ export namespace apphub_v1 { patch( params: Params$Resource$Projects$Locations$Applications$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Applications$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Applications$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2542,7 +2580,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2684,11 +2725,11 @@ export namespace apphub_v1 { create( params: Params$Resource$Projects$Locations$Applications$Workloads$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Applications$Workloads$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Applications$Workloads$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2717,7 +2758,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Workloads$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2773,11 +2817,11 @@ export namespace apphub_v1 { delete( params: Params$Resource$Projects$Locations$Applications$Workloads$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Applications$Workloads$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Applications$Workloads$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2806,7 +2850,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Workloads$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2859,11 +2906,11 @@ export namespace apphub_v1 { get( params: Params$Resource$Projects$Locations$Applications$Workloads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Applications$Workloads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Applications$Workloads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2892,7 +2939,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Workloads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2945,11 +2995,11 @@ export namespace apphub_v1 { list( params: Params$Resource$Projects$Locations$Applications$Workloads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Applications$Workloads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Applications$Workloads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2982,8 +3032,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Workloads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3039,11 +3089,11 @@ export namespace apphub_v1 { patch( params: Params$Resource$Projects$Locations$Applications$Workloads$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Applications$Workloads$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Applications$Workloads$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3072,7 +3122,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Workloads$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3214,11 +3267,11 @@ export namespace apphub_v1 { get( params: Params$Resource$Projects$Locations$Discoveredservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Discoveredservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Discoveredservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3249,8 +3302,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3303,11 +3356,11 @@ export namespace apphub_v1 { list( params: Params$Resource$Projects$Locations$Discoveredservices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Discoveredservices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Discoveredservices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3342,8 +3395,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredservices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3401,11 +3454,11 @@ export namespace apphub_v1 { lookup( params: Params$Resource$Projects$Locations$Discoveredservices$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Projects$Locations$Discoveredservices$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Projects$Locations$Discoveredservices$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -3440,8 +3493,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredservices$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3548,11 +3601,11 @@ export namespace apphub_v1 { get( params: Params$Resource$Projects$Locations$Discoveredworkloads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Discoveredworkloads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Discoveredworkloads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3583,8 +3636,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredworkloads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3637,11 +3690,11 @@ export namespace apphub_v1 { list( params: Params$Resource$Projects$Locations$Discoveredworkloads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Discoveredworkloads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Discoveredworkloads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3676,8 +3729,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredworkloads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3735,11 +3788,13 @@ export namespace apphub_v1 { lookup( params: Params$Resource$Projects$Locations$Discoveredworkloads$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Projects$Locations$Discoveredworkloads$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; lookup( params: Params$Resource$Projects$Locations$Discoveredworkloads$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -3774,8 +3829,10 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredworkloads$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3882,11 +3939,11 @@ export namespace apphub_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3915,7 +3972,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3967,11 +4027,11 @@ export namespace apphub_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4000,7 +4060,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4052,11 +4115,11 @@ export namespace apphub_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4085,7 +4148,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4137,11 +4203,11 @@ export namespace apphub_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4174,8 +4240,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4283,11 +4349,11 @@ export namespace apphub_v1 { create( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Serviceprojectattachments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4316,7 +4382,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceprojectattachments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4372,11 +4441,11 @@ export namespace apphub_v1 { delete( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Serviceprojectattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4405,7 +4474,10 @@ export namespace apphub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceprojectattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4458,11 +4530,11 @@ export namespace apphub_v1 { get( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Serviceprojectattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4495,8 +4567,8 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceprojectattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4549,11 +4621,13 @@ export namespace apphub_v1 { list( params: Params$Resource$Projects$Locations$Serviceprojectattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Serviceprojectattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Serviceprojectattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4588,8 +4662,10 @@ export namespace apphub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceprojectattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/apphub/v1alpha.ts b/src/apis/apphub/v1alpha.ts index ff707ad01ea..2f7d7d64e76 100644 --- a/src/apis/apphub/v1alpha.ts +++ b/src/apis/apphub/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -933,11 +933,13 @@ export namespace apphub_v1alpha { detachServiceProjectAttachment( params: Params$Resource$Projects$Locations$Detachserviceprojectattachment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachServiceProjectAttachment( params?: Params$Resource$Projects$Locations$Detachserviceprojectattachment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detachServiceProjectAttachment( params: Params$Resource$Projects$Locations$Detachserviceprojectattachment, options: StreamMethodOptions | BodyResponseCallback, @@ -972,8 +974,10 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Detachserviceprojectattachment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1030,11 +1034,11 @@ export namespace apphub_v1alpha { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1063,7 +1067,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1115,11 +1122,11 @@ export namespace apphub_v1alpha { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1152,8 +1159,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1208,11 +1215,13 @@ export namespace apphub_v1alpha { lookupServiceProjectAttachment( params: Params$Resource$Projects$Locations$Lookupserviceprojectattachment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupServiceProjectAttachment( params?: Params$Resource$Projects$Locations$Lookupserviceprojectattachment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; lookupServiceProjectAttachment( params: Params$Resource$Projects$Locations$Lookupserviceprojectattachment, options: StreamMethodOptions | BodyResponseCallback, @@ -1247,8 +1256,10 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lookupserviceprojectattachment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1370,11 +1381,11 @@ export namespace apphub_v1alpha { create( params: Params$Resource$Projects$Locations$Applications$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Applications$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Applications$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1403,7 +1414,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1458,11 +1472,11 @@ export namespace apphub_v1alpha { delete( params: Params$Resource$Projects$Locations$Applications$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Applications$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Applications$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1491,7 +1505,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1543,11 +1560,11 @@ export namespace apphub_v1alpha { get( params: Params$Resource$Projects$Locations$Applications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Applications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Applications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1576,7 +1593,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1628,11 +1648,11 @@ export namespace apphub_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Applications$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Applications$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Applications$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1661,7 +1681,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1717,11 +1740,11 @@ export namespace apphub_v1alpha { list( params: Params$Resource$Projects$Locations$Applications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Applications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Applications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1754,8 +1777,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1810,11 +1833,11 @@ export namespace apphub_v1alpha { patch( params: Params$Resource$Projects$Locations$Applications$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Applications$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Applications$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1843,7 +1866,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1895,11 +1921,11 @@ export namespace apphub_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Applications$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Applications$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Applications$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1928,7 +1954,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1984,11 +2013,11 @@ export namespace apphub_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Applications$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Applications$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Applications$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2023,8 +2052,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2204,11 +2233,11 @@ export namespace apphub_v1alpha { create( params: Params$Resource$Projects$Locations$Applications$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Applications$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Applications$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2237,7 +2266,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2293,11 +2325,11 @@ export namespace apphub_v1alpha { delete( params: Params$Resource$Projects$Locations$Applications$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Applications$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Applications$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2326,7 +2358,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2379,11 +2414,11 @@ export namespace apphub_v1alpha { get( params: Params$Resource$Projects$Locations$Applications$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Applications$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Applications$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2412,7 +2447,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2465,11 +2503,11 @@ export namespace apphub_v1alpha { list( params: Params$Resource$Projects$Locations$Applications$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Applications$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Applications$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2502,8 +2540,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2559,11 +2597,11 @@ export namespace apphub_v1alpha { patch( params: Params$Resource$Projects$Locations$Applications$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Applications$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Applications$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2592,7 +2630,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2734,11 +2775,11 @@ export namespace apphub_v1alpha { create( params: Params$Resource$Projects$Locations$Applications$Workloads$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Applications$Workloads$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Applications$Workloads$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2767,7 +2808,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Workloads$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2823,11 +2867,11 @@ export namespace apphub_v1alpha { delete( params: Params$Resource$Projects$Locations$Applications$Workloads$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Applications$Workloads$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Applications$Workloads$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2856,7 +2900,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Workloads$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2909,11 +2956,11 @@ export namespace apphub_v1alpha { get( params: Params$Resource$Projects$Locations$Applications$Workloads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Applications$Workloads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Applications$Workloads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2942,7 +2989,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Workloads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2995,11 +3045,11 @@ export namespace apphub_v1alpha { list( params: Params$Resource$Projects$Locations$Applications$Workloads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Applications$Workloads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Applications$Workloads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3032,8 +3082,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Workloads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3089,11 +3139,11 @@ export namespace apphub_v1alpha { patch( params: Params$Resource$Projects$Locations$Applications$Workloads$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Applications$Workloads$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Applications$Workloads$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3122,7 +3172,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Workloads$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3264,11 +3317,13 @@ export namespace apphub_v1alpha { findUnregistered( params: Params$Resource$Projects$Locations$Discoveredservices$Findunregistered, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; findUnregistered( params?: Params$Resource$Projects$Locations$Discoveredservices$Findunregistered, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; findUnregistered( params: Params$Resource$Projects$Locations$Discoveredservices$Findunregistered, options: StreamMethodOptions | BodyResponseCallback, @@ -3303,8 +3358,10 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredservices$Findunregistered; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3361,11 +3418,11 @@ export namespace apphub_v1alpha { get( params: Params$Resource$Projects$Locations$Discoveredservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Discoveredservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Discoveredservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3396,8 +3453,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3450,11 +3507,11 @@ export namespace apphub_v1alpha { list( params: Params$Resource$Projects$Locations$Discoveredservices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Discoveredservices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Discoveredservices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3489,8 +3546,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredservices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3548,11 +3605,11 @@ export namespace apphub_v1alpha { lookup( params: Params$Resource$Projects$Locations$Discoveredservices$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Projects$Locations$Discoveredservices$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Projects$Locations$Discoveredservices$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -3587,8 +3644,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredservices$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3717,11 +3774,13 @@ export namespace apphub_v1alpha { findUnregistered( params: Params$Resource$Projects$Locations$Discoveredworkloads$Findunregistered, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; findUnregistered( params?: Params$Resource$Projects$Locations$Discoveredworkloads$Findunregistered, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; findUnregistered( params: Params$Resource$Projects$Locations$Discoveredworkloads$Findunregistered, options: StreamMethodOptions | BodyResponseCallback, @@ -3756,8 +3815,10 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredworkloads$Findunregistered; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3815,11 +3876,11 @@ export namespace apphub_v1alpha { get( params: Params$Resource$Projects$Locations$Discoveredworkloads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Discoveredworkloads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Discoveredworkloads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3850,8 +3911,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredworkloads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3904,11 +3965,11 @@ export namespace apphub_v1alpha { list( params: Params$Resource$Projects$Locations$Discoveredworkloads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Discoveredworkloads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Discoveredworkloads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3943,8 +4004,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredworkloads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4002,11 +4063,13 @@ export namespace apphub_v1alpha { lookup( params: Params$Resource$Projects$Locations$Discoveredworkloads$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Projects$Locations$Discoveredworkloads$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; lookup( params: Params$Resource$Projects$Locations$Discoveredworkloads$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -4041,8 +4104,10 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredworkloads$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4171,11 +4236,11 @@ export namespace apphub_v1alpha { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4204,7 +4269,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4259,11 +4327,11 @@ export namespace apphub_v1alpha { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4292,7 +4360,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4344,11 +4415,11 @@ export namespace apphub_v1alpha { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4377,7 +4448,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4429,11 +4503,11 @@ export namespace apphub_v1alpha { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4466,8 +4540,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4575,11 +4649,11 @@ export namespace apphub_v1alpha { create( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Serviceprojectattachments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4608,7 +4682,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceprojectattachments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4663,11 +4740,11 @@ export namespace apphub_v1alpha { delete( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Serviceprojectattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4696,7 +4773,10 @@ export namespace apphub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceprojectattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4749,11 +4829,11 @@ export namespace apphub_v1alpha { get( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Serviceprojectattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Serviceprojectattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4786,8 +4866,8 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceprojectattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4840,11 +4920,13 @@ export namespace apphub_v1alpha { list( params: Params$Resource$Projects$Locations$Serviceprojectattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Serviceprojectattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Serviceprojectattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4879,8 +4961,10 @@ export namespace apphub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceprojectattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/appsactivity/index.ts b/src/apis/appsactivity/index.ts index 7b41566bf2f..f2d9c20115a 100644 --- a/src/apis/appsactivity/index.ts +++ b/src/apis/appsactivity/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/appsactivity/package.json b/src/apis/appsactivity/package.json index 3f57f03ba50..2135f7cfa03 100644 --- a/src/apis/appsactivity/package.json +++ b/src/apis/appsactivity/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/appsactivity/v1.ts b/src/apis/appsactivity/v1.ts index c6e7a5a1577..785ca7ab224 100644 --- a/src/apis/appsactivity/v1.ts +++ b/src/apis/appsactivity/v1.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -396,11 +396,11 @@ export namespace appsactivity_v1 { list( params: Params$Resource$Activities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Activities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Activities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -433,8 +433,8 @@ export namespace appsactivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Activities$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/area120tables/index.ts b/src/apis/area120tables/index.ts index 5dea7d1c526..b0d527ecd8f 100644 --- a/src/apis/area120tables/index.ts +++ b/src/apis/area120tables/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/area120tables/package.json b/src/apis/area120tables/package.json index 04e8b96afca..210b5b39217 100644 --- a/src/apis/area120tables/package.json +++ b/src/apis/area120tables/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/area120tables/v1alpha1.ts b/src/apis/area120tables/v1alpha1.ts index af1b12d4918..7ac4c15ad96 100644 --- a/src/apis/area120tables/v1alpha1.ts +++ b/src/apis/area120tables/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -445,11 +445,11 @@ export namespace area120tables_v1alpha1 { get( params: Params$Resource$Tables$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Tables$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Tables$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -478,7 +478,10 @@ export namespace area120tables_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -530,11 +533,11 @@ export namespace area120tables_v1alpha1 { list( params: Params$Resource$Tables$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tables$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tables$List, options: StreamMethodOptions | BodyResponseCallback, @@ -565,8 +568,8 @@ export namespace area120tables_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -646,11 +649,11 @@ export namespace area120tables_v1alpha1 { batchCreate( params: Params$Resource$Tables$Rows$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Tables$Rows$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Tables$Rows$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -685,8 +688,8 @@ export namespace area120tables_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Rows$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -742,11 +745,11 @@ export namespace area120tables_v1alpha1 { batchDelete( params: Params$Resource$Tables$Rows$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Tables$Rows$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Tables$Rows$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -775,7 +778,10 @@ export namespace area120tables_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Rows$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -831,11 +837,11 @@ export namespace area120tables_v1alpha1 { batchUpdate( params: Params$Resource$Tables$Rows$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Tables$Rows$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Tables$Rows$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -870,8 +876,8 @@ export namespace area120tables_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Rows$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -927,11 +933,11 @@ export namespace area120tables_v1alpha1 { create( params: Params$Resource$Tables$Rows$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Tables$Rows$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Tables$Rows$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -960,7 +966,10 @@ export namespace area120tables_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Rows$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1016,11 +1025,11 @@ export namespace area120tables_v1alpha1 { delete( params: Params$Resource$Tables$Rows$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Tables$Rows$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Tables$Rows$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1049,7 +1058,10 @@ export namespace area120tables_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Rows$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1102,11 +1114,11 @@ export namespace area120tables_v1alpha1 { get( params: Params$Resource$Tables$Rows$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Tables$Rows$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Tables$Rows$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1135,7 +1147,10 @@ export namespace area120tables_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Rows$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1187,11 +1202,11 @@ export namespace area120tables_v1alpha1 { list( params: Params$Resource$Tables$Rows$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tables$Rows$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tables$Rows$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1220,7 +1235,10 @@ export namespace area120tables_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Rows$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1275,11 +1293,11 @@ export namespace area120tables_v1alpha1 { patch( params: Params$Resource$Tables$Rows$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Tables$Rows$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Tables$Rows$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1308,7 +1326,10 @@ export namespace area120tables_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Rows$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1484,11 +1505,11 @@ export namespace area120tables_v1alpha1 { get( params: Params$Resource$Workspaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Workspaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Workspaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1517,7 +1538,10 @@ export namespace area120tables_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Workspaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1569,11 +1593,11 @@ export namespace area120tables_v1alpha1 { list( params: Params$Resource$Workspaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Workspaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Workspaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1606,8 +1630,8 @@ export namespace area120tables_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Workspaces$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/areainsights/index.ts b/src/apis/areainsights/index.ts index de0f667e827..c827b8d0d9b 100644 --- a/src/apis/areainsights/index.ts +++ b/src/apis/areainsights/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/areainsights/package.json b/src/apis/areainsights/package.json index 5d9fe9e4fc4..7fe5c4244cb 100644 --- a/src/apis/areainsights/package.json +++ b/src/apis/areainsights/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/areainsights/v1.ts b/src/apis/areainsights/v1.ts index 1a234baa81f..9788d449067 100644 --- a/src/apis/areainsights/v1.ts +++ b/src/apis/areainsights/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -310,11 +310,11 @@ export namespace areainsights_v1 { computeInsights( params: Params$Resource$V1$Computeinsights, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeInsights( params?: Params$Resource$V1$Computeinsights, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; computeInsights( params: Params$Resource$V1$Computeinsights, options: StreamMethodOptions | BodyResponseCallback, @@ -349,8 +349,8 @@ export namespace areainsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Computeinsights; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/artifactregistry/index.ts b/src/apis/artifactregistry/index.ts index 6ce5587c8df..7f536baf17f 100644 --- a/src/apis/artifactregistry/index.ts +++ b/src/apis/artifactregistry/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/artifactregistry/package.json b/src/apis/artifactregistry/package.json index dad243571cc..23a9625994c 100644 --- a/src/apis/artifactregistry/package.json +++ b/src/apis/artifactregistry/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/artifactregistry/v1.ts b/src/apis/artifactregistry/v1.ts index 7437e4f1778..1126e195781 100644 --- a/src/apis/artifactregistry/v1.ts +++ b/src/apis/artifactregistry/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1723,11 +1723,11 @@ export namespace artifactregistry_v1 { getProjectSettings( params: Params$Resource$Projects$Getprojectsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getProjectSettings( params?: Params$Resource$Projects$Getprojectsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getProjectSettings( params: Params$Resource$Projects$Getprojectsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1758,7 +1758,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getprojectsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1811,11 +1814,11 @@ export namespace artifactregistry_v1 { updateProjectSettings( params: Params$Resource$Projects$Updateprojectsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateProjectSettings( params?: Params$Resource$Projects$Updateprojectsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateProjectSettings( params: Params$Resource$Projects$Updateprojectsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1846,7 +1849,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updateprojectsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1938,11 +1944,11 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1971,7 +1977,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2024,11 +2033,11 @@ export namespace artifactregistry_v1 { getVpcscConfig( params: Params$Resource$Projects$Locations$Getvpcscconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVpcscConfig( params?: Params$Resource$Projects$Locations$Getvpcscconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getVpcscConfig( params: Params$Resource$Projects$Locations$Getvpcscconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2057,7 +2066,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getvpcscconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2110,11 +2122,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2147,8 +2159,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2204,11 +2216,11 @@ export namespace artifactregistry_v1 { updateVpcscConfig( params: Params$Resource$Projects$Locations$Updatevpcscconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateVpcscConfig( params?: Params$Resource$Projects$Locations$Updatevpcscconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateVpcscConfig( params: Params$Resource$Projects$Locations$Updatevpcscconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2237,7 +2249,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatevpcscconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2351,11 +2366,11 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2384,7 +2399,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2506,11 +2524,11 @@ export namespace artifactregistry_v1 { create( params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2539,7 +2557,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2595,11 +2616,11 @@ export namespace artifactregistry_v1 { delete( params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2628,7 +2649,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2681,11 +2705,11 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2714,7 +2738,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2767,11 +2794,11 @@ export namespace artifactregistry_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2800,7 +2827,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2857,11 +2887,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2894,8 +2924,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2951,11 +2981,11 @@ export namespace artifactregistry_v1 { patch( params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2984,7 +3014,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3037,11 +3070,11 @@ export namespace artifactregistry_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3070,7 +3103,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3127,11 +3163,11 @@ export namespace artifactregistry_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3166,8 +3202,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3336,11 +3372,11 @@ export namespace artifactregistry_v1 { import( params: Params$Resource$Projects$Locations$Repositories$Aptartifacts$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Repositories$Aptartifacts$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Repositories$Aptartifacts$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -3369,7 +3405,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Aptartifacts$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3426,11 +3465,11 @@ export namespace artifactregistry_v1 { upload( params: Params$Resource$Projects$Locations$Repositories$Aptartifacts$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Locations$Repositories$Aptartifacts$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Projects$Locations$Repositories$Aptartifacts$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -3465,8 +3504,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Aptartifacts$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3575,11 +3614,11 @@ export namespace artifactregistry_v1 { create( params: Params$Resource$Projects$Locations$Repositories$Attachments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Attachments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Attachments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3608,7 +3647,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Attachments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3665,11 +3707,11 @@ export namespace artifactregistry_v1 { delete( params: Params$Resource$Projects$Locations$Repositories$Attachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Attachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Attachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3698,7 +3740,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Attachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3752,11 +3797,11 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Repositories$Attachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Attachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Attachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3785,7 +3830,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Attachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3839,11 +3887,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$Repositories$Attachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Attachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Attachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3876,8 +3924,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Attachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3991,11 +4039,11 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Repositories$Dockerimages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Dockerimages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Dockerimages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4024,7 +4072,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Dockerimages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4078,11 +4129,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$Repositories$Dockerimages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Dockerimages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Dockerimages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4115,8 +4166,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Dockerimages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4207,11 +4258,11 @@ export namespace artifactregistry_v1 { delete( params: Params$Resource$Projects$Locations$Repositories$Files$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Files$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Files$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4240,7 +4291,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Files$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4294,11 +4348,11 @@ export namespace artifactregistry_v1 { download( params: Params$Resource$Projects$Locations$Repositories$Files$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Projects$Locations$Repositories$Files$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Projects$Locations$Repositories$Files$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -4331,8 +4385,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Files$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4389,11 +4443,13 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Repositories$Files$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Files$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Repositories$Files$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4428,8 +4484,10 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Files$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4485,11 +4543,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$Repositories$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4520,8 +4578,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4578,11 +4636,13 @@ export namespace artifactregistry_v1 { patch( params: Params$Resource$Projects$Locations$Repositories$Files$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Files$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Repositories$Files$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4617,8 +4677,10 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Files$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4674,11 +4736,11 @@ export namespace artifactregistry_v1 { upload( params: Params$Resource$Projects$Locations$Repositories$Files$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Locations$Repositories$Files$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Projects$Locations$Repositories$Files$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -4713,8 +4775,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Files$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4870,11 +4932,13 @@ export namespace artifactregistry_v1 { upload( params: Params$Resource$Projects$Locations$Repositories$Genericartifacts$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Locations$Repositories$Genericartifacts$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; upload( params: Params$Resource$Projects$Locations$Repositories$Genericartifacts$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -4909,8 +4973,10 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Genericartifacts$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5007,11 +5073,11 @@ export namespace artifactregistry_v1 { upload( params: Params$Resource$Projects$Locations$Repositories$Gomodules$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Locations$Repositories$Gomodules$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Projects$Locations$Repositories$Gomodules$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -5046,8 +5112,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Gomodules$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5143,11 +5209,11 @@ export namespace artifactregistry_v1 { import( params: Params$Resource$Projects$Locations$Repositories$Googetartifacts$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Repositories$Googetartifacts$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Repositories$Googetartifacts$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -5176,7 +5242,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Googetartifacts$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5233,11 +5302,13 @@ export namespace artifactregistry_v1 { upload( params: Params$Resource$Projects$Locations$Repositories$Googetartifacts$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Locations$Repositories$Googetartifacts$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; upload( params: Params$Resource$Projects$Locations$Repositories$Googetartifacts$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -5272,8 +5343,10 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Googetartifacts$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5382,11 +5455,11 @@ export namespace artifactregistry_v1 { upload( params: Params$Resource$Projects$Locations$Repositories$Kfpartifacts$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Locations$Repositories$Kfpartifacts$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Projects$Locations$Repositories$Kfpartifacts$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -5421,8 +5494,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Kfpartifacts$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5519,11 +5592,11 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Repositories$Mavenartifacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Mavenartifacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Mavenartifacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5552,7 +5625,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Mavenartifacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5606,11 +5682,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$Repositories$Mavenartifacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Mavenartifacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Mavenartifacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5645,8 +5721,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Mavenartifacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5733,11 +5809,11 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Repositories$Npmpackages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Npmpackages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Npmpackages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5766,7 +5842,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Npmpackages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5820,11 +5899,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$Repositories$Npmpackages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Npmpackages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Npmpackages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5857,8 +5936,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Npmpackages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5954,11 +6033,11 @@ export namespace artifactregistry_v1 { delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Packages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5987,7 +6066,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6041,11 +6123,11 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Repositories$Packages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Packages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Packages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6074,7 +6156,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6128,11 +6213,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$Repositories$Packages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Packages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Packages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6165,8 +6250,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6223,11 +6308,11 @@ export namespace artifactregistry_v1 { patch( params: Params$Resource$Projects$Locations$Repositories$Packages$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Packages$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Repositories$Packages$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6256,7 +6341,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6371,11 +6459,11 @@ export namespace artifactregistry_v1 { create( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6404,7 +6492,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6458,11 +6549,11 @@ export namespace artifactregistry_v1 { delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6491,7 +6582,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6545,11 +6639,11 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6578,7 +6672,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6632,11 +6729,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6665,7 +6762,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6719,11 +6819,11 @@ export namespace artifactregistry_v1 { patch( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6752,7 +6852,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6879,11 +6982,11 @@ export namespace artifactregistry_v1 { batchDelete( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -6912,7 +7015,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Versions$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6969,11 +7075,11 @@ export namespace artifactregistry_v1 { delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7002,7 +7108,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7056,11 +7165,11 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7089,7 +7198,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7143,11 +7255,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Packages$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7180,8 +7292,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7238,11 +7350,11 @@ export namespace artifactregistry_v1 { patch( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7271,7 +7383,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7410,11 +7525,11 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Repositories$Pythonpackages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Pythonpackages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Pythonpackages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7443,7 +7558,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Pythonpackages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7497,11 +7615,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$Repositories$Pythonpackages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Pythonpackages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Pythonpackages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7536,8 +7654,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Pythonpackages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7624,11 +7742,13 @@ export namespace artifactregistry_v1 { create( params: Params$Resource$Projects$Locations$Repositories$Rules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Rules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Repositories$Rules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7663,8 +7783,10 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Rules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7723,11 +7845,11 @@ export namespace artifactregistry_v1 { delete( params: Params$Resource$Projects$Locations$Repositories$Rules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Rules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Rules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7756,7 +7878,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Rules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7810,11 +7935,13 @@ export namespace artifactregistry_v1 { get( params: Params$Resource$Projects$Locations$Repositories$Rules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Rules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Repositories$Rules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7849,8 +7976,10 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Rules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7906,11 +8035,11 @@ export namespace artifactregistry_v1 { list( params: Params$Resource$Projects$Locations$Repositories$Rules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Rules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Rules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7941,8 +8070,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Rules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7999,11 +8128,13 @@ export namespace artifactregistry_v1 { patch( params: Params$Resource$Projects$Locations$Repositories$Rules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Rules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Repositories$Rules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8038,8 +8169,10 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Rules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8164,11 +8297,11 @@ export namespace artifactregistry_v1 { import( params: Params$Resource$Projects$Locations$Repositories$Yumartifacts$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Repositories$Yumartifacts$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Repositories$Yumartifacts$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -8197,7 +8330,10 @@ export namespace artifactregistry_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Yumartifacts$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8254,11 +8390,11 @@ export namespace artifactregistry_v1 { upload( params: Params$Resource$Projects$Locations$Repositories$Yumartifacts$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Locations$Repositories$Yumartifacts$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Projects$Locations$Repositories$Yumartifacts$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -8293,8 +8429,8 @@ export namespace artifactregistry_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Yumartifacts$Upload; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/artifactregistry/v1beta1.ts b/src/apis/artifactregistry/v1beta1.ts index 8635dc7b1fb..c29545b4df7 100644 --- a/src/apis/artifactregistry/v1beta1.ts +++ b/src/apis/artifactregistry/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -536,11 +536,11 @@ export namespace artifactregistry_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -569,7 +569,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -622,11 +625,11 @@ export namespace artifactregistry_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -659,8 +662,8 @@ export namespace artifactregistry_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -754,11 +757,11 @@ export namespace artifactregistry_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -787,7 +790,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -863,11 +869,11 @@ export namespace artifactregistry_v1beta1 { create( params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -896,7 +902,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -952,11 +961,11 @@ export namespace artifactregistry_v1beta1 { delete( params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -985,7 +994,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1038,11 +1050,11 @@ export namespace artifactregistry_v1beta1 { get( params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1071,7 +1083,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1124,11 +1139,11 @@ export namespace artifactregistry_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1157,7 +1172,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1214,11 +1232,11 @@ export namespace artifactregistry_v1beta1 { list( params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1251,8 +1269,8 @@ export namespace artifactregistry_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1308,11 +1326,11 @@ export namespace artifactregistry_v1beta1 { patch( params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1341,7 +1359,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1394,11 +1415,11 @@ export namespace artifactregistry_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1427,7 +1448,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1484,11 +1508,11 @@ export namespace artifactregistry_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1523,8 +1547,8 @@ export namespace artifactregistry_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1689,11 +1713,11 @@ export namespace artifactregistry_v1beta1 { get( params: Params$Resource$Projects$Locations$Repositories$Files$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Files$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Files$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1722,7 +1746,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Files$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1776,11 +1803,11 @@ export namespace artifactregistry_v1beta1 { list( params: Params$Resource$Projects$Locations$Repositories$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1811,8 +1838,8 @@ export namespace artifactregistry_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1912,11 +1939,11 @@ export namespace artifactregistry_v1beta1 { delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Packages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1945,7 +1972,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1999,11 +2029,11 @@ export namespace artifactregistry_v1beta1 { get( params: Params$Resource$Projects$Locations$Repositories$Packages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Packages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Packages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2032,7 +2062,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2086,11 +2119,11 @@ export namespace artifactregistry_v1beta1 { list( params: Params$Resource$Projects$Locations$Repositories$Packages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Packages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Packages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2123,8 +2156,8 @@ export namespace artifactregistry_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2222,11 +2255,11 @@ export namespace artifactregistry_v1beta1 { create( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2255,7 +2288,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2312,11 +2348,11 @@ export namespace artifactregistry_v1beta1 { delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2345,7 +2381,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2399,11 +2438,11 @@ export namespace artifactregistry_v1beta1 { get( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2432,7 +2471,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2486,11 +2528,11 @@ export namespace artifactregistry_v1beta1 { list( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2519,7 +2561,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2576,11 +2621,11 @@ export namespace artifactregistry_v1beta1 { patch( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2609,7 +2654,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2736,11 +2784,11 @@ export namespace artifactregistry_v1beta1 { delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2769,7 +2817,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2823,11 +2874,11 @@ export namespace artifactregistry_v1beta1 { get( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2856,7 +2907,10 @@ export namespace artifactregistry_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2910,11 +2964,11 @@ export namespace artifactregistry_v1beta1 { list( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Packages$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2947,8 +3001,8 @@ export namespace artifactregistry_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/artifactregistry/v1beta2.ts b/src/apis/artifactregistry/v1beta2.ts index 9395aff61dc..c2931dc5475 100644 --- a/src/apis/artifactregistry/v1beta2.ts +++ b/src/apis/artifactregistry/v1beta2.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -773,11 +773,11 @@ export namespace artifactregistry_v1beta2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -806,7 +806,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -910,11 +910,11 @@ export namespace artifactregistry_v1beta2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -947,8 +947,8 @@ export namespace artifactregistry_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1086,11 +1086,11 @@ export namespace artifactregistry_v1beta2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1119,7 +1119,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1223,11 +1223,11 @@ export namespace artifactregistry_v1beta2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1260,8 +1260,8 @@ export namespace artifactregistry_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1426,11 +1426,11 @@ export namespace artifactregistry_v1beta2 { create( params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1459,7 +1459,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1560,11 +1560,11 @@ export namespace artifactregistry_v1beta2 { delete( params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1593,7 +1593,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1696,11 +1696,11 @@ export namespace artifactregistry_v1beta2 { get( params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1729,7 +1729,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1832,11 +1832,11 @@ export namespace artifactregistry_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1865,7 +1865,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1971,11 +1971,11 @@ export namespace artifactregistry_v1beta2 { list( params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2008,8 +2008,8 @@ export namespace artifactregistry_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2128,11 +2128,11 @@ export namespace artifactregistry_v1beta2 { patch( params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2161,7 +2161,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2267,11 +2267,11 @@ export namespace artifactregistry_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2300,7 +2300,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2411,11 +2411,11 @@ export namespace artifactregistry_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2450,8 +2450,8 @@ export namespace artifactregistry_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2667,11 +2667,11 @@ export namespace artifactregistry_v1beta2 { import( params: Params$Resource$Projects$Locations$Repositories$Aptartifacts$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Repositories$Aptartifacts$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Repositories$Aptartifacts$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -2700,7 +2700,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Aptartifacts$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2826,11 +2826,11 @@ export namespace artifactregistry_v1beta2 { get( params: Params$Resource$Projects$Locations$Repositories$Files$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Files$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Files$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2859,7 +2859,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Files$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2967,11 +2967,11 @@ export namespace artifactregistry_v1beta2 { list( params: Params$Resource$Projects$Locations$Repositories$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3002,8 +3002,8 @@ export namespace artifactregistry_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3149,11 +3149,11 @@ export namespace artifactregistry_v1beta2 { delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Packages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3182,7 +3182,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3284,11 +3284,11 @@ export namespace artifactregistry_v1beta2 { get( params: Params$Resource$Projects$Locations$Repositories$Packages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Packages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Packages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3317,7 +3317,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3422,11 +3422,11 @@ export namespace artifactregistry_v1beta2 { list( params: Params$Resource$Projects$Locations$Repositories$Packages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Packages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Packages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3459,8 +3459,8 @@ export namespace artifactregistry_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3611,11 +3611,11 @@ export namespace artifactregistry_v1beta2 { create( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3644,7 +3644,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3743,11 +3743,11 @@ export namespace artifactregistry_v1beta2 { delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3776,7 +3776,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3876,11 +3876,11 @@ export namespace artifactregistry_v1beta2 { get( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3909,7 +3909,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4016,11 +4016,11 @@ export namespace artifactregistry_v1beta2 { list( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4049,7 +4049,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4160,11 +4160,11 @@ export namespace artifactregistry_v1beta2 { patch( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4193,7 +4193,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4370,11 +4370,11 @@ export namespace artifactregistry_v1beta2 { delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4403,7 +4403,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4511,11 +4511,11 @@ export namespace artifactregistry_v1beta2 { get( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4544,7 +4544,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4655,11 +4655,11 @@ export namespace artifactregistry_v1beta2 { list( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Packages$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Packages$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4692,8 +4692,8 @@ export namespace artifactregistry_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Packages$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4858,11 +4858,11 @@ export namespace artifactregistry_v1beta2 { import( params: Params$Resource$Projects$Locations$Repositories$Yumartifacts$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Repositories$Yumartifacts$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Repositories$Yumartifacts$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -4891,7 +4891,7 @@ export namespace artifactregistry_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Yumartifacts$Import; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/assuredworkloads/index.ts b/src/apis/assuredworkloads/index.ts index 95aaf9d52f1..703a314d4f2 100644 --- a/src/apis/assuredworkloads/index.ts +++ b/src/apis/assuredworkloads/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/assuredworkloads/package.json b/src/apis/assuredworkloads/package.json index 910af2933e6..310e79bfa4f 100644 --- a/src/apis/assuredworkloads/package.json +++ b/src/apis/assuredworkloads/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/assuredworkloads/v1.ts b/src/apis/assuredworkloads/v1.ts index 3b405764af1..07e31f81283 100644 --- a/src/apis/assuredworkloads/v1.ts +++ b/src/apis/assuredworkloads/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -941,11 +941,11 @@ export namespace assuredworkloads_v1 { get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -980,8 +980,8 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1034,11 +1034,13 @@ export namespace assuredworkloads_v1 { list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1073,8 +1075,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1173,11 +1177,13 @@ export namespace assuredworkloads_v1 { analyzeWorkloadMove( params: Params$Resource$Organizations$Locations$Workloads$Analyzeworkloadmove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeWorkloadMove( params?: Params$Resource$Organizations$Locations$Workloads$Analyzeworkloadmove, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; analyzeWorkloadMove( params: Params$Resource$Organizations$Locations$Workloads$Analyzeworkloadmove, options: StreamMethodOptions | BodyResponseCallback, @@ -1212,8 +1218,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Analyzeworkloadmove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1272,11 +1280,11 @@ export namespace assuredworkloads_v1 { create( params: Params$Resource$Organizations$Locations$Workloads$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Workloads$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Workloads$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1311,8 +1319,8 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1368,11 +1376,11 @@ export namespace assuredworkloads_v1 { delete( params: Params$Resource$Organizations$Locations$Workloads$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Workloads$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Workloads$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1403,8 +1411,8 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1457,11 +1465,13 @@ export namespace assuredworkloads_v1 { enableComplianceUpdates( params: Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableComplianceUpdates( params?: Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; enableComplianceUpdates( params: Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates, options: StreamMethodOptions | BodyResponseCallback, @@ -1496,8 +1506,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1556,11 +1568,13 @@ export namespace assuredworkloads_v1 { enableResourceMonitoring( params: Params$Resource$Organizations$Locations$Workloads$Enableresourcemonitoring, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableResourceMonitoring( params?: Params$Resource$Organizations$Locations$Workloads$Enableresourcemonitoring, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; enableResourceMonitoring( params: Params$Resource$Organizations$Locations$Workloads$Enableresourcemonitoring, options: StreamMethodOptions | BodyResponseCallback, @@ -1595,8 +1609,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Enableresourcemonitoring; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1655,11 +1671,13 @@ export namespace assuredworkloads_v1 { get( params: Params$Resource$Organizations$Locations$Workloads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Workloads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Workloads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1694,8 +1712,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1750,11 +1770,13 @@ export namespace assuredworkloads_v1 { list( params: Params$Resource$Organizations$Locations$Workloads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Workloads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Workloads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1789,8 +1811,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1848,11 +1872,13 @@ export namespace assuredworkloads_v1 { mutatePartnerPermissions( params: Params$Resource$Organizations$Locations$Workloads$Mutatepartnerpermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; mutatePartnerPermissions( params?: Params$Resource$Organizations$Locations$Workloads$Mutatepartnerpermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; mutatePartnerPermissions( params: Params$Resource$Organizations$Locations$Workloads$Mutatepartnerpermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1887,8 +1913,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Mutatepartnerpermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1947,11 +1975,13 @@ export namespace assuredworkloads_v1 { patch( params: Params$Resource$Organizations$Locations$Workloads$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Workloads$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Locations$Workloads$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1986,8 +2016,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2042,11 +2074,13 @@ export namespace assuredworkloads_v1 { restrictAllowedResources( params: Params$Resource$Organizations$Locations$Workloads$Restrictallowedresources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restrictAllowedResources( params?: Params$Resource$Organizations$Locations$Workloads$Restrictallowedresources, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; restrictAllowedResources( params: Params$Resource$Organizations$Locations$Workloads$Restrictallowedresources, options: StreamMethodOptions | BodyResponseCallback, @@ -2081,8 +2115,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Restrictallowedresources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2279,11 +2315,11 @@ export namespace assuredworkloads_v1 { apply( params: Params$Resource$Organizations$Locations$Workloads$Updates$Apply, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; apply( params?: Params$Resource$Organizations$Locations$Workloads$Updates$Apply, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; apply( params: Params$Resource$Organizations$Locations$Workloads$Updates$Apply, options: StreamMethodOptions | BodyResponseCallback, @@ -2318,8 +2354,8 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Updates$Apply; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2373,11 +2409,13 @@ export namespace assuredworkloads_v1 { list( params: Params$Resource$Organizations$Locations$Workloads$Updates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Workloads$Updates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Workloads$Updates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2412,8 +2450,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Updates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2507,11 +2547,13 @@ export namespace assuredworkloads_v1 { acknowledge( params: Params$Resource$Organizations$Locations$Workloads$Violations$Acknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params?: Params$Resource$Organizations$Locations$Workloads$Violations$Acknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; acknowledge( params: Params$Resource$Organizations$Locations$Workloads$Violations$Acknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -2546,8 +2588,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Violations$Acknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2606,11 +2650,13 @@ export namespace assuredworkloads_v1 { get( params: Params$Resource$Organizations$Locations$Workloads$Violations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Workloads$Violations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Workloads$Violations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2645,8 +2691,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Violations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2702,11 +2750,13 @@ export namespace assuredworkloads_v1 { list( params: Params$Resource$Organizations$Locations$Workloads$Violations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Workloads$Violations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Workloads$Violations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2741,8 +2791,10 @@ export namespace assuredworkloads_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Violations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/assuredworkloads/v1beta1.ts b/src/apis/assuredworkloads/v1beta1.ts index 5595be06288..9179bf85526 100644 --- a/src/apis/assuredworkloads/v1beta1.ts +++ b/src/apis/assuredworkloads/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -988,11 +988,11 @@ export namespace assuredworkloads_v1beta1 { get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1027,8 +1027,8 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1081,11 +1081,13 @@ export namespace assuredworkloads_v1beta1 { list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1120,8 +1122,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1220,11 +1224,13 @@ export namespace assuredworkloads_v1beta1 { analyzeWorkloadMove( params: Params$Resource$Organizations$Locations$Workloads$Analyzeworkloadmove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeWorkloadMove( params?: Params$Resource$Organizations$Locations$Workloads$Analyzeworkloadmove, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; analyzeWorkloadMove( params: Params$Resource$Organizations$Locations$Workloads$Analyzeworkloadmove, options: StreamMethodOptions | BodyResponseCallback, @@ -1259,8 +1265,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Analyzeworkloadmove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1319,11 +1327,11 @@ export namespace assuredworkloads_v1beta1 { create( params: Params$Resource$Organizations$Locations$Workloads$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Workloads$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Workloads$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1358,8 +1366,8 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1415,11 +1423,11 @@ export namespace assuredworkloads_v1beta1 { delete( params: Params$Resource$Organizations$Locations$Workloads$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Workloads$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Workloads$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1450,8 +1458,8 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1504,11 +1512,13 @@ export namespace assuredworkloads_v1beta1 { enableComplianceUpdates( params: Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableComplianceUpdates( params?: Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; enableComplianceUpdates( params: Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates, options: StreamMethodOptions | BodyResponseCallback, @@ -1543,8 +1553,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1603,11 +1615,13 @@ export namespace assuredworkloads_v1beta1 { enableResourceMonitoring( params: Params$Resource$Organizations$Locations$Workloads$Enableresourcemonitoring, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableResourceMonitoring( params?: Params$Resource$Organizations$Locations$Workloads$Enableresourcemonitoring, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; enableResourceMonitoring( params: Params$Resource$Organizations$Locations$Workloads$Enableresourcemonitoring, options: StreamMethodOptions | BodyResponseCallback, @@ -1642,8 +1656,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Enableresourcemonitoring; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1701,11 +1717,13 @@ export namespace assuredworkloads_v1beta1 { get( params: Params$Resource$Organizations$Locations$Workloads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Workloads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Workloads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1740,8 +1758,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1796,11 +1816,13 @@ export namespace assuredworkloads_v1beta1 { list( params: Params$Resource$Organizations$Locations$Workloads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Workloads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Workloads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1835,8 +1857,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1894,11 +1918,13 @@ export namespace assuredworkloads_v1beta1 { patch( params: Params$Resource$Organizations$Locations$Workloads$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Workloads$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Locations$Workloads$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1933,8 +1959,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1989,11 +2017,13 @@ export namespace assuredworkloads_v1beta1 { restrictAllowedResources( params: Params$Resource$Organizations$Locations$Workloads$Restrictallowedresources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restrictAllowedResources( params?: Params$Resource$Organizations$Locations$Workloads$Restrictallowedresources, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; restrictAllowedResources( params: Params$Resource$Organizations$Locations$Workloads$Restrictallowedresources, options: StreamMethodOptions | BodyResponseCallback, @@ -2028,8 +2058,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Restrictallowedresources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2213,11 +2245,11 @@ export namespace assuredworkloads_v1beta1 { apply( params: Params$Resource$Organizations$Locations$Workloads$Updates$Apply, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; apply( params?: Params$Resource$Organizations$Locations$Workloads$Updates$Apply, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; apply( params: Params$Resource$Organizations$Locations$Workloads$Updates$Apply, options: StreamMethodOptions | BodyResponseCallback, @@ -2252,8 +2284,8 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Updates$Apply; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2310,11 +2342,13 @@ export namespace assuredworkloads_v1beta1 { list( params: Params$Resource$Organizations$Locations$Workloads$Updates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Workloads$Updates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Workloads$Updates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2349,8 +2383,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Updates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2444,11 +2480,13 @@ export namespace assuredworkloads_v1beta1 { acknowledge( params: Params$Resource$Organizations$Locations$Workloads$Violations$Acknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params?: Params$Resource$Organizations$Locations$Workloads$Violations$Acknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; acknowledge( params: Params$Resource$Organizations$Locations$Workloads$Violations$Acknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -2483,8 +2521,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Violations$Acknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2543,11 +2583,13 @@ export namespace assuredworkloads_v1beta1 { get( params: Params$Resource$Organizations$Locations$Workloads$Violations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Workloads$Violations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Workloads$Violations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2582,8 +2624,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Violations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2639,11 +2683,13 @@ export namespace assuredworkloads_v1beta1 { list( params: Params$Resource$Organizations$Locations$Workloads$Violations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Workloads$Violations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Workloads$Violations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2678,8 +2724,10 @@ export namespace assuredworkloads_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Workloads$Violations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/authorizedbuyersmarketplace/index.ts b/src/apis/authorizedbuyersmarketplace/index.ts index b382f0ff4ab..379c905ef25 100644 --- a/src/apis/authorizedbuyersmarketplace/index.ts +++ b/src/apis/authorizedbuyersmarketplace/index.ts @@ -64,7 +64,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/authorizedbuyersmarketplace/package.json b/src/apis/authorizedbuyersmarketplace/package.json index 52b54755cc4..6b909706a9c 100644 --- a/src/apis/authorizedbuyersmarketplace/package.json +++ b/src/apis/authorizedbuyersmarketplace/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/authorizedbuyersmarketplace/v1.ts b/src/apis/authorizedbuyersmarketplace/v1.ts index ab504e596eb..b11f8a7ad14 100644 --- a/src/apis/authorizedbuyersmarketplace/v1.ts +++ b/src/apis/authorizedbuyersmarketplace/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1310,11 +1310,11 @@ export namespace authorizedbuyersmarketplace_v1 { list( params: Params$Resource$Bidders$Auctionpackages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Auctionpackages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Auctionpackages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1349,8 +1349,8 @@ export namespace authorizedbuyersmarketplace_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Auctionpackages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1438,11 +1438,11 @@ export namespace authorizedbuyersmarketplace_v1 { list( params: Params$Resource$Bidders$Finalizeddeals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Finalizeddeals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Finalizeddeals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1477,8 +1477,8 @@ export namespace authorizedbuyersmarketplace_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Finalizeddeals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1585,11 +1585,11 @@ export namespace authorizedbuyersmarketplace_v1 { get( params: Params$Resource$Buyers$Auctionpackages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Auctionpackages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Auctionpackages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1618,7 +1618,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1672,11 +1675,11 @@ export namespace authorizedbuyersmarketplace_v1 { list( params: Params$Resource$Buyers$Auctionpackages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Auctionpackages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Auctionpackages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1711,8 +1714,8 @@ export namespace authorizedbuyersmarketplace_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1769,11 +1772,11 @@ export namespace authorizedbuyersmarketplace_v1 { subscribe( params: Params$Resource$Buyers$Auctionpackages$Subscribe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; subscribe( params?: Params$Resource$Buyers$Auctionpackages$Subscribe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; subscribe( params: Params$Resource$Buyers$Auctionpackages$Subscribe, options: StreamMethodOptions | BodyResponseCallback, @@ -1802,7 +1805,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$Subscribe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1859,11 +1865,11 @@ export namespace authorizedbuyersmarketplace_v1 { subscribeClients( params: Params$Resource$Buyers$Auctionpackages$Subscribeclients, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; subscribeClients( params?: Params$Resource$Buyers$Auctionpackages$Subscribeclients, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; subscribeClients( params: Params$Resource$Buyers$Auctionpackages$Subscribeclients, options: StreamMethodOptions | BodyResponseCallback, @@ -1894,7 +1900,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$Subscribeclients; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1951,11 +1960,11 @@ export namespace authorizedbuyersmarketplace_v1 { unsubscribe( params: Params$Resource$Buyers$Auctionpackages$Unsubscribe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unsubscribe( params?: Params$Resource$Buyers$Auctionpackages$Unsubscribe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unsubscribe( params: Params$Resource$Buyers$Auctionpackages$Unsubscribe, options: StreamMethodOptions | BodyResponseCallback, @@ -1984,7 +1993,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$Unsubscribe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2041,11 +2053,11 @@ export namespace authorizedbuyersmarketplace_v1 { unsubscribeClients( params: Params$Resource$Buyers$Auctionpackages$Unsubscribeclients, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unsubscribeClients( params?: Params$Resource$Buyers$Auctionpackages$Unsubscribeclients, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unsubscribeClients( params: Params$Resource$Buyers$Auctionpackages$Unsubscribeclients, options: StreamMethodOptions | BodyResponseCallback, @@ -2076,7 +2088,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$Unsubscribeclients; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2222,11 +2237,11 @@ export namespace authorizedbuyersmarketplace_v1 { activate( params: Params$Resource$Buyers$Clients$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Buyers$Clients$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Buyers$Clients$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -2255,7 +2270,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2312,11 +2330,11 @@ export namespace authorizedbuyersmarketplace_v1 { create( params: Params$Resource$Buyers$Clients$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Buyers$Clients$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Buyers$Clients$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2345,7 +2363,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2402,11 +2423,11 @@ export namespace authorizedbuyersmarketplace_v1 { deactivate( params: Params$Resource$Buyers$Clients$Deactivate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params?: Params$Resource$Buyers$Clients$Deactivate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params: Params$Resource$Buyers$Clients$Deactivate, options: StreamMethodOptions | BodyResponseCallback, @@ -2435,7 +2456,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Deactivate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2492,11 +2516,11 @@ export namespace authorizedbuyersmarketplace_v1 { get( params: Params$Resource$Buyers$Clients$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Clients$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Clients$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2525,7 +2549,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2579,11 +2606,11 @@ export namespace authorizedbuyersmarketplace_v1 { list( params: Params$Resource$Buyers$Clients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Clients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Clients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2614,8 +2641,8 @@ export namespace authorizedbuyersmarketplace_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2672,11 +2699,11 @@ export namespace authorizedbuyersmarketplace_v1 { patch( params: Params$Resource$Buyers$Clients$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Buyers$Clients$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Buyers$Clients$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2705,7 +2732,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2845,11 +2875,11 @@ export namespace authorizedbuyersmarketplace_v1 { activate( params: Params$Resource$Buyers$Clients$Users$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Buyers$Clients$Users$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Buyers$Clients$Users$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -2878,7 +2908,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2935,11 +2968,11 @@ export namespace authorizedbuyersmarketplace_v1 { create( params: Params$Resource$Buyers$Clients$Users$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Buyers$Clients$Users$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Buyers$Clients$Users$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2968,7 +3001,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3025,11 +3061,11 @@ export namespace authorizedbuyersmarketplace_v1 { deactivate( params: Params$Resource$Buyers$Clients$Users$Deactivate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params?: Params$Resource$Buyers$Clients$Users$Deactivate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params: Params$Resource$Buyers$Clients$Users$Deactivate, options: StreamMethodOptions | BodyResponseCallback, @@ -3058,7 +3094,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$Deactivate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3115,11 +3154,11 @@ export namespace authorizedbuyersmarketplace_v1 { delete( params: Params$Resource$Buyers$Clients$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Buyers$Clients$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Buyers$Clients$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3148,7 +3187,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3202,11 +3244,11 @@ export namespace authorizedbuyersmarketplace_v1 { get( params: Params$Resource$Buyers$Clients$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Clients$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Clients$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3235,7 +3277,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3289,11 +3334,11 @@ export namespace authorizedbuyersmarketplace_v1 { list( params: Params$Resource$Buyers$Clients$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Clients$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Clients$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3326,8 +3371,8 @@ export namespace authorizedbuyersmarketplace_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3457,11 +3502,11 @@ export namespace authorizedbuyersmarketplace_v1 { addCreative( params: Params$Resource$Buyers$Finalizeddeals$Addcreative, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addCreative( params?: Params$Resource$Buyers$Finalizeddeals$Addcreative, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addCreative( params: Params$Resource$Buyers$Finalizeddeals$Addcreative, options: StreamMethodOptions | BodyResponseCallback, @@ -3490,7 +3535,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$Addcreative; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3547,11 +3595,11 @@ export namespace authorizedbuyersmarketplace_v1 { get( params: Params$Resource$Buyers$Finalizeddeals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Finalizeddeals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Finalizeddeals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3580,7 +3628,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3634,11 +3685,11 @@ export namespace authorizedbuyersmarketplace_v1 { list( params: Params$Resource$Buyers$Finalizeddeals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Finalizeddeals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Finalizeddeals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3673,8 +3724,8 @@ export namespace authorizedbuyersmarketplace_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3731,11 +3782,11 @@ export namespace authorizedbuyersmarketplace_v1 { pause( params: Params$Resource$Buyers$Finalizeddeals$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Buyers$Finalizeddeals$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Buyers$Finalizeddeals$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -3764,7 +3815,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3818,11 +3872,11 @@ export namespace authorizedbuyersmarketplace_v1 { resume( params: Params$Resource$Buyers$Finalizeddeals$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Buyers$Finalizeddeals$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Buyers$Finalizeddeals$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -3851,7 +3905,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3905,11 +3962,11 @@ export namespace authorizedbuyersmarketplace_v1 { setReadyToServe( params: Params$Resource$Buyers$Finalizeddeals$Setreadytoserve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setReadyToServe( params?: Params$Resource$Buyers$Finalizeddeals$Setreadytoserve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setReadyToServe( params: Params$Resource$Buyers$Finalizeddeals$Setreadytoserve, options: StreamMethodOptions | BodyResponseCallback, @@ -3938,7 +3995,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$Setreadytoserve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4083,11 +4143,11 @@ export namespace authorizedbuyersmarketplace_v1 { accept( params: Params$Resource$Buyers$Proposals$Accept, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accept( params?: Params$Resource$Buyers$Proposals$Accept, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; accept( params: Params$Resource$Buyers$Proposals$Accept, options: StreamMethodOptions | BodyResponseCallback, @@ -4116,7 +4176,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Accept; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4170,11 +4233,11 @@ export namespace authorizedbuyersmarketplace_v1 { addNote( params: Params$Resource$Buyers$Proposals$Addnote, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addNote( params?: Params$Resource$Buyers$Proposals$Addnote, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addNote( params: Params$Resource$Buyers$Proposals$Addnote, options: StreamMethodOptions | BodyResponseCallback, @@ -4203,7 +4266,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Addnote; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4260,11 +4326,11 @@ export namespace authorizedbuyersmarketplace_v1 { cancelNegotiation( params: Params$Resource$Buyers$Proposals$Cancelnegotiation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelNegotiation( params?: Params$Resource$Buyers$Proposals$Cancelnegotiation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelNegotiation( params: Params$Resource$Buyers$Proposals$Cancelnegotiation, options: StreamMethodOptions | BodyResponseCallback, @@ -4293,7 +4359,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Cancelnegotiation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4350,11 +4419,11 @@ export namespace authorizedbuyersmarketplace_v1 { get( params: Params$Resource$Buyers$Proposals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Proposals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Proposals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4383,7 +4452,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4437,11 +4509,11 @@ export namespace authorizedbuyersmarketplace_v1 { list( params: Params$Resource$Buyers$Proposals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Proposals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Proposals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4474,8 +4546,8 @@ export namespace authorizedbuyersmarketplace_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4532,11 +4604,11 @@ export namespace authorizedbuyersmarketplace_v1 { patch( params: Params$Resource$Buyers$Proposals$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Buyers$Proposals$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Buyers$Proposals$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4565,7 +4637,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4619,11 +4694,11 @@ export namespace authorizedbuyersmarketplace_v1 { sendRfp( params: Params$Resource$Buyers$Proposals$Sendrfp, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendRfp( params?: Params$Resource$Buyers$Proposals$Sendrfp, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendRfp( params: Params$Resource$Buyers$Proposals$Sendrfp, options: StreamMethodOptions | BodyResponseCallback, @@ -4652,7 +4727,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Sendrfp; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4807,11 +4885,11 @@ export namespace authorizedbuyersmarketplace_v1 { batchUpdate( params: Params$Resource$Buyers$Proposals$Deals$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Buyers$Proposals$Deals$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Buyers$Proposals$Deals$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -4846,8 +4924,8 @@ export namespace authorizedbuyersmarketplace_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Deals$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4904,11 +4982,11 @@ export namespace authorizedbuyersmarketplace_v1 { get( params: Params$Resource$Buyers$Proposals$Deals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Proposals$Deals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Proposals$Deals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4937,7 +5015,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Deals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4991,11 +5072,11 @@ export namespace authorizedbuyersmarketplace_v1 { list( params: Params$Resource$Buyers$Proposals$Deals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Proposals$Deals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Proposals$Deals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5026,8 +5107,8 @@ export namespace authorizedbuyersmarketplace_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Deals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5084,11 +5165,11 @@ export namespace authorizedbuyersmarketplace_v1 { patch( params: Params$Resource$Buyers$Proposals$Deals$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Buyers$Proposals$Deals$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Buyers$Proposals$Deals$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5117,7 +5198,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Deals$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5229,11 +5313,11 @@ export namespace authorizedbuyersmarketplace_v1 { get( params: Params$Resource$Buyers$Publisherprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Publisherprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Publisherprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5262,7 +5346,10 @@ export namespace authorizedbuyersmarketplace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Publisherprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5316,11 +5403,11 @@ export namespace authorizedbuyersmarketplace_v1 { list( params: Params$Resource$Buyers$Publisherprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Publisherprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Publisherprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5355,8 +5442,8 @@ export namespace authorizedbuyersmarketplace_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Publisherprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/authorizedbuyersmarketplace/v1alpha.ts b/src/apis/authorizedbuyersmarketplace/v1alpha.ts index 53ce8c8aee2..65ac25249f8 100644 --- a/src/apis/authorizedbuyersmarketplace/v1alpha.ts +++ b/src/apis/authorizedbuyersmarketplace/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1356,11 +1356,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { list( params: Params$Resource$Bidders$Auctionpackages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Auctionpackages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Auctionpackages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1395,8 +1395,8 @@ export namespace authorizedbuyersmarketplace_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Auctionpackages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1484,11 +1484,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { list( params: Params$Resource$Bidders$Finalizeddeals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Finalizeddeals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Finalizeddeals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1523,8 +1523,8 @@ export namespace authorizedbuyersmarketplace_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Finalizeddeals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1633,11 +1633,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { get( params: Params$Resource$Buyers$Auctionpackages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Auctionpackages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Auctionpackages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1666,7 +1666,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1720,11 +1723,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { list( params: Params$Resource$Buyers$Auctionpackages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Auctionpackages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Auctionpackages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1759,8 +1762,8 @@ export namespace authorizedbuyersmarketplace_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1817,11 +1820,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { subscribe( params: Params$Resource$Buyers$Auctionpackages$Subscribe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; subscribe( params?: Params$Resource$Buyers$Auctionpackages$Subscribe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; subscribe( params: Params$Resource$Buyers$Auctionpackages$Subscribe, options: StreamMethodOptions | BodyResponseCallback, @@ -1850,7 +1853,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$Subscribe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1907,11 +1913,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { subscribeClients( params: Params$Resource$Buyers$Auctionpackages$Subscribeclients, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; subscribeClients( params?: Params$Resource$Buyers$Auctionpackages$Subscribeclients, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; subscribeClients( params: Params$Resource$Buyers$Auctionpackages$Subscribeclients, options: StreamMethodOptions | BodyResponseCallback, @@ -1942,7 +1948,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$Subscribeclients; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1998,11 +2007,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { unsubscribe( params: Params$Resource$Buyers$Auctionpackages$Unsubscribe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unsubscribe( params?: Params$Resource$Buyers$Auctionpackages$Unsubscribe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unsubscribe( params: Params$Resource$Buyers$Auctionpackages$Unsubscribe, options: StreamMethodOptions | BodyResponseCallback, @@ -2031,7 +2040,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$Unsubscribe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2088,11 +2100,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { unsubscribeClients( params: Params$Resource$Buyers$Auctionpackages$Unsubscribeclients, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unsubscribeClients( params?: Params$Resource$Buyers$Auctionpackages$Unsubscribeclients, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unsubscribeClients( params: Params$Resource$Buyers$Auctionpackages$Unsubscribeclients, options: StreamMethodOptions | BodyResponseCallback, @@ -2123,7 +2135,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Auctionpackages$Unsubscribeclients; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2268,11 +2283,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { activate( params: Params$Resource$Buyers$Clients$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Buyers$Clients$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Buyers$Clients$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -2301,7 +2316,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2358,11 +2376,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { create( params: Params$Resource$Buyers$Clients$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Buyers$Clients$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Buyers$Clients$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2391,7 +2409,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2448,11 +2469,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { deactivate( params: Params$Resource$Buyers$Clients$Deactivate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params?: Params$Resource$Buyers$Clients$Deactivate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params: Params$Resource$Buyers$Clients$Deactivate, options: StreamMethodOptions | BodyResponseCallback, @@ -2481,7 +2502,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Deactivate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2538,11 +2562,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { get( params: Params$Resource$Buyers$Clients$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Clients$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Clients$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2571,7 +2595,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2625,11 +2652,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { list( params: Params$Resource$Buyers$Clients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Clients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Clients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2660,8 +2687,8 @@ export namespace authorizedbuyersmarketplace_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2718,11 +2745,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { patch( params: Params$Resource$Buyers$Clients$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Buyers$Clients$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Buyers$Clients$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2751,7 +2778,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2891,11 +2921,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { activate( params: Params$Resource$Buyers$Clients$Users$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Buyers$Clients$Users$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Buyers$Clients$Users$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -2924,7 +2954,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2981,11 +3014,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { create( params: Params$Resource$Buyers$Clients$Users$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Buyers$Clients$Users$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Buyers$Clients$Users$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3014,7 +3047,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3071,11 +3107,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { deactivate( params: Params$Resource$Buyers$Clients$Users$Deactivate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params?: Params$Resource$Buyers$Clients$Users$Deactivate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params: Params$Resource$Buyers$Clients$Users$Deactivate, options: StreamMethodOptions | BodyResponseCallback, @@ -3104,7 +3140,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$Deactivate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3161,11 +3200,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { delete( params: Params$Resource$Buyers$Clients$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Buyers$Clients$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Buyers$Clients$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3194,7 +3233,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3248,11 +3290,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { get( params: Params$Resource$Buyers$Clients$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Clients$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Clients$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3281,7 +3323,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3335,11 +3380,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { list( params: Params$Resource$Buyers$Clients$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Clients$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Clients$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3372,8 +3417,8 @@ export namespace authorizedbuyersmarketplace_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Clients$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3503,11 +3548,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { activate( params: Params$Resource$Buyers$Datasegments$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Buyers$Datasegments$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Buyers$Datasegments$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -3536,7 +3581,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Datasegments$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3593,11 +3641,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { create( params: Params$Resource$Buyers$Datasegments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Buyers$Datasegments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Buyers$Datasegments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3626,7 +3674,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Datasegments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3683,11 +3734,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { deactivate( params: Params$Resource$Buyers$Datasegments$Deactivate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params?: Params$Resource$Buyers$Datasegments$Deactivate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params: Params$Resource$Buyers$Datasegments$Deactivate, options: StreamMethodOptions | BodyResponseCallback, @@ -3716,7 +3767,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Datasegments$Deactivate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3773,11 +3827,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { get( params: Params$Resource$Buyers$Datasegments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Datasegments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Datasegments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3806,7 +3860,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Datasegments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3860,11 +3917,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { list( params: Params$Resource$Buyers$Datasegments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Datasegments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Datasegments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3897,8 +3954,8 @@ export namespace authorizedbuyersmarketplace_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Datasegments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3955,11 +4012,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { patch( params: Params$Resource$Buyers$Datasegments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Buyers$Datasegments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Buyers$Datasegments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3988,7 +4045,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Datasegments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4124,11 +4184,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { addCreative( params: Params$Resource$Buyers$Finalizeddeals$Addcreative, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addCreative( params?: Params$Resource$Buyers$Finalizeddeals$Addcreative, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addCreative( params: Params$Resource$Buyers$Finalizeddeals$Addcreative, options: StreamMethodOptions | BodyResponseCallback, @@ -4157,7 +4217,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$Addcreative; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4214,11 +4277,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { get( params: Params$Resource$Buyers$Finalizeddeals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Finalizeddeals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Finalizeddeals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4247,7 +4310,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4301,11 +4367,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { list( params: Params$Resource$Buyers$Finalizeddeals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Finalizeddeals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Finalizeddeals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4340,8 +4406,8 @@ export namespace authorizedbuyersmarketplace_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4398,11 +4464,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { pause( params: Params$Resource$Buyers$Finalizeddeals$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Buyers$Finalizeddeals$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Buyers$Finalizeddeals$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -4431,7 +4497,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4488,11 +4557,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { resume( params: Params$Resource$Buyers$Finalizeddeals$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Buyers$Finalizeddeals$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Buyers$Finalizeddeals$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -4521,7 +4590,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4578,11 +4650,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { setReadyToServe( params: Params$Resource$Buyers$Finalizeddeals$Setreadytoserve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setReadyToServe( params?: Params$Resource$Buyers$Finalizeddeals$Setreadytoserve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setReadyToServe( params: Params$Resource$Buyers$Finalizeddeals$Setreadytoserve, options: StreamMethodOptions | BodyResponseCallback, @@ -4611,7 +4683,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Finalizeddeals$Setreadytoserve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4756,11 +4831,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { accept( params: Params$Resource$Buyers$Proposals$Accept, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accept( params?: Params$Resource$Buyers$Proposals$Accept, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; accept( params: Params$Resource$Buyers$Proposals$Accept, options: StreamMethodOptions | BodyResponseCallback, @@ -4789,7 +4864,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Accept; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4846,11 +4924,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { addNote( params: Params$Resource$Buyers$Proposals$Addnote, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addNote( params?: Params$Resource$Buyers$Proposals$Addnote, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addNote( params: Params$Resource$Buyers$Proposals$Addnote, options: StreamMethodOptions | BodyResponseCallback, @@ -4879,7 +4957,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Addnote; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4936,11 +5017,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { cancelNegotiation( params: Params$Resource$Buyers$Proposals$Cancelnegotiation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelNegotiation( params?: Params$Resource$Buyers$Proposals$Cancelnegotiation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelNegotiation( params: Params$Resource$Buyers$Proposals$Cancelnegotiation, options: StreamMethodOptions | BodyResponseCallback, @@ -4969,7 +5050,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Cancelnegotiation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5026,11 +5110,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { get( params: Params$Resource$Buyers$Proposals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Proposals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Proposals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5059,7 +5143,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5113,11 +5200,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { list( params: Params$Resource$Buyers$Proposals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Proposals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Proposals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5150,8 +5237,8 @@ export namespace authorizedbuyersmarketplace_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5208,11 +5295,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { patch( params: Params$Resource$Buyers$Proposals$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Buyers$Proposals$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Buyers$Proposals$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5241,7 +5328,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5295,11 +5385,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { sendRfp( params: Params$Resource$Buyers$Proposals$Sendrfp, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendRfp( params?: Params$Resource$Buyers$Proposals$Sendrfp, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendRfp( params: Params$Resource$Buyers$Proposals$Sendrfp, options: StreamMethodOptions | BodyResponseCallback, @@ -5328,7 +5418,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Sendrfp; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5483,11 +5576,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { batchUpdate( params: Params$Resource$Buyers$Proposals$Deals$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Buyers$Proposals$Deals$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Buyers$Proposals$Deals$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -5522,8 +5615,8 @@ export namespace authorizedbuyersmarketplace_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Deals$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5580,11 +5673,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { get( params: Params$Resource$Buyers$Proposals$Deals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Proposals$Deals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Proposals$Deals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5613,7 +5706,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Deals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5667,11 +5763,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { list( params: Params$Resource$Buyers$Proposals$Deals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Proposals$Deals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Proposals$Deals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5702,8 +5798,8 @@ export namespace authorizedbuyersmarketplace_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Deals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5760,11 +5856,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { patch( params: Params$Resource$Buyers$Proposals$Deals$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Buyers$Proposals$Deals$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Buyers$Proposals$Deals$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5793,7 +5889,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Proposals$Deals$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5905,11 +6004,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { get( params: Params$Resource$Buyers$Publisherprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Publisherprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Publisherprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5938,7 +6037,10 @@ export namespace authorizedbuyersmarketplace_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Publisherprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5992,11 +6094,11 @@ export namespace authorizedbuyersmarketplace_v1alpha { list( params: Params$Resource$Buyers$Publisherprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Publisherprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Publisherprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6031,8 +6133,8 @@ export namespace authorizedbuyersmarketplace_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Publisherprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/backupdr/index.ts b/src/apis/backupdr/index.ts index 2612629068b..883206ee8eb 100644 --- a/src/apis/backupdr/index.ts +++ b/src/apis/backupdr/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/backupdr/package.json b/src/apis/backupdr/package.json index 051dade2347..adb553e2d58 100644 --- a/src/apis/backupdr/package.json +++ b/src/apis/backupdr/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/backupdr/v1.ts b/src/apis/backupdr/v1.ts index fa163b93a2b..900a86d104a 100644 --- a/src/apis/backupdr/v1.ts +++ b/src/apis/backupdr/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2289,11 +2289,11 @@ export namespace backupdr_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2322,7 +2322,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2374,11 +2377,11 @@ export namespace backupdr_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2411,8 +2414,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2505,11 +2508,11 @@ export namespace backupdr_v1 { create( params: Params$Resource$Projects$Locations$Backupplanassociations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backupplanassociations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backupplanassociations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2538,7 +2541,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplanassociations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2594,11 +2600,11 @@ export namespace backupdr_v1 { delete( params: Params$Resource$Projects$Locations$Backupplanassociations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupplanassociations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupplanassociations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2627,7 +2633,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplanassociations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2680,11 +2689,11 @@ export namespace backupdr_v1 { get( params: Params$Resource$Projects$Locations$Backupplanassociations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupplanassociations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupplanassociations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2717,8 +2726,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplanassociations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2771,11 +2780,13 @@ export namespace backupdr_v1 { list( params: Params$Resource$Projects$Locations$Backupplanassociations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupplanassociations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Backupplanassociations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2810,8 +2821,10 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplanassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2869,11 +2882,11 @@ export namespace backupdr_v1 { triggerBackup( params: Params$Resource$Projects$Locations$Backupplanassociations$Triggerbackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; triggerBackup( params?: Params$Resource$Projects$Locations$Backupplanassociations$Triggerbackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; triggerBackup( params: Params$Resource$Projects$Locations$Backupplanassociations$Triggerbackup, options: StreamMethodOptions | BodyResponseCallback, @@ -2902,7 +2915,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplanassociations$Triggerbackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3035,11 +3051,11 @@ export namespace backupdr_v1 { create( params: Params$Resource$Projects$Locations$Backupplans$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backupplans$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backupplans$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3068,7 +3084,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3123,11 +3142,11 @@ export namespace backupdr_v1 { delete( params: Params$Resource$Projects$Locations$Backupplans$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupplans$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupplans$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3156,7 +3175,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3208,11 +3230,11 @@ export namespace backupdr_v1 { get( params: Params$Resource$Projects$Locations$Backupplans$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupplans$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupplans$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3241,7 +3263,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3293,11 +3318,11 @@ export namespace backupdr_v1 { list( params: Params$Resource$Projects$Locations$Backupplans$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupplans$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupplans$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3330,8 +3355,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3458,11 +3483,11 @@ export namespace backupdr_v1 { create( params: Params$Resource$Projects$Locations$Backupvaults$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backupvaults$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backupvaults$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3491,7 +3516,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3546,11 +3574,11 @@ export namespace backupdr_v1 { delete( params: Params$Resource$Projects$Locations$Backupvaults$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupvaults$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupvaults$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3579,7 +3607,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3631,11 +3662,11 @@ export namespace backupdr_v1 { fetchUsable( params: Params$Resource$Projects$Locations$Backupvaults$Fetchusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchUsable( params?: Params$Resource$Projects$Locations$Backupvaults$Fetchusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchUsable( params: Params$Resource$Projects$Locations$Backupvaults$Fetchusable, options: StreamMethodOptions | BodyResponseCallback, @@ -3670,8 +3701,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Fetchusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3729,11 +3760,11 @@ export namespace backupdr_v1 { get( params: Params$Resource$Projects$Locations$Backupvaults$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupvaults$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupvaults$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3762,7 +3793,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3814,11 +3848,11 @@ export namespace backupdr_v1 { list( params: Params$Resource$Projects$Locations$Backupvaults$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupvaults$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupvaults$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3851,8 +3885,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3907,11 +3941,11 @@ export namespace backupdr_v1 { patch( params: Params$Resource$Projects$Locations$Backupvaults$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backupvaults$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backupvaults$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3940,7 +3974,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3992,11 +4029,11 @@ export namespace backupdr_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Backupvaults$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Backupvaults$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Backupvaults$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4031,8 +4068,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4257,11 +4294,11 @@ export namespace backupdr_v1 { abandonBackup( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; abandonBackup( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; abandonBackup( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup, options: StreamMethodOptions | BodyResponseCallback, @@ -4290,7 +4327,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4346,11 +4386,11 @@ export namespace backupdr_v1 { fetchAccessToken( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchAccessToken( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchAccessToken( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken, options: StreamMethodOptions | BodyResponseCallback, @@ -4385,8 +4425,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4442,11 +4482,11 @@ export namespace backupdr_v1 { finalizeBackup( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; finalizeBackup( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; finalizeBackup( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup, options: StreamMethodOptions | BodyResponseCallback, @@ -4475,7 +4515,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4531,11 +4574,11 @@ export namespace backupdr_v1 { get( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4564,7 +4607,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4617,11 +4663,11 @@ export namespace backupdr_v1 { initiateBackup( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initiateBackup( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initiateBackup( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup, options: StreamMethodOptions | BodyResponseCallback, @@ -4656,8 +4702,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4713,11 +4759,11 @@ export namespace backupdr_v1 { list( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4750,8 +4796,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4807,11 +4853,11 @@ export namespace backupdr_v1 { patch( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4840,7 +4886,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4893,11 +4942,11 @@ export namespace backupdr_v1 { remove( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; remove( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; remove( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove, options: StreamMethodOptions | BodyResponseCallback, @@ -4926,7 +4975,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4979,11 +5031,11 @@ export namespace backupdr_v1 { setInternalStatus( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setInternalStatus( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setInternalStatus( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -5012,7 +5064,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5202,11 +5257,11 @@ export namespace backupdr_v1 { delete( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5235,7 +5290,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5288,11 +5346,11 @@ export namespace backupdr_v1 { get( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5321,7 +5379,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5374,11 +5435,11 @@ export namespace backupdr_v1 { list( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5409,8 +5470,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5466,11 +5527,11 @@ export namespace backupdr_v1 { patch( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5499,7 +5560,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5552,11 +5616,11 @@ export namespace backupdr_v1 { restore( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -5585,7 +5649,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5730,11 +5797,11 @@ export namespace backupdr_v1 { create( params: Params$Resource$Projects$Locations$Managementservers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Managementservers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Managementservers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5763,7 +5830,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Managementservers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5819,11 +5889,11 @@ export namespace backupdr_v1 { delete( params: Params$Resource$Projects$Locations$Managementservers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Managementservers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Managementservers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5852,7 +5922,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Managementservers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5905,11 +5978,11 @@ export namespace backupdr_v1 { get( params: Params$Resource$Projects$Locations$Managementservers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Managementservers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Managementservers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5938,7 +6011,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Managementservers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5990,11 +6066,11 @@ export namespace backupdr_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Managementservers$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Managementservers$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Managementservers$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6023,7 +6099,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Managementservers$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6079,11 +6158,11 @@ export namespace backupdr_v1 { list( params: Params$Resource$Projects$Locations$Managementservers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Managementservers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Managementservers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6118,8 +6197,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Managementservers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6177,11 +6256,11 @@ export namespace backupdr_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Managementservers$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Managementservers$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Managementservers$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6210,7 +6289,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Managementservers$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6266,11 +6348,11 @@ export namespace backupdr_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Managementservers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Managementservers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Managementservers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6305,8 +6387,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Managementservers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6466,11 +6548,11 @@ export namespace backupdr_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6499,7 +6581,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6551,11 +6636,11 @@ export namespace backupdr_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6584,7 +6669,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6636,11 +6724,11 @@ export namespace backupdr_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6669,7 +6757,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6721,11 +6812,11 @@ export namespace backupdr_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6758,8 +6849,8 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6867,11 +6958,13 @@ export namespace backupdr_v1 { list( params: Params$Resource$Projects$Locations$Resourcebackupconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Resourcebackupconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Resourcebackupconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6906,8 +6999,10 @@ export namespace backupdr_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Resourcebackupconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6996,11 +7091,11 @@ export namespace backupdr_v1 { initialize( params: Params$Resource$Projects$Locations$Serviceconfig$Initialize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initialize( params?: Params$Resource$Projects$Locations$Serviceconfig$Initialize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initialize( params: Params$Resource$Projects$Locations$Serviceconfig$Initialize, options: StreamMethodOptions | BodyResponseCallback, @@ -7029,7 +7124,10 @@ export namespace backupdr_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconfig$Initialize; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/baremetalsolution/index.ts b/src/apis/baremetalsolution/index.ts index 4e2b4f89271..0b79e1d0bc4 100644 --- a/src/apis/baremetalsolution/index.ts +++ b/src/apis/baremetalsolution/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/baremetalsolution/package.json b/src/apis/baremetalsolution/package.json index ec91711caf4..9521673cfc2 100644 --- a/src/apis/baremetalsolution/package.json +++ b/src/apis/baremetalsolution/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/baremetalsolution/v1.ts b/src/apis/baremetalsolution/v1.ts index a54373def89..707e5413070 100644 --- a/src/apis/baremetalsolution/v1.ts +++ b/src/apis/baremetalsolution/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -251,11 +251,11 @@ export namespace baremetalsolution_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -284,7 +284,7 @@ export namespace baremetalsolution_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -376,11 +376,11 @@ export namespace baremetalsolution_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -409,7 +409,7 @@ export namespace baremetalsolution_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -507,11 +507,11 @@ export namespace baremetalsolution_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -540,7 +540,7 @@ export namespace baremetalsolution_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -640,11 +640,11 @@ export namespace baremetalsolution_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -677,8 +677,8 @@ export namespace baremetalsolution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/baremetalsolution/v1alpha1.ts b/src/apis/baremetalsolution/v1alpha1.ts index a42342fe86b..3a11e9811dc 100644 --- a/src/apis/baremetalsolution/v1alpha1.ts +++ b/src/apis/baremetalsolution/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -480,11 +480,11 @@ export namespace baremetalsolution_v1alpha1 { submitProvisioningConfig( params: Params$Resource$Projects$Locations$Submitprovisioningconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submitProvisioningConfig( params?: Params$Resource$Projects$Locations$Submitprovisioningconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; submitProvisioningConfig( params: Params$Resource$Projects$Locations$Submitprovisioningconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -517,8 +517,8 @@ export namespace baremetalsolution_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Submitprovisioningconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -645,11 +645,11 @@ export namespace baremetalsolution_v1alpha1 { list( params: Params$Resource$Projects$Provisioningquotas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Provisioningquotas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Provisioningquotas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -684,8 +684,8 @@ export namespace baremetalsolution_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Provisioningquotas$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/baremetalsolution/v2.ts b/src/apis/baremetalsolution/v2.ts index f4a28ad577a..718e61085ea 100644 --- a/src/apis/baremetalsolution/v2.ts +++ b/src/apis/baremetalsolution/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1547,11 +1547,11 @@ export namespace baremetalsolution_v2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1580,7 +1580,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1681,11 +1681,11 @@ export namespace baremetalsolution_v2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1718,8 +1718,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1853,11 +1853,11 @@ export namespace baremetalsolution_v2 { fetch( params: Params$Resource$Projects$Locations$Instanceprovisioningsettings$Fetch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params?: Params$Resource$Projects$Locations$Instanceprovisioningsettings$Fetch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params: Params$Resource$Projects$Locations$Instanceprovisioningsettings$Fetch, options: StreamMethodOptions | BodyResponseCallback, @@ -1892,8 +1892,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instanceprovisioningsettings$Fetch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2036,11 +2036,11 @@ export namespace baremetalsolution_v2 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2069,7 +2069,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2179,11 +2179,11 @@ export namespace baremetalsolution_v2 { detachLun( params: Params$Resource$Projects$Locations$Instances$Detachlun, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachLun( params?: Params$Resource$Projects$Locations$Instances$Detachlun, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachLun( params: Params$Resource$Projects$Locations$Instances$Detachlun, options: StreamMethodOptions | BodyResponseCallback, @@ -2212,7 +2212,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Detachlun; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2322,11 +2322,11 @@ export namespace baremetalsolution_v2 { disableInteractiveSerialConsole( params: Params$Resource$Projects$Locations$Instances$Disableinteractiveserialconsole, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableInteractiveSerialConsole( params?: Params$Resource$Projects$Locations$Instances$Disableinteractiveserialconsole, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableInteractiveSerialConsole( params: Params$Resource$Projects$Locations$Instances$Disableinteractiveserialconsole, options: StreamMethodOptions | BodyResponseCallback, @@ -2357,7 +2357,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Disableinteractiveserialconsole; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2467,11 +2467,11 @@ export namespace baremetalsolution_v2 { enableInteractiveSerialConsole( params: Params$Resource$Projects$Locations$Instances$Enableinteractiveserialconsole, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableInteractiveSerialConsole( params?: Params$Resource$Projects$Locations$Instances$Enableinteractiveserialconsole, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableInteractiveSerialConsole( params: Params$Resource$Projects$Locations$Instances$Enableinteractiveserialconsole, options: StreamMethodOptions | BodyResponseCallback, @@ -2502,7 +2502,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Enableinteractiveserialconsole; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2616,11 +2616,11 @@ export namespace baremetalsolution_v2 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2649,7 +2649,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2751,11 +2751,11 @@ export namespace baremetalsolution_v2 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2788,8 +2788,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2917,11 +2917,11 @@ export namespace baremetalsolution_v2 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2950,7 +2950,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3069,11 +3069,11 @@ export namespace baremetalsolution_v2 { rename( params: Params$Resource$Projects$Locations$Instances$Rename, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rename( params?: Params$Resource$Projects$Locations$Instances$Rename, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rename( params: Params$Resource$Projects$Locations$Instances$Rename, options: StreamMethodOptions | BodyResponseCallback, @@ -3102,7 +3102,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Rename; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3206,11 +3206,11 @@ export namespace baremetalsolution_v2 { reset( params: Params$Resource$Projects$Locations$Instances$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Projects$Locations$Instances$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Projects$Locations$Instances$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -3239,7 +3239,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3343,11 +3343,11 @@ export namespace baremetalsolution_v2 { start( params: Params$Resource$Projects$Locations$Instances$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Instances$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Instances$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -3376,7 +3376,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3480,11 +3480,11 @@ export namespace baremetalsolution_v2 { stop( params: Params$Resource$Projects$Locations$Instances$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Instances$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Instances$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -3513,7 +3513,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3768,11 +3768,11 @@ export namespace baremetalsolution_v2 { get( params: Params$Resource$Projects$Locations$Networks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Networks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Networks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3801,7 +3801,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3903,11 +3903,11 @@ export namespace baremetalsolution_v2 { list( params: Params$Resource$Projects$Locations$Networks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Networks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Networks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3940,8 +3940,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4039,11 +4039,11 @@ export namespace baremetalsolution_v2 { listNetworkUsage( params: Params$Resource$Projects$Locations$Networks$Listnetworkusage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNetworkUsage( params?: Params$Resource$Projects$Locations$Networks$Listnetworkusage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listNetworkUsage( params: Params$Resource$Projects$Locations$Networks$Listnetworkusage, options: StreamMethodOptions | BodyResponseCallback, @@ -4078,8 +4078,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networks$Listnetworkusage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4205,11 +4205,11 @@ export namespace baremetalsolution_v2 { patch( params: Params$Resource$Projects$Locations$Networks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Networks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Networks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4238,7 +4238,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4409,11 +4409,11 @@ export namespace baremetalsolution_v2 { create( params: Params$Resource$Projects$Locations$Nfsshares$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Nfsshares$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Nfsshares$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4442,7 +4442,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nfsshares$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4543,11 +4543,11 @@ export namespace baremetalsolution_v2 { delete( params: Params$Resource$Projects$Locations$Nfsshares$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Nfsshares$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Nfsshares$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4576,7 +4576,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nfsshares$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4678,11 +4678,11 @@ export namespace baremetalsolution_v2 { get( params: Params$Resource$Projects$Locations$Nfsshares$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Nfsshares$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Nfsshares$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4711,7 +4711,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nfsshares$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4813,11 +4813,11 @@ export namespace baremetalsolution_v2 { list( params: Params$Resource$Projects$Locations$Nfsshares$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Nfsshares$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Nfsshares$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4850,8 +4850,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nfsshares$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4970,11 +4970,11 @@ export namespace baremetalsolution_v2 { patch( params: Params$Resource$Projects$Locations$Nfsshares$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Nfsshares$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Nfsshares$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5003,7 +5003,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nfsshares$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5170,11 +5170,11 @@ export namespace baremetalsolution_v2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5203,7 +5203,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5349,11 +5349,11 @@ export namespace baremetalsolution_v2 { create( params: Params$Resource$Projects$Locations$Provisioningconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Provisioningconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Provisioningconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5384,8 +5384,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Provisioningconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5497,11 +5497,11 @@ export namespace baremetalsolution_v2 { get( params: Params$Resource$Projects$Locations$Provisioningconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Provisioningconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Provisioningconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5532,8 +5532,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Provisioningconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5667,11 +5667,11 @@ export namespace baremetalsolution_v2 { patch( params: Params$Resource$Projects$Locations$Provisioningconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Provisioningconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Provisioningconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5702,8 +5702,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Provisioningconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5808,11 +5808,11 @@ export namespace baremetalsolution_v2 { submit( params: Params$Resource$Projects$Locations$Provisioningconfigs$Submit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submit( params?: Params$Resource$Projects$Locations$Provisioningconfigs$Submit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; submit( params: Params$Resource$Projects$Locations$Provisioningconfigs$Submit, options: StreamMethodOptions | BodyResponseCallback, @@ -5847,8 +5847,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Provisioningconfigs$Submit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6017,11 +6017,11 @@ export namespace baremetalsolution_v2 { list( params: Params$Resource$Projects$Locations$Provisioningquotas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Provisioningquotas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Provisioningquotas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6056,8 +6056,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Provisioningquotas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6192,11 +6192,11 @@ export namespace baremetalsolution_v2 { create( params: Params$Resource$Projects$Locations$Sshkeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sshkeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sshkeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6225,7 +6225,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sshkeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6320,11 +6320,11 @@ export namespace baremetalsolution_v2 { delete( params: Params$Resource$Projects$Locations$Sshkeys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sshkeys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sshkeys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6353,7 +6353,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sshkeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6452,11 +6452,11 @@ export namespace baremetalsolution_v2 { list( params: Params$Resource$Projects$Locations$Sshkeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sshkeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sshkeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6487,8 +6487,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sshkeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6647,11 +6647,11 @@ export namespace baremetalsolution_v2 { evict( params: Params$Resource$Projects$Locations$Volumes$Evict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evict( params?: Params$Resource$Projects$Locations$Volumes$Evict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; evict( params: Params$Resource$Projects$Locations$Volumes$Evict, options: StreamMethodOptions | BodyResponseCallback, @@ -6680,7 +6680,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Evict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6797,11 +6797,11 @@ export namespace baremetalsolution_v2 { get( params: Params$Resource$Projects$Locations$Volumes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Volumes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Volumes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6830,7 +6830,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6932,11 +6932,11 @@ export namespace baremetalsolution_v2 { list( params: Params$Resource$Projects$Locations$Volumes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Volumes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Volumes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6967,8 +6967,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7102,11 +7102,11 @@ export namespace baremetalsolution_v2 { patch( params: Params$Resource$Projects$Locations$Volumes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Volumes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Volumes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7135,7 +7135,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7241,11 +7241,11 @@ export namespace baremetalsolution_v2 { resize( params: Params$Resource$Projects$Locations$Volumes$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Projects$Locations$Volumes$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Projects$Locations$Volumes$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -7274,7 +7274,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7455,11 +7455,11 @@ export namespace baremetalsolution_v2 { evict( params: Params$Resource$Projects$Locations$Volumes$Luns$Evict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evict( params?: Params$Resource$Projects$Locations$Volumes$Luns$Evict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; evict( params: Params$Resource$Projects$Locations$Volumes$Luns$Evict, options: StreamMethodOptions | BodyResponseCallback, @@ -7488,7 +7488,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Luns$Evict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7592,11 +7592,11 @@ export namespace baremetalsolution_v2 { get( params: Params$Resource$Projects$Locations$Volumes$Luns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Volumes$Luns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Volumes$Luns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7625,7 +7625,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Luns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7725,11 +7725,11 @@ export namespace baremetalsolution_v2 { list( params: Params$Resource$Projects$Locations$Volumes$Luns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Volumes$Luns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Volumes$Luns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7758,7 +7758,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Luns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7913,11 +7913,11 @@ export namespace baremetalsolution_v2 { create( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7946,7 +7946,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8043,11 +8043,11 @@ export namespace baremetalsolution_v2 { delete( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8076,7 +8076,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8176,11 +8176,11 @@ export namespace baremetalsolution_v2 { get( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8209,7 +8209,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8311,11 +8311,11 @@ export namespace baremetalsolution_v2 { list( params: Params$Resource$Projects$Locations$Volumes$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Volumes$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8350,8 +8350,8 @@ export namespace baremetalsolution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8463,11 +8463,11 @@ export namespace baremetalsolution_v2 { restoreVolumeSnapshot( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Restorevolumesnapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restoreVolumeSnapshot( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Restorevolumesnapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restoreVolumeSnapshot( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Restorevolumesnapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -8498,7 +8498,7 @@ export namespace baremetalsolution_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Restorevolumesnapshot; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/batch/index.ts b/src/apis/batch/index.ts index 6e526d86574..740ffac7f38 100644 --- a/src/apis/batch/index.ts +++ b/src/apis/batch/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/batch/package.json b/src/apis/batch/package.json index 19beff429a4..79bca5bc318 100644 --- a/src/apis/batch/package.json +++ b/src/apis/batch/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/batch/v1.ts b/src/apis/batch/v1.ts index 8a7d45c4e55..111f25d5be0 100644 --- a/src/apis/batch/v1.ts +++ b/src/apis/batch/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1391,11 +1391,11 @@ export namespace batch_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1424,7 +1424,10 @@ export namespace batch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1476,11 +1479,11 @@ export namespace batch_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1513,8 +1516,8 @@ export namespace batch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1611,11 +1614,11 @@ export namespace batch_v1 { cancel( params: Params$Resource$Projects$Locations$Jobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Jobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Jobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1644,7 +1647,10 @@ export namespace batch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1696,11 +1702,11 @@ export namespace batch_v1 { create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1729,7 +1735,10 @@ export namespace batch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1781,11 +1790,11 @@ export namespace batch_v1 { delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1814,7 +1823,10 @@ export namespace batch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1866,11 +1878,11 @@ export namespace batch_v1 { get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1899,7 +1911,10 @@ export namespace batch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1951,11 +1966,11 @@ export namespace batch_v1 { list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1984,7 +1999,10 @@ export namespace batch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2132,11 +2150,11 @@ export namespace batch_v1 { get( params: Params$Resource$Projects$Locations$Jobs$Taskgroups$Tasks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobs$Taskgroups$Tasks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobs$Taskgroups$Tasks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2165,7 +2183,10 @@ export namespace batch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Taskgroups$Tasks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2218,11 +2239,11 @@ export namespace batch_v1 { list( params: Params$Resource$Projects$Locations$Jobs$Taskgroups$Tasks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$Taskgroups$Tasks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobs$Taskgroups$Tasks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2253,8 +2274,8 @@ export namespace batch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Taskgroups$Tasks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2344,11 +2365,11 @@ export namespace batch_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2377,7 +2398,10 @@ export namespace batch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2429,11 +2453,11 @@ export namespace batch_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2462,7 +2486,10 @@ export namespace batch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2514,11 +2541,11 @@ export namespace batch_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2547,7 +2574,10 @@ export namespace batch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2599,11 +2629,11 @@ export namespace batch_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2636,8 +2666,8 @@ export namespace batch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2745,11 +2775,11 @@ export namespace batch_v1 { report( params: Params$Resource$Projects$Locations$State$Report, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; report( params?: Params$Resource$Projects$Locations$State$Report, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; report( params: Params$Resource$Projects$Locations$State$Report, options: StreamMethodOptions | BodyResponseCallback, @@ -2784,8 +2814,8 @@ export namespace batch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$State$Report; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/beyondcorp/index.ts b/src/apis/beyondcorp/index.ts index a9c71b1985f..d2effe38fc0 100644 --- a/src/apis/beyondcorp/index.ts +++ b/src/apis/beyondcorp/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/beyondcorp/package.json b/src/apis/beyondcorp/package.json index 709864394b2..ca0765f4a4a 100644 --- a/src/apis/beyondcorp/package.json +++ b/src/apis/beyondcorp/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/beyondcorp/v1.ts b/src/apis/beyondcorp/v1.ts index 1f8277cd069..e7dc1e47d1b 100644 --- a/src/apis/beyondcorp/v1.ts +++ b/src/apis/beyondcorp/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1517,11 +1517,13 @@ export namespace beyondcorp_v1 { testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Locations$Global$Partnertenants$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1556,8 +1558,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Partnertenants$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1635,11 +1639,13 @@ export namespace beyondcorp_v1 { testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Browserdlprules$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Locations$Global$Partnertenants$Browserdlprules$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Browserdlprules$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1674,8 +1680,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Partnertenants$Browserdlprules$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1753,11 +1761,13 @@ export namespace beyondcorp_v1 { testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Proxyconfigs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Locations$Global$Partnertenants$Proxyconfigs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Proxyconfigs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1792,8 +1802,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Partnertenants$Proxyconfigs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1871,11 +1883,11 @@ export namespace beyondcorp_v1 { cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1904,7 +1916,10 @@ export namespace beyondcorp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1957,11 +1972,11 @@ export namespace beyondcorp_v1 { delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1990,7 +2005,10 @@ export namespace beyondcorp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2043,11 +2061,11 @@ export namespace beyondcorp_v1 { get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2082,8 +2100,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2135,11 +2153,13 @@ export namespace beyondcorp_v1 { list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2174,8 +2194,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2323,11 +2345,11 @@ export namespace beyondcorp_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2362,8 +2384,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2415,11 +2437,13 @@ export namespace beyondcorp_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2454,8 +2478,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2550,11 +2576,11 @@ export namespace beyondcorp_v1 { create( params: Params$Resource$Projects$Locations$Appconnections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Appconnections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Appconnections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2589,8 +2615,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2645,11 +2671,11 @@ export namespace beyondcorp_v1 { delete( params: Params$Resource$Projects$Locations$Appconnections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Appconnections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Appconnections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2684,8 +2710,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2737,11 +2763,13 @@ export namespace beyondcorp_v1 { get( params: Params$Resource$Projects$Locations$Appconnections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Appconnections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Appconnections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2776,8 +2804,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2831,11 +2861,11 @@ export namespace beyondcorp_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Appconnections$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Appconnections$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Appconnections$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2868,8 +2898,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2925,11 +2955,13 @@ export namespace beyondcorp_v1 { list( params: Params$Resource$Projects$Locations$Appconnections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Appconnections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Appconnections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2964,8 +2996,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3022,11 +3056,11 @@ export namespace beyondcorp_v1 { patch( params: Params$Resource$Projects$Locations$Appconnections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Appconnections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Appconnections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3061,8 +3095,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3114,11 +3148,13 @@ export namespace beyondcorp_v1 { resolve( params: Params$Resource$Projects$Locations$Appconnections$Resolve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params?: Params$Resource$Projects$Locations$Appconnections$Resolve, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; resolve( params: Params$Resource$Projects$Locations$Appconnections$Resolve, options: StreamMethodOptions | BodyResponseCallback, @@ -3153,8 +3189,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Resolve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3212,11 +3250,11 @@ export namespace beyondcorp_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Appconnections$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Appconnections$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Appconnections$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3249,8 +3287,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3306,11 +3344,13 @@ export namespace beyondcorp_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Appconnections$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Appconnections$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Appconnections$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3345,8 +3385,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3563,11 +3605,11 @@ export namespace beyondcorp_v1 { create( params: Params$Resource$Projects$Locations$Appconnectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Appconnectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Appconnectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3602,8 +3644,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3658,11 +3700,11 @@ export namespace beyondcorp_v1 { delete( params: Params$Resource$Projects$Locations$Appconnectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Appconnectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Appconnectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3697,8 +3739,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3750,11 +3792,13 @@ export namespace beyondcorp_v1 { get( params: Params$Resource$Projects$Locations$Appconnectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Appconnectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Appconnectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3789,8 +3833,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3844,11 +3890,11 @@ export namespace beyondcorp_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Appconnectors$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Appconnectors$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Appconnectors$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3881,8 +3927,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3938,11 +3984,13 @@ export namespace beyondcorp_v1 { list( params: Params$Resource$Projects$Locations$Appconnectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Appconnectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Appconnectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3977,8 +4025,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4035,11 +4085,11 @@ export namespace beyondcorp_v1 { patch( params: Params$Resource$Projects$Locations$Appconnectors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Appconnectors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Appconnectors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4074,8 +4124,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4127,11 +4177,11 @@ export namespace beyondcorp_v1 { reportStatus( params: Params$Resource$Projects$Locations$Appconnectors$Reportstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportStatus( params?: Params$Resource$Projects$Locations$Appconnectors$Reportstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportStatus( params: Params$Resource$Projects$Locations$Appconnectors$Reportstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -4166,8 +4216,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Reportstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4223,11 +4273,13 @@ export namespace beyondcorp_v1 { resolveInstanceConfig( params: Params$Resource$Projects$Locations$Appconnectors$Resolveinstanceconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolveInstanceConfig( params?: Params$Resource$Projects$Locations$Appconnectors$Resolveinstanceconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; resolveInstanceConfig( params: Params$Resource$Projects$Locations$Appconnectors$Resolveinstanceconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4262,8 +4314,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Resolveinstanceconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4320,11 +4374,11 @@ export namespace beyondcorp_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Appconnectors$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Appconnectors$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Appconnectors$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4357,8 +4411,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4414,11 +4468,13 @@ export namespace beyondcorp_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Appconnectors$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Appconnectors$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Appconnectors$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4453,8 +4509,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4667,11 +4725,11 @@ export namespace beyondcorp_v1 { create( params: Params$Resource$Projects$Locations$Appgateways$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Appgateways$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Appgateways$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4706,8 +4764,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4762,11 +4820,11 @@ export namespace beyondcorp_v1 { delete( params: Params$Resource$Projects$Locations$Appgateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Appgateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Appgateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4801,8 +4859,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4854,11 +4912,11 @@ export namespace beyondcorp_v1 { get( params: Params$Resource$Projects$Locations$Appgateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Appgateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Appgateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4887,7 +4945,10 @@ export namespace beyondcorp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4939,11 +5000,11 @@ export namespace beyondcorp_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Appgateways$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Appgateways$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Appgateways$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4976,8 +5037,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5033,11 +5094,11 @@ export namespace beyondcorp_v1 { list( params: Params$Resource$Projects$Locations$Appgateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Appgateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Appgateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5070,8 +5131,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5126,11 +5187,11 @@ export namespace beyondcorp_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Appgateways$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Appgateways$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Appgateways$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5163,8 +5224,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5220,11 +5281,13 @@ export namespace beyondcorp_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Appgateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Appgateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Appgateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5259,8 +5322,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5430,11 +5495,11 @@ export namespace beyondcorp_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Clientconnectorservices$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Clientconnectorservices$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Clientconnectorservices$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5467,8 +5532,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clientconnectorservices$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5524,11 +5589,11 @@ export namespace beyondcorp_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Clientconnectorservices$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Clientconnectorservices$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Clientconnectorservices$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5561,8 +5626,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clientconnectorservices$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5618,11 +5683,13 @@ export namespace beyondcorp_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Clientconnectorservices$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Clientconnectorservices$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Clientconnectorservices$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5657,8 +5724,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clientconnectorservices$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5759,11 +5828,11 @@ export namespace beyondcorp_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Clientgateways$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Clientgateways$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Clientgateways$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5796,8 +5865,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clientgateways$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5853,11 +5922,13 @@ export namespace beyondcorp_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Clientgateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Clientgateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Clientgateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5892,8 +5963,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clientgateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6004,11 +6077,11 @@ export namespace beyondcorp_v1 { create( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6043,8 +6116,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6100,11 +6173,11 @@ export namespace beyondcorp_v1 { patch( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6139,8 +6212,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6193,11 +6266,13 @@ export namespace beyondcorp_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6232,8 +6307,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6351,11 +6428,11 @@ export namespace beyondcorp_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6384,7 +6461,10 @@ export namespace beyondcorp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6436,11 +6516,11 @@ export namespace beyondcorp_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6469,7 +6549,10 @@ export namespace beyondcorp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6521,11 +6604,11 @@ export namespace beyondcorp_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6560,8 +6643,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6613,11 +6696,13 @@ export namespace beyondcorp_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6652,8 +6737,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6768,11 +6855,11 @@ export namespace beyondcorp_v1 { create( params: Params$Resource$Projects$Locations$Securitygateways$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Securitygateways$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Securitygateways$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6807,8 +6894,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6864,11 +6951,11 @@ export namespace beyondcorp_v1 { delete( params: Params$Resource$Projects$Locations$Securitygateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Securitygateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Securitygateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6903,8 +6990,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6957,11 +7044,13 @@ export namespace beyondcorp_v1 { get( params: Params$Resource$Projects$Locations$Securitygateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Securitygateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Securitygateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6996,8 +7085,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7051,11 +7142,11 @@ export namespace beyondcorp_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Securitygateways$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7088,8 +7179,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7145,11 +7236,13 @@ export namespace beyondcorp_v1 { list( params: Params$Resource$Projects$Locations$Securitygateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Securitygateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Securitygateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7184,8 +7277,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7242,11 +7337,11 @@ export namespace beyondcorp_v1 { patch( params: Params$Resource$Projects$Locations$Securitygateways$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Securitygateways$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Securitygateways$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7281,8 +7376,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7335,11 +7430,11 @@ export namespace beyondcorp_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Securitygateways$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7372,8 +7467,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7429,11 +7524,13 @@ export namespace beyondcorp_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Securitygateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Securitygateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Securitygateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7468,8 +7565,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7655,11 +7754,11 @@ export namespace beyondcorp_v1 { delete( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Securitygateways$Applications$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7694,8 +7793,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Applications$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7748,11 +7847,13 @@ export namespace beyondcorp_v1 { get( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Securitygateways$Applications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7787,8 +7888,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Applications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7843,11 +7946,11 @@ export namespace beyondcorp_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Securitygateways$Applications$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7880,8 +7983,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Applications$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7937,11 +8040,13 @@ export namespace beyondcorp_v1 { list( params: Params$Resource$Projects$Locations$Securitygateways$Applications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Securitygateways$Applications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Securitygateways$Applications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7976,8 +8081,10 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Applications$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8035,11 +8142,11 @@ export namespace beyondcorp_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Securitygateways$Applications$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8072,8 +8179,8 @@ export namespace beyondcorp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Applications$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/beyondcorp/v1alpha.ts b/src/apis/beyondcorp/v1alpha.ts index 7f5804f1ad9..d9ba1385089 100644 --- a/src/apis/beyondcorp/v1alpha.ts +++ b/src/apis/beyondcorp/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2162,11 +2162,11 @@ export namespace beyondcorp_v1alpha { delete( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Global$Partnertenants$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2201,8 +2201,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Partnertenants$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2255,11 +2255,13 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Global$Partnertenants$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2294,8 +2296,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Partnertenants$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2350,11 +2354,13 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Organizations$Locations$Global$Partnertenants$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Global$Partnertenants$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Global$Partnertenants$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2389,8 +2395,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Partnertenants$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2448,11 +2456,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Locations$Global$Partnertenants$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2487,8 +2497,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Partnertenants$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2607,11 +2619,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Browserdlprules$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Locations$Global$Partnertenants$Browserdlprules$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Browserdlprules$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2646,8 +2660,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Partnertenants$Browserdlprules$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2725,11 +2741,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Proxyconfigs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Locations$Global$Partnertenants$Proxyconfigs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Organizations$Locations$Global$Partnertenants$Proxyconfigs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2764,8 +2782,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Partnertenants$Proxyconfigs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2843,11 +2863,13 @@ export namespace beyondcorp_v1alpha { configuredInsight( params: Params$Resource$Organizations$Locations$Insights$Configuredinsight, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configuredInsight( params?: Params$Resource$Organizations$Locations$Insights$Configuredinsight, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; configuredInsight( params: Params$Resource$Organizations$Locations$Insights$Configuredinsight, options: StreamMethodOptions | BodyResponseCallback, @@ -2882,8 +2904,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insights$Configuredinsight; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2941,11 +2965,13 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Organizations$Locations$Insights$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Insights$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Insights$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2980,8 +3006,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insights$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3035,11 +3063,13 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Organizations$Locations$Insights$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Insights$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Insights$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3074,8 +3104,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insights$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3233,11 +3265,11 @@ export namespace beyondcorp_v1alpha { cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3266,7 +3298,10 @@ export namespace beyondcorp_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3322,11 +3357,11 @@ export namespace beyondcorp_v1alpha { delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3355,7 +3390,10 @@ export namespace beyondcorp_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3408,11 +3446,11 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3447,8 +3485,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3500,11 +3538,13 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3539,8 +3579,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3650,11 +3692,13 @@ export namespace beyondcorp_v1alpha { cancel( params: Params$Resource$Organizations$Locations$Subscriptions$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Locations$Subscriptions$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; cancel( params: Params$Resource$Organizations$Locations$Subscriptions$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3689,8 +3733,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Subscriptions$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3748,11 +3794,13 @@ export namespace beyondcorp_v1alpha { create( params: Params$Resource$Organizations$Locations$Subscriptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Subscriptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Locations$Subscriptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3787,8 +3835,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Subscriptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3846,11 +3896,13 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Organizations$Locations$Subscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Subscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Subscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3885,8 +3937,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Subscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3941,11 +3995,13 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Organizations$Locations$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3980,8 +4036,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4039,11 +4097,13 @@ export namespace beyondcorp_v1alpha { patch( params: Params$Resource$Organizations$Locations$Subscriptions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Subscriptions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Locations$Subscriptions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4078,8 +4138,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Subscriptions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4134,11 +4196,13 @@ export namespace beyondcorp_v1alpha { restart( params: Params$Resource$Organizations$Locations$Subscriptions$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Organizations$Locations$Subscriptions$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; restart( params: Params$Resource$Organizations$Locations$Subscriptions$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -4173,8 +4237,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Subscriptions$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4371,11 +4437,11 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4410,8 +4476,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4463,11 +4529,13 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4502,8 +4570,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4598,11 +4668,11 @@ export namespace beyondcorp_v1alpha { create( params: Params$Resource$Projects$Locations$Appconnections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Appconnections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Appconnections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4637,8 +4707,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4693,11 +4763,11 @@ export namespace beyondcorp_v1alpha { delete( params: Params$Resource$Projects$Locations$Appconnections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Appconnections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Appconnections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4732,8 +4802,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4785,11 +4855,13 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Projects$Locations$Appconnections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Appconnections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Appconnections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4824,8 +4896,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4879,11 +4953,11 @@ export namespace beyondcorp_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Appconnections$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Appconnections$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Appconnections$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4916,8 +4990,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4973,11 +5047,13 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Projects$Locations$Appconnections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Appconnections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Appconnections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5012,8 +5088,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5070,11 +5148,11 @@ export namespace beyondcorp_v1alpha { patch( params: Params$Resource$Projects$Locations$Appconnections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Appconnections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Appconnections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5109,8 +5187,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5162,11 +5240,13 @@ export namespace beyondcorp_v1alpha { resolve( params: Params$Resource$Projects$Locations$Appconnections$Resolve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params?: Params$Resource$Projects$Locations$Appconnections$Resolve, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; resolve( params: Params$Resource$Projects$Locations$Appconnections$Resolve, options: StreamMethodOptions | BodyResponseCallback, @@ -5201,8 +5281,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Resolve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5259,11 +5341,11 @@ export namespace beyondcorp_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Appconnections$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Appconnections$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Appconnections$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5296,8 +5378,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5353,11 +5435,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Appconnections$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Appconnections$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Appconnections$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5392,8 +5476,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnections$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5610,11 +5696,11 @@ export namespace beyondcorp_v1alpha { create( params: Params$Resource$Projects$Locations$Appconnectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Appconnectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Appconnectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5649,8 +5735,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5705,11 +5791,11 @@ export namespace beyondcorp_v1alpha { delete( params: Params$Resource$Projects$Locations$Appconnectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Appconnectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Appconnectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5744,8 +5830,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5797,11 +5883,13 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Projects$Locations$Appconnectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Appconnectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Appconnectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5836,8 +5924,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5891,11 +5981,11 @@ export namespace beyondcorp_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Appconnectors$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Appconnectors$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Appconnectors$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5928,8 +6018,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5985,11 +6075,13 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Projects$Locations$Appconnectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Appconnectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Appconnectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6024,8 +6116,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6082,11 +6176,11 @@ export namespace beyondcorp_v1alpha { patch( params: Params$Resource$Projects$Locations$Appconnectors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Appconnectors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Appconnectors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6121,8 +6215,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6174,11 +6268,11 @@ export namespace beyondcorp_v1alpha { reportStatus( params: Params$Resource$Projects$Locations$Appconnectors$Reportstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportStatus( params?: Params$Resource$Projects$Locations$Appconnectors$Reportstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportStatus( params: Params$Resource$Projects$Locations$Appconnectors$Reportstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -6213,8 +6307,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Reportstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6270,11 +6364,13 @@ export namespace beyondcorp_v1alpha { resolveInstanceConfig( params: Params$Resource$Projects$Locations$Appconnectors$Resolveinstanceconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolveInstanceConfig( params?: Params$Resource$Projects$Locations$Appconnectors$Resolveinstanceconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; resolveInstanceConfig( params: Params$Resource$Projects$Locations$Appconnectors$Resolveinstanceconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -6309,8 +6405,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Resolveinstanceconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6367,11 +6465,11 @@ export namespace beyondcorp_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Appconnectors$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Appconnectors$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Appconnectors$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6404,8 +6502,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6461,11 +6559,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Appconnectors$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Appconnectors$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Appconnectors$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6500,8 +6600,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appconnectors$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6714,11 +6816,11 @@ export namespace beyondcorp_v1alpha { create( params: Params$Resource$Projects$Locations$Appgateways$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Appgateways$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Appgateways$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6753,8 +6855,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6809,11 +6911,11 @@ export namespace beyondcorp_v1alpha { delete( params: Params$Resource$Projects$Locations$Appgateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Appgateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Appgateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6848,8 +6950,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6901,11 +7003,11 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Projects$Locations$Appgateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Appgateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Appgateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6934,7 +7036,10 @@ export namespace beyondcorp_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6986,11 +7091,11 @@ export namespace beyondcorp_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Appgateways$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Appgateways$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Appgateways$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7023,8 +7128,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7080,11 +7185,11 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Projects$Locations$Appgateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Appgateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Appgateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7117,8 +7222,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7173,11 +7278,11 @@ export namespace beyondcorp_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Appgateways$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Appgateways$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Appgateways$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7210,8 +7315,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7267,11 +7372,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Appgateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Appgateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Appgateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7306,8 +7413,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appgateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7477,11 +7586,11 @@ export namespace beyondcorp_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Applicationdomains$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Applicationdomains$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Applicationdomains$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7514,8 +7623,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applicationdomains$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7571,11 +7680,11 @@ export namespace beyondcorp_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Applicationdomains$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Applicationdomains$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Applicationdomains$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7608,8 +7717,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applicationdomains$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7665,11 +7774,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Applicationdomains$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Applicationdomains$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Applicationdomains$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7704,8 +7815,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applicationdomains$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7806,11 +7919,11 @@ export namespace beyondcorp_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Applications$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Applications$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Applications$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7843,8 +7956,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7900,11 +8013,11 @@ export namespace beyondcorp_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Applications$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Applications$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Applications$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7937,8 +8050,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7994,11 +8107,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Applications$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Applications$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Applications$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8033,8 +8148,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Applications$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8135,11 +8252,11 @@ export namespace beyondcorp_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Clientconnectorservices$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Clientconnectorservices$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Clientconnectorservices$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8172,8 +8289,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clientconnectorservices$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8229,11 +8346,11 @@ export namespace beyondcorp_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Clientconnectorservices$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Clientconnectorservices$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Clientconnectorservices$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8266,8 +8383,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clientconnectorservices$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8323,11 +8440,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Clientconnectorservices$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Clientconnectorservices$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Clientconnectorservices$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8362,8 +8481,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clientconnectorservices$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8464,11 +8585,11 @@ export namespace beyondcorp_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Clientgateways$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Clientgateways$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Clientgateways$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8501,8 +8622,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clientgateways$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8558,11 +8679,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Clientgateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Clientgateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Clientgateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8597,8 +8720,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clientgateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8687,11 +8812,11 @@ export namespace beyondcorp_v1alpha { create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8726,8 +8851,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8782,11 +8907,11 @@ export namespace beyondcorp_v1alpha { delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8821,8 +8946,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8874,11 +8999,11 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8907,7 +9032,10 @@ export namespace beyondcorp_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8959,11 +9087,11 @@ export namespace beyondcorp_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Connections$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Connections$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Connections$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8996,8 +9124,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9053,11 +9181,11 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9090,8 +9218,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9146,11 +9274,11 @@ export namespace beyondcorp_v1alpha { patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9185,8 +9313,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9238,11 +9366,11 @@ export namespace beyondcorp_v1alpha { resolve( params: Params$Resource$Projects$Locations$Connections$Resolve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params?: Params$Resource$Projects$Locations$Connections$Resolve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params: Params$Resource$Projects$Locations$Connections$Resolve, options: StreamMethodOptions | BodyResponseCallback, @@ -9277,8 +9405,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Resolve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9333,11 +9461,11 @@ export namespace beyondcorp_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Connections$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Connections$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Connections$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9370,8 +9498,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9574,11 +9702,11 @@ export namespace beyondcorp_v1alpha { create( params: Params$Resource$Projects$Locations$Connectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9613,8 +9741,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9669,11 +9797,11 @@ export namespace beyondcorp_v1alpha { delete( params: Params$Resource$Projects$Locations$Connectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9708,8 +9836,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9761,11 +9889,11 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Projects$Locations$Connectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9794,7 +9922,10 @@ export namespace beyondcorp_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9846,11 +9977,11 @@ export namespace beyondcorp_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Connectors$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Connectors$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Connectors$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9883,8 +10014,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9940,11 +10071,11 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Projects$Locations$Connectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9977,8 +10108,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10033,11 +10164,11 @@ export namespace beyondcorp_v1alpha { patch( params: Params$Resource$Projects$Locations$Connectors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connectors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connectors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10072,8 +10203,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10125,11 +10256,11 @@ export namespace beyondcorp_v1alpha { reportStatus( params: Params$Resource$Projects$Locations$Connectors$Reportstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportStatus( params?: Params$Resource$Projects$Locations$Connectors$Reportstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportStatus( params: Params$Resource$Projects$Locations$Connectors$Reportstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -10164,8 +10295,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Reportstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10221,11 +10352,11 @@ export namespace beyondcorp_v1alpha { resolveInstanceConfig( params: Params$Resource$Projects$Locations$Connectors$Resolveinstanceconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolveInstanceConfig( params?: Params$Resource$Projects$Locations$Connectors$Resolveinstanceconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resolveInstanceConfig( params: Params$Resource$Projects$Locations$Connectors$Resolveinstanceconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -10260,8 +10391,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Resolveinstanceconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10318,11 +10449,11 @@ export namespace beyondcorp_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Connectors$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Connectors$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Connectors$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10355,8 +10486,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10577,11 +10708,11 @@ export namespace beyondcorp_v1alpha { create( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10616,8 +10747,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10673,11 +10804,11 @@ export namespace beyondcorp_v1alpha { patch( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10712,8 +10843,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10766,11 +10897,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -10805,8 +10938,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Securitygateways$Applications$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10924,11 +11059,13 @@ export namespace beyondcorp_v1alpha { configuredInsight( params: Params$Resource$Projects$Locations$Insights$Configuredinsight, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configuredInsight( params?: Params$Resource$Projects$Locations$Insights$Configuredinsight, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; configuredInsight( params: Params$Resource$Projects$Locations$Insights$Configuredinsight, options: StreamMethodOptions | BodyResponseCallback, @@ -10963,8 +11100,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insights$Configuredinsight; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11022,11 +11161,13 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Projects$Locations$Insights$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Insights$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Insights$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11061,8 +11202,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insights$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11116,11 +11259,13 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Projects$Locations$Insights$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Insights$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Insights$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11155,8 +11300,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insights$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11314,11 +11461,11 @@ export namespace beyondcorp_v1alpha { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -11347,7 +11494,10 @@ export namespace beyondcorp_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11402,11 +11552,11 @@ export namespace beyondcorp_v1alpha { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11435,7 +11585,10 @@ export namespace beyondcorp_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11487,11 +11640,11 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11526,8 +11679,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11579,11 +11732,13 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11618,8 +11773,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11734,11 +11891,11 @@ export namespace beyondcorp_v1alpha { create( params: Params$Resource$Projects$Locations$Securitygateways$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Securitygateways$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Securitygateways$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11773,8 +11930,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11830,11 +11987,11 @@ export namespace beyondcorp_v1alpha { delete( params: Params$Resource$Projects$Locations$Securitygateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Securitygateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Securitygateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11869,8 +12026,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11923,11 +12080,13 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Projects$Locations$Securitygateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Securitygateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Securitygateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11962,8 +12121,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12017,11 +12178,11 @@ export namespace beyondcorp_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Securitygateways$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -12054,8 +12215,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12111,11 +12272,13 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Projects$Locations$Securitygateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Securitygateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Securitygateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12150,8 +12313,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12208,11 +12373,11 @@ export namespace beyondcorp_v1alpha { patch( params: Params$Resource$Projects$Locations$Securitygateways$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Securitygateways$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Securitygateways$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12247,8 +12412,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12301,11 +12466,11 @@ export namespace beyondcorp_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Securitygateways$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -12338,8 +12503,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12395,11 +12560,13 @@ export namespace beyondcorp_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Securitygateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Securitygateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Securitygateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -12434,8 +12601,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12621,11 +12790,11 @@ export namespace beyondcorp_v1alpha { delete( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Securitygateways$Applications$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12660,8 +12829,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Applications$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12714,11 +12883,13 @@ export namespace beyondcorp_v1alpha { get( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Securitygateways$Applications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12753,8 +12924,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Applications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12809,11 +12982,11 @@ export namespace beyondcorp_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Securitygateways$Applications$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -12846,8 +13019,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Applications$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12903,11 +13076,13 @@ export namespace beyondcorp_v1alpha { list( params: Params$Resource$Projects$Locations$Securitygateways$Applications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Securitygateways$Applications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Securitygateways$Applications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12942,8 +13117,10 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Applications$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13001,11 +13178,11 @@ export namespace beyondcorp_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Securitygateways$Applications$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Securitygateways$Applications$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -13038,8 +13215,8 @@ export namespace beyondcorp_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitygateways$Applications$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/biglake/index.ts b/src/apis/biglake/index.ts index b897f5327be..abef46068d6 100644 --- a/src/apis/biglake/index.ts +++ b/src/apis/biglake/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/biglake/package.json b/src/apis/biglake/package.json index 1cb4a7f80b3..6044dd39835 100644 --- a/src/apis/biglake/package.json +++ b/src/apis/biglake/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/biglake/v1.ts b/src/apis/biglake/v1.ts index c508b9c19b2..385b3f0432e 100644 --- a/src/apis/biglake/v1.ts +++ b/src/apis/biglake/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -367,11 +367,11 @@ export namespace biglake_v1 { create( params: Params$Resource$Projects$Locations$Catalogs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -400,7 +400,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -455,11 +458,11 @@ export namespace biglake_v1 { delete( params: Params$Resource$Projects$Locations$Catalogs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -488,7 +491,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -540,11 +546,11 @@ export namespace biglake_v1 { get( params: Params$Resource$Projects$Locations$Catalogs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -573,7 +579,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -625,11 +634,11 @@ export namespace biglake_v1 { list( params: Params$Resource$Projects$Locations$Catalogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Catalogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -662,8 +671,8 @@ export namespace biglake_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -775,11 +784,11 @@ export namespace biglake_v1 { create( params: Params$Resource$Projects$Locations$Catalogs$Databases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Databases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Databases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -808,7 +817,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Databases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -864,11 +876,11 @@ export namespace biglake_v1 { delete( params: Params$Resource$Projects$Locations$Catalogs$Databases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Databases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Databases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -897,7 +909,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Databases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -950,11 +965,11 @@ export namespace biglake_v1 { get( params: Params$Resource$Projects$Locations$Catalogs$Databases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Databases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Databases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -983,7 +998,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Databases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1036,11 +1054,11 @@ export namespace biglake_v1 { list( params: Params$Resource$Projects$Locations$Catalogs$Databases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Databases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Catalogs$Databases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1073,8 +1091,8 @@ export namespace biglake_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Databases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1130,11 +1148,11 @@ export namespace biglake_v1 { patch( params: Params$Resource$Projects$Locations$Catalogs$Databases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Databases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Databases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1163,7 +1181,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Databases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1285,11 +1306,11 @@ export namespace biglake_v1 { create( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1318,7 +1339,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1374,11 +1398,11 @@ export namespace biglake_v1 { delete( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1407,7 +1431,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1460,11 +1487,11 @@ export namespace biglake_v1 { get( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1493,7 +1520,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1546,11 +1576,11 @@ export namespace biglake_v1 { list( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1581,8 +1611,8 @@ export namespace biglake_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Databases$Tables$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1638,11 +1668,11 @@ export namespace biglake_v1 { patch( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1671,7 +1701,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1724,11 +1757,11 @@ export namespace biglake_v1 { rename( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Rename, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rename( params?: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Rename, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rename( params: Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Rename, options: StreamMethodOptions | BodyResponseCallback, @@ -1757,7 +1790,10 @@ export namespace biglake_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Databases$Tables$Rename; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/bigquery/index.ts b/src/apis/bigquery/index.ts index 17957cb2345..3116a7aa947 100644 --- a/src/apis/bigquery/index.ts +++ b/src/apis/bigquery/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/bigquery/package.json b/src/apis/bigquery/package.json index ace5f44b932..92c13ef74d7 100644 --- a/src/apis/bigquery/package.json +++ b/src/apis/bigquery/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/bigquery/v2.ts b/src/apis/bigquery/v2.ts index 48a52added2..86f1bfe65bf 100644 --- a/src/apis/bigquery/v2.ts +++ b/src/apis/bigquery/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5568,11 +5568,11 @@ export namespace bigquery_v2 { delete( params: Params$Resource$Datasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Datasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5599,7 +5599,10 @@ export namespace bigquery_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5653,11 +5656,11 @@ export namespace bigquery_v2 { get( params: Params$Resource$Datasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Datasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5686,7 +5689,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5740,11 +5746,11 @@ export namespace bigquery_v2 { insert( params: Params$Resource$Datasets$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Datasets$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Datasets$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5773,7 +5779,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5826,11 +5835,11 @@ export namespace bigquery_v2 { list( params: Params$Resource$Datasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Datasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Datasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5859,7 +5868,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5912,11 +5924,11 @@ export namespace bigquery_v2 { patch( params: Params$Resource$Datasets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Datasets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Datasets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5945,7 +5957,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5999,11 +6014,11 @@ export namespace bigquery_v2 { undelete( params: Params$Resource$Datasets$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Datasets$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Datasets$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -6032,7 +6047,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6087,11 +6105,11 @@ export namespace bigquery_v2 { update( params: Params$Resource$Datasets$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Datasets$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Datasets$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6120,7 +6138,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datasets$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6313,11 +6334,11 @@ export namespace bigquery_v2 { cancel( params: Params$Resource$Jobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Jobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Jobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6348,8 +6369,8 @@ export namespace bigquery_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6403,11 +6424,11 @@ export namespace bigquery_v2 { delete( params: Params$Resource$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6434,7 +6455,10 @@ export namespace bigquery_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6488,11 +6512,11 @@ export namespace bigquery_v2 { get( params: Params$Resource$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6521,7 +6545,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6574,11 +6601,11 @@ export namespace bigquery_v2 { getQueryResults( params: Params$Resource$Jobs$Getqueryresults, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getQueryResults( params?: Params$Resource$Jobs$Getqueryresults, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getQueryResults( params: Params$Resource$Jobs$Getqueryresults, options: StreamMethodOptions | BodyResponseCallback, @@ -6613,8 +6640,8 @@ export namespace bigquery_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Getqueryresults; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6668,11 +6695,11 @@ export namespace bigquery_v2 { insert( params: Params$Resource$Jobs$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Jobs$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Jobs$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6701,7 +6728,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6758,11 +6788,11 @@ export namespace bigquery_v2 { list( params: Params$Resource$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6791,7 +6821,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6845,11 +6878,11 @@ export namespace bigquery_v2 { query( params: Params$Resource$Jobs$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Jobs$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Jobs$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -6878,7 +6911,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7091,11 +7127,11 @@ export namespace bigquery_v2 { delete( params: Params$Resource$Models$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Models$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Models$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7122,7 +7158,10 @@ export namespace bigquery_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Models$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7176,11 +7215,11 @@ export namespace bigquery_v2 { get( params: Params$Resource$Models$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Models$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Models$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7209,7 +7248,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Models$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7263,11 +7305,11 @@ export namespace bigquery_v2 { list( params: Params$Resource$Models$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Models$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Models$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7298,8 +7340,8 @@ export namespace bigquery_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Models$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7353,11 +7395,11 @@ export namespace bigquery_v2 { patch( params: Params$Resource$Models$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Models$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Models$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7386,7 +7428,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Models$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7513,11 +7558,11 @@ export namespace bigquery_v2 { getServiceAccount( params: Params$Resource$Projects$Getserviceaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getServiceAccount( params?: Params$Resource$Projects$Getserviceaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getServiceAccount( params: Params$Resource$Projects$Getserviceaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -7552,8 +7597,8 @@ export namespace bigquery_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getserviceaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7607,11 +7652,11 @@ export namespace bigquery_v2 { list( params: Params$Resource$Projects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7640,7 +7685,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7719,11 +7767,11 @@ export namespace bigquery_v2 { delete( params: Params$Resource$Routines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Routines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Routines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7750,7 +7798,10 @@ export namespace bigquery_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7804,11 +7855,11 @@ export namespace bigquery_v2 { get( params: Params$Resource$Routines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Routines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Routines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7837,7 +7888,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7891,11 +7945,11 @@ export namespace bigquery_v2 { getIamPolicy( params: Params$Resource$Routines$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Routines$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Routines$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7924,7 +7978,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routines$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7979,11 +8036,11 @@ export namespace bigquery_v2 { insert( params: Params$Resource$Routines$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Routines$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Routines$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8012,7 +8069,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routines$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8066,11 +8126,11 @@ export namespace bigquery_v2 { list( params: Params$Resource$Routines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Routines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Routines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8103,8 +8163,8 @@ export namespace bigquery_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8158,11 +8218,11 @@ export namespace bigquery_v2 { setIamPolicy( params: Params$Resource$Routines$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Routines$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Routines$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8191,7 +8251,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routines$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8246,11 +8309,11 @@ export namespace bigquery_v2 { update( params: Params$Resource$Routines$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Routines$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Routines$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8279,7 +8342,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routines$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8457,11 +8523,11 @@ export namespace bigquery_v2 { batchDelete( params: Params$Resource$Rowaccesspolicies$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Rowaccesspolicies$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Rowaccesspolicies$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -8488,7 +8554,10 @@ export namespace bigquery_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Rowaccesspolicies$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8543,11 +8612,11 @@ export namespace bigquery_v2 { delete( params: Params$Resource$Rowaccesspolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Rowaccesspolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Rowaccesspolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8574,7 +8643,10 @@ export namespace bigquery_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Rowaccesspolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8629,11 +8701,11 @@ export namespace bigquery_v2 { get( params: Params$Resource$Rowaccesspolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Rowaccesspolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Rowaccesspolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8662,7 +8734,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Rowaccesspolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8717,11 +8792,11 @@ export namespace bigquery_v2 { getIamPolicy( params: Params$Resource$Rowaccesspolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Rowaccesspolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Rowaccesspolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8750,7 +8825,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Rowaccesspolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8805,11 +8883,11 @@ export namespace bigquery_v2 { insert( params: Params$Resource$Rowaccesspolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Rowaccesspolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Rowaccesspolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8838,7 +8916,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Rowaccesspolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8893,11 +8974,11 @@ export namespace bigquery_v2 { list( params: Params$Resource$Rowaccesspolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Rowaccesspolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Rowaccesspolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8932,8 +9013,8 @@ export namespace bigquery_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Rowaccesspolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8990,11 +9071,11 @@ export namespace bigquery_v2 { testIamPermissions( params: Params$Resource$Rowaccesspolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Rowaccesspolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Rowaccesspolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9029,8 +9110,8 @@ export namespace bigquery_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Rowaccesspolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9084,11 +9165,11 @@ export namespace bigquery_v2 { update( params: Params$Resource$Rowaccesspolicies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Rowaccesspolicies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Rowaccesspolicies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9117,7 +9198,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Rowaccesspolicies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9333,11 +9417,11 @@ export namespace bigquery_v2 { insertAll( params: Params$Resource$Tabledata$Insertall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insertAll( params?: Params$Resource$Tabledata$Insertall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insertAll( params: Params$Resource$Tabledata$Insertall, options: StreamMethodOptions | BodyResponseCallback, @@ -9372,8 +9456,8 @@ export namespace bigquery_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tabledata$Insertall; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9428,11 +9512,11 @@ export namespace bigquery_v2 { list( params: Params$Resource$Tabledata$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tabledata$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tabledata$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9461,7 +9545,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tabledata$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9577,11 +9664,11 @@ export namespace bigquery_v2 { delete( params: Params$Resource$Tables$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Tables$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Tables$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9608,7 +9695,10 @@ export namespace bigquery_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9662,11 +9752,11 @@ export namespace bigquery_v2 { get( params: Params$Resource$Tables$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Tables$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Tables$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9695,7 +9785,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9749,11 +9842,11 @@ export namespace bigquery_v2 { getIamPolicy( params: Params$Resource$Tables$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Tables$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Tables$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9782,7 +9875,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9837,11 +9933,11 @@ export namespace bigquery_v2 { insert( params: Params$Resource$Tables$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Tables$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Tables$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9870,7 +9966,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9924,11 +10023,11 @@ export namespace bigquery_v2 { list( params: Params$Resource$Tables$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tables$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tables$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9957,7 +10056,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10011,11 +10113,11 @@ export namespace bigquery_v2 { patch( params: Params$Resource$Tables$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Tables$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Tables$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10044,7 +10146,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10098,11 +10203,11 @@ export namespace bigquery_v2 { setIamPolicy( params: Params$Resource$Tables$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Tables$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Tables$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10131,7 +10236,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10186,11 +10294,11 @@ export namespace bigquery_v2 { testIamPermissions( params: Params$Resource$Tables$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Tables$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Tables$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -10225,8 +10333,8 @@ export namespace bigquery_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10280,11 +10388,11 @@ export namespace bigquery_v2 { update( params: Params$Resource$Tables$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Tables$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Tables$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10313,7 +10421,10 @@ export namespace bigquery_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tables$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/bigqueryconnection/index.ts b/src/apis/bigqueryconnection/index.ts index 6ccb1d67bfb..5ecaf81f326 100644 --- a/src/apis/bigqueryconnection/index.ts +++ b/src/apis/bigqueryconnection/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/bigqueryconnection/package.json b/src/apis/bigqueryconnection/package.json index 33548e0b625..0617c547dc8 100644 --- a/src/apis/bigqueryconnection/package.json +++ b/src/apis/bigqueryconnection/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/bigqueryconnection/v1.ts b/src/apis/bigqueryconnection/v1.ts index 7ec3e491cbe..5a361b56899 100644 --- a/src/apis/bigqueryconnection/v1.ts +++ b/src/apis/bigqueryconnection/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -665,11 +665,11 @@ export namespace bigqueryconnection_v1 { create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -698,7 +698,10 @@ export namespace bigqueryconnection_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -754,11 +757,11 @@ export namespace bigqueryconnection_v1 { delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -787,7 +790,10 @@ export namespace bigqueryconnection_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -840,11 +846,11 @@ export namespace bigqueryconnection_v1 { get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -873,7 +879,10 @@ export namespace bigqueryconnection_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -926,11 +935,11 @@ export namespace bigqueryconnection_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Connections$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Connections$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Connections$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -959,7 +968,10 @@ export namespace bigqueryconnection_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1016,11 +1028,11 @@ export namespace bigqueryconnection_v1 { list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1053,8 +1065,8 @@ export namespace bigqueryconnection_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1110,11 +1122,11 @@ export namespace bigqueryconnection_v1 { patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1143,7 +1155,10 @@ export namespace bigqueryconnection_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1196,11 +1211,11 @@ export namespace bigqueryconnection_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Connections$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Connections$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Connections$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1229,7 +1244,10 @@ export namespace bigqueryconnection_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1286,11 +1304,11 @@ export namespace bigqueryconnection_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Connections$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Connections$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Connections$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1325,8 +1343,8 @@ export namespace bigqueryconnection_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/bigqueryconnection/v1beta1.ts b/src/apis/bigqueryconnection/v1beta1.ts index 5707a65337f..2bbf91c351b 100644 --- a/src/apis/bigqueryconnection/v1beta1.ts +++ b/src/apis/bigqueryconnection/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -393,11 +393,11 @@ export namespace bigqueryconnection_v1beta1 { create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -426,7 +426,10 @@ export namespace bigqueryconnection_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -482,11 +485,11 @@ export namespace bigqueryconnection_v1beta1 { delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -515,7 +518,10 @@ export namespace bigqueryconnection_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -568,11 +574,11 @@ export namespace bigqueryconnection_v1beta1 { get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -601,7 +607,10 @@ export namespace bigqueryconnection_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -654,11 +663,11 @@ export namespace bigqueryconnection_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Connections$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Connections$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Connections$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -687,7 +696,10 @@ export namespace bigqueryconnection_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -744,11 +756,11 @@ export namespace bigqueryconnection_v1beta1 { list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -781,8 +793,8 @@ export namespace bigqueryconnection_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -838,11 +850,11 @@ export namespace bigqueryconnection_v1beta1 { patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -871,7 +883,10 @@ export namespace bigqueryconnection_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -924,11 +939,11 @@ export namespace bigqueryconnection_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Connections$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Connections$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Connections$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -957,7 +972,10 @@ export namespace bigqueryconnection_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1014,11 +1032,11 @@ export namespace bigqueryconnection_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Connections$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Connections$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Connections$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1053,8 +1071,8 @@ export namespace bigqueryconnection_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1111,11 +1129,11 @@ export namespace bigqueryconnection_v1beta1 { updateCredential( params: Params$Resource$Projects$Locations$Connections$Updatecredential, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCredential( params?: Params$Resource$Projects$Locations$Connections$Updatecredential, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCredential( params: Params$Resource$Projects$Locations$Connections$Updatecredential, options: StreamMethodOptions | BodyResponseCallback, @@ -1144,7 +1162,10 @@ export namespace bigqueryconnection_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Updatecredential; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/bigquerydatapolicy/index.ts b/src/apis/bigquerydatapolicy/index.ts index 2deeb3a71d9..7665a38cb5b 100644 --- a/src/apis/bigquerydatapolicy/index.ts +++ b/src/apis/bigquerydatapolicy/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/bigquerydatapolicy/package.json b/src/apis/bigquerydatapolicy/package.json index a324e98ca9b..6a177c4b120 100644 --- a/src/apis/bigquerydatapolicy/package.json +++ b/src/apis/bigquerydatapolicy/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/bigquerydatapolicy/v1.ts b/src/apis/bigquerydatapolicy/v1.ts index 852ef9e82c4..3e66bd0ff87 100644 --- a/src/apis/bigquerydatapolicy/v1.ts +++ b/src/apis/bigquerydatapolicy/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -360,11 +360,11 @@ export namespace bigquerydatapolicy_v1 { create( params: Params$Resource$Projects$Locations$Datapolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datapolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datapolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -393,7 +393,10 @@ export namespace bigquerydatapolicy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datapolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -449,11 +452,11 @@ export namespace bigquerydatapolicy_v1 { delete( params: Params$Resource$Projects$Locations$Datapolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datapolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datapolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -482,7 +485,10 @@ export namespace bigquerydatapolicy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datapolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -535,11 +541,11 @@ export namespace bigquerydatapolicy_v1 { get( params: Params$Resource$Projects$Locations$Datapolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datapolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datapolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -568,7 +574,10 @@ export namespace bigquerydatapolicy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datapolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -621,11 +630,11 @@ export namespace bigquerydatapolicy_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datapolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datapolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datapolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -654,7 +663,10 @@ export namespace bigquerydatapolicy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datapolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -711,11 +723,11 @@ export namespace bigquerydatapolicy_v1 { list( params: Params$Resource$Projects$Locations$Datapolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datapolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datapolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -748,8 +760,8 @@ export namespace bigquerydatapolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datapolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -805,11 +817,11 @@ export namespace bigquerydatapolicy_v1 { patch( params: Params$Resource$Projects$Locations$Datapolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datapolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datapolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -838,7 +850,10 @@ export namespace bigquerydatapolicy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datapolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -891,11 +906,11 @@ export namespace bigquerydatapolicy_v1 { rename( params: Params$Resource$Projects$Locations$Datapolicies$Rename, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rename( params?: Params$Resource$Projects$Locations$Datapolicies$Rename, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rename( params: Params$Resource$Projects$Locations$Datapolicies$Rename, options: StreamMethodOptions | BodyResponseCallback, @@ -924,7 +939,10 @@ export namespace bigquerydatapolicy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datapolicies$Rename; let options = (optionsOrCallback || {}) as MethodOptions; @@ -977,11 +995,11 @@ export namespace bigquerydatapolicy_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datapolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datapolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datapolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1010,7 +1028,10 @@ export namespace bigquerydatapolicy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datapolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1067,11 +1088,11 @@ export namespace bigquerydatapolicy_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datapolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datapolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datapolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1106,8 +1127,8 @@ export namespace bigquerydatapolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datapolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/bigquerydatatransfer/index.ts b/src/apis/bigquerydatatransfer/index.ts index 825282eaaab..f5687499e0c 100644 --- a/src/apis/bigquerydatatransfer/index.ts +++ b/src/apis/bigquerydatatransfer/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/bigquerydatatransfer/package.json b/src/apis/bigquerydatatransfer/package.json index 09d0bc64cc6..7830384aab3 100644 --- a/src/apis/bigquerydatatransfer/package.json +++ b/src/apis/bigquerydatatransfer/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/bigquerydatatransfer/v1.ts b/src/apis/bigquerydatatransfer/v1.ts index 0b91bdf039f..0720c18fbe4 100644 --- a/src/apis/bigquerydatatransfer/v1.ts +++ b/src/apis/bigquerydatatransfer/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -753,11 +753,11 @@ export namespace bigquerydatatransfer_v1 { enrollDataSources( params: Params$Resource$Projects$Enrolldatasources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enrollDataSources( params?: Params$Resource$Projects$Enrolldatasources, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enrollDataSources( params: Params$Resource$Projects$Enrolldatasources, options: StreamMethodOptions | BodyResponseCallback, @@ -786,7 +786,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Enrolldatasources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -862,11 +865,11 @@ export namespace bigquerydatatransfer_v1 { checkValidCreds( params: Params$Resource$Projects$Datasources$Checkvalidcreds, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkValidCreds( params?: Params$Resource$Projects$Datasources$Checkvalidcreds, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkValidCreds( params: Params$Resource$Projects$Datasources$Checkvalidcreds, options: StreamMethodOptions | BodyResponseCallback, @@ -901,8 +904,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasources$Checkvalidcreds; let options = (optionsOrCallback || {}) as MethodOptions; @@ -958,11 +961,11 @@ export namespace bigquerydatatransfer_v1 { get( params: Params$Resource$Projects$Datasources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Datasources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Datasources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -991,7 +994,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1044,11 +1050,11 @@ export namespace bigquerydatatransfer_v1 { list( params: Params$Resource$Projects$Datasources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Datasources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Datasources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1081,8 +1087,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1188,11 +1194,11 @@ export namespace bigquerydatatransfer_v1 { enrollDataSources( params: Params$Resource$Projects$Locations$Enrolldatasources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enrollDataSources( params?: Params$Resource$Projects$Locations$Enrolldatasources, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enrollDataSources( params: Params$Resource$Projects$Locations$Enrolldatasources, options: StreamMethodOptions | BodyResponseCallback, @@ -1221,7 +1227,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Enrolldatasources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1277,11 +1286,11 @@ export namespace bigquerydatatransfer_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1310,7 +1319,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1363,11 +1375,11 @@ export namespace bigquerydatatransfer_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1400,8 +1412,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1457,11 +1469,11 @@ export namespace bigquerydatatransfer_v1 { unenrollDataSources( params: Params$Resource$Projects$Locations$Unenrolldatasources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unenrollDataSources( params?: Params$Resource$Projects$Locations$Unenrolldatasources, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unenrollDataSources( params: Params$Resource$Projects$Locations$Unenrolldatasources, options: StreamMethodOptions | BodyResponseCallback, @@ -1490,7 +1502,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Unenrolldatasources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1608,11 +1623,11 @@ export namespace bigquerydatatransfer_v1 { checkValidCreds( params: Params$Resource$Projects$Locations$Datasources$Checkvalidcreds, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkValidCreds( params?: Params$Resource$Projects$Locations$Datasources$Checkvalidcreds, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkValidCreds( params: Params$Resource$Projects$Locations$Datasources$Checkvalidcreds, options: StreamMethodOptions | BodyResponseCallback, @@ -1647,8 +1662,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasources$Checkvalidcreds; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1705,11 +1720,11 @@ export namespace bigquerydatatransfer_v1 { get( params: Params$Resource$Projects$Locations$Datasources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1738,7 +1753,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1791,11 +1809,11 @@ export namespace bigquerydatatransfer_v1 { list( params: Params$Resource$Projects$Locations$Datasources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1828,8 +1846,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1931,11 +1949,11 @@ export namespace bigquerydatatransfer_v1 { create( params: Params$Resource$Projects$Locations$Transferconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Transferconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Transferconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1964,7 +1982,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Transferconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2021,11 +2042,11 @@ export namespace bigquerydatatransfer_v1 { delete( params: Params$Resource$Projects$Locations$Transferconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Transferconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Transferconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2054,7 +2075,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Transferconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2108,11 +2132,11 @@ export namespace bigquerydatatransfer_v1 { get( params: Params$Resource$Projects$Locations$Transferconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Transferconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Transferconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2141,7 +2165,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Transferconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2194,11 +2221,11 @@ export namespace bigquerydatatransfer_v1 { list( params: Params$Resource$Projects$Locations$Transferconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Transferconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Transferconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2233,8 +2260,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Transferconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2290,11 +2317,11 @@ export namespace bigquerydatatransfer_v1 { patch( params: Params$Resource$Projects$Locations$Transferconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Transferconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Transferconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2323,7 +2350,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Transferconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2376,11 +2406,11 @@ export namespace bigquerydatatransfer_v1 { scheduleRuns( params: Params$Resource$Projects$Locations$Transferconfigs$Scheduleruns, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; scheduleRuns( params?: Params$Resource$Projects$Locations$Transferconfigs$Scheduleruns, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; scheduleRuns( params: Params$Resource$Projects$Locations$Transferconfigs$Scheduleruns, options: StreamMethodOptions | BodyResponseCallback, @@ -2415,8 +2445,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Transferconfigs$Scheduleruns; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2475,11 +2505,11 @@ export namespace bigquerydatatransfer_v1 { startManualRuns( params: Params$Resource$Projects$Locations$Transferconfigs$Startmanualruns, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startManualRuns( params?: Params$Resource$Projects$Locations$Transferconfigs$Startmanualruns, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startManualRuns( params: Params$Resource$Projects$Locations$Transferconfigs$Startmanualruns, options: StreamMethodOptions | BodyResponseCallback, @@ -2514,8 +2544,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Transferconfigs$Startmanualruns; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2696,11 +2726,11 @@ export namespace bigquerydatatransfer_v1 { delete( params: Params$Resource$Projects$Locations$Transferconfigs$Runs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Transferconfigs$Runs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Transferconfigs$Runs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2729,7 +2759,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Transferconfigs$Runs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2783,11 +2816,11 @@ export namespace bigquerydatatransfer_v1 { get( params: Params$Resource$Projects$Locations$Transferconfigs$Runs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Transferconfigs$Runs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Transferconfigs$Runs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2816,7 +2849,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Transferconfigs$Runs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2870,11 +2906,11 @@ export namespace bigquerydatatransfer_v1 { list( params: Params$Resource$Projects$Locations$Transferconfigs$Runs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Transferconfigs$Runs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Transferconfigs$Runs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2907,8 +2943,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Transferconfigs$Runs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3007,11 +3043,11 @@ export namespace bigquerydatatransfer_v1 { list( params: Params$Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3044,8 +3080,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3131,11 +3167,11 @@ export namespace bigquerydatatransfer_v1 { create( params: Params$Resource$Projects$Transferconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Transferconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Transferconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3164,7 +3200,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Transferconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3220,11 +3259,11 @@ export namespace bigquerydatatransfer_v1 { delete( params: Params$Resource$Projects$Transferconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Transferconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Transferconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3253,7 +3292,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Transferconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3306,11 +3348,11 @@ export namespace bigquerydatatransfer_v1 { get( params: Params$Resource$Projects$Transferconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Transferconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Transferconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3339,7 +3381,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Transferconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3392,11 +3437,11 @@ export namespace bigquerydatatransfer_v1 { list( params: Params$Resource$Projects$Transferconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Transferconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Transferconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3431,8 +3476,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Transferconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3488,11 +3533,11 @@ export namespace bigquerydatatransfer_v1 { patch( params: Params$Resource$Projects$Transferconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Transferconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Transferconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3521,7 +3566,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Transferconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3574,11 +3622,11 @@ export namespace bigquerydatatransfer_v1 { scheduleRuns( params: Params$Resource$Projects$Transferconfigs$Scheduleruns, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; scheduleRuns( params?: Params$Resource$Projects$Transferconfigs$Scheduleruns, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; scheduleRuns( params: Params$Resource$Projects$Transferconfigs$Scheduleruns, options: StreamMethodOptions | BodyResponseCallback, @@ -3613,8 +3661,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Transferconfigs$Scheduleruns; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3672,11 +3720,11 @@ export namespace bigquerydatatransfer_v1 { startManualRuns( params: Params$Resource$Projects$Transferconfigs$Startmanualruns, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startManualRuns( params?: Params$Resource$Projects$Transferconfigs$Startmanualruns, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startManualRuns( params: Params$Resource$Projects$Transferconfigs$Startmanualruns, options: StreamMethodOptions | BodyResponseCallback, @@ -3711,8 +3759,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Transferconfigs$Startmanualruns; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3890,11 +3938,11 @@ export namespace bigquerydatatransfer_v1 { delete( params: Params$Resource$Projects$Transferconfigs$Runs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Transferconfigs$Runs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Transferconfigs$Runs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3923,7 +3971,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Transferconfigs$Runs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3976,11 +4027,11 @@ export namespace bigquerydatatransfer_v1 { get( params: Params$Resource$Projects$Transferconfigs$Runs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Transferconfigs$Runs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Transferconfigs$Runs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4009,7 +4060,10 @@ export namespace bigquerydatatransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Transferconfigs$Runs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4062,11 +4116,11 @@ export namespace bigquerydatatransfer_v1 { list( params: Params$Resource$Projects$Transferconfigs$Runs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Transferconfigs$Runs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Transferconfigs$Runs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4099,8 +4153,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Transferconfigs$Runs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4198,11 +4252,11 @@ export namespace bigquerydatatransfer_v1 { list( params: Params$Resource$Projects$Transferconfigs$Runs$Transferlogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Transferconfigs$Runs$Transferlogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Transferconfigs$Runs$Transferlogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4235,8 +4289,8 @@ export namespace bigquerydatatransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Transferconfigs$Runs$Transferlogs$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/bigqueryreservation/index.ts b/src/apis/bigqueryreservation/index.ts index ab9f28ec072..9035eed3b0f 100644 --- a/src/apis/bigqueryreservation/index.ts +++ b/src/apis/bigqueryreservation/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/bigqueryreservation/package.json b/src/apis/bigqueryreservation/package.json index 8f6ba082703..f00fa985af7 100644 --- a/src/apis/bigqueryreservation/package.json +++ b/src/apis/bigqueryreservation/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/bigqueryreservation/v1.ts b/src/apis/bigqueryreservation/v1.ts index 90134fb2afd..da2dc0c1ca4 100644 --- a/src/apis/bigqueryreservation/v1.ts +++ b/src/apis/bigqueryreservation/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -129,7 +129,7 @@ export namespace bigqueryreservation_v1 { */ export interface Schema$Assignment { /** - * The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or `organizations/456`. + * Optional. The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or `organizations/456`. */ assignee?: string | null; /** @@ -137,7 +137,7 @@ export namespace bigqueryreservation_v1 { */ enableGeminiInBigquery?: boolean | null; /** - * Which type of jobs will use the reservation. + * Optional. Which type of jobs will use the reservation. */ jobType?: string | null; /** @@ -149,6 +149,32 @@ export namespace bigqueryreservation_v1 { */ state?: string | null; } + /** + * Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. + */ + export interface Schema$AuditConfig { + /** + * The configuration for logging of each type of permission. + */ + auditLogConfigs?: Schema$AuditLogConfig[]; + /** + * Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. + */ + service?: string | null; + } + /** + * Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \} ] \} This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. + */ + export interface Schema$AuditLogConfig { + /** + * Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. + */ + exemptedMembers?: string[] | null; + /** + * The log type that this config enables. + */ + logType?: string | null; + } /** * Auto scaling settings. */ @@ -162,20 +188,37 @@ export namespace bigqueryreservation_v1 { */ maxSlots?: string | null; } + /** + * Associates `members`, or principals, with a `role`. + */ + export interface Schema$Binding { + /** + * The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + condition?: Schema$Expr; + /** + * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + */ + members?: string[] | null; + /** + * Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). + */ + role?: string | null; + } /** * Represents a BI Reservation. */ export interface Schema$BiReservation { /** - * The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id\}/locations/{location_id\}/biReservation`. + * Identifier. The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id\}/locations/{location_id\}/biReservation`. */ name?: string | null; /** - * Preferred tables to use BI capacity for. + * Optional. Preferred tables to use BI capacity for. */ preferredTables?: Schema$TableReference[]; /** - * Size of a reservation, in bytes. + * Optional. Size of a reservation, in bytes. */ size?: string | null; /** @@ -196,7 +239,7 @@ export namespace bigqueryreservation_v1 { */ commitmentStartTime?: string | null; /** - * Edition of the capacity commitment. + * Optional. Edition of the capacity commitment. */ edition?: string | null; /** @@ -216,15 +259,15 @@ export namespace bigqueryreservation_v1 { */ name?: string | null; /** - * Capacity commitment commitment plan. + * Optional. Capacity commitment commitment plan. */ plan?: string | null; /** - * The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments. + * Optional. The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments. */ renewalPlan?: string | null; /** - * Number of slots in this commitment. + * Optional. Number of slots in this commitment. */ slotCount?: string | null; /** @@ -236,6 +279,27 @@ export namespace bigqueryreservation_v1 { * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} */ export interface Schema$Empty {} + /** + * Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. + */ + export interface Schema$Expr { + /** + * Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. + */ + description?: string | null; + /** + * Textual representation of an expression in Common Expression Language syntax. + */ + expression?: string | null; + /** + * Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. + */ + location?: string | null; + /** + * Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. + */ + title?: string | null; + } /** * The request for ReservationService.FailoverReservation. */ @@ -305,6 +369,27 @@ export namespace bigqueryreservation_v1 { */ destinationId?: string | null; } + /** + * An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] \}, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", \} \} ], "etag": "BwWWja0YfJA=", "version": 3 \} ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). + */ + export interface Schema$Policy { + /** + * Specifies cloud audit logging configuration for this policy. + */ + auditConfigs?: Schema$AuditConfig[]; + /** + * Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. + */ + bindings?: Schema$Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. + */ + etag?: string | null; + /** + * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + version?: number | null; + } /** * Disaster Recovery(DR) replication status of the reservation. */ @@ -417,6 +502,19 @@ export namespace bigqueryreservation_v1 { */ nextPageToken?: string | null; } + /** + * Request message for `SetIamPolicy` method. + */ + export interface Schema$SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. + */ + policy?: Schema$Policy; + /** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` + */ + updateMask?: string | null; + } /** * The request for ReservationService.SplitCapacityCommitment. */ @@ -461,18 +559,36 @@ export namespace bigqueryreservation_v1 { */ export interface Schema$TableReference { /** - * The ID of the dataset in the above project. + * Optional. The ID of the dataset in the above project. */ datasetId?: string | null; /** - * The assigned project ID of the project. + * Optional. The assigned project ID of the project. */ projectId?: string | null; /** - * The ID of the table in the above dataset. + * Optional. The ID of the table in the above dataset. */ tableId?: string | null; } + /** + * Request message for `TestIamPermissions` method. + */ + export interface Schema$TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[] | null; + } + /** + * Response message for `TestIamPermissions` method. + */ + export interface Schema$TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + */ + permissions?: string[] | null; + } export class Resource$Projects { context: APIRequestContext; @@ -507,11 +623,11 @@ export namespace bigqueryreservation_v1 { getBiReservation( params: Params$Resource$Projects$Locations$Getbireservation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getBiReservation( params?: Params$Resource$Projects$Locations$Getbireservation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getBiReservation( params: Params$Resource$Projects$Locations$Getbireservation, options: StreamMethodOptions | BodyResponseCallback, @@ -542,7 +658,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getbireservation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -595,11 +714,11 @@ export namespace bigqueryreservation_v1 { searchAllAssignments( params: Params$Resource$Projects$Locations$Searchallassignments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchAllAssignments( params?: Params$Resource$Projects$Locations$Searchallassignments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchAllAssignments( params: Params$Resource$Projects$Locations$Searchallassignments, options: StreamMethodOptions | BodyResponseCallback, @@ -634,8 +753,8 @@ export namespace bigqueryreservation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Searchallassignments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -693,11 +812,11 @@ export namespace bigqueryreservation_v1 { searchAssignments( params: Params$Resource$Projects$Locations$Searchassignments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchAssignments( params?: Params$Resource$Projects$Locations$Searchassignments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchAssignments( params: Params$Resource$Projects$Locations$Searchassignments, options: StreamMethodOptions | BodyResponseCallback, @@ -732,8 +851,8 @@ export namespace bigqueryreservation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Searchassignments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -789,11 +908,11 @@ export namespace bigqueryreservation_v1 { updateBiReservation( params: Params$Resource$Projects$Locations$Updatebireservation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateBiReservation( params?: Params$Resource$Projects$Locations$Updatebireservation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateBiReservation( params: Params$Resource$Projects$Locations$Updatebireservation, options: StreamMethodOptions | BodyResponseCallback, @@ -824,7 +943,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatebireservation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -915,7 +1037,7 @@ export namespace bigqueryreservation_v1 { export interface Params$Resource$Projects$Locations$Updatebireservation extends StandardParameters { /** - * The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id\}/locations/{location_id\}/biReservation`. + * Identifier. The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id\}/locations/{location_id\}/biReservation`. */ name?: string; /** @@ -946,11 +1068,11 @@ export namespace bigqueryreservation_v1 { create( params: Params$Resource$Projects$Locations$Capacitycommitments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Capacitycommitments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Capacitycommitments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -981,8 +1103,8 @@ export namespace bigqueryreservation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1039,11 +1161,11 @@ export namespace bigqueryreservation_v1 { delete( params: Params$Resource$Projects$Locations$Capacitycommitments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Capacitycommitments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Capacitycommitments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1072,7 +1194,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1126,11 +1251,11 @@ export namespace bigqueryreservation_v1 { get( params: Params$Resource$Projects$Locations$Capacitycommitments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Capacitycommitments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Capacitycommitments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1161,8 +1286,8 @@ export namespace bigqueryreservation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1216,11 +1341,11 @@ export namespace bigqueryreservation_v1 { list( params: Params$Resource$Projects$Locations$Capacitycommitments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Capacitycommitments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Capacitycommitments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1255,8 +1380,8 @@ export namespace bigqueryreservation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1315,11 +1440,11 @@ export namespace bigqueryreservation_v1 { merge( params: Params$Resource$Projects$Locations$Capacitycommitments$Merge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; merge( params?: Params$Resource$Projects$Locations$Capacitycommitments$Merge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; merge( params: Params$Resource$Projects$Locations$Capacitycommitments$Merge, options: StreamMethodOptions | BodyResponseCallback, @@ -1350,8 +1475,8 @@ export namespace bigqueryreservation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Merge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1408,11 +1533,11 @@ export namespace bigqueryreservation_v1 { patch( params: Params$Resource$Projects$Locations$Capacitycommitments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Capacitycommitments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Capacitycommitments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1443,8 +1568,8 @@ export namespace bigqueryreservation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1498,11 +1623,11 @@ export namespace bigqueryreservation_v1 { split( params: Params$Resource$Projects$Locations$Capacitycommitments$Split, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; split( params?: Params$Resource$Projects$Locations$Capacitycommitments$Split, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; split( params: Params$Resource$Projects$Locations$Capacitycommitments$Split, options: StreamMethodOptions | BodyResponseCallback, @@ -1537,8 +1662,8 @@ export namespace bigqueryreservation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Split; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1698,11 +1823,11 @@ export namespace bigqueryreservation_v1 { create( params: Params$Resource$Projects$Locations$Reservations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reservations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reservations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1731,7 +1856,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1787,11 +1915,11 @@ export namespace bigqueryreservation_v1 { delete( params: Params$Resource$Projects$Locations$Reservations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reservations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reservations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1820,7 +1948,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1873,11 +2004,11 @@ export namespace bigqueryreservation_v1 { failoverReservation( params: Params$Resource$Projects$Locations$Reservations$Failoverreservation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; failoverReservation( params?: Params$Resource$Projects$Locations$Reservations$Failoverreservation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; failoverReservation( params: Params$Resource$Projects$Locations$Reservations$Failoverreservation, options: StreamMethodOptions | BodyResponseCallback, @@ -1908,7 +2039,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Failoverreservation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1965,11 +2099,11 @@ export namespace bigqueryreservation_v1 { get( params: Params$Resource$Projects$Locations$Reservations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reservations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Reservations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1998,7 +2132,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2040,6 +2177,99 @@ export namespace bigqueryreservation_v1 { } } + /** + * Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Reservations To call this method, you must have the following Google IAM permissions: - `bigqueryreservation.reservations.getIamPolicy` to get policies on reservations. + * + * @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. + */ + getIamPolicy( + params: Params$Resource$Projects$Locations$Reservations$Getiampolicy, + options: StreamMethodOptions + ): Promise>; + getIamPolicy( + params?: Params$Resource$Projects$Locations$Reservations$Getiampolicy, + options?: MethodOptions + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Locations$Reservations$Getiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Locations$Reservations$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Locations$Reservations$Getiampolicy, + callback: BodyResponseCallback + ): void; + getIamPolicy(callback: BodyResponseCallback): void; + getIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Reservations$Getiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Reservations$Getiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Reservations$Getiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Lists all the reservations for the project in the specified location. * @@ -2051,11 +2281,11 @@ export namespace bigqueryreservation_v1 { list( params: Params$Resource$Projects$Locations$Reservations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reservations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reservations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2088,8 +2318,8 @@ export namespace bigqueryreservation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2145,11 +2375,11 @@ export namespace bigqueryreservation_v1 { patch( params: Params$Resource$Projects$Locations$Reservations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Reservations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Reservations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2178,7 +2408,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2219,6 +2452,196 @@ export namespace bigqueryreservation_v1 { return createAPIRequest(parameters); } } + + /** + * Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Reservations To call this method, you must have the following Google IAM permissions: - `bigqueryreservation.reservations.setIamPolicy` to set policies on reservations. + * + * @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. + */ + setIamPolicy( + params: Params$Resource$Projects$Locations$Reservations$Setiampolicy, + options: StreamMethodOptions + ): Promise>; + setIamPolicy( + params?: Params$Resource$Projects$Locations$Reservations$Setiampolicy, + options?: MethodOptions + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Reservations$Setiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Reservations$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Reservations$Setiampolicy, + callback: BodyResponseCallback + ): void; + setIamPolicy(callback: BodyResponseCallback): void; + setIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Reservations$Setiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Reservations$Setiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Reservations$Setiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Reservations No Google IAM permissions are required to call this method. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + testIamPermissions( + params: Params$Resource$Projects$Locations$Reservations$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Projects$Locations$Reservations$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Projects$Locations$Reservations$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Locations$Reservations$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Locations$Reservations$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Reservations$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Reservations$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Reservations$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } } export interface Params$Resource$Projects$Locations$Reservations$Create @@ -2263,6 +2686,17 @@ export namespace bigqueryreservation_v1 { */ name?: string; } + export interface Params$Resource$Projects$Locations$Reservations$Getiampolicy + extends StandardParameters { + /** + * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + 'options.requestedPolicyVersion'?: number; + /** + * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + } export interface Params$Resource$Projects$Locations$Reservations$List extends StandardParameters { /** @@ -2294,6 +2728,30 @@ export namespace bigqueryreservation_v1 { */ requestBody?: Schema$Reservation; } + export interface Params$Resource$Projects$Locations$Reservations$Setiampolicy + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Reservations$Testiampermissions + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestIamPermissionsRequest; + } export class Resource$Projects$Locations$Reservations$Assignments { context: APIRequestContext; @@ -2312,11 +2770,11 @@ export namespace bigqueryreservation_v1 { create( params: Params$Resource$Projects$Locations$Reservations$Assignments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reservations$Assignments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reservations$Assignments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2345,7 +2803,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Assignments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2402,11 +2863,11 @@ export namespace bigqueryreservation_v1 { delete( params: Params$Resource$Projects$Locations$Reservations$Assignments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reservations$Assignments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reservations$Assignments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2435,7 +2896,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Assignments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2489,11 +2953,11 @@ export namespace bigqueryreservation_v1 { list( params: Params$Resource$Projects$Locations$Reservations$Assignments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reservations$Assignments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reservations$Assignments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2526,8 +2990,8 @@ export namespace bigqueryreservation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Assignments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2584,11 +3048,11 @@ export namespace bigqueryreservation_v1 { move( params: Params$Resource$Projects$Locations$Reservations$Assignments$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Projects$Locations$Reservations$Assignments$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Projects$Locations$Reservations$Assignments$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -2617,7 +3081,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Assignments$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2671,11 +3138,11 @@ export namespace bigqueryreservation_v1 { patch( params: Params$Resource$Projects$Locations$Reservations$Assignments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Reservations$Assignments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Reservations$Assignments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2704,7 +3171,10 @@ export namespace bigqueryreservation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Assignments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/bigqueryreservation/v1alpha2.ts b/src/apis/bigqueryreservation/v1alpha2.ts index 6760dd10b95..57bffe1ab7f 100644 --- a/src/apis/bigqueryreservation/v1alpha2.ts +++ b/src/apis/bigqueryreservation/v1alpha2.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -396,11 +396,11 @@ export namespace bigqueryreservation_v1alpha2 { searchReservationGrants( params: Params$Resource$Projects$Locations$Searchreservationgrants, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchReservationGrants( params?: Params$Resource$Projects$Locations$Searchreservationgrants, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchReservationGrants( params: Params$Resource$Projects$Locations$Searchreservationgrants, options: StreamMethodOptions | BodyResponseCallback, @@ -435,8 +435,8 @@ export namespace bigqueryreservation_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Searchreservationgrants; let options = (optionsOrCallback || {}) as MethodOptions; @@ -562,11 +562,11 @@ export namespace bigqueryreservation_v1alpha2 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -595,7 +595,7 @@ export namespace bigqueryreservation_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -699,11 +699,11 @@ export namespace bigqueryreservation_v1alpha2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -732,7 +732,7 @@ export namespace bigqueryreservation_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -869,11 +869,11 @@ export namespace bigqueryreservation_v1alpha2 { create( params: Params$Resource$Projects$Locations$Reservationgrants$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reservationgrants$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reservationgrants$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -902,7 +902,7 @@ export namespace bigqueryreservation_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservationgrants$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1003,11 +1003,11 @@ export namespace bigqueryreservation_v1alpha2 { delete( params: Params$Resource$Projects$Locations$Reservationgrants$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reservationgrants$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reservationgrants$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1036,7 +1036,7 @@ export namespace bigqueryreservation_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservationgrants$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1140,11 +1140,11 @@ export namespace bigqueryreservation_v1alpha2 { list( params: Params$Resource$Projects$Locations$Reservationgrants$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reservationgrants$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reservationgrants$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1179,8 +1179,8 @@ export namespace bigqueryreservation_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservationgrants$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1342,11 +1342,11 @@ export namespace bigqueryreservation_v1alpha2 { create( params: Params$Resource$Projects$Locations$Reservations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reservations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reservations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1375,7 +1375,7 @@ export namespace bigqueryreservation_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1491,11 +1491,11 @@ export namespace bigqueryreservation_v1alpha2 { createReservation( params: Params$Resource$Projects$Locations$Reservations$Createreservation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createReservation( params?: Params$Resource$Projects$Locations$Reservations$Createreservation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createReservation( params: Params$Resource$Projects$Locations$Reservations$Createreservation, options: StreamMethodOptions | BodyResponseCallback, @@ -1524,7 +1524,7 @@ export namespace bigqueryreservation_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Createreservation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1624,11 +1624,11 @@ export namespace bigqueryreservation_v1alpha2 { delete( params: Params$Resource$Projects$Locations$Reservations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reservations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reservations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1657,7 +1657,7 @@ export namespace bigqueryreservation_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1756,11 +1756,11 @@ export namespace bigqueryreservation_v1alpha2 { get( params: Params$Resource$Projects$Locations$Reservations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reservations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Reservations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1789,7 +1789,7 @@ export namespace bigqueryreservation_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1893,11 +1893,11 @@ export namespace bigqueryreservation_v1alpha2 { list( params: Params$Resource$Projects$Locations$Reservations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reservations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reservations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1930,8 +1930,8 @@ export namespace bigqueryreservation_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2046,11 +2046,11 @@ export namespace bigqueryreservation_v1alpha2 { patch( params: Params$Resource$Projects$Locations$Reservations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Reservations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Reservations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2079,7 +2079,7 @@ export namespace bigqueryreservation_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2270,11 +2270,11 @@ export namespace bigqueryreservation_v1alpha2 { delete( params: Params$Resource$Projects$Locations$Reservations$Slotpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reservations$Slotpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reservations$Slotpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2303,7 +2303,7 @@ export namespace bigqueryreservation_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Slotpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2408,11 +2408,11 @@ export namespace bigqueryreservation_v1alpha2 { get( params: Params$Resource$Projects$Locations$Reservations$Slotpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reservations$Slotpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Reservations$Slotpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2441,7 +2441,7 @@ export namespace bigqueryreservation_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Slotpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2546,11 +2546,11 @@ export namespace bigqueryreservation_v1alpha2 { list( params: Params$Resource$Projects$Locations$Reservations$Slotpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reservations$Slotpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reservations$Slotpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2583,8 +2583,8 @@ export namespace bigqueryreservation_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Slotpools$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/bigqueryreservation/v1beta1.ts b/src/apis/bigqueryreservation/v1beta1.ts index d37c7aebf9f..82cd9e10a12 100644 --- a/src/apis/bigqueryreservation/v1beta1.ts +++ b/src/apis/bigqueryreservation/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -452,11 +452,11 @@ export namespace bigqueryreservation_v1beta1 { getBiReservation( params: Params$Resource$Projects$Locations$Getbireservation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getBiReservation( params?: Params$Resource$Projects$Locations$Getbireservation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getBiReservation( params: Params$Resource$Projects$Locations$Getbireservation, options: StreamMethodOptions | BodyResponseCallback, @@ -487,7 +487,7 @@ export namespace bigqueryreservation_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getbireservation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -591,11 +591,11 @@ export namespace bigqueryreservation_v1beta1 { searchAssignments( params: Params$Resource$Projects$Locations$Searchassignments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchAssignments( params?: Params$Resource$Projects$Locations$Searchassignments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchAssignments( params: Params$Resource$Projects$Locations$Searchassignments, options: StreamMethodOptions | BodyResponseCallback, @@ -630,8 +630,8 @@ export namespace bigqueryreservation_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Searchassignments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -747,11 +747,11 @@ export namespace bigqueryreservation_v1beta1 { updateBiReservation( params: Params$Resource$Projects$Locations$Updatebireservation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateBiReservation( params?: Params$Resource$Projects$Locations$Updatebireservation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateBiReservation( params: Params$Resource$Projects$Locations$Updatebireservation, options: StreamMethodOptions | BodyResponseCallback, @@ -782,7 +782,7 @@ export namespace bigqueryreservation_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatebireservation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -958,11 +958,11 @@ export namespace bigqueryreservation_v1beta1 { create( params: Params$Resource$Projects$Locations$Capacitycommitments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Capacitycommitments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Capacitycommitments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -993,8 +993,8 @@ export namespace bigqueryreservation_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1096,11 +1096,11 @@ export namespace bigqueryreservation_v1beta1 { delete( params: Params$Resource$Projects$Locations$Capacitycommitments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Capacitycommitments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Capacitycommitments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1129,7 +1129,7 @@ export namespace bigqueryreservation_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1236,11 +1236,11 @@ export namespace bigqueryreservation_v1beta1 { get( params: Params$Resource$Projects$Locations$Capacitycommitments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Capacitycommitments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Capacitycommitments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1271,8 +1271,8 @@ export namespace bigqueryreservation_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1376,11 +1376,11 @@ export namespace bigqueryreservation_v1beta1 { list( params: Params$Resource$Projects$Locations$Capacitycommitments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Capacitycommitments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Capacitycommitments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1415,8 +1415,8 @@ export namespace bigqueryreservation_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1536,11 +1536,11 @@ export namespace bigqueryreservation_v1beta1 { merge( params: Params$Resource$Projects$Locations$Capacitycommitments$Merge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; merge( params?: Params$Resource$Projects$Locations$Capacitycommitments$Merge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; merge( params: Params$Resource$Projects$Locations$Capacitycommitments$Merge, options: StreamMethodOptions | BodyResponseCallback, @@ -1571,8 +1571,8 @@ export namespace bigqueryreservation_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Merge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1699,11 +1699,11 @@ export namespace bigqueryreservation_v1beta1 { patch( params: Params$Resource$Projects$Locations$Capacitycommitments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Capacitycommitments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Capacitycommitments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1734,8 +1734,8 @@ export namespace bigqueryreservation_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1843,11 +1843,11 @@ export namespace bigqueryreservation_v1beta1 { split( params: Params$Resource$Projects$Locations$Capacitycommitments$Split, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; split( params?: Params$Resource$Projects$Locations$Capacitycommitments$Split, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; split( params: Params$Resource$Projects$Locations$Capacitycommitments$Split, options: StreamMethodOptions | BodyResponseCallback, @@ -1882,8 +1882,8 @@ export namespace bigqueryreservation_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capacitycommitments$Split; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2112,11 +2112,11 @@ export namespace bigqueryreservation_v1beta1 { create( params: Params$Resource$Projects$Locations$Reservations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reservations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reservations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2145,7 +2145,7 @@ export namespace bigqueryreservation_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2243,11 +2243,11 @@ export namespace bigqueryreservation_v1beta1 { delete( params: Params$Resource$Projects$Locations$Reservations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reservations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reservations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2276,7 +2276,7 @@ export namespace bigqueryreservation_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2379,11 +2379,11 @@ export namespace bigqueryreservation_v1beta1 { get( params: Params$Resource$Projects$Locations$Reservations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reservations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Reservations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2412,7 +2412,7 @@ export namespace bigqueryreservation_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2516,11 +2516,11 @@ export namespace bigqueryreservation_v1beta1 { list( params: Params$Resource$Projects$Locations$Reservations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reservations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reservations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2553,8 +2553,8 @@ export namespace bigqueryreservation_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2676,11 +2676,11 @@ export namespace bigqueryreservation_v1beta1 { patch( params: Params$Resource$Projects$Locations$Reservations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Reservations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Reservations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2709,7 +2709,7 @@ export namespace bigqueryreservation_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2899,11 +2899,11 @@ export namespace bigqueryreservation_v1beta1 { create( params: Params$Resource$Projects$Locations$Reservations$Assignments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reservations$Assignments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reservations$Assignments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2932,7 +2932,7 @@ export namespace bigqueryreservation_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Assignments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3034,11 +3034,11 @@ export namespace bigqueryreservation_v1beta1 { delete( params: Params$Resource$Projects$Locations$Reservations$Assignments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reservations$Assignments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reservations$Assignments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3067,7 +3067,7 @@ export namespace bigqueryreservation_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Assignments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3172,11 +3172,11 @@ export namespace bigqueryreservation_v1beta1 { list( params: Params$Resource$Projects$Locations$Reservations$Assignments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reservations$Assignments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reservations$Assignments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3209,8 +3209,8 @@ export namespace bigqueryreservation_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Assignments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3323,11 +3323,11 @@ export namespace bigqueryreservation_v1beta1 { move( params: Params$Resource$Projects$Locations$Reservations$Assignments$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Projects$Locations$Reservations$Assignments$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Projects$Locations$Reservations$Assignments$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -3356,7 +3356,7 @@ export namespace bigqueryreservation_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Assignments$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3476,11 +3476,11 @@ export namespace bigqueryreservation_v1beta1 { patch( params: Params$Resource$Projects$Locations$Reservations$Assignments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Reservations$Assignments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Reservations$Assignments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3509,7 +3509,7 @@ export namespace bigqueryreservation_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$Assignments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/bigtableadmin/index.ts b/src/apis/bigtableadmin/index.ts index 681b8298216..f23d48e2f88 100644 --- a/src/apis/bigtableadmin/index.ts +++ b/src/apis/bigtableadmin/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/bigtableadmin/package.json b/src/apis/bigtableadmin/package.json index 49968612cdb..f6bbfad875a 100644 --- a/src/apis/bigtableadmin/package.json +++ b/src/apis/bigtableadmin/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/bigtableadmin/v1.ts b/src/apis/bigtableadmin/v1.ts index ff37d8eb853..beb6df4f396 100644 --- a/src/apis/bigtableadmin/v1.ts +++ b/src/apis/bigtableadmin/v1.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, diff --git a/src/apis/bigtableadmin/v2.ts b/src/apis/bigtableadmin/v2.ts index c8310f79059..d7ba893cc58 100644 --- a/src/apis/bigtableadmin/v2.ts +++ b/src/apis/bigtableadmin/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2054,11 +2054,11 @@ export namespace bigtableadmin_v2 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2087,7 +2087,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2164,11 +2167,11 @@ export namespace bigtableadmin_v2 { list( params: Params$Resource$Operations$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2201,8 +2204,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2311,11 +2314,11 @@ export namespace bigtableadmin_v2 { create( params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2344,7 +2347,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2400,11 +2406,11 @@ export namespace bigtableadmin_v2 { delete( params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2433,7 +2439,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2486,11 +2495,11 @@ export namespace bigtableadmin_v2 { get( params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2519,7 +2528,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2572,11 +2584,11 @@ export namespace bigtableadmin_v2 { getIamPolicy( params: Params$Resource$Projects$Instances$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Instances$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2605,7 +2617,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2661,11 +2676,11 @@ export namespace bigtableadmin_v2 { list( params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2698,8 +2713,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2755,11 +2770,11 @@ export namespace bigtableadmin_v2 { partialUpdateInstance( params: Params$Resource$Projects$Instances$Partialupdateinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; partialUpdateInstance( params?: Params$Resource$Projects$Instances$Partialupdateinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; partialUpdateInstance( params: Params$Resource$Projects$Instances$Partialupdateinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -2790,7 +2805,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Partialupdateinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2843,11 +2861,11 @@ export namespace bigtableadmin_v2 { setIamPolicy( params: Params$Resource$Projects$Instances$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Instances$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2876,7 +2894,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2932,11 +2953,11 @@ export namespace bigtableadmin_v2 { testIamPermissions( params: Params$Resource$Projects$Instances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Instances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2971,8 +2992,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3028,11 +3049,11 @@ export namespace bigtableadmin_v2 { update( params: Params$Resource$Projects$Instances$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Instances$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Instances$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3061,7 +3082,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3223,11 +3247,11 @@ export namespace bigtableadmin_v2 { create( params: Params$Resource$Projects$Instances$Appprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Appprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Appprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3256,7 +3280,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Appprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3312,11 +3339,11 @@ export namespace bigtableadmin_v2 { delete( params: Params$Resource$Projects$Instances$Appprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Appprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Appprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3345,7 +3372,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Appprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3398,11 +3428,11 @@ export namespace bigtableadmin_v2 { get( params: Params$Resource$Projects$Instances$Appprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Appprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Appprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3431,7 +3461,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Appprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3484,11 +3517,11 @@ export namespace bigtableadmin_v2 { list( params: Params$Resource$Projects$Instances$Appprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Appprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Appprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3521,8 +3554,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Appprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3578,11 +3611,11 @@ export namespace bigtableadmin_v2 { patch( params: Params$Resource$Projects$Instances$Appprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Appprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Appprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3611,7 +3644,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Appprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3753,11 +3789,11 @@ export namespace bigtableadmin_v2 { create( params: Params$Resource$Projects$Instances$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3786,7 +3822,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3842,11 +3881,11 @@ export namespace bigtableadmin_v2 { delete( params: Params$Resource$Projects$Instances$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3875,7 +3914,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3928,11 +3970,11 @@ export namespace bigtableadmin_v2 { get( params: Params$Resource$Projects$Instances$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3961,7 +4003,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4014,11 +4059,11 @@ export namespace bigtableadmin_v2 { list( params: Params$Resource$Projects$Instances$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4051,8 +4096,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4108,11 +4153,11 @@ export namespace bigtableadmin_v2 { partialUpdateCluster( params: Params$Resource$Projects$Instances$Clusters$Partialupdatecluster, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; partialUpdateCluster( params?: Params$Resource$Projects$Instances$Clusters$Partialupdatecluster, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; partialUpdateCluster( params: Params$Resource$Projects$Instances$Clusters$Partialupdatecluster, options: StreamMethodOptions | BodyResponseCallback, @@ -4143,7 +4188,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Partialupdatecluster; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4197,11 +4245,11 @@ export namespace bigtableadmin_v2 { update( params: Params$Resource$Projects$Instances$Clusters$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Instances$Clusters$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Instances$Clusters$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4230,7 +4278,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4360,11 +4411,11 @@ export namespace bigtableadmin_v2 { copy( params: Params$Resource$Projects$Instances$Clusters$Backups$Copy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copy( params?: Params$Resource$Projects$Instances$Clusters$Backups$Copy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copy( params: Params$Resource$Projects$Instances$Clusters$Backups$Copy, options: StreamMethodOptions | BodyResponseCallback, @@ -4393,7 +4444,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Backups$Copy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4449,11 +4503,11 @@ export namespace bigtableadmin_v2 { create( params: Params$Resource$Projects$Instances$Clusters$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Clusters$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Clusters$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4482,7 +4536,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4539,11 +4596,11 @@ export namespace bigtableadmin_v2 { delete( params: Params$Resource$Projects$Instances$Clusters$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Clusters$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Clusters$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4572,7 +4629,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4626,11 +4686,11 @@ export namespace bigtableadmin_v2 { get( params: Params$Resource$Projects$Instances$Clusters$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Clusters$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Clusters$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4659,7 +4719,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4712,11 +4775,11 @@ export namespace bigtableadmin_v2 { getIamPolicy( params: Params$Resource$Projects$Instances$Clusters$Backups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Instances$Clusters$Backups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Instances$Clusters$Backups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4745,7 +4808,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Backups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4802,11 +4868,11 @@ export namespace bigtableadmin_v2 { list( params: Params$Resource$Projects$Instances$Clusters$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Clusters$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Clusters$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4837,8 +4903,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4894,11 +4960,11 @@ export namespace bigtableadmin_v2 { patch( params: Params$Resource$Projects$Instances$Clusters$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Clusters$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Clusters$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4927,7 +4993,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4981,11 +5050,11 @@ export namespace bigtableadmin_v2 { setIamPolicy( params: Params$Resource$Projects$Instances$Clusters$Backups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Instances$Clusters$Backups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Instances$Clusters$Backups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5014,7 +5083,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Backups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5071,11 +5143,11 @@ export namespace bigtableadmin_v2 { testIamPermissions( params: Params$Resource$Projects$Instances$Clusters$Backups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Instances$Clusters$Backups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Instances$Clusters$Backups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5110,8 +5182,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Backups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5293,11 +5365,11 @@ export namespace bigtableadmin_v2 { list( params: Params$Resource$Projects$Instances$Clusters$Hottablets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Clusters$Hottablets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Clusters$Hottablets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5330,8 +5402,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Clusters$Hottablets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5419,11 +5491,11 @@ export namespace bigtableadmin_v2 { create( params: Params$Resource$Projects$Instances$Logicalviews$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Logicalviews$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Logicalviews$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5452,7 +5524,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Logicalviews$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5508,11 +5583,11 @@ export namespace bigtableadmin_v2 { delete( params: Params$Resource$Projects$Instances$Logicalviews$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Logicalviews$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Logicalviews$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5541,7 +5616,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Logicalviews$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5594,11 +5672,11 @@ export namespace bigtableadmin_v2 { get( params: Params$Resource$Projects$Instances$Logicalviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Logicalviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Logicalviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5627,7 +5705,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Logicalviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5680,11 +5761,11 @@ export namespace bigtableadmin_v2 { getIamPolicy( params: Params$Resource$Projects$Instances$Logicalviews$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Instances$Logicalviews$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Instances$Logicalviews$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5713,7 +5794,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Logicalviews$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5770,11 +5854,11 @@ export namespace bigtableadmin_v2 { list( params: Params$Resource$Projects$Instances$Logicalviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Logicalviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Logicalviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5807,8 +5891,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Logicalviews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5864,11 +5948,11 @@ export namespace bigtableadmin_v2 { patch( params: Params$Resource$Projects$Instances$Logicalviews$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Logicalviews$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Logicalviews$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5897,7 +5981,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Logicalviews$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5950,11 +6037,11 @@ export namespace bigtableadmin_v2 { setIamPolicy( params: Params$Resource$Projects$Instances$Logicalviews$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Instances$Logicalviews$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Instances$Logicalviews$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5983,7 +6070,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Logicalviews$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6040,11 +6130,11 @@ export namespace bigtableadmin_v2 { testIamPermissions( params: Params$Resource$Projects$Instances$Logicalviews$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Instances$Logicalviews$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Instances$Logicalviews$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6079,8 +6169,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Logicalviews$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6246,11 +6336,11 @@ export namespace bigtableadmin_v2 { create( params: Params$Resource$Projects$Instances$Materializedviews$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Materializedviews$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Materializedviews$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6279,7 +6369,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Materializedviews$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6336,11 +6429,11 @@ export namespace bigtableadmin_v2 { delete( params: Params$Resource$Projects$Instances$Materializedviews$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Materializedviews$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Materializedviews$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6369,7 +6462,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Materializedviews$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6423,11 +6519,11 @@ export namespace bigtableadmin_v2 { get( params: Params$Resource$Projects$Instances$Materializedviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Materializedviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Materializedviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6456,7 +6552,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Materializedviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6509,11 +6608,11 @@ export namespace bigtableadmin_v2 { getIamPolicy( params: Params$Resource$Projects$Instances$Materializedviews$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Instances$Materializedviews$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Instances$Materializedviews$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6542,7 +6641,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Materializedviews$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6599,11 +6701,11 @@ export namespace bigtableadmin_v2 { list( params: Params$Resource$Projects$Instances$Materializedviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Materializedviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Materializedviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6638,8 +6740,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Materializedviews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6698,11 +6800,11 @@ export namespace bigtableadmin_v2 { patch( params: Params$Resource$Projects$Instances$Materializedviews$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Materializedviews$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Materializedviews$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6731,7 +6833,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Materializedviews$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6785,11 +6890,11 @@ export namespace bigtableadmin_v2 { setIamPolicy( params: Params$Resource$Projects$Instances$Materializedviews$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Instances$Materializedviews$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Instances$Materializedviews$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6818,7 +6923,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Materializedviews$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6875,11 +6983,11 @@ export namespace bigtableadmin_v2 { testIamPermissions( params: Params$Resource$Projects$Instances$Materializedviews$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Instances$Materializedviews$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Instances$Materializedviews$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6914,8 +7022,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Materializedviews$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7084,11 +7192,11 @@ export namespace bigtableadmin_v2 { checkConsistency( params: Params$Resource$Projects$Instances$Tables$Checkconsistency, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkConsistency( params?: Params$Resource$Projects$Instances$Tables$Checkconsistency, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkConsistency( params: Params$Resource$Projects$Instances$Tables$Checkconsistency, options: StreamMethodOptions | BodyResponseCallback, @@ -7123,8 +7231,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Checkconsistency; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7181,11 +7289,11 @@ export namespace bigtableadmin_v2 { create( params: Params$Resource$Projects$Instances$Tables$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Tables$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Tables$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7214,7 +7322,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7270,11 +7381,11 @@ export namespace bigtableadmin_v2 { delete( params: Params$Resource$Projects$Instances$Tables$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Tables$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Tables$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7303,7 +7414,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7356,11 +7470,11 @@ export namespace bigtableadmin_v2 { dropRowRange( params: Params$Resource$Projects$Instances$Tables$Droprowrange, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; dropRowRange( params?: Params$Resource$Projects$Instances$Tables$Droprowrange, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; dropRowRange( params: Params$Resource$Projects$Instances$Tables$Droprowrange, options: StreamMethodOptions | BodyResponseCallback, @@ -7389,7 +7503,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Droprowrange; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7445,11 +7562,13 @@ export namespace bigtableadmin_v2 { generateConsistencyToken( params: Params$Resource$Projects$Instances$Tables$Generateconsistencytoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateConsistencyToken( params?: Params$Resource$Projects$Instances$Tables$Generateconsistencytoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateConsistencyToken( params: Params$Resource$Projects$Instances$Tables$Generateconsistencytoken, options: StreamMethodOptions | BodyResponseCallback, @@ -7484,8 +7603,10 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Generateconsistencytoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7544,11 +7665,11 @@ export namespace bigtableadmin_v2 { get( params: Params$Resource$Projects$Instances$Tables$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Tables$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Tables$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7577,7 +7698,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7630,11 +7754,11 @@ export namespace bigtableadmin_v2 { getIamPolicy( params: Params$Resource$Projects$Instances$Tables$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Instances$Tables$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Instances$Tables$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7663,7 +7787,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7719,11 +7846,11 @@ export namespace bigtableadmin_v2 { list( params: Params$Resource$Projects$Instances$Tables$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Tables$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Tables$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7754,8 +7881,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7811,11 +7938,11 @@ export namespace bigtableadmin_v2 { modifyColumnFamilies( params: Params$Resource$Projects$Instances$Tables$Modifycolumnfamilies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyColumnFamilies( params?: Params$Resource$Projects$Instances$Tables$Modifycolumnfamilies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyColumnFamilies( params: Params$Resource$Projects$Instances$Tables$Modifycolumnfamilies, options: StreamMethodOptions | BodyResponseCallback, @@ -7844,7 +7971,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Modifycolumnfamilies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7901,11 +8031,11 @@ export namespace bigtableadmin_v2 { patch( params: Params$Resource$Projects$Instances$Tables$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Tables$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Tables$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7934,7 +8064,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7987,11 +8120,11 @@ export namespace bigtableadmin_v2 { restore( params: Params$Resource$Projects$Instances$Tables$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Instances$Tables$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Instances$Tables$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -8020,7 +8153,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8076,11 +8212,11 @@ export namespace bigtableadmin_v2 { setIamPolicy( params: Params$Resource$Projects$Instances$Tables$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Instances$Tables$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Instances$Tables$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8109,7 +8245,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8165,11 +8304,11 @@ export namespace bigtableadmin_v2 { testIamPermissions( params: Params$Resource$Projects$Instances$Tables$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Instances$Tables$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Instances$Tables$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8204,8 +8343,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8262,11 +8401,11 @@ export namespace bigtableadmin_v2 { undelete( params: Params$Resource$Projects$Instances$Tables$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Instances$Tables$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Instances$Tables$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -8295,7 +8434,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8536,11 +8678,11 @@ export namespace bigtableadmin_v2 { create( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Tables$Authorizedviews$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8569,7 +8711,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Authorizedviews$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8626,11 +8771,11 @@ export namespace bigtableadmin_v2 { delete( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Tables$Authorizedviews$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8659,7 +8804,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Authorizedviews$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8713,11 +8861,11 @@ export namespace bigtableadmin_v2 { get( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Tables$Authorizedviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8746,7 +8894,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Authorizedviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8800,11 +8951,11 @@ export namespace bigtableadmin_v2 { getIamPolicy( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Instances$Tables$Authorizedviews$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8833,7 +8984,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Authorizedviews$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8890,11 +9044,11 @@ export namespace bigtableadmin_v2 { list( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Tables$Authorizedviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8929,8 +9083,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Authorizedviews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8987,11 +9141,11 @@ export namespace bigtableadmin_v2 { patch( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Tables$Authorizedviews$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9020,7 +9174,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Authorizedviews$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9074,11 +9231,11 @@ export namespace bigtableadmin_v2 { setIamPolicy( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Instances$Tables$Authorizedviews$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9107,7 +9264,10 @@ export namespace bigtableadmin_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Authorizedviews$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9164,11 +9324,11 @@ export namespace bigtableadmin_v2 { testIamPermissions( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Instances$Tables$Authorizedviews$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Instances$Tables$Authorizedviews$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9203,8 +9363,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Tables$Authorizedviews$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9382,11 +9542,11 @@ export namespace bigtableadmin_v2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9419,8 +9579,8 @@ export namespace bigtableadmin_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/billingbudgets/index.ts b/src/apis/billingbudgets/index.ts index 93282d54239..f9eec5eb19b 100644 --- a/src/apis/billingbudgets/index.ts +++ b/src/apis/billingbudgets/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/billingbudgets/package.json b/src/apis/billingbudgets/package.json index fea98a90e98..b5aa849b878 100644 --- a/src/apis/billingbudgets/package.json +++ b/src/apis/billingbudgets/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/billingbudgets/v1.ts b/src/apis/billingbudgets/v1.ts index b477cb9c5e0..4709adff4eb 100644 --- a/src/apis/billingbudgets/v1.ts +++ b/src/apis/billingbudgets/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -345,11 +345,13 @@ export namespace billingbudgets_v1 { create( params: Params$Resource$Billingaccounts$Budgets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Billingaccounts$Budgets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Billingaccounts$Budgets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -384,8 +386,10 @@ export namespace billingbudgets_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Budgets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -443,11 +447,11 @@ export namespace billingbudgets_v1 { delete( params: Params$Resource$Billingaccounts$Budgets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Billingaccounts$Budgets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Billingaccounts$Budgets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -478,8 +482,8 @@ export namespace billingbudgets_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Budgets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -532,11 +536,13 @@ export namespace billingbudgets_v1 { get( params: Params$Resource$Billingaccounts$Budgets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Budgets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Billingaccounts$Budgets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -571,8 +577,10 @@ export namespace billingbudgets_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Budgets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -627,11 +635,13 @@ export namespace billingbudgets_v1 { list( params: Params$Resource$Billingaccounts$Budgets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Budgets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Budgets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -666,8 +676,10 @@ export namespace billingbudgets_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Budgets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -725,11 +737,13 @@ export namespace billingbudgets_v1 { patch( params: Params$Resource$Billingaccounts$Budgets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Billingaccounts$Budgets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Billingaccounts$Budgets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -764,8 +778,10 @@ export namespace billingbudgets_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Budgets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/billingbudgets/v1beta1.ts b/src/apis/billingbudgets/v1beta1.ts index 15d8aba139b..aa00154f445 100644 --- a/src/apis/billingbudgets/v1beta1.ts +++ b/src/apis/billingbudgets/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -367,11 +367,13 @@ export namespace billingbudgets_v1beta1 { create( params: Params$Resource$Billingaccounts$Budgets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Billingaccounts$Budgets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Billingaccounts$Budgets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -406,8 +408,10 @@ export namespace billingbudgets_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Budgets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -465,11 +469,11 @@ export namespace billingbudgets_v1beta1 { delete( params: Params$Resource$Billingaccounts$Budgets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Billingaccounts$Budgets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Billingaccounts$Budgets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -500,8 +504,8 @@ export namespace billingbudgets_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Budgets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -554,11 +558,13 @@ export namespace billingbudgets_v1beta1 { get( params: Params$Resource$Billingaccounts$Budgets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Budgets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Billingaccounts$Budgets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -593,8 +599,10 @@ export namespace billingbudgets_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Budgets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -649,11 +657,13 @@ export namespace billingbudgets_v1beta1 { list( params: Params$Resource$Billingaccounts$Budgets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Budgets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Budgets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -688,8 +698,10 @@ export namespace billingbudgets_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Budgets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -747,11 +759,13 @@ export namespace billingbudgets_v1beta1 { patch( params: Params$Resource$Billingaccounts$Budgets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Billingaccounts$Budgets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Billingaccounts$Budgets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -786,8 +800,10 @@ export namespace billingbudgets_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Budgets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/binaryauthorization/index.ts b/src/apis/binaryauthorization/index.ts index 5cd4c4ea291..1cb363e809c 100644 --- a/src/apis/binaryauthorization/index.ts +++ b/src/apis/binaryauthorization/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/binaryauthorization/package.json b/src/apis/binaryauthorization/package.json index b99a483bb97..516494a7ab6 100644 --- a/src/apis/binaryauthorization/package.json +++ b/src/apis/binaryauthorization/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/binaryauthorization/v1.ts b/src/apis/binaryauthorization/v1.ts index 2fe167b96ab..3ccceaabec2 100644 --- a/src/apis/binaryauthorization/v1.ts +++ b/src/apis/binaryauthorization/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -929,11 +929,11 @@ export namespace binaryauthorization_v1 { getPolicy( params: Params$Resource$Projects$Getpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPolicy( params?: Params$Resource$Projects$Getpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPolicy( params: Params$Resource$Projects$Getpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -962,7 +962,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1015,11 +1018,11 @@ export namespace binaryauthorization_v1 { updatePolicy( params: Params$Resource$Projects$Updatepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePolicy( params?: Params$Resource$Projects$Updatepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePolicy( params: Params$Resource$Projects$Updatepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1048,7 +1051,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1128,11 +1134,11 @@ export namespace binaryauthorization_v1 { create( params: Params$Resource$Projects$Attestors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Attestors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Attestors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1161,7 +1167,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1217,11 +1226,11 @@ export namespace binaryauthorization_v1 { delete( params: Params$Resource$Projects$Attestors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Attestors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Attestors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1250,7 +1259,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1303,11 +1315,11 @@ export namespace binaryauthorization_v1 { get( params: Params$Resource$Projects$Attestors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Attestors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Attestors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1336,7 +1348,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1389,11 +1404,11 @@ export namespace binaryauthorization_v1 { getIamPolicy( params: Params$Resource$Projects$Attestors$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Attestors$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Attestors$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1422,7 +1437,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1478,11 +1496,11 @@ export namespace binaryauthorization_v1 { list( params: Params$Resource$Projects$Attestors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Attestors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Attestors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1515,8 +1533,8 @@ export namespace binaryauthorization_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1572,11 +1590,11 @@ export namespace binaryauthorization_v1 { setIamPolicy( params: Params$Resource$Projects$Attestors$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Attestors$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Attestors$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1605,7 +1623,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1661,11 +1682,11 @@ export namespace binaryauthorization_v1 { testIamPermissions( params: Params$Resource$Projects$Attestors$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Attestors$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Attestors$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1700,8 +1721,8 @@ export namespace binaryauthorization_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1757,11 +1778,11 @@ export namespace binaryauthorization_v1 { update( params: Params$Resource$Projects$Attestors$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Attestors$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Attestors$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1790,7 +1811,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1843,11 +1867,13 @@ export namespace binaryauthorization_v1 { validateAttestationOccurrence( params: Params$Resource$Projects$Attestors$Validateattestationoccurrence, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateAttestationOccurrence( params?: Params$Resource$Projects$Attestors$Validateattestationoccurrence, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validateAttestationOccurrence( params: Params$Resource$Projects$Attestors$Validateattestationoccurrence, options: StreamMethodOptions | BodyResponseCallback, @@ -1882,8 +1908,10 @@ export namespace binaryauthorization_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Validateattestationoccurrence; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2075,11 +2103,11 @@ export namespace binaryauthorization_v1 { evaluate( params: Params$Resource$Projects$Platforms$Gke$Policies$Evaluate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evaluate( params?: Params$Resource$Projects$Platforms$Gke$Policies$Evaluate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; evaluate( params: Params$Resource$Projects$Platforms$Gke$Policies$Evaluate, options: StreamMethodOptions | BodyResponseCallback, @@ -2114,8 +2142,8 @@ export namespace binaryauthorization_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Platforms$Gke$Policies$Evaluate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2191,11 +2219,11 @@ export namespace binaryauthorization_v1 { create( params: Params$Resource$Projects$Platforms$Policies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Platforms$Policies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Platforms$Policies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2224,7 +2252,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Platforms$Policies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2280,11 +2311,11 @@ export namespace binaryauthorization_v1 { delete( params: Params$Resource$Projects$Platforms$Policies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Platforms$Policies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Platforms$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2313,7 +2344,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Platforms$Policies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2366,11 +2400,11 @@ export namespace binaryauthorization_v1 { get( params: Params$Resource$Projects$Platforms$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Platforms$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Platforms$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2399,7 +2433,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Platforms$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2452,11 +2489,11 @@ export namespace binaryauthorization_v1 { list( params: Params$Resource$Projects$Platforms$Policies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Platforms$Policies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Platforms$Policies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2491,8 +2528,8 @@ export namespace binaryauthorization_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Platforms$Policies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2550,11 +2587,11 @@ export namespace binaryauthorization_v1 { replacePlatformPolicy( params: Params$Resource$Projects$Platforms$Policies$Replaceplatformpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replacePlatformPolicy( params?: Params$Resource$Projects$Platforms$Policies$Replaceplatformpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replacePlatformPolicy( params: Params$Resource$Projects$Platforms$Policies$Replaceplatformpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2585,7 +2622,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Platforms$Policies$Replaceplatformpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2708,11 +2748,11 @@ export namespace binaryauthorization_v1 { getIamPolicy( params: Params$Resource$Projects$Policy$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Policy$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Policy$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2741,7 +2781,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policy$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2797,11 +2840,11 @@ export namespace binaryauthorization_v1 { setIamPolicy( params: Params$Resource$Projects$Policy$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Policy$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Policy$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2830,7 +2873,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policy$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2886,11 +2932,11 @@ export namespace binaryauthorization_v1 { testIamPermissions( params: Params$Resource$Projects$Policy$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Policy$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Policy$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2925,8 +2971,8 @@ export namespace binaryauthorization_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policy$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3025,11 +3071,11 @@ export namespace binaryauthorization_v1 { getPolicy( params: Params$Resource$Systempolicy$Getpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPolicy( params?: Params$Resource$Systempolicy$Getpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPolicy( params: Params$Resource$Systempolicy$Getpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3058,7 +3104,10 @@ export namespace binaryauthorization_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Systempolicy$Getpolicy; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/binaryauthorization/v1beta1.ts b/src/apis/binaryauthorization/v1beta1.ts index 3e1e01d5c5d..0e61d39afbc 100644 --- a/src/apis/binaryauthorization/v1beta1.ts +++ b/src/apis/binaryauthorization/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -467,11 +467,11 @@ export namespace binaryauthorization_v1beta1 { getPolicy( params: Params$Resource$Projects$Getpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPolicy( params?: Params$Resource$Projects$Getpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPolicy( params: Params$Resource$Projects$Getpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -500,7 +500,10 @@ export namespace binaryauthorization_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -553,11 +556,11 @@ export namespace binaryauthorization_v1beta1 { updatePolicy( params: Params$Resource$Projects$Updatepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePolicy( params?: Params$Resource$Projects$Updatepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePolicy( params: Params$Resource$Projects$Updatepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -586,7 +589,10 @@ export namespace binaryauthorization_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -666,11 +672,11 @@ export namespace binaryauthorization_v1beta1 { create( params: Params$Resource$Projects$Attestors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Attestors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Attestors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -699,7 +705,10 @@ export namespace binaryauthorization_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -755,11 +764,11 @@ export namespace binaryauthorization_v1beta1 { delete( params: Params$Resource$Projects$Attestors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Attestors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Attestors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -788,7 +797,10 @@ export namespace binaryauthorization_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -841,11 +853,11 @@ export namespace binaryauthorization_v1beta1 { get( params: Params$Resource$Projects$Attestors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Attestors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Attestors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -874,7 +886,10 @@ export namespace binaryauthorization_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -927,11 +942,11 @@ export namespace binaryauthorization_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Attestors$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Attestors$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Attestors$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -960,7 +975,10 @@ export namespace binaryauthorization_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1016,11 +1034,11 @@ export namespace binaryauthorization_v1beta1 { list( params: Params$Resource$Projects$Attestors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Attestors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Attestors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1053,8 +1071,8 @@ export namespace binaryauthorization_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1110,11 +1128,11 @@ export namespace binaryauthorization_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Attestors$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Attestors$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Attestors$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1143,7 +1161,10 @@ export namespace binaryauthorization_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1199,11 +1220,11 @@ export namespace binaryauthorization_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Attestors$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Attestors$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Attestors$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1238,8 +1259,8 @@ export namespace binaryauthorization_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1295,11 +1316,11 @@ export namespace binaryauthorization_v1beta1 { update( params: Params$Resource$Projects$Attestors$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Attestors$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Attestors$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1328,7 +1349,10 @@ export namespace binaryauthorization_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1381,11 +1405,13 @@ export namespace binaryauthorization_v1beta1 { validateAttestationOccurrence( params: Params$Resource$Projects$Attestors$Validateattestationoccurrence, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateAttestationOccurrence( params?: Params$Resource$Projects$Attestors$Validateattestationoccurrence, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validateAttestationOccurrence( params: Params$Resource$Projects$Attestors$Validateattestationoccurrence, options: StreamMethodOptions | BodyResponseCallback, @@ -1420,8 +1446,10 @@ export namespace binaryauthorization_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Attestors$Validateattestationoccurrence; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1591,11 +1619,11 @@ export namespace binaryauthorization_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Policy$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Policy$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Policy$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1624,7 +1652,10 @@ export namespace binaryauthorization_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policy$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1680,11 +1711,11 @@ export namespace binaryauthorization_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Policy$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Policy$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Policy$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1713,7 +1744,10 @@ export namespace binaryauthorization_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policy$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1769,11 +1803,11 @@ export namespace binaryauthorization_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Policy$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Policy$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Policy$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1808,8 +1842,8 @@ export namespace binaryauthorization_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policy$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1908,11 +1942,11 @@ export namespace binaryauthorization_v1beta1 { getPolicy( params: Params$Resource$Systempolicy$Getpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPolicy( params?: Params$Resource$Systempolicy$Getpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPolicy( params: Params$Resource$Systempolicy$Getpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1941,7 +1975,10 @@ export namespace binaryauthorization_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Systempolicy$Getpolicy; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/blockchainnodeengine/index.ts b/src/apis/blockchainnodeengine/index.ts index 05fe6c49729..eef443b1282 100644 --- a/src/apis/blockchainnodeengine/index.ts +++ b/src/apis/blockchainnodeengine/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/blockchainnodeengine/package.json b/src/apis/blockchainnodeengine/package.json index e735ec1cdd4..143920a7482 100644 --- a/src/apis/blockchainnodeengine/package.json +++ b/src/apis/blockchainnodeengine/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/blockchainnodeengine/v1.ts b/src/apis/blockchainnodeengine/v1.ts index dc3cf4142c1..453bf7ff8fc 100644 --- a/src/apis/blockchainnodeengine/v1.ts +++ b/src/apis/blockchainnodeengine/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -461,11 +461,11 @@ export namespace blockchainnodeengine_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -494,7 +494,10 @@ export namespace blockchainnodeengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -547,11 +550,11 @@ export namespace blockchainnodeengine_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -584,8 +587,8 @@ export namespace blockchainnodeengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -679,11 +682,11 @@ export namespace blockchainnodeengine_v1 { create( params: Params$Resource$Projects$Locations$Blockchainnodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Blockchainnodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Blockchainnodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -712,7 +715,10 @@ export namespace blockchainnodeengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Blockchainnodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -769,11 +775,11 @@ export namespace blockchainnodeengine_v1 { delete( params: Params$Resource$Projects$Locations$Blockchainnodes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Blockchainnodes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Blockchainnodes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -802,7 +808,10 @@ export namespace blockchainnodeengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Blockchainnodes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -856,11 +865,11 @@ export namespace blockchainnodeengine_v1 { get( params: Params$Resource$Projects$Locations$Blockchainnodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Blockchainnodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Blockchainnodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -889,7 +898,10 @@ export namespace blockchainnodeengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Blockchainnodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -942,11 +954,11 @@ export namespace blockchainnodeengine_v1 { list( params: Params$Resource$Projects$Locations$Blockchainnodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Blockchainnodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Blockchainnodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -981,8 +993,8 @@ export namespace blockchainnodeengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Blockchainnodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1038,11 +1050,11 @@ export namespace blockchainnodeengine_v1 { patch( params: Params$Resource$Projects$Locations$Blockchainnodes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Blockchainnodes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Blockchainnodes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1071,7 +1083,10 @@ export namespace blockchainnodeengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Blockchainnodes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1213,11 +1228,11 @@ export namespace blockchainnodeengine_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1248,8 +1263,8 @@ export namespace blockchainnodeengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1302,11 +1317,11 @@ export namespace blockchainnodeengine_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1337,8 +1352,8 @@ export namespace blockchainnodeengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1391,11 +1406,11 @@ export namespace blockchainnodeengine_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1424,7 +1439,10 @@ export namespace blockchainnodeengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1477,11 +1495,11 @@ export namespace blockchainnodeengine_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1514,8 +1532,8 @@ export namespace blockchainnodeengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/blogger/index.ts b/src/apis/blogger/index.ts index ff974cf83f7..91d7a4bfc5c 100644 --- a/src/apis/blogger/index.ts +++ b/src/apis/blogger/index.ts @@ -43,7 +43,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/blogger/package.json b/src/apis/blogger/package.json index 001237190f2..97f06d44780 100644 --- a/src/apis/blogger/package.json +++ b/src/apis/blogger/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/blogger/v2.ts b/src/apis/blogger/v2.ts index 1ef73613d3a..e22c15a69ed 100644 --- a/src/apis/blogger/v2.ts +++ b/src/apis/blogger/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -568,11 +568,11 @@ export namespace blogger_v2 { get( params: Params$Resource$Blogs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Blogs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Blogs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -601,7 +601,10 @@ export namespace blogger_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Blogs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -652,11 +655,11 @@ export namespace blogger_v2 { list( params: Params$Resource$Blogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Blogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Blogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -685,7 +688,10 @@ export namespace blogger_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Blogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -759,11 +765,11 @@ export namespace blogger_v2 { get( params: Params$Resource$Comments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Comments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Comments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -792,7 +798,10 @@ export namespace blogger_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -845,11 +854,11 @@ export namespace blogger_v2 { list( params: Params$Resource$Comments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Comments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Comments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -878,7 +887,10 @@ export namespace blogger_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -979,11 +991,11 @@ export namespace blogger_v2 { get( params: Params$Resource$Pages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Pages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Pages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1012,7 +1024,10 @@ export namespace blogger_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1066,11 +1081,11 @@ export namespace blogger_v2 { list( params: Params$Resource$Pages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Pages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Pages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1099,7 +1114,10 @@ export namespace blogger_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1181,11 +1199,11 @@ export namespace blogger_v2 { get( params: Params$Resource$Posts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Posts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Posts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1214,7 +1232,10 @@ export namespace blogger_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1268,11 +1289,11 @@ export namespace blogger_v2 { list( params: Params$Resource$Posts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Posts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Posts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1301,7 +1322,10 @@ export namespace blogger_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1395,11 +1419,11 @@ export namespace blogger_v2 { get( params: Params$Resource$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1428,7 +1452,10 @@ export namespace blogger_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/blogger/v3.ts b/src/apis/blogger/v3.ts index 42e89a36e6b..3ac05fbcc07 100644 --- a/src/apis/blogger/v3.ts +++ b/src/apis/blogger/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -638,11 +638,11 @@ export namespace blogger_v3 { get( params: Params$Resource$Blogs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Blogs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Blogs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -671,7 +671,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Blogs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -722,11 +725,11 @@ export namespace blogger_v3 { getByUrl( params: Params$Resource$Blogs$Getbyurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getByUrl( params?: Params$Resource$Blogs$Getbyurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getByUrl( params: Params$Resource$Blogs$Getbyurl, options: StreamMethodOptions | BodyResponseCallback, @@ -755,7 +758,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Blogs$Getbyurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -806,11 +812,11 @@ export namespace blogger_v3 { listByUser( params: Params$Resource$Blogs$Listbyuser, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listByUser( params?: Params$Resource$Blogs$Listbyuser, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listByUser( params: Params$Resource$Blogs$Listbyuser, options: StreamMethodOptions | BodyResponseCallback, @@ -839,7 +845,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Blogs$Listbyuser; let options = (optionsOrCallback || {}) as MethodOptions; @@ -947,11 +956,11 @@ export namespace blogger_v3 { get( params: Params$Resource$Bloguserinfos$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Bloguserinfos$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Bloguserinfos$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -980,7 +989,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bloguserinfos$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1058,11 +1070,11 @@ export namespace blogger_v3 { approve( params: Params$Resource$Comments$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Comments$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Comments$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -1091,7 +1103,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1145,11 +1160,11 @@ export namespace blogger_v3 { delete( params: Params$Resource$Comments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Comments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Comments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1176,7 +1191,10 @@ export namespace blogger_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1229,11 +1247,11 @@ export namespace blogger_v3 { get( params: Params$Resource$Comments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Comments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Comments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1262,7 +1280,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1315,11 +1336,11 @@ export namespace blogger_v3 { list( params: Params$Resource$Comments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Comments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Comments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1348,7 +1369,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1401,11 +1425,11 @@ export namespace blogger_v3 { listByBlog( params: Params$Resource$Comments$Listbyblog, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listByBlog( params?: Params$Resource$Comments$Listbyblog, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listByBlog( params: Params$Resource$Comments$Listbyblog, options: StreamMethodOptions | BodyResponseCallback, @@ -1434,7 +1458,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Listbyblog; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1489,11 +1516,11 @@ export namespace blogger_v3 { markAsSpam( params: Params$Resource$Comments$Markasspam, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markAsSpam( params?: Params$Resource$Comments$Markasspam, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; markAsSpam( params: Params$Resource$Comments$Markasspam, options: StreamMethodOptions | BodyResponseCallback, @@ -1522,7 +1549,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Markasspam; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1577,11 +1607,11 @@ export namespace blogger_v3 { removeContent( params: Params$Resource$Comments$Removecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeContent( params?: Params$Resource$Comments$Removecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeContent( params: Params$Resource$Comments$Removecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -1610,7 +1640,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Removecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1818,11 +1851,11 @@ export namespace blogger_v3 { delete( params: Params$Resource$Pages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Pages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Pages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1849,7 +1882,10 @@ export namespace blogger_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1903,11 +1939,11 @@ export namespace blogger_v3 { get( params: Params$Resource$Pages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Pages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Pages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1936,7 +1972,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1990,11 +2029,11 @@ export namespace blogger_v3 { insert( params: Params$Resource$Pages$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Pages$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Pages$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -2023,7 +2062,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2077,11 +2119,11 @@ export namespace blogger_v3 { list( params: Params$Resource$Pages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Pages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Pages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2110,7 +2152,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2164,11 +2209,11 @@ export namespace blogger_v3 { patch( params: Params$Resource$Pages$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Pages$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Pages$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2197,7 +2242,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2251,11 +2299,11 @@ export namespace blogger_v3 { publish( params: Params$Resource$Pages$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Pages$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Pages$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -2284,7 +2332,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2337,11 +2388,11 @@ export namespace blogger_v3 { revert( params: Params$Resource$Pages$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Pages$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Pages$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -2370,7 +2421,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2424,11 +2478,11 @@ export namespace blogger_v3 { update( params: Params$Resource$Pages$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Pages$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Pages$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2457,7 +2511,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2654,11 +2711,11 @@ export namespace blogger_v3 { get( params: Params$Resource$Pageviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Pageviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Pageviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2687,7 +2744,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pageviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2759,11 +2819,11 @@ export namespace blogger_v3 { delete( params: Params$Resource$Posts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Posts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Posts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2790,7 +2850,10 @@ export namespace blogger_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2844,11 +2907,11 @@ export namespace blogger_v3 { get( params: Params$Resource$Posts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Posts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Posts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2877,7 +2940,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2931,11 +2997,11 @@ export namespace blogger_v3 { getByPath( params: Params$Resource$Posts$Getbypath, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getByPath( params?: Params$Resource$Posts$Getbypath, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getByPath( params: Params$Resource$Posts$Getbypath, options: StreamMethodOptions | BodyResponseCallback, @@ -2964,7 +3030,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$Getbypath; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3018,11 +3087,11 @@ export namespace blogger_v3 { insert( params: Params$Resource$Posts$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Posts$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Posts$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3051,7 +3120,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3105,11 +3177,11 @@ export namespace blogger_v3 { list( params: Params$Resource$Posts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Posts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Posts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3138,7 +3210,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3192,11 +3267,11 @@ export namespace blogger_v3 { patch( params: Params$Resource$Posts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Posts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Posts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3225,7 +3300,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3279,11 +3357,11 @@ export namespace blogger_v3 { publish( params: Params$Resource$Posts$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Posts$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Posts$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -3312,7 +3390,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3365,11 +3446,11 @@ export namespace blogger_v3 { revert( params: Params$Resource$Posts$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Posts$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Posts$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -3398,7 +3479,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3452,11 +3536,11 @@ export namespace blogger_v3 { search( params: Params$Resource$Posts$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Posts$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Posts$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -3485,7 +3569,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3539,11 +3626,11 @@ export namespace blogger_v3 { update( params: Params$Resource$Posts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Posts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Posts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3572,7 +3659,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Posts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3877,11 +3967,11 @@ export namespace blogger_v3 { get( params: Params$Resource$Postuserinfos$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Postuserinfos$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Postuserinfos$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3910,7 +4000,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Postuserinfos$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3964,11 +4057,11 @@ export namespace blogger_v3 { list( params: Params$Resource$Postuserinfos$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Postuserinfos$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Postuserinfos$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3999,8 +4092,8 @@ export namespace blogger_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Postuserinfos$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4129,11 +4222,11 @@ export namespace blogger_v3 { get( params: Params$Resource$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4162,7 +4255,10 @@ export namespace blogger_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/books/index.ts b/src/apis/books/index.ts index 3daddf927ad..903461b89bf 100644 --- a/src/apis/books/index.ts +++ b/src/apis/books/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/books/package.json b/src/apis/books/package.json index b2a7388ace7..2be62516829 100644 --- a/src/apis/books/package.json +++ b/src/apis/books/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/books/v1.ts b/src/apis/books/v1.ts index 28171d64038..27b8162132d 100644 --- a/src/apis/books/v1.ts +++ b/src/apis/books/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1238,11 +1238,11 @@ export namespace books_v1 { get( params: Params$Resource$Bookshelves$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Bookshelves$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Bookshelves$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1271,7 +1271,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bookshelves$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1324,11 +1327,11 @@ export namespace books_v1 { list( params: Params$Resource$Bookshelves$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bookshelves$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bookshelves$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1357,7 +1360,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bookshelves$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1443,11 +1449,11 @@ export namespace books_v1 { list( params: Params$Resource$Bookshelves$Volumes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bookshelves$Volumes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bookshelves$Volumes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1476,7 +1482,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bookshelves$Volumes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1565,11 +1574,11 @@ export namespace books_v1 { addBook( params: Params$Resource$Cloudloading$Addbook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addBook( params?: Params$Resource$Cloudloading$Addbook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addBook( params: Params$Resource$Cloudloading$Addbook, options: StreamMethodOptions | BodyResponseCallback, @@ -1604,8 +1613,8 @@ export namespace books_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cloudloading$Addbook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1660,11 +1669,11 @@ export namespace books_v1 { deleteBook( params: Params$Resource$Cloudloading$Deletebook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteBook( params?: Params$Resource$Cloudloading$Deletebook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteBook( params: Params$Resource$Cloudloading$Deletebook, options: StreamMethodOptions | BodyResponseCallback, @@ -1693,7 +1702,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cloudloading$Deletebook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1748,11 +1760,11 @@ export namespace books_v1 { updateBook( params: Params$Resource$Cloudloading$Updatebook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateBook( params?: Params$Resource$Cloudloading$Updatebook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateBook( params: Params$Resource$Cloudloading$Updatebook, options: StreamMethodOptions | BodyResponseCallback, @@ -1787,8 +1799,8 @@ export namespace books_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cloudloading$Updatebook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1884,11 +1896,11 @@ export namespace books_v1 { listOfflineMetadata( params: Params$Resource$Dictionary$Listofflinemetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listOfflineMetadata( params?: Params$Resource$Dictionary$Listofflinemetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listOfflineMetadata( params: Params$Resource$Dictionary$Listofflinemetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -1917,7 +1929,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dictionary$Listofflinemetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1987,11 +2002,11 @@ export namespace books_v1 { getFamilyInfo( params: Params$Resource$Familysharing$Getfamilyinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFamilyInfo( params?: Params$Resource$Familysharing$Getfamilyinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getFamilyInfo( params: Params$Resource$Familysharing$Getfamilyinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -2020,7 +2035,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Familysharing$Getfamilyinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2075,11 +2093,11 @@ export namespace books_v1 { share( params: Params$Resource$Familysharing$Share, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; share( params?: Params$Resource$Familysharing$Share, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; share( params: Params$Resource$Familysharing$Share, options: StreamMethodOptions | BodyResponseCallback, @@ -2108,7 +2126,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Familysharing$Share; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2163,11 +2184,11 @@ export namespace books_v1 { unshare( params: Params$Resource$Familysharing$Unshare, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unshare( params?: Params$Resource$Familysharing$Unshare, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unshare( params: Params$Resource$Familysharing$Unshare, options: StreamMethodOptions | BodyResponseCallback, @@ -2196,7 +2217,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Familysharing$Unshare; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2302,11 +2326,11 @@ export namespace books_v1 { get( params: Params$Resource$Layers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Layers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Layers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2335,7 +2359,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Layers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2388,11 +2415,11 @@ export namespace books_v1 { list( params: Params$Resource$Layers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Layers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Layers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2421,7 +2448,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Layers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2522,11 +2552,11 @@ export namespace books_v1 { get( params: Params$Resource$Layers$Annotationdata$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Layers$Annotationdata$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Layers$Annotationdata$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2559,8 +2589,8 @@ export namespace books_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Layers$Annotationdata$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2620,11 +2650,11 @@ export namespace books_v1 { list( params: Params$Resource$Layers$Annotationdata$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Layers$Annotationdata$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Layers$Annotationdata$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2653,7 +2683,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Layers$Annotationdata$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2813,11 +2846,11 @@ export namespace books_v1 { get( params: Params$Resource$Layers$Volumeannotations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Layers$Volumeannotations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Layers$Volumeannotations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2846,7 +2879,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Layers$Volumeannotations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2901,11 +2937,11 @@ export namespace books_v1 { list( params: Params$Resource$Layers$Volumeannotations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Layers$Volumeannotations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Layers$Volumeannotations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2936,8 +2972,8 @@ export namespace books_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Layers$Volumeannotations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3085,11 +3121,11 @@ export namespace books_v1 { getUserSettings( params: Params$Resource$Myconfig$Getusersettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getUserSettings( params?: Params$Resource$Myconfig$Getusersettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getUserSettings( params: Params$Resource$Myconfig$Getusersettings, options: StreamMethodOptions | BodyResponseCallback, @@ -3118,7 +3154,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Myconfig$Getusersettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3173,11 +3212,11 @@ export namespace books_v1 { releaseDownloadAccess( params: Params$Resource$Myconfig$Releasedownloadaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; releaseDownloadAccess( params?: Params$Resource$Myconfig$Releasedownloadaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; releaseDownloadAccess( params: Params$Resource$Myconfig$Releasedownloadaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -3208,7 +3247,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Myconfig$Releasedownloadaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3263,11 +3305,11 @@ export namespace books_v1 { requestAccess( params: Params$Resource$Myconfig$Requestaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestAccess( params?: Params$Resource$Myconfig$Requestaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; requestAccess( params: Params$Resource$Myconfig$Requestaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -3300,8 +3342,8 @@ export namespace books_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Myconfig$Requestaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3356,11 +3398,11 @@ export namespace books_v1 { syncVolumeLicenses( params: Params$Resource$Myconfig$Syncvolumelicenses, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; syncVolumeLicenses( params?: Params$Resource$Myconfig$Syncvolumelicenses, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; syncVolumeLicenses( params: Params$Resource$Myconfig$Syncvolumelicenses, options: StreamMethodOptions | BodyResponseCallback, @@ -3389,7 +3431,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Myconfig$Syncvolumelicenses; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3444,11 +3489,11 @@ export namespace books_v1 { updateUserSettings( params: Params$Resource$Myconfig$Updateusersettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateUserSettings( params?: Params$Resource$Myconfig$Updateusersettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateUserSettings( params: Params$Resource$Myconfig$Updateusersettings, options: StreamMethodOptions | BodyResponseCallback, @@ -3479,7 +3524,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Myconfig$Updateusersettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3652,11 +3700,11 @@ export namespace books_v1 { delete( params: Params$Resource$Mylibrary$Annotations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Mylibrary$Annotations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Mylibrary$Annotations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3685,7 +3733,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Annotations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3739,11 +3790,11 @@ export namespace books_v1 { insert( params: Params$Resource$Mylibrary$Annotations$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Mylibrary$Annotations$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Mylibrary$Annotations$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3772,7 +3823,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Annotations$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3827,11 +3881,11 @@ export namespace books_v1 { list( params: Params$Resource$Mylibrary$Annotations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Mylibrary$Annotations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Mylibrary$Annotations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3860,7 +3914,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Annotations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3915,11 +3972,11 @@ export namespace books_v1 { summary( params: Params$Resource$Mylibrary$Annotations$Summary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; summary( params?: Params$Resource$Mylibrary$Annotations$Summary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; summary( params: Params$Resource$Mylibrary$Annotations$Summary, options: StreamMethodOptions | BodyResponseCallback, @@ -3950,8 +4007,8 @@ export namespace books_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Annotations$Summary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4006,11 +4063,11 @@ export namespace books_v1 { update( params: Params$Resource$Mylibrary$Annotations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Mylibrary$Annotations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Mylibrary$Annotations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4039,7 +4096,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Annotations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4212,11 +4272,11 @@ export namespace books_v1 { addVolume( params: Params$Resource$Mylibrary$Bookshelves$Addvolume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addVolume( params?: Params$Resource$Mylibrary$Bookshelves$Addvolume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addVolume( params: Params$Resource$Mylibrary$Bookshelves$Addvolume, options: StreamMethodOptions | BodyResponseCallback, @@ -4245,7 +4305,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Bookshelves$Addvolume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4299,11 +4362,11 @@ export namespace books_v1 { clearVolumes( params: Params$Resource$Mylibrary$Bookshelves$Clearvolumes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clearVolumes( params?: Params$Resource$Mylibrary$Bookshelves$Clearvolumes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clearVolumes( params: Params$Resource$Mylibrary$Bookshelves$Clearvolumes, options: StreamMethodOptions | BodyResponseCallback, @@ -4332,7 +4395,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Bookshelves$Clearvolumes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4386,11 +4452,11 @@ export namespace books_v1 { get( params: Params$Resource$Mylibrary$Bookshelves$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Mylibrary$Bookshelves$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Mylibrary$Bookshelves$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4419,7 +4485,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Bookshelves$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4474,11 +4543,11 @@ export namespace books_v1 { list( params: Params$Resource$Mylibrary$Bookshelves$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Mylibrary$Bookshelves$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Mylibrary$Bookshelves$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4507,7 +4576,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Bookshelves$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4562,11 +4634,11 @@ export namespace books_v1 { moveVolume( params: Params$Resource$Mylibrary$Bookshelves$Movevolume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveVolume( params?: Params$Resource$Mylibrary$Bookshelves$Movevolume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveVolume( params: Params$Resource$Mylibrary$Bookshelves$Movevolume, options: StreamMethodOptions | BodyResponseCallback, @@ -4595,7 +4667,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Bookshelves$Movevolume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4649,11 +4724,11 @@ export namespace books_v1 { removeVolume( params: Params$Resource$Mylibrary$Bookshelves$Removevolume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeVolume( params?: Params$Resource$Mylibrary$Bookshelves$Removevolume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeVolume( params: Params$Resource$Mylibrary$Bookshelves$Removevolume, options: StreamMethodOptions | BodyResponseCallback, @@ -4682,7 +4757,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Bookshelves$Removevolume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4830,11 +4908,11 @@ export namespace books_v1 { list( params: Params$Resource$Mylibrary$Bookshelves$Volumes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Mylibrary$Bookshelves$Volumes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Mylibrary$Bookshelves$Volumes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4863,7 +4941,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Bookshelves$Volumes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4960,11 +5041,11 @@ export namespace books_v1 { get( params: Params$Resource$Mylibrary$Readingpositions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Mylibrary$Readingpositions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Mylibrary$Readingpositions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4993,7 +5074,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Readingpositions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5047,11 +5131,11 @@ export namespace books_v1 { setPosition( params: Params$Resource$Mylibrary$Readingpositions$Setposition, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setPosition( params?: Params$Resource$Mylibrary$Readingpositions$Setposition, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setPosition( params: Params$Resource$Mylibrary$Readingpositions$Setposition, options: StreamMethodOptions | BodyResponseCallback, @@ -5080,7 +5164,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mylibrary$Readingpositions$Setposition; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5189,11 +5276,11 @@ export namespace books_v1 { get( params: Params$Resource$Notification$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Notification$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Notification$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5222,7 +5309,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Notification$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5298,11 +5388,11 @@ export namespace books_v1 { listCategories( params: Params$Resource$Onboarding$Listcategories, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listCategories( params?: Params$Resource$Onboarding$Listcategories, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listCategories( params: Params$Resource$Onboarding$Listcategories, options: StreamMethodOptions | BodyResponseCallback, @@ -5331,7 +5421,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Onboarding$Listcategories; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5386,11 +5479,11 @@ export namespace books_v1 { listCategoryVolumes( params: Params$Resource$Onboarding$Listcategoryvolumes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listCategoryVolumes( params?: Params$Resource$Onboarding$Listcategoryvolumes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listCategoryVolumes( params: Params$Resource$Onboarding$Listcategoryvolumes, options: StreamMethodOptions | BodyResponseCallback, @@ -5419,7 +5512,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Onboarding$Listcategoryvolumes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5512,11 +5608,11 @@ export namespace books_v1 { get( params: Params$Resource$Personalizedstream$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Personalizedstream$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Personalizedstream$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5547,8 +5643,8 @@ export namespace books_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Personalizedstream$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5626,11 +5722,11 @@ export namespace books_v1 { accept( params: Params$Resource$Promooffer$Accept, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accept( params?: Params$Resource$Promooffer$Accept, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; accept( params: Params$Resource$Promooffer$Accept, options: StreamMethodOptions | BodyResponseCallback, @@ -5659,7 +5755,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Promooffer$Accept; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5714,11 +5813,11 @@ export namespace books_v1 { dismiss( params: Params$Resource$Promooffer$Dismiss, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params?: Params$Resource$Promooffer$Dismiss, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; dismiss( params: Params$Resource$Promooffer$Dismiss, options: StreamMethodOptions | BodyResponseCallback, @@ -5747,7 +5846,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Promooffer$Dismiss; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5802,11 +5904,11 @@ export namespace books_v1 { get( params: Params$Resource$Promooffer$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Promooffer$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Promooffer$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5835,7 +5937,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Promooffer$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5991,11 +6096,11 @@ export namespace books_v1 { get( params: Params$Resource$Series$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Series$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Series$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6024,7 +6129,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Series$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6092,11 +6200,11 @@ export namespace books_v1 { get( params: Params$Resource$Series$Membership$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Series$Membership$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Series$Membership$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6125,7 +6233,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Series$Membership$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6211,11 +6322,11 @@ export namespace books_v1 { get( params: Params$Resource$Volumes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Volumes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Volumes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6244,7 +6355,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Volumes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6298,11 +6412,11 @@ export namespace books_v1 { list( params: Params$Resource$Volumes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Volumes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Volumes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6331,7 +6445,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Volumes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6478,11 +6595,11 @@ export namespace books_v1 { list( params: Params$Resource$Volumes$Associated$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Volumes$Associated$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Volumes$Associated$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6511,7 +6628,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Volumes$Associated$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6597,11 +6717,11 @@ export namespace books_v1 { list( params: Params$Resource$Volumes$Mybooks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Volumes$Mybooks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Volumes$Mybooks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6630,7 +6750,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Volumes$Mybooks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6724,11 +6847,11 @@ export namespace books_v1 { list( params: Params$Resource$Volumes$Recommended$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Volumes$Recommended$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Volumes$Recommended$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6757,7 +6880,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Volumes$Recommended$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6812,11 +6938,13 @@ export namespace books_v1 { rate( params: Params$Resource$Volumes$Recommended$Rate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rate( params?: Params$Resource$Volumes$Recommended$Rate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; rate( params: Params$Resource$Volumes$Recommended$Rate, options: StreamMethodOptions | BodyResponseCallback, @@ -6851,8 +6979,10 @@ export namespace books_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Volumes$Recommended$Rate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6951,11 +7081,11 @@ export namespace books_v1 { list( params: Params$Resource$Volumes$Useruploaded$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Volumes$Useruploaded$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Volumes$Useruploaded$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6984,7 +7114,10 @@ export namespace books_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Volumes$Useruploaded$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/businessprofileperformance/index.ts b/src/apis/businessprofileperformance/index.ts index 7507855a692..6d214a703eb 100644 --- a/src/apis/businessprofileperformance/index.ts +++ b/src/apis/businessprofileperformance/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/businessprofileperformance/package.json b/src/apis/businessprofileperformance/package.json index 4c1f3f63c90..20ce774d44b 100644 --- a/src/apis/businessprofileperformance/package.json +++ b/src/apis/businessprofileperformance/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/businessprofileperformance/v1.ts b/src/apis/businessprofileperformance/v1.ts index f8d7b9696e8..ae660002932 100644 --- a/src/apis/businessprofileperformance/v1.ts +++ b/src/apis/businessprofileperformance/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -300,11 +300,13 @@ export namespace businessprofileperformance_v1 { fetchMultiDailyMetricsTimeSeries( params: Params$Resource$Locations$Fetchmultidailymetricstimeseries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchMultiDailyMetricsTimeSeries( params?: Params$Resource$Locations$Fetchmultidailymetricstimeseries, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchMultiDailyMetricsTimeSeries( params: Params$Resource$Locations$Fetchmultidailymetricstimeseries, options: StreamMethodOptions | BodyResponseCallback, @@ -339,8 +341,10 @@ export namespace businessprofileperformance_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Fetchmultidailymetricstimeseries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -398,11 +402,13 @@ export namespace businessprofileperformance_v1 { getDailyMetricsTimeSeries( params: Params$Resource$Locations$Getdailymetricstimeseries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDailyMetricsTimeSeries( params?: Params$Resource$Locations$Getdailymetricstimeseries, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDailyMetricsTimeSeries( params: Params$Resource$Locations$Getdailymetricstimeseries, options: StreamMethodOptions | BodyResponseCallback, @@ -437,8 +443,10 @@ export namespace businessprofileperformance_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Getdailymetricstimeseries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -616,11 +624,13 @@ export namespace businessprofileperformance_v1 { list( params: Params$Resource$Locations$Searchkeywords$Impressions$Monthly$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Searchkeywords$Impressions$Monthly$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Locations$Searchkeywords$Impressions$Monthly$List, options: StreamMethodOptions | BodyResponseCallback, @@ -655,8 +665,10 @@ export namespace businessprofileperformance_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Searchkeywords$Impressions$Monthly$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/calendar/index.ts b/src/apis/calendar/index.ts index 293eb4a0597..ded0fca82bc 100644 --- a/src/apis/calendar/index.ts +++ b/src/apis/calendar/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/calendar/package.json b/src/apis/calendar/package.json index 8e1cc2eda91..9e9be2a1bbc 100644 --- a/src/apis/calendar/package.json +++ b/src/apis/calendar/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/calendar/v3.ts b/src/apis/calendar/v3.ts index 25ab34539b6..6314c6aee11 100644 --- a/src/apis/calendar/v3.ts +++ b/src/apis/calendar/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1187,11 +1187,11 @@ export namespace calendar_v3 { delete( params: Params$Resource$Acl$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Acl$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Acl$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1218,7 +1218,10 @@ export namespace calendar_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acl$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1271,11 +1274,11 @@ export namespace calendar_v3 { get( params: Params$Resource$Acl$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Acl$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Acl$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1304,7 +1307,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acl$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1357,11 +1363,11 @@ export namespace calendar_v3 { insert( params: Params$Resource$Acl$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Acl$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Acl$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1390,7 +1396,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acl$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1444,11 +1453,11 @@ export namespace calendar_v3 { list( params: Params$Resource$Acl$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Acl$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Acl$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1477,7 +1486,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acl$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1531,11 +1543,11 @@ export namespace calendar_v3 { patch( params: Params$Resource$Acl$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Acl$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Acl$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1564,7 +1576,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acl$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1617,11 +1632,11 @@ export namespace calendar_v3 { update( params: Params$Resource$Acl$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Acl$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Acl$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1650,7 +1665,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acl$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1703,11 +1721,11 @@ export namespace calendar_v3 { watch( params: Params$Resource$Acl$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Acl$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Acl$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -1736,7 +1754,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acl$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1925,11 +1946,11 @@ export namespace calendar_v3 { delete( params: Params$Resource$Calendarlist$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Calendarlist$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Calendarlist$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1956,7 +1977,10 @@ export namespace calendar_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendarlist$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2010,11 +2034,11 @@ export namespace calendar_v3 { get( params: Params$Resource$Calendarlist$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Calendarlist$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Calendarlist$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2045,8 +2069,8 @@ export namespace calendar_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendarlist$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2099,11 +2123,11 @@ export namespace calendar_v3 { insert( params: Params$Resource$Calendarlist$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Calendarlist$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Calendarlist$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -2134,8 +2158,8 @@ export namespace calendar_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendarlist$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2190,11 +2214,11 @@ export namespace calendar_v3 { list( params: Params$Resource$Calendarlist$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Calendarlist$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Calendarlist$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2223,7 +2247,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendarlist$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2278,11 +2305,11 @@ export namespace calendar_v3 { patch( params: Params$Resource$Calendarlist$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Calendarlist$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Calendarlist$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2313,8 +2340,8 @@ export namespace calendar_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendarlist$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2368,11 +2395,11 @@ export namespace calendar_v3 { update( params: Params$Resource$Calendarlist$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Calendarlist$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Calendarlist$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2403,8 +2430,8 @@ export namespace calendar_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendarlist$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2458,11 +2485,11 @@ export namespace calendar_v3 { watch( params: Params$Resource$Calendarlist$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Calendarlist$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Calendarlist$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -2491,7 +2518,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendarlist$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2678,11 +2708,11 @@ export namespace calendar_v3 { clear( params: Params$Resource$Calendars$Clear, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clear( params?: Params$Resource$Calendars$Clear, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clear( params: Params$Resource$Calendars$Clear, options: StreamMethodOptions | BodyResponseCallback, @@ -2709,7 +2739,10 @@ export namespace calendar_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendars$Clear; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2762,11 +2795,11 @@ export namespace calendar_v3 { delete( params: Params$Resource$Calendars$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Calendars$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Calendars$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2793,7 +2826,10 @@ export namespace calendar_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendars$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2847,11 +2883,11 @@ export namespace calendar_v3 { get( params: Params$Resource$Calendars$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Calendars$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Calendars$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2880,7 +2916,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendars$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2934,11 +2973,11 @@ export namespace calendar_v3 { insert( params: Params$Resource$Calendars$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Calendars$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Calendars$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -2967,7 +3006,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendars$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3021,11 +3063,11 @@ export namespace calendar_v3 { patch( params: Params$Resource$Calendars$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Calendars$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Calendars$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3054,7 +3096,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendars$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3108,11 +3153,11 @@ export namespace calendar_v3 { update( params: Params$Resource$Calendars$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Calendars$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Calendars$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3141,7 +3186,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Calendars$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3249,11 +3297,11 @@ export namespace calendar_v3 { stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Channels$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -3280,7 +3328,10 @@ export namespace calendar_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channels$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3348,11 +3399,11 @@ export namespace calendar_v3 { get( params: Params$Resource$Colors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Colors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Colors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3381,7 +3432,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Colors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3444,11 +3498,11 @@ export namespace calendar_v3 { delete( params: Params$Resource$Events$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Events$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Events$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3475,7 +3529,10 @@ export namespace calendar_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3528,11 +3585,11 @@ export namespace calendar_v3 { get( params: Params$Resource$Events$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Events$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Events$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3561,7 +3618,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3615,11 +3675,11 @@ export namespace calendar_v3 { import( params: Params$Resource$Events$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Events$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Events$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -3648,7 +3708,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3701,11 +3764,11 @@ export namespace calendar_v3 { insert( params: Params$Resource$Events$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Events$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Events$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3734,7 +3797,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3787,11 +3853,11 @@ export namespace calendar_v3 { instances( params: Params$Resource$Events$Instances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; instances( params?: Params$Resource$Events$Instances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; instances( params: Params$Resource$Events$Instances, options: StreamMethodOptions | BodyResponseCallback, @@ -3820,7 +3886,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Instances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3874,11 +3943,11 @@ export namespace calendar_v3 { list( params: Params$Resource$Events$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Events$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Events$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3907,7 +3976,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3960,11 +4032,11 @@ export namespace calendar_v3 { move( params: Params$Resource$Events$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Events$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Events$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -3993,7 +4065,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4047,11 +4122,11 @@ export namespace calendar_v3 { patch( params: Params$Resource$Events$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Events$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Events$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4080,7 +4155,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4133,11 +4211,11 @@ export namespace calendar_v3 { quickAdd( params: Params$Resource$Events$Quickadd, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; quickAdd( params?: Params$Resource$Events$Quickadd, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; quickAdd( params: Params$Resource$Events$Quickadd, options: StreamMethodOptions | BodyResponseCallback, @@ -4166,7 +4244,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Quickadd; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4219,11 +4300,11 @@ export namespace calendar_v3 { update( params: Params$Resource$Events$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Events$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Events$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4252,7 +4333,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4305,11 +4389,11 @@ export namespace calendar_v3 { watch( params: Params$Resource$Events$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Events$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Events$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -4338,7 +4422,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4878,11 +4965,11 @@ export namespace calendar_v3 { query( params: Params$Resource$Freebusy$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Freebusy$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Freebusy$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -4911,7 +4998,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Freebusy$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4979,11 +5069,11 @@ export namespace calendar_v3 { get( params: Params$Resource$Settings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Settings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Settings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5012,7 +5102,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5066,11 +5159,11 @@ export namespace calendar_v3 { list( params: Params$Resource$Settings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Settings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Settings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5099,7 +5192,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5153,11 +5249,11 @@ export namespace calendar_v3 { watch( params: Params$Resource$Settings$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Settings$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Settings$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -5186,7 +5282,10 @@ export namespace calendar_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Watch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/certificatemanager/index.ts b/src/apis/certificatemanager/index.ts index 3823ec6c62f..b2de116304c 100644 --- a/src/apis/certificatemanager/index.ts +++ b/src/apis/certificatemanager/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/certificatemanager/package.json b/src/apis/certificatemanager/package.json index 06120de4e1d..623a3b12175 100644 --- a/src/apis/certificatemanager/package.json +++ b/src/apis/certificatemanager/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/certificatemanager/v1.ts b/src/apis/certificatemanager/v1.ts index 0720b949d3b..abb31adf134 100644 --- a/src/apis/certificatemanager/v1.ts +++ b/src/apis/certificatemanager/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -839,11 +839,11 @@ export namespace certificatemanager_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -872,7 +872,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -925,11 +928,11 @@ export namespace certificatemanager_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -962,8 +965,8 @@ export namespace certificatemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1057,11 +1060,11 @@ export namespace certificatemanager_v1 { create( params: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1090,7 +1093,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificateissuanceconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1147,11 +1153,11 @@ export namespace certificatemanager_v1 { delete( params: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1180,7 +1186,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificateissuanceconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1234,11 +1243,11 @@ export namespace certificatemanager_v1 { get( params: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1271,8 +1280,8 @@ export namespace certificatemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificateissuanceconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1326,11 +1335,13 @@ export namespace certificatemanager_v1 { list( params: Params$Resource$Projects$Locations$Certificateissuanceconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Certificateissuanceconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Certificateissuanceconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1365,8 +1376,10 @@ export namespace certificatemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificateissuanceconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1425,11 +1438,11 @@ export namespace certificatemanager_v1 { patch( params: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Certificateissuanceconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1458,7 +1471,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificateissuanceconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1594,11 +1610,11 @@ export namespace certificatemanager_v1 { create( params: Params$Resource$Projects$Locations$Certificatemaps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Certificatemaps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Certificatemaps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1627,7 +1643,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatemaps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1684,11 +1703,11 @@ export namespace certificatemanager_v1 { delete( params: Params$Resource$Projects$Locations$Certificatemaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Certificatemaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Certificatemaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1717,7 +1736,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatemaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1771,11 +1793,11 @@ export namespace certificatemanager_v1 { get( params: Params$Resource$Projects$Locations$Certificatemaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Certificatemaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Certificatemaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1804,7 +1826,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatemaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1857,11 +1882,11 @@ export namespace certificatemanager_v1 { list( params: Params$Resource$Projects$Locations$Certificatemaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Certificatemaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Certificatemaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1896,8 +1921,8 @@ export namespace certificatemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatemaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1953,11 +1978,11 @@ export namespace certificatemanager_v1 { patch( params: Params$Resource$Projects$Locations$Certificatemaps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Certificatemaps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Certificatemaps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1986,7 +2011,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatemaps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2116,11 +2144,11 @@ export namespace certificatemanager_v1 { create( params: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2149,7 +2177,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2206,11 +2237,11 @@ export namespace certificatemanager_v1 { delete( params: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2239,7 +2270,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2293,11 +2327,11 @@ export namespace certificatemanager_v1 { get( params: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2328,8 +2362,8 @@ export namespace certificatemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2383,11 +2417,13 @@ export namespace certificatemanager_v1 { list( params: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2422,8 +2458,10 @@ export namespace certificatemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2482,11 +2520,11 @@ export namespace certificatemanager_v1 { patch( params: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2515,7 +2553,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatemaps$Certificatemapentries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2646,11 +2687,11 @@ export namespace certificatemanager_v1 { create( params: Params$Resource$Projects$Locations$Certificates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Certificates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Certificates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2679,7 +2720,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2735,11 +2779,11 @@ export namespace certificatemanager_v1 { delete( params: Params$Resource$Projects$Locations$Certificates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Certificates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Certificates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2768,7 +2812,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2821,11 +2868,11 @@ export namespace certificatemanager_v1 { get( params: Params$Resource$Projects$Locations$Certificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Certificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Certificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2854,7 +2901,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2907,11 +2957,11 @@ export namespace certificatemanager_v1 { list( params: Params$Resource$Projects$Locations$Certificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Certificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Certificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2944,8 +2994,8 @@ export namespace certificatemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3001,11 +3051,11 @@ export namespace certificatemanager_v1 { patch( params: Params$Resource$Projects$Locations$Certificates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Certificates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Certificates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3034,7 +3084,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3164,11 +3217,11 @@ export namespace certificatemanager_v1 { create( params: Params$Resource$Projects$Locations$Dnsauthorizations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Dnsauthorizations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Dnsauthorizations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3197,7 +3250,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dnsauthorizations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3254,11 +3310,11 @@ export namespace certificatemanager_v1 { delete( params: Params$Resource$Projects$Locations$Dnsauthorizations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Dnsauthorizations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Dnsauthorizations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3287,7 +3343,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dnsauthorizations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3341,11 +3400,11 @@ export namespace certificatemanager_v1 { get( params: Params$Resource$Projects$Locations$Dnsauthorizations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Dnsauthorizations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Dnsauthorizations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3374,7 +3433,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dnsauthorizations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3427,11 +3489,11 @@ export namespace certificatemanager_v1 { list( params: Params$Resource$Projects$Locations$Dnsauthorizations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Dnsauthorizations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Dnsauthorizations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3466,8 +3528,8 @@ export namespace certificatemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dnsauthorizations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3526,11 +3588,11 @@ export namespace certificatemanager_v1 { patch( params: Params$Resource$Projects$Locations$Dnsauthorizations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Dnsauthorizations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Dnsauthorizations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3559,7 +3621,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dnsauthorizations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3690,11 +3755,11 @@ export namespace certificatemanager_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3723,7 +3788,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3776,11 +3844,11 @@ export namespace certificatemanager_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3809,7 +3877,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3862,11 +3933,11 @@ export namespace certificatemanager_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3895,7 +3966,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3948,11 +4022,11 @@ export namespace certificatemanager_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3985,8 +4059,8 @@ export namespace certificatemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4095,11 +4169,11 @@ export namespace certificatemanager_v1 { create( params: Params$Resource$Projects$Locations$Trustconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Trustconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Trustconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4128,7 +4202,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trustconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4184,11 +4261,11 @@ export namespace certificatemanager_v1 { delete( params: Params$Resource$Projects$Locations$Trustconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Trustconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Trustconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4217,7 +4294,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trustconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4270,11 +4350,11 @@ export namespace certificatemanager_v1 { get( params: Params$Resource$Projects$Locations$Trustconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Trustconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Trustconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4303,7 +4383,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trustconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4356,11 +4439,11 @@ export namespace certificatemanager_v1 { list( params: Params$Resource$Projects$Locations$Trustconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Trustconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Trustconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4393,8 +4476,8 @@ export namespace certificatemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trustconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4450,11 +4533,11 @@ export namespace certificatemanager_v1 { patch( params: Params$Resource$Projects$Locations$Trustconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Trustconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Trustconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4483,7 +4566,10 @@ export namespace certificatemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Trustconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/chat/index.ts b/src/apis/chat/index.ts index 2c3099e215d..122b8866fb8 100644 --- a/src/apis/chat/index.ts +++ b/src/apis/chat/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/chat/package.json b/src/apis/chat/package.json index 3d7e654509b..2b63fdc7759 100644 --- a/src/apis/chat/package.json +++ b/src/apis/chat/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/chat/v1.ts b/src/apis/chat/v1.ts index aa3247a4c34..d8f86b17b47 100644 --- a/src/apis/chat/v1.ts +++ b/src/apis/chat/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2811,7 +2811,7 @@ export namespace chat_v1 { } /** - * Creates a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Creates a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2821,11 +2821,11 @@ export namespace chat_v1 { create( params: Params$Resource$Customemojis$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customemojis$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customemojis$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2854,7 +2854,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customemojis$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2896,7 +2899,7 @@ export namespace chat_v1 { } /** - * Deletes a custom emoji. By default, users can only delete custom emoji they created. [Emoji managers](https://support.google.com/a/answer/12850085) assigned by the administrator can delete any custom emoji in the organization. See [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149). Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Deletes a custom emoji. By default, users can only delete custom emoji they created. [Emoji managers](https://support.google.com/a/answer/12850085) assigned by the administrator can delete any custom emoji in the organization. See [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149). Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2906,11 +2909,11 @@ export namespace chat_v1 { delete( params: Params$Resource$Customemojis$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customemojis$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customemojis$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2939,7 +2942,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customemojis$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2981,7 +2987,7 @@ export namespace chat_v1 { } /** - * Returns details about a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Returns details about a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis.readonly` - `https://www.googleapis.com/auth/chat.customemojis` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2991,11 +2997,11 @@ export namespace chat_v1 { get( params: Params$Resource$Customemojis$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customemojis$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customemojis$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3024,7 +3030,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customemojis$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3065,7 +3074,7 @@ export namespace chat_v1 { } /** - * Lists custom emojis visible to the authenticated user. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Lists custom emojis visible to the authenticated user. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis.readonly` - `https://www.googleapis.com/auth/chat.customemojis` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3075,11 +3084,11 @@ export namespace chat_v1 { list( params: Params$Resource$Customemojis$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customemojis$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customemojis$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3112,8 +3121,8 @@ export namespace chat_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customemojis$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3208,11 +3217,11 @@ export namespace chat_v1 { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -3241,7 +3250,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3285,7 +3297,7 @@ export namespace chat_v1 { } /** - * Uploads an attachment. For an example, see [Upload media as a file attachment](https://developers.google.com/workspace/chat/upload-media-attachments). Requires user [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). You can upload attachments up to 200 MB. Certain file types aren't supported. For details, see [File types blocked by Google Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat). + * Uploads an attachment. For an example, see [Upload media as a file attachment](https://developers.google.com/workspace/chat/upload-media-attachments). Requires user [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.create` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) You can upload attachments up to 200 MB. Certain file types aren't supported. For details, see [File types blocked by Google Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat). * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3295,11 +3307,11 @@ export namespace chat_v1 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -3334,8 +3346,8 @@ export namespace chat_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3429,7 +3441,7 @@ export namespace chat_v1 { } /** - * Completes the [import process](https://developers.google.com/workspace/chat/import-data) for the specified space and makes it visible to users. Requires [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and domain-wide delegation. For more information, see [Authorize Google Chat apps to import data](https://developers.google.com/workspace/chat/authorize-import). + * Completes the [import process](https://developers.google.com/workspace/chat/import-data) for the specified space and makes it visible to users. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) and domain-wide delegation with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.import` For more information, see [Authorize Google Chat apps to import data](https://developers.google.com/workspace/chat/authorize-import). * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3439,11 +3451,11 @@ export namespace chat_v1 { completeImport( params: Params$Resource$Spaces$Completeimport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeImport( params?: Params$Resource$Spaces$Completeimport, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeImport( params: Params$Resource$Spaces$Completeimport, options: StreamMethodOptions | BodyResponseCallback, @@ -3478,8 +3490,8 @@ export namespace chat_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Completeimport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3524,7 +3536,7 @@ export namespace chat_v1 { } /** - * Creates a space. Can be used to create a named space, or a group chat in `Import mode`. For an example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) When authenticating as an app, the `space.customer` field must be set in the request. Space membership upon creation depends on whether the space is created in `Import mode`: * **Import mode:** No members are created. * **All other modes:** The calling user is added as a member. This is: * The app itself when using app authentication. * The human user when using user authentication. If you receive the error message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. + * Creates a space. Can be used to create a named space, or a group chat in `Import mode`. For an example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces.create` - `https://www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When authenticating as an app, the `space.customer` field must be set in the request. Space membership upon creation depends on whether the space is created in `Import mode`: * **Import mode:** No members are created. * **All other modes:** The calling user is added as a member. This is: * The app itself when using app authentication. * The human user when using user authentication. If you receive the error message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3534,11 +3546,11 @@ export namespace chat_v1 { create( params: Params$Resource$Spaces$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Spaces$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Spaces$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3567,7 +3579,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3608,7 +3623,7 @@ export namespace chat_v1 { } /** - * Deletes a named space. Always performs a cascading delete, which means that the space's child resources—like messages posted in the space and memberships in the space—are also deleted. For an example, see [Delete a space](https://developers.google.com/workspace/chat/delete-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - Developer Preview: [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth). Requires that the Chat app created the space using app authentication. - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request. + * Deletes a named space. Always performs a cascading delete, which means that the space's child resources—like messages posted in the space and memberships in the space—are also deleted. For an example, see [Delete a space](https://developers.google.com/workspace/chat/delete-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.delete` (only in spaces the app created) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.delete` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.delete` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3618,11 +3633,11 @@ export namespace chat_v1 { delete( params: Params$Resource$Spaces$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Spaces$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Spaces$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3651,7 +3666,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3692,7 +3710,7 @@ export namespace chat_v1 { } /** - * Returns the existing direct message with the specified user. If no direct message space is found, returns a `404 NOT_FOUND` error. For an example, see [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message). With [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app), returns the direct message space between the specified user and the calling Chat app. With [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), returns the direct message space between the specified user and the authenticated user. // Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * Returns the existing direct message with the specified user. If no direct message space is found, returns a `404 NOT_FOUND` error. For an example, see [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message). With [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app), returns the direct message space between the specified user and the calling Chat app. With [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), returns the direct message space between the specified user and the authenticated user. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3702,11 +3720,11 @@ export namespace chat_v1 { findDirectMessage( params: Params$Resource$Spaces$Finddirectmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; findDirectMessage( params?: Params$Resource$Spaces$Finddirectmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; findDirectMessage( params: Params$Resource$Spaces$Finddirectmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -3735,7 +3753,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Finddirectmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3780,7 +3801,7 @@ export namespace chat_v1 { } /** - * Returns details about a space. For an example, see [Get details about a space](https://developers.google.com/workspace/chat/get-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request. + * Returns details about a space. For an example, see [Get details about a space](https://developers.google.com/workspace/chat/get-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot` - `https://www.googleapis.com/auth/chat.app.spaces` with [administrator approval](https://support.google.com/a?p=chat-app-auth) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and one of the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3790,11 +3811,11 @@ export namespace chat_v1 { get( params: Params$Resource$Spaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Spaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Spaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3823,7 +3844,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3864,7 +3888,7 @@ export namespace chat_v1 { } /** - * Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) To list all named spaces by Google Workspace organization, use the [`spaces.search()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search) method using Workspace administrator privileges instead. + * Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` To list all named spaces by Google Workspace organization, use the [`spaces.search()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search) method using Workspace administrator privileges instead. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3874,11 +3898,11 @@ export namespace chat_v1 { list( params: Params$Resource$Spaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Spaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Spaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3909,8 +3933,8 @@ export namespace chat_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3951,7 +3975,7 @@ export namespace chat_v1 { } /** - * Updates a space. For an example, see [Update a space](https://developers.google.com/workspace/chat/update-spaces). If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`, try a different display name.. An existing space within the Google Workspace organization might already use this display name. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request. + * Updates a space. For an example, see [Update a space](https://developers.google.com/workspace/chat/update-spaces). If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`, try a different display name.. An existing space within the Google Workspace organization might already use this display name. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.spaces` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3961,11 +3985,11 @@ export namespace chat_v1 { patch( params: Params$Resource$Spaces$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Spaces$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Spaces$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3994,7 +4018,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4035,7 +4062,7 @@ export namespace chat_v1 { } /** - * Returns a list of spaces in a Google Workspace organization based on an administrator's search. Requires [user authentication with administrator privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges). In the request, set `use_admin_access` to `true`. + * Returns a list of spaces in a Google Workspace organization based on an administrator's search. Requires [user authentication with administrator privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges) and one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces` In the request, set `use_admin_access` to `true`. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4045,11 +4072,11 @@ export namespace chat_v1 { search( params: Params$Resource$Spaces$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Spaces$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Spaces$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -4082,8 +4109,8 @@ export namespace chat_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4124,7 +4151,7 @@ export namespace chat_v1 { } /** - * Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `membership.member.name`. To add a human user, use `users/{user\}`, where `{user\}` can be the email address for the user. For users in the same Workspace organization `{user\}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`. To specify the Google groups to add, add memberships with the appropriate `membership.group_member.name`. To add or invite a Google group, use `groups/{group\}`, where `{group\}` is the `id` for the group from the Cloud Identity Groups API. For example, you can use [Cloud Identity Groups lookup API](https://cloud.google.com/identity/docs/reference/rest/v1/groups/lookup) to retrieve the ID `123456789` for group email `group@example.com`, then you can add the group to the space by setting the `membership.group_member.name` to `groups/123456789`. Group email is not supported, and Google groups can only be added as members in named spaces. For a named space or group chat, if the caller blocks, or is blocked by some members, or doesn't have permission to add some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `membership.member.name`. To add a human user, use `users/{user\}`, where `{user\}` can be the email address for the user. For users in the same Workspace organization `{user\}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`. To specify the Google groups to add, add memberships with the appropriate `membership.group_member.name`. To add or invite a Google group, use `groups/{group\}`, where `{group\}` is the `id` for the group from the Cloud Identity Groups API. For example, you can use [Cloud Identity Groups lookup API](https://cloud.google.com/identity/docs/reference/rest/v1/groups/lookup) to retrieve the ID `123456789` for group email `group@example.com`, then you can add the group to the space by setting the `membership.group_member.name` to `groups/123456789`. Group email is not supported, and Google groups can only be added as members in named spaces. For a named space or group chat, if the caller blocks, or is blocked by some members, or doesn't have permission to add some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/auth/chat.spaces` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4134,11 +4161,11 @@ export namespace chat_v1 { setup( params: Params$Resource$Spaces$Setup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setup( params?: Params$Resource$Spaces$Setup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setup( params: Params$Resource$Spaces$Setup, options: StreamMethodOptions | BodyResponseCallback, @@ -4167,7 +4194,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Setup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4327,7 +4357,7 @@ export namespace chat_v1 { } /** - * Creates a membership for the calling Chat app, a user, or a Google Group. Creating memberships for other Chat apps isn't supported. When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request. For example usage, see: - [Invite or add a user to a space](https://developers.google.com/workspace/chat/create-members#create-user-membership). - [Invite or add a Google Group to a space](https://developers.google.com/workspace/chat/create-members#create-group-membership). - [Add the Chat app to a space](https://developers.google.com/workspace/chat/create-members#create-membership-calling-api). + * Creates a membership for the calling Chat app, a user, or a Google Group. Creating memberships for other Chat apps isn't supported. When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.memberships.app` (to add the calling app to the space) - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.memberships` For example usage, see: - [Invite or add a user to a space](https://developers.google.com/workspace/chat/create-members#create-user-membership). - [Invite or add a Google Group to a space](https://developers.google.com/workspace/chat/create-members#create-group-membership). - [Add the Chat app to a space](https://developers.google.com/workspace/chat/create-members#create-membership-calling-api). * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4337,11 +4367,11 @@ export namespace chat_v1 { create( params: Params$Resource$Spaces$Members$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Spaces$Members$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Spaces$Members$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4370,7 +4400,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Members$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4415,7 +4448,7 @@ export namespace chat_v1 { } /** - * Deletes a membership. For an example, see [Remove a user or a Google Chat app from a space](https://developers.google.com/workspace/chat/delete-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request. To delete memberships for space managers, the requester must be a space manager. If you're using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) the application must be the space creator. + * Deletes a membership. For an example, see [Remove a user or a Google Chat app from a space](https://developers.google.com/workspace/chat/delete-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.memberships.app` (to remove the calling app from the space) - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.memberships` To delete memberships for space managers, the requester must be a space manager. If you're using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) the application must be the space creator. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4425,11 +4458,11 @@ export namespace chat_v1 { delete( params: Params$Resource$Spaces$Members$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Spaces$Members$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Spaces$Members$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4458,7 +4491,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Members$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4500,7 +4536,7 @@ export namespace chat_v1 { } /** - * Returns details about a membership. For an example, see [Get details about a user's or Google Chat app's membership](https://developers.google.com/workspace/chat/get-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request. + * Returns details about a membership. For an example, see [Get details about a user's or Google Chat app's membership](https://developers.google.com/workspace/chat/get-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and one of the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.memberships.readonly` - `https://www.googleapis.com/auth/chat.admin.memberships` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4510,11 +4546,11 @@ export namespace chat_v1 { get( params: Params$Resource$Spaces$Members$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Spaces$Members$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Spaces$Members$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4543,7 +4579,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Members$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4585,7 +4624,7 @@ export namespace chat_v1 { } /** - * Lists memberships in a space. For an example, see [List users and Google Chat apps in a space](https://developers.google.com/workspace/chat/list-members). Listing memberships with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships, including its own. Listing memberships with [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) lists memberships in spaces that the authenticated user has access to. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request. + * Lists memberships in a space. For an example, see [List users and Google Chat apps in a space](https://developers.google.com/workspace/chat/list-members). Listing memberships with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships, including its own. Listing memberships with [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) lists memberships in spaces that the authenticated user has access to. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and one of the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.memberships.readonly` - `https://www.googleapis.com/auth/chat.admin.memberships` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4595,11 +4634,11 @@ export namespace chat_v1 { list( params: Params$Resource$Spaces$Members$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Spaces$Members$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Spaces$Members$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4632,8 +4671,8 @@ export namespace chat_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Members$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4678,7 +4717,7 @@ export namespace chat_v1 { } /** - * Updates a membership. For an example, see [Update a user's membership in a space](https://developers.google.com/workspace/chat/update-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - Developer Preview: [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth). Requires that the Chat app created the space using app authentication. - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) You can authenticate and authorize this method with administrator privileges by setting the `use_admin_access` field in the request. + * Updates a membership. For an example, see [Update a user's membership in a space](https://developers.google.com/workspace/chat/update-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` (only in spaces the app created) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.memberships` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4688,11 +4727,11 @@ export namespace chat_v1 { patch( params: Params$Resource$Spaces$Members$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Spaces$Members$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Spaces$Members$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4721,7 +4760,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Members$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4864,7 +4906,7 @@ export namespace chat_v1 { } /** - * Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). The `create()` method requires either [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) or [app authentication](https://developers.google.com/workspace/chat/authorize-import). Chat attributes the message sender differently depending on the type of authentication that you use in your request. The following image shows how Chat attributes a message when you use app authentication. Chat displays the Chat app as the message sender. The content of the message can contain text (`text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). ![Message sent with app authentication](https://developers.google.com/workspace/chat/images/message-app-auth.svg) The following image shows how Chat attributes a message when you use user authentication. Chat displays the user as the message sender and attributes the Chat app to the message by displaying its name. The content of message can only contain text (`text`). ![Message sent with user authentication](https://developers.google.com/workspace/chat/images/message-user-auth.svg) The maximum message size, including the message contents, is 32,000 bytes. For [webhook](https://developers.google.com/workspace/chat/quickstart/webhooks) requests, the response doesn't contain the full message. The response only populates the `name` and `thread.name` fields in addition to the information that was in the request. + * Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages.create` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) Chat attributes the message sender differently depending on the type of authentication that you use in your request. The following image shows how Chat attributes a message when you use app authentication. Chat displays the Chat app as the message sender. The content of the message can contain text (`text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). ![Message sent with app authentication](https://developers.google.com/workspace/chat/images/message-app-auth.svg) The following image shows how Chat attributes a message when you use user authentication. Chat displays the user as the message sender and attributes the Chat app to the message by displaying its name. The content of message can only contain text (`text`). ![Message sent with user authentication](https://developers.google.com/workspace/chat/images/message-user-auth.svg) The maximum message size, including the message contents, is 32,000 bytes. For [webhook](https://developers.google.com/workspace/chat/quickstart/webhooks) requests, the response doesn't contain the full message. The response only populates the `name` and `thread.name` fields in addition to the information that was in the request. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4874,11 +4916,11 @@ export namespace chat_v1 { create( params: Params$Resource$Spaces$Messages$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Spaces$Messages$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Spaces$Messages$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4907,7 +4949,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Messages$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4952,7 +4997,7 @@ export namespace chat_v1 { } /** - * Deletes a message. For an example, see [Delete a message](https://developers.google.com/workspace/chat/delete-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) When using app authentication, requests can only delete messages created by the calling Chat app. + * Deletes a message. For an example, see [Delete a message](https://developers.google.com/workspace/chat/delete-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When using app authentication, requests can only delete messages created by the calling Chat app. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4962,11 +5007,11 @@ export namespace chat_v1 { delete( params: Params$Resource$Spaces$Messages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Spaces$Messages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Spaces$Messages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4995,7 +5040,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Messages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5037,7 +5085,7 @@ export namespace chat_v1 { } /** - * Returns details about a message. For an example, see [Get details about a message](https://developers.google.com/workspace/chat/get-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) Note: Might return a message from a blocked member or space. + * Returns details about a message. For an example, see [Get details about a message](https://developers.google.com/workspace/chat/get-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` Note: Might return a message from a blocked member or space. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5047,11 +5095,11 @@ export namespace chat_v1 { get( params: Params$Resource$Spaces$Messages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Spaces$Messages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Spaces$Messages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5080,7 +5128,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Messages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5122,7 +5173,7 @@ export namespace chat_v1 { } /** - * Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. If you list messages from a space with no messages, the response is an empty object. When using a REST/HTTP interface, the response contains an empty JSON object, `{\}`. For an example, see [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. If you list messages from a space with no messages, the response is an empty object. When using a REST/HTTP interface, the response contains an empty JSON object, `{\}`. For an example, see [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5132,11 +5183,11 @@ export namespace chat_v1 { list( params: Params$Resource$Spaces$Messages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Spaces$Messages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Spaces$Messages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5169,8 +5220,8 @@ export namespace chat_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Messages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5215,7 +5266,7 @@ export namespace chat_v1 { } /** - * Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) When using app authentication, requests can only update messages created by the calling Chat app. + * Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When using app authentication, requests can only update messages created by the calling Chat app. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5225,11 +5276,11 @@ export namespace chat_v1 { patch( params: Params$Resource$Spaces$Messages$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Spaces$Messages$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Spaces$Messages$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5258,7 +5309,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Messages$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5300,7 +5354,7 @@ export namespace chat_v1 { } /** - * Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) When using app authentication, requests can only update messages created by the calling Chat app. + * Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When using app authentication, requests can only update messages created by the calling Chat app. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5310,11 +5364,11 @@ export namespace chat_v1 { update( params: Params$Resource$Spaces$Messages$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Spaces$Messages$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Spaces$Messages$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5343,7 +5397,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Messages$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5506,7 +5563,7 @@ export namespace chat_v1 { } /** - * Gets the metadata of a message attachment. The attachment data is fetched using the [media API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download). For an example, see [Get metadata about a message attachment](https://developers.google.com/workspace/chat/get-media-attachments). Requires [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). + * Gets the metadata of a message attachment. The attachment data is fetched using the [media API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download). For an example, see [Get metadata about a message attachment](https://developers.google.com/workspace/chat/get-media-attachments). Requires [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.bot` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5516,11 +5573,11 @@ export namespace chat_v1 { get( params: Params$Resource$Spaces$Messages$Attachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Spaces$Messages$Attachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Spaces$Messages$Attachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5549,7 +5606,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Messages$Attachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5606,7 +5666,7 @@ export namespace chat_v1 { } /** - * Creates a reaction and adds it to a message. For an example, see [Add a reaction to a message](https://developers.google.com/workspace/chat/create-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Creates a reaction and adds it to a message. For an example, see [Add a reaction to a message](https://developers.google.com/workspace/chat/create-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.reactions.create` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5616,11 +5676,11 @@ export namespace chat_v1 { create( params: Params$Resource$Spaces$Messages$Reactions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Spaces$Messages$Reactions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Spaces$Messages$Reactions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5649,7 +5709,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Messages$Reactions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5694,7 +5757,7 @@ export namespace chat_v1 { } /** - * Deletes a reaction to a message. For an example, see [Delete a reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Deletes a reaction to a message. For an example, see [Delete a reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5704,11 +5767,11 @@ export namespace chat_v1 { delete( params: Params$Resource$Spaces$Messages$Reactions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Spaces$Messages$Reactions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Spaces$Messages$Reactions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5737,7 +5800,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Messages$Reactions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5779,7 +5845,7 @@ export namespace chat_v1 { } /** - * Lists reactions to a message. For an example, see [List reactions for a message](https://developers.google.com/workspace/chat/list-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Lists reactions to a message. For an example, see [List reactions for a message](https://developers.google.com/workspace/chat/list-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5789,11 +5855,11 @@ export namespace chat_v1 { list( params: Params$Resource$Spaces$Messages$Reactions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Spaces$Messages$Reactions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Spaces$Messages$Reactions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5826,8 +5892,8 @@ export namespace chat_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Messages$Reactions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5918,7 +5984,7 @@ export namespace chat_v1 { } /** - * Returns an event from a Google Chat space. The [event payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the resource that changed. For example, if you request an event about a new message but the message was later updated, the server returns the updated `Message` resource in the event payload. Note: The `permissionSettings` field is not returned in the Space object of the Space event data for this request. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To get an event, the authenticated user must be a member of the space. For an example, see [Get details about an event from a Google Chat space](https://developers.google.com/workspace/chat/get-space-event). + * Returns an event from a Google Chat space. The [event payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the resource that changed. For example, if you request an event about a new message but the message was later updated, the server returns the updated `Message` resource in the event payload. Note: The `permissionSettings` field is not returned in the Space object of the Space event data for this request. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with an [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) appropriate for reading the requested data: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` To get an event, the authenticated user must be a member of the space. For an example, see [Get details about an event from a Google Chat space](https://developers.google.com/workspace/chat/get-space-event). * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5928,11 +5994,11 @@ export namespace chat_v1 { get( params: Params$Resource$Spaces$Spaceevents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Spaces$Spaceevents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Spaces$Spaceevents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5961,7 +6027,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Spaceevents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6003,7 +6072,7 @@ export namespace chat_v1 { } /** - * Lists events from a Google Chat space. For each event, the [payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the Chat resource. For example, if you list events about new space members, the server returns `Membership` resources that contain the latest membership details. If new members were removed during the requested period, the event payload contains an empty `Membership` resource. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To list events, the authenticated user must be a member of the space. For an example, see [List events from a Google Chat space](https://developers.google.com/workspace/chat/list-space-events). + * Lists events from a Google Chat space. For each event, the [payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the Chat resource. For example, if you list events about new space members, the server returns `Membership` resources that contain the latest membership details. If new members were removed during the requested period, the event payload contains an empty `Membership` resource. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with an [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) appropriate for reading the requested data: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` To list events, the authenticated user must be a member of the space. For an example, see [List events from a Google Chat space](https://developers.google.com/workspace/chat/list-space-events). * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -6013,11 +6082,11 @@ export namespace chat_v1 { list( params: Params$Resource$Spaces$Spaceevents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Spaces$Spaceevents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Spaces$Spaceevents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6050,8 +6119,8 @@ export namespace chat_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Spaceevents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6144,7 +6213,7 @@ export namespace chat_v1 { } /** - * Returns details about a user's read state within a space, used to identify read and unread messages. For an example, see [Get details about a user's space read state](https://developers.google.com/workspace/chat/get-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Returns details about a user's read state within a space, used to identify read and unread messages. For an example, see [Get details about a user's space read state](https://developers.google.com/workspace/chat/get-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.readstate.readonly` - `https://www.googleapis.com/auth/chat.users.readstate` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -6154,11 +6223,11 @@ export namespace chat_v1 { getSpaceReadState( params: Params$Resource$Users$Spaces$Getspacereadstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSpaceReadState( params?: Params$Resource$Users$Spaces$Getspacereadstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSpaceReadState( params: Params$Resource$Users$Spaces$Getspacereadstate, options: StreamMethodOptions | BodyResponseCallback, @@ -6189,7 +6258,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Spaces$Getspacereadstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6231,7 +6303,7 @@ export namespace chat_v1 { } /** - * Updates a user's read state within a space, used to identify read and unread messages. For an example, see [Update a user's space read state](https://developers.google.com/workspace/chat/update-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Updates a user's read state within a space, used to identify read and unread messages. For an example, see [Update a user's space read state](https://developers.google.com/workspace/chat/update-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.readstate` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -6241,11 +6313,11 @@ export namespace chat_v1 { updateSpaceReadState( params: Params$Resource$Users$Spaces$Updatespacereadstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSpaceReadState( params?: Params$Resource$Users$Spaces$Updatespacereadstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSpaceReadState( params: Params$Resource$Users$Spaces$Updatespacereadstate, options: StreamMethodOptions | BodyResponseCallback, @@ -6276,7 +6348,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Spaces$Updatespacereadstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6349,7 +6424,7 @@ export namespace chat_v1 { } /** - * Gets the space notification setting. For an example, see [Get the caller's space notification setting](https://developers.google.com/workspace/chat/get-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Gets the space notification setting. For an example, see [Get the caller's space notification setting](https://developers.google.com/workspace/chat/get-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.spacesettings` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -6359,11 +6434,11 @@ export namespace chat_v1 { get( params: Params$Resource$Users$Spaces$Spacenotificationsetting$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Spaces$Spacenotificationsetting$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Spaces$Spacenotificationsetting$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6396,8 +6471,8 @@ export namespace chat_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Spaces$Spacenotificationsetting$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6440,7 +6515,7 @@ export namespace chat_v1 { } /** - * Updates the space notification setting. For an example, see [Update the caller's space notification setting](https://developers.google.com/workspace/chat/update-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Updates the space notification setting. For an example, see [Update the caller's space notification setting](https://developers.google.com/workspace/chat/update-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.spacesettings` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -6450,11 +6525,11 @@ export namespace chat_v1 { patch( params: Params$Resource$Users$Spaces$Spacenotificationsetting$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Spaces$Spacenotificationsetting$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Spaces$Spacenotificationsetting$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6489,8 +6564,8 @@ export namespace chat_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Spaces$Spacenotificationsetting$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6564,7 +6639,7 @@ export namespace chat_v1 { } /** - * Returns details about a user's read state within a thread, used to identify read and unread messages. For an example, see [Get details about a user's thread read state](https://developers.google.com/workspace/chat/get-thread-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * Returns details about a user's read state within a thread, used to identify read and unread messages. For an example, see [Get details about a user's thread read state](https://developers.google.com/workspace/chat/get-thread-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.readstate.readonly` - `https://www.googleapis.com/auth/chat.users.readstate` * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -6574,11 +6649,11 @@ export namespace chat_v1 { getThreadReadState( params: Params$Resource$Users$Spaces$Threads$Getthreadreadstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getThreadReadState( params?: Params$Resource$Users$Spaces$Threads$Getthreadreadstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getThreadReadState( params: Params$Resource$Users$Spaces$Threads$Getthreadreadstate, options: StreamMethodOptions | BodyResponseCallback, @@ -6609,7 +6684,10 @@ export namespace chat_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Spaces$Threads$Getthreadreadstate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/checks/index.ts b/src/apis/checks/index.ts index 20d1e927f86..bd020337596 100644 --- a/src/apis/checks/index.ts +++ b/src/apis/checks/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/checks/package.json b/src/apis/checks/package.json index a9fe98de930..df465676fe2 100644 --- a/src/apis/checks/package.json +++ b/src/apis/checks/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/checks/v1alpha.ts b/src/apis/checks/v1alpha.ts index 12de84214e6..d85afcb0946 100644 --- a/src/apis/checks/v1alpha.ts +++ b/src/apis/checks/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1071,11 +1071,11 @@ export namespace checks_v1alpha { get( params: Params$Resource$Accounts$Apps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Apps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Apps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1110,8 +1110,8 @@ export namespace checks_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1165,11 +1165,13 @@ export namespace checks_v1alpha { list( params: Params$Resource$Accounts$Apps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Apps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Apps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1204,8 +1206,10 @@ export namespace checks_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1292,11 +1296,11 @@ export namespace checks_v1alpha { cancel( params: Params$Resource$Accounts$Apps$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Accounts$Apps$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Accounts$Apps$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1325,7 +1329,10 @@ export namespace checks_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1380,11 +1387,11 @@ export namespace checks_v1alpha { delete( params: Params$Resource$Accounts$Apps$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Apps$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Apps$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1413,7 +1420,10 @@ export namespace checks_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1465,11 +1475,11 @@ export namespace checks_v1alpha { get( params: Params$Resource$Accounts$Apps$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Apps$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Apps$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1498,7 +1508,10 @@ export namespace checks_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1550,11 +1563,11 @@ export namespace checks_v1alpha { list( params: Params$Resource$Accounts$Apps$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Apps$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Apps$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1587,8 +1600,8 @@ export namespace checks_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1643,11 +1656,11 @@ export namespace checks_v1alpha { wait( params: Params$Resource$Accounts$Apps$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Accounts$Apps$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Accounts$Apps$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -1676,7 +1689,10 @@ export namespace checks_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1796,11 +1812,11 @@ export namespace checks_v1alpha { get( params: Params$Resource$Accounts$Apps$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Apps$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Apps$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1835,8 +1851,8 @@ export namespace checks_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1890,11 +1906,13 @@ export namespace checks_v1alpha { list( params: Params$Resource$Accounts$Apps$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Apps$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Apps$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1929,8 +1947,10 @@ export namespace checks_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Apps$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2040,11 +2060,11 @@ export namespace checks_v1alpha { get( params: Params$Resource$Accounts$Repos$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Repos$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Repos$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2073,7 +2093,10 @@ export namespace checks_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Repos$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2140,11 +2163,11 @@ export namespace checks_v1alpha { generate( params: Params$Resource$Accounts$Repos$Scans$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Accounts$Repos$Scans$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Accounts$Repos$Scans$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -2173,7 +2196,10 @@ export namespace checks_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Repos$Scans$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2228,11 +2254,13 @@ export namespace checks_v1alpha { get( params: Params$Resource$Accounts$Repos$Scans$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Repos$Scans$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Accounts$Repos$Scans$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2267,8 +2295,10 @@ export namespace checks_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Repos$Scans$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2322,11 +2352,13 @@ export namespace checks_v1alpha { list( params: Params$Resource$Accounts$Repos$Scans$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Repos$Scans$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Repos$Scans$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2361,8 +2393,10 @@ export namespace checks_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Repos$Scans$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2465,11 +2499,13 @@ export namespace checks_v1alpha { classifyContent( params: Params$Resource$Aisafety$Classifycontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; classifyContent( params?: Params$Resource$Aisafety$Classifycontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; classifyContent( params: Params$Resource$Aisafety$Classifycontent, options: StreamMethodOptions | BodyResponseCallback, @@ -2504,8 +2540,10 @@ export namespace checks_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Aisafety$Classifycontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2577,11 +2615,11 @@ export namespace checks_v1alpha { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -2610,7 +2648,10 @@ export namespace checks_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/chromemanagement/index.ts b/src/apis/chromemanagement/index.ts index bbefd70ef37..3e7b48ce831 100644 --- a/src/apis/chromemanagement/index.ts +++ b/src/apis/chromemanagement/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/chromemanagement/package.json b/src/apis/chromemanagement/package.json index 9972dc5f501..f5b627a2bed 100644 --- a/src/apis/chromemanagement/package.json +++ b/src/apis/chromemanagement/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/chromemanagement/v1.ts b/src/apis/chromemanagement/v1.ts index eb3ee46a169..ed8ba769acb 100644 --- a/src/apis/chromemanagement/v1.ts +++ b/src/apis/chromemanagement/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2719,11 +2719,13 @@ export namespace chromemanagement_v1 { countChromeAppRequests( params: Params$Resource$Customers$Apps$Countchromeapprequests, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countChromeAppRequests( params?: Params$Resource$Customers$Apps$Countchromeapprequests, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countChromeAppRequests( params: Params$Resource$Customers$Apps$Countchromeapprequests, options: StreamMethodOptions | BodyResponseCallback, @@ -2758,8 +2760,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Apps$Countchromeapprequests; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2816,11 +2820,13 @@ export namespace chromemanagement_v1 { fetchDevicesRequestingExtension( params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchDevicesRequestingExtension( params?: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchDevicesRequestingExtension( params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension, options: StreamMethodOptions | BodyResponseCallback, @@ -2855,8 +2861,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Apps$Fetchdevicesrequestingextension; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2914,11 +2922,13 @@ export namespace chromemanagement_v1 { fetchUsersRequestingExtension( params: Params$Resource$Customers$Apps$Fetchusersrequestingextension, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchUsersRequestingExtension( params?: Params$Resource$Customers$Apps$Fetchusersrequestingextension, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchUsersRequestingExtension( params: Params$Resource$Customers$Apps$Fetchusersrequestingextension, options: StreamMethodOptions | BodyResponseCallback, @@ -2953,8 +2963,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Apps$Fetchusersrequestingextension; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3089,11 +3101,13 @@ export namespace chromemanagement_v1 { get( params: Params$Resource$Customers$Apps$Android$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Apps$Android$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Customers$Apps$Android$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3128,8 +3142,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Apps$Android$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3199,11 +3215,13 @@ export namespace chromemanagement_v1 { get( params: Params$Resource$Customers$Apps$Chrome$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Apps$Chrome$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Customers$Apps$Chrome$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3238,8 +3256,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Apps$Chrome$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3309,11 +3329,13 @@ export namespace chromemanagement_v1 { get( params: Params$Resource$Customers$Apps$Web$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Apps$Web$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Customers$Apps$Web$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3348,8 +3370,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Apps$Web$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3419,11 +3443,11 @@ export namespace chromemanagement_v1 { delete( params: Params$Resource$Customers$Profiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customers$Profiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customers$Profiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3454,8 +3478,8 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Profiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3508,11 +3532,13 @@ export namespace chromemanagement_v1 { get( params: Params$Resource$Customers$Profiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Profiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Customers$Profiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3547,8 +3573,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Profiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3603,11 +3631,13 @@ export namespace chromemanagement_v1 { list( params: Params$Resource$Customers$Profiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Profiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Profiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3642,8 +3672,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Profiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3746,11 +3778,13 @@ export namespace chromemanagement_v1 { countChromeBrowsersNeedingAttention( params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countChromeBrowsersNeedingAttention( params?: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countChromeBrowsersNeedingAttention( params: Params$Resource$Customers$Reports$Countchromebrowsersneedingattention, options: StreamMethodOptions | BodyResponseCallback, @@ -3785,8 +3819,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Reports$Countchromebrowsersneedingattention; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3845,11 +3881,13 @@ export namespace chromemanagement_v1 { countChromeCrashEvents( params: Params$Resource$Customers$Reports$Countchromecrashevents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countChromeCrashEvents( params?: Params$Resource$Customers$Reports$Countchromecrashevents, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countChromeCrashEvents( params: Params$Resource$Customers$Reports$Countchromecrashevents, options: StreamMethodOptions | BodyResponseCallback, @@ -3884,8 +3922,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Reports$Countchromecrashevents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3942,11 +3982,13 @@ export namespace chromemanagement_v1 { countChromeDevicesReachingAutoExpirationDate( params: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countChromeDevicesReachingAutoExpirationDate( params?: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countChromeDevicesReachingAutoExpirationDate( params: Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate, options: StreamMethodOptions | BodyResponseCallback, @@ -3981,8 +4023,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4041,11 +4085,13 @@ export namespace chromemanagement_v1 { countChromeDevicesThatNeedAttention( params: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countChromeDevicesThatNeedAttention( params?: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countChromeDevicesThatNeedAttention( params: Params$Resource$Customers$Reports$Countchromedevicesthatneedattention, options: StreamMethodOptions | BodyResponseCallback, @@ -4080,8 +4126,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Reports$Countchromedevicesthatneedattention; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4140,11 +4188,13 @@ export namespace chromemanagement_v1 { countChromeHardwareFleetDevices( params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countChromeHardwareFleetDevices( params?: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countChromeHardwareFleetDevices( params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, options: StreamMethodOptions | BodyResponseCallback, @@ -4179,8 +4229,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Reports$Countchromehardwarefleetdevices; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4239,11 +4291,13 @@ export namespace chromemanagement_v1 { countChromeVersions( params: Params$Resource$Customers$Reports$Countchromeversions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countChromeVersions( params?: Params$Resource$Customers$Reports$Countchromeversions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countChromeVersions( params: Params$Resource$Customers$Reports$Countchromeversions, options: StreamMethodOptions | BodyResponseCallback, @@ -4278,8 +4332,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Reports$Countchromeversions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4336,11 +4392,13 @@ export namespace chromemanagement_v1 { countInstalledApps( params: Params$Resource$Customers$Reports$Countinstalledapps, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countInstalledApps( params?: Params$Resource$Customers$Reports$Countinstalledapps, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countInstalledApps( params: Params$Resource$Customers$Reports$Countinstalledapps, options: StreamMethodOptions | BodyResponseCallback, @@ -4375,8 +4433,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Reports$Countinstalledapps; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4433,11 +4493,13 @@ export namespace chromemanagement_v1 { countPrintJobsByPrinter( params: Params$Resource$Customers$Reports$Countprintjobsbyprinter, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countPrintJobsByPrinter( params?: Params$Resource$Customers$Reports$Countprintjobsbyprinter, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countPrintJobsByPrinter( params: Params$Resource$Customers$Reports$Countprintjobsbyprinter, options: StreamMethodOptions | BodyResponseCallback, @@ -4472,8 +4534,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Reports$Countprintjobsbyprinter; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4531,11 +4595,13 @@ export namespace chromemanagement_v1 { countPrintJobsByUser( params: Params$Resource$Customers$Reports$Countprintjobsbyuser, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countPrintJobsByUser( params?: Params$Resource$Customers$Reports$Countprintjobsbyuser, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countPrintJobsByUser( params: Params$Resource$Customers$Reports$Countprintjobsbyuser, options: StreamMethodOptions | BodyResponseCallback, @@ -4570,8 +4636,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Reports$Countprintjobsbyuser; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4628,11 +4696,13 @@ export namespace chromemanagement_v1 { enumeratePrintJobs( params: Params$Resource$Customers$Reports$Enumerateprintjobs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enumeratePrintJobs( params?: Params$Resource$Customers$Reports$Enumerateprintjobs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; enumeratePrintJobs( params: Params$Resource$Customers$Reports$Enumerateprintjobs, options: StreamMethodOptions | BodyResponseCallback, @@ -4667,8 +4737,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Reports$Enumerateprintjobs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4725,11 +4797,13 @@ export namespace chromemanagement_v1 { findInstalledAppDevices( params: Params$Resource$Customers$Reports$Findinstalledappdevices, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; findInstalledAppDevices( params?: Params$Resource$Customers$Reports$Findinstalledappdevices, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; findInstalledAppDevices( params: Params$Resource$Customers$Reports$Findinstalledappdevices, options: StreamMethodOptions | BodyResponseCallback, @@ -4764,8 +4838,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Reports$Findinstalledappdevices; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5092,11 +5168,13 @@ export namespace chromemanagement_v1 { get( params: Params$Resource$Customers$Telemetry$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Telemetry$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Customers$Telemetry$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5131,8 +5209,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Telemetry$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5187,11 +5267,13 @@ export namespace chromemanagement_v1 { list( params: Params$Resource$Customers$Telemetry$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Telemetry$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Telemetry$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5226,8 +5308,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Telemetry$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5327,11 +5411,13 @@ export namespace chromemanagement_v1 { list( params: Params$Resource$Customers$Telemetry$Events$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Telemetry$Events$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Telemetry$Events$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5366,8 +5452,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Telemetry$Events$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5456,11 +5544,13 @@ export namespace chromemanagement_v1 { create( params: Params$Resource$Customers$Telemetry$Notificationconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Telemetry$Notificationconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Customers$Telemetry$Notificationconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5495,8 +5585,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Telemetry$Notificationconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5554,11 +5646,11 @@ export namespace chromemanagement_v1 { delete( params: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customers$Telemetry$Notificationconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5589,8 +5681,8 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Telemetry$Notificationconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5644,11 +5736,13 @@ export namespace chromemanagement_v1 { list( params: Params$Resource$Customers$Telemetry$Notificationconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Telemetry$Notificationconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Telemetry$Notificationconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5683,8 +5777,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Telemetry$Notificationconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5784,11 +5880,13 @@ export namespace chromemanagement_v1 { get( params: Params$Resource$Customers$Telemetry$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Telemetry$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Customers$Telemetry$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5823,8 +5921,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Telemetry$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5879,11 +5979,13 @@ export namespace chromemanagement_v1 { list( params: Params$Resource$Customers$Telemetry$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Telemetry$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Telemetry$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5918,8 +6020,10 @@ export namespace chromemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Telemetry$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/chromepolicy/index.ts b/src/apis/chromepolicy/index.ts index 1f482ec3932..735f6d1aeb6 100644 --- a/src/apis/chromepolicy/index.ts +++ b/src/apis/chromepolicy/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/chromepolicy/package.json b/src/apis/chromepolicy/package.json index 79a66d0811b..f41c4f525cf 100644 --- a/src/apis/chromepolicy/package.json +++ b/src/apis/chromepolicy/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/chromepolicy/v1.ts b/src/apis/chromepolicy/v1.ts index 393f409facc..bed2dc21aff 100644 --- a/src/apis/chromepolicy/v1.ts +++ b/src/apis/chromepolicy/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -914,7 +914,7 @@ export namespace chromepolicy_v1 { */ export interface Schema$Proto2FileDescriptorProto { /** - * BEGIN GOOGLE-INTERNAL TODO(b/297898292) Deprecate and remove this field in favor of enums. END GOOGLE-INTERNAL + * copybara:strip_begin TODO(b/297898292) Deprecate and remove this field in favor of enums. copybara:strip_end */ editionDeprecated?: string | null; enumType?: Schema$Proto2EnumDescriptorProto[]; @@ -980,11 +980,13 @@ export namespace chromepolicy_v1 { resolve( params: Params$Resource$Customers$Policies$Resolve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params?: Params$Resource$Customers$Policies$Resolve, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; resolve( params: Params$Resource$Customers$Policies$Resolve, options: StreamMethodOptions | BodyResponseCallback, @@ -1019,8 +1021,10 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policies$Resolve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1097,11 +1101,11 @@ export namespace chromepolicy_v1 { batchDelete( params: Params$Resource$Customers$Policies$Groups$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Customers$Policies$Groups$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Customers$Policies$Groups$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -1134,8 +1138,8 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policies$Groups$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1189,11 +1193,11 @@ export namespace chromepolicy_v1 { batchModify( params: Params$Resource$Customers$Policies$Groups$Batchmodify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchModify( params?: Params$Resource$Customers$Policies$Groups$Batchmodify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchModify( params: Params$Resource$Customers$Policies$Groups$Batchmodify, options: StreamMethodOptions | BodyResponseCallback, @@ -1226,8 +1230,8 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policies$Groups$Batchmodify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1281,11 +1285,13 @@ export namespace chromepolicy_v1 { listGroupPriorityOrdering( params: Params$Resource$Customers$Policies$Groups$Listgrouppriorityordering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listGroupPriorityOrdering( params?: Params$Resource$Customers$Policies$Groups$Listgrouppriorityordering, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listGroupPriorityOrdering( params: Params$Resource$Customers$Policies$Groups$Listgrouppriorityordering, options: StreamMethodOptions | BodyResponseCallback, @@ -1320,8 +1326,10 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policies$Groups$Listgrouppriorityordering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1379,11 +1387,11 @@ export namespace chromepolicy_v1 { updateGroupPriorityOrdering( params: Params$Resource$Customers$Policies$Groups$Updategrouppriorityordering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGroupPriorityOrdering( params?: Params$Resource$Customers$Policies$Groups$Updategrouppriorityordering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateGroupPriorityOrdering( params: Params$Resource$Customers$Policies$Groups$Updategrouppriorityordering, options: StreamMethodOptions | BodyResponseCallback, @@ -1416,8 +1424,8 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policies$Groups$Updategrouppriorityordering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1529,11 +1537,13 @@ export namespace chromepolicy_v1 { defineCertificate( params: Params$Resource$Customers$Policies$Networks$Definecertificate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; defineCertificate( params?: Params$Resource$Customers$Policies$Networks$Definecertificate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; defineCertificate( params: Params$Resource$Customers$Policies$Networks$Definecertificate, options: StreamMethodOptions | BodyResponseCallback, @@ -1568,8 +1578,10 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policies$Networks$Definecertificate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1626,11 +1638,13 @@ export namespace chromepolicy_v1 { defineNetwork( params: Params$Resource$Customers$Policies$Networks$Definenetwork, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; defineNetwork( params?: Params$Resource$Customers$Policies$Networks$Definenetwork, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; defineNetwork( params: Params$Resource$Customers$Policies$Networks$Definenetwork, options: StreamMethodOptions | BodyResponseCallback, @@ -1665,8 +1679,10 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policies$Networks$Definenetwork; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1723,11 +1739,13 @@ export namespace chromepolicy_v1 { removeCertificate( params: Params$Resource$Customers$Policies$Networks$Removecertificate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeCertificate( params?: Params$Resource$Customers$Policies$Networks$Removecertificate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeCertificate( params: Params$Resource$Customers$Policies$Networks$Removecertificate, options: StreamMethodOptions | BodyResponseCallback, @@ -1762,8 +1780,10 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policies$Networks$Removecertificate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1820,11 +1840,13 @@ export namespace chromepolicy_v1 { removeNetwork( params: Params$Resource$Customers$Policies$Networks$Removenetwork, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeNetwork( params?: Params$Resource$Customers$Policies$Networks$Removenetwork, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeNetwork( params: Params$Resource$Customers$Policies$Networks$Removenetwork, options: StreamMethodOptions | BodyResponseCallback, @@ -1859,8 +1881,10 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policies$Networks$Removenetwork; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1973,11 +1997,11 @@ export namespace chromepolicy_v1 { batchInherit( params: Params$Resource$Customers$Policies$Orgunits$Batchinherit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchInherit( params?: Params$Resource$Customers$Policies$Orgunits$Batchinherit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchInherit( params: Params$Resource$Customers$Policies$Orgunits$Batchinherit, options: StreamMethodOptions | BodyResponseCallback, @@ -2010,8 +2034,8 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policies$Orgunits$Batchinherit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2065,11 +2089,11 @@ export namespace chromepolicy_v1 { batchModify( params: Params$Resource$Customers$Policies$Orgunits$Batchmodify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchModify( params?: Params$Resource$Customers$Policies$Orgunits$Batchmodify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchModify( params: Params$Resource$Customers$Policies$Orgunits$Batchmodify, options: StreamMethodOptions | BodyResponseCallback, @@ -2102,8 +2126,8 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policies$Orgunits$Batchmodify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2189,11 +2213,13 @@ export namespace chromepolicy_v1 { get( params: Params$Resource$Customers$Policyschemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Policyschemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Customers$Policyschemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2228,8 +2254,10 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policyschemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2283,11 +2311,13 @@ export namespace chromepolicy_v1 { list( params: Params$Resource$Customers$Policyschemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Policyschemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Policyschemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2322,8 +2352,10 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Policyschemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2414,11 +2446,13 @@ export namespace chromepolicy_v1 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -2453,8 +2487,10 @@ export namespace chromepolicy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/chromeuxreport/index.ts b/src/apis/chromeuxreport/index.ts index 5a55648487f..1c4e3518528 100644 --- a/src/apis/chromeuxreport/index.ts +++ b/src/apis/chromeuxreport/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/chromeuxreport/package.json b/src/apis/chromeuxreport/package.json index c41a83f1205..1c1b762a5d1 100644 --- a/src/apis/chromeuxreport/package.json +++ b/src/apis/chromeuxreport/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/chromeuxreport/v1.ts b/src/apis/chromeuxreport/v1.ts index c4e8a6aac6b..23a2bfeeb62 100644 --- a/src/apis/chromeuxreport/v1.ts +++ b/src/apis/chromeuxreport/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -428,11 +428,11 @@ export namespace chromeuxreport_v1 { queryHistoryRecord( params: Params$Resource$Records$Queryhistoryrecord, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryHistoryRecord( params?: Params$Resource$Records$Queryhistoryrecord, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryHistoryRecord( params: Params$Resource$Records$Queryhistoryrecord, options: StreamMethodOptions | BodyResponseCallback, @@ -467,8 +467,8 @@ export namespace chromeuxreport_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Records$Queryhistoryrecord; let options = (optionsOrCallback || {}) as MethodOptions; @@ -524,11 +524,11 @@ export namespace chromeuxreport_v1 { queryRecord( params: Params$Resource$Records$Queryrecord, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryRecord( params?: Params$Resource$Records$Queryrecord, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryRecord( params: Params$Resource$Records$Queryrecord, options: StreamMethodOptions | BodyResponseCallback, @@ -557,7 +557,10 @@ export namespace chromeuxreport_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Records$Queryrecord; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/civicinfo/index.ts b/src/apis/civicinfo/index.ts index fac9c34eb4e..f6d23d8a539 100644 --- a/src/apis/civicinfo/index.ts +++ b/src/apis/civicinfo/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/civicinfo/package.json b/src/apis/civicinfo/package.json index 82edf829e92..ff4eedc7cd6 100644 --- a/src/apis/civicinfo/package.json +++ b/src/apis/civicinfo/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/civicinfo/v2.ts b/src/apis/civicinfo/v2.ts index 55caca0b358..e6088c32c50 100644 --- a/src/apis/civicinfo/v2.ts +++ b/src/apis/civicinfo/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -710,11 +710,13 @@ export namespace civicinfo_v2 { queryDivisionByAddress( params: Params$Resource$Divisions$Querydivisionbyaddress, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryDivisionByAddress( params?: Params$Resource$Divisions$Querydivisionbyaddress, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryDivisionByAddress( params: Params$Resource$Divisions$Querydivisionbyaddress, options: StreamMethodOptions | BodyResponseCallback, @@ -749,8 +751,10 @@ export namespace civicinfo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Divisions$Querydivisionbyaddress; let options = (optionsOrCallback || {}) as MethodOptions; @@ -807,11 +811,13 @@ export namespace civicinfo_v2 { search( params: Params$Resource$Divisions$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Divisions$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Divisions$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -846,8 +852,10 @@ export namespace civicinfo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Divisions$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -924,11 +932,13 @@ export namespace civicinfo_v2 { electionQuery( params: Params$Resource$Elections$Electionquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; electionQuery( params?: Params$Resource$Elections$Electionquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; electionQuery( params: Params$Resource$Elections$Electionquery, options: StreamMethodOptions | BodyResponseCallback, @@ -963,8 +973,10 @@ export namespace civicinfo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Elections$Electionquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1021,11 +1033,13 @@ export namespace civicinfo_v2 { voterInfoQuery( params: Params$Resource$Elections$Voterinfoquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; voterInfoQuery( params?: Params$Resource$Elections$Voterinfoquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; voterInfoQuery( params: Params$Resource$Elections$Voterinfoquery, options: StreamMethodOptions | BodyResponseCallback, @@ -1060,8 +1074,10 @@ export namespace civicinfo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Elections$Voterinfoquery; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/classroom/index.ts b/src/apis/classroom/index.ts index 02679fb3a96..092bb3fd065 100644 --- a/src/apis/classroom/index.ts +++ b/src/apis/classroom/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/classroom/package.json b/src/apis/classroom/package.json index ecc5ad4e79c..99d469cd55e 100644 --- a/src/apis/classroom/package.json +++ b/src/apis/classroom/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/classroom/v1.ts b/src/apis/classroom/v1.ts index 5aaa732b0ae..d41cfec3b55 100644 --- a/src/apis/classroom/v1.ts +++ b/src/apis/classroom/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1679,11 +1679,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1712,7 +1712,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1763,11 +1766,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1796,7 +1799,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1847,11 +1853,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1880,7 +1886,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1931,11 +1940,11 @@ export namespace classroom_v1 { getGradingPeriodSettings( params: Params$Resource$Courses$Getgradingperiodsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGradingPeriodSettings( params?: Params$Resource$Courses$Getgradingperiodsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getGradingPeriodSettings( params: Params$Resource$Courses$Getgradingperiodsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1970,8 +1979,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Getgradingperiodsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2025,11 +2034,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2060,8 +2069,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2112,11 +2121,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Courses$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2145,7 +2154,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2196,11 +2208,11 @@ export namespace classroom_v1 { update( params: Params$Resource$Courses$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Courses$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Courses$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2229,7 +2241,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2280,11 +2295,11 @@ export namespace classroom_v1 { updateGradingPeriodSettings( params: Params$Resource$Courses$Updategradingperiodsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGradingPeriodSettings( params?: Params$Resource$Courses$Updategradingperiodsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateGradingPeriodSettings( params: Params$Resource$Courses$Updategradingperiodsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2319,8 +2334,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Updategradingperiodsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2471,11 +2486,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Aliases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Aliases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Aliases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2504,7 +2519,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Aliases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2559,11 +2577,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Aliases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Aliases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Aliases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2592,7 +2610,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Aliases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2647,11 +2668,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Aliases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Aliases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Aliases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2686,8 +2707,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Aliases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2791,11 +2812,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Announcements$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Announcements$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Announcements$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2824,7 +2845,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2879,11 +2903,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Announcements$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Announcements$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Announcements$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2912,7 +2936,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2966,11 +2993,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Announcements$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Announcements$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Announcements$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2999,7 +3026,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3053,11 +3083,11 @@ export namespace classroom_v1 { getAddOnContext( params: Params$Resource$Courses$Announcements$Getaddoncontext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAddOnContext( params?: Params$Resource$Courses$Announcements$Getaddoncontext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAddOnContext( params: Params$Resource$Courses$Announcements$Getaddoncontext, options: StreamMethodOptions | BodyResponseCallback, @@ -3086,7 +3116,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$Getaddoncontext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3141,11 +3174,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Announcements$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Announcements$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Announcements$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3180,8 +3213,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3236,11 +3269,11 @@ export namespace classroom_v1 { modifyAssignees( params: Params$Resource$Courses$Announcements$Modifyassignees, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyAssignees( params?: Params$Resource$Courses$Announcements$Modifyassignees, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyAssignees( params: Params$Resource$Courses$Announcements$Modifyassignees, options: StreamMethodOptions | BodyResponseCallback, @@ -3269,7 +3302,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$Modifyassignees; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3324,11 +3360,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Announcements$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Announcements$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Courses$Announcements$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3357,7 +3393,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3535,11 +3574,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Announcements$Addonattachments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Announcements$Addonattachments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Announcements$Addonattachments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3568,7 +3607,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$Addonattachments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3624,11 +3666,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Announcements$Addonattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Announcements$Addonattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Announcements$Addonattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3657,7 +3699,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$Addonattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3713,11 +3758,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Announcements$Addonattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Announcements$Addonattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Announcements$Addonattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3746,7 +3791,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$Addonattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3802,11 +3850,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Announcements$Addonattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Announcements$Addonattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Announcements$Addonattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3841,8 +3889,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$Addonattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3900,11 +3948,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Announcements$Addonattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Announcements$Addonattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Courses$Announcements$Addonattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3933,7 +3981,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Announcements$Addonattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4119,11 +4170,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Coursework$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Coursework$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Coursework$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4152,7 +4203,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4207,11 +4261,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Coursework$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Coursework$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Coursework$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4240,7 +4294,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4295,11 +4352,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Coursework$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Coursework$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Coursework$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4328,7 +4385,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4383,11 +4443,11 @@ export namespace classroom_v1 { getAddOnContext( params: Params$Resource$Courses$Coursework$Getaddoncontext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAddOnContext( params?: Params$Resource$Courses$Coursework$Getaddoncontext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAddOnContext( params: Params$Resource$Courses$Coursework$Getaddoncontext, options: StreamMethodOptions | BodyResponseCallback, @@ -4416,7 +4476,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Getaddoncontext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4471,11 +4534,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Coursework$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Coursework$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Coursework$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4508,8 +4571,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4564,11 +4627,11 @@ export namespace classroom_v1 { modifyAssignees( params: Params$Resource$Courses$Coursework$Modifyassignees, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyAssignees( params?: Params$Resource$Courses$Coursework$Modifyassignees, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyAssignees( params: Params$Resource$Courses$Coursework$Modifyassignees, options: StreamMethodOptions | BodyResponseCallback, @@ -4597,7 +4660,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Modifyassignees; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4651,11 +4717,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Coursework$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Coursework$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Courses$Coursework$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4684,7 +4750,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4739,11 +4808,11 @@ export namespace classroom_v1 { updateRubric( params: Params$Resource$Courses$Coursework$Updaterubric, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateRubric( params?: Params$Resource$Courses$Coursework$Updaterubric, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateRubric( params: Params$Resource$Courses$Coursework$Updaterubric, options: StreamMethodOptions | BodyResponseCallback, @@ -4772,7 +4841,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Updaterubric; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4980,11 +5052,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Coursework$Addonattachments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Coursework$Addonattachments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Coursework$Addonattachments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5013,7 +5085,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Addonattachments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5069,11 +5144,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Coursework$Addonattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Coursework$Addonattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Coursework$Addonattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5102,7 +5177,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Addonattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5158,11 +5236,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Coursework$Addonattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Coursework$Addonattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Coursework$Addonattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5191,7 +5269,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Addonattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5246,11 +5327,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Coursework$Addonattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Coursework$Addonattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Coursework$Addonattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5285,8 +5366,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Addonattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5343,11 +5424,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Coursework$Addonattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Coursework$Addonattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Courses$Coursework$Addonattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5376,7 +5457,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Addonattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5553,11 +5637,13 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Coursework$Addonattachments$Studentsubmissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Coursework$Addonattachments$Studentsubmissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Courses$Coursework$Addonattachments$Studentsubmissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5592,8 +5678,10 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Addonattachments$Studentsubmissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5651,11 +5739,13 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Coursework$Addonattachments$Studentsubmissions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Coursework$Addonattachments$Studentsubmissions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Courses$Coursework$Addonattachments$Studentsubmissions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5690,8 +5780,10 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Addonattachments$Studentsubmissions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5812,11 +5904,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Coursework$Rubrics$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Coursework$Rubrics$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Coursework$Rubrics$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5845,7 +5937,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Rubrics$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5900,11 +5995,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Coursework$Rubrics$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Coursework$Rubrics$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Coursework$Rubrics$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5933,7 +6028,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Rubrics$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5988,11 +6086,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Coursework$Rubrics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Coursework$Rubrics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Coursework$Rubrics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6021,7 +6119,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Rubrics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6076,11 +6177,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Coursework$Rubrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Coursework$Rubrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Coursework$Rubrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6111,8 +6212,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Rubrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6167,11 +6268,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Coursework$Rubrics$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Coursework$Rubrics$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Courses$Coursework$Rubrics$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6200,7 +6301,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Rubrics$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6352,11 +6456,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Coursework$Studentsubmissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Coursework$Studentsubmissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Coursework$Studentsubmissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6387,8 +6491,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Studentsubmissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6444,11 +6548,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Coursework$Studentsubmissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Coursework$Studentsubmissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Coursework$Studentsubmissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6483,8 +6587,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Studentsubmissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6542,11 +6646,11 @@ export namespace classroom_v1 { modifyAttachments( params: Params$Resource$Courses$Coursework$Studentsubmissions$Modifyattachments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyAttachments( params?: Params$Resource$Courses$Coursework$Studentsubmissions$Modifyattachments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyAttachments( params: Params$Resource$Courses$Coursework$Studentsubmissions$Modifyattachments, options: StreamMethodOptions | BodyResponseCallback, @@ -6579,8 +6683,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Studentsubmissions$Modifyattachments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6636,11 +6740,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Coursework$Studentsubmissions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Coursework$Studentsubmissions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Courses$Coursework$Studentsubmissions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6671,8 +6775,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Studentsubmissions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6728,11 +6832,11 @@ export namespace classroom_v1 { reclaim( params: Params$Resource$Courses$Coursework$Studentsubmissions$Reclaim, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reclaim( params?: Params$Resource$Courses$Coursework$Studentsubmissions$Reclaim, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reclaim( params: Params$Resource$Courses$Coursework$Studentsubmissions$Reclaim, options: StreamMethodOptions | BodyResponseCallback, @@ -6761,7 +6865,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Studentsubmissions$Reclaim; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6817,11 +6924,11 @@ export namespace classroom_v1 { return( params: Params$Resource$Courses$Coursework$Studentsubmissions$Return, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; return( params?: Params$Resource$Courses$Coursework$Studentsubmissions$Return, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; return( params: Params$Resource$Courses$Coursework$Studentsubmissions$Return, options: StreamMethodOptions | BodyResponseCallback, @@ -6850,7 +6957,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Studentsubmissions$Return; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6906,11 +7016,11 @@ export namespace classroom_v1 { turnIn( params: Params$Resource$Courses$Coursework$Studentsubmissions$Turnin, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; turnIn( params?: Params$Resource$Courses$Coursework$Studentsubmissions$Turnin, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; turnIn( params: Params$Resource$Courses$Coursework$Studentsubmissions$Turnin, options: StreamMethodOptions | BodyResponseCallback, @@ -6939,7 +7049,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Coursework$Studentsubmissions$Turnin; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7156,11 +7269,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Courseworkmaterials$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Courseworkmaterials$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Courseworkmaterials$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7191,8 +7304,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Courseworkmaterials$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7246,11 +7359,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Courseworkmaterials$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Courseworkmaterials$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Courseworkmaterials$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7279,7 +7392,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Courseworkmaterials$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7333,11 +7449,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Courseworkmaterials$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Courseworkmaterials$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Courseworkmaterials$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7368,8 +7484,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Courseworkmaterials$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7423,11 +7539,11 @@ export namespace classroom_v1 { getAddOnContext( params: Params$Resource$Courses$Courseworkmaterials$Getaddoncontext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAddOnContext( params?: Params$Resource$Courses$Courseworkmaterials$Getaddoncontext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAddOnContext( params: Params$Resource$Courses$Courseworkmaterials$Getaddoncontext, options: StreamMethodOptions | BodyResponseCallback, @@ -7456,7 +7572,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Courseworkmaterials$Getaddoncontext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7512,11 +7631,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Courseworkmaterials$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Courseworkmaterials$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Courseworkmaterials$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7551,8 +7670,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Courseworkmaterials$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7608,11 +7727,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Courseworkmaterials$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Courseworkmaterials$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Courses$Courseworkmaterials$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7643,8 +7762,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Courseworkmaterials$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7814,11 +7933,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7847,7 +7966,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Courseworkmaterials$Addonattachments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7903,11 +8025,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7936,7 +8058,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Courseworkmaterials$Addonattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7992,11 +8117,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8025,7 +8150,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Courseworkmaterials$Addonattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8081,11 +8209,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Courseworkmaterials$Addonattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Courseworkmaterials$Addonattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Courseworkmaterials$Addonattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8120,8 +8248,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Courseworkmaterials$Addonattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8179,11 +8307,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Courses$Courseworkmaterials$Addonattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8212,7 +8340,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Courseworkmaterials$Addonattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8393,11 +8524,11 @@ export namespace classroom_v1 { getAddOnContext( params: Params$Resource$Courses$Posts$Getaddoncontext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAddOnContext( params?: Params$Resource$Courses$Posts$Getaddoncontext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAddOnContext( params: Params$Resource$Courses$Posts$Getaddoncontext, options: StreamMethodOptions | BodyResponseCallback, @@ -8426,7 +8557,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Posts$Getaddoncontext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8516,11 +8650,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Posts$Addonattachments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Posts$Addonattachments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Posts$Addonattachments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8549,7 +8683,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Posts$Addonattachments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8603,11 +8740,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Posts$Addonattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Posts$Addonattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Posts$Addonattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8636,7 +8773,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Posts$Addonattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8691,11 +8831,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Posts$Addonattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Posts$Addonattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Posts$Addonattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8724,7 +8864,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Posts$Addonattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8779,11 +8922,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Posts$Addonattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Posts$Addonattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Posts$Addonattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8818,8 +8961,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Posts$Addonattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8875,11 +9018,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Posts$Addonattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Posts$Addonattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Courses$Posts$Addonattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8908,7 +9051,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Posts$Addonattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9084,11 +9230,13 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Posts$Addonattachments$Studentsubmissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Posts$Addonattachments$Studentsubmissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Courses$Posts$Addonattachments$Studentsubmissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9123,8 +9271,10 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Posts$Addonattachments$Studentsubmissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9182,11 +9332,13 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Posts$Addonattachments$Studentsubmissions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Posts$Addonattachments$Studentsubmissions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Courses$Posts$Addonattachments$Studentsubmissions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9221,8 +9373,10 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Posts$Addonattachments$Studentsubmissions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9343,11 +9497,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Students$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Students$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Students$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9376,7 +9530,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Students$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9431,11 +9588,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Students$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Students$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Students$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9464,7 +9621,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Students$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9519,11 +9679,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Students$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Students$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Students$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9552,7 +9712,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Students$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9607,11 +9770,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Students$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Students$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Students$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9644,8 +9807,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Students$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9761,11 +9924,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Teachers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Teachers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Teachers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9794,7 +9957,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Teachers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9849,11 +10015,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Teachers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Teachers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Teachers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9882,7 +10048,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Teachers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9937,11 +10106,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Teachers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Teachers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Teachers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9970,7 +10139,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Teachers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10025,11 +10197,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Teachers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Teachers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Teachers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10062,8 +10234,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Teachers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10175,11 +10347,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Courses$Topics$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Courses$Topics$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Courses$Topics$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10208,7 +10380,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Topics$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10263,11 +10438,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Courses$Topics$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Courses$Topics$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Courses$Topics$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10296,7 +10471,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Topics$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10351,11 +10529,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Courses$Topics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Courses$Topics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Courses$Topics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10384,7 +10562,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Topics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10439,11 +10620,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Courses$Topics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Courses$Topics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Courses$Topics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10474,8 +10655,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Topics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10530,11 +10711,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Courses$Topics$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Courses$Topics$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Courses$Topics$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10563,7 +10744,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Courses$Topics$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10695,11 +10879,11 @@ export namespace classroom_v1 { accept( params: Params$Resource$Invitations$Accept, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accept( params?: Params$Resource$Invitations$Accept, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; accept( params: Params$Resource$Invitations$Accept, options: StreamMethodOptions | BodyResponseCallback, @@ -10728,7 +10912,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Invitations$Accept; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10783,11 +10970,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Invitations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Invitations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Invitations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10816,7 +11003,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Invitations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10868,11 +11058,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Invitations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Invitations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Invitations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10901,7 +11091,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Invitations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10956,11 +11149,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Invitations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Invitations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Invitations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10989,7 +11182,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Invitations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11043,11 +11239,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Invitations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Invitations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Invitations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11080,8 +11276,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Invitations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11185,11 +11381,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Registrations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Registrations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Registrations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11218,7 +11414,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Registrations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11270,11 +11469,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Registrations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Registrations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Registrations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11303,7 +11502,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Registrations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11386,11 +11588,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Userprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11419,7 +11621,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11487,11 +11692,11 @@ export namespace classroom_v1 { create( params: Params$Resource$Userprofiles$Guardianinvitations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Userprofiles$Guardianinvitations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Userprofiles$Guardianinvitations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11522,8 +11727,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$Guardianinvitations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11577,11 +11782,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Userprofiles$Guardianinvitations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userprofiles$Guardianinvitations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userprofiles$Guardianinvitations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11612,8 +11817,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$Guardianinvitations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11668,11 +11873,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Userprofiles$Guardianinvitations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userprofiles$Guardianinvitations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userprofiles$Guardianinvitations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11707,8 +11912,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$Guardianinvitations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11764,11 +11969,11 @@ export namespace classroom_v1 { patch( params: Params$Resource$Userprofiles$Guardianinvitations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Userprofiles$Guardianinvitations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Userprofiles$Guardianinvitations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11799,8 +12004,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$Guardianinvitations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11929,11 +12134,11 @@ export namespace classroom_v1 { delete( params: Params$Resource$Userprofiles$Guardians$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Userprofiles$Guardians$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Userprofiles$Guardians$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11962,7 +12167,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$Guardians$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12016,11 +12224,11 @@ export namespace classroom_v1 { get( params: Params$Resource$Userprofiles$Guardians$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userprofiles$Guardians$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userprofiles$Guardians$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12049,7 +12257,10 @@ export namespace classroom_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$Guardians$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12103,11 +12314,11 @@ export namespace classroom_v1 { list( params: Params$Resource$Userprofiles$Guardians$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userprofiles$Guardians$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userprofiles$Guardians$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12140,8 +12351,8 @@ export namespace classroom_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$Guardians$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudasset/index.ts b/src/apis/cloudasset/index.ts index c0e47c232fe..34aef124035 100644 --- a/src/apis/cloudasset/index.ts +++ b/src/apis/cloudasset/index.ts @@ -103,7 +103,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudasset/package.json b/src/apis/cloudasset/package.json index a6319d5a260..136cbb8f52b 100644 --- a/src/apis/cloudasset/package.json +++ b/src/apis/cloudasset/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudasset/v1.ts b/src/apis/cloudasset/v1.ts index 762c5da1b43..b46b997a0ee 100644 --- a/src/apis/cloudasset/v1.ts +++ b/src/apis/cloudasset/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2843,11 +2843,11 @@ export namespace cloudasset_v1 { list( params: Params$Resource$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2878,8 +2878,8 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2971,11 +2971,13 @@ export namespace cloudasset_v1 { batchGet( params: Params$Resource$Effectiveiampolicies$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Effectiveiampolicies$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Effectiveiampolicies$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -3010,8 +3012,10 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Effectiveiampolicies$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3086,11 +3090,11 @@ export namespace cloudasset_v1 { create( params: Params$Resource$Feeds$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Feeds$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Feeds$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3119,7 +3123,10 @@ export namespace cloudasset_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Feeds$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3173,11 +3180,11 @@ export namespace cloudasset_v1 { delete( params: Params$Resource$Feeds$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Feeds$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Feeds$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3206,7 +3213,10 @@ export namespace cloudasset_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Feeds$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3257,11 +3267,11 @@ export namespace cloudasset_v1 { get( params: Params$Resource$Feeds$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Feeds$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Feeds$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3290,7 +3300,10 @@ export namespace cloudasset_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Feeds$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3341,11 +3354,11 @@ export namespace cloudasset_v1 { list( params: Params$Resource$Feeds$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Feeds$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Feeds$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3376,8 +3389,8 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Feeds$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3431,11 +3444,11 @@ export namespace cloudasset_v1 { patch( params: Params$Resource$Feeds$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Feeds$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Feeds$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3464,7 +3477,10 @@ export namespace cloudasset_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Feeds$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3563,11 +3579,11 @@ export namespace cloudasset_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3596,7 +3612,10 @@ export namespace cloudasset_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3661,11 +3680,11 @@ export namespace cloudasset_v1 { create( params: Params$Resource$Savedqueries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Savedqueries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Savedqueries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3694,7 +3713,10 @@ export namespace cloudasset_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Savedqueries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3749,11 +3771,11 @@ export namespace cloudasset_v1 { delete( params: Params$Resource$Savedqueries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Savedqueries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Savedqueries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3782,7 +3804,10 @@ export namespace cloudasset_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Savedqueries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3834,11 +3859,11 @@ export namespace cloudasset_v1 { get( params: Params$Resource$Savedqueries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Savedqueries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Savedqueries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3867,7 +3892,10 @@ export namespace cloudasset_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Savedqueries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3918,11 +3946,11 @@ export namespace cloudasset_v1 { list( params: Params$Resource$Savedqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Savedqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Savedqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3955,8 +3983,8 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Savedqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4011,11 +4039,11 @@ export namespace cloudasset_v1 { patch( params: Params$Resource$Savedqueries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Savedqueries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Savedqueries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4044,7 +4072,10 @@ export namespace cloudasset_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Savedqueries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4168,11 +4199,11 @@ export namespace cloudasset_v1 { analyzeIamPolicy( params: Params$Resource$V1$Analyzeiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeIamPolicy( params?: Params$Resource$V1$Analyzeiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeIamPolicy( params: Params$Resource$V1$Analyzeiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4207,8 +4238,8 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Analyzeiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4263,11 +4294,11 @@ export namespace cloudasset_v1 { analyzeIamPolicyLongrunning( params: Params$Resource$V1$Analyzeiampolicylongrunning, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeIamPolicyLongrunning( params?: Params$Resource$V1$Analyzeiampolicylongrunning, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeIamPolicyLongrunning( params: Params$Resource$V1$Analyzeiampolicylongrunning, options: StreamMethodOptions | BodyResponseCallback, @@ -4298,7 +4329,10 @@ export namespace cloudasset_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Analyzeiampolicylongrunning; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4353,11 +4387,11 @@ export namespace cloudasset_v1 { analyzeMove( params: Params$Resource$V1$Analyzemove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeMove( params?: Params$Resource$V1$Analyzemove, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeMove( params: Params$Resource$V1$Analyzemove, options: StreamMethodOptions | BodyResponseCallback, @@ -4390,8 +4424,8 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Analyzemove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4445,11 +4479,11 @@ export namespace cloudasset_v1 { analyzeOrgPolicies( params: Params$Resource$V1$Analyzeorgpolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeOrgPolicies( params?: Params$Resource$V1$Analyzeorgpolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeOrgPolicies( params: Params$Resource$V1$Analyzeorgpolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -4484,8 +4518,8 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Analyzeorgpolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4540,11 +4574,13 @@ export namespace cloudasset_v1 { analyzeOrgPolicyGovernedAssets( params: Params$Resource$V1$Analyzeorgpolicygovernedassets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeOrgPolicyGovernedAssets( params?: Params$Resource$V1$Analyzeorgpolicygovernedassets, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; analyzeOrgPolicyGovernedAssets( params: Params$Resource$V1$Analyzeorgpolicygovernedassets, options: StreamMethodOptions | BodyResponseCallback, @@ -4579,8 +4615,10 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Analyzeorgpolicygovernedassets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4636,11 +4674,13 @@ export namespace cloudasset_v1 { analyzeOrgPolicyGovernedContainers( params: Params$Resource$V1$Analyzeorgpolicygovernedcontainers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeOrgPolicyGovernedContainers( params?: Params$Resource$V1$Analyzeorgpolicygovernedcontainers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; analyzeOrgPolicyGovernedContainers( params: Params$Resource$V1$Analyzeorgpolicygovernedcontainers, options: StreamMethodOptions | BodyResponseCallback, @@ -4675,8 +4715,10 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Analyzeorgpolicygovernedcontainers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4732,11 +4774,11 @@ export namespace cloudasset_v1 { batchGetAssetsHistory( params: Params$Resource$V1$Batchgetassetshistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGetAssetsHistory( params?: Params$Resource$V1$Batchgetassetshistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGetAssetsHistory( params: Params$Resource$V1$Batchgetassetshistory, options: StreamMethodOptions | BodyResponseCallback, @@ -4771,8 +4813,8 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Batchgetassetshistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4829,11 +4871,11 @@ export namespace cloudasset_v1 { exportAssets( params: Params$Resource$V1$Exportassets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportAssets( params?: Params$Resource$V1$Exportassets, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportAssets( params: Params$Resource$V1$Exportassets, options: StreamMethodOptions | BodyResponseCallback, @@ -4862,7 +4904,10 @@ export namespace cloudasset_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Exportassets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4916,11 +4961,11 @@ export namespace cloudasset_v1 { queryAssets( params: Params$Resource$V1$Queryassets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryAssets( params?: Params$Resource$V1$Queryassets, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryAssets( params: Params$Resource$V1$Queryassets, options: StreamMethodOptions | BodyResponseCallback, @@ -4953,8 +4998,8 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Queryassets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5008,11 +5053,11 @@ export namespace cloudasset_v1 { searchAllIamPolicies( params: Params$Resource$V1$Searchalliampolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchAllIamPolicies( params?: Params$Resource$V1$Searchalliampolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchAllIamPolicies( params: Params$Resource$V1$Searchalliampolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -5047,8 +5092,8 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Searchalliampolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5105,11 +5150,11 @@ export namespace cloudasset_v1 { searchAllResources( params: Params$Resource$V1$Searchallresources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchAllResources( params?: Params$Resource$V1$Searchallresources, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchAllResources( params: Params$Resource$V1$Searchallresources, options: StreamMethodOptions | BodyResponseCallback, @@ -5144,8 +5189,8 @@ export namespace cloudasset_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Searchallresources; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudasset/v1beta1.ts b/src/apis/cloudasset/v1beta1.ts index 0a8a91f98cd..20dc4daad63 100644 --- a/src/apis/cloudasset/v1beta1.ts +++ b/src/apis/cloudasset/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1054,11 +1054,11 @@ export namespace cloudasset_v1beta1 { exportAssets( params: Params$Resource$Folders$Exportassets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportAssets( params?: Params$Resource$Folders$Exportassets, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportAssets( params: Params$Resource$Folders$Exportassets, options: StreamMethodOptions | BodyResponseCallback, @@ -1087,7 +1087,10 @@ export namespace cloudasset_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Exportassets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1162,11 +1165,11 @@ export namespace cloudasset_v1beta1 { get( params: Params$Resource$Folders$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1195,7 +1198,10 @@ export namespace cloudasset_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1264,11 +1270,11 @@ export namespace cloudasset_v1beta1 { batchGetAssetsHistory( params: Params$Resource$Organizations$Batchgetassetshistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGetAssetsHistory( params?: Params$Resource$Organizations$Batchgetassetshistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGetAssetsHistory( params: Params$Resource$Organizations$Batchgetassetshistory, options: StreamMethodOptions | BodyResponseCallback, @@ -1303,8 +1309,8 @@ export namespace cloudasset_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Batchgetassetshistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1361,11 +1367,11 @@ export namespace cloudasset_v1beta1 { exportAssets( params: Params$Resource$Organizations$Exportassets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportAssets( params?: Params$Resource$Organizations$Exportassets, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportAssets( params: Params$Resource$Organizations$Exportassets, options: StreamMethodOptions | BodyResponseCallback, @@ -1394,7 +1400,10 @@ export namespace cloudasset_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Exportassets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1492,11 +1501,11 @@ export namespace cloudasset_v1beta1 { get( params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1525,7 +1534,10 @@ export namespace cloudasset_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1594,11 +1606,11 @@ export namespace cloudasset_v1beta1 { batchGetAssetsHistory( params: Params$Resource$Projects$Batchgetassetshistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGetAssetsHistory( params?: Params$Resource$Projects$Batchgetassetshistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGetAssetsHistory( params: Params$Resource$Projects$Batchgetassetshistory, options: StreamMethodOptions | BodyResponseCallback, @@ -1633,8 +1645,8 @@ export namespace cloudasset_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Batchgetassetshistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1691,11 +1703,11 @@ export namespace cloudasset_v1beta1 { exportAssets( params: Params$Resource$Projects$Exportassets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportAssets( params?: Params$Resource$Projects$Exportassets, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportAssets( params: Params$Resource$Projects$Exportassets, options: StreamMethodOptions | BodyResponseCallback, @@ -1724,7 +1736,10 @@ export namespace cloudasset_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Exportassets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1822,11 +1837,11 @@ export namespace cloudasset_v1beta1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1855,7 +1870,10 @@ export namespace cloudasset_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudasset/v1p1beta1.ts b/src/apis/cloudasset/v1p1beta1.ts index e5e730c1241..b096cf663d8 100644 --- a/src/apis/cloudasset/v1p1beta1.ts +++ b/src/apis/cloudasset/v1p1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -966,11 +966,11 @@ export namespace cloudasset_v1p1beta1 { searchAll( params: Params$Resource$Iampolicies$Searchall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchAll( params?: Params$Resource$Iampolicies$Searchall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchAll( params: Params$Resource$Iampolicies$Searchall, options: StreamMethodOptions | BodyResponseCallback, @@ -1005,8 +1005,8 @@ export namespace cloudasset_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Iampolicies$Searchall; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1089,11 +1089,11 @@ export namespace cloudasset_v1p1beta1 { searchAll( params: Params$Resource$Resources$Searchall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchAll( params?: Params$Resource$Resources$Searchall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchAll( params: Params$Resource$Resources$Searchall, options: StreamMethodOptions | BodyResponseCallback, @@ -1128,8 +1128,8 @@ export namespace cloudasset_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Searchall; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudasset/v1p4beta1.ts b/src/apis/cloudasset/v1p4beta1.ts index dd750b2c146..91f6ae0557f 100644 --- a/src/apis/cloudasset/v1p4beta1.ts +++ b/src/apis/cloudasset/v1p4beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1175,11 +1175,11 @@ export namespace cloudasset_v1p4beta1 { analyzeIamPolicy( params: Params$Resource$V1p4beta1$Analyzeiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeIamPolicy( params?: Params$Resource$V1p4beta1$Analyzeiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeIamPolicy( params: Params$Resource$V1p4beta1$Analyzeiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1214,8 +1214,8 @@ export namespace cloudasset_v1p4beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1p4beta1$Analyzeiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1325,11 +1325,11 @@ export namespace cloudasset_v1p4beta1 { exportIamPolicyAnalysis( params: Params$Resource$V1p4beta1$Exportiampolicyanalysis, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportIamPolicyAnalysis( params?: Params$Resource$V1p4beta1$Exportiampolicyanalysis, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportIamPolicyAnalysis( params: Params$Resource$V1p4beta1$Exportiampolicyanalysis, options: StreamMethodOptions | BodyResponseCallback, @@ -1360,7 +1360,7 @@ export namespace cloudasset_v1p4beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1p4beta1$Exportiampolicyanalysis; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudasset/v1p5beta1.ts b/src/apis/cloudasset/v1p5beta1.ts index 39fee3727d7..a7b434eb95b 100644 --- a/src/apis/cloudasset/v1p5beta1.ts +++ b/src/apis/cloudasset/v1p5beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -945,11 +945,11 @@ export namespace cloudasset_v1p5beta1 { list( params: Params$Resource$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -980,8 +980,8 @@ export namespace cloudasset_v1p5beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudasset/v1p7beta1.ts b/src/apis/cloudasset/v1p7beta1.ts index 120243557bb..754981cb617 100644 --- a/src/apis/cloudasset/v1p7beta1.ts +++ b/src/apis/cloudasset/v1p7beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -987,11 +987,11 @@ export namespace cloudasset_v1p7beta1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1020,7 +1020,10 @@ export namespace cloudasset_v1p7beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1085,11 +1088,11 @@ export namespace cloudasset_v1p7beta1 { exportAssets( params: Params$Resource$V1p7beta1$Exportassets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportAssets( params?: Params$Resource$V1p7beta1$Exportassets, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportAssets( params: Params$Resource$V1p7beta1$Exportassets, options: StreamMethodOptions | BodyResponseCallback, @@ -1118,7 +1121,10 @@ export namespace cloudasset_v1p7beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1p7beta1$Exportassets; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudbilling/index.ts b/src/apis/cloudbilling/index.ts index aeeea2f8b61..46e8f6bb128 100644 --- a/src/apis/cloudbilling/index.ts +++ b/src/apis/cloudbilling/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudbilling/package.json b/src/apis/cloudbilling/package.json index e1a084a9e70..1ea355a8631 100644 --- a/src/apis/cloudbilling/package.json +++ b/src/apis/cloudbilling/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudbilling/v1.ts b/src/apis/cloudbilling/v1.ts index f31df20a635..3cb8e4042ce 100644 --- a/src/apis/cloudbilling/v1.ts +++ b/src/apis/cloudbilling/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -570,11 +570,11 @@ export namespace cloudbilling_v1 { create( params: Params$Resource$Billingaccounts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Billingaccounts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Billingaccounts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -603,7 +603,10 @@ export namespace cloudbilling_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -658,11 +661,11 @@ export namespace cloudbilling_v1 { get( params: Params$Resource$Billingaccounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billingaccounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -691,7 +694,10 @@ export namespace cloudbilling_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -743,11 +749,11 @@ export namespace cloudbilling_v1 { getIamPolicy( params: Params$Resource$Billingaccounts$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Billingaccounts$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Billingaccounts$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -776,7 +782,10 @@ export namespace cloudbilling_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -831,11 +840,11 @@ export namespace cloudbilling_v1 { list( params: Params$Resource$Billingaccounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -870,8 +879,8 @@ export namespace cloudbilling_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -926,11 +935,11 @@ export namespace cloudbilling_v1 { move( params: Params$Resource$Billingaccounts$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Billingaccounts$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Billingaccounts$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -959,7 +968,10 @@ export namespace cloudbilling_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1011,11 +1023,11 @@ export namespace cloudbilling_v1 { patch( params: Params$Resource$Billingaccounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Billingaccounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Billingaccounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1044,7 +1056,10 @@ export namespace cloudbilling_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1096,11 +1111,11 @@ export namespace cloudbilling_v1 { setIamPolicy( params: Params$Resource$Billingaccounts$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Billingaccounts$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Billingaccounts$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1129,7 +1144,10 @@ export namespace cloudbilling_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1184,11 +1202,11 @@ export namespace cloudbilling_v1 { testIamPermissions( params: Params$Resource$Billingaccounts$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Billingaccounts$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Billingaccounts$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1223,8 +1241,8 @@ export namespace cloudbilling_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1388,11 +1406,11 @@ export namespace cloudbilling_v1 { list( params: Params$Resource$Billingaccounts$Projects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Projects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Projects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1427,8 +1445,8 @@ export namespace cloudbilling_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Projects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1508,11 +1526,11 @@ export namespace cloudbilling_v1 { create( params: Params$Resource$Billingaccounts$Subaccounts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Billingaccounts$Subaccounts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Billingaccounts$Subaccounts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1541,7 +1559,10 @@ export namespace cloudbilling_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Subaccounts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1596,11 +1617,11 @@ export namespace cloudbilling_v1 { list( params: Params$Resource$Billingaccounts$Subaccounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Subaccounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Subaccounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1635,8 +1656,8 @@ export namespace cloudbilling_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Subaccounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1741,11 +1762,11 @@ export namespace cloudbilling_v1 { create( params: Params$Resource$Organizations$Billingaccounts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Billingaccounts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Billingaccounts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1774,7 +1795,10 @@ export namespace cloudbilling_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Billingaccounts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1829,11 +1853,11 @@ export namespace cloudbilling_v1 { list( params: Params$Resource$Organizations$Billingaccounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Billingaccounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Billingaccounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1868,8 +1892,8 @@ export namespace cloudbilling_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Billingaccounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1924,11 +1948,11 @@ export namespace cloudbilling_v1 { move( params: Params$Resource$Organizations$Billingaccounts$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Organizations$Billingaccounts$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Organizations$Billingaccounts$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -1957,7 +1981,10 @@ export namespace cloudbilling_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Billingaccounts$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2062,11 +2089,11 @@ export namespace cloudbilling_v1 { getBillingInfo( params: Params$Resource$Projects$Getbillinginfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getBillingInfo( params?: Params$Resource$Projects$Getbillinginfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getBillingInfo( params: Params$Resource$Projects$Getbillinginfo, options: StreamMethodOptions | BodyResponseCallback, @@ -2099,8 +2126,8 @@ export namespace cloudbilling_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getbillinginfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2155,11 +2182,11 @@ export namespace cloudbilling_v1 { updateBillingInfo( params: Params$Resource$Projects$Updatebillinginfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateBillingInfo( params?: Params$Resource$Projects$Updatebillinginfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateBillingInfo( params: Params$Resource$Projects$Updatebillinginfo, options: StreamMethodOptions | BodyResponseCallback, @@ -2192,8 +2219,8 @@ export namespace cloudbilling_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatebillinginfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2277,11 +2304,11 @@ export namespace cloudbilling_v1 { list( params: Params$Resource$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2314,8 +2341,8 @@ export namespace cloudbilling_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2384,11 +2411,11 @@ export namespace cloudbilling_v1 { list( params: Params$Resource$Services$Skus$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Skus$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$Skus$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2417,7 +2444,10 @@ export namespace cloudbilling_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Skus$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudbilling/v1beta.ts b/src/apis/cloudbilling/v1beta.ts index cb9e5233939..1d6ef5f246c 100644 --- a/src/apis/cloudbilling/v1beta.ts +++ b/src/apis/cloudbilling/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1628,11 +1628,13 @@ export namespace cloudbilling_v1beta { estimateCostScenario( params: Params$Resource$Billingaccounts$Estimatecostscenario, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; estimateCostScenario( params?: Params$Resource$Billingaccounts$Estimatecostscenario, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; estimateCostScenario( params: Params$Resource$Billingaccounts$Estimatecostscenario, options: StreamMethodOptions | BodyResponseCallback, @@ -1667,8 +1669,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Estimatecostscenario; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1744,11 +1748,13 @@ export namespace cloudbilling_v1beta { get( params: Params$Resource$Billingaccounts$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Billingaccounts$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1783,8 +1789,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1838,11 +1846,13 @@ export namespace cloudbilling_v1beta { list( params: Params$Resource$Billingaccounts$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1877,8 +1887,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1967,11 +1979,13 @@ export namespace cloudbilling_v1beta { get( params: Params$Resource$Billingaccounts$Skugroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Skugroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Billingaccounts$Skugroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2006,8 +2020,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Skugroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2061,11 +2077,13 @@ export namespace cloudbilling_v1beta { list( params: Params$Resource$Billingaccounts$Skugroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Skugroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Skugroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2100,8 +2118,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Skugroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2188,11 +2208,13 @@ export namespace cloudbilling_v1beta { get( params: Params$Resource$Billingaccounts$Skugroups$Skus$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Skugroups$Skus$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Billingaccounts$Skugroups$Skus$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2227,8 +2249,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Skugroups$Skus$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2282,11 +2306,13 @@ export namespace cloudbilling_v1beta { list( params: Params$Resource$Billingaccounts$Skugroups$Skus$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Skugroups$Skus$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Skugroups$Skus$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2321,8 +2347,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Skugroups$Skus$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2413,11 +2441,13 @@ export namespace cloudbilling_v1beta { get( params: Params$Resource$Billingaccounts$Skus$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Skus$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Billingaccounts$Skus$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2452,8 +2482,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Skus$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2507,11 +2539,13 @@ export namespace cloudbilling_v1beta { list( params: Params$Resource$Billingaccounts$Skus$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Skus$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Skus$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2546,8 +2580,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Skus$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2638,11 +2674,13 @@ export namespace cloudbilling_v1beta { get( params: Params$Resource$Billingaccounts$Skus$Price$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Skus$Price$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Billingaccounts$Skus$Price$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2677,8 +2715,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Skus$Price$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2751,11 +2791,13 @@ export namespace cloudbilling_v1beta { list( params: Params$Resource$Billingaccounts$Skus$Prices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Skus$Prices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Skus$Prices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2790,8 +2832,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Skus$Prices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2877,11 +2921,13 @@ export namespace cloudbilling_v1beta { get( params: Params$Resource$Skugroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Skugroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Skugroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2916,8 +2962,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Skugroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2970,11 +3018,13 @@ export namespace cloudbilling_v1beta { list( params: Params$Resource$Skugroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Skugroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Skugroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3009,8 +3059,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Skugroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3087,11 +3139,13 @@ export namespace cloudbilling_v1beta { get( params: Params$Resource$Skugroups$Skus$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Skugroups$Skus$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Skugroups$Skus$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3126,8 +3180,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Skugroups$Skus$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3181,11 +3237,13 @@ export namespace cloudbilling_v1beta { list( params: Params$Resource$Skugroups$Skus$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Skugroups$Skus$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Skugroups$Skus$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3220,8 +3278,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Skugroups$Skus$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3319,11 +3379,13 @@ export namespace cloudbilling_v1beta { get( params: Params$Resource$Skus$Price$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Skus$Price$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Skus$Price$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3358,8 +3420,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Skus$Price$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3430,11 +3494,13 @@ export namespace cloudbilling_v1beta { list( params: Params$Resource$Skus$Prices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Skus$Prices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Skus$Prices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3469,8 +3535,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Skus$Prices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3552,11 +3620,13 @@ export namespace cloudbilling_v1beta { estimateCostScenario( params: Params$Resource$V1beta$Estimatecostscenario, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; estimateCostScenario( params?: Params$Resource$V1beta$Estimatecostscenario, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; estimateCostScenario( params: Params$Resource$V1beta$Estimatecostscenario, options: StreamMethodOptions | BodyResponseCallback, @@ -3591,8 +3661,10 @@ export namespace cloudbilling_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1beta$Estimatecostscenario; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudbuild/index.ts b/src/apis/cloudbuild/index.ts index d0ed8e0b249..07cec27bbf2 100644 --- a/src/apis/cloudbuild/index.ts +++ b/src/apis/cloudbuild/index.ts @@ -85,7 +85,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudbuild/package.json b/src/apis/cloudbuild/package.json index 9052d354426..72eb9dfacd9 100644 --- a/src/apis/cloudbuild/package.json +++ b/src/apis/cloudbuild/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudbuild/v1.ts b/src/apis/cloudbuild/v1.ts index 3819a762bd8..9c929404a3c 100644 --- a/src/apis/cloudbuild/v1.ts +++ b/src/apis/cloudbuild/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2552,11 +2552,11 @@ export namespace cloudbuild_v1 { receive( params: Params$Resource$Githubdotcomwebhook$Receive, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; receive( params?: Params$Resource$Githubdotcomwebhook$Receive, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; receive( params: Params$Resource$Githubdotcomwebhook$Receive, options: StreamMethodOptions | BodyResponseCallback, @@ -2585,7 +2585,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Githubdotcomwebhook$Receive; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2660,11 +2663,11 @@ export namespace cloudbuild_v1 { regionalWebhook( params: Params$Resource$Locations$Regionalwebhook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; regionalWebhook( params?: Params$Resource$Locations$Regionalwebhook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; regionalWebhook( params: Params$Resource$Locations$Regionalwebhook, options: StreamMethodOptions | BodyResponseCallback, @@ -2693,7 +2696,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Regionalwebhook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2772,11 +2778,11 @@ export namespace cloudbuild_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2805,7 +2811,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2857,11 +2866,11 @@ export namespace cloudbuild_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2890,7 +2899,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2983,11 +2995,11 @@ export namespace cloudbuild_v1 { approve( params: Params$Resource$Projects$Builds$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Projects$Builds$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Projects$Builds$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -3016,7 +3028,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Builds$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3071,11 +3086,11 @@ export namespace cloudbuild_v1 { cancel( params: Params$Resource$Projects$Builds$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Builds$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Builds$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3104,7 +3119,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Builds$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3158,11 +3176,11 @@ export namespace cloudbuild_v1 { create( params: Params$Resource$Projects$Builds$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Builds$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Builds$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3191,7 +3209,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Builds$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3246,11 +3267,11 @@ export namespace cloudbuild_v1 { get( params: Params$Resource$Projects$Builds$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Builds$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Builds$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3279,7 +3300,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Builds$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3334,11 +3358,11 @@ export namespace cloudbuild_v1 { list( params: Params$Resource$Projects$Builds$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Builds$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Builds$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3369,8 +3393,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Builds$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3425,11 +3449,11 @@ export namespace cloudbuild_v1 { retry( params: Params$Resource$Projects$Builds$Retry, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retry( params?: Params$Resource$Projects$Builds$Retry, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retry( params: Params$Resource$Projects$Builds$Retry, options: StreamMethodOptions | BodyResponseCallback, @@ -3458,7 +3482,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Builds$Retry; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3618,11 +3645,11 @@ export namespace cloudbuild_v1 { create( params: Params$Resource$Projects$Githubenterpriseconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Githubenterpriseconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Githubenterpriseconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3651,7 +3678,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Githubenterpriseconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3706,11 +3736,11 @@ export namespace cloudbuild_v1 { delete( params: Params$Resource$Projects$Githubenterpriseconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Githubenterpriseconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Githubenterpriseconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3739,7 +3769,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Githubenterpriseconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3791,11 +3824,11 @@ export namespace cloudbuild_v1 { get( params: Params$Resource$Projects$Githubenterpriseconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Githubenterpriseconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Githubenterpriseconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3828,8 +3861,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Githubenterpriseconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3881,11 +3914,13 @@ export namespace cloudbuild_v1 { list( params: Params$Resource$Projects$Githubenterpriseconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Githubenterpriseconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Githubenterpriseconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3920,8 +3955,10 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Githubenterpriseconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3978,11 +4015,11 @@ export namespace cloudbuild_v1 { patch( params: Params$Resource$Projects$Githubenterpriseconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Githubenterpriseconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Githubenterpriseconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4011,7 +4048,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Githubenterpriseconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4170,11 +4210,11 @@ export namespace cloudbuild_v1 { getDefaultServiceAccount( params: Params$Resource$Projects$Locations$Getdefaultserviceaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDefaultServiceAccount( params?: Params$Resource$Projects$Locations$Getdefaultserviceaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getDefaultServiceAccount( params: Params$Resource$Projects$Locations$Getdefaultserviceaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -4209,8 +4249,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getdefaultserviceaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4287,11 +4327,11 @@ export namespace cloudbuild_v1 { create( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4320,7 +4360,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Bitbucketserverconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4376,11 +4419,11 @@ export namespace cloudbuild_v1 { delete( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4409,7 +4452,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Bitbucketserverconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4462,11 +4508,11 @@ export namespace cloudbuild_v1 { get( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4499,8 +4545,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Bitbucketserverconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4553,11 +4599,13 @@ export namespace cloudbuild_v1 { list( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Bitbucketserverconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4592,8 +4640,10 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Bitbucketserverconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4651,11 +4701,11 @@ export namespace cloudbuild_v1 { patch( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4684,7 +4734,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Bitbucketserverconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4737,11 +4790,11 @@ export namespace cloudbuild_v1 { removeBitbucketServerConnectedRepository( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Removebitbucketserverconnectedrepository, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeBitbucketServerConnectedRepository( params?: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Removebitbucketserverconnectedrepository, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeBitbucketServerConnectedRepository( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Removebitbucketserverconnectedrepository, options: StreamMethodOptions | BodyResponseCallback, @@ -4772,7 +4825,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Bitbucketserverconfigs$Removebitbucketserverconnectedrepository; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4908,11 +4964,11 @@ export namespace cloudbuild_v1 { batchCreate( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Connectedrepositories$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Connectedrepositories$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Connectedrepositories$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -4941,7 +4997,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Bitbucketserverconfigs$Connectedrepositories$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5016,11 +5075,13 @@ export namespace cloudbuild_v1 { list( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Repos$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Repos$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Bitbucketserverconfigs$Repos$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5055,8 +5116,10 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Bitbucketserverconfigs$Repos$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5137,11 +5200,11 @@ export namespace cloudbuild_v1 { approve( params: Params$Resource$Projects$Locations$Builds$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Projects$Locations$Builds$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Projects$Locations$Builds$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -5170,7 +5233,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Builds$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5225,11 +5291,11 @@ export namespace cloudbuild_v1 { cancel( params: Params$Resource$Projects$Locations$Builds$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Builds$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Builds$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -5258,7 +5324,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Builds$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5310,11 +5379,11 @@ export namespace cloudbuild_v1 { create( params: Params$Resource$Projects$Locations$Builds$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Builds$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Builds$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5343,7 +5412,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Builds$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5398,11 +5470,11 @@ export namespace cloudbuild_v1 { get( params: Params$Resource$Projects$Locations$Builds$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Builds$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Builds$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5431,7 +5503,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Builds$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5483,11 +5558,11 @@ export namespace cloudbuild_v1 { list( params: Params$Resource$Projects$Locations$Builds$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Builds$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Builds$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5518,8 +5593,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Builds$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5574,11 +5649,11 @@ export namespace cloudbuild_v1 { retry( params: Params$Resource$Projects$Locations$Builds$Retry, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retry( params?: Params$Resource$Projects$Locations$Builds$Retry, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retry( params: Params$Resource$Projects$Locations$Builds$Retry, options: StreamMethodOptions | BodyResponseCallback, @@ -5607,7 +5682,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Builds$Retry; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5757,11 +5835,11 @@ export namespace cloudbuild_v1 { create( params: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5790,7 +5868,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Githubenterpriseconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5846,11 +5927,11 @@ export namespace cloudbuild_v1 { delete( params: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5879,7 +5960,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Githubenterpriseconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5932,11 +6016,11 @@ export namespace cloudbuild_v1 { get( params: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5969,8 +6053,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Githubenterpriseconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6023,11 +6107,13 @@ export namespace cloudbuild_v1 { list( params: Params$Resource$Projects$Locations$Githubenterpriseconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Githubenterpriseconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Githubenterpriseconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6062,8 +6148,10 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Githubenterpriseconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6121,11 +6209,11 @@ export namespace cloudbuild_v1 { patch( params: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Githubenterpriseconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6154,7 +6242,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Githubenterpriseconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6301,11 +6392,11 @@ export namespace cloudbuild_v1 { create( params: Params$Resource$Projects$Locations$Gitlabconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Gitlabconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Gitlabconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6334,7 +6425,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gitlabconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6389,11 +6483,11 @@ export namespace cloudbuild_v1 { delete( params: Params$Resource$Projects$Locations$Gitlabconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Gitlabconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Gitlabconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6422,7 +6516,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gitlabconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6474,11 +6571,11 @@ export namespace cloudbuild_v1 { get( params: Params$Resource$Projects$Locations$Gitlabconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Gitlabconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Gitlabconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6507,7 +6604,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gitlabconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6559,11 +6659,11 @@ export namespace cloudbuild_v1 { list( params: Params$Resource$Projects$Locations$Gitlabconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gitlabconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Gitlabconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6598,8 +6698,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gitlabconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6654,11 +6754,11 @@ export namespace cloudbuild_v1 { patch( params: Params$Resource$Projects$Locations$Gitlabconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Gitlabconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Gitlabconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6687,7 +6787,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gitlabconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6739,11 +6842,11 @@ export namespace cloudbuild_v1 { removeGitLabConnectedRepository( params: Params$Resource$Projects$Locations$Gitlabconfigs$Removegitlabconnectedrepository, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeGitLabConnectedRepository( params?: Params$Resource$Projects$Locations$Gitlabconfigs$Removegitlabconnectedrepository, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeGitLabConnectedRepository( params: Params$Resource$Projects$Locations$Gitlabconfigs$Removegitlabconnectedrepository, options: StreamMethodOptions | BodyResponseCallback, @@ -6774,7 +6877,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gitlabconfigs$Removegitlabconnectedrepository; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6910,11 +7016,11 @@ export namespace cloudbuild_v1 { batchCreate( params: Params$Resource$Projects$Locations$Gitlabconfigs$Connectedrepositories$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Gitlabconfigs$Connectedrepositories$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Gitlabconfigs$Connectedrepositories$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -6943,7 +7049,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gitlabconfigs$Connectedrepositories$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7018,11 +7127,11 @@ export namespace cloudbuild_v1 { list( params: Params$Resource$Projects$Locations$Gitlabconfigs$Repos$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gitlabconfigs$Repos$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Gitlabconfigs$Repos$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7057,8 +7166,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gitlabconfigs$Repos$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7139,11 +7248,11 @@ export namespace cloudbuild_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7172,7 +7281,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7224,11 +7336,11 @@ export namespace cloudbuild_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7257,7 +7369,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7336,11 +7451,11 @@ export namespace cloudbuild_v1 { create( params: Params$Resource$Projects$Locations$Triggers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Triggers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Triggers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7369,7 +7484,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7424,11 +7542,11 @@ export namespace cloudbuild_v1 { delete( params: Params$Resource$Projects$Locations$Triggers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Triggers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Triggers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7457,7 +7575,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7509,11 +7630,11 @@ export namespace cloudbuild_v1 { get( params: Params$Resource$Projects$Locations$Triggers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Triggers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Triggers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7542,7 +7663,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7594,11 +7718,11 @@ export namespace cloudbuild_v1 { list( params: Params$Resource$Projects$Locations$Triggers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Triggers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Triggers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7633,8 +7757,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7689,11 +7813,11 @@ export namespace cloudbuild_v1 { patch( params: Params$Resource$Projects$Locations$Triggers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Triggers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Triggers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7722,7 +7846,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7777,11 +7904,11 @@ export namespace cloudbuild_v1 { run( params: Params$Resource$Projects$Locations$Triggers$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Triggers$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Triggers$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -7810,7 +7937,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7862,11 +7992,11 @@ export namespace cloudbuild_v1 { webhook( params: Params$Resource$Projects$Locations$Triggers$Webhook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; webhook( params?: Params$Resource$Projects$Locations$Triggers$Webhook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; webhook( params: Params$Resource$Projects$Locations$Triggers$Webhook, options: StreamMethodOptions | BodyResponseCallback, @@ -7901,8 +8031,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Webhook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8092,11 +8222,11 @@ export namespace cloudbuild_v1 { create( params: Params$Resource$Projects$Locations$Workerpools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workerpools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workerpools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8125,7 +8255,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8180,11 +8313,11 @@ export namespace cloudbuild_v1 { delete( params: Params$Resource$Projects$Locations$Workerpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workerpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workerpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8213,7 +8346,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8265,11 +8401,11 @@ export namespace cloudbuild_v1 { get( params: Params$Resource$Projects$Locations$Workerpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workerpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workerpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8298,7 +8434,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8350,11 +8489,11 @@ export namespace cloudbuild_v1 { list( params: Params$Resource$Projects$Locations$Workerpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workerpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workerpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8387,8 +8526,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8443,11 +8582,11 @@ export namespace cloudbuild_v1 { patch( params: Params$Resource$Projects$Locations$Workerpools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workerpools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workerpools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8476,7 +8615,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8617,11 +8759,11 @@ export namespace cloudbuild_v1 { create( params: Params$Resource$Projects$Triggers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Triggers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Triggers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8650,7 +8792,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Triggers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8705,11 +8850,11 @@ export namespace cloudbuild_v1 { delete( params: Params$Resource$Projects$Triggers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Triggers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Triggers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8738,7 +8883,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Triggers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8792,11 +8940,11 @@ export namespace cloudbuild_v1 { get( params: Params$Resource$Projects$Triggers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Triggers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Triggers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8825,7 +8973,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Triggers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8879,11 +9030,11 @@ export namespace cloudbuild_v1 { list( params: Params$Resource$Projects$Triggers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Triggers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Triggers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8918,8 +9069,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Triggers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8974,11 +9125,11 @@ export namespace cloudbuild_v1 { patch( params: Params$Resource$Projects$Triggers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Triggers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Triggers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9007,7 +9158,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Triggers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9061,11 +9215,11 @@ export namespace cloudbuild_v1 { run( params: Params$Resource$Projects$Triggers$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Triggers$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Triggers$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -9094,7 +9248,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Triggers$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9148,11 +9305,11 @@ export namespace cloudbuild_v1 { webhook( params: Params$Resource$Projects$Triggers$Webhook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; webhook( params?: Params$Resource$Projects$Triggers$Webhook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; webhook( params: Params$Resource$Projects$Triggers$Webhook, options: StreamMethodOptions | BodyResponseCallback, @@ -9187,8 +9344,8 @@ export namespace cloudbuild_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Triggers$Webhook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9381,11 +9538,11 @@ export namespace cloudbuild_v1 { webhook( params: Params$Resource$V1$Webhook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; webhook( params?: Params$Resource$V1$Webhook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; webhook( params: Params$Resource$V1$Webhook, options: StreamMethodOptions | BodyResponseCallback, @@ -9414,7 +9571,10 @@ export namespace cloudbuild_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Webhook; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudbuild/v1alpha1.ts b/src/apis/cloudbuild/v1alpha1.ts index 988bea14e7b..60ca2c109ea 100644 --- a/src/apis/cloudbuild/v1alpha1.ts +++ b/src/apis/cloudbuild/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1699,11 +1699,11 @@ export namespace cloudbuild_v1alpha1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1732,7 +1732,7 @@ export namespace cloudbuild_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1832,11 +1832,11 @@ export namespace cloudbuild_v1alpha1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1865,7 +1865,7 @@ export namespace cloudbuild_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2011,11 +2011,11 @@ export namespace cloudbuild_v1alpha1 { create( params: Params$Resource$Projects$Workerpools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Workerpools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Workerpools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2044,7 +2044,7 @@ export namespace cloudbuild_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workerpools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2138,11 +2138,11 @@ export namespace cloudbuild_v1alpha1 { delete( params: Params$Resource$Projects$Workerpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Workerpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Workerpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2171,7 +2171,7 @@ export namespace cloudbuild_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workerpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2273,11 +2273,11 @@ export namespace cloudbuild_v1alpha1 { get( params: Params$Resource$Projects$Workerpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Workerpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Workerpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2306,7 +2306,7 @@ export namespace cloudbuild_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workerpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2399,11 +2399,11 @@ export namespace cloudbuild_v1alpha1 { list( params: Params$Resource$Projects$Workerpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Workerpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Workerpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2436,8 +2436,8 @@ export namespace cloudbuild_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workerpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2559,11 +2559,11 @@ export namespace cloudbuild_v1alpha1 { patch( params: Params$Resource$Projects$Workerpools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Workerpools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Workerpools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2592,7 +2592,7 @@ export namespace cloudbuild_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workerpools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudbuild/v1alpha2.ts b/src/apis/cloudbuild/v1alpha2.ts index 815a5195523..8706586b78a 100644 --- a/src/apis/cloudbuild/v1alpha2.ts +++ b/src/apis/cloudbuild/v1alpha2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1675,11 +1675,11 @@ export namespace cloudbuild_v1alpha2 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1708,7 +1708,7 @@ export namespace cloudbuild_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1808,11 +1808,11 @@ export namespace cloudbuild_v1alpha2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1841,7 +1841,7 @@ export namespace cloudbuild_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1985,11 +1985,11 @@ export namespace cloudbuild_v1alpha2 { create( params: Params$Resource$Projects$Workerpools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Workerpools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Workerpools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2018,7 +2018,7 @@ export namespace cloudbuild_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workerpools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2112,11 +2112,11 @@ export namespace cloudbuild_v1alpha2 { delete( params: Params$Resource$Projects$Workerpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Workerpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Workerpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2145,7 +2145,7 @@ export namespace cloudbuild_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workerpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2245,11 +2245,11 @@ export namespace cloudbuild_v1alpha2 { get( params: Params$Resource$Projects$Workerpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Workerpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Workerpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2278,7 +2278,7 @@ export namespace cloudbuild_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workerpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2371,11 +2371,11 @@ export namespace cloudbuild_v1alpha2 { list( params: Params$Resource$Projects$Workerpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Workerpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Workerpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2408,8 +2408,8 @@ export namespace cloudbuild_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workerpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2529,11 +2529,11 @@ export namespace cloudbuild_v1alpha2 { patch( params: Params$Resource$Projects$Workerpools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Workerpools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Workerpools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2562,7 +2562,7 @@ export namespace cloudbuild_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workerpools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudbuild/v1beta1.ts b/src/apis/cloudbuild/v1beta1.ts index d5141a797f5..9fe2626558a 100644 --- a/src/apis/cloudbuild/v1beta1.ts +++ b/src/apis/cloudbuild/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1693,11 +1693,11 @@ export namespace cloudbuild_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1726,7 +1726,7 @@ export namespace cloudbuild_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1826,11 +1826,11 @@ export namespace cloudbuild_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1859,7 +1859,7 @@ export namespace cloudbuild_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2003,11 +2003,11 @@ export namespace cloudbuild_v1beta1 { create( params: Params$Resource$Projects$Locations$Workerpools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workerpools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workerpools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2036,7 +2036,7 @@ export namespace cloudbuild_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2138,11 +2138,11 @@ export namespace cloudbuild_v1beta1 { delete( params: Params$Resource$Projects$Locations$Workerpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workerpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workerpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2171,7 +2171,7 @@ export namespace cloudbuild_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2274,11 +2274,11 @@ export namespace cloudbuild_v1beta1 { get( params: Params$Resource$Projects$Locations$Workerpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workerpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workerpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2307,7 +2307,7 @@ export namespace cloudbuild_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2400,11 +2400,11 @@ export namespace cloudbuild_v1beta1 { list( params: Params$Resource$Projects$Locations$Workerpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workerpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workerpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2437,8 +2437,8 @@ export namespace cloudbuild_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2558,11 +2558,11 @@ export namespace cloudbuild_v1beta1 { patch( params: Params$Resource$Projects$Locations$Workerpools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workerpools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workerpools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2591,7 +2591,7 @@ export namespace cloudbuild_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudbuild/v2.ts b/src/apis/cloudbuild/v2.ts index 197ba2c3911..e03818ad6bd 100644 --- a/src/apis/cloudbuild/v2.ts +++ b/src/apis/cloudbuild/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1798,11 +1798,11 @@ export namespace cloudbuild_v2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1831,7 +1831,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1883,11 +1886,11 @@ export namespace cloudbuild_v2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1920,8 +1923,8 @@ export namespace cloudbuild_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2017,11 +2020,11 @@ export namespace cloudbuild_v2 { create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2050,7 +2053,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2105,11 +2111,11 @@ export namespace cloudbuild_v2 { delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2138,7 +2144,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2190,11 +2199,13 @@ export namespace cloudbuild_v2 { fetchLinkableRepositories( params: Params$Resource$Projects$Locations$Connections$Fetchlinkablerepositories, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchLinkableRepositories( params?: Params$Resource$Projects$Locations$Connections$Fetchlinkablerepositories, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchLinkableRepositories( params: Params$Resource$Projects$Locations$Connections$Fetchlinkablerepositories, options: StreamMethodOptions | BodyResponseCallback, @@ -2229,8 +2240,10 @@ export namespace cloudbuild_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Fetchlinkablerepositories; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2287,11 +2300,11 @@ export namespace cloudbuild_v2 { get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2320,7 +2333,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2372,11 +2388,11 @@ export namespace cloudbuild_v2 { getIamPolicy( params: Params$Resource$Projects$Locations$Connections$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Connections$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Connections$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2405,7 +2421,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2461,11 +2480,11 @@ export namespace cloudbuild_v2 { list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2498,8 +2517,8 @@ export namespace cloudbuild_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2554,11 +2573,11 @@ export namespace cloudbuild_v2 { patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2587,7 +2606,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2639,11 +2661,11 @@ export namespace cloudbuild_v2 { processWebhook( params: Params$Resource$Projects$Locations$Connections$Processwebhook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; processWebhook( params?: Params$Resource$Projects$Locations$Connections$Processwebhook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; processWebhook( params: Params$Resource$Projects$Locations$Connections$Processwebhook, options: StreamMethodOptions | BodyResponseCallback, @@ -2672,7 +2694,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Processwebhook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2728,11 +2753,11 @@ export namespace cloudbuild_v2 { setIamPolicy( params: Params$Resource$Projects$Locations$Connections$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Connections$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Connections$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2761,7 +2786,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2817,11 +2845,11 @@ export namespace cloudbuild_v2 { testIamPermissions( params: Params$Resource$Projects$Locations$Connections$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Connections$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Connections$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2856,8 +2884,8 @@ export namespace cloudbuild_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3068,11 +3096,11 @@ export namespace cloudbuild_v2 { accessReadToken( params: Params$Resource$Projects$Locations$Connections$Repositories$Accessreadtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessReadToken( params?: Params$Resource$Projects$Locations$Connections$Repositories$Accessreadtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; accessReadToken( params: Params$Resource$Projects$Locations$Connections$Repositories$Accessreadtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -3107,8 +3135,8 @@ export namespace cloudbuild_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Repositories$Accessreadtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3164,11 +3192,11 @@ export namespace cloudbuild_v2 { accessReadWriteToken( params: Params$Resource$Projects$Locations$Connections$Repositories$Accessreadwritetoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessReadWriteToken( params?: Params$Resource$Projects$Locations$Connections$Repositories$Accessreadwritetoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; accessReadWriteToken( params: Params$Resource$Projects$Locations$Connections$Repositories$Accessreadwritetoken, options: StreamMethodOptions | BodyResponseCallback, @@ -3203,8 +3231,8 @@ export namespace cloudbuild_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Repositories$Accessreadwritetoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3260,11 +3288,11 @@ export namespace cloudbuild_v2 { batchCreate( params: Params$Resource$Projects$Locations$Connections$Repositories$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Connections$Repositories$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Connections$Repositories$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -3293,7 +3321,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Repositories$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3349,11 +3380,11 @@ export namespace cloudbuild_v2 { create( params: Params$Resource$Projects$Locations$Connections$Repositories$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connections$Repositories$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connections$Repositories$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3382,7 +3413,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Repositories$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3438,11 +3472,11 @@ export namespace cloudbuild_v2 { delete( params: Params$Resource$Projects$Locations$Connections$Repositories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connections$Repositories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connections$Repositories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3471,7 +3505,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Repositories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3524,11 +3561,11 @@ export namespace cloudbuild_v2 { fetchGitRefs( params: Params$Resource$Projects$Locations$Connections$Repositories$Fetchgitrefs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchGitRefs( params?: Params$Resource$Projects$Locations$Connections$Repositories$Fetchgitrefs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchGitRefs( params: Params$Resource$Projects$Locations$Connections$Repositories$Fetchgitrefs, options: StreamMethodOptions | BodyResponseCallback, @@ -3563,8 +3600,8 @@ export namespace cloudbuild_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Repositories$Fetchgitrefs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3620,11 +3657,11 @@ export namespace cloudbuild_v2 { get( params: Params$Resource$Projects$Locations$Connections$Repositories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Repositories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Repositories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3653,7 +3690,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Repositories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3706,11 +3746,11 @@ export namespace cloudbuild_v2 { list( params: Params$Resource$Projects$Locations$Connections$Repositories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$Repositories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$Repositories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3743,8 +3783,8 @@ export namespace cloudbuild_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Repositories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3924,11 +3964,11 @@ export namespace cloudbuild_v2 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3957,7 +3997,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4009,11 +4052,11 @@ export namespace cloudbuild_v2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4042,7 +4085,10 @@ export namespace cloudbuild_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudchannel/index.ts b/src/apis/cloudchannel/index.ts index 3a2cc9c6e78..e15818ad60c 100644 --- a/src/apis/cloudchannel/index.ts +++ b/src/apis/cloudchannel/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudchannel/package.json b/src/apis/cloudchannel/package.json index 947a83fb3eb..8e8eb7f7c96 100644 --- a/src/apis/cloudchannel/package.json +++ b/src/apis/cloudchannel/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudchannel/v1.ts b/src/apis/cloudchannel/v1.ts index 7ae56551098..fc3ec676964 100644 --- a/src/apis/cloudchannel/v1.ts +++ b/src/apis/cloudchannel/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2675,11 +2675,13 @@ export namespace cloudchannel_v1 { checkCloudIdentityAccountsExist( params: Params$Resource$Accounts$Checkcloudidentityaccountsexist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkCloudIdentityAccountsExist( params?: Params$Resource$Accounts$Checkcloudidentityaccountsexist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; checkCloudIdentityAccountsExist( params: Params$Resource$Accounts$Checkcloudidentityaccountsexist, options: StreamMethodOptions | BodyResponseCallback, @@ -2714,8 +2716,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Checkcloudidentityaccountsexist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2771,11 +2775,13 @@ export namespace cloudchannel_v1 { listSubscribers( params: Params$Resource$Accounts$Listsubscribers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listSubscribers( params?: Params$Resource$Accounts$Listsubscribers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listSubscribers( params: Params$Resource$Accounts$Listsubscribers, options: StreamMethodOptions | BodyResponseCallback, @@ -2810,8 +2816,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Listsubscribers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2868,11 +2876,13 @@ export namespace cloudchannel_v1 { listTransferableOffers( params: Params$Resource$Accounts$Listtransferableoffers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listTransferableOffers( params?: Params$Resource$Accounts$Listtransferableoffers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listTransferableOffers( params: Params$Resource$Accounts$Listtransferableoffers, options: StreamMethodOptions | BodyResponseCallback, @@ -2907,8 +2917,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Listtransferableoffers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2965,11 +2977,13 @@ export namespace cloudchannel_v1 { listTransferableSkus( params: Params$Resource$Accounts$Listtransferableskus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listTransferableSkus( params?: Params$Resource$Accounts$Listtransferableskus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listTransferableSkus( params: Params$Resource$Accounts$Listtransferableskus, options: StreamMethodOptions | BodyResponseCallback, @@ -3004,8 +3018,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Listtransferableskus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3062,11 +3078,13 @@ export namespace cloudchannel_v1 { register( params: Params$Resource$Accounts$Register, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; register( params?: Params$Resource$Accounts$Register, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; register( params: Params$Resource$Accounts$Register, options: StreamMethodOptions | BodyResponseCallback, @@ -3101,8 +3119,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Register; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3159,11 +3179,13 @@ export namespace cloudchannel_v1 { unregister( params: Params$Resource$Accounts$Unregister, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unregister( params?: Params$Resource$Accounts$Unregister, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; unregister( params: Params$Resource$Accounts$Unregister, options: StreamMethodOptions | BodyResponseCallback, @@ -3198,8 +3220,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Unregister; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3352,11 +3376,13 @@ export namespace cloudchannel_v1 { create( params: Params$Resource$Accounts$Channelpartnerlinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Channelpartnerlinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Accounts$Channelpartnerlinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3391,8 +3417,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3449,11 +3477,13 @@ export namespace cloudchannel_v1 { get( params: Params$Resource$Accounts$Channelpartnerlinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Channelpartnerlinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Accounts$Channelpartnerlinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3488,8 +3518,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3543,11 +3575,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Accounts$Channelpartnerlinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Channelpartnerlinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Channelpartnerlinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3582,8 +3616,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3640,11 +3676,13 @@ export namespace cloudchannel_v1 { patch( params: Params$Resource$Accounts$Channelpartnerlinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Channelpartnerlinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Accounts$Channelpartnerlinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3679,8 +3717,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3796,11 +3836,13 @@ export namespace cloudchannel_v1 { create( params: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3835,8 +3877,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3893,11 +3937,11 @@ export namespace cloudchannel_v1 { delete( params: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3928,8 +3972,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3982,11 +4026,13 @@ export namespace cloudchannel_v1 { get( params: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4021,8 +4067,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4077,11 +4125,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4116,8 +4166,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4174,11 +4226,13 @@ export namespace cloudchannel_v1 { patch( params: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4213,8 +4267,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Channelpartnerrepricingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4334,11 +4390,11 @@ export namespace cloudchannel_v1 { create( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Channelpartnerlinks$Customers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4373,8 +4429,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Customers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4432,11 +4488,11 @@ export namespace cloudchannel_v1 { delete( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Channelpartnerlinks$Customers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4467,8 +4523,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Customers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4521,11 +4577,11 @@ export namespace cloudchannel_v1 { get( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Channelpartnerlinks$Customers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4560,8 +4616,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Customers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4616,11 +4672,11 @@ export namespace cloudchannel_v1 { import( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Accounts$Channelpartnerlinks$Customers$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -4655,8 +4711,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Customers$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4714,11 +4770,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Channelpartnerlinks$Customers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4753,8 +4811,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Customers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4812,11 +4872,11 @@ export namespace cloudchannel_v1 { patch( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Channelpartnerlinks$Customers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Channelpartnerlinks$Customers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4851,8 +4911,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Channelpartnerlinks$Customers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4995,11 +5055,11 @@ export namespace cloudchannel_v1 { create( params: Params$Resource$Accounts$Customers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Customers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Customers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5034,8 +5094,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5092,11 +5152,11 @@ export namespace cloudchannel_v1 { delete( params: Params$Resource$Accounts$Customers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Customers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Customers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5127,8 +5187,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5180,11 +5240,11 @@ export namespace cloudchannel_v1 { get( params: Params$Resource$Accounts$Customers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Customers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Customers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5219,8 +5279,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5274,11 +5334,11 @@ export namespace cloudchannel_v1 { import( params: Params$Resource$Accounts$Customers$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Accounts$Customers$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Accounts$Customers$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -5313,8 +5373,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5371,11 +5431,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Accounts$Customers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Customers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Customers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5410,8 +5472,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5468,11 +5532,13 @@ export namespace cloudchannel_v1 { listPurchasableOffers( params: Params$Resource$Accounts$Customers$Listpurchasableoffers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPurchasableOffers( params?: Params$Resource$Accounts$Customers$Listpurchasableoffers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPurchasableOffers( params: Params$Resource$Accounts$Customers$Listpurchasableoffers, options: StreamMethodOptions | BodyResponseCallback, @@ -5507,8 +5573,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Listpurchasableoffers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5565,11 +5633,13 @@ export namespace cloudchannel_v1 { listPurchasableSkus( params: Params$Resource$Accounts$Customers$Listpurchasableskus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPurchasableSkus( params?: Params$Resource$Accounts$Customers$Listpurchasableskus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPurchasableSkus( params: Params$Resource$Accounts$Customers$Listpurchasableskus, options: StreamMethodOptions | BodyResponseCallback, @@ -5604,8 +5674,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Listpurchasableskus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5662,11 +5734,11 @@ export namespace cloudchannel_v1 { patch( params: Params$Resource$Accounts$Customers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Customers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Customers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5701,8 +5773,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5756,11 +5828,11 @@ export namespace cloudchannel_v1 { provisionCloudIdentity( params: Params$Resource$Accounts$Customers$Provisioncloudidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provisionCloudIdentity( params?: Params$Resource$Accounts$Customers$Provisioncloudidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; provisionCloudIdentity( params: Params$Resource$Accounts$Customers$Provisioncloudidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -5795,8 +5867,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Provisioncloudidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5852,11 +5924,13 @@ export namespace cloudchannel_v1 { queryEligibleBillingAccounts( params: Params$Resource$Accounts$Customers$Queryeligiblebillingaccounts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryEligibleBillingAccounts( params?: Params$Resource$Accounts$Customers$Queryeligiblebillingaccounts, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryEligibleBillingAccounts( params: Params$Resource$Accounts$Customers$Queryeligiblebillingaccounts, options: StreamMethodOptions | BodyResponseCallback, @@ -5891,8 +5965,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Queryeligiblebillingaccounts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5949,11 +6025,11 @@ export namespace cloudchannel_v1 { transferEntitlements( params: Params$Resource$Accounts$Customers$Transferentitlements, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; transferEntitlements( params?: Params$Resource$Accounts$Customers$Transferentitlements, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; transferEntitlements( params: Params$Resource$Accounts$Customers$Transferentitlements, options: StreamMethodOptions | BodyResponseCallback, @@ -5988,8 +6064,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Transferentitlements; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6044,11 +6120,11 @@ export namespace cloudchannel_v1 { transferEntitlementsToGoogle( params: Params$Resource$Accounts$Customers$Transferentitlementstogoogle, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; transferEntitlementsToGoogle( params?: Params$Resource$Accounts$Customers$Transferentitlementstogoogle, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; transferEntitlementsToGoogle( params: Params$Resource$Accounts$Customers$Transferentitlementstogoogle, options: StreamMethodOptions | BodyResponseCallback, @@ -6083,8 +6159,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Transferentitlementstogoogle; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6337,11 +6413,13 @@ export namespace cloudchannel_v1 { create( params: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6376,8 +6454,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Customerrepricingconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6435,11 +6515,11 @@ export namespace cloudchannel_v1 { delete( params: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6470,8 +6550,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Customerrepricingconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6524,11 +6604,13 @@ export namespace cloudchannel_v1 { get( params: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6563,8 +6645,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Customerrepricingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6619,11 +6703,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Accounts$Customers$Customerrepricingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Customers$Customerrepricingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Customers$Customerrepricingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6658,8 +6744,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Customerrepricingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6717,11 +6805,13 @@ export namespace cloudchannel_v1 { patch( params: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Accounts$Customers$Customerrepricingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6756,8 +6846,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Customerrepricingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6877,11 +6969,11 @@ export namespace cloudchannel_v1 { activate( params: Params$Resource$Accounts$Customers$Entitlements$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Accounts$Customers$Entitlements$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Accounts$Customers$Entitlements$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -6916,8 +7008,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6972,11 +7064,11 @@ export namespace cloudchannel_v1 { cancel( params: Params$Resource$Accounts$Customers$Entitlements$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Accounts$Customers$Entitlements$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Accounts$Customers$Entitlements$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7011,8 +7103,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7064,11 +7156,11 @@ export namespace cloudchannel_v1 { changeOffer( params: Params$Resource$Accounts$Customers$Entitlements$Changeoffer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; changeOffer( params?: Params$Resource$Accounts$Customers$Entitlements$Changeoffer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; changeOffer( params: Params$Resource$Accounts$Customers$Entitlements$Changeoffer, options: StreamMethodOptions | BodyResponseCallback, @@ -7103,8 +7195,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$Changeoffer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7160,11 +7252,11 @@ export namespace cloudchannel_v1 { changeParameters( params: Params$Resource$Accounts$Customers$Entitlements$Changeparameters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; changeParameters( params?: Params$Resource$Accounts$Customers$Entitlements$Changeparameters, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; changeParameters( params: Params$Resource$Accounts$Customers$Entitlements$Changeparameters, options: StreamMethodOptions | BodyResponseCallback, @@ -7199,8 +7291,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$Changeparameters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7256,11 +7348,11 @@ export namespace cloudchannel_v1 { changeRenewalSettings( params: Params$Resource$Accounts$Customers$Entitlements$Changerenewalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; changeRenewalSettings( params?: Params$Resource$Accounts$Customers$Entitlements$Changerenewalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; changeRenewalSettings( params: Params$Resource$Accounts$Customers$Entitlements$Changerenewalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7295,8 +7387,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$Changerenewalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7352,11 +7444,11 @@ export namespace cloudchannel_v1 { create( params: Params$Resource$Accounts$Customers$Entitlements$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Customers$Entitlements$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Customers$Entitlements$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7391,8 +7483,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7447,11 +7539,11 @@ export namespace cloudchannel_v1 { get( params: Params$Resource$Accounts$Customers$Entitlements$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Customers$Entitlements$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Customers$Entitlements$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7486,8 +7578,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7541,11 +7633,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Accounts$Customers$Entitlements$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Customers$Entitlements$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Customers$Entitlements$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7580,8 +7674,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7638,11 +7734,13 @@ export namespace cloudchannel_v1 { listEntitlementChanges( params: Params$Resource$Accounts$Customers$Entitlements$Listentitlementchanges, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listEntitlementChanges( params?: Params$Resource$Accounts$Customers$Entitlements$Listentitlementchanges, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listEntitlementChanges( params: Params$Resource$Accounts$Customers$Entitlements$Listentitlementchanges, options: StreamMethodOptions | BodyResponseCallback, @@ -7677,8 +7775,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$Listentitlementchanges; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7736,11 +7836,11 @@ export namespace cloudchannel_v1 { lookupOffer( params: Params$Resource$Accounts$Customers$Entitlements$Lookupoffer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupOffer( params?: Params$Resource$Accounts$Customers$Entitlements$Lookupoffer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookupOffer( params: Params$Resource$Accounts$Customers$Entitlements$Lookupoffer, options: StreamMethodOptions | BodyResponseCallback, @@ -7775,8 +7875,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$Lookupoffer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7832,11 +7932,11 @@ export namespace cloudchannel_v1 { startPaidService( params: Params$Resource$Accounts$Customers$Entitlements$Startpaidservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startPaidService( params?: Params$Resource$Accounts$Customers$Entitlements$Startpaidservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startPaidService( params: Params$Resource$Accounts$Customers$Entitlements$Startpaidservice, options: StreamMethodOptions | BodyResponseCallback, @@ -7871,8 +7971,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$Startpaidservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7928,11 +8028,11 @@ export namespace cloudchannel_v1 { suspend( params: Params$Resource$Accounts$Customers$Entitlements$Suspend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params?: Params$Resource$Accounts$Customers$Entitlements$Suspend, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params: Params$Resource$Accounts$Customers$Entitlements$Suspend, options: StreamMethodOptions | BodyResponseCallback, @@ -7967,8 +8067,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customers$Entitlements$Suspend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8175,11 +8275,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Accounts$Offers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Offers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Offers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8214,8 +8316,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Offers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8307,11 +8411,13 @@ export namespace cloudchannel_v1 { fetchReportResults( params: Params$Resource$Accounts$Reportjobs$Fetchreportresults, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchReportResults( params?: Params$Resource$Accounts$Reportjobs$Fetchreportresults, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchReportResults( params: Params$Resource$Accounts$Reportjobs$Fetchreportresults, options: StreamMethodOptions | BodyResponseCallback, @@ -8346,8 +8452,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reportjobs$Fetchreportresults; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8424,11 +8532,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Accounts$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8463,8 +8573,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8521,11 +8633,11 @@ export namespace cloudchannel_v1 { run( params: Params$Resource$Accounts$Reports$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Accounts$Reports$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Accounts$Reports$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -8560,8 +8672,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8656,11 +8768,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Accounts$Skugroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Skugroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Skugroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8695,8 +8809,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Skugroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8776,11 +8892,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Accounts$Skugroups$Billableskus$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Skugroups$Billableskus$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Skugroups$Billableskus$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8815,8 +8933,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Skugroups$Billableskus$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8896,11 +9016,13 @@ export namespace cloudchannel_v1 { listSubscribers( params: Params$Resource$Integrators$Listsubscribers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listSubscribers( params?: Params$Resource$Integrators$Listsubscribers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listSubscribers( params: Params$Resource$Integrators$Listsubscribers, options: StreamMethodOptions | BodyResponseCallback, @@ -8935,8 +9057,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Integrators$Listsubscribers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8993,11 +9117,13 @@ export namespace cloudchannel_v1 { registerSubscriber( params: Params$Resource$Integrators$Registersubscriber, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; registerSubscriber( params?: Params$Resource$Integrators$Registersubscriber, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; registerSubscriber( params: Params$Resource$Integrators$Registersubscriber, options: StreamMethodOptions | BodyResponseCallback, @@ -9032,8 +9158,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Integrators$Registersubscriber; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9090,11 +9218,13 @@ export namespace cloudchannel_v1 { unregisterSubscriber( params: Params$Resource$Integrators$Unregistersubscriber, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unregisterSubscriber( params?: Params$Resource$Integrators$Unregistersubscriber, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; unregisterSubscriber( params: Params$Resource$Integrators$Unregistersubscriber, options: StreamMethodOptions | BodyResponseCallback, @@ -9129,8 +9259,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Integrators$Unregistersubscriber; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9238,11 +9370,11 @@ export namespace cloudchannel_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -9273,8 +9405,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9326,11 +9458,11 @@ export namespace cloudchannel_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9361,8 +9493,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9414,11 +9546,11 @@ export namespace cloudchannel_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9453,8 +9585,8 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9505,11 +9637,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9544,8 +9678,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9651,11 +9787,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9690,8 +9828,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9770,11 +9910,13 @@ export namespace cloudchannel_v1 { list( params: Params$Resource$Products$Skus$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Products$Skus$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Products$Skus$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9809,8 +9951,10 @@ export namespace cloudchannel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Skus$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudcontrolspartner/index.ts b/src/apis/cloudcontrolspartner/index.ts index ecdf1c6978a..2f599b37471 100644 --- a/src/apis/cloudcontrolspartner/index.ts +++ b/src/apis/cloudcontrolspartner/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudcontrolspartner/package.json b/src/apis/cloudcontrolspartner/package.json index cc5fd30aa13..22d11a08224 100644 --- a/src/apis/cloudcontrolspartner/package.json +++ b/src/apis/cloudcontrolspartner/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudcontrolspartner/v1.ts b/src/apis/cloudcontrolspartner/v1.ts index 1b24f44e77b..0cb95b51598 100644 --- a/src/apis/cloudcontrolspartner/v1.ts +++ b/src/apis/cloudcontrolspartner/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -644,11 +644,11 @@ export namespace cloudcontrolspartner_v1 { getPartner( params: Params$Resource$Organizations$Locations$Getpartner, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPartner( params?: Params$Resource$Organizations$Locations$Getpartner, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPartner( params: Params$Resource$Organizations$Locations$Getpartner, options: StreamMethodOptions | BodyResponseCallback, @@ -677,7 +677,10 @@ export namespace cloudcontrolspartner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Getpartner; let options = (optionsOrCallback || {}) as MethodOptions; @@ -749,11 +752,11 @@ export namespace cloudcontrolspartner_v1 { create( params: Params$Resource$Organizations$Locations$Customers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Customers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Customers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -782,7 +785,10 @@ export namespace cloudcontrolspartner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -838,11 +844,11 @@ export namespace cloudcontrolspartner_v1 { delete( params: Params$Resource$Organizations$Locations$Customers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Customers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Customers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -871,7 +877,10 @@ export namespace cloudcontrolspartner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -924,11 +933,11 @@ export namespace cloudcontrolspartner_v1 { get( params: Params$Resource$Organizations$Locations$Customers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Customers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Customers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -957,7 +966,10 @@ export namespace cloudcontrolspartner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1010,11 +1022,11 @@ export namespace cloudcontrolspartner_v1 { list( params: Params$Resource$Organizations$Locations$Customers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Customers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Customers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1047,8 +1059,8 @@ export namespace cloudcontrolspartner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1104,11 +1116,11 @@ export namespace cloudcontrolspartner_v1 { patch( params: Params$Resource$Organizations$Locations$Customers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Customers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Customers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1137,7 +1149,10 @@ export namespace cloudcontrolspartner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1277,11 +1292,11 @@ export namespace cloudcontrolspartner_v1 { get( params: Params$Resource$Organizations$Locations$Customers$Workloads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Customers$Workloads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1310,7 +1325,10 @@ export namespace cloudcontrolspartner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1364,11 +1382,11 @@ export namespace cloudcontrolspartner_v1 { getEkmConnections( params: Params$Resource$Organizations$Locations$Customers$Workloads$Getekmconnections, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEkmConnections( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Getekmconnections, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEkmConnections( params: Params$Resource$Organizations$Locations$Customers$Workloads$Getekmconnections, options: StreamMethodOptions | BodyResponseCallback, @@ -1399,7 +1417,10 @@ export namespace cloudcontrolspartner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Getekmconnections; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1453,11 +1474,11 @@ export namespace cloudcontrolspartner_v1 { getPartnerPermissions( params: Params$Resource$Organizations$Locations$Customers$Workloads$Getpartnerpermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPartnerPermissions( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Getpartnerpermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPartnerPermissions( params: Params$Resource$Organizations$Locations$Customers$Workloads$Getpartnerpermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1490,8 +1511,8 @@ export namespace cloudcontrolspartner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Getpartnerpermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1545,11 +1566,11 @@ export namespace cloudcontrolspartner_v1 { list( params: Params$Resource$Organizations$Locations$Customers$Workloads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Customers$Workloads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Customers$Workloads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1582,8 +1603,8 @@ export namespace cloudcontrolspartner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1692,11 +1713,13 @@ export namespace cloudcontrolspartner_v1 { list( params: Params$Resource$Organizations$Locations$Customers$Workloads$Accessapprovalrequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Accessapprovalrequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Customers$Workloads$Accessapprovalrequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1731,8 +1754,10 @@ export namespace cloudcontrolspartner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Accessapprovalrequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1822,11 +1847,11 @@ export namespace cloudcontrolspartner_v1 { get( params: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1855,7 +1880,10 @@ export namespace cloudcontrolspartner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Violations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1909,11 +1937,11 @@ export namespace cloudcontrolspartner_v1 { list( params: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1946,8 +1974,8 @@ export namespace cloudcontrolspartner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Violations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudcontrolspartner/v1beta.ts b/src/apis/cloudcontrolspartner/v1beta.ts index 120600da990..cf9efef4ddc 100644 --- a/src/apis/cloudcontrolspartner/v1beta.ts +++ b/src/apis/cloudcontrolspartner/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -644,11 +644,11 @@ export namespace cloudcontrolspartner_v1beta { getPartner( params: Params$Resource$Organizations$Locations$Getpartner, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPartner( params?: Params$Resource$Organizations$Locations$Getpartner, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPartner( params: Params$Resource$Organizations$Locations$Getpartner, options: StreamMethodOptions | BodyResponseCallback, @@ -677,7 +677,10 @@ export namespace cloudcontrolspartner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Getpartner; let options = (optionsOrCallback || {}) as MethodOptions; @@ -749,11 +752,11 @@ export namespace cloudcontrolspartner_v1beta { create( params: Params$Resource$Organizations$Locations$Customers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Customers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Customers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -782,7 +785,10 @@ export namespace cloudcontrolspartner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -838,11 +844,11 @@ export namespace cloudcontrolspartner_v1beta { delete( params: Params$Resource$Organizations$Locations$Customers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Customers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Customers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -871,7 +877,10 @@ export namespace cloudcontrolspartner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -924,11 +933,11 @@ export namespace cloudcontrolspartner_v1beta { get( params: Params$Resource$Organizations$Locations$Customers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Customers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Customers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -957,7 +966,10 @@ export namespace cloudcontrolspartner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1010,11 +1022,11 @@ export namespace cloudcontrolspartner_v1beta { list( params: Params$Resource$Organizations$Locations$Customers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Customers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Customers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1047,8 +1059,8 @@ export namespace cloudcontrolspartner_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1104,11 +1116,11 @@ export namespace cloudcontrolspartner_v1beta { patch( params: Params$Resource$Organizations$Locations$Customers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Customers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Customers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1137,7 +1149,10 @@ export namespace cloudcontrolspartner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1277,11 +1292,11 @@ export namespace cloudcontrolspartner_v1beta { get( params: Params$Resource$Organizations$Locations$Customers$Workloads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Customers$Workloads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1310,7 +1325,10 @@ export namespace cloudcontrolspartner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1364,11 +1382,11 @@ export namespace cloudcontrolspartner_v1beta { getEkmConnections( params: Params$Resource$Organizations$Locations$Customers$Workloads$Getekmconnections, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEkmConnections( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Getekmconnections, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEkmConnections( params: Params$Resource$Organizations$Locations$Customers$Workloads$Getekmconnections, options: StreamMethodOptions | BodyResponseCallback, @@ -1399,7 +1417,10 @@ export namespace cloudcontrolspartner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Getekmconnections; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1453,11 +1474,11 @@ export namespace cloudcontrolspartner_v1beta { getPartnerPermissions( params: Params$Resource$Organizations$Locations$Customers$Workloads$Getpartnerpermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPartnerPermissions( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Getpartnerpermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPartnerPermissions( params: Params$Resource$Organizations$Locations$Customers$Workloads$Getpartnerpermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1490,8 +1511,8 @@ export namespace cloudcontrolspartner_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Getpartnerpermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1545,11 +1566,11 @@ export namespace cloudcontrolspartner_v1beta { list( params: Params$Resource$Organizations$Locations$Customers$Workloads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Customers$Workloads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Customers$Workloads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1582,8 +1603,8 @@ export namespace cloudcontrolspartner_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1692,11 +1713,13 @@ export namespace cloudcontrolspartner_v1beta { list( params: Params$Resource$Organizations$Locations$Customers$Workloads$Accessapprovalrequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Accessapprovalrequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Customers$Workloads$Accessapprovalrequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1731,8 +1754,10 @@ export namespace cloudcontrolspartner_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Accessapprovalrequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1822,11 +1847,11 @@ export namespace cloudcontrolspartner_v1beta { get( params: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1855,7 +1880,10 @@ export namespace cloudcontrolspartner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Violations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1909,11 +1937,11 @@ export namespace cloudcontrolspartner_v1beta { list( params: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Customers$Workloads$Violations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1946,8 +1974,8 @@ export namespace cloudcontrolspartner_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Customers$Workloads$Violations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/clouddebugger/index.ts b/src/apis/clouddebugger/index.ts index 9aea6bb7757..09edf992015 100644 --- a/src/apis/clouddebugger/index.ts +++ b/src/apis/clouddebugger/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/clouddebugger/package.json b/src/apis/clouddebugger/package.json index 12e18ab256e..998c92316a2 100644 --- a/src/apis/clouddebugger/package.json +++ b/src/apis/clouddebugger/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/clouddebugger/v2.ts b/src/apis/clouddebugger/v2.ts index 58afd430bcb..3a1c66f5372 100644 --- a/src/apis/clouddebugger/v2.ts +++ b/src/apis/clouddebugger/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -689,11 +689,11 @@ export namespace clouddebugger_v2 { register( params: Params$Resource$Controller$Debuggees$Register, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; register( params?: Params$Resource$Controller$Debuggees$Register, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; register( params: Params$Resource$Controller$Debuggees$Register, options: StreamMethodOptions | BodyResponseCallback, @@ -728,8 +728,8 @@ export namespace clouddebugger_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Controller$Debuggees$Register; let options = (optionsOrCallback || {}) as MethodOptions; @@ -852,11 +852,11 @@ export namespace clouddebugger_v2 { list( params: Params$Resource$Controller$Debuggees$Breakpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Controller$Debuggees$Breakpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Controller$Debuggees$Breakpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -891,8 +891,8 @@ export namespace clouddebugger_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Controller$Debuggees$Breakpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1001,11 +1001,11 @@ export namespace clouddebugger_v2 { update( params: Params$Resource$Controller$Debuggees$Breakpoints$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Controller$Debuggees$Breakpoints$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Controller$Debuggees$Breakpoints$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1040,8 +1040,8 @@ export namespace clouddebugger_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Controller$Debuggees$Breakpoints$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1202,11 +1202,11 @@ export namespace clouddebugger_v2 { list( params: Params$Resource$Debugger$Debuggees$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Debugger$Debuggees$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Debugger$Debuggees$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1239,8 +1239,8 @@ export namespace clouddebugger_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Debugger$Debuggees$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1365,11 +1365,11 @@ export namespace clouddebugger_v2 { delete( params: Params$Resource$Debugger$Debuggees$Breakpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Debugger$Debuggees$Breakpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Debugger$Debuggees$Breakpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1398,7 +1398,7 @@ export namespace clouddebugger_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Debugger$Debuggees$Breakpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1502,11 +1502,11 @@ export namespace clouddebugger_v2 { get( params: Params$Resource$Debugger$Debuggees$Breakpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Debugger$Debuggees$Breakpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Debugger$Debuggees$Breakpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1539,8 +1539,8 @@ export namespace clouddebugger_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Debugger$Debuggees$Breakpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1653,11 +1653,11 @@ export namespace clouddebugger_v2 { list( params: Params$Resource$Debugger$Debuggees$Breakpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Debugger$Debuggees$Breakpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Debugger$Debuggees$Breakpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1690,8 +1690,8 @@ export namespace clouddebugger_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Debugger$Debuggees$Breakpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1819,11 +1819,11 @@ export namespace clouddebugger_v2 { set( params: Params$Resource$Debugger$Debuggees$Breakpoints$Set, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; set( params?: Params$Resource$Debugger$Debuggees$Breakpoints$Set, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; set( params: Params$Resource$Debugger$Debuggees$Breakpoints$Set, options: StreamMethodOptions | BodyResponseCallback, @@ -1856,8 +1856,8 @@ export namespace clouddebugger_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Debugger$Debuggees$Breakpoints$Set; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/clouddeploy/index.ts b/src/apis/clouddeploy/index.ts index 399bcc21180..c584054afa7 100644 --- a/src/apis/clouddeploy/index.ts +++ b/src/apis/clouddeploy/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/clouddeploy/package.json b/src/apis/clouddeploy/package.json index c0bedd5733f..dab96ffd553 100644 --- a/src/apis/clouddeploy/package.json +++ b/src/apis/clouddeploy/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/clouddeploy/v1.ts b/src/apis/clouddeploy/v1.ts index 5a51f3cadc8..ae95626b0b5 100644 --- a/src/apis/clouddeploy/v1.ts +++ b/src/apis/clouddeploy/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3357,11 +3357,11 @@ export namespace clouddeploy_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3390,7 +3390,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3442,11 +3445,11 @@ export namespace clouddeploy_v1 { getConfig( params: Params$Resource$Projects$Locations$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Locations$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Projects$Locations$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3475,7 +3478,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3527,11 +3533,11 @@ export namespace clouddeploy_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3564,8 +3570,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3665,11 +3671,11 @@ export namespace clouddeploy_v1 { create( params: Params$Resource$Projects$Locations$Customtargettypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Customtargettypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Customtargettypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3698,7 +3704,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customtargettypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3754,11 +3763,11 @@ export namespace clouddeploy_v1 { delete( params: Params$Resource$Projects$Locations$Customtargettypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Customtargettypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Customtargettypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3787,7 +3796,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customtargettypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3840,11 +3852,11 @@ export namespace clouddeploy_v1 { get( params: Params$Resource$Projects$Locations$Customtargettypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Customtargettypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Customtargettypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3873,7 +3885,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customtargettypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3925,11 +3940,11 @@ export namespace clouddeploy_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Customtargettypes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Customtargettypes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Customtargettypes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3958,7 +3973,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customtargettypes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4014,11 +4032,11 @@ export namespace clouddeploy_v1 { list( params: Params$Resource$Projects$Locations$Customtargettypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Customtargettypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Customtargettypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4053,8 +4071,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customtargettypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4112,11 +4130,11 @@ export namespace clouddeploy_v1 { patch( params: Params$Resource$Projects$Locations$Customtargettypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Customtargettypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Customtargettypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4145,7 +4163,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customtargettypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4198,11 +4219,11 @@ export namespace clouddeploy_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Customtargettypes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Customtargettypes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Customtargettypes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4231,7 +4252,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customtargettypes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4438,11 +4462,11 @@ export namespace clouddeploy_v1 { create( params: Params$Resource$Projects$Locations$Deliverypipelines$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Deliverypipelines$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Deliverypipelines$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4471,7 +4495,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4527,11 +4554,11 @@ export namespace clouddeploy_v1 { delete( params: Params$Resource$Projects$Locations$Deliverypipelines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Deliverypipelines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Deliverypipelines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4560,7 +4587,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4613,11 +4643,11 @@ export namespace clouddeploy_v1 { get( params: Params$Resource$Projects$Locations$Deliverypipelines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deliverypipelines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deliverypipelines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4646,7 +4676,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4698,11 +4731,11 @@ export namespace clouddeploy_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Deliverypipelines$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Deliverypipelines$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Deliverypipelines$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4731,7 +4764,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4787,11 +4823,11 @@ export namespace clouddeploy_v1 { list( params: Params$Resource$Projects$Locations$Deliverypipelines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deliverypipelines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Deliverypipelines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4826,8 +4862,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4885,11 +4921,11 @@ export namespace clouddeploy_v1 { patch( params: Params$Resource$Projects$Locations$Deliverypipelines$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Deliverypipelines$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Deliverypipelines$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4918,7 +4954,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4971,11 +5010,11 @@ export namespace clouddeploy_v1 { rollbackTarget( params: Params$Resource$Projects$Locations$Deliverypipelines$Rollbacktarget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollbackTarget( params?: Params$Resource$Projects$Locations$Deliverypipelines$Rollbacktarget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollbackTarget( params: Params$Resource$Projects$Locations$Deliverypipelines$Rollbacktarget, options: StreamMethodOptions | BodyResponseCallback, @@ -5010,8 +5049,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Rollbacktarget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5067,11 +5106,11 @@ export namespace clouddeploy_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Deliverypipelines$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Deliverypipelines$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Deliverypipelines$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5100,7 +5139,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5156,11 +5198,11 @@ export namespace clouddeploy_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Deliverypipelines$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Deliverypipelines$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Deliverypipelines$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5195,8 +5237,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5416,11 +5458,11 @@ export namespace clouddeploy_v1 { cancel( params: Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -5455,8 +5497,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5509,11 +5551,11 @@ export namespace clouddeploy_v1 { get( params: Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5542,7 +5584,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5595,11 +5640,11 @@ export namespace clouddeploy_v1 { list( params: Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5634,8 +5679,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Automationruns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5741,11 +5786,11 @@ export namespace clouddeploy_v1 { create( params: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5774,7 +5819,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Automations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5830,11 +5878,11 @@ export namespace clouddeploy_v1 { delete( params: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5863,7 +5911,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Automations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5916,11 +5967,11 @@ export namespace clouddeploy_v1 { get( params: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5949,7 +6000,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Automations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6002,11 +6056,11 @@ export namespace clouddeploy_v1 { list( params: Params$Resource$Projects$Locations$Deliverypipelines$Automations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deliverypipelines$Automations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Deliverypipelines$Automations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6039,8 +6093,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Automations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6096,11 +6150,11 @@ export namespace clouddeploy_v1 { patch( params: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Deliverypipelines$Automations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6129,7 +6183,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Automations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6300,11 +6357,11 @@ export namespace clouddeploy_v1 { abandon( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Abandon, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; abandon( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Abandon, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; abandon( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Abandon, options: StreamMethodOptions | BodyResponseCallback, @@ -6339,8 +6396,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Abandon; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6396,11 +6453,11 @@ export namespace clouddeploy_v1 { create( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6429,7 +6486,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6485,11 +6545,11 @@ export namespace clouddeploy_v1 { get( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6518,7 +6578,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6571,11 +6634,11 @@ export namespace clouddeploy_v1 { list( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6608,8 +6671,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6748,11 +6811,11 @@ export namespace clouddeploy_v1 { advance( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Advance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; advance( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Advance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; advance( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Advance, options: StreamMethodOptions | BodyResponseCallback, @@ -6787,8 +6850,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Advance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6844,11 +6907,11 @@ export namespace clouddeploy_v1 { approve( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -6883,8 +6946,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6940,11 +7003,11 @@ export namespace clouddeploy_v1 { cancel( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6977,8 +7040,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7031,11 +7094,11 @@ export namespace clouddeploy_v1 { create( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7064,7 +7127,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7120,11 +7186,11 @@ export namespace clouddeploy_v1 { get( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7153,7 +7219,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7206,11 +7275,11 @@ export namespace clouddeploy_v1 { ignoreJob( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Ignorejob, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ignoreJob( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Ignorejob, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ignoreJob( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Ignorejob, options: StreamMethodOptions | BodyResponseCallback, @@ -7241,8 +7310,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Ignorejob; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7298,11 +7367,11 @@ export namespace clouddeploy_v1 { list( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7335,8 +7404,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7392,11 +7461,11 @@ export namespace clouddeploy_v1 { retryJob( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Retryjob, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retryJob( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Retryjob, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retryJob( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Retryjob, options: StreamMethodOptions | BodyResponseCallback, @@ -7425,7 +7494,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Retryjob; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7611,11 +7683,11 @@ export namespace clouddeploy_v1 { get( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7644,7 +7716,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7697,11 +7772,11 @@ export namespace clouddeploy_v1 { list( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7732,8 +7807,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7789,11 +7864,11 @@ export namespace clouddeploy_v1 { terminate( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$Terminate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; terminate( params?: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$Terminate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; terminate( params: Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$Terminate, options: StreamMethodOptions | BodyResponseCallback, @@ -7828,8 +7903,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deliverypipelines$Releases$Rollouts$Jobruns$Terminate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7935,11 +8010,11 @@ export namespace clouddeploy_v1 { create( params: Params$Resource$Projects$Locations$Deploypolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Deploypolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Deploypolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7968,7 +8043,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploypolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8023,11 +8101,11 @@ export namespace clouddeploy_v1 { delete( params: Params$Resource$Projects$Locations$Deploypolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Deploypolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Deploypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8056,7 +8134,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploypolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8108,11 +8189,11 @@ export namespace clouddeploy_v1 { get( params: Params$Resource$Projects$Locations$Deploypolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deploypolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deploypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8141,7 +8222,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8193,11 +8277,11 @@ export namespace clouddeploy_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Deploypolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Deploypolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Deploypolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8226,7 +8310,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploypolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8282,11 +8369,11 @@ export namespace clouddeploy_v1 { list( params: Params$Resource$Projects$Locations$Deploypolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deploypolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Deploypolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8321,8 +8408,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8377,11 +8464,11 @@ export namespace clouddeploy_v1 { patch( params: Params$Resource$Projects$Locations$Deploypolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Deploypolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Deploypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8410,7 +8497,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8462,11 +8552,11 @@ export namespace clouddeploy_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Deploypolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Deploypolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Deploypolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8495,7 +8585,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deploypolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8687,11 +8780,11 @@ export namespace clouddeploy_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -8720,7 +8813,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8772,11 +8868,11 @@ export namespace clouddeploy_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8805,7 +8901,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8857,11 +8956,11 @@ export namespace clouddeploy_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8890,7 +8989,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8942,11 +9044,11 @@ export namespace clouddeploy_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8979,8 +9081,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9088,11 +9190,11 @@ export namespace clouddeploy_v1 { create( params: Params$Resource$Projects$Locations$Targets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Targets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Targets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9121,7 +9223,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9176,11 +9281,11 @@ export namespace clouddeploy_v1 { delete( params: Params$Resource$Projects$Locations$Targets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Targets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Targets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9209,7 +9314,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9261,11 +9369,11 @@ export namespace clouddeploy_v1 { get( params: Params$Resource$Projects$Locations$Targets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Targets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Targets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9294,7 +9402,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9346,11 +9457,11 @@ export namespace clouddeploy_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Targets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Targets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Targets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9379,7 +9490,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9434,11 +9548,11 @@ export namespace clouddeploy_v1 { list( params: Params$Resource$Projects$Locations$Targets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Targets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Targets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9469,8 +9583,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9525,11 +9639,11 @@ export namespace clouddeploy_v1 { patch( params: Params$Resource$Projects$Locations$Targets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Targets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Targets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9558,7 +9672,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9610,11 +9727,11 @@ export namespace clouddeploy_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Targets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Targets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Targets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9643,7 +9760,10 @@ export namespace clouddeploy_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9698,11 +9818,11 @@ export namespace clouddeploy_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Targets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Targets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Targets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9737,8 +9857,8 @@ export namespace clouddeploy_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/clouderrorreporting/index.ts b/src/apis/clouderrorreporting/index.ts index d6d39e4573f..9cc8f245137 100644 --- a/src/apis/clouderrorreporting/index.ts +++ b/src/apis/clouderrorreporting/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/clouderrorreporting/package.json b/src/apis/clouderrorreporting/package.json index 823ed495b3d..85b22255cf4 100644 --- a/src/apis/clouderrorreporting/package.json +++ b/src/apis/clouderrorreporting/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/clouderrorreporting/v1beta1.ts b/src/apis/clouderrorreporting/v1beta1.ts index ddb1bb8dbc6..1ed70099c55 100644 --- a/src/apis/clouderrorreporting/v1beta1.ts +++ b/src/apis/clouderrorreporting/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -419,11 +419,11 @@ export namespace clouderrorreporting_v1beta1 { deleteEvents( params: Params$Resource$Projects$Deleteevents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteEvents( params?: Params$Resource$Projects$Deleteevents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteEvents( params: Params$Resource$Projects$Deleteevents, options: StreamMethodOptions | BodyResponseCallback, @@ -458,8 +458,8 @@ export namespace clouderrorreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deleteevents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -530,11 +530,11 @@ export namespace clouderrorreporting_v1beta1 { list( params: Params$Resource$Projects$Events$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Events$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Events$List, options: StreamMethodOptions | BodyResponseCallback, @@ -565,8 +565,8 @@ export namespace clouderrorreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Events$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -622,11 +622,11 @@ export namespace clouderrorreporting_v1beta1 { report( params: Params$Resource$Projects$Events$Report, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; report( params?: Params$Resource$Projects$Events$Report, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; report( params: Params$Resource$Projects$Events$Report, options: StreamMethodOptions | BodyResponseCallback, @@ -661,8 +661,8 @@ export namespace clouderrorreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Events$Report; let options = (optionsOrCallback || {}) as MethodOptions; @@ -773,11 +773,11 @@ export namespace clouderrorreporting_v1beta1 { get( params: Params$Resource$Projects$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -806,7 +806,10 @@ export namespace clouderrorreporting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -862,11 +865,11 @@ export namespace clouderrorreporting_v1beta1 { update( params: Params$Resource$Projects$Groups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Groups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Groups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -895,7 +898,10 @@ export namespace clouderrorreporting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -975,11 +981,11 @@ export namespace clouderrorreporting_v1beta1 { list( params: Params$Resource$Projects$Groupstats$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Groupstats$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Groupstats$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1012,8 +1018,8 @@ export namespace clouderrorreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groupstats$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1136,11 +1142,11 @@ export namespace clouderrorreporting_v1beta1 { deleteEvents( params: Params$Resource$Projects$Locations$Deleteevents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteEvents( params?: Params$Resource$Projects$Locations$Deleteevents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteEvents( params: Params$Resource$Projects$Locations$Deleteevents, options: StreamMethodOptions | BodyResponseCallback, @@ -1175,8 +1181,8 @@ export namespace clouderrorreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deleteevents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1247,11 +1253,11 @@ export namespace clouderrorreporting_v1beta1 { list( params: Params$Resource$Projects$Locations$Events$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Events$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Events$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1282,8 +1288,8 @@ export namespace clouderrorreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Events$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1382,11 +1388,11 @@ export namespace clouderrorreporting_v1beta1 { get( params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1415,7 +1421,10 @@ export namespace clouderrorreporting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1471,11 +1480,11 @@ export namespace clouderrorreporting_v1beta1 { update( params: Params$Resource$Projects$Locations$Groups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Groups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Groups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1504,7 +1513,10 @@ export namespace clouderrorreporting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1584,11 +1596,11 @@ export namespace clouderrorreporting_v1beta1 { list( params: Params$Resource$Projects$Locations$Groupstats$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Groupstats$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Groupstats$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1621,8 +1633,8 @@ export namespace clouderrorreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groupstats$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudfunctions/index.ts b/src/apis/cloudfunctions/index.ts index 89aa155d799..34fcd119cb9 100644 --- a/src/apis/cloudfunctions/index.ts +++ b/src/apis/cloudfunctions/index.ts @@ -91,7 +91,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudfunctions/package.json b/src/apis/cloudfunctions/package.json index 2637e720be1..b28ef25f478 100644 --- a/src/apis/cloudfunctions/package.json +++ b/src/apis/cloudfunctions/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudfunctions/v1.ts b/src/apis/cloudfunctions/v1.ts index b664c0b6070..3b152c26bc2 100644 --- a/src/apis/cloudfunctions/v1.ts +++ b/src/apis/cloudfunctions/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -289,6 +289,14 @@ export namespace cloudfunctions_v1 { * The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime). */ runtime?: string | null; + /** + * Output only. + */ + satisfiesPzi?: boolean | null; + /** + * Output only. + */ + satisfiesPzs?: boolean | null; /** * Secret environment variables configuration. */ @@ -740,11 +748,11 @@ export namespace cloudfunctions_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -773,7 +781,10 @@ export namespace cloudfunctions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -825,11 +836,11 @@ export namespace cloudfunctions_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -862,8 +873,8 @@ export namespace cloudfunctions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -958,11 +969,11 @@ export namespace cloudfunctions_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -995,8 +1006,8 @@ export namespace cloudfunctions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1083,11 +1094,11 @@ export namespace cloudfunctions_v1 { call( params: Params$Resource$Projects$Locations$Functions$Call, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; call( params?: Params$Resource$Projects$Locations$Functions$Call, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; call( params: Params$Resource$Projects$Locations$Functions$Call, options: StreamMethodOptions | BodyResponseCallback, @@ -1120,8 +1131,8 @@ export namespace cloudfunctions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Call; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1174,11 +1185,11 @@ export namespace cloudfunctions_v1 { create( params: Params$Resource$Projects$Locations$Functions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Functions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Functions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1207,7 +1218,10 @@ export namespace cloudfunctions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1263,11 +1277,11 @@ export namespace cloudfunctions_v1 { delete( params: Params$Resource$Projects$Locations$Functions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Functions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Functions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1296,7 +1310,10 @@ export namespace cloudfunctions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1349,11 +1366,11 @@ export namespace cloudfunctions_v1 { generateDownloadUrl( params: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateDownloadUrl( params?: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateDownloadUrl( params: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options: StreamMethodOptions | BodyResponseCallback, @@ -1388,8 +1405,8 @@ export namespace cloudfunctions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Generatedownloadurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1446,11 +1463,11 @@ export namespace cloudfunctions_v1 { generateUploadUrl( params: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateUploadUrl( params?: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateUploadUrl( params: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options: StreamMethodOptions | BodyResponseCallback, @@ -1485,8 +1502,8 @@ export namespace cloudfunctions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Generateuploadurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1542,11 +1559,11 @@ export namespace cloudfunctions_v1 { get( params: Params$Resource$Projects$Locations$Functions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Functions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Functions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1575,7 +1592,10 @@ export namespace cloudfunctions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1628,11 +1648,11 @@ export namespace cloudfunctions_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Functions$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Functions$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Functions$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1661,7 +1681,10 @@ export namespace cloudfunctions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1718,11 +1741,11 @@ export namespace cloudfunctions_v1 { list( params: Params$Resource$Projects$Locations$Functions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Functions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Functions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1755,8 +1778,8 @@ export namespace cloudfunctions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1812,11 +1835,11 @@ export namespace cloudfunctions_v1 { patch( params: Params$Resource$Projects$Locations$Functions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Functions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Functions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1845,7 +1868,10 @@ export namespace cloudfunctions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1898,11 +1924,11 @@ export namespace cloudfunctions_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Functions$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Functions$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Functions$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1931,7 +1957,10 @@ export namespace cloudfunctions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1988,11 +2017,11 @@ export namespace cloudfunctions_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Functions$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Functions$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Functions$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2027,8 +2056,8 @@ export namespace cloudfunctions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudfunctions/v1beta2.ts b/src/apis/cloudfunctions/v1beta2.ts index 1df98fc3e6a..50900bd2c4b 100644 --- a/src/apis/cloudfunctions/v1beta2.ts +++ b/src/apis/cloudfunctions/v1beta2.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -577,11 +577,11 @@ export namespace cloudfunctions_v1beta2 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -610,7 +610,7 @@ export namespace cloudfunctions_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -715,11 +715,11 @@ export namespace cloudfunctions_v1beta2 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -752,8 +752,8 @@ export namespace cloudfunctions_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -904,11 +904,11 @@ export namespace cloudfunctions_v1beta2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -941,8 +941,8 @@ export namespace cloudfunctions_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1079,11 +1079,11 @@ export namespace cloudfunctions_v1beta2 { call( params: Params$Resource$Projects$Locations$Functions$Call, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; call( params?: Params$Resource$Projects$Locations$Functions$Call, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; call( params: Params$Resource$Projects$Locations$Functions$Call, options: StreamMethodOptions | BodyResponseCallback, @@ -1116,8 +1116,8 @@ export namespace cloudfunctions_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Call; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1250,11 +1250,11 @@ export namespace cloudfunctions_v1beta2 { create( params: Params$Resource$Projects$Locations$Functions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Functions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Functions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1283,7 +1283,7 @@ export namespace cloudfunctions_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1386,11 +1386,11 @@ export namespace cloudfunctions_v1beta2 { delete( params: Params$Resource$Projects$Locations$Functions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Functions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Functions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1419,7 +1419,7 @@ export namespace cloudfunctions_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1527,11 +1527,11 @@ export namespace cloudfunctions_v1beta2 { generateDownloadUrl( params: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateDownloadUrl( params?: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateDownloadUrl( params: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options: StreamMethodOptions | BodyResponseCallback, @@ -1566,8 +1566,8 @@ export namespace cloudfunctions_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Generatedownloadurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1676,11 +1676,11 @@ export namespace cloudfunctions_v1beta2 { generateUploadUrl( params: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateUploadUrl( params?: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateUploadUrl( params: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options: StreamMethodOptions | BodyResponseCallback, @@ -1715,8 +1715,8 @@ export namespace cloudfunctions_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Generateuploadurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1834,11 +1834,11 @@ export namespace cloudfunctions_v1beta2 { get( params: Params$Resource$Projects$Locations$Functions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Functions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Functions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1867,7 +1867,7 @@ export namespace cloudfunctions_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1979,11 +1979,11 @@ export namespace cloudfunctions_v1beta2 { list( params: Params$Resource$Projects$Locations$Functions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Functions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Functions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2016,8 +2016,8 @@ export namespace cloudfunctions_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2149,11 +2149,11 @@ export namespace cloudfunctions_v1beta2 { update( params: Params$Resource$Projects$Locations$Functions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Functions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Functions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2182,7 +2182,7 @@ export namespace cloudfunctions_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudfunctions/v2.ts b/src/apis/cloudfunctions/v2.ts index ddeba9d1f74..8df8a2af11c 100644 --- a/src/apis/cloudfunctions/v2.ts +++ b/src/apis/cloudfunctions/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1093,11 +1093,11 @@ export namespace cloudfunctions_v2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1130,8 +1130,8 @@ export namespace cloudfunctions_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1218,11 +1218,11 @@ export namespace cloudfunctions_v2 { abortFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; abortFunctionUpgrade( params?: Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; abortFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -1253,7 +1253,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1310,11 +1313,11 @@ export namespace cloudfunctions_v2 { commitFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commitFunctionUpgrade( params?: Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commitFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -1345,7 +1348,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1402,11 +1408,11 @@ export namespace cloudfunctions_v2 { create( params: Params$Resource$Projects$Locations$Functions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Functions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Functions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1435,7 +1441,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1491,11 +1500,11 @@ export namespace cloudfunctions_v2 { delete( params: Params$Resource$Projects$Locations$Functions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Functions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Functions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1524,7 +1533,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1577,11 +1589,11 @@ export namespace cloudfunctions_v2 { detachFunction( params: Params$Resource$Projects$Locations$Functions$Detachfunction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachFunction( params?: Params$Resource$Projects$Locations$Functions$Detachfunction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachFunction( params: Params$Resource$Projects$Locations$Functions$Detachfunction, options: StreamMethodOptions | BodyResponseCallback, @@ -1610,7 +1622,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Detachfunction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1667,11 +1682,11 @@ export namespace cloudfunctions_v2 { generateDownloadUrl( params: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateDownloadUrl( params?: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateDownloadUrl( params: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options: StreamMethodOptions | BodyResponseCallback, @@ -1706,8 +1721,8 @@ export namespace cloudfunctions_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Generatedownloadurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1764,11 +1779,11 @@ export namespace cloudfunctions_v2 { generateUploadUrl( params: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateUploadUrl( params?: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateUploadUrl( params: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options: StreamMethodOptions | BodyResponseCallback, @@ -1803,8 +1818,8 @@ export namespace cloudfunctions_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Generateuploadurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1860,11 +1875,11 @@ export namespace cloudfunctions_v2 { get( params: Params$Resource$Projects$Locations$Functions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Functions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Functions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1893,7 +1908,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1946,11 +1964,11 @@ export namespace cloudfunctions_v2 { getIamPolicy( params: Params$Resource$Projects$Locations$Functions$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Functions$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Functions$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1979,7 +1997,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2036,11 +2057,11 @@ export namespace cloudfunctions_v2 { list( params: Params$Resource$Projects$Locations$Functions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Functions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Functions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2073,8 +2094,8 @@ export namespace cloudfunctions_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2130,11 +2151,11 @@ export namespace cloudfunctions_v2 { patch( params: Params$Resource$Projects$Locations$Functions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Functions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Functions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2163,7 +2184,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2216,11 +2240,11 @@ export namespace cloudfunctions_v2 { redirectFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; redirectFunctionUpgradeTraffic( params?: Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; redirectFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic, options: StreamMethodOptions | BodyResponseCallback, @@ -2251,7 +2275,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2307,11 +2334,11 @@ export namespace cloudfunctions_v2 { rollbackFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollbackFunctionUpgradeTraffic( params?: Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollbackFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic, options: StreamMethodOptions | BodyResponseCallback, @@ -2342,7 +2369,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2398,11 +2428,11 @@ export namespace cloudfunctions_v2 { setIamPolicy( params: Params$Resource$Projects$Locations$Functions$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Functions$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Functions$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2431,7 +2461,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2488,11 +2521,11 @@ export namespace cloudfunctions_v2 { setupFunctionUpgradeConfig( params: Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setupFunctionUpgradeConfig( params?: Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setupFunctionUpgradeConfig( params: Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2523,7 +2556,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2580,11 +2616,11 @@ export namespace cloudfunctions_v2 { testIamPermissions( params: Params$Resource$Projects$Locations$Functions$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Functions$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Functions$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2619,8 +2655,8 @@ export namespace cloudfunctions_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2889,11 +2925,11 @@ export namespace cloudfunctions_v2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2922,7 +2958,10 @@ export namespace cloudfunctions_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2975,11 +3014,11 @@ export namespace cloudfunctions_v2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3012,8 +3051,8 @@ export namespace cloudfunctions_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3103,11 +3142,11 @@ export namespace cloudfunctions_v2 { list( params: Params$Resource$Projects$Locations$Runtimes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Runtimes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Runtimes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3140,8 +3179,8 @@ export namespace cloudfunctions_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudfunctions/v2alpha.ts b/src/apis/cloudfunctions/v2alpha.ts index 7432696bffc..d06f9a5648d 100644 --- a/src/apis/cloudfunctions/v2alpha.ts +++ b/src/apis/cloudfunctions/v2alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1093,11 +1093,11 @@ export namespace cloudfunctions_v2alpha { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1130,8 +1130,8 @@ export namespace cloudfunctions_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1218,11 +1218,11 @@ export namespace cloudfunctions_v2alpha { abortFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; abortFunctionUpgrade( params?: Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; abortFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -1253,7 +1253,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1310,11 +1313,11 @@ export namespace cloudfunctions_v2alpha { commitFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commitFunctionUpgrade( params?: Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commitFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -1345,7 +1348,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1402,11 +1408,11 @@ export namespace cloudfunctions_v2alpha { create( params: Params$Resource$Projects$Locations$Functions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Functions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Functions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1435,7 +1441,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1491,11 +1500,11 @@ export namespace cloudfunctions_v2alpha { delete( params: Params$Resource$Projects$Locations$Functions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Functions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Functions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1524,7 +1533,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1577,11 +1589,11 @@ export namespace cloudfunctions_v2alpha { detachFunction( params: Params$Resource$Projects$Locations$Functions$Detachfunction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachFunction( params?: Params$Resource$Projects$Locations$Functions$Detachfunction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachFunction( params: Params$Resource$Projects$Locations$Functions$Detachfunction, options: StreamMethodOptions | BodyResponseCallback, @@ -1610,7 +1622,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Detachfunction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1667,11 +1682,11 @@ export namespace cloudfunctions_v2alpha { generateDownloadUrl( params: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateDownloadUrl( params?: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateDownloadUrl( params: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options: StreamMethodOptions | BodyResponseCallback, @@ -1706,8 +1721,8 @@ export namespace cloudfunctions_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Generatedownloadurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1764,11 +1779,11 @@ export namespace cloudfunctions_v2alpha { generateUploadUrl( params: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateUploadUrl( params?: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateUploadUrl( params: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options: StreamMethodOptions | BodyResponseCallback, @@ -1803,8 +1818,8 @@ export namespace cloudfunctions_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Generateuploadurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1860,11 +1875,11 @@ export namespace cloudfunctions_v2alpha { get( params: Params$Resource$Projects$Locations$Functions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Functions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Functions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1893,7 +1908,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1946,11 +1964,11 @@ export namespace cloudfunctions_v2alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Functions$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Functions$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Functions$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1979,7 +1997,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2036,11 +2057,11 @@ export namespace cloudfunctions_v2alpha { list( params: Params$Resource$Projects$Locations$Functions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Functions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Functions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2073,8 +2094,8 @@ export namespace cloudfunctions_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2130,11 +2151,11 @@ export namespace cloudfunctions_v2alpha { patch( params: Params$Resource$Projects$Locations$Functions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Functions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Functions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2163,7 +2184,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2216,11 +2240,11 @@ export namespace cloudfunctions_v2alpha { redirectFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; redirectFunctionUpgradeTraffic( params?: Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; redirectFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic, options: StreamMethodOptions | BodyResponseCallback, @@ -2251,7 +2275,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2307,11 +2334,11 @@ export namespace cloudfunctions_v2alpha { rollbackFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollbackFunctionUpgradeTraffic( params?: Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollbackFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic, options: StreamMethodOptions | BodyResponseCallback, @@ -2342,7 +2369,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2398,11 +2428,11 @@ export namespace cloudfunctions_v2alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Functions$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Functions$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Functions$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2431,7 +2461,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2488,11 +2521,11 @@ export namespace cloudfunctions_v2alpha { setupFunctionUpgradeConfig( params: Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setupFunctionUpgradeConfig( params?: Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setupFunctionUpgradeConfig( params: Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2523,7 +2556,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2579,11 +2615,11 @@ export namespace cloudfunctions_v2alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Functions$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Functions$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Functions$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2618,8 +2654,8 @@ export namespace cloudfunctions_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2888,11 +2924,11 @@ export namespace cloudfunctions_v2alpha { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2921,7 +2957,10 @@ export namespace cloudfunctions_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2974,11 +3013,11 @@ export namespace cloudfunctions_v2alpha { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3011,8 +3050,8 @@ export namespace cloudfunctions_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3102,11 +3141,11 @@ export namespace cloudfunctions_v2alpha { list( params: Params$Resource$Projects$Locations$Runtimes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Runtimes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Runtimes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3139,8 +3178,8 @@ export namespace cloudfunctions_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudfunctions/v2beta.ts b/src/apis/cloudfunctions/v2beta.ts index 9adb83bd8cf..ee12aa1c919 100644 --- a/src/apis/cloudfunctions/v2beta.ts +++ b/src/apis/cloudfunctions/v2beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1093,11 +1093,11 @@ export namespace cloudfunctions_v2beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1130,8 +1130,8 @@ export namespace cloudfunctions_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1218,11 +1218,11 @@ export namespace cloudfunctions_v2beta { abortFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; abortFunctionUpgrade( params?: Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; abortFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -1253,7 +1253,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Abortfunctionupgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1310,11 +1313,11 @@ export namespace cloudfunctions_v2beta { commitFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commitFunctionUpgrade( params?: Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commitFunctionUpgrade( params: Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -1345,7 +1348,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Commitfunctionupgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1402,11 +1408,11 @@ export namespace cloudfunctions_v2beta { create( params: Params$Resource$Projects$Locations$Functions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Functions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Functions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1435,7 +1441,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1491,11 +1500,11 @@ export namespace cloudfunctions_v2beta { delete( params: Params$Resource$Projects$Locations$Functions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Functions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Functions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1524,7 +1533,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1577,11 +1589,11 @@ export namespace cloudfunctions_v2beta { detachFunction( params: Params$Resource$Projects$Locations$Functions$Detachfunction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachFunction( params?: Params$Resource$Projects$Locations$Functions$Detachfunction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachFunction( params: Params$Resource$Projects$Locations$Functions$Detachfunction, options: StreamMethodOptions | BodyResponseCallback, @@ -1610,7 +1622,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Detachfunction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1667,11 +1682,11 @@ export namespace cloudfunctions_v2beta { generateDownloadUrl( params: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateDownloadUrl( params?: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateDownloadUrl( params: Params$Resource$Projects$Locations$Functions$Generatedownloadurl, options: StreamMethodOptions | BodyResponseCallback, @@ -1706,8 +1721,8 @@ export namespace cloudfunctions_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Generatedownloadurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1764,11 +1779,11 @@ export namespace cloudfunctions_v2beta { generateUploadUrl( params: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateUploadUrl( params?: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateUploadUrl( params: Params$Resource$Projects$Locations$Functions$Generateuploadurl, options: StreamMethodOptions | BodyResponseCallback, @@ -1803,8 +1818,8 @@ export namespace cloudfunctions_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Generateuploadurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1860,11 +1875,11 @@ export namespace cloudfunctions_v2beta { get( params: Params$Resource$Projects$Locations$Functions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Functions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Functions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1893,7 +1908,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1946,11 +1964,11 @@ export namespace cloudfunctions_v2beta { getIamPolicy( params: Params$Resource$Projects$Locations$Functions$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Functions$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Functions$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1979,7 +1997,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2036,11 +2057,11 @@ export namespace cloudfunctions_v2beta { list( params: Params$Resource$Projects$Locations$Functions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Functions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Functions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2073,8 +2094,8 @@ export namespace cloudfunctions_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2130,11 +2151,11 @@ export namespace cloudfunctions_v2beta { patch( params: Params$Resource$Projects$Locations$Functions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Functions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Functions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2163,7 +2184,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2216,11 +2240,11 @@ export namespace cloudfunctions_v2beta { redirectFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; redirectFunctionUpgradeTraffic( params?: Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; redirectFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic, options: StreamMethodOptions | BodyResponseCallback, @@ -2251,7 +2275,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Redirectfunctionupgradetraffic; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2307,11 +2334,11 @@ export namespace cloudfunctions_v2beta { rollbackFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollbackFunctionUpgradeTraffic( params?: Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollbackFunctionUpgradeTraffic( params: Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic, options: StreamMethodOptions | BodyResponseCallback, @@ -2342,7 +2369,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Rollbackfunctionupgradetraffic; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2398,11 +2428,11 @@ export namespace cloudfunctions_v2beta { setIamPolicy( params: Params$Resource$Projects$Locations$Functions$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Functions$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Functions$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2431,7 +2461,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2488,11 +2521,11 @@ export namespace cloudfunctions_v2beta { setupFunctionUpgradeConfig( params: Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setupFunctionUpgradeConfig( params?: Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setupFunctionUpgradeConfig( params: Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2523,7 +2556,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Setupfunctionupgradeconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2579,11 +2615,11 @@ export namespace cloudfunctions_v2beta { testIamPermissions( params: Params$Resource$Projects$Locations$Functions$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Functions$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Functions$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2618,8 +2654,8 @@ export namespace cloudfunctions_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Functions$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2888,11 +2924,11 @@ export namespace cloudfunctions_v2beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2921,7 +2957,10 @@ export namespace cloudfunctions_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2974,11 +3013,11 @@ export namespace cloudfunctions_v2beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3011,8 +3050,8 @@ export namespace cloudfunctions_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3102,11 +3141,11 @@ export namespace cloudfunctions_v2beta { list( params: Params$Resource$Projects$Locations$Runtimes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Runtimes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Runtimes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3139,8 +3178,8 @@ export namespace cloudfunctions_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudidentity/index.ts b/src/apis/cloudidentity/index.ts index 73991ddd10f..43241055f76 100644 --- a/src/apis/cloudidentity/index.ts +++ b/src/apis/cloudidentity/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudidentity/package.json b/src/apis/cloudidentity/package.json index ac0aa3e2cd1..820d9f857b2 100644 --- a/src/apis/cloudidentity/package.json +++ b/src/apis/cloudidentity/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudidentity/v1.ts b/src/apis/cloudidentity/v1.ts index 680a709dec2..d2b5fcff7ef 100644 --- a/src/apis/cloudidentity/v1.ts +++ b/src/apis/cloudidentity/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1741,11 +1741,11 @@ export namespace cloudidentity_v1 { cancel( params: Params$Resource$Customers$Userinvitations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Customers$Userinvitations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Customers$Userinvitations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1774,7 +1774,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Userinvitations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1827,11 +1830,11 @@ export namespace cloudidentity_v1 { get( params: Params$Resource$Customers$Userinvitations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Userinvitations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Userinvitations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1860,7 +1863,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Userinvitations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1913,11 +1919,11 @@ export namespace cloudidentity_v1 { isInvitableUser( params: Params$Resource$Customers$Userinvitations$Isinvitableuser, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; isInvitableUser( params?: Params$Resource$Customers$Userinvitations$Isinvitableuser, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; isInvitableUser( params: Params$Resource$Customers$Userinvitations$Isinvitableuser, options: StreamMethodOptions | BodyResponseCallback, @@ -1952,8 +1958,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Userinvitations$Isinvitableuser; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2010,11 +2016,11 @@ export namespace cloudidentity_v1 { list( params: Params$Resource$Customers$Userinvitations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Userinvitations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Userinvitations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2049,8 +2055,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Userinvitations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2106,11 +2112,11 @@ export namespace cloudidentity_v1 { send( params: Params$Resource$Customers$Userinvitations$Send, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; send( params?: Params$Resource$Customers$Userinvitations$Send, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; send( params: Params$Resource$Customers$Userinvitations$Send, options: StreamMethodOptions | BodyResponseCallback, @@ -2139,7 +2145,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Userinvitations$Send; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2263,11 +2272,11 @@ export namespace cloudidentity_v1 { cancelWipe( params: Params$Resource$Devices$Cancelwipe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelWipe( params?: Params$Resource$Devices$Cancelwipe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelWipe( params: Params$Resource$Devices$Cancelwipe, options: StreamMethodOptions | BodyResponseCallback, @@ -2296,7 +2305,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Cancelwipe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2352,11 +2364,11 @@ export namespace cloudidentity_v1 { create( params: Params$Resource$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2385,7 +2397,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2437,11 +2452,11 @@ export namespace cloudidentity_v1 { delete( params: Params$Resource$Devices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Devices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Devices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2470,7 +2485,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2522,11 +2540,13 @@ export namespace cloudidentity_v1 { get( params: Params$Resource$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2561,8 +2581,10 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2616,11 +2638,13 @@ export namespace cloudidentity_v1 { list( params: Params$Resource$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2655,8 +2679,10 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2710,11 +2736,11 @@ export namespace cloudidentity_v1 { wipe( params: Params$Resource$Devices$Wipe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wipe( params?: Params$Resource$Devices$Wipe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wipe( params: Params$Resource$Devices$Wipe, options: StreamMethodOptions | BodyResponseCallback, @@ -2743,7 +2769,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Wipe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2887,11 +2916,11 @@ export namespace cloudidentity_v1 { approve( params: Params$Resource$Devices$Deviceusers$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Devices$Deviceusers$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Devices$Deviceusers$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -2920,7 +2949,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2976,11 +3008,11 @@ export namespace cloudidentity_v1 { block( params: Params$Resource$Devices$Deviceusers$Block, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; block( params?: Params$Resource$Devices$Deviceusers$Block, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; block( params: Params$Resource$Devices$Deviceusers$Block, options: StreamMethodOptions | BodyResponseCallback, @@ -3009,7 +3041,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Block; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3062,11 +3097,11 @@ export namespace cloudidentity_v1 { cancelWipe( params: Params$Resource$Devices$Deviceusers$Cancelwipe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelWipe( params?: Params$Resource$Devices$Deviceusers$Cancelwipe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelWipe( params: Params$Resource$Devices$Deviceusers$Cancelwipe, options: StreamMethodOptions | BodyResponseCallback, @@ -3095,7 +3130,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Cancelwipe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3151,11 +3189,11 @@ export namespace cloudidentity_v1 { delete( params: Params$Resource$Devices$Deviceusers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Devices$Deviceusers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Devices$Deviceusers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3184,7 +3222,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3237,11 +3278,13 @@ export namespace cloudidentity_v1 { get( params: Params$Resource$Devices$Deviceusers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Devices$Deviceusers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Devices$Deviceusers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3276,8 +3319,10 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3332,11 +3377,13 @@ export namespace cloudidentity_v1 { list( params: Params$Resource$Devices$Deviceusers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Devices$Deviceusers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Devices$Deviceusers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3371,8 +3418,10 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3430,11 +3479,13 @@ export namespace cloudidentity_v1 { lookup( params: Params$Resource$Devices$Deviceusers$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Devices$Deviceusers$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; lookup( params: Params$Resource$Devices$Deviceusers$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -3469,8 +3520,10 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3528,11 +3581,11 @@ export namespace cloudidentity_v1 { wipe( params: Params$Resource$Devices$Deviceusers$Wipe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wipe( params?: Params$Resource$Devices$Deviceusers$Wipe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wipe( params: Params$Resource$Devices$Deviceusers$Wipe, options: StreamMethodOptions | BodyResponseCallback, @@ -3561,7 +3614,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Wipe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3746,11 +3802,13 @@ export namespace cloudidentity_v1 { get( params: Params$Resource$Devices$Deviceusers$Clientstates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Devices$Deviceusers$Clientstates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Devices$Deviceusers$Clientstates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3785,8 +3843,10 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Clientstates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3841,11 +3901,13 @@ export namespace cloudidentity_v1 { list( params: Params$Resource$Devices$Deviceusers$Clientstates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Devices$Deviceusers$Clientstates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Devices$Deviceusers$Clientstates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3880,8 +3942,10 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Clientstates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3939,11 +4003,11 @@ export namespace cloudidentity_v1 { patch( params: Params$Resource$Devices$Deviceusers$Clientstates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Devices$Deviceusers$Clientstates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Devices$Deviceusers$Clientstates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3972,7 +4036,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Clientstates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4089,11 +4156,11 @@ export namespace cloudidentity_v1 { create( params: Params$Resource$Groups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Groups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Groups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4122,7 +4189,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4174,11 +4244,11 @@ export namespace cloudidentity_v1 { delete( params: Params$Resource$Groups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Groups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Groups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4207,7 +4277,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4259,11 +4332,11 @@ export namespace cloudidentity_v1 { get( params: Params$Resource$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4292,7 +4365,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4344,11 +4420,11 @@ export namespace cloudidentity_v1 { getSecuritySettings( params: Params$Resource$Groups$Getsecuritysettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSecuritySettings( params?: Params$Resource$Groups$Getsecuritysettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSecuritySettings( params: Params$Resource$Groups$Getsecuritysettings, options: StreamMethodOptions | BodyResponseCallback, @@ -4379,7 +4455,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Getsecuritysettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4432,11 +4511,11 @@ export namespace cloudidentity_v1 { list( params: Params$Resource$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4467,8 +4546,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4520,11 +4599,11 @@ export namespace cloudidentity_v1 { lookup( params: Params$Resource$Groups$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Groups$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Groups$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -4559,8 +4638,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4612,11 +4691,11 @@ export namespace cloudidentity_v1 { patch( params: Params$Resource$Groups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Groups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Groups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4645,7 +4724,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4697,11 +4779,11 @@ export namespace cloudidentity_v1 { search( params: Params$Resource$Groups$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Groups$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Groups$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -4734,8 +4816,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4787,11 +4869,11 @@ export namespace cloudidentity_v1 { updateSecuritySettings( params: Params$Resource$Groups$Updatesecuritysettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecuritySettings( params?: Params$Resource$Groups$Updatesecuritysettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecuritySettings( params: Params$Resource$Groups$Updatesecuritysettings, options: StreamMethodOptions | BodyResponseCallback, @@ -4822,7 +4904,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Updatesecuritysettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4994,11 +5079,13 @@ export namespace cloudidentity_v1 { checkTransitiveMembership( params: Params$Resource$Groups$Memberships$Checktransitivemembership, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkTransitiveMembership( params?: Params$Resource$Groups$Memberships$Checktransitivemembership, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; checkTransitiveMembership( params: Params$Resource$Groups$Memberships$Checktransitivemembership, options: StreamMethodOptions | BodyResponseCallback, @@ -5033,8 +5120,10 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Checktransitivemembership; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5092,11 +5181,11 @@ export namespace cloudidentity_v1 { create( params: Params$Resource$Groups$Memberships$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Groups$Memberships$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Groups$Memberships$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5125,7 +5214,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5181,11 +5273,11 @@ export namespace cloudidentity_v1 { delete( params: Params$Resource$Groups$Memberships$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Groups$Memberships$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Groups$Memberships$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5214,7 +5306,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5267,11 +5362,11 @@ export namespace cloudidentity_v1 { get( params: Params$Resource$Groups$Memberships$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Groups$Memberships$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Groups$Memberships$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5300,7 +5395,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5353,11 +5451,11 @@ export namespace cloudidentity_v1 { getMembershipGraph( params: Params$Resource$Groups$Memberships$Getmembershipgraph, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMembershipGraph( params?: Params$Resource$Groups$Memberships$Getmembershipgraph, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getMembershipGraph( params: Params$Resource$Groups$Memberships$Getmembershipgraph, options: StreamMethodOptions | BodyResponseCallback, @@ -5386,7 +5484,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Getmembershipgraph; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5441,11 +5542,11 @@ export namespace cloudidentity_v1 { list( params: Params$Resource$Groups$Memberships$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Groups$Memberships$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Groups$Memberships$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5478,8 +5579,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5535,11 +5636,11 @@ export namespace cloudidentity_v1 { lookup( params: Params$Resource$Groups$Memberships$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Groups$Memberships$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Groups$Memberships$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -5574,8 +5675,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5633,11 +5734,11 @@ export namespace cloudidentity_v1 { modifyMembershipRoles( params: Params$Resource$Groups$Memberships$Modifymembershiproles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyMembershipRoles( params?: Params$Resource$Groups$Memberships$Modifymembershiproles, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyMembershipRoles( params: Params$Resource$Groups$Memberships$Modifymembershiproles, options: StreamMethodOptions | BodyResponseCallback, @@ -5672,8 +5773,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Modifymembershiproles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5731,11 +5832,11 @@ export namespace cloudidentity_v1 { searchDirectGroups( params: Params$Resource$Groups$Memberships$Searchdirectgroups, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchDirectGroups( params?: Params$Resource$Groups$Memberships$Searchdirectgroups, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchDirectGroups( params: Params$Resource$Groups$Memberships$Searchdirectgroups, options: StreamMethodOptions | BodyResponseCallback, @@ -5770,8 +5871,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Searchdirectgroups; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5826,11 +5927,11 @@ export namespace cloudidentity_v1 { searchTransitiveGroups( params: Params$Resource$Groups$Memberships$Searchtransitivegroups, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchTransitiveGroups( params?: Params$Resource$Groups$Memberships$Searchtransitivegroups, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchTransitiveGroups( params: Params$Resource$Groups$Memberships$Searchtransitivegroups, options: StreamMethodOptions | BodyResponseCallback, @@ -5865,8 +5966,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Searchtransitivegroups; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5924,11 +6025,13 @@ export namespace cloudidentity_v1 { searchTransitiveMemberships( params: Params$Resource$Groups$Memberships$Searchtransitivememberships, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchTransitiveMemberships( params?: Params$Resource$Groups$Memberships$Searchtransitivememberships, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchTransitiveMemberships( params: Params$Resource$Groups$Memberships$Searchtransitivememberships, options: StreamMethodOptions | BodyResponseCallback, @@ -5963,8 +6066,10 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Searchtransitivememberships; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6185,11 +6290,11 @@ export namespace cloudidentity_v1 { create( params: Params$Resource$Inboundsamlssoprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inboundsamlssoprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inboundsamlssoprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6218,7 +6323,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6274,11 +6382,11 @@ export namespace cloudidentity_v1 { delete( params: Params$Resource$Inboundsamlssoprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inboundsamlssoprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inboundsamlssoprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6307,7 +6415,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6360,11 +6471,11 @@ export namespace cloudidentity_v1 { get( params: Params$Resource$Inboundsamlssoprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inboundsamlssoprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inboundsamlssoprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6397,8 +6508,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6451,11 +6562,13 @@ export namespace cloudidentity_v1 { list( params: Params$Resource$Inboundsamlssoprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inboundsamlssoprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Inboundsamlssoprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6490,8 +6603,10 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6549,11 +6664,11 @@ export namespace cloudidentity_v1 { patch( params: Params$Resource$Inboundsamlssoprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inboundsamlssoprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inboundsamlssoprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6582,7 +6697,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6695,11 +6813,11 @@ export namespace cloudidentity_v1 { add( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Add, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; add( params?: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Add, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; add( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Add, options: StreamMethodOptions | BodyResponseCallback, @@ -6728,7 +6846,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Add; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6785,11 +6906,11 @@ export namespace cloudidentity_v1 { delete( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6818,7 +6939,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6872,11 +6996,11 @@ export namespace cloudidentity_v1 { get( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6905,7 +7029,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6959,11 +7086,11 @@ export namespace cloudidentity_v1 { list( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6998,8 +7125,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Idpcredentials$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7105,11 +7232,11 @@ export namespace cloudidentity_v1 { create( params: Params$Resource$Inboundssoassignments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inboundssoassignments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inboundssoassignments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7138,7 +7265,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundssoassignments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7194,11 +7324,11 @@ export namespace cloudidentity_v1 { delete( params: Params$Resource$Inboundssoassignments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inboundssoassignments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inboundssoassignments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7227,7 +7357,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundssoassignments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7280,11 +7413,11 @@ export namespace cloudidentity_v1 { get( params: Params$Resource$Inboundssoassignments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inboundssoassignments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inboundssoassignments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7317,8 +7450,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundssoassignments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7371,11 +7504,13 @@ export namespace cloudidentity_v1 { list( params: Params$Resource$Inboundssoassignments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inboundssoassignments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Inboundssoassignments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7410,8 +7545,10 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundssoassignments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7469,11 +7606,11 @@ export namespace cloudidentity_v1 { patch( params: Params$Resource$Inboundssoassignments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inboundssoassignments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inboundssoassignments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7502,7 +7639,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundssoassignments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7615,11 +7755,11 @@ export namespace cloudidentity_v1 { get( params: Params$Resource$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7648,7 +7788,10 @@ export namespace cloudidentity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7700,11 +7843,11 @@ export namespace cloudidentity_v1 { list( params: Params$Resource$Policies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Policies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Policies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7737,8 +7880,8 @@ export namespace cloudidentity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudidentity/v1beta1.ts b/src/apis/cloudidentity/v1beta1.ts index 615de0d031b..8ea30d4d68f 100644 --- a/src/apis/cloudidentity/v1beta1.ts +++ b/src/apis/cloudidentity/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2293,11 +2293,11 @@ export namespace cloudidentity_v1beta1 { cancel( params: Params$Resource$Customers$Userinvitations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Customers$Userinvitations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Customers$Userinvitations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2326,7 +2326,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Userinvitations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2382,11 +2385,11 @@ export namespace cloudidentity_v1beta1 { get( params: Params$Resource$Customers$Userinvitations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Userinvitations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Userinvitations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2415,7 +2418,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Userinvitations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2468,11 +2474,11 @@ export namespace cloudidentity_v1beta1 { isInvitableUser( params: Params$Resource$Customers$Userinvitations$Isinvitableuser, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; isInvitableUser( params?: Params$Resource$Customers$Userinvitations$Isinvitableuser, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; isInvitableUser( params: Params$Resource$Customers$Userinvitations$Isinvitableuser, options: StreamMethodOptions | BodyResponseCallback, @@ -2507,8 +2513,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Userinvitations$Isinvitableuser; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2565,11 +2571,11 @@ export namespace cloudidentity_v1beta1 { list( params: Params$Resource$Customers$Userinvitations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Userinvitations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Userinvitations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2604,8 +2610,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Userinvitations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2661,11 +2667,11 @@ export namespace cloudidentity_v1beta1 { send( params: Params$Resource$Customers$Userinvitations$Send, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; send( params?: Params$Resource$Customers$Userinvitations$Send, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; send( params: Params$Resource$Customers$Userinvitations$Send, options: StreamMethodOptions | BodyResponseCallback, @@ -2694,7 +2700,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Userinvitations$Send; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2821,11 +2830,11 @@ export namespace cloudidentity_v1beta1 { cancelWipe( params: Params$Resource$Devices$Cancelwipe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelWipe( params?: Params$Resource$Devices$Cancelwipe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelWipe( params: Params$Resource$Devices$Cancelwipe, options: StreamMethodOptions | BodyResponseCallback, @@ -2854,7 +2863,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Cancelwipe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2910,11 +2922,11 @@ export namespace cloudidentity_v1beta1 { create( params: Params$Resource$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2943,7 +2955,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2995,11 +3010,11 @@ export namespace cloudidentity_v1beta1 { delete( params: Params$Resource$Devices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Devices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Devices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3028,7 +3043,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3080,11 +3098,11 @@ export namespace cloudidentity_v1beta1 { get( params: Params$Resource$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3113,7 +3131,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3165,11 +3186,11 @@ export namespace cloudidentity_v1beta1 { list( params: Params$Resource$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3200,8 +3221,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3253,11 +3274,11 @@ export namespace cloudidentity_v1beta1 { wipe( params: Params$Resource$Devices$Wipe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wipe( params?: Params$Resource$Devices$Wipe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wipe( params: Params$Resource$Devices$Wipe, options: StreamMethodOptions | BodyResponseCallback, @@ -3286,7 +3307,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Wipe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3428,11 +3452,11 @@ export namespace cloudidentity_v1beta1 { approve( params: Params$Resource$Devices$Deviceusers$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Devices$Deviceusers$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Devices$Deviceusers$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -3461,7 +3485,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3517,11 +3544,11 @@ export namespace cloudidentity_v1beta1 { block( params: Params$Resource$Devices$Deviceusers$Block, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; block( params?: Params$Resource$Devices$Deviceusers$Block, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; block( params: Params$Resource$Devices$Deviceusers$Block, options: StreamMethodOptions | BodyResponseCallback, @@ -3550,7 +3577,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Block; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3606,11 +3636,11 @@ export namespace cloudidentity_v1beta1 { cancelWipe( params: Params$Resource$Devices$Deviceusers$Cancelwipe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelWipe( params?: Params$Resource$Devices$Deviceusers$Cancelwipe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelWipe( params: Params$Resource$Devices$Deviceusers$Cancelwipe, options: StreamMethodOptions | BodyResponseCallback, @@ -3639,7 +3669,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Cancelwipe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3695,11 +3728,11 @@ export namespace cloudidentity_v1beta1 { delete( params: Params$Resource$Devices$Deviceusers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Devices$Deviceusers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Devices$Deviceusers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3728,7 +3761,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3781,11 +3817,11 @@ export namespace cloudidentity_v1beta1 { get( params: Params$Resource$Devices$Deviceusers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Devices$Deviceusers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Devices$Deviceusers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3814,7 +3850,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3867,11 +3906,11 @@ export namespace cloudidentity_v1beta1 { list( params: Params$Resource$Devices$Deviceusers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Devices$Deviceusers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Devices$Deviceusers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3904,8 +3943,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3961,11 +4000,11 @@ export namespace cloudidentity_v1beta1 { lookup( params: Params$Resource$Devices$Deviceusers$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Devices$Deviceusers$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Devices$Deviceusers$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -4000,8 +4039,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4059,11 +4098,11 @@ export namespace cloudidentity_v1beta1 { wipe( params: Params$Resource$Devices$Deviceusers$Wipe, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wipe( params?: Params$Resource$Devices$Deviceusers$Wipe, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wipe( params: Params$Resource$Devices$Deviceusers$Wipe, options: StreamMethodOptions | BodyResponseCallback, @@ -4092,7 +4131,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Wipe; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4280,11 +4322,11 @@ export namespace cloudidentity_v1beta1 { get( params: Params$Resource$Devices$Deviceusers$Clientstates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Devices$Deviceusers$Clientstates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Devices$Deviceusers$Clientstates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4313,7 +4355,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Clientstates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4366,11 +4411,11 @@ export namespace cloudidentity_v1beta1 { patch( params: Params$Resource$Devices$Deviceusers$Clientstates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Devices$Deviceusers$Clientstates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Devices$Deviceusers$Clientstates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4399,7 +4444,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Deviceusers$Clientstates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4493,11 +4541,11 @@ export namespace cloudidentity_v1beta1 { create( params: Params$Resource$Groups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Groups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Groups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4526,7 +4574,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4578,11 +4629,11 @@ export namespace cloudidentity_v1beta1 { delete( params: Params$Resource$Groups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Groups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Groups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4611,7 +4662,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4663,11 +4717,11 @@ export namespace cloudidentity_v1beta1 { get( params: Params$Resource$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4696,7 +4750,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4748,11 +4805,11 @@ export namespace cloudidentity_v1beta1 { getSecuritySettings( params: Params$Resource$Groups$Getsecuritysettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSecuritySettings( params?: Params$Resource$Groups$Getsecuritysettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSecuritySettings( params: Params$Resource$Groups$Getsecuritysettings, options: StreamMethodOptions | BodyResponseCallback, @@ -4783,7 +4840,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Getsecuritysettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4836,11 +4896,11 @@ export namespace cloudidentity_v1beta1 { list( params: Params$Resource$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4871,8 +4931,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4924,11 +4984,11 @@ export namespace cloudidentity_v1beta1 { lookup( params: Params$Resource$Groups$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Groups$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Groups$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -4963,8 +5023,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5019,11 +5079,11 @@ export namespace cloudidentity_v1beta1 { patch( params: Params$Resource$Groups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Groups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Groups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5052,7 +5112,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5104,11 +5167,11 @@ export namespace cloudidentity_v1beta1 { search( params: Params$Resource$Groups$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Groups$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Groups$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -5141,8 +5204,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5197,11 +5260,11 @@ export namespace cloudidentity_v1beta1 { updateSecuritySettings( params: Params$Resource$Groups$Updatesecuritysettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecuritySettings( params?: Params$Resource$Groups$Updatesecuritysettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecuritySettings( params: Params$Resource$Groups$Updatesecuritysettings, options: StreamMethodOptions | BodyResponseCallback, @@ -5232,7 +5295,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Updatesecuritysettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5408,11 +5474,13 @@ export namespace cloudidentity_v1beta1 { checkTransitiveMembership( params: Params$Resource$Groups$Memberships$Checktransitivemembership, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkTransitiveMembership( params?: Params$Resource$Groups$Memberships$Checktransitivemembership, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; checkTransitiveMembership( params: Params$Resource$Groups$Memberships$Checktransitivemembership, options: StreamMethodOptions | BodyResponseCallback, @@ -5447,8 +5515,10 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Checktransitivemembership; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5507,11 +5577,11 @@ export namespace cloudidentity_v1beta1 { create( params: Params$Resource$Groups$Memberships$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Groups$Memberships$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Groups$Memberships$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5540,7 +5610,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5596,11 +5669,11 @@ export namespace cloudidentity_v1beta1 { delete( params: Params$Resource$Groups$Memberships$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Groups$Memberships$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Groups$Memberships$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5629,7 +5702,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5682,11 +5758,11 @@ export namespace cloudidentity_v1beta1 { get( params: Params$Resource$Groups$Memberships$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Groups$Memberships$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Groups$Memberships$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5715,7 +5791,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5768,11 +5847,11 @@ export namespace cloudidentity_v1beta1 { getMembershipGraph( params: Params$Resource$Groups$Memberships$Getmembershipgraph, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMembershipGraph( params?: Params$Resource$Groups$Memberships$Getmembershipgraph, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getMembershipGraph( params: Params$Resource$Groups$Memberships$Getmembershipgraph, options: StreamMethodOptions | BodyResponseCallback, @@ -5801,7 +5880,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Getmembershipgraph; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5856,11 +5938,11 @@ export namespace cloudidentity_v1beta1 { list( params: Params$Resource$Groups$Memberships$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Groups$Memberships$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Groups$Memberships$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5893,8 +5975,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5950,11 +6032,11 @@ export namespace cloudidentity_v1beta1 { lookup( params: Params$Resource$Groups$Memberships$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Groups$Memberships$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Groups$Memberships$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -5989,8 +6071,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6048,11 +6130,11 @@ export namespace cloudidentity_v1beta1 { modifyMembershipRoles( params: Params$Resource$Groups$Memberships$Modifymembershiproles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyMembershipRoles( params?: Params$Resource$Groups$Memberships$Modifymembershiproles, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyMembershipRoles( params: Params$Resource$Groups$Memberships$Modifymembershiproles, options: StreamMethodOptions | BodyResponseCallback, @@ -6087,8 +6169,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Modifymembershiproles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6146,11 +6228,11 @@ export namespace cloudidentity_v1beta1 { searchDirectGroups( params: Params$Resource$Groups$Memberships$Searchdirectgroups, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchDirectGroups( params?: Params$Resource$Groups$Memberships$Searchdirectgroups, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchDirectGroups( params: Params$Resource$Groups$Memberships$Searchdirectgroups, options: StreamMethodOptions | BodyResponseCallback, @@ -6185,8 +6267,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Searchdirectgroups; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6241,11 +6323,11 @@ export namespace cloudidentity_v1beta1 { searchTransitiveGroups( params: Params$Resource$Groups$Memberships$Searchtransitivegroups, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchTransitiveGroups( params?: Params$Resource$Groups$Memberships$Searchtransitivegroups, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchTransitiveGroups( params: Params$Resource$Groups$Memberships$Searchtransitivegroups, options: StreamMethodOptions | BodyResponseCallback, @@ -6280,8 +6362,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Searchtransitivegroups; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6339,11 +6421,13 @@ export namespace cloudidentity_v1beta1 { searchTransitiveMemberships( params: Params$Resource$Groups$Memberships$Searchtransitivememberships, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchTransitiveMemberships( params?: Params$Resource$Groups$Memberships$Searchtransitivememberships, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchTransitiveMemberships( params: Params$Resource$Groups$Memberships$Searchtransitivememberships, options: StreamMethodOptions | BodyResponseCallback, @@ -6378,8 +6462,10 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Memberships$Searchtransitivememberships; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6601,11 +6687,11 @@ export namespace cloudidentity_v1beta1 { create( params: Params$Resource$Inboundsamlssoprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inboundsamlssoprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inboundsamlssoprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6634,7 +6720,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6690,11 +6779,11 @@ export namespace cloudidentity_v1beta1 { delete( params: Params$Resource$Inboundsamlssoprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inboundsamlssoprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inboundsamlssoprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6723,7 +6812,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6776,11 +6868,11 @@ export namespace cloudidentity_v1beta1 { get( params: Params$Resource$Inboundsamlssoprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inboundsamlssoprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inboundsamlssoprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6813,8 +6905,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6867,11 +6959,13 @@ export namespace cloudidentity_v1beta1 { list( params: Params$Resource$Inboundsamlssoprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inboundsamlssoprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Inboundsamlssoprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6906,8 +7000,10 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6965,11 +7061,11 @@ export namespace cloudidentity_v1beta1 { patch( params: Params$Resource$Inboundsamlssoprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inboundsamlssoprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inboundsamlssoprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6998,7 +7094,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7111,11 +7210,11 @@ export namespace cloudidentity_v1beta1 { add( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Add, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; add( params?: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Add, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; add( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Add, options: StreamMethodOptions | BodyResponseCallback, @@ -7144,7 +7243,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Add; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7201,11 +7303,11 @@ export namespace cloudidentity_v1beta1 { delete( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7234,7 +7336,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7288,11 +7393,11 @@ export namespace cloudidentity_v1beta1 { get( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7321,7 +7426,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Idpcredentials$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7375,11 +7483,11 @@ export namespace cloudidentity_v1beta1 { list( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inboundsamlssoprofiles$Idpcredentials$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7414,8 +7522,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundsamlssoprofiles$Idpcredentials$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7521,11 +7629,11 @@ export namespace cloudidentity_v1beta1 { create( params: Params$Resource$Inboundssoassignments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inboundssoassignments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inboundssoassignments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7554,7 +7662,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundssoassignments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7610,11 +7721,11 @@ export namespace cloudidentity_v1beta1 { delete( params: Params$Resource$Inboundssoassignments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inboundssoassignments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inboundssoassignments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7643,7 +7754,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundssoassignments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7696,11 +7810,11 @@ export namespace cloudidentity_v1beta1 { get( params: Params$Resource$Inboundssoassignments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inboundssoassignments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inboundssoassignments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7733,8 +7847,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundssoassignments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7787,11 +7901,13 @@ export namespace cloudidentity_v1beta1 { list( params: Params$Resource$Inboundssoassignments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inboundssoassignments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Inboundssoassignments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7826,8 +7942,10 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundssoassignments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7885,11 +8003,11 @@ export namespace cloudidentity_v1beta1 { patch( params: Params$Resource$Inboundssoassignments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inboundssoassignments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inboundssoassignments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7918,7 +8036,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inboundssoassignments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8040,11 +8161,11 @@ export namespace cloudidentity_v1beta1 { list( params: Params$Resource$Orgunits$Memberships$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Orgunits$Memberships$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Orgunits$Memberships$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8079,8 +8200,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orgunits$Memberships$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8136,11 +8257,11 @@ export namespace cloudidentity_v1beta1 { move( params: Params$Resource$Orgunits$Memberships$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Orgunits$Memberships$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Orgunits$Memberships$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -8169,7 +8290,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orgunits$Memberships$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8268,11 +8392,11 @@ export namespace cloudidentity_v1beta1 { get( params: Params$Resource$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8301,7 +8425,10 @@ export namespace cloudidentity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8353,11 +8480,11 @@ export namespace cloudidentity_v1beta1 { list( params: Params$Resource$Policies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Policies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Policies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8390,8 +8517,8 @@ export namespace cloudidentity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudiot/index.ts b/src/apis/cloudiot/index.ts index 523c103ded1..8b6ddfa07b6 100644 --- a/src/apis/cloudiot/index.ts +++ b/src/apis/cloudiot/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudiot/package.json b/src/apis/cloudiot/package.json index 6e830200bf9..d36b5cc81df 100644 --- a/src/apis/cloudiot/package.json +++ b/src/apis/cloudiot/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudiot/v1.ts b/src/apis/cloudiot/v1.ts index 9886774dd7e..37764120bfe 100644 --- a/src/apis/cloudiot/v1.ts +++ b/src/apis/cloudiot/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -737,11 +737,11 @@ export namespace cloudiot_v1 { bindDeviceToGateway( params: Params$Resource$Projects$Locations$Registries$Binddevicetogateway, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bindDeviceToGateway( params?: Params$Resource$Projects$Locations$Registries$Binddevicetogateway, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bindDeviceToGateway( params: Params$Resource$Projects$Locations$Registries$Binddevicetogateway, options: StreamMethodOptions | BodyResponseCallback, @@ -776,8 +776,8 @@ export namespace cloudiot_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Binddevicetogateway; let options = (optionsOrCallback || {}) as MethodOptions; @@ -899,11 +899,11 @@ export namespace cloudiot_v1 { create( params: Params$Resource$Projects$Locations$Registries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Registries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Registries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -932,7 +932,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1029,11 +1029,11 @@ export namespace cloudiot_v1 { delete( params: Params$Resource$Projects$Locations$Registries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Registries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Registries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1062,7 +1062,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1165,11 +1165,11 @@ export namespace cloudiot_v1 { get( params: Params$Resource$Projects$Locations$Registries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Registries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Registries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1198,7 +1198,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1305,11 +1305,11 @@ export namespace cloudiot_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Registries$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Registries$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Registries$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1338,7 +1338,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1443,11 +1443,11 @@ export namespace cloudiot_v1 { list( params: Params$Resource$Projects$Locations$Registries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Registries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Registries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1482,8 +1482,8 @@ export namespace cloudiot_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1608,11 +1608,11 @@ export namespace cloudiot_v1 { patch( params: Params$Resource$Projects$Locations$Registries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Registries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Registries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1641,7 +1641,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1748,11 +1748,11 @@ export namespace cloudiot_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Registries$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Registries$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Registries$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1781,7 +1781,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1890,11 +1890,11 @@ export namespace cloudiot_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Registries$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Registries$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Registries$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1929,8 +1929,8 @@ export namespace cloudiot_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2039,11 +2039,11 @@ export namespace cloudiot_v1 { unbindDeviceFromGateway( params: Params$Resource$Projects$Locations$Registries$Unbinddevicefromgateway, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unbindDeviceFromGateway( params?: Params$Resource$Projects$Locations$Registries$Unbinddevicefromgateway, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unbindDeviceFromGateway( params: Params$Resource$Projects$Locations$Registries$Unbinddevicefromgateway, options: StreamMethodOptions | BodyResponseCallback, @@ -2078,8 +2078,8 @@ export namespace cloudiot_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Unbinddevicefromgateway; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2355,11 +2355,11 @@ export namespace cloudiot_v1 { create( params: Params$Resource$Projects$Locations$Registries$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Registries$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Registries$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2388,7 +2388,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2486,11 +2486,11 @@ export namespace cloudiot_v1 { delete( params: Params$Resource$Projects$Locations$Registries$Devices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Registries$Devices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Registries$Devices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2519,7 +2519,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Devices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2634,11 +2634,11 @@ export namespace cloudiot_v1 { get( params: Params$Resource$Projects$Locations$Registries$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Registries$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Registries$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2667,7 +2667,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2781,11 +2781,11 @@ export namespace cloudiot_v1 { list( params: Params$Resource$Projects$Locations$Registries$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Registries$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Registries$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2816,8 +2816,8 @@ export namespace cloudiot_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2932,11 +2932,11 @@ export namespace cloudiot_v1 { modifyCloudToDeviceConfig( params: Params$Resource$Projects$Locations$Registries$Devices$Modifycloudtodeviceconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyCloudToDeviceConfig( params?: Params$Resource$Projects$Locations$Registries$Devices$Modifycloudtodeviceconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyCloudToDeviceConfig( params: Params$Resource$Projects$Locations$Registries$Devices$Modifycloudtodeviceconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2967,7 +2967,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Devices$Modifycloudtodeviceconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3109,11 +3109,11 @@ export namespace cloudiot_v1 { patch( params: Params$Resource$Projects$Locations$Registries$Devices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Registries$Devices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Registries$Devices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3142,7 +3142,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Devices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3247,11 +3247,11 @@ export namespace cloudiot_v1 { sendCommandToDevice( params: Params$Resource$Projects$Locations$Registries$Devices$Sendcommandtodevice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendCommandToDevice( params?: Params$Resource$Projects$Locations$Registries$Devices$Sendcommandtodevice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendCommandToDevice( params: Params$Resource$Projects$Locations$Registries$Devices$Sendcommandtodevice, options: StreamMethodOptions | BodyResponseCallback, @@ -3286,8 +3286,8 @@ export namespace cloudiot_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Devices$Sendcommandtodevice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3507,11 +3507,11 @@ export namespace cloudiot_v1 { list( params: Params$Resource$Projects$Locations$Registries$Devices$Configversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Registries$Devices$Configversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Registries$Devices$Configversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3546,8 +3546,8 @@ export namespace cloudiot_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Devices$Configversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3670,11 +3670,11 @@ export namespace cloudiot_v1 { list( params: Params$Resource$Projects$Locations$Registries$Devices$States$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Registries$Devices$States$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Registries$Devices$States$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3707,8 +3707,8 @@ export namespace cloudiot_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Devices$States$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3839,11 +3839,11 @@ export namespace cloudiot_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Registries$Groups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Registries$Groups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Registries$Groups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3872,7 +3872,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Groups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3983,11 +3983,11 @@ export namespace cloudiot_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Registries$Groups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Registries$Groups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Registries$Groups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4016,7 +4016,7 @@ export namespace cloudiot_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Groups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4126,11 +4126,11 @@ export namespace cloudiot_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Registries$Groups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Registries$Groups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Registries$Groups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4165,8 +4165,8 @@ export namespace cloudiot_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Groups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4328,11 +4328,11 @@ export namespace cloudiot_v1 { list( params: Params$Resource$Projects$Locations$Registries$Groups$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Registries$Groups$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Registries$Groups$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4363,8 +4363,8 @@ export namespace cloudiot_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registries$Groups$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudkms/index.ts b/src/apis/cloudkms/index.ts index 289f69f3a62..507b1b7b6e6 100644 --- a/src/apis/cloudkms/index.ts +++ b/src/apis/cloudkms/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudkms/package.json b/src/apis/cloudkms/package.json index 915a433f8f5..53aaf11ff27 100644 --- a/src/apis/cloudkms/package.json +++ b/src/apis/cloudkms/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudkms/v1.ts b/src/apis/cloudkms/v1.ts index 00dc796eab3..007df94ea3f 100644 --- a/src/apis/cloudkms/v1.ts +++ b/src/apis/cloudkms/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -830,7 +830,7 @@ export namespace cloudkms_v1 { */ nextPageToken?: string | null; /** - * The total number of CryptoKeys that matched the query. + * The total number of CryptoKeys that matched the query. This field is not populated if ListCryptoKeysRequest.filter is applied. */ totalSize?: number | null; } @@ -847,7 +847,7 @@ export namespace cloudkms_v1 { */ nextPageToken?: string | null; /** - * The total number of CryptoKeyVersions that matched the query. + * The total number of CryptoKeyVersions that matched the query. This field is not populated if ListCryptoKeyVersionsRequest.filter is applied. */ totalSize?: number | null; } @@ -864,7 +864,7 @@ export namespace cloudkms_v1 { */ nextPageToken?: string | null; /** - * The total number of EkmConnections that matched the query. + * The total number of EkmConnections that matched the query. This field is not populated if ListEkmConnectionsRequest.filter is applied. */ totalSize?: number | null; } @@ -881,7 +881,7 @@ export namespace cloudkms_v1 { */ nextPageToken?: string | null; /** - * The total number of ImportJobs that matched the query. + * The total number of ImportJobs that matched the query. This field is not populated if ListImportJobsRequest.filter is applied. */ totalSize?: number | null; } @@ -911,7 +911,7 @@ export namespace cloudkms_v1 { */ nextPageToken?: string | null; /** - * The total number of KeyRings that matched the query. + * The total number of KeyRings that matched the query. This field is not populated if ListKeyRingsRequest.filter is applied. */ totalSize?: number | null; } @@ -1391,11 +1391,11 @@ export namespace cloudkms_v1 { getAutokeyConfig( params: Params$Resource$Folders$Getautokeyconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAutokeyConfig( params?: Params$Resource$Folders$Getautokeyconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAutokeyConfig( params: Params$Resource$Folders$Getautokeyconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1426,7 +1426,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getautokeyconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1478,11 +1481,11 @@ export namespace cloudkms_v1 { updateAutokeyConfig( params: Params$Resource$Folders$Updateautokeyconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAutokeyConfig( params?: Params$Resource$Folders$Updateautokeyconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAutokeyConfig( params: Params$Resource$Folders$Updateautokeyconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1513,7 +1516,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Updateautokeyconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1598,11 +1604,13 @@ export namespace cloudkms_v1 { showEffectiveAutokeyConfig( params: Params$Resource$Projects$Showeffectiveautokeyconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; showEffectiveAutokeyConfig( params?: Params$Resource$Projects$Showeffectiveautokeyconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; showEffectiveAutokeyConfig( params: Params$Resource$Projects$Showeffectiveautokeyconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1637,8 +1645,10 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Showeffectiveautokeyconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1726,11 +1736,11 @@ export namespace cloudkms_v1 { generateRandomBytes( params: Params$Resource$Projects$Locations$Generaterandombytes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateRandomBytes( params?: Params$Resource$Projects$Locations$Generaterandombytes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateRandomBytes( params: Params$Resource$Projects$Locations$Generaterandombytes, options: StreamMethodOptions | BodyResponseCallback, @@ -1765,8 +1775,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generaterandombytes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1821,11 +1831,11 @@ export namespace cloudkms_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1854,7 +1864,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1906,11 +1919,11 @@ export namespace cloudkms_v1 { getEkmConfig( params: Params$Resource$Projects$Locations$Getekmconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEkmConfig( params?: Params$Resource$Projects$Locations$Getekmconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEkmConfig( params: Params$Resource$Projects$Locations$Getekmconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1939,7 +1952,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getekmconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1991,11 +2007,11 @@ export namespace cloudkms_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2028,8 +2044,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2084,11 +2100,11 @@ export namespace cloudkms_v1 { updateEkmConfig( params: Params$Resource$Projects$Locations$Updateekmconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateEkmConfig( params?: Params$Resource$Projects$Locations$Updateekmconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateEkmConfig( params: Params$Resource$Projects$Locations$Updateekmconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2117,7 +2133,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updateekmconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2242,11 +2261,11 @@ export namespace cloudkms_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Ekmconfig$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Ekmconfig$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Ekmconfig$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2275,7 +2294,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ekmconfig$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2331,11 +2353,11 @@ export namespace cloudkms_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Ekmconfig$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Ekmconfig$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Ekmconfig$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2364,7 +2386,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ekmconfig$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2420,11 +2445,11 @@ export namespace cloudkms_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Ekmconfig$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Ekmconfig$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Ekmconfig$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2459,8 +2484,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ekmconfig$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2559,11 +2584,11 @@ export namespace cloudkms_v1 { create( params: Params$Resource$Projects$Locations$Ekmconnections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Ekmconnections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Ekmconnections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2592,7 +2617,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ekmconnections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2647,11 +2675,11 @@ export namespace cloudkms_v1 { get( params: Params$Resource$Projects$Locations$Ekmconnections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ekmconnections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ekmconnections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2680,7 +2708,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ekmconnections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2732,11 +2763,11 @@ export namespace cloudkms_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Ekmconnections$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Ekmconnections$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Ekmconnections$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2765,7 +2796,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ekmconnections$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2821,11 +2855,11 @@ export namespace cloudkms_v1 { list( params: Params$Resource$Projects$Locations$Ekmconnections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ekmconnections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Ekmconnections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2860,8 +2894,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ekmconnections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2916,11 +2950,11 @@ export namespace cloudkms_v1 { patch( params: Params$Resource$Projects$Locations$Ekmconnections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Ekmconnections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Ekmconnections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2949,7 +2983,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ekmconnections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3001,11 +3038,11 @@ export namespace cloudkms_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Ekmconnections$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Ekmconnections$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Ekmconnections$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3034,7 +3071,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ekmconnections$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3090,11 +3130,11 @@ export namespace cloudkms_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Ekmconnections$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Ekmconnections$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Ekmconnections$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3129,8 +3169,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ekmconnections$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3186,11 +3226,11 @@ export namespace cloudkms_v1 { verifyConnectivity( params: Params$Resource$Projects$Locations$Ekmconnections$Verifyconnectivity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verifyConnectivity( params?: Params$Resource$Projects$Locations$Ekmconnections$Verifyconnectivity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verifyConnectivity( params: Params$Resource$Projects$Locations$Ekmconnections$Verifyconnectivity, options: StreamMethodOptions | BodyResponseCallback, @@ -3225,8 +3265,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ekmconnections$Verifyconnectivity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3394,11 +3434,11 @@ export namespace cloudkms_v1 { create( params: Params$Resource$Projects$Locations$Keyhandles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Keyhandles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Keyhandles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3427,7 +3467,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyhandles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3482,11 +3525,11 @@ export namespace cloudkms_v1 { get( params: Params$Resource$Projects$Locations$Keyhandles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Keyhandles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Keyhandles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3515,7 +3558,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyhandles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3567,11 +3613,11 @@ export namespace cloudkms_v1 { list( params: Params$Resource$Projects$Locations$Keyhandles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Keyhandles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Keyhandles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3604,8 +3650,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyhandles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3718,11 +3764,11 @@ export namespace cloudkms_v1 { create( params: Params$Resource$Projects$Locations$Keyrings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Keyrings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Keyrings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3751,7 +3797,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3806,11 +3855,11 @@ export namespace cloudkms_v1 { get( params: Params$Resource$Projects$Locations$Keyrings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Keyrings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Keyrings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3839,7 +3888,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3891,11 +3943,11 @@ export namespace cloudkms_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Keyrings$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3924,7 +3976,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3979,11 +4034,11 @@ export namespace cloudkms_v1 { list( params: Params$Resource$Projects$Locations$Keyrings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Keyrings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Keyrings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4016,8 +4071,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4072,11 +4127,11 @@ export namespace cloudkms_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Keyrings$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4105,7 +4160,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4160,11 +4218,11 @@ export namespace cloudkms_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Keyrings$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Keyrings$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Keyrings$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4199,8 +4257,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4350,11 +4408,11 @@ export namespace cloudkms_v1 { create( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4383,7 +4441,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4439,11 +4500,11 @@ export namespace cloudkms_v1 { decrypt( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Decrypt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; decrypt( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Decrypt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; decrypt( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Decrypt, options: StreamMethodOptions | BodyResponseCallback, @@ -4472,7 +4533,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Decrypt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4528,11 +4592,11 @@ export namespace cloudkms_v1 { encrypt( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Encrypt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; encrypt( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Encrypt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; encrypt( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Encrypt, options: StreamMethodOptions | BodyResponseCallback, @@ -4561,7 +4625,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Encrypt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4617,11 +4684,11 @@ export namespace cloudkms_v1 { get( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4650,7 +4717,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4703,11 +4773,11 @@ export namespace cloudkms_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4736,7 +4806,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4792,11 +4865,11 @@ export namespace cloudkms_v1 { list( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4829,8 +4902,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4886,11 +4959,11 @@ export namespace cloudkms_v1 { patch( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4919,7 +4992,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4972,11 +5048,11 @@ export namespace cloudkms_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5005,7 +5081,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5061,11 +5140,11 @@ export namespace cloudkms_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5100,8 +5179,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5157,11 +5236,11 @@ export namespace cloudkms_v1 { updatePrimaryVersion( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Updateprimaryversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePrimaryVersion( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Updateprimaryversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePrimaryVersion( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Updateprimaryversion, options: StreamMethodOptions | BodyResponseCallback, @@ -5192,7 +5271,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Updateprimaryversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5397,11 +5479,11 @@ export namespace cloudkms_v1 { asymmetricDecrypt( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Asymmetricdecrypt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asymmetricDecrypt( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Asymmetricdecrypt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asymmetricDecrypt( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Asymmetricdecrypt, options: StreamMethodOptions | BodyResponseCallback, @@ -5436,8 +5518,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Asymmetricdecrypt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5493,11 +5575,11 @@ export namespace cloudkms_v1 { asymmetricSign( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Asymmetricsign, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asymmetricSign( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Asymmetricsign, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asymmetricSign( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Asymmetricsign, options: StreamMethodOptions | BodyResponseCallback, @@ -5532,8 +5614,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Asymmetricsign; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5589,11 +5671,11 @@ export namespace cloudkms_v1 { create( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5622,7 +5704,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5678,11 +5763,11 @@ export namespace cloudkms_v1 { destroy( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Destroy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Destroy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Destroy, options: StreamMethodOptions | BodyResponseCallback, @@ -5711,7 +5796,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Destroy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5767,11 +5855,11 @@ export namespace cloudkms_v1 { get( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5800,7 +5888,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5853,11 +5944,11 @@ export namespace cloudkms_v1 { getPublicKey( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Getpublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPublicKey( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Getpublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPublicKey( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Getpublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -5886,7 +5977,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Getpublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5942,11 +6036,11 @@ export namespace cloudkms_v1 { import( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -5975,7 +6069,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6031,11 +6128,11 @@ export namespace cloudkms_v1 { list( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6070,8 +6167,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6129,11 +6226,11 @@ export namespace cloudkms_v1 { macSign( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Macsign, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; macSign( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Macsign, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; macSign( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Macsign, options: StreamMethodOptions | BodyResponseCallback, @@ -6162,7 +6259,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Macsign; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6218,11 +6318,11 @@ export namespace cloudkms_v1 { macVerify( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Macverify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; macVerify( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Macverify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; macVerify( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Macverify, options: StreamMethodOptions | BodyResponseCallback, @@ -6253,8 +6353,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Macverify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6310,11 +6410,11 @@ export namespace cloudkms_v1 { patch( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6343,7 +6443,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6396,11 +6499,11 @@ export namespace cloudkms_v1 { rawDecrypt( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Rawdecrypt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rawDecrypt( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Rawdecrypt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rawDecrypt( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Rawdecrypt, options: StreamMethodOptions | BodyResponseCallback, @@ -6431,8 +6534,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Rawdecrypt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6488,11 +6591,11 @@ export namespace cloudkms_v1 { rawEncrypt( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Rawencrypt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rawEncrypt( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Rawencrypt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rawEncrypt( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Rawencrypt, options: StreamMethodOptions | BodyResponseCallback, @@ -6523,8 +6626,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Rawencrypt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6580,11 +6683,11 @@ export namespace cloudkms_v1 { restore( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -6613,7 +6716,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6858,11 +6964,11 @@ export namespace cloudkms_v1 { create( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Keyrings$Importjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6891,7 +6997,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Importjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6947,11 +7056,11 @@ export namespace cloudkms_v1 { get( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Keyrings$Importjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6980,7 +7089,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Importjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7033,11 +7145,11 @@ export namespace cloudkms_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Keyrings$Importjobs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7066,7 +7178,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Importjobs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7122,11 +7237,11 @@ export namespace cloudkms_v1 { list( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Keyrings$Importjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7159,8 +7274,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Importjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7216,11 +7331,11 @@ export namespace cloudkms_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Keyrings$Importjobs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7249,7 +7364,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Importjobs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7305,11 +7423,11 @@ export namespace cloudkms_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Keyrings$Importjobs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Keyrings$Importjobs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7344,8 +7462,8 @@ export namespace cloudkms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Importjobs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7490,11 +7608,11 @@ export namespace cloudkms_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7523,7 +7641,10 @@ export namespace cloudkms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudprofiler/index.ts b/src/apis/cloudprofiler/index.ts index e207f893ad8..f3eaf15e861 100644 --- a/src/apis/cloudprofiler/index.ts +++ b/src/apis/cloudprofiler/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudprofiler/package.json b/src/apis/cloudprofiler/package.json index 6583ac627b8..335ddb3ec9d 100644 --- a/src/apis/cloudprofiler/package.json +++ b/src/apis/cloudprofiler/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudprofiler/v2.ts b/src/apis/cloudprofiler/v2.ts index a76becc4579..a1fc14b98f8 100644 --- a/src/apis/cloudprofiler/v2.ts +++ b/src/apis/cloudprofiler/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -231,11 +231,11 @@ export namespace cloudprofiler_v2 { create( params: Params$Resource$Projects$Profiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Profiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Profiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -264,7 +264,10 @@ export namespace cloudprofiler_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Profiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -320,11 +323,11 @@ export namespace cloudprofiler_v2 { createOffline( params: Params$Resource$Projects$Profiles$Createoffline, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createOffline( params?: Params$Resource$Projects$Profiles$Createoffline, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createOffline( params: Params$Resource$Projects$Profiles$Createoffline, options: StreamMethodOptions | BodyResponseCallback, @@ -353,7 +356,10 @@ export namespace cloudprofiler_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Profiles$Createoffline; let options = (optionsOrCallback || {}) as MethodOptions; @@ -409,11 +415,11 @@ export namespace cloudprofiler_v2 { list( params: Params$Resource$Projects$Profiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Profiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Profiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -446,8 +452,8 @@ export namespace cloudprofiler_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Profiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -503,11 +509,11 @@ export namespace cloudprofiler_v2 { patch( params: Params$Resource$Projects$Profiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Profiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Profiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -536,7 +542,10 @@ export namespace cloudprofiler_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Profiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudresourcemanager/index.ts b/src/apis/cloudresourcemanager/index.ts index 8e1a7ac5a60..334df6f161c 100644 --- a/src/apis/cloudresourcemanager/index.ts +++ b/src/apis/cloudresourcemanager/index.ts @@ -95,7 +95,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudresourcemanager/package.json b/src/apis/cloudresourcemanager/package.json index ebfb1bfb48d..61b50c53507 100644 --- a/src/apis/cloudresourcemanager/package.json +++ b/src/apis/cloudresourcemanager/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudresourcemanager/v1.ts b/src/apis/cloudresourcemanager/v1.ts index 24c139dbbcb..9a3f24c5965 100644 --- a/src/apis/cloudresourcemanager/v1.ts +++ b/src/apis/cloudresourcemanager/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -942,11 +942,11 @@ export namespace cloudresourcemanager_v1 { clearOrgPolicy( params: Params$Resource$Folders$Clearorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clearOrgPolicy( params?: Params$Resource$Folders$Clearorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clearOrgPolicy( params: Params$Resource$Folders$Clearorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -975,7 +975,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Clearorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1031,11 +1034,11 @@ export namespace cloudresourcemanager_v1 { getEffectiveOrgPolicy( params: Params$Resource$Folders$Geteffectiveorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveOrgPolicy( params?: Params$Resource$Folders$Geteffectiveorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveOrgPolicy( params: Params$Resource$Folders$Geteffectiveorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1066,7 +1069,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Geteffectiveorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1122,11 +1128,11 @@ export namespace cloudresourcemanager_v1 { getOrgPolicy( params: Params$Resource$Folders$Getorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOrgPolicy( params?: Params$Resource$Folders$Getorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getOrgPolicy( params: Params$Resource$Folders$Getorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1155,7 +1161,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1211,11 +1220,13 @@ export namespace cloudresourcemanager_v1 { listAvailableOrgPolicyConstraints( params: Params$Resource$Folders$Listavailableorgpolicyconstraints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAvailableOrgPolicyConstraints( params?: Params$Resource$Folders$Listavailableorgpolicyconstraints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAvailableOrgPolicyConstraints( params: Params$Resource$Folders$Listavailableorgpolicyconstraints, options: StreamMethodOptions | BodyResponseCallback, @@ -1250,8 +1261,10 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Listavailableorgpolicyconstraints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1309,11 +1322,11 @@ export namespace cloudresourcemanager_v1 { listOrgPolicies( params: Params$Resource$Folders$Listorgpolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listOrgPolicies( params?: Params$Resource$Folders$Listorgpolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listOrgPolicies( params: Params$Resource$Folders$Listorgpolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -1348,8 +1361,8 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Listorgpolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1405,11 +1418,11 @@ export namespace cloudresourcemanager_v1 { setOrgPolicy( params: Params$Resource$Folders$Setorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setOrgPolicy( params?: Params$Resource$Folders$Setorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setOrgPolicy( params: Params$Resource$Folders$Setorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1438,7 +1451,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Setorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1574,11 +1590,11 @@ export namespace cloudresourcemanager_v1 { create( params: Params$Resource$Liens$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Liens$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Liens$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1607,7 +1623,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liens$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1659,11 +1678,11 @@ export namespace cloudresourcemanager_v1 { delete( params: Params$Resource$Liens$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Liens$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Liens$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1692,7 +1711,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liens$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1744,11 +1766,11 @@ export namespace cloudresourcemanager_v1 { get( params: Params$Resource$Liens$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Liens$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Liens$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1777,7 +1799,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liens$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1829,11 +1854,11 @@ export namespace cloudresourcemanager_v1 { list( params: Params$Resource$Liens$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Liens$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Liens$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1864,8 +1889,8 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liens$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1957,11 +1982,11 @@ export namespace cloudresourcemanager_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1990,7 +2015,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2056,11 +2084,11 @@ export namespace cloudresourcemanager_v1 { clearOrgPolicy( params: Params$Resource$Organizations$Clearorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clearOrgPolicy( params?: Params$Resource$Organizations$Clearorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clearOrgPolicy( params: Params$Resource$Organizations$Clearorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2089,7 +2117,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Clearorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2145,11 +2176,11 @@ export namespace cloudresourcemanager_v1 { get( params: Params$Resource$Organizations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2178,7 +2209,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2231,11 +2265,11 @@ export namespace cloudresourcemanager_v1 { getEffectiveOrgPolicy( params: Params$Resource$Organizations$Geteffectiveorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveOrgPolicy( params?: Params$Resource$Organizations$Geteffectiveorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveOrgPolicy( params: Params$Resource$Organizations$Geteffectiveorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2266,7 +2300,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Geteffectiveorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2322,11 +2359,11 @@ export namespace cloudresourcemanager_v1 { getIamPolicy( params: Params$Resource$Organizations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Organizations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Organizations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2355,7 +2392,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2411,11 +2451,11 @@ export namespace cloudresourcemanager_v1 { getOrgPolicy( params: Params$Resource$Organizations$Getorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOrgPolicy( params?: Params$Resource$Organizations$Getorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getOrgPolicy( params: Params$Resource$Organizations$Getorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2444,7 +2484,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2500,11 +2543,13 @@ export namespace cloudresourcemanager_v1 { listAvailableOrgPolicyConstraints( params: Params$Resource$Organizations$Listavailableorgpolicyconstraints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAvailableOrgPolicyConstraints( params?: Params$Resource$Organizations$Listavailableorgpolicyconstraints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAvailableOrgPolicyConstraints( params: Params$Resource$Organizations$Listavailableorgpolicyconstraints, options: StreamMethodOptions | BodyResponseCallback, @@ -2539,8 +2584,10 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Listavailableorgpolicyconstraints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2598,11 +2645,11 @@ export namespace cloudresourcemanager_v1 { listOrgPolicies( params: Params$Resource$Organizations$Listorgpolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listOrgPolicies( params?: Params$Resource$Organizations$Listorgpolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listOrgPolicies( params: Params$Resource$Organizations$Listorgpolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -2637,8 +2684,8 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Listorgpolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2694,11 +2741,11 @@ export namespace cloudresourcemanager_v1 { search( params: Params$Resource$Organizations$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Organizations$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Organizations$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -2733,8 +2780,8 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2790,11 +2837,11 @@ export namespace cloudresourcemanager_v1 { setIamPolicy( params: Params$Resource$Organizations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Organizations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Organizations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2823,7 +2870,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2879,11 +2929,11 @@ export namespace cloudresourcemanager_v1 { setOrgPolicy( params: Params$Resource$Organizations$Setorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setOrgPolicy( params?: Params$Resource$Organizations$Setorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setOrgPolicy( params: Params$Resource$Organizations$Setorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2912,7 +2962,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Setorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2968,11 +3021,11 @@ export namespace cloudresourcemanager_v1 { testIamPermissions( params: Params$Resource$Organizations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Organizations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3007,8 +3060,8 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3194,11 +3247,11 @@ export namespace cloudresourcemanager_v1 { clearOrgPolicy( params: Params$Resource$Projects$Clearorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clearOrgPolicy( params?: Params$Resource$Projects$Clearorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clearOrgPolicy( params: Params$Resource$Projects$Clearorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3227,7 +3280,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Clearorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3283,11 +3339,11 @@ export namespace cloudresourcemanager_v1 { create( params: Params$Resource$Projects$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3316,7 +3372,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3368,11 +3427,11 @@ export namespace cloudresourcemanager_v1 { delete( params: Params$Resource$Projects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3401,7 +3460,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3456,11 +3518,11 @@ export namespace cloudresourcemanager_v1 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3489,7 +3551,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3544,11 +3609,11 @@ export namespace cloudresourcemanager_v1 { getAncestry( params: Params$Resource$Projects$Getancestry, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAncestry( params?: Params$Resource$Projects$Getancestry, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAncestry( params: Params$Resource$Projects$Getancestry, options: StreamMethodOptions | BodyResponseCallback, @@ -3581,8 +3646,8 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getancestry; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3638,11 +3703,11 @@ export namespace cloudresourcemanager_v1 { getEffectiveOrgPolicy( params: Params$Resource$Projects$Geteffectiveorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveOrgPolicy( params?: Params$Resource$Projects$Geteffectiveorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveOrgPolicy( params: Params$Resource$Projects$Geteffectiveorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3673,7 +3738,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Geteffectiveorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3729,11 +3797,11 @@ export namespace cloudresourcemanager_v1 { getIamPolicy( params: Params$Resource$Projects$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3762,7 +3830,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3818,11 +3889,11 @@ export namespace cloudresourcemanager_v1 { getOrgPolicy( params: Params$Resource$Projects$Getorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOrgPolicy( params?: Params$Resource$Projects$Getorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getOrgPolicy( params: Params$Resource$Projects$Getorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3851,7 +3922,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3907,11 +3981,11 @@ export namespace cloudresourcemanager_v1 { list( params: Params$Resource$Projects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3944,8 +4018,8 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3997,11 +4071,13 @@ export namespace cloudresourcemanager_v1 { listAvailableOrgPolicyConstraints( params: Params$Resource$Projects$Listavailableorgpolicyconstraints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAvailableOrgPolicyConstraints( params?: Params$Resource$Projects$Listavailableorgpolicyconstraints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAvailableOrgPolicyConstraints( params: Params$Resource$Projects$Listavailableorgpolicyconstraints, options: StreamMethodOptions | BodyResponseCallback, @@ -4036,8 +4112,10 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Listavailableorgpolicyconstraints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4095,11 +4173,11 @@ export namespace cloudresourcemanager_v1 { listOrgPolicies( params: Params$Resource$Projects$Listorgpolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listOrgPolicies( params?: Params$Resource$Projects$Listorgpolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listOrgPolicies( params: Params$Resource$Projects$Listorgpolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -4134,8 +4212,8 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Listorgpolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4191,11 +4269,11 @@ export namespace cloudresourcemanager_v1 { setIamPolicy( params: Params$Resource$Projects$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4224,7 +4302,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4280,11 +4361,11 @@ export namespace cloudresourcemanager_v1 { setOrgPolicy( params: Params$Resource$Projects$Setorgpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setOrgPolicy( params?: Params$Resource$Projects$Setorgpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setOrgPolicy( params: Params$Resource$Projects$Setorgpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4313,7 +4394,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setorgpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4369,11 +4453,11 @@ export namespace cloudresourcemanager_v1 { testIamPermissions( params: Params$Resource$Projects$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4408,8 +4492,8 @@ export namespace cloudresourcemanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4464,11 +4548,11 @@ export namespace cloudresourcemanager_v1 { undelete( params: Params$Resource$Projects$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -4497,7 +4581,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4553,11 +4640,11 @@ export namespace cloudresourcemanager_v1 { update( params: Params$Resource$Projects$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4586,7 +4673,10 @@ export namespace cloudresourcemanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudresourcemanager/v1beta1.ts b/src/apis/cloudresourcemanager/v1beta1.ts index deb0eff2441..acb89138375 100644 --- a/src/apis/cloudresourcemanager/v1beta1.ts +++ b/src/apis/cloudresourcemanager/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -622,11 +622,11 @@ export namespace cloudresourcemanager_v1beta1 { get( params: Params$Resource$Organizations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -655,7 +655,10 @@ export namespace cloudresourcemanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -708,11 +711,11 @@ export namespace cloudresourcemanager_v1beta1 { getIamPolicy( params: Params$Resource$Organizations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Organizations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Organizations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -741,7 +744,10 @@ export namespace cloudresourcemanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -797,11 +803,11 @@ export namespace cloudresourcemanager_v1beta1 { list( params: Params$Resource$Organizations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -836,8 +842,8 @@ export namespace cloudresourcemanager_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -893,11 +899,11 @@ export namespace cloudresourcemanager_v1beta1 { setIamPolicy( params: Params$Resource$Organizations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Organizations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Organizations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -926,7 +932,10 @@ export namespace cloudresourcemanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -982,11 +991,11 @@ export namespace cloudresourcemanager_v1beta1 { testIamPermissions( params: Params$Resource$Organizations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Organizations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1021,8 +1030,8 @@ export namespace cloudresourcemanager_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1078,11 +1087,11 @@ export namespace cloudresourcemanager_v1beta1 { update( params: Params$Resource$Organizations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Organizations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Organizations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1111,7 +1120,10 @@ export namespace cloudresourcemanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1246,11 +1258,11 @@ export namespace cloudresourcemanager_v1beta1 { create( params: Params$Resource$Projects$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1279,7 +1291,10 @@ export namespace cloudresourcemanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1331,11 +1346,11 @@ export namespace cloudresourcemanager_v1beta1 { delete( params: Params$Resource$Projects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1364,7 +1379,10 @@ export namespace cloudresourcemanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1419,11 +1437,11 @@ export namespace cloudresourcemanager_v1beta1 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1452,7 +1470,10 @@ export namespace cloudresourcemanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1507,11 +1528,11 @@ export namespace cloudresourcemanager_v1beta1 { getAncestry( params: Params$Resource$Projects$Getancestry, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAncestry( params?: Params$Resource$Projects$Getancestry, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAncestry( params: Params$Resource$Projects$Getancestry, options: StreamMethodOptions | BodyResponseCallback, @@ -1544,8 +1565,8 @@ export namespace cloudresourcemanager_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getancestry; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1600,11 +1621,11 @@ export namespace cloudresourcemanager_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1633,7 +1654,10 @@ export namespace cloudresourcemanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1688,11 +1712,11 @@ export namespace cloudresourcemanager_v1beta1 { list( params: Params$Resource$Projects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1725,8 +1749,8 @@ export namespace cloudresourcemanager_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1778,11 +1802,11 @@ export namespace cloudresourcemanager_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1811,7 +1835,10 @@ export namespace cloudresourcemanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1866,11 +1893,11 @@ export namespace cloudresourcemanager_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1905,8 +1932,8 @@ export namespace cloudresourcemanager_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1961,11 +1988,11 @@ export namespace cloudresourcemanager_v1beta1 { undelete( params: Params$Resource$Projects$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -1994,7 +2021,10 @@ export namespace cloudresourcemanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2050,11 +2080,11 @@ export namespace cloudresourcemanager_v1beta1 { update( params: Params$Resource$Projects$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2083,7 +2113,10 @@ export namespace cloudresourcemanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudresourcemanager/v2.ts b/src/apis/cloudresourcemanager/v2.ts index f7c8f81a83b..8f3076ec4d1 100644 --- a/src/apis/cloudresourcemanager/v2.ts +++ b/src/apis/cloudresourcemanager/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -617,11 +617,11 @@ export namespace cloudresourcemanager_v2 { create( params: Params$Resource$Folders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -650,7 +650,10 @@ export namespace cloudresourcemanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -702,11 +705,11 @@ export namespace cloudresourcemanager_v2 { delete( params: Params$Resource$Folders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -735,7 +738,10 @@ export namespace cloudresourcemanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -787,11 +793,11 @@ export namespace cloudresourcemanager_v2 { get( params: Params$Resource$Folders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -820,7 +826,10 @@ export namespace cloudresourcemanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -872,11 +881,11 @@ export namespace cloudresourcemanager_v2 { getIamPolicy( params: Params$Resource$Folders$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Folders$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Folders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -905,7 +914,10 @@ export namespace cloudresourcemanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -961,11 +973,11 @@ export namespace cloudresourcemanager_v2 { list( params: Params$Resource$Folders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -996,8 +1008,8 @@ export namespace cloudresourcemanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1049,11 +1061,11 @@ export namespace cloudresourcemanager_v2 { move( params: Params$Resource$Folders$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Folders$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Folders$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -1082,7 +1094,10 @@ export namespace cloudresourcemanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1134,11 +1149,11 @@ export namespace cloudresourcemanager_v2 { patch( params: Params$Resource$Folders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1167,7 +1182,10 @@ export namespace cloudresourcemanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1219,11 +1237,11 @@ export namespace cloudresourcemanager_v2 { search( params: Params$Resource$Folders$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Folders$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Folders$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1256,8 +1274,8 @@ export namespace cloudresourcemanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1309,11 +1327,11 @@ export namespace cloudresourcemanager_v2 { setIamPolicy( params: Params$Resource$Folders$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Folders$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Folders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1342,7 +1360,10 @@ export namespace cloudresourcemanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1398,11 +1419,11 @@ export namespace cloudresourcemanager_v2 { testIamPermissions( params: Params$Resource$Folders$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Folders$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Folders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1437,8 +1458,8 @@ export namespace cloudresourcemanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1494,11 +1515,11 @@ export namespace cloudresourcemanager_v2 { undelete( params: Params$Resource$Folders$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Folders$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Folders$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -1527,7 +1548,10 @@ export namespace cloudresourcemanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1710,11 +1734,11 @@ export namespace cloudresourcemanager_v2 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1743,7 +1767,10 @@ export namespace cloudresourcemanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudresourcemanager/v2beta1.ts b/src/apis/cloudresourcemanager/v2beta1.ts index 6cafb576c72..647b27d8584 100644 --- a/src/apis/cloudresourcemanager/v2beta1.ts +++ b/src/apis/cloudresourcemanager/v2beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -617,11 +617,11 @@ export namespace cloudresourcemanager_v2beta1 { create( params: Params$Resource$Folders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -650,7 +650,10 @@ export namespace cloudresourcemanager_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -702,11 +705,11 @@ export namespace cloudresourcemanager_v2beta1 { delete( params: Params$Resource$Folders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -735,7 +738,10 @@ export namespace cloudresourcemanager_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -787,11 +793,11 @@ export namespace cloudresourcemanager_v2beta1 { get( params: Params$Resource$Folders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -820,7 +826,10 @@ export namespace cloudresourcemanager_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -872,11 +881,11 @@ export namespace cloudresourcemanager_v2beta1 { getIamPolicy( params: Params$Resource$Folders$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Folders$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Folders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -905,7 +914,10 @@ export namespace cloudresourcemanager_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -961,11 +973,11 @@ export namespace cloudresourcemanager_v2beta1 { list( params: Params$Resource$Folders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -996,8 +1008,8 @@ export namespace cloudresourcemanager_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1049,11 +1061,11 @@ export namespace cloudresourcemanager_v2beta1 { move( params: Params$Resource$Folders$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Folders$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Folders$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -1082,7 +1094,10 @@ export namespace cloudresourcemanager_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1134,11 +1149,11 @@ export namespace cloudresourcemanager_v2beta1 { patch( params: Params$Resource$Folders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1167,7 +1182,10 @@ export namespace cloudresourcemanager_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1219,11 +1237,11 @@ export namespace cloudresourcemanager_v2beta1 { search( params: Params$Resource$Folders$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Folders$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Folders$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1256,8 +1274,8 @@ export namespace cloudresourcemanager_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1309,11 +1327,11 @@ export namespace cloudresourcemanager_v2beta1 { setIamPolicy( params: Params$Resource$Folders$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Folders$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Folders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1342,7 +1360,10 @@ export namespace cloudresourcemanager_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1398,11 +1419,11 @@ export namespace cloudresourcemanager_v2beta1 { testIamPermissions( params: Params$Resource$Folders$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Folders$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Folders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1437,8 +1458,8 @@ export namespace cloudresourcemanager_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1494,11 +1515,11 @@ export namespace cloudresourcemanager_v2beta1 { undelete( params: Params$Resource$Folders$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Folders$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Folders$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -1527,7 +1548,10 @@ export namespace cloudresourcemanager_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1710,11 +1734,11 @@ export namespace cloudresourcemanager_v2beta1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1743,7 +1767,10 @@ export namespace cloudresourcemanager_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudresourcemanager/v3.ts b/src/apis/cloudresourcemanager/v3.ts index 6c94d4854d7..e36c51c231e 100644 --- a/src/apis/cloudresourcemanager/v3.ts +++ b/src/apis/cloudresourcemanager/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -387,7 +387,7 @@ export namespace cloudresourcemanager_v3 { */ managementProject?: string | null; /** - * Output only. The resource name of the folder. Its format is `folders/{folder_id\}`, for example: "folders/1234". + * Identifier. The resource name of the folder. Its format is `folders/{folder_id\}`, for example: "folders/1234". */ name?: string | null; /** @@ -1045,11 +1045,11 @@ export namespace cloudresourcemanager_v3 { list( params: Params$Resource$Effectivetags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Effectivetags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Effectivetags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1084,8 +1084,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Effectivetags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1163,11 +1163,11 @@ export namespace cloudresourcemanager_v3 { create( params: Params$Resource$Folders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1196,7 +1196,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1248,11 +1251,11 @@ export namespace cloudresourcemanager_v3 { delete( params: Params$Resource$Folders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1281,7 +1284,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1333,11 +1339,11 @@ export namespace cloudresourcemanager_v3 { get( params: Params$Resource$Folders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1366,7 +1372,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1418,11 +1427,11 @@ export namespace cloudresourcemanager_v3 { getIamPolicy( params: Params$Resource$Folders$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Folders$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Folders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1451,7 +1460,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1507,11 +1519,11 @@ export namespace cloudresourcemanager_v3 { list( params: Params$Resource$Folders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1542,8 +1554,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1595,11 +1607,11 @@ export namespace cloudresourcemanager_v3 { move( params: Params$Resource$Folders$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Folders$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Folders$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -1628,7 +1640,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1680,11 +1695,11 @@ export namespace cloudresourcemanager_v3 { patch( params: Params$Resource$Folders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1713,7 +1728,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1765,11 +1783,11 @@ export namespace cloudresourcemanager_v3 { search( params: Params$Resource$Folders$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Folders$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Folders$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1802,8 +1820,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1855,11 +1873,11 @@ export namespace cloudresourcemanager_v3 { setIamPolicy( params: Params$Resource$Folders$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Folders$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Folders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1888,7 +1906,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1944,11 +1965,11 @@ export namespace cloudresourcemanager_v3 { testIamPermissions( params: Params$Resource$Folders$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Folders$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Folders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1983,8 +2004,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2040,11 +2061,11 @@ export namespace cloudresourcemanager_v3 { undelete( params: Params$Resource$Folders$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Folders$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Folders$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2073,7 +2094,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2179,7 +2203,7 @@ export namespace cloudresourcemanager_v3 { } export interface Params$Resource$Folders$Patch extends StandardParameters { /** - * Output only. The resource name of the folder. Its format is `folders/{folder_id\}`, for example: "folders/1234". + * Identifier. The resource name of the folder. Its format is `folders/{folder_id\}`, for example: "folders/1234". */ name?: string; /** @@ -2259,11 +2283,11 @@ export namespace cloudresourcemanager_v3 { get( params: Params$Resource$Folders$Capabilities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Capabilities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Capabilities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2292,7 +2316,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Capabilities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2345,11 +2372,11 @@ export namespace cloudresourcemanager_v3 { patch( params: Params$Resource$Folders$Capabilities$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Capabilities$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Capabilities$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2378,7 +2405,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Capabilities$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2462,11 +2492,11 @@ export namespace cloudresourcemanager_v3 { create( params: Params$Resource$Liens$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Liens$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Liens$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2495,7 +2525,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liens$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2547,11 +2580,11 @@ export namespace cloudresourcemanager_v3 { delete( params: Params$Resource$Liens$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Liens$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Liens$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2580,7 +2613,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liens$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2632,11 +2668,11 @@ export namespace cloudresourcemanager_v3 { get( params: Params$Resource$Liens$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Liens$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Liens$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2665,7 +2701,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liens$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2717,11 +2756,11 @@ export namespace cloudresourcemanager_v3 { list( params: Params$Resource$Liens$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Liens$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Liens$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2752,8 +2791,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liens$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2845,11 +2884,11 @@ export namespace cloudresourcemanager_v3 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2878,7 +2917,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2944,11 +2986,11 @@ export namespace cloudresourcemanager_v3 { get( params: Params$Resource$Organizations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2977,7 +3019,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3030,11 +3075,11 @@ export namespace cloudresourcemanager_v3 { getIamPolicy( params: Params$Resource$Organizations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Organizations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Organizations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3063,7 +3108,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3119,11 +3167,11 @@ export namespace cloudresourcemanager_v3 { search( params: Params$Resource$Organizations$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Organizations$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Organizations$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -3158,8 +3206,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3215,11 +3263,11 @@ export namespace cloudresourcemanager_v3 { setIamPolicy( params: Params$Resource$Organizations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Organizations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Organizations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3248,7 +3296,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3304,11 +3355,11 @@ export namespace cloudresourcemanager_v3 { testIamPermissions( params: Params$Resource$Organizations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Organizations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3343,8 +3394,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3466,11 +3517,11 @@ export namespace cloudresourcemanager_v3 { create( params: Params$Resource$Projects$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3499,7 +3550,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3551,11 +3605,11 @@ export namespace cloudresourcemanager_v3 { delete( params: Params$Resource$Projects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3584,7 +3638,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3636,11 +3693,11 @@ export namespace cloudresourcemanager_v3 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3669,7 +3726,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3721,11 +3781,11 @@ export namespace cloudresourcemanager_v3 { getIamPolicy( params: Params$Resource$Projects$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3754,7 +3814,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3810,11 +3873,11 @@ export namespace cloudresourcemanager_v3 { list( params: Params$Resource$Projects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3847,8 +3910,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3900,11 +3963,11 @@ export namespace cloudresourcemanager_v3 { move( params: Params$Resource$Projects$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Projects$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Projects$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -3933,7 +3996,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3985,11 +4051,11 @@ export namespace cloudresourcemanager_v3 { patch( params: Params$Resource$Projects$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4018,7 +4084,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4070,11 +4139,11 @@ export namespace cloudresourcemanager_v3 { search( params: Params$Resource$Projects$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Projects$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -4107,8 +4176,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4163,11 +4232,11 @@ export namespace cloudresourcemanager_v3 { setIamPolicy( params: Params$Resource$Projects$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4196,7 +4265,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4252,11 +4324,11 @@ export namespace cloudresourcemanager_v3 { testIamPermissions( params: Params$Resource$Projects$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4291,8 +4363,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4348,11 +4420,11 @@ export namespace cloudresourcemanager_v3 { undelete( params: Params$Resource$Projects$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -4381,7 +4453,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4569,11 +4644,11 @@ export namespace cloudresourcemanager_v3 { create( params: Params$Resource$Tagbindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Tagbindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Tagbindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4602,7 +4677,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagbindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4655,11 +4733,11 @@ export namespace cloudresourcemanager_v3 { delete( params: Params$Resource$Tagbindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Tagbindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Tagbindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4688,7 +4766,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagbindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4741,11 +4822,11 @@ export namespace cloudresourcemanager_v3 { list( params: Params$Resource$Tagbindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tagbindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tagbindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4778,8 +4859,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagbindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4872,11 +4953,11 @@ export namespace cloudresourcemanager_v3 { create( params: Params$Resource$Tagkeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Tagkeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Tagkeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4905,7 +4986,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagkeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4957,11 +5041,11 @@ export namespace cloudresourcemanager_v3 { delete( params: Params$Resource$Tagkeys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Tagkeys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Tagkeys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4990,7 +5074,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagkeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5042,11 +5129,11 @@ export namespace cloudresourcemanager_v3 { get( params: Params$Resource$Tagkeys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Tagkeys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Tagkeys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5075,7 +5162,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagkeys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5127,11 +5217,11 @@ export namespace cloudresourcemanager_v3 { getIamPolicy( params: Params$Resource$Tagkeys$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Tagkeys$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Tagkeys$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5160,7 +5250,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagkeys$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5216,11 +5309,11 @@ export namespace cloudresourcemanager_v3 { getNamespaced( params: Params$Resource$Tagkeys$Getnamespaced, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNamespaced( params?: Params$Resource$Tagkeys$Getnamespaced, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNamespaced( params: Params$Resource$Tagkeys$Getnamespaced, options: StreamMethodOptions | BodyResponseCallback, @@ -5249,7 +5342,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagkeys$Getnamespaced; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5305,11 +5401,11 @@ export namespace cloudresourcemanager_v3 { list( params: Params$Resource$Tagkeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tagkeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tagkeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5340,8 +5436,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagkeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5393,11 +5489,11 @@ export namespace cloudresourcemanager_v3 { patch( params: Params$Resource$Tagkeys$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Tagkeys$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Tagkeys$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5426,7 +5522,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagkeys$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5478,11 +5577,11 @@ export namespace cloudresourcemanager_v3 { setIamPolicy( params: Params$Resource$Tagkeys$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Tagkeys$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Tagkeys$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5511,7 +5610,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagkeys$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5567,11 +5669,11 @@ export namespace cloudresourcemanager_v3 { testIamPermissions( params: Params$Resource$Tagkeys$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Tagkeys$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Tagkeys$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5606,8 +5708,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagkeys$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5780,11 +5882,11 @@ export namespace cloudresourcemanager_v3 { create( params: Params$Resource$Tagvalues$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Tagvalues$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Tagvalues$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5813,7 +5915,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5865,11 +5970,11 @@ export namespace cloudresourcemanager_v3 { delete( params: Params$Resource$Tagvalues$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Tagvalues$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Tagvalues$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5898,7 +6003,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5950,11 +6058,11 @@ export namespace cloudresourcemanager_v3 { get( params: Params$Resource$Tagvalues$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Tagvalues$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Tagvalues$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5983,7 +6091,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6035,11 +6146,11 @@ export namespace cloudresourcemanager_v3 { getIamPolicy( params: Params$Resource$Tagvalues$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Tagvalues$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Tagvalues$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6068,7 +6179,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6124,11 +6238,11 @@ export namespace cloudresourcemanager_v3 { getNamespaced( params: Params$Resource$Tagvalues$Getnamespaced, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNamespaced( params?: Params$Resource$Tagvalues$Getnamespaced, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNamespaced( params: Params$Resource$Tagvalues$Getnamespaced, options: StreamMethodOptions | BodyResponseCallback, @@ -6157,7 +6271,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$Getnamespaced; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6213,11 +6330,11 @@ export namespace cloudresourcemanager_v3 { list( params: Params$Resource$Tagvalues$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tagvalues$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tagvalues$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6250,8 +6367,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6303,11 +6420,11 @@ export namespace cloudresourcemanager_v3 { patch( params: Params$Resource$Tagvalues$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Tagvalues$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Tagvalues$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6336,7 +6453,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6388,11 +6508,11 @@ export namespace cloudresourcemanager_v3 { setIamPolicy( params: Params$Resource$Tagvalues$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Tagvalues$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Tagvalues$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6421,7 +6541,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6477,11 +6600,11 @@ export namespace cloudresourcemanager_v3 { testIamPermissions( params: Params$Resource$Tagvalues$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Tagvalues$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Tagvalues$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6516,8 +6639,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6688,11 +6811,11 @@ export namespace cloudresourcemanager_v3 { create( params: Params$Resource$Tagvalues$Tagholds$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Tagvalues$Tagholds$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Tagvalues$Tagholds$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6721,7 +6844,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$Tagholds$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6777,11 +6903,11 @@ export namespace cloudresourcemanager_v3 { delete( params: Params$Resource$Tagvalues$Tagholds$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Tagvalues$Tagholds$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Tagvalues$Tagholds$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6810,7 +6936,10 @@ export namespace cloudresourcemanager_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$Tagholds$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6863,11 +6992,11 @@ export namespace cloudresourcemanager_v3 { list( params: Params$Resource$Tagvalues$Tagholds$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tagvalues$Tagholds$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tagvalues$Tagholds$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6900,8 +7029,8 @@ export namespace cloudresourcemanager_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tagvalues$Tagholds$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudscheduler/index.ts b/src/apis/cloudscheduler/index.ts index 2d803d73281..e2f79281a4e 100644 --- a/src/apis/cloudscheduler/index.ts +++ b/src/apis/cloudscheduler/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudscheduler/package.json b/src/apis/cloudscheduler/package.json index d9bae1001fc..4af1865e2d3 100644 --- a/src/apis/cloudscheduler/package.json +++ b/src/apis/cloudscheduler/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudscheduler/v1.ts b/src/apis/cloudscheduler/v1.ts index c648968c2d8..5ff426bd821 100644 --- a/src/apis/cloudscheduler/v1.ts +++ b/src/apis/cloudscheduler/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -532,11 +532,11 @@ export namespace cloudscheduler_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -565,7 +565,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -618,11 +621,11 @@ export namespace cloudscheduler_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -651,7 +654,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -704,11 +710,11 @@ export namespace cloudscheduler_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -737,7 +743,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -789,11 +798,11 @@ export namespace cloudscheduler_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -826,8 +835,8 @@ export namespace cloudscheduler_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -941,11 +950,11 @@ export namespace cloudscheduler_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -974,7 +983,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1027,11 +1039,11 @@ export namespace cloudscheduler_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1064,8 +1076,8 @@ export namespace cloudscheduler_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1159,11 +1171,11 @@ export namespace cloudscheduler_v1 { create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1192,7 +1204,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1245,11 +1260,11 @@ export namespace cloudscheduler_v1 { delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1278,7 +1293,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1331,11 +1349,11 @@ export namespace cloudscheduler_v1 { get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1364,7 +1382,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1417,11 +1438,11 @@ export namespace cloudscheduler_v1 { list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1450,7 +1471,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1503,11 +1527,11 @@ export namespace cloudscheduler_v1 { patch( params: Params$Resource$Projects$Locations$Jobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Jobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Jobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1536,7 +1560,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1589,11 +1616,11 @@ export namespace cloudscheduler_v1 { pause( params: Params$Resource$Projects$Locations$Jobs$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Jobs$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Jobs$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -1622,7 +1649,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1675,11 +1705,11 @@ export namespace cloudscheduler_v1 { resume( params: Params$Resource$Projects$Locations$Jobs$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Jobs$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Jobs$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -1708,7 +1738,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1761,11 +1794,11 @@ export namespace cloudscheduler_v1 { run( params: Params$Resource$Projects$Locations$Jobs$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Jobs$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Jobs$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -1794,7 +1827,10 @@ export namespace cloudscheduler_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Run; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudscheduler/v1beta1.ts b/src/apis/cloudscheduler/v1beta1.ts index 8a24f44b09f..8687dc1a58d 100644 --- a/src/apis/cloudscheduler/v1beta1.ts +++ b/src/apis/cloudscheduler/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -508,11 +508,11 @@ export namespace cloudscheduler_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -541,7 +541,10 @@ export namespace cloudscheduler_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -594,11 +597,11 @@ export namespace cloudscheduler_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -631,8 +634,8 @@ export namespace cloudscheduler_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -726,11 +729,11 @@ export namespace cloudscheduler_v1beta1 { create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -759,7 +762,10 @@ export namespace cloudscheduler_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -815,11 +821,11 @@ export namespace cloudscheduler_v1beta1 { delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -848,7 +854,10 @@ export namespace cloudscheduler_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -901,11 +910,11 @@ export namespace cloudscheduler_v1beta1 { get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -934,7 +943,10 @@ export namespace cloudscheduler_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -987,11 +999,11 @@ export namespace cloudscheduler_v1beta1 { list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1020,7 +1032,10 @@ export namespace cloudscheduler_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1076,11 +1091,11 @@ export namespace cloudscheduler_v1beta1 { patch( params: Params$Resource$Projects$Locations$Jobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Jobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Jobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1109,7 +1124,10 @@ export namespace cloudscheduler_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1162,11 +1180,11 @@ export namespace cloudscheduler_v1beta1 { pause( params: Params$Resource$Projects$Locations$Jobs$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Jobs$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Jobs$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -1195,7 +1213,10 @@ export namespace cloudscheduler_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1251,11 +1272,11 @@ export namespace cloudscheduler_v1beta1 { resume( params: Params$Resource$Projects$Locations$Jobs$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Jobs$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Jobs$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -1284,7 +1305,10 @@ export namespace cloudscheduler_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1340,11 +1364,11 @@ export namespace cloudscheduler_v1beta1 { run( params: Params$Resource$Projects$Locations$Jobs$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Jobs$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Jobs$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -1373,7 +1397,10 @@ export namespace cloudscheduler_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Run; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudsearch/index.ts b/src/apis/cloudsearch/index.ts index 3de152734af..b51d0590d4c 100644 --- a/src/apis/cloudsearch/index.ts +++ b/src/apis/cloudsearch/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudsearch/package.json b/src/apis/cloudsearch/package.json index 6ec826f9c18..fbbe9e14a44 100644 --- a/src/apis/cloudsearch/package.json +++ b/src/apis/cloudsearch/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudsearch/v1.ts b/src/apis/cloudsearch/v1.ts index 296727564df..9b111191e60 100644 --- a/src/apis/cloudsearch/v1.ts +++ b/src/apis/cloudsearch/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3797,11 +3797,11 @@ export namespace cloudsearch_v1 { checkAccess( params: Params$Resource$Debug$Datasources$Items$Checkaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkAccess( params?: Params$Resource$Debug$Datasources$Items$Checkaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkAccess( params: Params$Resource$Debug$Datasources$Items$Checkaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -3834,8 +3834,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Debug$Datasources$Items$Checkaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3890,11 +3890,11 @@ export namespace cloudsearch_v1 { searchByViewUrl( params: Params$Resource$Debug$Datasources$Items$Searchbyviewurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchByViewUrl( params?: Params$Resource$Debug$Datasources$Items$Searchbyviewurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchByViewUrl( params: Params$Resource$Debug$Datasources$Items$Searchbyviewurl, options: StreamMethodOptions | BodyResponseCallback, @@ -3929,8 +3929,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Debug$Datasources$Items$Searchbyviewurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4023,11 +4023,11 @@ export namespace cloudsearch_v1 { list( params: Params$Resource$Debug$Datasources$Items$Unmappedids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Debug$Datasources$Items$Unmappedids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Debug$Datasources$Items$Unmappedids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4062,8 +4062,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Debug$Datasources$Items$Unmappedids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4160,11 +4160,13 @@ export namespace cloudsearch_v1 { listForunmappedidentity( params: Params$Resource$Debug$Identitysources$Items$Listforunmappedidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listForunmappedidentity( params?: Params$Resource$Debug$Identitysources$Items$Listforunmappedidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listForunmappedidentity( params: Params$Resource$Debug$Identitysources$Items$Listforunmappedidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -4199,8 +4201,10 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Debug$Identitysources$Items$Listforunmappedidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4292,11 +4296,11 @@ export namespace cloudsearch_v1 { list( params: Params$Resource$Debug$Identitysources$Unmappedids$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Debug$Identitysources$Unmappedids$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Debug$Identitysources$Unmappedids$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4331,8 +4335,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Debug$Identitysources$Unmappedids$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4431,11 +4435,11 @@ export namespace cloudsearch_v1 { deleteSchema( params: Params$Resource$Indexing$Datasources$Deleteschema, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteSchema( params?: Params$Resource$Indexing$Datasources$Deleteschema, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteSchema( params: Params$Resource$Indexing$Datasources$Deleteschema, options: StreamMethodOptions | BodyResponseCallback, @@ -4464,7 +4468,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Deleteschema; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4519,11 +4526,11 @@ export namespace cloudsearch_v1 { getSchema( params: Params$Resource$Indexing$Datasources$Getschema, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSchema( params?: Params$Resource$Indexing$Datasources$Getschema, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSchema( params: Params$Resource$Indexing$Datasources$Getschema, options: StreamMethodOptions | BodyResponseCallback, @@ -4552,7 +4559,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Getschema; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4607,11 +4617,11 @@ export namespace cloudsearch_v1 { updateSchema( params: Params$Resource$Indexing$Datasources$Updateschema, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSchema( params?: Params$Resource$Indexing$Datasources$Updateschema, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSchema( params: Params$Resource$Indexing$Datasources$Updateschema, options: StreamMethodOptions | BodyResponseCallback, @@ -4640,7 +4650,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Updateschema; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4737,11 +4750,11 @@ export namespace cloudsearch_v1 { delete( params: Params$Resource$Indexing$Datasources$Items$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Indexing$Datasources$Items$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Indexing$Datasources$Items$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4770,7 +4783,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Items$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4825,11 +4841,11 @@ export namespace cloudsearch_v1 { deleteQueueItems( params: Params$Resource$Indexing$Datasources$Items$Deletequeueitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteQueueItems( params?: Params$Resource$Indexing$Datasources$Items$Deletequeueitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteQueueItems( params: Params$Resource$Indexing$Datasources$Items$Deletequeueitems, options: StreamMethodOptions | BodyResponseCallback, @@ -4858,7 +4874,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Items$Deletequeueitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4913,11 +4932,11 @@ export namespace cloudsearch_v1 { get( params: Params$Resource$Indexing$Datasources$Items$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Indexing$Datasources$Items$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Indexing$Datasources$Items$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4946,7 +4965,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Items$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5001,11 +5023,11 @@ export namespace cloudsearch_v1 { index( params: Params$Resource$Indexing$Datasources$Items$Index, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; index( params?: Params$Resource$Indexing$Datasources$Items$Index, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; index( params: Params$Resource$Indexing$Datasources$Items$Index, options: StreamMethodOptions | BodyResponseCallback, @@ -5034,7 +5056,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Items$Index; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5089,11 +5114,11 @@ export namespace cloudsearch_v1 { list( params: Params$Resource$Indexing$Datasources$Items$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Indexing$Datasources$Items$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Indexing$Datasources$Items$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5124,8 +5149,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Items$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5180,11 +5205,11 @@ export namespace cloudsearch_v1 { poll( params: Params$Resource$Indexing$Datasources$Items$Poll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; poll( params?: Params$Resource$Indexing$Datasources$Items$Poll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; poll( params: Params$Resource$Indexing$Datasources$Items$Poll, options: StreamMethodOptions | BodyResponseCallback, @@ -5215,8 +5240,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Items$Poll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5271,11 +5296,11 @@ export namespace cloudsearch_v1 { push( params: Params$Resource$Indexing$Datasources$Items$Push, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; push( params?: Params$Resource$Indexing$Datasources$Items$Push, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; push( params: Params$Resource$Indexing$Datasources$Items$Push, options: StreamMethodOptions | BodyResponseCallback, @@ -5304,7 +5329,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Items$Push; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5359,11 +5387,11 @@ export namespace cloudsearch_v1 { unreserve( params: Params$Resource$Indexing$Datasources$Items$Unreserve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unreserve( params?: Params$Resource$Indexing$Datasources$Items$Unreserve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unreserve( params: Params$Resource$Indexing$Datasources$Items$Unreserve, options: StreamMethodOptions | BodyResponseCallback, @@ -5392,7 +5420,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Items$Unreserve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5447,11 +5478,11 @@ export namespace cloudsearch_v1 { upload( params: Params$Resource$Indexing$Datasources$Items$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Indexing$Datasources$Items$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Indexing$Datasources$Items$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -5480,7 +5511,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Indexing$Datasources$Items$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5680,11 +5714,11 @@ export namespace cloudsearch_v1 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -5713,7 +5747,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5807,11 +5844,11 @@ export namespace cloudsearch_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5840,7 +5877,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5905,11 +5945,11 @@ export namespace cloudsearch_v1 { list( params: Params$Resource$Operations$Lro$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$Lro$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$Lro$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5942,8 +5982,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Lro$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6024,11 +6064,11 @@ export namespace cloudsearch_v1 { debugSearch( params: Params$Resource$Query$Debugsearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; debugSearch( params?: Params$Resource$Query$Debugsearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; debugSearch( params: Params$Resource$Query$Debugsearch, options: StreamMethodOptions | BodyResponseCallback, @@ -6057,7 +6097,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Query$Debugsearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6112,11 +6155,11 @@ export namespace cloudsearch_v1 { removeActivity( params: Params$Resource$Query$Removeactivity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeActivity( params?: Params$Resource$Query$Removeactivity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeActivity( params: Params$Resource$Query$Removeactivity, options: StreamMethodOptions | BodyResponseCallback, @@ -6151,8 +6194,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Query$Removeactivity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6207,11 +6250,11 @@ export namespace cloudsearch_v1 { search( params: Params$Resource$Query$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Query$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Query$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -6240,7 +6283,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Query$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6291,11 +6337,11 @@ export namespace cloudsearch_v1 { suggest( params: Params$Resource$Query$Suggest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggest( params?: Params$Resource$Query$Suggest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suggest( params: Params$Resource$Query$Suggest, options: StreamMethodOptions | BodyResponseCallback, @@ -6324,7 +6370,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Query$Suggest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6409,11 +6458,11 @@ export namespace cloudsearch_v1 { list( params: Params$Resource$Query$Sources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Query$Sources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Query$Sources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6446,8 +6495,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Query$Sources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6536,11 +6585,11 @@ export namespace cloudsearch_v1 { getCustomer( params: Params$Resource$Settings$Getcustomer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCustomer( params?: Params$Resource$Settings$Getcustomer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCustomer( params: Params$Resource$Settings$Getcustomer, options: StreamMethodOptions | BodyResponseCallback, @@ -6569,7 +6618,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Getcustomer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6624,11 +6676,11 @@ export namespace cloudsearch_v1 { updateCustomer( params: Params$Resource$Settings$Updatecustomer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCustomer( params?: Params$Resource$Settings$Updatecustomer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCustomer( params: Params$Resource$Settings$Updatecustomer, options: StreamMethodOptions | BodyResponseCallback, @@ -6657,7 +6709,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Updatecustomer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6734,11 +6789,11 @@ export namespace cloudsearch_v1 { create( params: Params$Resource$Settings$Datasources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Settings$Datasources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Settings$Datasources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6767,7 +6822,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Datasources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6822,11 +6880,11 @@ export namespace cloudsearch_v1 { delete( params: Params$Resource$Settings$Datasources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Settings$Datasources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Settings$Datasources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6855,7 +6913,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Datasources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6910,11 +6971,11 @@ export namespace cloudsearch_v1 { get( params: Params$Resource$Settings$Datasources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Settings$Datasources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Settings$Datasources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6943,7 +7004,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Datasources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6998,11 +7062,11 @@ export namespace cloudsearch_v1 { list( params: Params$Resource$Settings$Datasources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Settings$Datasources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Settings$Datasources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7035,8 +7099,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Datasources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7091,11 +7155,11 @@ export namespace cloudsearch_v1 { patch( params: Params$Resource$Settings$Datasources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Settings$Datasources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Settings$Datasources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7124,7 +7188,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Datasources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7179,11 +7246,11 @@ export namespace cloudsearch_v1 { update( params: Params$Resource$Settings$Datasources$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Settings$Datasources$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Settings$Datasources$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7212,7 +7279,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Datasources$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7351,11 +7421,11 @@ export namespace cloudsearch_v1 { create( params: Params$Resource$Settings$Searchapplications$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Settings$Searchapplications$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Settings$Searchapplications$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7384,7 +7454,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Searchapplications$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7439,11 +7512,11 @@ export namespace cloudsearch_v1 { delete( params: Params$Resource$Settings$Searchapplications$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Settings$Searchapplications$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Settings$Searchapplications$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7472,7 +7545,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Searchapplications$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7527,11 +7603,11 @@ export namespace cloudsearch_v1 { get( params: Params$Resource$Settings$Searchapplications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Settings$Searchapplications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Settings$Searchapplications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7562,8 +7638,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Searchapplications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7618,11 +7694,11 @@ export namespace cloudsearch_v1 { list( params: Params$Resource$Settings$Searchapplications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Settings$Searchapplications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Settings$Searchapplications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7657,8 +7733,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Searchapplications$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7715,11 +7791,11 @@ export namespace cloudsearch_v1 { patch( params: Params$Resource$Settings$Searchapplications$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Settings$Searchapplications$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Settings$Searchapplications$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7748,7 +7824,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Searchapplications$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7803,11 +7882,11 @@ export namespace cloudsearch_v1 { reset( params: Params$Resource$Settings$Searchapplications$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Settings$Searchapplications$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Settings$Searchapplications$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -7836,7 +7915,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Searchapplications$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7891,11 +7973,11 @@ export namespace cloudsearch_v1 { update( params: Params$Resource$Settings$Searchapplications$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Settings$Searchapplications$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Settings$Searchapplications$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7924,7 +8006,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Settings$Searchapplications$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8083,11 +8168,11 @@ export namespace cloudsearch_v1 { getIndex( params: Params$Resource$Stats$Getindex, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIndex( params?: Params$Resource$Stats$Getindex, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIndex( params: Params$Resource$Stats$Getindex, options: StreamMethodOptions | BodyResponseCallback, @@ -8122,8 +8207,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Stats$Getindex; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8176,11 +8261,11 @@ export namespace cloudsearch_v1 { getQuery( params: Params$Resource$Stats$Getquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getQuery( params?: Params$Resource$Stats$Getquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getQuery( params: Params$Resource$Stats$Getquery, options: StreamMethodOptions | BodyResponseCallback, @@ -8215,8 +8300,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Stats$Getquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8269,11 +8354,13 @@ export namespace cloudsearch_v1 { getSearchapplication( params: Params$Resource$Stats$Getsearchapplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSearchapplication( params?: Params$Resource$Stats$Getsearchapplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getSearchapplication( params: Params$Resource$Stats$Getsearchapplication, options: StreamMethodOptions | BodyResponseCallback, @@ -8308,8 +8395,10 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Stats$Getsearchapplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8366,11 +8455,11 @@ export namespace cloudsearch_v1 { getSession( params: Params$Resource$Stats$Getsession, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSession( params?: Params$Resource$Stats$Getsession, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSession( params: Params$Resource$Stats$Getsession, options: StreamMethodOptions | BodyResponseCallback, @@ -8405,8 +8494,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Stats$Getsession; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8459,11 +8548,11 @@ export namespace cloudsearch_v1 { getUser( params: Params$Resource$Stats$Getuser, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getUser( params?: Params$Resource$Stats$Getuser, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getUser( params: Params$Resource$Stats$Getuser, options: StreamMethodOptions | BodyResponseCallback, @@ -8498,8 +8587,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Stats$Getuser; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8700,11 +8789,11 @@ export namespace cloudsearch_v1 { get( params: Params$Resource$Stats$Index$Datasources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Stats$Index$Datasources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Stats$Index$Datasources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8739,8 +8828,8 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Stats$Index$Datasources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8847,11 +8936,13 @@ export namespace cloudsearch_v1 { get( params: Params$Resource$Stats$Query$Searchapplications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Stats$Query$Searchapplications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Stats$Query$Searchapplications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8886,8 +8977,10 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Stats$Query$Searchapplications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8994,11 +9087,13 @@ export namespace cloudsearch_v1 { get( params: Params$Resource$Stats$Session$Searchapplications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Stats$Session$Searchapplications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Stats$Session$Searchapplications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9033,8 +9128,10 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Stats$Session$Searchapplications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9141,11 +9238,13 @@ export namespace cloudsearch_v1 { get( params: Params$Resource$Stats$User$Searchapplications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Stats$User$Searchapplications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Stats$User$Searchapplications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9180,8 +9279,10 @@ export namespace cloudsearch_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Stats$User$Searchapplications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9277,11 +9378,11 @@ export namespace cloudsearch_v1 { initializeCustomer( params: Params$Resource$V1$Initializecustomer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initializeCustomer( params?: Params$Resource$V1$Initializecustomer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initializeCustomer( params: Params$Resource$V1$Initializecustomer, options: StreamMethodOptions | BodyResponseCallback, @@ -9310,7 +9411,10 @@ export namespace cloudsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Initializecustomer; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudshell/index.ts b/src/apis/cloudshell/index.ts index 6c06163b605..8368aa71a3f 100644 --- a/src/apis/cloudshell/index.ts +++ b/src/apis/cloudshell/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudshell/package.json b/src/apis/cloudshell/package.json index 3ef9ea44a52..ce68fb4fad4 100644 --- a/src/apis/cloudshell/package.json +++ b/src/apis/cloudshell/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudshell/v1.ts b/src/apis/cloudshell/v1.ts index ae6a5f172ff..8a74e9a5c0e 100644 --- a/src/apis/cloudshell/v1.ts +++ b/src/apis/cloudshell/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -351,11 +351,11 @@ export namespace cloudshell_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -384,7 +384,10 @@ export namespace cloudshell_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -436,11 +439,11 @@ export namespace cloudshell_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -469,7 +472,10 @@ export namespace cloudshell_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -521,11 +527,11 @@ export namespace cloudshell_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -554,7 +560,10 @@ export namespace cloudshell_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -605,11 +614,11 @@ export namespace cloudshell_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -642,8 +651,8 @@ export namespace cloudshell_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -754,11 +763,11 @@ export namespace cloudshell_v1 { addPublicKey( params: Params$Resource$Users$Environments$Addpublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addPublicKey( params?: Params$Resource$Users$Environments$Addpublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addPublicKey( params: Params$Resource$Users$Environments$Addpublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -787,7 +796,10 @@ export namespace cloudshell_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Environments$Addpublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -842,11 +854,11 @@ export namespace cloudshell_v1 { authorize( params: Params$Resource$Users$Environments$Authorize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; authorize( params?: Params$Resource$Users$Environments$Authorize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; authorize( params: Params$Resource$Users$Environments$Authorize, options: StreamMethodOptions | BodyResponseCallback, @@ -875,7 +887,10 @@ export namespace cloudshell_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Environments$Authorize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -930,11 +945,11 @@ export namespace cloudshell_v1 { get( params: Params$Resource$Users$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -963,7 +978,10 @@ export namespace cloudshell_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1015,11 +1033,11 @@ export namespace cloudshell_v1 { removePublicKey( params: Params$Resource$Users$Environments$Removepublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removePublicKey( params?: Params$Resource$Users$Environments$Removepublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removePublicKey( params: Params$Resource$Users$Environments$Removepublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -1048,7 +1066,10 @@ export namespace cloudshell_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Environments$Removepublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1103,11 +1124,11 @@ export namespace cloudshell_v1 { start( params: Params$Resource$Users$Environments$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Users$Environments$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Users$Environments$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -1136,7 +1157,10 @@ export namespace cloudshell_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Environments$Start; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudshell/v1alpha1.ts b/src/apis/cloudshell/v1alpha1.ts index a10fc9c312a..4ee14772744 100644 --- a/src/apis/cloudshell/v1alpha1.ts +++ b/src/apis/cloudshell/v1alpha1.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -379,11 +379,11 @@ export namespace cloudshell_v1alpha1 { authorize( params: Params$Resource$Users$Environments$Authorize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; authorize( params?: Params$Resource$Users$Environments$Authorize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; authorize( params: Params$Resource$Users$Environments$Authorize, options: StreamMethodOptions | BodyResponseCallback, @@ -412,7 +412,7 @@ export namespace cloudshell_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Environments$Authorize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -519,11 +519,11 @@ export namespace cloudshell_v1alpha1 { get( params: Params$Resource$Users$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -552,7 +552,7 @@ export namespace cloudshell_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -677,11 +677,11 @@ export namespace cloudshell_v1alpha1 { patch( params: Params$Resource$Users$Environments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Environments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Environments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -710,7 +710,7 @@ export namespace cloudshell_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Environments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -816,11 +816,11 @@ export namespace cloudshell_v1alpha1 { start( params: Params$Resource$Users$Environments$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Users$Environments$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Users$Environments$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -849,7 +849,7 @@ export namespace cloudshell_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Environments$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1010,11 +1010,11 @@ export namespace cloudshell_v1alpha1 { create( params: Params$Resource$Users$Environments$Publickeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Environments$Publickeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Environments$Publickeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1043,7 +1043,7 @@ export namespace cloudshell_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Environments$Publickeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1137,11 +1137,11 @@ export namespace cloudshell_v1alpha1 { delete( params: Params$Resource$Users$Environments$Publickeys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Environments$Publickeys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Environments$Publickeys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1170,7 +1170,7 @@ export namespace cloudshell_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Environments$Publickeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudsupport/index.ts b/src/apis/cloudsupport/index.ts index d380725f678..76004855f73 100644 --- a/src/apis/cloudsupport/index.ts +++ b/src/apis/cloudsupport/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudsupport/package.json b/src/apis/cloudsupport/package.json index beb6572ef4a..9bf12575d7c 100644 --- a/src/apis/cloudsupport/package.json +++ b/src/apis/cloudsupport/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudsupport/v2.ts b/src/apis/cloudsupport/v2.ts index 26b4f030dd3..585616fef29 100644 --- a/src/apis/cloudsupport/v2.ts +++ b/src/apis/cloudsupport/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -747,11 +747,13 @@ export namespace cloudsupport_v2 { search( params: Params$Resource$Caseclassifications$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Caseclassifications$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Caseclassifications$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -786,8 +788,10 @@ export namespace cloudsupport_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Caseclassifications$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -871,11 +875,11 @@ export namespace cloudsupport_v2 { close( params: Params$Resource$Cases$Close, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; close( params?: Params$Resource$Cases$Close, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; close( params: Params$Resource$Cases$Close, options: StreamMethodOptions | BodyResponseCallback, @@ -904,7 +908,10 @@ export namespace cloudsupport_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Close; let options = (optionsOrCallback || {}) as MethodOptions; @@ -955,11 +962,11 @@ export namespace cloudsupport_v2 { create( params: Params$Resource$Cases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Cases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Cases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -988,7 +995,10 @@ export namespace cloudsupport_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1042,11 +1052,11 @@ export namespace cloudsupport_v2 { escalate( params: Params$Resource$Cases$Escalate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; escalate( params?: Params$Resource$Cases$Escalate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; escalate( params: Params$Resource$Cases$Escalate, options: StreamMethodOptions | BodyResponseCallback, @@ -1075,7 +1085,10 @@ export namespace cloudsupport_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Escalate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1129,11 +1142,11 @@ export namespace cloudsupport_v2 { get( params: Params$Resource$Cases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Cases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Cases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1162,7 +1175,10 @@ export namespace cloudsupport_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1213,11 +1229,11 @@ export namespace cloudsupport_v2 { list( params: Params$Resource$Cases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1248,8 +1264,8 @@ export namespace cloudsupport_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1303,11 +1319,11 @@ export namespace cloudsupport_v2 { patch( params: Params$Resource$Cases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Cases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Cases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1336,7 +1352,10 @@ export namespace cloudsupport_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1387,11 +1406,11 @@ export namespace cloudsupport_v2 { search( params: Params$Resource$Cases$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Cases$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Cases$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1422,8 +1441,8 @@ export namespace cloudsupport_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1575,11 +1594,11 @@ export namespace cloudsupport_v2 { list( params: Params$Resource$Cases$Attachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cases$Attachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cases$Attachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1612,8 +1631,8 @@ export namespace cloudsupport_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Attachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1691,11 +1710,11 @@ export namespace cloudsupport_v2 { create( params: Params$Resource$Cases$Comments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Cases$Comments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Cases$Comments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1724,7 +1743,10 @@ export namespace cloudsupport_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Comments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1779,11 +1801,11 @@ export namespace cloudsupport_v2 { list( params: Params$Resource$Cases$Comments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cases$Comments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cases$Comments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1816,8 +1838,8 @@ export namespace cloudsupport_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Comments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1907,11 +1929,11 @@ export namespace cloudsupport_v2 { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -1940,7 +1962,10 @@ export namespace cloudsupport_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1994,11 +2019,11 @@ export namespace cloudsupport_v2 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -2027,7 +2052,10 @@ export namespace cloudsupport_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudsupport/v2beta.ts b/src/apis/cloudsupport/v2beta.ts index 205dee94edd..db367da9f52 100644 --- a/src/apis/cloudsupport/v2beta.ts +++ b/src/apis/cloudsupport/v2beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -844,11 +844,13 @@ export namespace cloudsupport_v2beta { search( params: Params$Resource$Caseclassifications$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Caseclassifications$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Caseclassifications$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -883,8 +885,10 @@ export namespace cloudsupport_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Caseclassifications$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -972,11 +976,11 @@ export namespace cloudsupport_v2beta { close( params: Params$Resource$Cases$Close, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; close( params?: Params$Resource$Cases$Close, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; close( params: Params$Resource$Cases$Close, options: StreamMethodOptions | BodyResponseCallback, @@ -1005,7 +1009,10 @@ export namespace cloudsupport_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Close; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1059,11 +1066,11 @@ export namespace cloudsupport_v2beta { create( params: Params$Resource$Cases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Cases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Cases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1092,7 +1099,10 @@ export namespace cloudsupport_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1146,11 +1156,11 @@ export namespace cloudsupport_v2beta { escalate( params: Params$Resource$Cases$Escalate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; escalate( params?: Params$Resource$Cases$Escalate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; escalate( params: Params$Resource$Cases$Escalate, options: StreamMethodOptions | BodyResponseCallback, @@ -1179,7 +1189,10 @@ export namespace cloudsupport_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Escalate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1233,11 +1246,11 @@ export namespace cloudsupport_v2beta { get( params: Params$Resource$Cases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Cases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Cases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1266,7 +1279,10 @@ export namespace cloudsupport_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1317,11 +1333,11 @@ export namespace cloudsupport_v2beta { list( params: Params$Resource$Cases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1352,8 +1368,8 @@ export namespace cloudsupport_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1407,11 +1423,11 @@ export namespace cloudsupport_v2beta { patch( params: Params$Resource$Cases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Cases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Cases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1440,7 +1456,10 @@ export namespace cloudsupport_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1491,11 +1510,11 @@ export namespace cloudsupport_v2beta { search( params: Params$Resource$Cases$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Cases$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Cases$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1526,8 +1545,8 @@ export namespace cloudsupport_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1581,11 +1600,11 @@ export namespace cloudsupport_v2beta { showFeed( params: Params$Resource$Cases$Showfeed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; showFeed( params?: Params$Resource$Cases$Showfeed, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; showFeed( params: Params$Resource$Cases$Showfeed, options: StreamMethodOptions | BodyResponseCallback, @@ -1614,7 +1633,10 @@ export namespace cloudsupport_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Showfeed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1788,11 +1810,11 @@ export namespace cloudsupport_v2beta { list( params: Params$Resource$Cases$Attachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cases$Attachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cases$Attachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1825,8 +1847,8 @@ export namespace cloudsupport_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Attachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1904,11 +1926,11 @@ export namespace cloudsupport_v2beta { create( params: Params$Resource$Cases$Comments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Cases$Comments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Cases$Comments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1937,7 +1959,10 @@ export namespace cloudsupport_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Comments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1992,11 +2017,11 @@ export namespace cloudsupport_v2beta { list( params: Params$Resource$Cases$Comments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cases$Comments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cases$Comments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2029,8 +2054,8 @@ export namespace cloudsupport_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cases$Comments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2120,11 +2145,11 @@ export namespace cloudsupport_v2beta { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -2153,7 +2178,10 @@ export namespace cloudsupport_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2207,11 +2235,11 @@ export namespace cloudsupport_v2beta { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -2240,7 +2268,10 @@ export namespace cloudsupport_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudtasks/index.ts b/src/apis/cloudtasks/index.ts index 59b24a77c84..b13ddcf3adf 100644 --- a/src/apis/cloudtasks/index.ts +++ b/src/apis/cloudtasks/index.ts @@ -65,7 +65,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudtasks/package.json b/src/apis/cloudtasks/package.json index e60387b5254..48f63496ddf 100644 --- a/src/apis/cloudtasks/package.json +++ b/src/apis/cloudtasks/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudtasks/v2.ts b/src/apis/cloudtasks/v2.ts index 27e5f1e0999..ff2604f6adb 100644 --- a/src/apis/cloudtasks/v2.ts +++ b/src/apis/cloudtasks/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -773,11 +773,11 @@ export namespace cloudtasks_v2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -806,7 +806,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -858,11 +861,11 @@ export namespace cloudtasks_v2 { getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCmekConfig( params?: Params$Resource$Projects$Locations$Getcmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -891,7 +894,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getcmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -943,11 +949,11 @@ export namespace cloudtasks_v2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -980,8 +986,8 @@ export namespace cloudtasks_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1036,11 +1042,11 @@ export namespace cloudtasks_v2 { updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params?: Params$Resource$Projects$Locations$Updatecmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1069,7 +1075,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatecmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1184,11 +1193,11 @@ export namespace cloudtasks_v2 { create( params: Params$Resource$Projects$Locations$Queues$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Queues$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Queues$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1217,7 +1226,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1272,11 +1284,11 @@ export namespace cloudtasks_v2 { delete( params: Params$Resource$Projects$Locations$Queues$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Queues$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Queues$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1305,7 +1317,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1357,11 +1372,11 @@ export namespace cloudtasks_v2 { get( params: Params$Resource$Projects$Locations$Queues$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Queues$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Queues$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1390,7 +1405,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1442,11 +1460,11 @@ export namespace cloudtasks_v2 { getIamPolicy( params: Params$Resource$Projects$Locations$Queues$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Queues$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Queues$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1475,7 +1493,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1530,11 +1551,11 @@ export namespace cloudtasks_v2 { list( params: Params$Resource$Projects$Locations$Queues$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Queues$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Queues$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1565,8 +1586,8 @@ export namespace cloudtasks_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1621,11 +1642,11 @@ export namespace cloudtasks_v2 { patch( params: Params$Resource$Projects$Locations$Queues$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Queues$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Queues$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1654,7 +1675,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1706,11 +1730,11 @@ export namespace cloudtasks_v2 { pause( params: Params$Resource$Projects$Locations$Queues$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Queues$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Queues$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -1739,7 +1763,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1791,11 +1818,11 @@ export namespace cloudtasks_v2 { purge( params: Params$Resource$Projects$Locations$Queues$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Queues$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Queues$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -1824,7 +1851,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1876,11 +1906,11 @@ export namespace cloudtasks_v2 { resume( params: Params$Resource$Projects$Locations$Queues$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Queues$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Queues$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -1909,7 +1939,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1961,11 +1994,11 @@ export namespace cloudtasks_v2 { setIamPolicy( params: Params$Resource$Projects$Locations$Queues$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Queues$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Queues$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1994,7 +2027,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2049,11 +2085,11 @@ export namespace cloudtasks_v2 { testIamPermissions( params: Params$Resource$Projects$Locations$Queues$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Queues$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Queues$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2088,8 +2124,8 @@ export namespace cloudtasks_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2286,11 +2322,11 @@ export namespace cloudtasks_v2 { buffer( params: Params$Resource$Projects$Locations$Queues$Tasks$Buffer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; buffer( params?: Params$Resource$Projects$Locations$Queues$Tasks$Buffer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; buffer( params: Params$Resource$Projects$Locations$Queues$Tasks$Buffer, options: StreamMethodOptions | BodyResponseCallback, @@ -2321,8 +2357,8 @@ export namespace cloudtasks_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Buffer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2377,11 +2413,11 @@ export namespace cloudtasks_v2 { create( params: Params$Resource$Projects$Locations$Queues$Tasks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Queues$Tasks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Queues$Tasks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2410,7 +2446,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2465,11 +2504,11 @@ export namespace cloudtasks_v2 { delete( params: Params$Resource$Projects$Locations$Queues$Tasks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Queues$Tasks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Queues$Tasks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2498,7 +2537,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2550,11 +2592,11 @@ export namespace cloudtasks_v2 { get( params: Params$Resource$Projects$Locations$Queues$Tasks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Queues$Tasks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Queues$Tasks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2583,7 +2625,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2635,11 +2680,11 @@ export namespace cloudtasks_v2 { list( params: Params$Resource$Projects$Locations$Queues$Tasks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Queues$Tasks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Queues$Tasks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2670,8 +2715,8 @@ export namespace cloudtasks_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2726,11 +2771,11 @@ export namespace cloudtasks_v2 { run( params: Params$Resource$Projects$Locations$Queues$Tasks$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Queues$Tasks$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Queues$Tasks$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -2759,7 +2804,10 @@ export namespace cloudtasks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Run; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudtasks/v2beta2.ts b/src/apis/cloudtasks/v2beta2.ts index a4b3700c75a..6e64ebe9638 100644 --- a/src/apis/cloudtasks/v2beta2.ts +++ b/src/apis/cloudtasks/v2beta2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -909,11 +909,11 @@ export namespace cloudtasks_v2beta2 { update( params: Params$Resource$Api$Queue$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Api$Queue$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Api$Queue$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -942,7 +942,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Api$Queue$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1023,11 +1026,11 @@ export namespace cloudtasks_v2beta2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1056,7 +1059,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1108,11 +1114,11 @@ export namespace cloudtasks_v2beta2 { getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCmekConfig( params?: Params$Resource$Projects$Locations$Getcmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1141,7 +1147,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getcmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1193,11 +1202,11 @@ export namespace cloudtasks_v2beta2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1230,8 +1239,8 @@ export namespace cloudtasks_v2beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1286,11 +1295,11 @@ export namespace cloudtasks_v2beta2 { updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params?: Params$Resource$Projects$Locations$Updatecmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1319,7 +1328,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatecmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1434,11 +1446,11 @@ export namespace cloudtasks_v2beta2 { create( params: Params$Resource$Projects$Locations$Queues$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Queues$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Queues$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1467,7 +1479,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1522,11 +1537,11 @@ export namespace cloudtasks_v2beta2 { delete( params: Params$Resource$Projects$Locations$Queues$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Queues$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Queues$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1555,7 +1570,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1607,11 +1625,11 @@ export namespace cloudtasks_v2beta2 { get( params: Params$Resource$Projects$Locations$Queues$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Queues$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Queues$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1640,7 +1658,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1692,11 +1713,11 @@ export namespace cloudtasks_v2beta2 { getIamPolicy( params: Params$Resource$Projects$Locations$Queues$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Queues$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Queues$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1725,7 +1746,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1780,11 +1804,11 @@ export namespace cloudtasks_v2beta2 { list( params: Params$Resource$Projects$Locations$Queues$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Queues$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Queues$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1815,8 +1839,8 @@ export namespace cloudtasks_v2beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1871,11 +1895,11 @@ export namespace cloudtasks_v2beta2 { patch( params: Params$Resource$Projects$Locations$Queues$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Queues$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Queues$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1904,7 +1928,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1956,11 +1983,11 @@ export namespace cloudtasks_v2beta2 { pause( params: Params$Resource$Projects$Locations$Queues$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Queues$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Queues$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -1989,7 +2016,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2044,11 +2074,11 @@ export namespace cloudtasks_v2beta2 { purge( params: Params$Resource$Projects$Locations$Queues$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Queues$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Queues$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -2077,7 +2107,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2132,11 +2165,11 @@ export namespace cloudtasks_v2beta2 { resume( params: Params$Resource$Projects$Locations$Queues$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Queues$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Queues$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -2165,7 +2198,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2220,11 +2256,11 @@ export namespace cloudtasks_v2beta2 { setIamPolicy( params: Params$Resource$Projects$Locations$Queues$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Queues$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Queues$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2253,7 +2289,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2308,11 +2347,11 @@ export namespace cloudtasks_v2beta2 { testIamPermissions( params: Params$Resource$Projects$Locations$Queues$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Queues$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Queues$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2347,8 +2386,8 @@ export namespace cloudtasks_v2beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2553,11 +2592,11 @@ export namespace cloudtasks_v2beta2 { acknowledge( params: Params$Resource$Projects$Locations$Queues$Tasks$Acknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params?: Params$Resource$Projects$Locations$Queues$Tasks$Acknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params: Params$Resource$Projects$Locations$Queues$Tasks$Acknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -2586,7 +2625,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Acknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2642,11 +2684,11 @@ export namespace cloudtasks_v2beta2 { buffer( params: Params$Resource$Projects$Locations$Queues$Tasks$Buffer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; buffer( params?: Params$Resource$Projects$Locations$Queues$Tasks$Buffer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; buffer( params: Params$Resource$Projects$Locations$Queues$Tasks$Buffer, options: StreamMethodOptions | BodyResponseCallback, @@ -2677,8 +2719,8 @@ export namespace cloudtasks_v2beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Buffer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2733,11 +2775,11 @@ export namespace cloudtasks_v2beta2 { cancelLease( params: Params$Resource$Projects$Locations$Queues$Tasks$Cancellease, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelLease( params?: Params$Resource$Projects$Locations$Queues$Tasks$Cancellease, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelLease( params: Params$Resource$Projects$Locations$Queues$Tasks$Cancellease, options: StreamMethodOptions | BodyResponseCallback, @@ -2766,7 +2808,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Cancellease; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2822,11 +2867,11 @@ export namespace cloudtasks_v2beta2 { create( params: Params$Resource$Projects$Locations$Queues$Tasks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Queues$Tasks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Queues$Tasks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2855,7 +2900,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2910,11 +2958,11 @@ export namespace cloudtasks_v2beta2 { delete( params: Params$Resource$Projects$Locations$Queues$Tasks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Queues$Tasks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Queues$Tasks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2943,7 +2991,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2995,11 +3046,11 @@ export namespace cloudtasks_v2beta2 { get( params: Params$Resource$Projects$Locations$Queues$Tasks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Queues$Tasks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Queues$Tasks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3028,7 +3079,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3080,11 +3134,11 @@ export namespace cloudtasks_v2beta2 { lease( params: Params$Resource$Projects$Locations$Queues$Tasks$Lease, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lease( params?: Params$Resource$Projects$Locations$Queues$Tasks$Lease, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lease( params: Params$Resource$Projects$Locations$Queues$Tasks$Lease, options: StreamMethodOptions | BodyResponseCallback, @@ -3115,8 +3169,8 @@ export namespace cloudtasks_v2beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Lease; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3171,11 +3225,11 @@ export namespace cloudtasks_v2beta2 { list( params: Params$Resource$Projects$Locations$Queues$Tasks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Queues$Tasks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Queues$Tasks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3206,8 +3260,8 @@ export namespace cloudtasks_v2beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3262,11 +3316,11 @@ export namespace cloudtasks_v2beta2 { renewLease( params: Params$Resource$Projects$Locations$Queues$Tasks$Renewlease, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; renewLease( params?: Params$Resource$Projects$Locations$Queues$Tasks$Renewlease, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; renewLease( params: Params$Resource$Projects$Locations$Queues$Tasks$Renewlease, options: StreamMethodOptions | BodyResponseCallback, @@ -3295,7 +3349,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Renewlease; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3351,11 +3408,11 @@ export namespace cloudtasks_v2beta2 { run( params: Params$Resource$Projects$Locations$Queues$Tasks$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Queues$Tasks$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Queues$Tasks$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -3384,7 +3441,10 @@ export namespace cloudtasks_v2beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Run; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudtasks/v2beta3.ts b/src/apis/cloudtasks/v2beta3.ts index dad543916a0..3949f13234c 100644 --- a/src/apis/cloudtasks/v2beta3.ts +++ b/src/apis/cloudtasks/v2beta3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -840,11 +840,11 @@ export namespace cloudtasks_v2beta3 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -873,7 +873,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -925,11 +928,11 @@ export namespace cloudtasks_v2beta3 { getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCmekConfig( params?: Params$Resource$Projects$Locations$Getcmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -958,7 +961,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getcmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1010,11 +1016,11 @@ export namespace cloudtasks_v2beta3 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1047,8 +1053,8 @@ export namespace cloudtasks_v2beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1103,11 +1109,11 @@ export namespace cloudtasks_v2beta3 { updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params?: Params$Resource$Projects$Locations$Updatecmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1136,7 +1142,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatecmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1251,11 +1260,11 @@ export namespace cloudtasks_v2beta3 { create( params: Params$Resource$Projects$Locations$Queues$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Queues$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Queues$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1284,7 +1293,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1339,11 +1351,11 @@ export namespace cloudtasks_v2beta3 { delete( params: Params$Resource$Projects$Locations$Queues$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Queues$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Queues$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1372,7 +1384,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1424,11 +1439,11 @@ export namespace cloudtasks_v2beta3 { get( params: Params$Resource$Projects$Locations$Queues$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Queues$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Queues$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1457,7 +1472,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1509,11 +1527,11 @@ export namespace cloudtasks_v2beta3 { getIamPolicy( params: Params$Resource$Projects$Locations$Queues$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Queues$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Queues$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1542,7 +1560,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1597,11 +1618,11 @@ export namespace cloudtasks_v2beta3 { list( params: Params$Resource$Projects$Locations$Queues$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Queues$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Queues$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1632,8 +1653,8 @@ export namespace cloudtasks_v2beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1688,11 +1709,11 @@ export namespace cloudtasks_v2beta3 { patch( params: Params$Resource$Projects$Locations$Queues$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Queues$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Queues$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1721,7 +1742,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1773,11 +1797,11 @@ export namespace cloudtasks_v2beta3 { pause( params: Params$Resource$Projects$Locations$Queues$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Queues$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Queues$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -1806,7 +1830,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1861,11 +1888,11 @@ export namespace cloudtasks_v2beta3 { purge( params: Params$Resource$Projects$Locations$Queues$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Queues$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Queues$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -1894,7 +1921,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1949,11 +1979,11 @@ export namespace cloudtasks_v2beta3 { resume( params: Params$Resource$Projects$Locations$Queues$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Queues$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Queues$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -1982,7 +2012,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2037,11 +2070,11 @@ export namespace cloudtasks_v2beta3 { setIamPolicy( params: Params$Resource$Projects$Locations$Queues$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Queues$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Queues$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2070,7 +2103,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2125,11 +2161,11 @@ export namespace cloudtasks_v2beta3 { testIamPermissions( params: Params$Resource$Projects$Locations$Queues$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Queues$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Queues$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2164,8 +2200,8 @@ export namespace cloudtasks_v2beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2370,11 +2406,11 @@ export namespace cloudtasks_v2beta3 { buffer( params: Params$Resource$Projects$Locations$Queues$Tasks$Buffer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; buffer( params?: Params$Resource$Projects$Locations$Queues$Tasks$Buffer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; buffer( params: Params$Resource$Projects$Locations$Queues$Tasks$Buffer, options: StreamMethodOptions | BodyResponseCallback, @@ -2405,8 +2441,8 @@ export namespace cloudtasks_v2beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Buffer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2461,11 +2497,11 @@ export namespace cloudtasks_v2beta3 { create( params: Params$Resource$Projects$Locations$Queues$Tasks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Queues$Tasks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Queues$Tasks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2494,7 +2530,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2549,11 +2588,11 @@ export namespace cloudtasks_v2beta3 { delete( params: Params$Resource$Projects$Locations$Queues$Tasks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Queues$Tasks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Queues$Tasks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2582,7 +2621,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2634,11 +2676,11 @@ export namespace cloudtasks_v2beta3 { get( params: Params$Resource$Projects$Locations$Queues$Tasks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Queues$Tasks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Queues$Tasks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2667,7 +2709,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2719,11 +2764,11 @@ export namespace cloudtasks_v2beta3 { list( params: Params$Resource$Projects$Locations$Queues$Tasks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Queues$Tasks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Queues$Tasks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2754,8 +2799,8 @@ export namespace cloudtasks_v2beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2810,11 +2855,11 @@ export namespace cloudtasks_v2beta3 { run( params: Params$Resource$Projects$Locations$Queues$Tasks$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Queues$Tasks$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Queues$Tasks$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -2843,7 +2888,10 @@ export namespace cloudtasks_v2beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queues$Tasks$Run; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudtrace/index.ts b/src/apis/cloudtrace/index.ts index 5c6c1a33a89..33c82179513 100644 --- a/src/apis/cloudtrace/index.ts +++ b/src/apis/cloudtrace/index.ts @@ -65,7 +65,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/cloudtrace/package.json b/src/apis/cloudtrace/package.json index 0171eac6c22..ebf85c64011 100644 --- a/src/apis/cloudtrace/package.json +++ b/src/apis/cloudtrace/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/cloudtrace/v1.ts b/src/apis/cloudtrace/v1.ts index 783b341b8ba..f1dfe767253 100644 --- a/src/apis/cloudtrace/v1.ts +++ b/src/apis/cloudtrace/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -220,11 +220,11 @@ export namespace cloudtrace_v1 { patchTraces( params: Params$Resource$Projects$Patchtraces, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchTraces( params?: Params$Resource$Projects$Patchtraces, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchTraces( params: Params$Resource$Projects$Patchtraces, options: StreamMethodOptions | BodyResponseCallback, @@ -253,7 +253,10 @@ export namespace cloudtrace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchtraces; let options = (optionsOrCallback || {}) as MethodOptions; @@ -328,11 +331,11 @@ export namespace cloudtrace_v1 { get( params: Params$Resource$Projects$Traces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Traces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Traces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -361,7 +364,10 @@ export namespace cloudtrace_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Traces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -415,11 +421,11 @@ export namespace cloudtrace_v1 { list( params: Params$Resource$Projects$Traces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Traces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Traces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -450,8 +456,8 @@ export namespace cloudtrace_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Traces$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudtrace/v2.ts b/src/apis/cloudtrace/v2.ts index 4534b547eb1..c41c1cf3f69 100644 --- a/src/apis/cloudtrace/v2.ts +++ b/src/apis/cloudtrace/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -461,11 +461,11 @@ export namespace cloudtrace_v2 { batchWrite( params: Params$Resource$Projects$Traces$Batchwrite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchWrite( params?: Params$Resource$Projects$Traces$Batchwrite, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchWrite( params: Params$Resource$Projects$Traces$Batchwrite, options: StreamMethodOptions | BodyResponseCallback, @@ -494,7 +494,10 @@ export namespace cloudtrace_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Traces$Batchwrite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -569,11 +572,11 @@ export namespace cloudtrace_v2 { createSpan( params: Params$Resource$Projects$Traces$Spans$Createspan, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSpan( params?: Params$Resource$Projects$Traces$Spans$Createspan, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSpan( params: Params$Resource$Projects$Traces$Spans$Createspan, options: StreamMethodOptions | BodyResponseCallback, @@ -602,7 +605,10 @@ export namespace cloudtrace_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Traces$Spans$Createspan; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/cloudtrace/v2beta1.ts b/src/apis/cloudtrace/v2beta1.ts index eb3d78cf6eb..f2b72c1fdba 100644 --- a/src/apis/cloudtrace/v2beta1.ts +++ b/src/apis/cloudtrace/v2beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -194,11 +194,11 @@ export namespace cloudtrace_v2beta1 { create( params: Params$Resource$Projects$Tracesinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Tracesinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Tracesinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -227,7 +227,10 @@ export namespace cloudtrace_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tracesinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -282,11 +285,11 @@ export namespace cloudtrace_v2beta1 { delete( params: Params$Resource$Projects$Tracesinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Tracesinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Tracesinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -315,7 +318,10 @@ export namespace cloudtrace_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tracesinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -367,11 +373,11 @@ export namespace cloudtrace_v2beta1 { get( params: Params$Resource$Projects$Tracesinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Tracesinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Tracesinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -400,7 +406,10 @@ export namespace cloudtrace_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tracesinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -452,11 +461,11 @@ export namespace cloudtrace_v2beta1 { list( params: Params$Resource$Projects$Tracesinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Tracesinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Tracesinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -489,8 +498,8 @@ export namespace cloudtrace_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tracesinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -545,11 +554,11 @@ export namespace cloudtrace_v2beta1 { patch( params: Params$Resource$Projects$Tracesinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Tracesinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Tracesinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -578,7 +587,10 @@ export namespace cloudtrace_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tracesinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/composer/index.ts b/src/apis/composer/index.ts index 31fbb72198f..ae26267b52e 100644 --- a/src/apis/composer/index.ts +++ b/src/apis/composer/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/composer/package.json b/src/apis/composer/package.json index b2bcd06a28b..8a2274324a1 100644 --- a/src/apis/composer/package.json +++ b/src/apis/composer/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/composer/v1.ts b/src/apis/composer/v1.ts index 4dc2248e492..46cb884da15 100644 --- a/src/apis/composer/v1.ts +++ b/src/apis/composer/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1306,11 +1306,11 @@ export namespace composer_v1 { checkUpgrade( params: Params$Resource$Projects$Locations$Environments$Checkupgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkUpgrade( params?: Params$Resource$Projects$Locations$Environments$Checkupgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkUpgrade( params: Params$Resource$Projects$Locations$Environments$Checkupgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -1339,7 +1339,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Checkupgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1395,11 +1398,11 @@ export namespace composer_v1 { create( params: Params$Resource$Projects$Locations$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1428,7 +1431,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1483,11 +1489,11 @@ export namespace composer_v1 { databaseFailover( params: Params$Resource$Projects$Locations$Environments$Databasefailover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; databaseFailover( params?: Params$Resource$Projects$Locations$Environments$Databasefailover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; databaseFailover( params: Params$Resource$Projects$Locations$Environments$Databasefailover, options: StreamMethodOptions | BodyResponseCallback, @@ -1516,7 +1522,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Databasefailover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1572,11 +1581,11 @@ export namespace composer_v1 { delete( params: Params$Resource$Projects$Locations$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1605,7 +1614,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1657,11 +1669,11 @@ export namespace composer_v1 { executeAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Executeairflowcommand, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeAirflowCommand( params?: Params$Resource$Projects$Locations$Environments$Executeairflowcommand, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Executeairflowcommand, options: StreamMethodOptions | BodyResponseCallback, @@ -1696,8 +1708,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Executeairflowcommand; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1755,11 +1767,11 @@ export namespace composer_v1 { fetchDatabaseProperties( params: Params$Resource$Projects$Locations$Environments$Fetchdatabaseproperties, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchDatabaseProperties( params?: Params$Resource$Projects$Locations$Environments$Fetchdatabaseproperties, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchDatabaseProperties( params: Params$Resource$Projects$Locations$Environments$Fetchdatabaseproperties, options: StreamMethodOptions | BodyResponseCallback, @@ -1794,8 +1806,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Fetchdatabaseproperties; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1852,11 +1864,11 @@ export namespace composer_v1 { get( params: Params$Resource$Projects$Locations$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1885,7 +1897,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1937,11 +1952,11 @@ export namespace composer_v1 { list( params: Params$Resource$Projects$Locations$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1974,8 +1989,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2030,11 +2045,11 @@ export namespace composer_v1 { loadSnapshot( params: Params$Resource$Projects$Locations$Environments$Loadsnapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; loadSnapshot( params?: Params$Resource$Projects$Locations$Environments$Loadsnapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; loadSnapshot( params: Params$Resource$Projects$Locations$Environments$Loadsnapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -2063,7 +2078,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Loadsnapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2119,11 +2137,11 @@ export namespace composer_v1 { patch( params: Params$Resource$Projects$Locations$Environments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Environments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Environments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2152,7 +2170,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2204,11 +2225,11 @@ export namespace composer_v1 { pollAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Pollairflowcommand, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pollAirflowCommand( params?: Params$Resource$Projects$Locations$Environments$Pollairflowcommand, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pollAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Pollairflowcommand, options: StreamMethodOptions | BodyResponseCallback, @@ -2243,8 +2264,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Pollairflowcommand; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2300,11 +2321,11 @@ export namespace composer_v1 { saveSnapshot( params: Params$Resource$Projects$Locations$Environments$Savesnapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; saveSnapshot( params?: Params$Resource$Projects$Locations$Environments$Savesnapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; saveSnapshot( params: Params$Resource$Projects$Locations$Environments$Savesnapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -2333,7 +2354,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Savesnapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2389,11 +2413,11 @@ export namespace composer_v1 { stopAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Stopairflowcommand, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopAirflowCommand( params?: Params$Resource$Projects$Locations$Environments$Stopairflowcommand, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Stopairflowcommand, options: StreamMethodOptions | BodyResponseCallback, @@ -2428,8 +2452,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Stopairflowcommand; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2641,11 +2665,11 @@ export namespace composer_v1 { create( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2678,8 +2702,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2735,11 +2759,11 @@ export namespace composer_v1 { delete( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2768,7 +2792,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2821,11 +2848,11 @@ export namespace composer_v1 { get( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2858,8 +2885,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2912,11 +2939,13 @@ export namespace composer_v1 { list( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2951,8 +2980,10 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3010,11 +3041,11 @@ export namespace composer_v1 { update( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3047,8 +3078,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3162,11 +3193,11 @@ export namespace composer_v1 { create( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3197,8 +3228,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3254,11 +3285,11 @@ export namespace composer_v1 { delete( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3287,7 +3318,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3340,11 +3374,11 @@ export namespace composer_v1 { get( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3375,8 +3409,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3429,11 +3463,13 @@ export namespace composer_v1 { list( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3468,8 +3504,10 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3527,11 +3565,11 @@ export namespace composer_v1 { update( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3562,8 +3600,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3677,11 +3715,11 @@ export namespace composer_v1 { list( params: Params$Resource$Projects$Locations$Environments$Workloads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Environments$Workloads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Environments$Workloads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3714,8 +3752,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Workloads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3798,11 +3836,11 @@ export namespace composer_v1 { list( params: Params$Resource$Projects$Locations$Imageversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Imageversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Imageversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3837,8 +3875,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3920,11 +3958,11 @@ export namespace composer_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3953,7 +3991,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4005,11 +4046,11 @@ export namespace composer_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4038,7 +4079,10 @@ export namespace composer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4090,11 +4134,11 @@ export namespace composer_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4127,8 +4171,8 @@ export namespace composer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/composer/v1beta1.ts b/src/apis/composer/v1beta1.ts index 1116db78631..2cc2c4f2c91 100644 --- a/src/apis/composer/v1beta1.ts +++ b/src/apis/composer/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1318,11 +1318,11 @@ export namespace composer_v1beta1 { checkUpgrade( params: Params$Resource$Projects$Locations$Environments$Checkupgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkUpgrade( params?: Params$Resource$Projects$Locations$Environments$Checkupgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkUpgrade( params: Params$Resource$Projects$Locations$Environments$Checkupgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -1351,7 +1351,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Checkupgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1407,11 +1410,11 @@ export namespace composer_v1beta1 { create( params: Params$Resource$Projects$Locations$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1440,7 +1443,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1495,11 +1501,11 @@ export namespace composer_v1beta1 { databaseFailover( params: Params$Resource$Projects$Locations$Environments$Databasefailover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; databaseFailover( params?: Params$Resource$Projects$Locations$Environments$Databasefailover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; databaseFailover( params: Params$Resource$Projects$Locations$Environments$Databasefailover, options: StreamMethodOptions | BodyResponseCallback, @@ -1528,7 +1534,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Databasefailover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1584,11 +1593,11 @@ export namespace composer_v1beta1 { delete( params: Params$Resource$Projects$Locations$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1617,7 +1626,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1669,11 +1681,11 @@ export namespace composer_v1beta1 { executeAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Executeairflowcommand, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeAirflowCommand( params?: Params$Resource$Projects$Locations$Environments$Executeairflowcommand, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Executeairflowcommand, options: StreamMethodOptions | BodyResponseCallback, @@ -1708,8 +1720,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Executeairflowcommand; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1766,11 +1778,11 @@ export namespace composer_v1beta1 { fetchDatabaseProperties( params: Params$Resource$Projects$Locations$Environments$Fetchdatabaseproperties, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchDatabaseProperties( params?: Params$Resource$Projects$Locations$Environments$Fetchdatabaseproperties, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchDatabaseProperties( params: Params$Resource$Projects$Locations$Environments$Fetchdatabaseproperties, options: StreamMethodOptions | BodyResponseCallback, @@ -1805,8 +1817,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Fetchdatabaseproperties; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1863,11 +1875,11 @@ export namespace composer_v1beta1 { get( params: Params$Resource$Projects$Locations$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1896,7 +1908,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1948,11 +1963,11 @@ export namespace composer_v1beta1 { list( params: Params$Resource$Projects$Locations$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1985,8 +2000,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2041,11 +2056,11 @@ export namespace composer_v1beta1 { loadSnapshot( params: Params$Resource$Projects$Locations$Environments$Loadsnapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; loadSnapshot( params?: Params$Resource$Projects$Locations$Environments$Loadsnapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; loadSnapshot( params: Params$Resource$Projects$Locations$Environments$Loadsnapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -2074,7 +2089,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Loadsnapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2130,11 +2148,11 @@ export namespace composer_v1beta1 { patch( params: Params$Resource$Projects$Locations$Environments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Environments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Environments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2163,7 +2181,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2215,11 +2236,11 @@ export namespace composer_v1beta1 { pollAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Pollairflowcommand, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pollAirflowCommand( params?: Params$Resource$Projects$Locations$Environments$Pollairflowcommand, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pollAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Pollairflowcommand, options: StreamMethodOptions | BodyResponseCallback, @@ -2254,8 +2275,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Pollairflowcommand; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2310,11 +2331,11 @@ export namespace composer_v1beta1 { restartWebServer( params: Params$Resource$Projects$Locations$Environments$Restartwebserver, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restartWebServer( params?: Params$Resource$Projects$Locations$Environments$Restartwebserver, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restartWebServer( params: Params$Resource$Projects$Locations$Environments$Restartwebserver, options: StreamMethodOptions | BodyResponseCallback, @@ -2343,7 +2364,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Restartwebserver; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2399,11 +2423,11 @@ export namespace composer_v1beta1 { saveSnapshot( params: Params$Resource$Projects$Locations$Environments$Savesnapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; saveSnapshot( params?: Params$Resource$Projects$Locations$Environments$Savesnapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; saveSnapshot( params: Params$Resource$Projects$Locations$Environments$Savesnapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -2432,7 +2456,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Savesnapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2488,11 +2515,11 @@ export namespace composer_v1beta1 { stopAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Stopairflowcommand, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopAirflowCommand( params?: Params$Resource$Projects$Locations$Environments$Stopairflowcommand, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopAirflowCommand( params: Params$Resource$Projects$Locations$Environments$Stopairflowcommand, options: StreamMethodOptions | BodyResponseCallback, @@ -2527,8 +2554,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Stopairflowcommand; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2751,11 +2778,11 @@ export namespace composer_v1beta1 { create( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2788,8 +2815,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2844,11 +2871,11 @@ export namespace composer_v1beta1 { delete( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2877,7 +2904,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2930,11 +2960,11 @@ export namespace composer_v1beta1 { get( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2967,8 +2997,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3021,11 +3051,13 @@ export namespace composer_v1beta1 { list( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3060,8 +3092,10 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3118,11 +3152,11 @@ export namespace composer_v1beta1 { update( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3155,8 +3189,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadsconfigmaps$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3270,11 +3304,11 @@ export namespace composer_v1beta1 { create( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3305,8 +3339,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3362,11 +3396,11 @@ export namespace composer_v1beta1 { delete( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3395,7 +3429,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3448,11 +3485,11 @@ export namespace composer_v1beta1 { get( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3483,8 +3520,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3537,11 +3574,13 @@ export namespace composer_v1beta1 { list( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3576,8 +3615,10 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3635,11 +3676,11 @@ export namespace composer_v1beta1 { update( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3670,8 +3711,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Userworkloadssecrets$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3785,11 +3826,11 @@ export namespace composer_v1beta1 { list( params: Params$Resource$Projects$Locations$Environments$Workloads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Environments$Workloads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Environments$Workloads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3822,8 +3863,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Workloads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3906,11 +3947,11 @@ export namespace composer_v1beta1 { list( params: Params$Resource$Projects$Locations$Imageversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Imageversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Imageversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3945,8 +3986,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4028,11 +4069,11 @@ export namespace composer_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4061,7 +4102,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4113,11 +4157,11 @@ export namespace composer_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4146,7 +4190,10 @@ export namespace composer_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4198,11 +4245,11 @@ export namespace composer_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4235,8 +4282,8 @@ export namespace composer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/compute/alpha.ts b/src/apis/compute/alpha.ts index eba6e57f3f9..aefb0db55ac 100644 --- a/src/apis/compute/alpha.ts +++ b/src/apis/compute/alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5783,6 +5783,14 @@ export namespace compute_alpha { * Maintenance Info for ReservationBlocks. */ export interface Schema$GroupMaintenanceInfo { + /** + * Describes number of instances that have ongoing maintenance. + */ + instanceMaintenanceOngoingCount?: number | null; + /** + * Describes number of instances that have pending maintenance. + */ + instanceMaintenancePendingCount?: number | null; /** * Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance. */ @@ -8145,6 +8153,10 @@ export namespace compute_alpha { * The action that a MIG performs on an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are: - DEFAULT_ACTION (default): MIG uses the same action configured for instanceLifecyclePolicy.defaultActionOnFailure field. - REPAIR: MIG automatically repairs an unhealthy VM by recreating it. - DO_NOTHING: MIG doesn't repair an unhealthy VM. For more information, see About repairing VMs in a MIG. */ onFailedHealthCheck?: string | null; + /** + * Configuration for VM repairs in the MIG. + */ + onRepair?: Schema$InstanceGroupManagerInstanceLifecyclePolicyOnRepair; } export interface Schema$InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal { /** @@ -8152,6 +8164,15 @@ export namespace compute_alpha { */ timeoutSec?: number | null; } + /** + * Configuration for VM repairs in the MIG. + */ + export interface Schema$InstanceGroupManagerInstanceLifecyclePolicyOnRepair { + /** + * Specifies whether the MIG can change a VM's zone during repair. + */ + allowChangingZone?: string | null; + } /** * [Output Only] A list of managed instance groups. */ @@ -9957,7 +9978,7 @@ export namespace compute_alpha { */ labels?: {[key: string]: string} | null; /** - * Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. + * Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not specified, the value will default to 1440. */ mtu?: number | null; /** @@ -10314,7 +10335,7 @@ export namespace compute_alpha { */ l2Forwarding?: Schema$InterconnectAttachmentL2Forwarding; /** - * Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. + * Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, or 8896. If not specified, the value will default to 1440. */ mtu?: number | null; /** @@ -17213,6 +17234,10 @@ export namespace compute_alpha { * The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */ name?: string | null; + /** + * Protection tier for the workload which specifies the workload expectations in the event of infrastructure failures at data center (e.g. power and/or cooling failures). + */ + protectionTier?: string | null; /** * [Output only] Indicates the reservation mode of the reservation. */ @@ -18096,7 +18121,7 @@ export namespace compute_alpha { */ enableOsconfigMetadataValue?: boolean | null; /** - * Effective enable-osinventory value at Instance level. + * Effective enable-os-inventory value at Instance level. */ enableOsInventoryMetadataValue?: boolean | null; /** @@ -18107,6 +18132,10 @@ export namespace compute_alpha { * Effective serial-port-enable value at Instance level. */ serialPortEnableMetadataValue?: boolean | null; + /** + * Effective serial-port-logging-enable value at Instance level. + */ + serialPortLoggingEnableMetadataValue?: boolean | null; /** * Effective VM DNS setting at Instance level. */ @@ -19834,6 +19863,11 @@ export namespace compute_alpha { enableMl?: boolean | null; } export interface Schema$SecurityPolicyDdosProtectionConfig { + ddosAdaptiveProtection?: string | null; + /** + * Adaptive Protection for Network Load Balancers (and VMs with public IPs) builds DDos mitigations that minimize collateral damage. It quantifies this as the fraction of a non-abuse baseline that's inadvertently blocked. Rules whose collateral damage exceeds ddosAdaptiveImpactedBaselineThreshold will not be deployed. Using a lower value will prioritize keeping collateral damage low, possibly at the cost of its effectiveness in rate limiting some or all of the attack. It should typically be between 0.01 and 0.10. + */ + ddosImpactedBaselineThreshold?: number | null; ddosProtection?: string | null; } export interface Schema$SecurityPolicyList { @@ -25160,11 +25194,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Acceleratortypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Acceleratortypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Acceleratortypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -25199,8 +25233,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acceleratortypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25257,11 +25291,11 @@ export namespace compute_alpha { get( params: Params$Resource$Acceleratortypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Acceleratortypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Acceleratortypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25290,7 +25324,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acceleratortypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25345,11 +25382,11 @@ export namespace compute_alpha { list( params: Params$Resource$Acceleratortypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Acceleratortypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Acceleratortypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25380,8 +25417,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acceleratortypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25525,11 +25562,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Addresses$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Addresses$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Addresses$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -25564,8 +25601,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25619,11 +25656,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Addresses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Addresses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Addresses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25652,7 +25689,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25706,11 +25746,11 @@ export namespace compute_alpha { get( params: Params$Resource$Addresses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Addresses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Addresses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25739,7 +25779,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25793,11 +25836,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Addresses$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Addresses$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Addresses$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -25826,7 +25869,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25880,11 +25926,11 @@ export namespace compute_alpha { list( params: Params$Resource$Addresses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Addresses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Addresses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25913,7 +25959,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25967,11 +26016,11 @@ export namespace compute_alpha { move( params: Params$Resource$Addresses$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Addresses$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Addresses$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -26000,7 +26049,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26054,11 +26106,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Addresses$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Addresses$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Addresses$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -26087,7 +26139,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26142,11 +26197,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Addresses$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Addresses$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Addresses$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -26181,8 +26236,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26428,11 +26483,11 @@ export namespace compute_alpha { calendarMode( params: Params$Resource$Advice$Calendarmode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calendarMode( params?: Params$Resource$Advice$Calendarmode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calendarMode( params: Params$Resource$Advice$Calendarmode, options: StreamMethodOptions | BodyResponseCallback, @@ -26467,8 +26522,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advice$Calendarmode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26547,11 +26602,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Autoscalers$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Autoscalers$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Autoscalers$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -26586,8 +26641,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26642,11 +26697,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Autoscalers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Autoscalers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Autoscalers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26675,7 +26730,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26730,11 +26788,11 @@ export namespace compute_alpha { get( params: Params$Resource$Autoscalers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Autoscalers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Autoscalers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26763,7 +26821,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26817,11 +26878,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Autoscalers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Autoscalers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Autoscalers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -26850,7 +26911,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26905,11 +26969,11 @@ export namespace compute_alpha { list( params: Params$Resource$Autoscalers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Autoscalers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Autoscalers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26938,7 +27002,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26992,11 +27059,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Autoscalers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Autoscalers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Autoscalers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -27025,7 +27092,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27080,11 +27150,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Autoscalers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Autoscalers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Autoscalers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -27119,8 +27189,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27175,11 +27245,11 @@ export namespace compute_alpha { update( params: Params$Resource$Autoscalers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Autoscalers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Autoscalers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -27208,7 +27278,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27457,11 +27530,11 @@ export namespace compute_alpha { addSignedUrlKey( params: Params$Resource$Backendbuckets$Addsignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params?: Params$Resource$Backendbuckets$Addsignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params: Params$Resource$Backendbuckets$Addsignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -27490,7 +27563,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Addsignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27545,11 +27621,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Backendbuckets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Backendbuckets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Backendbuckets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27578,7 +27654,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27633,11 +27712,11 @@ export namespace compute_alpha { deleteSignedUrlKey( params: Params$Resource$Backendbuckets$Deletesignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params?: Params$Resource$Backendbuckets$Deletesignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params: Params$Resource$Backendbuckets$Deletesignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -27666,7 +27745,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Deletesignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27721,11 +27803,11 @@ export namespace compute_alpha { get( params: Params$Resource$Backendbuckets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Backendbuckets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Backendbuckets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27754,7 +27836,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27809,11 +27894,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Backendbuckets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Backendbuckets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Backendbuckets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -27842,7 +27927,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27897,11 +27985,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Backendbuckets$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Backendbuckets$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Backendbuckets$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -27930,7 +28018,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27985,11 +28076,11 @@ export namespace compute_alpha { list( params: Params$Resource$Backendbuckets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Backendbuckets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Backendbuckets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28020,8 +28111,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28076,11 +28167,11 @@ export namespace compute_alpha { listUsable( params: Params$Resource$Backendbuckets$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Backendbuckets$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Backendbuckets$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -28115,8 +28206,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28171,11 +28262,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Backendbuckets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Backendbuckets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Backendbuckets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28204,7 +28295,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28259,11 +28353,11 @@ export namespace compute_alpha { setEdgeSecurityPolicy( params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params?: Params$Resource$Backendbuckets$Setedgesecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -28294,7 +28388,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Setedgesecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28349,11 +28446,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Backendbuckets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Backendbuckets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Backendbuckets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -28382,7 +28479,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28437,11 +28537,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Backendbuckets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Backendbuckets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Backendbuckets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -28476,8 +28576,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28532,11 +28632,11 @@ export namespace compute_alpha { update( params: Params$Resource$Backendbuckets$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Backendbuckets$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Backendbuckets$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -28565,7 +28665,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28870,11 +28973,11 @@ export namespace compute_alpha { addSignedUrlKey( params: Params$Resource$Backendservices$Addsignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params?: Params$Resource$Backendservices$Addsignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params: Params$Resource$Backendservices$Addsignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -28903,7 +29006,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Addsignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28958,11 +29064,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Backendservices$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Backendservices$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Backendservices$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -28997,8 +29103,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29055,11 +29161,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Backendservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Backendservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Backendservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -29088,7 +29194,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29143,11 +29252,11 @@ export namespace compute_alpha { deleteSignedUrlKey( params: Params$Resource$Backendservices$Deletesignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params?: Params$Resource$Backendservices$Deletesignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params: Params$Resource$Backendservices$Deletesignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -29176,7 +29285,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Deletesignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29231,11 +29343,11 @@ export namespace compute_alpha { get( params: Params$Resource$Backendservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Backendservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Backendservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29264,7 +29376,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29319,11 +29434,13 @@ export namespace compute_alpha { getEffectiveSecurityPolicies( params: Params$Resource$Backendservices$Geteffectivesecuritypolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveSecurityPolicies( params?: Params$Resource$Backendservices$Geteffectivesecuritypolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEffectiveSecurityPolicies( params: Params$Resource$Backendservices$Geteffectivesecuritypolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -29358,8 +29475,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Geteffectivesecuritypolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29417,11 +29536,11 @@ export namespace compute_alpha { getHealth( params: Params$Resource$Backendservices$Gethealth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params?: Params$Resource$Backendservices$Gethealth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params: Params$Resource$Backendservices$Gethealth, options: StreamMethodOptions | BodyResponseCallback, @@ -29456,8 +29575,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Gethealth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29512,11 +29631,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Backendservices$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Backendservices$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Backendservices$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -29545,7 +29664,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29600,11 +29722,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Backendservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Backendservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Backendservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -29633,7 +29755,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29688,11 +29813,11 @@ export namespace compute_alpha { list( params: Params$Resource$Backendservices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Backendservices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Backendservices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29723,8 +29848,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29779,11 +29904,11 @@ export namespace compute_alpha { listUsable( params: Params$Resource$Backendservices$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Backendservices$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Backendservices$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -29818,8 +29943,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29874,11 +29999,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Backendservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Backendservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Backendservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -29907,7 +30032,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29962,11 +30090,11 @@ export namespace compute_alpha { setEdgeSecurityPolicy( params: Params$Resource$Backendservices$Setedgesecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params?: Params$Resource$Backendservices$Setedgesecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params: Params$Resource$Backendservices$Setedgesecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -29997,7 +30125,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Setedgesecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30052,11 +30183,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Backendservices$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Backendservices$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Backendservices$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -30085,7 +30216,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30140,11 +30274,11 @@ export namespace compute_alpha { setSecurityPolicy( params: Params$Resource$Backendservices$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Backendservices$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Backendservices$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -30173,7 +30307,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30228,11 +30365,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Backendservices$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Backendservices$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Backendservices$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -30267,8 +30404,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30323,11 +30460,11 @@ export namespace compute_alpha { update( params: Params$Resource$Backendservices$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Backendservices$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Backendservices$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -30356,7 +30493,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30743,11 +30883,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Crosssitenetworks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Crosssitenetworks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Crosssitenetworks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30776,7 +30916,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Crosssitenetworks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30831,11 +30974,11 @@ export namespace compute_alpha { get( params: Params$Resource$Crosssitenetworks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Crosssitenetworks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Crosssitenetworks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30864,7 +31007,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Crosssitenetworks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30919,11 +31065,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Crosssitenetworks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Crosssitenetworks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Crosssitenetworks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -30952,7 +31098,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Crosssitenetworks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31007,11 +31156,11 @@ export namespace compute_alpha { list( params: Params$Resource$Crosssitenetworks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Crosssitenetworks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Crosssitenetworks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31044,8 +31193,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Crosssitenetworks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31100,11 +31249,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Crosssitenetworks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Crosssitenetworks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Crosssitenetworks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31133,7 +31282,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Crosssitenetworks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31297,11 +31449,11 @@ export namespace compute_alpha { addResourcePolicies( params: Params$Resource$Disks$Addresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params?: Params$Resource$Disks$Addresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params: Params$Resource$Disks$Addresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -31330,7 +31482,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Addresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31385,11 +31540,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Disks$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Disks$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Disks$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -31422,8 +31577,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31477,11 +31632,11 @@ export namespace compute_alpha { bulkInsert( params: Params$Resource$Disks$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Disks$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Disks$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -31510,7 +31665,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31564,11 +31722,11 @@ export namespace compute_alpha { bulkSetLabels( params: Params$Resource$Disks$Bulksetlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkSetLabels( params?: Params$Resource$Disks$Bulksetlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkSetLabels( params: Params$Resource$Disks$Bulksetlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -31597,7 +31755,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Bulksetlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31652,11 +31813,11 @@ export namespace compute_alpha { createSnapshot( params: Params$Resource$Disks$Createsnapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params?: Params$Resource$Disks$Createsnapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params: Params$Resource$Disks$Createsnapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -31685,7 +31846,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Createsnapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31740,11 +31904,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Disks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Disks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Disks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31773,7 +31937,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31827,11 +31994,11 @@ export namespace compute_alpha { get( params: Params$Resource$Disks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Disks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Disks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31860,7 +32027,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31914,11 +32084,13 @@ export namespace compute_alpha { getAsyncReplicationStatus( params: Params$Resource$Disks$Getasyncreplicationstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAsyncReplicationStatus( params?: Params$Resource$Disks$Getasyncreplicationstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAsyncReplicationStatus( params: Params$Resource$Disks$Getasyncreplicationstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -31953,8 +32125,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Getasyncreplicationstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32011,11 +32185,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Disks$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Disks$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Disks$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -32044,7 +32218,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32099,11 +32276,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Disks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Disks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Disks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -32132,7 +32309,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32185,11 +32365,11 @@ export namespace compute_alpha { list( params: Params$Resource$Disks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Disks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Disks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32218,7 +32398,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32271,11 +32454,11 @@ export namespace compute_alpha { removeResourcePolicies( params: Params$Resource$Disks$Removeresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params?: Params$Resource$Disks$Removeresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params: Params$Resource$Disks$Removeresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -32306,7 +32489,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Removeresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32361,11 +32547,11 @@ export namespace compute_alpha { resize( params: Params$Resource$Disks$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Disks$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Disks$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -32394,7 +32580,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32448,11 +32637,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Disks$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Disks$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Disks$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -32481,7 +32670,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32536,11 +32728,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Disks$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Disks$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Disks$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -32569,7 +32761,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32623,11 +32818,11 @@ export namespace compute_alpha { startAsyncReplication( params: Params$Resource$Disks$Startasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params?: Params$Resource$Disks$Startasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params: Params$Resource$Disks$Startasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -32658,7 +32853,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Startasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32713,11 +32911,11 @@ export namespace compute_alpha { stopAsyncReplication( params: Params$Resource$Disks$Stopasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params?: Params$Resource$Disks$Stopasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params: Params$Resource$Disks$Stopasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -32748,7 +32946,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Stopasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32803,11 +33004,11 @@ export namespace compute_alpha { stopGroupAsyncReplication( params: Params$Resource$Disks$Stopgroupasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params?: Params$Resource$Disks$Stopgroupasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params: Params$Resource$Disks$Stopgroupasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -32838,7 +33039,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Stopgroupasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32893,11 +33097,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Disks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Disks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Disks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -32932,8 +33136,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32988,11 +33192,11 @@ export namespace compute_alpha { update( params: Params$Resource$Disks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Disks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Disks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -33021,7 +33225,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33075,11 +33282,11 @@ export namespace compute_alpha { waitForReplicationCatchUp( params: Params$Resource$Disks$Waitforreplicationcatchup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; waitForReplicationCatchUp( params?: Params$Resource$Disks$Waitforreplicationcatchup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; waitForReplicationCatchUp( params: Params$Resource$Disks$Waitforreplicationcatchup, options: StreamMethodOptions | BodyResponseCallback, @@ -33110,7 +33317,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Waitforreplicationcatchup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33650,11 +33860,11 @@ export namespace compute_alpha { get( params: Params$Resource$Disksettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Disksettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Disksettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33683,7 +33893,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disksettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33737,11 +33950,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Disksettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Disksettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Disksettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -33770,7 +33983,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disksettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33867,11 +34083,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Disktypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Disktypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Disktypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -33906,8 +34122,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disktypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33961,11 +34177,11 @@ export namespace compute_alpha { get( params: Params$Resource$Disktypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Disktypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Disktypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33994,7 +34210,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disktypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34048,11 +34267,11 @@ export namespace compute_alpha { list( params: Params$Resource$Disktypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Disktypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Disktypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34081,7 +34300,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disktypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34222,11 +34444,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Externalvpngateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Externalvpngateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Externalvpngateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34255,7 +34477,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34310,11 +34535,11 @@ export namespace compute_alpha { get( params: Params$Resource$Externalvpngateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Externalvpngateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Externalvpngateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34345,8 +34570,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34401,11 +34626,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Externalvpngateways$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Externalvpngateways$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Externalvpngateways$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -34434,7 +34659,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34489,11 +34717,11 @@ export namespace compute_alpha { list( params: Params$Resource$Externalvpngateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Externalvpngateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Externalvpngateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34526,8 +34754,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34582,11 +34810,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Externalvpngateways$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Externalvpngateways$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Externalvpngateways$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -34615,7 +34843,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34670,11 +34901,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Externalvpngateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Externalvpngateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Externalvpngateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -34709,8 +34940,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34874,11 +35105,11 @@ export namespace compute_alpha { addAssociation( params: Params$Resource$Firewallpolicies$Addassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params?: Params$Resource$Firewallpolicies$Addassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params: Params$Resource$Firewallpolicies$Addassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -34907,7 +35138,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Addassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34962,11 +35196,11 @@ export namespace compute_alpha { addPacketMirroringRule( params: Params$Resource$Firewallpolicies$Addpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addPacketMirroringRule( params?: Params$Resource$Firewallpolicies$Addpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addPacketMirroringRule( params: Params$Resource$Firewallpolicies$Addpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -34997,7 +35231,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Addpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35052,11 +35289,11 @@ export namespace compute_alpha { addRule( params: Params$Resource$Firewallpolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Firewallpolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Firewallpolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -35085,7 +35322,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35140,11 +35380,11 @@ export namespace compute_alpha { cloneRules( params: Params$Resource$Firewallpolicies$Clonerules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params?: Params$Resource$Firewallpolicies$Clonerules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params: Params$Resource$Firewallpolicies$Clonerules, options: StreamMethodOptions | BodyResponseCallback, @@ -35173,7 +35413,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Clonerules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35228,11 +35471,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Firewallpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Firewallpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Firewallpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -35261,7 +35504,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35316,11 +35562,11 @@ export namespace compute_alpha { get( params: Params$Resource$Firewallpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Firewallpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Firewallpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35349,7 +35595,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35404,11 +35653,11 @@ export namespace compute_alpha { getAssociation( params: Params$Resource$Firewallpolicies$Getassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params?: Params$Resource$Firewallpolicies$Getassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params: Params$Resource$Firewallpolicies$Getassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -35443,8 +35692,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Getassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35499,11 +35748,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Firewallpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Firewallpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Firewallpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -35532,7 +35781,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35587,11 +35839,11 @@ export namespace compute_alpha { getPacketMirroringRule( params: Params$Resource$Firewallpolicies$Getpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPacketMirroringRule( params?: Params$Resource$Firewallpolicies$Getpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPacketMirroringRule( params: Params$Resource$Firewallpolicies$Getpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -35624,8 +35876,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Getpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35680,11 +35932,11 @@ export namespace compute_alpha { getRule( params: Params$Resource$Firewallpolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Firewallpolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Firewallpolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -35715,8 +35967,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35771,11 +36023,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Firewallpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Firewallpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Firewallpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -35804,7 +36056,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35858,11 +36113,11 @@ export namespace compute_alpha { list( params: Params$Resource$Firewallpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Firewallpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Firewallpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35893,8 +36148,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35948,11 +36203,13 @@ export namespace compute_alpha { listAssociations( params: Params$Resource$Firewallpolicies$Listassociations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAssociations( params?: Params$Resource$Firewallpolicies$Listassociations, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAssociations( params: Params$Resource$Firewallpolicies$Listassociations, options: StreamMethodOptions | BodyResponseCallback, @@ -35987,8 +36244,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Listassociations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36045,11 +36304,11 @@ export namespace compute_alpha { move( params: Params$Resource$Firewallpolicies$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Firewallpolicies$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Firewallpolicies$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -36078,7 +36337,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36133,11 +36395,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Firewallpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Firewallpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Firewallpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -36166,7 +36428,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36221,11 +36486,11 @@ export namespace compute_alpha { patchPacketMirroringRule( params: Params$Resource$Firewallpolicies$Patchpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPacketMirroringRule( params?: Params$Resource$Firewallpolicies$Patchpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPacketMirroringRule( params: Params$Resource$Firewallpolicies$Patchpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -36256,7 +36521,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Patchpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36312,11 +36580,11 @@ export namespace compute_alpha { patchRule( params: Params$Resource$Firewallpolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Firewallpolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Firewallpolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -36345,7 +36613,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36400,11 +36671,11 @@ export namespace compute_alpha { removeAssociation( params: Params$Resource$Firewallpolicies$Removeassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params?: Params$Resource$Firewallpolicies$Removeassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params: Params$Resource$Firewallpolicies$Removeassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -36433,7 +36704,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Removeassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36488,11 +36762,11 @@ export namespace compute_alpha { removePacketMirroringRule( params: Params$Resource$Firewallpolicies$Removepacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removePacketMirroringRule( params?: Params$Resource$Firewallpolicies$Removepacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removePacketMirroringRule( params: Params$Resource$Firewallpolicies$Removepacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -36523,7 +36797,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Removepacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36579,11 +36856,11 @@ export namespace compute_alpha { removeRule( params: Params$Resource$Firewallpolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Firewallpolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Firewallpolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -36612,7 +36889,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36667,11 +36947,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Firewallpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Firewallpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Firewallpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -36700,7 +36980,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36755,11 +37038,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Firewallpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Firewallpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Firewallpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -36794,8 +37077,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37177,11 +37460,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Firewalls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Firewalls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Firewalls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -37210,7 +37493,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37264,11 +37550,11 @@ export namespace compute_alpha { get( params: Params$Resource$Firewalls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Firewalls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Firewalls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37297,7 +37583,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37351,11 +37640,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Firewalls$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Firewalls$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Firewalls$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -37384,7 +37673,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37437,11 +37729,11 @@ export namespace compute_alpha { list( params: Params$Resource$Firewalls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Firewalls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Firewalls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37470,7 +37762,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37523,11 +37818,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Firewalls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Firewalls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Firewalls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -37556,7 +37851,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37610,11 +37908,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Firewalls$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Firewalls$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Firewalls$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -37649,8 +37947,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37705,11 +38003,11 @@ export namespace compute_alpha { update( params: Params$Resource$Firewalls$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Firewalls$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Firewalls$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -37738,7 +38036,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37919,11 +38220,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Forwardingrules$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Forwardingrules$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Forwardingrules$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -37958,8 +38259,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38016,11 +38317,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Forwardingrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Forwardingrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Forwardingrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -38049,7 +38350,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38104,11 +38408,11 @@ export namespace compute_alpha { get( params: Params$Resource$Forwardingrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Forwardingrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Forwardingrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38137,7 +38441,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38192,11 +38499,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Forwardingrules$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Forwardingrules$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Forwardingrules$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -38225,7 +38532,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38280,11 +38590,11 @@ export namespace compute_alpha { list( params: Params$Resource$Forwardingrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Forwardingrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Forwardingrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38315,8 +38625,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38371,11 +38681,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Forwardingrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Forwardingrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Forwardingrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -38404,7 +38714,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38459,11 +38772,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Forwardingrules$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Forwardingrules$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Forwardingrules$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -38492,7 +38805,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38547,11 +38863,11 @@ export namespace compute_alpha { setTarget( params: Params$Resource$Forwardingrules$Settarget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params?: Params$Resource$Forwardingrules$Settarget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params: Params$Resource$Forwardingrules$Settarget, options: StreamMethodOptions | BodyResponseCallback, @@ -38580,7 +38896,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Settarget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38635,11 +38954,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Forwardingrules$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Forwardingrules$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Forwardingrules$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -38674,8 +38993,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38950,11 +39269,13 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Futurereservations$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Futurereservations$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Futurereservations$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -38989,8 +39310,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39047,11 +39370,11 @@ export namespace compute_alpha { cancel( params: Params$Resource$Futurereservations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Futurereservations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Futurereservations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -39080,7 +39403,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39135,11 +39461,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Futurereservations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Futurereservations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Futurereservations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -39168,7 +39494,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39223,11 +39552,11 @@ export namespace compute_alpha { get( params: Params$Resource$Futurereservations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Futurereservations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Futurereservations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39258,8 +39587,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39314,11 +39643,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Futurereservations$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Futurereservations$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Futurereservations$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -39347,7 +39676,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39402,11 +39734,11 @@ export namespace compute_alpha { list( params: Params$Resource$Futurereservations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Futurereservations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Futurereservations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -39441,8 +39773,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39499,11 +39831,11 @@ export namespace compute_alpha { update( params: Params$Resource$Futurereservations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Futurereservations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Futurereservations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -39532,7 +39864,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39766,11 +40101,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Globaladdresses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globaladdresses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globaladdresses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -39799,7 +40134,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39854,11 +40192,11 @@ export namespace compute_alpha { get( params: Params$Resource$Globaladdresses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globaladdresses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globaladdresses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39887,7 +40225,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39942,11 +40283,11 @@ export namespace compute_alpha { getOwnerInstance( params: Params$Resource$Globaladdresses$Getownerinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOwnerInstance( params?: Params$Resource$Globaladdresses$Getownerinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getOwnerInstance( params: Params$Resource$Globaladdresses$Getownerinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -39981,8 +40322,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Getownerinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40037,11 +40378,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Globaladdresses$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globaladdresses$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globaladdresses$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -40070,7 +40411,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40124,11 +40468,11 @@ export namespace compute_alpha { list( params: Params$Resource$Globaladdresses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globaladdresses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globaladdresses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40157,7 +40501,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40211,11 +40558,11 @@ export namespace compute_alpha { move( params: Params$Resource$Globaladdresses$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Globaladdresses$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Globaladdresses$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -40244,7 +40591,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40299,11 +40649,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Globaladdresses$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Globaladdresses$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Globaladdresses$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -40332,7 +40682,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40387,11 +40740,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Globaladdresses$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Globaladdresses$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Globaladdresses$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -40426,8 +40779,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40622,11 +40975,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Globalforwardingrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalforwardingrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalforwardingrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -40655,7 +41008,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40710,11 +41066,11 @@ export namespace compute_alpha { get( params: Params$Resource$Globalforwardingrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalforwardingrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalforwardingrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40743,7 +41099,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40798,11 +41157,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Globalforwardingrules$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globalforwardingrules$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globalforwardingrules$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -40831,7 +41190,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40886,11 +41248,11 @@ export namespace compute_alpha { list( params: Params$Resource$Globalforwardingrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalforwardingrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalforwardingrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40921,8 +41283,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40977,11 +41339,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Globalforwardingrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Globalforwardingrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Globalforwardingrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -41010,7 +41372,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41065,11 +41430,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Globalforwardingrules$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Globalforwardingrules$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Globalforwardingrules$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -41098,7 +41463,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41153,11 +41521,11 @@ export namespace compute_alpha { setTarget( params: Params$Resource$Globalforwardingrules$Settarget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params?: Params$Resource$Globalforwardingrules$Settarget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params: Params$Resource$Globalforwardingrules$Settarget, options: StreamMethodOptions | BodyResponseCallback, @@ -41186,7 +41554,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Settarget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41241,11 +41612,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Globalforwardingrules$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Globalforwardingrules$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Globalforwardingrules$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -41280,8 +41651,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41485,11 +41856,11 @@ export namespace compute_alpha { attachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params?: Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -41520,7 +41891,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41576,11 +41950,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Globalnetworkendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalnetworkendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalnetworkendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -41609,7 +41983,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41664,11 +42041,11 @@ export namespace compute_alpha { detachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params?: Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -41699,7 +42076,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41755,11 +42135,11 @@ export namespace compute_alpha { get( params: Params$Resource$Globalnetworkendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalnetworkendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalnetworkendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -41792,8 +42172,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41848,11 +42228,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Globalnetworkendpointgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globalnetworkendpointgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globalnetworkendpointgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -41881,7 +42261,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41936,11 +42319,11 @@ export namespace compute_alpha { list( params: Params$Resource$Globalnetworkendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalnetworkendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalnetworkendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41973,8 +42356,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42029,11 +42412,13 @@ export namespace compute_alpha { listNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNetworkEndpoints( params?: Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -42068,8 +42453,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42275,11 +42662,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Globaloperations$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Globaloperations$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Globaloperations$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -42314,8 +42701,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42370,11 +42757,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Globaloperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globaloperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globaloperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -42401,7 +42788,10 @@ export namespace compute_alpha { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42456,11 +42846,11 @@ export namespace compute_alpha { get( params: Params$Resource$Globaloperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globaloperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globaloperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -42489,7 +42879,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42544,11 +42937,11 @@ export namespace compute_alpha { list( params: Params$Resource$Globaloperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globaloperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globaloperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -42577,7 +42970,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42631,11 +43027,11 @@ export namespace compute_alpha { wait( params: Params$Resource$Globaloperations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Globaloperations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Globaloperations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -42664,7 +43060,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42822,11 +43221,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Globalorganizationoperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalorganizationoperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalorganizationoperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -42853,7 +43252,10 @@ export namespace compute_alpha { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalorganizationoperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42907,11 +43309,11 @@ export namespace compute_alpha { get( params: Params$Resource$Globalorganizationoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalorganizationoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalorganizationoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -42940,7 +43342,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalorganizationoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42994,11 +43399,11 @@ export namespace compute_alpha { list( params: Params$Resource$Globalorganizationoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalorganizationoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalorganizationoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -43027,7 +43432,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalorganizationoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43138,11 +43546,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Globalpublicdelegatedprefixes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalpublicdelegatedprefixes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalpublicdelegatedprefixes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -43171,7 +43579,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43226,11 +43637,11 @@ export namespace compute_alpha { get( params: Params$Resource$Globalpublicdelegatedprefixes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalpublicdelegatedprefixes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalpublicdelegatedprefixes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -43263,8 +43674,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43319,11 +43730,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Globalpublicdelegatedprefixes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globalpublicdelegatedprefixes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globalpublicdelegatedprefixes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -43352,7 +43763,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43407,11 +43821,11 @@ export namespace compute_alpha { list( params: Params$Resource$Globalpublicdelegatedprefixes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalpublicdelegatedprefixes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalpublicdelegatedprefixes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -43446,8 +43860,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43502,11 +43916,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Globalpublicdelegatedprefixes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Globalpublicdelegatedprefixes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Globalpublicdelegatedprefixes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -43535,7 +43949,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43687,11 +44104,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Healthchecks$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Healthchecks$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Healthchecks$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -43726,8 +44143,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43782,11 +44199,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Healthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Healthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Healthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -43815,7 +44232,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43870,11 +44290,11 @@ export namespace compute_alpha { get( params: Params$Resource$Healthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Healthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Healthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -43903,7 +44323,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43957,11 +44380,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Healthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Healthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Healthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -43990,7 +44413,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44044,11 +44470,11 @@ export namespace compute_alpha { list( params: Params$Resource$Healthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Healthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Healthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -44077,7 +44503,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44131,11 +44560,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Healthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Healthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Healthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -44164,7 +44593,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44219,11 +44651,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Healthchecks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Healthchecks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Healthchecks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -44258,8 +44690,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44314,11 +44746,11 @@ export namespace compute_alpha { update( params: Params$Resource$Healthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Healthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Healthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -44347,7 +44779,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44569,11 +45004,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Httphealthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Httphealthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Httphealthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -44602,7 +45037,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44657,11 +45095,11 @@ export namespace compute_alpha { get( params: Params$Resource$Httphealthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Httphealthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Httphealthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -44690,7 +45128,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44745,11 +45186,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Httphealthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Httphealthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Httphealthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -44778,7 +45219,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44833,11 +45277,11 @@ export namespace compute_alpha { list( params: Params$Resource$Httphealthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Httphealthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Httphealthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -44868,8 +45312,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44924,11 +45368,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Httphealthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Httphealthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Httphealthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -44957,7 +45401,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45012,11 +45459,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Httphealthchecks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Httphealthchecks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Httphealthchecks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -45051,8 +45498,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45107,11 +45554,11 @@ export namespace compute_alpha { update( params: Params$Resource$Httphealthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Httphealthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Httphealthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -45140,7 +45587,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45328,11 +45778,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Httpshealthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Httpshealthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Httpshealthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -45361,7 +45811,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45416,11 +45869,11 @@ export namespace compute_alpha { get( params: Params$Resource$Httpshealthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Httpshealthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Httpshealthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -45449,7 +45902,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45504,11 +45960,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Httpshealthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Httpshealthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Httpshealthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -45537,7 +45993,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45592,11 +46051,11 @@ export namespace compute_alpha { list( params: Params$Resource$Httpshealthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Httpshealthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Httpshealthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -45629,8 +46088,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45685,11 +46144,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Httpshealthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Httpshealthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Httpshealthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -45718,7 +46177,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45773,11 +46235,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Httpshealthchecks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Httpshealthchecks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Httpshealthchecks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -45812,8 +46274,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45868,11 +46330,11 @@ export namespace compute_alpha { update( params: Params$Resource$Httpshealthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Httpshealthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Httpshealthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -45901,7 +46363,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46089,11 +46554,11 @@ export namespace compute_alpha { get( params: Params$Resource$Imagefamilyviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Imagefamilyviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Imagefamilyviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -46122,7 +46587,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Imagefamilyviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46200,11 +46668,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Images$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Images$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Images$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -46233,7 +46701,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46287,11 +46758,11 @@ export namespace compute_alpha { deprecate( params: Params$Resource$Images$Deprecate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deprecate( params?: Params$Resource$Images$Deprecate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deprecate( params: Params$Resource$Images$Deprecate, options: StreamMethodOptions | BodyResponseCallback, @@ -46320,7 +46791,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Deprecate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46374,11 +46848,11 @@ export namespace compute_alpha { get( params: Params$Resource$Images$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Images$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Images$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -46407,7 +46881,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46461,11 +46938,11 @@ export namespace compute_alpha { getFromFamily( params: Params$Resource$Images$Getfromfamily, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFromFamily( params?: Params$Resource$Images$Getfromfamily, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getFromFamily( params: Params$Resource$Images$Getfromfamily, options: StreamMethodOptions | BodyResponseCallback, @@ -46494,7 +46971,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Getfromfamily; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46549,11 +47029,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Images$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Images$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Images$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -46582,7 +47062,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46637,11 +47120,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Images$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Images$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Images$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -46670,7 +47153,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46723,11 +47209,11 @@ export namespace compute_alpha { list( params: Params$Resource$Images$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Images$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Images$List, options: StreamMethodOptions | BodyResponseCallback, @@ -46756,7 +47242,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46809,11 +47298,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Images$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Images$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Images$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -46842,7 +47331,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46896,11 +47388,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Images$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Images$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Images$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -46929,7 +47421,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46984,11 +47479,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Images$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Images$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Images$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -47017,7 +47512,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47071,11 +47569,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Images$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Images$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Images$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -47110,8 +47608,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47358,11 +47856,11 @@ export namespace compute_alpha { cancel( params: Params$Resource$Instancegroupmanagerresizerequests$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Instancegroupmanagerresizerequests$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Instancegroupmanagerresizerequests$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -47391,7 +47889,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47457,11 +47958,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Instancegroupmanagerresizerequests$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancegroupmanagerresizerequests$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancegroupmanagerresizerequests$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -47490,7 +47991,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47556,11 +48060,13 @@ export namespace compute_alpha { get( params: Params$Resource$Instancegroupmanagerresizerequests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancegroupmanagerresizerequests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Instancegroupmanagerresizerequests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -47595,8 +48101,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47663,11 +48171,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Instancegroupmanagerresizerequests$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancegroupmanagerresizerequests$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancegroupmanagerresizerequests$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -47696,7 +48204,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47752,11 +48263,13 @@ export namespace compute_alpha { list( params: Params$Resource$Instancegroupmanagerresizerequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancegroupmanagerresizerequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Instancegroupmanagerresizerequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -47791,8 +48304,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47981,11 +48496,11 @@ export namespace compute_alpha { abandonInstances( params: Params$Resource$Instancegroupmanagers$Abandoninstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params?: Params$Resource$Instancegroupmanagers$Abandoninstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params: Params$Resource$Instancegroupmanagers$Abandoninstances, options: StreamMethodOptions | BodyResponseCallback, @@ -48014,7 +48529,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Abandoninstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48069,11 +48587,13 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Instancegroupmanagers$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instancegroupmanagers$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Instancegroupmanagers$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -48108,8 +48628,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48166,11 +48688,11 @@ export namespace compute_alpha { applyUpdatesToInstances( params: Params$Resource$Instancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params?: Params$Resource$Instancegroupmanagers$Applyupdatestoinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params: Params$Resource$Instancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -48201,7 +48723,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Applyupdatestoinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48257,11 +48782,11 @@ export namespace compute_alpha { createInstances( params: Params$Resource$Instancegroupmanagers$Createinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params?: Params$Resource$Instancegroupmanagers$Createinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params: Params$Resource$Instancegroupmanagers$Createinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -48290,7 +48815,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Createinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48345,11 +48873,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Instancegroupmanagers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancegroupmanagers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancegroupmanagers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -48378,7 +48906,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48433,11 +48964,11 @@ export namespace compute_alpha { deleteInstances( params: Params$Resource$Instancegroupmanagers$Deleteinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params?: Params$Resource$Instancegroupmanagers$Deleteinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params: Params$Resource$Instancegroupmanagers$Deleteinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -48466,7 +48997,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Deleteinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48521,11 +49055,11 @@ export namespace compute_alpha { deletePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -48556,7 +49090,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48612,11 +49149,11 @@ export namespace compute_alpha { get( params: Params$Resource$Instancegroupmanagers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancegroupmanagers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancegroupmanagers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -48649,8 +49186,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48705,11 +49242,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Instancegroupmanagers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancegroupmanagers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancegroupmanagers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -48738,7 +49275,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48793,11 +49333,11 @@ export namespace compute_alpha { list( params: Params$Resource$Instancegroupmanagers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancegroupmanagers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instancegroupmanagers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -48830,8 +49370,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48886,11 +49426,13 @@ export namespace compute_alpha { listErrors( params: Params$Resource$Instancegroupmanagers$Listerrors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listErrors( params?: Params$Resource$Instancegroupmanagers$Listerrors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listErrors( params: Params$Resource$Instancegroupmanagers$Listerrors, options: StreamMethodOptions | BodyResponseCallback, @@ -48925,8 +49467,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Listerrors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48983,11 +49527,13 @@ export namespace compute_alpha { listManagedInstances( params: Params$Resource$Instancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listManagedInstances( params?: Params$Resource$Instancegroupmanagers$Listmanagedinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listManagedInstances( params: Params$Resource$Instancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -49022,8 +49568,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Listmanagedinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49081,11 +49629,13 @@ export namespace compute_alpha { listPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Listperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -49120,8 +49670,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Listperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49179,11 +49731,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Instancegroupmanagers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Instancegroupmanagers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Instancegroupmanagers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -49212,7 +49764,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49267,11 +49822,11 @@ export namespace compute_alpha { patchPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -49302,7 +49857,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49358,11 +49916,11 @@ export namespace compute_alpha { recreateInstances( params: Params$Resource$Instancegroupmanagers$Recreateinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params?: Params$Resource$Instancegroupmanagers$Recreateinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params: Params$Resource$Instancegroupmanagers$Recreateinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -49391,7 +49949,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Recreateinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49446,11 +50007,11 @@ export namespace compute_alpha { resize( params: Params$Resource$Instancegroupmanagers$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Instancegroupmanagers$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Instancegroupmanagers$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -49479,7 +50040,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49534,11 +50098,11 @@ export namespace compute_alpha { resizeAdvanced( params: Params$Resource$Instancegroupmanagers$Resizeadvanced, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resizeAdvanced( params?: Params$Resource$Instancegroupmanagers$Resizeadvanced, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resizeAdvanced( params: Params$Resource$Instancegroupmanagers$Resizeadvanced, options: StreamMethodOptions | BodyResponseCallback, @@ -49567,7 +50131,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Resizeadvanced; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49622,11 +50189,11 @@ export namespace compute_alpha { resumeInstances( params: Params$Resource$Instancegroupmanagers$Resumeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params?: Params$Resource$Instancegroupmanagers$Resumeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params: Params$Resource$Instancegroupmanagers$Resumeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -49655,7 +50222,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Resumeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49710,11 +50280,11 @@ export namespace compute_alpha { setAutoHealingPolicies( params: Params$Resource$Instancegroupmanagers$Setautohealingpolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAutoHealingPolicies( params?: Params$Resource$Instancegroupmanagers$Setautohealingpolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAutoHealingPolicies( params: Params$Resource$Instancegroupmanagers$Setautohealingpolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -49745,7 +50315,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Setautohealingpolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49801,11 +50374,11 @@ export namespace compute_alpha { setInstanceTemplate( params: Params$Resource$Instancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params?: Params$Resource$Instancegroupmanagers$Setinstancetemplate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params: Params$Resource$Instancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions | BodyResponseCallback, @@ -49834,7 +50407,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Setinstancetemplate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49890,11 +50466,11 @@ export namespace compute_alpha { setTargetPools( params: Params$Resource$Instancegroupmanagers$Settargetpools, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params?: Params$Resource$Instancegroupmanagers$Settargetpools, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params: Params$Resource$Instancegroupmanagers$Settargetpools, options: StreamMethodOptions | BodyResponseCallback, @@ -49923,7 +50499,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Settargetpools; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49978,11 +50557,11 @@ export namespace compute_alpha { startInstances( params: Params$Resource$Instancegroupmanagers$Startinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params?: Params$Resource$Instancegroupmanagers$Startinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params: Params$Resource$Instancegroupmanagers$Startinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -50011,7 +50590,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Startinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50066,11 +50648,11 @@ export namespace compute_alpha { stopInstances( params: Params$Resource$Instancegroupmanagers$Stopinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params?: Params$Resource$Instancegroupmanagers$Stopinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params: Params$Resource$Instancegroupmanagers$Stopinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -50099,7 +50681,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Stopinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50154,11 +50739,11 @@ export namespace compute_alpha { suspendInstances( params: Params$Resource$Instancegroupmanagers$Suspendinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params?: Params$Resource$Instancegroupmanagers$Suspendinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params: Params$Resource$Instancegroupmanagers$Suspendinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -50187,7 +50772,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Suspendinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50242,11 +50830,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Instancegroupmanagers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instancegroupmanagers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instancegroupmanagers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -50281,8 +50869,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50337,11 +50925,11 @@ export namespace compute_alpha { update( params: Params$Resource$Instancegroupmanagers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Instancegroupmanagers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Instancegroupmanagers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -50370,7 +50958,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50425,11 +51016,11 @@ export namespace compute_alpha { updatePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -50460,7 +51051,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51216,11 +51810,11 @@ export namespace compute_alpha { addInstances( params: Params$Resource$Instancegroups$Addinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addInstances( params?: Params$Resource$Instancegroups$Addinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addInstances( params: Params$Resource$Instancegroups$Addinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -51249,7 +51843,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Addinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51304,11 +51901,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Instancegroups$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instancegroups$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instancegroups$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -51343,8 +51940,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51399,11 +51996,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Instancegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -51432,7 +52029,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51487,11 +52087,11 @@ export namespace compute_alpha { get( params: Params$Resource$Instancegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -51520,7 +52120,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51575,11 +52178,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Instancegroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancegroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancegroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -51608,7 +52211,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51663,11 +52269,11 @@ export namespace compute_alpha { list( params: Params$Resource$Instancegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instancegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -51698,8 +52304,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51754,11 +52360,11 @@ export namespace compute_alpha { listInstances( params: Params$Resource$Instancegroups$Listinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listInstances( params?: Params$Resource$Instancegroups$Listinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listInstances( params: Params$Resource$Instancegroups$Listinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -51793,8 +52399,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Listinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51849,11 +52455,11 @@ export namespace compute_alpha { removeInstances( params: Params$Resource$Instancegroups$Removeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeInstances( params?: Params$Resource$Instancegroups$Removeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeInstances( params: Params$Resource$Instancegroups$Removeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -51882,7 +52488,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Removeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51937,11 +52546,11 @@ export namespace compute_alpha { setNamedPorts( params: Params$Resource$Instancegroups$Setnamedports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params?: Params$Resource$Instancegroups$Setnamedports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params: Params$Resource$Instancegroups$Setnamedports, options: StreamMethodOptions | BodyResponseCallback, @@ -51970,7 +52579,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Setnamedports; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52025,11 +52637,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Instancegroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instancegroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instancegroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -52064,8 +52676,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52380,11 +52992,11 @@ export namespace compute_alpha { addAccessConfig( params: Params$Resource$Instances$Addaccessconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAccessConfig( params?: Params$Resource$Instances$Addaccessconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAccessConfig( params: Params$Resource$Instances$Addaccessconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -52413,7 +53025,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addaccessconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52468,11 +53083,11 @@ export namespace compute_alpha { addNetworkInterface( params: Params$Resource$Instances$Addnetworkinterface, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addNetworkInterface( params?: Params$Resource$Instances$Addnetworkinterface, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addNetworkInterface( params: Params$Resource$Instances$Addnetworkinterface, options: StreamMethodOptions | BodyResponseCallback, @@ -52501,7 +53116,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addnetworkinterface; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52556,11 +53174,11 @@ export namespace compute_alpha { addResourcePolicies( params: Params$Resource$Instances$Addresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params?: Params$Resource$Instances$Addresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params: Params$Resource$Instances$Addresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -52589,7 +53207,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52644,11 +53265,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Instances$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instances$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instances$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -52683,8 +53304,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52738,11 +53359,11 @@ export namespace compute_alpha { attachDisk( params: Params$Resource$Instances$Attachdisk, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachDisk( params?: Params$Resource$Instances$Attachdisk, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachDisk( params: Params$Resource$Instances$Attachdisk, options: StreamMethodOptions | BodyResponseCallback, @@ -52771,7 +53392,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Attachdisk; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52826,11 +53450,11 @@ export namespace compute_alpha { bulkInsert( params: Params$Resource$Instances$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Instances$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Instances$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -52859,7 +53483,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52914,11 +53541,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -52947,7 +53574,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53001,11 +53631,11 @@ export namespace compute_alpha { deleteAccessConfig( params: Params$Resource$Instances$Deleteaccessconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessConfig( params?: Params$Resource$Instances$Deleteaccessconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessConfig( params: Params$Resource$Instances$Deleteaccessconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -53034,7 +53664,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Deleteaccessconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53095,11 +53728,11 @@ export namespace compute_alpha { deleteNetworkInterface( params: Params$Resource$Instances$Deletenetworkinterface, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteNetworkInterface( params?: Params$Resource$Instances$Deletenetworkinterface, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteNetworkInterface( params: Params$Resource$Instances$Deletenetworkinterface, options: StreamMethodOptions | BodyResponseCallback, @@ -53130,7 +53763,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Deletenetworkinterface; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53185,11 +53821,11 @@ export namespace compute_alpha { detachDisk( params: Params$Resource$Instances$Detachdisk, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachDisk( params?: Params$Resource$Instances$Detachdisk, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachDisk( params: Params$Resource$Instances$Detachdisk, options: StreamMethodOptions | BodyResponseCallback, @@ -53218,7 +53854,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Detachdisk; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53273,11 +53912,11 @@ export namespace compute_alpha { get( params: Params$Resource$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -53306,7 +53945,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53360,11 +54002,13 @@ export namespace compute_alpha { getEffectiveFirewalls( params: Params$Resource$Instances$Geteffectivefirewalls, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveFirewalls( params?: Params$Resource$Instances$Geteffectivefirewalls, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEffectiveFirewalls( params: Params$Resource$Instances$Geteffectivefirewalls, options: StreamMethodOptions | BodyResponseCallback, @@ -53399,8 +54043,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Geteffectivefirewalls; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53457,11 +54103,11 @@ export namespace compute_alpha { getGuestAttributes( params: Params$Resource$Instances$Getguestattributes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGuestAttributes( params?: Params$Resource$Instances$Getguestattributes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getGuestAttributes( params: Params$Resource$Instances$Getguestattributes, options: StreamMethodOptions | BodyResponseCallback, @@ -53492,7 +54138,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getguestattributes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53547,11 +54196,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Instances$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Instances$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -53580,7 +54229,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53635,11 +54287,11 @@ export namespace compute_alpha { getPartnerMetadata( params: Params$Resource$Instances$Getpartnermetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPartnerMetadata( params?: Params$Resource$Instances$Getpartnermetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPartnerMetadata( params: Params$Resource$Instances$Getpartnermetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -53670,7 +54322,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getpartnermetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53725,11 +54380,11 @@ export namespace compute_alpha { getScreenshot( params: Params$Resource$Instances$Getscreenshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getScreenshot( params?: Params$Resource$Instances$Getscreenshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getScreenshot( params: Params$Resource$Instances$Getscreenshot, options: StreamMethodOptions | BodyResponseCallback, @@ -53758,7 +54413,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getscreenshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53813,11 +54471,11 @@ export namespace compute_alpha { getSerialPortOutput( params: Params$Resource$Instances$Getserialportoutput, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSerialPortOutput( params?: Params$Resource$Instances$Getserialportoutput, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSerialPortOutput( params: Params$Resource$Instances$Getserialportoutput, options: StreamMethodOptions | BodyResponseCallback, @@ -53848,7 +54506,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getserialportoutput; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53903,11 +54564,11 @@ export namespace compute_alpha { getShieldedInstanceIdentity( params: Params$Resource$Instances$Getshieldedinstanceidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getShieldedInstanceIdentity( params?: Params$Resource$Instances$Getshieldedinstanceidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getShieldedInstanceIdentity( params: Params$Resource$Instances$Getshieldedinstanceidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -53942,8 +54603,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getshieldedinstanceidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53998,11 +54659,11 @@ export namespace compute_alpha { getShieldedVmIdentity( params: Params$Resource$Instances$Getshieldedvmidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getShieldedVmIdentity( params?: Params$Resource$Instances$Getshieldedvmidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getShieldedVmIdentity( params: Params$Resource$Instances$Getshieldedvmidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -54035,8 +54696,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getshieldedvmidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54091,11 +54752,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instances$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -54124,7 +54785,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54178,11 +54842,11 @@ export namespace compute_alpha { list( params: Params$Resource$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -54211,7 +54875,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54265,11 +54932,11 @@ export namespace compute_alpha { listReferrers( params: Params$Resource$Instances$Listreferrers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listReferrers( params?: Params$Resource$Instances$Listreferrers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listReferrers( params: Params$Resource$Instances$Listreferrers, options: StreamMethodOptions | BodyResponseCallback, @@ -54304,8 +54971,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Listreferrers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54360,11 +55027,11 @@ export namespace compute_alpha { patchPartnerMetadata( params: Params$Resource$Instances$Patchpartnermetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPartnerMetadata( params?: Params$Resource$Instances$Patchpartnermetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPartnerMetadata( params: Params$Resource$Instances$Patchpartnermetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -54395,7 +55062,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Patchpartnermetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54450,11 +55120,11 @@ export namespace compute_alpha { performMaintenance( params: Params$Resource$Instances$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Instances$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Instances$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -54483,7 +55153,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54538,11 +55211,11 @@ export namespace compute_alpha { removeResourcePolicies( params: Params$Resource$Instances$Removeresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params?: Params$Resource$Instances$Removeresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params: Params$Resource$Instances$Removeresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -54573,7 +55246,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Removeresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54628,11 +55304,11 @@ export namespace compute_alpha { reportHostAsFaulty( params: Params$Resource$Instances$Reporthostasfaulty, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportHostAsFaulty( params?: Params$Resource$Instances$Reporthostasfaulty, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportHostAsFaulty( params: Params$Resource$Instances$Reporthostasfaulty, options: StreamMethodOptions | BodyResponseCallback, @@ -54661,7 +55337,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Reporthostasfaulty; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54716,11 +55395,11 @@ export namespace compute_alpha { reset( params: Params$Resource$Instances$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Instances$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Instances$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -54749,7 +55428,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54803,11 +55485,11 @@ export namespace compute_alpha { resume( params: Params$Resource$Instances$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Instances$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Instances$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -54836,7 +55518,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54890,11 +55575,11 @@ export namespace compute_alpha { sendDiagnosticInterrupt( params: Params$Resource$Instances$Senddiagnosticinterrupt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendDiagnosticInterrupt( params?: Params$Resource$Instances$Senddiagnosticinterrupt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendDiagnosticInterrupt( params: Params$Resource$Instances$Senddiagnosticinterrupt, options: StreamMethodOptions | BodyResponseCallback, @@ -54921,7 +55606,10 @@ export namespace compute_alpha { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Senddiagnosticinterrupt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54976,11 +55664,11 @@ export namespace compute_alpha { setDeletionProtection( params: Params$Resource$Instances$Setdeletionprotection, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDeletionProtection( params?: Params$Resource$Instances$Setdeletionprotection, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDeletionProtection( params: Params$Resource$Instances$Setdeletionprotection, options: StreamMethodOptions | BodyResponseCallback, @@ -55011,7 +55699,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setdeletionprotection; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55066,11 +55757,11 @@ export namespace compute_alpha { setDiskAutoDelete( params: Params$Resource$Instances$Setdiskautodelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDiskAutoDelete( params?: Params$Resource$Instances$Setdiskautodelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDiskAutoDelete( params: Params$Resource$Instances$Setdiskautodelete, options: StreamMethodOptions | BodyResponseCallback, @@ -55099,7 +55790,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setdiskautodelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55160,11 +55854,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Instances$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Instances$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -55193,7 +55887,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55248,11 +55945,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Instances$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Instances$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Instances$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -55281,7 +55978,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55336,11 +56036,11 @@ export namespace compute_alpha { setMachineResources( params: Params$Resource$Instances$Setmachineresources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMachineResources( params?: Params$Resource$Instances$Setmachineresources, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMachineResources( params: Params$Resource$Instances$Setmachineresources, options: StreamMethodOptions | BodyResponseCallback, @@ -55369,7 +56069,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmachineresources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55424,11 +56127,11 @@ export namespace compute_alpha { setMachineType( params: Params$Resource$Instances$Setmachinetype, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMachineType( params?: Params$Resource$Instances$Setmachinetype, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMachineType( params: Params$Resource$Instances$Setmachinetype, options: StreamMethodOptions | BodyResponseCallback, @@ -55457,7 +56160,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmachinetype; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55512,11 +56218,11 @@ export namespace compute_alpha { setMetadata( params: Params$Resource$Instances$Setmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMetadata( params?: Params$Resource$Instances$Setmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMetadata( params: Params$Resource$Instances$Setmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -55545,7 +56251,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55600,11 +56309,11 @@ export namespace compute_alpha { setMinCpuPlatform( params: Params$Resource$Instances$Setmincpuplatform, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMinCpuPlatform( params?: Params$Resource$Instances$Setmincpuplatform, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMinCpuPlatform( params: Params$Resource$Instances$Setmincpuplatform, options: StreamMethodOptions | BodyResponseCallback, @@ -55633,7 +56342,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmincpuplatform; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55688,11 +56400,11 @@ export namespace compute_alpha { setName( params: Params$Resource$Instances$Setname, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setName( params?: Params$Resource$Instances$Setname, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setName( params: Params$Resource$Instances$Setname, options: StreamMethodOptions | BodyResponseCallback, @@ -55721,7 +56433,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setname; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55776,11 +56491,11 @@ export namespace compute_alpha { setScheduling( params: Params$Resource$Instances$Setscheduling, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setScheduling( params?: Params$Resource$Instances$Setscheduling, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setScheduling( params: Params$Resource$Instances$Setscheduling, options: StreamMethodOptions | BodyResponseCallback, @@ -55809,7 +56524,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setscheduling; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55864,11 +56582,11 @@ export namespace compute_alpha { setSecurityPolicy( params: Params$Resource$Instances$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Instances$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Instances$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -55897,7 +56615,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55952,11 +56673,11 @@ export namespace compute_alpha { setServiceAccount( params: Params$Resource$Instances$Setserviceaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setServiceAccount( params?: Params$Resource$Instances$Setserviceaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setServiceAccount( params: Params$Resource$Instances$Setserviceaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -55985,7 +56706,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setserviceaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56040,11 +56764,11 @@ export namespace compute_alpha { setShieldedInstanceIntegrityPolicy( params: Params$Resource$Instances$Setshieldedinstanceintegritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setShieldedInstanceIntegrityPolicy( params?: Params$Resource$Instances$Setshieldedinstanceintegritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setShieldedInstanceIntegrityPolicy( params: Params$Resource$Instances$Setshieldedinstanceintegritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -56075,7 +56799,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setshieldedinstanceintegritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56131,11 +56858,11 @@ export namespace compute_alpha { setShieldedVmIntegrityPolicy( params: Params$Resource$Instances$Setshieldedvmintegritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setShieldedVmIntegrityPolicy( params?: Params$Resource$Instances$Setshieldedvmintegritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setShieldedVmIntegrityPolicy( params: Params$Resource$Instances$Setshieldedvmintegritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -56166,7 +56893,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setshieldedvmintegritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56221,11 +56951,11 @@ export namespace compute_alpha { setTags( params: Params$Resource$Instances$Settags, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTags( params?: Params$Resource$Instances$Settags, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTags( params: Params$Resource$Instances$Settags, options: StreamMethodOptions | BodyResponseCallback, @@ -56254,7 +56984,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Settags; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56309,11 +57042,11 @@ export namespace compute_alpha { simulateMaintenanceEvent( params: Params$Resource$Instances$Simulatemaintenanceevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params?: Params$Resource$Instances$Simulatemaintenanceevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params: Params$Resource$Instances$Simulatemaintenanceevent, options: StreamMethodOptions | BodyResponseCallback, @@ -56344,7 +57077,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Simulatemaintenanceevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56399,11 +57135,11 @@ export namespace compute_alpha { start( params: Params$Resource$Instances$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Instances$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Instances$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -56432,7 +57168,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56486,11 +57225,11 @@ export namespace compute_alpha { startWithEncryptionKey( params: Params$Resource$Instances$Startwithencryptionkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startWithEncryptionKey( params?: Params$Resource$Instances$Startwithencryptionkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startWithEncryptionKey( params: Params$Resource$Instances$Startwithencryptionkey, options: StreamMethodOptions | BodyResponseCallback, @@ -56521,7 +57260,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Startwithencryptionkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56576,11 +57318,11 @@ export namespace compute_alpha { stop( params: Params$Resource$Instances$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Instances$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Instances$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -56609,7 +57351,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56663,11 +57408,11 @@ export namespace compute_alpha { suspend( params: Params$Resource$Instances$Suspend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params?: Params$Resource$Instances$Suspend, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params: Params$Resource$Instances$Suspend, options: StreamMethodOptions | BodyResponseCallback, @@ -56696,7 +57441,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Suspend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56751,11 +57499,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Instances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -56790,8 +57538,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56846,11 +57594,11 @@ export namespace compute_alpha { update( params: Params$Resource$Instances$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Instances$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Instances$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -56879,7 +57627,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56933,11 +57684,11 @@ export namespace compute_alpha { updateAccessConfig( params: Params$Resource$Instances$Updateaccessconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessConfig( params?: Params$Resource$Instances$Updateaccessconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessConfig( params: Params$Resource$Instances$Updateaccessconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -56966,7 +57717,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updateaccessconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57021,11 +57775,11 @@ export namespace compute_alpha { updateDisplayDevice( params: Params$Resource$Instances$Updatedisplaydevice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDisplayDevice( params?: Params$Resource$Instances$Updatedisplaydevice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateDisplayDevice( params: Params$Resource$Instances$Updatedisplaydevice, options: StreamMethodOptions | BodyResponseCallback, @@ -57054,7 +57808,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updatedisplaydevice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57109,11 +57866,11 @@ export namespace compute_alpha { updateNetworkInterface( params: Params$Resource$Instances$Updatenetworkinterface, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateNetworkInterface( params?: Params$Resource$Instances$Updatenetworkinterface, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateNetworkInterface( params: Params$Resource$Instances$Updatenetworkinterface, options: StreamMethodOptions | BodyResponseCallback, @@ -57144,7 +57901,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updatenetworkinterface; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57199,11 +57959,11 @@ export namespace compute_alpha { updateShieldedInstanceConfig( params: Params$Resource$Instances$Updateshieldedinstanceconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedInstanceConfig( params?: Params$Resource$Instances$Updateshieldedinstanceconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedInstanceConfig( params: Params$Resource$Instances$Updateshieldedinstanceconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -57234,7 +57994,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updateshieldedinstanceconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57289,11 +58052,11 @@ export namespace compute_alpha { updateShieldedVmConfig( params: Params$Resource$Instances$Updateshieldedvmconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedVmConfig( params?: Params$Resource$Instances$Updateshieldedvmconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedVmConfig( params: Params$Resource$Instances$Updateshieldedvmconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -57324,7 +58087,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updateshieldedvmconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58705,11 +59471,11 @@ export namespace compute_alpha { get( params: Params$Resource$Instancesettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancesettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancesettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -58738,7 +59504,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancesettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58793,11 +59562,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Instancesettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Instancesettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Instancesettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -58826,7 +59595,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancesettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58924,11 +59696,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Instancetemplates$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instancetemplates$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instancetemplates$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -58963,8 +59735,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59021,11 +59793,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Instancetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -59054,7 +59826,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59109,11 +59884,11 @@ export namespace compute_alpha { get( params: Params$Resource$Instancetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -59142,7 +59917,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59197,11 +59975,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Instancetemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Instancetemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Instancetemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -59230,7 +60008,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59285,11 +60066,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Instancetemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancetemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancetemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -59318,7 +60099,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59373,11 +60157,11 @@ export namespace compute_alpha { list( params: Params$Resource$Instancetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instancetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -59410,8 +60194,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59466,11 +60250,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Instancetemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Instancetemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Instancetemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -59499,7 +60283,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59554,11 +60341,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Instancetemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instancetemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instancetemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -59593,8 +60380,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59816,11 +60603,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Instantsnapshotgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instantsnapshotgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instantsnapshotgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -59849,7 +60636,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshotgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59904,11 +60694,11 @@ export namespace compute_alpha { get( params: Params$Resource$Instantsnapshotgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instantsnapshotgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instantsnapshotgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -59941,8 +60731,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshotgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59997,11 +60787,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Instantsnapshotgroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Instantsnapshotgroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Instantsnapshotgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -60030,7 +60820,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshotgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60085,11 +60878,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Instantsnapshotgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instantsnapshotgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instantsnapshotgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -60118,7 +60911,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshotgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60173,11 +60969,11 @@ export namespace compute_alpha { list( params: Params$Resource$Instantsnapshotgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instantsnapshotgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instantsnapshotgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -60212,8 +61008,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshotgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60268,11 +61064,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Instantsnapshotgroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Instantsnapshotgroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Instantsnapshotgroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -60301,7 +61097,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshotgroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60356,11 +61155,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Instantsnapshotgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instantsnapshotgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instantsnapshotgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -60395,8 +61194,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshotgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60607,11 +61406,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Instantsnapshots$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instantsnapshots$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instantsnapshots$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -60646,8 +61445,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60704,11 +61503,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Instantsnapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instantsnapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instantsnapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -60737,7 +61536,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60792,11 +61594,11 @@ export namespace compute_alpha { get( params: Params$Resource$Instantsnapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instantsnapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instantsnapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -60825,7 +61627,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60880,11 +61685,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Instantsnapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Instantsnapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Instantsnapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -60913,7 +61718,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60968,11 +61776,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Instantsnapshots$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instantsnapshots$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instantsnapshots$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -61001,7 +61809,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61056,11 +61867,11 @@ export namespace compute_alpha { list( params: Params$Resource$Instantsnapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instantsnapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instantsnapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -61091,8 +61902,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61147,11 +61958,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Instantsnapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Instantsnapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Instantsnapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -61180,7 +61991,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61235,11 +62049,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Instantsnapshots$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Instantsnapshots$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Instantsnapshots$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -61268,7 +62082,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61323,11 +62140,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Instantsnapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instantsnapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instantsnapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -61362,8 +62179,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61629,11 +62446,11 @@ export namespace compute_alpha { createMembers( params: Params$Resource$Interconnectattachmentgroups$Createmembers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createMembers( params?: Params$Resource$Interconnectattachmentgroups$Createmembers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createMembers( params: Params$Resource$Interconnectattachmentgroups$Createmembers, options: StreamMethodOptions | BodyResponseCallback, @@ -61662,7 +62479,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Createmembers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61718,11 +62538,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Interconnectattachmentgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnectattachmentgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnectattachmentgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -61751,7 +62571,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61806,11 +62629,11 @@ export namespace compute_alpha { get( params: Params$Resource$Interconnectattachmentgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectattachmentgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectattachmentgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -61845,8 +62668,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61901,11 +62724,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Interconnectattachmentgroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -61934,7 +62757,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61990,11 +62816,13 @@ export namespace compute_alpha { getOperationalStatus( params: Params$Resource$Interconnectattachmentgroups$Getoperationalstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOperationalStatus( params?: Params$Resource$Interconnectattachmentgroups$Getoperationalstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getOperationalStatus( params: Params$Resource$Interconnectattachmentgroups$Getoperationalstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -62029,8 +62857,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Getoperationalstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62088,11 +62918,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Interconnectattachmentgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnectattachmentgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnectattachmentgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -62121,7 +62951,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62176,11 +63009,13 @@ export namespace compute_alpha { list( params: Params$Resource$Interconnectattachmentgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectattachmentgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Interconnectattachmentgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -62215,8 +63050,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62273,11 +63110,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Interconnectattachmentgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnectattachmentgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnectattachmentgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -62306,7 +63143,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62361,11 +63201,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Interconnectattachmentgroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -62394,7 +63234,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62450,11 +63293,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Interconnectattachmentgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Interconnectattachmentgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Interconnectattachmentgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -62489,8 +63332,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62721,11 +63564,13 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Interconnectattachments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Interconnectattachments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Interconnectattachments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -62760,8 +63605,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62818,11 +63665,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Interconnectattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnectattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnectattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -62851,7 +63698,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62906,11 +63756,11 @@ export namespace compute_alpha { get( params: Params$Resource$Interconnectattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -62943,8 +63793,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62999,11 +63849,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Interconnectattachments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Interconnectattachments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Interconnectattachments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -63032,7 +63882,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63087,11 +63940,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Interconnectattachments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnectattachments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnectattachments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -63120,7 +63973,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63175,11 +64031,11 @@ export namespace compute_alpha { list( params: Params$Resource$Interconnectattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -63214,8 +64070,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63270,11 +64126,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Interconnectattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnectattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnectattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -63303,7 +64159,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63358,11 +64217,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Interconnectattachments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Interconnectattachments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Interconnectattachments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -63391,7 +64250,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63446,11 +64308,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Interconnectattachments$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Interconnectattachments$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Interconnectattachments$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -63479,7 +64341,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63534,11 +64399,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Interconnectattachments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Interconnectattachments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Interconnectattachments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -63573,8 +64438,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63869,11 +64734,11 @@ export namespace compute_alpha { createMembers( params: Params$Resource$Interconnectgroups$Createmembers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createMembers( params?: Params$Resource$Interconnectgroups$Createmembers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createMembers( params: Params$Resource$Interconnectgroups$Createmembers, options: StreamMethodOptions | BodyResponseCallback, @@ -63902,7 +64767,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Createmembers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63957,11 +64825,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Interconnectgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnectgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnectgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -63990,7 +64858,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64045,11 +64916,11 @@ export namespace compute_alpha { get( params: Params$Resource$Interconnectgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -64080,8 +64951,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64136,11 +65007,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Interconnectgroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Interconnectgroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Interconnectgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -64169,7 +65040,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64224,11 +65098,13 @@ export namespace compute_alpha { getOperationalStatus( params: Params$Resource$Interconnectgroups$Getoperationalstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOperationalStatus( params?: Params$Resource$Interconnectgroups$Getoperationalstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getOperationalStatus( params: Params$Resource$Interconnectgroups$Getoperationalstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -64263,8 +65139,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Getoperationalstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64321,11 +65199,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Interconnectgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnectgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnectgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -64354,7 +65232,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64409,11 +65290,11 @@ export namespace compute_alpha { list( params: Params$Resource$Interconnectgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -64448,8 +65329,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64506,11 +65387,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Interconnectgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnectgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnectgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -64539,7 +65420,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64594,11 +65478,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Interconnectgroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Interconnectgroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Interconnectgroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -64627,7 +65511,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64682,11 +65569,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Interconnectgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Interconnectgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Interconnectgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -64721,8 +65608,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64952,11 +65839,11 @@ export namespace compute_alpha { get( params: Params$Resource$Interconnectlocations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectlocations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectlocations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -64989,8 +65876,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectlocations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65045,11 +65932,11 @@ export namespace compute_alpha { list( params: Params$Resource$Interconnectlocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectlocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectlocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -65082,8 +65969,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectlocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65184,11 +66071,11 @@ export namespace compute_alpha { get( params: Params$Resource$Interconnectremotelocations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectremotelocations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectremotelocations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -65223,8 +66110,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectremotelocations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65279,11 +66166,11 @@ export namespace compute_alpha { list( params: Params$Resource$Interconnectremotelocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectremotelocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectremotelocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -65318,8 +66205,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectremotelocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65422,11 +66309,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Interconnects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -65455,7 +66342,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65510,11 +66400,11 @@ export namespace compute_alpha { get( params: Params$Resource$Interconnects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -65543,7 +66433,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65598,11 +66491,13 @@ export namespace compute_alpha { getDiagnostics( params: Params$Resource$Interconnects$Getdiagnostics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDiagnostics( params?: Params$Resource$Interconnects$Getdiagnostics, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDiagnostics( params: Params$Resource$Interconnects$Getdiagnostics, options: StreamMethodOptions | BodyResponseCallback, @@ -65637,8 +66532,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Getdiagnostics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65695,11 +66592,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Interconnects$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Interconnects$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Interconnects$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -65728,7 +66625,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65783,11 +66683,13 @@ export namespace compute_alpha { getMacsecConfig( params: Params$Resource$Interconnects$Getmacsecconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMacsecConfig( params?: Params$Resource$Interconnects$Getmacsecconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getMacsecConfig( params: Params$Resource$Interconnects$Getmacsecconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -65822,8 +66724,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Getmacsecconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65880,11 +66784,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Interconnects$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnects$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnects$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -65913,7 +66817,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65967,11 +66874,11 @@ export namespace compute_alpha { list( params: Params$Resource$Interconnects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -66000,7 +66907,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66054,11 +66964,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Interconnects$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnects$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnects$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -66087,7 +66997,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66142,11 +67055,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Interconnects$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Interconnects$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Interconnects$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -66175,7 +67088,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66230,11 +67146,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Interconnects$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Interconnects$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Interconnects$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -66263,7 +67179,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66318,11 +67237,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Interconnects$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Interconnects$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Interconnects$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -66357,8 +67276,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66595,11 +67514,11 @@ export namespace compute_alpha { get( params: Params$Resource$Licensecodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Licensecodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Licensecodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -66628,7 +67547,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licensecodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66682,11 +67604,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Licensecodes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Licensecodes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Licensecodes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -66715,7 +67637,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licensecodes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66770,11 +67695,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Licensecodes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Licensecodes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Licensecodes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -66803,7 +67728,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licensecodes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66858,11 +67786,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Licensecodes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Licensecodes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Licensecodes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -66897,8 +67825,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licensecodes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67018,11 +67946,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Licenses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Licenses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Licenses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -67051,7 +67979,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67105,11 +68036,11 @@ export namespace compute_alpha { get( params: Params$Resource$Licenses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Licenses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Licenses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -67138,7 +68069,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67192,11 +68126,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Licenses$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Licenses$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Licenses$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -67225,7 +68159,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67280,11 +68217,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Licenses$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Licenses$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Licenses$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -67313,7 +68250,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67366,11 +68306,11 @@ export namespace compute_alpha { list( params: Params$Resource$Licenses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Licenses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Licenses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -67403,8 +68343,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67457,11 +68397,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Licenses$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Licenses$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Licenses$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -67490,7 +68430,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67545,11 +68488,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Licenses$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Licenses$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Licenses$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -67584,8 +68527,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67640,11 +68583,11 @@ export namespace compute_alpha { update( params: Params$Resource$Licenses$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Licenses$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Licenses$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -67673,7 +68616,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67870,11 +68816,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Machineimages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Machineimages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Machineimages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -67903,7 +68849,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67958,11 +68907,11 @@ export namespace compute_alpha { get( params: Params$Resource$Machineimages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Machineimages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Machineimages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -67991,7 +68940,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68046,11 +68998,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Machineimages$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Machineimages$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Machineimages$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -68079,7 +69031,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68134,11 +69089,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Machineimages$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Machineimages$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Machineimages$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -68167,7 +69122,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68221,11 +69179,11 @@ export namespace compute_alpha { list( params: Params$Resource$Machineimages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Machineimages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Machineimages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -68254,7 +69212,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68308,11 +69269,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Machineimages$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Machineimages$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Machineimages$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -68341,7 +69302,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68396,11 +69360,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Machineimages$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Machineimages$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Machineimages$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -68429,7 +69393,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68484,11 +69451,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Machineimages$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Machineimages$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Machineimages$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -68523,8 +69490,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68723,11 +69690,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Machinetypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Machinetypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Machinetypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -68762,8 +69729,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machinetypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68818,11 +69785,11 @@ export namespace compute_alpha { get( params: Params$Resource$Machinetypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Machinetypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Machinetypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -68851,7 +69818,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machinetypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68905,11 +69875,11 @@ export namespace compute_alpha { list( params: Params$Resource$Machinetypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Machinetypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Machinetypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -68938,7 +69908,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machinetypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69081,11 +70054,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Networkattachments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkattachments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Networkattachments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -69120,8 +70093,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69178,11 +70151,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Networkattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -69211,7 +70184,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69266,11 +70242,11 @@ export namespace compute_alpha { get( params: Params$Resource$Networkattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -69301,8 +70277,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69357,11 +70333,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Networkattachments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Networkattachments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Networkattachments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -69390,7 +70366,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69445,11 +70424,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Networkattachments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkattachments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkattachments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -69478,7 +70457,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69533,11 +70515,11 @@ export namespace compute_alpha { list( params: Params$Resource$Networkattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -69570,8 +70552,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69626,11 +70608,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Networkattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networkattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networkattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -69659,7 +70641,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69714,11 +70699,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Networkattachments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Networkattachments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Networkattachments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -69747,7 +70732,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69802,11 +70790,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Networkattachments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Networkattachments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Networkattachments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -69841,8 +70829,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70108,11 +71096,13 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Networkedgesecurityservices$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkedgesecurityservices$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Networkedgesecurityservices$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -70147,8 +71137,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70206,11 +71198,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Networkedgesecurityservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkedgesecurityservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkedgesecurityservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -70239,7 +71231,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70294,11 +71289,11 @@ export namespace compute_alpha { get( params: Params$Resource$Networkedgesecurityservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkedgesecurityservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkedgesecurityservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -70333,8 +71328,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70389,11 +71384,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Networkedgesecurityservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkedgesecurityservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkedgesecurityservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -70422,7 +71417,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70477,11 +71475,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Networkedgesecurityservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networkedgesecurityservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networkedgesecurityservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -70510,7 +71508,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70698,11 +71699,13 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Networkendpointgroups$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkendpointgroups$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Networkendpointgroups$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -70737,8 +71740,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70795,11 +71800,11 @@ export namespace compute_alpha { attachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params?: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -70830,7 +71835,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Attachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70886,11 +71894,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Networkendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -70919,7 +71927,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70974,11 +71985,11 @@ export namespace compute_alpha { detachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params?: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -71009,7 +72020,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Detachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71065,11 +72079,11 @@ export namespace compute_alpha { get( params: Params$Resource$Networkendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -71102,8 +72116,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71158,11 +72172,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Networkendpointgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkendpointgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkendpointgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -71191,7 +72205,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71246,11 +72263,11 @@ export namespace compute_alpha { list( params: Params$Resource$Networkendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -71283,8 +72300,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71339,11 +72356,13 @@ export namespace compute_alpha { listNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNetworkEndpoints( params?: Params$Resource$Networkendpointgroups$Listnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -71378,8 +72397,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Listnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71437,11 +72458,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Networkendpointgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Networkendpointgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Networkendpointgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -71476,8 +72497,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71768,11 +72789,11 @@ export namespace compute_alpha { addAssociation( params: Params$Resource$Networkfirewallpolicies$Addassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params?: Params$Resource$Networkfirewallpolicies$Addassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params: Params$Resource$Networkfirewallpolicies$Addassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -71801,7 +72822,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Addassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71856,11 +72880,11 @@ export namespace compute_alpha { addPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addPacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -71891,7 +72915,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71947,11 +72974,11 @@ export namespace compute_alpha { addRule( params: Params$Resource$Networkfirewallpolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Networkfirewallpolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Networkfirewallpolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -71980,7 +73007,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72035,11 +73065,13 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Networkfirewallpolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkfirewallpolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Networkfirewallpolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -72074,8 +73106,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72132,11 +73166,11 @@ export namespace compute_alpha { cloneRules( params: Params$Resource$Networkfirewallpolicies$Clonerules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params?: Params$Resource$Networkfirewallpolicies$Clonerules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params: Params$Resource$Networkfirewallpolicies$Clonerules, options: StreamMethodOptions | BodyResponseCallback, @@ -72165,7 +73199,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Clonerules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72220,11 +73257,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Networkfirewallpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkfirewallpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkfirewallpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -72253,7 +73290,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72308,11 +73348,11 @@ export namespace compute_alpha { get( params: Params$Resource$Networkfirewallpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkfirewallpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkfirewallpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -72341,7 +73381,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72396,11 +73439,11 @@ export namespace compute_alpha { getAssociation( params: Params$Resource$Networkfirewallpolicies$Getassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params?: Params$Resource$Networkfirewallpolicies$Getassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params: Params$Resource$Networkfirewallpolicies$Getassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -72435,8 +73478,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72491,11 +73534,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Networkfirewallpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Networkfirewallpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Networkfirewallpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -72524,7 +73567,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72579,11 +73625,11 @@ export namespace compute_alpha { getPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -72616,8 +73662,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72673,11 +73719,11 @@ export namespace compute_alpha { getRule( params: Params$Resource$Networkfirewallpolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Networkfirewallpolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Networkfirewallpolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -72708,8 +73754,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72764,11 +73810,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Networkfirewallpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkfirewallpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkfirewallpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -72797,7 +73843,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72852,11 +73901,11 @@ export namespace compute_alpha { list( params: Params$Resource$Networkfirewallpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkfirewallpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkfirewallpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -72887,8 +73936,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72943,11 +73992,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Networkfirewallpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networkfirewallpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networkfirewallpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -72976,7 +74025,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73031,11 +74083,11 @@ export namespace compute_alpha { patchAssociation( params: Params$Resource$Networkfirewallpolicies$Patchassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchAssociation( params?: Params$Resource$Networkfirewallpolicies$Patchassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchAssociation( params: Params$Resource$Networkfirewallpolicies$Patchassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -73064,7 +74116,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Patchassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73119,11 +74174,11 @@ export namespace compute_alpha { patchPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -73154,7 +74209,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73210,11 +74268,11 @@ export namespace compute_alpha { patchRule( params: Params$Resource$Networkfirewallpolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Networkfirewallpolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Networkfirewallpolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -73243,7 +74301,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73298,11 +74359,11 @@ export namespace compute_alpha { removeAssociation( params: Params$Resource$Networkfirewallpolicies$Removeassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params?: Params$Resource$Networkfirewallpolicies$Removeassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params: Params$Resource$Networkfirewallpolicies$Removeassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -73331,7 +74392,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Removeassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73387,11 +74451,11 @@ export namespace compute_alpha { removePacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removePacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removePacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -73422,7 +74486,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73478,11 +74545,11 @@ export namespace compute_alpha { removeRule( params: Params$Resource$Networkfirewallpolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Networkfirewallpolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Networkfirewallpolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -73511,7 +74578,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73566,11 +74636,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Networkfirewallpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Networkfirewallpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Networkfirewallpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -73599,7 +74669,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73654,11 +74727,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Networkfirewallpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Networkfirewallpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Networkfirewallpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -73693,8 +74766,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74202,11 +75275,11 @@ export namespace compute_alpha { get( params: Params$Resource$Networkprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -74235,7 +75308,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74290,11 +75366,11 @@ export namespace compute_alpha { list( params: Params$Resource$Networkprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -74329,8 +75405,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74431,11 +75507,11 @@ export namespace compute_alpha { addPeering( params: Params$Resource$Networks$Addpeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addPeering( params?: Params$Resource$Networks$Addpeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addPeering( params: Params$Resource$Networks$Addpeering, options: StreamMethodOptions | BodyResponseCallback, @@ -74464,7 +75540,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Addpeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74519,11 +75598,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Networks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -74552,7 +75631,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74606,11 +75688,11 @@ export namespace compute_alpha { get( params: Params$Resource$Networks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -74639,7 +75721,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74693,11 +75778,13 @@ export namespace compute_alpha { getEffectiveFirewalls( params: Params$Resource$Networks$Geteffectivefirewalls, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveFirewalls( params?: Params$Resource$Networks$Geteffectivefirewalls, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEffectiveFirewalls( params: Params$Resource$Networks$Geteffectivefirewalls, options: StreamMethodOptions | BodyResponseCallback, @@ -74732,8 +75819,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Geteffectivefirewalls; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74790,11 +75879,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Networks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -74823,7 +75912,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74876,11 +75968,11 @@ export namespace compute_alpha { list( params: Params$Resource$Networks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -74909,7 +76001,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74962,11 +76057,11 @@ export namespace compute_alpha { listIpAddresses( params: Params$Resource$Networks$Listipaddresses, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listIpAddresses( params?: Params$Resource$Networks$Listipaddresses, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listIpAddresses( params: Params$Resource$Networks$Listipaddresses, options: StreamMethodOptions | BodyResponseCallback, @@ -74997,7 +76092,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Listipaddresses; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75052,11 +76150,11 @@ export namespace compute_alpha { listIpOwners( params: Params$Resource$Networks$Listipowners, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listIpOwners( params?: Params$Resource$Networks$Listipowners, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listIpOwners( params: Params$Resource$Networks$Listipowners, options: StreamMethodOptions | BodyResponseCallback, @@ -75085,7 +76183,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Listipowners; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75140,11 +76241,11 @@ export namespace compute_alpha { listPeeringRoutes( params: Params$Resource$Networks$Listpeeringroutes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPeeringRoutes( params?: Params$Resource$Networks$Listpeeringroutes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listPeeringRoutes( params: Params$Resource$Networks$Listpeeringroutes, options: StreamMethodOptions | BodyResponseCallback, @@ -75179,8 +76280,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Listpeeringroutes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75235,11 +76336,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Networks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -75268,7 +76369,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75322,11 +76426,11 @@ export namespace compute_alpha { removePeering( params: Params$Resource$Networks$Removepeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removePeering( params?: Params$Resource$Networks$Removepeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removePeering( params: Params$Resource$Networks$Removepeering, options: StreamMethodOptions | BodyResponseCallback, @@ -75355,7 +76459,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Removepeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75410,11 +76517,11 @@ export namespace compute_alpha { requestRemovePeering( params: Params$Resource$Networks$Requestremovepeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestRemovePeering( params?: Params$Resource$Networks$Requestremovepeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; requestRemovePeering( params: Params$Resource$Networks$Requestremovepeering, options: StreamMethodOptions | BodyResponseCallback, @@ -75445,7 +76552,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Requestremovepeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75500,11 +76610,11 @@ export namespace compute_alpha { switchToCustomMode( params: Params$Resource$Networks$Switchtocustommode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switchToCustomMode( params?: Params$Resource$Networks$Switchtocustommode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switchToCustomMode( params: Params$Resource$Networks$Switchtocustommode, options: StreamMethodOptions | BodyResponseCallback, @@ -75533,7 +76643,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Switchtocustommode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75588,11 +76701,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Networks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Networks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Networks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -75627,8 +76740,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75683,11 +76796,11 @@ export namespace compute_alpha { updatePeering( params: Params$Resource$Networks$Updatepeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePeering( params?: Params$Resource$Networks$Updatepeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePeering( params: Params$Resource$Networks$Updatepeering, options: StreamMethodOptions | BodyResponseCallback, @@ -75716,7 +76829,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Updatepeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76114,11 +77230,11 @@ export namespace compute_alpha { addNodes( params: Params$Resource$Nodegroups$Addnodes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addNodes( params?: Params$Resource$Nodegroups$Addnodes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addNodes( params: Params$Resource$Nodegroups$Addnodes, options: StreamMethodOptions | BodyResponseCallback, @@ -76147,7 +77263,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Addnodes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76202,11 +77321,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Nodegroups$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Nodegroups$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Nodegroups$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -76241,8 +77360,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76297,11 +77416,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Nodegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -76330,7 +77449,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76385,11 +77507,11 @@ export namespace compute_alpha { deleteNodes( params: Params$Resource$Nodegroups$Deletenodes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteNodes( params?: Params$Resource$Nodegroups$Deletenodes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteNodes( params: Params$Resource$Nodegroups$Deletenodes, options: StreamMethodOptions | BodyResponseCallback, @@ -76418,7 +77540,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Deletenodes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76473,11 +77598,11 @@ export namespace compute_alpha { get( params: Params$Resource$Nodegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -76506,7 +77631,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76560,11 +77688,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Nodegroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Nodegroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Nodegroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -76593,7 +77721,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76648,11 +77779,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Nodegroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Nodegroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Nodegroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -76681,7 +77812,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76736,11 +77870,11 @@ export namespace compute_alpha { list( params: Params$Resource$Nodegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -76769,7 +77903,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76823,11 +77960,11 @@ export namespace compute_alpha { listNodes( params: Params$Resource$Nodegroups$Listnodes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNodes( params?: Params$Resource$Nodegroups$Listnodes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listNodes( params: Params$Resource$Nodegroups$Listnodes, options: StreamMethodOptions | BodyResponseCallback, @@ -76858,8 +77995,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Listnodes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76914,11 +78051,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Nodegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Nodegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Nodegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -76947,7 +78084,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77001,11 +78141,11 @@ export namespace compute_alpha { performMaintenance( params: Params$Resource$Nodegroups$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Nodegroups$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Nodegroups$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -77034,7 +78174,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77089,11 +78232,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Nodegroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Nodegroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Nodegroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -77122,7 +78265,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77177,11 +78323,11 @@ export namespace compute_alpha { setNodeTemplate( params: Params$Resource$Nodegroups$Setnodetemplate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNodeTemplate( params?: Params$Resource$Nodegroups$Setnodetemplate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNodeTemplate( params: Params$Resource$Nodegroups$Setnodetemplate, options: StreamMethodOptions | BodyResponseCallback, @@ -77210,7 +78356,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Setnodetemplate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77265,11 +78414,11 @@ export namespace compute_alpha { simulateMaintenanceEvent( params: Params$Resource$Nodegroups$Simulatemaintenanceevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params?: Params$Resource$Nodegroups$Simulatemaintenanceevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params: Params$Resource$Nodegroups$Simulatemaintenanceevent, options: StreamMethodOptions | BodyResponseCallback, @@ -77300,7 +78449,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Simulatemaintenanceevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77355,11 +78507,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Nodegroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Nodegroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Nodegroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -77394,8 +78546,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77817,11 +78969,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Nodetemplates$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Nodetemplates$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Nodetemplates$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -77856,8 +79008,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77912,11 +79064,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Nodetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -77945,7 +79097,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78000,11 +79155,11 @@ export namespace compute_alpha { get( params: Params$Resource$Nodetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -78033,7 +79188,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78088,11 +79246,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Nodetemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Nodetemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Nodetemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -78121,7 +79279,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78176,11 +79337,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Nodetemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Nodetemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Nodetemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -78209,7 +79370,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78264,11 +79428,11 @@ export namespace compute_alpha { list( params: Params$Resource$Nodetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -78297,7 +79461,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78352,11 +79519,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Nodetemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Nodetemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Nodetemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -78385,7 +79552,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78440,11 +79610,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Nodetemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Nodetemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Nodetemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -78479,8 +79649,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78722,11 +79892,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Nodetypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Nodetypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Nodetypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -78761,8 +79931,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78816,11 +79986,11 @@ export namespace compute_alpha { get( params: Params$Resource$Nodetypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodetypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodetypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -78849,7 +80019,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78903,11 +80076,11 @@ export namespace compute_alpha { list( params: Params$Resource$Nodetypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodetypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodetypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -78936,7 +80109,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79077,11 +80253,11 @@ export namespace compute_alpha { addAssociation( params: Params$Resource$Organizationsecuritypolicies$Addassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params?: Params$Resource$Organizationsecuritypolicies$Addassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params: Params$Resource$Organizationsecuritypolicies$Addassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -79110,7 +80286,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Addassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79166,11 +80345,11 @@ export namespace compute_alpha { addRule( params: Params$Resource$Organizationsecuritypolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Organizationsecuritypolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Organizationsecuritypolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -79199,7 +80378,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79254,11 +80436,11 @@ export namespace compute_alpha { copyRules( params: Params$Resource$Organizationsecuritypolicies$Copyrules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copyRules( params?: Params$Resource$Organizationsecuritypolicies$Copyrules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copyRules( params: Params$Resource$Organizationsecuritypolicies$Copyrules, options: StreamMethodOptions | BodyResponseCallback, @@ -79287,7 +80469,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Copyrules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79342,11 +80527,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Organizationsecuritypolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizationsecuritypolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizationsecuritypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -79375,7 +80560,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79430,11 +80618,11 @@ export namespace compute_alpha { get( params: Params$Resource$Organizationsecuritypolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizationsecuritypolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizationsecuritypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -79463,7 +80651,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79518,11 +80709,11 @@ export namespace compute_alpha { getAssociation( params: Params$Resource$Organizationsecuritypolicies$Getassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params?: Params$Resource$Organizationsecuritypolicies$Getassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params: Params$Resource$Organizationsecuritypolicies$Getassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -79557,8 +80748,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Getassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79614,11 +80805,11 @@ export namespace compute_alpha { getRule( params: Params$Resource$Organizationsecuritypolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Organizationsecuritypolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Organizationsecuritypolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -79649,8 +80840,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79705,11 +80896,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Organizationsecuritypolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Organizationsecuritypolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Organizationsecuritypolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -79738,7 +80929,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79792,11 +80986,11 @@ export namespace compute_alpha { list( params: Params$Resource$Organizationsecuritypolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizationsecuritypolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizationsecuritypolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -79827,8 +81021,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79882,11 +81076,13 @@ export namespace compute_alpha { listAssociations( params: Params$Resource$Organizationsecuritypolicies$Listassociations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAssociations( params?: Params$Resource$Organizationsecuritypolicies$Listassociations, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAssociations( params: Params$Resource$Organizationsecuritypolicies$Listassociations, options: StreamMethodOptions | BodyResponseCallback, @@ -79921,8 +81117,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Listassociations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79980,11 +81178,13 @@ export namespace compute_alpha { listPreconfiguredExpressionSets( params: Params$Resource$Organizationsecuritypolicies$Listpreconfiguredexpressionsets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPreconfiguredExpressionSets( params?: Params$Resource$Organizationsecuritypolicies$Listpreconfiguredexpressionsets, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPreconfiguredExpressionSets( params: Params$Resource$Organizationsecuritypolicies$Listpreconfiguredexpressionsets, options: StreamMethodOptions | BodyResponseCallback, @@ -80019,8 +81219,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Listpreconfiguredexpressionsets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80078,11 +81280,11 @@ export namespace compute_alpha { move( params: Params$Resource$Organizationsecuritypolicies$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Organizationsecuritypolicies$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Organizationsecuritypolicies$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -80111,7 +81313,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80166,11 +81371,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Organizationsecuritypolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizationsecuritypolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizationsecuritypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -80199,7 +81404,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80254,11 +81462,11 @@ export namespace compute_alpha { patchRule( params: Params$Resource$Organizationsecuritypolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Organizationsecuritypolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Organizationsecuritypolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -80287,7 +81495,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80342,11 +81553,11 @@ export namespace compute_alpha { removeAssociation( params: Params$Resource$Organizationsecuritypolicies$Removeassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params?: Params$Resource$Organizationsecuritypolicies$Removeassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params: Params$Resource$Organizationsecuritypolicies$Removeassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -80375,7 +81586,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Removeassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80431,11 +81645,11 @@ export namespace compute_alpha { removeRule( params: Params$Resource$Organizationsecuritypolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Organizationsecuritypolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Organizationsecuritypolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -80464,7 +81678,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80776,11 +81993,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Packetmirrorings$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Packetmirrorings$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Packetmirrorings$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -80815,8 +82032,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80873,11 +82090,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Packetmirrorings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Packetmirrorings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Packetmirrorings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -80906,7 +82123,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80961,11 +82181,11 @@ export namespace compute_alpha { get( params: Params$Resource$Packetmirrorings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Packetmirrorings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Packetmirrorings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -80994,7 +82214,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81049,11 +82272,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Packetmirrorings$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Packetmirrorings$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Packetmirrorings$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -81082,7 +82305,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81137,11 +82363,11 @@ export namespace compute_alpha { list( params: Params$Resource$Packetmirrorings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Packetmirrorings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Packetmirrorings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -81172,8 +82398,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81228,11 +82454,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Packetmirrorings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Packetmirrorings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Packetmirrorings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -81261,7 +82487,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81316,11 +82545,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Packetmirrorings$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Packetmirrorings$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Packetmirrorings$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -81355,8 +82584,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81583,11 +82812,11 @@ export namespace compute_alpha { get( params: Params$Resource$Previewfeatures$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Previewfeatures$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Previewfeatures$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -81616,7 +82845,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Previewfeatures$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81638,7 +82870,7 @@ export namespace compute_alpha { { url: ( rootUrl + - '/compute/alpha/projects/{project}/global/previewFeatures/{resourceId}' + '/compute/alpha/projects/{project}/global/previewFeatures/{previewFeature}' ).replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', @@ -81646,8 +82878,8 @@ export namespace compute_alpha { options ), params, - requiredParams: ['project', 'resourceId'], - pathParams: ['project', 'resourceId'], + requiredParams: ['project', 'previewFeature'], + pathParams: ['previewFeature', 'project'], context: this.context, }; if (callback) { @@ -81671,11 +82903,11 @@ export namespace compute_alpha { list( params: Params$Resource$Previewfeatures$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Previewfeatures$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Previewfeatures$List, options: StreamMethodOptions | BodyResponseCallback, @@ -81706,8 +82938,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Previewfeatures$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81762,11 +82994,11 @@ export namespace compute_alpha { update( params: Params$Resource$Previewfeatures$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Previewfeatures$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Previewfeatures$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -81795,7 +83027,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Previewfeatures$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81817,7 +83052,7 @@ export namespace compute_alpha { { url: ( rootUrl + - '/compute/alpha/projects/{project}/global/previewFeatures/{resourceId}' + '/compute/alpha/projects/{project}/global/previewFeatures/{previewFeature}' ).replace(/([^:]\/)\/+/g, '$1'), method: 'PATCH', apiVersion: '', @@ -81825,8 +83060,8 @@ export namespace compute_alpha { options ), params, - requiredParams: ['project', 'resourceId'], - pathParams: ['project', 'resourceId'], + requiredParams: ['project', 'previewFeature'], + pathParams: ['previewFeature', 'project'], context: this.context, }; if (callback) { @@ -81843,13 +83078,13 @@ export namespace compute_alpha { export interface Params$Resource$Previewfeatures$Get extends StandardParameters { /** - * Project ID for this request. + * Name of the PreviewFeature for this request. */ - project?: string; + previewFeature?: string; /** - * Name of the PreviewFeature for this request. + * Project ID for this request. */ - resourceId?: string; + project?: string; } export interface Params$Resource$Previewfeatures$List extends StandardParameters { @@ -81880,6 +83115,10 @@ export namespace compute_alpha { } export interface Params$Resource$Previewfeatures$Update extends StandardParameters { + /** + * Name of the PreviewFeature for this request. + */ + previewFeature?: string; /** * Project ID for this request. */ @@ -81888,10 +83127,6 @@ export namespace compute_alpha { * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */ requestId?: string; - /** - * Name of the PreviewFeature for this request. - */ - resourceId?: string; /** * Request body metadata @@ -81916,11 +83151,11 @@ export namespace compute_alpha { disableXpnHost( params: Params$Resource$Projects$Disablexpnhost, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnHost( params?: Params$Resource$Projects$Disablexpnhost, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnHost( params: Params$Resource$Projects$Disablexpnhost, options: StreamMethodOptions | BodyResponseCallback, @@ -81949,7 +83184,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Disablexpnhost; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82003,11 +83241,11 @@ export namespace compute_alpha { disableXpnResource( params: Params$Resource$Projects$Disablexpnresource, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnResource( params?: Params$Resource$Projects$Disablexpnresource, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnResource( params: Params$Resource$Projects$Disablexpnresource, options: StreamMethodOptions | BodyResponseCallback, @@ -82036,7 +83274,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Disablexpnresource; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82090,11 +83331,11 @@ export namespace compute_alpha { enableXpnHost( params: Params$Resource$Projects$Enablexpnhost, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnHost( params?: Params$Resource$Projects$Enablexpnhost, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnHost( params: Params$Resource$Projects$Enablexpnhost, options: StreamMethodOptions | BodyResponseCallback, @@ -82123,7 +83364,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Enablexpnhost; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82177,11 +83421,11 @@ export namespace compute_alpha { enableXpnResource( params: Params$Resource$Projects$Enablexpnresource, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnResource( params?: Params$Resource$Projects$Enablexpnresource, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnResource( params: Params$Resource$Projects$Enablexpnresource, options: StreamMethodOptions | BodyResponseCallback, @@ -82210,7 +83454,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Enablexpnresource; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82264,11 +83511,11 @@ export namespace compute_alpha { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -82297,7 +83544,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82351,11 +83601,11 @@ export namespace compute_alpha { getXpnHost( params: Params$Resource$Projects$Getxpnhost, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getXpnHost( params?: Params$Resource$Projects$Getxpnhost, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getXpnHost( params: Params$Resource$Projects$Getxpnhost, options: StreamMethodOptions | BodyResponseCallback, @@ -82384,7 +83634,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getxpnhost; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82438,11 +83691,11 @@ export namespace compute_alpha { getXpnResources( params: Params$Resource$Projects$Getxpnresources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getXpnResources( params?: Params$Resource$Projects$Getxpnresources, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getXpnResources( params: Params$Resource$Projects$Getxpnresources, options: StreamMethodOptions | BodyResponseCallback, @@ -82477,8 +83730,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getxpnresources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82532,11 +83785,11 @@ export namespace compute_alpha { listXpnHosts( params: Params$Resource$Projects$Listxpnhosts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listXpnHosts( params?: Params$Resource$Projects$Listxpnhosts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listXpnHosts( params: Params$Resource$Projects$Listxpnhosts, options: StreamMethodOptions | BodyResponseCallback, @@ -82565,7 +83818,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Listxpnhosts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82619,11 +83875,11 @@ export namespace compute_alpha { moveDisk( params: Params$Resource$Projects$Movedisk, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveDisk( params?: Params$Resource$Projects$Movedisk, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveDisk( params: Params$Resource$Projects$Movedisk, options: StreamMethodOptions | BodyResponseCallback, @@ -82652,7 +83908,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Movedisk; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82706,11 +83965,11 @@ export namespace compute_alpha { moveInstance( params: Params$Resource$Projects$Moveinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveInstance( params?: Params$Resource$Projects$Moveinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveInstance( params: Params$Resource$Projects$Moveinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -82739,7 +83998,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Moveinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82793,11 +84055,11 @@ export namespace compute_alpha { setCloudArmorTier( params: Params$Resource$Projects$Setcloudarmortier, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCloudArmorTier( params?: Params$Resource$Projects$Setcloudarmortier, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCloudArmorTier( params: Params$Resource$Projects$Setcloudarmortier, options: StreamMethodOptions | BodyResponseCallback, @@ -82826,7 +84088,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setcloudarmortier; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82880,11 +84145,11 @@ export namespace compute_alpha { setCommonInstanceMetadata( params: Params$Resource$Projects$Setcommoninstancemetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCommonInstanceMetadata( params?: Params$Resource$Projects$Setcommoninstancemetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCommonInstanceMetadata( params: Params$Resource$Projects$Setcommoninstancemetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -82915,7 +84180,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setcommoninstancemetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82970,11 +84238,11 @@ export namespace compute_alpha { setDefaultNetworkTier( params: Params$Resource$Projects$Setdefaultnetworktier, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultNetworkTier( params?: Params$Resource$Projects$Setdefaultnetworktier, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultNetworkTier( params: Params$Resource$Projects$Setdefaultnetworktier, options: StreamMethodOptions | BodyResponseCallback, @@ -83005,7 +84273,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setdefaultnetworktier; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83060,11 +84331,11 @@ export namespace compute_alpha { setDefaultServiceAccount( params: Params$Resource$Projects$Setdefaultserviceaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultServiceAccount( params?: Params$Resource$Projects$Setdefaultserviceaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultServiceAccount( params: Params$Resource$Projects$Setdefaultserviceaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -83095,7 +84366,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setdefaultserviceaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83150,11 +84424,11 @@ export namespace compute_alpha { setManagedProtectionTier( params: Params$Resource$Projects$Setmanagedprotectiontier, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setManagedProtectionTier( params?: Params$Resource$Projects$Setmanagedprotectiontier, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setManagedProtectionTier( params: Params$Resource$Projects$Setmanagedprotectiontier, options: StreamMethodOptions | BodyResponseCallback, @@ -83185,7 +84459,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setmanagedprotectiontier; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83240,11 +84517,11 @@ export namespace compute_alpha { setUsageExportBucket( params: Params$Resource$Projects$Setusageexportbucket, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUsageExportBucket( params?: Params$Resource$Projects$Setusageexportbucket, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUsageExportBucket( params: Params$Resource$Projects$Setusageexportbucket, options: StreamMethodOptions | BodyResponseCallback, @@ -83275,7 +84552,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setusageexportbucket; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83591,11 +84871,11 @@ export namespace compute_alpha { announce( params: Params$Resource$Publicadvertisedprefixes$Announce, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; announce( params?: Params$Resource$Publicadvertisedprefixes$Announce, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; announce( params: Params$Resource$Publicadvertisedprefixes$Announce, options: StreamMethodOptions | BodyResponseCallback, @@ -83624,7 +84904,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Announce; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83679,11 +84962,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Publicadvertisedprefixes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Publicadvertisedprefixes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Publicadvertisedprefixes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -83712,7 +84995,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83767,11 +85053,11 @@ export namespace compute_alpha { get( params: Params$Resource$Publicadvertisedprefixes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Publicadvertisedprefixes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Publicadvertisedprefixes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -83804,8 +85090,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83860,11 +85146,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Publicadvertisedprefixes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Publicadvertisedprefixes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Publicadvertisedprefixes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -83893,7 +85179,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83948,11 +85237,11 @@ export namespace compute_alpha { list( params: Params$Resource$Publicadvertisedprefixes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Publicadvertisedprefixes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Publicadvertisedprefixes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -83987,8 +85276,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84043,11 +85332,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Publicadvertisedprefixes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Publicadvertisedprefixes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Publicadvertisedprefixes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -84076,7 +85365,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84131,11 +85423,11 @@ export namespace compute_alpha { withdraw( params: Params$Resource$Publicadvertisedprefixes$Withdraw, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params?: Params$Resource$Publicadvertisedprefixes$Withdraw, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params: Params$Resource$Publicadvertisedprefixes$Withdraw, options: StreamMethodOptions | BodyResponseCallback, @@ -84164,7 +85456,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Withdraw; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84346,11 +85641,13 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Publicdelegatedprefixes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Publicdelegatedprefixes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Publicdelegatedprefixes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -84385,8 +85682,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84443,11 +85742,11 @@ export namespace compute_alpha { announce( params: Params$Resource$Publicdelegatedprefixes$Announce, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; announce( params?: Params$Resource$Publicdelegatedprefixes$Announce, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; announce( params: Params$Resource$Publicdelegatedprefixes$Announce, options: StreamMethodOptions | BodyResponseCallback, @@ -84476,7 +85775,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Announce; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84531,11 +85833,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Publicdelegatedprefixes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Publicdelegatedprefixes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Publicdelegatedprefixes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -84564,7 +85866,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84619,11 +85924,11 @@ export namespace compute_alpha { get( params: Params$Resource$Publicdelegatedprefixes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Publicdelegatedprefixes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Publicdelegatedprefixes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -84656,8 +85961,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84712,11 +86017,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Publicdelegatedprefixes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Publicdelegatedprefixes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Publicdelegatedprefixes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -84745,7 +86050,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84800,11 +86108,11 @@ export namespace compute_alpha { list( params: Params$Resource$Publicdelegatedprefixes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Publicdelegatedprefixes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Publicdelegatedprefixes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -84839,8 +86147,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84895,11 +86203,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Publicdelegatedprefixes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Publicdelegatedprefixes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Publicdelegatedprefixes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -84928,7 +86236,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84983,11 +86294,11 @@ export namespace compute_alpha { withdraw( params: Params$Resource$Publicdelegatedprefixes$Withdraw, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params?: Params$Resource$Publicdelegatedprefixes$Withdraw, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params: Params$Resource$Publicdelegatedprefixes$Withdraw, options: StreamMethodOptions | BodyResponseCallback, @@ -85016,7 +86327,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Withdraw; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85261,11 +86575,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionautoscalers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionautoscalers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionautoscalers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -85294,7 +86608,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85349,11 +86666,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionautoscalers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionautoscalers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionautoscalers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -85382,7 +86699,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85437,11 +86757,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionautoscalers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionautoscalers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionautoscalers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -85470,7 +86790,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85525,11 +86848,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionautoscalers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionautoscalers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionautoscalers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -85562,8 +86885,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85618,11 +86941,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regionautoscalers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionautoscalers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionautoscalers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -85651,7 +86974,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85706,11 +87032,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionautoscalers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionautoscalers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionautoscalers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -85745,8 +87071,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85801,11 +87127,11 @@ export namespace compute_alpha { update( params: Params$Resource$Regionautoscalers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionautoscalers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionautoscalers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -85834,7 +87160,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86050,11 +87379,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionbackendservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionbackendservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionbackendservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -86083,7 +87412,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86138,11 +87470,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionbackendservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionbackendservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionbackendservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -86171,7 +87503,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86226,11 +87561,11 @@ export namespace compute_alpha { getHealth( params: Params$Resource$Regionbackendservices$Gethealth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params?: Params$Resource$Regionbackendservices$Gethealth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params: Params$Resource$Regionbackendservices$Gethealth, options: StreamMethodOptions | BodyResponseCallback, @@ -86265,8 +87600,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Gethealth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86321,11 +87656,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Regionbackendservices$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regionbackendservices$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regionbackendservices$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -86354,7 +87689,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86409,11 +87747,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionbackendservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionbackendservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionbackendservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -86442,7 +87780,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86497,11 +87838,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionbackendservices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionbackendservices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionbackendservices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -86532,8 +87873,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86588,11 +87929,11 @@ export namespace compute_alpha { listUsable( params: Params$Resource$Regionbackendservices$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Regionbackendservices$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Regionbackendservices$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -86627,8 +87968,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86683,11 +88024,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regionbackendservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionbackendservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionbackendservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -86716,7 +88057,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86771,11 +88115,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Regionbackendservices$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regionbackendservices$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regionbackendservices$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -86804,7 +88148,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86859,11 +88206,11 @@ export namespace compute_alpha { setSecurityPolicy( params: Params$Resource$Regionbackendservices$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Regionbackendservices$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Regionbackendservices$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -86892,7 +88239,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86947,11 +88297,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionbackendservices$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionbackendservices$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionbackendservices$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -86986,8 +88336,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87042,11 +88392,11 @@ export namespace compute_alpha { update( params: Params$Resource$Regionbackendservices$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionbackendservices$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionbackendservices$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -87075,7 +88425,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87405,11 +88758,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Regioncommitments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Regioncommitments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Regioncommitments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -87444,8 +88797,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87500,11 +88853,11 @@ export namespace compute_alpha { calculateCancellationFee( params: Params$Resource$Regioncommitments$Calculatecancellationfee, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculateCancellationFee( params?: Params$Resource$Regioncommitments$Calculatecancellationfee, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calculateCancellationFee( params: Params$Resource$Regioncommitments$Calculatecancellationfee, options: StreamMethodOptions | BodyResponseCallback, @@ -87535,7 +88888,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Calculatecancellationfee; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87591,11 +88947,11 @@ export namespace compute_alpha { cancel( params: Params$Resource$Regioncommitments$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Regioncommitments$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Regioncommitments$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -87624,7 +88980,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87679,11 +89038,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regioncommitments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioncommitments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioncommitments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -87712,7 +89071,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87767,11 +89129,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regioncommitments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioncommitments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioncommitments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -87800,7 +89162,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87855,11 +89220,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regioncommitments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioncommitments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioncommitments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -87888,7 +89253,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87943,11 +89311,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regioncommitments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regioncommitments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regioncommitments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -87982,8 +89350,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88038,11 +89406,11 @@ export namespace compute_alpha { update( params: Params$Resource$Regioncommitments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regioncommitments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regioncommitments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -88071,7 +89439,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88126,11 +89497,11 @@ export namespace compute_alpha { updateReservations( params: Params$Resource$Regioncommitments$Updatereservations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateReservations( params?: Params$Resource$Regioncommitments$Updatereservations, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateReservations( params: Params$Resource$Regioncommitments$Updatereservations, options: StreamMethodOptions | BodyResponseCallback, @@ -88159,7 +89530,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Updatereservations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88437,11 +89811,13 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Regioncompositehealthchecks$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Regioncompositehealthchecks$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Regioncompositehealthchecks$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -88476,8 +89852,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncompositehealthchecks$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88535,11 +89913,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regioncompositehealthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioncompositehealthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioncompositehealthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -88568,7 +89946,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncompositehealthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88623,11 +90004,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regioncompositehealthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioncompositehealthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioncompositehealthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -88660,8 +90041,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncompositehealthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88716,11 +90097,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regioncompositehealthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioncompositehealthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioncompositehealthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -88749,7 +90130,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncompositehealthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88804,11 +90188,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regioncompositehealthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioncompositehealthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioncompositehealthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -88841,8 +90225,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncompositehealthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88897,11 +90281,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regioncompositehealthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regioncompositehealthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regioncompositehealthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -88930,7 +90314,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncompositehealthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88985,11 +90372,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regioncompositehealthchecks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regioncompositehealthchecks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regioncompositehealthchecks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -89024,8 +90411,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncompositehealthchecks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89253,11 +90640,11 @@ export namespace compute_alpha { addResourcePolicies( params: Params$Resource$Regiondisks$Addresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params?: Params$Resource$Regiondisks$Addresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params: Params$Resource$Regiondisks$Addresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -89286,7 +90673,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Addresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89341,11 +90731,11 @@ export namespace compute_alpha { bulkInsert( params: Params$Resource$Regiondisks$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Regiondisks$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Regiondisks$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -89374,7 +90764,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89429,11 +90822,11 @@ export namespace compute_alpha { createSnapshot( params: Params$Resource$Regiondisks$Createsnapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params?: Params$Resource$Regiondisks$Createsnapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params: Params$Resource$Regiondisks$Createsnapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -89462,7 +90855,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Createsnapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89517,11 +90913,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regiondisks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiondisks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiondisks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -89550,7 +90946,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89605,11 +91004,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regiondisks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiondisks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiondisks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -89638,7 +91037,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89692,11 +91094,13 @@ export namespace compute_alpha { getAsyncReplicationStatus( params: Params$Resource$Regiondisks$Getasyncreplicationstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAsyncReplicationStatus( params?: Params$Resource$Regiondisks$Getasyncreplicationstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAsyncReplicationStatus( params: Params$Resource$Regiondisks$Getasyncreplicationstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -89731,8 +91135,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Getasyncreplicationstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89789,11 +91195,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Regiondisks$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regiondisks$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regiondisks$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -89822,7 +91228,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89877,11 +91286,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regiondisks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiondisks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiondisks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -89910,7 +91319,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89965,11 +91377,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regiondisks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiondisks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiondisks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -89998,7 +91410,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90052,11 +91467,11 @@ export namespace compute_alpha { removeResourcePolicies( params: Params$Resource$Regiondisks$Removeresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params?: Params$Resource$Regiondisks$Removeresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params: Params$Resource$Regiondisks$Removeresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -90087,7 +91502,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Removeresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90142,11 +91560,11 @@ export namespace compute_alpha { resize( params: Params$Resource$Regiondisks$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Regiondisks$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Regiondisks$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -90175,7 +91593,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90230,11 +91651,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Regiondisks$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regiondisks$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regiondisks$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -90263,7 +91684,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90318,11 +91742,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Regiondisks$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Regiondisks$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Regiondisks$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -90351,7 +91775,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90406,11 +91833,11 @@ export namespace compute_alpha { startAsyncReplication( params: Params$Resource$Regiondisks$Startasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params?: Params$Resource$Regiondisks$Startasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params: Params$Resource$Regiondisks$Startasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -90441,7 +91868,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Startasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90496,11 +91926,11 @@ export namespace compute_alpha { stopAsyncReplication( params: Params$Resource$Regiondisks$Stopasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params?: Params$Resource$Regiondisks$Stopasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params: Params$Resource$Regiondisks$Stopasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -90531,7 +91961,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Stopasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90586,11 +92019,11 @@ export namespace compute_alpha { stopGroupAsyncReplication( params: Params$Resource$Regiondisks$Stopgroupasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params?: Params$Resource$Regiondisks$Stopgroupasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params: Params$Resource$Regiondisks$Stopgroupasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -90621,7 +92054,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Stopgroupasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90676,11 +92112,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regiondisks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regiondisks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regiondisks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -90715,8 +92151,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90771,11 +92207,11 @@ export namespace compute_alpha { update( params: Params$Resource$Regiondisks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regiondisks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regiondisks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -90804,7 +92240,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90859,11 +92298,11 @@ export namespace compute_alpha { waitForReplicationCatchUp( params: Params$Resource$Regiondisks$Waitforreplicationcatchup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; waitForReplicationCatchUp( params?: Params$Resource$Regiondisks$Waitforreplicationcatchup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; waitForReplicationCatchUp( params: Params$Resource$Regiondisks$Waitforreplicationcatchup, options: StreamMethodOptions | BodyResponseCallback, @@ -90894,7 +92333,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Waitforreplicationcatchup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91381,11 +92823,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regiondisksettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiondisksettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiondisksettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -91414,7 +92856,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisksettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91469,11 +92914,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regiondisksettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regiondisksettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regiondisksettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -91502,7 +92947,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisksettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91600,11 +93048,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regiondisktypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiondisktypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiondisktypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -91633,7 +93081,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisktypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91688,11 +93139,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regiondisktypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiondisktypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiondisktypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -91723,8 +93174,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisktypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91833,11 +93284,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionhealthaggregationpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionhealthaggregationpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionhealthaggregationpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -91866,7 +93317,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthaggregationpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91921,11 +93375,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionhealthaggregationpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionhealthaggregationpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionhealthaggregationpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -91958,8 +93412,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthaggregationpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92014,11 +93468,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionhealthaggregationpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionhealthaggregationpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionhealthaggregationpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -92047,7 +93501,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthaggregationpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92102,11 +93559,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionhealthaggregationpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionhealthaggregationpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionhealthaggregationpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -92141,8 +93598,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthaggregationpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92197,11 +93654,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regionhealthaggregationpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionhealthaggregationpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionhealthaggregationpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -92230,7 +93687,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthaggregationpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92285,11 +93745,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionhealthaggregationpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionhealthaggregationpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionhealthaggregationpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -92324,8 +93784,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthaggregationpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92518,11 +93978,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionhealthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionhealthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionhealthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -92551,7 +94011,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92606,11 +94069,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionhealthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionhealthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionhealthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -92639,7 +94102,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92694,11 +94160,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionhealthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionhealthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionhealthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -92727,7 +94193,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92782,11 +94251,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionhealthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionhealthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionhealthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -92815,7 +94284,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92870,11 +94342,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regionhealthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionhealthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionhealthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -92903,7 +94375,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92958,11 +94433,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionhealthchecks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionhealthchecks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionhealthchecks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -92997,8 +94472,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93053,11 +94528,11 @@ export namespace compute_alpha { update( params: Params$Resource$Regionhealthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionhealthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionhealthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -93086,7 +94561,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93302,11 +94780,13 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Regionhealthcheckservices$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Regionhealthcheckservices$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Regionhealthcheckservices$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -93341,8 +94821,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93399,11 +94881,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionhealthcheckservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionhealthcheckservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionhealthcheckservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -93432,7 +94914,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93487,11 +94972,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionhealthcheckservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionhealthcheckservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionhealthcheckservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -93522,8 +95007,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93578,11 +95063,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionhealthcheckservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionhealthcheckservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionhealthcheckservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -93611,7 +95096,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93666,11 +95154,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionhealthcheckservices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionhealthcheckservices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionhealthcheckservices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -93703,8 +95191,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93759,11 +95247,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regionhealthcheckservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionhealthcheckservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionhealthcheckservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -93792,7 +95280,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93847,11 +95338,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionhealthcheckservices$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionhealthcheckservices$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionhealthcheckservices$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -93886,8 +95377,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94115,11 +95606,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Regionhealthsources$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Regionhealthsources$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Regionhealthsources$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -94154,8 +95645,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthsources$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94210,11 +95701,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionhealthsources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionhealthsources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionhealthsources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -94243,7 +95734,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthsources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94298,11 +95792,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionhealthsources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionhealthsources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionhealthsources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -94331,7 +95825,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthsources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94386,11 +95883,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionhealthsources$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionhealthsources$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionhealthsources$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -94419,7 +95916,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthsources$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94474,11 +95974,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionhealthsources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionhealthsources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionhealthsources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -94507,7 +96007,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthsources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94562,11 +96065,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regionhealthsources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionhealthsources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionhealthsources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -94595,7 +96098,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthsources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94650,11 +96156,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionhealthsources$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionhealthsources$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionhealthsources$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -94689,8 +96195,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthsources$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94917,11 +96423,11 @@ export namespace compute_alpha { cancel( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Regioninstancegroupmanagerresizerequests$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -94950,7 +96456,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagerresizerequests$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95016,11 +96525,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstancegroupmanagerresizerequests$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -95049,7 +96558,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagerresizerequests$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95115,11 +96627,13 @@ export namespace compute_alpha { get( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstancegroupmanagerresizerequests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -95154,8 +96668,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagerresizerequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95223,11 +96739,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstancegroupmanagerresizerequests$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -95256,7 +96772,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagerresizerequests$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95312,11 +96831,13 @@ export namespace compute_alpha { list( params: Params$Resource$Regioninstancegroupmanagerresizerequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstancegroupmanagerresizerequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Regioninstancegroupmanagerresizerequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -95351,8 +96872,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagerresizerequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95542,11 +97065,11 @@ export namespace compute_alpha { abandonInstances( params: Params$Resource$Regioninstancegroupmanagers$Abandoninstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params?: Params$Resource$Regioninstancegroupmanagers$Abandoninstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params: Params$Resource$Regioninstancegroupmanagers$Abandoninstances, options: StreamMethodOptions | BodyResponseCallback, @@ -95575,7 +97098,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Abandoninstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95631,11 +97157,11 @@ export namespace compute_alpha { applyUpdatesToInstances( params: Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params?: Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params: Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -95666,7 +97192,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95722,11 +97251,11 @@ export namespace compute_alpha { createInstances( params: Params$Resource$Regioninstancegroupmanagers$Createinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params?: Params$Resource$Regioninstancegroupmanagers$Createinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params: Params$Resource$Regioninstancegroupmanagers$Createinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -95755,7 +97284,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Createinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95811,11 +97343,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regioninstancegroupmanagers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstancegroupmanagers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstancegroupmanagers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -95844,7 +97376,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95899,11 +97434,11 @@ export namespace compute_alpha { deleteInstances( params: Params$Resource$Regioninstancegroupmanagers$Deleteinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params?: Params$Resource$Regioninstancegroupmanagers$Deleteinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params: Params$Resource$Regioninstancegroupmanagers$Deleteinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -95932,7 +97467,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Deleteinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95988,11 +97526,11 @@ export namespace compute_alpha { deletePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -96023,7 +97561,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96079,11 +97620,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regioninstancegroupmanagers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstancegroupmanagers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstancegroupmanagers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -96116,8 +97657,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96172,11 +97713,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regioninstancegroupmanagers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstancegroupmanagers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstancegroupmanagers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -96205,7 +97746,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96260,11 +97804,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regioninstancegroupmanagers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstancegroupmanagers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstancegroupmanagers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -96299,8 +97843,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96357,11 +97901,13 @@ export namespace compute_alpha { listErrors( params: Params$Resource$Regioninstancegroupmanagers$Listerrors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listErrors( params?: Params$Resource$Regioninstancegroupmanagers$Listerrors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listErrors( params: Params$Resource$Regioninstancegroupmanagers$Listerrors, options: StreamMethodOptions | BodyResponseCallback, @@ -96396,8 +97942,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Listerrors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96454,11 +98002,13 @@ export namespace compute_alpha { listManagedInstances( params: Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listManagedInstances( params?: Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listManagedInstances( params: Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -96493,8 +98043,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96552,11 +98104,13 @@ export namespace compute_alpha { listPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -96591,8 +98145,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96650,11 +98206,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regioninstancegroupmanagers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regioninstancegroupmanagers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regioninstancegroupmanagers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -96683,7 +98239,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96738,11 +98297,11 @@ export namespace compute_alpha { patchPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -96773,7 +98332,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96829,11 +98391,11 @@ export namespace compute_alpha { recreateInstances( params: Params$Resource$Regioninstancegroupmanagers$Recreateinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params?: Params$Resource$Regioninstancegroupmanagers$Recreateinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params: Params$Resource$Regioninstancegroupmanagers$Recreateinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -96862,7 +98424,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Recreateinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96918,11 +98483,11 @@ export namespace compute_alpha { resize( params: Params$Resource$Regioninstancegroupmanagers$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Regioninstancegroupmanagers$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Regioninstancegroupmanagers$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -96951,7 +98516,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97006,11 +98574,11 @@ export namespace compute_alpha { resizeAdvanced( params: Params$Resource$Regioninstancegroupmanagers$Resizeadvanced, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resizeAdvanced( params?: Params$Resource$Regioninstancegroupmanagers$Resizeadvanced, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resizeAdvanced( params: Params$Resource$Regioninstancegroupmanagers$Resizeadvanced, options: StreamMethodOptions | BodyResponseCallback, @@ -97039,7 +98607,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Resizeadvanced; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97095,11 +98666,11 @@ export namespace compute_alpha { resumeInstances( params: Params$Resource$Regioninstancegroupmanagers$Resumeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params?: Params$Resource$Regioninstancegroupmanagers$Resumeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params: Params$Resource$Regioninstancegroupmanagers$Resumeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -97128,7 +98699,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Resumeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97184,11 +98758,11 @@ export namespace compute_alpha { setAutoHealingPolicies( params: Params$Resource$Regioninstancegroupmanagers$Setautohealingpolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAutoHealingPolicies( params?: Params$Resource$Regioninstancegroupmanagers$Setautohealingpolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAutoHealingPolicies( params: Params$Resource$Regioninstancegroupmanagers$Setautohealingpolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -97219,7 +98793,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Setautohealingpolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97275,11 +98852,11 @@ export namespace compute_alpha { setInstanceTemplate( params: Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params?: Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params: Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions | BodyResponseCallback, @@ -97308,7 +98885,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97364,11 +98944,11 @@ export namespace compute_alpha { setTargetPools( params: Params$Resource$Regioninstancegroupmanagers$Settargetpools, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params?: Params$Resource$Regioninstancegroupmanagers$Settargetpools, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params: Params$Resource$Regioninstancegroupmanagers$Settargetpools, options: StreamMethodOptions | BodyResponseCallback, @@ -97397,7 +98977,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Settargetpools; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97453,11 +99036,11 @@ export namespace compute_alpha { startInstances( params: Params$Resource$Regioninstancegroupmanagers$Startinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params?: Params$Resource$Regioninstancegroupmanagers$Startinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params: Params$Resource$Regioninstancegroupmanagers$Startinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -97486,7 +99069,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Startinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97542,11 +99128,11 @@ export namespace compute_alpha { stopInstances( params: Params$Resource$Regioninstancegroupmanagers$Stopinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params?: Params$Resource$Regioninstancegroupmanagers$Stopinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params: Params$Resource$Regioninstancegroupmanagers$Stopinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -97575,7 +99161,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Stopinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97631,11 +99220,11 @@ export namespace compute_alpha { suspendInstances( params: Params$Resource$Regioninstancegroupmanagers$Suspendinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params?: Params$Resource$Regioninstancegroupmanagers$Suspendinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params: Params$Resource$Regioninstancegroupmanagers$Suspendinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -97664,7 +99253,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Suspendinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97720,11 +99312,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regioninstancegroupmanagers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regioninstancegroupmanagers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regioninstancegroupmanagers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -97759,8 +99351,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97816,11 +99408,11 @@ export namespace compute_alpha { update( params: Params$Resource$Regioninstancegroupmanagers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regioninstancegroupmanagers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regioninstancegroupmanagers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -97849,7 +99441,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97904,11 +99499,11 @@ export namespace compute_alpha { updatePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -97939,7 +99534,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98660,11 +100258,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regioninstancegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstancegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstancegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -98693,7 +100291,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98748,11 +100349,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regioninstancegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstancegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstancegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -98785,8 +100386,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98841,11 +100442,13 @@ export namespace compute_alpha { listInstances( params: Params$Resource$Regioninstancegroups$Listinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listInstances( params?: Params$Resource$Regioninstancegroups$Listinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listInstances( params: Params$Resource$Regioninstancegroups$Listinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -98880,8 +100483,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$Listinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98938,11 +100543,11 @@ export namespace compute_alpha { setNamedPorts( params: Params$Resource$Regioninstancegroups$Setnamedports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params?: Params$Resource$Regioninstancegroups$Setnamedports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params: Params$Resource$Regioninstancegroups$Setnamedports, options: StreamMethodOptions | BodyResponseCallback, @@ -98971,7 +100576,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$Setnamedports; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99026,11 +100634,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regioninstancegroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regioninstancegroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regioninstancegroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -99065,8 +100673,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99259,11 +100867,11 @@ export namespace compute_alpha { bulkInsert( params: Params$Resource$Regioninstances$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Regioninstances$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Regioninstances$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -99292,7 +100900,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstances$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99375,11 +100986,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regioninstancetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstancetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstancetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -99408,7 +101019,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99463,11 +101077,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regioninstancetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstancetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstancetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -99496,7 +101110,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99551,11 +101168,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regioninstancetemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstancetemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstancetemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -99584,7 +101201,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99639,11 +101259,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regioninstancetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstancetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstancetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -99676,8 +101296,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99833,11 +101453,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regioninstantsnapshotgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstantsnapshotgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstantsnapshotgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -99866,7 +101486,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshotgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99921,11 +101544,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regioninstantsnapshotgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstantsnapshotgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstantsnapshotgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -99958,8 +101581,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshotgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100014,11 +101637,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Regioninstantsnapshotgroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regioninstantsnapshotgroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regioninstantsnapshotgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -100047,7 +101670,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshotgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100102,11 +101728,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regioninstantsnapshotgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstantsnapshotgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstantsnapshotgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -100135,7 +101761,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshotgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100190,11 +101819,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regioninstantsnapshotgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstantsnapshotgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstantsnapshotgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -100229,8 +101858,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshotgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100285,11 +101914,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Regioninstantsnapshotgroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regioninstantsnapshotgroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regioninstantsnapshotgroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -100318,7 +101947,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshotgroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100373,11 +102005,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regioninstantsnapshotgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regioninstantsnapshotgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regioninstantsnapshotgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -100412,8 +102044,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshotgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100625,11 +102257,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regioninstantsnapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstantsnapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstantsnapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -100658,7 +102290,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100713,11 +102348,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regioninstantsnapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstantsnapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstantsnapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -100746,7 +102381,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100801,11 +102439,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Regioninstantsnapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regioninstantsnapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regioninstantsnapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -100834,7 +102472,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100889,11 +102530,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regioninstantsnapshots$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstantsnapshots$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstantsnapshots$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -100922,7 +102563,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100977,11 +102621,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regioninstantsnapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstantsnapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstantsnapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -101012,8 +102656,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101068,11 +102712,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Regioninstantsnapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regioninstantsnapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regioninstantsnapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -101101,7 +102745,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101156,11 +102803,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Regioninstantsnapshots$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Regioninstantsnapshots$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Regioninstantsnapshots$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -101189,7 +102836,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101244,11 +102894,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regioninstantsnapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regioninstantsnapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regioninstantsnapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -101283,8 +102933,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101516,11 +103166,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionmultimigmembers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionmultimigmembers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionmultimigmembers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -101549,7 +103199,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionmultimigmembers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101604,11 +103257,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionmultimigmembers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionmultimigmembers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionmultimigmembers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -101639,8 +103292,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionmultimigmembers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101757,11 +103410,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionmultimigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionmultimigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionmultimigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -101790,7 +103443,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionmultimigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101845,11 +103501,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionmultimigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionmultimigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionmultimigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -101878,7 +103534,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionmultimigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101933,11 +103592,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionmultimigs$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionmultimigs$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionmultimigs$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -101966,7 +103625,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionmultimigs$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102021,11 +103683,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionmultimigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionmultimigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionmultimigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -102054,7 +103716,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionmultimigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102202,11 +103867,11 @@ export namespace compute_alpha { attachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params?: Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -102237,7 +103902,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102293,11 +103961,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionnetworkendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionnetworkendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionnetworkendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -102326,7 +103994,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102381,11 +104052,11 @@ export namespace compute_alpha { detachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params?: Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -102416,7 +104087,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102472,11 +104146,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionnetworkendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionnetworkendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionnetworkendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -102509,8 +104183,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102565,11 +104239,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionnetworkendpointgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionnetworkendpointgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionnetworkendpointgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -102598,7 +104272,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102653,11 +104330,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionnetworkendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionnetworkendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionnetworkendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -102690,8 +104367,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102746,11 +104423,13 @@ export namespace compute_alpha { listNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNetworkEndpoints( params?: Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -102785,8 +104464,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103020,11 +104701,11 @@ export namespace compute_alpha { addAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Addassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params?: Params$Resource$Regionnetworkfirewallpolicies$Addassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Addassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -103053,7 +104734,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Addassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103109,11 +104793,11 @@ export namespace compute_alpha { addRule( params: Params$Resource$Regionnetworkfirewallpolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Regionnetworkfirewallpolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -103142,7 +104826,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103197,11 +104884,11 @@ export namespace compute_alpha { cloneRules( params: Params$Resource$Regionnetworkfirewallpolicies$Clonerules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params?: Params$Resource$Regionnetworkfirewallpolicies$Clonerules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params: Params$Resource$Regionnetworkfirewallpolicies$Clonerules, options: StreamMethodOptions | BodyResponseCallback, @@ -103230,7 +104917,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Clonerules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103285,11 +104975,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionnetworkfirewallpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionnetworkfirewallpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionnetworkfirewallpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -103318,7 +105008,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103373,11 +105066,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionnetworkfirewallpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionnetworkfirewallpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionnetworkfirewallpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -103406,7 +105099,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103461,11 +105157,11 @@ export namespace compute_alpha { getAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Getassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params?: Params$Resource$Regionnetworkfirewallpolicies$Getassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Getassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -103500,8 +105196,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Getassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103557,11 +105253,13 @@ export namespace compute_alpha { getEffectiveFirewalls( params: Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveFirewalls( params?: Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEffectiveFirewalls( params: Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls, options: StreamMethodOptions | BodyResponseCallback, @@ -103596,8 +105294,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103655,11 +105355,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -103688,7 +105388,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103744,11 +105447,11 @@ export namespace compute_alpha { getRule( params: Params$Resource$Regionnetworkfirewallpolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Regionnetworkfirewallpolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -103779,8 +105482,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103835,11 +105538,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionnetworkfirewallpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionnetworkfirewallpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionnetworkfirewallpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -103868,7 +105571,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103923,11 +105629,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionnetworkfirewallpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionnetworkfirewallpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionnetworkfirewallpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -103958,8 +105664,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104014,11 +105720,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regionnetworkfirewallpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionnetworkfirewallpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionnetworkfirewallpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -104047,7 +105753,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104102,11 +105811,11 @@ export namespace compute_alpha { patchAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Patchassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchAssociation( params?: Params$Resource$Regionnetworkfirewallpolicies$Patchassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Patchassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -104135,7 +105844,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Patchassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104191,11 +105903,11 @@ export namespace compute_alpha { patchRule( params: Params$Resource$Regionnetworkfirewallpolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Regionnetworkfirewallpolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -104224,7 +105936,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104279,11 +105994,11 @@ export namespace compute_alpha { removeAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Removeassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params?: Params$Resource$Regionnetworkfirewallpolicies$Removeassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Removeassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -104312,7 +106027,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Removeassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104368,11 +106086,11 @@ export namespace compute_alpha { removeRule( params: Params$Resource$Regionnetworkfirewallpolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Regionnetworkfirewallpolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -104401,7 +106119,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104456,11 +106177,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -104489,7 +106210,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104545,11 +106269,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -104584,8 +106308,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105055,11 +106779,13 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Regionnotificationendpoints$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Regionnotificationendpoints$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Regionnotificationendpoints$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -105094,8 +106820,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105153,11 +106881,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionnotificationendpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionnotificationendpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionnotificationendpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -105186,7 +106914,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105241,11 +106972,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionnotificationendpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionnotificationendpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionnotificationendpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -105278,8 +107009,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105334,11 +107065,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionnotificationendpoints$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionnotificationendpoints$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionnotificationendpoints$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -105367,7 +107098,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105422,11 +107156,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionnotificationendpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionnotificationendpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionnotificationendpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -105459,8 +107193,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105515,11 +107249,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionnotificationendpoints$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionnotificationendpoints$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionnotificationendpoints$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -105554,8 +107288,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105759,11 +107493,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionoperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionoperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionoperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -105790,7 +107524,10 @@ export namespace compute_alpha { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105845,11 +107582,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -105878,7 +107615,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105933,11 +107673,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -105966,7 +107706,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106021,11 +107764,11 @@ export namespace compute_alpha { wait( params: Params$Resource$Regionoperations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Regionoperations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Regionoperations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -106054,7 +107797,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106193,11 +107939,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -106226,7 +107972,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106279,11 +108028,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -106312,7 +108061,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106409,11 +108161,11 @@ export namespace compute_alpha { addRule( params: Params$Resource$Regionsecuritypolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Regionsecuritypolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Regionsecuritypolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -106442,7 +108194,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106497,11 +108252,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionsecuritypolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionsecuritypolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionsecuritypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -106530,7 +108285,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106585,11 +108343,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionsecuritypolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsecuritypolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsecuritypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -106618,7 +108376,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106673,11 +108434,11 @@ export namespace compute_alpha { getRule( params: Params$Resource$Regionsecuritypolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Regionsecuritypolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Regionsecuritypolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -106708,8 +108469,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106764,11 +108525,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionsecuritypolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionsecuritypolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionsecuritypolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -106797,7 +108558,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106852,11 +108616,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionsecuritypolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionsecuritypolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionsecuritypolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -106887,8 +108651,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106943,11 +108707,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regionsecuritypolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionsecuritypolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionsecuritypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -106976,7 +108740,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107031,11 +108798,11 @@ export namespace compute_alpha { patchRule( params: Params$Resource$Regionsecuritypolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Regionsecuritypolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Regionsecuritypolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -107064,7 +108831,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107119,11 +108889,11 @@ export namespace compute_alpha { removeRule( params: Params$Resource$Regionsecuritypolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Regionsecuritypolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Regionsecuritypolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -107152,7 +108922,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107207,11 +108980,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Regionsecuritypolicies$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Regionsecuritypolicies$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Regionsecuritypolicies$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -107240,7 +109013,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107542,11 +109318,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionsnapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionsnapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionsnapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -107575,7 +109351,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107630,11 +109409,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionsnapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsnapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsnapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -107663,7 +109442,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107718,11 +109500,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Regionsnapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regionsnapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regionsnapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -107751,7 +109533,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107806,11 +109591,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionsnapshots$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionsnapshots$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionsnapshots$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -107839,7 +109624,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107894,11 +109682,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionsnapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionsnapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionsnapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -107927,7 +109715,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107982,11 +109773,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Regionsnapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regionsnapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regionsnapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -108015,7 +109806,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108070,11 +109864,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Regionsnapshots$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Regionsnapshots$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Regionsnapshots$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -108103,7 +109897,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108158,11 +109955,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionsnapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionsnapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionsnapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -108197,8 +109994,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108429,11 +110226,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionsnapshotsettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsnapshotsettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsnapshotsettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -108462,7 +110259,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshotsettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108517,11 +110317,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regionsnapshotsettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionsnapshotsettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionsnapshotsettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -108550,7 +110350,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshotsettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108648,11 +110451,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionsslcertificates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionsslcertificates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionsslcertificates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -108681,7 +110484,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108736,11 +110542,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionsslcertificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsslcertificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsslcertificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -108769,7 +110575,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108824,11 +110633,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionsslcertificates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionsslcertificates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionsslcertificates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -108857,7 +110666,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108912,11 +110724,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionsslcertificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionsslcertificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionsslcertificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -108947,8 +110759,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109003,11 +110815,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionsslcertificates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionsslcertificates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionsslcertificates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -109042,8 +110854,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109211,11 +111023,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionsslpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionsslpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionsslpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -109244,7 +111056,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109299,11 +111114,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionsslpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsslpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsslpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -109332,7 +111147,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109387,11 +111205,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionsslpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionsslpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionsslpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -109420,7 +111238,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109475,11 +111296,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionsslpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionsslpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionsslpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -109508,7 +111329,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109563,11 +111387,13 @@ export namespace compute_alpha { listAvailableFeatures( params: Params$Resource$Regionsslpolicies$Listavailablefeatures, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAvailableFeatures( params?: Params$Resource$Regionsslpolicies$Listavailablefeatures, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAvailableFeatures( params: Params$Resource$Regionsslpolicies$Listavailablefeatures, options: StreamMethodOptions | BodyResponseCallback, @@ -109602,8 +111428,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Listavailablefeatures; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109660,11 +111488,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regionsslpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionsslpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionsslpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -109693,7 +111521,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109748,11 +111579,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionsslpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionsslpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionsslpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -109787,8 +111618,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110011,11 +111842,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regiontargethttpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiontargethttpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiontargethttpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -110044,7 +111875,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110099,11 +111933,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regiontargethttpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiontargethttpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiontargethttpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -110132,7 +111966,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110187,11 +112024,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regiontargethttpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiontargethttpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiontargethttpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -110220,7 +112057,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110275,11 +112115,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regiontargethttpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiontargethttpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiontargethttpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -110310,8 +112150,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110366,11 +112206,11 @@ export namespace compute_alpha { setUrlMap( params: Params$Resource$Regiontargethttpproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Regiontargethttpproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Regiontargethttpproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -110399,7 +112239,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110454,11 +112297,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regiontargethttpproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regiontargethttpproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regiontargethttpproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -110493,8 +112336,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110687,11 +112530,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regiontargethttpsproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiontargethttpsproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiontargethttpsproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -110720,7 +112563,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110775,11 +112621,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regiontargethttpsproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiontargethttpsproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiontargethttpsproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -110808,7 +112654,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110863,11 +112712,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regiontargethttpsproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiontargethttpsproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiontargethttpsproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -110896,7 +112745,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110951,11 +112803,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regiontargethttpsproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiontargethttpsproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiontargethttpsproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -110988,8 +112840,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111044,11 +112896,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regiontargethttpsproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regiontargethttpsproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regiontargethttpsproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -111077,7 +112929,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111132,11 +112987,11 @@ export namespace compute_alpha { setSslCertificates( params: Params$Resource$Regiontargethttpsproxies$Setsslcertificates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params?: Params$Resource$Regiontargethttpsproxies$Setsslcertificates, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params: Params$Resource$Regiontargethttpsproxies$Setsslcertificates, options: StreamMethodOptions | BodyResponseCallback, @@ -111165,7 +113020,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Setsslcertificates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111221,11 +113079,11 @@ export namespace compute_alpha { setUrlMap( params: Params$Resource$Regiontargethttpsproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Regiontargethttpsproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Regiontargethttpsproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -111254,7 +113112,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111309,11 +113170,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regiontargethttpsproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regiontargethttpsproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regiontargethttpsproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -111348,8 +113209,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111590,11 +113451,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regiontargettcpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiontargettcpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiontargettcpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -111623,7 +113484,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111678,11 +113542,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regiontargettcpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiontargettcpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiontargettcpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -111711,7 +113575,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111766,11 +113633,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regiontargettcpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiontargettcpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiontargettcpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -111799,7 +113666,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111854,11 +113724,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regiontargettcpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiontargettcpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiontargettcpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -111889,8 +113759,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111945,11 +113815,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regiontargettcpproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regiontargettcpproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regiontargettcpproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -111984,8 +113854,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112154,11 +114024,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Regionurlmaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionurlmaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionurlmaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -112187,7 +114057,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112242,11 +114115,11 @@ export namespace compute_alpha { get( params: Params$Resource$Regionurlmaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionurlmaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionurlmaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -112275,7 +114148,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112330,11 +114206,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Regionurlmaps$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionurlmaps$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionurlmaps$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -112363,7 +114239,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112418,11 +114297,11 @@ export namespace compute_alpha { invalidateCache( params: Params$Resource$Regionurlmaps$Invalidatecache, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; invalidateCache( params?: Params$Resource$Regionurlmaps$Invalidatecache, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; invalidateCache( params: Params$Resource$Regionurlmaps$Invalidatecache, options: StreamMethodOptions | BodyResponseCallback, @@ -112451,7 +114330,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Invalidatecache; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112506,11 +114388,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionurlmaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionurlmaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionurlmaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -112539,7 +114421,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112594,11 +114479,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Regionurlmaps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionurlmaps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionurlmaps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -112627,7 +114512,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112682,11 +114570,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Regionurlmaps$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionurlmaps$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionurlmaps$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -112721,8 +114609,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112777,11 +114665,11 @@ export namespace compute_alpha { update( params: Params$Resource$Regionurlmaps$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionurlmaps$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionurlmaps$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -112810,7 +114698,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112865,11 +114756,11 @@ export namespace compute_alpha { validate( params: Params$Resource$Regionurlmaps$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Regionurlmaps$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validate( params: Params$Resource$Regionurlmaps$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -112904,8 +114795,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113165,11 +115056,11 @@ export namespace compute_alpha { list( params: Params$Resource$Regionzones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionzones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionzones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -113198,7 +115089,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionzones$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113290,11 +115184,11 @@ export namespace compute_alpha { get( params: Params$Resource$Reliabilityrisks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reliabilityrisks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reliabilityrisks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -113323,7 +115217,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reliabilityrisks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113378,11 +115275,11 @@ export namespace compute_alpha { list( params: Params$Resource$Reliabilityrisks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reliabilityrisks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reliabilityrisks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -113417,8 +115314,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reliabilityrisks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113521,11 +115418,11 @@ export namespace compute_alpha { get( params: Params$Resource$Reservationblocks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reservationblocks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reservationblocks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -113560,8 +115457,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationblocks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113618,11 +115515,11 @@ export namespace compute_alpha { list( params: Params$Resource$Reservationblocks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reservationblocks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reservationblocks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -113657,8 +115554,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationblocks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113715,11 +115612,11 @@ export namespace compute_alpha { performMaintenance( params: Params$Resource$Reservationblocks$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Reservationblocks$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Reservationblocks$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -113748,7 +115645,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationblocks$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113893,11 +115793,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Reservations$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Reservations$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Reservations$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -113932,8 +115832,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113988,11 +115888,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Reservations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Reservations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Reservations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -114021,7 +115921,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114076,11 +115979,11 @@ export namespace compute_alpha { get( params: Params$Resource$Reservations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reservations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reservations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -114109,7 +116012,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114163,11 +116069,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Reservations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Reservations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Reservations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -114196,7 +116102,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114251,11 +116160,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Reservations$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Reservations$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Reservations$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -114284,7 +116193,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114339,11 +116251,11 @@ export namespace compute_alpha { list( params: Params$Resource$Reservations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reservations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reservations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -114372,7 +116284,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114427,11 +116342,11 @@ export namespace compute_alpha { performMaintenance( params: Params$Resource$Reservations$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Reservations$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Reservations$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -114460,7 +116375,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114515,11 +116433,11 @@ export namespace compute_alpha { resize( params: Params$Resource$Reservations$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Reservations$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Reservations$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -114548,7 +116466,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114603,11 +116524,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Reservations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Reservations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Reservations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -114636,7 +116557,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114691,11 +116615,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Reservations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Reservations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Reservations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -114730,8 +116654,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114786,11 +116710,11 @@ export namespace compute_alpha { update( params: Params$Resource$Reservations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Reservations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Reservations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -114819,7 +116743,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115140,11 +117067,11 @@ export namespace compute_alpha { get( params: Params$Resource$Reservationsubblocks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reservationsubblocks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reservationsubblocks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -115179,8 +117106,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationsubblocks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115242,11 +117169,13 @@ export namespace compute_alpha { list( params: Params$Resource$Reservationsubblocks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reservationsubblocks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Reservationsubblocks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -115281,8 +117210,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationsubblocks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115339,11 +117270,11 @@ export namespace compute_alpha { performMaintenance( params: Params$Resource$Reservationsubblocks$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Reservationsubblocks$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Reservationsubblocks$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -115372,7 +117303,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationsubblocks$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115517,11 +117451,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Resourcepolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Resourcepolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Resourcepolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -115556,8 +117490,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115614,11 +117548,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Resourcepolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Resourcepolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Resourcepolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -115647,7 +117581,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115702,11 +117639,11 @@ export namespace compute_alpha { get( params: Params$Resource$Resourcepolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resourcepolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resourcepolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -115735,7 +117672,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115790,11 +117730,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Resourcepolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Resourcepolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Resourcepolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -115823,7 +117763,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115878,11 +117821,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Resourcepolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Resourcepolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Resourcepolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -115911,7 +117854,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115966,11 +117912,11 @@ export namespace compute_alpha { list( params: Params$Resource$Resourcepolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resourcepolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resourcepolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -116001,8 +117947,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116057,11 +118003,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Resourcepolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Resourcepolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Resourcepolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -116090,7 +118036,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116145,11 +118094,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Resourcepolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Resourcepolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Resourcepolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -116178,7 +118127,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116233,11 +118185,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Resourcepolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Resourcepolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Resourcepolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -116272,8 +118224,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116547,11 +118499,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Routers$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Routers$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Routers$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -116586,8 +118538,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116641,11 +118593,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Routers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Routers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Routers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -116674,7 +118626,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116728,11 +118683,11 @@ export namespace compute_alpha { deleteNamedSet( params: Params$Resource$Routers$Deletenamedset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteNamedSet( params?: Params$Resource$Routers$Deletenamedset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteNamedSet( params: Params$Resource$Routers$Deletenamedset, options: StreamMethodOptions | BodyResponseCallback, @@ -116761,7 +118716,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Deletenamedset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116816,11 +118774,11 @@ export namespace compute_alpha { deleteRoutePolicy( params: Params$Resource$Routers$Deleteroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteRoutePolicy( params?: Params$Resource$Routers$Deleteroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteRoutePolicy( params: Params$Resource$Routers$Deleteroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -116849,7 +118807,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Deleteroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116904,11 +118865,11 @@ export namespace compute_alpha { get( params: Params$Resource$Routers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Routers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Routers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -116937,7 +118898,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116991,11 +118955,11 @@ export namespace compute_alpha { getNamedSet( params: Params$Resource$Routers$Getnamedset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNamedSet( params?: Params$Resource$Routers$Getnamedset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNamedSet( params: Params$Resource$Routers$Getnamedset, options: StreamMethodOptions | BodyResponseCallback, @@ -117030,8 +118994,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getnamedset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117086,11 +119050,11 @@ export namespace compute_alpha { getNatIpInfo( params: Params$Resource$Routers$Getnatipinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNatIpInfo( params?: Params$Resource$Routers$Getnatipinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNatIpInfo( params: Params$Resource$Routers$Getnatipinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -117123,8 +119087,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getnatipinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117179,11 +119143,11 @@ export namespace compute_alpha { getNatMappingInfo( params: Params$Resource$Routers$Getnatmappinginfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNatMappingInfo( params?: Params$Resource$Routers$Getnatmappinginfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNatMappingInfo( params: Params$Resource$Routers$Getnatmappinginfo, options: StreamMethodOptions | BodyResponseCallback, @@ -117218,8 +119182,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getnatmappinginfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117274,11 +119238,11 @@ export namespace compute_alpha { getRoutePolicy( params: Params$Resource$Routers$Getroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRoutePolicy( params?: Params$Resource$Routers$Getroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRoutePolicy( params: Params$Resource$Routers$Getroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -117313,8 +119277,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117371,11 +119335,11 @@ export namespace compute_alpha { getRouterStatus( params: Params$Resource$Routers$Getrouterstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRouterStatus( params?: Params$Resource$Routers$Getrouterstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRouterStatus( params: Params$Resource$Routers$Getrouterstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -117410,8 +119374,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getrouterstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117466,11 +119430,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Routers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Routers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Routers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -117499,7 +119463,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117553,11 +119520,11 @@ export namespace compute_alpha { list( params: Params$Resource$Routers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Routers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Routers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -117586,7 +119553,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117640,11 +119610,11 @@ export namespace compute_alpha { listBgpRoutes( params: Params$Resource$Routers$Listbgproutes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listBgpRoutes( params?: Params$Resource$Routers$Listbgproutes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listBgpRoutes( params: Params$Resource$Routers$Listbgproutes, options: StreamMethodOptions | BodyResponseCallback, @@ -117679,8 +119649,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Listbgproutes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117735,11 +119705,11 @@ export namespace compute_alpha { listNamedSets( params: Params$Resource$Routers$Listnamedsets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNamedSets( params?: Params$Resource$Routers$Listnamedsets, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listNamedSets( params: Params$Resource$Routers$Listnamedsets, options: StreamMethodOptions | BodyResponseCallback, @@ -117774,8 +119744,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Listnamedsets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117830,11 +119800,11 @@ export namespace compute_alpha { listRoutePolicies( params: Params$Resource$Routers$Listroutepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRoutePolicies( params?: Params$Resource$Routers$Listroutepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listRoutePolicies( params: Params$Resource$Routers$Listroutepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -117869,8 +119839,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Listroutepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117925,11 +119895,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Routers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Routers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Routers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -117958,7 +119928,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118012,11 +119985,11 @@ export namespace compute_alpha { patchNamedSet( params: Params$Resource$Routers$Patchnamedset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchNamedSet( params?: Params$Resource$Routers$Patchnamedset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchNamedSet( params: Params$Resource$Routers$Patchnamedset, options: StreamMethodOptions | BodyResponseCallback, @@ -118045,7 +120018,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Patchnamedset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118100,11 +120076,11 @@ export namespace compute_alpha { patchRoutePolicy( params: Params$Resource$Routers$Patchroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRoutePolicy( params?: Params$Resource$Routers$Patchroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRoutePolicy( params: Params$Resource$Routers$Patchroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -118133,7 +120109,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Patchroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118188,11 +120167,11 @@ export namespace compute_alpha { preview( params: Params$Resource$Routers$Preview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; preview( params?: Params$Resource$Routers$Preview, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; preview( params: Params$Resource$Routers$Preview, options: StreamMethodOptions | BodyResponseCallback, @@ -118227,8 +120206,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Preview; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118282,11 +120261,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Routers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Routers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Routers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -118321,8 +120300,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118377,11 +120356,11 @@ export namespace compute_alpha { update( params: Params$Resource$Routers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Routers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Routers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -118410,7 +120389,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118464,11 +120446,11 @@ export namespace compute_alpha { updateNamedSet( params: Params$Resource$Routers$Updatenamedset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateNamedSet( params?: Params$Resource$Routers$Updatenamedset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateNamedSet( params: Params$Resource$Routers$Updatenamedset, options: StreamMethodOptions | BodyResponseCallback, @@ -118497,7 +120479,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Updatenamedset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118552,11 +120537,11 @@ export namespace compute_alpha { updateRoutePolicy( params: Params$Resource$Routers$Updateroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateRoutePolicy( params?: Params$Resource$Routers$Updateroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateRoutePolicy( params: Params$Resource$Routers$Updateroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -118585,7 +120570,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Updateroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119227,11 +121215,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Routes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Routes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Routes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -119260,7 +121248,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119314,11 +121305,11 @@ export namespace compute_alpha { get( params: Params$Resource$Routes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Routes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Routes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -119347,7 +121338,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119401,11 +121395,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Routes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Routes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Routes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -119434,7 +121428,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119487,11 +121484,11 @@ export namespace compute_alpha { list( params: Params$Resource$Routes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Routes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Routes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -119520,7 +121517,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119573,11 +121573,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Routes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Routes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Routes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -119612,8 +121612,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119757,11 +121757,11 @@ export namespace compute_alpha { addRule( params: Params$Resource$Securitypolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Securitypolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Securitypolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -119790,7 +121790,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119845,11 +121848,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Securitypolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Securitypolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Securitypolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -119884,8 +121887,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119942,11 +121945,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Securitypolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Securitypolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Securitypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -119975,7 +121978,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120030,11 +122036,11 @@ export namespace compute_alpha { get( params: Params$Resource$Securitypolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Securitypolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Securitypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -120063,7 +122069,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120118,11 +122127,11 @@ export namespace compute_alpha { getRule( params: Params$Resource$Securitypolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Securitypolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Securitypolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -120153,8 +122162,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120209,11 +122218,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Securitypolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Securitypolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Securitypolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -120242,7 +122251,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120297,11 +122309,11 @@ export namespace compute_alpha { list( params: Params$Resource$Securitypolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Securitypolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Securitypolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -120332,8 +122344,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120388,11 +122400,13 @@ export namespace compute_alpha { listPreconfiguredExpressionSets( params: Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPreconfiguredExpressionSets( params?: Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPreconfiguredExpressionSets( params: Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, options: StreamMethodOptions | BodyResponseCallback, @@ -120427,8 +122441,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120486,11 +122502,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Securitypolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Securitypolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Securitypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -120519,7 +122535,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120574,11 +122593,11 @@ export namespace compute_alpha { patchRule( params: Params$Resource$Securitypolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Securitypolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Securitypolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -120607,7 +122626,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120662,11 +122684,11 @@ export namespace compute_alpha { removeRule( params: Params$Resource$Securitypolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Securitypolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Securitypolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -120695,7 +122717,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120750,11 +122775,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Securitypolicies$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Securitypolicies$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Securitypolicies$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -120783,7 +122808,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120838,11 +122866,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Securitypolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Securitypolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Securitypolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -120877,8 +122905,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121214,11 +123242,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Serviceattachments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Serviceattachments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Serviceattachments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -121253,8 +123281,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121311,11 +123339,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Serviceattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Serviceattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Serviceattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -121344,7 +123372,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121399,11 +123430,11 @@ export namespace compute_alpha { get( params: Params$Resource$Serviceattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Serviceattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Serviceattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -121434,8 +123465,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121490,11 +123521,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Serviceattachments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Serviceattachments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Serviceattachments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -121523,7 +123554,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121578,11 +123612,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Serviceattachments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Serviceattachments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Serviceattachments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -121611,7 +123645,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121666,11 +123703,11 @@ export namespace compute_alpha { list( params: Params$Resource$Serviceattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Serviceattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Serviceattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -121703,8 +123740,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121759,11 +123796,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Serviceattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Serviceattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Serviceattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -121792,7 +123829,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121847,11 +123887,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Serviceattachments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Serviceattachments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Serviceattachments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -121880,7 +123920,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121935,11 +123978,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Serviceattachments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Serviceattachments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Serviceattachments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -121974,8 +124017,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122245,11 +124288,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Snapshotgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Snapshotgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Snapshotgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -122278,7 +124321,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122333,11 +124379,11 @@ export namespace compute_alpha { get( params: Params$Resource$Snapshotgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Snapshotgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Snapshotgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -122366,7 +124412,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122421,11 +124470,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Snapshotgroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Snapshotgroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Snapshotgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -122454,7 +124503,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122509,11 +124561,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Snapshotgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Snapshotgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Snapshotgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -122542,7 +124594,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122597,11 +124652,11 @@ export namespace compute_alpha { list( params: Params$Resource$Snapshotgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Snapshotgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Snapshotgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -122632,8 +124687,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122688,11 +124743,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Snapshotgroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Snapshotgroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Snapshotgroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -122721,7 +124776,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotgroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122776,11 +124834,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Snapshotgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Snapshotgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Snapshotgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -122815,8 +124873,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122995,11 +125053,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Snapshots$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Snapshots$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Snapshots$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -123034,8 +125092,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123089,11 +125147,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Snapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Snapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Snapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -123122,7 +125180,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123176,11 +125237,11 @@ export namespace compute_alpha { get( params: Params$Resource$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -123209,7 +125270,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123263,11 +125327,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Snapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Snapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Snapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -123296,7 +125360,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123351,11 +125418,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Snapshots$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Snapshots$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Snapshots$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -123384,7 +125451,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123437,11 +125507,11 @@ export namespace compute_alpha { list( params: Params$Resource$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -123470,7 +125540,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123523,11 +125596,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Snapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Snapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Snapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -123556,7 +125629,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123611,11 +125687,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Snapshots$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Snapshots$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Snapshots$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -123644,7 +125720,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123699,11 +125778,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Snapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Snapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Snapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -123738,8 +125817,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123965,11 +126044,11 @@ export namespace compute_alpha { get( params: Params$Resource$Snapshotsettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Snapshotsettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Snapshotsettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -123998,7 +126077,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotsettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124053,11 +126135,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Snapshotsettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Snapshotsettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Snapshotsettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -124086,7 +126168,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotsettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124176,11 +126261,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Sslcertificates$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Sslcertificates$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Sslcertificates$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -124215,8 +126300,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124273,11 +126358,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Sslcertificates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sslcertificates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sslcertificates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -124306,7 +126391,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124361,11 +126449,11 @@ export namespace compute_alpha { get( params: Params$Resource$Sslcertificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sslcertificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sslcertificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -124394,7 +126482,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124449,11 +126540,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Sslcertificates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sslcertificates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sslcertificates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -124482,7 +126573,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124537,11 +126631,11 @@ export namespace compute_alpha { list( params: Params$Resource$Sslcertificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sslcertificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sslcertificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -124572,8 +126666,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124628,11 +126722,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Sslcertificates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Sslcertificates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Sslcertificates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -124667,8 +126761,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124851,11 +126945,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Sslpolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Sslpolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Sslpolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -124890,8 +126984,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124946,11 +127040,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Sslpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sslpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sslpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -124979,7 +127073,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125034,11 +127131,11 @@ export namespace compute_alpha { get( params: Params$Resource$Sslpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sslpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sslpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -125067,7 +127164,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125121,11 +127221,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Sslpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sslpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sslpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -125154,7 +127254,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125208,11 +127311,11 @@ export namespace compute_alpha { list( params: Params$Resource$Sslpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sslpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sslpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -125241,7 +127344,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125294,11 +127400,13 @@ export namespace compute_alpha { listAvailableFeatures( params: Params$Resource$Sslpolicies$Listavailablefeatures, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAvailableFeatures( params?: Params$Resource$Sslpolicies$Listavailablefeatures, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAvailableFeatures( params: Params$Resource$Sslpolicies$Listavailablefeatures, options: StreamMethodOptions | BodyResponseCallback, @@ -125333,8 +127441,10 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Listavailablefeatures; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125391,11 +127501,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Sslpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Sslpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Sslpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -125424,7 +127534,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125479,11 +127592,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Sslpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Sslpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Sslpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -125518,8 +127631,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125747,11 +127860,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Storagepools$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Storagepools$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Storagepools$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -125786,8 +127899,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125842,11 +127955,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Storagepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Storagepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Storagepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -125875,7 +127988,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125930,11 +128046,11 @@ export namespace compute_alpha { get( params: Params$Resource$Storagepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Storagepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Storagepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -125963,7 +128079,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126017,11 +128136,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Storagepools$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Storagepools$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Storagepools$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -126050,7 +128169,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126105,11 +128227,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Storagepools$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Storagepools$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Storagepools$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -126138,7 +128260,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126193,11 +128318,11 @@ export namespace compute_alpha { list( params: Params$Resource$Storagepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Storagepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Storagepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -126226,7 +128351,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126281,11 +128409,11 @@ export namespace compute_alpha { listDisks( params: Params$Resource$Storagepools$Listdisks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDisks( params?: Params$Resource$Storagepools$Listdisks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listDisks( params: Params$Resource$Storagepools$Listdisks, options: StreamMethodOptions | BodyResponseCallback, @@ -126320,8 +128448,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Listdisks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126376,11 +128504,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Storagepools$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Storagepools$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Storagepools$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -126409,7 +128537,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126464,11 +128595,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Storagepools$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Storagepools$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Storagepools$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -126497,7 +128628,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126552,11 +128686,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Storagepools$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Storagepools$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Storagepools$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -126591,8 +128725,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126647,11 +128781,11 @@ export namespace compute_alpha { update( params: Params$Resource$Storagepools$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Storagepools$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Storagepools$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -126680,7 +128814,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127008,11 +129145,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Storagepooltypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Storagepooltypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Storagepooltypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -127047,8 +129184,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepooltypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127105,11 +129242,11 @@ export namespace compute_alpha { get( params: Params$Resource$Storagepooltypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Storagepooltypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Storagepooltypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -127138,7 +129275,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepooltypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127193,11 +129333,11 @@ export namespace compute_alpha { list( params: Params$Resource$Storagepooltypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Storagepooltypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Storagepooltypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -127228,8 +129368,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepooltypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127373,11 +129513,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Subnetworks$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Subnetworks$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Subnetworks$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -127412,8 +129552,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127468,11 +129608,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Subnetworks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Subnetworks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Subnetworks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -127501,7 +129641,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127556,11 +129699,11 @@ export namespace compute_alpha { expandIpCidrRange( params: Params$Resource$Subnetworks$Expandipcidrrange, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; expandIpCidrRange( params?: Params$Resource$Subnetworks$Expandipcidrrange, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; expandIpCidrRange( params: Params$Resource$Subnetworks$Expandipcidrrange, options: StreamMethodOptions | BodyResponseCallback, @@ -127589,7 +129732,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Expandipcidrrange; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127644,11 +129790,11 @@ export namespace compute_alpha { get( params: Params$Resource$Subnetworks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Subnetworks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Subnetworks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -127677,7 +129823,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127731,11 +129880,11 @@ export namespace compute_alpha { getIamPolicy( params: Params$Resource$Subnetworks$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Subnetworks$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Subnetworks$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -127764,7 +129913,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127819,11 +129971,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Subnetworks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Subnetworks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Subnetworks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -127852,7 +130004,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127907,11 +130062,11 @@ export namespace compute_alpha { list( params: Params$Resource$Subnetworks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Subnetworks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Subnetworks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -127940,7 +130095,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127994,11 +130152,11 @@ export namespace compute_alpha { listUsable( params: Params$Resource$Subnetworks$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Subnetworks$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Subnetworks$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -128033,8 +130191,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -128091,11 +130249,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Subnetworks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Subnetworks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Subnetworks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -128124,7 +130282,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -128179,11 +130340,11 @@ export namespace compute_alpha { setIamPolicy( params: Params$Resource$Subnetworks$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Subnetworks$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Subnetworks$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -128212,7 +130373,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -128267,11 +130431,11 @@ export namespace compute_alpha { setPrivateIpGoogleAccess( params: Params$Resource$Subnetworks$Setprivateipgoogleaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setPrivateIpGoogleAccess( params?: Params$Resource$Subnetworks$Setprivateipgoogleaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setPrivateIpGoogleAccess( params: Params$Resource$Subnetworks$Setprivateipgoogleaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -128302,7 +130466,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Setprivateipgoogleaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -128357,11 +130524,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Subnetworks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Subnetworks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Subnetworks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -128396,8 +130563,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -128752,11 +130919,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Targetgrpcproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetgrpcproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetgrpcproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -128785,7 +130952,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -128840,11 +131010,11 @@ export namespace compute_alpha { get( params: Params$Resource$Targetgrpcproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetgrpcproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetgrpcproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -128873,7 +131043,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -128928,11 +131101,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Targetgrpcproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetgrpcproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetgrpcproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -128961,7 +131134,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -129016,11 +131192,11 @@ export namespace compute_alpha { list( params: Params$Resource$Targetgrpcproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetgrpcproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetgrpcproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -129051,8 +131227,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -129107,11 +131283,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Targetgrpcproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targetgrpcproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targetgrpcproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -129140,7 +131316,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -129195,11 +131374,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Targetgrpcproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targetgrpcproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targetgrpcproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -129234,8 +131413,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -129403,11 +131582,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Targethttpproxies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targethttpproxies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targethttpproxies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -129442,8 +131621,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -129500,11 +131679,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Targethttpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targethttpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targethttpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -129533,7 +131712,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -129588,11 +131770,11 @@ export namespace compute_alpha { get( params: Params$Resource$Targethttpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targethttpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targethttpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -129621,7 +131803,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -129676,11 +131861,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Targethttpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targethttpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targethttpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -129709,7 +131894,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -129764,11 +131952,11 @@ export namespace compute_alpha { list( params: Params$Resource$Targethttpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targethttpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targethttpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -129799,8 +131987,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -129855,11 +132043,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Targethttpproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targethttpproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targethttpproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -129888,7 +132076,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -129943,11 +132134,11 @@ export namespace compute_alpha { setUrlMap( params: Params$Resource$Targethttpproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Targethttpproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Targethttpproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -129976,7 +132167,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -130031,11 +132225,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Targethttpproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targethttpproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targethttpproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -130070,8 +132264,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -130294,11 +132488,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Targethttpsproxies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targethttpsproxies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targethttpsproxies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -130333,8 +132527,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -130391,11 +132585,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Targethttpsproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targethttpsproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targethttpsproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -130424,7 +132618,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -130479,11 +132676,11 @@ export namespace compute_alpha { get( params: Params$Resource$Targethttpsproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targethttpsproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targethttpsproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -130512,7 +132709,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -130567,11 +132767,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Targethttpsproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targethttpsproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targethttpsproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -130600,7 +132800,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -130655,11 +132858,11 @@ export namespace compute_alpha { list( params: Params$Resource$Targethttpsproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targethttpsproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targethttpsproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -130692,8 +132895,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -130748,11 +132951,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Targethttpsproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targethttpsproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targethttpsproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -130781,7 +132984,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -130836,11 +133042,11 @@ export namespace compute_alpha { setCertificateMap( params: Params$Resource$Targethttpsproxies$Setcertificatemap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params?: Params$Resource$Targethttpsproxies$Setcertificatemap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params: Params$Resource$Targethttpsproxies$Setcertificatemap, options: StreamMethodOptions | BodyResponseCallback, @@ -130869,7 +133075,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setcertificatemap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -130924,11 +133133,11 @@ export namespace compute_alpha { setQuicOverride( params: Params$Resource$Targethttpsproxies$Setquicoverride, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setQuicOverride( params?: Params$Resource$Targethttpsproxies$Setquicoverride, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setQuicOverride( params: Params$Resource$Targethttpsproxies$Setquicoverride, options: StreamMethodOptions | BodyResponseCallback, @@ -130957,7 +133166,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setquicoverride; let options = (optionsOrCallback || {}) as MethodOptions; @@ -131012,11 +133224,11 @@ export namespace compute_alpha { setSslCertificates( params: Params$Resource$Targethttpsproxies$Setsslcertificates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params?: Params$Resource$Targethttpsproxies$Setsslcertificates, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params: Params$Resource$Targethttpsproxies$Setsslcertificates, options: StreamMethodOptions | BodyResponseCallback, @@ -131045,7 +133257,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setsslcertificates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -131100,11 +133315,11 @@ export namespace compute_alpha { setSslPolicy( params: Params$Resource$Targethttpsproxies$Setsslpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params?: Params$Resource$Targethttpsproxies$Setsslpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params: Params$Resource$Targethttpsproxies$Setsslpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -131133,7 +133348,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setsslpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -131188,11 +133406,11 @@ export namespace compute_alpha { setUrlMap( params: Params$Resource$Targethttpsproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Targethttpsproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Targethttpsproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -131221,7 +133439,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -131276,11 +133497,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Targethttpsproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targethttpsproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targethttpsproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -131315,8 +133536,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -131619,11 +133840,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Targetinstances$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targetinstances$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targetinstances$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -131658,8 +133879,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -131716,11 +133937,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Targetinstances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetinstances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetinstances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -131749,7 +133970,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -131804,11 +134028,11 @@ export namespace compute_alpha { get( params: Params$Resource$Targetinstances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetinstances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetinstances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -131837,7 +134061,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -131892,11 +134119,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Targetinstances$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetinstances$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetinstances$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -131925,7 +134152,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -131980,11 +134210,11 @@ export namespace compute_alpha { list( params: Params$Resource$Targetinstances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetinstances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetinstances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -132015,8 +134245,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -132071,11 +134301,11 @@ export namespace compute_alpha { setSecurityPolicy( params: Params$Resource$Targetinstances$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Targetinstances$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Targetinstances$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -132104,7 +134334,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -132159,11 +134392,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Targetinstances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targetinstances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targetinstances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -132198,8 +134431,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -132426,11 +134659,11 @@ export namespace compute_alpha { addHealthCheck( params: Params$Resource$Targetpools$Addhealthcheck, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addHealthCheck( params?: Params$Resource$Targetpools$Addhealthcheck, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addHealthCheck( params: Params$Resource$Targetpools$Addhealthcheck, options: StreamMethodOptions | BodyResponseCallback, @@ -132459,7 +134692,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Addhealthcheck; let options = (optionsOrCallback || {}) as MethodOptions; @@ -132514,11 +134750,11 @@ export namespace compute_alpha { addInstance( params: Params$Resource$Targetpools$Addinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addInstance( params?: Params$Resource$Targetpools$Addinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addInstance( params: Params$Resource$Targetpools$Addinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -132547,7 +134783,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Addinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -132602,11 +134841,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Targetpools$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targetpools$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targetpools$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -132641,8 +134880,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -132697,11 +134936,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Targetpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -132730,7 +134969,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -132785,11 +135027,11 @@ export namespace compute_alpha { get( params: Params$Resource$Targetpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -132818,7 +135060,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -132872,11 +135117,11 @@ export namespace compute_alpha { getHealth( params: Params$Resource$Targetpools$Gethealth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params?: Params$Resource$Targetpools$Gethealth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params: Params$Resource$Targetpools$Gethealth, options: StreamMethodOptions | BodyResponseCallback, @@ -132911,8 +135156,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Gethealth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -132967,11 +135212,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Targetpools$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetpools$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetpools$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -133000,7 +135245,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -133055,11 +135303,11 @@ export namespace compute_alpha { list( params: Params$Resource$Targetpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -133088,7 +135336,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -133142,11 +135393,11 @@ export namespace compute_alpha { removeHealthCheck( params: Params$Resource$Targetpools$Removehealthcheck, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeHealthCheck( params?: Params$Resource$Targetpools$Removehealthcheck, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeHealthCheck( params: Params$Resource$Targetpools$Removehealthcheck, options: StreamMethodOptions | BodyResponseCallback, @@ -133175,7 +135426,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Removehealthcheck; let options = (optionsOrCallback || {}) as MethodOptions; @@ -133230,11 +135484,11 @@ export namespace compute_alpha { removeInstance( params: Params$Resource$Targetpools$Removeinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeInstance( params?: Params$Resource$Targetpools$Removeinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeInstance( params: Params$Resource$Targetpools$Removeinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -133263,7 +135517,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Removeinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -133318,11 +135575,11 @@ export namespace compute_alpha { setBackup( params: Params$Resource$Targetpools$Setbackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBackup( params?: Params$Resource$Targetpools$Setbackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBackup( params: Params$Resource$Targetpools$Setbackup, options: StreamMethodOptions | BodyResponseCallback, @@ -133351,7 +135608,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Setbackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -133406,11 +135666,11 @@ export namespace compute_alpha { setSecurityPolicy( params: Params$Resource$Targetpools$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Targetpools$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Targetpools$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -133439,7 +135699,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -133494,11 +135757,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Targetpools$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targetpools$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targetpools$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -133533,8 +135796,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -133903,11 +136166,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Targetsslproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetsslproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetsslproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -133936,7 +136199,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -133991,11 +136257,11 @@ export namespace compute_alpha { get( params: Params$Resource$Targetsslproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetsslproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetsslproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -134024,7 +136290,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -134079,11 +136348,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Targetsslproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetsslproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetsslproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -134112,7 +136381,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -134167,11 +136439,11 @@ export namespace compute_alpha { list( params: Params$Resource$Targetsslproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetsslproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetsslproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -134202,8 +136474,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -134258,11 +136530,11 @@ export namespace compute_alpha { setBackendService( params: Params$Resource$Targetsslproxies$Setbackendservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params?: Params$Resource$Targetsslproxies$Setbackendservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params: Params$Resource$Targetsslproxies$Setbackendservice, options: StreamMethodOptions | BodyResponseCallback, @@ -134291,7 +136563,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setbackendservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -134346,11 +136621,11 @@ export namespace compute_alpha { setCertificateMap( params: Params$Resource$Targetsslproxies$Setcertificatemap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params?: Params$Resource$Targetsslproxies$Setcertificatemap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params: Params$Resource$Targetsslproxies$Setcertificatemap, options: StreamMethodOptions | BodyResponseCallback, @@ -134379,7 +136654,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setcertificatemap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -134434,11 +136712,11 @@ export namespace compute_alpha { setProxyHeader( params: Params$Resource$Targetsslproxies$Setproxyheader, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params?: Params$Resource$Targetsslproxies$Setproxyheader, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params: Params$Resource$Targetsslproxies$Setproxyheader, options: StreamMethodOptions | BodyResponseCallback, @@ -134467,7 +136745,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setproxyheader; let options = (optionsOrCallback || {}) as MethodOptions; @@ -134522,11 +136803,11 @@ export namespace compute_alpha { setSslCertificates( params: Params$Resource$Targetsslproxies$Setsslcertificates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params?: Params$Resource$Targetsslproxies$Setsslcertificates, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params: Params$Resource$Targetsslproxies$Setsslcertificates, options: StreamMethodOptions | BodyResponseCallback, @@ -134555,7 +136836,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setsslcertificates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -134610,11 +136894,11 @@ export namespace compute_alpha { setSslPolicy( params: Params$Resource$Targetsslproxies$Setsslpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params?: Params$Resource$Targetsslproxies$Setsslpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params: Params$Resource$Targetsslproxies$Setsslpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -134643,7 +136927,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setsslpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -134698,11 +136985,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Targetsslproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targetsslproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targetsslproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -134737,8 +137024,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -134986,11 +137273,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Targettcpproxies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targettcpproxies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targettcpproxies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -135025,8 +137312,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -135083,11 +137370,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Targettcpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targettcpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targettcpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -135116,7 +137403,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -135171,11 +137461,11 @@ export namespace compute_alpha { get( params: Params$Resource$Targettcpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targettcpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targettcpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -135204,7 +137494,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -135259,11 +137552,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Targettcpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targettcpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targettcpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -135292,7 +137585,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -135347,11 +137643,11 @@ export namespace compute_alpha { list( params: Params$Resource$Targettcpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targettcpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targettcpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -135382,8 +137678,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -135438,11 +137734,11 @@ export namespace compute_alpha { setBackendService( params: Params$Resource$Targettcpproxies$Setbackendservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params?: Params$Resource$Targettcpproxies$Setbackendservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params: Params$Resource$Targettcpproxies$Setbackendservice, options: StreamMethodOptions | BodyResponseCallback, @@ -135471,7 +137767,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Setbackendservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -135526,11 +137825,11 @@ export namespace compute_alpha { setProxyHeader( params: Params$Resource$Targettcpproxies$Setproxyheader, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params?: Params$Resource$Targettcpproxies$Setproxyheader, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params: Params$Resource$Targettcpproxies$Setproxyheader, options: StreamMethodOptions | BodyResponseCallback, @@ -135559,7 +137858,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Setproxyheader; let options = (optionsOrCallback || {}) as MethodOptions; @@ -135614,11 +137916,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Targettcpproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targettcpproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targettcpproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -135653,8 +137955,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -135877,11 +138179,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Targetvpngateways$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targetvpngateways$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targetvpngateways$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -135916,8 +138218,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -135974,11 +138276,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Targetvpngateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetvpngateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetvpngateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -136007,7 +138309,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -136062,11 +138367,11 @@ export namespace compute_alpha { get( params: Params$Resource$Targetvpngateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetvpngateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetvpngateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -136095,7 +138400,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -136150,11 +138458,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Targetvpngateways$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetvpngateways$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetvpngateways$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -136183,7 +138491,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -136238,11 +138549,11 @@ export namespace compute_alpha { list( params: Params$Resource$Targetvpngateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetvpngateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetvpngateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -136275,8 +138586,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -136331,11 +138642,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Targetvpngateways$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Targetvpngateways$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Targetvpngateways$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -136364,7 +138675,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -136419,11 +138733,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Targetvpngateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targetvpngateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targetvpngateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -136458,8 +138772,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -136686,11 +139000,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Urlmaps$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Urlmaps$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Urlmaps$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -136725,8 +139039,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -136780,11 +139094,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Urlmaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Urlmaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Urlmaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -136813,7 +139127,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -136867,11 +139184,11 @@ export namespace compute_alpha { get( params: Params$Resource$Urlmaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Urlmaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Urlmaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -136900,7 +139217,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -136954,11 +139274,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Urlmaps$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Urlmaps$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Urlmaps$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -136987,7 +139307,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -137040,11 +139363,11 @@ export namespace compute_alpha { invalidateCache( params: Params$Resource$Urlmaps$Invalidatecache, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; invalidateCache( params?: Params$Resource$Urlmaps$Invalidatecache, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; invalidateCache( params: Params$Resource$Urlmaps$Invalidatecache, options: StreamMethodOptions | BodyResponseCallback, @@ -137073,7 +139396,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Invalidatecache; let options = (optionsOrCallback || {}) as MethodOptions; @@ -137128,11 +139454,11 @@ export namespace compute_alpha { list( params: Params$Resource$Urlmaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Urlmaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Urlmaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -137161,7 +139487,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -137214,11 +139543,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Urlmaps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Urlmaps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Urlmaps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -137247,7 +139576,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -137301,11 +139633,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Urlmaps$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Urlmaps$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Urlmaps$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -137340,8 +139672,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -137396,11 +139728,11 @@ export namespace compute_alpha { update( params: Params$Resource$Urlmaps$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Urlmaps$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Urlmaps$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -137429,7 +139761,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -137483,11 +139818,11 @@ export namespace compute_alpha { validate( params: Params$Resource$Urlmaps$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Urlmaps$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validate( params: Params$Resource$Urlmaps$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -137522,8 +139857,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -137774,11 +140109,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Vpngateways$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Vpngateways$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Vpngateways$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -137813,8 +140148,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -137869,11 +140204,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Vpngateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Vpngateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Vpngateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -137902,7 +140237,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -137957,11 +140295,11 @@ export namespace compute_alpha { get( params: Params$Resource$Vpngateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vpngateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Vpngateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -137990,7 +140328,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -138044,11 +140385,11 @@ export namespace compute_alpha { getStatus( params: Params$Resource$Vpngateways$Getstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStatus( params?: Params$Resource$Vpngateways$Getstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStatus( params: Params$Resource$Vpngateways$Getstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -138083,8 +140424,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Getstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -138141,11 +140482,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Vpngateways$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Vpngateways$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Vpngateways$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -138174,7 +140515,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -138229,11 +140573,11 @@ export namespace compute_alpha { list( params: Params$Resource$Vpngateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Vpngateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Vpngateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -138262,7 +140606,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -138316,11 +140663,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Vpngateways$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Vpngateways$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Vpngateways$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -138349,7 +140696,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -138404,11 +140754,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Vpngateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Vpngateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Vpngateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -138443,8 +140793,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -138684,11 +141034,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Vpntunnels$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Vpntunnels$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Vpntunnels$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -138723,8 +141073,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -138779,11 +141129,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Vpntunnels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Vpntunnels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Vpntunnels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -138812,7 +141162,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -138867,11 +141220,11 @@ export namespace compute_alpha { get( params: Params$Resource$Vpntunnels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vpntunnels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Vpntunnels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -138900,7 +141253,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -138954,11 +141310,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Vpntunnels$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Vpntunnels$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Vpntunnels$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -138987,7 +141343,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -139042,11 +141401,11 @@ export namespace compute_alpha { list( params: Params$Resource$Vpntunnels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Vpntunnels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Vpntunnels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -139075,7 +141434,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -139129,11 +141491,11 @@ export namespace compute_alpha { setLabels( params: Params$Resource$Vpntunnels$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Vpntunnels$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Vpntunnels$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -139162,7 +141524,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -139217,11 +141582,11 @@ export namespace compute_alpha { testIamPermissions( params: Params$Resource$Vpntunnels$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Vpntunnels$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Vpntunnels$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -139256,8 +141621,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -139482,11 +141847,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Wiregroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Wiregroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Wiregroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -139515,7 +141880,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Wiregroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -139570,11 +141938,11 @@ export namespace compute_alpha { get( params: Params$Resource$Wiregroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Wiregroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Wiregroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -139603,7 +141971,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Wiregroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -139657,11 +142028,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Wiregroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Wiregroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Wiregroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -139690,7 +142061,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Wiregroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -139745,11 +142119,11 @@ export namespace compute_alpha { list( params: Params$Resource$Wiregroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Wiregroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Wiregroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -139778,7 +142152,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Wiregroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -139832,11 +142209,11 @@ export namespace compute_alpha { patch( params: Params$Resource$Wiregroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Wiregroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Wiregroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -139865,7 +142242,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Wiregroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -140045,11 +142425,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Zoneoperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Zoneoperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Zoneoperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -140076,7 +142456,10 @@ export namespace compute_alpha { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -140131,11 +142514,11 @@ export namespace compute_alpha { get( params: Params$Resource$Zoneoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Zoneoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Zoneoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -140164,7 +142547,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -140219,11 +142605,11 @@ export namespace compute_alpha { list( params: Params$Resource$Zoneoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Zoneoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Zoneoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -140252,7 +142638,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -140307,11 +142696,11 @@ export namespace compute_alpha { wait( params: Params$Resource$Zoneoperations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Zoneoperations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Zoneoperations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -140340,7 +142729,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -140479,11 +142871,11 @@ export namespace compute_alpha { aggregatedList( params: Params$Resource$Zonequeuedresources$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Zonequeuedresources$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Zonequeuedresources$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -140518,8 +142910,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zonequeuedresources$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -140576,11 +142968,11 @@ export namespace compute_alpha { cancel( params: Params$Resource$Zonequeuedresources$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Zonequeuedresources$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Zonequeuedresources$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -140609,7 +143001,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zonequeuedresources$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -140664,11 +143059,11 @@ export namespace compute_alpha { delete( params: Params$Resource$Zonequeuedresources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Zonequeuedresources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Zonequeuedresources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -140697,7 +143092,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zonequeuedresources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -140752,11 +143150,11 @@ export namespace compute_alpha { get( params: Params$Resource$Zonequeuedresources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Zonequeuedresources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Zonequeuedresources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -140785,7 +143183,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zonequeuedresources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -140840,11 +143241,11 @@ export namespace compute_alpha { insert( params: Params$Resource$Zonequeuedresources$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Zonequeuedresources$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Zonequeuedresources$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -140873,7 +143274,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zonequeuedresources$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -140928,11 +143332,11 @@ export namespace compute_alpha { list( params: Params$Resource$Zonequeuedresources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Zonequeuedresources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Zonequeuedresources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -140963,8 +143367,8 @@ export namespace compute_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zonequeuedresources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -141166,11 +143570,11 @@ export namespace compute_alpha { get( params: Params$Resource$Zones$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Zones$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Zones$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -141199,7 +143603,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zones$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -141252,11 +143659,11 @@ export namespace compute_alpha { list( params: Params$Resource$Zones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Zones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Zones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -141285,7 +143692,10 @@ export namespace compute_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zones$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/compute/beta.ts b/src/apis/compute/beta.ts index 8741a2ef128..3025cfeb8dc 100644 --- a/src/apis/compute/beta.ts +++ b/src/apis/compute/beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -170,6 +170,7 @@ export namespace compute_beta { nodeTypes: Resource$Nodetypes; organizationSecurityPolicies: Resource$Organizationsecuritypolicies; packetMirrorings: Resource$Packetmirrorings; + previewFeatures: Resource$Previewfeatures; projects: Resource$Projects; publicAdvertisedPrefixes: Resource$Publicadvertisedprefixes; publicDelegatedPrefixes: Resource$Publicdelegatedprefixes; @@ -312,6 +313,7 @@ export namespace compute_beta { this.organizationSecurityPolicies = new Resource$Organizationsecuritypolicies(this.context); this.packetMirrorings = new Resource$Packetmirrorings(this.context); + this.previewFeatures = new Resource$Previewfeatures(this.context); this.projects = new Resource$Projects(this.context); this.publicAdvertisedPrefixes = new Resource$Publicadvertisedprefixes( this.context @@ -2677,6 +2679,19 @@ export namespace compute_beta { */ targetVmCount?: number | null; } + export interface Schema$BulkSetLabelsRequest { + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You may optionally provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint. + */ + labelFingerprint?: string | null; + /** + * The labels to set for this resource. + */ + labels?: {[key: string]: string} | null; + } + export interface Schema$BulkZoneSetLabelsRequest { + requests?: Schema$BulkSetLabelsRequest[]; + } export interface Schema$BundledLocalSsds { /** * The default disk interface if the interface is not specified. @@ -3195,6 +3210,23 @@ export namespace compute_beta { */ path?: string | null; } + /** + * Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp + */ + export interface Schema$Date { + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + */ + day?: number | null; + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + */ + month?: number | null; + /** + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + */ + year?: number | null; + } /** * Deprecation status for a public resource. */ @@ -8738,6 +8770,22 @@ export namespace compute_beta { * Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s - BPS_100G: 100 Gbit/s */ bandwidth?: string | null; + /** + * Single IPv4 address + prefix length to be configured on the cloud router interface for this interconnect attachment. - Both candidate_cloud_router_ip_address and candidate_customer_router_ip_address fields must be set or both must be unset. - Prefix length of both candidate_cloud_router_ip_address and candidate_customer_router_ip_address must be the same. - Max prefix length is 31. + */ + candidateCloudRouterIpAddress?: string | null; + /** + * Single IPv6 address + prefix length to be configured on the cloud router interface for this interconnect attachment. - Both candidate_cloud_router_ipv6_address and candidate_customer_router_ipv6_address fields must be set or both must be unset. - Prefix length of both candidate_cloud_router_ipv6_address and candidate_customer_router_ipv6_address must be the same. - Max prefix length is 126. + */ + candidateCloudRouterIpv6Address?: string | null; + /** + * Single IPv4 address + prefix length to be configured on the customer router interface for this interconnect attachment. + */ + candidateCustomerRouterIpAddress?: string | null; + /** + * Single IPv6 address + prefix length to be configured on the customer router interface for this interconnect attachment. + */ + candidateCustomerRouterIpv6Address?: string | null; /** * This field is not available. */ @@ -8823,7 +8871,7 @@ export namespace compute_beta { */ labels?: {[key: string]: string} | null; /** - * Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. + * Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not specified, the value will default to 1440. */ mtu?: number | null; /** @@ -13529,6 +13577,143 @@ export namespace compute_beta { */ literal?: string | null; } + /** + * Represents a single Google Compute Engine preview feature. + */ + export interface Schema$PreviewFeature { + /** + * Specifies whether the feature is enabled or disabled. + */ + activationStatus?: string | null; + /** + * [Output Only] Creation timestamp in RFC3339 text format. + */ + creationTimestamp?: string | null; + /** + * [Output Only] Description of the feature. + */ + description?: string | null; + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ + id?: string | null; + /** + * [Output only] The type of the feature. Always "compute#previewFeature" for preview features. + */ + kind?: string | null; + /** + * Name of the feature. + */ + name?: string | null; + /** + * Rollout operation of the feature. + */ + rolloutOperation?: Schema$PreviewFeatureRolloutOperation; + /** + * [Output Only] Server-defined URL for the resource. + */ + selfLink?: string | null; + /** + * [Output only] Status of the feature. + */ + status?: Schema$PreviewFeatureStatus; + } + export interface Schema$PreviewFeatureList { + etag?: string | null; + /** + * [Output Only] Unique identifier for the resource; defined by the server. + */ + id?: string | null; + /** + * A list of PreviewFeature resources. + */ + items?: Schema$PreviewFeature[]; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + */ + nextPageToken?: string | null; + /** + * [Output Only] Server-defined URL for this resource. + */ + selfLink?: string | null; + /** + * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder + */ + unreachables?: string[] | null; + /** + * [Output Only] Informational warning message. + */ + warning?: { + code?: string; + data?: Array<{key?: string; value?: string}>; + message?: string; + } | null; + } + /** + * Represents the rollout operation + */ + export interface Schema$PreviewFeatureRolloutOperation { + rolloutInput?: Schema$PreviewFeatureRolloutOperationRolloutInput; + rolloutStatus?: Schema$PreviewFeatureRolloutOperationRolloutStatus; + } + export interface Schema$PreviewFeatureRolloutOperationRolloutInput { + /** + * The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/. + */ + name?: string | null; + /** + * Predefined rollout plan. + */ + predefinedRolloutPlan?: string | null; + /** + * The UUID of the retry action. Only needed if this is a retry for an existing rollout. This can be used after the user canceled a rollout and want to retry it with no changes. + */ + retryUuid?: string | null; + } + export interface Schema$PreviewFeatureRolloutOperationRolloutStatus { + /** + * Output only. The ongoing rollout resources. There can be multiple ongoing rollouts for a resource. + */ + ongoingRollouts?: Schema$PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata[]; + /** + * Output only. The last completed rollout resource. This field will not be populated until the first rollout is completed. + */ + previousRollout?: Schema$PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata; + } + export interface Schema$PreviewFeatureRolloutOperationRolloutStatusRolloutMetadata { + /** + * The name of the rollout Ex. organizations//locations/global/rollouts/ Ex. folders//locations/global/rollouts/ Ex. projects//locations/global/rollouts/. + */ + rollout?: string | null; + /** + * The name of the rollout plan Ex. organizations//locations/global/rolloutPlans/ Ex. folders//locations/global/rolloutPlans/ Ex. projects//locations/global/rolloutPlans/. + */ + rolloutPlan?: string | null; + /** + * The status of the rollout. + */ + status?: Schema$PreviewFeatureStatus; + } + /** + * [Output Only] The status of the feature. + */ + export interface Schema$PreviewFeatureStatus { + /** + * [Output Only] The description of the feature. + */ + description?: string | null; + releaseStatus?: Schema$PreviewFeatureStatusReleaseStatus; + } + export interface Schema$PreviewFeatureStatusReleaseStatus { + /** + * [Output Only] The stage of the feature. + */ + stage?: string | null; + /** + * Output only. The last date when a feature transitioned between ReleaseStatuses. + */ + updateDate?: Schema$Date; + } /** * Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy. */ @@ -21668,11 +21853,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Acceleratortypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Acceleratortypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Acceleratortypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -21707,8 +21892,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acceleratortypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21765,11 +21950,11 @@ export namespace compute_beta { get( params: Params$Resource$Acceleratortypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Acceleratortypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Acceleratortypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21798,7 +21983,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acceleratortypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21853,11 +22041,11 @@ export namespace compute_beta { list( params: Params$Resource$Acceleratortypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Acceleratortypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Acceleratortypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21888,8 +22076,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acceleratortypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22033,11 +22221,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Addresses$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Addresses$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Addresses$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -22072,8 +22260,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22127,11 +22315,11 @@ export namespace compute_beta { delete( params: Params$Resource$Addresses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Addresses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Addresses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22160,7 +22348,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22214,11 +22405,11 @@ export namespace compute_beta { get( params: Params$Resource$Addresses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Addresses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Addresses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22247,7 +22438,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22301,11 +22495,11 @@ export namespace compute_beta { insert( params: Params$Resource$Addresses$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Addresses$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Addresses$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -22334,7 +22528,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22388,11 +22585,11 @@ export namespace compute_beta { list( params: Params$Resource$Addresses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Addresses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Addresses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22421,7 +22618,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22475,11 +22675,11 @@ export namespace compute_beta { move( params: Params$Resource$Addresses$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Addresses$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Addresses$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -22508,7 +22708,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22562,11 +22765,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Addresses$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Addresses$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Addresses$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -22595,7 +22798,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22650,11 +22856,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Addresses$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Addresses$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Addresses$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -22689,8 +22895,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22936,11 +23142,11 @@ export namespace compute_beta { calendarMode( params: Params$Resource$Advice$Calendarmode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calendarMode( params?: Params$Resource$Advice$Calendarmode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calendarMode( params: Params$Resource$Advice$Calendarmode, options: StreamMethodOptions | BodyResponseCallback, @@ -22975,8 +23181,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advice$Calendarmode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23055,11 +23261,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Autoscalers$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Autoscalers$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Autoscalers$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -23094,8 +23300,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23150,11 +23356,11 @@ export namespace compute_beta { delete( params: Params$Resource$Autoscalers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Autoscalers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Autoscalers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23183,7 +23389,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23238,11 +23447,11 @@ export namespace compute_beta { get( params: Params$Resource$Autoscalers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Autoscalers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Autoscalers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23271,7 +23480,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23325,11 +23537,11 @@ export namespace compute_beta { insert( params: Params$Resource$Autoscalers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Autoscalers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Autoscalers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -23358,7 +23570,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23413,11 +23628,11 @@ export namespace compute_beta { list( params: Params$Resource$Autoscalers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Autoscalers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Autoscalers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23446,7 +23661,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23500,11 +23718,11 @@ export namespace compute_beta { patch( params: Params$Resource$Autoscalers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Autoscalers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Autoscalers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23533,7 +23751,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23588,11 +23809,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Autoscalers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Autoscalers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Autoscalers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -23627,8 +23848,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23683,11 +23904,11 @@ export namespace compute_beta { update( params: Params$Resource$Autoscalers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Autoscalers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Autoscalers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -23716,7 +23937,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23965,11 +24189,11 @@ export namespace compute_beta { addSignedUrlKey( params: Params$Resource$Backendbuckets$Addsignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params?: Params$Resource$Backendbuckets$Addsignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params: Params$Resource$Backendbuckets$Addsignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -23998,7 +24222,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Addsignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24053,11 +24280,11 @@ export namespace compute_beta { delete( params: Params$Resource$Backendbuckets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Backendbuckets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Backendbuckets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24086,7 +24313,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24141,11 +24371,11 @@ export namespace compute_beta { deleteSignedUrlKey( params: Params$Resource$Backendbuckets$Deletesignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params?: Params$Resource$Backendbuckets$Deletesignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params: Params$Resource$Backendbuckets$Deletesignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -24174,7 +24404,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Deletesignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24229,11 +24462,11 @@ export namespace compute_beta { get( params: Params$Resource$Backendbuckets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Backendbuckets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Backendbuckets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24262,7 +24495,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24317,11 +24553,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Backendbuckets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Backendbuckets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Backendbuckets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -24350,7 +24586,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24405,11 +24644,11 @@ export namespace compute_beta { insert( params: Params$Resource$Backendbuckets$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Backendbuckets$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Backendbuckets$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -24438,7 +24677,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24492,11 +24734,11 @@ export namespace compute_beta { list( params: Params$Resource$Backendbuckets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Backendbuckets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Backendbuckets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24527,8 +24769,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24582,11 +24824,11 @@ export namespace compute_beta { listUsable( params: Params$Resource$Backendbuckets$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Backendbuckets$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Backendbuckets$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -24621,8 +24863,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24677,11 +24919,11 @@ export namespace compute_beta { patch( params: Params$Resource$Backendbuckets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Backendbuckets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Backendbuckets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24710,7 +24952,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24765,11 +25010,11 @@ export namespace compute_beta { setEdgeSecurityPolicy( params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params?: Params$Resource$Backendbuckets$Setedgesecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -24800,7 +25045,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Setedgesecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24855,11 +25103,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Backendbuckets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Backendbuckets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Backendbuckets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -24888,7 +25136,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24943,11 +25194,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Backendbuckets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Backendbuckets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Backendbuckets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -24982,8 +25233,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25038,11 +25289,11 @@ export namespace compute_beta { update( params: Params$Resource$Backendbuckets$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Backendbuckets$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Backendbuckets$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -25071,7 +25322,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25376,11 +25630,11 @@ export namespace compute_beta { addSignedUrlKey( params: Params$Resource$Backendservices$Addsignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params?: Params$Resource$Backendservices$Addsignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params: Params$Resource$Backendservices$Addsignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -25409,7 +25663,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Addsignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25464,11 +25721,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Backendservices$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Backendservices$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Backendservices$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -25503,8 +25760,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25561,11 +25818,11 @@ export namespace compute_beta { delete( params: Params$Resource$Backendservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Backendservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Backendservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25594,7 +25851,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25649,11 +25909,11 @@ export namespace compute_beta { deleteSignedUrlKey( params: Params$Resource$Backendservices$Deletesignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params?: Params$Resource$Backendservices$Deletesignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params: Params$Resource$Backendservices$Deletesignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -25682,7 +25942,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Deletesignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25737,11 +26000,11 @@ export namespace compute_beta { get( params: Params$Resource$Backendservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Backendservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Backendservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25770,7 +26033,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25825,11 +26091,13 @@ export namespace compute_beta { getEffectiveSecurityPolicies( params: Params$Resource$Backendservices$Geteffectivesecuritypolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveSecurityPolicies( params?: Params$Resource$Backendservices$Geteffectivesecuritypolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEffectiveSecurityPolicies( params: Params$Resource$Backendservices$Geteffectivesecuritypolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -25864,8 +26132,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Geteffectivesecuritypolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25923,11 +26193,11 @@ export namespace compute_beta { getHealth( params: Params$Resource$Backendservices$Gethealth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params?: Params$Resource$Backendservices$Gethealth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params: Params$Resource$Backendservices$Gethealth, options: StreamMethodOptions | BodyResponseCallback, @@ -25962,8 +26232,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Gethealth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26018,11 +26288,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Backendservices$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Backendservices$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Backendservices$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -26051,7 +26321,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26106,11 +26379,11 @@ export namespace compute_beta { insert( params: Params$Resource$Backendservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Backendservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Backendservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -26139,7 +26412,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26194,11 +26470,11 @@ export namespace compute_beta { list( params: Params$Resource$Backendservices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Backendservices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Backendservices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26229,8 +26505,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26285,11 +26561,11 @@ export namespace compute_beta { listUsable( params: Params$Resource$Backendservices$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Backendservices$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Backendservices$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -26324,8 +26600,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26380,11 +26656,11 @@ export namespace compute_beta { patch( params: Params$Resource$Backendservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Backendservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Backendservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26413,7 +26689,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26468,11 +26747,11 @@ export namespace compute_beta { setEdgeSecurityPolicy( params: Params$Resource$Backendservices$Setedgesecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params?: Params$Resource$Backendservices$Setedgesecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params: Params$Resource$Backendservices$Setedgesecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -26503,7 +26782,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Setedgesecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26558,11 +26840,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Backendservices$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Backendservices$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Backendservices$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -26591,7 +26873,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26646,11 +26931,11 @@ export namespace compute_beta { setSecurityPolicy( params: Params$Resource$Backendservices$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Backendservices$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Backendservices$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -26679,7 +26964,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26734,11 +27022,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Backendservices$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Backendservices$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Backendservices$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -26773,8 +27061,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26829,11 +27117,11 @@ export namespace compute_beta { update( params: Params$Resource$Backendservices$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Backendservices$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Backendservices$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -26862,7 +27150,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27249,11 +27540,11 @@ export namespace compute_beta { delete( params: Params$Resource$Crosssitenetworks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Crosssitenetworks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Crosssitenetworks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27282,7 +27573,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Crosssitenetworks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27337,11 +27631,11 @@ export namespace compute_beta { get( params: Params$Resource$Crosssitenetworks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Crosssitenetworks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Crosssitenetworks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27370,7 +27664,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Crosssitenetworks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27425,11 +27722,11 @@ export namespace compute_beta { insert( params: Params$Resource$Crosssitenetworks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Crosssitenetworks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Crosssitenetworks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -27458,7 +27755,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Crosssitenetworks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27513,11 +27813,11 @@ export namespace compute_beta { list( params: Params$Resource$Crosssitenetworks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Crosssitenetworks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Crosssitenetworks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27550,8 +27850,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Crosssitenetworks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27606,11 +27906,11 @@ export namespace compute_beta { patch( params: Params$Resource$Crosssitenetworks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Crosssitenetworks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Crosssitenetworks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -27639,7 +27939,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Crosssitenetworks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27803,11 +28106,11 @@ export namespace compute_beta { addResourcePolicies( params: Params$Resource$Disks$Addresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params?: Params$Resource$Disks$Addresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params: Params$Resource$Disks$Addresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -27836,7 +28139,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Addresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27891,11 +28197,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Disks$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Disks$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Disks$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -27928,8 +28234,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27983,11 +28289,11 @@ export namespace compute_beta { bulkInsert( params: Params$Resource$Disks$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Disks$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Disks$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -28016,7 +28322,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28059,6 +28368,97 @@ export namespace compute_beta { } } + /** + * Sets the labels on many disks at once. To learn more about labels, read the Labeling Resources documentation. + * + * @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. + */ + bulkSetLabels( + params: Params$Resource$Disks$Bulksetlabels, + options: StreamMethodOptions + ): Promise>; + bulkSetLabels( + params?: Params$Resource$Disks$Bulksetlabels, + options?: MethodOptions + ): Promise>; + bulkSetLabels( + params: Params$Resource$Disks$Bulksetlabels, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkSetLabels( + params: Params$Resource$Disks$Bulksetlabels, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkSetLabels( + params: Params$Resource$Disks$Bulksetlabels, + callback: BodyResponseCallback + ): void; + bulkSetLabels(callback: BodyResponseCallback): void; + bulkSetLabels( + paramsOrCallback?: + | Params$Resource$Disks$Bulksetlabels + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Disks$Bulksetlabels; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Disks$Bulksetlabels; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/disks/bulkSetLabels' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project. * @@ -28070,11 +28470,11 @@ export namespace compute_beta { createSnapshot( params: Params$Resource$Disks$Createsnapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params?: Params$Resource$Disks$Createsnapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params: Params$Resource$Disks$Createsnapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -28103,7 +28503,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Createsnapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28158,11 +28561,11 @@ export namespace compute_beta { delete( params: Params$Resource$Disks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Disks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Disks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28191,7 +28594,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28245,11 +28651,11 @@ export namespace compute_beta { get( params: Params$Resource$Disks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Disks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Disks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28278,7 +28684,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28332,11 +28741,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Disks$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Disks$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Disks$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -28365,7 +28774,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28420,11 +28832,11 @@ export namespace compute_beta { insert( params: Params$Resource$Disks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Disks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Disks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -28453,7 +28865,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28506,11 +28921,11 @@ export namespace compute_beta { list( params: Params$Resource$Disks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Disks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Disks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28539,7 +28954,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28592,11 +29010,11 @@ export namespace compute_beta { removeResourcePolicies( params: Params$Resource$Disks$Removeresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params?: Params$Resource$Disks$Removeresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params: Params$Resource$Disks$Removeresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -28627,7 +29045,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Removeresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28682,11 +29103,11 @@ export namespace compute_beta { resize( params: Params$Resource$Disks$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Disks$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Disks$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -28715,7 +29136,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28769,11 +29193,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Disks$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Disks$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Disks$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -28802,7 +29226,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28857,11 +29284,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Disks$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Disks$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Disks$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -28890,7 +29317,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28944,11 +29374,11 @@ export namespace compute_beta { startAsyncReplication( params: Params$Resource$Disks$Startasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params?: Params$Resource$Disks$Startasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params: Params$Resource$Disks$Startasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -28979,7 +29409,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Startasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29034,11 +29467,11 @@ export namespace compute_beta { stopAsyncReplication( params: Params$Resource$Disks$Stopasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params?: Params$Resource$Disks$Stopasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params: Params$Resource$Disks$Stopasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -29069,7 +29502,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Stopasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29124,11 +29560,11 @@ export namespace compute_beta { stopGroupAsyncReplication( params: Params$Resource$Disks$Stopgroupasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params?: Params$Resource$Disks$Stopgroupasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params: Params$Resource$Disks$Stopgroupasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -29159,7 +29595,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Stopgroupasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29214,11 +29653,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Disks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Disks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Disks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -29253,8 +29692,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29309,11 +29748,11 @@ export namespace compute_beta { update( params: Params$Resource$Disks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Disks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Disks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -29342,7 +29781,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29464,6 +29906,30 @@ export namespace compute_beta { */ requestBody?: Schema$BulkInsertDiskResource; } + export interface Params$Resource$Disks$Bulksetlabels + extends StandardParameters { + /** + * Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + /** + * The name of the zone for this request. + */ + zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$BulkZoneSetLabelsRequest; + } export interface Params$Resource$Disks$Createsnapshot extends StandardParameters { /** @@ -29818,11 +30284,11 @@ export namespace compute_beta { get( params: Params$Resource$Disksettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Disksettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Disksettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29851,7 +30317,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disksettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29905,11 +30374,11 @@ export namespace compute_beta { patch( params: Params$Resource$Disksettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Disksettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Disksettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -29938,7 +30407,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disksettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30035,11 +30507,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Disktypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Disktypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Disktypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -30074,8 +30546,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disktypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30129,11 +30601,11 @@ export namespace compute_beta { get( params: Params$Resource$Disktypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Disktypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Disktypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30162,7 +30634,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disktypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30216,11 +30691,11 @@ export namespace compute_beta { list( params: Params$Resource$Disktypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Disktypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Disktypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30249,7 +30724,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disktypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30390,11 +30868,11 @@ export namespace compute_beta { delete( params: Params$Resource$Externalvpngateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Externalvpngateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Externalvpngateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30423,7 +30901,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30478,11 +30959,11 @@ export namespace compute_beta { get( params: Params$Resource$Externalvpngateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Externalvpngateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Externalvpngateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30513,8 +30994,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30569,11 +31050,11 @@ export namespace compute_beta { insert( params: Params$Resource$Externalvpngateways$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Externalvpngateways$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Externalvpngateways$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -30602,7 +31083,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30657,11 +31141,11 @@ export namespace compute_beta { list( params: Params$Resource$Externalvpngateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Externalvpngateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Externalvpngateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30694,8 +31178,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30750,11 +31234,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Externalvpngateways$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Externalvpngateways$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Externalvpngateways$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -30783,7 +31267,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30838,11 +31325,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Externalvpngateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Externalvpngateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Externalvpngateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -30877,8 +31364,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31042,11 +31529,11 @@ export namespace compute_beta { addAssociation( params: Params$Resource$Firewallpolicies$Addassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params?: Params$Resource$Firewallpolicies$Addassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params: Params$Resource$Firewallpolicies$Addassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -31075,7 +31562,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Addassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31130,11 +31620,11 @@ export namespace compute_beta { addPacketMirroringRule( params: Params$Resource$Firewallpolicies$Addpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addPacketMirroringRule( params?: Params$Resource$Firewallpolicies$Addpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addPacketMirroringRule( params: Params$Resource$Firewallpolicies$Addpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -31165,7 +31655,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Addpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31220,11 +31713,11 @@ export namespace compute_beta { addRule( params: Params$Resource$Firewallpolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Firewallpolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Firewallpolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -31253,7 +31746,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31308,11 +31804,11 @@ export namespace compute_beta { cloneRules( params: Params$Resource$Firewallpolicies$Clonerules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params?: Params$Resource$Firewallpolicies$Clonerules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params: Params$Resource$Firewallpolicies$Clonerules, options: StreamMethodOptions | BodyResponseCallback, @@ -31341,7 +31837,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Clonerules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31396,11 +31895,11 @@ export namespace compute_beta { delete( params: Params$Resource$Firewallpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Firewallpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Firewallpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31429,7 +31928,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31484,11 +31986,11 @@ export namespace compute_beta { get( params: Params$Resource$Firewallpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Firewallpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Firewallpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31517,7 +32019,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31572,11 +32077,11 @@ export namespace compute_beta { getAssociation( params: Params$Resource$Firewallpolicies$Getassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params?: Params$Resource$Firewallpolicies$Getassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params: Params$Resource$Firewallpolicies$Getassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -31611,8 +32116,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Getassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31667,11 +32172,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Firewallpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Firewallpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Firewallpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -31700,7 +32205,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31755,11 +32263,11 @@ export namespace compute_beta { getPacketMirroringRule( params: Params$Resource$Firewallpolicies$Getpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPacketMirroringRule( params?: Params$Resource$Firewallpolicies$Getpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPacketMirroringRule( params: Params$Resource$Firewallpolicies$Getpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -31792,8 +32300,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Getpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31848,11 +32356,11 @@ export namespace compute_beta { getRule( params: Params$Resource$Firewallpolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Firewallpolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Firewallpolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -31883,8 +32391,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31939,11 +32447,11 @@ export namespace compute_beta { insert( params: Params$Resource$Firewallpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Firewallpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Firewallpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -31972,7 +32480,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32026,11 +32537,11 @@ export namespace compute_beta { list( params: Params$Resource$Firewallpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Firewallpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Firewallpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32061,8 +32572,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32116,11 +32627,13 @@ export namespace compute_beta { listAssociations( params: Params$Resource$Firewallpolicies$Listassociations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAssociations( params?: Params$Resource$Firewallpolicies$Listassociations, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAssociations( params: Params$Resource$Firewallpolicies$Listassociations, options: StreamMethodOptions | BodyResponseCallback, @@ -32155,8 +32668,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Listassociations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32213,11 +32728,11 @@ export namespace compute_beta { move( params: Params$Resource$Firewallpolicies$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Firewallpolicies$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Firewallpolicies$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -32246,7 +32761,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32301,11 +32819,11 @@ export namespace compute_beta { patch( params: Params$Resource$Firewallpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Firewallpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Firewallpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -32334,7 +32852,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32389,11 +32910,11 @@ export namespace compute_beta { patchPacketMirroringRule( params: Params$Resource$Firewallpolicies$Patchpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPacketMirroringRule( params?: Params$Resource$Firewallpolicies$Patchpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPacketMirroringRule( params: Params$Resource$Firewallpolicies$Patchpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -32424,7 +32945,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Patchpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32480,11 +33004,11 @@ export namespace compute_beta { patchRule( params: Params$Resource$Firewallpolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Firewallpolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Firewallpolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -32513,7 +33037,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32568,11 +33095,11 @@ export namespace compute_beta { removeAssociation( params: Params$Resource$Firewallpolicies$Removeassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params?: Params$Resource$Firewallpolicies$Removeassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params: Params$Resource$Firewallpolicies$Removeassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -32601,7 +33128,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Removeassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32656,11 +33186,11 @@ export namespace compute_beta { removePacketMirroringRule( params: Params$Resource$Firewallpolicies$Removepacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removePacketMirroringRule( params?: Params$Resource$Firewallpolicies$Removepacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removePacketMirroringRule( params: Params$Resource$Firewallpolicies$Removepacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -32691,7 +33221,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Removepacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32747,11 +33280,11 @@ export namespace compute_beta { removeRule( params: Params$Resource$Firewallpolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Firewallpolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Firewallpolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -32780,7 +33313,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32835,11 +33371,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Firewallpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Firewallpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Firewallpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -32868,7 +33404,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32923,11 +33462,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Firewallpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Firewallpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Firewallpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -32962,8 +33501,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33345,11 +33884,11 @@ export namespace compute_beta { delete( params: Params$Resource$Firewalls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Firewalls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Firewalls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -33378,7 +33917,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33432,11 +33974,11 @@ export namespace compute_beta { get( params: Params$Resource$Firewalls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Firewalls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Firewalls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33465,7 +34007,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33519,11 +34064,11 @@ export namespace compute_beta { insert( params: Params$Resource$Firewalls$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Firewalls$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Firewalls$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -33552,7 +34097,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33605,11 +34153,11 @@ export namespace compute_beta { list( params: Params$Resource$Firewalls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Firewalls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Firewalls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33638,7 +34186,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33691,11 +34242,11 @@ export namespace compute_beta { patch( params: Params$Resource$Firewalls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Firewalls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Firewalls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -33724,7 +34275,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33778,11 +34332,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Firewalls$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Firewalls$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Firewalls$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -33817,8 +34371,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33873,11 +34427,11 @@ export namespace compute_beta { update( params: Params$Resource$Firewalls$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Firewalls$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Firewalls$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -33906,7 +34460,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34087,11 +34644,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Forwardingrules$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Forwardingrules$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Forwardingrules$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -34126,8 +34683,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34184,11 +34741,11 @@ export namespace compute_beta { delete( params: Params$Resource$Forwardingrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Forwardingrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Forwardingrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34217,7 +34774,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34272,11 +34832,11 @@ export namespace compute_beta { get( params: Params$Resource$Forwardingrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Forwardingrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Forwardingrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34305,7 +34865,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34360,11 +34923,11 @@ export namespace compute_beta { insert( params: Params$Resource$Forwardingrules$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Forwardingrules$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Forwardingrules$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -34393,7 +34956,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34448,11 +35014,11 @@ export namespace compute_beta { list( params: Params$Resource$Forwardingrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Forwardingrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Forwardingrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34483,8 +35049,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34539,11 +35105,11 @@ export namespace compute_beta { patch( params: Params$Resource$Forwardingrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Forwardingrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Forwardingrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -34572,7 +35138,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34627,11 +35196,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Forwardingrules$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Forwardingrules$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Forwardingrules$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -34660,7 +35229,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34715,11 +35287,11 @@ export namespace compute_beta { setTarget( params: Params$Resource$Forwardingrules$Settarget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params?: Params$Resource$Forwardingrules$Settarget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params: Params$Resource$Forwardingrules$Settarget, options: StreamMethodOptions | BodyResponseCallback, @@ -34748,7 +35320,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Settarget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34803,11 +35378,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Forwardingrules$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Forwardingrules$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Forwardingrules$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -34842,8 +35417,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35118,11 +35693,13 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Futurereservations$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Futurereservations$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Futurereservations$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -35157,8 +35734,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35215,11 +35794,11 @@ export namespace compute_beta { cancel( params: Params$Resource$Futurereservations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Futurereservations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Futurereservations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -35248,7 +35827,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35303,11 +35885,11 @@ export namespace compute_beta { delete( params: Params$Resource$Futurereservations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Futurereservations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Futurereservations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -35336,7 +35918,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35391,11 +35976,11 @@ export namespace compute_beta { get( params: Params$Resource$Futurereservations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Futurereservations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Futurereservations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35426,8 +36011,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35482,11 +36067,11 @@ export namespace compute_beta { insert( params: Params$Resource$Futurereservations$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Futurereservations$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Futurereservations$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -35515,7 +36100,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35570,11 +36158,11 @@ export namespace compute_beta { list( params: Params$Resource$Futurereservations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Futurereservations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Futurereservations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35609,8 +36197,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35667,11 +36255,11 @@ export namespace compute_beta { update( params: Params$Resource$Futurereservations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Futurereservations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Futurereservations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -35700,7 +36288,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Futurereservations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35930,11 +36521,11 @@ export namespace compute_beta { delete( params: Params$Resource$Globaladdresses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globaladdresses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globaladdresses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -35963,7 +36554,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36018,11 +36612,11 @@ export namespace compute_beta { get( params: Params$Resource$Globaladdresses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globaladdresses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globaladdresses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36051,7 +36645,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36106,11 +36703,11 @@ export namespace compute_beta { insert( params: Params$Resource$Globaladdresses$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globaladdresses$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globaladdresses$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -36139,7 +36736,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36193,11 +36793,11 @@ export namespace compute_beta { list( params: Params$Resource$Globaladdresses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globaladdresses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globaladdresses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36226,7 +36826,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36280,11 +36883,11 @@ export namespace compute_beta { move( params: Params$Resource$Globaladdresses$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Globaladdresses$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Globaladdresses$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -36313,7 +36916,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36368,11 +36974,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Globaladdresses$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Globaladdresses$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Globaladdresses$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -36401,7 +37007,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36456,11 +37065,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Globaladdresses$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Globaladdresses$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Globaladdresses$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -36495,8 +37104,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36680,11 +37289,11 @@ export namespace compute_beta { delete( params: Params$Resource$Globalforwardingrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalforwardingrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalforwardingrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -36713,7 +37322,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36768,11 +37380,11 @@ export namespace compute_beta { get( params: Params$Resource$Globalforwardingrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalforwardingrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalforwardingrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36801,7 +37413,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36856,11 +37471,11 @@ export namespace compute_beta { insert( params: Params$Resource$Globalforwardingrules$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globalforwardingrules$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globalforwardingrules$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -36889,7 +37504,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36944,11 +37562,11 @@ export namespace compute_beta { list( params: Params$Resource$Globalforwardingrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalforwardingrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalforwardingrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36979,8 +37597,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37035,11 +37653,11 @@ export namespace compute_beta { patch( params: Params$Resource$Globalforwardingrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Globalforwardingrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Globalforwardingrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -37068,7 +37686,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37123,11 +37744,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Globalforwardingrules$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Globalforwardingrules$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Globalforwardingrules$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -37156,7 +37777,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37211,11 +37835,11 @@ export namespace compute_beta { setTarget( params: Params$Resource$Globalforwardingrules$Settarget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params?: Params$Resource$Globalforwardingrules$Settarget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params: Params$Resource$Globalforwardingrules$Settarget, options: StreamMethodOptions | BodyResponseCallback, @@ -37244,7 +37868,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Settarget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37299,11 +37926,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Globalforwardingrules$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Globalforwardingrules$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Globalforwardingrules$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -37338,8 +37965,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37543,11 +38170,11 @@ export namespace compute_beta { attachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params?: Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -37578,7 +38205,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37634,11 +38264,11 @@ export namespace compute_beta { delete( params: Params$Resource$Globalnetworkendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalnetworkendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalnetworkendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -37667,7 +38297,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37722,11 +38355,11 @@ export namespace compute_beta { detachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params?: Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -37757,7 +38390,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37813,11 +38449,11 @@ export namespace compute_beta { get( params: Params$Resource$Globalnetworkendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalnetworkendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalnetworkendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37850,8 +38486,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37906,11 +38542,11 @@ export namespace compute_beta { insert( params: Params$Resource$Globalnetworkendpointgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globalnetworkendpointgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globalnetworkendpointgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -37939,7 +38575,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37994,11 +38633,11 @@ export namespace compute_beta { list( params: Params$Resource$Globalnetworkendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalnetworkendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalnetworkendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38031,8 +38670,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38087,11 +38726,13 @@ export namespace compute_beta { listNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNetworkEndpoints( params?: Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -38126,8 +38767,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38333,11 +38976,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Globaloperations$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Globaloperations$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Globaloperations$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -38372,8 +39015,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38427,11 +39070,11 @@ export namespace compute_beta { delete( params: Params$Resource$Globaloperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globaloperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globaloperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -38458,7 +39101,10 @@ export namespace compute_beta { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38513,11 +39159,11 @@ export namespace compute_beta { get( params: Params$Resource$Globaloperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globaloperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globaloperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38546,7 +39192,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38601,11 +39250,11 @@ export namespace compute_beta { list( params: Params$Resource$Globaloperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globaloperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globaloperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38634,7 +39283,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38688,11 +39340,11 @@ export namespace compute_beta { wait( params: Params$Resource$Globaloperations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Globaloperations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Globaloperations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -38721,7 +39373,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38879,11 +39534,11 @@ export namespace compute_beta { delete( params: Params$Resource$Globalorganizationoperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalorganizationoperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalorganizationoperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -38910,7 +39565,10 @@ export namespace compute_beta { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalorganizationoperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38964,11 +39622,11 @@ export namespace compute_beta { get( params: Params$Resource$Globalorganizationoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalorganizationoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalorganizationoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38997,7 +39655,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalorganizationoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39051,11 +39712,11 @@ export namespace compute_beta { list( params: Params$Resource$Globalorganizationoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalorganizationoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalorganizationoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -39084,7 +39745,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalorganizationoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39195,11 +39859,11 @@ export namespace compute_beta { delete( params: Params$Resource$Globalpublicdelegatedprefixes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalpublicdelegatedprefixes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalpublicdelegatedprefixes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -39228,7 +39892,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39283,11 +39950,11 @@ export namespace compute_beta { get( params: Params$Resource$Globalpublicdelegatedprefixes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalpublicdelegatedprefixes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalpublicdelegatedprefixes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39320,8 +39987,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39376,11 +40043,11 @@ export namespace compute_beta { insert( params: Params$Resource$Globalpublicdelegatedprefixes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globalpublicdelegatedprefixes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globalpublicdelegatedprefixes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -39409,7 +40076,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39464,11 +40134,11 @@ export namespace compute_beta { list( params: Params$Resource$Globalpublicdelegatedprefixes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalpublicdelegatedprefixes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalpublicdelegatedprefixes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -39503,8 +40173,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39559,11 +40229,11 @@ export namespace compute_beta { patch( params: Params$Resource$Globalpublicdelegatedprefixes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Globalpublicdelegatedprefixes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Globalpublicdelegatedprefixes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -39592,7 +40262,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39744,11 +40417,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Healthchecks$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Healthchecks$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Healthchecks$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -39783,8 +40456,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39839,11 +40512,11 @@ export namespace compute_beta { delete( params: Params$Resource$Healthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Healthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Healthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -39872,7 +40545,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39927,11 +40603,11 @@ export namespace compute_beta { get( params: Params$Resource$Healthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Healthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Healthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39960,7 +40636,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40014,11 +40693,11 @@ export namespace compute_beta { insert( params: Params$Resource$Healthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Healthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Healthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -40047,7 +40726,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40101,11 +40783,11 @@ export namespace compute_beta { list( params: Params$Resource$Healthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Healthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Healthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40134,7 +40816,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40188,11 +40873,11 @@ export namespace compute_beta { patch( params: Params$Resource$Healthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Healthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Healthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -40221,7 +40906,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40276,11 +40964,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Healthchecks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Healthchecks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Healthchecks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -40315,8 +41003,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40371,11 +41059,11 @@ export namespace compute_beta { update( params: Params$Resource$Healthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Healthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Healthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -40404,7 +41092,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40626,11 +41317,11 @@ export namespace compute_beta { delete( params: Params$Resource$Httphealthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Httphealthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Httphealthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -40659,7 +41350,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40714,11 +41408,11 @@ export namespace compute_beta { get( params: Params$Resource$Httphealthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Httphealthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Httphealthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40747,7 +41441,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40802,11 +41499,11 @@ export namespace compute_beta { insert( params: Params$Resource$Httphealthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Httphealthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Httphealthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -40835,7 +41532,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40890,11 +41590,11 @@ export namespace compute_beta { list( params: Params$Resource$Httphealthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Httphealthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Httphealthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40925,8 +41625,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40981,11 +41681,11 @@ export namespace compute_beta { patch( params: Params$Resource$Httphealthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Httphealthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Httphealthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -41014,7 +41714,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41069,11 +41772,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Httphealthchecks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Httphealthchecks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Httphealthchecks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -41108,8 +41811,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41164,11 +41867,11 @@ export namespace compute_beta { update( params: Params$Resource$Httphealthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Httphealthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Httphealthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -41197,7 +41900,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41385,11 +42091,11 @@ export namespace compute_beta { delete( params: Params$Resource$Httpshealthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Httpshealthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Httpshealthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -41418,7 +42124,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41473,11 +42182,11 @@ export namespace compute_beta { get( params: Params$Resource$Httpshealthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Httpshealthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Httpshealthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -41506,7 +42215,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41561,11 +42273,11 @@ export namespace compute_beta { insert( params: Params$Resource$Httpshealthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Httpshealthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Httpshealthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -41594,7 +42306,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41649,11 +42364,11 @@ export namespace compute_beta { list( params: Params$Resource$Httpshealthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Httpshealthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Httpshealthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41686,8 +42401,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41742,11 +42457,11 @@ export namespace compute_beta { patch( params: Params$Resource$Httpshealthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Httpshealthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Httpshealthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -41775,7 +42490,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41830,11 +42548,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Httpshealthchecks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Httpshealthchecks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Httpshealthchecks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -41869,8 +42587,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41925,11 +42643,11 @@ export namespace compute_beta { update( params: Params$Resource$Httpshealthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Httpshealthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Httpshealthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -41958,7 +42676,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42146,11 +42867,11 @@ export namespace compute_beta { get( params: Params$Resource$Imagefamilyviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Imagefamilyviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Imagefamilyviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -42179,7 +42900,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Imagefamilyviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42257,11 +42981,11 @@ export namespace compute_beta { delete( params: Params$Resource$Images$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Images$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Images$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -42290,7 +43014,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42343,11 +43070,11 @@ export namespace compute_beta { deprecate( params: Params$Resource$Images$Deprecate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deprecate( params?: Params$Resource$Images$Deprecate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deprecate( params: Params$Resource$Images$Deprecate, options: StreamMethodOptions | BodyResponseCallback, @@ -42376,7 +43103,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Deprecate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42430,11 +43160,11 @@ export namespace compute_beta { get( params: Params$Resource$Images$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Images$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Images$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -42463,7 +43193,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42516,11 +43249,11 @@ export namespace compute_beta { getFromFamily( params: Params$Resource$Images$Getfromfamily, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFromFamily( params?: Params$Resource$Images$Getfromfamily, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getFromFamily( params: Params$Resource$Images$Getfromfamily, options: StreamMethodOptions | BodyResponseCallback, @@ -42549,7 +43282,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Getfromfamily; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42604,11 +43340,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Images$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Images$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Images$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -42637,7 +43373,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42692,11 +43431,11 @@ export namespace compute_beta { insert( params: Params$Resource$Images$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Images$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Images$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -42725,7 +43464,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42778,11 +43520,11 @@ export namespace compute_beta { list( params: Params$Resource$Images$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Images$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Images$List, options: StreamMethodOptions | BodyResponseCallback, @@ -42811,7 +43553,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42864,11 +43609,11 @@ export namespace compute_beta { patch( params: Params$Resource$Images$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Images$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Images$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -42897,7 +43642,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42950,11 +43698,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Images$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Images$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Images$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -42983,7 +43731,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43038,11 +43789,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Images$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Images$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Images$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -43071,7 +43822,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43125,11 +43879,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Images$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Images$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Images$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -43164,8 +43918,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43412,11 +44166,11 @@ export namespace compute_beta { cancel( params: Params$Resource$Instancegroupmanagerresizerequests$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Instancegroupmanagerresizerequests$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Instancegroupmanagerresizerequests$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -43445,7 +44199,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43511,11 +44268,11 @@ export namespace compute_beta { delete( params: Params$Resource$Instancegroupmanagerresizerequests$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancegroupmanagerresizerequests$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancegroupmanagerresizerequests$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -43544,7 +44301,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43610,11 +44370,13 @@ export namespace compute_beta { get( params: Params$Resource$Instancegroupmanagerresizerequests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancegroupmanagerresizerequests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Instancegroupmanagerresizerequests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -43649,8 +44411,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43717,11 +44481,11 @@ export namespace compute_beta { insert( params: Params$Resource$Instancegroupmanagerresizerequests$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancegroupmanagerresizerequests$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancegroupmanagerresizerequests$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -43750,7 +44514,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43806,11 +44573,13 @@ export namespace compute_beta { list( params: Params$Resource$Instancegroupmanagerresizerequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancegroupmanagerresizerequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Instancegroupmanagerresizerequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -43845,8 +44614,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44035,11 +44806,11 @@ export namespace compute_beta { abandonInstances( params: Params$Resource$Instancegroupmanagers$Abandoninstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params?: Params$Resource$Instancegroupmanagers$Abandoninstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params: Params$Resource$Instancegroupmanagers$Abandoninstances, options: StreamMethodOptions | BodyResponseCallback, @@ -44068,7 +44839,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Abandoninstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44123,11 +44897,13 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Instancegroupmanagers$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instancegroupmanagers$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Instancegroupmanagers$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -44162,8 +44938,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44220,11 +44998,11 @@ export namespace compute_beta { applyUpdatesToInstances( params: Params$Resource$Instancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params?: Params$Resource$Instancegroupmanagers$Applyupdatestoinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params: Params$Resource$Instancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -44255,7 +45033,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Applyupdatestoinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44311,11 +45092,11 @@ export namespace compute_beta { createInstances( params: Params$Resource$Instancegroupmanagers$Createinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params?: Params$Resource$Instancegroupmanagers$Createinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params: Params$Resource$Instancegroupmanagers$Createinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -44344,7 +45125,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Createinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44399,11 +45183,11 @@ export namespace compute_beta { delete( params: Params$Resource$Instancegroupmanagers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancegroupmanagers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancegroupmanagers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -44432,7 +45216,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44487,11 +45274,11 @@ export namespace compute_beta { deleteInstances( params: Params$Resource$Instancegroupmanagers$Deleteinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params?: Params$Resource$Instancegroupmanagers$Deleteinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params: Params$Resource$Instancegroupmanagers$Deleteinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -44520,7 +45307,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Deleteinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44575,11 +45365,11 @@ export namespace compute_beta { deletePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -44610,7 +45400,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44666,11 +45459,11 @@ export namespace compute_beta { get( params: Params$Resource$Instancegroupmanagers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancegroupmanagers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancegroupmanagers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -44703,8 +45496,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44759,11 +45552,11 @@ export namespace compute_beta { insert( params: Params$Resource$Instancegroupmanagers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancegroupmanagers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancegroupmanagers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -44792,7 +45585,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44847,11 +45643,11 @@ export namespace compute_beta { list( params: Params$Resource$Instancegroupmanagers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancegroupmanagers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instancegroupmanagers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -44884,8 +45680,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44940,11 +45736,13 @@ export namespace compute_beta { listErrors( params: Params$Resource$Instancegroupmanagers$Listerrors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listErrors( params?: Params$Resource$Instancegroupmanagers$Listerrors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listErrors( params: Params$Resource$Instancegroupmanagers$Listerrors, options: StreamMethodOptions | BodyResponseCallback, @@ -44979,8 +45777,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Listerrors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45037,11 +45837,13 @@ export namespace compute_beta { listManagedInstances( params: Params$Resource$Instancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listManagedInstances( params?: Params$Resource$Instancegroupmanagers$Listmanagedinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listManagedInstances( params: Params$Resource$Instancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -45076,8 +45878,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Listmanagedinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45135,11 +45939,13 @@ export namespace compute_beta { listPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Listperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -45174,8 +45980,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Listperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45233,11 +46041,11 @@ export namespace compute_beta { patch( params: Params$Resource$Instancegroupmanagers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Instancegroupmanagers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Instancegroupmanagers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -45266,7 +46074,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45321,11 +46132,11 @@ export namespace compute_beta { patchPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -45356,7 +46167,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45412,11 +46226,11 @@ export namespace compute_beta { recreateInstances( params: Params$Resource$Instancegroupmanagers$Recreateinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params?: Params$Resource$Instancegroupmanagers$Recreateinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params: Params$Resource$Instancegroupmanagers$Recreateinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -45445,7 +46259,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Recreateinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45500,11 +46317,11 @@ export namespace compute_beta { resize( params: Params$Resource$Instancegroupmanagers$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Instancegroupmanagers$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Instancegroupmanagers$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -45533,7 +46350,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45588,11 +46408,11 @@ export namespace compute_beta { resizeAdvanced( params: Params$Resource$Instancegroupmanagers$Resizeadvanced, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resizeAdvanced( params?: Params$Resource$Instancegroupmanagers$Resizeadvanced, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resizeAdvanced( params: Params$Resource$Instancegroupmanagers$Resizeadvanced, options: StreamMethodOptions | BodyResponseCallback, @@ -45621,7 +46441,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Resizeadvanced; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45676,11 +46499,11 @@ export namespace compute_beta { resumeInstances( params: Params$Resource$Instancegroupmanagers$Resumeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params?: Params$Resource$Instancegroupmanagers$Resumeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params: Params$Resource$Instancegroupmanagers$Resumeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -45709,7 +46532,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Resumeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45764,11 +46590,11 @@ export namespace compute_beta { setAutoHealingPolicies( params: Params$Resource$Instancegroupmanagers$Setautohealingpolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAutoHealingPolicies( params?: Params$Resource$Instancegroupmanagers$Setautohealingpolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAutoHealingPolicies( params: Params$Resource$Instancegroupmanagers$Setautohealingpolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -45799,7 +46625,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Setautohealingpolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45855,11 +46684,11 @@ export namespace compute_beta { setInstanceTemplate( params: Params$Resource$Instancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params?: Params$Resource$Instancegroupmanagers$Setinstancetemplate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params: Params$Resource$Instancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions | BodyResponseCallback, @@ -45888,7 +46717,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Setinstancetemplate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45944,11 +46776,11 @@ export namespace compute_beta { setTargetPools( params: Params$Resource$Instancegroupmanagers$Settargetpools, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params?: Params$Resource$Instancegroupmanagers$Settargetpools, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params: Params$Resource$Instancegroupmanagers$Settargetpools, options: StreamMethodOptions | BodyResponseCallback, @@ -45977,7 +46809,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Settargetpools; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46032,11 +46867,11 @@ export namespace compute_beta { startInstances( params: Params$Resource$Instancegroupmanagers$Startinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params?: Params$Resource$Instancegroupmanagers$Startinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params: Params$Resource$Instancegroupmanagers$Startinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -46065,7 +46900,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Startinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46120,11 +46958,11 @@ export namespace compute_beta { stopInstances( params: Params$Resource$Instancegroupmanagers$Stopinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params?: Params$Resource$Instancegroupmanagers$Stopinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params: Params$Resource$Instancegroupmanagers$Stopinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -46153,7 +46991,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Stopinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46208,11 +47049,11 @@ export namespace compute_beta { suspendInstances( params: Params$Resource$Instancegroupmanagers$Suspendinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params?: Params$Resource$Instancegroupmanagers$Suspendinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params: Params$Resource$Instancegroupmanagers$Suspendinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -46241,7 +47082,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Suspendinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46296,11 +47140,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Instancegroupmanagers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instancegroupmanagers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instancegroupmanagers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -46335,8 +47179,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46391,11 +47235,11 @@ export namespace compute_beta { update( params: Params$Resource$Instancegroupmanagers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Instancegroupmanagers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Instancegroupmanagers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -46424,7 +47268,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46479,11 +47326,11 @@ export namespace compute_beta { updatePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -46514,7 +47361,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47270,11 +48120,11 @@ export namespace compute_beta { addInstances( params: Params$Resource$Instancegroups$Addinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addInstances( params?: Params$Resource$Instancegroups$Addinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addInstances( params: Params$Resource$Instancegroups$Addinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -47303,7 +48153,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Addinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47358,11 +48211,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Instancegroups$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instancegroups$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instancegroups$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -47397,8 +48250,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47453,11 +48306,11 @@ export namespace compute_beta { delete( params: Params$Resource$Instancegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -47486,7 +48339,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47541,11 +48397,11 @@ export namespace compute_beta { get( params: Params$Resource$Instancegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -47574,7 +48430,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47629,11 +48488,11 @@ export namespace compute_beta { insert( params: Params$Resource$Instancegroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancegroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancegroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -47662,7 +48521,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47717,11 +48579,11 @@ export namespace compute_beta { list( params: Params$Resource$Instancegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instancegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -47752,8 +48614,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47808,11 +48670,11 @@ export namespace compute_beta { listInstances( params: Params$Resource$Instancegroups$Listinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listInstances( params?: Params$Resource$Instancegroups$Listinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listInstances( params: Params$Resource$Instancegroups$Listinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -47847,8 +48709,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Listinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47903,11 +48765,11 @@ export namespace compute_beta { removeInstances( params: Params$Resource$Instancegroups$Removeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeInstances( params?: Params$Resource$Instancegroups$Removeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeInstances( params: Params$Resource$Instancegroups$Removeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -47936,7 +48798,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Removeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47991,11 +48856,11 @@ export namespace compute_beta { setNamedPorts( params: Params$Resource$Instancegroups$Setnamedports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params?: Params$Resource$Instancegroups$Setnamedports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params: Params$Resource$Instancegroups$Setnamedports, options: StreamMethodOptions | BodyResponseCallback, @@ -48024,7 +48889,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Setnamedports; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48079,11 +48947,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Instancegroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instancegroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instancegroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -48118,8 +48986,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48434,11 +49302,11 @@ export namespace compute_beta { addAccessConfig( params: Params$Resource$Instances$Addaccessconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAccessConfig( params?: Params$Resource$Instances$Addaccessconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAccessConfig( params: Params$Resource$Instances$Addaccessconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -48467,7 +49335,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addaccessconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48522,11 +49393,11 @@ export namespace compute_beta { addNetworkInterface( params: Params$Resource$Instances$Addnetworkinterface, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addNetworkInterface( params?: Params$Resource$Instances$Addnetworkinterface, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addNetworkInterface( params: Params$Resource$Instances$Addnetworkinterface, options: StreamMethodOptions | BodyResponseCallback, @@ -48555,7 +49426,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addnetworkinterface; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48610,11 +49484,11 @@ export namespace compute_beta { addResourcePolicies( params: Params$Resource$Instances$Addresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params?: Params$Resource$Instances$Addresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params: Params$Resource$Instances$Addresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -48643,7 +49517,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48698,11 +49575,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Instances$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instances$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instances$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -48737,8 +49614,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48792,11 +49669,11 @@ export namespace compute_beta { attachDisk( params: Params$Resource$Instances$Attachdisk, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachDisk( params?: Params$Resource$Instances$Attachdisk, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachDisk( params: Params$Resource$Instances$Attachdisk, options: StreamMethodOptions | BodyResponseCallback, @@ -48825,7 +49702,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Attachdisk; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48880,11 +49760,11 @@ export namespace compute_beta { bulkInsert( params: Params$Resource$Instances$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Instances$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Instances$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -48913,7 +49793,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48968,11 +49851,11 @@ export namespace compute_beta { delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -49001,7 +49884,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49055,11 +49941,11 @@ export namespace compute_beta { deleteAccessConfig( params: Params$Resource$Instances$Deleteaccessconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessConfig( params?: Params$Resource$Instances$Deleteaccessconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessConfig( params: Params$Resource$Instances$Deleteaccessconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -49088,7 +49974,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Deleteaccessconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49149,11 +50038,11 @@ export namespace compute_beta { deleteNetworkInterface( params: Params$Resource$Instances$Deletenetworkinterface, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteNetworkInterface( params?: Params$Resource$Instances$Deletenetworkinterface, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteNetworkInterface( params: Params$Resource$Instances$Deletenetworkinterface, options: StreamMethodOptions | BodyResponseCallback, @@ -49184,7 +50073,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Deletenetworkinterface; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49239,11 +50131,11 @@ export namespace compute_beta { detachDisk( params: Params$Resource$Instances$Detachdisk, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachDisk( params?: Params$Resource$Instances$Detachdisk, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachDisk( params: Params$Resource$Instances$Detachdisk, options: StreamMethodOptions | BodyResponseCallback, @@ -49272,7 +50164,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Detachdisk; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49327,11 +50222,11 @@ export namespace compute_beta { get( params: Params$Resource$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -49360,7 +50255,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49414,11 +50312,13 @@ export namespace compute_beta { getEffectiveFirewalls( params: Params$Resource$Instances$Geteffectivefirewalls, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveFirewalls( params?: Params$Resource$Instances$Geteffectivefirewalls, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEffectiveFirewalls( params: Params$Resource$Instances$Geteffectivefirewalls, options: StreamMethodOptions | BodyResponseCallback, @@ -49453,8 +50353,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Geteffectivefirewalls; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49511,11 +50413,11 @@ export namespace compute_beta { getGuestAttributes( params: Params$Resource$Instances$Getguestattributes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGuestAttributes( params?: Params$Resource$Instances$Getguestattributes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getGuestAttributes( params: Params$Resource$Instances$Getguestattributes, options: StreamMethodOptions | BodyResponseCallback, @@ -49546,7 +50448,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getguestattributes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49601,11 +50506,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Instances$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Instances$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -49634,7 +50539,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49689,11 +50597,11 @@ export namespace compute_beta { getPartnerMetadata( params: Params$Resource$Instances$Getpartnermetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPartnerMetadata( params?: Params$Resource$Instances$Getpartnermetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPartnerMetadata( params: Params$Resource$Instances$Getpartnermetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -49724,7 +50632,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getpartnermetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49779,11 +50690,11 @@ export namespace compute_beta { getScreenshot( params: Params$Resource$Instances$Getscreenshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getScreenshot( params?: Params$Resource$Instances$Getscreenshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getScreenshot( params: Params$Resource$Instances$Getscreenshot, options: StreamMethodOptions | BodyResponseCallback, @@ -49812,7 +50723,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getscreenshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49867,11 +50781,11 @@ export namespace compute_beta { getSerialPortOutput( params: Params$Resource$Instances$Getserialportoutput, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSerialPortOutput( params?: Params$Resource$Instances$Getserialportoutput, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSerialPortOutput( params: Params$Resource$Instances$Getserialportoutput, options: StreamMethodOptions | BodyResponseCallback, @@ -49902,7 +50816,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getserialportoutput; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49957,11 +50874,11 @@ export namespace compute_beta { getShieldedInstanceIdentity( params: Params$Resource$Instances$Getshieldedinstanceidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getShieldedInstanceIdentity( params?: Params$Resource$Instances$Getshieldedinstanceidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getShieldedInstanceIdentity( params: Params$Resource$Instances$Getshieldedinstanceidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -49996,8 +50913,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getshieldedinstanceidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50052,11 +50969,11 @@ export namespace compute_beta { getShieldedVmIdentity( params: Params$Resource$Instances$Getshieldedvmidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getShieldedVmIdentity( params?: Params$Resource$Instances$Getshieldedvmidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getShieldedVmIdentity( params: Params$Resource$Instances$Getshieldedvmidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -50089,8 +51006,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getshieldedvmidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50145,11 +51062,11 @@ export namespace compute_beta { insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instances$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -50178,7 +51095,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50232,11 +51152,11 @@ export namespace compute_beta { list( params: Params$Resource$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -50265,7 +51185,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50319,11 +51242,11 @@ export namespace compute_beta { listReferrers( params: Params$Resource$Instances$Listreferrers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listReferrers( params?: Params$Resource$Instances$Listreferrers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listReferrers( params: Params$Resource$Instances$Listreferrers, options: StreamMethodOptions | BodyResponseCallback, @@ -50358,8 +51281,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Listreferrers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50414,11 +51337,11 @@ export namespace compute_beta { patchPartnerMetadata( params: Params$Resource$Instances$Patchpartnermetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPartnerMetadata( params?: Params$Resource$Instances$Patchpartnermetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPartnerMetadata( params: Params$Resource$Instances$Patchpartnermetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -50449,7 +51372,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Patchpartnermetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50504,11 +51430,11 @@ export namespace compute_beta { performMaintenance( params: Params$Resource$Instances$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Instances$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Instances$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -50537,7 +51463,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50592,11 +51521,11 @@ export namespace compute_beta { removeResourcePolicies( params: Params$Resource$Instances$Removeresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params?: Params$Resource$Instances$Removeresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params: Params$Resource$Instances$Removeresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -50627,7 +51556,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Removeresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50682,11 +51614,11 @@ export namespace compute_beta { reportHostAsFaulty( params: Params$Resource$Instances$Reporthostasfaulty, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportHostAsFaulty( params?: Params$Resource$Instances$Reporthostasfaulty, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportHostAsFaulty( params: Params$Resource$Instances$Reporthostasfaulty, options: StreamMethodOptions | BodyResponseCallback, @@ -50715,7 +51647,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Reporthostasfaulty; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50770,11 +51705,11 @@ export namespace compute_beta { reset( params: Params$Resource$Instances$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Instances$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Instances$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -50803,7 +51738,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50857,11 +51795,11 @@ export namespace compute_beta { resume( params: Params$Resource$Instances$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Instances$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Instances$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -50890,7 +51828,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50944,11 +51885,11 @@ export namespace compute_beta { sendDiagnosticInterrupt( params: Params$Resource$Instances$Senddiagnosticinterrupt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendDiagnosticInterrupt( params?: Params$Resource$Instances$Senddiagnosticinterrupt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendDiagnosticInterrupt( params: Params$Resource$Instances$Senddiagnosticinterrupt, options: StreamMethodOptions | BodyResponseCallback, @@ -50975,7 +51916,10 @@ export namespace compute_beta { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Senddiagnosticinterrupt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51030,11 +51974,11 @@ export namespace compute_beta { setDeletionProtection( params: Params$Resource$Instances$Setdeletionprotection, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDeletionProtection( params?: Params$Resource$Instances$Setdeletionprotection, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDeletionProtection( params: Params$Resource$Instances$Setdeletionprotection, options: StreamMethodOptions | BodyResponseCallback, @@ -51065,7 +52009,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setdeletionprotection; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51120,11 +52067,11 @@ export namespace compute_beta { setDiskAutoDelete( params: Params$Resource$Instances$Setdiskautodelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDiskAutoDelete( params?: Params$Resource$Instances$Setdiskautodelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDiskAutoDelete( params: Params$Resource$Instances$Setdiskautodelete, options: StreamMethodOptions | BodyResponseCallback, @@ -51153,7 +52100,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setdiskautodelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51214,11 +52164,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Instances$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Instances$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -51247,7 +52197,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51302,11 +52255,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Instances$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Instances$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Instances$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -51335,7 +52288,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51390,11 +52346,11 @@ export namespace compute_beta { setMachineResources( params: Params$Resource$Instances$Setmachineresources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMachineResources( params?: Params$Resource$Instances$Setmachineresources, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMachineResources( params: Params$Resource$Instances$Setmachineresources, options: StreamMethodOptions | BodyResponseCallback, @@ -51423,7 +52379,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmachineresources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51478,11 +52437,11 @@ export namespace compute_beta { setMachineType( params: Params$Resource$Instances$Setmachinetype, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMachineType( params?: Params$Resource$Instances$Setmachinetype, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMachineType( params: Params$Resource$Instances$Setmachinetype, options: StreamMethodOptions | BodyResponseCallback, @@ -51511,7 +52470,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmachinetype; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51566,11 +52528,11 @@ export namespace compute_beta { setMetadata( params: Params$Resource$Instances$Setmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMetadata( params?: Params$Resource$Instances$Setmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMetadata( params: Params$Resource$Instances$Setmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -51599,7 +52561,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51654,11 +52619,11 @@ export namespace compute_beta { setMinCpuPlatform( params: Params$Resource$Instances$Setmincpuplatform, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMinCpuPlatform( params?: Params$Resource$Instances$Setmincpuplatform, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMinCpuPlatform( params: Params$Resource$Instances$Setmincpuplatform, options: StreamMethodOptions | BodyResponseCallback, @@ -51687,7 +52652,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmincpuplatform; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51742,11 +52710,11 @@ export namespace compute_beta { setName( params: Params$Resource$Instances$Setname, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setName( params?: Params$Resource$Instances$Setname, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setName( params: Params$Resource$Instances$Setname, options: StreamMethodOptions | BodyResponseCallback, @@ -51775,7 +52743,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setname; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51830,11 +52801,11 @@ export namespace compute_beta { setScheduling( params: Params$Resource$Instances$Setscheduling, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setScheduling( params?: Params$Resource$Instances$Setscheduling, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setScheduling( params: Params$Resource$Instances$Setscheduling, options: StreamMethodOptions | BodyResponseCallback, @@ -51863,7 +52834,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setscheduling; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51918,11 +52892,11 @@ export namespace compute_beta { setSecurityPolicy( params: Params$Resource$Instances$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Instances$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Instances$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -51951,7 +52925,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52006,11 +52983,11 @@ export namespace compute_beta { setServiceAccount( params: Params$Resource$Instances$Setserviceaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setServiceAccount( params?: Params$Resource$Instances$Setserviceaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setServiceAccount( params: Params$Resource$Instances$Setserviceaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -52039,7 +53016,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setserviceaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52094,11 +53074,11 @@ export namespace compute_beta { setShieldedInstanceIntegrityPolicy( params: Params$Resource$Instances$Setshieldedinstanceintegritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setShieldedInstanceIntegrityPolicy( params?: Params$Resource$Instances$Setshieldedinstanceintegritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setShieldedInstanceIntegrityPolicy( params: Params$Resource$Instances$Setshieldedinstanceintegritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -52129,7 +53109,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setshieldedinstanceintegritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52185,11 +53168,11 @@ export namespace compute_beta { setShieldedVmIntegrityPolicy( params: Params$Resource$Instances$Setshieldedvmintegritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setShieldedVmIntegrityPolicy( params?: Params$Resource$Instances$Setshieldedvmintegritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setShieldedVmIntegrityPolicy( params: Params$Resource$Instances$Setshieldedvmintegritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -52220,7 +53203,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setshieldedvmintegritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52275,11 +53261,11 @@ export namespace compute_beta { setTags( params: Params$Resource$Instances$Settags, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTags( params?: Params$Resource$Instances$Settags, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTags( params: Params$Resource$Instances$Settags, options: StreamMethodOptions | BodyResponseCallback, @@ -52308,7 +53294,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Settags; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52363,11 +53352,11 @@ export namespace compute_beta { simulateMaintenanceEvent( params: Params$Resource$Instances$Simulatemaintenanceevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params?: Params$Resource$Instances$Simulatemaintenanceevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params: Params$Resource$Instances$Simulatemaintenanceevent, options: StreamMethodOptions | BodyResponseCallback, @@ -52398,7 +53387,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Simulatemaintenanceevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52453,11 +53445,11 @@ export namespace compute_beta { start( params: Params$Resource$Instances$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Instances$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Instances$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -52486,7 +53478,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52540,11 +53535,11 @@ export namespace compute_beta { startWithEncryptionKey( params: Params$Resource$Instances$Startwithencryptionkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startWithEncryptionKey( params?: Params$Resource$Instances$Startwithencryptionkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startWithEncryptionKey( params: Params$Resource$Instances$Startwithencryptionkey, options: StreamMethodOptions | BodyResponseCallback, @@ -52575,7 +53570,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Startwithencryptionkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52630,11 +53628,11 @@ export namespace compute_beta { stop( params: Params$Resource$Instances$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Instances$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Instances$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -52663,7 +53661,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52717,11 +53718,11 @@ export namespace compute_beta { suspend( params: Params$Resource$Instances$Suspend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params?: Params$Resource$Instances$Suspend, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params: Params$Resource$Instances$Suspend, options: StreamMethodOptions | BodyResponseCallback, @@ -52750,7 +53751,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Suspend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52805,11 +53809,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Instances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -52844,8 +53848,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52900,11 +53904,11 @@ export namespace compute_beta { update( params: Params$Resource$Instances$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Instances$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Instances$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -52933,7 +53937,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52987,11 +53994,11 @@ export namespace compute_beta { updateAccessConfig( params: Params$Resource$Instances$Updateaccessconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessConfig( params?: Params$Resource$Instances$Updateaccessconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessConfig( params: Params$Resource$Instances$Updateaccessconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -53020,7 +54027,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updateaccessconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53075,11 +54085,11 @@ export namespace compute_beta { updateDisplayDevice( params: Params$Resource$Instances$Updatedisplaydevice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDisplayDevice( params?: Params$Resource$Instances$Updatedisplaydevice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateDisplayDevice( params: Params$Resource$Instances$Updatedisplaydevice, options: StreamMethodOptions | BodyResponseCallback, @@ -53108,7 +54118,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updatedisplaydevice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53163,11 +54176,11 @@ export namespace compute_beta { updateNetworkInterface( params: Params$Resource$Instances$Updatenetworkinterface, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateNetworkInterface( params?: Params$Resource$Instances$Updatenetworkinterface, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateNetworkInterface( params: Params$Resource$Instances$Updatenetworkinterface, options: StreamMethodOptions | BodyResponseCallback, @@ -53198,7 +54211,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updatenetworkinterface; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53253,11 +54269,11 @@ export namespace compute_beta { updateShieldedInstanceConfig( params: Params$Resource$Instances$Updateshieldedinstanceconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedInstanceConfig( params?: Params$Resource$Instances$Updateshieldedinstanceconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedInstanceConfig( params: Params$Resource$Instances$Updateshieldedinstanceconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -53288,7 +54304,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updateshieldedinstanceconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53343,11 +54362,11 @@ export namespace compute_beta { updateShieldedVmConfig( params: Params$Resource$Instances$Updateshieldedvmconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedVmConfig( params?: Params$Resource$Instances$Updateshieldedvmconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedVmConfig( params: Params$Resource$Instances$Updateshieldedvmconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -53378,7 +54397,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updateshieldedvmconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54755,11 +55777,11 @@ export namespace compute_beta { get( params: Params$Resource$Instancesettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancesettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancesettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -54788,7 +55810,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancesettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54843,11 +55868,11 @@ export namespace compute_beta { patch( params: Params$Resource$Instancesettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Instancesettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Instancesettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -54876,7 +55901,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancesettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54974,11 +56002,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Instancetemplates$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instancetemplates$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instancetemplates$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -55013,8 +56041,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55071,11 +56099,11 @@ export namespace compute_beta { delete( params: Params$Resource$Instancetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -55104,7 +56132,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55159,11 +56190,11 @@ export namespace compute_beta { get( params: Params$Resource$Instancetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -55192,7 +56223,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55247,11 +56281,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Instancetemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Instancetemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Instancetemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -55280,7 +56314,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55335,11 +56372,11 @@ export namespace compute_beta { insert( params: Params$Resource$Instancetemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancetemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancetemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -55368,7 +56405,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55423,11 +56463,11 @@ export namespace compute_beta { list( params: Params$Resource$Instancetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instancetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -55460,8 +56500,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55516,11 +56556,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Instancetemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Instancetemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Instancetemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -55549,7 +56589,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55604,11 +56647,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Instancetemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instancetemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instancetemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -55643,8 +56686,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55866,11 +56909,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Instantsnapshots$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instantsnapshots$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instantsnapshots$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -55905,8 +56948,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55963,11 +57006,11 @@ export namespace compute_beta { delete( params: Params$Resource$Instantsnapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instantsnapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instantsnapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -55996,7 +57039,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56051,11 +57097,11 @@ export namespace compute_beta { get( params: Params$Resource$Instantsnapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instantsnapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instantsnapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -56084,7 +57130,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56139,11 +57188,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Instantsnapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Instantsnapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Instantsnapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -56172,7 +57221,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56227,11 +57279,11 @@ export namespace compute_beta { insert( params: Params$Resource$Instantsnapshots$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instantsnapshots$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instantsnapshots$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -56260,7 +57312,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56315,11 +57370,11 @@ export namespace compute_beta { list( params: Params$Resource$Instantsnapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instantsnapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instantsnapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -56350,8 +57405,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56406,11 +57461,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Instantsnapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Instantsnapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Instantsnapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -56439,7 +57494,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56494,11 +57552,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Instantsnapshots$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Instantsnapshots$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Instantsnapshots$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -56527,7 +57585,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56582,11 +57643,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Instantsnapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instantsnapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instantsnapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -56621,8 +57682,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56888,11 +57949,11 @@ export namespace compute_beta { delete( params: Params$Resource$Interconnectattachmentgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnectattachmentgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnectattachmentgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -56921,7 +57982,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56976,11 +58040,11 @@ export namespace compute_beta { get( params: Params$Resource$Interconnectattachmentgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectattachmentgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectattachmentgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -57015,8 +58079,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57071,11 +58135,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Interconnectattachmentgroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -57104,7 +58168,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57160,11 +58227,13 @@ export namespace compute_beta { getOperationalStatus( params: Params$Resource$Interconnectattachmentgroups$Getoperationalstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOperationalStatus( params?: Params$Resource$Interconnectattachmentgroups$Getoperationalstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getOperationalStatus( params: Params$Resource$Interconnectattachmentgroups$Getoperationalstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -57199,8 +58268,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Getoperationalstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57258,11 +58329,11 @@ export namespace compute_beta { insert( params: Params$Resource$Interconnectattachmentgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnectattachmentgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnectattachmentgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -57291,7 +58362,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57346,11 +58420,13 @@ export namespace compute_beta { list( params: Params$Resource$Interconnectattachmentgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectattachmentgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Interconnectattachmentgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -57385,8 +58461,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57443,11 +58521,11 @@ export namespace compute_beta { patch( params: Params$Resource$Interconnectattachmentgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnectattachmentgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnectattachmentgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -57476,7 +58554,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57531,11 +58612,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Interconnectattachmentgroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -57564,7 +58645,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57620,11 +58704,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Interconnectattachmentgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Interconnectattachmentgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Interconnectattachmentgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -57659,8 +58743,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57875,11 +58959,13 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Interconnectattachments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Interconnectattachments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Interconnectattachments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -57914,8 +59000,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57972,11 +59060,11 @@ export namespace compute_beta { delete( params: Params$Resource$Interconnectattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnectattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnectattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -58005,7 +59093,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58060,11 +59151,11 @@ export namespace compute_beta { get( params: Params$Resource$Interconnectattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -58097,8 +59188,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58153,11 +59244,11 @@ export namespace compute_beta { insert( params: Params$Resource$Interconnectattachments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnectattachments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnectattachments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -58186,7 +59277,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58241,11 +59335,11 @@ export namespace compute_beta { list( params: Params$Resource$Interconnectattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -58280,8 +59374,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58336,11 +59430,11 @@ export namespace compute_beta { patch( params: Params$Resource$Interconnectattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnectattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnectattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -58369,7 +59463,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58424,11 +59521,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Interconnectattachments$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Interconnectattachments$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Interconnectattachments$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -58457,7 +59554,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58512,11 +59612,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Interconnectattachments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Interconnectattachments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Interconnectattachments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -58551,8 +59651,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58808,11 +59908,11 @@ export namespace compute_beta { createMembers( params: Params$Resource$Interconnectgroups$Createmembers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createMembers( params?: Params$Resource$Interconnectgroups$Createmembers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createMembers( params: Params$Resource$Interconnectgroups$Createmembers, options: StreamMethodOptions | BodyResponseCallback, @@ -58841,7 +59941,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Createmembers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58896,11 +59999,11 @@ export namespace compute_beta { delete( params: Params$Resource$Interconnectgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnectgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnectgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -58929,7 +60032,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58984,11 +60090,11 @@ export namespace compute_beta { get( params: Params$Resource$Interconnectgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -59019,8 +60125,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59075,11 +60181,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Interconnectgroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Interconnectgroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Interconnectgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -59108,7 +60214,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59163,11 +60272,13 @@ export namespace compute_beta { getOperationalStatus( params: Params$Resource$Interconnectgroups$Getoperationalstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOperationalStatus( params?: Params$Resource$Interconnectgroups$Getoperationalstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getOperationalStatus( params: Params$Resource$Interconnectgroups$Getoperationalstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -59202,8 +60313,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Getoperationalstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59260,11 +60373,11 @@ export namespace compute_beta { insert( params: Params$Resource$Interconnectgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnectgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnectgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -59293,7 +60406,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59348,11 +60464,11 @@ export namespace compute_beta { list( params: Params$Resource$Interconnectgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -59387,8 +60503,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59445,11 +60561,11 @@ export namespace compute_beta { patch( params: Params$Resource$Interconnectgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnectgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnectgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -59478,7 +60594,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59533,11 +60652,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Interconnectgroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Interconnectgroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Interconnectgroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -59566,7 +60685,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59621,11 +60743,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Interconnectgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Interconnectgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Interconnectgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -59660,8 +60782,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59891,11 +61013,11 @@ export namespace compute_beta { get( params: Params$Resource$Interconnectlocations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectlocations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectlocations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -59928,8 +61050,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectlocations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59984,11 +61106,11 @@ export namespace compute_beta { list( params: Params$Resource$Interconnectlocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectlocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectlocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -60021,8 +61143,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectlocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60123,11 +61245,11 @@ export namespace compute_beta { get( params: Params$Resource$Interconnectremotelocations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectremotelocations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectremotelocations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -60162,8 +61284,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectremotelocations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60218,11 +61340,11 @@ export namespace compute_beta { list( params: Params$Resource$Interconnectremotelocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectremotelocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectremotelocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -60257,8 +61379,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectremotelocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60361,11 +61483,11 @@ export namespace compute_beta { delete( params: Params$Resource$Interconnects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -60394,7 +61516,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60449,11 +61574,11 @@ export namespace compute_beta { get( params: Params$Resource$Interconnects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -60482,7 +61607,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60537,11 +61665,13 @@ export namespace compute_beta { getDiagnostics( params: Params$Resource$Interconnects$Getdiagnostics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDiagnostics( params?: Params$Resource$Interconnects$Getdiagnostics, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDiagnostics( params: Params$Resource$Interconnects$Getdiagnostics, options: StreamMethodOptions | BodyResponseCallback, @@ -60576,8 +61706,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Getdiagnostics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60634,11 +61766,13 @@ export namespace compute_beta { getMacsecConfig( params: Params$Resource$Interconnects$Getmacsecconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMacsecConfig( params?: Params$Resource$Interconnects$Getmacsecconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getMacsecConfig( params: Params$Resource$Interconnects$Getmacsecconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -60673,8 +61807,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Getmacsecconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60731,11 +61867,11 @@ export namespace compute_beta { insert( params: Params$Resource$Interconnects$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnects$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnects$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -60764,7 +61900,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60818,11 +61957,11 @@ export namespace compute_beta { list( params: Params$Resource$Interconnects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -60851,7 +61990,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60905,11 +62047,11 @@ export namespace compute_beta { patch( params: Params$Resource$Interconnects$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnects$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnects$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -60938,7 +62080,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60993,11 +62138,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Interconnects$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Interconnects$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Interconnects$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -61026,7 +62171,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61081,11 +62229,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Interconnects$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Interconnects$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Interconnects$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -61120,8 +62268,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61327,11 +62475,11 @@ export namespace compute_beta { get( params: Params$Resource$Licensecodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Licensecodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Licensecodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -61360,7 +62508,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licensecodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61414,11 +62565,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Licensecodes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Licensecodes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Licensecodes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -61453,8 +62604,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licensecodes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61543,11 +62694,11 @@ export namespace compute_beta { delete( params: Params$Resource$Licenses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Licenses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Licenses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -61576,7 +62727,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61630,11 +62784,11 @@ export namespace compute_beta { get( params: Params$Resource$Licenses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Licenses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Licenses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -61663,7 +62817,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61717,11 +62874,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Licenses$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Licenses$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Licenses$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -61750,7 +62907,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61805,11 +62965,11 @@ export namespace compute_beta { insert( params: Params$Resource$Licenses$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Licenses$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Licenses$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -61838,7 +62998,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61891,11 +63054,11 @@ export namespace compute_beta { list( params: Params$Resource$Licenses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Licenses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Licenses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -61928,8 +63091,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61982,11 +63145,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Licenses$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Licenses$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Licenses$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -62015,7 +63178,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62070,11 +63236,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Licenses$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Licenses$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Licenses$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -62109,8 +63275,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62165,11 +63331,11 @@ export namespace compute_beta { update( params: Params$Resource$Licenses$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Licenses$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Licenses$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -62198,7 +63364,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62395,11 +63564,11 @@ export namespace compute_beta { delete( params: Params$Resource$Machineimages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Machineimages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Machineimages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -62428,7 +63597,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62483,11 +63655,11 @@ export namespace compute_beta { get( params: Params$Resource$Machineimages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Machineimages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Machineimages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -62516,7 +63688,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62571,11 +63746,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Machineimages$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Machineimages$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Machineimages$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -62604,7 +63779,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62659,11 +63837,11 @@ export namespace compute_beta { insert( params: Params$Resource$Machineimages$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Machineimages$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Machineimages$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -62692,7 +63870,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62746,11 +63927,11 @@ export namespace compute_beta { list( params: Params$Resource$Machineimages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Machineimages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Machineimages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -62779,7 +63960,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62833,11 +64017,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Machineimages$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Machineimages$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Machineimages$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -62866,7 +64050,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62921,11 +64108,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Machineimages$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Machineimages$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Machineimages$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -62954,7 +64141,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63009,11 +64199,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Machineimages$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Machineimages$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Machineimages$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -63048,8 +64238,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63248,11 +64438,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Machinetypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Machinetypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Machinetypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -63287,8 +64477,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machinetypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63343,11 +64533,11 @@ export namespace compute_beta { get( params: Params$Resource$Machinetypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Machinetypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Machinetypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -63376,7 +64566,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machinetypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63430,11 +64623,11 @@ export namespace compute_beta { list( params: Params$Resource$Machinetypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Machinetypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Machinetypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -63463,7 +64656,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machinetypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63606,11 +64802,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Networkattachments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkattachments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Networkattachments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -63645,8 +64841,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63703,11 +64899,11 @@ export namespace compute_beta { delete( params: Params$Resource$Networkattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -63736,7 +64932,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63791,11 +64990,11 @@ export namespace compute_beta { get( params: Params$Resource$Networkattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -63826,8 +65025,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63882,11 +65081,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Networkattachments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Networkattachments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Networkattachments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -63915,7 +65114,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63970,11 +65172,11 @@ export namespace compute_beta { insert( params: Params$Resource$Networkattachments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkattachments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkattachments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -64003,7 +65205,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64058,11 +65263,11 @@ export namespace compute_beta { list( params: Params$Resource$Networkattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -64095,8 +65300,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64151,11 +65356,11 @@ export namespace compute_beta { patch( params: Params$Resource$Networkattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networkattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networkattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -64184,7 +65389,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64239,11 +65447,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Networkattachments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Networkattachments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Networkattachments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -64272,7 +65480,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64327,11 +65538,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Networkattachments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Networkattachments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Networkattachments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -64366,8 +65577,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64633,11 +65844,13 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Networkedgesecurityservices$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkedgesecurityservices$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Networkedgesecurityservices$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -64672,8 +65885,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64731,11 +65946,11 @@ export namespace compute_beta { delete( params: Params$Resource$Networkedgesecurityservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkedgesecurityservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkedgesecurityservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -64764,7 +65979,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64819,11 +66037,11 @@ export namespace compute_beta { get( params: Params$Resource$Networkedgesecurityservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkedgesecurityservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkedgesecurityservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -64858,8 +66076,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64914,11 +66132,11 @@ export namespace compute_beta { insert( params: Params$Resource$Networkedgesecurityservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkedgesecurityservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkedgesecurityservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -64947,7 +66165,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65002,11 +66223,11 @@ export namespace compute_beta { patch( params: Params$Resource$Networkedgesecurityservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networkedgesecurityservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networkedgesecurityservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -65035,7 +66256,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65223,11 +66447,13 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Networkendpointgroups$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkendpointgroups$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Networkendpointgroups$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -65262,8 +66488,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65320,11 +66548,11 @@ export namespace compute_beta { attachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params?: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -65355,7 +66583,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Attachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65411,11 +66642,11 @@ export namespace compute_beta { delete( params: Params$Resource$Networkendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -65444,7 +66675,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65499,11 +66733,11 @@ export namespace compute_beta { detachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params?: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -65534,7 +66768,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Detachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65590,11 +66827,11 @@ export namespace compute_beta { get( params: Params$Resource$Networkendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -65627,8 +66864,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65683,11 +66920,11 @@ export namespace compute_beta { insert( params: Params$Resource$Networkendpointgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkendpointgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkendpointgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -65716,7 +66953,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65771,11 +67011,11 @@ export namespace compute_beta { list( params: Params$Resource$Networkendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -65808,8 +67048,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65864,11 +67104,13 @@ export namespace compute_beta { listNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNetworkEndpoints( params?: Params$Resource$Networkendpointgroups$Listnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -65903,8 +67145,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Listnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65962,11 +67206,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Networkendpointgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Networkendpointgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Networkendpointgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -66001,8 +67245,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66293,11 +67537,11 @@ export namespace compute_beta { addAssociation( params: Params$Resource$Networkfirewallpolicies$Addassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params?: Params$Resource$Networkfirewallpolicies$Addassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params: Params$Resource$Networkfirewallpolicies$Addassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -66326,7 +67570,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Addassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66381,11 +67628,11 @@ export namespace compute_beta { addPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addPacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -66416,7 +67663,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66472,11 +67722,11 @@ export namespace compute_beta { addRule( params: Params$Resource$Networkfirewallpolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Networkfirewallpolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Networkfirewallpolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -66505,7 +67755,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66560,11 +67813,13 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Networkfirewallpolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkfirewallpolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Networkfirewallpolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -66599,8 +67854,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66657,11 +67914,11 @@ export namespace compute_beta { cloneRules( params: Params$Resource$Networkfirewallpolicies$Clonerules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params?: Params$Resource$Networkfirewallpolicies$Clonerules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params: Params$Resource$Networkfirewallpolicies$Clonerules, options: StreamMethodOptions | BodyResponseCallback, @@ -66690,7 +67947,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Clonerules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66745,11 +68005,11 @@ export namespace compute_beta { delete( params: Params$Resource$Networkfirewallpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkfirewallpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkfirewallpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -66778,7 +68038,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66833,11 +68096,11 @@ export namespace compute_beta { get( params: Params$Resource$Networkfirewallpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkfirewallpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkfirewallpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -66866,7 +68129,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66921,11 +68187,11 @@ export namespace compute_beta { getAssociation( params: Params$Resource$Networkfirewallpolicies$Getassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params?: Params$Resource$Networkfirewallpolicies$Getassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params: Params$Resource$Networkfirewallpolicies$Getassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -66960,8 +68226,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67016,11 +68282,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Networkfirewallpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Networkfirewallpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Networkfirewallpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -67049,7 +68315,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67104,11 +68373,11 @@ export namespace compute_beta { getPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -67141,8 +68410,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67198,11 +68467,11 @@ export namespace compute_beta { getRule( params: Params$Resource$Networkfirewallpolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Networkfirewallpolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Networkfirewallpolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -67233,8 +68502,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67289,11 +68558,11 @@ export namespace compute_beta { insert( params: Params$Resource$Networkfirewallpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkfirewallpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkfirewallpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -67322,7 +68591,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67377,11 +68649,11 @@ export namespace compute_beta { list( params: Params$Resource$Networkfirewallpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkfirewallpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkfirewallpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -67412,8 +68684,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67468,11 +68740,11 @@ export namespace compute_beta { patch( params: Params$Resource$Networkfirewallpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networkfirewallpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networkfirewallpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -67501,7 +68773,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67556,11 +68831,11 @@ export namespace compute_beta { patchPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -67591,7 +68866,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67647,11 +68925,11 @@ export namespace compute_beta { patchRule( params: Params$Resource$Networkfirewallpolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Networkfirewallpolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Networkfirewallpolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -67680,7 +68958,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67735,11 +69016,11 @@ export namespace compute_beta { removeAssociation( params: Params$Resource$Networkfirewallpolicies$Removeassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params?: Params$Resource$Networkfirewallpolicies$Removeassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params: Params$Resource$Networkfirewallpolicies$Removeassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -67768,7 +69049,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Removeassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67824,11 +69108,11 @@ export namespace compute_beta { removePacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removePacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removePacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -67859,7 +69143,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67915,11 +69202,11 @@ export namespace compute_beta { removeRule( params: Params$Resource$Networkfirewallpolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Networkfirewallpolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Networkfirewallpolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -67948,7 +69235,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68003,11 +69293,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Networkfirewallpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Networkfirewallpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Networkfirewallpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -68036,7 +69326,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68091,11 +69384,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Networkfirewallpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Networkfirewallpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Networkfirewallpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -68130,8 +69423,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68615,11 +69908,11 @@ export namespace compute_beta { get( params: Params$Resource$Networkprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -68648,7 +69941,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68703,11 +69999,11 @@ export namespace compute_beta { list( params: Params$Resource$Networkprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -68742,8 +70038,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68844,11 +70140,11 @@ export namespace compute_beta { addPeering( params: Params$Resource$Networks$Addpeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addPeering( params?: Params$Resource$Networks$Addpeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addPeering( params: Params$Resource$Networks$Addpeering, options: StreamMethodOptions | BodyResponseCallback, @@ -68877,7 +70173,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Addpeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68932,11 +70231,11 @@ export namespace compute_beta { delete( params: Params$Resource$Networks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -68965,7 +70264,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69019,11 +70321,11 @@ export namespace compute_beta { get( params: Params$Resource$Networks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -69052,7 +70354,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69106,11 +70411,13 @@ export namespace compute_beta { getEffectiveFirewalls( params: Params$Resource$Networks$Geteffectivefirewalls, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveFirewalls( params?: Params$Resource$Networks$Geteffectivefirewalls, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEffectiveFirewalls( params: Params$Resource$Networks$Geteffectivefirewalls, options: StreamMethodOptions | BodyResponseCallback, @@ -69145,8 +70452,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Geteffectivefirewalls; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69203,11 +70512,11 @@ export namespace compute_beta { insert( params: Params$Resource$Networks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -69236,7 +70545,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69289,11 +70601,11 @@ export namespace compute_beta { list( params: Params$Resource$Networks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -69322,7 +70634,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69375,11 +70690,11 @@ export namespace compute_beta { listPeeringRoutes( params: Params$Resource$Networks$Listpeeringroutes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPeeringRoutes( params?: Params$Resource$Networks$Listpeeringroutes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listPeeringRoutes( params: Params$Resource$Networks$Listpeeringroutes, options: StreamMethodOptions | BodyResponseCallback, @@ -69414,8 +70729,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Listpeeringroutes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69470,11 +70785,11 @@ export namespace compute_beta { patch( params: Params$Resource$Networks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -69503,7 +70818,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69557,11 +70875,11 @@ export namespace compute_beta { removePeering( params: Params$Resource$Networks$Removepeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removePeering( params?: Params$Resource$Networks$Removepeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removePeering( params: Params$Resource$Networks$Removepeering, options: StreamMethodOptions | BodyResponseCallback, @@ -69590,7 +70908,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Removepeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69645,11 +70966,11 @@ export namespace compute_beta { requestRemovePeering( params: Params$Resource$Networks$Requestremovepeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestRemovePeering( params?: Params$Resource$Networks$Requestremovepeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; requestRemovePeering( params: Params$Resource$Networks$Requestremovepeering, options: StreamMethodOptions | BodyResponseCallback, @@ -69680,7 +71001,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Requestremovepeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69735,11 +71059,11 @@ export namespace compute_beta { switchToCustomMode( params: Params$Resource$Networks$Switchtocustommode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switchToCustomMode( params?: Params$Resource$Networks$Switchtocustommode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switchToCustomMode( params: Params$Resource$Networks$Switchtocustommode, options: StreamMethodOptions | BodyResponseCallback, @@ -69768,7 +71092,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Switchtocustommode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69823,11 +71150,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Networks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Networks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Networks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -69862,8 +71189,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69918,11 +71245,11 @@ export namespace compute_beta { updatePeering( params: Params$Resource$Networks$Updatepeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePeering( params?: Params$Resource$Networks$Updatepeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePeering( params: Params$Resource$Networks$Updatepeering, options: StreamMethodOptions | BodyResponseCallback, @@ -69951,7 +71278,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Updatepeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70263,11 +71593,11 @@ export namespace compute_beta { addNodes( params: Params$Resource$Nodegroups$Addnodes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addNodes( params?: Params$Resource$Nodegroups$Addnodes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addNodes( params: Params$Resource$Nodegroups$Addnodes, options: StreamMethodOptions | BodyResponseCallback, @@ -70296,7 +71626,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Addnodes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70351,11 +71684,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Nodegroups$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Nodegroups$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Nodegroups$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -70390,8 +71723,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70445,11 +71778,11 @@ export namespace compute_beta { delete( params: Params$Resource$Nodegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -70478,7 +71811,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70533,11 +71869,11 @@ export namespace compute_beta { deleteNodes( params: Params$Resource$Nodegroups$Deletenodes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteNodes( params?: Params$Resource$Nodegroups$Deletenodes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteNodes( params: Params$Resource$Nodegroups$Deletenodes, options: StreamMethodOptions | BodyResponseCallback, @@ -70566,7 +71902,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Deletenodes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70621,11 +71960,11 @@ export namespace compute_beta { get( params: Params$Resource$Nodegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -70654,7 +71993,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70708,11 +72050,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Nodegroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Nodegroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Nodegroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -70741,7 +72083,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70796,11 +72141,11 @@ export namespace compute_beta { insert( params: Params$Resource$Nodegroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Nodegroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Nodegroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -70829,7 +72174,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70884,11 +72232,11 @@ export namespace compute_beta { list( params: Params$Resource$Nodegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -70917,7 +72265,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70971,11 +72322,11 @@ export namespace compute_beta { listNodes( params: Params$Resource$Nodegroups$Listnodes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNodes( params?: Params$Resource$Nodegroups$Listnodes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listNodes( params: Params$Resource$Nodegroups$Listnodes, options: StreamMethodOptions | BodyResponseCallback, @@ -71006,8 +72357,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Listnodes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71062,11 +72413,11 @@ export namespace compute_beta { patch( params: Params$Resource$Nodegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Nodegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Nodegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -71095,7 +72446,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71149,11 +72503,11 @@ export namespace compute_beta { performMaintenance( params: Params$Resource$Nodegroups$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Nodegroups$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Nodegroups$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -71182,7 +72536,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71237,11 +72594,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Nodegroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Nodegroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Nodegroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -71270,7 +72627,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71325,11 +72685,11 @@ export namespace compute_beta { setNodeTemplate( params: Params$Resource$Nodegroups$Setnodetemplate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNodeTemplate( params?: Params$Resource$Nodegroups$Setnodetemplate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNodeTemplate( params: Params$Resource$Nodegroups$Setnodetemplate, options: StreamMethodOptions | BodyResponseCallback, @@ -71358,7 +72718,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Setnodetemplate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71413,11 +72776,11 @@ export namespace compute_beta { simulateMaintenanceEvent( params: Params$Resource$Nodegroups$Simulatemaintenanceevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params?: Params$Resource$Nodegroups$Simulatemaintenanceevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params: Params$Resource$Nodegroups$Simulatemaintenanceevent, options: StreamMethodOptions | BodyResponseCallback, @@ -71448,7 +72811,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Simulatemaintenanceevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71503,11 +72869,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Nodegroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Nodegroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Nodegroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -71542,8 +72908,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71965,11 +73331,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Nodetemplates$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Nodetemplates$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Nodetemplates$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -72004,8 +73370,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72060,11 +73426,11 @@ export namespace compute_beta { delete( params: Params$Resource$Nodetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -72093,7 +73459,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72148,11 +73517,11 @@ export namespace compute_beta { get( params: Params$Resource$Nodetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -72181,7 +73550,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72236,11 +73608,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Nodetemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Nodetemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Nodetemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -72269,7 +73641,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72324,11 +73699,11 @@ export namespace compute_beta { insert( params: Params$Resource$Nodetemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Nodetemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Nodetemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -72357,7 +73732,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72412,11 +73790,11 @@ export namespace compute_beta { list( params: Params$Resource$Nodetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -72445,7 +73823,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72500,11 +73881,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Nodetemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Nodetemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Nodetemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -72533,7 +73914,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72588,11 +73972,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Nodetemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Nodetemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Nodetemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -72627,8 +74011,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72870,11 +74254,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Nodetypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Nodetypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Nodetypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -72909,8 +74293,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72964,11 +74348,11 @@ export namespace compute_beta { get( params: Params$Resource$Nodetypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodetypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodetypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -72997,7 +74381,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73051,11 +74438,11 @@ export namespace compute_beta { list( params: Params$Resource$Nodetypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodetypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodetypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -73084,7 +74471,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73225,11 +74615,11 @@ export namespace compute_beta { addAssociation( params: Params$Resource$Organizationsecuritypolicies$Addassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params?: Params$Resource$Organizationsecuritypolicies$Addassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params: Params$Resource$Organizationsecuritypolicies$Addassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -73258,7 +74648,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Addassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73314,11 +74707,11 @@ export namespace compute_beta { addRule( params: Params$Resource$Organizationsecuritypolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Organizationsecuritypolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Organizationsecuritypolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -73347,7 +74740,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73402,11 +74798,11 @@ export namespace compute_beta { copyRules( params: Params$Resource$Organizationsecuritypolicies$Copyrules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copyRules( params?: Params$Resource$Organizationsecuritypolicies$Copyrules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copyRules( params: Params$Resource$Organizationsecuritypolicies$Copyrules, options: StreamMethodOptions | BodyResponseCallback, @@ -73435,7 +74831,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Copyrules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73490,11 +74889,11 @@ export namespace compute_beta { delete( params: Params$Resource$Organizationsecuritypolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizationsecuritypolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizationsecuritypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -73523,7 +74922,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73578,11 +74980,11 @@ export namespace compute_beta { get( params: Params$Resource$Organizationsecuritypolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizationsecuritypolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizationsecuritypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -73611,7 +75013,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73666,11 +75071,11 @@ export namespace compute_beta { getAssociation( params: Params$Resource$Organizationsecuritypolicies$Getassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params?: Params$Resource$Organizationsecuritypolicies$Getassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params: Params$Resource$Organizationsecuritypolicies$Getassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -73705,8 +75110,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Getassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73762,11 +75167,11 @@ export namespace compute_beta { getRule( params: Params$Resource$Organizationsecuritypolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Organizationsecuritypolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Organizationsecuritypolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -73797,8 +75202,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73853,11 +75258,11 @@ export namespace compute_beta { insert( params: Params$Resource$Organizationsecuritypolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Organizationsecuritypolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Organizationsecuritypolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -73886,7 +75291,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73940,11 +75348,11 @@ export namespace compute_beta { list( params: Params$Resource$Organizationsecuritypolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizationsecuritypolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizationsecuritypolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -73975,8 +75383,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74030,11 +75438,13 @@ export namespace compute_beta { listAssociations( params: Params$Resource$Organizationsecuritypolicies$Listassociations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAssociations( params?: Params$Resource$Organizationsecuritypolicies$Listassociations, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAssociations( params: Params$Resource$Organizationsecuritypolicies$Listassociations, options: StreamMethodOptions | BodyResponseCallback, @@ -74069,8 +75479,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Listassociations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74128,11 +75540,13 @@ export namespace compute_beta { listPreconfiguredExpressionSets( params: Params$Resource$Organizationsecuritypolicies$Listpreconfiguredexpressionsets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPreconfiguredExpressionSets( params?: Params$Resource$Organizationsecuritypolicies$Listpreconfiguredexpressionsets, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPreconfiguredExpressionSets( params: Params$Resource$Organizationsecuritypolicies$Listpreconfiguredexpressionsets, options: StreamMethodOptions | BodyResponseCallback, @@ -74167,8 +75581,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Listpreconfiguredexpressionsets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74226,11 +75642,11 @@ export namespace compute_beta { move( params: Params$Resource$Organizationsecuritypolicies$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Organizationsecuritypolicies$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Organizationsecuritypolicies$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -74259,7 +75675,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74314,11 +75733,11 @@ export namespace compute_beta { patch( params: Params$Resource$Organizationsecuritypolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizationsecuritypolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizationsecuritypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -74347,7 +75766,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74402,11 +75824,11 @@ export namespace compute_beta { patchRule( params: Params$Resource$Organizationsecuritypolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Organizationsecuritypolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Organizationsecuritypolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -74435,7 +75857,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74490,11 +75915,11 @@ export namespace compute_beta { removeAssociation( params: Params$Resource$Organizationsecuritypolicies$Removeassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params?: Params$Resource$Organizationsecuritypolicies$Removeassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params: Params$Resource$Organizationsecuritypolicies$Removeassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -74523,7 +75948,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Removeassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74579,11 +76007,11 @@ export namespace compute_beta { removeRule( params: Params$Resource$Organizationsecuritypolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Organizationsecuritypolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Organizationsecuritypolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -74612,7 +76040,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizationsecuritypolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74924,11 +76355,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Packetmirrorings$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Packetmirrorings$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Packetmirrorings$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -74963,8 +76394,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75021,11 +76452,11 @@ export namespace compute_beta { delete( params: Params$Resource$Packetmirrorings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Packetmirrorings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Packetmirrorings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -75054,7 +76485,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75109,11 +76543,11 @@ export namespace compute_beta { get( params: Params$Resource$Packetmirrorings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Packetmirrorings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Packetmirrorings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -75142,7 +76576,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75197,11 +76634,11 @@ export namespace compute_beta { insert( params: Params$Resource$Packetmirrorings$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Packetmirrorings$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Packetmirrorings$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -75230,7 +76667,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75285,11 +76725,11 @@ export namespace compute_beta { list( params: Params$Resource$Packetmirrorings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Packetmirrorings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Packetmirrorings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -75320,8 +76760,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75376,11 +76816,11 @@ export namespace compute_beta { patch( params: Params$Resource$Packetmirrorings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Packetmirrorings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Packetmirrorings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -75409,7 +76849,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75464,11 +76907,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Packetmirrorings$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Packetmirrorings$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Packetmirrorings$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -75503,8 +76946,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75714,6 +77157,345 @@ export namespace compute_beta { requestBody?: Schema$TestPermissionsRequest; } + export class Resource$Previewfeatures { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Returns the details of the given PreviewFeature. + * + * @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$Previewfeatures$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Previewfeatures$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Previewfeatures$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Previewfeatures$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Previewfeatures$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Previewfeatures$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Previewfeatures$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Previewfeatures$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/global/previewFeatures/{previewFeature}' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'previewFeature'], + pathParams: ['previewFeature', 'project'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Returns the details of the given PreviewFeature. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Previewfeatures$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Previewfeatures$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Previewfeatures$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Previewfeatures$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Previewfeatures$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Previewfeatures$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Previewfeatures$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Previewfeatures$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/global/previewFeatures' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Patches the given PreviewFeature. This method is used to enable or disable a PreviewFeature. + * + * @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. + */ + update( + params: Params$Resource$Previewfeatures$Update, + options: StreamMethodOptions + ): Promise>; + update( + params?: Params$Resource$Previewfeatures$Update, + options?: MethodOptions + ): Promise>; + update( + params: Params$Resource$Previewfeatures$Update, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + update( + params: Params$Resource$Previewfeatures$Update, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + update( + params: Params$Resource$Previewfeatures$Update, + callback: BodyResponseCallback + ): void; + update(callback: BodyResponseCallback): void; + update( + paramsOrCallback?: + | Params$Resource$Previewfeatures$Update + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Previewfeatures$Update; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Previewfeatures$Update; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/global/previewFeatures/{previewFeature}' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'previewFeature'], + pathParams: ['previewFeature', 'project'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Previewfeatures$Get + extends StandardParameters { + /** + * Name of the PreviewFeature for this request. + */ + previewFeature?: string; + /** + * Project ID for this request. + */ + project?: string; + } + export interface Params$Resource$Previewfeatures$List + extends StandardParameters { + /** + * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\>`, `<`, `<=`, `\>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + */ + filter?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + */ + maxResults?: number; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + */ + orderBy?: string; + /** + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + */ + pageToken?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. + */ + returnPartialSuccess?: boolean; + } + export interface Params$Resource$Previewfeatures$Update + extends StandardParameters { + /** + * Name of the PreviewFeature for this request. + */ + previewFeature?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$PreviewFeature; + } + export class Resource$Projects { context: APIRequestContext; constructor(context: APIRequestContext) { @@ -75731,11 +77513,11 @@ export namespace compute_beta { disableXpnHost( params: Params$Resource$Projects$Disablexpnhost, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnHost( params?: Params$Resource$Projects$Disablexpnhost, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnHost( params: Params$Resource$Projects$Disablexpnhost, options: StreamMethodOptions | BodyResponseCallback, @@ -75764,7 +77546,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Disablexpnhost; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75818,11 +77603,11 @@ export namespace compute_beta { disableXpnResource( params: Params$Resource$Projects$Disablexpnresource, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnResource( params?: Params$Resource$Projects$Disablexpnresource, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnResource( params: Params$Resource$Projects$Disablexpnresource, options: StreamMethodOptions | BodyResponseCallback, @@ -75851,7 +77636,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Disablexpnresource; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75905,11 +77693,11 @@ export namespace compute_beta { enableXpnHost( params: Params$Resource$Projects$Enablexpnhost, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnHost( params?: Params$Resource$Projects$Enablexpnhost, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnHost( params: Params$Resource$Projects$Enablexpnhost, options: StreamMethodOptions | BodyResponseCallback, @@ -75938,7 +77726,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Enablexpnhost; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75992,11 +77783,11 @@ export namespace compute_beta { enableXpnResource( params: Params$Resource$Projects$Enablexpnresource, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnResource( params?: Params$Resource$Projects$Enablexpnresource, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnResource( params: Params$Resource$Projects$Enablexpnresource, options: StreamMethodOptions | BodyResponseCallback, @@ -76025,7 +77816,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Enablexpnresource; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76079,11 +77873,11 @@ export namespace compute_beta { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -76112,7 +77906,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76166,11 +77963,11 @@ export namespace compute_beta { getXpnHost( params: Params$Resource$Projects$Getxpnhost, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getXpnHost( params?: Params$Resource$Projects$Getxpnhost, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getXpnHost( params: Params$Resource$Projects$Getxpnhost, options: StreamMethodOptions | BodyResponseCallback, @@ -76199,7 +77996,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getxpnhost; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76253,11 +78053,11 @@ export namespace compute_beta { getXpnResources( params: Params$Resource$Projects$Getxpnresources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getXpnResources( params?: Params$Resource$Projects$Getxpnresources, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getXpnResources( params: Params$Resource$Projects$Getxpnresources, options: StreamMethodOptions | BodyResponseCallback, @@ -76292,8 +78092,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getxpnresources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76347,11 +78147,11 @@ export namespace compute_beta { listXpnHosts( params: Params$Resource$Projects$Listxpnhosts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listXpnHosts( params?: Params$Resource$Projects$Listxpnhosts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listXpnHosts( params: Params$Resource$Projects$Listxpnhosts, options: StreamMethodOptions | BodyResponseCallback, @@ -76380,7 +78180,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Listxpnhosts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76434,11 +78237,11 @@ export namespace compute_beta { moveDisk( params: Params$Resource$Projects$Movedisk, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveDisk( params?: Params$Resource$Projects$Movedisk, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveDisk( params: Params$Resource$Projects$Movedisk, options: StreamMethodOptions | BodyResponseCallback, @@ -76467,7 +78270,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Movedisk; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76521,11 +78327,11 @@ export namespace compute_beta { moveInstance( params: Params$Resource$Projects$Moveinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveInstance( params?: Params$Resource$Projects$Moveinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveInstance( params: Params$Resource$Projects$Moveinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -76554,7 +78360,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Moveinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76608,11 +78417,11 @@ export namespace compute_beta { setCloudArmorTier( params: Params$Resource$Projects$Setcloudarmortier, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCloudArmorTier( params?: Params$Resource$Projects$Setcloudarmortier, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCloudArmorTier( params: Params$Resource$Projects$Setcloudarmortier, options: StreamMethodOptions | BodyResponseCallback, @@ -76641,7 +78450,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setcloudarmortier; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76695,11 +78507,11 @@ export namespace compute_beta { setCommonInstanceMetadata( params: Params$Resource$Projects$Setcommoninstancemetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCommonInstanceMetadata( params?: Params$Resource$Projects$Setcommoninstancemetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCommonInstanceMetadata( params: Params$Resource$Projects$Setcommoninstancemetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -76730,7 +78542,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setcommoninstancemetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76785,11 +78600,11 @@ export namespace compute_beta { setDefaultNetworkTier( params: Params$Resource$Projects$Setdefaultnetworktier, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultNetworkTier( params?: Params$Resource$Projects$Setdefaultnetworktier, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultNetworkTier( params: Params$Resource$Projects$Setdefaultnetworktier, options: StreamMethodOptions | BodyResponseCallback, @@ -76820,7 +78635,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setdefaultnetworktier; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76874,11 +78692,11 @@ export namespace compute_beta { setManagedProtectionTier( params: Params$Resource$Projects$Setmanagedprotectiontier, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setManagedProtectionTier( params?: Params$Resource$Projects$Setmanagedprotectiontier, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setManagedProtectionTier( params: Params$Resource$Projects$Setmanagedprotectiontier, options: StreamMethodOptions | BodyResponseCallback, @@ -76909,7 +78727,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setmanagedprotectiontier; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76964,11 +78785,11 @@ export namespace compute_beta { setUsageExportBucket( params: Params$Resource$Projects$Setusageexportbucket, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUsageExportBucket( params?: Params$Resource$Projects$Setusageexportbucket, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUsageExportBucket( params: Params$Resource$Projects$Setusageexportbucket, options: StreamMethodOptions | BodyResponseCallback, @@ -76999,7 +78820,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setusageexportbucket; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77299,11 +79123,11 @@ export namespace compute_beta { announce( params: Params$Resource$Publicadvertisedprefixes$Announce, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; announce( params?: Params$Resource$Publicadvertisedprefixes$Announce, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; announce( params: Params$Resource$Publicadvertisedprefixes$Announce, options: StreamMethodOptions | BodyResponseCallback, @@ -77332,7 +79156,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Announce; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77387,11 +79214,11 @@ export namespace compute_beta { delete( params: Params$Resource$Publicadvertisedprefixes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Publicadvertisedprefixes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Publicadvertisedprefixes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -77420,7 +79247,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77475,11 +79305,11 @@ export namespace compute_beta { get( params: Params$Resource$Publicadvertisedprefixes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Publicadvertisedprefixes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Publicadvertisedprefixes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -77512,8 +79342,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77568,11 +79398,11 @@ export namespace compute_beta { insert( params: Params$Resource$Publicadvertisedprefixes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Publicadvertisedprefixes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Publicadvertisedprefixes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -77601,7 +79431,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77656,11 +79489,11 @@ export namespace compute_beta { list( params: Params$Resource$Publicadvertisedprefixes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Publicadvertisedprefixes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Publicadvertisedprefixes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -77695,8 +79528,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77751,11 +79584,11 @@ export namespace compute_beta { patch( params: Params$Resource$Publicadvertisedprefixes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Publicadvertisedprefixes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Publicadvertisedprefixes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -77784,7 +79617,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77839,11 +79675,11 @@ export namespace compute_beta { withdraw( params: Params$Resource$Publicadvertisedprefixes$Withdraw, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params?: Params$Resource$Publicadvertisedprefixes$Withdraw, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params: Params$Resource$Publicadvertisedprefixes$Withdraw, options: StreamMethodOptions | BodyResponseCallback, @@ -77872,7 +79708,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Withdraw; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78054,11 +79893,13 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Publicdelegatedprefixes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Publicdelegatedprefixes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Publicdelegatedprefixes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -78093,8 +79934,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78151,11 +79994,11 @@ export namespace compute_beta { announce( params: Params$Resource$Publicdelegatedprefixes$Announce, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; announce( params?: Params$Resource$Publicdelegatedprefixes$Announce, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; announce( params: Params$Resource$Publicdelegatedprefixes$Announce, options: StreamMethodOptions | BodyResponseCallback, @@ -78184,7 +80027,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Announce; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78239,11 +80085,11 @@ export namespace compute_beta { delete( params: Params$Resource$Publicdelegatedprefixes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Publicdelegatedprefixes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Publicdelegatedprefixes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -78272,7 +80118,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78327,11 +80176,11 @@ export namespace compute_beta { get( params: Params$Resource$Publicdelegatedprefixes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Publicdelegatedprefixes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Publicdelegatedprefixes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -78364,8 +80213,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78420,11 +80269,11 @@ export namespace compute_beta { insert( params: Params$Resource$Publicdelegatedprefixes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Publicdelegatedprefixes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Publicdelegatedprefixes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -78453,7 +80302,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78508,11 +80360,11 @@ export namespace compute_beta { list( params: Params$Resource$Publicdelegatedprefixes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Publicdelegatedprefixes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Publicdelegatedprefixes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -78547,8 +80399,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78603,11 +80455,11 @@ export namespace compute_beta { patch( params: Params$Resource$Publicdelegatedprefixes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Publicdelegatedprefixes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Publicdelegatedprefixes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -78636,7 +80488,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78691,11 +80546,11 @@ export namespace compute_beta { withdraw( params: Params$Resource$Publicdelegatedprefixes$Withdraw, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params?: Params$Resource$Publicdelegatedprefixes$Withdraw, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params: Params$Resource$Publicdelegatedprefixes$Withdraw, options: StreamMethodOptions | BodyResponseCallback, @@ -78724,7 +80579,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Withdraw; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78969,11 +80827,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionautoscalers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionautoscalers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionautoscalers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -79002,7 +80860,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79057,11 +80918,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionautoscalers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionautoscalers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionautoscalers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -79090,7 +80951,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79145,11 +81009,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionautoscalers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionautoscalers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionautoscalers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -79178,7 +81042,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79233,11 +81100,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionautoscalers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionautoscalers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionautoscalers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -79270,8 +81137,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79326,11 +81193,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regionautoscalers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionautoscalers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionautoscalers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -79359,7 +81226,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79414,11 +81284,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regionautoscalers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionautoscalers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionautoscalers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -79453,8 +81323,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79509,11 +81379,11 @@ export namespace compute_beta { update( params: Params$Resource$Regionautoscalers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionautoscalers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionautoscalers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -79542,7 +81412,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79758,11 +81631,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionbackendservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionbackendservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionbackendservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -79791,7 +81664,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79846,11 +81722,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionbackendservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionbackendservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionbackendservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -79879,7 +81755,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79934,11 +81813,11 @@ export namespace compute_beta { getHealth( params: Params$Resource$Regionbackendservices$Gethealth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params?: Params$Resource$Regionbackendservices$Gethealth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params: Params$Resource$Regionbackendservices$Gethealth, options: StreamMethodOptions | BodyResponseCallback, @@ -79973,8 +81852,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Gethealth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80029,11 +81908,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Regionbackendservices$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regionbackendservices$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regionbackendservices$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -80062,7 +81941,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80117,11 +81999,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionbackendservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionbackendservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionbackendservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -80150,7 +82032,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80205,11 +82090,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionbackendservices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionbackendservices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionbackendservices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -80240,8 +82125,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80296,11 +82181,11 @@ export namespace compute_beta { listUsable( params: Params$Resource$Regionbackendservices$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Regionbackendservices$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Regionbackendservices$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -80335,8 +82220,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80391,11 +82276,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regionbackendservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionbackendservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionbackendservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -80424,7 +82309,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80479,11 +82367,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Regionbackendservices$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regionbackendservices$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regionbackendservices$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -80512,7 +82400,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80567,11 +82458,11 @@ export namespace compute_beta { setSecurityPolicy( params: Params$Resource$Regionbackendservices$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Regionbackendservices$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Regionbackendservices$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -80600,7 +82491,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80655,11 +82549,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regionbackendservices$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionbackendservices$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionbackendservices$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -80694,8 +82588,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80750,11 +82644,11 @@ export namespace compute_beta { update( params: Params$Resource$Regionbackendservices$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionbackendservices$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionbackendservices$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -80783,7 +82677,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81113,11 +83010,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Regioncommitments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Regioncommitments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Regioncommitments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -81152,8 +83049,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81208,11 +83105,11 @@ export namespace compute_beta { get( params: Params$Resource$Regioncommitments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioncommitments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioncommitments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -81241,7 +83138,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81296,11 +83196,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regioncommitments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioncommitments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioncommitments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -81329,7 +83229,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81384,11 +83287,11 @@ export namespace compute_beta { list( params: Params$Resource$Regioncommitments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioncommitments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioncommitments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -81417,7 +83320,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81472,11 +83378,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regioncommitments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regioncommitments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regioncommitments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -81511,8 +83417,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81567,11 +83473,11 @@ export namespace compute_beta { update( params: Params$Resource$Regioncommitments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regioncommitments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regioncommitments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -81600,7 +83506,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81655,11 +83564,11 @@ export namespace compute_beta { updateReservations( params: Params$Resource$Regioncommitments$Updatereservations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateReservations( params?: Params$Resource$Regioncommitments$Updatereservations, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateReservations( params: Params$Resource$Regioncommitments$Updatereservations, options: StreamMethodOptions | BodyResponseCallback, @@ -81688,7 +83597,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Updatereservations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81928,11 +83840,11 @@ export namespace compute_beta { addResourcePolicies( params: Params$Resource$Regiondisks$Addresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params?: Params$Resource$Regiondisks$Addresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params: Params$Resource$Regiondisks$Addresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -81961,7 +83873,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Addresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82016,11 +83931,11 @@ export namespace compute_beta { bulkInsert( params: Params$Resource$Regiondisks$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Regiondisks$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Regiondisks$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -82049,7 +83964,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82104,11 +84022,11 @@ export namespace compute_beta { createSnapshot( params: Params$Resource$Regiondisks$Createsnapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params?: Params$Resource$Regiondisks$Createsnapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params: Params$Resource$Regiondisks$Createsnapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -82137,7 +84055,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Createsnapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82192,11 +84113,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regiondisks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiondisks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiondisks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -82225,7 +84146,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82280,11 +84204,11 @@ export namespace compute_beta { get( params: Params$Resource$Regiondisks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiondisks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiondisks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -82313,7 +84237,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82367,11 +84294,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Regiondisks$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regiondisks$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regiondisks$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -82400,7 +84327,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82455,11 +84385,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regiondisks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiondisks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiondisks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -82488,7 +84418,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82543,11 +84476,11 @@ export namespace compute_beta { list( params: Params$Resource$Regiondisks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiondisks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiondisks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -82576,7 +84509,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82630,11 +84566,11 @@ export namespace compute_beta { removeResourcePolicies( params: Params$Resource$Regiondisks$Removeresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params?: Params$Resource$Regiondisks$Removeresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params: Params$Resource$Regiondisks$Removeresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -82665,7 +84601,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Removeresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82720,11 +84659,11 @@ export namespace compute_beta { resize( params: Params$Resource$Regiondisks$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Regiondisks$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Regiondisks$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -82753,7 +84692,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82808,11 +84750,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Regiondisks$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regiondisks$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regiondisks$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -82841,7 +84783,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82896,11 +84841,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Regiondisks$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Regiondisks$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Regiondisks$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -82929,7 +84874,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82984,11 +84932,11 @@ export namespace compute_beta { startAsyncReplication( params: Params$Resource$Regiondisks$Startasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params?: Params$Resource$Regiondisks$Startasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params: Params$Resource$Regiondisks$Startasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -83019,7 +84967,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Startasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83074,11 +85025,11 @@ export namespace compute_beta { stopAsyncReplication( params: Params$Resource$Regiondisks$Stopasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params?: Params$Resource$Regiondisks$Stopasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params: Params$Resource$Regiondisks$Stopasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -83109,7 +85060,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Stopasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83164,11 +85118,11 @@ export namespace compute_beta { stopGroupAsyncReplication( params: Params$Resource$Regiondisks$Stopgroupasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params?: Params$Resource$Regiondisks$Stopgroupasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params: Params$Resource$Regiondisks$Stopgroupasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -83199,7 +85153,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Stopgroupasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83254,11 +85211,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regiondisks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regiondisks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regiondisks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -83293,8 +85250,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83349,11 +85306,11 @@ export namespace compute_beta { update( params: Params$Resource$Regiondisks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regiondisks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regiondisks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -83382,7 +85339,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83826,11 +85786,11 @@ export namespace compute_beta { get( params: Params$Resource$Regiondisksettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiondisksettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiondisksettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -83859,7 +85819,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisksettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83914,11 +85877,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regiondisksettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regiondisksettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regiondisksettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -83947,7 +85910,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisksettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84045,11 +86011,11 @@ export namespace compute_beta { get( params: Params$Resource$Regiondisktypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiondisktypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiondisktypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -84078,7 +86044,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisktypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84133,11 +86102,11 @@ export namespace compute_beta { list( params: Params$Resource$Regiondisktypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiondisktypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiondisktypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -84168,8 +86137,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisktypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84278,11 +86247,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionhealthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionhealthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionhealthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -84311,7 +86280,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84366,11 +86338,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionhealthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionhealthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionhealthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -84399,7 +86371,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84454,11 +86429,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionhealthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionhealthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionhealthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -84487,7 +86462,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84542,11 +86520,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionhealthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionhealthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionhealthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -84575,7 +86553,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84630,11 +86611,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regionhealthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionhealthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionhealthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -84663,7 +86644,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84718,11 +86702,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regionhealthchecks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionhealthchecks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionhealthchecks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -84757,8 +86741,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84813,11 +86797,11 @@ export namespace compute_beta { update( params: Params$Resource$Regionhealthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionhealthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionhealthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -84846,7 +86830,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85062,11 +87049,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionhealthcheckservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionhealthcheckservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionhealthcheckservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -85095,7 +87082,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85150,11 +87140,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionhealthcheckservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionhealthcheckservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionhealthcheckservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -85185,8 +87175,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85241,11 +87231,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionhealthcheckservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionhealthcheckservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionhealthcheckservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -85274,7 +87264,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85329,11 +87322,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionhealthcheckservices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionhealthcheckservices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionhealthcheckservices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -85366,8 +87359,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85422,11 +87415,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regionhealthcheckservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionhealthcheckservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionhealthcheckservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -85455,7 +87448,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85510,11 +87506,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regionhealthcheckservices$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionhealthcheckservices$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionhealthcheckservices$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -85549,8 +87545,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85743,11 +87739,11 @@ export namespace compute_beta { cancel( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Regioninstancegroupmanagerresizerequests$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -85776,7 +87772,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagerresizerequests$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85842,11 +87841,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstancegroupmanagerresizerequests$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -85875,7 +87874,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagerresizerequests$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85941,11 +87943,13 @@ export namespace compute_beta { get( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstancegroupmanagerresizerequests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -85980,8 +87984,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagerresizerequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86049,11 +88055,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstancegroupmanagerresizerequests$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstancegroupmanagerresizerequests$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -86082,7 +88088,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagerresizerequests$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86138,11 +88147,13 @@ export namespace compute_beta { list( params: Params$Resource$Regioninstancegroupmanagerresizerequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstancegroupmanagerresizerequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Regioninstancegroupmanagerresizerequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -86177,8 +88188,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagerresizerequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86368,11 +88381,11 @@ export namespace compute_beta { abandonInstances( params: Params$Resource$Regioninstancegroupmanagers$Abandoninstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params?: Params$Resource$Regioninstancegroupmanagers$Abandoninstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params: Params$Resource$Regioninstancegroupmanagers$Abandoninstances, options: StreamMethodOptions | BodyResponseCallback, @@ -86401,7 +88414,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Abandoninstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86457,11 +88473,11 @@ export namespace compute_beta { applyUpdatesToInstances( params: Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params?: Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params: Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -86492,7 +88508,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86548,11 +88567,11 @@ export namespace compute_beta { createInstances( params: Params$Resource$Regioninstancegroupmanagers$Createinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params?: Params$Resource$Regioninstancegroupmanagers$Createinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params: Params$Resource$Regioninstancegroupmanagers$Createinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -86581,7 +88600,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Createinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86637,11 +88659,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regioninstancegroupmanagers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstancegroupmanagers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstancegroupmanagers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -86670,7 +88692,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86725,11 +88750,11 @@ export namespace compute_beta { deleteInstances( params: Params$Resource$Regioninstancegroupmanagers$Deleteinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params?: Params$Resource$Regioninstancegroupmanagers$Deleteinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params: Params$Resource$Regioninstancegroupmanagers$Deleteinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -86758,7 +88783,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Deleteinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86814,11 +88842,11 @@ export namespace compute_beta { deletePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -86849,7 +88877,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86905,11 +88936,11 @@ export namespace compute_beta { get( params: Params$Resource$Regioninstancegroupmanagers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstancegroupmanagers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstancegroupmanagers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -86942,8 +88973,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86998,11 +89029,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regioninstancegroupmanagers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstancegroupmanagers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstancegroupmanagers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -87031,7 +89062,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87086,11 +89120,11 @@ export namespace compute_beta { list( params: Params$Resource$Regioninstancegroupmanagers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstancegroupmanagers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstancegroupmanagers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -87125,8 +89159,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87183,11 +89217,13 @@ export namespace compute_beta { listErrors( params: Params$Resource$Regioninstancegroupmanagers$Listerrors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listErrors( params?: Params$Resource$Regioninstancegroupmanagers$Listerrors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listErrors( params: Params$Resource$Regioninstancegroupmanagers$Listerrors, options: StreamMethodOptions | BodyResponseCallback, @@ -87222,8 +89258,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Listerrors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87280,11 +89318,13 @@ export namespace compute_beta { listManagedInstances( params: Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listManagedInstances( params?: Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listManagedInstances( params: Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -87319,8 +89359,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87378,11 +89420,13 @@ export namespace compute_beta { listPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -87417,8 +89461,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87476,11 +89522,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regioninstancegroupmanagers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regioninstancegroupmanagers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regioninstancegroupmanagers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -87509,7 +89555,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87564,11 +89613,11 @@ export namespace compute_beta { patchPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -87599,7 +89648,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87655,11 +89707,11 @@ export namespace compute_beta { recreateInstances( params: Params$Resource$Regioninstancegroupmanagers$Recreateinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params?: Params$Resource$Regioninstancegroupmanagers$Recreateinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params: Params$Resource$Regioninstancegroupmanagers$Recreateinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -87688,7 +89740,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Recreateinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87744,11 +89799,11 @@ export namespace compute_beta { resize( params: Params$Resource$Regioninstancegroupmanagers$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Regioninstancegroupmanagers$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Regioninstancegroupmanagers$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -87777,7 +89832,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87832,11 +89890,11 @@ export namespace compute_beta { resizeAdvanced( params: Params$Resource$Regioninstancegroupmanagers$Resizeadvanced, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resizeAdvanced( params?: Params$Resource$Regioninstancegroupmanagers$Resizeadvanced, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resizeAdvanced( params: Params$Resource$Regioninstancegroupmanagers$Resizeadvanced, options: StreamMethodOptions | BodyResponseCallback, @@ -87865,7 +89923,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Resizeadvanced; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87921,11 +89982,11 @@ export namespace compute_beta { resumeInstances( params: Params$Resource$Regioninstancegroupmanagers$Resumeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params?: Params$Resource$Regioninstancegroupmanagers$Resumeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params: Params$Resource$Regioninstancegroupmanagers$Resumeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -87954,7 +90015,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Resumeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88010,11 +90074,11 @@ export namespace compute_beta { setAutoHealingPolicies( params: Params$Resource$Regioninstancegroupmanagers$Setautohealingpolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAutoHealingPolicies( params?: Params$Resource$Regioninstancegroupmanagers$Setautohealingpolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAutoHealingPolicies( params: Params$Resource$Regioninstancegroupmanagers$Setautohealingpolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -88045,7 +90109,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Setautohealingpolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88101,11 +90168,11 @@ export namespace compute_beta { setInstanceTemplate( params: Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params?: Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params: Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions | BodyResponseCallback, @@ -88134,7 +90201,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88190,11 +90260,11 @@ export namespace compute_beta { setTargetPools( params: Params$Resource$Regioninstancegroupmanagers$Settargetpools, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params?: Params$Resource$Regioninstancegroupmanagers$Settargetpools, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params: Params$Resource$Regioninstancegroupmanagers$Settargetpools, options: StreamMethodOptions | BodyResponseCallback, @@ -88223,7 +90293,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Settargetpools; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88279,11 +90352,11 @@ export namespace compute_beta { startInstances( params: Params$Resource$Regioninstancegroupmanagers$Startinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params?: Params$Resource$Regioninstancegroupmanagers$Startinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params: Params$Resource$Regioninstancegroupmanagers$Startinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -88312,7 +90385,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Startinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88368,11 +90444,11 @@ export namespace compute_beta { stopInstances( params: Params$Resource$Regioninstancegroupmanagers$Stopinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params?: Params$Resource$Regioninstancegroupmanagers$Stopinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params: Params$Resource$Regioninstancegroupmanagers$Stopinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -88401,7 +90477,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Stopinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88457,11 +90536,11 @@ export namespace compute_beta { suspendInstances( params: Params$Resource$Regioninstancegroupmanagers$Suspendinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params?: Params$Resource$Regioninstancegroupmanagers$Suspendinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params: Params$Resource$Regioninstancegroupmanagers$Suspendinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -88490,7 +90569,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Suspendinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88546,11 +90628,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regioninstancegroupmanagers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regioninstancegroupmanagers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regioninstancegroupmanagers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -88585,8 +90667,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88642,11 +90724,11 @@ export namespace compute_beta { update( params: Params$Resource$Regioninstancegroupmanagers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regioninstancegroupmanagers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regioninstancegroupmanagers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -88675,7 +90757,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88730,11 +90815,11 @@ export namespace compute_beta { updatePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -88765,7 +90850,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89486,11 +91574,11 @@ export namespace compute_beta { get( params: Params$Resource$Regioninstancegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstancegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstancegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -89519,7 +91607,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89574,11 +91665,11 @@ export namespace compute_beta { list( params: Params$Resource$Regioninstancegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstancegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstancegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -89611,8 +91702,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89667,11 +91758,13 @@ export namespace compute_beta { listInstances( params: Params$Resource$Regioninstancegroups$Listinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listInstances( params?: Params$Resource$Regioninstancegroups$Listinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listInstances( params: Params$Resource$Regioninstancegroups$Listinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -89706,8 +91799,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$Listinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89764,11 +91859,11 @@ export namespace compute_beta { setNamedPorts( params: Params$Resource$Regioninstancegroups$Setnamedports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params?: Params$Resource$Regioninstancegroups$Setnamedports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params: Params$Resource$Regioninstancegroups$Setnamedports, options: StreamMethodOptions | BodyResponseCallback, @@ -89797,7 +91892,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$Setnamedports; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89852,11 +91950,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regioninstancegroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regioninstancegroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regioninstancegroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -89891,8 +91989,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90085,11 +92183,11 @@ export namespace compute_beta { bulkInsert( params: Params$Resource$Regioninstances$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Regioninstances$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Regioninstances$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -90118,7 +92216,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstances$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90201,11 +92302,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regioninstancetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstancetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstancetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -90234,7 +92335,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90289,11 +92393,11 @@ export namespace compute_beta { get( params: Params$Resource$Regioninstancetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstancetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstancetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -90322,7 +92426,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90377,11 +92484,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regioninstancetemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstancetemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstancetemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -90410,7 +92517,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90465,11 +92575,11 @@ export namespace compute_beta { list( params: Params$Resource$Regioninstancetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstancetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstancetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -90502,8 +92612,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90659,11 +92769,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regioninstantsnapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstantsnapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstantsnapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -90692,7 +92802,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90747,11 +92860,11 @@ export namespace compute_beta { get( params: Params$Resource$Regioninstantsnapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstantsnapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstantsnapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -90780,7 +92893,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90835,11 +92951,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Regioninstantsnapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regioninstantsnapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regioninstantsnapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -90868,7 +92984,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90923,11 +93042,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regioninstantsnapshots$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstantsnapshots$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstantsnapshots$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -90956,7 +93075,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91011,11 +93133,11 @@ export namespace compute_beta { list( params: Params$Resource$Regioninstantsnapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstantsnapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstantsnapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -91046,8 +93168,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91102,11 +93224,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Regioninstantsnapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regioninstantsnapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regioninstantsnapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -91135,7 +93257,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91190,11 +93315,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Regioninstantsnapshots$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Regioninstantsnapshots$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Regioninstantsnapshots$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -91223,7 +93348,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91278,11 +93406,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regioninstantsnapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regioninstantsnapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regioninstantsnapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -91317,8 +93445,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91550,11 +93678,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionmultimigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionmultimigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionmultimigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -91583,7 +93711,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionmultimigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91638,11 +93769,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionmultimigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionmultimigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionmultimigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -91671,7 +93802,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionmultimigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91726,11 +93860,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionmultimigs$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionmultimigs$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionmultimigs$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -91759,7 +93893,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionmultimigs$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91814,11 +93951,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionmultimigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionmultimigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionmultimigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -91847,7 +93984,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionmultimigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91995,11 +94135,11 @@ export namespace compute_beta { attachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params?: Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -92030,7 +94170,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92086,11 +94229,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionnetworkendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionnetworkendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionnetworkendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -92119,7 +94262,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92174,11 +94320,11 @@ export namespace compute_beta { detachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params?: Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -92209,7 +94355,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92265,11 +94414,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionnetworkendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionnetworkendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionnetworkendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -92302,8 +94451,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92358,11 +94507,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionnetworkendpointgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionnetworkendpointgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionnetworkendpointgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -92391,7 +94540,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92446,11 +94598,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionnetworkendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionnetworkendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionnetworkendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -92483,8 +94635,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92539,11 +94691,13 @@ export namespace compute_beta { listNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNetworkEndpoints( params?: Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -92578,8 +94732,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92813,11 +94969,11 @@ export namespace compute_beta { addAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Addassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params?: Params$Resource$Regionnetworkfirewallpolicies$Addassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Addassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -92846,7 +95002,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Addassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92902,11 +95061,11 @@ export namespace compute_beta { addRule( params: Params$Resource$Regionnetworkfirewallpolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Regionnetworkfirewallpolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -92935,7 +95094,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92990,11 +95152,11 @@ export namespace compute_beta { cloneRules( params: Params$Resource$Regionnetworkfirewallpolicies$Clonerules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params?: Params$Resource$Regionnetworkfirewallpolicies$Clonerules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params: Params$Resource$Regionnetworkfirewallpolicies$Clonerules, options: StreamMethodOptions | BodyResponseCallback, @@ -93023,7 +95185,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Clonerules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93078,11 +95243,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionnetworkfirewallpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionnetworkfirewallpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionnetworkfirewallpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -93111,7 +95276,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93166,11 +95334,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionnetworkfirewallpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionnetworkfirewallpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionnetworkfirewallpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -93199,7 +95367,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93254,11 +95425,11 @@ export namespace compute_beta { getAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Getassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params?: Params$Resource$Regionnetworkfirewallpolicies$Getassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Getassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -93293,8 +95464,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Getassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93350,11 +95521,13 @@ export namespace compute_beta { getEffectiveFirewalls( params: Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveFirewalls( params?: Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEffectiveFirewalls( params: Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls, options: StreamMethodOptions | BodyResponseCallback, @@ -93389,8 +95562,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93448,11 +95623,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -93481,7 +95656,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93537,11 +95715,11 @@ export namespace compute_beta { getRule( params: Params$Resource$Regionnetworkfirewallpolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Regionnetworkfirewallpolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -93572,8 +95750,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93628,11 +95806,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionnetworkfirewallpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionnetworkfirewallpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionnetworkfirewallpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -93661,7 +95839,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93716,11 +95897,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionnetworkfirewallpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionnetworkfirewallpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionnetworkfirewallpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -93751,8 +95932,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93807,11 +95988,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regionnetworkfirewallpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionnetworkfirewallpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionnetworkfirewallpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -93840,7 +96021,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93895,11 +96079,11 @@ export namespace compute_beta { patchAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Patchassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchAssociation( params?: Params$Resource$Regionnetworkfirewallpolicies$Patchassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Patchassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -93928,7 +96112,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Patchassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93984,11 +96171,11 @@ export namespace compute_beta { patchRule( params: Params$Resource$Regionnetworkfirewallpolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Regionnetworkfirewallpolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -94017,7 +96204,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94072,11 +96262,11 @@ export namespace compute_beta { removeAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Removeassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params?: Params$Resource$Regionnetworkfirewallpolicies$Removeassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Removeassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -94105,7 +96295,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Removeassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94161,11 +96354,11 @@ export namespace compute_beta { removeRule( params: Params$Resource$Regionnetworkfirewallpolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Regionnetworkfirewallpolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -94194,7 +96387,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94249,11 +96445,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -94282,7 +96478,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94338,11 +96537,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -94377,8 +96576,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94848,11 +97047,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionnotificationendpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionnotificationendpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionnotificationendpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -94881,7 +97080,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94936,11 +97138,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionnotificationendpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionnotificationendpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionnotificationendpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -94973,8 +97175,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95029,11 +97231,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionnotificationendpoints$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionnotificationendpoints$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionnotificationendpoints$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -95062,7 +97264,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95117,11 +97322,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionnotificationendpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionnotificationendpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionnotificationendpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -95154,8 +97359,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95210,11 +97415,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regionnotificationendpoints$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionnotificationendpoints$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionnotificationendpoints$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -95249,8 +97454,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95419,11 +97624,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionoperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionoperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionoperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -95450,7 +97655,10 @@ export namespace compute_beta { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95505,11 +97713,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -95538,7 +97746,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95593,11 +97804,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -95626,7 +97837,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95681,11 +97895,11 @@ export namespace compute_beta { wait( params: Params$Resource$Regionoperations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Regionoperations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Regionoperations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -95714,7 +97928,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95853,11 +98070,11 @@ export namespace compute_beta { get( params: Params$Resource$Regions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -95886,7 +98103,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95939,11 +98159,11 @@ export namespace compute_beta { list( params: Params$Resource$Regions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -95972,7 +98192,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96070,11 +98293,11 @@ export namespace compute_beta { addRule( params: Params$Resource$Regionsecuritypolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Regionsecuritypolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Regionsecuritypolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -96103,7 +98326,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96158,11 +98384,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionsecuritypolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionsecuritypolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionsecuritypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -96191,7 +98417,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96246,11 +98475,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionsecuritypolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsecuritypolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsecuritypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -96279,7 +98508,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96334,11 +98566,11 @@ export namespace compute_beta { getRule( params: Params$Resource$Regionsecuritypolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Regionsecuritypolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Regionsecuritypolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -96369,8 +98601,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96425,11 +98657,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionsecuritypolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionsecuritypolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionsecuritypolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -96458,7 +98690,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96513,11 +98748,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionsecuritypolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionsecuritypolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionsecuritypolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -96548,8 +98783,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96604,11 +98839,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regionsecuritypolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionsecuritypolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionsecuritypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -96637,7 +98872,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96692,11 +98930,11 @@ export namespace compute_beta { patchRule( params: Params$Resource$Regionsecuritypolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Regionsecuritypolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Regionsecuritypolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -96725,7 +98963,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96780,11 +99021,11 @@ export namespace compute_beta { removeRule( params: Params$Resource$Regionsecuritypolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Regionsecuritypolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Regionsecuritypolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -96813,7 +99054,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96868,11 +99112,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Regionsecuritypolicies$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Regionsecuritypolicies$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Regionsecuritypolicies$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -96901,7 +99145,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97199,11 +99446,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionsnapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionsnapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionsnapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -97232,7 +99479,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97287,11 +99537,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionsnapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsnapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsnapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -97320,7 +99570,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97375,11 +99628,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Regionsnapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regionsnapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regionsnapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -97408,7 +99661,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97463,11 +99719,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionsnapshots$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionsnapshots$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionsnapshots$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -97496,7 +99752,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97551,11 +99810,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionsnapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionsnapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionsnapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -97584,7 +99843,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97639,11 +99901,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Regionsnapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regionsnapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regionsnapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -97672,7 +99934,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97727,11 +99992,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Regionsnapshots$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Regionsnapshots$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Regionsnapshots$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -97760,7 +100025,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97815,11 +100083,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regionsnapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionsnapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionsnapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -97854,8 +100122,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98086,11 +100354,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionsnapshotsettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsnapshotsettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsnapshotsettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -98119,7 +100387,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshotsettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98174,11 +100445,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regionsnapshotsettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionsnapshotsettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionsnapshotsettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -98207,7 +100478,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsnapshotsettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98305,11 +100579,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionsslcertificates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionsslcertificates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionsslcertificates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -98338,7 +100612,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98393,11 +100670,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionsslcertificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsslcertificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsslcertificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -98426,7 +100703,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98481,11 +100761,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionsslcertificates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionsslcertificates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionsslcertificates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -98514,7 +100794,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98569,11 +100852,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionsslcertificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionsslcertificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionsslcertificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -98604,8 +100887,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98660,11 +100943,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regionsslcertificates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionsslcertificates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionsslcertificates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -98699,8 +100982,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98868,11 +101151,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionsslpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionsslpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionsslpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -98901,7 +101184,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98956,11 +101242,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionsslpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsslpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsslpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -98989,7 +101275,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99044,11 +101333,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionsslpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionsslpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionsslpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -99077,7 +101366,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99132,11 +101424,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionsslpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionsslpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionsslpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -99165,7 +101457,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99220,11 +101515,13 @@ export namespace compute_beta { listAvailableFeatures( params: Params$Resource$Regionsslpolicies$Listavailablefeatures, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAvailableFeatures( params?: Params$Resource$Regionsslpolicies$Listavailablefeatures, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAvailableFeatures( params: Params$Resource$Regionsslpolicies$Listavailablefeatures, options: StreamMethodOptions | BodyResponseCallback, @@ -99259,8 +101556,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Listavailablefeatures; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99317,11 +101616,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regionsslpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionsslpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionsslpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -99350,7 +101649,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99405,11 +101707,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regionsslpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionsslpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionsslpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -99444,8 +101746,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99668,11 +101970,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regiontargethttpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiontargethttpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiontargethttpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -99701,7 +102003,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99756,11 +102061,11 @@ export namespace compute_beta { get( params: Params$Resource$Regiontargethttpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiontargethttpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiontargethttpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -99789,7 +102094,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99844,11 +102152,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regiontargethttpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiontargethttpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiontargethttpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -99877,7 +102185,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99932,11 +102243,11 @@ export namespace compute_beta { list( params: Params$Resource$Regiontargethttpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiontargethttpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiontargethttpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -99967,8 +102278,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100023,11 +102334,11 @@ export namespace compute_beta { setUrlMap( params: Params$Resource$Regiontargethttpproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Regiontargethttpproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Regiontargethttpproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -100056,7 +102367,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100111,11 +102425,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regiontargethttpproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regiontargethttpproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regiontargethttpproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -100150,8 +102464,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100344,11 +102658,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regiontargethttpsproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiontargethttpsproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiontargethttpsproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -100377,7 +102691,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100432,11 +102749,11 @@ export namespace compute_beta { get( params: Params$Resource$Regiontargethttpsproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiontargethttpsproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiontargethttpsproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -100465,7 +102782,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100520,11 +102840,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regiontargethttpsproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiontargethttpsproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiontargethttpsproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -100553,7 +102873,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100608,11 +102931,11 @@ export namespace compute_beta { list( params: Params$Resource$Regiontargethttpsproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiontargethttpsproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiontargethttpsproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -100645,8 +102968,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100701,11 +103024,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regiontargethttpsproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regiontargethttpsproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regiontargethttpsproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -100734,7 +103057,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100789,11 +103115,11 @@ export namespace compute_beta { setSslCertificates( params: Params$Resource$Regiontargethttpsproxies$Setsslcertificates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params?: Params$Resource$Regiontargethttpsproxies$Setsslcertificates, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params: Params$Resource$Regiontargethttpsproxies$Setsslcertificates, options: StreamMethodOptions | BodyResponseCallback, @@ -100822,7 +103148,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Setsslcertificates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100878,11 +103207,11 @@ export namespace compute_beta { setUrlMap( params: Params$Resource$Regiontargethttpsproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Regiontargethttpsproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Regiontargethttpsproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -100911,7 +103240,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100966,11 +103298,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regiontargethttpsproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regiontargethttpsproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regiontargethttpsproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -101005,8 +103337,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101247,11 +103579,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regiontargettcpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiontargettcpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiontargettcpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -101280,7 +103612,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101335,11 +103670,11 @@ export namespace compute_beta { get( params: Params$Resource$Regiontargettcpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiontargettcpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiontargettcpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -101368,7 +103703,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101423,11 +103761,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regiontargettcpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiontargettcpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiontargettcpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -101456,7 +103794,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101511,11 +103852,11 @@ export namespace compute_beta { list( params: Params$Resource$Regiontargettcpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiontargettcpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiontargettcpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -101546,8 +103887,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101602,11 +103943,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regiontargettcpproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regiontargettcpproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regiontargettcpproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -101641,8 +103982,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101811,11 +104152,11 @@ export namespace compute_beta { delete( params: Params$Resource$Regionurlmaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionurlmaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionurlmaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -101844,7 +104185,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101899,11 +104243,11 @@ export namespace compute_beta { get( params: Params$Resource$Regionurlmaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionurlmaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionurlmaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -101932,7 +104276,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101987,11 +104334,11 @@ export namespace compute_beta { insert( params: Params$Resource$Regionurlmaps$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionurlmaps$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionurlmaps$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -102020,7 +104367,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102075,11 +104425,11 @@ export namespace compute_beta { invalidateCache( params: Params$Resource$Regionurlmaps$Invalidatecache, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; invalidateCache( params?: Params$Resource$Regionurlmaps$Invalidatecache, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; invalidateCache( params: Params$Resource$Regionurlmaps$Invalidatecache, options: StreamMethodOptions | BodyResponseCallback, @@ -102108,7 +104458,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Invalidatecache; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102163,11 +104516,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionurlmaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionurlmaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionurlmaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -102196,7 +104549,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102251,11 +104607,11 @@ export namespace compute_beta { patch( params: Params$Resource$Regionurlmaps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionurlmaps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionurlmaps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -102284,7 +104640,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102339,11 +104698,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Regionurlmaps$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionurlmaps$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionurlmaps$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -102378,8 +104737,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102434,11 +104793,11 @@ export namespace compute_beta { update( params: Params$Resource$Regionurlmaps$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionurlmaps$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionurlmaps$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -102467,7 +104826,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102522,11 +104884,11 @@ export namespace compute_beta { validate( params: Params$Resource$Regionurlmaps$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Regionurlmaps$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validate( params: Params$Resource$Regionurlmaps$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -102561,8 +104923,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102822,11 +105184,11 @@ export namespace compute_beta { list( params: Params$Resource$Regionzones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionzones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionzones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -102855,7 +105217,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionzones$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102947,11 +105312,11 @@ export namespace compute_beta { get( params: Params$Resource$Reservationblocks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reservationblocks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reservationblocks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -102986,8 +105351,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationblocks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103044,11 +105409,11 @@ export namespace compute_beta { list( params: Params$Resource$Reservationblocks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reservationblocks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reservationblocks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -103083,8 +105448,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationblocks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103141,11 +105506,11 @@ export namespace compute_beta { performMaintenance( params: Params$Resource$Reservationblocks$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Reservationblocks$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Reservationblocks$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -103174,7 +105539,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationblocks$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103319,11 +105687,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Reservations$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Reservations$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Reservations$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -103358,8 +105726,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103414,11 +105782,11 @@ export namespace compute_beta { delete( params: Params$Resource$Reservations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Reservations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Reservations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -103447,7 +105815,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103502,11 +105873,11 @@ export namespace compute_beta { get( params: Params$Resource$Reservations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reservations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reservations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -103535,7 +105906,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103589,11 +105963,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Reservations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Reservations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Reservations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -103622,7 +105996,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103677,11 +106054,11 @@ export namespace compute_beta { insert( params: Params$Resource$Reservations$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Reservations$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Reservations$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -103710,7 +106087,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103765,11 +106145,11 @@ export namespace compute_beta { list( params: Params$Resource$Reservations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reservations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reservations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -103798,7 +106178,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103853,11 +106236,11 @@ export namespace compute_beta { performMaintenance( params: Params$Resource$Reservations$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Reservations$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Reservations$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -103886,7 +106269,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103941,11 +106327,11 @@ export namespace compute_beta { resize( params: Params$Resource$Reservations$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Reservations$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Reservations$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -103974,7 +106360,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104029,11 +106418,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Reservations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Reservations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Reservations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -104062,7 +106451,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104117,11 +106509,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Reservations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Reservations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Reservations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -104156,8 +106548,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104212,11 +106604,11 @@ export namespace compute_beta { update( params: Params$Resource$Reservations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Reservations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Reservations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -104245,7 +106637,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104566,11 +106961,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Resourcepolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Resourcepolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Resourcepolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -104605,8 +107000,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104663,11 +107058,11 @@ export namespace compute_beta { delete( params: Params$Resource$Resourcepolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Resourcepolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Resourcepolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -104696,7 +107091,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104751,11 +107149,11 @@ export namespace compute_beta { get( params: Params$Resource$Resourcepolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resourcepolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resourcepolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -104784,7 +107182,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104839,11 +107240,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Resourcepolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Resourcepolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Resourcepolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -104872,7 +107273,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104927,11 +107331,11 @@ export namespace compute_beta { insert( params: Params$Resource$Resourcepolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Resourcepolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Resourcepolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -104960,7 +107364,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105015,11 +107422,11 @@ export namespace compute_beta { list( params: Params$Resource$Resourcepolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resourcepolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resourcepolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -105050,8 +107457,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105106,11 +107513,11 @@ export namespace compute_beta { patch( params: Params$Resource$Resourcepolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Resourcepolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Resourcepolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -105139,7 +107546,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105194,11 +107604,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Resourcepolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Resourcepolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Resourcepolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -105227,7 +107637,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105282,11 +107695,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Resourcepolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Resourcepolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Resourcepolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -105321,8 +107734,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105592,11 +108005,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Routers$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Routers$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Routers$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -105631,8 +108044,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105686,11 +108099,11 @@ export namespace compute_beta { delete( params: Params$Resource$Routers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Routers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Routers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -105719,7 +108132,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105773,11 +108189,11 @@ export namespace compute_beta { deleteRoutePolicy( params: Params$Resource$Routers$Deleteroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteRoutePolicy( params?: Params$Resource$Routers$Deleteroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteRoutePolicy( params: Params$Resource$Routers$Deleteroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -105806,7 +108222,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Deleteroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105861,11 +108280,11 @@ export namespace compute_beta { get( params: Params$Resource$Routers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Routers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Routers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -105894,7 +108313,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105948,11 +108370,11 @@ export namespace compute_beta { getNatIpInfo( params: Params$Resource$Routers$Getnatipinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNatIpInfo( params?: Params$Resource$Routers$Getnatipinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNatIpInfo( params: Params$Resource$Routers$Getnatipinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -105985,8 +108407,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getnatipinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106041,11 +108463,11 @@ export namespace compute_beta { getNatMappingInfo( params: Params$Resource$Routers$Getnatmappinginfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNatMappingInfo( params?: Params$Resource$Routers$Getnatmappinginfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNatMappingInfo( params: Params$Resource$Routers$Getnatmappinginfo, options: StreamMethodOptions | BodyResponseCallback, @@ -106080,8 +108502,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getnatmappinginfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106136,11 +108558,11 @@ export namespace compute_beta { getRoutePolicy( params: Params$Resource$Routers$Getroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRoutePolicy( params?: Params$Resource$Routers$Getroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRoutePolicy( params: Params$Resource$Routers$Getroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -106175,8 +108597,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106233,11 +108655,11 @@ export namespace compute_beta { getRouterStatus( params: Params$Resource$Routers$Getrouterstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRouterStatus( params?: Params$Resource$Routers$Getrouterstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRouterStatus( params: Params$Resource$Routers$Getrouterstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -106272,8 +108694,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getrouterstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106328,11 +108750,11 @@ export namespace compute_beta { insert( params: Params$Resource$Routers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Routers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Routers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -106361,7 +108783,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106415,11 +108840,11 @@ export namespace compute_beta { list( params: Params$Resource$Routers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Routers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Routers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -106448,7 +108873,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106502,11 +108930,11 @@ export namespace compute_beta { listBgpRoutes( params: Params$Resource$Routers$Listbgproutes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listBgpRoutes( params?: Params$Resource$Routers$Listbgproutes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listBgpRoutes( params: Params$Resource$Routers$Listbgproutes, options: StreamMethodOptions | BodyResponseCallback, @@ -106541,8 +108969,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Listbgproutes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106597,11 +109025,11 @@ export namespace compute_beta { listRoutePolicies( params: Params$Resource$Routers$Listroutepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRoutePolicies( params?: Params$Resource$Routers$Listroutepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listRoutePolicies( params: Params$Resource$Routers$Listroutepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -106636,8 +109064,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Listroutepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106692,11 +109120,11 @@ export namespace compute_beta { patch( params: Params$Resource$Routers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Routers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Routers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -106725,7 +109153,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106779,11 +109210,11 @@ export namespace compute_beta { patchRoutePolicy( params: Params$Resource$Routers$Patchroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRoutePolicy( params?: Params$Resource$Routers$Patchroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRoutePolicy( params: Params$Resource$Routers$Patchroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -106812,7 +109243,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Patchroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106867,11 +109301,11 @@ export namespace compute_beta { preview( params: Params$Resource$Routers$Preview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; preview( params?: Params$Resource$Routers$Preview, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; preview( params: Params$Resource$Routers$Preview, options: StreamMethodOptions | BodyResponseCallback, @@ -106906,8 +109340,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Preview; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106961,11 +109395,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Routers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Routers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Routers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -107000,8 +109434,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107056,11 +109490,11 @@ export namespace compute_beta { update( params: Params$Resource$Routers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Routers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Routers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -107089,7 +109523,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107143,11 +109580,11 @@ export namespace compute_beta { updateRoutePolicy( params: Params$Resource$Routers$Updateroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateRoutePolicy( params?: Params$Resource$Routers$Updateroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateRoutePolicy( params: Params$Resource$Routers$Updateroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -107176,7 +109613,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Updateroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107693,11 +110133,11 @@ export namespace compute_beta { delete( params: Params$Resource$Routes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Routes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Routes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -107726,7 +110166,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107779,11 +110222,11 @@ export namespace compute_beta { get( params: Params$Resource$Routes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Routes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Routes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -107812,7 +110255,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107865,11 +110311,11 @@ export namespace compute_beta { insert( params: Params$Resource$Routes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Routes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Routes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -107898,7 +110344,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107951,11 +110400,11 @@ export namespace compute_beta { list( params: Params$Resource$Routes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Routes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Routes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -107984,7 +110433,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108037,11 +110489,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Routes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Routes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Routes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -108076,8 +110528,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108221,11 +110673,11 @@ export namespace compute_beta { addRule( params: Params$Resource$Securitypolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Securitypolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Securitypolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -108254,7 +110706,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108309,11 +110764,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Securitypolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Securitypolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Securitypolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -108348,8 +110803,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108406,11 +110861,11 @@ export namespace compute_beta { delete( params: Params$Resource$Securitypolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Securitypolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Securitypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -108439,7 +110894,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108494,11 +110952,11 @@ export namespace compute_beta { get( params: Params$Resource$Securitypolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Securitypolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Securitypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -108527,7 +110985,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108582,11 +111043,11 @@ export namespace compute_beta { getRule( params: Params$Resource$Securitypolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Securitypolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Securitypolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -108617,8 +111078,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108673,11 +111134,11 @@ export namespace compute_beta { insert( params: Params$Resource$Securitypolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Securitypolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Securitypolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -108706,7 +111167,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108761,11 +111225,11 @@ export namespace compute_beta { list( params: Params$Resource$Securitypolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Securitypolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Securitypolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -108796,8 +111260,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108852,11 +111316,13 @@ export namespace compute_beta { listPreconfiguredExpressionSets( params: Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPreconfiguredExpressionSets( params?: Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPreconfiguredExpressionSets( params: Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, options: StreamMethodOptions | BodyResponseCallback, @@ -108891,8 +111357,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108950,11 +111418,11 @@ export namespace compute_beta { patch( params: Params$Resource$Securitypolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Securitypolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Securitypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -108983,7 +111451,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109038,11 +111509,11 @@ export namespace compute_beta { patchRule( params: Params$Resource$Securitypolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Securitypolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Securitypolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -109071,7 +111542,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109126,11 +111600,11 @@ export namespace compute_beta { removeRule( params: Params$Resource$Securitypolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Securitypolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Securitypolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -109159,7 +111633,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109214,11 +111691,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Securitypolicies$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Securitypolicies$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Securitypolicies$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -109247,7 +111724,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109302,11 +111782,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Securitypolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Securitypolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Securitypolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -109341,8 +111821,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109674,11 +112154,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Serviceattachments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Serviceattachments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Serviceattachments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -109713,8 +112193,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109771,11 +112251,11 @@ export namespace compute_beta { delete( params: Params$Resource$Serviceattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Serviceattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Serviceattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -109804,7 +112284,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109859,11 +112342,11 @@ export namespace compute_beta { get( params: Params$Resource$Serviceattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Serviceattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Serviceattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -109894,8 +112377,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109950,11 +112433,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Serviceattachments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Serviceattachments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Serviceattachments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -109983,7 +112466,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110038,11 +112524,11 @@ export namespace compute_beta { insert( params: Params$Resource$Serviceattachments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Serviceattachments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Serviceattachments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -110071,7 +112557,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110126,11 +112615,11 @@ export namespace compute_beta { list( params: Params$Resource$Serviceattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Serviceattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Serviceattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -110163,8 +112652,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110219,11 +112708,11 @@ export namespace compute_beta { patch( params: Params$Resource$Serviceattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Serviceattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Serviceattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -110252,7 +112741,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110307,11 +112799,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Serviceattachments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Serviceattachments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Serviceattachments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -110340,7 +112832,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110395,11 +112890,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Serviceattachments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Serviceattachments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Serviceattachments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -110434,8 +112929,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110701,11 +113196,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Snapshots$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Snapshots$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Snapshots$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -110740,8 +113235,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110795,11 +113290,11 @@ export namespace compute_beta { delete( params: Params$Resource$Snapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Snapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Snapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -110828,7 +113323,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110882,11 +113380,11 @@ export namespace compute_beta { get( params: Params$Resource$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -110915,7 +113413,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110969,11 +113470,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Snapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Snapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Snapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -111002,7 +113503,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111057,11 +113561,11 @@ export namespace compute_beta { insert( params: Params$Resource$Snapshots$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Snapshots$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Snapshots$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -111090,7 +113594,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111143,11 +113650,11 @@ export namespace compute_beta { list( params: Params$Resource$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -111176,7 +113683,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111229,11 +113739,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Snapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Snapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Snapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -111262,7 +113772,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111317,11 +113830,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Snapshots$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Snapshots$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Snapshots$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -111350,7 +113863,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111405,11 +113921,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Snapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Snapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Snapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -111444,8 +113960,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111671,11 +114187,11 @@ export namespace compute_beta { get( params: Params$Resource$Snapshotsettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Snapshotsettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Snapshotsettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -111704,7 +114220,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotsettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111759,11 +114278,11 @@ export namespace compute_beta { patch( params: Params$Resource$Snapshotsettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Snapshotsettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Snapshotsettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -111792,7 +114311,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotsettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111882,11 +114404,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Sslcertificates$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Sslcertificates$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Sslcertificates$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -111921,8 +114443,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111979,11 +114501,11 @@ export namespace compute_beta { delete( params: Params$Resource$Sslcertificates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sslcertificates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sslcertificates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -112012,7 +114534,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112067,11 +114592,11 @@ export namespace compute_beta { get( params: Params$Resource$Sslcertificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sslcertificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sslcertificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -112100,7 +114625,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112155,11 +114683,11 @@ export namespace compute_beta { insert( params: Params$Resource$Sslcertificates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sslcertificates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sslcertificates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -112188,7 +114716,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112243,11 +114774,11 @@ export namespace compute_beta { list( params: Params$Resource$Sslcertificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sslcertificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sslcertificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -112278,8 +114809,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112334,11 +114865,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Sslcertificates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Sslcertificates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Sslcertificates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -112373,8 +114904,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112557,11 +115088,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Sslpolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Sslpolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Sslpolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -112596,8 +115127,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112652,11 +115183,11 @@ export namespace compute_beta { delete( params: Params$Resource$Sslpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sslpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sslpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -112685,7 +115216,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112740,11 +115274,11 @@ export namespace compute_beta { get( params: Params$Resource$Sslpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sslpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sslpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -112773,7 +115307,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112827,11 +115364,11 @@ export namespace compute_beta { insert( params: Params$Resource$Sslpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sslpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sslpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -112860,7 +115397,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112914,11 +115454,11 @@ export namespace compute_beta { list( params: Params$Resource$Sslpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sslpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sslpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -112947,7 +115487,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113000,11 +115543,13 @@ export namespace compute_beta { listAvailableFeatures( params: Params$Resource$Sslpolicies$Listavailablefeatures, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAvailableFeatures( params?: Params$Resource$Sslpolicies$Listavailablefeatures, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAvailableFeatures( params: Params$Resource$Sslpolicies$Listavailablefeatures, options: StreamMethodOptions | BodyResponseCallback, @@ -113039,8 +115584,10 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Listavailablefeatures; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113097,11 +115644,11 @@ export namespace compute_beta { patch( params: Params$Resource$Sslpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Sslpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Sslpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -113130,7 +115677,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113185,11 +115735,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Sslpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Sslpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Sslpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -113224,8 +115774,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113453,11 +116003,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Storagepools$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Storagepools$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Storagepools$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -113492,8 +116042,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113548,11 +116098,11 @@ export namespace compute_beta { delete( params: Params$Resource$Storagepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Storagepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Storagepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -113581,7 +116131,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113636,11 +116189,11 @@ export namespace compute_beta { get( params: Params$Resource$Storagepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Storagepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Storagepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -113669,7 +116222,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113723,11 +116279,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Storagepools$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Storagepools$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Storagepools$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -113756,7 +116312,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113811,11 +116370,11 @@ export namespace compute_beta { insert( params: Params$Resource$Storagepools$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Storagepools$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Storagepools$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -113844,7 +116403,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113899,11 +116461,11 @@ export namespace compute_beta { list( params: Params$Resource$Storagepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Storagepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Storagepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -113932,7 +116494,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -113987,11 +116552,11 @@ export namespace compute_beta { listDisks( params: Params$Resource$Storagepools$Listdisks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDisks( params?: Params$Resource$Storagepools$Listdisks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listDisks( params: Params$Resource$Storagepools$Listdisks, options: StreamMethodOptions | BodyResponseCallback, @@ -114026,8 +116591,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Listdisks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114082,11 +116647,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Storagepools$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Storagepools$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Storagepools$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -114115,7 +116680,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114170,11 +116738,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Storagepools$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Storagepools$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Storagepools$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -114209,8 +116777,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114265,11 +116833,11 @@ export namespace compute_beta { update( params: Params$Resource$Storagepools$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Storagepools$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Storagepools$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -114298,7 +116866,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114602,11 +117173,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Storagepooltypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Storagepooltypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Storagepooltypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -114641,8 +117212,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepooltypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114699,11 +117270,11 @@ export namespace compute_beta { get( params: Params$Resource$Storagepooltypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Storagepooltypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Storagepooltypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -114732,7 +117303,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepooltypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114787,11 +117361,11 @@ export namespace compute_beta { list( params: Params$Resource$Storagepooltypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Storagepooltypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Storagepooltypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -114822,8 +117396,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepooltypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -114967,11 +117541,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Subnetworks$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Subnetworks$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Subnetworks$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -115006,8 +117580,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115062,11 +117636,11 @@ export namespace compute_beta { delete( params: Params$Resource$Subnetworks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Subnetworks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Subnetworks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -115095,7 +117669,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115150,11 +117727,11 @@ export namespace compute_beta { expandIpCidrRange( params: Params$Resource$Subnetworks$Expandipcidrrange, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; expandIpCidrRange( params?: Params$Resource$Subnetworks$Expandipcidrrange, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; expandIpCidrRange( params: Params$Resource$Subnetworks$Expandipcidrrange, options: StreamMethodOptions | BodyResponseCallback, @@ -115183,7 +117760,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Expandipcidrrange; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115238,11 +117818,11 @@ export namespace compute_beta { get( params: Params$Resource$Subnetworks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Subnetworks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Subnetworks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -115271,7 +117851,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115325,11 +117908,11 @@ export namespace compute_beta { getIamPolicy( params: Params$Resource$Subnetworks$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Subnetworks$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Subnetworks$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -115358,7 +117941,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115413,11 +117999,11 @@ export namespace compute_beta { insert( params: Params$Resource$Subnetworks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Subnetworks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Subnetworks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -115446,7 +118032,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115501,11 +118090,11 @@ export namespace compute_beta { list( params: Params$Resource$Subnetworks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Subnetworks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Subnetworks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -115534,7 +118123,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115588,11 +118180,11 @@ export namespace compute_beta { listUsable( params: Params$Resource$Subnetworks$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Subnetworks$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Subnetworks$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -115627,8 +118219,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115685,11 +118277,11 @@ export namespace compute_beta { patch( params: Params$Resource$Subnetworks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Subnetworks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Subnetworks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -115718,7 +118310,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115773,11 +118368,11 @@ export namespace compute_beta { setIamPolicy( params: Params$Resource$Subnetworks$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Subnetworks$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Subnetworks$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -115806,7 +118401,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115861,11 +118459,11 @@ export namespace compute_beta { setPrivateIpGoogleAccess( params: Params$Resource$Subnetworks$Setprivateipgoogleaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setPrivateIpGoogleAccess( params?: Params$Resource$Subnetworks$Setprivateipgoogleaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setPrivateIpGoogleAccess( params: Params$Resource$Subnetworks$Setprivateipgoogleaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -115896,7 +118494,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Setprivateipgoogleaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -115951,11 +118552,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Subnetworks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Subnetworks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Subnetworks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -115990,8 +118591,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116338,11 +118939,11 @@ export namespace compute_beta { delete( params: Params$Resource$Targetgrpcproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetgrpcproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetgrpcproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -116371,7 +118972,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116426,11 +119030,11 @@ export namespace compute_beta { get( params: Params$Resource$Targetgrpcproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetgrpcproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetgrpcproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -116459,7 +119063,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116514,11 +119121,11 @@ export namespace compute_beta { insert( params: Params$Resource$Targetgrpcproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetgrpcproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetgrpcproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -116547,7 +119154,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116602,11 +119212,11 @@ export namespace compute_beta { list( params: Params$Resource$Targetgrpcproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetgrpcproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetgrpcproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -116637,8 +119247,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116693,11 +119303,11 @@ export namespace compute_beta { patch( params: Params$Resource$Targetgrpcproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targetgrpcproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targetgrpcproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -116726,7 +119336,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116781,11 +119394,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Targetgrpcproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targetgrpcproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targetgrpcproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -116820,8 +119433,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -116989,11 +119602,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Targethttpproxies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targethttpproxies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targethttpproxies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -117028,8 +119641,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117086,11 +119699,11 @@ export namespace compute_beta { delete( params: Params$Resource$Targethttpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targethttpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targethttpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -117119,7 +119732,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117174,11 +119790,11 @@ export namespace compute_beta { get( params: Params$Resource$Targethttpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targethttpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targethttpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -117207,7 +119823,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117262,11 +119881,11 @@ export namespace compute_beta { insert( params: Params$Resource$Targethttpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targethttpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targethttpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -117295,7 +119914,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117350,11 +119972,11 @@ export namespace compute_beta { list( params: Params$Resource$Targethttpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targethttpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targethttpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -117385,8 +120007,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117441,11 +120063,11 @@ export namespace compute_beta { patch( params: Params$Resource$Targethttpproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targethttpproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targethttpproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -117474,7 +120096,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117529,11 +120154,11 @@ export namespace compute_beta { setUrlMap( params: Params$Resource$Targethttpproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Targethttpproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Targethttpproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -117562,7 +120187,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117617,11 +120245,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Targethttpproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targethttpproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targethttpproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -117656,8 +120284,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117880,11 +120508,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Targethttpsproxies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targethttpsproxies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targethttpsproxies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -117919,8 +120547,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -117977,11 +120605,11 @@ export namespace compute_beta { delete( params: Params$Resource$Targethttpsproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targethttpsproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targethttpsproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -118010,7 +120638,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118065,11 +120696,11 @@ export namespace compute_beta { get( params: Params$Resource$Targethttpsproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targethttpsproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targethttpsproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -118098,7 +120729,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118153,11 +120787,11 @@ export namespace compute_beta { insert( params: Params$Resource$Targethttpsproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targethttpsproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targethttpsproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -118186,7 +120820,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118241,11 +120878,11 @@ export namespace compute_beta { list( params: Params$Resource$Targethttpsproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targethttpsproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targethttpsproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -118278,8 +120915,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118334,11 +120971,11 @@ export namespace compute_beta { patch( params: Params$Resource$Targethttpsproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targethttpsproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targethttpsproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -118367,7 +121004,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118422,11 +121062,11 @@ export namespace compute_beta { setCertificateMap( params: Params$Resource$Targethttpsproxies$Setcertificatemap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params?: Params$Resource$Targethttpsproxies$Setcertificatemap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params: Params$Resource$Targethttpsproxies$Setcertificatemap, options: StreamMethodOptions | BodyResponseCallback, @@ -118455,7 +121095,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setcertificatemap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118510,11 +121153,11 @@ export namespace compute_beta { setQuicOverride( params: Params$Resource$Targethttpsproxies$Setquicoverride, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setQuicOverride( params?: Params$Resource$Targethttpsproxies$Setquicoverride, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setQuicOverride( params: Params$Resource$Targethttpsproxies$Setquicoverride, options: StreamMethodOptions | BodyResponseCallback, @@ -118543,7 +121186,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setquicoverride; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118598,11 +121244,11 @@ export namespace compute_beta { setSslCertificates( params: Params$Resource$Targethttpsproxies$Setsslcertificates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params?: Params$Resource$Targethttpsproxies$Setsslcertificates, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params: Params$Resource$Targethttpsproxies$Setsslcertificates, options: StreamMethodOptions | BodyResponseCallback, @@ -118631,7 +121277,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setsslcertificates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118686,11 +121335,11 @@ export namespace compute_beta { setSslPolicy( params: Params$Resource$Targethttpsproxies$Setsslpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params?: Params$Resource$Targethttpsproxies$Setsslpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params: Params$Resource$Targethttpsproxies$Setsslpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -118719,7 +121368,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setsslpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118774,11 +121426,11 @@ export namespace compute_beta { setUrlMap( params: Params$Resource$Targethttpsproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Targethttpsproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Targethttpsproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -118807,7 +121459,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -118862,11 +121517,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Targethttpsproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targethttpsproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targethttpsproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -118901,8 +121556,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119205,11 +121860,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Targetinstances$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targetinstances$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targetinstances$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -119244,8 +121899,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119302,11 +121957,11 @@ export namespace compute_beta { delete( params: Params$Resource$Targetinstances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetinstances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetinstances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -119335,7 +121990,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119390,11 +122048,11 @@ export namespace compute_beta { get( params: Params$Resource$Targetinstances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetinstances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetinstances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -119423,7 +122081,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119478,11 +122139,11 @@ export namespace compute_beta { insert( params: Params$Resource$Targetinstances$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetinstances$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetinstances$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -119511,7 +122172,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119566,11 +122230,11 @@ export namespace compute_beta { list( params: Params$Resource$Targetinstances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetinstances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetinstances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -119601,8 +122265,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119657,11 +122321,11 @@ export namespace compute_beta { setSecurityPolicy( params: Params$Resource$Targetinstances$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Targetinstances$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Targetinstances$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -119690,7 +122354,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -119745,11 +122412,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Targetinstances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targetinstances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targetinstances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -119784,8 +122451,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120012,11 +122679,11 @@ export namespace compute_beta { addHealthCheck( params: Params$Resource$Targetpools$Addhealthcheck, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addHealthCheck( params?: Params$Resource$Targetpools$Addhealthcheck, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addHealthCheck( params: Params$Resource$Targetpools$Addhealthcheck, options: StreamMethodOptions | BodyResponseCallback, @@ -120045,7 +122712,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Addhealthcheck; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120100,11 +122770,11 @@ export namespace compute_beta { addInstance( params: Params$Resource$Targetpools$Addinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addInstance( params?: Params$Resource$Targetpools$Addinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addInstance( params: Params$Resource$Targetpools$Addinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -120133,7 +122803,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Addinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120188,11 +122861,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Targetpools$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targetpools$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targetpools$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -120227,8 +122900,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120283,11 +122956,11 @@ export namespace compute_beta { delete( params: Params$Resource$Targetpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -120316,7 +122989,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120371,11 +123047,11 @@ export namespace compute_beta { get( params: Params$Resource$Targetpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -120404,7 +123080,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120458,11 +123137,11 @@ export namespace compute_beta { getHealth( params: Params$Resource$Targetpools$Gethealth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params?: Params$Resource$Targetpools$Gethealth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params: Params$Resource$Targetpools$Gethealth, options: StreamMethodOptions | BodyResponseCallback, @@ -120497,8 +123176,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Gethealth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120553,11 +123232,11 @@ export namespace compute_beta { insert( params: Params$Resource$Targetpools$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetpools$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetpools$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -120586,7 +123265,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120641,11 +123323,11 @@ export namespace compute_beta { list( params: Params$Resource$Targetpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -120674,7 +123356,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120728,11 +123413,11 @@ export namespace compute_beta { removeHealthCheck( params: Params$Resource$Targetpools$Removehealthcheck, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeHealthCheck( params?: Params$Resource$Targetpools$Removehealthcheck, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeHealthCheck( params: Params$Resource$Targetpools$Removehealthcheck, options: StreamMethodOptions | BodyResponseCallback, @@ -120761,7 +123446,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Removehealthcheck; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120816,11 +123504,11 @@ export namespace compute_beta { removeInstance( params: Params$Resource$Targetpools$Removeinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeInstance( params?: Params$Resource$Targetpools$Removeinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeInstance( params: Params$Resource$Targetpools$Removeinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -120849,7 +123537,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Removeinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120904,11 +123595,11 @@ export namespace compute_beta { setBackup( params: Params$Resource$Targetpools$Setbackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBackup( params?: Params$Resource$Targetpools$Setbackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBackup( params: Params$Resource$Targetpools$Setbackup, options: StreamMethodOptions | BodyResponseCallback, @@ -120937,7 +123628,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Setbackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -120992,11 +123686,11 @@ export namespace compute_beta { setSecurityPolicy( params: Params$Resource$Targetpools$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Targetpools$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Targetpools$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -121025,7 +123719,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121080,11 +123777,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Targetpools$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targetpools$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targetpools$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -121119,8 +123816,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121489,11 +124186,11 @@ export namespace compute_beta { delete( params: Params$Resource$Targetsslproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetsslproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetsslproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -121522,7 +124219,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121577,11 +124277,11 @@ export namespace compute_beta { get( params: Params$Resource$Targetsslproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetsslproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetsslproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -121610,7 +124310,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121665,11 +124368,11 @@ export namespace compute_beta { insert( params: Params$Resource$Targetsslproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetsslproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetsslproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -121698,7 +124401,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121753,11 +124459,11 @@ export namespace compute_beta { list( params: Params$Resource$Targetsslproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetsslproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetsslproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -121788,8 +124494,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121844,11 +124550,11 @@ export namespace compute_beta { setBackendService( params: Params$Resource$Targetsslproxies$Setbackendservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params?: Params$Resource$Targetsslproxies$Setbackendservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params: Params$Resource$Targetsslproxies$Setbackendservice, options: StreamMethodOptions | BodyResponseCallback, @@ -121877,7 +124583,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setbackendservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -121932,11 +124641,11 @@ export namespace compute_beta { setCertificateMap( params: Params$Resource$Targetsslproxies$Setcertificatemap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params?: Params$Resource$Targetsslproxies$Setcertificatemap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params: Params$Resource$Targetsslproxies$Setcertificatemap, options: StreamMethodOptions | BodyResponseCallback, @@ -121965,7 +124674,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setcertificatemap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122020,11 +124732,11 @@ export namespace compute_beta { setProxyHeader( params: Params$Resource$Targetsslproxies$Setproxyheader, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params?: Params$Resource$Targetsslproxies$Setproxyheader, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params: Params$Resource$Targetsslproxies$Setproxyheader, options: StreamMethodOptions | BodyResponseCallback, @@ -122053,7 +124765,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setproxyheader; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122108,11 +124823,11 @@ export namespace compute_beta { setSslCertificates( params: Params$Resource$Targetsslproxies$Setsslcertificates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params?: Params$Resource$Targetsslproxies$Setsslcertificates, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params: Params$Resource$Targetsslproxies$Setsslcertificates, options: StreamMethodOptions | BodyResponseCallback, @@ -122141,7 +124856,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setsslcertificates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122196,11 +124914,11 @@ export namespace compute_beta { setSslPolicy( params: Params$Resource$Targetsslproxies$Setsslpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params?: Params$Resource$Targetsslproxies$Setsslpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params: Params$Resource$Targetsslproxies$Setsslpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -122229,7 +124947,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setsslpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122284,11 +125005,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Targetsslproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targetsslproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targetsslproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -122323,8 +125044,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122572,11 +125293,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Targettcpproxies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targettcpproxies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targettcpproxies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -122611,8 +125332,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122669,11 +125390,11 @@ export namespace compute_beta { delete( params: Params$Resource$Targettcpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targettcpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targettcpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -122702,7 +125423,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122757,11 +125481,11 @@ export namespace compute_beta { get( params: Params$Resource$Targettcpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targettcpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targettcpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -122790,7 +125514,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122845,11 +125572,11 @@ export namespace compute_beta { insert( params: Params$Resource$Targettcpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targettcpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targettcpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -122878,7 +125605,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -122933,11 +125663,11 @@ export namespace compute_beta { list( params: Params$Resource$Targettcpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targettcpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targettcpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -122968,8 +125698,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123024,11 +125754,11 @@ export namespace compute_beta { setBackendService( params: Params$Resource$Targettcpproxies$Setbackendservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params?: Params$Resource$Targettcpproxies$Setbackendservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params: Params$Resource$Targettcpproxies$Setbackendservice, options: StreamMethodOptions | BodyResponseCallback, @@ -123057,7 +125787,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Setbackendservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123112,11 +125845,11 @@ export namespace compute_beta { setProxyHeader( params: Params$Resource$Targettcpproxies$Setproxyheader, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params?: Params$Resource$Targettcpproxies$Setproxyheader, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params: Params$Resource$Targettcpproxies$Setproxyheader, options: StreamMethodOptions | BodyResponseCallback, @@ -123145,7 +125878,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Setproxyheader; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123200,11 +125936,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Targettcpproxies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targettcpproxies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targettcpproxies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -123239,8 +125975,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123463,11 +126199,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Targetvpngateways$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targetvpngateways$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targetvpngateways$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -123502,8 +126238,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123560,11 +126296,11 @@ export namespace compute_beta { delete( params: Params$Resource$Targetvpngateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetvpngateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetvpngateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -123593,7 +126329,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123648,11 +126387,11 @@ export namespace compute_beta { get( params: Params$Resource$Targetvpngateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetvpngateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetvpngateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -123681,7 +126420,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123736,11 +126478,11 @@ export namespace compute_beta { insert( params: Params$Resource$Targetvpngateways$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetvpngateways$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetvpngateways$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -123769,7 +126511,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123824,11 +126569,11 @@ export namespace compute_beta { list( params: Params$Resource$Targetvpngateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetvpngateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetvpngateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -123861,8 +126606,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -123917,11 +126662,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Targetvpngateways$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Targetvpngateways$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Targetvpngateways$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -123950,7 +126695,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124005,11 +126753,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Targetvpngateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Targetvpngateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Targetvpngateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -124044,8 +126792,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124272,11 +127020,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Urlmaps$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Urlmaps$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Urlmaps$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -124311,8 +127059,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124366,11 +127114,11 @@ export namespace compute_beta { delete( params: Params$Resource$Urlmaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Urlmaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Urlmaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -124399,7 +127147,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124453,11 +127204,11 @@ export namespace compute_beta { get( params: Params$Resource$Urlmaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Urlmaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Urlmaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -124486,7 +127237,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124540,11 +127294,11 @@ export namespace compute_beta { insert( params: Params$Resource$Urlmaps$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Urlmaps$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Urlmaps$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -124573,7 +127327,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124626,11 +127383,11 @@ export namespace compute_beta { invalidateCache( params: Params$Resource$Urlmaps$Invalidatecache, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; invalidateCache( params?: Params$Resource$Urlmaps$Invalidatecache, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; invalidateCache( params: Params$Resource$Urlmaps$Invalidatecache, options: StreamMethodOptions | BodyResponseCallback, @@ -124659,7 +127416,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Invalidatecache; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124714,11 +127474,11 @@ export namespace compute_beta { list( params: Params$Resource$Urlmaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Urlmaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Urlmaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -124747,7 +127507,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124800,11 +127563,11 @@ export namespace compute_beta { patch( params: Params$Resource$Urlmaps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Urlmaps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Urlmaps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -124833,7 +127596,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124887,11 +127653,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Urlmaps$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Urlmaps$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Urlmaps$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -124926,8 +127692,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -124982,11 +127748,11 @@ export namespace compute_beta { update( params: Params$Resource$Urlmaps$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Urlmaps$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Urlmaps$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -125015,7 +127781,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125069,11 +127838,11 @@ export namespace compute_beta { validate( params: Params$Resource$Urlmaps$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Urlmaps$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validate( params: Params$Resource$Urlmaps$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -125108,8 +127877,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125360,11 +128129,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Vpngateways$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Vpngateways$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Vpngateways$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -125399,8 +128168,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125455,11 +128224,11 @@ export namespace compute_beta { delete( params: Params$Resource$Vpngateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Vpngateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Vpngateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -125488,7 +128257,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125543,11 +128315,11 @@ export namespace compute_beta { get( params: Params$Resource$Vpngateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vpngateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Vpngateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -125576,7 +128348,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125630,11 +128405,11 @@ export namespace compute_beta { getStatus( params: Params$Resource$Vpngateways$Getstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStatus( params?: Params$Resource$Vpngateways$Getstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStatus( params: Params$Resource$Vpngateways$Getstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -125669,8 +128444,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Getstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125727,11 +128502,11 @@ export namespace compute_beta { insert( params: Params$Resource$Vpngateways$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Vpngateways$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Vpngateways$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -125760,7 +128535,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125815,11 +128593,11 @@ export namespace compute_beta { list( params: Params$Resource$Vpngateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Vpngateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Vpngateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -125848,7 +128626,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125902,11 +128683,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Vpngateways$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Vpngateways$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Vpngateways$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -125935,7 +128716,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -125990,11 +128774,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Vpngateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Vpngateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Vpngateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -126029,8 +128813,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126270,11 +129054,11 @@ export namespace compute_beta { aggregatedList( params: Params$Resource$Vpntunnels$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Vpntunnels$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Vpntunnels$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -126309,8 +129093,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126364,11 +129148,11 @@ export namespace compute_beta { delete( params: Params$Resource$Vpntunnels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Vpntunnels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Vpntunnels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -126397,7 +129181,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126452,11 +129239,11 @@ export namespace compute_beta { get( params: Params$Resource$Vpntunnels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vpntunnels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Vpntunnels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -126485,7 +129272,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126539,11 +129329,11 @@ export namespace compute_beta { insert( params: Params$Resource$Vpntunnels$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Vpntunnels$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Vpntunnels$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -126572,7 +129362,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126627,11 +129420,11 @@ export namespace compute_beta { list( params: Params$Resource$Vpntunnels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Vpntunnels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Vpntunnels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -126660,7 +129453,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126714,11 +129510,11 @@ export namespace compute_beta { setLabels( params: Params$Resource$Vpntunnels$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Vpntunnels$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Vpntunnels$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -126747,7 +129543,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -126802,11 +129601,11 @@ export namespace compute_beta { testIamPermissions( params: Params$Resource$Vpntunnels$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Vpntunnels$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Vpntunnels$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -126841,8 +129640,8 @@ export namespace compute_beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127067,11 +129866,11 @@ export namespace compute_beta { delete( params: Params$Resource$Wiregroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Wiregroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Wiregroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -127100,7 +129899,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Wiregroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127155,11 +129957,11 @@ export namespace compute_beta { get( params: Params$Resource$Wiregroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Wiregroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Wiregroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -127188,7 +129990,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Wiregroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127242,11 +130047,11 @@ export namespace compute_beta { insert( params: Params$Resource$Wiregroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Wiregroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Wiregroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -127275,7 +130080,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Wiregroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127330,11 +130138,11 @@ export namespace compute_beta { list( params: Params$Resource$Wiregroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Wiregroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Wiregroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -127363,7 +130171,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Wiregroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127417,11 +130228,11 @@ export namespace compute_beta { patch( params: Params$Resource$Wiregroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Wiregroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Wiregroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -127450,7 +130261,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Wiregroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127630,11 +130444,11 @@ export namespace compute_beta { delete( params: Params$Resource$Zoneoperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Zoneoperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Zoneoperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -127661,7 +130475,10 @@ export namespace compute_beta { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127716,11 +130533,11 @@ export namespace compute_beta { get( params: Params$Resource$Zoneoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Zoneoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Zoneoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -127749,7 +130566,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127804,11 +130624,11 @@ export namespace compute_beta { list( params: Params$Resource$Zoneoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Zoneoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Zoneoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -127837,7 +130657,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -127892,11 +130715,11 @@ export namespace compute_beta { wait( params: Params$Resource$Zoneoperations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Zoneoperations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Zoneoperations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -127925,7 +130748,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -128064,11 +130890,11 @@ export namespace compute_beta { get( params: Params$Resource$Zones$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Zones$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Zones$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -128097,7 +130923,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zones$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -128150,11 +130979,11 @@ export namespace compute_beta { list( params: Params$Resource$Zones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Zones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Zones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -128183,7 +131012,10 @@ export namespace compute_beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zones$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/compute/index.ts b/src/apis/compute/index.ts index b2ec067e2c7..e49b4985b76 100644 --- a/src/apis/compute/index.ts +++ b/src/apis/compute/index.ts @@ -56,7 +56,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/compute/package.json b/src/apis/compute/package.json index d58875a8d26..74a0d80ac1f 100644 --- a/src/apis/compute/package.json +++ b/src/apis/compute/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/compute/v1.ts b/src/apis/compute/v1.ts index 8a9c9fd029b..b2c8cf1ef38 100644 --- a/src/apis/compute/v1.ts +++ b/src/apis/compute/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -7752,7 +7752,7 @@ export namespace compute_v1 { */ labels?: {[key: string]: string} | null; /** - * Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. + * Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not specified, the value will default to 1440. */ mtu?: number | null; /** @@ -19601,11 +19601,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Acceleratortypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Acceleratortypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Acceleratortypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -19640,8 +19640,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acceleratortypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19698,11 +19698,11 @@ export namespace compute_v1 { get( params: Params$Resource$Acceleratortypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Acceleratortypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Acceleratortypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19731,7 +19731,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acceleratortypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19786,11 +19789,11 @@ export namespace compute_v1 { list( params: Params$Resource$Acceleratortypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Acceleratortypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Acceleratortypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19821,8 +19824,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Acceleratortypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19966,11 +19969,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Addresses$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Addresses$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Addresses$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -20005,8 +20008,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20060,11 +20063,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Addresses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Addresses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Addresses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20093,7 +20096,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20147,11 +20153,11 @@ export namespace compute_v1 { get( params: Params$Resource$Addresses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Addresses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Addresses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20180,7 +20186,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20234,11 +20243,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Addresses$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Addresses$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Addresses$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -20267,7 +20276,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20321,11 +20333,11 @@ export namespace compute_v1 { list( params: Params$Resource$Addresses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Addresses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Addresses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20354,7 +20366,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20408,11 +20423,11 @@ export namespace compute_v1 { move( params: Params$Resource$Addresses$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Addresses$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Addresses$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -20441,7 +20456,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20495,11 +20513,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Addresses$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Addresses$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Addresses$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -20528,7 +20546,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Addresses$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20754,11 +20775,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Autoscalers$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Autoscalers$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Autoscalers$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -20793,8 +20814,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20848,11 +20869,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Autoscalers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Autoscalers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Autoscalers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20881,7 +20902,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20936,11 +20960,11 @@ export namespace compute_v1 { get( params: Params$Resource$Autoscalers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Autoscalers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Autoscalers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20969,7 +20993,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21023,11 +21050,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Autoscalers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Autoscalers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Autoscalers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -21056,7 +21083,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21111,11 +21141,11 @@ export namespace compute_v1 { list( params: Params$Resource$Autoscalers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Autoscalers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Autoscalers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21144,7 +21174,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21198,11 +21231,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Autoscalers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Autoscalers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Autoscalers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21231,7 +21264,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21286,11 +21322,11 @@ export namespace compute_v1 { update( params: Params$Resource$Autoscalers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Autoscalers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Autoscalers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -21319,7 +21355,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autoscalers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21548,11 +21587,11 @@ export namespace compute_v1 { addSignedUrlKey( params: Params$Resource$Backendbuckets$Addsignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params?: Params$Resource$Backendbuckets$Addsignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params: Params$Resource$Backendbuckets$Addsignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -21581,7 +21620,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Addsignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21636,11 +21678,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Backendbuckets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Backendbuckets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Backendbuckets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21669,7 +21711,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21724,11 +21769,11 @@ export namespace compute_v1 { deleteSignedUrlKey( params: Params$Resource$Backendbuckets$Deletesignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params?: Params$Resource$Backendbuckets$Deletesignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params: Params$Resource$Backendbuckets$Deletesignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -21757,7 +21802,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Deletesignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21812,11 +21860,11 @@ export namespace compute_v1 { get( params: Params$Resource$Backendbuckets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Backendbuckets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Backendbuckets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21845,7 +21893,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21900,11 +21951,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Backendbuckets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Backendbuckets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Backendbuckets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -21933,7 +21984,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21988,11 +22042,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Backendbuckets$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Backendbuckets$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Backendbuckets$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -22021,7 +22075,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22075,11 +22132,11 @@ export namespace compute_v1 { list( params: Params$Resource$Backendbuckets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Backendbuckets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Backendbuckets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22110,8 +22167,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22165,11 +22222,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Backendbuckets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Backendbuckets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Backendbuckets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22198,7 +22255,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22253,11 +22313,11 @@ export namespace compute_v1 { setEdgeSecurityPolicy( params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params?: Params$Resource$Backendbuckets$Setedgesecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -22288,7 +22348,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Setedgesecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22343,11 +22406,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Backendbuckets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Backendbuckets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Backendbuckets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -22376,7 +22439,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22431,11 +22497,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Backendbuckets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Backendbuckets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Backendbuckets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -22470,8 +22536,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22526,11 +22592,11 @@ export namespace compute_v1 { update( params: Params$Resource$Backendbuckets$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Backendbuckets$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Backendbuckets$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -22559,7 +22625,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendbuckets$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22837,11 +22906,11 @@ export namespace compute_v1 { addSignedUrlKey( params: Params$Resource$Backendservices$Addsignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params?: Params$Resource$Backendservices$Addsignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addSignedUrlKey( params: Params$Resource$Backendservices$Addsignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -22870,7 +22939,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Addsignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22925,11 +22997,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Backendservices$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Backendservices$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Backendservices$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -22964,8 +23036,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23022,11 +23094,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Backendservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Backendservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Backendservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23055,7 +23127,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23110,11 +23185,11 @@ export namespace compute_v1 { deleteSignedUrlKey( params: Params$Resource$Backendservices$Deletesignedurlkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params?: Params$Resource$Backendservices$Deletesignedurlkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteSignedUrlKey( params: Params$Resource$Backendservices$Deletesignedurlkey, options: StreamMethodOptions | BodyResponseCallback, @@ -23143,7 +23218,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Deletesignedurlkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23198,11 +23276,11 @@ export namespace compute_v1 { get( params: Params$Resource$Backendservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Backendservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Backendservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23231,7 +23309,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23286,11 +23367,11 @@ export namespace compute_v1 { getHealth( params: Params$Resource$Backendservices$Gethealth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params?: Params$Resource$Backendservices$Gethealth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params: Params$Resource$Backendservices$Gethealth, options: StreamMethodOptions | BodyResponseCallback, @@ -23325,8 +23406,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Gethealth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23381,11 +23462,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Backendservices$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Backendservices$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Backendservices$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -23414,7 +23495,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23469,11 +23553,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Backendservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Backendservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Backendservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -23502,7 +23586,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23556,11 +23643,11 @@ export namespace compute_v1 { list( params: Params$Resource$Backendservices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Backendservices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Backendservices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23591,8 +23678,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23646,11 +23733,11 @@ export namespace compute_v1 { listUsable( params: Params$Resource$Backendservices$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Backendservices$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Backendservices$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -23685,8 +23772,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23741,11 +23828,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Backendservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Backendservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Backendservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23774,7 +23861,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23829,11 +23919,11 @@ export namespace compute_v1 { setEdgeSecurityPolicy( params: Params$Resource$Backendservices$Setedgesecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params?: Params$Resource$Backendservices$Setedgesecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setEdgeSecurityPolicy( params: Params$Resource$Backendservices$Setedgesecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -23864,7 +23954,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Setedgesecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23919,11 +24012,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Backendservices$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Backendservices$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Backendservices$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -23952,7 +24045,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24007,11 +24103,11 @@ export namespace compute_v1 { setSecurityPolicy( params: Params$Resource$Backendservices$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Backendservices$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Backendservices$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -24040,7 +24136,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24095,11 +24194,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Backendservices$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Backendservices$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Backendservices$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -24134,8 +24233,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24190,11 +24289,11 @@ export namespace compute_v1 { update( params: Params$Resource$Backendservices$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Backendservices$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Backendservices$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -24223,7 +24322,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backendservices$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24599,11 +24701,11 @@ export namespace compute_v1 { addResourcePolicies( params: Params$Resource$Disks$Addresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params?: Params$Resource$Disks$Addresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params: Params$Resource$Disks$Addresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -24632,7 +24734,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Addresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24687,11 +24792,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Disks$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Disks$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Disks$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -24724,8 +24829,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24779,11 +24884,11 @@ export namespace compute_v1 { bulkInsert( params: Params$Resource$Disks$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Disks$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Disks$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -24812,7 +24917,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24866,11 +24974,11 @@ export namespace compute_v1 { createSnapshot( params: Params$Resource$Disks$Createsnapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params?: Params$Resource$Disks$Createsnapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params: Params$Resource$Disks$Createsnapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -24899,7 +25007,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Createsnapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24954,11 +25065,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Disks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Disks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Disks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24987,7 +25098,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25041,11 +25155,11 @@ export namespace compute_v1 { get( params: Params$Resource$Disks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Disks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Disks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25074,7 +25188,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25128,11 +25245,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Disks$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Disks$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Disks$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -25161,7 +25278,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25216,11 +25336,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Disks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Disks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Disks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -25249,7 +25369,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25302,11 +25425,11 @@ export namespace compute_v1 { list( params: Params$Resource$Disks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Disks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Disks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25335,7 +25458,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25388,11 +25514,11 @@ export namespace compute_v1 { removeResourcePolicies( params: Params$Resource$Disks$Removeresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params?: Params$Resource$Disks$Removeresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params: Params$Resource$Disks$Removeresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -25423,7 +25549,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Removeresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25478,11 +25607,11 @@ export namespace compute_v1 { resize( params: Params$Resource$Disks$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Disks$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Disks$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -25511,7 +25640,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25565,11 +25697,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Disks$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Disks$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Disks$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -25598,7 +25730,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25653,11 +25788,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Disks$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Disks$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Disks$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -25686,7 +25821,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25740,11 +25878,11 @@ export namespace compute_v1 { startAsyncReplication( params: Params$Resource$Disks$Startasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params?: Params$Resource$Disks$Startasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params: Params$Resource$Disks$Startasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -25775,7 +25913,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Startasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25830,11 +25971,11 @@ export namespace compute_v1 { stopAsyncReplication( params: Params$Resource$Disks$Stopasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params?: Params$Resource$Disks$Stopasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params: Params$Resource$Disks$Stopasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -25865,7 +26006,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Stopasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25920,11 +26064,11 @@ export namespace compute_v1 { stopGroupAsyncReplication( params: Params$Resource$Disks$Stopgroupasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params?: Params$Resource$Disks$Stopgroupasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params: Params$Resource$Disks$Stopgroupasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -25955,7 +26099,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Stopgroupasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26010,11 +26157,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Disks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Disks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Disks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -26049,8 +26196,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26105,11 +26252,11 @@ export namespace compute_v1 { update( params: Params$Resource$Disks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Disks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Disks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -26138,7 +26285,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26614,11 +26764,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Disktypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Disktypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Disktypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -26653,8 +26803,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disktypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26708,11 +26858,11 @@ export namespace compute_v1 { get( params: Params$Resource$Disktypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Disktypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Disktypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26741,7 +26891,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disktypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26795,11 +26948,11 @@ export namespace compute_v1 { list( params: Params$Resource$Disktypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Disktypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Disktypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26828,7 +26981,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Disktypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26968,11 +27124,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Externalvpngateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Externalvpngateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Externalvpngateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27001,7 +27157,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27056,11 +27215,11 @@ export namespace compute_v1 { get( params: Params$Resource$Externalvpngateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Externalvpngateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Externalvpngateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27091,8 +27250,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27147,11 +27306,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Externalvpngateways$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Externalvpngateways$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Externalvpngateways$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -27180,7 +27339,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27235,11 +27397,11 @@ export namespace compute_v1 { list( params: Params$Resource$Externalvpngateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Externalvpngateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Externalvpngateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27272,8 +27434,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27328,11 +27490,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Externalvpngateways$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Externalvpngateways$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Externalvpngateways$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -27361,7 +27523,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27416,11 +27581,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Externalvpngateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Externalvpngateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Externalvpngateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -27455,8 +27620,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Externalvpngateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27620,11 +27785,11 @@ export namespace compute_v1 { addAssociation( params: Params$Resource$Firewallpolicies$Addassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params?: Params$Resource$Firewallpolicies$Addassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params: Params$Resource$Firewallpolicies$Addassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -27653,7 +27818,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Addassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27708,11 +27876,11 @@ export namespace compute_v1 { addRule( params: Params$Resource$Firewallpolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Firewallpolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Firewallpolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -27741,7 +27909,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27796,11 +27967,11 @@ export namespace compute_v1 { cloneRules( params: Params$Resource$Firewallpolicies$Clonerules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params?: Params$Resource$Firewallpolicies$Clonerules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params: Params$Resource$Firewallpolicies$Clonerules, options: StreamMethodOptions | BodyResponseCallback, @@ -27829,7 +28000,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Clonerules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27884,11 +28058,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Firewallpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Firewallpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Firewallpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27917,7 +28091,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27972,11 +28149,11 @@ export namespace compute_v1 { get( params: Params$Resource$Firewallpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Firewallpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Firewallpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28005,7 +28182,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28060,11 +28240,11 @@ export namespace compute_v1 { getAssociation( params: Params$Resource$Firewallpolicies$Getassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params?: Params$Resource$Firewallpolicies$Getassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params: Params$Resource$Firewallpolicies$Getassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -28099,8 +28279,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Getassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28155,11 +28335,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Firewallpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Firewallpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Firewallpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -28188,7 +28368,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28243,11 +28426,11 @@ export namespace compute_v1 { getRule( params: Params$Resource$Firewallpolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Firewallpolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Firewallpolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -28278,8 +28461,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28334,11 +28517,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Firewallpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Firewallpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Firewallpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -28367,7 +28550,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28421,11 +28607,11 @@ export namespace compute_v1 { list( params: Params$Resource$Firewallpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Firewallpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Firewallpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28456,8 +28642,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28511,11 +28697,13 @@ export namespace compute_v1 { listAssociations( params: Params$Resource$Firewallpolicies$Listassociations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAssociations( params?: Params$Resource$Firewallpolicies$Listassociations, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAssociations( params: Params$Resource$Firewallpolicies$Listassociations, options: StreamMethodOptions | BodyResponseCallback, @@ -28550,8 +28738,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Listassociations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28608,11 +28798,11 @@ export namespace compute_v1 { move( params: Params$Resource$Firewallpolicies$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Firewallpolicies$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Firewallpolicies$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -28641,7 +28831,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28696,11 +28889,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Firewallpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Firewallpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Firewallpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28729,7 +28922,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28784,11 +28980,11 @@ export namespace compute_v1 { patchRule( params: Params$Resource$Firewallpolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Firewallpolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Firewallpolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -28817,7 +29013,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28872,11 +29071,11 @@ export namespace compute_v1 { removeAssociation( params: Params$Resource$Firewallpolicies$Removeassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params?: Params$Resource$Firewallpolicies$Removeassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params: Params$Resource$Firewallpolicies$Removeassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -28905,7 +29104,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Removeassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28960,11 +29162,11 @@ export namespace compute_v1 { removeRule( params: Params$Resource$Firewallpolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Firewallpolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Firewallpolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -28993,7 +29195,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29048,11 +29253,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Firewallpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Firewallpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Firewallpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -29081,7 +29286,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29136,11 +29344,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Firewallpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Firewallpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Firewallpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -29175,8 +29383,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewallpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29496,11 +29704,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Firewalls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Firewalls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Firewalls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -29529,7 +29737,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29583,11 +29794,11 @@ export namespace compute_v1 { get( params: Params$Resource$Firewalls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Firewalls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Firewalls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29616,7 +29827,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29670,11 +29884,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Firewalls$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Firewalls$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Firewalls$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -29703,7 +29917,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29756,11 +29973,11 @@ export namespace compute_v1 { list( params: Params$Resource$Firewalls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Firewalls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Firewalls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29789,7 +30006,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29842,11 +30062,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Firewalls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Firewalls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Firewalls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -29875,7 +30095,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29929,11 +30152,11 @@ export namespace compute_v1 { update( params: Params$Resource$Firewalls$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Firewalls$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Firewalls$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -29962,7 +30185,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firewalls$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30127,11 +30353,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Forwardingrules$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Forwardingrules$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Forwardingrules$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -30166,8 +30392,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30224,11 +30450,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Forwardingrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Forwardingrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Forwardingrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30257,7 +30483,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30312,11 +30541,11 @@ export namespace compute_v1 { get( params: Params$Resource$Forwardingrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Forwardingrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Forwardingrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30345,7 +30574,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30400,11 +30632,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Forwardingrules$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Forwardingrules$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Forwardingrules$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -30433,7 +30665,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30488,11 +30723,11 @@ export namespace compute_v1 { list( params: Params$Resource$Forwardingrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Forwardingrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Forwardingrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30523,8 +30758,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30579,11 +30814,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Forwardingrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Forwardingrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Forwardingrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -30612,7 +30847,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30667,11 +30905,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Forwardingrules$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Forwardingrules$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Forwardingrules$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -30700,7 +30938,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30755,11 +30996,11 @@ export namespace compute_v1 { setTarget( params: Params$Resource$Forwardingrules$Settarget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params?: Params$Resource$Forwardingrules$Settarget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params: Params$Resource$Forwardingrules$Settarget, options: StreamMethodOptions | BodyResponseCallback, @@ -30788,7 +31029,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forwardingrules$Settarget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31043,11 +31287,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Globaladdresses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globaladdresses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globaladdresses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31076,7 +31320,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31131,11 +31378,11 @@ export namespace compute_v1 { get( params: Params$Resource$Globaladdresses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globaladdresses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globaladdresses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31164,7 +31411,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31219,11 +31469,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Globaladdresses$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globaladdresses$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globaladdresses$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -31252,7 +31502,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31306,11 +31559,11 @@ export namespace compute_v1 { list( params: Params$Resource$Globaladdresses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globaladdresses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globaladdresses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31339,7 +31592,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31393,11 +31649,11 @@ export namespace compute_v1 { move( params: Params$Resource$Globaladdresses$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Globaladdresses$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Globaladdresses$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -31426,7 +31682,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31481,11 +31740,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Globaladdresses$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Globaladdresses$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Globaladdresses$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -31514,7 +31773,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaladdresses$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31682,11 +31944,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Globalforwardingrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalforwardingrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalforwardingrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31715,7 +31977,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31770,11 +32035,11 @@ export namespace compute_v1 { get( params: Params$Resource$Globalforwardingrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalforwardingrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalforwardingrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31803,7 +32068,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31858,11 +32126,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Globalforwardingrules$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globalforwardingrules$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globalforwardingrules$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -31891,7 +32159,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31945,11 +32216,11 @@ export namespace compute_v1 { list( params: Params$Resource$Globalforwardingrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalforwardingrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalforwardingrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31980,8 +32251,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32035,11 +32306,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Globalforwardingrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Globalforwardingrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Globalforwardingrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -32068,7 +32339,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32123,11 +32397,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Globalforwardingrules$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Globalforwardingrules$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Globalforwardingrules$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -32156,7 +32430,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32211,11 +32488,11 @@ export namespace compute_v1 { setTarget( params: Params$Resource$Globalforwardingrules$Settarget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params?: Params$Resource$Globalforwardingrules$Settarget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTarget( params: Params$Resource$Globalforwardingrules$Settarget, options: StreamMethodOptions | BodyResponseCallback, @@ -32244,7 +32521,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalforwardingrules$Settarget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32432,11 +32712,11 @@ export namespace compute_v1 { attachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params?: Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -32467,7 +32747,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Attachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32523,11 +32806,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Globalnetworkendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalnetworkendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalnetworkendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -32556,7 +32839,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32611,11 +32897,11 @@ export namespace compute_v1 { detachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params?: Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -32646,7 +32932,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Detachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32702,11 +32991,11 @@ export namespace compute_v1 { get( params: Params$Resource$Globalnetworkendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalnetworkendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalnetworkendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32739,8 +33028,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32795,11 +33084,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Globalnetworkendpointgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globalnetworkendpointgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globalnetworkendpointgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -32828,7 +33117,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32883,11 +33175,11 @@ export namespace compute_v1 { list( params: Params$Resource$Globalnetworkendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalnetworkendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalnetworkendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32920,8 +33212,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32976,11 +33268,13 @@ export namespace compute_v1 { listNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNetworkEndpoints( params?: Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listNetworkEndpoints( params: Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -33015,8 +33309,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalnetworkendpointgroups$Listnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33222,11 +33518,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Globaloperations$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Globaloperations$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Globaloperations$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -33261,8 +33557,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33316,11 +33612,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Globaloperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globaloperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globaloperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -33347,7 +33643,10 @@ export namespace compute_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33402,11 +33701,11 @@ export namespace compute_v1 { get( params: Params$Resource$Globaloperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globaloperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globaloperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33435,7 +33734,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33490,11 +33792,11 @@ export namespace compute_v1 { list( params: Params$Resource$Globaloperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globaloperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globaloperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33523,7 +33825,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33577,11 +33882,11 @@ export namespace compute_v1 { wait( params: Params$Resource$Globaloperations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Globaloperations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Globaloperations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -33610,7 +33915,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globaloperations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33768,11 +34076,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Globalorganizationoperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalorganizationoperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalorganizationoperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -33799,7 +34107,10 @@ export namespace compute_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalorganizationoperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33853,11 +34164,11 @@ export namespace compute_v1 { get( params: Params$Resource$Globalorganizationoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalorganizationoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalorganizationoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33886,7 +34197,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalorganizationoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33940,11 +34254,11 @@ export namespace compute_v1 { list( params: Params$Resource$Globalorganizationoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalorganizationoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalorganizationoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33973,7 +34287,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalorganizationoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34085,11 +34402,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Globalpublicdelegatedprefixes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Globalpublicdelegatedprefixes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Globalpublicdelegatedprefixes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34118,7 +34435,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34173,11 +34493,11 @@ export namespace compute_v1 { get( params: Params$Resource$Globalpublicdelegatedprefixes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Globalpublicdelegatedprefixes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Globalpublicdelegatedprefixes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34210,8 +34530,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34266,11 +34586,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Globalpublicdelegatedprefixes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Globalpublicdelegatedprefixes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Globalpublicdelegatedprefixes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -34299,7 +34619,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34354,11 +34677,11 @@ export namespace compute_v1 { list( params: Params$Resource$Globalpublicdelegatedprefixes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Globalpublicdelegatedprefixes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Globalpublicdelegatedprefixes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34393,8 +34716,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34449,11 +34772,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Globalpublicdelegatedprefixes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Globalpublicdelegatedprefixes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Globalpublicdelegatedprefixes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -34482,7 +34805,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Globalpublicdelegatedprefixes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34634,11 +34960,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Healthchecks$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Healthchecks$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Healthchecks$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -34673,8 +34999,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34728,11 +35054,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Healthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Healthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Healthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34761,7 +35087,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34816,11 +35145,11 @@ export namespace compute_v1 { get( params: Params$Resource$Healthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Healthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Healthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34849,7 +35178,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34903,11 +35235,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Healthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Healthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Healthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -34936,7 +35268,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34990,11 +35325,11 @@ export namespace compute_v1 { list( params: Params$Resource$Healthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Healthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Healthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35023,7 +35358,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35077,11 +35415,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Healthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Healthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Healthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -35110,7 +35448,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35165,11 +35506,11 @@ export namespace compute_v1 { update( params: Params$Resource$Healthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Healthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Healthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -35198,7 +35539,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Healthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35404,11 +35748,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Httphealthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Httphealthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Httphealthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -35437,7 +35781,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35492,11 +35839,11 @@ export namespace compute_v1 { get( params: Params$Resource$Httphealthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Httphealthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Httphealthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35525,7 +35872,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35580,11 +35930,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Httphealthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Httphealthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Httphealthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -35613,7 +35963,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35667,11 +36020,11 @@ export namespace compute_v1 { list( params: Params$Resource$Httphealthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Httphealthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Httphealthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35702,8 +36055,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35757,11 +36110,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Httphealthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Httphealthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Httphealthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -35790,7 +36143,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35845,11 +36201,11 @@ export namespace compute_v1 { update( params: Params$Resource$Httphealthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Httphealthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Httphealthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -35878,7 +36234,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httphealthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36050,11 +36409,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Httpshealthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Httpshealthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Httpshealthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -36083,7 +36442,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36138,11 +36500,11 @@ export namespace compute_v1 { get( params: Params$Resource$Httpshealthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Httpshealthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Httpshealthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36171,7 +36533,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36226,11 +36591,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Httpshealthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Httpshealthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Httpshealthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -36259,7 +36624,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36314,11 +36682,11 @@ export namespace compute_v1 { list( params: Params$Resource$Httpshealthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Httpshealthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Httpshealthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36351,8 +36719,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36407,11 +36775,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Httpshealthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Httpshealthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Httpshealthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -36440,7 +36808,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36495,11 +36866,11 @@ export namespace compute_v1 { update( params: Params$Resource$Httpshealthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Httpshealthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Httpshealthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -36528,7 +36899,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Httpshealthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36700,11 +37074,11 @@ export namespace compute_v1 { get( params: Params$Resource$Imagefamilyviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Imagefamilyviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Imagefamilyviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36733,7 +37107,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Imagefamilyviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36811,11 +37188,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Images$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Images$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Images$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -36844,7 +37221,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36897,11 +37277,11 @@ export namespace compute_v1 { deprecate( params: Params$Resource$Images$Deprecate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deprecate( params?: Params$Resource$Images$Deprecate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deprecate( params: Params$Resource$Images$Deprecate, options: StreamMethodOptions | BodyResponseCallback, @@ -36930,7 +37310,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Deprecate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36984,11 +37367,11 @@ export namespace compute_v1 { get( params: Params$Resource$Images$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Images$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Images$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37017,7 +37400,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37070,11 +37456,11 @@ export namespace compute_v1 { getFromFamily( params: Params$Resource$Images$Getfromfamily, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFromFamily( params?: Params$Resource$Images$Getfromfamily, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getFromFamily( params: Params$Resource$Images$Getfromfamily, options: StreamMethodOptions | BodyResponseCallback, @@ -37103,7 +37489,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Getfromfamily; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37158,11 +37547,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Images$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Images$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Images$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -37191,7 +37580,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37246,11 +37638,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Images$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Images$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Images$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -37279,7 +37671,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37332,11 +37727,11 @@ export namespace compute_v1 { list( params: Params$Resource$Images$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Images$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Images$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37365,7 +37760,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37418,11 +37816,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Images$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Images$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Images$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -37451,7 +37849,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37504,11 +37905,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Images$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Images$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Images$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -37537,7 +37938,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37592,11 +37996,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Images$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Images$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Images$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -37625,7 +38029,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37679,11 +38086,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Images$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Images$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Images$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -37718,8 +38125,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37962,11 +38369,11 @@ export namespace compute_v1 { cancel( params: Params$Resource$Instancegroupmanagerresizerequests$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Instancegroupmanagerresizerequests$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Instancegroupmanagerresizerequests$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -37995,7 +38402,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38061,11 +38471,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Instancegroupmanagerresizerequests$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancegroupmanagerresizerequests$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancegroupmanagerresizerequests$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -38094,7 +38504,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38160,11 +38573,13 @@ export namespace compute_v1 { get( params: Params$Resource$Instancegroupmanagerresizerequests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancegroupmanagerresizerequests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Instancegroupmanagerresizerequests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38199,8 +38614,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38267,11 +38684,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Instancegroupmanagerresizerequests$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancegroupmanagerresizerequests$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancegroupmanagerresizerequests$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -38300,7 +38717,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38356,11 +38776,13 @@ export namespace compute_v1 { list( params: Params$Resource$Instancegroupmanagerresizerequests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancegroupmanagerresizerequests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Instancegroupmanagerresizerequests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38395,8 +38817,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagerresizerequests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38585,11 +39009,11 @@ export namespace compute_v1 { abandonInstances( params: Params$Resource$Instancegroupmanagers$Abandoninstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params?: Params$Resource$Instancegroupmanagers$Abandoninstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params: Params$Resource$Instancegroupmanagers$Abandoninstances, options: StreamMethodOptions | BodyResponseCallback, @@ -38618,7 +39042,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Abandoninstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38673,11 +39100,13 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Instancegroupmanagers$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instancegroupmanagers$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Instancegroupmanagers$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -38712,8 +39141,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38770,11 +39201,11 @@ export namespace compute_v1 { applyUpdatesToInstances( params: Params$Resource$Instancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params?: Params$Resource$Instancegroupmanagers$Applyupdatestoinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params: Params$Resource$Instancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -38805,7 +39236,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Applyupdatestoinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38861,11 +39295,11 @@ export namespace compute_v1 { createInstances( params: Params$Resource$Instancegroupmanagers$Createinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params?: Params$Resource$Instancegroupmanagers$Createinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params: Params$Resource$Instancegroupmanagers$Createinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -38894,7 +39328,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Createinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38949,11 +39386,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Instancegroupmanagers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancegroupmanagers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancegroupmanagers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -38982,7 +39419,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39037,11 +39477,11 @@ export namespace compute_v1 { deleteInstances( params: Params$Resource$Instancegroupmanagers$Deleteinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params?: Params$Resource$Instancegroupmanagers$Deleteinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params: Params$Resource$Instancegroupmanagers$Deleteinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -39070,7 +39510,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Deleteinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39125,11 +39568,11 @@ export namespace compute_v1 { deletePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -39160,7 +39603,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Deleteperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39216,11 +39662,11 @@ export namespace compute_v1 { get( params: Params$Resource$Instancegroupmanagers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancegroupmanagers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancegroupmanagers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39253,8 +39699,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39309,11 +39755,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Instancegroupmanagers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancegroupmanagers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancegroupmanagers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -39342,7 +39788,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39397,11 +39846,11 @@ export namespace compute_v1 { list( params: Params$Resource$Instancegroupmanagers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancegroupmanagers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instancegroupmanagers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -39434,8 +39883,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39490,11 +39939,13 @@ export namespace compute_v1 { listErrors( params: Params$Resource$Instancegroupmanagers$Listerrors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listErrors( params?: Params$Resource$Instancegroupmanagers$Listerrors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listErrors( params: Params$Resource$Instancegroupmanagers$Listerrors, options: StreamMethodOptions | BodyResponseCallback, @@ -39529,8 +39980,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Listerrors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39587,11 +40040,13 @@ export namespace compute_v1 { listManagedInstances( params: Params$Resource$Instancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listManagedInstances( params?: Params$Resource$Instancegroupmanagers$Listmanagedinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listManagedInstances( params: Params$Resource$Instancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -39626,8 +40081,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Listmanagedinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39685,11 +40142,13 @@ export namespace compute_v1 { listPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Listperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -39724,8 +40183,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Listperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39783,11 +40244,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Instancegroupmanagers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Instancegroupmanagers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Instancegroupmanagers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -39816,7 +40277,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39871,11 +40335,11 @@ export namespace compute_v1 { patchPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -39906,7 +40370,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Patchperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39962,11 +40429,11 @@ export namespace compute_v1 { recreateInstances( params: Params$Resource$Instancegroupmanagers$Recreateinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params?: Params$Resource$Instancegroupmanagers$Recreateinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params: Params$Resource$Instancegroupmanagers$Recreateinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -39995,7 +40462,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Recreateinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40050,11 +40520,11 @@ export namespace compute_v1 { resize( params: Params$Resource$Instancegroupmanagers$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Instancegroupmanagers$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Instancegroupmanagers$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -40083,7 +40553,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40138,11 +40611,11 @@ export namespace compute_v1 { resumeInstances( params: Params$Resource$Instancegroupmanagers$Resumeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params?: Params$Resource$Instancegroupmanagers$Resumeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params: Params$Resource$Instancegroupmanagers$Resumeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -40171,7 +40644,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Resumeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40226,11 +40702,11 @@ export namespace compute_v1 { setInstanceTemplate( params: Params$Resource$Instancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params?: Params$Resource$Instancegroupmanagers$Setinstancetemplate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params: Params$Resource$Instancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions | BodyResponseCallback, @@ -40259,7 +40735,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Setinstancetemplate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40315,11 +40794,11 @@ export namespace compute_v1 { setTargetPools( params: Params$Resource$Instancegroupmanagers$Settargetpools, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params?: Params$Resource$Instancegroupmanagers$Settargetpools, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params: Params$Resource$Instancegroupmanagers$Settargetpools, options: StreamMethodOptions | BodyResponseCallback, @@ -40348,7 +40827,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Settargetpools; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40403,11 +40885,11 @@ export namespace compute_v1 { startInstances( params: Params$Resource$Instancegroupmanagers$Startinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params?: Params$Resource$Instancegroupmanagers$Startinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params: Params$Resource$Instancegroupmanagers$Startinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -40436,7 +40918,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Startinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40491,11 +40976,11 @@ export namespace compute_v1 { stopInstances( params: Params$Resource$Instancegroupmanagers$Stopinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params?: Params$Resource$Instancegroupmanagers$Stopinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params: Params$Resource$Instancegroupmanagers$Stopinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -40524,7 +41009,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Stopinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40579,11 +41067,11 @@ export namespace compute_v1 { suspendInstances( params: Params$Resource$Instancegroupmanagers$Suspendinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params?: Params$Resource$Instancegroupmanagers$Suspendinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params: Params$Resource$Instancegroupmanagers$Suspendinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -40612,7 +41100,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Suspendinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40667,11 +41158,11 @@ export namespace compute_v1 { updatePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params?: Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params: Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -40702,7 +41193,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Updateperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41366,11 +41860,11 @@ export namespace compute_v1 { addInstances( params: Params$Resource$Instancegroups$Addinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addInstances( params?: Params$Resource$Instancegroups$Addinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addInstances( params: Params$Resource$Instancegroups$Addinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -41399,7 +41893,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Addinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41454,11 +41951,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Instancegroups$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instancegroups$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instancegroups$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -41493,8 +41990,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41549,11 +42046,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Instancegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -41582,7 +42079,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41637,11 +42137,11 @@ export namespace compute_v1 { get( params: Params$Resource$Instancegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -41670,7 +42170,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41725,11 +42228,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Instancegroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancegroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancegroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -41758,7 +42261,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41813,11 +42319,11 @@ export namespace compute_v1 { list( params: Params$Resource$Instancegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instancegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41848,8 +42354,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41904,11 +42410,11 @@ export namespace compute_v1 { listInstances( params: Params$Resource$Instancegroups$Listinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listInstances( params?: Params$Resource$Instancegroups$Listinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listInstances( params: Params$Resource$Instancegroups$Listinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -41943,8 +42449,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Listinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41999,11 +42505,11 @@ export namespace compute_v1 { removeInstances( params: Params$Resource$Instancegroups$Removeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeInstances( params?: Params$Resource$Instancegroups$Removeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeInstances( params: Params$Resource$Instancegroups$Removeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -42032,7 +42538,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Removeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42087,11 +42596,11 @@ export namespace compute_v1 { setNamedPorts( params: Params$Resource$Instancegroups$Setnamedports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params?: Params$Resource$Instancegroups$Setnamedports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params: Params$Resource$Instancegroups$Setnamedports, options: StreamMethodOptions | BodyResponseCallback, @@ -42120,7 +42629,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancegroups$Setnamedports; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42415,11 +42927,11 @@ export namespace compute_v1 { addAccessConfig( params: Params$Resource$Instances$Addaccessconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAccessConfig( params?: Params$Resource$Instances$Addaccessconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAccessConfig( params: Params$Resource$Instances$Addaccessconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -42448,7 +42960,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addaccessconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42503,11 +43018,11 @@ export namespace compute_v1 { addResourcePolicies( params: Params$Resource$Instances$Addresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params?: Params$Resource$Instances$Addresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params: Params$Resource$Instances$Addresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -42536,7 +43051,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42591,11 +43109,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Instances$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instances$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instances$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -42630,8 +43148,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42685,11 +43203,11 @@ export namespace compute_v1 { attachDisk( params: Params$Resource$Instances$Attachdisk, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachDisk( params?: Params$Resource$Instances$Attachdisk, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachDisk( params: Params$Resource$Instances$Attachdisk, options: StreamMethodOptions | BodyResponseCallback, @@ -42718,7 +43236,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Attachdisk; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42773,11 +43294,11 @@ export namespace compute_v1 { bulkInsert( params: Params$Resource$Instances$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Instances$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Instances$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -42806,7 +43327,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42861,11 +43385,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -42894,7 +43418,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42948,11 +43475,11 @@ export namespace compute_v1 { deleteAccessConfig( params: Params$Resource$Instances$Deleteaccessconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessConfig( params?: Params$Resource$Instances$Deleteaccessconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccessConfig( params: Params$Resource$Instances$Deleteaccessconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -42981,7 +43508,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Deleteaccessconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43042,11 +43572,11 @@ export namespace compute_v1 { detachDisk( params: Params$Resource$Instances$Detachdisk, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachDisk( params?: Params$Resource$Instances$Detachdisk, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachDisk( params: Params$Resource$Instances$Detachdisk, options: StreamMethodOptions | BodyResponseCallback, @@ -43075,7 +43605,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Detachdisk; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43130,11 +43663,11 @@ export namespace compute_v1 { get( params: Params$Resource$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -43163,7 +43696,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43217,11 +43753,13 @@ export namespace compute_v1 { getEffectiveFirewalls( params: Params$Resource$Instances$Geteffectivefirewalls, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveFirewalls( params?: Params$Resource$Instances$Geteffectivefirewalls, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEffectiveFirewalls( params: Params$Resource$Instances$Geteffectivefirewalls, options: StreamMethodOptions | BodyResponseCallback, @@ -43256,8 +43794,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Geteffectivefirewalls; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43314,11 +43854,11 @@ export namespace compute_v1 { getGuestAttributes( params: Params$Resource$Instances$Getguestattributes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGuestAttributes( params?: Params$Resource$Instances$Getguestattributes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getGuestAttributes( params: Params$Resource$Instances$Getguestattributes, options: StreamMethodOptions | BodyResponseCallback, @@ -43349,7 +43889,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getguestattributes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43404,11 +43947,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Instances$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Instances$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -43437,7 +43980,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43492,11 +44038,11 @@ export namespace compute_v1 { getScreenshot( params: Params$Resource$Instances$Getscreenshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getScreenshot( params?: Params$Resource$Instances$Getscreenshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getScreenshot( params: Params$Resource$Instances$Getscreenshot, options: StreamMethodOptions | BodyResponseCallback, @@ -43525,7 +44071,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getscreenshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43580,11 +44129,11 @@ export namespace compute_v1 { getSerialPortOutput( params: Params$Resource$Instances$Getserialportoutput, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSerialPortOutput( params?: Params$Resource$Instances$Getserialportoutput, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSerialPortOutput( params: Params$Resource$Instances$Getserialportoutput, options: StreamMethodOptions | BodyResponseCallback, @@ -43615,7 +44164,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getserialportoutput; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43670,11 +44222,11 @@ export namespace compute_v1 { getShieldedInstanceIdentity( params: Params$Resource$Instances$Getshieldedinstanceidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getShieldedInstanceIdentity( params?: Params$Resource$Instances$Getshieldedinstanceidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getShieldedInstanceIdentity( params: Params$Resource$Instances$Getshieldedinstanceidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -43709,8 +44261,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Getshieldedinstanceidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43765,11 +44317,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instances$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -43798,7 +44350,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43851,11 +44406,11 @@ export namespace compute_v1 { list( params: Params$Resource$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -43884,7 +44439,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43937,11 +44495,11 @@ export namespace compute_v1 { listReferrers( params: Params$Resource$Instances$Listreferrers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listReferrers( params?: Params$Resource$Instances$Listreferrers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listReferrers( params: Params$Resource$Instances$Listreferrers, options: StreamMethodOptions | BodyResponseCallback, @@ -43976,8 +44534,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Listreferrers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44032,11 +44590,11 @@ export namespace compute_v1 { performMaintenance( params: Params$Resource$Instances$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Instances$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Instances$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -44065,7 +44623,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44120,11 +44681,11 @@ export namespace compute_v1 { removeResourcePolicies( params: Params$Resource$Instances$Removeresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params?: Params$Resource$Instances$Removeresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params: Params$Resource$Instances$Removeresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -44155,7 +44716,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Removeresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44210,11 +44774,11 @@ export namespace compute_v1 { reportHostAsFaulty( params: Params$Resource$Instances$Reporthostasfaulty, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportHostAsFaulty( params?: Params$Resource$Instances$Reporthostasfaulty, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportHostAsFaulty( params: Params$Resource$Instances$Reporthostasfaulty, options: StreamMethodOptions | BodyResponseCallback, @@ -44243,7 +44807,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Reporthostasfaulty; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44298,11 +44865,11 @@ export namespace compute_v1 { reset( params: Params$Resource$Instances$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Instances$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Instances$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -44331,7 +44898,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44385,11 +44955,11 @@ export namespace compute_v1 { resume( params: Params$Resource$Instances$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Instances$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Instances$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -44418,7 +44988,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44472,11 +45045,11 @@ export namespace compute_v1 { sendDiagnosticInterrupt( params: Params$Resource$Instances$Senddiagnosticinterrupt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendDiagnosticInterrupt( params?: Params$Resource$Instances$Senddiagnosticinterrupt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendDiagnosticInterrupt( params: Params$Resource$Instances$Senddiagnosticinterrupt, options: StreamMethodOptions | BodyResponseCallback, @@ -44503,7 +45076,10 @@ export namespace compute_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Senddiagnosticinterrupt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44558,11 +45134,11 @@ export namespace compute_v1 { setDeletionProtection( params: Params$Resource$Instances$Setdeletionprotection, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDeletionProtection( params?: Params$Resource$Instances$Setdeletionprotection, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDeletionProtection( params: Params$Resource$Instances$Setdeletionprotection, options: StreamMethodOptions | BodyResponseCallback, @@ -44593,7 +45169,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setdeletionprotection; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44648,11 +45227,11 @@ export namespace compute_v1 { setDiskAutoDelete( params: Params$Resource$Instances$Setdiskautodelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDiskAutoDelete( params?: Params$Resource$Instances$Setdiskautodelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDiskAutoDelete( params: Params$Resource$Instances$Setdiskautodelete, options: StreamMethodOptions | BodyResponseCallback, @@ -44681,7 +45260,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setdiskautodelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44742,11 +45324,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Instances$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Instances$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -44775,7 +45357,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44830,11 +45415,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Instances$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Instances$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Instances$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -44863,7 +45448,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44918,11 +45506,11 @@ export namespace compute_v1 { setMachineResources( params: Params$Resource$Instances$Setmachineresources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMachineResources( params?: Params$Resource$Instances$Setmachineresources, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMachineResources( params: Params$Resource$Instances$Setmachineresources, options: StreamMethodOptions | BodyResponseCallback, @@ -44951,7 +45539,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmachineresources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45006,11 +45597,11 @@ export namespace compute_v1 { setMachineType( params: Params$Resource$Instances$Setmachinetype, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMachineType( params?: Params$Resource$Instances$Setmachinetype, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMachineType( params: Params$Resource$Instances$Setmachinetype, options: StreamMethodOptions | BodyResponseCallback, @@ -45039,7 +45630,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmachinetype; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45094,11 +45688,11 @@ export namespace compute_v1 { setMetadata( params: Params$Resource$Instances$Setmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMetadata( params?: Params$Resource$Instances$Setmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMetadata( params: Params$Resource$Instances$Setmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -45127,7 +45721,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45182,11 +45779,11 @@ export namespace compute_v1 { setMinCpuPlatform( params: Params$Resource$Instances$Setmincpuplatform, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMinCpuPlatform( params?: Params$Resource$Instances$Setmincpuplatform, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMinCpuPlatform( params: Params$Resource$Instances$Setmincpuplatform, options: StreamMethodOptions | BodyResponseCallback, @@ -45215,7 +45812,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setmincpuplatform; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45270,11 +45870,11 @@ export namespace compute_v1 { setName( params: Params$Resource$Instances$Setname, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setName( params?: Params$Resource$Instances$Setname, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setName( params: Params$Resource$Instances$Setname, options: StreamMethodOptions | BodyResponseCallback, @@ -45303,7 +45903,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setname; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45358,11 +45961,11 @@ export namespace compute_v1 { setScheduling( params: Params$Resource$Instances$Setscheduling, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setScheduling( params?: Params$Resource$Instances$Setscheduling, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setScheduling( params: Params$Resource$Instances$Setscheduling, options: StreamMethodOptions | BodyResponseCallback, @@ -45391,7 +45994,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setscheduling; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45446,11 +46052,11 @@ export namespace compute_v1 { setSecurityPolicy( params: Params$Resource$Instances$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Instances$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Instances$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -45479,7 +46085,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45534,11 +46143,11 @@ export namespace compute_v1 { setServiceAccount( params: Params$Resource$Instances$Setserviceaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setServiceAccount( params?: Params$Resource$Instances$Setserviceaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setServiceAccount( params: Params$Resource$Instances$Setserviceaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -45567,7 +46176,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setserviceaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45622,11 +46234,11 @@ export namespace compute_v1 { setShieldedInstanceIntegrityPolicy( params: Params$Resource$Instances$Setshieldedinstanceintegritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setShieldedInstanceIntegrityPolicy( params?: Params$Resource$Instances$Setshieldedinstanceintegritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setShieldedInstanceIntegrityPolicy( params: Params$Resource$Instances$Setshieldedinstanceintegritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -45657,7 +46269,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Setshieldedinstanceintegritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45713,11 +46328,11 @@ export namespace compute_v1 { setTags( params: Params$Resource$Instances$Settags, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTags( params?: Params$Resource$Instances$Settags, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTags( params: Params$Resource$Instances$Settags, options: StreamMethodOptions | BodyResponseCallback, @@ -45746,7 +46361,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Settags; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45801,11 +46419,11 @@ export namespace compute_v1 { simulateMaintenanceEvent( params: Params$Resource$Instances$Simulatemaintenanceevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params?: Params$Resource$Instances$Simulatemaintenanceevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params: Params$Resource$Instances$Simulatemaintenanceevent, options: StreamMethodOptions | BodyResponseCallback, @@ -45836,7 +46454,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Simulatemaintenanceevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45891,11 +46512,11 @@ export namespace compute_v1 { start( params: Params$Resource$Instances$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Instances$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Instances$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -45924,7 +46545,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -45978,11 +46602,11 @@ export namespace compute_v1 { startWithEncryptionKey( params: Params$Resource$Instances$Startwithencryptionkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startWithEncryptionKey( params?: Params$Resource$Instances$Startwithencryptionkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startWithEncryptionKey( params: Params$Resource$Instances$Startwithencryptionkey, options: StreamMethodOptions | BodyResponseCallback, @@ -46013,7 +46637,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Startwithencryptionkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46068,11 +46695,11 @@ export namespace compute_v1 { stop( params: Params$Resource$Instances$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Instances$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Instances$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -46101,7 +46728,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46155,11 +46785,11 @@ export namespace compute_v1 { suspend( params: Params$Resource$Instances$Suspend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params?: Params$Resource$Instances$Suspend, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params: Params$Resource$Instances$Suspend, options: StreamMethodOptions | BodyResponseCallback, @@ -46188,7 +46818,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Suspend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46243,11 +46876,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Instances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -46282,8 +46915,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46338,11 +46971,11 @@ export namespace compute_v1 { update( params: Params$Resource$Instances$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Instances$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Instances$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -46371,7 +47004,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46425,11 +47061,11 @@ export namespace compute_v1 { updateAccessConfig( params: Params$Resource$Instances$Updateaccessconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessConfig( params?: Params$Resource$Instances$Updateaccessconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAccessConfig( params: Params$Resource$Instances$Updateaccessconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -46458,7 +47094,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updateaccessconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46513,11 +47152,11 @@ export namespace compute_v1 { updateDisplayDevice( params: Params$Resource$Instances$Updatedisplaydevice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDisplayDevice( params?: Params$Resource$Instances$Updatedisplaydevice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateDisplayDevice( params: Params$Resource$Instances$Updatedisplaydevice, options: StreamMethodOptions | BodyResponseCallback, @@ -46546,7 +47185,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updatedisplaydevice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46601,11 +47243,11 @@ export namespace compute_v1 { updateNetworkInterface( params: Params$Resource$Instances$Updatenetworkinterface, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateNetworkInterface( params?: Params$Resource$Instances$Updatenetworkinterface, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateNetworkInterface( params: Params$Resource$Instances$Updatenetworkinterface, options: StreamMethodOptions | BodyResponseCallback, @@ -46636,7 +47278,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updatenetworkinterface; let options = (optionsOrCallback || {}) as MethodOptions; @@ -46691,11 +47336,11 @@ export namespace compute_v1 { updateShieldedInstanceConfig( params: Params$Resource$Instances$Updateshieldedinstanceconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedInstanceConfig( params?: Params$Resource$Instances$Updateshieldedinstanceconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedInstanceConfig( params: Params$Resource$Instances$Updateshieldedinstanceconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -46726,7 +47371,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Updateshieldedinstanceconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -47929,11 +48577,11 @@ export namespace compute_v1 { get( params: Params$Resource$Instancesettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancesettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancesettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -47962,7 +48610,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancesettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48017,11 +48668,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Instancesettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Instancesettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Instancesettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -48050,7 +48701,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancesettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48148,11 +48802,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Instancetemplates$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instancetemplates$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instancetemplates$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -48187,8 +48841,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48245,11 +48899,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Instancetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instancetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instancetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -48278,7 +48932,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48333,11 +48990,11 @@ export namespace compute_v1 { get( params: Params$Resource$Instancetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instancetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instancetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -48366,7 +49023,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48421,11 +49081,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Instancetemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Instancetemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Instancetemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -48454,7 +49114,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48509,11 +49172,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Instancetemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instancetemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instancetemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -48542,7 +49205,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48597,11 +49263,11 @@ export namespace compute_v1 { list( params: Params$Resource$Instancetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instancetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instancetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -48634,8 +49300,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48690,11 +49356,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Instancetemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Instancetemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Instancetemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -48723,7 +49389,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -48778,11 +49447,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Instancetemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instancetemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instancetemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -48817,8 +49486,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instancetemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49032,11 +49701,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Instantsnapshots$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Instantsnapshots$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Instantsnapshots$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -49071,8 +49740,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49129,11 +49798,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Instantsnapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instantsnapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instantsnapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -49162,7 +49831,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49217,11 +49889,11 @@ export namespace compute_v1 { get( params: Params$Resource$Instantsnapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instantsnapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instantsnapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -49250,7 +49922,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49305,11 +49980,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Instantsnapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Instantsnapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Instantsnapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -49338,7 +50013,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49393,11 +50071,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Instantsnapshots$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instantsnapshots$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instantsnapshots$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -49426,7 +50104,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49481,11 +50162,11 @@ export namespace compute_v1 { list( params: Params$Resource$Instantsnapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instantsnapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instantsnapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -49516,8 +50197,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49572,11 +50253,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Instantsnapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Instantsnapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Instantsnapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -49605,7 +50286,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49660,11 +50344,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Instantsnapshots$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Instantsnapshots$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Instantsnapshots$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -49693,7 +50377,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -49748,11 +50435,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Instantsnapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Instantsnapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Instantsnapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -49787,8 +50474,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instantsnapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50054,11 +50741,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Interconnectattachmentgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnectattachmentgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnectattachmentgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -50087,7 +50774,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50142,11 +50832,11 @@ export namespace compute_v1 { get( params: Params$Resource$Interconnectattachmentgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectattachmentgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectattachmentgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -50181,8 +50871,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50237,11 +50927,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Interconnectattachmentgroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -50270,7 +50960,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50326,11 +51019,13 @@ export namespace compute_v1 { getOperationalStatus( params: Params$Resource$Interconnectattachmentgroups$Getoperationalstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOperationalStatus( params?: Params$Resource$Interconnectattachmentgroups$Getoperationalstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getOperationalStatus( params: Params$Resource$Interconnectattachmentgroups$Getoperationalstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -50365,8 +51060,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Getoperationalstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50424,11 +51121,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Interconnectattachmentgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnectattachmentgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnectattachmentgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -50457,7 +51154,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50512,11 +51212,13 @@ export namespace compute_v1 { list( params: Params$Resource$Interconnectattachmentgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectattachmentgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Interconnectattachmentgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -50551,8 +51253,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50609,11 +51313,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Interconnectattachmentgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnectattachmentgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnectattachmentgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -50642,7 +51346,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50697,11 +51404,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Interconnectattachmentgroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Interconnectattachmentgroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -50730,7 +51437,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -50786,11 +51496,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Interconnectattachmentgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Interconnectattachmentgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Interconnectattachmentgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -50825,8 +51535,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachmentgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51041,11 +51751,13 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Interconnectattachments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Interconnectattachments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Interconnectattachments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -51080,8 +51792,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51138,11 +51852,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Interconnectattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnectattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnectattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -51171,7 +51885,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51226,11 +51943,11 @@ export namespace compute_v1 { get( params: Params$Resource$Interconnectattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -51263,8 +51980,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51319,11 +52036,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Interconnectattachments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnectattachments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnectattachments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -51352,7 +52069,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51407,11 +52127,11 @@ export namespace compute_v1 { list( params: Params$Resource$Interconnectattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -51446,8 +52166,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51502,11 +52222,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Interconnectattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnectattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnectattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -51535,7 +52255,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51590,11 +52313,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Interconnectattachments$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Interconnectattachments$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Interconnectattachments$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -51623,7 +52346,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectattachments$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51858,11 +52584,11 @@ export namespace compute_v1 { createMembers( params: Params$Resource$Interconnectgroups$Createmembers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createMembers( params?: Params$Resource$Interconnectgroups$Createmembers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createMembers( params: Params$Resource$Interconnectgroups$Createmembers, options: StreamMethodOptions | BodyResponseCallback, @@ -51891,7 +52617,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Createmembers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -51946,11 +52675,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Interconnectgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnectgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnectgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -51979,7 +52708,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52034,11 +52766,11 @@ export namespace compute_v1 { get( params: Params$Resource$Interconnectgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -52069,8 +52801,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52125,11 +52857,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Interconnectgroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Interconnectgroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Interconnectgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -52158,7 +52890,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52213,11 +52948,13 @@ export namespace compute_v1 { getOperationalStatus( params: Params$Resource$Interconnectgroups$Getoperationalstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOperationalStatus( params?: Params$Resource$Interconnectgroups$Getoperationalstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getOperationalStatus( params: Params$Resource$Interconnectgroups$Getoperationalstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -52252,8 +52989,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Getoperationalstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52310,11 +53049,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Interconnectgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnectgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnectgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -52343,7 +53082,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52398,11 +53140,11 @@ export namespace compute_v1 { list( params: Params$Resource$Interconnectgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -52437,8 +53179,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52495,11 +53237,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Interconnectgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnectgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnectgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -52528,7 +53270,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52583,11 +53328,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Interconnectgroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Interconnectgroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Interconnectgroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -52616,7 +53361,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52671,11 +53419,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Interconnectgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Interconnectgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Interconnectgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -52710,8 +53458,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -52941,11 +53689,11 @@ export namespace compute_v1 { get( params: Params$Resource$Interconnectlocations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectlocations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectlocations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -52978,8 +53726,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectlocations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53034,11 +53782,11 @@ export namespace compute_v1 { list( params: Params$Resource$Interconnectlocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectlocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectlocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -53071,8 +53819,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectlocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53173,11 +53921,11 @@ export namespace compute_v1 { get( params: Params$Resource$Interconnectremotelocations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnectremotelocations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnectremotelocations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -53212,8 +53960,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectremotelocations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53268,11 +54016,11 @@ export namespace compute_v1 { list( params: Params$Resource$Interconnectremotelocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnectremotelocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnectremotelocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -53307,8 +54055,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnectremotelocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53411,11 +54159,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Interconnects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Interconnects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Interconnects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -53444,7 +54192,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53499,11 +54250,11 @@ export namespace compute_v1 { get( params: Params$Resource$Interconnects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Interconnects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Interconnects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -53532,7 +54283,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53587,11 +54341,13 @@ export namespace compute_v1 { getDiagnostics( params: Params$Resource$Interconnects$Getdiagnostics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDiagnostics( params?: Params$Resource$Interconnects$Getdiagnostics, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDiagnostics( params: Params$Resource$Interconnects$Getdiagnostics, options: StreamMethodOptions | BodyResponseCallback, @@ -53626,8 +54382,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Getdiagnostics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53684,11 +54442,13 @@ export namespace compute_v1 { getMacsecConfig( params: Params$Resource$Interconnects$Getmacsecconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMacsecConfig( params?: Params$Resource$Interconnects$Getmacsecconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getMacsecConfig( params: Params$Resource$Interconnects$Getmacsecconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -53723,8 +54483,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Getmacsecconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53781,11 +54543,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Interconnects$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Interconnects$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Interconnects$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -53814,7 +54576,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53868,11 +54633,11 @@ export namespace compute_v1 { list( params: Params$Resource$Interconnects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Interconnects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Interconnects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -53901,7 +54666,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -53955,11 +54723,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Interconnects$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Interconnects$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Interconnects$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -53988,7 +54756,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54043,11 +54814,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Interconnects$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Interconnects$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Interconnects$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -54076,7 +54847,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Interconnects$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54266,11 +55040,11 @@ export namespace compute_v1 { get( params: Params$Resource$Licensecodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Licensecodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Licensecodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -54299,7 +55073,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licensecodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54353,11 +55130,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Licensecodes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Licensecodes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Licensecodes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -54392,8 +55169,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licensecodes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54482,11 +55259,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Licenses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Licenses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Licenses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -54515,7 +55292,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54569,11 +55349,11 @@ export namespace compute_v1 { get( params: Params$Resource$Licenses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Licenses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Licenses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -54602,7 +55382,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54656,11 +55439,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Licenses$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Licenses$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Licenses$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -54689,7 +55472,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54744,11 +55530,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Licenses$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Licenses$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Licenses$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -54777,7 +55563,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54830,11 +55619,11 @@ export namespace compute_v1 { list( params: Params$Resource$Licenses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Licenses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Licenses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -54867,8 +55656,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -54921,11 +55710,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Licenses$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Licenses$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Licenses$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -54954,7 +55743,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55009,11 +55801,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Licenses$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Licenses$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Licenses$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -55048,8 +55840,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55104,11 +55896,11 @@ export namespace compute_v1 { update( params: Params$Resource$Licenses$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Licenses$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Licenses$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -55137,7 +55929,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenses$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55334,11 +56129,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Machineimages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Machineimages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Machineimages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -55367,7 +56162,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55422,11 +56220,11 @@ export namespace compute_v1 { get( params: Params$Resource$Machineimages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Machineimages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Machineimages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -55455,7 +56253,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55510,11 +56311,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Machineimages$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Machineimages$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Machineimages$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -55543,7 +56344,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55598,11 +56402,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Machineimages$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Machineimages$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Machineimages$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -55631,7 +56435,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55685,11 +56492,11 @@ export namespace compute_v1 { list( params: Params$Resource$Machineimages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Machineimages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Machineimages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -55718,7 +56525,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55772,11 +56582,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Machineimages$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Machineimages$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Machineimages$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -55805,7 +56615,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55860,11 +56673,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Machineimages$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Machineimages$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Machineimages$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -55893,7 +56706,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -55948,11 +56764,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Machineimages$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Machineimages$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Machineimages$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -55987,8 +56803,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machineimages$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56187,11 +57003,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Machinetypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Machinetypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Machinetypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -56226,8 +57042,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machinetypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56281,11 +57097,11 @@ export namespace compute_v1 { get( params: Params$Resource$Machinetypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Machinetypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Machinetypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -56314,7 +57130,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machinetypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56368,11 +57187,11 @@ export namespace compute_v1 { list( params: Params$Resource$Machinetypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Machinetypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Machinetypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -56401,7 +57220,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Machinetypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56544,11 +57366,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Networkattachments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkattachments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Networkattachments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -56583,8 +57405,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56641,11 +57463,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Networkattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -56674,7 +57496,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56729,11 +57554,11 @@ export namespace compute_v1 { get( params: Params$Resource$Networkattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -56764,8 +57589,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56820,11 +57645,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Networkattachments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Networkattachments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Networkattachments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -56853,7 +57678,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56908,11 +57736,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Networkattachments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkattachments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkattachments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -56941,7 +57769,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -56996,11 +57827,11 @@ export namespace compute_v1 { list( params: Params$Resource$Networkattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -57033,8 +57864,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57089,11 +57920,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Networkattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networkattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networkattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -57122,7 +57953,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57177,11 +58011,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Networkattachments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Networkattachments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Networkattachments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -57210,7 +58044,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57265,11 +58102,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Networkattachments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Networkattachments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Networkattachments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -57304,8 +58141,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkattachments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57571,11 +58408,13 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Networkedgesecurityservices$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkedgesecurityservices$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Networkedgesecurityservices$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -57610,8 +58449,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57669,11 +58510,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Networkedgesecurityservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkedgesecurityservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkedgesecurityservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -57702,7 +58543,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57757,11 +58601,11 @@ export namespace compute_v1 { get( params: Params$Resource$Networkedgesecurityservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkedgesecurityservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkedgesecurityservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -57796,8 +58640,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57852,11 +58696,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Networkedgesecurityservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkedgesecurityservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkedgesecurityservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -57885,7 +58729,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -57940,11 +58787,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Networkedgesecurityservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networkedgesecurityservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networkedgesecurityservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -57973,7 +58820,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkedgesecurityservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58161,11 +59011,13 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Networkendpointgroups$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkendpointgroups$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Networkendpointgroups$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -58200,8 +59052,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58258,11 +59112,11 @@ export namespace compute_v1 { attachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params?: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -58293,7 +59147,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Attachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58349,11 +59206,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Networkendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -58382,7 +59239,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58437,11 +59297,11 @@ export namespace compute_v1 { detachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params?: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -58472,7 +59332,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Detachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58528,11 +59391,11 @@ export namespace compute_v1 { get( params: Params$Resource$Networkendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -58565,8 +59428,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58621,11 +59484,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Networkendpointgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkendpointgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkendpointgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -58654,7 +59517,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58709,11 +59575,11 @@ export namespace compute_v1 { list( params: Params$Resource$Networkendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -58746,8 +59612,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58802,11 +59668,13 @@ export namespace compute_v1 { listNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNetworkEndpoints( params?: Params$Resource$Networkendpointgroups$Listnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listNetworkEndpoints( params: Params$Resource$Networkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -58841,8 +59709,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Listnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -58900,11 +59770,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Networkendpointgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Networkendpointgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Networkendpointgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -58939,8 +59809,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59231,11 +60101,11 @@ export namespace compute_v1 { addAssociation( params: Params$Resource$Networkfirewallpolicies$Addassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params?: Params$Resource$Networkfirewallpolicies$Addassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params: Params$Resource$Networkfirewallpolicies$Addassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -59264,7 +60134,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Addassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59319,11 +60192,11 @@ export namespace compute_v1 { addPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addPacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -59354,7 +60227,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59410,11 +60286,11 @@ export namespace compute_v1 { addRule( params: Params$Resource$Networkfirewallpolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Networkfirewallpolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Networkfirewallpolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -59443,7 +60319,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59498,11 +60377,13 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Networkfirewallpolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Networkfirewallpolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Networkfirewallpolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -59537,8 +60418,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59595,11 +60478,11 @@ export namespace compute_v1 { cloneRules( params: Params$Resource$Networkfirewallpolicies$Clonerules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params?: Params$Resource$Networkfirewallpolicies$Clonerules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params: Params$Resource$Networkfirewallpolicies$Clonerules, options: StreamMethodOptions | BodyResponseCallback, @@ -59628,7 +60511,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Clonerules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59683,11 +60569,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Networkfirewallpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networkfirewallpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networkfirewallpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -59716,7 +60602,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59771,11 +60660,11 @@ export namespace compute_v1 { get( params: Params$Resource$Networkfirewallpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkfirewallpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkfirewallpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -59804,7 +60693,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59859,11 +60751,11 @@ export namespace compute_v1 { getAssociation( params: Params$Resource$Networkfirewallpolicies$Getassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params?: Params$Resource$Networkfirewallpolicies$Getassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params: Params$Resource$Networkfirewallpolicies$Getassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -59898,8 +60790,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -59954,11 +60846,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Networkfirewallpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Networkfirewallpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Networkfirewallpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -59987,7 +60879,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60042,11 +60937,11 @@ export namespace compute_v1 { getPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -60079,8 +60974,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60136,11 +61031,11 @@ export namespace compute_v1 { getRule( params: Params$Resource$Networkfirewallpolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Networkfirewallpolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Networkfirewallpolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -60171,8 +61066,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60227,11 +61122,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Networkfirewallpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networkfirewallpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networkfirewallpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -60260,7 +61155,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60314,11 +61212,11 @@ export namespace compute_v1 { list( params: Params$Resource$Networkfirewallpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkfirewallpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkfirewallpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -60349,8 +61247,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60404,11 +61302,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Networkfirewallpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networkfirewallpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networkfirewallpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -60437,7 +61335,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60492,11 +61393,11 @@ export namespace compute_v1 { patchPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -60527,7 +61428,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60583,11 +61487,11 @@ export namespace compute_v1 { patchRule( params: Params$Resource$Networkfirewallpolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Networkfirewallpolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Networkfirewallpolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -60616,7 +61520,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60671,11 +61578,11 @@ export namespace compute_v1 { removeAssociation( params: Params$Resource$Networkfirewallpolicies$Removeassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params?: Params$Resource$Networkfirewallpolicies$Removeassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params: Params$Resource$Networkfirewallpolicies$Removeassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -60704,7 +61611,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Removeassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60760,11 +61670,11 @@ export namespace compute_v1 { removePacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removePacketMirroringRule( params?: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removePacketMirroringRule( params: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, options: StreamMethodOptions | BodyResponseCallback, @@ -60795,7 +61705,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60851,11 +61764,11 @@ export namespace compute_v1 { removeRule( params: Params$Resource$Networkfirewallpolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Networkfirewallpolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Networkfirewallpolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -60884,7 +61797,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -60939,11 +61855,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Networkfirewallpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Networkfirewallpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Networkfirewallpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -60972,7 +61888,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61027,11 +61946,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Networkfirewallpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Networkfirewallpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Networkfirewallpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -61066,8 +61985,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkfirewallpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61551,11 +62470,11 @@ export namespace compute_v1 { get( params: Params$Resource$Networkprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networkprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networkprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -61584,7 +62503,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61639,11 +62561,11 @@ export namespace compute_v1 { list( params: Params$Resource$Networkprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networkprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networkprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -61678,8 +62600,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networkprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61779,11 +62701,11 @@ export namespace compute_v1 { addPeering( params: Params$Resource$Networks$Addpeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addPeering( params?: Params$Resource$Networks$Addpeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addPeering( params: Params$Resource$Networks$Addpeering, options: StreamMethodOptions | BodyResponseCallback, @@ -61812,7 +62734,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Addpeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61867,11 +62792,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Networks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Networks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Networks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -61900,7 +62825,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -61954,11 +62882,11 @@ export namespace compute_v1 { get( params: Params$Resource$Networks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Networks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Networks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -61987,7 +62915,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62041,11 +62972,13 @@ export namespace compute_v1 { getEffectiveFirewalls( params: Params$Resource$Networks$Geteffectivefirewalls, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveFirewalls( params?: Params$Resource$Networks$Geteffectivefirewalls, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEffectiveFirewalls( params: Params$Resource$Networks$Geteffectivefirewalls, options: StreamMethodOptions | BodyResponseCallback, @@ -62080,8 +63013,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Geteffectivefirewalls; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62138,11 +63073,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Networks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Networks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Networks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -62171,7 +63106,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62224,11 +63162,11 @@ export namespace compute_v1 { list( params: Params$Resource$Networks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Networks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Networks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -62257,7 +63195,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62310,11 +63251,11 @@ export namespace compute_v1 { listPeeringRoutes( params: Params$Resource$Networks$Listpeeringroutes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPeeringRoutes( params?: Params$Resource$Networks$Listpeeringroutes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listPeeringRoutes( params: Params$Resource$Networks$Listpeeringroutes, options: StreamMethodOptions | BodyResponseCallback, @@ -62349,8 +63290,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Listpeeringroutes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62405,11 +63346,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Networks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Networks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Networks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -62438,7 +63379,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62492,11 +63436,11 @@ export namespace compute_v1 { removePeering( params: Params$Resource$Networks$Removepeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removePeering( params?: Params$Resource$Networks$Removepeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removePeering( params: Params$Resource$Networks$Removepeering, options: StreamMethodOptions | BodyResponseCallback, @@ -62525,7 +63469,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Removepeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62580,11 +63527,11 @@ export namespace compute_v1 { switchToCustomMode( params: Params$Resource$Networks$Switchtocustommode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switchToCustomMode( params?: Params$Resource$Networks$Switchtocustommode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switchToCustomMode( params: Params$Resource$Networks$Switchtocustommode, options: StreamMethodOptions | BodyResponseCallback, @@ -62613,7 +63560,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Switchtocustommode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62668,11 +63618,11 @@ export namespace compute_v1 { updatePeering( params: Params$Resource$Networks$Updatepeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePeering( params?: Params$Resource$Networks$Updatepeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePeering( params: Params$Resource$Networks$Updatepeering, options: StreamMethodOptions | BodyResponseCallback, @@ -62701,7 +63651,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Networks$Updatepeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -62977,11 +63930,11 @@ export namespace compute_v1 { addNodes( params: Params$Resource$Nodegroups$Addnodes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addNodes( params?: Params$Resource$Nodegroups$Addnodes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addNodes( params: Params$Resource$Nodegroups$Addnodes, options: StreamMethodOptions | BodyResponseCallback, @@ -63010,7 +63963,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Addnodes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63065,11 +64021,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Nodegroups$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Nodegroups$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Nodegroups$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -63104,8 +64060,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63159,11 +64115,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Nodegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -63192,7 +64148,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63247,11 +64206,11 @@ export namespace compute_v1 { deleteNodes( params: Params$Resource$Nodegroups$Deletenodes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteNodes( params?: Params$Resource$Nodegroups$Deletenodes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteNodes( params: Params$Resource$Nodegroups$Deletenodes, options: StreamMethodOptions | BodyResponseCallback, @@ -63280,7 +64239,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Deletenodes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63335,11 +64297,11 @@ export namespace compute_v1 { get( params: Params$Resource$Nodegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -63368,7 +64330,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63422,11 +64387,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Nodegroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Nodegroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Nodegroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -63455,7 +64420,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63510,11 +64478,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Nodegroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Nodegroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Nodegroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -63543,7 +64511,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63597,11 +64568,11 @@ export namespace compute_v1 { list( params: Params$Resource$Nodegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -63630,7 +64601,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63683,11 +64657,11 @@ export namespace compute_v1 { listNodes( params: Params$Resource$Nodegroups$Listnodes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNodes( params?: Params$Resource$Nodegroups$Listnodes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listNodes( params: Params$Resource$Nodegroups$Listnodes, options: StreamMethodOptions | BodyResponseCallback, @@ -63718,8 +64692,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Listnodes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63774,11 +64748,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Nodegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Nodegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Nodegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -63807,7 +64781,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63861,11 +64838,11 @@ export namespace compute_v1 { performMaintenance( params: Params$Resource$Nodegroups$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Nodegroups$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Nodegroups$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -63894,7 +64871,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -63949,11 +64929,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Nodegroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Nodegroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Nodegroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -63982,7 +64962,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64037,11 +65020,11 @@ export namespace compute_v1 { setNodeTemplate( params: Params$Resource$Nodegroups$Setnodetemplate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNodeTemplate( params?: Params$Resource$Nodegroups$Setnodetemplate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNodeTemplate( params: Params$Resource$Nodegroups$Setnodetemplate, options: StreamMethodOptions | BodyResponseCallback, @@ -64070,7 +65053,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Setnodetemplate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64125,11 +65111,11 @@ export namespace compute_v1 { simulateMaintenanceEvent( params: Params$Resource$Nodegroups$Simulatemaintenanceevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params?: Params$Resource$Nodegroups$Simulatemaintenanceevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params: Params$Resource$Nodegroups$Simulatemaintenanceevent, options: StreamMethodOptions | BodyResponseCallback, @@ -64160,7 +65146,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Simulatemaintenanceevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64215,11 +65204,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Nodegroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Nodegroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Nodegroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -64254,8 +65243,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodegroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64677,11 +65666,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Nodetemplates$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Nodetemplates$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Nodetemplates$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -64716,8 +65705,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64772,11 +65761,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Nodetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -64805,7 +65794,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64860,11 +65852,11 @@ export namespace compute_v1 { get( params: Params$Resource$Nodetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -64893,7 +65885,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -64948,11 +65943,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Nodetemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Nodetemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Nodetemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -64981,7 +65976,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65036,11 +66034,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Nodetemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Nodetemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Nodetemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -65069,7 +66067,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65124,11 +66125,11 @@ export namespace compute_v1 { list( params: Params$Resource$Nodetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -65157,7 +66158,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65212,11 +66216,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Nodetemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Nodetemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Nodetemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -65245,7 +66249,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65300,11 +66307,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Nodetemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Nodetemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Nodetemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -65339,8 +66346,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65582,11 +66589,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Nodetypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Nodetypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Nodetypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -65621,8 +66628,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65676,11 +66683,11 @@ export namespace compute_v1 { get( params: Params$Resource$Nodetypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodetypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodetypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -65709,7 +66716,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65763,11 +66773,11 @@ export namespace compute_v1 { list( params: Params$Resource$Nodetypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodetypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodetypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -65796,7 +66806,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodetypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -65936,11 +66949,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Packetmirrorings$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Packetmirrorings$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Packetmirrorings$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -65975,8 +66988,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66033,11 +67046,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Packetmirrorings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Packetmirrorings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Packetmirrorings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -66066,7 +67079,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66121,11 +67137,11 @@ export namespace compute_v1 { get( params: Params$Resource$Packetmirrorings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Packetmirrorings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Packetmirrorings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -66154,7 +67170,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66209,11 +67228,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Packetmirrorings$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Packetmirrorings$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Packetmirrorings$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -66242,7 +67261,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66297,11 +67319,11 @@ export namespace compute_v1 { list( params: Params$Resource$Packetmirrorings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Packetmirrorings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Packetmirrorings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -66332,8 +67354,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66388,11 +67410,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Packetmirrorings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Packetmirrorings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Packetmirrorings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -66421,7 +67443,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66476,11 +67501,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Packetmirrorings$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Packetmirrorings$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Packetmirrorings$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -66515,8 +67540,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Packetmirrorings$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66743,11 +67768,11 @@ export namespace compute_v1 { disableXpnHost( params: Params$Resource$Projects$Disablexpnhost, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnHost( params?: Params$Resource$Projects$Disablexpnhost, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnHost( params: Params$Resource$Projects$Disablexpnhost, options: StreamMethodOptions | BodyResponseCallback, @@ -66776,7 +67801,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Disablexpnhost; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66830,11 +67858,11 @@ export namespace compute_v1 { disableXpnResource( params: Params$Resource$Projects$Disablexpnresource, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnResource( params?: Params$Resource$Projects$Disablexpnresource, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableXpnResource( params: Params$Resource$Projects$Disablexpnresource, options: StreamMethodOptions | BodyResponseCallback, @@ -66863,7 +67891,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Disablexpnresource; let options = (optionsOrCallback || {}) as MethodOptions; @@ -66917,11 +67948,11 @@ export namespace compute_v1 { enableXpnHost( params: Params$Resource$Projects$Enablexpnhost, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnHost( params?: Params$Resource$Projects$Enablexpnhost, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnHost( params: Params$Resource$Projects$Enablexpnhost, options: StreamMethodOptions | BodyResponseCallback, @@ -66950,7 +67981,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Enablexpnhost; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67004,11 +68038,11 @@ export namespace compute_v1 { enableXpnResource( params: Params$Resource$Projects$Enablexpnresource, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnResource( params?: Params$Resource$Projects$Enablexpnresource, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableXpnResource( params: Params$Resource$Projects$Enablexpnresource, options: StreamMethodOptions | BodyResponseCallback, @@ -67037,7 +68071,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Enablexpnresource; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67091,11 +68128,11 @@ export namespace compute_v1 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -67124,7 +68161,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67178,11 +68218,11 @@ export namespace compute_v1 { getXpnHost( params: Params$Resource$Projects$Getxpnhost, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getXpnHost( params?: Params$Resource$Projects$Getxpnhost, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getXpnHost( params: Params$Resource$Projects$Getxpnhost, options: StreamMethodOptions | BodyResponseCallback, @@ -67211,7 +68251,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getxpnhost; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67265,11 +68308,11 @@ export namespace compute_v1 { getXpnResources( params: Params$Resource$Projects$Getxpnresources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getXpnResources( params?: Params$Resource$Projects$Getxpnresources, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getXpnResources( params: Params$Resource$Projects$Getxpnresources, options: StreamMethodOptions | BodyResponseCallback, @@ -67304,8 +68347,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getxpnresources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67359,11 +68402,11 @@ export namespace compute_v1 { listXpnHosts( params: Params$Resource$Projects$Listxpnhosts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listXpnHosts( params?: Params$Resource$Projects$Listxpnhosts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listXpnHosts( params: Params$Resource$Projects$Listxpnhosts, options: StreamMethodOptions | BodyResponseCallback, @@ -67392,7 +68435,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Listxpnhosts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67446,11 +68492,11 @@ export namespace compute_v1 { moveDisk( params: Params$Resource$Projects$Movedisk, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveDisk( params?: Params$Resource$Projects$Movedisk, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveDisk( params: Params$Resource$Projects$Movedisk, options: StreamMethodOptions | BodyResponseCallback, @@ -67479,7 +68525,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Movedisk; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67534,11 +68583,11 @@ export namespace compute_v1 { moveInstance( params: Params$Resource$Projects$Moveinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveInstance( params?: Params$Resource$Projects$Moveinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveInstance( params: Params$Resource$Projects$Moveinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -67567,7 +68616,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Moveinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67621,11 +68673,11 @@ export namespace compute_v1 { setCloudArmorTier( params: Params$Resource$Projects$Setcloudarmortier, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCloudArmorTier( params?: Params$Resource$Projects$Setcloudarmortier, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCloudArmorTier( params: Params$Resource$Projects$Setcloudarmortier, options: StreamMethodOptions | BodyResponseCallback, @@ -67654,7 +68706,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setcloudarmortier; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67708,11 +68763,11 @@ export namespace compute_v1 { setCommonInstanceMetadata( params: Params$Resource$Projects$Setcommoninstancemetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCommonInstanceMetadata( params?: Params$Resource$Projects$Setcommoninstancemetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCommonInstanceMetadata( params: Params$Resource$Projects$Setcommoninstancemetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -67743,7 +68798,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setcommoninstancemetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67798,11 +68856,11 @@ export namespace compute_v1 { setDefaultNetworkTier( params: Params$Resource$Projects$Setdefaultnetworktier, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultNetworkTier( params?: Params$Resource$Projects$Setdefaultnetworktier, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultNetworkTier( params: Params$Resource$Projects$Setdefaultnetworktier, options: StreamMethodOptions | BodyResponseCallback, @@ -67833,7 +68891,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setdefaultnetworktier; let options = (optionsOrCallback || {}) as MethodOptions; @@ -67887,11 +68948,11 @@ export namespace compute_v1 { setUsageExportBucket( params: Params$Resource$Projects$Setusageexportbucket, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUsageExportBucket( params?: Params$Resource$Projects$Setusageexportbucket, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUsageExportBucket( params: Params$Resource$Projects$Setusageexportbucket, options: StreamMethodOptions | BodyResponseCallback, @@ -67922,7 +68983,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setusageexportbucket; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68206,11 +69270,11 @@ export namespace compute_v1 { announce( params: Params$Resource$Publicadvertisedprefixes$Announce, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; announce( params?: Params$Resource$Publicadvertisedprefixes$Announce, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; announce( params: Params$Resource$Publicadvertisedprefixes$Announce, options: StreamMethodOptions | BodyResponseCallback, @@ -68239,7 +69303,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Announce; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68294,11 +69361,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Publicadvertisedprefixes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Publicadvertisedprefixes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Publicadvertisedprefixes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -68327,7 +69394,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68382,11 +69452,11 @@ export namespace compute_v1 { get( params: Params$Resource$Publicadvertisedprefixes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Publicadvertisedprefixes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Publicadvertisedprefixes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -68419,8 +69489,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68475,11 +69545,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Publicadvertisedprefixes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Publicadvertisedprefixes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Publicadvertisedprefixes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -68508,7 +69578,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68563,11 +69636,11 @@ export namespace compute_v1 { list( params: Params$Resource$Publicadvertisedprefixes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Publicadvertisedprefixes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Publicadvertisedprefixes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -68602,8 +69675,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68658,11 +69731,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Publicadvertisedprefixes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Publicadvertisedprefixes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Publicadvertisedprefixes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -68691,7 +69764,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68746,11 +69822,11 @@ export namespace compute_v1 { withdraw( params: Params$Resource$Publicadvertisedprefixes$Withdraw, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params?: Params$Resource$Publicadvertisedprefixes$Withdraw, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params: Params$Resource$Publicadvertisedprefixes$Withdraw, options: StreamMethodOptions | BodyResponseCallback, @@ -68779,7 +69855,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicadvertisedprefixes$Withdraw; let options = (optionsOrCallback || {}) as MethodOptions; @@ -68961,11 +70040,13 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Publicdelegatedprefixes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Publicdelegatedprefixes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; aggregatedList( params: Params$Resource$Publicdelegatedprefixes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -69000,8 +70081,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69058,11 +70141,11 @@ export namespace compute_v1 { announce( params: Params$Resource$Publicdelegatedprefixes$Announce, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; announce( params?: Params$Resource$Publicdelegatedprefixes$Announce, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; announce( params: Params$Resource$Publicdelegatedprefixes$Announce, options: StreamMethodOptions | BodyResponseCallback, @@ -69091,7 +70174,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Announce; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69146,11 +70232,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Publicdelegatedprefixes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Publicdelegatedprefixes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Publicdelegatedprefixes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -69179,7 +70265,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69234,11 +70323,11 @@ export namespace compute_v1 { get( params: Params$Resource$Publicdelegatedprefixes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Publicdelegatedprefixes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Publicdelegatedprefixes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -69271,8 +70360,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69327,11 +70416,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Publicdelegatedprefixes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Publicdelegatedprefixes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Publicdelegatedprefixes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -69360,7 +70449,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69415,11 +70507,11 @@ export namespace compute_v1 { list( params: Params$Resource$Publicdelegatedprefixes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Publicdelegatedprefixes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Publicdelegatedprefixes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -69454,8 +70546,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69510,11 +70602,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Publicdelegatedprefixes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Publicdelegatedprefixes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Publicdelegatedprefixes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -69543,7 +70635,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69598,11 +70693,11 @@ export namespace compute_v1 { withdraw( params: Params$Resource$Publicdelegatedprefixes$Withdraw, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params?: Params$Resource$Publicdelegatedprefixes$Withdraw, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params: Params$Resource$Publicdelegatedprefixes$Withdraw, options: StreamMethodOptions | BodyResponseCallback, @@ -69631,7 +70726,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publicdelegatedprefixes$Withdraw; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69876,11 +70974,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionautoscalers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionautoscalers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionautoscalers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -69909,7 +71007,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -69964,11 +71065,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionautoscalers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionautoscalers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionautoscalers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -69997,7 +71098,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70052,11 +71156,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regionautoscalers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionautoscalers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionautoscalers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -70085,7 +71189,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70140,11 +71247,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionautoscalers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionautoscalers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionautoscalers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -70177,8 +71284,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70233,11 +71340,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Regionautoscalers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionautoscalers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionautoscalers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -70266,7 +71373,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70321,11 +71431,11 @@ export namespace compute_v1 { update( params: Params$Resource$Regionautoscalers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionautoscalers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionautoscalers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -70354,7 +71464,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionautoscalers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70550,11 +71663,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionbackendservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionbackendservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionbackendservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -70583,7 +71696,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70638,11 +71754,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionbackendservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionbackendservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionbackendservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -70671,7 +71787,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70726,11 +71845,11 @@ export namespace compute_v1 { getHealth( params: Params$Resource$Regionbackendservices$Gethealth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params?: Params$Resource$Regionbackendservices$Gethealth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params: Params$Resource$Regionbackendservices$Gethealth, options: StreamMethodOptions | BodyResponseCallback, @@ -70765,8 +71884,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Gethealth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70821,11 +71940,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Regionbackendservices$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regionbackendservices$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regionbackendservices$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -70854,7 +71973,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70909,11 +72031,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regionbackendservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionbackendservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionbackendservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -70942,7 +72064,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -70997,11 +72122,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionbackendservices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionbackendservices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionbackendservices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -71032,8 +72157,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71088,11 +72213,11 @@ export namespace compute_v1 { listUsable( params: Params$Resource$Regionbackendservices$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Regionbackendservices$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Regionbackendservices$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -71127,8 +72252,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71183,11 +72308,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Regionbackendservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionbackendservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionbackendservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -71216,7 +72341,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71271,11 +72399,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Regionbackendservices$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regionbackendservices$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regionbackendservices$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -71304,7 +72432,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71359,11 +72490,11 @@ export namespace compute_v1 { setSecurityPolicy( params: Params$Resource$Regionbackendservices$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Regionbackendservices$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Regionbackendservices$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -71392,7 +72523,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71447,11 +72581,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Regionbackendservices$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionbackendservices$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionbackendservices$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -71486,8 +72620,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71542,11 +72676,11 @@ export namespace compute_v1 { update( params: Params$Resource$Regionbackendservices$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionbackendservices$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionbackendservices$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -71575,7 +72709,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionbackendservices$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71905,11 +73042,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Regioncommitments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Regioncommitments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Regioncommitments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -71944,8 +73081,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -71999,11 +73136,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regioncommitments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioncommitments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioncommitments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -72032,7 +73169,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72087,11 +73227,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regioncommitments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioncommitments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioncommitments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -72120,7 +73260,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72175,11 +73318,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regioncommitments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioncommitments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioncommitments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -72208,7 +73351,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72263,11 +73409,11 @@ export namespace compute_v1 { update( params: Params$Resource$Regioncommitments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regioncommitments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regioncommitments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -72296,7 +73442,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioncommitments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72492,11 +73641,11 @@ export namespace compute_v1 { addResourcePolicies( params: Params$Resource$Regiondisks$Addresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params?: Params$Resource$Regiondisks$Addresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addResourcePolicies( params: Params$Resource$Regiondisks$Addresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -72525,7 +73674,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Addresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72580,11 +73732,11 @@ export namespace compute_v1 { bulkInsert( params: Params$Resource$Regiondisks$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Regiondisks$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Regiondisks$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -72613,7 +73765,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72668,11 +73823,11 @@ export namespace compute_v1 { createSnapshot( params: Params$Resource$Regiondisks$Createsnapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params?: Params$Resource$Regiondisks$Createsnapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSnapshot( params: Params$Resource$Regiondisks$Createsnapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -72701,7 +73856,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Createsnapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72756,11 +73914,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regiondisks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiondisks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiondisks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -72789,7 +73947,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72844,11 +74005,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regiondisks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiondisks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiondisks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -72877,7 +74038,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -72931,11 +74095,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Regiondisks$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regiondisks$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regiondisks$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -72964,7 +74128,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73019,11 +74186,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regiondisks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiondisks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiondisks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -73052,7 +74219,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73106,11 +74276,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regiondisks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiondisks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiondisks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -73139,7 +74309,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73192,11 +74365,11 @@ export namespace compute_v1 { removeResourcePolicies( params: Params$Resource$Regiondisks$Removeresourcepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params?: Params$Resource$Regiondisks$Removeresourcepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeResourcePolicies( params: Params$Resource$Regiondisks$Removeresourcepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -73227,7 +74400,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Removeresourcepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73282,11 +74458,11 @@ export namespace compute_v1 { resize( params: Params$Resource$Regiondisks$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Regiondisks$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Regiondisks$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -73315,7 +74491,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73370,11 +74549,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Regiondisks$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regiondisks$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regiondisks$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -73403,7 +74582,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73458,11 +74640,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Regiondisks$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Regiondisks$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Regiondisks$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -73491,7 +74673,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73546,11 +74731,11 @@ export namespace compute_v1 { startAsyncReplication( params: Params$Resource$Regiondisks$Startasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params?: Params$Resource$Regiondisks$Startasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startAsyncReplication( params: Params$Resource$Regiondisks$Startasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -73581,7 +74766,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Startasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73636,11 +74824,11 @@ export namespace compute_v1 { stopAsyncReplication( params: Params$Resource$Regiondisks$Stopasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params?: Params$Resource$Regiondisks$Stopasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopAsyncReplication( params: Params$Resource$Regiondisks$Stopasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -73671,7 +74859,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Stopasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73726,11 +74917,11 @@ export namespace compute_v1 { stopGroupAsyncReplication( params: Params$Resource$Regiondisks$Stopgroupasyncreplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params?: Params$Resource$Regiondisks$Stopgroupasyncreplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopGroupAsyncReplication( params: Params$Resource$Regiondisks$Stopgroupasyncreplication, options: StreamMethodOptions | BodyResponseCallback, @@ -73761,7 +74952,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Stopgroupasyncreplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73816,11 +75010,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Regiondisks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regiondisks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regiondisks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -73855,8 +75049,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -73911,11 +75105,11 @@ export namespace compute_v1 { update( params: Params$Resource$Regiondisks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regiondisks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regiondisks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -73944,7 +75138,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74388,11 +75585,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regiondisktypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiondisktypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiondisktypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -74421,7 +75618,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisktypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74476,11 +75676,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regiondisktypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiondisktypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiondisktypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -74511,8 +75711,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiondisktypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74621,11 +75821,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionhealthchecks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionhealthchecks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionhealthchecks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -74654,7 +75854,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74709,11 +75912,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionhealthchecks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionhealthchecks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionhealthchecks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -74742,7 +75945,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74797,11 +76003,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regionhealthchecks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionhealthchecks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionhealthchecks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -74830,7 +76036,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74885,11 +76094,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionhealthchecks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionhealthchecks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionhealthchecks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -74918,7 +76127,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -74973,11 +76185,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Regionhealthchecks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionhealthchecks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionhealthchecks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -75006,7 +76218,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75061,11 +76276,11 @@ export namespace compute_v1 { update( params: Params$Resource$Regionhealthchecks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionhealthchecks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionhealthchecks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -75094,7 +76309,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthchecks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75290,11 +76508,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionhealthcheckservices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionhealthcheckservices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionhealthcheckservices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -75323,7 +76541,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75378,11 +76599,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionhealthcheckservices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionhealthcheckservices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionhealthcheckservices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -75413,8 +76634,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75469,11 +76690,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regionhealthcheckservices$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionhealthcheckservices$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionhealthcheckservices$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -75502,7 +76723,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75557,11 +76781,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionhealthcheckservices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionhealthcheckservices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionhealthcheckservices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -75594,8 +76818,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75650,11 +76874,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Regionhealthcheckservices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionhealthcheckservices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionhealthcheckservices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -75683,7 +76907,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionhealthcheckservices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75855,11 +77082,11 @@ export namespace compute_v1 { abandonInstances( params: Params$Resource$Regioninstancegroupmanagers$Abandoninstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params?: Params$Resource$Regioninstancegroupmanagers$Abandoninstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; abandonInstances( params: Params$Resource$Regioninstancegroupmanagers$Abandoninstances, options: StreamMethodOptions | BodyResponseCallback, @@ -75888,7 +77115,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Abandoninstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -75944,11 +77174,11 @@ export namespace compute_v1 { applyUpdatesToInstances( params: Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params?: Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyUpdatesToInstances( params: Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -75979,7 +77209,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Applyupdatestoinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76035,11 +77268,11 @@ export namespace compute_v1 { createInstances( params: Params$Resource$Regioninstancegroupmanagers$Createinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params?: Params$Resource$Regioninstancegroupmanagers$Createinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createInstances( params: Params$Resource$Regioninstancegroupmanagers$Createinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -76068,7 +77301,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Createinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76124,11 +77360,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regioninstancegroupmanagers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstancegroupmanagers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstancegroupmanagers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -76157,7 +77393,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76212,11 +77451,11 @@ export namespace compute_v1 { deleteInstances( params: Params$Resource$Regioninstancegroupmanagers$Deleteinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params?: Params$Resource$Regioninstancegroupmanagers$Deleteinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteInstances( params: Params$Resource$Regioninstancegroupmanagers$Deleteinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -76245,7 +77484,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Deleteinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76301,11 +77543,11 @@ export namespace compute_v1 { deletePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deletePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -76336,7 +77578,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Deleteperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76392,11 +77637,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regioninstancegroupmanagers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstancegroupmanagers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstancegroupmanagers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -76429,8 +77674,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76485,11 +77730,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regioninstancegroupmanagers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstancegroupmanagers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstancegroupmanagers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -76518,7 +77763,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76573,11 +77821,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regioninstancegroupmanagers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstancegroupmanagers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstancegroupmanagers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -76612,8 +77860,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76670,11 +77918,13 @@ export namespace compute_v1 { listErrors( params: Params$Resource$Regioninstancegroupmanagers$Listerrors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listErrors( params?: Params$Resource$Regioninstancegroupmanagers$Listerrors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listErrors( params: Params$Resource$Regioninstancegroupmanagers$Listerrors, options: StreamMethodOptions | BodyResponseCallback, @@ -76709,8 +77959,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Listerrors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76767,11 +78019,13 @@ export namespace compute_v1 { listManagedInstances( params: Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listManagedInstances( params?: Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listManagedInstances( params: Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -76806,8 +78060,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Listmanagedinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76865,11 +78121,13 @@ export namespace compute_v1 { listPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -76904,8 +78162,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Listperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -76963,11 +78223,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Regioninstancegroupmanagers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regioninstancegroupmanagers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regioninstancegroupmanagers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -76996,7 +78256,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77051,11 +78314,11 @@ export namespace compute_v1 { patchPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchPerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -77086,7 +78349,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Patchperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77142,11 +78408,11 @@ export namespace compute_v1 { recreateInstances( params: Params$Resource$Regioninstancegroupmanagers$Recreateinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params?: Params$Resource$Regioninstancegroupmanagers$Recreateinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recreateInstances( params: Params$Resource$Regioninstancegroupmanagers$Recreateinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -77175,7 +78441,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Recreateinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77231,11 +78500,11 @@ export namespace compute_v1 { resize( params: Params$Resource$Regioninstancegroupmanagers$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Regioninstancegroupmanagers$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Regioninstancegroupmanagers$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -77264,7 +78533,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77319,11 +78591,11 @@ export namespace compute_v1 { resumeInstances( params: Params$Resource$Regioninstancegroupmanagers$Resumeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params?: Params$Resource$Regioninstancegroupmanagers$Resumeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resumeInstances( params: Params$Resource$Regioninstancegroupmanagers$Resumeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -77352,7 +78624,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Resumeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77408,11 +78683,11 @@ export namespace compute_v1 { setInstanceTemplate( params: Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params?: Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setInstanceTemplate( params: Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate, options: StreamMethodOptions | BodyResponseCallback, @@ -77441,7 +78716,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Setinstancetemplate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77497,11 +78775,11 @@ export namespace compute_v1 { setTargetPools( params: Params$Resource$Regioninstancegroupmanagers$Settargetpools, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params?: Params$Resource$Regioninstancegroupmanagers$Settargetpools, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setTargetPools( params: Params$Resource$Regioninstancegroupmanagers$Settargetpools, options: StreamMethodOptions | BodyResponseCallback, @@ -77530,7 +78808,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Settargetpools; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77586,11 +78867,11 @@ export namespace compute_v1 { startInstances( params: Params$Resource$Regioninstancegroupmanagers$Startinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params?: Params$Resource$Regioninstancegroupmanagers$Startinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startInstances( params: Params$Resource$Regioninstancegroupmanagers$Startinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -77619,7 +78900,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Startinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77675,11 +78959,11 @@ export namespace compute_v1 { stopInstances( params: Params$Resource$Regioninstancegroupmanagers$Stopinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params?: Params$Resource$Regioninstancegroupmanagers$Stopinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopInstances( params: Params$Resource$Regioninstancegroupmanagers$Stopinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -77708,7 +78992,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Stopinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77764,11 +79051,11 @@ export namespace compute_v1 { suspendInstances( params: Params$Resource$Regioninstancegroupmanagers$Suspendinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params?: Params$Resource$Regioninstancegroupmanagers$Suspendinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspendInstances( params: Params$Resource$Regioninstancegroupmanagers$Suspendinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -77797,7 +79084,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Suspendinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -77853,11 +79143,11 @@ export namespace compute_v1 { updatePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params?: Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePerInstanceConfigs( params: Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs, options: StreamMethodOptions | BodyResponseCallback, @@ -77888,7 +79178,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroupmanagers$Updateperinstanceconfigs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78517,11 +79810,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regioninstancegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstancegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstancegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -78550,7 +79843,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78605,11 +79901,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regioninstancegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstancegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstancegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -78642,8 +79938,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78698,11 +79994,13 @@ export namespace compute_v1 { listInstances( params: Params$Resource$Regioninstancegroups$Listinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listInstances( params?: Params$Resource$Regioninstancegroups$Listinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listInstances( params: Params$Resource$Regioninstancegroups$Listinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -78737,8 +80035,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$Listinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -78795,11 +80095,11 @@ export namespace compute_v1 { setNamedPorts( params: Params$Resource$Regioninstancegroups$Setnamedports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params?: Params$Resource$Regioninstancegroups$Setnamedports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNamedPorts( params: Params$Resource$Regioninstancegroups$Setnamedports, options: StreamMethodOptions | BodyResponseCallback, @@ -78828,7 +80128,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancegroups$Setnamedports; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79001,11 +80304,11 @@ export namespace compute_v1 { bulkInsert( params: Params$Resource$Regioninstances$Bulkinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params?: Params$Resource$Regioninstances$Bulkinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkInsert( params: Params$Resource$Regioninstances$Bulkinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -79034,7 +80337,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstances$Bulkinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79117,11 +80423,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regioninstancetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstancetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstancetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -79150,7 +80456,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79205,11 +80514,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regioninstancetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstancetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstancetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -79238,7 +80547,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79293,11 +80605,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regioninstancetemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstancetemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstancetemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -79326,7 +80638,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79381,11 +80696,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regioninstancetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstancetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstancetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -79418,8 +80733,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstancetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79567,11 +80882,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regioninstantsnapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regioninstantsnapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regioninstantsnapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -79600,7 +80915,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79655,11 +80973,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regioninstantsnapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regioninstantsnapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regioninstantsnapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -79688,7 +81006,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79743,11 +81064,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Regioninstantsnapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regioninstantsnapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regioninstantsnapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -79776,7 +81097,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79831,11 +81155,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regioninstantsnapshots$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regioninstantsnapshots$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regioninstantsnapshots$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -79864,7 +81188,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -79919,11 +81246,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regioninstantsnapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regioninstantsnapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regioninstantsnapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -79954,8 +81281,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80010,11 +81337,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Regioninstantsnapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regioninstantsnapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regioninstantsnapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -80043,7 +81370,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80098,11 +81428,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Regioninstantsnapshots$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Regioninstantsnapshots$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Regioninstantsnapshots$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -80131,7 +81461,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80186,11 +81519,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Regioninstantsnapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regioninstantsnapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regioninstantsnapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -80225,8 +81558,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regioninstantsnapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80458,11 +81791,11 @@ export namespace compute_v1 { attachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params?: Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -80493,7 +81826,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Attachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80549,11 +81885,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionnetworkendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionnetworkendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionnetworkendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -80582,7 +81918,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80637,11 +81976,11 @@ export namespace compute_v1 { detachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params?: Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -80672,7 +82011,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Detachnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80728,11 +82070,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionnetworkendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionnetworkendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionnetworkendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -80765,8 +82107,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80821,11 +82163,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regionnetworkendpointgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionnetworkendpointgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionnetworkendpointgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -80854,7 +82196,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -80909,11 +82254,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionnetworkendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionnetworkendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionnetworkendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -80946,8 +82291,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81002,11 +82347,13 @@ export namespace compute_v1 { listNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listNetworkEndpoints( params?: Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listNetworkEndpoints( params: Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -81041,8 +82388,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkendpointgroups$Listnetworkendpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81276,11 +82625,11 @@ export namespace compute_v1 { addAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Addassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params?: Params$Resource$Regionnetworkfirewallpolicies$Addassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Addassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -81309,7 +82658,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Addassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81365,11 +82717,11 @@ export namespace compute_v1 { addRule( params: Params$Resource$Regionnetworkfirewallpolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Regionnetworkfirewallpolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -81398,7 +82750,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81453,11 +82808,11 @@ export namespace compute_v1 { cloneRules( params: Params$Resource$Regionnetworkfirewallpolicies$Clonerules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params?: Params$Resource$Regionnetworkfirewallpolicies$Clonerules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneRules( params: Params$Resource$Regionnetworkfirewallpolicies$Clonerules, options: StreamMethodOptions | BodyResponseCallback, @@ -81486,7 +82841,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Clonerules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81541,11 +82899,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionnetworkfirewallpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionnetworkfirewallpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionnetworkfirewallpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -81574,7 +82932,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81629,11 +82990,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionnetworkfirewallpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionnetworkfirewallpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionnetworkfirewallpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -81662,7 +83023,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81717,11 +83081,11 @@ export namespace compute_v1 { getAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Getassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params?: Params$Resource$Regionnetworkfirewallpolicies$Getassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Getassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -81756,8 +83120,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Getassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81813,11 +83177,13 @@ export namespace compute_v1 { getEffectiveFirewalls( params: Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectiveFirewalls( params?: Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEffectiveFirewalls( params: Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls, options: StreamMethodOptions | BodyResponseCallback, @@ -81852,8 +83218,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Geteffectivefirewalls; let options = (optionsOrCallback || {}) as MethodOptions; @@ -81911,11 +83279,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -81944,7 +83312,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82000,11 +83371,11 @@ export namespace compute_v1 { getRule( params: Params$Resource$Regionnetworkfirewallpolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Regionnetworkfirewallpolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -82035,8 +83406,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82091,11 +83462,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regionnetworkfirewallpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionnetworkfirewallpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionnetworkfirewallpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -82124,7 +83495,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82179,11 +83553,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionnetworkfirewallpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionnetworkfirewallpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionnetworkfirewallpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -82214,8 +83588,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82270,11 +83644,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Regionnetworkfirewallpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionnetworkfirewallpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionnetworkfirewallpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -82303,7 +83677,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82358,11 +83735,11 @@ export namespace compute_v1 { patchRule( params: Params$Resource$Regionnetworkfirewallpolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Regionnetworkfirewallpolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -82391,7 +83768,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82446,11 +83826,11 @@ export namespace compute_v1 { removeAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Removeassociation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params?: Params$Resource$Regionnetworkfirewallpolicies$Removeassociation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssociation( params: Params$Resource$Regionnetworkfirewallpolicies$Removeassociation, options: StreamMethodOptions | BodyResponseCallback, @@ -82479,7 +83859,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Removeassociation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82535,11 +83918,11 @@ export namespace compute_v1 { removeRule( params: Params$Resource$Regionnetworkfirewallpolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Regionnetworkfirewallpolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Regionnetworkfirewallpolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -82568,7 +83951,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82623,11 +84009,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -82656,7 +84042,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -82712,11 +84101,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -82751,8 +84140,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnetworkfirewallpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83194,11 +84583,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionnotificationendpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionnotificationendpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionnotificationendpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -83227,7 +84616,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83282,11 +84674,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionnotificationendpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionnotificationendpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionnotificationendpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -83319,8 +84711,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83375,11 +84767,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regionnotificationendpoints$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionnotificationendpoints$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionnotificationendpoints$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -83408,7 +84800,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83463,11 +84858,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionnotificationendpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionnotificationendpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionnotificationendpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -83500,8 +84895,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionnotificationendpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83649,11 +85044,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionoperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionoperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionoperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -83680,7 +85075,10 @@ export namespace compute_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83735,11 +85133,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -83768,7 +85166,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83823,11 +85224,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -83856,7 +85257,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -83911,11 +85315,11 @@ export namespace compute_v1 { wait( params: Params$Resource$Regionoperations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Regionoperations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Regionoperations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -83944,7 +85348,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionoperations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84083,11 +85490,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -84116,7 +85523,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84169,11 +85579,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -84202,7 +85612,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84300,11 +85713,11 @@ export namespace compute_v1 { addRule( params: Params$Resource$Regionsecuritypolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Regionsecuritypolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Regionsecuritypolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -84333,7 +85746,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84388,11 +85804,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionsecuritypolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionsecuritypolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionsecuritypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -84421,7 +85837,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84476,11 +85895,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionsecuritypolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsecuritypolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsecuritypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -84509,7 +85928,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84564,11 +85986,11 @@ export namespace compute_v1 { getRule( params: Params$Resource$Regionsecuritypolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Regionsecuritypolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Regionsecuritypolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -84599,8 +86021,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84655,11 +86077,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regionsecuritypolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionsecuritypolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionsecuritypolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -84688,7 +86110,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84743,11 +86168,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionsecuritypolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionsecuritypolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionsecuritypolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -84778,8 +86203,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84834,11 +86259,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Regionsecuritypolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionsecuritypolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionsecuritypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -84867,7 +86292,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -84922,11 +86350,11 @@ export namespace compute_v1 { patchRule( params: Params$Resource$Regionsecuritypolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Regionsecuritypolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Regionsecuritypolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -84955,7 +86383,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85010,11 +86441,11 @@ export namespace compute_v1 { removeRule( params: Params$Resource$Regionsecuritypolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Regionsecuritypolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Regionsecuritypolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -85043,7 +86474,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85098,11 +86532,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Regionsecuritypolicies$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Regionsecuritypolicies$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Regionsecuritypolicies$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -85131,7 +86565,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsecuritypolicies$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85429,11 +86866,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionsslcertificates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionsslcertificates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionsslcertificates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -85462,7 +86899,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85517,11 +86957,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionsslcertificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsslcertificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsslcertificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -85550,7 +86990,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85605,11 +87048,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regionsslcertificates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionsslcertificates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionsslcertificates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -85638,7 +87081,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85693,11 +87139,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionsslcertificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionsslcertificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionsslcertificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -85728,8 +87174,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslcertificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85877,11 +87323,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionsslpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionsslpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionsslpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -85910,7 +87356,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -85965,11 +87414,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionsslpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionsslpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionsslpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -85998,7 +87447,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86053,11 +87505,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regionsslpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionsslpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionsslpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -86086,7 +87538,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86141,11 +87596,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionsslpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionsslpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionsslpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -86174,7 +87629,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86229,11 +87687,13 @@ export namespace compute_v1 { listAvailableFeatures( params: Params$Resource$Regionsslpolicies$Listavailablefeatures, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAvailableFeatures( params?: Params$Resource$Regionsslpolicies$Listavailablefeatures, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAvailableFeatures( params: Params$Resource$Regionsslpolicies$Listavailablefeatures, options: StreamMethodOptions | BodyResponseCallback, @@ -86268,8 +87728,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Listavailablefeatures; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86326,11 +87788,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Regionsslpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionsslpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionsslpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -86359,7 +87821,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionsslpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86562,11 +88027,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regiontargethttpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiontargethttpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiontargethttpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -86595,7 +88060,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86650,11 +88118,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regiontargethttpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiontargethttpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiontargethttpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -86683,7 +88151,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86738,11 +88209,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regiontargethttpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiontargethttpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiontargethttpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -86771,7 +88242,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86826,11 +88300,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regiontargethttpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiontargethttpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiontargethttpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -86861,8 +88335,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -86917,11 +88391,11 @@ export namespace compute_v1 { setUrlMap( params: Params$Resource$Regiontargethttpproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Regiontargethttpproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Regiontargethttpproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -86950,7 +88424,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87122,11 +88599,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regiontargethttpsproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiontargethttpsproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiontargethttpsproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -87155,7 +88632,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87210,11 +88690,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regiontargethttpsproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiontargethttpsproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiontargethttpsproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -87243,7 +88723,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87298,11 +88781,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regiontargethttpsproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiontargethttpsproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiontargethttpsproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -87331,7 +88814,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87386,11 +88872,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regiontargethttpsproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiontargethttpsproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiontargethttpsproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -87423,8 +88909,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87479,11 +88965,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Regiontargethttpsproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regiontargethttpsproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regiontargethttpsproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -87512,7 +88998,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87567,11 +89056,11 @@ export namespace compute_v1 { setSslCertificates( params: Params$Resource$Regiontargethttpsproxies$Setsslcertificates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params?: Params$Resource$Regiontargethttpsproxies$Setsslcertificates, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params: Params$Resource$Regiontargethttpsproxies$Setsslcertificates, options: StreamMethodOptions | BodyResponseCallback, @@ -87600,7 +89089,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Setsslcertificates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87656,11 +89148,11 @@ export namespace compute_v1 { setUrlMap( params: Params$Resource$Regiontargethttpsproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Regiontargethttpsproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Regiontargethttpsproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -87689,7 +89181,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargethttpsproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87909,11 +89404,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regiontargettcpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regiontargettcpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regiontargettcpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -87942,7 +89437,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -87997,11 +89495,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regiontargettcpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regiontargettcpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regiontargettcpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -88030,7 +89528,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88085,11 +89586,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regiontargettcpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regiontargettcpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regiontargettcpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -88118,7 +89619,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88173,11 +89677,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regiontargettcpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regiontargettcpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regiontargettcpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -88208,8 +89712,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regiontargettcpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88357,11 +89861,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Regionurlmaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regionurlmaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regionurlmaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -88390,7 +89894,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88445,11 +89952,11 @@ export namespace compute_v1 { get( params: Params$Resource$Regionurlmaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regionurlmaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regionurlmaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -88478,7 +89985,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88533,11 +90043,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Regionurlmaps$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionurlmaps$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionurlmaps$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -88566,7 +90076,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88621,11 +90134,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionurlmaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionurlmaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionurlmaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -88654,7 +90167,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88709,11 +90225,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Regionurlmaps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regionurlmaps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regionurlmaps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -88742,7 +90258,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88797,11 +90316,11 @@ export namespace compute_v1 { update( params: Params$Resource$Regionurlmaps$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Regionurlmaps$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Regionurlmaps$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -88830,7 +90349,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -88885,11 +90407,11 @@ export namespace compute_v1 { validate( params: Params$Resource$Regionurlmaps$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Regionurlmaps$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validate( params: Params$Resource$Regionurlmaps$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -88924,8 +90446,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionurlmaps$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89141,11 +90663,11 @@ export namespace compute_v1 { list( params: Params$Resource$Regionzones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regionzones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regionzones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -89174,7 +90696,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionzones$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89265,11 +90790,11 @@ export namespace compute_v1 { get( params: Params$Resource$Reservationblocks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reservationblocks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reservationblocks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -89304,8 +90829,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationblocks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89362,11 +90887,11 @@ export namespace compute_v1 { list( params: Params$Resource$Reservationblocks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reservationblocks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reservationblocks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -89401,8 +90926,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationblocks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89459,11 +90984,11 @@ export namespace compute_v1 { performMaintenance( params: Params$Resource$Reservationblocks$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Reservationblocks$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Reservationblocks$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -89492,7 +91017,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservationblocks$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89637,11 +91165,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Reservations$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Reservations$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Reservations$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -89676,8 +91204,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89731,11 +91259,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Reservations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Reservations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Reservations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -89764,7 +91292,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89819,11 +91350,11 @@ export namespace compute_v1 { get( params: Params$Resource$Reservations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reservations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reservations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -89852,7 +91383,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89906,11 +91440,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Reservations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Reservations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Reservations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -89939,7 +91473,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -89994,11 +91531,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Reservations$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Reservations$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Reservations$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -90027,7 +91564,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90082,11 +91622,11 @@ export namespace compute_v1 { list( params: Params$Resource$Reservations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reservations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reservations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -90115,7 +91655,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90170,11 +91713,11 @@ export namespace compute_v1 { performMaintenance( params: Params$Resource$Reservations$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Reservations$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Reservations$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -90203,7 +91746,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90258,11 +91804,11 @@ export namespace compute_v1 { resize( params: Params$Resource$Reservations$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Reservations$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Reservations$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -90291,7 +91837,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90346,11 +91895,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Reservations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Reservations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Reservations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -90379,7 +91928,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90434,11 +91986,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Reservations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Reservations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Reservations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -90473,8 +92025,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90529,11 +92081,11 @@ export namespace compute_v1 { update( params: Params$Resource$Reservations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Reservations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Reservations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -90562,7 +92114,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reservations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90883,11 +92438,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Resourcepolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Resourcepolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Resourcepolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -90922,8 +92477,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -90980,11 +92535,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Resourcepolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Resourcepolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Resourcepolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -91013,7 +92568,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91068,11 +92626,11 @@ export namespace compute_v1 { get( params: Params$Resource$Resourcepolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resourcepolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resourcepolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -91101,7 +92659,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91156,11 +92717,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Resourcepolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Resourcepolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Resourcepolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -91189,7 +92750,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91244,11 +92808,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Resourcepolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Resourcepolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Resourcepolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -91277,7 +92841,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91332,11 +92899,11 @@ export namespace compute_v1 { list( params: Params$Resource$Resourcepolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resourcepolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resourcepolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -91367,8 +92934,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91423,11 +92990,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Resourcepolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Resourcepolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Resourcepolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -91456,7 +93023,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91511,11 +93081,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Resourcepolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Resourcepolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Resourcepolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -91544,7 +93114,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91599,11 +93172,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Resourcepolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Resourcepolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Resourcepolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -91638,8 +93211,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcepolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -91909,11 +93482,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Routers$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Routers$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Routers$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -91948,8 +93521,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92003,11 +93576,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Routers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Routers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Routers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -92036,7 +93609,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92090,11 +93666,11 @@ export namespace compute_v1 { deleteRoutePolicy( params: Params$Resource$Routers$Deleteroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteRoutePolicy( params?: Params$Resource$Routers$Deleteroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteRoutePolicy( params: Params$Resource$Routers$Deleteroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -92123,7 +93699,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Deleteroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92178,11 +93757,11 @@ export namespace compute_v1 { get( params: Params$Resource$Routers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Routers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Routers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -92211,7 +93790,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92265,11 +93847,11 @@ export namespace compute_v1 { getNatIpInfo( params: Params$Resource$Routers$Getnatipinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNatIpInfo( params?: Params$Resource$Routers$Getnatipinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNatIpInfo( params: Params$Resource$Routers$Getnatipinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -92302,8 +93884,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getnatipinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92358,11 +93940,11 @@ export namespace compute_v1 { getNatMappingInfo( params: Params$Resource$Routers$Getnatmappinginfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNatMappingInfo( params?: Params$Resource$Routers$Getnatmappinginfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNatMappingInfo( params: Params$Resource$Routers$Getnatmappinginfo, options: StreamMethodOptions | BodyResponseCallback, @@ -92397,8 +93979,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getnatmappinginfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92453,11 +94035,11 @@ export namespace compute_v1 { getRoutePolicy( params: Params$Resource$Routers$Getroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRoutePolicy( params?: Params$Resource$Routers$Getroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRoutePolicy( params: Params$Resource$Routers$Getroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -92492,8 +94074,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92550,11 +94132,11 @@ export namespace compute_v1 { getRouterStatus( params: Params$Resource$Routers$Getrouterstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRouterStatus( params?: Params$Resource$Routers$Getrouterstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRouterStatus( params: Params$Resource$Routers$Getrouterstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -92589,8 +94171,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Getrouterstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92645,11 +94227,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Routers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Routers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Routers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -92678,7 +94260,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92732,11 +94317,11 @@ export namespace compute_v1 { list( params: Params$Resource$Routers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Routers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Routers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -92765,7 +94350,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92819,11 +94407,11 @@ export namespace compute_v1 { listBgpRoutes( params: Params$Resource$Routers$Listbgproutes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listBgpRoutes( params?: Params$Resource$Routers$Listbgproutes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listBgpRoutes( params: Params$Resource$Routers$Listbgproutes, options: StreamMethodOptions | BodyResponseCallback, @@ -92858,8 +94446,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Listbgproutes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -92914,11 +94502,11 @@ export namespace compute_v1 { listRoutePolicies( params: Params$Resource$Routers$Listroutepolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRoutePolicies( params?: Params$Resource$Routers$Listroutepolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listRoutePolicies( params: Params$Resource$Routers$Listroutepolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -92953,8 +94541,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Listroutepolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93009,11 +94597,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Routers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Routers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Routers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -93042,7 +94630,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93096,11 +94687,11 @@ export namespace compute_v1 { patchRoutePolicy( params: Params$Resource$Routers$Patchroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRoutePolicy( params?: Params$Resource$Routers$Patchroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRoutePolicy( params: Params$Resource$Routers$Patchroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -93129,7 +94720,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Patchroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93184,11 +94778,11 @@ export namespace compute_v1 { preview( params: Params$Resource$Routers$Preview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; preview( params?: Params$Resource$Routers$Preview, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; preview( params: Params$Resource$Routers$Preview, options: StreamMethodOptions | BodyResponseCallback, @@ -93223,8 +94817,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Preview; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93278,11 +94872,11 @@ export namespace compute_v1 { update( params: Params$Resource$Routers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Routers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Routers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -93311,7 +94905,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93365,11 +94962,11 @@ export namespace compute_v1 { updateRoutePolicy( params: Params$Resource$Routers$Updateroutepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateRoutePolicy( params?: Params$Resource$Routers$Updateroutepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateRoutePolicy( params: Params$Resource$Routers$Updateroutepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -93398,7 +94995,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routers$Updateroutepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93895,11 +95495,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Routes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Routes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Routes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -93928,7 +95528,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -93981,11 +95584,11 @@ export namespace compute_v1 { get( params: Params$Resource$Routes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Routes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Routes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -94014,7 +95617,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94067,11 +95673,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Routes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Routes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Routes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -94100,7 +95706,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94153,11 +95762,11 @@ export namespace compute_v1 { list( params: Params$Resource$Routes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Routes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Routes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -94186,7 +95795,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Routes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94312,11 +95924,11 @@ export namespace compute_v1 { addRule( params: Params$Resource$Securitypolicies$Addrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params?: Params$Resource$Securitypolicies$Addrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addRule( params: Params$Resource$Securitypolicies$Addrule, options: StreamMethodOptions | BodyResponseCallback, @@ -94345,7 +95957,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Addrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94400,11 +96015,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Securitypolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Securitypolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Securitypolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -94439,8 +96054,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94497,11 +96112,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Securitypolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Securitypolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Securitypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -94530,7 +96145,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94585,11 +96203,11 @@ export namespace compute_v1 { get( params: Params$Resource$Securitypolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Securitypolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Securitypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -94618,7 +96236,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94673,11 +96294,11 @@ export namespace compute_v1 { getRule( params: Params$Resource$Securitypolicies$Getrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params?: Params$Resource$Securitypolicies$Getrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRule( params: Params$Resource$Securitypolicies$Getrule, options: StreamMethodOptions | BodyResponseCallback, @@ -94708,8 +96329,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Getrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94764,11 +96385,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Securitypolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Securitypolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Securitypolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -94797,7 +96418,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94851,11 +96475,11 @@ export namespace compute_v1 { list( params: Params$Resource$Securitypolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Securitypolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Securitypolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -94886,8 +96510,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -94941,11 +96565,13 @@ export namespace compute_v1 { listPreconfiguredExpressionSets( params: Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPreconfiguredExpressionSets( params?: Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPreconfiguredExpressionSets( params: Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, options: StreamMethodOptions | BodyResponseCallback, @@ -94980,8 +96606,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95039,11 +96667,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Securitypolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Securitypolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Securitypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -95072,7 +96700,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95127,11 +96758,11 @@ export namespace compute_v1 { patchRule( params: Params$Resource$Securitypolicies$Patchrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params?: Params$Resource$Securitypolicies$Patchrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patchRule( params: Params$Resource$Securitypolicies$Patchrule, options: StreamMethodOptions | BodyResponseCallback, @@ -95160,7 +96791,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Patchrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95215,11 +96849,11 @@ export namespace compute_v1 { removeRule( params: Params$Resource$Securitypolicies$Removerule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params?: Params$Resource$Securitypolicies$Removerule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeRule( params: Params$Resource$Securitypolicies$Removerule, options: StreamMethodOptions | BodyResponseCallback, @@ -95248,7 +96882,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Removerule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95303,11 +96940,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Securitypolicies$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Securitypolicies$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Securitypolicies$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -95336,7 +96973,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Securitypolicies$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95652,11 +97292,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Serviceattachments$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Serviceattachments$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Serviceattachments$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -95691,8 +97331,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95749,11 +97389,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Serviceattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Serviceattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Serviceattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -95782,7 +97422,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95837,11 +97480,11 @@ export namespace compute_v1 { get( params: Params$Resource$Serviceattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Serviceattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Serviceattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -95872,8 +97515,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -95928,11 +97571,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Serviceattachments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Serviceattachments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Serviceattachments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -95961,7 +97604,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96016,11 +97662,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Serviceattachments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Serviceattachments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Serviceattachments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -96049,7 +97695,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96104,11 +97753,11 @@ export namespace compute_v1 { list( params: Params$Resource$Serviceattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Serviceattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Serviceattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -96141,8 +97790,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96197,11 +97846,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Serviceattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Serviceattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Serviceattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -96230,7 +97879,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96285,11 +97937,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Serviceattachments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Serviceattachments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Serviceattachments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -96318,7 +97970,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96373,11 +98028,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Serviceattachments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Serviceattachments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Serviceattachments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -96412,8 +98067,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Serviceattachments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96679,11 +98334,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Snapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Snapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Snapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -96712,7 +98367,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96766,11 +98424,11 @@ export namespace compute_v1 { get( params: Params$Resource$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -96799,7 +98457,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96853,11 +98514,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Snapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Snapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Snapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -96886,7 +98547,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -96941,11 +98605,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Snapshots$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Snapshots$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Snapshots$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -96974,7 +98638,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97027,11 +98694,11 @@ export namespace compute_v1 { list( params: Params$Resource$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -97060,7 +98727,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97113,11 +98783,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Snapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Snapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Snapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -97146,7 +98816,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97201,11 +98874,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Snapshots$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Snapshots$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Snapshots$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -97234,7 +98907,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97289,11 +98965,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Snapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Snapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Snapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -97328,8 +99004,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97520,11 +99196,11 @@ export namespace compute_v1 { get( params: Params$Resource$Snapshotsettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Snapshotsettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Snapshotsettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -97553,7 +99229,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotsettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97607,11 +99286,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Snapshotsettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Snapshotsettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Snapshotsettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -97640,7 +99319,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshotsettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97729,11 +99411,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Sslcertificates$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Sslcertificates$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Sslcertificates$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -97768,8 +99450,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97826,11 +99508,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Sslcertificates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sslcertificates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sslcertificates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -97859,7 +99541,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -97914,11 +99599,11 @@ export namespace compute_v1 { get( params: Params$Resource$Sslcertificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sslcertificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sslcertificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -97947,7 +99632,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98002,11 +99690,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Sslcertificates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sslcertificates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sslcertificates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -98035,7 +99723,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98089,11 +99780,11 @@ export namespace compute_v1 { list( params: Params$Resource$Sslcertificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sslcertificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sslcertificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -98124,8 +99815,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcertificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98291,11 +99982,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Sslpolicies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Sslpolicies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Sslpolicies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -98330,8 +100021,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98385,11 +100076,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Sslpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sslpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sslpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -98418,7 +100109,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98473,11 +100167,11 @@ export namespace compute_v1 { get( params: Params$Resource$Sslpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sslpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sslpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -98506,7 +100200,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98560,11 +100257,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Sslpolicies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sslpolicies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sslpolicies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -98593,7 +100290,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98647,11 +100347,11 @@ export namespace compute_v1 { list( params: Params$Resource$Sslpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sslpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sslpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -98680,7 +100380,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98733,11 +100436,13 @@ export namespace compute_v1 { listAvailableFeatures( params: Params$Resource$Sslpolicies$Listavailablefeatures, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAvailableFeatures( params?: Params$Resource$Sslpolicies$Listavailablefeatures, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAvailableFeatures( params: Params$Resource$Sslpolicies$Listavailablefeatures, options: StreamMethodOptions | BodyResponseCallback, @@ -98772,8 +100477,10 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Listavailablefeatures; let options = (optionsOrCallback || {}) as MethodOptions; @@ -98830,11 +100537,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Sslpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Sslpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Sslpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -98863,7 +100570,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99075,11 +100785,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Storagepools$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Storagepools$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Storagepools$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -99114,8 +100824,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99169,11 +100879,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Storagepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Storagepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Storagepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -99202,7 +100912,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99257,11 +100970,11 @@ export namespace compute_v1 { get( params: Params$Resource$Storagepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Storagepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Storagepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -99290,7 +101003,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99344,11 +101060,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Storagepools$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Storagepools$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Storagepools$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -99377,7 +101093,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99432,11 +101151,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Storagepools$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Storagepools$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Storagepools$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -99465,7 +101184,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99520,11 +101242,11 @@ export namespace compute_v1 { list( params: Params$Resource$Storagepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Storagepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Storagepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -99553,7 +101275,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99608,11 +101333,11 @@ export namespace compute_v1 { listDisks( params: Params$Resource$Storagepools$Listdisks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDisks( params?: Params$Resource$Storagepools$Listdisks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listDisks( params: Params$Resource$Storagepools$Listdisks, options: StreamMethodOptions | BodyResponseCallback, @@ -99647,8 +101372,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Listdisks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99703,11 +101428,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Storagepools$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Storagepools$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Storagepools$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -99736,7 +101461,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99791,11 +101519,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Storagepools$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Storagepools$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Storagepools$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -99830,8 +101558,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -99886,11 +101614,11 @@ export namespace compute_v1 { update( params: Params$Resource$Storagepools$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Storagepools$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Storagepools$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -99919,7 +101647,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepools$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100223,11 +101954,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Storagepooltypes$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Storagepooltypes$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Storagepooltypes$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -100262,8 +101993,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepooltypes$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100320,11 +102051,11 @@ export namespace compute_v1 { get( params: Params$Resource$Storagepooltypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Storagepooltypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Storagepooltypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -100353,7 +102084,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepooltypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100408,11 +102142,11 @@ export namespace compute_v1 { list( params: Params$Resource$Storagepooltypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Storagepooltypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Storagepooltypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -100443,8 +102177,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Storagepooltypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100588,11 +102322,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Subnetworks$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Subnetworks$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Subnetworks$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -100627,8 +102361,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100682,11 +102416,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Subnetworks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Subnetworks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Subnetworks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -100715,7 +102449,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100770,11 +102507,11 @@ export namespace compute_v1 { expandIpCidrRange( params: Params$Resource$Subnetworks$Expandipcidrrange, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; expandIpCidrRange( params?: Params$Resource$Subnetworks$Expandipcidrrange, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; expandIpCidrRange( params: Params$Resource$Subnetworks$Expandipcidrrange, options: StreamMethodOptions | BodyResponseCallback, @@ -100803,7 +102540,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Expandipcidrrange; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100858,11 +102598,11 @@ export namespace compute_v1 { get( params: Params$Resource$Subnetworks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Subnetworks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Subnetworks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -100891,7 +102631,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -100945,11 +102688,11 @@ export namespace compute_v1 { getIamPolicy( params: Params$Resource$Subnetworks$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Subnetworks$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Subnetworks$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -100978,7 +102721,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101033,11 +102779,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Subnetworks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Subnetworks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Subnetworks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -101066,7 +102812,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101121,11 +102870,11 @@ export namespace compute_v1 { list( params: Params$Resource$Subnetworks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Subnetworks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Subnetworks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -101154,7 +102903,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101208,11 +102960,11 @@ export namespace compute_v1 { listUsable( params: Params$Resource$Subnetworks$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Subnetworks$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Subnetworks$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -101247,8 +102999,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101305,11 +103057,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Subnetworks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Subnetworks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Subnetworks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -101338,7 +103090,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101393,11 +103148,11 @@ export namespace compute_v1 { setIamPolicy( params: Params$Resource$Subnetworks$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Subnetworks$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Subnetworks$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -101426,7 +103181,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101481,11 +103239,11 @@ export namespace compute_v1 { setPrivateIpGoogleAccess( params: Params$Resource$Subnetworks$Setprivateipgoogleaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setPrivateIpGoogleAccess( params?: Params$Resource$Subnetworks$Setprivateipgoogleaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setPrivateIpGoogleAccess( params: Params$Resource$Subnetworks$Setprivateipgoogleaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -101516,7 +103274,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Setprivateipgoogleaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101571,11 +103332,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Subnetworks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Subnetworks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Subnetworks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -101610,8 +103371,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subnetworks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -101954,11 +103715,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Targetgrpcproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetgrpcproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetgrpcproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -101987,7 +103748,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102042,11 +103806,11 @@ export namespace compute_v1 { get( params: Params$Resource$Targetgrpcproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetgrpcproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetgrpcproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -102075,7 +103839,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102130,11 +103897,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Targetgrpcproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetgrpcproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetgrpcproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -102163,7 +103930,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102218,11 +103988,11 @@ export namespace compute_v1 { list( params: Params$Resource$Targetgrpcproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetgrpcproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetgrpcproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -102253,8 +104023,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102309,11 +104079,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Targetgrpcproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targetgrpcproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targetgrpcproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -102342,7 +104112,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetgrpcproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102494,11 +104267,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Targethttpproxies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targethttpproxies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targethttpproxies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -102533,8 +104306,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102591,11 +104364,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Targethttpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targethttpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targethttpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -102624,7 +104397,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102679,11 +104455,11 @@ export namespace compute_v1 { get( params: Params$Resource$Targethttpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targethttpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targethttpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -102712,7 +104488,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102767,11 +104546,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Targethttpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targethttpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targethttpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -102800,7 +104579,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102855,11 +104637,11 @@ export namespace compute_v1 { list( params: Params$Resource$Targethttpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targethttpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targethttpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -102890,8 +104672,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -102946,11 +104728,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Targethttpproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targethttpproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targethttpproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -102979,7 +104761,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103034,11 +104819,11 @@ export namespace compute_v1 { setUrlMap( params: Params$Resource$Targethttpproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Targethttpproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Targethttpproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -103067,7 +104852,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103274,11 +105062,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Targethttpsproxies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targethttpsproxies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targethttpsproxies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -103313,8 +105101,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103371,11 +105159,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Targethttpsproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targethttpsproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targethttpsproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -103404,7 +105192,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103459,11 +105250,11 @@ export namespace compute_v1 { get( params: Params$Resource$Targethttpsproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targethttpsproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targethttpsproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -103492,7 +105283,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103547,11 +105341,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Targethttpsproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targethttpsproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targethttpsproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -103580,7 +105374,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103635,11 +105432,11 @@ export namespace compute_v1 { list( params: Params$Resource$Targethttpsproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targethttpsproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targethttpsproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -103672,8 +105469,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103728,11 +105525,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Targethttpsproxies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targethttpsproxies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targethttpsproxies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -103761,7 +105558,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103816,11 +105616,11 @@ export namespace compute_v1 { setCertificateMap( params: Params$Resource$Targethttpsproxies$Setcertificatemap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params?: Params$Resource$Targethttpsproxies$Setcertificatemap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params: Params$Resource$Targethttpsproxies$Setcertificatemap, options: StreamMethodOptions | BodyResponseCallback, @@ -103849,7 +105649,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setcertificatemap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103904,11 +105707,11 @@ export namespace compute_v1 { setQuicOverride( params: Params$Resource$Targethttpsproxies$Setquicoverride, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setQuicOverride( params?: Params$Resource$Targethttpsproxies$Setquicoverride, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setQuicOverride( params: Params$Resource$Targethttpsproxies$Setquicoverride, options: StreamMethodOptions | BodyResponseCallback, @@ -103937,7 +105740,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setquicoverride; let options = (optionsOrCallback || {}) as MethodOptions; @@ -103992,11 +105798,11 @@ export namespace compute_v1 { setSslCertificates( params: Params$Resource$Targethttpsproxies$Setsslcertificates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params?: Params$Resource$Targethttpsproxies$Setsslcertificates, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params: Params$Resource$Targethttpsproxies$Setsslcertificates, options: StreamMethodOptions | BodyResponseCallback, @@ -104025,7 +105831,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setsslcertificates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104080,11 +105889,11 @@ export namespace compute_v1 { setSslPolicy( params: Params$Resource$Targethttpsproxies$Setsslpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params?: Params$Resource$Targethttpsproxies$Setsslpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params: Params$Resource$Targethttpsproxies$Setsslpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -104113,7 +105922,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Setsslpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104168,11 +105980,11 @@ export namespace compute_v1 { setUrlMap( params: Params$Resource$Targethttpsproxies$Seturlmap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params?: Params$Resource$Targethttpsproxies$Seturlmap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUrlMap( params: Params$Resource$Targethttpsproxies$Seturlmap, options: StreamMethodOptions | BodyResponseCallback, @@ -104201,7 +106013,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targethttpsproxies$Seturlmap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104488,11 +106303,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Targetinstances$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targetinstances$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targetinstances$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -104527,8 +106342,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104585,11 +106400,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Targetinstances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetinstances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetinstances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -104618,7 +106433,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104673,11 +106491,11 @@ export namespace compute_v1 { get( params: Params$Resource$Targetinstances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetinstances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetinstances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -104706,7 +106524,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104761,11 +106582,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Targetinstances$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetinstances$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetinstances$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -104794,7 +106615,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104849,11 +106673,11 @@ export namespace compute_v1 { list( params: Params$Resource$Targetinstances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetinstances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetinstances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -104884,8 +106708,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -104940,11 +106764,11 @@ export namespace compute_v1 { setSecurityPolicy( params: Params$Resource$Targetinstances$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Targetinstances$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Targetinstances$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -104973,7 +106797,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetinstances$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105180,11 +107007,11 @@ export namespace compute_v1 { addHealthCheck( params: Params$Resource$Targetpools$Addhealthcheck, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addHealthCheck( params?: Params$Resource$Targetpools$Addhealthcheck, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addHealthCheck( params: Params$Resource$Targetpools$Addhealthcheck, options: StreamMethodOptions | BodyResponseCallback, @@ -105213,7 +107040,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Addhealthcheck; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105268,11 +107098,11 @@ export namespace compute_v1 { addInstance( params: Params$Resource$Targetpools$Addinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addInstance( params?: Params$Resource$Targetpools$Addinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addInstance( params: Params$Resource$Targetpools$Addinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -105301,7 +107131,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Addinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105356,11 +107189,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Targetpools$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targetpools$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targetpools$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -105395,8 +107228,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105450,11 +107283,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Targetpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -105483,7 +107316,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105538,11 +107374,11 @@ export namespace compute_v1 { get( params: Params$Resource$Targetpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -105571,7 +107407,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105625,11 +107464,11 @@ export namespace compute_v1 { getHealth( params: Params$Resource$Targetpools$Gethealth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params?: Params$Resource$Targetpools$Gethealth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHealth( params: Params$Resource$Targetpools$Gethealth, options: StreamMethodOptions | BodyResponseCallback, @@ -105664,8 +107503,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Gethealth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105720,11 +107559,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Targetpools$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetpools$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetpools$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -105753,7 +107592,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105808,11 +107650,11 @@ export namespace compute_v1 { list( params: Params$Resource$Targetpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -105841,7 +107683,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105895,11 +107740,11 @@ export namespace compute_v1 { removeHealthCheck( params: Params$Resource$Targetpools$Removehealthcheck, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeHealthCheck( params?: Params$Resource$Targetpools$Removehealthcheck, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeHealthCheck( params: Params$Resource$Targetpools$Removehealthcheck, options: StreamMethodOptions | BodyResponseCallback, @@ -105928,7 +107773,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Removehealthcheck; let options = (optionsOrCallback || {}) as MethodOptions; @@ -105983,11 +107831,11 @@ export namespace compute_v1 { removeInstance( params: Params$Resource$Targetpools$Removeinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeInstance( params?: Params$Resource$Targetpools$Removeinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeInstance( params: Params$Resource$Targetpools$Removeinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -106016,7 +107864,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Removeinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106071,11 +107922,11 @@ export namespace compute_v1 { setBackup( params: Params$Resource$Targetpools$Setbackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBackup( params?: Params$Resource$Targetpools$Setbackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBackup( params: Params$Resource$Targetpools$Setbackup, options: StreamMethodOptions | BodyResponseCallback, @@ -106104,7 +107955,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Setbackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106159,11 +108013,11 @@ export namespace compute_v1 { setSecurityPolicy( params: Params$Resource$Targetpools$Setsecuritypolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params?: Params$Resource$Targetpools$Setsecuritypolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSecurityPolicy( params: Params$Resource$Targetpools$Setsecuritypolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -106192,7 +108046,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetpools$Setsecuritypolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106541,11 +108398,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Targetsslproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetsslproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetsslproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -106574,7 +108431,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106629,11 +108489,11 @@ export namespace compute_v1 { get( params: Params$Resource$Targetsslproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetsslproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetsslproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -106662,7 +108522,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106717,11 +108580,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Targetsslproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetsslproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetsslproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -106750,7 +108613,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106804,11 +108670,11 @@ export namespace compute_v1 { list( params: Params$Resource$Targetsslproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetsslproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetsslproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -106839,8 +108705,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106894,11 +108760,11 @@ export namespace compute_v1 { setBackendService( params: Params$Resource$Targetsslproxies$Setbackendservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params?: Params$Resource$Targetsslproxies$Setbackendservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params: Params$Resource$Targetsslproxies$Setbackendservice, options: StreamMethodOptions | BodyResponseCallback, @@ -106927,7 +108793,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setbackendservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -106982,11 +108851,11 @@ export namespace compute_v1 { setCertificateMap( params: Params$Resource$Targetsslproxies$Setcertificatemap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params?: Params$Resource$Targetsslproxies$Setcertificatemap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setCertificateMap( params: Params$Resource$Targetsslproxies$Setcertificatemap, options: StreamMethodOptions | BodyResponseCallback, @@ -107015,7 +108884,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setcertificatemap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107070,11 +108942,11 @@ export namespace compute_v1 { setProxyHeader( params: Params$Resource$Targetsslproxies$Setproxyheader, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params?: Params$Resource$Targetsslproxies$Setproxyheader, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params: Params$Resource$Targetsslproxies$Setproxyheader, options: StreamMethodOptions | BodyResponseCallback, @@ -107103,7 +108975,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setproxyheader; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107158,11 +109033,11 @@ export namespace compute_v1 { setSslCertificates( params: Params$Resource$Targetsslproxies$Setsslcertificates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params?: Params$Resource$Targetsslproxies$Setsslcertificates, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslCertificates( params: Params$Resource$Targetsslproxies$Setsslcertificates, options: StreamMethodOptions | BodyResponseCallback, @@ -107191,7 +109066,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setsslcertificates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107246,11 +109124,11 @@ export namespace compute_v1 { setSslPolicy( params: Params$Resource$Targetsslproxies$Setsslpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params?: Params$Resource$Targetsslproxies$Setsslpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSslPolicy( params: Params$Resource$Targetsslproxies$Setsslpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -107279,7 +109157,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetsslproxies$Setsslpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107511,11 +109392,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Targettcpproxies$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targettcpproxies$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targettcpproxies$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -107550,8 +109431,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107608,11 +109489,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Targettcpproxies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targettcpproxies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targettcpproxies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -107641,7 +109522,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107696,11 +109580,11 @@ export namespace compute_v1 { get( params: Params$Resource$Targettcpproxies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targettcpproxies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targettcpproxies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -107729,7 +109613,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107784,11 +109671,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Targettcpproxies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targettcpproxies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targettcpproxies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -107817,7 +109704,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107871,11 +109761,11 @@ export namespace compute_v1 { list( params: Params$Resource$Targettcpproxies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targettcpproxies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targettcpproxies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -107906,8 +109796,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -107961,11 +109851,11 @@ export namespace compute_v1 { setBackendService( params: Params$Resource$Targettcpproxies$Setbackendservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params?: Params$Resource$Targettcpproxies$Setbackendservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBackendService( params: Params$Resource$Targettcpproxies$Setbackendservice, options: StreamMethodOptions | BodyResponseCallback, @@ -107994,7 +109884,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Setbackendservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108049,11 +109942,11 @@ export namespace compute_v1 { setProxyHeader( params: Params$Resource$Targettcpproxies$Setproxyheader, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params?: Params$Resource$Targettcpproxies$Setproxyheader, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setProxyHeader( params: Params$Resource$Targettcpproxies$Setproxyheader, options: StreamMethodOptions | BodyResponseCallback, @@ -108082,7 +109975,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targettcpproxies$Setproxyheader; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108289,11 +110185,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Targetvpngateways$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Targetvpngateways$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Targetvpngateways$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -108328,8 +110224,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108386,11 +110282,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Targetvpngateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Targetvpngateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Targetvpngateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -108419,7 +110315,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108474,11 +110373,11 @@ export namespace compute_v1 { get( params: Params$Resource$Targetvpngateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetvpngateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetvpngateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -108507,7 +110406,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108562,11 +110464,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Targetvpngateways$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetvpngateways$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetvpngateways$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -108595,7 +110497,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108650,11 +110555,11 @@ export namespace compute_v1 { list( params: Params$Resource$Targetvpngateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetvpngateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetvpngateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -108687,8 +110592,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108743,11 +110648,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Targetvpngateways$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Targetvpngateways$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Targetvpngateways$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -108776,7 +110681,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetvpngateways$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -108983,11 +110891,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Urlmaps$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Urlmaps$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Urlmaps$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -109022,8 +110930,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109077,11 +110985,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Urlmaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Urlmaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Urlmaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -109110,7 +111018,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109163,11 +111074,11 @@ export namespace compute_v1 { get( params: Params$Resource$Urlmaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Urlmaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Urlmaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -109196,7 +111107,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109249,11 +111163,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Urlmaps$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Urlmaps$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Urlmaps$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -109282,7 +111196,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109335,11 +111252,11 @@ export namespace compute_v1 { invalidateCache( params: Params$Resource$Urlmaps$Invalidatecache, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; invalidateCache( params?: Params$Resource$Urlmaps$Invalidatecache, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; invalidateCache( params: Params$Resource$Urlmaps$Invalidatecache, options: StreamMethodOptions | BodyResponseCallback, @@ -109368,7 +111285,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Invalidatecache; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109423,11 +111343,11 @@ export namespace compute_v1 { list( params: Params$Resource$Urlmaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Urlmaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Urlmaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -109456,7 +111376,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109509,11 +111432,11 @@ export namespace compute_v1 { patch( params: Params$Resource$Urlmaps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Urlmaps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Urlmaps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -109542,7 +111465,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109595,11 +111521,11 @@ export namespace compute_v1 { update( params: Params$Resource$Urlmaps$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Urlmaps$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Urlmaps$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -109628,7 +111554,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109681,11 +111610,11 @@ export namespace compute_v1 { validate( params: Params$Resource$Urlmaps$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Urlmaps$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validate( params: Params$Resource$Urlmaps$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -109720,8 +111649,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlmaps$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -109956,11 +111885,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Vpngateways$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Vpngateways$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Vpngateways$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -109995,8 +111924,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110050,11 +111979,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Vpngateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Vpngateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Vpngateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -110083,7 +112012,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110138,11 +112070,11 @@ export namespace compute_v1 { get( params: Params$Resource$Vpngateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vpngateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Vpngateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -110171,7 +112103,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110225,11 +112160,11 @@ export namespace compute_v1 { getStatus( params: Params$Resource$Vpngateways$Getstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStatus( params?: Params$Resource$Vpngateways$Getstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStatus( params: Params$Resource$Vpngateways$Getstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -110264,8 +112199,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Getstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110322,11 +112257,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Vpngateways$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Vpngateways$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Vpngateways$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -110355,7 +112290,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110410,11 +112348,11 @@ export namespace compute_v1 { list( params: Params$Resource$Vpngateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Vpngateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Vpngateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -110443,7 +112381,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110497,11 +112438,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Vpngateways$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Vpngateways$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Vpngateways$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -110530,7 +112471,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110585,11 +112529,11 @@ export namespace compute_v1 { testIamPermissions( params: Params$Resource$Vpngateways$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Vpngateways$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Vpngateways$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -110624,8 +112568,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpngateways$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110865,11 +112809,11 @@ export namespace compute_v1 { aggregatedList( params: Params$Resource$Vpntunnels$Aggregatedlist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params?: Params$Resource$Vpntunnels$Aggregatedlist, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregatedList( params: Params$Resource$Vpntunnels$Aggregatedlist, options: StreamMethodOptions | BodyResponseCallback, @@ -110904,8 +112848,8 @@ export namespace compute_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Aggregatedlist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -110959,11 +112903,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Vpntunnels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Vpntunnels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Vpntunnels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -110992,7 +112936,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111047,11 +112994,11 @@ export namespace compute_v1 { get( params: Params$Resource$Vpntunnels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vpntunnels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Vpntunnels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -111080,7 +113027,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111134,11 +113084,11 @@ export namespace compute_v1 { insert( params: Params$Resource$Vpntunnels$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Vpntunnels$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Vpntunnels$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -111167,7 +113117,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111222,11 +113175,11 @@ export namespace compute_v1 { list( params: Params$Resource$Vpntunnels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Vpntunnels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Vpntunnels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -111255,7 +113208,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111309,11 +113265,11 @@ export namespace compute_v1 { setLabels( params: Params$Resource$Vpntunnels$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Vpntunnels$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Vpntunnels$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -111342,7 +113298,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vpntunnels$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111547,11 +113506,11 @@ export namespace compute_v1 { delete( params: Params$Resource$Zoneoperations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Zoneoperations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Zoneoperations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -111578,7 +113537,10 @@ export namespace compute_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111633,11 +113595,11 @@ export namespace compute_v1 { get( params: Params$Resource$Zoneoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Zoneoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Zoneoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -111666,7 +113628,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111721,11 +113686,11 @@ export namespace compute_v1 { list( params: Params$Resource$Zoneoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Zoneoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Zoneoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -111754,7 +113719,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111808,11 +113776,11 @@ export namespace compute_v1 { wait( params: Params$Resource$Zoneoperations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Zoneoperations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Zoneoperations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -111841,7 +113809,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zoneoperations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -111980,11 +113951,11 @@ export namespace compute_v1 { get( params: Params$Resource$Zones$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Zones$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Zones$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -112013,7 +113984,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zones$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -112066,11 +114040,11 @@ export namespace compute_v1 { list( params: Params$Resource$Zones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Zones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Zones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -112099,7 +114073,10 @@ export namespace compute_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Zones$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/config/index.ts b/src/apis/config/index.ts index 6cea731ea94..0ca73841266 100644 --- a/src/apis/config/index.ts +++ b/src/apis/config/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/config/package.json b/src/apis/config/package.json index 7b452e57094..2d5b225c0e8 100644 --- a/src/apis/config/package.json +++ b/src/apis/config/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/config/v1.ts b/src/apis/config/v1.ts index 8b5dcaa6999..f3bb133bc2d 100644 --- a/src/apis/config/v1.ts +++ b/src/apis/config/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1104,11 +1104,11 @@ export namespace config_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1137,7 +1137,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1189,11 +1192,11 @@ export namespace config_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1226,8 +1229,8 @@ export namespace config_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1324,11 +1327,11 @@ export namespace config_v1 { create( params: Params$Resource$Projects$Locations$Deployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Deployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Deployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1357,7 +1360,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1412,11 +1418,11 @@ export namespace config_v1 { delete( params: Params$Resource$Projects$Locations$Deployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Deployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Deployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1445,7 +1451,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1497,11 +1506,11 @@ export namespace config_v1 { deleteState( params: Params$Resource$Projects$Locations$Deployments$Deletestate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteState( params?: Params$Resource$Projects$Locations$Deployments$Deletestate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteState( params: Params$Resource$Projects$Locations$Deployments$Deletestate, options: StreamMethodOptions | BodyResponseCallback, @@ -1530,7 +1539,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Deletestate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1586,11 +1598,11 @@ export namespace config_v1 { exportLock( params: Params$Resource$Projects$Locations$Deployments$Exportlock, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportLock( params?: Params$Resource$Projects$Locations$Deployments$Exportlock, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportLock( params: Params$Resource$Projects$Locations$Deployments$Exportlock, options: StreamMethodOptions | BodyResponseCallback, @@ -1619,7 +1631,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Exportlock; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1675,11 +1690,11 @@ export namespace config_v1 { exportState( params: Params$Resource$Projects$Locations$Deployments$Exportstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportState( params?: Params$Resource$Projects$Locations$Deployments$Exportstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportState( params: Params$Resource$Projects$Locations$Deployments$Exportstate, options: StreamMethodOptions | BodyResponseCallback, @@ -1708,7 +1723,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Exportstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1764,11 +1782,11 @@ export namespace config_v1 { get( params: Params$Resource$Projects$Locations$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1797,7 +1815,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1849,11 +1870,11 @@ export namespace config_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Deployments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Deployments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Deployments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1882,7 +1903,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1938,11 +1962,11 @@ export namespace config_v1 { importState( params: Params$Resource$Projects$Locations$Deployments$Importstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importState( params?: Params$Resource$Projects$Locations$Deployments$Importstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importState( params: Params$Resource$Projects$Locations$Deployments$Importstate, options: StreamMethodOptions | BodyResponseCallback, @@ -1971,7 +1995,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Importstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2027,11 +2054,11 @@ export namespace config_v1 { list( params: Params$Resource$Projects$Locations$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2064,8 +2091,8 @@ export namespace config_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2120,11 +2147,11 @@ export namespace config_v1 { lock( params: Params$Resource$Projects$Locations$Deployments$Lock, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lock( params?: Params$Resource$Projects$Locations$Deployments$Lock, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lock( params: Params$Resource$Projects$Locations$Deployments$Lock, options: StreamMethodOptions | BodyResponseCallback, @@ -2153,7 +2180,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Lock; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2205,11 +2235,11 @@ export namespace config_v1 { patch( params: Params$Resource$Projects$Locations$Deployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Deployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Deployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2238,7 +2268,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2290,11 +2323,11 @@ export namespace config_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Deployments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Deployments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Deployments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2323,7 +2356,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2379,11 +2415,11 @@ export namespace config_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Deployments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Deployments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Deployments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2418,8 +2454,8 @@ export namespace config_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2475,11 +2511,11 @@ export namespace config_v1 { unlock( params: Params$Resource$Projects$Locations$Deployments$Unlock, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unlock( params?: Params$Resource$Projects$Locations$Deployments$Unlock, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unlock( params: Params$Resource$Projects$Locations$Deployments$Unlock, options: StreamMethodOptions | BodyResponseCallback, @@ -2508,7 +2544,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Unlock; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2764,11 +2803,11 @@ export namespace config_v1 { exportState( params: Params$Resource$Projects$Locations$Deployments$Revisions$Exportstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportState( params?: Params$Resource$Projects$Locations$Deployments$Revisions$Exportstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportState( params: Params$Resource$Projects$Locations$Deployments$Revisions$Exportstate, options: StreamMethodOptions | BodyResponseCallback, @@ -2797,7 +2836,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Revisions$Exportstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2853,11 +2895,11 @@ export namespace config_v1 { get( params: Params$Resource$Projects$Locations$Deployments$Revisions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deployments$Revisions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deployments$Revisions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2886,7 +2928,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Revisions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2939,11 +2984,11 @@ export namespace config_v1 { list( params: Params$Resource$Projects$Locations$Deployments$Revisions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deployments$Revisions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Deployments$Revisions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2976,8 +3021,8 @@ export namespace config_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Revisions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3083,11 +3128,11 @@ export namespace config_v1 { get( params: Params$Resource$Projects$Locations$Deployments$Revisions$Resources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deployments$Revisions$Resources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Deployments$Revisions$Resources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3116,7 +3161,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Revisions$Resources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3169,11 +3217,11 @@ export namespace config_v1 { list( params: Params$Resource$Projects$Locations$Deployments$Revisions$Resources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deployments$Revisions$Resources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Deployments$Revisions$Resources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3206,8 +3254,8 @@ export namespace config_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deployments$Revisions$Resources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3301,11 +3349,11 @@ export namespace config_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3334,7 +3382,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3386,11 +3437,11 @@ export namespace config_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3419,7 +3470,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3471,11 +3525,11 @@ export namespace config_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3504,7 +3558,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3556,11 +3613,11 @@ export namespace config_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3593,8 +3650,8 @@ export namespace config_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3702,11 +3759,11 @@ export namespace config_v1 { create( params: Params$Resource$Projects$Locations$Previews$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Previews$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Previews$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3735,7 +3792,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Previews$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3790,11 +3850,11 @@ export namespace config_v1 { delete( params: Params$Resource$Projects$Locations$Previews$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Previews$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Previews$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3823,7 +3883,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Previews$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3875,11 +3938,11 @@ export namespace config_v1 { export( params: Params$Resource$Projects$Locations$Previews$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Previews$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Previews$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -3914,8 +3977,8 @@ export namespace config_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Previews$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3970,11 +4033,11 @@ export namespace config_v1 { get( params: Params$Resource$Projects$Locations$Previews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Previews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Previews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4003,7 +4066,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Previews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4055,11 +4121,11 @@ export namespace config_v1 { list( params: Params$Resource$Projects$Locations$Previews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Previews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Previews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4092,8 +4158,8 @@ export namespace config_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Previews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4229,11 +4295,11 @@ export namespace config_v1 { get( params: Params$Resource$Projects$Locations$Terraformversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Terraformversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Terraformversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4262,7 +4328,10 @@ export namespace config_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Terraformversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4314,11 +4383,11 @@ export namespace config_v1 { list( params: Params$Resource$Projects$Locations$Terraformversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Terraformversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Terraformversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4353,8 +4422,8 @@ export namespace config_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Terraformversions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/connectors/index.ts b/src/apis/connectors/index.ts index 48aa3f35dd6..ce5e4be8447 100644 --- a/src/apis/connectors/index.ts +++ b/src/apis/connectors/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/connectors/package.json b/src/apis/connectors/package.json index 5ca759c3946..3222fcb8c57 100644 --- a/src/apis/connectors/package.json +++ b/src/apis/connectors/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/connectors/v1.ts b/src/apis/connectors/v1.ts index 245f929aa2b..8eada9a606b 100644 --- a/src/apis/connectors/v1.ts +++ b/src/apis/connectors/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -155,15 +155,15 @@ export namespace connectors_v1 { */ export interface Schema$AuthConfig { /** - * List containing additional auth configs. + * Optional. List containing additional auth configs. */ additionalVariables?: Schema$ConfigVariable[]; /** - * Identifier key for auth config + * Optional. Identifier key for auth config */ authKey?: string | null; /** - * The type of authentication configured. + * Optional. The type of authentication configured. */ authType?: string | null; /** @@ -388,7 +388,7 @@ export namespace connectors_v1 { */ intValue?: string | null; /** - * Key of the config variable. + * Optional. Key of the config variable. */ key?: string | null; /** @@ -521,6 +521,10 @@ export namespace connectors_v1 { * Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName\}/{imageName\} */ envoyImageLocation?: string | null; + /** + * Optional. Additional Oauth2.0 Auth config for EUA. If the connection is configured using non-OAuth authentication but OAuth needs to be used for EUA, this field can be populated with the OAuth config. This should be a OAuth2AuthCodeFlow Auth type only. + */ + euaOauthAuthConfig?: Schema$AuthConfig; /** * Optional. Eventing config of a connection */ @@ -533,6 +537,10 @@ export namespace connectors_v1 { * Output only. Eventing Runtime Data. */ eventingRuntimeData?: Schema$EventingRuntimeData; + /** + * Optional. Fallback on admin credentials for the connection. If this both auth_override_enabled and fallback_on_admin_credentials are set to true, the connection will use the admin credentials if the dynamic auth header is not present during auth override. + */ + fallbackOnAdminCredentials?: boolean | null; /** * Output only. The name of the Hostname of the Service Directory service with TLS. */ @@ -757,6 +765,10 @@ export namespace connectors_v1 { * Indicate whether connector is being migrated to TLS. */ migrateTls?: boolean | null; + /** + * Indicate whether connector is being migrated to use direct VPC egress. + */ + networkEgressMode?: string | null; /** * Indicate whether cloud spanner is required for connector job. */ @@ -787,7 +799,7 @@ export namespace connectors_v1 { */ export interface Schema$ConnectorsLogConfig { /** - * Enabled represents whether logging is enabled or not for a connection. + * Optional. Enabled represents whether logging is enabled or not for a connection. */ enabled?: boolean | null; /** @@ -855,6 +867,10 @@ export namespace connectors_v1 { * Output only. Resource name of the Version. Format: projects/{project\}/locations/{location\}/providers/{provider\}/connectors/{connector\}/versions/{version\} Only global location is supported for Connector resource. */ name?: string | null; + /** + * Optional. The priority entity types for the connector version. + */ + priorityEntityTypes?: Schema$PriorityEntityType[]; /** * Output only. ReleaseVersion of the connector, for example: "1.0.1-alpha". */ @@ -1242,7 +1258,7 @@ export namespace connectors_v1 { */ export interface Schema$EncryptionKey { /** - * The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/x/locations/x/keyRings/x/cryptoKeys/x`. Will be empty string if google managed. + * Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/x/locations/x/keyRings/x/cryptoKeys/x`. Will be empty string if google managed. */ kmsKeyName?: string | null; /** @@ -1255,11 +1271,11 @@ export namespace connectors_v1 { */ export interface Schema$EndPoint { /** - * The URI of the Endpoint. + * Optional. The URI of the Endpoint. */ endpointUri?: string | null; /** - * List of Header to be added to the Endpoint. + * Optional. List of Header to be added to the Endpoint. */ headers?: Schema$Header[]; } @@ -1304,6 +1320,316 @@ export namespace connectors_v1 { */ updateTime?: string | null; } + /** + * AuthConfig defines details of a authentication type. + */ + export interface Schema$EndUserAuthentication { + /** + * Optional. Config variables for the EndUserAuthentication. + */ + configVariables?: Schema$EndUserAuthenticationConfigVariable[]; + /** + * Output only. Created time. + */ + createTime?: string | null; + /** + * Optional. Destination configs for the EndUserAuthentication. + */ + destinationConfigs?: Schema$DestinationConfig[]; + /** + * Optional. The EndUserAuthenticationConfig for the EndUserAuthentication. + */ + endUserAuthenticationConfig?: Schema$EndUserAuthenticationConfig; + /** + * Optional. Labels for the EndUserAuthentication. + */ + labels?: string[] | null; + /** + * Required. Identifier. Resource name of the EndUserAuthentication. Format: projects/{project\}/locations/{location\}/connections/{connection\}/endUserAuthentications/{end_user_authentication\} + */ + name?: string | null; + /** + * Optional. The destination to hit when we receive an event + */ + notifyEndpointDestination?: Schema$EndUserAuthenticationNotifyEndpointDestination; + /** + * Optional. Roles for the EndUserAuthentication. + */ + roles?: string[] | null; + /** + * Optional. Status of the EndUserAuthentication. + */ + status?: Schema$EndUserAuthenticationEndUserAuthenticationStatus; + /** + * Output only. Updated time. + */ + updateTime?: string | null; + /** + * Optional. The user id of the user. + */ + userId?: string | null; + } + /** + * EndUserAuthenticationConfig defines details of a authentication configuration for EUC + */ + export interface Schema$EndUserAuthenticationConfig { + /** + * Optional. List containing additional auth configs. + */ + additionalVariables?: Schema$EndUserAuthenticationConfigVariable[]; + /** + * Identifier key for auth config + */ + authKey?: string | null; + /** + * The type of authentication configured. + */ + authType?: string | null; + /** + * Oauth2AuthCodeFlow. + */ + oauth2AuthCodeFlow?: Schema$EndUserAuthenticationConfigOauth2AuthCodeFlow; + /** + * Oauth2AuthCodeFlowGoogleManaged. + */ + oauth2AuthCodeFlowGoogleManaged?: Schema$EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged; + /** + * Oauth2ClientCredentials. + */ + oauth2ClientCredentials?: Schema$EndUserAuthenticationConfigOauth2ClientCredentials; + /** + * Oauth2JwtBearer. + */ + oauth2JwtBearer?: Schema$EndUserAuthenticationConfigOauth2JwtBearer; + /** + * SSH Public Key. + */ + sshPublicKey?: Schema$EndUserAuthenticationConfigSshPublicKey; + /** + * UserPassword. + */ + userPassword?: Schema$EndUserAuthenticationConfigUserPassword; + } + /** + * Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. + */ + export interface Schema$EndUserAuthenticationConfigOauth2AuthCodeFlow { + /** + * Optional. Authorization code to be exchanged for access and refresh tokens. + */ + authCode?: string | null; + /** + * Optional. Auth URL for Authorization Code Flow + */ + authUri?: string | null; + /** + * Optional. Client ID for user-provided OAuth app. + */ + clientId?: string | null; + /** + * Optional. Client secret for user-provided OAuth app. + */ + clientSecret?: Schema$EUASecret; + /** + * Optional. Whether to enable PKCE when the user performs the auth code flow. + */ + enablePkce?: boolean | null; + /** + * Optional. Auth Code Data + */ + oauthTokenData?: Schema$OAuthTokenData; + /** + * Optional. PKCE verifier to be used during the auth code exchange. + */ + pkceVerifier?: string | null; + /** + * Optional. Redirect URI to be provided during the auth code exchange. + */ + redirectUri?: string | null; + /** + * Optional. Scopes the connection will request when the user performs the auth code flow. + */ + scopes?: string[] | null; + } + /** + * Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1 for more details. + */ + export interface Schema$EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged { + /** + * Optional. Authorization code to be exchanged for access and refresh tokens. + */ + authCode?: string | null; + /** + * Auth Code Data + */ + oauthTokenData?: Schema$OAuthTokenData; + /** + * Optional. Redirect URI to be provided during the auth code exchange. + */ + redirectUri?: string | null; + /** + * Required. Scopes the connection will request when the user performs the auth code flow. + */ + scopes?: string[] | null; + } + /** + * Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. + */ + export interface Schema$EndUserAuthenticationConfigOauth2ClientCredentials { + /** + * The client identifier. + */ + clientId?: string | null; + /** + * Required. string value or secret version containing the client secret. + */ + clientSecret?: Schema$EUASecret; + } + /** + * Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details. + */ + export interface Schema$EndUserAuthenticationConfigOauth2JwtBearer { + /** + * Required. secret version/value reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/x/strings/x/versions/x`. + */ + clientKey?: Schema$EUASecret; + /** + * JwtClaims providers fields to generate the token. + */ + jwtClaims?: Schema$EndUserAuthenticationConfigOauth2JwtBearerJwtClaims; + } + /** + * JWT claims used for the jwt-bearer authorization grant. + */ + export interface Schema$EndUserAuthenticationConfigOauth2JwtBearerJwtClaims { + /** + * Value for the "aud" claim. + */ + audience?: string | null; + /** + * Value for the "iss" claim. + */ + issuer?: string | null; + /** + * Value for the "sub" claim. + */ + subject?: string | null; + } + /** + * Parameters to support Ssh public key Authentication. + */ + export interface Schema$EndUserAuthenticationConfigSshPublicKey { + /** + * Format of SSH Client cert. + */ + certType?: string | null; + /** + * Required. SSH Client Cert. It should contain both public and private key. + */ + sshClientCert?: Schema$EUASecret; + /** + * Required. Password (passphrase) for ssh client certificate if it has one. + */ + sshClientCertPass?: Schema$EUASecret; + /** + * The user account used to authenticate. + */ + username?: string | null; + } + /** + * Parameters to support Username and Password Authentication. + */ + export interface Schema$EndUserAuthenticationConfigUserPassword { + /** + * Required. string value or secret version reference containing the password. + */ + password?: Schema$EUASecret; + /** + * Username. + */ + username?: string | null; + } + /** + * EndUserAuthenticationConfigVariable represents a configuration variable present in a EndUserAuthentication. + */ + export interface Schema$EndUserAuthenticationConfigVariable { + /** + * Value is a bool. + */ + boolValue?: boolean | null; + /** + * Value is an integer + */ + intValue?: string | null; + /** + * Required. Key of the config variable. + */ + key?: string | null; + /** + * Value is a secret + */ + secretValue?: Schema$EUASecret; + /** + * Value is a string. + */ + stringValue?: string | null; + } + /** + * EndUserAuthentication Status denotes the status of the EndUserAuthentication resource. + */ + export interface Schema$EndUserAuthenticationEndUserAuthenticationStatus { + /** + * Output only. Description of the state. + */ + description?: string | null; + /** + * Output only. State of Event Subscription resource. + */ + state?: string | null; + } + /** + * Message for NotifyEndpointDestination Destination to hit when the refresh token is expired. + */ + export interface Schema$EndUserAuthenticationNotifyEndpointDestination { + /** + * Optional. OPTION 1: Hit an endpoint when the refresh token is expired. + */ + endpoint?: Schema$EndUserAuthenticationNotifyEndpointDestinationEndPoint; + /** + * Required. Service account needed for runtime plane to notify the backend. + */ + serviceAccount?: string | null; + /** + * Required. type of the destination + */ + type?: string | null; + } + /** + * Endpoint message includes details of the Destination endpoint. + */ + export interface Schema$EndUserAuthenticationNotifyEndpointDestinationEndPoint { + /** + * Required. The URI of the Endpoint. + */ + endpointUri?: string | null; + /** + * Optional. List of Header to be added to the Endpoint. + */ + headers?: Schema$EndUserAuthenticationNotifyEndpointDestinationEndPointHeader[]; + } + /** + * Header details for a given header to be added to Endpoint. + */ + export interface Schema$EndUserAuthenticationNotifyEndpointDestinationEndPointHeader { + /** + * Required. Key of Header. + */ + key?: string | null; + /** + * Required. Value of Header. + */ + value?: string | null; + } /** * Data enrichment configuration. */ @@ -1326,6 +1652,19 @@ export namespace connectors_v1 { */ id?: string | null; } + /** + * EUASecret provides a reference to entries in Secret Manager. + */ + export interface Schema$EUASecret { + /** + * Optional. The plain string value of the secret. + */ + secretValue?: string | null; + /** + * Optional. The resource name of the secret version in the format, format as: `projects/x/secrets/x/versions/x`. + */ + secretVersion?: string | null; + } /** * Eventing Configuration of a connection next: 18 */ @@ -1528,7 +1867,7 @@ export namespace connectors_v1 { */ jms?: Schema$JMS; /** - * Required. Resource name of the EventSubscription. Format: projects/{project\}/locations/{location\}/connections/{connection\}/eventSubscriptions/{event_subscription\} + * Required. Identifier. Resource name of the EventSubscription. Format: projects/{project\}/locations/{location\}/connections/{connection\}/eventSubscriptions/{event_subscription\} */ name?: string | null; /** @@ -1565,11 +1904,11 @@ export namespace connectors_v1 { */ pubsub?: Schema$PubSub; /** - * Service account needed for runtime plane to trigger IP workflow. + * Optional. Service account needed for runtime plane to trigger IP workflow. */ serviceAccount?: string | null; /** - * type of the destination + * Optional. type of the destination */ type?: string | null; } @@ -1750,11 +2089,11 @@ export namespace connectors_v1 { */ export interface Schema$Header { /** - * Key of Header. + * Optional. Key of Header. */ key?: string | null; /** - * Value of Header. + * Optional. Value of Header. */ value?: string | null; } @@ -1955,15 +2294,15 @@ export namespace connectors_v1 { */ export interface Schema$JwtClaims { /** - * Value for the "aud" claim. + * Optional. Value for the "aud" claim. */ audience?: string | null; /** - * Value for the "iss" claim. + * Optional. Value for the "iss" claim. */ issuer?: string | null; /** - * Value for the "sub" claim. + * Optional. Value for the "sub" claim. */ subject?: string | null; } @@ -2082,6 +2421,23 @@ export namespace connectors_v1 { */ unreachable?: string[] | null; } + /** + * Response message for ConnectorsService.ListEndUserAuthentications + */ + export interface Schema$ListEndUserAuthenticationsResponse { + /** + * Subscriptions. + */ + endUserAuthentications?: Schema$EndUserAuthentication[]; + /** + * Next page token. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } /** * Expected request for ListenEvent API. */ @@ -2254,11 +2610,11 @@ export namespace connectors_v1 { */ export interface Schema$LockConfig { /** - * Indicates whether or not the connection is locked. + * Optional. Indicates whether or not the connection is locked. */ locked?: boolean | null; /** - * Describes why a connection is locked. + * Optional. Describes why a connection is locked. */ reason?: string | null; } @@ -2481,11 +2837,11 @@ export namespace connectors_v1 { */ export interface Schema$NodeConfig { /** - * Maximum number of nodes in the runtime nodes. + * Optional. Maximum number of nodes in the runtime nodes. */ maxNodeCount?: number | null; /** - * Minimum number of nodes in the runtime nodes. + * Optional. Minimum number of nodes in the runtime nodes. */ minNodeCount?: number | null; } @@ -2520,35 +2876,35 @@ export namespace connectors_v1 { */ export interface Schema$Oauth2AuthCodeFlow { /** - * Authorization code to be exchanged for access and refresh tokens. + * Optional. Authorization code to be exchanged for access and refresh tokens. */ authCode?: string | null; /** - * Auth URL for Authorization Code Flow + * Optional. Auth URL for Authorization Code Flow */ authUri?: string | null; /** - * Client ID for user-provided OAuth app. + * Optional. Client ID for user-provided OAuth app. */ clientId?: string | null; /** - * Client secret for user-provided OAuth app. + * Optional. Client secret for user-provided OAuth app. */ clientSecret?: Schema$Secret; /** - * Whether to enable PKCE when the user performs the auth code flow. + * Optional. Whether to enable PKCE when the user performs the auth code flow. */ enablePkce?: boolean | null; /** - * PKCE verifier to be used during the auth code exchange. + * Optional. PKCE verifier to be used during the auth code exchange. */ pkceVerifier?: string | null; /** - * Redirect URI to be provided during the auth code exchange. + * Optional. Redirect URI to be provided during the auth code exchange. */ redirectUri?: string | null; /** - * Scopes the connection will request when the user performs the auth code flow. + * Optional. Scopes the connection will request when the user performs the auth code flow. */ scopes?: string[] | null; } @@ -2574,11 +2930,11 @@ export namespace connectors_v1 { */ export interface Schema$Oauth2ClientCredentials { /** - * The client identifier. + * Optional. The client identifier. */ clientId?: string | null; /** - * Secret version reference containing the client secret. + * Optional. Secret version reference containing the client secret. */ clientSecret?: Schema$Secret; } @@ -2587,14 +2943,35 @@ export namespace connectors_v1 { */ export interface Schema$Oauth2JwtBearer { /** - * Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/x/secrets/x/versions/x`. + * Optional. Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/x/secrets/x/versions/x`. */ clientKey?: Schema$Secret; /** - * JwtClaims providers fields to generate the token. + * Optional. JwtClaims providers fields to generate the token. */ jwtClaims?: Schema$JwtClaims; } + /** + * pass only at create and not update using updateMask Auth Code Data + */ + export interface Schema$OAuthTokenData { + /** + * Optional. Access token for the connection. + */ + accessToken?: Schema$EUASecret; + /** + * Optional. Timestamp when the access token was created. + */ + createTime?: string | null; + /** + * Optional. Time in seconds when the access token expires. + */ + expiry?: string | null; + /** + * Optional. Refresh token for the connection. + */ + refreshToken?: Schema$EUASecret; + } /** * This resource represents a long-running operation that is the result of a network API call. */ @@ -2756,6 +3133,27 @@ export namespace connectors_v1 { */ version?: number | null; } + /** + * PriorityEntityType represents an entity type with its associated priority and order. + */ + export interface Schema$PriorityEntityType { + /** + * The description of the entity type. + */ + description?: string | null; + /** + * The entity type. + */ + id?: string | null; + /** + * The order of the entity type within its priority group. + */ + order?: number | null; + /** + * The priority of the entity type, such as P0, P1, etc. + */ + priority?: string | null; + } /** * Provider indicates the owner who provides the connectors. */ @@ -3163,7 +3561,7 @@ export namespace connectors_v1 { */ export interface Schema$Secret { /** - * The resource name of the secret version in the format, format as: `projects/x/secrets/x/versions/x`. + * Optional. The resource name of the secret version in the format, format as: `projects/x/secrets/x/versions/x`. */ secretVersion?: string | null; } @@ -3249,19 +3647,19 @@ export namespace connectors_v1 { */ export interface Schema$SshPublicKey { /** - * Format of SSH Client cert. + * Optional. Format of SSH Client cert. */ certType?: string | null; /** - * SSH Client Cert. It should contain both public and private key. + * Optional. SSH Client Cert. It should contain both public and private key. */ sshClientCert?: Schema$Secret; /** - * Password (passphrase) for ssh client certificate if it has one. + * Optional. Password (passphrase) for ssh client certificate if it has one. */ sshClientCertPass?: Schema$Secret; /** - * The user account used to authenticate. + * Optional. The user account used to authenticate. */ username?: string | null; } @@ -3465,11 +3863,11 @@ export namespace connectors_v1 { */ export interface Schema$UserPassword { /** - * Secret version reference containing the password. + * Optional. Secret version reference containing the password. */ password?: Schema$Secret; /** - * Username. + * Optional. Username. */ username?: string | null; } @@ -3596,11 +3994,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3629,7 +4027,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3681,11 +4082,11 @@ export namespace connectors_v1 { getRegionalSettings( params: Params$Resource$Projects$Locations$Getregionalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRegionalSettings( params?: Params$Resource$Projects$Locations$Getregionalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRegionalSettings( params: Params$Resource$Projects$Locations$Getregionalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -3716,7 +4117,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getregionalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3768,11 +4172,11 @@ export namespace connectors_v1 { getRuntimeConfig( params: Params$Resource$Projects$Locations$Getruntimeconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRuntimeConfig( params?: Params$Resource$Projects$Locations$Getruntimeconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRuntimeConfig( params: Params$Resource$Projects$Locations$Getruntimeconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3803,7 +4207,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getruntimeconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3855,11 +4262,11 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3892,8 +4299,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3948,11 +4355,11 @@ export namespace connectors_v1 { updateRegionalSettings( params: Params$Resource$Projects$Locations$Updateregionalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateRegionalSettings( params?: Params$Resource$Projects$Locations$Updateregionalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateRegionalSettings( params: Params$Resource$Projects$Locations$Updateregionalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -3983,7 +4390,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updateregionalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4090,6 +4500,7 @@ export namespace connectors_v1 { export class Resource$Projects$Locations$Connections { context: APIRequestContext; connectionSchemaMetadata: Resource$Projects$Locations$Connections$Connectionschemametadata; + endUserAuthentications: Resource$Projects$Locations$Connections$Enduserauthentications; eventSubscriptions: Resource$Projects$Locations$Connections$Eventsubscriptions; runtimeActionSchemas: Resource$Projects$Locations$Connections$Runtimeactionschemas; runtimeEntitySchemas: Resource$Projects$Locations$Connections$Runtimeentityschemas; @@ -4099,6 +4510,10 @@ export namespace connectors_v1 { new Resource$Projects$Locations$Connections$Connectionschemametadata( this.context ); + this.endUserAuthentications = + new Resource$Projects$Locations$Connections$Enduserauthentications( + this.context + ); this.eventSubscriptions = new Resource$Projects$Locations$Connections$Eventsubscriptions( this.context @@ -4124,11 +4539,11 @@ export namespace connectors_v1 { create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4157,7 +4572,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4212,11 +4630,11 @@ export namespace connectors_v1 { delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4245,7 +4663,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4297,11 +4718,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4330,7 +4751,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4382,11 +4806,11 @@ export namespace connectors_v1 { getConnectionSchemaMetadata( params: Params$Resource$Projects$Locations$Connections$Getconnectionschemametadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConnectionSchemaMetadata( params?: Params$Resource$Projects$Locations$Connections$Getconnectionschemametadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConnectionSchemaMetadata( params: Params$Resource$Projects$Locations$Connections$Getconnectionschemametadata, options: StreamMethodOptions | BodyResponseCallback, @@ -4421,8 +4845,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Getconnectionschemametadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4475,11 +4899,11 @@ export namespace connectors_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Connections$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Connections$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Connections$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4508,7 +4932,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4564,11 +4991,11 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4601,8 +5028,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4657,11 +5084,11 @@ export namespace connectors_v1 { listenEvent( params: Params$Resource$Projects$Locations$Connections$Listenevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listenEvent( params?: Params$Resource$Projects$Locations$Connections$Listenevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listenEvent( params: Params$Resource$Projects$Locations$Connections$Listenevent, options: StreamMethodOptions | BodyResponseCallback, @@ -4694,8 +5121,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Listenevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4751,11 +5178,11 @@ export namespace connectors_v1 { patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4784,7 +5211,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4836,11 +5266,11 @@ export namespace connectors_v1 { repairEventing( params: Params$Resource$Projects$Locations$Connections$Repaireventing, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; repairEventing( params?: Params$Resource$Projects$Locations$Connections$Repaireventing, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; repairEventing( params: Params$Resource$Projects$Locations$Connections$Repaireventing, options: StreamMethodOptions | BodyResponseCallback, @@ -4869,7 +5299,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Repaireventing; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4925,11 +5358,11 @@ export namespace connectors_v1 { search( params: Params$Resource$Projects$Locations$Connections$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Connections$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Projects$Locations$Connections$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -4964,8 +5397,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5017,11 +5450,11 @@ export namespace connectors_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Connections$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Connections$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Connections$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5050,7 +5483,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5106,11 +5542,11 @@ export namespace connectors_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Connections$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Connections$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Connections$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5145,8 +5581,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5290,7 +5726,7 @@ export namespace connectors_v1 { */ name?: string; /** - * Required. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` * `auth_override_enabled` + * Required. The list of fields to update. Fields are specified relative to the connection. A field will be overwritten if it is in the mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` * `auth_override_enabled` */ updateMask?: string; @@ -5372,11 +5808,11 @@ export namespace connectors_v1 { getAction( params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getaction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAction( params?: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getaction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAction( params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getaction, options: StreamMethodOptions | BodyResponseCallback, @@ -5405,7 +5841,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getaction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5458,32 +5897,586 @@ export namespace connectors_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - getEntityType( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype, + getEntityType( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype, + options: StreamMethodOptions + ): Promise>; + getEntityType( + params?: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype, + options?: MethodOptions + ): Promise>; + getEntityType( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getEntityType( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getEntityType( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype, + callback: BodyResponseCallback + ): void; + getEntityType(callback: BodyResponseCallback): void; + getEntityType( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://connectors.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:getEntityType').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * List actions. + * + * @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. + */ + listActions( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions, + options: StreamMethodOptions + ): Promise>; + listActions( + params?: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions, + options?: MethodOptions + ): Promise>; + listActions( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + listActions( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + listActions( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions, + callback: BodyResponseCallback + ): void; + listActions( + callback: BodyResponseCallback + ): void; + listActions( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://connectors.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:listActions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * List entity types. + * + * @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. + */ + listEntityTypes( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes, + options: StreamMethodOptions + ): Promise>; + listEntityTypes( + params?: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes, + options?: MethodOptions + ): Promise>; + listEntityTypes( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + listEntityTypes( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + listEntityTypes( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes, + callback: BodyResponseCallback + ): void; + listEntityTypes( + callback: BodyResponseCallback + ): void; + listEntityTypes( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://connectors.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:listEntityTypes').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Refresh runtime schema of a connection. + * + * @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. + */ + refresh( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh, + options: StreamMethodOptions + ): Promise>; + refresh( + params?: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh, + options?: MethodOptions + ): Promise>; + refresh( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + refresh( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + refresh( + params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh, + callback: BodyResponseCallback + ): void; + refresh(callback: BodyResponseCallback): void; + refresh( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://connectors.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:refresh').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getaction + extends StandardParameters { + /** + * Required. Id of the action. + */ + actionId?: string; + /** + * Required. Resource name format: projects/{project\}/locations/{location\}/connections/{connection\}/connectionSchemaMetadata + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype + extends StandardParameters { + /** + * Required. Id of the entity type. + */ + entityId?: string; + /** + * Required. Resource name format: projects/{project\}/locations/{location\}/connections/{connection\}/connectionSchemaMetadata + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions + extends StandardParameters { + /** + * Required. Filter Wildcards are not supported in the filter currently. + */ + filter?: string; + /** + * Required. Resource name format. projects/{project\}/locations/{location\}/connections/{connection\}/connectionSchemaMetadata + */ + name?: string; + /** + * Page size. If unspecified, at most 50 actions will be returned. + */ + pageSize?: number; + /** + * Page token. + */ + pageToken?: string; + /** + * Specifies which fields are returned in response. Defaults to BASIC view. + */ + view?: string; + } + export interface Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes + extends StandardParameters { + /** + * Required. Filter Wildcards are not supported in the filter currently. + */ + filter?: string; + /** + * Required. Resource name format: projects/{project\}/locations/{location\}/connections/{connection\}/connectionSchemaMetadata + */ + name?: string; + /** + * Page size. If unspecified, at most 50 entity types will be returned. + */ + pageSize?: number; + /** + * Page token. + */ + pageToken?: string; + /** + * Specifies which fields are returned in response. Defaults to BASIC view. + */ + view?: string; + } + export interface Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh + extends StandardParameters { + /** + * Required. Resource name. Format: projects/{project\}/locations/{location\}/connections/{connection\}/connectionSchemaMetadata + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RefreshConnectionSchemaMetadataRequest; + } + + export class Resource$Projects$Locations$Connections$Enduserauthentications { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new EndUserAuthentication in a given project,location and connection. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Connections$Enduserauthentications$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Connections$Enduserauthentications$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Connections$Enduserauthentications$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://connectors.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/endUserAuthentications').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single EndUserAuthentication. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Delete, options: StreamMethodOptions - ): GaxiosPromise; - getEntityType( - params?: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype, + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Delete, options?: MethodOptions - ): GaxiosPromise; - getEntityType( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getEntityType( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype, + delete( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getEntityType( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype, + delete( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Delete, callback: BodyResponseCallback ): void; - getEntityType(callback: BodyResponseCallback): void; - getEntityType( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype + | Params$Resource$Projects$Locations$Connections$Enduserauthentications$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -5494,15 +6487,18 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype; + {}) as Params$Resource$Projects$Locations$Connections$Enduserauthentications$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype; + {} as Params$Resource$Projects$Locations$Connections$Enduserauthentications$Delete; options = {}; } @@ -5515,11 +6511,8 @@ export namespace connectors_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:getEntityType').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options @@ -5540,63 +6533,63 @@ export namespace connectors_v1 { } /** - * List actions. + * Gets details of a single EndUserAuthentication. * * @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. */ - listActions( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions, + get( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Get, options: StreamMethodOptions - ): GaxiosPromise; - listActions( - params?: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions, + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Get, options?: MethodOptions - ): GaxiosPromise; - listActions( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - listActions( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - listActions( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - listActions( - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Get, + callback: BodyResponseCallback ): void; - listActions( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Connections$Enduserauthentications$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions; + {}) as Params$Resource$Projects$Locations$Connections$Enduserauthentications$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions; + {} as Params$Resource$Projects$Locations$Connections$Enduserauthentications$Get; options = {}; } @@ -5609,10 +6602,7 @@ export namespace connectors_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:listActions').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, @@ -5624,75 +6614,79 @@ export namespace connectors_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * List entity types. + * List EndUserAuthentications in a given project,location and connection. * * @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. */ - listEntityTypes( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes, + list( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$List, options: StreamMethodOptions - ): GaxiosPromise; - listEntityTypes( - params?: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes, + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Connections$Enduserauthentications$List, options?: MethodOptions - ): GaxiosPromise; - listEntityTypes( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - listEntityTypes( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes, + list( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - listEntityTypes( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$List, + callback: BodyResponseCallback ): void; - listEntityTypes( - callback: BodyResponseCallback + list( + callback: BodyResponseCallback ): void; - listEntityTypes( + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes - | BodyResponseCallback + | Params$Resource$Projects$Locations$Connections$Enduserauthentications$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes; + {}) as Params$Resource$Projects$Locations$Connections$Enduserauthentications$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes; + {} as Params$Resource$Projects$Locations$Connections$Enduserauthentications$List; options = {}; } @@ -5705,7 +6699,7 @@ export namespace connectors_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:listEntityTypes').replace( + url: (rootUrl + '/v1/{+parent}/endUserAuthentications').replace( /([^:]\/)\/+/g, '$1' ), @@ -5715,54 +6709,56 @@ export namespace connectors_v1 { options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Refresh runtime schema of a connection. + * Updates the parameters of a single EndUserAuthentication. * * @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. */ - refresh( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh, + patch( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Patch, options: StreamMethodOptions - ): GaxiosPromise; - refresh( - params?: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh, + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Patch, options?: MethodOptions - ): GaxiosPromise; - refresh( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh, + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - refresh( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh, + patch( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - refresh( - params: Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh, + patch( + params: Params$Resource$Projects$Locations$Connections$Enduserauthentications$Patch, callback: BodyResponseCallback ): void; - refresh(callback: BodyResponseCallback): void; - refresh( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh + | Params$Resource$Projects$Locations$Connections$Enduserauthentications$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -5773,15 +6769,18 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh; + {}) as Params$Resource$Projects$Locations$Connections$Enduserauthentications$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh; + {} as Params$Resource$Projects$Locations$Connections$Enduserauthentications$Patch; options = {}; } @@ -5794,11 +6793,8 @@ export namespace connectors_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:refresh').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options @@ -5819,63 +6815,52 @@ export namespace connectors_v1 { } } - export interface Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getaction + export interface Params$Resource$Projects$Locations$Connections$Enduserauthentications$Create extends StandardParameters { /** - * Required. Id of the action. + * Required. Identifier to assign to the EndUserAuthentication. Must be unique within scope of the parent resource. */ - actionId?: string; + endUserAuthenticationId?: string; /** - * Required. Resource name format: projects/{project\}/locations/{location\}/connections/{connection\}/connectionSchemaMetadata + * Required. Parent resource of the EndUserAuthentication, of the form: `projects/x/locations/x/connections/x` */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Getentitytype - extends StandardParameters { + parent?: string; + /** - * Required. Id of the entity type. + * Request body metadata */ - entityId?: string; + requestBody?: Schema$EndUserAuthentication; + } + export interface Params$Resource$Projects$Locations$Connections$Enduserauthentications$Delete + extends StandardParameters { /** - * Required. Resource name format: projects/{project\}/locations/{location\}/connections/{connection\}/connectionSchemaMetadata + * Required. Resource name of the form: `projects/x/locations/x/connections/x/endUserAuthentication/x` */ name?: string; } - export interface Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listactions + export interface Params$Resource$Projects$Locations$Connections$Enduserauthentications$Get extends StandardParameters { /** - * Required. Filter Wildcards are not supported in the filter currently. - */ - filter?: string; - /** - * Required. Resource name format. projects/{project\}/locations/{location\}/connections/{connection\}/connectionSchemaMetadata + * Required. Resource name of the form: `projects/x/locations/x/connections/x/EndUserAuthentications/x` */ name?: string; /** - * Page size. If unspecified, at most 50 actions will be returned. - */ - pageSize?: number; - /** - * Page token. - */ - pageToken?: string; - /** - * Specifies which fields are returned in response. Defaults to BASIC view. + * Optional. View of the EndUserAuthentication to return. */ view?: string; } - export interface Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Listentitytypes + export interface Params$Resource$Projects$Locations$Connections$Enduserauthentications$List extends StandardParameters { /** - * Required. Filter Wildcards are not supported in the filter currently. + * Filter. */ filter?: string; /** - * Required. Resource name format: projects/{project\}/locations/{location\}/connections/{connection\}/connectionSchemaMetadata + * Order by parameters. */ - name?: string; + orderBy?: string; /** - * Page size. If unspecified, at most 50 entity types will be returned. + * Page size. */ pageSize?: number; /** @@ -5883,21 +6868,25 @@ export namespace connectors_v1 { */ pageToken?: string; /** - * Specifies which fields are returned in response. Defaults to BASIC view. + * Required. Parent resource of the EndUserAuthentication, of the form: `projects/x/locations/x/connections/x` */ - view?: string; + parent?: string; } - export interface Params$Resource$Projects$Locations$Connections$Connectionschemametadata$Refresh + export interface Params$Resource$Projects$Locations$Connections$Enduserauthentications$Patch extends StandardParameters { /** - * Required. Resource name. Format: projects/{project\}/locations/{location\}/connections/{connection\}/connectionSchemaMetadata + * Required. Identifier. Resource name of the EndUserAuthentication. Format: projects/{project\}/locations/{location\}/connections/{connection\}/endUserAuthentications/{end_user_authentication\} */ name?: string; + /** + * Required. The list of fields to update. A field will be overwritten if it is in the mask. You can modify only the fields listed below. To update the EndUserAuthentication details: * `notify_endpoint_destination` + */ + updateMask?: string; /** * Request body metadata */ - requestBody?: Schema$RefreshConnectionSchemaMetadataRequest; + requestBody?: Schema$EndUserAuthentication; } export class Resource$Projects$Locations$Connections$Eventsubscriptions { @@ -5917,11 +6906,11 @@ export namespace connectors_v1 { create( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5950,7 +6939,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6006,11 +6998,11 @@ export namespace connectors_v1 { delete( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6039,7 +7031,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6092,11 +7087,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6127,8 +7122,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6181,11 +7176,11 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6220,8 +7215,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Eventsubscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6279,11 +7274,11 @@ export namespace connectors_v1 { patch( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6312,7 +7307,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6365,11 +7363,11 @@ export namespace connectors_v1 { retry( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Retry, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retry( params?: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Retry, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retry( params: Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Retry, options: StreamMethodOptions | BodyResponseCallback, @@ -6398,7 +7396,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Retry; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6497,7 +7498,7 @@ export namespace connectors_v1 { export interface Params$Resource$Projects$Locations$Connections$Eventsubscriptions$Patch extends StandardParameters { /** - * Required. Resource name of the EventSubscription. Format: projects/{project\}/locations/{location\}/connections/{connection\}/eventSubscriptions/{event_subscription\} + * Required. Identifier. Resource name of the EventSubscription. Format: projects/{project\}/locations/{location\}/connections/{connection\}/eventSubscriptions/{event_subscription\} */ name?: string; /** @@ -6540,11 +7541,13 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Connections$Runtimeactionschemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$Runtimeactionschemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Connections$Runtimeactionschemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6579,8 +7582,10 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Runtimeactionschemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6669,11 +7674,13 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Connections$Runtimeentityschemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$Runtimeentityschemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Connections$Runtimeentityschemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6708,8 +7715,10 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Runtimeentityschemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6799,11 +7808,13 @@ export namespace connectors_v1 { validateCustomConnectorSpec( params: Params$Resource$Projects$Locations$Customconnectors$Validatecustomconnectorspec, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateCustomConnectorSpec( params?: Params$Resource$Projects$Locations$Customconnectors$Validatecustomconnectorspec, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validateCustomConnectorSpec( params: Params$Resource$Projects$Locations$Customconnectors$Validatecustomconnectorspec, options: StreamMethodOptions | BodyResponseCallback, @@ -6838,8 +7849,10 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customconnectors$Validatecustomconnectorspec; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6917,11 +7930,11 @@ export namespace connectors_v1 { delete( params: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6950,7 +7963,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7003,11 +8019,11 @@ export namespace connectors_v1 { deprecate( params: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Deprecate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deprecate( params?: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Deprecate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deprecate( params: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Deprecate, options: StreamMethodOptions | BodyResponseCallback, @@ -7036,7 +8052,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Deprecate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7092,11 +8111,11 @@ export namespace connectors_v1 { publish( params: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -7125,7 +8144,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7181,11 +8203,11 @@ export namespace connectors_v1 { withdraw( params: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Withdraw, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params?: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Withdraw, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params: Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Withdraw, options: StreamMethodOptions | BodyResponseCallback, @@ -7214,7 +8236,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customconnectors$Customconnectorversions$Withdraw; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7321,11 +8346,11 @@ export namespace connectors_v1 { create( params: Params$Resource$Projects$Locations$Endpointattachments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Endpointattachments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Endpointattachments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7354,7 +8379,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointattachments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7410,11 +8438,11 @@ export namespace connectors_v1 { delete( params: Params$Resource$Projects$Locations$Endpointattachments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Endpointattachments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Endpointattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7443,7 +8471,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7496,11 +8527,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Endpointattachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Endpointattachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Endpointattachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7531,8 +8562,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7585,11 +8616,11 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Endpointattachments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Endpointattachments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Endpointattachments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7624,8 +8655,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7683,11 +8714,11 @@ export namespace connectors_v1 { patch( params: Params$Resource$Projects$Locations$Endpointattachments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Endpointattachments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Endpointattachments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7716,7 +8747,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointattachments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7861,11 +8895,11 @@ export namespace connectors_v1 { getSettings( params: Params$Resource$Projects$Locations$Global$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$Projects$Locations$Global$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params: Params$Resource$Projects$Locations$Global$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7894,7 +8928,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7946,11 +8983,11 @@ export namespace connectors_v1 { updateSettings( params: Params$Resource$Projects$Locations$Global$Updatesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params?: Params$Resource$Projects$Locations$Global$Updatesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params: Params$Resource$Projects$Locations$Global$Updatesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7979,7 +9016,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Updatesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8067,11 +9107,11 @@ export namespace connectors_v1 { create( params: Params$Resource$Projects$Locations$Global$Customconnectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Customconnectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Customconnectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8100,7 +9140,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Customconnectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8156,11 +9199,11 @@ export namespace connectors_v1 { delete( params: Params$Resource$Projects$Locations$Global$Customconnectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Customconnectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Customconnectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8189,7 +9232,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Customconnectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8242,11 +9288,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Global$Customconnectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Customconnectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Customconnectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8275,7 +9321,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Customconnectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8328,11 +9377,11 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Global$Customconnectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Customconnectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Customconnectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8367,8 +9416,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Customconnectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8426,11 +9475,11 @@ export namespace connectors_v1 { patch( params: Params$Resource$Projects$Locations$Global$Customconnectors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Customconnectors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Customconnectors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8459,7 +9508,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Customconnectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8589,11 +9641,11 @@ export namespace connectors_v1 { create( params: Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8622,7 +9674,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8678,11 +9733,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8715,8 +9770,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8769,11 +9824,13 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8808,8 +9865,10 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Customconnectors$Customconnectorversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8913,11 +9972,11 @@ export namespace connectors_v1 { create( params: Params$Resource$Projects$Locations$Global$Managedzones$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Managedzones$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Managedzones$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8946,7 +10005,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Managedzones$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9002,11 +10064,11 @@ export namespace connectors_v1 { delete( params: Params$Resource$Projects$Locations$Global$Managedzones$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Managedzones$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Managedzones$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9035,7 +10097,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Managedzones$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9088,11 +10153,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Global$Managedzones$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Managedzones$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Managedzones$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9121,7 +10186,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Managedzones$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9174,11 +10242,11 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Global$Managedzones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Managedzones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Managedzones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9211,8 +10279,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Managedzones$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9268,11 +10336,11 @@ export namespace connectors_v1 { patch( params: Params$Resource$Projects$Locations$Global$Managedzones$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Managedzones$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Managedzones$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9301,7 +10369,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Managedzones$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9435,11 +10506,11 @@ export namespace connectors_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -9468,7 +10539,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9520,11 +10594,11 @@ export namespace connectors_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9553,7 +10627,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9605,11 +10682,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9638,7 +10715,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9690,11 +10770,11 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9727,8 +10807,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9840,11 +10920,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Providers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Providers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Providers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9873,7 +10953,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9925,11 +11008,11 @@ export namespace connectors_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Providers$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Providers$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Providers$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9958,7 +11041,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10014,11 +11100,11 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Providers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Providers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Providers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10051,8 +11137,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10107,11 +11193,11 @@ export namespace connectors_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Providers$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Providers$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Providers$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10140,7 +11226,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10196,11 +11285,11 @@ export namespace connectors_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Providers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Providers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Providers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -10235,8 +11324,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10362,11 +11451,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Providers$Connectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Providers$Connectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Providers$Connectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10395,7 +11484,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Connectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10448,11 +11540,11 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Providers$Connectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Providers$Connectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Providers$Connectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10485,8 +11577,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Connectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10581,11 +11673,11 @@ export namespace connectors_v1 { fetchAuthSchema( params: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Fetchauthschema, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchAuthSchema( params?: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Fetchauthschema, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchAuthSchema( params: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Fetchauthschema, options: StreamMethodOptions | BodyResponseCallback, @@ -10620,8 +11712,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Connectors$Versions$Fetchauthschema; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10677,11 +11769,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10710,7 +11802,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Connectors$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10763,11 +11858,11 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Providers$Connectors$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Providers$Connectors$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Providers$Connectors$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10802,8 +11897,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Connectors$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10868,6 +11963,10 @@ export namespace connectors_v1 { * Required. Resource name of the form: `projects/x/locations/x/providers/x/connectors/x/versions/x` Only global location is supported for ConnectorVersion resource. */ name?: string; + /** + * Optional. Enum to control whether schema enrichment related fields should be included in the response. + */ + schemaView?: string; /** * Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `CUSTOMER` view. */ @@ -10887,6 +11986,10 @@ export namespace connectors_v1 { * Required. Parent resource of the connectors, of the form: `projects/x/locations/x/providers/x/connectors/x` Only global location is supported for ConnectorVersion resource. */ parent?: string; + /** + * Optional. Enum to control whether schema enrichment related fields should be included in the response. + */ + schemaView?: string; /** * Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `BASIC` view. */ @@ -10910,11 +12013,11 @@ export namespace connectors_v1 { get( params: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Eventtypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Eventtypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Eventtypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10943,7 +12046,10 @@ export namespace connectors_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Connectors$Versions$Eventtypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10996,11 +12102,11 @@ export namespace connectors_v1 { list( params: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Eventtypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Eventtypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Providers$Connectors$Versions$Eventtypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11033,8 +12139,8 @@ export namespace connectors_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Connectors$Versions$Eventtypes$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/connectors/v2.ts b/src/apis/connectors/v2.ts index 2a153ae0c58..b0409922a7d 100644 --- a/src/apis/connectors/v2.ts +++ b/src/apis/connectors/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -190,6 +190,10 @@ export namespace connectors_v2 { * OAuth redirect URI passed in during the auth code flow, required by some OAuth backends. */ redirectUri?: string | null; + /** + * Scopes the connection will request when the user performs the auth code flow. + */ + scopes?: string[] | null; } /** * Response containing status of the connector for readiness prober. @@ -954,11 +958,11 @@ export namespace connectors_v2 { checkReadiness( params: Params$Resource$Projects$Locations$Connections$Checkreadiness, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkReadiness( params?: Params$Resource$Projects$Locations$Connections$Checkreadiness, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkReadiness( params: Params$Resource$Projects$Locations$Connections$Checkreadiness, options: StreamMethodOptions | BodyResponseCallback, @@ -993,8 +997,8 @@ export namespace connectors_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Checkreadiness; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1050,11 +1054,11 @@ export namespace connectors_v2 { checkStatus( params: Params$Resource$Projects$Locations$Connections$Checkstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkStatus( params?: Params$Resource$Projects$Locations$Connections$Checkstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkStatus( params: Params$Resource$Projects$Locations$Connections$Checkstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -1087,8 +1091,8 @@ export namespace connectors_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Checkstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1144,11 +1148,11 @@ export namespace connectors_v2 { exchangeAuthCode( params: Params$Resource$Projects$Locations$Connections$Exchangeauthcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeAuthCode( params?: Params$Resource$Projects$Locations$Connections$Exchangeauthcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exchangeAuthCode( params: Params$Resource$Projects$Locations$Connections$Exchangeauthcode, options: StreamMethodOptions | BodyResponseCallback, @@ -1183,8 +1187,8 @@ export namespace connectors_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Exchangeauthcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1240,11 +1244,11 @@ export namespace connectors_v2 { executeSqlQuery( params: Params$Resource$Projects$Locations$Connections$Executesqlquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeSqlQuery( params?: Params$Resource$Projects$Locations$Connections$Executesqlquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeSqlQuery( params: Params$Resource$Projects$Locations$Connections$Executesqlquery, options: StreamMethodOptions | BodyResponseCallback, @@ -1279,8 +1283,8 @@ export namespace connectors_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Executesqlquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1336,11 +1340,11 @@ export namespace connectors_v2 { refreshAccessToken( params: Params$Resource$Projects$Locations$Connections$Refreshaccesstoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; refreshAccessToken( params?: Params$Resource$Projects$Locations$Connections$Refreshaccesstoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; refreshAccessToken( params: Params$Resource$Projects$Locations$Connections$Refreshaccesstoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1375,8 +1379,8 @@ export namespace connectors_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Refreshaccesstoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1490,11 +1494,11 @@ export namespace connectors_v2 { execute( params: Params$Resource$Projects$Locations$Connections$Actions$Execute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; execute( params?: Params$Resource$Projects$Locations$Connections$Actions$Execute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; execute( params: Params$Resource$Projects$Locations$Connections$Actions$Execute, options: StreamMethodOptions | BodyResponseCallback, @@ -1527,8 +1531,8 @@ export namespace connectors_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Actions$Execute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1584,11 +1588,11 @@ export namespace connectors_v2 { get( params: Params$Resource$Projects$Locations$Connections$Actions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Actions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Actions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1617,7 +1621,10 @@ export namespace connectors_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Actions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1670,11 +1677,11 @@ export namespace connectors_v2 { list( params: Params$Resource$Projects$Locations$Connections$Actions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$Actions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$Actions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1705,8 +1712,8 @@ export namespace connectors_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Actions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1817,11 +1824,11 @@ export namespace connectors_v2 { get( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1850,7 +1857,10 @@ export namespace connectors_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1903,11 +1913,11 @@ export namespace connectors_v2 { list( params: Params$Resource$Projects$Locations$Connections$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1940,8 +1950,8 @@ export namespace connectors_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2035,11 +2045,11 @@ export namespace connectors_v2 { create( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2068,7 +2078,10 @@ export namespace connectors_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2124,11 +2137,11 @@ export namespace connectors_v2 { delete( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2157,7 +2170,10 @@ export namespace connectors_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2210,11 +2226,11 @@ export namespace connectors_v2 { deleteEntitiesWithConditions( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Deleteentitieswithconditions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteEntitiesWithConditions( params?: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Deleteentitieswithconditions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteEntitiesWithConditions( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Deleteentitieswithconditions, options: StreamMethodOptions | BodyResponseCallback, @@ -2245,7 +2261,10 @@ export namespace connectors_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Deleteentitieswithconditions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2301,11 +2320,11 @@ export namespace connectors_v2 { get( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2334,7 +2353,10 @@ export namespace connectors_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2387,11 +2409,11 @@ export namespace connectors_v2 { list( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2424,8 +2446,8 @@ export namespace connectors_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2481,11 +2503,11 @@ export namespace connectors_v2 { patch( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2514,7 +2536,10 @@ export namespace connectors_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2567,11 +2592,13 @@ export namespace connectors_v2 { updateEntitiesWithConditions( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Updateentitieswithconditions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateEntitiesWithConditions( params?: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Updateentitieswithconditions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateEntitiesWithConditions( params: Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Updateentitieswithconditions, options: StreamMethodOptions | BodyResponseCallback, @@ -2606,8 +2633,10 @@ export namespace connectors_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Entitytypes$Entities$Updateentitieswithconditions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/contactcenteraiplatform/index.ts b/src/apis/contactcenteraiplatform/index.ts index d13a278817e..68b8816900e 100644 --- a/src/apis/contactcenteraiplatform/index.ts +++ b/src/apis/contactcenteraiplatform/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/contactcenteraiplatform/package.json b/src/apis/contactcenteraiplatform/package.json index 85c70491f6d..53f7f8d03c3 100644 --- a/src/apis/contactcenteraiplatform/package.json +++ b/src/apis/contactcenteraiplatform/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/contactcenteraiplatform/v1alpha1.ts b/src/apis/contactcenteraiplatform/v1alpha1.ts index 4dca1dfec41..df16403e53a 100644 --- a/src/apis/contactcenteraiplatform/v1alpha1.ts +++ b/src/apis/contactcenteraiplatform/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -640,11 +640,11 @@ export namespace contactcenteraiplatform_v1alpha1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -673,7 +673,10 @@ export namespace contactcenteraiplatform_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -726,11 +729,11 @@ export namespace contactcenteraiplatform_v1alpha1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -763,8 +766,8 @@ export namespace contactcenteraiplatform_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -820,11 +823,11 @@ export namespace contactcenteraiplatform_v1alpha1 { queryContactCenterQuota( params: Params$Resource$Projects$Locations$Querycontactcenterquota, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryContactCenterQuota( params?: Params$Resource$Projects$Locations$Querycontactcenterquota, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryContactCenterQuota( params: Params$Resource$Projects$Locations$Querycontactcenterquota, options: StreamMethodOptions | BodyResponseCallback, @@ -857,8 +860,8 @@ export namespace contactcenteraiplatform_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Querycontactcenterquota; let options = (optionsOrCallback || {}) as MethodOptions; @@ -959,11 +962,11 @@ export namespace contactcenteraiplatform_v1alpha1 { create( params: Params$Resource$Projects$Locations$Contactcenters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Contactcenters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Contactcenters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -992,7 +995,10 @@ export namespace contactcenteraiplatform_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Contactcenters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1048,11 +1054,11 @@ export namespace contactcenteraiplatform_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Contactcenters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Contactcenters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Contactcenters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1081,7 +1087,10 @@ export namespace contactcenteraiplatform_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Contactcenters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1134,11 +1143,11 @@ export namespace contactcenteraiplatform_v1alpha1 { get( params: Params$Resource$Projects$Locations$Contactcenters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Contactcenters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Contactcenters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1167,7 +1176,10 @@ export namespace contactcenteraiplatform_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Contactcenters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1220,11 +1232,11 @@ export namespace contactcenteraiplatform_v1alpha1 { list( params: Params$Resource$Projects$Locations$Contactcenters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Contactcenters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Contactcenters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1259,8 +1271,8 @@ export namespace contactcenteraiplatform_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Contactcenters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1316,11 +1328,11 @@ export namespace contactcenteraiplatform_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Contactcenters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Contactcenters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Contactcenters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1349,7 +1361,10 @@ export namespace contactcenteraiplatform_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Contactcenters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1491,11 +1506,11 @@ export namespace contactcenteraiplatform_v1alpha1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1524,7 +1539,10 @@ export namespace contactcenteraiplatform_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1580,11 +1598,11 @@ export namespace contactcenteraiplatform_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1613,7 +1631,10 @@ export namespace contactcenteraiplatform_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1666,11 +1687,11 @@ export namespace contactcenteraiplatform_v1alpha1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1699,7 +1720,10 @@ export namespace contactcenteraiplatform_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1752,11 +1776,11 @@ export namespace contactcenteraiplatform_v1alpha1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1789,8 +1813,8 @@ export namespace contactcenteraiplatform_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/contactcenterinsights/index.ts b/src/apis/contactcenterinsights/index.ts index e04b1a3c19e..e02e3c3ad66 100644 --- a/src/apis/contactcenterinsights/index.ts +++ b/src/apis/contactcenterinsights/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/contactcenterinsights/package.json b/src/apis/contactcenterinsights/package.json index 108230044ac..4dfe902aac8 100644 --- a/src/apis/contactcenterinsights/package.json +++ b/src/apis/contactcenterinsights/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/contactcenterinsights/v1.ts b/src/apis/contactcenterinsights/v1.ts index 919021d698f..f9a0e4bd357 100644 --- a/src/apis/contactcenterinsights/v1.ts +++ b/src/apis/contactcenterinsights/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -968,6 +968,39 @@ export namespace contactcenterinsights_v1 { */ parent?: string | null; } + /** + * Dataset resource represents a collection of conversations that may be bounded (Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic) + */ + export interface Schema$GoogleCloudContactcenterinsightsV1alpha1Dataset { + /** + * Output only. Dataset create time. + */ + createTime?: string | null; + /** + * Dataset description. + */ + description?: string | null; + /** + * Display name for the dataaset + */ + displayName?: string | null; + /** + * Immutable. Identifier. Resource name of the dataset. Format: projects/{project\}/locations/{location\}/datasets/{dataset\} + */ + name?: string | null; + /** + * Optional. Option TTL for the dataset. + */ + ttl?: string | null; + /** + * Dataset usage type. + */ + type?: string | null; + /** + * Output only. Dataset update time. + */ + updateTime?: string | null; + } /** * Metadata for deleting an issue model. */ @@ -2254,6 +2287,86 @@ export namespace contactcenterinsights_v1 { */ querySource?: string | null; } + /** + * The metadata for an SampleConversations operation. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata { + /** + * Output only. The time the operation was created. + */ + createTime?: string | null; + /** + * Output only. The time the operation finished running. + */ + endTime?: string | null; + /** + * Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete. + */ + partialErrors?: Schema$GoogleRpcStatus[]; + /** + * Output only. The original request for sample conversations to dataset. + */ + request?: Schema$GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest; + /** + * Output only. Statistics for SampleConversations operation. + */ + sampleConversationsStats?: Schema$GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats; + } + /** + * Statistics for SampleConversations operation. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats { + /** + * Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field. + */ + failedSampleCount?: number | null; + /** + * Output only. The number of new conversations added during this sample operation. + */ + successfulSampleCount?: number | null; + } + /** + * The request to sample conversations to a dataset. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest { + /** + * The dataset resource to copy the sampled conversations to. + */ + destinationDataset?: Schema$GoogleCloudContactcenterinsightsV1alpha1Dataset; + /** + * Required. The parent resource of the dataset. + */ + parent?: string | null; + /** + * Optional. The sample rule used for sampling conversations. + */ + sampleRule?: Schema$GoogleCloudContactcenterinsightsV1alpha1SampleRule; + } + /** + * The response to an SampleConversations operation. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse {} + /** + * Message for sampling conversations. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1alpha1SampleRule { + /** + * To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations. + */ + conversationFilter?: string | null; + /** + * Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'. + */ + dimension?: string | null; + /** + * Percentage of conversations that we should sample based on the dimension between [0, 100]. + */ + samplePercentage?: number | null; + /** + * Number of the conversations that we should sample based on the dimension. + */ + sampleRow?: string | null; + } /** * The data for a sentiment annotation. */ @@ -2671,6 +2784,52 @@ export namespace contactcenterinsights_v1 { */ uri?: string | null; } + /** + * An AuthorizedView represents a view of accessible Insights resources (for example, Conversation and Scorecard). Who have read access to the AuthorizedView resource will have access to these Insight resources as well. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1AuthorizedView { + /** + * A filter to reduce conversation results to a specific subset. The AuthorizedView's assigned permission (read/write) could be applied to the subset of conversations. If conversation_filter is empty, there is no restriction on the conversations that the AuthorizedView can access. Having *authorizedViews.get* access to the AuthorizedView means having the same read/write access to the Conversations (as well as metadata/annotations liked to the conversation) that this AuthorizedView has. + */ + conversationFilter?: string | null; + /** + * Output only. The time at which the authorized view was created. + */ + createTime?: string | null; + /** + * Display Name. Limit 64 characters. + */ + displayName?: string | null; + /** + * Identifier. The resource name of the AuthorizedView. Format: projects/{project\}/locations/{location\}/authorizedViewSets/{authorized_view_set\}/authorizedViews/{authorized_view\} + */ + name?: string | null; + /** + * Output only. The most recent time at which the authorized view was updated. + */ + updateTime?: string | null; + } + /** + * An AuthorizedViewSet contains a set of AuthorizedView resources. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1AuthorizedViewSet { + /** + * Output only. Create time. + */ + createTime?: string | null; + /** + * Display Name. Limit 64 characters. + */ + displayName?: string | null; + /** + * Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project\}/locations/{location\}/authorizedViewSets/{authorized_view_set\} + */ + name?: string | null; + /** + * Output only. Update time. + */ + updateTime?: string | null; + } /** * The metadata for a bulk analyze conversations operation. */ @@ -2987,6 +3146,15 @@ export namespace contactcenterinsights_v1 { */ currentStats?: Schema$GoogleCloudContactcenterinsightsV1IssueModelLabelStats; } + /** + * The request for calculating conversation statistics. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1CalculateStatsRequest { + /** + * A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. + */ + filter?: string | null; + } /** * The response for calculating conversation statistics. */ @@ -3519,6 +3687,39 @@ export namespace contactcenterinsights_v1 { */ parent?: string | null; } + /** + * Dataset resource represents a collection of conversations that may be bounded (Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic) + */ + export interface Schema$GoogleCloudContactcenterinsightsV1Dataset { + /** + * Output only. Dataset create time. + */ + createTime?: string | null; + /** + * Dataset description. + */ + description?: string | null; + /** + * Display name for the dataaset + */ + displayName?: string | null; + /** + * Immutable. Identifier. Resource name of the dataset. Format: projects/{project\}/locations/{location\}/datasets/{dataset\} + */ + name?: string | null; + /** + * Optional. Option TTL for the dataset. + */ + ttl?: string | null; + /** + * Dataset usage type. + */ + type?: string | null; + /** + * Output only. Dataset update time. + */ + updateTime?: string | null; + } /** * Metadata for deleting an issue model. */ @@ -4421,6 +4622,32 @@ export namespace contactcenterinsights_v1 { */ nextPageToken?: string | null; } + /** + * The response from a ListAuthorizedViewSet request. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse { + /** + * The AuthorizedViewSets under the parent. + */ + authorizedViewSets?: Schema$GoogleCloudContactcenterinsightsV1AuthorizedViewSet[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * The response from a ListAuthorizedViews request. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse { + /** + * The AuthorizedViews under the parent. + */ + authorizedViews?: Schema$GoogleCloudContactcenterinsightsV1AuthorizedView[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } /** * The response of listing conversations. */ @@ -4747,7 +4974,7 @@ export namespace contactcenterinsights_v1 { */ questionBody?: string | null; /** - * User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question. + * Questions are tagged for categorization and scoring. Tags can either be: - Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER"). - Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project\}/locations/{location\}/qaQuestionTags/{qa_question_tag\}). Both default and custom tags are used to group questions and to influence the scoring of each question. */ tags?: string[] | null; /** @@ -5203,6 +5430,99 @@ export namespace contactcenterinsights_v1 { */ querySource?: string | null; } + /** + * The metadata for an SampleConversations operation. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1SampleConversationsMetadata { + /** + * Output only. The time the operation was created. + */ + createTime?: string | null; + /** + * Output only. The time the operation finished running. + */ + endTime?: string | null; + /** + * Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete. + */ + partialErrors?: Schema$GoogleRpcStatus[]; + /** + * Output only. The original request for sample conversations to dataset. + */ + request?: Schema$GoogleCloudContactcenterinsightsV1SampleConversationsRequest; + /** + * Output only. Statistics for SampleConversations operation. + */ + sampleConversationsStats?: Schema$GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats; + } + /** + * Statistics for SampleConversations operation. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats { + /** + * Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field. + */ + failedSampleCount?: number | null; + /** + * Output only. The number of new conversations added during this sample operation. + */ + successfulSampleCount?: number | null; + } + /** + * The request to sample conversations to a dataset. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1SampleConversationsRequest { + /** + * The dataset resource to copy the sampled conversations to. + */ + destinationDataset?: Schema$GoogleCloudContactcenterinsightsV1Dataset; + /** + * Required. The parent resource of the dataset. + */ + parent?: string | null; + /** + * Optional. The sample rule used for sampling conversations. + */ + sampleRule?: Schema$GoogleCloudContactcenterinsightsV1SampleRule; + } + /** + * The response to an SampleConversations operation. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1SampleConversationsResponse {} + /** + * Message for sampling conversations. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1SampleRule { + /** + * To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations. + */ + conversationFilter?: string | null; + /** + * Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'. + */ + dimension?: string | null; + /** + * Percentage of conversations that we should sample based on the dimension between [0, 100]. + */ + samplePercentage?: number | null; + /** + * Number of the conversations that we should sample based on the dimension. + */ + sampleRow?: string | null; + } + /** + * The response from a ListAuthorizedViews request. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse { + /** + * The AuthorizedViews under the parent. + */ + authorizedViews?: Schema$GoogleCloudContactcenterinsightsV1AuthorizedView[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } /** * The data for a sentiment annotation. */ @@ -5589,11 +5909,11 @@ export namespace contactcenterinsights_v1 { bulkDeleteFeedbackLabels( params: Params$Resource$Projects$Locations$Bulkdeletefeedbacklabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkDeleteFeedbackLabels( params?: Params$Resource$Projects$Locations$Bulkdeletefeedbacklabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkDeleteFeedbackLabels( params: Params$Resource$Projects$Locations$Bulkdeletefeedbacklabels, options: StreamMethodOptions | BodyResponseCallback, @@ -5628,8 +5948,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Bulkdeletefeedbacklabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5686,11 +6006,11 @@ export namespace contactcenterinsights_v1 { bulkDownloadFeedbackLabels( params: Params$Resource$Projects$Locations$Bulkdownloadfeedbacklabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkDownloadFeedbackLabels( params?: Params$Resource$Projects$Locations$Bulkdownloadfeedbacklabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkDownloadFeedbackLabels( params: Params$Resource$Projects$Locations$Bulkdownloadfeedbacklabels, options: StreamMethodOptions | BodyResponseCallback, @@ -5725,8 +6045,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Bulkdownloadfeedbacklabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5783,11 +6103,11 @@ export namespace contactcenterinsights_v1 { bulkUploadFeedbackLabels( params: Params$Resource$Projects$Locations$Bulkuploadfeedbacklabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkUploadFeedbackLabels( params?: Params$Resource$Projects$Locations$Bulkuploadfeedbacklabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkUploadFeedbackLabels( params: Params$Resource$Projects$Locations$Bulkuploadfeedbacklabels, options: StreamMethodOptions | BodyResponseCallback, @@ -5822,8 +6142,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Bulkuploadfeedbacklabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5880,11 +6200,13 @@ export namespace contactcenterinsights_v1 { getEncryptionSpec( params: Params$Resource$Projects$Locations$Getencryptionspec, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEncryptionSpec( params?: Params$Resource$Projects$Locations$Getencryptionspec, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEncryptionSpec( params: Params$Resource$Projects$Locations$Getencryptionspec, options: StreamMethodOptions | BodyResponseCallback, @@ -5919,8 +6241,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getencryptionspec; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5975,11 +6299,13 @@ export namespace contactcenterinsights_v1 { getSettings( params: Params$Resource$Projects$Locations$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$Projects$Locations$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getSettings( params: Params$Resource$Projects$Locations$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6014,8 +6340,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6070,11 +6398,13 @@ export namespace contactcenterinsights_v1 { listAllFeedbackLabels( params: Params$Resource$Projects$Locations$Listallfeedbacklabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAllFeedbackLabels( params?: Params$Resource$Projects$Locations$Listallfeedbacklabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAllFeedbackLabels( params: Params$Resource$Projects$Locations$Listallfeedbacklabels, options: StreamMethodOptions | BodyResponseCallback, @@ -6109,8 +6439,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Listallfeedbacklabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6168,11 +6500,11 @@ export namespace contactcenterinsights_v1 { queryMetrics( params: Params$Resource$Projects$Locations$Querymetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryMetrics( params?: Params$Resource$Projects$Locations$Querymetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryMetrics( params: Params$Resource$Projects$Locations$Querymetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -6207,8 +6539,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Querymetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6264,11 +6596,13 @@ export namespace contactcenterinsights_v1 { updateSettings( params: Params$Resource$Projects$Locations$Updatesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params?: Params$Resource$Projects$Locations$Updatesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateSettings( params: Params$Resource$Projects$Locations$Updatesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6303,8 +6637,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6464,11 +6800,13 @@ export namespace contactcenterinsights_v1 { create( params: Params$Resource$Projects$Locations$Analysisrules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Analysisrules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Analysisrules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6503,8 +6841,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Analysisrules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6562,11 +6902,11 @@ export namespace contactcenterinsights_v1 { delete( params: Params$Resource$Projects$Locations$Analysisrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Analysisrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Analysisrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6597,8 +6937,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Analysisrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6651,11 +6991,13 @@ export namespace contactcenterinsights_v1 { get( params: Params$Resource$Projects$Locations$Analysisrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Analysisrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Analysisrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6690,8 +7032,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Analysisrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6746,11 +7090,13 @@ export namespace contactcenterinsights_v1 { list( params: Params$Resource$Projects$Locations$Analysisrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Analysisrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Analysisrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6785,8 +7131,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Analysisrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6844,11 +7192,13 @@ export namespace contactcenterinsights_v1 { patch( params: Params$Resource$Projects$Locations$Analysisrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Analysisrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Analysisrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6883,8 +7233,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Analysisrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6997,84 +7349,71 @@ export namespace contactcenterinsights_v1 { this.context ); } - } - - export class Resource$Projects$Locations$Authorizedviewsets$Authorizedviews { - context: APIRequestContext; - conversations: Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations; - operations: Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations; - constructor(context: APIRequestContext) { - this.context = context; - this.conversations = - new Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations( - this.context - ); - this.operations = - new Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations( - this.context - ); - } /** - * Query metrics. + * Create AuthorizedViewSet * * @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. */ - queryMetrics( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics, + create( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Create, options: StreamMethodOptions - ): GaxiosPromise; - queryMetrics( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics, + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Create, options?: MethodOptions - ): GaxiosPromise; - queryMetrics( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics, + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - queryMetrics( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics, + create( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Create, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - queryMetrics( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Create, + callback: BodyResponseCallback ): void; - queryMetrics( - callback: BodyResponseCallback + create( + callback: BodyResponseCallback ): void; - queryMetrics( + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Create; options = {}; } @@ -7088,7 +7427,7 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+location}:queryMetrics').replace( + url: (rootUrl + '/v1/{+parent}/authorizedViewSets').replace( /([^:]\/)\/+/g, '$1' ), @@ -7098,110 +7437,78 @@ export namespace contactcenterinsights_v1 { options ), params, - requiredParams: ['location'], - pathParams: ['location'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics - extends StandardParameters { - /** - * Required. The location of the data. "projects/{project\}/locations/{location\}" - */ - location?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1QueryMetricsRequest; - } - - export class Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations { - context: APIRequestContext; - analyses: Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses; - feedbackLabels: Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels; - constructor(context: APIRequestContext) { - this.context = context; - this.analyses = - new Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses( - this.context - ); - this.feedbackLabels = - new Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels( - this.context + return createAPIRequest( + parameters ); + } } /** - * Analyzes multiple conversations in a single request. + * Deletes an AuthorizedViewSet. * * @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. */ - bulkAnalyze( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze, + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Delete, options: StreamMethodOptions - ): GaxiosPromise; - bulkAnalyze( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze, + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Delete, options?: MethodOptions - ): GaxiosPromise; - bulkAnalyze( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - bulkAnalyze( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - bulkAnalyze( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - bulkAnalyze( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Delete, + callback: BodyResponseCallback ): void; - bulkAnalyze( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Delete; options = {}; } @@ -7215,90 +7522,91 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/conversations:bulkAnalyze').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets conversation statistics. + * Get AuthorizedViewSet * * @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. */ - calculateStats( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats, + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Get, options: StreamMethodOptions - ): GaxiosPromise; - calculateStats( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats, + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Get, options?: MethodOptions - ): GaxiosPromise; - calculateStats( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats, + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - calculateStats( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats, + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - calculateStats( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Get, + callback: BodyResponseCallback ): void; - calculateStats( - callback: BodyResponseCallback + get( + callback: BodyResponseCallback ): void; - calculateStats( + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Get; options = {}; } @@ -7312,87 +7620,93 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+location}/conversations:calculateStats' - ).replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['location'], - pathParams: ['location'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } /** - * Deletes a conversation. + * List AuthorizedViewSets * * @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. */ - delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete, + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$List, options: StreamMethodOptions - ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete, + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$List, options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$List, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$List; options = {}; } @@ -7406,87 +7720,96 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+parent}/authorizedViewSets').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Gets a conversation. + * Updates an AuthorizedViewSet. * * @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$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get, + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Patch, options: StreamMethodOptions - ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get, + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Patch, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get, + ): Promise< + GaxiosResponseWithHTTP2 + >; + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get, + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Patch, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Patch, + callback: BodyResponseCallback ): void; - get( - callback: BodyResponseCallback + patch( + callback: BodyResponseCallback ): void; - get( + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Patch; options = {}; } @@ -7501,7 +7824,7 @@ export namespace contactcenterinsights_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -7512,198 +7835,110 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Create + extends StandardParameters { /** - * Lists conversations. - * - * @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. + * Optional. A unique ID for the new AuthorizedViewSet. This ID will become the final component of the AuthorizedViewSet's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$`. See go/aip/122#resource-id-segments */ - list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List, - options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List, - options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List, - callback: BodyResponseCallback - ): void; - list( - callback: BodyResponseCallback - ): void; - list( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/conversations').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['parent'], - pathParams: ['parent'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest( - parameters - ); - } - } - } - - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze - extends StandardParameters { + authorizedViewSetId?: string; /** - * Required. The parent resource to create analyses in. + * Required. The parent resource of the AuthorizedViewSet. */ parent?: string; /** * Request body metadata */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest; - } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats - extends StandardParameters { - /** - * A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. - */ - filter?: string; - /** - * Required. The location of the conversations. - */ - location?: string; + requestBody?: Schema$GoogleCloudContactcenterinsightsV1AuthorizedViewSet; } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Delete extends StandardParameters { /** - * If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. + * Optional. If set to true, all of this AuthorizedViewSet's child resources will also be deleted. Otherwise, the request will only succeed if it has none. */ force?: boolean; /** - * Required. The name of the conversation to delete. + * Required. The name of the AuthorizedViewSet to delete. */ name?: string; } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Get extends StandardParameters { /** - * Required. The name of the conversation to get. + * Required. The name of the AuthorizedViewSet to get. */ name?: string; - /** - * The level of details of the conversation. Default is `FULL`. - */ - view?: string; } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List + export interface Params$Resource$Projects$Locations$Authorizedviewsets$List extends StandardParameters { /** - * A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. + * Optional. The filter expression to filter authorized view sets listed in the response. */ filter?: string; /** - * Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). + * Optional. The order by expression to order authorized view sets listed in the response. */ orderBy?: string; /** - * The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. + * Optional. The maximum number of view sets to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */ pageSize?: number; /** - * The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. + * Optional. The value returned by the last `ListAuthorizedViewSetsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViewSets` call and that the system should return the next page of data. */ pageToken?: string; /** - * Required. The parent resource of the conversation. + * Required. The parent resource of the AuthorizedViewSets. */ parent?: string; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Patch + extends StandardParameters { /** - * The level of details of the conversation. Default is `BASIC`. + * Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project\}/locations/{location\}/authorizedViewSets/{authorized_view_set\} */ - view?: string; + name?: string; + /** + * Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `display_name` + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1AuthorizedViewSet; } - export class Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses { + export class Resource$Projects$Locations$Authorizedviewsets$Authorizedviews { context: APIRequestContext; + conversations: Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations; + operations: Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations; constructor(context: APIRequestContext) { this.context = context; + this.conversations = + new Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations( + this.context + ); + this.operations = + new Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations( + this.context + ); } /** - * Creates an analysis. The long running operation is done when the analysis has completed. + * Create AuthorizedView * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -7711,57 +7946,61 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ create( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create, + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Create, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Create, + callback: BodyResponseCallback ): void; create( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Create; options = {}; } @@ -7775,7 +8014,7 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/analyses').replace( + url: (rootUrl + '/v1/{+parent}/authorizedViews').replace( /([^:]\/)\/+/g, '$1' ), @@ -7790,17 +8029,19 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes an analysis. + * Deletes an AuthorizedView. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -7808,31 +8049,31 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete, + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Delete, callback: BodyResponseCallback ): void; delete(callback: BodyResponseCallback): void; delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -7845,16 +8086,16 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Delete; options = {}; } @@ -7890,7 +8131,7 @@ export namespace contactcenterinsights_v1 { } /** - * Gets an analysis. + * Get AuthorizedView * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -7898,57 +8139,61 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get, + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Get, + callback: BodyResponseCallback ): void; get( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Get; options = {}; } @@ -7974,19 +8219,19 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } /** - * Lists analyses. + * List AuthorizedViewSets * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -7994,57 +8239,61 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List, + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$List, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$List; options = {}; } @@ -8058,7 +8307,7 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/analyses').replace( + url: (rootUrl + '/v1/{+parent}/authorizedViews').replace( /([^:]\/)\/+/g, '$1' ), @@ -8073,130 +8322,81 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } - } - - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create - extends StandardParameters { - /** - * Required. The parent resource of the analysis. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1Analysis; - } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete - extends StandardParameters { - /** - * Required. The name of the analysis to delete. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get - extends StandardParameters { - /** - * Required. The name of the analysis to get. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List - extends StandardParameters { - /** - * A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. - */ - filter?: string; - /** - * The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. - */ - pageSize?: number; - /** - * The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The parent resource of the analyses. - */ - parent?: string; - } - - export class Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Create feedback label. + * Updates an AuthorizedView. * * @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. */ - create( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create, + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Patch, options: StreamMethodOptions - ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create, + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Patch, options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create, + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Patch, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Patch, + callback: BodyResponseCallback ): void; - create( - callback: BodyResponseCallback + patch( + callback: BodyResponseCallback ): void; - create( + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Patch; options = {}; } @@ -8210,88 +8410,89 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/feedbackLabels').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } /** - * Delete feedback label. + * Query metrics. * * @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. */ - delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete, + queryMetrics( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics, options: StreamMethodOptions - ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete, + ): Promise>; + queryMetrics( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics, options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete, + ): Promise>; + queryMetrics( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + queryMetrics( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete, - callback: BodyResponseCallback + queryMetrics( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + queryMetrics( + callback: BodyResponseCallback + ): void; + queryMetrics( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics; options = {}; } @@ -8305,87 +8506,94 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+location}:queryMetrics').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['location'], + pathParams: ['location'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Get feedback label. + * SearchAuthorizedViewSets * * @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$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get, + search( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Search, options: StreamMethodOptions - ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get, + ): Promise>; + search( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Search, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get, + ): Promise< + GaxiosResponseWithHTTP2 + >; + search( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Search, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get, + search( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Search, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get, - callback: BodyResponseCallback + search( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Search, + callback: BodyResponseCallback ): void; - get( - callback: BodyResponseCallback + search( + callback: BodyResponseCallback ): void; - get( + search( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Search + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Search; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Search; options = {}; } @@ -8399,89 +8607,214 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+parent}/authorizedViews:search').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Create + extends StandardParameters { /** - * List feedback labels. + * Optional. A unique ID for the new AuthorizedView. This ID will become the final component of the AuthorizedView's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$`. See go/aip/122#resource-id-segments + */ + authorizedViewId?: string; + /** + * Required. The parent resource of the AuthorizedView. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1AuthorizedView; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Delete + extends StandardParameters { + /** + * Required. The name of the AuthorizedView to delete. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Get + extends StandardParameters { + /** + * Required. The name of the AuthorizedView to get. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$List + extends StandardParameters { + /** + * Optional. The filter expression to filter authorized views listed in the response. + */ + filter?: string; + /** + * Optional. The order by expression to order authorized views listed in the response. + */ + orderBy?: string; + /** + * Optional. The maximum number of view to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. + */ + pageSize?: number; + /** + * Optional. The value returned by the last `ListAuthorizedViewsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViews` call and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Patch + extends StandardParameters { + /** + * Identifier. The resource name of the AuthorizedView. Format: projects/{project\}/locations/{location\}/authorizedViewSets/{authorized_view_set\}/authorizedViews/{authorized_view\} + */ + name?: string; + /** + * Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `conversation_filter` * `display_name` + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1AuthorizedView; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Querymetrics + extends StandardParameters { + /** + * Required. The location of the data. "projects/{project\}/locations/{location\}" + */ + location?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1QueryMetricsRequest; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Search + extends StandardParameters { + /** + * Optional. The order by expression to order authorized views listed in the response. + */ + orderBy?: string; + /** + * Optional. The maximum number of view to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. + */ + pageSize?: number; + /** + * Optional. The value returned by the last `ListAuthorizedViewsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViews` call and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned. + */ + parent?: string; + /** + * Optional. The query expression to search authorized views. + */ + query?: string; + } + + export class Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations { + context: APIRequestContext; + analyses: Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses; + feedbackLabels: Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels; + constructor(context: APIRequestContext) { + this.context = context; + this.analyses = + new Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses( + this.context + ); + this.feedbackLabels = + new Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels( + this.context + ); + } + + /** + * Analyzes multiple conversations in a single request. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List, + bulkAnalyze( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze, options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List, + ): Promise>; + bulkAnalyze( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List, + ): Promise>; + bulkAnalyze( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List, + bulkAnalyze( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List, - callback: BodyResponseCallback + bulkAnalyze( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + bulkAnalyze( + callback: BodyResponseCallback ): void; - list( + bulkAnalyze( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze; options = {}; } @@ -8495,11 +8828,11 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/feedbackLabels').replace( + url: (rootUrl + '/v1/{+parent}/conversations:bulkAnalyze').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options @@ -8510,77 +8843,79 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Update feedback label. + * Gets conversation statistics. * * @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. */ - patch( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch, + calculateStats( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats, options: StreamMethodOptions - ): GaxiosPromise; - patch( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch, + ): Promise>; + calculateStats( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats, options?: MethodOptions - ): GaxiosPromise; - patch( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch, + ): Promise< + GaxiosResponseWithHTTP2 + >; + calculateStats( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch, + calculateStats( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch, - callback: BodyResponseCallback + calculateStats( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats, + callback: BodyResponseCallback ): void; - patch( - callback: BodyResponseCallback + calculateStats( + callback: BodyResponseCallback ): void; - patch( + calculateStats( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats; options = {}; } @@ -8594,136 +8929,65 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: ( + rootUrl + '/v1/{+location}/conversations:calculateStats' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['location'], + pathParams: ['location'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } - } - - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create - extends StandardParameters { - /** - * Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. - */ - feedbackLabelId?: string; - /** - * Required. The parent resource of the feedback label. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1FeedbackLabel; - } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete - extends StandardParameters { - /** - * Required. The name of the feedback label to delete. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get - extends StandardParameters { - /** - * Required. The name of the feedback label to get. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List - extends StandardParameters { - /** - * Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING - */ - filter?: string; - /** - * Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. - */ - pageSize?: number; - /** - * Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The parent resource of the feedback labels. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch - extends StandardParameters { - /** - * Immutable. Resource name of the FeedbackLabel. Format: projects/{project\}/locations/{location\}/conversations/{conversation\}/feedbackLabels/{feedback_label\} - */ - name?: string; - /** - * Required. The list of fields to be updated. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1FeedbackLabel; - } - - export class Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. + * Deletes a conversation. * * @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. */ - cancel( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel, + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete, options: StreamMethodOptions - ): GaxiosPromise; - cancel( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel, + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete, options?: MethodOptions - ): GaxiosPromise; - cancel( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - cancel( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel, + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - cancel( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel, + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete, callback: BodyResponseCallback ): void; - cancel(callback: BodyResponseCallback): void; - cancel( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -8736,16 +9000,16 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete; options = {}; } @@ -8759,8 +9023,8 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options @@ -8781,7 +9045,7 @@ export namespace contactcenterinsights_v1 { } /** - * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * Gets a conversation. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -8789,57 +9053,61 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get, + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get, + callback: BodyResponseCallback ): void; get( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get; options = {}; } @@ -8865,17 +9133,19 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. + * Lists conversations. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -8883,57 +9153,61 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( - params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List, + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List; options = {}; } @@ -8947,7 +9221,7 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}/operations').replace( + url: (rootUrl + '/v1/{+parent}/conversations').replace( /([^:]\/)\/+/g, '$1' ), @@ -8957,110 +9231,140 @@ export namespace contactcenterinsights_v1 { options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Bulkanalyze extends StandardParameters { /** - * The name of the operation resource to be cancelled. + * Required. The parent resource to create analyses in. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Calculatestats + extends StandardParameters { + /** + * A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. + */ + filter?: string; + /** + * Required. The location of the conversations. + */ + location?: string; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Delete + extends StandardParameters { + /** + * If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. + */ + force?: boolean; + /** + * Required. The name of the conversation to delete. */ name?: string; } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Get extends StandardParameters { /** - * The name of the operation resource. + * Required. The name of the conversation to get. */ name?: string; + /** + * The level of details of the conversation. Default is `FULL`. + */ + view?: string; } - export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$List extends StandardParameters { /** - * The standard list filter. + * A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */ filter?: string; /** - * The name of the operation's parent resource. + * Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). */ - name?: string; + orderBy?: string; /** - * The standard list page size. + * The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */ pageSize?: number; /** - * The standard list page token. + * The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. */ pageToken?: string; + /** + * Required. The parent resource of the conversation. + */ + parent?: string; + /** + * The level of details of the conversation. Default is `BASIC`. + */ + view?: string; } - export class Resource$Projects$Locations$Conversations { + export class Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses { context: APIRequestContext; - analyses: Resource$Projects$Locations$Conversations$Analyses; - feedbackLabels: Resource$Projects$Locations$Conversations$Feedbacklabels; constructor(context: APIRequestContext) { this.context = context; - this.analyses = new Resource$Projects$Locations$Conversations$Analyses( - this.context - ); - this.feedbackLabels = - new Resource$Projects$Locations$Conversations$Feedbacklabels( - this.context - ); } /** - * Analyzes multiple conversations in a single request. + * Creates an analysis. The long running operation is done when the analysis has completed. * * @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. */ - bulkAnalyze( - params: Params$Resource$Projects$Locations$Conversations$Bulkanalyze, + create( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create, options: StreamMethodOptions - ): GaxiosPromise; - bulkAnalyze( - params?: Params$Resource$Projects$Locations$Conversations$Bulkanalyze, + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create, options?: MethodOptions - ): GaxiosPromise; - bulkAnalyze( - params: Params$Resource$Projects$Locations$Conversations$Bulkanalyze, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - bulkAnalyze( - params: Params$Resource$Projects$Locations$Conversations$Bulkanalyze, + create( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create, options: | MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - bulkAnalyze( - params: Params$Resource$Projects$Locations$Conversations$Bulkanalyze, + create( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create, callback: BodyResponseCallback ): void; - bulkAnalyze( + create( callback: BodyResponseCallback ): void; - bulkAnalyze( + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Bulkanalyze + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -9073,16 +9377,16 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Bulkanalyze; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Conversations$Bulkanalyze; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create; options = {}; } @@ -9096,7 +9400,7 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/conversations:bulkAnalyze').replace( + url: (rootUrl + '/v1/{+parent}/analyses').replace( /([^:]\/)\/+/g, '$1' ), @@ -9121,65 +9425,61 @@ export namespace contactcenterinsights_v1 { } /** - * Deletes multiple conversations in a single request. + * Deletes an analysis. * * @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. */ - bulkDelete( - params: Params$Resource$Projects$Locations$Conversations$Bulkdelete, + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete, options: StreamMethodOptions - ): GaxiosPromise; - bulkDelete( - params?: Params$Resource$Projects$Locations$Conversations$Bulkdelete, + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete, options?: MethodOptions - ): GaxiosPromise; - bulkDelete( - params: Params$Resource$Projects$Locations$Conversations$Bulkdelete, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - bulkDelete( - params: Params$Resource$Projects$Locations$Conversations$Bulkdelete, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - bulkDelete( - params: Params$Resource$Projects$Locations$Conversations$Bulkdelete, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - bulkDelete( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete, + callback: BodyResponseCallback ): void; - bulkDelete( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Bulkdelete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Bulkdelete; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Conversations$Bulkdelete; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete; options = {}; } @@ -9193,90 +9493,91 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/conversations:bulkDelete').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets conversation statistics. + * Gets an analysis. * * @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. */ - calculateStats( - params: Params$Resource$Projects$Locations$Conversations$Calculatestats, + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get, options: StreamMethodOptions - ): GaxiosPromise; - calculateStats( - params?: Params$Resource$Projects$Locations$Conversations$Calculatestats, + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get, options?: MethodOptions - ): GaxiosPromise; - calculateStats( - params: Params$Resource$Projects$Locations$Conversations$Calculatestats, + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - calculateStats( - params: Params$Resource$Projects$Locations$Conversations$Calculatestats, + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - calculateStats( - params: Params$Resource$Projects$Locations$Conversations$Calculatestats, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get, + callback: BodyResponseCallback ): void; - calculateStats( - callback: BodyResponseCallback + get( + callback: BodyResponseCallback ): void; - calculateStats( + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Calculatestats - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Calculatestats; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Conversations$Calculatestats; + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get; options = {}; } @@ -9290,90 +9591,249 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+location}/conversations:calculateStats' - ).replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['location'], - pathParams: ['location'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } /** - * Creates a conversation. Note that this method does not support audio transcription or redaction. Use `conversations.upload` instead. + * Lists analyses. * * @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. */ - create( - params: Params$Resource$Projects$Locations$Conversations$Create, + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List, options: StreamMethodOptions - ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Conversations$Create, + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List, options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Conversations$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Conversations$Create, + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Conversations$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List, + callback: BodyResponseCallback ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/analyses').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Create + extends StandardParameters { + /** + * Required. The parent resource of the analysis. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1Analysis; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Delete + extends StandardParameters { + /** + * Required. The name of the analysis to delete. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$Get + extends StandardParameters { + /** + * Required. The name of the analysis to get. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Analyses$List + extends StandardParameters { + /** + * A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. + */ + filter?: string; + /** + * The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. + */ + pageSize?: number; + /** + * The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The parent resource of the analyses. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Create feedback label. + * + * @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. + */ create( - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback ): void; create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Create; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Conversations$Create; + params = + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create; options = {}; } @@ -9387,7 +9847,7 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/conversations').replace( + url: (rootUrl + '/v1/{+parent}/feedbackLabels').replace( /([^:]\/)\/+/g, '$1' ), @@ -9402,19 +9862,19 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } /** - * Deletes a conversation. + * Delete feedback label. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -9422,31 +9882,31 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ delete( - params: Params$Resource$Projects$Locations$Conversations$Delete, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( - params?: Params$Resource$Projects$Locations$Conversations$Delete, + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( - params: Params$Resource$Projects$Locations$Conversations$Delete, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Conversations$Delete, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Conversations$Delete, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete, callback: BodyResponseCallback ): void; delete(callback: BodyResponseCallback): void; delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Delete + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -9459,15 +9919,16 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Delete; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Conversations$Delete; + params = + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete; options = {}; } @@ -9503,7 +9964,7 @@ export namespace contactcenterinsights_v1 { } /** - * Gets a conversation. + * Get feedback label. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -9511,56 +9972,61 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Conversations$Get, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( - params?: Params$Resource$Projects$Locations$Conversations$Get, + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( - params: Params$Resource$Projects$Locations$Conversations$Get, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Conversations$Get, + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Conversations$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get, + callback: BodyResponseCallback ): void; get( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Get; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Conversations$Get; + params = + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get; options = {}; } @@ -9586,76 +10052,81 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } /** - * Imports conversations and processes them according to the user's configuration. + * List feedback labels. * * @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. */ - ingest( - params: Params$Resource$Projects$Locations$Conversations$Ingest, + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List, options: StreamMethodOptions - ): GaxiosPromise; - ingest( - params?: Params$Resource$Projects$Locations$Conversations$Ingest, + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List, options?: MethodOptions - ): GaxiosPromise; - ingest( - params: Params$Resource$Projects$Locations$Conversations$Ingest, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - ingest( - params: Params$Resource$Projects$Locations$Conversations$Ingest, + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - ingest( - params: Params$Resource$Projects$Locations$Conversations$Ingest, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - ingest( - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List, + callback: BodyResponseCallback ): void; - ingest( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Ingest - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Ingest; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Conversations$Ingest; + params = + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List; options = {}; } @@ -9669,11 +10140,11 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/conversations:ingest').replace( + url: (rootUrl + '/v1/{+parent}/feedbackLabels').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -9684,74 +10155,81 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Lists conversations. + * Update feedback label. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - list( - params: Params$Resource$Projects$Locations$Conversations$List, + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch, options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Conversations$List, + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Conversations$List, + ): Promise< + GaxiosResponseWithHTTP2 + >; + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Conversations$List, + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Conversations$List, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + patch( + callback: BodyResponseCallback ): void; - list( + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$List; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Conversations$List; + params = + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch; options = {}; } @@ -9765,91 +10243,158 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/conversations').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Create + extends StandardParameters { /** - * Updates a conversation. + * Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. + */ + feedbackLabelId?: string; + /** + * Required. The parent resource of the feedback label. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1FeedbackLabel; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Delete + extends StandardParameters { + /** + * Required. The name of the feedback label to delete. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Get + extends StandardParameters { + /** + * Required. The name of the feedback label to get. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$List + extends StandardParameters { + /** + * Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING + */ + filter?: string; + /** + * Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. + */ + pageSize?: number; + /** + * Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The parent resource of the feedback labels. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Conversations$Feedbacklabels$Patch + extends StandardParameters { + /** + * Immutable. Resource name of the FeedbackLabel. Format: projects/{project\}/locations/{location\}/conversations/{conversation\}/feedbackLabels/{feedback_label\} + */ + name?: string; + /** + * Required. The list of fields to be updated. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1FeedbackLabel; + } + + export class Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. * * @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. */ - patch( - params: Params$Resource$Projects$Locations$Conversations$Patch, + cancel( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; - patch( - params?: Params$Resource$Projects$Locations$Conversations$Patch, + ): Promise>; + cancel( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; - patch( - params: Params$Resource$Projects$Locations$Conversations$Patch, + ): Promise>; + cancel( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Conversations$Patch, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Conversations$Patch, - callback: BodyResponseCallback + cancel( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - callback: BodyResponseCallback + cancel( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel, + callback: BodyResponseCallback ): void; - patch( + cancel(callback: BodyResponseCallback): void; + cancel( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Patch; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Conversations$Patch; + params = + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel; options = {}; } @@ -9863,8 +10408,8 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', apiVersion: '', }, options @@ -9875,55 +10420,53 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction. + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. * * @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. */ - upload( - params: Params$Resource$Projects$Locations$Conversations$Upload, + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; - upload( - params?: Params$Resource$Projects$Locations$Conversations$Upload, + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; - upload( - params: Params$Resource$Projects$Locations$Conversations$Upload, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - upload( - params: Params$Resource$Projects$Locations$Conversations$Upload, + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get, options: | MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - upload( - params: Params$Resource$Projects$Locations$Conversations$Upload, + get( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get, callback: BodyResponseCallback ): void; - upload( + get( callback: BodyResponseCallback ): void; - upload( + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Upload + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -9936,15 +10479,16 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Upload; + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Conversations$Upload; + params = + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get; options = {}; } @@ -9958,18 +10502,15 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/conversations:upload').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { @@ -9981,193 +10522,2908 @@ export namespace contactcenterinsights_v1 { return createAPIRequest(parameters); } } - } - export interface Params$Resource$Projects$Locations$Conversations$Bulkanalyze - extends StandardParameters { /** - * Required. The parent resource to create analyses in. + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * @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. */ - parent?: string; + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List; + let options = (optionsOrCallback || {}) as MethodOptions; - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest; - } - export interface Params$Resource$Projects$Locations$Conversations$Bulkdelete - extends StandardParameters { - /** - * Required. The parent resource to delete conversations from. Format: projects/{project\}/locations/{location\} - */ - parent?: string; + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List; + options = {}; + } - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest; - } - export interface Params$Resource$Projects$Locations$Conversations$Calculatestats - extends StandardParameters { - /** - * A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. - */ - filter?: string; - /** - * Required. The location of the conversations. - */ - location?: string; - } - export interface Params$Resource$Projects$Locations$Conversations$Create - extends StandardParameters { - /** - * A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64\}$`. Valid characters are `a-z-` - */ - conversationId?: string; - /** - * Required. The parent resource of the conversation. - */ - parent?: string; + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1Conversation; + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}/operations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } } - export interface Params$Resource$Projects$Locations$Conversations$Delete + + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Cancel extends StandardParameters { /** - * If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. - */ - force?: boolean; - /** - * Required. The name of the conversation to delete. + * The name of the operation resource to be cancelled. */ name?: string; } - export interface Params$Resource$Projects$Locations$Conversations$Get + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$Get extends StandardParameters { /** - * Required. The name of the conversation to get. + * The name of the operation resource. */ name?: string; - /** - * The level of details of the conversation. Default is `FULL`. - */ - view?: string; - } - export interface Params$Resource$Projects$Locations$Conversations$Ingest - extends StandardParameters { - /** - * Required. The parent resource for new conversations. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1IngestConversationsRequest; } - export interface Params$Resource$Projects$Locations$Conversations$List + export interface Params$Resource$Projects$Locations$Authorizedviewsets$Authorizedviews$Operations$List extends StandardParameters { /** - * A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. + * The standard list filter. */ filter?: string; /** - * Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). + * The name of the operation's parent resource. */ - orderBy?: string; + name?: string; /** - * The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. + * The standard list page size. */ pageSize?: number; /** - * The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. + * The standard list page token. */ pageToken?: string; - /** - * Required. The parent resource of the conversation. - */ - parent?: string; - /** - * The level of details of the conversation. Default is `BASIC`. - */ - view?: string; - } - export interface Params$Resource$Projects$Locations$Conversations$Patch - extends StandardParameters { - /** - * Immutable. The resource name of the conversation. Format: projects/{project\}/locations/{location\}/conversations/{conversation\} - */ - name?: string; - /** - * The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri` - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1Conversation; - } - export interface Params$Resource$Projects$Locations$Conversations$Upload - extends StandardParameters { - /** - * Required. The parent resource of the conversation. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1UploadConversationRequest; } - export class Resource$Projects$Locations$Conversations$Analyses { + export class Resource$Projects$Locations$Conversations { context: APIRequestContext; + analyses: Resource$Projects$Locations$Conversations$Analyses; + feedbackLabels: Resource$Projects$Locations$Conversations$Feedbacklabels; constructor(context: APIRequestContext) { this.context = context; + this.analyses = new Resource$Projects$Locations$Conversations$Analyses( + this.context + ); + this.feedbackLabels = + new Resource$Projects$Locations$Conversations$Feedbacklabels( + this.context + ); } /** - * Creates an analysis. The long running operation is done when the analysis has completed. + * Analyzes multiple conversations in a single request. * * @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. */ - create( - params: Params$Resource$Projects$Locations$Conversations$Analyses$Create, + bulkAnalyze( + params: Params$Resource$Projects$Locations$Conversations$Bulkanalyze, options: StreamMethodOptions - ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Conversations$Analyses$Create, + ): Promise>; + bulkAnalyze( + params?: Params$Resource$Projects$Locations$Conversations$Bulkanalyze, options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Conversations$Analyses$Create, + ): Promise>; + bulkAnalyze( + params: Params$Resource$Projects$Locations$Conversations$Bulkanalyze, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Conversations$Analyses$Create, + bulkAnalyze( + params: Params$Resource$Projects$Locations$Conversations$Bulkanalyze, options: | MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Conversations$Analyses$Create, + bulkAnalyze( + params: Params$Resource$Projects$Locations$Conversations$Bulkanalyze, callback: BodyResponseCallback ): void; - create( + bulkAnalyze( + callback: BodyResponseCallback + ): void; + bulkAnalyze( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Bulkanalyze + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Bulkanalyze; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Bulkanalyze; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/conversations:bulkAnalyze').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes multiple conversations in a single request. + * + * @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. + */ + bulkDelete( + params: Params$Resource$Projects$Locations$Conversations$Bulkdelete, + options: StreamMethodOptions + ): Promise>; + bulkDelete( + params?: Params$Resource$Projects$Locations$Conversations$Bulkdelete, + options?: MethodOptions + ): Promise>; + bulkDelete( + params: Params$Resource$Projects$Locations$Conversations$Bulkdelete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkDelete( + params: Params$Resource$Projects$Locations$Conversations$Bulkdelete, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkDelete( + params: Params$Resource$Projects$Locations$Conversations$Bulkdelete, + callback: BodyResponseCallback + ): void; + bulkDelete( + callback: BodyResponseCallback + ): void; + bulkDelete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Bulkdelete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Bulkdelete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Bulkdelete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/conversations:bulkDelete').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets conversation statistics. + * + * @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. + */ + calculateStats( + params: Params$Resource$Projects$Locations$Conversations$Calculatestats, + options: StreamMethodOptions + ): Promise>; + calculateStats( + params?: Params$Resource$Projects$Locations$Conversations$Calculatestats, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + calculateStats( + params: Params$Resource$Projects$Locations$Conversations$Calculatestats, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + calculateStats( + params: Params$Resource$Projects$Locations$Conversations$Calculatestats, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + calculateStats( + params: Params$Resource$Projects$Locations$Conversations$Calculatestats, + callback: BodyResponseCallback + ): void; + calculateStats( + callback: BodyResponseCallback + ): void; + calculateStats( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Calculatestats + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Calculatestats; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Calculatestats; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+location}/conversations:calculateStats' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['location'], + pathParams: ['location'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Creates a conversation. Note that this method does not support audio transcription or redaction. Use `conversations.upload` instead. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Conversations$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Conversations$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Conversations$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Conversations$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Conversations$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Conversations$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/conversations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Deletes a conversation. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Conversations$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Conversations$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Conversations$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Conversations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Conversations$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Conversations$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets a conversation. + * + * @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$Projects$Locations$Conversations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Conversations$Get, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Conversations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Conversations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Conversations$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Conversations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Imports conversations and processes them according to the user's configuration. + * + * @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. + */ + ingest( + params: Params$Resource$Projects$Locations$Conversations$Ingest, + options: StreamMethodOptions + ): Promise>; + ingest( + params?: Params$Resource$Projects$Locations$Conversations$Ingest, + options?: MethodOptions + ): Promise>; + ingest( + params: Params$Resource$Projects$Locations$Conversations$Ingest, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + ingest( + params: Params$Resource$Projects$Locations$Conversations$Ingest, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + ingest( + params: Params$Resource$Projects$Locations$Conversations$Ingest, + callback: BodyResponseCallback + ): void; + ingest( + callback: BodyResponseCallback + ): void; + ingest( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Ingest + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Ingest; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Conversations$Ingest; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/conversations:ingest').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists conversations. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Conversations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Conversations$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Conversations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Conversations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Conversations$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Conversations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/conversations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Updates a conversation. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Conversations$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Conversations$Patch, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + patch( + params: Params$Resource$Projects$Locations$Conversations$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Conversations$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Conversations$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Conversations$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction. + * + * @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. + */ + upload( + params: Params$Resource$Projects$Locations$Conversations$Upload, + options: StreamMethodOptions + ): Promise>; + upload( + params?: Params$Resource$Projects$Locations$Conversations$Upload, + options?: MethodOptions + ): Promise>; + upload( + params: Params$Resource$Projects$Locations$Conversations$Upload, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + upload( + params: Params$Resource$Projects$Locations$Conversations$Upload, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + upload( + params: Params$Resource$Projects$Locations$Conversations$Upload, + callback: BodyResponseCallback + ): void; + upload( + callback: BodyResponseCallback + ): void; + upload( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Upload + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Upload; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Conversations$Upload; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/conversations:upload').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Conversations$Bulkanalyze + extends StandardParameters { + /** + * Required. The parent resource to create analyses in. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest; + } + export interface Params$Resource$Projects$Locations$Conversations$Bulkdelete + extends StandardParameters { + /** + * Required. The parent resource to delete conversations from. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest; + } + export interface Params$Resource$Projects$Locations$Conversations$Calculatestats + extends StandardParameters { + /** + * A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. + */ + filter?: string; + /** + * Required. The location of the conversations. + */ + location?: string; + } + export interface Params$Resource$Projects$Locations$Conversations$Create + extends StandardParameters { + /** + * A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64\}$`. Valid characters are `a-z-` + */ + conversationId?: string; + /** + * Required. The parent resource of the conversation. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1Conversation; + } + export interface Params$Resource$Projects$Locations$Conversations$Delete + extends StandardParameters { + /** + * If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. + */ + force?: boolean; + /** + * Required. The name of the conversation to delete. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Conversations$Get + extends StandardParameters { + /** + * Required. The name of the conversation to get. + */ + name?: string; + /** + * The level of details of the conversation. Default is `FULL`. + */ + view?: string; + } + export interface Params$Resource$Projects$Locations$Conversations$Ingest + extends StandardParameters { + /** + * Required. The parent resource for new conversations. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1IngestConversationsRequest; + } + export interface Params$Resource$Projects$Locations$Conversations$List + extends StandardParameters { + /** + * A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. + */ + filter?: string; + /** + * Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). + */ + orderBy?: string; + /** + * The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. + */ + pageSize?: number; + /** + * The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The parent resource of the conversation. + */ + parent?: string; + /** + * The level of details of the conversation. Default is `BASIC`. + */ + view?: string; + } + export interface Params$Resource$Projects$Locations$Conversations$Patch + extends StandardParameters { + /** + * Immutable. The resource name of the conversation. Format: projects/{project\}/locations/{location\}/conversations/{conversation\} + */ + name?: string; + /** + * The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri` + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1Conversation; + } + export interface Params$Resource$Projects$Locations$Conversations$Upload + extends StandardParameters { + /** + * Required. The parent resource of the conversation. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1UploadConversationRequest; + } + + export class Resource$Projects$Locations$Conversations$Analyses { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates an analysis. The long running operation is done when the analysis has completed. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Conversations$Analyses$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Conversations$Analyses$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Conversations$Analyses$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Conversations$Analyses$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Conversations$Analyses$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Analyses$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Analyses$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Analyses$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/analyses').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes an analysis. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Conversations$Analyses$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Conversations$Analyses$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Conversations$Analyses$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Conversations$Analyses$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Conversations$Analyses$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Analyses$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Analyses$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Analyses$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets an analysis. + * + * @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$Projects$Locations$Conversations$Analyses$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Conversations$Analyses$Get, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Conversations$Analyses$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Conversations$Analyses$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Conversations$Analyses$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Analyses$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Analyses$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Analyses$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Lists analyses. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Conversations$Analyses$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Conversations$Analyses$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Conversations$Analyses$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Conversations$Analyses$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Conversations$Analyses$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Analyses$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Analyses$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Analyses$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/analyses').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Conversations$Analyses$Create + extends StandardParameters { + /** + * Required. The parent resource of the analysis. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1Analysis; + } + export interface Params$Resource$Projects$Locations$Conversations$Analyses$Delete + extends StandardParameters { + /** + * Required. The name of the analysis to delete. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Conversations$Analyses$Get + extends StandardParameters { + /** + * Required. The name of the analysis to get. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Conversations$Analyses$List + extends StandardParameters { + /** + * A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. + */ + filter?: string; + /** + * The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. + */ + pageSize?: number; + /** + * The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The parent resource of the analyses. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Conversations$Feedbacklabels { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Create feedback label. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/feedbackLabels').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Delete feedback label. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Get feedback label. + * + * @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$Projects$Locations$Conversations$Feedbacklabels$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * List feedback labels. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/feedbackLabels').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Update feedback label. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + patch( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create + extends StandardParameters { + /** + * Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. + */ + feedbackLabelId?: string; + /** + * Required. The parent resource of the feedback label. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1FeedbackLabel; + } + export interface Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete + extends StandardParameters { + /** + * Required. The name of the feedback label to delete. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get + extends StandardParameters { + /** + * Required. The name of the feedback label to get. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List + extends StandardParameters { + /** + * Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING + */ + filter?: string; + /** + * Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. + */ + pageSize?: number; + /** + * Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The parent resource of the feedback labels. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch + extends StandardParameters { + /** + * Immutable. Resource name of the FeedbackLabel. Format: projects/{project\}/locations/{location\}/conversations/{conversation\}/feedbackLabels/{feedback_label\} + */ + name?: string; + /** + * Required. The list of fields to be updated. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1FeedbackLabel; + } + + export class Resource$Projects$Locations$Datasets { + context: APIRequestContext; + conversations: Resource$Projects$Locations$Datasets$Conversations; + insightsdata: Resource$Projects$Locations$Datasets$Insightsdata; + constructor(context: APIRequestContext) { + this.context = context; + this.conversations = + new Resource$Projects$Locations$Datasets$Conversations(this.context); + this.insightsdata = new Resource$Projects$Locations$Datasets$Insightsdata( + this.context + ); + } + + /** + * Delete feedback labels in bulk using a filter. + * + * @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. + */ + bulkDeleteFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkdeletefeedbacklabels, + options: StreamMethodOptions + ): Promise>; + bulkDeleteFeedbackLabels( + params?: Params$Resource$Projects$Locations$Datasets$Bulkdeletefeedbacklabels, + options?: MethodOptions + ): Promise>; + bulkDeleteFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkdeletefeedbacklabels, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkDeleteFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkdeletefeedbacklabels, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkDeleteFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkdeletefeedbacklabels, + callback: BodyResponseCallback + ): void; + bulkDeleteFeedbackLabels( + callback: BodyResponseCallback + ): void; + bulkDeleteFeedbackLabels( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datasets$Bulkdeletefeedbacklabels + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datasets$Bulkdeletefeedbacklabels; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datasets$Bulkdeletefeedbacklabels; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}:bulkDeleteFeedbackLabels').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies. + * + * @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. + */ + bulkDownloadFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkdownloadfeedbacklabels, + options: StreamMethodOptions + ): Promise>; + bulkDownloadFeedbackLabels( + params?: Params$Resource$Projects$Locations$Datasets$Bulkdownloadfeedbacklabels, + options?: MethodOptions + ): Promise>; + bulkDownloadFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkdownloadfeedbacklabels, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkDownloadFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkdownloadfeedbacklabels, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkDownloadFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkdownloadfeedbacklabels, + callback: BodyResponseCallback + ): void; + bulkDownloadFeedbackLabels( + callback: BodyResponseCallback + ): void; + bulkDownloadFeedbackLabels( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datasets$Bulkdownloadfeedbacklabels + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datasets$Bulkdownloadfeedbacklabels; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datasets$Bulkdownloadfeedbacklabels; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}:bulkDownloadFeedbackLabels').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations. + * + * @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. + */ + bulkUploadFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkuploadfeedbacklabels, + options: StreamMethodOptions + ): Promise>; + bulkUploadFeedbackLabels( + params?: Params$Resource$Projects$Locations$Datasets$Bulkuploadfeedbacklabels, + options?: MethodOptions + ): Promise>; + bulkUploadFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkuploadfeedbacklabels, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkUploadFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkuploadfeedbacklabels, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkUploadFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Bulkuploadfeedbacklabels, + callback: BodyResponseCallback + ): void; + bulkUploadFeedbackLabels( + callback: BodyResponseCallback + ): void; + bulkUploadFeedbackLabels( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datasets$Bulkuploadfeedbacklabels + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datasets$Bulkuploadfeedbacklabels; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datasets$Bulkuploadfeedbacklabels; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}:bulkUploadFeedbackLabels').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * List all feedback labels by project number. + * + * @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. + */ + listAllFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Listallfeedbacklabels, + options: StreamMethodOptions + ): Promise>; + listAllFeedbackLabels( + params?: Params$Resource$Projects$Locations$Datasets$Listallfeedbacklabels, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + listAllFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Listallfeedbacklabels, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + listAllFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Listallfeedbacklabels, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + listAllFeedbackLabels( + params: Params$Resource$Projects$Locations$Datasets$Listallfeedbacklabels, + callback: BodyResponseCallback + ): void; + listAllFeedbackLabels( + callback: BodyResponseCallback + ): void; + listAllFeedbackLabels( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datasets$Listallfeedbacklabels + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datasets$Listallfeedbacklabels; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datasets$Listallfeedbacklabels; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}:listAllFeedbackLabels').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Datasets$Bulkdeletefeedbacklabels + extends StandardParameters { + /** + * Required. The parent resource for new feedback labels. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest; + } + export interface Params$Resource$Projects$Locations$Datasets$Bulkdownloadfeedbacklabels + extends StandardParameters { + /** + * Required. The parent resource for new feedback labels. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest; + } + export interface Params$Resource$Projects$Locations$Datasets$Bulkuploadfeedbacklabels + extends StandardParameters { + /** + * Required. The parent resource for new feedback labels. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest; + } + export interface Params$Resource$Projects$Locations$Datasets$Listallfeedbacklabels + extends StandardParameters { + /** + * Optional. A filter to reduce results to a specific subset in the entire project. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING + */ + filter?: string; + /** + * Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. + */ + pageSize?: number; + /** + * Optional. The value returned by the last `ListAllFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListAllFeedbackLabels` call and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The parent resource of all feedback labels per project. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Datasets$Conversations { + context: APIRequestContext; + analyses: Resource$Projects$Locations$Datasets$Conversations$Analyses; + feedbackLabels: Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels; + constructor(context: APIRequestContext) { + this.context = context; + this.analyses = + new Resource$Projects$Locations$Datasets$Conversations$Analyses( + this.context + ); + this.feedbackLabels = + new Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels( + this.context + ); + } + + /** + * Analyzes multiple conversations in a single request. + * + * @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. + */ + bulkAnalyze( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Bulkanalyze, + options: StreamMethodOptions + ): Promise>; + bulkAnalyze( + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Bulkanalyze, + options?: MethodOptions + ): Promise>; + bulkAnalyze( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Bulkanalyze, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkAnalyze( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Bulkanalyze, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkAnalyze( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Bulkanalyze, + callback: BodyResponseCallback + ): void; + bulkAnalyze( + callback: BodyResponseCallback + ): void; + bulkAnalyze( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datasets$Conversations$Bulkanalyze + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Bulkanalyze; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Bulkanalyze; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/conversations:bulkAnalyze').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes multiple conversations in a single request. + * + * @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. + */ + bulkDelete( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Bulkdelete, + options: StreamMethodOptions + ): Promise>; + bulkDelete( + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Bulkdelete, + options?: MethodOptions + ): Promise>; + bulkDelete( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Bulkdelete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + bulkDelete( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Bulkdelete, + options: + | MethodOptions + | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( + bulkDelete( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Bulkdelete, + callback: BodyResponseCallback + ): void; + bulkDelete( + callback: BodyResponseCallback + ): void; + bulkDelete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Analyses$Create + | Params$Resource$Projects$Locations$Datasets$Conversations$Bulkdelete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -10180,16 +13436,16 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Analyses$Create; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Bulkdelete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Conversations$Analyses$Create; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Bulkdelete; options = {}; } @@ -10203,7 +13459,7 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/analyses').replace( + url: (rootUrl + '/v1/{+parent}/conversations:bulkDelete').replace( /([^:]\/)\/+/g, '$1' ), @@ -10213,76 +13469,276 @@ export namespace contactcenterinsights_v1 { options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets conversation statistics. + * + * @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. + */ + calculateStats( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Calculatestats, + options: StreamMethodOptions + ): Promise>; + calculateStats( + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Calculatestats, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + calculateStats( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Calculatestats, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + calculateStats( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Calculatestats, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + calculateStats( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Calculatestats, + callback: BodyResponseCallback + ): void; + calculateStats( + callback: BodyResponseCallback + ): void; + calculateStats( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datasets$Conversations$Calculatestats + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Calculatestats; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Calculatestats; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+location}/conversations:calculateStats' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['location'], + pathParams: ['location'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Deletes a conversation. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datasets$Conversations$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes an analysis. + * Gets a conversation. * * @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. */ - delete( - params: Params$Resource$Projects$Locations$Conversations$Analyses$Delete, + get( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Conversations$Analyses$Delete, + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Conversations$Analyses$Delete, + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Conversations$Analyses$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Conversations$Analyses$Delete, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Get, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + get( + callback: BodyResponseCallback + ): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Analyses$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Datasets$Conversations$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Analyses$Delete; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Conversations$Analyses$Delete; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Get; options = {}; } @@ -10297,7 +13753,7 @@ export namespace contactcenterinsights_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'GET', apiVersion: '', }, options @@ -10308,75 +13764,77 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Gets an analysis. + * Imports conversations and processes them according to the user's configuration. * * @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$Projects$Locations$Conversations$Analyses$Get, + ingest( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Ingest, options: StreamMethodOptions - ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Conversations$Analyses$Get, + ): Promise>; + ingest( + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Ingest, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Conversations$Analyses$Get, + ): Promise>; + ingest( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Ingest, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Conversations$Analyses$Get, + ingest( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Ingest, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Conversations$Analyses$Get, - callback: BodyResponseCallback + ingest( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Ingest, + callback: BodyResponseCallback ): void; - get( - callback: BodyResponseCallback + ingest( + callback: BodyResponseCallback ): void; - get( + ingest( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Analyses$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Datasets$Conversations$Ingest + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Analyses$Get; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Ingest; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Conversations$Analyses$Get; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Ingest; options = {}; } @@ -10390,31 +13848,32 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/conversations:ingest').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Lists analyses. + * Lists conversations. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -10422,57 +13881,61 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Conversations$Analyses$List, + params: Params$Resource$Projects$Locations$Datasets$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( - params?: Params$Resource$Projects$Locations$Conversations$Analyses$List, + params?: Params$Resource$Projects$Locations$Datasets$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( - params: Params$Resource$Projects$Locations$Conversations$Analyses$List, + params: Params$Resource$Projects$Locations$Datasets$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Conversations$Analyses$List, + params: Params$Resource$Projects$Locations$Datasets$Conversations$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Conversations$Analyses$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Datasets$Conversations$List, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Analyses$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Datasets$Conversations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Analyses$List; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Conversations$Analyses$List; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$List; options = {}; } @@ -10486,7 +13949,7 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/analyses').replace( + url: (rootUrl + '/v1/{+parent}/conversations').replace( /([^:]\/)\/+/g, '$1' ), @@ -10501,72 +13964,124 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } } - export interface Params$Resource$Projects$Locations$Conversations$Analyses$Create + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Bulkanalyze extends StandardParameters { /** - * Required. The parent resource of the analysis. + * Required. The parent resource to create analyses in. */ parent?: string; /** * Request body metadata */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1Analysis; + requestBody?: Schema$GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest; } - export interface Params$Resource$Projects$Locations$Conversations$Analyses$Delete + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Bulkdelete extends StandardParameters { /** - * Required. The name of the analysis to delete. + * Required. The parent resource to delete conversations from. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest; + } + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Calculatestats + extends StandardParameters { + /** + * Required. The location of the conversations. + */ + location?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1CalculateStatsRequest; + } + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Delete + extends StandardParameters { + /** + * If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. + */ + force?: boolean; + /** + * Required. The name of the conversation to delete. */ name?: string; } - export interface Params$Resource$Projects$Locations$Conversations$Analyses$Get + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Get extends StandardParameters { /** - * Required. The name of the analysis to get. + * Required. The name of the conversation to get. */ name?: string; + /** + * The level of details of the conversation. Default is `FULL`. + */ + view?: string; } - export interface Params$Resource$Projects$Locations$Conversations$Analyses$List + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Ingest + extends StandardParameters { + /** + * Required. The parent resource for new conversations. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1IngestConversationsRequest; + } + export interface Params$Resource$Projects$Locations$Datasets$Conversations$List extends StandardParameters { /** * A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */ filter?: string; /** - * The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. + * Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). + */ + orderBy?: string; + /** + * The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */ pageSize?: number; /** - * The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data. + * The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. */ pageToken?: string; /** - * Required. The parent resource of the analyses. + * Required. The parent resource of the conversation. */ parent?: string; + /** + * The level of details of the conversation. Default is `BASIC`. + */ + view?: string; } - export class Resource$Projects$Locations$Conversations$Feedbacklabels { + export class Resource$Projects$Locations$Datasets$Conversations$Analyses { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Create feedback label. + * Creates an analysis. The long running operation is done when the analysis has completed. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -10574,57 +14089,57 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ create( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( - params?: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create, + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Create, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Create, + callback: BodyResponseCallback ): void; create( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Create; options = {}; } @@ -10638,7 +14153,7 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/feedbackLabels').replace( + url: (rootUrl + '/v1/{+parent}/analyses').replace( /([^:]\/)\/+/g, '$1' ), @@ -10653,19 +14168,17 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Delete feedback label. + * Deletes an analysis. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -10673,31 +14186,31 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ delete( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( - params?: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete, + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Delete, callback: BodyResponseCallback ): void; delete(callback: BodyResponseCallback): void; delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete + | Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -10710,16 +14223,16 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Delete; options = {}; } @@ -10755,7 +14268,7 @@ export namespace contactcenterinsights_v1 { } /** - * Get feedback label. + * Gets an analysis. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -10763,57 +14276,61 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( - params?: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get, + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Get, + callback: BodyResponseCallback ): void; get( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Get; options = {}; } @@ -10839,19 +14356,19 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } /** - * List feedback labels. + * Lists analyses. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -10859,57 +14376,61 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( - params?: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List, + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$List, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$List; options = {}; } @@ -10923,7 +14444,7 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/feedbackLabels').replace( + url: (rootUrl + '/v1/{+parent}/analyses').replace( /([^:]\/)\/+/g, '$1' ), @@ -10938,202 +14459,175 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest( - parameters - ); - } - } - - /** - * Update feedback label. - * - * @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. - */ - patch( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch, - options: StreamMethodOptions - ): GaxiosPromise; - patch( - params?: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch, - options?: MethodOptions - ): GaxiosPromise; - patch( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch, - callback: BodyResponseCallback - ): void; - patch( - callback: BodyResponseCallback - ): void; - patch( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } } - export interface Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Create + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Create extends StandardParameters { /** - * Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. - */ - feedbackLabelId?: string; - /** - * Required. The parent resource of the feedback label. + * Required. The parent resource of the analysis. */ parent?: string; /** * Request body metadata */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1FeedbackLabel; + requestBody?: Schema$GoogleCloudContactcenterinsightsV1Analysis; } - export interface Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Delete + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Delete extends StandardParameters { /** - * Required. The name of the feedback label to delete. + * Required. The name of the analysis to delete. */ name?: string; } - export interface Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Get + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$Get extends StandardParameters { /** - * Required. The name of the feedback label to get. + * Required. The name of the analysis to get. */ name?: string; } - export interface Params$Resource$Projects$Locations$Conversations$Feedbacklabels$List + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Analyses$List extends StandardParameters { /** - * Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING + * A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */ filter?: string; /** - * Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. + * The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */ pageSize?: number; /** - * Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data. + * The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data. */ pageToken?: string; /** - * Required. The parent resource of the feedback labels. + * Required. The parent resource of the analyses. */ parent?: string; } - export interface Params$Resource$Projects$Locations$Conversations$Feedbacklabels$Patch - extends StandardParameters { - /** - * Immutable. Resource name of the FeedbackLabel. Format: projects/{project\}/locations/{location\}/conversations/{conversation\}/feedbackLabels/{feedback_label\} - */ - name?: string; - /** - * Required. The list of fields to be updated. - */ - updateMask?: string; + + export class Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } /** - * Request body metadata + * Create feedback label. + * + * @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. */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1FeedbackLabel; - } + create( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Create; + let options = (optionsOrCallback || {}) as MethodOptions; - export class Resource$Projects$Locations$Datasets { - context: APIRequestContext; - conversations: Resource$Projects$Locations$Datasets$Conversations; - insightsdata: Resource$Projects$Locations$Datasets$Insightsdata; - constructor(context: APIRequestContext) { - this.context = context; - this.conversations = - new Resource$Projects$Locations$Datasets$Conversations(this.context); - this.insightsdata = new Resource$Projects$Locations$Datasets$Insightsdata( - this.context - ); - } - } + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Create; + options = {}; + } - export class Resource$Projects$Locations$Datasets$Conversations { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://contactcenterinsights.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/feedbackLabels').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } } /** - * Deletes a conversation. + * Delete feedback label. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -11141,31 +14635,31 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ delete( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Delete, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( - params?: Params$Resource$Projects$Locations$Datasets$Conversations$Delete, + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Delete, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Delete, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Delete, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Delete, callback: BodyResponseCallback ): void; delete(callback: BodyResponseCallback): void; delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Datasets$Conversations$Delete + | Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -11178,16 +14672,16 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Delete; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Datasets$Conversations$Delete; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Delete; options = {}; } @@ -11223,7 +14717,7 @@ export namespace contactcenterinsights_v1 { } /** - * Gets a conversation. + * Get feedback label. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -11231,57 +14725,61 @@ export namespace contactcenterinsights_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Get, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( - params?: Params$Resource$Projects$Locations$Datasets$Conversations$Get, + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Get, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Get, + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Get, + callback: BodyResponseCallback ): void; get( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Datasets$Conversations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Get; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Datasets$Conversations$Get; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Get; options = {}; } @@ -11307,77 +14805,81 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } /** - * Imports conversations and processes them according to the user's configuration. + * List feedback labels. * * @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. */ - ingest( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Ingest, + list( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$List, options: StreamMethodOptions - ): GaxiosPromise; - ingest( - params?: Params$Resource$Projects$Locations$Datasets$Conversations$Ingest, + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$List, options?: MethodOptions - ): GaxiosPromise; - ingest( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Ingest, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - ingest( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Ingest, + list( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - ingest( - params: Params$Resource$Projects$Locations$Datasets$Conversations$Ingest, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$List, + callback: BodyResponseCallback ): void; - ingest( - callback: BodyResponseCallback + list( + callback: BodyResponseCallback ): void; - ingest( + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Datasets$Conversations$Ingest - | BodyResponseCallback + | Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Ingest; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Datasets$Conversations$Ingest; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$List; options = {}; } @@ -11391,11 +14893,11 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/conversations:ingest').replace( + url: (rootUrl + '/v1/{+parent}/feedbackLabels').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -11406,75 +14908,81 @@ export namespace contactcenterinsights_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Lists conversations. + * Update feedback label. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - list( - params: Params$Resource$Projects$Locations$Datasets$Conversations$List, + patch( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Patch, options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Datasets$Conversations$List, + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Patch, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Datasets$Conversations$List, + ): Promise< + GaxiosResponseWithHTTP2 + >; + patch( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Datasets$Conversations$List, + patch( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Patch, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Datasets$Conversations$List, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Patch, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + patch( + callback: BodyResponseCallback ): void; - list( + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Datasets$Conversations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Datasets$Conversations$List; + {}) as Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Datasets$Conversations$List; + {} as Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Patch; options = {}; } @@ -11488,93 +14996,94 @@ export namespace contactcenterinsights_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/conversations').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } } - export interface Params$Resource$Projects$Locations$Datasets$Conversations$Delete + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Create extends StandardParameters { /** - * If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. + * Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */ - force?: boolean; + feedbackLabelId?: string; /** - * Required. The name of the conversation to delete. + * Required. The parent resource of the feedback label. */ - name?: string; + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1FeedbackLabel; } - export interface Params$Resource$Projects$Locations$Datasets$Conversations$Get + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Delete extends StandardParameters { /** - * Required. The name of the conversation to get. + * Required. The name of the feedback label to delete. */ name?: string; - /** - * The level of details of the conversation. Default is `FULL`. - */ - view?: string; } - export interface Params$Resource$Projects$Locations$Datasets$Conversations$Ingest + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Get extends StandardParameters { /** - * Required. The parent resource for new conversations. - */ - parent?: string; - - /** - * Request body metadata + * Required. The name of the feedback label to get. */ - requestBody?: Schema$GoogleCloudContactcenterinsightsV1IngestConversationsRequest; + name?: string; } - export interface Params$Resource$Projects$Locations$Datasets$Conversations$List + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$List extends StandardParameters { /** - * A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. + * Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING */ filter?: string; /** - * Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). - */ - orderBy?: string; - /** - * The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. + * Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */ pageSize?: number; /** - * The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. + * Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data. */ pageToken?: string; /** - * Required. The parent resource of the conversation. + * Required. The parent resource of the feedback labels. */ parent?: string; + } + export interface Params$Resource$Projects$Locations$Datasets$Conversations$Feedbacklabels$Patch + extends StandardParameters { /** - * The level of details of the conversation. Default is `BASIC`. + * Immutable. Resource name of the FeedbackLabel. Format: projects/{project\}/locations/{location\}/conversations/{conversation\}/feedbackLabels/{feedback_label\} */ - view?: string; + name?: string; + /** + * Required. The list of fields to be updated. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudContactcenterinsightsV1FeedbackLabel; } export class Resource$Projects$Locations$Datasets$Insightsdata { @@ -11594,11 +15103,11 @@ export namespace contactcenterinsights_v1 { export( params: Params$Resource$Projects$Locations$Datasets$Insightsdata$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Datasets$Insightsdata$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Datasets$Insightsdata$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -11633,8 +15142,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Insightsdata$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11711,11 +15220,11 @@ export namespace contactcenterinsights_v1 { initialize( params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initialize( params?: Params$Resource$Projects$Locations$Encryptionspec$Initialize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initialize( params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, options: StreamMethodOptions | BodyResponseCallback, @@ -11750,8 +15259,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Encryptionspec$Initialize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11828,11 +15337,11 @@ export namespace contactcenterinsights_v1 { export( params: Params$Resource$Projects$Locations$Insightsdata$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Insightsdata$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Insightsdata$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -11867,8 +15376,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insightsdata$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11948,11 +15457,13 @@ export namespace contactcenterinsights_v1 { calculateIssueModelStats( params: Params$Resource$Projects$Locations$Issuemodels$Calculateissuemodelstats, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculateIssueModelStats( params?: Params$Resource$Projects$Locations$Issuemodels$Calculateissuemodelstats, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculateIssueModelStats( params: Params$Resource$Projects$Locations$Issuemodels$Calculateissuemodelstats, options: StreamMethodOptions | BodyResponseCallback, @@ -11987,8 +15498,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Calculateissuemodelstats; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12046,11 +15559,11 @@ export namespace contactcenterinsights_v1 { create( params: Params$Resource$Projects$Locations$Issuemodels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Issuemodels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Issuemodels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12085,8 +15598,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12142,11 +15655,11 @@ export namespace contactcenterinsights_v1 { delete( params: Params$Resource$Projects$Locations$Issuemodels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Issuemodels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Issuemodels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12181,8 +15694,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12235,11 +15748,11 @@ export namespace contactcenterinsights_v1 { deploy( params: Params$Resource$Projects$Locations$Issuemodels$Deploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params?: Params$Resource$Projects$Locations$Issuemodels$Deploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params: Params$Resource$Projects$Locations$Issuemodels$Deploy, options: StreamMethodOptions | BodyResponseCallback, @@ -12274,8 +15787,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Deploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12328,11 +15841,11 @@ export namespace contactcenterinsights_v1 { export( params: Params$Resource$Projects$Locations$Issuemodels$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Issuemodels$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Issuemodels$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -12367,8 +15880,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12421,11 +15934,13 @@ export namespace contactcenterinsights_v1 { get( params: Params$Resource$Projects$Locations$Issuemodels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Issuemodels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Issuemodels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12460,8 +15975,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12516,11 +16033,11 @@ export namespace contactcenterinsights_v1 { import( params: Params$Resource$Projects$Locations$Issuemodels$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Issuemodels$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Issuemodels$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -12555,8 +16072,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12612,11 +16129,13 @@ export namespace contactcenterinsights_v1 { list( params: Params$Resource$Projects$Locations$Issuemodels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Issuemodels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Issuemodels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12651,8 +16170,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12710,11 +16231,13 @@ export namespace contactcenterinsights_v1 { patch( params: Params$Resource$Projects$Locations$Issuemodels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Issuemodels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Issuemodels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12749,8 +16272,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12805,11 +16330,11 @@ export namespace contactcenterinsights_v1 { undeploy( params: Params$Resource$Projects$Locations$Issuemodels$Undeploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undeploy( params?: Params$Resource$Projects$Locations$Issuemodels$Undeploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undeploy( params: Params$Resource$Projects$Locations$Issuemodels$Undeploy, options: StreamMethodOptions | BodyResponseCallback, @@ -12844,8 +16369,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Undeploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13013,11 +16538,11 @@ export namespace contactcenterinsights_v1 { create( params: Params$Resource$Projects$Locations$Issuemodels$Issues$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Issuemodels$Issues$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Issuemodels$Issues$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13052,8 +16577,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Issues$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13110,11 +16635,11 @@ export namespace contactcenterinsights_v1 { delete( params: Params$Resource$Projects$Locations$Issuemodels$Issues$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Issuemodels$Issues$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Issuemodels$Issues$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13145,8 +16670,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Issues$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13200,11 +16725,13 @@ export namespace contactcenterinsights_v1 { get( params: Params$Resource$Projects$Locations$Issuemodels$Issues$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Issuemodels$Issues$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Issuemodels$Issues$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13239,8 +16766,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Issues$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13296,11 +16825,13 @@ export namespace contactcenterinsights_v1 { list( params: Params$Resource$Projects$Locations$Issuemodels$Issues$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Issuemodels$Issues$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Issuemodels$Issues$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13335,8 +16866,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Issues$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13395,11 +16928,13 @@ export namespace contactcenterinsights_v1 { patch( params: Params$Resource$Projects$Locations$Issuemodels$Issues$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Issuemodels$Issues$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Issuemodels$Issues$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13434,8 +16969,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Issuemodels$Issues$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13548,11 +17085,11 @@ export namespace contactcenterinsights_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -13583,8 +17120,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13637,11 +17174,11 @@ export namespace contactcenterinsights_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13676,8 +17213,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13730,11 +17267,13 @@ export namespace contactcenterinsights_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13769,8 +17308,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13869,11 +17410,13 @@ export namespace contactcenterinsights_v1 { create( params: Params$Resource$Projects$Locations$Phrasematchers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Phrasematchers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Phrasematchers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13908,8 +17451,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasematchers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13967,11 +17512,11 @@ export namespace contactcenterinsights_v1 { delete( params: Params$Resource$Projects$Locations$Phrasematchers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Phrasematchers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Phrasematchers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14002,8 +17547,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasematchers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14056,11 +17601,13 @@ export namespace contactcenterinsights_v1 { get( params: Params$Resource$Projects$Locations$Phrasematchers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Phrasematchers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Phrasematchers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14095,8 +17642,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasematchers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14151,11 +17700,13 @@ export namespace contactcenterinsights_v1 { list( params: Params$Resource$Projects$Locations$Phrasematchers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Phrasematchers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Phrasematchers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14190,8 +17741,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasematchers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14249,11 +17802,13 @@ export namespace contactcenterinsights_v1 { patch( params: Params$Resource$Projects$Locations$Phrasematchers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Phrasematchers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Phrasematchers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14288,8 +17843,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasematchers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14417,11 +17974,13 @@ export namespace contactcenterinsights_v1 { create( params: Params$Resource$Projects$Locations$Qascorecards$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Qascorecards$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Qascorecards$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14456,8 +18015,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14515,11 +18076,11 @@ export namespace contactcenterinsights_v1 { delete( params: Params$Resource$Projects$Locations$Qascorecards$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Qascorecards$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Qascorecards$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14550,8 +18111,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14604,11 +18165,13 @@ export namespace contactcenterinsights_v1 { get( params: Params$Resource$Projects$Locations$Qascorecards$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Qascorecards$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Qascorecards$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14643,8 +18206,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14699,11 +18264,13 @@ export namespace contactcenterinsights_v1 { list( params: Params$Resource$Projects$Locations$Qascorecards$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Qascorecards$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Qascorecards$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14738,8 +18305,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14797,11 +18366,13 @@ export namespace contactcenterinsights_v1 { patch( params: Params$Resource$Projects$Locations$Qascorecards$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Qascorecards$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Qascorecards$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14836,8 +18407,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14970,11 +18543,13 @@ export namespace contactcenterinsights_v1 { create( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15009,8 +18584,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15069,11 +18646,11 @@ export namespace contactcenterinsights_v1 { delete( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15104,8 +18681,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15159,11 +18736,13 @@ export namespace contactcenterinsights_v1 { deploy( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Deploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$Deploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; deploy( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Deploy, options: StreamMethodOptions | BodyResponseCallback, @@ -15198,8 +18777,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$Deploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15255,11 +18836,13 @@ export namespace contactcenterinsights_v1 { get( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15294,8 +18877,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15351,11 +18936,13 @@ export namespace contactcenterinsights_v1 { list( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15390,8 +18977,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15450,11 +19039,11 @@ export namespace contactcenterinsights_v1 { tuneQaScorecardRevision( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Tuneqascorecardrevision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; tuneQaScorecardRevision( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$Tuneqascorecardrevision, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; tuneQaScorecardRevision( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Tuneqascorecardrevision, options: StreamMethodOptions | BodyResponseCallback, @@ -15489,8 +19078,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$Tuneqascorecardrevision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15547,11 +19136,13 @@ export namespace contactcenterinsights_v1 { undeploy( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Undeploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undeploy( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$Undeploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; undeploy( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Undeploy, options: StreamMethodOptions | BodyResponseCallback, @@ -15586,8 +19177,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$Undeploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15743,11 +19336,13 @@ export namespace contactcenterinsights_v1 { create( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15782,8 +19377,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15842,11 +19439,11 @@ export namespace contactcenterinsights_v1 { delete( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15877,8 +19474,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15932,11 +19529,13 @@ export namespace contactcenterinsights_v1 { get( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15971,8 +19570,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16028,11 +19629,13 @@ export namespace contactcenterinsights_v1 { list( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16067,8 +19670,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16127,11 +19732,13 @@ export namespace contactcenterinsights_v1 { patch( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16166,8 +19773,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Qascorecards$Revisions$Qaquestions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16292,11 +19901,13 @@ export namespace contactcenterinsights_v1 { create( params: Params$Resource$Projects$Locations$Views$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Views$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Views$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16331,8 +19942,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Views$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16390,11 +20003,11 @@ export namespace contactcenterinsights_v1 { delete( params: Params$Resource$Projects$Locations$Views$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Views$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Views$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16425,8 +20038,8 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Views$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16479,11 +20092,13 @@ export namespace contactcenterinsights_v1 { get( params: Params$Resource$Projects$Locations$Views$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Views$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Views$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16518,8 +20133,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Views$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16574,11 +20191,13 @@ export namespace contactcenterinsights_v1 { list( params: Params$Resource$Projects$Locations$Views$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Views$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Views$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16613,8 +20232,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Views$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16672,11 +20293,13 @@ export namespace contactcenterinsights_v1 { patch( params: Params$Resource$Projects$Locations$Views$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Views$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Views$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16711,8 +20334,10 @@ export namespace contactcenterinsights_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Views$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/container/index.ts b/src/apis/container/index.ts index e18718a89f5..63d7cfb4b4f 100644 --- a/src/apis/container/index.ts +++ b/src/apis/container/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/container/package.json b/src/apis/container/package.json index 5914690b5ae..490db2db7f8 100644 --- a/src/apis/container/package.json +++ b/src/apis/container/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/container/v1.ts b/src/apis/container/v1.ts index 5f465ec20b4..31674be9cc5 100644 --- a/src/apis/container/v1.ts +++ b/src/apis/container/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2153,6 +2153,15 @@ export namespace container_v1 { */ maxPodsPerNode?: string | null; } + /** + * The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/). + */ + export interface Schema$MemoryManager { + /** + * Controls the memory management policy on the Node. See https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following values are allowed. * "none" * "static" The default value is 'none' if unspecified. + */ + policy?: string | null; + } /** * Configuration for issuance of mTLS keys and certificates to Kubernetes pods. */ @@ -2589,10 +2598,18 @@ export namespace container_v1 { * Enable or disable Kubelet read only port. */ insecureKubeletReadonlyPortEnabled?: boolean | null; + /** + * Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/ + */ + memoryManager?: Schema$MemoryManager; /** * Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304. */ podPidsLimit?: string | null; + /** + * Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/ + */ + topologyManager?: Schema$TopologyManager; } /** * Collection of node-level [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels). @@ -3929,6 +3946,19 @@ export namespace container_v1 { */ startTime?: string | null; } + /** + * TopologyManager defines the configuration options for Topology Manager feature. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/ + */ + export interface Schema$TopologyManager { + /** + * Configures the strategy for resource alignment. Allowed values are: * none: the default policy, and does not perform any topology alignment. * restricted: the topology manager stores the preferred NUMA node affinity for the container, and will reject the pod if the affinity if not preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the container. If the affinity is not preferred, the topology manager will admit the pod to the node anyway. * single-numa-node: the topology manager determines if the single NUMA node affinity is possible. If it is, Topology Manager will store this and the Hint Providers can then use this information when making the resource allocation decision. If, however, this is not possible then the Topology Manager will reject the pod from the node. This will result in a pod in a Terminated state with a pod admission failure. The default policy value is 'none' if unspecified. Details about each strategy can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies). + */ + policy?: string | null; + /** + * The Topology Manager aligns resources in following scopes: * container * pod The default scope is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes + */ + scope?: string | null; + } /** * UpdateClusterRequest updates the settings of a cluster. */ @@ -4460,11 +4490,11 @@ export namespace container_v1 { list( params: Params$Resource$Projects$Aggregated$Usablesubnetworks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Aggregated$Usablesubnetworks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Aggregated$Usablesubnetworks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4499,8 +4529,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Aggregated$Usablesubnetworks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4590,11 +4620,11 @@ export namespace container_v1 { getServerConfig( params: Params$Resource$Projects$Locations$Getserverconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getServerConfig( params?: Params$Resource$Projects$Locations$Getserverconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getServerConfig( params: Params$Resource$Projects$Locations$Getserverconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4623,7 +4653,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getserverconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4709,11 +4742,13 @@ export namespace container_v1 { checkAutopilotCompatibility( params: Params$Resource$Projects$Locations$Clusters$Checkautopilotcompatibility, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkAutopilotCompatibility( params?: Params$Resource$Projects$Locations$Clusters$Checkautopilotcompatibility, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; checkAutopilotCompatibility( params: Params$Resource$Projects$Locations$Clusters$Checkautopilotcompatibility, options: StreamMethodOptions | BodyResponseCallback, @@ -4748,8 +4783,10 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Checkautopilotcompatibility; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4807,11 +4844,11 @@ export namespace container_v1 { completeIpRotation( params: Params$Resource$Projects$Locations$Clusters$Completeiprotation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeIpRotation( params?: Params$Resource$Projects$Locations$Clusters$Completeiprotation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeIpRotation( params: Params$Resource$Projects$Locations$Clusters$Completeiprotation, options: StreamMethodOptions | BodyResponseCallback, @@ -4840,7 +4877,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Completeiprotation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4896,11 +4936,11 @@ export namespace container_v1 { create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4929,7 +4969,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4984,11 +5027,11 @@ export namespace container_v1 { delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5017,7 +5060,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5069,11 +5115,11 @@ export namespace container_v1 { fetchClusterUpgradeInfo( params: Params$Resource$Projects$Locations$Clusters$Fetchclusterupgradeinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchClusterUpgradeInfo( params?: Params$Resource$Projects$Locations$Clusters$Fetchclusterupgradeinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchClusterUpgradeInfo( params: Params$Resource$Projects$Locations$Clusters$Fetchclusterupgradeinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -5106,8 +5152,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Fetchclusterupgradeinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5163,11 +5209,11 @@ export namespace container_v1 { get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5196,7 +5242,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5248,11 +5297,11 @@ export namespace container_v1 { getJwks( params: Params$Resource$Projects$Locations$Clusters$Getjwks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getJwks( params?: Params$Resource$Projects$Locations$Clusters$Getjwks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getJwks( params: Params$Resource$Projects$Locations$Clusters$Getjwks, options: StreamMethodOptions | BodyResponseCallback, @@ -5287,8 +5336,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Getjwks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5340,11 +5389,11 @@ export namespace container_v1 { list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5377,8 +5426,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5433,11 +5482,11 @@ export namespace container_v1 { setAddons( params: Params$Resource$Projects$Locations$Clusters$Setaddons, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAddons( params?: Params$Resource$Projects$Locations$Clusters$Setaddons, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAddons( params: Params$Resource$Projects$Locations$Clusters$Setaddons, options: StreamMethodOptions | BodyResponseCallback, @@ -5466,7 +5515,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setaddons; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5521,11 +5573,11 @@ export namespace container_v1 { setLegacyAbac( params: Params$Resource$Projects$Locations$Clusters$Setlegacyabac, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLegacyAbac( params?: Params$Resource$Projects$Locations$Clusters$Setlegacyabac, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLegacyAbac( params: Params$Resource$Projects$Locations$Clusters$Setlegacyabac, options: StreamMethodOptions | BodyResponseCallback, @@ -5554,7 +5606,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setlegacyabac; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5610,11 +5665,11 @@ export namespace container_v1 { setLocations( params: Params$Resource$Projects$Locations$Clusters$Setlocations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLocations( params?: Params$Resource$Projects$Locations$Clusters$Setlocations, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLocations( params: Params$Resource$Projects$Locations$Clusters$Setlocations, options: StreamMethodOptions | BodyResponseCallback, @@ -5643,7 +5698,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setlocations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5698,11 +5756,11 @@ export namespace container_v1 { setLogging( params: Params$Resource$Projects$Locations$Clusters$Setlogging, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLogging( params?: Params$Resource$Projects$Locations$Clusters$Setlogging, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLogging( params: Params$Resource$Projects$Locations$Clusters$Setlogging, options: StreamMethodOptions | BodyResponseCallback, @@ -5731,7 +5789,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setlogging; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5786,11 +5847,11 @@ export namespace container_v1 { setMaintenancePolicy( params: Params$Resource$Projects$Locations$Clusters$Setmaintenancepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMaintenancePolicy( params?: Params$Resource$Projects$Locations$Clusters$Setmaintenancepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMaintenancePolicy( params: Params$Resource$Projects$Locations$Clusters$Setmaintenancepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5821,7 +5882,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setmaintenancepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5877,11 +5941,11 @@ export namespace container_v1 { setMasterAuth( params: Params$Resource$Projects$Locations$Clusters$Setmasterauth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMasterAuth( params?: Params$Resource$Projects$Locations$Clusters$Setmasterauth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMasterAuth( params: Params$Resource$Projects$Locations$Clusters$Setmasterauth, options: StreamMethodOptions | BodyResponseCallback, @@ -5910,7 +5974,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setmasterauth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5966,11 +6033,11 @@ export namespace container_v1 { setMonitoring( params: Params$Resource$Projects$Locations$Clusters$Setmonitoring, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMonitoring( params?: Params$Resource$Projects$Locations$Clusters$Setmonitoring, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMonitoring( params: Params$Resource$Projects$Locations$Clusters$Setmonitoring, options: StreamMethodOptions | BodyResponseCallback, @@ -5999,7 +6066,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setmonitoring; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6055,11 +6125,11 @@ export namespace container_v1 { setNetworkPolicy( params: Params$Resource$Projects$Locations$Clusters$Setnetworkpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNetworkPolicy( params?: Params$Resource$Projects$Locations$Clusters$Setnetworkpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNetworkPolicy( params: Params$Resource$Projects$Locations$Clusters$Setnetworkpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6088,7 +6158,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setnetworkpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6144,11 +6217,11 @@ export namespace container_v1 { setResourceLabels( params: Params$Resource$Projects$Locations$Clusters$Setresourcelabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setResourceLabels( params?: Params$Resource$Projects$Locations$Clusters$Setresourcelabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setResourceLabels( params: Params$Resource$Projects$Locations$Clusters$Setresourcelabels, options: StreamMethodOptions | BodyResponseCallback, @@ -6177,7 +6250,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setresourcelabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6233,11 +6309,11 @@ export namespace container_v1 { startIpRotation( params: Params$Resource$Projects$Locations$Clusters$Startiprotation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startIpRotation( params?: Params$Resource$Projects$Locations$Clusters$Startiprotation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startIpRotation( params: Params$Resource$Projects$Locations$Clusters$Startiprotation, options: StreamMethodOptions | BodyResponseCallback, @@ -6266,7 +6342,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Startiprotation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6322,11 +6401,11 @@ export namespace container_v1 { update( params: Params$Resource$Projects$Locations$Clusters$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Clusters$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Clusters$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6355,7 +6434,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6407,11 +6489,11 @@ export namespace container_v1 { updateMaster( params: Params$Resource$Projects$Locations$Clusters$Updatemaster, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateMaster( params?: Params$Resource$Projects$Locations$Clusters$Updatemaster, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateMaster( params: Params$Resource$Projects$Locations$Clusters$Updatemaster, options: StreamMethodOptions | BodyResponseCallback, @@ -6440,7 +6522,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Updatemaster; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6749,11 +6834,11 @@ export namespace container_v1 { completeUpgrade( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Completeupgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeUpgrade( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Completeupgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeUpgrade( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Completeupgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -6782,7 +6867,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Completeupgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6838,11 +6926,11 @@ export namespace container_v1 { create( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6871,7 +6959,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6927,11 +7018,11 @@ export namespace container_v1 { delete( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6960,7 +7051,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7013,11 +7107,11 @@ export namespace container_v1 { fetchNodePoolUpgradeInfo( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchNodePoolUpgradeInfo( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchNodePoolUpgradeInfo( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -7050,8 +7144,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Fetchnodepoolupgradeinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7107,11 +7201,11 @@ export namespace container_v1 { get( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7140,7 +7234,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7193,11 +7290,11 @@ export namespace container_v1 { list( params: Params$Resource$Projects$Locations$Clusters$Nodepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$Nodepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7230,8 +7327,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7287,11 +7384,11 @@ export namespace container_v1 { rollback( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -7320,7 +7417,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7376,11 +7476,11 @@ export namespace container_v1 { setAutoscaling( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setautoscaling, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAutoscaling( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Setautoscaling, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAutoscaling( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setautoscaling, options: StreamMethodOptions | BodyResponseCallback, @@ -7409,7 +7509,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Setautoscaling; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7465,11 +7568,11 @@ export namespace container_v1 { setManagement( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setmanagement, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setManagement( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Setmanagement, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setManagement( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setmanagement, options: StreamMethodOptions | BodyResponseCallback, @@ -7498,7 +7601,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Setmanagement; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7554,11 +7660,11 @@ export namespace container_v1 { setSize( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setsize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSize( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Setsize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSize( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setsize, options: StreamMethodOptions | BodyResponseCallback, @@ -7587,7 +7693,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Setsize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7643,11 +7752,11 @@ export namespace container_v1 { update( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7676,7 +7785,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7897,11 +8009,11 @@ export namespace container_v1 { getOpenidConfiguration( params: Params$Resource$Projects$Locations$Clusters$WellKnown$Getopenidconfiguration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOpenidConfiguration( params?: Params$Resource$Projects$Locations$Clusters$WellKnown$Getopenidconfiguration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getOpenidConfiguration( params: Params$Resource$Projects$Locations$Clusters$WellKnown$Getopenidconfiguration, options: StreamMethodOptions | BodyResponseCallback, @@ -7936,8 +8048,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$WellKnown$Getopenidconfiguration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8007,11 +8119,11 @@ export namespace container_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -8040,7 +8152,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8092,11 +8207,11 @@ export namespace container_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8125,7 +8240,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8177,11 +8295,11 @@ export namespace container_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8214,8 +8332,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8328,11 +8446,11 @@ export namespace container_v1 { getServerconfig( params: Params$Resource$Projects$Zones$Getserverconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getServerconfig( params?: Params$Resource$Projects$Zones$Getserverconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getServerconfig( params: Params$Resource$Projects$Zones$Getserverconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -8361,7 +8479,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Getserverconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8442,11 +8563,11 @@ export namespace container_v1 { addons( params: Params$Resource$Projects$Zones$Clusters$Addons, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addons( params?: Params$Resource$Projects$Zones$Clusters$Addons, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addons( params: Params$Resource$Projects$Zones$Clusters$Addons, options: StreamMethodOptions | BodyResponseCallback, @@ -8475,7 +8596,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Addons; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8530,11 +8654,11 @@ export namespace container_v1 { completeIpRotation( params: Params$Resource$Projects$Zones$Clusters$Completeiprotation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeIpRotation( params?: Params$Resource$Projects$Zones$Clusters$Completeiprotation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeIpRotation( params: Params$Resource$Projects$Zones$Clusters$Completeiprotation, options: StreamMethodOptions | BodyResponseCallback, @@ -8563,7 +8687,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Completeiprotation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8619,11 +8746,11 @@ export namespace container_v1 { create( params: Params$Resource$Projects$Zones$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Zones$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Zones$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8652,7 +8779,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8706,11 +8836,11 @@ export namespace container_v1 { delete( params: Params$Resource$Projects$Zones$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Zones$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Zones$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8739,7 +8869,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8794,11 +8927,11 @@ export namespace container_v1 { fetchClusterUpgradeInfo( params: Params$Resource$Projects$Zones$Clusters$Fetchclusterupgradeinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchClusterUpgradeInfo( params?: Params$Resource$Projects$Zones$Clusters$Fetchclusterupgradeinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchClusterUpgradeInfo( params: Params$Resource$Projects$Zones$Clusters$Fetchclusterupgradeinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -8831,8 +8964,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Fetchclusterupgradeinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8888,11 +9021,11 @@ export namespace container_v1 { get( params: Params$Resource$Projects$Zones$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Zones$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Zones$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8921,7 +9054,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8976,11 +9112,11 @@ export namespace container_v1 { legacyAbac( params: Params$Resource$Projects$Zones$Clusters$Legacyabac, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; legacyAbac( params?: Params$Resource$Projects$Zones$Clusters$Legacyabac, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; legacyAbac( params: Params$Resource$Projects$Zones$Clusters$Legacyabac, options: StreamMethodOptions | BodyResponseCallback, @@ -9009,7 +9145,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Legacyabac; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9064,11 +9203,11 @@ export namespace container_v1 { list( params: Params$Resource$Projects$Zones$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Zones$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Zones$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9101,8 +9240,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9156,11 +9295,11 @@ export namespace container_v1 { locations( params: Params$Resource$Projects$Zones$Clusters$Locations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; locations( params?: Params$Resource$Projects$Zones$Clusters$Locations, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; locations( params: Params$Resource$Projects$Zones$Clusters$Locations, options: StreamMethodOptions | BodyResponseCallback, @@ -9189,7 +9328,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Locations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9244,11 +9386,11 @@ export namespace container_v1 { logging( params: Params$Resource$Projects$Zones$Clusters$Logging, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; logging( params?: Params$Resource$Projects$Zones$Clusters$Logging, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; logging( params: Params$Resource$Projects$Zones$Clusters$Logging, options: StreamMethodOptions | BodyResponseCallback, @@ -9277,7 +9419,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Logging; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9332,11 +9477,11 @@ export namespace container_v1 { master( params: Params$Resource$Projects$Zones$Clusters$Master, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; master( params?: Params$Resource$Projects$Zones$Clusters$Master, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; master( params: Params$Resource$Projects$Zones$Clusters$Master, options: StreamMethodOptions | BodyResponseCallback, @@ -9365,7 +9510,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Master; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9420,11 +9568,11 @@ export namespace container_v1 { monitoring( params: Params$Resource$Projects$Zones$Clusters$Monitoring, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; monitoring( params?: Params$Resource$Projects$Zones$Clusters$Monitoring, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; monitoring( params: Params$Resource$Projects$Zones$Clusters$Monitoring, options: StreamMethodOptions | BodyResponseCallback, @@ -9453,7 +9601,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Monitoring; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9508,11 +9659,11 @@ export namespace container_v1 { resourceLabels( params: Params$Resource$Projects$Zones$Clusters$Resourcelabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resourceLabels( params?: Params$Resource$Projects$Zones$Clusters$Resourcelabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resourceLabels( params: Params$Resource$Projects$Zones$Clusters$Resourcelabels, options: StreamMethodOptions | BodyResponseCallback, @@ -9541,7 +9692,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Resourcelabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9596,11 +9750,11 @@ export namespace container_v1 { setMaintenancePolicy( params: Params$Resource$Projects$Zones$Clusters$Setmaintenancepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMaintenancePolicy( params?: Params$Resource$Projects$Zones$Clusters$Setmaintenancepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMaintenancePolicy( params: Params$Resource$Projects$Zones$Clusters$Setmaintenancepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9631,7 +9785,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Setmaintenancepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9687,11 +9844,11 @@ export namespace container_v1 { setMasterAuth( params: Params$Resource$Projects$Zones$Clusters$Setmasterauth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMasterAuth( params?: Params$Resource$Projects$Zones$Clusters$Setmasterauth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMasterAuth( params: Params$Resource$Projects$Zones$Clusters$Setmasterauth, options: StreamMethodOptions | BodyResponseCallback, @@ -9720,7 +9877,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Setmasterauth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9775,11 +9935,11 @@ export namespace container_v1 { setNetworkPolicy( params: Params$Resource$Projects$Zones$Clusters$Setnetworkpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNetworkPolicy( params?: Params$Resource$Projects$Zones$Clusters$Setnetworkpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNetworkPolicy( params: Params$Resource$Projects$Zones$Clusters$Setnetworkpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9808,7 +9968,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Setnetworkpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9863,11 +10026,11 @@ export namespace container_v1 { startIpRotation( params: Params$Resource$Projects$Zones$Clusters$Startiprotation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startIpRotation( params?: Params$Resource$Projects$Zones$Clusters$Startiprotation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startIpRotation( params: Params$Resource$Projects$Zones$Clusters$Startiprotation, options: StreamMethodOptions | BodyResponseCallback, @@ -9896,7 +10059,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Startiprotation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9951,11 +10117,11 @@ export namespace container_v1 { update( params: Params$Resource$Projects$Zones$Clusters$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Zones$Clusters$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Zones$Clusters$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9984,7 +10150,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10387,11 +10556,11 @@ export namespace container_v1 { autoscaling( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Autoscaling, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; autoscaling( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Autoscaling, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; autoscaling( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Autoscaling, options: StreamMethodOptions | BodyResponseCallback, @@ -10420,7 +10589,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Autoscaling; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10476,11 +10648,11 @@ export namespace container_v1 { create( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10509,7 +10681,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10564,11 +10739,11 @@ export namespace container_v1 { delete( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10597,7 +10772,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10652,11 +10830,11 @@ export namespace container_v1 { fetchNodePoolUpgradeInfo( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchNodePoolUpgradeInfo( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchNodePoolUpgradeInfo( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -10689,8 +10867,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Fetchnodepoolupgradeinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10746,11 +10924,11 @@ export namespace container_v1 { get( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10779,7 +10957,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10834,11 +11015,11 @@ export namespace container_v1 { list( params: Params$Resource$Projects$Zones$Clusters$Nodepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Zones$Clusters$Nodepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10871,8 +11052,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10927,11 +11108,11 @@ export namespace container_v1 { rollback( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -10960,7 +11141,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11016,11 +11200,11 @@ export namespace container_v1 { setManagement( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Setmanagement, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setManagement( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Setmanagement, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setManagement( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Setmanagement, options: StreamMethodOptions | BodyResponseCallback, @@ -11049,7 +11233,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Setmanagement; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11105,11 +11292,11 @@ export namespace container_v1 { setSize( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Setsize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSize( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Setsize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSize( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Setsize, options: StreamMethodOptions | BodyResponseCallback, @@ -11138,7 +11325,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Setsize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11194,11 +11384,11 @@ export namespace container_v1 { update( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11227,7 +11417,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11506,11 +11699,11 @@ export namespace container_v1 { cancel( params: Params$Resource$Projects$Zones$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Zones$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Zones$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -11539,7 +11732,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11594,11 +11790,11 @@ export namespace container_v1 { get( params: Params$Resource$Projects$Zones$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Zones$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Zones$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11627,7 +11823,10 @@ export namespace container_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11682,11 +11881,11 @@ export namespace container_v1 { list( params: Params$Resource$Projects$Zones$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Zones$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Zones$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11719,8 +11918,8 @@ export namespace container_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/container/v1beta1.ts b/src/apis/container/v1beta1.ts index 4cd903cf026..21a92991013 100644 --- a/src/apis/container/v1beta1.ts +++ b/src/apis/container/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2383,6 +2383,15 @@ export namespace container_v1beta1 { */ maxPodsPerNode?: string | null; } + /** + * The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/). + */ + export interface Schema$MemoryManager { + /** + * Controls the memory management policy on the Node. See https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following values are allowed. * "none" * "static" The default value is 'none' if unspecified. + */ + policy?: string | null; + } /** * Configuration for issuance of mTLS keys and certificates to Kubernetes pods. */ @@ -2835,10 +2844,18 @@ export namespace container_v1beta1 { * Enable or disable Kubelet read only port. */ insecureKubeletReadonlyPortEnabled?: boolean | null; + /** + * Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/ + */ + memoryManager?: Schema$MemoryManager; /** * Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304. */ podPidsLimit?: string | null; + /** + * Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/ + */ + topologyManager?: Schema$TopologyManager; } /** * Collection of node-level [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels). @@ -4252,6 +4269,19 @@ export namespace container_v1beta1 { */ startTime?: string | null; } + /** + * TopologyManager defines the configuration options for Topology Manager feature. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/ + */ + export interface Schema$TopologyManager { + /** + * Configures the strategy for resource alignment. Allowed values are: * none: the default policy, and does not perform any topology alignment. * restricted: the topology manager stores the preferred NUMA node affinity for the container, and will reject the pod if the affinity if not preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the container. If the affinity is not preferred, the topology manager will admit the pod to the node anyway. * single-numa-node: the topology manager determines if the single NUMA node affinity is possible. If it is, Topology Manager will store this and the Hint Providers can then use this information when making the resource allocation decision. If, however, this is not possible then the Topology Manager will reject the pod from the node. This will result in a pod in a Terminated state with a pod admission failure. The default policy value is 'none' if unspecified. Details about each strategy can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies). + */ + policy?: string | null; + /** + * The Topology Manager aligns resources in following scopes: * container * pod The default scope is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes + */ + scope?: string | null; + } /** * Configuration for Cloud TPU. This message is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25. */ @@ -4869,11 +4899,11 @@ export namespace container_v1beta1 { list( params: Params$Resource$Projects$Aggregated$Usablesubnetworks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Aggregated$Usablesubnetworks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Aggregated$Usablesubnetworks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4908,8 +4938,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Aggregated$Usablesubnetworks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4999,11 +5029,11 @@ export namespace container_v1beta1 { getServerConfig( params: Params$Resource$Projects$Locations$Getserverconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getServerConfig( params?: Params$Resource$Projects$Locations$Getserverconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getServerConfig( params: Params$Resource$Projects$Locations$Getserverconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5032,7 +5062,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getserverconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5087,11 +5120,11 @@ export namespace container_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5124,8 +5157,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5218,11 +5251,13 @@ export namespace container_v1beta1 { checkAutopilotCompatibility( params: Params$Resource$Projects$Locations$Clusters$Checkautopilotcompatibility, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkAutopilotCompatibility( params?: Params$Resource$Projects$Locations$Clusters$Checkautopilotcompatibility, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; checkAutopilotCompatibility( params: Params$Resource$Projects$Locations$Clusters$Checkautopilotcompatibility, options: StreamMethodOptions | BodyResponseCallback, @@ -5257,8 +5292,10 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Checkautopilotcompatibility; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5315,11 +5352,11 @@ export namespace container_v1beta1 { completeIpRotation( params: Params$Resource$Projects$Locations$Clusters$Completeiprotation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeIpRotation( params?: Params$Resource$Projects$Locations$Clusters$Completeiprotation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeIpRotation( params: Params$Resource$Projects$Locations$Clusters$Completeiprotation, options: StreamMethodOptions | BodyResponseCallback, @@ -5348,7 +5385,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Completeiprotation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5404,11 +5444,11 @@ export namespace container_v1beta1 { create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5437,7 +5477,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5492,11 +5535,11 @@ export namespace container_v1beta1 { delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5525,7 +5568,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5577,11 +5623,11 @@ export namespace container_v1beta1 { fetchClusterUpgradeInfo( params: Params$Resource$Projects$Locations$Clusters$Fetchclusterupgradeinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchClusterUpgradeInfo( params?: Params$Resource$Projects$Locations$Clusters$Fetchclusterupgradeinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchClusterUpgradeInfo( params: Params$Resource$Projects$Locations$Clusters$Fetchclusterupgradeinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -5614,8 +5660,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Fetchclusterupgradeinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5671,11 +5717,11 @@ export namespace container_v1beta1 { get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5704,7 +5750,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5756,11 +5805,11 @@ export namespace container_v1beta1 { getJwks( params: Params$Resource$Projects$Locations$Clusters$Getjwks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getJwks( params?: Params$Resource$Projects$Locations$Clusters$Getjwks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getJwks( params: Params$Resource$Projects$Locations$Clusters$Getjwks, options: StreamMethodOptions | BodyResponseCallback, @@ -5795,8 +5844,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Getjwks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5851,11 +5900,11 @@ export namespace container_v1beta1 { list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5888,8 +5937,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5944,11 +5993,11 @@ export namespace container_v1beta1 { setAddons( params: Params$Resource$Projects$Locations$Clusters$Setaddons, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAddons( params?: Params$Resource$Projects$Locations$Clusters$Setaddons, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAddons( params: Params$Resource$Projects$Locations$Clusters$Setaddons, options: StreamMethodOptions | BodyResponseCallback, @@ -5977,7 +6026,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setaddons; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6032,11 +6084,11 @@ export namespace container_v1beta1 { setLegacyAbac( params: Params$Resource$Projects$Locations$Clusters$Setlegacyabac, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLegacyAbac( params?: Params$Resource$Projects$Locations$Clusters$Setlegacyabac, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLegacyAbac( params: Params$Resource$Projects$Locations$Clusters$Setlegacyabac, options: StreamMethodOptions | BodyResponseCallback, @@ -6065,7 +6117,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setlegacyabac; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6121,11 +6176,11 @@ export namespace container_v1beta1 { setLocations( params: Params$Resource$Projects$Locations$Clusters$Setlocations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLocations( params?: Params$Resource$Projects$Locations$Clusters$Setlocations, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLocations( params: Params$Resource$Projects$Locations$Clusters$Setlocations, options: StreamMethodOptions | BodyResponseCallback, @@ -6154,7 +6209,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setlocations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6209,11 +6267,11 @@ export namespace container_v1beta1 { setLogging( params: Params$Resource$Projects$Locations$Clusters$Setlogging, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLogging( params?: Params$Resource$Projects$Locations$Clusters$Setlogging, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLogging( params: Params$Resource$Projects$Locations$Clusters$Setlogging, options: StreamMethodOptions | BodyResponseCallback, @@ -6242,7 +6300,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setlogging; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6297,11 +6358,11 @@ export namespace container_v1beta1 { setMaintenancePolicy( params: Params$Resource$Projects$Locations$Clusters$Setmaintenancepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMaintenancePolicy( params?: Params$Resource$Projects$Locations$Clusters$Setmaintenancepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMaintenancePolicy( params: Params$Resource$Projects$Locations$Clusters$Setmaintenancepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6332,7 +6393,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setmaintenancepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6388,11 +6452,11 @@ export namespace container_v1beta1 { setMasterAuth( params: Params$Resource$Projects$Locations$Clusters$Setmasterauth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMasterAuth( params?: Params$Resource$Projects$Locations$Clusters$Setmasterauth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMasterAuth( params: Params$Resource$Projects$Locations$Clusters$Setmasterauth, options: StreamMethodOptions | BodyResponseCallback, @@ -6421,7 +6485,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setmasterauth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6477,11 +6544,11 @@ export namespace container_v1beta1 { setMonitoring( params: Params$Resource$Projects$Locations$Clusters$Setmonitoring, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMonitoring( params?: Params$Resource$Projects$Locations$Clusters$Setmonitoring, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMonitoring( params: Params$Resource$Projects$Locations$Clusters$Setmonitoring, options: StreamMethodOptions | BodyResponseCallback, @@ -6510,7 +6577,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setmonitoring; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6566,11 +6636,11 @@ export namespace container_v1beta1 { setNetworkPolicy( params: Params$Resource$Projects$Locations$Clusters$Setnetworkpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNetworkPolicy( params?: Params$Resource$Projects$Locations$Clusters$Setnetworkpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNetworkPolicy( params: Params$Resource$Projects$Locations$Clusters$Setnetworkpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6599,7 +6669,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setnetworkpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6655,11 +6728,11 @@ export namespace container_v1beta1 { setResourceLabels( params: Params$Resource$Projects$Locations$Clusters$Setresourcelabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setResourceLabels( params?: Params$Resource$Projects$Locations$Clusters$Setresourcelabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setResourceLabels( params: Params$Resource$Projects$Locations$Clusters$Setresourcelabels, options: StreamMethodOptions | BodyResponseCallback, @@ -6688,7 +6761,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Setresourcelabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6744,11 +6820,11 @@ export namespace container_v1beta1 { startIpRotation( params: Params$Resource$Projects$Locations$Clusters$Startiprotation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startIpRotation( params?: Params$Resource$Projects$Locations$Clusters$Startiprotation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startIpRotation( params: Params$Resource$Projects$Locations$Clusters$Startiprotation, options: StreamMethodOptions | BodyResponseCallback, @@ -6777,7 +6853,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Startiprotation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6833,11 +6912,11 @@ export namespace container_v1beta1 { update( params: Params$Resource$Projects$Locations$Clusters$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Clusters$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Clusters$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6866,7 +6945,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6918,11 +7000,11 @@ export namespace container_v1beta1 { updateMaster( params: Params$Resource$Projects$Locations$Clusters$Updatemaster, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateMaster( params?: Params$Resource$Projects$Locations$Clusters$Updatemaster, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateMaster( params: Params$Resource$Projects$Locations$Clusters$Updatemaster, options: StreamMethodOptions | BodyResponseCallback, @@ -6951,7 +7033,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Updatemaster; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7260,11 +7345,11 @@ export namespace container_v1beta1 { completeUpgrade( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Completeupgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeUpgrade( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Completeupgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeUpgrade( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Completeupgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -7293,7 +7378,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Completeupgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7349,11 +7437,11 @@ export namespace container_v1beta1 { create( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7382,7 +7470,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7438,11 +7529,11 @@ export namespace container_v1beta1 { delete( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7471,7 +7562,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7524,11 +7618,11 @@ export namespace container_v1beta1 { fetchNodePoolUpgradeInfo( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchNodePoolUpgradeInfo( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchNodePoolUpgradeInfo( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -7561,8 +7655,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Fetchnodepoolupgradeinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7617,11 +7711,11 @@ export namespace container_v1beta1 { get( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7650,7 +7744,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7703,11 +7800,11 @@ export namespace container_v1beta1 { list( params: Params$Resource$Projects$Locations$Clusters$Nodepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$Nodepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7740,8 +7837,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7797,11 +7894,11 @@ export namespace container_v1beta1 { rollback( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -7830,7 +7927,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7886,11 +7986,11 @@ export namespace container_v1beta1 { setAutoscaling( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setautoscaling, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAutoscaling( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Setautoscaling, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAutoscaling( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setautoscaling, options: StreamMethodOptions | BodyResponseCallback, @@ -7919,7 +8019,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Setautoscaling; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7975,11 +8078,11 @@ export namespace container_v1beta1 { setManagement( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setmanagement, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setManagement( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Setmanagement, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setManagement( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setmanagement, options: StreamMethodOptions | BodyResponseCallback, @@ -8008,7 +8111,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Setmanagement; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8064,11 +8170,11 @@ export namespace container_v1beta1 { setSize( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setsize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSize( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Setsize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSize( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Setsize, options: StreamMethodOptions | BodyResponseCallback, @@ -8097,7 +8203,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Setsize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8153,11 +8262,11 @@ export namespace container_v1beta1 { update( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Clusters$Nodepools$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Clusters$Nodepools$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8186,7 +8295,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Nodepools$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8407,11 +8519,11 @@ export namespace container_v1beta1 { getOpenidConfiguration( params: Params$Resource$Projects$Locations$Clusters$WellKnown$Getopenidconfiguration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOpenidConfiguration( params?: Params$Resource$Projects$Locations$Clusters$WellKnown$Getopenidconfiguration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getOpenidConfiguration( params: Params$Resource$Projects$Locations$Clusters$WellKnown$Getopenidconfiguration, options: StreamMethodOptions | BodyResponseCallback, @@ -8446,8 +8558,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$WellKnown$Getopenidconfiguration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8517,11 +8629,11 @@ export namespace container_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -8550,7 +8662,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8605,11 +8720,11 @@ export namespace container_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8638,7 +8753,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8690,11 +8808,11 @@ export namespace container_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8727,8 +8845,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8841,11 +8959,11 @@ export namespace container_v1beta1 { getServerconfig( params: Params$Resource$Projects$Zones$Getserverconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getServerconfig( params?: Params$Resource$Projects$Zones$Getserverconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getServerconfig( params: Params$Resource$Projects$Zones$Getserverconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -8874,7 +8992,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Getserverconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8956,11 +9077,11 @@ export namespace container_v1beta1 { addons( params: Params$Resource$Projects$Zones$Clusters$Addons, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addons( params?: Params$Resource$Projects$Zones$Clusters$Addons, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addons( params: Params$Resource$Projects$Zones$Clusters$Addons, options: StreamMethodOptions | BodyResponseCallback, @@ -8989,7 +9110,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Addons; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9044,11 +9168,11 @@ export namespace container_v1beta1 { completeIpRotation( params: Params$Resource$Projects$Zones$Clusters$Completeiprotation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeIpRotation( params?: Params$Resource$Projects$Zones$Clusters$Completeiprotation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeIpRotation( params: Params$Resource$Projects$Zones$Clusters$Completeiprotation, options: StreamMethodOptions | BodyResponseCallback, @@ -9077,7 +9201,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Completeiprotation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9133,11 +9260,11 @@ export namespace container_v1beta1 { create( params: Params$Resource$Projects$Zones$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Zones$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Zones$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9166,7 +9293,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9220,11 +9350,11 @@ export namespace container_v1beta1 { delete( params: Params$Resource$Projects$Zones$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Zones$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Zones$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9253,7 +9383,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9308,11 +9441,11 @@ export namespace container_v1beta1 { fetchClusterUpgradeInfo( params: Params$Resource$Projects$Zones$Clusters$Fetchclusterupgradeinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchClusterUpgradeInfo( params?: Params$Resource$Projects$Zones$Clusters$Fetchclusterupgradeinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchClusterUpgradeInfo( params: Params$Resource$Projects$Zones$Clusters$Fetchclusterupgradeinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -9345,8 +9478,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Fetchclusterupgradeinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9402,11 +9535,11 @@ export namespace container_v1beta1 { get( params: Params$Resource$Projects$Zones$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Zones$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Zones$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9435,7 +9568,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9490,11 +9626,11 @@ export namespace container_v1beta1 { legacyAbac( params: Params$Resource$Projects$Zones$Clusters$Legacyabac, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; legacyAbac( params?: Params$Resource$Projects$Zones$Clusters$Legacyabac, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; legacyAbac( params: Params$Resource$Projects$Zones$Clusters$Legacyabac, options: StreamMethodOptions | BodyResponseCallback, @@ -9523,7 +9659,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Legacyabac; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9578,11 +9717,11 @@ export namespace container_v1beta1 { list( params: Params$Resource$Projects$Zones$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Zones$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Zones$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9615,8 +9754,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9670,11 +9809,11 @@ export namespace container_v1beta1 { locations( params: Params$Resource$Projects$Zones$Clusters$Locations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; locations( params?: Params$Resource$Projects$Zones$Clusters$Locations, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; locations( params: Params$Resource$Projects$Zones$Clusters$Locations, options: StreamMethodOptions | BodyResponseCallback, @@ -9703,7 +9842,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Locations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9758,11 +9900,11 @@ export namespace container_v1beta1 { logging( params: Params$Resource$Projects$Zones$Clusters$Logging, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; logging( params?: Params$Resource$Projects$Zones$Clusters$Logging, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; logging( params: Params$Resource$Projects$Zones$Clusters$Logging, options: StreamMethodOptions | BodyResponseCallback, @@ -9791,7 +9933,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Logging; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9846,11 +9991,11 @@ export namespace container_v1beta1 { master( params: Params$Resource$Projects$Zones$Clusters$Master, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; master( params?: Params$Resource$Projects$Zones$Clusters$Master, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; master( params: Params$Resource$Projects$Zones$Clusters$Master, options: StreamMethodOptions | BodyResponseCallback, @@ -9879,7 +10024,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Master; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9934,11 +10082,11 @@ export namespace container_v1beta1 { monitoring( params: Params$Resource$Projects$Zones$Clusters$Monitoring, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; monitoring( params?: Params$Resource$Projects$Zones$Clusters$Monitoring, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; monitoring( params: Params$Resource$Projects$Zones$Clusters$Monitoring, options: StreamMethodOptions | BodyResponseCallback, @@ -9967,7 +10115,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Monitoring; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10022,11 +10173,11 @@ export namespace container_v1beta1 { resourceLabels( params: Params$Resource$Projects$Zones$Clusters$Resourcelabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resourceLabels( params?: Params$Resource$Projects$Zones$Clusters$Resourcelabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resourceLabels( params: Params$Resource$Projects$Zones$Clusters$Resourcelabels, options: StreamMethodOptions | BodyResponseCallback, @@ -10055,7 +10206,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Resourcelabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10110,11 +10264,11 @@ export namespace container_v1beta1 { setMaintenancePolicy( params: Params$Resource$Projects$Zones$Clusters$Setmaintenancepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMaintenancePolicy( params?: Params$Resource$Projects$Zones$Clusters$Setmaintenancepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMaintenancePolicy( params: Params$Resource$Projects$Zones$Clusters$Setmaintenancepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10145,7 +10299,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Setmaintenancepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10201,11 +10358,11 @@ export namespace container_v1beta1 { setMasterAuth( params: Params$Resource$Projects$Zones$Clusters$Setmasterauth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMasterAuth( params?: Params$Resource$Projects$Zones$Clusters$Setmasterauth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMasterAuth( params: Params$Resource$Projects$Zones$Clusters$Setmasterauth, options: StreamMethodOptions | BodyResponseCallback, @@ -10234,7 +10391,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Setmasterauth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10289,11 +10449,11 @@ export namespace container_v1beta1 { setNetworkPolicy( params: Params$Resource$Projects$Zones$Clusters$Setnetworkpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setNetworkPolicy( params?: Params$Resource$Projects$Zones$Clusters$Setnetworkpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setNetworkPolicy( params: Params$Resource$Projects$Zones$Clusters$Setnetworkpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10322,7 +10482,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Setnetworkpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10377,11 +10540,11 @@ export namespace container_v1beta1 { startIpRotation( params: Params$Resource$Projects$Zones$Clusters$Startiprotation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startIpRotation( params?: Params$Resource$Projects$Zones$Clusters$Startiprotation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startIpRotation( params: Params$Resource$Projects$Zones$Clusters$Startiprotation, options: StreamMethodOptions | BodyResponseCallback, @@ -10410,7 +10573,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Startiprotation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10465,11 +10631,11 @@ export namespace container_v1beta1 { update( params: Params$Resource$Projects$Zones$Clusters$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Zones$Clusters$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Zones$Clusters$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10498,7 +10664,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10901,11 +11070,11 @@ export namespace container_v1beta1 { autoscaling( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Autoscaling, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; autoscaling( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Autoscaling, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; autoscaling( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Autoscaling, options: StreamMethodOptions | BodyResponseCallback, @@ -10934,7 +11103,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Autoscaling; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10990,11 +11162,11 @@ export namespace container_v1beta1 { create( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11023,7 +11195,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11078,11 +11253,11 @@ export namespace container_v1beta1 { delete( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11111,7 +11286,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11166,11 +11344,11 @@ export namespace container_v1beta1 { fetchNodePoolUpgradeInfo( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchNodePoolUpgradeInfo( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchNodePoolUpgradeInfo( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Fetchnodepoolupgradeinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -11203,8 +11381,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Fetchnodepoolupgradeinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11259,11 +11437,11 @@ export namespace container_v1beta1 { get( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11292,7 +11470,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11347,11 +11528,11 @@ export namespace container_v1beta1 { list( params: Params$Resource$Projects$Zones$Clusters$Nodepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Zones$Clusters$Nodepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11384,8 +11565,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11440,11 +11621,11 @@ export namespace container_v1beta1 { rollback( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -11473,7 +11654,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11529,11 +11713,11 @@ export namespace container_v1beta1 { setManagement( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Setmanagement, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setManagement( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Setmanagement, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setManagement( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Setmanagement, options: StreamMethodOptions | BodyResponseCallback, @@ -11562,7 +11746,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Setmanagement; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11618,11 +11805,11 @@ export namespace container_v1beta1 { setSize( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Setsize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSize( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Setsize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSize( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Setsize, options: StreamMethodOptions | BodyResponseCallback, @@ -11651,7 +11838,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Setsize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11707,11 +11897,11 @@ export namespace container_v1beta1 { update( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Zones$Clusters$Nodepools$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Zones$Clusters$Nodepools$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11740,7 +11930,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Clusters$Nodepools$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12019,11 +12212,11 @@ export namespace container_v1beta1 { cancel( params: Params$Resource$Projects$Zones$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Zones$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Zones$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -12052,7 +12245,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12107,11 +12303,11 @@ export namespace container_v1beta1 { get( params: Params$Resource$Projects$Zones$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Zones$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Zones$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12140,7 +12336,10 @@ export namespace container_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12195,11 +12394,11 @@ export namespace container_v1beta1 { list( params: Params$Resource$Projects$Zones$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Zones$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Zones$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12232,8 +12431,8 @@ export namespace container_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/containeranalysis/index.ts b/src/apis/containeranalysis/index.ts index 9cd50bc7cbb..9c792695927 100644 --- a/src/apis/containeranalysis/index.ts +++ b/src/apis/containeranalysis/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/containeranalysis/package.json b/src/apis/containeranalysis/package.json index 0b82b99bad2..2026166f27c 100644 --- a/src/apis/containeranalysis/package.json +++ b/src/apis/containeranalysis/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/containeranalysis/v1.ts b/src/apis/containeranalysis/v1.ts index 75e505aa608..780be3e5edd 100644 --- a/src/apis/containeranalysis/v1.ts +++ b/src/apis/containeranalysis/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3525,11 +3525,11 @@ export namespace containeranalysis_v1 { batchCreate( params: Params$Resource$Projects$Locations$Notes$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Notes$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Notes$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -3564,8 +3564,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3621,11 +3621,11 @@ export namespace containeranalysis_v1 { create( params: Params$Resource$Projects$Locations$Notes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Notes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Notes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3654,7 +3654,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3710,11 +3713,11 @@ export namespace containeranalysis_v1 { delete( params: Params$Resource$Projects$Locations$Notes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3743,7 +3746,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3796,11 +3802,11 @@ export namespace containeranalysis_v1 { get( params: Params$Resource$Projects$Locations$Notes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Notes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3829,7 +3835,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3882,11 +3891,11 @@ export namespace containeranalysis_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Notes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Notes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Notes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3915,7 +3924,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3971,11 +3983,11 @@ export namespace containeranalysis_v1 { list( params: Params$Resource$Projects$Locations$Notes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Notes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4006,8 +4018,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4063,11 +4075,11 @@ export namespace containeranalysis_v1 { patch( params: Params$Resource$Projects$Locations$Notes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Notes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Notes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4096,7 +4108,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4149,11 +4164,11 @@ export namespace containeranalysis_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Notes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Notes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Notes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4182,7 +4197,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4238,11 +4256,11 @@ export namespace containeranalysis_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Notes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Notes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Notes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4277,8 +4295,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4456,11 +4474,11 @@ export namespace containeranalysis_v1 { list( params: Params$Resource$Projects$Locations$Notes$Occurrences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notes$Occurrences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Notes$Occurrences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4495,8 +4513,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Occurrences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4580,11 +4598,11 @@ export namespace containeranalysis_v1 { batchCreate( params: Params$Resource$Projects$Locations$Occurrences$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Occurrences$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Occurrences$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -4619,8 +4637,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4679,11 +4697,11 @@ export namespace containeranalysis_v1 { create( params: Params$Resource$Projects$Locations$Occurrences$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Occurrences$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Occurrences$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4712,7 +4730,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4768,11 +4789,11 @@ export namespace containeranalysis_v1 { delete( params: Params$Resource$Projects$Locations$Occurrences$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Occurrences$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Occurrences$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4801,7 +4822,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4854,11 +4878,11 @@ export namespace containeranalysis_v1 { get( params: Params$Resource$Projects$Locations$Occurrences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Occurrences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Occurrences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4887,7 +4911,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4940,11 +4967,11 @@ export namespace containeranalysis_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Occurrences$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Occurrences$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Occurrences$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4973,7 +5000,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5030,11 +5060,11 @@ export namespace containeranalysis_v1 { getNotes( params: Params$Resource$Projects$Locations$Occurrences$Getnotes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNotes( params?: Params$Resource$Projects$Locations$Occurrences$Getnotes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNotes( params: Params$Resource$Projects$Locations$Occurrences$Getnotes, options: StreamMethodOptions | BodyResponseCallback, @@ -5063,7 +5093,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Getnotes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5116,11 +5149,11 @@ export namespace containeranalysis_v1 { getVulnerabilitySummary( params: Params$Resource$Projects$Locations$Occurrences$Getvulnerabilitysummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVulnerabilitySummary( params?: Params$Resource$Projects$Locations$Occurrences$Getvulnerabilitysummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getVulnerabilitySummary( params: Params$Resource$Projects$Locations$Occurrences$Getvulnerabilitysummary, options: StreamMethodOptions | BodyResponseCallback, @@ -5155,8 +5188,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Getvulnerabilitysummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5214,11 +5247,11 @@ export namespace containeranalysis_v1 { list( params: Params$Resource$Projects$Locations$Occurrences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Occurrences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Occurrences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5251,8 +5284,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5308,11 +5341,11 @@ export namespace containeranalysis_v1 { patch( params: Params$Resource$Projects$Locations$Occurrences$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Occurrences$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Occurrences$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5341,7 +5374,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5394,11 +5430,11 @@ export namespace containeranalysis_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Occurrences$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Occurrences$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Occurrences$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5427,7 +5463,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5484,11 +5523,11 @@ export namespace containeranalysis_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Occurrences$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Occurrences$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Occurrences$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5523,8 +5562,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5716,11 +5755,11 @@ export namespace containeranalysis_v1 { exportSBOM( params: Params$Resource$Projects$Locations$Resources$Exportsbom, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportSBOM( params?: Params$Resource$Projects$Locations$Resources$Exportsbom, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportSBOM( params: Params$Resource$Projects$Locations$Resources$Exportsbom, options: StreamMethodOptions | BodyResponseCallback, @@ -5751,8 +5790,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Resources$Exportsbom; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5830,11 +5869,11 @@ export namespace containeranalysis_v1 { batchCreate( params: Params$Resource$Projects$Notes$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Notes$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Notes$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -5869,8 +5908,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5926,11 +5965,11 @@ export namespace containeranalysis_v1 { create( params: Params$Resource$Projects$Notes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Notes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Notes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5959,7 +5998,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6015,11 +6057,11 @@ export namespace containeranalysis_v1 { delete( params: Params$Resource$Projects$Notes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Notes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Notes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6048,7 +6090,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6101,11 +6146,11 @@ export namespace containeranalysis_v1 { get( params: Params$Resource$Projects$Notes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Notes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Notes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6134,7 +6179,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6187,11 +6235,11 @@ export namespace containeranalysis_v1 { getIamPolicy( params: Params$Resource$Projects$Notes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Notes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Notes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6220,7 +6268,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6276,11 +6327,11 @@ export namespace containeranalysis_v1 { list( params: Params$Resource$Projects$Notes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Notes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Notes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6311,8 +6362,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6368,11 +6419,11 @@ export namespace containeranalysis_v1 { patch( params: Params$Resource$Projects$Notes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Notes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Notes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6401,7 +6452,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6454,11 +6508,11 @@ export namespace containeranalysis_v1 { setIamPolicy( params: Params$Resource$Projects$Notes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Notes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Notes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6487,7 +6541,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6543,11 +6600,11 @@ export namespace containeranalysis_v1 { testIamPermissions( params: Params$Resource$Projects$Notes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Notes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Notes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6582,8 +6639,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6760,11 +6817,11 @@ export namespace containeranalysis_v1 { list( params: Params$Resource$Projects$Notes$Occurrences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Notes$Occurrences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Notes$Occurrences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6799,8 +6856,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Occurrences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6883,11 +6940,11 @@ export namespace containeranalysis_v1 { batchCreate( params: Params$Resource$Projects$Occurrences$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Occurrences$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Occurrences$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -6922,8 +6979,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6981,11 +7038,11 @@ export namespace containeranalysis_v1 { create( params: Params$Resource$Projects$Occurrences$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Occurrences$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Occurrences$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7014,7 +7071,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7070,11 +7130,11 @@ export namespace containeranalysis_v1 { delete( params: Params$Resource$Projects$Occurrences$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Occurrences$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Occurrences$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7103,7 +7163,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7156,11 +7219,11 @@ export namespace containeranalysis_v1 { get( params: Params$Resource$Projects$Occurrences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Occurrences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Occurrences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7189,7 +7252,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7242,11 +7308,11 @@ export namespace containeranalysis_v1 { getIamPolicy( params: Params$Resource$Projects$Occurrences$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Occurrences$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Occurrences$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7275,7 +7341,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7331,11 +7400,11 @@ export namespace containeranalysis_v1 { getNotes( params: Params$Resource$Projects$Occurrences$Getnotes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNotes( params?: Params$Resource$Projects$Occurrences$Getnotes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNotes( params: Params$Resource$Projects$Occurrences$Getnotes, options: StreamMethodOptions | BodyResponseCallback, @@ -7364,7 +7433,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Getnotes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7417,11 +7489,11 @@ export namespace containeranalysis_v1 { getVulnerabilitySummary( params: Params$Resource$Projects$Occurrences$Getvulnerabilitysummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVulnerabilitySummary( params?: Params$Resource$Projects$Occurrences$Getvulnerabilitysummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getVulnerabilitySummary( params: Params$Resource$Projects$Occurrences$Getvulnerabilitysummary, options: StreamMethodOptions | BodyResponseCallback, @@ -7456,8 +7528,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Getvulnerabilitysummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7515,11 +7587,11 @@ export namespace containeranalysis_v1 { list( params: Params$Resource$Projects$Occurrences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Occurrences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Occurrences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7552,8 +7624,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7609,11 +7681,11 @@ export namespace containeranalysis_v1 { patch( params: Params$Resource$Projects$Occurrences$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Occurrences$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Occurrences$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7642,7 +7714,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7695,11 +7770,11 @@ export namespace containeranalysis_v1 { setIamPolicy( params: Params$Resource$Projects$Occurrences$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Occurrences$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Occurrences$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7728,7 +7803,10 @@ export namespace containeranalysis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7784,11 +7862,11 @@ export namespace containeranalysis_v1 { testIamPermissions( params: Params$Resource$Projects$Occurrences$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Occurrences$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Occurrences$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7823,8 +7901,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8015,11 +8093,11 @@ export namespace containeranalysis_v1 { exportSBOM( params: Params$Resource$Projects$Resources$Exportsbom, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportSBOM( params?: Params$Resource$Projects$Resources$Exportsbom, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportSBOM( params: Params$Resource$Projects$Resources$Exportsbom, options: StreamMethodOptions | BodyResponseCallback, @@ -8050,8 +8128,8 @@ export namespace containeranalysis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Resources$Exportsbom; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/containeranalysis/v1alpha1.ts b/src/apis/containeranalysis/v1alpha1.ts index 0515919b433..ca6fdb0a87b 100644 --- a/src/apis/containeranalysis/v1alpha1.ts +++ b/src/apis/containeranalysis/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3997,11 +3997,11 @@ export namespace containeranalysis_v1alpha1 { create( params: Params$Resource$Projects$Notes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Notes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Notes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4030,7 +4030,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4086,11 +4089,11 @@ export namespace containeranalysis_v1alpha1 { delete( params: Params$Resource$Projects$Notes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Notes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Notes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4119,7 +4122,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4172,11 +4178,11 @@ export namespace containeranalysis_v1alpha1 { get( params: Params$Resource$Projects$Notes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Notes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Notes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4205,7 +4211,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4258,11 +4267,11 @@ export namespace containeranalysis_v1alpha1 { getIamPolicy( params: Params$Resource$Projects$Notes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Notes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Notes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4291,7 +4300,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4347,11 +4359,11 @@ export namespace containeranalysis_v1alpha1 { list( params: Params$Resource$Projects$Notes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Notes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Notes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4382,8 +4394,8 @@ export namespace containeranalysis_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4439,11 +4451,11 @@ export namespace containeranalysis_v1alpha1 { patch( params: Params$Resource$Projects$Notes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Notes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Notes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4472,7 +4484,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4525,11 +4540,11 @@ export namespace containeranalysis_v1alpha1 { setIamPolicy( params: Params$Resource$Projects$Notes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Notes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Notes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4558,7 +4573,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4614,11 +4632,11 @@ export namespace containeranalysis_v1alpha1 { testIamPermissions( params: Params$Resource$Projects$Notes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Notes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Notes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4653,8 +4671,8 @@ export namespace containeranalysis_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4827,11 +4845,11 @@ export namespace containeranalysis_v1alpha1 { list( params: Params$Resource$Projects$Notes$Occurrences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Notes$Occurrences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Notes$Occurrences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4866,8 +4884,8 @@ export namespace containeranalysis_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Occurrences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4950,11 +4968,11 @@ export namespace containeranalysis_v1alpha1 { create( params: Params$Resource$Projects$Occurrences$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Occurrences$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Occurrences$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4983,7 +5001,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5039,11 +5060,11 @@ export namespace containeranalysis_v1alpha1 { delete( params: Params$Resource$Projects$Occurrences$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Occurrences$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Occurrences$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5072,7 +5093,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5125,11 +5149,11 @@ export namespace containeranalysis_v1alpha1 { get( params: Params$Resource$Projects$Occurrences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Occurrences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Occurrences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5158,7 +5182,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5211,11 +5238,11 @@ export namespace containeranalysis_v1alpha1 { getIamPolicy( params: Params$Resource$Projects$Occurrences$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Occurrences$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Occurrences$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5244,7 +5271,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5300,11 +5330,11 @@ export namespace containeranalysis_v1alpha1 { getNotes( params: Params$Resource$Projects$Occurrences$Getnotes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNotes( params?: Params$Resource$Projects$Occurrences$Getnotes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNotes( params: Params$Resource$Projects$Occurrences$Getnotes, options: StreamMethodOptions | BodyResponseCallback, @@ -5333,7 +5363,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Getnotes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5389,11 +5422,13 @@ export namespace containeranalysis_v1alpha1 { getVulnerabilitySummary( params: Params$Resource$Projects$Occurrences$Getvulnerabilitysummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVulnerabilitySummary( params?: Params$Resource$Projects$Occurrences$Getvulnerabilitysummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getVulnerabilitySummary( params: Params$Resource$Projects$Occurrences$Getvulnerabilitysummary, options: StreamMethodOptions | BodyResponseCallback, @@ -5428,8 +5463,10 @@ export namespace containeranalysis_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Getvulnerabilitysummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5487,11 +5524,11 @@ export namespace containeranalysis_v1alpha1 { list( params: Params$Resource$Projects$Occurrences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Occurrences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Occurrences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5524,8 +5561,8 @@ export namespace containeranalysis_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5581,11 +5618,11 @@ export namespace containeranalysis_v1alpha1 { patch( params: Params$Resource$Projects$Occurrences$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Occurrences$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Occurrences$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5614,7 +5651,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5667,11 +5707,11 @@ export namespace containeranalysis_v1alpha1 { setIamPolicy( params: Params$Resource$Projects$Occurrences$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Occurrences$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Occurrences$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5700,7 +5740,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5756,11 +5799,11 @@ export namespace containeranalysis_v1alpha1 { testIamPermissions( params: Params$Resource$Projects$Occurrences$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Occurrences$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Occurrences$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5795,8 +5838,8 @@ export namespace containeranalysis_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5987,11 +6030,11 @@ export namespace containeranalysis_v1alpha1 { create( params: Params$Resource$Projects$Operations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Operations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Operations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6020,7 +6063,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6076,11 +6122,11 @@ export namespace containeranalysis_v1alpha1 { patch( params: Params$Resource$Projects$Operations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Operations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Operations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6109,7 +6155,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6194,11 +6243,11 @@ export namespace containeranalysis_v1alpha1 { get( params: Params$Resource$Projects$Scanconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Scanconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Scanconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6227,7 +6276,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6280,11 +6332,11 @@ export namespace containeranalysis_v1alpha1 { list( params: Params$Resource$Projects$Scanconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6317,8 +6369,8 @@ export namespace containeranalysis_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6374,11 +6426,11 @@ export namespace containeranalysis_v1alpha1 { patch( params: Params$Resource$Projects$Scanconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Scanconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Scanconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6407,7 +6459,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6521,11 +6576,11 @@ export namespace containeranalysis_v1alpha1 { create( params: Params$Resource$Providers$Notes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Providers$Notes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Providers$Notes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6554,7 +6609,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Providers$Notes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6610,11 +6668,11 @@ export namespace containeranalysis_v1alpha1 { delete( params: Params$Resource$Providers$Notes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Providers$Notes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Providers$Notes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6643,7 +6701,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Providers$Notes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6696,11 +6757,11 @@ export namespace containeranalysis_v1alpha1 { get( params: Params$Resource$Providers$Notes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Providers$Notes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Providers$Notes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6729,7 +6790,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Providers$Notes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6782,11 +6846,11 @@ export namespace containeranalysis_v1alpha1 { getIamPolicy( params: Params$Resource$Providers$Notes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Providers$Notes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Providers$Notes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6815,7 +6879,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Providers$Notes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6871,11 +6938,11 @@ export namespace containeranalysis_v1alpha1 { list( params: Params$Resource$Providers$Notes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Providers$Notes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Providers$Notes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6906,8 +6973,8 @@ export namespace containeranalysis_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Providers$Notes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6963,11 +7030,11 @@ export namespace containeranalysis_v1alpha1 { patch( params: Params$Resource$Providers$Notes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Providers$Notes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Providers$Notes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6996,7 +7063,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Providers$Notes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7049,11 +7119,11 @@ export namespace containeranalysis_v1alpha1 { setIamPolicy( params: Params$Resource$Providers$Notes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Providers$Notes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Providers$Notes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7082,7 +7152,10 @@ export namespace containeranalysis_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Providers$Notes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7138,11 +7211,11 @@ export namespace containeranalysis_v1alpha1 { testIamPermissions( params: Params$Resource$Providers$Notes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Providers$Notes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Providers$Notes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7177,8 +7250,8 @@ export namespace containeranalysis_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Providers$Notes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7351,11 +7424,11 @@ export namespace containeranalysis_v1alpha1 { list( params: Params$Resource$Providers$Notes$Occurrences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Providers$Notes$Occurrences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Providers$Notes$Occurrences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7390,8 +7463,8 @@ export namespace containeranalysis_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Providers$Notes$Occurrences$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/containeranalysis/v1beta1.ts b/src/apis/containeranalysis/v1beta1.ts index 5005ffc19e7..a5bf7054cd1 100644 --- a/src/apis/containeranalysis/v1beta1.ts +++ b/src/apis/containeranalysis/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3534,11 +3534,11 @@ export namespace containeranalysis_v1beta1 { batchCreate( params: Params$Resource$Projects$Locations$Notes$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Notes$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Notes$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -3573,8 +3573,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3630,11 +3630,11 @@ export namespace containeranalysis_v1beta1 { create( params: Params$Resource$Projects$Locations$Notes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Notes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Notes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3663,7 +3663,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3719,11 +3722,11 @@ export namespace containeranalysis_v1beta1 { delete( params: Params$Resource$Projects$Locations$Notes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Notes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Notes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3752,7 +3755,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3805,11 +3811,11 @@ export namespace containeranalysis_v1beta1 { get( params: Params$Resource$Projects$Locations$Notes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Notes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Notes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3838,7 +3844,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3891,11 +3900,11 @@ export namespace containeranalysis_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Notes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Notes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Notes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3924,7 +3933,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3980,11 +3992,11 @@ export namespace containeranalysis_v1beta1 { list( params: Params$Resource$Projects$Locations$Notes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Notes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4015,8 +4027,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4072,11 +4084,11 @@ export namespace containeranalysis_v1beta1 { patch( params: Params$Resource$Projects$Locations$Notes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Notes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Notes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4105,7 +4117,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4158,11 +4173,11 @@ export namespace containeranalysis_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Notes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Notes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Notes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4191,7 +4206,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4247,11 +4265,11 @@ export namespace containeranalysis_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Notes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Notes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Notes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4286,8 +4304,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4465,11 +4483,11 @@ export namespace containeranalysis_v1beta1 { list( params: Params$Resource$Projects$Locations$Notes$Occurrences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Notes$Occurrences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Notes$Occurrences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4504,8 +4522,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Notes$Occurrences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4589,11 +4607,11 @@ export namespace containeranalysis_v1beta1 { batchCreate( params: Params$Resource$Projects$Locations$Occurrences$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Occurrences$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Occurrences$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -4628,8 +4646,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4687,11 +4705,11 @@ export namespace containeranalysis_v1beta1 { create( params: Params$Resource$Projects$Locations$Occurrences$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Occurrences$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Occurrences$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4720,7 +4738,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4776,11 +4797,11 @@ export namespace containeranalysis_v1beta1 { delete( params: Params$Resource$Projects$Locations$Occurrences$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Occurrences$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Occurrences$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4809,7 +4830,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4862,11 +4886,11 @@ export namespace containeranalysis_v1beta1 { get( params: Params$Resource$Projects$Locations$Occurrences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Occurrences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Occurrences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4895,7 +4919,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4948,11 +4975,11 @@ export namespace containeranalysis_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Occurrences$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Occurrences$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Occurrences$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4981,7 +5008,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5038,11 +5068,11 @@ export namespace containeranalysis_v1beta1 { getNotes( params: Params$Resource$Projects$Locations$Occurrences$Getnotes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNotes( params?: Params$Resource$Projects$Locations$Occurrences$Getnotes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNotes( params: Params$Resource$Projects$Locations$Occurrences$Getnotes, options: StreamMethodOptions | BodyResponseCallback, @@ -5071,7 +5101,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Getnotes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5127,11 +5160,11 @@ export namespace containeranalysis_v1beta1 { getVulnerabilitySummary( params: Params$Resource$Projects$Locations$Occurrences$Getvulnerabilitysummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVulnerabilitySummary( params?: Params$Resource$Projects$Locations$Occurrences$Getvulnerabilitysummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getVulnerabilitySummary( params: Params$Resource$Projects$Locations$Occurrences$Getvulnerabilitysummary, options: StreamMethodOptions | BodyResponseCallback, @@ -5166,8 +5199,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Getvulnerabilitysummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5225,11 +5258,11 @@ export namespace containeranalysis_v1beta1 { list( params: Params$Resource$Projects$Locations$Occurrences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Occurrences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Occurrences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5262,8 +5295,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5319,11 +5352,11 @@ export namespace containeranalysis_v1beta1 { patch( params: Params$Resource$Projects$Locations$Occurrences$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Occurrences$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Occurrences$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5352,7 +5385,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5405,11 +5441,11 @@ export namespace containeranalysis_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Occurrences$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Occurrences$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Occurrences$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5438,7 +5474,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5495,11 +5534,11 @@ export namespace containeranalysis_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Occurrences$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Occurrences$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Occurrences$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5534,8 +5573,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Occurrences$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5727,11 +5766,11 @@ export namespace containeranalysis_v1beta1 { exportSBOM( params: Params$Resource$Projects$Locations$Resources$Exportsbom, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportSBOM( params?: Params$Resource$Projects$Locations$Resources$Exportsbom, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportSBOM( params: Params$Resource$Projects$Locations$Resources$Exportsbom, options: StreamMethodOptions | BodyResponseCallback, @@ -5762,8 +5801,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Resources$Exportsbom; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5819,11 +5858,11 @@ export namespace containeranalysis_v1beta1 { generatePackagesSummary( params: Params$Resource$Projects$Locations$Resources$Generatepackagessummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generatePackagesSummary( params?: Params$Resource$Projects$Locations$Resources$Generatepackagessummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generatePackagesSummary( params: Params$Resource$Projects$Locations$Resources$Generatepackagessummary, options: StreamMethodOptions | BodyResponseCallback, @@ -5858,8 +5897,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Resources$Generatepackagessummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5950,11 +5989,11 @@ export namespace containeranalysis_v1beta1 { batchCreate( params: Params$Resource$Projects$Notes$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Notes$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Notes$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -5989,8 +6028,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6046,11 +6085,11 @@ export namespace containeranalysis_v1beta1 { create( params: Params$Resource$Projects$Notes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Notes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Notes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6079,7 +6118,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6135,11 +6177,11 @@ export namespace containeranalysis_v1beta1 { delete( params: Params$Resource$Projects$Notes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Notes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Notes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6168,7 +6210,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6221,11 +6266,11 @@ export namespace containeranalysis_v1beta1 { get( params: Params$Resource$Projects$Notes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Notes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Notes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6254,7 +6299,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6307,11 +6355,11 @@ export namespace containeranalysis_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Notes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Notes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Notes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6340,7 +6388,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6396,11 +6447,11 @@ export namespace containeranalysis_v1beta1 { list( params: Params$Resource$Projects$Notes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Notes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Notes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6431,8 +6482,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6488,11 +6539,11 @@ export namespace containeranalysis_v1beta1 { patch( params: Params$Resource$Projects$Notes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Notes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Notes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6521,7 +6572,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6574,11 +6628,11 @@ export namespace containeranalysis_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Notes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Notes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Notes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6607,7 +6661,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6663,11 +6720,11 @@ export namespace containeranalysis_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Notes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Notes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Notes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6702,8 +6759,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6880,11 +6937,11 @@ export namespace containeranalysis_v1beta1 { list( params: Params$Resource$Projects$Notes$Occurrences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Notes$Occurrences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Notes$Occurrences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6919,8 +6976,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notes$Occurrences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7003,11 +7060,11 @@ export namespace containeranalysis_v1beta1 { batchCreate( params: Params$Resource$Projects$Occurrences$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Occurrences$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Occurrences$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -7042,8 +7099,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7100,11 +7157,11 @@ export namespace containeranalysis_v1beta1 { create( params: Params$Resource$Projects$Occurrences$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Occurrences$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Occurrences$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7133,7 +7190,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7189,11 +7249,11 @@ export namespace containeranalysis_v1beta1 { delete( params: Params$Resource$Projects$Occurrences$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Occurrences$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Occurrences$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7222,7 +7282,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7275,11 +7338,11 @@ export namespace containeranalysis_v1beta1 { get( params: Params$Resource$Projects$Occurrences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Occurrences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Occurrences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7308,7 +7371,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7361,11 +7427,11 @@ export namespace containeranalysis_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Occurrences$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Occurrences$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Occurrences$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7394,7 +7460,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7450,11 +7519,11 @@ export namespace containeranalysis_v1beta1 { getNotes( params: Params$Resource$Projects$Occurrences$Getnotes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNotes( params?: Params$Resource$Projects$Occurrences$Getnotes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNotes( params: Params$Resource$Projects$Occurrences$Getnotes, options: StreamMethodOptions | BodyResponseCallback, @@ -7483,7 +7552,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Getnotes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7539,11 +7611,11 @@ export namespace containeranalysis_v1beta1 { getVulnerabilitySummary( params: Params$Resource$Projects$Occurrences$Getvulnerabilitysummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVulnerabilitySummary( params?: Params$Resource$Projects$Occurrences$Getvulnerabilitysummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getVulnerabilitySummary( params: Params$Resource$Projects$Occurrences$Getvulnerabilitysummary, options: StreamMethodOptions | BodyResponseCallback, @@ -7578,8 +7650,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Getvulnerabilitysummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7637,11 +7709,11 @@ export namespace containeranalysis_v1beta1 { list( params: Params$Resource$Projects$Occurrences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Occurrences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Occurrences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7674,8 +7746,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7731,11 +7803,11 @@ export namespace containeranalysis_v1beta1 { patch( params: Params$Resource$Projects$Occurrences$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Occurrences$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Occurrences$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7764,7 +7836,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7817,11 +7892,11 @@ export namespace containeranalysis_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Occurrences$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Occurrences$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Occurrences$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7850,7 +7925,10 @@ export namespace containeranalysis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7906,11 +7984,11 @@ export namespace containeranalysis_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Occurrences$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Occurrences$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Occurrences$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7945,8 +8023,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Occurrences$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8137,11 +8215,11 @@ export namespace containeranalysis_v1beta1 { exportSBOM( params: Params$Resource$Projects$Resources$Exportsbom, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportSBOM( params?: Params$Resource$Projects$Resources$Exportsbom, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportSBOM( params: Params$Resource$Projects$Resources$Exportsbom, options: StreamMethodOptions | BodyResponseCallback, @@ -8172,8 +8250,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Resources$Exportsbom; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8229,11 +8307,11 @@ export namespace containeranalysis_v1beta1 { generatePackagesSummary( params: Params$Resource$Projects$Resources$Generatepackagessummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generatePackagesSummary( params?: Params$Resource$Projects$Resources$Generatepackagessummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generatePackagesSummary( params: Params$Resource$Projects$Resources$Generatepackagessummary, options: StreamMethodOptions | BodyResponseCallback, @@ -8268,8 +8346,8 @@ export namespace containeranalysis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Resources$Generatepackagessummary; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/content/index.ts b/src/apis/content/index.ts index ae93fc26a0f..431c67df99f 100644 --- a/src/apis/content/index.ts +++ b/src/apis/content/index.ts @@ -43,7 +43,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/content/package.json b/src/apis/content/package.json index aecaa68e18b..c4002ac495d 100644 --- a/src/apis/content/package.json +++ b/src/apis/content/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/content/v2.1.ts b/src/apis/content/v2.1.ts index 8a30b655e9b..b3e6d3f5ea7 100644 --- a/src/apis/content/v2.1.ts +++ b/src/apis/content/v2.1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -7215,11 +7215,11 @@ export namespace content_v2_1 { authinfo( params: Params$Resource$Accounts$Authinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; authinfo( params?: Params$Resource$Accounts$Authinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; authinfo( params: Params$Resource$Accounts$Authinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -7254,8 +7254,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Authinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7311,11 +7311,11 @@ export namespace content_v2_1 { claimwebsite( params: Params$Resource$Accounts$Claimwebsite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; claimwebsite( params?: Params$Resource$Accounts$Claimwebsite, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; claimwebsite( params: Params$Resource$Accounts$Claimwebsite, options: StreamMethodOptions | BodyResponseCallback, @@ -7350,8 +7350,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Claimwebsite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7409,11 +7409,11 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Accounts$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Accounts$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Accounts$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -7448,8 +7448,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7505,11 +7505,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Accounts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7536,7 +7536,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7590,11 +7593,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7623,7 +7626,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7677,11 +7683,11 @@ export namespace content_v2_1 { insert( params: Params$Resource$Accounts$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7710,7 +7716,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7765,11 +7774,11 @@ export namespace content_v2_1 { link( params: Params$Resource$Accounts$Link, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; link( params?: Params$Resource$Accounts$Link, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; link( params: Params$Resource$Accounts$Link, options: StreamMethodOptions | BodyResponseCallback, @@ -7802,8 +7811,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Link; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7857,11 +7866,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7894,8 +7903,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7950,11 +7959,11 @@ export namespace content_v2_1 { listlinks( params: Params$Resource$Accounts$Listlinks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listlinks( params?: Params$Resource$Accounts$Listlinks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listlinks( params: Params$Resource$Accounts$Listlinks, options: StreamMethodOptions | BodyResponseCallback, @@ -7989,8 +7998,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Listlinks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8046,11 +8055,13 @@ export namespace content_v2_1 { requestphoneverification( params: Params$Resource$Accounts$Requestphoneverification, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestphoneverification( params?: Params$Resource$Accounts$Requestphoneverification, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; requestphoneverification( params: Params$Resource$Accounts$Requestphoneverification, options: StreamMethodOptions | BodyResponseCallback, @@ -8085,8 +8096,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Requestphoneverification; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8144,11 +8157,11 @@ export namespace content_v2_1 { update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8177,7 +8190,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8231,11 +8247,11 @@ export namespace content_v2_1 { updatelabels( params: Params$Resource$Accounts$Updatelabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatelabels( params?: Params$Resource$Accounts$Updatelabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatelabels( params: Params$Resource$Accounts$Updatelabels, options: StreamMethodOptions | BodyResponseCallback, @@ -8270,8 +8286,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Updatelabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8329,11 +8345,11 @@ export namespace content_v2_1 { verifyphonenumber( params: Params$Resource$Accounts$Verifyphonenumber, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verifyphonenumber( params?: Params$Resource$Accounts$Verifyphonenumber, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verifyphonenumber( params: Params$Resource$Accounts$Verifyphonenumber, options: StreamMethodOptions | BodyResponseCallback, @@ -8368,8 +8384,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Verifyphonenumber; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8619,11 +8635,11 @@ export namespace content_v2_1 { create( params: Params$Resource$Accounts$Credentials$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Credentials$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Credentials$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8654,8 +8670,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Credentials$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8730,11 +8746,11 @@ export namespace content_v2_1 { create( params: Params$Resource$Accounts$Labels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Labels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Labels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8763,7 +8779,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Labels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8818,11 +8837,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Accounts$Labels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Labels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Labels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8849,7 +8868,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Labels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8904,11 +8926,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Accounts$Labels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Labels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Labels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8943,8 +8965,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Labels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8999,11 +9021,11 @@ export namespace content_v2_1 { patch( params: Params$Resource$Accounts$Labels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Labels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Labels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9032,7 +9054,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Labels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9149,11 +9174,11 @@ export namespace content_v2_1 { create( params: Params$Resource$Accounts$Returncarrier$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Returncarrier$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Returncarrier$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9186,8 +9211,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Returncarrier$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9242,11 +9267,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Accounts$Returncarrier$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Returncarrier$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Returncarrier$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9273,7 +9298,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Returncarrier$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9329,11 +9357,13 @@ export namespace content_v2_1 { list( params: Params$Resource$Accounts$Returncarrier$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Returncarrier$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Returncarrier$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9368,8 +9398,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Returncarrier$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9426,11 +9458,11 @@ export namespace content_v2_1 { patch( params: Params$Resource$Accounts$Returncarrier$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Returncarrier$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Returncarrier$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9463,8 +9495,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Returncarrier$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9574,11 +9606,13 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Accountstatuses$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Accountstatuses$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; custombatch( params: Params$Resource$Accountstatuses$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -9613,8 +9647,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountstatuses$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9672,11 +9708,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Accountstatuses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountstatuses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountstatuses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9705,7 +9741,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountstatuses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9760,11 +9799,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Accountstatuses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountstatuses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accountstatuses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9799,8 +9838,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountstatuses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9908,11 +9947,11 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Accounttax$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Accounttax$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Accounttax$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -9947,8 +9986,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounttax$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10006,11 +10045,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Accounttax$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounttax$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounttax$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10039,7 +10078,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounttax$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10093,11 +10135,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Accounttax$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounttax$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounttax$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10130,8 +10172,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounttax$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10186,11 +10228,11 @@ export namespace content_v2_1 { update( params: Params$Resource$Accounttax$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounttax$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounttax$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10219,7 +10261,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounttax$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10329,11 +10374,11 @@ export namespace content_v2_1 { create( params: Params$Resource$Collections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Collections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Collections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10362,7 +10407,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Collections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10418,11 +10466,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Collections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Collections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Collections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10449,7 +10497,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Collections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10504,11 +10555,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Collections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Collections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Collections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10537,7 +10588,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Collections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10591,11 +10645,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Collections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Collections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Collections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10628,8 +10682,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Collections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10739,11 +10793,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Collectionstatuses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Collectionstatuses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Collectionstatuses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10772,7 +10826,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Collectionstatuses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10828,11 +10885,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Collectionstatuses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Collectionstatuses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Collectionstatuses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10867,8 +10924,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Collectionstatuses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10959,11 +11016,11 @@ export namespace content_v2_1 { create( params: Params$Resource$Conversionsources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Conversionsources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Conversionsources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10992,7 +11049,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversionsources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11047,11 +11107,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Conversionsources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Conversionsources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Conversionsources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11078,7 +11138,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversionsources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11134,11 +11197,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Conversionsources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Conversionsources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Conversionsources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11167,7 +11230,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversionsources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11223,11 +11289,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Conversionsources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Conversionsources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Conversionsources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11262,8 +11328,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversionsources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11320,11 +11386,11 @@ export namespace content_v2_1 { patch( params: Params$Resource$Conversionsources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Conversionsources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Conversionsources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11353,7 +11419,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversionsources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11409,11 +11478,11 @@ export namespace content_v2_1 { undelete( params: Params$Resource$Conversionsources$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Conversionsources$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Conversionsources$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -11440,7 +11509,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversionsources$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11593,11 +11665,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Csses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Csses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Csses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11626,7 +11698,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Csses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11680,11 +11755,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Csses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Csses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Csses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11715,8 +11790,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Csses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11771,11 +11846,11 @@ export namespace content_v2_1 { updatelabels( params: Params$Resource$Csses$Updatelabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatelabels( params?: Params$Resource$Csses$Updatelabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatelabels( params: Params$Resource$Csses$Updatelabels, options: StreamMethodOptions | BodyResponseCallback, @@ -11804,7 +11879,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Csses$Updatelabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11908,11 +11986,11 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Datafeeds$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Datafeeds$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Datafeeds$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -11947,8 +12025,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12006,11 +12084,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Datafeeds$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Datafeeds$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Datafeeds$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12037,7 +12115,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12091,11 +12172,11 @@ export namespace content_v2_1 { fetchnow( params: Params$Resource$Datafeeds$Fetchnow, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchnow( params?: Params$Resource$Datafeeds$Fetchnow, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchnow( params: Params$Resource$Datafeeds$Fetchnow, options: StreamMethodOptions | BodyResponseCallback, @@ -12130,8 +12211,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Fetchnow; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12187,11 +12268,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Datafeeds$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Datafeeds$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Datafeeds$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12220,7 +12301,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12274,11 +12358,11 @@ export namespace content_v2_1 { insert( params: Params$Resource$Datafeeds$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Datafeeds$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Datafeeds$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -12307,7 +12391,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12362,11 +12449,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Datafeeds$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Datafeeds$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Datafeeds$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12399,8 +12486,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12455,11 +12542,11 @@ export namespace content_v2_1 { update( params: Params$Resource$Datafeeds$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Datafeeds$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Datafeeds$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12488,7 +12575,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12628,11 +12718,13 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Datafeedstatuses$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Datafeedstatuses$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; custombatch( params: Params$Resource$Datafeedstatuses$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -12667,8 +12759,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeedstatuses$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12726,11 +12820,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Datafeedstatuses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Datafeedstatuses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Datafeedstatuses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12759,7 +12853,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeedstatuses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12815,11 +12912,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Datafeedstatuses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Datafeedstatuses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Datafeedstatuses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12854,8 +12951,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeedstatuses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12969,11 +13066,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Freelistingsprogram$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Freelistingsprogram$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Freelistingsprogram$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13006,8 +13103,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Freelistingsprogram$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13062,11 +13159,11 @@ export namespace content_v2_1 { requestreview( params: Params$Resource$Freelistingsprogram$Requestreview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestreview( params?: Params$Resource$Freelistingsprogram$Requestreview, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; requestreview( params: Params$Resource$Freelistingsprogram$Requestreview, options: StreamMethodOptions | BodyResponseCallback, @@ -13093,7 +13190,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Freelistingsprogram$Requestreview; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13176,11 +13276,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Freelistingsprogram$Checkoutsettings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Freelistingsprogram$Checkoutsettings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Freelistingsprogram$Checkoutsettings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13207,7 +13307,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Freelistingsprogram$Checkoutsettings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13264,11 +13367,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Freelistingsprogram$Checkoutsettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Freelistingsprogram$Checkoutsettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Freelistingsprogram$Checkoutsettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13297,7 +13400,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Freelistingsprogram$Checkoutsettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13353,11 +13459,11 @@ export namespace content_v2_1 { insert( params: Params$Resource$Freelistingsprogram$Checkoutsettings$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Freelistingsprogram$Checkoutsettings$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Freelistingsprogram$Checkoutsettings$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -13386,7 +13492,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Freelistingsprogram$Checkoutsettings$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13477,11 +13586,11 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Liasettings$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Liasettings$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Liasettings$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -13516,8 +13625,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13575,11 +13684,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Liasettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Liasettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Liasettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13608,7 +13717,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13662,11 +13774,13 @@ export namespace content_v2_1 { getaccessiblegmbaccounts( params: Params$Resource$Liasettings$Getaccessiblegmbaccounts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getaccessiblegmbaccounts( params?: Params$Resource$Liasettings$Getaccessiblegmbaccounts, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getaccessiblegmbaccounts( params: Params$Resource$Liasettings$Getaccessiblegmbaccounts, options: StreamMethodOptions | BodyResponseCallback, @@ -13701,8 +13815,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Getaccessiblegmbaccounts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13760,11 +13876,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Liasettings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Liasettings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Liasettings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13797,8 +13913,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13853,11 +13969,13 @@ export namespace content_v2_1 { listposdataproviders( params: Params$Resource$Liasettings$Listposdataproviders, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listposdataproviders( params?: Params$Resource$Liasettings$Listposdataproviders, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listposdataproviders( params: Params$Resource$Liasettings$Listposdataproviders, options: StreamMethodOptions | BodyResponseCallback, @@ -13892,8 +14010,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Listposdataproviders; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13950,11 +14070,13 @@ export namespace content_v2_1 { requestgmbaccess( params: Params$Resource$Liasettings$Requestgmbaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestgmbaccess( params?: Params$Resource$Liasettings$Requestgmbaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; requestgmbaccess( params: Params$Resource$Liasettings$Requestgmbaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -13989,8 +14111,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Requestgmbaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14048,11 +14172,13 @@ export namespace content_v2_1 { requestinventoryverification( params: Params$Resource$Liasettings$Requestinventoryverification, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestinventoryverification( params?: Params$Resource$Liasettings$Requestinventoryverification, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; requestinventoryverification( params: Params$Resource$Liasettings$Requestinventoryverification, options: StreamMethodOptions | BodyResponseCallback, @@ -14087,8 +14213,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Requestinventoryverification; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14146,11 +14274,13 @@ export namespace content_v2_1 { setinventoryverificationcontact( params: Params$Resource$Liasettings$Setinventoryverificationcontact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setinventoryverificationcontact( params?: Params$Resource$Liasettings$Setinventoryverificationcontact, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setinventoryverificationcontact( params: Params$Resource$Liasettings$Setinventoryverificationcontact, options: StreamMethodOptions | BodyResponseCallback, @@ -14185,8 +14315,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Setinventoryverificationcontact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14252,11 +14384,11 @@ export namespace content_v2_1 { setomnichannelexperience( params: Params$Resource$Liasettings$Setomnichannelexperience, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setomnichannelexperience( params?: Params$Resource$Liasettings$Setomnichannelexperience, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setomnichannelexperience( params: Params$Resource$Liasettings$Setomnichannelexperience, options: StreamMethodOptions | BodyResponseCallback, @@ -14291,8 +14423,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Setomnichannelexperience; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14348,11 +14480,13 @@ export namespace content_v2_1 { setposdataprovider( params: Params$Resource$Liasettings$Setposdataprovider, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setposdataprovider( params?: Params$Resource$Liasettings$Setposdataprovider, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setposdataprovider( params: Params$Resource$Liasettings$Setposdataprovider, options: StreamMethodOptions | BodyResponseCallback, @@ -14387,8 +14521,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Setposdataprovider; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14446,11 +14582,11 @@ export namespace content_v2_1 { update( params: Params$Resource$Liasettings$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Liasettings$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Liasettings$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -14479,7 +14615,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14705,11 +14844,13 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Localinventory$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Localinventory$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; custombatch( params: Params$Resource$Localinventory$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -14744,8 +14885,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Localinventory$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14803,11 +14946,11 @@ export namespace content_v2_1 { insert( params: Params$Resource$Localinventory$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Localinventory$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Localinventory$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -14836,7 +14979,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Localinventory$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14923,11 +15069,11 @@ export namespace content_v2_1 { renderaccountissues( params: Params$Resource$Merchantsupport$Renderaccountissues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; renderaccountissues( params?: Params$Resource$Merchantsupport$Renderaccountissues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; renderaccountissues( params: Params$Resource$Merchantsupport$Renderaccountissues, options: StreamMethodOptions | BodyResponseCallback, @@ -14962,8 +15108,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Merchantsupport$Renderaccountissues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15019,11 +15165,11 @@ export namespace content_v2_1 { renderproductissues( params: Params$Resource$Merchantsupport$Renderproductissues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; renderproductissues( params?: Params$Resource$Merchantsupport$Renderproductissues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; renderproductissues( params: Params$Resource$Merchantsupport$Renderproductissues, options: StreamMethodOptions | BodyResponseCallback, @@ -15058,8 +15204,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Merchantsupport$Renderproductissues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15115,11 +15261,11 @@ export namespace content_v2_1 { triggeraction( params: Params$Resource$Merchantsupport$Triggeraction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; triggeraction( params?: Params$Resource$Merchantsupport$Triggeraction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; triggeraction( params: Params$Resource$Merchantsupport$Triggeraction, options: StreamMethodOptions | BodyResponseCallback, @@ -15154,8 +15300,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Merchantsupport$Triggeraction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15279,11 +15425,11 @@ export namespace content_v2_1 { create( params: Params$Resource$Ordertrackingsignals$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Ordertrackingsignals$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Ordertrackingsignals$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15314,8 +15460,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ordertrackingsignals$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15390,11 +15536,11 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Pos$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Pos$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Pos$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -15429,8 +15575,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15485,11 +15631,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Pos$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Pos$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Pos$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15516,7 +15662,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15571,11 +15720,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Pos$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Pos$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Pos$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15604,7 +15753,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15659,11 +15811,11 @@ export namespace content_v2_1 { insert( params: Params$Resource$Pos$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Pos$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Pos$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -15692,7 +15844,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15747,11 +15902,11 @@ export namespace content_v2_1 { inventory( params: Params$Resource$Pos$Inventory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; inventory( params?: Params$Resource$Pos$Inventory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; inventory( params: Params$Resource$Pos$Inventory, options: StreamMethodOptions | BodyResponseCallback, @@ -15786,8 +15941,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Inventory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15842,11 +15997,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Pos$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Pos$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Pos$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15875,7 +16030,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15930,11 +16088,11 @@ export namespace content_v2_1 { sale( params: Params$Resource$Pos$Sale, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sale( params?: Params$Resource$Pos$Sale, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sale( params: Params$Resource$Pos$Sale, options: StreamMethodOptions | BodyResponseCallback, @@ -15963,7 +16121,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Sale; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16114,11 +16275,11 @@ export namespace content_v2_1 { create( params: Params$Resource$Productdeliverytime$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Productdeliverytime$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Productdeliverytime$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16149,8 +16310,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Productdeliverytime$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16205,11 +16366,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Productdeliverytime$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Productdeliverytime$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Productdeliverytime$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16236,7 +16397,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Productdeliverytime$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16292,11 +16456,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Productdeliverytime$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Productdeliverytime$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Productdeliverytime$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16327,8 +16491,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Productdeliverytime$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16426,11 +16590,11 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Products$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Products$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Products$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -16465,8 +16629,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16522,11 +16686,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Products$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Products$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Products$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16553,7 +16717,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16607,11 +16774,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16640,7 +16807,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16694,11 +16864,11 @@ export namespace content_v2_1 { insert( params: Params$Resource$Products$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Products$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Products$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -16727,7 +16897,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16782,11 +16955,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16819,8 +16992,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16875,11 +17048,11 @@ export namespace content_v2_1 { update( params: Params$Resource$Products$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Products$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Products$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -16908,7 +17081,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17049,11 +17225,13 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Productstatuses$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Productstatuses$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; custombatch( params: Params$Resource$Productstatuses$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -17088,8 +17266,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Productstatuses$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17147,11 +17327,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Productstatuses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Productstatuses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Productstatuses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17180,7 +17360,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Productstatuses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17235,11 +17418,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Productstatuses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Productstatuses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Productstatuses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17274,8 +17457,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Productstatuses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17379,11 +17562,11 @@ export namespace content_v2_1 { create( params: Params$Resource$Promotions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Promotions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Promotions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17412,7 +17595,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Promotions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17468,11 +17654,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Promotions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Promotions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Promotions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17501,7 +17687,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Promotions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17555,11 +17744,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Promotions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Promotions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Promotions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17592,8 +17781,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Promotions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17700,11 +17889,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Pubsubnotificationsettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Pubsubnotificationsettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Pubsubnotificationsettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17739,8 +17928,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pubsubnotificationsettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17795,11 +17984,11 @@ export namespace content_v2_1 { update( params: Params$Resource$Pubsubnotificationsettings$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Pubsubnotificationsettings$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Pubsubnotificationsettings$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -17834,8 +18023,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pubsubnotificationsettings$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17917,11 +18106,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Quotas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Quotas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Quotas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17954,8 +18143,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Quotas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18032,11 +18221,11 @@ export namespace content_v2_1 { generate( params: Params$Resource$Recommendations$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Recommendations$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Recommendations$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -18071,8 +18260,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Recommendations$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18129,11 +18318,11 @@ export namespace content_v2_1 { reportInteraction( params: Params$Resource$Recommendations$Reportinteraction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportInteraction( params?: Params$Resource$Recommendations$Reportinteraction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportInteraction( params: Params$Resource$Recommendations$Reportinteraction, options: StreamMethodOptions | BodyResponseCallback, @@ -18160,7 +18349,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Recommendations$Reportinteraction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18251,11 +18443,13 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Regionalinventory$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Regionalinventory$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; custombatch( params: Params$Resource$Regionalinventory$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -18290,8 +18484,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionalinventory$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18349,11 +18545,11 @@ export namespace content_v2_1 { insert( params: Params$Resource$Regionalinventory$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Regionalinventory$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Regionalinventory$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -18384,8 +18580,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regionalinventory$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18472,11 +18668,11 @@ export namespace content_v2_1 { create( params: Params$Resource$Regions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Regions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Regions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18505,7 +18701,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18560,11 +18759,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Regions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Regions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Regions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18591,7 +18790,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18645,11 +18847,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Regions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Regions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Regions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18678,7 +18880,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18732,11 +18937,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Regions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18767,8 +18972,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18823,11 +19028,11 @@ export namespace content_v2_1 { patch( params: Params$Resource$Regions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Regions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Regions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18856,7 +19061,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18986,11 +19194,11 @@ export namespace content_v2_1 { search( params: Params$Resource$Reports$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Reports$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Reports$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -19019,7 +19227,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19092,11 +19303,13 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Returnaddress$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Returnaddress$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; custombatch( params: Params$Resource$Returnaddress$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -19131,8 +19344,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnaddress$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19190,11 +19405,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Returnaddress$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Returnaddress$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Returnaddress$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19221,7 +19436,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnaddress$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19277,11 +19495,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Returnaddress$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Returnaddress$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Returnaddress$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19310,7 +19528,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnaddress$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19366,11 +19587,11 @@ export namespace content_v2_1 { insert( params: Params$Resource$Returnaddress$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Returnaddress$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Returnaddress$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -19399,7 +19620,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnaddress$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19455,11 +19679,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Returnaddress$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Returnaddress$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Returnaddress$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19494,8 +19718,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnaddress$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19619,11 +19843,11 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Returnpolicy$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Returnpolicy$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Returnpolicy$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -19658,8 +19882,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnpolicy$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19717,11 +19941,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Returnpolicy$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Returnpolicy$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Returnpolicy$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19748,7 +19972,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnpolicy$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19804,11 +20031,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Returnpolicy$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Returnpolicy$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Returnpolicy$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19837,7 +20064,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnpolicy$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19892,11 +20122,11 @@ export namespace content_v2_1 { insert( params: Params$Resource$Returnpolicy$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Returnpolicy$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Returnpolicy$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -19925,7 +20155,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnpolicy$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19981,11 +20214,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Returnpolicy$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Returnpolicy$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Returnpolicy$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20018,8 +20251,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnpolicy$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20130,11 +20363,11 @@ export namespace content_v2_1 { create( params: Params$Resource$Returnpolicyonline$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Returnpolicyonline$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Returnpolicyonline$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20165,8 +20398,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnpolicyonline$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20221,11 +20454,11 @@ export namespace content_v2_1 { delete( params: Params$Resource$Returnpolicyonline$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Returnpolicyonline$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Returnpolicyonline$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20252,7 +20485,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnpolicyonline$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20308,11 +20544,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Returnpolicyonline$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Returnpolicyonline$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Returnpolicyonline$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20343,8 +20579,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnpolicyonline$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20400,11 +20636,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Returnpolicyonline$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Returnpolicyonline$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Returnpolicyonline$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20439,8 +20675,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnpolicyonline$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20497,11 +20733,11 @@ export namespace content_v2_1 { patch( params: Params$Resource$Returnpolicyonline$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Returnpolicyonline$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Returnpolicyonline$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20532,8 +20768,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Returnpolicyonline$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20654,11 +20890,13 @@ export namespace content_v2_1 { custombatch( params: Params$Resource$Shippingsettings$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Shippingsettings$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; custombatch( params: Params$Resource$Shippingsettings$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -20693,8 +20931,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20752,11 +20992,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Shippingsettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Shippingsettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Shippingsettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20785,7 +21025,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20841,11 +21084,13 @@ export namespace content_v2_1 { getsupportedcarriers( params: Params$Resource$Shippingsettings$Getsupportedcarriers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getsupportedcarriers( params?: Params$Resource$Shippingsettings$Getsupportedcarriers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getsupportedcarriers( params: Params$Resource$Shippingsettings$Getsupportedcarriers, options: StreamMethodOptions | BodyResponseCallback, @@ -20880,8 +21125,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Getsupportedcarriers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20938,11 +21185,13 @@ export namespace content_v2_1 { getsupportedholidays( params: Params$Resource$Shippingsettings$Getsupportedholidays, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getsupportedholidays( params?: Params$Resource$Shippingsettings$Getsupportedholidays, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getsupportedholidays( params: Params$Resource$Shippingsettings$Getsupportedholidays, options: StreamMethodOptions | BodyResponseCallback, @@ -20977,8 +21226,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Getsupportedholidays; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21035,11 +21286,13 @@ export namespace content_v2_1 { getsupportedpickupservices( params: Params$Resource$Shippingsettings$Getsupportedpickupservices, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getsupportedpickupservices( params?: Params$Resource$Shippingsettings$Getsupportedpickupservices, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getsupportedpickupservices( params: Params$Resource$Shippingsettings$Getsupportedpickupservices, options: StreamMethodOptions | BodyResponseCallback, @@ -21074,8 +21327,10 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Getsupportedpickupservices; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21133,11 +21388,11 @@ export namespace content_v2_1 { list( params: Params$Resource$Shippingsettings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Shippingsettings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Shippingsettings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21172,8 +21427,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21230,11 +21485,11 @@ export namespace content_v2_1 { update( params: Params$Resource$Shippingsettings$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Shippingsettings$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Shippingsettings$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -21263,7 +21518,10 @@ export namespace content_v2_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21397,11 +21655,11 @@ export namespace content_v2_1 { get( params: Params$Resource$Shoppingadsprogram$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Shoppingadsprogram$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Shoppingadsprogram$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21434,8 +21692,8 @@ export namespace content_v2_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shoppingadsprogram$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21490,11 +21748,11 @@ export namespace content_v2_1 { requestreview( params: Params$Resource$Shoppingadsprogram$Requestreview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestreview( params?: Params$Resource$Shoppingadsprogram$Requestreview, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; requestreview( params: Params$Resource$Shoppingadsprogram$Requestreview, options: StreamMethodOptions | BodyResponseCallback, @@ -21521,7 +21779,10 @@ export namespace content_v2_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shoppingadsprogram$Requestreview; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/content/v2.ts b/src/apis/content/v2.ts index 73cb95537be..764aa78c5fe 100644 --- a/src/apis/content/v2.ts +++ b/src/apis/content/v2.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5428,11 +5428,11 @@ export namespace content_v2 { authinfo( params: Params$Resource$Accounts$Authinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; authinfo( params?: Params$Resource$Accounts$Authinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; authinfo( params: Params$Resource$Accounts$Authinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -5467,8 +5467,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Authinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5569,11 +5569,11 @@ export namespace content_v2 { claimwebsite( params: Params$Resource$Accounts$Claimwebsite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; claimwebsite( params?: Params$Resource$Accounts$Claimwebsite, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; claimwebsite( params: Params$Resource$Accounts$Claimwebsite, options: StreamMethodOptions | BodyResponseCallback, @@ -5608,8 +5608,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Claimwebsite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5717,11 +5717,11 @@ export namespace content_v2 { custombatch( params: Params$Resource$Accounts$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Accounts$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Accounts$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -5756,8 +5756,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5855,11 +5855,11 @@ export namespace content_v2 { delete( params: Params$Resource$Accounts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5886,7 +5886,7 @@ export namespace content_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5994,11 +5994,11 @@ export namespace content_v2 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6027,7 +6027,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6154,11 +6154,11 @@ export namespace content_v2 { insert( params: Params$Resource$Accounts$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6187,7 +6187,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6295,11 +6295,11 @@ export namespace content_v2 { link( params: Params$Resource$Accounts$Link, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; link( params?: Params$Resource$Accounts$Link, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; link( params: Params$Resource$Accounts$Link, options: StreamMethodOptions | BodyResponseCallback, @@ -6332,8 +6332,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Link; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6434,11 +6434,11 @@ export namespace content_v2 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6471,8 +6471,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6602,11 +6602,11 @@ export namespace content_v2 { update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6635,7 +6635,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6864,11 +6864,11 @@ export namespace content_v2 { custombatch( params: Params$Resource$Accountstatuses$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Accountstatuses$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Accountstatuses$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -6903,8 +6903,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountstatuses$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7012,11 +7012,11 @@ export namespace content_v2 { get( params: Params$Resource$Accountstatuses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountstatuses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountstatuses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7045,7 +7045,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountstatuses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7149,11 +7149,11 @@ export namespace content_v2 { list( params: Params$Resource$Accountstatuses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountstatuses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accountstatuses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7188,8 +7188,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountstatuses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7344,11 +7344,11 @@ export namespace content_v2 { custombatch( params: Params$Resource$Accounttax$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Accounttax$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Accounttax$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -7383,8 +7383,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounttax$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7487,11 +7487,11 @@ export namespace content_v2 { get( params: Params$Resource$Accounttax$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounttax$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounttax$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7520,7 +7520,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounttax$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7621,11 +7621,11 @@ export namespace content_v2 { list( params: Params$Resource$Accounttax$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounttax$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounttax$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7658,8 +7658,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounttax$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7771,11 +7771,11 @@ export namespace content_v2 { update( params: Params$Resource$Accounttax$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounttax$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounttax$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7804,7 +7804,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounttax$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7973,11 +7973,11 @@ export namespace content_v2 { custombatch( params: Params$Resource$Datafeeds$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Datafeeds$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Datafeeds$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -8012,8 +8012,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8111,11 +8111,11 @@ export namespace content_v2 { delete( params: Params$Resource$Datafeeds$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Datafeeds$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Datafeeds$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8142,7 +8142,7 @@ export namespace content_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8241,11 +8241,11 @@ export namespace content_v2 { fetchnow( params: Params$Resource$Datafeeds$Fetchnow, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchnow( params?: Params$Resource$Datafeeds$Fetchnow, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchnow( params: Params$Resource$Datafeeds$Fetchnow, options: StreamMethodOptions | BodyResponseCallback, @@ -8280,8 +8280,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Fetchnow; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8391,11 +8391,11 @@ export namespace content_v2 { get( params: Params$Resource$Datafeeds$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Datafeeds$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Datafeeds$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8424,7 +8424,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8551,11 +8551,11 @@ export namespace content_v2 { insert( params: Params$Resource$Datafeeds$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Datafeeds$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Datafeeds$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8584,7 +8584,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8686,11 +8686,11 @@ export namespace content_v2 { list( params: Params$Resource$Datafeeds$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Datafeeds$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Datafeeds$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8723,8 +8723,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8854,11 +8854,11 @@ export namespace content_v2 { update( params: Params$Resource$Datafeeds$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Datafeeds$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Datafeeds$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8887,7 +8887,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeeds$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9095,11 +9095,11 @@ export namespace content_v2 { custombatch( params: Params$Resource$Datafeedstatuses$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Datafeedstatuses$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Datafeedstatuses$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -9134,8 +9134,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeedstatuses$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9249,11 +9249,11 @@ export namespace content_v2 { get( params: Params$Resource$Datafeedstatuses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Datafeedstatuses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Datafeedstatuses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9282,7 +9282,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeedstatuses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9384,11 +9384,11 @@ export namespace content_v2 { list( params: Params$Resource$Datafeedstatuses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Datafeedstatuses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Datafeedstatuses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9423,8 +9423,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datafeedstatuses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9580,11 +9580,11 @@ export namespace content_v2 { custombatch( params: Params$Resource$Liasettings$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Liasettings$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Liasettings$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -9619,8 +9619,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9723,11 +9723,11 @@ export namespace content_v2 { get( params: Params$Resource$Liasettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Liasettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Liasettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9756,7 +9756,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9855,11 +9855,11 @@ export namespace content_v2 { getaccessiblegmbaccounts( params: Params$Resource$Liasettings$Getaccessiblegmbaccounts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getaccessiblegmbaccounts( params?: Params$Resource$Liasettings$Getaccessiblegmbaccounts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getaccessiblegmbaccounts( params: Params$Resource$Liasettings$Getaccessiblegmbaccounts, options: StreamMethodOptions | BodyResponseCallback, @@ -9894,8 +9894,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Getaccessiblegmbaccounts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10000,11 +10000,11 @@ export namespace content_v2 { list( params: Params$Resource$Liasettings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Liasettings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Liasettings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10037,8 +10037,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10132,11 +10132,11 @@ export namespace content_v2 { listposdataproviders( params: Params$Resource$Liasettings$Listposdataproviders, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listposdataproviders( params?: Params$Resource$Liasettings$Listposdataproviders, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listposdataproviders( params: Params$Resource$Liasettings$Listposdataproviders, options: StreamMethodOptions | BodyResponseCallback, @@ -10171,8 +10171,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Listposdataproviders; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10275,11 +10275,11 @@ export namespace content_v2 { requestgmbaccess( params: Params$Resource$Liasettings$Requestgmbaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestgmbaccess( params?: Params$Resource$Liasettings$Requestgmbaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; requestgmbaccess( params: Params$Resource$Liasettings$Requestgmbaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -10314,8 +10314,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Requestgmbaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10418,11 +10418,11 @@ export namespace content_v2 { requestinventoryverification( params: Params$Resource$Liasettings$Requestinventoryverification, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestinventoryverification( params?: Params$Resource$Liasettings$Requestinventoryverification, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; requestinventoryverification( params: Params$Resource$Liasettings$Requestinventoryverification, options: StreamMethodOptions | BodyResponseCallback, @@ -10457,8 +10457,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Requestinventoryverification; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10567,11 +10567,11 @@ export namespace content_v2 { setinventoryverificationcontact( params: Params$Resource$Liasettings$Setinventoryverificationcontact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setinventoryverificationcontact( params?: Params$Resource$Liasettings$Setinventoryverificationcontact, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setinventoryverificationcontact( params: Params$Resource$Liasettings$Setinventoryverificationcontact, options: StreamMethodOptions | BodyResponseCallback, @@ -10606,8 +10606,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Setinventoryverificationcontact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10722,11 +10722,11 @@ export namespace content_v2 { setposdataprovider( params: Params$Resource$Liasettings$Setposdataprovider, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setposdataprovider( params?: Params$Resource$Liasettings$Setposdataprovider, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setposdataprovider( params: Params$Resource$Liasettings$Setposdataprovider, options: StreamMethodOptions | BodyResponseCallback, @@ -10761,8 +10761,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Setposdataprovider; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10877,11 +10877,11 @@ export namespace content_v2 { update( params: Params$Resource$Liasettings$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Liasettings$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Liasettings$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10910,7 +10910,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Liasettings$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11178,11 +11178,11 @@ export namespace content_v2 { createchargeinvoice( params: Params$Resource$Orderinvoices$Createchargeinvoice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createchargeinvoice( params?: Params$Resource$Orderinvoices$Createchargeinvoice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createchargeinvoice( params: Params$Resource$Orderinvoices$Createchargeinvoice, options: StreamMethodOptions | BodyResponseCallback, @@ -11217,8 +11217,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orderinvoices$Createchargeinvoice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11332,11 +11332,11 @@ export namespace content_v2 { createrefundinvoice( params: Params$Resource$Orderinvoices$Createrefundinvoice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createrefundinvoice( params?: Params$Resource$Orderinvoices$Createrefundinvoice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createrefundinvoice( params: Params$Resource$Orderinvoices$Createrefundinvoice, options: StreamMethodOptions | BodyResponseCallback, @@ -11371,8 +11371,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orderinvoices$Createrefundinvoice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11521,11 +11521,11 @@ export namespace content_v2 { listdisbursements( params: Params$Resource$Orderreports$Listdisbursements, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listdisbursements( params?: Params$Resource$Orderreports$Listdisbursements, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listdisbursements( params: Params$Resource$Orderreports$Listdisbursements, options: StreamMethodOptions | BodyResponseCallback, @@ -11560,8 +11560,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orderreports$Listdisbursements; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11671,11 +11671,11 @@ export namespace content_v2 { listtransactions( params: Params$Resource$Orderreports$Listtransactions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listtransactions( params?: Params$Resource$Orderreports$Listtransactions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listtransactions( params: Params$Resource$Orderreports$Listtransactions, options: StreamMethodOptions | BodyResponseCallback, @@ -11710,8 +11710,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orderreports$Listtransactions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11875,11 +11875,11 @@ export namespace content_v2 { get( params: Params$Resource$Orderreturns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Orderreturns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Orderreturns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11910,8 +11910,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orderreturns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12018,11 +12018,11 @@ export namespace content_v2 { list( params: Params$Resource$Orderreturns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Orderreturns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Orderreturns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12055,8 +12055,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orderreturns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12209,11 +12209,11 @@ export namespace content_v2 { acknowledge( params: Params$Resource$Orders$Acknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params?: Params$Resource$Orders$Acknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params: Params$Resource$Orders$Acknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -12248,8 +12248,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Acknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12347,11 +12347,11 @@ export namespace content_v2 { advancetestorder( params: Params$Resource$Orders$Advancetestorder, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; advancetestorder( params?: Params$Resource$Orders$Advancetestorder, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; advancetestorder( params: Params$Resource$Orders$Advancetestorder, options: StreamMethodOptions | BodyResponseCallback, @@ -12386,8 +12386,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Advancetestorder; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12498,11 +12498,11 @@ export namespace content_v2 { cancel( params: Params$Resource$Orders$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Orders$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Orders$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -12535,8 +12535,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12650,11 +12650,11 @@ export namespace content_v2 { cancellineitem( params: Params$Resource$Orders$Cancellineitem, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancellineitem( params?: Params$Resource$Orders$Cancellineitem, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancellineitem( params: Params$Resource$Orders$Cancellineitem, options: StreamMethodOptions | BodyResponseCallback, @@ -12689,8 +12689,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Cancellineitem; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12799,11 +12799,11 @@ export namespace content_v2 { canceltestorderbycustomer( params: Params$Resource$Orders$Canceltestorderbycustomer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; canceltestorderbycustomer( params?: Params$Resource$Orders$Canceltestorderbycustomer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; canceltestorderbycustomer( params: Params$Resource$Orders$Canceltestorderbycustomer, options: StreamMethodOptions | BodyResponseCallback, @@ -12838,8 +12838,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Canceltestorderbycustomer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12949,11 +12949,11 @@ export namespace content_v2 { createtestorder( params: Params$Resource$Orders$Createtestorder, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createtestorder( params?: Params$Resource$Orders$Createtestorder, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createtestorder( params: Params$Resource$Orders$Createtestorder, options: StreamMethodOptions | BodyResponseCallback, @@ -12988,8 +12988,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Createtestorder; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13099,11 +13099,11 @@ export namespace content_v2 { createtestreturn( params: Params$Resource$Orders$Createtestreturn, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createtestreturn( params?: Params$Resource$Orders$Createtestreturn, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createtestreturn( params: Params$Resource$Orders$Createtestreturn, options: StreamMethodOptions | BodyResponseCallback, @@ -13138,8 +13138,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Createtestreturn; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13243,11 +13243,11 @@ export namespace content_v2 { custombatch( params: Params$Resource$Orders$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Orders$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Orders$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -13282,8 +13282,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13403,11 +13403,11 @@ export namespace content_v2 { get( params: Params$Resource$Orders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Orders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Orders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13436,7 +13436,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13534,11 +13534,11 @@ export namespace content_v2 { getbymerchantorderid( params: Params$Resource$Orders$Getbymerchantorderid, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getbymerchantorderid( params?: Params$Resource$Orders$Getbymerchantorderid, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getbymerchantorderid( params: Params$Resource$Orders$Getbymerchantorderid, options: StreamMethodOptions | BodyResponseCallback, @@ -13573,8 +13573,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Getbymerchantorderid; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13678,11 +13678,11 @@ export namespace content_v2 { gettestordertemplate( params: Params$Resource$Orders$Gettestordertemplate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; gettestordertemplate( params?: Params$Resource$Orders$Gettestordertemplate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; gettestordertemplate( params: Params$Resource$Orders$Gettestordertemplate, options: StreamMethodOptions | BodyResponseCallback, @@ -13717,8 +13717,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Gettestordertemplate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13835,11 +13835,11 @@ export namespace content_v2 { instorerefundlineitem( params: Params$Resource$Orders$Instorerefundlineitem, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; instorerefundlineitem( params?: Params$Resource$Orders$Instorerefundlineitem, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; instorerefundlineitem( params: Params$Resource$Orders$Instorerefundlineitem, options: StreamMethodOptions | BodyResponseCallback, @@ -13874,8 +13874,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Instorerefundlineitem; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13990,11 +13990,11 @@ export namespace content_v2 { list( params: Params$Resource$Orders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Orders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Orders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14025,8 +14025,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14138,11 +14138,11 @@ export namespace content_v2 { refund( params: Params$Resource$Orders$Refund, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; refund( params?: Params$Resource$Orders$Refund, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; refund( params: Params$Resource$Orders$Refund, options: StreamMethodOptions | BodyResponseCallback, @@ -14175,8 +14175,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Refund; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14287,11 +14287,11 @@ export namespace content_v2 { rejectreturnlineitem( params: Params$Resource$Orders$Rejectreturnlineitem, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rejectreturnlineitem( params?: Params$Resource$Orders$Rejectreturnlineitem, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rejectreturnlineitem( params: Params$Resource$Orders$Rejectreturnlineitem, options: StreamMethodOptions | BodyResponseCallback, @@ -14326,8 +14326,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Rejectreturnlineitem; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14442,11 +14442,11 @@ export namespace content_v2 { returnlineitem( params: Params$Resource$Orders$Returnlineitem, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; returnlineitem( params?: Params$Resource$Orders$Returnlineitem, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; returnlineitem( params: Params$Resource$Orders$Returnlineitem, options: StreamMethodOptions | BodyResponseCallback, @@ -14481,8 +14481,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Returnlineitem; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14599,11 +14599,11 @@ export namespace content_v2 { returnrefundlineitem( params: Params$Resource$Orders$Returnrefundlineitem, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; returnrefundlineitem( params?: Params$Resource$Orders$Returnrefundlineitem, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; returnrefundlineitem( params: Params$Resource$Orders$Returnrefundlineitem, options: StreamMethodOptions | BodyResponseCallback, @@ -14638,8 +14638,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Returnrefundlineitem; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14752,11 +14752,11 @@ export namespace content_v2 { setlineitemmetadata( params: Params$Resource$Orders$Setlineitemmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setlineitemmetadata( params?: Params$Resource$Orders$Setlineitemmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setlineitemmetadata( params: Params$Resource$Orders$Setlineitemmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -14791,8 +14791,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Setlineitemmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14908,11 +14908,11 @@ export namespace content_v2 { shiplineitems( params: Params$Resource$Orders$Shiplineitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; shiplineitems( params?: Params$Resource$Orders$Shiplineitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; shiplineitems( params: Params$Resource$Orders$Shiplineitems, options: StreamMethodOptions | BodyResponseCallback, @@ -14947,8 +14947,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Shiplineitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15060,11 +15060,11 @@ export namespace content_v2 { updatelineitemshippingdetails( params: Params$Resource$Orders$Updatelineitemshippingdetails, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatelineitemshippingdetails( params?: Params$Resource$Orders$Updatelineitemshippingdetails, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatelineitemshippingdetails( params: Params$Resource$Orders$Updatelineitemshippingdetails, options: StreamMethodOptions | BodyResponseCallback, @@ -15099,8 +15099,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Updatelineitemshippingdetails; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15211,11 +15211,11 @@ export namespace content_v2 { updatemerchantorderid( params: Params$Resource$Orders$Updatemerchantorderid, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatemerchantorderid( params?: Params$Resource$Orders$Updatemerchantorderid, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatemerchantorderid( params: Params$Resource$Orders$Updatemerchantorderid, options: StreamMethodOptions | BodyResponseCallback, @@ -15250,8 +15250,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Updatemerchantorderid; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15366,11 +15366,11 @@ export namespace content_v2 { updateshipment( params: Params$Resource$Orders$Updateshipment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateshipment( params?: Params$Resource$Orders$Updateshipment, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateshipment( params: Params$Resource$Orders$Updateshipment, options: StreamMethodOptions | BodyResponseCallback, @@ -15405,8 +15405,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Updateshipment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15860,11 +15860,11 @@ export namespace content_v2 { custombatch( params: Params$Resource$Pos$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Pos$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Pos$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -15899,8 +15899,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15997,11 +15997,11 @@ export namespace content_v2 { delete( params: Params$Resource$Pos$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Pos$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Pos$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16028,7 +16028,7 @@ export namespace content_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16135,11 +16135,11 @@ export namespace content_v2 { get( params: Params$Resource$Pos$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Pos$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Pos$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16168,7 +16168,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16290,11 +16290,11 @@ export namespace content_v2 { insert( params: Params$Resource$Pos$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Pos$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Pos$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -16323,7 +16323,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16445,11 +16445,11 @@ export namespace content_v2 { inventory( params: Params$Resource$Pos$Inventory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; inventory( params?: Params$Resource$Pos$Inventory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; inventory( params: Params$Resource$Pos$Inventory, options: StreamMethodOptions | BodyResponseCallback, @@ -16484,8 +16484,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Inventory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16584,11 +16584,11 @@ export namespace content_v2 { list( params: Params$Resource$Pos$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Pos$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Pos$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16617,7 +16617,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16741,11 +16741,11 @@ export namespace content_v2 { sale( params: Params$Resource$Pos$Sale, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sale( params?: Params$Resource$Pos$Sale, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sale( params: Params$Resource$Pos$Sale, options: StreamMethodOptions | BodyResponseCallback, @@ -16774,7 +16774,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pos$Sale; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16996,11 +16996,11 @@ export namespace content_v2 { custombatch( params: Params$Resource$Products$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Products$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Products$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -17035,8 +17035,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17132,11 +17132,11 @@ export namespace content_v2 { delete( params: Params$Resource$Products$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Products$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Products$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17163,7 +17163,7 @@ export namespace content_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17338,11 +17338,11 @@ export namespace content_v2 { get( params: Params$Resource$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17371,7 +17371,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17632,11 +17632,11 @@ export namespace content_v2 { insert( params: Params$Resource$Products$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Products$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Products$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -17665,7 +17665,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17769,11 +17769,11 @@ export namespace content_v2 { list( params: Params$Resource$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17806,8 +17806,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17989,11 +17989,11 @@ export namespace content_v2 { custombatch( params: Params$Resource$Productstatuses$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Productstatuses$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Productstatuses$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -18028,8 +18028,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Productstatuses$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18144,11 +18144,11 @@ export namespace content_v2 { get( params: Params$Resource$Productstatuses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Productstatuses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Productstatuses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18177,7 +18177,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Productstatuses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18285,11 +18285,11 @@ export namespace content_v2 { list( params: Params$Resource$Productstatuses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Productstatuses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Productstatuses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18324,8 +18324,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Productstatuses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18497,11 +18497,11 @@ export namespace content_v2 { custombatch( params: Params$Resource$Shippingsettings$Custombatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params?: Params$Resource$Shippingsettings$Custombatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; custombatch( params: Params$Resource$Shippingsettings$Custombatch, options: StreamMethodOptions | BodyResponseCallback, @@ -18536,8 +18536,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Custombatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18641,11 +18641,11 @@ export namespace content_v2 { get( params: Params$Resource$Shippingsettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Shippingsettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Shippingsettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18674,7 +18674,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18771,11 +18771,11 @@ export namespace content_v2 { getsupportedcarriers( params: Params$Resource$Shippingsettings$Getsupportedcarriers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getsupportedcarriers( params?: Params$Resource$Shippingsettings$Getsupportedcarriers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getsupportedcarriers( params: Params$Resource$Shippingsettings$Getsupportedcarriers, options: StreamMethodOptions | BodyResponseCallback, @@ -18810,8 +18810,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Getsupportedcarriers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18910,11 +18910,11 @@ export namespace content_v2 { getsupportedholidays( params: Params$Resource$Shippingsettings$Getsupportedholidays, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getsupportedholidays( params?: Params$Resource$Shippingsettings$Getsupportedholidays, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getsupportedholidays( params: Params$Resource$Shippingsettings$Getsupportedholidays, options: StreamMethodOptions | BodyResponseCallback, @@ -18949,8 +18949,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Getsupportedholidays; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19049,11 +19049,11 @@ export namespace content_v2 { getsupportedpickupservices( params: Params$Resource$Shippingsettings$Getsupportedpickupservices, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getsupportedpickupservices( params?: Params$Resource$Shippingsettings$Getsupportedpickupservices, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getsupportedpickupservices( params: Params$Resource$Shippingsettings$Getsupportedpickupservices, options: StreamMethodOptions | BodyResponseCallback, @@ -19088,8 +19088,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Getsupportedpickupservices; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19194,11 +19194,11 @@ export namespace content_v2 { list( params: Params$Resource$Shippingsettings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Shippingsettings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Shippingsettings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19233,8 +19233,8 @@ export namespace content_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19350,11 +19350,11 @@ export namespace content_v2 { update( params: Params$Resource$Shippingsettings$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Shippingsettings$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Shippingsettings$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -19383,7 +19383,7 @@ export namespace content_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shippingsettings$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/contentwarehouse/index.ts b/src/apis/contentwarehouse/index.ts index b7f1bd9404e..ac5b6b00008 100644 --- a/src/apis/contentwarehouse/index.ts +++ b/src/apis/contentwarehouse/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/contentwarehouse/package.json b/src/apis/contentwarehouse/package.json index 67bd94eef1e..ee1e680d45e 100644 --- a/src/apis/contentwarehouse/package.json +++ b/src/apis/contentwarehouse/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/contentwarehouse/v1.ts b/src/apis/contentwarehouse/v1.ts index 9beafcd56ff..b9956aab088 100644 --- a/src/apis/contentwarehouse/v1.ts +++ b/src/apis/contentwarehouse/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3572,11 +3572,13 @@ export namespace contentwarehouse_v1 { fetchAcl( params: Params$Resource$Projects$Fetchacl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchAcl( params?: Params$Resource$Projects$Fetchacl, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchAcl( params: Params$Resource$Projects$Fetchacl, options: StreamMethodOptions | BodyResponseCallback, @@ -3611,8 +3613,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Fetchacl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3670,11 +3674,13 @@ export namespace contentwarehouse_v1 { setAcl( params: Params$Resource$Projects$Setacl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAcl( params?: Params$Resource$Projects$Setacl, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setAcl( params: Params$Resource$Projects$Setacl, options: StreamMethodOptions | BodyResponseCallback, @@ -3709,8 +3715,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setacl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3814,11 +3822,13 @@ export namespace contentwarehouse_v1 { getStatus( params: Params$Resource$Projects$Locations$Getstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStatus( params?: Params$Resource$Projects$Locations$Getstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getStatus( params: Params$Resource$Projects$Locations$Getstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -3853,8 +3863,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3912,11 +3924,11 @@ export namespace contentwarehouse_v1 { initialize( params: Params$Resource$Projects$Locations$Initialize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initialize( params?: Params$Resource$Projects$Locations$Initialize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initialize( params: Params$Resource$Projects$Locations$Initialize, options: StreamMethodOptions | BodyResponseCallback, @@ -3951,8 +3963,8 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Initialize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4008,11 +4020,11 @@ export namespace contentwarehouse_v1 { runPipeline( params: Params$Resource$Projects$Locations$Runpipeline, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runPipeline( params?: Params$Resource$Projects$Locations$Runpipeline, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runPipeline( params: Params$Resource$Projects$Locations$Runpipeline, options: StreamMethodOptions | BodyResponseCallback, @@ -4047,8 +4059,8 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runpipeline; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4150,11 +4162,13 @@ export namespace contentwarehouse_v1 { create( params: Params$Resource$Projects$Locations$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4189,8 +4203,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4248,11 +4264,11 @@ export namespace contentwarehouse_v1 { delete( params: Params$Resource$Projects$Locations$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4283,8 +4299,8 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4337,11 +4353,13 @@ export namespace contentwarehouse_v1 { fetchAcl( params: Params$Resource$Projects$Locations$Documents$Fetchacl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchAcl( params?: Params$Resource$Projects$Locations$Documents$Fetchacl, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchAcl( params: Params$Resource$Projects$Locations$Documents$Fetchacl, options: StreamMethodOptions | BodyResponseCallback, @@ -4376,8 +4394,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Fetchacl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4435,11 +4455,13 @@ export namespace contentwarehouse_v1 { get( params: Params$Resource$Projects$Locations$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4474,8 +4496,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4530,11 +4554,13 @@ export namespace contentwarehouse_v1 { linkedSources( params: Params$Resource$Projects$Locations$Documents$Linkedsources, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; linkedSources( params?: Params$Resource$Projects$Locations$Documents$Linkedsources, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; linkedSources( params: Params$Resource$Projects$Locations$Documents$Linkedsources, options: StreamMethodOptions | BodyResponseCallback, @@ -4569,8 +4595,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Linkedsources; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4629,11 +4657,13 @@ export namespace contentwarehouse_v1 { linkedTargets( params: Params$Resource$Projects$Locations$Documents$Linkedtargets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; linkedTargets( params?: Params$Resource$Projects$Locations$Documents$Linkedtargets, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; linkedTargets( params: Params$Resource$Projects$Locations$Documents$Linkedtargets, options: StreamMethodOptions | BodyResponseCallback, @@ -4668,8 +4698,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Linkedtargets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4728,11 +4760,13 @@ export namespace contentwarehouse_v1 { lock( params: Params$Resource$Projects$Locations$Documents$Lock, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lock( params?: Params$Resource$Projects$Locations$Documents$Lock, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; lock( params: Params$Resource$Projects$Locations$Documents$Lock, options: StreamMethodOptions | BodyResponseCallback, @@ -4767,8 +4801,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Lock; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4823,11 +4859,13 @@ export namespace contentwarehouse_v1 { patch( params: Params$Resource$Projects$Locations$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4862,8 +4900,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4918,11 +4958,13 @@ export namespace contentwarehouse_v1 { search( params: Params$Resource$Projects$Locations$Documents$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Documents$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Documents$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -4957,8 +4999,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5016,11 +5060,13 @@ export namespace contentwarehouse_v1 { setAcl( params: Params$Resource$Projects$Locations$Documents$Setacl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAcl( params?: Params$Resource$Projects$Locations$Documents$Setacl, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setAcl( params: Params$Resource$Projects$Locations$Documents$Setacl, options: StreamMethodOptions | BodyResponseCallback, @@ -5055,8 +5101,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Setacl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5242,11 +5290,13 @@ export namespace contentwarehouse_v1 { create( params: Params$Resource$Projects$Locations$Documents$Documentlinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Documents$Documentlinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Documents$Documentlinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5281,8 +5331,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Documentlinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5341,11 +5393,11 @@ export namespace contentwarehouse_v1 { delete( params: Params$Resource$Projects$Locations$Documents$Documentlinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Documents$Documentlinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Documents$Documentlinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5376,8 +5428,8 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Documentlinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5463,11 +5515,11 @@ export namespace contentwarehouse_v1 { delete( params: Params$Resource$Projects$Locations$Documents$Referenceid$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Documents$Referenceid$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Documents$Referenceid$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5498,8 +5550,8 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Referenceid$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5553,11 +5605,13 @@ export namespace contentwarehouse_v1 { get( params: Params$Resource$Projects$Locations$Documents$Referenceid$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Documents$Referenceid$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Documents$Referenceid$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5592,8 +5646,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Referenceid$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5649,11 +5705,13 @@ export namespace contentwarehouse_v1 { patch( params: Params$Resource$Projects$Locations$Documents$Referenceid$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Documents$Referenceid$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Documents$Referenceid$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5688,8 +5746,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Referenceid$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5789,11 +5849,13 @@ export namespace contentwarehouse_v1 { create( params: Params$Resource$Projects$Locations$Documentschemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Documentschemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Documentschemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5828,8 +5890,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documentschemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5888,11 +5952,11 @@ export namespace contentwarehouse_v1 { delete( params: Params$Resource$Projects$Locations$Documentschemas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Documentschemas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Documentschemas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5923,8 +5987,8 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documentschemas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5978,11 +6042,13 @@ export namespace contentwarehouse_v1 { get( params: Params$Resource$Projects$Locations$Documentschemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Documentschemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Documentschemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6017,8 +6083,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documentschemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6073,11 +6141,13 @@ export namespace contentwarehouse_v1 { list( params: Params$Resource$Projects$Locations$Documentschemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Documentschemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Documentschemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6112,8 +6182,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documentschemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6171,11 +6243,13 @@ export namespace contentwarehouse_v1 { patch( params: Params$Resource$Projects$Locations$Documentschemas$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Documentschemas$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Documentschemas$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6210,8 +6284,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documentschemas$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6327,11 +6403,11 @@ export namespace contentwarehouse_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6366,8 +6442,8 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6435,11 +6511,13 @@ export namespace contentwarehouse_v1 { create( params: Params$Resource$Projects$Locations$Rulesets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Rulesets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Rulesets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6474,8 +6552,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Rulesets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6533,11 +6613,11 @@ export namespace contentwarehouse_v1 { delete( params: Params$Resource$Projects$Locations$Rulesets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Rulesets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Rulesets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6568,8 +6648,8 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Rulesets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6622,11 +6702,13 @@ export namespace contentwarehouse_v1 { get( params: Params$Resource$Projects$Locations$Rulesets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Rulesets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Rulesets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6661,8 +6743,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Rulesets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6717,11 +6801,13 @@ export namespace contentwarehouse_v1 { list( params: Params$Resource$Projects$Locations$Rulesets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Rulesets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Rulesets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6756,8 +6842,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Rulesets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6815,11 +6903,13 @@ export namespace contentwarehouse_v1 { patch( params: Params$Resource$Projects$Locations$Rulesets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Rulesets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Rulesets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6854,8 +6944,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Rulesets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6971,11 +7063,13 @@ export namespace contentwarehouse_v1 { create( params: Params$Resource$Projects$Locations$Synonymsets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Synonymsets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Synonymsets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7010,8 +7104,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Synonymsets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7069,11 +7165,11 @@ export namespace contentwarehouse_v1 { delete( params: Params$Resource$Projects$Locations$Synonymsets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Synonymsets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Synonymsets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7104,8 +7200,8 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Synonymsets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7158,11 +7254,13 @@ export namespace contentwarehouse_v1 { get( params: Params$Resource$Projects$Locations$Synonymsets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Synonymsets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Synonymsets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7197,8 +7295,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Synonymsets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7253,11 +7353,13 @@ export namespace contentwarehouse_v1 { list( params: Params$Resource$Projects$Locations$Synonymsets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Synonymsets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Synonymsets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7292,8 +7394,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Synonymsets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7351,11 +7455,13 @@ export namespace contentwarehouse_v1 { patch( params: Params$Resource$Projects$Locations$Synonymsets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Synonymsets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Synonymsets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7390,8 +7496,10 @@ export namespace contentwarehouse_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Synonymsets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/css/index.ts b/src/apis/css/index.ts index 839020f2247..e41c0636c9e 100644 --- a/src/apis/css/index.ts +++ b/src/apis/css/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/css/package.json b/src/apis/css/package.json index 3a89307e851..47ebefa1b62 100644 --- a/src/apis/css/package.json +++ b/src/apis/css/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/css/v1.ts b/src/apis/css/v1.ts index 7f2cad8fc2e..6a2708cbe69 100644 --- a/src/apis/css/v1.ts +++ b/src/apis/css/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -819,11 +819,11 @@ export namespace css_v1 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -852,7 +852,10 @@ export namespace css_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -903,11 +906,11 @@ export namespace css_v1 { listChildAccounts( params: Params$Resource$Accounts$Listchildaccounts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listChildAccounts( params?: Params$Resource$Accounts$Listchildaccounts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listChildAccounts( params: Params$Resource$Accounts$Listchildaccounts, options: StreamMethodOptions | BodyResponseCallback, @@ -942,8 +945,8 @@ export namespace css_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Listchildaccounts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -998,11 +1001,11 @@ export namespace css_v1 { updateLabels( params: Params$Resource$Accounts$Updatelabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateLabels( params?: Params$Resource$Accounts$Updatelabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateLabels( params: Params$Resource$Accounts$Updatelabels, options: StreamMethodOptions | BodyResponseCallback, @@ -1031,7 +1034,10 @@ export namespace css_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Updatelabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1139,11 +1145,11 @@ export namespace css_v1 { delete( params: Params$Resource$Accounts$Cssproductinputs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Cssproductinputs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Cssproductinputs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1172,7 +1178,10 @@ export namespace css_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Cssproductinputs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1224,11 +1233,11 @@ export namespace css_v1 { insert( params: Params$Resource$Accounts$Cssproductinputs$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Cssproductinputs$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Cssproductinputs$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1257,7 +1266,10 @@ export namespace css_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Cssproductinputs$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1312,11 +1324,11 @@ export namespace css_v1 { patch( params: Params$Resource$Accounts$Cssproductinputs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Cssproductinputs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Cssproductinputs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1345,7 +1357,10 @@ export namespace css_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Cssproductinputs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1448,11 +1463,11 @@ export namespace css_v1 { get( params: Params$Resource$Accounts$Cssproducts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Cssproducts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Cssproducts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1481,7 +1496,10 @@ export namespace css_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Cssproducts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1533,11 +1551,11 @@ export namespace css_v1 { list( params: Params$Resource$Accounts$Cssproducts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Cssproducts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Cssproducts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1570,8 +1588,8 @@ export namespace css_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Cssproducts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1656,11 +1674,11 @@ export namespace css_v1 { create( params: Params$Resource$Accounts$Labels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Labels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Labels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1689,7 +1707,10 @@ export namespace css_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Labels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1744,11 +1765,11 @@ export namespace css_v1 { delete( params: Params$Resource$Accounts$Labels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Labels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Labels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1777,7 +1798,10 @@ export namespace css_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Labels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1829,11 +1853,11 @@ export namespace css_v1 { list( params: Params$Resource$Accounts$Labels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Labels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Labels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1868,8 +1892,8 @@ export namespace css_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Labels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1924,11 +1948,11 @@ export namespace css_v1 { patch( params: Params$Resource$Accounts$Labels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Labels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Labels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1957,7 +1981,10 @@ export namespace css_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Labels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2063,11 +2090,11 @@ export namespace css_v1 { list( params: Params$Resource$Accounts$Quotas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Quotas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Quotas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2100,8 +2127,8 @@ export namespace css_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Quotas$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/customsearch/index.ts b/src/apis/customsearch/index.ts index 5cedb5cfe61..b6ce267c81e 100644 --- a/src/apis/customsearch/index.ts +++ b/src/apis/customsearch/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/customsearch/package.json b/src/apis/customsearch/package.json index 57b1c05b88e..9d5036cb450 100644 --- a/src/apis/customsearch/package.json +++ b/src/apis/customsearch/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/customsearch/v1.ts b/src/apis/customsearch/v1.ts index 3a687644df6..0289668281f 100644 --- a/src/apis/customsearch/v1.ts +++ b/src/apis/customsearch/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -412,11 +412,11 @@ export namespace customsearch_v1 { list( params: Params$Resource$Cse$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cse$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cse$List, options: StreamMethodOptions | BodyResponseCallback, @@ -445,7 +445,10 @@ export namespace customsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cse$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -638,11 +641,11 @@ export namespace customsearch_v1 { list( params: Params$Resource$Cse$Siterestrict$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cse$Siterestrict$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cse$Siterestrict$List, options: StreamMethodOptions | BodyResponseCallback, @@ -671,7 +674,10 @@ export namespace customsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cse$Siterestrict$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datacatalog/index.ts b/src/apis/datacatalog/index.ts index 67706dd0bc6..0461eeebb56 100644 --- a/src/apis/datacatalog/index.ts +++ b/src/apis/datacatalog/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/datacatalog/package.json b/src/apis/datacatalog/package.json index 16f4a7c615d..efbb15bb87d 100644 --- a/src/apis/datacatalog/package.json +++ b/src/apis/datacatalog/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/datacatalog/v1.ts b/src/apis/datacatalog/v1.ts index fcca123cd7b..6c2e98a2e2a 100644 --- a/src/apis/datacatalog/v1.ts +++ b/src/apis/datacatalog/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -793,7 +793,7 @@ export namespace datacatalog_v1 { */ export interface Schema$GoogleCloudDatacatalogV1GcsFilesetSpec { /** - * Required. Patterns to identify a set of files in Google Cloud Storage. For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). Note: Currently, bucket wildcards are not supported. Examples of valid `file_patterns`: * `gs://bucket_name/dir/x`: matches all files in `bucket_name/dir` directory * `gs://bucket_name/dir/x*`: matches all files in `bucket_name/dir` and all subdirectories * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/x/b`: matches all files in `bucket_name` that match the `a/x/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to match complex sets of files, for example: `gs://bucket_name/[a-m]??.j*g` + * Required. Patterns to identify a set of files in Google Cloud Storage. For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/wildcards). Note: Currently, bucket wildcards are not supported. Examples of valid `file_patterns`: * `gs://bucket_name/dir/x`: matches all files in `bucket_name/dir` directory * `gs://bucket_name/dir/x*`: matches all files in `bucket_name/dir` and all subdirectories * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/x/b`: matches all files in `bucket_name` that match the `a/x/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to match complex sets of files, for example: `gs://bucket_name/[a-m]??.j*g` */ filePatterns?: string[] | null; /** @@ -1949,11 +1949,13 @@ export namespace datacatalog_v1 { search( params: Params$Resource$Catalog$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Catalog$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Catalog$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1988,8 +1990,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Catalog$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2056,11 +2060,11 @@ export namespace datacatalog_v1 { lookup( params: Params$Resource$Entries$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Entries$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Entries$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -2095,8 +2099,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entries$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2188,11 +2192,13 @@ export namespace datacatalog_v1 { retrieveConfig( params: Params$Resource$Organizations$Locations$Retrieveconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveConfig( params?: Params$Resource$Organizations$Locations$Retrieveconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveConfig( params: Params$Resource$Organizations$Locations$Retrieveconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2227,8 +2233,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Retrieveconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2285,11 +2293,13 @@ export namespace datacatalog_v1 { retrieveEffectiveConfig( params: Params$Resource$Organizations$Locations$Retrieveeffectiveconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveEffectiveConfig( params?: Params$Resource$Organizations$Locations$Retrieveeffectiveconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveEffectiveConfig( params: Params$Resource$Organizations$Locations$Retrieveeffectiveconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2324,8 +2334,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Retrieveeffectiveconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2383,11 +2395,13 @@ export namespace datacatalog_v1 { setConfig( params: Params$Resource$Organizations$Locations$Setconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setConfig( params?: Params$Resource$Organizations$Locations$Setconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setConfig( params: Params$Resource$Organizations$Locations$Setconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2422,8 +2436,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Setconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2539,11 +2555,13 @@ export namespace datacatalog_v1 { retrieveEffectiveConfig( params: Params$Resource$Projects$Locations$Retrieveeffectiveconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveEffectiveConfig( params?: Params$Resource$Projects$Locations$Retrieveeffectiveconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveEffectiveConfig( params: Params$Resource$Projects$Locations$Retrieveeffectiveconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2578,8 +2596,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Retrieveeffectiveconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2637,11 +2657,13 @@ export namespace datacatalog_v1 { setConfig( params: Params$Resource$Projects$Locations$Setconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setConfig( params?: Params$Resource$Projects$Locations$Setconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setConfig( params: Params$Resource$Projects$Locations$Setconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2676,8 +2698,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Setconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2769,11 +2793,13 @@ export namespace datacatalog_v1 { create( params: Params$Resource$Projects$Locations$Entrygroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrygroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Entrygroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2808,8 +2834,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2866,11 +2894,11 @@ export namespace datacatalog_v1 { delete( params: Params$Resource$Projects$Locations$Entrygroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrygroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrygroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2899,7 +2927,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2951,11 +2982,13 @@ export namespace datacatalog_v1 { get( params: Params$Resource$Projects$Locations$Entrygroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Entrygroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Entrygroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2990,8 +3023,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3045,11 +3080,11 @@ export namespace datacatalog_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Entrygroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3078,7 +3113,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3134,11 +3172,13 @@ export namespace datacatalog_v1 { list( params: Params$Resource$Projects$Locations$Entrygroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entrygroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Entrygroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3173,8 +3213,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3231,11 +3273,13 @@ export namespace datacatalog_v1 { patch( params: Params$Resource$Projects$Locations$Entrygroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Entrygroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Entrygroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3270,8 +3314,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3325,11 +3371,11 @@ export namespace datacatalog_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Entrygroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3358,7 +3404,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3414,11 +3463,11 @@ export namespace datacatalog_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Entrygroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Entrygroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Entrygroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3453,8 +3502,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3627,11 +3676,11 @@ export namespace datacatalog_v1 { create( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3666,8 +3715,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3725,11 +3774,11 @@ export namespace datacatalog_v1 { delete( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3758,7 +3807,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3811,11 +3863,11 @@ export namespace datacatalog_v1 { get( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3850,8 +3902,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3906,11 +3958,11 @@ export namespace datacatalog_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3939,7 +3991,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3995,11 +4050,11 @@ export namespace datacatalog_v1 { import( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -4028,7 +4083,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4084,11 +4142,13 @@ export namespace datacatalog_v1 { list( params: Params$Resource$Projects$Locations$Entrygroups$Entries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Entrygroups$Entries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4123,8 +4183,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4182,11 +4244,13 @@ export namespace datacatalog_v1 { modifyEntryContacts( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Modifyentrycontacts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyEntryContacts( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Modifyentrycontacts, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; modifyEntryContacts( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Modifyentrycontacts, options: StreamMethodOptions | BodyResponseCallback, @@ -4221,8 +4285,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Modifyentrycontacts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4280,11 +4346,13 @@ export namespace datacatalog_v1 { modifyEntryOverview( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Modifyentryoverview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyEntryOverview( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Modifyentryoverview, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; modifyEntryOverview( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Modifyentryoverview, options: StreamMethodOptions | BodyResponseCallback, @@ -4319,8 +4387,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Modifyentryoverview; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4378,11 +4448,11 @@ export namespace datacatalog_v1 { patch( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4417,8 +4487,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4473,11 +4543,13 @@ export namespace datacatalog_v1 { star( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Star, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; star( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Star, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; star( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Star, options: StreamMethodOptions | BodyResponseCallback, @@ -4512,8 +4584,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Star; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4568,11 +4642,11 @@ export namespace datacatalog_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4607,8 +4681,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4664,11 +4738,13 @@ export namespace datacatalog_v1 { unstar( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Unstar, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unstar( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Unstar, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; unstar( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Unstar, options: StreamMethodOptions | BodyResponseCallback, @@ -4703,8 +4779,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Unstar; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4916,11 +4994,11 @@ export namespace datacatalog_v1 { create( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4955,8 +5033,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5009,11 +5087,11 @@ export namespace datacatalog_v1 { delete( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5042,7 +5120,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5095,11 +5176,13 @@ export namespace datacatalog_v1 { list( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5134,8 +5217,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5190,11 +5275,11 @@ export namespace datacatalog_v1 { patch( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5229,8 +5314,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5283,11 +5368,11 @@ export namespace datacatalog_v1 { reconcile( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Reconcile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reconcile( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Reconcile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reconcile( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Reconcile, options: StreamMethodOptions | BodyResponseCallback, @@ -5316,7 +5401,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Reconcile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5442,11 +5530,11 @@ export namespace datacatalog_v1 { create( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrygroups$Tags$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5481,8 +5569,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Tags$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5535,11 +5623,11 @@ export namespace datacatalog_v1 { delete( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrygroups$Tags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5568,7 +5656,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Tags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5621,11 +5712,13 @@ export namespace datacatalog_v1 { list( params: Params$Resource$Projects$Locations$Entrygroups$Tags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entrygroups$Tags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Entrygroups$Tags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5660,8 +5753,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Tags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5715,11 +5810,11 @@ export namespace datacatalog_v1 { patch( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Entrygroups$Tags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5754,8 +5849,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Tags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5866,11 +5961,11 @@ export namespace datacatalog_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -5899,7 +5994,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5951,11 +6049,11 @@ export namespace datacatalog_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5984,7 +6082,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6036,11 +6137,11 @@ export namespace datacatalog_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6069,7 +6170,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6121,11 +6225,11 @@ export namespace datacatalog_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6158,8 +6262,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6266,11 +6370,13 @@ export namespace datacatalog_v1 { create( params: Params$Resource$Projects$Locations$Tagtemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tagtemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tagtemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6305,8 +6411,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6363,11 +6471,11 @@ export namespace datacatalog_v1 { delete( params: Params$Resource$Projects$Locations$Tagtemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tagtemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tagtemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6396,7 +6504,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6448,11 +6559,13 @@ export namespace datacatalog_v1 { get( params: Params$Resource$Projects$Locations$Tagtemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tagtemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tagtemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6487,8 +6600,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6542,11 +6657,11 @@ export namespace datacatalog_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Tagtemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Tagtemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Tagtemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6575,7 +6690,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6631,11 +6749,13 @@ export namespace datacatalog_v1 { patch( params: Params$Resource$Projects$Locations$Tagtemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tagtemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Tagtemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6670,8 +6790,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6725,11 +6847,11 @@ export namespace datacatalog_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Tagtemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Tagtemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Tagtemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6758,7 +6880,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6814,11 +6939,11 @@ export namespace datacatalog_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Tagtemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Tagtemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Tagtemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6853,8 +6978,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7009,11 +7134,13 @@ export namespace datacatalog_v1 { create( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tagtemplates$Fields$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7048,8 +7175,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Fields$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7107,11 +7236,11 @@ export namespace datacatalog_v1 { delete( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tagtemplates$Fields$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7140,7 +7269,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Fields$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7193,11 +7325,13 @@ export namespace datacatalog_v1 { patch( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tagtemplates$Fields$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7232,8 +7366,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Fields$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7288,11 +7424,13 @@ export namespace datacatalog_v1 { rename( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Rename, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rename( params?: Params$Resource$Projects$Locations$Tagtemplates$Fields$Rename, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; rename( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Rename, options: StreamMethodOptions | BodyResponseCallback, @@ -7327,8 +7465,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Fields$Rename; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7446,11 +7586,13 @@ export namespace datacatalog_v1 { rename( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Enumvalues$Rename, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rename( params?: Params$Resource$Projects$Locations$Tagtemplates$Fields$Enumvalues$Rename, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; rename( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Enumvalues$Rename, options: StreamMethodOptions | BodyResponseCallback, @@ -7485,8 +7627,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Fields$Enumvalues$Rename; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7565,11 +7709,13 @@ export namespace datacatalog_v1 { create( params: Params$Resource$Projects$Locations$Taxonomies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Taxonomies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Taxonomies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7604,8 +7750,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7662,11 +7810,11 @@ export namespace datacatalog_v1 { delete( params: Params$Resource$Projects$Locations$Taxonomies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Taxonomies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Taxonomies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7695,7 +7843,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7747,11 +7898,13 @@ export namespace datacatalog_v1 { export( params: Params$Resource$Projects$Locations$Taxonomies$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Taxonomies$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; export( params: Params$Resource$Projects$Locations$Taxonomies$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -7786,8 +7939,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7844,11 +7999,13 @@ export namespace datacatalog_v1 { get( params: Params$Resource$Projects$Locations$Taxonomies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Taxonomies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Taxonomies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7883,8 +8040,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7938,11 +8097,11 @@ export namespace datacatalog_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Taxonomies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7971,7 +8130,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8027,11 +8189,13 @@ export namespace datacatalog_v1 { import( params: Params$Resource$Projects$Locations$Taxonomies$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Taxonomies$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; import( params: Params$Resource$Projects$Locations$Taxonomies$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -8066,8 +8230,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8124,11 +8290,13 @@ export namespace datacatalog_v1 { list( params: Params$Resource$Projects$Locations$Taxonomies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Taxonomies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Taxonomies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8163,8 +8331,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8221,11 +8391,13 @@ export namespace datacatalog_v1 { patch( params: Params$Resource$Projects$Locations$Taxonomies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Taxonomies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Taxonomies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8260,8 +8432,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8315,11 +8489,13 @@ export namespace datacatalog_v1 { replace( params: Params$Resource$Projects$Locations$Taxonomies$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Projects$Locations$Taxonomies$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; replace( params: Params$Resource$Projects$Locations$Taxonomies$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -8354,8 +8530,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8412,11 +8590,11 @@ export namespace datacatalog_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Taxonomies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8445,7 +8623,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8501,11 +8682,11 @@ export namespace datacatalog_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Taxonomies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Taxonomies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Taxonomies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8540,8 +8721,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8741,11 +8922,13 @@ export namespace datacatalog_v1 { create( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8780,8 +8963,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8839,11 +9024,11 @@ export namespace datacatalog_v1 { delete( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8872,7 +9057,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8925,11 +9113,13 @@ export namespace datacatalog_v1 { get( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8964,8 +9154,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9020,11 +9212,11 @@ export namespace datacatalog_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9053,7 +9245,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9109,11 +9304,13 @@ export namespace datacatalog_v1 { list( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9148,8 +9345,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9207,11 +9406,13 @@ export namespace datacatalog_v1 { patch( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9246,8 +9447,10 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9302,11 +9505,11 @@ export namespace datacatalog_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9335,7 +9538,10 @@ export namespace datacatalog_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9391,11 +9597,11 @@ export namespace datacatalog_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9430,8 +9636,8 @@ export namespace datacatalog_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datacatalog/v1beta1.ts b/src/apis/datacatalog/v1beta1.ts index 0730e49b35b..1939499ac16 100644 --- a/src/apis/datacatalog/v1beta1.ts +++ b/src/apis/datacatalog/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -362,7 +362,7 @@ export namespace datacatalog_v1beta1 { */ export interface Schema$GoogleCloudDatacatalogV1beta1GcsFilesetSpec { /** - * Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud Storage documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames) for more information. Note that bucket wildcards are currently not supported. Examples of valid file_patterns: * `gs://bucket_name/dir/x`: matches all files within `bucket_name/dir` directory. * `gs://bucket_name/dir/x*`: matches all files in `bucket_name/dir` spanning all subdirectories. * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/x/b`: matches all files in `bucket_name` that match `a/x/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to provide more powerful matches, for example: * `gs://bucket_name/[a-m]??.j*g` + * Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud Storage documentation](https://cloud.google.com/storage/docs/wildcards) for more information. Note that bucket wildcards are currently not supported. Examples of valid file_patterns: * `gs://bucket_name/dir/x`: matches all files within `bucket_name/dir` directory. * `gs://bucket_name/dir/x*`: matches all files in `bucket_name/dir` spanning all subdirectories. * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/x/b`: matches all files in `bucket_name` that match `a/x/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to provide more powerful matches, for example: * `gs://bucket_name/[a-m]??.j*g` */ filePatterns?: string[] | null; /** @@ -1441,7 +1441,7 @@ export namespace datacatalog_v1beta1 { */ export interface Schema$GoogleCloudDatacatalogV1GcsFilesetSpec { /** - * Required. Patterns to identify a set of files in Google Cloud Storage. For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). Note: Currently, bucket wildcards are not supported. Examples of valid `file_patterns`: * `gs://bucket_name/dir/x`: matches all files in `bucket_name/dir` directory * `gs://bucket_name/dir/x*`: matches all files in `bucket_name/dir` and all subdirectories * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/x/b`: matches all files in `bucket_name` that match the `a/x/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to match complex sets of files, for example: `gs://bucket_name/[a-m]??.j*g` + * Required. Patterns to identify a set of files in Google Cloud Storage. For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/wildcards). Note: Currently, bucket wildcards are not supported. Examples of valid `file_patterns`: * `gs://bucket_name/dir/x`: matches all files in `bucket_name/dir` directory * `gs://bucket_name/dir/x*`: matches all files in `bucket_name/dir` and all subdirectories * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/x/b`: matches all files in `bucket_name` that match the `a/x/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to match complex sets of files, for example: `gs://bucket_name/[a-m]??.j*g` */ filePatterns?: string[] | null; /** @@ -2038,11 +2038,13 @@ export namespace datacatalog_v1beta1 { search( params: Params$Resource$Catalog$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Catalog$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Catalog$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -2077,8 +2079,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Catalog$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2148,11 +2152,13 @@ export namespace datacatalog_v1beta1 { lookup( params: Params$Resource$Entries$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Entries$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; lookup( params: Params$Resource$Entries$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -2187,8 +2193,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entries$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2298,11 +2306,13 @@ export namespace datacatalog_v1beta1 { create( params: Params$Resource$Projects$Locations$Entrygroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrygroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Entrygroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2337,8 +2347,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2395,11 +2407,11 @@ export namespace datacatalog_v1beta1 { delete( params: Params$Resource$Projects$Locations$Entrygroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrygroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrygroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2428,7 +2440,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2480,11 +2495,13 @@ export namespace datacatalog_v1beta1 { get( params: Params$Resource$Projects$Locations$Entrygroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Entrygroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Entrygroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2519,8 +2536,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2574,11 +2593,11 @@ export namespace datacatalog_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Entrygroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2607,7 +2626,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2663,11 +2685,13 @@ export namespace datacatalog_v1beta1 { list( params: Params$Resource$Projects$Locations$Entrygroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entrygroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Entrygroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2702,8 +2726,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2760,11 +2786,13 @@ export namespace datacatalog_v1beta1 { patch( params: Params$Resource$Projects$Locations$Entrygroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Entrygroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Entrygroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2799,8 +2827,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2854,11 +2884,11 @@ export namespace datacatalog_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Entrygroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2887,7 +2917,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2943,11 +2976,11 @@ export namespace datacatalog_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Entrygroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Entrygroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Entrygroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2982,8 +3015,8 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3156,11 +3189,13 @@ export namespace datacatalog_v1beta1 { create( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3195,8 +3230,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3254,11 +3291,11 @@ export namespace datacatalog_v1beta1 { delete( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3287,7 +3324,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3340,11 +3380,13 @@ export namespace datacatalog_v1beta1 { get( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3379,8 +3421,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3435,11 +3479,11 @@ export namespace datacatalog_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3468,7 +3512,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3524,11 +3571,13 @@ export namespace datacatalog_v1beta1 { list( params: Params$Resource$Projects$Locations$Entrygroups$Entries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Entrygroups$Entries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3563,8 +3612,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3622,11 +3673,13 @@ export namespace datacatalog_v1beta1 { patch( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3661,8 +3714,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3717,11 +3772,11 @@ export namespace datacatalog_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3756,8 +3811,8 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3910,11 +3965,13 @@ export namespace datacatalog_v1beta1 { create( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3949,8 +4006,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4008,11 +4067,11 @@ export namespace datacatalog_v1beta1 { delete( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4041,7 +4100,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4094,11 +4156,13 @@ export namespace datacatalog_v1beta1 { list( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4133,8 +4197,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4192,11 +4258,13 @@ export namespace datacatalog_v1beta1 { patch( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4231,8 +4299,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Tags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4345,11 +4415,13 @@ export namespace datacatalog_v1beta1 { create( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrygroups$Tags$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4384,8 +4456,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Tags$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4443,11 +4517,11 @@ export namespace datacatalog_v1beta1 { delete( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrygroups$Tags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4476,7 +4550,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Tags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4529,11 +4606,13 @@ export namespace datacatalog_v1beta1 { list( params: Params$Resource$Projects$Locations$Entrygroups$Tags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entrygroups$Tags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Entrygroups$Tags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4568,8 +4647,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Tags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4626,11 +4707,13 @@ export namespace datacatalog_v1beta1 { patch( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Entrygroups$Tags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Entrygroups$Tags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4665,8 +4748,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Tags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4783,11 +4868,13 @@ export namespace datacatalog_v1beta1 { create( params: Params$Resource$Projects$Locations$Tagtemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tagtemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tagtemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4822,8 +4909,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4880,11 +4969,11 @@ export namespace datacatalog_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tagtemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tagtemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tagtemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4913,7 +5002,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4965,11 +5057,13 @@ export namespace datacatalog_v1beta1 { get( params: Params$Resource$Projects$Locations$Tagtemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tagtemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tagtemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5004,8 +5098,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5059,11 +5155,11 @@ export namespace datacatalog_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Tagtemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Tagtemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Tagtemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5092,7 +5188,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5148,11 +5247,13 @@ export namespace datacatalog_v1beta1 { patch( params: Params$Resource$Projects$Locations$Tagtemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tagtemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Tagtemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5187,8 +5288,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5242,11 +5345,11 @@ export namespace datacatalog_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Tagtemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Tagtemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Tagtemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5275,7 +5378,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5331,11 +5437,11 @@ export namespace datacatalog_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Tagtemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Tagtemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Tagtemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5370,8 +5476,8 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5526,11 +5632,13 @@ export namespace datacatalog_v1beta1 { create( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tagtemplates$Fields$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5565,8 +5673,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Fields$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5624,11 +5734,11 @@ export namespace datacatalog_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tagtemplates$Fields$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5657,7 +5767,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Fields$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5710,11 +5823,13 @@ export namespace datacatalog_v1beta1 { patch( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tagtemplates$Fields$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5749,8 +5864,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Fields$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5805,11 +5922,13 @@ export namespace datacatalog_v1beta1 { rename( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Rename, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rename( params?: Params$Resource$Projects$Locations$Tagtemplates$Fields$Rename, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; rename( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Rename, options: StreamMethodOptions | BodyResponseCallback, @@ -5844,8 +5963,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Fields$Rename; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5966,11 +6087,13 @@ export namespace datacatalog_v1beta1 { rename( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Enumvalues$Rename, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rename( params?: Params$Resource$Projects$Locations$Tagtemplates$Fields$Enumvalues$Rename, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; rename( params: Params$Resource$Projects$Locations$Tagtemplates$Fields$Enumvalues$Rename, options: StreamMethodOptions | BodyResponseCallback, @@ -6005,8 +6128,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tagtemplates$Fields$Enumvalues$Rename; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6088,11 +6213,13 @@ export namespace datacatalog_v1beta1 { create( params: Params$Resource$Projects$Locations$Taxonomies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Taxonomies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Taxonomies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6127,8 +6254,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6185,11 +6314,11 @@ export namespace datacatalog_v1beta1 { delete( params: Params$Resource$Projects$Locations$Taxonomies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Taxonomies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Taxonomies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6218,7 +6347,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6270,11 +6402,13 @@ export namespace datacatalog_v1beta1 { export( params: Params$Resource$Projects$Locations$Taxonomies$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Taxonomies$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; export( params: Params$Resource$Projects$Locations$Taxonomies$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -6309,8 +6443,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6367,11 +6503,13 @@ export namespace datacatalog_v1beta1 { get( params: Params$Resource$Projects$Locations$Taxonomies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Taxonomies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Taxonomies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6406,8 +6544,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6461,11 +6601,11 @@ export namespace datacatalog_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Taxonomies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6494,7 +6634,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6550,11 +6693,13 @@ export namespace datacatalog_v1beta1 { import( params: Params$Resource$Projects$Locations$Taxonomies$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Taxonomies$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; import( params: Params$Resource$Projects$Locations$Taxonomies$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -6589,8 +6734,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6647,11 +6794,13 @@ export namespace datacatalog_v1beta1 { list( params: Params$Resource$Projects$Locations$Taxonomies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Taxonomies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Taxonomies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6686,8 +6835,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6744,11 +6895,13 @@ export namespace datacatalog_v1beta1 { patch( params: Params$Resource$Projects$Locations$Taxonomies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Taxonomies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Taxonomies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6783,8 +6936,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6838,11 +6993,11 @@ export namespace datacatalog_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Taxonomies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6871,7 +7026,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6927,11 +7085,11 @@ export namespace datacatalog_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Taxonomies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Taxonomies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Taxonomies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6966,8 +7124,8 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7155,11 +7313,13 @@ export namespace datacatalog_v1beta1 { create( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7194,8 +7354,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7253,11 +7415,11 @@ export namespace datacatalog_v1beta1 { delete( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7286,7 +7448,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7339,11 +7504,13 @@ export namespace datacatalog_v1beta1 { get( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7378,8 +7545,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7434,11 +7603,11 @@ export namespace datacatalog_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7467,7 +7636,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7523,11 +7695,13 @@ export namespace datacatalog_v1beta1 { list( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7562,8 +7736,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7621,11 +7797,13 @@ export namespace datacatalog_v1beta1 { patch( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7660,8 +7838,10 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7716,11 +7896,11 @@ export namespace datacatalog_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7749,7 +7929,10 @@ export namespace datacatalog_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7805,11 +7988,11 @@ export namespace datacatalog_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Taxonomies$Policytags$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Taxonomies$Policytags$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7844,8 +8027,8 @@ export namespace datacatalog_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Taxonomies$Policytags$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dataflow/index.ts b/src/apis/dataflow/index.ts index 8dfeebb3d21..5903a99c54e 100644 --- a/src/apis/dataflow/index.ts +++ b/src/apis/dataflow/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/dataflow/package.json b/src/apis/dataflow/package.json index a754e8fdca2..d7097ffd26b 100644 --- a/src/apis/dataflow/package.json +++ b/src/apis/dataflow/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/dataflow/v1b3.ts b/src/apis/dataflow/v1b3.ts index f6c3a2aee34..c6c48982cd7 100644 --- a/src/apis/dataflow/v1b3.ts +++ b/src/apis/dataflow/v1b3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -923,6 +923,10 @@ export namespace dataflow_v1b3 { * The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME\} to this resource prefix, where {JOBNAME\} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket\}/{object\} bucket.storage.googleapis.com/{object\} */ tempStoragePrefix?: string | null; + /** + * Optional. True when any worker pool that uses public IPs is present. + */ + usePublicIps?: boolean | null; /** * A description of the process that generated the request. */ @@ -4299,11 +4303,11 @@ export namespace dataflow_v1b3 { deleteSnapshots( params: Params$Resource$Projects$Deletesnapshots, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteSnapshots( params?: Params$Resource$Projects$Deletesnapshots, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteSnapshots( params: Params$Resource$Projects$Deletesnapshots, options: StreamMethodOptions | BodyResponseCallback, @@ -4338,8 +4342,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deletesnapshots; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4394,11 +4398,11 @@ export namespace dataflow_v1b3 { workerMessages( params: Params$Resource$Projects$Workermessages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; workerMessages( params?: Params$Resource$Projects$Workermessages, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; workerMessages( params: Params$Resource$Projects$Workermessages, options: StreamMethodOptions | BodyResponseCallback, @@ -4433,8 +4437,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workermessages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4529,11 +4533,11 @@ export namespace dataflow_v1b3 { aggregated( params: Params$Resource$Projects$Jobs$Aggregated, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregated( params?: Params$Resource$Projects$Jobs$Aggregated, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregated( params: Params$Resource$Projects$Jobs$Aggregated, options: StreamMethodOptions | BodyResponseCallback, @@ -4562,7 +4566,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Aggregated; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4616,11 +4623,11 @@ export namespace dataflow_v1b3 { create( params: Params$Resource$Projects$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4649,7 +4656,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4704,11 +4714,11 @@ export namespace dataflow_v1b3 { get( params: Params$Resource$Projects$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4737,7 +4747,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4792,11 +4805,11 @@ export namespace dataflow_v1b3 { getMetrics( params: Params$Resource$Projects$Jobs$Getmetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMetrics( params?: Params$Resource$Projects$Jobs$Getmetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getMetrics( params: Params$Resource$Projects$Jobs$Getmetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -4825,7 +4838,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Getmetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4879,11 +4895,11 @@ export namespace dataflow_v1b3 { list( params: Params$Resource$Projects$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4912,7 +4928,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4967,11 +4986,11 @@ export namespace dataflow_v1b3 { snapshot( params: Params$Resource$Projects$Jobs$Snapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; snapshot( params?: Params$Resource$Projects$Jobs$Snapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; snapshot( params: Params$Resource$Projects$Jobs$Snapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -5000,7 +5019,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Snapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5054,11 +5076,11 @@ export namespace dataflow_v1b3 { update( params: Params$Resource$Projects$Jobs$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Jobs$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Jobs$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5087,7 +5109,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5314,11 +5339,11 @@ export namespace dataflow_v1b3 { getConfig( params: Params$Resource$Projects$Jobs$Debug$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Jobs$Debug$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Projects$Jobs$Debug$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5353,8 +5378,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Debug$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5409,11 +5434,11 @@ export namespace dataflow_v1b3 { sendCapture( params: Params$Resource$Projects$Jobs$Debug$Sendcapture, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendCapture( params?: Params$Resource$Projects$Jobs$Debug$Sendcapture, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendCapture( params: Params$Resource$Projects$Jobs$Debug$Sendcapture, options: StreamMethodOptions | BodyResponseCallback, @@ -5448,8 +5473,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Debug$Sendcapture; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5544,11 +5569,11 @@ export namespace dataflow_v1b3 { list( params: Params$Resource$Projects$Jobs$Messages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Jobs$Messages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Jobs$Messages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5581,8 +5606,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Messages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5679,11 +5704,11 @@ export namespace dataflow_v1b3 { lease( params: Params$Resource$Projects$Jobs$Workitems$Lease, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lease( params?: Params$Resource$Projects$Jobs$Workitems$Lease, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lease( params: Params$Resource$Projects$Jobs$Workitems$Lease, options: StreamMethodOptions | BodyResponseCallback, @@ -5716,8 +5741,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Workitems$Lease; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5772,11 +5797,11 @@ export namespace dataflow_v1b3 { reportStatus( params: Params$Resource$Projects$Jobs$Workitems$Reportstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportStatus( params?: Params$Resource$Projects$Jobs$Workitems$Reportstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportStatus( params: Params$Resource$Projects$Jobs$Workitems$Reportstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -5811,8 +5836,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Workitems$Reportstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5919,11 +5944,11 @@ export namespace dataflow_v1b3 { workerMessages( params: Params$Resource$Projects$Locations$Workermessages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; workerMessages( params?: Params$Resource$Projects$Locations$Workermessages, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; workerMessages( params: Params$Resource$Projects$Locations$Workermessages, options: StreamMethodOptions | BodyResponseCallback, @@ -5958,8 +5983,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workermessages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6038,11 +6063,11 @@ export namespace dataflow_v1b3 { launch( params: Params$Resource$Projects$Locations$Flextemplates$Launch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; launch( params?: Params$Resource$Projects$Locations$Flextemplates$Launch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; launch( params: Params$Resource$Projects$Locations$Flextemplates$Launch, options: StreamMethodOptions | BodyResponseCallback, @@ -6077,8 +6102,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Flextemplates$Launch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6173,11 +6198,11 @@ export namespace dataflow_v1b3 { create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6206,7 +6231,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6260,11 +6288,11 @@ export namespace dataflow_v1b3 { get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6293,7 +6321,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6348,11 +6379,11 @@ export namespace dataflow_v1b3 { getExecutionDetails( params: Params$Resource$Projects$Locations$Jobs$Getexecutiondetails, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getExecutionDetails( params?: Params$Resource$Projects$Locations$Jobs$Getexecutiondetails, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getExecutionDetails( params: Params$Resource$Projects$Locations$Jobs$Getexecutiondetails, options: StreamMethodOptions | BodyResponseCallback, @@ -6385,8 +6416,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Getexecutiondetails; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6442,11 +6473,11 @@ export namespace dataflow_v1b3 { getMetrics( params: Params$Resource$Projects$Locations$Jobs$Getmetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMetrics( params?: Params$Resource$Projects$Locations$Jobs$Getmetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getMetrics( params: Params$Resource$Projects$Locations$Jobs$Getmetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -6475,7 +6506,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Getmetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6530,11 +6564,11 @@ export namespace dataflow_v1b3 { list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6563,7 +6597,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6617,11 +6654,11 @@ export namespace dataflow_v1b3 { snapshot( params: Params$Resource$Projects$Locations$Jobs$Snapshot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; snapshot( params?: Params$Resource$Projects$Locations$Jobs$Snapshot, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; snapshot( params: Params$Resource$Projects$Locations$Jobs$Snapshot, options: StreamMethodOptions | BodyResponseCallback, @@ -6650,7 +6687,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Snapshot; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6705,11 +6745,11 @@ export namespace dataflow_v1b3 { update( params: Params$Resource$Projects$Locations$Jobs$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Jobs$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Jobs$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6738,7 +6778,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6961,11 +7004,11 @@ export namespace dataflow_v1b3 { getConfig( params: Params$Resource$Projects$Locations$Jobs$Debug$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Locations$Jobs$Debug$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Projects$Locations$Jobs$Debug$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -7000,8 +7043,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Debug$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7056,11 +7099,11 @@ export namespace dataflow_v1b3 { sendCapture( params: Params$Resource$Projects$Locations$Jobs$Debug$Sendcapture, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendCapture( params?: Params$Resource$Projects$Locations$Jobs$Debug$Sendcapture, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendCapture( params: Params$Resource$Projects$Locations$Jobs$Debug$Sendcapture, options: StreamMethodOptions | BodyResponseCallback, @@ -7095,8 +7138,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Debug$Sendcapture; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7200,11 +7243,11 @@ export namespace dataflow_v1b3 { list( params: Params$Resource$Projects$Locations$Jobs$Messages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$Messages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobs$Messages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7237,8 +7280,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Messages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7336,11 +7379,11 @@ export namespace dataflow_v1b3 { list( params: Params$Resource$Projects$Locations$Jobs$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobs$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7373,8 +7416,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7452,11 +7495,11 @@ export namespace dataflow_v1b3 { getExecutionDetails( params: Params$Resource$Projects$Locations$Jobs$Stages$Getexecutiondetails, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getExecutionDetails( params?: Params$Resource$Projects$Locations$Jobs$Stages$Getexecutiondetails, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getExecutionDetails( params: Params$Resource$Projects$Locations$Jobs$Stages$Getexecutiondetails, options: StreamMethodOptions | BodyResponseCallback, @@ -7491,8 +7534,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Stages$Getexecutiondetails; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7591,11 +7634,11 @@ export namespace dataflow_v1b3 { lease( params: Params$Resource$Projects$Locations$Jobs$Workitems$Lease, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lease( params?: Params$Resource$Projects$Locations$Jobs$Workitems$Lease, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lease( params: Params$Resource$Projects$Locations$Jobs$Workitems$Lease, options: StreamMethodOptions | BodyResponseCallback, @@ -7628,8 +7671,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Workitems$Lease; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7684,11 +7727,11 @@ export namespace dataflow_v1b3 { reportStatus( params: Params$Resource$Projects$Locations$Jobs$Workitems$Reportstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportStatus( params?: Params$Resource$Projects$Locations$Jobs$Workitems$Reportstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportStatus( params: Params$Resource$Projects$Locations$Jobs$Workitems$Reportstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -7723,8 +7766,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Workitems$Reportstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7830,11 +7873,11 @@ export namespace dataflow_v1b3 { delete( params: Params$Resource$Projects$Locations$Snapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Snapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Snapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7867,8 +7910,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Snapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7923,11 +7966,11 @@ export namespace dataflow_v1b3 { get( params: Params$Resource$Projects$Locations$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7956,7 +7999,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8011,11 +8057,11 @@ export namespace dataflow_v1b3 { list( params: Params$Resource$Projects$Locations$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8048,8 +8094,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8157,11 +8203,11 @@ export namespace dataflow_v1b3 { create( params: Params$Resource$Projects$Locations$Templates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Templates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Templates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8190,7 +8236,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Templates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8245,11 +8294,11 @@ export namespace dataflow_v1b3 { get( params: Params$Resource$Projects$Locations$Templates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Templates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Templates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8280,8 +8329,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Templates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8336,11 +8385,11 @@ export namespace dataflow_v1b3 { launch( params: Params$Resource$Projects$Locations$Templates$Launch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; launch( params?: Params$Resource$Projects$Locations$Templates$Launch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; launch( params: Params$Resource$Projects$Locations$Templates$Launch, options: StreamMethodOptions | BodyResponseCallback, @@ -8373,8 +8422,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Templates$Launch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8504,11 +8553,11 @@ export namespace dataflow_v1b3 { get( params: Params$Resource$Projects$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8537,7 +8586,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8591,11 +8643,11 @@ export namespace dataflow_v1b3 { list( params: Params$Resource$Projects$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8628,8 +8680,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8722,11 +8774,11 @@ export namespace dataflow_v1b3 { create( params: Params$Resource$Projects$Templates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Templates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Templates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8755,7 +8807,10 @@ export namespace dataflow_v1b3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Templates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8810,11 +8865,11 @@ export namespace dataflow_v1b3 { get( params: Params$Resource$Projects$Templates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Templates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Templates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8845,8 +8900,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Templates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8901,11 +8956,11 @@ export namespace dataflow_v1b3 { launch( params: Params$Resource$Projects$Templates$Launch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; launch( params?: Params$Resource$Projects$Templates$Launch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; launch( params: Params$Resource$Projects$Templates$Launch, options: StreamMethodOptions | BodyResponseCallback, @@ -8938,8 +8993,8 @@ export namespace dataflow_v1b3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Templates$Launch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dataform/index.ts b/src/apis/dataform/index.ts index 4d9a7f87023..4ffcbde2f23 100644 --- a/src/apis/dataform/index.ts +++ b/src/apis/dataform/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/dataform/package.json b/src/apis/dataform/package.json index 50463091482..e41e60c92cd 100644 --- a/src/apis/dataform/package.json +++ b/src/apis/dataform/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/dataform/v1beta1.ts b/src/apis/dataform/v1beta1.ts index b1f84a32aff..6abf1454384 100644 --- a/src/apis/dataform/v1beta1.ts +++ b/src/apis/dataform/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1899,11 +1899,11 @@ export namespace dataform_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1932,7 +1932,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1984,11 +1987,11 @@ export namespace dataform_v1beta1 { getConfig( params: Params$Resource$Projects$Locations$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Locations$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Projects$Locations$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2017,7 +2020,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2069,11 +2075,11 @@ export namespace dataform_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2106,8 +2112,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2162,11 +2168,11 @@ export namespace dataform_v1beta1 { updateConfig( params: Params$Resource$Projects$Locations$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Projects$Locations$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params: Params$Resource$Projects$Locations$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2195,7 +2201,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2332,11 +2341,11 @@ export namespace dataform_v1beta1 { commit( params: Params$Resource$Projects$Locations$Repositories$Commit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commit( params?: Params$Resource$Projects$Locations$Repositories$Commit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commit( params: Params$Resource$Projects$Locations$Repositories$Commit, options: StreamMethodOptions | BodyResponseCallback, @@ -2371,8 +2380,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Commit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2429,11 +2438,13 @@ export namespace dataform_v1beta1 { computeAccessTokenStatus( params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeAccessTokenStatus( params?: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; computeAccessTokenStatus( params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -2468,8 +2479,10 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2526,11 +2539,11 @@ export namespace dataform_v1beta1 { create( params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2559,7 +2572,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2614,11 +2630,11 @@ export namespace dataform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2647,7 +2663,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2699,11 +2718,11 @@ export namespace dataform_v1beta1 { fetchHistory( params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchHistory( params?: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchHistory( params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: StreamMethodOptions | BodyResponseCallback, @@ -2738,8 +2757,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Fetchhistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2797,11 +2816,11 @@ export namespace dataform_v1beta1 { fetchRemoteBranches( params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchRemoteBranches( params?: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchRemoteBranches( params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: StreamMethodOptions | BodyResponseCallback, @@ -2836,8 +2855,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Fetchremotebranches; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2893,11 +2912,11 @@ export namespace dataform_v1beta1 { get( params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2926,7 +2945,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2978,11 +3000,11 @@ export namespace dataform_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3011,7 +3033,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3067,11 +3092,11 @@ export namespace dataform_v1beta1 { list( params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3104,8 +3129,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3160,11 +3185,11 @@ export namespace dataform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3193,7 +3218,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3245,11 +3273,13 @@ export namespace dataform_v1beta1 { queryDirectoryContents( params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryDirectoryContents( params?: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryDirectoryContents( params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: StreamMethodOptions | BodyResponseCallback, @@ -3284,8 +3314,10 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Querydirectorycontents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3343,11 +3375,11 @@ export namespace dataform_v1beta1 { readFile( params: Params$Resource$Projects$Locations$Repositories$Readfile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readFile( params?: Params$Resource$Projects$Locations$Repositories$Readfile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; readFile( params: Params$Resource$Projects$Locations$Repositories$Readfile, options: StreamMethodOptions | BodyResponseCallback, @@ -3382,8 +3414,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Readfile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3438,11 +3470,11 @@ export namespace dataform_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3471,7 +3503,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3527,11 +3562,11 @@ export namespace dataform_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Repositories$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3566,8 +3601,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3818,11 +3853,11 @@ export namespace dataform_v1beta1 { create( params: Params$Resource$Projects$Locations$Repositories$Compilationresults$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Compilationresults$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Compilationresults$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3853,8 +3888,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Compilationresults$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3910,11 +3945,11 @@ export namespace dataform_v1beta1 { get( params: Params$Resource$Projects$Locations$Repositories$Compilationresults$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Compilationresults$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Compilationresults$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3945,8 +3980,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Compilationresults$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3999,11 +4034,11 @@ export namespace dataform_v1beta1 { list( params: Params$Resource$Projects$Locations$Repositories$Compilationresults$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Compilationresults$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Compilationresults$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4038,8 +4073,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Compilationresults$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4097,11 +4132,13 @@ export namespace dataform_v1beta1 { query( params: Params$Resource$Projects$Locations$Repositories$Compilationresults$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Projects$Locations$Repositories$Compilationresults$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Projects$Locations$Repositories$Compilationresults$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -4136,8 +4173,10 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Compilationresults$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4264,11 +4303,11 @@ export namespace dataform_v1beta1 { create( params: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4297,7 +4336,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4353,11 +4395,11 @@ export namespace dataform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4386,7 +4428,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4439,11 +4484,11 @@ export namespace dataform_v1beta1 { get( params: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4472,7 +4517,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4525,11 +4573,11 @@ export namespace dataform_v1beta1 { list( params: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4564,8 +4612,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Releaseconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4621,11 +4669,11 @@ export namespace dataform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4654,7 +4702,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4776,11 +4827,11 @@ export namespace dataform_v1beta1 { create( params: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4809,7 +4860,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4865,11 +4919,11 @@ export namespace dataform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4898,7 +4952,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4951,11 +5008,11 @@ export namespace dataform_v1beta1 { get( params: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4984,7 +5041,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5037,11 +5097,11 @@ export namespace dataform_v1beta1 { list( params: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5076,8 +5136,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workflowconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5133,11 +5193,11 @@ export namespace dataform_v1beta1 { patch( params: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5166,7 +5226,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workflowconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5288,11 +5351,13 @@ export namespace dataform_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; cancel( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -5327,8 +5392,10 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5386,11 +5453,11 @@ export namespace dataform_v1beta1 { create( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5421,8 +5488,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5478,11 +5545,11 @@ export namespace dataform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5511,7 +5578,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5564,11 +5634,11 @@ export namespace dataform_v1beta1 { get( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5599,8 +5669,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5653,11 +5723,11 @@ export namespace dataform_v1beta1 { list( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5692,8 +5762,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workflowinvocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5751,11 +5821,13 @@ export namespace dataform_v1beta1 { query( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -5790,8 +5862,10 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5933,11 +6007,11 @@ export namespace dataform_v1beta1 { commit( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Commit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commit( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Commit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commit( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Commit, options: StreamMethodOptions | BodyResponseCallback, @@ -5972,8 +6046,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Commit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6031,11 +6105,11 @@ export namespace dataform_v1beta1 { create( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6064,7 +6138,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6120,11 +6197,11 @@ export namespace dataform_v1beta1 { delete( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6153,7 +6230,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6206,11 +6286,11 @@ export namespace dataform_v1beta1 { fetchFileDiff( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchfilediff, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchFileDiff( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchfilediff, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchFileDiff( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchfilediff, options: StreamMethodOptions | BodyResponseCallback, @@ -6245,8 +6325,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchfilediff; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6302,11 +6382,11 @@ export namespace dataform_v1beta1 { fetchFileGitStatuses( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchfilegitstatuses, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchFileGitStatuses( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchfilegitstatuses, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchFileGitStatuses( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchfilegitstatuses, options: StreamMethodOptions | BodyResponseCallback, @@ -6341,8 +6421,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchfilegitstatuses; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6400,11 +6480,11 @@ export namespace dataform_v1beta1 { fetchGitAheadBehind( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchgitaheadbehind, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchGitAheadBehind( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchgitaheadbehind, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchGitAheadBehind( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchgitaheadbehind, options: StreamMethodOptions | BodyResponseCallback, @@ -6439,8 +6519,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Fetchgitaheadbehind; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6496,11 +6576,11 @@ export namespace dataform_v1beta1 { get( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6529,7 +6609,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6582,11 +6665,11 @@ export namespace dataform_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6615,7 +6698,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6671,11 +6757,11 @@ export namespace dataform_v1beta1 { installNpmPackages( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Installnpmpackages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; installNpmPackages( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Installnpmpackages, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; installNpmPackages( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Installnpmpackages, options: StreamMethodOptions | BodyResponseCallback, @@ -6710,8 +6796,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Installnpmpackages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6767,11 +6853,11 @@ export namespace dataform_v1beta1 { list( params: Params$Resource$Projects$Locations$Repositories$Workspaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Repositories$Workspaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6804,8 +6890,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6861,11 +6947,11 @@ export namespace dataform_v1beta1 { makeDirectory( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Makedirectory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; makeDirectory( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Makedirectory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; makeDirectory( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Makedirectory, options: StreamMethodOptions | BodyResponseCallback, @@ -6900,8 +6986,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Makedirectory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6957,11 +7043,11 @@ export namespace dataform_v1beta1 { moveDirectory( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Movedirectory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveDirectory( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Movedirectory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveDirectory( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Movedirectory, options: StreamMethodOptions | BodyResponseCallback, @@ -6996,8 +7082,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Movedirectory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7053,11 +7139,11 @@ export namespace dataform_v1beta1 { moveFile( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Movefile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveFile( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Movefile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveFile( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Movefile, options: StreamMethodOptions | BodyResponseCallback, @@ -7086,7 +7172,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Movefile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7142,11 +7231,11 @@ export namespace dataform_v1beta1 { pull( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Pull, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pull( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Pull, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pull( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Pull, options: StreamMethodOptions | BodyResponseCallback, @@ -7179,8 +7268,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Pull; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7236,11 +7325,11 @@ export namespace dataform_v1beta1 { push( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Push, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; push( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Push, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; push( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Push, options: StreamMethodOptions | BodyResponseCallback, @@ -7273,8 +7362,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Push; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7330,11 +7419,11 @@ export namespace dataform_v1beta1 { queryDirectoryContents( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Querydirectorycontents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryDirectoryContents( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Querydirectorycontents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryDirectoryContents( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Querydirectorycontents, options: StreamMethodOptions | BodyResponseCallback, @@ -7369,8 +7458,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Querydirectorycontents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7427,11 +7516,11 @@ export namespace dataform_v1beta1 { readFile( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Readfile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; readFile( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Readfile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; readFile( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Readfile, options: StreamMethodOptions | BodyResponseCallback, @@ -7460,7 +7549,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Readfile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7516,11 +7608,11 @@ export namespace dataform_v1beta1 { removeDirectory( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Removedirectory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeDirectory( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Removedirectory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeDirectory( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Removedirectory, options: StreamMethodOptions | BodyResponseCallback, @@ -7555,8 +7647,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Removedirectory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7612,11 +7704,11 @@ export namespace dataform_v1beta1 { removeFile( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Removefile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeFile( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Removefile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeFile( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Removefile, options: StreamMethodOptions | BodyResponseCallback, @@ -7647,8 +7739,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Removefile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7704,11 +7796,11 @@ export namespace dataform_v1beta1 { reset( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -7743,8 +7835,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7802,11 +7894,11 @@ export namespace dataform_v1beta1 { searchFiles( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Searchfiles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchFiles( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Searchfiles, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchFiles( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Searchfiles, options: StreamMethodOptions | BodyResponseCallback, @@ -7839,8 +7931,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Searchfiles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7896,11 +7988,11 @@ export namespace dataform_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7929,7 +8021,10 @@ export namespace dataform_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7985,11 +8080,11 @@ export namespace dataform_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8024,8 +8119,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8081,11 +8176,11 @@ export namespace dataform_v1beta1 { writeFile( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Writefile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; writeFile( params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Writefile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; writeFile( params: Params$Resource$Projects$Locations$Repositories$Workspaces$Writefile, options: StreamMethodOptions | BodyResponseCallback, @@ -8116,8 +8211,8 @@ export namespace dataform_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Writefile; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datafusion/index.ts b/src/apis/datafusion/index.ts index b0a4140bb0f..e0617a0249c 100644 --- a/src/apis/datafusion/index.ts +++ b/src/apis/datafusion/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/datafusion/package.json b/src/apis/datafusion/package.json index 7cdc798db90..2a8944822e5 100644 --- a/src/apis/datafusion/package.json +++ b/src/apis/datafusion/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/datafusion/v1.ts b/src/apis/datafusion/v1.ts index e673c2a9b93..98cd14dccfa 100644 --- a/src/apis/datafusion/v1.ts +++ b/src/apis/datafusion/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -818,11 +818,11 @@ export namespace datafusion_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -851,7 +851,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -903,11 +906,11 @@ export namespace datafusion_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -940,8 +943,8 @@ export namespace datafusion_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1038,11 +1041,11 @@ export namespace datafusion_v1 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1071,7 +1074,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1126,11 +1132,11 @@ export namespace datafusion_v1 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1159,7 +1165,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1211,11 +1220,11 @@ export namespace datafusion_v1 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1244,7 +1253,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1296,11 +1308,11 @@ export namespace datafusion_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1329,7 +1341,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1385,11 +1400,11 @@ export namespace datafusion_v1 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1422,8 +1437,8 @@ export namespace datafusion_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1478,11 +1493,11 @@ export namespace datafusion_v1 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1511,7 +1526,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1563,11 +1581,11 @@ export namespace datafusion_v1 { restart( params: Params$Resource$Projects$Locations$Instances$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Projects$Locations$Instances$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Projects$Locations$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -1596,7 +1614,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1651,11 +1672,11 @@ export namespace datafusion_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1684,7 +1705,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1740,11 +1764,11 @@ export namespace datafusion_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Instances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1779,8 +1803,8 @@ export namespace datafusion_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1960,11 +1984,11 @@ export namespace datafusion_v1 { create( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Dnspeerings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1993,7 +2017,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Dnspeerings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2049,11 +2076,11 @@ export namespace datafusion_v1 { delete( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Dnspeerings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2082,7 +2109,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Dnspeerings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2135,11 +2165,11 @@ export namespace datafusion_v1 { list( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Dnspeerings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2172,8 +2202,8 @@ export namespace datafusion_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Dnspeerings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2275,11 +2305,11 @@ export namespace datafusion_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2308,7 +2338,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2360,11 +2393,11 @@ export namespace datafusion_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2393,7 +2426,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2445,11 +2481,11 @@ export namespace datafusion_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2478,7 +2514,10 @@ export namespace datafusion_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2530,11 +2569,11 @@ export namespace datafusion_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2567,8 +2606,8 @@ export namespace datafusion_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2676,11 +2715,11 @@ export namespace datafusion_v1 { list( params: Params$Resource$Projects$Locations$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2715,8 +2754,8 @@ export namespace datafusion_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datafusion/v1beta1.ts b/src/apis/datafusion/v1beta1.ts index 357c72e1386..9e368fb6a4f 100644 --- a/src/apis/datafusion/v1beta1.ts +++ b/src/apis/datafusion/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -869,11 +869,11 @@ export namespace datafusion_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -902,7 +902,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -954,11 +957,11 @@ export namespace datafusion_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -991,8 +994,8 @@ export namespace datafusion_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1047,11 +1050,11 @@ export namespace datafusion_v1beta1 { removeIamPolicy( params: Params$Resource$Projects$Locations$Removeiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeIamPolicy( params?: Params$Resource$Projects$Locations$Removeiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeIamPolicy( params: Params$Resource$Projects$Locations$Removeiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1086,8 +1089,8 @@ export namespace datafusion_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Removeiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1200,11 +1203,11 @@ export namespace datafusion_v1beta1 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1233,7 +1236,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1288,11 +1294,11 @@ export namespace datafusion_v1beta1 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1321,7 +1327,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1373,11 +1382,11 @@ export namespace datafusion_v1beta1 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1406,7 +1415,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1458,11 +1470,11 @@ export namespace datafusion_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1491,7 +1503,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1547,11 +1562,11 @@ export namespace datafusion_v1beta1 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1584,8 +1599,8 @@ export namespace datafusion_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1640,11 +1655,11 @@ export namespace datafusion_v1beta1 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1673,7 +1688,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1725,11 +1743,11 @@ export namespace datafusion_v1beta1 { restart( params: Params$Resource$Projects$Locations$Instances$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Projects$Locations$Instances$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Projects$Locations$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -1758,7 +1776,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1813,11 +1834,11 @@ export namespace datafusion_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1846,7 +1867,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1902,11 +1926,11 @@ export namespace datafusion_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Instances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1941,8 +1965,8 @@ export namespace datafusion_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1998,11 +2022,11 @@ export namespace datafusion_v1beta1 { upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Instances$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -2031,7 +2055,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2222,11 +2249,11 @@ export namespace datafusion_v1beta1 { create( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Dnspeerings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2255,7 +2282,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Dnspeerings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2311,11 +2341,11 @@ export namespace datafusion_v1beta1 { delete( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Dnspeerings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2344,7 +2374,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Dnspeerings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2397,11 +2430,11 @@ export namespace datafusion_v1beta1 { list( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Dnspeerings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$Dnspeerings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2434,8 +2467,8 @@ export namespace datafusion_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Dnspeerings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2537,11 +2570,11 @@ export namespace datafusion_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Namespaces$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Namespaces$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Namespaces$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2570,7 +2603,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Namespaces$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2626,11 +2662,11 @@ export namespace datafusion_v1beta1 { list( params: Params$Resource$Projects$Locations$Instances$Namespaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Namespaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$Namespaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2663,8 +2699,8 @@ export namespace datafusion_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Namespaces$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2720,11 +2756,11 @@ export namespace datafusion_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Namespaces$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Namespaces$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Namespaces$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2753,7 +2789,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Namespaces$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2809,11 +2848,11 @@ export namespace datafusion_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Namespaces$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Instances$Namespaces$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Namespaces$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2848,8 +2887,8 @@ export namespace datafusion_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Namespaces$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2967,11 +3006,11 @@ export namespace datafusion_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3000,7 +3039,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3055,11 +3097,11 @@ export namespace datafusion_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3088,7 +3130,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3140,11 +3185,11 @@ export namespace datafusion_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3173,7 +3218,10 @@ export namespace datafusion_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3225,11 +3273,11 @@ export namespace datafusion_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3262,8 +3310,8 @@ export namespace datafusion_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3371,11 +3419,11 @@ export namespace datafusion_v1beta1 { list( params: Params$Resource$Projects$Locations$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3410,8 +3458,8 @@ export namespace datafusion_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datalabeling/index.ts b/src/apis/datalabeling/index.ts index 3108c24dd9f..0485e1ac0b1 100644 --- a/src/apis/datalabeling/index.ts +++ b/src/apis/datalabeling/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/datalabeling/package.json b/src/apis/datalabeling/package.json index 609f784a56f..35fc23ec356 100644 --- a/src/apis/datalabeling/package.json +++ b/src/apis/datalabeling/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/datalabeling/v1beta1.ts b/src/apis/datalabeling/v1beta1.ts index e71b59f41d2..211c1c129fe 100644 --- a/src/apis/datalabeling/v1beta1.ts +++ b/src/apis/datalabeling/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3260,11 +3260,13 @@ export namespace datalabeling_v1beta1 { create( params: Params$Resource$Projects$Annotationspecsets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Annotationspecsets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Annotationspecsets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3299,8 +3301,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Annotationspecsets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3357,11 +3361,11 @@ export namespace datalabeling_v1beta1 { delete( params: Params$Resource$Projects$Annotationspecsets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Annotationspecsets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Annotationspecsets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3392,8 +3396,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Annotationspecsets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3445,11 +3449,13 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Annotationspecsets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Annotationspecsets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Annotationspecsets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3484,8 +3490,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Annotationspecsets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3539,11 +3547,13 @@ export namespace datalabeling_v1beta1 { list( params: Params$Resource$Projects$Annotationspecsets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Annotationspecsets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Annotationspecsets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3578,8 +3588,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Annotationspecsets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3705,11 +3717,13 @@ export namespace datalabeling_v1beta1 { create( params: Params$Resource$Projects$Datasets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Datasets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Datasets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3744,8 +3758,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3802,11 +3818,11 @@ export namespace datalabeling_v1beta1 { delete( params: Params$Resource$Projects$Datasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Datasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3837,8 +3853,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3890,11 +3906,11 @@ export namespace datalabeling_v1beta1 { exportData( params: Params$Resource$Projects$Datasets$Exportdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportData( params?: Params$Resource$Projects$Datasets$Exportdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportData( params: Params$Resource$Projects$Datasets$Exportdata, options: StreamMethodOptions | BodyResponseCallback, @@ -3929,8 +3945,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Exportdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3985,11 +4001,13 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Datasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Datasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4024,8 +4042,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4079,11 +4099,11 @@ export namespace datalabeling_v1beta1 { importData( params: Params$Resource$Projects$Datasets$Importdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importData( params?: Params$Resource$Projects$Datasets$Importdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importData( params: Params$Resource$Projects$Datasets$Importdata, options: StreamMethodOptions | BodyResponseCallback, @@ -4118,8 +4138,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Importdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4174,11 +4194,13 @@ export namespace datalabeling_v1beta1 { list( params: Params$Resource$Projects$Datasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Datasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Datasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4213,8 +4235,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4362,11 +4386,11 @@ export namespace datalabeling_v1beta1 { delete( params: Params$Resource$Projects$Datasets$Annotateddatasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Datasets$Annotateddatasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4397,8 +4421,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4451,11 +4475,13 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Datasets$Annotateddatasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Datasets$Annotateddatasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4490,8 +4516,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4545,11 +4573,13 @@ export namespace datalabeling_v1beta1 { list( params: Params$Resource$Projects$Datasets$Annotateddatasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Datasets$Annotateddatasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Datasets$Annotateddatasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4584,8 +4614,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4683,11 +4715,13 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Datasets$Annotateddatasets$Dataitems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Dataitems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Datasets$Annotateddatasets$Dataitems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4722,8 +4756,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Dataitems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4778,11 +4814,13 @@ export namespace datalabeling_v1beta1 { list( params: Params$Resource$Projects$Datasets$Annotateddatasets$Dataitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Dataitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Datasets$Annotateddatasets$Dataitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4817,8 +4855,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Dataitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4910,11 +4950,13 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Datasets$Annotateddatasets$Examples$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Examples$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Datasets$Annotateddatasets$Examples$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4949,8 +4991,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Examples$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5005,11 +5049,13 @@ export namespace datalabeling_v1beta1 { list( params: Params$Resource$Projects$Datasets$Annotateddatasets$Examples$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Examples$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Datasets$Annotateddatasets$Examples$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5044,8 +5090,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Examples$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5146,11 +5194,11 @@ export namespace datalabeling_v1beta1 { delete( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5181,8 +5229,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5235,11 +5283,13 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5274,8 +5324,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5330,11 +5382,13 @@ export namespace datalabeling_v1beta1 { list( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5369,8 +5423,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5465,11 +5521,11 @@ export namespace datalabeling_v1beta1 { create( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5504,8 +5560,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5561,11 +5617,11 @@ export namespace datalabeling_v1beta1 { delete( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5596,8 +5652,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5650,11 +5706,13 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5689,8 +5747,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5745,11 +5805,13 @@ export namespace datalabeling_v1beta1 { list( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5784,8 +5846,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Annotateddatasets$Feedbackthreads$Feedbackmessages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5892,11 +5956,13 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Datasets$Dataitems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Datasets$Dataitems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Datasets$Dataitems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5931,8 +5997,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Dataitems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5986,11 +6054,13 @@ export namespace datalabeling_v1beta1 { list( params: Params$Resource$Projects$Datasets$Dataitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Datasets$Dataitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Datasets$Dataitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6025,8 +6095,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Dataitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6122,11 +6194,13 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Datasets$Evaluations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Datasets$Evaluations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Datasets$Evaluations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6161,8 +6235,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Evaluations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6231,11 +6307,13 @@ export namespace datalabeling_v1beta1 { search( params: Params$Resource$Projects$Datasets$Evaluations$Examplecomparisons$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Datasets$Evaluations$Examplecomparisons$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Datasets$Evaluations$Examplecomparisons$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -6270,8 +6348,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Evaluations$Examplecomparisons$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6348,11 +6428,11 @@ export namespace datalabeling_v1beta1 { label( params: Params$Resource$Projects$Datasets$Image$Label, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; label( params?: Params$Resource$Projects$Datasets$Image$Label, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; label( params: Params$Resource$Projects$Datasets$Image$Label, options: StreamMethodOptions | BodyResponseCallback, @@ -6387,8 +6467,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Image$Label; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6463,11 +6543,11 @@ export namespace datalabeling_v1beta1 { label( params: Params$Resource$Projects$Datasets$Text$Label, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; label( params?: Params$Resource$Projects$Datasets$Text$Label, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; label( params: Params$Resource$Projects$Datasets$Text$Label, options: StreamMethodOptions | BodyResponseCallback, @@ -6502,8 +6582,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Text$Label; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6578,11 +6658,11 @@ export namespace datalabeling_v1beta1 { label( params: Params$Resource$Projects$Datasets$Video$Label, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; label( params?: Params$Resource$Projects$Datasets$Video$Label, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; label( params: Params$Resource$Projects$Datasets$Video$Label, options: StreamMethodOptions | BodyResponseCallback, @@ -6617,8 +6697,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Datasets$Video$Label; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6693,11 +6773,13 @@ export namespace datalabeling_v1beta1 { create( params: Params$Resource$Projects$Evaluationjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Evaluationjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Evaluationjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6732,8 +6814,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Evaluationjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6790,11 +6874,11 @@ export namespace datalabeling_v1beta1 { delete( params: Params$Resource$Projects$Evaluationjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Evaluationjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Evaluationjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6825,8 +6909,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Evaluationjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6878,11 +6962,13 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Evaluationjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Evaluationjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Evaluationjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6917,8 +7003,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Evaluationjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6972,11 +7060,13 @@ export namespace datalabeling_v1beta1 { list( params: Params$Resource$Projects$Evaluationjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Evaluationjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Evaluationjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7011,8 +7101,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Evaluationjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7069,11 +7161,13 @@ export namespace datalabeling_v1beta1 { patch( params: Params$Resource$Projects$Evaluationjobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Evaluationjobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Evaluationjobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7108,8 +7202,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Evaluationjobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7163,11 +7259,11 @@ export namespace datalabeling_v1beta1 { pause( params: Params$Resource$Projects$Evaluationjobs$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Evaluationjobs$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Evaluationjobs$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -7198,8 +7294,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Evaluationjobs$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7254,11 +7350,11 @@ export namespace datalabeling_v1beta1 { resume( params: Params$Resource$Projects$Evaluationjobs$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Evaluationjobs$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Evaluationjobs$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -7289,8 +7385,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Evaluationjobs$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7438,11 +7534,13 @@ export namespace datalabeling_v1beta1 { search( params: Params$Resource$Projects$Evaluations$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Evaluations$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Evaluations$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -7477,8 +7575,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Evaluations$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7562,11 +7662,11 @@ export namespace datalabeling_v1beta1 { create( params: Params$Resource$Projects$Instructions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instructions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instructions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7601,8 +7701,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instructions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7657,11 +7757,11 @@ export namespace datalabeling_v1beta1 { delete( params: Params$Resource$Projects$Instructions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instructions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instructions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7692,8 +7792,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instructions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7745,11 +7845,13 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Instructions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instructions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Instructions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7784,8 +7886,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instructions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7839,11 +7943,13 @@ export namespace datalabeling_v1beta1 { list( params: Params$Resource$Projects$Instructions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instructions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Instructions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7878,8 +7984,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instructions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7989,11 +8097,11 @@ export namespace datalabeling_v1beta1 { cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -8024,8 +8132,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8080,11 +8188,11 @@ export namespace datalabeling_v1beta1 { delete( params: Params$Resource$Projects$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8115,8 +8223,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8168,11 +8276,11 @@ export namespace datalabeling_v1beta1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8207,8 +8315,8 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8260,11 +8368,13 @@ export namespace datalabeling_v1beta1 { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8299,8 +8409,10 @@ export namespace datalabeling_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datalineage/index.ts b/src/apis/datalineage/index.ts index ac3370a294c..f91362a3b36 100644 --- a/src/apis/datalineage/index.ts +++ b/src/apis/datalineage/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/datalineage/package.json b/src/apis/datalineage/package.json index 632d22eb60a..d80ab999c38 100644 --- a/src/apis/datalineage/package.json +++ b/src/apis/datalineage/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/datalineage/v1.ts b/src/apis/datalineage/v1.ts index e66d4152f1e..6e28adc1725 100644 --- a/src/apis/datalineage/v1.ts +++ b/src/apis/datalineage/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -513,11 +513,11 @@ export namespace datalineage_v1 { batchSearchLinkProcesses( params: Params$Resource$Projects$Locations$Batchsearchlinkprocesses, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchSearchLinkProcesses( params?: Params$Resource$Projects$Locations$Batchsearchlinkprocesses, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchSearchLinkProcesses( params: Params$Resource$Projects$Locations$Batchsearchlinkprocesses, options: StreamMethodOptions | BodyResponseCallback, @@ -552,8 +552,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchsearchlinkprocesses; let options = (optionsOrCallback || {}) as MethodOptions; @@ -610,11 +610,11 @@ export namespace datalineage_v1 { searchLinks( params: Params$Resource$Projects$Locations$Searchlinks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchLinks( params?: Params$Resource$Projects$Locations$Searchlinks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchLinks( params: Params$Resource$Projects$Locations$Searchlinks, options: StreamMethodOptions | BodyResponseCallback, @@ -649,8 +649,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Searchlinks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -738,11 +738,11 @@ export namespace datalineage_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -773,8 +773,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -825,11 +825,11 @@ export namespace datalineage_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -860,8 +860,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -912,11 +912,11 @@ export namespace datalineage_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -951,8 +951,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1003,11 +1003,11 @@ export namespace datalineage_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1042,8 +1042,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1154,11 +1154,11 @@ export namespace datalineage_v1 { create( params: Params$Resource$Projects$Locations$Processes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Processes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Processes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1193,8 +1193,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1250,11 +1250,11 @@ export namespace datalineage_v1 { delete( params: Params$Resource$Projects$Locations$Processes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Processes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Processes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1289,8 +1289,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1341,11 +1341,11 @@ export namespace datalineage_v1 { get( params: Params$Resource$Projects$Locations$Processes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Processes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Processes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1380,8 +1380,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1434,11 +1434,11 @@ export namespace datalineage_v1 { list( params: Params$Resource$Projects$Locations$Processes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Processes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Processes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1473,8 +1473,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1530,11 +1530,11 @@ export namespace datalineage_v1 { patch( params: Params$Resource$Projects$Locations$Processes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Processes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Processes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1569,8 +1569,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1705,11 +1705,11 @@ export namespace datalineage_v1 { create( params: Params$Resource$Projects$Locations$Processes$Runs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Processes$Runs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Processes$Runs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1744,8 +1744,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Runs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1798,11 +1798,11 @@ export namespace datalineage_v1 { delete( params: Params$Resource$Projects$Locations$Processes$Runs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Processes$Runs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Processes$Runs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1837,8 +1837,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Runs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1889,11 +1889,11 @@ export namespace datalineage_v1 { get( params: Params$Resource$Projects$Locations$Processes$Runs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Processes$Runs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Processes$Runs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1928,8 +1928,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Runs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1982,11 +1982,11 @@ export namespace datalineage_v1 { list( params: Params$Resource$Projects$Locations$Processes$Runs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Processes$Runs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Processes$Runs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2021,8 +2021,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Runs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2075,11 +2075,11 @@ export namespace datalineage_v1 { patch( params: Params$Resource$Projects$Locations$Processes$Runs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Processes$Runs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Processes$Runs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2114,8 +2114,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Runs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2245,11 +2245,11 @@ export namespace datalineage_v1 { create( params: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2284,8 +2284,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2342,11 +2342,11 @@ export namespace datalineage_v1 { delete( params: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2377,8 +2377,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2430,11 +2430,11 @@ export namespace datalineage_v1 { get( params: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2469,8 +2469,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2524,11 +2524,11 @@ export namespace datalineage_v1 { list( params: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2563,8 +2563,8 @@ export namespace datalineage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processes$Runs$Lineageevents$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datamigration/index.ts b/src/apis/datamigration/index.ts index f3906fb8f6c..a40d31426d1 100644 --- a/src/apis/datamigration/index.ts +++ b/src/apis/datamigration/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/datamigration/package.json b/src/apis/datamigration/package.json index 3b0ac8d79f2..1a8a89f87b0 100644 --- a/src/apis/datamigration/package.json +++ b/src/apis/datamigration/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/datamigration/v1.ts b/src/apis/datamigration/v1.ts index 2d4000f558c..83d36dd4233 100644 --- a/src/apis/datamigration/v1.ts +++ b/src/apis/datamigration/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3255,11 +3255,11 @@ export namespace datamigration_v1 { fetchStaticIps( params: Params$Resource$Projects$Locations$Fetchstaticips, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchStaticIps( params?: Params$Resource$Projects$Locations$Fetchstaticips, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchStaticIps( params: Params$Resource$Projects$Locations$Fetchstaticips, options: StreamMethodOptions | BodyResponseCallback, @@ -3294,8 +3294,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fetchstaticips; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3351,11 +3351,11 @@ export namespace datamigration_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3384,7 +3384,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3437,11 +3440,11 @@ export namespace datamigration_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3474,8 +3477,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3584,11 +3587,11 @@ export namespace datamigration_v1 { create( params: Params$Resource$Projects$Locations$Connectionprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connectionprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connectionprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3617,7 +3620,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3674,11 +3680,11 @@ export namespace datamigration_v1 { delete( params: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3707,7 +3713,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3761,11 +3770,11 @@ export namespace datamigration_v1 { get( params: Params$Resource$Projects$Locations$Connectionprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connectionprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connectionprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3796,8 +3805,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3851,11 +3860,11 @@ export namespace datamigration_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Connectionprofiles$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Connectionprofiles$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Connectionprofiles$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3884,7 +3893,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3941,11 +3953,11 @@ export namespace datamigration_v1 { list( params: Params$Resource$Projects$Locations$Connectionprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connectionprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connectionprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3980,8 +3992,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4040,11 +4052,11 @@ export namespace datamigration_v1 { patch( params: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4073,7 +4085,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4127,11 +4142,11 @@ export namespace datamigration_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Connectionprofiles$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Connectionprofiles$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Connectionprofiles$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4160,7 +4175,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4217,11 +4235,11 @@ export namespace datamigration_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Connectionprofiles$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Connectionprofiles$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Connectionprofiles$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4256,8 +4274,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4463,11 +4481,11 @@ export namespace datamigration_v1 { apply( params: Params$Resource$Projects$Locations$Conversionworkspaces$Apply, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; apply( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Apply, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; apply( params: Params$Resource$Projects$Locations$Conversionworkspaces$Apply, options: StreamMethodOptions | BodyResponseCallback, @@ -4496,7 +4514,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Apply; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4550,11 +4571,11 @@ export namespace datamigration_v1 { commit( params: Params$Resource$Projects$Locations$Conversionworkspaces$Commit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commit( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Commit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commit( params: Params$Resource$Projects$Locations$Conversionworkspaces$Commit, options: StreamMethodOptions | BodyResponseCallback, @@ -4583,7 +4604,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Commit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4637,11 +4661,11 @@ export namespace datamigration_v1 { convert( params: Params$Resource$Projects$Locations$Conversionworkspaces$Convert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; convert( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Convert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; convert( params: Params$Resource$Projects$Locations$Conversionworkspaces$Convert, options: StreamMethodOptions | BodyResponseCallback, @@ -4670,7 +4694,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Convert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4727,11 +4754,11 @@ export namespace datamigration_v1 { create( params: Params$Resource$Projects$Locations$Conversionworkspaces$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Conversionworkspaces$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4760,7 +4787,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4817,11 +4847,11 @@ export namespace datamigration_v1 { delete( params: Params$Resource$Projects$Locations$Conversionworkspaces$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Conversionworkspaces$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4850,7 +4880,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4904,11 +4937,13 @@ export namespace datamigration_v1 { describeConversionWorkspaceRevisions( params: Params$Resource$Projects$Locations$Conversionworkspaces$Describeconversionworkspacerevisions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; describeConversionWorkspaceRevisions( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Describeconversionworkspacerevisions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; describeConversionWorkspaceRevisions( params: Params$Resource$Projects$Locations$Conversionworkspaces$Describeconversionworkspacerevisions, options: StreamMethodOptions | BodyResponseCallback, @@ -4943,8 +4978,10 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Describeconversionworkspacerevisions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5003,11 +5040,13 @@ export namespace datamigration_v1 { describeDatabaseEntities( params: Params$Resource$Projects$Locations$Conversionworkspaces$Describedatabaseentities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; describeDatabaseEntities( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Describedatabaseentities, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; describeDatabaseEntities( params: Params$Resource$Projects$Locations$Conversionworkspaces$Describedatabaseentities, options: StreamMethodOptions | BodyResponseCallback, @@ -5042,8 +5081,10 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Describedatabaseentities; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5101,11 +5142,11 @@ export namespace datamigration_v1 { get( params: Params$Resource$Projects$Locations$Conversionworkspaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Conversionworkspaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5136,8 +5177,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5191,11 +5232,11 @@ export namespace datamigration_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Conversionworkspaces$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Conversionworkspaces$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5224,7 +5265,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5281,11 +5325,13 @@ export namespace datamigration_v1 { list( params: Params$Resource$Projects$Locations$Conversionworkspaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversionworkspaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversionworkspaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5320,8 +5366,10 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5380,11 +5428,11 @@ export namespace datamigration_v1 { patch( params: Params$Resource$Projects$Locations$Conversionworkspaces$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Conversionworkspaces$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5413,7 +5461,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5467,11 +5518,11 @@ export namespace datamigration_v1 { rollback( params: Params$Resource$Projects$Locations$Conversionworkspaces$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Locations$Conversionworkspaces$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -5500,7 +5551,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5557,11 +5611,11 @@ export namespace datamigration_v1 { searchBackgroundJobs( params: Params$Resource$Projects$Locations$Conversionworkspaces$Searchbackgroundjobs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchBackgroundJobs( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Searchbackgroundjobs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchBackgroundJobs( params: Params$Resource$Projects$Locations$Conversionworkspaces$Searchbackgroundjobs, options: StreamMethodOptions | BodyResponseCallback, @@ -5596,8 +5650,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Searchbackgroundjobs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5655,11 +5709,11 @@ export namespace datamigration_v1 { seed( params: Params$Resource$Projects$Locations$Conversionworkspaces$Seed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; seed( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Seed, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; seed( params: Params$Resource$Projects$Locations$Conversionworkspaces$Seed, options: StreamMethodOptions | BodyResponseCallback, @@ -5688,7 +5742,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Seed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5742,11 +5799,11 @@ export namespace datamigration_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Conversionworkspaces$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Conversionworkspaces$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5775,7 +5832,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5832,11 +5892,11 @@ export namespace datamigration_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Conversionworkspaces$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Conversionworkspaces$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5871,8 +5931,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6178,11 +6238,11 @@ export namespace datamigration_v1 { create( params: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6211,7 +6271,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6268,11 +6331,11 @@ export namespace datamigration_v1 { delete( params: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6301,7 +6364,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6355,11 +6421,11 @@ export namespace datamigration_v1 { get( params: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6388,7 +6454,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6442,11 +6511,11 @@ export namespace datamigration_v1 { import( params: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -6475,7 +6544,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6532,11 +6604,11 @@ export namespace datamigration_v1 { list( params: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6569,8 +6641,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversionworkspaces$Mappingrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6704,11 +6776,11 @@ export namespace datamigration_v1 { create( params: Params$Resource$Projects$Locations$Migrationjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Migrationjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Migrationjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6737,7 +6809,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6793,11 +6868,11 @@ export namespace datamigration_v1 { delete( params: Params$Resource$Projects$Locations$Migrationjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Migrationjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Migrationjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6826,7 +6901,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6879,11 +6957,11 @@ export namespace datamigration_v1 { demoteDestination( params: Params$Resource$Projects$Locations$Migrationjobs$Demotedestination, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; demoteDestination( params?: Params$Resource$Projects$Locations$Migrationjobs$Demotedestination, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; demoteDestination( params: Params$Resource$Projects$Locations$Migrationjobs$Demotedestination, options: StreamMethodOptions | BodyResponseCallback, @@ -6912,7 +6990,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Demotedestination; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6969,11 +7050,11 @@ export namespace datamigration_v1 { fetchSourceObjects( params: Params$Resource$Projects$Locations$Migrationjobs$Fetchsourceobjects, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchSourceObjects( params?: Params$Resource$Projects$Locations$Migrationjobs$Fetchsourceobjects, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchSourceObjects( params: Params$Resource$Projects$Locations$Migrationjobs$Fetchsourceobjects, options: StreamMethodOptions | BodyResponseCallback, @@ -7002,7 +7083,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Fetchsourceobjects; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7059,11 +7143,11 @@ export namespace datamigration_v1 { generateSshScript( params: Params$Resource$Projects$Locations$Migrationjobs$Generatesshscript, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateSshScript( params?: Params$Resource$Projects$Locations$Migrationjobs$Generatesshscript, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateSshScript( params: Params$Resource$Projects$Locations$Migrationjobs$Generatesshscript, options: StreamMethodOptions | BodyResponseCallback, @@ -7092,7 +7176,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Generatesshscript; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7149,11 +7236,11 @@ export namespace datamigration_v1 { generateTcpProxyScript( params: Params$Resource$Projects$Locations$Migrationjobs$Generatetcpproxyscript, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateTcpProxyScript( params?: Params$Resource$Projects$Locations$Migrationjobs$Generatetcpproxyscript, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateTcpProxyScript( params: Params$Resource$Projects$Locations$Migrationjobs$Generatetcpproxyscript, options: StreamMethodOptions | BodyResponseCallback, @@ -7184,7 +7271,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Generatetcpproxyscript; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7240,11 +7330,11 @@ export namespace datamigration_v1 { get( params: Params$Resource$Projects$Locations$Migrationjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Migrationjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Migrationjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7273,7 +7363,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7326,11 +7419,11 @@ export namespace datamigration_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Migrationjobs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7359,7 +7452,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7416,11 +7512,11 @@ export namespace datamigration_v1 { list( params: Params$Resource$Projects$Locations$Migrationjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Migrationjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Migrationjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7455,8 +7551,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7512,11 +7608,11 @@ export namespace datamigration_v1 { patch( params: Params$Resource$Projects$Locations$Migrationjobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Migrationjobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Migrationjobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7545,7 +7641,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7598,11 +7697,11 @@ export namespace datamigration_v1 { promote( params: Params$Resource$Projects$Locations$Migrationjobs$Promote, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; promote( params?: Params$Resource$Projects$Locations$Migrationjobs$Promote, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; promote( params: Params$Resource$Projects$Locations$Migrationjobs$Promote, options: StreamMethodOptions | BodyResponseCallback, @@ -7631,7 +7730,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Promote; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7687,11 +7789,11 @@ export namespace datamigration_v1 { restart( params: Params$Resource$Projects$Locations$Migrationjobs$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Projects$Locations$Migrationjobs$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Projects$Locations$Migrationjobs$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -7720,7 +7822,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7776,11 +7881,11 @@ export namespace datamigration_v1 { resume( params: Params$Resource$Projects$Locations$Migrationjobs$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Migrationjobs$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Migrationjobs$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -7809,7 +7914,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7862,11 +7970,11 @@ export namespace datamigration_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Migrationjobs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7895,7 +8003,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7952,11 +8063,11 @@ export namespace datamigration_v1 { start( params: Params$Resource$Projects$Locations$Migrationjobs$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Migrationjobs$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Migrationjobs$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -7985,7 +8096,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8038,11 +8152,11 @@ export namespace datamigration_v1 { stop( params: Params$Resource$Projects$Locations$Migrationjobs$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Migrationjobs$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Migrationjobs$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -8071,7 +8185,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8124,11 +8241,11 @@ export namespace datamigration_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Migrationjobs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Migrationjobs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Migrationjobs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8163,8 +8280,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8221,11 +8338,11 @@ export namespace datamigration_v1 { verify( params: Params$Resource$Projects$Locations$Migrationjobs$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Projects$Locations$Migrationjobs$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Projects$Locations$Migrationjobs$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -8254,7 +8371,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Verify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8550,11 +8670,11 @@ export namespace datamigration_v1 { get( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Migrationjobs$Objects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8585,8 +8705,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Objects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8640,11 +8760,11 @@ export namespace datamigration_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Migrationjobs$Objects$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8673,7 +8793,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Objects$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8730,11 +8853,11 @@ export namespace datamigration_v1 { list( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Migrationjobs$Objects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8769,8 +8892,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Objects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8829,11 +8952,11 @@ export namespace datamigration_v1 { lookup( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Projects$Locations$Migrationjobs$Objects$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -8864,8 +8987,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Objects$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8922,11 +9045,11 @@ export namespace datamigration_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Migrationjobs$Objects$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8955,7 +9078,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Objects$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9012,11 +9138,11 @@ export namespace datamigration_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Migrationjobs$Objects$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Migrationjobs$Objects$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9051,8 +9177,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Objects$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9186,11 +9312,11 @@ export namespace datamigration_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -9219,7 +9345,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9272,11 +9401,11 @@ export namespace datamigration_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9305,7 +9434,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9358,11 +9490,11 @@ export namespace datamigration_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9391,7 +9523,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9444,11 +9579,11 @@ export namespace datamigration_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9481,8 +9616,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9591,11 +9726,11 @@ export namespace datamigration_v1 { create( params: Params$Resource$Projects$Locations$Privateconnections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateconnections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateconnections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9624,7 +9759,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9681,11 +9819,11 @@ export namespace datamigration_v1 { delete( params: Params$Resource$Projects$Locations$Privateconnections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Privateconnections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Privateconnections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9714,7 +9852,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9768,11 +9909,11 @@ export namespace datamigration_v1 { get( params: Params$Resource$Projects$Locations$Privateconnections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateconnections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateconnections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9803,8 +9944,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9858,11 +9999,11 @@ export namespace datamigration_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Privateconnections$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Privateconnections$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Privateconnections$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9891,7 +10032,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9948,11 +10092,11 @@ export namespace datamigration_v1 { list( params: Params$Resource$Projects$Locations$Privateconnections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateconnections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateconnections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9987,8 +10131,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10047,11 +10191,11 @@ export namespace datamigration_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Privateconnections$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Privateconnections$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Privateconnections$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10080,7 +10224,10 @@ export namespace datamigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10137,11 +10284,11 @@ export namespace datamigration_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Privateconnections$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Privateconnections$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Privateconnections$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -10176,8 +10323,8 @@ export namespace datamigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datamigration/v1beta1.ts b/src/apis/datamigration/v1beta1.ts index 8e21d107889..2ac751f3954 100644 --- a/src/apis/datamigration/v1beta1.ts +++ b/src/apis/datamigration/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -894,11 +894,11 @@ export namespace datamigration_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -927,7 +927,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -980,11 +983,11 @@ export namespace datamigration_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1017,8 +1020,8 @@ export namespace datamigration_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1112,11 +1115,11 @@ export namespace datamigration_v1beta1 { create( params: Params$Resource$Projects$Locations$Connectionprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connectionprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connectionprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1145,7 +1148,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1202,11 +1208,11 @@ export namespace datamigration_v1beta1 { delete( params: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1235,7 +1241,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1289,11 +1298,11 @@ export namespace datamigration_v1beta1 { get( params: Params$Resource$Projects$Locations$Connectionprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connectionprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connectionprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1324,8 +1333,8 @@ export namespace datamigration_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1379,11 +1388,11 @@ export namespace datamigration_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Connectionprofiles$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Connectionprofiles$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Connectionprofiles$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1412,7 +1421,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1469,11 +1481,11 @@ export namespace datamigration_v1beta1 { list( params: Params$Resource$Projects$Locations$Connectionprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connectionprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connectionprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1508,8 +1520,8 @@ export namespace datamigration_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1568,11 +1580,11 @@ export namespace datamigration_v1beta1 { patch( params: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1601,7 +1613,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1655,11 +1670,11 @@ export namespace datamigration_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Connectionprofiles$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Connectionprofiles$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Connectionprofiles$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1688,7 +1703,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1745,11 +1763,11 @@ export namespace datamigration_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Connectionprofiles$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Connectionprofiles$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Connectionprofiles$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1784,8 +1802,8 @@ export namespace datamigration_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1970,11 +1988,11 @@ export namespace datamigration_v1beta1 { create( params: Params$Resource$Projects$Locations$Migrationjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Migrationjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Migrationjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2003,7 +2021,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2059,11 +2080,11 @@ export namespace datamigration_v1beta1 { delete( params: Params$Resource$Projects$Locations$Migrationjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Migrationjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Migrationjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2092,7 +2113,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2145,11 +2169,11 @@ export namespace datamigration_v1beta1 { generateSshScript( params: Params$Resource$Projects$Locations$Migrationjobs$Generatesshscript, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateSshScript( params?: Params$Resource$Projects$Locations$Migrationjobs$Generatesshscript, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateSshScript( params: Params$Resource$Projects$Locations$Migrationjobs$Generatesshscript, options: StreamMethodOptions | BodyResponseCallback, @@ -2178,7 +2202,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Generatesshscript; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2234,11 +2261,11 @@ export namespace datamigration_v1beta1 { get( params: Params$Resource$Projects$Locations$Migrationjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Migrationjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Migrationjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2267,7 +2294,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2320,11 +2350,11 @@ export namespace datamigration_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Migrationjobs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2353,7 +2383,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2410,11 +2443,11 @@ export namespace datamigration_v1beta1 { list( params: Params$Resource$Projects$Locations$Migrationjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Migrationjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Migrationjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2449,8 +2482,8 @@ export namespace datamigration_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2506,11 +2539,11 @@ export namespace datamigration_v1beta1 { patch( params: Params$Resource$Projects$Locations$Migrationjobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Migrationjobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Migrationjobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2539,7 +2572,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2592,11 +2628,11 @@ export namespace datamigration_v1beta1 { promote( params: Params$Resource$Projects$Locations$Migrationjobs$Promote, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; promote( params?: Params$Resource$Projects$Locations$Migrationjobs$Promote, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; promote( params: Params$Resource$Projects$Locations$Migrationjobs$Promote, options: StreamMethodOptions | BodyResponseCallback, @@ -2625,7 +2661,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Promote; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2681,11 +2720,11 @@ export namespace datamigration_v1beta1 { restart( params: Params$Resource$Projects$Locations$Migrationjobs$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Projects$Locations$Migrationjobs$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Projects$Locations$Migrationjobs$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -2714,7 +2753,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2770,11 +2812,11 @@ export namespace datamigration_v1beta1 { resume( params: Params$Resource$Projects$Locations$Migrationjobs$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Migrationjobs$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Migrationjobs$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -2803,7 +2845,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2859,11 +2904,11 @@ export namespace datamigration_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Migrationjobs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Migrationjobs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2892,7 +2937,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2949,11 +2997,11 @@ export namespace datamigration_v1beta1 { start( params: Params$Resource$Projects$Locations$Migrationjobs$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Migrationjobs$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Migrationjobs$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -2982,7 +3030,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3038,11 +3089,11 @@ export namespace datamigration_v1beta1 { stop( params: Params$Resource$Projects$Locations$Migrationjobs$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Migrationjobs$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Migrationjobs$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -3071,7 +3122,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3127,11 +3181,11 @@ export namespace datamigration_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Migrationjobs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Migrationjobs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Migrationjobs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3166,8 +3220,8 @@ export namespace datamigration_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3224,11 +3278,11 @@ export namespace datamigration_v1beta1 { verify( params: Params$Resource$Projects$Locations$Migrationjobs$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Projects$Locations$Migrationjobs$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Projects$Locations$Migrationjobs$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -3257,7 +3311,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Migrationjobs$Verify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3525,11 +3582,11 @@ export namespace datamigration_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3558,7 +3615,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3614,11 +3674,11 @@ export namespace datamigration_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3647,7 +3707,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3700,11 +3763,11 @@ export namespace datamigration_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3733,7 +3796,10 @@ export namespace datamigration_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3786,11 +3852,11 @@ export namespace datamigration_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3823,8 +3889,8 @@ export namespace datamigration_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datapipelines/index.ts b/src/apis/datapipelines/index.ts index a922d757362..1479aafbeab 100644 --- a/src/apis/datapipelines/index.ts +++ b/src/apis/datapipelines/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/datapipelines/package.json b/src/apis/datapipelines/package.json index d7b9f26a801..fea4f3b4fdd 100644 --- a/src/apis/datapipelines/package.json +++ b/src/apis/datapipelines/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/datapipelines/v1.ts b/src/apis/datapipelines/v1.ts index f50baa22527..4f916b9eb8a 100644 --- a/src/apis/datapipelines/v1.ts +++ b/src/apis/datapipelines/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -614,11 +614,13 @@ export namespace datapipelines_v1 { create( params: Params$Resource$Projects$Locations$Pipelines$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Pipelines$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Pipelines$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -653,8 +655,10 @@ export namespace datapipelines_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -712,11 +716,11 @@ export namespace datapipelines_v1 { delete( params: Params$Resource$Projects$Locations$Pipelines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Pipelines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Pipelines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -747,8 +751,8 @@ export namespace datapipelines_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -801,11 +805,13 @@ export namespace datapipelines_v1 { get( params: Params$Resource$Projects$Locations$Pipelines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Pipelines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Pipelines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -840,8 +846,10 @@ export namespace datapipelines_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -896,11 +904,13 @@ export namespace datapipelines_v1 { list( params: Params$Resource$Projects$Locations$Pipelines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Pipelines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Pipelines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -935,8 +945,10 @@ export namespace datapipelines_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -994,11 +1006,13 @@ export namespace datapipelines_v1 { patch( params: Params$Resource$Projects$Locations$Pipelines$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Pipelines$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Pipelines$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1033,8 +1047,10 @@ export namespace datapipelines_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1089,11 +1105,13 @@ export namespace datapipelines_v1 { run( params: Params$Resource$Projects$Locations$Pipelines$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Pipelines$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; run( params: Params$Resource$Projects$Locations$Pipelines$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -1128,8 +1146,10 @@ export namespace datapipelines_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1184,11 +1204,13 @@ export namespace datapipelines_v1 { stop( params: Params$Resource$Projects$Locations$Pipelines$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Pipelines$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; stop( params: Params$Resource$Projects$Locations$Pipelines$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -1223,8 +1245,10 @@ export namespace datapipelines_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1372,11 +1396,13 @@ export namespace datapipelines_v1 { list( params: Params$Resource$Projects$Locations$Pipelines$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Pipelines$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Pipelines$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1411,8 +1437,10 @@ export namespace datapipelines_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dataplex/index.ts b/src/apis/dataplex/index.ts index 6859f1f5e25..0c16c169d10 100644 --- a/src/apis/dataplex/index.ts +++ b/src/apis/dataplex/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/dataplex/package.json b/src/apis/dataplex/package.json index 4ff72e58f9d..db068514d70 100644 --- a/src/apis/dataplex/package.json +++ b/src/apis/dataplex/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/dataplex/v1.ts b/src/apis/dataplex/v1.ts index b3131eb8feb..ba1954083cc 100644 --- a/src/apis/dataplex/v1.ts +++ b/src/apis/dataplex/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -4821,11 +4821,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Encryptionconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4860,8 +4860,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Encryptionconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4917,11 +4917,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Encryptionconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4956,8 +4956,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Encryptionconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5010,11 +5010,13 @@ export namespace dataplex_v1 { get( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Encryptionconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5049,8 +5051,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Encryptionconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5105,11 +5109,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Organizations$Locations$Encryptionconfigs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5142,8 +5146,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Encryptionconfigs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5199,11 +5203,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Organizations$Locations$Encryptionconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Encryptionconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Encryptionconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5238,8 +5244,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Encryptionconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5297,11 +5305,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Encryptionconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5336,8 +5344,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Encryptionconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5390,11 +5398,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Organizations$Locations$Encryptionconfigs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5427,8 +5435,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Encryptionconfigs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5484,11 +5492,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Locations$Encryptionconfigs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Organizations$Locations$Encryptionconfigs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5523,8 +5533,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Encryptionconfigs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5698,11 +5710,11 @@ export namespace dataplex_v1 { cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -5731,7 +5743,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5784,11 +5799,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5817,7 +5832,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5870,11 +5888,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5909,8 +5927,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5962,11 +5980,13 @@ export namespace dataplex_v1 { listOperations( params: Params$Resource$Organizations$Locations$Operations$Listoperations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listOperations( params?: Params$Resource$Organizations$Locations$Operations$Listoperations, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listOperations( params: Params$Resource$Organizations$Locations$Operations$Listoperations, options: StreamMethodOptions | BodyResponseCallback, @@ -6001,8 +6021,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Listoperations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6162,11 +6184,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6201,8 +6223,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6254,11 +6276,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6293,8 +6317,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6351,11 +6377,11 @@ export namespace dataplex_v1 { lookupEntry( params: Params$Resource$Projects$Locations$Lookupentry, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupEntry( params?: Params$Resource$Projects$Locations$Lookupentry, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookupEntry( params: Params$Resource$Projects$Locations$Lookupentry, options: StreamMethodOptions | BodyResponseCallback, @@ -6390,8 +6416,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lookupentry; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6446,11 +6472,13 @@ export namespace dataplex_v1 { searchEntries( params: Params$Resource$Projects$Locations$Searchentries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchEntries( params?: Params$Resource$Projects$Locations$Searchentries, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchEntries( params: Params$Resource$Projects$Locations$Searchentries, options: StreamMethodOptions | BodyResponseCallback, @@ -6485,8 +6513,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Searchentries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6635,11 +6665,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Aspecttypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Aspecttypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Aspecttypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6674,8 +6704,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Aspecttypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6730,11 +6760,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Aspecttypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Aspecttypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Aspecttypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6769,8 +6799,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Aspecttypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6822,11 +6852,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Aspecttypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Aspecttypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Aspecttypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6861,8 +6891,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Aspecttypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6916,11 +6946,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Aspecttypes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Aspecttypes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Aspecttypes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6953,8 +6983,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Aspecttypes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7010,11 +7040,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Aspecttypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Aspecttypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Aspecttypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7049,8 +7081,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Aspecttypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7107,11 +7141,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Aspecttypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Aspecttypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Aspecttypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7146,8 +7180,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Aspecttypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7199,11 +7233,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Aspecttypes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Aspecttypes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Aspecttypes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7236,8 +7270,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Aspecttypes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7293,11 +7327,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Aspecttypes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Aspecttypes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Aspecttypes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7332,8 +7368,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Aspecttypes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7515,11 +7553,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Dataattributebindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Dataattributebindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Dataattributebindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7554,8 +7592,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataattributebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7611,11 +7649,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Dataattributebindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Dataattributebindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Dataattributebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7650,8 +7688,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataattributebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7704,11 +7742,13 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Dataattributebindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Dataattributebindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Dataattributebindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7743,8 +7783,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataattributebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7799,11 +7841,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Dataattributebindings$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Dataattributebindings$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Dataattributebindings$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7836,8 +7878,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataattributebindings$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7893,11 +7935,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Dataattributebindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Dataattributebindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Dataattributebindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7932,8 +7976,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataattributebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7991,11 +8037,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Dataattributebindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Dataattributebindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Dataattributebindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8030,8 +8076,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataattributebindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8084,11 +8130,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Dataattributebindings$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Dataattributebindings$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Dataattributebindings$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8121,8 +8167,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataattributebindings$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8178,11 +8224,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Dataattributebindings$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Dataattributebindings$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Dataattributebindings$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8217,8 +8265,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dataattributebindings$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8402,11 +8452,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Datascans$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datascans$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datascans$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8441,8 +8491,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8497,11 +8547,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Datascans$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datascans$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datascans$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8536,8 +8586,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8589,11 +8639,13 @@ export namespace dataplex_v1 { generateDataQualityRules( params: Params$Resource$Projects$Locations$Datascans$Generatedataqualityrules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateDataQualityRules( params?: Params$Resource$Projects$Locations$Datascans$Generatedataqualityrules, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateDataQualityRules( params: Params$Resource$Projects$Locations$Datascans$Generatedataqualityrules, options: StreamMethodOptions | BodyResponseCallback, @@ -8628,8 +8680,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Generatedataqualityrules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8687,11 +8741,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Datascans$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datascans$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datascans$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8726,8 +8780,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8781,11 +8835,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datascans$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datascans$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datascans$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8818,8 +8872,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8875,11 +8929,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Datascans$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datascans$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datascans$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8914,8 +8970,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8972,11 +9030,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Datascans$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datascans$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datascans$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9011,8 +9069,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9064,11 +9122,13 @@ export namespace dataplex_v1 { run( params: Params$Resource$Projects$Locations$Datascans$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Datascans$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; run( params: Params$Resource$Projects$Locations$Datascans$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -9103,8 +9163,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9158,11 +9220,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datascans$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datascans$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datascans$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9195,8 +9257,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9252,11 +9314,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datascans$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datascans$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Datascans$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9291,8 +9355,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9502,11 +9568,13 @@ export namespace dataplex_v1 { generateDataQualityRules( params: Params$Resource$Projects$Locations$Datascans$Jobs$Generatedataqualityrules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateDataQualityRules( params?: Params$Resource$Projects$Locations$Datascans$Jobs$Generatedataqualityrules, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateDataQualityRules( params: Params$Resource$Projects$Locations$Datascans$Jobs$Generatedataqualityrules, options: StreamMethodOptions | BodyResponseCallback, @@ -9541,8 +9609,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Jobs$Generatedataqualityrules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9600,11 +9670,13 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Datascans$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datascans$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datascans$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9639,8 +9711,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9694,11 +9768,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Datascans$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datascans$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datascans$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9733,8 +9809,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datascans$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9841,11 +9919,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Datataxonomies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datataxonomies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datataxonomies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9880,8 +9958,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9936,11 +10014,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Datataxonomies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datataxonomies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datataxonomies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9975,8 +10053,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10028,11 +10106,13 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Datataxonomies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datataxonomies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datataxonomies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10067,8 +10147,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10122,11 +10204,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datataxonomies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datataxonomies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datataxonomies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10159,8 +10241,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10216,11 +10298,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Datataxonomies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datataxonomies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datataxonomies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10255,8 +10339,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10313,11 +10399,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Datataxonomies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datataxonomies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datataxonomies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10352,8 +10438,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10405,11 +10491,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datataxonomies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datataxonomies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datataxonomies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10442,8 +10528,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10499,11 +10585,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datataxonomies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datataxonomies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Datataxonomies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -10538,8 +10626,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10721,11 +10811,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10760,8 +10850,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Attributes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10817,11 +10907,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10856,8 +10946,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Attributes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10910,11 +11000,13 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10949,8 +11041,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Attributes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11005,11 +11099,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -11042,8 +11136,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Attributes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11099,11 +11193,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datataxonomies$Attributes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11138,8 +11234,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Attributes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11197,11 +11295,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11236,8 +11334,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Attributes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11290,11 +11388,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -11327,8 +11425,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Attributes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11384,11 +11482,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Datataxonomies$Attributes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -11423,8 +11523,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datataxonomies$Attributes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11614,11 +11716,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Entrygroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrygroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Entrygroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11653,8 +11755,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11709,11 +11811,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Entrygroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrygroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrygroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11748,8 +11850,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11801,11 +11903,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Entrygroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Entrygroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Entrygroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11840,8 +11942,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11895,11 +11997,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Entrygroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -11932,8 +12034,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11989,11 +12091,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Entrygroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entrygroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Entrygroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12028,8 +12132,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12086,11 +12192,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Entrygroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Entrygroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Entrygroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12125,8 +12231,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12178,11 +12284,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Entrygroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Entrygroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -12215,8 +12321,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12272,11 +12378,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Entrygroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Entrygroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Entrygroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -12311,8 +12419,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12494,11 +12604,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12533,8 +12643,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12590,11 +12700,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12629,8 +12739,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12683,11 +12793,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12722,8 +12832,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12776,11 +12886,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Entrygroups$Entries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Entrygroups$Entries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12815,8 +12927,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12874,11 +12988,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Entrygroups$Entries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Entrygroups$Entries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12913,8 +13027,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13064,11 +13178,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13103,8 +13217,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13162,11 +13276,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13201,8 +13315,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13257,11 +13371,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13296,8 +13410,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrygroups$Entrylinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13390,11 +13504,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Entrylinktypes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Entrylinktypes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Entrylinktypes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -13427,8 +13541,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrylinktypes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13484,11 +13598,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Entrylinktypes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Entrylinktypes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Entrylinktypes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -13521,8 +13635,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrylinktypes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13578,11 +13692,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Entrylinktypes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Entrylinktypes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Entrylinktypes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -13617,8 +13733,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrylinktypes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13719,11 +13837,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Entrytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Entrytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Entrytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13758,8 +13876,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13814,11 +13932,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Entrytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Entrytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Entrytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13853,8 +13971,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13906,11 +14024,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Entrytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Entrytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Entrytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13945,8 +14063,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14000,11 +14118,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Entrytypes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Entrytypes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Entrytypes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -14037,8 +14155,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrytypes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14094,11 +14212,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Entrytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entrytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Entrytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14133,8 +14253,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14191,11 +14313,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Entrytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Entrytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Entrytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14230,8 +14352,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14283,11 +14405,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Entrytypes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Entrytypes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Entrytypes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -14320,8 +14442,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrytypes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14377,11 +14499,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Entrytypes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Entrytypes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Entrytypes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -14416,8 +14540,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entrytypes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14607,11 +14733,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Glossaries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Glossaries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Glossaries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14646,8 +14772,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14702,11 +14828,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Glossaries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Glossaries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Glossaries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14741,8 +14867,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14794,11 +14920,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Glossaries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Glossaries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Glossaries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14833,8 +14959,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14888,11 +15014,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Glossaries$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -14925,8 +15051,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14982,11 +15108,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Glossaries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Glossaries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Glossaries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15021,8 +15149,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15079,11 +15209,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Glossaries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Glossaries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Glossaries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15118,8 +15248,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15171,11 +15301,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Glossaries$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -15208,8 +15338,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15265,11 +15395,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Glossaries$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Glossaries$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Glossaries$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -15304,8 +15436,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15487,11 +15621,13 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Glossaries$Categories$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Glossaries$Categories$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Glossaries$Categories$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15526,8 +15662,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Categories$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15585,11 +15723,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Glossaries$Categories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Glossaries$Categories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Glossaries$Categories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15618,7 +15756,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Categories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15671,11 +15812,13 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Glossaries$Categories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Glossaries$Categories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Glossaries$Categories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15710,8 +15853,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Categories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15766,11 +15911,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Categories$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Glossaries$Categories$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Categories$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -15803,8 +15948,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Categories$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15860,11 +16005,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Glossaries$Categories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Glossaries$Categories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Glossaries$Categories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15899,8 +16046,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Categories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15958,11 +16107,13 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Glossaries$Categories$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Glossaries$Categories$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Glossaries$Categories$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15997,8 +16148,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Categories$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16053,11 +16206,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Categories$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Glossaries$Categories$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Categories$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -16090,8 +16243,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Categories$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16147,11 +16300,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Glossaries$Categories$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Glossaries$Categories$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Glossaries$Categories$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -16186,8 +16341,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Categories$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16357,11 +16514,13 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Glossaries$Terms$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Glossaries$Terms$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Glossaries$Terms$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16396,8 +16555,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Terms$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16455,11 +16616,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Glossaries$Terms$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Glossaries$Terms$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Glossaries$Terms$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16488,7 +16649,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Terms$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16541,11 +16705,13 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Glossaries$Terms$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Glossaries$Terms$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Glossaries$Terms$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16580,8 +16746,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Terms$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16635,11 +16803,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Terms$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Glossaries$Terms$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Terms$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -16672,8 +16840,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Terms$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16729,11 +16897,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Glossaries$Terms$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Glossaries$Terms$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Glossaries$Terms$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16768,8 +16938,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Terms$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16826,11 +16998,13 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Glossaries$Terms$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Glossaries$Terms$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Glossaries$Terms$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16865,8 +17039,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Terms$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16921,11 +17097,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Terms$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Glossaries$Terms$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Glossaries$Terms$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -16958,8 +17134,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Terms$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17015,11 +17191,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Glossaries$Terms$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Glossaries$Terms$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Glossaries$Terms$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -17054,8 +17232,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Terms$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17225,11 +17405,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Governancerules$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Governancerules$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Governancerules$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -17262,8 +17442,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Governancerules$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17319,11 +17499,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Governancerules$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Governancerules$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Governancerules$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -17356,8 +17536,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Governancerules$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17413,11 +17593,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Governancerules$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Governancerules$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Governancerules$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -17452,8 +17634,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Governancerules$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17574,11 +17758,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Lakes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lakes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lakes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17613,8 +17797,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17669,11 +17853,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Lakes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lakes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lakes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17708,8 +17892,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17761,11 +17945,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Lakes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lakes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lakes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17798,8 +17982,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17851,11 +18035,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -17888,8 +18072,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17944,11 +18128,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17983,8 +18169,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18041,11 +18229,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Lakes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lakes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lakes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18080,8 +18268,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18133,11 +18321,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -18170,8 +18358,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18226,11 +18414,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Lakes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -18265,8 +18455,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18444,11 +18636,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Actions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Actions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Actions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18483,8 +18677,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Actions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18564,11 +18760,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Lakes$Content$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lakes$Content$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lakes$Content$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18603,8 +18799,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Content$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18661,11 +18857,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Lakes$Content$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lakes$Content$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lakes$Content$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18694,7 +18890,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Content$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18746,11 +18945,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Lakes$Content$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lakes$Content$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lakes$Content$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18785,8 +18984,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Content$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18840,11 +19039,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Content$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Content$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Content$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -18877,8 +19076,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Content$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18934,11 +19133,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Content$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Content$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Content$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18973,8 +19174,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Content$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19031,11 +19234,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Lakes$Content$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lakes$Content$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lakes$Content$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19070,8 +19273,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Content$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19125,11 +19328,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Content$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Content$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Content$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -19162,8 +19365,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Content$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19219,11 +19422,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Content$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Lakes$Content$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Content$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -19258,8 +19463,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Content$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19433,11 +19640,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lakes$Contentitems$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19472,8 +19679,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Contentitems$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19531,11 +19738,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lakes$Contentitems$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19564,7 +19771,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Contentitems$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19617,11 +19827,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lakes$Contentitems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19656,8 +19866,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Contentitems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19712,11 +19922,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Contentitems$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -19749,8 +19959,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Contentitems$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19806,11 +20016,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Contentitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Contentitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Contentitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19845,8 +20057,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Contentitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19904,11 +20118,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lakes$Contentitems$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19943,8 +20157,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Contentitems$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19999,11 +20213,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Contentitems$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -20036,8 +20250,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Contentitems$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20093,11 +20307,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Lakes$Contentitems$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Contentitems$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -20132,8 +20348,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Contentitems$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20312,11 +20530,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Lakes$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lakes$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lakes$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20351,8 +20569,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20408,11 +20626,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Lakes$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lakes$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lakes$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20447,8 +20665,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20501,11 +20719,13 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Lakes$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lakes$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Lakes$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20540,8 +20760,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20596,11 +20818,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Environments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Environments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Environments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -20633,8 +20855,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Environments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20690,11 +20912,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20729,8 +20953,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20788,11 +21014,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Lakes$Environments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lakes$Environments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lakes$Environments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20827,8 +21053,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Environments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20881,11 +21107,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Environments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Environments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Environments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -20918,8 +21144,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Environments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20975,11 +21201,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Environments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Lakes$Environments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Environments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -21014,8 +21242,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Environments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21193,11 +21423,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Environments$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Environments$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Environments$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21232,8 +21464,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Environments$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21322,11 +21556,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Lakes$Tasks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lakes$Tasks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lakes$Tasks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21361,8 +21595,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21417,11 +21651,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Lakes$Tasks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lakes$Tasks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lakes$Tasks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21456,8 +21690,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21509,11 +21743,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Lakes$Tasks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lakes$Tasks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lakes$Tasks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21546,8 +21780,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21599,11 +21833,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Tasks$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Tasks$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Tasks$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -21636,8 +21870,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21693,11 +21927,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Tasks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Tasks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Tasks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21732,8 +21968,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21790,11 +22028,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Lakes$Tasks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lakes$Tasks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lakes$Tasks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21829,8 +22067,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21882,11 +22120,13 @@ export namespace dataplex_v1 { run( params: Params$Resource$Projects$Locations$Lakes$Tasks$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Lakes$Tasks$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; run( params: Params$Resource$Projects$Locations$Lakes$Tasks$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -21921,8 +22161,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21976,11 +22218,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Tasks$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Tasks$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Tasks$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -22013,8 +22255,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22070,11 +22312,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Tasks$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Lakes$Tasks$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Tasks$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -22109,8 +22353,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22300,11 +22546,11 @@ export namespace dataplex_v1 { cancel( params: Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -22333,7 +22579,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22386,11 +22635,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22423,8 +22672,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22476,11 +22725,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22515,8 +22766,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Tasks$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22624,11 +22877,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Lakes$Zones$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lakes$Zones$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lakes$Zones$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22663,8 +22916,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22719,11 +22972,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Lakes$Zones$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lakes$Zones$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lakes$Zones$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22758,8 +23011,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22811,11 +23064,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Lakes$Zones$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lakes$Zones$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lakes$Zones$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22848,8 +23101,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22901,11 +23154,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Zones$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Zones$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Zones$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -22938,8 +23191,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22995,11 +23248,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Zones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Zones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Zones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23034,8 +23289,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23092,11 +23349,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Lakes$Zones$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lakes$Zones$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lakes$Zones$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23131,8 +23388,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23184,11 +23441,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Zones$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Zones$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Zones$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -23221,8 +23478,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23278,11 +23535,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Zones$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Lakes$Zones$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Zones$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -23317,8 +23576,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23496,11 +23757,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Zones$Actions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Zones$Actions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Zones$Actions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23535,8 +23798,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Actions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23621,11 +23886,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23660,8 +23925,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Assets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23717,11 +23982,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23756,8 +24021,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Assets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23810,11 +24075,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23849,8 +24114,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Assets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23903,11 +24168,11 @@ export namespace dataplex_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -23940,8 +24205,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Assets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23997,11 +24262,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Zones$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24036,8 +24303,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24095,11 +24364,11 @@ export namespace dataplex_v1 { patch( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24134,8 +24403,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Assets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24188,11 +24457,11 @@ export namespace dataplex_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -24225,8 +24494,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Assets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24282,11 +24551,13 @@ export namespace dataplex_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -24321,8 +24592,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Assets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24500,11 +24773,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Actions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Actions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Zones$Assets$Actions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24539,8 +24814,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Assets$Actions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24626,11 +24903,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -24665,8 +24942,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Entities$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24722,11 +24999,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24755,7 +25032,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Entities$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24808,11 +25088,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24847,8 +25127,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Entities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24901,11 +25181,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Zones$Entities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24940,8 +25222,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Entities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24999,11 +25283,11 @@ export namespace dataplex_v1 { update( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -25038,8 +25322,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Entities$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25177,11 +25461,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -25216,8 +25500,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25275,11 +25559,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25308,7 +25592,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25361,11 +25648,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25400,8 +25687,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25456,11 +25743,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25495,8 +25784,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lakes$Zones$Entities$Partitions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25615,11 +25906,11 @@ export namespace dataplex_v1 { cancel( params: Params$Resource$Projects$Locations$Metadatajobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Metadatajobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Metadatajobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -25648,7 +25939,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatajobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25700,11 +25994,11 @@ export namespace dataplex_v1 { create( params: Params$Resource$Projects$Locations$Metadatajobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Metadatajobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Metadatajobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -25739,8 +26033,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatajobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25795,11 +26089,13 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Metadatajobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Metadatajobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Metadatajobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25834,8 +26130,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatajobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25889,11 +26187,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Metadatajobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Metadatajobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Metadatajobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25928,8 +26228,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Metadatajobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26056,11 +26358,11 @@ export namespace dataplex_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -26089,7 +26391,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26141,11 +26446,11 @@ export namespace dataplex_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26174,7 +26479,10 @@ export namespace dataplex_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26226,11 +26534,11 @@ export namespace dataplex_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26265,8 +26573,8 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26318,11 +26626,13 @@ export namespace dataplex_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26357,8 +26667,10 @@ export namespace dataplex_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dataportability/index.ts b/src/apis/dataportability/index.ts index c27bbcd4334..3bba21a09b9 100644 --- a/src/apis/dataportability/index.ts +++ b/src/apis/dataportability/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/dataportability/package.json b/src/apis/dataportability/package.json index 32ad8b47006..6ed564754a3 100644 --- a/src/apis/dataportability/package.json +++ b/src/apis/dataportability/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/dataportability/v1.ts b/src/apis/dataportability/v1.ts index 31b77fd6fbe..9be9ad4fc0f 100644 --- a/src/apis/dataportability/v1.ts +++ b/src/apis/dataportability/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -249,11 +249,11 @@ export namespace dataportability_v1 { check( params: Params$Resource$Accesstype$Check, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; check( params?: Params$Resource$Accesstype$Check, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; check( params: Params$Resource$Accesstype$Check, options: StreamMethodOptions | BodyResponseCallback, @@ -286,8 +286,8 @@ export namespace dataportability_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesstype$Check; let options = (optionsOrCallback || {}) as MethodOptions; @@ -356,11 +356,13 @@ export namespace dataportability_v1 { cancel( params: Params$Resource$Archivejobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Archivejobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; cancel( params: Params$Resource$Archivejobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -395,8 +397,10 @@ export namespace dataportability_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Archivejobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -451,11 +455,11 @@ export namespace dataportability_v1 { getPortabilityArchiveState( params: Params$Resource$Archivejobs$Getportabilityarchivestate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPortabilityArchiveState( params?: Params$Resource$Archivejobs$Getportabilityarchivestate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPortabilityArchiveState( params: Params$Resource$Archivejobs$Getportabilityarchivestate, options: StreamMethodOptions | BodyResponseCallback, @@ -490,8 +494,8 @@ export namespace dataportability_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Archivejobs$Getportabilityarchivestate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -544,11 +548,11 @@ export namespace dataportability_v1 { retry( params: Params$Resource$Archivejobs$Retry, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retry( params?: Params$Resource$Archivejobs$Retry, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retry( params: Params$Resource$Archivejobs$Retry, options: StreamMethodOptions | BodyResponseCallback, @@ -583,8 +587,8 @@ export namespace dataportability_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Archivejobs$Retry; let options = (optionsOrCallback || {}) as MethodOptions; @@ -678,11 +682,11 @@ export namespace dataportability_v1 { reset( params: Params$Resource$Authorization$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Authorization$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Authorization$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -711,7 +715,10 @@ export namespace dataportability_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Authorization$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -782,11 +789,13 @@ export namespace dataportability_v1 { initiate( params: Params$Resource$Portabilityarchive$Initiate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initiate( params?: Params$Resource$Portabilityarchive$Initiate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; initiate( params: Params$Resource$Portabilityarchive$Initiate, options: StreamMethodOptions | BodyResponseCallback, @@ -821,8 +830,10 @@ export namespace dataportability_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Portabilityarchive$Initiate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dataportability/v1beta.ts b/src/apis/dataportability/v1beta.ts index 98d7a6021fb..f3f3c1ccb0a 100644 --- a/src/apis/dataportability/v1beta.ts +++ b/src/apis/dataportability/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -249,11 +249,11 @@ export namespace dataportability_v1beta { check( params: Params$Resource$Accesstype$Check, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; check( params?: Params$Resource$Accesstype$Check, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; check( params: Params$Resource$Accesstype$Check, options: StreamMethodOptions | BodyResponseCallback, @@ -286,8 +286,8 @@ export namespace dataportability_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesstype$Check; let options = (optionsOrCallback || {}) as MethodOptions; @@ -356,11 +356,13 @@ export namespace dataportability_v1beta { cancel( params: Params$Resource$Archivejobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Archivejobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; cancel( params: Params$Resource$Archivejobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -395,8 +397,10 @@ export namespace dataportability_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Archivejobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -454,11 +458,11 @@ export namespace dataportability_v1beta { getPortabilityArchiveState( params: Params$Resource$Archivejobs$Getportabilityarchivestate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPortabilityArchiveState( params?: Params$Resource$Archivejobs$Getportabilityarchivestate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPortabilityArchiveState( params: Params$Resource$Archivejobs$Getportabilityarchivestate, options: StreamMethodOptions | BodyResponseCallback, @@ -493,8 +497,8 @@ export namespace dataportability_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Archivejobs$Getportabilityarchivestate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -547,11 +551,11 @@ export namespace dataportability_v1beta { retry( params: Params$Resource$Archivejobs$Retry, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retry( params?: Params$Resource$Archivejobs$Retry, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retry( params: Params$Resource$Archivejobs$Retry, options: StreamMethodOptions | BodyResponseCallback, @@ -586,8 +590,8 @@ export namespace dataportability_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Archivejobs$Retry; let options = (optionsOrCallback || {}) as MethodOptions; @@ -684,11 +688,11 @@ export namespace dataportability_v1beta { reset( params: Params$Resource$Authorization$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Authorization$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Authorization$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -717,7 +721,10 @@ export namespace dataportability_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Authorization$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -788,11 +795,13 @@ export namespace dataportability_v1beta { initiate( params: Params$Resource$Portabilityarchive$Initiate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initiate( params?: Params$Resource$Portabilityarchive$Initiate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; initiate( params: Params$Resource$Portabilityarchive$Initiate, options: StreamMethodOptions | BodyResponseCallback, @@ -827,8 +836,10 @@ export namespace dataportability_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Portabilityarchive$Initiate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dataproc/index.ts b/src/apis/dataproc/index.ts index 234f63f83f5..ac536cd2bed 100644 --- a/src/apis/dataproc/index.ts +++ b/src/apis/dataproc/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/dataproc/package.json b/src/apis/dataproc/package.json index 4f36db79021..2d8f12e1416 100644 --- a/src/apis/dataproc/package.json +++ b/src/apis/dataproc/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/dataproc/v1.ts b/src/apis/dataproc/v1.ts index d0097e1a7f1..6a3187e6d7d 100644 --- a/src/apis/dataproc/v1.ts +++ b/src/apis/dataproc/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -4769,11 +4769,11 @@ export namespace dataproc_v1 { create( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4804,8 +4804,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4861,11 +4861,11 @@ export namespace dataproc_v1 { delete( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4894,7 +4894,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4947,11 +4950,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4982,8 +4985,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5036,11 +5039,11 @@ export namespace dataproc_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5069,7 +5072,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5125,11 +5131,11 @@ export namespace dataproc_v1 { list( params: Params$Resource$Projects$Locations$Autoscalingpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Autoscalingpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5164,8 +5170,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5223,11 +5229,11 @@ export namespace dataproc_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5256,7 +5262,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5312,11 +5321,11 @@ export namespace dataproc_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5351,8 +5360,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5408,11 +5417,11 @@ export namespace dataproc_v1 { update( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5443,8 +5452,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5597,11 +5606,11 @@ export namespace dataproc_v1 { analyze( params: Params$Resource$Projects$Locations$Batches$Analyze, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyze( params?: Params$Resource$Projects$Locations$Batches$Analyze, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyze( params: Params$Resource$Projects$Locations$Batches$Analyze, options: StreamMethodOptions | BodyResponseCallback, @@ -5630,7 +5639,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Analyze; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5685,11 +5697,11 @@ export namespace dataproc_v1 { create( params: Params$Resource$Projects$Locations$Batches$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Batches$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Batches$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5718,7 +5730,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5773,11 +5788,11 @@ export namespace dataproc_v1 { delete( params: Params$Resource$Projects$Locations$Batches$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Batches$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Batches$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5806,7 +5821,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5858,11 +5876,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Locations$Batches$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Batches$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Batches$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5891,7 +5909,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5943,11 +5964,11 @@ export namespace dataproc_v1 { list( params: Params$Resource$Projects$Locations$Batches$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Batches$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Batches$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5978,8 +5999,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6111,11 +6132,11 @@ export namespace dataproc_v1 { access( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Access, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; access( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Access, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; access( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Access, options: StreamMethodOptions | BodyResponseCallback, @@ -6150,8 +6171,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Access; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6206,11 +6227,13 @@ export namespace dataproc_v1 { accessEnvironmentInfo( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessenvironmentinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessEnvironmentInfo( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessenvironmentinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessEnvironmentInfo( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessenvironmentinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -6245,8 +6268,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessenvironmentinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6304,11 +6329,13 @@ export namespace dataproc_v1 { accessJob( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessjob, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessJob( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessjob, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessJob( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessjob, options: StreamMethodOptions | BodyResponseCallback, @@ -6343,8 +6370,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessjob; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6402,11 +6431,13 @@ export namespace dataproc_v1 { accessNativeBuildInfo( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessnativebuildinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessNativeBuildInfo( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessnativebuildinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessNativeBuildInfo( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessnativebuildinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -6441,8 +6472,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessnativebuildinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6500,11 +6533,13 @@ export namespace dataproc_v1 { accessNativeSqlQuery( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessnativesqlquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessNativeSqlQuery( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessnativesqlquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessNativeSqlQuery( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessnativesqlquery, options: StreamMethodOptions | BodyResponseCallback, @@ -6539,8 +6574,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessnativesqlquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6598,11 +6635,13 @@ export namespace dataproc_v1 { accessSqlPlan( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accesssqlplan, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessSqlPlan( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accesssqlplan, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessSqlPlan( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accesssqlplan, options: StreamMethodOptions | BodyResponseCallback, @@ -6637,8 +6676,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Accesssqlplan; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6696,11 +6737,13 @@ export namespace dataproc_v1 { accessSqlQuery( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accesssqlquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessSqlQuery( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accesssqlquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessSqlQuery( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accesssqlquery, options: StreamMethodOptions | BodyResponseCallback, @@ -6735,8 +6778,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Accesssqlquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6794,11 +6839,13 @@ export namespace dataproc_v1 { accessStageAttempt( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessstageattempt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessStageAttempt( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessstageattempt, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessStageAttempt( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessstageattempt, options: StreamMethodOptions | BodyResponseCallback, @@ -6833,8 +6880,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessstageattempt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6892,11 +6941,13 @@ export namespace dataproc_v1 { accessStageRddGraph( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessstagerddgraph, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessStageRddGraph( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessstagerddgraph, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessStageRddGraph( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessstagerddgraph, options: StreamMethodOptions | BodyResponseCallback, @@ -6931,8 +6982,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Accessstagerddgraph; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6990,11 +7043,11 @@ export namespace dataproc_v1 { search( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -7029,8 +7082,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7088,11 +7141,13 @@ export namespace dataproc_v1 { searchExecutors( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchexecutors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchExecutors( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchexecutors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchExecutors( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchexecutors, options: StreamMethodOptions | BodyResponseCallback, @@ -7127,8 +7182,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchexecutors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7186,11 +7243,13 @@ export namespace dataproc_v1 { searchExecutorStageSummary( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchexecutorstagesummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchExecutorStageSummary( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchexecutorstagesummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchExecutorStageSummary( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchexecutorstagesummary, options: StreamMethodOptions | BodyResponseCallback, @@ -7225,8 +7284,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchexecutorstagesummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7284,11 +7345,13 @@ export namespace dataproc_v1 { searchJobs( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchjobs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchJobs( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchjobs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchJobs( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchjobs, options: StreamMethodOptions | BodyResponseCallback, @@ -7323,8 +7386,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchjobs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7382,11 +7447,13 @@ export namespace dataproc_v1 { searchNativeSqlQueries( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchnativesqlqueries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchNativeSqlQueries( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchnativesqlqueries, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchNativeSqlQueries( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchnativesqlqueries, options: StreamMethodOptions | BodyResponseCallback, @@ -7421,8 +7488,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchnativesqlqueries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7480,11 +7549,13 @@ export namespace dataproc_v1 { searchSqlQueries( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchsqlqueries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchSqlQueries( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchsqlqueries, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchSqlQueries( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchsqlqueries, options: StreamMethodOptions | BodyResponseCallback, @@ -7519,8 +7590,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchsqlqueries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7578,11 +7651,13 @@ export namespace dataproc_v1 { searchStageAttempts( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstageattempts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchStageAttempts( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstageattempts, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchStageAttempts( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstageattempts, options: StreamMethodOptions | BodyResponseCallback, @@ -7617,8 +7692,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstageattempts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7676,11 +7753,13 @@ export namespace dataproc_v1 { searchStageAttemptTasks( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstageattempttasks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchStageAttemptTasks( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstageattempttasks, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchStageAttemptTasks( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstageattempttasks, options: StreamMethodOptions | BodyResponseCallback, @@ -7715,8 +7794,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstageattempttasks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7774,11 +7855,13 @@ export namespace dataproc_v1 { searchStages( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchStages( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstages, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchStages( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstages, options: StreamMethodOptions | BodyResponseCallback, @@ -7813,8 +7896,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Searchstages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7872,11 +7957,13 @@ export namespace dataproc_v1 { summarizeExecutors( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizeexecutors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; summarizeExecutors( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizeexecutors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; summarizeExecutors( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizeexecutors, options: StreamMethodOptions | BodyResponseCallback, @@ -7911,8 +7998,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizeexecutors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7970,11 +8059,13 @@ export namespace dataproc_v1 { summarizeJobs( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizejobs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; summarizeJobs( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizejobs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; summarizeJobs( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizejobs, options: StreamMethodOptions | BodyResponseCallback, @@ -8009,8 +8100,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizejobs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8068,11 +8161,13 @@ export namespace dataproc_v1 { summarizeStageAttemptTasks( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizestageattempttasks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; summarizeStageAttemptTasks( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizestageattempttasks, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; summarizeStageAttemptTasks( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizestageattempttasks, options: StreamMethodOptions | BodyResponseCallback, @@ -8107,8 +8202,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizestageattempttasks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8166,11 +8263,13 @@ export namespace dataproc_v1 { summarizeStages( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizestages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; summarizeStages( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizestages, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; summarizeStages( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizestages, options: StreamMethodOptions | BodyResponseCallback, @@ -8205,8 +8304,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Summarizestages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8264,11 +8365,13 @@ export namespace dataproc_v1 { write( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Batches$Sparkapplications$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Batches$Sparkapplications$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -8303,8 +8406,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batches$Sparkapplications$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8813,11 +8918,11 @@ export namespace dataproc_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -8846,7 +8951,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8898,11 +9006,11 @@ export namespace dataproc_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8931,7 +9039,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8983,11 +9094,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9016,7 +9127,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9068,11 +9182,11 @@ export namespace dataproc_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9105,8 +9219,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9211,11 +9325,11 @@ export namespace dataproc_v1 { create( params: Params$Resource$Projects$Locations$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9244,7 +9358,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9299,11 +9416,11 @@ export namespace dataproc_v1 { delete( params: Params$Resource$Projects$Locations$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9332,7 +9449,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9384,11 +9504,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Locations$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9417,7 +9537,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9469,11 +9592,11 @@ export namespace dataproc_v1 { list( params: Params$Resource$Projects$Locations$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9506,8 +9629,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9562,11 +9685,11 @@ export namespace dataproc_v1 { terminate( params: Params$Resource$Projects$Locations$Sessions$Terminate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; terminate( params?: Params$Resource$Projects$Locations$Sessions$Terminate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; terminate( params: Params$Resource$Projects$Locations$Sessions$Terminate, options: StreamMethodOptions | BodyResponseCallback, @@ -9595,7 +9718,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Terminate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9727,11 +9853,13 @@ export namespace dataproc_v1 { access( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Access, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; access( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Access, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; access( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Access, options: StreamMethodOptions | BodyResponseCallback, @@ -9766,8 +9894,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Access; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9822,11 +9952,13 @@ export namespace dataproc_v1 { accessEnvironmentInfo( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessenvironmentinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessEnvironmentInfo( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessenvironmentinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessEnvironmentInfo( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessenvironmentinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -9861,8 +9993,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessenvironmentinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9920,11 +10054,13 @@ export namespace dataproc_v1 { accessJob( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessjob, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessJob( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessjob, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessJob( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessjob, options: StreamMethodOptions | BodyResponseCallback, @@ -9959,8 +10095,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessjob; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10018,11 +10156,13 @@ export namespace dataproc_v1 { accessNativeBuildInfo( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessnativebuildinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessNativeBuildInfo( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessnativebuildinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessNativeBuildInfo( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessnativebuildinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -10057,8 +10197,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessnativebuildinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10116,11 +10258,13 @@ export namespace dataproc_v1 { accessNativeSqlQuery( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessnativesqlquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessNativeSqlQuery( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessnativesqlquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessNativeSqlQuery( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessnativesqlquery, options: StreamMethodOptions | BodyResponseCallback, @@ -10155,8 +10299,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessnativesqlquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10214,11 +10360,13 @@ export namespace dataproc_v1 { accessSqlPlan( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accesssqlplan, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessSqlPlan( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accesssqlplan, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessSqlPlan( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accesssqlplan, options: StreamMethodOptions | BodyResponseCallback, @@ -10253,8 +10401,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accesssqlplan; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10312,11 +10462,13 @@ export namespace dataproc_v1 { accessSqlQuery( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accesssqlquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessSqlQuery( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accesssqlquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessSqlQuery( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accesssqlquery, options: StreamMethodOptions | BodyResponseCallback, @@ -10351,8 +10503,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accesssqlquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10410,11 +10564,13 @@ export namespace dataproc_v1 { accessStageAttempt( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessstageattempt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessStageAttempt( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessstageattempt, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessStageAttempt( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessstageattempt, options: StreamMethodOptions | BodyResponseCallback, @@ -10449,8 +10605,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessstageattempt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10508,11 +10666,13 @@ export namespace dataproc_v1 { accessStageRddGraph( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessstagerddgraph, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessStageRddGraph( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessstagerddgraph, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessStageRddGraph( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessstagerddgraph, options: StreamMethodOptions | BodyResponseCallback, @@ -10547,8 +10707,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Accessstagerddgraph; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10606,11 +10768,13 @@ export namespace dataproc_v1 { search( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -10645,8 +10809,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10704,11 +10870,13 @@ export namespace dataproc_v1 { searchExecutors( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchexecutors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchExecutors( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchexecutors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchExecutors( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchexecutors, options: StreamMethodOptions | BodyResponseCallback, @@ -10743,8 +10911,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchexecutors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10802,11 +10972,13 @@ export namespace dataproc_v1 { searchExecutorStageSummary( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchexecutorstagesummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchExecutorStageSummary( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchexecutorstagesummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchExecutorStageSummary( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchexecutorstagesummary, options: StreamMethodOptions | BodyResponseCallback, @@ -10841,8 +11013,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchexecutorstagesummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10900,11 +11074,13 @@ export namespace dataproc_v1 { searchJobs( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchjobs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchJobs( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchjobs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchJobs( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchjobs, options: StreamMethodOptions | BodyResponseCallback, @@ -10939,8 +11115,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchjobs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10998,11 +11176,13 @@ export namespace dataproc_v1 { searchNativeSqlQueries( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchnativesqlqueries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchNativeSqlQueries( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchnativesqlqueries, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchNativeSqlQueries( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchnativesqlqueries, options: StreamMethodOptions | BodyResponseCallback, @@ -11037,8 +11217,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchnativesqlqueries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11096,11 +11278,13 @@ export namespace dataproc_v1 { searchSqlQueries( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchsqlqueries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchSqlQueries( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchsqlqueries, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchSqlQueries( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchsqlqueries, options: StreamMethodOptions | BodyResponseCallback, @@ -11135,8 +11319,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchsqlqueries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11194,11 +11380,13 @@ export namespace dataproc_v1 { searchStageAttempts( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstageattempts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchStageAttempts( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstageattempts, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchStageAttempts( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstageattempts, options: StreamMethodOptions | BodyResponseCallback, @@ -11233,8 +11421,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstageattempts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11292,11 +11482,13 @@ export namespace dataproc_v1 { searchStageAttemptTasks( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstageattempttasks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchStageAttemptTasks( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstageattempttasks, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchStageAttemptTasks( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstageattempttasks, options: StreamMethodOptions | BodyResponseCallback, @@ -11331,8 +11523,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstageattempttasks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11390,11 +11584,13 @@ export namespace dataproc_v1 { searchStages( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchStages( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstages, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchStages( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstages, options: StreamMethodOptions | BodyResponseCallback, @@ -11429,8 +11625,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Searchstages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11488,11 +11686,13 @@ export namespace dataproc_v1 { summarizeExecutors( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizeexecutors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; summarizeExecutors( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizeexecutors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; summarizeExecutors( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizeexecutors, options: StreamMethodOptions | BodyResponseCallback, @@ -11527,8 +11727,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizeexecutors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11586,11 +11788,13 @@ export namespace dataproc_v1 { summarizeJobs( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizejobs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; summarizeJobs( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizejobs, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; summarizeJobs( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizejobs, options: StreamMethodOptions | BodyResponseCallback, @@ -11625,8 +11829,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizejobs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11684,11 +11890,13 @@ export namespace dataproc_v1 { summarizeStageAttemptTasks( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizestageattempttasks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; summarizeStageAttemptTasks( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizestageattempttasks, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; summarizeStageAttemptTasks( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizestageattempttasks, options: StreamMethodOptions | BodyResponseCallback, @@ -11723,8 +11931,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizestageattempttasks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11782,11 +11992,13 @@ export namespace dataproc_v1 { summarizeStages( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizestages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; summarizeStages( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizestages, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; summarizeStages( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizestages, options: StreamMethodOptions | BodyResponseCallback, @@ -11821,8 +12033,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Summarizestages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11880,11 +12094,13 @@ export namespace dataproc_v1 { write( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Sessions$Sparkapplications$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -11919,8 +12135,10 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessions$Sparkapplications$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12429,11 +12647,11 @@ export namespace dataproc_v1 { create( params: Params$Resource$Projects$Locations$Sessiontemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sessiontemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sessiontemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12462,7 +12680,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessiontemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12518,11 +12739,11 @@ export namespace dataproc_v1 { delete( params: Params$Resource$Projects$Locations$Sessiontemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sessiontemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sessiontemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12551,7 +12772,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessiontemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12604,11 +12828,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Locations$Sessiontemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sessiontemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sessiontemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12637,7 +12861,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessiontemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12689,11 +12916,11 @@ export namespace dataproc_v1 { list( params: Params$Resource$Projects$Locations$Sessiontemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sessiontemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sessiontemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12728,8 +12955,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessiontemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12786,11 +13013,11 @@ export namespace dataproc_v1 { patch( params: Params$Resource$Projects$Locations$Sessiontemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Sessiontemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Sessiontemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12819,7 +13046,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sessiontemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12937,11 +13167,11 @@ export namespace dataproc_v1 { create( params: Params$Resource$Projects$Locations$Workflowtemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workflowtemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workflowtemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12970,7 +13200,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13026,11 +13259,11 @@ export namespace dataproc_v1 { delete( params: Params$Resource$Projects$Locations$Workflowtemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workflowtemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workflowtemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13059,7 +13292,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13112,11 +13348,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Locations$Workflowtemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workflowtemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workflowtemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13145,7 +13381,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13197,11 +13436,11 @@ export namespace dataproc_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Workflowtemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Workflowtemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Workflowtemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -13230,7 +13469,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13286,11 +13528,11 @@ export namespace dataproc_v1 { instantiate( params: Params$Resource$Projects$Locations$Workflowtemplates$Instantiate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; instantiate( params?: Params$Resource$Projects$Locations$Workflowtemplates$Instantiate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; instantiate( params: Params$Resource$Projects$Locations$Workflowtemplates$Instantiate, options: StreamMethodOptions | BodyResponseCallback, @@ -13319,7 +13561,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Instantiate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13375,11 +13620,11 @@ export namespace dataproc_v1 { instantiateInline( params: Params$Resource$Projects$Locations$Workflowtemplates$Instantiateinline, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; instantiateInline( params?: Params$Resource$Projects$Locations$Workflowtemplates$Instantiateinline, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; instantiateInline( params: Params$Resource$Projects$Locations$Workflowtemplates$Instantiateinline, options: StreamMethodOptions | BodyResponseCallback, @@ -13408,7 +13653,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Instantiateinline; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13463,11 +13711,11 @@ export namespace dataproc_v1 { list( params: Params$Resource$Projects$Locations$Workflowtemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workflowtemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workflowtemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13502,8 +13750,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13561,11 +13809,11 @@ export namespace dataproc_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Workflowtemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Workflowtemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Workflowtemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -13594,7 +13842,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13650,11 +13901,11 @@ export namespace dataproc_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Workflowtemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Workflowtemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Workflowtemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -13689,8 +13940,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13746,11 +13997,11 @@ export namespace dataproc_v1 { update( params: Params$Resource$Projects$Locations$Workflowtemplates$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Workflowtemplates$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Workflowtemplates$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -13779,7 +14030,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13985,11 +14239,11 @@ export namespace dataproc_v1 { create( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14020,8 +14274,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14077,11 +14331,11 @@ export namespace dataproc_v1 { delete( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14110,7 +14364,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14163,11 +14420,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14198,8 +14455,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14251,11 +14508,11 @@ export namespace dataproc_v1 { getIamPolicy( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -14284,7 +14541,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14340,11 +14600,11 @@ export namespace dataproc_v1 { list( params: Params$Resource$Projects$Regions$Autoscalingpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Regions$Autoscalingpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14379,8 +14639,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14438,11 +14698,11 @@ export namespace dataproc_v1 { setIamPolicy( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -14471,7 +14731,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14527,11 +14790,11 @@ export namespace dataproc_v1 { testIamPermissions( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -14566,8 +14829,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14623,11 +14886,11 @@ export namespace dataproc_v1 { update( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -14658,8 +14921,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14813,11 +15076,11 @@ export namespace dataproc_v1 { create( params: Params$Resource$Projects$Regions$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Regions$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Regions$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14846,7 +15109,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14900,11 +15166,11 @@ export namespace dataproc_v1 { delete( params: Params$Resource$Projects$Regions$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Regions$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Regions$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14933,7 +15199,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14988,11 +15257,11 @@ export namespace dataproc_v1 { diagnose( params: Params$Resource$Projects$Regions$Clusters$Diagnose, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; diagnose( params?: Params$Resource$Projects$Regions$Clusters$Diagnose, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; diagnose( params: Params$Resource$Projects$Regions$Clusters$Diagnose, options: StreamMethodOptions | BodyResponseCallback, @@ -15021,7 +15290,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Diagnose; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15076,11 +15348,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Regions$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Regions$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Regions$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15109,7 +15381,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15164,11 +15439,11 @@ export namespace dataproc_v1 { getIamPolicy( params: Params$Resource$Projects$Regions$Clusters$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Regions$Clusters$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Regions$Clusters$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -15197,7 +15472,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15252,11 +15530,11 @@ export namespace dataproc_v1 { injectCredentials( params: Params$Resource$Projects$Regions$Clusters$Injectcredentials, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; injectCredentials( params?: Params$Resource$Projects$Regions$Clusters$Injectcredentials, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; injectCredentials( params: Params$Resource$Projects$Regions$Clusters$Injectcredentials, options: StreamMethodOptions | BodyResponseCallback, @@ -15285,7 +15563,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Injectcredentials; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15340,11 +15621,11 @@ export namespace dataproc_v1 { list( params: Params$Resource$Projects$Regions$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Regions$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Regions$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15377,8 +15658,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15432,11 +15713,11 @@ export namespace dataproc_v1 { patch( params: Params$Resource$Projects$Regions$Clusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Regions$Clusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Regions$Clusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15465,7 +15746,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15520,11 +15804,11 @@ export namespace dataproc_v1 { repair( params: Params$Resource$Projects$Regions$Clusters$Repair, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; repair( params?: Params$Resource$Projects$Regions$Clusters$Repair, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; repair( params: Params$Resource$Projects$Regions$Clusters$Repair, options: StreamMethodOptions | BodyResponseCallback, @@ -15553,7 +15837,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Repair; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15608,11 +15895,11 @@ export namespace dataproc_v1 { setIamPolicy( params: Params$Resource$Projects$Regions$Clusters$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Regions$Clusters$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Regions$Clusters$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -15641,7 +15928,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15696,11 +15986,11 @@ export namespace dataproc_v1 { start( params: Params$Resource$Projects$Regions$Clusters$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Regions$Clusters$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Regions$Clusters$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -15729,7 +16019,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15784,11 +16077,11 @@ export namespace dataproc_v1 { stop( params: Params$Resource$Projects$Regions$Clusters$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Regions$Clusters$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Regions$Clusters$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -15817,7 +16110,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15872,11 +16168,11 @@ export namespace dataproc_v1 { testIamPermissions( params: Params$Resource$Projects$Regions$Clusters$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Regions$Clusters$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Regions$Clusters$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -15911,8 +16207,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16233,11 +16529,11 @@ export namespace dataproc_v1 { create( params: Params$Resource$Projects$Regions$Clusters$Nodegroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Regions$Clusters$Nodegroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Regions$Clusters$Nodegroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16266,7 +16562,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Nodegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16322,11 +16621,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Regions$Clusters$Nodegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Regions$Clusters$Nodegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Regions$Clusters$Nodegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16355,7 +16654,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Nodegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16407,11 +16709,11 @@ export namespace dataproc_v1 { repair( params: Params$Resource$Projects$Regions$Clusters$Nodegroups$Repair, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; repair( params?: Params$Resource$Projects$Regions$Clusters$Nodegroups$Repair, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; repair( params: Params$Resource$Projects$Regions$Clusters$Nodegroups$Repair, options: StreamMethodOptions | BodyResponseCallback, @@ -16440,7 +16742,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Nodegroups$Repair; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16493,11 +16798,11 @@ export namespace dataproc_v1 { resize( params: Params$Resource$Projects$Regions$Clusters$Nodegroups$Resize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resize( params?: Params$Resource$Projects$Regions$Clusters$Nodegroups$Resize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resize( params: Params$Resource$Projects$Regions$Clusters$Nodegroups$Resize, options: StreamMethodOptions | BodyResponseCallback, @@ -16526,7 +16831,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Nodegroups$Resize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16642,11 +16950,11 @@ export namespace dataproc_v1 { cancel( params: Params$Resource$Projects$Regions$Jobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Regions$Jobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Regions$Jobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -16675,7 +16983,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16730,11 +17041,11 @@ export namespace dataproc_v1 { delete( params: Params$Resource$Projects$Regions$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Regions$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Regions$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16763,7 +17074,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16817,11 +17131,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Regions$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Regions$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Regions$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16850,7 +17164,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16904,11 +17221,11 @@ export namespace dataproc_v1 { getIamPolicy( params: Params$Resource$Projects$Regions$Jobs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Regions$Jobs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Regions$Jobs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -16937,7 +17254,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16992,11 +17312,11 @@ export namespace dataproc_v1 { list( params: Params$Resource$Projects$Regions$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Regions$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Regions$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17025,7 +17345,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17079,11 +17402,11 @@ export namespace dataproc_v1 { patch( params: Params$Resource$Projects$Regions$Jobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Regions$Jobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Regions$Jobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17112,7 +17435,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17166,11 +17492,11 @@ export namespace dataproc_v1 { setIamPolicy( params: Params$Resource$Projects$Regions$Jobs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Regions$Jobs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Regions$Jobs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -17199,7 +17525,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17254,11 +17583,11 @@ export namespace dataproc_v1 { submit( params: Params$Resource$Projects$Regions$Jobs$Submit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submit( params?: Params$Resource$Projects$Regions$Jobs$Submit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; submit( params: Params$Resource$Projects$Regions$Jobs$Submit, options: StreamMethodOptions | BodyResponseCallback, @@ -17287,7 +17616,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Submit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17341,11 +17673,11 @@ export namespace dataproc_v1 { submitAsOperation( params: Params$Resource$Projects$Regions$Jobs$Submitasoperation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submitAsOperation( params?: Params$Resource$Projects$Regions$Jobs$Submitasoperation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; submitAsOperation( params: Params$Resource$Projects$Regions$Jobs$Submitasoperation, options: StreamMethodOptions | BodyResponseCallback, @@ -17374,7 +17706,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Submitasoperation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17429,11 +17764,11 @@ export namespace dataproc_v1 { testIamPermissions( params: Params$Resource$Projects$Regions$Jobs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Regions$Jobs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Regions$Jobs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -17468,8 +17803,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17705,11 +18040,11 @@ export namespace dataproc_v1 { cancel( params: Params$Resource$Projects$Regions$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Regions$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Regions$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -17738,7 +18073,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17790,11 +18128,11 @@ export namespace dataproc_v1 { delete( params: Params$Resource$Projects$Regions$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Regions$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Regions$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17823,7 +18161,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17875,11 +18216,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Regions$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Regions$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Regions$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17908,7 +18249,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17960,11 +18304,11 @@ export namespace dataproc_v1 { getIamPolicy( params: Params$Resource$Projects$Regions$Operations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Regions$Operations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Regions$Operations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -17993,7 +18337,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18048,11 +18395,11 @@ export namespace dataproc_v1 { list( params: Params$Resource$Projects$Regions$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Regions$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Regions$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18085,8 +18432,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18138,11 +18485,11 @@ export namespace dataproc_v1 { setIamPolicy( params: Params$Resource$Projects$Regions$Operations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Regions$Operations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Regions$Operations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -18171,7 +18518,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18226,11 +18576,11 @@ export namespace dataproc_v1 { testIamPermissions( params: Params$Resource$Projects$Regions$Operations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Regions$Operations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Regions$Operations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -18265,8 +18615,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18406,11 +18756,11 @@ export namespace dataproc_v1 { create( params: Params$Resource$Projects$Regions$Workflowtemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Regions$Workflowtemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Regions$Workflowtemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18439,7 +18789,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18495,11 +18848,11 @@ export namespace dataproc_v1 { delete( params: Params$Resource$Projects$Regions$Workflowtemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Regions$Workflowtemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Regions$Workflowtemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18528,7 +18881,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18581,11 +18937,11 @@ export namespace dataproc_v1 { get( params: Params$Resource$Projects$Regions$Workflowtemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Regions$Workflowtemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Regions$Workflowtemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18614,7 +18970,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18666,11 +19025,11 @@ export namespace dataproc_v1 { getIamPolicy( params: Params$Resource$Projects$Regions$Workflowtemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Regions$Workflowtemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Regions$Workflowtemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -18699,7 +19058,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18755,11 +19117,11 @@ export namespace dataproc_v1 { instantiate( params: Params$Resource$Projects$Regions$Workflowtemplates$Instantiate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; instantiate( params?: Params$Resource$Projects$Regions$Workflowtemplates$Instantiate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; instantiate( params: Params$Resource$Projects$Regions$Workflowtemplates$Instantiate, options: StreamMethodOptions | BodyResponseCallback, @@ -18788,7 +19150,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Instantiate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18844,11 +19209,11 @@ export namespace dataproc_v1 { instantiateInline( params: Params$Resource$Projects$Regions$Workflowtemplates$Instantiateinline, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; instantiateInline( params?: Params$Resource$Projects$Regions$Workflowtemplates$Instantiateinline, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; instantiateInline( params: Params$Resource$Projects$Regions$Workflowtemplates$Instantiateinline, options: StreamMethodOptions | BodyResponseCallback, @@ -18877,7 +19242,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Instantiateinline; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18932,11 +19300,11 @@ export namespace dataproc_v1 { list( params: Params$Resource$Projects$Regions$Workflowtemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Regions$Workflowtemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Regions$Workflowtemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18971,8 +19339,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19029,11 +19397,11 @@ export namespace dataproc_v1 { setIamPolicy( params: Params$Resource$Projects$Regions$Workflowtemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Regions$Workflowtemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Regions$Workflowtemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -19062,7 +19430,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19118,11 +19489,11 @@ export namespace dataproc_v1 { testIamPermissions( params: Params$Resource$Projects$Regions$Workflowtemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Regions$Workflowtemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Regions$Workflowtemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -19157,8 +19528,8 @@ export namespace dataproc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19214,11 +19585,11 @@ export namespace dataproc_v1 { update( params: Params$Resource$Projects$Regions$Workflowtemplates$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Regions$Workflowtemplates$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Regions$Workflowtemplates$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -19247,7 +19618,10 @@ export namespace dataproc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dataproc/v1beta2.ts b/src/apis/dataproc/v1beta2.ts index 05f2dae39d9..56d473dc6a5 100644 --- a/src/apis/dataproc/v1beta2.ts +++ b/src/apis/dataproc/v1beta2.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1967,11 +1967,11 @@ export namespace dataproc_v1beta2 { create( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2002,8 +2002,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2098,11 +2098,11 @@ export namespace dataproc_v1beta2 { delete( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2131,7 +2131,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2229,11 +2229,11 @@ export namespace dataproc_v1beta2 { get( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2264,8 +2264,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2365,11 +2365,11 @@ export namespace dataproc_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2398,7 +2398,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2500,11 +2500,11 @@ export namespace dataproc_v1beta2 { list( params: Params$Resource$Projects$Locations$Autoscalingpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Autoscalingpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2539,8 +2539,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2651,11 +2651,11 @@ export namespace dataproc_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2684,7 +2684,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2791,11 +2791,11 @@ export namespace dataproc_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2830,8 +2830,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2944,11 +2944,11 @@ export namespace dataproc_v1beta2 { update( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Autoscalingpolicies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Autoscalingpolicies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2979,8 +2979,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autoscalingpolicies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3196,11 +3196,11 @@ export namespace dataproc_v1beta2 { create( params: Params$Resource$Projects$Locations$Workflowtemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workflowtemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workflowtemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3229,7 +3229,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3326,11 +3326,11 @@ export namespace dataproc_v1beta2 { delete( params: Params$Resource$Projects$Locations$Workflowtemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workflowtemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workflowtemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3359,7 +3359,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3464,11 +3464,11 @@ export namespace dataproc_v1beta2 { get( params: Params$Resource$Projects$Locations$Workflowtemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workflowtemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workflowtemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3497,7 +3497,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3595,11 +3595,11 @@ export namespace dataproc_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Locations$Workflowtemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Workflowtemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Workflowtemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3628,7 +3628,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3740,11 +3740,11 @@ export namespace dataproc_v1beta2 { instantiate( params: Params$Resource$Projects$Locations$Workflowtemplates$Instantiate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; instantiate( params?: Params$Resource$Projects$Locations$Workflowtemplates$Instantiate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; instantiate( params: Params$Resource$Projects$Locations$Workflowtemplates$Instantiate, options: StreamMethodOptions | BodyResponseCallback, @@ -3773,7 +3773,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Instantiate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3896,11 +3896,11 @@ export namespace dataproc_v1beta2 { instantiateInline( params: Params$Resource$Projects$Locations$Workflowtemplates$Instantiateinline, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; instantiateInline( params?: Params$Resource$Projects$Locations$Workflowtemplates$Instantiateinline, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; instantiateInline( params: Params$Resource$Projects$Locations$Workflowtemplates$Instantiateinline, options: StreamMethodOptions | BodyResponseCallback, @@ -3929,7 +3929,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Instantiateinline; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4030,11 +4030,11 @@ export namespace dataproc_v1beta2 { list( params: Params$Resource$Projects$Locations$Workflowtemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workflowtemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workflowtemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4069,8 +4069,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4180,11 +4180,11 @@ export namespace dataproc_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Locations$Workflowtemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Workflowtemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Workflowtemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4213,7 +4213,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4320,11 +4320,11 @@ export namespace dataproc_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Locations$Workflowtemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Workflowtemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Workflowtemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4359,8 +4359,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4483,11 +4483,11 @@ export namespace dataproc_v1beta2 { update( params: Params$Resource$Projects$Locations$Workflowtemplates$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Workflowtemplates$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Workflowtemplates$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4516,7 +4516,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflowtemplates$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4782,11 +4782,11 @@ export namespace dataproc_v1beta2 { create( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4817,8 +4817,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4913,11 +4913,11 @@ export namespace dataproc_v1beta2 { delete( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4946,7 +4946,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5044,11 +5044,11 @@ export namespace dataproc_v1beta2 { get( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5079,8 +5079,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5178,11 +5178,11 @@ export namespace dataproc_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5211,7 +5211,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5313,11 +5313,11 @@ export namespace dataproc_v1beta2 { list( params: Params$Resource$Projects$Regions$Autoscalingpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Regions$Autoscalingpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5352,8 +5352,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5463,11 +5463,11 @@ export namespace dataproc_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5496,7 +5496,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5603,11 +5603,11 @@ export namespace dataproc_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5642,8 +5642,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5756,11 +5756,11 @@ export namespace dataproc_v1beta2 { update( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Regions$Autoscalingpolicies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Regions$Autoscalingpolicies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5791,8 +5791,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Autoscalingpolicies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6005,11 +6005,11 @@ export namespace dataproc_v1beta2 { create( params: Params$Resource$Projects$Regions$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Regions$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Regions$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6038,7 +6038,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6146,11 +6146,11 @@ export namespace dataproc_v1beta2 { delete( params: Params$Resource$Projects$Regions$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Regions$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Regions$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6179,7 +6179,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6289,11 +6289,11 @@ export namespace dataproc_v1beta2 { diagnose( params: Params$Resource$Projects$Regions$Clusters$Diagnose, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; diagnose( params?: Params$Resource$Projects$Regions$Clusters$Diagnose, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; diagnose( params: Params$Resource$Projects$Regions$Clusters$Diagnose, options: StreamMethodOptions | BodyResponseCallback, @@ -6322,7 +6322,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Diagnose; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6429,11 +6429,11 @@ export namespace dataproc_v1beta2 { get( params: Params$Resource$Projects$Regions$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Regions$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Regions$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6462,7 +6462,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6562,11 +6562,11 @@ export namespace dataproc_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Regions$Clusters$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Regions$Clusters$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Regions$Clusters$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6595,7 +6595,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6708,11 +6708,11 @@ export namespace dataproc_v1beta2 { injectCredentials( params: Params$Resource$Projects$Regions$Clusters$Injectcredentials, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; injectCredentials( params?: Params$Resource$Projects$Regions$Clusters$Injectcredentials, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; injectCredentials( params: Params$Resource$Projects$Regions$Clusters$Injectcredentials, options: StreamMethodOptions | BodyResponseCallback, @@ -6741,7 +6741,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Injectcredentials; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6847,11 +6847,11 @@ export namespace dataproc_v1beta2 { list( params: Params$Resource$Projects$Regions$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Regions$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Regions$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6884,8 +6884,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7010,11 +7010,11 @@ export namespace dataproc_v1beta2 { patch( params: Params$Resource$Projects$Regions$Clusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Regions$Clusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Regions$Clusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7043,7 +7043,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7149,11 +7149,11 @@ export namespace dataproc_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Regions$Clusters$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Regions$Clusters$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Regions$Clusters$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7182,7 +7182,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7295,11 +7295,11 @@ export namespace dataproc_v1beta2 { start( params: Params$Resource$Projects$Regions$Clusters$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Regions$Clusters$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Regions$Clusters$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -7328,7 +7328,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7441,11 +7441,11 @@ export namespace dataproc_v1beta2 { stop( params: Params$Resource$Projects$Regions$Clusters$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Regions$Clusters$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Regions$Clusters$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -7474,7 +7474,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7578,11 +7578,11 @@ export namespace dataproc_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Regions$Clusters$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Regions$Clusters$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Regions$Clusters$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7617,8 +7617,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Clusters$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7980,11 +7980,11 @@ export namespace dataproc_v1beta2 { cancel( params: Params$Resource$Projects$Regions$Jobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Regions$Jobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Regions$Jobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -8013,7 +8013,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8111,11 +8111,11 @@ export namespace dataproc_v1beta2 { delete( params: Params$Resource$Projects$Regions$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Regions$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Regions$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8144,7 +8144,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8263,11 +8263,11 @@ export namespace dataproc_v1beta2 { get( params: Params$Resource$Projects$Regions$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Regions$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Regions$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8296,7 +8296,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8396,11 +8396,11 @@ export namespace dataproc_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Regions$Jobs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Regions$Jobs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Regions$Jobs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8429,7 +8429,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8538,11 +8538,11 @@ export namespace dataproc_v1beta2 { list( params: Params$Resource$Projects$Regions$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Regions$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Regions$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8571,7 +8571,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8718,11 +8718,11 @@ export namespace dataproc_v1beta2 { patch( params: Params$Resource$Projects$Regions$Jobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Regions$Jobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Regions$Jobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8751,7 +8751,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8857,11 +8857,11 @@ export namespace dataproc_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Regions$Jobs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Regions$Jobs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Regions$Jobs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8890,7 +8890,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9016,11 +9016,11 @@ export namespace dataproc_v1beta2 { submit( params: Params$Resource$Projects$Regions$Jobs$Submit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submit( params?: Params$Resource$Projects$Regions$Jobs$Submit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; submit( params: Params$Resource$Projects$Regions$Jobs$Submit, options: StreamMethodOptions | BodyResponseCallback, @@ -9049,7 +9049,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Submit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9160,11 +9160,11 @@ export namespace dataproc_v1beta2 { submitAsOperation( params: Params$Resource$Projects$Regions$Jobs$Submitasoperation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submitAsOperation( params?: Params$Resource$Projects$Regions$Jobs$Submitasoperation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; submitAsOperation( params: Params$Resource$Projects$Regions$Jobs$Submitasoperation, options: StreamMethodOptions | BodyResponseCallback, @@ -9193,7 +9193,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Submitasoperation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9297,11 +9297,11 @@ export namespace dataproc_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Regions$Jobs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Regions$Jobs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Regions$Jobs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9336,8 +9336,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Jobs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9611,11 +9611,11 @@ export namespace dataproc_v1beta2 { cancel( params: Params$Resource$Projects$Regions$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Regions$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Regions$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -9644,7 +9644,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9738,11 +9738,11 @@ export namespace dataproc_v1beta2 { delete( params: Params$Resource$Projects$Regions$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Regions$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Regions$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9771,7 +9771,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9868,11 +9868,11 @@ export namespace dataproc_v1beta2 { get( params: Params$Resource$Projects$Regions$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Regions$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Regions$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9901,7 +9901,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9998,11 +9998,11 @@ export namespace dataproc_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Regions$Operations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Regions$Operations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Regions$Operations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10031,7 +10031,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10134,11 +10134,11 @@ export namespace dataproc_v1beta2 { list( params: Params$Resource$Projects$Regions$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Regions$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Regions$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10171,8 +10171,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10275,11 +10275,11 @@ export namespace dataproc_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Regions$Operations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Regions$Operations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Regions$Operations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10308,7 +10308,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10412,11 +10412,11 @@ export namespace dataproc_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Regions$Operations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Regions$Operations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Regions$Operations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -10451,8 +10451,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Operations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10658,11 +10658,11 @@ export namespace dataproc_v1beta2 { create( params: Params$Resource$Projects$Regions$Workflowtemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Regions$Workflowtemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Regions$Workflowtemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10691,7 +10691,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10788,11 +10788,11 @@ export namespace dataproc_v1beta2 { delete( params: Params$Resource$Projects$Regions$Workflowtemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Regions$Workflowtemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Regions$Workflowtemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10821,7 +10821,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10926,11 +10926,11 @@ export namespace dataproc_v1beta2 { get( params: Params$Resource$Projects$Regions$Workflowtemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Regions$Workflowtemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Regions$Workflowtemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10959,7 +10959,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11057,11 +11057,11 @@ export namespace dataproc_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Regions$Workflowtemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Regions$Workflowtemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Regions$Workflowtemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -11090,7 +11090,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11202,11 +11202,11 @@ export namespace dataproc_v1beta2 { instantiate( params: Params$Resource$Projects$Regions$Workflowtemplates$Instantiate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; instantiate( params?: Params$Resource$Projects$Regions$Workflowtemplates$Instantiate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; instantiate( params: Params$Resource$Projects$Regions$Workflowtemplates$Instantiate, options: StreamMethodOptions | BodyResponseCallback, @@ -11235,7 +11235,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Instantiate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11358,11 +11358,11 @@ export namespace dataproc_v1beta2 { instantiateInline( params: Params$Resource$Projects$Regions$Workflowtemplates$Instantiateinline, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; instantiateInline( params?: Params$Resource$Projects$Regions$Workflowtemplates$Instantiateinline, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; instantiateInline( params: Params$Resource$Projects$Regions$Workflowtemplates$Instantiateinline, options: StreamMethodOptions | BodyResponseCallback, @@ -11391,7 +11391,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Instantiateinline; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11492,11 +11492,11 @@ export namespace dataproc_v1beta2 { list( params: Params$Resource$Projects$Regions$Workflowtemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Regions$Workflowtemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Regions$Workflowtemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11531,8 +11531,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11641,11 +11641,11 @@ export namespace dataproc_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Regions$Workflowtemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Regions$Workflowtemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Regions$Workflowtemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -11674,7 +11674,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11781,11 +11781,11 @@ export namespace dataproc_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Regions$Workflowtemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Regions$Workflowtemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Regions$Workflowtemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -11820,8 +11820,8 @@ export namespace dataproc_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11944,11 +11944,11 @@ export namespace dataproc_v1beta2 { update( params: Params$Resource$Projects$Regions$Workflowtemplates$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Regions$Workflowtemplates$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Regions$Workflowtemplates$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11977,7 +11977,7 @@ export namespace dataproc_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Regions$Workflowtemplates$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datastore/index.ts b/src/apis/datastore/index.ts index 763c3511cfe..2c6affe2a94 100644 --- a/src/apis/datastore/index.ts +++ b/src/apis/datastore/index.ts @@ -65,7 +65,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/datastore/package.json b/src/apis/datastore/package.json index 7f9ac1bd1ad..f3a32573eba 100644 --- a/src/apis/datastore/package.json +++ b/src/apis/datastore/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/datastore/v1.ts b/src/apis/datastore/v1.ts index 768a9874ab8..907eb2b7f96 100644 --- a/src/apis/datastore/v1.ts +++ b/src/apis/datastore/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1553,11 +1553,11 @@ export namespace datastore_v1 { allocateIds( params: Params$Resource$Projects$Allocateids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; allocateIds( params?: Params$Resource$Projects$Allocateids, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; allocateIds( params: Params$Resource$Projects$Allocateids, options: StreamMethodOptions | BodyResponseCallback, @@ -1590,8 +1590,8 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Allocateids; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1646,11 +1646,11 @@ export namespace datastore_v1 { beginTransaction( params: Params$Resource$Projects$Begintransaction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; beginTransaction( params?: Params$Resource$Projects$Begintransaction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; beginTransaction( params: Params$Resource$Projects$Begintransaction, options: StreamMethodOptions | BodyResponseCallback, @@ -1685,8 +1685,8 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Begintransaction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1740,11 +1740,11 @@ export namespace datastore_v1 { commit( params: Params$Resource$Projects$Commit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commit( params?: Params$Resource$Projects$Commit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commit( params: Params$Resource$Projects$Commit, options: StreamMethodOptions | BodyResponseCallback, @@ -1773,7 +1773,10 @@ export namespace datastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Commit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1827,11 +1830,11 @@ export namespace datastore_v1 { export( params: Params$Resource$Projects$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -1866,8 +1869,8 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1921,11 +1924,11 @@ export namespace datastore_v1 { import( params: Params$Resource$Projects$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -1960,8 +1963,8 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2015,11 +2018,11 @@ export namespace datastore_v1 { lookup( params: Params$Resource$Projects$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Projects$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Projects$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -2048,7 +2051,10 @@ export namespace datastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2102,11 +2108,11 @@ export namespace datastore_v1 { reserveIds( params: Params$Resource$Projects$Reserveids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reserveIds( params?: Params$Resource$Projects$Reserveids, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reserveIds( params: Params$Resource$Projects$Reserveids, options: StreamMethodOptions | BodyResponseCallback, @@ -2137,8 +2143,8 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Reserveids; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2193,11 +2199,11 @@ export namespace datastore_v1 { rollback( params: Params$Resource$Projects$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -2226,7 +2232,10 @@ export namespace datastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2281,11 +2290,11 @@ export namespace datastore_v1 { runAggregationQuery( params: Params$Resource$Projects$Runaggregationquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runAggregationQuery( params?: Params$Resource$Projects$Runaggregationquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runAggregationQuery( params: Params$Resource$Projects$Runaggregationquery, options: StreamMethodOptions | BodyResponseCallback, @@ -2320,8 +2329,8 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Runaggregationquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2375,11 +2384,11 @@ export namespace datastore_v1 { runQuery( params: Params$Resource$Projects$Runquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runQuery( params?: Params$Resource$Projects$Runquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runQuery( params: Params$Resource$Projects$Runquery, options: StreamMethodOptions | BodyResponseCallback, @@ -2408,7 +2417,10 @@ export namespace datastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Runquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2587,11 +2599,11 @@ export namespace datastore_v1 { create( params: Params$Resource$Projects$Indexes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Indexes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Indexes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2626,8 +2638,8 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Indexes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2682,11 +2694,11 @@ export namespace datastore_v1 { delete( params: Params$Resource$Projects$Indexes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Indexes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Indexes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2721,8 +2733,8 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Indexes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2776,11 +2788,11 @@ export namespace datastore_v1 { get( params: Params$Resource$Projects$Indexes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Indexes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Indexes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2815,8 +2827,8 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Indexes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2870,11 +2882,13 @@ export namespace datastore_v1 { list( params: Params$Resource$Projects$Indexes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Indexes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Indexes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2909,8 +2923,10 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Indexes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3028,11 +3044,11 @@ export namespace datastore_v1 { cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3061,7 +3077,10 @@ export namespace datastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3113,11 +3132,11 @@ export namespace datastore_v1 { delete( params: Params$Resource$Projects$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3146,7 +3165,10 @@ export namespace datastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3198,11 +3220,11 @@ export namespace datastore_v1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3237,8 +3259,8 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3290,11 +3312,13 @@ export namespace datastore_v1 { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3329,8 +3353,10 @@ export namespace datastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datastore/v1beta1.ts b/src/apis/datastore/v1beta1.ts index 536d5c9c225..a907a91f20a 100644 --- a/src/apis/datastore/v1beta1.ts +++ b/src/apis/datastore/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -512,11 +512,11 @@ export namespace datastore_v1beta1 { export( params: Params$Resource$Projects$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -551,8 +551,8 @@ export namespace datastore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -606,11 +606,11 @@ export namespace datastore_v1beta1 { import( params: Params$Resource$Projects$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -645,8 +645,8 @@ export namespace datastore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Import; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datastore/v1beta3.ts b/src/apis/datastore/v1beta3.ts index 4ed40513402..58ccdfb6bc0 100644 --- a/src/apis/datastore/v1beta3.ts +++ b/src/apis/datastore/v1beta3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1349,11 +1349,11 @@ export namespace datastore_v1beta3 { allocateIds( params: Params$Resource$Projects$Allocateids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; allocateIds( params?: Params$Resource$Projects$Allocateids, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; allocateIds( params: Params$Resource$Projects$Allocateids, options: StreamMethodOptions | BodyResponseCallback, @@ -1386,8 +1386,8 @@ export namespace datastore_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Allocateids; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1441,11 +1441,11 @@ export namespace datastore_v1beta3 { beginTransaction( params: Params$Resource$Projects$Begintransaction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; beginTransaction( params?: Params$Resource$Projects$Begintransaction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; beginTransaction( params: Params$Resource$Projects$Begintransaction, options: StreamMethodOptions | BodyResponseCallback, @@ -1480,8 +1480,8 @@ export namespace datastore_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Begintransaction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1535,11 +1535,11 @@ export namespace datastore_v1beta3 { commit( params: Params$Resource$Projects$Commit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commit( params?: Params$Resource$Projects$Commit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commit( params: Params$Resource$Projects$Commit, options: StreamMethodOptions | BodyResponseCallback, @@ -1568,7 +1568,10 @@ export namespace datastore_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Commit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1622,11 +1625,11 @@ export namespace datastore_v1beta3 { lookup( params: Params$Resource$Projects$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Projects$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Projects$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -1655,7 +1658,10 @@ export namespace datastore_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1709,11 +1715,11 @@ export namespace datastore_v1beta3 { reserveIds( params: Params$Resource$Projects$Reserveids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reserveIds( params?: Params$Resource$Projects$Reserveids, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reserveIds( params: Params$Resource$Projects$Reserveids, options: StreamMethodOptions | BodyResponseCallback, @@ -1744,8 +1750,8 @@ export namespace datastore_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Reserveids; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1800,11 +1806,11 @@ export namespace datastore_v1beta3 { rollback( params: Params$Resource$Projects$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -1833,7 +1839,10 @@ export namespace datastore_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1888,11 +1897,11 @@ export namespace datastore_v1beta3 { runAggregationQuery( params: Params$Resource$Projects$Runaggregationquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runAggregationQuery( params?: Params$Resource$Projects$Runaggregationquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runAggregationQuery( params: Params$Resource$Projects$Runaggregationquery, options: StreamMethodOptions | BodyResponseCallback, @@ -1927,8 +1936,8 @@ export namespace datastore_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Runaggregationquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1982,11 +1991,11 @@ export namespace datastore_v1beta3 { runQuery( params: Params$Resource$Projects$Runquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runQuery( params?: Params$Resource$Projects$Runquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runQuery( params: Params$Resource$Projects$Runquery, options: StreamMethodOptions | BodyResponseCallback, @@ -2015,7 +2024,10 @@ export namespace datastore_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Runquery; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datastream/index.ts b/src/apis/datastream/index.ts index 234e41fb574..93dbafb1368 100644 --- a/src/apis/datastream/index.ts +++ b/src/apis/datastream/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/datastream/package.json b/src/apis/datastream/package.json index 5eaeeecd838..0579dc98547 100644 --- a/src/apis/datastream/package.json +++ b/src/apis/datastream/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/datastream/v1.ts b/src/apis/datastream/v1.ts index 7d902cd032b..50b9d7bf0c3 100644 --- a/src/apis/datastream/v1.ts +++ b/src/apis/datastream/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -834,7 +834,7 @@ export namespace datastream_v1 { */ export interface Schema$MongodbProfile { /** - * Required. List of host addresses for a MongoDB cluster. + * Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports. */ hostAddresses?: Schema$HostAddress[]; /** @@ -842,7 +842,7 @@ export namespace datastream_v1 { */ password?: string | null; /** - * Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. + * Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified. */ replicaSet?: string | null; /** @@ -2313,11 +2313,11 @@ export namespace datastream_v1 { fetchStaticIps( params: Params$Resource$Projects$Locations$Fetchstaticips, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchStaticIps( params?: Params$Resource$Projects$Locations$Fetchstaticips, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchStaticIps( params: Params$Resource$Projects$Locations$Fetchstaticips, options: StreamMethodOptions | BodyResponseCallback, @@ -2352,8 +2352,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fetchstaticips; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2408,11 +2408,11 @@ export namespace datastream_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2441,7 +2441,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2493,11 +2496,11 @@ export namespace datastream_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2530,8 +2533,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2639,11 +2642,11 @@ export namespace datastream_v1 { create( params: Params$Resource$Projects$Locations$Connectionprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connectionprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connectionprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2672,7 +2675,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2728,11 +2734,11 @@ export namespace datastream_v1 { delete( params: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2761,7 +2767,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2814,11 +2823,13 @@ export namespace datastream_v1 { discover( params: Params$Resource$Projects$Locations$Connectionprofiles$Discover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; discover( params?: Params$Resource$Projects$Locations$Connectionprofiles$Discover, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; discover( params: Params$Resource$Projects$Locations$Connectionprofiles$Discover, options: StreamMethodOptions | BodyResponseCallback, @@ -2853,8 +2864,10 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Discover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2911,11 +2924,11 @@ export namespace datastream_v1 { get( params: Params$Resource$Projects$Locations$Connectionprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connectionprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connectionprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2946,8 +2959,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3000,11 +3013,11 @@ export namespace datastream_v1 { list( params: Params$Resource$Projects$Locations$Connectionprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connectionprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connectionprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3039,8 +3052,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3098,11 +3111,11 @@ export namespace datastream_v1 { patch( params: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3131,7 +3144,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3301,11 +3317,11 @@ export namespace datastream_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3334,7 +3350,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3386,11 +3405,11 @@ export namespace datastream_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3419,7 +3438,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3471,11 +3493,11 @@ export namespace datastream_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3504,7 +3526,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3556,11 +3581,11 @@ export namespace datastream_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3593,8 +3618,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3706,11 +3731,11 @@ export namespace datastream_v1 { create( params: Params$Resource$Projects$Locations$Privateconnections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateconnections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateconnections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3739,7 +3764,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3795,11 +3823,11 @@ export namespace datastream_v1 { delete( params: Params$Resource$Projects$Locations$Privateconnections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Privateconnections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Privateconnections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3828,7 +3856,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3881,11 +3912,11 @@ export namespace datastream_v1 { get( params: Params$Resource$Projects$Locations$Privateconnections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateconnections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateconnections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3916,8 +3947,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3970,11 +4001,11 @@ export namespace datastream_v1 { list( params: Params$Resource$Projects$Locations$Privateconnections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateconnections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateconnections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4009,8 +4040,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4149,11 +4180,11 @@ export namespace datastream_v1 { create( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateconnections$Routes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4182,7 +4213,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Routes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4238,11 +4272,11 @@ export namespace datastream_v1 { delete( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Privateconnections$Routes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4271,7 +4305,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Routes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4324,11 +4361,11 @@ export namespace datastream_v1 { get( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateconnections$Routes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4357,7 +4394,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Routes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4410,11 +4450,11 @@ export namespace datastream_v1 { list( params: Params$Resource$Projects$Locations$Privateconnections$Routes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateconnections$Routes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateconnections$Routes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4445,8 +4485,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Routes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4575,11 +4615,11 @@ export namespace datastream_v1 { create( params: Params$Resource$Projects$Locations$Streams$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Streams$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Streams$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4608,7 +4648,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4663,11 +4706,11 @@ export namespace datastream_v1 { delete( params: Params$Resource$Projects$Locations$Streams$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Streams$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Streams$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4696,7 +4739,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4748,11 +4794,11 @@ export namespace datastream_v1 { get( params: Params$Resource$Projects$Locations$Streams$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Streams$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Streams$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4781,7 +4827,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4833,11 +4882,11 @@ export namespace datastream_v1 { list( params: Params$Resource$Projects$Locations$Streams$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Streams$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Streams$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4868,8 +4917,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4924,11 +4973,11 @@ export namespace datastream_v1 { patch( params: Params$Resource$Projects$Locations$Streams$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Streams$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Streams$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4957,7 +5006,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5009,11 +5061,11 @@ export namespace datastream_v1 { run( params: Params$Resource$Projects$Locations$Streams$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Streams$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Streams$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -5042,7 +5094,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5211,11 +5266,11 @@ export namespace datastream_v1 { get( params: Params$Resource$Projects$Locations$Streams$Objects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Streams$Objects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Streams$Objects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5244,7 +5299,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Objects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5296,11 +5354,11 @@ export namespace datastream_v1 { list( params: Params$Resource$Projects$Locations$Streams$Objects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Streams$Objects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Streams$Objects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5335,8 +5393,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Objects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5391,11 +5449,11 @@ export namespace datastream_v1 { lookup( params: Params$Resource$Projects$Locations$Streams$Objects$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Projects$Locations$Streams$Objects$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Projects$Locations$Streams$Objects$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -5424,7 +5482,10 @@ export namespace datastream_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Objects$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5480,11 +5541,11 @@ export namespace datastream_v1 { startBackfillJob( params: Params$Resource$Projects$Locations$Streams$Objects$Startbackfilljob, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startBackfillJob( params?: Params$Resource$Projects$Locations$Streams$Objects$Startbackfilljob, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startBackfillJob( params: Params$Resource$Projects$Locations$Streams$Objects$Startbackfilljob, options: StreamMethodOptions | BodyResponseCallback, @@ -5519,8 +5580,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Objects$Startbackfilljob; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5576,11 +5637,11 @@ export namespace datastream_v1 { stopBackfillJob( params: Params$Resource$Projects$Locations$Streams$Objects$Stopbackfilljob, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopBackfillJob( params?: Params$Resource$Projects$Locations$Streams$Objects$Stopbackfilljob, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopBackfillJob( params: Params$Resource$Projects$Locations$Streams$Objects$Stopbackfilljob, options: StreamMethodOptions | BodyResponseCallback, @@ -5615,8 +5676,8 @@ export namespace datastream_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Objects$Stopbackfilljob; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/datastream/v1alpha1.ts b/src/apis/datastream/v1alpha1.ts index af0ceeede7d..37d602336fc 100644 --- a/src/apis/datastream/v1alpha1.ts +++ b/src/apis/datastream/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1215,11 +1215,11 @@ export namespace datastream_v1alpha1 { fetchStaticIps( params: Params$Resource$Projects$Locations$Fetchstaticips, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchStaticIps( params?: Params$Resource$Projects$Locations$Fetchstaticips, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchStaticIps( params: Params$Resource$Projects$Locations$Fetchstaticips, options: StreamMethodOptions | BodyResponseCallback, @@ -1254,8 +1254,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fetchstaticips; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1310,11 +1310,11 @@ export namespace datastream_v1alpha1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1343,7 +1343,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1395,11 +1398,11 @@ export namespace datastream_v1alpha1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1432,8 +1435,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1541,11 +1544,11 @@ export namespace datastream_v1alpha1 { create( params: Params$Resource$Projects$Locations$Connectionprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connectionprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connectionprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1574,7 +1577,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1630,11 +1636,11 @@ export namespace datastream_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connectionprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1663,7 +1669,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1716,11 +1725,13 @@ export namespace datastream_v1alpha1 { discover( params: Params$Resource$Projects$Locations$Connectionprofiles$Discover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; discover( params?: Params$Resource$Projects$Locations$Connectionprofiles$Discover, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; discover( params: Params$Resource$Projects$Locations$Connectionprofiles$Discover, options: StreamMethodOptions | BodyResponseCallback, @@ -1755,8 +1766,10 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Discover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1813,11 +1826,11 @@ export namespace datastream_v1alpha1 { get( params: Params$Resource$Projects$Locations$Connectionprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connectionprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connectionprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1848,8 +1861,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1902,11 +1915,11 @@ export namespace datastream_v1alpha1 { list( params: Params$Resource$Projects$Locations$Connectionprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connectionprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connectionprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1941,8 +1954,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2000,11 +2013,11 @@ export namespace datastream_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connectionprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2033,7 +2046,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectionprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2191,11 +2207,11 @@ export namespace datastream_v1alpha1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2224,7 +2240,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2279,11 +2298,11 @@ export namespace datastream_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2312,7 +2331,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2364,11 +2386,11 @@ export namespace datastream_v1alpha1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2397,7 +2419,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2449,11 +2474,11 @@ export namespace datastream_v1alpha1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2486,8 +2511,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2599,11 +2624,11 @@ export namespace datastream_v1alpha1 { create( params: Params$Resource$Projects$Locations$Privateconnections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateconnections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateconnections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2632,7 +2657,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2688,11 +2716,11 @@ export namespace datastream_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Privateconnections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Privateconnections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Privateconnections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2721,7 +2749,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2774,11 +2805,11 @@ export namespace datastream_v1alpha1 { get( params: Params$Resource$Projects$Locations$Privateconnections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateconnections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateconnections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2809,8 +2840,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2863,11 +2894,11 @@ export namespace datastream_v1alpha1 { list( params: Params$Resource$Projects$Locations$Privateconnections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateconnections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateconnections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2902,8 +2933,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3034,11 +3065,11 @@ export namespace datastream_v1alpha1 { create( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateconnections$Routes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3067,7 +3098,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Routes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3123,11 +3157,11 @@ export namespace datastream_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Privateconnections$Routes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3156,7 +3190,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Routes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3209,11 +3246,11 @@ export namespace datastream_v1alpha1 { get( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateconnections$Routes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateconnections$Routes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3242,7 +3279,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Routes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3295,11 +3335,11 @@ export namespace datastream_v1alpha1 { list( params: Params$Resource$Projects$Locations$Privateconnections$Routes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateconnections$Routes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateconnections$Routes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3330,8 +3370,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Routes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3460,11 +3500,11 @@ export namespace datastream_v1alpha1 { create( params: Params$Resource$Projects$Locations$Streams$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Streams$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Streams$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3493,7 +3533,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3548,11 +3591,11 @@ export namespace datastream_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Streams$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Streams$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Streams$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3581,7 +3624,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3633,11 +3679,11 @@ export namespace datastream_v1alpha1 { fetchErrors( params: Params$Resource$Projects$Locations$Streams$Fetcherrors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchErrors( params?: Params$Resource$Projects$Locations$Streams$Fetcherrors, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchErrors( params: Params$Resource$Projects$Locations$Streams$Fetcherrors, options: StreamMethodOptions | BodyResponseCallback, @@ -3666,7 +3712,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Fetcherrors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3721,11 +3770,11 @@ export namespace datastream_v1alpha1 { get( params: Params$Resource$Projects$Locations$Streams$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Streams$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Streams$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3754,7 +3803,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3806,11 +3858,11 @@ export namespace datastream_v1alpha1 { list( params: Params$Resource$Projects$Locations$Streams$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Streams$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Streams$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3841,8 +3893,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3897,11 +3949,11 @@ export namespace datastream_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Streams$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Streams$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Streams$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3930,7 +3982,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4099,11 +4154,11 @@ export namespace datastream_v1alpha1 { get( params: Params$Resource$Projects$Locations$Streams$Objects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Streams$Objects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Streams$Objects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4132,7 +4187,10 @@ export namespace datastream_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Objects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4184,11 +4242,11 @@ export namespace datastream_v1alpha1 { list( params: Params$Resource$Projects$Locations$Streams$Objects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Streams$Objects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Streams$Objects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4223,8 +4281,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Objects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4279,11 +4337,11 @@ export namespace datastream_v1alpha1 { startBackfillJob( params: Params$Resource$Projects$Locations$Streams$Objects$Startbackfilljob, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startBackfillJob( params?: Params$Resource$Projects$Locations$Streams$Objects$Startbackfilljob, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startBackfillJob( params: Params$Resource$Projects$Locations$Streams$Objects$Startbackfilljob, options: StreamMethodOptions | BodyResponseCallback, @@ -4318,8 +4376,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Objects$Startbackfilljob; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4375,11 +4433,11 @@ export namespace datastream_v1alpha1 { stopBackfillJob( params: Params$Resource$Projects$Locations$Streams$Objects$Stopbackfilljob, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopBackfillJob( params?: Params$Resource$Projects$Locations$Streams$Objects$Stopbackfilljob, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopBackfillJob( params: Params$Resource$Projects$Locations$Streams$Objects$Stopbackfilljob, options: StreamMethodOptions | BodyResponseCallback, @@ -4414,8 +4472,8 @@ export namespace datastream_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Streams$Objects$Stopbackfilljob; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/deploymentmanager/alpha.ts b/src/apis/deploymentmanager/alpha.ts index 460b0c4a449..c568c004055 100644 --- a/src/apis/deploymentmanager/alpha.ts +++ b/src/apis/deploymentmanager/alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1416,11 +1416,11 @@ export namespace deploymentmanager_alpha { delete( params: Params$Resource$Compositetypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Compositetypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Compositetypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1449,7 +1449,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1505,11 +1508,11 @@ export namespace deploymentmanager_alpha { get( params: Params$Resource$Compositetypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Compositetypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Compositetypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1538,7 +1541,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1594,11 +1600,11 @@ export namespace deploymentmanager_alpha { insert( params: Params$Resource$Compositetypes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Compositetypes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Compositetypes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1627,7 +1633,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1683,11 +1692,11 @@ export namespace deploymentmanager_alpha { list( params: Params$Resource$Compositetypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Compositetypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Compositetypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1722,8 +1731,8 @@ export namespace deploymentmanager_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1779,11 +1788,11 @@ export namespace deploymentmanager_alpha { patch( params: Params$Resource$Compositetypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Compositetypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Compositetypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1812,7 +1821,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1868,11 +1880,11 @@ export namespace deploymentmanager_alpha { update( params: Params$Resource$Compositetypes$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Compositetypes$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Compositetypes$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1901,7 +1913,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2074,11 +2089,11 @@ export namespace deploymentmanager_alpha { cancelPreview( params: Params$Resource$Deployments$Cancelpreview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelPreview( params?: Params$Resource$Deployments$Cancelpreview, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelPreview( params: Params$Resource$Deployments$Cancelpreview, options: StreamMethodOptions | BodyResponseCallback, @@ -2107,7 +2122,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Cancelpreview; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2163,11 +2181,11 @@ export namespace deploymentmanager_alpha { delete( params: Params$Resource$Deployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Deployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Deployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2196,7 +2214,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2252,11 +2273,11 @@ export namespace deploymentmanager_alpha { get( params: Params$Resource$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2285,7 +2306,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2340,11 +2364,11 @@ export namespace deploymentmanager_alpha { getIamPolicy( params: Params$Resource$Deployments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Deployments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Deployments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2373,7 +2397,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2429,11 +2456,11 @@ export namespace deploymentmanager_alpha { insert( params: Params$Resource$Deployments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Deployments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Deployments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -2462,7 +2489,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2518,11 +2548,11 @@ export namespace deploymentmanager_alpha { list( params: Params$Resource$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2555,8 +2585,8 @@ export namespace deploymentmanager_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2611,11 +2641,11 @@ export namespace deploymentmanager_alpha { patch( params: Params$Resource$Deployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Deployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Deployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2644,7 +2674,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2700,11 +2733,11 @@ export namespace deploymentmanager_alpha { setIamPolicy( params: Params$Resource$Deployments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Deployments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Deployments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2733,7 +2766,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2789,11 +2825,11 @@ export namespace deploymentmanager_alpha { stop( params: Params$Resource$Deployments$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Deployments$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Deployments$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -2822,7 +2858,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2877,11 +2916,11 @@ export namespace deploymentmanager_alpha { testIamPermissions( params: Params$Resource$Deployments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Deployments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Deployments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2916,8 +2955,8 @@ export namespace deploymentmanager_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2973,11 +3012,11 @@ export namespace deploymentmanager_alpha { update( params: Params$Resource$Deployments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Deployments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Deployments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3006,7 +3045,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3299,11 +3341,11 @@ export namespace deploymentmanager_alpha { get( params: Params$Resource$Manifests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Manifests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Manifests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3332,7 +3374,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Manifests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3387,11 +3432,11 @@ export namespace deploymentmanager_alpha { list( params: Params$Resource$Manifests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Manifests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Manifests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3424,8 +3469,8 @@ export namespace deploymentmanager_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Manifests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3532,11 +3577,11 @@ export namespace deploymentmanager_alpha { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3565,7 +3610,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3620,11 +3668,11 @@ export namespace deploymentmanager_alpha { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3657,8 +3705,8 @@ export namespace deploymentmanager_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3757,11 +3805,11 @@ export namespace deploymentmanager_alpha { get( params: Params$Resource$Resources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3790,7 +3838,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3845,11 +3896,11 @@ export namespace deploymentmanager_alpha { list( params: Params$Resource$Resources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3882,8 +3933,8 @@ export namespace deploymentmanager_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3990,11 +4041,11 @@ export namespace deploymentmanager_alpha { delete( params: Params$Resource$Typeproviders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Typeproviders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Typeproviders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4023,7 +4074,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4079,11 +4133,11 @@ export namespace deploymentmanager_alpha { get( params: Params$Resource$Typeproviders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Typeproviders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Typeproviders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4112,7 +4166,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4168,11 +4225,11 @@ export namespace deploymentmanager_alpha { getType( params: Params$Resource$Typeproviders$Gettype, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getType( params?: Params$Resource$Typeproviders$Gettype, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getType( params: Params$Resource$Typeproviders$Gettype, options: StreamMethodOptions | BodyResponseCallback, @@ -4201,7 +4258,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Gettype; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4257,11 +4317,11 @@ export namespace deploymentmanager_alpha { insert( params: Params$Resource$Typeproviders$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Typeproviders$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Typeproviders$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4290,7 +4350,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4346,11 +4409,11 @@ export namespace deploymentmanager_alpha { list( params: Params$Resource$Typeproviders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Typeproviders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Typeproviders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4385,8 +4448,8 @@ export namespace deploymentmanager_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4442,11 +4505,11 @@ export namespace deploymentmanager_alpha { listTypes( params: Params$Resource$Typeproviders$Listtypes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listTypes( params?: Params$Resource$Typeproviders$Listtypes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listTypes( params: Params$Resource$Typeproviders$Listtypes, options: StreamMethodOptions | BodyResponseCallback, @@ -4481,8 +4544,8 @@ export namespace deploymentmanager_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Listtypes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4540,11 +4603,11 @@ export namespace deploymentmanager_alpha { patch( params: Params$Resource$Typeproviders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Typeproviders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Typeproviders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4573,7 +4636,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4629,11 +4695,11 @@ export namespace deploymentmanager_alpha { update( params: Params$Resource$Typeproviders$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Typeproviders$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Typeproviders$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4662,7 +4728,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4881,11 +4950,11 @@ export namespace deploymentmanager_alpha { get( params: Params$Resource$Types$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Types$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Types$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4914,7 +4983,10 @@ export namespace deploymentmanager_alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Types$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4969,11 +5041,11 @@ export namespace deploymentmanager_alpha { list( params: Params$Resource$Types$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Types$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Types$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5004,8 +5076,8 @@ export namespace deploymentmanager_alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Types$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/deploymentmanager/index.ts b/src/apis/deploymentmanager/index.ts index 02ec55be94f..e0530239e9b 100644 --- a/src/apis/deploymentmanager/index.ts +++ b/src/apis/deploymentmanager/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/deploymentmanager/package.json b/src/apis/deploymentmanager/package.json index 2b33f1a91b3..65355f74f7f 100644 --- a/src/apis/deploymentmanager/package.json +++ b/src/apis/deploymentmanager/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/deploymentmanager/v2.ts b/src/apis/deploymentmanager/v2.ts index 630e972e1b7..cb3210eeeaa 100644 --- a/src/apis/deploymentmanager/v2.ts +++ b/src/apis/deploymentmanager/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -932,11 +932,11 @@ export namespace deploymentmanager_v2 { cancelPreview( params: Params$Resource$Deployments$Cancelpreview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelPreview( params?: Params$Resource$Deployments$Cancelpreview, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelPreview( params: Params$Resource$Deployments$Cancelpreview, options: StreamMethodOptions | BodyResponseCallback, @@ -965,7 +965,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Cancelpreview; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1021,11 +1024,11 @@ export namespace deploymentmanager_v2 { delete( params: Params$Resource$Deployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Deployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Deployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1054,7 +1057,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1110,11 +1116,11 @@ export namespace deploymentmanager_v2 { get( params: Params$Resource$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1143,7 +1149,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1198,11 +1207,11 @@ export namespace deploymentmanager_v2 { getIamPolicy( params: Params$Resource$Deployments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Deployments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Deployments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1231,7 +1240,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1287,11 +1299,11 @@ export namespace deploymentmanager_v2 { insert( params: Params$Resource$Deployments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Deployments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Deployments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1320,7 +1332,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1376,11 +1391,11 @@ export namespace deploymentmanager_v2 { list( params: Params$Resource$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1413,8 +1428,8 @@ export namespace deploymentmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1469,11 +1484,11 @@ export namespace deploymentmanager_v2 { patch( params: Params$Resource$Deployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Deployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Deployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1502,7 +1517,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1558,11 +1576,11 @@ export namespace deploymentmanager_v2 { setIamPolicy( params: Params$Resource$Deployments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Deployments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Deployments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1591,7 +1609,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1647,11 +1668,11 @@ export namespace deploymentmanager_v2 { stop( params: Params$Resource$Deployments$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Deployments$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Deployments$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -1680,7 +1701,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1735,11 +1759,11 @@ export namespace deploymentmanager_v2 { testIamPermissions( params: Params$Resource$Deployments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Deployments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Deployments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1774,8 +1798,8 @@ export namespace deploymentmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1831,11 +1855,11 @@ export namespace deploymentmanager_v2 { update( params: Params$Resource$Deployments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Deployments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Deployments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1864,7 +1888,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2157,11 +2184,11 @@ export namespace deploymentmanager_v2 { get( params: Params$Resource$Manifests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Manifests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Manifests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2190,7 +2217,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Manifests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2245,11 +2275,11 @@ export namespace deploymentmanager_v2 { list( params: Params$Resource$Manifests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Manifests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Manifests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2282,8 +2312,8 @@ export namespace deploymentmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Manifests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2390,11 +2420,11 @@ export namespace deploymentmanager_v2 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2423,7 +2453,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2478,11 +2511,11 @@ export namespace deploymentmanager_v2 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2515,8 +2548,8 @@ export namespace deploymentmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2615,11 +2648,11 @@ export namespace deploymentmanager_v2 { get( params: Params$Resource$Resources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2648,7 +2681,10 @@ export namespace deploymentmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2703,11 +2739,11 @@ export namespace deploymentmanager_v2 { list( params: Params$Resource$Resources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2740,8 +2776,8 @@ export namespace deploymentmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2848,11 +2884,11 @@ export namespace deploymentmanager_v2 { list( params: Params$Resource$Types$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Types$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Types$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2883,8 +2919,8 @@ export namespace deploymentmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Types$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/deploymentmanager/v2beta.ts b/src/apis/deploymentmanager/v2beta.ts index fb754b82200..c9c59dcfa12 100644 --- a/src/apis/deploymentmanager/v2beta.ts +++ b/src/apis/deploymentmanager/v2beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1346,11 +1346,11 @@ export namespace deploymentmanager_v2beta { delete( params: Params$Resource$Compositetypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Compositetypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Compositetypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1379,7 +1379,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1435,11 +1438,11 @@ export namespace deploymentmanager_v2beta { get( params: Params$Resource$Compositetypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Compositetypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Compositetypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1468,7 +1471,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1524,11 +1530,11 @@ export namespace deploymentmanager_v2beta { insert( params: Params$Resource$Compositetypes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Compositetypes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Compositetypes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1557,7 +1563,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1613,11 +1622,11 @@ export namespace deploymentmanager_v2beta { list( params: Params$Resource$Compositetypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Compositetypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Compositetypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1652,8 +1661,8 @@ export namespace deploymentmanager_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1709,11 +1718,11 @@ export namespace deploymentmanager_v2beta { patch( params: Params$Resource$Compositetypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Compositetypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Compositetypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1742,7 +1751,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1798,11 +1810,11 @@ export namespace deploymentmanager_v2beta { update( params: Params$Resource$Compositetypes$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Compositetypes$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Compositetypes$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1831,7 +1843,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Compositetypes$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2004,11 +2019,11 @@ export namespace deploymentmanager_v2beta { cancelPreview( params: Params$Resource$Deployments$Cancelpreview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelPreview( params?: Params$Resource$Deployments$Cancelpreview, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelPreview( params: Params$Resource$Deployments$Cancelpreview, options: StreamMethodOptions | BodyResponseCallback, @@ -2037,7 +2052,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Cancelpreview; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2093,11 +2111,11 @@ export namespace deploymentmanager_v2beta { delete( params: Params$Resource$Deployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Deployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Deployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2126,7 +2144,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2182,11 +2203,11 @@ export namespace deploymentmanager_v2beta { get( params: Params$Resource$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2215,7 +2236,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2270,11 +2294,11 @@ export namespace deploymentmanager_v2beta { getIamPolicy( params: Params$Resource$Deployments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Deployments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Deployments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2303,7 +2327,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2359,11 +2386,11 @@ export namespace deploymentmanager_v2beta { insert( params: Params$Resource$Deployments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Deployments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Deployments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -2392,7 +2419,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2448,11 +2478,11 @@ export namespace deploymentmanager_v2beta { list( params: Params$Resource$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2485,8 +2515,8 @@ export namespace deploymentmanager_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2541,11 +2571,11 @@ export namespace deploymentmanager_v2beta { patch( params: Params$Resource$Deployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Deployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Deployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2574,7 +2604,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2630,11 +2663,11 @@ export namespace deploymentmanager_v2beta { setIamPolicy( params: Params$Resource$Deployments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Deployments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Deployments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2663,7 +2696,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2719,11 +2755,11 @@ export namespace deploymentmanager_v2beta { stop( params: Params$Resource$Deployments$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Deployments$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Deployments$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -2752,7 +2788,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2807,11 +2846,11 @@ export namespace deploymentmanager_v2beta { testIamPermissions( params: Params$Resource$Deployments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Deployments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Deployments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2846,8 +2885,8 @@ export namespace deploymentmanager_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2903,11 +2942,11 @@ export namespace deploymentmanager_v2beta { update( params: Params$Resource$Deployments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Deployments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Deployments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2936,7 +2975,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3229,11 +3271,11 @@ export namespace deploymentmanager_v2beta { get( params: Params$Resource$Manifests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Manifests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Manifests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3262,7 +3304,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Manifests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3317,11 +3362,11 @@ export namespace deploymentmanager_v2beta { list( params: Params$Resource$Manifests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Manifests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Manifests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3354,8 +3399,8 @@ export namespace deploymentmanager_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Manifests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3462,11 +3507,11 @@ export namespace deploymentmanager_v2beta { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3495,7 +3540,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3550,11 +3598,11 @@ export namespace deploymentmanager_v2beta { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3587,8 +3635,8 @@ export namespace deploymentmanager_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3687,11 +3735,11 @@ export namespace deploymentmanager_v2beta { get( params: Params$Resource$Resources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3720,7 +3768,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3775,11 +3826,11 @@ export namespace deploymentmanager_v2beta { list( params: Params$Resource$Resources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3812,8 +3863,8 @@ export namespace deploymentmanager_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3920,11 +3971,11 @@ export namespace deploymentmanager_v2beta { delete( params: Params$Resource$Typeproviders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Typeproviders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Typeproviders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3953,7 +4004,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4009,11 +4063,11 @@ export namespace deploymentmanager_v2beta { get( params: Params$Resource$Typeproviders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Typeproviders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Typeproviders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4042,7 +4096,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4098,11 +4155,11 @@ export namespace deploymentmanager_v2beta { getType( params: Params$Resource$Typeproviders$Gettype, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getType( params?: Params$Resource$Typeproviders$Gettype, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getType( params: Params$Resource$Typeproviders$Gettype, options: StreamMethodOptions | BodyResponseCallback, @@ -4131,7 +4188,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Gettype; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4187,11 +4247,11 @@ export namespace deploymentmanager_v2beta { insert( params: Params$Resource$Typeproviders$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Typeproviders$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Typeproviders$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4220,7 +4280,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4276,11 +4339,11 @@ export namespace deploymentmanager_v2beta { list( params: Params$Resource$Typeproviders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Typeproviders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Typeproviders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4315,8 +4378,8 @@ export namespace deploymentmanager_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4372,11 +4435,11 @@ export namespace deploymentmanager_v2beta { listTypes( params: Params$Resource$Typeproviders$Listtypes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listTypes( params?: Params$Resource$Typeproviders$Listtypes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listTypes( params: Params$Resource$Typeproviders$Listtypes, options: StreamMethodOptions | BodyResponseCallback, @@ -4411,8 +4474,8 @@ export namespace deploymentmanager_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Listtypes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4470,11 +4533,11 @@ export namespace deploymentmanager_v2beta { patch( params: Params$Resource$Typeproviders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Typeproviders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Typeproviders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4503,7 +4566,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4559,11 +4625,11 @@ export namespace deploymentmanager_v2beta { update( params: Params$Resource$Typeproviders$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Typeproviders$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Typeproviders$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4592,7 +4658,10 @@ export namespace deploymentmanager_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Typeproviders$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4811,11 +4880,11 @@ export namespace deploymentmanager_v2beta { list( params: Params$Resource$Types$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Types$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Types$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4846,8 +4915,8 @@ export namespace deploymentmanager_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Types$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/developerconnect/index.ts b/src/apis/developerconnect/index.ts index dc35bbecd36..b1e9163600d 100644 --- a/src/apis/developerconnect/index.ts +++ b/src/apis/developerconnect/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/developerconnect/package.json b/src/apis/developerconnect/package.json index 410b60f3187..1bc34cbd721 100644 --- a/src/apis/developerconnect/package.json +++ b/src/apis/developerconnect/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/developerconnect/v1.ts b/src/apis/developerconnect/v1.ts index 6c8775ce855..6f8a6c36cea 100644 --- a/src/apis/developerconnect/v1.ts +++ b/src/apis/developerconnect/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1012,11 +1012,11 @@ export namespace developerconnect_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1045,7 +1045,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1098,11 +1101,11 @@ export namespace developerconnect_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1135,8 +1138,8 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1234,11 +1237,11 @@ export namespace developerconnect_v1 { create( params: Params$Resource$Projects$Locations$Accountconnectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Accountconnectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Accountconnectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1267,7 +1270,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Accountconnectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1324,11 +1330,11 @@ export namespace developerconnect_v1 { delete( params: Params$Resource$Projects$Locations$Accountconnectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Accountconnectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Accountconnectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1357,7 +1363,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Accountconnectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1411,11 +1420,11 @@ export namespace developerconnect_v1 { get( params: Params$Resource$Projects$Locations$Accountconnectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Accountconnectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Accountconnectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1444,7 +1453,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Accountconnectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1497,11 +1509,11 @@ export namespace developerconnect_v1 { list( params: Params$Resource$Projects$Locations$Accountconnectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Accountconnectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Accountconnectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1536,8 +1548,8 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Accountconnectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1596,11 +1608,11 @@ export namespace developerconnect_v1 { patch( params: Params$Resource$Projects$Locations$Accountconnectors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Accountconnectors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Accountconnectors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1629,7 +1641,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Accountconnectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1796,11 +1811,11 @@ export namespace developerconnect_v1 { delete( params: Params$Resource$Projects$Locations$Accountconnectors$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Accountconnectors$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Accountconnectors$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1829,7 +1844,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Accountconnectors$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1883,11 +1901,11 @@ export namespace developerconnect_v1 { deleteSelf( params: Params$Resource$Projects$Locations$Accountconnectors$Users$Deleteself, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteSelf( params?: Params$Resource$Projects$Locations$Accountconnectors$Users$Deleteself, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteSelf( params: Params$Resource$Projects$Locations$Accountconnectors$Users$Deleteself, options: StreamMethodOptions | BodyResponseCallback, @@ -1916,7 +1934,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Accountconnectors$Users$Deleteself; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1973,11 +1994,11 @@ export namespace developerconnect_v1 { fetchAccessToken( params: Params$Resource$Projects$Locations$Accountconnectors$Users$Fetchaccesstoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchAccessToken( params?: Params$Resource$Projects$Locations$Accountconnectors$Users$Fetchaccesstoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchAccessToken( params: Params$Resource$Projects$Locations$Accountconnectors$Users$Fetchaccesstoken, options: StreamMethodOptions | BodyResponseCallback, @@ -2012,8 +2033,8 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Accountconnectors$Users$Fetchaccesstoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2069,11 +2090,11 @@ export namespace developerconnect_v1 { fetchSelf( params: Params$Resource$Projects$Locations$Accountconnectors$Users$Fetchself, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchSelf( params?: Params$Resource$Projects$Locations$Accountconnectors$Users$Fetchself, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchSelf( params: Params$Resource$Projects$Locations$Accountconnectors$Users$Fetchself, options: StreamMethodOptions | BodyResponseCallback, @@ -2102,7 +2123,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Accountconnectors$Users$Fetchself; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2159,11 +2183,11 @@ export namespace developerconnect_v1 { list( params: Params$Resource$Projects$Locations$Accountconnectors$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Accountconnectors$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Accountconnectors$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2194,8 +2218,8 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Accountconnectors$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2333,11 +2357,11 @@ export namespace developerconnect_v1 { create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2366,7 +2390,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2422,11 +2449,11 @@ export namespace developerconnect_v1 { delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2455,7 +2482,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2508,11 +2538,13 @@ export namespace developerconnect_v1 { fetchGitHubInstallations( params: Params$Resource$Projects$Locations$Connections$Fetchgithubinstallations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchGitHubInstallations( params?: Params$Resource$Projects$Locations$Connections$Fetchgithubinstallations, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchGitHubInstallations( params: Params$Resource$Projects$Locations$Connections$Fetchgithubinstallations, options: StreamMethodOptions | BodyResponseCallback, @@ -2547,8 +2579,10 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Fetchgithubinstallations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2606,11 +2640,13 @@ export namespace developerconnect_v1 { fetchLinkableGitRepositories( params: Params$Resource$Projects$Locations$Connections$Fetchlinkablegitrepositories, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchLinkableGitRepositories( params?: Params$Resource$Projects$Locations$Connections$Fetchlinkablegitrepositories, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchLinkableGitRepositories( params: Params$Resource$Projects$Locations$Connections$Fetchlinkablegitrepositories, options: StreamMethodOptions | BodyResponseCallback, @@ -2645,8 +2681,10 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Fetchlinkablegitrepositories; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2704,11 +2742,11 @@ export namespace developerconnect_v1 { get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2737,7 +2775,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2790,11 +2831,11 @@ export namespace developerconnect_v1 { list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2827,8 +2868,8 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2884,11 +2925,11 @@ export namespace developerconnect_v1 { patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2917,7 +2958,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2970,11 +3014,11 @@ export namespace developerconnect_v1 { processGitHubEnterpriseWebhook( params: Params$Resource$Projects$Locations$Connections$Processgithubenterprisewebhook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; processGitHubEnterpriseWebhook( params?: Params$Resource$Projects$Locations$Connections$Processgithubenterprisewebhook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; processGitHubEnterpriseWebhook( params: Params$Resource$Projects$Locations$Connections$Processgithubenterprisewebhook, options: StreamMethodOptions | BodyResponseCallback, @@ -3005,7 +3049,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Processgithubenterprisewebhook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3205,11 +3252,11 @@ export namespace developerconnect_v1 { create( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3238,7 +3285,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3295,11 +3345,11 @@ export namespace developerconnect_v1 { delete( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3328,7 +3378,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3382,11 +3435,11 @@ export namespace developerconnect_v1 { fetchGitRefs( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchgitrefs, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchGitRefs( params?: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchgitrefs, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchGitRefs( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchgitrefs, options: StreamMethodOptions | BodyResponseCallback, @@ -3421,8 +3474,8 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchgitrefs; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3479,11 +3532,11 @@ export namespace developerconnect_v1 { fetchReadToken( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchreadtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchReadToken( params?: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchreadtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchReadToken( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchreadtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -3518,8 +3571,8 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchreadtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3576,11 +3629,11 @@ export namespace developerconnect_v1 { fetchReadWriteToken( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchreadwritetoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchReadWriteToken( params?: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchreadwritetoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchReadWriteToken( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchreadwritetoken, options: StreamMethodOptions | BodyResponseCallback, @@ -3615,8 +3668,8 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Fetchreadwritetoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3672,11 +3725,11 @@ export namespace developerconnect_v1 { get( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3707,8 +3760,8 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3762,11 +3815,11 @@ export namespace developerconnect_v1 { list( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3801,8 +3854,8 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3861,11 +3914,11 @@ export namespace developerconnect_v1 { processBitbucketCloudWebhook( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processbitbucketcloudwebhook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; processBitbucketCloudWebhook( params?: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processbitbucketcloudwebhook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; processBitbucketCloudWebhook( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processbitbucketcloudwebhook, options: StreamMethodOptions | BodyResponseCallback, @@ -3896,7 +3949,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processbitbucketcloudwebhook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3953,11 +4009,11 @@ export namespace developerconnect_v1 { processBitbucketDataCenterWebhook( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processbitbucketdatacenterwebhook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; processBitbucketDataCenterWebhook( params?: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processbitbucketdatacenterwebhook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; processBitbucketDataCenterWebhook( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processbitbucketdatacenterwebhook, options: StreamMethodOptions | BodyResponseCallback, @@ -3988,7 +4044,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processbitbucketdatacenterwebhook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4044,11 +4103,11 @@ export namespace developerconnect_v1 { processGitLabEnterpriseWebhook( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processgitlabenterprisewebhook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; processGitLabEnterpriseWebhook( params?: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processgitlabenterprisewebhook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; processGitLabEnterpriseWebhook( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processgitlabenterprisewebhook, options: StreamMethodOptions | BodyResponseCallback, @@ -4079,7 +4138,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processgitlabenterprisewebhook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4135,11 +4197,11 @@ export namespace developerconnect_v1 { processGitLabWebhook( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processgitlabwebhook, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; processGitLabWebhook( params?: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processgitlabwebhook, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; processGitLabWebhook( params: Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processgitlabwebhook, options: StreamMethodOptions | BodyResponseCallback, @@ -4168,7 +4230,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Gitrepositorylinks$Processgitlabwebhook; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4397,11 +4462,11 @@ export namespace developerconnect_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4430,7 +4495,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4483,11 +4551,11 @@ export namespace developerconnect_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4516,7 +4584,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4569,11 +4640,11 @@ export namespace developerconnect_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4602,7 +4673,10 @@ export namespace developerconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4655,11 +4729,11 @@ export namespace developerconnect_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4692,8 +4766,8 @@ export namespace developerconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dfareporting/index.ts b/src/apis/dfareporting/index.ts index a799b65e415..1de217115a1 100644 --- a/src/apis/dfareporting/index.ts +++ b/src/apis/dfareporting/index.ts @@ -75,7 +75,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/dfareporting/package.json b/src/apis/dfareporting/package.json index 7f45de20369..58702c55516 100644 --- a/src/apis/dfareporting/package.json +++ b/src/apis/dfareporting/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/dfareporting/v3.3.ts b/src/apis/dfareporting/v3.3.ts index cf46384f7be..f4e0f59b3e9 100644 --- a/src/apis/dfareporting/v3.3.ts +++ b/src/apis/dfareporting/v3.3.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -6497,11 +6497,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Accountactiveadsummaries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountactiveadsummaries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountactiveadsummaries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6534,8 +6534,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountactiveadsummaries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6654,11 +6654,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Accountpermissiongroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountpermissiongroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountpermissiongroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6691,8 +6691,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissiongroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6789,11 +6789,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Accountpermissiongroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountpermissiongroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accountpermissiongroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6828,8 +6828,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissiongroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6960,11 +6960,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Accountpermissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountpermissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountpermissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6995,8 +6995,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7093,11 +7093,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Accountpermissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountpermissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accountpermissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7132,8 +7132,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7277,11 +7277,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7310,7 +7310,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7421,11 +7421,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7458,8 +7458,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7599,11 +7599,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7632,7 +7632,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7770,11 +7770,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7803,7 +7803,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7992,11 +7992,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Accountuserprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountuserprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountuserprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8027,8 +8027,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8162,11 +8162,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Accountuserprofiles$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accountuserprofiles$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accountuserprofiles$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8197,8 +8197,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8314,11 +8314,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Accountuserprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountuserprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accountuserprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8353,8 +8353,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8492,11 +8492,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Accountuserprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accountuserprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accountuserprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8527,8 +8527,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8662,11 +8662,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Accountuserprofiles$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accountuserprofiles$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accountuserprofiles$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8697,8 +8697,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8936,11 +8936,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Ads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Ads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Ads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8969,7 +8969,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9147,11 +9147,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Ads$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Ads$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Ads$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9180,7 +9180,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9322,11 +9322,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Ads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Ads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Ads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9355,7 +9355,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9535,11 +9535,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Ads$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Ads$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Ads$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9568,7 +9568,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9746,11 +9746,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Ads$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Ads$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Ads$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9779,7 +9779,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10023,11 +10023,11 @@ export namespace dfareporting_v3_3 { delete( params: Params$Resource$Advertisergroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisergroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisergroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10054,7 +10054,7 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10155,11 +10155,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Advertisergroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisergroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisergroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10188,7 +10188,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10298,11 +10298,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Advertisergroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Advertisergroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Advertisergroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10331,7 +10331,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10441,11 +10441,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Advertisergroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisergroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisergroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10480,8 +10480,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10595,11 +10595,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Advertisergroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisergroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisergroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10628,7 +10628,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10738,11 +10738,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Advertisergroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Advertisergroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Advertisergroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10771,7 +10771,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10976,11 +10976,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Advertiserlandingpages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertiserlandingpages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertiserlandingpages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11009,7 +11009,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11125,11 +11125,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Advertiserlandingpages$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Advertiserlandingpages$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Advertiserlandingpages$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -11158,7 +11158,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11276,11 +11276,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Advertiserlandingpages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertiserlandingpages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertiserlandingpages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11315,8 +11315,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11436,11 +11436,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Advertiserlandingpages$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertiserlandingpages$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertiserlandingpages$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11469,7 +11469,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11585,11 +11585,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Advertiserlandingpages$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Advertiserlandingpages$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Advertiserlandingpages$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11618,7 +11618,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11836,11 +11836,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11869,7 +11869,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12000,11 +12000,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Advertisers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Advertisers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Advertisers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -12033,7 +12033,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12155,11 +12155,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12192,8 +12192,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12326,11 +12326,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12359,7 +12359,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12491,11 +12491,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Advertisers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Advertisers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Advertisers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12524,7 +12524,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12733,11 +12733,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Browsers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Browsers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Browsers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12770,8 +12770,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Browsers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12891,11 +12891,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Campaigncreativeassociations$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Campaigncreativeassociations$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Campaigncreativeassociations$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -12930,8 +12930,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigncreativeassociations$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13037,11 +13037,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Campaigncreativeassociations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Campaigncreativeassociations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Campaigncreativeassociations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13076,8 +13076,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigncreativeassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13251,11 +13251,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Campaigns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Campaigns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Campaigns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13284,7 +13284,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13441,11 +13441,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Campaigns$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Campaigns$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Campaigns$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -13474,7 +13474,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13596,11 +13596,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Campaigns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Campaigns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Campaigns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13633,8 +13633,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13792,11 +13792,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Campaigns$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Campaigns$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Campaigns$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13825,7 +13825,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13981,11 +13981,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Campaigns$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Campaigns$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Campaigns$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -14014,7 +14014,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14236,11 +14236,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Changelogs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Changelogs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Changelogs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14269,7 +14269,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changelogs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14386,11 +14386,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Changelogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Changelogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Changelogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14423,8 +14423,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changelogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14591,11 +14591,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Cities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14626,8 +14626,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14755,11 +14755,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Connectiontypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Connectiontypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Connectiontypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14788,7 +14788,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Connectiontypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14885,11 +14885,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Connectiontypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Connectiontypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Connectiontypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14924,8 +14924,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Connectiontypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15044,11 +15044,11 @@ export namespace dfareporting_v3_3 { delete( params: Params$Resource$Contentcategories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Contentcategories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Contentcategories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15075,7 +15075,7 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15176,11 +15176,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Contentcategories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Contentcategories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Contentcategories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15209,7 +15209,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15319,11 +15319,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Contentcategories$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Contentcategories$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Contentcategories$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -15352,7 +15352,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15462,11 +15462,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Contentcategories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Contentcategories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Contentcategories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15501,8 +15501,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15616,11 +15616,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Contentcategories$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Contentcategories$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Contentcategories$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15649,7 +15649,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15759,11 +15759,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Contentcategories$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Contentcategories$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Contentcategories$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -15792,7 +15792,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16001,11 +16001,11 @@ export namespace dfareporting_v3_3 { batchinsert( params: Params$Resource$Conversions$Batchinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchinsert( params?: Params$Resource$Conversions$Batchinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchinsert( params: Params$Resource$Conversions$Batchinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -16040,8 +16040,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversions$Batchinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16151,11 +16151,11 @@ export namespace dfareporting_v3_3 { batchupdate( params: Params$Resource$Conversions$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchupdate( params?: Params$Resource$Conversions$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchupdate( params: Params$Resource$Conversions$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -16190,8 +16190,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversions$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16327,11 +16327,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Countries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Countries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Countries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16360,7 +16360,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Countries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16456,11 +16456,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Countries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Countries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Countries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16493,8 +16493,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Countries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16638,11 +16638,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Creativeassets$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativeassets$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativeassets$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -16675,8 +16675,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativeassets$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16812,11 +16812,11 @@ export namespace dfareporting_v3_3 { delete( params: Params$Resource$Creativefields$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Creativefields$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Creativefields$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16843,7 +16843,7 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16947,11 +16947,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Creativefields$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creativefields$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creativefields$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16980,7 +16980,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17096,11 +17096,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Creativefields$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativefields$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativefields$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -17129,7 +17129,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17241,11 +17241,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Creativefields$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creativefields$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creativefields$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17280,8 +17280,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17399,11 +17399,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Creativefields$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creativefields$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creativefields$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17432,7 +17432,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17548,11 +17548,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Creativefields$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creativefields$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creativefields$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -17581,7 +17581,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17781,11 +17781,11 @@ export namespace dfareporting_v3_3 { delete( params: Params$Resource$Creativefieldvalues$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Creativefieldvalues$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Creativefieldvalues$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17812,7 +17812,7 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17914,11 +17914,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Creativefieldvalues$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creativefieldvalues$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creativefieldvalues$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17949,8 +17949,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18060,11 +18060,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Creativefieldvalues$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativefieldvalues$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativefieldvalues$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -18095,8 +18095,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18208,11 +18208,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Creativefieldvalues$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creativefieldvalues$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creativefieldvalues$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18247,8 +18247,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18362,11 +18362,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Creativefieldvalues$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creativefieldvalues$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creativefieldvalues$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18397,8 +18397,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18508,11 +18508,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Creativefieldvalues$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creativefieldvalues$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creativefieldvalues$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -18543,8 +18543,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18774,11 +18774,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Creativegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creativegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creativegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18807,7 +18807,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18925,11 +18925,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Creativegroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativegroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativegroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -18958,7 +18958,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19072,11 +19072,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Creativegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creativegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creativegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19111,8 +19111,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19232,11 +19232,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Creativegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creativegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creativegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19265,7 +19265,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19383,11 +19383,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Creativegroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creativegroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creativegroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -19416,7 +19416,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19675,11 +19675,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19708,7 +19708,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19937,11 +19937,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creatives$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -19970,7 +19970,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20098,11 +20098,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20135,8 +20135,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20366,11 +20366,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Creatives$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creatives$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creatives$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20399,7 +20399,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20627,11 +20627,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Creatives$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creatives$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creatives$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -20660,7 +20660,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20898,11 +20898,11 @@ export namespace dfareporting_v3_3 { query( params: Params$Resource$Dimensionvalues$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Dimensionvalues$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Dimensionvalues$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -20933,8 +20933,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dimensionvalues$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21068,11 +21068,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Directorysites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Directorysites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Directorysites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21101,7 +21101,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Directorysites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21221,11 +21221,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Directorysites$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Directorysites$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Directorysites$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -21254,7 +21254,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Directorysites$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21374,11 +21374,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Directorysites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Directorysites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Directorysites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21413,8 +21413,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Directorysites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21593,11 +21593,11 @@ export namespace dfareporting_v3_3 { delete( params: Params$Resource$Dynamictargetingkeys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Dynamictargetingkeys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Dynamictargetingkeys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21624,7 +21624,7 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dynamictargetingkeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21734,11 +21734,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Dynamictargetingkeys$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Dynamictargetingkeys$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Dynamictargetingkeys$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -21769,8 +21769,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dynamictargetingkeys$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21875,11 +21875,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Dynamictargetingkeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Dynamictargetingkeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Dynamictargetingkeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21914,8 +21914,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dynamictargetingkeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22072,11 +22072,11 @@ export namespace dfareporting_v3_3 { delete( params: Params$Resource$Eventtags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Eventtags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Eventtags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22103,7 +22103,7 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22217,11 +22217,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Eventtags$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Eventtags$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Eventtags$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22250,7 +22250,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22387,11 +22387,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Eventtags$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Eventtags$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Eventtags$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -22420,7 +22420,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22535,11 +22535,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Eventtags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Eventtags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Eventtags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22572,8 +22572,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22711,11 +22711,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Eventtags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Eventtags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Eventtags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22744,7 +22744,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22880,11 +22880,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Eventtags$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Eventtags$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Eventtags$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -22913,7 +22913,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23129,11 +23129,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Files$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Files$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Files$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23162,7 +23162,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23269,11 +23269,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23302,7 +23302,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23437,11 +23437,11 @@ export namespace dfareporting_v3_3 { delete( params: Params$Resource$Floodlightactivities$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Floodlightactivities$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Floodlightactivities$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23468,7 +23468,7 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23568,11 +23568,11 @@ export namespace dfareporting_v3_3 { generatetag( params: Params$Resource$Floodlightactivities$Generatetag, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generatetag( params?: Params$Resource$Floodlightactivities$Generatetag, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generatetag( params: Params$Resource$Floodlightactivities$Generatetag, options: StreamMethodOptions | BodyResponseCallback, @@ -23607,8 +23607,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Generatetag; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23735,11 +23735,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Floodlightactivities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightactivities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightactivities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23770,8 +23770,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23929,11 +23929,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Floodlightactivities$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Floodlightactivities$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Floodlightactivities$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -23964,8 +23964,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24089,11 +24089,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Floodlightactivities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightactivities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Floodlightactivities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24128,8 +24128,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24291,11 +24291,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Floodlightactivities$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightactivities$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightactivities$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24326,8 +24326,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24485,11 +24485,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Floodlightactivities$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Floodlightactivities$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Floodlightactivities$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -24520,8 +24520,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24770,11 +24770,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Floodlightactivitygroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightactivitygroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightactivitygroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24807,8 +24807,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24934,11 +24934,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Floodlightactivitygroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Floodlightactivitygroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Floodlightactivitygroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -24973,8 +24973,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25090,11 +25090,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Floodlightactivitygroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightactivitygroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Floodlightactivitygroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25129,8 +25129,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25260,11 +25260,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Floodlightactivitygroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightactivitygroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightactivitygroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25297,8 +25297,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25424,11 +25424,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Floodlightactivitygroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Floodlightactivitygroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Floodlightactivitygroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -25463,8 +25463,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25681,11 +25681,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Floodlightconfigurations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightconfigurations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightconfigurations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25718,8 +25718,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25818,11 +25818,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Floodlightconfigurations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightconfigurations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Floodlightconfigurations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25857,8 +25857,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26000,11 +26000,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Floodlightconfigurations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightconfigurations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightconfigurations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26037,8 +26037,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26176,11 +26176,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Floodlightconfigurations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Floodlightconfigurations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Floodlightconfigurations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -26215,8 +26215,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26393,11 +26393,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Inventoryitems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inventoryitems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inventoryitems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26426,7 +26426,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventoryitems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26544,11 +26544,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Inventoryitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventoryitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inventoryitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26583,8 +26583,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventoryitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26751,11 +26751,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Languages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Languages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Languages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26788,8 +26788,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Languages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26898,11 +26898,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Metros$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Metros$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Metros$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26933,8 +26933,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Metros$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27048,11 +27048,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Mobileapps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Mobileapps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Mobileapps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27081,7 +27081,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobileapps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27188,11 +27188,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Mobileapps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Mobileapps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Mobileapps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27225,8 +27225,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobileapps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27370,11 +27370,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Mobilecarriers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Mobilecarriers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Mobilecarriers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27403,7 +27403,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobilecarriers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27500,11 +27500,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Mobilecarriers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Mobilecarriers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Mobilecarriers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27539,8 +27539,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobilecarriers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27668,11 +27668,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Operatingsystems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operatingsystems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operatingsystems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27701,7 +27701,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27798,11 +27798,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Operatingsystems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operatingsystems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operatingsystems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27837,8 +27837,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27969,11 +27969,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Operatingsystemversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operatingsystemversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operatingsystemversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28006,8 +28006,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystemversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28104,11 +28104,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Operatingsystemversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operatingsystemversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operatingsystemversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28143,8 +28143,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystemversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28288,11 +28288,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Orderdocuments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Orderdocuments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Orderdocuments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28321,7 +28321,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orderdocuments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28439,11 +28439,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Orderdocuments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Orderdocuments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Orderdocuments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28478,8 +28478,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orderdocuments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28668,11 +28668,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Orders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Orders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Orders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28701,7 +28701,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28814,11 +28814,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Orders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Orders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Orders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28849,8 +28849,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29032,11 +29032,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Placementgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Placementgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Placementgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29065,7 +29065,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29219,11 +29219,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Placementgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Placementgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Placementgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -29252,7 +29252,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29388,11 +29388,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Placementgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Placementgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Placementgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29427,8 +29427,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29584,11 +29584,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Placementgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Placementgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Placementgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -29617,7 +29617,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29771,11 +29771,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Placementgroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Placementgroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Placementgroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -29804,7 +29804,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30049,11 +30049,11 @@ export namespace dfareporting_v3_3 { generatetags( params: Params$Resource$Placements$Generatetags, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generatetags( params?: Params$Resource$Placements$Generatetags, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generatetags( params: Params$Resource$Placements$Generatetags, options: StreamMethodOptions | BodyResponseCallback, @@ -30088,8 +30088,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Generatetags; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30229,11 +30229,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Placements$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Placements$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Placements$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30262,7 +30262,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30445,11 +30445,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Placements$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Placements$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Placements$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -30478,7 +30478,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30619,11 +30619,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Placements$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Placements$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Placements$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30656,8 +30656,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30841,11 +30841,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Placements$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Placements$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Placements$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -30874,7 +30874,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31056,11 +31056,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Placements$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Placements$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Placements$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -31089,7 +31089,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31351,11 +31351,11 @@ export namespace dfareporting_v3_3 { delete( params: Params$Resource$Placementstrategies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Placementstrategies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Placementstrategies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31382,7 +31382,7 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31483,11 +31483,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Placementstrategies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Placementstrategies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Placementstrategies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31518,8 +31518,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31629,11 +31629,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Placementstrategies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Placementstrategies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Placementstrategies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -31664,8 +31664,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31775,11 +31775,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Placementstrategies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Placementstrategies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Placementstrategies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31814,8 +31814,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31929,11 +31929,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Placementstrategies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Placementstrategies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Placementstrategies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31964,8 +31964,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32075,11 +32075,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Placementstrategies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Placementstrategies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Placementstrategies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -32110,8 +32110,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32312,11 +32312,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Platformtypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Platformtypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Platformtypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32345,7 +32345,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platformtypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32442,11 +32442,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Platformtypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platformtypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platformtypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32481,8 +32481,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platformtypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32610,11 +32610,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Postalcodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Postalcodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Postalcodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32643,7 +32643,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Postalcodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32739,11 +32739,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Postalcodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Postalcodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Postalcodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32776,8 +32776,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Postalcodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32919,11 +32919,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32952,7 +32952,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33063,11 +33063,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Projects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33100,8 +33100,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33248,11 +33248,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Regions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33283,8 +33283,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33406,11 +33406,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Remarketinglists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Remarketinglists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Remarketinglists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33439,7 +33439,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33567,11 +33567,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Remarketinglists$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Remarketinglists$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Remarketinglists$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -33600,7 +33600,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33714,11 +33714,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Remarketinglists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Remarketinglists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Remarketinglists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33753,8 +33753,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33886,11 +33886,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Remarketinglists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Remarketinglists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Remarketinglists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -33919,7 +33919,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34047,11 +34047,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Remarketinglists$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Remarketinglists$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Remarketinglists$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -34080,7 +34080,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34279,11 +34279,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Remarketinglistshares$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Remarketinglistshares$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Remarketinglistshares$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34316,8 +34316,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglistshares$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34429,11 +34429,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Remarketinglistshares$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Remarketinglistshares$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Remarketinglistshares$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -34466,8 +34466,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglistshares$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34577,11 +34577,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Remarketinglistshares$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Remarketinglistshares$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Remarketinglistshares$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -34614,8 +34614,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglistshares$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34761,11 +34761,11 @@ export namespace dfareporting_v3_3 { delete( params: Params$Resource$Reports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Reports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Reports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34792,7 +34792,7 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34906,11 +34906,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34939,7 +34939,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35076,11 +35076,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Reports$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Reports$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Reports$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -35109,7 +35109,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35216,11 +35216,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35249,7 +35249,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35387,11 +35387,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Reports$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Reports$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Reports$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -35420,7 +35420,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35528,11 +35528,11 @@ export namespace dfareporting_v3_3 { run( params: Params$Resource$Reports$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Reports$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Reports$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -35561,7 +35561,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35700,11 +35700,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Reports$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Reports$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Reports$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -35733,7 +35733,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35967,11 +35967,11 @@ export namespace dfareporting_v3_3 { query( params: Params$Resource$Reports$Compatiblefields$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Reports$Compatiblefields$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Reports$Compatiblefields$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -36000,7 +36000,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Compatiblefields$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36129,11 +36129,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Reports$Files$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reports$Files$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reports$Files$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36162,7 +36162,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Files$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36271,11 +36271,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Reports$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reports$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reports$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36304,7 +36304,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36464,11 +36464,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Sites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36497,7 +36497,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36623,11 +36623,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Sites$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sites$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sites$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -36656,7 +36656,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36782,11 +36782,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36817,8 +36817,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36946,11 +36946,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Sites$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Sites$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Sites$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -36979,7 +36979,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37105,11 +37105,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Sites$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Sites$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Sites$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -37138,7 +37138,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37359,11 +37359,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Sizes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sizes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sizes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37392,7 +37392,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37502,11 +37502,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Sizes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sizes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sizes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -37535,7 +37535,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37638,11 +37638,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Sizes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sizes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sizes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37673,8 +37673,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sizes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37825,11 +37825,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Subaccounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Subaccounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Subaccounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37858,7 +37858,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37969,11 +37969,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Subaccounts$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Subaccounts$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Subaccounts$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -38002,7 +38002,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38112,11 +38112,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Subaccounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Subaccounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Subaccounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38149,8 +38149,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38263,11 +38263,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Subaccounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Subaccounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Subaccounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -38296,7 +38296,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38408,11 +38408,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Subaccounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Subaccounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Subaccounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -38441,7 +38441,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38638,11 +38638,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Targetableremarketinglists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetableremarketinglists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetableremarketinglists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38675,8 +38675,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetableremarketinglists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38788,11 +38788,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Targetableremarketinglists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetableremarketinglists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetableremarketinglists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38827,8 +38827,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetableremarketinglists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38994,11 +38994,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Targetingtemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetingtemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetingtemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39029,8 +39029,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39158,11 +39158,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Targetingtemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetingtemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetingtemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -39193,8 +39193,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39306,11 +39306,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Targetingtemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetingtemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetingtemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -39345,8 +39345,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39478,11 +39478,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Targetingtemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targetingtemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targetingtemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -39513,8 +39513,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39642,11 +39642,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Targetingtemplates$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Targetingtemplates$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Targetingtemplates$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -39677,8 +39677,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39879,11 +39879,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Userprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39912,7 +39912,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40009,11 +40009,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Userprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40042,7 +40042,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40158,11 +40158,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Userrolepermissiongroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userrolepermissiongroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userrolepermissiongroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40195,8 +40195,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissiongroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40293,11 +40293,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Userrolepermissiongroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userrolepermissiongroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userrolepermissiongroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40332,8 +40332,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissiongroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40463,11 +40463,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Userrolepermissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userrolepermissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userrolepermissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40498,8 +40498,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40598,11 +40598,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Userrolepermissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userrolepermissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userrolepermissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40637,8 +40637,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40763,11 +40763,11 @@ export namespace dfareporting_v3_3 { delete( params: Params$Resource$Userroles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Userroles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Userroles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -40794,7 +40794,7 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40898,11 +40898,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Userroles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userroles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userroles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40931,7 +40931,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41048,11 +41048,11 @@ export namespace dfareporting_v3_3 { insert( params: Params$Resource$Userroles$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Userroles$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Userroles$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -41081,7 +41081,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41193,11 +41193,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Userroles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userroles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userroles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41230,8 +41230,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41349,11 +41349,11 @@ export namespace dfareporting_v3_3 { patch( params: Params$Resource$Userroles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Userroles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Userroles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -41382,7 +41382,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41498,11 +41498,11 @@ export namespace dfareporting_v3_3 { update( params: Params$Resource$Userroles$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Userroles$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Userroles$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -41531,7 +41531,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41734,11 +41734,11 @@ export namespace dfareporting_v3_3 { get( params: Params$Resource$Videoformats$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Videoformats$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Videoformats$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -41767,7 +41767,7 @@ export namespace dfareporting_v3_3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videoformats$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41863,11 +41863,11 @@ export namespace dfareporting_v3_3 { list( params: Params$Resource$Videoformats$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Videoformats$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Videoformats$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41900,8 +41900,8 @@ export namespace dfareporting_v3_3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videoformats$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dfareporting/v3.4.ts b/src/apis/dfareporting/v3.4.ts index 438c3cc57bc..16a95994c68 100644 --- a/src/apis/dfareporting/v3.4.ts +++ b/src/apis/dfareporting/v3.4.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -6970,11 +6970,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Accountactiveadsummaries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountactiveadsummaries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountactiveadsummaries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7007,8 +7007,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountactiveadsummaries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7127,11 +7127,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Accountpermissiongroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountpermissiongroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountpermissiongroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7164,8 +7164,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissiongroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7262,11 +7262,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Accountpermissiongroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountpermissiongroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accountpermissiongroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7301,8 +7301,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissiongroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7433,11 +7433,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Accountpermissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountpermissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountpermissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7468,8 +7468,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7566,11 +7566,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Accountpermissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountpermissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accountpermissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7605,8 +7605,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7750,11 +7750,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7783,7 +7783,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7894,11 +7894,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7931,8 +7931,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8072,11 +8072,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8105,7 +8105,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8243,11 +8243,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8276,7 +8276,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8465,11 +8465,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Accountuserprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountuserprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountuserprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8500,8 +8500,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8635,11 +8635,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Accountuserprofiles$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accountuserprofiles$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accountuserprofiles$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8670,8 +8670,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8787,11 +8787,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Accountuserprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountuserprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accountuserprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8826,8 +8826,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8965,11 +8965,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Accountuserprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accountuserprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accountuserprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9000,8 +9000,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9135,11 +9135,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Accountuserprofiles$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accountuserprofiles$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accountuserprofiles$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9170,8 +9170,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9409,11 +9409,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Ads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Ads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Ads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9442,7 +9442,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9620,11 +9620,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Ads$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Ads$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Ads$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9653,7 +9653,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9795,11 +9795,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Ads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Ads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Ads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9828,7 +9828,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10008,11 +10008,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Ads$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Ads$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Ads$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10041,7 +10041,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10219,11 +10219,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Ads$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Ads$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Ads$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10252,7 +10252,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10496,11 +10496,11 @@ export namespace dfareporting_v3_4 { delete( params: Params$Resource$Advertisergroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisergroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisergroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10527,7 +10527,7 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10628,11 +10628,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Advertisergroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisergroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisergroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10661,7 +10661,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10771,11 +10771,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Advertisergroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Advertisergroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Advertisergroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10804,7 +10804,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10914,11 +10914,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Advertisergroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisergroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisergroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10953,8 +10953,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11068,11 +11068,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Advertisergroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisergroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisergroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11101,7 +11101,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11211,11 +11211,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Advertisergroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Advertisergroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Advertisergroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11244,7 +11244,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11449,11 +11449,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Advertiserlandingpages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertiserlandingpages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertiserlandingpages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11482,7 +11482,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11598,11 +11598,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Advertiserlandingpages$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Advertiserlandingpages$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Advertiserlandingpages$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -11631,7 +11631,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11749,11 +11749,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Advertiserlandingpages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertiserlandingpages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertiserlandingpages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11788,8 +11788,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11909,11 +11909,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Advertiserlandingpages$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertiserlandingpages$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertiserlandingpages$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11942,7 +11942,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12058,11 +12058,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Advertiserlandingpages$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Advertiserlandingpages$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Advertiserlandingpages$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12091,7 +12091,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12309,11 +12309,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12342,7 +12342,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12473,11 +12473,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Advertisers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Advertisers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Advertisers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -12506,7 +12506,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12628,11 +12628,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12665,8 +12665,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12799,11 +12799,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12832,7 +12832,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12964,11 +12964,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Advertisers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Advertisers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Advertisers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12997,7 +12997,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13206,11 +13206,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Browsers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Browsers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Browsers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13243,8 +13243,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Browsers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13364,11 +13364,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Campaigncreativeassociations$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Campaigncreativeassociations$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Campaigncreativeassociations$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -13403,8 +13403,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigncreativeassociations$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13510,11 +13510,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Campaigncreativeassociations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Campaigncreativeassociations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Campaigncreativeassociations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13549,8 +13549,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigncreativeassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13724,11 +13724,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Campaigns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Campaigns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Campaigns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13757,7 +13757,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13914,11 +13914,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Campaigns$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Campaigns$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Campaigns$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -13947,7 +13947,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14069,11 +14069,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Campaigns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Campaigns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Campaigns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14106,8 +14106,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14265,11 +14265,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Campaigns$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Campaigns$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Campaigns$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14298,7 +14298,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14454,11 +14454,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Campaigns$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Campaigns$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Campaigns$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -14487,7 +14487,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14709,11 +14709,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Changelogs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Changelogs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Changelogs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14742,7 +14742,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changelogs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14859,11 +14859,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Changelogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Changelogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Changelogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14896,8 +14896,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changelogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15064,11 +15064,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Cities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15099,8 +15099,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15228,11 +15228,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Connectiontypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Connectiontypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Connectiontypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15261,7 +15261,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Connectiontypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15358,11 +15358,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Connectiontypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Connectiontypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Connectiontypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15397,8 +15397,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Connectiontypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15517,11 +15517,11 @@ export namespace dfareporting_v3_4 { delete( params: Params$Resource$Contentcategories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Contentcategories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Contentcategories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15548,7 +15548,7 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15649,11 +15649,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Contentcategories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Contentcategories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Contentcategories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15682,7 +15682,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15792,11 +15792,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Contentcategories$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Contentcategories$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Contentcategories$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -15825,7 +15825,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15935,11 +15935,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Contentcategories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Contentcategories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Contentcategories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15974,8 +15974,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16089,11 +16089,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Contentcategories$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Contentcategories$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Contentcategories$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16122,7 +16122,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16232,11 +16232,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Contentcategories$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Contentcategories$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Contentcategories$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -16265,7 +16265,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16474,11 +16474,11 @@ export namespace dfareporting_v3_4 { batchinsert( params: Params$Resource$Conversions$Batchinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchinsert( params?: Params$Resource$Conversions$Batchinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchinsert( params: Params$Resource$Conversions$Batchinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -16513,8 +16513,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversions$Batchinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16624,11 +16624,11 @@ export namespace dfareporting_v3_4 { batchupdate( params: Params$Resource$Conversions$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchupdate( params?: Params$Resource$Conversions$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchupdate( params: Params$Resource$Conversions$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -16663,8 +16663,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversions$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16800,11 +16800,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Countries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Countries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Countries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16833,7 +16833,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Countries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16929,11 +16929,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Countries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Countries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Countries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16966,8 +16966,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Countries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17119,11 +17119,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Creativeassets$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativeassets$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativeassets$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -17156,8 +17156,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativeassets$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17293,11 +17293,11 @@ export namespace dfareporting_v3_4 { delete( params: Params$Resource$Creativefields$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Creativefields$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Creativefields$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17324,7 +17324,7 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17428,11 +17428,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Creativefields$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creativefields$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creativefields$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17461,7 +17461,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17577,11 +17577,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Creativefields$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativefields$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativefields$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -17610,7 +17610,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17722,11 +17722,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Creativefields$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creativefields$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creativefields$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17761,8 +17761,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17880,11 +17880,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Creativefields$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creativefields$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creativefields$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17913,7 +17913,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18029,11 +18029,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Creativefields$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creativefields$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creativefields$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -18062,7 +18062,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18262,11 +18262,11 @@ export namespace dfareporting_v3_4 { delete( params: Params$Resource$Creativefieldvalues$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Creativefieldvalues$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Creativefieldvalues$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18293,7 +18293,7 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18395,11 +18395,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Creativefieldvalues$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creativefieldvalues$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creativefieldvalues$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18430,8 +18430,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18541,11 +18541,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Creativefieldvalues$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativefieldvalues$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativefieldvalues$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -18576,8 +18576,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18689,11 +18689,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Creativefieldvalues$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creativefieldvalues$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creativefieldvalues$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18728,8 +18728,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18843,11 +18843,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Creativefieldvalues$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creativefieldvalues$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creativefieldvalues$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18878,8 +18878,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18989,11 +18989,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Creativefieldvalues$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creativefieldvalues$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creativefieldvalues$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -19024,8 +19024,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19255,11 +19255,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Creativegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creativegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creativegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19288,7 +19288,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19406,11 +19406,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Creativegroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativegroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativegroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -19439,7 +19439,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19553,11 +19553,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Creativegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creativegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creativegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19592,8 +19592,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19713,11 +19713,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Creativegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creativegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creativegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19746,7 +19746,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19864,11 +19864,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Creativegroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creativegroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creativegroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -19897,7 +19897,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20157,11 +20157,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20190,7 +20190,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20421,11 +20421,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creatives$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -20454,7 +20454,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20582,11 +20582,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20619,8 +20619,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20852,11 +20852,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Creatives$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creatives$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creatives$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20885,7 +20885,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21115,11 +21115,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Creatives$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creatives$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creatives$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -21148,7 +21148,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21378,11 +21378,11 @@ export namespace dfareporting_v3_4 { batchinsert( params: Params$Resource$Customevents$Batchinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchinsert( params?: Params$Resource$Customevents$Batchinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchinsert( params: Params$Resource$Customevents$Batchinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -21417,8 +21417,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customevents$Batchinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21555,11 +21555,11 @@ export namespace dfareporting_v3_4 { query( params: Params$Resource$Dimensionvalues$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Dimensionvalues$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Dimensionvalues$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -21590,8 +21590,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dimensionvalues$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21724,11 +21724,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Directorysites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Directorysites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Directorysites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21757,7 +21757,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Directorysites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21875,11 +21875,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Directorysites$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Directorysites$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Directorysites$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -21908,7 +21908,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Directorysites$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22028,11 +22028,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Directorysites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Directorysites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Directorysites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22067,8 +22067,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Directorysites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22247,11 +22247,11 @@ export namespace dfareporting_v3_4 { delete( params: Params$Resource$Dynamictargetingkeys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Dynamictargetingkeys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Dynamictargetingkeys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22278,7 +22278,7 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dynamictargetingkeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22388,11 +22388,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Dynamictargetingkeys$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Dynamictargetingkeys$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Dynamictargetingkeys$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -22423,8 +22423,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dynamictargetingkeys$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22529,11 +22529,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Dynamictargetingkeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Dynamictargetingkeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Dynamictargetingkeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22568,8 +22568,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dynamictargetingkeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22726,11 +22726,11 @@ export namespace dfareporting_v3_4 { delete( params: Params$Resource$Eventtags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Eventtags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Eventtags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22757,7 +22757,7 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22871,11 +22871,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Eventtags$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Eventtags$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Eventtags$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22904,7 +22904,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23041,11 +23041,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Eventtags$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Eventtags$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Eventtags$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -23074,7 +23074,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23189,11 +23189,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Eventtags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Eventtags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Eventtags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23226,8 +23226,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23365,11 +23365,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Eventtags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Eventtags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Eventtags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23398,7 +23398,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23534,11 +23534,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Eventtags$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Eventtags$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Eventtags$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -23567,7 +23567,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23783,11 +23783,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Files$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Files$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Files$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23816,7 +23816,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23923,11 +23923,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23956,7 +23956,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24091,11 +24091,11 @@ export namespace dfareporting_v3_4 { delete( params: Params$Resource$Floodlightactivities$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Floodlightactivities$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Floodlightactivities$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24122,7 +24122,7 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24222,11 +24222,11 @@ export namespace dfareporting_v3_4 { generatetag( params: Params$Resource$Floodlightactivities$Generatetag, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generatetag( params?: Params$Resource$Floodlightactivities$Generatetag, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generatetag( params: Params$Resource$Floodlightactivities$Generatetag, options: StreamMethodOptions | BodyResponseCallback, @@ -24261,8 +24261,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Generatetag; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24390,11 +24390,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Floodlightactivities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightactivities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightactivities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24425,8 +24425,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24586,11 +24586,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Floodlightactivities$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Floodlightactivities$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Floodlightactivities$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -24621,8 +24621,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24746,11 +24746,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Floodlightactivities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightactivities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Floodlightactivities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24785,8 +24785,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24950,11 +24950,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Floodlightactivities$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightactivities$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightactivities$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24985,8 +24985,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25146,11 +25146,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Floodlightactivities$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Floodlightactivities$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Floodlightactivities$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -25181,8 +25181,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25431,11 +25431,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Floodlightactivitygroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightactivitygroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightactivitygroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25468,8 +25468,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25595,11 +25595,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Floodlightactivitygroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Floodlightactivitygroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Floodlightactivitygroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -25634,8 +25634,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25751,11 +25751,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Floodlightactivitygroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightactivitygroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Floodlightactivitygroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25790,8 +25790,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25921,11 +25921,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Floodlightactivitygroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightactivitygroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightactivitygroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25958,8 +25958,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26085,11 +26085,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Floodlightactivitygroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Floodlightactivitygroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Floodlightactivitygroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -26124,8 +26124,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26342,11 +26342,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Floodlightconfigurations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightconfigurations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightconfigurations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26379,8 +26379,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26479,11 +26479,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Floodlightconfigurations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightconfigurations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Floodlightconfigurations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26518,8 +26518,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26661,11 +26661,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Floodlightconfigurations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightconfigurations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightconfigurations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26698,8 +26698,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26837,11 +26837,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Floodlightconfigurations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Floodlightconfigurations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Floodlightconfigurations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -26876,8 +26876,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27054,11 +27054,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Inventoryitems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inventoryitems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inventoryitems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27087,7 +27087,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventoryitems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27205,11 +27205,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Inventoryitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventoryitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inventoryitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27244,8 +27244,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventoryitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27412,11 +27412,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Languages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Languages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Languages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27449,8 +27449,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Languages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27559,11 +27559,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Metros$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Metros$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Metros$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27594,8 +27594,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Metros$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27709,11 +27709,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Mobileapps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Mobileapps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Mobileapps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27742,7 +27742,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobileapps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27849,11 +27849,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Mobileapps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Mobileapps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Mobileapps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27886,8 +27886,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobileapps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28031,11 +28031,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Mobilecarriers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Mobilecarriers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Mobilecarriers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28064,7 +28064,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobilecarriers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28161,11 +28161,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Mobilecarriers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Mobilecarriers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Mobilecarriers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28200,8 +28200,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobilecarriers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28329,11 +28329,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Operatingsystems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operatingsystems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operatingsystems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28362,7 +28362,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28459,11 +28459,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Operatingsystems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operatingsystems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operatingsystems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28498,8 +28498,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28630,11 +28630,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Operatingsystemversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operatingsystemversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operatingsystemversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28667,8 +28667,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystemversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28765,11 +28765,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Operatingsystemversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operatingsystemversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operatingsystemversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28804,8 +28804,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystemversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28949,11 +28949,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Orderdocuments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Orderdocuments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Orderdocuments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28982,7 +28982,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orderdocuments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29100,11 +29100,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Orderdocuments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Orderdocuments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Orderdocuments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29139,8 +29139,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orderdocuments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29329,11 +29329,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Orders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Orders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Orders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29362,7 +29362,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29475,11 +29475,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Orders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Orders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Orders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29510,8 +29510,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29693,11 +29693,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Placementgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Placementgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Placementgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29726,7 +29726,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29880,11 +29880,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Placementgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Placementgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Placementgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -29913,7 +29913,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30049,11 +30049,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Placementgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Placementgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Placementgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30088,8 +30088,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30245,11 +30245,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Placementgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Placementgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Placementgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -30278,7 +30278,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30432,11 +30432,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Placementgroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Placementgroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Placementgroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -30465,7 +30465,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30710,11 +30710,11 @@ export namespace dfareporting_v3_4 { generatetags( params: Params$Resource$Placements$Generatetags, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generatetags( params?: Params$Resource$Placements$Generatetags, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generatetags( params: Params$Resource$Placements$Generatetags, options: StreamMethodOptions | BodyResponseCallback, @@ -30749,8 +30749,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Generatetags; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30890,11 +30890,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Placements$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Placements$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Placements$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30923,7 +30923,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31106,11 +31106,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Placements$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Placements$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Placements$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -31139,7 +31139,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31280,11 +31280,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Placements$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Placements$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Placements$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31317,8 +31317,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31502,11 +31502,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Placements$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Placements$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Placements$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31535,7 +31535,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31717,11 +31717,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Placements$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Placements$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Placements$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -31750,7 +31750,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32012,11 +32012,11 @@ export namespace dfareporting_v3_4 { delete( params: Params$Resource$Placementstrategies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Placementstrategies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Placementstrategies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -32043,7 +32043,7 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32144,11 +32144,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Placementstrategies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Placementstrategies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Placementstrategies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32179,8 +32179,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32290,11 +32290,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Placementstrategies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Placementstrategies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Placementstrategies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -32325,8 +32325,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32436,11 +32436,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Placementstrategies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Placementstrategies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Placementstrategies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32475,8 +32475,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32590,11 +32590,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Placementstrategies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Placementstrategies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Placementstrategies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -32625,8 +32625,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32736,11 +32736,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Placementstrategies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Placementstrategies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Placementstrategies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -32771,8 +32771,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32973,11 +32973,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Platformtypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Platformtypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Platformtypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33006,7 +33006,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platformtypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33103,11 +33103,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Platformtypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platformtypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platformtypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33142,8 +33142,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platformtypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33271,11 +33271,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Postalcodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Postalcodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Postalcodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33304,7 +33304,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Postalcodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33400,11 +33400,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Postalcodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Postalcodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Postalcodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33437,8 +33437,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Postalcodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33580,11 +33580,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33613,7 +33613,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33724,11 +33724,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Projects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33761,8 +33761,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33909,11 +33909,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Regions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33944,8 +33944,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34067,11 +34067,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Remarketinglists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Remarketinglists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Remarketinglists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34100,7 +34100,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34228,11 +34228,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Remarketinglists$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Remarketinglists$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Remarketinglists$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -34261,7 +34261,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34375,11 +34375,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Remarketinglists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Remarketinglists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Remarketinglists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34414,8 +34414,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34547,11 +34547,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Remarketinglists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Remarketinglists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Remarketinglists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -34580,7 +34580,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34708,11 +34708,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Remarketinglists$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Remarketinglists$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Remarketinglists$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -34741,7 +34741,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34940,11 +34940,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Remarketinglistshares$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Remarketinglistshares$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Remarketinglistshares$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34977,8 +34977,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglistshares$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35090,11 +35090,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Remarketinglistshares$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Remarketinglistshares$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Remarketinglistshares$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -35127,8 +35127,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglistshares$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35238,11 +35238,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Remarketinglistshares$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Remarketinglistshares$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Remarketinglistshares$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -35275,8 +35275,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglistshares$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35422,11 +35422,11 @@ export namespace dfareporting_v3_4 { delete( params: Params$Resource$Reports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Reports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Reports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -35453,7 +35453,7 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35569,11 +35569,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35602,7 +35602,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35743,11 +35743,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Reports$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Reports$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Reports$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -35776,7 +35776,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35883,11 +35883,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35916,7 +35916,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36058,11 +36058,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Reports$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Reports$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Reports$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -36091,7 +36091,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36199,11 +36199,11 @@ export namespace dfareporting_v3_4 { run( params: Params$Resource$Reports$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Reports$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Reports$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -36232,7 +36232,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36375,11 +36375,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Reports$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Reports$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Reports$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -36408,7 +36408,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36646,11 +36646,11 @@ export namespace dfareporting_v3_4 { query( params: Params$Resource$Reports$Compatiblefields$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Reports$Compatiblefields$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Reports$Compatiblefields$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -36679,7 +36679,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Compatiblefields$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36808,11 +36808,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Reports$Files$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reports$Files$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reports$Files$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36841,7 +36841,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Files$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36950,11 +36950,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Reports$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reports$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reports$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36983,7 +36983,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37143,11 +37143,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Sites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37176,7 +37176,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37302,11 +37302,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Sites$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sites$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sites$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -37335,7 +37335,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37461,11 +37461,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37496,8 +37496,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37625,11 +37625,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Sites$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Sites$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Sites$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -37658,7 +37658,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37784,11 +37784,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Sites$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Sites$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Sites$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -37817,7 +37817,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38038,11 +38038,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Sizes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sizes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sizes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38071,7 +38071,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38181,11 +38181,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Sizes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sizes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sizes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -38214,7 +38214,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38317,11 +38317,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Sizes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sizes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sizes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38352,8 +38352,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sizes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38504,11 +38504,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Subaccounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Subaccounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Subaccounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38537,7 +38537,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38648,11 +38648,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Subaccounts$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Subaccounts$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Subaccounts$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -38681,7 +38681,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38791,11 +38791,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Subaccounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Subaccounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Subaccounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38828,8 +38828,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38942,11 +38942,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Subaccounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Subaccounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Subaccounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -38975,7 +38975,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39087,11 +39087,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Subaccounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Subaccounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Subaccounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -39120,7 +39120,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39317,11 +39317,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Targetableremarketinglists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetableremarketinglists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetableremarketinglists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39354,8 +39354,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetableremarketinglists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39467,11 +39467,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Targetableremarketinglists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetableremarketinglists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetableremarketinglists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -39506,8 +39506,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetableremarketinglists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39673,11 +39673,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Targetingtemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetingtemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetingtemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39708,8 +39708,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39837,11 +39837,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Targetingtemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetingtemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetingtemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -39872,8 +39872,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39985,11 +39985,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Targetingtemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetingtemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetingtemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40024,8 +40024,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40157,11 +40157,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Targetingtemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targetingtemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targetingtemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -40192,8 +40192,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40321,11 +40321,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Targetingtemplates$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Targetingtemplates$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Targetingtemplates$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -40356,8 +40356,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40558,11 +40558,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Userprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40591,7 +40591,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40688,11 +40688,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Userprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40721,7 +40721,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40837,11 +40837,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Userrolepermissiongroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userrolepermissiongroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userrolepermissiongroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40874,8 +40874,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissiongroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40972,11 +40972,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Userrolepermissiongroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userrolepermissiongroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userrolepermissiongroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41011,8 +41011,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissiongroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41142,11 +41142,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Userrolepermissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userrolepermissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userrolepermissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -41177,8 +41177,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41277,11 +41277,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Userrolepermissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userrolepermissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userrolepermissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41316,8 +41316,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41442,11 +41442,11 @@ export namespace dfareporting_v3_4 { delete( params: Params$Resource$Userroles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Userroles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Userroles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -41473,7 +41473,7 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41577,11 +41577,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Userroles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userroles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userroles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -41610,7 +41610,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41727,11 +41727,11 @@ export namespace dfareporting_v3_4 { insert( params: Params$Resource$Userroles$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Userroles$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Userroles$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -41760,7 +41760,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41872,11 +41872,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Userroles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userroles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userroles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41909,8 +41909,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42028,11 +42028,11 @@ export namespace dfareporting_v3_4 { patch( params: Params$Resource$Userroles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Userroles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Userroles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -42061,7 +42061,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42177,11 +42177,11 @@ export namespace dfareporting_v3_4 { update( params: Params$Resource$Userroles$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Userroles$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Userroles$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -42210,7 +42210,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42413,11 +42413,11 @@ export namespace dfareporting_v3_4 { get( params: Params$Resource$Videoformats$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Videoformats$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Videoformats$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -42446,7 +42446,7 @@ export namespace dfareporting_v3_4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videoformats$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42542,11 +42542,11 @@ export namespace dfareporting_v3_4 { list( params: Params$Resource$Videoformats$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Videoformats$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Videoformats$List, options: StreamMethodOptions | BodyResponseCallback, @@ -42579,8 +42579,8 @@ export namespace dfareporting_v3_4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videoformats$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dfareporting/v3.5.ts b/src/apis/dfareporting/v3.5.ts index f03ce985d75..1f0964723e1 100644 --- a/src/apis/dfareporting/v3.5.ts +++ b/src/apis/dfareporting/v3.5.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -391,11 +391,11 @@ export namespace dfareporting_v3_5 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -428,8 +428,8 @@ export namespace dfareporting_v3_5 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dfareporting/v4.ts b/src/apis/dfareporting/v4.ts index 4330a92e56c..74f5963c5ca 100644 --- a/src/apis/dfareporting/v4.ts +++ b/src/apis/dfareporting/v4.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -7053,11 +7053,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Accountactiveadsummaries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountactiveadsummaries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountactiveadsummaries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7090,8 +7090,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountactiveadsummaries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7165,11 +7165,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Accountpermissiongroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountpermissiongroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountpermissiongroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7202,8 +7202,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissiongroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7258,11 +7258,13 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Accountpermissiongroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountpermissiongroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accountpermissiongroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7297,8 +7299,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissiongroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7381,11 +7385,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Accountpermissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountpermissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountpermissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7416,8 +7420,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7472,11 +7476,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Accountpermissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountpermissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accountpermissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7511,8 +7515,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountpermissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7595,11 +7599,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7628,7 +7632,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7682,11 +7689,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7719,8 +7726,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7773,11 +7780,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7806,7 +7813,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7859,11 +7869,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7892,7 +7902,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8023,11 +8036,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Accountuserprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accountuserprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accountuserprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8058,8 +8071,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8114,11 +8127,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Accountuserprofiles$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accountuserprofiles$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accountuserprofiles$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8149,8 +8162,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8205,11 +8218,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Accountuserprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accountuserprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accountuserprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8244,8 +8257,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8302,11 +8315,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Accountuserprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accountuserprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accountuserprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8337,8 +8350,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8393,11 +8406,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Accountuserprofiles$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accountuserprofiles$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accountuserprofiles$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8428,8 +8441,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountuserprofiles$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8586,11 +8599,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Ads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Ads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Ads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8619,7 +8632,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8672,11 +8688,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Ads$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Ads$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Ads$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8705,7 +8721,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8758,11 +8777,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Ads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Ads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Ads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8791,7 +8810,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8844,11 +8866,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Ads$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Ads$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Ads$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8877,7 +8899,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8930,11 +8955,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Ads$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Ads$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Ads$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8963,7 +8988,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ads$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9169,11 +9197,11 @@ export namespace dfareporting_v4 { delete( params: Params$Resource$Advertisergroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisergroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisergroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9200,7 +9228,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9255,11 +9286,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Advertisergroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisergroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisergroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9288,7 +9319,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9343,11 +9377,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Advertisergroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Advertisergroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Advertisergroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9376,7 +9410,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9431,11 +9468,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Advertisergroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisergroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisergroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9470,8 +9507,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9528,11 +9565,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Advertisergroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisergroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisergroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9561,7 +9598,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9616,11 +9656,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Advertisergroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Advertisergroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Advertisergroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9649,7 +9689,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisergroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9805,11 +9848,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Advertiserinvoices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertiserinvoices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertiserinvoices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9844,8 +9887,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserinvoices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9933,11 +9976,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Advertiserlandingpages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertiserlandingpages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertiserlandingpages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9966,7 +10009,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10021,11 +10067,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Advertiserlandingpages$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Advertiserlandingpages$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Advertiserlandingpages$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10054,7 +10100,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10109,11 +10158,13 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Advertiserlandingpages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertiserlandingpages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertiserlandingpages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10148,8 +10199,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10206,11 +10259,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Advertiserlandingpages$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertiserlandingpages$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertiserlandingpages$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10239,7 +10292,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10294,11 +10350,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Advertiserlandingpages$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Advertiserlandingpages$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Advertiserlandingpages$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10327,7 +10383,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertiserlandingpages$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10488,11 +10547,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10521,7 +10580,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10575,11 +10637,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Advertisers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Advertisers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Advertisers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10608,7 +10670,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10662,11 +10727,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10699,8 +10764,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10753,11 +10818,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10786,7 +10851,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10840,11 +10908,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Advertisers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Advertisers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Advertisers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10873,7 +10941,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11039,11 +11110,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Billingassignments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Billingassignments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Billingassignments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -11074,8 +11145,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingassignments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11130,11 +11201,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Billingassignments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingassignments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingassignments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11169,8 +11240,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingassignments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11262,11 +11333,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Billingprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billingprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11295,7 +11366,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11350,11 +11424,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Billingprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11389,8 +11463,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11445,11 +11519,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Billingprofiles$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Billingprofiles$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Billingprofiles$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11478,7 +11552,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingprofiles$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11611,11 +11688,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Billingrates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingrates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingrates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11648,8 +11725,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingrates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11723,11 +11800,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Browsers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Browsers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Browsers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11760,8 +11837,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Browsers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11828,11 +11905,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Campaigncreativeassociations$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Campaigncreativeassociations$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Campaigncreativeassociations$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -11867,8 +11944,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigncreativeassociations$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11923,11 +12000,13 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Campaigncreativeassociations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Campaigncreativeassociations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Campaigncreativeassociations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11962,8 +12041,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigncreativeassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12067,11 +12148,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Campaigns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Campaigns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Campaigns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12100,7 +12181,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12154,11 +12238,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Campaigns$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Campaigns$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Campaigns$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -12187,7 +12271,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12240,11 +12327,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Campaigns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Campaigns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Campaigns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12277,8 +12364,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12331,11 +12418,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Campaigns$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Campaigns$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Campaigns$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12364,7 +12451,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12417,11 +12507,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Campaigns$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Campaigns$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Campaigns$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12450,7 +12540,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Campaigns$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12616,11 +12709,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Changelogs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Changelogs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Changelogs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12649,7 +12742,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changelogs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12703,11 +12799,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Changelogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Changelogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Changelogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12740,8 +12836,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changelogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12858,11 +12954,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Cities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12893,8 +12989,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12977,11 +13073,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Connectiontypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Connectiontypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Connectiontypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13010,7 +13106,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Connectiontypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13065,11 +13164,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Connectiontypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Connectiontypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Connectiontypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13104,8 +13203,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Connectiontypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13186,11 +13285,11 @@ export namespace dfareporting_v4 { delete( params: Params$Resource$Contentcategories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Contentcategories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Contentcategories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13217,7 +13316,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13272,11 +13374,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Contentcategories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Contentcategories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Contentcategories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13305,7 +13407,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13360,11 +13465,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Contentcategories$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Contentcategories$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Contentcategories$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -13393,7 +13498,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13448,11 +13556,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Contentcategories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Contentcategories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Contentcategories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13487,8 +13595,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13545,11 +13653,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Contentcategories$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Contentcategories$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Contentcategories$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13578,7 +13686,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13633,11 +13744,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Contentcategories$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Contentcategories$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Contentcategories$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -13666,7 +13777,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contentcategories$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13822,11 +13936,11 @@ export namespace dfareporting_v4 { batchinsert( params: Params$Resource$Conversions$Batchinsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchinsert( params?: Params$Resource$Conversions$Batchinsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchinsert( params: Params$Resource$Conversions$Batchinsert, options: StreamMethodOptions | BodyResponseCallback, @@ -13861,8 +13975,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversions$Batchinsert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13919,11 +14033,11 @@ export namespace dfareporting_v4 { batchupdate( params: Params$Resource$Conversions$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchupdate( params?: Params$Resource$Conversions$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchupdate( params: Params$Resource$Conversions$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -13958,8 +14072,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversions$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14048,11 +14162,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Countries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Countries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Countries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14081,7 +14195,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Countries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14135,11 +14252,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Countries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Countries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Countries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14172,8 +14289,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Countries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14250,11 +14367,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Creativeassets$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativeassets$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativeassets$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -14287,8 +14404,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativeassets$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14386,11 +14503,11 @@ export namespace dfareporting_v4 { delete( params: Params$Resource$Creativefields$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Creativefields$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Creativefields$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14417,7 +14534,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14472,11 +14592,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Creativefields$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creativefields$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creativefields$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14505,7 +14625,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14560,11 +14683,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Creativefields$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativefields$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativefields$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -14593,7 +14716,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14648,11 +14774,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Creativefields$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creativefields$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creativefields$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14687,8 +14813,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14743,11 +14869,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Creativefields$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creativefields$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creativefields$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14776,7 +14902,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14831,11 +14960,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Creativefields$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creativefields$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creativefields$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -14864,7 +14993,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefields$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15024,11 +15156,11 @@ export namespace dfareporting_v4 { delete( params: Params$Resource$Creativefieldvalues$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Creativefieldvalues$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Creativefieldvalues$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15055,7 +15187,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15110,11 +15245,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Creativefieldvalues$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creativefieldvalues$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creativefieldvalues$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15145,8 +15280,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15201,11 +15336,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Creativefieldvalues$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativefieldvalues$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativefieldvalues$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -15236,8 +15371,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15292,11 +15427,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Creativefieldvalues$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creativefieldvalues$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creativefieldvalues$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15331,8 +15466,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15389,11 +15524,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Creativefieldvalues$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creativefieldvalues$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creativefieldvalues$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15424,8 +15559,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15480,11 +15615,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Creativefieldvalues$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creativefieldvalues$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creativefieldvalues$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -15515,8 +15650,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativefieldvalues$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15696,11 +15831,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Creativegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creativegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creativegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15729,7 +15864,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15784,11 +15922,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Creativegroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creativegroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creativegroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -15817,7 +15955,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15872,11 +16013,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Creativegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creativegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creativegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15911,8 +16052,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15967,11 +16108,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Creativegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creativegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creativegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16000,7 +16141,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16055,11 +16199,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Creativegroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creativegroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creativegroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -16088,7 +16232,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creativegroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16241,11 +16388,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16274,7 +16421,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16328,11 +16478,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Creatives$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Creatives$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -16361,7 +16511,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16414,11 +16567,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16451,8 +16604,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16505,11 +16658,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Creatives$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Creatives$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Creatives$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16538,7 +16691,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16591,11 +16747,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Creatives$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Creatives$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Creatives$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -16624,7 +16780,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Creatives$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16802,11 +16961,11 @@ export namespace dfareporting_v4 { query( params: Params$Resource$Dimensionvalues$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Dimensionvalues$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Dimensionvalues$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -16837,8 +16996,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dimensionvalues$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16921,11 +17080,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Directorysites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Directorysites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Directorysites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16954,7 +17113,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Directorysites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17009,11 +17171,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Directorysites$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Directorysites$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Directorysites$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -17042,7 +17204,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Directorysites$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17097,11 +17262,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Directorysites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Directorysites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Directorysites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17136,8 +17301,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Directorysites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17274,11 +17439,11 @@ export namespace dfareporting_v4 { delete( params: Params$Resource$Dynamictargetingkeys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Dynamictargetingkeys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Dynamictargetingkeys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17305,7 +17470,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dynamictargetingkeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17360,11 +17528,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Dynamictargetingkeys$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Dynamictargetingkeys$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Dynamictargetingkeys$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -17395,8 +17563,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dynamictargetingkeys$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17451,11 +17619,13 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Dynamictargetingkeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Dynamictargetingkeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Dynamictargetingkeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17490,8 +17660,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dynamictargetingkeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17610,11 +17782,11 @@ export namespace dfareporting_v4 { delete( params: Params$Resource$Eventtags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Eventtags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Eventtags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17641,7 +17813,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17695,11 +17870,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Eventtags$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Eventtags$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Eventtags$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17728,7 +17903,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17782,11 +17960,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Eventtags$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Eventtags$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Eventtags$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -17815,7 +17993,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17868,11 +18049,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Eventtags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Eventtags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Eventtags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17905,8 +18086,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17959,11 +18140,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Eventtags$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Eventtags$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Eventtags$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17992,7 +18173,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18045,11 +18229,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Eventtags$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Eventtags$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Eventtags$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -18078,7 +18262,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18242,11 +18429,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Files$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Files$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Files$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18275,7 +18462,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18328,11 +18518,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18361,7 +18551,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18458,11 +18651,11 @@ export namespace dfareporting_v4 { delete( params: Params$Resource$Floodlightactivities$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Floodlightactivities$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Floodlightactivities$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18489,7 +18682,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18544,11 +18740,13 @@ export namespace dfareporting_v4 { generatetag( params: Params$Resource$Floodlightactivities$Generatetag, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generatetag( params?: Params$Resource$Floodlightactivities$Generatetag, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generatetag( params: Params$Resource$Floodlightactivities$Generatetag, options: StreamMethodOptions | BodyResponseCallback, @@ -18583,8 +18781,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Generatetag; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18641,11 +18841,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Floodlightactivities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightactivities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightactivities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18676,8 +18876,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18732,11 +18932,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Floodlightactivities$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Floodlightactivities$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Floodlightactivities$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -18767,8 +18967,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18823,11 +19023,13 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Floodlightactivities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightactivities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Floodlightactivities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18862,8 +19064,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18920,11 +19124,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Floodlightactivities$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightactivities$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightactivities$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18955,8 +19159,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19011,11 +19215,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Floodlightactivities$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Floodlightactivities$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Floodlightactivities$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -19046,8 +19250,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivities$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19242,11 +19446,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Floodlightactivitygroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightactivitygroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightactivitygroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19279,8 +19483,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19335,11 +19539,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Floodlightactivitygroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Floodlightactivitygroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Floodlightactivitygroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -19374,8 +19578,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19430,11 +19634,13 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Floodlightactivitygroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightactivitygroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Floodlightactivitygroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19469,8 +19675,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19527,11 +19735,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Floodlightactivitygroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightactivitygroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightactivitygroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19564,8 +19772,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19620,11 +19828,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Floodlightactivitygroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Floodlightactivitygroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Floodlightactivitygroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -19659,8 +19867,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightactivitygroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19817,11 +20025,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Floodlightconfigurations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightconfigurations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightconfigurations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19854,8 +20062,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19910,11 +20118,13 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Floodlightconfigurations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightconfigurations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Floodlightconfigurations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19949,8 +20159,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20007,11 +20219,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Floodlightconfigurations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightconfigurations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightconfigurations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20044,8 +20256,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20100,11 +20312,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Floodlightconfigurations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Floodlightconfigurations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Floodlightconfigurations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -20139,8 +20351,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightconfigurations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20253,11 +20465,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Inventoryitems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inventoryitems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inventoryitems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20286,7 +20498,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventoryitems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20341,11 +20556,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Inventoryitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventoryitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inventoryitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20380,8 +20595,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventoryitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20506,11 +20721,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Languages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Languages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Languages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20543,8 +20758,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Languages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20611,11 +20826,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Metros$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Metros$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Metros$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20646,8 +20861,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Metros$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20714,11 +20929,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Mobileapps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Mobileapps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Mobileapps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20747,7 +20962,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobileapps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20801,11 +21019,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Mobileapps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Mobileapps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Mobileapps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20838,8 +21056,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobileapps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20936,11 +21154,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Mobilecarriers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Mobilecarriers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Mobilecarriers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20969,7 +21187,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobilecarriers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21024,11 +21245,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Mobilecarriers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Mobilecarriers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Mobilecarriers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21063,8 +21284,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Mobilecarriers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21145,11 +21366,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Operatingsystems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operatingsystems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operatingsystems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21178,7 +21399,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21233,11 +21457,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Operatingsystems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operatingsystems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operatingsystems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21272,8 +21496,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21356,11 +21580,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Operatingsystemversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operatingsystemversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operatingsystemversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21393,8 +21617,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystemversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21449,11 +21673,13 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Operatingsystemversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operatingsystemversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Operatingsystemversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21488,8 +21714,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operatingsystemversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21572,11 +21800,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Orders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Orders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Orders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21605,7 +21833,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21659,11 +21890,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Orders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Orders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Orders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21694,8 +21925,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Orders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21809,11 +22040,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Placementgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Placementgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Placementgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21842,7 +22073,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21897,11 +22131,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Placementgroups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Placementgroups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Placementgroups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -21930,7 +22164,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21985,11 +22222,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Placementgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Placementgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Placementgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22024,8 +22261,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22080,11 +22317,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Placementgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Placementgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Placementgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22113,7 +22350,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22168,11 +22408,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Placementgroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Placementgroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Placementgroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -22201,7 +22441,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementgroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22398,11 +22641,11 @@ export namespace dfareporting_v4 { generatetags( params: Params$Resource$Placements$Generatetags, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generatetags( params?: Params$Resource$Placements$Generatetags, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generatetags( params: Params$Resource$Placements$Generatetags, options: StreamMethodOptions | BodyResponseCallback, @@ -22437,8 +22680,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Generatetags; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22495,11 +22738,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Placements$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Placements$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Placements$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22528,7 +22771,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22582,11 +22828,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Placements$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Placements$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Placements$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -22615,7 +22861,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22669,11 +22918,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Placements$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Placements$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Placements$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22706,8 +22955,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22760,11 +23009,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Placements$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Placements$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Placements$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22793,7 +23042,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22846,11 +23098,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Placements$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Placements$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Placements$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -22879,7 +23131,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placements$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23103,11 +23358,11 @@ export namespace dfareporting_v4 { delete( params: Params$Resource$Placementstrategies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Placementstrategies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Placementstrategies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23134,7 +23389,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23189,11 +23447,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Placementstrategies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Placementstrategies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Placementstrategies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23224,8 +23482,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23280,11 +23538,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Placementstrategies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Placementstrategies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Placementstrategies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -23315,8 +23573,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23371,11 +23629,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Placementstrategies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Placementstrategies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Placementstrategies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23410,8 +23668,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23468,11 +23726,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Placementstrategies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Placementstrategies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Placementstrategies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23503,8 +23761,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23559,11 +23817,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Placementstrategies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Placementstrategies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Placementstrategies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -23594,8 +23852,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placementstrategies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23751,11 +24009,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Platformtypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Platformtypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Platformtypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23784,7 +24042,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platformtypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23839,11 +24100,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Platformtypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platformtypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platformtypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23878,8 +24139,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platformtypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23960,11 +24221,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Postalcodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Postalcodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Postalcodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23993,7 +24254,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Postalcodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24047,11 +24311,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Postalcodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Postalcodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Postalcodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24084,8 +24348,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Postalcodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24162,11 +24426,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24195,7 +24459,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24249,11 +24516,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Projects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24286,8 +24553,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24392,11 +24659,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Regions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Regions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Regions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24427,8 +24694,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Regions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24495,11 +24762,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Remarketinglists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Remarketinglists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Remarketinglists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24528,7 +24795,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24583,11 +24853,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Remarketinglists$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Remarketinglists$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Remarketinglists$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -24616,7 +24886,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24671,11 +24944,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Remarketinglists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Remarketinglists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Remarketinglists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24710,8 +24983,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24768,11 +25041,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Remarketinglists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Remarketinglists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Remarketinglists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24801,7 +25074,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24856,11 +25132,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Remarketinglists$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Remarketinglists$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Remarketinglists$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -24889,7 +25165,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglists$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25042,11 +25321,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Remarketinglistshares$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Remarketinglistshares$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Remarketinglistshares$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25079,8 +25358,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglistshares$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25135,11 +25414,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Remarketinglistshares$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Remarketinglistshares$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Remarketinglistshares$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25172,8 +25451,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglistshares$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25228,11 +25507,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Remarketinglistshares$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Remarketinglistshares$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Remarketinglistshares$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -25265,8 +25544,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Remarketinglistshares$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25374,11 +25653,11 @@ export namespace dfareporting_v4 { delete( params: Params$Resource$Reports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Reports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Reports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25405,7 +25684,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25459,11 +25741,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25492,7 +25774,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25546,11 +25831,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Reports$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Reports$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Reports$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -25579,7 +25864,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25632,11 +25920,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25665,7 +25953,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25718,11 +26009,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Reports$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Reports$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Reports$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25751,7 +26042,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25805,11 +26099,11 @@ export namespace dfareporting_v4 { run( params: Params$Resource$Reports$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Reports$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Reports$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -25838,7 +26132,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25892,11 +26189,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Reports$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Reports$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Reports$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -25925,7 +26222,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26088,11 +26388,11 @@ export namespace dfareporting_v4 { query( params: Params$Resource$Reports$Compatiblefields$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Reports$Compatiblefields$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Reports$Compatiblefields$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -26121,7 +26421,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Compatiblefields$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26196,11 +26499,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Reports$Files$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reports$Files$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reports$Files$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26229,7 +26532,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Files$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26284,11 +26590,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Reports$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reports$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reports$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26317,7 +26623,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26422,11 +26731,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Sites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26455,7 +26764,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26508,11 +26820,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Sites$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sites$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sites$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -26541,7 +26853,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26594,11 +26909,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26629,8 +26944,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26683,11 +26998,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Sites$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Sites$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Sites$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26716,7 +27031,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26769,11 +27087,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Sites$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Sites$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Sites$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -26802,7 +27120,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26976,11 +27297,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Sizes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sizes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sizes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27009,7 +27330,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27062,11 +27386,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Sizes$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sizes$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sizes$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -27095,7 +27419,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27148,11 +27475,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Sizes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sizes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sizes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27183,8 +27510,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sizes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27288,11 +27615,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Subaccounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Subaccounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Subaccounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27321,7 +27648,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27375,11 +27705,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Subaccounts$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Subaccounts$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Subaccounts$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -27408,7 +27738,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27462,11 +27795,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Subaccounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Subaccounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Subaccounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27499,8 +27832,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27553,11 +27886,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Subaccounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Subaccounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Subaccounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -27586,7 +27919,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27640,11 +27976,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Subaccounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Subaccounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Subaccounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -27673,7 +28009,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subaccounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27815,11 +28154,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Targetableremarketinglists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetableremarketinglists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetableremarketinglists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27852,8 +28191,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetableremarketinglists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27908,11 +28247,13 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Targetableremarketinglists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetableremarketinglists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Targetableremarketinglists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27947,8 +28288,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetableremarketinglists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28059,11 +28402,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Targetingtemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetingtemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetingtemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28094,8 +28437,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28150,11 +28493,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Targetingtemplates$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Targetingtemplates$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Targetingtemplates$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -28185,8 +28528,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28241,11 +28584,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Targetingtemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetingtemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetingtemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28280,8 +28623,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28338,11 +28681,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Targetingtemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Targetingtemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Targetingtemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28373,8 +28716,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28429,11 +28772,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Targetingtemplates$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Targetingtemplates$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Targetingtemplates$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -28464,8 +28807,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtemplates$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28614,11 +28957,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Tvcampaigndetails$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Tvcampaigndetails$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Tvcampaigndetails$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28647,7 +28990,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tvcampaigndetails$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28725,11 +29071,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Tvcampaignsummaries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tvcampaignsummaries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tvcampaignsummaries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28764,8 +29110,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tvcampaignsummaries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28845,11 +29191,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Userprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28878,7 +29224,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28931,11 +29280,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Userprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28964,7 +29313,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29035,11 +29387,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Userrolepermissiongroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userrolepermissiongroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userrolepermissiongroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29072,8 +29424,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissiongroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29128,11 +29480,13 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Userrolepermissiongroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userrolepermissiongroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Userrolepermissiongroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29167,8 +29521,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissiongroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29251,11 +29607,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Userrolepermissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userrolepermissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userrolepermissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29286,8 +29642,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29342,11 +29698,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Userrolepermissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userrolepermissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userrolepermissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29381,8 +29737,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userrolepermissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29469,11 +29825,11 @@ export namespace dfareporting_v4 { delete( params: Params$Resource$Userroles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Userroles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Userroles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -29500,7 +29856,10 @@ export namespace dfareporting_v4 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29554,11 +29913,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Userroles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userroles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userroles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29587,7 +29946,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29641,11 +30003,11 @@ export namespace dfareporting_v4 { insert( params: Params$Resource$Userroles$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Userroles$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Userroles$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -29674,7 +30036,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29727,11 +30092,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Userroles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Userroles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Userroles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29764,8 +30129,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29818,11 +30183,11 @@ export namespace dfareporting_v4 { patch( params: Params$Resource$Userroles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Userroles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Userroles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -29851,7 +30216,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29904,11 +30272,11 @@ export namespace dfareporting_v4 { update( params: Params$Resource$Userroles$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Userroles$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Userroles$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -29937,7 +30305,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userroles$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30093,11 +30464,11 @@ export namespace dfareporting_v4 { get( params: Params$Resource$Videoformats$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Videoformats$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Videoformats$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30126,7 +30497,10 @@ export namespace dfareporting_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videoformats$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30180,11 +30554,11 @@ export namespace dfareporting_v4 { list( params: Params$Resource$Videoformats$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Videoformats$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Videoformats$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30217,8 +30591,8 @@ export namespace dfareporting_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videoformats$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dialogflow/index.ts b/src/apis/dialogflow/index.ts index acedc602207..85c3bf0f7ff 100644 --- a/src/apis/dialogflow/index.ts +++ b/src/apis/dialogflow/index.ts @@ -75,7 +75,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/dialogflow/package.json b/src/apis/dialogflow/package.json index 857a4df14cb..b99136e4565 100644 --- a/src/apis/dialogflow/package.json +++ b/src/apis/dialogflow/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/dialogflow/v2.ts b/src/apis/dialogflow/v2.ts index a72d2870d7e..12662707493 100644 --- a/src/apis/dialogflow/v2.ts +++ b/src/apis/dialogflow/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -7333,6 +7333,10 @@ export namespace dialogflow_v2 { * The resource name of the existing created generator. Format: `projects//locations//generators/` */ generatorName?: string | null; + /** + * Optional. Name of the CX SecuritySettings which is used to redact generated response. If this field is empty, try to fetch v2 security_settings, which is a project level setting. If this field is empty and no v2 security_settings set up in this project, no redaction will be done. Format: `projects//locations//securitySettings/`. + */ + securitySettings?: string | null; /** * Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here. */ @@ -10634,11 +10638,11 @@ export namespace dialogflow_v2 { deleteAgent( params: Params$Resource$Projects$Deleteagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAgent( params?: Params$Resource$Projects$Deleteagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAgent( params: Params$Resource$Projects$Deleteagent, options: StreamMethodOptions | BodyResponseCallback, @@ -10671,8 +10675,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deleteagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10727,11 +10731,11 @@ export namespace dialogflow_v2 { getAgent( params: Params$Resource$Projects$Getagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAgent( params?: Params$Resource$Projects$Getagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAgent( params: Params$Resource$Projects$Getagent, options: StreamMethodOptions | BodyResponseCallback, @@ -10766,8 +10770,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10824,11 +10828,11 @@ export namespace dialogflow_v2 { setAgent( params: Params$Resource$Projects$Setagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAgent( params?: Params$Resource$Projects$Setagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAgent( params: Params$Resource$Projects$Setagent, options: StreamMethodOptions | BodyResponseCallback, @@ -10863,8 +10867,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10975,11 +10979,11 @@ export namespace dialogflow_v2 { export( params: Params$Resource$Projects$Agent$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Agent$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Agent$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -11014,8 +11018,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11070,11 +11074,13 @@ export namespace dialogflow_v2 { getFulfillment( params: Params$Resource$Projects$Agent$Getfulfillment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFulfillment( params?: Params$Resource$Projects$Agent$Getfulfillment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getFulfillment( params: Params$Resource$Projects$Agent$Getfulfillment, options: StreamMethodOptions | BodyResponseCallback, @@ -11109,8 +11115,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Getfulfillment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11164,11 +11172,13 @@ export namespace dialogflow_v2 { getValidationResult( params: Params$Resource$Projects$Agent$Getvalidationresult, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getValidationResult( params?: Params$Resource$Projects$Agent$Getvalidationresult, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getValidationResult( params: Params$Resource$Projects$Agent$Getvalidationresult, options: StreamMethodOptions | BodyResponseCallback, @@ -11203,8 +11213,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Getvalidationresult; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11261,11 +11273,11 @@ export namespace dialogflow_v2 { import( params: Params$Resource$Projects$Agent$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Agent$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Agent$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -11300,8 +11312,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11356,11 +11368,11 @@ export namespace dialogflow_v2 { restore( params: Params$Resource$Projects$Agent$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Agent$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Agent$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -11395,8 +11407,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11451,11 +11463,13 @@ export namespace dialogflow_v2 { search( params: Params$Resource$Projects$Agent$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Agent$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Agent$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -11490,8 +11504,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11548,11 +11564,11 @@ export namespace dialogflow_v2 { train( params: Params$Resource$Projects$Agent$Train, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; train( params?: Params$Resource$Projects$Agent$Train, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; train( params: Params$Resource$Projects$Agent$Train, options: StreamMethodOptions | BodyResponseCallback, @@ -11587,8 +11603,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Train; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11643,11 +11659,13 @@ export namespace dialogflow_v2 { updateFulfillment( params: Params$Resource$Projects$Agent$Updatefulfillment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateFulfillment( params?: Params$Resource$Projects$Agent$Updatefulfillment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateFulfillment( params: Params$Resource$Projects$Agent$Updatefulfillment, options: StreamMethodOptions | BodyResponseCallback, @@ -11682,8 +11700,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Updatefulfillment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11846,11 +11866,11 @@ export namespace dialogflow_v2 { batchDelete( params: Params$Resource$Projects$Agent$Entitytypes$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Agent$Entitytypes$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Agent$Entitytypes$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -11885,8 +11905,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11941,11 +11961,11 @@ export namespace dialogflow_v2 { batchUpdate( params: Params$Resource$Projects$Agent$Entitytypes$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Agent$Entitytypes$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Agent$Entitytypes$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -11980,8 +12000,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12036,11 +12056,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Agent$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12075,8 +12097,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12133,11 +12157,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Agent$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12168,8 +12192,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12221,11 +12245,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Agent$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12260,8 +12286,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12315,11 +12343,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Agent$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12354,8 +12384,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12412,11 +12444,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Agent$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12451,8 +12485,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12611,11 +12647,11 @@ export namespace dialogflow_v2 { batchCreate( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -12650,8 +12686,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12707,11 +12743,11 @@ export namespace dialogflow_v2 { batchDelete( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -12746,8 +12782,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12803,11 +12839,11 @@ export namespace dialogflow_v2 { batchUpdate( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -12842,8 +12878,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12949,11 +12985,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Agent$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12988,8 +13026,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13046,11 +13086,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Agent$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13081,8 +13121,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13134,11 +13174,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Agent$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13173,8 +13215,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13228,11 +13272,13 @@ export namespace dialogflow_v2 { getHistory( params: Params$Resource$Projects$Agent$Environments$Gethistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHistory( params?: Params$Resource$Projects$Agent$Environments$Gethistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getHistory( params: Params$Resource$Projects$Agent$Environments$Gethistory, options: StreamMethodOptions | BodyResponseCallback, @@ -13267,8 +13313,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Gethistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13325,11 +13373,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Agent$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13364,8 +13414,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13422,11 +13474,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Agent$Environments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Environments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Environments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13461,8 +13515,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13604,11 +13660,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Agent$Environments$Intents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Environments$Intents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Environments$Intents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13643,8 +13701,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Intents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13753,11 +13813,11 @@ export namespace dialogflow_v2 { deleteContexts( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts, options: StreamMethodOptions | BodyResponseCallback, @@ -13790,8 +13850,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13847,11 +13907,13 @@ export namespace dialogflow_v2 { detectIntent( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -13886,8 +13948,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13972,11 +14036,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14011,8 +14075,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14070,11 +14134,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14105,8 +14169,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14159,11 +14223,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14198,8 +14262,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14254,11 +14318,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14293,8 +14359,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14352,11 +14420,11 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14391,8 +14459,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14512,11 +14580,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14551,8 +14621,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14610,11 +14682,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14645,8 +14717,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14699,11 +14771,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14738,8 +14812,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14794,11 +14870,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14833,8 +14911,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14892,11 +14972,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14931,8 +15013,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15052,11 +15136,11 @@ export namespace dialogflow_v2 { batchDelete( params: Params$Resource$Projects$Agent$Intents$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Agent$Intents$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Agent$Intents$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -15091,8 +15175,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15147,11 +15231,11 @@ export namespace dialogflow_v2 { batchUpdate( params: Params$Resource$Projects$Agent$Intents$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Agent$Intents$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Agent$Intents$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -15186,8 +15270,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15242,11 +15326,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Agent$Intents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Intents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Agent$Intents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15281,8 +15365,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15339,11 +15423,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Agent$Intents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Intents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Intents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15374,8 +15458,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15427,11 +15511,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Agent$Intents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Intents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Agent$Intents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15466,8 +15550,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15521,11 +15605,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Agent$Intents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Intents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Intents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15560,8 +15646,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15618,11 +15706,11 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Agent$Intents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Intents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Agent$Intents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15657,8 +15745,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15837,11 +15925,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Agent$Knowledgebases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Knowledgebases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Knowledgebases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15876,8 +15966,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15934,11 +16026,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Agent$Knowledgebases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Knowledgebases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Knowledgebases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15969,8 +16061,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16022,11 +16114,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Agent$Knowledgebases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Knowledgebases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Knowledgebases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16061,8 +16155,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16116,11 +16212,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Agent$Knowledgebases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Knowledgebases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Knowledgebases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16155,8 +16253,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16213,11 +16313,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Agent$Knowledgebases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Knowledgebases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Knowledgebases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16252,8 +16354,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16380,11 +16484,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16419,8 +16523,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16476,11 +16580,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16515,8 +16619,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16569,11 +16673,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16608,8 +16712,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16664,11 +16768,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16703,8 +16809,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16762,11 +16870,11 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16801,8 +16909,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16855,11 +16963,11 @@ export namespace dialogflow_v2 { reload( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Reload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reload( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$Reload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reload( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Reload, options: StreamMethodOptions | BodyResponseCallback, @@ -16894,8 +17002,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$Reload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17037,11 +17145,11 @@ export namespace dialogflow_v2 { deleteContexts( params: Params$Resource$Projects$Agent$Sessions$Deletecontexts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params?: Params$Resource$Projects$Agent$Sessions$Deletecontexts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params: Params$Resource$Projects$Agent$Sessions$Deletecontexts, options: StreamMethodOptions | BodyResponseCallback, @@ -17074,8 +17182,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Deletecontexts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17130,11 +17238,13 @@ export namespace dialogflow_v2 { detectIntent( params: Params$Resource$Projects$Agent$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Agent$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Agent$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -17169,8 +17279,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17254,11 +17366,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Agent$Sessions$Contexts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Sessions$Contexts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Agent$Sessions$Contexts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17293,8 +17405,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Contexts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17351,11 +17463,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Agent$Sessions$Contexts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Sessions$Contexts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Sessions$Contexts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17386,8 +17498,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Contexts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17439,11 +17551,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Agent$Sessions$Contexts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Sessions$Contexts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Agent$Sessions$Contexts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17478,8 +17590,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Contexts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17533,11 +17645,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Agent$Sessions$Contexts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Sessions$Contexts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Sessions$Contexts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17572,8 +17686,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Contexts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17630,11 +17746,11 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Agent$Sessions$Contexts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Sessions$Contexts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Agent$Sessions$Contexts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17669,8 +17785,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Contexts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17789,11 +17905,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17828,8 +17946,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17887,11 +18007,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17922,8 +18042,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17976,11 +18096,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18015,8 +18137,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18070,11 +18194,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18109,8 +18235,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18167,11 +18295,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18206,8 +18336,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18327,11 +18459,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Agent$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Agent$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18366,8 +18498,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18424,11 +18556,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Agent$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18459,8 +18591,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18512,11 +18644,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Agent$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Agent$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18551,8 +18683,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18606,11 +18738,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Agent$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18645,8 +18779,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18703,11 +18839,11 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Agent$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Agent$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18742,8 +18878,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18862,11 +18998,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Answerrecords$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Answerrecords$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Answerrecords$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18901,8 +19039,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Answerrecords$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18959,11 +19099,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Answerrecords$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Answerrecords$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Answerrecords$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18998,8 +19140,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Answerrecords$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19096,11 +19240,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Conversationdatasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Conversationdatasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Conversationdatasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19135,8 +19281,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationdatasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19190,11 +19338,11 @@ export namespace dialogflow_v2 { importConversationData( params: Params$Resource$Projects$Conversationdatasets$Importconversationdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importConversationData( params?: Params$Resource$Projects$Conversationdatasets$Importconversationdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importConversationData( params: Params$Resource$Projects$Conversationdatasets$Importconversationdata, options: StreamMethodOptions | BodyResponseCallback, @@ -19229,8 +19377,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationdatasets$Importconversationdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19286,11 +19434,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Conversationdatasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversationdatasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversationdatasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19325,8 +19475,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationdatasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19429,11 +19581,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Conversationmodels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Conversationmodels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Conversationmodels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19468,8 +19620,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationmodels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19524,11 +19676,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Conversationmodels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Conversationmodels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Conversationmodels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19563,8 +19715,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationmodels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19616,11 +19768,11 @@ export namespace dialogflow_v2 { deploy( params: Params$Resource$Projects$Conversationmodels$Deploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params?: Params$Resource$Projects$Conversationmodels$Deploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params: Params$Resource$Projects$Conversationmodels$Deploy, options: StreamMethodOptions | BodyResponseCallback, @@ -19655,8 +19807,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationmodels$Deploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19708,11 +19860,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Conversationmodels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Conversationmodels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Conversationmodels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19747,8 +19901,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationmodels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19802,11 +19958,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Conversationmodels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversationmodels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversationmodels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19841,8 +19999,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationmodels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19899,11 +20059,11 @@ export namespace dialogflow_v2 { undeploy( params: Params$Resource$Projects$Conversationmodels$Undeploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undeploy( params?: Params$Resource$Projects$Conversationmodels$Undeploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undeploy( params: Params$Resource$Projects$Conversationmodels$Undeploy, options: StreamMethodOptions | BodyResponseCallback, @@ -19938,8 +20098,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationmodels$Undeploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20067,11 +20227,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Conversationmodels$Evaluations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Conversationmodels$Evaluations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Conversationmodels$Evaluations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20106,8 +20268,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationmodels$Evaluations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20162,11 +20326,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Conversationmodels$Evaluations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversationmodels$Evaluations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversationmodels$Evaluations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20201,8 +20367,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationmodels$Evaluations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20290,11 +20458,11 @@ export namespace dialogflow_v2 { clearSuggestionFeatureConfig( params: Params$Resource$Projects$Conversationprofiles$Clearsuggestionfeatureconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clearSuggestionFeatureConfig( params?: Params$Resource$Projects$Conversationprofiles$Clearsuggestionfeatureconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clearSuggestionFeatureConfig( params: Params$Resource$Projects$Conversationprofiles$Clearsuggestionfeatureconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -20329,8 +20497,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Clearsuggestionfeatureconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20386,11 +20554,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Conversationprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Conversationprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Conversationprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20425,8 +20595,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20483,11 +20655,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Conversationprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Conversationprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Conversationprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20518,8 +20690,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20571,11 +20743,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Conversationprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Conversationprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Conversationprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20610,8 +20784,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20665,11 +20841,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Conversationprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversationprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversationprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20704,8 +20882,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20762,11 +20942,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Conversationprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Conversationprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Conversationprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20801,8 +20983,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20856,11 +21040,11 @@ export namespace dialogflow_v2 { setSuggestionFeatureConfig( params: Params$Resource$Projects$Conversationprofiles$Setsuggestionfeatureconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSuggestionFeatureConfig( params?: Params$Resource$Projects$Conversationprofiles$Setsuggestionfeatureconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSuggestionFeatureConfig( params: Params$Resource$Projects$Conversationprofiles$Setsuggestionfeatureconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -20895,8 +21079,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Setsuggestionfeatureconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21052,11 +21236,13 @@ export namespace dialogflow_v2 { complete( params: Params$Resource$Projects$Conversations$Complete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; complete( params?: Params$Resource$Projects$Conversations$Complete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; complete( params: Params$Resource$Projects$Conversations$Complete, options: StreamMethodOptions | BodyResponseCallback, @@ -21091,8 +21277,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Complete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21149,11 +21337,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21188,8 +21378,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21246,11 +21438,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21285,8 +21479,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21340,11 +21536,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21379,8 +21577,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21499,11 +21699,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Conversations$Messages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversations$Messages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversations$Messages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21538,8 +21740,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Messages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21628,11 +21832,13 @@ export namespace dialogflow_v2 { analyzeContent( params: Params$Resource$Projects$Conversations$Participants$Analyzecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeContent( params?: Params$Resource$Projects$Conversations$Participants$Analyzecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; analyzeContent( params: Params$Resource$Projects$Conversations$Participants$Analyzecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -21667,8 +21873,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Analyzecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21726,11 +21934,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Conversations$Participants$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Conversations$Participants$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Conversations$Participants$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21765,8 +21975,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21824,11 +22036,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Conversations$Participants$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Conversations$Participants$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Conversations$Participants$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21863,8 +22077,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21918,11 +22134,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Conversations$Participants$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversations$Participants$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversations$Participants$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21957,8 +22175,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22015,11 +22235,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Conversations$Participants$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Conversations$Participants$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Conversations$Participants$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22054,8 +22276,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22180,11 +22404,13 @@ export namespace dialogflow_v2 { suggestArticles( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestarticles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestArticles( params?: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestarticles, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestArticles( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestarticles, options: StreamMethodOptions | BodyResponseCallback, @@ -22219,8 +22445,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestarticles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22277,11 +22505,13 @@ export namespace dialogflow_v2 { suggestFaqAnswers( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestfaqanswers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestFaqAnswers( params?: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestfaqanswers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestFaqAnswers( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestfaqanswers, options: StreamMethodOptions | BodyResponseCallback, @@ -22316,8 +22546,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestfaqanswers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22374,11 +22606,13 @@ export namespace dialogflow_v2 { suggestKnowledgeAssist( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestknowledgeassist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestKnowledgeAssist( params?: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestknowledgeassist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestKnowledgeAssist( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestknowledgeassist, options: StreamMethodOptions | BodyResponseCallback, @@ -22413,8 +22647,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestknowledgeassist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22471,11 +22707,13 @@ export namespace dialogflow_v2 { suggestSmartReplies( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestsmartreplies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestSmartReplies( params?: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestsmartreplies, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestSmartReplies( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestsmartreplies, options: StreamMethodOptions | BodyResponseCallback, @@ -22510,8 +22748,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestsmartreplies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22624,11 +22864,13 @@ export namespace dialogflow_v2 { generate( params: Params$Resource$Projects$Conversations$Suggestions$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Projects$Conversations$Suggestions$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generate( params: Params$Resource$Projects$Conversations$Suggestions$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -22663,8 +22905,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Suggestions$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22722,11 +22966,13 @@ export namespace dialogflow_v2 { searchKnowledge( params: Params$Resource$Projects$Conversations$Suggestions$Searchknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchKnowledge( params?: Params$Resource$Projects$Conversations$Suggestions$Searchknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchKnowledge( params: Params$Resource$Projects$Conversations$Suggestions$Searchknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -22761,8 +23007,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Suggestions$Searchknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22819,11 +23067,13 @@ export namespace dialogflow_v2 { suggestConversationSummary( params: Params$Resource$Projects$Conversations$Suggestions$Suggestconversationsummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestConversationSummary( params?: Params$Resource$Projects$Conversations$Suggestions$Suggestconversationsummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestConversationSummary( params: Params$Resource$Projects$Conversations$Suggestions$Suggestconversationsummary, options: StreamMethodOptions | BodyResponseCallback, @@ -22858,8 +23108,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Suggestions$Suggestconversationsummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22961,11 +23213,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Generators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Generators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Generators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23000,8 +23254,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Generators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23058,11 +23314,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Generators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Generators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Generators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23097,8 +23355,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Generators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23198,11 +23458,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Knowledgebases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Knowledgebases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Knowledgebases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23237,8 +23499,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23295,11 +23559,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Knowledgebases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Knowledgebases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Knowledgebases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23330,8 +23594,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23383,11 +23647,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Knowledgebases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Knowledgebases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Knowledgebases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23422,8 +23688,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23477,11 +23745,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Knowledgebases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Knowledgebases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Knowledgebases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23516,8 +23786,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23574,11 +23846,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Knowledgebases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Knowledgebases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Knowledgebases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23613,8 +23887,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23741,11 +24017,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Knowledgebases$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Knowledgebases$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Knowledgebases$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23780,8 +24056,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23836,11 +24112,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Knowledgebases$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Knowledgebases$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Knowledgebases$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23875,8 +24151,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23928,11 +24204,11 @@ export namespace dialogflow_v2 { export( params: Params$Resource$Projects$Knowledgebases$Documents$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Knowledgebases$Documents$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Knowledgebases$Documents$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -23967,8 +24243,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24020,11 +24296,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Knowledgebases$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Knowledgebases$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Knowledgebases$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24059,8 +24335,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24114,11 +24390,11 @@ export namespace dialogflow_v2 { import( params: Params$Resource$Projects$Knowledgebases$Documents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Knowledgebases$Documents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Knowledgebases$Documents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -24153,8 +24429,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24209,11 +24485,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Knowledgebases$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Knowledgebases$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Knowledgebases$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24248,8 +24526,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24306,11 +24586,11 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Knowledgebases$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Knowledgebases$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Knowledgebases$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24345,8 +24625,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24398,11 +24678,11 @@ export namespace dialogflow_v2 { reload( params: Params$Resource$Projects$Knowledgebases$Documents$Reload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reload( params?: Params$Resource$Projects$Knowledgebases$Documents$Reload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reload( params: Params$Resource$Projects$Knowledgebases$Documents$Reload, options: StreamMethodOptions | BodyResponseCallback, @@ -24437,8 +24717,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Reload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24637,11 +24917,11 @@ export namespace dialogflow_v2 { deleteAgent( params: Params$Resource$Projects$Locations$Deleteagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAgent( params?: Params$Resource$Projects$Locations$Deleteagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAgent( params: Params$Resource$Projects$Locations$Deleteagent, options: StreamMethodOptions | BodyResponseCallback, @@ -24674,8 +24954,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deleteagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24730,11 +25010,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24769,8 +25049,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24822,11 +25102,11 @@ export namespace dialogflow_v2 { getAgent( params: Params$Resource$Projects$Locations$Getagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAgent( params?: Params$Resource$Projects$Locations$Getagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAgent( params: Params$Resource$Projects$Locations$Getagent, options: StreamMethodOptions | BodyResponseCallback, @@ -24861,8 +25141,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24919,11 +25199,13 @@ export namespace dialogflow_v2 { getEncryptionSpec( params: Params$Resource$Projects$Locations$Getencryptionspec, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEncryptionSpec( params?: Params$Resource$Projects$Locations$Getencryptionspec, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEncryptionSpec( params: Params$Resource$Projects$Locations$Getencryptionspec, options: StreamMethodOptions | BodyResponseCallback, @@ -24958,8 +25240,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getencryptionspec; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25013,11 +25297,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25052,8 +25338,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25110,11 +25398,11 @@ export namespace dialogflow_v2 { setAgent( params: Params$Resource$Projects$Locations$Setagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAgent( params?: Params$Resource$Projects$Locations$Setagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAgent( params: Params$Resource$Projects$Locations$Setagent, options: StreamMethodOptions | BodyResponseCallback, @@ -25149,8 +25437,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Setagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25302,11 +25590,11 @@ export namespace dialogflow_v2 { export( params: Params$Resource$Projects$Locations$Agent$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agent$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agent$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -25341,8 +25629,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25397,11 +25685,13 @@ export namespace dialogflow_v2 { getFulfillment( params: Params$Resource$Projects$Locations$Agent$Getfulfillment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFulfillment( params?: Params$Resource$Projects$Locations$Agent$Getfulfillment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getFulfillment( params: Params$Resource$Projects$Locations$Agent$Getfulfillment, options: StreamMethodOptions | BodyResponseCallback, @@ -25436,8 +25726,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Getfulfillment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25491,11 +25783,13 @@ export namespace dialogflow_v2 { getValidationResult( params: Params$Resource$Projects$Locations$Agent$Getvalidationresult, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getValidationResult( params?: Params$Resource$Projects$Locations$Agent$Getvalidationresult, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getValidationResult( params: Params$Resource$Projects$Locations$Agent$Getvalidationresult, options: StreamMethodOptions | BodyResponseCallback, @@ -25530,8 +25824,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Getvalidationresult; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25589,11 +25885,11 @@ export namespace dialogflow_v2 { import( params: Params$Resource$Projects$Locations$Agent$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agent$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agent$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -25628,8 +25924,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25684,11 +25980,11 @@ export namespace dialogflow_v2 { restore( params: Params$Resource$Projects$Locations$Agent$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Agent$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Agent$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -25723,8 +26019,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25779,11 +26075,13 @@ export namespace dialogflow_v2 { search( params: Params$Resource$Projects$Locations$Agent$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Agent$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Agent$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -25818,8 +26116,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25876,11 +26176,11 @@ export namespace dialogflow_v2 { train( params: Params$Resource$Projects$Locations$Agent$Train, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; train( params?: Params$Resource$Projects$Locations$Agent$Train, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; train( params: Params$Resource$Projects$Locations$Agent$Train, options: StreamMethodOptions | BodyResponseCallback, @@ -25915,8 +26215,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Train; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25971,11 +26271,13 @@ export namespace dialogflow_v2 { updateFulfillment( params: Params$Resource$Projects$Locations$Agent$Updatefulfillment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateFulfillment( params?: Params$Resource$Projects$Locations$Agent$Updatefulfillment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateFulfillment( params: Params$Resource$Projects$Locations$Agent$Updatefulfillment, options: StreamMethodOptions | BodyResponseCallback, @@ -26010,8 +26312,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Updatefulfillment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26176,11 +26480,11 @@ export namespace dialogflow_v2 { batchDelete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -26215,8 +26519,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26272,11 +26576,11 @@ export namespace dialogflow_v2 { batchUpdate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -26311,8 +26615,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26368,11 +26672,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -26407,8 +26713,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26466,11 +26774,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26501,8 +26809,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26555,11 +26863,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26594,8 +26904,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26649,11 +26961,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Agent$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26688,8 +27002,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26747,11 +27063,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26786,8 +27104,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26947,11 +27267,11 @@ export namespace dialogflow_v2 { batchCreate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -26986,8 +27306,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27043,11 +27363,11 @@ export namespace dialogflow_v2 { batchDelete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -27082,8 +27402,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27139,11 +27459,11 @@ export namespace dialogflow_v2 { batchUpdate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -27178,8 +27498,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27287,11 +27607,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Agent$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -27326,8 +27648,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27385,11 +27709,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Agent$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27420,8 +27744,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27474,11 +27798,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Agent$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27513,8 +27839,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27569,11 +27897,13 @@ export namespace dialogflow_v2 { getHistory( params: Params$Resource$Projects$Locations$Agent$Environments$Gethistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHistory( params?: Params$Resource$Projects$Locations$Agent$Environments$Gethistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getHistory( params: Params$Resource$Projects$Locations$Agent$Environments$Gethistory, options: StreamMethodOptions | BodyResponseCallback, @@ -27608,8 +27938,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Gethistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27667,11 +27999,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Agent$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27706,8 +28040,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27765,11 +28101,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Agent$Environments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Environments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Environments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -27804,8 +28142,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27948,11 +28288,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Agent$Environments$Intents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Environments$Intents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Environments$Intents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27987,8 +28329,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Intents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28099,11 +28443,11 @@ export namespace dialogflow_v2 { deleteContexts( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Deletecontexts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Deletecontexts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Deletecontexts, options: StreamMethodOptions | BodyResponseCallback, @@ -28136,8 +28480,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Deletecontexts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28193,11 +28537,13 @@ export namespace dialogflow_v2 { detectIntent( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -28232,8 +28578,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28318,11 +28666,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28357,8 +28705,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28416,11 +28764,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28451,8 +28799,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28505,11 +28853,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28544,8 +28892,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28600,11 +28948,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28639,8 +28989,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28698,11 +29050,11 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28737,8 +29089,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28858,11 +29210,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28897,8 +29251,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28956,11 +29312,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28991,8 +29347,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29045,11 +29401,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29084,8 +29442,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29140,11 +29500,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29179,8 +29541,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29238,11 +29602,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -29277,8 +29643,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29398,11 +29766,11 @@ export namespace dialogflow_v2 { batchDelete( params: Params$Resource$Projects$Locations$Agent$Intents$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Agent$Intents$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Agent$Intents$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -29437,8 +29805,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29494,11 +29862,11 @@ export namespace dialogflow_v2 { batchUpdate( params: Params$Resource$Projects$Locations$Agent$Intents$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Locations$Agent$Intents$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Locations$Agent$Intents$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -29533,8 +29901,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29590,11 +29958,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Agent$Intents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Intents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agent$Intents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -29629,8 +29997,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29687,11 +30055,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Agent$Intents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Intents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Intents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -29722,8 +30090,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29775,11 +30143,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Agent$Intents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Intents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Agent$Intents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29814,8 +30182,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29869,11 +30237,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Agent$Intents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Intents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Intents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29908,8 +30278,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29966,11 +30338,11 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Agent$Intents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Intents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Agent$Intents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -30005,8 +30377,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30190,11 +30562,11 @@ export namespace dialogflow_v2 { deleteContexts( params: Params$Resource$Projects$Locations$Agent$Sessions$Deletecontexts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params?: Params$Resource$Projects$Locations$Agent$Sessions$Deletecontexts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params: Params$Resource$Projects$Locations$Agent$Sessions$Deletecontexts, options: StreamMethodOptions | BodyResponseCallback, @@ -30227,8 +30599,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Deletecontexts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30284,11 +30656,13 @@ export namespace dialogflow_v2 { detectIntent( params: Params$Resource$Projects$Locations$Agent$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Locations$Agent$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Locations$Agent$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -30323,8 +30697,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30409,11 +30785,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -30448,8 +30824,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30507,11 +30883,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30542,8 +30918,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30596,11 +30972,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30635,8 +31011,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30691,11 +31067,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30730,8 +31108,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Contexts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30789,11 +31169,11 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -30828,8 +31208,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30949,11 +31329,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -30988,8 +31370,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31047,11 +31431,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31082,8 +31466,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31136,11 +31520,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31175,8 +31561,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31231,11 +31619,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31270,8 +31660,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31329,11 +31721,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31368,8 +31762,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31489,11 +31885,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Agent$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agent$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -31528,8 +31924,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31586,11 +31982,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Agent$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31621,8 +32017,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31674,11 +32070,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Agent$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Agent$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31713,8 +32109,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31768,11 +32164,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Agent$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31807,8 +32205,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31865,11 +32265,11 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Agent$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Agent$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31904,8 +32304,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32024,11 +32424,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Answerrecords$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Answerrecords$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Answerrecords$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32063,8 +32465,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Answerrecords$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32121,11 +32525,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Answerrecords$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Answerrecords$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Answerrecords$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -32160,8 +32566,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Answerrecords$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32258,11 +32666,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Conversationdatasets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Conversationdatasets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Conversationdatasets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -32297,8 +32705,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationdatasets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32354,11 +32762,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Conversationdatasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Conversationdatasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Conversationdatasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -32393,8 +32801,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationdatasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32447,11 +32855,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Conversationdatasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Conversationdatasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Conversationdatasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32486,8 +32896,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationdatasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32542,11 +32954,11 @@ export namespace dialogflow_v2 { importConversationData( params: Params$Resource$Projects$Locations$Conversationdatasets$Importconversationdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importConversationData( params?: Params$Resource$Projects$Locations$Conversationdatasets$Importconversationdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importConversationData( params: Params$Resource$Projects$Locations$Conversationdatasets$Importconversationdata, options: StreamMethodOptions | BodyResponseCallback, @@ -32581,8 +32993,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationdatasets$Importconversationdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32638,11 +33050,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Conversationdatasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversationdatasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversationdatasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32677,8 +33091,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationdatasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32802,11 +33218,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Conversationmodels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Conversationmodels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Conversationmodels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -32841,8 +33257,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationmodels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32898,11 +33314,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Conversationmodels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Conversationmodels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Conversationmodels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -32937,8 +33353,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationmodels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32991,11 +33407,11 @@ export namespace dialogflow_v2 { deploy( params: Params$Resource$Projects$Locations$Conversationmodels$Deploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params?: Params$Resource$Projects$Locations$Conversationmodels$Deploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params: Params$Resource$Projects$Locations$Conversationmodels$Deploy, options: StreamMethodOptions | BodyResponseCallback, @@ -33030,8 +33446,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationmodels$Deploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33084,11 +33500,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Conversationmodels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Conversationmodels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Conversationmodels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33123,8 +33541,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationmodels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33179,11 +33599,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Conversationmodels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversationmodels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversationmodels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33218,8 +33640,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationmodels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33277,11 +33701,11 @@ export namespace dialogflow_v2 { undeploy( params: Params$Resource$Projects$Locations$Conversationmodels$Undeploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undeploy( params?: Params$Resource$Projects$Locations$Conversationmodels$Undeploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undeploy( params: Params$Resource$Projects$Locations$Conversationmodels$Undeploy, options: StreamMethodOptions | BodyResponseCallback, @@ -33316,8 +33740,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationmodels$Undeploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33446,11 +33870,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Conversationmodels$Evaluations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Conversationmodels$Evaluations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Conversationmodels$Evaluations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -33485,8 +33909,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationmodels$Evaluations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33542,11 +33966,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Conversationmodels$Evaluations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Conversationmodels$Evaluations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Conversationmodels$Evaluations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33581,8 +34007,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationmodels$Evaluations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33637,11 +34065,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Conversationmodels$Evaluations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversationmodels$Evaluations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversationmodels$Evaluations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33676,8 +34106,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationmodels$Evaluations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33777,11 +34209,11 @@ export namespace dialogflow_v2 { clearSuggestionFeatureConfig( params: Params$Resource$Projects$Locations$Conversationprofiles$Clearsuggestionfeatureconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clearSuggestionFeatureConfig( params?: Params$Resource$Projects$Locations$Conversationprofiles$Clearsuggestionfeatureconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clearSuggestionFeatureConfig( params: Params$Resource$Projects$Locations$Conversationprofiles$Clearsuggestionfeatureconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -33816,8 +34248,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Clearsuggestionfeatureconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33873,11 +34305,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Conversationprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Conversationprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Conversationprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -33912,8 +34346,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33971,11 +34407,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Conversationprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Conversationprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Conversationprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34006,8 +34442,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34060,11 +34496,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Conversationprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Conversationprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Conversationprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34099,8 +34537,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34155,11 +34595,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Conversationprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversationprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversationprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34194,8 +34636,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34253,11 +34697,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Conversationprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Conversationprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Conversationprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -34292,8 +34738,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34348,11 +34796,11 @@ export namespace dialogflow_v2 { setSuggestionFeatureConfig( params: Params$Resource$Projects$Locations$Conversationprofiles$Setsuggestionfeatureconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSuggestionFeatureConfig( params?: Params$Resource$Projects$Locations$Conversationprofiles$Setsuggestionfeatureconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSuggestionFeatureConfig( params: Params$Resource$Projects$Locations$Conversationprofiles$Setsuggestionfeatureconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -34387,8 +34835,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Setsuggestionfeatureconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34544,11 +34992,13 @@ export namespace dialogflow_v2 { complete( params: Params$Resource$Projects$Locations$Conversations$Complete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; complete( params?: Params$Resource$Projects$Locations$Conversations$Complete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; complete( params: Params$Resource$Projects$Locations$Conversations$Complete, options: StreamMethodOptions | BodyResponseCallback, @@ -34583,8 +35033,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Complete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34642,11 +35094,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -34681,8 +35135,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34739,11 +35195,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34778,8 +35236,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34833,11 +35293,13 @@ export namespace dialogflow_v2 { ingestContextReferences( params: Params$Resource$Projects$Locations$Conversations$Ingestcontextreferences, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ingestContextReferences( params?: Params$Resource$Projects$Locations$Conversations$Ingestcontextreferences, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; ingestContextReferences( params: Params$Resource$Projects$Locations$Conversations$Ingestcontextreferences, options: StreamMethodOptions | BodyResponseCallback, @@ -34872,8 +35334,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Ingestcontextreferences; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34930,11 +35394,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34969,8 +35435,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35101,11 +35569,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Conversations$Messages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversations$Messages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversations$Messages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35140,8 +35610,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Messages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35231,11 +35703,13 @@ export namespace dialogflow_v2 { analyzeContent( params: Params$Resource$Projects$Locations$Conversations$Participants$Analyzecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeContent( params?: Params$Resource$Projects$Locations$Conversations$Participants$Analyzecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; analyzeContent( params: Params$Resource$Projects$Locations$Conversations$Participants$Analyzecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -35270,8 +35744,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Analyzecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35329,11 +35805,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Conversations$Participants$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Conversations$Participants$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Conversations$Participants$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -35368,8 +35846,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35427,11 +35907,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Conversations$Participants$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Conversations$Participants$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Conversations$Participants$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35466,8 +35948,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35522,11 +36006,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Conversations$Participants$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversations$Participants$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversations$Participants$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35561,8 +36047,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35620,11 +36108,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Conversations$Participants$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Conversations$Participants$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Conversations$Participants$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -35659,8 +36149,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35785,11 +36277,13 @@ export namespace dialogflow_v2 { suggestArticles( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestarticles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestArticles( params?: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestarticles, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestArticles( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestarticles, options: StreamMethodOptions | BodyResponseCallback, @@ -35824,8 +36318,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestarticles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35882,11 +36378,13 @@ export namespace dialogflow_v2 { suggestFaqAnswers( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestfaqanswers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestFaqAnswers( params?: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestfaqanswers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestFaqAnswers( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestfaqanswers, options: StreamMethodOptions | BodyResponseCallback, @@ -35921,8 +36419,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestfaqanswers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35979,11 +36479,13 @@ export namespace dialogflow_v2 { suggestKnowledgeAssist( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestknowledgeassist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestKnowledgeAssist( params?: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestknowledgeassist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestKnowledgeAssist( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestknowledgeassist, options: StreamMethodOptions | BodyResponseCallback, @@ -36018,8 +36520,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestknowledgeassist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36076,11 +36580,13 @@ export namespace dialogflow_v2 { suggestSmartReplies( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestsmartreplies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestSmartReplies( params?: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestsmartreplies, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestSmartReplies( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestsmartreplies, options: StreamMethodOptions | BodyResponseCallback, @@ -36115,8 +36621,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestsmartreplies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36229,11 +36737,13 @@ export namespace dialogflow_v2 { generate( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Projects$Locations$Conversations$Suggestions$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generate( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -36268,8 +36778,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Suggestions$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36327,11 +36839,13 @@ export namespace dialogflow_v2 { searchKnowledge( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Searchknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchKnowledge( params?: Params$Resource$Projects$Locations$Conversations$Suggestions$Searchknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchKnowledge( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Searchknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -36366,8 +36880,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Suggestions$Searchknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36424,11 +36940,13 @@ export namespace dialogflow_v2 { suggestConversationSummary( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Suggestconversationsummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestConversationSummary( params?: Params$Resource$Projects$Locations$Conversations$Suggestions$Suggestconversationsummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestConversationSummary( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Suggestconversationsummary, options: StreamMethodOptions | BodyResponseCallback, @@ -36463,8 +36981,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Suggestions$Suggestconversationsummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36566,11 +37086,11 @@ export namespace dialogflow_v2 { initialize( params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initialize( params?: Params$Resource$Projects$Locations$Encryptionspec$Initialize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initialize( params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, options: StreamMethodOptions | BodyResponseCallback, @@ -36605,8 +37125,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Encryptionspec$Initialize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36682,11 +37202,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Generators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Generators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Generators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -36721,8 +37243,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36779,11 +37303,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Generators$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Generators$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Generators$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -36814,8 +37338,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generators$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36867,11 +37391,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Generators$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Generators$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Generators$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36906,8 +37432,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generators$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36961,11 +37489,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Generators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Generators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Generators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37000,8 +37530,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37058,11 +37590,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Generators$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Generators$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Generators$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -37097,8 +37631,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generators$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37225,11 +37761,13 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Knowledgebases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Knowledgebases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Knowledgebases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -37264,8 +37802,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37322,11 +37862,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Knowledgebases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Knowledgebases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Knowledgebases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -37357,8 +37897,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37410,11 +37950,13 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Knowledgebases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Knowledgebases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Knowledgebases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37449,8 +37991,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37504,11 +38048,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Knowledgebases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Knowledgebases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Knowledgebases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37543,8 +38089,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37601,11 +38149,13 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Knowledgebases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Knowledgebases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Knowledgebases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -37640,8 +38190,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37768,11 +38320,11 @@ export namespace dialogflow_v2 { create( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -37807,8 +38359,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37864,11 +38416,11 @@ export namespace dialogflow_v2 { delete( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -37903,8 +38455,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37957,11 +38509,11 @@ export namespace dialogflow_v2 { export( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -37996,8 +38548,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38050,11 +38602,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38089,8 +38641,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38145,11 +38697,11 @@ export namespace dialogflow_v2 { import( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -38184,8 +38736,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38241,11 +38793,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38280,8 +38834,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38339,11 +38895,11 @@ export namespace dialogflow_v2 { patch( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -38378,8 +38934,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38432,11 +38988,11 @@ export namespace dialogflow_v2 { reload( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Reload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reload( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Reload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reload( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Reload, options: StreamMethodOptions | BodyResponseCallback, @@ -38471,8 +39027,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Reload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38630,11 +39186,11 @@ export namespace dialogflow_v2 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -38665,8 +39221,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38718,11 +39274,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38757,8 +39313,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38810,11 +39366,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38849,8 +39407,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38948,11 +39508,13 @@ export namespace dialogflow_v2 { generate( params: Params$Resource$Projects$Locations$Statelesssuggestion$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Projects$Locations$Statelesssuggestion$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generate( params: Params$Resource$Projects$Locations$Statelesssuggestion$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -38987,8 +39549,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Statelesssuggestion$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39065,11 +39629,13 @@ export namespace dialogflow_v2 { generateStatelessSummary( params: Params$Resource$Projects$Locations$Suggestions$Generatestatelesssummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateStatelessSummary( params?: Params$Resource$Projects$Locations$Suggestions$Generatestatelesssummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateStatelessSummary( params: Params$Resource$Projects$Locations$Suggestions$Generatestatelesssummary, options: StreamMethodOptions | BodyResponseCallback, @@ -39104,8 +39670,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Suggestions$Generatestatelesssummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39162,11 +39730,13 @@ export namespace dialogflow_v2 { searchKnowledge( params: Params$Resource$Projects$Locations$Suggestions$Searchknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchKnowledge( params?: Params$Resource$Projects$Locations$Suggestions$Searchknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchKnowledge( params: Params$Resource$Projects$Locations$Suggestions$Searchknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -39201,8 +39771,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Suggestions$Searchknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39291,11 +39863,11 @@ export namespace dialogflow_v2 { cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -39326,8 +39898,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39379,11 +39951,11 @@ export namespace dialogflow_v2 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39418,8 +39990,8 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39471,11 +40043,13 @@ export namespace dialogflow_v2 { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -39510,8 +40084,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39609,11 +40185,13 @@ export namespace dialogflow_v2 { generateStatelessSummary( params: Params$Resource$Projects$Suggestions$Generatestatelesssummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateStatelessSummary( params?: Params$Resource$Projects$Suggestions$Generatestatelesssummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateStatelessSummary( params: Params$Resource$Projects$Suggestions$Generatestatelesssummary, options: StreamMethodOptions | BodyResponseCallback, @@ -39648,8 +40226,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Suggestions$Generatestatelesssummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39706,11 +40286,13 @@ export namespace dialogflow_v2 { searchKnowledge( params: Params$Resource$Projects$Suggestions$Searchknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchKnowledge( params?: Params$Resource$Projects$Suggestions$Searchknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchKnowledge( params: Params$Resource$Projects$Suggestions$Searchknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -39745,8 +40327,10 @@ export namespace dialogflow_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Suggestions$Searchknowledge; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dialogflow/v2beta1.ts b/src/apis/dialogflow/v2beta1.ts index 2c1eda88844..680068c8c19 100644 --- a/src/apis/dialogflow/v2beta1.ts +++ b/src/apis/dialogflow/v2beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5239,6 +5239,10 @@ export namespace dialogflow_v2beta1 { * The resource name of the existing created generator. Format: `projects//locations//generators/` */ generatorName?: string | null; + /** + * Optional. Name of the CX SecuritySettings which is used to redact generated response. If this field is empty, try to fetch v2 security_settings, which is a project level setting. If this field is empty and no v2 security_settings set up in this project, no redaction will be done. Format: `projects//locations//securitySettings/`. + */ + securitySettings?: string | null; /** * Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here. */ @@ -10741,11 +10745,11 @@ export namespace dialogflow_v2beta1 { deleteAgent( params: Params$Resource$Projects$Deleteagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAgent( params?: Params$Resource$Projects$Deleteagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAgent( params: Params$Resource$Projects$Deleteagent, options: StreamMethodOptions | BodyResponseCallback, @@ -10778,8 +10782,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deleteagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10834,11 +10838,13 @@ export namespace dialogflow_v2beta1 { getAgent( params: Params$Resource$Projects$Getagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAgent( params?: Params$Resource$Projects$Getagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAgent( params: Params$Resource$Projects$Getagent, options: StreamMethodOptions | BodyResponseCallback, @@ -10873,8 +10879,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10931,11 +10939,13 @@ export namespace dialogflow_v2beta1 { setAgent( params: Params$Resource$Projects$Setagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAgent( params?: Params$Resource$Projects$Setagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setAgent( params: Params$Resource$Projects$Setagent, options: StreamMethodOptions | BodyResponseCallback, @@ -10970,8 +10980,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Setagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11082,11 +11094,11 @@ export namespace dialogflow_v2beta1 { export( params: Params$Resource$Projects$Agent$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Agent$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Agent$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -11121,8 +11133,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11177,11 +11189,13 @@ export namespace dialogflow_v2beta1 { getFulfillment( params: Params$Resource$Projects$Agent$Getfulfillment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFulfillment( params?: Params$Resource$Projects$Agent$Getfulfillment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getFulfillment( params: Params$Resource$Projects$Agent$Getfulfillment, options: StreamMethodOptions | BodyResponseCallback, @@ -11216,8 +11230,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Getfulfillment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11271,11 +11287,13 @@ export namespace dialogflow_v2beta1 { getValidationResult( params: Params$Resource$Projects$Agent$Getvalidationresult, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getValidationResult( params?: Params$Resource$Projects$Agent$Getvalidationresult, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getValidationResult( params: Params$Resource$Projects$Agent$Getvalidationresult, options: StreamMethodOptions | BodyResponseCallback, @@ -11310,8 +11328,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Getvalidationresult; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11367,11 +11387,11 @@ export namespace dialogflow_v2beta1 { import( params: Params$Resource$Projects$Agent$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Agent$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Agent$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -11406,8 +11426,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11462,11 +11482,11 @@ export namespace dialogflow_v2beta1 { restore( params: Params$Resource$Projects$Agent$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Agent$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Agent$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -11501,8 +11521,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11557,11 +11577,13 @@ export namespace dialogflow_v2beta1 { search( params: Params$Resource$Projects$Agent$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Agent$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Agent$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -11596,8 +11618,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11654,11 +11678,11 @@ export namespace dialogflow_v2beta1 { train( params: Params$Resource$Projects$Agent$Train, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; train( params?: Params$Resource$Projects$Agent$Train, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; train( params: Params$Resource$Projects$Agent$Train, options: StreamMethodOptions | BodyResponseCallback, @@ -11693,8 +11717,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Train; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11749,11 +11773,13 @@ export namespace dialogflow_v2beta1 { updateFulfillment( params: Params$Resource$Projects$Agent$Updatefulfillment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateFulfillment( params?: Params$Resource$Projects$Agent$Updatefulfillment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateFulfillment( params: Params$Resource$Projects$Agent$Updatefulfillment, options: StreamMethodOptions | BodyResponseCallback, @@ -11788,8 +11814,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Updatefulfillment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11952,11 +11980,11 @@ export namespace dialogflow_v2beta1 { batchDelete( params: Params$Resource$Projects$Agent$Entitytypes$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Agent$Entitytypes$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Agent$Entitytypes$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -11991,8 +12019,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12046,11 +12074,11 @@ export namespace dialogflow_v2beta1 { batchUpdate( params: Params$Resource$Projects$Agent$Entitytypes$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Agent$Entitytypes$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Agent$Entitytypes$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -12085,8 +12113,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12140,11 +12168,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Agent$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12179,8 +12209,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12237,11 +12269,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Agent$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12272,8 +12304,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12325,11 +12357,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Agent$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12364,8 +12398,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12419,11 +12455,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Agent$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12458,8 +12496,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12516,11 +12556,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Agent$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12555,8 +12597,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12715,11 +12759,11 @@ export namespace dialogflow_v2beta1 { batchCreate( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -12754,8 +12798,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12811,11 +12855,11 @@ export namespace dialogflow_v2beta1 { batchDelete( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -12850,8 +12894,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12907,11 +12951,11 @@ export namespace dialogflow_v2beta1 { batchUpdate( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -12946,8 +12990,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13053,11 +13097,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Agent$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13092,8 +13138,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13150,11 +13198,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Agent$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13185,8 +13233,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13238,11 +13286,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Agent$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13277,8 +13327,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13332,11 +13384,13 @@ export namespace dialogflow_v2beta1 { getHistory( params: Params$Resource$Projects$Agent$Environments$Gethistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHistory( params?: Params$Resource$Projects$Agent$Environments$Gethistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getHistory( params: Params$Resource$Projects$Agent$Environments$Gethistory, options: StreamMethodOptions | BodyResponseCallback, @@ -13371,8 +13425,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Gethistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13429,11 +13485,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Agent$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13468,8 +13526,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13526,11 +13586,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Agent$Environments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Environments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Environments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13565,8 +13627,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13708,11 +13772,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Agent$Environments$Intents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Environments$Intents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Environments$Intents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13747,8 +13813,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Intents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13857,11 +13925,11 @@ export namespace dialogflow_v2beta1 { deleteContexts( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts, options: StreamMethodOptions | BodyResponseCallback, @@ -13894,8 +13962,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13951,11 +14019,13 @@ export namespace dialogflow_v2beta1 { detectIntent( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -13990,8 +14060,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14076,11 +14148,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14115,8 +14189,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14174,11 +14250,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14209,8 +14285,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14263,11 +14339,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14302,8 +14380,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14358,11 +14438,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14397,8 +14479,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14456,11 +14540,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14495,8 +14581,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14616,11 +14704,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14655,8 +14745,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14714,11 +14806,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14749,8 +14841,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14803,11 +14895,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14842,8 +14936,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14898,11 +14994,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14937,8 +15035,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14996,11 +15096,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15035,8 +15137,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15156,11 +15260,11 @@ export namespace dialogflow_v2beta1 { batchDelete( params: Params$Resource$Projects$Agent$Intents$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Agent$Intents$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Agent$Intents$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -15195,8 +15299,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15251,11 +15355,11 @@ export namespace dialogflow_v2beta1 { batchUpdate( params: Params$Resource$Projects$Agent$Intents$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Agent$Intents$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Agent$Intents$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -15290,8 +15394,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15346,11 +15450,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Agent$Intents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Intents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Intents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15385,8 +15491,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15443,11 +15551,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Agent$Intents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Intents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Intents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15478,8 +15586,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15531,11 +15639,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Agent$Intents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Intents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Intents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15570,8 +15680,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15625,11 +15737,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Agent$Intents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Intents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Intents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15664,8 +15778,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15722,11 +15838,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Agent$Intents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Intents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Intents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15761,8 +15879,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Intents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15941,11 +16061,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Agent$Knowledgebases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Knowledgebases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Knowledgebases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15980,8 +16102,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16038,11 +16162,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Agent$Knowledgebases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Knowledgebases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Knowledgebases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16073,8 +16197,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16126,11 +16250,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Agent$Knowledgebases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Knowledgebases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Knowledgebases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16165,8 +16291,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16220,11 +16348,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Agent$Knowledgebases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Knowledgebases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Knowledgebases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16259,8 +16389,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16317,11 +16449,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Agent$Knowledgebases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Knowledgebases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Knowledgebases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16356,8 +16490,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16484,11 +16620,11 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16523,8 +16659,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16580,11 +16716,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16619,8 +16755,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16673,11 +16809,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16712,8 +16850,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16768,11 +16908,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16807,8 +16949,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16866,11 +17010,11 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16905,8 +17049,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16959,11 +17103,11 @@ export namespace dialogflow_v2beta1 { reload( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Reload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reload( params?: Params$Resource$Projects$Agent$Knowledgebases$Documents$Reload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reload( params: Params$Resource$Projects$Agent$Knowledgebases$Documents$Reload, options: StreamMethodOptions | BodyResponseCallback, @@ -16998,8 +17142,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Knowledgebases$Documents$Reload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17148,11 +17292,11 @@ export namespace dialogflow_v2beta1 { deleteContexts( params: Params$Resource$Projects$Agent$Sessions$Deletecontexts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params?: Params$Resource$Projects$Agent$Sessions$Deletecontexts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params: Params$Resource$Projects$Agent$Sessions$Deletecontexts, options: StreamMethodOptions | BodyResponseCallback, @@ -17185,8 +17329,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Deletecontexts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17241,11 +17385,13 @@ export namespace dialogflow_v2beta1 { detectIntent( params: Params$Resource$Projects$Agent$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Agent$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Agent$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -17280,8 +17426,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17365,11 +17513,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Agent$Sessions$Contexts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Sessions$Contexts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Sessions$Contexts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17404,8 +17554,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Contexts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17462,11 +17614,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Agent$Sessions$Contexts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Sessions$Contexts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Sessions$Contexts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17497,8 +17649,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Contexts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17550,11 +17702,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Agent$Sessions$Contexts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Sessions$Contexts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Sessions$Contexts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17589,8 +17743,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Contexts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17644,11 +17800,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Agent$Sessions$Contexts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Sessions$Contexts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Sessions$Contexts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17683,8 +17841,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Contexts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17741,11 +17901,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Agent$Sessions$Contexts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Sessions$Contexts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Sessions$Contexts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17780,8 +17942,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Contexts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17900,11 +18064,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17939,8 +18105,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17998,11 +18166,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18033,8 +18201,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18087,11 +18255,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18126,8 +18296,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18181,11 +18353,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18220,8 +18394,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18278,11 +18454,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18317,8 +18495,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18438,11 +18618,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Agent$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agent$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Agent$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18477,8 +18659,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18535,11 +18719,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Agent$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agent$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agent$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18570,8 +18754,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18623,11 +18807,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Agent$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agent$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Agent$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18662,8 +18848,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18717,11 +18905,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Agent$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agent$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Agent$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18756,8 +18946,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18814,11 +19006,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Agent$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agent$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Agent$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18853,8 +19047,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agent$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18973,11 +19169,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Answerrecords$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Answerrecords$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Answerrecords$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19012,8 +19210,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Answerrecords$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19067,11 +19267,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Answerrecords$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Answerrecords$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Answerrecords$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19106,8 +19308,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Answerrecords$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19164,11 +19368,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Answerrecords$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Answerrecords$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Answerrecords$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19203,8 +19409,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Answerrecords$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19308,11 +19516,11 @@ export namespace dialogflow_v2beta1 { clearSuggestionFeatureConfig( params: Params$Resource$Projects$Conversationprofiles$Clearsuggestionfeatureconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clearSuggestionFeatureConfig( params?: Params$Resource$Projects$Conversationprofiles$Clearsuggestionfeatureconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clearSuggestionFeatureConfig( params: Params$Resource$Projects$Conversationprofiles$Clearsuggestionfeatureconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -19347,8 +19555,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Clearsuggestionfeatureconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19404,11 +19612,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Conversationprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Conversationprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Conversationprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19443,8 +19653,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19501,11 +19713,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Conversationprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Conversationprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Conversationprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19536,8 +19748,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19589,11 +19801,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Conversationprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Conversationprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Conversationprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19628,8 +19842,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19683,11 +19899,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Conversationprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversationprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversationprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19722,8 +19940,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19780,11 +20000,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Conversationprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Conversationprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Conversationprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19819,8 +20041,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19874,11 +20098,11 @@ export namespace dialogflow_v2beta1 { setSuggestionFeatureConfig( params: Params$Resource$Projects$Conversationprofiles$Setsuggestionfeatureconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSuggestionFeatureConfig( params?: Params$Resource$Projects$Conversationprofiles$Setsuggestionfeatureconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSuggestionFeatureConfig( params: Params$Resource$Projects$Conversationprofiles$Setsuggestionfeatureconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -19913,8 +20137,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversationprofiles$Setsuggestionfeatureconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20071,11 +20295,13 @@ export namespace dialogflow_v2beta1 { complete( params: Params$Resource$Projects$Conversations$Complete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; complete( params?: Params$Resource$Projects$Conversations$Complete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; complete( params: Params$Resource$Projects$Conversations$Complete, options: StreamMethodOptions | BodyResponseCallback, @@ -20110,8 +20336,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Complete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20168,11 +20396,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20207,8 +20437,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20265,11 +20497,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20304,8 +20538,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20359,11 +20595,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20398,8 +20636,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20518,11 +20758,13 @@ export namespace dialogflow_v2beta1 { batchCreate( params: Params$Resource$Projects$Conversations$Messages$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Conversations$Messages$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchCreate( params: Params$Resource$Projects$Conversations$Messages$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -20557,8 +20799,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Messages$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20616,11 +20860,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Conversations$Messages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversations$Messages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversations$Messages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20655,8 +20901,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Messages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20757,11 +21005,13 @@ export namespace dialogflow_v2beta1 { analyzeContent( params: Params$Resource$Projects$Conversations$Participants$Analyzecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeContent( params?: Params$Resource$Projects$Conversations$Participants$Analyzecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; analyzeContent( params: Params$Resource$Projects$Conversations$Participants$Analyzecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -20796,8 +21046,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Analyzecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20855,11 +21107,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Conversations$Participants$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Conversations$Participants$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Conversations$Participants$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20894,8 +21148,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20953,11 +21209,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Conversations$Participants$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Conversations$Participants$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Conversations$Participants$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20992,8 +21250,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21047,11 +21307,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Conversations$Participants$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversations$Participants$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversations$Participants$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21086,8 +21348,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21144,11 +21408,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Conversations$Participants$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Conversations$Participants$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Conversations$Participants$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21183,8 +21449,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21309,11 +21577,13 @@ export namespace dialogflow_v2beta1 { compile( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Compile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; compile( params?: Params$Resource$Projects$Conversations$Participants$Suggestions$Compile, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; compile( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Compile, options: StreamMethodOptions | BodyResponseCallback, @@ -21348,8 +21618,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Suggestions$Compile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21407,11 +21679,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Conversations$Participants$Suggestions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Conversations$Participants$Suggestions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Conversations$Participants$Suggestions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21446,8 +21720,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Suggestions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21505,11 +21781,13 @@ export namespace dialogflow_v2beta1 { suggestArticles( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestarticles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestArticles( params?: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestarticles, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestArticles( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestarticles, options: StreamMethodOptions | BodyResponseCallback, @@ -21544,8 +21822,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestarticles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21602,11 +21882,13 @@ export namespace dialogflow_v2beta1 { suggestFaqAnswers( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestfaqanswers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestFaqAnswers( params?: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestfaqanswers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestFaqAnswers( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestfaqanswers, options: StreamMethodOptions | BodyResponseCallback, @@ -21641,8 +21923,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestfaqanswers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21699,11 +21983,13 @@ export namespace dialogflow_v2beta1 { suggestKnowledgeAssist( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestknowledgeassist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestKnowledgeAssist( params?: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestknowledgeassist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestKnowledgeAssist( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestknowledgeassist, options: StreamMethodOptions | BodyResponseCallback, @@ -21738,8 +22024,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestknowledgeassist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21796,11 +22084,13 @@ export namespace dialogflow_v2beta1 { suggestSmartReplies( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestsmartreplies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestSmartReplies( params?: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestsmartreplies, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestSmartReplies( params: Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestsmartreplies, options: StreamMethodOptions | BodyResponseCallback, @@ -21835,8 +22125,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Participants$Suggestions$Suggestsmartreplies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21980,11 +22272,13 @@ export namespace dialogflow_v2beta1 { generate( params: Params$Resource$Projects$Conversations$Suggestions$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Projects$Conversations$Suggestions$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generate( params: Params$Resource$Projects$Conversations$Suggestions$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -22019,8 +22313,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Suggestions$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22077,11 +22373,13 @@ export namespace dialogflow_v2beta1 { searchKnowledge( params: Params$Resource$Projects$Conversations$Suggestions$Searchknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchKnowledge( params?: Params$Resource$Projects$Conversations$Suggestions$Searchknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchKnowledge( params: Params$Resource$Projects$Conversations$Suggestions$Searchknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -22116,8 +22414,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Suggestions$Searchknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22174,11 +22474,13 @@ export namespace dialogflow_v2beta1 { suggestConversationSummary( params: Params$Resource$Projects$Conversations$Suggestions$Suggestconversationsummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestConversationSummary( params?: Params$Resource$Projects$Conversations$Suggestions$Suggestconversationsummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestConversationSummary( params: Params$Resource$Projects$Conversations$Suggestions$Suggestconversationsummary, options: StreamMethodOptions | BodyResponseCallback, @@ -22213,8 +22515,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Conversations$Suggestions$Suggestconversationsummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22316,11 +22620,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Generators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Generators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Generators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22355,8 +22661,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Generators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22413,11 +22721,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Generators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Generators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Generators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22452,8 +22762,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Generators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22553,11 +22865,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Knowledgebases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Knowledgebases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Knowledgebases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22592,8 +22906,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22650,11 +22966,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Knowledgebases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Knowledgebases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Knowledgebases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22685,8 +23001,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22738,11 +23054,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Knowledgebases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Knowledgebases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Knowledgebases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22777,8 +23095,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22832,11 +23152,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Knowledgebases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Knowledgebases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Knowledgebases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22871,8 +23193,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22929,11 +23253,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Knowledgebases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Knowledgebases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Knowledgebases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22968,8 +23294,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23096,11 +23424,11 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Knowledgebases$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Knowledgebases$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Knowledgebases$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23135,8 +23463,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23191,11 +23519,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Knowledgebases$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Knowledgebases$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Knowledgebases$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23230,8 +23558,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23283,11 +23611,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Knowledgebases$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Knowledgebases$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Knowledgebases$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23322,8 +23652,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23377,11 +23709,11 @@ export namespace dialogflow_v2beta1 { import( params: Params$Resource$Projects$Knowledgebases$Documents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Knowledgebases$Documents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Knowledgebases$Documents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -23416,8 +23748,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23472,11 +23804,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Knowledgebases$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Knowledgebases$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Knowledgebases$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23511,8 +23845,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23569,11 +23905,11 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Knowledgebases$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Knowledgebases$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Knowledgebases$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23608,8 +23944,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23661,11 +23997,11 @@ export namespace dialogflow_v2beta1 { reload( params: Params$Resource$Projects$Knowledgebases$Documents$Reload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reload( params?: Params$Resource$Projects$Knowledgebases$Documents$Reload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reload( params: Params$Resource$Projects$Knowledgebases$Documents$Reload, options: StreamMethodOptions | BodyResponseCallback, @@ -23700,8 +24036,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Knowledgebases$Documents$Reload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23895,11 +24231,11 @@ export namespace dialogflow_v2beta1 { deleteAgent( params: Params$Resource$Projects$Locations$Deleteagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAgent( params?: Params$Resource$Projects$Locations$Deleteagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAgent( params: Params$Resource$Projects$Locations$Deleteagent, options: StreamMethodOptions | BodyResponseCallback, @@ -23932,8 +24268,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deleteagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23988,11 +24324,11 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24027,8 +24363,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24080,11 +24416,13 @@ export namespace dialogflow_v2beta1 { getAgent( params: Params$Resource$Projects$Locations$Getagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAgent( params?: Params$Resource$Projects$Locations$Getagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAgent( params: Params$Resource$Projects$Locations$Getagent, options: StreamMethodOptions | BodyResponseCallback, @@ -24119,8 +24457,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24177,11 +24517,13 @@ export namespace dialogflow_v2beta1 { getEncryptionSpec( params: Params$Resource$Projects$Locations$Getencryptionspec, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEncryptionSpec( params?: Params$Resource$Projects$Locations$Getencryptionspec, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getEncryptionSpec( params: Params$Resource$Projects$Locations$Getencryptionspec, options: StreamMethodOptions | BodyResponseCallback, @@ -24216,8 +24558,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getencryptionspec; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24271,11 +24615,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24310,8 +24656,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24368,11 +24716,13 @@ export namespace dialogflow_v2beta1 { setAgent( params: Params$Resource$Projects$Locations$Setagent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAgent( params?: Params$Resource$Projects$Locations$Setagent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setAgent( params: Params$Resource$Projects$Locations$Setagent, options: StreamMethodOptions | BodyResponseCallback, @@ -24407,8 +24757,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Setagent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24560,11 +24912,11 @@ export namespace dialogflow_v2beta1 { export( params: Params$Resource$Projects$Locations$Agent$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agent$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agent$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -24599,8 +24951,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24655,11 +25007,13 @@ export namespace dialogflow_v2beta1 { getFulfillment( params: Params$Resource$Projects$Locations$Agent$Getfulfillment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFulfillment( params?: Params$Resource$Projects$Locations$Agent$Getfulfillment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getFulfillment( params: Params$Resource$Projects$Locations$Agent$Getfulfillment, options: StreamMethodOptions | BodyResponseCallback, @@ -24694,8 +25048,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Getfulfillment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24749,11 +25105,13 @@ export namespace dialogflow_v2beta1 { getValidationResult( params: Params$Resource$Projects$Locations$Agent$Getvalidationresult, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getValidationResult( params?: Params$Resource$Projects$Locations$Agent$Getvalidationresult, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getValidationResult( params: Params$Resource$Projects$Locations$Agent$Getvalidationresult, options: StreamMethodOptions | BodyResponseCallback, @@ -24788,8 +25146,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Getvalidationresult; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24846,11 +25206,11 @@ export namespace dialogflow_v2beta1 { import( params: Params$Resource$Projects$Locations$Agent$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agent$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agent$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -24885,8 +25245,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24941,11 +25301,11 @@ export namespace dialogflow_v2beta1 { restore( params: Params$Resource$Projects$Locations$Agent$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Agent$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Agent$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -24980,8 +25340,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25036,11 +25396,13 @@ export namespace dialogflow_v2beta1 { search( params: Params$Resource$Projects$Locations$Agent$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Agent$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Agent$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -25075,8 +25437,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25133,11 +25497,11 @@ export namespace dialogflow_v2beta1 { train( params: Params$Resource$Projects$Locations$Agent$Train, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; train( params?: Params$Resource$Projects$Locations$Agent$Train, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; train( params: Params$Resource$Projects$Locations$Agent$Train, options: StreamMethodOptions | BodyResponseCallback, @@ -25172,8 +25536,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Train; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25228,11 +25592,13 @@ export namespace dialogflow_v2beta1 { updateFulfillment( params: Params$Resource$Projects$Locations$Agent$Updatefulfillment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateFulfillment( params?: Params$Resource$Projects$Locations$Agent$Updatefulfillment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateFulfillment( params: Params$Resource$Projects$Locations$Agent$Updatefulfillment, options: StreamMethodOptions | BodyResponseCallback, @@ -25267,8 +25633,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Updatefulfillment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25433,11 +25801,11 @@ export namespace dialogflow_v2beta1 { batchDelete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -25472,8 +25840,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25528,11 +25896,11 @@ export namespace dialogflow_v2beta1 { batchUpdate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -25567,8 +25935,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25623,11 +25991,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -25662,8 +26032,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25721,11 +26093,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25756,8 +26128,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25810,11 +26182,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25849,8 +26223,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25904,11 +26280,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Agent$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25943,8 +26321,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26002,11 +26382,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26041,8 +26423,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26202,11 +26586,11 @@ export namespace dialogflow_v2beta1 { batchCreate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -26241,8 +26625,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26298,11 +26682,11 @@ export namespace dialogflow_v2beta1 { batchDelete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -26337,8 +26721,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26394,11 +26778,11 @@ export namespace dialogflow_v2beta1 { batchUpdate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -26433,8 +26817,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Entitytypes$Entities$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26542,11 +26926,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Agent$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -26581,8 +26967,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26640,11 +27028,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Agent$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26675,8 +27063,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26729,11 +27117,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Agent$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26768,8 +27158,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26824,11 +27216,13 @@ export namespace dialogflow_v2beta1 { getHistory( params: Params$Resource$Projects$Locations$Agent$Environments$Gethistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHistory( params?: Params$Resource$Projects$Locations$Agent$Environments$Gethistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getHistory( params: Params$Resource$Projects$Locations$Agent$Environments$Gethistory, options: StreamMethodOptions | BodyResponseCallback, @@ -26863,8 +27257,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Gethistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26922,11 +27318,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Agent$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26961,8 +27359,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27020,11 +27420,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Agent$Environments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Environments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Environments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -27059,8 +27461,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27203,11 +27607,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Agent$Environments$Intents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Environments$Intents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Environments$Intents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27242,8 +27648,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Intents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27354,11 +27762,11 @@ export namespace dialogflow_v2beta1 { deleteContexts( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Deletecontexts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Deletecontexts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Deletecontexts, options: StreamMethodOptions | BodyResponseCallback, @@ -27391,8 +27799,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Deletecontexts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27448,11 +27856,13 @@ export namespace dialogflow_v2beta1 { detectIntent( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -27487,8 +27897,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27573,11 +27985,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -27612,8 +28026,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27671,11 +28087,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27706,8 +28122,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27760,11 +28176,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27799,8 +28217,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27855,11 +28275,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27894,8 +28316,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27953,11 +28377,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -27992,8 +28418,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Contexts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28113,11 +28541,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28152,8 +28582,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28211,11 +28643,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28246,8 +28678,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28300,11 +28732,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28339,8 +28773,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28395,11 +28831,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28434,8 +28872,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28493,11 +28933,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28532,8 +28974,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Environments$Users$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28653,11 +29097,11 @@ export namespace dialogflow_v2beta1 { batchDelete( params: Params$Resource$Projects$Locations$Agent$Intents$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Agent$Intents$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Agent$Intents$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -28692,8 +29136,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28749,11 +29193,11 @@ export namespace dialogflow_v2beta1 { batchUpdate( params: Params$Resource$Projects$Locations$Agent$Intents$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Locations$Agent$Intents$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Locations$Agent$Intents$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -28788,8 +29232,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28845,11 +29289,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Agent$Intents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Intents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Intents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28884,8 +29330,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28942,11 +29390,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Agent$Intents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Intents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Intents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28977,8 +29425,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29030,11 +29478,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Agent$Intents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Intents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Intents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29069,8 +29519,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29124,11 +29576,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Agent$Intents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Intents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Intents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29163,8 +29617,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29221,11 +29677,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Agent$Intents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Intents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Intents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -29260,8 +29718,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Intents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29445,11 +29905,11 @@ export namespace dialogflow_v2beta1 { deleteContexts( params: Params$Resource$Projects$Locations$Agent$Sessions$Deletecontexts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params?: Params$Resource$Projects$Locations$Agent$Sessions$Deletecontexts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteContexts( params: Params$Resource$Projects$Locations$Agent$Sessions$Deletecontexts, options: StreamMethodOptions | BodyResponseCallback, @@ -29482,8 +29942,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Deletecontexts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29539,11 +29999,13 @@ export namespace dialogflow_v2beta1 { detectIntent( params: Params$Resource$Projects$Locations$Agent$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Locations$Agent$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Locations$Agent$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -29578,8 +30040,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29664,11 +30128,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -29703,8 +30169,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29762,11 +30230,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -29797,8 +30265,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29851,11 +30319,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29890,8 +30360,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29946,11 +30418,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29985,8 +30459,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Contexts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30044,11 +30520,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -30083,8 +30561,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Contexts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30204,11 +30684,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -30243,8 +30725,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30302,11 +30786,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30337,8 +30821,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30391,11 +30875,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30430,8 +30916,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30486,11 +30974,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30525,8 +31015,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30584,11 +31076,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -30623,8 +31117,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30744,11 +31240,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Agent$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agent$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agent$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -30783,8 +31281,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30841,11 +31341,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Agent$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agent$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agent$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30876,8 +31376,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30929,11 +31429,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Agent$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agent$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agent$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30968,8 +31470,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31023,11 +31527,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Agent$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agent$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agent$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31062,8 +31568,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31120,11 +31628,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Agent$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agent$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agent$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31159,8 +31669,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agent$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31279,11 +31791,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Answerrecords$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Answerrecords$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Answerrecords$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31318,8 +31832,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Answerrecords$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31373,11 +31889,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Answerrecords$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Answerrecords$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Answerrecords$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31412,8 +31930,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Answerrecords$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31470,11 +31990,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Answerrecords$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Answerrecords$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Answerrecords$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31509,8 +32031,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Answerrecords$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31614,11 +32138,11 @@ export namespace dialogflow_v2beta1 { clearSuggestionFeatureConfig( params: Params$Resource$Projects$Locations$Conversationprofiles$Clearsuggestionfeatureconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clearSuggestionFeatureConfig( params?: Params$Resource$Projects$Locations$Conversationprofiles$Clearsuggestionfeatureconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clearSuggestionFeatureConfig( params: Params$Resource$Projects$Locations$Conversationprofiles$Clearsuggestionfeatureconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -31653,8 +32177,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Clearsuggestionfeatureconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31710,11 +32234,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Conversationprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Conversationprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Conversationprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -31749,8 +32275,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31808,11 +32336,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Conversationprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Conversationprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Conversationprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31843,8 +32371,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31897,11 +32425,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Conversationprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Conversationprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Conversationprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31936,8 +32466,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31992,11 +32524,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Conversationprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversationprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversationprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32031,8 +32565,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32090,11 +32626,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Conversationprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Conversationprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Conversationprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -32129,8 +32667,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32185,11 +32725,11 @@ export namespace dialogflow_v2beta1 { setSuggestionFeatureConfig( params: Params$Resource$Projects$Locations$Conversationprofiles$Setsuggestionfeatureconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setSuggestionFeatureConfig( params?: Params$Resource$Projects$Locations$Conversationprofiles$Setsuggestionfeatureconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setSuggestionFeatureConfig( params: Params$Resource$Projects$Locations$Conversationprofiles$Setsuggestionfeatureconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -32224,8 +32764,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversationprofiles$Setsuggestionfeatureconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32382,11 +32922,13 @@ export namespace dialogflow_v2beta1 { complete( params: Params$Resource$Projects$Locations$Conversations$Complete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; complete( params?: Params$Resource$Projects$Locations$Conversations$Complete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; complete( params: Params$Resource$Projects$Locations$Conversations$Complete, options: StreamMethodOptions | BodyResponseCallback, @@ -32421,8 +32963,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Complete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32480,11 +33024,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -32519,8 +33065,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32577,11 +33125,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32616,8 +33166,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32671,11 +33223,13 @@ export namespace dialogflow_v2beta1 { ingestContextReferences( params: Params$Resource$Projects$Locations$Conversations$Ingestcontextreferences, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ingestContextReferences( params?: Params$Resource$Projects$Locations$Conversations$Ingestcontextreferences, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; ingestContextReferences( params: Params$Resource$Projects$Locations$Conversations$Ingestcontextreferences, options: StreamMethodOptions | BodyResponseCallback, @@ -32710,8 +33264,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Ingestcontextreferences; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32768,11 +33324,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32807,8 +33365,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32939,11 +33499,13 @@ export namespace dialogflow_v2beta1 { batchCreate( params: Params$Resource$Projects$Locations$Conversations$Messages$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Conversations$Messages$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchCreate( params: Params$Resource$Projects$Locations$Conversations$Messages$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -32978,8 +33540,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Messages$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33037,11 +33601,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Conversations$Messages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversations$Messages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversations$Messages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33076,8 +33642,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Messages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33179,11 +33747,13 @@ export namespace dialogflow_v2beta1 { analyzeContent( params: Params$Resource$Projects$Locations$Conversations$Participants$Analyzecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeContent( params?: Params$Resource$Projects$Locations$Conversations$Participants$Analyzecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; analyzeContent( params: Params$Resource$Projects$Locations$Conversations$Participants$Analyzecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -33218,8 +33788,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Analyzecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33277,11 +33849,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Conversations$Participants$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Conversations$Participants$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Conversations$Participants$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -33316,8 +33890,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33375,11 +33951,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Conversations$Participants$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Conversations$Participants$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Conversations$Participants$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33414,8 +33992,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33470,11 +34050,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Conversations$Participants$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Conversations$Participants$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Conversations$Participants$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33509,8 +34091,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33568,11 +34152,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Conversations$Participants$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Conversations$Participants$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Conversations$Participants$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -33607,8 +34193,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33733,11 +34321,13 @@ export namespace dialogflow_v2beta1 { suggestArticles( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestarticles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestArticles( params?: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestarticles, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestArticles( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestarticles, options: StreamMethodOptions | BodyResponseCallback, @@ -33772,8 +34362,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestarticles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33830,11 +34422,13 @@ export namespace dialogflow_v2beta1 { suggestFaqAnswers( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestfaqanswers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestFaqAnswers( params?: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestfaqanswers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestFaqAnswers( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestfaqanswers, options: StreamMethodOptions | BodyResponseCallback, @@ -33869,8 +34463,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestfaqanswers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33927,11 +34523,13 @@ export namespace dialogflow_v2beta1 { suggestKnowledgeAssist( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestknowledgeassist, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestKnowledgeAssist( params?: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestknowledgeassist, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestKnowledgeAssist( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestknowledgeassist, options: StreamMethodOptions | BodyResponseCallback, @@ -33966,8 +34564,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestknowledgeassist; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34024,11 +34624,13 @@ export namespace dialogflow_v2beta1 { suggestSmartReplies( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestsmartreplies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestSmartReplies( params?: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestsmartreplies, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestSmartReplies( params: Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestsmartreplies, options: StreamMethodOptions | BodyResponseCallback, @@ -34063,8 +34665,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Participants$Suggestions$Suggestsmartreplies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34177,11 +34781,13 @@ export namespace dialogflow_v2beta1 { generate( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Projects$Locations$Conversations$Suggestions$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generate( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -34216,8 +34822,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Suggestions$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34274,11 +34882,13 @@ export namespace dialogflow_v2beta1 { searchKnowledge( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Searchknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchKnowledge( params?: Params$Resource$Projects$Locations$Conversations$Suggestions$Searchknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchKnowledge( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Searchknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -34313,8 +34923,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Suggestions$Searchknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34371,11 +34983,13 @@ export namespace dialogflow_v2beta1 { suggestConversationSummary( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Suggestconversationsummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggestConversationSummary( params?: Params$Resource$Projects$Locations$Conversations$Suggestions$Suggestconversationsummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suggestConversationSummary( params: Params$Resource$Projects$Locations$Conversations$Suggestions$Suggestconversationsummary, options: StreamMethodOptions | BodyResponseCallback, @@ -34410,8 +35024,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Conversations$Suggestions$Suggestconversationsummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34513,11 +35129,11 @@ export namespace dialogflow_v2beta1 { initialize( params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initialize( params?: Params$Resource$Projects$Locations$Encryptionspec$Initialize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initialize( params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, options: StreamMethodOptions | BodyResponseCallback, @@ -34552,8 +35168,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Encryptionspec$Initialize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34629,11 +35245,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Generators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Generators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Generators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -34668,8 +35286,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34726,11 +35346,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Generators$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Generators$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Generators$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34761,8 +35381,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generators$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34814,11 +35434,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Generators$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Generators$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Generators$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34853,8 +35475,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generators$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34908,11 +35532,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Generators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Generators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Generators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34947,8 +35573,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35005,11 +35633,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Generators$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Generators$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Generators$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -35044,8 +35674,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generators$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35172,11 +35804,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Knowledgebases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Knowledgebases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Knowledgebases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -35211,8 +35845,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35269,11 +35905,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Knowledgebases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Knowledgebases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Knowledgebases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -35304,8 +35940,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35357,11 +35993,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Knowledgebases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Knowledgebases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Knowledgebases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35396,8 +36034,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35451,11 +36091,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Knowledgebases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Knowledgebases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Knowledgebases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35490,8 +36132,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35548,11 +36192,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Knowledgebases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Knowledgebases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Knowledgebases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -35587,8 +36233,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35715,11 +36363,11 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -35754,8 +36402,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35811,11 +36459,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -35850,8 +36498,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35904,11 +36552,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35943,8 +36593,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35999,11 +36651,11 @@ export namespace dialogflow_v2beta1 { import( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -36038,8 +36690,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36095,11 +36747,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36134,8 +36788,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36193,11 +36849,11 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -36232,8 +36888,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36286,11 +36942,11 @@ export namespace dialogflow_v2beta1 { reload( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Reload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reload( params?: Params$Resource$Projects$Locations$Knowledgebases$Documents$Reload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reload( params: Params$Resource$Projects$Locations$Knowledgebases$Documents$Reload, options: StreamMethodOptions | BodyResponseCallback, @@ -36325,8 +36981,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Knowledgebases$Documents$Reload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36479,11 +37135,11 @@ export namespace dialogflow_v2beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -36514,8 +37170,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36570,11 +37226,11 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36609,8 +37265,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36662,11 +37318,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36701,8 +37359,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36800,11 +37460,13 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Phonenumbers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Phonenumbers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; delete( params: Params$Resource$Projects$Locations$Phonenumbers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -36839,8 +37501,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phonenumbers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36894,11 +37558,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Phonenumbers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Phonenumbers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Phonenumbers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36933,8 +37599,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phonenumbers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36991,11 +37659,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Phonenumbers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Phonenumbers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Phonenumbers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -37030,8 +37700,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phonenumbers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37085,11 +37757,13 @@ export namespace dialogflow_v2beta1 { undelete( params: Params$Resource$Projects$Locations$Phonenumbers$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Phonenumbers$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; undelete( params: Params$Resource$Projects$Locations$Phonenumbers$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -37124,8 +37798,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phonenumbers$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37244,11 +37920,13 @@ export namespace dialogflow_v2beta1 { create( params: Params$Resource$Projects$Locations$Siptrunks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Siptrunks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Siptrunks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -37283,8 +37961,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Siptrunks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37341,11 +38021,11 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Locations$Siptrunks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Siptrunks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Siptrunks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -37376,8 +38056,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Siptrunks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37429,11 +38109,13 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Locations$Siptrunks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Siptrunks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Siptrunks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37468,8 +38150,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Siptrunks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37523,11 +38207,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Locations$Siptrunks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Siptrunks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Siptrunks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37562,8 +38248,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Siptrunks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37620,11 +38308,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Locations$Siptrunks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Siptrunks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Siptrunks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -37659,8 +38349,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Siptrunks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37779,11 +38471,13 @@ export namespace dialogflow_v2beta1 { generate( params: Params$Resource$Projects$Locations$Statelesssuggestion$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Projects$Locations$Statelesssuggestion$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generate( params: Params$Resource$Projects$Locations$Statelesssuggestion$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -37818,8 +38512,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Statelesssuggestion$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37896,11 +38592,13 @@ export namespace dialogflow_v2beta1 { generateStatelessSummary( params: Params$Resource$Projects$Locations$Suggestions$Generatestatelesssummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateStatelessSummary( params?: Params$Resource$Projects$Locations$Suggestions$Generatestatelesssummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateStatelessSummary( params: Params$Resource$Projects$Locations$Suggestions$Generatestatelesssummary, options: StreamMethodOptions | BodyResponseCallback, @@ -37935,8 +38633,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Suggestions$Generatestatelesssummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37994,11 +38694,13 @@ export namespace dialogflow_v2beta1 { searchKnowledge( params: Params$Resource$Projects$Locations$Suggestions$Searchknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchKnowledge( params?: Params$Resource$Projects$Locations$Suggestions$Searchknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchKnowledge( params: Params$Resource$Projects$Locations$Suggestions$Searchknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -38033,8 +38735,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Suggestions$Searchknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38123,11 +38827,11 @@ export namespace dialogflow_v2beta1 { cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -38158,8 +38862,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38214,11 +38918,11 @@ export namespace dialogflow_v2beta1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38253,8 +38957,8 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38306,11 +39010,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38345,8 +39051,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38444,11 +39152,13 @@ export namespace dialogflow_v2beta1 { delete( params: Params$Resource$Projects$Phonenumbers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Phonenumbers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; delete( params: Params$Resource$Projects$Phonenumbers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -38483,8 +39193,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Phonenumbers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38538,11 +39250,13 @@ export namespace dialogflow_v2beta1 { list( params: Params$Resource$Projects$Phonenumbers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Phonenumbers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Phonenumbers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38577,8 +39291,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Phonenumbers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38635,11 +39351,13 @@ export namespace dialogflow_v2beta1 { patch( params: Params$Resource$Projects$Phonenumbers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Phonenumbers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Phonenumbers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -38674,8 +39392,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Phonenumbers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38729,11 +39449,13 @@ export namespace dialogflow_v2beta1 { undelete( params: Params$Resource$Projects$Phonenumbers$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Phonenumbers$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; undelete( params: Params$Resource$Projects$Phonenumbers$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -38768,8 +39490,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Phonenumbers$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38888,11 +39612,13 @@ export namespace dialogflow_v2beta1 { generateStatelessSummary( params: Params$Resource$Projects$Suggestions$Generatestatelesssummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateStatelessSummary( params?: Params$Resource$Projects$Suggestions$Generatestatelesssummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateStatelessSummary( params: Params$Resource$Projects$Suggestions$Generatestatelesssummary, options: StreamMethodOptions | BodyResponseCallback, @@ -38927,8 +39653,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Suggestions$Generatestatelesssummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38986,11 +39714,13 @@ export namespace dialogflow_v2beta1 { searchKnowledge( params: Params$Resource$Projects$Suggestions$Searchknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchKnowledge( params?: Params$Resource$Projects$Suggestions$Searchknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchKnowledge( params: Params$Resource$Projects$Suggestions$Searchknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -39025,8 +39755,10 @@ export namespace dialogflow_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Suggestions$Searchknowledge; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dialogflow/v3.ts b/src/apis/dialogflow/v3.ts index a6058836401..5a61a1e7724 100644 --- a/src/apis/dialogflow/v3.ts +++ b/src/apis/dialogflow/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -10870,11 +10870,11 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10909,8 +10909,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10962,11 +10962,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11001,8 +11003,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11142,11 +11146,11 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11181,8 +11185,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11239,11 +11243,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11274,8 +11278,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11327,11 +11331,11 @@ export namespace dialogflow_v3 { export( params: Params$Resource$Projects$Locations$Agents$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -11366,8 +11370,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11419,11 +11423,11 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Agents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11458,8 +11462,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11513,11 +11517,13 @@ export namespace dialogflow_v3 { getGenerativeSettings( params: Params$Resource$Projects$Locations$Agents$Getgenerativesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGenerativeSettings( params?: Params$Resource$Projects$Locations$Agents$Getgenerativesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getGenerativeSettings( params: Params$Resource$Projects$Locations$Agents$Getgenerativesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -11552,8 +11558,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Getgenerativesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11608,11 +11616,13 @@ export namespace dialogflow_v3 { getValidationResult( params: Params$Resource$Projects$Locations$Agents$Getvalidationresult, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getValidationResult( params?: Params$Resource$Projects$Locations$Agents$Getvalidationresult, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getValidationResult( params: Params$Resource$Projects$Locations$Agents$Getvalidationresult, options: StreamMethodOptions | BodyResponseCallback, @@ -11647,8 +11657,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Getvalidationresult; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11703,11 +11715,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11742,8 +11756,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11800,11 +11816,11 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Agents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11839,8 +11855,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11894,11 +11910,11 @@ export namespace dialogflow_v3 { restore( params: Params$Resource$Projects$Locations$Agents$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Agents$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Agents$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -11933,8 +11949,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11989,11 +12005,13 @@ export namespace dialogflow_v3 { updateGenerativeSettings( params: Params$Resource$Projects$Locations$Agents$Updategenerativesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGenerativeSettings( params?: Params$Resource$Projects$Locations$Agents$Updategenerativesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateGenerativeSettings( params: Params$Resource$Projects$Locations$Agents$Updategenerativesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -12028,8 +12046,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Updategenerativesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12084,11 +12104,13 @@ export namespace dialogflow_v3 { validate( params: Params$Resource$Projects$Locations$Agents$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Projects$Locations$Agents$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validate( params: Params$Resource$Projects$Locations$Agents$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -12123,8 +12145,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12320,11 +12344,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Changelogs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Changelogs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Changelogs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12359,8 +12385,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Changelogs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12414,11 +12442,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Changelogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Changelogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Changelogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12453,8 +12483,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Changelogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12546,11 +12578,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12585,8 +12619,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12644,11 +12680,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12679,8 +12715,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12733,11 +12769,11 @@ export namespace dialogflow_v3 { export( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -12772,8 +12808,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12829,11 +12865,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12868,8 +12906,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12924,11 +12964,11 @@ export namespace dialogflow_v3 { import( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -12963,8 +13003,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13020,11 +13060,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13059,8 +13101,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13118,11 +13162,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13157,8 +13203,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13342,11 +13390,11 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agents$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13381,8 +13429,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13438,11 +13486,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13473,8 +13521,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13527,11 +13575,11 @@ export namespace dialogflow_v3 { deployFlow( params: Params$Resource$Projects$Locations$Agents$Environments$Deployflow, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deployFlow( params?: Params$Resource$Projects$Locations$Agents$Environments$Deployflow, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deployFlow( params: Params$Resource$Projects$Locations$Agents$Environments$Deployflow, options: StreamMethodOptions | BodyResponseCallback, @@ -13566,8 +13614,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Deployflow; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13623,11 +13671,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13662,8 +13712,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13718,11 +13770,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13757,8 +13811,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13816,11 +13872,13 @@ export namespace dialogflow_v3 { lookupEnvironmentHistory( params: Params$Resource$Projects$Locations$Agents$Environments$Lookupenvironmenthistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupEnvironmentHistory( params?: Params$Resource$Projects$Locations$Agents$Environments$Lookupenvironmenthistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; lookupEnvironmentHistory( params: Params$Resource$Projects$Locations$Agents$Environments$Lookupenvironmenthistory, options: StreamMethodOptions | BodyResponseCallback, @@ -13855,8 +13913,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Lookupenvironmenthistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13914,11 +13974,11 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Environments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Environments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Agents$Environments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13953,8 +14013,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14007,11 +14067,11 @@ export namespace dialogflow_v3 { runContinuousTest( params: Params$Resource$Projects$Locations$Agents$Environments$Runcontinuoustest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runContinuousTest( params?: Params$Resource$Projects$Locations$Agents$Environments$Runcontinuoustest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runContinuousTest( params: Params$Resource$Projects$Locations$Agents$Environments$Runcontinuoustest, options: StreamMethodOptions | BodyResponseCallback, @@ -14046,8 +14106,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Runcontinuoustest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14207,11 +14267,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Environments$Continuoustestresults$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Environments$Continuoustestresults$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Environments$Continuoustestresults$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14246,8 +14308,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Continuoustestresults$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14328,11 +14392,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Environments$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Environments$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Environments$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14367,8 +14433,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14423,11 +14491,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Environments$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Environments$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Environments$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14462,8 +14532,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14551,11 +14623,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14590,8 +14664,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14649,11 +14725,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14684,8 +14760,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14738,11 +14814,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14777,8 +14855,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14833,11 +14913,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14872,8 +14954,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14931,11 +15015,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14970,8 +15056,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15026,11 +15114,13 @@ export namespace dialogflow_v3 { start( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; start( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -15065,8 +15155,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15121,11 +15213,13 @@ export namespace dialogflow_v3 { stop( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; stop( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -15160,8 +15254,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15310,11 +15406,13 @@ export namespace dialogflow_v3 { detectIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -15349,8 +15447,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15408,11 +15508,13 @@ export namespace dialogflow_v3 { fulfillIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Fulfillintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fulfillIntent( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Fulfillintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fulfillIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Fulfillintent, options: StreamMethodOptions | BodyResponseCallback, @@ -15447,8 +15549,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Fulfillintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15506,11 +15610,13 @@ export namespace dialogflow_v3 { matchIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Matchintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; matchIntent( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Matchintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; matchIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Matchintent, options: StreamMethodOptions | BodyResponseCallback, @@ -15545,8 +15651,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Matchintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15604,11 +15712,13 @@ export namespace dialogflow_v3 { serverStreamingDetectIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Serverstreamingdetectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; serverStreamingDetectIntent( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Serverstreamingdetectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; serverStreamingDetectIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Serverstreamingdetectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -15643,8 +15753,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Serverstreamingdetectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15757,11 +15869,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15796,8 +15910,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15855,11 +15971,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15890,8 +16006,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15944,11 +16060,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15983,8 +16101,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16039,11 +16159,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16078,8 +16200,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16137,11 +16261,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16176,8 +16302,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16310,11 +16438,11 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Flows$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Flows$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agents$Flows$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16349,8 +16477,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16407,11 +16535,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Flows$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Flows$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Flows$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16442,8 +16570,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16495,11 +16623,11 @@ export namespace dialogflow_v3 { export( params: Params$Resource$Projects$Locations$Agents$Flows$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Flows$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Flows$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -16534,8 +16662,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16587,11 +16715,11 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Flows$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Flows$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Agents$Flows$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16626,8 +16754,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16681,11 +16809,13 @@ export namespace dialogflow_v3 { getValidationResult( params: Params$Resource$Projects$Locations$Agents$Flows$Getvalidationresult, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getValidationResult( params?: Params$Resource$Projects$Locations$Agents$Flows$Getvalidationresult, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getValidationResult( params: Params$Resource$Projects$Locations$Agents$Flows$Getvalidationresult, options: StreamMethodOptions | BodyResponseCallback, @@ -16720,8 +16850,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Getvalidationresult; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16776,11 +16908,11 @@ export namespace dialogflow_v3 { import( params: Params$Resource$Projects$Locations$Agents$Flows$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agents$Flows$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agents$Flows$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -16815,8 +16947,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16871,11 +17003,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Flows$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Flows$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Flows$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16910,8 +17044,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16968,11 +17104,11 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Flows$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Flows$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Agents$Flows$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17007,8 +17143,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17062,11 +17198,11 @@ export namespace dialogflow_v3 { train( params: Params$Resource$Projects$Locations$Agents$Flows$Train, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; train( params?: Params$Resource$Projects$Locations$Agents$Flows$Train, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; train( params: Params$Resource$Projects$Locations$Agents$Flows$Train, options: StreamMethodOptions | BodyResponseCallback, @@ -17101,8 +17237,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Train; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17154,11 +17290,13 @@ export namespace dialogflow_v3 { validate( params: Params$Resource$Projects$Locations$Agents$Flows$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Projects$Locations$Agents$Flows$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validate( params: Params$Resource$Projects$Locations$Agents$Flows$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -17193,8 +17331,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17395,11 +17535,11 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Flows$Pages$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17434,8 +17574,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Pages$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17493,11 +17633,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Flows$Pages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17528,8 +17668,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Pages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17582,11 +17722,11 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Flows$Pages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17621,8 +17761,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Pages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17677,11 +17817,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Flows$Pages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17716,8 +17858,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Pages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17775,11 +17919,11 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Flows$Pages$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17814,8 +17958,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Pages$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17955,11 +18099,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17994,8 +18140,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18053,11 +18201,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18088,8 +18236,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18142,11 +18290,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18181,8 +18331,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18237,11 +18389,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18276,8 +18430,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18335,11 +18491,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18374,8 +18532,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18515,11 +18675,13 @@ export namespace dialogflow_v3 { compareVersions( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Compareversions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; compareVersions( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Compareversions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; compareVersions( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Compareversions, options: StreamMethodOptions | BodyResponseCallback, @@ -18554,8 +18716,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Compareversions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18613,11 +18777,11 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18652,8 +18816,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18709,11 +18873,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18744,8 +18908,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18798,11 +18962,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18837,8 +19003,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18893,11 +19061,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18932,8 +19102,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18991,11 +19163,11 @@ export namespace dialogflow_v3 { load( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Load, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; load( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Load, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; load( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Load, options: StreamMethodOptions | BodyResponseCallback, @@ -19030,8 +19202,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Load; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19084,11 +19256,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19123,8 +19297,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19268,11 +19444,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Generators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Generators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Generators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19307,8 +19485,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Generators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19366,11 +19546,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Generators$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Generators$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Generators$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19401,8 +19581,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Generators$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19455,11 +19635,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Generators$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Generators$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Generators$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19494,8 +19676,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Generators$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19549,11 +19733,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Generators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Generators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Generators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19588,8 +19774,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Generators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19647,11 +19835,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Generators$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Generators$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Generators$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19686,8 +19876,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Generators$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19827,11 +20019,11 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Intents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Intents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agents$Intents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19866,8 +20058,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19924,11 +20116,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Intents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Intents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Intents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19959,8 +20151,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20012,11 +20204,11 @@ export namespace dialogflow_v3 { export( params: Params$Resource$Projects$Locations$Agents$Intents$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Intents$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Intents$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -20051,8 +20243,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20107,11 +20299,11 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Intents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Intents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Agents$Intents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20146,8 +20338,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20201,11 +20393,11 @@ export namespace dialogflow_v3 { import( params: Params$Resource$Projects$Locations$Agents$Intents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agents$Intents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agents$Intents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -20240,8 +20432,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20296,11 +20488,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Intents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Intents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Intents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20335,8 +20529,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20393,11 +20589,11 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Intents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Intents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Agents$Intents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20432,8 +20628,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20604,11 +20800,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20643,8 +20841,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20702,11 +20902,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20737,8 +20937,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20791,11 +20991,11 @@ export namespace dialogflow_v3 { export( params: Params$Resource$Projects$Locations$Agents$Playbooks$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Playbooks$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -20830,8 +21030,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20884,11 +21084,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20923,8 +21125,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20978,11 +21182,11 @@ export namespace dialogflow_v3 { import( params: Params$Resource$Projects$Locations$Agents$Playbooks$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agents$Playbooks$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -21017,8 +21221,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21074,11 +21278,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Playbooks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Playbooks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Playbooks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21113,8 +21319,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21171,11 +21379,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Playbooks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Playbooks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21210,8 +21420,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21355,11 +21567,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21394,8 +21608,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21453,11 +21669,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21488,8 +21704,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21542,11 +21758,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21581,8 +21799,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21637,11 +21857,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21676,8 +21898,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Examples$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21735,11 +21959,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21774,8 +22000,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21899,11 +22127,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21938,8 +22168,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21997,11 +22229,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22032,8 +22264,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22086,11 +22318,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22125,8 +22359,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22181,11 +22417,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22220,8 +22458,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22279,11 +22519,13 @@ export namespace dialogflow_v3 { restore( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; restore( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -22318,8 +22560,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22443,11 +22687,13 @@ export namespace dialogflow_v3 { detectIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Locations$Agents$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -22482,8 +22728,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22541,11 +22789,13 @@ export namespace dialogflow_v3 { fulfillIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Fulfillintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fulfillIntent( params?: Params$Resource$Projects$Locations$Agents$Sessions$Fulfillintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fulfillIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Fulfillintent, options: StreamMethodOptions | BodyResponseCallback, @@ -22580,8 +22830,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Fulfillintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22639,11 +22891,13 @@ export namespace dialogflow_v3 { matchIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Matchintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; matchIntent( params?: Params$Resource$Projects$Locations$Agents$Sessions$Matchintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; matchIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Matchintent, options: StreamMethodOptions | BodyResponseCallback, @@ -22678,8 +22932,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Matchintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22737,11 +22993,13 @@ export namespace dialogflow_v3 { serverStreamingDetectIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Serverstreamingdetectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; serverStreamingDetectIntent( params?: Params$Resource$Projects$Locations$Agents$Sessions$Serverstreamingdetectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; serverStreamingDetectIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Serverstreamingdetectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -22776,8 +23034,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Serverstreamingdetectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22834,11 +23094,13 @@ export namespace dialogflow_v3 { submitAnswerFeedback( params: Params$Resource$Projects$Locations$Agents$Sessions$Submitanswerfeedback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submitAnswerFeedback( params?: Params$Resource$Projects$Locations$Agents$Sessions$Submitanswerfeedback, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; submitAnswerFeedback( params: Params$Resource$Projects$Locations$Agents$Sessions$Submitanswerfeedback, options: StreamMethodOptions | BodyResponseCallback, @@ -22873,8 +23135,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Submitanswerfeedback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23000,11 +23264,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23039,8 +23305,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23098,11 +23366,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23133,8 +23401,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23187,11 +23455,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23226,8 +23496,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23282,11 +23554,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23321,8 +23595,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23380,11 +23656,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23419,8 +23697,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23544,11 +23824,11 @@ export namespace dialogflow_v3 { batchDelete( params: Params$Resource$Projects$Locations$Agents$Testcases$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Agents$Testcases$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Agents$Testcases$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -23581,8 +23861,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23638,11 +23918,11 @@ export namespace dialogflow_v3 { batchRun( params: Params$Resource$Projects$Locations$Agents$Testcases$Batchrun, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRun( params?: Params$Resource$Projects$Locations$Agents$Testcases$Batchrun, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchRun( params: Params$Resource$Projects$Locations$Agents$Testcases$Batchrun, options: StreamMethodOptions | BodyResponseCallback, @@ -23677,8 +23957,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Batchrun; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23734,11 +24014,13 @@ export namespace dialogflow_v3 { calculateCoverage( params: Params$Resource$Projects$Locations$Agents$Testcases$Calculatecoverage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculateCoverage( params?: Params$Resource$Projects$Locations$Agents$Testcases$Calculatecoverage, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculateCoverage( params: Params$Resource$Projects$Locations$Agents$Testcases$Calculatecoverage, options: StreamMethodOptions | BodyResponseCallback, @@ -23773,8 +24055,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Calculatecoverage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23832,11 +24116,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Testcases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Testcases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Testcases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23871,8 +24157,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23930,11 +24218,11 @@ export namespace dialogflow_v3 { export( params: Params$Resource$Projects$Locations$Agents$Testcases$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Testcases$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Testcases$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -23969,8 +24257,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24026,11 +24314,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Testcases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Testcases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Testcases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24065,8 +24355,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24120,11 +24412,11 @@ export namespace dialogflow_v3 { import( params: Params$Resource$Projects$Locations$Agents$Testcases$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agents$Testcases$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agents$Testcases$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -24159,8 +24451,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24216,11 +24508,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Testcases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Testcases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Testcases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24255,8 +24549,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24313,11 +24609,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Testcases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Testcases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Testcases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24352,8 +24650,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24408,11 +24708,11 @@ export namespace dialogflow_v3 { run( params: Params$Resource$Projects$Locations$Agents$Testcases$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Agents$Testcases$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Agents$Testcases$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -24447,8 +24747,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24633,11 +24933,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Testcases$Results$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Testcases$Results$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Testcases$Results$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24672,8 +24974,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Results$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24728,11 +25032,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Testcases$Results$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Testcases$Results$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Testcases$Results$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24767,8 +25073,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Results$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24860,11 +25168,11 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Tools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Tools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agents$Tools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -24899,8 +25207,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24957,11 +25265,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Tools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Tools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Tools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24992,8 +25300,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25045,11 +25353,11 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Tools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Tools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Agents$Tools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25084,8 +25392,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25139,11 +25447,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Tools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Tools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Tools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25178,8 +25488,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25236,11 +25548,11 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Tools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Tools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Agents$Tools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25275,8 +25587,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25399,11 +25711,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -25438,8 +25752,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25497,11 +25813,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25532,8 +25848,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25586,11 +25902,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25625,8 +25943,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25681,11 +26001,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25720,8 +26042,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Transitionroutegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25779,11 +26103,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25818,8 +26144,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25959,11 +26287,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Agents$Webhooks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Webhooks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Webhooks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -25998,8 +26328,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Webhooks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26057,11 +26389,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Agents$Webhooks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Webhooks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Webhooks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26092,8 +26424,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Webhooks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26146,11 +26478,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Agents$Webhooks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Webhooks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Webhooks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26185,8 +26519,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Webhooks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26240,11 +26576,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Agents$Webhooks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Webhooks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Webhooks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26279,8 +26617,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Webhooks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26337,11 +26677,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Agents$Webhooks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Webhooks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Webhooks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26376,8 +26718,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Webhooks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26500,11 +26844,11 @@ export namespace dialogflow_v3 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -26535,8 +26879,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26588,11 +26932,11 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26627,8 +26971,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26680,11 +27024,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26719,8 +27065,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26818,11 +27166,13 @@ export namespace dialogflow_v3 { create( params: Params$Resource$Projects$Locations$Securitysettings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Securitysettings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Securitysettings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -26857,8 +27207,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitysettings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26916,11 +27268,11 @@ export namespace dialogflow_v3 { delete( params: Params$Resource$Projects$Locations$Securitysettings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Securitysettings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Securitysettings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26951,8 +27303,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitysettings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27005,11 +27357,13 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Locations$Securitysettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Securitysettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Securitysettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27044,8 +27398,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitysettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27099,11 +27455,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Locations$Securitysettings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Securitysettings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Securitysettings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27138,8 +27496,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitysettings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27196,11 +27556,13 @@ export namespace dialogflow_v3 { patch( params: Params$Resource$Projects$Locations$Securitysettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Securitysettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Securitysettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -27235,8 +27597,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitysettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27356,11 +27720,11 @@ export namespace dialogflow_v3 { cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -27391,8 +27755,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27444,11 +27808,11 @@ export namespace dialogflow_v3 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27483,8 +27847,8 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27536,11 +27900,13 @@ export namespace dialogflow_v3 { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27575,8 +27941,10 @@ export namespace dialogflow_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dialogflow/v3beta1.ts b/src/apis/dialogflow/v3beta1.ts index b5f754f7973..dacd18144be 100644 --- a/src/apis/dialogflow/v3beta1.ts +++ b/src/apis/dialogflow/v3beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -11870,11 +11870,11 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11909,8 +11909,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11962,11 +11962,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12001,8 +12003,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12146,11 +12150,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12185,8 +12191,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12243,11 +12251,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12278,8 +12286,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12331,11 +12339,11 @@ export namespace dialogflow_v3beta1 { export( params: Params$Resource$Projects$Locations$Agents$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -12370,8 +12378,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12426,11 +12434,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12465,8 +12475,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12520,11 +12532,13 @@ export namespace dialogflow_v3beta1 { getGenerativeSettings( params: Params$Resource$Projects$Locations$Agents$Getgenerativesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGenerativeSettings( params?: Params$Resource$Projects$Locations$Agents$Getgenerativesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getGenerativeSettings( params: Params$Resource$Projects$Locations$Agents$Getgenerativesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -12559,8 +12573,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Getgenerativesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12615,11 +12631,13 @@ export namespace dialogflow_v3beta1 { getValidationResult( params: Params$Resource$Projects$Locations$Agents$Getvalidationresult, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getValidationResult( params?: Params$Resource$Projects$Locations$Agents$Getvalidationresult, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getValidationResult( params: Params$Resource$Projects$Locations$Agents$Getvalidationresult, options: StreamMethodOptions | BodyResponseCallback, @@ -12654,8 +12672,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Getvalidationresult; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12710,11 +12730,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12749,8 +12771,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12807,11 +12831,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12846,8 +12872,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12901,11 +12929,11 @@ export namespace dialogflow_v3beta1 { restore( params: Params$Resource$Projects$Locations$Agents$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Agents$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Agents$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -12940,8 +12968,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12996,11 +13024,13 @@ export namespace dialogflow_v3beta1 { updateGenerativeSettings( params: Params$Resource$Projects$Locations$Agents$Updategenerativesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGenerativeSettings( params?: Params$Resource$Projects$Locations$Agents$Updategenerativesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateGenerativeSettings( params: Params$Resource$Projects$Locations$Agents$Updategenerativesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -13035,8 +13065,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Updategenerativesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13091,11 +13123,13 @@ export namespace dialogflow_v3beta1 { validate( params: Params$Resource$Projects$Locations$Agents$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Projects$Locations$Agents$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validate( params: Params$Resource$Projects$Locations$Agents$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -13130,8 +13164,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13327,11 +13363,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Changelogs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Changelogs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Changelogs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13366,8 +13404,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Changelogs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13421,11 +13461,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Changelogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Changelogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Changelogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13460,8 +13502,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Changelogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13553,11 +13597,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Conversations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Conversations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13588,8 +13632,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Conversations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13642,11 +13686,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13681,8 +13727,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13737,11 +13785,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13776,8 +13826,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13876,11 +13928,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13915,8 +13969,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13974,11 +14030,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14009,8 +14065,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14063,11 +14119,11 @@ export namespace dialogflow_v3beta1 { export( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -14102,8 +14158,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14159,11 +14215,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14198,8 +14256,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14254,11 +14314,11 @@ export namespace dialogflow_v3beta1 { import( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -14293,8 +14353,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14350,11 +14410,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14389,8 +14451,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14448,11 +14512,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14487,8 +14553,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14672,11 +14740,11 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agents$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14711,8 +14779,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14768,11 +14836,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14803,8 +14871,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14857,11 +14925,11 @@ export namespace dialogflow_v3beta1 { deployFlow( params: Params$Resource$Projects$Locations$Agents$Environments$Deployflow, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deployFlow( params?: Params$Resource$Projects$Locations$Agents$Environments$Deployflow, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deployFlow( params: Params$Resource$Projects$Locations$Agents$Environments$Deployflow, options: StreamMethodOptions | BodyResponseCallback, @@ -14896,8 +14964,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Deployflow; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14953,11 +15021,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14992,8 +15062,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15048,11 +15120,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15087,8 +15161,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15146,11 +15222,13 @@ export namespace dialogflow_v3beta1 { lookupEnvironmentHistory( params: Params$Resource$Projects$Locations$Agents$Environments$Lookupenvironmenthistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupEnvironmentHistory( params?: Params$Resource$Projects$Locations$Agents$Environments$Lookupenvironmenthistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; lookupEnvironmentHistory( params: Params$Resource$Projects$Locations$Agents$Environments$Lookupenvironmenthistory, options: StreamMethodOptions | BodyResponseCallback, @@ -15185,8 +15263,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Lookupenvironmenthistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15243,11 +15323,11 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Environments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Environments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Agents$Environments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15282,8 +15362,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15336,11 +15416,11 @@ export namespace dialogflow_v3beta1 { runContinuousTest( params: Params$Resource$Projects$Locations$Agents$Environments$Runcontinuoustest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runContinuousTest( params?: Params$Resource$Projects$Locations$Agents$Environments$Runcontinuoustest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runContinuousTest( params: Params$Resource$Projects$Locations$Agents$Environments$Runcontinuoustest, options: StreamMethodOptions | BodyResponseCallback, @@ -15375,8 +15455,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Runcontinuoustest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15535,11 +15615,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Environments$Continuoustestresults$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Environments$Continuoustestresults$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Environments$Continuoustestresults$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15574,8 +15656,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Continuoustestresults$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15656,11 +15740,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Environments$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Environments$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Environments$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15695,8 +15781,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15751,11 +15839,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Environments$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Environments$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Environments$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15790,8 +15880,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15879,11 +15971,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15918,8 +16012,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15977,11 +16073,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16012,8 +16108,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16066,11 +16162,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16105,8 +16203,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16161,11 +16261,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16200,8 +16302,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16259,11 +16363,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16298,8 +16404,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16354,11 +16462,13 @@ export namespace dialogflow_v3beta1 { start( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; start( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -16393,8 +16503,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16452,11 +16564,13 @@ export namespace dialogflow_v3beta1 { stop( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; stop( params: Params$Resource$Projects$Locations$Agents$Environments$Experiments$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -16491,8 +16605,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Experiments$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16644,11 +16760,13 @@ export namespace dialogflow_v3beta1 { detectIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -16683,8 +16801,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16742,11 +16862,13 @@ export namespace dialogflow_v3beta1 { fulfillIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Fulfillintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fulfillIntent( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Fulfillintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fulfillIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Fulfillintent, options: StreamMethodOptions | BodyResponseCallback, @@ -16781,8 +16903,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Fulfillintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16840,11 +16964,13 @@ export namespace dialogflow_v3beta1 { matchIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Matchintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; matchIntent( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Matchintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; matchIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Matchintent, options: StreamMethodOptions | BodyResponseCallback, @@ -16879,8 +17005,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Matchintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16938,11 +17066,13 @@ export namespace dialogflow_v3beta1 { serverStreamingDetectIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Serverstreamingdetectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; serverStreamingDetectIntent( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Serverstreamingdetectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; serverStreamingDetectIntent( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Serverstreamingdetectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -16977,8 +17107,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Serverstreamingdetectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17091,11 +17223,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17130,8 +17264,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17189,11 +17325,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17224,8 +17360,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17278,11 +17414,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17317,8 +17455,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17373,11 +17513,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17412,8 +17554,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17471,11 +17615,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17510,8 +17656,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Environments$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17644,11 +17792,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Flows$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Flows$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Flows$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17683,8 +17833,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17741,11 +17893,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Flows$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Flows$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Flows$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17776,8 +17928,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17829,11 +17981,11 @@ export namespace dialogflow_v3beta1 { export( params: Params$Resource$Projects$Locations$Agents$Flows$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Flows$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Flows$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -17868,8 +18020,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17924,11 +18076,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Flows$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Flows$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Flows$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17963,8 +18117,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18018,11 +18174,13 @@ export namespace dialogflow_v3beta1 { getValidationResult( params: Params$Resource$Projects$Locations$Agents$Flows$Getvalidationresult, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getValidationResult( params?: Params$Resource$Projects$Locations$Agents$Flows$Getvalidationresult, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getValidationResult( params: Params$Resource$Projects$Locations$Agents$Flows$Getvalidationresult, options: StreamMethodOptions | BodyResponseCallback, @@ -18057,8 +18215,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Getvalidationresult; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18113,11 +18273,11 @@ export namespace dialogflow_v3beta1 { import( params: Params$Resource$Projects$Locations$Agents$Flows$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agents$Flows$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agents$Flows$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -18152,8 +18312,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18208,11 +18368,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Flows$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Flows$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Flows$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18247,8 +18409,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18305,11 +18469,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Flows$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Flows$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Flows$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18344,8 +18510,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18399,11 +18567,11 @@ export namespace dialogflow_v3beta1 { train( params: Params$Resource$Projects$Locations$Agents$Flows$Train, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; train( params?: Params$Resource$Projects$Locations$Agents$Flows$Train, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; train( params: Params$Resource$Projects$Locations$Agents$Flows$Train, options: StreamMethodOptions | BodyResponseCallback, @@ -18438,8 +18606,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Train; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18494,11 +18662,13 @@ export namespace dialogflow_v3beta1 { validate( params: Params$Resource$Projects$Locations$Agents$Flows$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Projects$Locations$Agents$Flows$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validate( params: Params$Resource$Projects$Locations$Agents$Flows$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -18533,8 +18703,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18735,11 +18907,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Flows$Pages$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18774,8 +18948,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Pages$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18833,11 +19009,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Flows$Pages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18868,8 +19044,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Pages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18922,11 +19098,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Flows$Pages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18961,8 +19139,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Pages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19017,11 +19197,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Flows$Pages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19056,8 +19238,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Pages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19115,11 +19299,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Flows$Pages$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Flows$Pages$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19154,8 +19340,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Pages$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19295,11 +19483,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19334,8 +19524,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19393,11 +19585,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19428,8 +19620,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19482,11 +19674,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19521,8 +19715,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19577,11 +19773,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19616,8 +19814,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19675,11 +19875,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19714,8 +19916,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Transitionroutegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19855,11 +20059,13 @@ export namespace dialogflow_v3beta1 { compareVersions( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Compareversions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; compareVersions( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Compareversions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; compareVersions( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Compareversions, options: StreamMethodOptions | BodyResponseCallback, @@ -19894,8 +20100,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Compareversions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19953,11 +20161,11 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19992,8 +20200,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20049,11 +20257,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20084,8 +20292,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20138,11 +20346,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20177,8 +20387,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20233,11 +20445,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20272,8 +20486,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20331,11 +20547,11 @@ export namespace dialogflow_v3beta1 { load( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Load, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; load( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Load, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; load( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Load, options: StreamMethodOptions | BodyResponseCallback, @@ -20370,8 +20586,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Load; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20427,11 +20643,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Flows$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Flows$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20466,8 +20684,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Flows$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20611,11 +20831,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Generators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Generators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Generators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20650,8 +20872,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Generators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20709,11 +20933,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Generators$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Generators$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Generators$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20744,8 +20968,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Generators$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20798,11 +21022,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Generators$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Generators$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Generators$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20837,8 +21063,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Generators$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20892,11 +21120,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Generators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Generators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Generators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20931,8 +21161,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Generators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20990,11 +21222,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Generators$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Generators$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Generators$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21029,8 +21263,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Generators$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21170,11 +21406,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Intents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Intents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Intents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21209,8 +21447,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21267,11 +21507,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Intents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Intents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Intents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21302,8 +21542,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21355,11 +21595,11 @@ export namespace dialogflow_v3beta1 { export( params: Params$Resource$Projects$Locations$Agents$Intents$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Intents$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Intents$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -21394,8 +21634,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21450,11 +21690,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Intents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Intents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Intents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21489,8 +21731,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21544,11 +21788,11 @@ export namespace dialogflow_v3beta1 { import( params: Params$Resource$Projects$Locations$Agents$Intents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agents$Intents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agents$Intents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -21583,8 +21827,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21639,11 +21883,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Intents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Intents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Intents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21678,8 +21924,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21736,11 +21984,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Intents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Intents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Intents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21775,8 +22025,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Intents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21947,11 +22199,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21986,8 +22240,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22045,11 +22301,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22080,8 +22336,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22134,11 +22390,11 @@ export namespace dialogflow_v3beta1 { export( params: Params$Resource$Projects$Locations$Agents$Playbooks$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Playbooks$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -22173,8 +22429,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22230,11 +22486,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22269,8 +22527,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22324,11 +22584,11 @@ export namespace dialogflow_v3beta1 { import( params: Params$Resource$Projects$Locations$Agents$Playbooks$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agents$Playbooks$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -22363,8 +22623,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22420,11 +22680,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Playbooks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Playbooks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Playbooks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22459,8 +22721,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22517,11 +22781,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Playbooks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Playbooks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22556,8 +22822,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22701,11 +22969,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22740,8 +23010,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22799,11 +23071,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22834,8 +23106,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22888,11 +23160,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22927,8 +23201,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22983,11 +23259,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23022,8 +23300,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Examples$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23081,11 +23361,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23120,8 +23402,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Examples$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23245,11 +23529,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23284,8 +23570,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23343,11 +23631,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23378,8 +23666,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23432,11 +23720,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23471,8 +23761,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23527,11 +23819,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23566,8 +23860,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23625,11 +23921,13 @@ export namespace dialogflow_v3beta1 { restore( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; restore( params: Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -23664,8 +23962,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Playbooks$Versions$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23789,11 +24089,13 @@ export namespace dialogflow_v3beta1 { detectIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Detectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectIntent( params?: Params$Resource$Projects$Locations$Agents$Sessions$Detectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; detectIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -23828,8 +24130,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Detectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23887,11 +24191,13 @@ export namespace dialogflow_v3beta1 { fulfillIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Fulfillintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fulfillIntent( params?: Params$Resource$Projects$Locations$Agents$Sessions$Fulfillintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fulfillIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Fulfillintent, options: StreamMethodOptions | BodyResponseCallback, @@ -23926,8 +24232,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Fulfillintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23985,11 +24293,13 @@ export namespace dialogflow_v3beta1 { matchIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Matchintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; matchIntent( params?: Params$Resource$Projects$Locations$Agents$Sessions$Matchintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; matchIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Matchintent, options: StreamMethodOptions | BodyResponseCallback, @@ -24024,8 +24334,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Matchintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24083,11 +24395,13 @@ export namespace dialogflow_v3beta1 { serverStreamingDetectIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Serverstreamingdetectintent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; serverStreamingDetectIntent( params?: Params$Resource$Projects$Locations$Agents$Sessions$Serverstreamingdetectintent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; serverStreamingDetectIntent( params: Params$Resource$Projects$Locations$Agents$Sessions$Serverstreamingdetectintent, options: StreamMethodOptions | BodyResponseCallback, @@ -24122,8 +24436,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Serverstreamingdetectintent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24180,11 +24496,13 @@ export namespace dialogflow_v3beta1 { submitAnswerFeedback( params: Params$Resource$Projects$Locations$Agents$Sessions$Submitanswerfeedback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submitAnswerFeedback( params?: Params$Resource$Projects$Locations$Agents$Sessions$Submitanswerfeedback, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; submitAnswerFeedback( params: Params$Resource$Projects$Locations$Agents$Sessions$Submitanswerfeedback, options: StreamMethodOptions | BodyResponseCallback, @@ -24219,8 +24537,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Submitanswerfeedback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24346,11 +24666,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -24385,8 +24707,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24444,11 +24768,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24479,8 +24803,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24533,11 +24857,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24572,8 +24898,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24628,11 +24956,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24667,8 +24997,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24726,11 +25058,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24765,8 +25099,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Sessions$Entitytypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24890,11 +25226,11 @@ export namespace dialogflow_v3beta1 { batchDelete( params: Params$Resource$Projects$Locations$Agents$Testcases$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Agents$Testcases$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Agents$Testcases$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -24927,8 +25263,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24984,11 +25320,11 @@ export namespace dialogflow_v3beta1 { batchRun( params: Params$Resource$Projects$Locations$Agents$Testcases$Batchrun, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRun( params?: Params$Resource$Projects$Locations$Agents$Testcases$Batchrun, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchRun( params: Params$Resource$Projects$Locations$Agents$Testcases$Batchrun, options: StreamMethodOptions | BodyResponseCallback, @@ -25023,8 +25359,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Batchrun; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25080,11 +25416,13 @@ export namespace dialogflow_v3beta1 { calculateCoverage( params: Params$Resource$Projects$Locations$Agents$Testcases$Calculatecoverage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculateCoverage( params?: Params$Resource$Projects$Locations$Agents$Testcases$Calculatecoverage, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculateCoverage( params: Params$Resource$Projects$Locations$Agents$Testcases$Calculatecoverage, options: StreamMethodOptions | BodyResponseCallback, @@ -25119,8 +25457,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Calculatecoverage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25177,11 +25517,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Testcases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Testcases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Testcases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -25216,8 +25558,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25275,11 +25619,11 @@ export namespace dialogflow_v3beta1 { export( params: Params$Resource$Projects$Locations$Agents$Testcases$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Testcases$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Testcases$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -25314,8 +25658,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25371,11 +25715,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Testcases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Testcases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Testcases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25410,8 +25756,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25465,11 +25813,11 @@ export namespace dialogflow_v3beta1 { import( params: Params$Resource$Projects$Locations$Agents$Testcases$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Agents$Testcases$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Agents$Testcases$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -25504,8 +25852,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25561,11 +25909,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Testcases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Testcases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Testcases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25600,8 +25950,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25658,11 +26010,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Testcases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Testcases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Testcases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25697,8 +26051,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25753,11 +26109,11 @@ export namespace dialogflow_v3beta1 { run( params: Params$Resource$Projects$Locations$Agents$Testcases$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Agents$Testcases$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Agents$Testcases$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -25792,8 +26148,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25981,11 +26337,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Testcases$Results$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Testcases$Results$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Testcases$Results$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26020,8 +26378,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Results$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26076,11 +26436,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Testcases$Results$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Testcases$Results$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Testcases$Results$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26115,8 +26477,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Testcases$Results$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26212,11 +26576,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Tools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Tools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Tools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -26251,8 +26617,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26309,11 +26677,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Tools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Tools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Tools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26344,8 +26712,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26397,11 +26765,11 @@ export namespace dialogflow_v3beta1 { export( params: Params$Resource$Projects$Locations$Agents$Tools$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Agents$Tools$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Agents$Tools$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -26436,8 +26804,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26492,11 +26860,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Tools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Tools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Tools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26531,8 +26901,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26586,11 +26958,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Tools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Tools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Tools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26625,8 +26999,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26683,11 +27059,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Tools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Tools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Tools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26722,8 +27100,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26858,11 +27238,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Tools$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Tools$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Tools$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -26897,8 +27279,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26956,11 +27340,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Tools$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Tools$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Tools$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26991,8 +27375,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27045,11 +27429,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Tools$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Tools$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Tools$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27084,8 +27470,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27140,11 +27528,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Tools$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Tools$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Tools$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27179,8 +27569,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27238,11 +27630,13 @@ export namespace dialogflow_v3beta1 { restore( params: Params$Resource$Projects$Locations$Agents$Tools$Versions$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Agents$Tools$Versions$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; restore( params: Params$Resource$Projects$Locations$Agents$Tools$Versions$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -27277,8 +27671,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Tools$Versions$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27401,11 +27797,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -27440,8 +27838,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27499,11 +27899,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27534,8 +27934,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27588,11 +27988,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27627,8 +28029,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27683,11 +28087,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27722,8 +28128,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Transitionroutegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27781,11 +28189,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -27820,8 +28230,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Transitionroutegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27961,11 +28373,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Agents$Webhooks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Agents$Webhooks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Agents$Webhooks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28000,8 +28414,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Webhooks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28059,11 +28475,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Agents$Webhooks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Agents$Webhooks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Agents$Webhooks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28094,8 +28510,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Webhooks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28148,11 +28564,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Agents$Webhooks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Agents$Webhooks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Agents$Webhooks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28187,8 +28605,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Webhooks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28242,11 +28662,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Agents$Webhooks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Agents$Webhooks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Agents$Webhooks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28281,8 +28703,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Webhooks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28339,11 +28763,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Agents$Webhooks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Agents$Webhooks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Agents$Webhooks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28378,8 +28804,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Agents$Webhooks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28502,11 +28930,11 @@ export namespace dialogflow_v3beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -28537,8 +28965,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28593,11 +29021,11 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28632,8 +29060,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28685,11 +29113,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28724,8 +29154,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28823,11 +29255,13 @@ export namespace dialogflow_v3beta1 { create( params: Params$Resource$Projects$Locations$Securitysettings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Securitysettings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Securitysettings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28862,8 +29296,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitysettings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28921,11 +29357,11 @@ export namespace dialogflow_v3beta1 { delete( params: Params$Resource$Projects$Locations$Securitysettings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Securitysettings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Securitysettings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28956,8 +29392,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitysettings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29010,11 +29446,13 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Locations$Securitysettings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Securitysettings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Securitysettings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29049,8 +29487,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitysettings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29104,11 +29544,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Locations$Securitysettings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Securitysettings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Securitysettings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29143,8 +29585,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitysettings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29201,11 +29645,13 @@ export namespace dialogflow_v3beta1 { patch( params: Params$Resource$Projects$Locations$Securitysettings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Securitysettings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Securitysettings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -29240,8 +29686,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Securitysettings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29361,11 +29809,11 @@ export namespace dialogflow_v3beta1 { cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -29396,8 +29844,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29452,11 +29900,11 @@ export namespace dialogflow_v3beta1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29491,8 +29939,8 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29544,11 +29992,13 @@ export namespace dialogflow_v3beta1 { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29583,8 +30033,10 @@ export namespace dialogflow_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/digitalassetlinks/index.ts b/src/apis/digitalassetlinks/index.ts index c01de9497d7..6ce4ba289ac 100644 --- a/src/apis/digitalassetlinks/index.ts +++ b/src/apis/digitalassetlinks/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/digitalassetlinks/package.json b/src/apis/digitalassetlinks/package.json index cbb5d920415..b72b2969b31 100644 --- a/src/apis/digitalassetlinks/package.json +++ b/src/apis/digitalassetlinks/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/digitalassetlinks/v1.ts b/src/apis/digitalassetlinks/v1.ts index 008c2f82356..714c0df17e0 100644 --- a/src/apis/digitalassetlinks/v1.ts +++ b/src/apis/digitalassetlinks/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -310,11 +310,11 @@ export namespace digitalassetlinks_v1 { bulkCheck( params: Params$Resource$Assetlinks$Bulkcheck, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkCheck( params?: Params$Resource$Assetlinks$Bulkcheck, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkCheck( params: Params$Resource$Assetlinks$Bulkcheck, options: StreamMethodOptions | BodyResponseCallback, @@ -345,8 +345,8 @@ export namespace digitalassetlinks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Assetlinks$Bulkcheck; let options = (optionsOrCallback || {}) as MethodOptions; @@ -402,11 +402,11 @@ export namespace digitalassetlinks_v1 { check( params: Params$Resource$Assetlinks$Check, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; check( params?: Params$Resource$Assetlinks$Check, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; check( params: Params$Resource$Assetlinks$Check, options: StreamMethodOptions | BodyResponseCallback, @@ -435,7 +435,10 @@ export namespace digitalassetlinks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Assetlinks$Check; let options = (optionsOrCallback || {}) as MethodOptions; @@ -539,11 +542,11 @@ export namespace digitalassetlinks_v1 { list( params: Params$Resource$Statements$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Statements$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Statements$List, options: StreamMethodOptions | BodyResponseCallback, @@ -572,7 +575,10 @@ export namespace digitalassetlinks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Statements$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/discovery/index.ts b/src/apis/discovery/index.ts index 966e0d20652..b7a9dd12c62 100644 --- a/src/apis/discovery/index.ts +++ b/src/apis/discovery/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/discovery/package.json b/src/apis/discovery/package.json index fb2c260cadf..fe4c39604fd 100644 --- a/src/apis/discovery/package.json +++ b/src/apis/discovery/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/discovery/v1.ts b/src/apis/discovery/v1.ts index 73935c1214a..ae0f05bd938 100644 --- a/src/apis/discovery/v1.ts +++ b/src/apis/discovery/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -469,11 +469,11 @@ export namespace discovery_v1 { getRest( params: Params$Resource$Apis$Getrest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRest( params?: Params$Resource$Apis$Getrest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRest( params: Params$Resource$Apis$Getrest, options: StreamMethodOptions | BodyResponseCallback, @@ -502,7 +502,10 @@ export namespace discovery_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apis$Getrest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -556,11 +559,11 @@ export namespace discovery_v1 { list( params: Params$Resource$Apis$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apis$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apis$List, options: StreamMethodOptions | BodyResponseCallback, @@ -589,7 +592,10 @@ export namespace discovery_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apis$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/discoveryengine/index.ts b/src/apis/discoveryengine/index.ts index 017bf19f2e9..567866a8ebf 100644 --- a/src/apis/discoveryengine/index.ts +++ b/src/apis/discoveryengine/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/discoveryengine/package.json b/src/apis/discoveryengine/package.json index eceda140fa8..53020186a90 100644 --- a/src/apis/discoveryengine/package.json +++ b/src/apis/discoveryengine/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/discoveryengine/v1.ts b/src/apis/discoveryengine/v1.ts index ca78869c1b6..b7d5a7ea785 100644 --- a/src/apis/discoveryengine/v1.ts +++ b/src/apis/discoveryengine/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -986,6 +986,40 @@ export namespace discoveryengine_v1 { */ targetSites?: Schema$GoogleCloudDiscoveryengineV1alphaTargetSite[]; } + /** + * Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata { + /** + * Operation create time. + */ + createTime?: string | null; + /** + * Count of user licenses that failed to be updated. + */ + failureCount?: string | null; + /** + * Count of user licenses successfully updated. + */ + successCount?: string | null; + /** + * Operation last update time. If the operation is done, this is also the finish time. + */ + updateTime?: string | null; + } + /** + * Response message for UserLicenseService.BatchUpdateUserLicenses method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse { + /** + * A sample of errors encountered while processing the request. + */ + errorSamples?: Schema$GoogleRpcStatus[]; + /** + * UserLicenses successfully updated. + */ + userLicenses?: Schema$GoogleCloudDiscoveryengineV1alphaUserLicense[]; + } /** * Configurations used to enable CMEK data encryption with Cloud KMS keys. */ @@ -1227,7 +1261,7 @@ export namespace discoveryengine_v1 { */ name?: string | null; /** - * Promote certain links based on predefined trigger queries. This now only supports basic site search. + * Promote certain links based on predefined trigger queries. */ promoteAction?: Schema$GoogleCloudDiscoveryengineV1alphaControlPromoteAction; /** @@ -1454,7 +1488,7 @@ export namespace discoveryengine_v1 { */ alertPolicyConfigs?: Schema$GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig[]; /** - * Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. + * Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs */ autoRunDisabled?: boolean | null; /** @@ -1470,9 +1504,13 @@ export namespace discoveryengine_v1 { */ connectorModes?: string[] | null; /** - * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is notmutable once set by system. + * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. */ connectorType?: string | null; + /** + * Optional. Whether the END USER AUTHENTICATION connector is created in SaaS. + */ + createEuaSaas?: boolean | null; /** * Output only. Timestamp the DataConnector was created at. */ @@ -1505,6 +1543,14 @@ export namespace discoveryengine_v1 { * The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector. */ identityScheduleConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig; + /** + * Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. + */ + incrementalRefreshInterval?: string | null; + /** + * Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. + */ + incrementalSyncDisabled?: boolean | null; /** * Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key. */ @@ -3631,6 +3677,10 @@ export namespace discoveryengine_v1 { * Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */ boostSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec; + /** + * Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + */ + customSearchOperators?: string | null; /** * Required. Full resource name of DataStore, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. */ @@ -4145,6 +4195,43 @@ export namespace discoveryengine_v1 { */ userId?: string | null; } + /** + * User License information assigned by the admin. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaUserLicense { + /** + * Output only. User created timestamp. + */ + createTime?: string | null; + /** + * Output only. User last logged in time. If the user has not logged in yet, this field will be empty. + */ + lastLoginTime?: string | null; + /** + * Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user; + */ + licenseAssignmentState?: string | null; + /** + * Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user. + */ + licenseConfig?: string | null; + /** + * Output only. User update timestamp. + */ + updateTime?: string | null; + /** + * Optional. The full resource name of the User, in the format of `projects/{project\}/locations/{location\}/userStores/{user_store\}/users/{user_id\}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created. + */ + user?: string | null; + /** + * Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal. + */ + userPrincipal?: string | null; + /** + * Optional. The user profile. We user user full name(First name + Last name) as user profile. + */ + userProfile?: string | null; + } /** * Config to store data store type configuration for workspace data */ @@ -5081,6 +5168,36 @@ export namespace discoveryengine_v1 { */ uri?: string | null; } + /** + * Request message for UserLicenseService.BatchUpdateUserLicenses method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest { + /** + * Optional. If true, if user licenses removed associated license config, the user license will be deleted. By default which is false, the user license will be updated to unassigned state. + */ + deleteUnassignedUserLicenses?: boolean | null; + /** + * Cloud Storage location for the input content. + */ + gcsSource?: Schema$GoogleCloudDiscoveryengineV1GcsSource; + /** + * The inline source for the input content for document embeddings. + */ + inlineSource?: Schema$GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource; + } + /** + * The inline source for the input config for BatchUpdateUserLicenses method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource { + /** + * Optional. The list of fields to update. + */ + updateMask?: string | null; + /** + * Required. A list of user licenses to update. Each user license must have a valid UserLicense.user_principal. + */ + userLicenses?: Schema$GoogleCloudDiscoveryengineV1UserLicense[]; + } /** * Request message for SiteSearchEngineService.BatchVerifyTargetSites method. */ @@ -5229,7 +5346,7 @@ export namespace discoveryengine_v1 { */ name?: string | null; /** - * Promote certain links based on predefined trigger queries. This now only supports basic site search. + * Promote certain links based on predefined trigger queries. */ promoteAction?: Schema$GoogleCloudDiscoveryengineV1betaControlPromoteAction; /** @@ -6968,6 +7085,10 @@ export namespace discoveryengine_v1 { * Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */ boostSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec; + /** + * Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + */ + customSearchOperators?: string | null; /** * Required. Full resource name of DataStore, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. */ @@ -7570,7 +7691,7 @@ export namespace discoveryengine_v1 { */ groundingCheckRequired?: boolean | null; /** - * Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when enable_claim_level_score is true. + * Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true. */ score?: number | null; /** @@ -7889,7 +8010,7 @@ export namespace discoveryengine_v1 { */ name?: string | null; /** - * Promote certain links based on predefined trigger queries. This now only supports basic site search. + * Promote certain links based on predefined trigger queries. */ promoteAction?: Schema$GoogleCloudDiscoveryengineV1ControlPromoteAction; /** @@ -9662,6 +9783,19 @@ export namespace discoveryengine_v1 { */ totalSize?: number | null; } + /** + * Response message for UserLicenseService.ListUserLicenses. + */ + export interface Schema$GoogleCloudDiscoveryengineV1ListUserLicensesResponse { + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * All the customer's UserLicenses. + */ + userLicenses?: Schema$GoogleCloudDiscoveryengineV1UserLicense[]; + } /** * Media-specific user event information. */ @@ -10560,6 +10694,10 @@ export namespace discoveryengine_v1 { * Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */ boostSpec?: Schema$GoogleCloudDiscoveryengineV1SearchRequestBoostSpec; + /** + * Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + */ + customSearchOperators?: string | null; /** * Required. Full resource name of DataStore, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. */ @@ -11541,6 +11679,43 @@ export namespace discoveryengine_v1 { */ userId?: string | null; } + /** + * User License information assigned by the admin. + */ + export interface Schema$GoogleCloudDiscoveryengineV1UserLicense { + /** + * Output only. User created timestamp. + */ + createTime?: string | null; + /** + * Output only. User last logged in time. If the user has not logged in yet, this field will be empty. + */ + lastLoginTime?: string | null; + /** + * Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user; + */ + licenseAssignmentState?: string | null; + /** + * Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user. + */ + licenseConfig?: string | null; + /** + * Output only. User update timestamp. + */ + updateTime?: string | null; + /** + * Optional. The full resource name of the User, in the format of `projects/{project\}/locations/{location\}/userStores/{user_store\}/users/{user_id\}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created. + */ + user?: string | null; + /** + * Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal. + */ + userPrincipal?: string | null; + /** + * Optional. The user profile. We user user full name(First name + Last name) as user profile. + */ + userProfile?: string | null; + } /** * Config to store data store type configuration for workspace data */ @@ -11806,11 +11981,11 @@ export namespace discoveryengine_v1 { provision( params: Params$Resource$Projects$Provision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provision( params?: Params$Resource$Projects$Provision, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; provision( params: Params$Resource$Projects$Provision, options: StreamMethodOptions | BodyResponseCallback, @@ -11845,8 +12020,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Provision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11916,6 +12091,7 @@ export namespace discoveryengine_v1 { podcasts: Resource$Projects$Locations$Podcasts; rankingConfigs: Resource$Projects$Locations$Rankingconfigs; userEvents: Resource$Projects$Locations$Userevents; + userStores: Resource$Projects$Locations$Userstores; constructor(context: APIRequestContext) { this.context = context; this.cmekConfigs = new Resource$Projects$Locations$Cmekconfigs( @@ -11942,6 +12118,9 @@ export namespace discoveryengine_v1 { this.userEvents = new Resource$Projects$Locations$Userevents( this.context ); + this.userStores = new Resource$Projects$Locations$Userstores( + this.context + ); } /** @@ -11955,11 +12134,13 @@ export namespace discoveryengine_v1 { getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCmekConfig( params?: Params$Resource$Projects$Locations$Getcmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -11994,8 +12175,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getcmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12050,11 +12233,11 @@ export namespace discoveryengine_v1 { updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params?: Params$Resource$Projects$Locations$Updatecmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -12089,8 +12272,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatecmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12174,11 +12357,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Cmekconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Cmekconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Cmekconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12213,8 +12396,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12267,11 +12450,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Cmekconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Cmekconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Cmekconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12306,8 +12491,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12362,11 +12549,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Cmekconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Cmekconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Cmekconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12401,8 +12590,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12460,11 +12651,11 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Cmekconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Cmekconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Cmekconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12499,8 +12690,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12632,11 +12823,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12671,8 +12862,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12726,11 +12917,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12765,8 +12958,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12924,11 +13119,13 @@ export namespace discoveryengine_v1 { completeQuery( params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Collections$Datastores$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -12963,8 +13160,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13023,11 +13222,11 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13062,8 +13261,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13120,11 +13319,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13159,8 +13358,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13214,11 +13413,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13253,8 +13454,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13310,11 +13513,13 @@ export namespace discoveryengine_v1 { getSiteSearchEngine( params: Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSiteSearchEngine( params?: Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getSiteSearchEngine( params: Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine, options: StreamMethodOptions | BodyResponseCallback, @@ -13349,8 +13554,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13406,11 +13613,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13445,8 +13654,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13505,11 +13716,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13544,8 +13757,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13601,11 +13816,11 @@ export namespace discoveryengine_v1 { trainCustomModel( params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; trainCustomModel( params?: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; trainCustomModel( params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options: StreamMethodOptions | BodyResponseCallback, @@ -13640,8 +13855,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13839,11 +14054,13 @@ export namespace discoveryengine_v1 { batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGetDocumentsMetadata( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -13878,8 +14095,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13961,11 +14180,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14000,8 +14221,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14060,11 +14283,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14095,8 +14318,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14150,11 +14373,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14189,8 +14414,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14246,11 +14473,11 @@ export namespace discoveryengine_v1 { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -14285,8 +14512,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14343,11 +14570,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14382,8 +14611,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14442,11 +14673,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14481,8 +14714,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14538,11 +14773,11 @@ export namespace discoveryengine_v1 { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -14577,8 +14812,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14732,11 +14967,11 @@ export namespace discoveryengine_v1 { cancel( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -14767,8 +15002,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14822,11 +15057,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14861,8 +15096,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14916,11 +15151,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14955,8 +15192,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15061,11 +15300,11 @@ export namespace discoveryengine_v1 { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -15100,8 +15339,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15157,11 +15396,11 @@ export namespace discoveryengine_v1 { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -15196,8 +15435,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15285,11 +15524,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15324,8 +15565,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15384,11 +15627,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15419,8 +15662,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15474,11 +15717,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15513,8 +15758,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15570,11 +15817,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15609,8 +15858,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15669,11 +15920,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15708,8 +15961,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15838,11 +16093,13 @@ export namespace discoveryengine_v1 { converse( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; converse( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; converse( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse, options: StreamMethodOptions | BodyResponseCallback, @@ -15877,8 +16134,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15937,11 +16196,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15976,8 +16237,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16036,11 +16299,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16071,8 +16334,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16126,11 +16389,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16165,8 +16430,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16222,11 +16489,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16261,8 +16530,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16321,11 +16592,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16360,8 +16633,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16502,11 +16777,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16541,8 +16818,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16628,11 +16907,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16667,8 +16946,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16722,11 +17001,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16761,8 +17042,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16855,11 +17138,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16894,8 +17177,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16949,11 +17232,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16988,8 +17273,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17087,11 +17374,11 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17126,8 +17413,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17184,11 +17471,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17223,8 +17510,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17278,11 +17565,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17317,8 +17606,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17374,11 +17665,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17413,8 +17706,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17473,11 +17768,11 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17512,8 +17807,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17636,11 +17931,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17675,8 +17970,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17730,11 +18025,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17769,8 +18066,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17863,11 +18162,13 @@ export namespace discoveryengine_v1 { answer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; answer( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; answer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, options: StreamMethodOptions | BodyResponseCallback, @@ -17902,8 +18203,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17962,11 +18265,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18001,8 +18306,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18058,11 +18365,13 @@ export namespace discoveryengine_v1 { recommend( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recommend( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; recommend( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions | BodyResponseCallback, @@ -18097,8 +18406,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18157,11 +18468,13 @@ export namespace discoveryengine_v1 { search( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -18196,8 +18509,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18256,11 +18571,13 @@ export namespace discoveryengine_v1 { searchLite( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchLite( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchLite( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions | BodyResponseCallback, @@ -18295,8 +18612,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18355,11 +18674,13 @@ export namespace discoveryengine_v1 { streamAnswer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamAnswer( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamAnswer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions | BodyResponseCallback, @@ -18394,8 +18715,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18543,11 +18866,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18582,8 +18907,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18642,11 +18969,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18677,8 +19004,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18732,11 +19059,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18771,8 +19100,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18828,11 +19159,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18867,8 +19200,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18927,11 +19262,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18966,8 +19303,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19100,11 +19439,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19139,8 +19480,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19226,11 +19569,11 @@ export namespace discoveryengine_v1 { batchVerifyTargetSites( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchVerifyTargetSites( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchVerifyTargetSites( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites, options: StreamMethodOptions | BodyResponseCallback, @@ -19265,8 +19608,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19323,11 +19666,11 @@ export namespace discoveryengine_v1 { disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -19362,8 +19705,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19419,11 +19762,11 @@ export namespace discoveryengine_v1 { enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -19458,8 +19801,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19515,11 +19858,13 @@ export namespace discoveryengine_v1 { fetchDomainVerificationStatus( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchDomainVerificationStatus( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchDomainVerificationStatus( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -19554,8 +19899,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19613,11 +19960,11 @@ export namespace discoveryengine_v1 { recrawlUris( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions | BodyResponseCallback, @@ -19652,8 +19999,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19781,11 +20128,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19820,8 +20167,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19875,11 +20222,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19914,8 +20263,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20008,11 +20359,11 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20047,8 +20398,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20105,11 +20456,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20144,8 +20495,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20199,11 +20550,13 @@ export namespace discoveryengine_v1 { fetch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions | BodyResponseCallback, @@ -20238,8 +20591,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20341,11 +20696,11 @@ export namespace discoveryengine_v1 { batchCreate( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -20380,8 +20735,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20438,11 +20793,11 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20477,8 +20832,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20535,11 +20890,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20574,8 +20929,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20629,11 +20984,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20668,8 +21025,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20725,11 +21084,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20764,8 +21125,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20824,11 +21187,11 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20863,8 +21226,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20991,11 +21354,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21030,8 +21393,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21085,11 +21448,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21124,8 +21489,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21218,11 +21585,11 @@ export namespace discoveryengine_v1 { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -21257,8 +21624,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21314,11 +21681,11 @@ export namespace discoveryengine_v1 { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -21353,8 +21720,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21442,11 +21809,11 @@ export namespace discoveryengine_v1 { collect( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -21477,8 +21844,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21535,11 +21902,11 @@ export namespace discoveryengine_v1 { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -21574,8 +21941,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21632,11 +21999,11 @@ export namespace discoveryengine_v1 { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -21671,8 +22038,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21729,11 +22096,13 @@ export namespace discoveryengine_v1 { write( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -21768,8 +22137,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21920,11 +22291,11 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Engines$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Engines$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21959,8 +22330,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22017,11 +22388,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22056,8 +22427,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22111,11 +22482,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Engines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22150,8 +22523,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22207,11 +22582,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Engines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22246,8 +22623,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22306,11 +22685,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22345,8 +22726,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22475,11 +22858,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22514,8 +22899,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22574,11 +22961,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22609,8 +22996,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22664,11 +23051,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22703,8 +23092,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22760,11 +23151,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22799,8 +23192,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22859,11 +23254,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22898,8 +23295,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23028,11 +23427,13 @@ export namespace discoveryengine_v1 { converse( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; converse( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; converse( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse, options: StreamMethodOptions | BodyResponseCallback, @@ -23067,8 +23468,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23127,11 +23530,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23166,8 +23571,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23226,11 +23633,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23261,8 +23668,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23316,11 +23723,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23355,8 +23764,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23412,11 +23823,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23451,8 +23864,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23511,11 +23926,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23550,8 +23967,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23692,11 +24111,11 @@ export namespace discoveryengine_v1 { cancel( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Collections$Engines$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -23727,8 +24146,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23782,11 +24201,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23821,8 +24240,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23876,11 +24295,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23915,8 +24336,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24021,11 +24444,13 @@ export namespace discoveryengine_v1 { answer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; answer( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; answer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, options: StreamMethodOptions | BodyResponseCallback, @@ -24060,8 +24485,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24120,11 +24547,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24159,8 +24588,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24216,11 +24647,13 @@ export namespace discoveryengine_v1 { recommend( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recommend( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; recommend( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend, options: StreamMethodOptions | BodyResponseCallback, @@ -24255,8 +24688,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24315,11 +24750,13 @@ export namespace discoveryengine_v1 { search( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -24354,8 +24791,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24414,11 +24853,13 @@ export namespace discoveryengine_v1 { searchLite( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchLite( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchLite( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite, options: StreamMethodOptions | BodyResponseCallback, @@ -24453,8 +24894,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24513,11 +24956,13 @@ export namespace discoveryengine_v1 { streamAnswer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamAnswer( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamAnswer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer, options: StreamMethodOptions | BodyResponseCallback, @@ -24552,8 +24997,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24701,11 +25148,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -24740,8 +25189,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24800,11 +25251,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24835,8 +25286,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24890,11 +25341,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24929,8 +25382,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24986,11 +25441,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25025,8 +25482,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25085,11 +25544,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25124,8 +25585,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25258,11 +25721,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25297,8 +25762,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25369,11 +25836,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Collections$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25408,8 +25875,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25463,11 +25930,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Collections$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25502,8 +25971,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25645,11 +26116,13 @@ export namespace discoveryengine_v1 { completeQuery( params: Params$Resource$Projects$Locations$Datastores$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Datastores$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Datastores$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -25684,8 +26157,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25744,11 +26219,11 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Datastores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -25783,8 +26258,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25840,11 +26315,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Datastores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25879,8 +26354,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25933,11 +26408,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Datastores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25972,8 +26449,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26028,11 +26507,13 @@ export namespace discoveryengine_v1 { getSiteSearchEngine( params: Params$Resource$Projects$Locations$Datastores$Getsitesearchengine, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSiteSearchEngine( params?: Params$Resource$Projects$Locations$Datastores$Getsitesearchengine, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getSiteSearchEngine( params: Params$Resource$Projects$Locations$Datastores$Getsitesearchengine, options: StreamMethodOptions | BodyResponseCallback, @@ -26067,8 +26548,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Getsitesearchengine; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26124,11 +26607,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Datastores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26163,8 +26648,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26222,11 +26709,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Datastores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26261,8 +26750,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26446,11 +26937,13 @@ export namespace discoveryengine_v1 { batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGetDocumentsMetadata( params?: Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -26485,8 +26978,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26568,11 +27063,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -26607,8 +27104,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26667,11 +27166,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26702,8 +27201,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26757,11 +27256,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26796,8 +27297,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26853,11 +27356,11 @@ export namespace discoveryengine_v1 { import( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -26892,8 +27395,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26950,11 +27453,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26989,8 +27494,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27049,11 +27556,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -27088,8 +27597,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27145,11 +27656,11 @@ export namespace discoveryengine_v1 { purge( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -27184,8 +27695,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27339,11 +27850,11 @@ export namespace discoveryengine_v1 { cancel( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -27374,8 +27885,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27429,11 +27940,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27468,8 +27979,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27523,11 +28034,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Branches$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27562,8 +28075,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27668,11 +28183,11 @@ export namespace discoveryengine_v1 { import( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -27707,8 +28222,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27764,11 +28279,11 @@ export namespace discoveryengine_v1 { purge( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -27803,8 +28318,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27892,11 +28407,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Datastores$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -27931,8 +28448,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27991,11 +28510,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Datastores$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28026,8 +28545,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28081,11 +28600,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Datastores$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28120,8 +28641,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28177,11 +28700,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Datastores$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28216,8 +28741,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28276,11 +28803,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Datastores$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28315,8 +28844,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28445,11 +28976,13 @@ export namespace discoveryengine_v1 { converse( params: Params$Resource$Projects$Locations$Datastores$Conversations$Converse, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; converse( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Converse, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; converse( params: Params$Resource$Projects$Locations$Datastores$Conversations$Converse, options: StreamMethodOptions | BodyResponseCallback, @@ -28484,8 +29017,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Converse; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28544,11 +29079,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Datastores$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28583,8 +29120,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28643,11 +29182,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Datastores$Conversations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28678,8 +29217,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28733,11 +29272,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Datastores$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28772,8 +29313,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28829,11 +29372,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Datastores$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28868,8 +29413,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28928,11 +29475,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Datastores$Conversations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Conversations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28967,8 +29516,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29121,11 +29672,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Models$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29160,8 +29711,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Models$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29215,11 +29766,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Models$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29254,8 +29807,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Models$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29348,11 +29903,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Datastores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datastores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29387,8 +29942,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29442,11 +29997,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Datastores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29481,8 +30038,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29575,11 +30134,11 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Datastores$Schemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Schemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -29614,8 +30173,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29672,11 +30231,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Datastores$Schemas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Schemas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -29711,8 +30270,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29766,11 +30325,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Datastores$Schemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Schemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29805,8 +30366,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29862,11 +30425,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Datastores$Schemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Schemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Schemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29901,8 +30466,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29961,11 +30528,11 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -30000,8 +30567,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30124,11 +30691,13 @@ export namespace discoveryengine_v1 { answer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; answer( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; answer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options: StreamMethodOptions | BodyResponseCallback, @@ -30163,8 +30732,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30223,11 +30794,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -30262,8 +30835,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30319,11 +30894,13 @@ export namespace discoveryengine_v1 { recommend( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recommend( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; recommend( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions | BodyResponseCallback, @@ -30358,8 +30935,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30418,11 +30997,13 @@ export namespace discoveryengine_v1 { search( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -30457,8 +31038,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30517,11 +31100,13 @@ export namespace discoveryengine_v1 { searchLite( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchLite( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchLite( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions | BodyResponseCallback, @@ -30556,8 +31141,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30616,11 +31203,13 @@ export namespace discoveryengine_v1 { streamAnswer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamAnswer( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamAnswer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions | BodyResponseCallback, @@ -30655,8 +31244,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30804,11 +31395,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Datastores$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -30843,8 +31436,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30903,11 +31498,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Datastores$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30938,8 +31533,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30993,11 +31588,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31032,8 +31629,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31089,11 +31688,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Datastores$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31128,8 +31729,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31188,11 +31791,13 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Datastores$Sessions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Sessions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31227,8 +31832,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31361,11 +31968,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31400,8 +32009,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31482,11 +32093,11 @@ export namespace discoveryengine_v1 { disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -31521,8 +32132,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31578,11 +32189,11 @@ export namespace discoveryengine_v1 { enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -31617,8 +32228,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31674,11 +32285,11 @@ export namespace discoveryengine_v1 { recrawlUris( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions | BodyResponseCallback, @@ -31713,8 +32324,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31815,11 +32426,11 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -31854,8 +32465,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31912,11 +32523,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31951,8 +32562,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32006,11 +32617,13 @@ export namespace discoveryengine_v1 { fetch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions | BodyResponseCallback, @@ -32045,8 +32658,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32143,11 +32758,11 @@ export namespace discoveryengine_v1 { batchCreate( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -32182,8 +32797,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32240,11 +32855,11 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -32279,8 +32894,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32337,11 +32952,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -32376,8 +32991,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32431,11 +33046,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32470,8 +33087,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32527,11 +33146,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32566,8 +33187,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32626,11 +33249,11 @@ export namespace discoveryengine_v1 { patch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -32665,8 +33288,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32793,11 +33416,11 @@ export namespace discoveryengine_v1 { import( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -32832,8 +33455,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32889,11 +33512,11 @@ export namespace discoveryengine_v1 { purge( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -32928,8 +33551,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33017,11 +33640,11 @@ export namespace discoveryengine_v1 { collect( params: Params$Resource$Projects$Locations$Datastores$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Datastores$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -33052,8 +33675,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33110,11 +33733,11 @@ export namespace discoveryengine_v1 { import( params: Params$Resource$Projects$Locations$Datastores$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -33149,8 +33772,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33207,11 +33830,11 @@ export namespace discoveryengine_v1 { purge( params: Params$Resource$Projects$Locations$Datastores$Userevents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Userevents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -33246,8 +33869,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33304,11 +33927,13 @@ export namespace discoveryengine_v1 { write( params: Params$Resource$Projects$Locations$Datastores$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Datastores$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -33343,8 +33968,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33470,11 +34097,13 @@ export namespace discoveryengine_v1 { check( params: Params$Resource$Projects$Locations$Groundingconfigs$Check, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; check( params?: Params$Resource$Projects$Locations$Groundingconfigs$Check, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; check( params: Params$Resource$Projects$Locations$Groundingconfigs$Check, options: StreamMethodOptions | BodyResponseCallback, @@ -33509,8 +34138,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groundingconfigs$Check; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33594,11 +34225,13 @@ export namespace discoveryengine_v1 { create( params: Params$Resource$Projects$Locations$Identitymappingstores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Identitymappingstores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Identitymappingstores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -33633,8 +34266,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33693,11 +34328,11 @@ export namespace discoveryengine_v1 { delete( params: Params$Resource$Projects$Locations$Identitymappingstores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Identitymappingstores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Identitymappingstores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -33732,8 +34367,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33787,11 +34422,13 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Identitymappingstores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Identitymappingstores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Identitymappingstores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33826,8 +34463,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33883,11 +34522,11 @@ export namespace discoveryengine_v1 { importIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importIdentityMappings( params?: Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings, options: StreamMethodOptions | BodyResponseCallback, @@ -33922,8 +34561,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33979,11 +34618,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Identitymappingstores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Identitymappingstores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Identitymappingstores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34018,8 +34659,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34078,11 +34721,13 @@ export namespace discoveryengine_v1 { listIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listIdentityMappings( params?: Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings, options: StreamMethodOptions | BodyResponseCallback, @@ -34117,8 +34762,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34176,11 +34823,11 @@ export namespace discoveryengine_v1 { purgeIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purgeIdentityMappings( params?: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purgeIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings, options: StreamMethodOptions | BodyResponseCallback, @@ -34215,8 +34862,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34372,11 +35019,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34411,8 +35058,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34466,11 +35113,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34505,8 +35154,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34599,11 +35250,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34638,8 +35289,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34692,11 +35343,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34731,8 +35384,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34835,11 +35490,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Locations$Podcasts$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Podcasts$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Podcasts$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34874,8 +35529,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Podcasts$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34944,11 +35599,13 @@ export namespace discoveryengine_v1 { rank( params: Params$Resource$Projects$Locations$Rankingconfigs$Rank, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rank( params?: Params$Resource$Projects$Locations$Rankingconfigs$Rank, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; rank( params: Params$Resource$Projects$Locations$Rankingconfigs$Rank, options: StreamMethodOptions | BodyResponseCallback, @@ -34983,8 +35640,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Rankingconfigs$Rank; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35062,11 +35721,11 @@ export namespace discoveryengine_v1 { collect( params: Params$Resource$Projects$Locations$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -35097,8 +35756,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35154,11 +35813,11 @@ export namespace discoveryengine_v1 { import( params: Params$Resource$Projects$Locations$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -35193,8 +35852,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35250,11 +35909,13 @@ export namespace discoveryengine_v1 { write( params: Params$Resource$Projects$Locations$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -35289,8 +35950,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35386,6 +36049,256 @@ export namespace discoveryengine_v1 { requestBody?: Schema$GoogleCloudDiscoveryengineV1UserEvent; } + export class Resource$Projects$Locations$Userstores { + context: APIRequestContext; + userLicenses: Resource$Projects$Locations$Userstores$Userlicenses; + constructor(context: APIRequestContext) { + this.context = context; + this.userLicenses = + new Resource$Projects$Locations$Userstores$Userlicenses(this.context); + } + + /** + * Updates the User License. This method is used for batch assign/unassign licenses to users. + * + * @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. + */ + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options: StreamMethodOptions + ): Promise>; + batchUpdateUserLicenses( + params?: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options?: MethodOptions + ): Promise>; + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}:batchUpdateUserLicenses').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses + extends StandardParameters { + /** + * Required. The parent UserStore resource name, format: `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest; + } + + export class Resource$Projects$Locations$Userstores$Userlicenses { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists the User Licenses. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Userstores$Userlicenses$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Userstores$Userlicenses$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Userstores$Userlicenses$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/userLicenses').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Userstores$Userlicenses$List + extends StandardParameters { + /** + * Optional. Filter for the list request. Supported fields: * `license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned. + */ + filter?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent UserStore resource name, format: `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`. + */ + parent?: string; + } + export class Resource$Projects$Operations { context: APIRequestContext; constructor(context: APIRequestContext) { @@ -35403,11 +36316,11 @@ export namespace discoveryengine_v1 { cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -35438,8 +36351,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35492,11 +36405,11 @@ export namespace discoveryengine_v1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35531,8 +36444,8 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35585,11 +36498,13 @@ export namespace discoveryengine_v1 { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35624,8 +36539,10 @@ export namespace discoveryengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/discoveryengine/v1alpha.ts b/src/apis/discoveryengine/v1alpha.ts index 7238ce1baa6..5e033d6d6ef 100644 --- a/src/apis/discoveryengine/v1alpha.ts +++ b/src/apis/discoveryengine/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2164,6 +2164,70 @@ export namespace discoveryengine_v1alpha { */ uri?: string | null; } + /** + * Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata { + /** + * Operation create time. + */ + createTime?: string | null; + /** + * Count of user licenses that failed to be updated. + */ + failureCount?: string | null; + /** + * Count of user licenses successfully updated. + */ + successCount?: string | null; + /** + * Operation last update time. If the operation is done, this is also the finish time. + */ + updateTime?: string | null; + } + /** + * Request message for UserLicenseService.BatchUpdateUserLicenses method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest { + /** + * Optional. If true, if user licenses removed associated license config, the user license will be deleted. By default which is false, the user license will be updated to unassigned state. + */ + deleteUnassignedUserLicenses?: boolean | null; + /** + * Cloud Storage location for the input content. + */ + gcsSource?: Schema$GoogleCloudDiscoveryengineV1alphaGcsSource; + /** + * The inline source for the input content for document embeddings. + */ + inlineSource?: Schema$GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource; + } + /** + * The inline source for the input config for BatchUpdateUserLicenses method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource { + /** + * Optional. The list of fields to update. + */ + updateMask?: string | null; + /** + * Required. A list of user licenses to update. Each user license must have a valid UserLicense.user_principal. + */ + userLicenses?: Schema$GoogleCloudDiscoveryengineV1alphaUserLicense[]; + } + /** + * Response message for UserLicenseService.BatchUpdateUserLicenses method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse { + /** + * A sample of errors encountered while processing the request. + */ + errorSamples?: Schema$GoogleRpcStatus[]; + /** + * UserLicenses successfully updated. + */ + userLicenses?: Schema$GoogleCloudDiscoveryengineV1alphaUserLicense[]; + } /** * Request message for SiteSearchEngineService.BatchVerifyTargetSites method. */ @@ -2349,7 +2413,7 @@ export namespace discoveryengine_v1alpha { */ groundingCheckRequired?: boolean | null; /** - * Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when enable_claim_level_score is true. + * Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true. */ score?: number | null; /** @@ -2863,7 +2927,7 @@ export namespace discoveryengine_v1alpha { */ name?: string | null; /** - * Promote certain links based on predefined trigger queries. This now only supports basic site search. + * Promote certain links based on predefined trigger queries. */ promoteAction?: Schema$GoogleCloudDiscoveryengineV1alphaControlPromoteAction; /** @@ -3270,7 +3334,7 @@ export namespace discoveryengine_v1alpha { */ alertPolicyConfigs?: Schema$GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig[]; /** - * Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. + * Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs */ autoRunDisabled?: boolean | null; /** @@ -3286,9 +3350,13 @@ export namespace discoveryengine_v1alpha { */ connectorModes?: string[] | null; /** - * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is notmutable once set by system. + * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. */ connectorType?: string | null; + /** + * Optional. Whether the END USER AUTHENTICATION connector is created in SaaS. + */ + createEuaSaas?: boolean | null; /** * Output only. Timestamp the DataConnector was created at. */ @@ -3321,6 +3389,14 @@ export namespace discoveryengine_v1alpha { * The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector. */ identityScheduleConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig; + /** + * Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. + */ + incrementalRefreshInterval?: string | null; + /** + * Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. + */ + incrementalSyncDisabled?: boolean | null; /** * Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key. */ @@ -5497,6 +5573,19 @@ export namespace discoveryengine_v1alpha { */ totalSize?: number | null; } + /** + * Response message for UserLicenseService.ListUserLicenses. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse { + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * All the customer's UserLicenses. + */ + userLicenses?: Schema$GoogleCloudDiscoveryengineV1alphaUserLicense[]; + } /** * Media-specific user event information. */ @@ -6974,6 +7063,10 @@ export namespace discoveryengine_v1alpha { * Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */ boostSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec; + /** + * Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + */ + customSearchOperators?: string | null; /** * Required. Full resource name of DataStore, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. */ @@ -7311,24 +7404,11 @@ export namespace discoveryengine_v1alpha { * Rewritten input query minus the extracted filters. */ rewrittenQuery?: string | null; - /** - * Optional. The SQL request that was generated from the natural language query understanding phase. - */ - sqlRequest?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest; /** * The filters that were extracted from the input query represented in a structured form. */ structuredExtractedFilter?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter; } - /** - * The SQL request that was generated from the natural language query understanding phase. - */ - export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest { - /** - * Optional. The SQL query in text format. - */ - sqlQuery?: string | null; - } /** * The filters that were extracted from the input query represented in a structured form. */ @@ -8441,6 +8521,43 @@ export namespace discoveryengine_v1alpha { */ userId?: string | null; } + /** + * User License information assigned by the admin. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaUserLicense { + /** + * Output only. User created timestamp. + */ + createTime?: string | null; + /** + * Output only. User last logged in time. If the user has not logged in yet, this field will be empty. + */ + lastLoginTime?: string | null; + /** + * Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user; + */ + licenseAssignmentState?: string | null; + /** + * Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user. + */ + licenseConfig?: string | null; + /** + * Output only. User update timestamp. + */ + updateTime?: string | null; + /** + * Optional. The full resource name of the User, in the format of `projects/{project\}/locations/{location\}/userStores/{user_store\}/users/{user_id\}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created. + */ + user?: string | null; + /** + * Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal. + */ + userPrincipal?: string | null; + /** + * Optional. The user profile. We user user full name(First name + Last name) as user profile. + */ + userProfile?: string | null; + } /** * WidgetConfig captures configs at the Widget level. */ @@ -8505,6 +8622,10 @@ export namespace discoveryengine_v1alpha { * Whether to allow conversational search (LLM, multi-turn) or not (non-LLM, single-turn). */ enableConversationalSearch?: boolean | null; + /** + * Optional. Output only. Whether to enable private knowledge graph. + */ + enablePrivateKnowledgeGraph?: boolean | null; /** * Turn on or off collecting the search result quality feedback from end users. */ @@ -9125,7 +9246,7 @@ export namespace discoveryengine_v1alpha { */ name?: string | null; /** - * Promote certain links based on predefined trigger queries. This now only supports basic site search. + * Promote certain links based on predefined trigger queries. */ promoteAction?: Schema$GoogleCloudDiscoveryengineV1betaControlPromoteAction; /** @@ -10864,6 +10985,10 @@ export namespace discoveryengine_v1alpha { * Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */ boostSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec; + /** + * Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + */ + customSearchOperators?: string | null; /** * Required. Full resource name of DataStore, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. */ @@ -11394,7 +11519,7 @@ export namespace discoveryengine_v1alpha { */ name?: string | null; /** - * Promote certain links based on predefined trigger queries. This now only supports basic site search. + * Promote certain links based on predefined trigger queries. */ promoteAction?: Schema$GoogleCloudDiscoveryengineV1ControlPromoteAction; /** @@ -13273,11 +13398,13 @@ export namespace discoveryengine_v1alpha { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -13312,8 +13439,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13411,11 +13540,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13450,8 +13581,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13505,11 +13638,11 @@ export namespace discoveryengine_v1alpha { provision( params: Params$Resource$Projects$Provision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provision( params?: Params$Resource$Projects$Provision, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; provision( params: Params$Resource$Projects$Provision, options: StreamMethodOptions | BodyResponseCallback, @@ -13544,8 +13677,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Provision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13601,11 +13734,13 @@ export namespace discoveryengine_v1alpha { reportConsentChange( params: Params$Resource$Projects$Reportconsentchange, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportConsentChange( params?: Params$Resource$Projects$Reportconsentchange, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; reportConsentChange( params: Params$Resource$Projects$Reportconsentchange, options: StreamMethodOptions | BodyResponseCallback, @@ -13640,8 +13775,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Reportconsentchange; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13786,11 +13923,11 @@ export namespace discoveryengine_v1alpha { estimateDataSize( params: Params$Resource$Projects$Locations$Estimatedatasize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; estimateDataSize( params?: Params$Resource$Projects$Locations$Estimatedatasize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; estimateDataSize( params: Params$Resource$Projects$Locations$Estimatedatasize, options: StreamMethodOptions | BodyResponseCallback, @@ -13825,8 +13962,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Estimatedatasize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13882,11 +14019,13 @@ export namespace discoveryengine_v1alpha { getAclConfig( params: Params$Resource$Projects$Locations$Getaclconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAclConfig( params?: Params$Resource$Projects$Locations$Getaclconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAclConfig( params: Params$Resource$Projects$Locations$Getaclconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -13921,8 +14060,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getaclconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13977,11 +14118,13 @@ export namespace discoveryengine_v1alpha { getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCmekConfig( params?: Params$Resource$Projects$Locations$Getcmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -14016,8 +14159,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getcmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14072,11 +14217,13 @@ export namespace discoveryengine_v1alpha { obtainCrawlRate( params: Params$Resource$Projects$Locations$Obtaincrawlrate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; obtainCrawlRate( params?: Params$Resource$Projects$Locations$Obtaincrawlrate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; obtainCrawlRate( params: Params$Resource$Projects$Locations$Obtaincrawlrate, options: StreamMethodOptions | BodyResponseCallback, @@ -14111,8 +14258,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Obtaincrawlrate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14170,11 +14319,11 @@ export namespace discoveryengine_v1alpha { removeDedicatedCrawlRate( params: Params$Resource$Projects$Locations$Removededicatedcrawlrate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeDedicatedCrawlRate( params?: Params$Resource$Projects$Locations$Removededicatedcrawlrate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeDedicatedCrawlRate( params: Params$Resource$Projects$Locations$Removededicatedcrawlrate, options: StreamMethodOptions | BodyResponseCallback, @@ -14209,8 +14358,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Removededicatedcrawlrate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14266,11 +14415,11 @@ export namespace discoveryengine_v1alpha { setDedicatedCrawlRate( params: Params$Resource$Projects$Locations$Setdedicatedcrawlrate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDedicatedCrawlRate( params?: Params$Resource$Projects$Locations$Setdedicatedcrawlrate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDedicatedCrawlRate( params: Params$Resource$Projects$Locations$Setdedicatedcrawlrate, options: StreamMethodOptions | BodyResponseCallback, @@ -14305,8 +14454,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Setdedicatedcrawlrate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14361,11 +14510,11 @@ export namespace discoveryengine_v1alpha { setUpDataConnector( params: Params$Resource$Projects$Locations$Setupdataconnector, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUpDataConnector( params?: Params$Resource$Projects$Locations$Setupdataconnector, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUpDataConnector( params: Params$Resource$Projects$Locations$Setupdataconnector, options: StreamMethodOptions | BodyResponseCallback, @@ -14400,8 +14549,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Setupdataconnector; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14457,11 +14606,13 @@ export namespace discoveryengine_v1alpha { updateAclConfig( params: Params$Resource$Projects$Locations$Updateaclconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAclConfig( params?: Params$Resource$Projects$Locations$Updateaclconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateAclConfig( params: Params$Resource$Projects$Locations$Updateaclconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -14496,8 +14647,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updateaclconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14552,11 +14705,11 @@ export namespace discoveryengine_v1alpha { updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params?: Params$Resource$Projects$Locations$Updatecmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -14591,8 +14744,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatecmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14755,11 +14908,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Cmekconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Cmekconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Cmekconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14794,8 +14947,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14848,11 +15001,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Cmekconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Cmekconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Cmekconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14887,8 +15042,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14943,11 +15100,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Cmekconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Cmekconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Cmekconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14982,8 +15141,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15041,11 +15202,11 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Cmekconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Cmekconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Cmekconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15080,8 +15241,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15194,11 +15355,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15233,8 +15394,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15287,11 +15448,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15326,8 +15489,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15382,11 +15547,13 @@ export namespace discoveryengine_v1alpha { getDataConnector( params: Params$Resource$Projects$Locations$Collections$Getdataconnector, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDataConnector( params?: Params$Resource$Projects$Locations$Collections$Getdataconnector, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDataConnector( params: Params$Resource$Projects$Locations$Collections$Getdataconnector, options: StreamMethodOptions | BodyResponseCallback, @@ -15421,8 +15588,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Getdataconnector; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15478,11 +15647,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15517,8 +15688,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15576,11 +15749,11 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Collections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15615,8 +15788,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15669,11 +15842,13 @@ export namespace discoveryengine_v1alpha { updateDataConnector( params: Params$Resource$Projects$Locations$Collections$Updatedataconnector, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDataConnector( params?: Params$Resource$Projects$Locations$Collections$Updatedataconnector, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateDataConnector( params: Params$Resource$Projects$Locations$Collections$Updatedataconnector, options: StreamMethodOptions | BodyResponseCallback, @@ -15708,8 +15883,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Updatedataconnector; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15855,11 +16032,13 @@ export namespace discoveryengine_v1alpha { getConnectorSecret( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Getconnectorsecret, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConnectorSecret( params?: Params$Resource$Projects$Locations$Collections$Dataconnector$Getconnectorsecret, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConnectorSecret( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Getconnectorsecret, options: StreamMethodOptions | BodyResponseCallback, @@ -15894,8 +16073,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Dataconnector$Getconnectorsecret; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15954,11 +16135,13 @@ export namespace discoveryengine_v1alpha { startConnectorRun( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Startconnectorrun, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startConnectorRun( params?: Params$Resource$Projects$Locations$Collections$Dataconnector$Startconnectorrun, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; startConnectorRun( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Startconnectorrun, options: StreamMethodOptions | BodyResponseCallback, @@ -15993,8 +16176,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Dataconnector$Startconnectorrun; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16080,11 +16265,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Connectorruns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Dataconnector$Connectorruns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Connectorruns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16119,8 +16306,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Dataconnector$Connectorruns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16202,11 +16391,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16241,8 +16430,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16296,11 +16485,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16335,8 +16526,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16504,11 +16697,13 @@ export namespace discoveryengine_v1alpha { completeQuery( params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Collections$Datastores$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -16543,8 +16738,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16603,11 +16800,11 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16642,8 +16839,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16700,11 +16897,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16739,8 +16936,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16794,11 +16991,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16833,8 +17032,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16890,11 +17091,13 @@ export namespace discoveryengine_v1alpha { getDocumentProcessingConfig( params: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDocumentProcessingConfig( params?: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDocumentProcessingConfig( params: Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -16929,8 +17132,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Getdocumentprocessingconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16986,11 +17191,13 @@ export namespace discoveryengine_v1alpha { getSiteSearchEngine( params: Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSiteSearchEngine( params?: Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getSiteSearchEngine( params: Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine, options: StreamMethodOptions | BodyResponseCallback, @@ -17025,8 +17232,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17082,11 +17291,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17121,8 +17332,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17181,11 +17394,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17220,8 +17435,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17277,11 +17494,11 @@ export namespace discoveryengine_v1alpha { trainCustomModel( params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; trainCustomModel( params?: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; trainCustomModel( params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options: StreamMethodOptions | BodyResponseCallback, @@ -17316,8 +17533,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17374,11 +17591,13 @@ export namespace discoveryengine_v1alpha { updateDocumentProcessingConfig( params: Params$Resource$Projects$Locations$Collections$Datastores$Updatedocumentprocessingconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDocumentProcessingConfig( params?: Params$Resource$Projects$Locations$Collections$Datastores$Updatedocumentprocessingconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateDocumentProcessingConfig( params: Params$Resource$Projects$Locations$Collections$Datastores$Updatedocumentprocessingconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -17413,8 +17632,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Updatedocumentprocessingconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17634,11 +17855,13 @@ export namespace discoveryengine_v1alpha { batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGetDocumentsMetadata( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -17673,8 +17896,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17760,11 +17985,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17799,8 +18026,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17859,11 +18088,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17894,8 +18123,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17949,11 +18178,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17988,8 +18219,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18045,11 +18278,13 @@ export namespace discoveryengine_v1alpha { getProcessedDocument( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Getprocesseddocument, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getProcessedDocument( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Getprocesseddocument, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getProcessedDocument( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Getprocesseddocument, options: StreamMethodOptions | BodyResponseCallback, @@ -18084,8 +18319,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Getprocesseddocument; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18144,11 +18381,11 @@ export namespace discoveryengine_v1alpha { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -18183,8 +18420,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18241,11 +18478,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18280,8 +18519,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18340,11 +18581,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18379,8 +18622,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18436,11 +18681,11 @@ export namespace discoveryengine_v1alpha { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -18475,8 +18720,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18649,11 +18894,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18688,8 +18935,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18745,11 +18994,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18784,8 +19035,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18874,11 +19127,11 @@ export namespace discoveryengine_v1alpha { cancel( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -18909,8 +19162,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18967,11 +19220,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19006,8 +19259,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19061,11 +19314,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19100,8 +19355,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19206,11 +19463,13 @@ export namespace discoveryengine_v1alpha { completeQuery( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionconfig$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Collections$Datastores$Completionconfig$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionconfig$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -19245,8 +19504,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completionconfig$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19324,11 +19585,11 @@ export namespace discoveryengine_v1alpha { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -19363,8 +19624,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19420,11 +19681,11 @@ export namespace discoveryengine_v1alpha { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -19459,8 +19720,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19548,11 +19809,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19587,8 +19850,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19647,11 +19912,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19682,8 +19947,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19737,11 +20002,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19776,8 +20043,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19833,11 +20102,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19872,8 +20143,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19932,11 +20205,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19971,8 +20246,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20101,11 +20378,13 @@ export namespace discoveryengine_v1alpha { converse( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; converse( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; converse( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse, options: StreamMethodOptions | BodyResponseCallback, @@ -20140,8 +20419,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20200,11 +20481,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20239,8 +20522,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20299,11 +20584,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20334,8 +20619,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20389,11 +20674,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20428,8 +20715,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20485,11 +20774,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20524,8 +20815,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20584,11 +20877,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20623,8 +20918,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20765,11 +21062,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20804,8 +21103,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20891,11 +21192,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20930,8 +21231,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20985,11 +21286,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21024,8 +21327,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21118,11 +21423,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21157,8 +21462,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21212,11 +21517,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21251,8 +21558,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21350,11 +21659,11 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21389,8 +21698,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21447,11 +21756,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21486,8 +21795,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21541,11 +21850,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21580,8 +21891,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21637,11 +21950,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21676,8 +21991,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21736,11 +22053,11 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21775,8 +22092,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21899,11 +22216,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21938,8 +22255,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21993,11 +22310,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22032,8 +22351,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22126,11 +22447,13 @@ export namespace discoveryengine_v1alpha { answer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; answer( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; answer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, options: StreamMethodOptions | BodyResponseCallback, @@ -22165,8 +22488,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22225,11 +22550,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22264,8 +22591,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22321,11 +22650,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22360,8 +22691,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22420,11 +22753,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22459,8 +22794,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22516,11 +22853,13 @@ export namespace discoveryengine_v1alpha { recommend( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recommend( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; recommend( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions | BodyResponseCallback, @@ -22555,8 +22894,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22615,11 +22956,13 @@ export namespace discoveryengine_v1alpha { search( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -22654,8 +22997,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22714,11 +23059,13 @@ export namespace discoveryengine_v1alpha { searchLite( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchLite( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchLite( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions | BodyResponseCallback, @@ -22753,8 +23100,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22813,11 +23162,13 @@ export namespace discoveryengine_v1alpha { streamAnswer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamAnswer( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamAnswer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions | BodyResponseCallback, @@ -22852,8 +23203,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23023,11 +23376,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23062,8 +23417,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23122,11 +23479,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23157,8 +23514,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23212,11 +23569,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23251,8 +23610,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23308,11 +23669,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23347,8 +23710,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23407,11 +23772,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23446,8 +23813,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23580,11 +23949,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23619,8 +23990,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23706,11 +24079,11 @@ export namespace discoveryengine_v1alpha { batchVerifyTargetSites( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchVerifyTargetSites( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchVerifyTargetSites( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites, options: StreamMethodOptions | BodyResponseCallback, @@ -23745,8 +24118,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23802,11 +24175,11 @@ export namespace discoveryengine_v1alpha { disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -23841,8 +24214,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23898,11 +24271,11 @@ export namespace discoveryengine_v1alpha { enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -23937,8 +24310,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23994,11 +24367,13 @@ export namespace discoveryengine_v1alpha { fetchDomainVerificationStatus( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchDomainVerificationStatus( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchDomainVerificationStatus( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -24033,8 +24408,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24093,11 +24470,13 @@ export namespace discoveryengine_v1alpha { getUriPatternDocumentData( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Geturipatterndocumentdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getUriPatternDocumentData( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Geturipatterndocumentdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getUriPatternDocumentData( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Geturipatterndocumentdata, options: StreamMethodOptions | BodyResponseCallback, @@ -24132,8 +24511,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Geturipatterndocumentdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24191,11 +24572,11 @@ export namespace discoveryengine_v1alpha { recrawlUris( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions | BodyResponseCallback, @@ -24230,8 +24611,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24288,11 +24669,11 @@ export namespace discoveryengine_v1alpha { setUriPatternDocumentData( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Seturipatterndocumentdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setUriPatternDocumentData( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Seturipatterndocumentdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setUriPatternDocumentData( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Seturipatterndocumentdata, options: StreamMethodOptions | BodyResponseCallback, @@ -24327,8 +24708,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Seturipatterndocumentdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24474,11 +24855,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24513,8 +24894,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24568,11 +24949,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24607,8 +24990,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24701,11 +25086,11 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -24740,8 +25125,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24798,11 +25183,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24837,8 +25222,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24892,11 +25277,13 @@ export namespace discoveryengine_v1alpha { fetch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions | BodyResponseCallback, @@ -24931,8 +25318,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25034,11 +25423,11 @@ export namespace discoveryengine_v1alpha { batchCreate( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -25073,8 +25462,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25130,11 +25519,11 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -25169,8 +25558,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25227,11 +25616,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25266,8 +25655,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25321,11 +25710,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25360,8 +25751,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25417,11 +25810,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25456,8 +25851,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25516,11 +25913,11 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25555,8 +25952,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25683,11 +26080,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25722,8 +26119,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25777,11 +26174,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25816,8 +26215,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25910,11 +26311,11 @@ export namespace discoveryengine_v1alpha { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -25949,8 +26350,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26006,11 +26407,11 @@ export namespace discoveryengine_v1alpha { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -26045,8 +26446,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26134,11 +26535,11 @@ export namespace discoveryengine_v1alpha { collect( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -26169,8 +26570,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26227,11 +26628,11 @@ export namespace discoveryengine_v1alpha { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -26266,8 +26667,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26324,11 +26725,11 @@ export namespace discoveryengine_v1alpha { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -26363,8 +26764,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26421,11 +26822,13 @@ export namespace discoveryengine_v1alpha { write( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -26460,8 +26863,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26587,11 +26992,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Widgetconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Widgetconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Widgetconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26626,8 +27033,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Widgetconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26737,11 +27146,11 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Engines$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Engines$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -26776,8 +27185,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26834,11 +27243,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26873,8 +27282,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26928,11 +27337,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Engines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26967,8 +27378,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27024,11 +27437,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Engines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27063,8 +27478,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27123,11 +27540,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -27162,8 +27581,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27219,11 +27640,13 @@ export namespace discoveryengine_v1alpha { pause( params: Params$Resource$Projects$Locations$Collections$Engines$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Collections$Engines$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; pause( params: Params$Resource$Projects$Locations$Collections$Engines$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -27258,8 +27681,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27318,11 +27743,13 @@ export namespace discoveryengine_v1alpha { resume( params: Params$Resource$Projects$Locations$Collections$Engines$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Collections$Engines$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; resume( params: Params$Resource$Projects$Locations$Collections$Engines$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -27357,8 +27784,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27417,11 +27846,11 @@ export namespace discoveryengine_v1alpha { tune( params: Params$Resource$Projects$Locations$Collections$Engines$Tune, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; tune( params?: Params$Resource$Projects$Locations$Collections$Engines$Tune, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; tune( params: Params$Resource$Projects$Locations$Collections$Engines$Tune, options: StreamMethodOptions | BodyResponseCallback, @@ -27456,8 +27885,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Tune; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27623,11 +28052,13 @@ export namespace discoveryengine_v1alpha { completeQuery( params: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -27662,8 +28093,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27721,11 +28154,13 @@ export namespace discoveryengine_v1alpha { removeSuggestion( params: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Removesuggestion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeSuggestion( params?: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Removesuggestion, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeSuggestion( params: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Removesuggestion, options: StreamMethodOptions | BodyResponseCallback, @@ -27760,8 +28195,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Removesuggestion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27851,11 +28288,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -27890,8 +28329,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27950,11 +28391,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27985,8 +28426,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28040,11 +28481,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28079,8 +28522,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28136,11 +28581,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28175,8 +28622,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28235,11 +28684,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28274,8 +28725,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28404,11 +28857,13 @@ export namespace discoveryengine_v1alpha { converse( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; converse( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; converse( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse, options: StreamMethodOptions | BodyResponseCallback, @@ -28443,8 +28898,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28503,11 +28960,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28542,8 +29001,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28602,11 +29063,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28637,8 +29098,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28692,11 +29153,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28731,8 +29194,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28788,11 +29253,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28827,8 +29294,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28887,11 +29356,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28926,8 +29397,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29068,11 +29541,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29107,8 +29580,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29162,11 +29635,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29201,8 +29676,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29295,11 +29772,13 @@ export namespace discoveryengine_v1alpha { answer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; answer( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; answer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, options: StreamMethodOptions | BodyResponseCallback, @@ -29334,8 +29813,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29394,11 +29875,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29433,8 +29916,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29490,11 +29975,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29529,8 +30016,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29589,11 +30078,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -29628,8 +30119,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29685,11 +30178,13 @@ export namespace discoveryengine_v1alpha { recommend( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recommend( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; recommend( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend, options: StreamMethodOptions | BodyResponseCallback, @@ -29724,8 +30219,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29784,11 +30281,13 @@ export namespace discoveryengine_v1alpha { search( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -29823,8 +30322,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29883,11 +30384,13 @@ export namespace discoveryengine_v1alpha { searchLite( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchLite( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchLite( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite, options: StreamMethodOptions | BodyResponseCallback, @@ -29922,8 +30425,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29982,11 +30487,13 @@ export namespace discoveryengine_v1alpha { streamAnswer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamAnswer( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamAnswer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer, options: StreamMethodOptions | BodyResponseCallback, @@ -30021,8 +30528,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30192,11 +30701,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -30231,8 +30742,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30291,11 +30804,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30326,8 +30839,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30381,11 +30894,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30420,8 +30935,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30477,11 +30994,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30516,8 +31035,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30576,11 +31097,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -30615,8 +31138,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30749,11 +31274,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30788,8 +31315,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30860,11 +31389,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Engines$Widgetconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Widgetconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Widgetconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30899,8 +31430,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Widgetconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30975,11 +31508,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Collections$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31014,8 +31547,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31069,11 +31602,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Collections$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31108,8 +31643,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31259,11 +31796,13 @@ export namespace discoveryengine_v1alpha { completeQuery( params: Params$Resource$Projects$Locations$Datastores$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Datastores$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Datastores$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -31298,8 +31837,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31358,11 +31899,11 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Datastores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -31397,8 +31938,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31454,11 +31995,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Datastores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31493,8 +32034,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31547,11 +32088,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31586,8 +32129,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31642,11 +32187,13 @@ export namespace discoveryengine_v1alpha { getDocumentProcessingConfig( params: Params$Resource$Projects$Locations$Datastores$Getdocumentprocessingconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDocumentProcessingConfig( params?: Params$Resource$Projects$Locations$Datastores$Getdocumentprocessingconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDocumentProcessingConfig( params: Params$Resource$Projects$Locations$Datastores$Getdocumentprocessingconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -31681,8 +32228,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Getdocumentprocessingconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31738,11 +32287,13 @@ export namespace discoveryengine_v1alpha { getSiteSearchEngine( params: Params$Resource$Projects$Locations$Datastores$Getsitesearchengine, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSiteSearchEngine( params?: Params$Resource$Projects$Locations$Datastores$Getsitesearchengine, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getSiteSearchEngine( params: Params$Resource$Projects$Locations$Datastores$Getsitesearchengine, options: StreamMethodOptions | BodyResponseCallback, @@ -31777,8 +32328,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Getsitesearchengine; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31834,11 +32387,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31873,8 +32428,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31932,11 +32489,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Datastores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31971,8 +32530,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32027,11 +32588,13 @@ export namespace discoveryengine_v1alpha { updateDocumentProcessingConfig( params: Params$Resource$Projects$Locations$Datastores$Updatedocumentprocessingconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDocumentProcessingConfig( params?: Params$Resource$Projects$Locations$Datastores$Updatedocumentprocessingconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateDocumentProcessingConfig( params: Params$Resource$Projects$Locations$Datastores$Updatedocumentprocessingconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -32066,8 +32629,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Updatedocumentprocessingconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32275,11 +32840,13 @@ export namespace discoveryengine_v1alpha { batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGetDocumentsMetadata( params?: Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -32314,8 +32881,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32401,11 +32970,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -32440,8 +33011,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32500,11 +33073,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -32535,8 +33108,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32590,11 +33163,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32629,8 +33204,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32686,11 +33263,13 @@ export namespace discoveryengine_v1alpha { getProcessedDocument( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Getprocesseddocument, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getProcessedDocument( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Getprocesseddocument, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getProcessedDocument( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Getprocesseddocument, options: StreamMethodOptions | BodyResponseCallback, @@ -32725,8 +33304,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Getprocesseddocument; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32785,11 +33366,11 @@ export namespace discoveryengine_v1alpha { import( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -32824,8 +33405,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32882,11 +33463,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32921,8 +33504,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32981,11 +33566,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -33020,8 +33607,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33077,11 +33666,11 @@ export namespace discoveryengine_v1alpha { purge( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -33116,8 +33705,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33290,11 +33879,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33329,8 +33920,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33386,11 +33979,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33425,8 +34020,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33515,11 +34112,11 @@ export namespace discoveryengine_v1alpha { cancel( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -33550,8 +34147,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33608,11 +34205,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33647,8 +34244,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33702,11 +34299,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Branches$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33741,8 +34340,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33847,11 +34448,13 @@ export namespace discoveryengine_v1alpha { completeQuery( params: Params$Resource$Projects$Locations$Datastores$Completionconfig$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Datastores$Completionconfig$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Datastores$Completionconfig$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -33886,8 +34489,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Completionconfig$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33965,11 +34570,11 @@ export namespace discoveryengine_v1alpha { import( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -34004,8 +34609,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34061,11 +34666,11 @@ export namespace discoveryengine_v1alpha { purge( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -34100,8 +34705,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34189,11 +34794,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Datastores$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -34228,8 +34835,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34288,11 +34897,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Datastores$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34323,8 +34932,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34378,11 +34987,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34417,8 +35028,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34474,11 +35087,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34513,8 +35128,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34573,11 +35190,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Datastores$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -34612,8 +35231,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34742,11 +35363,13 @@ export namespace discoveryengine_v1alpha { converse( params: Params$Resource$Projects$Locations$Datastores$Conversations$Converse, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; converse( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Converse, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; converse( params: Params$Resource$Projects$Locations$Datastores$Conversations$Converse, options: StreamMethodOptions | BodyResponseCallback, @@ -34781,8 +35404,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Converse; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34841,11 +35466,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Datastores$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -34880,8 +35507,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34940,11 +35569,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Datastores$Conversations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34975,8 +35604,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35030,11 +35659,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35069,8 +35700,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35126,11 +35759,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35165,8 +35800,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35225,11 +35862,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Datastores$Conversations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Conversations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -35264,8 +35903,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35418,11 +36059,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Models$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35457,8 +36098,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Models$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35512,11 +36153,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Models$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35551,8 +36194,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Models$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35645,11 +36290,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datastores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35684,8 +36329,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35739,11 +36384,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -35778,8 +36425,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35872,11 +36521,11 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Datastores$Schemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Schemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -35911,8 +36560,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35969,11 +36618,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Datastores$Schemas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Schemas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -36008,8 +36657,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36063,11 +36712,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Schemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Schemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36102,8 +36753,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36159,11 +36812,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$Schemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Schemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Schemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36198,8 +36853,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36258,11 +36915,11 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -36297,8 +36954,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36421,11 +37078,13 @@ export namespace discoveryengine_v1alpha { answer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; answer( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; answer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options: StreamMethodOptions | BodyResponseCallback, @@ -36460,8 +37119,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36520,11 +37181,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36559,8 +37222,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36616,11 +37281,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36655,8 +37322,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36715,11 +37384,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -36754,8 +37425,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36811,11 +37484,13 @@ export namespace discoveryengine_v1alpha { recommend( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recommend( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; recommend( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions | BodyResponseCallback, @@ -36850,8 +37525,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36910,11 +37587,13 @@ export namespace discoveryengine_v1alpha { search( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -36949,8 +37628,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37009,11 +37690,13 @@ export namespace discoveryengine_v1alpha { searchLite( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchLite( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchLite( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions | BodyResponseCallback, @@ -37048,8 +37731,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37108,11 +37793,13 @@ export namespace discoveryengine_v1alpha { streamAnswer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamAnswer( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamAnswer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions | BodyResponseCallback, @@ -37147,8 +37834,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37318,11 +38007,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Datastores$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -37357,8 +38048,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37417,11 +38110,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Datastores$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -37452,8 +38145,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37507,11 +38200,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37546,8 +38241,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37603,11 +38300,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37642,8 +38341,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37702,11 +38403,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Datastores$Sessions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Sessions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -37741,8 +38444,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37875,11 +38580,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37914,8 +38621,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37996,11 +38705,11 @@ export namespace discoveryengine_v1alpha { disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -38035,8 +38744,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38092,11 +38801,11 @@ export namespace discoveryengine_v1alpha { enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -38131,8 +38840,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38188,11 +38897,11 @@ export namespace discoveryengine_v1alpha { recrawlUris( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions | BodyResponseCallback, @@ -38227,8 +38936,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38329,11 +39038,11 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -38368,8 +39077,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38426,11 +39135,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -38465,8 +39174,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38520,11 +39229,13 @@ export namespace discoveryengine_v1alpha { fetch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions | BodyResponseCallback, @@ -38559,8 +39270,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38657,11 +39370,11 @@ export namespace discoveryengine_v1alpha { batchCreate( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -38696,8 +39409,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38753,11 +39466,11 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -38792,8 +39505,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38850,11 +39563,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -38889,8 +39602,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38944,11 +39657,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38983,8 +39698,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39040,11 +39757,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -39079,8 +39798,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39139,11 +39860,11 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -39178,8 +39899,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39306,11 +40027,11 @@ export namespace discoveryengine_v1alpha { import( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -39345,8 +40066,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39402,11 +40123,11 @@ export namespace discoveryengine_v1alpha { purge( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -39441,8 +40162,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39530,11 +40251,11 @@ export namespace discoveryengine_v1alpha { collect( params: Params$Resource$Projects$Locations$Datastores$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Datastores$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -39565,8 +40286,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39623,11 +40344,11 @@ export namespace discoveryengine_v1alpha { import( params: Params$Resource$Projects$Locations$Datastores$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -39662,8 +40383,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39720,11 +40441,11 @@ export namespace discoveryengine_v1alpha { purge( params: Params$Resource$Projects$Locations$Datastores$Userevents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Userevents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -39759,8 +40480,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39817,11 +40538,13 @@ export namespace discoveryengine_v1alpha { write( params: Params$Resource$Projects$Locations$Datastores$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Datastores$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -39856,8 +40579,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39983,11 +40708,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Datastores$Widgetconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Widgetconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Widgetconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40022,8 +40749,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Widgetconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40102,11 +40831,11 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Evaluations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Evaluations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Evaluations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -40141,8 +40870,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40198,11 +40927,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Evaluations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Evaluations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Evaluations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40237,8 +40968,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40293,11 +41026,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Evaluations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Evaluations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Evaluations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -40332,8 +41067,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40391,11 +41128,13 @@ export namespace discoveryengine_v1alpha { listResults( params: Params$Resource$Projects$Locations$Evaluations$Listresults, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listResults( params?: Params$Resource$Projects$Locations$Evaluations$Listresults, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listResults( params: Params$Resource$Projects$Locations$Evaluations$Listresults, options: StreamMethodOptions | BodyResponseCallback, @@ -40430,8 +41169,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Listresults; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40547,11 +41288,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Evaluations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Evaluations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Evaluations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -40586,8 +41327,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40656,11 +41397,13 @@ export namespace discoveryengine_v1alpha { check( params: Params$Resource$Projects$Locations$Groundingconfigs$Check, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; check( params?: Params$Resource$Projects$Locations$Groundingconfigs$Check, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; check( params: Params$Resource$Projects$Locations$Groundingconfigs$Check, options: StreamMethodOptions | BodyResponseCallback, @@ -40695,8 +41438,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groundingconfigs$Check; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40780,11 +41525,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Identitymappingstores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Identitymappingstores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Identitymappingstores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -40819,8 +41566,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40879,11 +41628,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Identitymappingstores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Identitymappingstores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Identitymappingstores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -40918,8 +41667,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -40973,11 +41722,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Identitymappingstores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Identitymappingstores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Identitymappingstores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -41012,8 +41763,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41069,11 +41822,11 @@ export namespace discoveryengine_v1alpha { importIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importIdentityMappings( params?: Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings, options: StreamMethodOptions | BodyResponseCallback, @@ -41108,8 +41861,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41166,11 +41919,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Identitymappingstores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Identitymappingstores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Identitymappingstores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41205,8 +41960,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41265,11 +42022,13 @@ export namespace discoveryengine_v1alpha { listIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listIdentityMappings( params?: Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings, options: StreamMethodOptions | BodyResponseCallback, @@ -41304,8 +42063,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41363,11 +42124,11 @@ export namespace discoveryengine_v1alpha { purgeIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purgeIdentityMappings( params?: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purgeIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings, options: StreamMethodOptions | BodyResponseCallback, @@ -41402,8 +42163,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41559,11 +42320,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -41598,8 +42359,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41653,11 +42414,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41692,8 +42455,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41786,11 +42551,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -41825,8 +42590,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -41879,11 +42644,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -41918,8 +42685,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42022,11 +42791,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Podcasts$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Podcasts$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Podcasts$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -42061,8 +42830,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Podcasts$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42131,11 +42900,13 @@ export namespace discoveryengine_v1alpha { rank( params: Params$Resource$Projects$Locations$Rankingconfigs$Rank, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rank( params?: Params$Resource$Projects$Locations$Rankingconfigs$Rank, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; rank( params: Params$Resource$Projects$Locations$Rankingconfigs$Rank, options: StreamMethodOptions | BodyResponseCallback, @@ -42170,8 +42941,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Rankingconfigs$Rank; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42249,11 +43022,13 @@ export namespace discoveryengine_v1alpha { checkRequirement( params: Params$Resource$Projects$Locations$Requirements$Checkrequirement, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkRequirement( params?: Params$Resource$Projects$Locations$Requirements$Checkrequirement, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; checkRequirement( params: Params$Resource$Projects$Locations$Requirements$Checkrequirement, options: StreamMethodOptions | BodyResponseCallback, @@ -42288,8 +43063,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Requirements$Checkrequirement; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42377,11 +43154,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Samplequerysets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Samplequerysets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Samplequerysets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -42416,8 +43195,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42476,11 +43257,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Samplequerysets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Samplequerysets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Samplequerysets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -42511,8 +43292,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42566,11 +43347,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Samplequerysets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Samplequerysets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Samplequerysets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -42605,8 +43388,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42661,11 +43446,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Samplequerysets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Samplequerysets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Samplequerysets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -42700,8 +43487,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42759,11 +43548,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Samplequerysets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Samplequerysets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Samplequerysets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -42798,8 +43589,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -42923,11 +43716,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Samplequerysets$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Samplequerysets$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Samplequerysets$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -42962,8 +43755,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43032,11 +43825,13 @@ export namespace discoveryengine_v1alpha { create( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -43071,8 +43866,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43131,11 +43928,11 @@ export namespace discoveryengine_v1alpha { delete( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -43166,8 +43963,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43221,11 +44018,13 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -43260,8 +44059,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43317,11 +44118,11 @@ export namespace discoveryengine_v1alpha { import( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -43356,8 +44157,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43414,11 +44215,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -43453,8 +44256,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43513,11 +44318,13 @@ export namespace discoveryengine_v1alpha { patch( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -43552,8 +44359,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43690,11 +44499,11 @@ export namespace discoveryengine_v1alpha { collect( params: Params$Resource$Projects$Locations$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -43725,8 +44534,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43782,11 +44591,11 @@ export namespace discoveryengine_v1alpha { import( params: Params$Resource$Projects$Locations$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -43821,8 +44630,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -43878,11 +44687,13 @@ export namespace discoveryengine_v1alpha { write( params: Params$Resource$Projects$Locations$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -43917,8 +44728,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44017,14 +44830,126 @@ export namespace discoveryengine_v1alpha { export class Resource$Projects$Locations$Userstores { context: APIRequestContext; operations: Resource$Projects$Locations$Userstores$Operations; + userLicenses: Resource$Projects$Locations$Userstores$Userlicenses; constructor(context: APIRequestContext) { this.context = context; this.operations = new Resource$Projects$Locations$Userstores$Operations( this.context ); + this.userLicenses = + new Resource$Projects$Locations$Userstores$Userlicenses(this.context); + } + + /** + * Updates the User License. This method is used for batch assign/unassign licenses to users. + * + * @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. + */ + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options: StreamMethodOptions + ): Promise>; + batchUpdateUserLicenses( + params?: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options?: MethodOptions + ): Promise>; + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1alpha/{+parent}:batchUpdateUserLicenses' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } } } + export interface Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses + extends StandardParameters { + /** + * Required. The parent UserStore resource name, format: `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest; + } + export class Resource$Projects$Locations$Userstores$Operations { context: APIRequestContext; constructor(context: APIRequestContext) { @@ -44042,11 +44967,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Locations$Userstores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Userstores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Userstores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -44081,8 +45006,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Userstores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44136,11 +45061,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Locations$Userstores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Userstores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Userstores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -44175,8 +45102,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Userstores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44252,6 +45181,136 @@ export namespace discoveryengine_v1alpha { pageToken?: string; } + export class Resource$Projects$Locations$Userstores$Userlicenses { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists the User Licenses. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Userstores$Userlicenses$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Userstores$Userlicenses$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Userstores$Userlicenses$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/userLicenses').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Userstores$Userlicenses$List + extends StandardParameters { + /** + * Optional. Filter for the list request. Supported fields: * `license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned. + */ + filter?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent UserStore resource name, format: `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`. + */ + parent?: string; + } + export class Resource$Projects$Operations { context: APIRequestContext; constructor(context: APIRequestContext) { @@ -44269,11 +45328,11 @@ export namespace discoveryengine_v1alpha { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -44308,8 +45367,8 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -44362,11 +45421,13 @@ export namespace discoveryengine_v1alpha { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -44401,8 +45462,10 @@ export namespace discoveryengine_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/discoveryengine/v1beta.ts b/src/apis/discoveryengine/v1beta.ts index 17ea0eb697f..1ab3c971fc1 100644 --- a/src/apis/discoveryengine/v1beta.ts +++ b/src/apis/discoveryengine/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -957,6 +957,40 @@ export namespace discoveryengine_v1beta { */ targetSites?: Schema$GoogleCloudDiscoveryengineV1alphaTargetSite[]; } + /** + * Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata { + /** + * Operation create time. + */ + createTime?: string | null; + /** + * Count of user licenses that failed to be updated. + */ + failureCount?: string | null; + /** + * Count of user licenses successfully updated. + */ + successCount?: string | null; + /** + * Operation last update time. If the operation is done, this is also the finish time. + */ + updateTime?: string | null; + } + /** + * Response message for UserLicenseService.BatchUpdateUserLicenses method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse { + /** + * A sample of errors encountered while processing the request. + */ + errorSamples?: Schema$GoogleRpcStatus[]; + /** + * UserLicenses successfully updated. + */ + userLicenses?: Schema$GoogleCloudDiscoveryengineV1alphaUserLicense[]; + } /** * Configurations used to enable CMEK data encryption with Cloud KMS keys. */ @@ -1198,7 +1232,7 @@ export namespace discoveryengine_v1beta { */ name?: string | null; /** - * Promote certain links based on predefined trigger queries. This now only supports basic site search. + * Promote certain links based on predefined trigger queries. */ promoteAction?: Schema$GoogleCloudDiscoveryengineV1alphaControlPromoteAction; /** @@ -1425,7 +1459,7 @@ export namespace discoveryengine_v1beta { */ alertPolicyConfigs?: Schema$GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig[]; /** - * Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. + * Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs */ autoRunDisabled?: boolean | null; /** @@ -1441,9 +1475,13 @@ export namespace discoveryengine_v1beta { */ connectorModes?: string[] | null; /** - * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is notmutable once set by system. + * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. */ connectorType?: string | null; + /** + * Optional. Whether the END USER AUTHENTICATION connector is created in SaaS. + */ + createEuaSaas?: boolean | null; /** * Output only. Timestamp the DataConnector was created at. */ @@ -1476,6 +1514,14 @@ export namespace discoveryengine_v1beta { * The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector. */ identityScheduleConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig; + /** + * Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. + */ + incrementalRefreshInterval?: string | null; + /** + * Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. + */ + incrementalSyncDisabled?: boolean | null; /** * Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key. */ @@ -3602,6 +3648,10 @@ export namespace discoveryengine_v1beta { * Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */ boostSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec; + /** + * Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + */ + customSearchOperators?: string | null; /** * Required. Full resource name of DataStore, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. */ @@ -4116,6 +4166,43 @@ export namespace discoveryengine_v1beta { */ userId?: string | null; } + /** + * User License information assigned by the admin. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaUserLicense { + /** + * Output only. User created timestamp. + */ + createTime?: string | null; + /** + * Output only. User last logged in time. If the user has not logged in yet, this field will be empty. + */ + lastLoginTime?: string | null; + /** + * Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user; + */ + licenseAssignmentState?: string | null; + /** + * Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user. + */ + licenseConfig?: string | null; + /** + * Output only. User update timestamp. + */ + updateTime?: string | null; + /** + * Optional. The full resource name of the User, in the format of `projects/{project\}/locations/{location\}/userStores/{user_store\}/users/{user_id\}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created. + */ + user?: string | null; + /** + * Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal. + */ + userPrincipal?: string | null; + /** + * Optional. The user profile. We user user full name(First name + Last name) as user profile. + */ + userProfile?: string | null; + } /** * Config to store data store type configuration for workspace data */ @@ -5422,6 +5509,36 @@ export namespace discoveryengine_v1beta { */ uri?: string | null; } + /** + * Request message for UserLicenseService.BatchUpdateUserLicenses method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest { + /** + * Optional. If true, if user licenses removed associated license config, the user license will be deleted. By default which is false, the user license will be updated to unassigned state. + */ + deleteUnassignedUserLicenses?: boolean | null; + /** + * Cloud Storage location for the input content. + */ + gcsSource?: Schema$GoogleCloudDiscoveryengineV1betaGcsSource; + /** + * The inline source for the input content for document embeddings. + */ + inlineSource?: Schema$GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource; + } + /** + * The inline source for the input config for BatchUpdateUserLicenses method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource { + /** + * Optional. The list of fields to update. + */ + updateMask?: string | null; + /** + * Required. A list of user licenses to update. Each user license must have a valid UserLicense.user_principal. + */ + userLicenses?: Schema$GoogleCloudDiscoveryengineV1betaUserLicense[]; + } /** * Request message for SiteSearchEngineService.BatchVerifyTargetSites method. */ @@ -5607,7 +5724,7 @@ export namespace discoveryengine_v1beta { */ groundingCheckRequired?: boolean | null; /** - * Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when enable_claim_level_score is true. + * Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true. */ score?: number | null; /** @@ -5926,7 +6043,7 @@ export namespace discoveryengine_v1beta { */ name?: string | null; /** - * Promote certain links based on predefined trigger queries. This now only supports basic site search. + * Promote certain links based on predefined trigger queries. */ promoteAction?: Schema$GoogleCloudDiscoveryengineV1betaControlPromoteAction; /** @@ -7967,6 +8084,19 @@ export namespace discoveryengine_v1beta { */ totalSize?: number | null; } + /** + * Response message for UserLicenseService.ListUserLicenses. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaListUserLicensesResponse { + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * All the customer's UserLicenses. + */ + userLicenses?: Schema$GoogleCloudDiscoveryengineV1betaUserLicense[]; + } /** * Media-specific user event information. */ @@ -9147,6 +9277,10 @@ export namespace discoveryengine_v1beta { * Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */ boostSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec; + /** + * Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + */ + customSearchOperators?: string | null; /** * Required. Full resource name of DataStore, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. */ @@ -9484,24 +9618,11 @@ export namespace discoveryengine_v1beta { * Rewritten input query minus the extracted filters. */ rewrittenQuery?: string | null; - /** - * Optional. The SQL request that was generated from the natural language query understanding phase. - */ - sqlRequest?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest; /** * The filters that were extracted from the input query represented in a structured form. */ structuredExtractedFilter?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter; } - /** - * The SQL request that was generated from the natural language query understanding phase. - */ - export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest { - /** - * Optional. The SQL query in text format. - */ - sqlQuery?: string | null; - } /** * The filters that were extracted from the input query represented in a structured form. */ @@ -10487,6 +10608,43 @@ export namespace discoveryengine_v1beta { */ userId?: string | null; } + /** + * User License information assigned by the admin. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaUserLicense { + /** + * Output only. User created timestamp. + */ + createTime?: string | null; + /** + * Output only. User last logged in time. If the user has not logged in yet, this field will be empty. + */ + lastLoginTime?: string | null; + /** + * Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user; + */ + licenseAssignmentState?: string | null; + /** + * Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user. + */ + licenseConfig?: string | null; + /** + * Output only. User update timestamp. + */ + updateTime?: string | null; + /** + * Optional. The full resource name of the User, in the format of `projects/{project\}/locations/{location\}/userStores/{user_store\}/users/{user_id\}`. This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no User entity is created. + */ + user?: string | null; + /** + * Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal. + */ + userPrincipal?: string | null; + /** + * Optional. The user profile. We user user full name(First name + Last name) as user profile. + */ + userProfile?: string | null; + } /** * Config to store data store type configuration for workspace data */ @@ -10617,7 +10775,7 @@ export namespace discoveryengine_v1beta { */ name?: string | null; /** - * Promote certain links based on predefined trigger queries. This now only supports basic site search. + * Promote certain links based on predefined trigger queries. */ promoteAction?: Schema$GoogleCloudDiscoveryengineV1ControlPromoteAction; /** @@ -12436,11 +12594,11 @@ export namespace discoveryengine_v1beta { provision( params: Params$Resource$Projects$Provision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provision( params?: Params$Resource$Projects$Provision, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; provision( params: Params$Resource$Projects$Provision, options: StreamMethodOptions | BodyResponseCallback, @@ -12475,8 +12633,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Provision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12548,6 +12706,7 @@ export namespace discoveryengine_v1beta { rankingConfigs: Resource$Projects$Locations$Rankingconfigs; sampleQuerySets: Resource$Projects$Locations$Samplequerysets; userEvents: Resource$Projects$Locations$Userevents; + userStores: Resource$Projects$Locations$Userstores; constructor(context: APIRequestContext) { this.context = context; this.cmekConfigs = new Resource$Projects$Locations$Cmekconfigs( @@ -12580,6 +12739,9 @@ export namespace discoveryengine_v1beta { this.userEvents = new Resource$Projects$Locations$Userevents( this.context ); + this.userStores = new Resource$Projects$Locations$Userstores( + this.context + ); } /** @@ -12593,11 +12755,13 @@ export namespace discoveryengine_v1beta { getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCmekConfig( params?: Params$Resource$Projects$Locations$Getcmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getCmekConfig( params: Params$Resource$Projects$Locations$Getcmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -12632,8 +12796,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getcmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12688,11 +12854,13 @@ export namespace discoveryengine_v1beta { obtainCrawlRate( params: Params$Resource$Projects$Locations$Obtaincrawlrate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; obtainCrawlRate( params?: Params$Resource$Projects$Locations$Obtaincrawlrate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; obtainCrawlRate( params: Params$Resource$Projects$Locations$Obtaincrawlrate, options: StreamMethodOptions | BodyResponseCallback, @@ -12727,8 +12895,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Obtaincrawlrate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12786,11 +12956,11 @@ export namespace discoveryengine_v1beta { removeDedicatedCrawlRate( params: Params$Resource$Projects$Locations$Removededicatedcrawlrate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeDedicatedCrawlRate( params?: Params$Resource$Projects$Locations$Removededicatedcrawlrate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeDedicatedCrawlRate( params: Params$Resource$Projects$Locations$Removededicatedcrawlrate, options: StreamMethodOptions | BodyResponseCallback, @@ -12825,8 +12995,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Removededicatedcrawlrate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12882,11 +13052,11 @@ export namespace discoveryengine_v1beta { setDedicatedCrawlRate( params: Params$Resource$Projects$Locations$Setdedicatedcrawlrate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDedicatedCrawlRate( params?: Params$Resource$Projects$Locations$Setdedicatedcrawlrate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDedicatedCrawlRate( params: Params$Resource$Projects$Locations$Setdedicatedcrawlrate, options: StreamMethodOptions | BodyResponseCallback, @@ -12921,8 +13091,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Setdedicatedcrawlrate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12977,11 +13147,11 @@ export namespace discoveryengine_v1beta { updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params?: Params$Resource$Projects$Locations$Updatecmekconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekConfig( params: Params$Resource$Projects$Locations$Updatecmekconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -13016,8 +13186,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatecmekconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13137,11 +13307,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Cmekconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Cmekconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Cmekconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13176,8 +13346,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13230,11 +13400,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Cmekconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Cmekconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Cmekconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13269,8 +13441,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13325,11 +13499,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Cmekconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Cmekconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Cmekconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13364,8 +13540,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13423,11 +13601,11 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Cmekconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Cmekconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Cmekconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13462,8 +13640,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cmekconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13595,11 +13773,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13634,8 +13812,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13689,11 +13867,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13728,8 +13908,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Dataconnector$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13892,11 +14074,13 @@ export namespace discoveryengine_v1beta { completeQuery( params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Collections$Datastores$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Collections$Datastores$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -13931,8 +14115,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13991,11 +14177,11 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14030,8 +14216,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14088,11 +14274,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14127,8 +14313,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14182,11 +14368,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14221,8 +14409,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14278,11 +14468,13 @@ export namespace discoveryengine_v1beta { getSiteSearchEngine( params: Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSiteSearchEngine( params?: Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getSiteSearchEngine( params: Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine, options: StreamMethodOptions | BodyResponseCallback, @@ -14317,8 +14509,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Getsitesearchengine; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14374,11 +14568,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14413,8 +14609,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14473,11 +14671,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14512,8 +14712,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14569,11 +14771,11 @@ export namespace discoveryengine_v1beta { trainCustomModel( params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; trainCustomModel( params?: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; trainCustomModel( params: Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel, options: StreamMethodOptions | BodyResponseCallback, @@ -14608,8 +14810,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Traincustommodel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14807,11 +15009,13 @@ export namespace discoveryengine_v1beta { batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGetDocumentsMetadata( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -14846,8 +15050,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Batchgetdocumentsmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14928,11 +15134,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14967,8 +15175,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15027,11 +15237,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15062,8 +15272,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15117,11 +15327,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15156,8 +15368,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15213,11 +15427,11 @@ export namespace discoveryengine_v1beta { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -15252,8 +15466,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15310,11 +15524,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15349,8 +15565,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15409,11 +15627,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15448,8 +15668,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15505,11 +15727,11 @@ export namespace discoveryengine_v1beta { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -15544,8 +15766,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15699,11 +15921,11 @@ export namespace discoveryengine_v1beta { cancel( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -15734,8 +15956,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15792,11 +16014,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15831,8 +16053,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15886,11 +16108,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15925,8 +16149,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Branches$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16031,11 +16257,13 @@ export namespace discoveryengine_v1beta { completeQuery( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionconfig$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Collections$Datastores$Completionconfig$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionconfig$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -16070,8 +16298,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completionconfig$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16149,11 +16379,11 @@ export namespace discoveryengine_v1beta { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -16188,8 +16418,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16245,11 +16475,11 @@ export namespace discoveryengine_v1beta { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -16284,8 +16514,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Completionsuggestions$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16373,11 +16603,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16412,8 +16644,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16472,11 +16706,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16507,8 +16741,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16562,11 +16796,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16601,8 +16837,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16658,11 +16896,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16697,8 +16937,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16757,11 +16999,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16796,8 +17040,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16926,11 +17172,13 @@ export namespace discoveryengine_v1beta { converse( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; converse( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; converse( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse, options: StreamMethodOptions | BodyResponseCallback, @@ -16965,8 +17213,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Converse; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17025,11 +17275,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17064,8 +17316,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17124,11 +17378,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17159,8 +17413,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17214,11 +17468,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17253,8 +17509,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17310,11 +17568,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17349,8 +17609,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17409,11 +17671,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17448,8 +17712,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Conversations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17590,11 +17856,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17629,8 +17897,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Custommodels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17716,11 +17986,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17755,8 +18025,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17810,11 +18080,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17849,8 +18121,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Models$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17943,11 +18217,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17982,8 +18256,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18037,11 +18311,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18076,8 +18352,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18175,11 +18453,11 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18214,8 +18492,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18272,11 +18550,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18311,8 +18589,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18366,11 +18644,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18405,8 +18685,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18462,11 +18744,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18501,8 +18785,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18561,11 +18847,11 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18600,8 +18886,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18724,11 +19010,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18763,8 +19049,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18818,11 +19104,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18857,8 +19145,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Schemas$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18951,11 +19241,13 @@ export namespace discoveryengine_v1beta { answer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; answer( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; answer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, options: StreamMethodOptions | BodyResponseCallback, @@ -18990,8 +19282,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19050,11 +19344,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19089,8 +19385,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19146,11 +19444,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19185,8 +19485,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19245,11 +19547,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19284,8 +19588,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19341,11 +19647,13 @@ export namespace discoveryengine_v1beta { recommend( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recommend( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; recommend( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions | BodyResponseCallback, @@ -19380,8 +19688,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Recommend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19440,11 +19750,13 @@ export namespace discoveryengine_v1beta { search( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -19479,8 +19791,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19539,11 +19853,13 @@ export namespace discoveryengine_v1beta { searchLite( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchLite( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchLite( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions | BodyResponseCallback, @@ -19578,8 +19894,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Searchlite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19638,11 +19956,13 @@ export namespace discoveryengine_v1beta { streamAnswer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamAnswer( params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamAnswer( params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions | BodyResponseCallback, @@ -19677,8 +19997,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Streamanswer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19848,11 +20170,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19887,8 +20211,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19947,11 +20273,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19982,8 +20308,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20037,11 +20363,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20076,8 +20404,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20133,11 +20463,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20172,8 +20504,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20232,11 +20566,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20271,8 +20607,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20405,11 +20743,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20444,8 +20784,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sessions$Answers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20531,11 +20873,11 @@ export namespace discoveryengine_v1beta { batchVerifyTargetSites( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchVerifyTargetSites( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchVerifyTargetSites( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites, options: StreamMethodOptions | BodyResponseCallback, @@ -20570,8 +20912,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Batchverifytargetsites; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20628,11 +20970,11 @@ export namespace discoveryengine_v1beta { disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -20667,8 +21009,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Disableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20724,11 +21066,11 @@ export namespace discoveryengine_v1beta { enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -20763,8 +21105,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Enableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20820,11 +21162,13 @@ export namespace discoveryengine_v1beta { fetchDomainVerificationStatus( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchDomainVerificationStatus( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchDomainVerificationStatus( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -20859,8 +21203,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Fetchdomainverificationstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20919,11 +21265,11 @@ export namespace discoveryengine_v1beta { recrawlUris( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions | BodyResponseCallback, @@ -20958,8 +21304,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Recrawluris; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21087,11 +21433,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21126,8 +21472,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21181,11 +21527,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21220,8 +21568,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21314,11 +21664,11 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21353,8 +21703,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21411,11 +21761,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21450,8 +21800,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21505,11 +21855,13 @@ export namespace discoveryengine_v1beta { fetch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions | BodyResponseCallback, @@ -21544,8 +21896,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps$Fetch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21647,11 +22001,11 @@ export namespace discoveryengine_v1beta { batchCreate( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -21686,8 +22040,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21743,11 +22097,11 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21782,8 +22136,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21840,11 +22194,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21879,8 +22233,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21934,11 +22288,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21973,8 +22329,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22030,11 +22388,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22069,8 +22429,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22129,11 +22491,11 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22168,8 +22530,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22296,11 +22658,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22335,8 +22697,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22390,11 +22752,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22429,8 +22793,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Targetsites$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22523,11 +22889,11 @@ export namespace discoveryengine_v1beta { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -22562,8 +22928,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22619,11 +22985,11 @@ export namespace discoveryengine_v1beta { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -22658,8 +23024,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22747,11 +23113,11 @@ export namespace discoveryengine_v1beta { collect( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -22782,8 +23148,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22840,11 +23206,11 @@ export namespace discoveryengine_v1beta { import( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -22879,8 +23245,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22937,11 +23303,11 @@ export namespace discoveryengine_v1beta { purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -22976,8 +23342,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23034,11 +23400,13 @@ export namespace discoveryengine_v1beta { write( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -23073,8 +23441,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Datastores$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23230,11 +23600,11 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Engines$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collections$Engines$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23269,8 +23639,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23327,11 +23697,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23366,8 +23736,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23421,11 +23791,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Engines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23460,8 +23832,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23517,11 +23891,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Engines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23556,8 +23932,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23616,11 +23994,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23655,8 +24035,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23712,11 +24094,13 @@ export namespace discoveryengine_v1beta { pause( params: Params$Resource$Projects$Locations$Collections$Engines$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Collections$Engines$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; pause( params: Params$Resource$Projects$Locations$Collections$Engines$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -23751,8 +24135,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23811,11 +24197,13 @@ export namespace discoveryengine_v1beta { resume( params: Params$Resource$Projects$Locations$Collections$Engines$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Collections$Engines$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; resume( params: Params$Resource$Projects$Locations$Collections$Engines$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -23850,8 +24238,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23910,11 +24300,11 @@ export namespace discoveryengine_v1beta { tune( params: Params$Resource$Projects$Locations$Collections$Engines$Tune, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; tune( params?: Params$Resource$Projects$Locations$Collections$Engines$Tune, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; tune( params: Params$Resource$Projects$Locations$Collections$Engines$Tune, options: StreamMethodOptions | BodyResponseCallback, @@ -23949,8 +24339,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Tune; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24116,11 +24506,13 @@ export namespace discoveryengine_v1beta { completeQuery( params: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -24155,8 +24547,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24214,11 +24608,13 @@ export namespace discoveryengine_v1beta { removeSuggestion( params: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Removesuggestion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeSuggestion( params?: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Removesuggestion, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeSuggestion( params: Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Removesuggestion, options: StreamMethodOptions | BodyResponseCallback, @@ -24253,8 +24649,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Completionconfig$Removesuggestion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24344,11 +24742,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -24383,8 +24783,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24443,11 +24845,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24478,8 +24880,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24533,11 +24935,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24572,8 +24976,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24629,11 +25035,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24668,8 +25076,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24728,11 +25138,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24767,8 +25179,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24897,11 +25311,13 @@ export namespace discoveryengine_v1beta { converse( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; converse( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; converse( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse, options: StreamMethodOptions | BodyResponseCallback, @@ -24936,8 +25352,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Converse; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24996,11 +25414,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -25035,8 +25455,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25095,11 +25517,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25130,8 +25552,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25185,11 +25607,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25224,8 +25648,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25281,11 +25707,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25320,8 +25748,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25380,11 +25810,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25419,8 +25851,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Conversations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25561,11 +25995,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25600,8 +26034,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25655,11 +26089,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25694,8 +26130,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25788,11 +26226,13 @@ export namespace discoveryengine_v1beta { answer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; answer( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; answer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, options: StreamMethodOptions | BodyResponseCallback, @@ -25827,8 +26267,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25887,11 +26329,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25926,8 +26370,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25983,11 +26429,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26022,8 +26470,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26082,11 +26532,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26121,8 +26573,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26178,11 +26632,13 @@ export namespace discoveryengine_v1beta { recommend( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recommend( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; recommend( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend, options: StreamMethodOptions | BodyResponseCallback, @@ -26217,8 +26673,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Recommend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26277,11 +26735,13 @@ export namespace discoveryengine_v1beta { search( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -26316,8 +26776,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26376,11 +26838,13 @@ export namespace discoveryengine_v1beta { searchLite( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchLite( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchLite( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite, options: StreamMethodOptions | BodyResponseCallback, @@ -26415,8 +26879,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Searchlite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26475,11 +26941,13 @@ export namespace discoveryengine_v1beta { streamAnswer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamAnswer( params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamAnswer( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer, options: StreamMethodOptions | BodyResponseCallback, @@ -26514,8 +26982,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Streamanswer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26685,11 +27155,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -26724,8 +27196,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26784,11 +27258,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26819,8 +27293,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26874,11 +27348,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26913,8 +27389,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26970,11 +27448,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27009,8 +27489,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27069,11 +27551,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -27108,8 +27592,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27242,11 +27728,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27281,8 +27769,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Engines$Sessions$Answers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27353,11 +27843,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Collections$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collections$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collections$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27392,8 +27882,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27447,11 +27937,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Collections$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collections$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Collections$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27486,8 +27978,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collections$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27634,11 +28128,13 @@ export namespace discoveryengine_v1beta { completeQuery( params: Params$Resource$Projects$Locations$Datastores$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Datastores$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Datastores$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -27673,8 +28169,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27733,11 +28231,11 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Datastores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -27772,8 +28270,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27829,11 +28327,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Datastores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27868,8 +28366,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27922,11 +28420,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27961,8 +28461,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28017,11 +28519,13 @@ export namespace discoveryengine_v1beta { getSiteSearchEngine( params: Params$Resource$Projects$Locations$Datastores$Getsitesearchengine, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSiteSearchEngine( params?: Params$Resource$Projects$Locations$Datastores$Getsitesearchengine, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getSiteSearchEngine( params: Params$Resource$Projects$Locations$Datastores$Getsitesearchengine, options: StreamMethodOptions | BodyResponseCallback, @@ -28056,8 +28560,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Getsitesearchengine; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28113,11 +28619,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Datastores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28152,8 +28660,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28211,11 +28721,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Datastores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -28250,8 +28762,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28435,11 +28949,13 @@ export namespace discoveryengine_v1beta { batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGetDocumentsMetadata( params?: Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGetDocumentsMetadata( params: Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -28474,8 +28990,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Batchgetdocumentsmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28556,11 +29074,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -28595,8 +29115,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28655,11 +29177,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -28690,8 +29212,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28745,11 +29267,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -28784,8 +29308,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28841,11 +29367,11 @@ export namespace discoveryengine_v1beta { import( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -28880,8 +29406,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28938,11 +29464,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -28977,8 +29505,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29037,11 +29567,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -29076,8 +29608,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29133,11 +29667,11 @@ export namespace discoveryengine_v1beta { purge( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -29172,8 +29706,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Documents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29327,11 +29861,11 @@ export namespace discoveryengine_v1beta { cancel( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -29362,8 +29896,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29420,11 +29954,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -29459,8 +29993,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29514,11 +30048,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Branches$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Branches$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -29553,8 +30089,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Branches$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29659,11 +30197,13 @@ export namespace discoveryengine_v1beta { completeQuery( params: Params$Resource$Projects$Locations$Datastores$Completionconfig$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Datastores$Completionconfig$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Datastores$Completionconfig$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -29698,8 +30238,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Completionconfig$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29777,11 +30319,11 @@ export namespace discoveryengine_v1beta { import( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -29816,8 +30358,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -29873,11 +30415,11 @@ export namespace discoveryengine_v1beta { purge( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -29912,8 +30454,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Completionsuggestions$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30001,11 +30543,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Datastores$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -30040,8 +30584,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30100,11 +30646,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Datastores$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30135,8 +30681,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30190,11 +30736,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30229,8 +30777,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30286,11 +30836,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Datastores$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30325,8 +30877,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30385,11 +30939,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Datastores$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -30424,8 +30980,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30554,11 +31112,13 @@ export namespace discoveryengine_v1beta { converse( params: Params$Resource$Projects$Locations$Datastores$Conversations$Converse, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; converse( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Converse, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; converse( params: Params$Resource$Projects$Locations$Datastores$Conversations$Converse, options: StreamMethodOptions | BodyResponseCallback, @@ -30593,8 +31153,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Converse; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30653,11 +31215,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Datastores$Conversations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Conversations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -30692,8 +31256,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30752,11 +31318,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Datastores$Conversations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -30787,8 +31353,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30842,11 +31408,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Conversations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -30881,8 +31449,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -30938,11 +31508,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Datastores$Conversations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Conversations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Conversations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -30977,8 +31549,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31037,11 +31611,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Datastores$Conversations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Conversations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Conversations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -31076,8 +31652,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Conversations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31230,11 +31808,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Models$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31269,8 +31847,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Models$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31324,11 +31902,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Models$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Models$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31363,8 +31943,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Models$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31457,11 +32039,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datastores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31496,8 +32078,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31551,11 +32133,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Datastores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -31590,8 +32174,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31684,11 +32270,11 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Datastores$Schemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Schemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -31723,8 +32309,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31781,11 +32367,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Datastores$Schemas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Schemas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -31820,8 +32406,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31875,11 +32461,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Schemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Schemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -31914,8 +32502,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -31971,11 +32561,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Datastores$Schemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Schemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Schemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32010,8 +32602,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32070,11 +32664,11 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -32109,8 +32703,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32233,11 +32827,13 @@ export namespace discoveryengine_v1beta { answer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; answer( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; answer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options: StreamMethodOptions | BodyResponseCallback, @@ -32272,8 +32868,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32332,11 +32930,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -32371,8 +32971,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32428,11 +33030,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -32467,8 +33071,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32527,11 +33133,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -32566,8 +33174,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32623,11 +33233,13 @@ export namespace discoveryengine_v1beta { recommend( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recommend( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; recommend( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend, options: StreamMethodOptions | BodyResponseCallback, @@ -32662,8 +33274,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Recommend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32722,11 +33336,13 @@ export namespace discoveryengine_v1beta { search( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -32761,8 +33377,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32821,11 +33439,13 @@ export namespace discoveryengine_v1beta { searchLite( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchLite( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchLite( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite, options: StreamMethodOptions | BodyResponseCallback, @@ -32860,8 +33480,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Searchlite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -32920,11 +33542,13 @@ export namespace discoveryengine_v1beta { streamAnswer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamAnswer( params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamAnswer( params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer, options: StreamMethodOptions | BodyResponseCallback, @@ -32959,8 +33583,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Streamanswer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33130,11 +33756,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Datastores$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Datastores$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -33169,8 +33797,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33229,11 +33859,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Datastores$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -33264,8 +33894,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33319,11 +33949,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33358,8 +33990,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33415,11 +34049,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Datastores$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -33454,8 +34090,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33514,11 +34152,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Datastores$Sessions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Datastores$Sessions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -33553,8 +34193,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33687,11 +34329,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -33726,8 +34370,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sessions$Answers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33808,11 +34454,11 @@ export namespace discoveryengine_v1beta { disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -33847,8 +34493,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Disableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -33904,11 +34550,11 @@ export namespace discoveryengine_v1beta { enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableAdvancedSiteSearch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -33943,8 +34589,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Enableadvancedsitesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34000,11 +34646,11 @@ export namespace discoveryengine_v1beta { recrawlUris( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recrawlUris( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris, options: StreamMethodOptions | BodyResponseCallback, @@ -34039,8 +34685,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Recrawluris; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34141,11 +34787,11 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -34180,8 +34826,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34238,11 +34884,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34277,8 +34923,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34332,11 +34978,13 @@ export namespace discoveryengine_v1beta { fetch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch, options: StreamMethodOptions | BodyResponseCallback, @@ -34371,8 +35019,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Sitemaps$Fetch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34469,11 +35119,11 @@ export namespace discoveryengine_v1beta { batchCreate( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -34508,8 +35158,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34565,11 +35215,11 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -34604,8 +35254,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34662,11 +35312,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -34701,8 +35351,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34756,11 +35406,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -34795,8 +35447,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34852,11 +35506,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -34891,8 +35547,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -34951,11 +35609,11 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -34990,8 +35648,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Sitesearchengine$Targetsites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35118,11 +35776,11 @@ export namespace discoveryengine_v1beta { import( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -35157,8 +35815,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35214,11 +35872,11 @@ export namespace discoveryengine_v1beta { purge( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -35253,8 +35911,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Suggestiondenylistentries$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35342,11 +36000,11 @@ export namespace discoveryengine_v1beta { collect( params: Params$Resource$Projects$Locations$Datastores$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Datastores$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -35377,8 +36035,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35435,11 +36093,11 @@ export namespace discoveryengine_v1beta { import( params: Params$Resource$Projects$Locations$Datastores$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datastores$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -35474,8 +36132,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35532,11 +36190,11 @@ export namespace discoveryengine_v1beta { purge( params: Params$Resource$Projects$Locations$Datastores$Userevents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Datastores$Userevents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -35571,8 +36229,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35629,11 +36287,13 @@ export namespace discoveryengine_v1beta { write( params: Params$Resource$Projects$Locations$Datastores$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Datastores$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Datastores$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -35668,8 +36328,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datastores$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35799,11 +36461,11 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Evaluations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Evaluations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Evaluations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -35838,8 +36500,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35895,11 +36557,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Evaluations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Evaluations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Evaluations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -35934,8 +36598,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -35990,11 +36656,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Evaluations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Evaluations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Evaluations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36029,8 +36697,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36088,11 +36758,13 @@ export namespace discoveryengine_v1beta { listResults( params: Params$Resource$Projects$Locations$Evaluations$Listresults, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listResults( params?: Params$Resource$Projects$Locations$Evaluations$Listresults, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listResults( params: Params$Resource$Projects$Locations$Evaluations$Listresults, options: StreamMethodOptions | BodyResponseCallback, @@ -36127,8 +36799,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Listresults; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36244,11 +36918,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Evaluations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Evaluations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Evaluations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36283,8 +36957,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36353,11 +37027,13 @@ export namespace discoveryengine_v1beta { check( params: Params$Resource$Projects$Locations$Groundingconfigs$Check, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; check( params?: Params$Resource$Projects$Locations$Groundingconfigs$Check, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; check( params: Params$Resource$Projects$Locations$Groundingconfigs$Check, options: StreamMethodOptions | BodyResponseCallback, @@ -36392,8 +37068,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groundingconfigs$Check; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36477,11 +37155,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Identitymappingstores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Identitymappingstores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Identitymappingstores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -36516,8 +37196,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36576,11 +37258,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Identitymappingstores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Identitymappingstores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Identitymappingstores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -36615,8 +37297,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36670,11 +37352,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Identitymappingstores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Identitymappingstores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Identitymappingstores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -36709,8 +37393,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36766,11 +37452,11 @@ export namespace discoveryengine_v1beta { importIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importIdentityMappings( params?: Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings, options: StreamMethodOptions | BodyResponseCallback, @@ -36805,8 +37491,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36862,11 +37548,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Identitymappingstores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Identitymappingstores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Identitymappingstores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -36901,8 +37589,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -36961,11 +37651,13 @@ export namespace discoveryengine_v1beta { listIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listIdentityMappings( params?: Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings, options: StreamMethodOptions | BodyResponseCallback, @@ -37000,8 +37692,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37059,11 +37753,11 @@ export namespace discoveryengine_v1beta { purgeIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purgeIdentityMappings( params?: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purgeIdentityMappings( params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings, options: StreamMethodOptions | BodyResponseCallback, @@ -37098,8 +37792,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37255,11 +37949,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37294,8 +37988,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37349,11 +38043,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37388,8 +38084,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Identitymappingstores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37482,11 +38180,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37521,8 +38219,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37575,11 +38273,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -37614,8 +38314,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37718,11 +38420,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Podcasts$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Podcasts$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Podcasts$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -37757,8 +38459,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Podcasts$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37827,11 +38529,13 @@ export namespace discoveryengine_v1beta { rank( params: Params$Resource$Projects$Locations$Rankingconfigs$Rank, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rank( params?: Params$Resource$Projects$Locations$Rankingconfigs$Rank, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; rank( params: Params$Resource$Projects$Locations$Rankingconfigs$Rank, options: StreamMethodOptions | BodyResponseCallback, @@ -37866,8 +38570,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Rankingconfigs$Rank; let options = (optionsOrCallback || {}) as MethodOptions; @@ -37955,11 +38661,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Samplequerysets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Samplequerysets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Samplequerysets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -37994,8 +38702,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38054,11 +38764,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Samplequerysets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Samplequerysets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Samplequerysets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -38089,8 +38799,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38144,11 +38854,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Samplequerysets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Samplequerysets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Samplequerysets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38183,8 +38895,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38239,11 +38953,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Samplequerysets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Samplequerysets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Samplequerysets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -38278,8 +38994,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38337,11 +39055,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Samplequerysets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Samplequerysets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Samplequerysets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -38376,8 +39096,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38501,11 +39223,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Samplequerysets$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Samplequerysets$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Samplequerysets$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38540,8 +39262,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38610,11 +39332,13 @@ export namespace discoveryengine_v1beta { create( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -38649,8 +39373,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38709,11 +39435,11 @@ export namespace discoveryengine_v1beta { delete( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -38744,8 +39470,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38799,11 +39525,13 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -38838,8 +39566,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38895,11 +39625,11 @@ export namespace discoveryengine_v1beta { import( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -38934,8 +39664,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -38992,11 +39722,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -39031,8 +39763,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39091,11 +39825,13 @@ export namespace discoveryengine_v1beta { patch( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -39130,8 +39866,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Samplequerysets$Samplequeries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39268,11 +40006,11 @@ export namespace discoveryengine_v1beta { collect( params: Params$Resource$Projects$Locations$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -39303,8 +40041,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39360,11 +40098,11 @@ export namespace discoveryengine_v1beta { import( params: Params$Resource$Projects$Locations$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -39399,8 +40137,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39456,11 +40194,13 @@ export namespace discoveryengine_v1beta { write( params: Params$Resource$Projects$Locations$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -39495,8 +40235,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39592,6 +40334,255 @@ export namespace discoveryengine_v1beta { requestBody?: Schema$GoogleCloudDiscoveryengineV1betaUserEvent; } + export class Resource$Projects$Locations$Userstores { + context: APIRequestContext; + userLicenses: Resource$Projects$Locations$Userstores$Userlicenses; + constructor(context: APIRequestContext) { + this.context = context; + this.userLicenses = + new Resource$Projects$Locations$Userstores$Userlicenses(this.context); + } + + /** + * Updates the User License. This method is used for batch assign/unassign licenses to users. + * + * @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. + */ + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options: StreamMethodOptions + ): Promise>; + batchUpdateUserLicenses( + params?: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options?: MethodOptions + ): Promise>; + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + params: Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses, + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + callback: BodyResponseCallback + ): void; + batchUpdateUserLicenses( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1beta/{+parent}:batchUpdateUserLicenses' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Userstores$Batchupdateuserlicenses + extends StandardParameters { + /** + * Required. The parent UserStore resource name, format: `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest; + } + + export class Resource$Projects$Locations$Userstores$Userlicenses { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists the User Licenses. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Userstores$Userlicenses$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Userstores$Userlicenses$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Userstores$Userlicenses$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Userstores$Userlicenses$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/userLicenses').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Userstores$Userlicenses$List + extends StandardParameters { + /** + * Optional. Filter for the list request. Supported fields: * `license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned. + */ + filter?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent UserStore resource name, format: `projects/{project\}/locations/{location\}/userStores/{user_store_id\}`. + */ + parent?: string; + } + export class Resource$Projects$Operations { context: APIRequestContext; constructor(context: APIRequestContext) { @@ -39609,11 +40600,11 @@ export namespace discoveryengine_v1beta { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -39648,8 +40639,8 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -39702,11 +40693,13 @@ export namespace discoveryengine_v1beta { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -39741,8 +40734,10 @@ export namespace discoveryengine_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/displayvideo/index.ts b/src/apis/displayvideo/index.ts index 78dc5cfaac0..d96542f7b5b 100644 --- a/src/apis/displayvideo/index.ts +++ b/src/apis/displayvideo/index.ts @@ -109,7 +109,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/displayvideo/package.json b/src/apis/displayvideo/package.json index 8abe9959117..c9e8bb7a5ee 100644 --- a/src/apis/displayvideo/package.json +++ b/src/apis/displayvideo/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/displayvideo/v1.ts b/src/apis/displayvideo/v1.ts index baf7b64236b..44b60546342 100644 --- a/src/apis/displayvideo/v1.ts +++ b/src/apis/displayvideo/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5342,11 +5342,11 @@ export namespace displayvideo_v1 { audit( params: Params$Resource$Advertisers$Audit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; audit( params?: Params$Resource$Advertisers$Audit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; audit( params: Params$Resource$Advertisers$Audit, options: StreamMethodOptions | BodyResponseCallback, @@ -5379,8 +5379,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Audit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5434,11 +5434,11 @@ export namespace displayvideo_v1 { bulkEditAdvertiserAssignedTargetingOptions( params: Params$Resource$Advertisers$Bulkeditadvertiserassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditAdvertiserAssignedTargetingOptions( params?: Params$Resource$Advertisers$Bulkeditadvertiserassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditAdvertiserAssignedTargetingOptions( params: Params$Resource$Advertisers$Bulkeditadvertiserassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -5473,8 +5473,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Bulkeditadvertiserassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5531,11 +5531,11 @@ export namespace displayvideo_v1 { bulkListAdvertiserAssignedTargetingOptions( params: Params$Resource$Advertisers$Bulklistadvertiserassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkListAdvertiserAssignedTargetingOptions( params?: Params$Resource$Advertisers$Bulklistadvertiserassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkListAdvertiserAssignedTargetingOptions( params: Params$Resource$Advertisers$Bulklistadvertiserassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -5570,8 +5570,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Bulklistadvertiserassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5628,11 +5628,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5661,7 +5661,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5712,11 +5712,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Advertisers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5745,7 +5745,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5799,11 +5799,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5832,7 +5832,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5885,11 +5885,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5922,8 +5922,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5973,11 +5973,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6006,7 +6006,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6172,11 +6172,11 @@ export namespace displayvideo_v1 { upload( params: Params$Resource$Advertisers$Assets$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Advertisers$Assets$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Advertisers$Assets$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -6207,8 +6207,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Assets$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6304,11 +6304,11 @@ export namespace displayvideo_v1 { bulkListCampaignAssignedTargetingOptions( params: Params$Resource$Advertisers$Campaigns$Bulklistcampaignassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkListCampaignAssignedTargetingOptions( params?: Params$Resource$Advertisers$Campaigns$Bulklistcampaignassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkListCampaignAssignedTargetingOptions( params: Params$Resource$Advertisers$Campaigns$Bulklistcampaignassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -6343,8 +6343,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Bulklistcampaignassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6401,11 +6401,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Campaigns$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Campaigns$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Campaigns$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6434,7 +6434,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6487,11 +6487,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Advertisers$Campaigns$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Campaigns$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Campaigns$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6520,7 +6520,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6574,11 +6574,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Campaigns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Campaigns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Campaigns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6607,7 +6607,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6661,11 +6661,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Campaigns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Campaigns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Campaigns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6698,8 +6698,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6752,11 +6752,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Advertisers$Campaigns$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Campaigns$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Campaigns$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6785,7 +6785,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6963,11 +6963,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7000,8 +7000,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7066,11 +7066,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7105,8 +7105,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7223,11 +7223,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Channels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Channels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Channels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7256,7 +7256,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7310,11 +7310,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Channels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Channels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Channels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7343,7 +7343,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7396,11 +7396,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7433,8 +7433,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7488,11 +7488,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Advertisers$Channels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Channels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Channels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7521,7 +7521,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7664,11 +7664,11 @@ export namespace displayvideo_v1 { bulkEdit( params: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -7703,8 +7703,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7758,11 +7758,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Channels$Sites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Channels$Sites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Channels$Sites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7791,7 +7791,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7845,11 +7845,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Advertisers$Channels$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Channels$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Channels$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7878,7 +7878,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7932,11 +7932,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Channels$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Channels$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Channels$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7967,8 +7967,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8022,11 +8022,11 @@ export namespace displayvideo_v1 { replace( params: Params$Resource$Advertisers$Channels$Sites$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Advertisers$Channels$Sites$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Advertisers$Channels$Sites$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -8059,8 +8059,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8224,11 +8224,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Creatives$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Creatives$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Creatives$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8257,7 +8257,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8310,11 +8310,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Advertisers$Creatives$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Creatives$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Creatives$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8343,7 +8343,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8397,11 +8397,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8430,7 +8430,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8484,11 +8484,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8521,8 +8521,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8575,11 +8575,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Advertisers$Creatives$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Creatives$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Creatives$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8608,7 +8608,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8750,11 +8750,11 @@ export namespace displayvideo_v1 { bulkListInsertionOrderAssignedTargetingOptions( params: Params$Resource$Advertisers$Insertionorders$Bulklistinsertionorderassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkListInsertionOrderAssignedTargetingOptions( params?: Params$Resource$Advertisers$Insertionorders$Bulklistinsertionorderassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkListInsertionOrderAssignedTargetingOptions( params: Params$Resource$Advertisers$Insertionorders$Bulklistinsertionorderassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -8789,8 +8789,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Bulklistinsertionorderassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8847,11 +8847,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Insertionorders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Insertionorders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Insertionorders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8880,7 +8880,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8933,11 +8933,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Advertisers$Insertionorders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Insertionorders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Insertionorders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8966,7 +8966,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9020,11 +9020,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Insertionorders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Insertionorders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Insertionorders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9053,7 +9053,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9107,11 +9107,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Insertionorders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Insertionorders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Insertionorders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9146,8 +9146,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9200,11 +9200,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Advertisers$Insertionorders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Insertionorders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Insertionorders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9233,7 +9233,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9411,11 +9411,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9448,8 +9448,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9514,11 +9514,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9553,8 +9553,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9669,11 +9669,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Invoices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Invoices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Invoices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9706,8 +9706,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Invoices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9761,11 +9761,11 @@ export namespace displayvideo_v1 { lookupInvoiceCurrency( params: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupInvoiceCurrency( params?: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookupInvoiceCurrency( params: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options: StreamMethodOptions | BodyResponseCallback, @@ -9800,8 +9800,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9904,11 +9904,11 @@ export namespace displayvideo_v1 { bulkEditLineItemAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulkeditlineitemassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditLineItemAssignedTargetingOptions( params?: Params$Resource$Advertisers$Lineitems$Bulkeditlineitemassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditLineItemAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulkeditlineitemassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -9943,8 +9943,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Bulkeditlineitemassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10001,11 +10001,11 @@ export namespace displayvideo_v1 { bulkListLineItemAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulklistlineitemassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkListLineItemAssignedTargetingOptions( params?: Params$Resource$Advertisers$Lineitems$Bulklistlineitemassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkListLineItemAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulklistlineitemassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -10040,8 +10040,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Bulklistlineitemassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10098,11 +10098,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Lineitems$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Lineitems$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Lineitems$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10131,7 +10131,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10184,11 +10184,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Advertisers$Lineitems$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Lineitems$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Lineitems$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10217,7 +10217,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10271,11 +10271,11 @@ export namespace displayvideo_v1 { generateDefault( params: Params$Resource$Advertisers$Lineitems$Generatedefault, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateDefault( params?: Params$Resource$Advertisers$Lineitems$Generatedefault, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateDefault( params: Params$Resource$Advertisers$Lineitems$Generatedefault, options: StreamMethodOptions | BodyResponseCallback, @@ -10304,7 +10304,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Generatedefault; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10358,11 +10358,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Lineitems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Lineitems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Lineitems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10391,7 +10391,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10445,11 +10445,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Lineitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Lineitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Lineitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10482,8 +10482,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10536,11 +10536,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Advertisers$Lineitems$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Lineitems$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Lineitems$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10569,7 +10569,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10775,11 +10775,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10814,8 +10814,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10870,11 +10870,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10903,7 +10903,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10968,11 +10968,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11005,8 +11005,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11071,11 +11071,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11110,8 +11110,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11268,11 +11268,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Locationlists$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Locationlists$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Locationlists$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11301,7 +11301,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11354,11 +11354,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Locationlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Locationlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Locationlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11387,7 +11387,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11441,11 +11441,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Locationlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Locationlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Locationlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11480,8 +11480,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11534,11 +11534,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Advertisers$Locationlists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Locationlists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Locationlists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11567,7 +11567,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11695,11 +11695,11 @@ export namespace displayvideo_v1 { bulkEdit( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -11734,8 +11734,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11792,11 +11792,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11825,7 +11825,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11880,11 +11880,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11913,7 +11913,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11972,11 +11972,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12011,8 +12011,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12151,11 +12151,11 @@ export namespace displayvideo_v1 { activate( params: Params$Resource$Advertisers$Manualtriggers$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Advertisers$Manualtriggers$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Advertisers$Manualtriggers$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -12184,7 +12184,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12238,11 +12238,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Manualtriggers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Manualtriggers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Manualtriggers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12271,7 +12271,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12324,11 +12324,11 @@ export namespace displayvideo_v1 { deactivate( params: Params$Resource$Advertisers$Manualtriggers$Deactivate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params?: Params$Resource$Advertisers$Manualtriggers$Deactivate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params: Params$Resource$Advertisers$Manualtriggers$Deactivate, options: StreamMethodOptions | BodyResponseCallback, @@ -12357,7 +12357,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$Deactivate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12411,11 +12411,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Manualtriggers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Manualtriggers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Manualtriggers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12444,7 +12444,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12498,11 +12498,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Manualtriggers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Manualtriggers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Manualtriggers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12537,8 +12537,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12591,11 +12591,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Advertisers$Manualtriggers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Manualtriggers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Manualtriggers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12624,7 +12624,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12789,11 +12789,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Negativekeywordlists$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Negativekeywordlists$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Negativekeywordlists$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12824,8 +12824,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12878,11 +12878,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Advertisers$Negativekeywordlists$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Negativekeywordlists$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Negativekeywordlists$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12911,7 +12911,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12965,11 +12965,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Negativekeywordlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Negativekeywordlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Negativekeywordlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13000,8 +13000,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13055,11 +13055,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Negativekeywordlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Negativekeywordlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Negativekeywordlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13094,8 +13094,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13150,11 +13150,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Advertisers$Negativekeywordlists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Negativekeywordlists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Negativekeywordlists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13185,8 +13185,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13317,11 +13317,11 @@ export namespace displayvideo_v1 { bulkEdit( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -13356,8 +13356,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13414,11 +13414,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13447,7 +13447,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13502,11 +13502,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13535,7 +13535,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13594,11 +13594,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13633,8 +13633,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13691,11 +13691,11 @@ export namespace displayvideo_v1 { replace( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -13730,8 +13730,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13898,11 +13898,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13937,8 +13937,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13993,11 +13993,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14026,7 +14026,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14089,11 +14089,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14126,8 +14126,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14190,11 +14190,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14229,8 +14229,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14368,11 +14368,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Combinedaudiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Combinedaudiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Combinedaudiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14401,7 +14401,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Combinedaudiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14454,11 +14454,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Combinedaudiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Combinedaudiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Combinedaudiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14493,8 +14493,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Combinedaudiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14602,11 +14602,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Custombiddingalgorithms$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Custombiddingalgorithms$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Custombiddingalgorithms$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14639,8 +14639,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14694,11 +14694,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Custombiddingalgorithms$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Custombiddingalgorithms$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Custombiddingalgorithms$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14731,8 +14731,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14786,11 +14786,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Custombiddingalgorithms$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Custombiddingalgorithms$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Custombiddingalgorithms$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14825,8 +14825,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14882,11 +14882,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Custombiddingalgorithms$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Custombiddingalgorithms$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Custombiddingalgorithms$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14919,8 +14919,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14974,11 +14974,11 @@ export namespace displayvideo_v1 { uploadScript( params: Params$Resource$Custombiddingalgorithms$Uploadscript, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; uploadScript( params?: Params$Resource$Custombiddingalgorithms$Uploadscript, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; uploadScript( params: Params$Resource$Custombiddingalgorithms$Uploadscript, options: StreamMethodOptions | BodyResponseCallback, @@ -15013,8 +15013,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Uploadscript; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15156,11 +15156,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Custombiddingalgorithms$Scripts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Custombiddingalgorithms$Scripts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Custombiddingalgorithms$Scripts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15191,8 +15191,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15246,11 +15246,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Custombiddingalgorithms$Scripts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Custombiddingalgorithms$Scripts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Custombiddingalgorithms$Scripts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15281,8 +15281,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15336,11 +15336,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Custombiddingalgorithms$Scripts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Custombiddingalgorithms$Scripts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Custombiddingalgorithms$Scripts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15375,8 +15375,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15506,11 +15506,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Customlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15539,7 +15539,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15592,11 +15592,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Customlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15629,8 +15629,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15720,11 +15720,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Firstandthirdpartyaudiences$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Firstandthirdpartyaudiences$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Firstandthirdpartyaudiences$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15759,8 +15759,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstandthirdpartyaudiences$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15814,11 +15814,11 @@ export namespace displayvideo_v1 { editCustomerMatchMembers( params: Params$Resource$Firstandthirdpartyaudiences$Editcustomermatchmembers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editCustomerMatchMembers( params?: Params$Resource$Firstandthirdpartyaudiences$Editcustomermatchmembers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; editCustomerMatchMembers( params: Params$Resource$Firstandthirdpartyaudiences$Editcustomermatchmembers, options: StreamMethodOptions | BodyResponseCallback, @@ -15853,8 +15853,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstandthirdpartyaudiences$Editcustomermatchmembers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15911,11 +15911,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Firstandthirdpartyaudiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Firstandthirdpartyaudiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Firstandthirdpartyaudiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15950,8 +15950,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstandthirdpartyaudiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16005,11 +16005,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Firstandthirdpartyaudiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Firstandthirdpartyaudiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Firstandthirdpartyaudiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16044,8 +16044,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstandthirdpartyaudiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16101,11 +16101,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Firstandthirdpartyaudiences$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Firstandthirdpartyaudiences$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Firstandthirdpartyaudiences$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16140,8 +16140,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstandthirdpartyaudiences$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16289,11 +16289,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Floodlightgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16322,7 +16322,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16375,11 +16375,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Floodlightgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16408,7 +16408,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16501,11 +16501,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Googleaudiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Googleaudiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Googleaudiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16534,7 +16534,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Googleaudiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16588,11 +16588,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Googleaudiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Googleaudiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Googleaudiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16627,8 +16627,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Googleaudiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16732,11 +16732,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Guaranteedorders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Guaranteedorders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Guaranteedorders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16765,7 +16765,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16819,11 +16819,11 @@ export namespace displayvideo_v1 { editGuaranteedOrderReadAccessors( params: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editGuaranteedOrderReadAccessors( params?: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; editGuaranteedOrderReadAccessors( params: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options: StreamMethodOptions | BodyResponseCallback, @@ -16858,8 +16858,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16916,11 +16916,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Guaranteedorders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Guaranteedorders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Guaranteedorders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16949,7 +16949,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17002,11 +17002,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Guaranteedorders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Guaranteedorders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Guaranteedorders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17041,8 +17041,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17098,11 +17098,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Guaranteedorders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Guaranteedorders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Guaranteedorders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17131,7 +17131,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17291,11 +17291,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Inventorysourcegroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysourcegroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysourcegroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17328,8 +17328,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17383,11 +17383,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Inventorysourcegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inventorysourcegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inventorysourcegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17416,7 +17416,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17469,11 +17469,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Inventorysourcegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inventorysourcegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inventorysourcegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17506,8 +17506,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17560,11 +17560,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Inventorysourcegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysourcegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inventorysourcegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17599,8 +17599,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17656,11 +17656,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Inventorysourcegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inventorysourcegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inventorysourcegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17693,8 +17693,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17852,11 +17852,11 @@ export namespace displayvideo_v1 { bulkEdit( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -17891,8 +17891,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17949,11 +17949,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17988,8 +17988,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18044,11 +18044,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18077,7 +18077,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18132,11 +18132,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18171,8 +18171,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18319,11 +18319,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Inventorysources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18352,7 +18352,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18406,11 +18406,11 @@ export namespace displayvideo_v1 { editInventorySourceReadWriteAccessors( params: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editInventorySourceReadWriteAccessors( params?: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; editInventorySourceReadWriteAccessors( params: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options: StreamMethodOptions | BodyResponseCallback, @@ -18445,8 +18445,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18501,11 +18501,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Inventorysources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inventorysources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inventorysources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18534,7 +18534,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18587,11 +18587,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Inventorysources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inventorysources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18626,8 +18626,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18683,11 +18683,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Inventorysources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inventorysources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inventorysources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18716,7 +18716,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18867,11 +18867,11 @@ export namespace displayvideo_v1 { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -18906,8 +18906,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18960,11 +18960,11 @@ export namespace displayvideo_v1 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -18997,8 +18997,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19099,11 +19099,11 @@ export namespace displayvideo_v1 { bulkEditPartnerAssignedTargetingOptions( params: Params$Resource$Partners$Bulkeditpartnerassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditPartnerAssignedTargetingOptions( params?: Params$Resource$Partners$Bulkeditpartnerassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditPartnerAssignedTargetingOptions( params: Params$Resource$Partners$Bulkeditpartnerassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -19138,8 +19138,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Bulkeditpartnerassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19196,11 +19196,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Partners$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19229,7 +19229,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19282,11 +19282,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Partners$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19319,8 +19319,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19416,11 +19416,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Partners$Channels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Channels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Channels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19449,7 +19449,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19503,11 +19503,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Partners$Channels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Channels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Channels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19536,7 +19536,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19589,11 +19589,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Partners$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19626,8 +19626,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19681,11 +19681,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Partners$Channels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Partners$Channels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Partners$Channels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19714,7 +19714,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19857,11 +19857,11 @@ export namespace displayvideo_v1 { bulkEdit( params: Params$Resource$Partners$Channels$Sites$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Partners$Channels$Sites$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params: Params$Resource$Partners$Channels$Sites$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -19896,8 +19896,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19951,11 +19951,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Partners$Channels$Sites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Channels$Sites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Channels$Sites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19984,7 +19984,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20037,11 +20037,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Partners$Channels$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Partners$Channels$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Partners$Channels$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20070,7 +20070,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20124,11 +20124,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Partners$Channels$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Channels$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Channels$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20159,8 +20159,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20213,11 +20213,11 @@ export namespace displayvideo_v1 { replace( params: Params$Resource$Partners$Channels$Sites$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Partners$Channels$Sites$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Partners$Channels$Sites$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -20250,8 +20250,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20427,11 +20427,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20466,8 +20466,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20522,11 +20522,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20555,7 +20555,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20614,11 +20614,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20651,8 +20651,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20711,11 +20711,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20750,8 +20750,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20891,11 +20891,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Sdfdownloadtasks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Sdfdownloadtasks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Sdfdownloadtasks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20924,7 +20924,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtasks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20993,11 +20993,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sdfdownloadtasks$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21026,7 +21026,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtasks$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21103,11 +21103,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Targetingtypes$Targetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetingtypes$Targetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetingtypes$Targetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21136,7 +21136,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21190,11 +21190,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Targetingtypes$Targetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetingtypes$Targetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetingtypes$Targetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21229,8 +21229,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21285,11 +21285,11 @@ export namespace displayvideo_v1 { search( params: Params$Resource$Targetingtypes$Targetingoptions$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Targetingtypes$Targetingoptions$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Targetingtypes$Targetingoptions$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -21324,8 +21324,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21443,11 +21443,11 @@ export namespace displayvideo_v1 { bulkEditAssignedUserRoles( params: Params$Resource$Users$Bulkeditassigneduserroles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditAssignedUserRoles( params?: Params$Resource$Users$Bulkeditassigneduserroles, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditAssignedUserRoles( params: Params$Resource$Users$Bulkeditassigneduserroles, options: StreamMethodOptions | BodyResponseCallback, @@ -21482,8 +21482,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Bulkeditassigneduserroles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21538,11 +21538,11 @@ export namespace displayvideo_v1 { create( params: Params$Resource$Users$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21571,7 +21571,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21621,11 +21621,11 @@ export namespace displayvideo_v1 { delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21654,7 +21654,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21707,11 +21707,11 @@ export namespace displayvideo_v1 { get( params: Params$Resource$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21740,7 +21740,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21793,11 +21793,11 @@ export namespace displayvideo_v1 { list( params: Params$Resource$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21828,8 +21828,8 @@ export namespace displayvideo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21879,11 +21879,11 @@ export namespace displayvideo_v1 { patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21912,7 +21912,7 @@ export namespace displayvideo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/displayvideo/v1beta.ts b/src/apis/displayvideo/v1beta.ts index 4f803839640..f71f1856147 100644 --- a/src/apis/displayvideo/v1beta.ts +++ b/src/apis/displayvideo/v1beta.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -241,11 +241,11 @@ export namespace displayvideo_v1beta { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -280,8 +280,8 @@ export namespace displayvideo_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -406,11 +406,11 @@ export namespace displayvideo_v1beta { get( params: Params$Resource$Sdfdownloadtask$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sdfdownloadtask$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sdfdownloadtask$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -439,7 +439,7 @@ export namespace displayvideo_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtask$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -563,11 +563,11 @@ export namespace displayvideo_v1beta { get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sdfdownloadtasks$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -596,7 +596,7 @@ export namespace displayvideo_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtasks$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/displayvideo/v1beta2.ts b/src/apis/displayvideo/v1beta2.ts index 6e641963df6..5c36bf53100 100644 --- a/src/apis/displayvideo/v1beta2.ts +++ b/src/apis/displayvideo/v1beta2.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -239,11 +239,11 @@ export namespace displayvideo_v1beta2 { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -278,8 +278,8 @@ export namespace displayvideo_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -404,11 +404,11 @@ export namespace displayvideo_v1beta2 { get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sdfdownloadtasks$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -437,7 +437,7 @@ export namespace displayvideo_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtasks$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/displayvideo/v1dev.ts b/src/apis/displayvideo/v1dev.ts index 7293fc86a6a..734195c4d43 100644 --- a/src/apis/displayvideo/v1dev.ts +++ b/src/apis/displayvideo/v1dev.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -239,11 +239,11 @@ export namespace displayvideo_v1dev { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -278,8 +278,8 @@ export namespace displayvideo_v1dev { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -404,11 +404,11 @@ export namespace displayvideo_v1dev { get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sdfdownloadtasks$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -437,7 +437,7 @@ export namespace displayvideo_v1dev { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtasks$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/displayvideo/v2.ts b/src/apis/displayvideo/v2.ts index eec49ae6212..a5d06c5ca45 100644 --- a/src/apis/displayvideo/v2.ts +++ b/src/apis/displayvideo/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5887,11 +5887,11 @@ export namespace displayvideo_v2 { audit( params: Params$Resource$Advertisers$Audit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; audit( params?: Params$Resource$Advertisers$Audit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; audit( params: Params$Resource$Advertisers$Audit, options: StreamMethodOptions | BodyResponseCallback, @@ -5924,8 +5924,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Audit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5980,11 +5980,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6013,7 +6013,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6065,11 +6068,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Advertisers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6098,7 +6101,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6153,11 +6159,13 @@ export namespace displayvideo_v2 { editAssignedTargetingOptions( params: Params$Resource$Advertisers$Editassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editAssignedTargetingOptions( params?: Params$Resource$Advertisers$Editassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; editAssignedTargetingOptions( params: Params$Resource$Advertisers$Editassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -6192,8 +6200,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Editassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6250,11 +6260,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6283,7 +6293,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6337,11 +6350,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6374,8 +6387,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6426,11 +6439,13 @@ export namespace displayvideo_v2 { listAssignedTargetingOptions( params: Params$Resource$Advertisers$Listassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAssignedTargetingOptions( params?: Params$Resource$Advertisers$Listassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAssignedTargetingOptions( params: Params$Resource$Advertisers$Listassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -6465,8 +6480,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Listassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6523,11 +6540,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6556,7 +6573,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6723,11 +6743,11 @@ export namespace displayvideo_v2 { upload( params: Params$Resource$Advertisers$Assets$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Advertisers$Assets$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Advertisers$Assets$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -6758,8 +6778,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Assets$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6852,11 +6872,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Campaigns$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Campaigns$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Campaigns$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6885,7 +6905,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6939,11 +6962,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Advertisers$Campaigns$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Campaigns$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Campaigns$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6972,7 +6995,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7027,11 +7053,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Campaigns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Campaigns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Campaigns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7060,7 +7086,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7115,11 +7144,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Campaigns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Campaigns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Campaigns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7152,8 +7181,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7207,11 +7236,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Advertisers$Campaigns$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Campaigns$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Campaigns$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7240,7 +7269,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7382,11 +7414,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Channels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Channels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Channels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7415,7 +7447,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7470,11 +7505,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Channels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Channels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Channels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7503,7 +7538,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7557,11 +7595,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7594,8 +7632,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7650,11 +7688,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Advertisers$Channels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Channels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Channels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7683,7 +7721,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7827,11 +7868,11 @@ export namespace displayvideo_v2 { bulkEdit( params: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -7866,8 +7907,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7922,11 +7963,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Channels$Sites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Channels$Sites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Channels$Sites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7955,7 +7996,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8010,11 +8054,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Advertisers$Channels$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Channels$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Channels$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8043,7 +8087,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8098,11 +8145,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Channels$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Channels$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Channels$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8133,8 +8180,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8189,11 +8236,11 @@ export namespace displayvideo_v2 { replace( params: Params$Resource$Advertisers$Channels$Sites$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Advertisers$Channels$Sites$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Advertisers$Channels$Sites$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -8226,8 +8273,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8392,11 +8439,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Creatives$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Creatives$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Creatives$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8425,7 +8472,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8479,11 +8529,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Advertisers$Creatives$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Creatives$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Creatives$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8512,7 +8562,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8567,11 +8620,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8600,7 +8653,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8655,11 +8711,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8692,8 +8748,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8747,11 +8803,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Advertisers$Creatives$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Creatives$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Creatives$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8780,7 +8836,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8920,11 +8979,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Insertionorders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Insertionorders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Insertionorders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8953,7 +9012,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9007,11 +9069,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Advertisers$Insertionorders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Insertionorders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Insertionorders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9040,7 +9102,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9095,11 +9160,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Insertionorders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Insertionorders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Insertionorders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9128,7 +9193,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9183,11 +9251,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Insertionorders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Insertionorders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Insertionorders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9222,8 +9290,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9277,11 +9345,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Advertisers$Insertionorders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Insertionorders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Insertionorders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9310,7 +9378,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9450,11 +9521,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Invoices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Invoices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Invoices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9487,8 +9558,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Invoices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9543,11 +9614,11 @@ export namespace displayvideo_v2 { lookupInvoiceCurrency( params: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupInvoiceCurrency( params?: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookupInvoiceCurrency( params: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options: StreamMethodOptions | BodyResponseCallback, @@ -9582,8 +9653,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9687,11 +9758,13 @@ export namespace displayvideo_v2 { bulkEditAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditAssignedTargetingOptions( params?: Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEditAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -9726,8 +9799,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9785,11 +9860,13 @@ export namespace displayvideo_v2 { bulkListAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkListAssignedTargetingOptions( params?: Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkListAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -9824,8 +9901,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9883,11 +9962,11 @@ export namespace displayvideo_v2 { bulkUpdate( params: Params$Resource$Advertisers$Lineitems$Bulkupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkUpdate( params?: Params$Resource$Advertisers$Lineitems$Bulkupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkUpdate( params: Params$Resource$Advertisers$Lineitems$Bulkupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -9922,8 +10001,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Bulkupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9977,11 +10056,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Lineitems$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Lineitems$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Lineitems$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10010,7 +10089,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10064,11 +10146,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Advertisers$Lineitems$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Lineitems$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Lineitems$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10097,7 +10179,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10152,11 +10237,11 @@ export namespace displayvideo_v2 { duplicate( params: Params$Resource$Advertisers$Lineitems$Duplicate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; duplicate( params?: Params$Resource$Advertisers$Lineitems$Duplicate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; duplicate( params: Params$Resource$Advertisers$Lineitems$Duplicate, options: StreamMethodOptions | BodyResponseCallback, @@ -10191,8 +10276,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Duplicate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10247,11 +10332,11 @@ export namespace displayvideo_v2 { generateDefault( params: Params$Resource$Advertisers$Lineitems$Generatedefault, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateDefault( params?: Params$Resource$Advertisers$Lineitems$Generatedefault, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateDefault( params: Params$Resource$Advertisers$Lineitems$Generatedefault, options: StreamMethodOptions | BodyResponseCallback, @@ -10280,7 +10365,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Generatedefault; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10335,11 +10423,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Lineitems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Lineitems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Lineitems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10368,7 +10456,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10423,11 +10514,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Lineitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Lineitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Lineitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10460,8 +10551,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10515,11 +10606,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Advertisers$Lineitems$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Lineitems$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Lineitems$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10548,7 +10639,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10779,11 +10873,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10818,8 +10912,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10875,11 +10969,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10908,7 +11002,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10974,11 +11071,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11011,8 +11108,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11078,11 +11175,13 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11117,8 +11216,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11276,11 +11377,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Locationlists$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Locationlists$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Locationlists$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11309,7 +11410,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11363,11 +11467,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Locationlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Locationlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Locationlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11396,7 +11500,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11451,11 +11558,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Locationlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Locationlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Locationlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11490,8 +11597,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11545,11 +11652,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Advertisers$Locationlists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Locationlists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Locationlists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11578,7 +11685,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11707,11 +11817,13 @@ export namespace displayvideo_v2 { bulkEdit( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEdit( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -11746,8 +11858,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11805,11 +11919,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11838,7 +11952,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11894,11 +12011,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11927,7 +12044,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11987,11 +12107,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12026,8 +12146,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12167,11 +12287,11 @@ export namespace displayvideo_v2 { activate( params: Params$Resource$Advertisers$Manualtriggers$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Advertisers$Manualtriggers$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Advertisers$Manualtriggers$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -12200,7 +12320,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12255,11 +12378,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Manualtriggers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Manualtriggers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Manualtriggers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12288,7 +12411,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12342,11 +12468,11 @@ export namespace displayvideo_v2 { deactivate( params: Params$Resource$Advertisers$Manualtriggers$Deactivate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params?: Params$Resource$Advertisers$Manualtriggers$Deactivate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deactivate( params: Params$Resource$Advertisers$Manualtriggers$Deactivate, options: StreamMethodOptions | BodyResponseCallback, @@ -12375,7 +12501,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$Deactivate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12430,11 +12559,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Manualtriggers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Manualtriggers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Manualtriggers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12463,7 +12592,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12518,11 +12650,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Manualtriggers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Manualtriggers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Manualtriggers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12557,8 +12689,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12612,11 +12744,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Advertisers$Manualtriggers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Manualtriggers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Manualtriggers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12645,7 +12777,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Manualtriggers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12811,11 +12946,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Negativekeywordlists$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Negativekeywordlists$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Negativekeywordlists$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12846,8 +12981,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12901,11 +13036,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Advertisers$Negativekeywordlists$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Negativekeywordlists$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Negativekeywordlists$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12934,7 +13069,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12989,11 +13127,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Negativekeywordlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Negativekeywordlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Negativekeywordlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13024,8 +13162,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13080,11 +13218,13 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Negativekeywordlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Negativekeywordlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Negativekeywordlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13119,8 +13259,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13176,11 +13318,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Advertisers$Negativekeywordlists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Negativekeywordlists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Negativekeywordlists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13211,8 +13353,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13344,11 +13486,13 @@ export namespace displayvideo_v2 { bulkEdit( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEdit( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -13383,8 +13527,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13442,11 +13588,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13475,7 +13621,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13531,11 +13680,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13564,7 +13713,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13624,11 +13776,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13663,8 +13815,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13722,11 +13874,11 @@ export namespace displayvideo_v2 { replace( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -13761,8 +13913,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13930,11 +14082,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13969,8 +14121,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14026,11 +14178,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14059,7 +14211,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14123,11 +14278,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14160,8 +14315,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14225,11 +14380,13 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14264,8 +14421,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14404,11 +14563,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Youtubeadgroupads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Youtubeadgroupads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Youtubeadgroupads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14437,7 +14596,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Youtubeadgroupads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14492,11 +14654,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Youtubeadgroupads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Youtubeadgroupads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Youtubeadgroupads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14531,8 +14693,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Youtubeadgroupads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14633,11 +14795,13 @@ export namespace displayvideo_v2 { bulkListAdGroupAssignedTargetingOptions( params: Params$Resource$Advertisers$Youtubeadgroups$Bulklistadgroupassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkListAdGroupAssignedTargetingOptions( params?: Params$Resource$Advertisers$Youtubeadgroups$Bulklistadgroupassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkListAdGroupAssignedTargetingOptions( params: Params$Resource$Advertisers$Youtubeadgroups$Bulklistadgroupassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -14672,8 +14836,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Youtubeadgroups$Bulklistadgroupassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14731,11 +14897,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Youtubeadgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Youtubeadgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Youtubeadgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14764,7 +14930,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Youtubeadgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14819,11 +14988,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Youtubeadgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Youtubeadgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Youtubeadgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14858,8 +15027,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Youtubeadgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14994,11 +15163,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Advertisers$Youtubeadgroups$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Youtubeadgroups$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Youtubeadgroups$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15031,8 +15200,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Youtubeadgroups$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15098,11 +15267,13 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Advertisers$Youtubeadgroups$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Youtubeadgroups$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Youtubeadgroups$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15137,8 +15308,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Youtubeadgroups$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15254,11 +15427,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Combinedaudiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Combinedaudiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Combinedaudiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15287,7 +15460,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Combinedaudiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15341,11 +15517,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Combinedaudiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Combinedaudiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Combinedaudiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15380,8 +15556,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Combinedaudiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15490,11 +15666,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Custombiddingalgorithms$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Custombiddingalgorithms$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Custombiddingalgorithms$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15527,8 +15703,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15583,11 +15759,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Custombiddingalgorithms$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Custombiddingalgorithms$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Custombiddingalgorithms$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15620,8 +15796,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15676,11 +15852,13 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Custombiddingalgorithms$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Custombiddingalgorithms$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Custombiddingalgorithms$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15715,8 +15893,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15773,11 +15953,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Custombiddingalgorithms$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Custombiddingalgorithms$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Custombiddingalgorithms$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15810,8 +15990,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15866,11 +16046,11 @@ export namespace displayvideo_v2 { uploadScript( params: Params$Resource$Custombiddingalgorithms$Uploadscript, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; uploadScript( params?: Params$Resource$Custombiddingalgorithms$Uploadscript, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; uploadScript( params: Params$Resource$Custombiddingalgorithms$Uploadscript, options: StreamMethodOptions | BodyResponseCallback, @@ -15905,8 +16085,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Uploadscript; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16049,11 +16229,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Custombiddingalgorithms$Scripts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Custombiddingalgorithms$Scripts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Custombiddingalgorithms$Scripts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16084,8 +16264,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16140,11 +16320,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Custombiddingalgorithms$Scripts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Custombiddingalgorithms$Scripts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Custombiddingalgorithms$Scripts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16175,8 +16355,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16231,11 +16411,13 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Custombiddingalgorithms$Scripts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Custombiddingalgorithms$Scripts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Custombiddingalgorithms$Scripts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16270,8 +16452,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16402,11 +16586,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Customlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16435,7 +16619,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16489,11 +16676,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Customlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16526,8 +16713,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16621,11 +16808,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Floodlightgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16654,7 +16841,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16708,11 +16898,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Floodlightgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16741,7 +16931,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16835,11 +17028,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Floodlightgroups$Floodlightactivities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightgroups$Floodlightactivities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightgroups$Floodlightactivities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16870,8 +17063,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Floodlightactivities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16927,11 +17120,13 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Floodlightgroups$Floodlightactivities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightgroups$Floodlightactivities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Floodlightgroups$Floodlightactivities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16966,8 +17161,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Floodlightactivities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17071,11 +17268,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Googleaudiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Googleaudiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Googleaudiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17104,7 +17301,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Googleaudiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17159,11 +17359,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Googleaudiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Googleaudiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Googleaudiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17198,8 +17398,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Googleaudiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17304,11 +17504,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Guaranteedorders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Guaranteedorders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Guaranteedorders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17337,7 +17537,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17392,11 +17595,13 @@ export namespace displayvideo_v2 { editGuaranteedOrderReadAccessors( params: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editGuaranteedOrderReadAccessors( params?: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; editGuaranteedOrderReadAccessors( params: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options: StreamMethodOptions | BodyResponseCallback, @@ -17431,8 +17636,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17490,11 +17697,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Guaranteedorders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Guaranteedorders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Guaranteedorders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17523,7 +17730,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17577,11 +17787,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Guaranteedorders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Guaranteedorders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Guaranteedorders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17616,8 +17826,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17674,11 +17884,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Guaranteedorders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Guaranteedorders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Guaranteedorders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17707,7 +17917,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17868,11 +18081,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Inventorysourcegroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysourcegroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysourcegroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17905,8 +18118,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17961,11 +18174,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Inventorysourcegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inventorysourcegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inventorysourcegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17994,7 +18207,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18048,11 +18264,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Inventorysourcegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inventorysourcegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inventorysourcegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18085,8 +18301,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18140,11 +18356,13 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Inventorysourcegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysourcegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Inventorysourcegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18179,8 +18397,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18237,11 +18457,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Inventorysourcegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inventorysourcegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inventorysourcegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18274,8 +18494,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18434,11 +18654,13 @@ export namespace displayvideo_v2 { bulkEdit( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEdit( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -18473,8 +18695,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18532,11 +18756,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18571,8 +18795,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18628,11 +18852,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18661,7 +18885,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18717,11 +18944,13 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18756,8 +18985,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18905,11 +19136,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Inventorysources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18938,7 +19169,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18993,11 +19227,11 @@ export namespace displayvideo_v2 { editInventorySourceReadWriteAccessors( params: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editInventorySourceReadWriteAccessors( params?: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; editInventorySourceReadWriteAccessors( params: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options: StreamMethodOptions | BodyResponseCallback, @@ -19032,8 +19266,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19089,11 +19323,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Inventorysources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inventorysources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inventorysources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19122,7 +19356,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19176,11 +19413,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Inventorysources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inventorysources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19215,8 +19452,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19273,11 +19510,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Inventorysources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inventorysources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inventorysources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19306,7 +19543,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19458,11 +19698,11 @@ export namespace displayvideo_v2 { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -19497,8 +19737,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19552,11 +19792,11 @@ export namespace displayvideo_v2 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -19589,8 +19829,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19692,11 +19932,13 @@ export namespace displayvideo_v2 { editAssignedTargetingOptions( params: Params$Resource$Partners$Editassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editAssignedTargetingOptions( params?: Params$Resource$Partners$Editassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; editAssignedTargetingOptions( params: Params$Resource$Partners$Editassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -19731,8 +19973,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Editassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19788,11 +20032,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Partners$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19821,7 +20065,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19875,11 +20122,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Partners$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19912,8 +20159,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20010,11 +20257,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Partners$Channels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Channels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Channels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20043,7 +20290,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20098,11 +20348,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Partners$Channels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Channels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Channels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20131,7 +20381,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20185,11 +20438,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Partners$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20222,8 +20475,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20278,11 +20531,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Partners$Channels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Partners$Channels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Partners$Channels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20311,7 +20564,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20455,11 +20711,11 @@ export namespace displayvideo_v2 { bulkEdit( params: Params$Resource$Partners$Channels$Sites$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Partners$Channels$Sites$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params: Params$Resource$Partners$Channels$Sites$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -20494,8 +20750,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20550,11 +20806,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Partners$Channels$Sites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Channels$Sites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Channels$Sites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20583,7 +20839,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20637,11 +20896,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Partners$Channels$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Partners$Channels$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Partners$Channels$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20670,7 +20929,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20725,11 +20987,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Partners$Channels$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Channels$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Channels$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20760,8 +21022,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20815,11 +21077,11 @@ export namespace displayvideo_v2 { replace( params: Params$Resource$Partners$Channels$Sites$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Partners$Channels$Sites$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Partners$Channels$Sites$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -20852,8 +21114,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21030,11 +21292,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21069,8 +21331,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21126,11 +21388,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21159,7 +21421,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21219,11 +21484,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21256,8 +21521,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21317,11 +21582,13 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21356,8 +21623,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21498,11 +21767,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Sdfdownloadtasks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Sdfdownloadtasks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Sdfdownloadtasks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21531,7 +21800,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtasks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21601,11 +21873,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sdfdownloadtasks$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21634,7 +21906,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtasks$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21712,11 +21987,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Targetingtypes$Targetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetingtypes$Targetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetingtypes$Targetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21745,7 +22020,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21800,11 +22078,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Targetingtypes$Targetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetingtypes$Targetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetingtypes$Targetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21839,8 +22117,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21896,11 +22174,11 @@ export namespace displayvideo_v2 { search( params: Params$Resource$Targetingtypes$Targetingoptions$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Targetingtypes$Targetingoptions$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Targetingtypes$Targetingoptions$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -21935,8 +22213,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22055,11 +22333,13 @@ export namespace displayvideo_v2 { bulkEditAssignedUserRoles( params: Params$Resource$Users$Bulkeditassigneduserroles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditAssignedUserRoles( params?: Params$Resource$Users$Bulkeditassigneduserroles, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEditAssignedUserRoles( params: Params$Resource$Users$Bulkeditassigneduserroles, options: StreamMethodOptions | BodyResponseCallback, @@ -22094,8 +22374,10 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Bulkeditassigneduserroles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22151,11 +22433,11 @@ export namespace displayvideo_v2 { create( params: Params$Resource$Users$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22184,7 +22466,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22235,11 +22520,11 @@ export namespace displayvideo_v2 { delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22268,7 +22553,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22322,11 +22610,11 @@ export namespace displayvideo_v2 { get( params: Params$Resource$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22355,7 +22643,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22409,11 +22700,11 @@ export namespace displayvideo_v2 { list( params: Params$Resource$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22444,8 +22735,8 @@ export namespace displayvideo_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22496,11 +22787,11 @@ export namespace displayvideo_v2 { patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22529,7 +22820,10 @@ export namespace displayvideo_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/displayvideo/v3.ts b/src/apis/displayvideo/v3.ts index bd146a15dd7..3dcf4de1bac 100644 --- a/src/apis/displayvideo/v3.ts +++ b/src/apis/displayvideo/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -6507,11 +6507,11 @@ export namespace displayvideo_v3 { audit( params: Params$Resource$Advertisers$Audit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; audit( params?: Params$Resource$Advertisers$Audit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; audit( params: Params$Resource$Advertisers$Audit, options: StreamMethodOptions | BodyResponseCallback, @@ -6544,8 +6544,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Audit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6600,11 +6600,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6633,7 +6633,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6685,11 +6688,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6718,7 +6721,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6773,11 +6779,13 @@ export namespace displayvideo_v3 { editAssignedTargetingOptions( params: Params$Resource$Advertisers$Editassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editAssignedTargetingOptions( params?: Params$Resource$Advertisers$Editassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; editAssignedTargetingOptions( params: Params$Resource$Advertisers$Editassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -6812,8 +6820,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Editassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6870,11 +6880,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6903,7 +6913,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6957,11 +6970,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6994,8 +7007,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7046,11 +7059,13 @@ export namespace displayvideo_v3 { listAssignedTargetingOptions( params: Params$Resource$Advertisers$Listassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAssignedTargetingOptions( params?: Params$Resource$Advertisers$Listassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAssignedTargetingOptions( params: Params$Resource$Advertisers$Listassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -7085,8 +7100,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Listassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7143,11 +7160,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7176,7 +7193,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7343,11 +7363,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Adgroupads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Adgroupads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Adgroupads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7376,7 +7396,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroupads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7431,11 +7454,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Adgroupads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Adgroupads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Adgroupads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7468,8 +7491,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroupads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7569,11 +7592,13 @@ export namespace displayvideo_v3 { bulkListAdGroupAssignedTargetingOptions( params: Params$Resource$Advertisers$Adgroups$Bulklistadgroupassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkListAdGroupAssignedTargetingOptions( params?: Params$Resource$Advertisers$Adgroups$Bulklistadgroupassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkListAdGroupAssignedTargetingOptions( params: Params$Resource$Advertisers$Adgroups$Bulklistadgroupassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -7608,8 +7633,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroups$Bulklistadgroupassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7667,11 +7694,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Adgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Adgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Adgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7700,7 +7727,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7754,11 +7784,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Adgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Adgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Adgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7791,8 +7821,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7928,11 +7958,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7965,8 +7995,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8032,11 +8062,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8071,8 +8103,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8188,11 +8222,11 @@ export namespace displayvideo_v3 { upload( params: Params$Resource$Advertisers$Assets$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Advertisers$Assets$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Advertisers$Assets$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -8223,8 +8257,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Assets$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8321,11 +8355,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Campaigns$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Campaigns$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Campaigns$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8354,7 +8388,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8408,11 +8445,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Campaigns$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Campaigns$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Campaigns$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8441,7 +8478,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8496,11 +8536,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Campaigns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Campaigns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Campaigns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8529,7 +8569,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8584,11 +8627,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Campaigns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Campaigns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Campaigns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8621,8 +8664,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8676,11 +8719,13 @@ export namespace displayvideo_v3 { listAssignedTargetingOptions( params: Params$Resource$Advertisers$Campaigns$Listassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAssignedTargetingOptions( params?: Params$Resource$Advertisers$Campaigns$Listassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAssignedTargetingOptions( params: Params$Resource$Advertisers$Campaigns$Listassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -8715,8 +8760,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Listassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8774,11 +8821,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Advertisers$Campaigns$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Campaigns$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Campaigns$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8807,7 +8854,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8986,11 +9036,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9023,8 +9073,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9090,11 +9140,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9129,8 +9181,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9248,11 +9302,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Channels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Channels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Channels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9281,7 +9335,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9336,11 +9393,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Channels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Channels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Channels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9369,7 +9426,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9423,11 +9483,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9460,8 +9520,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9516,11 +9576,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Advertisers$Channels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Channels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Channels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9549,7 +9609,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9693,11 +9756,11 @@ export namespace displayvideo_v3 { bulkEdit( params: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -9732,8 +9795,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9788,11 +9851,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Channels$Sites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Channels$Sites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Channels$Sites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9821,7 +9884,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9876,11 +9942,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Channels$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Channels$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Channels$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9909,7 +9975,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9964,11 +10033,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Channels$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Channels$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Channels$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9999,8 +10068,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10055,11 +10124,11 @@ export namespace displayvideo_v3 { replace( params: Params$Resource$Advertisers$Channels$Sites$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Advertisers$Channels$Sites$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Advertisers$Channels$Sites$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -10092,8 +10161,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10258,11 +10327,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Creatives$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Creatives$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Creatives$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10291,7 +10360,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10345,11 +10417,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Creatives$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Creatives$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Creatives$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10378,7 +10450,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10433,11 +10508,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10466,7 +10541,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10521,11 +10599,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10558,8 +10636,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10613,11 +10691,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Advertisers$Creatives$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Creatives$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Creatives$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10646,7 +10724,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10789,11 +10870,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Insertionorders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Insertionorders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Insertionorders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10822,7 +10903,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10876,11 +10960,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Insertionorders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Insertionorders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Insertionorders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10909,7 +10993,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10964,11 +11051,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Insertionorders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Insertionorders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Insertionorders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10997,7 +11084,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11052,11 +11142,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Insertionorders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Insertionorders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Insertionorders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11091,8 +11181,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11146,11 +11236,13 @@ export namespace displayvideo_v3 { listAssignedTargetingOptions( params: Params$Resource$Advertisers$Insertionorders$Listassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAssignedTargetingOptions( params?: Params$Resource$Advertisers$Insertionorders$Listassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAssignedTargetingOptions( params: Params$Resource$Advertisers$Insertionorders$Listassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -11185,8 +11277,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Listassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11244,11 +11338,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Advertisers$Insertionorders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Insertionorders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Insertionorders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11277,7 +11371,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11456,11 +11553,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11495,8 +11592,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11552,11 +11649,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11585,7 +11682,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11651,11 +11751,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11688,8 +11788,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11755,11 +11855,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11794,8 +11896,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11950,11 +12054,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Invoices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Invoices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Invoices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11987,8 +12091,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Invoices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12043,11 +12147,11 @@ export namespace displayvideo_v3 { lookupInvoiceCurrency( params: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupInvoiceCurrency( params?: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookupInvoiceCurrency( params: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options: StreamMethodOptions | BodyResponseCallback, @@ -12082,8 +12186,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12187,11 +12291,13 @@ export namespace displayvideo_v3 { bulkEditAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditAssignedTargetingOptions( params?: Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEditAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -12226,8 +12332,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12285,11 +12393,13 @@ export namespace displayvideo_v3 { bulkListAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkListAssignedTargetingOptions( params?: Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkListAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -12324,8 +12434,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12383,11 +12495,11 @@ export namespace displayvideo_v3 { bulkUpdate( params: Params$Resource$Advertisers$Lineitems$Bulkupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkUpdate( params?: Params$Resource$Advertisers$Lineitems$Bulkupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkUpdate( params: Params$Resource$Advertisers$Lineitems$Bulkupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -12422,8 +12534,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Bulkupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12477,11 +12589,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Lineitems$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Lineitems$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Lineitems$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12510,7 +12622,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12564,11 +12679,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Lineitems$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Lineitems$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Lineitems$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12597,7 +12712,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12652,11 +12770,11 @@ export namespace displayvideo_v3 { duplicate( params: Params$Resource$Advertisers$Lineitems$Duplicate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; duplicate( params?: Params$Resource$Advertisers$Lineitems$Duplicate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; duplicate( params: Params$Resource$Advertisers$Lineitems$Duplicate, options: StreamMethodOptions | BodyResponseCallback, @@ -12691,8 +12809,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Duplicate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12747,11 +12865,11 @@ export namespace displayvideo_v3 { generateDefault( params: Params$Resource$Advertisers$Lineitems$Generatedefault, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateDefault( params?: Params$Resource$Advertisers$Lineitems$Generatedefault, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateDefault( params: Params$Resource$Advertisers$Lineitems$Generatedefault, options: StreamMethodOptions | BodyResponseCallback, @@ -12780,7 +12898,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Generatedefault; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12835,11 +12956,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Lineitems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Lineitems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Lineitems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12868,7 +12989,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12923,11 +13047,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Lineitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Lineitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Lineitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12960,8 +13084,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13015,11 +13139,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Advertisers$Lineitems$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Lineitems$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Lineitems$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13048,7 +13172,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13279,11 +13406,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13318,8 +13445,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13375,11 +13502,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13408,7 +13535,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13474,11 +13604,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13511,8 +13641,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13578,11 +13708,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13617,8 +13749,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13776,11 +13910,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Locationlists$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Locationlists$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Locationlists$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13809,7 +13943,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13863,11 +14000,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Locationlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Locationlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Locationlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13896,7 +14033,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13951,11 +14091,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Locationlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Locationlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Locationlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13990,8 +14130,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14045,11 +14185,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Advertisers$Locationlists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Locationlists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Locationlists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14078,7 +14218,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14207,11 +14350,13 @@ export namespace displayvideo_v3 { bulkEdit( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEdit( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -14246,8 +14391,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14305,11 +14452,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14338,7 +14485,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14394,11 +14544,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14427,7 +14577,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14487,11 +14640,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14526,8 +14679,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14672,11 +14825,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Negativekeywordlists$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Negativekeywordlists$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Negativekeywordlists$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14707,8 +14860,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14762,11 +14915,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Negativekeywordlists$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Negativekeywordlists$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Negativekeywordlists$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14795,7 +14948,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14850,11 +15006,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Negativekeywordlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Negativekeywordlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Negativekeywordlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14885,8 +15041,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14941,11 +15097,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Negativekeywordlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Negativekeywordlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Negativekeywordlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14980,8 +15138,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15037,11 +15197,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Advertisers$Negativekeywordlists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Negativekeywordlists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Negativekeywordlists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15072,8 +15232,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15205,11 +15365,13 @@ export namespace displayvideo_v3 { bulkEdit( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEdit( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -15244,8 +15406,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15303,11 +15467,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15336,7 +15500,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15392,11 +15559,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15425,7 +15592,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15485,11 +15655,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15524,8 +15694,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15583,11 +15753,11 @@ export namespace displayvideo_v3 { replace( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -15622,8 +15792,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15791,11 +15961,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15830,8 +16000,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15887,11 +16057,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15920,7 +16090,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15984,11 +16157,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16021,8 +16194,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16086,11 +16259,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16125,8 +16300,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16265,11 +16442,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Combinedaudiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Combinedaudiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Combinedaudiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16298,7 +16475,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Combinedaudiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16352,11 +16532,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Combinedaudiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Combinedaudiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Combinedaudiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16391,8 +16571,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Combinedaudiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16503,11 +16683,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Custombiddingalgorithms$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Custombiddingalgorithms$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Custombiddingalgorithms$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16540,8 +16720,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16596,11 +16776,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Custombiddingalgorithms$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Custombiddingalgorithms$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Custombiddingalgorithms$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16633,8 +16813,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16689,11 +16869,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Custombiddingalgorithms$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Custombiddingalgorithms$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Custombiddingalgorithms$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16728,8 +16910,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16786,11 +16970,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Custombiddingalgorithms$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Custombiddingalgorithms$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Custombiddingalgorithms$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16823,8 +17007,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16879,11 +17063,11 @@ export namespace displayvideo_v3 { uploadRules( params: Params$Resource$Custombiddingalgorithms$Uploadrules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; uploadRules( params?: Params$Resource$Custombiddingalgorithms$Uploadrules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; uploadRules( params: Params$Resource$Custombiddingalgorithms$Uploadrules, options: StreamMethodOptions | BodyResponseCallback, @@ -16918,8 +17102,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Uploadrules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16976,11 +17160,11 @@ export namespace displayvideo_v3 { uploadScript( params: Params$Resource$Custombiddingalgorithms$Uploadscript, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; uploadScript( params?: Params$Resource$Custombiddingalgorithms$Uploadscript, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; uploadScript( params: Params$Resource$Custombiddingalgorithms$Uploadscript, options: StreamMethodOptions | BodyResponseCallback, @@ -17015,8 +17199,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Uploadscript; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17174,11 +17358,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Custombiddingalgorithms$Rules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Custombiddingalgorithms$Rules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Custombiddingalgorithms$Rules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17213,8 +17397,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Rules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17269,11 +17453,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Custombiddingalgorithms$Rules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Custombiddingalgorithms$Rules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Custombiddingalgorithms$Rules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17308,8 +17492,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Rules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17370,11 +17554,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Custombiddingalgorithms$Rules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Custombiddingalgorithms$Rules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Custombiddingalgorithms$Rules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17409,8 +17595,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Rules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17541,11 +17729,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Custombiddingalgorithms$Scripts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Custombiddingalgorithms$Scripts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Custombiddingalgorithms$Scripts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17576,8 +17764,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17632,11 +17820,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Custombiddingalgorithms$Scripts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Custombiddingalgorithms$Scripts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Custombiddingalgorithms$Scripts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17667,8 +17855,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17723,11 +17911,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Custombiddingalgorithms$Scripts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Custombiddingalgorithms$Scripts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Custombiddingalgorithms$Scripts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17762,8 +17952,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17894,11 +18086,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Customlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17927,7 +18119,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17981,11 +18176,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Customlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18018,8 +18213,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18110,11 +18305,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Firstandthirdpartyaudiences$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Firstandthirdpartyaudiences$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Firstandthirdpartyaudiences$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18149,8 +18344,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstandthirdpartyaudiences$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18205,11 +18400,13 @@ export namespace displayvideo_v3 { editCustomerMatchMembers( params: Params$Resource$Firstandthirdpartyaudiences$Editcustomermatchmembers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editCustomerMatchMembers( params?: Params$Resource$Firstandthirdpartyaudiences$Editcustomermatchmembers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; editCustomerMatchMembers( params: Params$Resource$Firstandthirdpartyaudiences$Editcustomermatchmembers, options: StreamMethodOptions | BodyResponseCallback, @@ -18244,8 +18441,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstandthirdpartyaudiences$Editcustomermatchmembers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18303,11 +18502,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Firstandthirdpartyaudiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Firstandthirdpartyaudiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Firstandthirdpartyaudiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18342,8 +18541,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstandthirdpartyaudiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18398,11 +18597,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Firstandthirdpartyaudiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Firstandthirdpartyaudiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Firstandthirdpartyaudiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18437,8 +18638,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstandthirdpartyaudiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18495,11 +18698,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Firstandthirdpartyaudiences$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Firstandthirdpartyaudiences$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Firstandthirdpartyaudiences$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18534,8 +18737,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstandthirdpartyaudiences$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18687,11 +18890,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Floodlightgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18720,7 +18923,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18774,11 +18980,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Floodlightgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18807,7 +19013,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18901,11 +19110,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Floodlightgroups$Floodlightactivities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightgroups$Floodlightactivities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightgroups$Floodlightactivities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18936,8 +19145,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Floodlightactivities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18993,11 +19202,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Floodlightgroups$Floodlightactivities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightgroups$Floodlightactivities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Floodlightgroups$Floodlightactivities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19032,8 +19243,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Floodlightactivities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19137,11 +19350,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Googleaudiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Googleaudiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Googleaudiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19170,7 +19383,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Googleaudiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19225,11 +19441,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Googleaudiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Googleaudiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Googleaudiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19264,8 +19480,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Googleaudiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19370,11 +19586,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Guaranteedorders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Guaranteedorders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Guaranteedorders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19403,7 +19619,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19458,11 +19677,13 @@ export namespace displayvideo_v3 { editGuaranteedOrderReadAccessors( params: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editGuaranteedOrderReadAccessors( params?: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; editGuaranteedOrderReadAccessors( params: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options: StreamMethodOptions | BodyResponseCallback, @@ -19497,8 +19718,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19556,11 +19779,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Guaranteedorders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Guaranteedorders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Guaranteedorders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19589,7 +19812,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19643,11 +19869,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Guaranteedorders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Guaranteedorders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Guaranteedorders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19682,8 +19908,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19740,11 +19966,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Guaranteedorders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Guaranteedorders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Guaranteedorders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19773,7 +19999,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19934,11 +20163,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Inventorysourcegroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysourcegroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysourcegroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19971,8 +20200,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20027,11 +20256,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Inventorysourcegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inventorysourcegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inventorysourcegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20060,7 +20289,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20114,11 +20346,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Inventorysourcegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inventorysourcegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inventorysourcegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20151,8 +20383,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20206,11 +20438,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Inventorysourcegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysourcegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Inventorysourcegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20245,8 +20479,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20303,11 +20539,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Inventorysourcegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inventorysourcegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inventorysourcegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20340,8 +20576,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20500,11 +20736,13 @@ export namespace displayvideo_v3 { bulkEdit( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEdit( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -20539,8 +20777,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20598,11 +20838,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20637,8 +20877,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20694,11 +20934,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20727,7 +20967,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20783,11 +21026,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20822,8 +21067,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20971,11 +21218,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Inventorysources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21004,7 +21251,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21059,11 +21309,11 @@ export namespace displayvideo_v3 { editInventorySourceReadWriteAccessors( params: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editInventorySourceReadWriteAccessors( params?: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; editInventorySourceReadWriteAccessors( params: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options: StreamMethodOptions | BodyResponseCallback, @@ -21098,8 +21348,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21155,11 +21405,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Inventorysources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inventorysources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inventorysources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21188,7 +21438,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21242,11 +21495,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Inventorysources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inventorysources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21281,8 +21534,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21339,11 +21592,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Inventorysources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inventorysources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inventorysources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21372,7 +21625,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21528,11 +21784,11 @@ export namespace displayvideo_v3 { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -21567,8 +21823,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21622,11 +21878,11 @@ export namespace displayvideo_v3 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -21659,8 +21915,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21762,11 +22018,13 @@ export namespace displayvideo_v3 { editAssignedTargetingOptions( params: Params$Resource$Partners$Editassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editAssignedTargetingOptions( params?: Params$Resource$Partners$Editassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; editAssignedTargetingOptions( params: Params$Resource$Partners$Editassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -21801,8 +22059,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Editassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21858,11 +22118,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Partners$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21891,7 +22151,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21945,11 +22208,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Partners$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21982,8 +22245,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22080,11 +22343,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Partners$Channels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Channels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Channels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22113,7 +22376,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22168,11 +22434,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Partners$Channels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Channels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Channels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22201,7 +22467,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22255,11 +22524,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Partners$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22292,8 +22561,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22348,11 +22617,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Partners$Channels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Partners$Channels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Partners$Channels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22381,7 +22650,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22525,11 +22797,11 @@ export namespace displayvideo_v3 { bulkEdit( params: Params$Resource$Partners$Channels$Sites$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Partners$Channels$Sites$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params: Params$Resource$Partners$Channels$Sites$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -22564,8 +22836,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22620,11 +22892,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Partners$Channels$Sites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Channels$Sites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Channels$Sites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22653,7 +22925,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22707,11 +22982,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Partners$Channels$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Partners$Channels$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Partners$Channels$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22740,7 +23015,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22795,11 +23073,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Partners$Channels$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Channels$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Channels$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22830,8 +23108,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22885,11 +23163,11 @@ export namespace displayvideo_v3 { replace( params: Params$Resource$Partners$Channels$Sites$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Partners$Channels$Sites$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Partners$Channels$Sites$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -22922,8 +23200,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23100,11 +23378,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23139,8 +23417,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23196,11 +23474,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23229,7 +23507,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23289,11 +23570,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23326,8 +23607,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23387,11 +23668,13 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23426,8 +23709,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23568,11 +23853,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Sdfdownloadtasks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Sdfdownloadtasks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Sdfdownloadtasks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23601,7 +23886,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtasks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23671,11 +23959,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sdfdownloadtasks$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23704,7 +23992,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtasks$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23782,11 +24073,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Targetingtypes$Targetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetingtypes$Targetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetingtypes$Targetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23815,7 +24106,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23870,11 +24164,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Targetingtypes$Targetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetingtypes$Targetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetingtypes$Targetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23909,8 +24203,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23966,11 +24260,11 @@ export namespace displayvideo_v3 { search( params: Params$Resource$Targetingtypes$Targetingoptions$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Targetingtypes$Targetingoptions$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Targetingtypes$Targetingoptions$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -24005,8 +24299,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24125,11 +24419,13 @@ export namespace displayvideo_v3 { bulkEditAssignedUserRoles( params: Params$Resource$Users$Bulkeditassigneduserroles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditAssignedUserRoles( params?: Params$Resource$Users$Bulkeditassigneduserroles, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEditAssignedUserRoles( params: Params$Resource$Users$Bulkeditassigneduserroles, options: StreamMethodOptions | BodyResponseCallback, @@ -24164,8 +24460,10 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Bulkeditassigneduserroles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24221,11 +24519,11 @@ export namespace displayvideo_v3 { create( params: Params$Resource$Users$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -24254,7 +24552,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24305,11 +24606,11 @@ export namespace displayvideo_v3 { delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24338,7 +24639,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24392,11 +24696,11 @@ export namespace displayvideo_v3 { get( params: Params$Resource$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24425,7 +24729,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24479,11 +24786,11 @@ export namespace displayvideo_v3 { list( params: Params$Resource$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24514,8 +24821,8 @@ export namespace displayvideo_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24566,11 +24873,11 @@ export namespace displayvideo_v3 { patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24599,7 +24906,10 @@ export namespace displayvideo_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/displayvideo/v4.ts b/src/apis/displayvideo/v4.ts index c83d24e5a4c..e917170db4d 100644 --- a/src/apis/displayvideo/v4.ts +++ b/src/apis/displayvideo/v4.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -6449,11 +6449,11 @@ export namespace displayvideo_v4 { audit( params: Params$Resource$Advertisers$Audit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; audit( params?: Params$Resource$Advertisers$Audit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; audit( params: Params$Resource$Advertisers$Audit, options: StreamMethodOptions | BodyResponseCallback, @@ -6486,8 +6486,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Audit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6542,11 +6542,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6575,7 +6575,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6627,11 +6630,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Advertisers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6660,7 +6663,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6715,11 +6721,13 @@ export namespace displayvideo_v4 { editAssignedTargetingOptions( params: Params$Resource$Advertisers$Editassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editAssignedTargetingOptions( params?: Params$Resource$Advertisers$Editassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; editAssignedTargetingOptions( params: Params$Resource$Advertisers$Editassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -6754,8 +6762,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Editassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6812,11 +6822,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6845,7 +6855,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6899,11 +6912,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6936,8 +6949,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6988,11 +7001,13 @@ export namespace displayvideo_v4 { listAssignedTargetingOptions( params: Params$Resource$Advertisers$Listassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAssignedTargetingOptions( params?: Params$Resource$Advertisers$Listassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAssignedTargetingOptions( params: Params$Resource$Advertisers$Listassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -7027,8 +7042,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Listassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7085,11 +7102,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7118,7 +7135,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7285,11 +7305,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Adgroupads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Adgroupads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Adgroupads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7318,7 +7338,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroupads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7373,11 +7396,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Adgroupads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Adgroupads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Adgroupads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7410,8 +7433,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroupads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7511,11 +7534,13 @@ export namespace displayvideo_v4 { bulkListAssignedTargetingOptions( params: Params$Resource$Advertisers$Adgroups$Bulklistassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkListAssignedTargetingOptions( params?: Params$Resource$Advertisers$Adgroups$Bulklistassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkListAssignedTargetingOptions( params: Params$Resource$Advertisers$Adgroups$Bulklistassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -7550,8 +7575,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroups$Bulklistassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7609,11 +7636,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Adgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Adgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Adgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7642,7 +7669,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7696,11 +7726,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Adgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Adgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Adgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7733,8 +7763,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7870,11 +7900,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7907,8 +7937,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7974,11 +8004,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8013,8 +8045,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Adgroups$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8130,11 +8164,11 @@ export namespace displayvideo_v4 { upload( params: Params$Resource$Advertisers$Assets$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Advertisers$Assets$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Advertisers$Assets$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -8165,8 +8199,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Assets$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8259,11 +8293,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Campaigns$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Campaigns$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Campaigns$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8292,7 +8326,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8346,11 +8383,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Advertisers$Campaigns$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Campaigns$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Campaigns$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8379,7 +8416,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8434,11 +8474,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Campaigns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Campaigns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Campaigns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8467,7 +8507,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8522,11 +8565,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Campaigns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Campaigns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Campaigns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8559,8 +8602,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8614,11 +8657,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Advertisers$Campaigns$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Campaigns$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Campaigns$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8647,7 +8690,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Campaigns$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8789,11 +8835,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Channels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Channels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Channels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8822,7 +8868,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8877,11 +8926,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Channels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Channels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Channels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8910,7 +8959,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8964,11 +9016,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9001,8 +9053,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9057,11 +9109,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Advertisers$Channels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Channels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Channels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9090,7 +9142,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9234,11 +9289,11 @@ export namespace displayvideo_v4 { bulkEdit( params: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params: Params$Resource$Advertisers$Channels$Sites$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -9273,8 +9328,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9329,11 +9384,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Channels$Sites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Channels$Sites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Channels$Sites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9362,7 +9417,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9417,11 +9475,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Advertisers$Channels$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Channels$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Channels$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9450,7 +9508,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9505,11 +9566,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Channels$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Channels$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Channels$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9540,8 +9601,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9596,11 +9657,11 @@ export namespace displayvideo_v4 { replace( params: Params$Resource$Advertisers$Channels$Sites$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Advertisers$Channels$Sites$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Advertisers$Channels$Sites$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -9633,8 +9694,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Channels$Sites$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9799,11 +9860,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Creatives$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Creatives$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Creatives$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9832,7 +9893,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9886,11 +9950,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Advertisers$Creatives$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Creatives$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Creatives$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9919,7 +9983,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9974,11 +10041,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10007,7 +10074,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10062,11 +10132,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10099,8 +10169,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10154,11 +10224,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Advertisers$Creatives$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Creatives$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Creatives$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10187,7 +10257,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Creatives$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10327,11 +10400,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Insertionorders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Insertionorders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Insertionorders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10360,7 +10433,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10414,11 +10490,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Advertisers$Insertionorders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Insertionorders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Insertionorders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10447,7 +10523,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10502,11 +10581,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Insertionorders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Insertionorders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Insertionorders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10535,7 +10614,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10590,11 +10672,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Insertionorders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Insertionorders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Insertionorders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10629,8 +10711,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10684,11 +10766,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Advertisers$Insertionorders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Insertionorders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Insertionorders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10717,7 +10799,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Insertionorders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10857,11 +10942,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Invoices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Invoices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Invoices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10894,8 +10979,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Invoices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10950,11 +11035,11 @@ export namespace displayvideo_v4 { lookupInvoiceCurrency( params: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupInvoiceCurrency( params?: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookupInvoiceCurrency( params: Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency, options: StreamMethodOptions | BodyResponseCallback, @@ -10989,8 +11074,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Invoices$Lookupinvoicecurrency; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11094,11 +11179,13 @@ export namespace displayvideo_v4 { bulkEditAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditAssignedTargetingOptions( params?: Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEditAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -11133,8 +11220,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Bulkeditassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11192,11 +11281,13 @@ export namespace displayvideo_v4 { bulkListAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkListAssignedTargetingOptions( params?: Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkListAssignedTargetingOptions( params: Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -11231,8 +11322,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Bulklistassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11290,11 +11383,11 @@ export namespace displayvideo_v4 { bulkUpdate( params: Params$Resource$Advertisers$Lineitems$Bulkupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkUpdate( params?: Params$Resource$Advertisers$Lineitems$Bulkupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkUpdate( params: Params$Resource$Advertisers$Lineitems$Bulkupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -11329,8 +11422,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Bulkupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11384,11 +11477,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Lineitems$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Lineitems$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Lineitems$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11417,7 +11510,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11471,11 +11567,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Advertisers$Lineitems$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Lineitems$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Lineitems$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11504,7 +11600,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11559,11 +11658,11 @@ export namespace displayvideo_v4 { duplicate( params: Params$Resource$Advertisers$Lineitems$Duplicate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; duplicate( params?: Params$Resource$Advertisers$Lineitems$Duplicate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; duplicate( params: Params$Resource$Advertisers$Lineitems$Duplicate, options: StreamMethodOptions | BodyResponseCallback, @@ -11598,8 +11697,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Duplicate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11654,11 +11753,11 @@ export namespace displayvideo_v4 { generateDefault( params: Params$Resource$Advertisers$Lineitems$Generatedefault, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateDefault( params?: Params$Resource$Advertisers$Lineitems$Generatedefault, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateDefault( params: Params$Resource$Advertisers$Lineitems$Generatedefault, options: StreamMethodOptions | BodyResponseCallback, @@ -11687,7 +11786,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Generatedefault; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11742,11 +11844,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Lineitems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Lineitems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Lineitems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11775,7 +11877,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11830,11 +11935,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Lineitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Lineitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Lineitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11867,8 +11972,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11922,11 +12027,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Advertisers$Lineitems$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Lineitems$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Lineitems$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11955,7 +12060,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12186,11 +12294,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12225,8 +12333,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12282,11 +12390,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12315,7 +12423,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12381,11 +12492,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12418,8 +12529,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12485,11 +12596,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12524,8 +12637,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Lineitems$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12683,11 +12798,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Locationlists$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Locationlists$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Locationlists$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12716,7 +12831,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12770,11 +12888,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Locationlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Locationlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Locationlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12803,7 +12921,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12858,11 +12979,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Locationlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Locationlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Locationlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12897,8 +13018,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12952,11 +13073,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Advertisers$Locationlists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Locationlists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Locationlists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12985,7 +13106,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13114,11 +13238,13 @@ export namespace displayvideo_v4 { bulkEdit( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEdit( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -13153,8 +13279,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13212,11 +13340,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13245,7 +13373,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13301,11 +13432,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13334,7 +13465,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13394,11 +13528,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Locationlists$Assignedlocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13433,8 +13567,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Locationlists$Assignedlocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13579,11 +13713,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Negativekeywordlists$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Negativekeywordlists$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Negativekeywordlists$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13614,8 +13748,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13669,11 +13803,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Advertisers$Negativekeywordlists$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Negativekeywordlists$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Negativekeywordlists$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13702,7 +13836,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13757,11 +13894,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Negativekeywordlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Negativekeywordlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Negativekeywordlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13792,8 +13929,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13848,11 +13985,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Negativekeywordlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Negativekeywordlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Negativekeywordlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13887,8 +14026,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13944,11 +14085,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Advertisers$Negativekeywordlists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Advertisers$Negativekeywordlists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Advertisers$Negativekeywordlists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13979,8 +14120,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14112,11 +14253,13 @@ export namespace displayvideo_v4 { bulkEdit( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEdit( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -14151,8 +14294,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14210,11 +14355,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14243,7 +14388,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14299,11 +14447,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14332,7 +14480,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14392,11 +14543,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14431,8 +14582,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14490,11 +14641,11 @@ export namespace displayvideo_v4 { replace( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -14529,8 +14680,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Negativekeywordlists$Negativekeywords$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14698,11 +14849,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14737,8 +14888,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14794,11 +14945,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14827,7 +14978,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14891,11 +15045,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14928,8 +15082,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14993,11 +15147,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15032,8 +15188,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Advertisers$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15172,11 +15330,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Combinedaudiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Combinedaudiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Combinedaudiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15205,7 +15363,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Combinedaudiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15259,11 +15420,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Combinedaudiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Combinedaudiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Combinedaudiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15298,8 +15459,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Combinedaudiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15410,11 +15571,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Custombiddingalgorithms$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Custombiddingalgorithms$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Custombiddingalgorithms$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15447,8 +15608,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15503,11 +15664,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Custombiddingalgorithms$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Custombiddingalgorithms$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Custombiddingalgorithms$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15540,8 +15701,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15596,11 +15757,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Custombiddingalgorithms$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Custombiddingalgorithms$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Custombiddingalgorithms$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15635,8 +15798,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15693,11 +15858,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Custombiddingalgorithms$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Custombiddingalgorithms$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Custombiddingalgorithms$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15730,8 +15895,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15786,11 +15951,11 @@ export namespace displayvideo_v4 { uploadRules( params: Params$Resource$Custombiddingalgorithms$Uploadrules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; uploadRules( params?: Params$Resource$Custombiddingalgorithms$Uploadrules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; uploadRules( params: Params$Resource$Custombiddingalgorithms$Uploadrules, options: StreamMethodOptions | BodyResponseCallback, @@ -15825,8 +15990,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Uploadrules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15883,11 +16048,11 @@ export namespace displayvideo_v4 { uploadScript( params: Params$Resource$Custombiddingalgorithms$Uploadscript, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; uploadScript( params?: Params$Resource$Custombiddingalgorithms$Uploadscript, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; uploadScript( params: Params$Resource$Custombiddingalgorithms$Uploadscript, options: StreamMethodOptions | BodyResponseCallback, @@ -15922,8 +16087,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Uploadscript; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16081,11 +16246,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Custombiddingalgorithms$Rules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Custombiddingalgorithms$Rules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Custombiddingalgorithms$Rules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16120,8 +16285,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Rules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16176,11 +16341,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Custombiddingalgorithms$Rules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Custombiddingalgorithms$Rules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Custombiddingalgorithms$Rules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16215,8 +16380,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Rules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16277,11 +16442,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Custombiddingalgorithms$Rules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Custombiddingalgorithms$Rules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Custombiddingalgorithms$Rules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16316,8 +16483,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Rules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16448,11 +16617,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Custombiddingalgorithms$Scripts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Custombiddingalgorithms$Scripts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Custombiddingalgorithms$Scripts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16483,8 +16652,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16539,11 +16708,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Custombiddingalgorithms$Scripts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Custombiddingalgorithms$Scripts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Custombiddingalgorithms$Scripts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16574,8 +16743,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16630,11 +16799,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Custombiddingalgorithms$Scripts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Custombiddingalgorithms$Scripts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Custombiddingalgorithms$Scripts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16669,8 +16840,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Custombiddingalgorithms$Scripts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16801,11 +16974,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Customlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16834,7 +17007,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16888,11 +17064,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Customlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16925,8 +17101,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17017,11 +17193,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Firstpartyandpartneraudiences$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Firstpartyandpartneraudiences$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Firstpartyandpartneraudiences$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17056,8 +17232,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstpartyandpartneraudiences$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17114,11 +17290,13 @@ export namespace displayvideo_v4 { editCustomerMatchMembers( params: Params$Resource$Firstpartyandpartneraudiences$Editcustomermatchmembers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editCustomerMatchMembers( params?: Params$Resource$Firstpartyandpartneraudiences$Editcustomermatchmembers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; editCustomerMatchMembers( params: Params$Resource$Firstpartyandpartneraudiences$Editcustomermatchmembers, options: StreamMethodOptions | BodyResponseCallback, @@ -17153,8 +17331,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstpartyandpartneraudiences$Editcustomermatchmembers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17212,11 +17392,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Firstpartyandpartneraudiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Firstpartyandpartneraudiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Firstpartyandpartneraudiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17251,8 +17431,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstpartyandpartneraudiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17309,11 +17489,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Firstpartyandpartneraudiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Firstpartyandpartneraudiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Firstpartyandpartneraudiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17348,8 +17530,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstpartyandpartneraudiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17406,11 +17590,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Firstpartyandpartneraudiences$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Firstpartyandpartneraudiences$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Firstpartyandpartneraudiences$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17445,8 +17629,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Firstpartyandpartneraudiences$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17600,11 +17784,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Floodlightgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17633,7 +17817,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17687,11 +17874,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Floodlightgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Floodlightgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Floodlightgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17720,7 +17907,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17814,11 +18004,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Floodlightgroups$Floodlightactivities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Floodlightgroups$Floodlightactivities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Floodlightgroups$Floodlightactivities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17849,8 +18039,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Floodlightactivities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17906,11 +18096,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Floodlightgroups$Floodlightactivities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Floodlightgroups$Floodlightactivities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Floodlightgroups$Floodlightactivities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17945,8 +18137,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Floodlightgroups$Floodlightactivities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18050,11 +18244,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Googleaudiences$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Googleaudiences$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Googleaudiences$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18083,7 +18277,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Googleaudiences$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18138,11 +18335,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Googleaudiences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Googleaudiences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Googleaudiences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18177,8 +18374,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Googleaudiences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18283,11 +18480,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Guaranteedorders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Guaranteedorders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Guaranteedorders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18316,7 +18513,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18371,11 +18571,13 @@ export namespace displayvideo_v4 { editGuaranteedOrderReadAccessors( params: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editGuaranteedOrderReadAccessors( params?: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; editGuaranteedOrderReadAccessors( params: Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors, options: StreamMethodOptions | BodyResponseCallback, @@ -18410,8 +18612,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Editguaranteedorderreadaccessors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18469,11 +18673,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Guaranteedorders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Guaranteedorders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Guaranteedorders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18502,7 +18706,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18556,11 +18763,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Guaranteedorders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Guaranteedorders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Guaranteedorders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18595,8 +18802,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18653,11 +18860,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Guaranteedorders$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Guaranteedorders$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Guaranteedorders$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18686,7 +18893,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Guaranteedorders$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18847,11 +19057,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Inventorysourcegroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysourcegroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysourcegroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18884,8 +19094,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18940,11 +19150,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Inventorysourcegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inventorysourcegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inventorysourcegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18973,7 +19183,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19027,11 +19240,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Inventorysourcegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inventorysourcegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inventorysourcegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19064,8 +19277,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19119,11 +19332,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Inventorysourcegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysourcegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Inventorysourcegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19158,8 +19373,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19216,11 +19433,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Inventorysourcegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inventorysourcegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inventorysourcegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19253,8 +19470,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19413,11 +19630,13 @@ export namespace displayvideo_v4 { bulkEdit( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEdit( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -19452,8 +19671,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19511,11 +19732,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19550,8 +19771,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19607,11 +19828,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19640,7 +19861,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19696,11 +19920,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Inventorysourcegroups$Assignedinventorysources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19735,8 +19961,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysourcegroups$Assignedinventorysources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19884,11 +20112,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Inventorysources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Inventorysources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Inventorysources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19917,7 +20145,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19972,11 +20203,11 @@ export namespace displayvideo_v4 { editInventorySourceReadWriteAccessors( params: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editInventorySourceReadWriteAccessors( params?: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; editInventorySourceReadWriteAccessors( params: Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors, options: StreamMethodOptions | BodyResponseCallback, @@ -20011,8 +20242,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Editinventorysourcereadwriteaccessors; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20068,11 +20299,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Inventorysources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Inventorysources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Inventorysources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20101,7 +20332,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20155,11 +20389,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Inventorysources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Inventorysources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Inventorysources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20194,8 +20428,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20252,11 +20486,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Inventorysources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Inventorysources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Inventorysources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20285,7 +20519,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Inventorysources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20441,11 +20678,11 @@ export namespace displayvideo_v4 { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -20480,8 +20717,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20535,11 +20772,11 @@ export namespace displayvideo_v4 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -20572,8 +20809,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20675,11 +20912,13 @@ export namespace displayvideo_v4 { editAssignedTargetingOptions( params: Params$Resource$Partners$Editassignedtargetingoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; editAssignedTargetingOptions( params?: Params$Resource$Partners$Editassignedtargetingoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; editAssignedTargetingOptions( params: Params$Resource$Partners$Editassignedtargetingoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -20714,8 +20953,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Editassignedtargetingoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20771,11 +21012,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Partners$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20804,7 +21045,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20858,11 +21102,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Partners$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20895,8 +21139,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20993,11 +21237,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Partners$Channels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Channels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Channels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21026,7 +21270,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21081,11 +21328,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Partners$Channels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Channels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Channels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21114,7 +21361,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21168,11 +21418,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Partners$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21205,8 +21455,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21261,11 +21511,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Partners$Channels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Partners$Channels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Partners$Channels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21294,7 +21544,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21438,11 +21691,11 @@ export namespace displayvideo_v4 { bulkEdit( params: Params$Resource$Partners$Channels$Sites$Bulkedit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params?: Params$Resource$Partners$Channels$Sites$Bulkedit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkEdit( params: Params$Resource$Partners$Channels$Sites$Bulkedit, options: StreamMethodOptions | BodyResponseCallback, @@ -21477,8 +21730,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Bulkedit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21533,11 +21786,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Partners$Channels$Sites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Channels$Sites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Channels$Sites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21566,7 +21819,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21620,11 +21876,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Partners$Channels$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Partners$Channels$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Partners$Channels$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21653,7 +21909,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21708,11 +21967,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Partners$Channels$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Channels$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Partners$Channels$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21743,8 +22002,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21798,11 +22057,11 @@ export namespace displayvideo_v4 { replace( params: Params$Resource$Partners$Channels$Sites$Replace, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replace( params?: Params$Resource$Partners$Channels$Sites$Replace, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replace( params: Params$Resource$Partners$Channels$Sites$Replace, options: StreamMethodOptions | BodyResponseCallback, @@ -21835,8 +22094,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Channels$Sites$Replace; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22013,11 +22272,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22052,8 +22311,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22109,11 +22368,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22142,7 +22401,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22202,11 +22464,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22239,8 +22501,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22300,11 +22562,13 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22339,8 +22603,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Targetingtypes$Assignedtargetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22481,11 +22747,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Sdfdownloadtasks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Sdfdownloadtasks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Sdfdownloadtasks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22514,7 +22780,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtasks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22584,11 +22853,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sdfdownloadtasks$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sdfdownloadtasks$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22617,7 +22886,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfdownloadtasks$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22693,11 +22965,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Sdfuploadtasks$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sdfuploadtasks$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sdfuploadtasks$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22726,7 +22998,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sdfuploadtasks$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22804,11 +23079,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Targetingtypes$Targetingoptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Targetingtypes$Targetingoptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Targetingtypes$Targetingoptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22837,7 +23112,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22892,11 +23170,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Targetingtypes$Targetingoptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Targetingtypes$Targetingoptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Targetingtypes$Targetingoptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22931,8 +23209,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22988,11 +23266,11 @@ export namespace displayvideo_v4 { search( params: Params$Resource$Targetingtypes$Targetingoptions$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Targetingtypes$Targetingoptions$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Targetingtypes$Targetingoptions$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -23027,8 +23305,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Targetingtypes$Targetingoptions$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23147,11 +23425,13 @@ export namespace displayvideo_v4 { bulkEditAssignedUserRoles( params: Params$Resource$Users$Bulkeditassigneduserroles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkEditAssignedUserRoles( params?: Params$Resource$Users$Bulkeditassigneduserroles, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; bulkEditAssignedUserRoles( params: Params$Resource$Users$Bulkeditassigneduserroles, options: StreamMethodOptions | BodyResponseCallback, @@ -23186,8 +23466,10 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Bulkeditassigneduserroles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23243,11 +23525,11 @@ export namespace displayvideo_v4 { create( params: Params$Resource$Users$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23276,7 +23558,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23327,11 +23612,11 @@ export namespace displayvideo_v4 { delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23360,7 +23645,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23414,11 +23702,11 @@ export namespace displayvideo_v4 { get( params: Params$Resource$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23447,7 +23735,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23501,11 +23792,11 @@ export namespace displayvideo_v4 { list( params: Params$Resource$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23536,8 +23827,8 @@ export namespace displayvideo_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23588,11 +23879,11 @@ export namespace displayvideo_v4 { patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23621,7 +23912,10 @@ export namespace displayvideo_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dlp/index.ts b/src/apis/dlp/index.ts index 0fbda3dd2cc..83db0c1a773 100644 --- a/src/apis/dlp/index.ts +++ b/src/apis/dlp/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/dlp/package.json b/src/apis/dlp/package.json index 4ef963483d2..777b1d49826 100644 --- a/src/apis/dlp/package.json +++ b/src/apis/dlp/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/dlp/v2.ts b/src/apis/dlp/v2.ts index 4b5f13aa6b5..c053e5090d0 100644 --- a/src/apis/dlp/v2.ts +++ b/src/apis/dlp/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1556,7 +1556,7 @@ export namespace dlp_v2 { timeZone?: Schema$GooglePrivacyDlpV2TimeZone; } /** - * Create a de-identified copy of the requested table or files. A TransformationDetail will be created for each transformation. If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table. Compatible with: Inspect + * Create a de-identified copy of a storage bucket. Only compatible with Cloud Storage buckets. A TransformationDetail will be created for each transformation. Compatible with: Inspection of Cloud Storage */ export interface Schema$GooglePrivacyDlpV2Deidentify { /** @@ -1572,7 +1572,7 @@ export namespace dlp_v2 { */ transformationConfig?: Schema$GooglePrivacyDlpV2TransformationConfig; /** - * Config for storing transformation details. This is separate from the de-identified content, and contains metadata about the successful transformations and/or failures that occurred while de-identifying. This needs to be set in order for users to access information about the status of each transformation (see TransformationDetails message for more information about what is noted). + * Config for storing transformation details. This field specifies the configuration for storing detailed metadata about each transformation performed during a de-identification process. The metadata is stored separately from the de-identified content itself and provides a granular record of both successful transformations and any failures that occurred. Enabling this configuration is essential for users who need to access comprehensive information about the status, outcome, and specifics of each transformation. The details are captured in the TransformationDetails message for each operation. Key use cases: * **Auditing and compliance** * Provides a verifiable audit trail of de-identification activities, which is crucial for meeting regulatory requirements and internal data governance policies. * Logs what data was transformed, what transformations were applied, when they occurred, and their success status. This helps demonstrate accountability and due diligence in protecting sensitive data. * **Troubleshooting and debugging** * Offers detailed error messages and context if a transformation fails. This information is useful for diagnosing and resolving issues in the de-identification pipeline. * Helps pinpoint the exact location and nature of failures, speeding up the debugging process. * **Process verification and quality assurance** * Allows users to confirm that de-identification rules and transformations were applied correctly and consistently across the dataset as intended. * Helps in verifying the effectiveness of the chosen de-identification strategies. * **Data lineage and impact analysis** * Creates a record of how data elements were modified, contributing to data lineage. This is useful for understanding the provenance of de-identified data. * Aids in assessing the potential impact of de-identification choices on downstream analytical processes or data usability. * **Reporting and operational insights** * You can analyze the metadata stored in a queryable BigQuery table to generate reports on transformation success rates, common error types, processing volumes (e.g., transformedBytes), and the types of transformations applied. * These insights can inform optimization of de-identification configurations and resource planning. To take advantage of these benefits, set this configuration. The stored details include a description of the transformation, success or error codes, error messages, the number of bytes transformed, the location of the transformed content, and identifiers for the job and source data. */ transformationDetailsStorageConfig?: Schema$GooglePrivacyDlpV2TransformationDetailsStorageConfig; } @@ -5486,11 +5486,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Infotypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Infotypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Infotypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5525,8 +5527,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Infotypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5614,11 +5618,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Locations$Infotypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Infotypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Locations$Infotypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5653,8 +5659,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Infotypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5759,11 +5767,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Organizations$Deidentifytemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Deidentifytemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Deidentifytemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5798,8 +5808,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Deidentifytemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5856,11 +5868,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Organizations$Deidentifytemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Deidentifytemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Deidentifytemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5891,8 +5903,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Deidentifytemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5944,11 +5956,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Deidentifytemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Deidentifytemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Deidentifytemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5983,8 +5997,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Deidentifytemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6038,11 +6054,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Deidentifytemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Deidentifytemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Deidentifytemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6077,8 +6095,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Deidentifytemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6135,11 +6155,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Organizations$Deidentifytemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Deidentifytemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Deidentifytemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6174,8 +6196,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Deidentifytemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6298,11 +6322,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Organizations$Inspecttemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Inspecttemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Inspecttemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6337,8 +6363,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Inspecttemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6395,11 +6423,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Organizations$Inspecttemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Inspecttemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Inspecttemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6430,8 +6458,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Inspecttemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6483,11 +6511,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Inspecttemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Inspecttemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Inspecttemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6522,8 +6552,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Inspecttemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6577,11 +6609,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Inspecttemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Inspecttemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Inspecttemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6616,8 +6650,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Inspecttemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6674,11 +6710,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Organizations$Inspecttemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Inspecttemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Inspecttemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6713,8 +6751,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Inspecttemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6884,11 +6924,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Locations$Columndataprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Columndataprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Columndataprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6923,8 +6965,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Columndataprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6979,11 +7023,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Columndataprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Columndataprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Columndataprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7018,8 +7064,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Columndataprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7115,11 +7163,11 @@ export namespace dlp_v2 { create( params: Params$Resource$Organizations$Locations$Connections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Connections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Connections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7154,8 +7202,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Connections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7213,11 +7261,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Organizations$Locations$Connections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Connections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Connections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7248,8 +7296,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Connections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7302,11 +7350,11 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Locations$Connections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Connections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Connections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7341,8 +7389,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Connections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7396,11 +7444,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7435,8 +7485,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7493,11 +7545,11 @@ export namespace dlp_v2 { patch( params: Params$Resource$Organizations$Locations$Connections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Connections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Connections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7532,8 +7584,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Connections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7588,11 +7640,13 @@ export namespace dlp_v2 { search( params: Params$Resource$Organizations$Locations$Connections$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Organizations$Locations$Connections$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Organizations$Locations$Connections$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -7627,8 +7681,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Connections$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7770,11 +7826,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Organizations$Locations$Deidentifytemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Deidentifytemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Locations$Deidentifytemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7809,8 +7867,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Deidentifytemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7868,11 +7928,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Organizations$Locations$Deidentifytemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Deidentifytemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Deidentifytemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7903,8 +7963,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Deidentifytemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7957,11 +8017,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Locations$Deidentifytemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Deidentifytemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Deidentifytemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7996,8 +8058,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Deidentifytemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8052,11 +8116,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Deidentifytemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Deidentifytemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Deidentifytemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8091,8 +8157,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Deidentifytemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8150,11 +8218,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Organizations$Locations$Deidentifytemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Deidentifytemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Locations$Deidentifytemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8189,8 +8259,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Deidentifytemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8314,11 +8386,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Organizations$Locations$Discoveryconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Discoveryconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Locations$Discoveryconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8353,8 +8427,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Discoveryconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8412,11 +8488,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Organizations$Locations$Discoveryconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Discoveryconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Discoveryconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8447,8 +8523,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Discoveryconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8501,11 +8577,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Locations$Discoveryconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Discoveryconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Discoveryconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8540,8 +8618,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Discoveryconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8596,11 +8676,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Discoveryconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Discoveryconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Discoveryconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8635,8 +8717,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Discoveryconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8694,11 +8778,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Organizations$Locations$Discoveryconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Discoveryconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Locations$Discoveryconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8733,8 +8819,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Discoveryconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8854,11 +8942,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Dlpjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Dlpjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Dlpjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8893,8 +8983,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Dlpjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8990,11 +9082,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Organizations$Locations$Filestoredataprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Filestoredataprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Filestoredataprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9025,8 +9117,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Filestoredataprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9079,11 +9171,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Locations$Filestoredataprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Filestoredataprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Filestoredataprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9118,8 +9212,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Filestoredataprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9174,11 +9270,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Filestoredataprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Filestoredataprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Filestoredataprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9213,8 +9311,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Filestoredataprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9317,11 +9417,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Infotypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Infotypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Infotypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9356,8 +9458,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Infotypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9441,11 +9545,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Organizations$Locations$Inspecttemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Inspecttemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Locations$Inspecttemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9480,8 +9586,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Inspecttemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9539,11 +9647,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Organizations$Locations$Inspecttemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Inspecttemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Inspecttemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9574,8 +9682,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Inspecttemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9628,11 +9736,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Locations$Inspecttemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Inspecttemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Inspecttemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9667,8 +9777,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Inspecttemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9723,11 +9835,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Inspecttemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Inspecttemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Inspecttemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9762,8 +9876,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Inspecttemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9821,11 +9937,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Organizations$Locations$Inspecttemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Inspecttemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Locations$Inspecttemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9860,8 +9978,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Inspecttemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9985,11 +10105,11 @@ export namespace dlp_v2 { create( params: Params$Resource$Organizations$Locations$Jobtriggers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Jobtriggers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Jobtriggers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10024,8 +10144,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Jobtriggers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10083,11 +10203,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Organizations$Locations$Jobtriggers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Jobtriggers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Jobtriggers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10118,8 +10238,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Jobtriggers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10172,11 +10292,11 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Locations$Jobtriggers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Jobtriggers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Jobtriggers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10211,8 +10331,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Jobtriggers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10266,11 +10386,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Jobtriggers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Jobtriggers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Jobtriggers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10305,8 +10427,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Jobtriggers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10363,11 +10487,11 @@ export namespace dlp_v2 { patch( params: Params$Resource$Organizations$Locations$Jobtriggers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Jobtriggers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Jobtriggers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10402,8 +10526,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Jobtriggers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10535,11 +10659,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Locations$Projectdataprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Projectdataprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Projectdataprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10574,8 +10700,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Projectdataprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10630,11 +10758,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Projectdataprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Projectdataprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Projectdataprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10669,8 +10799,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Projectdataprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10766,11 +10898,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Organizations$Locations$Storedinfotypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Storedinfotypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Locations$Storedinfotypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10805,8 +10939,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Storedinfotypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10864,11 +11000,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Organizations$Locations$Storedinfotypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Storedinfotypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Storedinfotypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10899,8 +11035,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Storedinfotypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10953,11 +11089,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Locations$Storedinfotypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Storedinfotypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Storedinfotypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10992,8 +11130,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Storedinfotypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11048,11 +11188,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Storedinfotypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Storedinfotypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Storedinfotypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11087,8 +11229,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Storedinfotypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11146,11 +11290,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Organizations$Locations$Storedinfotypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Storedinfotypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Locations$Storedinfotypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11185,8 +11331,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Storedinfotypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11310,11 +11458,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Organizations$Locations$Tabledataprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Tabledataprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Tabledataprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11345,8 +11493,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Tabledataprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11399,11 +11547,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Locations$Tabledataprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Tabledataprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Tabledataprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11438,8 +11588,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Tabledataprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11494,11 +11646,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Locations$Tabledataprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Tabledataprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Tabledataprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11533,8 +11687,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Tabledataprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11637,11 +11793,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Organizations$Storedinfotypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Storedinfotypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Storedinfotypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11676,8 +11834,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Storedinfotypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11734,11 +11894,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Organizations$Storedinfotypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Storedinfotypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Storedinfotypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11769,8 +11929,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Storedinfotypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11822,11 +11982,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Organizations$Storedinfotypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Storedinfotypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Storedinfotypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11861,8 +12023,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Storedinfotypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11916,11 +12080,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Organizations$Storedinfotypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Storedinfotypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Storedinfotypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11955,8 +12121,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Storedinfotypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12013,11 +12181,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Organizations$Storedinfotypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Storedinfotypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Storedinfotypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12052,8 +12222,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Storedinfotypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12205,11 +12377,13 @@ export namespace dlp_v2 { deidentify( params: Params$Resource$Projects$Content$Deidentify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params?: Params$Resource$Projects$Content$Deidentify, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; deidentify( params: Params$Resource$Projects$Content$Deidentify, options: StreamMethodOptions | BodyResponseCallback, @@ -12244,8 +12418,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Content$Deidentify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12302,11 +12478,13 @@ export namespace dlp_v2 { inspect( params: Params$Resource$Projects$Content$Inspect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; inspect( params?: Params$Resource$Projects$Content$Inspect, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; inspect( params: Params$Resource$Projects$Content$Inspect, options: StreamMethodOptions | BodyResponseCallback, @@ -12341,8 +12519,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Content$Inspect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12399,11 +12579,13 @@ export namespace dlp_v2 { reidentify( params: Params$Resource$Projects$Content$Reidentify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reidentify( params?: Params$Resource$Projects$Content$Reidentify, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; reidentify( params: Params$Resource$Projects$Content$Reidentify, options: StreamMethodOptions | BodyResponseCallback, @@ -12438,8 +12620,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Content$Reidentify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12540,11 +12724,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Deidentifytemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Deidentifytemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Deidentifytemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12579,8 +12765,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deidentifytemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12637,11 +12825,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Deidentifytemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Deidentifytemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Deidentifytemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12672,8 +12860,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deidentifytemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12725,11 +12913,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Deidentifytemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Deidentifytemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Deidentifytemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12764,8 +12954,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deidentifytemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12819,11 +13011,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Deidentifytemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Deidentifytemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Deidentifytemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12858,8 +13052,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deidentifytemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12916,11 +13112,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Projects$Deidentifytemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Deidentifytemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Deidentifytemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12955,8 +13153,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deidentifytemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13079,11 +13279,11 @@ export namespace dlp_v2 { cancel( params: Params$Resource$Projects$Dlpjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Dlpjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Dlpjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -13114,8 +13314,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Dlpjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13167,11 +13367,11 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Dlpjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Dlpjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Dlpjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13206,8 +13406,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Dlpjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13262,11 +13462,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Dlpjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Dlpjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Dlpjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13297,8 +13497,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Dlpjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13350,11 +13550,11 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Dlpjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Dlpjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Dlpjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13387,8 +13587,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Dlpjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13440,11 +13640,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Dlpjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Dlpjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Dlpjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13479,8 +13681,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Dlpjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13614,11 +13818,13 @@ export namespace dlp_v2 { redact( params: Params$Resource$Projects$Image$Redact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; redact( params?: Params$Resource$Projects$Image$Redact, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; redact( params: Params$Resource$Projects$Image$Redact, options: StreamMethodOptions | BodyResponseCallback, @@ -13653,8 +13859,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Image$Redact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13731,11 +13939,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Inspecttemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Inspecttemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Inspecttemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13770,8 +13980,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Inspecttemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13828,11 +14040,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Inspecttemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Inspecttemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Inspecttemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13863,8 +14075,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Inspecttemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13916,11 +14128,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Inspecttemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Inspecttemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Inspecttemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13955,8 +14169,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Inspecttemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14010,11 +14226,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Inspecttemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Inspecttemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Inspecttemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14049,8 +14267,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Inspecttemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14107,11 +14327,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Projects$Inspecttemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Inspecttemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Inspecttemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14146,8 +14368,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Inspecttemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14270,11 +14494,11 @@ export namespace dlp_v2 { activate( params: Params$Resource$Projects$Jobtriggers$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Projects$Jobtriggers$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Projects$Jobtriggers$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -14309,8 +14533,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobtriggers$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14365,11 +14589,11 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Jobtriggers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Jobtriggers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Jobtriggers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14404,8 +14628,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobtriggers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14462,11 +14686,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Jobtriggers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Jobtriggers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Jobtriggers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14497,8 +14721,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobtriggers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14550,11 +14774,11 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Jobtriggers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Jobtriggers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Jobtriggers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14589,8 +14813,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobtriggers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14644,11 +14868,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Jobtriggers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Jobtriggers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Jobtriggers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14683,8 +14909,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobtriggers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14741,11 +14969,11 @@ export namespace dlp_v2 { patch( params: Params$Resource$Projects$Jobtriggers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Jobtriggers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Jobtriggers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14780,8 +15008,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobtriggers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14974,11 +15202,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Locations$Columndataprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Columndataprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Columndataprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15013,8 +15243,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Columndataprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15069,11 +15301,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Columndataprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Columndataprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Columndataprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15108,8 +15342,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Columndataprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15205,11 +15441,11 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15244,8 +15480,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15302,11 +15538,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15337,8 +15573,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15390,11 +15626,11 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15429,8 +15665,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15484,11 +15720,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15523,8 +15761,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15581,11 +15821,11 @@ export namespace dlp_v2 { patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15620,8 +15860,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15675,11 +15915,13 @@ export namespace dlp_v2 { search( params: Params$Resource$Projects$Locations$Connections$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Connections$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Connections$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -15714,8 +15956,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15856,11 +16100,13 @@ export namespace dlp_v2 { deidentify( params: Params$Resource$Projects$Locations$Content$Deidentify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params?: Params$Resource$Projects$Locations$Content$Deidentify, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; deidentify( params: Params$Resource$Projects$Locations$Content$Deidentify, options: StreamMethodOptions | BodyResponseCallback, @@ -15895,8 +16141,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Content$Deidentify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15953,11 +16201,13 @@ export namespace dlp_v2 { inspect( params: Params$Resource$Projects$Locations$Content$Inspect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; inspect( params?: Params$Resource$Projects$Locations$Content$Inspect, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; inspect( params: Params$Resource$Projects$Locations$Content$Inspect, options: StreamMethodOptions | BodyResponseCallback, @@ -15992,8 +16242,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Content$Inspect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16050,11 +16302,13 @@ export namespace dlp_v2 { reidentify( params: Params$Resource$Projects$Locations$Content$Reidentify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reidentify( params?: Params$Resource$Projects$Locations$Content$Reidentify, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; reidentify( params: Params$Resource$Projects$Locations$Content$Reidentify, options: StreamMethodOptions | BodyResponseCallback, @@ -16089,8 +16343,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Content$Reidentify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16191,11 +16447,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Locations$Deidentifytemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Deidentifytemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Deidentifytemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16230,8 +16488,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deidentifytemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16289,11 +16549,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Locations$Deidentifytemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Deidentifytemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Deidentifytemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16324,8 +16584,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deidentifytemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16378,11 +16638,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Locations$Deidentifytemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Deidentifytemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Deidentifytemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16417,8 +16679,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deidentifytemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16473,11 +16737,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Deidentifytemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Deidentifytemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Deidentifytemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16512,8 +16778,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deidentifytemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16571,11 +16839,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Projects$Locations$Deidentifytemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Deidentifytemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Deidentifytemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16610,8 +16880,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Deidentifytemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16735,11 +17007,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Locations$Discoveryconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Discoveryconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Discoveryconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16774,8 +17048,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16833,11 +17109,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Locations$Discoveryconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Discoveryconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Discoveryconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16868,8 +17144,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16922,11 +17198,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Locations$Discoveryconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Discoveryconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Discoveryconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16961,8 +17239,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17016,11 +17296,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Discoveryconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Discoveryconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Discoveryconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17055,8 +17337,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17113,11 +17397,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Projects$Locations$Discoveryconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Discoveryconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Discoveryconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17152,8 +17438,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17273,11 +17561,11 @@ export namespace dlp_v2 { cancel( params: Params$Resource$Projects$Locations$Dlpjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Dlpjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Dlpjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -17308,8 +17596,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dlpjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17361,11 +17649,11 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Locations$Dlpjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Dlpjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Dlpjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17400,8 +17688,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dlpjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17456,11 +17744,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Locations$Dlpjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Dlpjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Dlpjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17491,8 +17779,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dlpjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17544,11 +17832,11 @@ export namespace dlp_v2 { finish( params: Params$Resource$Projects$Locations$Dlpjobs$Finish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; finish( params?: Params$Resource$Projects$Locations$Dlpjobs$Finish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; finish( params: Params$Resource$Projects$Locations$Dlpjobs$Finish, options: StreamMethodOptions | BodyResponseCallback, @@ -17579,8 +17867,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dlpjobs$Finish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17632,11 +17920,11 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Locations$Dlpjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Dlpjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Dlpjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17669,8 +17957,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dlpjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17722,11 +18010,13 @@ export namespace dlp_v2 { hybridInspect( params: Params$Resource$Projects$Locations$Dlpjobs$Hybridinspect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; hybridInspect( params?: Params$Resource$Projects$Locations$Dlpjobs$Hybridinspect, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; hybridInspect( params: Params$Resource$Projects$Locations$Dlpjobs$Hybridinspect, options: StreamMethodOptions | BodyResponseCallback, @@ -17761,8 +18051,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dlpjobs$Hybridinspect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17819,11 +18111,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Dlpjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Dlpjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Dlpjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17858,8 +18152,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dlpjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18017,11 +18313,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Locations$Filestoredataprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Filestoredataprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Filestoredataprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18052,8 +18348,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Filestoredataprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18106,11 +18402,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Locations$Filestoredataprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Filestoredataprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Filestoredataprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18145,8 +18443,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Filestoredataprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18201,11 +18501,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Filestoredataprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Filestoredataprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Filestoredataprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18240,8 +18542,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Filestoredataprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18344,11 +18648,13 @@ export namespace dlp_v2 { redact( params: Params$Resource$Projects$Locations$Image$Redact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; redact( params?: Params$Resource$Projects$Locations$Image$Redact, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; redact( params: Params$Resource$Projects$Locations$Image$Redact, options: StreamMethodOptions | BodyResponseCallback, @@ -18383,8 +18689,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Image$Redact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18461,11 +18769,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Infotypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Infotypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Infotypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18500,8 +18810,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Infotypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18585,11 +18897,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Locations$Inspecttemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Inspecttemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Inspecttemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18624,8 +18938,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Inspecttemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18683,11 +18999,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Locations$Inspecttemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Inspecttemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Inspecttemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18718,8 +19034,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Inspecttemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18772,11 +19088,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Locations$Inspecttemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Inspecttemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Inspecttemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18811,8 +19129,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Inspecttemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18866,11 +19186,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Inspecttemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Inspecttemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Inspecttemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18905,8 +19227,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Inspecttemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18963,11 +19287,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Projects$Locations$Inspecttemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Inspecttemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Inspecttemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19002,8 +19328,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Inspecttemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19127,11 +19455,11 @@ export namespace dlp_v2 { activate( params: Params$Resource$Projects$Locations$Jobtriggers$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Projects$Locations$Jobtriggers$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Projects$Locations$Jobtriggers$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -19166,8 +19494,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtriggers$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19222,11 +19550,11 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Locations$Jobtriggers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Jobtriggers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Jobtriggers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19261,8 +19589,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtriggers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19319,11 +19647,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Locations$Jobtriggers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Jobtriggers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Jobtriggers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19354,8 +19682,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtriggers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19407,11 +19735,11 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Locations$Jobtriggers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobtriggers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobtriggers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19446,8 +19774,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtriggers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19501,11 +19829,13 @@ export namespace dlp_v2 { hybridInspect( params: Params$Resource$Projects$Locations$Jobtriggers$Hybridinspect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; hybridInspect( params?: Params$Resource$Projects$Locations$Jobtriggers$Hybridinspect, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; hybridInspect( params: Params$Resource$Projects$Locations$Jobtriggers$Hybridinspect, options: StreamMethodOptions | BodyResponseCallback, @@ -19540,8 +19870,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtriggers$Hybridinspect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19599,11 +19931,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Jobtriggers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobtriggers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Jobtriggers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19638,8 +19972,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtriggers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19696,11 +20032,11 @@ export namespace dlp_v2 { patch( params: Params$Resource$Projects$Locations$Jobtriggers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Jobtriggers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Jobtriggers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19735,8 +20071,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtriggers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19891,11 +20227,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Locations$Projectdataprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Projectdataprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Projectdataprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19930,8 +20268,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Projectdataprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19986,11 +20326,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Projectdataprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Projectdataprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Projectdataprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20025,8 +20367,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Projectdataprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20122,11 +20466,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Locations$Storedinfotypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Storedinfotypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Storedinfotypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20161,8 +20507,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storedinfotypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20220,11 +20568,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Locations$Storedinfotypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Storedinfotypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Storedinfotypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20255,8 +20603,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storedinfotypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20309,11 +20657,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Locations$Storedinfotypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Storedinfotypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Storedinfotypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20348,8 +20698,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storedinfotypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20403,11 +20755,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Storedinfotypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Storedinfotypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Storedinfotypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20442,8 +20796,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storedinfotypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20500,11 +20856,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Projects$Locations$Storedinfotypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Storedinfotypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Storedinfotypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20539,8 +20897,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storedinfotypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20663,11 +21023,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Locations$Tabledataprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tabledataprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tabledataprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20698,8 +21058,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tabledataprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20752,11 +21112,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Locations$Tabledataprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tabledataprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Tabledataprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20791,8 +21153,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tabledataprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20846,11 +21210,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Locations$Tabledataprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tabledataprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tabledataprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20885,8 +21251,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tabledataprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20989,11 +21357,13 @@ export namespace dlp_v2 { create( params: Params$Resource$Projects$Storedinfotypes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Storedinfotypes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Storedinfotypes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21028,8 +21398,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Storedinfotypes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21086,11 +21458,11 @@ export namespace dlp_v2 { delete( params: Params$Resource$Projects$Storedinfotypes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Storedinfotypes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Storedinfotypes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21121,8 +21493,8 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Storedinfotypes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21174,11 +21546,13 @@ export namespace dlp_v2 { get( params: Params$Resource$Projects$Storedinfotypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Storedinfotypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Storedinfotypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21213,8 +21587,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Storedinfotypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21268,11 +21644,13 @@ export namespace dlp_v2 { list( params: Params$Resource$Projects$Storedinfotypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Storedinfotypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Storedinfotypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21307,8 +21685,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Storedinfotypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21365,11 +21745,13 @@ export namespace dlp_v2 { patch( params: Params$Resource$Projects$Storedinfotypes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Storedinfotypes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Storedinfotypes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21404,8 +21786,10 @@ export namespace dlp_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Storedinfotypes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dns/index.ts b/src/apis/dns/index.ts index 98e77c7689c..793169ec4a9 100644 --- a/src/apis/dns/index.ts +++ b/src/apis/dns/index.ts @@ -63,7 +63,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/dns/package.json b/src/apis/dns/package.json index dc21933e9f4..6df412aea18 100644 --- a/src/apis/dns/package.json +++ b/src/apis/dns/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/dns/v1.ts b/src/apis/dns/v1.ts index 0eae6a06563..b9a09032ccc 100644 --- a/src/apis/dns/v1.ts +++ b/src/apis/dns/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1210,11 +1210,11 @@ export namespace dns_v1 { create( params: Params$Resource$Changes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Changes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Changes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1243,7 +1243,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1297,11 +1300,11 @@ export namespace dns_v1 { get( params: Params$Resource$Changes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Changes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Changes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1330,7 +1333,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1384,11 +1390,11 @@ export namespace dns_v1 { list( params: Params$Resource$Changes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Changes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Changes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1419,8 +1425,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1545,11 +1551,11 @@ export namespace dns_v1 { get( params: Params$Resource$Dnskeys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Dnskeys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Dnskeys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1578,7 +1584,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dnskeys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1632,11 +1641,11 @@ export namespace dns_v1 { list( params: Params$Resource$Dnskeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Dnskeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Dnskeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1667,8 +1676,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dnskeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1774,11 +1783,11 @@ export namespace dns_v1 { get( params: Params$Resource$Managedzoneoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Managedzoneoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Managedzoneoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1807,7 +1816,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzoneoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1862,11 +1874,13 @@ export namespace dns_v1 { list( params: Params$Resource$Managedzoneoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedzoneoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Managedzoneoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1901,8 +1915,10 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzoneoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2009,11 +2025,11 @@ export namespace dns_v1 { create( params: Params$Resource$Managedzones$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Managedzones$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Managedzones$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2042,7 +2058,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2097,11 +2116,11 @@ export namespace dns_v1 { delete( params: Params$Resource$Managedzones$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Managedzones$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Managedzones$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2128,7 +2147,10 @@ export namespace dns_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2182,11 +2204,11 @@ export namespace dns_v1 { get( params: Params$Resource$Managedzones$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Managedzones$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Managedzones$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2215,7 +2237,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2268,11 +2293,11 @@ export namespace dns_v1 { getIamPolicy( params: Params$Resource$Managedzones$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Managedzones$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Managedzones$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2305,8 +2330,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2361,11 +2386,11 @@ export namespace dns_v1 { list( params: Params$Resource$Managedzones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedzones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Managedzones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2398,8 +2423,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2454,11 +2479,11 @@ export namespace dns_v1 { patch( params: Params$Resource$Managedzones$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Managedzones$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Managedzones$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2487,7 +2512,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2541,11 +2569,11 @@ export namespace dns_v1 { setIamPolicy( params: Params$Resource$Managedzones$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Managedzones$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Managedzones$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2578,8 +2606,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2634,11 +2662,13 @@ export namespace dns_v1 { testIamPermissions( params: Params$Resource$Managedzones$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Managedzones$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Managedzones$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2673,8 +2703,10 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2731,11 +2763,11 @@ export namespace dns_v1 { update( params: Params$Resource$Managedzones$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Managedzones$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Managedzones$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2764,7 +2796,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2966,11 +3001,11 @@ export namespace dns_v1 { create( params: Params$Resource$Policies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Policies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Policies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2999,7 +3034,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3053,11 +3091,11 @@ export namespace dns_v1 { delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Policies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3084,7 +3122,10 @@ export namespace dns_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3137,11 +3178,11 @@ export namespace dns_v1 { get( params: Params$Resource$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3170,7 +3211,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3223,11 +3267,11 @@ export namespace dns_v1 { list( params: Params$Resource$Policies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Policies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Policies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3260,8 +3304,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3315,11 +3359,11 @@ export namespace dns_v1 { patch( params: Params$Resource$Policies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Policies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Policies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3352,8 +3396,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3406,11 +3450,11 @@ export namespace dns_v1 { update( params: Params$Resource$Policies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Policies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Policies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3443,8 +3487,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3600,11 +3644,11 @@ export namespace dns_v1 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3633,7 +3677,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3705,11 +3752,11 @@ export namespace dns_v1 { create( params: Params$Resource$Resourcerecordsets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Resourcerecordsets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Resourcerecordsets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3740,8 +3787,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3796,11 +3843,13 @@ export namespace dns_v1 { delete( params: Params$Resource$Resourcerecordsets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Resourcerecordsets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; delete( params: Params$Resource$Resourcerecordsets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3835,8 +3884,10 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3893,11 +3944,11 @@ export namespace dns_v1 { get( params: Params$Resource$Resourcerecordsets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resourcerecordsets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resourcerecordsets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3928,8 +3979,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3984,11 +4035,11 @@ export namespace dns_v1 { list( params: Params$Resource$Resourcerecordsets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resourcerecordsets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resourcerecordsets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4023,8 +4074,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4081,11 +4132,11 @@ export namespace dns_v1 { patch( params: Params$Resource$Resourcerecordsets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Resourcerecordsets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Resourcerecordsets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4116,8 +4167,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4301,11 +4352,11 @@ export namespace dns_v1 { create( params: Params$Resource$Responsepolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Responsepolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Responsepolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4334,7 +4385,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4388,11 +4442,11 @@ export namespace dns_v1 { delete( params: Params$Resource$Responsepolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Responsepolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Responsepolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4419,7 +4473,10 @@ export namespace dns_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4474,11 +4531,11 @@ export namespace dns_v1 { get( params: Params$Resource$Responsepolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Responsepolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Responsepolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4507,7 +4564,10 @@ export namespace dns_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4562,11 +4622,11 @@ export namespace dns_v1 { list( params: Params$Resource$Responsepolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Responsepolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Responsepolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4601,8 +4661,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4658,11 +4718,11 @@ export namespace dns_v1 { patch( params: Params$Resource$Responsepolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Responsepolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Responsepolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4697,8 +4757,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4755,11 +4815,11 @@ export namespace dns_v1 { update( params: Params$Resource$Responsepolicies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Responsepolicies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Responsepolicies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4794,8 +4854,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4961,11 +5021,11 @@ export namespace dns_v1 { create( params: Params$Resource$Responsepolicyrules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Responsepolicyrules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Responsepolicyrules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4996,8 +5056,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5052,11 +5112,11 @@ export namespace dns_v1 { delete( params: Params$Resource$Responsepolicyrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Responsepolicyrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Responsepolicyrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5083,7 +5143,10 @@ export namespace dns_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5138,11 +5201,11 @@ export namespace dns_v1 { get( params: Params$Resource$Responsepolicyrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Responsepolicyrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Responsepolicyrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5173,8 +5236,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5229,11 +5292,11 @@ export namespace dns_v1 { list( params: Params$Resource$Responsepolicyrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Responsepolicyrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Responsepolicyrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5268,8 +5331,8 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5326,11 +5389,13 @@ export namespace dns_v1 { patch( params: Params$Resource$Responsepolicyrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Responsepolicyrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Responsepolicyrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5365,8 +5430,10 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5423,11 +5490,13 @@ export namespace dns_v1 { update( params: Params$Resource$Responsepolicyrules$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Responsepolicyrules$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; update( params: Params$Resource$Responsepolicyrules$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5462,8 +5531,10 @@ export namespace dns_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dns/v1beta2.ts b/src/apis/dns/v1beta2.ts index d89737ad869..ad69b39c889 100644 --- a/src/apis/dns/v1beta2.ts +++ b/src/apis/dns/v1beta2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1211,11 +1211,11 @@ export namespace dns_v1beta2 { create( params: Params$Resource$Changes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Changes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Changes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1244,7 +1244,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1298,11 +1301,11 @@ export namespace dns_v1beta2 { get( params: Params$Resource$Changes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Changes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Changes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1331,7 +1334,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1385,11 +1391,11 @@ export namespace dns_v1beta2 { list( params: Params$Resource$Changes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Changes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Changes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1420,8 +1426,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1546,11 +1552,11 @@ export namespace dns_v1beta2 { get( params: Params$Resource$Dnskeys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Dnskeys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Dnskeys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1579,7 +1585,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dnskeys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1633,11 +1642,11 @@ export namespace dns_v1beta2 { list( params: Params$Resource$Dnskeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Dnskeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Dnskeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1668,8 +1677,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dnskeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1775,11 +1784,11 @@ export namespace dns_v1beta2 { get( params: Params$Resource$Managedzoneoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Managedzoneoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Managedzoneoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1808,7 +1817,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzoneoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1863,11 +1875,13 @@ export namespace dns_v1beta2 { list( params: Params$Resource$Managedzoneoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedzoneoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Managedzoneoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1902,8 +1916,10 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzoneoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2010,11 +2026,11 @@ export namespace dns_v1beta2 { create( params: Params$Resource$Managedzones$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Managedzones$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Managedzones$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2043,7 +2059,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2097,11 +2116,11 @@ export namespace dns_v1beta2 { delete( params: Params$Resource$Managedzones$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Managedzones$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Managedzones$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2128,7 +2147,10 @@ export namespace dns_v1beta2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2183,11 +2205,11 @@ export namespace dns_v1beta2 { get( params: Params$Resource$Managedzones$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Managedzones$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Managedzones$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2216,7 +2238,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2270,11 +2295,11 @@ export namespace dns_v1beta2 { getIamPolicy( params: Params$Resource$Managedzones$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Managedzones$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Managedzones$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2307,8 +2332,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2363,11 +2388,11 @@ export namespace dns_v1beta2 { list( params: Params$Resource$Managedzones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedzones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Managedzones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2400,8 +2425,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2455,11 +2480,11 @@ export namespace dns_v1beta2 { patch( params: Params$Resource$Managedzones$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Managedzones$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Managedzones$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2488,7 +2513,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2543,11 +2571,11 @@ export namespace dns_v1beta2 { setIamPolicy( params: Params$Resource$Managedzones$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Managedzones$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Managedzones$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2580,8 +2608,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2636,11 +2664,13 @@ export namespace dns_v1beta2 { testIamPermissions( params: Params$Resource$Managedzones$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Managedzones$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Managedzones$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2675,8 +2705,10 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2732,11 +2764,11 @@ export namespace dns_v1beta2 { update( params: Params$Resource$Managedzones$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Managedzones$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Managedzones$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2765,7 +2797,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2968,11 +3003,11 @@ export namespace dns_v1beta2 { create( params: Params$Resource$Policies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Policies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Policies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3001,7 +3036,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3055,11 +3093,11 @@ export namespace dns_v1beta2 { delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Policies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3086,7 +3124,10 @@ export namespace dns_v1beta2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3139,11 +3180,11 @@ export namespace dns_v1beta2 { get( params: Params$Resource$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3172,7 +3213,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3225,11 +3269,11 @@ export namespace dns_v1beta2 { list( params: Params$Resource$Policies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Policies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Policies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3262,8 +3306,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3317,11 +3361,11 @@ export namespace dns_v1beta2 { patch( params: Params$Resource$Policies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Policies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Policies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3354,8 +3398,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3408,11 +3452,11 @@ export namespace dns_v1beta2 { update( params: Params$Resource$Policies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Policies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Policies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3445,8 +3489,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3602,11 +3646,11 @@ export namespace dns_v1beta2 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3635,7 +3679,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3707,11 +3754,11 @@ export namespace dns_v1beta2 { create( params: Params$Resource$Resourcerecordsets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Resourcerecordsets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Resourcerecordsets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3742,8 +3789,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3798,11 +3845,11 @@ export namespace dns_v1beta2 { delete( params: Params$Resource$Resourcerecordsets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Resourcerecordsets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Resourcerecordsets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3829,7 +3876,10 @@ export namespace dns_v1beta2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3884,11 +3934,11 @@ export namespace dns_v1beta2 { get( params: Params$Resource$Resourcerecordsets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resourcerecordsets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resourcerecordsets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3919,8 +3969,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3975,11 +4025,11 @@ export namespace dns_v1beta2 { list( params: Params$Resource$Resourcerecordsets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resourcerecordsets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resourcerecordsets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4014,8 +4064,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4072,11 +4122,11 @@ export namespace dns_v1beta2 { patch( params: Params$Resource$Resourcerecordsets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Resourcerecordsets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Resourcerecordsets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4107,8 +4157,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4292,11 +4342,11 @@ export namespace dns_v1beta2 { create( params: Params$Resource$Responsepolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Responsepolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Responsepolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4325,7 +4375,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4379,11 +4432,11 @@ export namespace dns_v1beta2 { delete( params: Params$Resource$Responsepolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Responsepolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Responsepolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4410,7 +4463,10 @@ export namespace dns_v1beta2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4465,11 +4521,11 @@ export namespace dns_v1beta2 { get( params: Params$Resource$Responsepolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Responsepolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Responsepolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4498,7 +4554,10 @@ export namespace dns_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4553,11 +4612,11 @@ export namespace dns_v1beta2 { list( params: Params$Resource$Responsepolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Responsepolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Responsepolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4592,8 +4651,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4649,11 +4708,11 @@ export namespace dns_v1beta2 { patch( params: Params$Resource$Responsepolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Responsepolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Responsepolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4688,8 +4747,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4746,11 +4805,11 @@ export namespace dns_v1beta2 { update( params: Params$Resource$Responsepolicies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Responsepolicies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Responsepolicies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4785,8 +4844,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4952,11 +5011,11 @@ export namespace dns_v1beta2 { create( params: Params$Resource$Responsepolicyrules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Responsepolicyrules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Responsepolicyrules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4987,8 +5046,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5043,11 +5102,11 @@ export namespace dns_v1beta2 { delete( params: Params$Resource$Responsepolicyrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Responsepolicyrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Responsepolicyrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5074,7 +5133,10 @@ export namespace dns_v1beta2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5129,11 +5191,11 @@ export namespace dns_v1beta2 { get( params: Params$Resource$Responsepolicyrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Responsepolicyrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Responsepolicyrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5164,8 +5226,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5220,11 +5282,11 @@ export namespace dns_v1beta2 { list( params: Params$Resource$Responsepolicyrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Responsepolicyrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Responsepolicyrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5259,8 +5321,8 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5317,11 +5379,13 @@ export namespace dns_v1beta2 { patch( params: Params$Resource$Responsepolicyrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Responsepolicyrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Responsepolicyrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5356,8 +5420,10 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5414,11 +5480,13 @@ export namespace dns_v1beta2 { update( params: Params$Resource$Responsepolicyrules$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Responsepolicyrules$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; update( params: Params$Resource$Responsepolicyrules$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5453,8 +5521,10 @@ export namespace dns_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dns/v2.ts b/src/apis/dns/v2.ts index 6ddebe31464..b9d1954df4f 100644 --- a/src/apis/dns/v2.ts +++ b/src/apis/dns/v2.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1015,11 +1015,11 @@ export namespace dns_v2 { create( params: Params$Resource$Changes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Changes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Changes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1048,7 +1048,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1162,11 +1162,11 @@ export namespace dns_v2 { get( params: Params$Resource$Changes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Changes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Changes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1195,7 +1195,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1309,11 +1309,11 @@ export namespace dns_v2 { list( params: Params$Resource$Changes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Changes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Changes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1344,8 +1344,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1548,11 +1548,11 @@ export namespace dns_v2 { get( params: Params$Resource$Dnskeys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Dnskeys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Dnskeys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1581,7 +1581,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dnskeys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1694,11 +1694,11 @@ export namespace dns_v2 { list( params: Params$Resource$Dnskeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Dnskeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Dnskeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1729,8 +1729,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dnskeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1905,11 +1905,11 @@ export namespace dns_v2 { get( params: Params$Resource$Managedzoneoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Managedzoneoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Managedzoneoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1938,7 +1938,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzoneoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2052,11 +2052,11 @@ export namespace dns_v2 { list( params: Params$Resource$Managedzoneoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedzoneoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Managedzoneoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2091,8 +2091,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzoneoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2295,11 +2295,11 @@ export namespace dns_v2 { create( params: Params$Resource$Managedzones$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Managedzones$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Managedzones$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2328,7 +2328,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2428,11 +2428,11 @@ export namespace dns_v2 { delete( params: Params$Resource$Managedzones$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Managedzones$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Managedzones$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2459,7 +2459,7 @@ export namespace dns_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2582,11 +2582,11 @@ export namespace dns_v2 { get( params: Params$Resource$Managedzones$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Managedzones$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Managedzones$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2615,7 +2615,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2726,11 +2726,11 @@ export namespace dns_v2 { list( params: Params$Resource$Managedzones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedzones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Managedzones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2763,8 +2763,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2900,11 +2900,11 @@ export namespace dns_v2 { patch( params: Params$Resource$Managedzones$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Managedzones$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Managedzones$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2933,7 +2933,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3069,11 +3069,11 @@ export namespace dns_v2 { update( params: Params$Resource$Managedzones$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Managedzones$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Managedzones$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3102,7 +3102,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3363,11 +3363,11 @@ export namespace dns_v2 { create( params: Params$Resource$Policies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Policies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Policies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3396,7 +3396,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3495,11 +3495,11 @@ export namespace dns_v2 { delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Policies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3526,7 +3526,7 @@ export namespace dns_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3639,11 +3639,11 @@ export namespace dns_v2 { get( params: Params$Resource$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3672,7 +3672,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3781,11 +3781,11 @@ export namespace dns_v2 { list( params: Params$Resource$Policies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Policies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Policies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3818,8 +3818,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3939,11 +3939,11 @@ export namespace dns_v2 { patch( params: Params$Resource$Policies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Policies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Policies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3976,8 +3976,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4097,11 +4097,11 @@ export namespace dns_v2 { update( params: Params$Resource$Policies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Policies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Policies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4134,8 +4134,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4369,11 +4369,11 @@ export namespace dns_v2 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4402,7 +4402,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4547,11 +4547,11 @@ export namespace dns_v2 { create( params: Params$Resource$Resourcerecordsets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Resourcerecordsets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Resourcerecordsets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4582,8 +4582,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4687,11 +4687,11 @@ export namespace dns_v2 { delete( params: Params$Resource$Resourcerecordsets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Resourcerecordsets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Resourcerecordsets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4718,7 +4718,7 @@ export namespace dns_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4835,11 +4835,11 @@ export namespace dns_v2 { get( params: Params$Resource$Resourcerecordsets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Resourcerecordsets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Resourcerecordsets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4870,8 +4870,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4987,11 +4987,11 @@ export namespace dns_v2 { list( params: Params$Resource$Resourcerecordsets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resourcerecordsets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resourcerecordsets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5026,8 +5026,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5158,11 +5158,11 @@ export namespace dns_v2 { patch( params: Params$Resource$Resourcerecordsets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Resourcerecordsets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Resourcerecordsets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5193,8 +5193,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5464,11 +5464,11 @@ export namespace dns_v2 { create( params: Params$Resource$Responsepolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Responsepolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Responsepolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5497,7 +5497,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5597,11 +5597,11 @@ export namespace dns_v2 { delete( params: Params$Resource$Responsepolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Responsepolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Responsepolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5628,7 +5628,7 @@ export namespace dns_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5740,11 +5740,11 @@ export namespace dns_v2 { get( params: Params$Resource$Responsepolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Responsepolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Responsepolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5773,7 +5773,7 @@ export namespace dns_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5882,11 +5882,11 @@ export namespace dns_v2 { list( params: Params$Resource$Responsepolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Responsepolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Responsepolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5921,8 +5921,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6043,11 +6043,11 @@ export namespace dns_v2 { patch( params: Params$Resource$Responsepolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Responsepolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Responsepolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6082,8 +6082,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6204,11 +6204,11 @@ export namespace dns_v2 { update( params: Params$Resource$Responsepolicies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Responsepolicies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Responsepolicies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6243,8 +6243,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6500,11 +6500,11 @@ export namespace dns_v2 { create( params: Params$Resource$Responsepolicyrules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Responsepolicyrules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Responsepolicyrules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6535,8 +6535,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6638,11 +6638,11 @@ export namespace dns_v2 { delete( params: Params$Resource$Responsepolicyrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Responsepolicyrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Responsepolicyrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6669,7 +6669,7 @@ export namespace dns_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6792,11 +6792,11 @@ export namespace dns_v2 { get( params: Params$Resource$Responsepolicyrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Responsepolicyrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Responsepolicyrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6827,8 +6827,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6949,11 +6949,11 @@ export namespace dns_v2 { list( params: Params$Resource$Responsepolicyrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Responsepolicyrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Responsepolicyrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6988,8 +6988,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7111,11 +7111,11 @@ export namespace dns_v2 { patch( params: Params$Resource$Responsepolicyrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Responsepolicyrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Responsepolicyrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7150,8 +7150,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7283,11 +7283,11 @@ export namespace dns_v2 { update( params: Params$Resource$Responsepolicyrules$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Responsepolicyrules$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Responsepolicyrules$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7322,8 +7322,8 @@ export namespace dns_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Responsepolicyrules$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/dns/v2beta1.ts b/src/apis/dns/v2beta1.ts index ac4b40466bc..c01cd224ffc 100644 --- a/src/apis/dns/v2beta1.ts +++ b/src/apis/dns/v2beta1.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -799,11 +799,11 @@ export namespace dns_v2beta1 { create( params: Params$Resource$Changes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Changes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Changes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -832,7 +832,7 @@ export namespace dns_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -953,11 +953,11 @@ export namespace dns_v2beta1 { get( params: Params$Resource$Changes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Changes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Changes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -986,7 +986,7 @@ export namespace dns_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1109,11 +1109,11 @@ export namespace dns_v2beta1 { list( params: Params$Resource$Changes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Changes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Changes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1144,8 +1144,8 @@ export namespace dns_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1345,11 +1345,11 @@ export namespace dns_v2beta1 { get( params: Params$Resource$Dnskeys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Dnskeys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Dnskeys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1378,7 +1378,7 @@ export namespace dns_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dnskeys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1500,11 +1500,11 @@ export namespace dns_v2beta1 { list( params: Params$Resource$Dnskeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Dnskeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Dnskeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1535,8 +1535,8 @@ export namespace dns_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Dnskeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1708,11 +1708,11 @@ export namespace dns_v2beta1 { get( params: Params$Resource$Managedzoneoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Managedzoneoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Managedzoneoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1741,7 +1741,7 @@ export namespace dns_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzoneoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1861,11 +1861,11 @@ export namespace dns_v2beta1 { list( params: Params$Resource$Managedzoneoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedzoneoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Managedzoneoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1900,8 +1900,8 @@ export namespace dns_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzoneoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2096,11 +2096,11 @@ export namespace dns_v2beta1 { create( params: Params$Resource$Managedzones$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Managedzones$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Managedzones$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2129,7 +2129,7 @@ export namespace dns_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2233,11 +2233,11 @@ export namespace dns_v2beta1 { delete( params: Params$Resource$Managedzones$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Managedzones$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Managedzones$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2264,7 +2264,7 @@ export namespace dns_v2beta1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2390,11 +2390,11 @@ export namespace dns_v2beta1 { get( params: Params$Resource$Managedzones$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Managedzones$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Managedzones$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2423,7 +2423,7 @@ export namespace dns_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2539,11 +2539,11 @@ export namespace dns_v2beta1 { list( params: Params$Resource$Managedzones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedzones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Managedzones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2576,8 +2576,8 @@ export namespace dns_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2716,11 +2716,11 @@ export namespace dns_v2beta1 { patch( params: Params$Resource$Managedzones$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Managedzones$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Managedzones$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2749,7 +2749,7 @@ export namespace dns_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2889,11 +2889,11 @@ export namespace dns_v2beta1 { update( params: Params$Resource$Managedzones$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Managedzones$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Managedzones$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2922,7 +2922,7 @@ export namespace dns_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedzones$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3160,11 +3160,11 @@ export namespace dns_v2beta1 { create( params: Params$Resource$Policies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Policies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Policies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3193,7 +3193,7 @@ export namespace dns_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3293,11 +3293,11 @@ export namespace dns_v2beta1 { delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Policies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3324,7 +3324,7 @@ export namespace dns_v2beta1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3435,11 +3435,11 @@ export namespace dns_v2beta1 { get( params: Params$Resource$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3468,7 +3468,7 @@ export namespace dns_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3575,11 +3575,11 @@ export namespace dns_v2beta1 { list( params: Params$Resource$Policies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Policies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Policies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3612,8 +3612,8 @@ export namespace dns_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3735,11 +3735,11 @@ export namespace dns_v2beta1 { patch( params: Params$Resource$Policies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Policies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Policies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3772,8 +3772,8 @@ export namespace dns_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3894,11 +3894,11 @@ export namespace dns_v2beta1 { update( params: Params$Resource$Policies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Policies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Policies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3931,8 +3931,8 @@ export namespace dns_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4144,11 +4144,11 @@ export namespace dns_v2beta1 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4177,7 +4177,7 @@ export namespace dns_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4320,11 +4320,11 @@ export namespace dns_v2beta1 { list( params: Params$Resource$Resourcerecordsets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Resourcerecordsets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Resourcerecordsets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4359,8 +4359,8 @@ export namespace dns_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resourcerecordsets$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/docs/index.ts b/src/apis/docs/index.ts index 6c2f6ef4f6f..e1b8674cfb5 100644 --- a/src/apis/docs/index.ts +++ b/src/apis/docs/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/docs/package.json b/src/apis/docs/package.json index 26fecb85d28..03a09a44b1d 100644 --- a/src/apis/docs/package.json +++ b/src/apis/docs/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/docs/v1.ts b/src/apis/docs/v1.ts index fd8323c0381..1bb40a9124f 100644 --- a/src/apis/docs/v1.ts +++ b/src/apis/docs/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3513,11 +3513,11 @@ export namespace docs_v1 { batchUpdate( params: Params$Resource$Documents$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Documents$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Documents$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -3552,8 +3552,8 @@ export namespace docs_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3608,11 +3608,11 @@ export namespace docs_v1 { create( params: Params$Resource$Documents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Documents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Documents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3641,7 +3641,10 @@ export namespace docs_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3692,11 +3695,11 @@ export namespace docs_v1 { get( params: Params$Resource$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3725,7 +3728,10 @@ export namespace docs_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/documentai/index.ts b/src/apis/documentai/index.ts index f4aa0629791..004a7770454 100644 --- a/src/apis/documentai/index.ts +++ b/src/apis/documentai/index.ts @@ -65,7 +65,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/documentai/package.json b/src/apis/documentai/package.json index e035cf3e1a6..0f58fcef8ca 100644 --- a/src/apis/documentai/package.json +++ b/src/apis/documentai/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/documentai/v1.ts b/src/apis/documentai/v1.ts index 51e6701a814..e46259f1a67 100644 --- a/src/apis/documentai/v1.ts +++ b/src/apis/documentai/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3954,11 +3954,11 @@ export namespace documentai_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3989,8 +3989,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4080,11 +4080,13 @@ export namespace documentai_v1 { fetchProcessorTypes( params: Params$Resource$Projects$Locations$Fetchprocessortypes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchProcessorTypes( params?: Params$Resource$Projects$Locations$Fetchprocessortypes, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchProcessorTypes( params: Params$Resource$Projects$Locations$Fetchprocessortypes, options: StreamMethodOptions | BodyResponseCallback, @@ -4119,8 +4121,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fetchprocessortypes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4177,11 +4181,11 @@ export namespace documentai_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4216,8 +4220,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4269,11 +4273,13 @@ export namespace documentai_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4308,8 +4314,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4411,11 +4419,11 @@ export namespace documentai_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4446,8 +4454,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4499,11 +4507,11 @@ export namespace documentai_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4538,8 +4546,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4591,11 +4599,13 @@ export namespace documentai_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4630,8 +4640,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4736,11 +4748,11 @@ export namespace documentai_v1 { batchProcess( params: Params$Resource$Projects$Locations$Processors$Batchprocess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params?: Params$Resource$Projects$Locations$Processors$Batchprocess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params: Params$Resource$Projects$Locations$Processors$Batchprocess, options: StreamMethodOptions | BodyResponseCallback, @@ -4775,8 +4787,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Batchprocess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4832,11 +4844,13 @@ export namespace documentai_v1 { create( params: Params$Resource$Projects$Locations$Processors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Processors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Processors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4871,8 +4885,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4929,11 +4945,11 @@ export namespace documentai_v1 { delete( params: Params$Resource$Projects$Locations$Processors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Processors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Processors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4968,8 +4984,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5021,11 +5037,11 @@ export namespace documentai_v1 { disable( params: Params$Resource$Projects$Locations$Processors$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Locations$Processors$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Locations$Processors$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -5060,8 +5076,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5116,11 +5132,11 @@ export namespace documentai_v1 { enable( params: Params$Resource$Projects$Locations$Processors$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Locations$Processors$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Locations$Processors$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -5155,8 +5171,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5208,11 +5224,13 @@ export namespace documentai_v1 { get( params: Params$Resource$Projects$Locations$Processors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Processors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Processors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5247,8 +5265,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5302,11 +5322,13 @@ export namespace documentai_v1 { list( params: Params$Resource$Projects$Locations$Processors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Processors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Processors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5341,8 +5363,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5399,11 +5423,13 @@ export namespace documentai_v1 { process( params: Params$Resource$Projects$Locations$Processors$Process, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; process( params?: Params$Resource$Projects$Locations$Processors$Process, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; process( params: Params$Resource$Projects$Locations$Processors$Process, options: StreamMethodOptions | BodyResponseCallback, @@ -5438,8 +5464,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Process; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5496,11 +5524,11 @@ export namespace documentai_v1 { setDefaultProcessorVersion( params: Params$Resource$Projects$Locations$Processors$Setdefaultprocessorversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultProcessorVersion( params?: Params$Resource$Projects$Locations$Processors$Setdefaultprocessorversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultProcessorVersion( params: Params$Resource$Projects$Locations$Processors$Setdefaultprocessorversion, options: StreamMethodOptions | BodyResponseCallback, @@ -5535,8 +5563,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Setdefaultprocessorversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5700,11 +5728,11 @@ export namespace documentai_v1 { reviewDocument( params: Params$Resource$Projects$Locations$Processors$Humanreviewconfig$Reviewdocument, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reviewDocument( params?: Params$Resource$Projects$Locations$Processors$Humanreviewconfig$Reviewdocument, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reviewDocument( params: Params$Resource$Projects$Locations$Processors$Humanreviewconfig$Reviewdocument, options: StreamMethodOptions | BodyResponseCallback, @@ -5739,8 +5767,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Humanreviewconfig$Reviewdocument; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5821,11 +5849,11 @@ export namespace documentai_v1 { batchProcess( params: Params$Resource$Projects$Locations$Processors$Processorversions$Batchprocess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Batchprocess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params: Params$Resource$Projects$Locations$Processors$Processorversions$Batchprocess, options: StreamMethodOptions | BodyResponseCallback, @@ -5860,8 +5888,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Batchprocess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5917,11 +5945,11 @@ export namespace documentai_v1 { delete( params: Params$Resource$Projects$Locations$Processors$Processorversions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Processors$Processorversions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5956,8 +5984,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6010,11 +6038,11 @@ export namespace documentai_v1 { deploy( params: Params$Resource$Projects$Locations$Processors$Processorversions$Deploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Deploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params: Params$Resource$Projects$Locations$Processors$Processorversions$Deploy, options: StreamMethodOptions | BodyResponseCallback, @@ -6049,8 +6077,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Deploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6103,11 +6131,11 @@ export namespace documentai_v1 { evaluateProcessorVersion( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluateprocessorversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evaluateProcessorVersion( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluateprocessorversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; evaluateProcessorVersion( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluateprocessorversion, options: StreamMethodOptions | BodyResponseCallback, @@ -6142,8 +6170,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Evaluateprocessorversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6198,11 +6226,13 @@ export namespace documentai_v1 { get( params: Params$Resource$Projects$Locations$Processors$Processorversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Processors$Processorversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6237,8 +6267,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6293,11 +6325,13 @@ export namespace documentai_v1 { list( params: Params$Resource$Projects$Locations$Processors$Processorversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Processors$Processorversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Processors$Processorversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6332,8 +6366,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6391,11 +6427,13 @@ export namespace documentai_v1 { process( params: Params$Resource$Projects$Locations$Processors$Processorversions$Process, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; process( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Process, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; process( params: Params$Resource$Projects$Locations$Processors$Processorversions$Process, options: StreamMethodOptions | BodyResponseCallback, @@ -6430,8 +6468,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Process; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6489,11 +6529,11 @@ export namespace documentai_v1 { train( params: Params$Resource$Projects$Locations$Processors$Processorversions$Train, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; train( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Train, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; train( params: Params$Resource$Projects$Locations$Processors$Processorversions$Train, options: StreamMethodOptions | BodyResponseCallback, @@ -6528,8 +6568,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Train; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6585,11 +6625,11 @@ export namespace documentai_v1 { undeploy( params: Params$Resource$Projects$Locations$Processors$Processorversions$Undeploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undeploy( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Undeploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undeploy( params: Params$Resource$Projects$Locations$Processors$Processorversions$Undeploy, options: StreamMethodOptions | BodyResponseCallback, @@ -6624,8 +6664,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Undeploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6790,11 +6830,13 @@ export namespace documentai_v1 { get( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6829,8 +6871,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6885,11 +6929,13 @@ export namespace documentai_v1 { list( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6924,8 +6970,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7013,11 +7061,13 @@ export namespace documentai_v1 { get( params: Params$Resource$Projects$Locations$Processortypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Processortypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Processortypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7052,8 +7102,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processortypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7107,11 +7159,13 @@ export namespace documentai_v1 { list( params: Params$Resource$Projects$Locations$Processortypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Processortypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Processortypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7146,8 +7200,10 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processortypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7234,11 +7290,11 @@ export namespace documentai_v1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7273,8 +7329,8 @@ export namespace documentai_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/documentai/v1beta2.ts b/src/apis/documentai/v1beta2.ts index cff0e18a4e3..4c8c752949d 100644 --- a/src/apis/documentai/v1beta2.ts +++ b/src/apis/documentai/v1beta2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -4390,11 +4390,11 @@ export namespace documentai_v1beta2 { batchProcess( params: Params$Resource$Projects$Documents$Batchprocess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params?: Params$Resource$Projects$Documents$Batchprocess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params: Params$Resource$Projects$Documents$Batchprocess, options: StreamMethodOptions | BodyResponseCallback, @@ -4429,8 +4429,8 @@ export namespace documentai_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Documents$Batchprocess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4484,11 +4484,11 @@ export namespace documentai_v1beta2 { process( params: Params$Resource$Projects$Documents$Process, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; process( params?: Params$Resource$Projects$Documents$Process, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; process( params: Params$Resource$Projects$Documents$Process, options: StreamMethodOptions | BodyResponseCallback, @@ -4523,8 +4523,8 @@ export namespace documentai_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Documents$Process; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4626,11 +4626,11 @@ export namespace documentai_v1beta2 { batchProcess( params: Params$Resource$Projects$Locations$Documents$Batchprocess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params?: Params$Resource$Projects$Locations$Documents$Batchprocess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params: Params$Resource$Projects$Locations$Documents$Batchprocess, options: StreamMethodOptions | BodyResponseCallback, @@ -4665,8 +4665,8 @@ export namespace documentai_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Batchprocess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4721,11 +4721,11 @@ export namespace documentai_v1beta2 { process( params: Params$Resource$Projects$Locations$Documents$Process, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; process( params?: Params$Resource$Projects$Locations$Documents$Process, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; process( params: Params$Resource$Projects$Locations$Documents$Process, options: StreamMethodOptions | BodyResponseCallback, @@ -4760,8 +4760,8 @@ export namespace documentai_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Documents$Process; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4850,11 +4850,11 @@ export namespace documentai_v1beta2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4889,8 +4889,8 @@ export namespace documentai_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4957,11 +4957,11 @@ export namespace documentai_v1beta2 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4996,8 +4996,8 @@ export namespace documentai_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/documentai/v1beta3.ts b/src/apis/documentai/v1beta3.ts index c36641e2bb2..f9afda65bc9 100644 --- a/src/apis/documentai/v1beta3.ts +++ b/src/apis/documentai/v1beta3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -4375,11 +4375,13 @@ export namespace documentai_v1beta3 { fetchProcessorTypes( params: Params$Resource$Projects$Locations$Fetchprocessortypes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchProcessorTypes( params?: Params$Resource$Projects$Locations$Fetchprocessortypes, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchProcessorTypes( params: Params$Resource$Projects$Locations$Fetchprocessortypes, options: StreamMethodOptions | BodyResponseCallback, @@ -4414,8 +4416,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fetchprocessortypes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4472,11 +4476,11 @@ export namespace documentai_v1beta3 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4511,8 +4515,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4564,11 +4568,13 @@ export namespace documentai_v1beta3 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4603,8 +4609,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4706,11 +4714,11 @@ export namespace documentai_v1beta3 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4741,8 +4749,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4797,11 +4805,11 @@ export namespace documentai_v1beta3 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4836,8 +4844,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4889,11 +4897,13 @@ export namespace documentai_v1beta3 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4928,8 +4938,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5038,11 +5050,11 @@ export namespace documentai_v1beta3 { batchProcess( params: Params$Resource$Projects$Locations$Processors$Batchprocess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params?: Params$Resource$Projects$Locations$Processors$Batchprocess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params: Params$Resource$Projects$Locations$Processors$Batchprocess, options: StreamMethodOptions | BodyResponseCallback, @@ -5077,8 +5089,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Batchprocess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5134,11 +5146,13 @@ export namespace documentai_v1beta3 { create( params: Params$Resource$Projects$Locations$Processors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Processors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Processors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5173,8 +5187,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5231,11 +5247,11 @@ export namespace documentai_v1beta3 { delete( params: Params$Resource$Projects$Locations$Processors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Processors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Processors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5270,8 +5286,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5323,11 +5339,11 @@ export namespace documentai_v1beta3 { disable( params: Params$Resource$Projects$Locations$Processors$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Locations$Processors$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Locations$Processors$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -5362,8 +5378,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5418,11 +5434,11 @@ export namespace documentai_v1beta3 { enable( params: Params$Resource$Projects$Locations$Processors$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Locations$Processors$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Locations$Processors$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -5457,8 +5473,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5513,11 +5529,13 @@ export namespace documentai_v1beta3 { get( params: Params$Resource$Projects$Locations$Processors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Processors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Processors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5552,8 +5570,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5607,11 +5627,13 @@ export namespace documentai_v1beta3 { list( params: Params$Resource$Projects$Locations$Processors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Processors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Processors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5646,8 +5668,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5704,11 +5728,13 @@ export namespace documentai_v1beta3 { process( params: Params$Resource$Projects$Locations$Processors$Process, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; process( params?: Params$Resource$Projects$Locations$Processors$Process, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; process( params: Params$Resource$Projects$Locations$Processors$Process, options: StreamMethodOptions | BodyResponseCallback, @@ -5743,8 +5769,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Process; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5801,11 +5829,11 @@ export namespace documentai_v1beta3 { setDefaultProcessorVersion( params: Params$Resource$Projects$Locations$Processors$Setdefaultprocessorversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultProcessorVersion( params?: Params$Resource$Projects$Locations$Processors$Setdefaultprocessorversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultProcessorVersion( params: Params$Resource$Projects$Locations$Processors$Setdefaultprocessorversion, options: StreamMethodOptions | BodyResponseCallback, @@ -5840,8 +5868,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Setdefaultprocessorversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5896,11 +5924,11 @@ export namespace documentai_v1beta3 { updateDataset( params: Params$Resource$Projects$Locations$Processors$Updatedataset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDataset( params?: Params$Resource$Projects$Locations$Processors$Updatedataset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateDataset( params: Params$Resource$Projects$Locations$Processors$Updatedataset, options: StreamMethodOptions | BodyResponseCallback, @@ -5935,8 +5963,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Updatedataset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6114,11 +6142,11 @@ export namespace documentai_v1beta3 { batchDeleteDocuments( params: Params$Resource$Projects$Locations$Processors$Dataset$Batchdeletedocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDeleteDocuments( params?: Params$Resource$Projects$Locations$Processors$Dataset$Batchdeletedocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDeleteDocuments( params: Params$Resource$Projects$Locations$Processors$Dataset$Batchdeletedocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -6153,8 +6181,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Dataset$Batchdeletedocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6210,11 +6238,13 @@ export namespace documentai_v1beta3 { getDatasetSchema( params: Params$Resource$Projects$Locations$Processors$Dataset$Getdatasetschema, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDatasetSchema( params?: Params$Resource$Projects$Locations$Processors$Dataset$Getdatasetschema, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDatasetSchema( params: Params$Resource$Projects$Locations$Processors$Dataset$Getdatasetschema, options: StreamMethodOptions | BodyResponseCallback, @@ -6249,8 +6279,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Dataset$Getdatasetschema; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6305,11 +6337,13 @@ export namespace documentai_v1beta3 { getDocument( params: Params$Resource$Projects$Locations$Processors$Dataset$Getdocument, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDocument( params?: Params$Resource$Projects$Locations$Processors$Dataset$Getdocument, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDocument( params: Params$Resource$Projects$Locations$Processors$Dataset$Getdocument, options: StreamMethodOptions | BodyResponseCallback, @@ -6344,8 +6378,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Dataset$Getdocument; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6403,11 +6439,11 @@ export namespace documentai_v1beta3 { importDocuments( params: Params$Resource$Projects$Locations$Processors$Dataset$Importdocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importDocuments( params?: Params$Resource$Projects$Locations$Processors$Dataset$Importdocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importDocuments( params: Params$Resource$Projects$Locations$Processors$Dataset$Importdocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -6442,8 +6478,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Dataset$Importdocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6499,11 +6535,13 @@ export namespace documentai_v1beta3 { listDocuments( params: Params$Resource$Projects$Locations$Processors$Dataset$Listdocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDocuments( params?: Params$Resource$Projects$Locations$Processors$Dataset$Listdocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listDocuments( params: Params$Resource$Projects$Locations$Processors$Dataset$Listdocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -6538,8 +6576,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Dataset$Listdocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6597,11 +6637,13 @@ export namespace documentai_v1beta3 { updateDatasetSchema( params: Params$Resource$Projects$Locations$Processors$Dataset$Updatedatasetschema, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDatasetSchema( params?: Params$Resource$Projects$Locations$Processors$Dataset$Updatedatasetschema, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateDatasetSchema( params: Params$Resource$Projects$Locations$Processors$Dataset$Updatedatasetschema, options: StreamMethodOptions | BodyResponseCallback, @@ -6636,8 +6678,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Dataset$Updatedatasetschema; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6806,11 +6850,11 @@ export namespace documentai_v1beta3 { reviewDocument( params: Params$Resource$Projects$Locations$Processors$Humanreviewconfig$Reviewdocument, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reviewDocument( params?: Params$Resource$Projects$Locations$Processors$Humanreviewconfig$Reviewdocument, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reviewDocument( params: Params$Resource$Projects$Locations$Processors$Humanreviewconfig$Reviewdocument, options: StreamMethodOptions | BodyResponseCallback, @@ -6845,8 +6889,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Humanreviewconfig$Reviewdocument; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6926,11 +6970,11 @@ export namespace documentai_v1beta3 { batchProcess( params: Params$Resource$Projects$Locations$Processors$Processorversions$Batchprocess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Batchprocess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchProcess( params: Params$Resource$Projects$Locations$Processors$Processorversions$Batchprocess, options: StreamMethodOptions | BodyResponseCallback, @@ -6965,8 +7009,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Batchprocess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7022,11 +7066,11 @@ export namespace documentai_v1beta3 { delete( params: Params$Resource$Projects$Locations$Processors$Processorversions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Processors$Processorversions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7061,8 +7105,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7115,11 +7159,11 @@ export namespace documentai_v1beta3 { deploy( params: Params$Resource$Projects$Locations$Processors$Processorversions$Deploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Deploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deploy( params: Params$Resource$Projects$Locations$Processors$Processorversions$Deploy, options: StreamMethodOptions | BodyResponseCallback, @@ -7154,8 +7198,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Deploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7211,11 +7255,11 @@ export namespace documentai_v1beta3 { evaluateProcessorVersion( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluateprocessorversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evaluateProcessorVersion( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluateprocessorversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; evaluateProcessorVersion( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluateprocessorversion, options: StreamMethodOptions | BodyResponseCallback, @@ -7250,8 +7294,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Evaluateprocessorversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7306,11 +7350,13 @@ export namespace documentai_v1beta3 { get( params: Params$Resource$Projects$Locations$Processors$Processorversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Processors$Processorversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7345,8 +7391,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7401,11 +7449,11 @@ export namespace documentai_v1beta3 { importProcessorVersion( params: Params$Resource$Projects$Locations$Processors$Processorversions$Importprocessorversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importProcessorVersion( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Importprocessorversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importProcessorVersion( params: Params$Resource$Projects$Locations$Processors$Processorversions$Importprocessorversion, options: StreamMethodOptions | BodyResponseCallback, @@ -7440,8 +7488,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Importprocessorversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7497,11 +7545,13 @@ export namespace documentai_v1beta3 { list( params: Params$Resource$Projects$Locations$Processors$Processorversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Processors$Processorversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Processors$Processorversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7536,8 +7586,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7595,11 +7647,13 @@ export namespace documentai_v1beta3 { process( params: Params$Resource$Projects$Locations$Processors$Processorversions$Process, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; process( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Process, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; process( params: Params$Resource$Projects$Locations$Processors$Processorversions$Process, options: StreamMethodOptions | BodyResponseCallback, @@ -7634,8 +7688,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Process; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7693,11 +7749,11 @@ export namespace documentai_v1beta3 { train( params: Params$Resource$Projects$Locations$Processors$Processorversions$Train, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; train( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Train, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; train( params: Params$Resource$Projects$Locations$Processors$Processorversions$Train, options: StreamMethodOptions | BodyResponseCallback, @@ -7732,8 +7788,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Train; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7788,11 +7844,11 @@ export namespace documentai_v1beta3 { undeploy( params: Params$Resource$Projects$Locations$Processors$Processorversions$Undeploy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undeploy( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Undeploy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undeploy( params: Params$Resource$Projects$Locations$Processors$Processorversions$Undeploy, options: StreamMethodOptions | BodyResponseCallback, @@ -7827,8 +7883,8 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Undeploy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8005,11 +8061,13 @@ export namespace documentai_v1beta3 { get( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8044,8 +8102,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8100,11 +8160,13 @@ export namespace documentai_v1beta3 { list( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8139,8 +8201,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processors$Processorversions$Evaluations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8228,11 +8292,13 @@ export namespace documentai_v1beta3 { get( params: Params$Resource$Projects$Locations$Processortypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Processortypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Processortypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8267,8 +8333,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processortypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8322,11 +8390,13 @@ export namespace documentai_v1beta3 { list( params: Params$Resource$Projects$Locations$Processortypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Processortypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Processortypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8361,8 +8431,10 @@ export namespace documentai_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Processortypes$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/domains/index.ts b/src/apis/domains/index.ts index e0351c17ac2..43dacc08e14 100644 --- a/src/apis/domains/index.ts +++ b/src/apis/domains/index.ts @@ -60,7 +60,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/domains/package.json b/src/apis/domains/package.json index 4b1cab4bd8f..2c398422a62 100644 --- a/src/apis/domains/package.json +++ b/src/apis/domains/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/domains/v1.ts b/src/apis/domains/v1.ts index d79fb0bf36a..cf347f3203e 100644 --- a/src/apis/domains/v1.ts +++ b/src/apis/domains/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1190,11 +1190,11 @@ export namespace domains_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1223,7 +1223,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1275,11 +1278,11 @@ export namespace domains_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1312,8 +1315,8 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1402,11 +1405,11 @@ export namespace domains_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1435,7 +1438,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1487,11 +1493,11 @@ export namespace domains_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1524,8 +1530,8 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1614,11 +1620,11 @@ export namespace domains_v1 { configureContactSettings( params: Params$Resource$Projects$Locations$Registrations$Configurecontactsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configureContactSettings( params?: Params$Resource$Projects$Locations$Registrations$Configurecontactsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; configureContactSettings( params: Params$Resource$Projects$Locations$Registrations$Configurecontactsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1649,7 +1655,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Configurecontactsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1704,11 +1713,11 @@ export namespace domains_v1 { configureDnsSettings( params: Params$Resource$Projects$Locations$Registrations$Configurednssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configureDnsSettings( params?: Params$Resource$Projects$Locations$Registrations$Configurednssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; configureDnsSettings( params: Params$Resource$Projects$Locations$Registrations$Configurednssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1739,7 +1748,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Configurednssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1795,11 +1807,11 @@ export namespace domains_v1 { configureManagementSettings( params: Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configureManagementSettings( params?: Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; configureManagementSettings( params: Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1830,7 +1842,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1885,11 +1900,11 @@ export namespace domains_v1 { delete( params: Params$Resource$Projects$Locations$Registrations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Registrations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Registrations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1918,7 +1933,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1970,11 +1988,11 @@ export namespace domains_v1 { export( params: Params$Resource$Projects$Locations$Registrations$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Registrations$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Registrations$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -2003,7 +2021,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2055,11 +2076,11 @@ export namespace domains_v1 { get( params: Params$Resource$Projects$Locations$Registrations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Registrations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Registrations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2088,7 +2109,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2140,11 +2164,11 @@ export namespace domains_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Registrations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2173,7 +2197,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2229,11 +2256,11 @@ export namespace domains_v1 { import( params: Params$Resource$Projects$Locations$Registrations$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Registrations$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Registrations$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -2262,7 +2289,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2317,11 +2347,11 @@ export namespace domains_v1 { initiatePushTransfer( params: Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initiatePushTransfer( params?: Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initiatePushTransfer( params: Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer, options: StreamMethodOptions | BodyResponseCallback, @@ -2352,7 +2382,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2408,11 +2441,11 @@ export namespace domains_v1 { list( params: Params$Resource$Projects$Locations$Registrations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Registrations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Registrations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2447,8 +2480,8 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2503,11 +2536,11 @@ export namespace domains_v1 { patch( params: Params$Resource$Projects$Locations$Registrations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Registrations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Registrations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2536,7 +2569,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2588,11 +2624,11 @@ export namespace domains_v1 { register( params: Params$Resource$Projects$Locations$Registrations$Register, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; register( params?: Params$Resource$Projects$Locations$Registrations$Register, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; register( params: Params$Resource$Projects$Locations$Registrations$Register, options: StreamMethodOptions | BodyResponseCallback, @@ -2621,7 +2657,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Register; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2677,11 +2716,11 @@ export namespace domains_v1 { renewDomain( params: Params$Resource$Projects$Locations$Registrations$Renewdomain, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; renewDomain( params?: Params$Resource$Projects$Locations$Registrations$Renewdomain, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; renewDomain( params: Params$Resource$Projects$Locations$Registrations$Renewdomain, options: StreamMethodOptions | BodyResponseCallback, @@ -2710,7 +2749,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Renewdomain; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2766,11 +2808,11 @@ export namespace domains_v1 { resetAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAuthorizationCode( params?: Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode, options: StreamMethodOptions | BodyResponseCallback, @@ -2803,8 +2845,8 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2859,11 +2901,11 @@ export namespace domains_v1 { retrieveAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveAuthorizationCode( params?: Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode, options: StreamMethodOptions | BodyResponseCallback, @@ -2896,8 +2938,8 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2952,11 +2994,13 @@ export namespace domains_v1 { retrieveGoogleDomainsDnsRecords( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveGoogleDomainsDnsRecords( params?: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveGoogleDomainsDnsRecords( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords, options: StreamMethodOptions | BodyResponseCallback, @@ -2991,8 +3035,10 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3049,11 +3095,13 @@ export namespace domains_v1 { retrieveGoogleDomainsForwardingConfig( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveGoogleDomainsForwardingConfig( params?: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveGoogleDomainsForwardingConfig( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3088,8 +3136,10 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3147,11 +3197,13 @@ export namespace domains_v1 { retrieveImportableDomains( params: Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveImportableDomains( params?: Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveImportableDomains( params: Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains, options: StreamMethodOptions | BodyResponseCallback, @@ -3186,8 +3238,10 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3245,11 +3299,13 @@ export namespace domains_v1 { retrieveRegisterParameters( params: Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveRegisterParameters( params?: Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveRegisterParameters( params: Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters, options: StreamMethodOptions | BodyResponseCallback, @@ -3284,8 +3340,10 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3343,11 +3401,13 @@ export namespace domains_v1 { retrieveTransferParameters( params: Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveTransferParameters( params?: Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveTransferParameters( params: Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters, options: StreamMethodOptions | BodyResponseCallback, @@ -3382,8 +3442,10 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3441,11 +3503,11 @@ export namespace domains_v1 { searchDomains( params: Params$Resource$Projects$Locations$Registrations$Searchdomains, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchDomains( params?: Params$Resource$Projects$Locations$Registrations$Searchdomains, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchDomains( params: Params$Resource$Projects$Locations$Registrations$Searchdomains, options: StreamMethodOptions | BodyResponseCallback, @@ -3480,8 +3542,8 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Searchdomains; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3536,11 +3598,11 @@ export namespace domains_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Registrations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3569,7 +3631,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3625,11 +3690,11 @@ export namespace domains_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Registrations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Registrations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Registrations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3664,8 +3729,8 @@ export namespace domains_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3721,11 +3786,11 @@ export namespace domains_v1 { transfer( params: Params$Resource$Projects$Locations$Registrations$Transfer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; transfer( params?: Params$Resource$Projects$Locations$Registrations$Transfer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; transfer( params: Params$Resource$Projects$Locations$Registrations$Transfer, options: StreamMethodOptions | BodyResponseCallback, @@ -3754,7 +3819,10 @@ export namespace domains_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Transfer; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/domains/v1alpha2.ts b/src/apis/domains/v1alpha2.ts index 1174ea7604c..0b5caeb2c09 100644 --- a/src/apis/domains/v1alpha2.ts +++ b/src/apis/domains/v1alpha2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1194,11 +1194,11 @@ export namespace domains_v1alpha2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1227,7 +1227,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1279,11 +1282,11 @@ export namespace domains_v1alpha2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1316,8 +1319,8 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1406,11 +1409,11 @@ export namespace domains_v1alpha2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1439,7 +1442,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1491,11 +1497,11 @@ export namespace domains_v1alpha2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1528,8 +1534,8 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1618,11 +1624,11 @@ export namespace domains_v1alpha2 { configureContactSettings( params: Params$Resource$Projects$Locations$Registrations$Configurecontactsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configureContactSettings( params?: Params$Resource$Projects$Locations$Registrations$Configurecontactsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; configureContactSettings( params: Params$Resource$Projects$Locations$Registrations$Configurecontactsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1653,7 +1659,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Configurecontactsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1708,11 +1717,11 @@ export namespace domains_v1alpha2 { configureDnsSettings( params: Params$Resource$Projects$Locations$Registrations$Configurednssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configureDnsSettings( params?: Params$Resource$Projects$Locations$Registrations$Configurednssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; configureDnsSettings( params: Params$Resource$Projects$Locations$Registrations$Configurednssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1743,7 +1752,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Configurednssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1798,11 +1810,11 @@ export namespace domains_v1alpha2 { configureManagementSettings( params: Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configureManagementSettings( params?: Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; configureManagementSettings( params: Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1833,7 +1845,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1888,11 +1903,11 @@ export namespace domains_v1alpha2 { delete( params: Params$Resource$Projects$Locations$Registrations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Registrations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Registrations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1921,7 +1936,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1973,11 +1991,11 @@ export namespace domains_v1alpha2 { export( params: Params$Resource$Projects$Locations$Registrations$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Registrations$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Registrations$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -2006,7 +2024,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2061,11 +2082,11 @@ export namespace domains_v1alpha2 { get( params: Params$Resource$Projects$Locations$Registrations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Registrations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Registrations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2094,7 +2115,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2146,11 +2170,11 @@ export namespace domains_v1alpha2 { getIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Registrations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2179,7 +2203,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2235,11 +2262,11 @@ export namespace domains_v1alpha2 { import( params: Params$Resource$Projects$Locations$Registrations$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Registrations$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Registrations$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -2268,7 +2295,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2323,11 +2353,11 @@ export namespace domains_v1alpha2 { initiatePushTransfer( params: Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initiatePushTransfer( params?: Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initiatePushTransfer( params: Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer, options: StreamMethodOptions | BodyResponseCallback, @@ -2358,7 +2388,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2413,11 +2446,11 @@ export namespace domains_v1alpha2 { list( params: Params$Resource$Projects$Locations$Registrations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Registrations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Registrations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2452,8 +2485,8 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2508,11 +2541,11 @@ export namespace domains_v1alpha2 { patch( params: Params$Resource$Projects$Locations$Registrations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Registrations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Registrations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2541,7 +2574,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2593,11 +2629,11 @@ export namespace domains_v1alpha2 { register( params: Params$Resource$Projects$Locations$Registrations$Register, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; register( params?: Params$Resource$Projects$Locations$Registrations$Register, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; register( params: Params$Resource$Projects$Locations$Registrations$Register, options: StreamMethodOptions | BodyResponseCallback, @@ -2626,7 +2662,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Register; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2681,11 +2720,11 @@ export namespace domains_v1alpha2 { renewDomain( params: Params$Resource$Projects$Locations$Registrations$Renewdomain, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; renewDomain( params?: Params$Resource$Projects$Locations$Registrations$Renewdomain, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; renewDomain( params: Params$Resource$Projects$Locations$Registrations$Renewdomain, options: StreamMethodOptions | BodyResponseCallback, @@ -2714,7 +2753,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Renewdomain; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2770,11 +2812,11 @@ export namespace domains_v1alpha2 { resetAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAuthorizationCode( params?: Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode, options: StreamMethodOptions | BodyResponseCallback, @@ -2807,8 +2849,8 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2863,11 +2905,11 @@ export namespace domains_v1alpha2 { retrieveAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveAuthorizationCode( params?: Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode, options: StreamMethodOptions | BodyResponseCallback, @@ -2900,8 +2942,8 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2956,11 +2998,13 @@ export namespace domains_v1alpha2 { retrieveGoogleDomainsDnsRecords( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveGoogleDomainsDnsRecords( params?: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveGoogleDomainsDnsRecords( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords, options: StreamMethodOptions | BodyResponseCallback, @@ -2995,8 +3039,10 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3054,11 +3100,13 @@ export namespace domains_v1alpha2 { retrieveGoogleDomainsForwardingConfig( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveGoogleDomainsForwardingConfig( params?: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveGoogleDomainsForwardingConfig( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3093,8 +3141,10 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3152,11 +3202,13 @@ export namespace domains_v1alpha2 { retrieveImportableDomains( params: Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveImportableDomains( params?: Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveImportableDomains( params: Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains, options: StreamMethodOptions | BodyResponseCallback, @@ -3191,8 +3243,10 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3250,11 +3304,13 @@ export namespace domains_v1alpha2 { retrieveRegisterParameters( params: Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveRegisterParameters( params?: Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveRegisterParameters( params: Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters, options: StreamMethodOptions | BodyResponseCallback, @@ -3289,8 +3345,10 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3348,11 +3406,13 @@ export namespace domains_v1alpha2 { retrieveTransferParameters( params: Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveTransferParameters( params?: Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveTransferParameters( params: Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters, options: StreamMethodOptions | BodyResponseCallback, @@ -3387,8 +3447,10 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3446,11 +3508,11 @@ export namespace domains_v1alpha2 { searchDomains( params: Params$Resource$Projects$Locations$Registrations$Searchdomains, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchDomains( params?: Params$Resource$Projects$Locations$Registrations$Searchdomains, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchDomains( params: Params$Resource$Projects$Locations$Registrations$Searchdomains, options: StreamMethodOptions | BodyResponseCallback, @@ -3485,8 +3547,8 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Searchdomains; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3541,11 +3603,11 @@ export namespace domains_v1alpha2 { setIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Registrations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3574,7 +3636,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3630,11 +3695,11 @@ export namespace domains_v1alpha2 { testIamPermissions( params: Params$Resource$Projects$Locations$Registrations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Registrations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Registrations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3669,8 +3734,8 @@ export namespace domains_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3726,11 +3791,11 @@ export namespace domains_v1alpha2 { transfer( params: Params$Resource$Projects$Locations$Registrations$Transfer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; transfer( params?: Params$Resource$Projects$Locations$Registrations$Transfer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; transfer( params: Params$Resource$Projects$Locations$Registrations$Transfer, options: StreamMethodOptions | BodyResponseCallback, @@ -3759,7 +3824,10 @@ export namespace domains_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Transfer; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/domains/v1beta1.ts b/src/apis/domains/v1beta1.ts index e4de7b0006f..18b4e49644f 100644 --- a/src/apis/domains/v1beta1.ts +++ b/src/apis/domains/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1190,11 +1190,11 @@ export namespace domains_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1223,7 +1223,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1275,11 +1278,11 @@ export namespace domains_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1312,8 +1315,8 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1402,11 +1405,11 @@ export namespace domains_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1435,7 +1438,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1487,11 +1493,11 @@ export namespace domains_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1524,8 +1530,8 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1614,11 +1620,11 @@ export namespace domains_v1beta1 { configureContactSettings( params: Params$Resource$Projects$Locations$Registrations$Configurecontactsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configureContactSettings( params?: Params$Resource$Projects$Locations$Registrations$Configurecontactsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; configureContactSettings( params: Params$Resource$Projects$Locations$Registrations$Configurecontactsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1649,7 +1655,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Configurecontactsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1704,11 +1713,11 @@ export namespace domains_v1beta1 { configureDnsSettings( params: Params$Resource$Projects$Locations$Registrations$Configurednssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configureDnsSettings( params?: Params$Resource$Projects$Locations$Registrations$Configurednssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; configureDnsSettings( params: Params$Resource$Projects$Locations$Registrations$Configurednssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1739,7 +1748,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Configurednssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1794,11 +1806,11 @@ export namespace domains_v1beta1 { configureManagementSettings( params: Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configureManagementSettings( params?: Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; configureManagementSettings( params: Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1829,7 +1841,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Configuremanagementsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1884,11 +1899,11 @@ export namespace domains_v1beta1 { delete( params: Params$Resource$Projects$Locations$Registrations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Registrations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Registrations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1917,7 +1932,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1969,11 +1987,11 @@ export namespace domains_v1beta1 { export( params: Params$Resource$Projects$Locations$Registrations$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Registrations$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Registrations$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -2002,7 +2020,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2057,11 +2078,11 @@ export namespace domains_v1beta1 { get( params: Params$Resource$Projects$Locations$Registrations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Registrations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Registrations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2090,7 +2111,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2142,11 +2166,11 @@ export namespace domains_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Registrations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2175,7 +2199,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2231,11 +2258,11 @@ export namespace domains_v1beta1 { import( params: Params$Resource$Projects$Locations$Registrations$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Registrations$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Registrations$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -2264,7 +2291,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2319,11 +2349,11 @@ export namespace domains_v1beta1 { initiatePushTransfer( params: Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initiatePushTransfer( params?: Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initiatePushTransfer( params: Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer, options: StreamMethodOptions | BodyResponseCallback, @@ -2354,7 +2384,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Initiatepushtransfer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2409,11 +2442,11 @@ export namespace domains_v1beta1 { list( params: Params$Resource$Projects$Locations$Registrations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Registrations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Registrations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2448,8 +2481,8 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2504,11 +2537,11 @@ export namespace domains_v1beta1 { patch( params: Params$Resource$Projects$Locations$Registrations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Registrations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Registrations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2537,7 +2570,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2589,11 +2625,11 @@ export namespace domains_v1beta1 { register( params: Params$Resource$Projects$Locations$Registrations$Register, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; register( params?: Params$Resource$Projects$Locations$Registrations$Register, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; register( params: Params$Resource$Projects$Locations$Registrations$Register, options: StreamMethodOptions | BodyResponseCallback, @@ -2622,7 +2658,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Register; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2677,11 +2716,11 @@ export namespace domains_v1beta1 { renewDomain( params: Params$Resource$Projects$Locations$Registrations$Renewdomain, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; renewDomain( params?: Params$Resource$Projects$Locations$Registrations$Renewdomain, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; renewDomain( params: Params$Resource$Projects$Locations$Registrations$Renewdomain, options: StreamMethodOptions | BodyResponseCallback, @@ -2710,7 +2749,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Renewdomain; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2766,11 +2808,11 @@ export namespace domains_v1beta1 { resetAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAuthorizationCode( params?: Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode, options: StreamMethodOptions | BodyResponseCallback, @@ -2803,8 +2845,8 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Resetauthorizationcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2859,11 +2901,11 @@ export namespace domains_v1beta1 { retrieveAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveAuthorizationCode( params?: Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveAuthorizationCode( params: Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode, options: StreamMethodOptions | BodyResponseCallback, @@ -2896,8 +2938,8 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrieveauthorizationcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2952,11 +2994,13 @@ export namespace domains_v1beta1 { retrieveGoogleDomainsDnsRecords( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveGoogleDomainsDnsRecords( params?: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveGoogleDomainsDnsRecords( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords, options: StreamMethodOptions | BodyResponseCallback, @@ -2991,8 +3035,10 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsdnsrecords; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3050,11 +3096,13 @@ export namespace domains_v1beta1 { retrieveGoogleDomainsForwardingConfig( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveGoogleDomainsForwardingConfig( params?: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveGoogleDomainsForwardingConfig( params: Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3089,8 +3137,10 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrievegoogledomainsforwardingconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3148,11 +3198,13 @@ export namespace domains_v1beta1 { retrieveImportableDomains( params: Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveImportableDomains( params?: Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveImportableDomains( params: Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains, options: StreamMethodOptions | BodyResponseCallback, @@ -3187,8 +3239,10 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrieveimportabledomains; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3246,11 +3300,13 @@ export namespace domains_v1beta1 { retrieveRegisterParameters( params: Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveRegisterParameters( params?: Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveRegisterParameters( params: Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters, options: StreamMethodOptions | BodyResponseCallback, @@ -3285,8 +3341,10 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrieveregisterparameters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3344,11 +3402,13 @@ export namespace domains_v1beta1 { retrieveTransferParameters( params: Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveTransferParameters( params?: Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveTransferParameters( params: Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters, options: StreamMethodOptions | BodyResponseCallback, @@ -3383,8 +3443,10 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Retrievetransferparameters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3442,11 +3504,11 @@ export namespace domains_v1beta1 { searchDomains( params: Params$Resource$Projects$Locations$Registrations$Searchdomains, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchDomains( params?: Params$Resource$Projects$Locations$Registrations$Searchdomains, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchDomains( params: Params$Resource$Projects$Locations$Registrations$Searchdomains, options: StreamMethodOptions | BodyResponseCallback, @@ -3481,8 +3543,8 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Searchdomains; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3537,11 +3599,11 @@ export namespace domains_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Registrations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Registrations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3570,7 +3632,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3626,11 +3691,11 @@ export namespace domains_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Registrations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Registrations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Registrations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3665,8 +3730,8 @@ export namespace domains_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3722,11 +3787,11 @@ export namespace domains_v1beta1 { transfer( params: Params$Resource$Projects$Locations$Registrations$Transfer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; transfer( params?: Params$Resource$Projects$Locations$Registrations$Transfer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; transfer( params: Params$Resource$Projects$Locations$Registrations$Transfer, options: StreamMethodOptions | BodyResponseCallback, @@ -3755,7 +3820,10 @@ export namespace domains_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Registrations$Transfer; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/domainsrdap/index.ts b/src/apis/domainsrdap/index.ts index ea6f969a0e3..19c0ef65fe4 100644 --- a/src/apis/domainsrdap/index.ts +++ b/src/apis/domainsrdap/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/domainsrdap/package.json b/src/apis/domainsrdap/package.json index dc32d4d3377..2a900e7c3ce 100644 --- a/src/apis/domainsrdap/package.json +++ b/src/apis/domainsrdap/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/domainsrdap/v1.ts b/src/apis/domainsrdap/v1.ts index a39c72c80df..7d912a20bed 100644 --- a/src/apis/domainsrdap/v1.ts +++ b/src/apis/domainsrdap/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -256,11 +256,11 @@ export namespace domainsrdap_v1 { get( params: Params$Resource$Autnum$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Autnum$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Autnum$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -289,7 +289,7 @@ export namespace domainsrdap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Autnum$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -357,11 +357,11 @@ export namespace domainsrdap_v1 { get( params: Params$Resource$Domain$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Domain$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Domain$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -390,7 +390,7 @@ export namespace domainsrdap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domain$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -458,11 +458,11 @@ export namespace domainsrdap_v1 { get( params: Params$Resource$Entity$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Entity$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Entity$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -491,7 +491,7 @@ export namespace domainsrdap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entity$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -559,11 +559,11 @@ export namespace domainsrdap_v1 { get( params: Params$Resource$Ip$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Ip$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Ip$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -592,7 +592,7 @@ export namespace domainsrdap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ip$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -664,11 +664,11 @@ export namespace domainsrdap_v1 { get( params: Params$Resource$Nameserver$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nameserver$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nameserver$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -697,7 +697,7 @@ export namespace domainsrdap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nameserver$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -765,11 +765,11 @@ export namespace domainsrdap_v1 { getDomains( params: Params$Resource$V1$Getdomains, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDomains( params?: Params$Resource$V1$Getdomains, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getDomains( params: Params$Resource$V1$Getdomains, options: StreamMethodOptions | BodyResponseCallback, @@ -798,7 +798,7 @@ export namespace domainsrdap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Getdomains; let options = (optionsOrCallback || {}) as MethodOptions; @@ -849,11 +849,11 @@ export namespace domainsrdap_v1 { getEntities( params: Params$Resource$V1$Getentities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEntities( params?: Params$Resource$V1$Getentities, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEntities( params: Params$Resource$V1$Getentities, options: StreamMethodOptions | BodyResponseCallback, @@ -882,7 +882,7 @@ export namespace domainsrdap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Getentities; let options = (optionsOrCallback || {}) as MethodOptions; @@ -933,11 +933,11 @@ export namespace domainsrdap_v1 { getHelp( params: Params$Resource$V1$Gethelp, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHelp( params?: Params$Resource$V1$Gethelp, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHelp( params: Params$Resource$V1$Gethelp, options: StreamMethodOptions | BodyResponseCallback, @@ -966,7 +966,7 @@ export namespace domainsrdap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Gethelp; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1017,11 +1017,11 @@ export namespace domainsrdap_v1 { getIp( params: Params$Resource$V1$Getip, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIp( params?: Params$Resource$V1$Getip, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIp( params: Params$Resource$V1$Getip, options: StreamMethodOptions | BodyResponseCallback, @@ -1050,7 +1050,7 @@ export namespace domainsrdap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Getip; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1101,11 +1101,11 @@ export namespace domainsrdap_v1 { getNameservers( params: Params$Resource$V1$Getnameservers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNameservers( params?: Params$Resource$V1$Getnameservers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNameservers( params: Params$Resource$V1$Getnameservers, options: StreamMethodOptions | BodyResponseCallback, @@ -1134,7 +1134,7 @@ export namespace domainsrdap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Getnameservers; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/doubleclickbidmanager/index.ts b/src/apis/doubleclickbidmanager/index.ts index 07b8a2cfde7..773ed50c3c8 100644 --- a/src/apis/doubleclickbidmanager/index.ts +++ b/src/apis/doubleclickbidmanager/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/doubleclickbidmanager/package.json b/src/apis/doubleclickbidmanager/package.json index f0590210e95..5703ee35e7e 100644 --- a/src/apis/doubleclickbidmanager/package.json +++ b/src/apis/doubleclickbidmanager/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/doubleclickbidmanager/v1.1.ts b/src/apis/doubleclickbidmanager/v1.1.ts index 0f270d3de42..cfa7f32e882 100644 --- a/src/apis/doubleclickbidmanager/v1.1.ts +++ b/src/apis/doubleclickbidmanager/v1.1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -598,11 +598,11 @@ export namespace doubleclickbidmanager_v1_1 { createquery( params: Params$Resource$Queries$Createquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createquery( params?: Params$Resource$Queries$Createquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createquery( params: Params$Resource$Queries$Createquery, options: StreamMethodOptions | BodyResponseCallback, @@ -631,7 +631,7 @@ export namespace doubleclickbidmanager_v1_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$Createquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -723,11 +723,11 @@ export namespace doubleclickbidmanager_v1_1 { deletequery( params: Params$Resource$Queries$Deletequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deletequery( params?: Params$Resource$Queries$Deletequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deletequery( params: Params$Resource$Queries$Deletequery, options: StreamMethodOptions | BodyResponseCallback, @@ -754,7 +754,7 @@ export namespace doubleclickbidmanager_v1_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$Deletequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -857,11 +857,11 @@ export namespace doubleclickbidmanager_v1_1 { getquery( params: Params$Resource$Queries$Getquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getquery( params?: Params$Resource$Queries$Getquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getquery( params: Params$Resource$Queries$Getquery, options: StreamMethodOptions | BodyResponseCallback, @@ -890,7 +890,7 @@ export namespace doubleclickbidmanager_v1_1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$Getquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -989,11 +989,11 @@ export namespace doubleclickbidmanager_v1_1 { listqueries( params: Params$Resource$Queries$Listqueries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listqueries( params?: Params$Resource$Queries$Listqueries, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listqueries( params: Params$Resource$Queries$Listqueries, options: StreamMethodOptions | BodyResponseCallback, @@ -1026,8 +1026,8 @@ export namespace doubleclickbidmanager_v1_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$Listqueries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1132,11 +1132,11 @@ export namespace doubleclickbidmanager_v1_1 { runquery( params: Params$Resource$Queries$Runquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runquery( params?: Params$Resource$Queries$Runquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runquery( params: Params$Resource$Queries$Runquery, options: StreamMethodOptions | BodyResponseCallback, @@ -1163,7 +1163,7 @@ export namespace doubleclickbidmanager_v1_1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$Runquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1323,11 +1323,11 @@ export namespace doubleclickbidmanager_v1_1 { listreports( params: Params$Resource$Reports$Listreports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listreports( params?: Params$Resource$Reports$Listreports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listreports( params: Params$Resource$Reports$Listreports, options: StreamMethodOptions | BodyResponseCallback, @@ -1360,8 +1360,8 @@ export namespace doubleclickbidmanager_v1_1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Listreports; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/doubleclickbidmanager/v1.ts b/src/apis/doubleclickbidmanager/v1.ts index 177f28141a6..f330905c1f2 100644 --- a/src/apis/doubleclickbidmanager/v1.ts +++ b/src/apis/doubleclickbidmanager/v1.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, diff --git a/src/apis/doubleclickbidmanager/v2.ts b/src/apis/doubleclickbidmanager/v2.ts index c869b09c0f7..d957d9b5822 100644 --- a/src/apis/doubleclickbidmanager/v2.ts +++ b/src/apis/doubleclickbidmanager/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -389,11 +389,11 @@ export namespace doubleclickbidmanager_v2 { create( params: Params$Resource$Queries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Queries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Queries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -422,7 +422,10 @@ export namespace doubleclickbidmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -474,11 +477,11 @@ export namespace doubleclickbidmanager_v2 { delete( params: Params$Resource$Queries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Queries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Queries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -505,7 +508,10 @@ export namespace doubleclickbidmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -560,11 +566,11 @@ export namespace doubleclickbidmanager_v2 { get( params: Params$Resource$Queries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Queries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Queries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -593,7 +599,10 @@ export namespace doubleclickbidmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -648,11 +657,11 @@ export namespace doubleclickbidmanager_v2 { list( params: Params$Resource$Queries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Queries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Queries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -683,8 +692,8 @@ export namespace doubleclickbidmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -736,11 +745,11 @@ export namespace doubleclickbidmanager_v2 { run( params: Params$Resource$Queries$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Queries$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Queries$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -769,7 +778,10 @@ export namespace doubleclickbidmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -879,11 +891,11 @@ export namespace doubleclickbidmanager_v2 { get( params: Params$Resource$Queries$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Queries$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Queries$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -912,7 +924,10 @@ export namespace doubleclickbidmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -968,11 +983,11 @@ export namespace doubleclickbidmanager_v2 { list( params: Params$Resource$Queries$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Queries$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Queries$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1003,8 +1018,8 @@ export namespace doubleclickbidmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Queries$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/doubleclicksearch/index.ts b/src/apis/doubleclicksearch/index.ts index 1ded71dd03e..61459f19653 100644 --- a/src/apis/doubleclicksearch/index.ts +++ b/src/apis/doubleclicksearch/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/doubleclicksearch/package.json b/src/apis/doubleclicksearch/package.json index 9c9432db110..4d0e6c9eebe 100644 --- a/src/apis/doubleclicksearch/package.json +++ b/src/apis/doubleclicksearch/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/doubleclicksearch/v2.ts b/src/apis/doubleclicksearch/v2.ts index 3e89def284c..c7d4c2ede77 100644 --- a/src/apis/doubleclicksearch/v2.ts +++ b/src/apis/doubleclicksearch/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -586,11 +586,11 @@ export namespace doubleclicksearch_v2 { get( params: Params$Resource$Conversion$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Conversion$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Conversion$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -619,7 +619,10 @@ export namespace doubleclicksearch_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversion$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -682,11 +685,11 @@ export namespace doubleclicksearch_v2 { getByCustomerId( params: Params$Resource$Conversion$Getbycustomerid, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getByCustomerId( params?: Params$Resource$Conversion$Getbycustomerid, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getByCustomerId( params: Params$Resource$Conversion$Getbycustomerid, options: StreamMethodOptions | BodyResponseCallback, @@ -717,7 +720,10 @@ export namespace doubleclicksearch_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversion$Getbycustomerid; let options = (optionsOrCallback || {}) as MethodOptions; @@ -778,11 +784,11 @@ export namespace doubleclicksearch_v2 { insert( params: Params$Resource$Conversion$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Conversion$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Conversion$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -811,7 +817,10 @@ export namespace doubleclicksearch_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversion$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -867,11 +876,11 @@ export namespace doubleclicksearch_v2 { update( params: Params$Resource$Conversion$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Conversion$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Conversion$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -900,7 +909,10 @@ export namespace doubleclicksearch_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversion$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -956,11 +968,11 @@ export namespace doubleclicksearch_v2 { updateAvailability( params: Params$Resource$Conversion$Updateavailability, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAvailability( params?: Params$Resource$Conversion$Updateavailability, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAvailability( params: Params$Resource$Conversion$Updateavailability, options: StreamMethodOptions | BodyResponseCallback, @@ -995,8 +1007,8 @@ export namespace doubleclicksearch_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conversion$Updateavailability; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1181,11 +1193,11 @@ export namespace doubleclicksearch_v2 { generate( params: Params$Resource$Reports$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Reports$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Reports$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -1214,7 +1226,10 @@ export namespace doubleclicksearch_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1269,11 +1284,11 @@ export namespace doubleclicksearch_v2 { get( params: Params$Resource$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1302,7 +1317,10 @@ export namespace doubleclicksearch_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1357,11 +1375,11 @@ export namespace doubleclicksearch_v2 { getFile( params: Params$Resource$Reports$Getfile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFile( params?: Params$Resource$Reports$Getfile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getFile( params: Params$Resource$Reports$Getfile, options: StreamMethodOptions | BodyResponseCallback, @@ -1388,7 +1406,10 @@ export namespace doubleclicksearch_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Getfile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1443,11 +1464,11 @@ export namespace doubleclicksearch_v2 { getIdMappingFile( params: Params$Resource$Reports$Getidmappingfile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIdMappingFile( params?: Params$Resource$Reports$Getidmappingfile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIdMappingFile( params: Params$Resource$Reports$Getidmappingfile, options: StreamMethodOptions | BodyResponseCallback, @@ -1478,7 +1499,10 @@ export namespace doubleclicksearch_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Getidmappingfile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1534,11 +1558,11 @@ export namespace doubleclicksearch_v2 { request( params: Params$Resource$Reports$Request, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; request( params?: Params$Resource$Reports$Request, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; request( params: Params$Resource$Reports$Request, options: StreamMethodOptions | BodyResponseCallback, @@ -1567,7 +1591,10 @@ export namespace doubleclicksearch_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Request; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1669,11 +1696,11 @@ export namespace doubleclicksearch_v2 { list( params: Params$Resource$Savedcolumns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Savedcolumns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Savedcolumns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1702,7 +1729,10 @@ export namespace doubleclicksearch_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Savedcolumns$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/drive/index.ts b/src/apis/drive/index.ts index 83800361738..70b286dce75 100644 --- a/src/apis/drive/index.ts +++ b/src/apis/drive/index.ts @@ -43,7 +43,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/drive/package.json b/src/apis/drive/package.json index b626f28e3f0..d6cd5638a81 100644 --- a/src/apis/drive/package.json +++ b/src/apis/drive/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/drive/v2.ts b/src/apis/drive/v2.ts index cab48fac34d..9810e315ba3 100644 --- a/src/apis/drive/v2.ts +++ b/src/apis/drive/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1982,11 +1982,11 @@ export namespace drive_v2 { get( params: Params$Resource$About$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$About$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$About$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2015,7 +2015,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$About$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2088,11 +2091,11 @@ export namespace drive_v2 { get( params: Params$Resource$Apps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2121,7 +2124,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2175,11 +2181,11 @@ export namespace drive_v2 { list( params: Params$Resource$Apps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2208,7 +2214,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2287,11 +2296,11 @@ export namespace drive_v2 { get( params: Params$Resource$Changes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Changes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Changes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2320,7 +2329,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2374,11 +2386,11 @@ export namespace drive_v2 { getStartPageToken( params: Params$Resource$Changes$Getstartpagetoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStartPageToken( params?: Params$Resource$Changes$Getstartpagetoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStartPageToken( params: Params$Resource$Changes$Getstartpagetoken, options: StreamMethodOptions | BodyResponseCallback, @@ -2409,7 +2421,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Getstartpagetoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2464,11 +2479,11 @@ export namespace drive_v2 { list( params: Params$Resource$Changes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Changes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Changes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2497,7 +2512,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2548,11 +2566,11 @@ export namespace drive_v2 { watch( params: Params$Resource$Changes$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Changes$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Changes$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -2581,7 +2599,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2813,11 +2834,11 @@ export namespace drive_v2 { stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Channels$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -2844,7 +2865,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channels$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2912,11 +2936,11 @@ export namespace drive_v2 { delete( params: Params$Resource$Children$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Children$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Children$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2943,7 +2967,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Children$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2996,11 +3023,11 @@ export namespace drive_v2 { get( params: Params$Resource$Children$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Children$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Children$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3029,7 +3056,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Children$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3082,11 +3112,11 @@ export namespace drive_v2 { insert( params: Params$Resource$Children$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Children$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Children$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3115,7 +3145,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Children$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3169,11 +3202,11 @@ export namespace drive_v2 { list( params: Params$Resource$Children$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Children$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Children$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3202,7 +3235,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Children$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3333,11 +3369,11 @@ export namespace drive_v2 { delete( params: Params$Resource$Comments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Comments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Comments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3364,7 +3400,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3417,11 +3456,11 @@ export namespace drive_v2 { get( params: Params$Resource$Comments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Comments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Comments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3450,7 +3489,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3503,11 +3545,11 @@ export namespace drive_v2 { insert( params: Params$Resource$Comments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Comments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Comments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3536,7 +3578,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3590,11 +3635,11 @@ export namespace drive_v2 { list( params: Params$Resource$Comments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Comments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Comments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3623,7 +3668,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3677,11 +3725,11 @@ export namespace drive_v2 { patch( params: Params$Resource$Comments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Comments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Comments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3710,7 +3758,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3763,11 +3814,11 @@ export namespace drive_v2 { update( params: Params$Resource$Comments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Comments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Comments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3796,7 +3847,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3944,11 +3998,11 @@ export namespace drive_v2 { delete( params: Params$Resource$Drives$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Drives$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Drives$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3975,7 +4029,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4029,11 +4086,11 @@ export namespace drive_v2 { get( params: Params$Resource$Drives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Drives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Drives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4062,7 +4119,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4116,11 +4176,11 @@ export namespace drive_v2 { hide( params: Params$Resource$Drives$Hide, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; hide( params?: Params$Resource$Drives$Hide, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; hide( params: Params$Resource$Drives$Hide, options: StreamMethodOptions | BodyResponseCallback, @@ -4149,7 +4209,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Hide; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4203,11 +4266,11 @@ export namespace drive_v2 { insert( params: Params$Resource$Drives$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Drives$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Drives$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4236,7 +4299,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4287,11 +4353,11 @@ export namespace drive_v2 { list( params: Params$Resource$Drives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Drives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Drives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4320,7 +4386,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4371,11 +4440,11 @@ export namespace drive_v2 { unhide( params: Params$Resource$Drives$Unhide, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unhide( params?: Params$Resource$Drives$Unhide, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unhide( params: Params$Resource$Drives$Unhide, options: StreamMethodOptions | BodyResponseCallback, @@ -4404,7 +4473,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Unhide; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4458,11 +4530,11 @@ export namespace drive_v2 { update( params: Params$Resource$Drives$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Drives$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Drives$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4491,7 +4563,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4633,11 +4708,11 @@ export namespace drive_v2 { copy( params: Params$Resource$Files$Copy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copy( params?: Params$Resource$Files$Copy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copy( params: Params$Resource$Files$Copy, options: StreamMethodOptions | BodyResponseCallback, @@ -4666,7 +4741,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Copy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4720,11 +4798,11 @@ export namespace drive_v2 { delete( params: Params$Resource$Files$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Files$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Files$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4751,7 +4829,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4805,11 +4886,11 @@ export namespace drive_v2 { emptyTrash( params: Params$Resource$Files$Emptytrash, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; emptyTrash( params?: Params$Resource$Files$Emptytrash, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; emptyTrash( params: Params$Resource$Files$Emptytrash, options: StreamMethodOptions | BodyResponseCallback, @@ -4836,7 +4917,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Emptytrash; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4890,11 +4974,11 @@ export namespace drive_v2 { export( params: Params$Resource$Files$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Files$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Files$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -4921,7 +5005,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4975,11 +5062,11 @@ export namespace drive_v2 { generateIds( params: Params$Resource$Files$Generateids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateIds( params?: Params$Resource$Files$Generateids, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateIds( params: Params$Resource$Files$Generateids, options: StreamMethodOptions | BodyResponseCallback, @@ -5008,7 +5095,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Generateids; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5063,11 +5153,11 @@ export namespace drive_v2 { get( params: Params$Resource$Files$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Files$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Files$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5096,7 +5186,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5150,11 +5243,11 @@ export namespace drive_v2 { insert( params: Params$Resource$Files$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Files$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Files$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5183,7 +5276,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5238,11 +5334,11 @@ export namespace drive_v2 { list( params: Params$Resource$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5271,7 +5367,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5322,11 +5421,11 @@ export namespace drive_v2 { listLabels( params: Params$Resource$Files$Listlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listLabels( params?: Params$Resource$Files$Listlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listLabels( params: Params$Resource$Files$Listlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -5355,7 +5454,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Listlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5409,11 +5511,11 @@ export namespace drive_v2 { modifyLabels( params: Params$Resource$Files$Modifylabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyLabels( params?: Params$Resource$Files$Modifylabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyLabels( params: Params$Resource$Files$Modifylabels, options: StreamMethodOptions | BodyResponseCallback, @@ -5448,8 +5550,8 @@ export namespace drive_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Modifylabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5504,11 +5606,11 @@ export namespace drive_v2 { patch( params: Params$Resource$Files$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Files$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Files$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5537,7 +5639,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5591,11 +5696,11 @@ export namespace drive_v2 { touch( params: Params$Resource$Files$Touch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; touch( params?: Params$Resource$Files$Touch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; touch( params: Params$Resource$Files$Touch, options: StreamMethodOptions | BodyResponseCallback, @@ -5624,7 +5729,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Touch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5678,11 +5786,11 @@ export namespace drive_v2 { trash( params: Params$Resource$Files$Trash, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; trash( params?: Params$Resource$Files$Trash, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; trash( params: Params$Resource$Files$Trash, options: StreamMethodOptions | BodyResponseCallback, @@ -5711,7 +5819,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Trash; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5765,11 +5876,11 @@ export namespace drive_v2 { untrash( params: Params$Resource$Files$Untrash, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; untrash( params?: Params$Resource$Files$Untrash, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; untrash( params: Params$Resource$Files$Untrash, options: StreamMethodOptions | BodyResponseCallback, @@ -5798,7 +5909,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Untrash; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5852,11 +5966,11 @@ export namespace drive_v2 { update( params: Params$Resource$Files$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Files$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Files$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5885,7 +5999,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5943,11 +6060,11 @@ export namespace drive_v2 { watch( params: Params$Resource$Files$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Files$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Files$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -5976,7 +6093,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6644,11 +6764,11 @@ export namespace drive_v2 { delete( params: Params$Resource$Parents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Parents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Parents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6675,7 +6795,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Parents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6728,11 +6851,11 @@ export namespace drive_v2 { get( params: Params$Resource$Parents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Parents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Parents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6761,7 +6884,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Parents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6814,11 +6940,11 @@ export namespace drive_v2 { insert( params: Params$Resource$Parents$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Parents$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Parents$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6847,7 +6973,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Parents$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6901,11 +7030,11 @@ export namespace drive_v2 { list( params: Params$Resource$Parents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Parents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Parents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6934,7 +7063,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Parents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7049,11 +7181,11 @@ export namespace drive_v2 { delete( params: Params$Resource$Permissions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Permissions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Permissions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7080,7 +7212,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7134,11 +7269,11 @@ export namespace drive_v2 { get( params: Params$Resource$Permissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Permissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Permissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7167,7 +7302,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7220,11 +7358,11 @@ export namespace drive_v2 { getIdForEmail( params: Params$Resource$Permissions$Getidforemail, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIdForEmail( params?: Params$Resource$Permissions$Getidforemail, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIdForEmail( params: Params$Resource$Permissions$Getidforemail, options: StreamMethodOptions | BodyResponseCallback, @@ -7253,7 +7391,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Getidforemail; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7308,11 +7449,11 @@ export namespace drive_v2 { insert( params: Params$Resource$Permissions$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Permissions$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Permissions$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7341,7 +7482,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7396,11 +7540,11 @@ export namespace drive_v2 { list( params: Params$Resource$Permissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Permissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Permissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7429,7 +7573,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7483,11 +7630,11 @@ export namespace drive_v2 { patch( params: Params$Resource$Permissions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Permissions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Permissions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7516,7 +7663,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7570,11 +7720,11 @@ export namespace drive_v2 { update( params: Params$Resource$Permissions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Permissions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Permissions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7603,7 +7753,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7709,6 +7862,10 @@ export namespace drive_v2 { * A plain text custom message to include in notification emails. */ emailMessage?: string; + /** + * Whether the request should enforce expansive access rules. + */ + enforceExpansiveAccess?: boolean; /** * Deprecated: See `moveToNewOwnersRoot` for details. */ @@ -7871,11 +8028,11 @@ export namespace drive_v2 { delete( params: Params$Resource$Properties$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Properties$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Properties$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7902,7 +8059,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7956,11 +8116,11 @@ export namespace drive_v2 { get( params: Params$Resource$Properties$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Properties$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Properties$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7989,7 +8149,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8042,11 +8205,11 @@ export namespace drive_v2 { insert( params: Params$Resource$Properties$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Properties$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Properties$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8075,7 +8238,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8130,11 +8296,11 @@ export namespace drive_v2 { list( params: Params$Resource$Properties$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Properties$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Properties$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8163,7 +8329,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8217,11 +8386,11 @@ export namespace drive_v2 { patch( params: Params$Resource$Properties$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Properties$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Properties$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8250,7 +8419,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8303,11 +8475,11 @@ export namespace drive_v2 { update( params: Params$Resource$Properties$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Properties$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Properties$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8336,7 +8508,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Properties$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8484,11 +8659,11 @@ export namespace drive_v2 { delete( params: Params$Resource$Replies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Replies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Replies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8515,7 +8690,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Replies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8569,11 +8747,11 @@ export namespace drive_v2 { get( params: Params$Resource$Replies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Replies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Replies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8602,7 +8780,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Replies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8656,11 +8837,11 @@ export namespace drive_v2 { insert( params: Params$Resource$Replies$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Replies$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Replies$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8689,7 +8870,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Replies$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8742,11 +8926,11 @@ export namespace drive_v2 { list( params: Params$Resource$Replies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Replies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Replies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8775,7 +8959,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Replies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8828,11 +9015,11 @@ export namespace drive_v2 { patch( params: Params$Resource$Replies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Replies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Replies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8861,7 +9048,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Replies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8915,11 +9105,11 @@ export namespace drive_v2 { update( params: Params$Resource$Replies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Replies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Replies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8948,7 +9138,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Replies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9117,11 +9310,11 @@ export namespace drive_v2 { delete( params: Params$Resource$Revisions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Revisions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Revisions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9148,7 +9341,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Revisions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9201,11 +9397,11 @@ export namespace drive_v2 { get( params: Params$Resource$Revisions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Revisions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Revisions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9234,7 +9430,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Revisions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9287,11 +9486,11 @@ export namespace drive_v2 { list( params: Params$Resource$Revisions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Revisions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Revisions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9320,7 +9519,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Revisions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9374,11 +9576,11 @@ export namespace drive_v2 { patch( params: Params$Resource$Revisions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Revisions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Revisions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9407,7 +9609,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Revisions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9460,11 +9665,11 @@ export namespace drive_v2 { update( params: Params$Resource$Revisions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Revisions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Revisions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9493,7 +9698,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Revisions$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9618,11 +9826,11 @@ export namespace drive_v2 { delete( params: Params$Resource$Teamdrives$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Teamdrives$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Teamdrives$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9649,7 +9857,10 @@ export namespace drive_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Teamdrives$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9704,11 +9915,11 @@ export namespace drive_v2 { get( params: Params$Resource$Teamdrives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Teamdrives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Teamdrives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9737,7 +9948,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Teamdrives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9791,11 +10005,11 @@ export namespace drive_v2 { insert( params: Params$Resource$Teamdrives$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Teamdrives$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Teamdrives$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9824,7 +10038,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Teamdrives$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9879,11 +10096,11 @@ export namespace drive_v2 { list( params: Params$Resource$Teamdrives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Teamdrives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Teamdrives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9912,7 +10129,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Teamdrives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9966,11 +10186,11 @@ export namespace drive_v2 { update( params: Params$Resource$Teamdrives$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Teamdrives$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Teamdrives$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9999,7 +10219,10 @@ export namespace drive_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Teamdrives$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/drive/v3.ts b/src/apis/drive/v3.ts index 99e142b22d3..e54d74b0c23 100644 --- a/src/apis/drive/v3.ts +++ b/src/apis/drive/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1748,11 +1748,11 @@ export namespace drive_v3 { get( params: Params$Resource$About$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$About$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$About$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1781,7 +1781,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$About$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1841,11 +1844,11 @@ export namespace drive_v3 { get( params: Params$Resource$Accessproposals$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accessproposals$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accessproposals$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1874,7 +1877,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accessproposals$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1928,11 +1934,11 @@ export namespace drive_v3 { list( params: Params$Resource$Accessproposals$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accessproposals$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accessproposals$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1967,8 +1973,8 @@ export namespace drive_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accessproposals$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2023,11 +2029,11 @@ export namespace drive_v3 { resolve( params: Params$Resource$Accessproposals$Resolve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params?: Params$Resource$Accessproposals$Resolve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params: Params$Resource$Accessproposals$Resolve, options: StreamMethodOptions | BodyResponseCallback, @@ -2054,7 +2060,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accessproposals$Resolve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2159,11 +2168,11 @@ export namespace drive_v3 { get( params: Params$Resource$Apps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Apps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2192,7 +2201,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2246,11 +2258,11 @@ export namespace drive_v3 { list( params: Params$Resource$Apps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Apps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Apps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2279,7 +2291,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2358,11 +2373,11 @@ export namespace drive_v3 { getStartPageToken( params: Params$Resource$Changes$Getstartpagetoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStartPageToken( params?: Params$Resource$Changes$Getstartpagetoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStartPageToken( params: Params$Resource$Changes$Getstartpagetoken, options: StreamMethodOptions | BodyResponseCallback, @@ -2393,7 +2408,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Getstartpagetoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2448,11 +2466,11 @@ export namespace drive_v3 { list( params: Params$Resource$Changes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Changes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Changes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2481,7 +2499,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2532,11 +2553,11 @@ export namespace drive_v3 { watch( params: Params$Resource$Changes$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Changes$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Changes$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -2565,7 +2586,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Changes$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2767,11 +2791,11 @@ export namespace drive_v3 { stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Channels$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -2798,7 +2822,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channels$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2866,11 +2893,11 @@ export namespace drive_v3 { create( params: Params$Resource$Comments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Comments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Comments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2899,7 +2926,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2953,11 +2983,11 @@ export namespace drive_v3 { delete( params: Params$Resource$Comments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Comments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Comments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2984,7 +3014,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3037,11 +3070,11 @@ export namespace drive_v3 { get( params: Params$Resource$Comments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Comments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Comments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3070,7 +3103,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3123,11 +3159,11 @@ export namespace drive_v3 { list( params: Params$Resource$Comments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Comments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Comments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3156,7 +3192,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3210,11 +3249,11 @@ export namespace drive_v3 { update( params: Params$Resource$Comments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Comments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Comments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3243,7 +3282,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3376,11 +3418,11 @@ export namespace drive_v3 { create( params: Params$Resource$Drives$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Drives$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Drives$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3409,7 +3451,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3460,11 +3505,11 @@ export namespace drive_v3 { delete( params: Params$Resource$Drives$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Drives$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Drives$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3491,7 +3536,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3545,11 +3593,11 @@ export namespace drive_v3 { get( params: Params$Resource$Drives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Drives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Drives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3578,7 +3626,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3632,11 +3683,11 @@ export namespace drive_v3 { hide( params: Params$Resource$Drives$Hide, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; hide( params?: Params$Resource$Drives$Hide, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; hide( params: Params$Resource$Drives$Hide, options: StreamMethodOptions | BodyResponseCallback, @@ -3665,7 +3716,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Hide; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3719,11 +3773,11 @@ export namespace drive_v3 { list( params: Params$Resource$Drives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Drives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Drives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3752,7 +3806,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3803,11 +3860,11 @@ export namespace drive_v3 { unhide( params: Params$Resource$Drives$Unhide, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unhide( params?: Params$Resource$Drives$Unhide, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unhide( params: Params$Resource$Drives$Unhide, options: StreamMethodOptions | BodyResponseCallback, @@ -3836,7 +3893,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Unhide; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3890,11 +3950,11 @@ export namespace drive_v3 { update( params: Params$Resource$Drives$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Drives$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Drives$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3923,7 +3983,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Drives$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4065,11 +4128,11 @@ export namespace drive_v3 { copy( params: Params$Resource$Files$Copy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copy( params?: Params$Resource$Files$Copy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copy( params: Params$Resource$Files$Copy, options: StreamMethodOptions | BodyResponseCallback, @@ -4098,7 +4161,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Copy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4152,11 +4218,11 @@ export namespace drive_v3 { create( params: Params$Resource$Files$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Files$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Files$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4185,7 +4251,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4240,11 +4309,11 @@ export namespace drive_v3 { delete( params: Params$Resource$Files$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Files$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Files$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4271,7 +4340,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4325,11 +4397,11 @@ export namespace drive_v3 { download( params: Params$Resource$Files$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Files$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Files$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -4358,7 +4430,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4412,11 +4487,11 @@ export namespace drive_v3 { emptyTrash( params: Params$Resource$Files$Emptytrash, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; emptyTrash( params?: Params$Resource$Files$Emptytrash, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; emptyTrash( params: Params$Resource$Files$Emptytrash, options: StreamMethodOptions | BodyResponseCallback, @@ -4443,7 +4518,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Emptytrash; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4497,11 +4575,11 @@ export namespace drive_v3 { export( params: Params$Resource$Files$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Files$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Files$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -4528,7 +4606,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4582,11 +4663,11 @@ export namespace drive_v3 { generateIds( params: Params$Resource$Files$Generateids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateIds( params?: Params$Resource$Files$Generateids, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateIds( params: Params$Resource$Files$Generateids, options: StreamMethodOptions | BodyResponseCallback, @@ -4615,7 +4696,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Generateids; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4670,11 +4754,11 @@ export namespace drive_v3 { get( params: Params$Resource$Files$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Files$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Files$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4703,7 +4787,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4757,11 +4844,11 @@ export namespace drive_v3 { list( params: Params$Resource$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4790,7 +4877,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4841,11 +4931,11 @@ export namespace drive_v3 { listLabels( params: Params$Resource$Files$Listlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listLabels( params?: Params$Resource$Files$Listlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listLabels( params: Params$Resource$Files$Listlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -4874,7 +4964,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Listlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4928,11 +5021,11 @@ export namespace drive_v3 { modifyLabels( params: Params$Resource$Files$Modifylabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyLabels( params?: Params$Resource$Files$Modifylabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyLabels( params: Params$Resource$Files$Modifylabels, options: StreamMethodOptions | BodyResponseCallback, @@ -4967,8 +5060,8 @@ export namespace drive_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Modifylabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5023,11 +5116,11 @@ export namespace drive_v3 { update( params: Params$Resource$Files$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Files$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Files$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5056,7 +5149,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5114,11 +5210,11 @@ export namespace drive_v3 { watch( params: Params$Resource$Files$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Files$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Files$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -5147,7 +5243,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5588,11 +5687,11 @@ export namespace drive_v3 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -5619,7 +5718,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5674,11 +5776,11 @@ export namespace drive_v3 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5705,7 +5807,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5760,11 +5865,11 @@ export namespace drive_v3 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5793,7 +5898,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5847,11 +5955,11 @@ export namespace drive_v3 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5884,8 +5992,8 @@ export namespace drive_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5985,11 +6093,11 @@ export namespace drive_v3 { create( params: Params$Resource$Permissions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Permissions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Permissions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6018,7 +6126,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6073,11 +6184,11 @@ export namespace drive_v3 { delete( params: Params$Resource$Permissions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Permissions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Permissions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6104,7 +6215,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6158,11 +6272,11 @@ export namespace drive_v3 { get( params: Params$Resource$Permissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Permissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Permissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6191,7 +6305,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6244,11 +6361,11 @@ export namespace drive_v3 { list( params: Params$Resource$Permissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Permissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Permissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6277,7 +6394,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6331,11 +6451,11 @@ export namespace drive_v3 { update( params: Params$Resource$Permissions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Permissions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Permissions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6364,7 +6484,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6414,6 +6537,10 @@ export namespace drive_v3 { * A plain text custom message to include in the notification email. */ emailMessage?: string; + /** + * Whether the request should enforce expansive access rules. + */ + enforceExpansiveAccess?: boolean; /** * Deprecated: See `moveToNewOwnersRoot` for details. */ @@ -6589,11 +6716,11 @@ export namespace drive_v3 { create( params: Params$Resource$Replies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Replies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Replies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6622,7 +6749,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Replies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6675,11 +6805,11 @@ export namespace drive_v3 { delete( params: Params$Resource$Replies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Replies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Replies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6706,7 +6836,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Replies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6760,11 +6893,11 @@ export namespace drive_v3 { get( params: Params$Resource$Replies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Replies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Replies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6793,7 +6926,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Replies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6847,11 +6983,11 @@ export namespace drive_v3 { list( params: Params$Resource$Replies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Replies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Replies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6880,7 +7016,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Replies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6933,11 +7072,11 @@ export namespace drive_v3 { update( params: Params$Resource$Replies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Replies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Replies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6966,7 +7105,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Replies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7116,11 +7258,11 @@ export namespace drive_v3 { delete( params: Params$Resource$Revisions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Revisions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Revisions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7147,7 +7289,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Revisions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7200,11 +7345,11 @@ export namespace drive_v3 { get( params: Params$Resource$Revisions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Revisions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Revisions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7233,7 +7378,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Revisions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7286,11 +7434,11 @@ export namespace drive_v3 { list( params: Params$Resource$Revisions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Revisions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Revisions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7319,7 +7467,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Revisions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7373,11 +7524,11 @@ export namespace drive_v3 { update( params: Params$Resource$Revisions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Revisions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Revisions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7406,7 +7557,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Revisions$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7520,11 +7674,11 @@ export namespace drive_v3 { create( params: Params$Resource$Teamdrives$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Teamdrives$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Teamdrives$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7553,7 +7707,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Teamdrives$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7608,11 +7765,11 @@ export namespace drive_v3 { delete( params: Params$Resource$Teamdrives$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Teamdrives$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Teamdrives$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7639,7 +7796,10 @@ export namespace drive_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Teamdrives$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7694,11 +7854,11 @@ export namespace drive_v3 { get( params: Params$Resource$Teamdrives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Teamdrives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Teamdrives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7727,7 +7887,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Teamdrives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7781,11 +7944,11 @@ export namespace drive_v3 { list( params: Params$Resource$Teamdrives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Teamdrives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Teamdrives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7814,7 +7977,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Teamdrives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7868,11 +8034,11 @@ export namespace drive_v3 { update( params: Params$Resource$Teamdrives$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Teamdrives$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Teamdrives$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7901,7 +8067,10 @@ export namespace drive_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Teamdrives$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/driveactivity/index.ts b/src/apis/driveactivity/index.ts index e2d745c9355..cced68ecaf0 100644 --- a/src/apis/driveactivity/index.ts +++ b/src/apis/driveactivity/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/driveactivity/package.json b/src/apis/driveactivity/package.json index 143daec44a3..9f74b896f50 100644 --- a/src/apis/driveactivity/package.json +++ b/src/apis/driveactivity/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/driveactivity/v2.ts b/src/apis/driveactivity/v2.ts index 89b794092a2..5c03627c0e9 100644 --- a/src/apis/driveactivity/v2.ts +++ b/src/apis/driveactivity/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1056,11 +1056,11 @@ export namespace driveactivity_v2 { query( params: Params$Resource$Activity$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Activity$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Activity$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -1095,8 +1095,8 @@ export namespace driveactivity_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Activity$Query; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/drivelabels/index.ts b/src/apis/drivelabels/index.ts index 1ef23936142..2706044c4f2 100644 --- a/src/apis/drivelabels/index.ts +++ b/src/apis/drivelabels/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/drivelabels/package.json b/src/apis/drivelabels/package.json index 78be7333f0a..3e87a526492 100644 --- a/src/apis/drivelabels/package.json +++ b/src/apis/drivelabels/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/drivelabels/v2.ts b/src/apis/drivelabels/v2.ts index 4caac340a91..8af00b5b5a3 100644 --- a/src/apis/drivelabels/v2.ts +++ b/src/apis/drivelabels/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1708,11 +1708,11 @@ export namespace drivelabels_v2 { create( params: Params$Resource$Labels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Labels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Labels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1747,8 +1747,8 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1801,11 +1801,11 @@ export namespace drivelabels_v2 { delete( params: Params$Resource$Labels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Labels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Labels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1836,8 +1836,8 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1888,11 +1888,13 @@ export namespace drivelabels_v2 { delta( params: Params$Resource$Labels$Delta, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delta( params?: Params$Resource$Labels$Delta, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; delta( params: Params$Resource$Labels$Delta, options: StreamMethodOptions | BodyResponseCallback, @@ -1927,8 +1929,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Delta; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1981,11 +1985,11 @@ export namespace drivelabels_v2 { disable( params: Params$Resource$Labels$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Labels$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Labels$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -2020,8 +2024,8 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2077,11 +2081,11 @@ export namespace drivelabels_v2 { enable( params: Params$Resource$Labels$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Labels$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Labels$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -2116,8 +2120,8 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2170,11 +2174,11 @@ export namespace drivelabels_v2 { get( params: Params$Resource$Labels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Labels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Labels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2209,8 +2213,8 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2263,11 +2267,13 @@ export namespace drivelabels_v2 { list( params: Params$Resource$Labels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Labels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Labels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2302,8 +2308,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2356,11 +2364,11 @@ export namespace drivelabels_v2 { publish( params: Params$Resource$Labels$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Labels$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Labels$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -2395,8 +2403,8 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2452,11 +2460,11 @@ export namespace drivelabels_v2 { updateLabelCopyMode( params: Params$Resource$Labels$Updatelabelcopymode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateLabelCopyMode( params?: Params$Resource$Labels$Updatelabelcopymode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateLabelCopyMode( params: Params$Resource$Labels$Updatelabelcopymode, options: StreamMethodOptions | BodyResponseCallback, @@ -2491,8 +2499,8 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Updatelabelcopymode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2549,11 +2557,13 @@ export namespace drivelabels_v2 { updatePermissions( params: Params$Resource$Labels$Updatepermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePermissions( params?: Params$Resource$Labels$Updatepermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updatePermissions( params: Params$Resource$Labels$Updatepermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2588,8 +2598,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Updatepermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2807,11 +2819,13 @@ export namespace drivelabels_v2 { list( params: Params$Resource$Labels$Locks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Labels$Locks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Labels$Locks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2846,8 +2860,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Locks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2927,11 +2943,11 @@ export namespace drivelabels_v2 { batchDelete( params: Params$Resource$Labels$Permissions$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Labels$Permissions$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Labels$Permissions$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2964,8 +2980,8 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Permissions$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3020,11 +3036,13 @@ export namespace drivelabels_v2 { batchUpdate( params: Params$Resource$Labels$Permissions$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Labels$Permissions$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Labels$Permissions$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -3059,8 +3077,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Permissions$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3117,11 +3137,13 @@ export namespace drivelabels_v2 { create( params: Params$Resource$Labels$Permissions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Labels$Permissions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Labels$Permissions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3156,8 +3178,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Permissions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3214,11 +3238,11 @@ export namespace drivelabels_v2 { delete( params: Params$Resource$Labels$Permissions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Labels$Permissions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Labels$Permissions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3249,8 +3273,8 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Permissions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3302,11 +3326,13 @@ export namespace drivelabels_v2 { list( params: Params$Resource$Labels$Permissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Labels$Permissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Labels$Permissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3341,8 +3367,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Permissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3483,11 +3511,13 @@ export namespace drivelabels_v2 { updatePermissions( params: Params$Resource$Labels$Revisions$Updatepermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePermissions( params?: Params$Resource$Labels$Revisions$Updatepermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updatePermissions( params: Params$Resource$Labels$Revisions$Updatepermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3522,8 +3552,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Updatepermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3604,11 +3636,13 @@ export namespace drivelabels_v2 { list( params: Params$Resource$Labels$Revisions$Locks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Labels$Revisions$Locks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Labels$Revisions$Locks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3643,8 +3677,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Locks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3724,11 +3760,11 @@ export namespace drivelabels_v2 { batchDelete( params: Params$Resource$Labels$Revisions$Permissions$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Labels$Revisions$Permissions$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Labels$Revisions$Permissions$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -3761,8 +3797,8 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Permissions$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3817,11 +3853,13 @@ export namespace drivelabels_v2 { batchUpdate( params: Params$Resource$Labels$Revisions$Permissions$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Labels$Revisions$Permissions$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Labels$Revisions$Permissions$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -3856,8 +3894,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Permissions$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3914,11 +3954,13 @@ export namespace drivelabels_v2 { create( params: Params$Resource$Labels$Revisions$Permissions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Labels$Revisions$Permissions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Labels$Revisions$Permissions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3953,8 +3995,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Permissions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4011,11 +4055,11 @@ export namespace drivelabels_v2 { delete( params: Params$Resource$Labels$Revisions$Permissions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Labels$Revisions$Permissions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Labels$Revisions$Permissions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4046,8 +4090,8 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Permissions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4099,11 +4143,13 @@ export namespace drivelabels_v2 { list( params: Params$Resource$Labels$Revisions$Permissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Labels$Revisions$Permissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Labels$Revisions$Permissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4138,8 +4184,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Permissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4274,11 +4322,13 @@ export namespace drivelabels_v2 { getLabel( params: Params$Resource$Limits$Getlabel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLabel( params?: Params$Resource$Limits$Getlabel, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getLabel( params: Params$Resource$Limits$Getlabel, options: StreamMethodOptions | BodyResponseCallback, @@ -4313,8 +4363,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Limits$Getlabel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4381,11 +4433,13 @@ export namespace drivelabels_v2 { getCapabilities( params: Params$Resource$Users$Getcapabilities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCapabilities( params?: Params$Resource$Users$Getcapabilities, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getCapabilities( params: Params$Resource$Users$Getcapabilities, options: StreamMethodOptions | BodyResponseCallback, @@ -4420,8 +4474,10 @@ export namespace drivelabels_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Getcapabilities; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/drivelabels/v2beta.ts b/src/apis/drivelabels/v2beta.ts index 1b3ddef06dd..94cc0a8f21b 100644 --- a/src/apis/drivelabels/v2beta.ts +++ b/src/apis/drivelabels/v2beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1708,11 +1708,13 @@ export namespace drivelabels_v2beta { create( params: Params$Resource$Labels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Labels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Labels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1747,8 +1749,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1801,11 +1805,11 @@ export namespace drivelabels_v2beta { delete( params: Params$Resource$Labels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Labels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Labels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1836,8 +1840,8 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1888,11 +1892,13 @@ export namespace drivelabels_v2beta { delta( params: Params$Resource$Labels$Delta, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delta( params?: Params$Resource$Labels$Delta, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; delta( params: Params$Resource$Labels$Delta, options: StreamMethodOptions | BodyResponseCallback, @@ -1927,8 +1933,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Delta; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1984,11 +1992,13 @@ export namespace drivelabels_v2beta { disable( params: Params$Resource$Labels$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Labels$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; disable( params: Params$Resource$Labels$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -2023,8 +2033,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2080,11 +2092,13 @@ export namespace drivelabels_v2beta { enable( params: Params$Resource$Labels$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Labels$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; enable( params: Params$Resource$Labels$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -2119,8 +2133,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2176,11 +2192,13 @@ export namespace drivelabels_v2beta { get( params: Params$Resource$Labels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Labels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Labels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2215,8 +2233,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2269,11 +2289,13 @@ export namespace drivelabels_v2beta { list( params: Params$Resource$Labels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Labels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Labels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2308,8 +2330,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2362,11 +2386,13 @@ export namespace drivelabels_v2beta { publish( params: Params$Resource$Labels$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Labels$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; publish( params: Params$Resource$Labels$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -2401,8 +2427,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2458,11 +2486,13 @@ export namespace drivelabels_v2beta { updateLabelCopyMode( params: Params$Resource$Labels$Updatelabelcopymode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateLabelCopyMode( params?: Params$Resource$Labels$Updatelabelcopymode, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateLabelCopyMode( params: Params$Resource$Labels$Updatelabelcopymode, options: StreamMethodOptions | BodyResponseCallback, @@ -2497,8 +2527,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Updatelabelcopymode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2555,11 +2587,13 @@ export namespace drivelabels_v2beta { updatePermissions( params: Params$Resource$Labels$Updatepermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePermissions( params?: Params$Resource$Labels$Updatepermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updatePermissions( params: Params$Resource$Labels$Updatepermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2594,8 +2628,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Updatepermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2813,11 +2849,13 @@ export namespace drivelabels_v2beta { list( params: Params$Resource$Labels$Locks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Labels$Locks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Labels$Locks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2852,8 +2890,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Locks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2933,11 +2973,11 @@ export namespace drivelabels_v2beta { batchDelete( params: Params$Resource$Labels$Permissions$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Labels$Permissions$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Labels$Permissions$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2970,8 +3010,8 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Permissions$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3025,11 +3065,13 @@ export namespace drivelabels_v2beta { batchUpdate( params: Params$Resource$Labels$Permissions$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Labels$Permissions$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Labels$Permissions$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -3064,8 +3106,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Permissions$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3121,11 +3165,13 @@ export namespace drivelabels_v2beta { create( params: Params$Resource$Labels$Permissions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Labels$Permissions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Labels$Permissions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3160,8 +3206,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Permissions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3218,11 +3266,11 @@ export namespace drivelabels_v2beta { delete( params: Params$Resource$Labels$Permissions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Labels$Permissions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Labels$Permissions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3253,8 +3301,8 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Permissions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3306,11 +3354,13 @@ export namespace drivelabels_v2beta { list( params: Params$Resource$Labels$Permissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Labels$Permissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Labels$Permissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3345,8 +3395,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Permissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3487,11 +3539,13 @@ export namespace drivelabels_v2beta { updatePermissions( params: Params$Resource$Labels$Revisions$Updatepermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePermissions( params?: Params$Resource$Labels$Revisions$Updatepermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updatePermissions( params: Params$Resource$Labels$Revisions$Updatepermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3526,8 +3580,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Updatepermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3608,11 +3664,13 @@ export namespace drivelabels_v2beta { list( params: Params$Resource$Labels$Revisions$Locks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Labels$Revisions$Locks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Labels$Revisions$Locks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3647,8 +3705,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Locks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3728,11 +3788,11 @@ export namespace drivelabels_v2beta { batchDelete( params: Params$Resource$Labels$Revisions$Permissions$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Labels$Revisions$Permissions$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Labels$Revisions$Permissions$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -3765,8 +3825,8 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Permissions$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3820,11 +3880,13 @@ export namespace drivelabels_v2beta { batchUpdate( params: Params$Resource$Labels$Revisions$Permissions$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Labels$Revisions$Permissions$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Labels$Revisions$Permissions$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -3859,8 +3921,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Permissions$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3916,11 +3980,13 @@ export namespace drivelabels_v2beta { create( params: Params$Resource$Labels$Revisions$Permissions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Labels$Revisions$Permissions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Labels$Revisions$Permissions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3955,8 +4021,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Permissions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4013,11 +4081,11 @@ export namespace drivelabels_v2beta { delete( params: Params$Resource$Labels$Revisions$Permissions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Labels$Revisions$Permissions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Labels$Revisions$Permissions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4048,8 +4116,8 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Permissions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4101,11 +4169,13 @@ export namespace drivelabels_v2beta { list( params: Params$Resource$Labels$Revisions$Permissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Labels$Revisions$Permissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Labels$Revisions$Permissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4140,8 +4210,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Labels$Revisions$Permissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4276,11 +4348,13 @@ export namespace drivelabels_v2beta { getLabel( params: Params$Resource$Limits$Getlabel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLabel( params?: Params$Resource$Limits$Getlabel, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getLabel( params: Params$Resource$Limits$Getlabel, options: StreamMethodOptions | BodyResponseCallback, @@ -4315,8 +4389,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Limits$Getlabel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4386,11 +4462,13 @@ export namespace drivelabels_v2beta { getCapabilities( params: Params$Resource$Users$Getcapabilities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCapabilities( params?: Params$Resource$Users$Getcapabilities, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getCapabilities( params: Params$Resource$Users$Getcapabilities, options: StreamMethodOptions | BodyResponseCallback, @@ -4425,8 +4503,10 @@ export namespace drivelabels_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Getcapabilities; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/essentialcontacts/index.ts b/src/apis/essentialcontacts/index.ts index b82b534f5d6..abd17508c25 100644 --- a/src/apis/essentialcontacts/index.ts +++ b/src/apis/essentialcontacts/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/essentialcontacts/package.json b/src/apis/essentialcontacts/package.json index 6edcabad95d..6a4edab3240 100644 --- a/src/apis/essentialcontacts/package.json +++ b/src/apis/essentialcontacts/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/essentialcontacts/v1.ts b/src/apis/essentialcontacts/v1.ts index 3d57ab002a9..ec4599926ad 100644 --- a/src/apis/essentialcontacts/v1.ts +++ b/src/apis/essentialcontacts/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -227,11 +227,13 @@ export namespace essentialcontacts_v1 { compute( params: Params$Resource$Folders$Contacts$Compute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; compute( params?: Params$Resource$Folders$Contacts$Compute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; compute( params: Params$Resource$Folders$Contacts$Compute, options: StreamMethodOptions | BodyResponseCallback, @@ -266,8 +268,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Contacts$Compute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -325,11 +329,13 @@ export namespace essentialcontacts_v1 { create( params: Params$Resource$Folders$Contacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Contacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Folders$Contacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -364,8 +370,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Contacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -423,11 +431,11 @@ export namespace essentialcontacts_v1 { delete( params: Params$Resource$Folders$Contacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Contacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Contacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -458,8 +466,8 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Contacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -512,11 +520,13 @@ export namespace essentialcontacts_v1 { get( params: Params$Resource$Folders$Contacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Contacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Contacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -551,8 +561,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Contacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -607,11 +619,13 @@ export namespace essentialcontacts_v1 { list( params: Params$Resource$Folders$Contacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Contacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Contacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -646,8 +660,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Contacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -705,11 +721,13 @@ export namespace essentialcontacts_v1 { patch( params: Params$Resource$Folders$Contacts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Contacts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Folders$Contacts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -744,8 +762,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Contacts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -800,11 +820,11 @@ export namespace essentialcontacts_v1 { sendTestMessage( params: Params$Resource$Folders$Contacts$Sendtestmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendTestMessage( params?: Params$Resource$Folders$Contacts$Sendtestmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendTestMessage( params: Params$Resource$Folders$Contacts$Sendtestmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -837,8 +857,8 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Contacts$Sendtestmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -999,11 +1019,13 @@ export namespace essentialcontacts_v1 { compute( params: Params$Resource$Organizations$Contacts$Compute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; compute( params?: Params$Resource$Organizations$Contacts$Compute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; compute( params: Params$Resource$Organizations$Contacts$Compute, options: StreamMethodOptions | BodyResponseCallback, @@ -1038,8 +1060,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Contacts$Compute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1097,11 +1121,13 @@ export namespace essentialcontacts_v1 { create( params: Params$Resource$Organizations$Contacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Contacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Contacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1136,8 +1162,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Contacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1195,11 +1223,11 @@ export namespace essentialcontacts_v1 { delete( params: Params$Resource$Organizations$Contacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Contacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Contacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1230,8 +1258,8 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Contacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1284,11 +1312,13 @@ export namespace essentialcontacts_v1 { get( params: Params$Resource$Organizations$Contacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Contacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Contacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1323,8 +1353,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Contacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1379,11 +1411,13 @@ export namespace essentialcontacts_v1 { list( params: Params$Resource$Organizations$Contacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Contacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Contacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1418,8 +1452,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Contacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1477,11 +1513,13 @@ export namespace essentialcontacts_v1 { patch( params: Params$Resource$Organizations$Contacts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Contacts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Contacts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1516,8 +1554,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Contacts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1572,11 +1612,11 @@ export namespace essentialcontacts_v1 { sendTestMessage( params: Params$Resource$Organizations$Contacts$Sendtestmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendTestMessage( params?: Params$Resource$Organizations$Contacts$Sendtestmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendTestMessage( params: Params$Resource$Organizations$Contacts$Sendtestmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -1609,8 +1649,8 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Contacts$Sendtestmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1771,11 +1811,13 @@ export namespace essentialcontacts_v1 { compute( params: Params$Resource$Projects$Contacts$Compute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; compute( params?: Params$Resource$Projects$Contacts$Compute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; compute( params: Params$Resource$Projects$Contacts$Compute, options: StreamMethodOptions | BodyResponseCallback, @@ -1810,8 +1852,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Contacts$Compute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1869,11 +1913,13 @@ export namespace essentialcontacts_v1 { create( params: Params$Resource$Projects$Contacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Contacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Contacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1908,8 +1954,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Contacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1967,11 +2015,11 @@ export namespace essentialcontacts_v1 { delete( params: Params$Resource$Projects$Contacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Contacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Contacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2002,8 +2050,8 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Contacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2056,11 +2104,13 @@ export namespace essentialcontacts_v1 { get( params: Params$Resource$Projects$Contacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Contacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Contacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2095,8 +2145,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Contacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2151,11 +2203,13 @@ export namespace essentialcontacts_v1 { list( params: Params$Resource$Projects$Contacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Contacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Contacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2190,8 +2244,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Contacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2249,11 +2305,13 @@ export namespace essentialcontacts_v1 { patch( params: Params$Resource$Projects$Contacts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Contacts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Contacts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2288,8 +2346,10 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Contacts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2344,11 +2404,11 @@ export namespace essentialcontacts_v1 { sendTestMessage( params: Params$Resource$Projects$Contacts$Sendtestmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendTestMessage( params?: Params$Resource$Projects$Contacts$Sendtestmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendTestMessage( params: Params$Resource$Projects$Contacts$Sendtestmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -2381,8 +2441,8 @@ export namespace essentialcontacts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Contacts$Sendtestmessage; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/eventarc/index.ts b/src/apis/eventarc/index.ts index c94dea406cf..93a09381250 100644 --- a/src/apis/eventarc/index.ts +++ b/src/apis/eventarc/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/eventarc/package.json b/src/apis/eventarc/package.json index 8e2d5d14e6b..3df5548e75e 100644 --- a/src/apis/eventarc/package.json +++ b/src/apis/eventarc/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/eventarc/v1.ts b/src/apis/eventarc/v1.ts index 55f57aa1a81..9d050a980ea 100644 --- a/src/apis/eventarc/v1.ts +++ b/src/apis/eventarc/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1330,11 +1330,11 @@ export namespace eventarc_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1363,7 +1363,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1415,11 +1418,11 @@ export namespace eventarc_v1 { getGoogleChannelConfig( params: Params$Resource$Projects$Locations$Getgooglechannelconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGoogleChannelConfig( params?: Params$Resource$Projects$Locations$Getgooglechannelconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getGoogleChannelConfig( params: Params$Resource$Projects$Locations$Getgooglechannelconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1452,8 +1455,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getgooglechannelconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1506,11 +1509,11 @@ export namespace eventarc_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1543,8 +1546,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1599,11 +1602,11 @@ export namespace eventarc_v1 { updateGoogleChannelConfig( params: Params$Resource$Projects$Locations$Updategooglechannelconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGoogleChannelConfig( params?: Params$Resource$Projects$Locations$Updategooglechannelconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateGoogleChannelConfig( params: Params$Resource$Projects$Locations$Updategooglechannelconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1636,8 +1639,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updategooglechannelconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1751,11 +1754,11 @@ export namespace eventarc_v1 { create( params: Params$Resource$Projects$Locations$Channelconnections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Channelconnections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Channelconnections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1790,8 +1793,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channelconnections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1847,11 +1850,11 @@ export namespace eventarc_v1 { delete( params: Params$Resource$Projects$Locations$Channelconnections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Channelconnections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Channelconnections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1886,8 +1889,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channelconnections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1940,11 +1943,11 @@ export namespace eventarc_v1 { get( params: Params$Resource$Projects$Locations$Channelconnections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Channelconnections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Channelconnections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1975,8 +1978,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channelconnections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2029,11 +2032,11 @@ export namespace eventarc_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Channelconnections$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Channelconnections$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Channelconnections$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2062,7 +2065,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channelconnections$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2118,11 +2124,11 @@ export namespace eventarc_v1 { list( params: Params$Resource$Projects$Locations$Channelconnections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Channelconnections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Channelconnections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2157,8 +2163,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channelconnections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2216,11 +2222,11 @@ export namespace eventarc_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Channelconnections$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Channelconnections$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Channelconnections$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2249,7 +2255,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channelconnections$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2305,11 +2314,11 @@ export namespace eventarc_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Channelconnections$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Channelconnections$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Channelconnections$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2344,8 +2353,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channelconnections$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2489,11 +2498,11 @@ export namespace eventarc_v1 { create( params: Params$Resource$Projects$Locations$Channels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Channels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Channels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2528,8 +2537,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2584,11 +2593,11 @@ export namespace eventarc_v1 { delete( params: Params$Resource$Projects$Locations$Channels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Channels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Channels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2623,8 +2632,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2676,11 +2685,11 @@ export namespace eventarc_v1 { get( params: Params$Resource$Projects$Locations$Channels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Channels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Channels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2709,7 +2718,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2761,11 +2773,11 @@ export namespace eventarc_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Channels$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Channels$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Channels$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2794,7 +2806,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channels$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2849,11 +2864,11 @@ export namespace eventarc_v1 { list( params: Params$Resource$Projects$Locations$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2886,8 +2901,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2942,11 +2957,11 @@ export namespace eventarc_v1 { patch( params: Params$Resource$Projects$Locations$Channels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Channels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Channels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2981,8 +2996,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3034,11 +3049,11 @@ export namespace eventarc_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Channels$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Channels$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Channels$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3067,7 +3082,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channels$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3122,11 +3140,11 @@ export namespace eventarc_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Channels$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Channels$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Channels$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3161,8 +3179,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Channels$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3338,11 +3356,11 @@ export namespace eventarc_v1 { create( params: Params$Resource$Projects$Locations$Enrollments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Enrollments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Enrollments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3377,8 +3395,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Enrollments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3433,11 +3451,11 @@ export namespace eventarc_v1 { delete( params: Params$Resource$Projects$Locations$Enrollments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Enrollments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Enrollments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3472,8 +3490,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Enrollments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3525,11 +3543,11 @@ export namespace eventarc_v1 { get( params: Params$Resource$Projects$Locations$Enrollments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Enrollments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Enrollments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3558,7 +3576,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Enrollments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3610,11 +3631,11 @@ export namespace eventarc_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Enrollments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Enrollments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Enrollments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3643,7 +3664,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Enrollments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3699,11 +3723,11 @@ export namespace eventarc_v1 { list( params: Params$Resource$Projects$Locations$Enrollments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Enrollments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Enrollments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3736,8 +3760,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Enrollments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3792,11 +3816,11 @@ export namespace eventarc_v1 { patch( params: Params$Resource$Projects$Locations$Enrollments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Enrollments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Enrollments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3831,8 +3855,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Enrollments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3884,11 +3908,11 @@ export namespace eventarc_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Enrollments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Enrollments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Enrollments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3917,7 +3941,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Enrollments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3973,11 +4000,11 @@ export namespace eventarc_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Enrollments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Enrollments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Enrollments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4012,8 +4039,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Enrollments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4205,11 +4232,11 @@ export namespace eventarc_v1 { create( params: Params$Resource$Projects$Locations$Googleapisources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Googleapisources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Googleapisources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4244,8 +4271,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Googleapisources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4301,11 +4328,11 @@ export namespace eventarc_v1 { delete( params: Params$Resource$Projects$Locations$Googleapisources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Googleapisources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Googleapisources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4340,8 +4367,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Googleapisources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4394,11 +4421,11 @@ export namespace eventarc_v1 { get( params: Params$Resource$Projects$Locations$Googleapisources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Googleapisources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Googleapisources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4427,7 +4454,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Googleapisources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4479,11 +4509,11 @@ export namespace eventarc_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Googleapisources$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Googleapisources$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Googleapisources$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4512,7 +4542,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Googleapisources$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4568,11 +4601,11 @@ export namespace eventarc_v1 { list( params: Params$Resource$Projects$Locations$Googleapisources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Googleapisources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Googleapisources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4607,8 +4640,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Googleapisources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4665,11 +4698,11 @@ export namespace eventarc_v1 { patch( params: Params$Resource$Projects$Locations$Googleapisources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Googleapisources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Googleapisources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4704,8 +4737,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Googleapisources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4758,11 +4791,11 @@ export namespace eventarc_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Googleapisources$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Googleapisources$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Googleapisources$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4791,7 +4824,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Googleapisources$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4847,11 +4883,11 @@ export namespace eventarc_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Googleapisources$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Googleapisources$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Googleapisources$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4886,8 +4922,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Googleapisources$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5079,11 +5115,11 @@ export namespace eventarc_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Kafkasources$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Kafkasources$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Kafkasources$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5112,7 +5148,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kafkasources$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5168,11 +5207,11 @@ export namespace eventarc_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Kafkasources$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Kafkasources$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Kafkasources$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5201,7 +5240,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kafkasources$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5257,11 +5299,11 @@ export namespace eventarc_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Kafkasources$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Kafkasources$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Kafkasources$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5296,8 +5338,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kafkasources$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5396,11 +5438,11 @@ export namespace eventarc_v1 { create( params: Params$Resource$Projects$Locations$Messagebuses$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Messagebuses$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Messagebuses$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5435,8 +5477,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Messagebuses$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5491,11 +5533,11 @@ export namespace eventarc_v1 { delete( params: Params$Resource$Projects$Locations$Messagebuses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Messagebuses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Messagebuses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5530,8 +5572,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Messagebuses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5583,11 +5625,11 @@ export namespace eventarc_v1 { get( params: Params$Resource$Projects$Locations$Messagebuses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Messagebuses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Messagebuses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5616,7 +5658,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Messagebuses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5668,11 +5713,11 @@ export namespace eventarc_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Messagebuses$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Messagebuses$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Messagebuses$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5701,7 +5746,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Messagebuses$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5757,11 +5805,11 @@ export namespace eventarc_v1 { list( params: Params$Resource$Projects$Locations$Messagebuses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Messagebuses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Messagebuses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5794,8 +5842,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Messagebuses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5850,11 +5898,13 @@ export namespace eventarc_v1 { listEnrollments( params: Params$Resource$Projects$Locations$Messagebuses$Listenrollments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listEnrollments( params?: Params$Resource$Projects$Locations$Messagebuses$Listenrollments, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listEnrollments( params: Params$Resource$Projects$Locations$Messagebuses$Listenrollments, options: StreamMethodOptions | BodyResponseCallback, @@ -5889,8 +5939,10 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Messagebuses$Listenrollments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5948,11 +6000,11 @@ export namespace eventarc_v1 { patch( params: Params$Resource$Projects$Locations$Messagebuses$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Messagebuses$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Messagebuses$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5987,8 +6039,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Messagebuses$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6040,11 +6092,11 @@ export namespace eventarc_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Messagebuses$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Messagebuses$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Messagebuses$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6073,7 +6125,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Messagebuses$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6129,11 +6184,11 @@ export namespace eventarc_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Messagebuses$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Messagebuses$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Messagebuses$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6168,8 +6223,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Messagebuses$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6376,11 +6431,11 @@ export namespace eventarc_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6409,7 +6464,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6461,11 +6519,11 @@ export namespace eventarc_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6494,7 +6552,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6546,11 +6607,11 @@ export namespace eventarc_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6585,8 +6646,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6638,11 +6699,13 @@ export namespace eventarc_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6677,8 +6740,10 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6788,11 +6853,11 @@ export namespace eventarc_v1 { create( params: Params$Resource$Projects$Locations$Pipelines$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Pipelines$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Pipelines$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6827,8 +6892,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6883,11 +6948,11 @@ export namespace eventarc_v1 { delete( params: Params$Resource$Projects$Locations$Pipelines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Pipelines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Pipelines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6922,8 +6987,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6975,11 +7040,11 @@ export namespace eventarc_v1 { get( params: Params$Resource$Projects$Locations$Pipelines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Pipelines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Pipelines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7008,7 +7073,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7060,11 +7128,11 @@ export namespace eventarc_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Pipelines$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Pipelines$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Pipelines$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7093,7 +7161,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7149,11 +7220,11 @@ export namespace eventarc_v1 { list( params: Params$Resource$Projects$Locations$Pipelines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Pipelines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Pipelines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7186,8 +7257,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7242,11 +7313,11 @@ export namespace eventarc_v1 { patch( params: Params$Resource$Projects$Locations$Pipelines$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Pipelines$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Pipelines$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7281,8 +7352,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7334,11 +7405,11 @@ export namespace eventarc_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Pipelines$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Pipelines$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Pipelines$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7367,7 +7438,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7423,11 +7497,11 @@ export namespace eventarc_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Pipelines$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Pipelines$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Pipelines$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7462,8 +7536,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7655,11 +7729,11 @@ export namespace eventarc_v1 { get( params: Params$Resource$Projects$Locations$Providers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Providers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Providers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7688,7 +7762,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7740,11 +7817,11 @@ export namespace eventarc_v1 { list( params: Params$Resource$Projects$Locations$Providers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Providers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Providers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7777,8 +7854,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Providers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7871,11 +7948,11 @@ export namespace eventarc_v1 { create( params: Params$Resource$Projects$Locations$Triggers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Triggers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Triggers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7910,8 +7987,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7966,11 +8043,11 @@ export namespace eventarc_v1 { delete( params: Params$Resource$Projects$Locations$Triggers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Triggers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Triggers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8005,8 +8082,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8058,11 +8135,11 @@ export namespace eventarc_v1 { get( params: Params$Resource$Projects$Locations$Triggers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Triggers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Triggers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8091,7 +8168,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8143,11 +8223,11 @@ export namespace eventarc_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Triggers$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Triggers$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Triggers$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8176,7 +8256,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8231,11 +8314,11 @@ export namespace eventarc_v1 { list( params: Params$Resource$Projects$Locations$Triggers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Triggers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Triggers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8268,8 +8351,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8324,11 +8407,11 @@ export namespace eventarc_v1 { patch( params: Params$Resource$Projects$Locations$Triggers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Triggers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Triggers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8363,8 +8446,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8416,11 +8499,11 @@ export namespace eventarc_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Triggers$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Triggers$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Triggers$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8449,7 +8532,10 @@ export namespace eventarc_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8504,11 +8590,11 @@ export namespace eventarc_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Triggers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Triggers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Triggers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8543,8 +8629,8 @@ export namespace eventarc_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/eventarc/v1beta1.ts b/src/apis/eventarc/v1beta1.ts index 0d48f65fc00..04beba0754d 100644 --- a/src/apis/eventarc/v1beta1.ts +++ b/src/apis/eventarc/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -526,11 +526,11 @@ export namespace eventarc_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -559,7 +559,7 @@ export namespace eventarc_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -611,11 +611,11 @@ export namespace eventarc_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -648,8 +648,8 @@ export namespace eventarc_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -738,11 +738,11 @@ export namespace eventarc_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -771,7 +771,7 @@ export namespace eventarc_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -826,11 +826,11 @@ export namespace eventarc_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -859,7 +859,7 @@ export namespace eventarc_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -911,11 +911,11 @@ export namespace eventarc_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -944,7 +944,7 @@ export namespace eventarc_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -996,11 +996,11 @@ export namespace eventarc_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1033,8 +1033,8 @@ export namespace eventarc_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1142,11 +1142,11 @@ export namespace eventarc_v1beta1 { create( params: Params$Resource$Projects$Locations$Triggers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Triggers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Triggers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1175,7 +1175,7 @@ export namespace eventarc_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1230,11 +1230,11 @@ export namespace eventarc_v1beta1 { delete( params: Params$Resource$Projects$Locations$Triggers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Triggers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Triggers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1263,7 +1263,7 @@ export namespace eventarc_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1315,11 +1315,11 @@ export namespace eventarc_v1beta1 { get( params: Params$Resource$Projects$Locations$Triggers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Triggers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Triggers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1348,7 +1348,7 @@ export namespace eventarc_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1400,11 +1400,11 @@ export namespace eventarc_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Triggers$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Triggers$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Triggers$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1433,7 +1433,7 @@ export namespace eventarc_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1488,11 +1488,11 @@ export namespace eventarc_v1beta1 { list( params: Params$Resource$Projects$Locations$Triggers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Triggers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Triggers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1525,8 +1525,8 @@ export namespace eventarc_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1581,11 +1581,11 @@ export namespace eventarc_v1beta1 { patch( params: Params$Resource$Projects$Locations$Triggers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Triggers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Triggers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1614,7 +1614,7 @@ export namespace eventarc_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1666,11 +1666,11 @@ export namespace eventarc_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Triggers$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Triggers$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Triggers$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1699,7 +1699,7 @@ export namespace eventarc_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1754,11 +1754,11 @@ export namespace eventarc_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Triggers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Triggers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Triggers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1793,8 +1793,8 @@ export namespace eventarc_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Triggers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/factchecktools/index.ts b/src/apis/factchecktools/index.ts index 13cfaa4fd4d..6007d177ca3 100644 --- a/src/apis/factchecktools/index.ts +++ b/src/apis/factchecktools/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/factchecktools/package.json b/src/apis/factchecktools/package.json index 671787fde99..ffc5d65a035 100644 --- a/src/apis/factchecktools/package.json +++ b/src/apis/factchecktools/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/factchecktools/v1alpha1.ts b/src/apis/factchecktools/v1alpha1.ts index be20bab2514..534ec5237c8 100644 --- a/src/apis/factchecktools/v1alpha1.ts +++ b/src/apis/factchecktools/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -388,11 +388,13 @@ export namespace factchecktools_v1alpha1 { imageSearch( params: Params$Resource$Claims$Imagesearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; imageSearch( params?: Params$Resource$Claims$Imagesearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; imageSearch( params: Params$Resource$Claims$Imagesearch, options: StreamMethodOptions | BodyResponseCallback, @@ -427,8 +429,10 @@ export namespace factchecktools_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Claims$Imagesearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -486,11 +490,13 @@ export namespace factchecktools_v1alpha1 { search( params: Params$Resource$Claims$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Claims$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Claims$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -525,8 +531,10 @@ export namespace factchecktools_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Claims$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -644,11 +652,13 @@ export namespace factchecktools_v1alpha1 { create( params: Params$Resource$Pages$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Pages$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Pages$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -683,8 +693,10 @@ export namespace factchecktools_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -738,11 +750,11 @@ export namespace factchecktools_v1alpha1 { delete( params: Params$Resource$Pages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Pages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Pages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -773,8 +785,8 @@ export namespace factchecktools_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -826,11 +838,13 @@ export namespace factchecktools_v1alpha1 { get( params: Params$Resource$Pages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Pages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Pages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -865,8 +879,10 @@ export namespace factchecktools_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -920,11 +936,13 @@ export namespace factchecktools_v1alpha1 { list( params: Params$Resource$Pages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Pages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Pages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -959,8 +977,10 @@ export namespace factchecktools_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1014,11 +1034,13 @@ export namespace factchecktools_v1alpha1 { update( params: Params$Resource$Pages$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Pages$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; update( params: Params$Resource$Pages$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1053,8 +1075,10 @@ export namespace factchecktools_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pages$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/fcm/index.ts b/src/apis/fcm/index.ts index 6367ec6e50c..a19c9a45f1f 100644 --- a/src/apis/fcm/index.ts +++ b/src/apis/fcm/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/fcm/package.json b/src/apis/fcm/package.json index 63f587a970b..3daf18f459e 100644 --- a/src/apis/fcm/package.json +++ b/src/apis/fcm/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/fcm/v1.ts b/src/apis/fcm/v1.ts index 12f94284bd6..5c886441a14 100644 --- a/src/apis/fcm/v1.ts +++ b/src/apis/fcm/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -504,11 +504,11 @@ export namespace fcm_v1 { send( params: Params$Resource$Projects$Messages$Send, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; send( params?: Params$Resource$Projects$Messages$Send, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; send( params: Params$Resource$Projects$Messages$Send, options: StreamMethodOptions | BodyResponseCallback, @@ -537,7 +537,10 @@ export namespace fcm_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Messages$Send; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/fcmdata/index.ts b/src/apis/fcmdata/index.ts index f304f2a0d11..7dc0dffde2b 100644 --- a/src/apis/fcmdata/index.ts +++ b/src/apis/fcmdata/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/fcmdata/package.json b/src/apis/fcmdata/package.json index 686eda4a799..53f0f5cffa5 100644 --- a/src/apis/fcmdata/package.json +++ b/src/apis/fcmdata/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/fcmdata/v1beta1.ts b/src/apis/fcmdata/v1beta1.ts index 09d08862c2c..4e62a99ce84 100644 --- a/src/apis/fcmdata/v1beta1.ts +++ b/src/apis/fcmdata/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -338,11 +338,13 @@ export namespace fcmdata_v1beta1 { list( params: Params$Resource$Projects$Androidapps$Deliverydata$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Androidapps$Deliverydata$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Androidapps$Deliverydata$List, options: StreamMethodOptions | BodyResponseCallback, @@ -377,8 +379,10 @@ export namespace fcmdata_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Androidapps$Deliverydata$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/file/index.ts b/src/apis/file/index.ts index 7bff0ac59c2..b1e059ee10f 100644 --- a/src/apis/file/index.ts +++ b/src/apis/file/index.ts @@ -43,7 +43,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/file/package.json b/src/apis/file/package.json index 0eee7aadf1b..e90711de5c8 100644 --- a/src/apis/file/package.json +++ b/src/apis/file/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/file/v1.ts b/src/apis/file/v1.ts index 28886089a8f..1068465fe6f 100644 --- a/src/apis/file/v1.ts +++ b/src/apis/file/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1097,11 +1097,11 @@ export namespace file_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1130,7 +1130,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1182,11 +1185,11 @@ export namespace file_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1219,8 +1222,8 @@ export namespace file_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1313,11 +1316,11 @@ export namespace file_v1 { create( params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1346,7 +1349,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1401,11 +1407,11 @@ export namespace file_v1 { delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1434,7 +1440,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1486,11 +1495,11 @@ export namespace file_v1 { get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1519,7 +1528,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1571,11 +1583,11 @@ export namespace file_v1 { list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1606,8 +1618,8 @@ export namespace file_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1662,11 +1674,11 @@ export namespace file_v1 { patch( params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1695,7 +1707,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1828,11 +1843,11 @@ export namespace file_v1 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1861,7 +1876,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1916,11 +1934,11 @@ export namespace file_v1 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1949,7 +1967,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2001,11 +2022,11 @@ export namespace file_v1 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2034,7 +2055,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2086,11 +2110,11 @@ export namespace file_v1 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2123,8 +2147,8 @@ export namespace file_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2179,11 +2203,11 @@ export namespace file_v1 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2212,7 +2236,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2264,11 +2291,11 @@ export namespace file_v1 { promoteReplica( params: Params$Resource$Projects$Locations$Instances$Promotereplica, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; promoteReplica( params?: Params$Resource$Projects$Locations$Instances$Promotereplica, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; promoteReplica( params: Params$Resource$Projects$Locations$Instances$Promotereplica, options: StreamMethodOptions | BodyResponseCallback, @@ -2297,7 +2324,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Promotereplica; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2353,11 +2383,11 @@ export namespace file_v1 { restore( params: Params$Resource$Projects$Locations$Instances$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Instances$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Instances$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -2386,7 +2416,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2441,11 +2474,11 @@ export namespace file_v1 { revert( params: Params$Resource$Projects$Locations$Instances$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Projects$Locations$Instances$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Projects$Locations$Instances$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -2474,7 +2507,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2643,11 +2679,11 @@ export namespace file_v1 { create( params: Params$Resource$Projects$Locations$Instances$Snapshots$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Snapshots$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Snapshots$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2676,7 +2712,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Snapshots$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2732,11 +2771,11 @@ export namespace file_v1 { delete( params: Params$Resource$Projects$Locations$Instances$Snapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Snapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Snapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2765,7 +2804,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Snapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2818,11 +2860,11 @@ export namespace file_v1 { get( params: Params$Resource$Projects$Locations$Instances$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2851,7 +2893,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2904,11 +2949,11 @@ export namespace file_v1 { list( params: Params$Resource$Projects$Locations$Instances$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2941,8 +2986,8 @@ export namespace file_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2998,11 +3043,11 @@ export namespace file_v1 { patch( params: Params$Resource$Projects$Locations$Instances$Snapshots$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Snapshots$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Snapshots$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3031,7 +3076,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Snapshots$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3165,11 +3213,11 @@ export namespace file_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3198,7 +3246,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3250,11 +3301,11 @@ export namespace file_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3283,7 +3334,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3335,11 +3389,11 @@ export namespace file_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3368,7 +3422,10 @@ export namespace file_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3420,11 +3477,11 @@ export namespace file_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3457,8 +3514,8 @@ export namespace file_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/file/v1beta1.ts b/src/apis/file/v1beta1.ts index 59a3785097d..7cce6a6c85f 100644 --- a/src/apis/file/v1beta1.ts +++ b/src/apis/file/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1251,11 +1251,11 @@ export namespace file_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1284,7 +1284,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1336,11 +1339,11 @@ export namespace file_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1373,8 +1376,8 @@ export namespace file_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1467,11 +1470,11 @@ export namespace file_v1beta1 { create( params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1500,7 +1503,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1555,11 +1561,11 @@ export namespace file_v1beta1 { delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1588,7 +1594,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1640,11 +1649,11 @@ export namespace file_v1beta1 { get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1673,7 +1682,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1725,11 +1737,11 @@ export namespace file_v1beta1 { list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1760,8 +1772,8 @@ export namespace file_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1816,11 +1828,11 @@ export namespace file_v1beta1 { patch( params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1849,7 +1861,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1986,11 +2001,11 @@ export namespace file_v1beta1 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2019,7 +2034,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2074,11 +2092,11 @@ export namespace file_v1beta1 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2107,7 +2125,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2159,11 +2180,11 @@ export namespace file_v1beta1 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2192,7 +2213,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2244,11 +2268,11 @@ export namespace file_v1beta1 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2281,8 +2305,8 @@ export namespace file_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2337,11 +2361,11 @@ export namespace file_v1beta1 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2370,7 +2394,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2422,11 +2449,11 @@ export namespace file_v1beta1 { promoteReplica( params: Params$Resource$Projects$Locations$Instances$Promotereplica, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; promoteReplica( params?: Params$Resource$Projects$Locations$Instances$Promotereplica, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; promoteReplica( params: Params$Resource$Projects$Locations$Instances$Promotereplica, options: StreamMethodOptions | BodyResponseCallback, @@ -2455,7 +2482,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Promotereplica; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2511,11 +2541,11 @@ export namespace file_v1beta1 { restore( params: Params$Resource$Projects$Locations$Instances$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Instances$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Instances$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -2544,7 +2574,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2599,11 +2632,11 @@ export namespace file_v1beta1 { revert( params: Params$Resource$Projects$Locations$Instances$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Projects$Locations$Instances$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Projects$Locations$Instances$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -2632,7 +2665,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2804,11 +2840,11 @@ export namespace file_v1beta1 { create( params: Params$Resource$Projects$Locations$Instances$Shares$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Shares$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Shares$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2837,7 +2873,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Shares$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2893,11 +2932,11 @@ export namespace file_v1beta1 { delete( params: Params$Resource$Projects$Locations$Instances$Shares$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Shares$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Shares$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2926,7 +2965,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Shares$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2979,11 +3021,11 @@ export namespace file_v1beta1 { get( params: Params$Resource$Projects$Locations$Instances$Shares$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Shares$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Shares$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3012,7 +3054,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Shares$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3064,11 +3109,11 @@ export namespace file_v1beta1 { list( params: Params$Resource$Projects$Locations$Instances$Shares$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Shares$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$Shares$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3099,8 +3144,8 @@ export namespace file_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Shares$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3155,11 +3200,11 @@ export namespace file_v1beta1 { patch( params: Params$Resource$Projects$Locations$Instances$Shares$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Shares$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Shares$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3188,7 +3233,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Shares$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3318,11 +3366,11 @@ export namespace file_v1beta1 { create( params: Params$Resource$Projects$Locations$Instances$Snapshots$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Snapshots$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Snapshots$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3351,7 +3399,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Snapshots$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3407,11 +3458,11 @@ export namespace file_v1beta1 { delete( params: Params$Resource$Projects$Locations$Instances$Snapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Snapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Snapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3440,7 +3491,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Snapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3493,11 +3547,11 @@ export namespace file_v1beta1 { get( params: Params$Resource$Projects$Locations$Instances$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3526,7 +3580,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3579,11 +3636,11 @@ export namespace file_v1beta1 { list( params: Params$Resource$Projects$Locations$Instances$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3616,8 +3673,8 @@ export namespace file_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3673,11 +3730,11 @@ export namespace file_v1beta1 { patch( params: Params$Resource$Projects$Locations$Instances$Snapshots$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Snapshots$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Snapshots$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3706,7 +3763,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Snapshots$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3840,11 +3900,11 @@ export namespace file_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3873,7 +3933,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3928,11 +3991,11 @@ export namespace file_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3961,7 +4024,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4013,11 +4079,11 @@ export namespace file_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4046,7 +4112,10 @@ export namespace file_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4098,11 +4167,11 @@ export namespace file_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4135,8 +4204,8 @@ export namespace file_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebase/index.ts b/src/apis/firebase/index.ts index 3c45e4ecef9..9727dc7f140 100644 --- a/src/apis/firebase/index.ts +++ b/src/apis/firebase/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/firebase/package.json b/src/apis/firebase/package.json index 87474433c02..a915861ef62 100644 --- a/src/apis/firebase/package.json +++ b/src/apis/firebase/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/firebase/v1beta1.ts b/src/apis/firebase/v1beta1.ts index cd53b483a7b..892ada48dda 100644 --- a/src/apis/firebase/v1beta1.ts +++ b/src/apis/firebase/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -855,11 +855,11 @@ export namespace firebase_v1beta1 { list( params: Params$Resource$Availableprojects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Availableprojects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Availableprojects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -894,8 +894,8 @@ export namespace firebase_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Availableprojects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -971,11 +971,11 @@ export namespace firebase_v1beta1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1004,7 +1004,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1083,11 +1086,11 @@ export namespace firebase_v1beta1 { addFirebase( params: Params$Resource$Projects$Addfirebase, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addFirebase( params?: Params$Resource$Projects$Addfirebase, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addFirebase( params: Params$Resource$Projects$Addfirebase, options: StreamMethodOptions | BodyResponseCallback, @@ -1116,7 +1119,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Addfirebase; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1171,11 +1177,11 @@ export namespace firebase_v1beta1 { addGoogleAnalytics( params: Params$Resource$Projects$Addgoogleanalytics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addGoogleAnalytics( params?: Params$Resource$Projects$Addgoogleanalytics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addGoogleAnalytics( params: Params$Resource$Projects$Addgoogleanalytics, options: StreamMethodOptions | BodyResponseCallback, @@ -1204,7 +1210,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Addgoogleanalytics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1259,11 +1268,11 @@ export namespace firebase_v1beta1 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1292,7 +1301,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1343,11 +1355,11 @@ export namespace firebase_v1beta1 { getAdminSdkConfig( params: Params$Resource$Projects$Getadminsdkconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAdminSdkConfig( params?: Params$Resource$Projects$Getadminsdkconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAdminSdkConfig( params: Params$Resource$Projects$Getadminsdkconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1378,7 +1390,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getadminsdkconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1430,11 +1445,11 @@ export namespace firebase_v1beta1 { getAnalyticsDetails( params: Params$Resource$Projects$Getanalyticsdetails, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAnalyticsDetails( params?: Params$Resource$Projects$Getanalyticsdetails, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAnalyticsDetails( params: Params$Resource$Projects$Getanalyticsdetails, options: StreamMethodOptions | BodyResponseCallback, @@ -1465,7 +1480,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getanalyticsdetails; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1517,11 +1535,11 @@ export namespace firebase_v1beta1 { list( params: Params$Resource$Projects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1556,8 +1574,8 @@ export namespace firebase_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1610,11 +1628,11 @@ export namespace firebase_v1beta1 { patch( params: Params$Resource$Projects$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1643,7 +1661,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1694,11 +1715,11 @@ export namespace firebase_v1beta1 { removeAnalytics( params: Params$Resource$Projects$Removeanalytics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAnalytics( params?: Params$Resource$Projects$Removeanalytics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAnalytics( params: Params$Resource$Projects$Removeanalytics, options: StreamMethodOptions | BodyResponseCallback, @@ -1727,7 +1748,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Removeanalytics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1782,11 +1806,11 @@ export namespace firebase_v1beta1 { searchApps( params: Params$Resource$Projects$Searchapps, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchApps( params?: Params$Resource$Projects$Searchapps, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchApps( params: Params$Resource$Projects$Searchapps, options: StreamMethodOptions | BodyResponseCallback, @@ -1821,8 +1845,8 @@ export namespace firebase_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Searchapps; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1995,11 +2019,11 @@ export namespace firebase_v1beta1 { create( params: Params$Resource$Projects$Androidapps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Androidapps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Androidapps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2028,7 +2052,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Androidapps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2083,11 +2110,11 @@ export namespace firebase_v1beta1 { get( params: Params$Resource$Projects$Androidapps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Androidapps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Androidapps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2116,7 +2143,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Androidapps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2168,11 +2198,11 @@ export namespace firebase_v1beta1 { getConfig( params: Params$Resource$Projects$Androidapps$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Androidapps$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Projects$Androidapps$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2201,7 +2231,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Androidapps$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2253,11 +2286,11 @@ export namespace firebase_v1beta1 { list( params: Params$Resource$Projects$Androidapps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Androidapps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Androidapps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2290,8 +2323,8 @@ export namespace firebase_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Androidapps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2346,11 +2379,11 @@ export namespace firebase_v1beta1 { patch( params: Params$Resource$Projects$Androidapps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Androidapps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Androidapps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2379,7 +2412,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Androidapps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2431,11 +2467,11 @@ export namespace firebase_v1beta1 { remove( params: Params$Resource$Projects$Androidapps$Remove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; remove( params?: Params$Resource$Projects$Androidapps$Remove, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; remove( params: Params$Resource$Projects$Androidapps$Remove, options: StreamMethodOptions | BodyResponseCallback, @@ -2464,7 +2500,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Androidapps$Remove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2519,11 +2558,11 @@ export namespace firebase_v1beta1 { undelete( params: Params$Resource$Projects$Androidapps$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Androidapps$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Androidapps$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2552,7 +2591,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Androidapps$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2700,11 +2742,11 @@ export namespace firebase_v1beta1 { create( params: Params$Resource$Projects$Androidapps$Sha$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Androidapps$Sha$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Androidapps$Sha$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2733,7 +2775,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Androidapps$Sha$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2788,11 +2833,11 @@ export namespace firebase_v1beta1 { delete( params: Params$Resource$Projects$Androidapps$Sha$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Androidapps$Sha$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Androidapps$Sha$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2821,7 +2866,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Androidapps$Sha$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2873,11 +2921,11 @@ export namespace firebase_v1beta1 { list( params: Params$Resource$Projects$Androidapps$Sha$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Androidapps$Sha$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Androidapps$Sha$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2912,8 +2960,8 @@ export namespace firebase_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Androidapps$Sha$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3002,11 +3050,11 @@ export namespace firebase_v1beta1 { list( params: Params$Resource$Projects$Availablelocations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Availablelocations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Availablelocations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3041,8 +3089,8 @@ export namespace firebase_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Availablelocations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3122,11 +3170,11 @@ export namespace firebase_v1beta1 { finalize( params: Params$Resource$Projects$Defaultlocation$Finalize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; finalize( params?: Params$Resource$Projects$Defaultlocation$Finalize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; finalize( params: Params$Resource$Projects$Defaultlocation$Finalize, options: StreamMethodOptions | BodyResponseCallback, @@ -3155,7 +3203,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Defaultlocation$Finalize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3229,11 +3280,11 @@ export namespace firebase_v1beta1 { create( params: Params$Resource$Projects$Iosapps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Iosapps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Iosapps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3262,7 +3313,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iosapps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3317,11 +3371,11 @@ export namespace firebase_v1beta1 { get( params: Params$Resource$Projects$Iosapps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Iosapps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Iosapps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3350,7 +3404,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iosapps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3402,11 +3459,11 @@ export namespace firebase_v1beta1 { getConfig( params: Params$Resource$Projects$Iosapps$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Iosapps$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Projects$Iosapps$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3435,7 +3492,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iosapps$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3487,11 +3547,11 @@ export namespace firebase_v1beta1 { list( params: Params$Resource$Projects$Iosapps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Iosapps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Iosapps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3522,8 +3582,8 @@ export namespace firebase_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iosapps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3578,11 +3638,11 @@ export namespace firebase_v1beta1 { patch( params: Params$Resource$Projects$Iosapps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Iosapps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Iosapps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3611,7 +3671,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iosapps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3663,11 +3726,11 @@ export namespace firebase_v1beta1 { remove( params: Params$Resource$Projects$Iosapps$Remove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; remove( params?: Params$Resource$Projects$Iosapps$Remove, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; remove( params: Params$Resource$Projects$Iosapps$Remove, options: StreamMethodOptions | BodyResponseCallback, @@ -3696,7 +3759,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iosapps$Remove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3751,11 +3817,11 @@ export namespace firebase_v1beta1 { undelete( params: Params$Resource$Projects$Iosapps$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Iosapps$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Iosapps$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -3784,7 +3850,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iosapps$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3932,11 +4001,11 @@ export namespace firebase_v1beta1 { create( params: Params$Resource$Projects$Webapps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Webapps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Webapps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3965,7 +4034,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Webapps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4020,11 +4092,11 @@ export namespace firebase_v1beta1 { get( params: Params$Resource$Projects$Webapps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Webapps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Webapps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4053,7 +4125,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Webapps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4105,11 +4180,11 @@ export namespace firebase_v1beta1 { getConfig( params: Params$Resource$Projects$Webapps$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Webapps$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Projects$Webapps$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4138,7 +4213,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Webapps$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4190,11 +4268,11 @@ export namespace firebase_v1beta1 { list( params: Params$Resource$Projects$Webapps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Webapps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Webapps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4225,8 +4303,8 @@ export namespace firebase_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Webapps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4281,11 +4359,11 @@ export namespace firebase_v1beta1 { patch( params: Params$Resource$Projects$Webapps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Webapps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Webapps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4314,7 +4392,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Webapps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4366,11 +4447,11 @@ export namespace firebase_v1beta1 { remove( params: Params$Resource$Projects$Webapps$Remove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; remove( params?: Params$Resource$Projects$Webapps$Remove, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; remove( params: Params$Resource$Projects$Webapps$Remove, options: StreamMethodOptions | BodyResponseCallback, @@ -4399,7 +4480,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Webapps$Remove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4454,11 +4538,11 @@ export namespace firebase_v1beta1 { undelete( params: Params$Resource$Projects$Webapps$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Webapps$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Webapps$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -4487,7 +4571,10 @@ export namespace firebase_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Webapps$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebaseappcheck/index.ts b/src/apis/firebaseappcheck/index.ts index 5d3c7cc02a4..521b1b39d29 100644 --- a/src/apis/firebaseappcheck/index.ts +++ b/src/apis/firebaseappcheck/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/firebaseappcheck/package.json b/src/apis/firebaseappcheck/package.json index 33a5d6aeef3..51725e8c7d9 100644 --- a/src/apis/firebaseappcheck/package.json +++ b/src/apis/firebaseappcheck/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/firebaseappcheck/v1.ts b/src/apis/firebaseappcheck/v1.ts index f49c0702892..3e1ad4b60b1 100644 --- a/src/apis/firebaseappcheck/v1.ts +++ b/src/apis/firebaseappcheck/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -701,11 +701,13 @@ export namespace firebaseappcheck_v1 { get( params: Params$Resource$Jwks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Jwks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Jwks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -740,8 +742,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jwks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -809,11 +813,13 @@ export namespace firebaseappcheck_v1 { exchangeAppAttestAssertion( params: Params$Resource$Oauthclients$Exchangeappattestassertion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeAppAttestAssertion( params?: Params$Resource$Oauthclients$Exchangeappattestassertion, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeAppAttestAssertion( params: Params$Resource$Oauthclients$Exchangeappattestassertion, options: StreamMethodOptions | BodyResponseCallback, @@ -848,8 +854,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Oauthclients$Exchangeappattestassertion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -907,11 +915,13 @@ export namespace firebaseappcheck_v1 { exchangeAppAttestAttestation( params: Params$Resource$Oauthclients$Exchangeappattestattestation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeAppAttestAttestation( params?: Params$Resource$Oauthclients$Exchangeappattestattestation, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeAppAttestAttestation( params: Params$Resource$Oauthclients$Exchangeappattestattestation, options: StreamMethodOptions | BodyResponseCallback, @@ -946,8 +956,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Oauthclients$Exchangeappattestattestation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1006,11 +1018,13 @@ export namespace firebaseappcheck_v1 { exchangeDebugToken( params: Params$Resource$Oauthclients$Exchangedebugtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeDebugToken( params?: Params$Resource$Oauthclients$Exchangedebugtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeDebugToken( params: Params$Resource$Oauthclients$Exchangedebugtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1045,8 +1059,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Oauthclients$Exchangedebugtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1104,11 +1120,13 @@ export namespace firebaseappcheck_v1 { generateAppAttestChallenge( params: Params$Resource$Oauthclients$Generateappattestchallenge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateAppAttestChallenge( params?: Params$Resource$Oauthclients$Generateappattestchallenge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateAppAttestChallenge( params: Params$Resource$Oauthclients$Generateappattestchallenge, options: StreamMethodOptions | BodyResponseCallback, @@ -1143,8 +1161,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Oauthclients$Generateappattestchallenge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1294,11 +1314,13 @@ export namespace firebaseappcheck_v1 { exchangeAppAttestAssertion( params: Params$Resource$Projects$Apps$Exchangeappattestassertion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeAppAttestAssertion( params?: Params$Resource$Projects$Apps$Exchangeappattestassertion, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeAppAttestAssertion( params: Params$Resource$Projects$Apps$Exchangeappattestassertion, options: StreamMethodOptions | BodyResponseCallback, @@ -1333,8 +1355,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangeappattestassertion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1392,11 +1416,13 @@ export namespace firebaseappcheck_v1 { exchangeAppAttestAttestation( params: Params$Resource$Projects$Apps$Exchangeappattestattestation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeAppAttestAttestation( params?: Params$Resource$Projects$Apps$Exchangeappattestattestation, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeAppAttestAttestation( params: Params$Resource$Projects$Apps$Exchangeappattestattestation, options: StreamMethodOptions | BodyResponseCallback, @@ -1431,8 +1457,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangeappattestattestation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1491,11 +1519,13 @@ export namespace firebaseappcheck_v1 { exchangeCustomToken( params: Params$Resource$Projects$Apps$Exchangecustomtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeCustomToken( params?: Params$Resource$Projects$Apps$Exchangecustomtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeCustomToken( params: Params$Resource$Projects$Apps$Exchangecustomtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1530,8 +1560,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangecustomtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1589,11 +1621,13 @@ export namespace firebaseappcheck_v1 { exchangeDebugToken( params: Params$Resource$Projects$Apps$Exchangedebugtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeDebugToken( params?: Params$Resource$Projects$Apps$Exchangedebugtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeDebugToken( params: Params$Resource$Projects$Apps$Exchangedebugtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1628,8 +1662,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangedebugtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1687,11 +1723,13 @@ export namespace firebaseappcheck_v1 { exchangeDeviceCheckToken( params: Params$Resource$Projects$Apps$Exchangedevicechecktoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeDeviceCheckToken( params?: Params$Resource$Projects$Apps$Exchangedevicechecktoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeDeviceCheckToken( params: Params$Resource$Projects$Apps$Exchangedevicechecktoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1726,8 +1764,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangedevicechecktoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1785,11 +1825,13 @@ export namespace firebaseappcheck_v1 { exchangePlayIntegrityToken( params: Params$Resource$Projects$Apps$Exchangeplayintegritytoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangePlayIntegrityToken( params?: Params$Resource$Projects$Apps$Exchangeplayintegritytoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangePlayIntegrityToken( params: Params$Resource$Projects$Apps$Exchangeplayintegritytoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1824,8 +1866,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangeplayintegritytoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1883,11 +1927,13 @@ export namespace firebaseappcheck_v1 { exchangeRecaptchaEnterpriseToken( params: Params$Resource$Projects$Apps$Exchangerecaptchaenterprisetoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeRecaptchaEnterpriseToken( params?: Params$Resource$Projects$Apps$Exchangerecaptchaenterprisetoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeRecaptchaEnterpriseToken( params: Params$Resource$Projects$Apps$Exchangerecaptchaenterprisetoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1922,8 +1968,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangerecaptchaenterprisetoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1981,11 +2029,13 @@ export namespace firebaseappcheck_v1 { exchangeRecaptchaV3Token( params: Params$Resource$Projects$Apps$Exchangerecaptchav3token, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeRecaptchaV3Token( params?: Params$Resource$Projects$Apps$Exchangerecaptchav3token, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeRecaptchaV3Token( params: Params$Resource$Projects$Apps$Exchangerecaptchav3token, options: StreamMethodOptions | BodyResponseCallback, @@ -2020,8 +2070,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangerecaptchav3token; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2079,11 +2131,13 @@ export namespace firebaseappcheck_v1 { exchangeSafetyNetToken( params: Params$Resource$Projects$Apps$Exchangesafetynettoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeSafetyNetToken( params?: Params$Resource$Projects$Apps$Exchangesafetynettoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeSafetyNetToken( params: Params$Resource$Projects$Apps$Exchangesafetynettoken, options: StreamMethodOptions | BodyResponseCallback, @@ -2118,8 +2172,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangesafetynettoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2177,11 +2233,13 @@ export namespace firebaseappcheck_v1 { generateAppAttestChallenge( params: Params$Resource$Projects$Apps$Generateappattestchallenge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateAppAttestChallenge( params?: Params$Resource$Projects$Apps$Generateappattestchallenge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateAppAttestChallenge( params: Params$Resource$Projects$Apps$Generateappattestchallenge, options: StreamMethodOptions | BodyResponseCallback, @@ -2216,8 +2274,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Generateappattestchallenge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2275,11 +2335,13 @@ export namespace firebaseappcheck_v1 { generatePlayIntegrityChallenge( params: Params$Resource$Projects$Apps$Generateplayintegritychallenge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generatePlayIntegrityChallenge( params?: Params$Resource$Projects$Apps$Generateplayintegritychallenge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generatePlayIntegrityChallenge( params: Params$Resource$Projects$Apps$Generateplayintegritychallenge, options: StreamMethodOptions | BodyResponseCallback, @@ -2314,8 +2376,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Generateplayintegritychallenge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2513,11 +2577,13 @@ export namespace firebaseappcheck_v1 { batchGet( params: Params$Resource$Projects$Apps$Appattestconfig$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Appattestconfig$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Appattestconfig$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -2552,8 +2618,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Appattestconfig$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2610,11 +2678,13 @@ export namespace firebaseappcheck_v1 { get( params: Params$Resource$Projects$Apps$Appattestconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Appattestconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Appattestconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2649,8 +2719,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Appattestconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2705,11 +2777,13 @@ export namespace firebaseappcheck_v1 { patch( params: Params$Resource$Projects$Apps$Appattestconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Appattestconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Appattestconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2744,8 +2818,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Appattestconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2842,11 +2918,13 @@ export namespace firebaseappcheck_v1 { create( params: Params$Resource$Projects$Apps$Debugtokens$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Apps$Debugtokens$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Apps$Debugtokens$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2881,8 +2959,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Debugtokens$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2940,11 +3020,11 @@ export namespace firebaseappcheck_v1 { delete( params: Params$Resource$Projects$Apps$Debugtokens$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Apps$Debugtokens$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Apps$Debugtokens$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2975,8 +3055,8 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Debugtokens$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3029,11 +3109,13 @@ export namespace firebaseappcheck_v1 { get( params: Params$Resource$Projects$Apps$Debugtokens$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Debugtokens$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Debugtokens$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3068,8 +3150,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Debugtokens$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3124,11 +3208,13 @@ export namespace firebaseappcheck_v1 { list( params: Params$Resource$Projects$Apps$Debugtokens$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Apps$Debugtokens$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Apps$Debugtokens$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3163,8 +3249,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Debugtokens$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3222,11 +3310,13 @@ export namespace firebaseappcheck_v1 { patch( params: Params$Resource$Projects$Apps$Debugtokens$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Debugtokens$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Debugtokens$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3261,8 +3351,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Debugtokens$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3382,11 +3474,13 @@ export namespace firebaseappcheck_v1 { batchGet( params: Params$Resource$Projects$Apps$Devicecheckconfig$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Devicecheckconfig$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Devicecheckconfig$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -3421,8 +3515,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Devicecheckconfig$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3479,11 +3575,13 @@ export namespace firebaseappcheck_v1 { get( params: Params$Resource$Projects$Apps$Devicecheckconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Devicecheckconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Devicecheckconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3518,8 +3616,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Devicecheckconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3574,11 +3674,13 @@ export namespace firebaseappcheck_v1 { patch( params: Params$Resource$Projects$Apps$Devicecheckconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Devicecheckconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Devicecheckconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3613,8 +3715,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Devicecheckconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3711,11 +3815,13 @@ export namespace firebaseappcheck_v1 { batchGet( params: Params$Resource$Projects$Apps$Playintegrityconfig$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Playintegrityconfig$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Playintegrityconfig$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -3750,8 +3856,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Playintegrityconfig$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3809,11 +3917,13 @@ export namespace firebaseappcheck_v1 { get( params: Params$Resource$Projects$Apps$Playintegrityconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Playintegrityconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Playintegrityconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3848,8 +3958,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Playintegrityconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3904,11 +4016,13 @@ export namespace firebaseappcheck_v1 { patch( params: Params$Resource$Projects$Apps$Playintegrityconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Playintegrityconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Playintegrityconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3943,8 +4057,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Playintegrityconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4041,11 +4157,13 @@ export namespace firebaseappcheck_v1 { batchGet( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -4080,8 +4198,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4140,11 +4260,13 @@ export namespace firebaseappcheck_v1 { get( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4179,8 +4301,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4236,11 +4360,13 @@ export namespace firebaseappcheck_v1 { patch( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4275,8 +4401,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4374,11 +4502,13 @@ export namespace firebaseappcheck_v1 { batchGet( params: Params$Resource$Projects$Apps$Recaptchav3config$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Recaptchav3config$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Recaptchav3config$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -4413,8 +4543,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchav3config$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4471,11 +4603,13 @@ export namespace firebaseappcheck_v1 { get( params: Params$Resource$Projects$Apps$Recaptchav3config$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Recaptchav3config$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Recaptchav3config$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4510,8 +4644,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchav3config$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4566,11 +4702,13 @@ export namespace firebaseappcheck_v1 { patch( params: Params$Resource$Projects$Apps$Recaptchav3config$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Recaptchav3config$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Recaptchav3config$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4605,8 +4743,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchav3config$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4703,11 +4843,13 @@ export namespace firebaseappcheck_v1 { batchGet( params: Params$Resource$Projects$Apps$Safetynetconfig$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Safetynetconfig$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Safetynetconfig$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -4742,8 +4884,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Safetynetconfig$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4800,11 +4944,13 @@ export namespace firebaseappcheck_v1 { get( params: Params$Resource$Projects$Apps$Safetynetconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Safetynetconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Safetynetconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4839,8 +4985,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Safetynetconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4895,11 +5043,13 @@ export namespace firebaseappcheck_v1 { patch( params: Params$Resource$Projects$Apps$Safetynetconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Safetynetconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Safetynetconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4934,8 +5084,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Safetynetconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5036,11 +5188,13 @@ export namespace firebaseappcheck_v1 { batchUpdate( params: Params$Resource$Projects$Services$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Services$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Projects$Services$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -5075,8 +5229,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5134,11 +5290,11 @@ export namespace firebaseappcheck_v1 { get( params: Params$Resource$Projects$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5173,8 +5329,8 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5229,11 +5385,13 @@ export namespace firebaseappcheck_v1 { list( params: Params$Resource$Projects$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5268,8 +5426,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5327,11 +5487,11 @@ export namespace firebaseappcheck_v1 { patch( params: Params$Resource$Projects$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5366,8 +5526,8 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5480,11 +5640,13 @@ export namespace firebaseappcheck_v1 { batchUpdate( params: Params$Resource$Projects$Services$Resourcepolicies$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Services$Resourcepolicies$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Projects$Services$Resourcepolicies$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -5519,8 +5681,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5578,11 +5742,13 @@ export namespace firebaseappcheck_v1 { create( params: Params$Resource$Projects$Services$Resourcepolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Services$Resourcepolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Services$Resourcepolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5617,8 +5783,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5677,11 +5845,11 @@ export namespace firebaseappcheck_v1 { delete( params: Params$Resource$Projects$Services$Resourcepolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Services$Resourcepolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Services$Resourcepolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5712,8 +5880,8 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5767,11 +5935,13 @@ export namespace firebaseappcheck_v1 { get( params: Params$Resource$Projects$Services$Resourcepolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Services$Resourcepolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Services$Resourcepolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5806,8 +5976,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5862,11 +6034,13 @@ export namespace firebaseappcheck_v1 { list( params: Params$Resource$Projects$Services$Resourcepolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Services$Resourcepolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Services$Resourcepolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5901,8 +6075,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5960,11 +6136,13 @@ export namespace firebaseappcheck_v1 { patch( params: Params$Resource$Projects$Services$Resourcepolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Services$Resourcepolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Services$Resourcepolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5999,8 +6177,10 @@ export namespace firebaseappcheck_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebaseappcheck/v1beta.ts b/src/apis/firebaseappcheck/v1beta.ts index d705adc0962..bf68ea67975 100644 --- a/src/apis/firebaseappcheck/v1beta.ts +++ b/src/apis/firebaseappcheck/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -787,11 +787,13 @@ export namespace firebaseappcheck_v1beta { get( params: Params$Resource$Jwks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Jwks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Jwks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -826,8 +828,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jwks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -895,11 +899,13 @@ export namespace firebaseappcheck_v1beta { exchangeAppAttestAssertion( params: Params$Resource$Oauthclients$Exchangeappattestassertion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeAppAttestAssertion( params?: Params$Resource$Oauthclients$Exchangeappattestassertion, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeAppAttestAssertion( params: Params$Resource$Oauthclients$Exchangeappattestassertion, options: StreamMethodOptions | BodyResponseCallback, @@ -934,8 +940,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Oauthclients$Exchangeappattestassertion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -992,11 +1000,13 @@ export namespace firebaseappcheck_v1beta { exchangeAppAttestAttestation( params: Params$Resource$Oauthclients$Exchangeappattestattestation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeAppAttestAttestation( params?: Params$Resource$Oauthclients$Exchangeappattestattestation, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeAppAttestAttestation( params: Params$Resource$Oauthclients$Exchangeappattestattestation, options: StreamMethodOptions | BodyResponseCallback, @@ -1031,8 +1041,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Oauthclients$Exchangeappattestattestation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1090,11 +1102,13 @@ export namespace firebaseappcheck_v1beta { exchangeDebugToken( params: Params$Resource$Oauthclients$Exchangedebugtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeDebugToken( params?: Params$Resource$Oauthclients$Exchangedebugtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeDebugToken( params: Params$Resource$Oauthclients$Exchangedebugtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1129,8 +1143,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Oauthclients$Exchangedebugtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1188,11 +1204,13 @@ export namespace firebaseappcheck_v1beta { generateAppAttestChallenge( params: Params$Resource$Oauthclients$Generateappattestchallenge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateAppAttestChallenge( params?: Params$Resource$Oauthclients$Generateappattestchallenge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateAppAttestChallenge( params: Params$Resource$Oauthclients$Generateappattestchallenge, options: StreamMethodOptions | BodyResponseCallback, @@ -1227,8 +1245,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Oauthclients$Generateappattestchallenge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1345,11 +1365,13 @@ export namespace firebaseappcheck_v1beta { verifyAppCheckToken( params: Params$Resource$Projects$Verifyappchecktoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verifyAppCheckToken( params?: Params$Resource$Projects$Verifyappchecktoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; verifyAppCheckToken( params: Params$Resource$Projects$Verifyappchecktoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1384,8 +1406,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Verifyappchecktoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1492,11 +1516,13 @@ export namespace firebaseappcheck_v1beta { exchangeAppAttestAssertion( params: Params$Resource$Projects$Apps$Exchangeappattestassertion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeAppAttestAssertion( params?: Params$Resource$Projects$Apps$Exchangeappattestassertion, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeAppAttestAssertion( params: Params$Resource$Projects$Apps$Exchangeappattestassertion, options: StreamMethodOptions | BodyResponseCallback, @@ -1531,8 +1557,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangeappattestassertion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1589,11 +1617,13 @@ export namespace firebaseappcheck_v1beta { exchangeAppAttestAttestation( params: Params$Resource$Projects$Apps$Exchangeappattestattestation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeAppAttestAttestation( params?: Params$Resource$Projects$Apps$Exchangeappattestattestation, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeAppAttestAttestation( params: Params$Resource$Projects$Apps$Exchangeappattestattestation, options: StreamMethodOptions | BodyResponseCallback, @@ -1628,8 +1658,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangeappattestattestation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1687,11 +1719,13 @@ export namespace firebaseappcheck_v1beta { exchangeCustomToken( params: Params$Resource$Projects$Apps$Exchangecustomtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeCustomToken( params?: Params$Resource$Projects$Apps$Exchangecustomtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeCustomToken( params: Params$Resource$Projects$Apps$Exchangecustomtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1726,8 +1760,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangecustomtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1785,11 +1821,13 @@ export namespace firebaseappcheck_v1beta { exchangeDebugToken( params: Params$Resource$Projects$Apps$Exchangedebugtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeDebugToken( params?: Params$Resource$Projects$Apps$Exchangedebugtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeDebugToken( params: Params$Resource$Projects$Apps$Exchangedebugtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1824,8 +1862,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangedebugtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1883,11 +1923,13 @@ export namespace firebaseappcheck_v1beta { exchangeDeviceCheckToken( params: Params$Resource$Projects$Apps$Exchangedevicechecktoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeDeviceCheckToken( params?: Params$Resource$Projects$Apps$Exchangedevicechecktoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeDeviceCheckToken( params: Params$Resource$Projects$Apps$Exchangedevicechecktoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1922,8 +1964,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangedevicechecktoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1981,11 +2025,13 @@ export namespace firebaseappcheck_v1beta { exchangePlayIntegrityToken( params: Params$Resource$Projects$Apps$Exchangeplayintegritytoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangePlayIntegrityToken( params?: Params$Resource$Projects$Apps$Exchangeplayintegritytoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangePlayIntegrityToken( params: Params$Resource$Projects$Apps$Exchangeplayintegritytoken, options: StreamMethodOptions | BodyResponseCallback, @@ -2020,8 +2066,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangeplayintegritytoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2078,11 +2126,13 @@ export namespace firebaseappcheck_v1beta { exchangeRecaptchaEnterpriseToken( params: Params$Resource$Projects$Apps$Exchangerecaptchaenterprisetoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeRecaptchaEnterpriseToken( params?: Params$Resource$Projects$Apps$Exchangerecaptchaenterprisetoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeRecaptchaEnterpriseToken( params: Params$Resource$Projects$Apps$Exchangerecaptchaenterprisetoken, options: StreamMethodOptions | BodyResponseCallback, @@ -2117,8 +2167,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangerecaptchaenterprisetoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2176,11 +2228,13 @@ export namespace firebaseappcheck_v1beta { exchangeRecaptchaToken( params: Params$Resource$Projects$Apps$Exchangerecaptchatoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeRecaptchaToken( params?: Params$Resource$Projects$Apps$Exchangerecaptchatoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeRecaptchaToken( params: Params$Resource$Projects$Apps$Exchangerecaptchatoken, options: StreamMethodOptions | BodyResponseCallback, @@ -2215,8 +2269,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangerecaptchatoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2274,11 +2330,13 @@ export namespace firebaseappcheck_v1beta { exchangeRecaptchaV3Token( params: Params$Resource$Projects$Apps$Exchangerecaptchav3token, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeRecaptchaV3Token( params?: Params$Resource$Projects$Apps$Exchangerecaptchav3token, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeRecaptchaV3Token( params: Params$Resource$Projects$Apps$Exchangerecaptchav3token, options: StreamMethodOptions | BodyResponseCallback, @@ -2313,8 +2371,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangerecaptchav3token; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2372,11 +2432,13 @@ export namespace firebaseappcheck_v1beta { exchangeSafetyNetToken( params: Params$Resource$Projects$Apps$Exchangesafetynettoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exchangeSafetyNetToken( params?: Params$Resource$Projects$Apps$Exchangesafetynettoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exchangeSafetyNetToken( params: Params$Resource$Projects$Apps$Exchangesafetynettoken, options: StreamMethodOptions | BodyResponseCallback, @@ -2411,8 +2473,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Exchangesafetynettoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2470,11 +2534,13 @@ export namespace firebaseappcheck_v1beta { generateAppAttestChallenge( params: Params$Resource$Projects$Apps$Generateappattestchallenge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateAppAttestChallenge( params?: Params$Resource$Projects$Apps$Generateappattestchallenge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateAppAttestChallenge( params: Params$Resource$Projects$Apps$Generateappattestchallenge, options: StreamMethodOptions | BodyResponseCallback, @@ -2509,8 +2575,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Generateappattestchallenge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2567,11 +2635,13 @@ export namespace firebaseappcheck_v1beta { generatePlayIntegrityChallenge( params: Params$Resource$Projects$Apps$Generateplayintegritychallenge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generatePlayIntegrityChallenge( params?: Params$Resource$Projects$Apps$Generateplayintegritychallenge, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generatePlayIntegrityChallenge( params: Params$Resource$Projects$Apps$Generateplayintegritychallenge, options: StreamMethodOptions | BodyResponseCallback, @@ -2606,8 +2676,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Generateplayintegritychallenge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2817,11 +2889,13 @@ export namespace firebaseappcheck_v1beta { batchGet( params: Params$Resource$Projects$Apps$Appattestconfig$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Appattestconfig$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Appattestconfig$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -2856,8 +2930,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Appattestconfig$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2914,11 +2990,13 @@ export namespace firebaseappcheck_v1beta { get( params: Params$Resource$Projects$Apps$Appattestconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Appattestconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Appattestconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2953,8 +3031,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Appattestconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3009,11 +3089,13 @@ export namespace firebaseappcheck_v1beta { patch( params: Params$Resource$Projects$Apps$Appattestconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Appattestconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Appattestconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3048,8 +3130,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Appattestconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3146,11 +3230,13 @@ export namespace firebaseappcheck_v1beta { create( params: Params$Resource$Projects$Apps$Debugtokens$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Apps$Debugtokens$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Apps$Debugtokens$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3185,8 +3271,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Debugtokens$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3244,11 +3332,11 @@ export namespace firebaseappcheck_v1beta { delete( params: Params$Resource$Projects$Apps$Debugtokens$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Apps$Debugtokens$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Apps$Debugtokens$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3279,8 +3367,8 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Debugtokens$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3333,11 +3421,13 @@ export namespace firebaseappcheck_v1beta { get( params: Params$Resource$Projects$Apps$Debugtokens$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Debugtokens$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Debugtokens$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3372,8 +3462,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Debugtokens$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3428,11 +3520,13 @@ export namespace firebaseappcheck_v1beta { list( params: Params$Resource$Projects$Apps$Debugtokens$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Apps$Debugtokens$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Apps$Debugtokens$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3467,8 +3561,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Debugtokens$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3526,11 +3622,13 @@ export namespace firebaseappcheck_v1beta { patch( params: Params$Resource$Projects$Apps$Debugtokens$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Debugtokens$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Debugtokens$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3565,8 +3663,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Debugtokens$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3686,11 +3786,13 @@ export namespace firebaseappcheck_v1beta { batchGet( params: Params$Resource$Projects$Apps$Devicecheckconfig$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Devicecheckconfig$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Devicecheckconfig$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -3725,8 +3827,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Devicecheckconfig$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3783,11 +3887,13 @@ export namespace firebaseappcheck_v1beta { get( params: Params$Resource$Projects$Apps$Devicecheckconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Devicecheckconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Devicecheckconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3822,8 +3928,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Devicecheckconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3878,11 +3986,13 @@ export namespace firebaseappcheck_v1beta { patch( params: Params$Resource$Projects$Apps$Devicecheckconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Devicecheckconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Devicecheckconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3917,8 +4027,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Devicecheckconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4015,11 +4127,13 @@ export namespace firebaseappcheck_v1beta { batchGet( params: Params$Resource$Projects$Apps$Playintegrityconfig$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Playintegrityconfig$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Playintegrityconfig$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -4054,8 +4168,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Playintegrityconfig$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4113,11 +4229,13 @@ export namespace firebaseappcheck_v1beta { get( params: Params$Resource$Projects$Apps$Playintegrityconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Playintegrityconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Playintegrityconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4152,8 +4270,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Playintegrityconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4208,11 +4328,13 @@ export namespace firebaseappcheck_v1beta { patch( params: Params$Resource$Projects$Apps$Playintegrityconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Playintegrityconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Playintegrityconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4247,8 +4369,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Playintegrityconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4345,11 +4469,13 @@ export namespace firebaseappcheck_v1beta { batchGet( params: Params$Resource$Projects$Apps$Recaptchaconfig$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Recaptchaconfig$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Recaptchaconfig$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -4384,8 +4510,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchaconfig$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4442,11 +4570,13 @@ export namespace firebaseappcheck_v1beta { get( params: Params$Resource$Projects$Apps$Recaptchaconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Recaptchaconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Recaptchaconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4481,8 +4611,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchaconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4537,11 +4669,13 @@ export namespace firebaseappcheck_v1beta { patch( params: Params$Resource$Projects$Apps$Recaptchaconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Recaptchaconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Recaptchaconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4576,8 +4710,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchaconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4674,11 +4810,13 @@ export namespace firebaseappcheck_v1beta { batchGet( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -4713,8 +4851,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4773,11 +4913,13 @@ export namespace firebaseappcheck_v1beta { get( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4812,8 +4954,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4869,11 +5013,13 @@ export namespace firebaseappcheck_v1beta { patch( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4908,8 +5054,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchaenterpriseconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5007,11 +5155,13 @@ export namespace firebaseappcheck_v1beta { batchGet( params: Params$Resource$Projects$Apps$Recaptchav3config$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Recaptchav3config$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Recaptchav3config$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -5046,8 +5196,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchav3config$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5104,11 +5256,13 @@ export namespace firebaseappcheck_v1beta { get( params: Params$Resource$Projects$Apps$Recaptchav3config$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Recaptchav3config$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Recaptchav3config$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5143,8 +5297,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchav3config$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5199,11 +5355,13 @@ export namespace firebaseappcheck_v1beta { patch( params: Params$Resource$Projects$Apps$Recaptchav3config$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Recaptchav3config$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Recaptchav3config$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5238,8 +5396,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Recaptchav3config$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5336,11 +5496,13 @@ export namespace firebaseappcheck_v1beta { batchGet( params: Params$Resource$Projects$Apps$Safetynetconfig$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Apps$Safetynetconfig$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGet( params: Params$Resource$Projects$Apps$Safetynetconfig$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -5375,8 +5537,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Safetynetconfig$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5433,11 +5597,13 @@ export namespace firebaseappcheck_v1beta { get( params: Params$Resource$Projects$Apps$Safetynetconfig$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Safetynetconfig$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Safetynetconfig$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5472,8 +5638,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Safetynetconfig$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5528,11 +5696,13 @@ export namespace firebaseappcheck_v1beta { patch( params: Params$Resource$Projects$Apps$Safetynetconfig$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Safetynetconfig$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Safetynetconfig$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5567,8 +5737,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Safetynetconfig$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5669,11 +5841,13 @@ export namespace firebaseappcheck_v1beta { batchUpdate( params: Params$Resource$Projects$Services$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Services$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Projects$Services$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -5708,8 +5882,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5767,11 +5943,13 @@ export namespace firebaseappcheck_v1beta { get( params: Params$Resource$Projects$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5806,8 +5984,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5862,11 +6042,13 @@ export namespace firebaseappcheck_v1beta { list( params: Params$Resource$Projects$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5901,8 +6083,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5960,11 +6144,13 @@ export namespace firebaseappcheck_v1beta { patch( params: Params$Resource$Projects$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5999,8 +6185,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6113,11 +6301,13 @@ export namespace firebaseappcheck_v1beta { batchUpdate( params: Params$Resource$Projects$Services$Resourcepolicies$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Services$Resourcepolicies$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Projects$Services$Resourcepolicies$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -6152,8 +6342,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6211,11 +6403,13 @@ export namespace firebaseappcheck_v1beta { create( params: Params$Resource$Projects$Services$Resourcepolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Services$Resourcepolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Services$Resourcepolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6250,8 +6444,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6310,11 +6506,11 @@ export namespace firebaseappcheck_v1beta { delete( params: Params$Resource$Projects$Services$Resourcepolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Services$Resourcepolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Services$Resourcepolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6345,8 +6541,8 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6400,11 +6596,13 @@ export namespace firebaseappcheck_v1beta { get( params: Params$Resource$Projects$Services$Resourcepolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Services$Resourcepolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Services$Resourcepolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6439,8 +6637,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6495,11 +6695,13 @@ export namespace firebaseappcheck_v1beta { list( params: Params$Resource$Projects$Services$Resourcepolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Services$Resourcepolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Services$Resourcepolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6534,8 +6736,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6593,11 +6797,13 @@ export namespace firebaseappcheck_v1beta { patch( params: Params$Resource$Projects$Services$Resourcepolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Services$Resourcepolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Services$Resourcepolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6632,8 +6838,10 @@ export namespace firebaseappcheck_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Services$Resourcepolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebaseappdistribution/index.ts b/src/apis/firebaseappdistribution/index.ts index b39c8f8e789..18bc8b91269 100644 --- a/src/apis/firebaseappdistribution/index.ts +++ b/src/apis/firebaseappdistribution/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/firebaseappdistribution/package.json b/src/apis/firebaseappdistribution/package.json index 7cb19040ae3..ebb5cdb3056 100644 --- a/src/apis/firebaseappdistribution/package.json +++ b/src/apis/firebaseappdistribution/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/firebaseappdistribution/v1.ts b/src/apis/firebaseappdistribution/v1.ts index aea3c90a357..6fc049fa55d 100644 --- a/src/apis/firebaseappdistribution/v1.ts +++ b/src/apis/firebaseappdistribution/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -864,11 +864,11 @@ export namespace firebaseappdistribution_v1 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -903,8 +903,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1012,11 +1012,13 @@ export namespace firebaseappdistribution_v1 { getAabInfo( params: Params$Resource$Projects$Apps$Getaabinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAabInfo( params?: Params$Resource$Projects$Apps$Getaabinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAabInfo( params: Params$Resource$Projects$Apps$Getaabinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -1051,8 +1053,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Getaabinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1129,11 +1133,11 @@ export namespace firebaseappdistribution_v1 { batchDelete( params: Params$Resource$Projects$Apps$Releases$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Apps$Releases$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Apps$Releases$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -1166,8 +1170,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1223,11 +1227,13 @@ export namespace firebaseappdistribution_v1 { distribute( params: Params$Resource$Projects$Apps$Releases$Distribute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; distribute( params?: Params$Resource$Projects$Apps$Releases$Distribute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; distribute( params: Params$Resource$Projects$Apps$Releases$Distribute, options: StreamMethodOptions | BodyResponseCallback, @@ -1262,8 +1268,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Distribute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1321,11 +1329,13 @@ export namespace firebaseappdistribution_v1 { get( params: Params$Resource$Projects$Apps$Releases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Releases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Releases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1360,8 +1370,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1416,11 +1428,13 @@ export namespace firebaseappdistribution_v1 { list( params: Params$Resource$Projects$Apps$Releases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Apps$Releases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Apps$Releases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1455,8 +1469,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1514,11 +1530,13 @@ export namespace firebaseappdistribution_v1 { patch( params: Params$Resource$Projects$Apps$Releases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Releases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Releases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1553,8 +1571,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1687,11 +1707,11 @@ export namespace firebaseappdistribution_v1 { delete( params: Params$Resource$Projects$Apps$Releases$Feedbackreports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Apps$Releases$Feedbackreports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Apps$Releases$Feedbackreports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1722,8 +1742,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Feedbackreports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1777,11 +1797,13 @@ export namespace firebaseappdistribution_v1 { get( params: Params$Resource$Projects$Apps$Releases$Feedbackreports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Releases$Feedbackreports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Releases$Feedbackreports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1816,8 +1838,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Feedbackreports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1873,11 +1897,13 @@ export namespace firebaseappdistribution_v1 { list( params: Params$Resource$Projects$Apps$Releases$Feedbackreports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Apps$Releases$Feedbackreports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Apps$Releases$Feedbackreports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1912,8 +1938,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Feedbackreports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2009,11 +2037,11 @@ export namespace firebaseappdistribution_v1 { cancel( params: Params$Resource$Projects$Apps$Releases$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Apps$Releases$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Apps$Releases$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2044,8 +2072,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2098,11 +2126,11 @@ export namespace firebaseappdistribution_v1 { delete( params: Params$Resource$Projects$Apps$Releases$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Apps$Releases$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Apps$Releases$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2133,8 +2161,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2187,11 +2215,11 @@ export namespace firebaseappdistribution_v1 { get( params: Params$Resource$Projects$Apps$Releases$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Releases$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Apps$Releases$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2226,8 +2254,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2280,11 +2308,13 @@ export namespace firebaseappdistribution_v1 { list( params: Params$Resource$Projects$Apps$Releases$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Apps$Releases$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Apps$Releases$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2319,8 +2349,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2378,11 +2410,11 @@ export namespace firebaseappdistribution_v1 { wait( params: Params$Resource$Projects$Apps$Releases$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Apps$Releases$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Apps$Releases$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -2417,8 +2449,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2536,11 +2568,11 @@ export namespace firebaseappdistribution_v1 { batchJoin( params: Params$Resource$Projects$Groups$Batchjoin, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchJoin( params?: Params$Resource$Projects$Groups$Batchjoin, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchJoin( params: Params$Resource$Projects$Groups$Batchjoin, options: StreamMethodOptions | BodyResponseCallback, @@ -2571,8 +2603,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Batchjoin; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2628,11 +2660,11 @@ export namespace firebaseappdistribution_v1 { batchLeave( params: Params$Resource$Projects$Groups$Batchleave, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchLeave( params?: Params$Resource$Projects$Groups$Batchleave, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchLeave( params: Params$Resource$Projects$Groups$Batchleave, options: StreamMethodOptions | BodyResponseCallback, @@ -2665,8 +2697,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Batchleave; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2722,11 +2754,11 @@ export namespace firebaseappdistribution_v1 { create( params: Params$Resource$Projects$Groups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Groups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Groups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2761,8 +2793,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2820,11 +2852,11 @@ export namespace firebaseappdistribution_v1 { delete( params: Params$Resource$Projects$Groups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Groups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Groups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2855,8 +2887,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2909,11 +2941,11 @@ export namespace firebaseappdistribution_v1 { get( params: Params$Resource$Projects$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2948,8 +2980,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3004,11 +3036,13 @@ export namespace firebaseappdistribution_v1 { list( params: Params$Resource$Projects$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3043,8 +3077,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3102,11 +3138,11 @@ export namespace firebaseappdistribution_v1 { patch( params: Params$Resource$Projects$Groups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Groups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Groups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3141,8 +3177,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3290,11 +3326,13 @@ export namespace firebaseappdistribution_v1 { batchAdd( params: Params$Resource$Projects$Testers$Batchadd, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchAdd( params?: Params$Resource$Projects$Testers$Batchadd, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchAdd( params: Params$Resource$Projects$Testers$Batchadd, options: StreamMethodOptions | BodyResponseCallback, @@ -3329,8 +3367,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Testers$Batchadd; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3388,11 +3428,13 @@ export namespace firebaseappdistribution_v1 { batchRemove( params: Params$Resource$Projects$Testers$Batchremove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRemove( params?: Params$Resource$Projects$Testers$Batchremove, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchRemove( params: Params$Resource$Projects$Testers$Batchremove, options: StreamMethodOptions | BodyResponseCallback, @@ -3427,8 +3469,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Testers$Batchremove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3486,11 +3530,13 @@ export namespace firebaseappdistribution_v1 { list( params: Params$Resource$Projects$Testers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Testers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Testers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3525,8 +3571,10 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Testers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3584,11 +3632,11 @@ export namespace firebaseappdistribution_v1 { patch( params: Params$Resource$Projects$Testers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Testers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Testers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3623,8 +3671,8 @@ export namespace firebaseappdistribution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Testers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebaseappdistribution/v1alpha.ts b/src/apis/firebaseappdistribution/v1alpha.ts index be63bece1f2..203c1247fc1 100644 --- a/src/apis/firebaseappdistribution/v1alpha.ts +++ b/src/apis/firebaseappdistribution/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -925,11 +925,13 @@ export namespace firebaseappdistribution_v1alpha { get( params: Params$Resource$Apps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Apps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -964,8 +966,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1022,11 +1026,13 @@ export namespace firebaseappdistribution_v1alpha { getJwt( params: Params$Resource$Apps$Getjwt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getJwt( params?: Params$Resource$Apps$Getjwt, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getJwt( params: Params$Resource$Apps$Getjwt, options: StreamMethodOptions | BodyResponseCallback, @@ -1061,8 +1067,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Getjwt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1145,11 +1153,13 @@ export namespace firebaseappdistribution_v1alpha { enable_access( params: Params$Resource$Apps$Releases$Enable_access, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable_access( params?: Params$Resource$Apps$Releases$Enable_access, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; enable_access( params: Params$Resource$Apps$Releases$Enable_access, options: StreamMethodOptions | BodyResponseCallback, @@ -1184,8 +1194,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Releases$Enable_access; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1267,11 +1279,13 @@ export namespace firebaseappdistribution_v1alpha { create( params: Params$Resource$Apps$Releases$Notes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Apps$Releases$Notes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Apps$Releases$Notes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1306,8 +1320,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Releases$Notes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1389,11 +1405,13 @@ export namespace firebaseappdistribution_v1alpha { get( params: Params$Resource$Apps$Release_by_hash$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Release_by_hash$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Apps$Release_by_hash$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1428,8 +1446,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Release_by_hash$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1506,11 +1526,13 @@ export namespace firebaseappdistribution_v1alpha { getTesterUdids( params: Params$Resource$Apps$Testers$Gettesterudids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getTesterUdids( params?: Params$Resource$Apps$Testers$Gettesterudids, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getTesterUdids( params: Params$Resource$Apps$Testers$Gettesterudids, options: StreamMethodOptions | BodyResponseCallback, @@ -1545,8 +1567,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Testers$Gettesterudids; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1622,11 +1646,13 @@ export namespace firebaseappdistribution_v1alpha { get( params: Params$Resource$Apps$Upload_status$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Apps$Upload_status$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Apps$Upload_status$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1661,8 +1687,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Upload_status$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1743,11 +1771,13 @@ export namespace firebaseappdistribution_v1alpha { getTestQuota( params: Params$Resource$Projects$Gettestquota, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getTestQuota( params?: Params$Resource$Projects$Gettestquota, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getTestQuota( params: Params$Resource$Projects$Gettestquota, options: StreamMethodOptions | BodyResponseCallback, @@ -1782,8 +1812,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Gettestquota; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1857,11 +1889,13 @@ export namespace firebaseappdistribution_v1alpha { getTestConfig( params: Params$Resource$Projects$Apps$Gettestconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getTestConfig( params?: Params$Resource$Projects$Apps$Gettestconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getTestConfig( params: Params$Resource$Projects$Apps$Gettestconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1896,8 +1930,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Gettestconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1952,11 +1988,13 @@ export namespace firebaseappdistribution_v1alpha { updateTestConfig( params: Params$Resource$Projects$Apps$Updatetestconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateTestConfig( params?: Params$Resource$Projects$Apps$Updatetestconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateTestConfig( params: Params$Resource$Projects$Apps$Updatetestconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1991,8 +2029,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Updatetestconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2087,11 +2127,13 @@ export namespace firebaseappdistribution_v1alpha { cancel( params: Params$Resource$Projects$Apps$Releases$Tests$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Apps$Releases$Tests$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; cancel( params: Params$Resource$Projects$Apps$Releases$Tests$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2126,8 +2168,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Tests$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2185,11 +2229,13 @@ export namespace firebaseappdistribution_v1alpha { create( params: Params$Resource$Projects$Apps$Releases$Tests$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Apps$Releases$Tests$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Apps$Releases$Tests$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2224,8 +2270,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Tests$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2283,11 +2331,13 @@ export namespace firebaseappdistribution_v1alpha { get( params: Params$Resource$Projects$Apps$Releases$Tests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Releases$Tests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Releases$Tests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2322,8 +2372,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Tests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2378,11 +2430,13 @@ export namespace firebaseappdistribution_v1alpha { list( params: Params$Resource$Projects$Apps$Releases$Tests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Apps$Releases$Tests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Apps$Releases$Tests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2417,8 +2471,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Releases$Tests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2533,11 +2589,11 @@ export namespace firebaseappdistribution_v1alpha { batchDelete( params: Params$Resource$Projects$Apps$Testcases$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Apps$Testcases$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Apps$Testcases$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2570,8 +2626,8 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Testcases$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2627,11 +2683,13 @@ export namespace firebaseappdistribution_v1alpha { create( params: Params$Resource$Projects$Apps$Testcases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Apps$Testcases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Apps$Testcases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2666,8 +2724,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Testcases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2725,11 +2785,11 @@ export namespace firebaseappdistribution_v1alpha { delete( params: Params$Resource$Projects$Apps$Testcases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Apps$Testcases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Apps$Testcases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2760,8 +2820,8 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Testcases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2814,11 +2874,13 @@ export namespace firebaseappdistribution_v1alpha { get( params: Params$Resource$Projects$Apps$Testcases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Apps$Testcases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Apps$Testcases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2853,8 +2915,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Testcases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2909,11 +2973,13 @@ export namespace firebaseappdistribution_v1alpha { list( params: Params$Resource$Projects$Apps$Testcases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Apps$Testcases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Apps$Testcases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2948,8 +3014,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Testcases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3007,11 +3075,13 @@ export namespace firebaseappdistribution_v1alpha { patch( params: Params$Resource$Projects$Apps$Testcases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Apps$Testcases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Apps$Testcases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3046,8 +3116,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Apps$Testcases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3179,11 +3251,13 @@ export namespace firebaseappdistribution_v1alpha { getUdids( params: Params$Resource$Projects$Testers$Getudids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getUdids( params?: Params$Resource$Projects$Testers$Getudids, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getUdids( params: Params$Resource$Projects$Testers$Getudids, options: StreamMethodOptions | BodyResponseCallback, @@ -3218,8 +3292,10 @@ export namespace firebaseappdistribution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Testers$Getudids; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebaseapphosting/README.md b/src/apis/firebaseapphosting/README.md new file mode 100644 index 00000000000..756feaacddd --- /dev/null +++ b/src/apis/firebaseapphosting/README.md @@ -0,0 +1,28 @@ +Google Inc. logo + +# firebaseapphosting + +> Firebase App Hosting streamlines the development and deployment of dynamic Next.js and Angular applications, offering built-in framework support, GitHub integration, and integration with other Firebase products. You can use this API to intervene in the Firebase App Hosting build process and add custom functionality not supported in our default Console & CLI flows, including triggering builds from external CI/CD workflows or deploying from pre-built container images. + +## Installation + +```sh +$ npm install @googleapis/firebaseapphosting +``` + +## 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/firebaseapphosting/classes/Firebaseapphosting.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/firebaseapphosting/index.ts b/src/apis/firebaseapphosting/index.ts new file mode 100644 index 00000000000..74c492ee0a1 --- /dev/null +++ b/src/apis/firebaseapphosting/index.ts @@ -0,0 +1,64 @@ +// 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 {firebaseapphosting_v1} from './v1'; +import {firebaseapphosting_v1beta} from './v1beta'; + +export const VERSIONS = { + v1: firebaseapphosting_v1.Firebaseapphosting, + v1beta: firebaseapphosting_v1beta.Firebaseapphosting, +}; + +export function firebaseapphosting( + version: 'v1' +): firebaseapphosting_v1.Firebaseapphosting; +export function firebaseapphosting( + options: firebaseapphosting_v1.Options +): firebaseapphosting_v1.Firebaseapphosting; +export function firebaseapphosting( + version: 'v1beta' +): firebaseapphosting_v1beta.Firebaseapphosting; +export function firebaseapphosting( + options: firebaseapphosting_v1beta.Options +): firebaseapphosting_v1beta.Firebaseapphosting; +export function firebaseapphosting< + T = + | firebaseapphosting_v1.Firebaseapphosting + | firebaseapphosting_v1beta.Firebaseapphosting, +>( + this: GoogleConfigurable, + versionOrOptions: + | 'v1' + | firebaseapphosting_v1.Options + | 'v1beta' + | firebaseapphosting_v1beta.Options +) { + return getAPI('firebaseapphosting', versionOrOptions, VERSIONS, this); +} + +const auth = new AuthPlus(); +export {auth}; +export {firebaseapphosting_v1}; +export {firebaseapphosting_v1beta}; +export { + AuthPlus, + GlobalOptions, + APIRequestContext, + GoogleConfigurable, + StreamMethodOptions, + MethodOptions, + BodyResponseCallback, +} from 'googleapis-common'; diff --git a/src/apis/firebaseapphosting/package.json b/src/apis/firebaseapphosting/package.json new file mode 100644 index 00000000000..69f0394e127 --- /dev/null +++ b/src/apis/firebaseapphosting/package.json @@ -0,0 +1,43 @@ +{ + "name": "@googleapis/firebaseapphosting", + "version": "0.1.0", + "description": "firebaseapphosting", + "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.2-rc.0" + }, + "devDependencies": { + "@microsoft/api-documenter": "^7.8.10", + "@microsoft/api-extractor": "^7.8.10", + "gts": "^5.0.0", + "null-loader": "^4.0.0", + "ts-loader": "^9.0.0", + "typescript": "~4.8.4", + "webpack": "^5.0.0", + "webpack-cli": "^5.0.0" + } +} diff --git a/src/apis/firebaseapphosting/tsconfig.json b/src/apis/firebaseapphosting/tsconfig.json new file mode 100644 index 00000000000..e0810904968 --- /dev/null +++ b/src/apis/firebaseapphosting/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "./node_modules/gts/tsconfig-google.json", + "compilerOptions": { + "rootDir": ".", + "outDir": "build" + }, + "include": [ + "*.ts", + ] +} diff --git a/src/apis/firebaseapphosting/v1.ts b/src/apis/firebaseapphosting/v1.ts new file mode 100644 index 00000000000..f1c67639814 --- /dev/null +++ b/src/apis/firebaseapphosting/v1.ts @@ -0,0 +1,3878 @@ +// 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 firebaseapphosting_v1 { + export interface Options extends GlobalOptions { + version: 'v1'; + } + + 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; + } + + /** + * Firebase App Hosting API + * + * Firebase App Hosting streamlines the development and deployment of dynamic Next.js and Angular applications, offering built-in framework support, GitHub integration, and integration with other Firebase products. You can use this API to intervene in the Firebase App Hosting build process and add custom functionality not supported in our default Console & CLI flows, including triggering builds from external CI/CD workflows or deploying from pre-built container images. + * + * @example + * ```js + * const {google} = require('googleapis'); + * const firebaseapphosting = google.firebaseapphosting('v1'); + * ``` + */ + export class Firebaseapphosting { + context: APIRequestContext; + projects: Resource$Projects; + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this.context = { + _options: options || {}, + google, + }; + + this.projects = new Resource$Projects(this.context); + } + } + + /** + * A backend is the primary resource of App Hosting. + */ + export interface Schema$Backend { + /** + * Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. + */ + annotations?: {[key: string]: string} | null; + /** + * Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the backend. + */ + appId?: string | null; + /** + * Optional. If specified, the connection to an external source repository to watch for event-driven updates to the backend. + */ + codebase?: Schema$Codebase; + /** + * Output only. Time at which the backend was created. + */ + createTime?: string | null; + /** + * Output only. Time at which the backend was deleted. + */ + deleteTime?: string | null; + /** + * Optional. Human-readable name. 63 character limit. + */ + displayName?: string | null; + /** + * Optional. The environment name of the backend, used to load environment variables from environment specific configuration. + */ + environment?: string | null; + /** + * Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource. + */ + etag?: string | null; + /** + * Optional. Unstructured key value map that can be used to organize and categorize objects. + */ + labels?: {[key: string]: string} | null; + /** + * Output only. A list of the resources managed by this backend. + */ + managedResources?: Schema$ManagedResource[]; + /** + * Optional. Deprecated: Use `environment` instead. + */ + mode?: string | null; + /** + * Identifier. The resource name of the backend. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + name?: string | null; + /** + * Output only. A field that, if true, indicates that the system is working to make adjustments to the backend during a LRO. + */ + reconciling?: boolean | null; + /** + * Required. The name of the service account used for Cloud Build and Cloud Run. Should have the role roles/firebaseapphosting.computeRunner or equivalent permissions. + */ + serviceAccount?: string | null; + /** + * Required. Immutable. Specifies how App Hosting will serve the content for this backend. It will either be contained to a single region (REGIONAL_STRICT) or allowed to use App Hosting's global-replicated serving infrastructure (GLOBAL_ACCESS). + */ + servingLocality?: string | null; + /** + * Output only. System-assigned, unique identifier. + */ + uid?: string | null; + /** + * Output only. Time at which the backend was last updated. + */ + updateTime?: string | null; + /** + * Output only. The primary URI to communicate with the backend. + */ + uri?: string | null; + } + /** + * A single build for a backend, at a specific point codebase reference tag and point in time. Encapsulates several resources, including an Artifact Registry container image, a Cloud Build invocation that built the image, and the Cloud Run revision that uses that image. + */ + export interface Schema$Build { + /** + * Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. + */ + annotations?: {[key: string]: string} | null; + /** + * Output only. The location of the [Cloud Build logs](https://cloud.google.com/build/docs/view-build-results) for the build process. + */ + buildLogsUri?: string | null; + /** + * Optional. Additional configuration of the service. + */ + config?: Schema$Config; + /** + * Output only. Time at which the build was created. + */ + createTime?: string | null; + /** + * Output only. Time at which the build was deleted. + */ + deleteTime?: string | null; + /** + * Optional. Human-readable name. 63 character limit. + */ + displayName?: string | null; + /** + * Output only. The environment name of the backend when this build was created. + */ + environment?: string | null; + /** + * Output only. A list of all errors that occurred during an App Hosting build. + */ + errors?: Schema$Error[]; + /** + * Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource. + */ + etag?: string | null; + /** + * Output only. The Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) URI, used by the Cloud Run [`revision`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services.revisions) for this build. + */ + image?: string | null; + /** + * Optional. Unstructured key value map that can be used to organize and categorize objects. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The resource name of the build. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/builds/{buildId\}`. + */ + name?: string | null; + /** + * Output only. A field that, if true, indicates that the build has an ongoing LRO. + */ + reconciling?: boolean | null; + /** + * Required. Immutable. The source for the build. + */ + source?: Schema$BuildSource; + /** + * Output only. The state of the build. + */ + state?: string | null; + /** + * Output only. System-assigned, unique identifier. + */ + uid?: string | null; + /** + * Output only. Time at which the build was last updated. + */ + updateTime?: string | null; + } + /** + * The source for the build. + */ + export interface Schema$BuildSource { + /** + * A codebase source. + */ + codebase?: Schema$CodebaseSource; + /** + * An Artifact Registry container image source. + */ + container?: Schema$ContainerSource; + } + /** + * The request message for Operations.CancelOperation. + */ + export interface Schema$CancelOperationRequest {} + /** + * The connection to an external source repository to watch for event-driven updates to the backend. + */ + export interface Schema$Codebase { + /** + * Required. The resource name for the Developer Connect [`gitRepositoryLink`](https://cloud.google.com/developer-connect/docs/api/reference/rest/v1/projects.locations.connections.gitRepositoryLinks) connected to this backend, in the format: `projects/{project\}/locations/{location\}/connections/{connection\}/gitRepositoryLinks/{repositoryLink\}` The connection for the `gitRepositoryLink` must made be using the Firebase App Hosting GitHub App via the Firebase Console. + */ + repository?: string | null; + /** + * Optional. If `repository` is provided, the directory relative to the root of the repository to use as the root for the deployed web app. + */ + rootDirectory?: string | null; + } + /** + * A codebase source, representing the state of the codebase that the build will be created at. + */ + export interface Schema$CodebaseSource { + /** + * Output only. The author contained in the metadata of a version control change. + */ + author?: Schema$UserMetadata; + /** + * The branch in the codebase to build from, using the latest commit. + */ + branch?: string | null; + /** + * The commit in the codebase to build from. + */ + commit?: string | null; + /** + * Output only. The message of a codebase change. + */ + commitMessage?: string | null; + /** + * Output only. The time the change was made. + */ + commitTime?: string | null; + /** + * Output only. The human-friendly name to use for this Codebase when displaying a build. We use the first eight characters of the SHA-1 hash for GitHub.com. + */ + displayName?: string | null; + /** + * Output only. The full SHA-1 hash of a Git commit, if available. + */ + hash?: string | null; + /** + * Output only. A URI linking to the codebase on an hosting provider's website. May not be valid if the commit has been rebased or force-pushed out of existence in the linked repository. + */ + uri?: string | null; + } + /** + * Additional configuration of the backend for this build. + */ + export interface Schema$Config { + /** + * Optional. Environment variables for this build. + */ + env?: Schema$EnvironmentVariable[]; + /** + * Optional. Additional configuration of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service). + */ + runConfig?: Schema$RunConfig; + } + /** + * The URI of an Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) to use as the build source. + */ + export interface Schema$ContainerSource { + /** + * Required. A URI representing a container for the backend to use. + */ + image?: string | null; + } + /** + * Additional metadata for operations on custom domains. + */ + export interface Schema$CustomDomainOperationMetadata { + /** + * Output only. The custom domain's `CertState`, which must be `CERT_ACTIVE` for the create operations to complete. + */ + certState?: string | null; + /** + * Output only. The custom domain's `HostState`, which must be `HOST_ACTIVE` for Create operations of the domain name this `CustomDomain` refers toto complete. + */ + hostState?: string | null; + /** + * Output only. A list of issues that are currently preventing the operation from completing. These are generally DNS-related issues encountered when querying a domain's records or attempting to mint an SSL certificate. + */ + issues?: Schema$Status[]; + /** + * Output only. A list of steps that the user must complete to migrate their domain to App Hosting without downtime. + */ + liveMigrationSteps?: Schema$LiveMigrationStep[]; + /** + * Output only. The custom domain's `OwnershipState`, which must be `OWNERSHIP_ACTIVE` for the create operations to complete. + */ + ownershipState?: string | null; + /** + * Output only. A set of DNS record updates to perform, to allow App Hosting to serve secure content on the domain. + */ + quickSetupUpdates?: Schema$DnsUpdates[]; + } + /** + * The status of a custom domain's linkage to a backend. + */ + export interface Schema$CustomDomainStatus { + /** + * Output only. Tracks SSL certificate status for the domain. + */ + certState?: string | null; + /** + * Output only. Tracks whether a custom domain is detected as appropriately directing traffic to App Hosting. + */ + hostState?: string | null; + /** + * Output only. A list of issues with domain configuration. Allows users to self-correct problems with DNS records. + */ + issues?: Schema$Status[]; + /** + * Output only. Tracks whether the backend is permitted to serve content on the domain, based off the domain's DNS records. + */ + ownershipState?: string | null; + /** + * Output only. Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state. + */ + requiredDnsUpdates?: Schema$DnsUpdates[]; + } + /** + * A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files). + */ + export interface Schema$DnsRecord { + /** + * Output only. The domain the record pertains to, e.g. `foo.bar.com.`. + */ + domainName?: string | null; + /** + * Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`. + */ + rdata?: string | null; + /** + * Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action. + */ + relevantState?: string[] | null; + /** + * Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set. + */ + requiredAction?: string | null; + /** + * Output only. The record's type, which determines what data the record contains. + */ + type?: string | null; + } + /** + * A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting. + */ + export interface Schema$DnsRecordSet { + /** + * Output only. An error App Hosting services encountered when querying your domain's DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn't been set up yet. + */ + checkError?: Schema$Status; + /** + * Output only. The domain name the record set pertains to. + */ + domainName?: string | null; + /** + * Output only. Records on the domain. + */ + records?: Schema$DnsRecord[]; + } + /** + * A set of DNS record updates that you should make to allow App Hosting to serve secure content in response to requests against your domain. These updates present the current state of your domain's and related subdomains' DNS records when App Hosting last queried them, and the desired set of records that App Hosting needs to see before your custom domain can be fully active. + */ + export interface Schema$DnsUpdates { + /** + * Output only. The last time App Hosting checked your custom domain's DNS records. + */ + checkTime?: string | null; + /** + * Output only. The set of DNS records App Hosting needs in order to be able to serve secure content on the domain. + */ + desired?: Schema$DnsRecordSet[]; + /** + * Output only. The set of DNS records App Hosting discovered when inspecting a domain. + */ + discovered?: Schema$DnsRecordSet[]; + /** + * Output only. The domain name the DNS updates pertain to. + */ + domainName?: string | null; + } + /** + * A domain name that is associated with a backend. + */ + export interface Schema$Domain { + /** + * Optional. Annotations as key value pairs. + */ + annotations?: {[key: string]: string} | null; + /** + * Output only. Time at which the domain was created. + */ + createTime?: string | null; + /** + * Output only. Represents the state and configuration of a `CUSTOM` type domain. It is only present on Domains of that type. + */ + customDomainStatus?: Schema$CustomDomainStatus; + /** + * Output only. Time at which the domain was deleted. + */ + deleteTime?: string | null; + /** + * Optional. Whether the domain is disabled. Defaults to false. + */ + disabled?: boolean | null; + /** + * Optional. Mutable human-readable name for the domain. 63 character limit. e.g. `prod domain`. + */ + displayName?: string | null; + /** + * Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource. + */ + etag?: string | null; + /** + * Optional. Labels as key value pairs. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com` + */ + name?: string | null; + /** + * Output only. A field that, if true, indicates that the build has an ongoing LRO. + */ + reconciling?: boolean | null; + /** + * Optional. The serving behavior of the domain. If specified, the domain will serve content other than its backend's live content. + */ + serve?: Schema$ServingBehavior; + /** + * Output only. The type of the domain. + */ + type?: string | null; + /** + * Output only. System-assigned, unique identifier. + */ + uid?: string | null; + /** + * Output only. Time at which the domain was last updated. + */ + updateTime?: string | null; + } + /** + * Represents the metadata of a long-running operation on domains. + */ + export interface Schema$DomainOperationMetadata { + /** + * Output only. API version used to start the operation. + */ + apiVersion?: string | null; + /** + * Output only. The time the operation was created. + */ + createTime?: string | null; + /** + * Output only. Additional metadata for operations on custom domains. + */ + customDomainOperationMetadata?: Schema$CustomDomainOperationMetadata; + /** + * Output only. The time the operation finished running. + */ + endTime?: string | null; + /** + * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + */ + requestedCancellation?: boolean | null; + /** + * Output only. Human-readable status of the operation, if any. + */ + statusMessage?: string | null; + /** + * Output only. Server-defined resource path for the target of the operation. + */ + target?: string | null; + /** + * Output only. Name of the verb executed by the operation. + */ + verb?: string | null; + } + /** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} + */ + export interface Schema$Empty {} + /** + * Environment variables for this build. + */ + export interface Schema$EnvironmentVariable { + /** + * Optional. Where this variable should be made available. If left unspecified, will be available in both BUILD and BACKEND. + */ + availability?: string[] | null; + /** + * A fully qualified secret version. The value of the secret will be accessed once while building the application and once per cold start of the container at runtime. The service account used by Cloud Build and by Cloud Run must each have the `secretmanager.versions.access` permission on the secret. + */ + secret?: string | null; + /** + * A plaintext value. This value is encrypted at rest, but all project readers can view the value when reading your backend configuration. + */ + value?: string | null; + /** + * Required. The name of the environment variable. - Must be a valid environment variable name (e.g. A-Z or underscores). - May not start with "FIREBASE" or "GOOGLE". - May not be a reserved environment variable for KNative/Cloud Run + */ + variable?: string | null; + } + /** + * The container for the rpc status and source for any errors found during the build process. + */ + export interface Schema$Error { + /** + * Output only. Resource link + */ + cloudResource?: string | null; + /** + * Output only. A status and (human readable) error message for the build, if in a `FAILED` state. + */ + error?: Schema$Status; + /** + * Output only. The source of the error for the build, if in a `FAILED` state. + */ + errorSource?: string | null; + } + /** + * Message for response to list backends + */ + export interface Schema$ListBackendsResponse { + /** + * The list of backends + */ + backends?: Schema$Backend[]; + /** + * A token identifying the next page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for response to list builds. + */ + export interface Schema$ListBuildsResponse { + /** + * The list of builds. + */ + builds?: Schema$Build[]; + /** + * A token identifying the next page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for response to list domains. + */ + export interface Schema$ListDomainsResponse { + /** + * Output only. The list of domains. + */ + domains?: Schema$Domain[]; + /** + * Output only. A token identifying the next page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Output only. Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * The response message for Locations.ListLocations. + */ + export interface Schema$ListLocationsResponse { + /** + * A list of locations that matches the specified filter in the request. + */ + locations?: Schema$Location[]; + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + } + /** + * The response message for Operations.ListOperations. + */ + export interface Schema$ListOperationsResponse { + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + /** + * A list of operations that matches the specified filter in the request. + */ + operations?: Schema$Operation[]; + } + /** + * Message for response to list rollouts. + */ + export interface Schema$ListRolloutsResponse { + /** + * A token identifying the next page of results the server should return. + */ + nextPageToken?: string | null; + /** + * The list of rollouts. + */ + rollouts?: Schema$Rollout[]; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * A set of updates including ACME challenges and DNS records that allow App Hosting to create an SSL certificate and establish project ownership for your domain name before you direct traffic to App Hosting servers. Use these updates to facilitate zero downtime migrations to App Hosting from other services. After you've made the recommended updates, check your custom domain's `ownershipState` and `certState`. To avoid downtime, they should be `OWNERSHIP_ACTIVE` and `CERT_ACTIVE`, respectively, before you update your `A` and `AAAA` records. + */ + export interface Schema$LiveMigrationStep { + /** + * Output only. DNS updates to facilitate your domain's zero-downtime migration to App Hosting. + */ + dnsUpdates?: Schema$DnsUpdates[]; + /** + * Output only. Issues that prevent the current step from completing. + */ + issues?: Schema$Status[]; + /** + * Output only. One or more states from the `CustomDomainStatus` of the migrating domain that this step is attempting to make ACTIVE. For example, if the step is attempting to mint an SSL certificate, this field will include `CERT_STATE`. + */ + relevantDomainStates?: string[] | null; + /** + * Output only. The state of the live migration step, indicates whether you should work to complete the step now, in the future, or have already completed it. + */ + stepState?: string | null; + } + /** + * A resource that represents a Google Cloud location. + */ + export interface Schema$Location { + /** + * The friendly name for this location, typically a nearby city name. For example, "Tokyo". + */ + displayName?: string | null; + /** + * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\} + */ + labels?: {[key: string]: string} | null; + /** + * The canonical id for this location. For example: `"us-east1"`. + */ + locationId?: string | null; + /** + * Service-specific metadata. For example the available capacity at the given location. + */ + metadata?: {[key: string]: any} | null; + /** + * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` + */ + name?: string | null; + } + /** + * An external resource managed by App Hosting on the project. + */ + export interface Schema$ManagedResource { + /** + * A Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), managed by App Hosting. + */ + runService?: Schema$RunService; + } + /** + * This resource represents a long-running operation that is the result of a network API call. + */ + export interface Schema$Operation { + /** + * If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + */ + done?: boolean | null; + /** + * The error result of the operation in case of failure or cancellation. + */ + error?: Schema$Status; + /** + * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + */ + metadata?: {[key: string]: any} | null; + /** + * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`. + */ + name?: string | null; + /** + * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + */ + response?: {[key: string]: any} | null; + } + /** + * Represents the metadata of a long-running operation. + */ + export interface Schema$OperationMetadata { + /** + * Output only. API version used to start the operation. + */ + apiVersion?: string | null; + /** + * Output only. The time the operation was created. + */ + createTime?: string | null; + /** + * Output only. The time the operation finished running. + */ + endTime?: string | null; + /** + * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + */ + requestedCancellation?: boolean | null; + /** + * Output only. Human-readable status of the operation, if any. + */ + statusMessage?: string | null; + /** + * Output only. Server-defined resource path for the target of the operation. + */ + target?: string | null; + /** + * Output only. Name of the verb executed by the operation. + */ + verb?: string | null; + } + /** + * Specifies redirect behavior for a domain. + */ + export interface Schema$Redirect { + /** + * Optional. The status code to use in a redirect response. Must be a valid HTTP 3XX status code. Defaults to 302 if not present. + */ + status?: string | null; + /** + * Required. The URI of the redirect's intended destination. This URI will be prepended to the original request path. URI without a scheme are assumed to be HTTPS. + */ + uri?: string | null; + } + /** + * A single rollout of a build for a backend. + */ + export interface Schema$Rollout { + /** + * Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. + */ + annotations?: {[key: string]: string} | null; + /** + * Immutable. The name of a build that already exists. It doesn't have to be built; a rollout will wait for a build to be ready before updating traffic. + */ + build?: string | null; + /** + * Output only. Time at which the rollout was created. + */ + createTime?: string | null; + /** + * Output only. Time at which the rollout was deleted. + */ + deleteTime?: string | null; + /** + * Optional. Human-readable name. 63 character limit. + */ + displayName?: string | null; + /** + * Output only. A status and (human readable) error message for the rollout, if in a `FAILED` state. + */ + error?: Schema$Status; + /** + * Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource. + */ + etag?: string | null; + /** + * Optional. Unstructured key value map that can be used to organize and categorize objects. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The resource name of the rollout. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/rollouts/{rolloutId\}`. + */ + name?: string | null; + /** + * Output only. A field that, if true, indicates that the Rollout currently has an LRO. + */ + reconciling?: boolean | null; + /** + * Output only. The state of the rollout. + */ + state?: string | null; + /** + * Output only. System-assigned, unique identifier. + */ + uid?: string | null; + /** + * Output only. Time at which the rollout was last updated. + */ + updateTime?: string | null; + } + /** + * The policy for how automatic builds and rollouts are triggered and rolled out. + */ + export interface Schema$RolloutPolicy { + /** + * If set, specifies a branch that triggers a new build to be started with this policy. Otherwise, no automatic rollouts will happen. + */ + codebaseBranch?: string | null; + /** + * Optional. A flag that, if true, prevents automatic rollouts from being created via this RolloutPolicy. + */ + disabled?: boolean | null; + /** + * Output only. If `disabled` is set, the time at which the automatic rollouts were disabled. + */ + disabledTime?: string | null; + } + /** + * Additional configuration to apply to the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service). + */ + export interface Schema$RunConfig { + /** + * Optional. Maximum number of requests that each Cloud Run instance can receive. By default, each instance can receive Cloud Run's default of up to 80 requests at the same time. Concurrency can be set to any integer value up to 1000. + */ + concurrency?: number | null; + /** + * Optional. Number of CPUs used for each serving instance. By default, cpu defaults to the Cloud Run's default of 1.0. CPU can be set to value 1, 2, 4, 6, or 8 CPUs, and for less than 1 CPU, a value from 0.08 to less than 1.00, in increments of 0.01. If you set a value of less than 1 CPU, you must set concurrency to 1, and CPU will only be allocated during request processing. Increasing CPUs limit may require increase in memory limits: - 4 CPUs: at least 2 GiB - 6 CPUs: at least 4 GiB - 8 CPUs: at least 4 GiB + */ + cpu?: number | null; + /** + * Optional. Number of Cloud Run instances to maintain at maximum for each revision. By default, each Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service) scales out to Cloud Run's default of a maximum of 100 instances. The maximum max_instances limit is based on your quota. See https://cloud.google.com/run/docs/configuring/max-instances#limits. + */ + maxInstances?: number | null; + /** + * Optional. Amount of memory allocated for each serving instance in MiB. By default, memory defaults to the Cloud Run's default where each instance is allocated 512 MiB of memory. Memory can be set to any integer value between 128 to 32768. Increasing memory limit may require increase in CPUs limits: - Over 4 GiB: at least 2 CPUs - Over 8 GiB: at least 4 CPUs - Over 16 GiB: at least 6 CPUs - Over 24 GiB: at least 8 CPUs + */ + memoryMib?: number | null; + /** + * Optional. Number of Cloud Run instances to maintain at minimum for each Cloud Run Service. By default, there are no minimum. Even if the service splits traffic across multiple revisions, the total number of instances for a service will be capped at this value. + */ + minInstances?: number | null; + } + /** + * A managed Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service). + */ + export interface Schema$RunService { + /** + * Optional. The name of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), in the format: `projects/{project\}/locations/{location\}/services/{serviceId\}` + */ + service?: string | null; + } + /** + * Indicates whether App Hosting will serve content on the domain. + */ + export interface Schema$ServingBehavior { + /** + * Optional. Redirect behavior for a domain, if provided. + */ + redirect?: Schema$Redirect; + } + /** + * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). + */ + export interface Schema$Status { + /** + * The status code, which should be an enum value of google.rpc.Code. + */ + code?: number | null; + /** + * A list of messages that carry the error details. There is a common set of message types for APIs to use. + */ + details?: Array<{[key: string]: any}> | null; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + */ + message?: string | null; + } + /** + * Controls traffic configuration for the backend. + */ + export interface Schema$Traffic { + /** + * Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. + */ + annotations?: {[key: string]: string} | null; + /** + * Output only. Time at which the backend was created. + */ + createTime?: string | null; + /** + * Output only. Current state of traffic allocation for the backend. When setting `target`, this field may differ for some time until the desired state is reached. + */ + current?: Schema$TrafficSet; + /** + * Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource. + */ + etag?: string | null; + /** + * Optional. Unstructured key value map that can be used to organize and categorize objects. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The resource name of the backend's traffic. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/traffic`. + */ + name?: string | null; + /** + * Output only. A field that, if true, indicates that the system is working to make the backend's `current` match the requested `target` list. + */ + reconciling?: boolean | null; + /** + * A rollout policy specifies how new builds and automatic deployments are created. + */ + rolloutPolicy?: Schema$RolloutPolicy; + /** + * Set to manually control the desired traffic for the backend. This will cause `current` to eventually match this value. The percentages must add up to 100%. + */ + target?: Schema$TrafficSet; + /** + * Output only. System-assigned, unique identifier. + */ + uid?: string | null; + /** + * Output only. Time at which the backend was last updated. + */ + updateTime?: string | null; + } + /** + * A list of traffic splits that together represent where traffic is being routed. + */ + export interface Schema$TrafficSet { + /** + * Required. The list of traffic splits. + */ + splits?: Schema$TrafficSplit[]; + } + /** + * The traffic allocation for the backend. + */ + export interface Schema$TrafficSplit { + /** + * Required. The build that traffic is being routed to. + */ + build?: string | null; + /** + * Required. The percentage of traffic to send to the build. Currently must be 100% or 0%. + */ + percent?: number | null; + } + /** + * Version control metadata for a user associated with a resolved codebase. Currently assumes a Git user. + */ + export interface Schema$UserMetadata { + /** + * Output only. The 'name' field in a Git user's git.config. Required by Git. + */ + displayName?: string | null; + /** + * Output only. The 'email' field in a Git user's git.config, if available. + */ + email?: string | null; + /** + * Output only. The URI of an image file associated with the user's account in an external source control provider, if available. + */ + imageUri?: string | null; + } + + export class Resource$Projects { + context: APIRequestContext; + locations: Resource$Projects$Locations; + constructor(context: APIRequestContext) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + + export class Resource$Projects$Locations { + context: APIRequestContext; + backends: Resource$Projects$Locations$Backends; + operations: Resource$Projects$Locations$Operations; + constructor(context: APIRequestContext) { + this.context = context; + this.backends = new Resource$Projects$Locations$Backends(this.context); + this.operations = new Resource$Projects$Locations$Operations( + this.context + ); + } + + /** + * Gets information about a location. + * + * @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$Projects$Locations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists information about the supported locations for this service. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}/locations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Get + extends StandardParameters { + /** + * Resource name for the location. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$List + extends StandardParameters { + /** + * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. + */ + extraLocationTypes?: string[]; + /** + * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + */ + filter?: string; + /** + * The resource that owns the locations collection, if applicable. + */ + name?: string; + /** + * The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + } + + export class Resource$Projects$Locations$Backends { + context: APIRequestContext; + builds: Resource$Projects$Locations$Backends$Builds; + domains: Resource$Projects$Locations$Backends$Domains; + rollouts: Resource$Projects$Locations$Backends$Rollouts; + traffic: Resource$Projects$Locations$Backends$Traffic; + constructor(context: APIRequestContext) { + this.context = context; + this.builds = new Resource$Projects$Locations$Backends$Builds( + this.context + ); + this.domains = new Resource$Projects$Locations$Backends$Domains( + this.context + ); + this.rollouts = new Resource$Projects$Locations$Backends$Rollouts( + this.context + ); + this.traffic = new Resource$Projects$Locations$Backends$Traffic( + this.context + ); + } + + /** + * Creates a new backend in a given project and location. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Backends$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Backends$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Backends$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/backends').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single backend. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Backends$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Backends$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Backends$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets information about a backend. + * + * @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$Projects$Locations$Backends$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Backends$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Backends$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists backends in a given project and location. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Backends$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Backends$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Backends$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/backends').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates the information for a single backend. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Backends$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Backends$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Backends$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backends$Create + extends StandardParameters { + /** + * Required. Id of the backend. Also used as the service ID for Cloud Run, and as part of the default domain name. + */ + backendId?: string; + /** + * Required. A parent name of the form `projects/{project\}/locations/{locationId\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Backend; + } + export interface Params$Resource$Projects$Locations$Backends$Delete + extends StandardParameters { + /** + * Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error. + */ + etag?: string; + /** + * Optional. If set to true, any resources for this backend will also be deleted. Otherwise, any children resources will block deletion. + */ + force?: boolean; + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated, without persisting the request or updating any resources. + */ + validateOnly?: boolean; + } + export interface Params$Resource$Projects$Locations$Backends$Get + extends StandardParameters { + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backends$List + extends StandardParameters { + /** + * Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ + filter?: string; + /** + * Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix. + */ + orderBy?: string; + /** + * Optional. The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + /** + * Required. A parent name of the form `projects/{project\}/locations/{locationId\}`. + */ + parent?: string; + /** + * Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet. + */ + showDeleted?: boolean; + } + export interface Params$Resource$Projects$Locations$Backends$Patch + extends StandardParameters { + /** + * Optional. If set to true, and the backend is not found, a new backend will be created. + */ + allowMissing?: boolean; + /** + * Identifier. The resource name of the backend. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the backend resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + /** + * Optional. Indicates that the request should be validated, without persisting the request or updating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Backend; + } + + export class Resource$Projects$Locations$Backends$Builds { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new build for a backend. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Backends$Builds$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Backends$Builds$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Backends$Builds$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Builds$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Builds$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Builds$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Builds$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Builds$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/builds').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single build. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Backends$Builds$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Backends$Builds$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Backends$Builds$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Builds$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Builds$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Builds$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Builds$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Builds$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets information about a build. + * + * @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$Projects$Locations$Backends$Builds$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Backends$Builds$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Backends$Builds$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Builds$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Builds$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Builds$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Builds$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Builds$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists builds in a given project, location, and backend. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Backends$Builds$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Backends$Builds$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Backends$Builds$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Builds$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Builds$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Builds$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Builds$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Builds$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/builds').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backends$Builds$Create + extends StandardParameters { + /** + * Required. Desired ID of the build being created. + */ + buildId?: string; + /** + * Required. The parent backend in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Build; + } + export interface Params$Resource$Projects$Locations$Backends$Builds$Delete + extends StandardParameters { + /** + * Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error. + */ + etag?: string; + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/builds/{buildId\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources. + */ + validateOnly?: boolean; + } + export interface Params$Resource$Projects$Locations$Backends$Builds$Get + extends StandardParameters { + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/builds/{buildId\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backends$Builds$List + extends StandardParameters { + /** + * Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ + filter?: string; + /** + * Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix. + */ + orderBy?: string; + /** + * Optional. The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + /** + * Required. The parent backend in the form `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet. + */ + showDeleted?: boolean; + } + + export class Resource$Projects$Locations$Backends$Domains { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Links a new domain to a backend. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Backends$Domains$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Backends$Domains$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Backends$Domains$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Domains$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Domains$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Domains$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Domains$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Domains$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/domains').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single domain. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Backends$Domains$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Backends$Domains$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Backends$Domains$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Domains$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Domains$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Domains$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Domains$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Domains$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets information about a domain. + * + * @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$Projects$Locations$Backends$Domains$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Backends$Domains$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Backends$Domains$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Domains$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Domains$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Domains$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Domains$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Domains$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists domains of a backend. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Backends$Domains$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Backends$Domains$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Backends$Domains$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Domains$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Domains$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Domains$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Domains$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Domains$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/domains').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates the information for a single domain. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Backends$Domains$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Backends$Domains$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Backends$Domains$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Domains$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Domains$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Domains$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Domains$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Domains$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backends$Domains$Create + extends StandardParameters { + /** + * Required. Id of the domain to create. Must be a valid domain name. + */ + domainId?: string; + /** + * Required. The parent backend in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Domain; + } + export interface Params$Resource$Projects$Locations$Backends$Domains$Delete + extends StandardParameters { + /** + * Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error. + */ + etag?: string; + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/domains/{domainId\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources. + */ + validateOnly?: boolean; + } + export interface Params$Resource$Projects$Locations$Backends$Domains$Get + extends StandardParameters { + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/domains/{domainId\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backends$Domains$List + extends StandardParameters { + /** + * Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ + filter?: string; + /** + * Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix. + */ + orderBy?: string; + /** + * Optional. The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + /** + * Required. The parent backend in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet. + */ + showDeleted?: boolean; + } + export interface Params$Resource$Projects$Locations$Backends$Domains$Patch + extends StandardParameters { + /** + * Optional. If set to true, and the domain is not found, a new domain will be created. + */ + allowMissing?: boolean; + /** + * Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com` + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the Domain resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or modifying any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Domain; + } + + export class Resource$Projects$Locations$Backends$Rollouts { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new rollout for a backend. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Backends$Rollouts$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Rollouts$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Rollouts$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Rollouts$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/rollouts').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets information about a rollout. + * + * @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$Projects$Locations$Backends$Rollouts$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Backends$Rollouts$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Rollouts$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Rollouts$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Rollouts$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists rollouts for a backend. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Backends$Rollouts$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Backends$Rollouts$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Backends$Rollouts$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Rollouts$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Rollouts$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Rollouts$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Rollouts$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Rollouts$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/rollouts').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backends$Rollouts$Create + extends StandardParameters { + /** + * Required. The parent backend in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Desired ID of the rollout being created. + */ + rolloutId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Rollout; + } + export interface Params$Resource$Projects$Locations$Backends$Rollouts$Get + extends StandardParameters { + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/rollouts/{rolloutId\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backends$Rollouts$List + extends StandardParameters { + /** + * Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ + filter?: string; + /** + * Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix. + */ + orderBy?: string; + /** + * Optional. The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + /** + * Required. The parent backend in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet. + */ + showDeleted?: boolean; + } + + export class Resource$Projects$Locations$Backends$Traffic { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets information about a backend's traffic. + * + * @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$Projects$Locations$Backends$Traffic$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Backends$Traffic$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Backends$Traffic$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Traffic$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Traffic$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Traffic$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Traffic$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Traffic$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates a backend's traffic. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Backends$Traffic$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Backends$Traffic$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Backends$Traffic$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Traffic$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Traffic$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Traffic$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Traffic$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Traffic$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backends$Traffic$Get + extends StandardParameters { + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/traffic`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backends$Traffic$Patch + extends StandardParameters { + /** + * Identifier. The resource name of the backend's traffic. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/traffic`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the traffic resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + /** + * Optional. Indicates that the request should be validated, without persisting the request or updating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Traffic; + } + + export class Resource$Projects$Locations$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. + * + * @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. + */ + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions + ): Promise>; + cancel( + params?: Params$Resource$Projects$Locations$Operations$Cancel, + options?: MethodOptions + ): Promise>; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + callback: BodyResponseCallback + ): void; + cancel(callback: BodyResponseCallback): void; + cancel( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Cancel + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Cancel; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Cancel; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Operations$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * + * @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$Projects$Locations$Operations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Operations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Operations$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Operations$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}/operations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Operations$Cancel + extends StandardParameters { + /** + * The name of the operation resource to be cancelled. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CancelOperationRequest; + } + export interface Params$Resource$Projects$Locations$Operations$Delete + extends StandardParameters { + /** + * The name of the operation resource to be deleted. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$Get + extends StandardParameters { + /** + * The name of the operation resource. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$List + extends StandardParameters { + /** + * The standard list filter. + */ + filter?: string; + /** + * The name of the operation's parent resource. + */ + name?: string; + /** + * The standard list page size. + */ + pageSize?: number; + /** + * The standard list page token. + */ + pageToken?: string; + } +} diff --git a/src/apis/firebaseapphosting/v1beta.ts b/src/apis/firebaseapphosting/v1beta.ts new file mode 100644 index 00000000000..7adc42a7abd --- /dev/null +++ b/src/apis/firebaseapphosting/v1beta.ts @@ -0,0 +1,3930 @@ +// 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 firebaseapphosting_v1beta { + export interface Options extends GlobalOptions { + version: 'v1beta'; + } + + 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; + } + + /** + * Firebase App Hosting API + * + * Firebase App Hosting streamlines the development and deployment of dynamic Next.js and Angular applications, offering built-in framework support, GitHub integration, and integration with other Firebase products. You can use this API to intervene in the Firebase App Hosting build process and add custom functionality not supported in our default Console & CLI flows, including triggering builds from external CI/CD workflows or deploying from pre-built container images. + * + * @example + * ```js + * const {google} = require('googleapis'); + * const firebaseapphosting = google.firebaseapphosting('v1beta'); + * ``` + */ + export class Firebaseapphosting { + context: APIRequestContext; + projects: Resource$Projects; + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this.context = { + _options: options || {}, + google, + }; + + this.projects = new Resource$Projects(this.context); + } + } + + /** + * The URI of an storage archive or a signed URL to use as the build source. + */ + export interface Schema$ArchiveSource { + /** + * Optional. The author contained in the metadata of a version control change. + */ + author?: Schema$SourceUserMetadata; + /** + * Optional. An optional message that describes the uploaded version of the source code. + */ + description?: string | null; + /** + * Signed URL to an archive in a storage bucket. + */ + externalSignedUri?: string | null; + /** + * Optional. Relative path in the archive. + */ + rootDirectory?: string | null; + /** + * URI to an archive in Cloud Storage. The object must be a zipped (.zip) or gzipped archive file (.tar.gz) containing source to deploy. + */ + userStorageUri?: string | null; + } + /** + * A backend is the primary resource of App Hosting. + */ + export interface Schema$Backend { + /** + * Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. + */ + annotations?: {[key: string]: string} | null; + /** + * Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the backend. + */ + appId?: string | null; + /** + * Optional. If specified, the connection to an external source repository to watch for event-driven updates to the backend. + */ + codebase?: Schema$Codebase; + /** + * Output only. Time at which the backend was created. + */ + createTime?: string | null; + /** + * Output only. Time at which the backend was deleted. + */ + deleteTime?: string | null; + /** + * Optional. Human-readable name. 63 character limit. + */ + displayName?: string | null; + /** + * Optional. The environment name of the backend, used to load environment variables from environment specific configuration. + */ + environment?: string | null; + /** + * Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource. + */ + etag?: string | null; + /** + * Optional. Unstructured key value map that can be used to organize and categorize objects. + */ + labels?: {[key: string]: string} | null; + /** + * Output only. A list of the resources managed by this backend. + */ + managedResources?: Schema$ManagedResource[]; + /** + * Optional. Deprecated: Use `environment` instead. + */ + mode?: string | null; + /** + * Identifier. The resource name of the backend. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + name?: string | null; + /** + * Output only. A field that, if true, indicates that the system is working to make adjustments to the backend during a LRO. + */ + reconciling?: boolean | null; + /** + * Required. The name of the service account used for Cloud Build and Cloud Run. Should have the role roles/firebaseapphosting.computeRunner or equivalent permissions. + */ + serviceAccount?: string | null; + /** + * Required. Immutable. Specifies how App Hosting will serve the content for this backend. It will either be contained to a single region (REGIONAL_STRICT) or allowed to use App Hosting's global-replicated serving infrastructure (GLOBAL_ACCESS). + */ + servingLocality?: string | null; + /** + * Output only. System-assigned, unique identifier. + */ + uid?: string | null; + /** + * Output only. Time at which the backend was last updated. + */ + updateTime?: string | null; + /** + * Output only. The primary URI to communicate with the backend. + */ + uri?: string | null; + } + /** + * A single build for a backend, at a specific point codebase reference tag and point in time. Encapsulates several resources, including an Artifact Registry container image, a Cloud Build invocation that built the image, and the Cloud Run revision that uses that image. + */ + export interface Schema$Build { + /** + * Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. + */ + annotations?: {[key: string]: string} | null; + /** + * Output only. The location of the [Cloud Build logs](https://cloud.google.com/build/docs/view-build-results) for the build process. + */ + buildLogsUri?: string | null; + /** + * Optional. Additional configuration of the service. + */ + config?: Schema$Config; + /** + * Output only. Time at which the build was created. + */ + createTime?: string | null; + /** + * Output only. Time at which the build was deleted. + */ + deleteTime?: string | null; + /** + * Optional. Human-readable name. 63 character limit. + */ + displayName?: string | null; + /** + * Output only. The environment name of the backend when this build was created. + */ + environment?: string | null; + /** + * Output only. A status and (human readable) error message for the build, if in a `FAILED` state. Deprecated. Use `errors` instead. + */ + error?: Schema$Status; + /** + * Output only. A list of all errors that occurred during an App Hosting build. + */ + errors?: Schema$Error[]; + /** + * Output only. The source of the error for the build, if in a `FAILED` state. Deprecated. Use `errors` instead. + */ + errorSource?: string | null; + /** + * Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource. + */ + etag?: string | null; + /** + * Output only. The Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) URI, used by the Cloud Run [`revision`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services.revisions) for this build. + */ + image?: string | null; + /** + * Optional. Unstructured key value map that can be used to organize and categorize objects. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The resource name of the build. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/builds/{buildId\}`. + */ + name?: string | null; + /** + * Output only. A field that, if true, indicates that the build has an ongoing LRO. + */ + reconciling?: boolean | null; + /** + * Required. Immutable. The source for the build. + */ + source?: Schema$BuildSource; + /** + * Output only. The state of the build. + */ + state?: string | null; + /** + * Output only. System-assigned, unique identifier. + */ + uid?: string | null; + /** + * Output only. Time at which the build was last updated. + */ + updateTime?: string | null; + } + /** + * The source for the build. + */ + export interface Schema$BuildSource { + /** + * An archive source. + */ + archive?: Schema$ArchiveSource; + /** + * A codebase source. + */ + codebase?: Schema$CodebaseSource; + /** + * An Artifact Registry container image source. + */ + container?: Schema$ContainerSource; + } + /** + * The connection to an external source repository to watch for event-driven updates to the backend. + */ + export interface Schema$Codebase { + /** + * Required. The resource name for the Developer Connect [`gitRepositoryLink`](https://cloud.google.com/developer-connect/docs/api/reference/rest/v1/projects.locations.connections.gitRepositoryLinks) connected to this backend, in the format: `projects/{project\}/locations/{location\}/connections/{connection\}/gitRepositoryLinks/{repositoryLink\}` The connection for the `gitRepositoryLink` must made be using the Firebase App Hosting GitHub App via the Firebase Console. + */ + repository?: string | null; + /** + * Optional. If `repository` is provided, the directory relative to the root of the repository to use as the root for the deployed web app. + */ + rootDirectory?: string | null; + } + /** + * A codebase source, representing the state of the codebase that the build will be created at. + */ + export interface Schema$CodebaseSource { + /** + * Output only. The author contained in the metadata of a version control change. + */ + author?: Schema$UserMetadata; + /** + * The branch in the codebase to build from, using the latest commit. + */ + branch?: string | null; + /** + * The commit in the codebase to build from. + */ + commit?: string | null; + /** + * Output only. The message of a codebase change. + */ + commitMessage?: string | null; + /** + * Output only. The time the change was made. + */ + commitTime?: string | null; + /** + * Output only. The human-friendly name to use for this Codebase when displaying a build. We use the first eight characters of the SHA-1 hash for GitHub.com. + */ + displayName?: string | null; + /** + * Output only. The full SHA-1 hash of a Git commit, if available. + */ + hash?: string | null; + /** + * Output only. A URI linking to the codebase on an hosting provider's website. May not be valid if the commit has been rebased or force-pushed out of existence in the linked repository. + */ + uri?: string | null; + } + /** + * Additional configuration of the backend for this build. + */ + export interface Schema$Config { + /** + * Optional. Environment variables for this build. + */ + env?: Schema$EnvironmentVariable[]; + /** + * Optional. Additional configuration of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service). + */ + runConfig?: Schema$RunConfig; + } + /** + * The URI of an Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) to use as the build source. + */ + export interface Schema$ContainerSource { + /** + * Required. A URI representing a container for the backend to use. + */ + image?: string | null; + } + /** + * Additional metadata for operations on custom domains. + */ + export interface Schema$CustomDomainOperationMetadata { + /** + * Output only. The custom domain's `CertState`, which must be `CERT_ACTIVE` for the create operations to complete. + */ + certState?: string | null; + /** + * Output only. The custom domain's `HostState`, which must be `HOST_ACTIVE` for Create operations of the domain name this `CustomDomain` refers toto complete. + */ + hostState?: string | null; + /** + * Output only. A list of issues that are currently preventing the operation from completing. These are generally DNS-related issues encountered when querying a domain's records or attempting to mint an SSL certificate. + */ + issues?: Schema$Status[]; + /** + * Output only. A list of steps that the user must complete to migrate their domain to App Hosting without downtime. + */ + liveMigrationSteps?: Schema$LiveMigrationStep[]; + /** + * Output only. The custom domain's `OwnershipState`, which must be `OWNERSHIP_ACTIVE` for the create operations to complete. + */ + ownershipState?: string | null; + /** + * Output only. A set of DNS record updates to perform, to allow App Hosting to serve secure content on the domain. + */ + quickSetupUpdates?: Schema$DnsUpdates[]; + } + /** + * The status of a custom domain's linkage to a backend. + */ + export interface Schema$CustomDomainStatus { + /** + * Output only. Tracks SSL certificate status for the domain. + */ + certState?: string | null; + /** + * Output only. Tracks whether a custom domain is detected as appropriately directing traffic to App Hosting. + */ + hostState?: string | null; + /** + * Output only. A list of issues with domain configuration. Allows users to self-correct problems with DNS records. + */ + issues?: Schema$Status[]; + /** + * Output only. Tracks whether the backend is permitted to serve content on the domain, based off the domain's DNS records. + */ + ownershipState?: string | null; + /** + * Output only. Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state. + */ + requiredDnsUpdates?: Schema$DnsUpdates[]; + } + /** + * A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files). + */ + export interface Schema$DnsRecord { + /** + * Output only. The domain the record pertains to, e.g. `foo.bar.com.`. + */ + domainName?: string | null; + /** + * Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue "pki.goog"`. + */ + rdata?: string | null; + /** + * Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action. + */ + relevantState?: string[] | null; + /** + * Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set. + */ + requiredAction?: string | null; + /** + * Output only. The record's type, which determines what data the record contains. + */ + type?: string | null; + } + /** + * A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting. + */ + export interface Schema$DnsRecordSet { + /** + * Output only. An error App Hosting services encountered when querying your domain's DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn't been set up yet. + */ + checkError?: Schema$Status; + /** + * Output only. The domain name the record set pertains to. + */ + domainName?: string | null; + /** + * Output only. Records on the domain. + */ + records?: Schema$DnsRecord[]; + } + /** + * A set of DNS record updates that you should make to allow App Hosting to serve secure content in response to requests against your domain. These updates present the current state of your domain's and related subdomains' DNS records when App Hosting last queried them, and the desired set of records that App Hosting needs to see before your custom domain can be fully active. + */ + export interface Schema$DnsUpdates { + /** + * Output only. The last time App Hosting checked your custom domain's DNS records. + */ + checkTime?: string | null; + /** + * Output only. The set of DNS records App Hosting needs in order to be able to serve secure content on the domain. + */ + desired?: Schema$DnsRecordSet[]; + /** + * Output only. The set of DNS records App Hosting discovered when inspecting a domain. + */ + discovered?: Schema$DnsRecordSet[]; + /** + * Output only. The domain name the DNS updates pertain to. + */ + domainName?: string | null; + } + /** + * A domain name that is associated with a backend. + */ + export interface Schema$Domain { + /** + * Optional. Annotations as key value pairs. + */ + annotations?: {[key: string]: string} | null; + /** + * Output only. Time at which the domain was created. + */ + createTime?: string | null; + /** + * Output only. Represents the state and configuration of a `CUSTOM` type domain. It is only present on Domains of that type. + */ + customDomainStatus?: Schema$CustomDomainStatus; + /** + * Output only. Time at which the domain was deleted. + */ + deleteTime?: string | null; + /** + * Optional. Whether the domain is disabled. Defaults to false. + */ + disabled?: boolean | null; + /** + * Optional. Mutable human-readable name for the domain. 63 character limit. e.g. `prod domain`. + */ + displayName?: string | null; + /** + * Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource. + */ + etag?: string | null; + /** + * Optional. Labels as key value pairs. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com` + */ + name?: string | null; + /** + * Output only. Time at which a soft-deleted domain will be purged, rendering in permanently deleted. + */ + purgeTime?: string | null; + /** + * Output only. A field that, if true, indicates that the build has an ongoing LRO. + */ + reconciling?: boolean | null; + /** + * Optional. The serving behavior of the domain. If specified, the domain will serve content other than its backend's live content. + */ + serve?: Schema$ServingBehavior; + /** + * Output only. The type of the domain. + */ + type?: string | null; + /** + * Output only. System-assigned, unique identifier. + */ + uid?: string | null; + /** + * Output only. Time at which the domain was last updated. + */ + updateTime?: string | null; + } + /** + * Represents the metadata of a long-running operation on domains. + */ + export interface Schema$DomainOperationMetadata { + /** + * Output only. API version used to start the operation. + */ + apiVersion?: string | null; + /** + * Output only. The time the operation was created. + */ + createTime?: string | null; + /** + * Output only. Additional metadata for operations on custom domains. + */ + customDomainOperationMetadata?: Schema$CustomDomainOperationMetadata; + /** + * Output only. The time the operation finished running. + */ + endTime?: string | null; + /** + * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + */ + requestedCancellation?: boolean | null; + /** + * Output only. Human-readable status of the operation, if any. + */ + statusMessage?: string | null; + /** + * Output only. Server-defined resource path for the target of the operation. + */ + target?: string | null; + /** + * Output only. Name of the verb executed by the operation. + */ + verb?: string | null; + } + /** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} + */ + export interface Schema$Empty {} + /** + * Environment variables for this build. + */ + export interface Schema$EnvironmentVariable { + /** + * Optional. Where this variable should be made available. If left unspecified, will be available in both BUILD and BACKEND. + */ + availability?: string[] | null; + /** + * A fully qualified secret version. The value of the secret will be accessed once while building the application and once per cold start of the container at runtime. The service account used by Cloud Build and by Cloud Run must each have the `secretmanager.versions.access` permission on the secret. + */ + secret?: string | null; + /** + * A plaintext value. This value is encrypted at rest, but all project readers can view the value when reading your backend configuration. + */ + value?: string | null; + /** + * Required. The name of the environment variable. - Must be a valid environment variable name (e.g. A-Z or underscores). - May not start with "FIREBASE" or "GOOGLE". - May not be a reserved environment variable for KNative/Cloud Run + */ + variable?: string | null; + } + /** + * The container for the rpc status and source for any errors found during the build process. + */ + export interface Schema$Error { + /** + * Output only. Resource link + */ + cloudResource?: string | null; + /** + * Output only. A status and (human readable) error message for the build, if in a `FAILED` state. + */ + error?: Schema$Status; + /** + * Output only. The source of the error for the build, if in a `FAILED` state. + */ + errorSource?: string | null; + } + /** + * Message for response to list backends + */ + export interface Schema$ListBackendsResponse { + /** + * The list of backends + */ + backends?: Schema$Backend[]; + /** + * A token identifying the next page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for response to list builds. + */ + export interface Schema$ListBuildsResponse { + /** + * The list of builds. + */ + builds?: Schema$Build[]; + /** + * A token identifying the next page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for response to list domains. + */ + export interface Schema$ListDomainsResponse { + /** + * Output only. The list of domains. + */ + domains?: Schema$Domain[]; + /** + * Output only. A token identifying the next page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Output only. Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * The response message for Locations.ListLocations. + */ + export interface Schema$ListLocationsResponse { + /** + * A list of locations that matches the specified filter in the request. + */ + locations?: Schema$Location[]; + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + } + /** + * The response message for Operations.ListOperations. + */ + export interface Schema$ListOperationsResponse { + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + /** + * A list of operations that matches the specified filter in the request. + */ + operations?: Schema$Operation[]; + } + /** + * Message for response to list rollouts. + */ + export interface Schema$ListRolloutsResponse { + /** + * A token identifying the next page of results the server should return. + */ + nextPageToken?: string | null; + /** + * The list of rollouts. + */ + rollouts?: Schema$Rollout[]; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * A set of updates including ACME challenges and DNS records that allow App Hosting to create an SSL certificate and establish project ownership for your domain name before you direct traffic to App Hosting servers. Use these updates to facilitate zero downtime migrations to App Hosting from other services. After you've made the recommended updates, check your custom domain's `ownershipState` and `certState`. To avoid downtime, they should be `OWNERSHIP_ACTIVE` and `CERT_ACTIVE`, respectively, before you update your `A` and `AAAA` records. + */ + export interface Schema$LiveMigrationStep { + /** + * Output only. DNS updates to facilitate your domain's zero-downtime migration to App Hosting. + */ + dnsUpdates?: Schema$DnsUpdates[]; + /** + * Output only. Issues that prevent the current step from completing. + */ + issues?: Schema$Status[]; + /** + * Output only. One or more states from the `CustomDomainStatus` of the migrating domain that this step is attempting to make ACTIVE. For example, if the step is attempting to mint an SSL certificate, this field will include `CERT_STATE`. + */ + relevantDomainStates?: string[] | null; + /** + * Output only. The state of the live migration step, indicates whether you should work to complete the step now, in the future, or have already completed it. + */ + stepState?: string | null; + } + /** + * A resource that represents a Google Cloud location. + */ + export interface Schema$Location { + /** + * The friendly name for this location, typically a nearby city name. For example, "Tokyo". + */ + displayName?: string | null; + /** + * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\} + */ + labels?: {[key: string]: string} | null; + /** + * The canonical id for this location. For example: `"us-east1"`. + */ + locationId?: string | null; + /** + * Service-specific metadata. For example the available capacity at the given location. + */ + metadata?: {[key: string]: any} | null; + /** + * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` + */ + name?: string | null; + } + /** + * An external resource managed by App Hosting on the project. + */ + export interface Schema$ManagedResource { + /** + * A Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), managed by App Hosting. + */ + runService?: Schema$RunService; + } + /** + * This resource represents a long-running operation that is the result of a network API call. + */ + export interface Schema$Operation { + /** + * If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + */ + done?: boolean | null; + /** + * The error result of the operation in case of failure or cancellation. + */ + error?: Schema$Status; + /** + * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + */ + metadata?: {[key: string]: any} | null; + /** + * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`. + */ + name?: string | null; + /** + * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + */ + response?: {[key: string]: any} | null; + } + /** + * Represents the metadata of a long-running operation. + */ + export interface Schema$OperationMetadata { + /** + * Output only. API version used to start the operation. + */ + apiVersion?: string | null; + /** + * Output only. The time the operation was created. + */ + createTime?: string | null; + /** + * Output only. The time the operation finished running. + */ + endTime?: string | null; + /** + * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + */ + requestedCancellation?: boolean | null; + /** + * Output only. Human-readable status of the operation, if any. + */ + statusMessage?: string | null; + /** + * Output only. Server-defined resource path for the target of the operation. + */ + target?: string | null; + /** + * Output only. Name of the verb executed by the operation. + */ + verb?: string | null; + } + /** + * Specifies redirect behavior for a domain. + */ + export interface Schema$Redirect { + /** + * Optional. The status code to use in a redirect response. Must be a valid HTTP 3XX status code. Defaults to 302 if not present. + */ + status?: string | null; + /** + * Required. The URI of the redirect's intended destination. This URI will be prepended to the original request path. URI without a scheme are assumed to be HTTPS. + */ + uri?: string | null; + } + /** + * A single rollout of a build for a backend. + */ + export interface Schema$Rollout { + /** + * Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. + */ + annotations?: {[key: string]: string} | null; + /** + * Immutable. The name of a build that already exists. It doesn't have to be built; a rollout will wait for a build to be ready before updating traffic. + */ + build?: string | null; + /** + * Output only. Time at which the rollout was created. + */ + createTime?: string | null; + /** + * Output only. Time at which the rollout was deleted. + */ + deleteTime?: string | null; + /** + * Optional. Human-readable name. 63 character limit. + */ + displayName?: string | null; + /** + * Output only. A status and (human readable) error message for the rollout, if in a `FAILED` state. + */ + error?: Schema$Status; + /** + * Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource. + */ + etag?: string | null; + /** + * Optional. Unstructured key value map that can be used to organize and categorize objects. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The resource name of the rollout. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/rollouts/{rolloutId\}`. + */ + name?: string | null; + /** + * Output only. A field that, if true, indicates that the Rollout currently has an LRO. + */ + reconciling?: boolean | null; + /** + * Output only. The state of the rollout. + */ + state?: string | null; + /** + * Output only. System-assigned, unique identifier. + */ + uid?: string | null; + /** + * Output only. Time at which the rollout was last updated. + */ + updateTime?: string | null; + } + /** + * The policy for how automatic builds and rollouts are triggered and rolled out. + */ + export interface Schema$RolloutPolicy { + /** + * If set, specifies a branch that triggers a new build to be started with this policy. Otherwise, no automatic rollouts will happen. + */ + codebaseBranch?: string | null; + /** + * Optional. A flag that, if true, prevents automatic rollouts from being created via this RolloutPolicy. + */ + disabled?: boolean | null; + /** + * Output only. If `disabled` is set, the time at which the automatic rollouts were disabled. + */ + disabledTime?: string | null; + } + /** + * Additional configuration to apply to the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service). + */ + export interface Schema$RunConfig { + /** + * Optional. Maximum number of requests that each Cloud Run instance can receive. By default, each instance can receive Cloud Run's default of up to 80 requests at the same time. Concurrency can be set to any integer value up to 1000. + */ + concurrency?: number | null; + /** + * Optional. Number of CPUs used for each serving instance. By default, cpu defaults to the Cloud Run's default of 1.0. CPU can be set to value 1, 2, 4, 6, or 8 CPUs, and for less than 1 CPU, a value from 0.08 to less than 1.00, in increments of 0.01. If you set a value of less than 1 CPU, you must set concurrency to 1, and CPU will only be allocated during request processing. Increasing CPUs limit may require increase in memory limits: - 4 CPUs: at least 2 GiB - 6 CPUs: at least 4 GiB - 8 CPUs: at least 4 GiB + */ + cpu?: number | null; + /** + * Optional. Number of Cloud Run instances to maintain at maximum for each revision. By default, each Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service) scales out to Cloud Run's default of a maximum of 100 instances. The maximum max_instances limit is based on your quota. See https://cloud.google.com/run/docs/configuring/max-instances#limits. + */ + maxInstances?: number | null; + /** + * Optional. Amount of memory allocated for each serving instance in MiB. By default, memory defaults to the Cloud Run's default where each instance is allocated 512 MiB of memory. Memory can be set to any integer value between 128 to 32768. Increasing memory limit may require increase in CPUs limits: - Over 4 GiB: at least 2 CPUs - Over 8 GiB: at least 4 CPUs - Over 16 GiB: at least 6 CPUs - Over 24 GiB: at least 8 CPUs + */ + memoryMib?: number | null; + /** + * Optional. Number of Cloud Run instances to maintain at minimum for each Cloud Run Service. By default, there are no minimum. Even if the service splits traffic across multiple revisions, the total number of instances for a service will be capped at this value. + */ + minInstances?: number | null; + } + /** + * A managed Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service). + */ + export interface Schema$RunService { + /** + * Optional. The name of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), in the format: `projects/{project\}/locations/{location\}/services/{serviceId\}` + */ + service?: string | null; + } + /** + * Indicates whether App Hosting will serve content on the domain. + */ + export interface Schema$ServingBehavior { + /** + * Optional. Redirect behavior for a domain, if provided. + */ + redirect?: Schema$Redirect; + } + /** + * Metadata for the user who started the build. + */ + export interface Schema$SourceUserMetadata { + /** + * Output only. The user-chosen displayname. May be empty. + */ + displayName?: string | null; + /** + * Output only. The account email linked to the EUC that created the build. May be a service account or other robot account. + */ + email?: string | null; + /** + * Output only. The URI of a profile photo associated with the user who created the build. + */ + imageUri?: string | null; + } + /** + * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). + */ + export interface Schema$Status { + /** + * The status code, which should be an enum value of google.rpc.Code. + */ + code?: number | null; + /** + * A list of messages that carry the error details. There is a common set of message types for APIs to use. + */ + details?: Array<{[key: string]: any}> | null; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + */ + message?: string | null; + } + /** + * Controls traffic configuration for the backend. + */ + export interface Schema$Traffic { + /** + * Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. + */ + annotations?: {[key: string]: string} | null; + /** + * Output only. Time at which the backend was created. + */ + createTime?: string | null; + /** + * Output only. Current state of traffic allocation for the backend. When setting `target`, this field may differ for some time until the desired state is reached. + */ + current?: Schema$TrafficSet; + /** + * Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource. + */ + etag?: string | null; + /** + * Optional. Unstructured key value map that can be used to organize and categorize objects. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The resource name of the backend's traffic. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/traffic`. + */ + name?: string | null; + /** + * Output only. A field that, if true, indicates that the system is working to make the backend's `current` match the requested `target` list. + */ + reconciling?: boolean | null; + /** + * A rollout policy specifies how new builds and automatic deployments are created. + */ + rolloutPolicy?: Schema$RolloutPolicy; + /** + * Set to manually control the desired traffic for the backend. This will cause `current` to eventually match this value. The percentages must add up to 100%. + */ + target?: Schema$TrafficSet; + /** + * Output only. System-assigned, unique identifier. + */ + uid?: string | null; + /** + * Output only. Time at which the backend was last updated. + */ + updateTime?: string | null; + } + /** + * A list of traffic splits that together represent where traffic is being routed. + */ + export interface Schema$TrafficSet { + /** + * Required. The list of traffic splits. + */ + splits?: Schema$TrafficSplit[]; + } + /** + * The traffic allocation for the backend. + */ + export interface Schema$TrafficSplit { + /** + * Required. The build that traffic is being routed to. + */ + build?: string | null; + /** + * Required. The percentage of traffic to send to the build. Currently must be 100% or 0%. + */ + percent?: number | null; + } + /** + * Version control metadata for a user associated with a resolved codebase. Currently assumes a Git user. + */ + export interface Schema$UserMetadata { + /** + * Output only. The 'name' field in a Git user's git.config. Required by Git. + */ + displayName?: string | null; + /** + * Output only. The 'email' field in a Git user's git.config, if available. + */ + email?: string | null; + /** + * Output only. The URI of an image file associated with the user's account in an external source control provider, if available. + */ + imageUri?: string | null; + } + + export class Resource$Projects { + context: APIRequestContext; + locations: Resource$Projects$Locations; + constructor(context: APIRequestContext) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + + export class Resource$Projects$Locations { + context: APIRequestContext; + backends: Resource$Projects$Locations$Backends; + operations: Resource$Projects$Locations$Operations; + constructor(context: APIRequestContext) { + this.context = context; + this.backends = new Resource$Projects$Locations$Backends(this.context); + this.operations = new Resource$Projects$Locations$Operations( + this.context + ); + } + + /** + * Gets information about a location. + * + * @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$Projects$Locations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists information about the supported locations for this service. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}/locations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Get + extends StandardParameters { + /** + * Resource name for the location. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$List + extends StandardParameters { + /** + * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. + */ + extraLocationTypes?: string[]; + /** + * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + */ + filter?: string; + /** + * The resource that owns the locations collection, if applicable. + */ + name?: string; + /** + * The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + } + + export class Resource$Projects$Locations$Backends { + context: APIRequestContext; + builds: Resource$Projects$Locations$Backends$Builds; + domains: Resource$Projects$Locations$Backends$Domains; + rollouts: Resource$Projects$Locations$Backends$Rollouts; + traffic: Resource$Projects$Locations$Backends$Traffic; + constructor(context: APIRequestContext) { + this.context = context; + this.builds = new Resource$Projects$Locations$Backends$Builds( + this.context + ); + this.domains = new Resource$Projects$Locations$Backends$Domains( + this.context + ); + this.rollouts = new Resource$Projects$Locations$Backends$Rollouts( + this.context + ); + this.traffic = new Resource$Projects$Locations$Backends$Traffic( + this.context + ); + } + + /** + * Creates a new backend in a given project and location. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Backends$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Backends$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Backends$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/backends').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single backend. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Backends$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Backends$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Backends$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets information about a backend. + * + * @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$Projects$Locations$Backends$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Backends$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Backends$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists backends in a given project and location. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Backends$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Backends$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Backends$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/backends').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates the information for a single backend. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Backends$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Backends$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Backends$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backends$Create + extends StandardParameters { + /** + * Required. Id of the backend. Also used as the service ID for Cloud Run, and as part of the default domain name. + */ + backendId?: string; + /** + * Required. A parent name of the form `projects/{project\}/locations/{locationId\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Backend; + } + export interface Params$Resource$Projects$Locations$Backends$Delete + extends StandardParameters { + /** + * Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error. + */ + etag?: string; + /** + * Optional. If set to true, any resources for this backend will also be deleted. Otherwise, any children resources will block deletion. + */ + force?: boolean; + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated, without persisting the request or updating any resources. + */ + validateOnly?: boolean; + } + export interface Params$Resource$Projects$Locations$Backends$Get + extends StandardParameters { + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backends$List + extends StandardParameters { + /** + * Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ + filter?: string; + /** + * Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix. + */ + orderBy?: string; + /** + * Optional. The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + /** + * Required. A parent name of the form `projects/{project\}/locations/{locationId\}`. + */ + parent?: string; + /** + * Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet. + */ + showDeleted?: boolean; + } + export interface Params$Resource$Projects$Locations$Backends$Patch + extends StandardParameters { + /** + * Optional. If set to true, and the backend is not found, a new backend will be created. + */ + allowMissing?: boolean; + /** + * Identifier. The resource name of the backend. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the backend resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + /** + * Optional. Indicates that the request should be validated, without persisting the request or updating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Backend; + } + + export class Resource$Projects$Locations$Backends$Builds { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new build for a backend. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Backends$Builds$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Backends$Builds$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Backends$Builds$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Builds$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Builds$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Builds$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Builds$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Builds$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/builds').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single build. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Backends$Builds$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Backends$Builds$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Backends$Builds$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Builds$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Builds$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Builds$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Builds$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Builds$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets information about a build. + * + * @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$Projects$Locations$Backends$Builds$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Backends$Builds$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Backends$Builds$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Builds$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Builds$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Builds$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Builds$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Builds$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists builds in a given project, location, and backend. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Backends$Builds$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Backends$Builds$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Backends$Builds$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Builds$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Builds$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Builds$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Builds$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Builds$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/builds').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backends$Builds$Create + extends StandardParameters { + /** + * Required. Desired ID of the build being created. + */ + buildId?: string; + /** + * Required. The parent backend in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Build; + } + export interface Params$Resource$Projects$Locations$Backends$Builds$Delete + extends StandardParameters { + /** + * Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error. + */ + etag?: string; + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/builds/{buildId\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources. + */ + validateOnly?: boolean; + } + export interface Params$Resource$Projects$Locations$Backends$Builds$Get + extends StandardParameters { + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/builds/{buildId\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backends$Builds$List + extends StandardParameters { + /** + * Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ + filter?: string; + /** + * Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix. + */ + orderBy?: string; + /** + * Optional. The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + /** + * Required. The parent backend in the form `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet. + */ + showDeleted?: boolean; + } + + export class Resource$Projects$Locations$Backends$Domains { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Links a new domain to a backend. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Backends$Domains$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Backends$Domains$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Backends$Domains$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Domains$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Domains$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Domains$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Domains$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Domains$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/domains').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single domain. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Backends$Domains$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Backends$Domains$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Backends$Domains$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Domains$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backends$Domains$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Domains$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Domains$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Domains$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets information about a domain. + * + * @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$Projects$Locations$Backends$Domains$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Backends$Domains$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Backends$Domains$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Domains$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Domains$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Domains$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Domains$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Domains$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists domains of a backend. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Backends$Domains$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Backends$Domains$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Backends$Domains$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Domains$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Domains$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Domains$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Domains$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Domains$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/domains').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates the information for a single domain. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Backends$Domains$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Backends$Domains$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Backends$Domains$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Domains$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Domains$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Domains$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Domains$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Domains$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backends$Domains$Create + extends StandardParameters { + /** + * Required. Id of the domain to create. Must be a valid domain name. + */ + domainId?: string; + /** + * Required. The parent backend in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Domain; + } + export interface Params$Resource$Projects$Locations$Backends$Domains$Delete + extends StandardParameters { + /** + * Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error. + */ + etag?: string; + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/domains/{domainId\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources. + */ + validateOnly?: boolean; + } + export interface Params$Resource$Projects$Locations$Backends$Domains$Get + extends StandardParameters { + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/domains/{domainId\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backends$Domains$List + extends StandardParameters { + /** + * Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ + filter?: string; + /** + * Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix. + */ + orderBy?: string; + /** + * Optional. The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + /** + * Required. The parent backend in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet. + */ + showDeleted?: boolean; + } + export interface Params$Resource$Projects$Locations$Backends$Domains$Patch + extends StandardParameters { + /** + * Optional. If set to true, and the domain is not found, a new domain will be created. + */ + allowMissing?: boolean; + /** + * Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com` + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the Domain resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or modifying any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Domain; + } + + export class Resource$Projects$Locations$Backends$Rollouts { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new rollout for a backend. + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Backends$Rollouts$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Rollouts$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Rollouts$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Rollouts$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/rollouts').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets information about a rollout. + * + * @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$Projects$Locations$Backends$Rollouts$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Backends$Rollouts$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Rollouts$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Rollouts$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Rollouts$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Rollouts$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists rollouts for a backend. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Backends$Rollouts$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Backends$Rollouts$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Backends$Rollouts$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Rollouts$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backends$Rollouts$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Rollouts$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Rollouts$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Rollouts$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/rollouts').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backends$Rollouts$Create + extends StandardParameters { + /** + * Required. The parent backend in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Desired ID of the rollout being created. + */ + rolloutId?: string; + /** + * Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Rollout; + } + export interface Params$Resource$Projects$Locations$Backends$Rollouts$Get + extends StandardParameters { + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/rollouts/{rolloutId\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backends$Rollouts$List + extends StandardParameters { + /** + * Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ + filter?: string; + /** + * Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix. + */ + orderBy?: string; + /** + * Optional. The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + /** + * Required. The parent backend in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}`. + */ + parent?: string; + /** + * Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet. + */ + showDeleted?: boolean; + } + + export class Resource$Projects$Locations$Backends$Traffic { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets information about a backend's traffic. + * + * @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$Projects$Locations$Backends$Traffic$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Backends$Traffic$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Backends$Traffic$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Traffic$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backends$Traffic$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Traffic$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Traffic$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backends$Traffic$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates a backend's traffic. + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Backends$Traffic$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Backends$Traffic$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Backends$Traffic$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Traffic$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backends$Traffic$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backends$Traffic$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backends$Traffic$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backends$Traffic$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backends$Traffic$Get + extends StandardParameters { + /** + * Required. Name of the resource in the format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/traffic`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backends$Traffic$Patch + extends StandardParameters { + /** + * Identifier. The resource name of the backend's traffic. Format: `projects/{project\}/locations/{locationId\}/backends/{backendId\}/traffic`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the traffic resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + /** + * Optional. Indicates that the request should be validated, without persisting the request or updating any resources. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$Traffic; + } + + export class Resource$Projects$Locations$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. + * + * @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. + */ + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions + ): Promise>; + cancel( + params?: Params$Resource$Projects$Locations$Operations$Cancel, + options?: MethodOptions + ): Promise>; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + callback: BodyResponseCallback + ): void; + cancel(callback: BodyResponseCallback): void; + cancel( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Cancel + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Cancel; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Cancel; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}:cancel').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + * + * @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. + */ + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Operations$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * + * @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$Projects$Locations$Operations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Operations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Operations$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Operations$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseapphosting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+name}/operations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Operations$Cancel + extends StandardParameters { + /** + * The name of the operation resource to be cancelled. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$Delete + extends StandardParameters { + /** + * The name of the operation resource to be deleted. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$Get + extends StandardParameters { + /** + * The name of the operation resource. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$List + extends StandardParameters { + /** + * The standard list filter. + */ + filter?: string; + /** + * The name of the operation's parent resource. + */ + name?: string; + /** + * The standard list page size. + */ + pageSize?: number; + /** + * The standard list page token. + */ + pageToken?: string; + } +} diff --git a/src/apis/firebaseapphosting/webpack.config.js b/src/apis/firebaseapphosting/webpack.config.js new file mode 100644 index 00000000000..ffe7baa6101 --- /dev/null +++ b/src/apis/firebaseapphosting/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: 'Firebaseapphosting', + filename: 'firebaseapphosting.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: [], +}; diff --git a/src/apis/firebasedatabase/index.ts b/src/apis/firebasedatabase/index.ts index 8f7ea722ce2..d7ed4391181 100644 --- a/src/apis/firebasedatabase/index.ts +++ b/src/apis/firebasedatabase/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/firebasedatabase/package.json b/src/apis/firebasedatabase/package.json index 7c9c91d0b4e..a88a46cd5b3 100644 --- a/src/apis/firebasedatabase/package.json +++ b/src/apis/firebasedatabase/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/firebasedatabase/v1beta.ts b/src/apis/firebasedatabase/v1beta.ts index 437f042fe28..c36f6909119 100644 --- a/src/apis/firebasedatabase/v1beta.ts +++ b/src/apis/firebasedatabase/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -210,11 +210,11 @@ export namespace firebasedatabase_v1beta { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -243,7 +243,10 @@ export namespace firebasedatabase_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -299,11 +302,11 @@ export namespace firebasedatabase_v1beta { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -332,7 +335,10 @@ export namespace firebasedatabase_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -385,11 +391,11 @@ export namespace firebasedatabase_v1beta { disable( params: Params$Resource$Projects$Locations$Instances$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Locations$Instances$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Locations$Instances$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -418,7 +424,10 @@ export namespace firebasedatabase_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -474,11 +483,11 @@ export namespace firebasedatabase_v1beta { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -507,7 +516,10 @@ export namespace firebasedatabase_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -560,11 +572,11 @@ export namespace firebasedatabase_v1beta { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -599,8 +611,8 @@ export namespace firebasedatabase_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -658,11 +670,11 @@ export namespace firebasedatabase_v1beta { reenable( params: Params$Resource$Projects$Locations$Instances$Reenable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reenable( params?: Params$Resource$Projects$Locations$Instances$Reenable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reenable( params: Params$Resource$Projects$Locations$Instances$Reenable, options: StreamMethodOptions | BodyResponseCallback, @@ -691,7 +703,10 @@ export namespace firebasedatabase_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Reenable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -747,11 +762,11 @@ export namespace firebasedatabase_v1beta { undelete( params: Params$Resource$Projects$Locations$Instances$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Instances$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Locations$Instances$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -780,7 +795,10 @@ export namespace firebasedatabase_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebasedataconnect/index.ts b/src/apis/firebasedataconnect/index.ts index 8db541eb0a8..724d36d0307 100644 --- a/src/apis/firebasedataconnect/index.ts +++ b/src/apis/firebasedataconnect/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/firebasedataconnect/package.json b/src/apis/firebasedataconnect/package.json index 8cd1dcca44a..26896b166d5 100644 --- a/src/apis/firebasedataconnect/package.json +++ b/src/apis/firebasedataconnect/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/firebasedataconnect/v1.ts b/src/apis/firebasedataconnect/v1.ts index c3d78e89b86..04e407b84e6 100644 --- a/src/apis/firebasedataconnect/v1.ts +++ b/src/apis/firebasedataconnect/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -693,11 +693,11 @@ export namespace firebasedataconnect_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -726,7 +726,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -779,11 +782,11 @@ export namespace firebasedataconnect_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -816,8 +819,8 @@ export namespace firebasedataconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -911,11 +914,11 @@ export namespace firebasedataconnect_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -944,7 +947,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -997,11 +1003,11 @@ export namespace firebasedataconnect_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1030,7 +1036,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1083,11 +1092,11 @@ export namespace firebasedataconnect_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1116,7 +1125,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1169,11 +1181,11 @@ export namespace firebasedataconnect_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1206,8 +1218,8 @@ export namespace firebasedataconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1324,11 +1336,11 @@ export namespace firebasedataconnect_v1 { create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1357,7 +1369,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1413,11 +1428,11 @@ export namespace firebasedataconnect_v1 { delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1446,7 +1461,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1499,11 +1517,11 @@ export namespace firebasedataconnect_v1 { executeGraphql( params: Params$Resource$Projects$Locations$Services$Executegraphql, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeGraphql( params?: Params$Resource$Projects$Locations$Services$Executegraphql, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeGraphql( params: Params$Resource$Projects$Locations$Services$Executegraphql, options: StreamMethodOptions | BodyResponseCallback, @@ -1534,7 +1552,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Executegraphql; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1591,11 +1612,11 @@ export namespace firebasedataconnect_v1 { executeGraphqlRead( params: Params$Resource$Projects$Locations$Services$Executegraphqlread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeGraphqlRead( params?: Params$Resource$Projects$Locations$Services$Executegraphqlread, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeGraphqlRead( params: Params$Resource$Projects$Locations$Services$Executegraphqlread, options: StreamMethodOptions | BodyResponseCallback, @@ -1626,7 +1647,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Executegraphqlread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1683,11 +1707,11 @@ export namespace firebasedataconnect_v1 { get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1716,7 +1740,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1769,11 +1796,11 @@ export namespace firebasedataconnect_v1 { list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1806,8 +1833,8 @@ export namespace firebasedataconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1863,11 +1890,11 @@ export namespace firebasedataconnect_v1 { patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1896,7 +1923,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2090,11 +2120,11 @@ export namespace firebasedataconnect_v1 { create( params: Params$Resource$Projects$Locations$Services$Connectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Connectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Connectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2123,7 +2153,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2180,11 +2213,11 @@ export namespace firebasedataconnect_v1 { delete( params: Params$Resource$Projects$Locations$Services$Connectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Connectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Connectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2213,7 +2246,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2267,11 +2303,11 @@ export namespace firebasedataconnect_v1 { executeMutation( params: Params$Resource$Projects$Locations$Services$Connectors$Executemutation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeMutation( params?: Params$Resource$Projects$Locations$Services$Connectors$Executemutation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeMutation( params: Params$Resource$Projects$Locations$Services$Connectors$Executemutation, options: StreamMethodOptions | BodyResponseCallback, @@ -2306,8 +2342,8 @@ export namespace firebasedataconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Executemutation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2364,11 +2400,11 @@ export namespace firebasedataconnect_v1 { executeQuery( params: Params$Resource$Projects$Locations$Services$Connectors$Executequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeQuery( params?: Params$Resource$Projects$Locations$Services$Connectors$Executequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeQuery( params: Params$Resource$Projects$Locations$Services$Connectors$Executequery, options: StreamMethodOptions | BodyResponseCallback, @@ -2403,8 +2439,8 @@ export namespace firebasedataconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Executequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2461,11 +2497,11 @@ export namespace firebasedataconnect_v1 { get( params: Params$Resource$Projects$Locations$Services$Connectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Connectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Connectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2494,7 +2530,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2548,11 +2587,11 @@ export namespace firebasedataconnect_v1 { list( params: Params$Resource$Projects$Locations$Services$Connectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Connectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Connectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2585,8 +2624,8 @@ export namespace firebasedataconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2643,11 +2682,11 @@ export namespace firebasedataconnect_v1 { patch( params: Params$Resource$Projects$Locations$Services$Connectors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Connectors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Connectors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2676,7 +2715,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2871,11 +2913,11 @@ export namespace firebasedataconnect_v1 { create( params: Params$Resource$Projects$Locations$Services$Schemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Schemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Schemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2904,7 +2946,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Schemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2961,11 +3006,11 @@ export namespace firebasedataconnect_v1 { delete( params: Params$Resource$Projects$Locations$Services$Schemas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Schemas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Schemas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2994,7 +3039,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Schemas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3048,11 +3096,11 @@ export namespace firebasedataconnect_v1 { get( params: Params$Resource$Projects$Locations$Services$Schemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Schemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Schemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3081,7 +3129,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Schemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3134,11 +3185,11 @@ export namespace firebasedataconnect_v1 { list( params: Params$Resource$Projects$Locations$Services$Schemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Schemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Schemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3169,8 +3220,8 @@ export namespace firebasedataconnect_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Schemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3226,11 +3277,11 @@ export namespace firebasedataconnect_v1 { patch( params: Params$Resource$Projects$Locations$Services$Schemas$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Schemas$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Schemas$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3259,7 +3310,10 @@ export namespace firebasedataconnect_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Schemas$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebasedataconnect/v1beta.ts b/src/apis/firebasedataconnect/v1beta.ts index fc6e9367f23..8be91957b87 100644 --- a/src/apis/firebasedataconnect/v1beta.ts +++ b/src/apis/firebasedataconnect/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -693,11 +693,11 @@ export namespace firebasedataconnect_v1beta { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -726,7 +726,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -779,11 +782,11 @@ export namespace firebasedataconnect_v1beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -816,8 +819,8 @@ export namespace firebasedataconnect_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -911,11 +914,11 @@ export namespace firebasedataconnect_v1beta { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -944,7 +947,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1000,11 +1006,11 @@ export namespace firebasedataconnect_v1beta { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1033,7 +1039,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1086,11 +1095,11 @@ export namespace firebasedataconnect_v1beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1119,7 +1128,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1172,11 +1184,11 @@ export namespace firebasedataconnect_v1beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1209,8 +1221,8 @@ export namespace firebasedataconnect_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1327,11 +1339,11 @@ export namespace firebasedataconnect_v1beta { create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1360,7 +1372,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1416,11 +1431,11 @@ export namespace firebasedataconnect_v1beta { delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1449,7 +1464,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1502,11 +1520,11 @@ export namespace firebasedataconnect_v1beta { executeGraphql( params: Params$Resource$Projects$Locations$Services$Executegraphql, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeGraphql( params?: Params$Resource$Projects$Locations$Services$Executegraphql, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeGraphql( params: Params$Resource$Projects$Locations$Services$Executegraphql, options: StreamMethodOptions | BodyResponseCallback, @@ -1537,7 +1555,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Executegraphql; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1594,11 +1615,11 @@ export namespace firebasedataconnect_v1beta { executeGraphqlRead( params: Params$Resource$Projects$Locations$Services$Executegraphqlread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeGraphqlRead( params?: Params$Resource$Projects$Locations$Services$Executegraphqlread, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeGraphqlRead( params: Params$Resource$Projects$Locations$Services$Executegraphqlread, options: StreamMethodOptions | BodyResponseCallback, @@ -1629,7 +1650,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Executegraphqlread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1686,11 +1710,11 @@ export namespace firebasedataconnect_v1beta { get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1719,7 +1743,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1772,11 +1799,11 @@ export namespace firebasedataconnect_v1beta { list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1809,8 +1836,8 @@ export namespace firebasedataconnect_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1866,11 +1893,11 @@ export namespace firebasedataconnect_v1beta { patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1899,7 +1926,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2093,11 +2123,11 @@ export namespace firebasedataconnect_v1beta { create( params: Params$Resource$Projects$Locations$Services$Connectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Connectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Connectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2126,7 +2156,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2183,11 +2216,11 @@ export namespace firebasedataconnect_v1beta { delete( params: Params$Resource$Projects$Locations$Services$Connectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Connectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Connectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2216,7 +2249,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2270,11 +2306,11 @@ export namespace firebasedataconnect_v1beta { executeMutation( params: Params$Resource$Projects$Locations$Services$Connectors$Executemutation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeMutation( params?: Params$Resource$Projects$Locations$Services$Connectors$Executemutation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeMutation( params: Params$Resource$Projects$Locations$Services$Connectors$Executemutation, options: StreamMethodOptions | BodyResponseCallback, @@ -2309,8 +2345,8 @@ export namespace firebasedataconnect_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Executemutation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2367,11 +2403,11 @@ export namespace firebasedataconnect_v1beta { executeQuery( params: Params$Resource$Projects$Locations$Services$Connectors$Executequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeQuery( params?: Params$Resource$Projects$Locations$Services$Connectors$Executequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeQuery( params: Params$Resource$Projects$Locations$Services$Connectors$Executequery, options: StreamMethodOptions | BodyResponseCallback, @@ -2406,8 +2442,8 @@ export namespace firebasedataconnect_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Executequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2464,11 +2500,11 @@ export namespace firebasedataconnect_v1beta { get( params: Params$Resource$Projects$Locations$Services$Connectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Connectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Connectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2497,7 +2533,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2551,11 +2590,11 @@ export namespace firebasedataconnect_v1beta { list( params: Params$Resource$Projects$Locations$Services$Connectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Connectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Connectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2588,8 +2627,8 @@ export namespace firebasedataconnect_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2646,11 +2685,11 @@ export namespace firebasedataconnect_v1beta { patch( params: Params$Resource$Projects$Locations$Services$Connectors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Connectors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Connectors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2679,7 +2718,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Connectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2874,11 +2916,11 @@ export namespace firebasedataconnect_v1beta { create( params: Params$Resource$Projects$Locations$Services$Schemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Schemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Schemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2907,7 +2949,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Schemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2964,11 +3009,11 @@ export namespace firebasedataconnect_v1beta { delete( params: Params$Resource$Projects$Locations$Services$Schemas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Schemas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Schemas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2997,7 +3042,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Schemas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3051,11 +3099,11 @@ export namespace firebasedataconnect_v1beta { get( params: Params$Resource$Projects$Locations$Services$Schemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Schemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Schemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3084,7 +3132,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Schemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3137,11 +3188,11 @@ export namespace firebasedataconnect_v1beta { list( params: Params$Resource$Projects$Locations$Services$Schemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Schemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Schemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3172,8 +3223,8 @@ export namespace firebasedataconnect_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Schemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3229,11 +3280,11 @@ export namespace firebasedataconnect_v1beta { patch( params: Params$Resource$Projects$Locations$Services$Schemas$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Schemas$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Schemas$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3262,7 +3313,10 @@ export namespace firebasedataconnect_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Schemas$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebasedynamiclinks/index.ts b/src/apis/firebasedynamiclinks/index.ts index 288dfc9d735..4d0093cb759 100644 --- a/src/apis/firebasedynamiclinks/index.ts +++ b/src/apis/firebasedynamiclinks/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/firebasedynamiclinks/package.json b/src/apis/firebasedynamiclinks/package.json index da33f36e7c3..41f1ba8bfb4 100644 --- a/src/apis/firebasedynamiclinks/package.json +++ b/src/apis/firebasedynamiclinks/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/firebasedynamiclinks/v1.ts b/src/apis/firebasedynamiclinks/v1.ts index 944d337adb1..799aa30e245 100644 --- a/src/apis/firebasedynamiclinks/v1.ts +++ b/src/apis/firebasedynamiclinks/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -709,11 +709,11 @@ export namespace firebasedynamiclinks_v1 { create( params: Params$Resource$Managedshortlinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Managedshortlinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Managedshortlinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -748,8 +748,8 @@ export namespace firebasedynamiclinks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedshortlinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -822,11 +822,11 @@ export namespace firebasedynamiclinks_v1 { create( params: Params$Resource$Shortlinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Shortlinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Shortlinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -861,8 +861,8 @@ export namespace firebasedynamiclinks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shortlinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -932,11 +932,11 @@ export namespace firebasedynamiclinks_v1 { getLinkStats( params: Params$Resource$V1$Getlinkstats, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLinkStats( params?: Params$Resource$V1$Getlinkstats, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getLinkStats( params: Params$Resource$V1$Getlinkstats, options: StreamMethodOptions | BodyResponseCallback, @@ -965,7 +965,10 @@ export namespace firebasedynamiclinks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Getlinkstats; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1020,11 +1023,13 @@ export namespace firebasedynamiclinks_v1 { installAttribution( params: Params$Resource$V1$Installattribution, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; installAttribution( params?: Params$Resource$V1$Installattribution, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; installAttribution( params: Params$Resource$V1$Installattribution, options: StreamMethodOptions | BodyResponseCallback, @@ -1059,8 +1064,10 @@ export namespace firebasedynamiclinks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Installattribution; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1118,11 +1125,11 @@ export namespace firebasedynamiclinks_v1 { reopenAttribution( params: Params$Resource$V1$Reopenattribution, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reopenAttribution( params?: Params$Resource$V1$Reopenattribution, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reopenAttribution( params: Params$Resource$V1$Reopenattribution, options: StreamMethodOptions | BodyResponseCallback, @@ -1157,8 +1164,8 @@ export namespace firebasedynamiclinks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Reopenattribution; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebasehosting/index.ts b/src/apis/firebasehosting/index.ts index fab25bab385..1c441adef70 100644 --- a/src/apis/firebasehosting/index.ts +++ b/src/apis/firebasehosting/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/firebasehosting/package.json b/src/apis/firebasehosting/package.json index 40903fbd496..064662d3e1c 100644 --- a/src/apis/firebasehosting/package.json +++ b/src/apis/firebasehosting/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/firebasehosting/v1.ts b/src/apis/firebasehosting/v1.ts index 2ace50b64c4..467a79127a0 100644 --- a/src/apis/firebasehosting/v1.ts +++ b/src/apis/firebasehosting/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -350,11 +350,11 @@ export namespace firebasehosting_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -383,7 +383,10 @@ export namespace firebasehosting_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -436,11 +439,11 @@ export namespace firebasehosting_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -469,7 +472,10 @@ export namespace firebasehosting_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -522,11 +528,11 @@ export namespace firebasehosting_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -559,8 +565,8 @@ export namespace firebasehosting_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -688,11 +694,11 @@ export namespace firebasehosting_v1 { cancel( params: Params$Resource$Projects$Sites$Customdomains$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Sites$Customdomains$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Sites$Customdomains$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -721,7 +727,10 @@ export namespace firebasehosting_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Customdomains$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -775,11 +784,11 @@ export namespace firebasehosting_v1 { delete( params: Params$Resource$Projects$Sites$Customdomains$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Sites$Customdomains$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Sites$Customdomains$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -808,7 +817,10 @@ export namespace firebasehosting_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Customdomains$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebasehosting/v1beta1.ts b/src/apis/firebasehosting/v1beta1.ts index 92128839c16..6fe682ae852 100644 --- a/src/apis/firebasehosting/v1beta1.ts +++ b/src/apis/firebasehosting/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1013,11 +1013,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1046,7 +1046,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1126,11 +1129,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Projects$Sites$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Sites$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Sites$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1159,7 +1162,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1215,11 +1221,11 @@ export namespace firebasehosting_v1beta1 { delete( params: Params$Resource$Projects$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1248,7 +1254,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1301,11 +1310,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Projects$Sites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Sites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Sites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1334,7 +1343,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1387,11 +1399,11 @@ export namespace firebasehosting_v1beta1 { getConfig( params: Params$Resource$Projects$Sites$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Sites$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Projects$Sites$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1420,7 +1432,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1473,11 +1488,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Projects$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1508,8 +1523,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1565,11 +1580,11 @@ export namespace firebasehosting_v1beta1 { patch( params: Params$Resource$Projects$Sites$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Sites$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Sites$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1598,7 +1613,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1651,11 +1669,11 @@ export namespace firebasehosting_v1beta1 { updateConfig( params: Params$Resource$Projects$Sites$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Projects$Sites$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params: Params$Resource$Projects$Sites$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1684,7 +1702,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1837,11 +1858,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Projects$Sites$Channels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Sites$Channels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Sites$Channels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1870,7 +1891,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Channels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1926,11 +1950,11 @@ export namespace firebasehosting_v1beta1 { delete( params: Params$Resource$Projects$Sites$Channels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Sites$Channels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Sites$Channels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1959,7 +1983,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Channels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2012,11 +2039,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Projects$Sites$Channels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Sites$Channels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Sites$Channels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2045,7 +2072,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Channels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2098,11 +2128,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Projects$Sites$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sites$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sites$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2135,8 +2165,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2192,11 +2222,11 @@ export namespace firebasehosting_v1beta1 { patch( params: Params$Resource$Projects$Sites$Channels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Sites$Channels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Sites$Channels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2225,7 +2255,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Channels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2347,11 +2380,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Projects$Sites$Channels$Releases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Sites$Channels$Releases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Sites$Channels$Releases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2380,7 +2413,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Channels$Releases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2436,11 +2472,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Projects$Sites$Channels$Releases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Sites$Channels$Releases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Sites$Channels$Releases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2469,7 +2505,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Channels$Releases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2522,11 +2561,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Projects$Sites$Channels$Releases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sites$Channels$Releases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sites$Channels$Releases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2559,8 +2598,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Channels$Releases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2666,11 +2705,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Projects$Sites$Customdomains$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Sites$Customdomains$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Sites$Customdomains$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2699,7 +2738,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Customdomains$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2755,11 +2797,11 @@ export namespace firebasehosting_v1beta1 { delete( params: Params$Resource$Projects$Sites$Customdomains$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Sites$Customdomains$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Sites$Customdomains$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2788,7 +2830,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Customdomains$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2841,11 +2886,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Projects$Sites$Customdomains$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Sites$Customdomains$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Sites$Customdomains$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2874,7 +2919,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Customdomains$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2927,11 +2975,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Projects$Sites$Customdomains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sites$Customdomains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sites$Customdomains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2966,8 +3014,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Customdomains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3023,11 +3071,11 @@ export namespace firebasehosting_v1beta1 { patch( params: Params$Resource$Projects$Sites$Customdomains$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Sites$Customdomains$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Sites$Customdomains$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3056,7 +3104,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Customdomains$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3109,11 +3160,11 @@ export namespace firebasehosting_v1beta1 { undelete( params: Params$Resource$Projects$Sites$Customdomains$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Sites$Customdomains$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Sites$Customdomains$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -3142,7 +3193,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Customdomains$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3307,11 +3361,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Projects$Sites$Customdomains$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Sites$Customdomains$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Sites$Customdomains$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3340,7 +3394,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Customdomains$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3394,11 +3451,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Projects$Sites$Customdomains$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sites$Customdomains$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sites$Customdomains$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3431,8 +3488,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Customdomains$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3523,11 +3580,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Projects$Sites$Domains$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Sites$Domains$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Sites$Domains$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3556,7 +3613,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Domains$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3612,11 +3672,11 @@ export namespace firebasehosting_v1beta1 { delete( params: Params$Resource$Projects$Sites$Domains$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Sites$Domains$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Sites$Domains$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3645,7 +3705,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Domains$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3698,11 +3761,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Projects$Sites$Domains$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Sites$Domains$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Sites$Domains$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3731,7 +3794,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Domains$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3784,11 +3850,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Projects$Sites$Domains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sites$Domains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sites$Domains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3819,8 +3885,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Domains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3876,11 +3942,11 @@ export namespace firebasehosting_v1beta1 { update( params: Params$Resource$Projects$Sites$Domains$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Sites$Domains$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Sites$Domains$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3909,7 +3975,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Domains$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4023,11 +4092,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Projects$Sites$Releases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Sites$Releases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Sites$Releases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4056,7 +4125,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Releases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4112,11 +4184,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Projects$Sites$Releases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Sites$Releases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Sites$Releases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4145,7 +4217,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Releases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4198,11 +4273,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Projects$Sites$Releases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sites$Releases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sites$Releases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4235,8 +4310,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Releases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4340,11 +4415,11 @@ export namespace firebasehosting_v1beta1 { clone( params: Params$Resource$Projects$Sites$Versions$Clone, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clone( params?: Params$Resource$Projects$Sites$Versions$Clone, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clone( params: Params$Resource$Projects$Sites$Versions$Clone, options: StreamMethodOptions | BodyResponseCallback, @@ -4373,7 +4448,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Versions$Clone; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4429,11 +4507,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Projects$Sites$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Sites$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Sites$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4462,7 +4540,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4518,11 +4599,11 @@ export namespace firebasehosting_v1beta1 { delete( params: Params$Resource$Projects$Sites$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Sites$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Sites$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4551,7 +4632,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4604,11 +4688,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Projects$Sites$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Sites$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Sites$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4637,7 +4721,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4690,11 +4777,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Projects$Sites$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sites$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sites$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4727,8 +4814,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4784,11 +4871,11 @@ export namespace firebasehosting_v1beta1 { patch( params: Params$Resource$Projects$Sites$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Sites$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Sites$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4817,7 +4904,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4870,11 +4960,11 @@ export namespace firebasehosting_v1beta1 { populateFiles( params: Params$Resource$Projects$Sites$Versions$Populatefiles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; populateFiles( params?: Params$Resource$Projects$Sites$Versions$Populatefiles, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; populateFiles( params: Params$Resource$Projects$Sites$Versions$Populatefiles, options: StreamMethodOptions | BodyResponseCallback, @@ -4909,8 +4999,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Versions$Populatefiles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5069,11 +5159,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Projects$Sites$Versions$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sites$Versions$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sites$Versions$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5106,8 +5196,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sites$Versions$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5198,11 +5288,11 @@ export namespace firebasehosting_v1beta1 { getConfig( params: Params$Resource$Sites$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Sites$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Sites$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5231,7 +5321,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5283,11 +5376,11 @@ export namespace firebasehosting_v1beta1 { updateConfig( params: Params$Resource$Sites$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Sites$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params: Params$Resource$Sites$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5316,7 +5409,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5401,11 +5497,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Sites$Channels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Sites$Channels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Sites$Channels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5434,7 +5530,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Channels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5490,11 +5589,11 @@ export namespace firebasehosting_v1beta1 { delete( params: Params$Resource$Sites$Channels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sites$Channels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sites$Channels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5523,7 +5622,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Channels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5576,11 +5678,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Sites$Channels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Channels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Channels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5609,7 +5711,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Channels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5662,11 +5767,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Sites$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sites$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sites$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5699,8 +5804,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5756,11 +5861,11 @@ export namespace firebasehosting_v1beta1 { patch( params: Params$Resource$Sites$Channels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Sites$Channels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Sites$Channels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5789,7 +5894,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Channels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5911,11 +6019,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Sites$Channels$Releases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Sites$Channels$Releases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Sites$Channels$Releases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5944,7 +6052,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Channels$Releases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6000,11 +6111,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Sites$Channels$Releases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Channels$Releases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Channels$Releases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6033,7 +6144,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Channels$Releases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6086,11 +6200,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Sites$Channels$Releases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sites$Channels$Releases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sites$Channels$Releases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6123,8 +6237,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Channels$Releases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6226,11 +6340,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Sites$Domains$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Sites$Domains$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Sites$Domains$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6259,7 +6373,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Domains$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6315,11 +6432,11 @@ export namespace firebasehosting_v1beta1 { delete( params: Params$Resource$Sites$Domains$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sites$Domains$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sites$Domains$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6348,7 +6465,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Domains$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6401,11 +6521,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Sites$Domains$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Domains$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Domains$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6434,7 +6554,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Domains$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6487,11 +6610,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Sites$Domains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sites$Domains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sites$Domains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6522,8 +6645,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Domains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6579,11 +6702,11 @@ export namespace firebasehosting_v1beta1 { update( params: Params$Resource$Sites$Domains$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Sites$Domains$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Sites$Domains$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6612,7 +6735,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Domains$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6726,11 +6852,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Sites$Releases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Sites$Releases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Sites$Releases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6759,7 +6885,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Releases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6815,11 +6944,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Sites$Releases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Releases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Releases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6848,7 +6977,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Releases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6901,11 +7033,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Sites$Releases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sites$Releases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sites$Releases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6938,8 +7070,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Releases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7043,11 +7175,11 @@ export namespace firebasehosting_v1beta1 { clone( params: Params$Resource$Sites$Versions$Clone, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clone( params?: Params$Resource$Sites$Versions$Clone, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clone( params: Params$Resource$Sites$Versions$Clone, options: StreamMethodOptions | BodyResponseCallback, @@ -7076,7 +7208,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Versions$Clone; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7132,11 +7267,11 @@ export namespace firebasehosting_v1beta1 { create( params: Params$Resource$Sites$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Sites$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Sites$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7165,7 +7300,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7221,11 +7359,11 @@ export namespace firebasehosting_v1beta1 { delete( params: Params$Resource$Sites$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sites$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sites$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7254,7 +7392,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7307,11 +7448,11 @@ export namespace firebasehosting_v1beta1 { get( params: Params$Resource$Sites$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7340,7 +7481,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7393,11 +7537,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Sites$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sites$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sites$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7430,8 +7574,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7487,11 +7631,11 @@ export namespace firebasehosting_v1beta1 { patch( params: Params$Resource$Sites$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Sites$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Sites$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7520,7 +7664,10 @@ export namespace firebasehosting_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7573,11 +7720,11 @@ export namespace firebasehosting_v1beta1 { populateFiles( params: Params$Resource$Sites$Versions$Populatefiles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; populateFiles( params?: Params$Resource$Sites$Versions$Populatefiles, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; populateFiles( params: Params$Resource$Sites$Versions$Populatefiles, options: StreamMethodOptions | BodyResponseCallback, @@ -7612,8 +7759,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Versions$Populatefiles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7772,11 +7919,11 @@ export namespace firebasehosting_v1beta1 { list( params: Params$Resource$Sites$Versions$Files$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sites$Versions$Files$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sites$Versions$Files$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7809,8 +7956,8 @@ export namespace firebasehosting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Versions$Files$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebaseml/index.ts b/src/apis/firebaseml/index.ts index 5e90a1d3960..6b7f7c2d947 100644 --- a/src/apis/firebaseml/index.ts +++ b/src/apis/firebaseml/index.ts @@ -65,7 +65,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/firebaseml/package.json b/src/apis/firebaseml/package.json index f757efc2481..0d286740acc 100644 --- a/src/apis/firebaseml/package.json +++ b/src/apis/firebaseml/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/firebaseml/v1.ts b/src/apis/firebaseml/v1.ts index a35836e8c63..bb6beaacedb 100644 --- a/src/apis/firebaseml/v1.ts +++ b/src/apis/firebaseml/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -215,11 +215,11 @@ export namespace firebaseml_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -248,7 +248,10 @@ export namespace firebaseml_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -300,11 +303,11 @@ export namespace firebaseml_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -333,7 +336,10 @@ export namespace firebaseml_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -385,11 +391,11 @@ export namespace firebaseml_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -422,8 +428,8 @@ export namespace firebaseml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebaseml/v1beta2.ts b/src/apis/firebaseml/v1beta2.ts index de586961675..2e901c9f3f1 100644 --- a/src/apis/firebaseml/v1beta2.ts +++ b/src/apis/firebaseml/v1beta2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -318,11 +318,11 @@ export namespace firebaseml_v1beta2 { create( params: Params$Resource$Projects$Models$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Models$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Models$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -351,7 +351,10 @@ export namespace firebaseml_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -406,11 +409,11 @@ export namespace firebaseml_v1beta2 { delete( params: Params$Resource$Projects$Models$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Models$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Models$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -439,7 +442,10 @@ export namespace firebaseml_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -491,11 +497,11 @@ export namespace firebaseml_v1beta2 { download( params: Params$Resource$Projects$Models$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Projects$Models$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Projects$Models$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -530,8 +536,8 @@ export namespace firebaseml_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -586,11 +592,11 @@ export namespace firebaseml_v1beta2 { get( params: Params$Resource$Projects$Models$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Models$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Models$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -619,7 +625,10 @@ export namespace firebaseml_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -671,11 +680,11 @@ export namespace firebaseml_v1beta2 { list( params: Params$Resource$Projects$Models$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Models$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Models$List, options: StreamMethodOptions | BodyResponseCallback, @@ -706,8 +715,8 @@ export namespace firebaseml_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -762,11 +771,11 @@ export namespace firebaseml_v1beta2 { patch( params: Params$Resource$Projects$Models$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Models$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Models$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -795,7 +804,10 @@ export namespace firebaseml_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -923,11 +935,11 @@ export namespace firebaseml_v1beta2 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -956,7 +968,10 @@ export namespace firebaseml_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebaseml/v2beta.ts b/src/apis/firebaseml/v2beta.ts index 8f6f5484bfb..18fd5f779e2 100644 --- a/src/apis/firebaseml/v2beta.ts +++ b/src/apis/firebaseml/v2beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -685,6 +685,10 @@ export namespace firebaseml_v2beta { * Config for thinking features. */ export interface Schema$GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig { + /** + * Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. + */ + includeThoughts?: boolean | null; /** * Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true. */ @@ -1444,11 +1448,13 @@ export namespace firebaseml_v2beta { countTokens( params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; countTokens( params?: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; countTokens( params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options: StreamMethodOptions | BodyResponseCallback, @@ -1483,8 +1489,10 @@ export namespace firebaseml_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Counttokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1542,11 +1550,13 @@ export namespace firebaseml_v2beta { generateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateContent( params?: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -1581,8 +1591,10 @@ export namespace firebaseml_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Generatecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1640,11 +1652,13 @@ export namespace firebaseml_v2beta { streamGenerateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamGenerateContent( params?: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; streamGenerateContent( params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -1679,8 +1693,10 @@ export namespace firebaseml_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebaserules/index.ts b/src/apis/firebaserules/index.ts index 374ed73a3ae..dc0afc0d0e6 100644 --- a/src/apis/firebaserules/index.ts +++ b/src/apis/firebaserules/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/firebaserules/package.json b/src/apis/firebaserules/package.json index c73be08d43b..b7d5f240444 100644 --- a/src/apis/firebaserules/package.json +++ b/src/apis/firebaserules/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/firebaserules/v1.ts b/src/apis/firebaserules/v1.ts index aa6555c8034..13a6347824e 100644 --- a/src/apis/firebaserules/v1.ts +++ b/src/apis/firebaserules/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -533,11 +533,11 @@ export namespace firebaserules_v1 { test( params: Params$Resource$Projects$Test, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; test( params?: Params$Resource$Projects$Test, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; test( params: Params$Resource$Projects$Test, options: StreamMethodOptions | BodyResponseCallback, @@ -568,8 +568,8 @@ export namespace firebaserules_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Test; let options = (optionsOrCallback || {}) as MethodOptions; @@ -640,11 +640,11 @@ export namespace firebaserules_v1 { create( params: Params$Resource$Projects$Releases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Releases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Releases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -673,7 +673,10 @@ export namespace firebaserules_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Releases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -729,11 +732,11 @@ export namespace firebaserules_v1 { delete( params: Params$Resource$Projects$Releases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Releases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Releases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -762,7 +765,10 @@ export namespace firebaserules_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Releases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -815,11 +821,11 @@ export namespace firebaserules_v1 { get( params: Params$Resource$Projects$Releases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Releases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Releases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -848,7 +854,10 @@ export namespace firebaserules_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Releases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -901,11 +910,11 @@ export namespace firebaserules_v1 { getExecutable( params: Params$Resource$Projects$Releases$Getexecutable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getExecutable( params?: Params$Resource$Projects$Releases$Getexecutable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getExecutable( params: Params$Resource$Projects$Releases$Getexecutable, options: StreamMethodOptions | BodyResponseCallback, @@ -940,8 +949,8 @@ export namespace firebaserules_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Releases$Getexecutable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -999,11 +1008,11 @@ export namespace firebaserules_v1 { list( params: Params$Resource$Projects$Releases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Releases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Releases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1036,8 +1045,8 @@ export namespace firebaserules_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Releases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1093,11 +1102,11 @@ export namespace firebaserules_v1 { patch( params: Params$Resource$Projects$Releases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Releases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Releases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1126,7 +1135,10 @@ export namespace firebaserules_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Releases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1255,11 +1267,11 @@ export namespace firebaserules_v1 { create( params: Params$Resource$Projects$Rulesets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Rulesets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Rulesets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1288,7 +1300,10 @@ export namespace firebaserules_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Rulesets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1344,11 +1359,11 @@ export namespace firebaserules_v1 { delete( params: Params$Resource$Projects$Rulesets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Rulesets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Rulesets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1377,7 +1392,10 @@ export namespace firebaserules_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Rulesets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1430,11 +1448,11 @@ export namespace firebaserules_v1 { get( params: Params$Resource$Projects$Rulesets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Rulesets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Rulesets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1463,7 +1481,10 @@ export namespace firebaserules_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Rulesets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1516,11 +1537,11 @@ export namespace firebaserules_v1 { list( params: Params$Resource$Projects$Rulesets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Rulesets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Rulesets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1553,8 +1574,8 @@ export namespace firebaserules_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Rulesets$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firebasestorage/index.ts b/src/apis/firebasestorage/index.ts index 0175c961c68..4c2a2784f2d 100644 --- a/src/apis/firebasestorage/index.ts +++ b/src/apis/firebasestorage/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/firebasestorage/package.json b/src/apis/firebasestorage/package.json index ecad19fb964..05ff1e5670c 100644 --- a/src/apis/firebasestorage/package.json +++ b/src/apis/firebasestorage/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/firebasestorage/v1beta.ts b/src/apis/firebasestorage/v1beta.ts index 06c742af06b..7bbac553968 100644 --- a/src/apis/firebasestorage/v1beta.ts +++ b/src/apis/firebasestorage/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -201,11 +201,11 @@ export namespace firebasestorage_v1beta { deleteDefaultBucket( params: Params$Resource$Projects$Deletedefaultbucket, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteDefaultBucket( params?: Params$Resource$Projects$Deletedefaultbucket, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteDefaultBucket( params: Params$Resource$Projects$Deletedefaultbucket, options: StreamMethodOptions | BodyResponseCallback, @@ -234,7 +234,10 @@ export namespace firebasestorage_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deletedefaultbucket; let options = (optionsOrCallback || {}) as MethodOptions; @@ -287,11 +290,11 @@ export namespace firebasestorage_v1beta { getDefaultBucket( params: Params$Resource$Projects$Getdefaultbucket, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDefaultBucket( params?: Params$Resource$Projects$Getdefaultbucket, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getDefaultBucket( params: Params$Resource$Projects$Getdefaultbucket, options: StreamMethodOptions | BodyResponseCallback, @@ -322,7 +325,10 @@ export namespace firebasestorage_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getdefaultbucket; let options = (optionsOrCallback || {}) as MethodOptions; @@ -397,11 +403,11 @@ export namespace firebasestorage_v1beta { addFirebase( params: Params$Resource$Projects$Buckets$Addfirebase, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addFirebase( params?: Params$Resource$Projects$Buckets$Addfirebase, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addFirebase( params: Params$Resource$Projects$Buckets$Addfirebase, options: StreamMethodOptions | BodyResponseCallback, @@ -430,7 +436,10 @@ export namespace firebasestorage_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Buckets$Addfirebase; let options = (optionsOrCallback || {}) as MethodOptions; @@ -486,11 +495,11 @@ export namespace firebasestorage_v1beta { get( params: Params$Resource$Projects$Buckets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Buckets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Buckets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -519,7 +528,10 @@ export namespace firebasestorage_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Buckets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -572,11 +584,11 @@ export namespace firebasestorage_v1beta { list( params: Params$Resource$Projects$Buckets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Buckets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Buckets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -607,8 +619,8 @@ export namespace firebasestorage_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Buckets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -664,11 +676,11 @@ export namespace firebasestorage_v1beta { removeFirebase( params: Params$Resource$Projects$Buckets$Removefirebase, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeFirebase( params?: Params$Resource$Projects$Buckets$Removefirebase, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeFirebase( params: Params$Resource$Projects$Buckets$Removefirebase, options: StreamMethodOptions | BodyResponseCallback, @@ -697,7 +709,10 @@ export namespace firebasestorage_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Buckets$Removefirebase; let options = (optionsOrCallback || {}) as MethodOptions; @@ -807,11 +822,11 @@ export namespace firebasestorage_v1beta { create( params: Params$Resource$Projects$Defaultbucket$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Defaultbucket$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Defaultbucket$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -840,7 +855,10 @@ export namespace firebasestorage_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Defaultbucket$Create; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firestore/index.ts b/src/apis/firestore/index.ts index 2080fbf98c9..a6e2f451260 100644 --- a/src/apis/firestore/index.ts +++ b/src/apis/firestore/index.ts @@ -65,7 +65,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/firestore/package.json b/src/apis/firestore/package.json index b73ef76b956..1ff7e2b8383 100644 --- a/src/apis/firestore/package.json +++ b/src/apis/firestore/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/firestore/v1.ts b/src/apis/firestore/v1.ts index b716ee24c63..b11f26870ce 100644 --- a/src/apis/firestore/v1.ts +++ b/src/apis/firestore/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2219,11 +2219,11 @@ export namespace firestore_v1 { bulkDeleteDocuments( params: Params$Resource$Projects$Databases$Bulkdeletedocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkDeleteDocuments( params?: Params$Resource$Projects$Databases$Bulkdeletedocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkDeleteDocuments( params: Params$Resource$Projects$Databases$Bulkdeletedocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -2258,8 +2258,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Bulkdeletedocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2314,11 +2314,11 @@ export namespace firestore_v1 { create( params: Params$Resource$Projects$Databases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Databases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Databases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2353,8 +2353,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2409,11 +2409,11 @@ export namespace firestore_v1 { delete( params: Params$Resource$Projects$Databases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Databases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Databases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2448,8 +2448,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2501,11 +2501,11 @@ export namespace firestore_v1 { exportDocuments( params: Params$Resource$Projects$Databases$Exportdocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportDocuments( params?: Params$Resource$Projects$Databases$Exportdocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportDocuments( params: Params$Resource$Projects$Databases$Exportdocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -2540,8 +2540,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Exportdocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2596,11 +2596,11 @@ export namespace firestore_v1 { get( params: Params$Resource$Projects$Databases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Databases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Databases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2635,8 +2635,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2690,11 +2690,11 @@ export namespace firestore_v1 { importDocuments( params: Params$Resource$Projects$Databases$Importdocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importDocuments( params?: Params$Resource$Projects$Databases$Importdocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importDocuments( params: Params$Resource$Projects$Databases$Importdocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -2729,8 +2729,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Importdocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2785,11 +2785,13 @@ export namespace firestore_v1 { list( params: Params$Resource$Projects$Databases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Databases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Databases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2824,8 +2826,10 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2882,11 +2886,11 @@ export namespace firestore_v1 { patch( params: Params$Resource$Projects$Databases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Databases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Databases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2921,8 +2925,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2974,11 +2978,11 @@ export namespace firestore_v1 { restore( params: Params$Resource$Projects$Databases$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Databases$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Databases$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -3013,8 +3017,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3186,11 +3190,13 @@ export namespace firestore_v1 { create( params: Params$Resource$Projects$Databases$Backupschedules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Databases$Backupschedules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Databases$Backupschedules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3225,8 +3231,10 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Backupschedules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3284,11 +3292,11 @@ export namespace firestore_v1 { delete( params: Params$Resource$Projects$Databases$Backupschedules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Databases$Backupschedules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Databases$Backupschedules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3317,7 +3325,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Backupschedules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3370,11 +3381,13 @@ export namespace firestore_v1 { get( params: Params$Resource$Projects$Databases$Backupschedules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Databases$Backupschedules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Databases$Backupschedules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3409,8 +3422,10 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Backupschedules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3464,11 +3479,13 @@ export namespace firestore_v1 { list( params: Params$Resource$Projects$Databases$Backupschedules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Databases$Backupschedules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Databases$Backupschedules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3503,8 +3520,10 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Backupschedules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3561,11 +3580,13 @@ export namespace firestore_v1 { patch( params: Params$Resource$Projects$Databases$Backupschedules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Databases$Backupschedules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Databases$Backupschedules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3600,8 +3621,10 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Backupschedules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3727,11 +3750,11 @@ export namespace firestore_v1 { get( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Databases$Collectiongroups$Fields$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3766,8 +3789,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Fields$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3820,11 +3843,13 @@ export namespace firestore_v1 { list( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Databases$Collectiongroups$Fields$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3859,8 +3884,10 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Fields$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3918,11 +3945,11 @@ export namespace firestore_v1 { patch( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Databases$Collectiongroups$Fields$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3957,8 +3984,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Fields$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4061,11 +4088,11 @@ export namespace firestore_v1 { create( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4100,8 +4127,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Indexes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4157,11 +4184,11 @@ export namespace firestore_v1 { delete( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4190,7 +4217,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Indexes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4243,11 +4273,11 @@ export namespace firestore_v1 { get( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4282,8 +4312,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Indexes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4336,11 +4366,13 @@ export namespace firestore_v1 { list( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Databases$Collectiongroups$Indexes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4375,8 +4407,10 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Indexes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4487,11 +4521,11 @@ export namespace firestore_v1 { batchGet( params: Params$Resource$Projects$Databases$Documents$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Databases$Documents$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Projects$Databases$Documents$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -4526,8 +4560,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4582,11 +4616,11 @@ export namespace firestore_v1 { batchWrite( params: Params$Resource$Projects$Databases$Documents$Batchwrite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchWrite( params?: Params$Resource$Projects$Databases$Documents$Batchwrite, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchWrite( params: Params$Resource$Projects$Databases$Documents$Batchwrite, options: StreamMethodOptions | BodyResponseCallback, @@ -4617,8 +4651,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Batchwrite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4673,11 +4707,11 @@ export namespace firestore_v1 { beginTransaction( params: Params$Resource$Projects$Databases$Documents$Begintransaction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; beginTransaction( params?: Params$Resource$Projects$Databases$Documents$Begintransaction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; beginTransaction( params: Params$Resource$Projects$Databases$Documents$Begintransaction, options: StreamMethodOptions | BodyResponseCallback, @@ -4712,8 +4746,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Begintransaction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4768,11 +4802,11 @@ export namespace firestore_v1 { commit( params: Params$Resource$Projects$Databases$Documents$Commit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commit( params?: Params$Resource$Projects$Databases$Documents$Commit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commit( params: Params$Resource$Projects$Databases$Documents$Commit, options: StreamMethodOptions | BodyResponseCallback, @@ -4801,7 +4835,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Commit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4856,11 +4893,11 @@ export namespace firestore_v1 { createDocument( params: Params$Resource$Projects$Databases$Documents$Createdocument, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createDocument( params?: Params$Resource$Projects$Databases$Documents$Createdocument, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createDocument( params: Params$Resource$Projects$Databases$Documents$Createdocument, options: StreamMethodOptions | BodyResponseCallback, @@ -4889,7 +4926,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Createdocument; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4945,11 +4985,11 @@ export namespace firestore_v1 { delete( params: Params$Resource$Projects$Databases$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Databases$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Databases$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4978,7 +5018,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5030,11 +5073,11 @@ export namespace firestore_v1 { get( params: Params$Resource$Projects$Databases$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Databases$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Databases$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5063,7 +5106,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5115,11 +5161,11 @@ export namespace firestore_v1 { list( params: Params$Resource$Projects$Databases$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Databases$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Databases$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5152,8 +5198,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5208,11 +5254,11 @@ export namespace firestore_v1 { listCollectionIds( params: Params$Resource$Projects$Databases$Documents$Listcollectionids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listCollectionIds( params?: Params$Resource$Projects$Databases$Documents$Listcollectionids, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listCollectionIds( params: Params$Resource$Projects$Databases$Documents$Listcollectionids, options: StreamMethodOptions | BodyResponseCallback, @@ -5247,8 +5293,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Listcollectionids; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5304,11 +5350,11 @@ export namespace firestore_v1 { listDocuments( params: Params$Resource$Projects$Databases$Documents$Listdocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDocuments( params?: Params$Resource$Projects$Databases$Documents$Listdocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listDocuments( params: Params$Resource$Projects$Databases$Documents$Listdocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -5343,8 +5389,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Listdocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5400,11 +5446,11 @@ export namespace firestore_v1 { listen( params: Params$Resource$Projects$Databases$Documents$Listen, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listen( params?: Params$Resource$Projects$Databases$Documents$Listen, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listen( params: Params$Resource$Projects$Databases$Documents$Listen, options: StreamMethodOptions | BodyResponseCallback, @@ -5433,7 +5479,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Listen; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5488,11 +5537,11 @@ export namespace firestore_v1 { partitionQuery( params: Params$Resource$Projects$Databases$Documents$Partitionquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; partitionQuery( params?: Params$Resource$Projects$Databases$Documents$Partitionquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; partitionQuery( params: Params$Resource$Projects$Databases$Documents$Partitionquery, options: StreamMethodOptions | BodyResponseCallback, @@ -5527,8 +5576,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Partitionquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5584,11 +5633,11 @@ export namespace firestore_v1 { patch( params: Params$Resource$Projects$Databases$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Databases$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Databases$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5617,7 +5666,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5669,11 +5721,11 @@ export namespace firestore_v1 { rollback( params: Params$Resource$Projects$Databases$Documents$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Databases$Documents$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Databases$Documents$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -5702,7 +5754,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5757,11 +5812,11 @@ export namespace firestore_v1 { runAggregationQuery( params: Params$Resource$Projects$Databases$Documents$Runaggregationquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runAggregationQuery( params?: Params$Resource$Projects$Databases$Documents$Runaggregationquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runAggregationQuery( params: Params$Resource$Projects$Databases$Documents$Runaggregationquery, options: StreamMethodOptions | BodyResponseCallback, @@ -5796,8 +5851,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Runaggregationquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5853,11 +5908,11 @@ export namespace firestore_v1 { runQuery( params: Params$Resource$Projects$Databases$Documents$Runquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runQuery( params?: Params$Resource$Projects$Databases$Documents$Runquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runQuery( params: Params$Resource$Projects$Databases$Documents$Runquery, options: StreamMethodOptions | BodyResponseCallback, @@ -5886,7 +5941,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Runquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5941,11 +5999,11 @@ export namespace firestore_v1 { write( params: Params$Resource$Projects$Databases$Documents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Databases$Documents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; write( params: Params$Resource$Projects$Databases$Documents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -5974,7 +6032,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6333,11 +6394,11 @@ export namespace firestore_v1 { cancel( params: Params$Resource$Projects$Databases$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Databases$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Databases$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6366,7 +6427,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6418,11 +6482,11 @@ export namespace firestore_v1 { delete( params: Params$Resource$Projects$Databases$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Databases$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Databases$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6451,7 +6515,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6503,11 +6570,11 @@ export namespace firestore_v1 { get( params: Params$Resource$Projects$Databases$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Databases$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Databases$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6542,8 +6609,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6595,11 +6662,13 @@ export namespace firestore_v1 { list( params: Params$Resource$Projects$Databases$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Databases$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Databases$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6634,8 +6703,10 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6745,11 +6816,11 @@ export namespace firestore_v1 { create( params: Params$Resource$Projects$Databases$Usercreds$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Databases$Usercreds$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Databases$Usercreds$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6784,8 +6855,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Usercreds$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6842,11 +6913,11 @@ export namespace firestore_v1 { delete( params: Params$Resource$Projects$Databases$Usercreds$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Databases$Usercreds$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Databases$Usercreds$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6875,7 +6946,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Usercreds$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6927,11 +7001,11 @@ export namespace firestore_v1 { disable( params: Params$Resource$Projects$Databases$Usercreds$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Databases$Usercreds$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Databases$Usercreds$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -6966,8 +7040,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Usercreds$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7024,11 +7098,11 @@ export namespace firestore_v1 { enable( params: Params$Resource$Projects$Databases$Usercreds$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Databases$Usercreds$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Databases$Usercreds$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -7063,8 +7137,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Usercreds$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7118,11 +7192,11 @@ export namespace firestore_v1 { get( params: Params$Resource$Projects$Databases$Usercreds$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Databases$Usercreds$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Databases$Usercreds$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7157,8 +7231,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Usercreds$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7212,11 +7286,13 @@ export namespace firestore_v1 { list( params: Params$Resource$Projects$Databases$Usercreds$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Databases$Usercreds$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Databases$Usercreds$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7251,8 +7327,10 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Usercreds$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7309,11 +7387,11 @@ export namespace firestore_v1 { resetPassword( params: Params$Resource$Projects$Databases$Usercreds$Resetpassword, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetPassword( params?: Params$Resource$Projects$Databases$Usercreds$Resetpassword, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetPassword( params: Params$Resource$Projects$Databases$Usercreds$Resetpassword, options: StreamMethodOptions | BodyResponseCallback, @@ -7348,8 +7426,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Usercreds$Resetpassword; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7490,11 +7568,11 @@ export namespace firestore_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7523,7 +7601,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7575,11 +7656,11 @@ export namespace firestore_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7612,8 +7693,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7706,11 +7787,11 @@ export namespace firestore_v1 { delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7739,7 +7820,10 @@ export namespace firestore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7791,11 +7875,11 @@ export namespace firestore_v1 { get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7830,8 +7914,8 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7885,11 +7969,13 @@ export namespace firestore_v1 { list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7924,8 +8010,10 @@ export namespace firestore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firestore/v1beta1.ts b/src/apis/firestore/v1beta1.ts index d388c8ed7ac..2933bc3881b 100644 --- a/src/apis/firestore/v1beta1.ts +++ b/src/apis/firestore/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1601,11 +1601,11 @@ export namespace firestore_v1beta1 { exportDocuments( params: Params$Resource$Projects$Databases$Exportdocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportDocuments( params?: Params$Resource$Projects$Databases$Exportdocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportDocuments( params: Params$Resource$Projects$Databases$Exportdocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -1640,8 +1640,8 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Exportdocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1696,11 +1696,11 @@ export namespace firestore_v1beta1 { importDocuments( params: Params$Resource$Projects$Databases$Importdocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importDocuments( params?: Params$Resource$Projects$Databases$Importdocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importDocuments( params: Params$Resource$Projects$Databases$Importdocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -1735,8 +1735,8 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Importdocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1823,11 +1823,11 @@ export namespace firestore_v1beta1 { batchGet( params: Params$Resource$Projects$Databases$Documents$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Databases$Documents$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Projects$Databases$Documents$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -1862,8 +1862,8 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1918,11 +1918,11 @@ export namespace firestore_v1beta1 { batchWrite( params: Params$Resource$Projects$Databases$Documents$Batchwrite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchWrite( params?: Params$Resource$Projects$Databases$Documents$Batchwrite, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchWrite( params: Params$Resource$Projects$Databases$Documents$Batchwrite, options: StreamMethodOptions | BodyResponseCallback, @@ -1953,8 +1953,8 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Batchwrite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2008,11 +2008,11 @@ export namespace firestore_v1beta1 { beginTransaction( params: Params$Resource$Projects$Databases$Documents$Begintransaction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; beginTransaction( params?: Params$Resource$Projects$Databases$Documents$Begintransaction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; beginTransaction( params: Params$Resource$Projects$Databases$Documents$Begintransaction, options: StreamMethodOptions | BodyResponseCallback, @@ -2047,8 +2047,8 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Begintransaction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2103,11 +2103,11 @@ export namespace firestore_v1beta1 { commit( params: Params$Resource$Projects$Databases$Documents$Commit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commit( params?: Params$Resource$Projects$Databases$Documents$Commit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commit( params: Params$Resource$Projects$Databases$Documents$Commit, options: StreamMethodOptions | BodyResponseCallback, @@ -2136,7 +2136,10 @@ export namespace firestore_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Commit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2191,11 +2194,11 @@ export namespace firestore_v1beta1 { createDocument( params: Params$Resource$Projects$Databases$Documents$Createdocument, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createDocument( params?: Params$Resource$Projects$Databases$Documents$Createdocument, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createDocument( params: Params$Resource$Projects$Databases$Documents$Createdocument, options: StreamMethodOptions | BodyResponseCallback, @@ -2224,7 +2227,10 @@ export namespace firestore_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Createdocument; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2280,11 +2286,11 @@ export namespace firestore_v1beta1 { delete( params: Params$Resource$Projects$Databases$Documents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Databases$Documents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Databases$Documents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2313,7 +2319,10 @@ export namespace firestore_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2365,11 +2374,11 @@ export namespace firestore_v1beta1 { get( params: Params$Resource$Projects$Databases$Documents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Databases$Documents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Databases$Documents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2398,7 +2407,10 @@ export namespace firestore_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2450,11 +2462,11 @@ export namespace firestore_v1beta1 { list( params: Params$Resource$Projects$Databases$Documents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Databases$Documents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Databases$Documents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2487,8 +2499,8 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2543,11 +2555,11 @@ export namespace firestore_v1beta1 { listCollectionIds( params: Params$Resource$Projects$Databases$Documents$Listcollectionids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listCollectionIds( params?: Params$Resource$Projects$Databases$Documents$Listcollectionids, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listCollectionIds( params: Params$Resource$Projects$Databases$Documents$Listcollectionids, options: StreamMethodOptions | BodyResponseCallback, @@ -2582,8 +2594,8 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Listcollectionids; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2639,11 +2651,11 @@ export namespace firestore_v1beta1 { listDocuments( params: Params$Resource$Projects$Databases$Documents$Listdocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDocuments( params?: Params$Resource$Projects$Databases$Documents$Listdocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listDocuments( params: Params$Resource$Projects$Databases$Documents$Listdocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -2678,8 +2690,8 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Listdocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2735,11 +2747,11 @@ export namespace firestore_v1beta1 { listen( params: Params$Resource$Projects$Databases$Documents$Listen, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listen( params?: Params$Resource$Projects$Databases$Documents$Listen, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listen( params: Params$Resource$Projects$Databases$Documents$Listen, options: StreamMethodOptions | BodyResponseCallback, @@ -2768,7 +2780,10 @@ export namespace firestore_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Listen; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2823,11 +2838,11 @@ export namespace firestore_v1beta1 { partitionQuery( params: Params$Resource$Projects$Databases$Documents$Partitionquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; partitionQuery( params?: Params$Resource$Projects$Databases$Documents$Partitionquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; partitionQuery( params: Params$Resource$Projects$Databases$Documents$Partitionquery, options: StreamMethodOptions | BodyResponseCallback, @@ -2862,8 +2877,8 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Partitionquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2919,11 +2934,11 @@ export namespace firestore_v1beta1 { patch( params: Params$Resource$Projects$Databases$Documents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Databases$Documents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Databases$Documents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2952,7 +2967,10 @@ export namespace firestore_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3004,11 +3022,11 @@ export namespace firestore_v1beta1 { rollback( params: Params$Resource$Projects$Databases$Documents$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Databases$Documents$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Databases$Documents$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -3037,7 +3055,10 @@ export namespace firestore_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3092,11 +3113,11 @@ export namespace firestore_v1beta1 { runAggregationQuery( params: Params$Resource$Projects$Databases$Documents$Runaggregationquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runAggregationQuery( params?: Params$Resource$Projects$Databases$Documents$Runaggregationquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runAggregationQuery( params: Params$Resource$Projects$Databases$Documents$Runaggregationquery, options: StreamMethodOptions | BodyResponseCallback, @@ -3131,8 +3152,8 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Runaggregationquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3188,11 +3209,11 @@ export namespace firestore_v1beta1 { runQuery( params: Params$Resource$Projects$Databases$Documents$Runquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runQuery( params?: Params$Resource$Projects$Databases$Documents$Runquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runQuery( params: Params$Resource$Projects$Databases$Documents$Runquery, options: StreamMethodOptions | BodyResponseCallback, @@ -3221,7 +3242,10 @@ export namespace firestore_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Runquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3276,11 +3300,11 @@ export namespace firestore_v1beta1 { write( params: Params$Resource$Projects$Databases$Documents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Databases$Documents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; write( params: Params$Resource$Projects$Databases$Documents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -3309,7 +3333,10 @@ export namespace firestore_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Documents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3668,11 +3695,11 @@ export namespace firestore_v1beta1 { create( params: Params$Resource$Projects$Databases$Indexes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Databases$Indexes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Databases$Indexes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3707,8 +3734,8 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Indexes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3763,11 +3790,11 @@ export namespace firestore_v1beta1 { delete( params: Params$Resource$Projects$Databases$Indexes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Databases$Indexes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Databases$Indexes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3796,7 +3823,10 @@ export namespace firestore_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Indexes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3848,11 +3878,13 @@ export namespace firestore_v1beta1 { get( params: Params$Resource$Projects$Databases$Indexes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Databases$Indexes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Databases$Indexes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3887,8 +3919,10 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Indexes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3942,11 +3976,13 @@ export namespace firestore_v1beta1 { list( params: Params$Resource$Projects$Databases$Indexes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Databases$Indexes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Databases$Indexes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3981,8 +4017,10 @@ export namespace firestore_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Indexes$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/firestore/v1beta2.ts b/src/apis/firestore/v1beta2.ts index 717f6a46298..650dfdc639b 100644 --- a/src/apis/firestore/v1beta2.ts +++ b/src/apis/firestore/v1beta2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -579,11 +579,11 @@ export namespace firestore_v1beta2 { exportDocuments( params: Params$Resource$Projects$Databases$Exportdocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportDocuments( params?: Params$Resource$Projects$Databases$Exportdocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportDocuments( params: Params$Resource$Projects$Databases$Exportdocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -618,8 +618,8 @@ export namespace firestore_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Exportdocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -674,11 +674,11 @@ export namespace firestore_v1beta2 { importDocuments( params: Params$Resource$Projects$Databases$Importdocuments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importDocuments( params?: Params$Resource$Projects$Databases$Importdocuments, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importDocuments( params: Params$Resource$Projects$Databases$Importdocuments, options: StreamMethodOptions | BodyResponseCallback, @@ -713,8 +713,8 @@ export namespace firestore_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Importdocuments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -816,11 +816,13 @@ export namespace firestore_v1beta2 { get( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Databases$Collectiongroups$Fields$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -855,8 +857,10 @@ export namespace firestore_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Fields$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -911,11 +915,13 @@ export namespace firestore_v1beta2 { list( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Databases$Collectiongroups$Fields$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$List, options: StreamMethodOptions | BodyResponseCallback, @@ -950,8 +956,10 @@ export namespace firestore_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Fields$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1009,11 +1017,11 @@ export namespace firestore_v1beta2 { patch( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Databases$Collectiongroups$Fields$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Databases$Collectiongroups$Fields$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1048,8 +1056,8 @@ export namespace firestore_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Fields$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1152,11 +1160,11 @@ export namespace firestore_v1beta2 { create( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1191,8 +1199,8 @@ export namespace firestore_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Indexes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1248,11 +1256,11 @@ export namespace firestore_v1beta2 { delete( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1281,7 +1289,10 @@ export namespace firestore_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Indexes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1334,11 +1345,13 @@ export namespace firestore_v1beta2 { get( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1373,8 +1386,10 @@ export namespace firestore_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Indexes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1429,11 +1444,13 @@ export namespace firestore_v1beta2 { list( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Databases$Collectiongroups$Indexes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Databases$Collectiongroups$Indexes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1468,8 +1485,10 @@ export namespace firestore_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Databases$Collectiongroups$Indexes$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/fitness/index.ts b/src/apis/fitness/index.ts index dc003f98cd6..24a3e9ad3db 100644 --- a/src/apis/fitness/index.ts +++ b/src/apis/fitness/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/fitness/package.json b/src/apis/fitness/package.json index 87e37088240..790b78a0ddd 100644 --- a/src/apis/fitness/package.json +++ b/src/apis/fitness/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/fitness/v1.ts b/src/apis/fitness/v1.ts index 2c15e2541f8..8aaa2d1adcc 100644 --- a/src/apis/fitness/v1.ts +++ b/src/apis/fitness/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -551,11 +551,11 @@ export namespace fitness_v1 { aggregate( params: Params$Resource$Users$Dataset$Aggregate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregate( params?: Params$Resource$Users$Dataset$Aggregate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregate( params: Params$Resource$Users$Dataset$Aggregate, options: StreamMethodOptions | BodyResponseCallback, @@ -586,8 +586,8 @@ export namespace fitness_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Dataset$Aggregate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -667,11 +667,11 @@ export namespace fitness_v1 { create( params: Params$Resource$Users$Datasources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Datasources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Datasources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -700,7 +700,10 @@ export namespace fitness_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Datasources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -755,11 +758,11 @@ export namespace fitness_v1 { delete( params: Params$Resource$Users$Datasources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Datasources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Datasources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -788,7 +791,10 @@ export namespace fitness_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Datasources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -842,11 +848,11 @@ export namespace fitness_v1 { get( params: Params$Resource$Users$Datasources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Datasources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Datasources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -875,7 +881,10 @@ export namespace fitness_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Datasources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -929,11 +938,11 @@ export namespace fitness_v1 { list( params: Params$Resource$Users$Datasources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Datasources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Datasources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -966,8 +975,8 @@ export namespace fitness_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Datasources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1022,11 +1031,11 @@ export namespace fitness_v1 { update( params: Params$Resource$Users$Datasources$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Users$Datasources$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Users$Datasources$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1055,7 +1064,10 @@ export namespace fitness_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Datasources$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1178,11 +1190,11 @@ export namespace fitness_v1 { list( params: Params$Resource$Users$Datasources$Datapointchanges$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Datasources$Datapointchanges$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Datasources$Datapointchanges$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1217,8 +1229,8 @@ export namespace fitness_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Datasources$Datapointchanges$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1302,11 +1314,11 @@ export namespace fitness_v1 { delete( params: Params$Resource$Users$Datasources$Datasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Datasources$Datasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Datasources$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1333,7 +1345,10 @@ export namespace fitness_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Datasources$Datasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1388,11 +1403,11 @@ export namespace fitness_v1 { get( params: Params$Resource$Users$Datasources$Datasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Datasources$Datasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Datasources$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1421,7 +1436,10 @@ export namespace fitness_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Datasources$Datasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1476,11 +1494,11 @@ export namespace fitness_v1 { patch( params: Params$Resource$Users$Datasources$Datasets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Datasources$Datasets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Datasources$Datasets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1509,7 +1527,10 @@ export namespace fitness_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Datasources$Datasets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1630,11 +1651,11 @@ export namespace fitness_v1 { delete( params: Params$Resource$Users$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1661,7 +1682,10 @@ export namespace fitness_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1715,11 +1739,11 @@ export namespace fitness_v1 { list( params: Params$Resource$Users$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1752,8 +1776,8 @@ export namespace fitness_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1808,11 +1832,11 @@ export namespace fitness_v1 { update( params: Params$Resource$Users$Sessions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Users$Sessions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Users$Sessions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1841,7 +1865,10 @@ export namespace fitness_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sessions$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/forms/index.ts b/src/apis/forms/index.ts index 8aae4f51bc1..13850f5ab8a 100644 --- a/src/apis/forms/index.ts +++ b/src/apis/forms/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/forms/package.json b/src/apis/forms/package.json index cd16efe2416..76bc63e8b81 100644 --- a/src/apis/forms/package.json +++ b/src/apis/forms/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/forms/v1.ts b/src/apis/forms/v1.ts index f8d2fa009d2..7a1086d773d 100644 --- a/src/apis/forms/v1.ts +++ b/src/apis/forms/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1106,11 +1106,11 @@ export namespace forms_v1 { batchUpdate( params: Params$Resource$Forms$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Forms$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Forms$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -1145,8 +1145,8 @@ export namespace forms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forms$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1201,11 +1201,11 @@ export namespace forms_v1 { create( params: Params$Resource$Forms$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Forms$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Forms$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1234,7 +1234,10 @@ export namespace forms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forms$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1285,11 +1288,11 @@ export namespace forms_v1 { get( params: Params$Resource$Forms$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Forms$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Forms$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1318,7 +1321,10 @@ export namespace forms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forms$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1369,11 +1375,11 @@ export namespace forms_v1 { setPublishSettings( params: Params$Resource$Forms$Setpublishsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setPublishSettings( params?: Params$Resource$Forms$Setpublishsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setPublishSettings( params: Params$Resource$Forms$Setpublishsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1408,8 +1414,8 @@ export namespace forms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forms$Setpublishsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1513,11 +1519,11 @@ export namespace forms_v1 { get( params: Params$Resource$Forms$Responses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Forms$Responses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Forms$Responses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1546,7 +1552,10 @@ export namespace forms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forms$Responses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1600,11 +1609,11 @@ export namespace forms_v1 { list( params: Params$Resource$Forms$Responses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Forms$Responses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Forms$Responses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1639,8 +1648,8 @@ export namespace forms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forms$Responses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1733,11 +1742,11 @@ export namespace forms_v1 { create( params: Params$Resource$Forms$Watches$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Forms$Watches$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Forms$Watches$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1766,7 +1775,10 @@ export namespace forms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forms$Watches$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1821,11 +1833,11 @@ export namespace forms_v1 { delete( params: Params$Resource$Forms$Watches$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Forms$Watches$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Forms$Watches$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1854,7 +1866,10 @@ export namespace forms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forms$Watches$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1909,11 +1924,11 @@ export namespace forms_v1 { list( params: Params$Resource$Forms$Watches$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Forms$Watches$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Forms$Watches$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1944,8 +1959,8 @@ export namespace forms_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forms$Watches$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2000,11 +2015,11 @@ export namespace forms_v1 { renew( params: Params$Resource$Forms$Watches$Renew, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; renew( params?: Params$Resource$Forms$Watches$Renew, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; renew( params: Params$Resource$Forms$Watches$Renew, options: StreamMethodOptions | BodyResponseCallback, @@ -2033,7 +2048,10 @@ export namespace forms_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forms$Watches$Renew; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/games/index.ts b/src/apis/games/index.ts index 4728f90f96f..4e878c2630a 100644 --- a/src/apis/games/index.ts +++ b/src/apis/games/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/games/package.json b/src/apis/games/package.json index 04328b4aa5e..f9c687e0b2f 100644 --- a/src/apis/games/package.json +++ b/src/apis/games/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/games/v1.ts b/src/apis/games/v1.ts index 2286a8d3ba2..59eb24e5f41 100644 --- a/src/apis/games/v1.ts +++ b/src/apis/games/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1794,11 +1794,13 @@ export namespace games_v1 { generatePlayGroupingApiToken( params: Params$Resource$Accesstokens$Generateplaygroupingapitoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generatePlayGroupingApiToken( params?: Params$Resource$Accesstokens$Generateplaygroupingapitoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generatePlayGroupingApiToken( params: Params$Resource$Accesstokens$Generateplaygroupingapitoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1833,8 +1835,10 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesstokens$Generateplaygroupingapitoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1891,11 +1895,13 @@ export namespace games_v1 { generateRecallPlayGroupingApiToken( params: Params$Resource$Accesstokens$Generaterecallplaygroupingapitoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateRecallPlayGroupingApiToken( params?: Params$Resource$Accesstokens$Generaterecallplaygroupingapitoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateRecallPlayGroupingApiToken( params: Params$Resource$Accesstokens$Generaterecallplaygroupingapitoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1930,8 +1936,10 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accesstokens$Generaterecallplaygroupingapitoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2023,11 +2031,13 @@ export namespace games_v1 { list( params: Params$Resource$Achievementdefinitions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Achievementdefinitions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Achievementdefinitions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2062,8 +2072,10 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievementdefinitions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2143,11 +2155,11 @@ export namespace games_v1 { increment( params: Params$Resource$Achievements$Increment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; increment( params?: Params$Resource$Achievements$Increment, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; increment( params: Params$Resource$Achievements$Increment, options: StreamMethodOptions | BodyResponseCallback, @@ -2182,8 +2194,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievements$Increment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2239,11 +2251,11 @@ export namespace games_v1 { list( params: Params$Resource$Achievements$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Achievements$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Achievements$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2278,8 +2290,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievements$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2335,11 +2347,11 @@ export namespace games_v1 { reveal( params: Params$Resource$Achievements$Reveal, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reveal( params?: Params$Resource$Achievements$Reveal, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reveal( params: Params$Resource$Achievements$Reveal, options: StreamMethodOptions | BodyResponseCallback, @@ -2374,8 +2386,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievements$Reveal; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2429,11 +2441,13 @@ export namespace games_v1 { setStepsAtLeast( params: Params$Resource$Achievements$Setstepsatleast, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setStepsAtLeast( params?: Params$Resource$Achievements$Setstepsatleast, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setStepsAtLeast( params: Params$Resource$Achievements$Setstepsatleast, options: StreamMethodOptions | BodyResponseCallback, @@ -2468,8 +2482,10 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievements$Setstepsatleast; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2525,11 +2541,11 @@ export namespace games_v1 { unlock( params: Params$Resource$Achievements$Unlock, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unlock( params?: Params$Resource$Achievements$Unlock, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unlock( params: Params$Resource$Achievements$Unlock, options: StreamMethodOptions | BodyResponseCallback, @@ -2564,8 +2580,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievements$Unlock; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2619,11 +2635,13 @@ export namespace games_v1 { updateMultiple( params: Params$Resource$Achievements$Updatemultiple, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateMultiple( params?: Params$Resource$Achievements$Updatemultiple, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateMultiple( params: Params$Resource$Achievements$Updatemultiple, options: StreamMethodOptions | BodyResponseCallback, @@ -2658,8 +2676,10 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievements$Updatemultiple; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2794,11 +2814,11 @@ export namespace games_v1 { get( params: Params$Resource$Applications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Applications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Applications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2827,7 +2847,10 @@ export namespace games_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2881,11 +2904,11 @@ export namespace games_v1 { getEndPoint( params: Params$Resource$Applications$Getendpoint, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEndPoint( params?: Params$Resource$Applications$Getendpoint, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEndPoint( params: Params$Resource$Applications$Getendpoint, options: StreamMethodOptions | BodyResponseCallback, @@ -2914,7 +2937,10 @@ export namespace games_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applications$Getendpoint; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2969,11 +2995,11 @@ export namespace games_v1 { played( params: Params$Resource$Applications$Played, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; played( params?: Params$Resource$Applications$Played, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; played( params: Params$Resource$Applications$Played, options: StreamMethodOptions | BodyResponseCallback, @@ -3000,7 +3026,10 @@ export namespace games_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applications$Played; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3055,11 +3084,11 @@ export namespace games_v1 { verify( params: Params$Resource$Applications$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Applications$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Applications$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -3094,8 +3123,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applications$Verify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3191,11 +3220,11 @@ export namespace games_v1 { listByPlayer( params: Params$Resource$Events$Listbyplayer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listByPlayer( params?: Params$Resource$Events$Listbyplayer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listByPlayer( params: Params$Resource$Events$Listbyplayer, options: StreamMethodOptions | BodyResponseCallback, @@ -3230,8 +3259,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Listbyplayer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3283,11 +3312,11 @@ export namespace games_v1 { listDefinitions( params: Params$Resource$Events$Listdefinitions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDefinitions( params?: Params$Resource$Events$Listdefinitions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listDefinitions( params: Params$Resource$Events$Listdefinitions, options: StreamMethodOptions | BodyResponseCallback, @@ -3322,8 +3351,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Listdefinitions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3378,11 +3407,11 @@ export namespace games_v1 { record( params: Params$Resource$Events$Record, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; record( params?: Params$Resource$Events$Record, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; record( params: Params$Resource$Events$Record, options: StreamMethodOptions | BodyResponseCallback, @@ -3413,8 +3442,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Record; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3514,11 +3543,11 @@ export namespace games_v1 { get( params: Params$Resource$Leaderboards$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Leaderboards$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Leaderboards$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3547,7 +3576,10 @@ export namespace games_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Leaderboards$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3601,11 +3633,11 @@ export namespace games_v1 { list( params: Params$Resource$Leaderboards$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Leaderboards$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Leaderboards$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3638,8 +3670,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Leaderboards$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3727,11 +3759,11 @@ export namespace games_v1 { getMetagameConfig( params: Params$Resource$Metagame$Getmetagameconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMetagameConfig( params?: Params$Resource$Metagame$Getmetagameconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getMetagameConfig( params: Params$Resource$Metagame$Getmetagameconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3762,7 +3794,10 @@ export namespace games_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Metagame$Getmetagameconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3817,11 +3852,11 @@ export namespace games_v1 { listCategoriesByPlayer( params: Params$Resource$Metagame$Listcategoriesbyplayer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listCategoriesByPlayer( params?: Params$Resource$Metagame$Listcategoriesbyplayer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listCategoriesByPlayer( params: Params$Resource$Metagame$Listcategoriesbyplayer, options: StreamMethodOptions | BodyResponseCallback, @@ -3856,8 +3891,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Metagame$Listcategoriesbyplayer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3944,11 +3979,11 @@ export namespace games_v1 { get( params: Params$Resource$Players$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Players$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Players$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3977,7 +4012,10 @@ export namespace games_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Players$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4031,11 +4069,13 @@ export namespace games_v1 { getMultipleApplicationPlayerIds( params: Params$Resource$Players$Getmultipleapplicationplayerids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMultipleApplicationPlayerIds( params?: Params$Resource$Players$Getmultipleapplicationplayerids, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getMultipleApplicationPlayerIds( params: Params$Resource$Players$Getmultipleapplicationplayerids, options: StreamMethodOptions | BodyResponseCallback, @@ -4070,8 +4110,10 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Players$Getmultipleapplicationplayerids; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4127,11 +4169,11 @@ export namespace games_v1 { getScopedPlayerIds( params: Params$Resource$Players$Getscopedplayerids, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getScopedPlayerIds( params?: Params$Resource$Players$Getscopedplayerids, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getScopedPlayerIds( params: Params$Resource$Players$Getscopedplayerids, options: StreamMethodOptions | BodyResponseCallback, @@ -4162,7 +4204,10 @@ export namespace games_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Players$Getscopedplayerids; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4217,11 +4262,11 @@ export namespace games_v1 { list( params: Params$Resource$Players$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Players$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Players$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4252,8 +4297,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Players$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4355,11 +4400,13 @@ export namespace games_v1 { gamesPlayerTokens( params: Params$Resource$Recall$Gamesplayertokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; gamesPlayerTokens( params?: Params$Resource$Recall$Gamesplayertokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; gamesPlayerTokens( params: Params$Resource$Recall$Gamesplayertokens, options: StreamMethodOptions | BodyResponseCallback, @@ -4394,8 +4441,10 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Recall$Gamesplayertokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4451,11 +4500,13 @@ export namespace games_v1 { lastTokenFromAllDeveloperGames( params: Params$Resource$Recall$Lasttokenfromalldevelopergames, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lastTokenFromAllDeveloperGames( params?: Params$Resource$Recall$Lasttokenfromalldevelopergames, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; lastTokenFromAllDeveloperGames( params: Params$Resource$Recall$Lasttokenfromalldevelopergames, options: StreamMethodOptions | BodyResponseCallback, @@ -4490,8 +4541,10 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Recall$Lasttokenfromalldevelopergames; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4548,11 +4601,11 @@ export namespace games_v1 { linkPersona( params: Params$Resource$Recall$Linkpersona, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; linkPersona( params?: Params$Resource$Recall$Linkpersona, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; linkPersona( params: Params$Resource$Recall$Linkpersona, options: StreamMethodOptions | BodyResponseCallback, @@ -4585,8 +4638,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Recall$Linkpersona; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4641,11 +4694,11 @@ export namespace games_v1 { resetPersona( params: Params$Resource$Recall$Resetpersona, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetPersona( params?: Params$Resource$Recall$Resetpersona, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetPersona( params: Params$Resource$Recall$Resetpersona, options: StreamMethodOptions | BodyResponseCallback, @@ -4680,8 +4733,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Recall$Resetpersona; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4736,11 +4789,11 @@ export namespace games_v1 { retrieveTokens( params: Params$Resource$Recall$Retrievetokens, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveTokens( params?: Params$Resource$Recall$Retrievetokens, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveTokens( params: Params$Resource$Recall$Retrievetokens, options: StreamMethodOptions | BodyResponseCallback, @@ -4775,8 +4828,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Recall$Retrievetokens; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4833,11 +4886,11 @@ export namespace games_v1 { unlinkPersona( params: Params$Resource$Recall$Unlinkpersona, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unlinkPersona( params?: Params$Resource$Recall$Unlinkpersona, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unlinkPersona( params: Params$Resource$Recall$Unlinkpersona, options: StreamMethodOptions | BodyResponseCallback, @@ -4872,8 +4925,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Recall$Unlinkpersona; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4982,11 +5035,11 @@ export namespace games_v1 { check( params: Params$Resource$Revisions$Check, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; check( params?: Params$Resource$Revisions$Check, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; check( params: Params$Resource$Revisions$Check, options: StreamMethodOptions | BodyResponseCallback, @@ -5019,8 +5072,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Revisions$Check; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5088,11 +5141,13 @@ export namespace games_v1 { get( params: Params$Resource$Scores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Scores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Scores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5127,8 +5182,10 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5184,11 +5241,11 @@ export namespace games_v1 { list( params: Params$Resource$Scores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Scores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Scores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5219,8 +5276,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5274,11 +5331,11 @@ export namespace games_v1 { listWindow( params: Params$Resource$Scores$Listwindow, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listWindow( params?: Params$Resource$Scores$Listwindow, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listWindow( params: Params$Resource$Scores$Listwindow, options: StreamMethodOptions | BodyResponseCallback, @@ -5309,8 +5366,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scores$Listwindow; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5365,11 +5422,11 @@ export namespace games_v1 { submit( params: Params$Resource$Scores$Submit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submit( params?: Params$Resource$Scores$Submit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; submit( params: Params$Resource$Scores$Submit, options: StreamMethodOptions | BodyResponseCallback, @@ -5400,8 +5457,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scores$Submit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5454,11 +5511,11 @@ export namespace games_v1 { submitMultiple( params: Params$Resource$Scores$Submitmultiple, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submitMultiple( params?: Params$Resource$Scores$Submitmultiple, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; submitMultiple( params: Params$Resource$Scores$Submitmultiple, options: StreamMethodOptions | BodyResponseCallback, @@ -5493,8 +5550,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scores$Submitmultiple; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5678,11 +5735,11 @@ export namespace games_v1 { get( params: Params$Resource$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5711,7 +5768,10 @@ export namespace games_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5765,11 +5825,11 @@ export namespace games_v1 { list( params: Params$Resource$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5802,8 +5862,8 @@ export namespace games_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5893,11 +5953,11 @@ export namespace games_v1 { get( params: Params$Resource$Stats$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Stats$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Stats$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5926,7 +5986,10 @@ export namespace games_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Stats$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gamesConfiguration/index.ts b/src/apis/gamesConfiguration/index.ts index 1b097c61ff6..6c4886b7e93 100644 --- a/src/apis/gamesConfiguration/index.ts +++ b/src/apis/gamesConfiguration/index.ts @@ -46,7 +46,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/gamesConfiguration/package.json b/src/apis/gamesConfiguration/package.json index 46b36c7efb5..ef82ba4fe4a 100644 --- a/src/apis/gamesConfiguration/package.json +++ b/src/apis/gamesConfiguration/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/gamesConfiguration/v1configuration.ts b/src/apis/gamesConfiguration/v1configuration.ts index 036bd531a1e..309ffb80fc2 100644 --- a/src/apis/gamesConfiguration/v1configuration.ts +++ b/src/apis/gamesConfiguration/v1configuration.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -387,11 +387,11 @@ export namespace gamesConfiguration_v1configuration { delete( params: Params$Resource$Achievementconfigurations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Achievementconfigurations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Achievementconfigurations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -418,7 +418,10 @@ export namespace gamesConfiguration_v1configuration { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievementconfigurations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -473,11 +476,11 @@ export namespace gamesConfiguration_v1configuration { get( params: Params$Resource$Achievementconfigurations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Achievementconfigurations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Achievementconfigurations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -510,8 +513,8 @@ export namespace gamesConfiguration_v1configuration { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievementconfigurations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -566,11 +569,11 @@ export namespace gamesConfiguration_v1configuration { insert( params: Params$Resource$Achievementconfigurations$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Achievementconfigurations$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Achievementconfigurations$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -605,8 +608,8 @@ export namespace gamesConfiguration_v1configuration { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievementconfigurations$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -662,11 +665,13 @@ export namespace gamesConfiguration_v1configuration { list( params: Params$Resource$Achievementconfigurations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Achievementconfigurations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Achievementconfigurations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -701,8 +706,10 @@ export namespace gamesConfiguration_v1configuration { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievementconfigurations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -760,11 +767,11 @@ export namespace gamesConfiguration_v1configuration { update( params: Params$Resource$Achievementconfigurations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Achievementconfigurations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Achievementconfigurations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -799,8 +806,8 @@ export namespace gamesConfiguration_v1configuration { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievementconfigurations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -916,11 +923,11 @@ export namespace gamesConfiguration_v1configuration { delete( params: Params$Resource$Leaderboardconfigurations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Leaderboardconfigurations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Leaderboardconfigurations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -947,7 +954,10 @@ export namespace gamesConfiguration_v1configuration { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Leaderboardconfigurations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1002,11 +1012,11 @@ export namespace gamesConfiguration_v1configuration { get( params: Params$Resource$Leaderboardconfigurations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Leaderboardconfigurations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Leaderboardconfigurations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1039,8 +1049,8 @@ export namespace gamesConfiguration_v1configuration { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Leaderboardconfigurations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1095,11 +1105,11 @@ export namespace gamesConfiguration_v1configuration { insert( params: Params$Resource$Leaderboardconfigurations$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Leaderboardconfigurations$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Leaderboardconfigurations$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1134,8 +1144,8 @@ export namespace gamesConfiguration_v1configuration { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Leaderboardconfigurations$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1191,11 +1201,13 @@ export namespace gamesConfiguration_v1configuration { list( params: Params$Resource$Leaderboardconfigurations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Leaderboardconfigurations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Leaderboardconfigurations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1230,8 +1242,10 @@ export namespace gamesConfiguration_v1configuration { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Leaderboardconfigurations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1289,11 +1303,11 @@ export namespace gamesConfiguration_v1configuration { update( params: Params$Resource$Leaderboardconfigurations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Leaderboardconfigurations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Leaderboardconfigurations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1328,8 +1342,8 @@ export namespace gamesConfiguration_v1configuration { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Leaderboardconfigurations$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gamesManagement/index.ts b/src/apis/gamesManagement/index.ts index be4f36633ed..e021ed195eb 100644 --- a/src/apis/gamesManagement/index.ts +++ b/src/apis/gamesManagement/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/gamesManagement/package.json b/src/apis/gamesManagement/package.json index 37becd80466..3abac5230aa 100644 --- a/src/apis/gamesManagement/package.json +++ b/src/apis/gamesManagement/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/gamesManagement/v1management.ts b/src/apis/gamesManagement/v1management.ts index e63831fcf2c..03acda9e1fa 100644 --- a/src/apis/gamesManagement/v1management.ts +++ b/src/apis/gamesManagement/v1management.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -378,11 +378,11 @@ export namespace gamesManagement_v1management { reset( params: Params$Resource$Achievements$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Achievements$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Achievements$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -417,8 +417,8 @@ export namespace gamesManagement_v1management { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievements$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -473,11 +473,11 @@ export namespace gamesManagement_v1management { resetAll( params: Params$Resource$Achievements$Resetall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAll( params?: Params$Resource$Achievements$Resetall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAll( params: Params$Resource$Achievements$Resetall, options: StreamMethodOptions | BodyResponseCallback, @@ -512,8 +512,8 @@ export namespace gamesManagement_v1management { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievements$Resetall; let options = (optionsOrCallback || {}) as MethodOptions; @@ -569,11 +569,11 @@ export namespace gamesManagement_v1management { resetAllForAllPlayers( params: Params$Resource$Achievements$Resetallforallplayers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAllForAllPlayers( params?: Params$Resource$Achievements$Resetallforallplayers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAllForAllPlayers( params: Params$Resource$Achievements$Resetallforallplayers, options: StreamMethodOptions | BodyResponseCallback, @@ -600,7 +600,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievements$Resetallforallplayers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -655,11 +658,11 @@ export namespace gamesManagement_v1management { resetForAllPlayers( params: Params$Resource$Achievements$Resetforallplayers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetForAllPlayers( params?: Params$Resource$Achievements$Resetforallplayers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetForAllPlayers( params: Params$Resource$Achievements$Resetforallplayers, options: StreamMethodOptions | BodyResponseCallback, @@ -686,7 +689,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievements$Resetforallplayers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -742,11 +748,11 @@ export namespace gamesManagement_v1management { resetMultipleForAllPlayers( params: Params$Resource$Achievements$Resetmultipleforallplayers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetMultipleForAllPlayers( params?: Params$Resource$Achievements$Resetmultipleforallplayers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetMultipleForAllPlayers( params: Params$Resource$Achievements$Resetmultipleforallplayers, options: StreamMethodOptions | BodyResponseCallback, @@ -773,7 +779,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Achievements$Resetmultipleforallplayers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -862,11 +871,11 @@ export namespace gamesManagement_v1management { listHidden( params: Params$Resource$Applications$Listhidden, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listHidden( params?: Params$Resource$Applications$Listhidden, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listHidden( params: Params$Resource$Applications$Listhidden, options: StreamMethodOptions | BodyResponseCallback, @@ -895,7 +904,10 @@ export namespace gamesManagement_v1management { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applications$Listhidden; let options = (optionsOrCallback || {}) as MethodOptions; @@ -974,11 +986,11 @@ export namespace gamesManagement_v1management { reset( params: Params$Resource$Events$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Events$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Events$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -1005,7 +1017,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1059,11 +1074,11 @@ export namespace gamesManagement_v1management { resetAll( params: Params$Resource$Events$Resetall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAll( params?: Params$Resource$Events$Resetall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAll( params: Params$Resource$Events$Resetall, options: StreamMethodOptions | BodyResponseCallback, @@ -1090,7 +1105,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Resetall; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1145,11 +1163,11 @@ export namespace gamesManagement_v1management { resetAllForAllPlayers( params: Params$Resource$Events$Resetallforallplayers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAllForAllPlayers( params?: Params$Resource$Events$Resetallforallplayers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAllForAllPlayers( params: Params$Resource$Events$Resetallforallplayers, options: StreamMethodOptions | BodyResponseCallback, @@ -1176,7 +1194,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Resetallforallplayers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1231,11 +1252,11 @@ export namespace gamesManagement_v1management { resetForAllPlayers( params: Params$Resource$Events$Resetforallplayers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetForAllPlayers( params?: Params$Resource$Events$Resetforallplayers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetForAllPlayers( params: Params$Resource$Events$Resetforallplayers, options: StreamMethodOptions | BodyResponseCallback, @@ -1262,7 +1283,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Resetforallplayers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1318,11 +1342,11 @@ export namespace gamesManagement_v1management { resetMultipleForAllPlayers( params: Params$Resource$Events$Resetmultipleforallplayers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetMultipleForAllPlayers( params?: Params$Resource$Events$Resetmultipleforallplayers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetMultipleForAllPlayers( params: Params$Resource$Events$Resetmultipleforallplayers, options: StreamMethodOptions | BodyResponseCallback, @@ -1349,7 +1373,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Events$Resetmultipleforallplayers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1435,11 +1462,11 @@ export namespace gamesManagement_v1management { hide( params: Params$Resource$Players$Hide, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; hide( params?: Params$Resource$Players$Hide, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; hide( params: Params$Resource$Players$Hide, options: StreamMethodOptions | BodyResponseCallback, @@ -1466,7 +1493,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Players$Hide; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1521,11 +1551,11 @@ export namespace gamesManagement_v1management { unhide( params: Params$Resource$Players$Unhide, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unhide( params?: Params$Resource$Players$Unhide, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unhide( params: Params$Resource$Players$Unhide, options: StreamMethodOptions | BodyResponseCallback, @@ -1552,7 +1582,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Players$Unhide; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1635,11 +1668,11 @@ export namespace gamesManagement_v1management { reset( params: Params$Resource$Scores$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Scores$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Scores$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -1674,8 +1707,8 @@ export namespace gamesManagement_v1management { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scores$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1730,11 +1763,11 @@ export namespace gamesManagement_v1management { resetAll( params: Params$Resource$Scores$Resetall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAll( params?: Params$Resource$Scores$Resetall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAll( params: Params$Resource$Scores$Resetall, options: StreamMethodOptions | BodyResponseCallback, @@ -1769,8 +1802,8 @@ export namespace gamesManagement_v1management { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scores$Resetall; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1825,11 +1858,11 @@ export namespace gamesManagement_v1management { resetAllForAllPlayers( params: Params$Resource$Scores$Resetallforallplayers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAllForAllPlayers( params?: Params$Resource$Scores$Resetallforallplayers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAllForAllPlayers( params: Params$Resource$Scores$Resetallforallplayers, options: StreamMethodOptions | BodyResponseCallback, @@ -1856,7 +1889,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scores$Resetallforallplayers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1911,11 +1947,11 @@ export namespace gamesManagement_v1management { resetForAllPlayers( params: Params$Resource$Scores$Resetforallplayers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetForAllPlayers( params?: Params$Resource$Scores$Resetforallplayers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetForAllPlayers( params: Params$Resource$Scores$Resetforallplayers, options: StreamMethodOptions | BodyResponseCallback, @@ -1942,7 +1978,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scores$Resetforallplayers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1998,11 +2037,11 @@ export namespace gamesManagement_v1management { resetMultipleForAllPlayers( params: Params$Resource$Scores$Resetmultipleforallplayers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetMultipleForAllPlayers( params?: Params$Resource$Scores$Resetmultipleforallplayers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetMultipleForAllPlayers( params: Params$Resource$Scores$Resetmultipleforallplayers, options: StreamMethodOptions | BodyResponseCallback, @@ -2029,7 +2068,10 @@ export namespace gamesManagement_v1management { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scores$Resetmultipleforallplayers; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gameservices/index.ts b/src/apis/gameservices/index.ts index 797fc444167..f0d8e0364f2 100644 --- a/src/apis/gameservices/index.ts +++ b/src/apis/gameservices/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/gameservices/package.json b/src/apis/gameservices/package.json index b98e439ddf7..dda2ffadd8a 100644 --- a/src/apis/gameservices/package.json +++ b/src/apis/gameservices/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/gameservices/v1.ts b/src/apis/gameservices/v1.ts index b0aafb71d16..da55b7683fc 100644 --- a/src/apis/gameservices/v1.ts +++ b/src/apis/gameservices/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -514,11 +514,11 @@ export namespace gameservices_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -547,7 +547,7 @@ export namespace gameservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -598,11 +598,11 @@ export namespace gameservices_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -635,8 +635,8 @@ export namespace gameservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -728,11 +728,11 @@ export namespace gameservices_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Gameserverdeployments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Gameserverdeployments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Gameserverdeployments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -761,7 +761,7 @@ export namespace gameservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gameserverdeployments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -816,11 +816,11 @@ export namespace gameservices_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Gameserverdeployments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Gameserverdeployments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Gameserverdeployments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -849,7 +849,7 @@ export namespace gameservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gameserverdeployments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -904,11 +904,11 @@ export namespace gameservices_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Gameserverdeployments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Gameserverdeployments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Gameserverdeployments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -943,8 +943,8 @@ export namespace gameservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gameserverdeployments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1042,11 +1042,11 @@ export namespace gameservices_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1075,7 +1075,7 @@ export namespace gameservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1126,11 +1126,11 @@ export namespace gameservices_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1159,7 +1159,7 @@ export namespace gameservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1210,11 +1210,11 @@ export namespace gameservices_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1243,7 +1243,7 @@ export namespace gameservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1294,11 +1294,11 @@ export namespace gameservices_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1331,8 +1331,8 @@ export namespace gameservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gameservices/v1beta.ts b/src/apis/gameservices/v1beta.ts index aa66b29a7f1..ff992e1557e 100644 --- a/src/apis/gameservices/v1beta.ts +++ b/src/apis/gameservices/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -514,11 +514,11 @@ export namespace gameservices_v1beta { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -547,7 +547,7 @@ export namespace gameservices_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -598,11 +598,11 @@ export namespace gameservices_v1beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -635,8 +635,8 @@ export namespace gameservices_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -728,11 +728,11 @@ export namespace gameservices_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Gameserverdeployments$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Gameserverdeployments$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Gameserverdeployments$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -761,7 +761,7 @@ export namespace gameservices_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gameserverdeployments$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -816,11 +816,11 @@ export namespace gameservices_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Gameserverdeployments$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Gameserverdeployments$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Gameserverdeployments$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -849,7 +849,7 @@ export namespace gameservices_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gameserverdeployments$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -904,11 +904,11 @@ export namespace gameservices_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Gameserverdeployments$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Gameserverdeployments$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Gameserverdeployments$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -943,8 +943,8 @@ export namespace gameservices_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gameserverdeployments$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1042,11 +1042,11 @@ export namespace gameservices_v1beta { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1075,7 +1075,7 @@ export namespace gameservices_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1129,11 +1129,11 @@ export namespace gameservices_v1beta { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1162,7 +1162,7 @@ export namespace gameservices_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1213,11 +1213,11 @@ export namespace gameservices_v1beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1246,7 +1246,7 @@ export namespace gameservices_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1297,11 +1297,11 @@ export namespace gameservices_v1beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1334,8 +1334,8 @@ export namespace gameservices_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/genomics/index.ts b/src/apis/genomics/index.ts index e3772484d13..286f926564e 100644 --- a/src/apis/genomics/index.ts +++ b/src/apis/genomics/index.ts @@ -63,7 +63,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/genomics/package.json b/src/apis/genomics/package.json index f291affe058..5a369cb83a0 100644 --- a/src/apis/genomics/package.json +++ b/src/apis/genomics/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/genomics/v1.ts b/src/apis/genomics/v1.ts index cb0ade762f2..c8ca70ca146 100644 --- a/src/apis/genomics/v1.ts +++ b/src/apis/genomics/v1.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, diff --git a/src/apis/genomics/v1alpha2.ts b/src/apis/genomics/v1alpha2.ts index b3ff3990694..d9ab97ba8a8 100644 --- a/src/apis/genomics/v1alpha2.ts +++ b/src/apis/genomics/v1alpha2.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -786,11 +786,11 @@ export namespace genomics_v1alpha2 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -819,7 +819,7 @@ export namespace genomics_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -922,11 +922,11 @@ export namespace genomics_v1alpha2 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -955,7 +955,7 @@ export namespace genomics_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1057,11 +1057,11 @@ export namespace genomics_v1alpha2 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1094,8 +1094,8 @@ export namespace genomics_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1253,11 +1253,11 @@ export namespace genomics_v1alpha2 { create( params: Params$Resource$Pipelines$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Pipelines$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Pipelines$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1286,7 +1286,7 @@ export namespace genomics_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pipelines$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1382,11 +1382,11 @@ export namespace genomics_v1alpha2 { delete( params: Params$Resource$Pipelines$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Pipelines$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Pipelines$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1415,7 +1415,7 @@ export namespace genomics_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pipelines$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1520,11 +1520,11 @@ export namespace genomics_v1alpha2 { get( params: Params$Resource$Pipelines$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Pipelines$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Pipelines$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1553,7 +1553,7 @@ export namespace genomics_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pipelines$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1660,11 +1660,11 @@ export namespace genomics_v1alpha2 { getControllerConfig( params: Params$Resource$Pipelines$Getcontrollerconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getControllerConfig( params?: Params$Resource$Pipelines$Getcontrollerconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getControllerConfig( params: Params$Resource$Pipelines$Getcontrollerconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1695,7 +1695,7 @@ export namespace genomics_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pipelines$Getcontrollerconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1801,11 +1801,11 @@ export namespace genomics_v1alpha2 { list( params: Params$Resource$Pipelines$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Pipelines$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Pipelines$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1838,8 +1838,8 @@ export namespace genomics_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pipelines$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1949,11 +1949,11 @@ export namespace genomics_v1alpha2 { run( params: Params$Resource$Pipelines$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Pipelines$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Pipelines$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -1982,7 +1982,7 @@ export namespace genomics_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pipelines$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2087,11 +2087,11 @@ export namespace genomics_v1alpha2 { setOperationStatus( params: Params$Resource$Pipelines$Setoperationstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setOperationStatus( params?: Params$Resource$Pipelines$Setoperationstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setOperationStatus( params: Params$Resource$Pipelines$Setoperationstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -2120,7 +2120,7 @@ export namespace genomics_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pipelines$Setoperationstatus; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/genomics/v2alpha1.ts b/src/apis/genomics/v2alpha1.ts index 60e89781fe5..5cd8ed1f59a 100644 --- a/src/apis/genomics/v2alpha1.ts +++ b/src/apis/genomics/v2alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -877,11 +877,11 @@ export namespace genomics_v2alpha1 { run( params: Params$Resource$Pipelines$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Pipelines$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Pipelines$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -910,7 +910,7 @@ export namespace genomics_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pipelines$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1037,11 +1037,11 @@ export namespace genomics_v2alpha1 { cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1070,7 +1070,7 @@ export namespace genomics_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1173,11 +1173,11 @@ export namespace genomics_v2alpha1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1206,7 +1206,7 @@ export namespace genomics_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1309,11 +1309,11 @@ export namespace genomics_v2alpha1 { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1346,8 +1346,8 @@ export namespace genomics_v2alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1504,11 +1504,11 @@ export namespace genomics_v2alpha1 { checkIn( params: Params$Resource$Projects$Workers$Checkin, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkIn( params?: Params$Resource$Projects$Workers$Checkin, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkIn( params: Params$Resource$Projects$Workers$Checkin, options: StreamMethodOptions | BodyResponseCallback, @@ -1537,7 +1537,7 @@ export namespace genomics_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Workers$Checkin; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1671,11 +1671,11 @@ export namespace genomics_v2alpha1 { checkIn( params: Params$Resource$Workers$Checkin, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkIn( params?: Params$Resource$Workers$Checkin, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkIn( params: Params$Resource$Workers$Checkin, options: StreamMethodOptions | BodyResponseCallback, @@ -1704,7 +1704,7 @@ export namespace genomics_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Workers$Checkin; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gkebackup/index.ts b/src/apis/gkebackup/index.ts index 340322899c8..e79933546b5 100644 --- a/src/apis/gkebackup/index.ts +++ b/src/apis/gkebackup/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/gkebackup/package.json b/src/apis/gkebackup/package.json index 0b1920401b0..72e27fdd504 100644 --- a/src/apis/gkebackup/package.json +++ b/src/apis/gkebackup/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/gkebackup/v1.ts b/src/apis/gkebackup/v1.ts index a104e9db533..8859bd66c80 100644 --- a/src/apis/gkebackup/v1.ts +++ b/src/apis/gkebackup/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1701,11 +1701,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1734,7 +1734,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1786,11 +1789,11 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1823,8 +1826,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1922,11 +1925,11 @@ export namespace gkebackup_v1 { create( params: Params$Resource$Projects$Locations$Backupchannels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backupchannels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backupchannels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1961,8 +1964,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupchannels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2017,11 +2020,11 @@ export namespace gkebackup_v1 { delete( params: Params$Resource$Projects$Locations$Backupchannels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupchannels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupchannels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2056,8 +2059,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupchannels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2109,11 +2112,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Backupchannels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupchannels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupchannels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2142,7 +2145,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupchannels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2194,11 +2200,11 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$Backupchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2233,8 +2239,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2289,11 +2295,11 @@ export namespace gkebackup_v1 { patch( params: Params$Resource$Projects$Locations$Backupchannels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backupchannels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backupchannels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2328,8 +2334,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupchannels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2466,11 +2472,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Backupchannels$Backupplanbindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupchannels$Backupplanbindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupchannels$Backupplanbindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2501,8 +2507,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupchannels$Backupplanbindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2555,11 +2561,11 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$Backupchannels$Backupplanbindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupchannels$Backupplanbindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupchannels$Backupplanbindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2594,8 +2600,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupchannels$Backupplanbindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2695,11 +2701,11 @@ export namespace gkebackup_v1 { create( params: Params$Resource$Projects$Locations$Backupplans$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backupplans$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backupplans$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2734,8 +2740,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2790,11 +2796,11 @@ export namespace gkebackup_v1 { delete( params: Params$Resource$Projects$Locations$Backupplans$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupplans$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupplans$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2829,8 +2835,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2882,11 +2888,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Backupplans$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupplans$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupplans$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2915,7 +2921,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2967,11 +2976,11 @@ export namespace gkebackup_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Backupplans$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3000,7 +3009,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3056,11 +3068,11 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$Backupplans$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupplans$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupplans$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3093,8 +3105,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3149,11 +3161,11 @@ export namespace gkebackup_v1 { patch( params: Params$Resource$Projects$Locations$Backupplans$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backupplans$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backupplans$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3188,8 +3200,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3241,11 +3253,11 @@ export namespace gkebackup_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Backupplans$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3274,7 +3286,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3330,11 +3345,11 @@ export namespace gkebackup_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Backupplans$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Backupplans$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Backupplans$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3369,8 +3384,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3547,11 +3562,11 @@ export namespace gkebackup_v1 { create( params: Params$Resource$Projects$Locations$Backupplans$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backupplans$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3586,8 +3601,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3643,11 +3658,11 @@ export namespace gkebackup_v1 { delete( params: Params$Resource$Projects$Locations$Backupplans$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupplans$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3682,8 +3697,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3736,11 +3751,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Backupplans$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupplans$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3769,7 +3784,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3822,11 +3840,13 @@ export namespace gkebackup_v1 { getBackupIndexDownloadUrl( params: Params$Resource$Projects$Locations$Backupplans$Backups$Getbackupindexdownloadurl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getBackupIndexDownloadUrl( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Getbackupindexdownloadurl, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getBackupIndexDownloadUrl( params: Params$Resource$Projects$Locations$Backupplans$Backups$Getbackupindexdownloadurl, options: StreamMethodOptions | BodyResponseCallback, @@ -3861,8 +3881,10 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Getbackupindexdownloadurl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3920,11 +3942,11 @@ export namespace gkebackup_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Backups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Backups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3953,7 +3975,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4009,11 +4034,11 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$Backupplans$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupplans$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupplans$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4044,8 +4069,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4101,11 +4126,11 @@ export namespace gkebackup_v1 { patch( params: Params$Resource$Projects$Locations$Backupplans$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backupplans$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4140,8 +4165,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4194,11 +4219,11 @@ export namespace gkebackup_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Backups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Backups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4227,7 +4252,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4283,11 +4311,11 @@ export namespace gkebackup_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Backupplans$Backups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Backupplans$Backups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4322,8 +4350,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4510,11 +4538,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4543,7 +4571,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4596,11 +4627,11 @@ export namespace gkebackup_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4629,7 +4660,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4685,11 +4719,11 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4724,8 +4758,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4781,11 +4815,11 @@ export namespace gkebackup_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4814,7 +4848,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4870,11 +4907,11 @@ export namespace gkebackup_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4909,8 +4946,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupplans$Backups$Volumebackups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5039,11 +5076,11 @@ export namespace gkebackup_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -5072,7 +5109,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5124,11 +5164,11 @@ export namespace gkebackup_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5157,7 +5197,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5209,11 +5252,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5248,8 +5291,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5301,11 +5344,13 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5340,8 +5385,10 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5456,11 +5503,11 @@ export namespace gkebackup_v1 { create( params: Params$Resource$Projects$Locations$Restorechannels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Restorechannels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Restorechannels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5495,8 +5542,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restorechannels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5552,11 +5599,11 @@ export namespace gkebackup_v1 { delete( params: Params$Resource$Projects$Locations$Restorechannels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Restorechannels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Restorechannels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5591,8 +5638,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restorechannels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5645,11 +5692,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Restorechannels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Restorechannels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Restorechannels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5678,7 +5725,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restorechannels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5730,11 +5780,11 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$Restorechannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Restorechannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Restorechannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5769,8 +5819,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restorechannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5825,11 +5875,11 @@ export namespace gkebackup_v1 { patch( params: Params$Resource$Projects$Locations$Restorechannels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Restorechannels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Restorechannels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5864,8 +5914,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restorechannels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5998,11 +6048,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Restorechannels$Restoreplanbindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Restorechannels$Restoreplanbindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Restorechannels$Restoreplanbindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6033,8 +6083,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restorechannels$Restoreplanbindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6087,11 +6137,11 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$Restorechannels$Restoreplanbindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Restorechannels$Restoreplanbindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Restorechannels$Restoreplanbindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6126,8 +6176,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restorechannels$Restoreplanbindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6227,11 +6277,11 @@ export namespace gkebackup_v1 { create( params: Params$Resource$Projects$Locations$Restoreplans$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Restoreplans$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Restoreplans$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6266,8 +6316,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6322,11 +6372,11 @@ export namespace gkebackup_v1 { delete( params: Params$Resource$Projects$Locations$Restoreplans$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Restoreplans$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Restoreplans$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6361,8 +6411,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6414,11 +6464,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Restoreplans$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Restoreplans$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Restoreplans$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6447,7 +6497,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6499,11 +6552,11 @@ export namespace gkebackup_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Restoreplans$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6532,7 +6585,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6588,11 +6644,11 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$Restoreplans$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Restoreplans$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Restoreplans$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6625,8 +6681,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6681,11 +6737,11 @@ export namespace gkebackup_v1 { patch( params: Params$Resource$Projects$Locations$Restoreplans$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Restoreplans$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Restoreplans$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6720,8 +6776,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6773,11 +6829,11 @@ export namespace gkebackup_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Restoreplans$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6806,7 +6862,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6862,11 +6921,11 @@ export namespace gkebackup_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Restoreplans$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Restoreplans$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Restoreplans$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6901,8 +6960,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7083,11 +7142,11 @@ export namespace gkebackup_v1 { create( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7122,8 +7181,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7179,11 +7238,11 @@ export namespace gkebackup_v1 { delete( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7218,8 +7277,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7272,11 +7331,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7305,7 +7364,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7358,11 +7420,11 @@ export namespace gkebackup_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7391,7 +7453,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7447,11 +7512,11 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$Restoreplans$Restores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Restoreplans$Restores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7484,8 +7549,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7541,11 +7606,11 @@ export namespace gkebackup_v1 { patch( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7580,8 +7645,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7634,11 +7699,11 @@ export namespace gkebackup_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7667,7 +7732,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7723,11 +7791,11 @@ export namespace gkebackup_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7762,8 +7830,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7939,11 +8007,11 @@ export namespace gkebackup_v1 { get( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7972,7 +8040,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8025,11 +8096,11 @@ export namespace gkebackup_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8058,7 +8129,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8114,11 +8188,11 @@ export namespace gkebackup_v1 { list( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8153,8 +8227,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8210,11 +8284,11 @@ export namespace gkebackup_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8243,7 +8317,10 @@ export namespace gkebackup_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8299,11 +8376,11 @@ export namespace gkebackup_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8338,8 +8415,8 @@ export namespace gkebackup_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Restoreplans$Restores$Volumerestores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gkehub/index.ts b/src/apis/gkehub/index.ts index fe43c7fc9ff..160b5f97bd9 100644 --- a/src/apis/gkehub/index.ts +++ b/src/apis/gkehub/index.ts @@ -101,7 +101,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/gkehub/package.json b/src/apis/gkehub/package.json index f45d7d1359e..971ac729722 100644 --- a/src/apis/gkehub/package.json +++ b/src/apis/gkehub/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/gkehub/v1.ts b/src/apis/gkehub/v1.ts index 6c40fbba083..23fa066c783 100644 --- a/src/apis/gkehub/v1.ts +++ b/src/apis/gkehub/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3084,11 +3084,11 @@ export namespace gkehub_v1 { list( params: Params$Resource$Organizations$Locations$Fleets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Fleets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Fleets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3119,8 +3119,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Fleets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3221,11 +3221,11 @@ export namespace gkehub_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3254,7 +3254,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3306,11 +3309,11 @@ export namespace gkehub_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3343,8 +3346,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3437,11 +3440,11 @@ export namespace gkehub_v1 { create( params: Params$Resource$Projects$Locations$Features$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Features$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Features$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3470,7 +3473,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3525,11 +3531,11 @@ export namespace gkehub_v1 { delete( params: Params$Resource$Projects$Locations$Features$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Features$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Features$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3558,7 +3564,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3610,11 +3619,11 @@ export namespace gkehub_v1 { get( params: Params$Resource$Projects$Locations$Features$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Features$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Features$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3643,7 +3652,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3695,11 +3707,11 @@ export namespace gkehub_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Features$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Features$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Features$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3728,7 +3740,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3783,11 +3798,11 @@ export namespace gkehub_v1 { list( params: Params$Resource$Projects$Locations$Features$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Features$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Features$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3820,8 +3835,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3876,11 +3891,11 @@ export namespace gkehub_v1 { patch( params: Params$Resource$Projects$Locations$Features$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Features$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Features$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3909,7 +3924,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3961,11 +3979,11 @@ export namespace gkehub_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Features$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Features$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Features$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3994,7 +4012,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4049,11 +4070,11 @@ export namespace gkehub_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Features$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Features$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Features$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4088,8 +4109,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4281,11 +4302,11 @@ export namespace gkehub_v1 { create( params: Params$Resource$Projects$Locations$Fleets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Fleets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Fleets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4314,7 +4335,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4369,11 +4393,11 @@ export namespace gkehub_v1 { delete( params: Params$Resource$Projects$Locations$Fleets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Fleets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Fleets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4402,7 +4426,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4454,11 +4481,11 @@ export namespace gkehub_v1 { get( params: Params$Resource$Projects$Locations$Fleets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Fleets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Fleets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4487,7 +4514,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4539,11 +4569,11 @@ export namespace gkehub_v1 { list( params: Params$Resource$Projects$Locations$Fleets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Fleets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Fleets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4574,8 +4604,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4630,11 +4660,11 @@ export namespace gkehub_v1 { patch( params: Params$Resource$Projects$Locations$Fleets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Fleets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Fleets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4663,7 +4693,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4789,11 +4822,11 @@ export namespace gkehub_v1 { create( params: Params$Resource$Projects$Locations$Memberships$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4822,7 +4855,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4877,11 +4913,11 @@ export namespace gkehub_v1 { delete( params: Params$Resource$Projects$Locations$Memberships$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4910,7 +4946,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4962,11 +5001,11 @@ export namespace gkehub_v1 { generateConnectManifest( params: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateConnectManifest( params?: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateConnectManifest( params: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options: StreamMethodOptions | BodyResponseCallback, @@ -5001,8 +5040,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5060,11 +5099,11 @@ export namespace gkehub_v1 { get( params: Params$Resource$Projects$Locations$Memberships$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5093,7 +5132,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5145,11 +5187,11 @@ export namespace gkehub_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5178,7 +5220,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5234,11 +5279,11 @@ export namespace gkehub_v1 { list( params: Params$Resource$Projects$Locations$Memberships$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Memberships$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5271,8 +5316,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5327,11 +5372,11 @@ export namespace gkehub_v1 { patch( params: Params$Resource$Projects$Locations$Memberships$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5360,7 +5405,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5412,11 +5460,11 @@ export namespace gkehub_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5445,7 +5493,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5501,11 +5552,11 @@ export namespace gkehub_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5540,8 +5591,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5756,11 +5807,11 @@ export namespace gkehub_v1 { create( params: Params$Resource$Projects$Locations$Memberships$Bindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Bindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5789,7 +5840,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5845,11 +5899,11 @@ export namespace gkehub_v1 { delete( params: Params$Resource$Projects$Locations$Memberships$Bindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Bindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5878,7 +5932,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5931,11 +5988,11 @@ export namespace gkehub_v1 { get( params: Params$Resource$Projects$Locations$Memberships$Bindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Bindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5966,8 +6023,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6020,11 +6077,11 @@ export namespace gkehub_v1 { list( params: Params$Resource$Projects$Locations$Memberships$Bindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$Bindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Memberships$Bindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6059,8 +6116,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6118,11 +6175,11 @@ export namespace gkehub_v1 { patch( params: Params$Resource$Projects$Locations$Memberships$Bindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Bindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6151,7 +6208,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6277,11 +6337,11 @@ export namespace gkehub_v1 { create( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6310,7 +6370,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6366,11 +6429,11 @@ export namespace gkehub_v1 { delete( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6399,7 +6462,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6452,11 +6518,13 @@ export namespace gkehub_v1 { generateMembershipRBACRoleBindingYAML( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateMembershipRBACRoleBindingYAML( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateMembershipRBACRoleBindingYAML( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, options: StreamMethodOptions | BodyResponseCallback, @@ -6491,8 +6559,10 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6550,11 +6620,11 @@ export namespace gkehub_v1 { get( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6583,7 +6653,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6636,11 +6709,13 @@ export namespace gkehub_v1 { list( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6675,8 +6750,10 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6734,11 +6811,11 @@ export namespace gkehub_v1 { patch( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6767,7 +6844,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6905,11 +6985,11 @@ export namespace gkehub_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6938,7 +7018,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6990,11 +7073,11 @@ export namespace gkehub_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7023,7 +7106,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7075,11 +7161,11 @@ export namespace gkehub_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7108,7 +7194,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7160,11 +7249,11 @@ export namespace gkehub_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7197,8 +7286,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7313,11 +7402,11 @@ export namespace gkehub_v1 { create( params: Params$Resource$Projects$Locations$Scopes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Scopes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Scopes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7346,7 +7435,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7401,11 +7493,11 @@ export namespace gkehub_v1 { delete( params: Params$Resource$Projects$Locations$Scopes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Scopes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Scopes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7434,7 +7526,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7486,11 +7581,11 @@ export namespace gkehub_v1 { get( params: Params$Resource$Projects$Locations$Scopes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Scopes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Scopes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7519,7 +7614,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7571,11 +7669,11 @@ export namespace gkehub_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Scopes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7604,7 +7702,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7659,11 +7760,11 @@ export namespace gkehub_v1 { list( params: Params$Resource$Projects$Locations$Scopes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Scopes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Scopes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7694,8 +7795,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7750,11 +7851,11 @@ export namespace gkehub_v1 { listMemberships( params: Params$Resource$Projects$Locations$Scopes$Listmemberships, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listMemberships( params?: Params$Resource$Projects$Locations$Scopes$Listmemberships, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listMemberships( params: Params$Resource$Projects$Locations$Scopes$Listmemberships, options: StreamMethodOptions | BodyResponseCallback, @@ -7789,8 +7890,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Listmemberships; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7848,11 +7949,11 @@ export namespace gkehub_v1 { listPermitted( params: Params$Resource$Projects$Locations$Scopes$Listpermitted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPermitted( params?: Params$Resource$Projects$Locations$Scopes$Listpermitted, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listPermitted( params: Params$Resource$Projects$Locations$Scopes$Listpermitted, options: StreamMethodOptions | BodyResponseCallback, @@ -7887,8 +7988,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Listpermitted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7943,11 +8044,11 @@ export namespace gkehub_v1 { patch( params: Params$Resource$Projects$Locations$Scopes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Scopes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Scopes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7976,7 +8077,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8028,11 +8132,11 @@ export namespace gkehub_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Scopes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8061,7 +8165,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8116,11 +8223,11 @@ export namespace gkehub_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Scopes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Scopes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Scopes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8155,8 +8262,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8350,11 +8457,11 @@ export namespace gkehub_v1 { create( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8383,7 +8490,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8439,11 +8549,11 @@ export namespace gkehub_v1 { delete( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8472,7 +8582,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8525,11 +8638,11 @@ export namespace gkehub_v1 { get( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8558,7 +8671,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8610,11 +8726,11 @@ export namespace gkehub_v1 { list( params: Params$Resource$Projects$Locations$Scopes$Namespaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Scopes$Namespaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8649,8 +8765,8 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8706,11 +8822,11 @@ export namespace gkehub_v1 { patch( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8739,7 +8855,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8861,11 +8980,11 @@ export namespace gkehub_v1 { create( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8894,7 +9013,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8950,11 +9072,11 @@ export namespace gkehub_v1 { delete( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8983,7 +9105,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9036,11 +9161,11 @@ export namespace gkehub_v1 { get( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9069,7 +9194,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9122,11 +9250,13 @@ export namespace gkehub_v1 { list( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9161,8 +9291,10 @@ export namespace gkehub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9220,11 +9352,11 @@ export namespace gkehub_v1 { patch( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9253,7 +9385,10 @@ export namespace gkehub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gkehub/v1alpha.ts b/src/apis/gkehub/v1alpha.ts index 494cc69466b..099ae2c76ef 100644 --- a/src/apis/gkehub/v1alpha.ts +++ b/src/apis/gkehub/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3552,11 +3552,11 @@ export namespace gkehub_v1alpha { list( params: Params$Resource$Organizations$Locations$Fleets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Fleets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Fleets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3587,8 +3587,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Fleets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3689,11 +3689,11 @@ export namespace gkehub_v1alpha { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3722,7 +3722,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3774,11 +3777,11 @@ export namespace gkehub_v1alpha { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3811,8 +3814,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3905,11 +3908,11 @@ export namespace gkehub_v1alpha { create( params: Params$Resource$Projects$Locations$Features$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Features$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Features$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3938,7 +3941,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3993,11 +3999,11 @@ export namespace gkehub_v1alpha { delete( params: Params$Resource$Projects$Locations$Features$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Features$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Features$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4026,7 +4032,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4078,11 +4087,11 @@ export namespace gkehub_v1alpha { get( params: Params$Resource$Projects$Locations$Features$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Features$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Features$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4111,7 +4120,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4163,11 +4175,11 @@ export namespace gkehub_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Features$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Features$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Features$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4196,7 +4208,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4251,11 +4266,11 @@ export namespace gkehub_v1alpha { list( params: Params$Resource$Projects$Locations$Features$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Features$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Features$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4288,8 +4303,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4344,11 +4359,11 @@ export namespace gkehub_v1alpha { patch( params: Params$Resource$Projects$Locations$Features$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Features$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Features$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4377,7 +4392,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4429,11 +4447,11 @@ export namespace gkehub_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Features$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Features$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Features$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4462,7 +4480,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4517,11 +4538,11 @@ export namespace gkehub_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Features$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Features$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Features$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4556,8 +4577,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4749,11 +4770,11 @@ export namespace gkehub_v1alpha { create( params: Params$Resource$Projects$Locations$Fleets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Fleets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Fleets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4782,7 +4803,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4837,11 +4861,11 @@ export namespace gkehub_v1alpha { delete( params: Params$Resource$Projects$Locations$Fleets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Fleets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Fleets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4870,7 +4894,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4922,11 +4949,11 @@ export namespace gkehub_v1alpha { get( params: Params$Resource$Projects$Locations$Fleets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Fleets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Fleets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4955,7 +4982,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5007,11 +5037,11 @@ export namespace gkehub_v1alpha { list( params: Params$Resource$Projects$Locations$Fleets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Fleets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Fleets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5042,8 +5072,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5098,11 +5128,11 @@ export namespace gkehub_v1alpha { patch( params: Params$Resource$Projects$Locations$Fleets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Fleets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Fleets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5131,7 +5161,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5257,11 +5290,11 @@ export namespace gkehub_v1alpha { create( params: Params$Resource$Projects$Locations$Memberships$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5290,7 +5323,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5345,11 +5381,11 @@ export namespace gkehub_v1alpha { delete( params: Params$Resource$Projects$Locations$Memberships$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5378,7 +5414,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5430,11 +5469,11 @@ export namespace gkehub_v1alpha { generateConnectManifest( params: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateConnectManifest( params?: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateConnectManifest( params: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options: StreamMethodOptions | BodyResponseCallback, @@ -5469,8 +5508,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5528,11 +5567,13 @@ export namespace gkehub_v1alpha { generateExclusivityManifest( params: Params$Resource$Projects$Locations$Memberships$Generateexclusivitymanifest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateExclusivityManifest( params?: Params$Resource$Projects$Locations$Memberships$Generateexclusivitymanifest, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateExclusivityManifest( params: Params$Resource$Projects$Locations$Memberships$Generateexclusivitymanifest, options: StreamMethodOptions | BodyResponseCallback, @@ -5567,8 +5608,10 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Generateexclusivitymanifest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5625,11 +5668,11 @@ export namespace gkehub_v1alpha { get( params: Params$Resource$Projects$Locations$Memberships$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5658,7 +5701,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5710,11 +5756,11 @@ export namespace gkehub_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5743,7 +5789,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5799,11 +5848,11 @@ export namespace gkehub_v1alpha { list( params: Params$Resource$Projects$Locations$Memberships$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Memberships$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5836,8 +5885,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5892,11 +5941,13 @@ export namespace gkehub_v1alpha { listAdmin( params: Params$Resource$Projects$Locations$Memberships$Listadmin, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAdmin( params?: Params$Resource$Projects$Locations$Memberships$Listadmin, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAdmin( params: Params$Resource$Projects$Locations$Memberships$Listadmin, options: StreamMethodOptions | BodyResponseCallback, @@ -5931,8 +5982,10 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Listadmin; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5989,11 +6042,11 @@ export namespace gkehub_v1alpha { patch( params: Params$Resource$Projects$Locations$Memberships$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6022,7 +6075,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6074,11 +6130,11 @@ export namespace gkehub_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6107,7 +6163,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6163,11 +6222,11 @@ export namespace gkehub_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6202,8 +6261,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6259,11 +6318,13 @@ export namespace gkehub_v1alpha { validateCreate( params: Params$Resource$Projects$Locations$Memberships$Validatecreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateCreate( params?: Params$Resource$Projects$Locations$Memberships$Validatecreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validateCreate( params: Params$Resource$Projects$Locations$Memberships$Validatecreate, options: StreamMethodOptions | BodyResponseCallback, @@ -6298,8 +6359,10 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Validatecreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6356,11 +6419,11 @@ export namespace gkehub_v1alpha { validateExclusivity( params: Params$Resource$Projects$Locations$Memberships$Validateexclusivity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateExclusivity( params?: Params$Resource$Projects$Locations$Memberships$Validateexclusivity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validateExclusivity( params: Params$Resource$Projects$Locations$Memberships$Validateexclusivity, options: StreamMethodOptions | BodyResponseCallback, @@ -6395,8 +6458,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Validateexclusivity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6675,11 +6738,11 @@ export namespace gkehub_v1alpha { create( params: Params$Resource$Projects$Locations$Memberships$Bindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Bindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6708,7 +6771,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6764,11 +6830,11 @@ export namespace gkehub_v1alpha { delete( params: Params$Resource$Projects$Locations$Memberships$Bindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Bindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6797,7 +6863,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6850,11 +6919,11 @@ export namespace gkehub_v1alpha { get( params: Params$Resource$Projects$Locations$Memberships$Bindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Bindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6885,8 +6954,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6939,11 +7008,11 @@ export namespace gkehub_v1alpha { list( params: Params$Resource$Projects$Locations$Memberships$Bindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$Bindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Memberships$Bindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6978,8 +7047,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7037,11 +7106,11 @@ export namespace gkehub_v1alpha { patch( params: Params$Resource$Projects$Locations$Memberships$Bindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Bindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7070,7 +7139,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7196,11 +7268,11 @@ export namespace gkehub_v1alpha { create( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7229,7 +7301,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7285,11 +7360,11 @@ export namespace gkehub_v1alpha { delete( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7318,7 +7393,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7371,11 +7449,13 @@ export namespace gkehub_v1alpha { generateMembershipRBACRoleBindingYAML( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateMembershipRBACRoleBindingYAML( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateMembershipRBACRoleBindingYAML( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, options: StreamMethodOptions | BodyResponseCallback, @@ -7410,8 +7490,10 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7469,11 +7551,11 @@ export namespace gkehub_v1alpha { get( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7502,7 +7584,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7555,11 +7640,13 @@ export namespace gkehub_v1alpha { list( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7594,8 +7681,10 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7653,11 +7742,11 @@ export namespace gkehub_v1alpha { patch( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7686,7 +7775,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7824,11 +7916,11 @@ export namespace gkehub_v1alpha { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7857,7 +7949,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7912,11 +8007,11 @@ export namespace gkehub_v1alpha { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7945,7 +8040,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7997,11 +8095,11 @@ export namespace gkehub_v1alpha { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8030,7 +8128,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8082,11 +8183,11 @@ export namespace gkehub_v1alpha { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8119,8 +8220,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8235,11 +8336,11 @@ export namespace gkehub_v1alpha { create( params: Params$Resource$Projects$Locations$Scopes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Scopes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Scopes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8268,7 +8369,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8323,11 +8427,11 @@ export namespace gkehub_v1alpha { delete( params: Params$Resource$Projects$Locations$Scopes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Scopes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Scopes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8356,7 +8460,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8408,11 +8515,11 @@ export namespace gkehub_v1alpha { get( params: Params$Resource$Projects$Locations$Scopes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Scopes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Scopes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8441,7 +8548,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8493,11 +8603,11 @@ export namespace gkehub_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Scopes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8526,7 +8636,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8581,11 +8694,11 @@ export namespace gkehub_v1alpha { list( params: Params$Resource$Projects$Locations$Scopes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Scopes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Scopes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8616,8 +8729,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8672,11 +8785,11 @@ export namespace gkehub_v1alpha { listMemberships( params: Params$Resource$Projects$Locations$Scopes$Listmemberships, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listMemberships( params?: Params$Resource$Projects$Locations$Scopes$Listmemberships, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listMemberships( params: Params$Resource$Projects$Locations$Scopes$Listmemberships, options: StreamMethodOptions | BodyResponseCallback, @@ -8711,8 +8824,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Listmemberships; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8770,11 +8883,11 @@ export namespace gkehub_v1alpha { listPermitted( params: Params$Resource$Projects$Locations$Scopes$Listpermitted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPermitted( params?: Params$Resource$Projects$Locations$Scopes$Listpermitted, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listPermitted( params: Params$Resource$Projects$Locations$Scopes$Listpermitted, options: StreamMethodOptions | BodyResponseCallback, @@ -8809,8 +8922,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Listpermitted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8865,11 +8978,11 @@ export namespace gkehub_v1alpha { patch( params: Params$Resource$Projects$Locations$Scopes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Scopes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Scopes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8898,7 +9011,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8950,11 +9066,11 @@ export namespace gkehub_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Scopes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8983,7 +9099,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9038,11 +9157,11 @@ export namespace gkehub_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Scopes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Scopes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Scopes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9077,8 +9196,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9272,11 +9391,11 @@ export namespace gkehub_v1alpha { create( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9305,7 +9424,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9361,11 +9483,11 @@ export namespace gkehub_v1alpha { delete( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9394,7 +9516,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9447,11 +9572,11 @@ export namespace gkehub_v1alpha { get( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9480,7 +9605,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9532,11 +9660,11 @@ export namespace gkehub_v1alpha { list( params: Params$Resource$Projects$Locations$Scopes$Namespaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Scopes$Namespaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9571,8 +9699,8 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9628,11 +9756,11 @@ export namespace gkehub_v1alpha { patch( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9661,7 +9789,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9783,11 +9914,11 @@ export namespace gkehub_v1alpha { create( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9816,7 +9947,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9872,11 +10006,11 @@ export namespace gkehub_v1alpha { delete( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9905,7 +10039,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9958,11 +10095,11 @@ export namespace gkehub_v1alpha { get( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9991,7 +10128,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10044,11 +10184,13 @@ export namespace gkehub_v1alpha { list( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10083,8 +10225,10 @@ export namespace gkehub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10142,11 +10286,11 @@ export namespace gkehub_v1alpha { patch( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10175,7 +10319,10 @@ export namespace gkehub_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gkehub/v1alpha2.ts b/src/apis/gkehub/v1alpha2.ts index e205f27e2ba..13677c10647 100644 --- a/src/apis/gkehub/v1alpha2.ts +++ b/src/apis/gkehub/v1alpha2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -774,11 +774,11 @@ export namespace gkehub_v1alpha2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -807,7 +807,7 @@ export namespace gkehub_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -858,11 +858,11 @@ export namespace gkehub_v1alpha2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -895,8 +895,8 @@ export namespace gkehub_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -995,11 +995,11 @@ export namespace gkehub_v1alpha2 { initializeHub( params: Params$Resource$Projects$Locations$Global$Memberships$Initializehub, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initializeHub( params?: Params$Resource$Projects$Locations$Global$Memberships$Initializehub, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initializeHub( params: Params$Resource$Projects$Locations$Global$Memberships$Initializehub, options: StreamMethodOptions | BodyResponseCallback, @@ -1034,8 +1034,8 @@ export namespace gkehub_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Memberships$Initializehub; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1110,11 +1110,11 @@ export namespace gkehub_v1alpha2 { create( params: Params$Resource$Projects$Locations$Memberships$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1143,7 +1143,7 @@ export namespace gkehub_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1197,11 +1197,11 @@ export namespace gkehub_v1alpha2 { delete( params: Params$Resource$Projects$Locations$Memberships$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1230,7 +1230,7 @@ export namespace gkehub_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1281,11 +1281,11 @@ export namespace gkehub_v1alpha2 { generateConnectManifest( params: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateConnectManifest( params?: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateConnectManifest( params: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options: StreamMethodOptions | BodyResponseCallback, @@ -1320,8 +1320,8 @@ export namespace gkehub_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1377,11 +1377,11 @@ export namespace gkehub_v1alpha2 { get( params: Params$Resource$Projects$Locations$Memberships$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1410,7 +1410,7 @@ export namespace gkehub_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1461,11 +1461,11 @@ export namespace gkehub_v1alpha2 { getIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1494,7 +1494,7 @@ export namespace gkehub_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1549,11 +1549,11 @@ export namespace gkehub_v1alpha2 { list( params: Params$Resource$Projects$Locations$Memberships$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Memberships$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1586,8 +1586,8 @@ export namespace gkehub_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1641,11 +1641,11 @@ export namespace gkehub_v1alpha2 { patch( params: Params$Resource$Projects$Locations$Memberships$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1674,7 +1674,7 @@ export namespace gkehub_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1725,11 +1725,11 @@ export namespace gkehub_v1alpha2 { setIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1758,7 +1758,7 @@ export namespace gkehub_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1813,11 +1813,11 @@ export namespace gkehub_v1alpha2 { testIamPermissions( params: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1852,8 +1852,8 @@ export namespace gkehub_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2055,11 +2055,11 @@ export namespace gkehub_v1alpha2 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2088,7 +2088,7 @@ export namespace gkehub_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2142,11 +2142,11 @@ export namespace gkehub_v1alpha2 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2175,7 +2175,7 @@ export namespace gkehub_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2226,11 +2226,11 @@ export namespace gkehub_v1alpha2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2259,7 +2259,7 @@ export namespace gkehub_v1alpha2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2310,11 +2310,11 @@ export namespace gkehub_v1alpha2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2347,8 +2347,8 @@ export namespace gkehub_v1alpha2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gkehub/v1beta.ts b/src/apis/gkehub/v1beta.ts index 2ec82f10a3a..92ec3b9f20e 100644 --- a/src/apis/gkehub/v1beta.ts +++ b/src/apis/gkehub/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3161,11 +3161,11 @@ export namespace gkehub_v1beta { list( params: Params$Resource$Organizations$Locations$Fleets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Fleets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Fleets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3196,8 +3196,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Fleets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3298,11 +3298,11 @@ export namespace gkehub_v1beta { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3331,7 +3331,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3383,11 +3386,11 @@ export namespace gkehub_v1beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3420,8 +3423,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3514,11 +3517,11 @@ export namespace gkehub_v1beta { create( params: Params$Resource$Projects$Locations$Features$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Features$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Features$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3547,7 +3550,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3602,11 +3608,11 @@ export namespace gkehub_v1beta { delete( params: Params$Resource$Projects$Locations$Features$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Features$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Features$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3635,7 +3641,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3687,11 +3696,11 @@ export namespace gkehub_v1beta { get( params: Params$Resource$Projects$Locations$Features$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Features$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Features$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3720,7 +3729,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3772,11 +3784,11 @@ export namespace gkehub_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Features$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Features$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Features$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3805,7 +3817,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3860,11 +3875,11 @@ export namespace gkehub_v1beta { list( params: Params$Resource$Projects$Locations$Features$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Features$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Features$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3897,8 +3912,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3953,11 +3968,11 @@ export namespace gkehub_v1beta { patch( params: Params$Resource$Projects$Locations$Features$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Features$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Features$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3986,7 +4001,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4038,11 +4056,11 @@ export namespace gkehub_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Features$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Features$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Features$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4071,7 +4089,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4126,11 +4147,11 @@ export namespace gkehub_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Features$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Features$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Features$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4165,8 +4186,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Features$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4358,11 +4379,11 @@ export namespace gkehub_v1beta { create( params: Params$Resource$Projects$Locations$Fleets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Fleets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Fleets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4391,7 +4412,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4446,11 +4470,11 @@ export namespace gkehub_v1beta { delete( params: Params$Resource$Projects$Locations$Fleets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Fleets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Fleets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4479,7 +4503,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4531,11 +4558,11 @@ export namespace gkehub_v1beta { get( params: Params$Resource$Projects$Locations$Fleets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Fleets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Fleets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4564,7 +4591,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4616,11 +4646,11 @@ export namespace gkehub_v1beta { list( params: Params$Resource$Projects$Locations$Fleets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Fleets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Fleets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4651,8 +4681,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4707,11 +4737,11 @@ export namespace gkehub_v1beta { patch( params: Params$Resource$Projects$Locations$Fleets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Fleets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Fleets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4740,7 +4770,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Fleets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4866,11 +4899,11 @@ export namespace gkehub_v1beta { create( params: Params$Resource$Projects$Locations$Memberships$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4899,7 +4932,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4954,11 +4990,11 @@ export namespace gkehub_v1beta { delete( params: Params$Resource$Projects$Locations$Memberships$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4987,7 +5023,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5039,11 +5078,11 @@ export namespace gkehub_v1beta { generateConnectManifest( params: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateConnectManifest( params?: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateConnectManifest( params: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options: StreamMethodOptions | BodyResponseCallback, @@ -5078,8 +5117,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5137,11 +5176,11 @@ export namespace gkehub_v1beta { get( params: Params$Resource$Projects$Locations$Memberships$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5170,7 +5209,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5222,11 +5264,11 @@ export namespace gkehub_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5255,7 +5297,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5311,11 +5356,11 @@ export namespace gkehub_v1beta { list( params: Params$Resource$Projects$Locations$Memberships$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Memberships$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5348,8 +5393,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5404,11 +5449,11 @@ export namespace gkehub_v1beta { patch( params: Params$Resource$Projects$Locations$Memberships$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5437,7 +5482,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5489,11 +5537,11 @@ export namespace gkehub_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5522,7 +5570,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5578,11 +5629,11 @@ export namespace gkehub_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5617,8 +5668,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5833,11 +5884,11 @@ export namespace gkehub_v1beta { create( params: Params$Resource$Projects$Locations$Memberships$Bindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Bindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5866,7 +5917,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5922,11 +5976,11 @@ export namespace gkehub_v1beta { delete( params: Params$Resource$Projects$Locations$Memberships$Bindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Bindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5955,7 +6009,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6008,11 +6065,11 @@ export namespace gkehub_v1beta { get( params: Params$Resource$Projects$Locations$Memberships$Bindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Bindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6043,8 +6100,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6097,11 +6154,11 @@ export namespace gkehub_v1beta { list( params: Params$Resource$Projects$Locations$Memberships$Bindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$Bindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Memberships$Bindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6136,8 +6193,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6195,11 +6252,11 @@ export namespace gkehub_v1beta { patch( params: Params$Resource$Projects$Locations$Memberships$Bindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Bindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Bindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6228,7 +6285,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Bindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6354,11 +6414,11 @@ export namespace gkehub_v1beta { create( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6387,7 +6447,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6443,11 +6506,11 @@ export namespace gkehub_v1beta { delete( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6476,7 +6539,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6529,11 +6595,13 @@ export namespace gkehub_v1beta { generateMembershipRBACRoleBindingYAML( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateMembershipRBACRoleBindingYAML( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateMembershipRBACRoleBindingYAML( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, options: StreamMethodOptions | BodyResponseCallback, @@ -6568,8 +6636,10 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6627,11 +6697,11 @@ export namespace gkehub_v1beta { get( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6660,7 +6730,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6713,11 +6786,13 @@ export namespace gkehub_v1beta { list( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6752,8 +6827,10 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6811,11 +6888,11 @@ export namespace gkehub_v1beta { patch( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6844,7 +6921,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6982,11 +7062,11 @@ export namespace gkehub_v1beta { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7015,7 +7095,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7070,11 +7153,11 @@ export namespace gkehub_v1beta { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7103,7 +7186,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7155,11 +7241,11 @@ export namespace gkehub_v1beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7188,7 +7274,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7240,11 +7329,11 @@ export namespace gkehub_v1beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7277,8 +7366,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7393,11 +7482,11 @@ export namespace gkehub_v1beta { create( params: Params$Resource$Projects$Locations$Scopes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Scopes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Scopes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7426,7 +7515,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7481,11 +7573,11 @@ export namespace gkehub_v1beta { delete( params: Params$Resource$Projects$Locations$Scopes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Scopes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Scopes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7514,7 +7606,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7566,11 +7661,11 @@ export namespace gkehub_v1beta { get( params: Params$Resource$Projects$Locations$Scopes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Scopes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Scopes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7599,7 +7694,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7651,11 +7749,11 @@ export namespace gkehub_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Scopes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7684,7 +7782,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7739,11 +7840,11 @@ export namespace gkehub_v1beta { list( params: Params$Resource$Projects$Locations$Scopes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Scopes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Scopes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7774,8 +7875,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7830,11 +7931,11 @@ export namespace gkehub_v1beta { listMemberships( params: Params$Resource$Projects$Locations$Scopes$Listmemberships, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listMemberships( params?: Params$Resource$Projects$Locations$Scopes$Listmemberships, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listMemberships( params: Params$Resource$Projects$Locations$Scopes$Listmemberships, options: StreamMethodOptions | BodyResponseCallback, @@ -7869,8 +7970,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Listmemberships; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7928,11 +8029,11 @@ export namespace gkehub_v1beta { listPermitted( params: Params$Resource$Projects$Locations$Scopes$Listpermitted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPermitted( params?: Params$Resource$Projects$Locations$Scopes$Listpermitted, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listPermitted( params: Params$Resource$Projects$Locations$Scopes$Listpermitted, options: StreamMethodOptions | BodyResponseCallback, @@ -7967,8 +8068,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Listpermitted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8023,11 +8124,11 @@ export namespace gkehub_v1beta { patch( params: Params$Resource$Projects$Locations$Scopes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Scopes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Scopes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8056,7 +8157,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8108,11 +8212,11 @@ export namespace gkehub_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Scopes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Scopes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8141,7 +8245,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8196,11 +8303,11 @@ export namespace gkehub_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Scopes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Scopes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Scopes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8235,8 +8342,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8430,11 +8537,11 @@ export namespace gkehub_v1beta { create( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8463,7 +8570,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8519,11 +8629,11 @@ export namespace gkehub_v1beta { delete( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8552,7 +8662,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8605,11 +8718,11 @@ export namespace gkehub_v1beta { get( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8638,7 +8751,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8690,11 +8806,11 @@ export namespace gkehub_v1beta { list( params: Params$Resource$Projects$Locations$Scopes$Namespaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Scopes$Namespaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8729,8 +8845,8 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8786,11 +8902,11 @@ export namespace gkehub_v1beta { patch( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Scopes$Namespaces$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Scopes$Namespaces$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8819,7 +8935,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Namespaces$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8941,11 +9060,11 @@ export namespace gkehub_v1beta { create( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8974,7 +9093,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9030,11 +9152,11 @@ export namespace gkehub_v1beta { delete( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9063,7 +9185,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9116,11 +9241,11 @@ export namespace gkehub_v1beta { get( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9149,7 +9274,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9202,11 +9330,13 @@ export namespace gkehub_v1beta { list( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9241,8 +9371,10 @@ export namespace gkehub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9300,11 +9432,11 @@ export namespace gkehub_v1beta { patch( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9333,7 +9465,10 @@ export namespace gkehub_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Rbacrolebindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gkehub/v1beta1.ts b/src/apis/gkehub/v1beta1.ts index a28b5f1a388..e4c295c3de2 100644 --- a/src/apis/gkehub/v1beta1.ts +++ b/src/apis/gkehub/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -793,11 +793,11 @@ export namespace gkehub_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -826,7 +826,10 @@ export namespace gkehub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -878,11 +881,11 @@ export namespace gkehub_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -915,8 +918,8 @@ export namespace gkehub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1009,11 +1012,11 @@ export namespace gkehub_v1beta1 { create( params: Params$Resource$Projects$Locations$Memberships$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1042,7 +1045,10 @@ export namespace gkehub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1097,11 +1103,11 @@ export namespace gkehub_v1beta1 { delete( params: Params$Resource$Projects$Locations$Memberships$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1130,7 +1136,10 @@ export namespace gkehub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1182,11 +1191,11 @@ export namespace gkehub_v1beta1 { generateConnectManifest( params: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateConnectManifest( params?: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateConnectManifest( params: Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest, options: StreamMethodOptions | BodyResponseCallback, @@ -1221,8 +1230,8 @@ export namespace gkehub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1280,11 +1289,13 @@ export namespace gkehub_v1beta1 { generateExclusivityManifest( params: Params$Resource$Projects$Locations$Memberships$Generateexclusivitymanifest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateExclusivityManifest( params?: Params$Resource$Projects$Locations$Memberships$Generateexclusivitymanifest, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateExclusivityManifest( params: Params$Resource$Projects$Locations$Memberships$Generateexclusivitymanifest, options: StreamMethodOptions | BodyResponseCallback, @@ -1319,8 +1330,10 @@ export namespace gkehub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Generateexclusivitymanifest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1377,11 +1390,11 @@ export namespace gkehub_v1beta1 { get( params: Params$Resource$Projects$Locations$Memberships$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1410,7 +1423,10 @@ export namespace gkehub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1462,11 +1478,11 @@ export namespace gkehub_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1495,7 +1511,10 @@ export namespace gkehub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1551,11 +1570,11 @@ export namespace gkehub_v1beta1 { list( params: Params$Resource$Projects$Locations$Memberships$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Memberships$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1588,8 +1607,8 @@ export namespace gkehub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1644,11 +1663,11 @@ export namespace gkehub_v1beta1 { patch( params: Params$Resource$Projects$Locations$Memberships$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1677,7 +1696,10 @@ export namespace gkehub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1729,11 +1751,11 @@ export namespace gkehub_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Memberships$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1762,7 +1784,10 @@ export namespace gkehub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1818,11 +1843,11 @@ export namespace gkehub_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Memberships$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1857,8 +1882,8 @@ export namespace gkehub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1914,11 +1939,11 @@ export namespace gkehub_v1beta1 { validateExclusivity( params: Params$Resource$Projects$Locations$Memberships$Validateexclusivity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateExclusivity( params?: Params$Resource$Projects$Locations$Memberships$Validateexclusivity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validateExclusivity( params: Params$Resource$Projects$Locations$Memberships$Validateexclusivity, options: StreamMethodOptions | BodyResponseCallback, @@ -1953,8 +1978,8 @@ export namespace gkehub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Validateexclusivity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2202,11 +2227,11 @@ export namespace gkehub_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2235,7 +2260,10 @@ export namespace gkehub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2290,11 +2318,11 @@ export namespace gkehub_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2323,7 +2351,10 @@ export namespace gkehub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2375,11 +2406,11 @@ export namespace gkehub_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2408,7 +2439,10 @@ export namespace gkehub_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2460,11 +2494,11 @@ export namespace gkehub_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2497,8 +2531,8 @@ export namespace gkehub_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gkehub/v2.ts b/src/apis/gkehub/v2.ts index 186f2d6b49b..0be3d5a8db5 100644 --- a/src/apis/gkehub/v2.ts +++ b/src/apis/gkehub/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1983,11 +1983,11 @@ export namespace gkehub_v2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2016,7 +2016,10 @@ export namespace gkehub_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2068,11 +2071,11 @@ export namespace gkehub_v2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2105,8 +2108,8 @@ export namespace gkehub_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2210,11 +2213,11 @@ export namespace gkehub_v2 { create( params: Params$Resource$Projects$Locations$Memberships$Features$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Features$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Features$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2243,7 +2246,10 @@ export namespace gkehub_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2299,11 +2305,11 @@ export namespace gkehub_v2 { delete( params: Params$Resource$Projects$Locations$Memberships$Features$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Features$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Features$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2332,7 +2338,10 @@ export namespace gkehub_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2385,11 +2394,11 @@ export namespace gkehub_v2 { get( params: Params$Resource$Projects$Locations$Memberships$Features$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Features$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Features$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2420,8 +2429,8 @@ export namespace gkehub_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2474,11 +2483,11 @@ export namespace gkehub_v2 { list( params: Params$Resource$Projects$Locations$Memberships$Features$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$Features$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Memberships$Features$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2513,8 +2522,8 @@ export namespace gkehub_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2572,11 +2581,11 @@ export namespace gkehub_v2 { patch( params: Params$Resource$Projects$Locations$Memberships$Features$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Features$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Features$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2605,7 +2614,10 @@ export namespace gkehub_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2751,11 +2763,11 @@ export namespace gkehub_v2 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2784,7 +2796,10 @@ export namespace gkehub_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2836,11 +2851,11 @@ export namespace gkehub_v2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2869,7 +2884,10 @@ export namespace gkehub_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2921,11 +2939,11 @@ export namespace gkehub_v2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2958,8 +2976,8 @@ export namespace gkehub_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gkehub/v2alpha.ts b/src/apis/gkehub/v2alpha.ts index 79793b60aae..481314fe70d 100644 --- a/src/apis/gkehub/v2alpha.ts +++ b/src/apis/gkehub/v2alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1983,11 +1983,11 @@ export namespace gkehub_v2alpha { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2016,7 +2016,10 @@ export namespace gkehub_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2068,11 +2071,11 @@ export namespace gkehub_v2alpha { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2105,8 +2108,8 @@ export namespace gkehub_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2210,11 +2213,11 @@ export namespace gkehub_v2alpha { create( params: Params$Resource$Projects$Locations$Memberships$Features$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Features$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Features$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2243,7 +2246,10 @@ export namespace gkehub_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2299,11 +2305,11 @@ export namespace gkehub_v2alpha { delete( params: Params$Resource$Projects$Locations$Memberships$Features$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Features$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Features$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2332,7 +2338,10 @@ export namespace gkehub_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2385,11 +2394,11 @@ export namespace gkehub_v2alpha { get( params: Params$Resource$Projects$Locations$Memberships$Features$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Features$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Features$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2420,8 +2429,8 @@ export namespace gkehub_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2474,11 +2483,11 @@ export namespace gkehub_v2alpha { list( params: Params$Resource$Projects$Locations$Memberships$Features$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$Features$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Memberships$Features$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2513,8 +2522,8 @@ export namespace gkehub_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2572,11 +2581,11 @@ export namespace gkehub_v2alpha { patch( params: Params$Resource$Projects$Locations$Memberships$Features$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Features$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Features$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2605,7 +2614,10 @@ export namespace gkehub_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2751,11 +2763,11 @@ export namespace gkehub_v2alpha { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2784,7 +2796,10 @@ export namespace gkehub_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2839,11 +2854,11 @@ export namespace gkehub_v2alpha { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2872,7 +2887,10 @@ export namespace gkehub_v2alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2924,11 +2942,11 @@ export namespace gkehub_v2alpha { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2961,8 +2979,8 @@ export namespace gkehub_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gkehub/v2beta.ts b/src/apis/gkehub/v2beta.ts index ed01e537998..194e26453d8 100644 --- a/src/apis/gkehub/v2beta.ts +++ b/src/apis/gkehub/v2beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1983,11 +1983,11 @@ export namespace gkehub_v2beta { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2016,7 +2016,10 @@ export namespace gkehub_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2068,11 +2071,11 @@ export namespace gkehub_v2beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2105,8 +2108,8 @@ export namespace gkehub_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2210,11 +2213,11 @@ export namespace gkehub_v2beta { create( params: Params$Resource$Projects$Locations$Memberships$Features$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Memberships$Features$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Memberships$Features$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2243,7 +2246,10 @@ export namespace gkehub_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2299,11 +2305,11 @@ export namespace gkehub_v2beta { delete( params: Params$Resource$Projects$Locations$Memberships$Features$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Memberships$Features$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Memberships$Features$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2332,7 +2338,10 @@ export namespace gkehub_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2385,11 +2394,11 @@ export namespace gkehub_v2beta { get( params: Params$Resource$Projects$Locations$Memberships$Features$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Memberships$Features$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Memberships$Features$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2420,8 +2429,8 @@ export namespace gkehub_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2474,11 +2483,11 @@ export namespace gkehub_v2beta { list( params: Params$Resource$Projects$Locations$Memberships$Features$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Memberships$Features$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Memberships$Features$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2513,8 +2522,8 @@ export namespace gkehub_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2572,11 +2581,11 @@ export namespace gkehub_v2beta { patch( params: Params$Resource$Projects$Locations$Memberships$Features$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Memberships$Features$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Memberships$Features$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2605,7 +2614,10 @@ export namespace gkehub_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Memberships$Features$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2751,11 +2763,11 @@ export namespace gkehub_v2beta { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2784,7 +2796,10 @@ export namespace gkehub_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2839,11 +2854,11 @@ export namespace gkehub_v2beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2872,7 +2887,10 @@ export namespace gkehub_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2924,11 +2942,11 @@ export namespace gkehub_v2beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2961,8 +2979,8 @@ export namespace gkehub_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gkeonprem/index.ts b/src/apis/gkeonprem/index.ts index d08194ec5f2..e49d6b03fc5 100644 --- a/src/apis/gkeonprem/index.ts +++ b/src/apis/gkeonprem/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/gkeonprem/package.json b/src/apis/gkeonprem/package.json index 12ecd1fb99a..bf5544e46c3 100644 --- a/src/apis/gkeonprem/package.json +++ b/src/apis/gkeonprem/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/gkeonprem/v1.ts b/src/apis/gkeonprem/v1.ts index c5d96d444f7..1314983a8b9 100644 --- a/src/apis/gkeonprem/v1.ts +++ b/src/apis/gkeonprem/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2967,11 +2967,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3000,7 +3000,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3052,11 +3055,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3089,8 +3092,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3188,11 +3191,11 @@ export namespace gkeonprem_v1 { create( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3221,7 +3224,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3277,11 +3283,11 @@ export namespace gkeonprem_v1 { enroll( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Enroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$Enroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Enroll, options: StreamMethodOptions | BodyResponseCallback, @@ -3310,7 +3316,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$Enroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3365,11 +3374,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3402,8 +3411,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3456,11 +3465,11 @@ export namespace gkeonprem_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3489,7 +3498,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3545,11 +3557,13 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Baremetaladminclusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Baremetaladminclusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3584,8 +3598,10 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3643,11 +3659,11 @@ export namespace gkeonprem_v1 { patch( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3676,7 +3692,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3729,11 +3748,13 @@ export namespace gkeonprem_v1 { queryVersionConfig( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Queryversionconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryVersionConfig( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$Queryversionconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryVersionConfig( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Queryversionconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3768,8 +3789,10 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$Queryversionconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3827,11 +3850,11 @@ export namespace gkeonprem_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3860,7 +3883,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3916,11 +3942,11 @@ export namespace gkeonprem_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3955,8 +3981,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4012,11 +4038,11 @@ export namespace gkeonprem_v1 { unenroll( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Unenroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$Unenroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Unenroll, options: StreamMethodOptions | BodyResponseCallback, @@ -4045,7 +4071,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$Unenroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4272,11 +4301,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4305,7 +4334,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4358,11 +4390,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Baremetaladminclusters$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Baremetaladminclusters$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4395,8 +4427,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetaladminclusters$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4496,11 +4528,11 @@ export namespace gkeonprem_v1 { create( params: Params$Resource$Projects$Locations$Baremetalclusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Baremetalclusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Baremetalclusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4529,7 +4561,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4585,11 +4620,11 @@ export namespace gkeonprem_v1 { delete( params: Params$Resource$Projects$Locations$Baremetalclusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Baremetalclusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Baremetalclusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4618,7 +4653,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4671,11 +4709,11 @@ export namespace gkeonprem_v1 { enroll( params: Params$Resource$Projects$Locations$Baremetalclusters$Enroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params?: Params$Resource$Projects$Locations$Baremetalclusters$Enroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params: Params$Resource$Projects$Locations$Baremetalclusters$Enroll, options: StreamMethodOptions | BodyResponseCallback, @@ -4704,7 +4742,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Enroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4760,11 +4801,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Baremetalclusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Baremetalclusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Baremetalclusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4793,7 +4834,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4845,11 +4889,11 @@ export namespace gkeonprem_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Baremetalclusters$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Baremetalclusters$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Baremetalclusters$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4878,7 +4922,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4934,11 +4981,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Baremetalclusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Baremetalclusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Baremetalclusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4973,8 +5020,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5032,11 +5079,11 @@ export namespace gkeonprem_v1 { patch( params: Params$Resource$Projects$Locations$Baremetalclusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Baremetalclusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Baremetalclusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5065,7 +5112,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5118,11 +5168,13 @@ export namespace gkeonprem_v1 { queryVersionConfig( params: Params$Resource$Projects$Locations$Baremetalclusters$Queryversionconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryVersionConfig( params?: Params$Resource$Projects$Locations$Baremetalclusters$Queryversionconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryVersionConfig( params: Params$Resource$Projects$Locations$Baremetalclusters$Queryversionconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5157,8 +5209,10 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Queryversionconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5215,11 +5269,11 @@ export namespace gkeonprem_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Baremetalclusters$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Baremetalclusters$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Baremetalclusters$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5248,7 +5302,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5304,11 +5361,11 @@ export namespace gkeonprem_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Baremetalclusters$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Baremetalclusters$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Baremetalclusters$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5343,8 +5400,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5400,11 +5457,11 @@ export namespace gkeonprem_v1 { unenroll( params: Params$Resource$Projects$Locations$Baremetalclusters$Unenroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params?: Params$Resource$Projects$Locations$Baremetalclusters$Unenroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params: Params$Resource$Projects$Locations$Baremetalclusters$Unenroll, options: StreamMethodOptions | BodyResponseCallback, @@ -5433,7 +5490,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Unenroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5708,11 +5768,11 @@ export namespace gkeonprem_v1 { create( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5741,7 +5801,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5797,11 +5860,11 @@ export namespace gkeonprem_v1 { delete( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5830,7 +5893,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5883,11 +5949,11 @@ export namespace gkeonprem_v1 { enroll( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Enroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Enroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Enroll, options: StreamMethodOptions | BodyResponseCallback, @@ -5916,7 +5982,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Enroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5972,11 +6041,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6007,8 +6076,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6061,11 +6130,11 @@ export namespace gkeonprem_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6094,7 +6163,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6150,11 +6222,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6189,8 +6261,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6248,11 +6320,11 @@ export namespace gkeonprem_v1 { patch( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6281,7 +6353,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6334,11 +6409,11 @@ export namespace gkeonprem_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6367,7 +6442,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6423,11 +6501,11 @@ export namespace gkeonprem_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6462,8 +6540,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6519,11 +6597,11 @@ export namespace gkeonprem_v1 { unenroll( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Unenroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Unenroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Unenroll, options: StreamMethodOptions | BodyResponseCallback, @@ -6552,7 +6630,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Unenroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6779,11 +6860,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6812,7 +6893,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6865,11 +6949,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6902,8 +6986,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Baremetalnodepools$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6993,11 +7077,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Baremetalclusters$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Baremetalclusters$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Baremetalclusters$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7026,7 +7110,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7079,11 +7166,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Baremetalclusters$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Baremetalclusters$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Baremetalclusters$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7116,8 +7203,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Baremetalclusters$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7207,11 +7294,11 @@ export namespace gkeonprem_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7240,7 +7327,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7292,11 +7382,11 @@ export namespace gkeonprem_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7325,7 +7415,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7377,11 +7470,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7410,7 +7503,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7462,11 +7558,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7499,8 +7595,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7613,11 +7709,11 @@ export namespace gkeonprem_v1 { create( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Vmwareadminclusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7646,7 +7742,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareadminclusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7702,11 +7801,11 @@ export namespace gkeonprem_v1 { enroll( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Enroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params?: Params$Resource$Projects$Locations$Vmwareadminclusters$Enroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Enroll, options: StreamMethodOptions | BodyResponseCallback, @@ -7735,7 +7834,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareadminclusters$Enroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7791,11 +7893,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Vmwareadminclusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7826,8 +7928,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareadminclusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7880,11 +7982,11 @@ export namespace gkeonprem_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Vmwareadminclusters$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7913,7 +8015,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareadminclusters$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7969,11 +8074,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Vmwareadminclusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Vmwareadminclusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Vmwareadminclusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8008,8 +8113,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareadminclusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8067,11 +8172,11 @@ export namespace gkeonprem_v1 { patch( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Vmwareadminclusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8100,7 +8205,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareadminclusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8153,11 +8261,11 @@ export namespace gkeonprem_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Vmwareadminclusters$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8186,7 +8294,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareadminclusters$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8242,11 +8353,11 @@ export namespace gkeonprem_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Vmwareadminclusters$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8281,8 +8392,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareadminclusters$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8338,11 +8449,11 @@ export namespace gkeonprem_v1 { unenroll( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Unenroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params?: Params$Resource$Projects$Locations$Vmwareadminclusters$Unenroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Unenroll, options: StreamMethodOptions | BodyResponseCallback, @@ -8371,7 +8482,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareadminclusters$Unenroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8583,11 +8697,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Vmwareadminclusters$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8616,7 +8730,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareadminclusters$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8669,11 +8786,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Vmwareadminclusters$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Vmwareadminclusters$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8706,8 +8823,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareadminclusters$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8805,11 +8922,11 @@ export namespace gkeonprem_v1 { create( params: Params$Resource$Projects$Locations$Vmwareclusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Vmwareclusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Vmwareclusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8838,7 +8955,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8893,11 +9013,11 @@ export namespace gkeonprem_v1 { delete( params: Params$Resource$Projects$Locations$Vmwareclusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Vmwareclusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Vmwareclusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8926,7 +9046,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8978,11 +9101,11 @@ export namespace gkeonprem_v1 { enroll( params: Params$Resource$Projects$Locations$Vmwareclusters$Enroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params?: Params$Resource$Projects$Locations$Vmwareclusters$Enroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params: Params$Resource$Projects$Locations$Vmwareclusters$Enroll, options: StreamMethodOptions | BodyResponseCallback, @@ -9011,7 +9134,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Enroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9066,11 +9192,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Vmwareclusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Vmwareclusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Vmwareclusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9099,7 +9225,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9151,11 +9280,11 @@ export namespace gkeonprem_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Vmwareclusters$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Vmwareclusters$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Vmwareclusters$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9184,7 +9313,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9240,11 +9372,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Vmwareclusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Vmwareclusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Vmwareclusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9279,8 +9411,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9335,11 +9467,11 @@ export namespace gkeonprem_v1 { patch( params: Params$Resource$Projects$Locations$Vmwareclusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Vmwareclusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Vmwareclusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9368,7 +9500,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9420,11 +9555,13 @@ export namespace gkeonprem_v1 { queryVersionConfig( params: Params$Resource$Projects$Locations$Vmwareclusters$Queryversionconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryVersionConfig( params?: Params$Resource$Projects$Locations$Vmwareclusters$Queryversionconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryVersionConfig( params: Params$Resource$Projects$Locations$Vmwareclusters$Queryversionconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -9459,8 +9596,10 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Queryversionconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9517,11 +9656,11 @@ export namespace gkeonprem_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Vmwareclusters$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Vmwareclusters$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Vmwareclusters$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9550,7 +9689,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9606,11 +9748,11 @@ export namespace gkeonprem_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Vmwareclusters$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Vmwareclusters$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Vmwareclusters$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9645,8 +9787,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9702,11 +9844,11 @@ export namespace gkeonprem_v1 { unenroll( params: Params$Resource$Projects$Locations$Vmwareclusters$Unenroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params?: Params$Resource$Projects$Locations$Vmwareclusters$Unenroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params: Params$Resource$Projects$Locations$Vmwareclusters$Unenroll, options: StreamMethodOptions | BodyResponseCallback, @@ -9735,7 +9877,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Unenroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10001,11 +10146,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Vmwareclusters$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Vmwareclusters$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Vmwareclusters$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10034,7 +10179,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10087,11 +10235,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Vmwareclusters$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Vmwareclusters$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Vmwareclusters$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10124,8 +10272,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10220,11 +10368,11 @@ export namespace gkeonprem_v1 { create( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10253,7 +10401,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10309,11 +10460,11 @@ export namespace gkeonprem_v1 { delete( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10342,7 +10493,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10395,11 +10549,11 @@ export namespace gkeonprem_v1 { enroll( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Enroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Enroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enroll( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Enroll, options: StreamMethodOptions | BodyResponseCallback, @@ -10428,7 +10582,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Enroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10484,11 +10641,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10517,7 +10674,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10570,11 +10730,11 @@ export namespace gkeonprem_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10603,7 +10763,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10659,11 +10822,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10698,8 +10861,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10755,11 +10918,11 @@ export namespace gkeonprem_v1 { patch( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10788,7 +10951,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10841,11 +11007,11 @@ export namespace gkeonprem_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10874,7 +11040,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10930,11 +11099,11 @@ export namespace gkeonprem_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -10969,8 +11138,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11026,11 +11195,11 @@ export namespace gkeonprem_v1 { unenroll( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Unenroll, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Unenroll, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unenroll( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Unenroll, options: StreamMethodOptions | BodyResponseCallback, @@ -11059,7 +11228,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Unenroll; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11282,11 +11454,11 @@ export namespace gkeonprem_v1 { get( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11315,7 +11487,10 @@ export namespace gkeonprem_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11368,11 +11543,11 @@ export namespace gkeonprem_v1 { list( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11405,8 +11580,8 @@ export namespace gkeonprem_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareclusters$Vmwarenodepools$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gmail/index.ts b/src/apis/gmail/index.ts index 3e28a88ac3f..f0131711207 100644 --- a/src/apis/gmail/index.ts +++ b/src/apis/gmail/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/gmail/package.json b/src/apis/gmail/package.json index f0c770f1359..b38996c5185 100644 --- a/src/apis/gmail/package.json +++ b/src/apis/gmail/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/gmail/v1.ts b/src/apis/gmail/v1.ts index 0fc0546b468..1695e6cd231 100644 --- a/src/apis/gmail/v1.ts +++ b/src/apis/gmail/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1019,11 +1019,11 @@ export namespace gmail_v1 { getProfile( params: Params$Resource$Users$Getprofile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getProfile( params?: Params$Resource$Users$Getprofile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getProfile( params: Params$Resource$Users$Getprofile, options: StreamMethodOptions | BodyResponseCallback, @@ -1052,7 +1052,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Getprofile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1106,11 +1109,11 @@ export namespace gmail_v1 { stop( params: Params$Resource$Users$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Users$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Users$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -1137,7 +1140,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1191,11 +1197,11 @@ export namespace gmail_v1 { watch( params: Params$Resource$Users$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Users$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Users$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -1224,7 +1230,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1309,11 +1318,11 @@ export namespace gmail_v1 { create( params: Params$Resource$Users$Drafts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Drafts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Drafts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1342,7 +1351,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Drafts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1401,11 +1413,11 @@ export namespace gmail_v1 { delete( params: Params$Resource$Users$Drafts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Drafts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Drafts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1432,7 +1444,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Drafts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1487,11 +1502,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Drafts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Drafts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Drafts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1520,7 +1535,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Drafts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1574,11 +1592,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$Drafts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Drafts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Drafts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1609,8 +1627,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Drafts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1665,11 +1683,11 @@ export namespace gmail_v1 { send( params: Params$Resource$Users$Drafts$Send, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; send( params?: Params$Resource$Users$Drafts$Send, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; send( params: Params$Resource$Users$Drafts$Send, options: StreamMethodOptions | BodyResponseCallback, @@ -1698,7 +1716,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Drafts$Send; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1756,11 +1777,11 @@ export namespace gmail_v1 { update( params: Params$Resource$Users$Drafts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Users$Drafts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Users$Drafts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1789,7 +1810,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Drafts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1988,11 +2012,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$History$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$History$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$History$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2023,8 +2047,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$History$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2114,11 +2138,11 @@ export namespace gmail_v1 { create( params: Params$Resource$Users$Labels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Labels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Labels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2147,7 +2171,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Labels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2202,11 +2229,11 @@ export namespace gmail_v1 { delete( params: Params$Resource$Users$Labels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Labels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Labels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2233,7 +2260,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Labels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2288,11 +2318,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Labels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Labels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Labels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2321,7 +2351,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Labels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2375,11 +2408,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$Labels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Labels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Labels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2410,8 +2443,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Labels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2466,11 +2499,11 @@ export namespace gmail_v1 { patch( params: Params$Resource$Users$Labels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Labels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Labels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2499,7 +2532,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Labels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2554,11 +2590,11 @@ export namespace gmail_v1 { update( params: Params$Resource$Users$Labels$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Users$Labels$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Users$Labels$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2587,7 +2623,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Labels$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2724,11 +2763,11 @@ export namespace gmail_v1 { batchDelete( params: Params$Resource$Users$Messages$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Users$Messages$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Users$Messages$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2755,7 +2794,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2809,11 +2851,11 @@ export namespace gmail_v1 { batchModify( params: Params$Resource$Users$Messages$Batchmodify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchModify( params?: Params$Resource$Users$Messages$Batchmodify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchModify( params: Params$Resource$Users$Messages$Batchmodify, options: StreamMethodOptions | BodyResponseCallback, @@ -2840,7 +2882,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$Batchmodify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2894,11 +2939,11 @@ export namespace gmail_v1 { delete( params: Params$Resource$Users$Messages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Messages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Messages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2925,7 +2970,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2980,11 +3028,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Messages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Messages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Messages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3013,7 +3061,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3068,11 +3119,11 @@ export namespace gmail_v1 { import( params: Params$Resource$Users$Messages$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Users$Messages$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Users$Messages$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -3101,7 +3152,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3159,11 +3213,11 @@ export namespace gmail_v1 { insert( params: Params$Resource$Users$Messages$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Users$Messages$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Users$Messages$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3192,7 +3246,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3250,11 +3307,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$Messages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Messages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Messages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3287,8 +3344,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3343,11 +3400,11 @@ export namespace gmail_v1 { modify( params: Params$Resource$Users$Messages$Modify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modify( params?: Params$Resource$Users$Messages$Modify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modify( params: Params$Resource$Users$Messages$Modify, options: StreamMethodOptions | BodyResponseCallback, @@ -3376,7 +3433,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$Modify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3430,11 +3490,11 @@ export namespace gmail_v1 { send( params: Params$Resource$Users$Messages$Send, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; send( params?: Params$Resource$Users$Messages$Send, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; send( params: Params$Resource$Users$Messages$Send, options: StreamMethodOptions | BodyResponseCallback, @@ -3463,7 +3523,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$Send; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3521,11 +3584,11 @@ export namespace gmail_v1 { trash( params: Params$Resource$Users$Messages$Trash, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; trash( params?: Params$Resource$Users$Messages$Trash, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; trash( params: Params$Resource$Users$Messages$Trash, options: StreamMethodOptions | BodyResponseCallback, @@ -3554,7 +3617,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$Trash; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3608,11 +3674,11 @@ export namespace gmail_v1 { untrash( params: Params$Resource$Users$Messages$Untrash, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; untrash( params?: Params$Resource$Users$Messages$Untrash, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; untrash( params: Params$Resource$Users$Messages$Untrash, options: StreamMethodOptions | BodyResponseCallback, @@ -3641,7 +3707,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$Untrash; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3927,11 +3996,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Messages$Attachments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Messages$Attachments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Messages$Attachments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3960,7 +4029,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Messages$Attachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4049,11 +4121,11 @@ export namespace gmail_v1 { getAutoForwarding( params: Params$Resource$Users$Settings$Getautoforwarding, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAutoForwarding( params?: Params$Resource$Users$Settings$Getautoforwarding, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAutoForwarding( params: Params$Resource$Users$Settings$Getautoforwarding, options: StreamMethodOptions | BodyResponseCallback, @@ -4084,7 +4156,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Getautoforwarding; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4138,11 +4213,11 @@ export namespace gmail_v1 { getImap( params: Params$Resource$Users$Settings$Getimap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getImap( params?: Params$Resource$Users$Settings$Getimap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getImap( params: Params$Resource$Users$Settings$Getimap, options: StreamMethodOptions | BodyResponseCallback, @@ -4171,7 +4246,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Getimap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4226,11 +4304,11 @@ export namespace gmail_v1 { getLanguage( params: Params$Resource$Users$Settings$Getlanguage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLanguage( params?: Params$Resource$Users$Settings$Getlanguage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getLanguage( params: Params$Resource$Users$Settings$Getlanguage, options: StreamMethodOptions | BodyResponseCallback, @@ -4259,7 +4337,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Getlanguage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4313,11 +4394,11 @@ export namespace gmail_v1 { getPop( params: Params$Resource$Users$Settings$Getpop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPop( params?: Params$Resource$Users$Settings$Getpop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPop( params: Params$Resource$Users$Settings$Getpop, options: StreamMethodOptions | BodyResponseCallback, @@ -4346,7 +4427,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Getpop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4401,11 +4485,11 @@ export namespace gmail_v1 { getVacation( params: Params$Resource$Users$Settings$Getvacation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVacation( params?: Params$Resource$Users$Settings$Getvacation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getVacation( params: Params$Resource$Users$Settings$Getvacation, options: StreamMethodOptions | BodyResponseCallback, @@ -4434,7 +4518,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Getvacation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4488,11 +4575,11 @@ export namespace gmail_v1 { updateAutoForwarding( params: Params$Resource$Users$Settings$Updateautoforwarding, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAutoForwarding( params?: Params$Resource$Users$Settings$Updateautoforwarding, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAutoForwarding( params: Params$Resource$Users$Settings$Updateautoforwarding, options: StreamMethodOptions | BodyResponseCallback, @@ -4523,7 +4610,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Updateautoforwarding; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4577,11 +4667,11 @@ export namespace gmail_v1 { updateImap( params: Params$Resource$Users$Settings$Updateimap, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateImap( params?: Params$Resource$Users$Settings$Updateimap, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateImap( params: Params$Resource$Users$Settings$Updateimap, options: StreamMethodOptions | BodyResponseCallback, @@ -4610,7 +4700,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Updateimap; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4665,11 +4758,11 @@ export namespace gmail_v1 { updateLanguage( params: Params$Resource$Users$Settings$Updatelanguage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateLanguage( params?: Params$Resource$Users$Settings$Updatelanguage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateLanguage( params: Params$Resource$Users$Settings$Updatelanguage, options: StreamMethodOptions | BodyResponseCallback, @@ -4700,7 +4793,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Updatelanguage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4754,11 +4850,11 @@ export namespace gmail_v1 { updatePop( params: Params$Resource$Users$Settings$Updatepop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updatePop( params?: Params$Resource$Users$Settings$Updatepop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updatePop( params: Params$Resource$Users$Settings$Updatepop, options: StreamMethodOptions | BodyResponseCallback, @@ -4787,7 +4883,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Updatepop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4842,11 +4941,11 @@ export namespace gmail_v1 { updateVacation( params: Params$Resource$Users$Settings$Updatevacation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateVacation( params?: Params$Resource$Users$Settings$Updatevacation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateVacation( params: Params$Resource$Users$Settings$Updatevacation, options: StreamMethodOptions | BodyResponseCallback, @@ -4877,7 +4976,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Updatevacation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5047,11 +5149,11 @@ export namespace gmail_v1 { create( params: Params$Resource$Users$Settings$Cse$Identities$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Settings$Cse$Identities$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Settings$Cse$Identities$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5080,7 +5182,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Cse$Identities$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5134,11 +5239,11 @@ export namespace gmail_v1 { delete( params: Params$Resource$Users$Settings$Cse$Identities$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Settings$Cse$Identities$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Settings$Cse$Identities$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5165,7 +5270,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Cse$Identities$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5220,11 +5328,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Settings$Cse$Identities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Settings$Cse$Identities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Settings$Cse$Identities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5253,7 +5361,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Cse$Identities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5308,11 +5419,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$Settings$Cse$Identities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Settings$Cse$Identities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Settings$Cse$Identities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5347,8 +5458,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Cse$Identities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5402,11 +5513,11 @@ export namespace gmail_v1 { patch( params: Params$Resource$Users$Settings$Cse$Identities$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Settings$Cse$Identities$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Settings$Cse$Identities$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5435,7 +5546,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Cse$Identities$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5563,11 +5677,11 @@ export namespace gmail_v1 { create( params: Params$Resource$Users$Settings$Cse$Keypairs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Settings$Cse$Keypairs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Settings$Cse$Keypairs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5596,7 +5710,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Cse$Keypairs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5650,11 +5767,11 @@ export namespace gmail_v1 { disable( params: Params$Resource$Users$Settings$Cse$Keypairs$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Users$Settings$Cse$Keypairs$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Users$Settings$Cse$Keypairs$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -5683,7 +5800,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Cse$Keypairs$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5738,11 +5858,11 @@ export namespace gmail_v1 { enable( params: Params$Resource$Users$Settings$Cse$Keypairs$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Users$Settings$Cse$Keypairs$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Users$Settings$Cse$Keypairs$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -5771,7 +5891,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Cse$Keypairs$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5826,11 +5949,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Settings$Cse$Keypairs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Settings$Cse$Keypairs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Settings$Cse$Keypairs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5859,7 +5982,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Cse$Keypairs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5914,11 +6040,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$Settings$Cse$Keypairs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Settings$Cse$Keypairs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Settings$Cse$Keypairs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5951,8 +6077,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Cse$Keypairs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6006,11 +6132,11 @@ export namespace gmail_v1 { obliterate( params: Params$Resource$Users$Settings$Cse$Keypairs$Obliterate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; obliterate( params?: Params$Resource$Users$Settings$Cse$Keypairs$Obliterate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; obliterate( params: Params$Resource$Users$Settings$Cse$Keypairs$Obliterate, options: StreamMethodOptions | BodyResponseCallback, @@ -6037,7 +6163,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Cse$Keypairs$Obliterate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6186,11 +6315,11 @@ export namespace gmail_v1 { create( params: Params$Resource$Users$Settings$Delegates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Settings$Delegates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Settings$Delegates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6219,7 +6348,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Delegates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6273,11 +6405,11 @@ export namespace gmail_v1 { delete( params: Params$Resource$Users$Settings$Delegates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Settings$Delegates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Settings$Delegates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6304,7 +6436,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Delegates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6359,11 +6494,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Settings$Delegates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Settings$Delegates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Settings$Delegates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6392,7 +6527,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Delegates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6447,11 +6585,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$Settings$Delegates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Settings$Delegates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Settings$Delegates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6484,8 +6622,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Delegates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6588,11 +6726,11 @@ export namespace gmail_v1 { create( params: Params$Resource$Users$Settings$Filters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Settings$Filters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Settings$Filters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6621,7 +6759,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Filters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6675,11 +6816,11 @@ export namespace gmail_v1 { delete( params: Params$Resource$Users$Settings$Filters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Settings$Filters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Settings$Filters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6706,7 +6847,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Filters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6760,11 +6904,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Settings$Filters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Settings$Filters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Settings$Filters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6793,7 +6937,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Filters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6847,11 +6994,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$Settings$Filters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Settings$Filters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Settings$Filters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6882,8 +7029,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Filters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6986,11 +7133,11 @@ export namespace gmail_v1 { create( params: Params$Resource$Users$Settings$Forwardingaddresses$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Settings$Forwardingaddresses$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Settings$Forwardingaddresses$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7021,8 +7168,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Forwardingaddresses$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7077,11 +7224,11 @@ export namespace gmail_v1 { delete( params: Params$Resource$Users$Settings$Forwardingaddresses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Settings$Forwardingaddresses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Settings$Forwardingaddresses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7108,7 +7255,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Forwardingaddresses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7164,11 +7314,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Settings$Forwardingaddresses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Settings$Forwardingaddresses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Settings$Forwardingaddresses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7199,8 +7349,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Forwardingaddresses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7255,11 +7405,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$Settings$Forwardingaddresses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Settings$Forwardingaddresses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Settings$Forwardingaddresses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7294,8 +7444,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Forwardingaddresses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7404,11 +7554,11 @@ export namespace gmail_v1 { create( params: Params$Resource$Users$Settings$Sendas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Settings$Sendas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Settings$Sendas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7437,7 +7587,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7492,11 +7645,11 @@ export namespace gmail_v1 { delete( params: Params$Resource$Users$Settings$Sendas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Settings$Sendas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Settings$Sendas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7523,7 +7676,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7577,11 +7733,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Settings$Sendas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Settings$Sendas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Settings$Sendas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7610,7 +7766,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7664,11 +7823,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$Settings$Sendas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Settings$Sendas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Settings$Sendas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7699,8 +7858,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7755,11 +7914,11 @@ export namespace gmail_v1 { patch( params: Params$Resource$Users$Settings$Sendas$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Settings$Sendas$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Settings$Sendas$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7788,7 +7947,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7842,11 +8004,11 @@ export namespace gmail_v1 { update( params: Params$Resource$Users$Settings$Sendas$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Users$Settings$Sendas$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Users$Settings$Sendas$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7875,7 +8037,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7929,11 +8094,11 @@ export namespace gmail_v1 { verify( params: Params$Resource$Users$Settings$Sendas$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Users$Settings$Sendas$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Users$Settings$Sendas$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -7960,7 +8125,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$Verify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8107,11 +8275,11 @@ export namespace gmail_v1 { delete( params: Params$Resource$Users$Settings$Sendas$Smimeinfo$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Settings$Sendas$Smimeinfo$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Settings$Sendas$Smimeinfo$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8138,7 +8306,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$Smimeinfo$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8193,11 +8364,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Settings$Sendas$Smimeinfo$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Settings$Sendas$Smimeinfo$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Settings$Sendas$Smimeinfo$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8226,7 +8397,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$Smimeinfo$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8281,11 +8455,11 @@ export namespace gmail_v1 { insert( params: Params$Resource$Users$Settings$Sendas$Smimeinfo$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Users$Settings$Sendas$Smimeinfo$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Users$Settings$Sendas$Smimeinfo$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8314,7 +8488,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$Smimeinfo$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8369,11 +8546,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$Settings$Sendas$Smimeinfo$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Settings$Sendas$Smimeinfo$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Settings$Sendas$Smimeinfo$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8406,8 +8583,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$Smimeinfo$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8462,11 +8639,11 @@ export namespace gmail_v1 { setDefault( params: Params$Resource$Users$Settings$Sendas$Smimeinfo$Setdefault, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDefault( params?: Params$Resource$Users$Settings$Sendas$Smimeinfo$Setdefault, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDefault( params: Params$Resource$Users$Settings$Sendas$Smimeinfo$Setdefault, options: StreamMethodOptions | BodyResponseCallback, @@ -8493,7 +8670,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Settings$Sendas$Smimeinfo$Setdefault; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8629,11 +8809,11 @@ export namespace gmail_v1 { delete( params: Params$Resource$Users$Threads$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Threads$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Threads$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8660,7 +8840,10 @@ export namespace gmail_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Threads$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8715,11 +8898,11 @@ export namespace gmail_v1 { get( params: Params$Resource$Users$Threads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Threads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Threads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8748,7 +8931,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Threads$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8803,11 +8989,11 @@ export namespace gmail_v1 { list( params: Params$Resource$Users$Threads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Threads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Threads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8838,8 +9024,8 @@ export namespace gmail_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Threads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8894,11 +9080,11 @@ export namespace gmail_v1 { modify( params: Params$Resource$Users$Threads$Modify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modify( params?: Params$Resource$Users$Threads$Modify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modify( params: Params$Resource$Users$Threads$Modify, options: StreamMethodOptions | BodyResponseCallback, @@ -8927,7 +9113,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Threads$Modify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8981,11 +9170,11 @@ export namespace gmail_v1 { trash( params: Params$Resource$Users$Threads$Trash, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; trash( params?: Params$Resource$Users$Threads$Trash, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; trash( params: Params$Resource$Users$Threads$Trash, options: StreamMethodOptions | BodyResponseCallback, @@ -9014,7 +9203,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Threads$Trash; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9068,11 +9260,11 @@ export namespace gmail_v1 { untrash( params: Params$Resource$Users$Threads$Untrash, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; untrash( params?: Params$Resource$Users$Threads$Untrash, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; untrash( params: Params$Resource$Users$Threads$Untrash, options: StreamMethodOptions | BodyResponseCallback, @@ -9101,7 +9293,10 @@ export namespace gmail_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Threads$Untrash; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gmailpostmastertools/index.ts b/src/apis/gmailpostmastertools/index.ts index ac557194258..42f6842eaab 100644 --- a/src/apis/gmailpostmastertools/index.ts +++ b/src/apis/gmailpostmastertools/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/gmailpostmastertools/package.json b/src/apis/gmailpostmastertools/package.json index 084d195ec76..cabc5b7cab9 100644 --- a/src/apis/gmailpostmastertools/package.json +++ b/src/apis/gmailpostmastertools/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/gmailpostmastertools/v1.ts b/src/apis/gmailpostmastertools/v1.ts index 69da7dc00df..3101d20faef 100644 --- a/src/apis/gmailpostmastertools/v1.ts +++ b/src/apis/gmailpostmastertools/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -291,11 +291,11 @@ export namespace gmailpostmastertools_v1 { get( params: Params$Resource$Domains$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Domains$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Domains$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -324,7 +324,10 @@ export namespace gmailpostmastertools_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -376,11 +379,11 @@ export namespace gmailpostmastertools_v1 { list( params: Params$Resource$Domains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Domains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Domains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -411,8 +414,8 @@ export namespace gmailpostmastertools_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -488,11 +491,11 @@ export namespace gmailpostmastertools_v1 { get( params: Params$Resource$Domains$Trafficstats$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Domains$Trafficstats$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Domains$Trafficstats$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -521,7 +524,10 @@ export namespace gmailpostmastertools_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$Trafficstats$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -574,11 +580,11 @@ export namespace gmailpostmastertools_v1 { list( params: Params$Resource$Domains$Trafficstats$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Domains$Trafficstats$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Domains$Trafficstats$List, options: StreamMethodOptions | BodyResponseCallback, @@ -611,8 +617,8 @@ export namespace gmailpostmastertools_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$Trafficstats$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/gmailpostmastertools/v1beta1.ts b/src/apis/gmailpostmastertools/v1beta1.ts index c53693cc888..6e47f5f1052 100644 --- a/src/apis/gmailpostmastertools/v1beta1.ts +++ b/src/apis/gmailpostmastertools/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -295,11 +295,11 @@ export namespace gmailpostmastertools_v1beta1 { get( params: Params$Resource$Domains$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Domains$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Domains$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -328,7 +328,10 @@ export namespace gmailpostmastertools_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -380,11 +383,11 @@ export namespace gmailpostmastertools_v1beta1 { list( params: Params$Resource$Domains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Domains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Domains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -415,8 +418,8 @@ export namespace gmailpostmastertools_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -492,11 +495,11 @@ export namespace gmailpostmastertools_v1beta1 { get( params: Params$Resource$Domains$Trafficstats$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Domains$Trafficstats$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Domains$Trafficstats$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -525,7 +528,10 @@ export namespace gmailpostmastertools_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$Trafficstats$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -578,11 +584,11 @@ export namespace gmailpostmastertools_v1beta1 { list( params: Params$Resource$Domains$Trafficstats$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Domains$Trafficstats$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Domains$Trafficstats$List, options: StreamMethodOptions | BodyResponseCallback, @@ -615,8 +621,8 @@ export namespace gmailpostmastertools_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Domains$Trafficstats$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/groupsmigration/index.ts b/src/apis/groupsmigration/index.ts index b661b79d8b1..066cb0f60dc 100644 --- a/src/apis/groupsmigration/index.ts +++ b/src/apis/groupsmigration/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/groupsmigration/package.json b/src/apis/groupsmigration/package.json index f9244a02f63..49a79bfbb67 100644 --- a/src/apis/groupsmigration/package.json +++ b/src/apis/groupsmigration/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/groupsmigration/v1.ts b/src/apis/groupsmigration/v1.ts index 2d42208312c..cd8b06bbf57 100644 --- a/src/apis/groupsmigration/v1.ts +++ b/src/apis/groupsmigration/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -155,11 +155,11 @@ export namespace groupsmigration_v1 { insert( params: Params$Resource$Archive$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Archive$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Archive$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -188,7 +188,10 @@ export namespace groupsmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Archive$Insert; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/groupssettings/index.ts b/src/apis/groupssettings/index.ts index af8b95d287b..aa3682cc950 100644 --- a/src/apis/groupssettings/index.ts +++ b/src/apis/groupssettings/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/groupssettings/package.json b/src/apis/groupssettings/package.json index d70832c9459..8a3fcc69ade 100644 --- a/src/apis/groupssettings/package.json +++ b/src/apis/groupssettings/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/groupssettings/v1.ts b/src/apis/groupssettings/v1.ts index 8b4f76d0d4f..705d69bd549 100644 --- a/src/apis/groupssettings/v1.ts +++ b/src/apis/groupssettings/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -581,11 +581,11 @@ export namespace groupssettings_v1 { get( params: Params$Resource$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -614,7 +614,10 @@ export namespace groupssettings_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -668,11 +671,11 @@ export namespace groupssettings_v1 { patch( params: Params$Resource$Groups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Groups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Groups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -701,7 +704,10 @@ export namespace groupssettings_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -755,11 +761,11 @@ export namespace groupssettings_v1 { update( params: Params$Resource$Groups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Groups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Groups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -788,7 +794,10 @@ export namespace groupssettings_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/healthcare/index.ts b/src/apis/healthcare/index.ts index 11a4d215c2f..68f5e689e06 100644 --- a/src/apis/healthcare/index.ts +++ b/src/apis/healthcare/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/healthcare/package.json b/src/apis/healthcare/package.json index cf55e25daf3..21036b7e7c8 100644 --- a/src/apis/healthcare/package.json +++ b/src/apis/healthcare/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/healthcare/v1.ts b/src/apis/healthcare/v1.ts index cdd49ca64e8..a430e6870ca 100644 --- a/src/apis/healthcare/v1.ts +++ b/src/apis/healthcare/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2791,11 +2791,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2824,7 +2824,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2876,11 +2876,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2913,8 +2913,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3031,11 +3031,11 @@ export namespace healthcare_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3064,7 +3064,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3119,11 +3119,11 @@ export namespace healthcare_v1 { deidentify( params: Params$Resource$Projects$Locations$Datasets$Deidentify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params?: Params$Resource$Projects$Locations$Datasets$Deidentify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params: Params$Resource$Projects$Locations$Datasets$Deidentify, options: StreamMethodOptions | BodyResponseCallback, @@ -3152,7 +3152,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Deidentify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3207,11 +3207,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3240,7 +3240,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3292,11 +3292,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3325,7 +3325,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3377,11 +3377,11 @@ export namespace healthcare_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3410,7 +3410,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3465,11 +3465,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3502,8 +3502,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3558,11 +3558,11 @@ export namespace healthcare_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3591,7 +3591,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3643,11 +3643,11 @@ export namespace healthcare_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3676,7 +3676,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3731,11 +3731,11 @@ export namespace healthcare_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3770,8 +3770,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3963,11 +3963,11 @@ export namespace healthcare_v1 { checkDataAccess( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Checkdataaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkDataAccess( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Checkdataaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkDataAccess( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Checkdataaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -4002,8 +4002,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Checkdataaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4059,11 +4059,11 @@ export namespace healthcare_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4092,7 +4092,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4148,11 +4148,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4181,7 +4181,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4234,11 +4234,11 @@ export namespace healthcare_v1 { evaluateUserConsents( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Evaluateuserconsents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evaluateUserConsents( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Evaluateuserconsents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; evaluateUserConsents( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Evaluateuserconsents, options: StreamMethodOptions | BodyResponseCallback, @@ -4273,8 +4273,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Evaluateuserconsents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4332,11 +4332,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4365,7 +4365,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4418,11 +4418,11 @@ export namespace healthcare_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4451,7 +4451,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4507,11 +4507,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4546,8 +4546,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4603,11 +4603,11 @@ export namespace healthcare_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4636,7 +4636,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4689,11 +4689,11 @@ export namespace healthcare_v1 { queryAccessibleData( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Queryaccessibledata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryAccessibleData( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Queryaccessibledata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryAccessibleData( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Queryaccessibledata, options: StreamMethodOptions | BodyResponseCallback, @@ -4722,7 +4722,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Queryaccessibledata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4778,11 +4778,11 @@ export namespace healthcare_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4811,7 +4811,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4867,11 +4867,11 @@ export namespace healthcare_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4906,8 +4906,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5107,11 +5107,11 @@ export namespace healthcare_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5142,8 +5142,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5199,11 +5199,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5232,7 +5232,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5285,11 +5285,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5320,8 +5320,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5374,11 +5374,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5413,8 +5413,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5472,11 +5472,11 @@ export namespace healthcare_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5507,8 +5507,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5634,11 +5634,11 @@ export namespace healthcare_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5667,7 +5667,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5723,11 +5723,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5756,7 +5756,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5809,11 +5809,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5842,7 +5842,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5895,11 +5895,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5934,8 +5934,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6046,11 +6046,11 @@ export namespace healthcare_v1 { activate( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -6079,7 +6079,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6135,11 +6135,11 @@ export namespace healthcare_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6168,7 +6168,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6224,11 +6224,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6257,7 +6257,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6310,11 +6310,11 @@ export namespace healthcare_v1 { deleteRevision( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Deleterevision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteRevision( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Deleterevision, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteRevision( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Deleterevision, options: StreamMethodOptions | BodyResponseCallback, @@ -6343,7 +6343,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Deleterevision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6399,11 +6399,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6432,7 +6432,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6485,11 +6485,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6522,8 +6522,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6579,11 +6579,11 @@ export namespace healthcare_v1 { listRevisions( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Listrevisions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Listrevisions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Listrevisions, options: StreamMethodOptions | BodyResponseCallback, @@ -6618,8 +6618,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Listrevisions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6677,11 +6677,11 @@ export namespace healthcare_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6710,7 +6710,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6763,11 +6763,11 @@ export namespace healthcare_v1 { reject( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Reject, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reject( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Reject, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reject( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Reject, options: StreamMethodOptions | BodyResponseCallback, @@ -6796,7 +6796,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Reject; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6849,11 +6849,11 @@ export namespace healthcare_v1 { revoke( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Revoke, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Revoke, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Revoke, options: StreamMethodOptions | BodyResponseCallback, @@ -6882,7 +6882,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Revoke; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7066,11 +7066,11 @@ export namespace healthcare_v1 { archive( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Archive, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; archive( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Archive, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; archive( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Archive, options: StreamMethodOptions | BodyResponseCallback, @@ -7105,8 +7105,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Archive; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7164,11 +7164,11 @@ export namespace healthcare_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7197,7 +7197,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7253,11 +7253,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7286,7 +7286,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7339,11 +7339,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7372,7 +7372,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7425,11 +7425,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7464,8 +7464,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7523,11 +7523,11 @@ export namespace healthcare_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7556,7 +7556,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7690,11 +7690,11 @@ export namespace healthcare_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7723,7 +7723,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7779,11 +7779,11 @@ export namespace healthcare_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7812,7 +7812,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7868,11 +7868,11 @@ export namespace healthcare_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7907,8 +7907,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8017,11 +8017,11 @@ export namespace healthcare_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8050,7 +8050,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8106,11 +8106,11 @@ export namespace healthcare_v1 { deidentify( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Deidentify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Deidentify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Deidentify, options: StreamMethodOptions | BodyResponseCallback, @@ -8139,7 +8139,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Deidentify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8195,11 +8195,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8228,7 +8228,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8281,11 +8281,11 @@ export namespace healthcare_v1 { export( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -8314,7 +8314,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8367,11 +8367,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8400,7 +8400,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8453,11 +8453,11 @@ export namespace healthcare_v1 { getDICOMStoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getdicomstoremetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDICOMStoreMetrics( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getdicomstoremetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getDICOMStoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getdicomstoremetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -8490,8 +8490,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Getdicomstoremetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8547,11 +8547,11 @@ export namespace healthcare_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8580,7 +8580,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8636,11 +8636,11 @@ export namespace healthcare_v1 { import( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -8669,7 +8669,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8722,11 +8722,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8759,8 +8759,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8816,11 +8816,11 @@ export namespace healthcare_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8849,7 +8849,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8902,11 +8902,11 @@ export namespace healthcare_v1 { searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -8935,7 +8935,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8991,11 +8991,11 @@ export namespace healthcare_v1 { searchForSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforseries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForSeries( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforseries, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforseries, options: StreamMethodOptions | BodyResponseCallback, @@ -9024,7 +9024,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforseries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9080,11 +9080,11 @@ export namespace healthcare_v1 { searchForStudies( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforstudies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForStudies( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforstudies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForStudies( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforstudies, options: StreamMethodOptions | BodyResponseCallback, @@ -9113,7 +9113,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforstudies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9169,11 +9169,11 @@ export namespace healthcare_v1 { setBlobStorageSettings( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setblobstoragesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBlobStorageSettings( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setblobstoragesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBlobStorageSettings( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setblobstoragesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -9204,7 +9204,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Setblobstoragesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9260,11 +9260,11 @@ export namespace healthcare_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9293,7 +9293,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9349,11 +9349,11 @@ export namespace healthcare_v1 { storeInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Storeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; storeInstances( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Storeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; storeInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Storeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -9382,7 +9382,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Storeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9438,11 +9438,11 @@ export namespace healthcare_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9477,8 +9477,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9763,11 +9763,11 @@ export namespace healthcare_v1 { getStudyMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Getstudymetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStudyMetrics( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Getstudymetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStudyMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Getstudymetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -9796,7 +9796,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Getstudymetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9852,11 +9852,11 @@ export namespace healthcare_v1 { setBlobStorageSettings( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Setblobstoragesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBlobStorageSettings( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Setblobstoragesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBlobStorageSettings( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Setblobstoragesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -9887,7 +9887,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Setblobstoragesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9975,11 +9975,11 @@ export namespace healthcare_v1 { getSeriesMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Getseriesmetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSeriesMetrics( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Getseriesmetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSeriesMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Getseriesmetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -10010,7 +10010,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Getseriesmetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10081,11 +10081,11 @@ export namespace healthcare_v1 { getStorageInfo( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Instances$Getstorageinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStorageInfo( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Instances$Getstorageinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStorageInfo( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Instances$Getstorageinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -10114,7 +10114,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Instances$Getstorageinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10190,11 +10190,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10223,7 +10223,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10279,11 +10279,11 @@ export namespace healthcare_v1 { retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievemetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievemetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievemetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -10312,7 +10312,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievemetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10368,11 +10368,11 @@ export namespace healthcare_v1 { retrieveStudy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievestudy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveStudy( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievestudy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveStudy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievestudy, options: StreamMethodOptions | BodyResponseCallback, @@ -10401,7 +10401,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievestudy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10457,11 +10457,11 @@ export namespace healthcare_v1 { searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -10490,7 +10490,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10546,11 +10546,11 @@ export namespace healthcare_v1 { searchForSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforseries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForSeries( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforseries, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforseries, options: StreamMethodOptions | BodyResponseCallback, @@ -10579,7 +10579,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforseries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10635,11 +10635,11 @@ export namespace healthcare_v1 { storeInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Storeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; storeInstances( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Storeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; storeInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Storeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -10668,7 +10668,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Storeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10808,11 +10808,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10841,7 +10841,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10897,11 +10897,11 @@ export namespace healthcare_v1 { retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrievemetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrievemetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrievemetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -10930,7 +10930,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrievemetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10986,11 +10986,11 @@ export namespace healthcare_v1 { retrieveSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrieveseries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveSeries( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrieveseries, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrieveseries, options: StreamMethodOptions | BodyResponseCallback, @@ -11019,7 +11019,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrieveseries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11075,11 +11075,11 @@ export namespace healthcare_v1 { searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Searchforinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Searchforinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Searchforinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -11108,7 +11108,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Searchforinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11221,11 +11221,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11254,7 +11254,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11310,11 +11310,11 @@ export namespace healthcare_v1 { retrieveInstance( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieveinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveInstance( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieveinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveInstance( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieveinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -11343,7 +11343,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieveinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11399,11 +11399,11 @@ export namespace healthcare_v1 { retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrievemetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrievemetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrievemetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -11432,7 +11432,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrievemetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11488,11 +11488,11 @@ export namespace healthcare_v1 { retrieveRendered( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieverendered, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveRendered( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieverendered, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveRendered( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieverendered, options: StreamMethodOptions | BodyResponseCallback, @@ -11521,7 +11521,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieverendered; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11633,11 +11633,11 @@ export namespace healthcare_v1 { retrieveFrames( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieveframes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveFrames( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieveframes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveFrames( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieveframes, options: StreamMethodOptions | BodyResponseCallback, @@ -11666,7 +11666,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieveframes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11722,11 +11722,11 @@ export namespace healthcare_v1 { retrieveRendered( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieverendered, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveRendered( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieverendered, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveRendered( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieverendered, options: StreamMethodOptions | BodyResponseCallback, @@ -11755,7 +11755,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieverendered; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11854,11 +11854,11 @@ export namespace healthcare_v1 { applyAdminConsents( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyadminconsents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyAdminConsents( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyadminconsents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyAdminConsents( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyadminconsents, options: StreamMethodOptions | BodyResponseCallback, @@ -11887,7 +11887,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyadminconsents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11943,11 +11943,11 @@ export namespace healthcare_v1 { applyConsents( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyconsents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyConsents( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyconsents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyConsents( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyconsents, options: StreamMethodOptions | BodyResponseCallback, @@ -11976,7 +11976,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyconsents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12032,11 +12032,11 @@ export namespace healthcare_v1 { bulkExportGroup( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Bulkexportgroup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkExportGroup( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Bulkexportgroup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkExportGroup( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Bulkexportgroup, options: StreamMethodOptions | BodyResponseCallback, @@ -12065,7 +12065,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Bulkexportgroup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12121,11 +12121,11 @@ export namespace healthcare_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12154,7 +12154,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12210,11 +12210,11 @@ export namespace healthcare_v1 { deidentify( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Deidentify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Deidentify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Deidentify, options: StreamMethodOptions | BodyResponseCallback, @@ -12243,7 +12243,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Deidentify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12299,11 +12299,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12332,7 +12332,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12385,11 +12385,11 @@ export namespace healthcare_v1 { explainDataAccess( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Explaindataaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; explainDataAccess( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Explaindataaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; explainDataAccess( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Explaindataaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -12424,8 +12424,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Explaindataaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12481,11 +12481,11 @@ export namespace healthcare_v1 { export( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -12514,7 +12514,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12567,11 +12567,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12600,7 +12600,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12653,11 +12653,11 @@ export namespace healthcare_v1 { getFHIRStoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getfhirstoremetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFHIRStoreMetrics( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getfhirstoremetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getFHIRStoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getfhirstoremetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -12688,7 +12688,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Getfhirstoremetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12744,11 +12744,11 @@ export namespace healthcare_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -12777,7 +12777,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12833,11 +12833,11 @@ export namespace healthcare_v1 { import( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -12866,7 +12866,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12919,11 +12919,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12956,8 +12956,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13013,11 +13013,11 @@ export namespace healthcare_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13046,7 +13046,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13099,11 +13099,11 @@ export namespace healthcare_v1 { rollback( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -13132,7 +13132,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13188,11 +13188,11 @@ export namespace healthcare_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -13221,7 +13221,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13277,11 +13277,11 @@ export namespace healthcare_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -13316,8 +13316,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13594,11 +13594,11 @@ export namespace healthcare_v1 { BinaryCreate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binarycreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; BinaryCreate( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binarycreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; BinaryCreate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binarycreate, options: StreamMethodOptions | BodyResponseCallback, @@ -13627,7 +13627,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binarycreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13683,11 +13683,11 @@ export namespace healthcare_v1 { BinaryRead( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; BinaryRead( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryread, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; BinaryRead( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryread, options: StreamMethodOptions | BodyResponseCallback, @@ -13716,7 +13716,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13769,11 +13769,11 @@ export namespace healthcare_v1 { BinaryUpdate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; BinaryUpdate( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; BinaryUpdate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -13802,7 +13802,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13855,11 +13855,11 @@ export namespace healthcare_v1 { BinaryVread( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryvread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; BinaryVread( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryvread, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; BinaryVread( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryvread, options: StreamMethodOptions | BodyResponseCallback, @@ -13888,7 +13888,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryvread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13941,11 +13941,11 @@ export namespace healthcare_v1 { bulkExport( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Bulkexport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkExport( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Bulkexport, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkExport( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Bulkexport, options: StreamMethodOptions | BodyResponseCallback, @@ -13974,7 +13974,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Bulkexport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14030,11 +14030,11 @@ export namespace healthcare_v1 { capabilities( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Capabilities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; capabilities( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Capabilities, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; capabilities( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Capabilities, options: StreamMethodOptions | BodyResponseCallback, @@ -14063,7 +14063,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Capabilities; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14119,11 +14119,11 @@ export namespace healthcare_v1 { conditionalDelete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionaldelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; conditionalDelete( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionaldelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; conditionalDelete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionaldelete, options: StreamMethodOptions | BodyResponseCallback, @@ -14152,7 +14152,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionaldelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14208,11 +14208,11 @@ export namespace healthcare_v1 { conditionalPatch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalpatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; conditionalPatch( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalpatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; conditionalPatch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalpatch, options: StreamMethodOptions | BodyResponseCallback, @@ -14241,7 +14241,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalpatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14297,11 +14297,11 @@ export namespace healthcare_v1 { conditionalUpdate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; conditionalUpdate( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; conditionalUpdate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -14330,7 +14330,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14386,11 +14386,11 @@ export namespace healthcare_v1 { ConsentEnforcementStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Consentenforcementstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ConsentEnforcementStatus( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Consentenforcementstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ConsentEnforcementStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Consentenforcementstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -14421,7 +14421,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Consentenforcementstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14477,11 +14477,11 @@ export namespace healthcare_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14510,7 +14510,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14566,11 +14566,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14599,7 +14599,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14652,11 +14652,11 @@ export namespace healthcare_v1 { executeBundle( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Executebundle, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeBundle( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Executebundle, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeBundle( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Executebundle, options: StreamMethodOptions | BodyResponseCallback, @@ -14685,7 +14685,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Executebundle; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14738,11 +14738,11 @@ export namespace healthcare_v1 { history( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$History, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; history( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$History, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; history( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$History, options: StreamMethodOptions | BodyResponseCallback, @@ -14771,7 +14771,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$History; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14827,11 +14827,11 @@ export namespace healthcare_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14860,7 +14860,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14913,11 +14913,11 @@ export namespace healthcare_v1 { PatientConsentEnforcementStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patientconsentenforcementstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; PatientConsentEnforcementStatus( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patientconsentenforcementstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; PatientConsentEnforcementStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patientconsentenforcementstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -14948,7 +14948,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patientconsentenforcementstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15004,11 +15004,11 @@ export namespace healthcare_v1 { PatientEverything( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patienteverything, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; PatientEverything( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patienteverything, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; PatientEverything( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patienteverything, options: StreamMethodOptions | BodyResponseCallback, @@ -15037,7 +15037,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patienteverything; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15093,11 +15093,11 @@ export namespace healthcare_v1 { read( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Read, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; read( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Read, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; read( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Read, options: StreamMethodOptions | BodyResponseCallback, @@ -15126,7 +15126,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Read; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15179,11 +15179,11 @@ export namespace healthcare_v1 { ResourcePurge( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcepurge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ResourcePurge( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcepurge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ResourcePurge( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcepurge, options: StreamMethodOptions | BodyResponseCallback, @@ -15212,7 +15212,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcepurge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15265,11 +15265,11 @@ export namespace healthcare_v1 { ResourceValidate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcevalidate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ResourceValidate( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcevalidate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ResourceValidate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcevalidate, options: StreamMethodOptions | BodyResponseCallback, @@ -15298,7 +15298,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcevalidate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15354,11 +15354,11 @@ export namespace healthcare_v1 { search( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -15387,7 +15387,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15443,11 +15443,11 @@ export namespace healthcare_v1 { searchType( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Searchtype, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchType( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Searchtype, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchType( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Searchtype, options: StreamMethodOptions | BodyResponseCallback, @@ -15476,7 +15476,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Searchtype; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15531,11 +15531,11 @@ export namespace healthcare_v1 { update( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -15564,7 +15564,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15617,11 +15617,11 @@ export namespace healthcare_v1 { vread( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Vread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; vread( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Vread, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; vread( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Vread, options: StreamMethodOptions | BodyResponseCallback, @@ -15650,7 +15650,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Vread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16022,11 +16022,11 @@ export namespace healthcare_v1 { deleteFhirOperation( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Deletefhiroperation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteFhirOperation( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Deletefhiroperation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteFhirOperation( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Deletefhiroperation, options: StreamMethodOptions | BodyResponseCallback, @@ -16055,7 +16055,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Deletefhiroperation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16108,11 +16108,11 @@ export namespace healthcare_v1 { getFhirOperationStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Getfhiroperationstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFhirOperationStatus( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Getfhiroperationstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getFhirOperationStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Getfhiroperationstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -16143,7 +16143,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Getfhiroperationstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16223,11 +16223,11 @@ export namespace healthcare_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16256,7 +16256,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16312,11 +16312,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16345,7 +16345,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16398,11 +16398,11 @@ export namespace healthcare_v1 { export( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -16431,7 +16431,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16484,11 +16484,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16517,7 +16517,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16570,11 +16570,11 @@ export namespace healthcare_v1 { getHL7v2StoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Gethl7v2storemetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHL7v2StoreMetrics( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Gethl7v2storemetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHL7v2StoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Gethl7v2storemetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -16607,8 +16607,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Gethl7v2storemetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16664,11 +16664,11 @@ export namespace healthcare_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -16697,7 +16697,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16753,11 +16753,11 @@ export namespace healthcare_v1 { import( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -16786,7 +16786,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16839,11 +16839,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16876,8 +16876,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16933,11 +16933,11 @@ export namespace healthcare_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16966,7 +16966,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17019,11 +17019,11 @@ export namespace healthcare_v1 { rollback( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -17052,7 +17052,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17108,11 +17108,11 @@ export namespace healthcare_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -17141,7 +17141,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17197,11 +17197,11 @@ export namespace healthcare_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -17236,8 +17236,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17444,11 +17444,11 @@ export namespace healthcare_v1 { create( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17477,7 +17477,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17533,11 +17533,11 @@ export namespace healthcare_v1 { delete( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17566,7 +17566,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17619,11 +17619,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17652,7 +17652,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17705,11 +17705,11 @@ export namespace healthcare_v1 { ingest( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Ingest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ingest( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Ingest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ingest( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Ingest, options: StreamMethodOptions | BodyResponseCallback, @@ -17742,8 +17742,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Ingest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17799,11 +17799,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17836,8 +17836,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17893,11 +17893,11 @@ export namespace healthcare_v1 { patch( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17926,7 +17926,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18072,11 +18072,11 @@ export namespace healthcare_v1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -18105,7 +18105,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18158,11 +18158,11 @@ export namespace healthcare_v1 { get( params: Params$Resource$Projects$Locations$Datasets$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18191,7 +18191,7 @@ export namespace healthcare_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18244,11 +18244,11 @@ export namespace healthcare_v1 { list( params: Params$Resource$Projects$Locations$Datasets$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18281,8 +18281,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18393,11 +18393,11 @@ export namespace healthcare_v1 { analyzeEntities( params: Params$Resource$Projects$Locations$Services$Nlp$Analyzeentities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params?: Params$Resource$Projects$Locations$Services$Nlp$Analyzeentities, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params: Params$Resource$Projects$Locations$Services$Nlp$Analyzeentities, options: StreamMethodOptions | BodyResponseCallback, @@ -18432,8 +18432,8 @@ export namespace healthcare_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Nlp$Analyzeentities; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/healthcare/v1beta1.ts b/src/apis/healthcare/v1beta1.ts index 12284f363fc..29429f65ef9 100644 --- a/src/apis/healthcare/v1beta1.ts +++ b/src/apis/healthcare/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3483,11 +3483,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3516,7 +3516,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3568,11 +3568,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3605,8 +3605,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3726,11 +3726,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3759,7 +3759,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3814,11 +3814,11 @@ export namespace healthcare_v1beta1 { deidentify( params: Params$Resource$Projects$Locations$Datasets$Deidentify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params?: Params$Resource$Projects$Locations$Datasets$Deidentify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params: Params$Resource$Projects$Locations$Datasets$Deidentify, options: StreamMethodOptions | BodyResponseCallback, @@ -3847,7 +3847,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Deidentify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3902,11 +3902,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3935,7 +3935,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3987,11 +3987,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4020,7 +4020,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4072,11 +4072,11 @@ export namespace healthcare_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4105,7 +4105,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4160,11 +4160,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4197,8 +4197,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4253,11 +4253,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4286,7 +4286,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4338,11 +4338,11 @@ export namespace healthcare_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4371,7 +4371,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4426,11 +4426,11 @@ export namespace healthcare_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4465,8 +4465,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4643,11 +4643,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4676,7 +4676,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4732,11 +4732,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4765,7 +4765,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4818,11 +4818,11 @@ export namespace healthcare_v1beta1 { evaluate( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Evaluate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evaluate( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Evaluate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; evaluate( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Evaluate, options: StreamMethodOptions | BodyResponseCallback, @@ -4851,7 +4851,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Evaluate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4907,11 +4907,11 @@ export namespace healthcare_v1beta1 { export( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -4940,7 +4940,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4996,11 +4996,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5029,7 +5029,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5082,11 +5082,11 @@ export namespace healthcare_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5115,7 +5115,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5171,11 +5171,11 @@ export namespace healthcare_v1beta1 { import( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -5204,7 +5204,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5260,11 +5260,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5299,8 +5299,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5358,11 +5358,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5391,7 +5391,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5444,11 +5444,11 @@ export namespace healthcare_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5477,7 +5477,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5533,11 +5533,11 @@ export namespace healthcare_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5572,8 +5572,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5773,11 +5773,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5806,7 +5806,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5862,11 +5862,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5895,7 +5895,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5948,11 +5948,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5981,7 +5981,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6034,11 +6034,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6071,8 +6071,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6128,11 +6128,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6161,7 +6161,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Annotationstores$Annotations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6307,11 +6307,11 @@ export namespace healthcare_v1beta1 { checkDataAccess( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Checkdataaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkDataAccess( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Checkdataaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkDataAccess( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Checkdataaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -6346,8 +6346,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Checkdataaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6403,11 +6403,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6436,7 +6436,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6492,11 +6492,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6525,7 +6525,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6578,11 +6578,11 @@ export namespace healthcare_v1beta1 { evaluateUserConsents( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Evaluateuserconsents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; evaluateUserConsents( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Evaluateuserconsents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; evaluateUserConsents( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Evaluateuserconsents, options: StreamMethodOptions | BodyResponseCallback, @@ -6617,8 +6617,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Evaluateuserconsents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6675,11 +6675,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6708,7 +6708,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6761,11 +6761,11 @@ export namespace healthcare_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6794,7 +6794,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6850,11 +6850,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6889,8 +6889,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6946,11 +6946,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6979,7 +6979,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7032,11 +7032,11 @@ export namespace healthcare_v1beta1 { queryAccessibleData( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Queryaccessibledata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryAccessibleData( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Queryaccessibledata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryAccessibleData( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Queryaccessibledata, options: StreamMethodOptions | BodyResponseCallback, @@ -7065,7 +7065,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Queryaccessibledata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7120,11 +7120,11 @@ export namespace healthcare_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7153,7 +7153,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7209,11 +7209,11 @@ export namespace healthcare_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7248,8 +7248,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7449,11 +7449,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7484,8 +7484,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7541,11 +7541,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7574,7 +7574,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7627,11 +7627,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7662,8 +7662,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7716,11 +7716,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7755,8 +7755,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7814,11 +7814,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7849,8 +7849,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Attributedefinitions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7976,11 +7976,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8009,7 +8009,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8065,11 +8065,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8098,7 +8098,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8151,11 +8151,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8184,7 +8184,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8237,11 +8237,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8276,8 +8276,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consentartifacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8388,11 +8388,11 @@ export namespace healthcare_v1beta1 { activate( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -8421,7 +8421,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8477,11 +8477,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8510,7 +8510,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8566,11 +8566,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8599,7 +8599,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8652,11 +8652,11 @@ export namespace healthcare_v1beta1 { deleteRevision( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Deleterevision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteRevision( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Deleterevision, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteRevision( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Deleterevision, options: StreamMethodOptions | BodyResponseCallback, @@ -8685,7 +8685,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Deleterevision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8741,11 +8741,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8774,7 +8774,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8827,11 +8827,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8864,8 +8864,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8921,11 +8921,11 @@ export namespace healthcare_v1beta1 { listRevisions( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Listrevisions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Listrevisions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Listrevisions, options: StreamMethodOptions | BodyResponseCallback, @@ -8960,8 +8960,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Listrevisions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9019,11 +9019,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9052,7 +9052,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9105,11 +9105,11 @@ export namespace healthcare_v1beta1 { reject( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Reject, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reject( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Reject, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reject( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Reject, options: StreamMethodOptions | BodyResponseCallback, @@ -9138,7 +9138,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Reject; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9194,11 +9194,11 @@ export namespace healthcare_v1beta1 { revoke( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Revoke, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Revoke, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Revoke, options: StreamMethodOptions | BodyResponseCallback, @@ -9227,7 +9227,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Consents$Revoke; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9414,11 +9414,11 @@ export namespace healthcare_v1beta1 { archive( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Archive, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; archive( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Archive, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; archive( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Archive, options: StreamMethodOptions | BodyResponseCallback, @@ -9453,8 +9453,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Archive; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9512,11 +9512,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9545,7 +9545,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9601,11 +9601,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9634,7 +9634,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9687,11 +9687,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9720,7 +9720,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9773,11 +9773,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9812,8 +9812,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9871,11 +9871,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9904,7 +9904,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Consentstores$Userdatamappings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10038,11 +10038,11 @@ export namespace healthcare_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10071,7 +10071,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10127,11 +10127,11 @@ export namespace healthcare_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10160,7 +10160,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10216,11 +10216,11 @@ export namespace healthcare_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -10255,8 +10255,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Datamapperworkspaces$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10365,11 +10365,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10398,7 +10398,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10454,11 +10454,11 @@ export namespace healthcare_v1beta1 { deidentify( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Deidentify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Deidentify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Deidentify, options: StreamMethodOptions | BodyResponseCallback, @@ -10487,7 +10487,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Deidentify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10543,11 +10543,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10576,7 +10576,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10629,11 +10629,11 @@ export namespace healthcare_v1beta1 { export( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -10662,7 +10662,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10718,11 +10718,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10751,7 +10751,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10804,11 +10804,11 @@ export namespace healthcare_v1beta1 { getDICOMStoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getdicomstoremetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDICOMStoreMetrics( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getdicomstoremetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getDICOMStoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getdicomstoremetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -10841,8 +10841,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Getdicomstoremetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10898,11 +10898,11 @@ export namespace healthcare_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10931,7 +10931,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10987,11 +10987,11 @@ export namespace healthcare_v1beta1 { import( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -11020,7 +11020,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11076,11 +11076,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11113,8 +11113,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11170,11 +11170,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11203,7 +11203,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11256,11 +11256,11 @@ export namespace healthcare_v1beta1 { searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -11289,7 +11289,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11344,11 +11344,11 @@ export namespace healthcare_v1beta1 { searchForSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforseries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForSeries( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforseries, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforseries, options: StreamMethodOptions | BodyResponseCallback, @@ -11377,7 +11377,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforseries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11432,11 +11432,11 @@ export namespace healthcare_v1beta1 { searchForStudies( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforstudies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForStudies( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforstudies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForStudies( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforstudies, options: StreamMethodOptions | BodyResponseCallback, @@ -11465,7 +11465,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Searchforstudies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11520,11 +11520,11 @@ export namespace healthcare_v1beta1 { setBlobStorageSettings( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setblobstoragesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBlobStorageSettings( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setblobstoragesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBlobStorageSettings( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setblobstoragesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -11555,7 +11555,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Setblobstoragesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11610,11 +11610,11 @@ export namespace healthcare_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -11643,7 +11643,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11699,11 +11699,11 @@ export namespace healthcare_v1beta1 { storeInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Storeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; storeInstances( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Storeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; storeInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Storeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -11732,7 +11732,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Storeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11787,11 +11787,11 @@ export namespace healthcare_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -11826,8 +11826,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12112,11 +12112,11 @@ export namespace healthcare_v1beta1 { getStudyMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Getstudymetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStudyMetrics( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Getstudymetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStudyMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Getstudymetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -12145,7 +12145,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Getstudymetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12201,11 +12201,11 @@ export namespace healthcare_v1beta1 { setBlobStorageSettings( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Setblobstoragesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setBlobStorageSettings( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Setblobstoragesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setBlobStorageSettings( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Setblobstoragesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -12236,7 +12236,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Setblobstoragesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12323,11 +12323,11 @@ export namespace healthcare_v1beta1 { getSeriesMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Getseriesmetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSeriesMetrics( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Getseriesmetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSeriesMetrics( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Getseriesmetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -12358,7 +12358,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Getseriesmetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12429,11 +12429,11 @@ export namespace healthcare_v1beta1 { getStorageInfo( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Instances$Getstorageinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStorageInfo( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Instances$Getstorageinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStorageInfo( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Instances$Getstorageinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -12462,7 +12462,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Dicomweb$Studies$Series$Instances$Getstorageinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12538,11 +12538,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12571,7 +12571,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12626,11 +12626,11 @@ export namespace healthcare_v1beta1 { retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievemetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievemetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievemetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -12659,7 +12659,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievemetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12714,11 +12714,11 @@ export namespace healthcare_v1beta1 { retrieveStudy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievestudy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveStudy( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievestudy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveStudy( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievestudy, options: StreamMethodOptions | BodyResponseCallback, @@ -12747,7 +12747,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Retrievestudy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12802,11 +12802,11 @@ export namespace healthcare_v1beta1 { searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -12835,7 +12835,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12890,11 +12890,11 @@ export namespace healthcare_v1beta1 { searchForSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforseries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForSeries( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforseries, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforseries, options: StreamMethodOptions | BodyResponseCallback, @@ -12923,7 +12923,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Searchforseries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12978,11 +12978,11 @@ export namespace healthcare_v1beta1 { storeInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Storeinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; storeInstances( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Storeinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; storeInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Storeinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -13011,7 +13011,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Storeinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13150,11 +13150,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13183,7 +13183,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13238,11 +13238,11 @@ export namespace healthcare_v1beta1 { retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrievemetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrievemetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrievemetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -13271,7 +13271,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrievemetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13326,11 +13326,11 @@ export namespace healthcare_v1beta1 { retrieveSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrieveseries, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveSeries( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrieveseries, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveSeries( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrieveseries, options: StreamMethodOptions | BodyResponseCallback, @@ -13359,7 +13359,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Retrieveseries; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13414,11 +13414,11 @@ export namespace healthcare_v1beta1 { searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Searchforinstances, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Searchforinstances, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForInstances( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Searchforinstances, options: StreamMethodOptions | BodyResponseCallback, @@ -13447,7 +13447,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Searchforinstances; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13564,11 +13564,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13597,7 +13597,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13652,11 +13652,11 @@ export namespace healthcare_v1beta1 { retrieveInstance( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieveinstance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveInstance( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieveinstance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveInstance( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieveinstance, options: StreamMethodOptions | BodyResponseCallback, @@ -13685,7 +13685,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieveinstance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13740,11 +13740,11 @@ export namespace healthcare_v1beta1 { retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrievemetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrievemetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveMetadata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrievemetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -13773,7 +13773,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrievemetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13828,11 +13828,11 @@ export namespace healthcare_v1beta1 { retrieveRendered( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieverendered, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveRendered( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieverendered, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveRendered( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieverendered, options: StreamMethodOptions | BodyResponseCallback, @@ -13861,7 +13861,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Retrieverendered; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13972,11 +13972,11 @@ export namespace healthcare_v1beta1 { retrieveBulkdata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Bulkdata$Retrievebulkdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveBulkdata( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Bulkdata$Retrievebulkdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveBulkdata( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Bulkdata$Retrievebulkdata, options: StreamMethodOptions | BodyResponseCallback, @@ -14005,7 +14005,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Bulkdata$Retrievebulkdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14079,11 +14079,11 @@ export namespace healthcare_v1beta1 { retrieveFrames( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieveframes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveFrames( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieveframes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveFrames( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieveframes, options: StreamMethodOptions | BodyResponseCallback, @@ -14112,7 +14112,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieveframes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14167,11 +14167,11 @@ export namespace healthcare_v1beta1 { retrieveRendered( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieverendered, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveRendered( params?: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieverendered, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveRendered( params: Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieverendered, options: StreamMethodOptions | BodyResponseCallback, @@ -14200,7 +14200,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames$Retrieverendered; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14298,11 +14298,11 @@ export namespace healthcare_v1beta1 { applyAdminConsents( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyadminconsents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyAdminConsents( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyadminconsents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyAdminConsents( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyadminconsents, options: StreamMethodOptions | BodyResponseCallback, @@ -14331,7 +14331,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyadminconsents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14387,11 +14387,11 @@ export namespace healthcare_v1beta1 { applyConsents( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyconsents, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyConsents( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyconsents, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyConsents( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyconsents, options: StreamMethodOptions | BodyResponseCallback, @@ -14420,7 +14420,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Applyconsents; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14476,11 +14476,11 @@ export namespace healthcare_v1beta1 { bulkExportGroup( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Bulkexportgroup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkExportGroup( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Bulkexportgroup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkExportGroup( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Bulkexportgroup, options: StreamMethodOptions | BodyResponseCallback, @@ -14509,7 +14509,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Bulkexportgroup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14565,11 +14565,11 @@ export namespace healthcare_v1beta1 { configureSearch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Configuresearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; configureSearch( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Configuresearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; configureSearch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Configuresearch, options: StreamMethodOptions | BodyResponseCallback, @@ -14598,7 +14598,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Configuresearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14654,11 +14654,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14687,7 +14687,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14743,11 +14743,11 @@ export namespace healthcare_v1beta1 { deidentify( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Deidentify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Deidentify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deidentify( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Deidentify, options: StreamMethodOptions | BodyResponseCallback, @@ -14776,7 +14776,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Deidentify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14832,11 +14832,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14865,7 +14865,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14918,11 +14918,11 @@ export namespace healthcare_v1beta1 { explainDataAccess( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Explaindataaccess, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; explainDataAccess( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Explaindataaccess, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; explainDataAccess( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Explaindataaccess, options: StreamMethodOptions | BodyResponseCallback, @@ -14957,8 +14957,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Explaindataaccess; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15014,11 +15014,11 @@ export namespace healthcare_v1beta1 { export( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -15047,7 +15047,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15103,11 +15103,11 @@ export namespace healthcare_v1beta1 { exportHistory( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Exporthistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportHistory( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Exporthistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportHistory( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Exporthistory, options: StreamMethodOptions | BodyResponseCallback, @@ -15136,7 +15136,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Exporthistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15192,11 +15192,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15225,7 +15225,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15278,11 +15278,11 @@ export namespace healthcare_v1beta1 { getFHIRStoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getfhirstoremetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFHIRStoreMetrics( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getfhirstoremetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getFHIRStoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getfhirstoremetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -15313,7 +15313,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Getfhirstoremetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15369,11 +15369,11 @@ export namespace healthcare_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -15402,7 +15402,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15458,11 +15458,11 @@ export namespace healthcare_v1beta1 { import( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -15491,7 +15491,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15547,11 +15547,11 @@ export namespace healthcare_v1beta1 { importHistory( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Importhistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importHistory( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Importhistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importHistory( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Importhistory, options: StreamMethodOptions | BodyResponseCallback, @@ -15580,7 +15580,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Importhistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15636,11 +15636,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15673,8 +15673,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15730,11 +15730,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15763,7 +15763,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15816,11 +15816,11 @@ export namespace healthcare_v1beta1 { rollback( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -15849,7 +15849,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15905,11 +15905,11 @@ export namespace healthcare_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -15938,7 +15938,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15994,11 +15994,11 @@ export namespace healthcare_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -16033,8 +16033,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16347,11 +16347,11 @@ export namespace healthcare_v1beta1 { BinaryCreate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binarycreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; BinaryCreate( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binarycreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; BinaryCreate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binarycreate, options: StreamMethodOptions | BodyResponseCallback, @@ -16380,7 +16380,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binarycreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16436,11 +16436,11 @@ export namespace healthcare_v1beta1 { BinaryRead( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; BinaryRead( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryread, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; BinaryRead( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryread, options: StreamMethodOptions | BodyResponseCallback, @@ -16469,7 +16469,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16522,11 +16522,11 @@ export namespace healthcare_v1beta1 { BinaryUpdate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; BinaryUpdate( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; BinaryUpdate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -16555,7 +16555,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16608,11 +16608,11 @@ export namespace healthcare_v1beta1 { BinaryVread( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryvread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; BinaryVread( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryvread, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; BinaryVread( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryvread, options: StreamMethodOptions | BodyResponseCallback, @@ -16641,7 +16641,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Binaryvread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16694,11 +16694,11 @@ export namespace healthcare_v1beta1 { bulkExport( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Bulkexport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkExport( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Bulkexport, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkExport( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Bulkexport, options: StreamMethodOptions | BodyResponseCallback, @@ -16727,7 +16727,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Bulkexport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16783,11 +16783,11 @@ export namespace healthcare_v1beta1 { capabilities( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Capabilities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; capabilities( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Capabilities, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; capabilities( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Capabilities, options: StreamMethodOptions | BodyResponseCallback, @@ -16816,7 +16816,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Capabilities; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16872,11 +16872,11 @@ export namespace healthcare_v1beta1 { ConceptMapSearchTranslate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conceptmapsearchtranslate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ConceptMapSearchTranslate( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conceptmapsearchtranslate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ConceptMapSearchTranslate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conceptmapsearchtranslate, options: StreamMethodOptions | BodyResponseCallback, @@ -16907,7 +16907,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conceptmapsearchtranslate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16962,11 +16962,11 @@ export namespace healthcare_v1beta1 { ConceptMapTranslate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conceptmaptranslate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ConceptMapTranslate( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conceptmaptranslate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ConceptMapTranslate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conceptmaptranslate, options: StreamMethodOptions | BodyResponseCallback, @@ -16995,7 +16995,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conceptmaptranslate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17051,11 +17051,11 @@ export namespace healthcare_v1beta1 { conditionalDelete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionaldelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; conditionalDelete( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionaldelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; conditionalDelete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionaldelete, options: StreamMethodOptions | BodyResponseCallback, @@ -17084,7 +17084,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionaldelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17140,11 +17140,11 @@ export namespace healthcare_v1beta1 { conditionalPatch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalpatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; conditionalPatch( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalpatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; conditionalPatch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalpatch, options: StreamMethodOptions | BodyResponseCallback, @@ -17173,7 +17173,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalpatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17229,11 +17229,11 @@ export namespace healthcare_v1beta1 { conditionalUpdate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; conditionalUpdate( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; conditionalUpdate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -17262,7 +17262,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Conditionalupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17318,11 +17318,11 @@ export namespace healthcare_v1beta1 { ConsentEnforcementStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Consentenforcementstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ConsentEnforcementStatus( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Consentenforcementstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ConsentEnforcementStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Consentenforcementstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -17353,7 +17353,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Consentenforcementstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17408,11 +17408,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17441,7 +17441,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17497,11 +17497,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17530,7 +17530,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17583,11 +17583,11 @@ export namespace healthcare_v1beta1 { EncounterEverything( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Encountereverything, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; EncounterEverything( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Encountereverything, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; EncounterEverything( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Encountereverything, options: StreamMethodOptions | BodyResponseCallback, @@ -17616,7 +17616,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Encountereverything; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17672,11 +17672,11 @@ export namespace healthcare_v1beta1 { executeBundle( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Executebundle, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeBundle( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Executebundle, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeBundle( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Executebundle, options: StreamMethodOptions | BodyResponseCallback, @@ -17705,7 +17705,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Executebundle; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17761,11 +17761,11 @@ export namespace healthcare_v1beta1 { history( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$History, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; history( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$History, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; history( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$History, options: StreamMethodOptions | BodyResponseCallback, @@ -17794,7 +17794,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$History; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17850,11 +17850,11 @@ export namespace healthcare_v1beta1 { ObservationLastn( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Observationlastn, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ObservationLastn( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Observationlastn, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ObservationLastn( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Observationlastn, options: StreamMethodOptions | BodyResponseCallback, @@ -17883,7 +17883,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Observationlastn; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17938,11 +17938,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17971,7 +17971,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18024,11 +18024,11 @@ export namespace healthcare_v1beta1 { PatientConsentEnforcementStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patientconsentenforcementstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; PatientConsentEnforcementStatus( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patientconsentenforcementstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; PatientConsentEnforcementStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patientconsentenforcementstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -18059,7 +18059,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patientconsentenforcementstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18114,11 +18114,11 @@ export namespace healthcare_v1beta1 { PatientEverything( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patienteverything, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; PatientEverything( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patienteverything, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; PatientEverything( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patienteverything, options: StreamMethodOptions | BodyResponseCallback, @@ -18147,7 +18147,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Patienteverything; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18203,11 +18203,11 @@ export namespace healthcare_v1beta1 { read( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Read, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; read( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Read, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; read( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Read, options: StreamMethodOptions | BodyResponseCallback, @@ -18236,7 +18236,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Read; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18289,11 +18289,11 @@ export namespace healthcare_v1beta1 { ResourceIncomingReferences( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourceincomingreferences, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ResourceIncomingReferences( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourceincomingreferences, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ResourceIncomingReferences( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourceincomingreferences, options: StreamMethodOptions | BodyResponseCallback, @@ -18324,7 +18324,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourceincomingreferences; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18380,11 +18380,11 @@ export namespace healthcare_v1beta1 { ResourcePurge( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcepurge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ResourcePurge( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcepurge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ResourcePurge( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcepurge, options: StreamMethodOptions | BodyResponseCallback, @@ -18413,7 +18413,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcepurge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18469,11 +18469,11 @@ export namespace healthcare_v1beta1 { ResourceValidate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcevalidate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ResourceValidate( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcevalidate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ResourceValidate( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcevalidate, options: StreamMethodOptions | BodyResponseCallback, @@ -18502,7 +18502,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Resourcevalidate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18557,11 +18557,11 @@ export namespace healthcare_v1beta1 { search( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -18590,7 +18590,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18646,11 +18646,11 @@ export namespace healthcare_v1beta1 { searchType( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Searchtype, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchType( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Searchtype, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchType( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Searchtype, options: StreamMethodOptions | BodyResponseCallback, @@ -18679,7 +18679,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Searchtype; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18734,11 +18734,11 @@ export namespace healthcare_v1beta1 { update( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -18767,7 +18767,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18820,11 +18820,11 @@ export namespace healthcare_v1beta1 { vread( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Vread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; vread( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Vread, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; vread( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Vread, options: StreamMethodOptions | BodyResponseCallback, @@ -18853,7 +18853,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Fhir$Vread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19332,11 +19332,11 @@ export namespace healthcare_v1beta1 { deleteFhirOperation( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Deletefhiroperation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteFhirOperation( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Deletefhiroperation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteFhirOperation( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Deletefhiroperation, options: StreamMethodOptions | BodyResponseCallback, @@ -19365,7 +19365,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Deletefhiroperation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19418,11 +19418,11 @@ export namespace healthcare_v1beta1 { getFhirOperationStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Getfhiroperationstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getFhirOperationStatus( params?: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Getfhiroperationstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getFhirOperationStatus( params: Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Getfhiroperationstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -19453,7 +19453,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Fhirstores$Operations$Getfhiroperationstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19533,11 +19533,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19566,7 +19566,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19622,11 +19622,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19655,7 +19655,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19708,11 +19708,11 @@ export namespace healthcare_v1beta1 { export( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -19741,7 +19741,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19797,11 +19797,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19830,7 +19830,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19883,11 +19883,11 @@ export namespace healthcare_v1beta1 { getHL7v2StoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Gethl7v2storemetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHL7v2StoreMetrics( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Gethl7v2storemetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHL7v2StoreMetrics( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Gethl7v2storemetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -19920,8 +19920,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Gethl7v2storemetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19977,11 +19977,11 @@ export namespace healthcare_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -20010,7 +20010,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20066,11 +20066,11 @@ export namespace healthcare_v1beta1 { import( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -20099,7 +20099,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20155,11 +20155,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20192,8 +20192,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20249,11 +20249,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20282,7 +20282,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20335,11 +20335,11 @@ export namespace healthcare_v1beta1 { rollback( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -20368,7 +20368,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20424,11 +20424,11 @@ export namespace healthcare_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -20457,7 +20457,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20513,11 +20513,11 @@ export namespace healthcare_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -20552,8 +20552,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20760,11 +20760,11 @@ export namespace healthcare_v1beta1 { batchGet( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -20799,8 +20799,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20856,11 +20856,11 @@ export namespace healthcare_v1beta1 { create( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20889,7 +20889,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20945,11 +20945,11 @@ export namespace healthcare_v1beta1 { delete( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20978,7 +20978,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21031,11 +21031,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21064,7 +21064,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21117,11 +21117,11 @@ export namespace healthcare_v1beta1 { ingest( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Ingest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ingest( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Ingest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ingest( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Ingest, options: StreamMethodOptions | BodyResponseCallback, @@ -21154,8 +21154,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Ingest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21211,11 +21211,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21248,8 +21248,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21305,11 +21305,11 @@ export namespace healthcare_v1beta1 { patch( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21338,7 +21338,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Hl7v2stores$Messages$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21499,11 +21499,11 @@ export namespace healthcare_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Datasets$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -21532,7 +21532,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21588,11 +21588,11 @@ export namespace healthcare_v1beta1 { get( params: Params$Resource$Projects$Locations$Datasets$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21621,7 +21621,7 @@ export namespace healthcare_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21674,11 +21674,11 @@ export namespace healthcare_v1beta1 { list( params: Params$Resource$Projects$Locations$Datasets$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21711,8 +21711,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21823,11 +21823,11 @@ export namespace healthcare_v1beta1 { analyzeEntities( params: Params$Resource$Projects$Locations$Services$Nlp$Analyzeentities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params?: Params$Resource$Projects$Locations$Services$Nlp$Analyzeentities, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params: Params$Resource$Projects$Locations$Services$Nlp$Analyzeentities, options: StreamMethodOptions | BodyResponseCallback, @@ -21862,8 +21862,8 @@ export namespace healthcare_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Nlp$Analyzeentities; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/homegraph/index.ts b/src/apis/homegraph/index.ts index 6508f7a482c..4f64428197b 100644 --- a/src/apis/homegraph/index.ts +++ b/src/apis/homegraph/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/homegraph/package.json b/src/apis/homegraph/package.json index f0f0425a651..104057d84a5 100644 --- a/src/apis/homegraph/package.json +++ b/src/apis/homegraph/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/homegraph/v1.ts b/src/apis/homegraph/v1.ts index fb3edd573d7..50f9542be03 100644 --- a/src/apis/homegraph/v1.ts +++ b/src/apis/homegraph/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -430,11 +430,11 @@ export namespace homegraph_v1 { delete( params: Params$Resource$Agentusers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Agentusers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Agentusers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -463,7 +463,10 @@ export namespace homegraph_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Agentusers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -534,11 +537,11 @@ export namespace homegraph_v1 { query( params: Params$Resource$Devices$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Devices$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Devices$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -567,7 +570,10 @@ export namespace homegraph_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -618,11 +624,13 @@ export namespace homegraph_v1 { reportStateAndNotification( params: Params$Resource$Devices$Reportstateandnotification, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportStateAndNotification( params?: Params$Resource$Devices$Reportstateandnotification, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; reportStateAndNotification( params: Params$Resource$Devices$Reportstateandnotification, options: StreamMethodOptions | BodyResponseCallback, @@ -657,8 +665,10 @@ export namespace homegraph_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Reportstateandnotification; let options = (optionsOrCallback || {}) as MethodOptions; @@ -715,11 +725,11 @@ export namespace homegraph_v1 { requestSync( params: Params$Resource$Devices$Requestsync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; requestSync( params?: Params$Resource$Devices$Requestsync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; requestSync( params: Params$Resource$Devices$Requestsync, options: StreamMethodOptions | BodyResponseCallback, @@ -754,8 +764,8 @@ export namespace homegraph_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Requestsync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -810,11 +820,11 @@ export namespace homegraph_v1 { sync( params: Params$Resource$Devices$Sync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sync( params?: Params$Resource$Devices$Sync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sync( params: Params$Resource$Devices$Sync, options: StreamMethodOptions | BodyResponseCallback, @@ -843,7 +853,10 @@ export namespace homegraph_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devices$Sync; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/iam/index.ts b/src/apis/iam/index.ts index 3f600c6f8ed..0389e9d40f8 100644 --- a/src/apis/iam/index.ts +++ b/src/apis/iam/index.ts @@ -54,7 +54,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/iam/package.json b/src/apis/iam/package.json index 12f1259a5e8..070f3bb8b82 100644 --- a/src/apis/iam/package.json +++ b/src/apis/iam/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/iam/v1.ts b/src/apis/iam/v1.ts index 410df1565e2..36727cb06bf 100644 --- a/src/apis/iam/v1.ts +++ b/src/apis/iam/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -415,7 +415,7 @@ export namespace iam_v1 { */ export interface Schema$GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2ClientQueryParameters { /** - * Optional. The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The groups should be mail enabled and security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details. + * Optional. The filter used to request specific records from the IdP. By default, all of the groups that are associated with a user are fetched. For Microsoft Entra ID, you can add `$search` query parameters using [Keyword Query Language] (https://learn.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference). To learn more about `$search` querying in Microsoft Entra ID, see [Use the `$search` query parameter] (https://learn.microsoft.com/en-us/graph/search-query-parameter). Additionally, Workforce Identity Federation automatically adds the following [`$filter` query parameters] (https://learn.microsoft.com/en-us/graph/filter-query-parameter), based on the value of `attributes_type`. Values passed to `filter` are converted to `$search` query parameters. Additional `$filter` query parameters cannot be added using this field. * `AZURE_AD_GROUPS_MAIL`: `mailEnabled` and `securityEnabled` filters are applied. * `AZURE_AD_GROUPS_ID`: `securityEnabled` filter is applied. */ filter?: string | null; } @@ -497,19 +497,19 @@ export namespace iam_v1 { */ export interface Schema$InlineCertificateIssuanceConfig { /** - * Optional. A required mapping of a cloud region to the CA pool resource located in that region used for certificate issuance, adhering to these constraints: * Key format: A supported cloud region name equivalent to the location identifier in the corresponding map entry's value. * Value format: A valid CA pool resource path format like: "projects/{project\}/locations/{location\}/caPools/{ca_pool\}" * Region Matching: Workloads are ONLY issued certificates from CA pools within the same region. Also the CA pool region (in value) must match the workload's region (key). + * Optional. A required mapping of a Google Cloud region to the CA pool resource located in that region. The CA pool is used for certificate issuance, adhering to the following constraints: * Key format: A supported cloud region name equivalent to the location identifier in the corresponding map entry's value. * Value format: A valid CA pool resource path format like: "projects/{project\}/locations/{location\}/caPools/{ca_pool\}" * Region Matching: Workloads are ONLY issued certificates from CA pools within the same region. Also the CA pool region (in value) must match the workload's region (key). */ caPools?: {[key: string]: string} | null; /** - * Optional. Key algorithm to use when generating the key pair. This key pair will be used to create the certificate. If unspecified, this will default to ECDSA_P256. + * Optional. Key algorithm to use when generating the key pair. This key pair will be used to create the certificate. If not specified, this will default to ECDSA_P256. */ keyAlgorithm?: string | null; /** - * Optional. Lifetime of the workload certificates issued by the CA pool. Must be between 10 hours - 30 days. If unspecified, this will be defaulted to 24 hours. + * Optional. Lifetime of the workload certificates issued by the CA pool. Must be between 10 hours and 30 days. If not specified, this will be defaulted to 24 hours. */ lifetime?: string | null; /** - * Optional. Rotation window percentage indicating when certificate rotation should be initiated based on remaining lifetime. Must be between 10 - 80. If unspecified, this will be defaulted to 50. + * Optional. Rotation window percentage indicating when certificate rotation should be initiated based on remaining lifetime. Must be between 10 and 80. If not specified, this will be defaulted to 50. */ rotationWindowPercentage?: number | null; } @@ -518,7 +518,7 @@ export namespace iam_v1 { */ export interface Schema$InlineTrustConfig { /** - * Optional. Maps specific trust domains (e.g., "example.com") to their corresponding TrustStore objects, which contain the trusted root certificates for that domain. There can be a maximum of 10 trust domain entries in this map. Note that a trust domain automatically trusts itself and don't need to be specified here. If however, this WorkloadIdentityPool's trust domain contains any trust anchors in the additional_trust_bundles map, those trust anchors will be *appended to* the Trust Bundle automatically derived from your InlineCertificateIssuanceConfig's ca_pools. + * Optional. Maps specific trust domains (e.g., "example.com") to their corresponding TrustStore, which contain the trusted root certificates for that domain. There can be a maximum of 10 trust domain entries in this map. Note that a trust domain automatically trusts itself and don't need to be specified here. If however, this WorkloadIdentityPool's trust domain contains any trust anchors in the additional_trust_bundles map, those trust anchors will be *appended to* the trust bundle automatically derived from your InlineCertificateIssuanceConfig's ca_pools. */ additionalTrustBundles?: {[key: string]: Schema$TrustStore} | null; } @@ -860,7 +860,7 @@ export namespace iam_v1 { */ allowedAudiences?: string[] | null; /** - * Required. The OIDC issuer URL. Must be an HTTPS endpoint. Used per OpenID Connect Discovery 1.0 spec to locate the provider's public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token. These public key types must be 'EC' or 'RSA'. + * Required. The OIDC issuer URL. Must be an HTTPS endpoint. Per OpenID Connect Discovery 1.0 spec, the OIDC issuer URL is used to locate the provider's public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token. These public key types must be 'EC' or 'RSA'. */ issuerUri?: string | null; /** @@ -1042,7 +1042,7 @@ export namespace iam_v1 { */ export interface Schema$QueryGrantableRolesRequest { /** - * Required. The full resource name to query from the list of grantable roles. The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. + * Required. Required. The full resource name to query from the list of grantable roles. The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. */ fullResourceName?: string | null; /** @@ -1376,15 +1376,15 @@ export namespace iam_v1 { pemCertificate?: string | null; } /** - * Trust store that contains trust anchors and optional intermediate CAs used in PKI to build trust chain and verify client's identity. + * Trust store that contains trust anchors and optional intermediate CAs used in PKI to build trust chain and verify a client's identity. */ export interface Schema$TrustStore { /** - * Optional. Set of intermediate CA certificates used for building the trust chain to trust anchor. IMPORTANT: * Intermediate CAs are only supported when configuring x509 federation. + * Optional. Set of intermediate CA certificates used for building the trust chain to the trust anchor. Important: Intermediate CAs are only supported for X.509 federation. */ intermediateCas?: Schema$IntermediateCA[]; /** - * Required. List of Trust Anchors to be used while performing validation against a given TrustStore. The incoming end entity's certificate must be chained up to one of the trust anchors here. + * Required. List of trust anchors to be used while performing validation against a given TrustStore. The incoming end entity's certificate must be in the trust chain of one of the trust anchors here. */ trustAnchors?: Schema$TrustAnchor[]; } @@ -1513,6 +1513,10 @@ export namespace iam_v1 { * Optional. A user-specified description of the provider. Cannot exceed 256 characters. */ description?: string | null; + /** + * Optional. If true, populates additional debug information in Cloud Audit Logs for this provider. Logged attribute mappings and values can be found in `sts.googleapis.com` data access logs. Default value is false. + */ + detailedAuditLogging?: boolean | null; /** * Optional. Disables the workforce pool provider. You cannot use a disabled provider to exchange tokens. However, existing tokens still grant access. */ @@ -1753,7 +1757,7 @@ export namespace iam_v1 { */ export interface Schema$X509 { /** - * Required. A Trust store, use this trust store as a wrapper to config the trust anchor and optional intermediate cas to help build the trust chain for the incoming end entity certificate. Follow the x509 guidelines to define those PEM encoded certs. Only 1 trust store is currently supported. + * Required. A TrustStore. Use this trust store as a wrapper to config the trust anchor and optional intermediate cas to help build the trust chain for the incoming end entity certificate. Follow the X.509 guidelines to define those PEM encoded certs. Only one trust store is currently supported. */ trustStore?: Schema$TrustStore; } @@ -1775,11 +1779,11 @@ export namespace iam_v1 { lintPolicy( params: Params$Resource$Iampolicies$Lintpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lintPolicy( params?: Params$Resource$Iampolicies$Lintpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lintPolicy( params: Params$Resource$Iampolicies$Lintpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1810,8 +1814,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Iampolicies$Lintpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1866,11 +1870,11 @@ export namespace iam_v1 { queryAuditableServices( params: Params$Resource$Iampolicies$Queryauditableservices, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryAuditableServices( params?: Params$Resource$Iampolicies$Queryauditableservices, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryAuditableServices( params: Params$Resource$Iampolicies$Queryauditableservices, options: StreamMethodOptions | BodyResponseCallback, @@ -1905,8 +1909,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Iampolicies$Queryauditableservices; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2006,11 +2010,11 @@ export namespace iam_v1 { create( params: Params$Resource$Locations$Workforcepools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Locations$Workforcepools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Locations$Workforcepools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2039,7 +2043,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2094,11 +2101,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Locations$Workforcepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Workforcepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Workforcepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2127,7 +2134,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2179,11 +2189,11 @@ export namespace iam_v1 { get( params: Params$Resource$Locations$Workforcepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Workforcepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Workforcepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2212,7 +2222,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2264,11 +2277,11 @@ export namespace iam_v1 { getIamPolicy( params: Params$Resource$Locations$Workforcepools$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Locations$Workforcepools$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Locations$Workforcepools$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2297,7 +2310,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2352,11 +2368,11 @@ export namespace iam_v1 { list( params: Params$Resource$Locations$Workforcepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Workforcepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$Workforcepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2391,8 +2407,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2447,11 +2463,11 @@ export namespace iam_v1 { patch( params: Params$Resource$Locations$Workforcepools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Locations$Workforcepools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Locations$Workforcepools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2480,7 +2496,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2532,11 +2551,11 @@ export namespace iam_v1 { setIamPolicy( params: Params$Resource$Locations$Workforcepools$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Locations$Workforcepools$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Locations$Workforcepools$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2565,7 +2584,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2620,11 +2642,11 @@ export namespace iam_v1 { testIamPermissions( params: Params$Resource$Locations$Workforcepools$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Locations$Workforcepools$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Locations$Workforcepools$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2659,8 +2681,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2716,11 +2738,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Locations$Workforcepools$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Locations$Workforcepools$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Locations$Workforcepools$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2749,7 +2771,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2929,11 +2954,11 @@ export namespace iam_v1 { get( params: Params$Resource$Locations$Workforcepools$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Workforcepools$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Workforcepools$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2962,7 +2987,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3038,11 +3066,11 @@ export namespace iam_v1 { create( params: Params$Resource$Locations$Workforcepools$Providers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Locations$Workforcepools$Providers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Locations$Workforcepools$Providers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3071,7 +3099,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3127,11 +3158,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Locations$Workforcepools$Providers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Workforcepools$Providers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Workforcepools$Providers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3160,7 +3191,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3213,11 +3247,11 @@ export namespace iam_v1 { get( params: Params$Resource$Locations$Workforcepools$Providers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Workforcepools$Providers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Workforcepools$Providers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3250,8 +3284,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3303,11 +3337,13 @@ export namespace iam_v1 { list( params: Params$Resource$Locations$Workforcepools$Providers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Workforcepools$Providers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Locations$Workforcepools$Providers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3342,8 +3378,10 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3400,11 +3438,11 @@ export namespace iam_v1 { patch( params: Params$Resource$Locations$Workforcepools$Providers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Locations$Workforcepools$Providers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Locations$Workforcepools$Providers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3433,7 +3471,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3485,11 +3526,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Locations$Workforcepools$Providers$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Locations$Workforcepools$Providers$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Locations$Workforcepools$Providers$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -3518,7 +3559,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3664,11 +3708,11 @@ export namespace iam_v1 { create( params: Params$Resource$Locations$Workforcepools$Providers$Keys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Locations$Workforcepools$Providers$Keys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Locations$Workforcepools$Providers$Keys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3697,7 +3741,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Keys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3750,11 +3797,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Locations$Workforcepools$Providers$Keys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Workforcepools$Providers$Keys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Workforcepools$Providers$Keys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3783,7 +3830,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Keys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3836,11 +3886,11 @@ export namespace iam_v1 { get( params: Params$Resource$Locations$Workforcepools$Providers$Keys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Workforcepools$Providers$Keys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Workforcepools$Providers$Keys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3873,8 +3923,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Keys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3927,11 +3977,13 @@ export namespace iam_v1 { list( params: Params$Resource$Locations$Workforcepools$Providers$Keys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Workforcepools$Providers$Keys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Locations$Workforcepools$Providers$Keys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3966,8 +4018,10 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Keys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4022,11 +4076,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Locations$Workforcepools$Providers$Keys$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Locations$Workforcepools$Providers$Keys$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Locations$Workforcepools$Providers$Keys$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -4055,7 +4109,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Keys$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4180,11 +4237,11 @@ export namespace iam_v1 { get( params: Params$Resource$Locations$Workforcepools$Providers$Keys$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Workforcepools$Providers$Keys$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Workforcepools$Providers$Keys$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4213,7 +4270,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Keys$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4281,11 +4341,11 @@ export namespace iam_v1 { get( params: Params$Resource$Locations$Workforcepools$Providers$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Workforcepools$Providers$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Workforcepools$Providers$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4314,7 +4374,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Providers$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4385,11 +4448,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Locations$Workforcepools$Subjects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Workforcepools$Subjects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Workforcepools$Subjects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4418,7 +4481,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Subjects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4470,11 +4536,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Locations$Workforcepools$Subjects$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Locations$Workforcepools$Subjects$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Locations$Workforcepools$Subjects$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -4503,7 +4569,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Subjects$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4586,11 +4655,11 @@ export namespace iam_v1 { get( params: Params$Resource$Locations$Workforcepools$Subjects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Workforcepools$Subjects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Workforcepools$Subjects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4619,7 +4688,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Subjects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4696,11 +4768,11 @@ export namespace iam_v1 { create( params: Params$Resource$Organizations$Roles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Roles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Roles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4729,7 +4801,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Roles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4784,11 +4859,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Organizations$Roles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Roles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Roles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4817,7 +4892,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Roles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4869,11 +4947,11 @@ export namespace iam_v1 { get( params: Params$Resource$Organizations$Roles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Roles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Roles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4902,7 +4980,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Roles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4954,11 +5035,11 @@ export namespace iam_v1 { list( params: Params$Resource$Organizations$Roles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Roles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Roles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4989,8 +5070,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Roles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5045,11 +5126,11 @@ export namespace iam_v1 { patch( params: Params$Resource$Organizations$Roles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Roles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Roles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5078,7 +5159,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Roles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5130,11 +5214,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Organizations$Roles$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Organizations$Roles$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Organizations$Roles$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -5163,7 +5247,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Roles$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5307,11 +5394,13 @@ export namespace iam_v1 { queryTestablePermissions( params: Params$Resource$Permissions$Querytestablepermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryTestablePermissions( params?: Params$Resource$Permissions$Querytestablepermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; queryTestablePermissions( params: Params$Resource$Permissions$Querytestablepermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5346,8 +5435,10 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Querytestablepermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5451,11 +5542,11 @@ export namespace iam_v1 { create( params: Params$Resource$Projects$Locations$Oauthclients$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Oauthclients$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Oauthclients$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5484,7 +5575,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Oauthclients$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5539,11 +5633,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Projects$Locations$Oauthclients$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Oauthclients$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Oauthclients$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5572,7 +5666,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Oauthclients$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5624,11 +5721,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Oauthclients$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Oauthclients$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Oauthclients$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5657,7 +5754,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Oauthclients$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5709,11 +5809,11 @@ export namespace iam_v1 { list( params: Params$Resource$Projects$Locations$Oauthclients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Oauthclients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Oauthclients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5746,8 +5846,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Oauthclients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5802,11 +5902,11 @@ export namespace iam_v1 { patch( params: Params$Resource$Projects$Locations$Oauthclients$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Oauthclients$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Oauthclients$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5835,7 +5935,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Oauthclients$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5887,11 +5990,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Projects$Locations$Oauthclients$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Oauthclients$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Locations$Oauthclients$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -5920,7 +6023,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Oauthclients$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6060,11 +6166,11 @@ export namespace iam_v1 { create( params: Params$Resource$Projects$Locations$Oauthclients$Credentials$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Oauthclients$Credentials$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Oauthclients$Credentials$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6097,8 +6203,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Oauthclients$Credentials$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6154,11 +6260,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Projects$Locations$Oauthclients$Credentials$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Oauthclients$Credentials$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Oauthclients$Credentials$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6187,7 +6293,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Oauthclients$Credentials$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6240,11 +6349,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Oauthclients$Credentials$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Oauthclients$Credentials$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Oauthclients$Credentials$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6277,8 +6386,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Oauthclients$Credentials$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6331,11 +6440,13 @@ export namespace iam_v1 { list( params: Params$Resource$Projects$Locations$Oauthclients$Credentials$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Oauthclients$Credentials$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Oauthclients$Credentials$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6370,8 +6481,10 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Oauthclients$Credentials$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6429,11 +6542,11 @@ export namespace iam_v1 { patch( params: Params$Resource$Projects$Locations$Oauthclients$Credentials$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Oauthclients$Credentials$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Oauthclients$Credentials$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6466,8 +6579,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Oauthclients$Credentials$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6596,11 +6709,11 @@ export namespace iam_v1 { create( params: Params$Resource$Projects$Locations$Workloadidentitypools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workloadidentitypools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6629,7 +6742,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6685,11 +6801,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6718,7 +6834,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6771,11 +6890,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6808,8 +6927,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6852,7 +6971,7 @@ export namespace iam_v1 { } /** - * Gets IAM policies for one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity + * Gets the IAM policy of a WorkloadIdentityPool. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -6862,11 +6981,11 @@ export namespace iam_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Workloadidentitypools$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Workloadidentitypools$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6895,7 +7014,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6951,11 +7073,13 @@ export namespace iam_v1 { list( params: Params$Resource$Projects$Locations$Workloadidentitypools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workloadidentitypools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Workloadidentitypools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6990,8 +7114,10 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7049,11 +7175,11 @@ export namespace iam_v1 { patch( params: Params$Resource$Projects$Locations$Workloadidentitypools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workloadidentitypools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7082,7 +7208,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7125,7 +7254,7 @@ export namespace iam_v1 { } /** - * Sets IAM policies on one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity + * Sets the IAM policies on a WorkloadIdentityPool * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -7135,11 +7264,11 @@ export namespace iam_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Workloadidentitypools$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Workloadidentitypools$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7168,7 +7297,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7214,7 +7346,7 @@ export namespace iam_v1 { } /** - * Returns the caller's permissions on one of WorkloadIdentityPool WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity + * Returns the caller's permissions on a WorkloadIdentityPool * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -7224,11 +7356,11 @@ export namespace iam_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Workloadidentitypools$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Workloadidentitypools$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7263,8 +7395,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7320,11 +7452,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -7353,7 +7485,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7540,11 +7675,11 @@ export namespace iam_v1 { create( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7573,7 +7708,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7629,11 +7767,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7662,7 +7800,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7715,11 +7856,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7754,8 +7895,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7810,11 +7951,13 @@ export namespace iam_v1 { list( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7849,8 +7992,10 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7908,11 +8053,11 @@ export namespace iam_v1 { patch( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7941,7 +8086,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7994,11 +8142,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -8027,7 +8175,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8178,11 +8329,11 @@ export namespace iam_v1 { addAttestationRule( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Addattestationrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAttestationRule( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Addattestationrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAttestationRule( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Addattestationrule, options: StreamMethodOptions | BodyResponseCallback, @@ -8211,7 +8362,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Addattestationrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8267,11 +8421,11 @@ export namespace iam_v1 { create( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8300,7 +8454,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8356,11 +8513,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8389,7 +8546,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8442,11 +8602,13 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8481,8 +8643,10 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8527,7 +8691,7 @@ export namespace iam_v1 { } /** - * Lists all non-deleted WorkloadIdentityPoolManagedIdentitys in a namespace. If `show_deleted` is set to `true`, then deleted managed identites are also listed. + * Lists all non-deleted WorkloadIdentityPoolManagedIdentitys in a namespace. If `show_deleted` is set to `true`, then deleted managed identities are also listed. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -8537,11 +8701,13 @@ export namespace iam_v1 { list( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8576,8 +8742,10 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8635,11 +8803,11 @@ export namespace iam_v1 { listAttestationRules( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Listattestationrules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAttestationRules( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Listattestationrules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listAttestationRules( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Listattestationrules, options: StreamMethodOptions | BodyResponseCallback, @@ -8674,8 +8842,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Listattestationrules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8733,11 +8901,11 @@ export namespace iam_v1 { patch( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8766,7 +8934,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8819,11 +8990,11 @@ export namespace iam_v1 { removeAttestationRule( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Removeattestationrule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAttestationRule( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Removeattestationrule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAttestationRule( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Removeattestationrule, options: StreamMethodOptions | BodyResponseCallback, @@ -8854,7 +9025,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Removeattestationrule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8910,11 +9084,11 @@ export namespace iam_v1 { setAttestationRules( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Setattestationrules, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAttestationRules( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Setattestationrules, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAttestationRules( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Setattestationrules, options: StreamMethodOptions | BodyResponseCallback, @@ -8943,7 +9117,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Setattestationrules; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8999,11 +9176,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -9032,7 +9209,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9228,11 +9408,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9261,7 +9441,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9341,11 +9524,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Workloadsources$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Workloadsources$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Workloadsources$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9374,7 +9557,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Managedidentities$Workloadsources$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9442,11 +9628,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9475,7 +9661,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Namespaces$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9543,11 +9732,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9576,7 +9765,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9654,11 +9846,11 @@ export namespace iam_v1 { create( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9687,7 +9879,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9743,11 +9938,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9776,7 +9971,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9829,11 +10027,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9868,8 +10066,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9924,11 +10122,13 @@ export namespace iam_v1 { list( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9963,8 +10163,10 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10022,11 +10224,11 @@ export namespace iam_v1 { patch( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10055,7 +10257,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10108,11 +10313,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -10141,7 +10346,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10287,11 +10495,11 @@ export namespace iam_v1 { create( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10320,7 +10528,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10373,11 +10584,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10406,7 +10617,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10459,11 +10673,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10498,8 +10712,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10554,11 +10768,13 @@ export namespace iam_v1 { list( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10593,8 +10809,10 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10649,11 +10867,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -10682,7 +10900,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10807,11 +11028,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10840,7 +11061,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Keys$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10908,11 +11132,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10941,7 +11165,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Providers$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11009,11 +11236,11 @@ export namespace iam_v1 { create( params: Params$Resource$Projects$Roles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Roles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Roles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11042,7 +11269,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Roles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11097,11 +11327,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Projects$Roles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Roles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Roles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11130,7 +11360,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Roles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11182,11 +11415,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Roles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Roles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Roles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11215,7 +11448,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Roles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11267,11 +11503,11 @@ export namespace iam_v1 { list( params: Params$Resource$Projects$Roles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Roles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Roles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11302,8 +11538,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Roles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11358,11 +11594,11 @@ export namespace iam_v1 { patch( params: Params$Resource$Projects$Roles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Roles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Roles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11391,7 +11627,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Roles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11443,11 +11682,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Projects$Roles$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Roles$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Roles$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -11476,7 +11715,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Roles$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11622,11 +11864,11 @@ export namespace iam_v1 { create( params: Params$Resource$Projects$Serviceaccounts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Serviceaccounts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Serviceaccounts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11655,7 +11897,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11710,11 +11955,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Projects$Serviceaccounts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Serviceaccounts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Serviceaccounts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11743,7 +11988,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11795,11 +12043,11 @@ export namespace iam_v1 { disable( params: Params$Resource$Projects$Serviceaccounts$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Serviceaccounts$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Serviceaccounts$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -11828,7 +12076,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11883,11 +12134,11 @@ export namespace iam_v1 { enable( params: Params$Resource$Projects$Serviceaccounts$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Serviceaccounts$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Serviceaccounts$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -11916,7 +12167,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11968,11 +12222,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Serviceaccounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Serviceaccounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Serviceaccounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12001,7 +12255,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12053,11 +12310,11 @@ export namespace iam_v1 { getIamPolicy( params: Params$Resource$Projects$Serviceaccounts$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Serviceaccounts$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Serviceaccounts$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -12086,7 +12343,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12141,11 +12401,11 @@ export namespace iam_v1 { list( params: Params$Resource$Projects$Serviceaccounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Serviceaccounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Serviceaccounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12180,8 +12440,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12236,11 +12496,11 @@ export namespace iam_v1 { patch( params: Params$Resource$Projects$Serviceaccounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Serviceaccounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Serviceaccounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12269,7 +12529,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12321,11 +12584,11 @@ export namespace iam_v1 { setIamPolicy( params: Params$Resource$Projects$Serviceaccounts$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Serviceaccounts$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Serviceaccounts$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -12354,7 +12617,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12409,11 +12675,11 @@ export namespace iam_v1 { signBlob( params: Params$Resource$Projects$Serviceaccounts$Signblob, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signBlob( params?: Params$Resource$Projects$Serviceaccounts$Signblob, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signBlob( params: Params$Resource$Projects$Serviceaccounts$Signblob, options: StreamMethodOptions | BodyResponseCallback, @@ -12442,7 +12708,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Signblob; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12497,11 +12766,11 @@ export namespace iam_v1 { signJwt( params: Params$Resource$Projects$Serviceaccounts$Signjwt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signJwt( params?: Params$Resource$Projects$Serviceaccounts$Signjwt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signJwt( params: Params$Resource$Projects$Serviceaccounts$Signjwt, options: StreamMethodOptions | BodyResponseCallback, @@ -12530,7 +12799,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Signjwt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12585,11 +12857,11 @@ export namespace iam_v1 { testIamPermissions( params: Params$Resource$Projects$Serviceaccounts$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Serviceaccounts$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Serviceaccounts$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -12624,8 +12896,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12681,11 +12953,11 @@ export namespace iam_v1 { undelete( params: Params$Resource$Projects$Serviceaccounts$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Serviceaccounts$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Serviceaccounts$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -12720,8 +12992,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12778,11 +13050,11 @@ export namespace iam_v1 { update( params: Params$Resource$Projects$Serviceaccounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Serviceaccounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Serviceaccounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12811,7 +13083,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13031,11 +13306,11 @@ export namespace iam_v1 { create( params: Params$Resource$Projects$Serviceaccounts$Keys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Serviceaccounts$Keys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Serviceaccounts$Keys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13066,8 +13341,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Keys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13119,11 +13394,11 @@ export namespace iam_v1 { delete( params: Params$Resource$Projects$Serviceaccounts$Keys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Serviceaccounts$Keys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Serviceaccounts$Keys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13152,7 +13427,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Keys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13204,11 +13482,11 @@ export namespace iam_v1 { disable( params: Params$Resource$Projects$Serviceaccounts$Keys$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Serviceaccounts$Keys$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Serviceaccounts$Keys$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -13237,7 +13515,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Keys$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13292,11 +13573,11 @@ export namespace iam_v1 { enable( params: Params$Resource$Projects$Serviceaccounts$Keys$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Serviceaccounts$Keys$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Serviceaccounts$Keys$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -13325,7 +13606,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Keys$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13377,11 +13661,11 @@ export namespace iam_v1 { get( params: Params$Resource$Projects$Serviceaccounts$Keys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Serviceaccounts$Keys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Serviceaccounts$Keys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13412,8 +13696,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Keys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13465,11 +13749,11 @@ export namespace iam_v1 { list( params: Params$Resource$Projects$Serviceaccounts$Keys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Serviceaccounts$Keys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Serviceaccounts$Keys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13504,8 +13788,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Keys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13559,11 +13843,11 @@ export namespace iam_v1 { upload( params: Params$Resource$Projects$Serviceaccounts$Keys$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Serviceaccounts$Keys$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Projects$Serviceaccounts$Keys$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -13594,8 +13878,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Keys$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13735,11 +14019,11 @@ export namespace iam_v1 { get( params: Params$Resource$Roles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Roles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Roles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13768,7 +14052,10 @@ export namespace iam_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13819,11 +14106,11 @@ export namespace iam_v1 { list( params: Params$Resource$Roles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Roles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Roles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13854,8 +14141,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13906,11 +14193,11 @@ export namespace iam_v1 { queryGrantableRoles( params: Params$Resource$Roles$Querygrantableroles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryGrantableRoles( params?: Params$Resource$Roles$Querygrantableroles, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryGrantableRoles( params: Params$Resource$Roles$Querygrantableroles, options: StreamMethodOptions | BodyResponseCallback, @@ -13945,8 +14232,8 @@ export namespace iam_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Roles$Querygrantableroles; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/iam/v2.ts b/src/apis/iam/v2.ts index 2b64209d9d6..e41e992281f 100644 --- a/src/apis/iam/v2.ts +++ b/src/apis/iam/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -248,7 +248,7 @@ export namespace iam_v2 { */ deniedPermissions?: string[] | null; /** - * The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id\}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id\}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id\}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id\}?uid={uid\}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id\}?uid={uid\}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}?uid={uid\}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + * The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id\}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id\}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id\}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id\}?uid={uid\}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id\}?uid={uid\}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}?uid={uid\}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ deniedPrincipals?: string[] | null; /** @@ -555,11 +555,11 @@ export namespace iam_v2 { createPolicy( params: Params$Resource$Policies$Createpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createPolicy( params?: Params$Resource$Policies$Createpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createPolicy( params: Params$Resource$Policies$Createpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -594,8 +594,8 @@ export namespace iam_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Createpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -647,11 +647,11 @@ export namespace iam_v2 { delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Policies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -686,8 +686,8 @@ export namespace iam_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -738,11 +738,11 @@ export namespace iam_v2 { get( params: Params$Resource$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -773,8 +773,8 @@ export namespace iam_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -825,11 +825,11 @@ export namespace iam_v2 { listPolicies( params: Params$Resource$Policies$Listpolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPolicies( params?: Params$Resource$Policies$Listpolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listPolicies( params: Params$Resource$Policies$Listpolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -864,8 +864,8 @@ export namespace iam_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Listpolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -919,11 +919,11 @@ export namespace iam_v2 { update( params: Params$Resource$Policies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Policies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Policies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -958,8 +958,8 @@ export namespace iam_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1076,11 +1076,11 @@ export namespace iam_v2 { get( params: Params$Resource$Policies$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1115,8 +1115,8 @@ export namespace iam_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/iam/v2beta.ts b/src/apis/iam/v2beta.ts index 0331b940537..51c293f6d1a 100644 --- a/src/apis/iam/v2beta.ts +++ b/src/apis/iam/v2beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -248,7 +248,7 @@ export namespace iam_v2beta { */ deniedPermissions?: string[] | null; /** - * The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id\}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id\}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id\}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id\}?uid={uid\}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id\}?uid={uid\}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}?uid={uid\}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + * The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id\}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id\}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id\}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id\}?uid={uid\}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id\}?uid={uid\}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}?uid={uid\}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ deniedPrincipals?: string[] | null; /** @@ -555,11 +555,11 @@ export namespace iam_v2beta { createPolicy( params: Params$Resource$Policies$Createpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createPolicy( params?: Params$Resource$Policies$Createpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createPolicy( params: Params$Resource$Policies$Createpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -594,8 +594,8 @@ export namespace iam_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Createpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -647,11 +647,11 @@ export namespace iam_v2beta { delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Policies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -686,8 +686,8 @@ export namespace iam_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -738,11 +738,11 @@ export namespace iam_v2beta { get( params: Params$Resource$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -775,8 +775,8 @@ export namespace iam_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -827,11 +827,13 @@ export namespace iam_v2beta { listPolicies( params: Params$Resource$Policies$Listpolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listPolicies( params?: Params$Resource$Policies$Listpolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listPolicies( params: Params$Resource$Policies$Listpolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -866,8 +868,10 @@ export namespace iam_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Listpolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -921,11 +925,11 @@ export namespace iam_v2beta { update( params: Params$Resource$Policies$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Policies$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Policies$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -960,8 +964,8 @@ export namespace iam_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1078,11 +1082,11 @@ export namespace iam_v2beta { get( params: Params$Resource$Policies$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1117,8 +1121,8 @@ export namespace iam_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/iamcredentials/index.ts b/src/apis/iamcredentials/index.ts index 90fb2f5013b..55d73e73a56 100644 --- a/src/apis/iamcredentials/index.ts +++ b/src/apis/iamcredentials/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/iamcredentials/package.json b/src/apis/iamcredentials/package.json index a6f7193f41a..5ae88d64a2b 100644 --- a/src/apis/iamcredentials/package.json +++ b/src/apis/iamcredentials/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/iamcredentials/v1.ts b/src/apis/iamcredentials/v1.ts index fb9e8c00899..a7630579a9f 100644 --- a/src/apis/iamcredentials/v1.ts +++ b/src/apis/iamcredentials/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -280,11 +280,11 @@ export namespace iamcredentials_v1 { getAllowedLocations( params: Params$Resource$Locations$Workforcepools$Getallowedlocations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAllowedLocations( params?: Params$Resource$Locations$Workforcepools$Getallowedlocations, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAllowedLocations( params: Params$Resource$Locations$Workforcepools$Getallowedlocations, options: StreamMethodOptions | BodyResponseCallback, @@ -319,8 +319,8 @@ export namespace iamcredentials_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Workforcepools$Getallowedlocations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -417,11 +417,13 @@ export namespace iamcredentials_v1 { getAllowedLocations( params: Params$Resource$Projects$Locations$Workloadidentitypools$Getallowedlocations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAllowedLocations( params?: Params$Resource$Projects$Locations$Workloadidentitypools$Getallowedlocations, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAllowedLocations( params: Params$Resource$Projects$Locations$Workloadidentitypools$Getallowedlocations, options: StreamMethodOptions | BodyResponseCallback, @@ -456,8 +458,10 @@ export namespace iamcredentials_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workloadidentitypools$Getallowedlocations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -531,11 +535,11 @@ export namespace iamcredentials_v1 { generateAccessToken( params: Params$Resource$Projects$Serviceaccounts$Generateaccesstoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateAccessToken( params?: Params$Resource$Projects$Serviceaccounts$Generateaccesstoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateAccessToken( params: Params$Resource$Projects$Serviceaccounts$Generateaccesstoken, options: StreamMethodOptions | BodyResponseCallback, @@ -570,8 +574,8 @@ export namespace iamcredentials_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Generateaccesstoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -628,11 +632,11 @@ export namespace iamcredentials_v1 { generateIdToken( params: Params$Resource$Projects$Serviceaccounts$Generateidtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateIdToken( params?: Params$Resource$Projects$Serviceaccounts$Generateidtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateIdToken( params: Params$Resource$Projects$Serviceaccounts$Generateidtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -667,8 +671,8 @@ export namespace iamcredentials_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Generateidtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -724,11 +728,11 @@ export namespace iamcredentials_v1 { getAllowedLocations( params: Params$Resource$Projects$Serviceaccounts$Getallowedlocations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAllowedLocations( params?: Params$Resource$Projects$Serviceaccounts$Getallowedlocations, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAllowedLocations( params: Params$Resource$Projects$Serviceaccounts$Getallowedlocations, options: StreamMethodOptions | BodyResponseCallback, @@ -763,8 +767,8 @@ export namespace iamcredentials_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Getallowedlocations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -823,11 +827,11 @@ export namespace iamcredentials_v1 { signBlob( params: Params$Resource$Projects$Serviceaccounts$Signblob, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signBlob( params?: Params$Resource$Projects$Serviceaccounts$Signblob, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signBlob( params: Params$Resource$Projects$Serviceaccounts$Signblob, options: StreamMethodOptions | BodyResponseCallback, @@ -856,7 +860,10 @@ export namespace iamcredentials_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Signblob; let options = (optionsOrCallback || {}) as MethodOptions; @@ -912,11 +919,11 @@ export namespace iamcredentials_v1 { signJwt( params: Params$Resource$Projects$Serviceaccounts$Signjwt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signJwt( params?: Params$Resource$Projects$Serviceaccounts$Signjwt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signJwt( params: Params$Resource$Projects$Serviceaccounts$Signjwt, options: StreamMethodOptions | BodyResponseCallback, @@ -945,7 +952,10 @@ export namespace iamcredentials_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccounts$Signjwt; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/iap/index.ts b/src/apis/iap/index.ts index e542596f578..fb945d7971b 100644 --- a/src/apis/iap/index.ts +++ b/src/apis/iap/index.ts @@ -43,7 +43,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/iap/package.json b/src/apis/iap/package.json index 4f6753ac7f2..63707a9f7f3 100644 --- a/src/apis/iap/package.json +++ b/src/apis/iap/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/iap/v1.ts b/src/apis/iap/v1.ts index 376baaef247..c2108201ed7 100644 --- a/src/apis/iap/v1.ts +++ b/src/apis/iap/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -667,11 +667,11 @@ export namespace iap_v1 { create( params: Params$Resource$Projects$Brands$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Brands$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Brands$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -700,7 +700,10 @@ export namespace iap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Brands$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -755,11 +758,11 @@ export namespace iap_v1 { get( params: Params$Resource$Projects$Brands$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Brands$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Brands$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -788,7 +791,10 @@ export namespace iap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Brands$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -840,11 +846,11 @@ export namespace iap_v1 { list( params: Params$Resource$Projects$Brands$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Brands$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Brands$List, options: StreamMethodOptions | BodyResponseCallback, @@ -875,8 +881,8 @@ export namespace iap_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Brands$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -965,11 +971,11 @@ export namespace iap_v1 { create( params: Params$Resource$Projects$Brands$Identityawareproxyclients$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Brands$Identityawareproxyclients$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Brands$Identityawareproxyclients$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1004,8 +1010,8 @@ export namespace iap_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Brands$Identityawareproxyclients$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1061,11 +1067,11 @@ export namespace iap_v1 { delete( params: Params$Resource$Projects$Brands$Identityawareproxyclients$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Brands$Identityawareproxyclients$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Brands$Identityawareproxyclients$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1094,7 +1100,10 @@ export namespace iap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Brands$Identityawareproxyclients$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1147,11 +1156,11 @@ export namespace iap_v1 { get( params: Params$Resource$Projects$Brands$Identityawareproxyclients$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Brands$Identityawareproxyclients$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Brands$Identityawareproxyclients$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1184,8 +1193,8 @@ export namespace iap_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Brands$Identityawareproxyclients$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1238,11 +1247,13 @@ export namespace iap_v1 { list( params: Params$Resource$Projects$Brands$Identityawareproxyclients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Brands$Identityawareproxyclients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Brands$Identityawareproxyclients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1277,8 +1288,10 @@ export namespace iap_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Brands$Identityawareproxyclients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1336,11 +1349,11 @@ export namespace iap_v1 { resetSecret( params: Params$Resource$Projects$Brands$Identityawareproxyclients$Resetsecret, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetSecret( params?: Params$Resource$Projects$Brands$Identityawareproxyclients$Resetsecret, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetSecret( params: Params$Resource$Projects$Brands$Identityawareproxyclients$Resetsecret, options: StreamMethodOptions | BodyResponseCallback, @@ -1375,8 +1388,8 @@ export namespace iap_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Brands$Identityawareproxyclients$Resetsecret; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1513,11 +1526,11 @@ export namespace iap_v1 { create( params: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1546,7 +1559,10 @@ export namespace iap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1602,11 +1618,11 @@ export namespace iap_v1 { delete( params: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1635,7 +1651,10 @@ export namespace iap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1688,11 +1707,11 @@ export namespace iap_v1 { get( params: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1721,7 +1740,10 @@ export namespace iap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1774,11 +1796,11 @@ export namespace iap_v1 { list( params: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1813,8 +1835,8 @@ export namespace iap_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1872,11 +1894,11 @@ export namespace iap_v1 { patch( params: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1905,7 +1927,10 @@ export namespace iap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2027,11 +2052,11 @@ export namespace iap_v1 { getIamPolicy( params: Params$Resource$V1$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$V1$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$V1$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2060,7 +2085,10 @@ export namespace iap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2114,11 +2142,11 @@ export namespace iap_v1 { getIapSettings( params: Params$Resource$V1$Getiapsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIapSettings( params?: Params$Resource$V1$Getiapsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIapSettings( params: Params$Resource$V1$Getiapsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2147,7 +2175,10 @@ export namespace iap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Getiapsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2202,11 +2233,11 @@ export namespace iap_v1 { setIamPolicy( params: Params$Resource$V1$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$V1$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$V1$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2235,7 +2266,10 @@ export namespace iap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2289,11 +2323,11 @@ export namespace iap_v1 { testIamPermissions( params: Params$Resource$V1$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$V1$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$V1$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2328,8 +2362,8 @@ export namespace iap_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2384,11 +2418,11 @@ export namespace iap_v1 { updateIapSettings( params: Params$Resource$V1$Updateiapsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateIapSettings( params?: Params$Resource$V1$Updateiapsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateIapSettings( params: Params$Resource$V1$Updateiapsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2417,7 +2451,10 @@ export namespace iap_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Updateiapsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2472,11 +2509,13 @@ export namespace iap_v1 { validateAttributeExpression( params: Params$Resource$V1$Validateattributeexpression, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateAttributeExpression( params?: Params$Resource$V1$Validateattributeexpression, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validateAttributeExpression( params: Params$Resource$V1$Validateattributeexpression, options: StreamMethodOptions | BodyResponseCallback, @@ -2511,8 +2550,10 @@ export namespace iap_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Validateattributeexpression; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/iap/v1beta1.ts b/src/apis/iap/v1beta1.ts index 4db41e49c3a..3e15708593a 100644 --- a/src/apis/iap/v1beta1.ts +++ b/src/apis/iap/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -242,11 +242,11 @@ export namespace iap_v1beta1 { getIamPolicy( params: Params$Resource$V1beta1$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$V1beta1$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$V1beta1$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -275,7 +275,10 @@ export namespace iap_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1beta1$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -330,11 +333,11 @@ export namespace iap_v1beta1 { setIamPolicy( params: Params$Resource$V1beta1$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$V1beta1$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$V1beta1$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -363,7 +366,10 @@ export namespace iap_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1beta1$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -418,11 +424,11 @@ export namespace iap_v1beta1 { testIamPermissions( params: Params$Resource$V1beta1$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$V1beta1$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$V1beta1$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -457,8 +463,8 @@ export namespace iap_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1beta1$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/ideahub/index.ts b/src/apis/ideahub/index.ts index c86032fb915..ab39ede5a45 100644 --- a/src/apis/ideahub/index.ts +++ b/src/apis/ideahub/index.ts @@ -51,7 +51,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/ideahub/package.json b/src/apis/ideahub/package.json index dacc744054d..d38d29d0c8a 100644 --- a/src/apis/ideahub/package.json +++ b/src/apis/ideahub/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/ideahub/v1alpha.ts b/src/apis/ideahub/v1alpha.ts index ad33264c3e1..97a2a183db7 100644 --- a/src/apis/ideahub/v1alpha.ts +++ b/src/apis/ideahub/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -324,11 +324,11 @@ export namespace ideahub_v1alpha { list( params: Params$Resource$Ideas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Ideas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Ideas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -363,8 +363,8 @@ export namespace ideahub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Ideas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -536,11 +536,11 @@ export namespace ideahub_v1alpha { create( params: Params$Resource$Platforms$Properties$Ideaactivities$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Platforms$Properties$Ideaactivities$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Platforms$Properties$Ideaactivities$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -575,8 +575,8 @@ export namespace ideahub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Properties$Ideaactivities$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -704,11 +704,11 @@ export namespace ideahub_v1alpha { list( params: Params$Resource$Platforms$Properties$Ideas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$Properties$Ideas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$Properties$Ideas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -743,8 +743,8 @@ export namespace ideahub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Properties$Ideas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -887,11 +887,11 @@ export namespace ideahub_v1alpha { patch( params: Params$Resource$Platforms$Properties$Ideastates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Platforms$Properties$Ideastates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Platforms$Properties$Ideastates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -926,8 +926,8 @@ export namespace ideahub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Properties$Ideastates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1051,11 +1051,11 @@ export namespace ideahub_v1alpha { list( params: Params$Resource$Platforms$Properties$Locales$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$Properties$Locales$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$Properties$Locales$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1090,8 +1090,8 @@ export namespace ideahub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Properties$Locales$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1226,11 +1226,11 @@ export namespace ideahub_v1alpha { patch( params: Params$Resource$Platforms$Properties$Topicstates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Platforms$Properties$Topicstates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Platforms$Properties$Topicstates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1265,8 +1265,8 @@ export namespace ideahub_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Properties$Topicstates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/ideahub/v1beta.ts b/src/apis/ideahub/v1beta.ts index ce0649d2df8..37aae17e6eb 100644 --- a/src/apis/ideahub/v1beta.ts +++ b/src/apis/ideahub/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -361,11 +361,11 @@ export namespace ideahub_v1beta { create( params: Params$Resource$Platforms$Properties$Ideaactivities$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Platforms$Properties$Ideaactivities$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Platforms$Properties$Ideaactivities$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -400,8 +400,8 @@ export namespace ideahub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Properties$Ideaactivities$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -529,11 +529,11 @@ export namespace ideahub_v1beta { list( params: Params$Resource$Platforms$Properties$Ideas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$Properties$Ideas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$Properties$Ideas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -568,8 +568,8 @@ export namespace ideahub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Properties$Ideas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -712,11 +712,11 @@ export namespace ideahub_v1beta { patch( params: Params$Resource$Platforms$Properties$Ideastates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Platforms$Properties$Ideastates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Platforms$Properties$Ideastates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -751,8 +751,8 @@ export namespace ideahub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Properties$Ideastates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -876,11 +876,11 @@ export namespace ideahub_v1beta { list( params: Params$Resource$Platforms$Properties$Locales$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$Properties$Locales$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$Properties$Locales$List, options: StreamMethodOptions | BodyResponseCallback, @@ -915,8 +915,8 @@ export namespace ideahub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Properties$Locales$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1051,11 +1051,11 @@ export namespace ideahub_v1beta { patch( params: Params$Resource$Platforms$Properties$Topicstates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Platforms$Properties$Topicstates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Platforms$Properties$Topicstates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1090,8 +1090,8 @@ export namespace ideahub_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Properties$Topicstates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/identitytoolkit/index.ts b/src/apis/identitytoolkit/index.ts index 6b069dd5c0a..3bf36bc70ed 100644 --- a/src/apis/identitytoolkit/index.ts +++ b/src/apis/identitytoolkit/index.ts @@ -57,7 +57,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/identitytoolkit/package.json b/src/apis/identitytoolkit/package.json index 030a3379bf3..dd62f957277 100644 --- a/src/apis/identitytoolkit/package.json +++ b/src/apis/identitytoolkit/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/identitytoolkit/v2.ts b/src/apis/identitytoolkit/v2.ts index 6becfd32115..59a60ccd567 100644 --- a/src/apis/identitytoolkit/v2.ts +++ b/src/apis/identitytoolkit/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1827,11 +1827,13 @@ export namespace identitytoolkit_v2 { revokeToken( params: Params$Resource$Accounts$Revoketoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revokeToken( params?: Params$Resource$Accounts$Revoketoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; revokeToken( params: Params$Resource$Accounts$Revoketoken, options: StreamMethodOptions | BodyResponseCallback, @@ -1866,8 +1868,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Revoketoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1940,11 +1944,13 @@ export namespace identitytoolkit_v2 { finalize( params: Params$Resource$Accounts$Mfaenrollment$Finalize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; finalize( params?: Params$Resource$Accounts$Mfaenrollment$Finalize, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; finalize( params: Params$Resource$Accounts$Mfaenrollment$Finalize, options: StreamMethodOptions | BodyResponseCallback, @@ -1979,8 +1985,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mfaenrollment$Finalize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2038,11 +2046,13 @@ export namespace identitytoolkit_v2 { start( params: Params$Resource$Accounts$Mfaenrollment$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Accounts$Mfaenrollment$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; start( params: Params$Resource$Accounts$Mfaenrollment$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -2077,8 +2087,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mfaenrollment$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2136,11 +2148,13 @@ export namespace identitytoolkit_v2 { withdraw( params: Params$Resource$Accounts$Mfaenrollment$Withdraw, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; withdraw( params?: Params$Resource$Accounts$Mfaenrollment$Withdraw, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; withdraw( params: Params$Resource$Accounts$Mfaenrollment$Withdraw, options: StreamMethodOptions | BodyResponseCallback, @@ -2175,8 +2189,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mfaenrollment$Withdraw; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2263,11 +2279,13 @@ export namespace identitytoolkit_v2 { finalize( params: Params$Resource$Accounts$Mfasignin$Finalize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; finalize( params?: Params$Resource$Accounts$Mfasignin$Finalize, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; finalize( params: Params$Resource$Accounts$Mfasignin$Finalize, options: StreamMethodOptions | BodyResponseCallback, @@ -2302,8 +2320,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mfasignin$Finalize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2361,11 +2381,13 @@ export namespace identitytoolkit_v2 { start( params: Params$Resource$Accounts$Mfasignin$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Accounts$Mfasignin$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; start( params: Params$Resource$Accounts$Mfasignin$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -2400,8 +2422,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Mfasignin$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2481,11 +2505,13 @@ export namespace identitytoolkit_v2 { list( params: Params$Resource$Defaultsupportedidps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Defaultsupportedidps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Defaultsupportedidps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2520,8 +2546,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultsupportedidps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2615,11 +2643,13 @@ export namespace identitytoolkit_v2 { getConfig( params: Params$Resource$Projects$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Projects$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2654,8 +2684,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2710,11 +2742,13 @@ export namespace identitytoolkit_v2 { updateConfig( params: Params$Resource$Projects$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Projects$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Projects$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2749,8 +2783,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2836,11 +2872,13 @@ export namespace identitytoolkit_v2 { create( params: Params$Resource$Projects$Defaultsupportedidpconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Defaultsupportedidpconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Defaultsupportedidpconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2875,8 +2913,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Defaultsupportedidpconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2935,11 +2975,11 @@ export namespace identitytoolkit_v2 { delete( params: Params$Resource$Projects$Defaultsupportedidpconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Defaultsupportedidpconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Defaultsupportedidpconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2970,8 +3010,8 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Defaultsupportedidpconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3025,11 +3065,13 @@ export namespace identitytoolkit_v2 { get( params: Params$Resource$Projects$Defaultsupportedidpconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Defaultsupportedidpconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Defaultsupportedidpconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3064,8 +3106,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Defaultsupportedidpconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3120,11 +3164,13 @@ export namespace identitytoolkit_v2 { list( params: Params$Resource$Projects$Defaultsupportedidpconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Defaultsupportedidpconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Defaultsupportedidpconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3159,8 +3205,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Defaultsupportedidpconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3218,11 +3266,13 @@ export namespace identitytoolkit_v2 { patch( params: Params$Resource$Projects$Defaultsupportedidpconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Defaultsupportedidpconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Defaultsupportedidpconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3257,8 +3307,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Defaultsupportedidpconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3383,11 +3435,13 @@ export namespace identitytoolkit_v2 { initializeAuth( params: Params$Resource$Projects$Identityplatform$Initializeauth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initializeAuth( params?: Params$Resource$Projects$Identityplatform$Initializeauth, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; initializeAuth( params: Params$Resource$Projects$Identityplatform$Initializeauth, options: StreamMethodOptions | BodyResponseCallback, @@ -3422,8 +3476,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Identityplatform$Initializeauth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3500,11 +3556,13 @@ export namespace identitytoolkit_v2 { create( params: Params$Resource$Projects$Inboundsamlconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Inboundsamlconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Inboundsamlconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3539,8 +3597,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Inboundsamlconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3598,11 +3658,11 @@ export namespace identitytoolkit_v2 { delete( params: Params$Resource$Projects$Inboundsamlconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Inboundsamlconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Inboundsamlconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3633,8 +3693,8 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Inboundsamlconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3687,11 +3747,13 @@ export namespace identitytoolkit_v2 { get( params: Params$Resource$Projects$Inboundsamlconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Inboundsamlconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Inboundsamlconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3726,8 +3788,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Inboundsamlconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3782,11 +3846,13 @@ export namespace identitytoolkit_v2 { list( params: Params$Resource$Projects$Inboundsamlconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Inboundsamlconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Inboundsamlconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3821,8 +3887,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Inboundsamlconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3880,11 +3948,13 @@ export namespace identitytoolkit_v2 { patch( params: Params$Resource$Projects$Inboundsamlconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Inboundsamlconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Inboundsamlconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3919,8 +3989,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Inboundsamlconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4044,11 +4116,13 @@ export namespace identitytoolkit_v2 { create( params: Params$Resource$Projects$Oauthidpconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Oauthidpconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Oauthidpconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4083,8 +4157,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Oauthidpconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4142,11 +4218,11 @@ export namespace identitytoolkit_v2 { delete( params: Params$Resource$Projects$Oauthidpconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Oauthidpconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Oauthidpconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4177,8 +4253,8 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Oauthidpconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4231,11 +4307,13 @@ export namespace identitytoolkit_v2 { get( params: Params$Resource$Projects$Oauthidpconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Oauthidpconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Oauthidpconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4270,8 +4348,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Oauthidpconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4326,11 +4406,13 @@ export namespace identitytoolkit_v2 { list( params: Params$Resource$Projects$Oauthidpconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Oauthidpconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Oauthidpconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4365,8 +4447,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Oauthidpconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4424,11 +4508,13 @@ export namespace identitytoolkit_v2 { patch( params: Params$Resource$Projects$Oauthidpconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Oauthidpconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Oauthidpconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4463,8 +4549,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Oauthidpconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4598,11 +4686,13 @@ export namespace identitytoolkit_v2 { create( params: Params$Resource$Projects$Tenants$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Tenants$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Tenants$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4637,8 +4727,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4696,11 +4788,11 @@ export namespace identitytoolkit_v2 { delete( params: Params$Resource$Projects$Tenants$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Tenants$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Tenants$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4731,8 +4823,8 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4785,11 +4877,13 @@ export namespace identitytoolkit_v2 { get( params: Params$Resource$Projects$Tenants$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Tenants$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Tenants$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4824,8 +4918,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4880,11 +4976,11 @@ export namespace identitytoolkit_v2 { getIamPolicy( params: Params$Resource$Projects$Tenants$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Tenants$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Tenants$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4917,8 +5013,8 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4974,11 +5070,13 @@ export namespace identitytoolkit_v2 { list( params: Params$Resource$Projects$Tenants$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Tenants$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Tenants$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5013,8 +5111,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5072,11 +5172,13 @@ export namespace identitytoolkit_v2 { patch( params: Params$Resource$Projects$Tenants$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Tenants$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Tenants$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5111,8 +5213,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5167,11 +5271,11 @@ export namespace identitytoolkit_v2 { setIamPolicy( params: Params$Resource$Projects$Tenants$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Tenants$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Tenants$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5204,8 +5308,8 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5261,11 +5365,13 @@ export namespace identitytoolkit_v2 { testIamPermissions( params: Params$Resource$Projects$Tenants$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Tenants$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Tenants$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5300,8 +5406,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5460,11 +5568,13 @@ export namespace identitytoolkit_v2 { create( params: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5499,8 +5609,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5559,11 +5671,11 @@ export namespace identitytoolkit_v2 { delete( params: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5594,8 +5706,8 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5649,11 +5761,13 @@ export namespace identitytoolkit_v2 { get( params: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5688,8 +5802,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5745,11 +5861,13 @@ export namespace identitytoolkit_v2 { list( params: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5784,8 +5902,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5844,11 +5964,13 @@ export namespace identitytoolkit_v2 { patch( params: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5883,8 +6005,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Defaultsupportedidpconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6009,11 +6133,13 @@ export namespace identitytoolkit_v2 { create( params: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6048,8 +6174,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Inboundsamlconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6108,11 +6236,11 @@ export namespace identitytoolkit_v2 { delete( params: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6143,8 +6271,8 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Inboundsamlconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6198,11 +6326,13 @@ export namespace identitytoolkit_v2 { get( params: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6237,8 +6367,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Inboundsamlconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6293,11 +6425,13 @@ export namespace identitytoolkit_v2 { list( params: Params$Resource$Projects$Tenants$Inboundsamlconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Tenants$Inboundsamlconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Tenants$Inboundsamlconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6332,8 +6466,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Inboundsamlconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6391,11 +6527,13 @@ export namespace identitytoolkit_v2 { patch( params: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Tenants$Inboundsamlconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6430,8 +6568,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Inboundsamlconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6556,11 +6696,13 @@ export namespace identitytoolkit_v2 { create( params: Params$Resource$Projects$Tenants$Oauthidpconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Tenants$Oauthidpconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Tenants$Oauthidpconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6595,8 +6737,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Oauthidpconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6654,11 +6798,11 @@ export namespace identitytoolkit_v2 { delete( params: Params$Resource$Projects$Tenants$Oauthidpconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Tenants$Oauthidpconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Tenants$Oauthidpconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6689,8 +6833,8 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Oauthidpconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6743,11 +6887,13 @@ export namespace identitytoolkit_v2 { get( params: Params$Resource$Projects$Tenants$Oauthidpconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Tenants$Oauthidpconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Tenants$Oauthidpconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6782,8 +6928,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Oauthidpconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6838,11 +6986,13 @@ export namespace identitytoolkit_v2 { list( params: Params$Resource$Projects$Tenants$Oauthidpconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Tenants$Oauthidpconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Tenants$Oauthidpconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6877,8 +7027,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Oauthidpconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6936,11 +7088,13 @@ export namespace identitytoolkit_v2 { patch( params: Params$Resource$Projects$Tenants$Oauthidpconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Tenants$Oauthidpconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Tenants$Oauthidpconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6975,8 +7129,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Oauthidpconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7100,11 +7256,13 @@ export namespace identitytoolkit_v2 { getPasswordPolicy( params: Params$Resource$V2$Getpasswordpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPasswordPolicy( params?: Params$Resource$V2$Getpasswordpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getPasswordPolicy( params: Params$Resource$V2$Getpasswordpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7139,8 +7297,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V2$Getpasswordpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7195,11 +7355,13 @@ export namespace identitytoolkit_v2 { getRecaptchaConfig( params: Params$Resource$V2$Getrecaptchaconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRecaptchaConfig( params?: Params$Resource$V2$Getrecaptchaconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getRecaptchaConfig( params: Params$Resource$V2$Getrecaptchaconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -7234,8 +7396,10 @@ export namespace identitytoolkit_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V2$Getrecaptchaconfig; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/identitytoolkit/v3.ts b/src/apis/identitytoolkit/v3.ts index 7e8d6aa6b0c..6562f0996d0 100644 --- a/src/apis/identitytoolkit/v3.ts +++ b/src/apis/identitytoolkit/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1551,11 +1551,11 @@ export namespace identitytoolkit_v3 { createAuthUri( params: Params$Resource$Relyingparty$Createauthuri, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createAuthUri( params?: Params$Resource$Relyingparty$Createauthuri, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createAuthUri( params: Params$Resource$Relyingparty$Createauthuri, options: StreamMethodOptions | BodyResponseCallback, @@ -1590,8 +1590,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Createauthuri; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1645,11 +1645,11 @@ export namespace identitytoolkit_v3 { deleteAccount( params: Params$Resource$Relyingparty$Deleteaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccount( params?: Params$Resource$Relyingparty$Deleteaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteAccount( params: Params$Resource$Relyingparty$Deleteaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -1684,8 +1684,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Deleteaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1739,11 +1739,11 @@ export namespace identitytoolkit_v3 { downloadAccount( params: Params$Resource$Relyingparty$Downloadaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; downloadAccount( params?: Params$Resource$Relyingparty$Downloadaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; downloadAccount( params: Params$Resource$Relyingparty$Downloadaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -1778,8 +1778,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Downloadaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1833,11 +1833,11 @@ export namespace identitytoolkit_v3 { emailLinkSignin( params: Params$Resource$Relyingparty$Emaillinksignin, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; emailLinkSignin( params?: Params$Resource$Relyingparty$Emaillinksignin, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; emailLinkSignin( params: Params$Resource$Relyingparty$Emaillinksignin, options: StreamMethodOptions | BodyResponseCallback, @@ -1872,8 +1872,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Emaillinksignin; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1927,11 +1927,11 @@ export namespace identitytoolkit_v3 { getAccountInfo( params: Params$Resource$Relyingparty$Getaccountinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAccountInfo( params?: Params$Resource$Relyingparty$Getaccountinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAccountInfo( params: Params$Resource$Relyingparty$Getaccountinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -1966,8 +1966,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Getaccountinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2021,11 +2021,11 @@ export namespace identitytoolkit_v3 { getOobConfirmationCode( params: Params$Resource$Relyingparty$Getoobconfirmationcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOobConfirmationCode( params?: Params$Resource$Relyingparty$Getoobconfirmationcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getOobConfirmationCode( params: Params$Resource$Relyingparty$Getoobconfirmationcode, options: StreamMethodOptions | BodyResponseCallback, @@ -2060,8 +2060,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Getoobconfirmationcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2118,11 +2118,13 @@ export namespace identitytoolkit_v3 { getProjectConfig( params: Params$Resource$Relyingparty$Getprojectconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getProjectConfig( params?: Params$Resource$Relyingparty$Getprojectconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getProjectConfig( params: Params$Resource$Relyingparty$Getprojectconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2157,8 +2159,10 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Getprojectconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2214,11 +2218,13 @@ export namespace identitytoolkit_v3 { getPublicKeys( params: Params$Resource$Relyingparty$Getpublickeys, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPublicKeys( params?: Params$Resource$Relyingparty$Getpublickeys, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getPublicKeys( params: Params$Resource$Relyingparty$Getpublickeys, options: StreamMethodOptions | BodyResponseCallback, @@ -2253,8 +2259,10 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Getpublickeys; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2310,11 +2318,11 @@ export namespace identitytoolkit_v3 { getRecaptchaParam( params: Params$Resource$Relyingparty$Getrecaptchaparam, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRecaptchaParam( params?: Params$Resource$Relyingparty$Getrecaptchaparam, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRecaptchaParam( params: Params$Resource$Relyingparty$Getrecaptchaparam, options: StreamMethodOptions | BodyResponseCallback, @@ -2349,8 +2357,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Getrecaptchaparam; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2404,11 +2412,11 @@ export namespace identitytoolkit_v3 { resetPassword( params: Params$Resource$Relyingparty$Resetpassword, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetPassword( params?: Params$Resource$Relyingparty$Resetpassword, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetPassword( params: Params$Resource$Relyingparty$Resetpassword, options: StreamMethodOptions | BodyResponseCallback, @@ -2443,8 +2451,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Resetpassword; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2498,11 +2506,13 @@ export namespace identitytoolkit_v3 { sendVerificationCode( params: Params$Resource$Relyingparty$Sendverificationcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendVerificationCode( params?: Params$Resource$Relyingparty$Sendverificationcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; sendVerificationCode( params: Params$Resource$Relyingparty$Sendverificationcode, options: StreamMethodOptions | BodyResponseCallback, @@ -2537,8 +2547,10 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Sendverificationcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2594,11 +2606,11 @@ export namespace identitytoolkit_v3 { setAccountInfo( params: Params$Resource$Relyingparty$Setaccountinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAccountInfo( params?: Params$Resource$Relyingparty$Setaccountinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAccountInfo( params: Params$Resource$Relyingparty$Setaccountinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -2633,8 +2645,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Setaccountinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2688,11 +2700,13 @@ export namespace identitytoolkit_v3 { setProjectConfig( params: Params$Resource$Relyingparty$Setprojectconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setProjectConfig( params?: Params$Resource$Relyingparty$Setprojectconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setProjectConfig( params: Params$Resource$Relyingparty$Setprojectconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2727,8 +2741,10 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Setprojectconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2784,11 +2800,13 @@ export namespace identitytoolkit_v3 { signOutUser( params: Params$Resource$Relyingparty$Signoutuser, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signOutUser( params?: Params$Resource$Relyingparty$Signoutuser, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; signOutUser( params: Params$Resource$Relyingparty$Signoutuser, options: StreamMethodOptions | BodyResponseCallback, @@ -2823,8 +2841,10 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Signoutuser; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2880,11 +2900,11 @@ export namespace identitytoolkit_v3 { signupNewUser( params: Params$Resource$Relyingparty$Signupnewuser, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signupNewUser( params?: Params$Resource$Relyingparty$Signupnewuser, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signupNewUser( params: Params$Resource$Relyingparty$Signupnewuser, options: StreamMethodOptions | BodyResponseCallback, @@ -2919,8 +2939,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Signupnewuser; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2974,11 +2994,11 @@ export namespace identitytoolkit_v3 { uploadAccount( params: Params$Resource$Relyingparty$Uploadaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; uploadAccount( params?: Params$Resource$Relyingparty$Uploadaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; uploadAccount( params: Params$Resource$Relyingparty$Uploadaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -3013,8 +3033,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Uploadaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3068,11 +3088,11 @@ export namespace identitytoolkit_v3 { verifyAssertion( params: Params$Resource$Relyingparty$Verifyassertion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verifyAssertion( params?: Params$Resource$Relyingparty$Verifyassertion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verifyAssertion( params: Params$Resource$Relyingparty$Verifyassertion, options: StreamMethodOptions | BodyResponseCallback, @@ -3107,8 +3127,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Verifyassertion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3162,11 +3182,11 @@ export namespace identitytoolkit_v3 { verifyCustomToken( params: Params$Resource$Relyingparty$Verifycustomtoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verifyCustomToken( params?: Params$Resource$Relyingparty$Verifycustomtoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verifyCustomToken( params: Params$Resource$Relyingparty$Verifycustomtoken, options: StreamMethodOptions | BodyResponseCallback, @@ -3201,8 +3221,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Verifycustomtoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3256,11 +3276,11 @@ export namespace identitytoolkit_v3 { verifyPassword( params: Params$Resource$Relyingparty$Verifypassword, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verifyPassword( params?: Params$Resource$Relyingparty$Verifypassword, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verifyPassword( params: Params$Resource$Relyingparty$Verifypassword, options: StreamMethodOptions | BodyResponseCallback, @@ -3295,8 +3315,8 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Verifypassword; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3350,11 +3370,13 @@ export namespace identitytoolkit_v3 { verifyPhoneNumber( params: Params$Resource$Relyingparty$Verifyphonenumber, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verifyPhoneNumber( params?: Params$Resource$Relyingparty$Verifyphonenumber, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; verifyPhoneNumber( params: Params$Resource$Relyingparty$Verifyphonenumber, options: StreamMethodOptions | BodyResponseCallback, @@ -3389,8 +3411,10 @@ export namespace identitytoolkit_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Relyingparty$Verifyphonenumber; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/ids/index.ts b/src/apis/ids/index.ts index d163b62c2cf..bfe51aff90c 100644 --- a/src/apis/ids/index.ts +++ b/src/apis/ids/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/ids/package.json b/src/apis/ids/package.json index 917d7832edd..69b114883c3 100644 --- a/src/apis/ids/package.json +++ b/src/apis/ids/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/ids/v1.ts b/src/apis/ids/v1.ts index 7a0d642cb99..4fa74ae00d0 100644 --- a/src/apis/ids/v1.ts +++ b/src/apis/ids/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -366,11 +366,11 @@ export namespace ids_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -399,7 +399,10 @@ export namespace ids_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -451,11 +454,11 @@ export namespace ids_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -488,8 +491,8 @@ export namespace ids_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -582,11 +585,11 @@ export namespace ids_v1 { create( params: Params$Resource$Projects$Locations$Endpoints$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Endpoints$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Endpoints$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -615,7 +618,10 @@ export namespace ids_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -670,11 +676,11 @@ export namespace ids_v1 { delete( params: Params$Resource$Projects$Locations$Endpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Endpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Endpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -703,7 +709,10 @@ export namespace ids_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -755,11 +764,11 @@ export namespace ids_v1 { get( params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Endpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -788,7 +797,10 @@ export namespace ids_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -840,11 +852,11 @@ export namespace ids_v1 { list( params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Endpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -877,8 +889,8 @@ export namespace ids_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -933,11 +945,11 @@ export namespace ids_v1 { patch( params: Params$Resource$Projects$Locations$Endpoints$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Endpoints$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Endpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -966,7 +978,10 @@ export namespace ids_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1107,11 +1122,11 @@ export namespace ids_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1140,7 +1155,10 @@ export namespace ids_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1192,11 +1210,11 @@ export namespace ids_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1225,7 +1243,10 @@ export namespace ids_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1277,11 +1298,11 @@ export namespace ids_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1310,7 +1331,10 @@ export namespace ids_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1362,11 +1386,11 @@ export namespace ids_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1399,8 +1423,8 @@ export namespace ids_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/index.ts b/src/apis/index.ts index bdb945b49c9..3c94d8acae7 100644 --- a/src/apis/index.ts +++ b/src/apis/index.ts @@ -96,6 +96,7 @@ import { VERSIONS as apigeeregistryVersions, apigeeregistry, } from './apigeeregistry'; +import {VERSIONS as apihubVersions, apihub} from './apihub'; import {VERSIONS as apikeysVersions, apikeys} from './apikeys'; import {VERSIONS as apimVersions, apim} from './apim'; import {VERSIONS as appengineVersions, appengine} from './appengine'; @@ -334,6 +335,10 @@ import { VERSIONS as firebaseappdistributionVersions, firebaseappdistribution, } from './firebaseappdistribution'; +import { + VERSIONS as firebaseapphostingVersions, + firebaseapphosting, +} from './firebaseapphosting'; import { VERSIONS as firebasedatabaseVersions, firebasedatabase, @@ -775,6 +780,7 @@ export const APIS: APIList = { androidpublisher: androidpublisherVersions, apigateway: apigatewayVersions, apigeeregistry: apigeeregistryVersions, + apihub: apihubVersions, apikeys: apikeysVersions, apim: apimVersions, appengine: appengineVersions, @@ -884,6 +890,7 @@ export const APIS: APIList = { firebase: firebaseVersions, firebaseappcheck: firebaseappcheckVersions, firebaseappdistribution: firebaseappdistributionVersions, + firebaseapphosting: firebaseapphostingVersions, firebasedatabase: firebasedatabaseVersions, firebasedataconnect: firebasedataconnectVersions, firebasedynamiclinks: firebasedynamiclinksVersions, @@ -1087,6 +1094,7 @@ export class GeneratedAPIs { androidpublisher = androidpublisher; apigateway = apigateway; apigeeregistry = apigeeregistry; + apihub = apihub; apikeys = apikeys; apim = apim; appengine = appengine; @@ -1196,6 +1204,7 @@ export class GeneratedAPIs { firebase = firebase; firebaseappcheck = firebaseappcheck; firebaseappdistribution = firebaseappdistribution; + firebaseapphosting = firebaseapphosting; firebasedatabase = firebasedatabase; firebasedataconnect = firebasedataconnect; firebasedynamiclinks = firebasedynamiclinks; diff --git a/src/apis/indexing/index.ts b/src/apis/indexing/index.ts index 4c03179b53d..fa37300872b 100644 --- a/src/apis/indexing/index.ts +++ b/src/apis/indexing/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/indexing/package.json b/src/apis/indexing/package.json index 27e42b85f41..0aa0a11766e 100644 --- a/src/apis/indexing/package.json +++ b/src/apis/indexing/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/indexing/v3.ts b/src/apis/indexing/v3.ts index dd1bb74f7a7..205830ad8e6 100644 --- a/src/apis/indexing/v3.ts +++ b/src/apis/indexing/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -185,11 +185,11 @@ export namespace indexing_v3 { getMetadata( params: Params$Resource$Urlnotifications$Getmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMetadata( params?: Params$Resource$Urlnotifications$Getmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getMetadata( params: Params$Resource$Urlnotifications$Getmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -224,8 +224,8 @@ export namespace indexing_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlnotifications$Getmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -280,11 +280,11 @@ export namespace indexing_v3 { publish( params: Params$Resource$Urlnotifications$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Urlnotifications$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Urlnotifications$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -319,8 +319,8 @@ export namespace indexing_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlnotifications$Publish; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/integrations/index.ts b/src/apis/integrations/index.ts index c05a7acf69b..518f1e172e0 100644 --- a/src/apis/integrations/index.ts +++ b/src/apis/integrations/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/integrations/package.json b/src/apis/integrations/package.json index 3105a5c3530..476ac5f162d 100644 --- a/src/apis/integrations/package.json +++ b/src/apis/integrations/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/integrations/v1alpha.ts b/src/apis/integrations/v1alpha.ts index 540065d05c5..4e57d61ed59 100644 --- a/src/apis/integrations/v1alpha.ts +++ b/src/apis/integrations/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -4377,11 +4377,11 @@ export namespace integrations_v1alpha { generateToken( params: Params$Resource$Callback$Generatetoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateToken( params?: Params$Resource$Callback$Generatetoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateToken( params: Params$Resource$Callback$Generatetoken, options: StreamMethodOptions | BodyResponseCallback, @@ -4416,8 +4416,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Callback$Generatetoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4543,11 +4543,11 @@ export namespace integrations_v1alpha { enumerate( params: Params$Resource$Connectorplatformregions$Enumerate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enumerate( params?: Params$Resource$Connectorplatformregions$Enumerate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enumerate( params: Params$Resource$Connectorplatformregions$Enumerate, options: StreamMethodOptions | BodyResponseCallback, @@ -4582,8 +4582,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Connectorplatformregions$Enumerate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4740,11 +4740,11 @@ export namespace integrations_v1alpha { create( params: Params$Resource$Projects$Locations$Appsscriptprojects$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Appsscriptprojects$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Appsscriptprojects$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4779,8 +4779,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appsscriptprojects$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4887,11 +4887,11 @@ export namespace integrations_v1alpha { link( params: Params$Resource$Projects$Locations$Appsscriptprojects$Link, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; link( params?: Params$Resource$Projects$Locations$Appsscriptprojects$Link, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; link( params: Params$Resource$Projects$Locations$Appsscriptprojects$Link, options: StreamMethodOptions | BodyResponseCallback, @@ -4926,8 +4926,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Appsscriptprojects$Link; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5103,11 +5103,11 @@ export namespace integrations_v1alpha { create( params: Params$Resource$Projects$Locations$Authconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Authconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Authconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5142,8 +5142,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5239,11 +5239,11 @@ export namespace integrations_v1alpha { delete( params: Params$Resource$Projects$Locations$Authconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Authconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Authconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5274,8 +5274,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5384,11 +5384,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Authconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Authconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Authconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5423,8 +5423,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5528,11 +5528,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Authconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Authconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Authconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5567,8 +5567,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5714,11 +5714,11 @@ export namespace integrations_v1alpha { patch( params: Params$Resource$Projects$Locations$Authconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Authconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Authconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5753,8 +5753,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5954,11 +5954,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Certificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Certificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Certificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5993,8 +5993,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6118,11 +6118,11 @@ export namespace integrations_v1alpha { getConnectionSchemaMetadata( params: Params$Resource$Projects$Locations$Connections$Getconnectionschemametadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConnectionSchemaMetadata( params?: Params$Resource$Projects$Locations$Connections$Getconnectionschemametadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConnectionSchemaMetadata( params: Params$Resource$Projects$Locations$Connections$Getconnectionschemametadata, options: StreamMethodOptions | BodyResponseCallback, @@ -6157,8 +6157,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Getconnectionschemametadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6263,11 +6263,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6302,8 +6302,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6450,11 +6450,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Connections$Runtimeactionschemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$Runtimeactionschemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$Runtimeactionschemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6489,8 +6489,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Runtimeactionschemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6627,11 +6627,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Connections$Runtimeentityschemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connections$Runtimeentityschemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connections$Runtimeentityschemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6666,8 +6666,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connections$Runtimeentityschemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6799,11 +6799,11 @@ export namespace integrations_v1alpha { delete( params: Params$Resource$Projects$Locations$Integrations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Integrations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Integrations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6834,8 +6834,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6946,11 +6946,11 @@ export namespace integrations_v1alpha { execute( params: Params$Resource$Projects$Locations$Integrations$Execute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; execute( params?: Params$Resource$Projects$Locations$Integrations$Execute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; execute( params: Params$Resource$Projects$Locations$Integrations$Execute, options: StreamMethodOptions | BodyResponseCallback, @@ -6985,8 +6985,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Execute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7093,11 +7093,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Integrations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Integrations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Integrations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7132,8 +7132,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7244,11 +7244,11 @@ export namespace integrations_v1alpha { schedule( params: Params$Resource$Projects$Locations$Integrations$Schedule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; schedule( params?: Params$Resource$Projects$Locations$Integrations$Schedule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; schedule( params: Params$Resource$Projects$Locations$Integrations$Schedule, options: StreamMethodOptions | BodyResponseCallback, @@ -7283,8 +7283,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Schedule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7491,11 +7491,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Integrations$Executions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Integrations$Executions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Integrations$Executions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7530,8 +7530,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Executions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7732,11 +7732,11 @@ export namespace integrations_v1alpha { lift( params: Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$Lift, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lift( params?: Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$Lift, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lift( params: Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$Lift, options: StreamMethodOptions | BodyResponseCallback, @@ -7771,8 +7771,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$Lift; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7884,11 +7884,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7923,8 +7923,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8032,11 +8032,11 @@ export namespace integrations_v1alpha { resolve( params: Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$Resolve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params?: Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$Resolve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params: Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$Resolve, options: StreamMethodOptions | BodyResponseCallback, @@ -8071,8 +8071,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Executions$Suspensions$Resolve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8280,11 +8280,11 @@ export namespace integrations_v1alpha { create( params: Params$Resource$Projects$Locations$Integrations$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Integrations$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Integrations$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8319,8 +8319,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8418,11 +8418,11 @@ export namespace integrations_v1alpha { delete( params: Params$Resource$Projects$Locations$Integrations$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Integrations$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Integrations$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8453,8 +8453,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8551,11 +8551,11 @@ export namespace integrations_v1alpha { download( params: Params$Resource$Projects$Locations$Integrations$Versions$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Projects$Locations$Integrations$Versions$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Projects$Locations$Integrations$Versions$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -8590,8 +8590,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Versions$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8711,11 +8711,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Integrations$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Integrations$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Integrations$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8750,8 +8750,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8860,11 +8860,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Integrations$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Integrations$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Integrations$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8899,8 +8899,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9053,11 +9053,11 @@ export namespace integrations_v1alpha { patch( params: Params$Resource$Projects$Locations$Integrations$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Integrations$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Integrations$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9092,8 +9092,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9194,11 +9194,11 @@ export namespace integrations_v1alpha { publish( params: Params$Resource$Projects$Locations$Integrations$Versions$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Projects$Locations$Integrations$Versions$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Projects$Locations$Integrations$Versions$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -9233,8 +9233,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Versions$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9343,11 +9343,11 @@ export namespace integrations_v1alpha { takeoverEditLock( params: Params$Resource$Projects$Locations$Integrations$Versions$Takeovereditlock, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; takeoverEditLock( params?: Params$Resource$Projects$Locations$Integrations$Versions$Takeovereditlock, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; takeoverEditLock( params: Params$Resource$Projects$Locations$Integrations$Versions$Takeovereditlock, options: StreamMethodOptions | BodyResponseCallback, @@ -9382,8 +9382,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Versions$Takeovereditlock; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9486,11 +9486,11 @@ export namespace integrations_v1alpha { unpublish( params: Params$Resource$Projects$Locations$Integrations$Versions$Unpublish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unpublish( params?: Params$Resource$Projects$Locations$Integrations$Versions$Unpublish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unpublish( params: Params$Resource$Projects$Locations$Integrations$Versions$Unpublish, options: StreamMethodOptions | BodyResponseCallback, @@ -9521,8 +9521,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Versions$Unpublish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9630,11 +9630,11 @@ export namespace integrations_v1alpha { upload( params: Params$Resource$Projects$Locations$Integrations$Versions$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Locations$Integrations$Versions$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Projects$Locations$Integrations$Versions$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -9669,8 +9669,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Integrations$Versions$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9984,11 +9984,11 @@ export namespace integrations_v1alpha { create( params: Params$Resource$Projects$Locations$Products$Authconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Products$Authconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Products$Authconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10023,8 +10023,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Authconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10123,11 +10123,11 @@ export namespace integrations_v1alpha { delete( params: Params$Resource$Projects$Locations$Products$Authconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Products$Authconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Products$Authconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10158,8 +10158,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Authconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10269,11 +10269,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Products$Authconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Products$Authconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Products$Authconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10308,8 +10308,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Authconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10414,11 +10414,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Products$Authconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Products$Authconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Products$Authconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10453,8 +10453,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Authconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10601,11 +10601,11 @@ export namespace integrations_v1alpha { patch( params: Params$Resource$Projects$Locations$Products$Authconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Products$Authconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Products$Authconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10640,8 +10640,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Authconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10859,11 +10859,11 @@ export namespace integrations_v1alpha { create( params: Params$Resource$Projects$Locations$Products$Certificates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Products$Certificates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Products$Certificates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10898,8 +10898,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Certificates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10997,11 +10997,11 @@ export namespace integrations_v1alpha { delete( params: Params$Resource$Projects$Locations$Products$Certificates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Products$Certificates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Products$Certificates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11032,8 +11032,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Certificates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11135,11 +11135,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Products$Certificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Products$Certificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Products$Certificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11174,8 +11174,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Certificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11280,11 +11280,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Products$Certificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Products$Certificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Products$Certificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11319,8 +11319,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Certificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11447,11 +11447,11 @@ export namespace integrations_v1alpha { patch( params: Params$Resource$Projects$Locations$Products$Certificates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Products$Certificates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Products$Certificates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11486,8 +11486,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Certificates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11665,11 +11665,11 @@ export namespace integrations_v1alpha { delete( params: Params$Resource$Projects$Locations$Products$Integrations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Products$Integrations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Products$Integrations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11700,8 +11700,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11814,11 +11814,11 @@ export namespace integrations_v1alpha { execute( params: Params$Resource$Projects$Locations$Products$Integrations$Execute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; execute( params?: Params$Resource$Projects$Locations$Products$Integrations$Execute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; execute( params: Params$Resource$Projects$Locations$Products$Integrations$Execute, options: StreamMethodOptions | BodyResponseCallback, @@ -11853,8 +11853,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Execute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11962,11 +11962,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Products$Integrations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Products$Integrations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Products$Integrations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12001,8 +12001,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12115,11 +12115,11 @@ export namespace integrations_v1alpha { schedule( params: Params$Resource$Projects$Locations$Products$Integrations$Schedule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; schedule( params?: Params$Resource$Projects$Locations$Products$Integrations$Schedule, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; schedule( params: Params$Resource$Projects$Locations$Products$Integrations$Schedule, options: StreamMethodOptions | BodyResponseCallback, @@ -12154,8 +12154,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Schedule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12330,11 +12330,11 @@ export namespace integrations_v1alpha { cancel( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Products$Integrations$Executions$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -12369,8 +12369,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Executions$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12481,11 +12481,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Products$Integrations$Executions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12520,8 +12520,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Executions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12661,11 +12661,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Products$Integrations$Executions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12700,8 +12700,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Executions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12921,11 +12921,11 @@ export namespace integrations_v1alpha { lift( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$Lift, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lift( params?: Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$Lift, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lift( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$Lift, options: StreamMethodOptions | BodyResponseCallback, @@ -12960,8 +12960,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$Lift; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13073,11 +13073,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13112,8 +13112,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13221,11 +13221,11 @@ export namespace integrations_v1alpha { resolve( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$Resolve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params?: Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$Resolve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params: Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$Resolve, options: StreamMethodOptions | BodyResponseCallback, @@ -13260,8 +13260,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Executions$Suspensions$Resolve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13471,11 +13471,11 @@ export namespace integrations_v1alpha { create( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Products$Integrations$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13510,8 +13510,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13611,11 +13611,11 @@ export namespace integrations_v1alpha { delete( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Products$Integrations$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13646,8 +13646,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13746,11 +13746,11 @@ export namespace integrations_v1alpha { download( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Projects$Locations$Products$Integrations$Versions$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -13785,8 +13785,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Versions$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13907,11 +13907,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Products$Integrations$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13946,8 +13946,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14057,11 +14057,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Products$Integrations$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14096,8 +14096,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14249,11 +14249,11 @@ export namespace integrations_v1alpha { patch( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Products$Integrations$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14288,8 +14288,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14392,11 +14392,11 @@ export namespace integrations_v1alpha { publish( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Projects$Locations$Products$Integrations$Versions$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -14431,8 +14431,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Versions$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14541,11 +14541,11 @@ export namespace integrations_v1alpha { takeoverEditLock( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Takeovereditlock, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; takeoverEditLock( params?: Params$Resource$Projects$Locations$Products$Integrations$Versions$Takeovereditlock, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; takeoverEditLock( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Takeovereditlock, options: StreamMethodOptions | BodyResponseCallback, @@ -14580,8 +14580,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Versions$Takeovereditlock; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14686,11 +14686,11 @@ export namespace integrations_v1alpha { unpublish( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Unpublish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unpublish( params?: Params$Resource$Projects$Locations$Products$Integrations$Versions$Unpublish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unpublish( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Unpublish, options: StreamMethodOptions | BodyResponseCallback, @@ -14721,8 +14721,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Versions$Unpublish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14832,11 +14832,11 @@ export namespace integrations_v1alpha { upload( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Projects$Locations$Products$Integrations$Versions$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Projects$Locations$Products$Integrations$Versions$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -14871,8 +14871,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrations$Versions$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15163,11 +15163,11 @@ export namespace integrations_v1alpha { create( params: Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15202,8 +15202,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15319,11 +15319,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15358,8 +15358,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15466,11 +15466,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15505,8 +15505,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Integrationtemplates$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15681,11 +15681,11 @@ export namespace integrations_v1alpha { create( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Products$Sfdcinstances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15720,8 +15720,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Sfdcinstances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15819,11 +15819,11 @@ export namespace integrations_v1alpha { delete( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Products$Sfdcinstances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15854,8 +15854,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Sfdcinstances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15957,11 +15957,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Products$Sfdcinstances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15996,8 +15996,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Sfdcinstances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16104,11 +16104,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Products$Sfdcinstances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16143,8 +16143,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Sfdcinstances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16270,11 +16270,11 @@ export namespace integrations_v1alpha { patch( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Products$Sfdcinstances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16309,8 +16309,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Sfdcinstances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16507,11 +16507,11 @@ export namespace integrations_v1alpha { create( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16546,8 +16546,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16647,11 +16647,11 @@ export namespace integrations_v1alpha { delete( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16682,8 +16682,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16788,11 +16788,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16827,8 +16827,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16937,11 +16937,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16976,8 +16976,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17105,11 +17105,11 @@ export namespace integrations_v1alpha { patch( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17144,8 +17144,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Sfdcinstances$Sfdcchannels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17343,11 +17343,11 @@ export namespace integrations_v1alpha { create( params: Params$Resource$Projects$Locations$Sfdcinstances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sfdcinstances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sfdcinstances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17382,8 +17382,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sfdcinstances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17479,11 +17479,11 @@ export namespace integrations_v1alpha { delete( params: Params$Resource$Projects$Locations$Sfdcinstances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sfdcinstances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sfdcinstances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17514,8 +17514,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sfdcinstances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17616,11 +17616,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Sfdcinstances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sfdcinstances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sfdcinstances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17655,8 +17655,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sfdcinstances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17760,11 +17760,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Sfdcinstances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sfdcinstances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sfdcinstances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17799,8 +17799,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sfdcinstances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17924,11 +17924,11 @@ export namespace integrations_v1alpha { patch( params: Params$Resource$Projects$Locations$Sfdcinstances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Sfdcinstances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Sfdcinstances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17963,8 +17963,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sfdcinstances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18158,11 +18158,11 @@ export namespace integrations_v1alpha { create( params: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18197,8 +18197,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18296,11 +18296,11 @@ export namespace integrations_v1alpha { delete( params: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18331,8 +18331,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18435,11 +18435,11 @@ export namespace integrations_v1alpha { get( params: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18474,8 +18474,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18582,11 +18582,11 @@ export namespace integrations_v1alpha { list( params: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18621,8 +18621,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18748,11 +18748,11 @@ export namespace integrations_v1alpha { patch( params: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18787,8 +18787,8 @@ export namespace integrations_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sfdcinstances$Sfdcchannels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/jobs/index.ts b/src/apis/jobs/index.ts index 12322366921..b4748bf060d 100644 --- a/src/apis/jobs/index.ts +++ b/src/apis/jobs/index.ts @@ -63,7 +63,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/jobs/package.json b/src/apis/jobs/package.json index b540ebccb91..5bcfda9bec1 100644 --- a/src/apis/jobs/package.json +++ b/src/apis/jobs/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/jobs/v2.ts b/src/apis/jobs/v2.ts index b2740bb9216..b6cda35ad60 100644 --- a/src/apis/jobs/v2.ts +++ b/src/apis/jobs/v2.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2051,11 +2051,11 @@ export namespace jobs_v2 { create( params: Params$Resource$Companies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Companies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Companies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2084,7 +2084,7 @@ export namespace jobs_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Companies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2177,11 +2177,11 @@ export namespace jobs_v2 { delete( params: Params$Resource$Companies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Companies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Companies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2210,7 +2210,7 @@ export namespace jobs_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Companies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2322,11 +2322,11 @@ export namespace jobs_v2 { get( params: Params$Resource$Companies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Companies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Companies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2355,7 +2355,7 @@ export namespace jobs_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Companies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2456,11 +2456,11 @@ export namespace jobs_v2 { list( params: Params$Resource$Companies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Companies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Companies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2493,8 +2493,8 @@ export namespace jobs_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Companies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2633,11 +2633,11 @@ export namespace jobs_v2 { patch( params: Params$Resource$Companies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Companies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Companies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2666,7 +2666,7 @@ export namespace jobs_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Companies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2829,11 +2829,11 @@ export namespace jobs_v2 { list( params: Params$Resource$Companies$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Companies$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Companies$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2866,8 +2866,8 @@ export namespace jobs_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Companies$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3004,11 +3004,11 @@ export namespace jobs_v2 { batchDelete( params: Params$Resource$Jobs$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Jobs$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Jobs$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -3037,7 +3037,7 @@ export namespace jobs_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3179,11 +3179,11 @@ export namespace jobs_v2 { create( params: Params$Resource$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3212,7 +3212,7 @@ export namespace jobs_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3307,11 +3307,11 @@ export namespace jobs_v2 { delete( params: Params$Resource$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3340,7 +3340,7 @@ export namespace jobs_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3439,11 +3439,11 @@ export namespace jobs_v2 { deleteByFilter( params: Params$Resource$Jobs$Deletebyfilter, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteByFilter( params?: Params$Resource$Jobs$Deletebyfilter, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteByFilter( params: Params$Resource$Jobs$Deletebyfilter, options: StreamMethodOptions | BodyResponseCallback, @@ -3472,7 +3472,7 @@ export namespace jobs_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Deletebyfilter; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3608,11 +3608,11 @@ export namespace jobs_v2 { get( params: Params$Resource$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3641,7 +3641,7 @@ export namespace jobs_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3746,11 +3746,11 @@ export namespace jobs_v2 { histogram( params: Params$Resource$Jobs$Histogram, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; histogram( params?: Params$Resource$Jobs$Histogram, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; histogram( params: Params$Resource$Jobs$Histogram, options: StreamMethodOptions | BodyResponseCallback, @@ -3785,8 +3785,8 @@ export namespace jobs_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Histogram; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3889,11 +3889,11 @@ export namespace jobs_v2 { list( params: Params$Resource$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3922,7 +3922,7 @@ export namespace jobs_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4065,11 +4065,11 @@ export namespace jobs_v2 { patch( params: Params$Resource$Jobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Jobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Jobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4098,7 +4098,7 @@ export namespace jobs_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4221,11 +4221,11 @@ export namespace jobs_v2 { search( params: Params$Resource$Jobs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Jobs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Jobs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -4256,8 +4256,8 @@ export namespace jobs_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4380,11 +4380,11 @@ export namespace jobs_v2 { searchForAlert( params: Params$Resource$Jobs$Searchforalert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForAlert( params?: Params$Resource$Jobs$Searchforalert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForAlert( params: Params$Resource$Jobs$Searchforalert, options: StreamMethodOptions | BodyResponseCallback, @@ -4417,8 +4417,8 @@ export namespace jobs_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Searchforalert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4619,11 +4619,11 @@ export namespace jobs_v2 { complete( params: Params$Resource$V2$Complete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; complete( params?: Params$Resource$V2$Complete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; complete( params: Params$Resource$V2$Complete, options: StreamMethodOptions | BodyResponseCallback, @@ -4658,8 +4658,8 @@ export namespace jobs_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V2$Complete; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/jobs/v3.ts b/src/apis/jobs/v3.ts index ce1e79d96fc..ff68d53c2a7 100644 --- a/src/apis/jobs/v3.ts +++ b/src/apis/jobs/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1251,11 +1251,11 @@ export namespace jobs_v3 { complete( params: Params$Resource$Projects$Complete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; complete( params?: Params$Resource$Projects$Complete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; complete( params: Params$Resource$Projects$Complete, options: StreamMethodOptions | BodyResponseCallback, @@ -1290,8 +1290,8 @@ export namespace jobs_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Complete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1389,11 +1389,11 @@ export namespace jobs_v3 { create( params: Params$Resource$Projects$Clientevents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Clientevents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Clientevents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1422,7 +1422,10 @@ export namespace jobs_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Clientevents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1497,11 +1500,11 @@ export namespace jobs_v3 { create( params: Params$Resource$Projects$Companies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Companies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Companies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1530,7 +1533,10 @@ export namespace jobs_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Companies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1585,11 +1591,11 @@ export namespace jobs_v3 { delete( params: Params$Resource$Projects$Companies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Companies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Companies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1618,7 +1624,10 @@ export namespace jobs_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Companies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1670,11 +1679,11 @@ export namespace jobs_v3 { get( params: Params$Resource$Projects$Companies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Companies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Companies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1703,7 +1712,10 @@ export namespace jobs_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Companies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1755,11 +1767,11 @@ export namespace jobs_v3 { list( params: Params$Resource$Projects$Companies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Companies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Companies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1792,8 +1804,8 @@ export namespace jobs_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Companies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1848,11 +1860,11 @@ export namespace jobs_v3 { patch( params: Params$Resource$Projects$Companies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Companies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Companies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1881,7 +1893,10 @@ export namespace jobs_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Companies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1998,11 +2013,11 @@ export namespace jobs_v3 { batchDelete( params: Params$Resource$Projects$Jobs$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Jobs$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Jobs$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2031,7 +2046,10 @@ export namespace jobs_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2086,11 +2104,11 @@ export namespace jobs_v3 { create( params: Params$Resource$Projects$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2119,7 +2137,10 @@ export namespace jobs_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2171,11 +2192,11 @@ export namespace jobs_v3 { delete( params: Params$Resource$Projects$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2204,7 +2225,10 @@ export namespace jobs_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2256,11 +2280,11 @@ export namespace jobs_v3 { get( params: Params$Resource$Projects$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2289,7 +2313,10 @@ export namespace jobs_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2341,11 +2368,11 @@ export namespace jobs_v3 { list( params: Params$Resource$Projects$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2374,7 +2401,10 @@ export namespace jobs_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2426,11 +2456,11 @@ export namespace jobs_v3 { patch( params: Params$Resource$Projects$Jobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Jobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Jobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2459,7 +2489,10 @@ export namespace jobs_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2511,11 +2544,11 @@ export namespace jobs_v3 { search( params: Params$Resource$Projects$Jobs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Jobs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Projects$Jobs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -2546,8 +2579,8 @@ export namespace jobs_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2602,11 +2635,11 @@ export namespace jobs_v3 { searchForAlert( params: Params$Resource$Projects$Jobs$Searchforalert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForAlert( params?: Params$Resource$Projects$Jobs$Searchforalert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForAlert( params: Params$Resource$Projects$Jobs$Searchforalert, options: StreamMethodOptions | BodyResponseCallback, @@ -2639,8 +2672,8 @@ export namespace jobs_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Searchforalert; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/jobs/v3p1beta1.ts b/src/apis/jobs/v3p1beta1.ts index a8638c0fdee..37932cf408f 100644 --- a/src/apis/jobs/v3p1beta1.ts +++ b/src/apis/jobs/v3p1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1346,11 +1346,11 @@ export namespace jobs_v3p1beta1 { complete( params: Params$Resource$Projects$Complete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; complete( params?: Params$Resource$Projects$Complete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; complete( params: Params$Resource$Projects$Complete, options: StreamMethodOptions | BodyResponseCallback, @@ -1385,8 +1385,8 @@ export namespace jobs_v3p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Complete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1484,11 +1484,11 @@ export namespace jobs_v3p1beta1 { create( params: Params$Resource$Projects$Clientevents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Clientevents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Clientevents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1517,7 +1517,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Clientevents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1592,11 +1595,11 @@ export namespace jobs_v3p1beta1 { create( params: Params$Resource$Projects$Companies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Companies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Companies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1625,7 +1628,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Companies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1680,11 +1686,11 @@ export namespace jobs_v3p1beta1 { delete( params: Params$Resource$Projects$Companies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Companies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Companies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1713,7 +1719,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Companies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1765,11 +1774,11 @@ export namespace jobs_v3p1beta1 { get( params: Params$Resource$Projects$Companies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Companies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Companies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1798,7 +1807,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Companies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1850,11 +1862,11 @@ export namespace jobs_v3p1beta1 { list( params: Params$Resource$Projects$Companies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Companies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Companies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1887,8 +1899,8 @@ export namespace jobs_v3p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Companies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1943,11 +1955,11 @@ export namespace jobs_v3p1beta1 { patch( params: Params$Resource$Projects$Companies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Companies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Companies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1976,7 +1988,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Companies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2093,11 +2108,11 @@ export namespace jobs_v3p1beta1 { batchDelete( params: Params$Resource$Projects$Jobs$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Jobs$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Jobs$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2126,7 +2141,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2181,11 +2199,11 @@ export namespace jobs_v3p1beta1 { create( params: Params$Resource$Projects$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2214,7 +2232,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2269,11 +2290,11 @@ export namespace jobs_v3p1beta1 { delete( params: Params$Resource$Projects$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2302,7 +2323,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2354,11 +2378,11 @@ export namespace jobs_v3p1beta1 { get( params: Params$Resource$Projects$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2387,7 +2411,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2439,11 +2466,11 @@ export namespace jobs_v3p1beta1 { list( params: Params$Resource$Projects$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2472,7 +2499,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2527,11 +2557,11 @@ export namespace jobs_v3p1beta1 { patch( params: Params$Resource$Projects$Jobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Jobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Jobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2560,7 +2590,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2612,11 +2645,11 @@ export namespace jobs_v3p1beta1 { search( params: Params$Resource$Projects$Jobs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Jobs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Projects$Jobs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -2647,8 +2680,8 @@ export namespace jobs_v3p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2703,11 +2736,11 @@ export namespace jobs_v3p1beta1 { searchForAlert( params: Params$Resource$Projects$Jobs$Searchforalert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForAlert( params?: Params$Resource$Projects$Jobs$Searchforalert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForAlert( params: Params$Resource$Projects$Jobs$Searchforalert, options: StreamMethodOptions | BodyResponseCallback, @@ -2740,8 +2773,8 @@ export namespace jobs_v3p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Searchforalert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2901,11 +2934,11 @@ export namespace jobs_v3p1beta1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2934,7 +2967,10 @@ export namespace jobs_v3p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/jobs/v4.ts b/src/apis/jobs/v4.ts index 86c2cb7ea0a..69f0b12cd64 100644 --- a/src/apis/jobs/v4.ts +++ b/src/apis/jobs/v4.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1262,11 +1262,11 @@ export namespace jobs_v4 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1295,7 +1295,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1370,11 +1373,11 @@ export namespace jobs_v4 { completeQuery( params: Params$Resource$Projects$Tenants$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Tenants$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params: Params$Resource$Projects$Tenants$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -1409,8 +1412,8 @@ export namespace jobs_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1465,11 +1468,11 @@ export namespace jobs_v4 { create( params: Params$Resource$Projects$Tenants$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Tenants$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Tenants$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1498,7 +1501,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1553,11 +1559,11 @@ export namespace jobs_v4 { delete( params: Params$Resource$Projects$Tenants$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Tenants$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Tenants$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1586,7 +1592,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1638,11 +1647,11 @@ export namespace jobs_v4 { get( params: Params$Resource$Projects$Tenants$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Tenants$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Tenants$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1671,7 +1680,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1723,11 +1735,11 @@ export namespace jobs_v4 { list( params: Params$Resource$Projects$Tenants$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Tenants$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Tenants$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1758,8 +1770,8 @@ export namespace jobs_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1814,11 +1826,11 @@ export namespace jobs_v4 { patch( params: Params$Resource$Projects$Tenants$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Tenants$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Tenants$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1847,7 +1859,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1995,11 +2010,11 @@ export namespace jobs_v4 { create( params: Params$Resource$Projects$Tenants$Clientevents$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Tenants$Clientevents$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Tenants$Clientevents$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2028,7 +2043,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Clientevents$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2103,11 +2121,11 @@ export namespace jobs_v4 { create( params: Params$Resource$Projects$Tenants$Companies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Tenants$Companies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Tenants$Companies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2136,7 +2154,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Companies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2191,11 +2212,11 @@ export namespace jobs_v4 { delete( params: Params$Resource$Projects$Tenants$Companies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Tenants$Companies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Tenants$Companies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2224,7 +2245,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Companies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2276,11 +2300,11 @@ export namespace jobs_v4 { get( params: Params$Resource$Projects$Tenants$Companies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Tenants$Companies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Tenants$Companies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2309,7 +2333,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Companies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2361,11 +2388,11 @@ export namespace jobs_v4 { list( params: Params$Resource$Projects$Tenants$Companies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Tenants$Companies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Tenants$Companies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2398,8 +2425,8 @@ export namespace jobs_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Companies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2454,11 +2481,11 @@ export namespace jobs_v4 { patch( params: Params$Resource$Projects$Tenants$Companies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Tenants$Companies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Tenants$Companies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2487,7 +2514,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Companies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2608,11 +2638,11 @@ export namespace jobs_v4 { batchCreate( params: Params$Resource$Projects$Tenants$Jobs$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Tenants$Jobs$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Tenants$Jobs$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -2641,7 +2671,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Jobs$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2696,11 +2729,11 @@ export namespace jobs_v4 { batchDelete( params: Params$Resource$Projects$Tenants$Jobs$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Tenants$Jobs$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Tenants$Jobs$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2729,7 +2762,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Jobs$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2784,11 +2820,11 @@ export namespace jobs_v4 { batchUpdate( params: Params$Resource$Projects$Tenants$Jobs$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Tenants$Jobs$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Tenants$Jobs$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -2817,7 +2853,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Jobs$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2872,11 +2911,11 @@ export namespace jobs_v4 { create( params: Params$Resource$Projects$Tenants$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Tenants$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Tenants$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2905,7 +2944,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2957,11 +2999,11 @@ export namespace jobs_v4 { delete( params: Params$Resource$Projects$Tenants$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Tenants$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Tenants$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2990,7 +3032,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3042,11 +3087,11 @@ export namespace jobs_v4 { get( params: Params$Resource$Projects$Tenants$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Tenants$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Tenants$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3075,7 +3120,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3127,11 +3175,11 @@ export namespace jobs_v4 { list( params: Params$Resource$Projects$Tenants$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Tenants$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Tenants$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3160,7 +3208,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3212,11 +3263,11 @@ export namespace jobs_v4 { patch( params: Params$Resource$Projects$Tenants$Jobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Tenants$Jobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Tenants$Jobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3245,7 +3296,10 @@ export namespace jobs_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Jobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3297,11 +3351,11 @@ export namespace jobs_v4 { search( params: Params$Resource$Projects$Tenants$Jobs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Tenants$Jobs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Projects$Tenants$Jobs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -3332,8 +3386,8 @@ export namespace jobs_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Jobs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3388,11 +3442,11 @@ export namespace jobs_v4 { searchForAlert( params: Params$Resource$Projects$Tenants$Jobs$Searchforalert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchForAlert( params?: Params$Resource$Projects$Tenants$Jobs$Searchforalert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchForAlert( params: Params$Resource$Projects$Tenants$Jobs$Searchforalert, options: StreamMethodOptions | BodyResponseCallback, @@ -3425,8 +3479,8 @@ export namespace jobs_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Tenants$Jobs$Searchforalert; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/keep/index.ts b/src/apis/keep/index.ts index 71d9ed86516..fb517296315 100644 --- a/src/apis/keep/index.ts +++ b/src/apis/keep/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/keep/package.json b/src/apis/keep/package.json index 87bab67c1fd..d0aa384f763 100644 --- a/src/apis/keep/package.json +++ b/src/apis/keep/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/keep/v1.ts b/src/apis/keep/v1.ts index 8b7b1c23a56..ba52f5def2f 100644 --- a/src/apis/keep/v1.ts +++ b/src/apis/keep/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -358,11 +358,11 @@ export namespace keep_v1 { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -391,7 +391,10 @@ export namespace keep_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -462,11 +465,11 @@ export namespace keep_v1 { create( params: Params$Resource$Notes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Notes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Notes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -495,7 +498,10 @@ export namespace keep_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Notes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -546,11 +552,11 @@ export namespace keep_v1 { delete( params: Params$Resource$Notes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Notes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Notes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -579,7 +585,10 @@ export namespace keep_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Notes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -630,11 +639,11 @@ export namespace keep_v1 { get( params: Params$Resource$Notes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Notes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Notes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -663,7 +672,10 @@ export namespace keep_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Notes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -714,11 +726,11 @@ export namespace keep_v1 { list( params: Params$Resource$Notes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Notes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Notes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -749,8 +761,8 @@ export namespace keep_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Notes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -841,11 +853,11 @@ export namespace keep_v1 { batchCreate( params: Params$Resource$Notes$Permissions$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Notes$Permissions$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Notes$Permissions$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -880,8 +892,8 @@ export namespace keep_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Notes$Permissions$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -938,11 +950,11 @@ export namespace keep_v1 { batchDelete( params: Params$Resource$Notes$Permissions$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Notes$Permissions$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Notes$Permissions$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -971,7 +983,10 @@ export namespace keep_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Notes$Permissions$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/kgsearch/index.ts b/src/apis/kgsearch/index.ts index 9859da3b90c..c8690de4453 100644 --- a/src/apis/kgsearch/index.ts +++ b/src/apis/kgsearch/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/kgsearch/package.json b/src/apis/kgsearch/package.json index 5b9c01c4cbe..63e15a57684 100644 --- a/src/apis/kgsearch/package.json +++ b/src/apis/kgsearch/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/kgsearch/v1.ts b/src/apis/kgsearch/v1.ts index 6e62c32ee54..4e7e11966d5 100644 --- a/src/apis/kgsearch/v1.ts +++ b/src/apis/kgsearch/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -159,11 +159,11 @@ export namespace kgsearch_v1 { search( params: Params$Resource$Entities$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Entities$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Entities$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -192,7 +192,10 @@ export namespace kgsearch_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entities$Search; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/kmsinventory/index.ts b/src/apis/kmsinventory/index.ts index a9938d9a252..ec4cebb7bb0 100644 --- a/src/apis/kmsinventory/index.ts +++ b/src/apis/kmsinventory/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/kmsinventory/package.json b/src/apis/kmsinventory/package.json index d7a4834940a..7f277c6feed 100644 --- a/src/apis/kmsinventory/package.json +++ b/src/apis/kmsinventory/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/kmsinventory/v1.ts b/src/apis/kmsinventory/v1.ts index af9a75d350c..17cb79227cd 100644 --- a/src/apis/kmsinventory/v1.ts +++ b/src/apis/kmsinventory/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -446,11 +446,13 @@ export namespace kmsinventory_v1 { search( params: Params$Resource$Organizations$Protectedresources$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Organizations$Protectedresources$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Organizations$Protectedresources$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -485,8 +487,10 @@ export namespace kmsinventory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Protectedresources$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -585,11 +589,13 @@ export namespace kmsinventory_v1 { list( params: Params$Resource$Projects$Cryptokeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Cryptokeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Cryptokeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -624,8 +630,10 @@ export namespace kmsinventory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Cryptokeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -725,11 +733,13 @@ export namespace kmsinventory_v1 { getProtectedResourcesSummary( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Getprotectedresourcessummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getProtectedResourcesSummary( params?: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Getprotectedresourcessummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getProtectedResourcesSummary( params: Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Getprotectedresourcessummary, options: StreamMethodOptions | BodyResponseCallback, @@ -764,8 +774,10 @@ export namespace kmsinventory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Keyrings$Cryptokeys$Getprotectedresourcessummary; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/language/index.ts b/src/apis/language/index.ts index b00ebedf254..c2512068814 100644 --- a/src/apis/language/index.ts +++ b/src/apis/language/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/language/package.json b/src/apis/language/package.json index b17d051d46f..903a09ab47b 100644 --- a/src/apis/language/package.json +++ b/src/apis/language/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/language/v1.ts b/src/apis/language/v1.ts index 5468fec9387..070882ff5c0 100644 --- a/src/apis/language/v1.ts +++ b/src/apis/language/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2639,11 +2639,11 @@ export namespace language_v1 { analyzeEntities( params: Params$Resource$Documents$Analyzeentities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params?: Params$Resource$Documents$Analyzeentities, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params: Params$Resource$Documents$Analyzeentities, options: StreamMethodOptions | BodyResponseCallback, @@ -2678,8 +2678,8 @@ export namespace language_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzeentities; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2734,11 +2734,11 @@ export namespace language_v1 { analyzeEntitySentiment( params: Params$Resource$Documents$Analyzeentitysentiment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntitySentiment( params?: Params$Resource$Documents$Analyzeentitysentiment, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntitySentiment( params: Params$Resource$Documents$Analyzeentitysentiment, options: StreamMethodOptions | BodyResponseCallback, @@ -2773,8 +2773,8 @@ export namespace language_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzeentitysentiment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2831,11 +2831,11 @@ export namespace language_v1 { analyzeSentiment( params: Params$Resource$Documents$Analyzesentiment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSentiment( params?: Params$Resource$Documents$Analyzesentiment, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSentiment( params: Params$Resource$Documents$Analyzesentiment, options: StreamMethodOptions | BodyResponseCallback, @@ -2870,8 +2870,8 @@ export namespace language_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzesentiment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2926,11 +2926,11 @@ export namespace language_v1 { analyzeSyntax( params: Params$Resource$Documents$Analyzesyntax, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSyntax( params?: Params$Resource$Documents$Analyzesyntax, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSyntax( params: Params$Resource$Documents$Analyzesyntax, options: StreamMethodOptions | BodyResponseCallback, @@ -2965,8 +2965,8 @@ export namespace language_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzesyntax; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3021,11 +3021,11 @@ export namespace language_v1 { annotateText( params: Params$Resource$Documents$Annotatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotateText( params?: Params$Resource$Documents$Annotatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotateText( params: Params$Resource$Documents$Annotatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -3060,8 +3060,8 @@ export namespace language_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Annotatetext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3116,11 +3116,11 @@ export namespace language_v1 { classifyText( params: Params$Resource$Documents$Classifytext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; classifyText( params?: Params$Resource$Documents$Classifytext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; classifyText( params: Params$Resource$Documents$Classifytext, options: StreamMethodOptions | BodyResponseCallback, @@ -3155,8 +3155,8 @@ export namespace language_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Classifytext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3211,11 +3211,11 @@ export namespace language_v1 { moderateText( params: Params$Resource$Documents$Moderatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moderateText( params?: Params$Resource$Documents$Moderatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moderateText( params: Params$Resource$Documents$Moderatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -3250,8 +3250,8 @@ export namespace language_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Moderatetext; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/language/v1beta1.ts b/src/apis/language/v1beta1.ts index bfa45d373db..76aff1ebc55 100644 --- a/src/apis/language/v1beta1.ts +++ b/src/apis/language/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -545,11 +545,11 @@ export namespace language_v1beta1 { analyzeEntities( params: Params$Resource$Documents$Analyzeentities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params?: Params$Resource$Documents$Analyzeentities, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params: Params$Resource$Documents$Analyzeentities, options: StreamMethodOptions | BodyResponseCallback, @@ -584,8 +584,8 @@ export namespace language_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzeentities; let options = (optionsOrCallback || {}) as MethodOptions; @@ -692,11 +692,11 @@ export namespace language_v1beta1 { analyzeSentiment( params: Params$Resource$Documents$Analyzesentiment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSentiment( params?: Params$Resource$Documents$Analyzesentiment, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSentiment( params: Params$Resource$Documents$Analyzesentiment, options: StreamMethodOptions | BodyResponseCallback, @@ -731,8 +731,8 @@ export namespace language_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzesentiment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -839,11 +839,11 @@ export namespace language_v1beta1 { analyzeSyntax( params: Params$Resource$Documents$Analyzesyntax, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSyntax( params?: Params$Resource$Documents$Analyzesyntax, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSyntax( params: Params$Resource$Documents$Analyzesyntax, options: StreamMethodOptions | BodyResponseCallback, @@ -878,8 +878,8 @@ export namespace language_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzesyntax; let options = (optionsOrCallback || {}) as MethodOptions; @@ -989,11 +989,11 @@ export namespace language_v1beta1 { annotateText( params: Params$Resource$Documents$Annotatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotateText( params?: Params$Resource$Documents$Annotatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotateText( params: Params$Resource$Documents$Annotatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -1028,8 +1028,8 @@ export namespace language_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Annotatetext; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/language/v1beta2.ts b/src/apis/language/v1beta2.ts index 90f2749b849..9bdd07aa664 100644 --- a/src/apis/language/v1beta2.ts +++ b/src/apis/language/v1beta2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2647,11 +2647,11 @@ export namespace language_v1beta2 { analyzeEntities( params: Params$Resource$Documents$Analyzeentities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params?: Params$Resource$Documents$Analyzeentities, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params: Params$Resource$Documents$Analyzeentities, options: StreamMethodOptions | BodyResponseCallback, @@ -2686,8 +2686,8 @@ export namespace language_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzeentities; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2742,11 +2742,11 @@ export namespace language_v1beta2 { analyzeEntitySentiment( params: Params$Resource$Documents$Analyzeentitysentiment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntitySentiment( params?: Params$Resource$Documents$Analyzeentitysentiment, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntitySentiment( params: Params$Resource$Documents$Analyzeentitysentiment, options: StreamMethodOptions | BodyResponseCallback, @@ -2781,8 +2781,8 @@ export namespace language_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzeentitysentiment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2838,11 +2838,11 @@ export namespace language_v1beta2 { analyzeSentiment( params: Params$Resource$Documents$Analyzesentiment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSentiment( params?: Params$Resource$Documents$Analyzesentiment, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSentiment( params: Params$Resource$Documents$Analyzesentiment, options: StreamMethodOptions | BodyResponseCallback, @@ -2877,8 +2877,8 @@ export namespace language_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzesentiment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2933,11 +2933,11 @@ export namespace language_v1beta2 { analyzeSyntax( params: Params$Resource$Documents$Analyzesyntax, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSyntax( params?: Params$Resource$Documents$Analyzesyntax, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSyntax( params: Params$Resource$Documents$Analyzesyntax, options: StreamMethodOptions | BodyResponseCallback, @@ -2972,8 +2972,8 @@ export namespace language_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzesyntax; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3028,11 +3028,11 @@ export namespace language_v1beta2 { annotateText( params: Params$Resource$Documents$Annotatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotateText( params?: Params$Resource$Documents$Annotatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotateText( params: Params$Resource$Documents$Annotatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -3067,8 +3067,8 @@ export namespace language_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Annotatetext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3123,11 +3123,11 @@ export namespace language_v1beta2 { classifyText( params: Params$Resource$Documents$Classifytext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; classifyText( params?: Params$Resource$Documents$Classifytext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; classifyText( params: Params$Resource$Documents$Classifytext, options: StreamMethodOptions | BodyResponseCallback, @@ -3162,8 +3162,8 @@ export namespace language_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Classifytext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3218,11 +3218,11 @@ export namespace language_v1beta2 { moderateText( params: Params$Resource$Documents$Moderatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moderateText( params?: Params$Resource$Documents$Moderatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moderateText( params: Params$Resource$Documents$Moderatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -3257,8 +3257,8 @@ export namespace language_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Moderatetext; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/language/v2.ts b/src/apis/language/v2.ts index ef74e4f1e38..750d5752aa9 100644 --- a/src/apis/language/v2.ts +++ b/src/apis/language/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2486,11 +2486,11 @@ export namespace language_v2 { analyzeEntities( params: Params$Resource$Documents$Analyzeentities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params?: Params$Resource$Documents$Analyzeentities, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeEntities( params: Params$Resource$Documents$Analyzeentities, options: StreamMethodOptions | BodyResponseCallback, @@ -2525,8 +2525,8 @@ export namespace language_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzeentities; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2581,11 +2581,11 @@ export namespace language_v2 { analyzeSentiment( params: Params$Resource$Documents$Analyzesentiment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSentiment( params?: Params$Resource$Documents$Analyzesentiment, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzeSentiment( params: Params$Resource$Documents$Analyzesentiment, options: StreamMethodOptions | BodyResponseCallback, @@ -2620,8 +2620,8 @@ export namespace language_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Analyzesentiment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2676,11 +2676,11 @@ export namespace language_v2 { annotateText( params: Params$Resource$Documents$Annotatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotateText( params?: Params$Resource$Documents$Annotatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotateText( params: Params$Resource$Documents$Annotatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -2715,8 +2715,8 @@ export namespace language_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Annotatetext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2771,11 +2771,11 @@ export namespace language_v2 { classifyText( params: Params$Resource$Documents$Classifytext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; classifyText( params?: Params$Resource$Documents$Classifytext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; classifyText( params: Params$Resource$Documents$Classifytext, options: StreamMethodOptions | BodyResponseCallback, @@ -2810,8 +2810,8 @@ export namespace language_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Classifytext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2866,11 +2866,11 @@ export namespace language_v2 { moderateText( params: Params$Resource$Documents$Moderatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moderateText( params?: Params$Resource$Documents$Moderatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moderateText( params: Params$Resource$Documents$Moderatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -2905,8 +2905,8 @@ export namespace language_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Documents$Moderatetext; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/libraryagent/index.ts b/src/apis/libraryagent/index.ts index 63404a4b985..52642fcba75 100644 --- a/src/apis/libraryagent/index.ts +++ b/src/apis/libraryagent/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/libraryagent/package.json b/src/apis/libraryagent/package.json index 3a63161b83e..4c08dc2a427 100644 --- a/src/apis/libraryagent/package.json +++ b/src/apis/libraryagent/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/libraryagent/v1.ts b/src/apis/libraryagent/v1.ts index e95c774d5c8..2f68af90f31 100644 --- a/src/apis/libraryagent/v1.ts +++ b/src/apis/libraryagent/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -204,11 +204,13 @@ export namespace libraryagent_v1 { get( params: Params$Resource$Shelves$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Shelves$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Shelves$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -243,8 +245,10 @@ export namespace libraryagent_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shelves$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -297,11 +301,13 @@ export namespace libraryagent_v1 { list( params: Params$Resource$Shelves$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Shelves$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Shelves$List, options: StreamMethodOptions | BodyResponseCallback, @@ -336,8 +342,10 @@ export namespace libraryagent_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shelves$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -414,11 +422,11 @@ export namespace libraryagent_v1 { borrow( params: Params$Resource$Shelves$Books$Borrow, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; borrow( params?: Params$Resource$Shelves$Books$Borrow, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; borrow( params: Params$Resource$Shelves$Books$Borrow, options: StreamMethodOptions | BodyResponseCallback, @@ -453,8 +461,8 @@ export namespace libraryagent_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shelves$Books$Borrow; let options = (optionsOrCallback || {}) as MethodOptions; @@ -508,11 +516,11 @@ export namespace libraryagent_v1 { get( params: Params$Resource$Shelves$Books$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Shelves$Books$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Shelves$Books$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -547,8 +555,8 @@ export namespace libraryagent_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shelves$Books$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -602,11 +610,13 @@ export namespace libraryagent_v1 { list( params: Params$Resource$Shelves$Books$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Shelves$Books$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Shelves$Books$List, options: StreamMethodOptions | BodyResponseCallback, @@ -641,8 +651,10 @@ export namespace libraryagent_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shelves$Books$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -699,11 +711,11 @@ export namespace libraryagent_v1 { return( params: Params$Resource$Shelves$Books$Return, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; return( params?: Params$Resource$Shelves$Books$Return, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; return( params: Params$Resource$Shelves$Books$Return, options: StreamMethodOptions | BodyResponseCallback, @@ -738,8 +750,8 @@ export namespace libraryagent_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Shelves$Books$Return; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/licensing/index.ts b/src/apis/licensing/index.ts index 5b76c814fcb..45ddc9fb6e3 100644 --- a/src/apis/licensing/index.ts +++ b/src/apis/licensing/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/licensing/package.json b/src/apis/licensing/package.json index e8d0c5e120c..d3987a831be 100644 --- a/src/apis/licensing/package.json +++ b/src/apis/licensing/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/licensing/v1.ts b/src/apis/licensing/v1.ts index 436752bf447..c2a97aade3e 100644 --- a/src/apis/licensing/v1.ts +++ b/src/apis/licensing/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -210,11 +210,11 @@ export namespace licensing_v1 { delete( params: Params$Resource$Licenseassignments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Licenseassignments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Licenseassignments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -243,7 +243,10 @@ export namespace licensing_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenseassignments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -298,11 +301,11 @@ export namespace licensing_v1 { get( params: Params$Resource$Licenseassignments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Licenseassignments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Licenseassignments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -333,8 +336,8 @@ export namespace licensing_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenseassignments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -389,11 +392,11 @@ export namespace licensing_v1 { insert( params: Params$Resource$Licenseassignments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Licenseassignments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Licenseassignments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -424,8 +427,8 @@ export namespace licensing_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenseassignments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -480,11 +483,11 @@ export namespace licensing_v1 { listForProduct( params: Params$Resource$Licenseassignments$Listforproduct, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listForProduct( params?: Params$Resource$Licenseassignments$Listforproduct, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listForProduct( params: Params$Resource$Licenseassignments$Listforproduct, options: StreamMethodOptions | BodyResponseCallback, @@ -519,8 +522,8 @@ export namespace licensing_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenseassignments$Listforproduct; let options = (optionsOrCallback || {}) as MethodOptions; @@ -574,11 +577,11 @@ export namespace licensing_v1 { listForProductAndSku( params: Params$Resource$Licenseassignments$Listforproductandsku, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listForProductAndSku( params?: Params$Resource$Licenseassignments$Listforproductandsku, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listForProductAndSku( params: Params$Resource$Licenseassignments$Listforproductandsku, options: StreamMethodOptions | BodyResponseCallback, @@ -613,8 +616,8 @@ export namespace licensing_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenseassignments$Listforproductandsku; let options = (optionsOrCallback || {}) as MethodOptions; @@ -669,11 +672,11 @@ export namespace licensing_v1 { patch( params: Params$Resource$Licenseassignments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Licenseassignments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Licenseassignments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -704,8 +707,8 @@ export namespace licensing_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenseassignments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -760,11 +763,11 @@ export namespace licensing_v1 { update( params: Params$Resource$Licenseassignments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Licenseassignments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Licenseassignments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -795,8 +798,8 @@ export namespace licensing_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Licenseassignments$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/lifesciences/index.ts b/src/apis/lifesciences/index.ts index 5546a4b6a2d..631fe970a64 100644 --- a/src/apis/lifesciences/index.ts +++ b/src/apis/lifesciences/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/lifesciences/package.json b/src/apis/lifesciences/package.json index 663b84dc778..4071a6f687a 100644 --- a/src/apis/lifesciences/package.json +++ b/src/apis/lifesciences/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/lifesciences/v2beta.ts b/src/apis/lifesciences/v2beta.ts index 54b905361dc..6090ad7757d 100644 --- a/src/apis/lifesciences/v2beta.ts +++ b/src/apis/lifesciences/v2beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -837,11 +837,11 @@ export namespace lifesciences_v2beta { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -870,7 +870,10 @@ export namespace lifesciences_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -922,11 +925,11 @@ export namespace lifesciences_v2beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -959,8 +962,8 @@ export namespace lifesciences_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1053,11 +1056,11 @@ export namespace lifesciences_v2beta { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1086,7 +1089,10 @@ export namespace lifesciences_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1141,11 +1147,11 @@ export namespace lifesciences_v2beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1174,7 +1180,10 @@ export namespace lifesciences_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1226,11 +1235,11 @@ export namespace lifesciences_v2beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1263,8 +1272,8 @@ export namespace lifesciences_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1365,11 +1374,11 @@ export namespace lifesciences_v2beta { run( params: Params$Resource$Projects$Locations$Pipelines$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Pipelines$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Pipelines$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -1398,7 +1407,10 @@ export namespace lifesciences_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Pipelines$Run; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/localservices/index.ts b/src/apis/localservices/index.ts index 4c7e5ad9c8f..613029b9368 100644 --- a/src/apis/localservices/index.ts +++ b/src/apis/localservices/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/localservices/package.json b/src/apis/localservices/package.json index 69204466268..80b95f7b823 100644 --- a/src/apis/localservices/package.json +++ b/src/apis/localservices/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/localservices/v1.ts b/src/apis/localservices/v1.ts index 6521703db9e..21327e47b8f 100644 --- a/src/apis/localservices/v1.ts +++ b/src/apis/localservices/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -401,11 +401,13 @@ export namespace localservices_v1 { search( params: Params$Resource$Accountreports$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Accountreports$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Accountreports$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -440,8 +442,10 @@ export namespace localservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accountreports$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -546,11 +550,13 @@ export namespace localservices_v1 { search( params: Params$Resource$Detailedleadreports$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Detailedleadreports$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Detailedleadreports$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -585,8 +591,10 @@ export namespace localservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Detailedleadreports$Search; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/logging/index.ts b/src/apis/logging/index.ts index bd0fb4194d9..24f38b872df 100644 --- a/src/apis/logging/index.ts +++ b/src/apis/logging/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/logging/package.json b/src/apis/logging/package.json index 3308352f971..c87e7b0d740 100644 --- a/src/apis/logging/package.json +++ b/src/apis/logging/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/logging/v2.ts b/src/apis/logging/v2.ts index 5313e964c59..1bd7d414233 100644 --- a/src/apis/logging/v2.ts +++ b/src/apis/logging/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1993,11 +1993,11 @@ export namespace logging_v2 { getCmekSettings( params: Params$Resource$Billingaccounts$Getcmeksettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCmekSettings( params?: Params$Resource$Billingaccounts$Getcmeksettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCmekSettings( params: Params$Resource$Billingaccounts$Getcmeksettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2026,7 +2026,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Getcmeksettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2081,11 +2084,11 @@ export namespace logging_v2 { getSettings( params: Params$Resource$Billingaccounts$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$Billingaccounts$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params: Params$Resource$Billingaccounts$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2114,7 +2117,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2191,11 +2197,11 @@ export namespace logging_v2 { create( params: Params$Resource$Billingaccounts$Exclusions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Billingaccounts$Exclusions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Billingaccounts$Exclusions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2224,7 +2230,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Exclusions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2279,11 +2288,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Billingaccounts$Exclusions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Billingaccounts$Exclusions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Billingaccounts$Exclusions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2312,7 +2321,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Exclusions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2364,11 +2376,11 @@ export namespace logging_v2 { get( params: Params$Resource$Billingaccounts$Exclusions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Exclusions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billingaccounts$Exclusions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2397,7 +2409,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Exclusions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2449,11 +2464,11 @@ export namespace logging_v2 { list( params: Params$Resource$Billingaccounts$Exclusions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Exclusions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Exclusions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2486,8 +2501,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Exclusions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2542,11 +2557,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Billingaccounts$Exclusions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Billingaccounts$Exclusions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Billingaccounts$Exclusions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2575,7 +2590,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Exclusions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2708,11 +2726,11 @@ export namespace logging_v2 { get( params: Params$Resource$Billingaccounts$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billingaccounts$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2741,7 +2759,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2793,11 +2814,11 @@ export namespace logging_v2 { list( params: Params$Resource$Billingaccounts$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2830,8 +2851,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2932,11 +2953,11 @@ export namespace logging_v2 { create( params: Params$Resource$Billingaccounts$Locations$Buckets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Billingaccounts$Locations$Buckets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Billingaccounts$Locations$Buckets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2965,7 +2986,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3020,11 +3044,11 @@ export namespace logging_v2 { createAsync( params: Params$Resource$Billingaccounts$Locations$Buckets$Createasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createAsync( params?: Params$Resource$Billingaccounts$Locations$Buckets$Createasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createAsync( params: Params$Resource$Billingaccounts$Locations$Buckets$Createasync, options: StreamMethodOptions | BodyResponseCallback, @@ -3053,7 +3077,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Createasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3109,11 +3136,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Billingaccounts$Locations$Buckets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Billingaccounts$Locations$Buckets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Billingaccounts$Locations$Buckets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3142,7 +3169,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3194,11 +3224,11 @@ export namespace logging_v2 { get( params: Params$Resource$Billingaccounts$Locations$Buckets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Locations$Buckets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billingaccounts$Locations$Buckets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3227,7 +3257,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3279,11 +3312,11 @@ export namespace logging_v2 { list( params: Params$Resource$Billingaccounts$Locations$Buckets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$Buckets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Locations$Buckets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3314,8 +3347,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3370,11 +3403,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Billingaccounts$Locations$Buckets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Billingaccounts$Locations$Buckets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Billingaccounts$Locations$Buckets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3403,7 +3436,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3455,11 +3491,11 @@ export namespace logging_v2 { undelete( params: Params$Resource$Billingaccounts$Locations$Buckets$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Billingaccounts$Locations$Buckets$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Billingaccounts$Locations$Buckets$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -3488,7 +3524,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3544,11 +3583,11 @@ export namespace logging_v2 { updateAsync( params: Params$Resource$Billingaccounts$Locations$Buckets$Updateasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAsync( params?: Params$Resource$Billingaccounts$Locations$Buckets$Updateasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAsync( params: Params$Resource$Billingaccounts$Locations$Buckets$Updateasync, options: StreamMethodOptions | BodyResponseCallback, @@ -3577,7 +3616,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Updateasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3746,11 +3788,11 @@ export namespace logging_v2 { create( params: Params$Resource$Billingaccounts$Locations$Buckets$Links$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Billingaccounts$Locations$Buckets$Links$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Billingaccounts$Locations$Buckets$Links$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3779,7 +3821,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Links$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3835,11 +3880,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Billingaccounts$Locations$Buckets$Links$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Billingaccounts$Locations$Buckets$Links$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Billingaccounts$Locations$Buckets$Links$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3868,7 +3913,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Links$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3921,11 +3969,11 @@ export namespace logging_v2 { get( params: Params$Resource$Billingaccounts$Locations$Buckets$Links$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Locations$Buckets$Links$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billingaccounts$Locations$Buckets$Links$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3954,7 +4002,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Links$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4007,11 +4058,11 @@ export namespace logging_v2 { list( params: Params$Resource$Billingaccounts$Locations$Buckets$Links$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$Buckets$Links$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Locations$Buckets$Links$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4042,8 +4093,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Links$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4156,11 +4207,11 @@ export namespace logging_v2 { create( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Billingaccounts$Locations$Buckets$Views$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4189,7 +4240,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Views$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4245,11 +4299,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Billingaccounts$Locations$Buckets$Views$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4278,7 +4332,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Views$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4331,11 +4388,11 @@ export namespace logging_v2 { get( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Locations$Buckets$Views$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4364,7 +4421,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Views$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4417,11 +4477,11 @@ export namespace logging_v2 { list( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$Buckets$Views$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4452,8 +4512,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Views$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4509,11 +4569,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Billingaccounts$Locations$Buckets$Views$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4542,7 +4602,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Views$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4664,11 +4727,11 @@ export namespace logging_v2 { list( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$Logs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$Buckets$Views$Logs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Locations$Buckets$Views$Logs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4697,7 +4760,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Buckets$Views$Logs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4777,11 +4843,11 @@ export namespace logging_v2 { cancel( params: Params$Resource$Billingaccounts$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Billingaccounts$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Billingaccounts$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4810,7 +4876,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4863,11 +4932,11 @@ export namespace logging_v2 { get( params: Params$Resource$Billingaccounts$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billingaccounts$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4896,7 +4965,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4948,11 +5020,11 @@ export namespace logging_v2 { list( params: Params$Resource$Billingaccounts$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4985,8 +5057,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5088,11 +5160,11 @@ export namespace logging_v2 { list( params: Params$Resource$Billingaccounts$Locations$Recentqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$Recentqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Locations$Recentqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5127,8 +5199,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recentqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5211,11 +5283,11 @@ export namespace logging_v2 { create( params: Params$Resource$Billingaccounts$Locations$Savedqueries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Billingaccounts$Locations$Savedqueries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Billingaccounts$Locations$Savedqueries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5244,7 +5316,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Savedqueries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5300,11 +5375,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Billingaccounts$Locations$Savedqueries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Billingaccounts$Locations$Savedqueries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Billingaccounts$Locations$Savedqueries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5333,7 +5408,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Savedqueries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5386,11 +5464,11 @@ export namespace logging_v2 { get( params: Params$Resource$Billingaccounts$Locations$Savedqueries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Locations$Savedqueries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billingaccounts$Locations$Savedqueries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5419,7 +5497,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Savedqueries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5472,11 +5553,11 @@ export namespace logging_v2 { list( params: Params$Resource$Billingaccounts$Locations$Savedqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$Savedqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Locations$Savedqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5509,8 +5590,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Savedqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5566,11 +5647,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Billingaccounts$Locations$Savedqueries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Billingaccounts$Locations$Savedqueries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Billingaccounts$Locations$Savedqueries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5599,7 +5680,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Savedqueries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5725,11 +5809,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Billingaccounts$Logs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Billingaccounts$Logs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Billingaccounts$Logs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5758,7 +5842,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Logs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5810,11 +5897,11 @@ export namespace logging_v2 { list( params: Params$Resource$Billingaccounts$Logs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Logs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Logs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5843,7 +5930,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Logs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5929,11 +6019,11 @@ export namespace logging_v2 { create( params: Params$Resource$Billingaccounts$Sinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Billingaccounts$Sinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Billingaccounts$Sinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5962,7 +6052,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Sinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6017,11 +6110,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Billingaccounts$Sinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Billingaccounts$Sinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Billingaccounts$Sinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6050,7 +6143,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Sinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6102,11 +6198,11 @@ export namespace logging_v2 { get( params: Params$Resource$Billingaccounts$Sinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Sinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billingaccounts$Sinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6135,7 +6231,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Sinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6187,11 +6286,11 @@ export namespace logging_v2 { list( params: Params$Resource$Billingaccounts$Sinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Sinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Billingaccounts$Sinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6222,8 +6321,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Sinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6278,11 +6377,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Billingaccounts$Sinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Billingaccounts$Sinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Billingaccounts$Sinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6311,7 +6410,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Sinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6363,11 +6465,11 @@ export namespace logging_v2 { update( params: Params$Resource$Billingaccounts$Sinks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Billingaccounts$Sinks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Billingaccounts$Sinks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6396,7 +6498,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Sinks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6557,11 +6662,11 @@ export namespace logging_v2 { copy( params: Params$Resource$Entries$Copy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copy( params?: Params$Resource$Entries$Copy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copy( params: Params$Resource$Entries$Copy, options: StreamMethodOptions | BodyResponseCallback, @@ -6590,7 +6695,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entries$Copy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6641,11 +6749,11 @@ export namespace logging_v2 { list( params: Params$Resource$Entries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Entries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Entries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6678,8 +6786,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6730,11 +6838,11 @@ export namespace logging_v2 { tail( params: Params$Resource$Entries$Tail, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; tail( params?: Params$Resource$Entries$Tail, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; tail( params: Params$Resource$Entries$Tail, options: StreamMethodOptions | BodyResponseCallback, @@ -6767,8 +6875,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entries$Tail; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6819,11 +6927,11 @@ export namespace logging_v2 { write( params: Params$Resource$Entries$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Entries$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; write( params: Params$Resource$Entries$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -6856,8 +6964,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Entries$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6940,11 +7048,11 @@ export namespace logging_v2 { create( params: Params$Resource$Exclusions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Exclusions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Exclusions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6973,7 +7081,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Exclusions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7028,11 +7139,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Exclusions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Exclusions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Exclusions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7061,7 +7172,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Exclusions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7113,11 +7227,11 @@ export namespace logging_v2 { get( params: Params$Resource$Exclusions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Exclusions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Exclusions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7146,7 +7260,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Exclusions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7197,11 +7314,11 @@ export namespace logging_v2 { list( params: Params$Resource$Exclusions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Exclusions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Exclusions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7234,8 +7351,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Exclusions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7289,11 +7406,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Exclusions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Exclusions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Exclusions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7322,7 +7439,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Exclusions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7443,11 +7563,11 @@ export namespace logging_v2 { getCmekSettings( params: Params$Resource$Folders$Getcmeksettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCmekSettings( params?: Params$Resource$Folders$Getcmeksettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCmekSettings( params: Params$Resource$Folders$Getcmeksettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7476,7 +7596,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getcmeksettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7531,11 +7654,11 @@ export namespace logging_v2 { getSettings( params: Params$Resource$Folders$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$Folders$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params: Params$Resource$Folders$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7564,7 +7687,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7619,11 +7745,11 @@ export namespace logging_v2 { updateSettings( params: Params$Resource$Folders$Updatesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params?: Params$Resource$Folders$Updatesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params: Params$Resource$Folders$Updatesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7652,7 +7778,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Updatesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7745,11 +7874,11 @@ export namespace logging_v2 { create( params: Params$Resource$Folders$Exclusions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Exclusions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Exclusions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7778,7 +7907,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Exclusions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7833,11 +7965,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Folders$Exclusions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Exclusions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Exclusions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7866,7 +7998,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Exclusions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7918,11 +8053,11 @@ export namespace logging_v2 { get( params: Params$Resource$Folders$Exclusions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Exclusions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Exclusions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7951,7 +8086,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Exclusions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8003,11 +8141,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Exclusions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Exclusions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Exclusions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8040,8 +8178,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Exclusions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8096,11 +8234,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Folders$Exclusions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Exclusions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Exclusions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8129,7 +8267,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Exclusions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8260,11 +8401,11 @@ export namespace logging_v2 { get( params: Params$Resource$Folders$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8293,7 +8434,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8345,11 +8489,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8382,8 +8526,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8480,11 +8624,11 @@ export namespace logging_v2 { create( params: Params$Resource$Folders$Locations$Buckets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Locations$Buckets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Locations$Buckets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8513,7 +8657,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8568,11 +8715,11 @@ export namespace logging_v2 { createAsync( params: Params$Resource$Folders$Locations$Buckets$Createasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createAsync( params?: Params$Resource$Folders$Locations$Buckets$Createasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createAsync( params: Params$Resource$Folders$Locations$Buckets$Createasync, options: StreamMethodOptions | BodyResponseCallback, @@ -8601,7 +8748,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Createasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8656,11 +8806,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Folders$Locations$Buckets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Locations$Buckets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Locations$Buckets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8689,7 +8839,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8741,11 +8894,11 @@ export namespace logging_v2 { get( params: Params$Resource$Folders$Locations$Buckets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Buckets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Buckets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8774,7 +8927,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8826,11 +8982,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Locations$Buckets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Buckets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Buckets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8861,8 +9017,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8917,11 +9073,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Folders$Locations$Buckets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Locations$Buckets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Locations$Buckets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8950,7 +9106,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9002,11 +9161,11 @@ export namespace logging_v2 { undelete( params: Params$Resource$Folders$Locations$Buckets$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Folders$Locations$Buckets$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Folders$Locations$Buckets$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -9035,7 +9194,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9090,11 +9252,11 @@ export namespace logging_v2 { updateAsync( params: Params$Resource$Folders$Locations$Buckets$Updateasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAsync( params?: Params$Resource$Folders$Locations$Buckets$Updateasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAsync( params: Params$Resource$Folders$Locations$Buckets$Updateasync, options: StreamMethodOptions | BodyResponseCallback, @@ -9123,7 +9285,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Updateasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9291,11 +9456,11 @@ export namespace logging_v2 { create( params: Params$Resource$Folders$Locations$Buckets$Links$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Locations$Buckets$Links$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Locations$Buckets$Links$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9324,7 +9489,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Links$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9379,11 +9547,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Folders$Locations$Buckets$Links$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Locations$Buckets$Links$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Locations$Buckets$Links$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9412,7 +9580,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Links$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9464,11 +9635,11 @@ export namespace logging_v2 { get( params: Params$Resource$Folders$Locations$Buckets$Links$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Buckets$Links$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Buckets$Links$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9497,7 +9668,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Links$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9549,11 +9723,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Locations$Buckets$Links$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Buckets$Links$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Buckets$Links$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9584,8 +9758,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Links$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9697,11 +9871,11 @@ export namespace logging_v2 { create( params: Params$Resource$Folders$Locations$Buckets$Views$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Locations$Buckets$Views$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Locations$Buckets$Views$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9730,7 +9904,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Views$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9785,11 +9962,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Folders$Locations$Buckets$Views$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Locations$Buckets$Views$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Locations$Buckets$Views$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9818,7 +9995,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Views$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9870,11 +10050,11 @@ export namespace logging_v2 { get( params: Params$Resource$Folders$Locations$Buckets$Views$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Buckets$Views$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Buckets$Views$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9903,7 +10083,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Views$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9955,11 +10138,11 @@ export namespace logging_v2 { getIamPolicy( params: Params$Resource$Folders$Locations$Buckets$Views$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Folders$Locations$Buckets$Views$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Folders$Locations$Buckets$Views$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9988,7 +10171,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Views$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10044,11 +10230,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Locations$Buckets$Views$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Buckets$Views$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Buckets$Views$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10079,8 +10265,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Views$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10135,11 +10321,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Folders$Locations$Buckets$Views$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Locations$Buckets$Views$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Locations$Buckets$Views$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10168,7 +10354,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Views$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10220,11 +10409,11 @@ export namespace logging_v2 { setIamPolicy( params: Params$Resource$Folders$Locations$Buckets$Views$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Folders$Locations$Buckets$Views$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Folders$Locations$Buckets$Views$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10253,7 +10442,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Views$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10309,11 +10501,11 @@ export namespace logging_v2 { testIamPermissions( params: Params$Resource$Folders$Locations$Buckets$Views$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Folders$Locations$Buckets$Views$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Folders$Locations$Buckets$Views$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -10348,8 +10540,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Views$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10510,11 +10702,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Locations$Buckets$Views$Logs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Buckets$Views$Logs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Buckets$Views$Logs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10543,7 +10735,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Buckets$Views$Logs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10623,11 +10818,11 @@ export namespace logging_v2 { create( params: Params$Resource$Folders$Locations$Logscopes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Locations$Logscopes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Locations$Logscopes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10656,7 +10851,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Logscopes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10711,11 +10909,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Folders$Locations$Logscopes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Locations$Logscopes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Locations$Logscopes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10744,7 +10942,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Logscopes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10796,11 +10997,11 @@ export namespace logging_v2 { get( params: Params$Resource$Folders$Locations$Logscopes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Logscopes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Logscopes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10829,7 +11030,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Logscopes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10881,11 +11085,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Locations$Logscopes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Logscopes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Logscopes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10918,8 +11122,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Logscopes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10974,11 +11178,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Folders$Locations$Logscopes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Locations$Logscopes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Locations$Logscopes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11007,7 +11211,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Logscopes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11128,11 +11335,11 @@ export namespace logging_v2 { cancel( params: Params$Resource$Folders$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Folders$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Folders$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -11161,7 +11368,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11213,11 +11423,11 @@ export namespace logging_v2 { get( params: Params$Resource$Folders$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11246,7 +11456,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11298,11 +11511,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11335,8 +11548,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11437,11 +11650,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Locations$Recentqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Recentqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Recentqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11476,8 +11689,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recentqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11559,11 +11772,11 @@ export namespace logging_v2 { create( params: Params$Resource$Folders$Locations$Savedqueries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Locations$Savedqueries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Locations$Savedqueries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11592,7 +11805,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Savedqueries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11647,11 +11863,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Folders$Locations$Savedqueries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Locations$Savedqueries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Locations$Savedqueries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11680,7 +11896,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Savedqueries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11732,11 +11951,11 @@ export namespace logging_v2 { get( params: Params$Resource$Folders$Locations$Savedqueries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Savedqueries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Savedqueries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11765,7 +11984,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Savedqueries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11817,11 +12039,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Locations$Savedqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Savedqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Savedqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11854,8 +12076,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Savedqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11910,11 +12132,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Folders$Locations$Savedqueries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Locations$Savedqueries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Locations$Savedqueries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11943,7 +12165,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Savedqueries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12068,11 +12293,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Folders$Logs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Logs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Logs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12101,7 +12326,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Logs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12153,11 +12381,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Logs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Logs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Logs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12186,7 +12414,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Logs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12272,11 +12503,11 @@ export namespace logging_v2 { create( params: Params$Resource$Folders$Sinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Sinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Sinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12305,7 +12536,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12360,11 +12594,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Folders$Sinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Sinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Sinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12393,7 +12627,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12445,11 +12682,11 @@ export namespace logging_v2 { get( params: Params$Resource$Folders$Sinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Sinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Sinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12478,7 +12715,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12530,11 +12770,11 @@ export namespace logging_v2 { list( params: Params$Resource$Folders$Sinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Sinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Sinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12565,8 +12805,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12621,11 +12861,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Folders$Sinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Sinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Sinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12654,7 +12894,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12706,11 +12949,11 @@ export namespace logging_v2 { update( params: Params$Resource$Folders$Sinks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Folders$Sinks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Folders$Sinks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12739,7 +12982,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sinks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12904,11 +13150,11 @@ export namespace logging_v2 { get( params: Params$Resource$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12937,7 +13183,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12988,11 +13237,11 @@ export namespace logging_v2 { list( params: Params$Resource$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13025,8 +13274,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13120,11 +13369,11 @@ export namespace logging_v2 { create( params: Params$Resource$Locations$Buckets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Locations$Buckets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Locations$Buckets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13153,7 +13402,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13208,11 +13460,11 @@ export namespace logging_v2 { createAsync( params: Params$Resource$Locations$Buckets$Createasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createAsync( params?: Params$Resource$Locations$Buckets$Createasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createAsync( params: Params$Resource$Locations$Buckets$Createasync, options: StreamMethodOptions | BodyResponseCallback, @@ -13241,7 +13493,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Createasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13296,11 +13551,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Locations$Buckets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Buckets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Buckets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13329,7 +13584,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13381,11 +13639,11 @@ export namespace logging_v2 { get( params: Params$Resource$Locations$Buckets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Buckets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Buckets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13414,7 +13672,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13466,11 +13727,11 @@ export namespace logging_v2 { list( params: Params$Resource$Locations$Buckets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Buckets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$Buckets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13501,8 +13762,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13557,11 +13818,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Locations$Buckets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Locations$Buckets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Locations$Buckets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13590,7 +13851,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13642,11 +13906,11 @@ export namespace logging_v2 { undelete( params: Params$Resource$Locations$Buckets$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Locations$Buckets$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Locations$Buckets$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -13675,7 +13939,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13730,11 +13997,11 @@ export namespace logging_v2 { updateAsync( params: Params$Resource$Locations$Buckets$Updateasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAsync( params?: Params$Resource$Locations$Buckets$Updateasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAsync( params: Params$Resource$Locations$Buckets$Updateasync, options: StreamMethodOptions | BodyResponseCallback, @@ -13763,7 +14030,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Updateasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13931,11 +14201,11 @@ export namespace logging_v2 { create( params: Params$Resource$Locations$Buckets$Links$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Locations$Buckets$Links$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Locations$Buckets$Links$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13964,7 +14234,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Links$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14019,11 +14292,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Locations$Buckets$Links$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Buckets$Links$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Buckets$Links$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14052,7 +14325,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Links$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14104,11 +14380,11 @@ export namespace logging_v2 { get( params: Params$Resource$Locations$Buckets$Links$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Buckets$Links$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Buckets$Links$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14137,7 +14413,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Links$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14189,11 +14468,11 @@ export namespace logging_v2 { list( params: Params$Resource$Locations$Buckets$Links$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Buckets$Links$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$Buckets$Links$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14224,8 +14503,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Links$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14333,11 +14612,11 @@ export namespace logging_v2 { create( params: Params$Resource$Locations$Buckets$Views$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Locations$Buckets$Views$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Locations$Buckets$Views$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14366,7 +14645,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Views$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14421,11 +14703,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Locations$Buckets$Views$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Buckets$Views$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Buckets$Views$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14454,7 +14736,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Views$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14506,11 +14791,11 @@ export namespace logging_v2 { get( params: Params$Resource$Locations$Buckets$Views$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Buckets$Views$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Buckets$Views$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14539,7 +14824,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Views$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14591,11 +14879,11 @@ export namespace logging_v2 { getIamPolicy( params: Params$Resource$Locations$Buckets$Views$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Locations$Buckets$Views$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Locations$Buckets$Views$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -14624,7 +14912,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Views$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14679,11 +14970,11 @@ export namespace logging_v2 { list( params: Params$Resource$Locations$Buckets$Views$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Buckets$Views$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$Buckets$Views$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14714,8 +15005,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Views$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14770,11 +15061,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Locations$Buckets$Views$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Locations$Buckets$Views$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Locations$Buckets$Views$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14803,7 +15094,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Views$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14855,11 +15149,11 @@ export namespace logging_v2 { setIamPolicy( params: Params$Resource$Locations$Buckets$Views$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Locations$Buckets$Views$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Locations$Buckets$Views$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -14888,7 +15182,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Views$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14943,11 +15240,11 @@ export namespace logging_v2 { testIamPermissions( params: Params$Resource$Locations$Buckets$Views$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Locations$Buckets$Views$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Locations$Buckets$Views$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -14982,8 +15279,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Buckets$Views$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15144,11 +15441,11 @@ export namespace logging_v2 { cancel( params: Params$Resource$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -15177,7 +15474,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15229,11 +15529,11 @@ export namespace logging_v2 { get( params: Params$Resource$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15262,7 +15562,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15314,11 +15617,11 @@ export namespace logging_v2 { list( params: Params$Resource$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15351,8 +15654,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15453,11 +15756,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Logs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Logs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Logs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15486,7 +15789,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Logs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15537,11 +15843,11 @@ export namespace logging_v2 { list( params: Params$Resource$Logs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Logs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Logs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15570,7 +15876,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Logs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15653,11 +15962,13 @@ export namespace logging_v2 { list( params: Params$Resource$Monitoredresourcedescriptors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Monitoredresourcedescriptors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Monitoredresourcedescriptors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15692,8 +16003,10 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Monitoredresourcedescriptors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15777,11 +16090,11 @@ export namespace logging_v2 { getCmekSettings( params: Params$Resource$Organizations$Getcmeksettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCmekSettings( params?: Params$Resource$Organizations$Getcmeksettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCmekSettings( params: Params$Resource$Organizations$Getcmeksettings, options: StreamMethodOptions | BodyResponseCallback, @@ -15810,7 +16123,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getcmeksettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15865,11 +16181,11 @@ export namespace logging_v2 { getSettings( params: Params$Resource$Organizations$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$Organizations$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params: Params$Resource$Organizations$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -15898,7 +16214,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15953,11 +16272,11 @@ export namespace logging_v2 { updateCmekSettings( params: Params$Resource$Organizations$Updatecmeksettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekSettings( params?: Params$Resource$Organizations$Updatecmeksettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekSettings( params: Params$Resource$Organizations$Updatecmeksettings, options: StreamMethodOptions | BodyResponseCallback, @@ -15988,7 +16307,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updatecmeksettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16043,11 +16365,11 @@ export namespace logging_v2 { updateSettings( params: Params$Resource$Organizations$Updatesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params?: Params$Resource$Organizations$Updatesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params: Params$Resource$Organizations$Updatesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -16076,7 +16398,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updatesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16185,11 +16510,11 @@ export namespace logging_v2 { create( params: Params$Resource$Organizations$Exclusions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Exclusions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Exclusions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16218,7 +16543,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Exclusions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16273,11 +16601,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Organizations$Exclusions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Exclusions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Exclusions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16306,7 +16634,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Exclusions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16358,11 +16689,11 @@ export namespace logging_v2 { get( params: Params$Resource$Organizations$Exclusions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Exclusions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Exclusions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16391,7 +16722,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Exclusions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16443,11 +16777,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Exclusions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Exclusions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Exclusions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16480,8 +16814,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Exclusions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16536,11 +16870,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Organizations$Exclusions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Exclusions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Exclusions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16569,7 +16903,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Exclusions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16704,11 +17041,11 @@ export namespace logging_v2 { get( params: Params$Resource$Organizations$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16737,7 +17074,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16789,11 +17129,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16826,8 +17166,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16928,11 +17268,11 @@ export namespace logging_v2 { create( params: Params$Resource$Organizations$Locations$Buckets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Buckets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Buckets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16961,7 +17301,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17016,11 +17359,11 @@ export namespace logging_v2 { createAsync( params: Params$Resource$Organizations$Locations$Buckets$Createasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createAsync( params?: Params$Resource$Organizations$Locations$Buckets$Createasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createAsync( params: Params$Resource$Organizations$Locations$Buckets$Createasync, options: StreamMethodOptions | BodyResponseCallback, @@ -17049,7 +17392,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Createasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17105,11 +17451,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Organizations$Locations$Buckets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Buckets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Buckets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17138,7 +17484,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17190,11 +17539,11 @@ export namespace logging_v2 { get( params: Params$Resource$Organizations$Locations$Buckets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Buckets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Buckets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17223,7 +17572,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17275,11 +17627,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Locations$Buckets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Buckets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Buckets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17310,8 +17662,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17366,11 +17718,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Organizations$Locations$Buckets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Buckets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Buckets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17399,7 +17751,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17451,11 +17806,11 @@ export namespace logging_v2 { undelete( params: Params$Resource$Organizations$Locations$Buckets$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Organizations$Locations$Buckets$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Organizations$Locations$Buckets$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -17484,7 +17839,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17539,11 +17897,11 @@ export namespace logging_v2 { updateAsync( params: Params$Resource$Organizations$Locations$Buckets$Updateasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAsync( params?: Params$Resource$Organizations$Locations$Buckets$Updateasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAsync( params: Params$Resource$Organizations$Locations$Buckets$Updateasync, options: StreamMethodOptions | BodyResponseCallback, @@ -17572,7 +17930,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Updateasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17741,11 +18102,11 @@ export namespace logging_v2 { create( params: Params$Resource$Organizations$Locations$Buckets$Links$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Buckets$Links$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Buckets$Links$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17774,7 +18135,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Links$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17830,11 +18194,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Organizations$Locations$Buckets$Links$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Buckets$Links$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Buckets$Links$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17863,7 +18227,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Links$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17916,11 +18283,11 @@ export namespace logging_v2 { get( params: Params$Resource$Organizations$Locations$Buckets$Links$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Buckets$Links$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Buckets$Links$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17949,7 +18316,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Links$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18002,11 +18372,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Locations$Buckets$Links$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Buckets$Links$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Buckets$Links$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18037,8 +18407,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Links$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18151,11 +18521,11 @@ export namespace logging_v2 { create( params: Params$Resource$Organizations$Locations$Buckets$Views$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Buckets$Views$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Buckets$Views$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18184,7 +18554,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Views$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18240,11 +18613,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Organizations$Locations$Buckets$Views$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Buckets$Views$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Buckets$Views$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -18273,7 +18646,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Views$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18326,11 +18702,11 @@ export namespace logging_v2 { get( params: Params$Resource$Organizations$Locations$Buckets$Views$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Buckets$Views$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Buckets$Views$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18359,7 +18735,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Views$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18412,11 +18791,11 @@ export namespace logging_v2 { getIamPolicy( params: Params$Resource$Organizations$Locations$Buckets$Views$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Organizations$Locations$Buckets$Views$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Organizations$Locations$Buckets$Views$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -18445,7 +18824,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Views$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18501,11 +18883,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Locations$Buckets$Views$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Buckets$Views$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Buckets$Views$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18536,8 +18918,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Views$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18593,11 +18975,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Organizations$Locations$Buckets$Views$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Buckets$Views$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Buckets$Views$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18626,7 +19008,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Views$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18679,11 +19064,11 @@ export namespace logging_v2 { setIamPolicy( params: Params$Resource$Organizations$Locations$Buckets$Views$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Organizations$Locations$Buckets$Views$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Organizations$Locations$Buckets$Views$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -18712,7 +19097,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Views$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18768,11 +19156,11 @@ export namespace logging_v2 { testIamPermissions( params: Params$Resource$Organizations$Locations$Buckets$Views$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Locations$Buckets$Views$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Organizations$Locations$Buckets$Views$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -18807,8 +19195,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Views$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18969,11 +19357,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Locations$Buckets$Views$Logs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Buckets$Views$Logs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Buckets$Views$Logs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19002,7 +19390,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Buckets$Views$Logs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19082,11 +19473,11 @@ export namespace logging_v2 { create( params: Params$Resource$Organizations$Locations$Logscopes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Logscopes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Logscopes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19115,7 +19506,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Logscopes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19170,11 +19564,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Organizations$Locations$Logscopes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Logscopes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Logscopes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -19203,7 +19597,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Logscopes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19255,11 +19652,11 @@ export namespace logging_v2 { get( params: Params$Resource$Organizations$Locations$Logscopes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Logscopes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Logscopes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19288,7 +19685,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Logscopes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19340,11 +19740,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Locations$Logscopes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Logscopes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Logscopes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19377,8 +19777,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Logscopes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19433,11 +19833,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Organizations$Locations$Logscopes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Logscopes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Logscopes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19466,7 +19866,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Logscopes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19587,11 +19990,11 @@ export namespace logging_v2 { cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -19620,7 +20023,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19673,11 +20079,11 @@ export namespace logging_v2 { get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -19706,7 +20112,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19758,11 +20167,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19795,8 +20204,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19897,11 +20306,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Locations$Recentqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Recentqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Recentqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19936,8 +20345,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recentqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20020,11 +20429,11 @@ export namespace logging_v2 { create( params: Params$Resource$Organizations$Locations$Savedqueries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Savedqueries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Savedqueries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20053,7 +20462,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Savedqueries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20109,11 +20521,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Organizations$Locations$Savedqueries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Savedqueries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Savedqueries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20142,7 +20554,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Savedqueries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20195,11 +20610,11 @@ export namespace logging_v2 { get( params: Params$Resource$Organizations$Locations$Savedqueries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Savedqueries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Savedqueries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20228,7 +20643,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Savedqueries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20280,11 +20698,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Locations$Savedqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Savedqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Savedqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20317,8 +20735,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Savedqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20374,11 +20792,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Organizations$Locations$Savedqueries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Savedqueries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Savedqueries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20407,7 +20825,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Savedqueries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20533,11 +20954,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Organizations$Logs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Logs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Logs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20566,7 +20987,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Logs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20618,11 +21042,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Logs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Logs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Logs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20651,7 +21075,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Logs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20737,11 +21164,11 @@ export namespace logging_v2 { create( params: Params$Resource$Organizations$Sinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Sinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Sinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20770,7 +21197,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20825,11 +21255,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Organizations$Sinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Sinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Sinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20858,7 +21288,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20910,11 +21343,11 @@ export namespace logging_v2 { get( params: Params$Resource$Organizations$Sinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Sinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Sinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20943,7 +21376,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20995,11 +21431,11 @@ export namespace logging_v2 { list( params: Params$Resource$Organizations$Sinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Sinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Sinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21030,8 +21466,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21086,11 +21522,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Organizations$Sinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Sinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Sinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21119,7 +21555,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21171,11 +21610,11 @@ export namespace logging_v2 { update( params: Params$Resource$Organizations$Sinks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Organizations$Sinks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Organizations$Sinks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -21204,7 +21643,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sinks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21375,11 +21817,11 @@ export namespace logging_v2 { getCmekSettings( params: Params$Resource$Projects$Getcmeksettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCmekSettings( params?: Params$Resource$Projects$Getcmeksettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCmekSettings( params: Params$Resource$Projects$Getcmeksettings, options: StreamMethodOptions | BodyResponseCallback, @@ -21408,7 +21850,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getcmeksettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21463,11 +21908,11 @@ export namespace logging_v2 { getSettings( params: Params$Resource$Projects$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$Projects$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params: Params$Resource$Projects$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -21496,7 +21941,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21573,11 +22021,11 @@ export namespace logging_v2 { create( params: Params$Resource$Projects$Exclusions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Exclusions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Exclusions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21606,7 +22054,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Exclusions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21661,11 +22112,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Projects$Exclusions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Exclusions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Exclusions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21694,7 +22145,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Exclusions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21746,11 +22200,11 @@ export namespace logging_v2 { get( params: Params$Resource$Projects$Exclusions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Exclusions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Exclusions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21779,7 +22233,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Exclusions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21831,11 +22288,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Exclusions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Exclusions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Exclusions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21868,8 +22325,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Exclusions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21924,11 +22381,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Projects$Exclusions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Exclusions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Exclusions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21957,7 +22414,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Exclusions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22090,11 +22550,11 @@ export namespace logging_v2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22123,7 +22583,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22175,11 +22638,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22212,8 +22675,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22310,11 +22773,11 @@ export namespace logging_v2 { create( params: Params$Resource$Projects$Locations$Buckets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Buckets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Buckets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22343,7 +22806,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22398,11 +22864,11 @@ export namespace logging_v2 { createAsync( params: Params$Resource$Projects$Locations$Buckets$Createasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createAsync( params?: Params$Resource$Projects$Locations$Buckets$Createasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createAsync( params: Params$Resource$Projects$Locations$Buckets$Createasync, options: StreamMethodOptions | BodyResponseCallback, @@ -22431,7 +22897,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Createasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22486,11 +22955,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Projects$Locations$Buckets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Buckets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Buckets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22519,7 +22988,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22571,11 +23043,11 @@ export namespace logging_v2 { get( params: Params$Resource$Projects$Locations$Buckets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Buckets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Buckets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22604,7 +23076,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22656,11 +23131,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Locations$Buckets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Buckets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Buckets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22691,8 +23166,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22747,11 +23222,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Projects$Locations$Buckets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Buckets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Buckets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22780,7 +23255,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22832,11 +23310,11 @@ export namespace logging_v2 { undelete( params: Params$Resource$Projects$Locations$Buckets$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Buckets$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Locations$Buckets$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -22865,7 +23343,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22920,11 +23401,11 @@ export namespace logging_v2 { updateAsync( params: Params$Resource$Projects$Locations$Buckets$Updateasync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAsync( params?: Params$Resource$Projects$Locations$Buckets$Updateasync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAsync( params: Params$Resource$Projects$Locations$Buckets$Updateasync, options: StreamMethodOptions | BodyResponseCallback, @@ -22953,7 +23434,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Updateasync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23121,11 +23605,11 @@ export namespace logging_v2 { create( params: Params$Resource$Projects$Locations$Buckets$Links$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Buckets$Links$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Buckets$Links$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23154,7 +23638,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Links$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23209,11 +23696,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Projects$Locations$Buckets$Links$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Buckets$Links$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Buckets$Links$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23242,7 +23729,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Links$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23294,11 +23784,11 @@ export namespace logging_v2 { get( params: Params$Resource$Projects$Locations$Buckets$Links$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Buckets$Links$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Buckets$Links$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23327,7 +23817,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Links$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23379,11 +23872,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Locations$Buckets$Links$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Buckets$Links$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Buckets$Links$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23414,8 +23907,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Links$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23527,11 +24020,11 @@ export namespace logging_v2 { create( params: Params$Resource$Projects$Locations$Buckets$Views$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Buckets$Views$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Buckets$Views$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23560,7 +24053,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Views$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23615,11 +24111,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Projects$Locations$Buckets$Views$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Buckets$Views$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Buckets$Views$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23648,7 +24144,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Views$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23700,11 +24199,11 @@ export namespace logging_v2 { get( params: Params$Resource$Projects$Locations$Buckets$Views$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Buckets$Views$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Buckets$Views$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23733,7 +24232,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Views$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23785,11 +24287,11 @@ export namespace logging_v2 { getIamPolicy( params: Params$Resource$Projects$Locations$Buckets$Views$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Buckets$Views$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Buckets$Views$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -23818,7 +24320,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Views$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23874,11 +24379,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Locations$Buckets$Views$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Buckets$Views$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Buckets$Views$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23909,8 +24414,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Views$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23965,11 +24470,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Projects$Locations$Buckets$Views$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Buckets$Views$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Buckets$Views$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23998,7 +24503,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Views$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24050,11 +24558,11 @@ export namespace logging_v2 { setIamPolicy( params: Params$Resource$Projects$Locations$Buckets$Views$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Buckets$Views$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Buckets$Views$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -24083,7 +24591,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Views$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24139,11 +24650,11 @@ export namespace logging_v2 { testIamPermissions( params: Params$Resource$Projects$Locations$Buckets$Views$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Buckets$Views$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Buckets$Views$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -24178,8 +24689,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Views$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24340,11 +24851,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Locations$Buckets$Views$Logs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Buckets$Views$Logs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Buckets$Views$Logs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24373,7 +24884,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Buckets$Views$Logs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24453,11 +24967,11 @@ export namespace logging_v2 { create( params: Params$Resource$Projects$Locations$Logscopes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Logscopes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Logscopes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -24486,7 +25000,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Logscopes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24541,11 +25058,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Projects$Locations$Logscopes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Logscopes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Logscopes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -24574,7 +25091,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Logscopes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24626,11 +25146,11 @@ export namespace logging_v2 { get( params: Params$Resource$Projects$Locations$Logscopes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Logscopes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Logscopes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24659,7 +25179,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Logscopes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24711,11 +25234,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Locations$Logscopes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Logscopes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Logscopes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24748,8 +25271,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Logscopes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24804,11 +25327,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Projects$Locations$Logscopes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Logscopes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Logscopes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24837,7 +25360,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Logscopes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24958,11 +25484,11 @@ export namespace logging_v2 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -24991,7 +25517,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25043,11 +25572,11 @@ export namespace logging_v2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25076,7 +25605,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25128,11 +25660,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25165,8 +25697,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25267,11 +25799,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Locations$Recentqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Recentqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Recentqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25306,8 +25838,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recentqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25389,11 +25921,11 @@ export namespace logging_v2 { create( params: Params$Resource$Projects$Locations$Savedqueries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Savedqueries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Savedqueries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -25422,7 +25954,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Savedqueries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25477,11 +26012,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Projects$Locations$Savedqueries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Savedqueries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Savedqueries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25510,7 +26045,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Savedqueries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25562,11 +26100,11 @@ export namespace logging_v2 { get( params: Params$Resource$Projects$Locations$Savedqueries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Savedqueries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Savedqueries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -25595,7 +26133,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Savedqueries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25647,11 +26188,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Locations$Savedqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Savedqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Savedqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -25684,8 +26225,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Savedqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25740,11 +26281,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Projects$Locations$Savedqueries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Savedqueries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Savedqueries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25773,7 +26314,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Savedqueries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25898,11 +26442,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Projects$Logs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Logs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Logs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -25931,7 +26475,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Logs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25983,11 +26530,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Logs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Logs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Logs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26016,7 +26563,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Logs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26102,11 +26652,11 @@ export namespace logging_v2 { create( params: Params$Resource$Projects$Metrics$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Metrics$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Metrics$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -26135,7 +26685,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Metrics$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26190,11 +26743,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Projects$Metrics$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Metrics$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Metrics$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26223,7 +26776,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Metrics$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26275,11 +26831,11 @@ export namespace logging_v2 { get( params: Params$Resource$Projects$Metrics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Metrics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Metrics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26308,7 +26864,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Metrics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26360,11 +26919,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Metrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Metrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Metrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26397,8 +26956,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Metrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26453,11 +27012,11 @@ export namespace logging_v2 { update( params: Params$Resource$Projects$Metrics$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Metrics$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Metrics$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -26486,7 +27045,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Metrics$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26599,11 +27161,11 @@ export namespace logging_v2 { create( params: Params$Resource$Projects$Sinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Sinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Sinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -26632,7 +27194,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26687,11 +27252,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Projects$Sinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Sinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Sinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -26720,7 +27285,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26772,11 +27340,11 @@ export namespace logging_v2 { get( params: Params$Resource$Projects$Sinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Sinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Sinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -26805,7 +27373,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26857,11 +27428,11 @@ export namespace logging_v2 { list( params: Params$Resource$Projects$Sinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -26892,8 +27463,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -26948,11 +27519,11 @@ export namespace logging_v2 { patch( params: Params$Resource$Projects$Sinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Sinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Sinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -26981,7 +27552,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27033,11 +27607,11 @@ export namespace logging_v2 { update( params: Params$Resource$Projects$Sinks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Sinks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Sinks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -27066,7 +27640,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sinks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27227,11 +27804,11 @@ export namespace logging_v2 { create( params: Params$Resource$Sinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Sinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Sinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -27260,7 +27837,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27314,11 +27894,11 @@ export namespace logging_v2 { delete( params: Params$Resource$Sinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -27347,7 +27927,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27398,11 +27981,11 @@ export namespace logging_v2 { get( params: Params$Resource$Sinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -27431,7 +28014,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27482,11 +28068,11 @@ export namespace logging_v2 { list( params: Params$Resource$Sinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -27517,8 +28103,8 @@ export namespace logging_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27572,11 +28158,11 @@ export namespace logging_v2 { update( params: Params$Resource$Sinks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Sinks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Sinks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -27605,7 +28191,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sinks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27736,11 +28325,11 @@ export namespace logging_v2 { getCmekSettings( params: Params$Resource$V2$Getcmeksettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCmekSettings( params?: Params$Resource$V2$Getcmeksettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCmekSettings( params: Params$Resource$V2$Getcmeksettings, options: StreamMethodOptions | BodyResponseCallback, @@ -27769,7 +28358,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V2$Getcmeksettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27824,11 +28416,11 @@ export namespace logging_v2 { getSettings( params: Params$Resource$V2$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$V2$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params: Params$Resource$V2$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -27857,7 +28449,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V2$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -27911,11 +28506,11 @@ export namespace logging_v2 { updateCmekSettings( params: Params$Resource$V2$Updatecmeksettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekSettings( params?: Params$Resource$V2$Updatecmeksettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCmekSettings( params: Params$Resource$V2$Updatecmeksettings, options: StreamMethodOptions | BodyResponseCallback, @@ -27946,7 +28541,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V2$Updatecmeksettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -28001,11 +28599,11 @@ export namespace logging_v2 { updateSettings( params: Params$Resource$V2$Updatesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params?: Params$Resource$V2$Updatesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params: Params$Resource$V2$Updatesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -28034,7 +28632,10 @@ export namespace logging_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V2$Updatesettings; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/looker/index.ts b/src/apis/looker/index.ts index 18dea2f225d..bfe82a9ed4b 100644 --- a/src/apis/looker/index.ts +++ b/src/apis/looker/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/looker/package.json b/src/apis/looker/package.json index d0175785c36..fe41afdf473 100644 --- a/src/apis/looker/package.json +++ b/src/apis/looker/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/looker/v1.ts b/src/apis/looker/v1.ts index 923b0d7d64e..b9716045134 100644 --- a/src/apis/looker/v1.ts +++ b/src/apis/looker/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -749,11 +749,11 @@ export namespace looker_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -782,7 +782,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -834,11 +837,11 @@ export namespace looker_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -871,8 +874,8 @@ export namespace looker_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -969,11 +972,11 @@ export namespace looker_v1 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1002,7 +1005,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1057,11 +1063,11 @@ export namespace looker_v1 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1090,7 +1096,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1142,11 +1151,11 @@ export namespace looker_v1 { export( params: Params$Resource$Projects$Locations$Instances$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Instances$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Instances$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -1175,7 +1184,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1227,11 +1239,11 @@ export namespace looker_v1 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1260,7 +1272,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1312,11 +1327,11 @@ export namespace looker_v1 { import( params: Params$Resource$Projects$Locations$Instances$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Instances$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Instances$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -1345,7 +1360,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1397,11 +1415,11 @@ export namespace looker_v1 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1434,8 +1452,8 @@ export namespace looker_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1490,11 +1508,11 @@ export namespace looker_v1 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1523,7 +1541,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1575,11 +1596,11 @@ export namespace looker_v1 { restart( params: Params$Resource$Projects$Locations$Instances$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Projects$Locations$Instances$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Projects$Locations$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -1608,7 +1629,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1663,11 +1687,11 @@ export namespace looker_v1 { restore( params: Params$Resource$Projects$Locations$Instances$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Instances$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Instances$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -1696,7 +1720,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1872,11 +1899,11 @@ export namespace looker_v1 { create( params: Params$Resource$Projects$Locations$Instances$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1905,7 +1932,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1961,11 +1991,11 @@ export namespace looker_v1 { delete( params: Params$Resource$Projects$Locations$Instances$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1994,7 +2024,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2046,11 +2079,11 @@ export namespace looker_v1 { get( params: Params$Resource$Projects$Locations$Instances$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2079,7 +2112,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2131,11 +2167,11 @@ export namespace looker_v1 { list( params: Params$Resource$Projects$Locations$Instances$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2170,8 +2206,8 @@ export namespace looker_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2280,11 +2316,11 @@ export namespace looker_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2313,7 +2349,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2365,11 +2404,11 @@ export namespace looker_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2398,7 +2437,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2450,11 +2492,11 @@ export namespace looker_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2483,7 +2525,10 @@ export namespace looker_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2535,11 +2580,11 @@ export namespace looker_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2572,8 +2617,8 @@ export namespace looker_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/managedidentities/index.ts b/src/apis/managedidentities/index.ts index 99ad79ac561..b70b2042e14 100644 --- a/src/apis/managedidentities/index.ts +++ b/src/apis/managedidentities/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/managedidentities/package.json b/src/apis/managedidentities/package.json index b5a8f0b2d5b..dca07f200eb 100644 --- a/src/apis/managedidentities/package.json +++ b/src/apis/managedidentities/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/managedidentities/v1.ts b/src/apis/managedidentities/v1.ts index 5c7a4a261d6..7db3e63cb2b 100644 --- a/src/apis/managedidentities/v1.ts +++ b/src/apis/managedidentities/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1302,11 +1302,11 @@ export namespace managedidentities_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1335,7 +1335,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1388,11 +1391,11 @@ export namespace managedidentities_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1425,8 +1428,8 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1544,11 +1547,11 @@ export namespace managedidentities_v1 { attachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Attachtrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Attachtrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Attachtrust, options: StreamMethodOptions | BodyResponseCallback, @@ -1577,7 +1580,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Attachtrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1634,11 +1640,13 @@ export namespace managedidentities_v1 { checkMigrationPermission( params: Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkMigrationPermission( params?: Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; checkMigrationPermission( params: Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission, options: StreamMethodOptions | BodyResponseCallback, @@ -1673,8 +1681,10 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1733,11 +1743,11 @@ export namespace managedidentities_v1 { create( params: Params$Resource$Projects$Locations$Global$Domains$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Domains$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Domains$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1766,7 +1776,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1822,11 +1835,11 @@ export namespace managedidentities_v1 { delete( params: Params$Resource$Projects$Locations$Global$Domains$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Domains$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Domains$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1855,7 +1868,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1908,11 +1924,11 @@ export namespace managedidentities_v1 { detachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Detachtrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Detachtrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Detachtrust, options: StreamMethodOptions | BodyResponseCallback, @@ -1941,7 +1957,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Detachtrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1998,11 +2017,11 @@ export namespace managedidentities_v1 { disableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Disablemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableMigration( params?: Params$Resource$Projects$Locations$Global$Domains$Disablemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Disablemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -2031,7 +2050,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Disablemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2088,11 +2110,11 @@ export namespace managedidentities_v1 { domainJoinMachine( params: Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; domainJoinMachine( params?: Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; domainJoinMachine( params: Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine, options: StreamMethodOptions | BodyResponseCallback, @@ -2127,8 +2149,8 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2185,11 +2207,11 @@ export namespace managedidentities_v1 { enableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Enablemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableMigration( params?: Params$Resource$Projects$Locations$Global$Domains$Enablemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Enablemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -2218,7 +2240,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Enablemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2275,11 +2300,11 @@ export namespace managedidentities_v1 { extendSchema( params: Params$Resource$Projects$Locations$Global$Domains$Extendschema, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; extendSchema( params?: Params$Resource$Projects$Locations$Global$Domains$Extendschema, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; extendSchema( params: Params$Resource$Projects$Locations$Global$Domains$Extendschema, options: StreamMethodOptions | BodyResponseCallback, @@ -2308,7 +2333,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Extendschema; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2365,11 +2393,11 @@ export namespace managedidentities_v1 { get( params: Params$Resource$Projects$Locations$Global$Domains$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Domains$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Domains$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2398,7 +2426,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2451,11 +2482,11 @@ export namespace managedidentities_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2484,7 +2515,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2541,11 +2575,11 @@ export namespace managedidentities_v1 { getLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Getldapssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLdapssettings( params?: Params$Resource$Projects$Locations$Global$Domains$Getldapssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Getldapssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2576,7 +2610,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Getldapssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2633,11 +2670,11 @@ export namespace managedidentities_v1 { list( params: Params$Resource$Projects$Locations$Global$Domains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Domains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Domains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2668,8 +2705,8 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2725,11 +2762,11 @@ export namespace managedidentities_v1 { patch( params: Params$Resource$Projects$Locations$Global$Domains$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Domains$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Domains$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2758,7 +2795,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2811,11 +2851,11 @@ export namespace managedidentities_v1 { reconfigureTrust( params: Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reconfigureTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reconfigureTrust( params: Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust, options: StreamMethodOptions | BodyResponseCallback, @@ -2844,7 +2884,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2901,11 +2944,11 @@ export namespace managedidentities_v1 { resetAdminPassword( params: Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAdminPassword( params?: Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAdminPassword( params: Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword, options: StreamMethodOptions | BodyResponseCallback, @@ -2940,8 +2983,8 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2998,11 +3041,11 @@ export namespace managedidentities_v1 { restore( params: Params$Resource$Projects$Locations$Global$Domains$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Global$Domains$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Global$Domains$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -3031,7 +3074,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3088,11 +3134,11 @@ export namespace managedidentities_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3121,7 +3167,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3178,11 +3227,11 @@ export namespace managedidentities_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Domains$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3217,8 +3266,8 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3275,11 +3324,11 @@ export namespace managedidentities_v1 { updateLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateLdapssettings( params?: Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -3308,7 +3357,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3365,11 +3417,11 @@ export namespace managedidentities_v1 { validateTrust( params: Params$Resource$Projects$Locations$Global$Domains$Validatetrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Validatetrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validateTrust( params: Params$Resource$Projects$Locations$Global$Domains$Validatetrust, options: StreamMethodOptions | BodyResponseCallback, @@ -3398,7 +3450,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Validatetrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3722,11 +3777,11 @@ export namespace managedidentities_v1 { create( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3755,7 +3810,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3812,11 +3870,11 @@ export namespace managedidentities_v1 { delete( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3845,7 +3903,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3899,11 +3960,11 @@ export namespace managedidentities_v1 { get( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3932,7 +3993,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3986,11 +4050,11 @@ export namespace managedidentities_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4019,7 +4083,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4076,11 +4143,11 @@ export namespace managedidentities_v1 { list( params: Params$Resource$Projects$Locations$Global$Domains$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Domains$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4111,8 +4178,8 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4169,11 +4236,11 @@ export namespace managedidentities_v1 { patch( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4202,7 +4269,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4256,11 +4326,11 @@ export namespace managedidentities_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4289,7 +4359,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4346,11 +4419,11 @@ export namespace managedidentities_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4385,8 +4458,8 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4555,11 +4628,11 @@ export namespace managedidentities_v1 { get( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4588,7 +4661,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4642,11 +4718,11 @@ export namespace managedidentities_v1 { list( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4681,8 +4757,8 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4777,11 +4853,11 @@ export namespace managedidentities_v1 { cancel( params: Params$Resource$Projects$Locations$Global$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Global$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Global$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4810,7 +4886,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4864,11 +4943,11 @@ export namespace managedidentities_v1 { delete( params: Params$Resource$Projects$Locations$Global$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4897,7 +4976,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4951,11 +5033,11 @@ export namespace managedidentities_v1 { get( params: Params$Resource$Projects$Locations$Global$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4984,7 +5066,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5037,11 +5122,11 @@ export namespace managedidentities_v1 { list( params: Params$Resource$Projects$Locations$Global$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5074,8 +5159,8 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5182,11 +5267,11 @@ export namespace managedidentities_v1 { create( params: Params$Resource$Projects$Locations$Global$Peerings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Peerings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Peerings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5215,7 +5300,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5272,11 +5360,11 @@ export namespace managedidentities_v1 { delete( params: Params$Resource$Projects$Locations$Global$Peerings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Peerings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Peerings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5305,7 +5393,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5359,11 +5450,11 @@ export namespace managedidentities_v1 { get( params: Params$Resource$Projects$Locations$Global$Peerings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Peerings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Peerings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5392,7 +5483,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5445,11 +5539,11 @@ export namespace managedidentities_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5478,7 +5572,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5535,11 +5632,11 @@ export namespace managedidentities_v1 { list( params: Params$Resource$Projects$Locations$Global$Peerings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Peerings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Peerings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5572,8 +5669,8 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5629,11 +5726,11 @@ export namespace managedidentities_v1 { patch( params: Params$Resource$Projects$Locations$Global$Peerings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Peerings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Peerings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5662,7 +5759,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5715,11 +5815,11 @@ export namespace managedidentities_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5748,7 +5848,10 @@ export namespace managedidentities_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5805,11 +5908,11 @@ export namespace managedidentities_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5844,8 +5947,8 @@ export namespace managedidentities_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/managedidentities/v1alpha1.ts b/src/apis/managedidentities/v1alpha1.ts index af5d19d10a7..5165d334148 100644 --- a/src/apis/managedidentities/v1alpha1.ts +++ b/src/apis/managedidentities/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1285,11 +1285,11 @@ export namespace managedidentities_v1alpha1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1318,7 +1318,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1371,11 +1374,11 @@ export namespace managedidentities_v1alpha1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1408,8 +1411,8 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1527,11 +1530,11 @@ export namespace managedidentities_v1alpha1 { attachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Attachtrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Attachtrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Attachtrust, options: StreamMethodOptions | BodyResponseCallback, @@ -1560,7 +1563,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Attachtrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1617,11 +1623,13 @@ export namespace managedidentities_v1alpha1 { checkMigrationPermission( params: Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkMigrationPermission( params?: Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; checkMigrationPermission( params: Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission, options: StreamMethodOptions | BodyResponseCallback, @@ -1656,8 +1664,10 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1715,11 +1725,11 @@ export namespace managedidentities_v1alpha1 { create( params: Params$Resource$Projects$Locations$Global$Domains$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Domains$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Domains$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1748,7 +1758,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1804,11 +1817,11 @@ export namespace managedidentities_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Global$Domains$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Domains$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Domains$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1837,7 +1850,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1890,11 +1906,11 @@ export namespace managedidentities_v1alpha1 { detachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Detachtrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Detachtrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Detachtrust, options: StreamMethodOptions | BodyResponseCallback, @@ -1923,7 +1939,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Detachtrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1980,11 +1999,11 @@ export namespace managedidentities_v1alpha1 { disableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Disablemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableMigration( params?: Params$Resource$Projects$Locations$Global$Domains$Disablemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Disablemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -2013,7 +2032,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Disablemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2070,11 +2092,11 @@ export namespace managedidentities_v1alpha1 { domainJoinMachine( params: Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; domainJoinMachine( params?: Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; domainJoinMachine( params: Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine, options: StreamMethodOptions | BodyResponseCallback, @@ -2109,8 +2131,8 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2167,11 +2189,11 @@ export namespace managedidentities_v1alpha1 { enableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Enablemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableMigration( params?: Params$Resource$Projects$Locations$Global$Domains$Enablemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Enablemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -2200,7 +2222,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Enablemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2257,11 +2282,11 @@ export namespace managedidentities_v1alpha1 { extendSchema( params: Params$Resource$Projects$Locations$Global$Domains$Extendschema, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; extendSchema( params?: Params$Resource$Projects$Locations$Global$Domains$Extendschema, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; extendSchema( params: Params$Resource$Projects$Locations$Global$Domains$Extendschema, options: StreamMethodOptions | BodyResponseCallback, @@ -2290,7 +2315,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Extendschema; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2347,11 +2375,11 @@ export namespace managedidentities_v1alpha1 { get( params: Params$Resource$Projects$Locations$Global$Domains$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Domains$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Domains$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2380,7 +2408,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2433,11 +2464,11 @@ export namespace managedidentities_v1alpha1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2466,7 +2497,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2523,11 +2557,11 @@ export namespace managedidentities_v1alpha1 { getLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Getldapssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLdapssettings( params?: Params$Resource$Projects$Locations$Global$Domains$Getldapssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Getldapssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2558,7 +2592,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Getldapssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2615,11 +2652,11 @@ export namespace managedidentities_v1alpha1 { list( params: Params$Resource$Projects$Locations$Global$Domains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Domains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Domains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2650,8 +2687,8 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2707,11 +2744,11 @@ export namespace managedidentities_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Global$Domains$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Domains$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Domains$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2740,7 +2777,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2793,11 +2833,11 @@ export namespace managedidentities_v1alpha1 { reconfigureTrust( params: Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reconfigureTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reconfigureTrust( params: Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust, options: StreamMethodOptions | BodyResponseCallback, @@ -2826,7 +2866,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2883,11 +2926,11 @@ export namespace managedidentities_v1alpha1 { resetAdminPassword( params: Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAdminPassword( params?: Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAdminPassword( params: Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword, options: StreamMethodOptions | BodyResponseCallback, @@ -2922,8 +2965,8 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2980,11 +3023,11 @@ export namespace managedidentities_v1alpha1 { restore( params: Params$Resource$Projects$Locations$Global$Domains$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Global$Domains$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Global$Domains$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -3013,7 +3056,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3070,11 +3116,11 @@ export namespace managedidentities_v1alpha1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3103,7 +3149,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3160,11 +3209,11 @@ export namespace managedidentities_v1alpha1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Domains$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3199,8 +3248,8 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3257,11 +3306,11 @@ export namespace managedidentities_v1alpha1 { updateLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateLdapssettings( params?: Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -3290,7 +3339,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3347,11 +3399,11 @@ export namespace managedidentities_v1alpha1 { validateTrust( params: Params$Resource$Projects$Locations$Global$Domains$Validatetrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Validatetrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validateTrust( params: Params$Resource$Projects$Locations$Global$Domains$Validatetrust, options: StreamMethodOptions | BodyResponseCallback, @@ -3380,7 +3432,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Validatetrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3704,11 +3759,11 @@ export namespace managedidentities_v1alpha1 { create( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3737,7 +3792,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3794,11 +3852,11 @@ export namespace managedidentities_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3827,7 +3885,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3881,11 +3942,11 @@ export namespace managedidentities_v1alpha1 { get( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3914,7 +3975,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3968,11 +4032,11 @@ export namespace managedidentities_v1alpha1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4001,7 +4065,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4058,11 +4125,11 @@ export namespace managedidentities_v1alpha1 { list( params: Params$Resource$Projects$Locations$Global$Domains$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Domains$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4093,8 +4160,8 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4151,11 +4218,11 @@ export namespace managedidentities_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4184,7 +4251,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4238,11 +4308,11 @@ export namespace managedidentities_v1alpha1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4271,7 +4341,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4328,11 +4401,11 @@ export namespace managedidentities_v1alpha1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4367,8 +4440,8 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4537,11 +4610,11 @@ export namespace managedidentities_v1alpha1 { get( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4570,7 +4643,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4624,11 +4700,11 @@ export namespace managedidentities_v1alpha1 { list( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4663,8 +4739,8 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4759,11 +4835,11 @@ export namespace managedidentities_v1alpha1 { cancel( params: Params$Resource$Projects$Locations$Global$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Global$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Global$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4792,7 +4868,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4849,11 +4928,11 @@ export namespace managedidentities_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Global$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4882,7 +4961,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4936,11 +5018,11 @@ export namespace managedidentities_v1alpha1 { get( params: Params$Resource$Projects$Locations$Global$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4969,7 +5051,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5022,11 +5107,11 @@ export namespace managedidentities_v1alpha1 { list( params: Params$Resource$Projects$Locations$Global$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5059,8 +5144,8 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5170,11 +5255,11 @@ export namespace managedidentities_v1alpha1 { create( params: Params$Resource$Projects$Locations$Global$Peerings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Peerings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Peerings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5203,7 +5288,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5260,11 +5348,11 @@ export namespace managedidentities_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Global$Peerings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Peerings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Peerings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5293,7 +5381,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5347,11 +5438,11 @@ export namespace managedidentities_v1alpha1 { get( params: Params$Resource$Projects$Locations$Global$Peerings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Peerings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Peerings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5380,7 +5471,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5433,11 +5527,11 @@ export namespace managedidentities_v1alpha1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5466,7 +5560,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5523,11 +5620,11 @@ export namespace managedidentities_v1alpha1 { list( params: Params$Resource$Projects$Locations$Global$Peerings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Peerings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Peerings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5560,8 +5657,8 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5617,11 +5714,11 @@ export namespace managedidentities_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Global$Peerings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Peerings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Peerings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5650,7 +5747,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5703,11 +5803,11 @@ export namespace managedidentities_v1alpha1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5736,7 +5836,10 @@ export namespace managedidentities_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5793,11 +5896,11 @@ export namespace managedidentities_v1alpha1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5832,8 +5935,8 @@ export namespace managedidentities_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/managedidentities/v1beta1.ts b/src/apis/managedidentities/v1beta1.ts index 21e00b74b16..a9d678c3796 100644 --- a/src/apis/managedidentities/v1beta1.ts +++ b/src/apis/managedidentities/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1310,11 +1310,11 @@ export namespace managedidentities_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1343,7 +1343,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1396,11 +1399,11 @@ export namespace managedidentities_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1433,8 +1436,8 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1552,11 +1555,11 @@ export namespace managedidentities_v1beta1 { attachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Attachtrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Attachtrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Attachtrust, options: StreamMethodOptions | BodyResponseCallback, @@ -1585,7 +1588,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Attachtrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1642,11 +1648,13 @@ export namespace managedidentities_v1beta1 { checkMigrationPermission( params: Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkMigrationPermission( params?: Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; checkMigrationPermission( params: Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission, options: StreamMethodOptions | BodyResponseCallback, @@ -1681,8 +1689,10 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Checkmigrationpermission; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1740,11 +1750,11 @@ export namespace managedidentities_v1beta1 { create( params: Params$Resource$Projects$Locations$Global$Domains$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Domains$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Domains$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1773,7 +1783,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1829,11 +1842,11 @@ export namespace managedidentities_v1beta1 { delete( params: Params$Resource$Projects$Locations$Global$Domains$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Domains$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Domains$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1862,7 +1875,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1915,11 +1931,11 @@ export namespace managedidentities_v1beta1 { detachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Detachtrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detachTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Detachtrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detachTrust( params: Params$Resource$Projects$Locations$Global$Domains$Detachtrust, options: StreamMethodOptions | BodyResponseCallback, @@ -1948,7 +1964,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Detachtrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2005,11 +2024,11 @@ export namespace managedidentities_v1beta1 { disableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Disablemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableMigration( params?: Params$Resource$Projects$Locations$Global$Domains$Disablemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Disablemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -2038,7 +2057,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Disablemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2095,11 +2117,11 @@ export namespace managedidentities_v1beta1 { domainJoinMachine( params: Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; domainJoinMachine( params?: Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; domainJoinMachine( params: Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine, options: StreamMethodOptions | BodyResponseCallback, @@ -2134,8 +2156,8 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Domainjoinmachine; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2192,11 +2214,11 @@ export namespace managedidentities_v1beta1 { enableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Enablemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableMigration( params?: Params$Resource$Projects$Locations$Global$Domains$Enablemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableMigration( params: Params$Resource$Projects$Locations$Global$Domains$Enablemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -2225,7 +2247,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Enablemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2282,11 +2307,11 @@ export namespace managedidentities_v1beta1 { extendSchema( params: Params$Resource$Projects$Locations$Global$Domains$Extendschema, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; extendSchema( params?: Params$Resource$Projects$Locations$Global$Domains$Extendschema, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; extendSchema( params: Params$Resource$Projects$Locations$Global$Domains$Extendschema, options: StreamMethodOptions | BodyResponseCallback, @@ -2315,7 +2340,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Extendschema; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2372,11 +2400,11 @@ export namespace managedidentities_v1beta1 { get( params: Params$Resource$Projects$Locations$Global$Domains$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Domains$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Domains$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2405,7 +2433,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2458,11 +2489,11 @@ export namespace managedidentities_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2491,7 +2522,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2548,11 +2582,11 @@ export namespace managedidentities_v1beta1 { getLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Getldapssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLdapssettings( params?: Params$Resource$Projects$Locations$Global$Domains$Getldapssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Getldapssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2583,7 +2617,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Getldapssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2640,11 +2677,11 @@ export namespace managedidentities_v1beta1 { list( params: Params$Resource$Projects$Locations$Global$Domains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Domains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Domains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2675,8 +2712,8 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2732,11 +2769,11 @@ export namespace managedidentities_v1beta1 { patch( params: Params$Resource$Projects$Locations$Global$Domains$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Domains$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Domains$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2765,7 +2802,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2818,11 +2858,11 @@ export namespace managedidentities_v1beta1 { reconfigureTrust( params: Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reconfigureTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reconfigureTrust( params: Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust, options: StreamMethodOptions | BodyResponseCallback, @@ -2851,7 +2891,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Reconfiguretrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2908,11 +2951,11 @@ export namespace managedidentities_v1beta1 { resetAdminPassword( params: Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetAdminPassword( params?: Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetAdminPassword( params: Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword, options: StreamMethodOptions | BodyResponseCallback, @@ -2947,8 +2990,8 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Resetadminpassword; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3005,11 +3048,11 @@ export namespace managedidentities_v1beta1 { restore( params: Params$Resource$Projects$Locations$Global$Domains$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Global$Domains$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Global$Domains$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -3038,7 +3081,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3095,11 +3141,11 @@ export namespace managedidentities_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3128,7 +3174,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3185,11 +3234,11 @@ export namespace managedidentities_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Domains$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3224,8 +3273,8 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3282,11 +3331,11 @@ export namespace managedidentities_v1beta1 { updateLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateLdapssettings( params?: Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateLdapssettings( params: Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -3315,7 +3364,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Updateldapssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3372,11 +3424,11 @@ export namespace managedidentities_v1beta1 { validateTrust( params: Params$Resource$Projects$Locations$Global$Domains$Validatetrust, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateTrust( params?: Params$Resource$Projects$Locations$Global$Domains$Validatetrust, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validateTrust( params: Params$Resource$Projects$Locations$Global$Domains$Validatetrust, options: StreamMethodOptions | BodyResponseCallback, @@ -3405,7 +3457,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Validatetrust; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3729,11 +3784,11 @@ export namespace managedidentities_v1beta1 { create( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3762,7 +3817,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3819,11 +3877,11 @@ export namespace managedidentities_v1beta1 { delete( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3852,7 +3910,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3906,11 +3967,11 @@ export namespace managedidentities_v1beta1 { get( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3939,7 +4000,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3993,11 +4057,11 @@ export namespace managedidentities_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4026,7 +4090,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4083,11 +4150,11 @@ export namespace managedidentities_v1beta1 { list( params: Params$Resource$Projects$Locations$Global$Domains$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Domains$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4118,8 +4185,8 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4176,11 +4243,11 @@ export namespace managedidentities_v1beta1 { patch( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4209,7 +4276,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4263,11 +4333,11 @@ export namespace managedidentities_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4296,7 +4366,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4353,11 +4426,11 @@ export namespace managedidentities_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4392,8 +4465,8 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Backups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4562,11 +4635,11 @@ export namespace managedidentities_v1beta1 { get( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4595,7 +4668,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4649,11 +4725,11 @@ export namespace managedidentities_v1beta1 { list( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4688,8 +4764,8 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Domains$Sqlintegrations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4784,11 +4860,11 @@ export namespace managedidentities_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Global$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Global$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Global$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4817,7 +4893,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4874,11 +4953,11 @@ export namespace managedidentities_v1beta1 { delete( params: Params$Resource$Projects$Locations$Global$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4907,7 +4986,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4961,11 +5043,11 @@ export namespace managedidentities_v1beta1 { get( params: Params$Resource$Projects$Locations$Global$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4994,7 +5076,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5047,11 +5132,11 @@ export namespace managedidentities_v1beta1 { list( params: Params$Resource$Projects$Locations$Global$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5084,8 +5169,8 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5192,11 +5277,11 @@ export namespace managedidentities_v1beta1 { create( params: Params$Resource$Projects$Locations$Global$Peerings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Peerings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Peerings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5225,7 +5310,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5282,11 +5370,11 @@ export namespace managedidentities_v1beta1 { delete( params: Params$Resource$Projects$Locations$Global$Peerings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Peerings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Peerings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5315,7 +5403,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5369,11 +5460,11 @@ export namespace managedidentities_v1beta1 { get( params: Params$Resource$Projects$Locations$Global$Peerings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Peerings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Peerings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5402,7 +5493,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5455,11 +5549,11 @@ export namespace managedidentities_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5488,7 +5582,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5545,11 +5642,11 @@ export namespace managedidentities_v1beta1 { list( params: Params$Resource$Projects$Locations$Global$Peerings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Peerings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Peerings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5582,8 +5679,8 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5639,11 +5736,11 @@ export namespace managedidentities_v1beta1 { patch( params: Params$Resource$Projects$Locations$Global$Peerings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Peerings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Peerings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5672,7 +5769,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5725,11 +5825,11 @@ export namespace managedidentities_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5758,7 +5858,10 @@ export namespace managedidentities_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5815,11 +5918,11 @@ export namespace managedidentities_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5854,8 +5957,8 @@ export namespace managedidentities_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Peerings$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/managedkafka/index.ts b/src/apis/managedkafka/index.ts index ffa71f4778a..5fb0b8b3a8e 100644 --- a/src/apis/managedkafka/index.ts +++ b/src/apis/managedkafka/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/managedkafka/package.json b/src/apis/managedkafka/package.json index cff43fdc67e..5900429e159 100644 --- a/src/apis/managedkafka/package.json +++ b/src/apis/managedkafka/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/managedkafka/v1.ts b/src/apis/managedkafka/v1.ts index 04a1f25a9c2..978eece5fc5 100644 --- a/src/apis/managedkafka/v1.ts +++ b/src/apis/managedkafka/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -757,11 +757,11 @@ export namespace managedkafka_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -790,7 +790,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -842,11 +845,11 @@ export namespace managedkafka_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -879,8 +882,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -982,11 +985,11 @@ export namespace managedkafka_v1 { create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1015,7 +1018,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1070,11 +1076,11 @@ export namespace managedkafka_v1 { delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1103,7 +1109,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1155,11 +1164,11 @@ export namespace managedkafka_v1 { get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1188,7 +1197,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1240,11 +1252,11 @@ export namespace managedkafka_v1 { list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1277,8 +1289,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1333,11 +1345,11 @@ export namespace managedkafka_v1 { patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1366,7 +1378,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1507,11 +1522,11 @@ export namespace managedkafka_v1 { addAclEntry( params: Params$Resource$Projects$Locations$Clusters$Acls$Addaclentry, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAclEntry( params?: Params$Resource$Projects$Locations$Clusters$Acls$Addaclentry, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAclEntry( params: Params$Resource$Projects$Locations$Clusters$Acls$Addaclentry, options: StreamMethodOptions | BodyResponseCallback, @@ -1544,8 +1559,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Acls$Addaclentry; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1601,11 +1616,11 @@ export namespace managedkafka_v1 { create( params: Params$Resource$Projects$Locations$Clusters$Acls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Acls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Acls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1634,7 +1649,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Acls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1686,11 +1704,11 @@ export namespace managedkafka_v1 { delete( params: Params$Resource$Projects$Locations$Clusters$Acls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Acls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Acls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1719,7 +1737,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Acls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1771,11 +1792,11 @@ export namespace managedkafka_v1 { get( params: Params$Resource$Projects$Locations$Clusters$Acls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Acls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Acls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1804,7 +1825,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Acls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1856,11 +1880,11 @@ export namespace managedkafka_v1 { list( params: Params$Resource$Projects$Locations$Clusters$Acls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$Acls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$Acls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1889,7 +1913,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Acls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1941,11 +1968,11 @@ export namespace managedkafka_v1 { patch( params: Params$Resource$Projects$Locations$Clusters$Acls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Acls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Acls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1974,7 +2001,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Acls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2026,11 +2056,11 @@ export namespace managedkafka_v1 { removeAclEntry( params: Params$Resource$Projects$Locations$Clusters$Acls$Removeaclentry, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAclEntry( params?: Params$Resource$Projects$Locations$Clusters$Acls$Removeaclentry, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAclEntry( params: Params$Resource$Projects$Locations$Clusters$Acls$Removeaclentry, options: StreamMethodOptions | BodyResponseCallback, @@ -2065,8 +2095,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Acls$Removeaclentry; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2215,11 +2245,11 @@ export namespace managedkafka_v1 { delete( params: Params$Resource$Projects$Locations$Clusters$Consumergroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Consumergroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Consumergroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2248,7 +2278,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Consumergroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2301,11 +2334,11 @@ export namespace managedkafka_v1 { get( params: Params$Resource$Projects$Locations$Clusters$Consumergroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Consumergroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Consumergroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2334,7 +2367,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Consumergroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2387,11 +2423,11 @@ export namespace managedkafka_v1 { list( params: Params$Resource$Projects$Locations$Clusters$Consumergroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$Consumergroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$Consumergroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2426,8 +2462,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Consumergroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2483,11 +2519,11 @@ export namespace managedkafka_v1 { patch( params: Params$Resource$Projects$Locations$Clusters$Consumergroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Consumergroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Consumergroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2516,7 +2552,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Consumergroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2622,11 +2661,11 @@ export namespace managedkafka_v1 { create( params: Params$Resource$Projects$Locations$Clusters$Topics$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Topics$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Topics$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2655,7 +2694,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Topics$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2711,11 +2753,11 @@ export namespace managedkafka_v1 { delete( params: Params$Resource$Projects$Locations$Clusters$Topics$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Topics$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Topics$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2744,7 +2786,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Topics$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2797,11 +2842,11 @@ export namespace managedkafka_v1 { get( params: Params$Resource$Projects$Locations$Clusters$Topics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Topics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Topics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2830,7 +2875,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Topics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2882,11 +2930,11 @@ export namespace managedkafka_v1 { list( params: Params$Resource$Projects$Locations$Clusters$Topics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$Topics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$Topics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2917,8 +2965,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Topics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2973,11 +3021,11 @@ export namespace managedkafka_v1 { patch( params: Params$Resource$Projects$Locations$Clusters$Topics$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Topics$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Topics$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3006,7 +3054,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Topics$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3132,11 +3183,11 @@ export namespace managedkafka_v1 { create( params: Params$Resource$Projects$Locations$Connectclusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connectclusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connectclusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3165,7 +3216,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3221,11 +3275,11 @@ export namespace managedkafka_v1 { delete( params: Params$Resource$Projects$Locations$Connectclusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connectclusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connectclusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3254,7 +3308,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3307,11 +3364,11 @@ export namespace managedkafka_v1 { get( params: Params$Resource$Projects$Locations$Connectclusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connectclusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connectclusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3340,7 +3397,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3392,11 +3452,11 @@ export namespace managedkafka_v1 { list( params: Params$Resource$Projects$Locations$Connectclusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connectclusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connectclusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3431,8 +3491,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3487,11 +3547,11 @@ export namespace managedkafka_v1 { patch( params: Params$Resource$Projects$Locations$Connectclusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connectclusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connectclusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3520,7 +3580,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3661,11 +3724,11 @@ export namespace managedkafka_v1 { create( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connectclusters$Connectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3694,7 +3757,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Connectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3750,11 +3816,11 @@ export namespace managedkafka_v1 { delete( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connectclusters$Connectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3783,7 +3849,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Connectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3836,11 +3905,11 @@ export namespace managedkafka_v1 { get( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connectclusters$Connectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3869,7 +3938,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Connectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3922,11 +3994,11 @@ export namespace managedkafka_v1 { list( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connectclusters$Connectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3959,8 +4031,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Connectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4016,11 +4088,11 @@ export namespace managedkafka_v1 { patch( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connectclusters$Connectors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4049,7 +4121,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Connectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4102,11 +4177,11 @@ export namespace managedkafka_v1 { pause( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Connectclusters$Connectors$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -4139,8 +4214,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Connectors$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4193,11 +4268,11 @@ export namespace managedkafka_v1 { restart( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Projects$Locations$Connectclusters$Connectors$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -4232,8 +4307,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Connectors$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4289,11 +4364,11 @@ export namespace managedkafka_v1 { resume( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Connectclusters$Connectors$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -4328,8 +4403,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Connectors$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4382,11 +4457,11 @@ export namespace managedkafka_v1 { stop( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Connectclusters$Connectors$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Connectclusters$Connectors$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -4419,8 +4494,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectclusters$Connectors$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4590,11 +4665,11 @@ export namespace managedkafka_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4623,7 +4698,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4675,11 +4753,11 @@ export namespace managedkafka_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4708,7 +4786,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4760,11 +4841,11 @@ export namespace managedkafka_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4793,7 +4874,10 @@ export namespace managedkafka_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4845,11 +4929,11 @@ export namespace managedkafka_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4882,8 +4966,8 @@ export namespace managedkafka_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/manufacturers/index.ts b/src/apis/manufacturers/index.ts index 2212f5101ef..83771fe8690 100644 --- a/src/apis/manufacturers/index.ts +++ b/src/apis/manufacturers/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/manufacturers/package.json b/src/apis/manufacturers/package.json index e36eccb26e7..728f9c6c3c1 100644 --- a/src/apis/manufacturers/package.json +++ b/src/apis/manufacturers/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/manufacturers/v1.ts b/src/apis/manufacturers/v1.ts index acdf6b36448..5d45c270e2f 100644 --- a/src/apis/manufacturers/v1.ts +++ b/src/apis/manufacturers/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -897,11 +897,11 @@ export namespace manufacturers_v1 { delete( params: Params$Resource$Accounts$Languages$Productcertifications$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Languages$Productcertifications$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Languages$Productcertifications$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -930,7 +930,10 @@ export namespace manufacturers_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Languages$Productcertifications$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -984,11 +987,11 @@ export namespace manufacturers_v1 { get( params: Params$Resource$Accounts$Languages$Productcertifications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Languages$Productcertifications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Languages$Productcertifications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1021,8 +1024,8 @@ export namespace manufacturers_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Languages$Productcertifications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1076,11 +1079,13 @@ export namespace manufacturers_v1 { list( params: Params$Resource$Accounts$Languages$Productcertifications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Languages$Productcertifications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Languages$Productcertifications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1115,8 +1120,10 @@ export namespace manufacturers_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Languages$Productcertifications$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1175,11 +1182,11 @@ export namespace manufacturers_v1 { patch( params: Params$Resource$Accounts$Languages$Productcertifications$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Languages$Productcertifications$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Languages$Productcertifications$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1212,8 +1219,8 @@ export namespace manufacturers_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Languages$Productcertifications$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1320,11 +1327,11 @@ export namespace manufacturers_v1 { delete( params: Params$Resource$Accounts$Products$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Products$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Products$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1353,7 +1360,10 @@ export namespace manufacturers_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1409,11 +1419,11 @@ export namespace manufacturers_v1 { get( params: Params$Resource$Accounts$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1442,7 +1452,10 @@ export namespace manufacturers_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1498,11 +1511,11 @@ export namespace manufacturers_v1 { list( params: Params$Resource$Accounts$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1535,8 +1548,8 @@ export namespace manufacturers_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1592,11 +1605,11 @@ export namespace manufacturers_v1 { update( params: Params$Resource$Accounts$Products$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Products$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Products$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1625,7 +1638,10 @@ export namespace manufacturers_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/marketingplatformadmin/index.ts b/src/apis/marketingplatformadmin/index.ts index 0990d661fe6..67b74e38f7e 100644 --- a/src/apis/marketingplatformadmin/index.ts +++ b/src/apis/marketingplatformadmin/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/marketingplatformadmin/package.json b/src/apis/marketingplatformadmin/package.json index 81cc91891c5..332fd6fc61d 100644 --- a/src/apis/marketingplatformadmin/package.json +++ b/src/apis/marketingplatformadmin/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/marketingplatformadmin/v1alpha.ts b/src/apis/marketingplatformadmin/v1alpha.ts index 2acda36ca1f..c205c57e37c 100644 --- a/src/apis/marketingplatformadmin/v1alpha.ts +++ b/src/apis/marketingplatformadmin/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -213,11 +213,11 @@ export namespace marketingplatformadmin_v1alpha { get( params: Params$Resource$Organizations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -246,7 +246,10 @@ export namespace marketingplatformadmin_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -314,11 +317,11 @@ export namespace marketingplatformadmin_v1alpha { create( params: Params$Resource$Organizations$Analyticsaccountlinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Analyticsaccountlinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Analyticsaccountlinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -351,8 +354,8 @@ export namespace marketingplatformadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Analyticsaccountlinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -409,11 +412,11 @@ export namespace marketingplatformadmin_v1alpha { delete( params: Params$Resource$Organizations$Analyticsaccountlinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Analyticsaccountlinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Analyticsaccountlinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -442,7 +445,10 @@ export namespace marketingplatformadmin_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Analyticsaccountlinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -496,11 +502,13 @@ export namespace marketingplatformadmin_v1alpha { list( params: Params$Resource$Organizations$Analyticsaccountlinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Analyticsaccountlinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Analyticsaccountlinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -535,8 +543,10 @@ export namespace marketingplatformadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Analyticsaccountlinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -594,11 +604,11 @@ export namespace marketingplatformadmin_v1alpha { setPropertyServiceLevel( params: Params$Resource$Organizations$Analyticsaccountlinks$Setpropertyservicelevel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setPropertyServiceLevel( params?: Params$Resource$Organizations$Analyticsaccountlinks$Setpropertyservicelevel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setPropertyServiceLevel( params: Params$Resource$Organizations$Analyticsaccountlinks$Setpropertyservicelevel, options: StreamMethodOptions | BodyResponseCallback, @@ -633,8 +643,8 @@ export namespace marketingplatformadmin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Analyticsaccountlinks$Setpropertyservicelevel; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/meet/index.ts b/src/apis/meet/index.ts index 5c05d7ee13a..aff941f2d63 100644 --- a/src/apis/meet/index.ts +++ b/src/apis/meet/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/meet/package.json b/src/apis/meet/package.json index cf568a91587..a0cf2048d94 100644 --- a/src/apis/meet/package.json +++ b/src/apis/meet/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/meet/v2.ts b/src/apis/meet/v2.ts index aefe9fe7389..42150160ed9 100644 --- a/src/apis/meet/v2.ts +++ b/src/apis/meet/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -579,11 +579,11 @@ export namespace meet_v2 { get( params: Params$Resource$Conferencerecords$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Conferencerecords$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Conferencerecords$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -612,7 +612,10 @@ export namespace meet_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -664,11 +667,11 @@ export namespace meet_v2 { list( params: Params$Resource$Conferencerecords$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Conferencerecords$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Conferencerecords$List, options: StreamMethodOptions | BodyResponseCallback, @@ -703,8 +706,8 @@ export namespace meet_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -796,11 +799,11 @@ export namespace meet_v2 { get( params: Params$Resource$Conferencerecords$Participants$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Conferencerecords$Participants$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Conferencerecords$Participants$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -829,7 +832,10 @@ export namespace meet_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$Participants$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -881,11 +887,11 @@ export namespace meet_v2 { list( params: Params$Resource$Conferencerecords$Participants$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Conferencerecords$Participants$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Conferencerecords$Participants$List, options: StreamMethodOptions | BodyResponseCallback, @@ -918,8 +924,8 @@ export namespace meet_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$Participants$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1008,11 +1014,11 @@ export namespace meet_v2 { get( params: Params$Resource$Conferencerecords$Participants$Participantsessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Conferencerecords$Participants$Participantsessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Conferencerecords$Participants$Participantsessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1043,8 +1049,8 @@ export namespace meet_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$Participants$Participantsessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1097,11 +1103,11 @@ export namespace meet_v2 { list( params: Params$Resource$Conferencerecords$Participants$Participantsessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Conferencerecords$Participants$Participantsessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Conferencerecords$Participants$Participantsessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1136,8 +1142,8 @@ export namespace meet_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$Participants$Participantsessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1229,11 +1235,11 @@ export namespace meet_v2 { get( params: Params$Resource$Conferencerecords$Recordings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Conferencerecords$Recordings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Conferencerecords$Recordings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1262,7 +1268,10 @@ export namespace meet_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$Recordings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1314,11 +1323,11 @@ export namespace meet_v2 { list( params: Params$Resource$Conferencerecords$Recordings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Conferencerecords$Recordings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Conferencerecords$Recordings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1351,8 +1360,8 @@ export namespace meet_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$Recordings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1441,11 +1450,11 @@ export namespace meet_v2 { get( params: Params$Resource$Conferencerecords$Transcripts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Conferencerecords$Transcripts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Conferencerecords$Transcripts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1474,7 +1483,10 @@ export namespace meet_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$Transcripts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1526,11 +1538,11 @@ export namespace meet_v2 { list( params: Params$Resource$Conferencerecords$Transcripts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Conferencerecords$Transcripts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Conferencerecords$Transcripts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1563,8 +1575,8 @@ export namespace meet_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$Transcripts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1649,11 +1661,11 @@ export namespace meet_v2 { get( params: Params$Resource$Conferencerecords$Transcripts$Entries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Conferencerecords$Transcripts$Entries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Conferencerecords$Transcripts$Entries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1682,7 +1694,10 @@ export namespace meet_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$Transcripts$Entries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1735,11 +1750,11 @@ export namespace meet_v2 { list( params: Params$Resource$Conferencerecords$Transcripts$Entries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Conferencerecords$Transcripts$Entries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Conferencerecords$Transcripts$Entries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1774,8 +1789,8 @@ export namespace meet_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Conferencerecords$Transcripts$Entries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1863,11 +1878,11 @@ export namespace meet_v2 { create( params: Params$Resource$Spaces$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Spaces$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Spaces$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1896,7 +1911,10 @@ export namespace meet_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1947,11 +1965,11 @@ export namespace meet_v2 { endActiveConference( params: Params$Resource$Spaces$Endactiveconference, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; endActiveConference( params?: Params$Resource$Spaces$Endactiveconference, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; endActiveConference( params: Params$Resource$Spaces$Endactiveconference, options: StreamMethodOptions | BodyResponseCallback, @@ -1980,7 +1998,10 @@ export namespace meet_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Endactiveconference; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2035,11 +2056,11 @@ export namespace meet_v2 { get( params: Params$Resource$Spaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Spaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Spaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2068,7 +2089,10 @@ export namespace meet_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2119,11 +2143,11 @@ export namespace meet_v2 { patch( params: Params$Resource$Spaces$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Spaces$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Spaces$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2152,7 +2176,10 @@ export namespace meet_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spaces$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/memcache/index.ts b/src/apis/memcache/index.ts index 2873027eac3..32294b33837 100644 --- a/src/apis/memcache/index.ts +++ b/src/apis/memcache/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/memcache/package.json b/src/apis/memcache/package.json index 1e78afb004f..02b83d364d7 100644 --- a/src/apis/memcache/package.json +++ b/src/apis/memcache/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/memcache/v1.ts b/src/apis/memcache/v1.ts index b396c7a4a28..0eb2b6a43ba 100644 --- a/src/apis/memcache/v1.ts +++ b/src/apis/memcache/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -275,6 +275,10 @@ export namespace memcache_v1 { * consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites). */ consumerDefinedName?: string | null; + /** + * Optional. The consumer_project_number associated with this Apigee instance. This field is added specifically to support Apigee integration with SLM Rollout and UMM. It represents the numerical project ID of the GCP project that consumes this Apigee instance. It is used for SLM rollout notifications and UMM integration, enabling proper mapping to customer projects and log delivery for Apigee instances. This field complements consumer_project_id and may be used for specific Apigee scenarios where the numerical ID is required. + */ + consumerProjectNumber?: string | null; /** * Output only. Timestamp when the resource was created. */ @@ -984,11 +988,11 @@ export namespace memcache_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1017,7 +1021,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1069,11 +1076,11 @@ export namespace memcache_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1106,8 +1113,8 @@ export namespace memcache_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1161,6 +1168,10 @@ export namespace memcache_v1 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { + /** + * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. + */ + extraLocationTypes?: string[]; /** * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */ @@ -1196,11 +1207,11 @@ export namespace memcache_v1 { applyParameters( params: Params$Resource$Projects$Locations$Instances$Applyparameters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyParameters( params?: Params$Resource$Projects$Locations$Instances$Applyparameters, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyParameters( params: Params$Resource$Projects$Locations$Instances$Applyparameters, options: StreamMethodOptions | BodyResponseCallback, @@ -1229,7 +1240,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Applyparameters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1285,11 +1299,11 @@ export namespace memcache_v1 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1318,7 +1332,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1373,11 +1390,11 @@ export namespace memcache_v1 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1406,7 +1423,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1458,11 +1478,11 @@ export namespace memcache_v1 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1491,7 +1511,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1543,11 +1566,11 @@ export namespace memcache_v1 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1580,8 +1603,8 @@ export namespace memcache_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1636,11 +1659,11 @@ export namespace memcache_v1 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1669,7 +1692,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1721,11 +1747,11 @@ export namespace memcache_v1 { rescheduleMaintenance( params: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params?: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -1756,7 +1782,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Reschedulemaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1812,11 +1841,11 @@ export namespace memcache_v1 { updateParameters( params: Params$Resource$Projects$Locations$Instances$Updateparameters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateParameters( params?: Params$Resource$Projects$Locations$Instances$Updateparameters, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateParameters( params: Params$Resource$Projects$Locations$Instances$Updateparameters, options: StreamMethodOptions | BodyResponseCallback, @@ -1845,7 +1874,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Updateparameters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1901,11 +1933,11 @@ export namespace memcache_v1 { upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Instances$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -1934,7 +1966,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2114,11 +2149,11 @@ export namespace memcache_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2147,7 +2182,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2199,11 +2237,11 @@ export namespace memcache_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2232,7 +2270,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2284,11 +2325,11 @@ export namespace memcache_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2317,7 +2358,10 @@ export namespace memcache_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2369,11 +2413,11 @@ export namespace memcache_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2406,8 +2450,8 @@ export namespace memcache_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/memcache/v1beta2.ts b/src/apis/memcache/v1beta2.ts index 87350ac032b..60b108c1706 100644 --- a/src/apis/memcache/v1beta2.ts +++ b/src/apis/memcache/v1beta2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -288,6 +288,10 @@ export namespace memcache_v1beta2 { * consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites). */ consumerDefinedName?: string | null; + /** + * Optional. The consumer_project_number associated with this Apigee instance. This field is added specifically to support Apigee integration with SLM Rollout and UMM. It represents the numerical project ID of the GCP project that consumes this Apigee instance. It is used for SLM rollout notifications and UMM integration, enabling proper mapping to customer projects and log delivery for Apigee instances. This field complements consumer_project_id and may be used for specific Apigee scenarios where the numerical ID is required. + */ + consumerProjectNumber?: string | null; /** * Output only. Timestamp when the resource was created. */ @@ -1005,11 +1009,11 @@ export namespace memcache_v1beta2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1038,7 +1042,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1090,11 +1097,11 @@ export namespace memcache_v1beta2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1127,8 +1134,8 @@ export namespace memcache_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1182,6 +1189,10 @@ export namespace memcache_v1beta2 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { + /** + * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. + */ + extraLocationTypes?: string[]; /** * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */ @@ -1217,11 +1228,11 @@ export namespace memcache_v1beta2 { applyParameters( params: Params$Resource$Projects$Locations$Instances$Applyparameters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyParameters( params?: Params$Resource$Projects$Locations$Instances$Applyparameters, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyParameters( params: Params$Resource$Projects$Locations$Instances$Applyparameters, options: StreamMethodOptions | BodyResponseCallback, @@ -1250,7 +1261,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Applyparameters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1306,11 +1320,11 @@ export namespace memcache_v1beta2 { applySoftwareUpdate( params: Params$Resource$Projects$Locations$Instances$Applysoftwareupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applySoftwareUpdate( params?: Params$Resource$Projects$Locations$Instances$Applysoftwareupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applySoftwareUpdate( params: Params$Resource$Projects$Locations$Instances$Applysoftwareupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -1339,7 +1353,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Applysoftwareupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1395,11 +1412,11 @@ export namespace memcache_v1beta2 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1428,7 +1445,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1483,11 +1503,11 @@ export namespace memcache_v1beta2 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1516,7 +1536,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1568,11 +1591,11 @@ export namespace memcache_v1beta2 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1601,7 +1624,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1653,11 +1679,11 @@ export namespace memcache_v1beta2 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1690,8 +1716,8 @@ export namespace memcache_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1746,11 +1772,11 @@ export namespace memcache_v1beta2 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1779,7 +1805,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1831,11 +1860,11 @@ export namespace memcache_v1beta2 { rescheduleMaintenance( params: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params?: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -1866,7 +1895,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Reschedulemaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1921,11 +1953,11 @@ export namespace memcache_v1beta2 { updateParameters( params: Params$Resource$Projects$Locations$Instances$Updateparameters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateParameters( params?: Params$Resource$Projects$Locations$Instances$Updateparameters, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateParameters( params: Params$Resource$Projects$Locations$Instances$Updateparameters, options: StreamMethodOptions | BodyResponseCallback, @@ -1954,7 +1986,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Updateparameters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2010,11 +2045,11 @@ export namespace memcache_v1beta2 { upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Instances$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -2043,7 +2078,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2235,11 +2273,11 @@ export namespace memcache_v1beta2 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2268,7 +2306,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2323,11 +2364,11 @@ export namespace memcache_v1beta2 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2356,7 +2397,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2408,11 +2452,11 @@ export namespace memcache_v1beta2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2441,7 +2485,10 @@ export namespace memcache_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2493,11 +2540,11 @@ export namespace memcache_v1beta2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2530,8 +2577,8 @@ export namespace memcache_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/merchantapi/accounts_v1beta.ts b/src/apis/merchantapi/accounts_v1beta.ts index 82605555502..c2763cbbcfd 100644 --- a/src/apis/merchantapi/accounts_v1beta.ts +++ b/src/apis/merchantapi/accounts_v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -231,7 +231,7 @@ export namespace merchantapi_accounts_v1beta { */ accountIdAlias?: string | null; /** - * Identifier. The resource name of the account relationship. + * Identifier. The resource name of the account relationship. Format: `accounts/{account\}/relationships/{relationship\}` */ name?: string | null; /** @@ -272,7 +272,7 @@ export namespace merchantapi_accounts_v1beta { */ mutability?: string | null; /** - * Identifier. The resource name of the account service. + * Identifier. The resource name of the account service. Format: `accounts/{account\}/services/{service\}` */ name?: string | null; /** @@ -537,7 +537,7 @@ export namespace merchantapi_accounts_v1beta { */ export interface Schema$ClaimHomepageRequest { /** - * Optional. When set to `true`, this option removes any existing claim on the requested website and replaces it with a claim from the account that makes the request. + * Optional. When set to `true`, this option removes any existing claim on the requested website from any other account to the account making the request, effectively replacing the previous claim. */ overwrite?: boolean | null; } @@ -1275,7 +1275,7 @@ export namespace merchantapi_accounts_v1beta { resourceType?: string | null; } /** - * Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&sjid=796648681813264022-EU) program, which enables products from a merchant's store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `free-listings` * `shopping-ads` * `youtube-shopping-checkout` + * Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/answer/13889434) program, which enables products from a merchant's store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `free-listings` * `shopping-ads` * `youtube-shopping-checkout` */ export interface Schema$Program { /** @@ -1785,7 +1785,7 @@ export namespace merchantapi_accounts_v1beta { */ carrierService?: string | null; /** - * Required. Warehouse name. This should match warehouse + * Required. Warehouse name. This should match [warehouse](/merchant/api/reference/rest/accounts_v1beta/accounts.shippingSettings#warehouse) */ warehouse?: string | null; } @@ -1876,11 +1876,11 @@ export namespace merchantapi_accounts_v1beta { createAndConfigure( params: Params$Resource$Accounts$Createandconfigure, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createAndConfigure( params?: Params$Resource$Accounts$Createandconfigure, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createAndConfigure( params: Params$Resource$Accounts$Createandconfigure, options: StreamMethodOptions | BodyResponseCallback, @@ -1909,7 +1909,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Createandconfigure; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1963,11 +1966,11 @@ export namespace merchantapi_accounts_v1beta { delete( params: Params$Resource$Accounts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1996,7 +1999,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2050,11 +2056,11 @@ export namespace merchantapi_accounts_v1beta { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2083,7 +2089,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2137,11 +2146,11 @@ export namespace merchantapi_accounts_v1beta { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2174,8 +2183,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2229,11 +2238,11 @@ export namespace merchantapi_accounts_v1beta { listSubaccounts( params: Params$Resource$Accounts$Listsubaccounts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listSubaccounts( params?: Params$Resource$Accounts$Listsubaccounts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listSubaccounts( params: Params$Resource$Accounts$Listsubaccounts, options: StreamMethodOptions | BodyResponseCallback, @@ -2268,8 +2277,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Listsubaccounts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2323,11 +2332,11 @@ export namespace merchantapi_accounts_v1beta { patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2356,7 +2365,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2485,11 +2497,11 @@ export namespace merchantapi_accounts_v1beta { getAutofeedSettings( params: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAutofeedSettings( params?: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAutofeedSettings( params: Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2520,7 +2532,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Autofeedsettings$Getautofeedsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2576,11 +2591,11 @@ export namespace merchantapi_accounts_v1beta { updateAutofeedSettings( params: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAutofeedSettings( params?: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAutofeedSettings( params: Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2611,7 +2626,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Autofeedsettings$Updateautofeedsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2698,11 +2716,11 @@ export namespace merchantapi_accounts_v1beta { getAutomaticImprovements( params: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAutomaticImprovements( params?: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAutomaticImprovements( params: Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements, options: StreamMethodOptions | BodyResponseCallback, @@ -2737,8 +2755,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Automaticimprovements$Getautomaticimprovements; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2794,11 +2812,11 @@ export namespace merchantapi_accounts_v1beta { updateAutomaticImprovements( params: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAutomaticImprovements( params?: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAutomaticImprovements( params: Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements, options: StreamMethodOptions | BodyResponseCallback, @@ -2833,8 +2851,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Automaticimprovements$Updateautomaticimprovements; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2921,11 +2939,11 @@ export namespace merchantapi_accounts_v1beta { getBusinessIdentity( params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getBusinessIdentity( params?: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getBusinessIdentity( params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -2956,7 +2974,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Businessidentity$Getbusinessidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3012,11 +3033,11 @@ export namespace merchantapi_accounts_v1beta { updateBusinessIdentity( params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateBusinessIdentity( params?: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateBusinessIdentity( params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -3047,7 +3068,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Businessidentity$Updatebusinessidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3134,11 +3158,11 @@ export namespace merchantapi_accounts_v1beta { getBusinessInfo( params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getBusinessInfo( params?: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getBusinessInfo( params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -3167,7 +3191,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Businessinfo$Getbusinessinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3222,11 +3249,11 @@ export namespace merchantapi_accounts_v1beta { updateBusinessInfo( params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateBusinessInfo( params?: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateBusinessInfo( params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options: StreamMethodOptions | BodyResponseCallback, @@ -3257,7 +3284,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Businessinfo$Updatebusinessinfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3343,11 +3373,11 @@ export namespace merchantapi_accounts_v1beta { getEmailPreferences( params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEmailPreferences( params?: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEmailPreferences( params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options: StreamMethodOptions | BodyResponseCallback, @@ -3378,7 +3408,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Emailpreferences$Getemailpreferences; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3434,11 +3467,11 @@ export namespace merchantapi_accounts_v1beta { updateEmailPreferences( params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateEmailPreferences( params?: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateEmailPreferences( params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options: StreamMethodOptions | BodyResponseCallback, @@ -3469,7 +3502,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Emailpreferences$Updateemailpreferences; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3546,7 +3582,7 @@ export namespace merchantapi_accounts_v1beta { } /** - * Claims a store's homepage. Executing this method requires admin access. If the homepage is already claimed, this will recheck the verification (unless the merchant is exempted from claiming, which also exempts from verification) and return a successful response. If ownership can no longer be verified, it will return an error, but it won't clear the claim. In case of failure, a canonical error message will be returned: * PERMISSION_DENIED: user doesn't have the necessary permissions on this MC account; * FAILED_PRECONDITION: - The account is not a Merchant Center account; - MC account doesn't have a homepage; - claiming failed (in this case the error message will contain more details). + * Claims a store's homepage. Executing this method requires admin access. If the homepage is already claimed, this will recheck the verification (unless the merchant is exempted from claiming, which also exempts from verification) and return a successful response. If ownership can no longer be verified, it will return an error, but it won't clear the claim. In case of failure, a canonical error message is returned: * PERMISSION_DENIED: User doesn't have the necessary permissions on this Merchant Center account. * FAILED_PRECONDITION: - The account is not a Merchant Center account. - Merchant Center account doesn't have a homepage. - Claiming failed (in this case the error message contains more details). * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3556,11 +3592,11 @@ export namespace merchantapi_accounts_v1beta { claim( params: Params$Resource$Accounts$Homepage$Claim, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; claim( params?: Params$Resource$Accounts$Homepage$Claim, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; claim( params: Params$Resource$Accounts$Homepage$Claim, options: StreamMethodOptions | BodyResponseCallback, @@ -3589,7 +3625,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Homepage$Claim; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3644,11 +3683,11 @@ export namespace merchantapi_accounts_v1beta { getHomepage( params: Params$Resource$Accounts$Homepage$Gethomepage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getHomepage( params?: Params$Resource$Accounts$Homepage$Gethomepage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getHomepage( params: Params$Resource$Accounts$Homepage$Gethomepage, options: StreamMethodOptions | BodyResponseCallback, @@ -3677,7 +3716,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Homepage$Gethomepage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3732,11 +3774,11 @@ export namespace merchantapi_accounts_v1beta { unclaim( params: Params$Resource$Accounts$Homepage$Unclaim, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unclaim( params?: Params$Resource$Accounts$Homepage$Unclaim, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unclaim( params: Params$Resource$Accounts$Homepage$Unclaim, options: StreamMethodOptions | BodyResponseCallback, @@ -3765,7 +3807,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Homepage$Unclaim; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3820,11 +3865,11 @@ export namespace merchantapi_accounts_v1beta { updateHomepage( params: Params$Resource$Accounts$Homepage$Updatehomepage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateHomepage( params?: Params$Resource$Accounts$Homepage$Updatehomepage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateHomepage( params: Params$Resource$Accounts$Homepage$Updatehomepage, options: StreamMethodOptions | BodyResponseCallback, @@ -3853,7 +3898,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Homepage$Updatehomepage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3963,11 +4011,11 @@ export namespace merchantapi_accounts_v1beta { list( params: Params$Resource$Accounts$Issues$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Issues$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Issues$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4002,8 +4050,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Issues$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4089,11 +4137,11 @@ export namespace merchantapi_accounts_v1beta { get( params: Params$Resource$Accounts$Onlinereturnpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Onlinereturnpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Onlinereturnpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4124,8 +4172,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Onlinereturnpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4180,11 +4228,13 @@ export namespace merchantapi_accounts_v1beta { list( params: Params$Resource$Accounts$Onlinereturnpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Onlinereturnpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Onlinereturnpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4219,8 +4269,10 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Onlinereturnpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4306,11 +4358,11 @@ export namespace merchantapi_accounts_v1beta { disable( params: Params$Resource$Accounts$Programs$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Accounts$Programs$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Accounts$Programs$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -4339,7 +4391,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Programs$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4394,11 +4449,11 @@ export namespace merchantapi_accounts_v1beta { enable( params: Params$Resource$Accounts$Programs$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Accounts$Programs$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Accounts$Programs$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -4427,7 +4482,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Programs$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4482,11 +4540,11 @@ export namespace merchantapi_accounts_v1beta { get( params: Params$Resource$Accounts$Programs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Programs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Programs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4515,7 +4573,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Programs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4570,11 +4631,11 @@ export namespace merchantapi_accounts_v1beta { list( params: Params$Resource$Accounts$Programs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Programs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Programs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4607,8 +4668,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Programs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4717,11 +4778,11 @@ export namespace merchantapi_accounts_v1beta { create( params: Params$Resource$Accounts$Regions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Regions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Regions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4750,7 +4811,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Regions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4805,11 +4869,11 @@ export namespace merchantapi_accounts_v1beta { delete( params: Params$Resource$Accounts$Regions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Regions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Regions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4838,7 +4902,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Regions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4893,11 +4960,11 @@ export namespace merchantapi_accounts_v1beta { get( params: Params$Resource$Accounts$Regions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Regions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Regions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4926,7 +4993,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Regions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4981,11 +5051,11 @@ export namespace merchantapi_accounts_v1beta { list( params: Params$Resource$Accounts$Regions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Regions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Regions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5016,8 +5086,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Regions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5072,11 +5142,11 @@ export namespace merchantapi_accounts_v1beta { patch( params: Params$Resource$Accounts$Regions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Regions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Regions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5105,7 +5175,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Regions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5229,11 +5302,11 @@ export namespace merchantapi_accounts_v1beta { get( params: Params$Resource$Accounts$Relationships$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Relationships$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Relationships$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5264,8 +5337,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Relationships$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5320,11 +5393,13 @@ export namespace merchantapi_accounts_v1beta { list( params: Params$Resource$Accounts$Relationships$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Relationships$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Relationships$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5359,8 +5434,10 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Relationships$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5417,11 +5494,11 @@ export namespace merchantapi_accounts_v1beta { patch( params: Params$Resource$Accounts$Relationships$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Relationships$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Relationships$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5452,8 +5529,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Relationships$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5501,7 +5578,7 @@ export namespace merchantapi_accounts_v1beta { export interface Params$Resource$Accounts$Relationships$Get extends StandardParameters { /** - * Required. The resource name of the account relationship to get. + * Required. The resource name of the account relationship to get. Format: `accounts/{account\}/relationships/{relationship\}` */ name?: string; } @@ -5516,14 +5593,14 @@ export namespace merchantapi_accounts_v1beta { */ pageToken?: string; /** - * Required. The parent account of the account relationship to filter by. + * Required. The parent account of the account relationship to filter by. Format: `accounts/{account\}` */ parent?: string; } export interface Params$Resource$Accounts$Relationships$Patch extends StandardParameters { /** - * Identifier. The resource name of the account relationship. + * Identifier. The resource name of the account relationship. Format: `accounts/{account\}/relationships/{relationship\}` */ name?: string; /** @@ -5554,11 +5631,11 @@ export namespace merchantapi_accounts_v1beta { approve( params: Params$Resource$Accounts$Services$Approve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; approve( params?: Params$Resource$Accounts$Services$Approve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; approve( params: Params$Resource$Accounts$Services$Approve, options: StreamMethodOptions | BodyResponseCallback, @@ -5587,7 +5664,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Services$Approve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5642,11 +5722,11 @@ export namespace merchantapi_accounts_v1beta { get( params: Params$Resource$Accounts$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5675,7 +5755,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5730,11 +5813,11 @@ export namespace merchantapi_accounts_v1beta { list( params: Params$Resource$Accounts$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5769,8 +5852,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5825,11 +5908,11 @@ export namespace merchantapi_accounts_v1beta { propose( params: Params$Resource$Accounts$Services$Propose, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; propose( params?: Params$Resource$Accounts$Services$Propose, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; propose( params: Params$Resource$Accounts$Services$Propose, options: StreamMethodOptions | BodyResponseCallback, @@ -5858,7 +5941,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Services$Propose; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5912,11 +5998,11 @@ export namespace merchantapi_accounts_v1beta { reject( params: Params$Resource$Accounts$Services$Reject, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reject( params?: Params$Resource$Accounts$Services$Reject, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reject( params: Params$Resource$Accounts$Services$Reject, options: StreamMethodOptions | BodyResponseCallback, @@ -5945,7 +6031,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Services$Reject; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5993,7 +6082,7 @@ export namespace merchantapi_accounts_v1beta { export interface Params$Resource$Accounts$Services$Approve extends StandardParameters { /** - * Required. The resource name of the account service to approve. + * Required. The resource name of the account service to approve. Format: `accounts/{account\}/services/{service\}` */ name?: string; @@ -6005,7 +6094,7 @@ export namespace merchantapi_accounts_v1beta { export interface Params$Resource$Accounts$Services$Get extends StandardParameters { /** - * Required. The resource name of the account service to get. + * Required. The resource name of the account service to get. Format: `accounts/{account\}/services/{service\}` */ name?: string; } @@ -6020,14 +6109,14 @@ export namespace merchantapi_accounts_v1beta { */ pageToken?: string; /** - * Required. The parent account of the account service to filter by. + * Required. The parent account of the account service to filter by. Format: `accounts/{account\}` */ parent?: string; } export interface Params$Resource$Accounts$Services$Propose extends StandardParameters { /** - * Required. The resource name of the parent account for the service. + * Required. The resource name of the parent account for the service. Format: `accounts/{account\}` */ parent?: string; @@ -6039,7 +6128,7 @@ export namespace merchantapi_accounts_v1beta { export interface Params$Resource$Accounts$Services$Reject extends StandardParameters { /** - * Required. The resource name of the account service to reject. + * Required. The resource name of the account service to reject. Format: `accounts/{account\}/services/{service\}` */ name?: string; @@ -6066,11 +6155,11 @@ export namespace merchantapi_accounts_v1beta { getShippingSettings( params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getShippingSettings( params?: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getShippingSettings( params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6101,7 +6190,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Shippingsettings$Getshippingsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6157,11 +6249,11 @@ export namespace merchantapi_accounts_v1beta { insert( params: Params$Resource$Accounts$Shippingsettings$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Shippingsettings$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Shippingsettings$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6190,7 +6282,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Shippingsettings$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6271,11 +6366,11 @@ export namespace merchantapi_accounts_v1beta { get( params: Params$Resource$Accounts$Termsofserviceagreementstates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Termsofserviceagreementstates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Termsofserviceagreementstates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6310,8 +6405,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Termsofserviceagreementstates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6369,11 +6464,11 @@ export namespace merchantapi_accounts_v1beta { retrieveForApplication( params: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveForApplication( params?: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveForApplication( params: Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication, options: StreamMethodOptions | BodyResponseCallback, @@ -6408,8 +6503,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Termsofserviceagreementstates$Retrieveforapplication; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6489,11 +6584,11 @@ export namespace merchantapi_accounts_v1beta { create( params: Params$Resource$Accounts$Users$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Users$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Users$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6522,7 +6617,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Users$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6577,11 +6675,11 @@ export namespace merchantapi_accounts_v1beta { delete( params: Params$Resource$Accounts$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6610,7 +6708,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6665,11 +6766,11 @@ export namespace merchantapi_accounts_v1beta { get( params: Params$Resource$Accounts$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6698,7 +6799,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6753,11 +6857,11 @@ export namespace merchantapi_accounts_v1beta { list( params: Params$Resource$Accounts$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6788,8 +6892,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6844,11 +6948,11 @@ export namespace merchantapi_accounts_v1beta { patch( params: Params$Resource$Accounts$Users$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Users$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Users$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6877,7 +6981,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Users$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7001,11 +7108,11 @@ export namespace merchantapi_accounts_v1beta { accept( params: Params$Resource$Termsofservice$Accept, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accept( params?: Params$Resource$Termsofservice$Accept, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; accept( params: Params$Resource$Termsofservice$Accept, options: StreamMethodOptions | BodyResponseCallback, @@ -7040,8 +7147,8 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Termsofservice$Accept; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7098,11 +7205,11 @@ export namespace merchantapi_accounts_v1beta { get( params: Params$Resource$Termsofservice$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Termsofservice$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Termsofservice$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7131,7 +7238,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Termsofservice$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7186,11 +7296,11 @@ export namespace merchantapi_accounts_v1beta { retrieveLatest( params: Params$Resource$Termsofservice$Retrievelatest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveLatest( params?: Params$Resource$Termsofservice$Retrievelatest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; retrieveLatest( params: Params$Resource$Termsofservice$Retrievelatest, options: StreamMethodOptions | BodyResponseCallback, @@ -7219,7 +7329,10 @@ export namespace merchantapi_accounts_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Termsofservice$Retrievelatest; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/merchantapi/conversions_v1beta.ts b/src/apis/merchantapi/conversions_v1beta.ts index c0d6229c366..4627ae95cdc 100644 --- a/src/apis/merchantapi/conversions_v1beta.ts +++ b/src/apis/merchantapi/conversions_v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -333,11 +333,11 @@ export namespace merchantapi_conversions_v1beta { create( params: Params$Resource$Accounts$Conversionsources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Conversionsources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Conversionsources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -366,7 +366,10 @@ export namespace merchantapi_conversions_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Conversionsources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -420,11 +423,11 @@ export namespace merchantapi_conversions_v1beta { delete( params: Params$Resource$Accounts$Conversionsources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Conversionsources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Conversionsources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -453,7 +456,10 @@ export namespace merchantapi_conversions_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Conversionsources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -508,11 +514,11 @@ export namespace merchantapi_conversions_v1beta { get( params: Params$Resource$Accounts$Conversionsources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Conversionsources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Conversionsources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -541,7 +547,10 @@ export namespace merchantapi_conversions_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Conversionsources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -596,11 +605,11 @@ export namespace merchantapi_conversions_v1beta { list( params: Params$Resource$Accounts$Conversionsources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Conversionsources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Conversionsources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -635,8 +644,8 @@ export namespace merchantapi_conversions_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Conversionsources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -692,11 +701,11 @@ export namespace merchantapi_conversions_v1beta { patch( params: Params$Resource$Accounts$Conversionsources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Conversionsources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Conversionsources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -725,7 +734,10 @@ export namespace merchantapi_conversions_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Conversionsources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -780,11 +792,11 @@ export namespace merchantapi_conversions_v1beta { undelete( params: Params$Resource$Accounts$Conversionsources$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Accounts$Conversionsources$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Accounts$Conversionsources$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -813,7 +825,10 @@ export namespace merchantapi_conversions_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Conversionsources$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/merchantapi/datasources_v1beta.ts b/src/apis/merchantapi/datasources_v1beta.ts index fc45974f1d4..ab1f5735b2a 100644 --- a/src/apis/merchantapi/datasources_v1beta.ts +++ b/src/apis/merchantapi/datasources_v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -558,7 +558,7 @@ export namespace merchantapi_datasources_v1beta { } /** - * Creates the new data source configuration for the given account. + * Creates the new data source configuration for the given account. This method always creates a new data source. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -568,11 +568,11 @@ export namespace merchantapi_datasources_v1beta { create( params: Params$Resource$Accounts$Datasources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Datasources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Datasources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -601,7 +601,10 @@ export namespace merchantapi_datasources_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Datasources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -655,11 +658,11 @@ export namespace merchantapi_datasources_v1beta { delete( params: Params$Resource$Accounts$Datasources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Datasources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Datasources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -688,7 +691,10 @@ export namespace merchantapi_datasources_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Datasources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -743,11 +749,11 @@ export namespace merchantapi_datasources_v1beta { fetch( params: Params$Resource$Accounts$Datasources$Fetch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params?: Params$Resource$Accounts$Datasources$Fetch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params: Params$Resource$Accounts$Datasources$Fetch, options: StreamMethodOptions | BodyResponseCallback, @@ -776,7 +782,10 @@ export namespace merchantapi_datasources_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Datasources$Fetch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -831,11 +840,11 @@ export namespace merchantapi_datasources_v1beta { get( params: Params$Resource$Accounts$Datasources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Datasources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Datasources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -864,7 +873,10 @@ export namespace merchantapi_datasources_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Datasources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -919,11 +931,11 @@ export namespace merchantapi_datasources_v1beta { list( params: Params$Resource$Accounts$Datasources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Datasources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Datasources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -956,8 +968,8 @@ export namespace merchantapi_datasources_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Datasources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1011,11 +1023,11 @@ export namespace merchantapi_datasources_v1beta { patch( params: Params$Resource$Accounts$Datasources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Datasources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Datasources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1044,7 +1056,10 @@ export namespace merchantapi_datasources_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Datasources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1176,11 +1191,11 @@ export namespace merchantapi_datasources_v1beta { get( params: Params$Resource$Accounts$Datasources$Fileuploads$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Datasources$Fileuploads$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Datasources$Fileuploads$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1209,7 +1224,10 @@ export namespace merchantapi_datasources_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Datasources$Fileuploads$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/merchantapi/index.ts b/src/apis/merchantapi/index.ts index 7502aa941a0..bfbebb67785 100644 --- a/src/apis/merchantapi/index.ts +++ b/src/apis/merchantapi/index.ts @@ -18,8 +18,10 @@ import {merchantapi_accounts_v1beta} from './accounts_v1beta'; import {merchantapi_conversions_v1beta} from './conversions_v1beta'; import {merchantapi_datasources_v1beta} from './datasources_v1beta'; import {merchantapi_inventories_v1beta} from './inventories_v1beta'; +import {merchantapi_issueresolution_v1beta} from './issueresolution_v1beta'; import {merchantapi_lfp_v1beta} from './lfp_v1beta'; import {merchantapi_notifications_v1beta} from './notifications_v1beta'; +import {merchantapi_ordertracking_v1beta} from './ordertracking_v1beta'; import {merchantapi_products_v1beta} from './products_v1beta'; import {merchantapi_promotions_v1beta} from './promotions_v1beta'; import {merchantapi_quota_v1beta} from './quota_v1beta'; @@ -31,8 +33,10 @@ export const VERSIONS = { conversions_v1beta: merchantapi_conversions_v1beta.Merchantapi, datasources_v1beta: merchantapi_datasources_v1beta.Merchantapi, inventories_v1beta: merchantapi_inventories_v1beta.Merchantapi, + issueresolution_v1beta: merchantapi_issueresolution_v1beta.Merchantapi, lfp_v1beta: merchantapi_lfp_v1beta.Merchantapi, notifications_v1beta: merchantapi_notifications_v1beta.Merchantapi, + ordertracking_v1beta: merchantapi_ordertracking_v1beta.Merchantapi, products_v1beta: merchantapi_products_v1beta.Merchantapi, promotions_v1beta: merchantapi_promotions_v1beta.Merchantapi, quota_v1beta: merchantapi_quota_v1beta.Merchantapi, @@ -64,6 +68,12 @@ export function merchantapi( export function merchantapi( options: merchantapi_inventories_v1beta.Options ): merchantapi_inventories_v1beta.Merchantapi; +export function merchantapi( + version: 'issueresolution_v1beta' +): merchantapi_issueresolution_v1beta.Merchantapi; +export function merchantapi( + options: merchantapi_issueresolution_v1beta.Options +): merchantapi_issueresolution_v1beta.Merchantapi; export function merchantapi( version: 'lfp_v1beta' ): merchantapi_lfp_v1beta.Merchantapi; @@ -76,6 +86,12 @@ export function merchantapi( export function merchantapi( options: merchantapi_notifications_v1beta.Options ): merchantapi_notifications_v1beta.Merchantapi; +export function merchantapi( + version: 'ordertracking_v1beta' +): merchantapi_ordertracking_v1beta.Merchantapi; +export function merchantapi( + options: merchantapi_ordertracking_v1beta.Options +): merchantapi_ordertracking_v1beta.Merchantapi; export function merchantapi( version: 'products_v1beta' ): merchantapi_products_v1beta.Merchantapi; @@ -112,8 +128,10 @@ export function merchantapi< | merchantapi_conversions_v1beta.Merchantapi | merchantapi_datasources_v1beta.Merchantapi | merchantapi_inventories_v1beta.Merchantapi + | merchantapi_issueresolution_v1beta.Merchantapi | merchantapi_lfp_v1beta.Merchantapi | merchantapi_notifications_v1beta.Merchantapi + | merchantapi_ordertracking_v1beta.Merchantapi | merchantapi_products_v1beta.Merchantapi | merchantapi_promotions_v1beta.Merchantapi | merchantapi_quota_v1beta.Merchantapi @@ -130,10 +148,14 @@ export function merchantapi< | merchantapi_datasources_v1beta.Options | 'inventories_v1beta' | merchantapi_inventories_v1beta.Options + | 'issueresolution_v1beta' + | merchantapi_issueresolution_v1beta.Options | 'lfp_v1beta' | merchantapi_lfp_v1beta.Options | 'notifications_v1beta' | merchantapi_notifications_v1beta.Options + | 'ordertracking_v1beta' + | merchantapi_ordertracking_v1beta.Options | 'products_v1beta' | merchantapi_products_v1beta.Options | 'promotions_v1beta' @@ -154,8 +176,10 @@ export {merchantapi_accounts_v1beta}; export {merchantapi_conversions_v1beta}; export {merchantapi_datasources_v1beta}; export {merchantapi_inventories_v1beta}; +export {merchantapi_issueresolution_v1beta}; export {merchantapi_lfp_v1beta}; export {merchantapi_notifications_v1beta}; +export {merchantapi_ordertracking_v1beta}; export {merchantapi_products_v1beta}; export {merchantapi_promotions_v1beta}; export {merchantapi_quota_v1beta}; @@ -167,7 +191,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/merchantapi/inventories_v1beta.ts b/src/apis/merchantapi/inventories_v1beta.ts index b5052778a26..1c283ffaae6 100644 --- a/src/apis/merchantapi/inventories_v1beta.ts +++ b/src/apis/merchantapi/inventories_v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -390,11 +390,11 @@ export namespace merchantapi_inventories_v1beta { delete( params: Params$Resource$Accounts$Products$Localinventories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Products$Localinventories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Products$Localinventories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -423,7 +423,10 @@ export namespace merchantapi_inventories_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$Localinventories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -479,11 +482,11 @@ export namespace merchantapi_inventories_v1beta { insert( params: Params$Resource$Accounts$Products$Localinventories$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Products$Localinventories$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Products$Localinventories$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -512,7 +515,10 @@ export namespace merchantapi_inventories_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$Localinventories$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -567,11 +573,11 @@ export namespace merchantapi_inventories_v1beta { list( params: Params$Resource$Accounts$Products$Localinventories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Products$Localinventories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Products$Localinventories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -606,8 +612,8 @@ export namespace merchantapi_inventories_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$Localinventories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -705,11 +711,11 @@ export namespace merchantapi_inventories_v1beta { delete( params: Params$Resource$Accounts$Products$Regionalinventories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Products$Regionalinventories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Products$Regionalinventories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -738,7 +744,10 @@ export namespace merchantapi_inventories_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$Regionalinventories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -794,11 +803,11 @@ export namespace merchantapi_inventories_v1beta { insert( params: Params$Resource$Accounts$Products$Regionalinventories$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Products$Regionalinventories$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Products$Regionalinventories$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -829,8 +838,8 @@ export namespace merchantapi_inventories_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$Regionalinventories$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -886,11 +895,11 @@ export namespace merchantapi_inventories_v1beta { list( params: Params$Resource$Accounts$Products$Regionalinventories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Products$Regionalinventories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Products$Regionalinventories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -925,8 +934,8 @@ export namespace merchantapi_inventories_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$Regionalinventories$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/merchantapi/issueresolution_v1beta.ts b/src/apis/merchantapi/issueresolution_v1beta.ts new file mode 100644 index 00000000000..a0437e24310 --- /dev/null +++ b/src/apis/merchantapi/issueresolution_v1beta.ts @@ -0,0 +1,962 @@ +// 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 merchantapi_issueresolution_v1beta { + export interface Options extends GlobalOptions { + version: 'issueresolution_v1beta'; + } + + 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; + } + + /** + * Merchant API + * + * Programmatically manage your Merchant Center Accounts. + * + * @example + * ```js + * const {google} = require('googleapis'); + * const merchantapi = google.merchantapi('issueresolution_v1beta'); + * ``` + */ + export class Merchantapi { + context: APIRequestContext; + issueresolution: Resource$Issueresolution; + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this.context = { + _options: options || {}, + google, + }; + + this.issueresolution = new Resource$Issueresolution(this.context); + } + } + + /** + * An actionable step that can be executed to solve the issue. + */ + export interface Schema$Action { + /** + * Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available. + */ + builtinSimpleAction?: Schema$BuiltInSimpleAction; + /** + * Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs. + */ + builtinUserInputAction?: Schema$BuiltInUserInputAction; + /** + * Label of the action button. + */ + buttonLabel?: string | null; + /** + * Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action. + */ + externalAction?: Schema$ExternalAction; + /** + * Controlling whether the button is active or disabled. The value is 'false' when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons. + */ + isAvailable?: boolean | null; + /** + * List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog. + */ + reasons?: Schema$Reason[]; + } + /** + * Flow that can be selected for an action. When a business selects a flow, application should open a dialog with more information and input form. + */ + export interface Schema$ActionFlow { + /** + * Label for the button to trigger the action from the action dialog. For example: "Request review" + */ + dialogButtonLabel?: string | null; + /** + * Important message to be highlighted in the request dialog. For example: "You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait a few days before you can request another review." + */ + dialogCallout?: Schema$Callout; + /** + * Message displayed in the request dialog. For example: "Make sure you've fixed all your country-specific issues. If not, you may have to wait 7 days to request another review". There may be an more information to be shown in a tooltip. + */ + dialogMessage?: Schema$TextWithTooltip; + /** + * Title of the request dialog. For example: "Before you request a review" + */ + dialogTitle?: string | null; + /** + * Not for display but need to be sent back for the selected action flow. + */ + id?: string | null; + /** + * A list of input fields. + */ + inputs?: Schema$InputField[]; + /** + * Text value describing the intent for the action flow. It can be used as an input label if business needs to pick one of multiple flows. For example: "I disagree with the issue" + */ + label?: string | null; + } + /** + * Input provided by the business. + */ + export interface Schema$ActionInput { + /** + * Required. Id of the selected action flow. + */ + actionFlowId?: string | null; + /** + * Required. Values for input fields. + */ + inputValues?: Schema$InputValue[]; + } + /** + * Long text from external source. + */ + export interface Schema$AdditionalContent { + /** + * Long text organized into paragraphs. + */ + paragraphs?: string[] | null; + /** + * Title of the additional content; + */ + title?: string | null; + } + /** + * A detailed impact breakdown for a group of regions where the impact of the issue on different shopping destinations is the same. + */ + export interface Schema$Breakdown { + /** + * Human readable, localized description of issue's effect on different targets. Should be rendered as a list. For example: * "Products not showing in ads" * "Products not showing organically" + */ + details?: string[] | null; + /** + * Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable. + */ + regions?: Schema$Region[]; + } + /** + * Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to business and will help them with resolving the issue. The application should point the business to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to the business and provide them with instructions how to solve the issue. + */ + export interface Schema$BuiltInSimpleAction { + /** + * Long text from an external source that should be available to the business. Present when the type is `SHOW_ADDITIONAL_CONTENT`. + */ + additionalContent?: Schema$AdditionalContent; + /** + * The attribute that needs to be updated. Present when the type is `EDIT_ITEM_ATTRIBUTE`. This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes [here](https://support.google.com/merchants/answer/7052112). + */ + attributeCode?: string | null; + /** + * The type of action that represents a functionality that is expected to be available in third-party application. + */ + type?: string | null; + } + /** + * Action that is implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business. They can start the action only when they provided all required inputs. The application will request processing of the action by calling the [triggeraction method](https://developers.google.com/merchant/api/reference/rest/issueresolution_v1beta/issueresolution/triggeraction). + */ + export interface Schema$BuiltInUserInputAction { + /** + * Contains the action's context that must be included as part of the TriggerActionPayload.action_context in TriggerActionRequest.payload to call the `triggeraction` method. The content should be treated as opaque and must not be modified. + */ + actionContext?: string | null; + /** + * Actions may provide multiple different flows. Business selects one that fits best to their intent. Selecting the flow is the first step in user's interaction with the action. It affects what input fields will be available and required and also how the request will be processed. + */ + flows?: Schema$ActionFlow[]; + } + /** + * An important message that should be highlighted. Usually displayed as a banner. + */ + export interface Schema$Callout { + /** + * A full message that needs to be shown to the business. + */ + fullMessage?: Schema$TextWithTooltip; + /** + * Can be used to render messages with different severity in different styles. Snippets off all types contain important information that should be displayed to the business. + */ + styleHint?: string | null; + } + /** + * Checkbox input allows the business to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox). If the business checks the box, the input value for the field is `true`, otherwise it is `false`. This type of input is often used as a confirmation that the business completed required steps before they are allowed to start the action. In such a case, the input field is marked as required and the button to trigger the action should stay disabled until the business checks the box. + */ + export interface Schema$CheckboxInput {} + /** + * Value for checkbox input field. + */ + export interface Schema$CheckboxInputValue { + /** + * Required. True if the business checked the box field. False otherwise. + */ + value?: boolean | null; + } + /** + * Choice input allows the business to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the the business. For example, additional input field can be hidden or disabled until the business selects the specific choice. + */ + export interface Schema$ChoiceInput { + /** + * A list of choices. Only one option can be selected. + */ + options?: Schema$ChoiceInputOption[]; + } + /** + * A choice that the business can select. + */ + export interface Schema$ChoiceInputOption { + /** + * Input that should be displayed when this option is selected. The additional input will not contain a `ChoiceInput`. + */ + additionalInput?: Schema$InputField; + /** + * Not for display but need to be sent back for the selected choice option. + */ + id?: string | null; + /** + * Short description of the choice option. There may be more information to be shown as a tooltip. + */ + label?: Schema$TextWithTooltip; + } + /** + * Value for choice input field. + */ + export interface Schema$ChoiceInputValue { + /** + * Required. Id of the option that was selected by the business. + */ + choiceInputOptionId?: string | null; + } + /** + * Action that is implemented and performed outside of the third-party application. It should redirect the business to the provided URL of an external system where they can perform the action. For example to request a review in the Merchant Center. + */ + export interface Schema$ExternalAction { + /** + * The type of external action. + */ + type?: string | null; + /** + * URL to external system, for example Merchant Center, where the business can perform the action. + */ + uri?: string | null; + } + /** + * Overall impact of the issue. + */ + export interface Schema$Impact { + /** + * Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details. + */ + breakdowns?: Schema$Breakdown[]; + /** + * Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the business. For example: "Disapproves 90k offers in 25 countries" + */ + message?: string | null; + /** + * The severity of the issue. + */ + severity?: string | null; + } + /** + * Input field that needs to be available to the business. If the field is marked as required, then a value needs to be provided for a successful processing of the request. + */ + export interface Schema$InputField { + /** + * Input field to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox). + */ + checkboxInput?: Schema$CheckboxInput; + /** + * Input field to select one of the offered choices. Corresponds to the [html input type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio). + */ + choiceInput?: Schema$ChoiceInput; + /** + * Not for display but need to be sent back for the given input field. + */ + id?: string | null; + /** + * Input field label. There may be more information to be shown in a tooltip. + */ + label?: Schema$TextWithTooltip; + /** + * Whether the field is required. The action button needs to stay disabled till values for all required fields are provided. + */ + required?: boolean | null; + /** + * Input field to provide text information. Corresponds to the [html input type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text) or [html textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea). + */ + textInput?: Schema$TextInput; + } + /** + * Input provided by the business for input field. + */ + export interface Schema$InputValue { + /** + * Value for checkbox input field. + */ + checkboxInputValue?: Schema$CheckboxInputValue; + /** + * Value for choice input field. + */ + choiceInputValue?: Schema$ChoiceInputValue; + /** + * Required. Id of the corresponding input field. + */ + inputFieldId?: string | null; + /** + * Value for text input field. + */ + textInputValue?: Schema$TextInputValue; + } + /** + * The change that happened to the product including old value, new value, country code as the region code and reporting context. + */ + export interface Schema$ProductChange { + /** + * The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``) + */ + newValue?: string | null; + /** + * The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``) + */ + oldValue?: string | null; + /** + * Countries that have the change (if applicable). Represented in the ISO 3166 format. + */ + regionCode?: string | null; + /** + * Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum) + */ + reportingContext?: string | null; + } + /** + * The message that the merchant will receive to notify about product status change event + */ + export interface Schema$ProductStatusChangeMessage { + /** + * The target account that owns the entity that changed. Format : `accounts/{merchant_id\}` + */ + account?: string | null; + /** + * The attribute in the resource that changed, in this case it will be always `Status`. + */ + attribute?: string | null; + /** + * A message to describe the change that happened to the product + */ + changes?: Schema$ProductChange[]; + /** + * The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications. + */ + eventTime?: string | null; + /** + * Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event. + */ + expirationTime?: string | null; + /** + * The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id\}` + */ + managingAccount?: string | null; + /** + * The product name. Format: `accounts/{account\}/products/{product\}` + */ + resource?: string | null; + /** + * The product id. + */ + resourceId?: string | null; + /** + * The resource that changed, in this case it will always be `Product`. + */ + resourceType?: string | null; + } + /** + * A single reason why the action is not available. + */ + export interface Schema$Reason { + /** + * Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message. For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action. + */ + action?: Schema$Action; + /** + * Detailed explanation of the reason. Should be displayed as a hint if present. + */ + detail?: string | null; + /** + * Messages summarizing the reason, why the action is not available. For example: "Review requested on Jan 03. Review requests can take a few days to complete." + */ + message?: string | null; + } + /** + * Region with code and localized name. + */ + export interface Schema$Region { + /** + * The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) + */ + code?: string | null; + /** + * The localized name of the region. For region with code='001' the value is 'All countries' or the equivalent in other languages. + */ + name?: string | null; + } + /** + * Response containing an issue resolution content and actions for listed account issues. + */ + export interface Schema$RenderAccountIssuesResponse { + /** + * List of account issues for a given account. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered. + */ + renderedIssues?: Schema$RenderedIssue[]; + } + /** + * An issue affecting specific business or their product. + */ + export interface Schema$RenderedIssue { + /** + * A list of actionable steps that can be executed to solve the issue. An example is requesting a re-review or providing arguments when business disagrees with the issue. Actions that are supported in (your) third-party application can be rendered as buttons and should be available to the business when they expand the issue. + */ + actions?: Schema$Action[]; + /** + * Clarifies the severity of the issue. The summarizing message, if present, should be shown right under the title for each issue. It helps business to quickly understand the impact of the issue. The detailed breakdown helps the business to fully understand the impact of the issue. It can be rendered as dialog that opens when the business mouse over the summarized impact statement. Issues with different severity can be styled differently. They may use a different color or icon to signal the difference between `ERROR`, `WARNING` and `INFO`. + */ + impact?: Schema$Impact; + /** + * Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class. + */ + prerenderedContent?: string | null; + /** + * Pre-rendered HTML that contains a link to the external location where the ODS can be requested and instructions for how to request it. HTML elements contain CSS classes that can be used to customize the style of this snippet. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper around the out-of-court dispute resolution section * `ods-description`* - intro text for the out-of-court dispute resolution. It may contain multiple segments and a link. * `ods-param`* - wrapper around the header-value pair for parameters that the business may need to provide during the ODS process. * `ods-routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `ods-param-value`* - value of the ODS parameter. This value should be rendered in a way that it is easy for the user to identify and copy. * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon. + */ + prerenderedOutOfCourtDisputeSettlement?: string | null; + /** + * Title of the issue. + */ + title?: string | null; + } + /** + * The payload for configuring how the content should be rendered. + */ + export interface Schema$RenderIssuesRequestPayload { + /** + * Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text. + */ + contentOption?: string | null; + /** + * Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action. + */ + userInputActionOption?: string | null; + } + /** + * Response containing an issue resolution content and actions for listed product issues. + */ + export interface Schema$RenderProductIssuesResponse { + /** + * List of issues for a given product. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered. + */ + renderedIssues?: Schema$RenderedIssue[]; + } + /** + * Text input allows the business to provide a text value. + */ + export interface Schema$TextInput { + /** + * Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip. + */ + additionalInfo?: Schema$TextWithTooltip; + /** + * Text to be used as the [aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the input. + */ + ariaLabel?: string | null; + /** + * Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: "VAT numbers should be in a format similar to SK9999999999" + */ + formatInfo?: string | null; + /** + * Type of the text input + */ + type?: string | null; + } + /** + * Value for text input field. + */ + export interface Schema$TextInputValue { + /** + * Required. Text provided by the business. + */ + value?: string | null; + } + /** + * Block of text that may contain a tooltip with more information. + */ + export interface Schema$TextWithTooltip { + /** + * Value of the tooltip as a simple text. + */ + simpleTooltipValue?: string | null; + /** + * Value of the message as a simple text. + */ + simpleValue?: string | null; + /** + * The suggested type of an icon for tooltip, if a tooltip is present. + */ + tooltipIconStyle?: string | null; + } + /** + * The payload for the triggered action. + */ + export interface Schema$TriggerActionPayload { + /** + * Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered. + */ + actionContext?: string | null; + /** + * Required. Input provided by the business. + */ + actionInput?: Schema$ActionInput; + } + /** + * Response informing about the started action. + */ + export interface Schema$TriggerActionResponse { + /** + * The message for the business. + */ + message?: string | null; + } + + export class Resource$Issueresolution { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Provide a list of business's account issues with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications. + * + * @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. + */ + renderaccountissues( + params: Params$Resource$Issueresolution$Renderaccountissues, + options: StreamMethodOptions + ): Promise>; + renderaccountissues( + params?: Params$Resource$Issueresolution$Renderaccountissues, + options?: MethodOptions + ): Promise>; + renderaccountissues( + params: Params$Resource$Issueresolution$Renderaccountissues, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + renderaccountissues( + params: Params$Resource$Issueresolution$Renderaccountissues, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + renderaccountissues( + params: Params$Resource$Issueresolution$Renderaccountissues, + callback: BodyResponseCallback + ): void; + renderaccountissues( + callback: BodyResponseCallback + ): void; + renderaccountissues( + paramsOrCallback?: + | Params$Resource$Issueresolution$Renderaccountissues + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Issueresolution$Renderaccountissues; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Issueresolution$Renderaccountissues; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/issueresolution/v1beta/{+name}:renderaccountissues' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Provide a list of issues for business's product with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications. + * + * @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. + */ + renderproductissues( + params: Params$Resource$Issueresolution$Renderproductissues, + options: StreamMethodOptions + ): Promise>; + renderproductissues( + params?: Params$Resource$Issueresolution$Renderproductissues, + options?: MethodOptions + ): Promise>; + renderproductissues( + params: Params$Resource$Issueresolution$Renderproductissues, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + renderproductissues( + params: Params$Resource$Issueresolution$Renderproductissues, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + renderproductissues( + params: Params$Resource$Issueresolution$Renderproductissues, + callback: BodyResponseCallback + ): void; + renderproductissues( + callback: BodyResponseCallback + ): void; + renderproductissues( + paramsOrCallback?: + | Params$Resource$Issueresolution$Renderproductissues + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Issueresolution$Renderproductissues; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Issueresolution$Renderproductissues; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/issueresolution/v1beta/{+name}:renderproductissues' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Start an action. The action can be requested by a business in third-party application. Before the business can request the action, the third-party application needs to show them action specific content and display a user input form. The action can be successfully started only once all `required` inputs are provided. If any `required` input is missing, or invalid value was provided, the service will return 400 error. Validation errors will contain Ids for all problematic field together with translated, human readable error messages that can be shown to the user. + * + * @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. + */ + triggeraction( + params: Params$Resource$Issueresolution$Triggeraction, + options: StreamMethodOptions + ): Promise>; + triggeraction( + params?: Params$Resource$Issueresolution$Triggeraction, + options?: MethodOptions + ): Promise>; + triggeraction( + params: Params$Resource$Issueresolution$Triggeraction, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + triggeraction( + params: Params$Resource$Issueresolution$Triggeraction, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + triggeraction( + params: Params$Resource$Issueresolution$Triggeraction, + callback: BodyResponseCallback + ): void; + triggeraction( + callback: BodyResponseCallback + ): void; + triggeraction( + paramsOrCallback?: + | Params$Resource$Issueresolution$Triggeraction + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Issueresolution$Triggeraction; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Issueresolution$Triggeraction; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/issueresolution/v1beta/{+name}:triggeraction' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Issueresolution$Renderaccountissues + extends StandardParameters { + /** + * Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize issue resolution content. If not set, the result will be in default language `en-US`. + */ + languageCode?: string; + /** + * Required. The account to fetch issues for. Format: `accounts/{account\}` + */ + name?: string; + /** + * Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC. + */ + timeZone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RenderIssuesRequestPayload; + } + export interface Params$Resource$Issueresolution$Renderproductissues + extends StandardParameters { + /** + * Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize an issue resolution content. If not set, the result will be in default language `en-US`. + */ + languageCode?: string; + /** + * Required. The name of the product to fetch issues for. Format: `accounts/{account\}/products/{product\}` + */ + name?: string; + /** + * Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC. + */ + timeZone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RenderIssuesRequestPayload; + } + export interface Params$Resource$Issueresolution$Triggeraction + extends StandardParameters { + /** + * Optional. Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) used to localize the response. If not set, the result will be in default language `en-US`. + */ + languageCode?: string; + /** + * Required. The business's account that is triggering the action. Format: `accounts/{account\}` + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TriggerActionPayload; + } +} diff --git a/src/apis/merchantapi/lfp_v1beta.ts b/src/apis/merchantapi/lfp_v1beta.ts index 15a9914e1a2..8db4be7df4d 100644 --- a/src/apis/merchantapi/lfp_v1beta.ts +++ b/src/apis/merchantapi/lfp_v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -510,11 +510,11 @@ export namespace merchantapi_lfp_v1beta { insert( params: Params$Resource$Accounts$Lfpinventories$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Lfpinventories$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Lfpinventories$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -543,7 +543,10 @@ export namespace merchantapi_lfp_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Lfpinventories$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -617,11 +620,11 @@ export namespace merchantapi_lfp_v1beta { get( params: Params$Resource$Accounts$Lfpmerchantstates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Lfpmerchantstates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Lfpmerchantstates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -650,7 +653,10 @@ export namespace merchantapi_lfp_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Lfpmerchantstates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -720,11 +726,11 @@ export namespace merchantapi_lfp_v1beta { insert( params: Params$Resource$Accounts$Lfpsales$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Lfpsales$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Lfpsales$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -753,7 +759,10 @@ export namespace merchantapi_lfp_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Lfpsales$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -828,11 +837,11 @@ export namespace merchantapi_lfp_v1beta { delete( params: Params$Resource$Accounts$Lfpstores$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Lfpstores$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Lfpstores$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -861,7 +870,10 @@ export namespace merchantapi_lfp_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Lfpstores$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -916,11 +928,11 @@ export namespace merchantapi_lfp_v1beta { get( params: Params$Resource$Accounts$Lfpstores$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Lfpstores$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Lfpstores$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -949,7 +961,10 @@ export namespace merchantapi_lfp_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Lfpstores$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1004,11 +1019,11 @@ export namespace merchantapi_lfp_v1beta { insert( params: Params$Resource$Accounts$Lfpstores$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Lfpstores$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Lfpstores$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1037,7 +1052,10 @@ export namespace merchantapi_lfp_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Lfpstores$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1092,11 +1110,11 @@ export namespace merchantapi_lfp_v1beta { list( params: Params$Resource$Accounts$Lfpstores$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Lfpstores$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Lfpstores$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1129,8 +1147,8 @@ export namespace merchantapi_lfp_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Lfpstores$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/merchantapi/notifications_v1beta.ts b/src/apis/merchantapi/notifications_v1beta.ts index 53d3f45e7bd..b657453e076 100644 --- a/src/apis/merchantapi/notifications_v1beta.ts +++ b/src/apis/merchantapi/notifications_v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -256,11 +256,11 @@ export namespace merchantapi_notifications_v1beta { create( params: Params$Resource$Accounts$Notificationsubscriptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Notificationsubscriptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Notificationsubscriptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -295,8 +295,8 @@ export namespace merchantapi_notifications_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Notificationsubscriptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -352,11 +352,11 @@ export namespace merchantapi_notifications_v1beta { delete( params: Params$Resource$Accounts$Notificationsubscriptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Notificationsubscriptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Notificationsubscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -385,7 +385,10 @@ export namespace merchantapi_notifications_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Notificationsubscriptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -441,11 +444,11 @@ export namespace merchantapi_notifications_v1beta { get( params: Params$Resource$Accounts$Notificationsubscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Notificationsubscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Notificationsubscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -478,8 +481,8 @@ export namespace merchantapi_notifications_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Notificationsubscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -534,11 +537,13 @@ export namespace merchantapi_notifications_v1beta { list( params: Params$Resource$Accounts$Notificationsubscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Notificationsubscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Notificationsubscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -573,8 +578,10 @@ export namespace merchantapi_notifications_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Notificationsubscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -631,11 +638,11 @@ export namespace merchantapi_notifications_v1beta { patch( params: Params$Resource$Accounts$Notificationsubscriptions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Notificationsubscriptions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Notificationsubscriptions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -670,8 +677,8 @@ export namespace merchantapi_notifications_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Notificationsubscriptions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/merchantapi/ordertracking_v1beta.ts b/src/apis/merchantapi/ordertracking_v1beta.ts new file mode 100644 index 00000000000..98733eaa716 --- /dev/null +++ b/src/apis/merchantapi/ordertracking_v1beta.ts @@ -0,0 +1,525 @@ +// 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 merchantapi_ordertracking_v1beta { + export interface Options extends GlobalOptions { + version: 'ordertracking_v1beta'; + } + + 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; + } + + /** + * Merchant API + * + * Programmatically manage your Merchant Center Accounts. + * + * @example + * ```js + * const {google} = require('googleapis'); + * const merchantapi = google.merchantapi('ordertracking_v1beta'); + * ``` + */ + export class Merchantapi { + context: APIRequestContext; + accounts: Resource$Accounts; + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this.context = { + _options: options || {}, + google, + }; + + this.accounts = new Resource$Accounts(this.context); + } + } + + /** + * Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations. + */ + export interface Schema$DateTime { + /** + * Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day. + */ + day?: number | null; + /** + * Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time. + */ + hours?: number | null; + /** + * Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. + */ + minutes?: number | null; + /** + * Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. + */ + month?: number | null; + /** + * Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. + */ + nanos?: number | null; + /** + * Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds. + */ + seconds?: number | null; + /** + * Time zone. + */ + timeZone?: Schema$TimeZone; + /** + * UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 \}. + */ + utcOffset?: string | null; + /** + * Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. + */ + year?: number | null; + } + /** + * The line items of the order. + */ + export interface Schema$LineItemDetails { + /** + * Optional. Brand of the product. + */ + brand?: string | null; + /** + * Optional. The Global Trade Item Number. + */ + gtin?: string | null; + /** + * Required. The ID for this line item. + */ + lineItemId?: string | null; + /** + * Optional. The manufacturer part number. + */ + mpn?: string | null; + /** + * Required. The Content API REST ID of the product, in the form channel:contentLanguage:targetCountry:offerId. + */ + productId?: string | null; + /** + * Optional. Plain text title of this product. + */ + productTitle?: string | null; + /** + * Required. The quantity of the line item in the order. + */ + quantity?: string | null; + } + /** + * Represents a business trade from which signals are extracted, such as shipping. + */ + export interface Schema$OrderTrackingSignal { + /** + * Optional. The shipping fee of the order; this value should be set to zero in the case of free shipping. + */ + customerShippingFee?: Schema$Price; + /** + * Optional. The delivery postal code, as a continuous string without spaces or dashes, for example "95016". This field will be anonymized in returned OrderTrackingSignal creation response. + */ + deliveryPostalCode?: string | null; + /** + * Optional. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping destination. + */ + deliveryRegionCode?: string | null; + /** + * Required. Information about line items in the order. + */ + lineItems?: Schema$LineItemDetails[]; + /** + * Optional. The Google Merchant Center ID of this order tracking signal. This value is optional. If left unset, the caller's Merchant Center ID is used. You must request access in order to provide data on behalf of another business. For more information, see [Submitting Order Tracking Signals](/shopping-content/guides/order-tracking-signals). + */ + merchantId?: string | null; + /** + * Required. The time when the order was created on the businesses side. Include the year and timezone string, if available. + */ + orderCreatedTime?: Schema$DateTime; + /** + * Required. The ID of the order on the businesses side. This field will be hashed in returned OrderTrackingSignal creation response. + */ + orderId?: string | null; + /** + * Output only. The ID that uniquely identifies this order tracking signal. + */ + orderTrackingSignalId?: string | null; + /** + * Optional. The mapping of the line items to the shipment information. + */ + shipmentLineItemMapping?: Schema$ShipmentLineItemMapping[]; + /** + * Required. The shipping information for the order. + */ + shippingInfo?: Schema$ShippingInfo[]; + } + /** + * The price represented as a number and currency. + */ + export interface Schema$Price { + /** + * The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros). + */ + amountMicros?: string | null; + /** + * The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217). + */ + currencyCode?: string | null; + } + /** + * The change that happened to the product including old value, new value, country code as the region code and reporting context. + */ + export interface Schema$ProductChange { + /** + * The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``) + */ + newValue?: string | null; + /** + * The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``) + */ + oldValue?: string | null; + /** + * Countries that have the change (if applicable). Represented in the ISO 3166 format. + */ + regionCode?: string | null; + /** + * Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum) + */ + reportingContext?: string | null; + } + /** + * The message that the merchant will receive to notify about product status change event + */ + export interface Schema$ProductStatusChangeMessage { + /** + * The target account that owns the entity that changed. Format : `accounts/{merchant_id\}` + */ + account?: string | null; + /** + * The attribute in the resource that changed, in this case it will be always `Status`. + */ + attribute?: string | null; + /** + * A message to describe the change that happened to the product + */ + changes?: Schema$ProductChange[]; + /** + * The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications. + */ + eventTime?: string | null; + /** + * Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event. + */ + expirationTime?: string | null; + /** + * The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id\}` + */ + managingAccount?: string | null; + /** + * The product name. Format: `accounts/{account\}/products/{product\}` + */ + resource?: string | null; + /** + * The product id. + */ + resourceId?: string | null; + /** + * The resource that changed, in this case it will always be `Product`. + */ + resourceType?: string | null; + } + /** + * Represents how many items are in the shipment for the given shipment_id and line_item_id. + */ + export interface Schema$ShipmentLineItemMapping { + /** + * Required. The line item ID. + */ + lineItemId?: string | null; + /** + * Required. The line item quantity in the shipment. + */ + quantity?: string | null; + /** + * Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response. + */ + shipmentId?: string | null; + } + /** + * The shipping information for the order. + */ + export interface Schema$ShippingInfo { + /** + * Optional. The time when the shipment was actually delivered. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name. + */ + actualDeliveryTime?: Schema$DateTime; + /** + * Optional. The name of the shipping carrier for the delivery. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time. + */ + carrier?: string | null; + /** + * Optional. The service type for fulfillment, such as GROUND, FIRST_CLASS, etc. + */ + carrierService?: string | null; + /** + * Optional. The earliest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name. + */ + earliestDeliveryPromiseTime?: Schema$DateTime; + /** + * Optional. The latest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name. + */ + latestDeliveryPromiseTime?: Schema$DateTime; + /** + * Required. The origin postal code, as a continuous string without spaces or dashes, for example "95016". This field will be anonymized in returned OrderTrackingSignal creation response. + */ + originPostalCode?: string | null; + /** + * Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping origin. + */ + originRegionCode?: string | null; + /** + * Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response. + */ + shipmentId?: string | null; + /** + * Optional. The time when the shipment was shipped. Include the year and timezone string, if available. + */ + shippedTime?: Schema$DateTime; + /** + * Required. The status of the shipment. + */ + shippingStatus?: string | null; + /** + * Optional. The tracking ID of the shipment. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time. + */ + trackingId?: string | null; + } + /** + * Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). + */ + export interface Schema$TimeZone { + /** + * IANA Time Zone Database time zone. For example "America/New_York". + */ + id?: string | null; + /** + * Optional. IANA Time Zone Database version number. For example "2019a". + */ + version?: string | null; + } + + export class Resource$Accounts { + context: APIRequestContext; + ordertrackingsignals: Resource$Accounts$Ordertrackingsignals; + constructor(context: APIRequestContext) { + this.context = context; + this.ordertrackingsignals = new Resource$Accounts$Ordertrackingsignals( + this.context + ); + } + } + + export class Resource$Accounts$Ordertrackingsignals { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates new order tracking signal. + * + * @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. + */ + create( + params: Params$Resource$Accounts$Ordertrackingsignals$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Accounts$Ordertrackingsignals$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Accounts$Ordertrackingsignals$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Accounts$Ordertrackingsignals$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Accounts$Ordertrackingsignals$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Accounts$Ordertrackingsignals$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Ordertrackingsignals$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Ordertrackingsignals$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/ordertracking/v1beta/{+parent}/ordertrackingsignals' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Accounts$Ordertrackingsignals$Create + extends StandardParameters { + /** + * Output only. The ID that uniquely identifies this order tracking signal. + */ + orderTrackingSignalId?: string; + /** + * Required. The account of the business for which the order signal is created. Format: accounts/{account\} + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$OrderTrackingSignal; + } +} diff --git a/src/apis/merchantapi/package.json b/src/apis/merchantapi/package.json index 918186aebfa..588c9f1d644 100644 --- a/src/apis/merchantapi/package.json +++ b/src/apis/merchantapi/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/merchantapi/products_v1beta.ts b/src/apis/merchantapi/products_v1beta.ts index 93cfa2c7339..2e01e676542 100644 --- a/src/apis/merchantapi/products_v1beta.ts +++ b/src/apis/merchantapi/products_v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1221,11 +1221,11 @@ export namespace merchantapi_products_v1beta { delete( params: Params$Resource$Accounts$Productinputs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Productinputs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Productinputs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1254,7 +1254,10 @@ export namespace merchantapi_products_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Productinputs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1309,11 +1312,11 @@ export namespace merchantapi_products_v1beta { insert( params: Params$Resource$Accounts$Productinputs$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Productinputs$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Productinputs$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1342,7 +1345,10 @@ export namespace merchantapi_products_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Productinputs$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1396,11 +1402,11 @@ export namespace merchantapi_products_v1beta { patch( params: Params$Resource$Accounts$Productinputs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Productinputs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Productinputs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1429,7 +1435,10 @@ export namespace merchantapi_products_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Productinputs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1539,11 +1548,11 @@ export namespace merchantapi_products_v1beta { get( params: Params$Resource$Accounts$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1572,7 +1581,10 @@ export namespace merchantapi_products_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1627,11 +1639,11 @@ export namespace merchantapi_products_v1beta { list( params: Params$Resource$Accounts$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1664,8 +1676,8 @@ export namespace merchantapi_products_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/merchantapi/promotions_v1beta.ts b/src/apis/merchantapi/promotions_v1beta.ts index bc753111f4f..de89fdaa6c0 100644 --- a/src/apis/merchantapi/promotions_v1beta.ts +++ b/src/apis/merchantapi/promotions_v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -527,11 +527,11 @@ export namespace merchantapi_promotions_v1beta { get( params: Params$Resource$Accounts$Promotions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Promotions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Promotions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -560,7 +560,10 @@ export namespace merchantapi_promotions_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Promotions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -615,11 +618,11 @@ export namespace merchantapi_promotions_v1beta { insert( params: Params$Resource$Accounts$Promotions$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Promotions$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Promotions$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -648,7 +651,10 @@ export namespace merchantapi_promotions_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Promotions$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -702,11 +708,11 @@ export namespace merchantapi_promotions_v1beta { list( params: Params$Resource$Accounts$Promotions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Promotions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Promotions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -739,8 +745,8 @@ export namespace merchantapi_promotions_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Promotions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/merchantapi/quota_v1beta.ts b/src/apis/merchantapi/quota_v1beta.ts index 6793152552b..3a299da1030 100644 --- a/src/apis/merchantapi/quota_v1beta.ts +++ b/src/apis/merchantapi/quota_v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -272,11 +272,11 @@ export namespace merchantapi_quota_v1beta { list( params: Params$Resource$Accounts$Quotas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Quotas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Quotas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -309,8 +309,8 @@ export namespace merchantapi_quota_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Quotas$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/merchantapi/reports_v1beta.ts b/src/apis/merchantapi/reports_v1beta.ts index fdb0f14e103..ad9c2288bdd 100644 --- a/src/apis/merchantapi/reports_v1beta.ts +++ b/src/apis/merchantapi/reports_v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1052,11 +1052,11 @@ export namespace merchantapi_reports_v1beta { search( params: Params$Resource$Accounts$Reports$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Accounts$Reports$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Accounts$Reports$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1085,7 +1085,10 @@ export namespace merchantapi_reports_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Reports$Search; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/merchantapi/reviews_v1beta.ts b/src/apis/merchantapi/reviews_v1beta.ts index 2d62186f19b..9c6bf8084a1 100644 --- a/src/apis/merchantapi/reviews_v1beta.ts +++ b/src/apis/merchantapi/reviews_v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -659,11 +659,11 @@ export namespace merchantapi_reviews_v1beta { delete( params: Params$Resource$Accounts$Merchantreviews$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Merchantreviews$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Merchantreviews$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -692,7 +692,10 @@ export namespace merchantapi_reviews_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Merchantreviews$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -747,11 +750,11 @@ export namespace merchantapi_reviews_v1beta { get( params: Params$Resource$Accounts$Merchantreviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Merchantreviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Merchantreviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -780,7 +783,10 @@ export namespace merchantapi_reviews_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Merchantreviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -835,11 +841,11 @@ export namespace merchantapi_reviews_v1beta { insert( params: Params$Resource$Accounts$Merchantreviews$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Merchantreviews$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Merchantreviews$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -868,7 +874,10 @@ export namespace merchantapi_reviews_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Merchantreviews$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -922,11 +931,11 @@ export namespace merchantapi_reviews_v1beta { list( params: Params$Resource$Accounts$Merchantreviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Merchantreviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Merchantreviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -961,8 +970,8 @@ export namespace merchantapi_reviews_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Merchantreviews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1069,11 +1078,11 @@ export namespace merchantapi_reviews_v1beta { delete( params: Params$Resource$Accounts$Productreviews$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Productreviews$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Productreviews$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1102,7 +1111,10 @@ export namespace merchantapi_reviews_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Productreviews$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1157,11 +1169,11 @@ export namespace merchantapi_reviews_v1beta { get( params: Params$Resource$Accounts$Productreviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Productreviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Productreviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1190,7 +1202,10 @@ export namespace merchantapi_reviews_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Productreviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1245,11 +1260,11 @@ export namespace merchantapi_reviews_v1beta { insert( params: Params$Resource$Accounts$Productreviews$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Accounts$Productreviews$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Accounts$Productreviews$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1278,7 +1293,10 @@ export namespace merchantapi_reviews_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Productreviews$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1332,11 +1350,11 @@ export namespace merchantapi_reviews_v1beta { list( params: Params$Resource$Accounts$Productreviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Productreviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Productreviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1371,8 +1389,8 @@ export namespace merchantapi_reviews_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Productreviews$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/metastore/index.ts b/src/apis/metastore/index.ts index eb0deebeaf0..b5943f1fda6 100644 --- a/src/apis/metastore/index.ts +++ b/src/apis/metastore/index.ts @@ -95,7 +95,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/metastore/package.json b/src/apis/metastore/package.json index c7c8d6c95f9..d8a8890c4ae 100644 --- a/src/apis/metastore/package.json +++ b/src/apis/metastore/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/metastore/v1.ts b/src/apis/metastore/v1.ts index 090430afe94..2167d2fad2e 100644 --- a/src/apis/metastore/v1.ts +++ b/src/apis/metastore/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1374,11 +1374,11 @@ export namespace metastore_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1407,7 +1407,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1459,11 +1462,11 @@ export namespace metastore_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1496,8 +1499,8 @@ export namespace metastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1590,11 +1593,11 @@ export namespace metastore_v1 { create( params: Params$Resource$Projects$Locations$Federations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Federations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Federations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1623,7 +1626,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1678,11 +1684,11 @@ export namespace metastore_v1 { delete( params: Params$Resource$Projects$Locations$Federations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Federations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Federations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1711,7 +1717,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1763,11 +1772,11 @@ export namespace metastore_v1 { get( params: Params$Resource$Projects$Locations$Federations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Federations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Federations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1796,7 +1805,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1848,11 +1860,11 @@ export namespace metastore_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Federations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Federations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Federations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1881,7 +1893,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1937,11 +1952,11 @@ export namespace metastore_v1 { list( params: Params$Resource$Projects$Locations$Federations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Federations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Federations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1974,8 +1989,8 @@ export namespace metastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2030,11 +2045,11 @@ export namespace metastore_v1 { patch( params: Params$Resource$Projects$Locations$Federations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Federations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Federations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2063,7 +2078,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2115,11 +2133,11 @@ export namespace metastore_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Federations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Federations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Federations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2148,7 +2166,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2204,11 +2225,11 @@ export namespace metastore_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Federations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Federations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Federations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2243,8 +2264,8 @@ export namespace metastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2424,11 +2445,11 @@ export namespace metastore_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2457,7 +2478,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2509,11 +2533,11 @@ export namespace metastore_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2542,7 +2566,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2594,11 +2621,11 @@ export namespace metastore_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2627,7 +2654,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2679,11 +2709,11 @@ export namespace metastore_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2716,8 +2746,8 @@ export namespace metastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2841,11 +2871,11 @@ export namespace metastore_v1 { alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params?: Params$Resource$Projects$Locations$Services$Alterlocation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions | BodyResponseCallback, @@ -2874,7 +2904,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Alterlocation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2930,11 +2963,11 @@ export namespace metastore_v1 { alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params?: Params$Resource$Projects$Locations$Services$Altertableproperties, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions | BodyResponseCallback, @@ -2965,7 +2998,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Altertableproperties; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3021,11 +3057,11 @@ export namespace metastore_v1 { cancelMigration( params: Params$Resource$Projects$Locations$Services$Cancelmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelMigration( params?: Params$Resource$Projects$Locations$Services$Cancelmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelMigration( params: Params$Resource$Projects$Locations$Services$Cancelmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -3054,7 +3090,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Cancelmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3110,11 +3149,11 @@ export namespace metastore_v1 { completeMigration( params: Params$Resource$Projects$Locations$Services$Completemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeMigration( params?: Params$Resource$Projects$Locations$Services$Completemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeMigration( params: Params$Resource$Projects$Locations$Services$Completemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -3143,7 +3182,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Completemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3199,11 +3241,11 @@ export namespace metastore_v1 { create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3232,7 +3274,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3287,11 +3332,11 @@ export namespace metastore_v1 { delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3320,7 +3365,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3372,11 +3420,11 @@ export namespace metastore_v1 { exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params?: Params$Resource$Projects$Locations$Services$Exportmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -3405,7 +3453,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Exportmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3461,11 +3512,11 @@ export namespace metastore_v1 { get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3494,7 +3545,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3546,11 +3600,11 @@ export namespace metastore_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3579,7 +3633,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3634,11 +3691,11 @@ export namespace metastore_v1 { list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3671,8 +3728,8 @@ export namespace metastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3727,11 +3784,11 @@ export namespace metastore_v1 { moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params?: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions | BodyResponseCallback, @@ -3760,7 +3817,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Movetabletodatabase; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3816,11 +3876,11 @@ export namespace metastore_v1 { patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3849,7 +3909,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3901,11 +3964,11 @@ export namespace metastore_v1 { queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params?: Params$Resource$Projects$Locations$Services$Querymetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -3934,7 +3997,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Querymetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3990,11 +4056,11 @@ export namespace metastore_v1 { restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Services$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -4023,7 +4089,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4078,11 +4147,11 @@ export namespace metastore_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4111,7 +4180,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4166,11 +4238,11 @@ export namespace metastore_v1 { startMigration( params: Params$Resource$Projects$Locations$Services$Startmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params?: Params$Resource$Projects$Locations$Services$Startmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params: Params$Resource$Projects$Locations$Services$Startmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -4199,7 +4271,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Startmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4255,11 +4330,11 @@ export namespace metastore_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Services$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Services$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Services$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4294,8 +4369,8 @@ export namespace metastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4583,11 +4658,11 @@ export namespace metastore_v1 { create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4616,7 +4691,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4672,11 +4750,11 @@ export namespace metastore_v1 { delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4705,7 +4783,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4758,11 +4839,11 @@ export namespace metastore_v1 { get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4791,7 +4872,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4843,11 +4927,11 @@ export namespace metastore_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Backups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4876,7 +4960,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4932,11 +5019,11 @@ export namespace metastore_v1 { list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4967,8 +5054,8 @@ export namespace metastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5023,11 +5110,11 @@ export namespace metastore_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Backups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5056,7 +5143,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5208,11 +5298,11 @@ export namespace metastore_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5241,7 +5331,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5297,11 +5390,11 @@ export namespace metastore_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5330,7 +5423,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5417,11 +5513,11 @@ export namespace metastore_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5450,7 +5546,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5506,11 +5605,11 @@ export namespace metastore_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5539,7 +5638,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5626,11 +5728,11 @@ export namespace metastore_v1 { create( params: Params$Resource$Projects$Locations$Services$Metadataimports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Metadataimports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Metadataimports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5659,7 +5761,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5715,11 +5820,11 @@ export namespace metastore_v1 { get( params: Params$Resource$Projects$Locations$Services$Metadataimports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Metadataimports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Metadataimports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5748,7 +5853,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5801,11 +5909,11 @@ export namespace metastore_v1 { list( params: Params$Resource$Projects$Locations$Services$Metadataimports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Metadataimports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Metadataimports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5840,8 +5948,8 @@ export namespace metastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5897,11 +6005,11 @@ export namespace metastore_v1 { patch( params: Params$Resource$Projects$Locations$Services$Metadataimports$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Metadataimports$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Metadataimports$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5930,7 +6038,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6061,11 +6172,11 @@ export namespace metastore_v1 { delete( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6094,7 +6205,10 @@ export namespace metastore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6147,11 +6261,11 @@ export namespace metastore_v1 { get( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6182,8 +6296,8 @@ export namespace metastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6236,11 +6350,11 @@ export namespace metastore_v1 { list( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6275,8 +6389,8 @@ export namespace metastore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/metastore/v1alpha.ts b/src/apis/metastore/v1alpha.ts index f7917a73106..d705647a111 100644 --- a/src/apis/metastore/v1alpha.ts +++ b/src/apis/metastore/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1480,11 +1480,11 @@ export namespace metastore_v1alpha { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1513,7 +1513,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1565,11 +1568,11 @@ export namespace metastore_v1alpha { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1602,8 +1605,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1696,11 +1699,11 @@ export namespace metastore_v1alpha { create( params: Params$Resource$Projects$Locations$Federations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Federations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Federations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1729,7 +1732,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1784,11 +1790,11 @@ export namespace metastore_v1alpha { delete( params: Params$Resource$Projects$Locations$Federations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Federations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Federations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1817,7 +1823,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1869,11 +1878,11 @@ export namespace metastore_v1alpha { get( params: Params$Resource$Projects$Locations$Federations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Federations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Federations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1902,7 +1911,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1954,11 +1966,11 @@ export namespace metastore_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Federations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Federations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Federations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1987,7 +1999,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2043,11 +2058,11 @@ export namespace metastore_v1alpha { list( params: Params$Resource$Projects$Locations$Federations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Federations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Federations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2080,8 +2095,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2136,11 +2151,11 @@ export namespace metastore_v1alpha { patch( params: Params$Resource$Projects$Locations$Federations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Federations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Federations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2169,7 +2184,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2221,11 +2239,11 @@ export namespace metastore_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Federations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Federations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Federations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2254,7 +2272,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2310,11 +2331,11 @@ export namespace metastore_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Federations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Federations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Federations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2349,8 +2370,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2530,11 +2551,11 @@ export namespace metastore_v1alpha { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2563,7 +2584,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2618,11 +2642,11 @@ export namespace metastore_v1alpha { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2651,7 +2675,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2703,11 +2730,11 @@ export namespace metastore_v1alpha { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2736,7 +2763,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2788,11 +2818,11 @@ export namespace metastore_v1alpha { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2825,8 +2855,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2950,11 +2980,11 @@ export namespace metastore_v1alpha { alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params?: Params$Resource$Projects$Locations$Services$Alterlocation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions | BodyResponseCallback, @@ -2983,7 +3013,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Alterlocation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3039,11 +3072,11 @@ export namespace metastore_v1alpha { alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params?: Params$Resource$Projects$Locations$Services$Altertableproperties, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions | BodyResponseCallback, @@ -3074,7 +3107,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Altertableproperties; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3130,11 +3166,11 @@ export namespace metastore_v1alpha { cancelMigration( params: Params$Resource$Projects$Locations$Services$Cancelmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelMigration( params?: Params$Resource$Projects$Locations$Services$Cancelmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelMigration( params: Params$Resource$Projects$Locations$Services$Cancelmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -3163,7 +3199,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Cancelmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3219,11 +3258,11 @@ export namespace metastore_v1alpha { completeMigration( params: Params$Resource$Projects$Locations$Services$Completemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeMigration( params?: Params$Resource$Projects$Locations$Services$Completemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeMigration( params: Params$Resource$Projects$Locations$Services$Completemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -3252,7 +3291,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Completemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3308,11 +3350,11 @@ export namespace metastore_v1alpha { create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3341,7 +3383,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3396,11 +3441,11 @@ export namespace metastore_v1alpha { delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3429,7 +3474,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3481,11 +3529,11 @@ export namespace metastore_v1alpha { exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params?: Params$Resource$Projects$Locations$Services$Exportmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -3514,7 +3562,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Exportmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3570,11 +3621,11 @@ export namespace metastore_v1alpha { get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3603,7 +3654,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3655,11 +3709,11 @@ export namespace metastore_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3688,7 +3742,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3743,11 +3800,11 @@ export namespace metastore_v1alpha { list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3780,8 +3837,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3836,11 +3893,11 @@ export namespace metastore_v1alpha { moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params?: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions | BodyResponseCallback, @@ -3869,7 +3926,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Movetabletodatabase; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3925,11 +3985,11 @@ export namespace metastore_v1alpha { patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3958,7 +4018,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4010,11 +4073,11 @@ export namespace metastore_v1alpha { queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params?: Params$Resource$Projects$Locations$Services$Querymetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -4043,7 +4106,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Querymetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4099,11 +4165,11 @@ export namespace metastore_v1alpha { removeIamPolicy( params: Params$Resource$Projects$Locations$Services$Removeiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeIamPolicy( params?: Params$Resource$Projects$Locations$Services$Removeiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeIamPolicy( params: Params$Resource$Projects$Locations$Services$Removeiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4138,8 +4204,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Removeiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4195,11 +4261,11 @@ export namespace metastore_v1alpha { restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Services$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -4228,7 +4294,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4283,11 +4352,11 @@ export namespace metastore_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4316,7 +4385,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4371,11 +4443,11 @@ export namespace metastore_v1alpha { startMigration( params: Params$Resource$Projects$Locations$Services$Startmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params?: Params$Resource$Projects$Locations$Services$Startmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params: Params$Resource$Projects$Locations$Services$Startmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -4404,7 +4476,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Startmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4460,11 +4535,11 @@ export namespace metastore_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Services$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Services$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Services$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4499,8 +4574,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4800,11 +4875,11 @@ export namespace metastore_v1alpha { create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4833,7 +4908,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4889,11 +4967,11 @@ export namespace metastore_v1alpha { delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4922,7 +5000,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4975,11 +5056,11 @@ export namespace metastore_v1alpha { get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5008,7 +5089,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5060,11 +5144,11 @@ export namespace metastore_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Backups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5093,7 +5177,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5149,11 +5236,11 @@ export namespace metastore_v1alpha { list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5184,8 +5271,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5240,11 +5327,11 @@ export namespace metastore_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Backups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5273,7 +5360,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5329,11 +5419,11 @@ export namespace metastore_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Services$Backups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Services$Backups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Services$Backups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5368,8 +5458,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5533,11 +5623,11 @@ export namespace metastore_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5566,7 +5656,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5622,11 +5715,11 @@ export namespace metastore_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5655,7 +5748,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5711,11 +5807,11 @@ export namespace metastore_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Services$Databases$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Services$Databases$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Services$Databases$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5750,8 +5846,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5850,11 +5946,11 @@ export namespace metastore_v1alpha { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5883,7 +5979,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5939,11 +6038,11 @@ export namespace metastore_v1alpha { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5972,7 +6071,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6028,11 +6130,11 @@ export namespace metastore_v1alpha { testIamPermissions( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Services$Databases$Tables$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6067,8 +6169,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Tables$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6167,11 +6269,11 @@ export namespace metastore_v1alpha { create( params: Params$Resource$Projects$Locations$Services$Metadataimports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Metadataimports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Metadataimports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6200,7 +6302,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6256,11 +6361,11 @@ export namespace metastore_v1alpha { get( params: Params$Resource$Projects$Locations$Services$Metadataimports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Metadataimports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Metadataimports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6289,7 +6394,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6342,11 +6450,11 @@ export namespace metastore_v1alpha { list( params: Params$Resource$Projects$Locations$Services$Metadataimports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Metadataimports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Metadataimports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6381,8 +6489,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6438,11 +6546,11 @@ export namespace metastore_v1alpha { patch( params: Params$Resource$Projects$Locations$Services$Metadataimports$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Metadataimports$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Metadataimports$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6471,7 +6579,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6602,11 +6713,11 @@ export namespace metastore_v1alpha { delete( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6635,7 +6746,10 @@ export namespace metastore_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6688,11 +6802,11 @@ export namespace metastore_v1alpha { get( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6723,8 +6837,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6777,11 +6891,11 @@ export namespace metastore_v1alpha { list( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6816,8 +6930,8 @@ export namespace metastore_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/metastore/v1beta.ts b/src/apis/metastore/v1beta.ts index fd9239c48cb..243bb7c5a95 100644 --- a/src/apis/metastore/v1beta.ts +++ b/src/apis/metastore/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1480,11 +1480,11 @@ export namespace metastore_v1beta { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1513,7 +1513,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1565,11 +1568,11 @@ export namespace metastore_v1beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1602,8 +1605,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1696,11 +1699,11 @@ export namespace metastore_v1beta { create( params: Params$Resource$Projects$Locations$Federations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Federations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Federations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1729,7 +1732,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1784,11 +1790,11 @@ export namespace metastore_v1beta { delete( params: Params$Resource$Projects$Locations$Federations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Federations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Federations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1817,7 +1823,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1869,11 +1878,11 @@ export namespace metastore_v1beta { get( params: Params$Resource$Projects$Locations$Federations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Federations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Federations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1902,7 +1911,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1954,11 +1966,11 @@ export namespace metastore_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Federations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Federations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Federations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1987,7 +1999,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2043,11 +2058,11 @@ export namespace metastore_v1beta { list( params: Params$Resource$Projects$Locations$Federations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Federations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Federations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2080,8 +2095,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2136,11 +2151,11 @@ export namespace metastore_v1beta { patch( params: Params$Resource$Projects$Locations$Federations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Federations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Federations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2169,7 +2184,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2221,11 +2239,11 @@ export namespace metastore_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Federations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Federations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Federations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2254,7 +2272,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2310,11 +2331,11 @@ export namespace metastore_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Federations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Federations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Federations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2349,8 +2370,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Federations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2530,11 +2551,11 @@ export namespace metastore_v1beta { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2563,7 +2584,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2618,11 +2642,11 @@ export namespace metastore_v1beta { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2651,7 +2675,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2703,11 +2730,11 @@ export namespace metastore_v1beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2736,7 +2763,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2788,11 +2818,11 @@ export namespace metastore_v1beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2825,8 +2855,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2950,11 +2980,11 @@ export namespace metastore_v1beta { alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params?: Params$Resource$Projects$Locations$Services$Alterlocation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions | BodyResponseCallback, @@ -2983,7 +3013,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Alterlocation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3039,11 +3072,11 @@ export namespace metastore_v1beta { alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params?: Params$Resource$Projects$Locations$Services$Altertableproperties, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions | BodyResponseCallback, @@ -3074,7 +3107,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Altertableproperties; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3130,11 +3166,11 @@ export namespace metastore_v1beta { cancelMigration( params: Params$Resource$Projects$Locations$Services$Cancelmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelMigration( params?: Params$Resource$Projects$Locations$Services$Cancelmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelMigration( params: Params$Resource$Projects$Locations$Services$Cancelmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -3163,7 +3199,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Cancelmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3219,11 +3258,11 @@ export namespace metastore_v1beta { completeMigration( params: Params$Resource$Projects$Locations$Services$Completemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeMigration( params?: Params$Resource$Projects$Locations$Services$Completemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeMigration( params: Params$Resource$Projects$Locations$Services$Completemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -3252,7 +3291,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Completemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3308,11 +3350,11 @@ export namespace metastore_v1beta { create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3341,7 +3383,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3396,11 +3441,11 @@ export namespace metastore_v1beta { delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3429,7 +3474,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3481,11 +3529,11 @@ export namespace metastore_v1beta { exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params?: Params$Resource$Projects$Locations$Services$Exportmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -3514,7 +3562,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Exportmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3570,11 +3621,11 @@ export namespace metastore_v1beta { get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3603,7 +3654,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3655,11 +3709,11 @@ export namespace metastore_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3688,7 +3742,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3743,11 +3800,11 @@ export namespace metastore_v1beta { list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3780,8 +3837,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3836,11 +3893,11 @@ export namespace metastore_v1beta { moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params?: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions | BodyResponseCallback, @@ -3869,7 +3926,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Movetabletodatabase; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3925,11 +3985,11 @@ export namespace metastore_v1beta { patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3958,7 +4018,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4010,11 +4073,11 @@ export namespace metastore_v1beta { queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params?: Params$Resource$Projects$Locations$Services$Querymetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -4043,7 +4106,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Querymetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4099,11 +4165,11 @@ export namespace metastore_v1beta { removeIamPolicy( params: Params$Resource$Projects$Locations$Services$Removeiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeIamPolicy( params?: Params$Resource$Projects$Locations$Services$Removeiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeIamPolicy( params: Params$Resource$Projects$Locations$Services$Removeiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4138,8 +4204,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Removeiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4195,11 +4261,11 @@ export namespace metastore_v1beta { restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Services$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -4228,7 +4294,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4283,11 +4352,11 @@ export namespace metastore_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4316,7 +4385,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4371,11 +4443,11 @@ export namespace metastore_v1beta { startMigration( params: Params$Resource$Projects$Locations$Services$Startmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params?: Params$Resource$Projects$Locations$Services$Startmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params: Params$Resource$Projects$Locations$Services$Startmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -4404,7 +4476,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Startmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4460,11 +4535,11 @@ export namespace metastore_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Services$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Services$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Services$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4499,8 +4574,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4800,11 +4875,11 @@ export namespace metastore_v1beta { create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4833,7 +4908,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4889,11 +4967,11 @@ export namespace metastore_v1beta { delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4922,7 +5000,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4975,11 +5056,11 @@ export namespace metastore_v1beta { get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5008,7 +5089,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5060,11 +5144,11 @@ export namespace metastore_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Backups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5093,7 +5177,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5149,11 +5236,11 @@ export namespace metastore_v1beta { list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5184,8 +5271,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5240,11 +5327,11 @@ export namespace metastore_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Backups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Backups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5273,7 +5360,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5329,11 +5419,11 @@ export namespace metastore_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Services$Backups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Services$Backups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Services$Backups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5368,8 +5458,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5533,11 +5623,11 @@ export namespace metastore_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5566,7 +5656,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5622,11 +5715,11 @@ export namespace metastore_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5655,7 +5748,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5711,11 +5807,11 @@ export namespace metastore_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Services$Databases$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Services$Databases$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Services$Databases$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5750,8 +5846,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5850,11 +5946,11 @@ export namespace metastore_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5883,7 +5979,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Tables$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5939,11 +6038,11 @@ export namespace metastore_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5972,7 +6071,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Tables$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6028,11 +6130,11 @@ export namespace metastore_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Services$Databases$Tables$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Services$Databases$Tables$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6067,8 +6169,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Databases$Tables$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6167,11 +6269,11 @@ export namespace metastore_v1beta { create( params: Params$Resource$Projects$Locations$Services$Metadataimports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Metadataimports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Metadataimports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6200,7 +6302,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6256,11 +6361,11 @@ export namespace metastore_v1beta { get( params: Params$Resource$Projects$Locations$Services$Metadataimports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Metadataimports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Metadataimports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6289,7 +6394,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6342,11 +6450,11 @@ export namespace metastore_v1beta { list( params: Params$Resource$Projects$Locations$Services$Metadataimports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Metadataimports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Metadataimports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6381,8 +6489,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6438,11 +6546,11 @@ export namespace metastore_v1beta { patch( params: Params$Resource$Projects$Locations$Services$Metadataimports$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Metadataimports$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Metadataimports$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6471,7 +6579,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Metadataimports$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6602,11 +6713,11 @@ export namespace metastore_v1beta { delete( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6635,7 +6746,10 @@ export namespace metastore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6688,11 +6802,11 @@ export namespace metastore_v1beta { get( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6723,8 +6837,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6777,11 +6891,11 @@ export namespace metastore_v1beta { list( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6816,8 +6930,8 @@ export namespace metastore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/metastore/v2.ts b/src/apis/metastore/v2.ts index 4f2a3741b92..b5940d8781e 100644 --- a/src/apis/metastore/v2.ts +++ b/src/apis/metastore/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -997,11 +997,11 @@ export namespace metastore_v2 { alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params?: Params$Resource$Projects$Locations$Services$Alterlocation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions | BodyResponseCallback, @@ -1036,8 +1036,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Alterlocation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1093,11 +1093,11 @@ export namespace metastore_v2 { alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params?: Params$Resource$Projects$Locations$Services$Altertableproperties, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions | BodyResponseCallback, @@ -1132,8 +1132,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Altertableproperties; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1189,11 +1189,11 @@ export namespace metastore_v2 { create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1228,8 +1228,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1284,11 +1284,11 @@ export namespace metastore_v2 { delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1323,8 +1323,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1376,11 +1376,11 @@ export namespace metastore_v2 { exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params?: Params$Resource$Projects$Locations$Services$Exportmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -1415,8 +1415,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Exportmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1472,11 +1472,11 @@ export namespace metastore_v2 { get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1511,8 +1511,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1566,11 +1566,11 @@ export namespace metastore_v2 { importMetadata( params: Params$Resource$Projects$Locations$Services$Importmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importMetadata( params?: Params$Resource$Projects$Locations$Services$Importmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importMetadata( params: Params$Resource$Projects$Locations$Services$Importmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -1605,8 +1605,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Importmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1662,11 +1662,13 @@ export namespace metastore_v2 { list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1701,8 +1703,10 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1759,11 +1763,11 @@ export namespace metastore_v2 { moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params?: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions | BodyResponseCallback, @@ -1798,8 +1802,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Movetabletodatabase; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1855,11 +1859,11 @@ export namespace metastore_v2 { patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1894,8 +1898,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1947,11 +1951,11 @@ export namespace metastore_v2 { queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params?: Params$Resource$Projects$Locations$Services$Querymetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -1986,8 +1990,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Querymetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2043,11 +2047,11 @@ export namespace metastore_v2 { restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Services$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -2082,8 +2086,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2311,11 +2315,11 @@ export namespace metastore_v2 { create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2350,8 +2354,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2407,11 +2411,11 @@ export namespace metastore_v2 { delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2446,8 +2450,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2500,11 +2504,11 @@ export namespace metastore_v2 { get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2539,8 +2543,8 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2594,11 +2598,13 @@ export namespace metastore_v2 { list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2633,8 +2639,10 @@ export namespace metastore_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/metastore/v2alpha.ts b/src/apis/metastore/v2alpha.ts index b3f80ba98c8..c90a4cac001 100644 --- a/src/apis/metastore/v2alpha.ts +++ b/src/apis/metastore/v2alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1208,11 +1208,11 @@ export namespace metastore_v2alpha { alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params?: Params$Resource$Projects$Locations$Services$Alterlocation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions | BodyResponseCallback, @@ -1247,8 +1247,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Alterlocation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1304,11 +1304,11 @@ export namespace metastore_v2alpha { alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params?: Params$Resource$Projects$Locations$Services$Altertableproperties, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions | BodyResponseCallback, @@ -1343,8 +1343,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Altertableproperties; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1400,11 +1400,11 @@ export namespace metastore_v2alpha { cancelMigration( params: Params$Resource$Projects$Locations$Services$Cancelmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelMigration( params?: Params$Resource$Projects$Locations$Services$Cancelmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelMigration( params: Params$Resource$Projects$Locations$Services$Cancelmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -1439,8 +1439,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Cancelmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1496,11 +1496,11 @@ export namespace metastore_v2alpha { completeMigration( params: Params$Resource$Projects$Locations$Services$Completemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeMigration( params?: Params$Resource$Projects$Locations$Services$Completemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeMigration( params: Params$Resource$Projects$Locations$Services$Completemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -1535,8 +1535,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Completemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1592,11 +1592,11 @@ export namespace metastore_v2alpha { create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1631,8 +1631,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1687,11 +1687,11 @@ export namespace metastore_v2alpha { delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1726,8 +1726,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1779,11 +1779,11 @@ export namespace metastore_v2alpha { exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params?: Params$Resource$Projects$Locations$Services$Exportmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -1818,8 +1818,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Exportmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1875,11 +1875,13 @@ export namespace metastore_v2alpha { get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1914,8 +1916,10 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1969,11 +1973,11 @@ export namespace metastore_v2alpha { importMetadata( params: Params$Resource$Projects$Locations$Services$Importmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importMetadata( params?: Params$Resource$Projects$Locations$Services$Importmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importMetadata( params: Params$Resource$Projects$Locations$Services$Importmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -2008,8 +2012,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Importmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2065,11 +2069,13 @@ export namespace metastore_v2alpha { list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2104,8 +2110,10 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2162,11 +2170,11 @@ export namespace metastore_v2alpha { moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params?: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions | BodyResponseCallback, @@ -2201,8 +2209,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Movetabletodatabase; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2258,11 +2266,11 @@ export namespace metastore_v2alpha { patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2297,8 +2305,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2350,11 +2358,11 @@ export namespace metastore_v2alpha { queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params?: Params$Resource$Projects$Locations$Services$Querymetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -2389,8 +2397,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Querymetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2446,11 +2454,13 @@ export namespace metastore_v2alpha { removeIamPolicy( params: Params$Resource$Projects$Locations$Services$Removeiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeIamPolicy( params?: Params$Resource$Projects$Locations$Services$Removeiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeIamPolicy( params: Params$Resource$Projects$Locations$Services$Removeiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2485,8 +2495,10 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Removeiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2544,11 +2556,11 @@ export namespace metastore_v2alpha { restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Services$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -2583,8 +2595,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2639,11 +2651,11 @@ export namespace metastore_v2alpha { startMigration( params: Params$Resource$Projects$Locations$Services$Startmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params?: Params$Resource$Projects$Locations$Services$Startmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params: Params$Resource$Projects$Locations$Services$Startmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -2678,8 +2690,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Startmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2956,11 +2968,11 @@ export namespace metastore_v2alpha { create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2995,8 +3007,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3052,11 +3064,11 @@ export namespace metastore_v2alpha { delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3091,8 +3103,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3145,11 +3157,13 @@ export namespace metastore_v2alpha { get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3184,8 +3198,10 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3239,11 +3255,13 @@ export namespace metastore_v2alpha { list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3278,8 +3296,10 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3405,11 +3425,11 @@ export namespace metastore_v2alpha { delete( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3444,8 +3464,8 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3498,11 +3518,13 @@ export namespace metastore_v2alpha { get( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3537,8 +3559,10 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3593,11 +3617,13 @@ export namespace metastore_v2alpha { list( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3632,8 +3658,10 @@ export namespace metastore_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/metastore/v2beta.ts b/src/apis/metastore/v2beta.ts index 313ccb83808..a9efe2cf695 100644 --- a/src/apis/metastore/v2beta.ts +++ b/src/apis/metastore/v2beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1208,11 +1208,11 @@ export namespace metastore_v2beta { alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params?: Params$Resource$Projects$Locations$Services$Alterlocation, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterLocation( params: Params$Resource$Projects$Locations$Services$Alterlocation, options: StreamMethodOptions | BodyResponseCallback, @@ -1247,8 +1247,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Alterlocation; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1304,11 +1304,11 @@ export namespace metastore_v2beta { alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params?: Params$Resource$Projects$Locations$Services$Altertableproperties, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; alterTableProperties( params: Params$Resource$Projects$Locations$Services$Altertableproperties, options: StreamMethodOptions | BodyResponseCallback, @@ -1343,8 +1343,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Altertableproperties; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1400,11 +1400,11 @@ export namespace metastore_v2beta { cancelMigration( params: Params$Resource$Projects$Locations$Services$Cancelmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancelMigration( params?: Params$Resource$Projects$Locations$Services$Cancelmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancelMigration( params: Params$Resource$Projects$Locations$Services$Cancelmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -1439,8 +1439,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Cancelmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1496,11 +1496,11 @@ export namespace metastore_v2beta { completeMigration( params: Params$Resource$Projects$Locations$Services$Completemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeMigration( params?: Params$Resource$Projects$Locations$Services$Completemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; completeMigration( params: Params$Resource$Projects$Locations$Services$Completemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -1535,8 +1535,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Completemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1592,11 +1592,11 @@ export namespace metastore_v2beta { create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1631,8 +1631,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1687,11 +1687,11 @@ export namespace metastore_v2beta { delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1726,8 +1726,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1779,11 +1779,11 @@ export namespace metastore_v2beta { exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params?: Params$Resource$Projects$Locations$Services$Exportmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params: Params$Resource$Projects$Locations$Services$Exportmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -1818,8 +1818,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Exportmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1875,11 +1875,13 @@ export namespace metastore_v2beta { get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1914,8 +1916,10 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1969,11 +1973,11 @@ export namespace metastore_v2beta { importMetadata( params: Params$Resource$Projects$Locations$Services$Importmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importMetadata( params?: Params$Resource$Projects$Locations$Services$Importmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importMetadata( params: Params$Resource$Projects$Locations$Services$Importmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -2008,8 +2012,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Importmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2065,11 +2069,13 @@ export namespace metastore_v2beta { list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2104,8 +2110,10 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2162,11 +2170,11 @@ export namespace metastore_v2beta { moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params?: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; moveTableToDatabase( params: Params$Resource$Projects$Locations$Services$Movetabletodatabase, options: StreamMethodOptions | BodyResponseCallback, @@ -2201,8 +2209,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Movetabletodatabase; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2258,11 +2266,11 @@ export namespace metastore_v2beta { patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2297,8 +2305,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2350,11 +2358,11 @@ export namespace metastore_v2beta { queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params?: Params$Resource$Projects$Locations$Services$Querymetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryMetadata( params: Params$Resource$Projects$Locations$Services$Querymetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -2389,8 +2397,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Querymetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2446,11 +2454,13 @@ export namespace metastore_v2beta { removeIamPolicy( params: Params$Resource$Projects$Locations$Services$Removeiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeIamPolicy( params?: Params$Resource$Projects$Locations$Services$Removeiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeIamPolicy( params: Params$Resource$Projects$Locations$Services$Removeiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2485,8 +2495,10 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Removeiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2544,11 +2556,11 @@ export namespace metastore_v2beta { restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Services$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Services$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -2583,8 +2595,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2639,11 +2651,11 @@ export namespace metastore_v2beta { startMigration( params: Params$Resource$Projects$Locations$Services$Startmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params?: Params$Resource$Projects$Locations$Services$Startmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params: Params$Resource$Projects$Locations$Services$Startmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -2678,8 +2690,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Startmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2956,11 +2968,11 @@ export namespace metastore_v2beta { create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2995,8 +3007,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3052,11 +3064,11 @@ export namespace metastore_v2beta { delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3091,8 +3103,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3145,11 +3157,13 @@ export namespace metastore_v2beta { get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Services$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3184,8 +3198,10 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3239,11 +3255,13 @@ export namespace metastore_v2beta { list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Services$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3278,8 +3296,10 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3405,11 +3425,11 @@ export namespace metastore_v2beta { delete( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3444,8 +3464,8 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3498,11 +3518,13 @@ export namespace metastore_v2beta { get( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3537,8 +3559,10 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3593,11 +3617,13 @@ export namespace metastore_v2beta { list( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3632,8 +3658,10 @@ export namespace metastore_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/migrationcenter/index.ts b/src/apis/migrationcenter/index.ts index a473b31606a..a0700e6f610 100644 --- a/src/apis/migrationcenter/index.ts +++ b/src/apis/migrationcenter/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/migrationcenter/package.json b/src/apis/migrationcenter/package.json index d5d93ee370c..383d55c4444 100644 --- a/src/apis/migrationcenter/package.json +++ b/src/apis/migrationcenter/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/migrationcenter/v1.ts b/src/apis/migrationcenter/v1.ts index ac7723edcd1..e71644bb8c2 100644 --- a/src/apis/migrationcenter/v1.ts +++ b/src/apis/migrationcenter/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -445,6 +445,10 @@ export namespace migrationcenter_v1 { * Optional. When this value is set to `true` the request is a no-op for non-existing assets. See https://google.aip.dev/135#delete-if-existing for additional details. Default value is `false`. */ allowMissing?: boolean | null; + /** + * Optional. Optional cascading rules for deleting related assets. + */ + cascadingRules?: Schema$CascadingRule[]; /** * Required. The IDs of the assets to delete. A maximum of 1000 assets can be deleted in a batch. Format: projects/{project\}/locations/{location\}/assets/{name\}. */ @@ -501,6 +505,19 @@ export namespace migrationcenter_v1 { * The request message for Operations.CancelOperation. */ export interface Schema$CancelOperationRequest {} + /** + * Cascading rule for related logical DBs. + */ + export interface Schema$CascadeLogicalDBsRule {} + /** + * Specifies cascading rules for traversing relations. + */ + export interface Schema$CascadingRule { + /** + * Cascading rule for related logical DBs. + */ + cascadeLogicalDbs?: Schema$CascadeLogicalDBsRule; + } /** * Compute engine migration target. */ @@ -3482,11 +3499,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3515,7 +3532,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3568,11 +3588,11 @@ export namespace migrationcenter_v1 { getSettings( params: Params$Resource$Projects$Locations$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$Projects$Locations$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params: Params$Resource$Projects$Locations$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -3601,7 +3621,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3654,11 +3677,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3691,8 +3714,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3748,11 +3771,11 @@ export namespace migrationcenter_v1 { updateSettings( params: Params$Resource$Projects$Locations$Updatesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params?: Params$Resource$Projects$Locations$Updatesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params: Params$Resource$Projects$Locations$Updatesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -3781,7 +3804,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3899,11 +3925,11 @@ export namespace migrationcenter_v1 { aggregateValues( params: Params$Resource$Projects$Locations$Assets$Aggregatevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregateValues( params?: Params$Resource$Projects$Locations$Assets$Aggregatevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregateValues( params: Params$Resource$Projects$Locations$Assets$Aggregatevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -3938,8 +3964,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Aggregatevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3998,11 +4024,11 @@ export namespace migrationcenter_v1 { batchDelete( params: Params$Resource$Projects$Locations$Assets$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Assets$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Assets$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -4031,7 +4057,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4087,11 +4116,11 @@ export namespace migrationcenter_v1 { batchUpdate( params: Params$Resource$Projects$Locations$Assets$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Locations$Assets$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Locations$Assets$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -4126,8 +4155,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4183,11 +4212,11 @@ export namespace migrationcenter_v1 { delete( params: Params$Resource$Projects$Locations$Assets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Assets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Assets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4216,7 +4245,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4269,11 +4301,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Assets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Assets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Assets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4302,7 +4334,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4355,11 +4390,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4390,8 +4425,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4447,11 +4482,11 @@ export namespace migrationcenter_v1 { patch( params: Params$Resource$Projects$Locations$Assets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Assets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Assets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4480,7 +4515,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4533,11 +4571,11 @@ export namespace migrationcenter_v1 { reportAssetFrames( params: Params$Resource$Projects$Locations$Assets$Reportassetframes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportAssetFrames( params?: Params$Resource$Projects$Locations$Assets$Reportassetframes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportAssetFrames( params: Params$Resource$Projects$Locations$Assets$Reportassetframes, options: StreamMethodOptions | BodyResponseCallback, @@ -4572,8 +4610,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Reportassetframes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4763,11 +4801,11 @@ export namespace migrationcenter_v1 { create( params: Params$Resource$Projects$Locations$Discoveryclients$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Discoveryclients$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Discoveryclients$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4796,7 +4834,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4853,11 +4894,11 @@ export namespace migrationcenter_v1 { delete( params: Params$Resource$Projects$Locations$Discoveryclients$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Discoveryclients$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Discoveryclients$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4886,7 +4927,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4940,11 +4984,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Discoveryclients$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Discoveryclients$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Discoveryclients$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4973,7 +5017,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5026,11 +5073,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Discoveryclients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Discoveryclients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Discoveryclients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5065,8 +5112,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5124,11 +5171,11 @@ export namespace migrationcenter_v1 { patch( params: Params$Resource$Projects$Locations$Discoveryclients$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Discoveryclients$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Discoveryclients$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5157,7 +5204,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5211,11 +5261,11 @@ export namespace migrationcenter_v1 { sendHeartbeat( params: Params$Resource$Projects$Locations$Discoveryclients$Sendheartbeat, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendHeartbeat( params?: Params$Resource$Projects$Locations$Discoveryclients$Sendheartbeat, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendHeartbeat( params: Params$Resource$Projects$Locations$Discoveryclients$Sendheartbeat, options: StreamMethodOptions | BodyResponseCallback, @@ -5244,7 +5294,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$Sendheartbeat; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5402,11 +5455,11 @@ export namespace migrationcenter_v1 { addAssets( params: Params$Resource$Projects$Locations$Groups$Addassets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssets( params?: Params$Resource$Projects$Locations$Groups$Addassets, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssets( params: Params$Resource$Projects$Locations$Groups$Addassets, options: StreamMethodOptions | BodyResponseCallback, @@ -5435,7 +5488,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Addassets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5491,11 +5547,11 @@ export namespace migrationcenter_v1 { create( params: Params$Resource$Projects$Locations$Groups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Groups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Groups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5524,7 +5580,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5580,11 +5639,11 @@ export namespace migrationcenter_v1 { delete( params: Params$Resource$Projects$Locations$Groups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Groups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Groups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5613,7 +5672,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5666,11 +5728,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5699,7 +5761,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5752,11 +5817,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5787,8 +5852,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5844,11 +5909,11 @@ export namespace migrationcenter_v1 { patch( params: Params$Resource$Projects$Locations$Groups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Groups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Groups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5877,7 +5942,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5930,11 +5998,11 @@ export namespace migrationcenter_v1 { removeAssets( params: Params$Resource$Projects$Locations$Groups$Removeassets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssets( params?: Params$Resource$Projects$Locations$Groups$Removeassets, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssets( params: Params$Resource$Projects$Locations$Groups$Removeassets, options: StreamMethodOptions | BodyResponseCallback, @@ -5963,7 +6031,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Removeassets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6137,11 +6208,11 @@ export namespace migrationcenter_v1 { create( params: Params$Resource$Projects$Locations$Importjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Importjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Importjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6170,7 +6241,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6226,11 +6300,11 @@ export namespace migrationcenter_v1 { delete( params: Params$Resource$Projects$Locations$Importjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Importjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Importjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6259,7 +6333,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6312,11 +6389,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Importjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Importjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Importjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6345,7 +6422,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6398,11 +6478,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Importjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Importjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Importjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6435,8 +6515,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6492,11 +6572,11 @@ export namespace migrationcenter_v1 { patch( params: Params$Resource$Projects$Locations$Importjobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Importjobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Importjobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6525,7 +6605,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6578,11 +6661,11 @@ export namespace migrationcenter_v1 { run( params: Params$Resource$Projects$Locations$Importjobs$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Importjobs$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Importjobs$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -6611,7 +6694,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6664,11 +6750,11 @@ export namespace migrationcenter_v1 { validate( params: Params$Resource$Projects$Locations$Importjobs$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Projects$Locations$Importjobs$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validate( params: Params$Resource$Projects$Locations$Importjobs$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -6697,7 +6783,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6878,11 +6967,11 @@ export namespace migrationcenter_v1 { create( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6911,7 +7000,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6968,11 +7060,11 @@ export namespace migrationcenter_v1 { delete( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7001,7 +7093,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7055,11 +7150,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7088,7 +7183,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7142,11 +7240,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7181,8 +7279,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Importdatafiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7308,11 +7406,11 @@ export namespace migrationcenter_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7341,7 +7439,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7394,11 +7495,11 @@ export namespace migrationcenter_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7427,7 +7528,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7480,11 +7584,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7513,7 +7617,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7566,11 +7673,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7603,8 +7710,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7713,11 +7820,11 @@ export namespace migrationcenter_v1 { create( params: Params$Resource$Projects$Locations$Preferencesets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Preferencesets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Preferencesets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7746,7 +7853,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Preferencesets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7802,11 +7912,11 @@ export namespace migrationcenter_v1 { delete( params: Params$Resource$Projects$Locations$Preferencesets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Preferencesets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Preferencesets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7835,7 +7945,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Preferencesets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7888,11 +8001,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Preferencesets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Preferencesets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Preferencesets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7921,7 +8034,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Preferencesets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7974,11 +8090,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Preferencesets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Preferencesets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Preferencesets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8013,8 +8129,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Preferencesets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8070,11 +8186,11 @@ export namespace migrationcenter_v1 { patch( params: Params$Resource$Projects$Locations$Preferencesets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Preferencesets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Preferencesets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8103,7 +8219,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Preferencesets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8241,11 +8360,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Relations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Relations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Relations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8274,7 +8393,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Relations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8327,11 +8449,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Relations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Relations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Relations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8364,8 +8486,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Relations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8463,11 +8585,11 @@ export namespace migrationcenter_v1 { create( params: Params$Resource$Projects$Locations$Reportconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reportconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reportconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8496,7 +8618,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8552,11 +8677,11 @@ export namespace migrationcenter_v1 { delete( params: Params$Resource$Projects$Locations$Reportconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reportconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reportconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8585,7 +8710,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8638,11 +8766,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Reportconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reportconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Reportconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8671,7 +8799,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8724,11 +8855,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Reportconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reportconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reportconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8763,8 +8894,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8893,11 +9024,11 @@ export namespace migrationcenter_v1 { create( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reportconfigs$Reports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8926,7 +9057,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Reports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8983,11 +9117,11 @@ export namespace migrationcenter_v1 { delete( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reportconfigs$Reports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9016,7 +9150,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Reports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9070,11 +9207,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reportconfigs$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9103,7 +9240,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9157,11 +9297,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reportconfigs$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9192,8 +9332,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9331,11 +9471,11 @@ export namespace migrationcenter_v1 { create( params: Params$Resource$Projects$Locations$Sources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9364,7 +9504,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9420,11 +9563,11 @@ export namespace migrationcenter_v1 { delete( params: Params$Resource$Projects$Locations$Sources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9453,7 +9596,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9506,11 +9652,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Sources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9539,7 +9685,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9592,11 +9741,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Sources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9627,8 +9776,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9684,11 +9833,11 @@ export namespace migrationcenter_v1 { patch( params: Params$Resource$Projects$Locations$Sources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Sources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Sources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9717,7 +9866,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9859,11 +10011,11 @@ export namespace migrationcenter_v1 { get( params: Params$Resource$Projects$Locations$Sources$Errorframes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Errorframes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Errorframes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9892,7 +10044,10 @@ export namespace migrationcenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Errorframes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9946,11 +10101,11 @@ export namespace migrationcenter_v1 { list( params: Params$Resource$Projects$Locations$Sources$Errorframes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Errorframes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Errorframes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9983,8 +10138,8 @@ export namespace migrationcenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Errorframes$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/migrationcenter/v1alpha1.ts b/src/apis/migrationcenter/v1alpha1.ts index 6d37e9ef53c..5f3f64592df 100644 --- a/src/apis/migrationcenter/v1alpha1.ts +++ b/src/apis/migrationcenter/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -4566,11 +4566,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4599,7 +4599,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4652,11 +4655,11 @@ export namespace migrationcenter_v1alpha1 { getSettings( params: Params$Resource$Projects$Locations$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$Projects$Locations$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params: Params$Resource$Projects$Locations$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -4685,7 +4688,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4738,11 +4744,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4775,8 +4781,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4832,11 +4838,11 @@ export namespace migrationcenter_v1alpha1 { updateSettings( params: Params$Resource$Projects$Locations$Updatesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params?: Params$Resource$Projects$Locations$Updatesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSettings( params: Params$Resource$Projects$Locations$Updatesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -4865,7 +4871,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Updatesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4983,11 +4992,11 @@ export namespace migrationcenter_v1alpha1 { aggregateValues( params: Params$Resource$Projects$Locations$Assets$Aggregatevalues, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; aggregateValues( params?: Params$Resource$Projects$Locations$Assets$Aggregatevalues, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; aggregateValues( params: Params$Resource$Projects$Locations$Assets$Aggregatevalues, options: StreamMethodOptions | BodyResponseCallback, @@ -5022,8 +5031,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Aggregatevalues; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5081,11 +5090,11 @@ export namespace migrationcenter_v1alpha1 { batchDelete( params: Params$Resource$Projects$Locations$Assets$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Projects$Locations$Assets$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Projects$Locations$Assets$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -5114,7 +5123,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5170,11 +5182,11 @@ export namespace migrationcenter_v1alpha1 { batchUpdate( params: Params$Resource$Projects$Locations$Assets$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Locations$Assets$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Projects$Locations$Assets$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -5209,8 +5221,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5266,11 +5278,11 @@ export namespace migrationcenter_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Assets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Assets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Assets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5299,7 +5311,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5352,11 +5367,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Assets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Assets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Assets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5385,7 +5400,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5438,11 +5456,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5473,8 +5491,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5530,11 +5548,11 @@ export namespace migrationcenter_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Assets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Assets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Assets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5563,7 +5581,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5616,11 +5637,11 @@ export namespace migrationcenter_v1alpha1 { reportAssetFrames( params: Params$Resource$Projects$Locations$Assets$Reportassetframes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportAssetFrames( params?: Params$Resource$Projects$Locations$Assets$Reportassetframes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportAssetFrames( params: Params$Resource$Projects$Locations$Assets$Reportassetframes, options: StreamMethodOptions | BodyResponseCallback, @@ -5655,8 +5676,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assets$Reportassetframes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5845,11 +5866,11 @@ export namespace migrationcenter_v1alpha1 { create( params: Params$Resource$Projects$Locations$Assetsexportjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Assetsexportjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Assetsexportjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5878,7 +5899,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assetsexportjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5935,11 +5959,11 @@ export namespace migrationcenter_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Assetsexportjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Assetsexportjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Assetsexportjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5968,7 +5992,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assetsexportjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6022,11 +6049,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Assetsexportjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Assetsexportjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Assetsexportjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6055,7 +6082,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assetsexportjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6108,11 +6138,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Assetsexportjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Assetsexportjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Assetsexportjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6147,8 +6177,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assetsexportjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6206,11 +6236,11 @@ export namespace migrationcenter_v1alpha1 { run( params: Params$Resource$Projects$Locations$Assetsexportjobs$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Assetsexportjobs$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Assetsexportjobs$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -6239,7 +6269,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Assetsexportjobs$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6364,11 +6397,11 @@ export namespace migrationcenter_v1alpha1 { create( params: Params$Resource$Projects$Locations$Discoveryclients$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Discoveryclients$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Discoveryclients$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6397,7 +6430,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6454,11 +6490,11 @@ export namespace migrationcenter_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Discoveryclients$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Discoveryclients$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Discoveryclients$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6487,7 +6523,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6541,11 +6580,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Discoveryclients$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Discoveryclients$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Discoveryclients$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6574,7 +6613,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6627,11 +6669,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Discoveryclients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Discoveryclients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Discoveryclients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6666,8 +6708,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6725,11 +6767,11 @@ export namespace migrationcenter_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Discoveryclients$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Discoveryclients$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Discoveryclients$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6758,7 +6800,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6812,11 +6857,11 @@ export namespace migrationcenter_v1alpha1 { sendHeartbeat( params: Params$Resource$Projects$Locations$Discoveryclients$Sendheartbeat, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendHeartbeat( params?: Params$Resource$Projects$Locations$Discoveryclients$Sendheartbeat, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendHeartbeat( params: Params$Resource$Projects$Locations$Discoveryclients$Sendheartbeat, options: StreamMethodOptions | BodyResponseCallback, @@ -6845,7 +6890,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveryclients$Sendheartbeat; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7003,11 +7051,11 @@ export namespace migrationcenter_v1alpha1 { addAssets( params: Params$Resource$Projects$Locations$Groups$Addassets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addAssets( params?: Params$Resource$Projects$Locations$Groups$Addassets, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addAssets( params: Params$Resource$Projects$Locations$Groups$Addassets, options: StreamMethodOptions | BodyResponseCallback, @@ -7036,7 +7084,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Addassets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7092,11 +7143,11 @@ export namespace migrationcenter_v1alpha1 { create( params: Params$Resource$Projects$Locations$Groups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Groups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Groups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7125,7 +7176,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7181,11 +7235,11 @@ export namespace migrationcenter_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Groups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Groups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Groups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7214,7 +7268,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7267,11 +7324,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7300,7 +7357,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7353,11 +7413,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7388,8 +7448,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7445,11 +7505,11 @@ export namespace migrationcenter_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Groups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Groups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Groups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7478,7 +7538,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7531,11 +7594,11 @@ export namespace migrationcenter_v1alpha1 { removeAssets( params: Params$Resource$Projects$Locations$Groups$Removeassets, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeAssets( params?: Params$Resource$Projects$Locations$Groups$Removeassets, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeAssets( params: Params$Resource$Projects$Locations$Groups$Removeassets, options: StreamMethodOptions | BodyResponseCallback, @@ -7564,7 +7627,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Removeassets; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7738,11 +7804,11 @@ export namespace migrationcenter_v1alpha1 { create( params: Params$Resource$Projects$Locations$Importjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Importjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Importjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7771,7 +7837,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7827,11 +7896,11 @@ export namespace migrationcenter_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Importjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Importjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Importjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7860,7 +7929,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7913,11 +7985,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Importjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Importjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Importjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7946,7 +8018,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7999,11 +8074,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Importjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Importjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Importjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8036,8 +8111,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8093,11 +8168,11 @@ export namespace migrationcenter_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Importjobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Importjobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Importjobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8126,7 +8201,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8179,11 +8257,11 @@ export namespace migrationcenter_v1alpha1 { run( params: Params$Resource$Projects$Locations$Importjobs$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Importjobs$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Importjobs$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -8212,7 +8290,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8268,11 +8349,11 @@ export namespace migrationcenter_v1alpha1 { validate( params: Params$Resource$Projects$Locations$Importjobs$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Projects$Locations$Importjobs$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validate( params: Params$Resource$Projects$Locations$Importjobs$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -8301,7 +8382,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8482,11 +8566,11 @@ export namespace migrationcenter_v1alpha1 { create( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8515,7 +8599,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8572,11 +8659,11 @@ export namespace migrationcenter_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8605,7 +8692,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8659,11 +8749,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8692,7 +8782,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Importdatafiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8746,11 +8839,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Importjobs$Importdatafiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8785,8 +8878,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Importjobs$Importdatafiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8912,11 +9005,11 @@ export namespace migrationcenter_v1alpha1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -8945,7 +9038,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9001,11 +9097,11 @@ export namespace migrationcenter_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9034,7 +9130,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9087,11 +9186,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9120,7 +9219,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9173,11 +9275,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9210,8 +9312,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9320,11 +9422,11 @@ export namespace migrationcenter_v1alpha1 { create( params: Params$Resource$Projects$Locations$Preferencesets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Preferencesets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Preferencesets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9353,7 +9455,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Preferencesets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9409,11 +9514,11 @@ export namespace migrationcenter_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Preferencesets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Preferencesets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Preferencesets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9442,7 +9547,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Preferencesets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9495,11 +9603,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Preferencesets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Preferencesets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Preferencesets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9528,7 +9636,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Preferencesets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9581,11 +9692,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Preferencesets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Preferencesets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Preferencesets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9620,8 +9731,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Preferencesets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9677,11 +9788,11 @@ export namespace migrationcenter_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Preferencesets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Preferencesets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Preferencesets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9710,7 +9821,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Preferencesets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9848,11 +9962,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Relations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Relations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Relations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9881,7 +9995,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Relations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9934,11 +10051,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Relations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Relations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Relations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9971,8 +10088,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Relations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10070,11 +10187,11 @@ export namespace migrationcenter_v1alpha1 { create( params: Params$Resource$Projects$Locations$Reportconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reportconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reportconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10103,7 +10220,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10159,11 +10279,11 @@ export namespace migrationcenter_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Reportconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reportconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reportconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10192,7 +10312,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10245,11 +10368,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Reportconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reportconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Reportconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10278,7 +10401,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10331,11 +10457,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Reportconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reportconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reportconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10370,8 +10496,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10500,11 +10626,11 @@ export namespace migrationcenter_v1alpha1 { create( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Reportconfigs$Reports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10533,7 +10659,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Reports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10590,11 +10719,11 @@ export namespace migrationcenter_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Reportconfigs$Reports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10623,7 +10752,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Reports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10677,11 +10809,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Reportconfigs$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10710,7 +10842,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10764,11 +10899,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reportconfigs$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reportconfigs$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10799,8 +10934,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reportconfigs$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10938,11 +11073,11 @@ export namespace migrationcenter_v1alpha1 { create( params: Params$Resource$Projects$Locations$Sources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10971,7 +11106,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11027,11 +11165,11 @@ export namespace migrationcenter_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Sources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11060,7 +11198,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11113,11 +11254,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Sources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11146,7 +11287,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11199,11 +11343,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Sources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11234,8 +11378,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11291,11 +11435,11 @@ export namespace migrationcenter_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Sources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Sources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Sources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11324,7 +11468,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11466,11 +11613,11 @@ export namespace migrationcenter_v1alpha1 { get( params: Params$Resource$Projects$Locations$Sources$Errorframes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Errorframes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Errorframes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11499,7 +11646,10 @@ export namespace migrationcenter_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Errorframes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11553,11 +11703,11 @@ export namespace migrationcenter_v1alpha1 { list( params: Params$Resource$Projects$Locations$Sources$Errorframes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Errorframes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Errorframes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11590,8 +11740,8 @@ export namespace migrationcenter_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Errorframes$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/ml/index.ts b/src/apis/ml/index.ts index 2f9c184f883..7498347eeea 100644 --- a/src/apis/ml/index.ts +++ b/src/apis/ml/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/ml/package.json b/src/apis/ml/package.json index 3e628b54445..3db61e97e02 100644 --- a/src/apis/ml/package.json +++ b/src/apis/ml/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/ml/v1.ts b/src/apis/ml/v1.ts index 387296eca7d..07b0a2f8f6f 100644 --- a/src/apis/ml/v1.ts +++ b/src/apis/ml/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1729,11 +1729,11 @@ export namespace ml_v1 { explain( params: Params$Resource$Projects$Explain, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; explain( params?: Params$Resource$Projects$Explain, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; explain( params: Params$Resource$Projects$Explain, options: StreamMethodOptions | BodyResponseCallback, @@ -1764,8 +1764,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Explain; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1819,11 +1819,13 @@ export namespace ml_v1 { getConfig( params: Params$Resource$Projects$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Projects$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1858,8 +1860,10 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1916,11 +1920,11 @@ export namespace ml_v1 { predict( params: Params$Resource$Projects$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; predict( params: Params$Resource$Projects$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -1951,8 +1955,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2043,11 +2047,11 @@ export namespace ml_v1 { cancel( params: Params$Resource$Projects$Jobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Jobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Jobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2080,8 +2084,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2133,11 +2137,11 @@ export namespace ml_v1 { create( params: Params$Resource$Projects$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2170,8 +2174,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2223,11 +2227,11 @@ export namespace ml_v1 { get( params: Params$Resource$Projects$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2260,8 +2264,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2313,11 +2317,11 @@ export namespace ml_v1 { getIamPolicy( params: Params$Resource$Projects$Jobs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Jobs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Jobs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2350,8 +2354,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2406,11 +2410,13 @@ export namespace ml_v1 { list( params: Params$Resource$Projects$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2445,8 +2451,10 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2500,11 +2508,11 @@ export namespace ml_v1 { patch( params: Params$Resource$Projects$Jobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Jobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Jobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2537,8 +2545,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2590,11 +2598,11 @@ export namespace ml_v1 { setIamPolicy( params: Params$Resource$Projects$Jobs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Jobs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Jobs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2627,8 +2635,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2683,11 +2691,13 @@ export namespace ml_v1 { testIamPermissions( params: Params$Resource$Projects$Jobs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Jobs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Jobs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2722,8 +2732,10 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Jobs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2895,11 +2907,11 @@ export namespace ml_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2932,8 +2944,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2985,11 +2997,13 @@ export namespace ml_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3024,8 +3038,10 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3112,11 +3128,11 @@ export namespace ml_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3149,8 +3165,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3202,11 +3218,11 @@ export namespace ml_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3241,8 +3257,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3322,11 +3338,11 @@ export namespace ml_v1 { create( params: Params$Resource$Projects$Locations$Studies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Studies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Studies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3359,8 +3375,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3415,11 +3431,11 @@ export namespace ml_v1 { delete( params: Params$Resource$Projects$Locations$Studies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Studies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Studies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3452,8 +3468,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3505,11 +3521,11 @@ export namespace ml_v1 { get( params: Params$Resource$Projects$Locations$Studies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Studies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Studies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3542,8 +3558,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3595,11 +3611,13 @@ export namespace ml_v1 { list( params: Params$Resource$Projects$Locations$Studies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Studies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Studies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3634,8 +3652,10 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3737,11 +3757,11 @@ export namespace ml_v1 { addMeasurement( params: Params$Resource$Projects$Locations$Studies$Trials$Addmeasurement, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addMeasurement( params?: Params$Resource$Projects$Locations$Studies$Trials$Addmeasurement, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addMeasurement( params: Params$Resource$Projects$Locations$Studies$Trials$Addmeasurement, options: StreamMethodOptions | BodyResponseCallback, @@ -3776,8 +3796,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Addmeasurement; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3833,11 +3853,11 @@ export namespace ml_v1 { checkEarlyStoppingState( params: Params$Resource$Projects$Locations$Studies$Trials$Checkearlystoppingstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkEarlyStoppingState( params?: Params$Resource$Projects$Locations$Studies$Trials$Checkearlystoppingstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; checkEarlyStoppingState( params: Params$Resource$Projects$Locations$Studies$Trials$Checkearlystoppingstate, options: StreamMethodOptions | BodyResponseCallback, @@ -3872,8 +3892,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Checkearlystoppingstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3931,11 +3951,11 @@ export namespace ml_v1 { complete( params: Params$Resource$Projects$Locations$Studies$Trials$Complete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; complete( params?: Params$Resource$Projects$Locations$Studies$Trials$Complete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; complete( params: Params$Resource$Projects$Locations$Studies$Trials$Complete, options: StreamMethodOptions | BodyResponseCallback, @@ -3970,8 +3990,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Complete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4027,11 +4047,11 @@ export namespace ml_v1 { create( params: Params$Resource$Projects$Locations$Studies$Trials$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Studies$Trials$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Studies$Trials$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4064,8 +4084,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4120,11 +4140,11 @@ export namespace ml_v1 { delete( params: Params$Resource$Projects$Locations$Studies$Trials$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Studies$Trials$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Studies$Trials$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4157,8 +4177,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4210,11 +4230,11 @@ export namespace ml_v1 { get( params: Params$Resource$Projects$Locations$Studies$Trials$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Studies$Trials$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Studies$Trials$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4247,8 +4267,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4300,11 +4320,13 @@ export namespace ml_v1 { list( params: Params$Resource$Projects$Locations$Studies$Trials$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Studies$Trials$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Studies$Trials$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4339,8 +4361,10 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4397,11 +4421,13 @@ export namespace ml_v1 { listOptimalTrials( params: Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listOptimalTrials( params?: Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listOptimalTrials( params: Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials, options: StreamMethodOptions | BodyResponseCallback, @@ -4436,8 +4462,10 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Listoptimaltrials; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4495,11 +4523,11 @@ export namespace ml_v1 { stop( params: Params$Resource$Projects$Locations$Studies$Trials$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Studies$Trials$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Studies$Trials$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -4532,8 +4560,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4585,11 +4613,11 @@ export namespace ml_v1 { suggest( params: Params$Resource$Projects$Locations$Studies$Trials$Suggest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suggest( params?: Params$Resource$Projects$Locations$Studies$Trials$Suggest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suggest( params: Params$Resource$Projects$Locations$Studies$Trials$Suggest, options: StreamMethodOptions | BodyResponseCallback, @@ -4624,8 +4652,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Studies$Trials$Suggest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4798,11 +4826,11 @@ export namespace ml_v1 { create( params: Params$Resource$Projects$Models$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Models$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Models$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4835,8 +4863,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4891,11 +4919,11 @@ export namespace ml_v1 { delete( params: Params$Resource$Projects$Models$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Models$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Models$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4930,8 +4958,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4985,11 +5013,11 @@ export namespace ml_v1 { get( params: Params$Resource$Projects$Models$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Models$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Models$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5022,8 +5050,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5075,11 +5103,11 @@ export namespace ml_v1 { getIamPolicy( params: Params$Resource$Projects$Models$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Models$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Models$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5112,8 +5140,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5168,11 +5196,13 @@ export namespace ml_v1 { list( params: Params$Resource$Projects$Models$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Models$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Models$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5207,8 +5237,10 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5265,11 +5297,11 @@ export namespace ml_v1 { patch( params: Params$Resource$Projects$Models$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Models$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Models$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5304,8 +5336,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5359,11 +5391,11 @@ export namespace ml_v1 { setIamPolicy( params: Params$Resource$Projects$Models$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Models$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Models$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5396,8 +5428,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5452,11 +5484,13 @@ export namespace ml_v1 { testIamPermissions( params: Params$Resource$Projects$Models$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Models$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Models$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5491,8 +5525,10 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5653,11 +5689,11 @@ export namespace ml_v1 { create( params: Params$Resource$Projects$Models$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Models$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Models$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5692,8 +5728,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5750,11 +5786,11 @@ export namespace ml_v1 { delete( params: Params$Resource$Projects$Models$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Models$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Models$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5789,8 +5825,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5844,11 +5880,11 @@ export namespace ml_v1 { get( params: Params$Resource$Projects$Models$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Models$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Models$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5881,8 +5917,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5934,11 +5970,13 @@ export namespace ml_v1 { list( params: Params$Resource$Projects$Models$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Models$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Models$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5973,8 +6011,10 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6031,11 +6071,11 @@ export namespace ml_v1 { patch( params: Params$Resource$Projects$Models$Versions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Models$Versions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Models$Versions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6070,8 +6110,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Versions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6125,11 +6165,11 @@ export namespace ml_v1 { setDefault( params: Params$Resource$Projects$Models$Versions$Setdefault, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDefault( params?: Params$Resource$Projects$Models$Versions$Setdefault, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDefault( params: Params$Resource$Projects$Models$Versions$Setdefault, options: StreamMethodOptions | BodyResponseCallback, @@ -6164,8 +6204,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Models$Versions$Setdefault; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6301,11 +6341,11 @@ export namespace ml_v1 { cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6338,8 +6378,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6391,11 +6431,11 @@ export namespace ml_v1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6430,8 +6470,8 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6485,11 +6525,13 @@ export namespace ml_v1 { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6524,8 +6566,10 @@ export namespace ml_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/monitoring/index.ts b/src/apis/monitoring/index.ts index 8e9c059544f..1c4b57bdc76 100644 --- a/src/apis/monitoring/index.ts +++ b/src/apis/monitoring/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/monitoring/package.json b/src/apis/monitoring/package.json index 2abc51763ea..d8e1753589c 100644 --- a/src/apis/monitoring/package.json +++ b/src/apis/monitoring/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/monitoring/v1.ts b/src/apis/monitoring/v1.ts index 60245936618..7cc18c02484 100644 --- a/src/apis/monitoring/v1.ts +++ b/src/apis/monitoring/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1092,11 +1092,11 @@ export namespace monitoring_v1 { get( params: Params$Resource$Locations$Global$Metricsscopes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Global$Metricsscopes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Global$Metricsscopes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1125,7 +1125,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Global$Metricsscopes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1225,11 +1225,11 @@ export namespace monitoring_v1 { listMetricsScopesByMonitoredProject( params: Params$Resource$Locations$Global$Metricsscopes$Listmetricsscopesbymonitoredproject, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listMetricsScopesByMonitoredProject( params?: Params$Resource$Locations$Global$Metricsscopes$Listmetricsscopesbymonitoredproject, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listMetricsScopesByMonitoredProject( params: Params$Resource$Locations$Global$Metricsscopes$Listmetricsscopesbymonitoredproject, options: StreamMethodOptions | BodyResponseCallback, @@ -1264,8 +1264,8 @@ export namespace monitoring_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Global$Metricsscopes$Listmetricsscopesbymonitoredproject; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1403,11 +1403,11 @@ export namespace monitoring_v1 { create( params: Params$Resource$Locations$Global$Metricsscopes$Projects$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Locations$Global$Metricsscopes$Projects$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Locations$Global$Metricsscopes$Projects$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1436,7 +1436,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Global$Metricsscopes$Projects$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1541,11 +1541,11 @@ export namespace monitoring_v1 { delete( params: Params$Resource$Locations$Global$Metricsscopes$Projects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Global$Metricsscopes$Projects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Global$Metricsscopes$Projects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1574,7 +1574,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Global$Metricsscopes$Projects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1703,11 +1703,11 @@ export namespace monitoring_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1736,7 +1736,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1883,11 +1883,11 @@ export namespace monitoring_v1 { create( params: Params$Resource$Projects$Dashboards$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Dashboards$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Dashboards$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1916,7 +1916,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Dashboards$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2014,11 +2014,11 @@ export namespace monitoring_v1 { delete( params: Params$Resource$Projects$Dashboards$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Dashboards$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Dashboards$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2047,7 +2047,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Dashboards$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2152,11 +2152,11 @@ export namespace monitoring_v1 { get( params: Params$Resource$Projects$Dashboards$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Dashboards$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Dashboards$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2185,7 +2185,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Dashboards$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2287,11 +2287,11 @@ export namespace monitoring_v1 { list( params: Params$Resource$Projects$Dashboards$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Dashboards$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Dashboards$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2324,8 +2324,8 @@ export namespace monitoring_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Dashboards$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2451,11 +2451,11 @@ export namespace monitoring_v1 { patch( params: Params$Resource$Projects$Dashboards$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Dashboards$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Dashboards$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2484,7 +2484,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Dashboards$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2699,11 +2699,11 @@ export namespace monitoring_v1 { query( params: Params$Resource$Projects$Location$Prometheus$Api$V1$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Projects$Location$Prometheus$Api$V1$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Projects$Location$Prometheus$Api$V1$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -2732,7 +2732,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Location$Prometheus$Api$V1$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2849,11 +2849,11 @@ export namespace monitoring_v1 { query_range( params: Params$Resource$Projects$Location$Prometheus$Api$V1$Query_range, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query_range( params?: Params$Resource$Projects$Location$Prometheus$Api$V1$Query_range, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query_range( params: Params$Resource$Projects$Location$Prometheus$Api$V1$Query_range, options: StreamMethodOptions | BodyResponseCallback, @@ -2882,7 +2882,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Location$Prometheus$Api$V1$Query_range; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2996,11 +2996,11 @@ export namespace monitoring_v1 { series( params: Params$Resource$Projects$Location$Prometheus$Api$V1$Series, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; series( params?: Params$Resource$Projects$Location$Prometheus$Api$V1$Series, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; series( params: Params$Resource$Projects$Location$Prometheus$Api$V1$Series, options: StreamMethodOptions | BodyResponseCallback, @@ -3029,7 +3029,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Location$Prometheus$Api$V1$Series; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3200,11 +3200,11 @@ export namespace monitoring_v1 { values( params: Params$Resource$Projects$Location$Prometheus$Api$V1$Label$Values, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; values( params?: Params$Resource$Projects$Location$Prometheus$Api$V1$Label$Values, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; values( params: Params$Resource$Projects$Location$Prometheus$Api$V1$Label$Values, options: StreamMethodOptions | BodyResponseCallback, @@ -3233,7 +3233,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Location$Prometheus$Api$V1$Label$Values; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3378,11 +3378,11 @@ export namespace monitoring_v1 { list( params: Params$Resource$Projects$Location$Prometheus$Api$V1$Metadata$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Location$Prometheus$Api$V1$Metadata$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Location$Prometheus$Api$V1$Metadata$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3411,7 +3411,7 @@ export namespace monitoring_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Location$Prometheus$Api$V1$Metadata$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/monitoring/v3.ts b/src/apis/monitoring/v3.ts index de8513574b8..3c5e213630d 100644 --- a/src/apis/monitoring/v3.ts +++ b/src/apis/monitoring/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2538,11 +2538,11 @@ export namespace monitoring_v3 { list( params: Params$Resource$Folders$Timeseries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Timeseries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Timeseries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2575,8 +2575,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Timeseries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2715,11 +2715,11 @@ export namespace monitoring_v3 { list( params: Params$Resource$Organizations$Timeseries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Timeseries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Timeseries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2752,8 +2752,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Timeseries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2920,11 +2920,11 @@ export namespace monitoring_v3 { create( params: Params$Resource$Projects$Alertpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Alertpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Alertpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2953,7 +2953,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Alertpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3008,11 +3011,11 @@ export namespace monitoring_v3 { delete( params: Params$Resource$Projects$Alertpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Alertpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Alertpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3041,7 +3044,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Alertpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3093,11 +3099,11 @@ export namespace monitoring_v3 { get( params: Params$Resource$Projects$Alertpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Alertpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Alertpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3126,7 +3132,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Alertpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3178,11 +3187,11 @@ export namespace monitoring_v3 { list( params: Params$Resource$Projects$Alertpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Alertpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Alertpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3217,8 +3226,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Alertpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3273,11 +3282,11 @@ export namespace monitoring_v3 { patch( params: Params$Resource$Projects$Alertpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Alertpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Alertpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3306,7 +3315,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Alertpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3431,11 +3443,13 @@ export namespace monitoring_v3 { create( params: Params$Resource$Projects$Collectdtimeseries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Collectdtimeseries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Collectdtimeseries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3470,8 +3484,10 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Collectdtimeseries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3550,11 +3566,11 @@ export namespace monitoring_v3 { create( params: Params$Resource$Projects$Groups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Groups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Groups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3583,7 +3599,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3635,11 +3654,11 @@ export namespace monitoring_v3 { delete( params: Params$Resource$Projects$Groups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Groups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Groups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3668,7 +3687,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3720,11 +3742,11 @@ export namespace monitoring_v3 { get( params: Params$Resource$Projects$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3753,7 +3775,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3805,11 +3830,11 @@ export namespace monitoring_v3 { list( params: Params$Resource$Projects$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3840,8 +3865,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3893,11 +3918,11 @@ export namespace monitoring_v3 { update( params: Params$Resource$Projects$Groups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Groups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Groups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3926,7 +3951,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4063,11 +4091,11 @@ export namespace monitoring_v3 { list( params: Params$Resource$Projects$Groups$Members$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Groups$Members$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Groups$Members$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4100,8 +4128,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Groups$Members$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4191,11 +4219,11 @@ export namespace monitoring_v3 { create( params: Params$Resource$Projects$Metricdescriptors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Metricdescriptors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Metricdescriptors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4224,7 +4252,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Metricdescriptors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4279,11 +4310,11 @@ export namespace monitoring_v3 { delete( params: Params$Resource$Projects$Metricdescriptors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Metricdescriptors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Metricdescriptors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4312,7 +4343,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Metricdescriptors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4364,11 +4398,11 @@ export namespace monitoring_v3 { get( params: Params$Resource$Projects$Metricdescriptors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Metricdescriptors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Metricdescriptors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4397,7 +4431,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Metricdescriptors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4449,11 +4486,11 @@ export namespace monitoring_v3 { list( params: Params$Resource$Projects$Metricdescriptors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Metricdescriptors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Metricdescriptors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4488,8 +4525,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Metricdescriptors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4603,11 +4640,11 @@ export namespace monitoring_v3 { get( params: Params$Resource$Projects$Monitoredresourcedescriptors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Monitoredresourcedescriptors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Monitoredresourcedescriptors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4642,8 +4679,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Monitoredresourcedescriptors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4696,11 +4733,13 @@ export namespace monitoring_v3 { list( params: Params$Resource$Projects$Monitoredresourcedescriptors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Monitoredresourcedescriptors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Monitoredresourcedescriptors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4735,8 +4774,10 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Monitoredresourcedescriptors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4828,11 +4869,11 @@ export namespace monitoring_v3 { get( params: Params$Resource$Projects$Notificationchanneldescriptors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Notificationchanneldescriptors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Notificationchanneldescriptors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4867,8 +4908,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationchanneldescriptors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4923,11 +4964,13 @@ export namespace monitoring_v3 { list( params: Params$Resource$Projects$Notificationchanneldescriptors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Notificationchanneldescriptors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Notificationchanneldescriptors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4962,8 +5005,10 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationchanneldescriptors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5050,11 +5095,11 @@ export namespace monitoring_v3 { create( params: Params$Resource$Projects$Notificationchannels$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Notificationchannels$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Notificationchannels$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5085,8 +5130,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationchannels$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5141,11 +5186,11 @@ export namespace monitoring_v3 { delete( params: Params$Resource$Projects$Notificationchannels$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Notificationchannels$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Notificationchannels$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5174,7 +5219,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationchannels$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5226,11 +5274,11 @@ export namespace monitoring_v3 { get( params: Params$Resource$Projects$Notificationchannels$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Notificationchannels$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Notificationchannels$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5261,8 +5309,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationchannels$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5314,11 +5362,13 @@ export namespace monitoring_v3 { getVerificationCode( params: Params$Resource$Projects$Notificationchannels$Getverificationcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVerificationCode( params?: Params$Resource$Projects$Notificationchannels$Getverificationcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getVerificationCode( params: Params$Resource$Projects$Notificationchannels$Getverificationcode, options: StreamMethodOptions | BodyResponseCallback, @@ -5353,8 +5403,10 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationchannels$Getverificationcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5412,11 +5464,13 @@ export namespace monitoring_v3 { list( params: Params$Resource$Projects$Notificationchannels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Notificationchannels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Notificationchannels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5451,8 +5505,10 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationchannels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5509,11 +5565,11 @@ export namespace monitoring_v3 { patch( params: Params$Resource$Projects$Notificationchannels$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Notificationchannels$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Notificationchannels$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5544,8 +5600,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationchannels$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5597,11 +5653,11 @@ export namespace monitoring_v3 { sendVerificationCode( params: Params$Resource$Projects$Notificationchannels$Sendverificationcode, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sendVerificationCode( params?: Params$Resource$Projects$Notificationchannels$Sendverificationcode, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sendVerificationCode( params: Params$Resource$Projects$Notificationchannels$Sendverificationcode, options: StreamMethodOptions | BodyResponseCallback, @@ -5630,7 +5686,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationchannels$Sendverificationcode; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5686,11 +5745,11 @@ export namespace monitoring_v3 { verify( params: Params$Resource$Projects$Notificationchannels$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Projects$Notificationchannels$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Projects$Notificationchannels$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -5721,8 +5780,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationchannels$Verify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5887,11 +5946,11 @@ export namespace monitoring_v3 { create( params: Params$Resource$Projects$Snoozes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Snoozes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Snoozes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5920,7 +5979,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snoozes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5975,11 +6037,11 @@ export namespace monitoring_v3 { get( params: Params$Resource$Projects$Snoozes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Snoozes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Snoozes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6008,7 +6070,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snoozes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6060,11 +6125,11 @@ export namespace monitoring_v3 { list( params: Params$Resource$Projects$Snoozes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Snoozes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Snoozes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6095,8 +6160,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snoozes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6151,11 +6216,11 @@ export namespace monitoring_v3 { patch( params: Params$Resource$Projects$Snoozes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Snoozes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Snoozes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6184,7 +6249,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snoozes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6298,11 +6366,11 @@ export namespace monitoring_v3 { create( params: Params$Resource$Projects$Timeseries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Timeseries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Timeseries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6331,7 +6399,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Timeseries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6386,11 +6457,11 @@ export namespace monitoring_v3 { createService( params: Params$Resource$Projects$Timeseries$Createservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createService( params?: Params$Resource$Projects$Timeseries$Createservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createService( params: Params$Resource$Projects$Timeseries$Createservice, options: StreamMethodOptions | BodyResponseCallback, @@ -6419,7 +6490,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Timeseries$Createservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6474,11 +6548,11 @@ export namespace monitoring_v3 { list( params: Params$Resource$Projects$Timeseries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Timeseries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Timeseries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6511,8 +6585,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Timeseries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6567,11 +6641,11 @@ export namespace monitoring_v3 { query( params: Params$Resource$Projects$Timeseries$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Projects$Timeseries$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Projects$Timeseries$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -6604,8 +6678,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Timeseries$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6771,11 +6845,11 @@ export namespace monitoring_v3 { create( params: Params$Resource$Projects$Uptimecheckconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Uptimecheckconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Uptimecheckconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6806,8 +6880,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Uptimecheckconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6862,11 +6936,11 @@ export namespace monitoring_v3 { delete( params: Params$Resource$Projects$Uptimecheckconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Uptimecheckconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Uptimecheckconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6895,7 +6969,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Uptimecheckconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6947,11 +7024,11 @@ export namespace monitoring_v3 { get( params: Params$Resource$Projects$Uptimecheckconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Uptimecheckconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Uptimecheckconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6982,8 +7059,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Uptimecheckconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7035,11 +7112,11 @@ export namespace monitoring_v3 { list( params: Params$Resource$Projects$Uptimecheckconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Uptimecheckconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Uptimecheckconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7074,8 +7151,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Uptimecheckconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7132,11 +7209,11 @@ export namespace monitoring_v3 { patch( params: Params$Resource$Projects$Uptimecheckconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Uptimecheckconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Uptimecheckconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7167,8 +7244,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Uptimecheckconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7292,11 +7369,11 @@ export namespace monitoring_v3 { create( params: Params$Resource$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7325,7 +7402,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7379,11 +7459,11 @@ export namespace monitoring_v3 { delete( params: Params$Resource$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7412,7 +7492,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7463,11 +7546,11 @@ export namespace monitoring_v3 { get( params: Params$Resource$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7496,7 +7579,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7547,11 +7633,11 @@ export namespace monitoring_v3 { list( params: Params$Resource$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7584,8 +7670,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7639,11 +7725,11 @@ export namespace monitoring_v3 { patch( params: Params$Resource$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7672,7 +7758,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7791,11 +7880,11 @@ export namespace monitoring_v3 { create( params: Params$Resource$Services$Servicelevelobjectives$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Servicelevelobjectives$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Servicelevelobjectives$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7828,8 +7917,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Servicelevelobjectives$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7884,11 +7973,11 @@ export namespace monitoring_v3 { delete( params: Params$Resource$Services$Servicelevelobjectives$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Services$Servicelevelobjectives$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Services$Servicelevelobjectives$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7917,7 +8006,10 @@ export namespace monitoring_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Servicelevelobjectives$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7969,11 +8061,11 @@ export namespace monitoring_v3 { get( params: Params$Resource$Services$Servicelevelobjectives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Servicelevelobjectives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Servicelevelobjectives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8006,8 +8098,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Servicelevelobjectives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8059,11 +8151,13 @@ export namespace monitoring_v3 { list( params: Params$Resource$Services$Servicelevelobjectives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Servicelevelobjectives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Services$Servicelevelobjectives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8098,8 +8192,10 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Servicelevelobjectives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8156,11 +8252,11 @@ export namespace monitoring_v3 { patch( params: Params$Resource$Services$Servicelevelobjectives$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Services$Servicelevelobjectives$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Services$Servicelevelobjectives$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8193,8 +8289,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Servicelevelobjectives$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8327,11 +8423,11 @@ export namespace monitoring_v3 { list( params: Params$Resource$Uptimecheckips$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Uptimecheckips$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Uptimecheckips$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8366,8 +8462,8 @@ export namespace monitoring_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Uptimecheckips$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/mybusinessaccountmanagement/index.ts b/src/apis/mybusinessaccountmanagement/index.ts index c332a50ed14..518edbf0f36 100644 --- a/src/apis/mybusinessaccountmanagement/index.ts +++ b/src/apis/mybusinessaccountmanagement/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/mybusinessaccountmanagement/package.json b/src/apis/mybusinessaccountmanagement/package.json index 8ce408144b0..def27290f30 100644 --- a/src/apis/mybusinessaccountmanagement/package.json +++ b/src/apis/mybusinessaccountmanagement/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/mybusinessaccountmanagement/v1.ts b/src/apis/mybusinessaccountmanagement/v1.ts index e841496076a..decf6a9f140 100644 --- a/src/apis/mybusinessaccountmanagement/v1.ts +++ b/src/apis/mybusinessaccountmanagement/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -383,11 +383,11 @@ export namespace mybusinessaccountmanagement_v1 { create( params: Params$Resource$Accounts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -416,7 +416,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -469,11 +472,11 @@ export namespace mybusinessaccountmanagement_v1 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -502,7 +505,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -555,11 +561,11 @@ export namespace mybusinessaccountmanagement_v1 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -592,8 +598,8 @@ export namespace mybusinessaccountmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -646,11 +652,11 @@ export namespace mybusinessaccountmanagement_v1 { patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -679,7 +685,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -789,11 +798,11 @@ export namespace mybusinessaccountmanagement_v1 { create( params: Params$Resource$Accounts$Admins$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Admins$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Admins$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -822,7 +831,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Admins$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -879,11 +891,11 @@ export namespace mybusinessaccountmanagement_v1 { delete( params: Params$Resource$Accounts$Admins$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Admins$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Admins$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -912,7 +924,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Admins$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -966,11 +981,11 @@ export namespace mybusinessaccountmanagement_v1 { list( params: Params$Resource$Accounts$Admins$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Admins$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Admins$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1005,8 +1020,8 @@ export namespace mybusinessaccountmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Admins$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1063,11 +1078,11 @@ export namespace mybusinessaccountmanagement_v1 { patch( params: Params$Resource$Accounts$Admins$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Accounts$Admins$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Accounts$Admins$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1096,7 +1111,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Admins$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1200,11 +1218,11 @@ export namespace mybusinessaccountmanagement_v1 { accept( params: Params$Resource$Accounts$Invitations$Accept, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accept( params?: Params$Resource$Accounts$Invitations$Accept, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; accept( params: Params$Resource$Accounts$Invitations$Accept, options: StreamMethodOptions | BodyResponseCallback, @@ -1233,7 +1251,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Invitations$Accept; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1287,11 +1308,11 @@ export namespace mybusinessaccountmanagement_v1 { decline( params: Params$Resource$Accounts$Invitations$Decline, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; decline( params?: Params$Resource$Accounts$Invitations$Decline, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; decline( params: Params$Resource$Accounts$Invitations$Decline, options: StreamMethodOptions | BodyResponseCallback, @@ -1320,7 +1341,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Invitations$Decline; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1377,11 +1401,11 @@ export namespace mybusinessaccountmanagement_v1 { list( params: Params$Resource$Accounts$Invitations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Invitations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Invitations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1414,8 +1438,8 @@ export namespace mybusinessaccountmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Invitations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1517,11 +1541,11 @@ export namespace mybusinessaccountmanagement_v1 { transfer( params: Params$Resource$Locations$Transfer, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; transfer( params?: Params$Resource$Locations$Transfer, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; transfer( params: Params$Resource$Locations$Transfer, options: StreamMethodOptions | BodyResponseCallback, @@ -1550,7 +1574,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Transfer; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1627,11 +1654,11 @@ export namespace mybusinessaccountmanagement_v1 { create( params: Params$Resource$Locations$Admins$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Locations$Admins$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Locations$Admins$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1660,7 +1687,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Admins$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1717,11 +1747,11 @@ export namespace mybusinessaccountmanagement_v1 { delete( params: Params$Resource$Locations$Admins$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Admins$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Admins$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1750,7 +1780,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Admins$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1804,11 +1837,11 @@ export namespace mybusinessaccountmanagement_v1 { list( params: Params$Resource$Locations$Admins$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Admins$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$Admins$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1843,8 +1876,8 @@ export namespace mybusinessaccountmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Admins$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1901,11 +1934,11 @@ export namespace mybusinessaccountmanagement_v1 { patch( params: Params$Resource$Locations$Admins$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Locations$Admins$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Locations$Admins$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1934,7 +1967,10 @@ export namespace mybusinessaccountmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Admins$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/mybusinessbusinesscalls/index.ts b/src/apis/mybusinessbusinesscalls/index.ts index 3f3b0920701..8e9308b1d16 100644 --- a/src/apis/mybusinessbusinesscalls/index.ts +++ b/src/apis/mybusinessbusinesscalls/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/mybusinessbusinesscalls/package.json b/src/apis/mybusinessbusinesscalls/package.json index 6613d3d81c2..ecc883a4779 100644 --- a/src/apis/mybusinessbusinesscalls/package.json +++ b/src/apis/mybusinessbusinesscalls/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/mybusinessbusinesscalls/v1.ts b/src/apis/mybusinessbusinesscalls/v1.ts index f0c78caae35..d5165a7a1e1 100644 --- a/src/apis/mybusinessbusinesscalls/v1.ts +++ b/src/apis/mybusinessbusinesscalls/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -309,11 +309,11 @@ export namespace mybusinessbusinesscalls_v1 { getBusinesscallssettings( params: Params$Resource$Locations$Getbusinesscallssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getBusinesscallssettings( params?: Params$Resource$Locations$Getbusinesscallssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getBusinesscallssettings( params: Params$Resource$Locations$Getbusinesscallssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -348,8 +348,8 @@ export namespace mybusinessbusinesscalls_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Getbusinesscallssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -458,11 +458,11 @@ export namespace mybusinessbusinesscalls_v1 { updateBusinesscallssettings( params: Params$Resource$Locations$Updatebusinesscallssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateBusinesscallssettings( params?: Params$Resource$Locations$Updatebusinesscallssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateBusinesscallssettings( params: Params$Resource$Locations$Updatebusinesscallssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -497,8 +497,8 @@ export namespace mybusinessbusinesscalls_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Updatebusinesscallssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -631,11 +631,11 @@ export namespace mybusinessbusinesscalls_v1 { list( params: Params$Resource$Locations$Businesscallsinsights$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Businesscallsinsights$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$Businesscallsinsights$List, options: StreamMethodOptions | BodyResponseCallback, @@ -670,8 +670,8 @@ export namespace mybusinessbusinesscalls_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Businesscallsinsights$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/mybusinessbusinessinformation/index.ts b/src/apis/mybusinessbusinessinformation/index.ts index b61f66c4ccc..ac687d52213 100644 --- a/src/apis/mybusinessbusinessinformation/index.ts +++ b/src/apis/mybusinessbusinessinformation/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/mybusinessbusinessinformation/package.json b/src/apis/mybusinessbusinessinformation/package.json index 5b26b1d7f80..8b123a767dc 100644 --- a/src/apis/mybusinessbusinessinformation/package.json +++ b/src/apis/mybusinessbusinessinformation/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/mybusinessbusinessinformation/v1.ts b/src/apis/mybusinessbusinessinformation/v1.ts index 2ad52283b25..42fe20a24ca 100644 --- a/src/apis/mybusinessbusinessinformation/v1.ts +++ b/src/apis/mybusinessbusinessinformation/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1016,11 +1016,11 @@ export namespace mybusinessbusinessinformation_v1 { create( params: Params$Resource$Accounts$Locations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Locations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Locations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1049,7 +1049,10 @@ export namespace mybusinessbusinessinformation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Locations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1106,11 +1109,11 @@ export namespace mybusinessbusinessinformation_v1 { list( params: Params$Resource$Accounts$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1143,8 +1146,8 @@ export namespace mybusinessbusinessinformation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1256,11 +1259,11 @@ export namespace mybusinessbusinessinformation_v1 { list( params: Params$Resource$Attributes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Attributes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Attributes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1295,8 +1298,8 @@ export namespace mybusinessbusinessinformation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Attributes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1389,11 +1392,11 @@ export namespace mybusinessbusinessinformation_v1 { batchGet( params: Params$Resource$Categories$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Categories$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Categories$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -1428,8 +1431,8 @@ export namespace mybusinessbusinessinformation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Categories$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1486,11 +1489,11 @@ export namespace mybusinessbusinessinformation_v1 { list( params: Params$Resource$Categories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Categories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Categories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1523,8 +1526,8 @@ export namespace mybusinessbusinessinformation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Categories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1630,11 +1633,11 @@ export namespace mybusinessbusinessinformation_v1 { get( params: Params$Resource$Chains$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Chains$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Chains$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1663,7 +1666,10 @@ export namespace mybusinessbusinessinformation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Chains$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1716,11 +1722,11 @@ export namespace mybusinessbusinessinformation_v1 { search( params: Params$Resource$Chains$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Chains$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Chains$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1753,8 +1759,8 @@ export namespace mybusinessbusinessinformation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Chains$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1831,11 +1837,11 @@ export namespace mybusinessbusinessinformation_v1 { search( params: Params$Resource$Googlelocations$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Googlelocations$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Googlelocations$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1870,8 +1876,8 @@ export namespace mybusinessbusinessinformation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Googlelocations$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1947,11 +1953,11 @@ export namespace mybusinessbusinessinformation_v1 { delete( params: Params$Resource$Locations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1980,7 +1986,10 @@ export namespace mybusinessbusinessinformation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2033,11 +2042,11 @@ export namespace mybusinessbusinessinformation_v1 { get( params: Params$Resource$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2066,7 +2075,10 @@ export namespace mybusinessbusinessinformation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2119,11 +2131,11 @@ export namespace mybusinessbusinessinformation_v1 { getAttributes( params: Params$Resource$Locations$Getattributes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAttributes( params?: Params$Resource$Locations$Getattributes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAttributes( params: Params$Resource$Locations$Getattributes, options: StreamMethodOptions | BodyResponseCallback, @@ -2152,7 +2164,10 @@ export namespace mybusinessbusinessinformation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Getattributes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2206,11 +2221,11 @@ export namespace mybusinessbusinessinformation_v1 { getGoogleUpdated( params: Params$Resource$Locations$Getgoogleupdated, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGoogleUpdated( params?: Params$Resource$Locations$Getgoogleupdated, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getGoogleUpdated( params: Params$Resource$Locations$Getgoogleupdated, options: StreamMethodOptions | BodyResponseCallback, @@ -2245,8 +2260,8 @@ export namespace mybusinessbusinessinformation_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Getgoogleupdated; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2303,11 +2318,11 @@ export namespace mybusinessbusinessinformation_v1 { patch( params: Params$Resource$Locations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Locations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Locations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2336,7 +2351,10 @@ export namespace mybusinessbusinessinformation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2389,11 +2407,11 @@ export namespace mybusinessbusinessinformation_v1 { updateAttributes( params: Params$Resource$Locations$Updateattributes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAttributes( params?: Params$Resource$Locations$Updateattributes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateAttributes( params: Params$Resource$Locations$Updateattributes, options: StreamMethodOptions | BodyResponseCallback, @@ -2422,7 +2440,10 @@ export namespace mybusinessbusinessinformation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Updateattributes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2553,11 +2574,11 @@ export namespace mybusinessbusinessinformation_v1 { getGoogleUpdated( params: Params$Resource$Locations$Attributes$Getgoogleupdated, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGoogleUpdated( params?: Params$Resource$Locations$Attributes$Getgoogleupdated, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getGoogleUpdated( params: Params$Resource$Locations$Attributes$Getgoogleupdated, options: StreamMethodOptions | BodyResponseCallback, @@ -2586,7 +2607,10 @@ export namespace mybusinessbusinessinformation_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Attributes$Getgoogleupdated; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/mybusinesslodging/index.ts b/src/apis/mybusinesslodging/index.ts index e93340e1e1f..0ea3a8aa646 100644 --- a/src/apis/mybusinesslodging/index.ts +++ b/src/apis/mybusinesslodging/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/mybusinesslodging/package.json b/src/apis/mybusinesslodging/package.json index 946cb646545..36d946c62b2 100644 --- a/src/apis/mybusinesslodging/package.json +++ b/src/apis/mybusinesslodging/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/mybusinesslodging/v1.ts b/src/apis/mybusinesslodging/v1.ts index 9eaaa9ef328..a1be5cce8cb 100644 --- a/src/apis/mybusinesslodging/v1.ts +++ b/src/apis/mybusinesslodging/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2723,11 +2723,11 @@ export namespace mybusinesslodging_v1 { getLodging( params: Params$Resource$Locations$Getlodging, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLodging( params?: Params$Resource$Locations$Getlodging, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getLodging( params: Params$Resource$Locations$Getlodging, options: StreamMethodOptions | BodyResponseCallback, @@ -2756,7 +2756,10 @@ export namespace mybusinesslodging_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Getlodging; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2809,11 +2812,11 @@ export namespace mybusinesslodging_v1 { updateLodging( params: Params$Resource$Locations$Updatelodging, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateLodging( params?: Params$Resource$Locations$Updatelodging, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateLodging( params: Params$Resource$Locations$Updatelodging, options: StreamMethodOptions | BodyResponseCallback, @@ -2842,7 +2845,10 @@ export namespace mybusinesslodging_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Updatelodging; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2930,11 +2936,11 @@ export namespace mybusinesslodging_v1 { getGoogleUpdated( params: Params$Resource$Locations$Lodging$Getgoogleupdated, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGoogleUpdated( params?: Params$Resource$Locations$Lodging$Getgoogleupdated, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getGoogleUpdated( params: Params$Resource$Locations$Lodging$Getgoogleupdated, options: StreamMethodOptions | BodyResponseCallback, @@ -2969,8 +2975,8 @@ export namespace mybusinesslodging_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Lodging$Getgoogleupdated; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/mybusinessnotifications/index.ts b/src/apis/mybusinessnotifications/index.ts index 8bc717e6957..b8e9bbd0c70 100644 --- a/src/apis/mybusinessnotifications/index.ts +++ b/src/apis/mybusinessnotifications/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/mybusinessnotifications/package.json b/src/apis/mybusinessnotifications/package.json index 30958eba8eb..df311d7c60b 100644 --- a/src/apis/mybusinessnotifications/package.json +++ b/src/apis/mybusinessnotifications/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/mybusinessnotifications/v1.ts b/src/apis/mybusinessnotifications/v1.ts index 47a7c4b0adb..279121b1050 100644 --- a/src/apis/mybusinessnotifications/v1.ts +++ b/src/apis/mybusinessnotifications/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -159,11 +159,11 @@ export namespace mybusinessnotifications_v1 { getNotificationSetting( params: Params$Resource$Accounts$Getnotificationsetting, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getNotificationSetting( params?: Params$Resource$Accounts$Getnotificationsetting, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getNotificationSetting( params: Params$Resource$Accounts$Getnotificationsetting, options: StreamMethodOptions | BodyResponseCallback, @@ -196,8 +196,8 @@ export namespace mybusinessnotifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Getnotificationsetting; let options = (optionsOrCallback || {}) as MethodOptions; @@ -250,11 +250,11 @@ export namespace mybusinessnotifications_v1 { updateNotificationSetting( params: Params$Resource$Accounts$Updatenotificationsetting, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateNotificationSetting( params?: Params$Resource$Accounts$Updatenotificationsetting, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateNotificationSetting( params: Params$Resource$Accounts$Updatenotificationsetting, options: StreamMethodOptions | BodyResponseCallback, @@ -287,8 +287,8 @@ export namespace mybusinessnotifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Updatenotificationsetting; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/mybusinessplaceactions/index.ts b/src/apis/mybusinessplaceactions/index.ts index d48b7a3f688..12d92dcb037 100644 --- a/src/apis/mybusinessplaceactions/index.ts +++ b/src/apis/mybusinessplaceactions/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/mybusinessplaceactions/package.json b/src/apis/mybusinessplaceactions/package.json index b03811357a4..ab539a89909 100644 --- a/src/apis/mybusinessplaceactions/package.json +++ b/src/apis/mybusinessplaceactions/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/mybusinessplaceactions/v1.ts b/src/apis/mybusinessplaceactions/v1.ts index d28503e9e79..aa86a17e62f 100644 --- a/src/apis/mybusinessplaceactions/v1.ts +++ b/src/apis/mybusinessplaceactions/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -237,11 +237,11 @@ export namespace mybusinessplaceactions_v1 { create( params: Params$Resource$Locations$Placeactionlinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Locations$Placeactionlinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Locations$Placeactionlinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -270,7 +270,10 @@ export namespace mybusinessplaceactions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Placeactionlinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -326,11 +329,11 @@ export namespace mybusinessplaceactions_v1 { delete( params: Params$Resource$Locations$Placeactionlinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Placeactionlinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Placeactionlinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -359,7 +362,10 @@ export namespace mybusinessplaceactions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Placeactionlinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -412,11 +418,11 @@ export namespace mybusinessplaceactions_v1 { get( params: Params$Resource$Locations$Placeactionlinks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Placeactionlinks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Placeactionlinks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -445,7 +451,10 @@ export namespace mybusinessplaceactions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Placeactionlinks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -498,11 +507,11 @@ export namespace mybusinessplaceactions_v1 { list( params: Params$Resource$Locations$Placeactionlinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Placeactionlinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$Placeactionlinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -537,8 +546,8 @@ export namespace mybusinessplaceactions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Placeactionlinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -596,11 +605,11 @@ export namespace mybusinessplaceactions_v1 { patch( params: Params$Resource$Locations$Placeactionlinks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Locations$Placeactionlinks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Locations$Placeactionlinks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -629,7 +638,10 @@ export namespace mybusinessplaceactions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Placeactionlinks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -751,11 +763,13 @@ export namespace mybusinessplaceactions_v1 { list( params: Params$Resource$Placeactiontypemetadata$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Placeactiontypemetadata$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Placeactiontypemetadata$List, options: StreamMethodOptions | BodyResponseCallback, @@ -790,8 +804,10 @@ export namespace mybusinessplaceactions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Placeactiontypemetadata$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/mybusinessqanda/index.ts b/src/apis/mybusinessqanda/index.ts index 98e9b877df6..cecc4a804af 100644 --- a/src/apis/mybusinessqanda/index.ts +++ b/src/apis/mybusinessqanda/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/mybusinessqanda/package.json b/src/apis/mybusinessqanda/package.json index 80ffe48ce77..ec17ad7b7e5 100644 --- a/src/apis/mybusinessqanda/package.json +++ b/src/apis/mybusinessqanda/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/mybusinessqanda/v1.ts b/src/apis/mybusinessqanda/v1.ts index 509ae4fc043..c1b165ac37d 100644 --- a/src/apis/mybusinessqanda/v1.ts +++ b/src/apis/mybusinessqanda/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -283,11 +283,11 @@ export namespace mybusinessqanda_v1 { create( params: Params$Resource$Locations$Questions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Locations$Questions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Locations$Questions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -316,7 +316,10 @@ export namespace mybusinessqanda_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Questions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -369,11 +372,11 @@ export namespace mybusinessqanda_v1 { delete( params: Params$Resource$Locations$Questions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Questions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Questions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -402,7 +405,10 @@ export namespace mybusinessqanda_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Questions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -455,11 +461,11 @@ export namespace mybusinessqanda_v1 { list( params: Params$Resource$Locations$Questions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Questions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$Questions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -492,8 +498,8 @@ export namespace mybusinessqanda_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Questions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -546,11 +552,11 @@ export namespace mybusinessqanda_v1 { patch( params: Params$Resource$Locations$Questions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Locations$Questions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Locations$Questions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -579,7 +585,10 @@ export namespace mybusinessqanda_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Questions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -702,11 +711,11 @@ export namespace mybusinessqanda_v1 { delete( params: Params$Resource$Locations$Questions$Answers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Locations$Questions$Answers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Locations$Questions$Answers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -735,7 +744,10 @@ export namespace mybusinessqanda_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Questions$Answers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -791,11 +803,11 @@ export namespace mybusinessqanda_v1 { list( params: Params$Resource$Locations$Questions$Answers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Questions$Answers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$Questions$Answers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -826,8 +838,8 @@ export namespace mybusinessqanda_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Questions$Answers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -883,11 +895,11 @@ export namespace mybusinessqanda_v1 { upsert( params: Params$Resource$Locations$Questions$Answers$Upsert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upsert( params?: Params$Resource$Locations$Questions$Answers$Upsert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upsert( params: Params$Resource$Locations$Questions$Answers$Upsert, options: StreamMethodOptions | BodyResponseCallback, @@ -916,7 +928,10 @@ export namespace mybusinessqanda_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Questions$Answers$Upsert; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/mybusinessverifications/index.ts b/src/apis/mybusinessverifications/index.ts index fe02a44a141..d679f32f669 100644 --- a/src/apis/mybusinessverifications/index.ts +++ b/src/apis/mybusinessverifications/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/mybusinessverifications/package.json b/src/apis/mybusinessverifications/package.json index 1a36ef2d0e5..4ad019db225 100644 --- a/src/apis/mybusinessverifications/package.json +++ b/src/apis/mybusinessverifications/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/mybusinessverifications/v1.ts b/src/apis/mybusinessverifications/v1.ts index fae06d5b99c..b41f09f5c47 100644 --- a/src/apis/mybusinessverifications/v1.ts +++ b/src/apis/mybusinessverifications/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -445,11 +445,13 @@ export namespace mybusinessverifications_v1 { fetchVerificationOptions( params: Params$Resource$Locations$Fetchverificationoptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchVerificationOptions( params?: Params$Resource$Locations$Fetchverificationoptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchVerificationOptions( params: Params$Resource$Locations$Fetchverificationoptions, options: StreamMethodOptions | BodyResponseCallback, @@ -484,8 +486,10 @@ export namespace mybusinessverifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Fetchverificationoptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -543,11 +547,11 @@ export namespace mybusinessverifications_v1 { getVoiceOfMerchantState( params: Params$Resource$Locations$Getvoiceofmerchantstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVoiceOfMerchantState( params?: Params$Resource$Locations$Getvoiceofmerchantstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getVoiceOfMerchantState( params: Params$Resource$Locations$Getvoiceofmerchantstate, options: StreamMethodOptions | BodyResponseCallback, @@ -582,8 +586,8 @@ export namespace mybusinessverifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Getvoiceofmerchantstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -639,11 +643,11 @@ export namespace mybusinessverifications_v1 { verify( params: Params$Resource$Locations$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Locations$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Locations$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -676,8 +680,8 @@ export namespace mybusinessverifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Verify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -767,11 +771,11 @@ export namespace mybusinessverifications_v1 { complete( params: Params$Resource$Locations$Verifications$Complete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; complete( params?: Params$Resource$Locations$Verifications$Complete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; complete( params: Params$Resource$Locations$Verifications$Complete, options: StreamMethodOptions | BodyResponseCallback, @@ -806,8 +810,8 @@ export namespace mybusinessverifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Verifications$Complete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -865,11 +869,11 @@ export namespace mybusinessverifications_v1 { list( params: Params$Resource$Locations$Verifications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Locations$Verifications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Locations$Verifications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -904,8 +908,8 @@ export namespace mybusinessverifications_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Verifications$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/netapp/index.ts b/src/apis/netapp/index.ts index bb0926dea01..efe6ba653c9 100644 --- a/src/apis/netapp/index.ts +++ b/src/apis/netapp/index.ts @@ -47,7 +47,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/netapp/package.json b/src/apis/netapp/package.json index 4d49ba73ef9..fe5f06ba487 100644 --- a/src/apis/netapp/package.json +++ b/src/apis/netapp/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/netapp/v1.ts b/src/apis/netapp/v1.ts index 3e56bab4aee..814a6ce3c9b 100644 --- a/src/apis/netapp/v1.ts +++ b/src/apis/netapp/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1623,11 +1623,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1656,7 +1656,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1708,11 +1711,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1745,8 +1748,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1839,11 +1842,11 @@ export namespace netapp_v1 { create( params: Params$Resource$Projects$Locations$Activedirectories$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Activedirectories$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Activedirectories$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1872,7 +1875,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activedirectories$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1928,11 +1934,11 @@ export namespace netapp_v1 { delete( params: Params$Resource$Projects$Locations$Activedirectories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Activedirectories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Activedirectories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1961,7 +1967,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activedirectories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2014,11 +2023,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Activedirectories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Activedirectories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Activedirectories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2047,7 +2056,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activedirectories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2099,11 +2111,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$Activedirectories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Activedirectories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Activedirectories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2138,8 +2150,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activedirectories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2197,11 +2209,11 @@ export namespace netapp_v1 { patch( params: Params$Resource$Projects$Locations$Activedirectories$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Activedirectories$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Activedirectories$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2230,7 +2242,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activedirectories$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2360,11 +2375,11 @@ export namespace netapp_v1 { create( params: Params$Resource$Projects$Locations$Backuppolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backuppolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backuppolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2393,7 +2408,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backuppolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2448,11 +2466,11 @@ export namespace netapp_v1 { delete( params: Params$Resource$Projects$Locations$Backuppolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backuppolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backuppolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2481,7 +2499,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backuppolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2533,11 +2554,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Backuppolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backuppolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backuppolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2566,7 +2587,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backuppolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2618,11 +2642,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$Backuppolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backuppolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backuppolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2657,8 +2681,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backuppolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2713,11 +2737,11 @@ export namespace netapp_v1 { patch( params: Params$Resource$Projects$Locations$Backuppolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backuppolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backuppolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2746,7 +2770,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backuppolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2879,11 +2906,11 @@ export namespace netapp_v1 { create( params: Params$Resource$Projects$Locations$Backupvaults$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backupvaults$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backupvaults$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2912,7 +2939,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2967,11 +2997,11 @@ export namespace netapp_v1 { delete( params: Params$Resource$Projects$Locations$Backupvaults$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupvaults$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupvaults$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3000,7 +3030,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3052,11 +3085,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Backupvaults$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupvaults$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupvaults$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3085,7 +3118,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3137,11 +3173,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$Backupvaults$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupvaults$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupvaults$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3174,8 +3210,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3230,11 +3266,11 @@ export namespace netapp_v1 { patch( params: Params$Resource$Projects$Locations$Backupvaults$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backupvaults$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backupvaults$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3263,7 +3299,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3392,11 +3431,11 @@ export namespace netapp_v1 { create( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backupvaults$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3425,7 +3464,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3481,11 +3523,11 @@ export namespace netapp_v1 { delete( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupvaults$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3514,7 +3556,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3567,11 +3612,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupvaults$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3600,7 +3645,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3653,11 +3701,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$Backupvaults$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupvaults$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupvaults$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3688,8 +3736,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3745,11 +3793,11 @@ export namespace netapp_v1 { patch( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backupvaults$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3778,7 +3826,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3908,11 +3959,11 @@ export namespace netapp_v1 { create( params: Params$Resource$Projects$Locations$Kmsconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Kmsconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Kmsconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3941,7 +3992,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3996,11 +4050,11 @@ export namespace netapp_v1 { delete( params: Params$Resource$Projects$Locations$Kmsconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Kmsconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Kmsconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4029,7 +4083,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4081,11 +4138,11 @@ export namespace netapp_v1 { encrypt( params: Params$Resource$Projects$Locations$Kmsconfigs$Encrypt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; encrypt( params?: Params$Resource$Projects$Locations$Kmsconfigs$Encrypt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; encrypt( params: Params$Resource$Projects$Locations$Kmsconfigs$Encrypt, options: StreamMethodOptions | BodyResponseCallback, @@ -4114,7 +4171,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Encrypt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4169,11 +4229,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Kmsconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Kmsconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Kmsconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4202,7 +4262,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4254,11 +4317,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$Kmsconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Kmsconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Kmsconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4291,8 +4354,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4347,11 +4410,11 @@ export namespace netapp_v1 { patch( params: Params$Resource$Projects$Locations$Kmsconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Kmsconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Kmsconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4380,7 +4443,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4432,11 +4498,11 @@ export namespace netapp_v1 { verify( params: Params$Resource$Projects$Locations$Kmsconfigs$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Projects$Locations$Kmsconfigs$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Projects$Locations$Kmsconfigs$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -4471,8 +4537,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Verify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4625,11 +4691,11 @@ export namespace netapp_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4660,8 +4726,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4713,11 +4779,11 @@ export namespace netapp_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4748,8 +4814,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4801,11 +4867,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4834,7 +4900,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4886,11 +4955,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4923,8 +4992,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5032,11 +5101,11 @@ export namespace netapp_v1 { create( params: Params$Resource$Projects$Locations$Storagepools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Storagepools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Storagepools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5065,7 +5134,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5120,11 +5192,11 @@ export namespace netapp_v1 { delete( params: Params$Resource$Projects$Locations$Storagepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Storagepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Storagepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5153,7 +5225,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5205,11 +5280,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Storagepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Storagepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Storagepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5238,7 +5313,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5290,11 +5368,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$Storagepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Storagepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Storagepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5327,8 +5405,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5383,11 +5461,11 @@ export namespace netapp_v1 { patch( params: Params$Resource$Projects$Locations$Storagepools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Storagepools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Storagepools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5416,7 +5494,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5468,11 +5549,11 @@ export namespace netapp_v1 { switch( params: Params$Resource$Projects$Locations$Storagepools$Switch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switch( params?: Params$Resource$Projects$Locations$Storagepools$Switch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switch( params: Params$Resource$Projects$Locations$Storagepools$Switch, options: StreamMethodOptions | BodyResponseCallback, @@ -5501,7 +5582,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Switch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5553,11 +5637,11 @@ export namespace netapp_v1 { validateDirectoryService( params: Params$Resource$Projects$Locations$Storagepools$Validatedirectoryservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateDirectoryService( params?: Params$Resource$Projects$Locations$Storagepools$Validatedirectoryservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validateDirectoryService( params: Params$Resource$Projects$Locations$Storagepools$Validatedirectoryservice, options: StreamMethodOptions | BodyResponseCallback, @@ -5588,7 +5672,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Validatedirectoryservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5757,11 +5844,11 @@ export namespace netapp_v1 { create( params: Params$Resource$Projects$Locations$Volumes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Volumes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Volumes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5790,7 +5877,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5845,11 +5935,11 @@ export namespace netapp_v1 { delete( params: Params$Resource$Projects$Locations$Volumes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Volumes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Volumes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5878,7 +5968,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5930,11 +6023,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Volumes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Volumes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Volumes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5963,7 +6056,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6015,11 +6111,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$Volumes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Volumes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Volumes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6050,8 +6146,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6106,11 +6202,11 @@ export namespace netapp_v1 { patch( params: Params$Resource$Projects$Locations$Volumes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Volumes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Volumes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6139,7 +6235,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6191,11 +6290,11 @@ export namespace netapp_v1 { revert( params: Params$Resource$Projects$Locations$Volumes$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Projects$Locations$Volumes$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Projects$Locations$Volumes$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -6224,7 +6323,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6369,11 +6471,11 @@ export namespace netapp_v1 { create( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Volumes$Quotarules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6402,7 +6504,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Quotarules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6458,11 +6563,11 @@ export namespace netapp_v1 { delete( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Volumes$Quotarules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6491,7 +6596,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Quotarules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6544,11 +6652,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Volumes$Quotarules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6577,7 +6685,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Quotarules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6630,11 +6741,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$Volumes$Quotarules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Volumes$Quotarules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Volumes$Quotarules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6667,8 +6778,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Quotarules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6724,11 +6835,11 @@ export namespace netapp_v1 { patch( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Volumes$Quotarules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6757,7 +6868,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Quotarules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6887,11 +7001,11 @@ export namespace netapp_v1 { create( params: Params$Resource$Projects$Locations$Volumes$Replications$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Volumes$Replications$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Volumes$Replications$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6920,7 +7034,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6976,11 +7093,11 @@ export namespace netapp_v1 { delete( params: Params$Resource$Projects$Locations$Volumes$Replications$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Volumes$Replications$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Volumes$Replications$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7009,7 +7126,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7062,11 +7182,11 @@ export namespace netapp_v1 { establishPeering( params: Params$Resource$Projects$Locations$Volumes$Replications$Establishpeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; establishPeering( params?: Params$Resource$Projects$Locations$Volumes$Replications$Establishpeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; establishPeering( params: Params$Resource$Projects$Locations$Volumes$Replications$Establishpeering, options: StreamMethodOptions | BodyResponseCallback, @@ -7095,7 +7215,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Establishpeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7151,11 +7274,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Volumes$Replications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Volumes$Replications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Volumes$Replications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7184,7 +7307,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7237,11 +7363,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$Volumes$Replications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Volumes$Replications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Volumes$Replications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7274,8 +7400,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7331,11 +7457,11 @@ export namespace netapp_v1 { patch( params: Params$Resource$Projects$Locations$Volumes$Replications$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Volumes$Replications$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Volumes$Replications$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7364,7 +7490,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7417,11 +7546,11 @@ export namespace netapp_v1 { resume( params: Params$Resource$Projects$Locations$Volumes$Replications$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Volumes$Replications$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Volumes$Replications$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -7450,7 +7579,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7503,11 +7635,11 @@ export namespace netapp_v1 { reverseDirection( params: Params$Resource$Projects$Locations$Volumes$Replications$Reversedirection, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reverseDirection( params?: Params$Resource$Projects$Locations$Volumes$Replications$Reversedirection, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reverseDirection( params: Params$Resource$Projects$Locations$Volumes$Replications$Reversedirection, options: StreamMethodOptions | BodyResponseCallback, @@ -7536,7 +7668,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Reversedirection; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7592,11 +7727,11 @@ export namespace netapp_v1 { stop( params: Params$Resource$Projects$Locations$Volumes$Replications$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Volumes$Replications$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Volumes$Replications$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -7625,7 +7760,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7678,11 +7816,11 @@ export namespace netapp_v1 { sync( params: Params$Resource$Projects$Locations$Volumes$Replications$Sync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sync( params?: Params$Resource$Projects$Locations$Volumes$Replications$Sync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sync( params: Params$Resource$Projects$Locations$Volumes$Replications$Sync, options: StreamMethodOptions | BodyResponseCallback, @@ -7711,7 +7849,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Sync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7901,11 +8042,11 @@ export namespace netapp_v1 { create( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7934,7 +8075,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7990,11 +8134,11 @@ export namespace netapp_v1 { delete( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8023,7 +8167,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8076,11 +8223,11 @@ export namespace netapp_v1 { get( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8109,7 +8256,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8161,11 +8311,11 @@ export namespace netapp_v1 { list( params: Params$Resource$Projects$Locations$Volumes$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Volumes$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8198,8 +8348,8 @@ export namespace netapp_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8255,11 +8405,11 @@ export namespace netapp_v1 { patch( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8288,7 +8438,10 @@ export namespace netapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/netapp/v1beta1.ts b/src/apis/netapp/v1beta1.ts index 5ab6b6535f2..9709e7e4c7e 100644 --- a/src/apis/netapp/v1beta1.ts +++ b/src/apis/netapp/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1635,11 +1635,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1668,7 +1668,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1720,11 +1723,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1757,8 +1760,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1851,11 +1854,11 @@ export namespace netapp_v1beta1 { create( params: Params$Resource$Projects$Locations$Activedirectories$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Activedirectories$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Activedirectories$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1884,7 +1887,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activedirectories$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1940,11 +1946,11 @@ export namespace netapp_v1beta1 { delete( params: Params$Resource$Projects$Locations$Activedirectories$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Activedirectories$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Activedirectories$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1973,7 +1979,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activedirectories$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2026,11 +2035,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Activedirectories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Activedirectories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Activedirectories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2059,7 +2068,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activedirectories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2111,11 +2123,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$Activedirectories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Activedirectories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Activedirectories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2150,8 +2162,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activedirectories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2209,11 +2221,11 @@ export namespace netapp_v1beta1 { patch( params: Params$Resource$Projects$Locations$Activedirectories$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Activedirectories$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Activedirectories$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2242,7 +2254,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activedirectories$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2372,11 +2387,11 @@ export namespace netapp_v1beta1 { create( params: Params$Resource$Projects$Locations$Backuppolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backuppolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backuppolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2405,7 +2420,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backuppolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2460,11 +2478,11 @@ export namespace netapp_v1beta1 { delete( params: Params$Resource$Projects$Locations$Backuppolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backuppolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backuppolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2493,7 +2511,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backuppolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2545,11 +2566,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Backuppolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backuppolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backuppolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2578,7 +2599,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backuppolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2630,11 +2654,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$Backuppolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backuppolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backuppolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2669,8 +2693,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backuppolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2725,11 +2749,11 @@ export namespace netapp_v1beta1 { patch( params: Params$Resource$Projects$Locations$Backuppolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backuppolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backuppolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2758,7 +2782,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backuppolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2891,11 +2918,11 @@ export namespace netapp_v1beta1 { create( params: Params$Resource$Projects$Locations$Backupvaults$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backupvaults$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backupvaults$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2924,7 +2951,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2979,11 +3009,11 @@ export namespace netapp_v1beta1 { delete( params: Params$Resource$Projects$Locations$Backupvaults$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupvaults$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupvaults$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3012,7 +3042,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3064,11 +3097,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Backupvaults$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupvaults$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupvaults$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3097,7 +3130,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3149,11 +3185,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$Backupvaults$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupvaults$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupvaults$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3186,8 +3222,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3242,11 +3278,11 @@ export namespace netapp_v1beta1 { patch( params: Params$Resource$Projects$Locations$Backupvaults$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backupvaults$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backupvaults$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3275,7 +3311,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3404,11 +3443,11 @@ export namespace netapp_v1beta1 { create( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backupvaults$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3437,7 +3476,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3493,11 +3535,11 @@ export namespace netapp_v1beta1 { delete( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupvaults$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3526,7 +3568,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3579,11 +3624,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupvaults$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3612,7 +3657,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3665,11 +3713,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$Backupvaults$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupvaults$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupvaults$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3700,8 +3748,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3757,11 +3805,11 @@ export namespace netapp_v1beta1 { patch( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backupvaults$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backupvaults$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3790,7 +3838,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupvaults$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3920,11 +3971,11 @@ export namespace netapp_v1beta1 { create( params: Params$Resource$Projects$Locations$Kmsconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Kmsconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Kmsconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3953,7 +4004,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4008,11 +4062,11 @@ export namespace netapp_v1beta1 { delete( params: Params$Resource$Projects$Locations$Kmsconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Kmsconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Kmsconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4041,7 +4095,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4093,11 +4150,11 @@ export namespace netapp_v1beta1 { encrypt( params: Params$Resource$Projects$Locations$Kmsconfigs$Encrypt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; encrypt( params?: Params$Resource$Projects$Locations$Kmsconfigs$Encrypt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; encrypt( params: Params$Resource$Projects$Locations$Kmsconfigs$Encrypt, options: StreamMethodOptions | BodyResponseCallback, @@ -4126,7 +4183,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Encrypt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4181,11 +4241,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Kmsconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Kmsconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Kmsconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4214,7 +4274,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4266,11 +4329,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$Kmsconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Kmsconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Kmsconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4303,8 +4366,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4359,11 +4422,11 @@ export namespace netapp_v1beta1 { patch( params: Params$Resource$Projects$Locations$Kmsconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Kmsconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Kmsconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4392,7 +4455,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4444,11 +4510,11 @@ export namespace netapp_v1beta1 { verify( params: Params$Resource$Projects$Locations$Kmsconfigs$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Projects$Locations$Kmsconfigs$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Projects$Locations$Kmsconfigs$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -4483,8 +4549,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Kmsconfigs$Verify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4640,11 +4706,11 @@ export namespace netapp_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4675,8 +4741,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4731,11 +4797,11 @@ export namespace netapp_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4766,8 +4832,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4819,11 +4885,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4852,7 +4918,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4904,11 +4973,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4941,8 +5010,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5050,11 +5119,11 @@ export namespace netapp_v1beta1 { create( params: Params$Resource$Projects$Locations$Storagepools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Storagepools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Storagepools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5083,7 +5152,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5138,11 +5210,11 @@ export namespace netapp_v1beta1 { delete( params: Params$Resource$Projects$Locations$Storagepools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Storagepools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Storagepools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5171,7 +5243,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5223,11 +5298,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Storagepools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Storagepools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Storagepools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5256,7 +5331,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5308,11 +5386,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$Storagepools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Storagepools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Storagepools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5345,8 +5423,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5401,11 +5479,11 @@ export namespace netapp_v1beta1 { patch( params: Params$Resource$Projects$Locations$Storagepools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Storagepools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Storagepools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5434,7 +5512,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5486,11 +5567,11 @@ export namespace netapp_v1beta1 { switch( params: Params$Resource$Projects$Locations$Storagepools$Switch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switch( params?: Params$Resource$Projects$Locations$Storagepools$Switch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switch( params: Params$Resource$Projects$Locations$Storagepools$Switch, options: StreamMethodOptions | BodyResponseCallback, @@ -5519,7 +5600,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Switch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5574,11 +5658,11 @@ export namespace netapp_v1beta1 { validateDirectoryService( params: Params$Resource$Projects$Locations$Storagepools$Validatedirectoryservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateDirectoryService( params?: Params$Resource$Projects$Locations$Storagepools$Validatedirectoryservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validateDirectoryService( params: Params$Resource$Projects$Locations$Storagepools$Validatedirectoryservice, options: StreamMethodOptions | BodyResponseCallback, @@ -5609,7 +5693,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Storagepools$Validatedirectoryservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5777,11 +5864,11 @@ export namespace netapp_v1beta1 { create( params: Params$Resource$Projects$Locations$Volumes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Volumes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Volumes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5810,7 +5897,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5865,11 +5955,11 @@ export namespace netapp_v1beta1 { delete( params: Params$Resource$Projects$Locations$Volumes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Volumes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Volumes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5898,7 +5988,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5950,11 +6043,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Volumes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Volumes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Volumes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5983,7 +6076,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6035,11 +6131,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$Volumes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Volumes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Volumes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6070,8 +6166,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6126,11 +6222,11 @@ export namespace netapp_v1beta1 { patch( params: Params$Resource$Projects$Locations$Volumes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Volumes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Volumes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6159,7 +6255,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6211,11 +6310,11 @@ export namespace netapp_v1beta1 { revert( params: Params$Resource$Projects$Locations$Volumes$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Projects$Locations$Volumes$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Projects$Locations$Volumes$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -6244,7 +6343,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6392,11 +6494,11 @@ export namespace netapp_v1beta1 { create( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Volumes$Quotarules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6425,7 +6527,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Quotarules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6481,11 +6586,11 @@ export namespace netapp_v1beta1 { delete( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Volumes$Quotarules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6514,7 +6619,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Quotarules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6567,11 +6675,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Volumes$Quotarules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6600,7 +6708,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Quotarules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6653,11 +6764,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$Volumes$Quotarules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Volumes$Quotarules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Volumes$Quotarules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6690,8 +6801,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Quotarules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6747,11 +6858,11 @@ export namespace netapp_v1beta1 { patch( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Volumes$Quotarules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Volumes$Quotarules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6780,7 +6891,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Quotarules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6910,11 +7024,11 @@ export namespace netapp_v1beta1 { create( params: Params$Resource$Projects$Locations$Volumes$Replications$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Volumes$Replications$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Volumes$Replications$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6943,7 +7057,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6999,11 +7116,11 @@ export namespace netapp_v1beta1 { delete( params: Params$Resource$Projects$Locations$Volumes$Replications$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Volumes$Replications$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Volumes$Replications$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7032,7 +7149,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7085,11 +7205,11 @@ export namespace netapp_v1beta1 { establishPeering( params: Params$Resource$Projects$Locations$Volumes$Replications$Establishpeering, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; establishPeering( params?: Params$Resource$Projects$Locations$Volumes$Replications$Establishpeering, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; establishPeering( params: Params$Resource$Projects$Locations$Volumes$Replications$Establishpeering, options: StreamMethodOptions | BodyResponseCallback, @@ -7118,7 +7238,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Establishpeering; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7174,11 +7297,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Volumes$Replications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Volumes$Replications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Volumes$Replications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7207,7 +7330,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7260,11 +7386,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$Volumes$Replications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Volumes$Replications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Volumes$Replications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7297,8 +7423,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7354,11 +7480,11 @@ export namespace netapp_v1beta1 { patch( params: Params$Resource$Projects$Locations$Volumes$Replications$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Volumes$Replications$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Volumes$Replications$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7387,7 +7513,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7440,11 +7569,11 @@ export namespace netapp_v1beta1 { resume( params: Params$Resource$Projects$Locations$Volumes$Replications$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Volumes$Replications$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Volumes$Replications$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -7473,7 +7602,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7529,11 +7661,11 @@ export namespace netapp_v1beta1 { reverseDirection( params: Params$Resource$Projects$Locations$Volumes$Replications$Reversedirection, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reverseDirection( params?: Params$Resource$Projects$Locations$Volumes$Replications$Reversedirection, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reverseDirection( params: Params$Resource$Projects$Locations$Volumes$Replications$Reversedirection, options: StreamMethodOptions | BodyResponseCallback, @@ -7562,7 +7694,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Reversedirection; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7618,11 +7753,11 @@ export namespace netapp_v1beta1 { stop( params: Params$Resource$Projects$Locations$Volumes$Replications$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Volumes$Replications$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Volumes$Replications$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -7651,7 +7786,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7707,11 +7845,11 @@ export namespace netapp_v1beta1 { sync( params: Params$Resource$Projects$Locations$Volumes$Replications$Sync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sync( params?: Params$Resource$Projects$Locations$Volumes$Replications$Sync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sync( params: Params$Resource$Projects$Locations$Volumes$Replications$Sync, options: StreamMethodOptions | BodyResponseCallback, @@ -7740,7 +7878,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Replications$Sync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7933,11 +8074,11 @@ export namespace netapp_v1beta1 { create( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7966,7 +8107,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8022,11 +8166,11 @@ export namespace netapp_v1beta1 { delete( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8055,7 +8199,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8108,11 +8255,11 @@ export namespace netapp_v1beta1 { get( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8141,7 +8288,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8193,11 +8343,11 @@ export namespace netapp_v1beta1 { list( params: Params$Resource$Projects$Locations$Volumes$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Volumes$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8230,8 +8380,8 @@ export namespace netapp_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8287,11 +8437,11 @@ export namespace netapp_v1beta1 { patch( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Volumes$Snapshots$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Volumes$Snapshots$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8320,7 +8470,10 @@ export namespace netapp_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Volumes$Snapshots$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/networkconnectivity/index.ts b/src/apis/networkconnectivity/index.ts index 905b03dea13..7c0e8338093 100644 --- a/src/apis/networkconnectivity/index.ts +++ b/src/apis/networkconnectivity/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/networkconnectivity/package.json b/src/apis/networkconnectivity/package.json index 9a5f957f22c..6bc81135392 100644 --- a/src/apis/networkconnectivity/package.json +++ b/src/apis/networkconnectivity/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/networkconnectivity/v1.ts b/src/apis/networkconnectivity/v1.ts index 1d3a4c6484f..248ab9e6a54 100644 --- a/src/apis/networkconnectivity/v1.ts +++ b/src/apis/networkconnectivity/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -163,6 +163,19 @@ export namespace networkconnectivity_v1 { */ spokeUri?: string | null; } + /** + * Range auto-allocation options, to be optionally used when CIDR block is not explicitly set. + */ + export interface Schema$AllocationOptions { + /** + * Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used. + */ + allocationStrategy?: string | null; + /** + * Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks. + */ + firstAvailableRangesLookupSize?: number | null; + } /** * Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. */ @@ -571,6 +584,10 @@ export namespace networkconnectivity_v1 { * The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it. */ export interface Schema$InternalRange { + /** + * Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length). + */ + allocationOptions?: Schema$AllocationOptions; /** * Time when the internal range was created. */ @@ -1077,6 +1094,19 @@ export namespace networkconnectivity_v1 { */ vpcNetwork?: string | null; } + /** + * A route next hop that leads to a spoke resource. + */ + export interface Schema$NextHopSpoke { + /** + * Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). Whether this route is accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false, the route is only accessible to VPC spokes of the connected Hub. + */ + siteToSiteDataTransfer?: boolean | null; + /** + * The URI of the spoke resource. + */ + uri?: string | null; + } export interface Schema$NextHopVpcNetwork { /** * The URI of the VPC network resource @@ -1492,6 +1522,10 @@ export namespace networkconnectivity_v1 { * Immutable. The next-hop Router appliance instance for packets on this route. */ nextHopRouterApplianceInstance?: Schema$NextHopRouterApplianceInstance; + /** + * Immutable. The next-hop spoke for packets on this route. + */ + nextHopSpoke?: Schema$NextHopSpoke; /** * Immutable. The destination VPC network for packets on this route. */ @@ -2023,11 +2057,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2056,7 +2090,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2109,11 +2146,11 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2146,8 +2183,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2260,11 +2297,11 @@ export namespace networkconnectivity_v1 { acceptSpoke( params: Params$Resource$Projects$Locations$Global$Hubs$Acceptspoke, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acceptSpoke( params?: Params$Resource$Projects$Locations$Global$Hubs$Acceptspoke, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; acceptSpoke( params: Params$Resource$Projects$Locations$Global$Hubs$Acceptspoke, options: StreamMethodOptions | BodyResponseCallback, @@ -2299,8 +2336,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Acceptspoke; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2357,11 +2394,11 @@ export namespace networkconnectivity_v1 { acceptSpokeUpdate( params: Params$Resource$Projects$Locations$Global$Hubs$Acceptspokeupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acceptSpokeUpdate( params?: Params$Resource$Projects$Locations$Global$Hubs$Acceptspokeupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; acceptSpokeUpdate( params: Params$Resource$Projects$Locations$Global$Hubs$Acceptspokeupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -2396,8 +2433,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Acceptspokeupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2454,11 +2491,11 @@ export namespace networkconnectivity_v1 { create( params: Params$Resource$Projects$Locations$Global$Hubs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Hubs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Hubs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2493,8 +2530,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2547,11 +2584,11 @@ export namespace networkconnectivity_v1 { delete( params: Params$Resource$Projects$Locations$Global$Hubs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Hubs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Hubs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2586,8 +2623,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2640,11 +2677,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Global$Hubs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Hubs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Hubs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2673,7 +2710,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2726,11 +2766,11 @@ export namespace networkconnectivity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Hubs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2759,7 +2799,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2816,11 +2859,11 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Global$Hubs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Hubs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Hubs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2849,7 +2892,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2902,11 +2948,11 @@ export namespace networkconnectivity_v1 { listSpokes( params: Params$Resource$Projects$Locations$Global$Hubs$Listspokes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listSpokes( params?: Params$Resource$Projects$Locations$Global$Hubs$Listspokes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listSpokes( params: Params$Resource$Projects$Locations$Global$Hubs$Listspokes, options: StreamMethodOptions | BodyResponseCallback, @@ -2941,8 +2987,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Listspokes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2999,11 +3045,11 @@ export namespace networkconnectivity_v1 { patch( params: Params$Resource$Projects$Locations$Global$Hubs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Hubs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Hubs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3038,8 +3084,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3092,11 +3138,11 @@ export namespace networkconnectivity_v1 { queryStatus( params: Params$Resource$Projects$Locations$Global$Hubs$Querystatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; queryStatus( params?: Params$Resource$Projects$Locations$Global$Hubs$Querystatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; queryStatus( params: Params$Resource$Projects$Locations$Global$Hubs$Querystatus, options: StreamMethodOptions | BodyResponseCallback, @@ -3131,8 +3177,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Querystatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3189,11 +3235,11 @@ export namespace networkconnectivity_v1 { rejectSpoke( params: Params$Resource$Projects$Locations$Global$Hubs$Rejectspoke, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rejectSpoke( params?: Params$Resource$Projects$Locations$Global$Hubs$Rejectspoke, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rejectSpoke( params: Params$Resource$Projects$Locations$Global$Hubs$Rejectspoke, options: StreamMethodOptions | BodyResponseCallback, @@ -3228,8 +3274,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Rejectspoke; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3286,11 +3332,11 @@ export namespace networkconnectivity_v1 { rejectSpokeUpdate( params: Params$Resource$Projects$Locations$Global$Hubs$Rejectspokeupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rejectSpokeUpdate( params?: Params$Resource$Projects$Locations$Global$Hubs$Rejectspokeupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rejectSpokeUpdate( params: Params$Resource$Projects$Locations$Global$Hubs$Rejectspokeupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -3325,8 +3371,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Rejectspokeupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3383,11 +3429,11 @@ export namespace networkconnectivity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Hubs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3416,7 +3462,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3473,11 +3522,11 @@ export namespace networkconnectivity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Hubs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Hubs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Hubs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3512,8 +3561,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3800,11 +3849,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Hubs$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3833,7 +3882,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3887,11 +3939,11 @@ export namespace networkconnectivity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Hubs$Groups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3920,7 +3972,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Groups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3977,11 +4032,11 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Hubs$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4012,8 +4067,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4070,11 +4125,11 @@ export namespace networkconnectivity_v1 { patch( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Hubs$Groups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4109,8 +4164,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Groups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4164,11 +4219,11 @@ export namespace networkconnectivity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Hubs$Groups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4197,7 +4252,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Groups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4254,11 +4312,11 @@ export namespace networkconnectivity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Hubs$Groups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Hubs$Groups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4293,8 +4351,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Groups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4449,11 +4507,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Global$Hubs$Routetables$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Hubs$Routetables$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Hubs$Routetables$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4482,7 +4540,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Routetables$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4536,11 +4597,11 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Global$Hubs$Routetables$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Hubs$Routetables$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Hubs$Routetables$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4573,8 +4634,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Routetables$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4669,11 +4730,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Global$Hubs$Routetables$Routes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Hubs$Routetables$Routes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Hubs$Routetables$Routes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4702,7 +4763,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Routetables$Routes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4756,11 +4820,11 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Global$Hubs$Routetables$Routes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Hubs$Routetables$Routes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Hubs$Routetables$Routes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4791,8 +4855,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Routetables$Routes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4887,11 +4951,11 @@ export namespace networkconnectivity_v1 { create( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Policybasedroutes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4926,8 +4990,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policybasedroutes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4984,11 +5048,11 @@ export namespace networkconnectivity_v1 { delete( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Policybasedroutes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5023,8 +5087,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policybasedroutes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5078,11 +5142,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Policybasedroutes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5111,7 +5175,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policybasedroutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5165,11 +5232,11 @@ export namespace networkconnectivity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Policybasedroutes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5198,7 +5265,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policybasedroutes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5255,11 +5325,11 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Policybasedroutes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5294,8 +5364,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policybasedroutes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5354,11 +5424,11 @@ export namespace networkconnectivity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Policybasedroutes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5387,7 +5457,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policybasedroutes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5444,11 +5517,11 @@ export namespace networkconnectivity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Policybasedroutes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Policybasedroutes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5483,8 +5556,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policybasedroutes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5645,11 +5718,11 @@ export namespace networkconnectivity_v1 { create( params: Params$Resource$Projects$Locations$Internalranges$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Internalranges$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Internalranges$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5684,8 +5757,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5741,11 +5814,11 @@ export namespace networkconnectivity_v1 { delete( params: Params$Resource$Projects$Locations$Internalranges$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Internalranges$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Internalranges$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5780,8 +5853,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5834,11 +5907,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Internalranges$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Internalranges$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Internalranges$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5867,7 +5940,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5920,11 +5996,11 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Internalranges$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Internalranges$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Internalranges$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5959,8 +6035,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6016,11 +6092,11 @@ export namespace networkconnectivity_v1 { patch( params: Params$Resource$Projects$Locations$Internalranges$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Internalranges$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Internalranges$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6055,8 +6131,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6198,11 +6274,11 @@ export namespace networkconnectivity_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6231,7 +6307,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6284,11 +6363,11 @@ export namespace networkconnectivity_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6317,7 +6396,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6370,11 +6452,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6409,8 +6491,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6463,11 +6545,13 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6502,8 +6586,10 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6614,11 +6700,11 @@ export namespace networkconnectivity_v1 { create( params: Params$Resource$Projects$Locations$Regionalendpoints$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Regionalendpoints$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Regionalendpoints$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6653,8 +6739,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Regionalendpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6711,11 +6797,11 @@ export namespace networkconnectivity_v1 { delete( params: Params$Resource$Projects$Locations$Regionalendpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Regionalendpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Regionalendpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6750,8 +6836,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Regionalendpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6805,11 +6891,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Regionalendpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Regionalendpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Regionalendpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6838,7 +6924,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Regionalendpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6891,11 +6980,11 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Regionalendpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Regionalendpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Regionalendpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6930,8 +7019,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Regionalendpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7059,11 +7148,11 @@ export namespace networkconnectivity_v1 { delete( params: Params$Resource$Projects$Locations$Serviceclasses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Serviceclasses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Serviceclasses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7098,8 +7187,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceclasses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7152,11 +7241,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Serviceclasses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Serviceclasses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Serviceclasses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7185,7 +7274,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceclasses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7238,11 +7330,11 @@ export namespace networkconnectivity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7271,7 +7363,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7328,11 +7423,11 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Serviceclasses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Serviceclasses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Serviceclasses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7367,8 +7462,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceclasses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7424,11 +7519,11 @@ export namespace networkconnectivity_v1 { patch( params: Params$Resource$Projects$Locations$Serviceclasses$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Serviceclasses$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Serviceclasses$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7463,8 +7558,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceclasses$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7517,11 +7612,11 @@ export namespace networkconnectivity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7550,7 +7645,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7607,11 +7705,11 @@ export namespace networkconnectivity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7646,8 +7744,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7812,11 +7910,11 @@ export namespace networkconnectivity_v1 { create( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7851,8 +7949,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7909,11 +8007,11 @@ export namespace networkconnectivity_v1 { delete( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7948,8 +8046,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8003,11 +8101,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8040,8 +8138,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8095,11 +8193,11 @@ export namespace networkconnectivity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8128,7 +8226,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8185,11 +8286,13 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8224,8 +8327,10 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8284,11 +8389,11 @@ export namespace networkconnectivity_v1 { patch( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8323,8 +8428,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8378,11 +8483,11 @@ export namespace networkconnectivity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8411,7 +8516,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8468,11 +8576,11 @@ export namespace networkconnectivity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8507,8 +8615,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8693,11 +8801,11 @@ export namespace networkconnectivity_v1 { create( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8732,8 +8840,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8790,11 +8898,11 @@ export namespace networkconnectivity_v1 { delete( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8829,8 +8937,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8884,11 +8992,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8921,8 +9029,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8976,11 +9084,11 @@ export namespace networkconnectivity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9009,7 +9117,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9066,11 +9177,13 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9105,8 +9218,10 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9165,11 +9280,11 @@ export namespace networkconnectivity_v1 { patch( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9204,8 +9319,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9259,11 +9374,11 @@ export namespace networkconnectivity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9292,7 +9407,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9349,11 +9467,11 @@ export namespace networkconnectivity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9388,8 +9506,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9574,11 +9692,11 @@ export namespace networkconnectivity_v1 { create( params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9613,8 +9731,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9671,11 +9789,11 @@ export namespace networkconnectivity_v1 { delete( params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9710,8 +9828,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9765,11 +9883,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9802,8 +9920,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9857,11 +9975,13 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9896,8 +10016,10 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10029,11 +10151,11 @@ export namespace networkconnectivity_v1 { create( params: Params$Resource$Projects$Locations$Spokes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Spokes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Spokes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10068,8 +10190,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10125,11 +10247,11 @@ export namespace networkconnectivity_v1 { delete( params: Params$Resource$Projects$Locations$Spokes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Spokes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Spokes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10164,8 +10286,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10218,11 +10340,11 @@ export namespace networkconnectivity_v1 { get( params: Params$Resource$Projects$Locations$Spokes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Spokes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Spokes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10251,7 +10373,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10304,11 +10429,11 @@ export namespace networkconnectivity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Spokes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10337,7 +10462,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10393,11 +10521,11 @@ export namespace networkconnectivity_v1 { list( params: Params$Resource$Projects$Locations$Spokes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Spokes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Spokes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10428,8 +10556,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10485,11 +10613,11 @@ export namespace networkconnectivity_v1 { patch( params: Params$Resource$Projects$Locations$Spokes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Spokes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Spokes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10524,8 +10652,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10578,11 +10706,11 @@ export namespace networkconnectivity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Spokes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -10611,7 +10739,10 @@ export namespace networkconnectivity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10667,11 +10798,11 @@ export namespace networkconnectivity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Spokes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -10706,8 +10837,8 @@ export namespace networkconnectivity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/networkconnectivity/v1alpha1.ts b/src/apis/networkconnectivity/v1alpha1.ts index eff859e5c6e..6b3df5cabd9 100644 --- a/src/apis/networkconnectivity/v1alpha1.ts +++ b/src/apis/networkconnectivity/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -129,7 +129,7 @@ export namespace networkconnectivity_v1alpha1 { */ export interface Schema$AllocationOptions { /** - * Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used. + * Optional. Allocation strategy. Not setting this field when the allocation is requested means an implementation defined strategy is used. */ allocationStrategy?: string | null; /** @@ -663,11 +663,11 @@ export namespace networkconnectivity_v1alpha1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -696,7 +696,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -749,11 +752,11 @@ export namespace networkconnectivity_v1alpha1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -786,8 +789,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -890,11 +893,11 @@ export namespace networkconnectivity_v1alpha1 { create( params: Params$Resource$Projects$Locations$Global$Hubs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Hubs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Hubs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -929,8 +932,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -986,11 +989,11 @@ export namespace networkconnectivity_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Global$Hubs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Hubs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Hubs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1025,8 +1028,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1079,11 +1082,11 @@ export namespace networkconnectivity_v1alpha1 { get( params: Params$Resource$Projects$Locations$Global$Hubs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Hubs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Hubs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1112,7 +1115,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1165,11 +1171,11 @@ export namespace networkconnectivity_v1alpha1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Hubs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1198,7 +1204,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1255,11 +1264,11 @@ export namespace networkconnectivity_v1alpha1 { list( params: Params$Resource$Projects$Locations$Global$Hubs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Hubs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Hubs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1288,7 +1297,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1344,11 +1356,11 @@ export namespace networkconnectivity_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Global$Hubs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Hubs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Hubs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1383,8 +1395,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1437,11 +1449,11 @@ export namespace networkconnectivity_v1alpha1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Hubs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Hubs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1470,7 +1482,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1527,11 +1542,11 @@ export namespace networkconnectivity_v1alpha1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Hubs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Hubs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Hubs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1566,8 +1581,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Hubs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1748,11 +1763,11 @@ export namespace networkconnectivity_v1alpha1 { create( params: Params$Resource$Projects$Locations$Internalranges$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Internalranges$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Internalranges$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1787,8 +1802,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1844,11 +1859,11 @@ export namespace networkconnectivity_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Internalranges$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Internalranges$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Internalranges$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1883,8 +1898,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1937,11 +1952,11 @@ export namespace networkconnectivity_v1alpha1 { get( params: Params$Resource$Projects$Locations$Internalranges$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Internalranges$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Internalranges$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1970,7 +1985,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2023,11 +2041,11 @@ export namespace networkconnectivity_v1alpha1 { getIamPolicy( params: Params$Resource$Projects$Locations$Internalranges$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Internalranges$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Internalranges$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2056,7 +2074,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2113,11 +2134,11 @@ export namespace networkconnectivity_v1alpha1 { list( params: Params$Resource$Projects$Locations$Internalranges$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Internalranges$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Internalranges$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2152,8 +2173,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2209,11 +2230,11 @@ export namespace networkconnectivity_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Internalranges$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Internalranges$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Internalranges$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2248,8 +2269,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2302,11 +2323,11 @@ export namespace networkconnectivity_v1alpha1 { setIamPolicy( params: Params$Resource$Projects$Locations$Internalranges$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Internalranges$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Internalranges$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2335,7 +2356,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2392,11 +2416,11 @@ export namespace networkconnectivity_v1alpha1 { testIamPermissions( params: Params$Resource$Projects$Locations$Internalranges$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Internalranges$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Internalranges$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2431,8 +2455,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Internalranges$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2613,11 +2637,11 @@ export namespace networkconnectivity_v1alpha1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2646,7 +2670,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2702,11 +2729,11 @@ export namespace networkconnectivity_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2735,7 +2762,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2788,11 +2818,11 @@ export namespace networkconnectivity_v1alpha1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2827,8 +2857,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2881,11 +2911,13 @@ export namespace networkconnectivity_v1alpha1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2920,8 +2952,10 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3032,11 +3066,11 @@ export namespace networkconnectivity_v1alpha1 { create( params: Params$Resource$Projects$Locations$Spokes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Spokes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Spokes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3071,8 +3105,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3128,11 +3162,11 @@ export namespace networkconnectivity_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Spokes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Spokes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Spokes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3167,8 +3201,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3221,11 +3255,11 @@ export namespace networkconnectivity_v1alpha1 { get( params: Params$Resource$Projects$Locations$Spokes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Spokes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Spokes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3254,7 +3288,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3307,11 +3344,11 @@ export namespace networkconnectivity_v1alpha1 { getIamPolicy( params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Spokes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3340,7 +3377,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3396,11 +3436,11 @@ export namespace networkconnectivity_v1alpha1 { list( params: Params$Resource$Projects$Locations$Spokes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Spokes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Spokes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3431,8 +3471,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3488,11 +3528,11 @@ export namespace networkconnectivity_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Spokes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Spokes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Spokes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3527,8 +3567,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3581,11 +3621,11 @@ export namespace networkconnectivity_v1alpha1 { setIamPolicy( params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Spokes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3614,7 +3654,10 @@ export namespace networkconnectivity_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3670,11 +3713,11 @@ export namespace networkconnectivity_v1alpha1 { testIamPermissions( params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Spokes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3709,8 +3752,8 @@ export namespace networkconnectivity_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Spokes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/networkmanagement/index.ts b/src/apis/networkmanagement/index.ts index d817fa816b2..f454dd07faf 100644 --- a/src/apis/networkmanagement/index.ts +++ b/src/apis/networkmanagement/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/networkmanagement/package.json b/src/apis/networkmanagement/package.json index a87ae0f9197..db36f95fa4e 100644 --- a/src/apis/networkmanagement/package.json +++ b/src/apis/networkmanagement/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/networkmanagement/v1.ts b/src/apis/networkmanagement/v1.ts index 6280acb0d78..bf45eff88f6 100644 --- a/src/apis/networkmanagement/v1.ts +++ b/src/apis/networkmanagement/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1880,11 +1880,11 @@ export namespace networkmanagement_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1913,7 +1913,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1966,11 +1969,11 @@ export namespace networkmanagement_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2003,8 +2006,8 @@ export namespace networkmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2112,11 +2115,11 @@ export namespace networkmanagement_v1 { create( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2145,7 +2148,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2202,11 +2208,11 @@ export namespace networkmanagement_v1 { delete( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2235,7 +2241,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2289,11 +2298,11 @@ export namespace networkmanagement_v1 { get( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2322,7 +2331,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2376,11 +2388,11 @@ export namespace networkmanagement_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2409,7 +2421,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2466,11 +2481,11 @@ export namespace networkmanagement_v1 { list( params: Params$Resource$Projects$Locations$Global$Connectivitytests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Connectivitytests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2505,8 +2520,8 @@ export namespace networkmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2565,11 +2580,11 @@ export namespace networkmanagement_v1 { patch( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2598,7 +2613,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2652,11 +2670,11 @@ export namespace networkmanagement_v1 { rerun( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Rerun, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rerun( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Rerun, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rerun( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Rerun, options: StreamMethodOptions | BodyResponseCallback, @@ -2685,7 +2703,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Rerun; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2739,11 +2760,11 @@ export namespace networkmanagement_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2772,7 +2793,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2829,11 +2853,11 @@ export namespace networkmanagement_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2868,8 +2892,8 @@ export namespace networkmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3050,11 +3074,11 @@ export namespace networkmanagement_v1 { cancel( params: Params$Resource$Projects$Locations$Global$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Global$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Global$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3083,7 +3107,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3137,11 +3164,11 @@ export namespace networkmanagement_v1 { delete( params: Params$Resource$Projects$Locations$Global$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3170,7 +3197,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3224,11 +3254,11 @@ export namespace networkmanagement_v1 { get( params: Params$Resource$Projects$Locations$Global$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3257,7 +3287,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3310,11 +3343,11 @@ export namespace networkmanagement_v1 { list( params: Params$Resource$Projects$Locations$Global$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3347,8 +3380,8 @@ export namespace networkmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3458,11 +3491,11 @@ export namespace networkmanagement_v1 { create( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3491,7 +3524,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3548,11 +3584,11 @@ export namespace networkmanagement_v1 { delete( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3581,7 +3617,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3635,11 +3674,11 @@ export namespace networkmanagement_v1 { get( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3670,8 +3709,8 @@ export namespace networkmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3725,11 +3764,11 @@ export namespace networkmanagement_v1 { list( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3764,8 +3803,8 @@ export namespace networkmanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vpcflowlogsconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3824,11 +3863,11 @@ export namespace networkmanagement_v1 { patch( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3857,7 +3896,10 @@ export namespace networkmanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/networkmanagement/v1beta1.ts b/src/apis/networkmanagement/v1beta1.ts index 8295deae4de..ff7857c3f03 100644 --- a/src/apis/networkmanagement/v1beta1.ts +++ b/src/apis/networkmanagement/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1883,11 +1883,11 @@ export namespace networkmanagement_v1beta1 { get( params: Params$Resource$Organizations$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1916,7 +1916,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1969,11 +1972,11 @@ export namespace networkmanagement_v1beta1 { list( params: Params$Resource$Organizations$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2006,8 +2009,8 @@ export namespace networkmanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2112,11 +2115,11 @@ export namespace networkmanagement_v1beta1 { cancel( params: Params$Resource$Organizations$Locations$Global$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Locations$Global$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Locations$Global$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2145,7 +2148,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2202,11 +2208,11 @@ export namespace networkmanagement_v1beta1 { delete( params: Params$Resource$Organizations$Locations$Global$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Global$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Global$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2235,7 +2241,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2289,11 +2298,11 @@ export namespace networkmanagement_v1beta1 { get( params: Params$Resource$Organizations$Locations$Global$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Global$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Global$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2322,7 +2331,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2376,11 +2388,11 @@ export namespace networkmanagement_v1beta1 { list( params: Params$Resource$Organizations$Locations$Global$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Global$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Global$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2413,8 +2425,8 @@ export namespace networkmanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2538,11 +2550,11 @@ export namespace networkmanagement_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2571,7 +2583,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2624,11 +2639,11 @@ export namespace networkmanagement_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2661,8 +2676,8 @@ export namespace networkmanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2770,11 +2785,11 @@ export namespace networkmanagement_v1beta1 { create( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2803,7 +2818,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2860,11 +2878,11 @@ export namespace networkmanagement_v1beta1 { delete( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2893,7 +2911,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2947,11 +2968,11 @@ export namespace networkmanagement_v1beta1 { get( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2980,7 +3001,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3034,11 +3058,11 @@ export namespace networkmanagement_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3067,7 +3091,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3124,11 +3151,11 @@ export namespace networkmanagement_v1beta1 { list( params: Params$Resource$Projects$Locations$Global$Connectivitytests$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Connectivitytests$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3163,8 +3190,8 @@ export namespace networkmanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3223,11 +3250,11 @@ export namespace networkmanagement_v1beta1 { patch( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3256,7 +3283,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3310,11 +3340,11 @@ export namespace networkmanagement_v1beta1 { rerun( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Rerun, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rerun( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Rerun, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rerun( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Rerun, options: StreamMethodOptions | BodyResponseCallback, @@ -3343,7 +3373,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Rerun; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3400,11 +3433,11 @@ export namespace networkmanagement_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3433,7 +3466,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3490,11 +3526,11 @@ export namespace networkmanagement_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Global$Connectivitytests$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Global$Connectivitytests$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3529,8 +3565,8 @@ export namespace networkmanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Connectivitytests$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3711,11 +3747,11 @@ export namespace networkmanagement_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Global$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Global$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Global$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3744,7 +3780,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3801,11 +3840,11 @@ export namespace networkmanagement_v1beta1 { delete( params: Params$Resource$Projects$Locations$Global$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3834,7 +3873,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3888,11 +3930,11 @@ export namespace networkmanagement_v1beta1 { get( params: Params$Resource$Projects$Locations$Global$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Global$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3921,7 +3963,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3974,11 +4019,11 @@ export namespace networkmanagement_v1beta1 { list( params: Params$Resource$Projects$Locations$Global$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Global$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4011,8 +4056,8 @@ export namespace networkmanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4122,11 +4167,11 @@ export namespace networkmanagement_v1beta1 { create( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4155,7 +4200,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4212,11 +4260,11 @@ export namespace networkmanagement_v1beta1 { delete( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4245,7 +4293,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4299,11 +4350,11 @@ export namespace networkmanagement_v1beta1 { get( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4334,8 +4385,8 @@ export namespace networkmanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4389,11 +4440,11 @@ export namespace networkmanagement_v1beta1 { list( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4428,8 +4479,8 @@ export namespace networkmanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vpcflowlogsconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4488,11 +4539,11 @@ export namespace networkmanagement_v1beta1 { patch( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4521,7 +4572,10 @@ export namespace networkmanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vpcflowlogsconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/networksecurity/index.ts b/src/apis/networksecurity/index.ts index 365a22a447e..9d593af5700 100644 --- a/src/apis/networksecurity/index.ts +++ b/src/apis/networksecurity/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/networksecurity/package.json b/src/apis/networksecurity/package.json index 5213d9d3e07..f4c6359f2e8 100644 --- a/src/apis/networksecurity/package.json +++ b/src/apis/networksecurity/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/networksecurity/v1.ts b/src/apis/networksecurity/v1.ts index 481c23a48ac..3c092176757 100644 --- a/src/apis/networksecurity/v1.ts +++ b/src/apis/networksecurity/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -306,7 +306,7 @@ export namespace networksecurity_v1 { */ export interface Schema$AuthzPolicyAuthzRuleFromRequestSource { /** - * Optional. A list of identities derived from the client's certificate. This field will not match on a request unless mutual TLS is enabled for the forwarding rule or Gateway. For Application Load Balancers, each identity is a string whose value is matched against the URI SAN, or DNS SAN, or SPIFFE ID, or the subject field in the client's certificate. For Cloud Service Mesh, each identity is a string whose value is matched against the URI SAN, or DNS SAN, or the subject field in the client's certificate. The match can be exact, prefix, suffix, or a substring match. One of exact, prefix, suffix, or contains must be specified. Limited to 5 principals. + * Optional. A list of identities derived from the client's certificate. This field is under development and we don't recommend using it at this time. Limited to 5 principals. */ principals?: Schema$AuthzPolicyAuthzRuleStringMatch[]; /** @@ -2249,11 +2249,11 @@ export namespace networksecurity_v1 { addItems( params: Params$Resource$Organizations$Locations$Addressgroups$Additems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addItems( params?: Params$Resource$Organizations$Locations$Addressgroups$Additems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addItems( params: Params$Resource$Organizations$Locations$Addressgroups$Additems, options: StreamMethodOptions | BodyResponseCallback, @@ -2282,7 +2282,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Additems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2339,11 +2342,11 @@ export namespace networksecurity_v1 { cloneItems( params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneItems( params?: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneItems( params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions | BodyResponseCallback, @@ -2372,7 +2375,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Cloneitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2429,11 +2435,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Organizations$Locations$Addressgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Addressgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Addressgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2462,7 +2468,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2519,11 +2528,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Organizations$Locations$Addressgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Addressgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Addressgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2552,7 +2561,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2606,11 +2618,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Organizations$Locations$Addressgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Addressgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Addressgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2639,7 +2651,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2693,11 +2708,11 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Organizations$Locations$Addressgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Addressgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Addressgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2732,8 +2747,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2790,11 +2805,13 @@ export namespace networksecurity_v1 { listReferences( params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listReferences( params?: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listReferences( params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, options: StreamMethodOptions | BodyResponseCallback, @@ -2829,8 +2846,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Listreferences; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2889,11 +2908,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Organizations$Locations$Addressgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Addressgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Addressgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2922,7 +2941,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2976,11 +2998,11 @@ export namespace networksecurity_v1 { removeItems( params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeItems( params?: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeItems( params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, options: StreamMethodOptions | BodyResponseCallback, @@ -3009,7 +3031,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Removeitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3202,11 +3227,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Firewallendpoints$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3235,7 +3260,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3292,11 +3320,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3325,7 +3353,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3379,11 +3410,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Organizations$Locations$Firewallendpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Firewallendpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Firewallendpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3412,7 +3443,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3466,11 +3500,11 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Organizations$Locations$Firewallendpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Firewallendpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Firewallendpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3505,8 +3539,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Firewallendpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3565,11 +3599,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3598,7 +3632,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3741,11 +3778,11 @@ export namespace networksecurity_v1 { cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3774,7 +3811,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3828,11 +3868,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3861,7 +3901,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3915,11 +3958,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3948,7 +3991,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4001,11 +4047,11 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4038,8 +4084,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4148,11 +4194,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4181,7 +4227,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4238,11 +4287,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4271,7 +4320,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4325,11 +4377,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4362,8 +4414,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4417,11 +4469,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Organizations$Locations$Securityprofilegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Securityprofilegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Securityprofilegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4456,8 +4510,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4516,11 +4572,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4549,7 +4605,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4676,11 +4735,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Organizations$Locations$Securityprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Securityprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Securityprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4709,7 +4768,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4766,11 +4828,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Organizations$Locations$Securityprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Securityprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Securityprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4799,7 +4861,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4853,11 +4918,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Organizations$Locations$Securityprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Securityprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Securityprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4886,7 +4951,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4940,11 +5008,11 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Organizations$Locations$Securityprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Securityprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Securityprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4979,8 +5047,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5039,11 +5107,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Securityprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5072,7 +5140,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5270,11 +5341,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5303,7 +5374,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5356,11 +5430,11 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5393,8 +5467,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5488,11 +5562,11 @@ export namespace networksecurity_v1 { addItems( params: Params$Resource$Projects$Locations$Addressgroups$Additems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addItems( params?: Params$Resource$Projects$Locations$Addressgroups$Additems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addItems( params: Params$Resource$Projects$Locations$Addressgroups$Additems, options: StreamMethodOptions | BodyResponseCallback, @@ -5521,7 +5595,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Additems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5578,11 +5655,11 @@ export namespace networksecurity_v1 { cloneItems( params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneItems( params?: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneItems( params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions | BodyResponseCallback, @@ -5611,7 +5688,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Cloneitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5668,11 +5748,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Addressgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Addressgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Addressgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5701,7 +5781,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5757,11 +5840,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Addressgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Addressgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Addressgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5790,7 +5873,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5843,11 +5929,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Addressgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Addressgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Addressgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5876,7 +5962,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5929,11 +6018,11 @@ export namespace networksecurity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5966,8 +6055,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6024,11 +6113,11 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Addressgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Addressgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Addressgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6063,8 +6152,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6120,11 +6209,13 @@ export namespace networksecurity_v1 { listReferences( params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listReferences( params?: Params$Resource$Projects$Locations$Addressgroups$Listreferences, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listReferences( params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, options: StreamMethodOptions | BodyResponseCallback, @@ -6159,8 +6250,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Listreferences; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6219,11 +6312,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Addressgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Addressgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Addressgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6252,7 +6345,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6305,11 +6401,11 @@ export namespace networksecurity_v1 { removeItems( params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeItems( params?: Params$Resource$Projects$Locations$Addressgroups$Removeitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeItems( params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, options: StreamMethodOptions | BodyResponseCallback, @@ -6338,7 +6434,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Removeitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6395,11 +6494,11 @@ export namespace networksecurity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6432,8 +6531,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6490,11 +6589,13 @@ export namespace networksecurity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6529,8 +6630,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6760,11 +6863,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6793,7 +6896,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6850,11 +6956,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6883,7 +6989,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6937,11 +7046,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Authorizationpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Authorizationpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6972,8 +7081,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7027,11 +7136,11 @@ export namespace networksecurity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7064,8 +7173,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7122,11 +7231,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Authorizationpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Authorizationpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Authorizationpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7161,8 +7272,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7221,11 +7334,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7254,7 +7367,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7308,11 +7424,11 @@ export namespace networksecurity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7345,8 +7461,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7403,11 +7519,13 @@ export namespace networksecurity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7442,8 +7560,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7606,11 +7726,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Authzpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Authzpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Authzpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7639,7 +7759,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7695,11 +7818,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Authzpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Authzpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Authzpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7728,7 +7851,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7781,11 +7907,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Authzpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Authzpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Authzpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7814,7 +7940,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7867,11 +7996,11 @@ export namespace networksecurity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7904,8 +8033,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7962,11 +8091,11 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Authzpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Authzpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Authzpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8001,8 +8130,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8058,11 +8187,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Authzpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Authzpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Authzpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8091,7 +8220,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8144,11 +8276,11 @@ export namespace networksecurity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8181,8 +8313,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8239,11 +8371,13 @@ export namespace networksecurity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8278,8 +8412,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8462,11 +8598,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8495,7 +8631,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8552,11 +8691,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8585,7 +8724,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8639,11 +8781,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Clienttlspolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clienttlspolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8672,7 +8814,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8725,11 +8870,11 @@ export namespace networksecurity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8762,8 +8907,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8820,11 +8965,11 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Clienttlspolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clienttlspolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clienttlspolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8859,8 +9004,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8919,11 +9064,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8952,7 +9097,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9006,11 +9154,11 @@ export namespace networksecurity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9043,8 +9191,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9101,11 +9249,13 @@ export namespace networksecurity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9140,8 +9290,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9304,11 +9456,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9337,7 +9489,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9393,11 +9548,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9426,7 +9581,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9480,11 +9638,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9519,8 +9677,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9574,11 +9732,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Firewallendpointassociations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Firewallendpointassociations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Firewallendpointassociations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9613,8 +9773,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9672,11 +9834,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9705,7 +9867,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9853,11 +10018,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9886,7 +10051,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9943,11 +10111,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9976,7 +10144,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10030,11 +10201,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10067,8 +10238,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10122,11 +10293,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10161,8 +10334,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10221,11 +10396,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10254,7 +10429,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10377,11 +10555,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10410,7 +10588,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10467,11 +10648,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10500,7 +10681,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10554,11 +10738,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10591,8 +10775,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10646,11 +10830,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10685,8 +10871,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10745,11 +10933,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10778,7 +10966,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10901,11 +11092,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10934,7 +11125,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10991,11 +11185,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11024,7 +11218,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11078,11 +11275,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11115,8 +11312,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11170,11 +11367,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11209,8 +11408,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11269,11 +11470,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11302,7 +11503,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11445,11 +11649,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Interceptdeployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Interceptdeployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Interceptdeployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11478,7 +11682,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11535,11 +11742,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Interceptdeployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Interceptdeployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Interceptdeployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11568,7 +11775,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11622,11 +11832,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Interceptdeployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Interceptdeployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Interceptdeployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11657,8 +11867,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11712,11 +11922,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Interceptdeployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Interceptdeployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Interceptdeployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11751,8 +11963,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11811,11 +12025,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Interceptdeployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11844,7 +12058,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11987,11 +12204,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12020,7 +12237,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12076,11 +12296,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12109,7 +12329,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12163,11 +12386,13 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12202,8 +12427,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12259,11 +12486,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12298,8 +12527,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12357,11 +12588,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12390,7 +12621,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12533,11 +12767,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12566,7 +12800,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12623,11 +12860,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12656,7 +12893,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12710,11 +12950,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12747,8 +12987,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12802,11 +13042,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Interceptendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Interceptendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Interceptendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12841,8 +13083,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12901,11 +13145,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12934,7 +13178,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13077,11 +13324,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13110,7 +13357,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13167,11 +13417,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13200,7 +13450,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13254,11 +13507,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13291,8 +13544,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13346,11 +13599,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13385,8 +13640,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13445,11 +13702,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13478,7 +13735,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13621,11 +13881,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Mirroringdeployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13654,7 +13914,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13711,11 +13974,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13744,7 +14007,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13798,11 +14064,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Mirroringdeployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Mirroringdeployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Mirroringdeployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13833,8 +14099,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13888,11 +14154,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Mirroringdeployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Mirroringdeployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Mirroringdeployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13927,8 +14195,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13987,11 +14257,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14020,7 +14290,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14163,11 +14436,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14196,7 +14469,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14252,11 +14528,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14285,7 +14561,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14339,11 +14618,13 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14378,8 +14659,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14435,11 +14718,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14474,8 +14759,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14533,11 +14820,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14566,7 +14853,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14709,11 +14999,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14742,7 +15032,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14799,11 +15092,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14832,7 +15125,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14886,11 +15182,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14923,8 +15219,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14978,11 +15274,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15017,8 +15315,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15077,11 +15377,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15110,7 +15410,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15253,11 +15556,11 @@ export namespace networksecurity_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -15286,7 +15589,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15339,11 +15645,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15372,7 +15678,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15425,11 +15734,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15458,7 +15767,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15511,11 +15823,11 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15548,8 +15860,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15658,11 +15970,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Servertlspolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Servertlspolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Servertlspolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15691,7 +16003,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15748,11 +16063,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Servertlspolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Servertlspolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Servertlspolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15781,7 +16096,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15835,11 +16153,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Servertlspolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Servertlspolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Servertlspolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15868,7 +16186,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15921,11 +16242,11 @@ export namespace networksecurity_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Servertlspolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Servertlspolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Servertlspolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -15958,8 +16279,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16016,11 +16337,11 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Servertlspolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Servertlspolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Servertlspolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16055,8 +16376,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16115,11 +16436,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Servertlspolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Servertlspolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Servertlspolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16148,7 +16469,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16202,11 +16526,11 @@ export namespace networksecurity_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Servertlspolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Servertlspolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Servertlspolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -16239,8 +16563,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16297,11 +16621,13 @@ export namespace networksecurity_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Servertlspolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Servertlspolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Servertlspolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -16336,8 +16662,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16504,11 +16832,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16537,7 +16865,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsinspectionpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16594,11 +16925,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16627,7 +16958,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsinspectionpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16681,11 +17015,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16716,8 +17050,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsinspectionpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16771,11 +17105,13 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tlsinspectionpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16810,8 +17146,10 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsinspectionpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16870,11 +17208,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16903,7 +17241,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsinspectionpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17030,11 +17371,11 @@ export namespace networksecurity_v1 { create( params: Params$Resource$Projects$Locations$Urllists$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Urllists$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Urllists$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17063,7 +17404,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Urllists$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17119,11 +17463,11 @@ export namespace networksecurity_v1 { delete( params: Params$Resource$Projects$Locations$Urllists$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Urllists$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Urllists$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17152,7 +17496,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Urllists$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17205,11 +17552,11 @@ export namespace networksecurity_v1 { get( params: Params$Resource$Projects$Locations$Urllists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Urllists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Urllists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17238,7 +17585,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Urllists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17291,11 +17641,11 @@ export namespace networksecurity_v1 { list( params: Params$Resource$Projects$Locations$Urllists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Urllists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Urllists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17328,8 +17678,8 @@ export namespace networksecurity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Urllists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17385,11 +17735,11 @@ export namespace networksecurity_v1 { patch( params: Params$Resource$Projects$Locations$Urllists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Urllists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Urllists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17418,7 +17768,10 @@ export namespace networksecurity_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Urllists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/networksecurity/v1beta1.ts b/src/apis/networksecurity/v1beta1.ts index 89f3a459218..5a40400eda8 100644 --- a/src/apis/networksecurity/v1beta1.ts +++ b/src/apis/networksecurity/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -306,7 +306,7 @@ export namespace networksecurity_v1beta1 { */ export interface Schema$AuthzPolicyAuthzRuleFromRequestSource { /** - * Optional. A list of identities derived from the client's certificate. This field will not match on a request unless mutual TLS is enabled for the forwarding rule or Gateway. For Application Load Balancers, each identity is a string whose value is matched against the URI SAN, or DNS SAN, or SPIFFE ID, or the subject field in the client's certificate. For Cloud Service Mesh, each identity is a string whose value is matched against the URI SAN, or DNS SAN, or the subject field in the client's certificate. The match can be exact, prefix, suffix, or a substring match. One of exact, prefix, suffix, or contains must be specified. Limited to 5 principals. + * Optional. A list of identities derived from the client's certificate. This field is under development and we don't recommend using it at this time. Limited to 5 principals. */ principals?: Schema$AuthzPolicyAuthzRuleStringMatch[]; /** @@ -2307,11 +2307,11 @@ export namespace networksecurity_v1beta1 { addItems( params: Params$Resource$Organizations$Locations$Addressgroups$Additems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addItems( params?: Params$Resource$Organizations$Locations$Addressgroups$Additems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addItems( params: Params$Resource$Organizations$Locations$Addressgroups$Additems, options: StreamMethodOptions | BodyResponseCallback, @@ -2340,7 +2340,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Additems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2397,11 +2400,11 @@ export namespace networksecurity_v1beta1 { cloneItems( params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneItems( params?: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneItems( params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions | BodyResponseCallback, @@ -2430,7 +2433,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Cloneitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2487,11 +2493,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Organizations$Locations$Addressgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Addressgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Addressgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2520,7 +2526,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2577,11 +2586,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Organizations$Locations$Addressgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Addressgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Addressgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2610,7 +2619,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2664,11 +2676,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Organizations$Locations$Addressgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Addressgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Addressgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2697,7 +2709,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2751,11 +2766,11 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Organizations$Locations$Addressgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Addressgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Addressgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2790,8 +2805,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2848,11 +2863,13 @@ export namespace networksecurity_v1beta1 { listReferences( params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listReferences( params?: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listReferences( params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, options: StreamMethodOptions | BodyResponseCallback, @@ -2887,8 +2904,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Listreferences; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2947,11 +2966,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Organizations$Locations$Addressgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Addressgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Addressgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2980,7 +2999,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3034,11 +3056,11 @@ export namespace networksecurity_v1beta1 { removeItems( params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeItems( params?: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeItems( params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, options: StreamMethodOptions | BodyResponseCallback, @@ -3067,7 +3089,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Addressgroups$Removeitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3260,11 +3285,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Firewallendpoints$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3293,7 +3318,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3350,11 +3378,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3383,7 +3411,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3437,11 +3468,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Organizations$Locations$Firewallendpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Firewallendpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Firewallendpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3470,7 +3501,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3524,11 +3558,11 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Organizations$Locations$Firewallendpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Firewallendpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Firewallendpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3563,8 +3597,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Firewallendpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3623,11 +3657,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3656,7 +3690,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3799,11 +3836,11 @@ export namespace networksecurity_v1beta1 { cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3832,7 +3869,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3889,11 +3929,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3922,7 +3962,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3976,11 +4019,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4009,7 +4052,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4062,11 +4108,11 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4099,8 +4145,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4209,11 +4255,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4242,7 +4288,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4299,11 +4348,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4332,7 +4381,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4386,11 +4438,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4423,8 +4475,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4478,11 +4530,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Organizations$Locations$Securityprofilegroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Securityprofilegroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Securityprofilegroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4517,8 +4571,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4577,11 +4633,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4610,7 +4666,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4737,11 +4796,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Organizations$Locations$Securityprofiles$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Securityprofiles$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Securityprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4770,7 +4829,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4827,11 +4889,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Organizations$Locations$Securityprofiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Securityprofiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Securityprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4860,7 +4922,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4914,11 +4979,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Organizations$Locations$Securityprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Securityprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Securityprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4947,7 +5012,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5001,11 +5069,11 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Organizations$Locations$Securityprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Securityprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Securityprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5040,8 +5108,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5100,11 +5168,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Securityprofiles$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5133,7 +5201,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Securityprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5336,11 +5407,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5369,7 +5440,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5422,11 +5496,11 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5459,8 +5533,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5554,11 +5628,11 @@ export namespace networksecurity_v1beta1 { addItems( params: Params$Resource$Projects$Locations$Addressgroups$Additems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addItems( params?: Params$Resource$Projects$Locations$Addressgroups$Additems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addItems( params: Params$Resource$Projects$Locations$Addressgroups$Additems, options: StreamMethodOptions | BodyResponseCallback, @@ -5587,7 +5661,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Additems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5644,11 +5721,11 @@ export namespace networksecurity_v1beta1 { cloneItems( params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cloneItems( params?: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cloneItems( params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions | BodyResponseCallback, @@ -5677,7 +5754,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Cloneitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5734,11 +5814,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Addressgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Addressgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Addressgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5767,7 +5847,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5823,11 +5906,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Addressgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Addressgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Addressgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5856,7 +5939,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5909,11 +5995,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Addressgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Addressgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Addressgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5942,7 +6028,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5995,11 +6084,11 @@ export namespace networksecurity_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6032,8 +6121,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6090,11 +6179,11 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Addressgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Addressgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Addressgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6129,8 +6218,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6186,11 +6275,13 @@ export namespace networksecurity_v1beta1 { listReferences( params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listReferences( params?: Params$Resource$Projects$Locations$Addressgroups$Listreferences, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listReferences( params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, options: StreamMethodOptions | BodyResponseCallback, @@ -6225,8 +6316,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Listreferences; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6285,11 +6378,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Addressgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Addressgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Addressgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6318,7 +6411,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6371,11 +6467,11 @@ export namespace networksecurity_v1beta1 { removeItems( params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeItems( params?: Params$Resource$Projects$Locations$Addressgroups$Removeitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeItems( params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, options: StreamMethodOptions | BodyResponseCallback, @@ -6404,7 +6500,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Removeitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6461,11 +6560,11 @@ export namespace networksecurity_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6498,8 +6597,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6556,11 +6655,13 @@ export namespace networksecurity_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6595,8 +6696,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Addressgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6826,11 +6929,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6859,7 +6962,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6916,11 +7022,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6949,7 +7055,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7003,11 +7112,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Authorizationpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Authorizationpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7038,8 +7147,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7093,11 +7202,11 @@ export namespace networksecurity_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7130,8 +7239,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7188,11 +7297,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Authorizationpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Authorizationpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Authorizationpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7227,8 +7338,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7287,11 +7400,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7320,7 +7433,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7374,11 +7490,11 @@ export namespace networksecurity_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7411,8 +7527,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7469,11 +7585,13 @@ export namespace networksecurity_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7508,8 +7626,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7672,11 +7792,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Authzpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Authzpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Authzpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7705,7 +7825,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7761,11 +7884,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Authzpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Authzpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Authzpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7794,7 +7917,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7847,11 +7973,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Authzpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Authzpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Authzpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7880,7 +8006,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7933,11 +8062,11 @@ export namespace networksecurity_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7970,8 +8099,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8028,11 +8157,11 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Authzpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Authzpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Authzpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8067,8 +8196,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8124,11 +8253,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Authzpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Authzpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Authzpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8157,7 +8286,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8210,11 +8342,11 @@ export namespace networksecurity_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8247,8 +8379,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8305,11 +8437,13 @@ export namespace networksecurity_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8344,8 +8478,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8528,11 +8664,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8561,7 +8697,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8617,11 +8756,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8650,7 +8789,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8704,11 +8846,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8743,8 +8885,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8798,11 +8940,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8837,8 +8981,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8896,11 +9042,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8929,7 +9075,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9056,11 +9205,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9089,7 +9238,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9146,11 +9298,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9179,7 +9331,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9233,11 +9388,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Clienttlspolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clienttlspolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9266,7 +9421,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9319,11 +9477,11 @@ export namespace networksecurity_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9356,8 +9514,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9414,11 +9572,11 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Clienttlspolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clienttlspolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clienttlspolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9453,8 +9611,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9513,11 +9671,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9546,7 +9704,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9600,11 +9761,11 @@ export namespace networksecurity_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9637,8 +9798,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9695,11 +9856,13 @@ export namespace networksecurity_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9734,8 +9897,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9898,11 +10063,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9931,7 +10096,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9987,11 +10155,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10020,7 +10188,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10074,11 +10245,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10113,8 +10284,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10168,11 +10339,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Firewallendpointassociations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Firewallendpointassociations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Firewallendpointassociations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10207,8 +10380,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10266,11 +10441,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10299,7 +10474,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10447,11 +10625,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10480,7 +10658,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10536,11 +10717,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10569,7 +10750,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10623,11 +10807,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10660,8 +10844,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10715,11 +10899,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10754,8 +10940,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10813,11 +11001,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10846,7 +11034,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10969,11 +11160,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11002,7 +11193,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11059,11 +11253,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11092,7 +11286,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11146,11 +11343,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11183,8 +11380,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11238,11 +11435,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11277,8 +11476,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11337,11 +11538,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11370,7 +11571,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11493,11 +11697,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11526,7 +11730,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11582,11 +11789,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11615,7 +11822,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11669,11 +11879,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11706,8 +11916,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11761,11 +11971,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11800,8 +12012,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11859,11 +12073,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11892,7 +12106,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12035,11 +12252,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Interceptdeployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Interceptdeployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Interceptdeployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12068,7 +12285,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12125,11 +12345,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Interceptdeployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Interceptdeployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Interceptdeployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12158,7 +12378,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12212,11 +12435,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Interceptdeployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Interceptdeployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Interceptdeployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12247,8 +12470,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12302,11 +12525,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Interceptdeployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Interceptdeployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Interceptdeployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12341,8 +12566,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12401,11 +12628,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Interceptdeployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12434,7 +12661,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptdeployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12577,11 +12807,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12610,7 +12840,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12666,11 +12899,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12699,7 +12932,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12753,11 +12989,13 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12792,8 +13030,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12849,11 +13089,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12888,8 +13130,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12947,11 +13191,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12980,7 +13224,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13123,11 +13370,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13156,7 +13403,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13212,11 +13462,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13245,7 +13495,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13299,11 +13552,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13336,8 +13589,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13391,11 +13644,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Interceptendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Interceptendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Interceptendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13430,8 +13685,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13489,11 +13746,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13522,7 +13779,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13665,11 +13925,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13698,7 +13958,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13754,11 +14017,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13787,7 +14050,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13841,11 +14107,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13878,8 +14144,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13933,11 +14199,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13972,8 +14240,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14031,11 +14301,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14064,7 +14334,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14207,11 +14480,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Mirroringdeployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14240,7 +14513,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14297,11 +14573,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14330,7 +14606,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14384,11 +14663,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Mirroringdeployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Mirroringdeployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Mirroringdeployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14419,8 +14698,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14474,11 +14753,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Mirroringdeployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Mirroringdeployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Mirroringdeployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14513,8 +14794,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14573,11 +14856,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14606,7 +14889,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14749,11 +15035,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14782,7 +15068,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14838,11 +15127,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14871,7 +15160,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14925,11 +15217,13 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14964,8 +15258,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15021,11 +15317,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15060,8 +15358,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15119,11 +15419,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15152,7 +15452,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15295,11 +15598,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15328,7 +15631,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15384,11 +15690,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15417,7 +15723,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15471,11 +15780,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15508,8 +15817,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15563,11 +15872,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15602,8 +15913,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15661,11 +15974,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15694,7 +16007,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15837,11 +16153,11 @@ export namespace networksecurity_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -15870,7 +16186,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15926,11 +16245,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15959,7 +16278,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16012,11 +16334,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16045,7 +16367,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16098,11 +16423,11 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16135,8 +16460,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16245,11 +16570,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Servertlspolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Servertlspolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Servertlspolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16278,7 +16603,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16335,11 +16663,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Servertlspolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Servertlspolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Servertlspolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16368,7 +16696,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16422,11 +16753,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Servertlspolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Servertlspolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Servertlspolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16455,7 +16786,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16508,11 +16842,11 @@ export namespace networksecurity_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Servertlspolicies$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Servertlspolicies$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Servertlspolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -16545,8 +16879,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16603,11 +16937,11 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Servertlspolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Servertlspolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Servertlspolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16642,8 +16976,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16702,11 +17036,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Servertlspolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Servertlspolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Servertlspolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16735,7 +17069,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16789,11 +17126,11 @@ export namespace networksecurity_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Servertlspolicies$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Servertlspolicies$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Servertlspolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -16826,8 +17163,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16884,11 +17221,13 @@ export namespace networksecurity_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Servertlspolicies$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Servertlspolicies$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Servertlspolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -16923,8 +17262,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servertlspolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17091,11 +17432,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17124,7 +17465,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsinspectionpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17181,11 +17525,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17214,7 +17558,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsinspectionpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17268,11 +17615,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17303,8 +17650,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsinspectionpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17358,11 +17705,13 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tlsinspectionpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17397,8 +17746,10 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsinspectionpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17457,11 +17808,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Tlsinspectionpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17490,7 +17841,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsinspectionpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17617,11 +17971,11 @@ export namespace networksecurity_v1beta1 { create( params: Params$Resource$Projects$Locations$Urllists$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Urllists$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Urllists$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -17650,7 +18004,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Urllists$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17706,11 +18063,11 @@ export namespace networksecurity_v1beta1 { delete( params: Params$Resource$Projects$Locations$Urllists$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Urllists$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Urllists$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -17739,7 +18096,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Urllists$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17792,11 +18152,11 @@ export namespace networksecurity_v1beta1 { get( params: Params$Resource$Projects$Locations$Urllists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Urllists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Urllists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17825,7 +18185,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Urllists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17878,11 +18241,11 @@ export namespace networksecurity_v1beta1 { list( params: Params$Resource$Projects$Locations$Urllists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Urllists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Urllists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17915,8 +18278,8 @@ export namespace networksecurity_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Urllists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17972,11 +18335,11 @@ export namespace networksecurity_v1beta1 { patch( params: Params$Resource$Projects$Locations$Urllists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Urllists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Urllists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18005,7 +18368,10 @@ export namespace networksecurity_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Urllists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/networkservices/index.ts b/src/apis/networkservices/index.ts index 8c1538c5bca..03f6620b9a4 100644 --- a/src/apis/networkservices/index.ts +++ b/src/apis/networkservices/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/networkservices/package.json b/src/apis/networkservices/package.json index 99191ec9c8a..5a82e7abe13 100644 --- a/src/apis/networkservices/package.json +++ b/src/apis/networkservices/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/networkservices/v1.ts b/src/apis/networkservices/v1.ts index 7d726317bf8..7d742b7d0e2 100644 --- a/src/apis/networkservices/v1.ts +++ b/src/apis/networkservices/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2277,11 +2277,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2310,7 +2310,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2363,11 +2366,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2400,8 +2403,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2495,11 +2498,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Authzextensions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Authzextensions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Authzextensions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2528,7 +2531,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzextensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2585,11 +2591,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Authzextensions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2618,7 +2624,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzextensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2672,11 +2681,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Authzextensions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Authzextensions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Authzextensions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2705,7 +2714,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzextensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2758,11 +2770,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Authzextensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Authzextensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Authzextensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2797,8 +2809,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzextensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2854,11 +2866,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Authzextensions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2887,7 +2899,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzextensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3029,11 +3044,11 @@ export namespace networkservices_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3062,7 +3077,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3119,11 +3137,11 @@ export namespace networkservices_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Edgecachekeysets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Edgecachekeysets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Edgecachekeysets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3152,7 +3170,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgecachekeysets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3209,11 +3230,11 @@ export namespace networkservices_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Edgecachekeysets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Edgecachekeysets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Edgecachekeysets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3248,8 +3269,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgecachekeysets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3349,11 +3370,11 @@ export namespace networkservices_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Edgecacheorigins$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Edgecacheorigins$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Edgecacheorigins$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3382,7 +3403,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgecacheorigins$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3439,11 +3463,11 @@ export namespace networkservices_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Edgecacheorigins$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Edgecacheorigins$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Edgecacheorigins$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3472,7 +3496,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgecacheorigins$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3529,11 +3556,11 @@ export namespace networkservices_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Edgecacheorigins$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Edgecacheorigins$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Edgecacheorigins$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3568,8 +3595,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgecacheorigins$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3669,11 +3696,11 @@ export namespace networkservices_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Edgecacheservices$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Edgecacheservices$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Edgecacheservices$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3702,7 +3729,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgecacheservices$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3759,11 +3789,11 @@ export namespace networkservices_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Edgecacheservices$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Edgecacheservices$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Edgecacheservices$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3792,7 +3822,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgecacheservices$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3849,11 +3882,11 @@ export namespace networkservices_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Edgecacheservices$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Edgecacheservices$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Edgecacheservices$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3888,8 +3921,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Edgecacheservices$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3989,11 +4022,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Endpointpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Endpointpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Endpointpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4022,7 +4055,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4079,11 +4115,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Endpointpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Endpointpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Endpointpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4112,7 +4148,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4166,11 +4205,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Endpointpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Endpointpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Endpointpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4199,7 +4238,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4252,11 +4294,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Endpointpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Endpointpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Endpointpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4291,8 +4333,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4350,11 +4392,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Endpointpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Endpointpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Endpointpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4383,7 +4425,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4514,11 +4559,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Gateways$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4547,7 +4592,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4603,11 +4651,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Gateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4636,7 +4684,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4689,11 +4740,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Gateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4722,7 +4773,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4775,11 +4829,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4812,8 +4866,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4869,11 +4923,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Gateways$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4902,7 +4956,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5024,11 +5081,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5057,7 +5114,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Routeviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5111,11 +5171,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5150,8 +5210,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Routeviews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5240,11 +5300,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Grpcroutes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Grpcroutes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Grpcroutes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5273,7 +5333,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Grpcroutes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5329,11 +5392,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Grpcroutes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Grpcroutes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Grpcroutes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5362,7 +5425,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Grpcroutes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5415,11 +5481,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Grpcroutes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Grpcroutes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Grpcroutes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5448,7 +5514,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Grpcroutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5501,11 +5570,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Grpcroutes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Grpcroutes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Grpcroutes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5538,8 +5607,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Grpcroutes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5595,11 +5664,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Grpcroutes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Grpcroutes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Grpcroutes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5628,7 +5697,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Grpcroutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5754,11 +5826,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Httproutes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Httproutes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Httproutes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5787,7 +5859,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Httproutes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5843,11 +5918,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Httproutes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Httproutes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Httproutes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5876,7 +5951,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Httproutes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5929,11 +6007,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Httproutes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Httproutes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Httproutes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5962,7 +6040,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Httproutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6015,11 +6096,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Httproutes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Httproutes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Httproutes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6052,8 +6133,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Httproutes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6109,11 +6190,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Httproutes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Httproutes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Httproutes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6142,7 +6223,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Httproutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6268,11 +6352,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6301,7 +6385,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6358,11 +6445,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6391,7 +6478,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6445,11 +6535,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6478,7 +6568,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6531,11 +6624,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Lbrouteextensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lbrouteextensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Lbrouteextensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6570,8 +6663,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbrouteextensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6630,11 +6723,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6663,7 +6756,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6806,11 +6902,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6839,7 +6935,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6896,11 +6995,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6929,7 +7028,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6983,11 +7085,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7018,8 +7120,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7073,11 +7175,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7112,8 +7214,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7172,11 +7274,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7205,7 +7307,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7352,11 +7457,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Meshes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Meshes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Meshes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7385,7 +7490,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7441,11 +7549,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Meshes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Meshes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Meshes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7474,7 +7582,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7527,11 +7638,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Meshes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Meshes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Meshes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7560,7 +7671,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7613,11 +7727,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Meshes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Meshes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Meshes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7648,8 +7762,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7705,11 +7819,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Meshes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Meshes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Meshes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7738,7 +7852,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7864,11 +7981,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7897,7 +8014,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Routeviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7950,11 +8070,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7989,8 +8109,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Routeviews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8077,11 +8197,11 @@ export namespace networkservices_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -8110,7 +8230,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8163,11 +8286,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8196,7 +8319,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8249,11 +8375,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8282,7 +8408,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8335,11 +8464,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8372,8 +8501,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8482,11 +8611,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Servicebindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Servicebindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Servicebindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8515,7 +8644,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8572,11 +8704,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Servicebindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Servicebindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Servicebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8605,7 +8737,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8659,11 +8794,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Servicebindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Servicebindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Servicebindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8692,7 +8827,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8745,11 +8883,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Servicebindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Servicebindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Servicebindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8784,8 +8922,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8894,11 +9032,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Servicelbpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Servicelbpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Servicelbpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8927,7 +9065,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8984,11 +9125,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Servicelbpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Servicelbpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Servicelbpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9017,7 +9158,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9071,11 +9215,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Servicelbpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Servicelbpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Servicelbpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9104,7 +9248,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9157,11 +9304,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Servicelbpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Servicelbpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Servicelbpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9196,8 +9343,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicelbpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9256,11 +9403,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Servicelbpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9289,7 +9436,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9412,11 +9562,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Tcproutes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tcproutes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Tcproutes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9445,7 +9595,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tcproutes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9501,11 +9654,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Tcproutes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tcproutes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tcproutes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9534,7 +9687,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tcproutes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9587,11 +9743,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Tcproutes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tcproutes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tcproutes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9620,7 +9776,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tcproutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9673,11 +9832,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Tcproutes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tcproutes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Tcproutes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9710,8 +9869,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tcproutes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9767,11 +9926,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Tcproutes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tcproutes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Tcproutes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9800,7 +9959,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tcproutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9926,11 +10088,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Tlsroutes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tlsroutes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Tlsroutes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9959,7 +10121,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsroutes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10015,11 +10180,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Tlsroutes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tlsroutes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tlsroutes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10048,7 +10213,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsroutes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10101,11 +10269,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Tlsroutes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tlsroutes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tlsroutes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10134,7 +10302,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsroutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10187,11 +10358,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Tlsroutes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tlsroutes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Tlsroutes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10224,8 +10395,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsroutes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10281,11 +10452,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Tlsroutes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tlsroutes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Tlsroutes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10314,7 +10485,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsroutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10444,11 +10618,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Wasmplugins$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Wasmplugins$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Wasmplugins$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10477,7 +10651,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10533,11 +10710,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Wasmplugins$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Wasmplugins$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Wasmplugins$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10566,7 +10743,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10619,11 +10799,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Wasmplugins$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Wasmplugins$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Wasmplugins$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10652,7 +10832,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10705,11 +10888,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Wasmplugins$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Wasmplugins$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Wasmplugins$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10742,8 +10925,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10799,11 +10982,11 @@ export namespace networkservices_v1 { patch( params: Params$Resource$Projects$Locations$Wasmplugins$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Wasmplugins$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Wasmplugins$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10832,7 +11015,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10958,11 +11144,11 @@ export namespace networkservices_v1 { create( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10991,7 +11177,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11048,11 +11237,11 @@ export namespace networkservices_v1 { delete( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11081,7 +11270,10 @@ export namespace networkservices_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11135,11 +11327,11 @@ export namespace networkservices_v1 { get( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11170,8 +11362,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11225,11 +11417,11 @@ export namespace networkservices_v1 { list( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11264,8 +11456,8 @@ export namespace networkservices_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/networkservices/v1beta1.ts b/src/apis/networkservices/v1beta1.ts index 71ddb4d2c72..f9b7551b9fe 100644 --- a/src/apis/networkservices/v1beta1.ts +++ b/src/apis/networkservices/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2237,11 +2237,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2270,7 +2270,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2323,11 +2326,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2360,8 +2363,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2455,11 +2458,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Authzextensions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Authzextensions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Authzextensions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2488,7 +2491,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzextensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2545,11 +2551,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Authzextensions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2578,7 +2584,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzextensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2632,11 +2641,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Authzextensions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Authzextensions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Authzextensions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2665,7 +2674,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzextensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2718,11 +2730,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Authzextensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Authzextensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Authzextensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2757,8 +2769,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzextensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2814,11 +2826,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Authzextensions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2847,7 +2859,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authzextensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2989,11 +3004,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Endpointpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Endpointpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Endpointpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3022,7 +3037,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3079,11 +3097,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Endpointpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Endpointpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Endpointpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3112,7 +3130,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3166,11 +3187,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Endpointpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Endpointpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Endpointpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3199,7 +3220,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3252,11 +3276,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Endpointpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Endpointpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Endpointpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3291,8 +3315,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3350,11 +3374,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Endpointpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Endpointpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Endpointpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3383,7 +3407,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Endpointpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3514,11 +3541,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Gateways$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3547,7 +3574,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3603,11 +3633,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Gateways$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3636,7 +3666,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3689,11 +3722,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Gateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3722,7 +3755,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3775,11 +3811,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gateways$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3812,8 +3848,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3869,11 +3905,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Gateways$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3902,7 +3938,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4024,11 +4063,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4057,7 +4096,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Routeviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4111,11 +4153,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4150,8 +4192,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Gateways$Routeviews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4240,11 +4282,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Grpcroutes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Grpcroutes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Grpcroutes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4273,7 +4315,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Grpcroutes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4329,11 +4374,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Grpcroutes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Grpcroutes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Grpcroutes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4362,7 +4407,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Grpcroutes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4415,11 +4463,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Grpcroutes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Grpcroutes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Grpcroutes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4448,7 +4496,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Grpcroutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4501,11 +4552,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Grpcroutes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Grpcroutes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Grpcroutes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4538,8 +4589,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Grpcroutes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4595,11 +4646,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Grpcroutes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Grpcroutes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Grpcroutes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4628,7 +4679,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Grpcroutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4754,11 +4808,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Httproutes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Httproutes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Httproutes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4787,7 +4841,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Httproutes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4843,11 +4900,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Httproutes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Httproutes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Httproutes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4876,7 +4933,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Httproutes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4929,11 +4989,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Httproutes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Httproutes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Httproutes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4962,7 +5022,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Httproutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5015,11 +5078,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Httproutes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Httproutes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Httproutes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5052,8 +5115,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Httproutes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5109,11 +5172,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Httproutes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Httproutes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Httproutes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5142,7 +5205,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Httproutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5268,11 +5334,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Lbedgeextensions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lbedgeextensions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lbedgeextensions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5301,7 +5367,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5358,11 +5427,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lbedgeextensions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5391,7 +5460,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5445,11 +5517,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Lbedgeextensions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lbedgeextensions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lbedgeextensions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5478,7 +5550,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5531,11 +5606,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Lbedgeextensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lbedgeextensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Lbedgeextensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5570,8 +5645,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbedgeextensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5629,11 +5704,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lbedgeextensions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5662,7 +5737,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5805,11 +5883,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5838,7 +5916,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5895,11 +5976,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5928,7 +6009,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5982,11 +6066,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6015,7 +6099,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6068,11 +6155,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Lbrouteextensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lbrouteextensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Lbrouteextensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6107,8 +6194,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbrouteextensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6167,11 +6254,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6200,7 +6287,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6343,11 +6433,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6376,7 +6466,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6433,11 +6526,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6466,7 +6559,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6520,11 +6616,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6555,8 +6651,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6610,11 +6706,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6649,8 +6745,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6709,11 +6805,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6742,7 +6838,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6889,11 +6988,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Meshes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Meshes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Meshes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6922,7 +7021,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6978,11 +7080,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Meshes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Meshes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Meshes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7011,7 +7113,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7064,11 +7169,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Meshes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Meshes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Meshes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7097,7 +7202,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7150,11 +7258,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Meshes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Meshes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Meshes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7185,8 +7293,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7242,11 +7350,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Meshes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Meshes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Meshes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7275,7 +7383,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7401,11 +7512,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7434,7 +7545,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Routeviews$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7487,11 +7601,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7526,8 +7640,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Meshes$Routeviews$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7614,11 +7728,11 @@ export namespace networkservices_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7647,7 +7761,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7703,11 +7820,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7736,7 +7853,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7789,11 +7909,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7822,7 +7942,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7875,11 +7998,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7912,8 +8035,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8022,11 +8145,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Servicebindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Servicebindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Servicebindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8055,7 +8178,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8112,11 +8238,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Servicebindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Servicebindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Servicebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8145,7 +8271,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8199,11 +8328,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Servicebindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Servicebindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Servicebindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8232,7 +8361,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8285,11 +8417,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Servicebindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Servicebindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Servicebindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8324,8 +8456,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8434,11 +8566,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Servicelbpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Servicelbpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Servicelbpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8467,7 +8599,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8524,11 +8659,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Servicelbpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Servicelbpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Servicelbpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8557,7 +8692,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8611,11 +8749,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Servicelbpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Servicelbpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Servicelbpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8644,7 +8782,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8697,11 +8838,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Servicelbpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Servicelbpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Servicelbpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8736,8 +8877,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicelbpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8796,11 +8937,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Servicelbpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8829,7 +8970,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8952,11 +9096,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Tcproutes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tcproutes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Tcproutes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8985,7 +9129,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tcproutes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9041,11 +9188,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tcproutes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tcproutes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tcproutes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9074,7 +9221,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tcproutes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9127,11 +9277,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Tcproutes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tcproutes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tcproutes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9160,7 +9310,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tcproutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9213,11 +9366,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Tcproutes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tcproutes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Tcproutes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9250,8 +9403,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tcproutes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9307,11 +9460,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Tcproutes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tcproutes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Tcproutes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9340,7 +9493,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tcproutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9466,11 +9622,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Tlsroutes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Tlsroutes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Tlsroutes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9499,7 +9655,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsroutes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9555,11 +9714,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Tlsroutes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Tlsroutes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Tlsroutes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9588,7 +9747,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsroutes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9641,11 +9803,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Tlsroutes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tlsroutes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tlsroutes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9674,7 +9836,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsroutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9727,11 +9892,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Tlsroutes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tlsroutes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Tlsroutes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9764,8 +9929,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsroutes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9821,11 +9986,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Tlsroutes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Tlsroutes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Tlsroutes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9854,7 +10019,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tlsroutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9984,11 +10152,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Wasmplugins$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Wasmplugins$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Wasmplugins$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10017,7 +10185,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10073,11 +10244,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Wasmplugins$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Wasmplugins$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Wasmplugins$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10106,7 +10277,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10159,11 +10333,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Wasmplugins$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Wasmplugins$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Wasmplugins$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10192,7 +10366,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10245,11 +10422,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Wasmplugins$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Wasmplugins$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Wasmplugins$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10282,8 +10459,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10339,11 +10516,11 @@ export namespace networkservices_v1beta1 { patch( params: Params$Resource$Projects$Locations$Wasmplugins$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Wasmplugins$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Wasmplugins$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10372,7 +10549,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10498,11 +10678,11 @@ export namespace networkservices_v1beta1 { create( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10531,7 +10711,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10588,11 +10771,11 @@ export namespace networkservices_v1beta1 { delete( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10621,7 +10804,10 @@ export namespace networkservices_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10675,11 +10861,11 @@ export namespace networkservices_v1beta1 { get( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10710,8 +10896,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10765,11 +10951,11 @@ export namespace networkservices_v1beta1 { list( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10804,8 +10990,8 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/notebooks/index.ts b/src/apis/notebooks/index.ts index c1e6332d71a..246e0566710 100644 --- a/src/apis/notebooks/index.ts +++ b/src/apis/notebooks/index.ts @@ -47,7 +47,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/notebooks/package.json b/src/apis/notebooks/package.json index 133dcbc3b83..64a61ade5d6 100644 --- a/src/apis/notebooks/package.json +++ b/src/apis/notebooks/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/notebooks/v1.ts b/src/apis/notebooks/v1.ts index 63988b6c57a..bef3ff3c02c 100644 --- a/src/apis/notebooks/v1.ts +++ b/src/apis/notebooks/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1799,11 +1799,11 @@ export namespace notebooks_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1832,7 +1832,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1884,11 +1887,11 @@ export namespace notebooks_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1921,8 +1924,8 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1976,6 +1979,10 @@ export namespace notebooks_v1 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { + /** + * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. + */ + extraLocationTypes?: string[]; /** * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */ @@ -2011,11 +2018,11 @@ export namespace notebooks_v1 { create( params: Params$Resource$Projects$Locations$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2044,7 +2051,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2099,11 +2109,11 @@ export namespace notebooks_v1 { delete( params: Params$Resource$Projects$Locations$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2132,7 +2142,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2184,11 +2197,11 @@ export namespace notebooks_v1 { get( params: Params$Resource$Projects$Locations$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2217,7 +2230,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2269,11 +2285,11 @@ export namespace notebooks_v1 { list( params: Params$Resource$Projects$Locations$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2306,8 +2322,8 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2415,11 +2431,11 @@ export namespace notebooks_v1 { create( params: Params$Resource$Projects$Locations$Executions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Executions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Executions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2448,7 +2464,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Executions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2503,11 +2522,11 @@ export namespace notebooks_v1 { delete( params: Params$Resource$Projects$Locations$Executions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Executions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Executions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2536,7 +2555,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Executions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2588,11 +2610,11 @@ export namespace notebooks_v1 { get( params: Params$Resource$Projects$Locations$Executions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Executions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Executions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2621,7 +2643,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Executions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2673,11 +2698,11 @@ export namespace notebooks_v1 { list( params: Params$Resource$Projects$Locations$Executions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Executions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Executions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2710,8 +2735,8 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Executions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2827,11 +2852,11 @@ export namespace notebooks_v1 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2860,7 +2885,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2915,11 +2943,11 @@ export namespace notebooks_v1 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2948,7 +2976,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3000,11 +3031,11 @@ export namespace notebooks_v1 { diagnose( params: Params$Resource$Projects$Locations$Instances$Diagnose, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; diagnose( params?: Params$Resource$Projects$Locations$Instances$Diagnose, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; diagnose( params: Params$Resource$Projects$Locations$Instances$Diagnose, options: StreamMethodOptions | BodyResponseCallback, @@ -3033,7 +3064,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Diagnose; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3088,11 +3122,11 @@ export namespace notebooks_v1 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3121,7 +3155,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3173,11 +3210,11 @@ export namespace notebooks_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3206,7 +3243,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3262,11 +3302,11 @@ export namespace notebooks_v1 { getInstanceHealth( params: Params$Resource$Projects$Locations$Instances$Getinstancehealth, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getInstanceHealth( params?: Params$Resource$Projects$Locations$Instances$Getinstancehealth, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getInstanceHealth( params: Params$Resource$Projects$Locations$Instances$Getinstancehealth, options: StreamMethodOptions | BodyResponseCallback, @@ -3301,8 +3341,8 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Getinstancehealth; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3358,11 +3398,11 @@ export namespace notebooks_v1 { isUpgradeable( params: Params$Resource$Projects$Locations$Instances$Isupgradeable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; isUpgradeable( params?: Params$Resource$Projects$Locations$Instances$Isupgradeable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; isUpgradeable( params: Params$Resource$Projects$Locations$Instances$Isupgradeable, options: StreamMethodOptions | BodyResponseCallback, @@ -3397,8 +3437,8 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Isupgradeable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3456,11 +3496,11 @@ export namespace notebooks_v1 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3493,8 +3533,8 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3549,11 +3589,11 @@ export namespace notebooks_v1 { migrate( params: Params$Resource$Projects$Locations$Instances$Migrate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; migrate( params?: Params$Resource$Projects$Locations$Instances$Migrate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; migrate( params: Params$Resource$Projects$Locations$Instances$Migrate, options: StreamMethodOptions | BodyResponseCallback, @@ -3582,7 +3622,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Migrate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3637,11 +3680,11 @@ export namespace notebooks_v1 { register( params: Params$Resource$Projects$Locations$Instances$Register, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; register( params?: Params$Resource$Projects$Locations$Instances$Register, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; register( params: Params$Resource$Projects$Locations$Instances$Register, options: StreamMethodOptions | BodyResponseCallback, @@ -3670,7 +3713,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Register; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3725,11 +3771,11 @@ export namespace notebooks_v1 { report( params: Params$Resource$Projects$Locations$Instances$Report, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; report( params?: Params$Resource$Projects$Locations$Instances$Report, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; report( params: Params$Resource$Projects$Locations$Instances$Report, options: StreamMethodOptions | BodyResponseCallback, @@ -3758,7 +3804,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Report; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3810,11 +3859,11 @@ export namespace notebooks_v1 { reportEvent( params: Params$Resource$Projects$Locations$Instances$Reportevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportEvent( params?: Params$Resource$Projects$Locations$Instances$Reportevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportEvent( params: Params$Resource$Projects$Locations$Instances$Reportevent, options: StreamMethodOptions | BodyResponseCallback, @@ -3843,7 +3892,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Reportevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3898,11 +3950,11 @@ export namespace notebooks_v1 { reset( params: Params$Resource$Projects$Locations$Instances$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Projects$Locations$Instances$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Projects$Locations$Instances$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -3931,7 +3983,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3983,11 +4038,11 @@ export namespace notebooks_v1 { rollback( params: Params$Resource$Projects$Locations$Instances$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Locations$Instances$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Locations$Instances$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -4016,7 +4071,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4071,11 +4129,11 @@ export namespace notebooks_v1 { setAccelerator( params: Params$Resource$Projects$Locations$Instances$Setaccelerator, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setAccelerator( params?: Params$Resource$Projects$Locations$Instances$Setaccelerator, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setAccelerator( params: Params$Resource$Projects$Locations$Instances$Setaccelerator, options: StreamMethodOptions | BodyResponseCallback, @@ -4104,7 +4162,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Setaccelerator; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4160,11 +4221,11 @@ export namespace notebooks_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4193,7 +4254,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4249,11 +4313,11 @@ export namespace notebooks_v1 { setLabels( params: Params$Resource$Projects$Locations$Instances$Setlabels, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params?: Params$Resource$Projects$Locations$Instances$Setlabels, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setLabels( params: Params$Resource$Projects$Locations$Instances$Setlabels, options: StreamMethodOptions | BodyResponseCallback, @@ -4282,7 +4346,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Setlabels; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4337,11 +4404,11 @@ export namespace notebooks_v1 { setMachineType( params: Params$Resource$Projects$Locations$Instances$Setmachinetype, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMachineType( params?: Params$Resource$Projects$Locations$Instances$Setmachinetype, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMachineType( params: Params$Resource$Projects$Locations$Instances$Setmachinetype, options: StreamMethodOptions | BodyResponseCallback, @@ -4370,7 +4437,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Setmachinetype; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4426,11 +4496,11 @@ export namespace notebooks_v1 { start( params: Params$Resource$Projects$Locations$Instances$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Instances$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Instances$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -4459,7 +4529,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4511,11 +4584,11 @@ export namespace notebooks_v1 { stop( params: Params$Resource$Projects$Locations$Instances$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Instances$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Instances$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -4544,7 +4617,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4596,11 +4672,11 @@ export namespace notebooks_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Instances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4635,8 +4711,8 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4692,11 +4768,11 @@ export namespace notebooks_v1 { updateConfig( params: Params$Resource$Projects$Locations$Instances$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Projects$Locations$Instances$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params: Params$Resource$Projects$Locations$Instances$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4725,7 +4801,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4781,11 +4860,13 @@ export namespace notebooks_v1 { updateMetadataItems( params: Params$Resource$Projects$Locations$Instances$Updatemetadataitems, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateMetadataItems( params?: Params$Resource$Projects$Locations$Instances$Updatemetadataitems, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateMetadataItems( params: Params$Resource$Projects$Locations$Instances$Updatemetadataitems, options: StreamMethodOptions | BodyResponseCallback, @@ -4820,8 +4901,10 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Updatemetadataitems; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4879,11 +4962,11 @@ export namespace notebooks_v1 { updateShieldedInstanceConfig( params: Params$Resource$Projects$Locations$Instances$Updateshieldedinstanceconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedInstanceConfig( params?: Params$Resource$Projects$Locations$Instances$Updateshieldedinstanceconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateShieldedInstanceConfig( params: Params$Resource$Projects$Locations$Instances$Updateshieldedinstanceconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4914,7 +4997,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Updateshieldedinstanceconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4970,11 +5056,11 @@ export namespace notebooks_v1 { upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Instances$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -5003,7 +5089,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5058,11 +5147,11 @@ export namespace notebooks_v1 { upgradeInternal( params: Params$Resource$Projects$Locations$Instances$Upgradeinternal, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgradeInternal( params?: Params$Resource$Projects$Locations$Instances$Upgradeinternal, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgradeInternal( params: Params$Resource$Projects$Locations$Instances$Upgradeinternal, options: StreamMethodOptions | BodyResponseCallback, @@ -5091,7 +5180,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Upgradeinternal; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5465,11 +5557,11 @@ export namespace notebooks_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -5498,7 +5590,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5550,11 +5645,11 @@ export namespace notebooks_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5583,7 +5678,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5635,11 +5733,11 @@ export namespace notebooks_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5668,7 +5766,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5720,11 +5821,11 @@ export namespace notebooks_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5757,8 +5858,8 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5866,11 +5967,11 @@ export namespace notebooks_v1 { create( params: Params$Resource$Projects$Locations$Runtimes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Runtimes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Runtimes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5899,7 +6000,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5954,11 +6058,11 @@ export namespace notebooks_v1 { delete( params: Params$Resource$Projects$Locations$Runtimes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Runtimes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Runtimes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5987,7 +6091,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6039,11 +6146,11 @@ export namespace notebooks_v1 { diagnose( params: Params$Resource$Projects$Locations$Runtimes$Diagnose, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; diagnose( params?: Params$Resource$Projects$Locations$Runtimes$Diagnose, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; diagnose( params: Params$Resource$Projects$Locations$Runtimes$Diagnose, options: StreamMethodOptions | BodyResponseCallback, @@ -6072,7 +6179,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Diagnose; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6127,11 +6237,11 @@ export namespace notebooks_v1 { get( params: Params$Resource$Projects$Locations$Runtimes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Runtimes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Runtimes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6160,7 +6270,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6212,11 +6325,11 @@ export namespace notebooks_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Runtimes$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Runtimes$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Runtimes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6245,7 +6358,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6300,11 +6416,11 @@ export namespace notebooks_v1 { list( params: Params$Resource$Projects$Locations$Runtimes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Runtimes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Runtimes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6337,8 +6453,8 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6393,11 +6509,11 @@ export namespace notebooks_v1 { migrate( params: Params$Resource$Projects$Locations$Runtimes$Migrate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; migrate( params?: Params$Resource$Projects$Locations$Runtimes$Migrate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; migrate( params: Params$Resource$Projects$Locations$Runtimes$Migrate, options: StreamMethodOptions | BodyResponseCallback, @@ -6426,7 +6542,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Migrate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6481,11 +6600,11 @@ export namespace notebooks_v1 { patch( params: Params$Resource$Projects$Locations$Runtimes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Runtimes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Runtimes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6514,7 +6633,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6566,11 +6688,13 @@ export namespace notebooks_v1 { refreshRuntimeTokenInternal( params: Params$Resource$Projects$Locations$Runtimes$Refreshruntimetokeninternal, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; refreshRuntimeTokenInternal( params?: Params$Resource$Projects$Locations$Runtimes$Refreshruntimetokeninternal, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; refreshRuntimeTokenInternal( params: Params$Resource$Projects$Locations$Runtimes$Refreshruntimetokeninternal, options: StreamMethodOptions | BodyResponseCallback, @@ -6605,8 +6729,10 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Refreshruntimetokeninternal; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6664,11 +6790,11 @@ export namespace notebooks_v1 { reportEvent( params: Params$Resource$Projects$Locations$Runtimes$Reportevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportEvent( params?: Params$Resource$Projects$Locations$Runtimes$Reportevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportEvent( params: Params$Resource$Projects$Locations$Runtimes$Reportevent, options: StreamMethodOptions | BodyResponseCallback, @@ -6697,7 +6823,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Reportevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6752,11 +6881,11 @@ export namespace notebooks_v1 { reset( params: Params$Resource$Projects$Locations$Runtimes$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Projects$Locations$Runtimes$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Projects$Locations$Runtimes$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -6785,7 +6914,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6837,11 +6969,11 @@ export namespace notebooks_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Runtimes$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Runtimes$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Runtimes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6870,7 +7002,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6925,11 +7060,11 @@ export namespace notebooks_v1 { start( params: Params$Resource$Projects$Locations$Runtimes$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Runtimes$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Runtimes$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -6958,7 +7093,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7010,11 +7148,11 @@ export namespace notebooks_v1 { stop( params: Params$Resource$Projects$Locations$Runtimes$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Runtimes$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Runtimes$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -7043,7 +7181,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7095,11 +7236,11 @@ export namespace notebooks_v1 { switch( params: Params$Resource$Projects$Locations$Runtimes$Switch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switch( params?: Params$Resource$Projects$Locations$Runtimes$Switch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switch( params: Params$Resource$Projects$Locations$Runtimes$Switch, options: StreamMethodOptions | BodyResponseCallback, @@ -7128,7 +7269,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Switch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7180,11 +7324,11 @@ export namespace notebooks_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Runtimes$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Runtimes$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Runtimes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7219,8 +7363,8 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7276,11 +7420,11 @@ export namespace notebooks_v1 { upgrade( params: Params$Resource$Projects$Locations$Runtimes$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Runtimes$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Runtimes$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -7309,7 +7453,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimes$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7596,11 +7743,11 @@ export namespace notebooks_v1 { create( params: Params$Resource$Projects$Locations$Schedules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Schedules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Schedules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7629,7 +7776,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7684,11 +7834,11 @@ export namespace notebooks_v1 { delete( params: Params$Resource$Projects$Locations$Schedules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Schedules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Schedules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7717,7 +7867,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7769,11 +7922,11 @@ export namespace notebooks_v1 { get( params: Params$Resource$Projects$Locations$Schedules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Schedules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Schedules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7802,7 +7955,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7854,11 +8010,11 @@ export namespace notebooks_v1 { list( params: Params$Resource$Projects$Locations$Schedules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Schedules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Schedules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7891,8 +8047,8 @@ export namespace notebooks_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7947,11 +8103,11 @@ export namespace notebooks_v1 { trigger( params: Params$Resource$Projects$Locations$Schedules$Trigger, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; trigger( params?: Params$Resource$Projects$Locations$Schedules$Trigger, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; trigger( params: Params$Resource$Projects$Locations$Schedules$Trigger, options: StreamMethodOptions | BodyResponseCallback, @@ -7980,7 +8136,10 @@ export namespace notebooks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Schedules$Trigger; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/notebooks/v2.ts b/src/apis/notebooks/v2.ts index 5ae337280ef..3b2a122dd8d 100644 --- a/src/apis/notebooks/v2.ts +++ b/src/apis/notebooks/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -217,10 +217,6 @@ export namespace notebooks_v2 { * Optional. Defines the type of technology used by the confidential instance. */ confidentialInstanceType?: string | null; - /** - * Optional. Defines whether the instance should have confidential compute enabled. - */ - enableConfidentialCompute?: boolean | null; } /** * Response for getting WbI configurations in a location @@ -418,6 +414,10 @@ export namespace notebooks_v2 { * Optional. The network interfaces for the VM. Supports only one interface. */ networkInterfaces?: Schema$NetworkInterface[]; + /** + * Optional. Specifies the reservations that this instance can consume from. + */ + reservationAffinity?: Schema$ReservationAffinity; /** * Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account. */ @@ -477,6 +477,10 @@ export namespace notebooks_v2 { * Optional. If true, the notebook instance will not register with the proxy. */ disableProxyAccess?: boolean | null; + /** + * Optional. If true, deletion protection will be enabled for this Workbench Instance. If false, deletion protection will be disabled for this Workbench Instance. + */ + enableDeletionProtection?: boolean | null; /** * Optional. Flag that specifies that a notebook can be accessed with third party identity provider. */ @@ -498,7 +502,7 @@ export namespace notebooks_v2 { */ id?: string | null; /** - * Optional. Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance. + * Optional. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance. */ instanceOwners?: string[] | null; /** @@ -719,6 +723,23 @@ export namespace notebooks_v2 { */ vmId?: string | null; } + /** + * A reservation that an instance can consume from. + */ + export interface Schema$ReservationAffinity { + /** + * Required. Specifies the type of reservation from which this instance can consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances for examples. + */ + consumeReservationType?: string | null; + /** + * Optional. Corresponds to the label key of a reservation resource. To target a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value. + */ + key?: string | null; + /** + * Optional. Corresponds to the label values of a reservation resource. This can be either a name to a reservation in the same project or "projects/different-project/reservations/some-reservation-name" to target a shared reservation in the same zone but in a different project. + */ + values?: string[] | null; + } /** * Request for resetting a notebook instance */ @@ -785,7 +806,7 @@ export namespace notebooks_v2 { */ export interface Schema$ShieldedInstanceConfig { /** - * Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created. Enabled by default. + * Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created. */ enableIntegrityMonitoring?: boolean | null; /** @@ -793,7 +814,7 @@ export namespace notebooks_v2 { */ enableSecureBoot?: boolean | null; /** - * Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default. + * Optional. Defines whether the VM instance has the vTPM enabled. */ enableVtpm?: boolean | null; } @@ -970,11 +991,11 @@ export namespace notebooks_v2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1003,7 +1024,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1055,11 +1079,11 @@ export namespace notebooks_v2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1092,8 +1116,8 @@ export namespace notebooks_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1147,6 +1171,10 @@ export namespace notebooks_v2 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { + /** + * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. + */ + extraLocationTypes?: string[]; /** * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */ @@ -1182,11 +1210,13 @@ export namespace notebooks_v2 { checkUpgradability( params: Params$Resource$Projects$Locations$Instances$Checkupgradability, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; checkUpgradability( params?: Params$Resource$Projects$Locations$Instances$Checkupgradability, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; checkUpgradability( params: Params$Resource$Projects$Locations$Instances$Checkupgradability, options: StreamMethodOptions | BodyResponseCallback, @@ -1221,8 +1251,10 @@ export namespace notebooks_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Checkupgradability; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1279,11 +1311,11 @@ export namespace notebooks_v2 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1312,7 +1344,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1367,11 +1402,11 @@ export namespace notebooks_v2 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1400,7 +1435,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1452,11 +1490,11 @@ export namespace notebooks_v2 { diagnose( params: Params$Resource$Projects$Locations$Instances$Diagnose, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; diagnose( params?: Params$Resource$Projects$Locations$Instances$Diagnose, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; diagnose( params: Params$Resource$Projects$Locations$Instances$Diagnose, options: StreamMethodOptions | BodyResponseCallback, @@ -1485,7 +1523,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Diagnose; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1540,11 +1581,11 @@ export namespace notebooks_v2 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1573,7 +1614,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1625,11 +1669,11 @@ export namespace notebooks_v2 { getConfig( params: Params$Resource$Projects$Locations$Instances$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Locations$Instances$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Projects$Locations$Instances$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1658,7 +1702,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1713,11 +1760,11 @@ export namespace notebooks_v2 { getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1746,7 +1793,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1802,11 +1852,11 @@ export namespace notebooks_v2 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1839,8 +1889,8 @@ export namespace notebooks_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1895,11 +1945,11 @@ export namespace notebooks_v2 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1928,7 +1978,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1980,11 +2033,11 @@ export namespace notebooks_v2 { reportInfoSystem( params: Params$Resource$Projects$Locations$Instances$Reportinfosystem, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportInfoSystem( params?: Params$Resource$Projects$Locations$Instances$Reportinfosystem, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportInfoSystem( params: Params$Resource$Projects$Locations$Instances$Reportinfosystem, options: StreamMethodOptions | BodyResponseCallback, @@ -2013,7 +2066,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Reportinfosystem; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2069,11 +2125,11 @@ export namespace notebooks_v2 { reset( params: Params$Resource$Projects$Locations$Instances$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Projects$Locations$Instances$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Projects$Locations$Instances$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -2102,7 +2158,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2154,11 +2213,11 @@ export namespace notebooks_v2 { resizeDisk( params: Params$Resource$Projects$Locations$Instances$Resizedisk, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resizeDisk( params?: Params$Resource$Projects$Locations$Instances$Resizedisk, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resizeDisk( params: Params$Resource$Projects$Locations$Instances$Resizedisk, options: StreamMethodOptions | BodyResponseCallback, @@ -2187,7 +2246,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Resizedisk; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2242,11 +2304,11 @@ export namespace notebooks_v2 { restore( params: Params$Resource$Projects$Locations$Instances$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Instances$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Instances$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -2275,7 +2337,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2330,11 +2395,11 @@ export namespace notebooks_v2 { rollback( params: Params$Resource$Projects$Locations$Instances$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Locations$Instances$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Locations$Instances$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -2363,7 +2428,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2418,11 +2486,11 @@ export namespace notebooks_v2 { setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Instances$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2451,7 +2519,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2507,11 +2578,11 @@ export namespace notebooks_v2 { start( params: Params$Resource$Projects$Locations$Instances$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Instances$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Instances$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -2540,7 +2611,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2592,11 +2666,11 @@ export namespace notebooks_v2 { stop( params: Params$Resource$Projects$Locations$Instances$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Instances$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Instances$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -2625,7 +2699,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2677,11 +2754,11 @@ export namespace notebooks_v2 { testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Instances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2716,8 +2793,8 @@ export namespace notebooks_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2773,11 +2850,11 @@ export namespace notebooks_v2 { upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Instances$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -2806,7 +2883,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2861,11 +2941,11 @@ export namespace notebooks_v2 { upgradeSystem( params: Params$Resource$Projects$Locations$Instances$Upgradesystem, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgradeSystem( params?: Params$Resource$Projects$Locations$Instances$Upgradesystem, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgradeSystem( params: Params$Resource$Projects$Locations$Instances$Upgradesystem, options: StreamMethodOptions | BodyResponseCallback, @@ -2894,7 +2974,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Upgradesystem; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3208,11 +3291,11 @@ export namespace notebooks_v2 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3241,7 +3324,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3293,11 +3379,11 @@ export namespace notebooks_v2 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3326,7 +3412,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3378,11 +3467,11 @@ export namespace notebooks_v2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3411,7 +3500,10 @@ export namespace notebooks_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3463,11 +3555,11 @@ export namespace notebooks_v2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3500,8 +3592,8 @@ export namespace notebooks_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/oauth2/index.ts b/src/apis/oauth2/index.ts index aedfeae1bad..a28953c2c3b 100644 --- a/src/apis/oauth2/index.ts +++ b/src/apis/oauth2/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/oauth2/package.json b/src/apis/oauth2/package.json index 6d2848b629f..f116e7c9870 100644 --- a/src/apis/oauth2/package.json +++ b/src/apis/oauth2/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/oauth2/v2.ts b/src/apis/oauth2/v2.ts index d4f47f44366..4cccd3356bd 100644 --- a/src/apis/oauth2/v2.ts +++ b/src/apis/oauth2/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -117,11 +117,11 @@ export namespace oauth2_v2 { tokeninfo( params: Params$$Tokeninfo, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; tokeninfo( params?: Params$$Tokeninfo, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; tokeninfo( params: Params$$Tokeninfo, options: StreamMethodOptions | BodyResponseCallback, @@ -150,7 +150,10 @@ export namespace oauth2_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$$Tokeninfo; let options = (optionsOrCallback || {}) as MethodOptions; @@ -300,11 +303,11 @@ export namespace oauth2_v2 { get( params: Params$Resource$Userinfo$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userinfo$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userinfo$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -333,7 +336,10 @@ export namespace oauth2_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userinfo$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -404,11 +410,11 @@ export namespace oauth2_v2 { get( params: Params$Resource$Userinfo$V2$Me$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Userinfo$V2$Me$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Userinfo$V2$Me$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -437,7 +443,10 @@ export namespace oauth2_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Userinfo$V2$Me$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/observability/index.ts b/src/apis/observability/index.ts index e25262cc099..3d05c963093 100644 --- a/src/apis/observability/index.ts +++ b/src/apis/observability/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/observability/package.json b/src/apis/observability/package.json index 8a6585909fd..6793d2bb875 100644 --- a/src/apis/observability/package.json +++ b/src/apis/observability/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/observability/v1.ts b/src/apis/observability/v1.ts index ca6f2d6d6ed..5bfc2f3b981 100644 --- a/src/apis/observability/v1.ts +++ b/src/apis/observability/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -308,11 +308,11 @@ export namespace observability_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -341,7 +341,10 @@ export namespace observability_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -394,11 +397,11 @@ export namespace observability_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -431,8 +434,8 @@ export namespace observability_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -526,11 +529,11 @@ export namespace observability_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -559,7 +562,10 @@ export namespace observability_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -612,11 +618,11 @@ export namespace observability_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -645,7 +651,10 @@ export namespace observability_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -698,11 +707,11 @@ export namespace observability_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -731,7 +740,10 @@ export namespace observability_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -784,11 +796,11 @@ export namespace observability_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -821,8 +833,8 @@ export namespace observability_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -931,11 +943,11 @@ export namespace observability_v1 { get( params: Params$Resource$Projects$Locations$Scopes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Scopes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Scopes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -964,7 +976,10 @@ export namespace observability_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1017,11 +1032,11 @@ export namespace observability_v1 { patch( params: Params$Resource$Projects$Locations$Scopes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Scopes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Scopes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1050,7 +1065,10 @@ export namespace observability_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scopes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/ondemandscanning/index.ts b/src/apis/ondemandscanning/index.ts index 15b8bcb0b95..9bd5e6a8a70 100644 --- a/src/apis/ondemandscanning/index.ts +++ b/src/apis/ondemandscanning/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/ondemandscanning/package.json b/src/apis/ondemandscanning/package.json index 65144e5dffd..600a66c312b 100644 --- a/src/apis/ondemandscanning/package.json +++ b/src/apis/ondemandscanning/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/ondemandscanning/v1.ts b/src/apis/ondemandscanning/v1.ts index ce522ef389a..d893ec955ab 100644 --- a/src/apis/ondemandscanning/v1.ts +++ b/src/apis/ondemandscanning/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -693,6 +693,10 @@ export namespace ondemandscanning_v1 { * The base images the layer is found within. */ baseImages?: Schema$GrafeasV1BaseImage[]; + /** + * The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid + */ + chainId?: string | null; /** * The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built. */ @@ -888,6 +892,10 @@ export namespace ondemandscanning_v1 { * The base images the layer is found within. */ baseImages?: Schema$BaseImage[]; + /** + * The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid + */ + chainId?: string | null; /** * The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built. */ @@ -1077,6 +1085,10 @@ export namespace ondemandscanning_v1 { * Describes a specific SBOM reference occurrences. */ sbomReference?: Schema$SBOMReferenceOccurrence; + /** + * Describes a secret. + */ + secret?: Schema$SecretOccurrence; /** * Output only. The time this occurrence was last updated. */ @@ -1441,6 +1453,49 @@ export namespace ondemandscanning_v1 { */ sbomState?: string | null; } + /** + * The location of the secret. + */ + export interface Schema$SecretLocation { + /** + * The secret is found from a file. + */ + fileLocation?: Schema$GrafeasV1FileLocation; + } + /** + * The occurrence provides details of a secret. + */ + export interface Schema$SecretOccurrence { + /** + * Required. Type of secret. + */ + kind?: string | null; + /** + * Optional. Locations where the secret is detected. + */ + locations?: Schema$SecretLocation[]; + /** + * Optional. Status of the secret. + */ + statuses?: Schema$SecretStatus[]; + } + /** + * The status of the secret with a timestamp. + */ + export interface Schema$SecretStatus { + /** + * Optional. Optional message about the status code. + */ + message?: string | null; + /** + * Optional. The status of the secret. + */ + status?: string | null; + /** + * Optional. The time the secret status was last updated. + */ + updateTime?: string | null; + } /** * Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be "attached" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any "attached" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature). */ @@ -1862,11 +1917,11 @@ export namespace ondemandscanning_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1895,7 +1950,10 @@ export namespace ondemandscanning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1948,11 +2006,11 @@ export namespace ondemandscanning_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1981,7 +2039,10 @@ export namespace ondemandscanning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2034,11 +2095,11 @@ export namespace ondemandscanning_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2067,7 +2128,10 @@ export namespace ondemandscanning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2120,11 +2184,11 @@ export namespace ondemandscanning_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2157,8 +2221,8 @@ export namespace ondemandscanning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2214,11 +2278,11 @@ export namespace ondemandscanning_v1 { wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -2247,7 +2311,10 @@ export namespace ondemandscanning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2362,11 +2429,11 @@ export namespace ondemandscanning_v1 { analyzePackages( params: Params$Resource$Projects$Locations$Scans$Analyzepackages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzePackages( params?: Params$Resource$Projects$Locations$Scans$Analyzepackages, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzePackages( params: Params$Resource$Projects$Locations$Scans$Analyzepackages, options: StreamMethodOptions | BodyResponseCallback, @@ -2395,7 +2462,10 @@ export namespace ondemandscanning_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scans$Analyzepackages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2471,11 +2541,11 @@ export namespace ondemandscanning_v1 { list( params: Params$Resource$Projects$Locations$Scans$Vulnerabilities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Scans$Vulnerabilities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Scans$Vulnerabilities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2510,8 +2580,8 @@ export namespace ondemandscanning_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scans$Vulnerabilities$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/ondemandscanning/v1beta1.ts b/src/apis/ondemandscanning/v1beta1.ts index c7c6efa2df8..1ac094013cb 100644 --- a/src/apis/ondemandscanning/v1beta1.ts +++ b/src/apis/ondemandscanning/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -689,6 +689,10 @@ export namespace ondemandscanning_v1beta1 { * The base images the layer is found within. */ baseImages?: Schema$GrafeasV1BaseImage[]; + /** + * The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid + */ + chainId?: string | null; /** * The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built. */ @@ -884,6 +888,10 @@ export namespace ondemandscanning_v1beta1 { * The base images the layer is found within. */ baseImages?: Schema$BaseImage[]; + /** + * The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid + */ + chainId?: string | null; /** * The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built. */ @@ -1073,6 +1081,10 @@ export namespace ondemandscanning_v1beta1 { * Describes a specific SBOM reference occurrences. */ sbomReference?: Schema$SBOMReferenceOccurrence; + /** + * Describes a secret. + */ + secret?: Schema$SecretOccurrence; /** * Output only. The time this occurrence was last updated. */ @@ -1437,6 +1449,49 @@ export namespace ondemandscanning_v1beta1 { */ sbomState?: string | null; } + /** + * The location of the secret. + */ + export interface Schema$SecretLocation { + /** + * The secret is found from a file. + */ + fileLocation?: Schema$GrafeasV1FileLocation; + } + /** + * The occurrence provides details of a secret. + */ + export interface Schema$SecretOccurrence { + /** + * Required. Type of secret. + */ + kind?: string | null; + /** + * Optional. Locations where the secret is detected. + */ + locations?: Schema$SecretLocation[]; + /** + * Optional. Status of the secret. + */ + statuses?: Schema$SecretStatus[]; + } + /** + * The status of the secret with a timestamp. + */ + export interface Schema$SecretStatus { + /** + * Optional. Optional message about the status code. + */ + message?: string | null; + /** + * Optional. The status of the secret. + */ + status?: string | null; + /** + * Optional. The time the secret status was last updated. + */ + updateTime?: string | null; + } /** * Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be "attached" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any "attached" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature). */ @@ -1858,11 +1913,11 @@ export namespace ondemandscanning_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1891,7 +1946,10 @@ export namespace ondemandscanning_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1947,11 +2005,11 @@ export namespace ondemandscanning_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1980,7 +2038,10 @@ export namespace ondemandscanning_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2033,11 +2094,11 @@ export namespace ondemandscanning_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2066,7 +2127,10 @@ export namespace ondemandscanning_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2119,11 +2183,11 @@ export namespace ondemandscanning_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2156,8 +2220,8 @@ export namespace ondemandscanning_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2213,11 +2277,11 @@ export namespace ondemandscanning_v1beta1 { wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -2246,7 +2310,10 @@ export namespace ondemandscanning_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2364,11 +2431,11 @@ export namespace ondemandscanning_v1beta1 { analyzePackages( params: Params$Resource$Projects$Locations$Scans$Analyzepackages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; analyzePackages( params?: Params$Resource$Projects$Locations$Scans$Analyzepackages, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; analyzePackages( params: Params$Resource$Projects$Locations$Scans$Analyzepackages, options: StreamMethodOptions | BodyResponseCallback, @@ -2397,7 +2464,10 @@ export namespace ondemandscanning_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scans$Analyzepackages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2473,11 +2543,11 @@ export namespace ondemandscanning_v1beta1 { list( params: Params$Resource$Projects$Locations$Scans$Vulnerabilities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Scans$Vulnerabilities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Scans$Vulnerabilities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2512,8 +2582,8 @@ export namespace ondemandscanning_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Scans$Vulnerabilities$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/oracledatabase/index.ts b/src/apis/oracledatabase/index.ts index 1e8064d7764..96cc430aaef 100644 --- a/src/apis/oracledatabase/index.ts +++ b/src/apis/oracledatabase/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/oracledatabase/package.json b/src/apis/oracledatabase/package.json index ae6e3e9b46b..0885b444cc4 100644 --- a/src/apis/oracledatabase/package.json +++ b/src/apis/oracledatabase/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/oracledatabase/v1.ts b/src/apis/oracledatabase/v1.ts index 3395adb0b52..462964ada10 100644 --- a/src/apis/oracledatabase/v1.ts +++ b/src/apis/oracledatabase/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -150,7 +150,7 @@ export namespace oracledatabase_v1 { */ adminPassword?: string | null; /** - * Optional. The subnet CIDR range for the Autonmous Database. + * Optional. The subnet CIDR range for the Autonomous Database. */ cidr?: string | null; /** @@ -1693,7 +1693,7 @@ export namespace oracledatabase_v1 { stopTime?: Schema$TimeOfDay; } /** - * The source configuration for the standby Autonomnous Database. + * The source configuration for the standby Autonomous Database. */ export interface Schema$SourceConfig { /** @@ -1839,11 +1839,11 @@ export namespace oracledatabase_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1872,7 +1872,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1925,11 +1928,11 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1962,8 +1965,8 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2057,11 +2060,13 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Autonomousdatabasebackups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Autonomousdatabasebackups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Autonomousdatabasebackups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2096,8 +2101,10 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabasebackups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2183,11 +2190,13 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2222,8 +2231,10 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2308,11 +2319,11 @@ export namespace oracledatabase_v1 { create( params: Params$Resource$Projects$Locations$Autonomousdatabases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Autonomousdatabases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Autonomousdatabases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2341,7 +2352,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2398,11 +2412,11 @@ export namespace oracledatabase_v1 { delete( params: Params$Resource$Projects$Locations$Autonomousdatabases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Autonomousdatabases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Autonomousdatabases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2431,7 +2445,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2485,11 +2502,13 @@ export namespace oracledatabase_v1 { generateWallet( params: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateWallet( params?: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generateWallet( params: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, options: StreamMethodOptions | BodyResponseCallback, @@ -2524,8 +2543,10 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2584,11 +2605,11 @@ export namespace oracledatabase_v1 { get( params: Params$Resource$Projects$Locations$Autonomousdatabases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Autonomousdatabases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Autonomousdatabases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2619,8 +2640,8 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2674,11 +2695,11 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Autonomousdatabases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Autonomousdatabases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Autonomousdatabases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2713,8 +2734,8 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2773,11 +2794,11 @@ export namespace oracledatabase_v1 { restart( params: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -2806,7 +2827,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2863,11 +2887,11 @@ export namespace oracledatabase_v1 { restore( params: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -2896,7 +2920,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2953,11 +2980,11 @@ export namespace oracledatabase_v1 { start( params: Params$Resource$Projects$Locations$Autonomousdatabases$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Autonomousdatabases$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Autonomousdatabases$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -2986,7 +3013,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3040,11 +3070,11 @@ export namespace oracledatabase_v1 { stop( params: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -3073,7 +3103,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3127,11 +3160,11 @@ export namespace oracledatabase_v1 { switchover( params: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params?: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, options: StreamMethodOptions | BodyResponseCallback, @@ -3160,7 +3193,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Switchover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3358,11 +3394,13 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Autonomousdbversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Autonomousdbversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Autonomousdbversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3397,8 +3435,10 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Autonomousdbversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3485,11 +3525,11 @@ export namespace oracledatabase_v1 { create( params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3518,7 +3558,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3574,11 +3617,11 @@ export namespace oracledatabase_v1 { delete( params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3607,7 +3650,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3661,11 +3707,11 @@ export namespace oracledatabase_v1 { get( params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3700,8 +3746,8 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3755,11 +3801,13 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3794,8 +3842,10 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3918,11 +3968,11 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3955,8 +4005,8 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4040,11 +4090,11 @@ export namespace oracledatabase_v1 { create( params: Params$Resource$Projects$Locations$Cloudvmclusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Cloudvmclusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Cloudvmclusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4073,7 +4123,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4130,11 +4183,11 @@ export namespace oracledatabase_v1 { delete( params: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4163,7 +4216,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4217,11 +4273,11 @@ export namespace oracledatabase_v1 { get( params: Params$Resource$Projects$Locations$Cloudvmclusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Cloudvmclusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Cloudvmclusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4250,7 +4306,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4303,11 +4362,11 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Cloudvmclusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Cloudvmclusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Cloudvmclusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4342,8 +4401,8 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cloudvmclusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4468,11 +4527,11 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4503,8 +4562,8 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4562,7 +4621,7 @@ export namespace oracledatabase_v1 { */ pageToken?: string; /** - * Required. The parent value for database node in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloudVmCluster\}. + * Required. The parent value for database node in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloudVmCluster\}. . */ parent?: string; } @@ -4584,11 +4643,11 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Dbsystemshapes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Dbsystemshapes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Dbsystemshapes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4623,8 +4682,8 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dbsystemshapes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4703,11 +4762,11 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Entitlements$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Entitlements$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Entitlements$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4740,8 +4799,8 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Entitlements$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4820,11 +4879,11 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Giversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Giversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Giversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4857,8 +4916,8 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Giversions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4906,6 +4965,10 @@ export namespace oracledatabase_v1 { export interface Params$Resource$Projects$Locations$Giversions$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. Only the shape and gi_version fields are supported in this format: `shape="{shape\}"`. + */ + filter?: string; /** * Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle Grid Infrastructure (GI) versions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. */ @@ -4937,11 +5000,11 @@ export namespace oracledatabase_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4970,7 +5033,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5023,11 +5089,11 @@ export namespace oracledatabase_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5056,7 +5122,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5109,11 +5178,11 @@ export namespace oracledatabase_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5142,7 +5211,10 @@ export namespace oracledatabase_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5195,11 +5267,11 @@ export namespace oracledatabase_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5232,8 +5304,8 @@ export namespace oracledatabase_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/orgpolicy/index.ts b/src/apis/orgpolicy/index.ts index ab236c4becc..8a145685c5e 100644 --- a/src/apis/orgpolicy/index.ts +++ b/src/apis/orgpolicy/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/orgpolicy/package.json b/src/apis/orgpolicy/package.json index 033b3f15dcd..5ca7690e578 100644 --- a/src/apis/orgpolicy/package.json +++ b/src/apis/orgpolicy/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/orgpolicy/v2.ts b/src/apis/orgpolicy/v2.ts index 9aa64dba9c4..cee216cd05d 100644 --- a/src/apis/orgpolicy/v2.ts +++ b/src/apis/orgpolicy/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -489,11 +489,13 @@ export namespace orgpolicy_v2 { list( params: Params$Resource$Folders$Constraints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Constraints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Constraints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -528,8 +530,10 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Constraints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -609,11 +613,11 @@ export namespace orgpolicy_v2 { create( params: Params$Resource$Folders$Policies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Policies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Policies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -648,8 +652,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Policies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -706,11 +710,11 @@ export namespace orgpolicy_v2 { delete( params: Params$Resource$Folders$Policies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Policies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -741,8 +745,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Policies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -794,11 +798,11 @@ export namespace orgpolicy_v2 { get( params: Params$Resource$Folders$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -833,8 +837,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -888,11 +892,11 @@ export namespace orgpolicy_v2 { getEffectivePolicy( params: Params$Resource$Folders$Policies$Geteffectivepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectivePolicy( params?: Params$Resource$Folders$Policies$Geteffectivepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEffectivePolicy( params: Params$Resource$Folders$Policies$Geteffectivepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -927,8 +931,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Policies$Geteffectivepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -985,11 +989,13 @@ export namespace orgpolicy_v2 { list( params: Params$Resource$Folders$Policies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Policies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Policies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1024,8 +1030,10 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Policies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1082,11 +1090,11 @@ export namespace orgpolicy_v2 { patch( params: Params$Resource$Folders$Policies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Policies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Policies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1121,8 +1129,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Policies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1267,11 +1275,13 @@ export namespace orgpolicy_v2 { list( params: Params$Resource$Organizations$Constraints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Constraints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Constraints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1306,8 +1316,10 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Constraints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1387,11 +1399,13 @@ export namespace orgpolicy_v2 { create( params: Params$Resource$Organizations$Customconstraints$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Customconstraints$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Customconstraints$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1426,8 +1440,10 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Customconstraints$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1484,11 +1500,11 @@ export namespace orgpolicy_v2 { delete( params: Params$Resource$Organizations$Customconstraints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Customconstraints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Customconstraints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1519,8 +1535,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Customconstraints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1572,11 +1588,13 @@ export namespace orgpolicy_v2 { get( params: Params$Resource$Organizations$Customconstraints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Customconstraints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Customconstraints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1611,8 +1629,10 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Customconstraints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1666,11 +1686,13 @@ export namespace orgpolicy_v2 { list( params: Params$Resource$Organizations$Customconstraints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Customconstraints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Customconstraints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1705,8 +1727,10 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Customconstraints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1763,11 +1787,13 @@ export namespace orgpolicy_v2 { patch( params: Params$Resource$Organizations$Customconstraints$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Customconstraints$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Customconstraints$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1802,8 +1828,10 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Customconstraints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1918,11 +1946,11 @@ export namespace orgpolicy_v2 { create( params: Params$Resource$Organizations$Policies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Policies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Policies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1957,8 +1985,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Policies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2015,11 +2043,11 @@ export namespace orgpolicy_v2 { delete( params: Params$Resource$Organizations$Policies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Policies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2050,8 +2078,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Policies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2103,11 +2131,11 @@ export namespace orgpolicy_v2 { get( params: Params$Resource$Organizations$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2142,8 +2170,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2197,11 +2225,11 @@ export namespace orgpolicy_v2 { getEffectivePolicy( params: Params$Resource$Organizations$Policies$Geteffectivepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectivePolicy( params?: Params$Resource$Organizations$Policies$Geteffectivepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEffectivePolicy( params: Params$Resource$Organizations$Policies$Geteffectivepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2236,8 +2264,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Policies$Geteffectivepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2295,11 +2323,13 @@ export namespace orgpolicy_v2 { list( params: Params$Resource$Organizations$Policies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Policies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Policies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2334,8 +2364,10 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Policies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2392,11 +2424,11 @@ export namespace orgpolicy_v2 { patch( params: Params$Resource$Organizations$Policies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Policies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Policies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2431,8 +2463,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Policies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2573,11 +2605,13 @@ export namespace orgpolicy_v2 { list( params: Params$Resource$Projects$Constraints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Constraints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Constraints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2612,8 +2646,10 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Constraints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2693,11 +2729,11 @@ export namespace orgpolicy_v2 { create( params: Params$Resource$Projects$Policies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Policies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Policies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2732,8 +2768,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2790,11 +2826,11 @@ export namespace orgpolicy_v2 { delete( params: Params$Resource$Projects$Policies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Policies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2825,8 +2861,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2878,11 +2914,11 @@ export namespace orgpolicy_v2 { get( params: Params$Resource$Projects$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2917,8 +2953,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2972,11 +3008,11 @@ export namespace orgpolicy_v2 { getEffectivePolicy( params: Params$Resource$Projects$Policies$Geteffectivepolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEffectivePolicy( params?: Params$Resource$Projects$Policies$Geteffectivepolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEffectivePolicy( params: Params$Resource$Projects$Policies$Geteffectivepolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3011,8 +3047,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policies$Geteffectivepolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3069,11 +3105,13 @@ export namespace orgpolicy_v2 { list( params: Params$Resource$Projects$Policies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Policies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Policies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3108,8 +3146,10 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3166,11 +3206,11 @@ export namespace orgpolicy_v2 { patch( params: Params$Resource$Projects$Policies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Policies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Policies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3205,8 +3245,8 @@ export namespace orgpolicy_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Policies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/osconfig/index.ts b/src/apis/osconfig/index.ts index 1f014f3bd03..514886d745e 100644 --- a/src/apis/osconfig/index.ts +++ b/src/apis/osconfig/index.ts @@ -81,7 +81,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/osconfig/package.json b/src/apis/osconfig/package.json index d4fd8f108e4..20bbc3a426d 100644 --- a/src/apis/osconfig/package.json +++ b/src/apis/osconfig/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/osconfig/v1.ts b/src/apis/osconfig/v1.ts index 3a5af331d56..bea7ab80a63 100644 --- a/src/apis/osconfig/v1.ts +++ b/src/apis/osconfig/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -785,6 +785,10 @@ export namespace osconfig_v1 { */ vulnerabilityReports?: Schema$VulnerabilityReport[]; } + /** + * This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a "bridge" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments. + */ + export interface Schema$MessageSet {} /** * Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month". */ @@ -1845,6 +1849,31 @@ export namespace osconfig_v1 { */ message?: string | null; } + /** + * Wire-format for a Status object + */ + export interface Schema$StatusProto { + /** + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6; + */ + canonicalCode?: number | null; + /** + * Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1; + */ + code?: number | null; + /** + * Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3; + */ + message?: string | null; + /** + * message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5; + */ + messageSet?: Schema$MessageSet; + /** + * copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs + */ + space?: string | null; + } /** * Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. */ @@ -2128,11 +2157,11 @@ export namespace osconfig_v1 { getProjectFeatureSettings( params: Params$Resource$Projects$Locations$Global$Getprojectfeaturesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getProjectFeatureSettings( params?: Params$Resource$Projects$Locations$Global$Getprojectfeaturesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getProjectFeatureSettings( params: Params$Resource$Projects$Locations$Global$Getprojectfeaturesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2167,8 +2196,8 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Getprojectfeaturesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2221,11 +2250,11 @@ export namespace osconfig_v1 { updateProjectFeatureSettings( params: Params$Resource$Projects$Locations$Global$Updateprojectfeaturesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateProjectFeatureSettings( params?: Params$Resource$Projects$Locations$Global$Updateprojectfeaturesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateProjectFeatureSettings( params: Params$Resource$Projects$Locations$Global$Updateprojectfeaturesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -2260,8 +2289,8 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Updateprojectfeaturesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2366,11 +2395,11 @@ export namespace osconfig_v1 { get( params: Params$Resource$Projects$Locations$Instances$Inventories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Inventories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Inventories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2399,7 +2428,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Inventories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2452,11 +2484,11 @@ export namespace osconfig_v1 { list( params: Params$Resource$Projects$Locations$Instances$Inventories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Inventories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$Inventories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2489,8 +2521,8 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Inventories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2600,11 +2632,11 @@ export namespace osconfig_v1 { get( params: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2637,8 +2669,8 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2691,11 +2723,13 @@ export namespace osconfig_v1 { list( params: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2730,8 +2764,10 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2823,11 +2859,11 @@ export namespace osconfig_v1 { get( params: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2858,8 +2894,8 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2912,11 +2948,13 @@ export namespace osconfig_v1 { list( params: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2951,8 +2989,10 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3049,11 +3089,11 @@ export namespace osconfig_v1 { create( params: Params$Resource$Projects$Locations$Ospolicyassignments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Ospolicyassignments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3082,7 +3122,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3138,11 +3181,11 @@ export namespace osconfig_v1 { delete( params: Params$Resource$Projects$Locations$Ospolicyassignments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ospolicyassignments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3171,7 +3214,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3224,11 +3270,11 @@ export namespace osconfig_v1 { get( params: Params$Resource$Projects$Locations$Ospolicyassignments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ospolicyassignments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3259,8 +3305,8 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3313,11 +3359,11 @@ export namespace osconfig_v1 { list( params: Params$Resource$Projects$Locations$Ospolicyassignments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ospolicyassignments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Ospolicyassignments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3352,8 +3398,8 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3411,11 +3457,13 @@ export namespace osconfig_v1 { listRevisions( params: Params$Resource$Projects$Locations$Ospolicyassignments$Listrevisions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Listrevisions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listRevisions( params: Params$Resource$Projects$Locations$Ospolicyassignments$Listrevisions, options: StreamMethodOptions | BodyResponseCallback, @@ -3450,8 +3498,10 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Listrevisions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3509,11 +3559,11 @@ export namespace osconfig_v1 { patch( params: Params$Resource$Projects$Locations$Ospolicyassignments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Ospolicyassignments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3542,7 +3592,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3695,11 +3748,11 @@ export namespace osconfig_v1 { cancel( params: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3728,7 +3781,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3781,11 +3837,11 @@ export namespace osconfig_v1 { get( params: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3814,7 +3870,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3894,11 +3953,11 @@ export namespace osconfig_v1 { create( params: Params$Resource$Projects$Patchdeployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Patchdeployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Patchdeployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3927,7 +3986,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3982,11 +4044,11 @@ export namespace osconfig_v1 { delete( params: Params$Resource$Projects$Patchdeployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Patchdeployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Patchdeployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4015,7 +4077,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4067,11 +4132,11 @@ export namespace osconfig_v1 { get( params: Params$Resource$Projects$Patchdeployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Patchdeployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Patchdeployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4100,7 +4165,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4152,11 +4220,11 @@ export namespace osconfig_v1 { list( params: Params$Resource$Projects$Patchdeployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Patchdeployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Patchdeployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4191,8 +4259,8 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4249,11 +4317,11 @@ export namespace osconfig_v1 { patch( params: Params$Resource$Projects$Patchdeployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Patchdeployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Patchdeployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4282,7 +4350,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4334,11 +4405,11 @@ export namespace osconfig_v1 { pause( params: Params$Resource$Projects$Patchdeployments$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Patchdeployments$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Patchdeployments$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -4367,7 +4438,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4419,11 +4493,11 @@ export namespace osconfig_v1 { resume( params: Params$Resource$Projects$Patchdeployments$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Patchdeployments$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Patchdeployments$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -4452,7 +4526,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4601,11 +4678,11 @@ export namespace osconfig_v1 { cancel( params: Params$Resource$Projects$Patchjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Patchjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Patchjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4634,7 +4711,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4686,11 +4766,11 @@ export namespace osconfig_v1 { execute( params: Params$Resource$Projects$Patchjobs$Execute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; execute( params?: Params$Resource$Projects$Patchjobs$Execute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; execute( params: Params$Resource$Projects$Patchjobs$Execute, options: StreamMethodOptions | BodyResponseCallback, @@ -4719,7 +4799,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchjobs$Execute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4774,11 +4857,11 @@ export namespace osconfig_v1 { get( params: Params$Resource$Projects$Patchjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Patchjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Patchjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4807,7 +4890,10 @@ export namespace osconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4859,11 +4945,11 @@ export namespace osconfig_v1 { list( params: Params$Resource$Projects$Patchjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Patchjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Patchjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4896,8 +4982,8 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5010,11 +5096,13 @@ export namespace osconfig_v1 { list( params: Params$Resource$Projects$Patchjobs$Instancedetails$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Patchjobs$Instancedetails$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Patchjobs$Instancedetails$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5049,8 +5137,10 @@ export namespace osconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchjobs$Instancedetails$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/osconfig/v1alpha.ts b/src/apis/osconfig/v1alpha.ts index 090696e8f20..cf0e1b5197e 100644 --- a/src/apis/osconfig/v1alpha.ts +++ b/src/apis/osconfig/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -708,6 +708,10 @@ export namespace osconfig_v1alpha { */ vulnerabilityReports?: Schema$VulnerabilityReport[]; } + /** + * This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a "bridge" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments. + */ + export interface Schema$MessageSet {} /** * This resource represents a long-running operation that is the result of a network API call. */ @@ -1456,6 +1460,31 @@ export namespace osconfig_v1alpha { */ message?: string | null; } + /** + * Wire-format for a Status object + */ + export interface Schema$StatusProto { + /** + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6; + */ + canonicalCode?: number | null; + /** + * Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1; + */ + code?: number | null; + /** + * Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3; + */ + message?: string | null; + /** + * message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5; + */ + messageSet?: Schema$MessageSet; + /** + * copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs + */ + space?: string | null; + } /** * This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time. For more information, see [Vulnerability reports](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports). */ @@ -1609,11 +1638,11 @@ export namespace osconfig_v1alpha { get( params: Params$Resource$Projects$Locations$Instanceospoliciescompliances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instanceospoliciescompliances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instanceospoliciescompliances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1648,8 +1677,8 @@ export namespace osconfig_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instanceospoliciescompliances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1704,11 +1733,13 @@ export namespace osconfig_v1alpha { list( params: Params$Resource$Projects$Locations$Instanceospoliciescompliances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instanceospoliciescompliances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Instanceospoliciescompliances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1743,8 +1774,10 @@ export namespace osconfig_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instanceospoliciescompliances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1856,11 +1889,11 @@ export namespace osconfig_v1alpha { get( params: Params$Resource$Projects$Locations$Instances$Inventories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Inventories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Inventories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1889,7 +1922,10 @@ export namespace osconfig_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Inventories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1942,11 +1978,11 @@ export namespace osconfig_v1alpha { list( params: Params$Resource$Projects$Locations$Instances$Inventories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Inventories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$Inventories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1979,8 +2015,8 @@ export namespace osconfig_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Inventories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2090,11 +2126,11 @@ export namespace osconfig_v1alpha { get( params: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2127,8 +2163,8 @@ export namespace osconfig_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2181,11 +2217,13 @@ export namespace osconfig_v1alpha { list( params: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2220,8 +2258,10 @@ export namespace osconfig_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Ospolicyassignments$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2313,11 +2353,11 @@ export namespace osconfig_v1alpha { get( params: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2348,8 +2388,8 @@ export namespace osconfig_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2402,11 +2442,13 @@ export namespace osconfig_v1alpha { list( params: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2441,8 +2483,10 @@ export namespace osconfig_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Vulnerabilityreports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2539,11 +2583,11 @@ export namespace osconfig_v1alpha { create( params: Params$Resource$Projects$Locations$Ospolicyassignments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Ospolicyassignments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2572,7 +2616,10 @@ export namespace osconfig_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2628,11 +2675,11 @@ export namespace osconfig_v1alpha { delete( params: Params$Resource$Projects$Locations$Ospolicyassignments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Ospolicyassignments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2661,7 +2708,10 @@ export namespace osconfig_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2714,11 +2764,11 @@ export namespace osconfig_v1alpha { get( params: Params$Resource$Projects$Locations$Ospolicyassignments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ospolicyassignments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2749,8 +2799,8 @@ export namespace osconfig_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2803,11 +2853,11 @@ export namespace osconfig_v1alpha { list( params: Params$Resource$Projects$Locations$Ospolicyassignments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Ospolicyassignments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Ospolicyassignments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2842,8 +2892,8 @@ export namespace osconfig_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2901,11 +2951,13 @@ export namespace osconfig_v1alpha { listRevisions( params: Params$Resource$Projects$Locations$Ospolicyassignments$Listrevisions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Listrevisions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listRevisions( params: Params$Resource$Projects$Locations$Ospolicyassignments$Listrevisions, options: StreamMethodOptions | BodyResponseCallback, @@ -2940,8 +2992,10 @@ export namespace osconfig_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Listrevisions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2999,11 +3053,11 @@ export namespace osconfig_v1alpha { patch( params: Params$Resource$Projects$Locations$Ospolicyassignments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Ospolicyassignments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3032,7 +3086,10 @@ export namespace osconfig_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3185,11 +3242,11 @@ export namespace osconfig_v1alpha { cancel( params: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3218,7 +3275,10 @@ export namespace osconfig_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3274,11 +3334,11 @@ export namespace osconfig_v1alpha { get( params: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3307,7 +3367,10 @@ export namespace osconfig_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Ospolicyassignments$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/osconfig/v1beta.ts b/src/apis/osconfig/v1beta.ts index 9ab0948c61a..d6b12e8f6d8 100644 --- a/src/apis/osconfig/v1beta.ts +++ b/src/apis/osconfig/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -596,6 +596,10 @@ export namespace osconfig_v1beta { */ osVersion?: string | null; } + /** + * This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a "bridge" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments. + */ + export interface Schema$MessageSet {} /** * Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month". */ @@ -1250,6 +1254,31 @@ export namespace osconfig_v1beta { */ script?: string | null; } + /** + * Wire-format for a Status object + */ + export interface Schema$StatusProto { + /** + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6; + */ + canonicalCode?: number | null; + /** + * Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1; + */ + code?: number | null; + /** + * Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3; + */ + message?: string | null; + /** + * message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5; + */ + messageSet?: Schema$MessageSet; + /** + * copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs + */ + space?: string | null; + } /** * Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. */ @@ -1454,11 +1483,11 @@ export namespace osconfig_v1beta { create( params: Params$Resource$Projects$Guestpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Guestpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Guestpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1487,7 +1516,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Guestpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1542,11 +1574,11 @@ export namespace osconfig_v1beta { delete( params: Params$Resource$Projects$Guestpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Guestpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Guestpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1575,7 +1607,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Guestpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1627,11 +1662,11 @@ export namespace osconfig_v1beta { get( params: Params$Resource$Projects$Guestpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Guestpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Guestpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1660,7 +1695,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Guestpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1712,11 +1750,11 @@ export namespace osconfig_v1beta { list( params: Params$Resource$Projects$Guestpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Guestpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Guestpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1751,8 +1789,8 @@ export namespace osconfig_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Guestpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1807,11 +1845,11 @@ export namespace osconfig_v1beta { patch( params: Params$Resource$Projects$Guestpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Guestpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Guestpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1840,7 +1878,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Guestpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1961,11 +2002,11 @@ export namespace osconfig_v1beta { create( params: Params$Resource$Projects$Patchdeployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Patchdeployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Patchdeployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1994,7 +2035,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2049,11 +2093,11 @@ export namespace osconfig_v1beta { delete( params: Params$Resource$Projects$Patchdeployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Patchdeployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Patchdeployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2082,7 +2126,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2134,11 +2181,11 @@ export namespace osconfig_v1beta { get( params: Params$Resource$Projects$Patchdeployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Patchdeployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Patchdeployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2167,7 +2214,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2219,11 +2269,11 @@ export namespace osconfig_v1beta { list( params: Params$Resource$Projects$Patchdeployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Patchdeployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Patchdeployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2258,8 +2308,8 @@ export namespace osconfig_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2316,11 +2366,11 @@ export namespace osconfig_v1beta { patch( params: Params$Resource$Projects$Patchdeployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Patchdeployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Patchdeployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2349,7 +2399,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2401,11 +2454,11 @@ export namespace osconfig_v1beta { pause( params: Params$Resource$Projects$Patchdeployments$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Patchdeployments$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Patchdeployments$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -2434,7 +2487,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2489,11 +2545,11 @@ export namespace osconfig_v1beta { resume( params: Params$Resource$Projects$Patchdeployments$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Patchdeployments$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Patchdeployments$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -2522,7 +2578,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchdeployments$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2674,11 +2733,11 @@ export namespace osconfig_v1beta { cancel( params: Params$Resource$Projects$Patchjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Patchjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Patchjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2707,7 +2766,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2762,11 +2824,11 @@ export namespace osconfig_v1beta { execute( params: Params$Resource$Projects$Patchjobs$Execute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; execute( params?: Params$Resource$Projects$Patchjobs$Execute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; execute( params: Params$Resource$Projects$Patchjobs$Execute, options: StreamMethodOptions | BodyResponseCallback, @@ -2795,7 +2857,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchjobs$Execute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2850,11 +2915,11 @@ export namespace osconfig_v1beta { get( params: Params$Resource$Projects$Patchjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Patchjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Patchjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2883,7 +2948,10 @@ export namespace osconfig_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2935,11 +3003,11 @@ export namespace osconfig_v1beta { list( params: Params$Resource$Projects$Patchjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Patchjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Patchjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2972,8 +3040,8 @@ export namespace osconfig_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3086,11 +3154,13 @@ export namespace osconfig_v1beta { list( params: Params$Resource$Projects$Patchjobs$Instancedetails$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Patchjobs$Instancedetails$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Patchjobs$Instancedetails$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3125,8 +3195,10 @@ export namespace osconfig_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Patchjobs$Instancedetails$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3219,11 +3291,11 @@ export namespace osconfig_v1beta { lookupEffectiveGuestPolicy( params: Params$Resource$Projects$Zones$Instances$Lookupeffectiveguestpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupEffectiveGuestPolicy( params?: Params$Resource$Projects$Zones$Instances$Lookupeffectiveguestpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookupEffectiveGuestPolicy( params: Params$Resource$Projects$Zones$Instances$Lookupeffectiveguestpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3258,8 +3330,8 @@ export namespace osconfig_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Zones$Instances$Lookupeffectiveguestpolicy; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/osconfig/v2.ts b/src/apis/osconfig/v2.ts index c66c73c1df4..3d28e11a648 100644 --- a/src/apis/osconfig/v2.ts +++ b/src/apis/osconfig/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -430,6 +430,10 @@ export namespace osconfig_v2 { */ operations?: Schema$Operation[]; } + /** + * This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a "bridge" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments. + */ + export interface Schema$MessageSet {} /** * This resource represents a long-running operation that is the result of a network API call. */ @@ -1013,6 +1017,31 @@ export namespace osconfig_v2 { */ message?: string | null; } + /** + * Wire-format for a Status object + */ + export interface Schema$StatusProto { + /** + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6; + */ + canonicalCode?: number | null; + /** + * Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1; + */ + code?: number | null; + /** + * Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3; + */ + message?: string | null; + /** + * message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5; + */ + messageSet?: Schema$MessageSet; + /** + * copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs + */ + space?: string | null; + } export class Resource$Folders { context: APIRequestContext; @@ -1061,11 +1090,11 @@ export namespace osconfig_v2 { create( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Locations$Global$Policyorchestrators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1094,7 +1123,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Global$Policyorchestrators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1150,11 +1182,11 @@ export namespace osconfig_v2 { delete( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Locations$Global$Policyorchestrators$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1183,7 +1215,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Global$Policyorchestrators$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1236,11 +1271,13 @@ export namespace osconfig_v2 { get( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Global$Policyorchestrators$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1275,8 +1312,10 @@ export namespace osconfig_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Global$Policyorchestrators$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1331,11 +1370,13 @@ export namespace osconfig_v2 { list( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Global$Policyorchestrators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1370,8 +1411,10 @@ export namespace osconfig_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Global$Policyorchestrators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1429,11 +1472,11 @@ export namespace osconfig_v2 { patch( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Locations$Global$Policyorchestrators$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1462,7 +1505,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Global$Policyorchestrators$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1577,7 +1623,7 @@ export namespace osconfig_v2 { */ name?: string; /** - * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. + * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. */ updateMask?: string; @@ -1604,11 +1650,11 @@ export namespace osconfig_v2 { cancel( params: Params$Resource$Folders$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Folders$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Folders$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1637,7 +1683,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1689,11 +1738,11 @@ export namespace osconfig_v2 { delete( params: Params$Resource$Folders$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1722,7 +1771,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1774,11 +1826,11 @@ export namespace osconfig_v2 { get( params: Params$Resource$Folders$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1807,7 +1859,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1859,11 +1914,11 @@ export namespace osconfig_v2 { list( params: Params$Resource$Folders$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1896,8 +1951,8 @@ export namespace osconfig_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2039,11 +2094,11 @@ export namespace osconfig_v2 { create( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2072,7 +2127,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Policyorchestrators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2128,11 +2186,11 @@ export namespace osconfig_v2 { delete( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2161,7 +2219,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Policyorchestrators$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2214,11 +2275,13 @@ export namespace osconfig_v2 { get( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2253,8 +2316,10 @@ export namespace osconfig_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Policyorchestrators$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2309,11 +2374,13 @@ export namespace osconfig_v2 { list( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Global$Policyorchestrators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2348,8 +2415,10 @@ export namespace osconfig_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Policyorchestrators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2407,11 +2476,11 @@ export namespace osconfig_v2 { patch( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2440,7 +2509,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Policyorchestrators$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2555,7 +2627,7 @@ export namespace osconfig_v2 { */ name?: string; /** - * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. + * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. */ updateMask?: string; @@ -2582,11 +2654,11 @@ export namespace osconfig_v2 { cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2615,7 +2687,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2668,11 +2743,11 @@ export namespace osconfig_v2 { delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2701,7 +2776,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2754,11 +2832,11 @@ export namespace osconfig_v2 { get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2787,7 +2865,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2839,11 +2920,11 @@ export namespace osconfig_v2 { list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2876,8 +2957,8 @@ export namespace osconfig_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3019,11 +3100,11 @@ export namespace osconfig_v2 { create( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Policyorchestrators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3052,7 +3133,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policyorchestrators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3108,11 +3192,11 @@ export namespace osconfig_v2 { delete( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Policyorchestrators$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3141,7 +3225,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policyorchestrators$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3194,11 +3281,13 @@ export namespace osconfig_v2 { get( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Policyorchestrators$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3233,8 +3322,10 @@ export namespace osconfig_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policyorchestrators$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3289,11 +3380,13 @@ export namespace osconfig_v2 { list( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Policyorchestrators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3328,8 +3421,10 @@ export namespace osconfig_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policyorchestrators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3387,11 +3482,11 @@ export namespace osconfig_v2 { patch( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Policyorchestrators$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3420,7 +3515,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policyorchestrators$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3535,7 +3633,7 @@ export namespace osconfig_v2 { */ name?: string; /** - * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. + * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. */ updateMask?: string; @@ -3562,11 +3660,11 @@ export namespace osconfig_v2 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3595,7 +3693,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3647,11 +3748,11 @@ export namespace osconfig_v2 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3680,7 +3781,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3732,11 +3836,11 @@ export namespace osconfig_v2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3765,7 +3869,10 @@ export namespace osconfig_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3817,11 +3924,11 @@ export namespace osconfig_v2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3854,8 +3961,8 @@ export namespace osconfig_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/osconfig/v2beta.ts b/src/apis/osconfig/v2beta.ts index 3cf6502391c..f7480ba65ea 100644 --- a/src/apis/osconfig/v2beta.ts +++ b/src/apis/osconfig/v2beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -430,6 +430,10 @@ export namespace osconfig_v2beta { */ operations?: Schema$Operation[]; } + /** + * This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a "bridge" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments. + */ + export interface Schema$MessageSet {} /** * This resource represents a long-running operation that is the result of a network API call. */ @@ -1013,6 +1017,31 @@ export namespace osconfig_v2beta { */ message?: string | null; } + /** + * Wire-format for a Status object + */ + export interface Schema$StatusProto { + /** + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6; + */ + canonicalCode?: number | null; + /** + * Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1; + */ + code?: number | null; + /** + * Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3; + */ + message?: string | null; + /** + * message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5; + */ + messageSet?: Schema$MessageSet; + /** + * copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs + */ + space?: string | null; + } export class Resource$Folders { context: APIRequestContext; @@ -1061,11 +1090,11 @@ export namespace osconfig_v2beta { create( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Locations$Global$Policyorchestrators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1094,7 +1123,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Global$Policyorchestrators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1150,11 +1182,11 @@ export namespace osconfig_v2beta { delete( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Locations$Global$Policyorchestrators$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1183,7 +1215,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Global$Policyorchestrators$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1236,11 +1271,13 @@ export namespace osconfig_v2beta { get( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Global$Policyorchestrators$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1275,8 +1312,10 @@ export namespace osconfig_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Global$Policyorchestrators$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1331,11 +1370,13 @@ export namespace osconfig_v2beta { list( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Global$Policyorchestrators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1370,8 +1411,10 @@ export namespace osconfig_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Global$Policyorchestrators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1429,11 +1472,11 @@ export namespace osconfig_v2beta { patch( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Locations$Global$Policyorchestrators$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1462,7 +1505,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Global$Policyorchestrators$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1577,7 +1623,7 @@ export namespace osconfig_v2beta { */ name?: string; /** - * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. + * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. */ updateMask?: string; @@ -1604,11 +1650,11 @@ export namespace osconfig_v2beta { cancel( params: Params$Resource$Folders$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Folders$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Folders$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1637,7 +1683,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1692,11 +1741,11 @@ export namespace osconfig_v2beta { delete( params: Params$Resource$Folders$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1725,7 +1774,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1777,11 +1829,11 @@ export namespace osconfig_v2beta { get( params: Params$Resource$Folders$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1810,7 +1862,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1862,11 +1917,11 @@ export namespace osconfig_v2beta { list( params: Params$Resource$Folders$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1899,8 +1954,8 @@ export namespace osconfig_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2042,11 +2097,11 @@ export namespace osconfig_v2beta { create( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2075,7 +2130,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Policyorchestrators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2131,11 +2189,11 @@ export namespace osconfig_v2beta { delete( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2164,7 +2222,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Policyorchestrators$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2217,11 +2278,13 @@ export namespace osconfig_v2beta { get( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2256,8 +2319,10 @@ export namespace osconfig_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Policyorchestrators$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2312,11 +2377,13 @@ export namespace osconfig_v2beta { list( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Global$Policyorchestrators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2351,8 +2418,10 @@ export namespace osconfig_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Policyorchestrators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2410,11 +2479,11 @@ export namespace osconfig_v2beta { patch( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2443,7 +2512,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Global$Policyorchestrators$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2558,7 +2630,7 @@ export namespace osconfig_v2beta { */ name?: string; /** - * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. + * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. */ updateMask?: string; @@ -2585,11 +2657,11 @@ export namespace osconfig_v2beta { cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2618,7 +2690,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2674,11 +2749,11 @@ export namespace osconfig_v2beta { delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2707,7 +2782,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2760,11 +2838,11 @@ export namespace osconfig_v2beta { get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2793,7 +2871,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2845,11 +2926,11 @@ export namespace osconfig_v2beta { list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2882,8 +2963,8 @@ export namespace osconfig_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3025,11 +3106,11 @@ export namespace osconfig_v2beta { create( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Global$Policyorchestrators$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3058,7 +3139,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policyorchestrators$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3114,11 +3198,11 @@ export namespace osconfig_v2beta { delete( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Global$Policyorchestrators$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3147,7 +3231,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policyorchestrators$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3200,11 +3287,13 @@ export namespace osconfig_v2beta { get( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Global$Policyorchestrators$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3239,8 +3328,10 @@ export namespace osconfig_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policyorchestrators$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3295,11 +3386,13 @@ export namespace osconfig_v2beta { list( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Global$Policyorchestrators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3334,8 +3427,10 @@ export namespace osconfig_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policyorchestrators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3393,11 +3488,11 @@ export namespace osconfig_v2beta { patch( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Global$Policyorchestrators$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Global$Policyorchestrators$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3426,7 +3521,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Global$Policyorchestrators$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3541,7 +3639,7 @@ export namespace osconfig_v2beta { */ name?: string; /** - * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. + * Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields. */ updateMask?: string; @@ -3568,11 +3666,11 @@ export namespace osconfig_v2beta { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3601,7 +3699,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3656,11 +3757,11 @@ export namespace osconfig_v2beta { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3689,7 +3790,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3741,11 +3845,11 @@ export namespace osconfig_v2beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3774,7 +3878,10 @@ export namespace osconfig_v2beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3826,11 +3933,11 @@ export namespace osconfig_v2beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3863,8 +3970,8 @@ export namespace osconfig_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/oslogin/index.ts b/src/apis/oslogin/index.ts index 5b255fe565b..ed904b50a94 100644 --- a/src/apis/oslogin/index.ts +++ b/src/apis/oslogin/index.ts @@ -60,7 +60,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/oslogin/package.json b/src/apis/oslogin/package.json index ab731834382..eda4f8f5194 100644 --- a/src/apis/oslogin/package.json +++ b/src/apis/oslogin/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/oslogin/v1.ts b/src/apis/oslogin/v1.ts index 1d64e8dbd68..62dda01b894 100644 --- a/src/apis/oslogin/v1.ts +++ b/src/apis/oslogin/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -250,11 +250,11 @@ export namespace oslogin_v1 { getLoginProfile( params: Params$Resource$Users$Getloginprofile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLoginProfile( params?: Params$Resource$Users$Getloginprofile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getLoginProfile( params: Params$Resource$Users$Getloginprofile, options: StreamMethodOptions | BodyResponseCallback, @@ -283,7 +283,10 @@ export namespace oslogin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Getloginprofile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -338,11 +341,11 @@ export namespace oslogin_v1 { importSshPublicKey( params: Params$Resource$Users$Importsshpublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importSshPublicKey( params?: Params$Resource$Users$Importsshpublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importSshPublicKey( params: Params$Resource$Users$Importsshpublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -377,8 +380,8 @@ export namespace oslogin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Importsshpublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -476,11 +479,11 @@ export namespace oslogin_v1 { delete( params: Params$Resource$Users$Projects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Projects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Projects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -509,7 +512,10 @@ export namespace oslogin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Projects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -576,11 +582,11 @@ export namespace oslogin_v1 { create( params: Params$Resource$Users$Sshpublickeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Sshpublickeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Sshpublickeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -609,7 +615,10 @@ export namespace oslogin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -664,11 +673,11 @@ export namespace oslogin_v1 { delete( params: Params$Resource$Users$Sshpublickeys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Sshpublickeys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Sshpublickeys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -697,7 +706,10 @@ export namespace oslogin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -749,11 +761,11 @@ export namespace oslogin_v1 { get( params: Params$Resource$Users$Sshpublickeys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Sshpublickeys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Sshpublickeys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -782,7 +794,10 @@ export namespace oslogin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -834,11 +849,11 @@ export namespace oslogin_v1 { patch( params: Params$Resource$Users$Sshpublickeys$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Sshpublickeys$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Sshpublickeys$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -867,7 +882,10 @@ export namespace oslogin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/oslogin/v1alpha.ts b/src/apis/oslogin/v1alpha.ts index 5de5c266703..113a8c62b8b 100644 --- a/src/apis/oslogin/v1alpha.ts +++ b/src/apis/oslogin/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -135,7 +135,7 @@ export namespace oslogin_v1alpha { */ export interface Schema$GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest { /** - * The App Engine instance to sign the SSH public key for. Expected format: services/{service\}/versions/{version\}/instances/{instance\} + * The App Engine instance to sign the SSH public key for. Expected format: apps/{app\}/services/{service\}/versions/{version\}/instances/{instance\} */ appEngineInstance?: string | null; /** @@ -355,11 +355,13 @@ export namespace oslogin_v1alpha { signSshPublicKey( params: Params$Resource$Projects$Locations$Signsshpublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signSshPublicKey( params?: Params$Resource$Projects$Locations$Signsshpublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; signSshPublicKey( params: Params$Resource$Projects$Locations$Signsshpublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -394,8 +396,10 @@ export namespace oslogin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Signsshpublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -476,11 +480,11 @@ export namespace oslogin_v1alpha { getLoginProfile( params: Params$Resource$Users$Getloginprofile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLoginProfile( params?: Params$Resource$Users$Getloginprofile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getLoginProfile( params: Params$Resource$Users$Getloginprofile, options: StreamMethodOptions | BodyResponseCallback, @@ -509,7 +513,10 @@ export namespace oslogin_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Getloginprofile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -564,11 +571,11 @@ export namespace oslogin_v1alpha { importSshPublicKey( params: Params$Resource$Users$Importsshpublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importSshPublicKey( params?: Params$Resource$Users$Importsshpublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importSshPublicKey( params: Params$Resource$Users$Importsshpublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -603,8 +610,8 @@ export namespace oslogin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Importsshpublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -718,11 +725,11 @@ export namespace oslogin_v1alpha { delete( params: Params$Resource$Users$Projects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Projects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Projects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -751,7 +758,10 @@ export namespace oslogin_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Projects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -803,11 +813,11 @@ export namespace oslogin_v1alpha { provisionPosixAccount( params: Params$Resource$Users$Projects$Provisionposixaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provisionPosixAccount( params?: Params$Resource$Users$Projects$Provisionposixaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; provisionPosixAccount( params: Params$Resource$Users$Projects$Provisionposixaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -838,7 +848,10 @@ export namespace oslogin_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Projects$Provisionposixaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -921,11 +934,11 @@ export namespace oslogin_v1alpha { signSshPublicKey( params: Params$Resource$Users$Projects$Locations$Signsshpublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signSshPublicKey( params?: Params$Resource$Users$Projects$Locations$Signsshpublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signSshPublicKey( params: Params$Resource$Users$Projects$Locations$Signsshpublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -960,8 +973,8 @@ export namespace oslogin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Projects$Locations$Signsshpublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1037,11 +1050,11 @@ export namespace oslogin_v1alpha { signSshPublicKey( params: Params$Resource$Users$Projects$Zones$Signsshpublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signSshPublicKey( params?: Params$Resource$Users$Projects$Zones$Signsshpublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signSshPublicKey( params: Params$Resource$Users$Projects$Zones$Signsshpublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -1076,8 +1089,8 @@ export namespace oslogin_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Projects$Zones$Signsshpublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1152,11 +1165,11 @@ export namespace oslogin_v1alpha { create( params: Params$Resource$Users$Sshpublickeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Sshpublickeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Sshpublickeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1185,7 +1198,10 @@ export namespace oslogin_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1240,11 +1256,11 @@ export namespace oslogin_v1alpha { delete( params: Params$Resource$Users$Sshpublickeys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Sshpublickeys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Sshpublickeys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1273,7 +1289,10 @@ export namespace oslogin_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1325,11 +1344,11 @@ export namespace oslogin_v1alpha { get( params: Params$Resource$Users$Sshpublickeys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Sshpublickeys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Sshpublickeys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1358,7 +1377,10 @@ export namespace oslogin_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1410,11 +1432,11 @@ export namespace oslogin_v1alpha { patch( params: Params$Resource$Users$Sshpublickeys$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Sshpublickeys$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Sshpublickeys$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1443,7 +1465,10 @@ export namespace oslogin_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/oslogin/v1beta.ts b/src/apis/oslogin/v1beta.ts index 44bc73b3b04..b79bfd3655d 100644 --- a/src/apis/oslogin/v1beta.ts +++ b/src/apis/oslogin/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -135,7 +135,7 @@ export namespace oslogin_v1beta { */ export interface Schema$GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyRequest { /** - * The App Engine instance to sign the SSH public key for. Expected format: services/{service\}/versions/{version\}/instances/{instance\} + * The App Engine instance to sign the SSH public key for. Expected format: apps/{app\}/services/{service\}/versions/{version\}/instances/{instance\} */ appEngineInstance?: string | null; /** @@ -355,11 +355,13 @@ export namespace oslogin_v1beta { signSshPublicKey( params: Params$Resource$Projects$Locations$Signsshpublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signSshPublicKey( params?: Params$Resource$Projects$Locations$Signsshpublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; signSshPublicKey( params: Params$Resource$Projects$Locations$Signsshpublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -394,8 +396,10 @@ export namespace oslogin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Signsshpublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -476,11 +480,11 @@ export namespace oslogin_v1beta { getLoginProfile( params: Params$Resource$Users$Getloginprofile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLoginProfile( params?: Params$Resource$Users$Getloginprofile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getLoginProfile( params: Params$Resource$Users$Getloginprofile, options: StreamMethodOptions | BodyResponseCallback, @@ -509,7 +513,10 @@ export namespace oslogin_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Getloginprofile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -564,11 +571,11 @@ export namespace oslogin_v1beta { importSshPublicKey( params: Params$Resource$Users$Importsshpublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importSshPublicKey( params?: Params$Resource$Users$Importsshpublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importSshPublicKey( params: Params$Resource$Users$Importsshpublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -603,8 +610,8 @@ export namespace oslogin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Importsshpublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -714,11 +721,11 @@ export namespace oslogin_v1beta { delete( params: Params$Resource$Users$Projects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Projects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Projects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -747,7 +754,10 @@ export namespace oslogin_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Projects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -799,11 +809,11 @@ export namespace oslogin_v1beta { provisionPosixAccount( params: Params$Resource$Users$Projects$Provisionposixaccount, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provisionPosixAccount( params?: Params$Resource$Users$Projects$Provisionposixaccount, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; provisionPosixAccount( params: Params$Resource$Users$Projects$Provisionposixaccount, options: StreamMethodOptions | BodyResponseCallback, @@ -834,7 +844,10 @@ export namespace oslogin_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Projects$Provisionposixaccount; let options = (optionsOrCallback || {}) as MethodOptions; @@ -913,11 +926,11 @@ export namespace oslogin_v1beta { signSshPublicKey( params: Params$Resource$Users$Projects$Locations$Signsshpublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signSshPublicKey( params?: Params$Resource$Users$Projects$Locations$Signsshpublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signSshPublicKey( params: Params$Resource$Users$Projects$Locations$Signsshpublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -952,8 +965,8 @@ export namespace oslogin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Projects$Locations$Signsshpublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1029,11 +1042,11 @@ export namespace oslogin_v1beta { signSshPublicKey( params: Params$Resource$Users$Projects$Zones$Signsshpublickey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signSshPublicKey( params?: Params$Resource$Users$Projects$Zones$Signsshpublickey, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signSshPublicKey( params: Params$Resource$Users$Projects$Zones$Signsshpublickey, options: StreamMethodOptions | BodyResponseCallback, @@ -1068,8 +1081,8 @@ export namespace oslogin_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Projects$Zones$Signsshpublickey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1144,11 +1157,11 @@ export namespace oslogin_v1beta { create( params: Params$Resource$Users$Sshpublickeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Users$Sshpublickeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Users$Sshpublickeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1177,7 +1190,10 @@ export namespace oslogin_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1232,11 +1248,11 @@ export namespace oslogin_v1beta { delete( params: Params$Resource$Users$Sshpublickeys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Sshpublickeys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Sshpublickeys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1265,7 +1281,10 @@ export namespace oslogin_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1317,11 +1336,11 @@ export namespace oslogin_v1beta { get( params: Params$Resource$Users$Sshpublickeys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Sshpublickeys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Sshpublickeys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1350,7 +1369,10 @@ export namespace oslogin_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1402,11 +1424,11 @@ export namespace oslogin_v1beta { patch( params: Params$Resource$Users$Sshpublickeys$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Users$Sshpublickeys$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Users$Sshpublickeys$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1435,7 +1457,10 @@ export namespace oslogin_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Sshpublickeys$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/pagespeedonline/index.ts b/src/apis/pagespeedonline/index.ts index a69b404aba5..de281f379f5 100644 --- a/src/apis/pagespeedonline/index.ts +++ b/src/apis/pagespeedonline/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/pagespeedonline/package.json b/src/apis/pagespeedonline/package.json index 68b72c5ee7f..b50e066bd83 100644 --- a/src/apis/pagespeedonline/package.json +++ b/src/apis/pagespeedonline/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/pagespeedonline/v5.ts b/src/apis/pagespeedonline/v5.ts index c2b059772fa..0a31f2247ff 100644 --- a/src/apis/pagespeedonline/v5.ts +++ b/src/apis/pagespeedonline/v5.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -842,11 +842,11 @@ export namespace pagespeedonline_v5 { runpagespeed( params: Params$Resource$Pagespeedapi$Runpagespeed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runpagespeed( params?: Params$Resource$Pagespeedapi$Runpagespeed, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runpagespeed( params: Params$Resource$Pagespeedapi$Runpagespeed, options: StreamMethodOptions | BodyResponseCallback, @@ -881,8 +881,8 @@ export namespace pagespeedonline_v5 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Pagespeedapi$Runpagespeed; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/parallelstore/index.ts b/src/apis/parallelstore/index.ts index cbd0521590b..5ffbf86a8b5 100644 --- a/src/apis/parallelstore/index.ts +++ b/src/apis/parallelstore/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/parallelstore/package.json b/src/apis/parallelstore/package.json index ef7de0adca3..815ceeaa14e 100644 --- a/src/apis/parallelstore/package.json +++ b/src/apis/parallelstore/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/parallelstore/v1.ts b/src/apis/parallelstore/v1.ts index 3d9344eab63..b631ee3af9e 100644 --- a/src/apis/parallelstore/v1.ts +++ b/src/apis/parallelstore/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -489,11 +489,11 @@ export namespace parallelstore_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -522,7 +522,10 @@ export namespace parallelstore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -575,11 +578,11 @@ export namespace parallelstore_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -612,8 +615,8 @@ export namespace parallelstore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -707,11 +710,11 @@ export namespace parallelstore_v1 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -740,7 +743,10 @@ export namespace parallelstore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -796,11 +802,11 @@ export namespace parallelstore_v1 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -829,7 +835,10 @@ export namespace parallelstore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -882,11 +891,11 @@ export namespace parallelstore_v1 { exportData( params: Params$Resource$Projects$Locations$Instances$Exportdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportData( params?: Params$Resource$Projects$Locations$Instances$Exportdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportData( params: Params$Resource$Projects$Locations$Instances$Exportdata, options: StreamMethodOptions | BodyResponseCallback, @@ -915,7 +924,10 @@ export namespace parallelstore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Exportdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -971,11 +983,11 @@ export namespace parallelstore_v1 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1004,7 +1016,10 @@ export namespace parallelstore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1057,11 +1072,11 @@ export namespace parallelstore_v1 { importData( params: Params$Resource$Projects$Locations$Instances$Importdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importData( params?: Params$Resource$Projects$Locations$Instances$Importdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importData( params: Params$Resource$Projects$Locations$Instances$Importdata, options: StreamMethodOptions | BodyResponseCallback, @@ -1090,7 +1105,10 @@ export namespace parallelstore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Importdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1146,11 +1164,11 @@ export namespace parallelstore_v1 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1183,8 +1201,8 @@ export namespace parallelstore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1240,11 +1258,11 @@ export namespace parallelstore_v1 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1273,7 +1291,10 @@ export namespace parallelstore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1439,11 +1460,11 @@ export namespace parallelstore_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1474,8 +1495,8 @@ export namespace parallelstore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1528,11 +1549,11 @@ export namespace parallelstore_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1563,8 +1584,8 @@ export namespace parallelstore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1617,11 +1638,11 @@ export namespace parallelstore_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1650,7 +1671,10 @@ export namespace parallelstore_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1703,11 +1727,11 @@ export namespace parallelstore_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1740,8 +1764,8 @@ export namespace parallelstore_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/parallelstore/v1beta.ts b/src/apis/parallelstore/v1beta.ts index 35340f5b1a0..d5a4741bdfd 100644 --- a/src/apis/parallelstore/v1beta.ts +++ b/src/apis/parallelstore/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -485,11 +485,11 @@ export namespace parallelstore_v1beta { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -518,7 +518,10 @@ export namespace parallelstore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -571,11 +574,11 @@ export namespace parallelstore_v1beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -608,8 +611,8 @@ export namespace parallelstore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -703,11 +706,11 @@ export namespace parallelstore_v1beta { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -736,7 +739,10 @@ export namespace parallelstore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -792,11 +798,11 @@ export namespace parallelstore_v1beta { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -825,7 +831,10 @@ export namespace parallelstore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -878,11 +887,11 @@ export namespace parallelstore_v1beta { exportData( params: Params$Resource$Projects$Locations$Instances$Exportdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportData( params?: Params$Resource$Projects$Locations$Instances$Exportdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportData( params: Params$Resource$Projects$Locations$Instances$Exportdata, options: StreamMethodOptions | BodyResponseCallback, @@ -911,7 +920,10 @@ export namespace parallelstore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Exportdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -967,11 +979,11 @@ export namespace parallelstore_v1beta { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1000,7 +1012,10 @@ export namespace parallelstore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1053,11 +1068,11 @@ export namespace parallelstore_v1beta { importData( params: Params$Resource$Projects$Locations$Instances$Importdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importData( params?: Params$Resource$Projects$Locations$Instances$Importdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importData( params: Params$Resource$Projects$Locations$Instances$Importdata, options: StreamMethodOptions | BodyResponseCallback, @@ -1086,7 +1101,10 @@ export namespace parallelstore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Importdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1142,11 +1160,11 @@ export namespace parallelstore_v1beta { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1179,8 +1197,8 @@ export namespace parallelstore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1236,11 +1254,11 @@ export namespace parallelstore_v1beta { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1269,7 +1287,10 @@ export namespace parallelstore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1435,11 +1456,11 @@ export namespace parallelstore_v1beta { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1470,8 +1491,8 @@ export namespace parallelstore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1527,11 +1548,11 @@ export namespace parallelstore_v1beta { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1562,8 +1583,8 @@ export namespace parallelstore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1616,11 +1637,11 @@ export namespace parallelstore_v1beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1649,7 +1670,10 @@ export namespace parallelstore_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1702,11 +1726,11 @@ export namespace parallelstore_v1beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1739,8 +1763,8 @@ export namespace parallelstore_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/paymentsresellersubscription/index.ts b/src/apis/paymentsresellersubscription/index.ts index 2f9af93f972..b526675b7f1 100644 --- a/src/apis/paymentsresellersubscription/index.ts +++ b/src/apis/paymentsresellersubscription/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/paymentsresellersubscription/package.json b/src/apis/paymentsresellersubscription/package.json index b00fb4e139a..203b2d1b099 100644 --- a/src/apis/paymentsresellersubscription/package.json +++ b/src/apis/paymentsresellersubscription/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/paymentsresellersubscription/v1.ts b/src/apis/paymentsresellersubscription/v1.ts index 4bd22faca3a..f3b0694eddd 100644 --- a/src/apis/paymentsresellersubscription/v1.ts +++ b/src/apis/paymentsresellersubscription/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -924,11 +924,13 @@ export namespace paymentsresellersubscription_v1 { list( params: Params$Resource$Partners$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Partners$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -963,8 +965,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1050,11 +1054,13 @@ export namespace paymentsresellersubscription_v1 { findEligible( params: Params$Resource$Partners$Promotions$Findeligible, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; findEligible( params?: Params$Resource$Partners$Promotions$Findeligible, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; findEligible( params: Params$Resource$Partners$Promotions$Findeligible, options: StreamMethodOptions | BodyResponseCallback, @@ -1089,8 +1095,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Promotions$Findeligible; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1149,11 +1157,13 @@ export namespace paymentsresellersubscription_v1 { list( params: Params$Resource$Partners$Promotions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Partners$Promotions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Partners$Promotions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1188,8 +1198,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Promotions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1287,11 +1299,13 @@ export namespace paymentsresellersubscription_v1 { cancel( params: Params$Resource$Partners$Subscriptions$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Partners$Subscriptions$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; cancel( params: Params$Resource$Partners$Subscriptions$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1326,8 +1340,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Subscriptions$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1383,11 +1399,13 @@ export namespace paymentsresellersubscription_v1 { create( params: Params$Resource$Partners$Subscriptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Partners$Subscriptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Partners$Subscriptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1422,8 +1440,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Subscriptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1482,11 +1502,13 @@ export namespace paymentsresellersubscription_v1 { entitle( params: Params$Resource$Partners$Subscriptions$Entitle, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; entitle( params?: Params$Resource$Partners$Subscriptions$Entitle, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; entitle( params: Params$Resource$Partners$Subscriptions$Entitle, options: StreamMethodOptions | BodyResponseCallback, @@ -1521,8 +1543,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Subscriptions$Entitle; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1581,11 +1605,13 @@ export namespace paymentsresellersubscription_v1 { extend( params: Params$Resource$Partners$Subscriptions$Extend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; extend( params?: Params$Resource$Partners$Subscriptions$Extend, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; extend( params: Params$Resource$Partners$Subscriptions$Extend, options: StreamMethodOptions | BodyResponseCallback, @@ -1620,8 +1646,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Subscriptions$Extend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1677,11 +1705,13 @@ export namespace paymentsresellersubscription_v1 { get( params: Params$Resource$Partners$Subscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Partners$Subscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Partners$Subscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1716,8 +1746,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Subscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1773,11 +1805,13 @@ export namespace paymentsresellersubscription_v1 { provision( params: Params$Resource$Partners$Subscriptions$Provision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provision( params?: Params$Resource$Partners$Subscriptions$Provision, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; provision( params: Params$Resource$Partners$Subscriptions$Provision, options: StreamMethodOptions | BodyResponseCallback, @@ -1812,8 +1846,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Subscriptions$Provision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1872,11 +1908,13 @@ export namespace paymentsresellersubscription_v1 { resume( params: Params$Resource$Partners$Subscriptions$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Partners$Subscriptions$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; resume( params: Params$Resource$Partners$Subscriptions$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -1911,8 +1949,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Subscriptions$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1968,11 +2008,13 @@ export namespace paymentsresellersubscription_v1 { suspend( params: Params$Resource$Partners$Subscriptions$Suspend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params?: Params$Resource$Partners$Subscriptions$Suspend, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; suspend( params: Params$Resource$Partners$Subscriptions$Suspend, options: StreamMethodOptions | BodyResponseCallback, @@ -2007,8 +2049,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Subscriptions$Suspend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2067,11 +2111,13 @@ export namespace paymentsresellersubscription_v1 { undoCancel( params: Params$Resource$Partners$Subscriptions$Undocancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undoCancel( params?: Params$Resource$Partners$Subscriptions$Undocancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; undoCancel( params: Params$Resource$Partners$Subscriptions$Undocancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2106,8 +2152,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Subscriptions$Undocancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2285,11 +2333,13 @@ export namespace paymentsresellersubscription_v1 { generate( params: Params$Resource$Partners$Usersessions$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Partners$Usersessions$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; generate( params: Params$Resource$Partners$Usersessions$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -2324,8 +2374,10 @@ export namespace paymentsresellersubscription_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Partners$Usersessions$Generate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/people/index.ts b/src/apis/people/index.ts index aab3a44c27e..7726197dc21 100644 --- a/src/apis/people/index.ts +++ b/src/apis/people/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/people/package.json b/src/apis/people/package.json index 4d98fd702de..441cb67b144 100644 --- a/src/apis/people/package.json +++ b/src/apis/people/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/people/v1.ts b/src/apis/people/v1.ts index b5d7653263c..333f8127c13 100644 --- a/src/apis/people/v1.ts +++ b/src/apis/people/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1635,11 +1635,11 @@ export namespace people_v1 { batchGet( params: Params$Resource$Contactgroups$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Contactgroups$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Contactgroups$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -1674,8 +1674,8 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contactgroups$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1732,11 +1732,11 @@ export namespace people_v1 { create( params: Params$Resource$Contactgroups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Contactgroups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Contactgroups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1765,7 +1765,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contactgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1817,11 +1820,11 @@ export namespace people_v1 { delete( params: Params$Resource$Contactgroups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Contactgroups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Contactgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1850,7 +1853,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contactgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1905,11 +1911,11 @@ export namespace people_v1 { get( params: Params$Resource$Contactgroups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Contactgroups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Contactgroups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1938,7 +1944,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contactgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1993,11 +2002,11 @@ export namespace people_v1 { list( params: Params$Resource$Contactgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Contactgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Contactgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2032,8 +2041,8 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contactgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2085,11 +2094,11 @@ export namespace people_v1 { update( params: Params$Resource$Contactgroups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Contactgroups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Contactgroups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2118,7 +2127,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contactgroups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2260,11 +2272,13 @@ export namespace people_v1 { modify( params: Params$Resource$Contactgroups$Members$Modify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modify( params?: Params$Resource$Contactgroups$Members$Modify, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; modify( params: Params$Resource$Contactgroups$Members$Modify, options: StreamMethodOptions | BodyResponseCallback, @@ -2299,8 +2313,10 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Contactgroups$Members$Modify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2377,11 +2393,11 @@ export namespace people_v1 { copyOtherContactToMyContactsGroup( params: Params$Resource$Othercontacts$Copyothercontacttomycontactsgroup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copyOtherContactToMyContactsGroup( params?: Params$Resource$Othercontacts$Copyothercontacttomycontactsgroup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copyOtherContactToMyContactsGroup( params: Params$Resource$Othercontacts$Copyothercontacttomycontactsgroup, options: StreamMethodOptions | BodyResponseCallback, @@ -2412,7 +2428,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Othercontacts$Copyothercontacttomycontactsgroup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2467,11 +2486,11 @@ export namespace people_v1 { list( params: Params$Resource$Othercontacts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Othercontacts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Othercontacts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2506,8 +2525,8 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Othercontacts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2559,11 +2578,11 @@ export namespace people_v1 { search( params: Params$Resource$Othercontacts$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Othercontacts$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Othercontacts$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -2592,7 +2611,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Othercontacts$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2711,11 +2733,11 @@ export namespace people_v1 { batchCreateContacts( params: Params$Resource$People$Batchcreatecontacts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreateContacts( params?: Params$Resource$People$Batchcreatecontacts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreateContacts( params: Params$Resource$People$Batchcreatecontacts, options: StreamMethodOptions | BodyResponseCallback, @@ -2750,8 +2772,8 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Batchcreatecontacts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2806,11 +2828,11 @@ export namespace people_v1 { batchDeleteContacts( params: Params$Resource$People$Batchdeletecontacts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDeleteContacts( params?: Params$Resource$People$Batchdeletecontacts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDeleteContacts( params: Params$Resource$People$Batchdeletecontacts, options: StreamMethodOptions | BodyResponseCallback, @@ -2839,7 +2861,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Batchdeletecontacts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2894,11 +2919,11 @@ export namespace people_v1 { batchUpdateContacts( params: Params$Resource$People$Batchupdatecontacts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdateContacts( params?: Params$Resource$People$Batchupdatecontacts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdateContacts( params: Params$Resource$People$Batchupdatecontacts, options: StreamMethodOptions | BodyResponseCallback, @@ -2933,8 +2958,8 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Batchupdatecontacts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2989,11 +3014,11 @@ export namespace people_v1 { createContact( params: Params$Resource$People$Createcontact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createContact( params?: Params$Resource$People$Createcontact, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createContact( params: Params$Resource$People$Createcontact, options: StreamMethodOptions | BodyResponseCallback, @@ -3022,7 +3047,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Createcontact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3077,11 +3105,11 @@ export namespace people_v1 { deleteContact( params: Params$Resource$People$Deletecontact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteContact( params?: Params$Resource$People$Deletecontact, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteContact( params: Params$Resource$People$Deletecontact, options: StreamMethodOptions | BodyResponseCallback, @@ -3110,7 +3138,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Deletecontact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3165,11 +3196,11 @@ export namespace people_v1 { deleteContactPhoto( params: Params$Resource$People$Deletecontactphoto, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteContactPhoto( params?: Params$Resource$People$Deletecontactphoto, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteContactPhoto( params: Params$Resource$People$Deletecontactphoto, options: StreamMethodOptions | BodyResponseCallback, @@ -3204,8 +3235,8 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Deletecontactphoto; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3260,11 +3291,11 @@ export namespace people_v1 { get( params: Params$Resource$People$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$People$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$People$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3293,7 +3324,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3347,11 +3381,11 @@ export namespace people_v1 { getBatchGet( params: Params$Resource$People$Getbatchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getBatchGet( params?: Params$Resource$People$Getbatchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getBatchGet( params: Params$Resource$People$Getbatchget, options: StreamMethodOptions | BodyResponseCallback, @@ -3382,8 +3416,8 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Getbatchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3438,11 +3472,11 @@ export namespace people_v1 { listDirectoryPeople( params: Params$Resource$People$Listdirectorypeople, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDirectoryPeople( params?: Params$Resource$People$Listdirectorypeople, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listDirectoryPeople( params: Params$Resource$People$Listdirectorypeople, options: StreamMethodOptions | BodyResponseCallback, @@ -3477,8 +3511,8 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Listdirectorypeople; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3533,11 +3567,11 @@ export namespace people_v1 { searchContacts( params: Params$Resource$People$Searchcontacts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchContacts( params?: Params$Resource$People$Searchcontacts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchContacts( params: Params$Resource$People$Searchcontacts, options: StreamMethodOptions | BodyResponseCallback, @@ -3566,7 +3600,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Searchcontacts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3621,11 +3658,11 @@ export namespace people_v1 { searchDirectoryPeople( params: Params$Resource$People$Searchdirectorypeople, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchDirectoryPeople( params?: Params$Resource$People$Searchdirectorypeople, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchDirectoryPeople( params: Params$Resource$People$Searchdirectorypeople, options: StreamMethodOptions | BodyResponseCallback, @@ -3660,8 +3697,8 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Searchdirectorypeople; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3718,11 +3755,11 @@ export namespace people_v1 { updateContact( params: Params$Resource$People$Updatecontact, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateContact( params?: Params$Resource$People$Updatecontact, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateContact( params: Params$Resource$People$Updatecontact, options: StreamMethodOptions | BodyResponseCallback, @@ -3751,7 +3788,10 @@ export namespace people_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Updatecontact; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3806,11 +3846,11 @@ export namespace people_v1 { updateContactPhoto( params: Params$Resource$People$Updatecontactphoto, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateContactPhoto( params?: Params$Resource$People$Updatecontactphoto, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateContactPhoto( params: Params$Resource$People$Updatecontactphoto, options: StreamMethodOptions | BodyResponseCallback, @@ -3845,8 +3885,8 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Updatecontactphoto; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4118,11 +4158,11 @@ export namespace people_v1 { list( params: Params$Resource$People$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$People$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$People$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4155,8 +4195,8 @@ export namespace people_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/places/index.ts b/src/apis/places/index.ts index a364b85cfdc..905e107a57e 100644 --- a/src/apis/places/index.ts +++ b/src/apis/places/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/places/package.json b/src/apis/places/package.json index 581c266abdd..1675deb0ae2 100644 --- a/src/apis/places/package.json +++ b/src/apis/places/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/places/v1.ts b/src/apis/places/v1.ts index 98aed81ed1f..2c4b04fc9d7 100644 --- a/src/apis/places/v1.ts +++ b/src/apis/places/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1029,7 +1029,7 @@ export namespace places_v1 { */ directionsUri?: string | null; /** - * A link to show photos of this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps. + * A link to show reviews of this place on Google Maps. */ photosUri?: string | null; /** @@ -1037,11 +1037,11 @@ export namespace places_v1 { */ placeUri?: string | null; /** - * A link to show reviews of this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps. + * A link to show reviews of this place on Google Maps. */ reviewsUri?: string | null; /** - * A link to write a review for this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps. + * A link to write a review for this place on Google Maps. */ writeAReviewUri?: string | null; } @@ -1225,6 +1225,10 @@ export namespace places_v1 { * A link where users can flag a problem with the summary. */ flagContentUri?: string | null; + /** + * A link to show reviews of this place on Google Maps. + */ + reviewsUri?: string | null; /** * The summary of user reviews. */ @@ -1305,23 +1309,6 @@ export namespace places_v1 { * The localized text of the review. */ text?: Schema$GoogleTypeLocalizedText; - /** - * The date when the author visited the place. This is trucated to month. - */ - visitDate?: Schema$GoogleMapsPlacesV1ReviewVisitDate; - } - /** - * The date when the author visited the place. This is trucated to month. - */ - export interface Schema$GoogleMapsPlacesV1ReviewVisitDate { - /** - * The month the author visited the place, e.g. 4. The value is between 1 and 12. - */ - month?: number | null; - /** - * The year the author visited the place, e.g. 2025. - */ - year?: number | null; } /** * Encapsulates a set of optional conditions to satisfy when calculating the routes. @@ -1746,11 +1733,13 @@ export namespace places_v1 { autocomplete( params: Params$Resource$Places$Autocomplete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; autocomplete( params?: Params$Resource$Places$Autocomplete, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; autocomplete( params: Params$Resource$Places$Autocomplete, options: StreamMethodOptions | BodyResponseCallback, @@ -1785,8 +1774,10 @@ export namespace places_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Places$Autocomplete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1843,11 +1834,11 @@ export namespace places_v1 { get( params: Params$Resource$Places$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Places$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Places$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1880,8 +1871,8 @@ export namespace places_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Places$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1932,11 +1923,13 @@ export namespace places_v1 { searchNearby( params: Params$Resource$Places$Searchnearby, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchNearby( params?: Params$Resource$Places$Searchnearby, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchNearby( params: Params$Resource$Places$Searchnearby, options: StreamMethodOptions | BodyResponseCallback, @@ -1971,8 +1964,10 @@ export namespace places_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Places$Searchnearby; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2029,11 +2024,13 @@ export namespace places_v1 { searchText( params: Params$Resource$Places$Searchtext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchText( params?: Params$Resource$Places$Searchtext, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; searchText( params: Params$Resource$Places$Searchtext, options: StreamMethodOptions | BodyResponseCallback, @@ -2068,8 +2065,10 @@ export namespace places_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Places$Searchtext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2173,11 +2172,11 @@ export namespace places_v1 { getMedia( params: Params$Resource$Places$Photos$Getmedia, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMedia( params?: Params$Resource$Places$Photos$Getmedia, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getMedia( params: Params$Resource$Places$Photos$Getmedia, options: StreamMethodOptions | BodyResponseCallback, @@ -2212,8 +2211,8 @@ export namespace places_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Places$Photos$Getmedia; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/playablelocations/index.ts b/src/apis/playablelocations/index.ts index a2b6c149fef..8ca8fb4926c 100644 --- a/src/apis/playablelocations/index.ts +++ b/src/apis/playablelocations/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/playablelocations/package.json b/src/apis/playablelocations/package.json index 2836589d2a2..ac3277f8478 100644 --- a/src/apis/playablelocations/package.json +++ b/src/apis/playablelocations/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/playablelocations/v3.ts b/src/apis/playablelocations/v3.ts index 446e6909fa7..2271afb3e14 100644 --- a/src/apis/playablelocations/v3.ts +++ b/src/apis/playablelocations/v3.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -444,11 +444,11 @@ export namespace playablelocations_v3 { logImpressions( params: Params$Resource$V3$Logimpressions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; logImpressions( params?: Params$Resource$V3$Logimpressions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; logImpressions( params: Params$Resource$V3$Logimpressions, options: StreamMethodOptions | BodyResponseCallback, @@ -483,8 +483,8 @@ export namespace playablelocations_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V3$Logimpressions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -585,11 +585,11 @@ export namespace playablelocations_v3 { logPlayerReports( params: Params$Resource$V3$Logplayerreports, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; logPlayerReports( params?: Params$Resource$V3$Logplayerreports, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; logPlayerReports( params: Params$Resource$V3$Logplayerreports, options: StreamMethodOptions | BodyResponseCallback, @@ -624,8 +624,8 @@ export namespace playablelocations_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V3$Logplayerreports; let options = (optionsOrCallback || {}) as MethodOptions; @@ -731,11 +731,11 @@ export namespace playablelocations_v3 { samplePlayableLocations( params: Params$Resource$V3$Sampleplayablelocations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; samplePlayableLocations( params?: Params$Resource$V3$Sampleplayablelocations, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; samplePlayableLocations( params: Params$Resource$V3$Sampleplayablelocations, options: StreamMethodOptions | BodyResponseCallback, @@ -770,8 +770,8 @@ export namespace playablelocations_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V3$Sampleplayablelocations; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/playcustomapp/index.ts b/src/apis/playcustomapp/index.ts index 033e244e471..8f986476bc0 100644 --- a/src/apis/playcustomapp/index.ts +++ b/src/apis/playcustomapp/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/playcustomapp/package.json b/src/apis/playcustomapp/package.json index 64432b5ab65..495ec60ba67 100644 --- a/src/apis/playcustomapp/package.json +++ b/src/apis/playcustomapp/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/playcustomapp/v1.ts b/src/apis/playcustomapp/v1.ts index 47070464d17..823ad57bb48 100644 --- a/src/apis/playcustomapp/v1.ts +++ b/src/apis/playcustomapp/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -185,11 +185,11 @@ export namespace playcustomapp_v1 { create( params: Params$Resource$Accounts$Customapps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Customapps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Customapps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -218,7 +218,10 @@ export namespace playcustomapp_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Customapps$Create; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/playdeveloperreporting/index.ts b/src/apis/playdeveloperreporting/index.ts index 28ed01ec3c4..9f2d38e353d 100644 --- a/src/apis/playdeveloperreporting/index.ts +++ b/src/apis/playdeveloperreporting/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/playdeveloperreporting/package.json b/src/apis/playdeveloperreporting/package.json index 7fc2a7d9853..fc06f99708e 100644 --- a/src/apis/playdeveloperreporting/package.json +++ b/src/apis/playdeveloperreporting/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/playdeveloperreporting/v1alpha1.ts b/src/apis/playdeveloperreporting/v1alpha1.ts index a863c0cee4e..d24db4697ce 100644 --- a/src/apis/playdeveloperreporting/v1alpha1.ts +++ b/src/apis/playdeveloperreporting/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1092,11 +1092,13 @@ export namespace playdeveloperreporting_v1alpha1 { list( params: Params$Resource$Anomalies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Anomalies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Anomalies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1131,8 +1133,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Anomalies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1215,11 +1219,13 @@ export namespace playdeveloperreporting_v1alpha1 { fetchReleaseFilterOptions( params: Params$Resource$Apps$Fetchreleasefilteroptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchReleaseFilterOptions( params?: Params$Resource$Apps$Fetchreleasefilteroptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchReleaseFilterOptions( params: Params$Resource$Apps$Fetchreleasefilteroptions, options: StreamMethodOptions | BodyResponseCallback, @@ -1254,8 +1260,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Fetchreleasefilteroptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1312,11 +1320,13 @@ export namespace playdeveloperreporting_v1alpha1 { search( params: Params$Resource$Apps$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Apps$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Apps$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1351,8 +1361,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1462,11 +1474,13 @@ export namespace playdeveloperreporting_v1alpha1 { get( params: Params$Resource$Vitals$Anrrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Anrrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Anrrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1501,8 +1515,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Anrrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1557,11 +1573,13 @@ export namespace playdeveloperreporting_v1alpha1 { query( params: Params$Resource$Vitals$Anrrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Anrrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Anrrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -1596,8 +1614,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Anrrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1682,11 +1702,13 @@ export namespace playdeveloperreporting_v1alpha1 { get( params: Params$Resource$Vitals$Crashrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Crashrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Crashrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1721,8 +1743,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Crashrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1777,11 +1801,13 @@ export namespace playdeveloperreporting_v1alpha1 { query( params: Params$Resource$Vitals$Crashrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Crashrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Crashrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -1816,8 +1842,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Crashrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1915,11 +1943,13 @@ export namespace playdeveloperreporting_v1alpha1 { get( params: Params$Resource$Vitals$Errors$Counts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Errors$Counts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Errors$Counts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1954,8 +1984,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Errors$Counts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2010,11 +2042,13 @@ export namespace playdeveloperreporting_v1alpha1 { query( params: Params$Resource$Vitals$Errors$Counts$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Errors$Counts$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Errors$Counts$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -2049,8 +2083,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Errors$Counts$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2135,11 +2171,13 @@ export namespace playdeveloperreporting_v1alpha1 { search( params: Params$Resource$Vitals$Errors$Issues$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Vitals$Errors$Issues$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Vitals$Errors$Issues$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -2174,8 +2212,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Errors$Issues$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2348,11 +2388,13 @@ export namespace playdeveloperreporting_v1alpha1 { search( params: Params$Resource$Vitals$Errors$Reports$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Vitals$Errors$Reports$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Vitals$Errors$Reports$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -2387,8 +2429,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Errors$Reports$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2553,11 +2597,13 @@ export namespace playdeveloperreporting_v1alpha1 { get( params: Params$Resource$Vitals$Excessivewakeuprate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Excessivewakeuprate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Excessivewakeuprate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2592,8 +2638,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Excessivewakeuprate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2648,11 +2696,13 @@ export namespace playdeveloperreporting_v1alpha1 { query( params: Params$Resource$Vitals$Excessivewakeuprate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Excessivewakeuprate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Excessivewakeuprate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -2687,8 +2737,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Excessivewakeuprate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2773,11 +2825,13 @@ export namespace playdeveloperreporting_v1alpha1 { get( params: Params$Resource$Vitals$Lmkrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Lmkrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Lmkrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2812,8 +2866,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Lmkrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2868,11 +2924,13 @@ export namespace playdeveloperreporting_v1alpha1 { query( params: Params$Resource$Vitals$Lmkrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Lmkrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Lmkrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -2907,8 +2965,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Lmkrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2993,11 +3053,13 @@ export namespace playdeveloperreporting_v1alpha1 { get( params: Params$Resource$Vitals$Slowrenderingrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Slowrenderingrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Slowrenderingrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3032,8 +3094,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Slowrenderingrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3088,11 +3152,13 @@ export namespace playdeveloperreporting_v1alpha1 { query( params: Params$Resource$Vitals$Slowrenderingrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Slowrenderingrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Slowrenderingrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -3127,8 +3193,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Slowrenderingrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3213,11 +3281,13 @@ export namespace playdeveloperreporting_v1alpha1 { get( params: Params$Resource$Vitals$Slowstartrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Slowstartrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Slowstartrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3252,8 +3322,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Slowstartrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3308,11 +3380,13 @@ export namespace playdeveloperreporting_v1alpha1 { query( params: Params$Resource$Vitals$Slowstartrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Slowstartrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Slowstartrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -3347,8 +3421,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Slowstartrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3433,11 +3509,13 @@ export namespace playdeveloperreporting_v1alpha1 { get( params: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3472,8 +3550,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Stuckbackgroundwakelockrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3528,11 +3608,13 @@ export namespace playdeveloperreporting_v1alpha1 { query( params: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -3567,8 +3649,10 @@ export namespace playdeveloperreporting_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Stuckbackgroundwakelockrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/playdeveloperreporting/v1beta1.ts b/src/apis/playdeveloperreporting/v1beta1.ts index 9079ffbba03..cd9a36b87e3 100644 --- a/src/apis/playdeveloperreporting/v1beta1.ts +++ b/src/apis/playdeveloperreporting/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1092,11 +1092,13 @@ export namespace playdeveloperreporting_v1beta1 { list( params: Params$Resource$Anomalies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Anomalies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Anomalies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1131,8 +1133,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Anomalies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1215,11 +1219,13 @@ export namespace playdeveloperreporting_v1beta1 { fetchReleaseFilterOptions( params: Params$Resource$Apps$Fetchreleasefilteroptions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchReleaseFilterOptions( params?: Params$Resource$Apps$Fetchreleasefilteroptions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchReleaseFilterOptions( params: Params$Resource$Apps$Fetchreleasefilteroptions, options: StreamMethodOptions | BodyResponseCallback, @@ -1254,8 +1260,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Fetchreleasefilteroptions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1312,11 +1320,13 @@ export namespace playdeveloperreporting_v1beta1 { search( params: Params$Resource$Apps$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Apps$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Apps$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1351,8 +1361,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1462,11 +1474,13 @@ export namespace playdeveloperreporting_v1beta1 { get( params: Params$Resource$Vitals$Anrrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Anrrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Anrrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1501,8 +1515,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Anrrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1557,11 +1573,13 @@ export namespace playdeveloperreporting_v1beta1 { query( params: Params$Resource$Vitals$Anrrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Anrrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Anrrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -1596,8 +1614,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Anrrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1682,11 +1702,13 @@ export namespace playdeveloperreporting_v1beta1 { get( params: Params$Resource$Vitals$Crashrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Crashrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Crashrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1721,8 +1743,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Crashrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1777,11 +1801,13 @@ export namespace playdeveloperreporting_v1beta1 { query( params: Params$Resource$Vitals$Crashrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Crashrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Crashrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -1816,8 +1842,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Crashrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1915,11 +1943,13 @@ export namespace playdeveloperreporting_v1beta1 { get( params: Params$Resource$Vitals$Errors$Counts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Errors$Counts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Errors$Counts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1954,8 +1984,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Errors$Counts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2010,11 +2042,13 @@ export namespace playdeveloperreporting_v1beta1 { query( params: Params$Resource$Vitals$Errors$Counts$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Errors$Counts$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Errors$Counts$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -2049,8 +2083,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Errors$Counts$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2135,11 +2171,13 @@ export namespace playdeveloperreporting_v1beta1 { search( params: Params$Resource$Vitals$Errors$Issues$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Vitals$Errors$Issues$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Vitals$Errors$Issues$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -2174,8 +2212,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Errors$Issues$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2348,11 +2388,13 @@ export namespace playdeveloperreporting_v1beta1 { search( params: Params$Resource$Vitals$Errors$Reports$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Vitals$Errors$Reports$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Vitals$Errors$Reports$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -2387,8 +2429,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Errors$Reports$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2553,11 +2597,13 @@ export namespace playdeveloperreporting_v1beta1 { get( params: Params$Resource$Vitals$Excessivewakeuprate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Excessivewakeuprate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Excessivewakeuprate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2592,8 +2638,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Excessivewakeuprate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2648,11 +2696,13 @@ export namespace playdeveloperreporting_v1beta1 { query( params: Params$Resource$Vitals$Excessivewakeuprate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Excessivewakeuprate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Excessivewakeuprate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -2687,8 +2737,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Excessivewakeuprate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2773,11 +2825,13 @@ export namespace playdeveloperreporting_v1beta1 { get( params: Params$Resource$Vitals$Lmkrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Lmkrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Lmkrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2812,8 +2866,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Lmkrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2868,11 +2924,13 @@ export namespace playdeveloperreporting_v1beta1 { query( params: Params$Resource$Vitals$Lmkrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Lmkrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Lmkrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -2907,8 +2965,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Lmkrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2993,11 +3053,13 @@ export namespace playdeveloperreporting_v1beta1 { get( params: Params$Resource$Vitals$Slowrenderingrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Slowrenderingrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Slowrenderingrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3032,8 +3094,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Slowrenderingrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3088,11 +3152,13 @@ export namespace playdeveloperreporting_v1beta1 { query( params: Params$Resource$Vitals$Slowrenderingrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Slowrenderingrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Slowrenderingrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -3127,8 +3193,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Slowrenderingrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3213,11 +3281,13 @@ export namespace playdeveloperreporting_v1beta1 { get( params: Params$Resource$Vitals$Slowstartrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Slowstartrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Slowstartrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3252,8 +3322,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Slowstartrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3308,11 +3380,13 @@ export namespace playdeveloperreporting_v1beta1 { query( params: Params$Resource$Vitals$Slowstartrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Slowstartrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Slowstartrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -3347,8 +3421,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Slowstartrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3433,11 +3509,13 @@ export namespace playdeveloperreporting_v1beta1 { get( params: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3472,8 +3550,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Stuckbackgroundwakelockrate$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3528,11 +3608,13 @@ export namespace playdeveloperreporting_v1beta1 { query( params: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Vitals$Stuckbackgroundwakelockrate$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -3567,8 +3649,10 @@ export namespace playdeveloperreporting_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Vitals$Stuckbackgroundwakelockrate$Query; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/playgrouping/index.ts b/src/apis/playgrouping/index.ts index b47f2b78057..f85b320005b 100644 --- a/src/apis/playgrouping/index.ts +++ b/src/apis/playgrouping/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/playgrouping/package.json b/src/apis/playgrouping/package.json index dd006756430..1c6dee556ac 100644 --- a/src/apis/playgrouping/package.json +++ b/src/apis/playgrouping/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/playgrouping/v1alpha1.ts b/src/apis/playgrouping/v1alpha1.ts index d8cbc94bd2e..aac5cacd61e 100644 --- a/src/apis/playgrouping/v1alpha1.ts +++ b/src/apis/playgrouping/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -209,11 +209,11 @@ export namespace playgrouping_v1alpha1 { verify( params: Params$Resource$Apps$Tokens$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Apps$Tokens$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Apps$Tokens$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -244,8 +244,8 @@ export namespace playgrouping_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Tokens$Verify; let options = (optionsOrCallback || {}) as MethodOptions; @@ -324,11 +324,11 @@ export namespace playgrouping_v1alpha1 { createOrUpdate( params: Params$Resource$Apps$Tokens$Tags$Createorupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createOrUpdate( params?: Params$Resource$Apps$Tokens$Tags$Createorupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createOrUpdate( params: Params$Resource$Apps$Tokens$Tags$Createorupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -363,8 +363,8 @@ export namespace playgrouping_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Apps$Tokens$Tags$Createorupdate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/playintegrity/index.ts b/src/apis/playintegrity/index.ts index b69e1eba303..733ddf35081 100644 --- a/src/apis/playintegrity/index.ts +++ b/src/apis/playintegrity/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/playintegrity/package.json b/src/apis/playintegrity/package.json index efaeff0d95b..b92e6e6c95f 100644 --- a/src/apis/playintegrity/package.json +++ b/src/apis/playintegrity/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/playintegrity/v1.ts b/src/apis/playintegrity/v1.ts index 019229a9a60..fb36e6c40ee 100644 --- a/src/apis/playintegrity/v1.ts +++ b/src/apis/playintegrity/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -393,11 +393,11 @@ export namespace playintegrity_v1 { write( params: Params$Resource$Devicerecall$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Devicerecall$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; write( params: Params$Resource$Devicerecall$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -432,8 +432,8 @@ export namespace playintegrity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Devicerecall$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -509,11 +509,11 @@ export namespace playintegrity_v1 { decodeIntegrityToken( params: Params$Resource$V1$Decodeintegritytoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; decodeIntegrityToken( params?: Params$Resource$V1$Decodeintegritytoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; decodeIntegrityToken( params: Params$Resource$V1$Decodeintegritytoken, options: StreamMethodOptions | BodyResponseCallback, @@ -548,8 +548,8 @@ export namespace playintegrity_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Decodeintegritytoken; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/plus/index.ts b/src/apis/plus/index.ts index 440abb0d767..8fa2c5f4425 100644 --- a/src/apis/plus/index.ts +++ b/src/apis/plus/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/plus/package.json b/src/apis/plus/package.json index e7f28078fbe..fae9162b1eb 100644 --- a/src/apis/plus/package.json +++ b/src/apis/plus/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/plus/v1.ts b/src/apis/plus/v1.ts index 10894fd6c8a..5ac3fbf79ae 100644 --- a/src/apis/plus/v1.ts +++ b/src/apis/plus/v1.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -683,11 +683,11 @@ export namespace plus_v1 { get( params: Params$Resource$Activities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Activities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Activities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -716,7 +716,7 @@ export namespace plus_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Activities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -833,11 +833,11 @@ export namespace plus_v1 { list( params: Params$Resource$Activities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Activities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Activities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -866,7 +866,7 @@ export namespace plus_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Activities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -985,11 +985,11 @@ export namespace plus_v1 { search( params: Params$Resource$Activities$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Activities$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Activities$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1018,7 +1018,7 @@ export namespace plus_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Activities$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1184,11 +1184,11 @@ export namespace plus_v1 { get( params: Params$Resource$Comments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Comments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Comments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1217,7 +1217,7 @@ export namespace plus_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1333,11 +1333,11 @@ export namespace plus_v1 { list( params: Params$Resource$Comments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Comments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Comments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1366,7 +1366,7 @@ export namespace plus_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1528,11 +1528,11 @@ export namespace plus_v1 { get( params: Params$Resource$People$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$People$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$People$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1561,7 +1561,7 @@ export namespace plus_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1679,11 +1679,11 @@ export namespace plus_v1 { list( params: Params$Resource$People$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$People$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$People$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1712,7 +1712,7 @@ export namespace plus_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1826,11 +1826,11 @@ export namespace plus_v1 { listByActivity( params: Params$Resource$People$Listbyactivity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listByActivity( params?: Params$Resource$People$Listbyactivity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listByActivity( params: Params$Resource$People$Listbyactivity, options: StreamMethodOptions | BodyResponseCallback, @@ -1859,7 +1859,7 @@ export namespace plus_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Listbyactivity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1974,11 +1974,11 @@ export namespace plus_v1 { search( params: Params$Resource$People$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$People$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$People$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -2007,7 +2007,7 @@ export namespace plus_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$People$Search; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/policyanalyzer/index.ts b/src/apis/policyanalyzer/index.ts index 8fcc1d17eae..7d23539a91d 100644 --- a/src/apis/policyanalyzer/index.ts +++ b/src/apis/policyanalyzer/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/policyanalyzer/package.json b/src/apis/policyanalyzer/package.json index 0fdc0d9b293..f574eaa0a51 100644 --- a/src/apis/policyanalyzer/package.json +++ b/src/apis/policyanalyzer/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/policyanalyzer/v1.ts b/src/apis/policyanalyzer/v1.ts index 54e3e53f3ed..03c3b6b4cee 100644 --- a/src/apis/policyanalyzer/v1.ts +++ b/src/apis/policyanalyzer/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -224,11 +224,13 @@ export namespace policyanalyzer_v1 { query( params: Params$Resource$Folders$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Folders$Locations$Activitytypes$Activities$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Folders$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -263,8 +265,10 @@ export namespace policyanalyzer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Activitytypes$Activities$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -382,11 +386,13 @@ export namespace policyanalyzer_v1 { query( params: Params$Resource$Organizations$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Organizations$Locations$Activitytypes$Activities$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Organizations$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -421,8 +427,10 @@ export namespace policyanalyzer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Activitytypes$Activities$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -538,11 +546,13 @@ export namespace policyanalyzer_v1 { query( params: Params$Resource$Projects$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Projects$Locations$Activitytypes$Activities$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Projects$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -577,8 +587,10 @@ export namespace policyanalyzer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activitytypes$Activities$Query; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/policyanalyzer/v1beta1.ts b/src/apis/policyanalyzer/v1beta1.ts index d8e48652ab3..3117389cc4f 100644 --- a/src/apis/policyanalyzer/v1beta1.ts +++ b/src/apis/policyanalyzer/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -224,11 +224,13 @@ export namespace policyanalyzer_v1beta1 { query( params: Params$Resource$Folders$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Folders$Locations$Activitytypes$Activities$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Folders$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -263,8 +265,10 @@ export namespace policyanalyzer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Activitytypes$Activities$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -382,11 +386,13 @@ export namespace policyanalyzer_v1beta1 { query( params: Params$Resource$Organizations$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Organizations$Locations$Activitytypes$Activities$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Organizations$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -421,8 +427,10 @@ export namespace policyanalyzer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Activitytypes$Activities$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -538,11 +546,13 @@ export namespace policyanalyzer_v1beta1 { query( params: Params$Resource$Projects$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Projects$Locations$Activitytypes$Activities$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; query( params: Params$Resource$Projects$Locations$Activitytypes$Activities$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -577,8 +587,10 @@ export namespace policyanalyzer_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Activitytypes$Activities$Query; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/policysimulator/index.ts b/src/apis/policysimulator/index.ts index 4349c66f57f..9ccf20db10c 100644 --- a/src/apis/policysimulator/index.ts +++ b/src/apis/policysimulator/index.ts @@ -83,7 +83,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/policysimulator/package.json b/src/apis/policysimulator/package.json index ecd3780be84..1aacc5bd982 100644 --- a/src/apis/policysimulator/package.json +++ b/src/apis/policysimulator/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/policysimulator/v1.ts b/src/apis/policysimulator/v1.ts index 19654cf312a..0b06cb8b9e8 100644 --- a/src/apis/policysimulator/v1.ts +++ b/src/apis/policysimulator/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -589,11 +589,11 @@ export namespace policysimulator_v1 { get( params: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -628,8 +628,8 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -706,11 +706,11 @@ export namespace policysimulator_v1 { create( params: Params$Resource$Folders$Locations$Replays$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Locations$Replays$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Locations$Replays$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -745,8 +745,8 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Replays$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -802,11 +802,13 @@ export namespace policysimulator_v1 { get( params: Params$Resource$Folders$Locations$Replays$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Replays$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Locations$Replays$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -841,8 +843,10 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Replays$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -924,11 +928,11 @@ export namespace policysimulator_v1 { get( params: Params$Resource$Folders$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -963,8 +967,8 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1017,11 +1021,13 @@ export namespace policysimulator_v1 { list( params: Params$Resource$Folders$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1056,8 +1062,10 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1147,11 +1155,13 @@ export namespace policysimulator_v1 { list( params: Params$Resource$Folders$Locations$Replays$Results$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Replays$Results$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Locations$Replays$Results$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1186,8 +1196,10 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Replays$Results$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1268,11 +1280,11 @@ export namespace policysimulator_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1307,8 +1319,8 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1360,11 +1372,13 @@ export namespace policysimulator_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1399,8 +1413,10 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1521,11 +1537,11 @@ export namespace policysimulator_v1 { get( params: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1560,8 +1576,8 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1638,11 +1654,11 @@ export namespace policysimulator_v1 { create( params: Params$Resource$Organizations$Locations$Replays$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Replays$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Replays$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1677,8 +1693,8 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Replays$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1734,11 +1750,13 @@ export namespace policysimulator_v1 { get( params: Params$Resource$Organizations$Locations$Replays$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Replays$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Replays$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1773,8 +1791,10 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Replays$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1856,11 +1876,11 @@ export namespace policysimulator_v1 { get( params: Params$Resource$Organizations$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1895,8 +1915,8 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1950,11 +1970,13 @@ export namespace policysimulator_v1 { list( params: Params$Resource$Organizations$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1989,8 +2011,10 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2080,11 +2104,13 @@ export namespace policysimulator_v1 { list( params: Params$Resource$Organizations$Locations$Replays$Results$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Replays$Results$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Replays$Results$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2119,8 +2145,10 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Replays$Results$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2237,11 +2265,11 @@ export namespace policysimulator_v1 { get( params: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2276,8 +2304,8 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2354,11 +2382,11 @@ export namespace policysimulator_v1 { create( params: Params$Resource$Projects$Locations$Replays$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Replays$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Replays$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2393,8 +2421,8 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Replays$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2450,11 +2478,13 @@ export namespace policysimulator_v1 { get( params: Params$Resource$Projects$Locations$Replays$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Replays$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Replays$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2489,8 +2519,10 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Replays$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2572,11 +2604,11 @@ export namespace policysimulator_v1 { get( params: Params$Resource$Projects$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2611,8 +2643,8 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2666,11 +2698,13 @@ export namespace policysimulator_v1 { list( params: Params$Resource$Projects$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2705,8 +2739,10 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2796,11 +2832,13 @@ export namespace policysimulator_v1 { list( params: Params$Resource$Projects$Locations$Replays$Results$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Replays$Results$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Replays$Results$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2835,8 +2873,10 @@ export namespace policysimulator_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Replays$Results$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/policysimulator/v1alpha.ts b/src/apis/policysimulator/v1alpha.ts index 51c62e2fcd5..be623ef2965 100644 --- a/src/apis/policysimulator/v1alpha.ts +++ b/src/apis/policysimulator/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -461,11 +461,11 @@ export namespace policysimulator_v1alpha { get( params: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -500,8 +500,8 @@ export namespace policysimulator_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -626,11 +626,11 @@ export namespace policysimulator_v1alpha { get( params: Params$Resource$Folders$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -665,8 +665,8 @@ export namespace policysimulator_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -767,11 +767,11 @@ export namespace policysimulator_v1alpha { list( params: Params$Resource$Folders$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -806,8 +806,8 @@ export namespace policysimulator_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -942,11 +942,11 @@ export namespace policysimulator_v1alpha { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -981,8 +981,8 @@ export namespace policysimulator_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1082,11 +1082,11 @@ export namespace policysimulator_v1alpha { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1121,8 +1121,8 @@ export namespace policysimulator_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1291,11 +1291,11 @@ export namespace policysimulator_v1alpha { get( params: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1330,8 +1330,8 @@ export namespace policysimulator_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1457,11 +1457,11 @@ export namespace policysimulator_v1alpha { get( params: Params$Resource$Organizations$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1496,8 +1496,8 @@ export namespace policysimulator_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1600,11 +1600,11 @@ export namespace policysimulator_v1alpha { list( params: Params$Resource$Organizations$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1639,8 +1639,8 @@ export namespace policysimulator_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1813,11 +1813,11 @@ export namespace policysimulator_v1alpha { get( params: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1852,8 +1852,8 @@ export namespace policysimulator_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1978,11 +1978,11 @@ export namespace policysimulator_v1alpha { get( params: Params$Resource$Projects$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2017,8 +2017,8 @@ export namespace policysimulator_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2120,11 +2120,11 @@ export namespace policysimulator_v1alpha { list( params: Params$Resource$Projects$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2159,8 +2159,8 @@ export namespace policysimulator_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/policysimulator/v1beta.ts b/src/apis/policysimulator/v1beta.ts index 9935ca45e3c..6683dae5fa0 100644 --- a/src/apis/policysimulator/v1beta.ts +++ b/src/apis/policysimulator/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -461,11 +461,11 @@ export namespace policysimulator_v1beta { get( params: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -500,8 +500,8 @@ export namespace policysimulator_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -626,11 +626,11 @@ export namespace policysimulator_v1beta { get( params: Params$Resource$Folders$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -665,8 +665,8 @@ export namespace policysimulator_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -767,11 +767,11 @@ export namespace policysimulator_v1beta { list( params: Params$Resource$Folders$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -806,8 +806,8 @@ export namespace policysimulator_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -942,11 +942,11 @@ export namespace policysimulator_v1beta { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -981,8 +981,8 @@ export namespace policysimulator_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1082,11 +1082,11 @@ export namespace policysimulator_v1beta { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1121,8 +1121,8 @@ export namespace policysimulator_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1291,11 +1291,11 @@ export namespace policysimulator_v1beta { get( params: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1330,8 +1330,8 @@ export namespace policysimulator_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1457,11 +1457,11 @@ export namespace policysimulator_v1beta { get( params: Params$Resource$Organizations$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1496,8 +1496,8 @@ export namespace policysimulator_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1600,11 +1600,11 @@ export namespace policysimulator_v1beta { list( params: Params$Resource$Organizations$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1639,8 +1639,8 @@ export namespace policysimulator_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1813,11 +1813,11 @@ export namespace policysimulator_v1beta { get( params: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1852,8 +1852,8 @@ export namespace policysimulator_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1978,11 +1978,11 @@ export namespace policysimulator_v1beta { get( params: Params$Resource$Projects$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2017,8 +2017,8 @@ export namespace policysimulator_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2120,11 +2120,11 @@ export namespace policysimulator_v1beta { list( params: Params$Resource$Projects$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2159,8 +2159,8 @@ export namespace policysimulator_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/policysimulator/v1beta1.ts b/src/apis/policysimulator/v1beta1.ts index 5be4c5546f5..cb3847d21cc 100644 --- a/src/apis/policysimulator/v1beta1.ts +++ b/src/apis/policysimulator/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -533,11 +533,11 @@ export namespace policysimulator_v1beta1 { get( params: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -572,8 +572,8 @@ export namespace policysimulator_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -698,11 +698,11 @@ export namespace policysimulator_v1beta1 { get( params: Params$Resource$Folders$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -737,8 +737,8 @@ export namespace policysimulator_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -839,11 +839,11 @@ export namespace policysimulator_v1beta1 { list( params: Params$Resource$Folders$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -878,8 +878,8 @@ export namespace policysimulator_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1014,11 +1014,11 @@ export namespace policysimulator_v1beta1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1053,8 +1053,8 @@ export namespace policysimulator_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1154,11 +1154,11 @@ export namespace policysimulator_v1beta1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1193,8 +1193,8 @@ export namespace policysimulator_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1363,11 +1363,11 @@ export namespace policysimulator_v1beta1 { get( params: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1402,8 +1402,8 @@ export namespace policysimulator_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1529,11 +1529,11 @@ export namespace policysimulator_v1beta1 { get( params: Params$Resource$Organizations$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1568,8 +1568,8 @@ export namespace policysimulator_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1672,11 +1672,11 @@ export namespace policysimulator_v1beta1 { list( params: Params$Resource$Organizations$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1711,8 +1711,8 @@ export namespace policysimulator_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1885,11 +1885,11 @@ export namespace policysimulator_v1beta1 { get( params: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1924,8 +1924,8 @@ export namespace policysimulator_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Orgpolicyviolationspreviews$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2050,11 +2050,11 @@ export namespace policysimulator_v1beta1 { get( params: Params$Resource$Projects$Locations$Replays$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Replays$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Replays$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2089,8 +2089,8 @@ export namespace policysimulator_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Replays$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2192,11 +2192,11 @@ export namespace policysimulator_v1beta1 { list( params: Params$Resource$Projects$Locations$Replays$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Replays$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Replays$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2231,8 +2231,8 @@ export namespace policysimulator_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Replays$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/policytroubleshooter/index.ts b/src/apis/policytroubleshooter/index.ts index f9de450d222..696828e2cd4 100644 --- a/src/apis/policytroubleshooter/index.ts +++ b/src/apis/policytroubleshooter/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/policytroubleshooter/package.json b/src/apis/policytroubleshooter/package.json index 3ebcb9ec178..76f8ddaf662 100644 --- a/src/apis/policytroubleshooter/package.json +++ b/src/apis/policytroubleshooter/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/policytroubleshooter/v1.ts b/src/apis/policytroubleshooter/v1.ts index 8da343b3c14..6a600eac6ba 100644 --- a/src/apis/policytroubleshooter/v1.ts +++ b/src/apis/policytroubleshooter/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -362,11 +362,13 @@ export namespace policytroubleshooter_v1 { troubleshoot( params: Params$Resource$Iam$Troubleshoot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; troubleshoot( params?: Params$Resource$Iam$Troubleshoot, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; troubleshoot( params: Params$Resource$Iam$Troubleshoot, options: StreamMethodOptions | BodyResponseCallback, @@ -401,8 +403,10 @@ export namespace policytroubleshooter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Iam$Troubleshoot; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/policytroubleshooter/v1beta.ts b/src/apis/policytroubleshooter/v1beta.ts index 1831cb31028..d205834b3c7 100644 --- a/src/apis/policytroubleshooter/v1beta.ts +++ b/src/apis/policytroubleshooter/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -341,11 +341,13 @@ export namespace policytroubleshooter_v1beta { troubleshoot( params: Params$Resource$Iam$Troubleshoot, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; troubleshoot( params?: Params$Resource$Iam$Troubleshoot, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; troubleshoot( params: Params$Resource$Iam$Troubleshoot, options: StreamMethodOptions | BodyResponseCallback, @@ -380,8 +382,10 @@ export namespace policytroubleshooter_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Iam$Troubleshoot; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/pollen/index.ts b/src/apis/pollen/index.ts index 910cbc11bf0..bd55543e8f7 100644 --- a/src/apis/pollen/index.ts +++ b/src/apis/pollen/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/pollen/package.json b/src/apis/pollen/package.json index feb34b6cc93..2327dca329d 100644 --- a/src/apis/pollen/package.json +++ b/src/apis/pollen/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/pollen/v1.ts b/src/apis/pollen/v1.ts index 880228cc625..fadc0be88d9 100644 --- a/src/apis/pollen/v1.ts +++ b/src/apis/pollen/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -346,11 +346,11 @@ export namespace pollen_v1 { lookup( params: Params$Resource$Forecast$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Forecast$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Forecast$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -383,8 +383,8 @@ export namespace pollen_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Forecast$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -485,11 +485,11 @@ export namespace pollen_v1 { lookupHeatmapTile( params: Params$Resource$Maptypes$Heatmaptiles$Lookupheatmaptile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookupHeatmapTile( params?: Params$Resource$Maptypes$Heatmaptiles$Lookupheatmaptile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookupHeatmapTile( params: Params$Resource$Maptypes$Heatmaptiles$Lookupheatmaptile, options: StreamMethodOptions | BodyResponseCallback, @@ -518,7 +518,10 @@ export namespace pollen_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Maptypes$Heatmaptiles$Lookupheatmaptile; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/poly/index.ts b/src/apis/poly/index.ts index 0c16abc5886..d23b6fbd132 100644 --- a/src/apis/poly/index.ts +++ b/src/apis/poly/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/poly/package.json b/src/apis/poly/package.json index b22649b1cb1..cbb716c2708 100644 --- a/src/apis/poly/package.json +++ b/src/apis/poly/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/poly/v1.ts b/src/apis/poly/v1.ts index 18f81f0ab76..68b2398436b 100644 --- a/src/apis/poly/v1.ts +++ b/src/apis/poly/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -447,11 +447,11 @@ export namespace poly_v1 { get( params: Params$Resource$Assets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Assets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Assets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -480,7 +480,10 @@ export namespace poly_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Assets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -531,11 +534,11 @@ export namespace poly_v1 { list( params: Params$Resource$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -566,8 +569,8 @@ export namespace poly_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -677,11 +680,11 @@ export namespace poly_v1 { list( params: Params$Resource$Users$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -714,8 +717,8 @@ export namespace poly_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -802,11 +805,11 @@ export namespace poly_v1 { list( params: Params$Resource$Users$Likedassets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$Likedassets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$Likedassets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -839,8 +842,8 @@ export namespace poly_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Likedassets$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/privateca/index.ts b/src/apis/privateca/index.ts index d3906557053..022aa6d4646 100644 --- a/src/apis/privateca/index.ts +++ b/src/apis/privateca/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/privateca/package.json b/src/apis/privateca/package.json index 530b7c8ca17..8b94f11053b 100644 --- a/src/apis/privateca/package.json +++ b/src/apis/privateca/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/privateca/v1.ts b/src/apis/privateca/v1.ts index 04d10ec5f5b..bc3cb8acb3e 100644 --- a/src/apis/privateca/v1.ts +++ b/src/apis/privateca/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1480,11 +1480,11 @@ export namespace privateca_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1513,7 +1513,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1565,11 +1568,11 @@ export namespace privateca_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1602,8 +1605,8 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1705,11 +1708,11 @@ export namespace privateca_v1 { create( params: Params$Resource$Projects$Locations$Capools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Capools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Capools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1738,7 +1741,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1793,11 +1799,11 @@ export namespace privateca_v1 { delete( params: Params$Resource$Projects$Locations$Capools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Capools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Capools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1826,7 +1832,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1878,11 +1887,11 @@ export namespace privateca_v1 { fetchCaCerts( params: Params$Resource$Projects$Locations$Capools$Fetchcacerts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchCaCerts( params?: Params$Resource$Projects$Locations$Capools$Fetchcacerts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchCaCerts( params: Params$Resource$Projects$Locations$Capools$Fetchcacerts, options: StreamMethodOptions | BodyResponseCallback, @@ -1917,8 +1926,8 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Fetchcacerts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1973,11 +1982,11 @@ export namespace privateca_v1 { get( params: Params$Resource$Projects$Locations$Capools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Capools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Capools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2006,7 +2015,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2058,11 +2070,11 @@ export namespace privateca_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Capools$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Capools$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Capools$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2091,7 +2103,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2146,11 +2161,11 @@ export namespace privateca_v1 { list( params: Params$Resource$Projects$Locations$Capools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Capools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Capools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2181,8 +2196,8 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2237,11 +2252,11 @@ export namespace privateca_v1 { patch( params: Params$Resource$Projects$Locations$Capools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Capools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Capools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2270,7 +2285,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2322,11 +2340,11 @@ export namespace privateca_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Capools$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Capools$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Capools$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2355,7 +2373,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2410,11 +2431,11 @@ export namespace privateca_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Capools$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Capools$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Capools$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2449,8 +2470,8 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2651,11 +2672,11 @@ export namespace privateca_v1 { activate( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -2684,7 +2705,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2740,11 +2764,11 @@ export namespace privateca_v1 { create( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2773,7 +2797,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2829,11 +2856,11 @@ export namespace privateca_v1 { delete( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2862,7 +2889,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2915,11 +2945,11 @@ export namespace privateca_v1 { disable( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -2948,7 +2978,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3004,11 +3037,11 @@ export namespace privateca_v1 { enable( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -3037,7 +3070,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3090,11 +3126,13 @@ export namespace privateca_v1 { fetch( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Fetch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Fetch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetch( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Fetch, options: StreamMethodOptions | BodyResponseCallback, @@ -3129,8 +3167,10 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Fetch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3185,11 +3225,11 @@ export namespace privateca_v1 { get( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3222,8 +3262,8 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3276,11 +3316,13 @@ export namespace privateca_v1 { list( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3315,8 +3357,10 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3374,11 +3418,11 @@ export namespace privateca_v1 { patch( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3407,7 +3451,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3460,11 +3507,11 @@ export namespace privateca_v1 { undelete( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -3493,7 +3540,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3705,11 +3755,11 @@ export namespace privateca_v1 { get( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3742,8 +3792,8 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3796,11 +3846,11 @@ export namespace privateca_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3829,7 +3879,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3885,11 +3938,13 @@ export namespace privateca_v1 { list( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3924,8 +3979,10 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3983,11 +4040,11 @@ export namespace privateca_v1 { patch( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4016,7 +4073,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4069,11 +4129,11 @@ export namespace privateca_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4102,7 +4162,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4158,11 +4221,11 @@ export namespace privateca_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4197,8 +4260,8 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificateauthorities$Certificaterevocationlists$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4347,11 +4410,11 @@ export namespace privateca_v1 { create( params: Params$Resource$Projects$Locations$Capools$Certificates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Capools$Certificates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Capools$Certificates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4380,7 +4443,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4436,11 +4502,11 @@ export namespace privateca_v1 { get( params: Params$Resource$Projects$Locations$Capools$Certificates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Capools$Certificates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Capools$Certificates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4469,7 +4535,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4522,11 +4591,11 @@ export namespace privateca_v1 { list( params: Params$Resource$Projects$Locations$Capools$Certificates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Capools$Certificates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Capools$Certificates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4559,8 +4628,8 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4616,11 +4685,11 @@ export namespace privateca_v1 { patch( params: Params$Resource$Projects$Locations$Capools$Certificates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Capools$Certificates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Capools$Certificates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4649,7 +4718,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4702,11 +4774,11 @@ export namespace privateca_v1 { revoke( params: Params$Resource$Projects$Locations$Capools$Certificates$Revoke, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params?: Params$Resource$Projects$Locations$Capools$Certificates$Revoke, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params: Params$Resource$Projects$Locations$Capools$Certificates$Revoke, options: StreamMethodOptions | BodyResponseCallback, @@ -4735,7 +4807,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Capools$Certificates$Revoke; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4886,11 +4961,11 @@ export namespace privateca_v1 { create( params: Params$Resource$Projects$Locations$Certificatetemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Certificatetemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Certificatetemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4919,7 +4994,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatetemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4975,11 +5053,11 @@ export namespace privateca_v1 { delete( params: Params$Resource$Projects$Locations$Certificatetemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Certificatetemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Certificatetemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5008,7 +5086,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatetemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5061,11 +5142,11 @@ export namespace privateca_v1 { get( params: Params$Resource$Projects$Locations$Certificatetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Certificatetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Certificatetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5096,8 +5177,8 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5150,11 +5231,11 @@ export namespace privateca_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Certificatetemplates$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Certificatetemplates$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Certificatetemplates$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5183,7 +5264,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatetemplates$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5239,11 +5323,13 @@ export namespace privateca_v1 { list( params: Params$Resource$Projects$Locations$Certificatetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Certificatetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Certificatetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5278,8 +5364,10 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5337,11 +5425,11 @@ export namespace privateca_v1 { patch( params: Params$Resource$Projects$Locations$Certificatetemplates$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Certificatetemplates$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Certificatetemplates$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5370,7 +5458,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatetemplates$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5423,11 +5514,11 @@ export namespace privateca_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Certificatetemplates$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Certificatetemplates$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Certificatetemplates$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5456,7 +5547,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatetemplates$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5512,11 +5606,11 @@ export namespace privateca_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Certificatetemplates$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Certificatetemplates$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Certificatetemplates$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5551,8 +5645,8 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificatetemplates$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5732,11 +5826,11 @@ export namespace privateca_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -5765,7 +5859,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5817,11 +5914,11 @@ export namespace privateca_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5850,7 +5947,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5902,11 +6002,11 @@ export namespace privateca_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5935,7 +6035,10 @@ export namespace privateca_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5987,11 +6090,11 @@ export namespace privateca_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6024,8 +6127,8 @@ export namespace privateca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/privateca/v1beta1.ts b/src/apis/privateca/v1beta1.ts index 417dba64416..3f763dc0e77 100644 --- a/src/apis/privateca/v1beta1.ts +++ b/src/apis/privateca/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -392,11 +392,11 @@ export namespace privateca_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -425,7 +425,10 @@ export namespace privateca_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -477,11 +480,11 @@ export namespace privateca_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -514,8 +517,8 @@ export namespace privateca_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -613,11 +616,11 @@ export namespace privateca_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Certificateauthorities$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Certificateauthorities$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Certificateauthorities$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -646,7 +649,10 @@ export namespace privateca_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificateauthorities$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -702,11 +708,11 @@ export namespace privateca_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Certificateauthorities$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Certificateauthorities$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Certificateauthorities$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -735,7 +741,10 @@ export namespace privateca_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificateauthorities$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -791,11 +800,11 @@ export namespace privateca_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Certificateauthorities$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Certificateauthorities$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Certificateauthorities$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -830,8 +839,8 @@ export namespace privateca_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificateauthorities$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -930,11 +939,11 @@ export namespace privateca_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -963,7 +972,10 @@ export namespace privateca_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1019,11 +1031,11 @@ export namespace privateca_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1052,7 +1064,10 @@ export namespace privateca_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1108,11 +1123,11 @@ export namespace privateca_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1147,8 +1162,8 @@ export namespace privateca_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Certificateauthorities$Certificaterevocationlists$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1247,11 +1262,11 @@ export namespace privateca_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1280,7 +1295,10 @@ export namespace privateca_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1335,11 +1353,11 @@ export namespace privateca_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1368,7 +1386,10 @@ export namespace privateca_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1420,11 +1441,11 @@ export namespace privateca_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1453,7 +1474,10 @@ export namespace privateca_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1505,11 +1529,11 @@ export namespace privateca_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1542,8 +1566,8 @@ export namespace privateca_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1651,11 +1675,11 @@ export namespace privateca_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Reusableconfigs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Reusableconfigs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Reusableconfigs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1684,7 +1708,10 @@ export namespace privateca_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reusableconfigs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1740,11 +1767,11 @@ export namespace privateca_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Reusableconfigs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Reusableconfigs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Reusableconfigs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1773,7 +1800,10 @@ export namespace privateca_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reusableconfigs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1829,11 +1859,11 @@ export namespace privateca_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Reusableconfigs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Reusableconfigs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Reusableconfigs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1868,8 +1898,8 @@ export namespace privateca_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reusableconfigs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/prod_tt_sasportal/index.ts b/src/apis/prod_tt_sasportal/index.ts index 7b5d2dc601e..8fcbb636c42 100644 --- a/src/apis/prod_tt_sasportal/index.ts +++ b/src/apis/prod_tt_sasportal/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/prod_tt_sasportal/package.json b/src/apis/prod_tt_sasportal/package.json index f6b41ef9117..00f5308f6db 100644 --- a/src/apis/prod_tt_sasportal/package.json +++ b/src/apis/prod_tt_sasportal/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/prod_tt_sasportal/v1alpha1.ts b/src/apis/prod_tt_sasportal/v1alpha1.ts index ca0e676a75d..ad129fcf623 100644 --- a/src/apis/prod_tt_sasportal/v1alpha1.ts +++ b/src/apis/prod_tt_sasportal/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -926,11 +926,11 @@ export namespace prod_tt_sasportal_v1alpha1 { get( params: Params$Resource$Customers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -961,8 +961,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1014,11 +1014,11 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Customers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1053,8 +1053,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1111,11 +1111,13 @@ export namespace prod_tt_sasportal_v1alpha1 { listGcpProjectDeployments( params: Params$Resource$Customers$Listgcpprojectdeployments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listGcpProjectDeployments( params?: Params$Resource$Customers$Listgcpprojectdeployments, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listGcpProjectDeployments( params: Params$Resource$Customers$Listgcpprojectdeployments, options: StreamMethodOptions | BodyResponseCallback, @@ -1150,8 +1152,10 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Listgcpprojectdeployments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1208,11 +1212,13 @@ export namespace prod_tt_sasportal_v1alpha1 { listLegacyOrganizations( params: Params$Resource$Customers$Listlegacyorganizations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listLegacyOrganizations( params?: Params$Resource$Customers$Listlegacyorganizations, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listLegacyOrganizations( params: Params$Resource$Customers$Listlegacyorganizations, options: StreamMethodOptions | BodyResponseCallback, @@ -1247,8 +1253,10 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Listlegacyorganizations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1305,11 +1313,11 @@ export namespace prod_tt_sasportal_v1alpha1 { migrateOrganization( params: Params$Resource$Customers$Migrateorganization, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; migrateOrganization( params?: Params$Resource$Customers$Migrateorganization, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; migrateOrganization( params: Params$Resource$Customers$Migrateorganization, options: StreamMethodOptions | BodyResponseCallback, @@ -1342,8 +1350,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Migrateorganization; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1399,11 +1407,11 @@ export namespace prod_tt_sasportal_v1alpha1 { patch( params: Params$Resource$Customers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1434,8 +1442,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1487,11 +1495,13 @@ export namespace prod_tt_sasportal_v1alpha1 { provisionDeployment( params: Params$Resource$Customers$Provisiondeployment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provisionDeployment( params?: Params$Resource$Customers$Provisiondeployment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; provisionDeployment( params: Params$Resource$Customers$Provisiondeployment, options: StreamMethodOptions | BodyResponseCallback, @@ -1526,8 +1536,10 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Provisiondeployment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1585,11 +1597,11 @@ export namespace prod_tt_sasportal_v1alpha1 { setupSasAnalytics( params: Params$Resource$Customers$Setupsasanalytics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setupSasAnalytics( params?: Params$Resource$Customers$Setupsasanalytics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setupSasAnalytics( params: Params$Resource$Customers$Setupsasanalytics, options: StreamMethodOptions | BodyResponseCallback, @@ -1622,8 +1634,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Setupsasanalytics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1745,11 +1757,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Customers$Deployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Deployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Deployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1780,8 +1792,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1837,11 +1849,11 @@ export namespace prod_tt_sasportal_v1alpha1 { delete( params: Params$Resource$Customers$Deployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customers$Deployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customers$Deployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1870,7 +1882,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1923,11 +1938,11 @@ export namespace prod_tt_sasportal_v1alpha1 { get( params: Params$Resource$Customers$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1958,8 +1973,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2012,11 +2027,13 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Customers$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2051,8 +2068,10 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2110,11 +2129,11 @@ export namespace prod_tt_sasportal_v1alpha1 { move( params: Params$Resource$Customers$Deployments$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Customers$Deployments$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Customers$Deployments$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -2145,8 +2164,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2202,11 +2221,11 @@ export namespace prod_tt_sasportal_v1alpha1 { patch( params: Params$Resource$Customers$Deployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Deployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Deployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2237,8 +2256,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2372,11 +2391,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Customers$Deployments$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Deployments$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Deployments$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2405,7 +2424,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2461,11 +2483,11 @@ export namespace prod_tt_sasportal_v1alpha1 { createSigned( params: Params$Resource$Customers$Deployments$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Customers$Deployments$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Customers$Deployments$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -2494,7 +2516,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2551,11 +2576,11 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Customers$Deployments$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Deployments$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Deployments$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2590,8 +2615,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2700,11 +2725,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Customers$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2733,7 +2758,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2789,11 +2817,11 @@ export namespace prod_tt_sasportal_v1alpha1 { createSigned( params: Params$Resource$Customers$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Customers$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Customers$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -2822,7 +2850,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2878,11 +2909,11 @@ export namespace prod_tt_sasportal_v1alpha1 { delete( params: Params$Resource$Customers$Devices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customers$Devices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customers$Devices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2911,7 +2942,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2964,11 +2998,11 @@ export namespace prod_tt_sasportal_v1alpha1 { get( params: Params$Resource$Customers$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2997,7 +3031,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3050,11 +3087,11 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Customers$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3089,8 +3126,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3148,11 +3185,11 @@ export namespace prod_tt_sasportal_v1alpha1 { move( params: Params$Resource$Customers$Devices$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Customers$Devices$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Customers$Devices$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -3183,8 +3220,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3240,11 +3277,11 @@ export namespace prod_tt_sasportal_v1alpha1 { patch( params: Params$Resource$Customers$Devices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Devices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Devices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3273,7 +3310,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3326,11 +3366,11 @@ export namespace prod_tt_sasportal_v1alpha1 { signDevice( params: Params$Resource$Customers$Devices$Signdevice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params?: Params$Resource$Customers$Devices$Signdevice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params: Params$Resource$Customers$Devices$Signdevice, options: StreamMethodOptions | BodyResponseCallback, @@ -3359,7 +3399,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Signdevice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3415,11 +3458,11 @@ export namespace prod_tt_sasportal_v1alpha1 { updateSigned( params: Params$Resource$Customers$Devices$Updatesigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params?: Params$Resource$Customers$Devices$Updatesigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params: Params$Resource$Customers$Devices$Updatesigned, options: StreamMethodOptions | BodyResponseCallback, @@ -3448,7 +3491,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Updatesigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3627,11 +3673,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Customers$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3660,7 +3706,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3716,11 +3765,11 @@ export namespace prod_tt_sasportal_v1alpha1 { delete( params: Params$Resource$Customers$Nodes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customers$Nodes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customers$Nodes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3749,7 +3798,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3802,11 +3854,11 @@ export namespace prod_tt_sasportal_v1alpha1 { get( params: Params$Resource$Customers$Nodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Nodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Nodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3835,7 +3887,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3888,11 +3943,11 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Customers$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3927,8 +3982,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3984,11 +4039,11 @@ export namespace prod_tt_sasportal_v1alpha1 { move( params: Params$Resource$Customers$Nodes$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Customers$Nodes$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Customers$Nodes$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -4019,8 +4074,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4076,11 +4131,11 @@ export namespace prod_tt_sasportal_v1alpha1 { patch( params: Params$Resource$Customers$Nodes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Nodes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Nodes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4109,7 +4164,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4243,11 +4301,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Customers$Nodes$Deployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Nodes$Deployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Nodes$Deployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4278,8 +4336,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Deployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4335,11 +4393,13 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Customers$Nodes$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Nodes$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Nodes$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4374,8 +4434,10 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4472,11 +4534,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Customers$Nodes$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Nodes$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Nodes$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4505,7 +4567,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4561,11 +4626,11 @@ export namespace prod_tt_sasportal_v1alpha1 { createSigned( params: Params$Resource$Customers$Nodes$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Customers$Nodes$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Customers$Nodes$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -4594,7 +4659,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4650,11 +4718,11 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Customers$Nodes$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Nodes$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Nodes$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4689,8 +4757,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4799,11 +4867,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Customers$Nodes$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Nodes$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Nodes$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4832,7 +4900,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4888,11 +4959,11 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Customers$Nodes$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Nodes$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Nodes$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4927,8 +4998,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5025,11 +5096,11 @@ export namespace prod_tt_sasportal_v1alpha1 { get( params: Params$Resource$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5060,8 +5131,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5127,11 +5198,11 @@ export namespace prod_tt_sasportal_v1alpha1 { delete( params: Params$Resource$Deployments$Devices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Deployments$Devices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Deployments$Devices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5160,7 +5231,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5213,11 +5287,11 @@ export namespace prod_tt_sasportal_v1alpha1 { get( params: Params$Resource$Deployments$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Deployments$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Deployments$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5246,7 +5320,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5299,11 +5376,11 @@ export namespace prod_tt_sasportal_v1alpha1 { move( params: Params$Resource$Deployments$Devices$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Deployments$Devices$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Deployments$Devices$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -5334,8 +5411,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5391,11 +5468,11 @@ export namespace prod_tt_sasportal_v1alpha1 { patch( params: Params$Resource$Deployments$Devices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Deployments$Devices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Deployments$Devices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5424,7 +5501,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5477,11 +5557,11 @@ export namespace prod_tt_sasportal_v1alpha1 { signDevice( params: Params$Resource$Deployments$Devices$Signdevice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params?: Params$Resource$Deployments$Devices$Signdevice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params: Params$Resource$Deployments$Devices$Signdevice, options: StreamMethodOptions | BodyResponseCallback, @@ -5510,7 +5590,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Signdevice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5566,11 +5649,11 @@ export namespace prod_tt_sasportal_v1alpha1 { updateSigned( params: Params$Resource$Deployments$Devices$Updatesigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params?: Params$Resource$Deployments$Devices$Updatesigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params: Params$Resource$Deployments$Devices$Updatesigned, options: StreamMethodOptions | BodyResponseCallback, @@ -5599,7 +5682,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Updatesigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5729,11 +5815,11 @@ export namespace prod_tt_sasportal_v1alpha1 { generateSecret( params: Params$Resource$Installer$Generatesecret, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateSecret( params?: Params$Resource$Installer$Generatesecret, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateSecret( params: Params$Resource$Installer$Generatesecret, options: StreamMethodOptions | BodyResponseCallback, @@ -5768,8 +5854,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Installer$Generatesecret; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5827,11 +5913,13 @@ export namespace prod_tt_sasportal_v1alpha1 { validate( params: Params$Resource$Installer$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Installer$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validate( params: Params$Resource$Installer$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -5866,8 +5954,10 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Installer$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5953,11 +6043,11 @@ export namespace prod_tt_sasportal_v1alpha1 { get( params: Params$Resource$Nodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5986,7 +6076,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6054,11 +6147,11 @@ export namespace prod_tt_sasportal_v1alpha1 { delete( params: Params$Resource$Nodes$Deployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodes$Deployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodes$Deployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6087,7 +6180,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6140,11 +6236,11 @@ export namespace prod_tt_sasportal_v1alpha1 { get( params: Params$Resource$Nodes$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodes$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodes$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6175,8 +6271,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6229,11 +6325,13 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Nodes$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6268,8 +6366,10 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6327,11 +6427,11 @@ export namespace prod_tt_sasportal_v1alpha1 { move( params: Params$Resource$Nodes$Deployments$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Nodes$Deployments$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Nodes$Deployments$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -6362,8 +6462,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6419,11 +6519,11 @@ export namespace prod_tt_sasportal_v1alpha1 { patch( params: Params$Resource$Nodes$Deployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Nodes$Deployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Nodes$Deployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6454,8 +6554,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6577,11 +6677,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Deployments$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Deployments$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Deployments$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6610,7 +6710,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6666,11 +6769,11 @@ export namespace prod_tt_sasportal_v1alpha1 { createSigned( params: Params$Resource$Nodes$Deployments$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Nodes$Deployments$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Nodes$Deployments$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -6699,7 +6802,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6755,11 +6861,11 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Deployments$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Deployments$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodes$Deployments$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6794,8 +6900,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6904,11 +7010,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6937,7 +7043,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6993,11 +7102,11 @@ export namespace prod_tt_sasportal_v1alpha1 { createSigned( params: Params$Resource$Nodes$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Nodes$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Nodes$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -7026,7 +7135,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7082,11 +7194,11 @@ export namespace prod_tt_sasportal_v1alpha1 { delete( params: Params$Resource$Nodes$Devices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodes$Devices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodes$Devices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7115,7 +7227,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7168,11 +7283,11 @@ export namespace prod_tt_sasportal_v1alpha1 { get( params: Params$Resource$Nodes$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodes$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodes$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7201,7 +7316,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7254,11 +7372,11 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodes$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7293,8 +7411,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7352,11 +7470,11 @@ export namespace prod_tt_sasportal_v1alpha1 { move( params: Params$Resource$Nodes$Devices$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Nodes$Devices$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Nodes$Devices$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -7387,8 +7505,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7444,11 +7562,11 @@ export namespace prod_tt_sasportal_v1alpha1 { patch( params: Params$Resource$Nodes$Devices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Nodes$Devices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Nodes$Devices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7477,7 +7595,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7530,11 +7651,11 @@ export namespace prod_tt_sasportal_v1alpha1 { signDevice( params: Params$Resource$Nodes$Devices$Signdevice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params?: Params$Resource$Nodes$Devices$Signdevice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params: Params$Resource$Nodes$Devices$Signdevice, options: StreamMethodOptions | BodyResponseCallback, @@ -7563,7 +7684,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Signdevice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7619,11 +7743,11 @@ export namespace prod_tt_sasportal_v1alpha1 { updateSigned( params: Params$Resource$Nodes$Devices$Updatesigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params?: Params$Resource$Nodes$Devices$Updatesigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params: Params$Resource$Nodes$Devices$Updatesigned, options: StreamMethodOptions | BodyResponseCallback, @@ -7652,7 +7776,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Updatesigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7831,11 +7958,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7864,7 +7991,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7920,11 +8050,11 @@ export namespace prod_tt_sasportal_v1alpha1 { delete( params: Params$Resource$Nodes$Nodes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodes$Nodes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodes$Nodes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7953,7 +8083,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8006,11 +8139,11 @@ export namespace prod_tt_sasportal_v1alpha1 { get( params: Params$Resource$Nodes$Nodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodes$Nodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodes$Nodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8039,7 +8172,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8091,11 +8227,11 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodes$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8130,8 +8266,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8186,11 +8322,11 @@ export namespace prod_tt_sasportal_v1alpha1 { move( params: Params$Resource$Nodes$Nodes$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Nodes$Nodes$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Nodes$Nodes$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -8221,8 +8357,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8277,11 +8413,11 @@ export namespace prod_tt_sasportal_v1alpha1 { patch( params: Params$Resource$Nodes$Nodes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Nodes$Nodes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Nodes$Nodes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8310,7 +8446,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8441,11 +8580,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Nodes$Deployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Nodes$Deployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Nodes$Deployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8476,8 +8615,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Deployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8533,11 +8672,13 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Nodes$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Nodes$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Nodes$Nodes$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8572,8 +8713,10 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8670,11 +8813,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Nodes$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Nodes$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Nodes$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8703,7 +8846,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8759,11 +8905,11 @@ export namespace prod_tt_sasportal_v1alpha1 { createSigned( params: Params$Resource$Nodes$Nodes$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Nodes$Nodes$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Nodes$Nodes$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -8792,7 +8938,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8848,11 +8997,11 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Nodes$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Nodes$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodes$Nodes$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8887,8 +9036,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8997,11 +9146,11 @@ export namespace prod_tt_sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Nodes$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Nodes$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Nodes$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9030,7 +9179,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9086,11 +9238,11 @@ export namespace prod_tt_sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Nodes$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Nodes$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodes$Nodes$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9125,8 +9277,8 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9221,11 +9373,11 @@ export namespace prod_tt_sasportal_v1alpha1 { get( params: Params$Resource$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9254,7 +9406,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9309,11 +9464,11 @@ export namespace prod_tt_sasportal_v1alpha1 { set( params: Params$Resource$Policies$Set, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; set( params?: Params$Resource$Policies$Set, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; set( params: Params$Resource$Policies$Set, options: StreamMethodOptions | BodyResponseCallback, @@ -9342,7 +9497,10 @@ export namespace prod_tt_sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Set; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9397,11 +9555,13 @@ export namespace prod_tt_sasportal_v1alpha1 { test( params: Params$Resource$Policies$Test, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; test( params?: Params$Resource$Policies$Test, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; test( params: Params$Resource$Policies$Test, options: StreamMethodOptions | BodyResponseCallback, @@ -9436,8 +9596,10 @@ export namespace prod_tt_sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Test; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/publicca/index.ts b/src/apis/publicca/index.ts index 62a82cebac5..20d112fe187 100644 --- a/src/apis/publicca/index.ts +++ b/src/apis/publicca/index.ts @@ -63,7 +63,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/publicca/package.json b/src/apis/publicca/package.json index 4a8a9edadd3..3fd15e55782 100644 --- a/src/apis/publicca/package.json +++ b/src/apis/publicca/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/publicca/v1.ts b/src/apis/publicca/v1.ts index c53a8406ab7..3e227fe5a14 100644 --- a/src/apis/publicca/v1.ts +++ b/src/apis/publicca/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -178,11 +178,11 @@ export namespace publicca_v1 { create( params: Params$Resource$Projects$Locations$Externalaccountkeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Externalaccountkeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Externalaccountkeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -213,8 +213,8 @@ export namespace publicca_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Externalaccountkeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/publicca/v1alpha1.ts b/src/apis/publicca/v1alpha1.ts index 23872c11d2b..0e6c9175ed1 100644 --- a/src/apis/publicca/v1alpha1.ts +++ b/src/apis/publicca/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -178,11 +178,11 @@ export namespace publicca_v1alpha1 { create( params: Params$Resource$Projects$Locations$Externalaccountkeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Externalaccountkeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Externalaccountkeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -213,8 +213,8 @@ export namespace publicca_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Externalaccountkeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/publicca/v1beta1.ts b/src/apis/publicca/v1beta1.ts index a5a107f2c64..9e9f06a2e18 100644 --- a/src/apis/publicca/v1beta1.ts +++ b/src/apis/publicca/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -178,11 +178,11 @@ export namespace publicca_v1beta1 { create( params: Params$Resource$Projects$Locations$Externalaccountkeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Externalaccountkeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Externalaccountkeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -213,8 +213,8 @@ export namespace publicca_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Externalaccountkeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/pubsub/index.ts b/src/apis/pubsub/index.ts index b85588894a1..7309897a46f 100644 --- a/src/apis/pubsub/index.ts +++ b/src/apis/pubsub/index.ts @@ -58,7 +58,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/pubsub/package.json b/src/apis/pubsub/package.json index c92ab8eaeaa..5e77b60a04d 100644 --- a/src/apis/pubsub/package.json +++ b/src/apis/pubsub/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/pubsub/v1.ts b/src/apis/pubsub/v1.ts index ebe7c7510a6..708a1ffbeec 100644 --- a/src/apis/pubsub/v1.ts +++ b/src/apis/pubsub/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1218,11 +1218,11 @@ export namespace pubsub_v1 { commit( params: Params$Resource$Projects$Schemas$Commit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commit( params?: Params$Resource$Projects$Schemas$Commit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commit( params: Params$Resource$Projects$Schemas$Commit, options: StreamMethodOptions | BodyResponseCallback, @@ -1251,7 +1251,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Commit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1303,11 +1306,11 @@ export namespace pubsub_v1 { create( params: Params$Resource$Projects$Schemas$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Schemas$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Schemas$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1336,7 +1339,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1391,11 +1397,11 @@ export namespace pubsub_v1 { delete( params: Params$Resource$Projects$Schemas$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Schemas$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Schemas$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1424,7 +1430,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1476,11 +1485,11 @@ export namespace pubsub_v1 { deleteRevision( params: Params$Resource$Projects$Schemas$Deleterevision, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteRevision( params?: Params$Resource$Projects$Schemas$Deleterevision, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteRevision( params: Params$Resource$Projects$Schemas$Deleterevision, options: StreamMethodOptions | BodyResponseCallback, @@ -1509,7 +1518,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Deleterevision; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1564,11 +1576,11 @@ export namespace pubsub_v1 { get( params: Params$Resource$Projects$Schemas$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Schemas$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Schemas$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1597,7 +1609,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1649,11 +1664,11 @@ export namespace pubsub_v1 { getIamPolicy( params: Params$Resource$Projects$Schemas$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Schemas$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Schemas$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1682,7 +1697,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1737,11 +1755,11 @@ export namespace pubsub_v1 { list( params: Params$Resource$Projects$Schemas$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Schemas$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Schemas$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1772,8 +1790,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1828,11 +1846,11 @@ export namespace pubsub_v1 { listRevisions( params: Params$Resource$Projects$Schemas$Listrevisions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params?: Params$Resource$Projects$Schemas$Listrevisions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params: Params$Resource$Projects$Schemas$Listrevisions, options: StreamMethodOptions | BodyResponseCallback, @@ -1867,8 +1885,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Listrevisions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1923,11 +1941,11 @@ export namespace pubsub_v1 { rollback( params: Params$Resource$Projects$Schemas$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Schemas$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Schemas$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -1956,7 +1974,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2011,11 +2032,11 @@ export namespace pubsub_v1 { setIamPolicy( params: Params$Resource$Projects$Schemas$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Schemas$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Schemas$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2044,7 +2065,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2099,11 +2123,11 @@ export namespace pubsub_v1 { testIamPermissions( params: Params$Resource$Projects$Schemas$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Schemas$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Schemas$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2138,8 +2162,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2194,11 +2218,11 @@ export namespace pubsub_v1 { validate( params: Params$Resource$Projects$Schemas$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Projects$Schemas$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validate( params: Params$Resource$Projects$Schemas$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -2233,8 +2257,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2289,11 +2313,11 @@ export namespace pubsub_v1 { validateMessage( params: Params$Resource$Projects$Schemas$Validatemessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateMessage( params?: Params$Resource$Projects$Schemas$Validatemessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validateMessage( params: Params$Resource$Projects$Schemas$Validatemessage, options: StreamMethodOptions | BodyResponseCallback, @@ -2328,8 +2352,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Schemas$Validatemessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2558,11 +2582,11 @@ export namespace pubsub_v1 { create( params: Params$Resource$Projects$Snapshots$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Snapshots$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Snapshots$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2591,7 +2615,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snapshots$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2643,11 +2670,11 @@ export namespace pubsub_v1 { delete( params: Params$Resource$Projects$Snapshots$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Snapshots$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Snapshots$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2676,7 +2703,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snapshots$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2728,11 +2758,11 @@ export namespace pubsub_v1 { get( params: Params$Resource$Projects$Snapshots$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Snapshots$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Snapshots$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2761,7 +2791,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snapshots$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2813,11 +2846,11 @@ export namespace pubsub_v1 { getIamPolicy( params: Params$Resource$Projects$Snapshots$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Snapshots$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Snapshots$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2846,7 +2879,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snapshots$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2901,11 +2937,11 @@ export namespace pubsub_v1 { list( params: Params$Resource$Projects$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2938,8 +2974,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2994,11 +3030,11 @@ export namespace pubsub_v1 { patch( params: Params$Resource$Projects$Snapshots$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Snapshots$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Snapshots$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3027,7 +3063,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snapshots$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3079,11 +3118,11 @@ export namespace pubsub_v1 { setIamPolicy( params: Params$Resource$Projects$Snapshots$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Snapshots$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Snapshots$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3112,7 +3151,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snapshots$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3167,11 +3209,11 @@ export namespace pubsub_v1 { testIamPermissions( params: Params$Resource$Projects$Snapshots$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Snapshots$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Snapshots$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3206,8 +3248,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Snapshots$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3358,11 +3400,11 @@ export namespace pubsub_v1 { acknowledge( params: Params$Resource$Projects$Subscriptions$Acknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params?: Params$Resource$Projects$Subscriptions$Acknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params: Params$Resource$Projects$Subscriptions$Acknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -3391,7 +3433,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Acknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3446,11 +3491,11 @@ export namespace pubsub_v1 { create( params: Params$Resource$Projects$Subscriptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Subscriptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Subscriptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3479,7 +3524,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3531,11 +3579,11 @@ export namespace pubsub_v1 { delete( params: Params$Resource$Projects$Subscriptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Subscriptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Subscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3564,7 +3612,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3619,11 +3670,11 @@ export namespace pubsub_v1 { detach( params: Params$Resource$Projects$Subscriptions$Detach, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detach( params?: Params$Resource$Projects$Subscriptions$Detach, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detach( params: Params$Resource$Projects$Subscriptions$Detach, options: StreamMethodOptions | BodyResponseCallback, @@ -3658,8 +3709,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Detach; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3714,11 +3765,11 @@ export namespace pubsub_v1 { get( params: Params$Resource$Projects$Subscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Subscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Subscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3747,7 +3798,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3802,11 +3856,11 @@ export namespace pubsub_v1 { getIamPolicy( params: Params$Resource$Projects$Subscriptions$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Subscriptions$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Subscriptions$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3835,7 +3889,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3890,11 +3947,11 @@ export namespace pubsub_v1 { list( params: Params$Resource$Projects$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3929,8 +3986,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3985,11 +4042,11 @@ export namespace pubsub_v1 { modifyAckDeadline( params: Params$Resource$Projects$Subscriptions$Modifyackdeadline, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyAckDeadline( params?: Params$Resource$Projects$Subscriptions$Modifyackdeadline, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyAckDeadline( params: Params$Resource$Projects$Subscriptions$Modifyackdeadline, options: StreamMethodOptions | BodyResponseCallback, @@ -4018,7 +4075,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Modifyackdeadline; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4073,11 +4133,11 @@ export namespace pubsub_v1 { modifyPushConfig( params: Params$Resource$Projects$Subscriptions$Modifypushconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyPushConfig( params?: Params$Resource$Projects$Subscriptions$Modifypushconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyPushConfig( params: Params$Resource$Projects$Subscriptions$Modifypushconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4106,7 +4166,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Modifypushconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4161,11 +4224,11 @@ export namespace pubsub_v1 { patch( params: Params$Resource$Projects$Subscriptions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Subscriptions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Subscriptions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4194,7 +4257,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4246,11 +4312,11 @@ export namespace pubsub_v1 { pull( params: Params$Resource$Projects$Subscriptions$Pull, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pull( params?: Params$Resource$Projects$Subscriptions$Pull, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pull( params: Params$Resource$Projects$Subscriptions$Pull, options: StreamMethodOptions | BodyResponseCallback, @@ -4279,7 +4345,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Pull; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4334,11 +4403,11 @@ export namespace pubsub_v1 { seek( params: Params$Resource$Projects$Subscriptions$Seek, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; seek( params?: Params$Resource$Projects$Subscriptions$Seek, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; seek( params: Params$Resource$Projects$Subscriptions$Seek, options: StreamMethodOptions | BodyResponseCallback, @@ -4367,7 +4436,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Seek; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4422,11 +4494,11 @@ export namespace pubsub_v1 { setIamPolicy( params: Params$Resource$Projects$Subscriptions$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Subscriptions$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Subscriptions$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4455,7 +4527,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4510,11 +4585,11 @@ export namespace pubsub_v1 { testIamPermissions( params: Params$Resource$Projects$Subscriptions$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Subscriptions$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Subscriptions$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4549,8 +4624,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4775,11 +4850,11 @@ export namespace pubsub_v1 { create( params: Params$Resource$Projects$Topics$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Topics$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Topics$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4808,7 +4883,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4860,11 +4938,11 @@ export namespace pubsub_v1 { delete( params: Params$Resource$Projects$Topics$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Topics$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Topics$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4893,7 +4971,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4945,11 +5026,11 @@ export namespace pubsub_v1 { get( params: Params$Resource$Projects$Topics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Topics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Topics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4978,7 +5059,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5030,11 +5114,11 @@ export namespace pubsub_v1 { getIamPolicy( params: Params$Resource$Projects$Topics$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Topics$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Topics$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5063,7 +5147,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5118,11 +5205,11 @@ export namespace pubsub_v1 { list( params: Params$Resource$Projects$Topics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Topics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Topics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5153,8 +5240,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5209,11 +5296,11 @@ export namespace pubsub_v1 { patch( params: Params$Resource$Projects$Topics$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Topics$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Topics$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5242,7 +5329,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5294,11 +5384,11 @@ export namespace pubsub_v1 { publish( params: Params$Resource$Projects$Topics$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Projects$Topics$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Projects$Topics$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -5327,7 +5417,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5382,11 +5475,11 @@ export namespace pubsub_v1 { setIamPolicy( params: Params$Resource$Projects$Topics$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Topics$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Topics$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5415,7 +5508,10 @@ export namespace pubsub_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5470,11 +5566,11 @@ export namespace pubsub_v1 { testIamPermissions( params: Params$Resource$Projects$Topics$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Topics$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Topics$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5509,8 +5605,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5673,11 +5769,11 @@ export namespace pubsub_v1 { list( params: Params$Resource$Projects$Topics$Snapshots$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Topics$Snapshots$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Topics$Snapshots$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5712,8 +5808,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Snapshots$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5791,11 +5887,11 @@ export namespace pubsub_v1 { list( params: Params$Resource$Projects$Topics$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Topics$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Topics$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5830,8 +5926,8 @@ export namespace pubsub_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/pubsub/v1beta1a.ts b/src/apis/pubsub/v1beta1a.ts index 9b7123c216c..6fe77bd02a6 100644 --- a/src/apis/pubsub/v1beta1a.ts +++ b/src/apis/pubsub/v1beta1a.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -406,11 +406,11 @@ export namespace pubsub_v1beta1a { acknowledge( params: Params$Resource$Subscriptions$Acknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params?: Params$Resource$Subscriptions$Acknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params: Params$Resource$Subscriptions$Acknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -439,7 +439,10 @@ export namespace pubsub_v1beta1a { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Acknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -494,11 +497,11 @@ export namespace pubsub_v1beta1a { create( params: Params$Resource$Subscriptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Subscriptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Subscriptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -527,7 +530,10 @@ export namespace pubsub_v1beta1a { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -582,11 +588,11 @@ export namespace pubsub_v1beta1a { delete( params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Subscriptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -615,7 +621,10 @@ export namespace pubsub_v1beta1a { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -670,11 +679,11 @@ export namespace pubsub_v1beta1a { get( params: Params$Resource$Subscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Subscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Subscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -703,7 +712,10 @@ export namespace pubsub_v1beta1a { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -758,11 +770,11 @@ export namespace pubsub_v1beta1a { list( params: Params$Resource$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -797,8 +809,8 @@ export namespace pubsub_v1beta1a { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -853,11 +865,11 @@ export namespace pubsub_v1beta1a { modifyAckDeadline( params: Params$Resource$Subscriptions$Modifyackdeadline, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyAckDeadline( params?: Params$Resource$Subscriptions$Modifyackdeadline, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyAckDeadline( params: Params$Resource$Subscriptions$Modifyackdeadline, options: StreamMethodOptions | BodyResponseCallback, @@ -886,7 +898,10 @@ export namespace pubsub_v1beta1a { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Modifyackdeadline; let options = (optionsOrCallback || {}) as MethodOptions; @@ -940,11 +955,11 @@ export namespace pubsub_v1beta1a { modifyPushConfig( params: Params$Resource$Subscriptions$Modifypushconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyPushConfig( params?: Params$Resource$Subscriptions$Modifypushconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyPushConfig( params: Params$Resource$Subscriptions$Modifypushconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -973,7 +988,10 @@ export namespace pubsub_v1beta1a { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Modifypushconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1028,11 +1046,11 @@ export namespace pubsub_v1beta1a { pull( params: Params$Resource$Subscriptions$Pull, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pull( params?: Params$Resource$Subscriptions$Pull, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pull( params: Params$Resource$Subscriptions$Pull, options: StreamMethodOptions | BodyResponseCallback, @@ -1061,7 +1079,10 @@ export namespace pubsub_v1beta1a { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Pull; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1116,11 +1137,11 @@ export namespace pubsub_v1beta1a { pullBatch( params: Params$Resource$Subscriptions$Pullbatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pullBatch( params?: Params$Resource$Subscriptions$Pullbatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pullBatch( params: Params$Resource$Subscriptions$Pullbatch, options: StreamMethodOptions | BodyResponseCallback, @@ -1151,8 +1172,8 @@ export namespace pubsub_v1beta1a { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Pullbatch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1286,11 +1307,11 @@ export namespace pubsub_v1beta1a { create( params: Params$Resource$Topics$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Topics$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Topics$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1319,7 +1340,10 @@ export namespace pubsub_v1beta1a { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Topics$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1370,11 +1394,11 @@ export namespace pubsub_v1beta1a { delete( params: Params$Resource$Topics$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Topics$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Topics$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1403,7 +1427,10 @@ export namespace pubsub_v1beta1a { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Topics$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1457,11 +1484,11 @@ export namespace pubsub_v1beta1a { get( params: Params$Resource$Topics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Topics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Topics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1490,7 +1517,10 @@ export namespace pubsub_v1beta1a { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Topics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1544,11 +1574,11 @@ export namespace pubsub_v1beta1a { list( params: Params$Resource$Topics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Topics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Topics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1579,8 +1609,8 @@ export namespace pubsub_v1beta1a { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Topics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1631,11 +1661,11 @@ export namespace pubsub_v1beta1a { publish( params: Params$Resource$Topics$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Topics$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Topics$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -1664,7 +1694,10 @@ export namespace pubsub_v1beta1a { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Topics$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1718,11 +1751,11 @@ export namespace pubsub_v1beta1a { publishBatch( params: Params$Resource$Topics$Publishbatch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publishBatch( params?: Params$Resource$Topics$Publishbatch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publishBatch( params: Params$Resource$Topics$Publishbatch, options: StreamMethodOptions | BodyResponseCallback, @@ -1757,8 +1790,8 @@ export namespace pubsub_v1beta1a { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Topics$Publishbatch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/pubsub/v1beta2.ts b/src/apis/pubsub/v1beta2.ts index aafb55e3040..b56aa9eb585 100644 --- a/src/apis/pubsub/v1beta2.ts +++ b/src/apis/pubsub/v1beta2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -447,11 +447,11 @@ export namespace pubsub_v1beta2 { acknowledge( params: Params$Resource$Projects$Subscriptions$Acknowledge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params?: Params$Resource$Projects$Subscriptions$Acknowledge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; acknowledge( params: Params$Resource$Projects$Subscriptions$Acknowledge, options: StreamMethodOptions | BodyResponseCallback, @@ -480,7 +480,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Acknowledge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -535,11 +538,11 @@ export namespace pubsub_v1beta2 { create( params: Params$Resource$Projects$Subscriptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Subscriptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Subscriptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -568,7 +571,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -620,11 +626,11 @@ export namespace pubsub_v1beta2 { delete( params: Params$Resource$Projects$Subscriptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Subscriptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Subscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -653,7 +659,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -708,11 +717,11 @@ export namespace pubsub_v1beta2 { get( params: Params$Resource$Projects$Subscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Subscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Subscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -741,7 +750,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -796,11 +808,11 @@ export namespace pubsub_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Subscriptions$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Subscriptions$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Subscriptions$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -829,7 +841,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -884,11 +899,11 @@ export namespace pubsub_v1beta2 { list( params: Params$Resource$Projects$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -923,8 +938,8 @@ export namespace pubsub_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -979,11 +994,11 @@ export namespace pubsub_v1beta2 { modifyAckDeadline( params: Params$Resource$Projects$Subscriptions$Modifyackdeadline, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyAckDeadline( params?: Params$Resource$Projects$Subscriptions$Modifyackdeadline, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyAckDeadline( params: Params$Resource$Projects$Subscriptions$Modifyackdeadline, options: StreamMethodOptions | BodyResponseCallback, @@ -1012,7 +1027,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Modifyackdeadline; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1066,11 +1084,11 @@ export namespace pubsub_v1beta2 { modifyPushConfig( params: Params$Resource$Projects$Subscriptions$Modifypushconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifyPushConfig( params?: Params$Resource$Projects$Subscriptions$Modifypushconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifyPushConfig( params: Params$Resource$Projects$Subscriptions$Modifypushconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1099,7 +1117,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Modifypushconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1153,11 +1174,11 @@ export namespace pubsub_v1beta2 { pull( params: Params$Resource$Projects$Subscriptions$Pull, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pull( params?: Params$Resource$Projects$Subscriptions$Pull, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pull( params: Params$Resource$Projects$Subscriptions$Pull, options: StreamMethodOptions | BodyResponseCallback, @@ -1186,7 +1207,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Pull; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1241,11 +1265,11 @@ export namespace pubsub_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Subscriptions$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Subscriptions$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Subscriptions$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1274,7 +1298,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1329,11 +1356,11 @@ export namespace pubsub_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Subscriptions$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Subscriptions$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Subscriptions$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1368,8 +1395,8 @@ export namespace pubsub_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Subscriptions$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1561,11 +1588,11 @@ export namespace pubsub_v1beta2 { create( params: Params$Resource$Projects$Topics$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Topics$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Topics$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1594,7 +1621,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1646,11 +1676,11 @@ export namespace pubsub_v1beta2 { delete( params: Params$Resource$Projects$Topics$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Topics$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Topics$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1679,7 +1709,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1731,11 +1764,11 @@ export namespace pubsub_v1beta2 { get( params: Params$Resource$Projects$Topics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Topics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Topics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1764,7 +1797,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1816,11 +1852,11 @@ export namespace pubsub_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Topics$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Topics$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Topics$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1849,7 +1885,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1904,11 +1943,11 @@ export namespace pubsub_v1beta2 { list( params: Params$Resource$Projects$Topics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Topics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Topics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1939,8 +1978,8 @@ export namespace pubsub_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1995,11 +2034,11 @@ export namespace pubsub_v1beta2 { publish( params: Params$Resource$Projects$Topics$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Projects$Topics$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Projects$Topics$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -2028,7 +2067,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2083,11 +2125,11 @@ export namespace pubsub_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Topics$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Topics$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Topics$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2116,7 +2158,10 @@ export namespace pubsub_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2171,11 +2216,11 @@ export namespace pubsub_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Topics$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Topics$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Topics$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2210,8 +2255,8 @@ export namespace pubsub_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2362,11 +2407,11 @@ export namespace pubsub_v1beta2 { list( params: Params$Resource$Projects$Topics$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Topics$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Topics$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2401,8 +2446,8 @@ export namespace pubsub_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Topics$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/pubsublite/index.ts b/src/apis/pubsublite/index.ts index 1852e4e6a87..e647763a793 100644 --- a/src/apis/pubsublite/index.ts +++ b/src/apis/pubsublite/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/pubsublite/package.json b/src/apis/pubsublite/package.json index 05f93853fa0..f4b93ef9ebb 100644 --- a/src/apis/pubsublite/package.json +++ b/src/apis/pubsublite/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/pubsublite/v1.ts b/src/apis/pubsublite/v1.ts index f14ef164977..89a38a9a0f9 100644 --- a/src/apis/pubsublite/v1.ts +++ b/src/apis/pubsublite/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -649,11 +649,11 @@ export namespace pubsublite_v1 { cancel( params: Params$Resource$Admin$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Admin$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Admin$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -682,7 +682,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -738,11 +741,11 @@ export namespace pubsublite_v1 { delete( params: Params$Resource$Admin$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Admin$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Admin$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -771,7 +774,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -824,11 +830,11 @@ export namespace pubsublite_v1 { get( params: Params$Resource$Admin$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Admin$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Admin$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -857,7 +863,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -909,11 +918,11 @@ export namespace pubsublite_v1 { list( params: Params$Resource$Admin$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Admin$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Admin$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -946,8 +955,8 @@ export namespace pubsublite_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1059,11 +1068,11 @@ export namespace pubsublite_v1 { create( params: Params$Resource$Admin$Projects$Locations$Reservations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Admin$Projects$Locations$Reservations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Admin$Projects$Locations$Reservations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1092,7 +1101,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Reservations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1148,11 +1160,11 @@ export namespace pubsublite_v1 { delete( params: Params$Resource$Admin$Projects$Locations$Reservations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Admin$Projects$Locations$Reservations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Admin$Projects$Locations$Reservations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1181,7 +1193,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Reservations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1234,11 +1249,11 @@ export namespace pubsublite_v1 { get( params: Params$Resource$Admin$Projects$Locations$Reservations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Admin$Projects$Locations$Reservations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Admin$Projects$Locations$Reservations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1267,7 +1282,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Reservations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1320,11 +1338,11 @@ export namespace pubsublite_v1 { list( params: Params$Resource$Admin$Projects$Locations$Reservations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Admin$Projects$Locations$Reservations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Admin$Projects$Locations$Reservations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1357,8 +1375,8 @@ export namespace pubsublite_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Reservations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1414,11 +1432,11 @@ export namespace pubsublite_v1 { patch( params: Params$Resource$Admin$Projects$Locations$Reservations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Admin$Projects$Locations$Reservations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Admin$Projects$Locations$Reservations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1447,7 +1465,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Reservations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1569,11 +1590,11 @@ export namespace pubsublite_v1 { list( params: Params$Resource$Admin$Projects$Locations$Reservations$Topics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Admin$Projects$Locations$Reservations$Topics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Admin$Projects$Locations$Reservations$Topics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1608,8 +1629,8 @@ export namespace pubsublite_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Reservations$Topics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1690,11 +1711,11 @@ export namespace pubsublite_v1 { create( params: Params$Resource$Admin$Projects$Locations$Subscriptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Admin$Projects$Locations$Subscriptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Admin$Projects$Locations$Subscriptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1723,7 +1744,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Subscriptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1779,11 +1803,11 @@ export namespace pubsublite_v1 { delete( params: Params$Resource$Admin$Projects$Locations$Subscriptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Admin$Projects$Locations$Subscriptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Admin$Projects$Locations$Subscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1812,7 +1836,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Subscriptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1865,11 +1892,11 @@ export namespace pubsublite_v1 { get( params: Params$Resource$Admin$Projects$Locations$Subscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Admin$Projects$Locations$Subscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Admin$Projects$Locations$Subscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1898,7 +1925,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Subscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1951,11 +1981,11 @@ export namespace pubsublite_v1 { list( params: Params$Resource$Admin$Projects$Locations$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Admin$Projects$Locations$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Admin$Projects$Locations$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1990,8 +2020,8 @@ export namespace pubsublite_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2047,11 +2077,11 @@ export namespace pubsublite_v1 { patch( params: Params$Resource$Admin$Projects$Locations$Subscriptions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Admin$Projects$Locations$Subscriptions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Admin$Projects$Locations$Subscriptions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2080,7 +2110,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Subscriptions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2133,11 +2166,11 @@ export namespace pubsublite_v1 { seek( params: Params$Resource$Admin$Projects$Locations$Subscriptions$Seek, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; seek( params?: Params$Resource$Admin$Projects$Locations$Subscriptions$Seek, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; seek( params: Params$Resource$Admin$Projects$Locations$Subscriptions$Seek, options: StreamMethodOptions | BodyResponseCallback, @@ -2166,7 +2199,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Subscriptions$Seek; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2312,11 +2348,11 @@ export namespace pubsublite_v1 { create( params: Params$Resource$Admin$Projects$Locations$Topics$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Admin$Projects$Locations$Topics$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Admin$Projects$Locations$Topics$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2345,7 +2381,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Topics$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2400,11 +2439,11 @@ export namespace pubsublite_v1 { delete( params: Params$Resource$Admin$Projects$Locations$Topics$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Admin$Projects$Locations$Topics$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Admin$Projects$Locations$Topics$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2433,7 +2472,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Topics$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2485,11 +2527,11 @@ export namespace pubsublite_v1 { get( params: Params$Resource$Admin$Projects$Locations$Topics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Admin$Projects$Locations$Topics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Admin$Projects$Locations$Topics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2518,7 +2560,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Topics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2570,11 +2615,11 @@ export namespace pubsublite_v1 { getPartitions( params: Params$Resource$Admin$Projects$Locations$Topics$Getpartitions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPartitions( params?: Params$Resource$Admin$Projects$Locations$Topics$Getpartitions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPartitions( params: Params$Resource$Admin$Projects$Locations$Topics$Getpartitions, options: StreamMethodOptions | BodyResponseCallback, @@ -2603,7 +2648,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Topics$Getpartitions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2659,11 +2707,11 @@ export namespace pubsublite_v1 { list( params: Params$Resource$Admin$Projects$Locations$Topics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Admin$Projects$Locations$Topics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Admin$Projects$Locations$Topics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2694,8 +2742,8 @@ export namespace pubsublite_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Topics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2750,11 +2798,11 @@ export namespace pubsublite_v1 { patch( params: Params$Resource$Admin$Projects$Locations$Topics$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Admin$Projects$Locations$Topics$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Admin$Projects$Locations$Topics$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2783,7 +2831,10 @@ export namespace pubsublite_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Topics$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2911,11 +2962,11 @@ export namespace pubsublite_v1 { list( params: Params$Resource$Admin$Projects$Locations$Topics$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Admin$Projects$Locations$Topics$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Admin$Projects$Locations$Topics$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2950,8 +3001,8 @@ export namespace pubsublite_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Admin$Projects$Locations$Topics$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3066,11 +3117,11 @@ export namespace pubsublite_v1 { commitCursor( params: Params$Resource$Cursor$Projects$Locations$Subscriptions$Commitcursor, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commitCursor( params?: Params$Resource$Cursor$Projects$Locations$Subscriptions$Commitcursor, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commitCursor( params: Params$Resource$Cursor$Projects$Locations$Subscriptions$Commitcursor, options: StreamMethodOptions | BodyResponseCallback, @@ -3105,8 +3156,8 @@ export namespace pubsublite_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cursor$Projects$Locations$Subscriptions$Commitcursor; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3182,11 +3233,11 @@ export namespace pubsublite_v1 { list( params: Params$Resource$Cursor$Projects$Locations$Subscriptions$Cursors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Cursor$Projects$Locations$Subscriptions$Cursors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Cursor$Projects$Locations$Subscriptions$Cursors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3221,8 +3272,8 @@ export namespace pubsublite_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Cursor$Projects$Locations$Subscriptions$Cursors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3332,11 +3383,11 @@ export namespace pubsublite_v1 { computeHeadCursor( params: Params$Resource$Topicstats$Projects$Locations$Topics$Computeheadcursor, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeHeadCursor( params?: Params$Resource$Topicstats$Projects$Locations$Topics$Computeheadcursor, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; computeHeadCursor( params: Params$Resource$Topicstats$Projects$Locations$Topics$Computeheadcursor, options: StreamMethodOptions | BodyResponseCallback, @@ -3371,8 +3422,8 @@ export namespace pubsublite_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Topicstats$Projects$Locations$Topics$Computeheadcursor; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3427,11 +3478,11 @@ export namespace pubsublite_v1 { computeMessageStats( params: Params$Resource$Topicstats$Projects$Locations$Topics$Computemessagestats, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeMessageStats( params?: Params$Resource$Topicstats$Projects$Locations$Topics$Computemessagestats, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; computeMessageStats( params: Params$Resource$Topicstats$Projects$Locations$Topics$Computemessagestats, options: StreamMethodOptions | BodyResponseCallback, @@ -3466,8 +3517,8 @@ export namespace pubsublite_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Topicstats$Projects$Locations$Topics$Computemessagestats; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3522,11 +3573,11 @@ export namespace pubsublite_v1 { computeTimeCursor( params: Params$Resource$Topicstats$Projects$Locations$Topics$Computetimecursor, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeTimeCursor( params?: Params$Resource$Topicstats$Projects$Locations$Topics$Computetimecursor, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; computeTimeCursor( params: Params$Resource$Topicstats$Projects$Locations$Topics$Computetimecursor, options: StreamMethodOptions | BodyResponseCallback, @@ -3561,8 +3612,8 @@ export namespace pubsublite_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Topicstats$Projects$Locations$Topics$Computetimecursor; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/rapidmigrationassessment/index.ts b/src/apis/rapidmigrationassessment/index.ts index b04ee7e318c..1aa16deb882 100644 --- a/src/apis/rapidmigrationassessment/index.ts +++ b/src/apis/rapidmigrationassessment/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/rapidmigrationassessment/package.json b/src/apis/rapidmigrationassessment/package.json index 05864dcc61e..e3da284ec3b 100644 --- a/src/apis/rapidmigrationassessment/package.json +++ b/src/apis/rapidmigrationassessment/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/rapidmigrationassessment/v1.ts b/src/apis/rapidmigrationassessment/v1.ts index 1d500d79482..5b39fa8fd09 100644 --- a/src/apis/rapidmigrationassessment/v1.ts +++ b/src/apis/rapidmigrationassessment/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -449,11 +449,11 @@ export namespace rapidmigrationassessment_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -482,7 +482,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -535,11 +538,11 @@ export namespace rapidmigrationassessment_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -572,8 +575,8 @@ export namespace rapidmigrationassessment_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -667,11 +670,11 @@ export namespace rapidmigrationassessment_v1 { create( params: Params$Resource$Projects$Locations$Annotations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Annotations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Annotations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -700,7 +703,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Annotations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -756,11 +762,11 @@ export namespace rapidmigrationassessment_v1 { get( params: Params$Resource$Projects$Locations$Annotations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Annotations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Annotations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -789,7 +795,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Annotations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -873,11 +882,11 @@ export namespace rapidmigrationassessment_v1 { create( params: Params$Resource$Projects$Locations$Collectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Collectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Collectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -906,7 +915,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -962,11 +974,11 @@ export namespace rapidmigrationassessment_v1 { delete( params: Params$Resource$Projects$Locations$Collectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Collectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Collectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -995,7 +1007,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1048,11 +1063,11 @@ export namespace rapidmigrationassessment_v1 { get( params: Params$Resource$Projects$Locations$Collectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Collectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Collectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1081,7 +1096,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1134,11 +1152,11 @@ export namespace rapidmigrationassessment_v1 { list( params: Params$Resource$Projects$Locations$Collectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Collectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Collectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1171,8 +1189,8 @@ export namespace rapidmigrationassessment_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1228,11 +1246,11 @@ export namespace rapidmigrationassessment_v1 { patch( params: Params$Resource$Projects$Locations$Collectors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Collectors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Collectors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1261,7 +1279,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1314,11 +1335,11 @@ export namespace rapidmigrationassessment_v1 { pause( params: Params$Resource$Projects$Locations$Collectors$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Collectors$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Collectors$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -1347,7 +1368,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collectors$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1400,11 +1424,11 @@ export namespace rapidmigrationassessment_v1 { register( params: Params$Resource$Projects$Locations$Collectors$Register, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; register( params?: Params$Resource$Projects$Locations$Collectors$Register, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; register( params: Params$Resource$Projects$Locations$Collectors$Register, options: StreamMethodOptions | BodyResponseCallback, @@ -1433,7 +1457,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collectors$Register; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1489,11 +1516,11 @@ export namespace rapidmigrationassessment_v1 { resume( params: Params$Resource$Projects$Locations$Collectors$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Collectors$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Collectors$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -1522,7 +1549,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Collectors$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1700,11 +1730,11 @@ export namespace rapidmigrationassessment_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1733,7 +1763,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1786,11 +1819,11 @@ export namespace rapidmigrationassessment_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1819,7 +1852,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1872,11 +1908,11 @@ export namespace rapidmigrationassessment_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1905,7 +1941,10 @@ export namespace rapidmigrationassessment_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1958,11 +1997,11 @@ export namespace rapidmigrationassessment_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1995,8 +2034,8 @@ export namespace rapidmigrationassessment_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/readerrevenuesubscriptionlinking/index.ts b/src/apis/readerrevenuesubscriptionlinking/index.ts index 60e305357d3..e64c0ad0fd6 100644 --- a/src/apis/readerrevenuesubscriptionlinking/index.ts +++ b/src/apis/readerrevenuesubscriptionlinking/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/readerrevenuesubscriptionlinking/package.json b/src/apis/readerrevenuesubscriptionlinking/package.json index ffc60d355c0..2d7c20f4e81 100644 --- a/src/apis/readerrevenuesubscriptionlinking/package.json +++ b/src/apis/readerrevenuesubscriptionlinking/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/readerrevenuesubscriptionlinking/v1.ts b/src/apis/readerrevenuesubscriptionlinking/v1.ts index 1f04224f225..1ee25b2ade8 100644 --- a/src/apis/readerrevenuesubscriptionlinking/v1.ts +++ b/src/apis/readerrevenuesubscriptionlinking/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -202,11 +202,11 @@ export namespace readerrevenuesubscriptionlinking_v1 { delete( params: Params$Resource$Publications$Readers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Publications$Readers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Publications$Readers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -239,8 +239,8 @@ export namespace readerrevenuesubscriptionlinking_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publications$Readers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -294,11 +294,11 @@ export namespace readerrevenuesubscriptionlinking_v1 { get( params: Params$Resource$Publications$Readers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Publications$Readers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Publications$Readers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -327,7 +327,10 @@ export namespace readerrevenuesubscriptionlinking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publications$Readers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -381,11 +384,11 @@ export namespace readerrevenuesubscriptionlinking_v1 { getEntitlements( params: Params$Resource$Publications$Readers$Getentitlements, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEntitlements( params?: Params$Resource$Publications$Readers$Getentitlements, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEntitlements( params: Params$Resource$Publications$Readers$Getentitlements, options: StreamMethodOptions | BodyResponseCallback, @@ -418,8 +421,8 @@ export namespace readerrevenuesubscriptionlinking_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publications$Readers$Getentitlements; let options = (optionsOrCallback || {}) as MethodOptions; @@ -473,11 +476,11 @@ export namespace readerrevenuesubscriptionlinking_v1 { updateEntitlements( params: Params$Resource$Publications$Readers$Updateentitlements, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateEntitlements( params?: Params$Resource$Publications$Readers$Updateentitlements, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateEntitlements( params: Params$Resource$Publications$Readers$Updateentitlements, options: StreamMethodOptions | BodyResponseCallback, @@ -510,8 +513,8 @@ export namespace readerrevenuesubscriptionlinking_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Publications$Readers$Updateentitlements; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/realtimebidding/index.ts b/src/apis/realtimebidding/index.ts index 68cab3a93ba..27b6176ba36 100644 --- a/src/apis/realtimebidding/index.ts +++ b/src/apis/realtimebidding/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/realtimebidding/package.json b/src/apis/realtimebidding/package.json index eaca69f81b1..951bb816e16 100644 --- a/src/apis/realtimebidding/package.json +++ b/src/apis/realtimebidding/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/realtimebidding/v1.ts b/src/apis/realtimebidding/v1.ts index f3b61a7d3f1..13270b95825 100644 --- a/src/apis/realtimebidding/v1.ts +++ b/src/apis/realtimebidding/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1269,11 +1269,11 @@ export namespace realtimebidding_v1 { get( params: Params$Resource$Bidders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Bidders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Bidders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1302,7 +1302,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1354,11 +1357,11 @@ export namespace realtimebidding_v1 { list( params: Params$Resource$Bidders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1389,8 +1392,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1466,11 +1469,11 @@ export namespace realtimebidding_v1 { list( params: Params$Resource$Bidders$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1503,8 +1506,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1560,11 +1563,11 @@ export namespace realtimebidding_v1 { watch( params: Params$Resource$Bidders$Creatives$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Bidders$Creatives$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Bidders$Creatives$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -1597,8 +1600,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Creatives$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1697,11 +1700,11 @@ export namespace realtimebidding_v1 { get( params: Params$Resource$Bidders$Endpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Bidders$Endpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Bidders$Endpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1730,7 +1733,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Endpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1783,11 +1789,11 @@ export namespace realtimebidding_v1 { list( params: Params$Resource$Bidders$Endpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Endpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Endpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1820,8 +1826,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Endpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1877,11 +1883,11 @@ export namespace realtimebidding_v1 { patch( params: Params$Resource$Bidders$Endpoints$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Bidders$Endpoints$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Bidders$Endpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1910,7 +1916,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Endpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2009,11 +2018,11 @@ export namespace realtimebidding_v1 { activate( params: Params$Resource$Bidders$Pretargetingconfigs$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Bidders$Pretargetingconfigs$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Bidders$Pretargetingconfigs$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -2044,8 +2053,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2101,11 +2110,11 @@ export namespace realtimebidding_v1 { addTargetedApps( params: Params$Resource$Bidders$Pretargetingconfigs$Addtargetedapps, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addTargetedApps( params?: Params$Resource$Bidders$Pretargetingconfigs$Addtargetedapps, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addTargetedApps( params: Params$Resource$Bidders$Pretargetingconfigs$Addtargetedapps, options: StreamMethodOptions | BodyResponseCallback, @@ -2138,8 +2147,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Addtargetedapps; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2195,11 +2204,11 @@ export namespace realtimebidding_v1 { addTargetedPublishers( params: Params$Resource$Bidders$Pretargetingconfigs$Addtargetedpublishers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addTargetedPublishers( params?: Params$Resource$Bidders$Pretargetingconfigs$Addtargetedpublishers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addTargetedPublishers( params: Params$Resource$Bidders$Pretargetingconfigs$Addtargetedpublishers, options: StreamMethodOptions | BodyResponseCallback, @@ -2232,8 +2241,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Addtargetedpublishers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2289,11 +2298,11 @@ export namespace realtimebidding_v1 { addTargetedSites( params: Params$Resource$Bidders$Pretargetingconfigs$Addtargetedsites, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addTargetedSites( params?: Params$Resource$Bidders$Pretargetingconfigs$Addtargetedsites, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addTargetedSites( params: Params$Resource$Bidders$Pretargetingconfigs$Addtargetedsites, options: StreamMethodOptions | BodyResponseCallback, @@ -2326,8 +2335,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Addtargetedsites; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2383,11 +2392,11 @@ export namespace realtimebidding_v1 { create( params: Params$Resource$Bidders$Pretargetingconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Bidders$Pretargetingconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Bidders$Pretargetingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2418,8 +2427,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2475,11 +2484,11 @@ export namespace realtimebidding_v1 { delete( params: Params$Resource$Bidders$Pretargetingconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Bidders$Pretargetingconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Bidders$Pretargetingconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2508,7 +2517,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2561,11 +2573,11 @@ export namespace realtimebidding_v1 { get( params: Params$Resource$Bidders$Pretargetingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Bidders$Pretargetingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Bidders$Pretargetingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2596,8 +2608,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2650,11 +2662,11 @@ export namespace realtimebidding_v1 { list( params: Params$Resource$Bidders$Pretargetingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Pretargetingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Pretargetingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2689,8 +2701,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2748,11 +2760,11 @@ export namespace realtimebidding_v1 { patch( params: Params$Resource$Bidders$Pretargetingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Bidders$Pretargetingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Bidders$Pretargetingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2783,8 +2795,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2837,11 +2849,11 @@ export namespace realtimebidding_v1 { removeTargetedApps( params: Params$Resource$Bidders$Pretargetingconfigs$Removetargetedapps, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeTargetedApps( params?: Params$Resource$Bidders$Pretargetingconfigs$Removetargetedapps, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeTargetedApps( params: Params$Resource$Bidders$Pretargetingconfigs$Removetargetedapps, options: StreamMethodOptions | BodyResponseCallback, @@ -2874,8 +2886,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Removetargetedapps; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2931,11 +2943,11 @@ export namespace realtimebidding_v1 { removeTargetedPublishers( params: Params$Resource$Bidders$Pretargetingconfigs$Removetargetedpublishers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeTargetedPublishers( params?: Params$Resource$Bidders$Pretargetingconfigs$Removetargetedpublishers, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeTargetedPublishers( params: Params$Resource$Bidders$Pretargetingconfigs$Removetargetedpublishers, options: StreamMethodOptions | BodyResponseCallback, @@ -2968,8 +2980,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Removetargetedpublishers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3025,11 +3037,11 @@ export namespace realtimebidding_v1 { removeTargetedSites( params: Params$Resource$Bidders$Pretargetingconfigs$Removetargetedsites, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeTargetedSites( params?: Params$Resource$Bidders$Pretargetingconfigs$Removetargetedsites, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeTargetedSites( params: Params$Resource$Bidders$Pretargetingconfigs$Removetargetedsites, options: StreamMethodOptions | BodyResponseCallback, @@ -3062,8 +3074,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Removetargetedsites; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3119,11 +3131,11 @@ export namespace realtimebidding_v1 { suspend( params: Params$Resource$Bidders$Pretargetingconfigs$Suspend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params?: Params$Resource$Bidders$Pretargetingconfigs$Suspend, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params: Params$Resource$Bidders$Pretargetingconfigs$Suspend, options: StreamMethodOptions | BodyResponseCallback, @@ -3154,8 +3166,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Pretargetingconfigs$Suspend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3372,11 +3384,13 @@ export namespace realtimebidding_v1 { batchApprove( params: Params$Resource$Bidders$Publisherconnections$Batchapprove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchApprove( params?: Params$Resource$Bidders$Publisherconnections$Batchapprove, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchApprove( params: Params$Resource$Bidders$Publisherconnections$Batchapprove, options: StreamMethodOptions | BodyResponseCallback, @@ -3411,8 +3425,10 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Publisherconnections$Batchapprove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3470,11 +3486,13 @@ export namespace realtimebidding_v1 { batchReject( params: Params$Resource$Bidders$Publisherconnections$Batchreject, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchReject( params?: Params$Resource$Bidders$Publisherconnections$Batchreject, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchReject( params: Params$Resource$Bidders$Publisherconnections$Batchreject, options: StreamMethodOptions | BodyResponseCallback, @@ -3509,8 +3527,10 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Publisherconnections$Batchreject; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3567,11 +3587,11 @@ export namespace realtimebidding_v1 { get( params: Params$Resource$Bidders$Publisherconnections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Bidders$Publisherconnections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Bidders$Publisherconnections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3602,8 +3622,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Publisherconnections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3656,11 +3676,13 @@ export namespace realtimebidding_v1 { list( params: Params$Resource$Bidders$Publisherconnections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Publisherconnections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Bidders$Publisherconnections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3695,8 +3717,10 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Publisherconnections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3820,11 +3844,11 @@ export namespace realtimebidding_v1 { get( params: Params$Resource$Buyers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3853,7 +3877,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3905,11 +3932,11 @@ export namespace realtimebidding_v1 { getRemarketingTag( params: Params$Resource$Buyers$Getremarketingtag, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRemarketingTag( params?: Params$Resource$Buyers$Getremarketingtag, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRemarketingTag( params: Params$Resource$Buyers$Getremarketingtag, options: StreamMethodOptions | BodyResponseCallback, @@ -3944,8 +3971,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Getremarketingtag; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4001,11 +4028,11 @@ export namespace realtimebidding_v1 { list( params: Params$Resource$Buyers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4036,8 +4063,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4120,11 +4147,11 @@ export namespace realtimebidding_v1 { create( params: Params$Resource$Buyers$Creatives$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Buyers$Creatives$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Buyers$Creatives$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4153,7 +4180,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Creatives$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4209,11 +4239,11 @@ export namespace realtimebidding_v1 { get( params: Params$Resource$Buyers$Creatives$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Creatives$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Creatives$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4242,7 +4272,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Creatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4295,11 +4328,11 @@ export namespace realtimebidding_v1 { list( params: Params$Resource$Buyers$Creatives$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Creatives$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Creatives$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4332,8 +4365,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Creatives$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4389,11 +4422,11 @@ export namespace realtimebidding_v1 { patch( params: Params$Resource$Buyers$Creatives$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Buyers$Creatives$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Buyers$Creatives$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4422,7 +4455,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Creatives$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4545,11 +4581,11 @@ export namespace realtimebidding_v1 { close( params: Params$Resource$Buyers$Userlists$Close, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; close( params?: Params$Resource$Buyers$Userlists$Close, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; close( params: Params$Resource$Buyers$Userlists$Close, options: StreamMethodOptions | BodyResponseCallback, @@ -4578,7 +4614,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Userlists$Close; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4631,11 +4670,11 @@ export namespace realtimebidding_v1 { create( params: Params$Resource$Buyers$Userlists$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Buyers$Userlists$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Buyers$Userlists$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4664,7 +4703,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Userlists$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4720,11 +4762,11 @@ export namespace realtimebidding_v1 { get( params: Params$Resource$Buyers$Userlists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buyers$Userlists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buyers$Userlists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4753,7 +4795,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Userlists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4806,11 +4851,11 @@ export namespace realtimebidding_v1 { getRemarketingTag( params: Params$Resource$Buyers$Userlists$Getremarketingtag, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRemarketingTag( params?: Params$Resource$Buyers$Userlists$Getremarketingtag, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRemarketingTag( params: Params$Resource$Buyers$Userlists$Getremarketingtag, options: StreamMethodOptions | BodyResponseCallback, @@ -4845,8 +4890,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Userlists$Getremarketingtag; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4902,11 +4947,11 @@ export namespace realtimebidding_v1 { list( params: Params$Resource$Buyers$Userlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buyers$Userlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buyers$Userlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4939,8 +4984,8 @@ export namespace realtimebidding_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Userlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4996,11 +5041,11 @@ export namespace realtimebidding_v1 { open( params: Params$Resource$Buyers$Userlists$Open, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; open( params?: Params$Resource$Buyers$Userlists$Open, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; open( params: Params$Resource$Buyers$Userlists$Open, options: StreamMethodOptions | BodyResponseCallback, @@ -5029,7 +5074,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Userlists$Open; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5082,11 +5130,11 @@ export namespace realtimebidding_v1 { update( params: Params$Resource$Buyers$Userlists$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Buyers$Userlists$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Buyers$Userlists$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5115,7 +5163,10 @@ export namespace realtimebidding_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buyers$Userlists$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/realtimebidding/v1alpha.ts b/src/apis/realtimebidding/v1alpha.ts index 41195d74578..bdffafbc0c4 100644 --- a/src/apis/realtimebidding/v1alpha.ts +++ b/src/apis/realtimebidding/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -195,11 +195,11 @@ export namespace realtimebidding_v1alpha { activate( params: Params$Resource$Bidders$Biddingfunctions$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Bidders$Biddingfunctions$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Bidders$Biddingfunctions$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -228,7 +228,7 @@ export namespace realtimebidding_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Biddingfunctions$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -284,11 +284,11 @@ export namespace realtimebidding_v1alpha { archive( params: Params$Resource$Bidders$Biddingfunctions$Archive, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; archive( params?: Params$Resource$Bidders$Biddingfunctions$Archive, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; archive( params: Params$Resource$Bidders$Biddingfunctions$Archive, options: StreamMethodOptions | BodyResponseCallback, @@ -317,7 +317,7 @@ export namespace realtimebidding_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Biddingfunctions$Archive; let options = (optionsOrCallback || {}) as MethodOptions; @@ -373,11 +373,11 @@ export namespace realtimebidding_v1alpha { create( params: Params$Resource$Bidders$Biddingfunctions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Bidders$Biddingfunctions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Bidders$Biddingfunctions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -406,7 +406,7 @@ export namespace realtimebidding_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Biddingfunctions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -462,11 +462,11 @@ export namespace realtimebidding_v1alpha { list( params: Params$Resource$Bidders$Biddingfunctions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bidders$Biddingfunctions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bidders$Biddingfunctions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -501,8 +501,8 @@ export namespace realtimebidding_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bidders$Biddingfunctions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/recaptchaenterprise/index.ts b/src/apis/recaptchaenterprise/index.ts index 49b595febb4..90c7d6ec363 100644 --- a/src/apis/recaptchaenterprise/index.ts +++ b/src/apis/recaptchaenterprise/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/recaptchaenterprise/package.json b/src/apis/recaptchaenterprise/package.json index 49323f2a9c6..97c8d4550cb 100644 --- a/src/apis/recaptchaenterprise/package.json +++ b/src/apis/recaptchaenterprise/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/recaptchaenterprise/v1.ts b/src/apis/recaptchaenterprise/v1.ts index a394a8c234f..8df40ec34ee 100644 --- a/src/apis/recaptchaenterprise/v1.ts +++ b/src/apis/recaptchaenterprise/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -541,6 +541,10 @@ export namespace recaptchaenterprise_v1 { * Output only. Assessment of this transaction for risk of being part of a card testing attack. */ cardTestingVerdict?: Schema$GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict; + /** + * Output only. Reasons why the transaction is probably fraudulent and received a high transaction risk score. + */ + riskReasons?: Schema$GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason[]; /** * Output only. Assessment of this transaction for risk of a stolen instrument. */ @@ -568,6 +572,15 @@ export namespace recaptchaenterprise_v1 { */ risk?: number | null; } + /** + * Risk reasons applicable to the Fraud Prevention assessment. + */ + export interface Schema$GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason { + /** + * Output only. Risk reasons applicable to the Fraud Prevention assessment. + */ + reason?: string | null; + } /** * Information about stolen instrument fraud, where the user is not the legitimate owner of the instrument being used for the purchase. */ @@ -1326,11 +1339,13 @@ export namespace recaptchaenterprise_v1 { annotate( params: Params$Resource$Projects$Assessments$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Assessments$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Projects$Assessments$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -1365,8 +1380,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Assessments$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1424,11 +1441,13 @@ export namespace recaptchaenterprise_v1 { create( params: Params$Resource$Projects$Assessments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Assessments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Assessments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1463,8 +1482,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Assessments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1554,11 +1575,13 @@ export namespace recaptchaenterprise_v1 { create( params: Params$Resource$Projects$Firewallpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Firewallpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Firewallpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1593,8 +1616,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Firewallpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1652,11 +1677,11 @@ export namespace recaptchaenterprise_v1 { delete( params: Params$Resource$Projects$Firewallpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Firewallpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Firewallpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1687,8 +1712,8 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Firewallpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1741,11 +1766,13 @@ export namespace recaptchaenterprise_v1 { get( params: Params$Resource$Projects$Firewallpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Firewallpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Firewallpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1780,8 +1807,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Firewallpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1836,11 +1865,13 @@ export namespace recaptchaenterprise_v1 { list( params: Params$Resource$Projects$Firewallpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Firewallpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Firewallpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1875,8 +1906,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Firewallpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1934,11 +1967,13 @@ export namespace recaptchaenterprise_v1 { patch( params: Params$Resource$Projects$Firewallpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Firewallpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Firewallpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1973,8 +2008,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Firewallpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2029,11 +2066,13 @@ export namespace recaptchaenterprise_v1 { reorder( params: Params$Resource$Projects$Firewallpolicies$Reorder, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reorder( params?: Params$Resource$Projects$Firewallpolicies$Reorder, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; reorder( params: Params$Resource$Projects$Firewallpolicies$Reorder, options: StreamMethodOptions | BodyResponseCallback, @@ -2068,8 +2107,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Firewallpolicies$Reorder; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2204,11 +2245,13 @@ export namespace recaptchaenterprise_v1 { addIpOverride( params: Params$Resource$Projects$Keys$Addipoverride, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addIpOverride( params?: Params$Resource$Projects$Keys$Addipoverride, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addIpOverride( params: Params$Resource$Projects$Keys$Addipoverride, options: StreamMethodOptions | BodyResponseCallback, @@ -2243,8 +2286,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Keys$Addipoverride; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2302,11 +2347,13 @@ export namespace recaptchaenterprise_v1 { create( params: Params$Resource$Projects$Keys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Keys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Keys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2341,8 +2388,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Keys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2397,11 +2446,11 @@ export namespace recaptchaenterprise_v1 { delete( params: Params$Resource$Projects$Keys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Keys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Keys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2432,8 +2481,8 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Keys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2486,11 +2535,13 @@ export namespace recaptchaenterprise_v1 { get( params: Params$Resource$Projects$Keys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Keys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Keys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2525,8 +2576,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Keys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2581,11 +2634,13 @@ export namespace recaptchaenterprise_v1 { getMetrics( params: Params$Resource$Projects$Keys$Getmetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMetrics( params?: Params$Resource$Projects$Keys$Getmetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getMetrics( params: Params$Resource$Projects$Keys$Getmetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -2620,8 +2675,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Keys$Getmetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2676,11 +2733,13 @@ export namespace recaptchaenterprise_v1 { list( params: Params$Resource$Projects$Keys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Keys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Keys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2715,8 +2774,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Keys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2771,11 +2832,13 @@ export namespace recaptchaenterprise_v1 { listIpOverrides( params: Params$Resource$Projects$Keys$Listipoverrides, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listIpOverrides( params?: Params$Resource$Projects$Keys$Listipoverrides, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listIpOverrides( params: Params$Resource$Projects$Keys$Listipoverrides, options: StreamMethodOptions | BodyResponseCallback, @@ -2810,8 +2873,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Keys$Listipoverrides; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2869,11 +2934,13 @@ export namespace recaptchaenterprise_v1 { migrate( params: Params$Resource$Projects$Keys$Migrate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; migrate( params?: Params$Resource$Projects$Keys$Migrate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; migrate( params: Params$Resource$Projects$Keys$Migrate, options: StreamMethodOptions | BodyResponseCallback, @@ -2908,8 +2975,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Keys$Migrate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2967,11 +3036,13 @@ export namespace recaptchaenterprise_v1 { patch( params: Params$Resource$Projects$Keys$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Keys$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Keys$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3006,8 +3077,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Keys$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3062,11 +3135,13 @@ export namespace recaptchaenterprise_v1 { removeIpOverride( params: Params$Resource$Projects$Keys$Removeipoverride, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeIpOverride( params?: Params$Resource$Projects$Keys$Removeipoverride, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeIpOverride( params: Params$Resource$Projects$Keys$Removeipoverride, options: StreamMethodOptions | BodyResponseCallback, @@ -3101,8 +3176,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Keys$Removeipoverride; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3160,11 +3237,13 @@ export namespace recaptchaenterprise_v1 { retrieveLegacySecretKey( params: Params$Resource$Projects$Keys$Retrievelegacysecretkey, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; retrieveLegacySecretKey( params?: Params$Resource$Projects$Keys$Retrievelegacysecretkey, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; retrieveLegacySecretKey( params: Params$Resource$Projects$Keys$Retrievelegacysecretkey, options: StreamMethodOptions | BodyResponseCallback, @@ -3199,8 +3278,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Keys$Retrievelegacysecretkey; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3388,11 +3469,13 @@ export namespace recaptchaenterprise_v1 { search( params: Params$Resource$Projects$Relatedaccountgroupmemberships$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Relatedaccountgroupmemberships$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Relatedaccountgroupmemberships$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -3427,8 +3510,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Relatedaccountgroupmemberships$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3510,11 +3595,13 @@ export namespace recaptchaenterprise_v1 { list( params: Params$Resource$Projects$Relatedaccountgroups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Relatedaccountgroups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Relatedaccountgroups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3549,8 +3636,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Relatedaccountgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3631,11 +3720,13 @@ export namespace recaptchaenterprise_v1 { list( params: Params$Resource$Projects$Relatedaccountgroups$Memberships$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Relatedaccountgroups$Memberships$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Relatedaccountgroups$Memberships$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3670,8 +3761,10 @@ export namespace recaptchaenterprise_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Relatedaccountgroups$Memberships$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/recommendationengine/index.ts b/src/apis/recommendationengine/index.ts index 426af690c86..49cf710146c 100644 --- a/src/apis/recommendationengine/index.ts +++ b/src/apis/recommendationengine/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/recommendationengine/package.json b/src/apis/recommendationengine/package.json index 532e19d9ad0..95790a41963 100644 --- a/src/apis/recommendationengine/package.json +++ b/src/apis/recommendationengine/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/recommendationengine/v1beta1.ts b/src/apis/recommendationengine/v1beta1.ts index 7ad621dfd92..7b4adf0ed6a 100644 --- a/src/apis/recommendationengine/v1beta1.ts +++ b/src/apis/recommendationengine/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1053,11 +1053,13 @@ export namespace recommendationengine_v1beta1 { list( params: Params$Resource$Projects$Locations$Catalogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1092,8 +1094,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1151,11 +1155,13 @@ export namespace recommendationengine_v1beta1 { patch( params: Params$Resource$Projects$Locations$Catalogs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Catalogs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1190,8 +1196,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1285,11 +1293,13 @@ export namespace recommendationengine_v1beta1 { create( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1324,8 +1334,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Catalogitems$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1384,11 +1396,11 @@ export namespace recommendationengine_v1beta1 { delete( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1419,8 +1431,8 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Catalogitems$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1474,11 +1486,13 @@ export namespace recommendationengine_v1beta1 { get( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1513,8 +1527,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Catalogitems$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1570,11 +1586,11 @@ export namespace recommendationengine_v1beta1 { import( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -1609,8 +1625,8 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Catalogitems$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1667,11 +1683,13 @@ export namespace recommendationengine_v1beta1 { list( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Catalogitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1706,8 +1724,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Catalogitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1766,11 +1786,13 @@ export namespace recommendationengine_v1beta1 { patch( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Catalogs$Catalogitems$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1805,8 +1827,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Catalogitems$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1970,11 +1994,11 @@ export namespace recommendationengine_v1beta1 { get( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2009,8 +2033,8 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2064,11 +2088,13 @@ export namespace recommendationengine_v1beta1 { list( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2103,8 +2129,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2197,11 +2225,13 @@ export namespace recommendationengine_v1beta1 { predict( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Placements$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Placements$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Placements$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -2236,8 +2266,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Placements$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2316,11 +2348,13 @@ export namespace recommendationengine_v1beta1 { create( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2355,8 +2389,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2414,11 +2450,11 @@ export namespace recommendationengine_v1beta1 { delete( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2449,8 +2485,8 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2504,11 +2540,13 @@ export namespace recommendationengine_v1beta1 { list( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2543,8 +2581,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Predictionapikeyregistrations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2644,11 +2684,11 @@ export namespace recommendationengine_v1beta1 { collect( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -2679,8 +2719,8 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2737,11 +2777,11 @@ export namespace recommendationengine_v1beta1 { import( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -2776,8 +2816,8 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2834,11 +2874,13 @@ export namespace recommendationengine_v1beta1 { list( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2873,8 +2915,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2933,11 +2977,11 @@ export namespace recommendationengine_v1beta1 { purge( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -2972,8 +3016,8 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3030,11 +3074,11 @@ export namespace recommendationengine_v1beta1 { rejoin( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Rejoin, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rejoin( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Rejoin, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rejoin( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Rejoin, options: StreamMethodOptions | BodyResponseCallback, @@ -3069,8 +3113,8 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Rejoin; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3127,11 +3171,13 @@ export namespace recommendationengine_v1beta1 { write( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -3166,8 +3212,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Eventstores$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3320,11 +3368,11 @@ export namespace recommendationengine_v1beta1 { get( params: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3359,8 +3407,8 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3414,11 +3462,13 @@ export namespace recommendationengine_v1beta1 { list( params: Params$Resource$Projects$Locations$Catalogs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3453,8 +3503,10 @@ export namespace recommendationengine_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/recommender/index.ts b/src/apis/recommender/index.ts index 95c1ce58fdf..bb41d7c6819 100644 --- a/src/apis/recommender/index.ts +++ b/src/apis/recommender/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/recommender/package.json b/src/apis/recommender/package.json index 310f441f481..93718d84aa8 100644 --- a/src/apis/recommender/package.json +++ b/src/apis/recommender/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/recommender/v1.ts b/src/apis/recommender/v1.ts index 1c2c1c83408..89272f05d47 100644 --- a/src/apis/recommender/v1.ts +++ b/src/apis/recommender/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -682,11 +682,13 @@ export namespace recommender_v1 { getConfig( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Billingaccounts$Locations$Insighttypes$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -721,8 +723,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Insighttypes$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -777,11 +781,13 @@ export namespace recommender_v1 { updateConfig( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Billingaccounts$Locations$Insighttypes$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -816,8 +822,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Insighttypes$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -907,11 +915,11 @@ export namespace recommender_v1 { get( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -946,8 +954,8 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1002,11 +1010,13 @@ export namespace recommender_v1 { list( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1041,8 +1051,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1100,11 +1112,11 @@ export namespace recommender_v1 { markAccepted( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params?: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Markaccepted, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions | BodyResponseCallback, @@ -1139,8 +1151,8 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Markaccepted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1249,11 +1261,13 @@ export namespace recommender_v1 { getConfig( params: Params$Resource$Billingaccounts$Locations$Recommenders$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Billingaccounts$Locations$Recommenders$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1288,8 +1302,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1344,11 +1360,13 @@ export namespace recommender_v1 { updateConfig( params: Params$Resource$Billingaccounts$Locations$Recommenders$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Billingaccounts$Locations$Recommenders$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1383,8 +1401,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1474,11 +1494,13 @@ export namespace recommender_v1 { get( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1513,8 +1535,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1569,11 +1593,13 @@ export namespace recommender_v1 { list( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1608,8 +1634,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1667,11 +1695,13 @@ export namespace recommender_v1 { markClaimed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markClaimed( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markclaimed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markClaimed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions | BodyResponseCallback, @@ -1706,8 +1736,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markclaimed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1765,11 +1797,13 @@ export namespace recommender_v1 { markDismissed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markDismissed( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markdismissed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markDismissed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions | BodyResponseCallback, @@ -1804,8 +1838,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markdismissed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1863,11 +1899,13 @@ export namespace recommender_v1 { markFailed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markFailed( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markfailed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markFailed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions | BodyResponseCallback, @@ -1902,8 +1940,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markfailed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1961,11 +2001,13 @@ export namespace recommender_v1 { markSucceeded( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markSucceeded( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Marksucceeded, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markSucceeded( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions | BodyResponseCallback, @@ -2000,8 +2042,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Marksucceeded; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2176,11 +2220,11 @@ export namespace recommender_v1 { get( params: Params$Resource$Folders$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Insighttypes$Insights$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2215,8 +2259,8 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Insighttypes$Insights$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2271,11 +2315,13 @@ export namespace recommender_v1 { list( params: Params$Resource$Folders$Locations$Insighttypes$Insights$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Insighttypes$Insights$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Locations$Insighttypes$Insights$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2310,8 +2356,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Insighttypes$Insights$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2369,11 +2417,11 @@ export namespace recommender_v1 { markAccepted( params: Params$Resource$Folders$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params?: Params$Resource$Folders$Locations$Insighttypes$Insights$Markaccepted, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params: Params$Resource$Folders$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions | BodyResponseCallback, @@ -2408,8 +2456,8 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Insighttypes$Insights$Markaccepted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2525,11 +2573,13 @@ export namespace recommender_v1 { get( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2564,8 +2614,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2620,11 +2672,13 @@ export namespace recommender_v1 { list( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2659,8 +2713,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2718,11 +2774,13 @@ export namespace recommender_v1 { markClaimed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markClaimed( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markclaimed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markClaimed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions | BodyResponseCallback, @@ -2757,8 +2815,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$Markclaimed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2816,11 +2876,13 @@ export namespace recommender_v1 { markDismissed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markDismissed( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markdismissed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markDismissed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions | BodyResponseCallback, @@ -2855,8 +2917,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$Markdismissed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2914,11 +2978,13 @@ export namespace recommender_v1 { markFailed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markFailed( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markfailed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markFailed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions | BodyResponseCallback, @@ -2953,8 +3019,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$Markfailed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3012,11 +3080,13 @@ export namespace recommender_v1 { markSucceeded( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markSucceeded( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$Marksucceeded, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markSucceeded( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions | BodyResponseCallback, @@ -3051,8 +3121,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$Marksucceeded; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3221,11 +3293,13 @@ export namespace recommender_v1 { getConfig( params: Params$Resource$Organizations$Locations$Insighttypes$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Organizations$Locations$Insighttypes$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Organizations$Locations$Insighttypes$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3260,8 +3334,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insighttypes$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3316,11 +3392,13 @@ export namespace recommender_v1 { updateConfig( params: Params$Resource$Organizations$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Organizations$Locations$Insighttypes$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Organizations$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3355,8 +3433,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insighttypes$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3446,11 +3526,11 @@ export namespace recommender_v1 { get( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Insighttypes$Insights$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3485,8 +3565,8 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insighttypes$Insights$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3541,11 +3621,13 @@ export namespace recommender_v1 { list( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Insighttypes$Insights$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3580,8 +3662,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insighttypes$Insights$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3639,11 +3723,11 @@ export namespace recommender_v1 { markAccepted( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params?: Params$Resource$Organizations$Locations$Insighttypes$Insights$Markaccepted, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions | BodyResponseCallback, @@ -3678,8 +3762,8 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insighttypes$Insights$Markaccepted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3788,11 +3872,13 @@ export namespace recommender_v1 { getConfig( params: Params$Resource$Organizations$Locations$Recommenders$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Organizations$Locations$Recommenders$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Organizations$Locations$Recommenders$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3827,8 +3913,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3883,11 +3971,13 @@ export namespace recommender_v1 { updateConfig( params: Params$Resource$Organizations$Locations$Recommenders$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Organizations$Locations$Recommenders$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Organizations$Locations$Recommenders$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3922,8 +4012,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4013,11 +4105,13 @@ export namespace recommender_v1 { get( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4052,8 +4146,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4108,11 +4204,13 @@ export namespace recommender_v1 { list( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4147,8 +4245,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4206,11 +4306,13 @@ export namespace recommender_v1 { markClaimed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markClaimed( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markclaimed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markClaimed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions | BodyResponseCallback, @@ -4245,8 +4347,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markclaimed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4304,11 +4408,13 @@ export namespace recommender_v1 { markDismissed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markDismissed( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markdismissed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markDismissed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions | BodyResponseCallback, @@ -4343,8 +4449,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markdismissed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4402,11 +4510,13 @@ export namespace recommender_v1 { markFailed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markFailed( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markfailed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markFailed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions | BodyResponseCallback, @@ -4441,8 +4551,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markfailed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4500,11 +4612,13 @@ export namespace recommender_v1 { markSucceeded( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markSucceeded( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Marksucceeded, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markSucceeded( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions | BodyResponseCallback, @@ -4539,8 +4653,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$Marksucceeded; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4708,11 +4824,13 @@ export namespace recommender_v1 { getConfig( params: Params$Resource$Projects$Locations$Insighttypes$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Locations$Insighttypes$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Projects$Locations$Insighttypes$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4747,8 +4865,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insighttypes$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4803,11 +4923,13 @@ export namespace recommender_v1 { updateConfig( params: Params$Resource$Projects$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Projects$Locations$Insighttypes$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Projects$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4842,8 +4964,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insighttypes$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4933,11 +5057,11 @@ export namespace recommender_v1 { get( params: Params$Resource$Projects$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Insighttypes$Insights$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4972,8 +5096,8 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insighttypes$Insights$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5028,11 +5152,13 @@ export namespace recommender_v1 { list( params: Params$Resource$Projects$Locations$Insighttypes$Insights$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Insighttypes$Insights$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Insighttypes$Insights$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5067,8 +5193,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insighttypes$Insights$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5126,11 +5254,11 @@ export namespace recommender_v1 { markAccepted( params: Params$Resource$Projects$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params?: Params$Resource$Projects$Locations$Insighttypes$Insights$Markaccepted, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params: Params$Resource$Projects$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions | BodyResponseCallback, @@ -5165,8 +5293,8 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insighttypes$Insights$Markaccepted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5275,11 +5403,13 @@ export namespace recommender_v1 { getConfig( params: Params$Resource$Projects$Locations$Recommenders$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Locations$Recommenders$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Projects$Locations$Recommenders$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5314,8 +5444,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5370,11 +5502,13 @@ export namespace recommender_v1 { updateConfig( params: Params$Resource$Projects$Locations$Recommenders$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Projects$Locations$Recommenders$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Projects$Locations$Recommenders$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5409,8 +5543,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5500,11 +5636,13 @@ export namespace recommender_v1 { get( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5539,8 +5677,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5595,11 +5735,13 @@ export namespace recommender_v1 { list( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5634,8 +5776,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5693,11 +5837,13 @@ export namespace recommender_v1 { markClaimed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markClaimed( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markclaimed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markClaimed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions | BodyResponseCallback, @@ -5732,8 +5878,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$Markclaimed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5791,11 +5939,13 @@ export namespace recommender_v1 { markDismissed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markDismissed( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markdismissed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markDismissed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions | BodyResponseCallback, @@ -5830,8 +5980,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$Markdismissed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5889,11 +6041,13 @@ export namespace recommender_v1 { markFailed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markFailed( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markfailed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markFailed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions | BodyResponseCallback, @@ -5928,8 +6082,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$Markfailed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5987,11 +6143,13 @@ export namespace recommender_v1 { markSucceeded( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markSucceeded( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$Marksucceeded, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markSucceeded( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions | BodyResponseCallback, @@ -6026,8 +6184,10 @@ export namespace recommender_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$Marksucceeded; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/recommender/v1beta1.ts b/src/apis/recommender/v1beta1.ts index 15aa8fa65a0..b6b29f22df7 100644 --- a/src/apis/recommender/v1beta1.ts +++ b/src/apis/recommender/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -760,11 +760,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Billingaccounts$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -799,8 +801,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -893,11 +897,13 @@ export namespace recommender_v1beta1 { getConfig( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Billingaccounts$Locations$Insighttypes$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -932,8 +938,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Insighttypes$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -988,11 +996,13 @@ export namespace recommender_v1beta1 { updateConfig( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Billingaccounts$Locations$Insighttypes$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1027,8 +1037,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Insighttypes$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1118,11 +1130,13 @@ export namespace recommender_v1beta1 { get( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1157,8 +1171,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1213,11 +1229,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1252,8 +1270,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1311,11 +1331,13 @@ export namespace recommender_v1beta1 { markAccepted( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params?: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Markaccepted, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markAccepted( params: Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions | BodyResponseCallback, @@ -1350,8 +1372,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Insighttypes$Insights$Markaccepted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1460,11 +1484,13 @@ export namespace recommender_v1beta1 { getConfig( params: Params$Resource$Billingaccounts$Locations$Recommenders$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Billingaccounts$Locations$Recommenders$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1499,8 +1525,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1555,11 +1583,13 @@ export namespace recommender_v1beta1 { updateConfig( params: Params$Resource$Billingaccounts$Locations$Recommenders$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Billingaccounts$Locations$Recommenders$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -1594,8 +1624,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1685,11 +1717,13 @@ export namespace recommender_v1beta1 { get( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1724,8 +1758,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1780,11 +1816,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1819,8 +1857,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1878,11 +1918,13 @@ export namespace recommender_v1beta1 { markClaimed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markClaimed( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markclaimed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markClaimed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions | BodyResponseCallback, @@ -1917,8 +1959,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markclaimed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1976,11 +2020,13 @@ export namespace recommender_v1beta1 { markDismissed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markDismissed( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markdismissed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markDismissed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions | BodyResponseCallback, @@ -2015,8 +2061,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markdismissed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2074,11 +2122,13 @@ export namespace recommender_v1beta1 { markFailed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markFailed( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markfailed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markFailed( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions | BodyResponseCallback, @@ -2113,8 +2163,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Markfailed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2172,11 +2224,13 @@ export namespace recommender_v1beta1 { markSucceeded( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markSucceeded( params?: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Marksucceeded, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markSucceeded( params: Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions | BodyResponseCallback, @@ -2211,8 +2265,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Billingaccounts$Locations$Recommenders$Recommendations$Marksucceeded; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2369,11 +2425,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Folders$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2408,8 +2466,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2508,11 +2568,13 @@ export namespace recommender_v1beta1 { get( params: Params$Resource$Folders$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Insighttypes$Insights$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2547,8 +2609,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Insighttypes$Insights$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2603,11 +2667,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Folders$Locations$Insighttypes$Insights$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Insighttypes$Insights$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Locations$Insighttypes$Insights$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2642,8 +2708,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Insighttypes$Insights$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2701,11 +2769,13 @@ export namespace recommender_v1beta1 { markAccepted( params: Params$Resource$Folders$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params?: Params$Resource$Folders$Locations$Insighttypes$Insights$Markaccepted, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markAccepted( params: Params$Resource$Folders$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions | BodyResponseCallback, @@ -2740,8 +2810,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Insighttypes$Insights$Markaccepted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2857,11 +2929,13 @@ export namespace recommender_v1beta1 { get( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2896,8 +2970,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2952,11 +3028,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2991,8 +3069,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3050,11 +3130,13 @@ export namespace recommender_v1beta1 { markClaimed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markClaimed( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markclaimed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markClaimed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions | BodyResponseCallback, @@ -3089,8 +3171,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$Markclaimed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3148,11 +3232,13 @@ export namespace recommender_v1beta1 { markDismissed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markDismissed( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markdismissed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markDismissed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions | BodyResponseCallback, @@ -3187,8 +3273,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$Markdismissed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3246,11 +3334,13 @@ export namespace recommender_v1beta1 { markFailed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markFailed( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markfailed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markFailed( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions | BodyResponseCallback, @@ -3285,8 +3375,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$Markfailed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3344,11 +3436,13 @@ export namespace recommender_v1beta1 { markSucceeded( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markSucceeded( params?: Params$Resource$Folders$Locations$Recommenders$Recommendations$Marksucceeded, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markSucceeded( params: Params$Resource$Folders$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions | BodyResponseCallback, @@ -3383,8 +3477,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Recommenders$Recommendations$Marksucceeded; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3524,11 +3620,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Insighttypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Insighttypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Insighttypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3563,8 +3661,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Insighttypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3657,11 +3757,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Organizations$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3696,8 +3798,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3790,11 +3894,13 @@ export namespace recommender_v1beta1 { getConfig( params: Params$Resource$Organizations$Locations$Insighttypes$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Organizations$Locations$Insighttypes$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Organizations$Locations$Insighttypes$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3829,8 +3935,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insighttypes$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3885,11 +3993,13 @@ export namespace recommender_v1beta1 { updateConfig( params: Params$Resource$Organizations$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Organizations$Locations$Insighttypes$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Organizations$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -3924,8 +4034,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insighttypes$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4015,11 +4127,13 @@ export namespace recommender_v1beta1 { get( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Insighttypes$Insights$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4054,8 +4168,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insighttypes$Insights$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4110,11 +4226,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Insighttypes$Insights$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4149,8 +4267,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insighttypes$Insights$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4208,11 +4328,13 @@ export namespace recommender_v1beta1 { markAccepted( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params?: Params$Resource$Organizations$Locations$Insighttypes$Insights$Markaccepted, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markAccepted( params: Params$Resource$Organizations$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions | BodyResponseCallback, @@ -4247,8 +4369,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Insighttypes$Insights$Markaccepted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4357,11 +4481,13 @@ export namespace recommender_v1beta1 { getConfig( params: Params$Resource$Organizations$Locations$Recommenders$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Organizations$Locations$Recommenders$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Organizations$Locations$Recommenders$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4396,8 +4522,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4452,11 +4580,13 @@ export namespace recommender_v1beta1 { updateConfig( params: Params$Resource$Organizations$Locations$Recommenders$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Organizations$Locations$Recommenders$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Organizations$Locations$Recommenders$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4491,8 +4621,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4582,11 +4714,13 @@ export namespace recommender_v1beta1 { get( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4621,8 +4755,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4677,11 +4813,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4716,8 +4854,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4775,11 +4915,13 @@ export namespace recommender_v1beta1 { markClaimed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markClaimed( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markclaimed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markClaimed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions | BodyResponseCallback, @@ -4814,8 +4956,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markclaimed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4873,11 +5017,13 @@ export namespace recommender_v1beta1 { markDismissed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markDismissed( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markdismissed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markDismissed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions | BodyResponseCallback, @@ -4912,8 +5058,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markdismissed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4971,11 +5119,13 @@ export namespace recommender_v1beta1 { markFailed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markFailed( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markfailed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markFailed( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions | BodyResponseCallback, @@ -5010,8 +5160,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$Markfailed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5069,11 +5221,13 @@ export namespace recommender_v1beta1 { markSucceeded( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markSucceeded( params?: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Marksucceeded, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markSucceeded( params: Params$Resource$Organizations$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions | BodyResponseCallback, @@ -5108,8 +5262,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Recommenders$Recommendations$Marksucceeded; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5266,11 +5422,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5305,8 +5463,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5398,11 +5558,13 @@ export namespace recommender_v1beta1 { getConfig( params: Params$Resource$Projects$Locations$Insighttypes$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Locations$Insighttypes$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Projects$Locations$Insighttypes$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5437,8 +5599,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insighttypes$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5493,11 +5657,13 @@ export namespace recommender_v1beta1 { updateConfig( params: Params$Resource$Projects$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Projects$Locations$Insighttypes$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Projects$Locations$Insighttypes$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5532,8 +5698,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insighttypes$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5623,11 +5791,13 @@ export namespace recommender_v1beta1 { get( params: Params$Resource$Projects$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Insighttypes$Insights$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Insighttypes$Insights$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5662,8 +5832,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insighttypes$Insights$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5718,11 +5890,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Projects$Locations$Insighttypes$Insights$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Insighttypes$Insights$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Insighttypes$Insights$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5757,8 +5931,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insighttypes$Insights$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5816,11 +5992,13 @@ export namespace recommender_v1beta1 { markAccepted( params: Params$Resource$Projects$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markAccepted( params?: Params$Resource$Projects$Locations$Insighttypes$Insights$Markaccepted, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markAccepted( params: Params$Resource$Projects$Locations$Insighttypes$Insights$Markaccepted, options: StreamMethodOptions | BodyResponseCallback, @@ -5855,8 +6033,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insighttypes$Insights$Markaccepted; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5965,11 +6145,13 @@ export namespace recommender_v1beta1 { getConfig( params: Params$Resource$Projects$Locations$Recommenders$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Locations$Recommenders$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getConfig( params: Params$Resource$Projects$Locations$Recommenders$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -6004,8 +6186,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6060,11 +6244,13 @@ export namespace recommender_v1beta1 { updateConfig( params: Params$Resource$Projects$Locations$Recommenders$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Projects$Locations$Recommenders$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateConfig( params: Params$Resource$Projects$Locations$Recommenders$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -6099,8 +6285,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6190,11 +6378,13 @@ export namespace recommender_v1beta1 { get( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6229,8 +6419,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6285,11 +6477,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6324,8 +6518,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6383,11 +6579,13 @@ export namespace recommender_v1beta1 { markClaimed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markClaimed( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markclaimed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markClaimed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markclaimed, options: StreamMethodOptions | BodyResponseCallback, @@ -6422,8 +6620,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$Markclaimed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6481,11 +6681,13 @@ export namespace recommender_v1beta1 { markDismissed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markDismissed( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markdismissed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markDismissed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markdismissed, options: StreamMethodOptions | BodyResponseCallback, @@ -6520,8 +6722,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$Markdismissed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6579,11 +6783,13 @@ export namespace recommender_v1beta1 { markFailed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markFailed( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markfailed, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markFailed( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Markfailed, options: StreamMethodOptions | BodyResponseCallback, @@ -6618,8 +6824,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$Markfailed; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6677,11 +6885,13 @@ export namespace recommender_v1beta1 { markSucceeded( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markSucceeded( params?: Params$Resource$Projects$Locations$Recommenders$Recommendations$Marksucceeded, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; markSucceeded( params: Params$Resource$Projects$Locations$Recommenders$Recommendations$Marksucceeded, options: StreamMethodOptions | BodyResponseCallback, @@ -6716,8 +6926,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Recommenders$Recommendations$Marksucceeded; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6857,11 +7069,13 @@ export namespace recommender_v1beta1 { list( params: Params$Resource$Recommenders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Recommenders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Recommenders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6896,8 +7110,10 @@ export namespace recommender_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Recommenders$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/redis/index.ts b/src/apis/redis/index.ts index f3b0c39a0e9..2b96abce8a1 100644 --- a/src/apis/redis/index.ts +++ b/src/apis/redis/index.ts @@ -43,7 +43,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/redis/package.json b/src/apis/redis/package.json index 3b320c19ba4..1387d01bbfb 100644 --- a/src/apis/redis/package.json +++ b/src/apis/redis/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/redis/v1.ts b/src/apis/redis/v1.ts index 912489012c5..5736473f8dc 100644 --- a/src/apis/redis/v1.ts +++ b/src/apis/redis/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1965,11 +1965,11 @@ export namespace redis_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1998,7 +1998,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2050,11 +2053,11 @@ export namespace redis_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2087,8 +2090,8 @@ export namespace redis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2185,11 +2188,11 @@ export namespace redis_v1 { get( params: Params$Resource$Projects$Locations$Backupcollections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupcollections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupcollections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2218,7 +2221,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2270,11 +2276,11 @@ export namespace redis_v1 { list( params: Params$Resource$Projects$Locations$Backupcollections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupcollections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupcollections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2309,8 +2315,8 @@ export namespace redis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2398,11 +2404,11 @@ export namespace redis_v1 { delete( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupcollections$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2431,7 +2437,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2484,11 +2493,11 @@ export namespace redis_v1 { export( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Backupcollections$Backups$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -2517,7 +2526,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$Backups$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2570,11 +2582,11 @@ export namespace redis_v1 { get( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupcollections$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2603,7 +2615,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2656,11 +2671,11 @@ export namespace redis_v1 { list( params: Params$Resource$Projects$Locations$Backupcollections$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupcollections$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupcollections$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2691,8 +2706,8 @@ export namespace redis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2801,11 +2816,11 @@ export namespace redis_v1 { backup( params: Params$Resource$Projects$Locations$Clusters$Backup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; backup( params?: Params$Resource$Projects$Locations$Clusters$Backup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; backup( params: Params$Resource$Projects$Locations$Clusters$Backup, options: StreamMethodOptions | BodyResponseCallback, @@ -2834,7 +2849,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Backup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2886,11 +2904,11 @@ export namespace redis_v1 { create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2919,7 +2937,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2974,11 +2995,11 @@ export namespace redis_v1 { delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3007,7 +3028,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3059,11 +3083,11 @@ export namespace redis_v1 { get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3092,7 +3116,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3144,11 +3171,11 @@ export namespace redis_v1 { getCertificateAuthority( params: Params$Resource$Projects$Locations$Clusters$Getcertificateauthority, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCertificateAuthority( params?: Params$Resource$Projects$Locations$Clusters$Getcertificateauthority, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCertificateAuthority( params: Params$Resource$Projects$Locations$Clusters$Getcertificateauthority, options: StreamMethodOptions | BodyResponseCallback, @@ -3183,8 +3210,8 @@ export namespace redis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Getcertificateauthority; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3237,11 +3264,11 @@ export namespace redis_v1 { list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3274,8 +3301,8 @@ export namespace redis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3330,11 +3357,11 @@ export namespace redis_v1 { patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3363,7 +3390,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3415,11 +3445,11 @@ export namespace redis_v1 { rescheduleClusterMaintenance( params: Params$Resource$Projects$Locations$Clusters$Rescheduleclustermaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleClusterMaintenance( params?: Params$Resource$Projects$Locations$Clusters$Rescheduleclustermaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleClusterMaintenance( params: Params$Resource$Projects$Locations$Clusters$Rescheduleclustermaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -3450,7 +3480,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Rescheduleclustermaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3618,11 +3651,11 @@ export namespace redis_v1 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3651,7 +3684,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3706,11 +3742,11 @@ export namespace redis_v1 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3739,7 +3775,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3791,11 +3830,11 @@ export namespace redis_v1 { export( params: Params$Resource$Projects$Locations$Instances$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Instances$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Instances$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -3824,7 +3863,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3876,11 +3918,11 @@ export namespace redis_v1 { failover( params: Params$Resource$Projects$Locations$Instances$Failover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; failover( params?: Params$Resource$Projects$Locations$Instances$Failover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; failover( params: Params$Resource$Projects$Locations$Instances$Failover, options: StreamMethodOptions | BodyResponseCallback, @@ -3909,7 +3951,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Failover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3964,11 +4009,11 @@ export namespace redis_v1 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3997,7 +4042,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4049,11 +4097,11 @@ export namespace redis_v1 { getAuthString( params: Params$Resource$Projects$Locations$Instances$Getauthstring, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAuthString( params?: Params$Resource$Projects$Locations$Instances$Getauthstring, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAuthString( params: Params$Resource$Projects$Locations$Instances$Getauthstring, options: StreamMethodOptions | BodyResponseCallback, @@ -4086,8 +4134,8 @@ export namespace redis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Getauthstring; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4143,11 +4191,11 @@ export namespace redis_v1 { import( params: Params$Resource$Projects$Locations$Instances$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Instances$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Instances$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -4176,7 +4224,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4228,11 +4279,11 @@ export namespace redis_v1 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4265,8 +4316,8 @@ export namespace redis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4321,11 +4372,11 @@ export namespace redis_v1 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4354,7 +4405,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4406,11 +4460,11 @@ export namespace redis_v1 { rescheduleMaintenance( params: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params?: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -4441,7 +4495,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Reschedulemaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4497,11 +4554,11 @@ export namespace redis_v1 { upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Instances$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -4530,7 +4587,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4721,11 +4781,11 @@ export namespace redis_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4754,7 +4814,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4806,11 +4869,11 @@ export namespace redis_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4839,7 +4902,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4891,11 +4957,11 @@ export namespace redis_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4924,7 +4990,10 @@ export namespace redis_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4976,11 +5045,11 @@ export namespace redis_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5013,8 +5082,8 @@ export namespace redis_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/redis/v1beta1.ts b/src/apis/redis/v1beta1.ts index 0decc34bd1b..f0635839280 100644 --- a/src/apis/redis/v1beta1.ts +++ b/src/apis/redis/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1965,11 +1965,11 @@ export namespace redis_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1998,7 +1998,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2050,11 +2053,11 @@ export namespace redis_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2087,8 +2090,8 @@ export namespace redis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2185,11 +2188,11 @@ export namespace redis_v1beta1 { get( params: Params$Resource$Projects$Locations$Backupcollections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupcollections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupcollections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2218,7 +2221,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2270,11 +2276,11 @@ export namespace redis_v1beta1 { list( params: Params$Resource$Projects$Locations$Backupcollections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupcollections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupcollections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2309,8 +2315,8 @@ export namespace redis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2398,11 +2404,11 @@ export namespace redis_v1beta1 { delete( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Backupcollections$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2431,7 +2437,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2484,11 +2493,11 @@ export namespace redis_v1beta1 { export( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Backupcollections$Backups$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -2517,7 +2526,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$Backups$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2573,11 +2585,11 @@ export namespace redis_v1beta1 { get( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Backupcollections$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Backupcollections$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2606,7 +2618,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2659,11 +2674,11 @@ export namespace redis_v1beta1 { list( params: Params$Resource$Projects$Locations$Backupcollections$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Backupcollections$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Backupcollections$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2694,8 +2709,8 @@ export namespace redis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Backupcollections$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2804,11 +2819,11 @@ export namespace redis_v1beta1 { backup( params: Params$Resource$Projects$Locations$Clusters$Backup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; backup( params?: Params$Resource$Projects$Locations$Clusters$Backup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; backup( params: Params$Resource$Projects$Locations$Clusters$Backup, options: StreamMethodOptions | BodyResponseCallback, @@ -2837,7 +2852,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Backup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2892,11 +2910,11 @@ export namespace redis_v1beta1 { create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2925,7 +2943,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2980,11 +3001,11 @@ export namespace redis_v1beta1 { delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3013,7 +3034,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3065,11 +3089,11 @@ export namespace redis_v1beta1 { get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3098,7 +3122,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3150,11 +3177,11 @@ export namespace redis_v1beta1 { getCertificateAuthority( params: Params$Resource$Projects$Locations$Clusters$Getcertificateauthority, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCertificateAuthority( params?: Params$Resource$Projects$Locations$Clusters$Getcertificateauthority, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCertificateAuthority( params: Params$Resource$Projects$Locations$Clusters$Getcertificateauthority, options: StreamMethodOptions | BodyResponseCallback, @@ -3189,8 +3216,8 @@ export namespace redis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Getcertificateauthority; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3243,11 +3270,11 @@ export namespace redis_v1beta1 { list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3280,8 +3307,8 @@ export namespace redis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3336,11 +3363,11 @@ export namespace redis_v1beta1 { patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Clusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Clusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3369,7 +3396,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3421,11 +3451,11 @@ export namespace redis_v1beta1 { rescheduleClusterMaintenance( params: Params$Resource$Projects$Locations$Clusters$Rescheduleclustermaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleClusterMaintenance( params?: Params$Resource$Projects$Locations$Clusters$Rescheduleclustermaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleClusterMaintenance( params: Params$Resource$Projects$Locations$Clusters$Rescheduleclustermaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -3456,7 +3486,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Rescheduleclustermaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3623,11 +3656,11 @@ export namespace redis_v1beta1 { create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3656,7 +3689,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3711,11 +3747,11 @@ export namespace redis_v1beta1 { delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3744,7 +3780,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3796,11 +3835,11 @@ export namespace redis_v1beta1 { export( params: Params$Resource$Projects$Locations$Instances$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Instances$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Instances$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -3829,7 +3868,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3884,11 +3926,11 @@ export namespace redis_v1beta1 { failover( params: Params$Resource$Projects$Locations$Instances$Failover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; failover( params?: Params$Resource$Projects$Locations$Instances$Failover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; failover( params: Params$Resource$Projects$Locations$Instances$Failover, options: StreamMethodOptions | BodyResponseCallback, @@ -3917,7 +3959,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Failover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3972,11 +4017,11 @@ export namespace redis_v1beta1 { get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4005,7 +4050,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4057,11 +4105,11 @@ export namespace redis_v1beta1 { getAuthString( params: Params$Resource$Projects$Locations$Instances$Getauthstring, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAuthString( params?: Params$Resource$Projects$Locations$Instances$Getauthstring, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getAuthString( params: Params$Resource$Projects$Locations$Instances$Getauthstring, options: StreamMethodOptions | BodyResponseCallback, @@ -4094,8 +4142,8 @@ export namespace redis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Getauthstring; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4151,11 +4199,11 @@ export namespace redis_v1beta1 { import( params: Params$Resource$Projects$Locations$Instances$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Instances$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Instances$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -4184,7 +4232,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4239,11 +4290,11 @@ export namespace redis_v1beta1 { list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4276,8 +4327,8 @@ export namespace redis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4332,11 +4383,11 @@ export namespace redis_v1beta1 { patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4365,7 +4416,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4417,11 +4471,11 @@ export namespace redis_v1beta1 { rescheduleMaintenance( params: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params?: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params: Params$Resource$Projects$Locations$Instances$Reschedulemaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -4452,7 +4506,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Reschedulemaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4508,11 +4565,11 @@ export namespace redis_v1beta1 { upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params?: Params$Resource$Projects$Locations$Instances$Upgrade, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgrade( params: Params$Resource$Projects$Locations$Instances$Upgrade, options: StreamMethodOptions | BodyResponseCallback, @@ -4541,7 +4598,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Instances$Upgrade; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4732,11 +4792,11 @@ export namespace redis_v1beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4765,7 +4825,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4820,11 +4883,11 @@ export namespace redis_v1beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4853,7 +4916,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4905,11 +4971,11 @@ export namespace redis_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4938,7 +5004,10 @@ export namespace redis_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4990,11 +5059,11 @@ export namespace redis_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5027,8 +5096,8 @@ export namespace redis_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/remotebuildexecution/index.ts b/src/apis/remotebuildexecution/index.ts index a24552850be..13c5a7fc257 100644 --- a/src/apis/remotebuildexecution/index.ts +++ b/src/apis/remotebuildexecution/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/remotebuildexecution/package.json b/src/apis/remotebuildexecution/package.json index 45817112624..87eeb8a23ce 100644 --- a/src/apis/remotebuildexecution/package.json +++ b/src/apis/remotebuildexecution/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/remotebuildexecution/v1.ts b/src/apis/remotebuildexecution/v1.ts index 54b131b5377..8005dfe1d84 100644 --- a/src/apis/remotebuildexecution/v1.ts +++ b/src/apis/remotebuildexecution/v1.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1412,11 +1412,11 @@ export namespace remotebuildexecution_v1 { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -1451,8 +1451,8 @@ export namespace remotebuildexecution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1560,11 +1560,11 @@ export namespace remotebuildexecution_v1 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -1597,8 +1597,8 @@ export namespace remotebuildexecution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1742,11 +1742,11 @@ export namespace remotebuildexecution_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1777,8 +1777,8 @@ export namespace remotebuildexecution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1870,11 +1870,11 @@ export namespace remotebuildexecution_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1905,8 +1905,8 @@ export namespace remotebuildexecution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2007,11 +2007,11 @@ export namespace remotebuildexecution_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2046,8 +2046,8 @@ export namespace remotebuildexecution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2200,11 +2200,11 @@ export namespace remotebuildexecution_v1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2239,8 +2239,8 @@ export namespace remotebuildexecution_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/remotebuildexecution/v1alpha.ts b/src/apis/remotebuildexecution/v1alpha.ts index b13131cbc1c..7735722796b 100644 --- a/src/apis/remotebuildexecution/v1alpha.ts +++ b/src/apis/remotebuildexecution/v1alpha.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1407,11 +1407,11 @@ export namespace remotebuildexecution_v1alpha { create( params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1446,8 +1446,8 @@ export namespace remotebuildexecution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1548,11 +1548,11 @@ export namespace remotebuildexecution_v1alpha { delete( params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1587,8 +1587,8 @@ export namespace remotebuildexecution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1686,11 +1686,11 @@ export namespace remotebuildexecution_v1alpha { get( params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1725,8 +1725,8 @@ export namespace remotebuildexecution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1822,11 +1822,11 @@ export namespace remotebuildexecution_v1alpha { list( params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1861,8 +1861,8 @@ export namespace remotebuildexecution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1983,11 +1983,11 @@ export namespace remotebuildexecution_v1alpha { patch( params: Params$Resource$Projects$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2022,8 +2022,8 @@ export namespace remotebuildexecution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2196,11 +2196,11 @@ export namespace remotebuildexecution_v1alpha { create( params: Params$Resource$Projects$Instances$Workerpools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Workerpools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Workerpools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2235,8 +2235,8 @@ export namespace remotebuildexecution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Workerpools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2337,11 +2337,11 @@ export namespace remotebuildexecution_v1alpha { delete( params: Params$Resource$Projects$Instances$Workerpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Workerpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Workerpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2376,8 +2376,8 @@ export namespace remotebuildexecution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Workerpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2476,11 +2476,11 @@ export namespace remotebuildexecution_v1alpha { get( params: Params$Resource$Projects$Instances$Workerpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Workerpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Workerpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2515,8 +2515,8 @@ export namespace remotebuildexecution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Workerpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2614,11 +2614,11 @@ export namespace remotebuildexecution_v1alpha { list( params: Params$Resource$Projects$Instances$Workerpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Workerpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Workerpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2653,8 +2653,8 @@ export namespace remotebuildexecution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Workerpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2766,11 +2766,11 @@ export namespace remotebuildexecution_v1alpha { patch( params: Params$Resource$Projects$Instances$Workerpools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Workerpools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Workerpools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2805,8 +2805,8 @@ export namespace remotebuildexecution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Workerpools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2961,11 +2961,11 @@ export namespace remotebuildexecution_v1alpha { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3000,8 +3000,8 @@ export namespace remotebuildexecution_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/remotebuildexecution/v2.ts b/src/apis/remotebuildexecution/v2.ts index 541bf890c3e..f6877361588 100644 --- a/src/apis/remotebuildexecution/v2.ts +++ b/src/apis/remotebuildexecution/v2.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1680,11 +1680,11 @@ export namespace remotebuildexecution_v2 { get( params: Params$Resource$Actionresults$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Actionresults$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Actionresults$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1719,8 +1719,8 @@ export namespace remotebuildexecution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Actionresults$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1852,11 +1852,11 @@ export namespace remotebuildexecution_v2 { update( params: Params$Resource$Actionresults$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Actionresults$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Actionresults$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1891,8 +1891,8 @@ export namespace remotebuildexecution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Actionresults$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2064,11 +2064,11 @@ export namespace remotebuildexecution_v2 { execute( params: Params$Resource$Actions$Execute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; execute( params?: Params$Resource$Actions$Execute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; execute( params: Params$Resource$Actions$Execute, options: StreamMethodOptions | BodyResponseCallback, @@ -2103,8 +2103,8 @@ export namespace remotebuildexecution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Actions$Execute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2227,11 +2227,11 @@ export namespace remotebuildexecution_v2 { batchRead( params: Params$Resource$Blobs$Batchread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRead( params?: Params$Resource$Blobs$Batchread, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchRead( params: Params$Resource$Blobs$Batchread, options: StreamMethodOptions | BodyResponseCallback, @@ -2266,8 +2266,8 @@ export namespace remotebuildexecution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Blobs$Batchread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2373,11 +2373,11 @@ export namespace remotebuildexecution_v2 { batchUpdate( params: Params$Resource$Blobs$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Blobs$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Blobs$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -2412,8 +2412,8 @@ export namespace remotebuildexecution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Blobs$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2520,11 +2520,11 @@ export namespace remotebuildexecution_v2 { findMissing( params: Params$Resource$Blobs$Findmissing, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; findMissing( params?: Params$Resource$Blobs$Findmissing, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; findMissing( params: Params$Resource$Blobs$Findmissing, options: StreamMethodOptions | BodyResponseCallback, @@ -2559,8 +2559,8 @@ export namespace remotebuildexecution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Blobs$Findmissing; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2668,11 +2668,11 @@ export namespace remotebuildexecution_v2 { getTree( params: Params$Resource$Blobs$Gettree, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getTree( params?: Params$Resource$Blobs$Gettree, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getTree( params: Params$Resource$Blobs$Gettree, options: StreamMethodOptions | BodyResponseCallback, @@ -2707,8 +2707,8 @@ export namespace remotebuildexecution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Blobs$Gettree; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2880,11 +2880,11 @@ export namespace remotebuildexecution_v2 { waitExecution( params: Params$Resource$Operations$Waitexecution, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; waitExecution( params?: Params$Resource$Operations$Waitexecution, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; waitExecution( params: Params$Resource$Operations$Waitexecution, options: StreamMethodOptions | BodyResponseCallback, @@ -2919,8 +2919,8 @@ export namespace remotebuildexecution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Waitexecution; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3041,11 +3041,11 @@ export namespace remotebuildexecution_v2 { getCapabilities( params: Params$Resource$V2$Getcapabilities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCapabilities( params?: Params$Resource$V2$Getcapabilities, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getCapabilities( params: Params$Resource$V2$Getcapabilities, options: StreamMethodOptions | BodyResponseCallback, @@ -3080,8 +3080,8 @@ export namespace remotebuildexecution_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V2$Getcapabilities; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/reseller/index.ts b/src/apis/reseller/index.ts index 4cc2dc6de3a..ea1644cfab1 100644 --- a/src/apis/reseller/index.ts +++ b/src/apis/reseller/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/reseller/package.json b/src/apis/reseller/package.json index 9d7bca641cb..08cd4ce44fb 100644 --- a/src/apis/reseller/package.json +++ b/src/apis/reseller/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/reseller/v1.ts b/src/apis/reseller/v1.ts index ee4c30a4798..7c306c0ab5a 100644 --- a/src/apis/reseller/v1.ts +++ b/src/apis/reseller/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -428,11 +428,11 @@ export namespace reseller_v1 { get( params: Params$Resource$Customers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -461,7 +461,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -515,11 +518,11 @@ export namespace reseller_v1 { insert( params: Params$Resource$Customers$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Customers$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Customers$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -548,7 +551,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -602,11 +608,11 @@ export namespace reseller_v1 { patch( params: Params$Resource$Customers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -635,7 +641,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -689,11 +698,11 @@ export namespace reseller_v1 { update( params: Params$Resource$Customers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Customers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Customers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -722,7 +731,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -823,11 +835,13 @@ export namespace reseller_v1 { getwatchdetails( params: Params$Resource$Resellernotify$Getwatchdetails, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getwatchdetails( params?: Params$Resource$Resellernotify$Getwatchdetails, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getwatchdetails( params: Params$Resource$Resellernotify$Getwatchdetails, options: StreamMethodOptions | BodyResponseCallback, @@ -862,8 +876,10 @@ export namespace reseller_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resellernotify$Getwatchdetails; let options = (optionsOrCallback || {}) as MethodOptions; @@ -919,11 +935,11 @@ export namespace reseller_v1 { register( params: Params$Resource$Resellernotify$Register, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; register( params?: Params$Resource$Resellernotify$Register, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; register( params: Params$Resource$Resellernotify$Register, options: StreamMethodOptions | BodyResponseCallback, @@ -958,8 +974,8 @@ export namespace reseller_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resellernotify$Register; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1013,11 +1029,11 @@ export namespace reseller_v1 { unregister( params: Params$Resource$Resellernotify$Unregister, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unregister( params?: Params$Resource$Resellernotify$Unregister, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unregister( params: Params$Resource$Resellernotify$Unregister, options: StreamMethodOptions | BodyResponseCallback, @@ -1052,8 +1068,8 @@ export namespace reseller_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Resellernotify$Unregister; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1131,11 +1147,11 @@ export namespace reseller_v1 { activate( params: Params$Resource$Subscriptions$Activate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; activate( params?: Params$Resource$Subscriptions$Activate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; activate( params: Params$Resource$Subscriptions$Activate, options: StreamMethodOptions | BodyResponseCallback, @@ -1164,7 +1180,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Activate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1219,11 +1238,11 @@ export namespace reseller_v1 { changePlan( params: Params$Resource$Subscriptions$Changeplan, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; changePlan( params?: Params$Resource$Subscriptions$Changeplan, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; changePlan( params: Params$Resource$Subscriptions$Changeplan, options: StreamMethodOptions | BodyResponseCallback, @@ -1252,7 +1271,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Changeplan; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1307,11 +1329,11 @@ export namespace reseller_v1 { changeRenewalSettings( params: Params$Resource$Subscriptions$Changerenewalsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; changeRenewalSettings( params?: Params$Resource$Subscriptions$Changerenewalsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; changeRenewalSettings( params: Params$Resource$Subscriptions$Changerenewalsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1342,7 +1364,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Changerenewalsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1397,11 +1422,11 @@ export namespace reseller_v1 { changeSeats( params: Params$Resource$Subscriptions$Changeseats, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; changeSeats( params?: Params$Resource$Subscriptions$Changeseats, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; changeSeats( params: Params$Resource$Subscriptions$Changeseats, options: StreamMethodOptions | BodyResponseCallback, @@ -1430,7 +1455,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Changeseats; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1485,11 +1513,11 @@ export namespace reseller_v1 { delete( params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Subscriptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1516,7 +1544,10 @@ export namespace reseller_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1571,11 +1602,11 @@ export namespace reseller_v1 { get( params: Params$Resource$Subscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Subscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Subscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1604,7 +1635,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1659,11 +1693,11 @@ export namespace reseller_v1 { insert( params: Params$Resource$Subscriptions$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Subscriptions$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Subscriptions$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1692,7 +1726,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1746,11 +1783,11 @@ export namespace reseller_v1 { list( params: Params$Resource$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1779,7 +1816,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1834,11 +1874,11 @@ export namespace reseller_v1 { startPaidService( params: Params$Resource$Subscriptions$Startpaidservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startPaidService( params?: Params$Resource$Subscriptions$Startpaidservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startPaidService( params: Params$Resource$Subscriptions$Startpaidservice, options: StreamMethodOptions | BodyResponseCallback, @@ -1867,7 +1907,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Startpaidservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1922,11 +1965,11 @@ export namespace reseller_v1 { suspend( params: Params$Resource$Subscriptions$Suspend, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params?: Params$Resource$Subscriptions$Suspend, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; suspend( params: Params$Resource$Subscriptions$Suspend, options: StreamMethodOptions | BodyResponseCallback, @@ -1955,7 +1998,10 @@ export namespace reseller_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Suspend; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2088,7 +2134,7 @@ export namespace reseller_v1 { export interface Params$Resource$Subscriptions$Insert extends StandardParameters { /** - * The intented insert action. The usage of this field is governed by certain policies which are being developed & tested currently. Hence, these might not work as intended. Once this is fully tested & available to consume, we will share more information about its usage, limitations and policy documentation. + * The intented insert action. Advised to set this when the customer already has a subscription for a different SKU in the same product. */ action?: string; /** @@ -2100,7 +2146,7 @@ export namespace reseller_v1 { */ customerId?: string; /** - * The sku_id of the existing subscription to be upgraded or downgraded. This is required when action is SWITCH. The usage of this field is governed by certain policies which are being developed & tested currently. Hence, these might not work as intended. Once this is fully tested & available to consume, we will share more information about its usage, limitations and policy documentation. + * The sku_id of the existing subscription to be upgraded or downgraded. This is required when action is SWITCH. */ sourceSkuId?: string; diff --git a/src/apis/resourcesettings/index.ts b/src/apis/resourcesettings/index.ts index 855e12b8d63..70cbd522324 100644 --- a/src/apis/resourcesettings/index.ts +++ b/src/apis/resourcesettings/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/resourcesettings/package.json b/src/apis/resourcesettings/package.json index 06b9f225701..ae262821229 100644 --- a/src/apis/resourcesettings/package.json +++ b/src/apis/resourcesettings/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/resourcesettings/v1.ts b/src/apis/resourcesettings/v1.ts index e19632c3da0..6eafe8a742c 100644 --- a/src/apis/resourcesettings/v1.ts +++ b/src/apis/resourcesettings/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -274,11 +274,11 @@ export namespace resourcesettings_v1 { get( params: Params$Resource$Folders$Settings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Settings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Settings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -313,8 +313,8 @@ export namespace resourcesettings_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Settings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -369,11 +369,11 @@ export namespace resourcesettings_v1 { list( params: Params$Resource$Folders$Settings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Settings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Settings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -408,8 +408,8 @@ export namespace resourcesettings_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Settings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -467,11 +467,11 @@ export namespace resourcesettings_v1 { patch( params: Params$Resource$Folders$Settings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Settings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Settings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -506,8 +506,8 @@ export namespace resourcesettings_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Settings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -621,11 +621,11 @@ export namespace resourcesettings_v1 { get( params: Params$Resource$Organizations$Settings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Settings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Settings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -660,8 +660,8 @@ export namespace resourcesettings_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Settings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -716,11 +716,11 @@ export namespace resourcesettings_v1 { list( params: Params$Resource$Organizations$Settings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Settings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Settings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -755,8 +755,8 @@ export namespace resourcesettings_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Settings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -814,11 +814,11 @@ export namespace resourcesettings_v1 { patch( params: Params$Resource$Organizations$Settings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Settings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Settings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -853,8 +853,8 @@ export namespace resourcesettings_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Settings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -968,11 +968,11 @@ export namespace resourcesettings_v1 { get( params: Params$Resource$Projects$Settings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Settings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Settings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1007,8 +1007,8 @@ export namespace resourcesettings_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Settings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1063,11 +1063,11 @@ export namespace resourcesettings_v1 { list( params: Params$Resource$Projects$Settings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Settings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Settings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1102,8 +1102,8 @@ export namespace resourcesettings_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Settings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1161,11 +1161,11 @@ export namespace resourcesettings_v1 { patch( params: Params$Resource$Projects$Settings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Settings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Settings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1200,8 +1200,8 @@ export namespace resourcesettings_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Settings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/retail/index.ts b/src/apis/retail/index.ts index 1c1615fbd6f..98bbdb541e9 100644 --- a/src/apis/retail/index.ts +++ b/src/apis/retail/index.ts @@ -56,7 +56,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/retail/package.json b/src/apis/retail/package.json index a1e687fd022..522abf80bba 100644 --- a/src/apis/retail/package.json +++ b/src/apis/retail/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/retail/v2.ts b/src/apis/retail/v2.ts index d4af074ca73..30b65713349 100644 --- a/src/apis/retail/v2.ts +++ b/src/apis/retail/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -596,7 +596,11 @@ export namespace retail_v2 { */ export interface Schema$GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter { /** - * Merchant Center primary feed ID. + * AFM data source ID. + */ + dataSourceId?: string | null; + /** + * Merchant Center primary feed ID. Deprecated: use data_source_id instead. */ primaryFeedId?: string | null; /** @@ -2225,10 +2229,6 @@ export namespace retail_v2 { attributes?: { [key: string]: Schema$GoogleCloudRetailV2CustomAttribute; } | null; - /** - * Optional. The availability of the Product at this place_id. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered "in stock" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability). This field is currently only used by the Recommendations API. For Search, please make use of fulfillment_types or custom attributes for similar behaviour. See [here]( https://cloud.google.com/retail/docs/local-inventory-updates#local-inventory-update-methods) for more details. - */ - availability?: string | null; /** * Optional. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned. */ @@ -4162,11 +4162,13 @@ export namespace retail_v2 { completeQuery( params: Params$Resource$Projects$Locations$Catalogs$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Catalogs$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Catalogs$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -4201,8 +4203,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4260,11 +4264,11 @@ export namespace retail_v2 { exportAnalyticsMetrics( params: Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportAnalyticsMetrics( params?: Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportAnalyticsMetrics( params: Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -4299,8 +4303,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4356,11 +4360,13 @@ export namespace retail_v2 { getAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Getattributesconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAttributesConfig( params?: Params$Resource$Projects$Locations$Catalogs$Getattributesconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Getattributesconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4395,8 +4401,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getattributesconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4451,11 +4459,13 @@ export namespace retail_v2 { getCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCompletionConfig( params?: Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4490,8 +4500,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4546,11 +4558,13 @@ export namespace retail_v2 { getDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDefaultBranch( params?: Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch, options: StreamMethodOptions | BodyResponseCallback, @@ -4585,8 +4599,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4644,11 +4660,13 @@ export namespace retail_v2 { getGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGenerativeQuestionFeature( params?: Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature, options: StreamMethodOptions | BodyResponseCallback, @@ -4683,8 +4701,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4742,11 +4762,13 @@ export namespace retail_v2 { list( params: Params$Resource$Projects$Locations$Catalogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4781,8 +4803,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4839,11 +4863,11 @@ export namespace retail_v2 { patch( params: Params$Resource$Projects$Locations$Catalogs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4878,8 +4902,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4931,11 +4955,11 @@ export namespace retail_v2 { setDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultBranch( params?: Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch, options: StreamMethodOptions | BodyResponseCallback, @@ -4968,8 +4992,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5025,11 +5049,13 @@ export namespace retail_v2 { updateAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAttributesConfig( params?: Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5064,8 +5090,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5120,11 +5148,13 @@ export namespace retail_v2 { updateCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCompletionConfig( params?: Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5159,8 +5189,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5215,11 +5247,13 @@ export namespace retail_v2 { updateGenerativeQuestion( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGenerativeQuestion( params?: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateGenerativeQuestion( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion, options: StreamMethodOptions | BodyResponseCallback, @@ -5254,8 +5288,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5313,11 +5349,13 @@ export namespace retail_v2 { updateGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGenerativeQuestionFeature( params?: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature, options: StreamMethodOptions | BodyResponseCallback, @@ -5352,8 +5390,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5605,11 +5645,13 @@ export namespace retail_v2 { addCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addCatalogAttribute( params?: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute, options: StreamMethodOptions | BodyResponseCallback, @@ -5644,8 +5686,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5702,11 +5746,13 @@ export namespace retail_v2 { removeCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeCatalogAttribute( params?: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute, options: StreamMethodOptions | BodyResponseCallback, @@ -5741,8 +5787,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5799,11 +5847,13 @@ export namespace retail_v2 { replaceCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceCatalogAttribute( params?: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; replaceCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute, options: StreamMethodOptions | BodyResponseCallback, @@ -5838,8 +5888,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5957,11 +6009,11 @@ export namespace retail_v2 { get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5996,8 +6048,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6065,11 +6117,11 @@ export namespace retail_v2 { addFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addFulfillmentPlaces( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces, options: StreamMethodOptions | BodyResponseCallback, @@ -6104,8 +6156,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6161,11 +6213,11 @@ export namespace retail_v2 { addLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addLocalInventories( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories, options: StreamMethodOptions | BodyResponseCallback, @@ -6200,8 +6252,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6257,11 +6309,11 @@ export namespace retail_v2 { create( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6296,8 +6348,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6353,11 +6405,11 @@ export namespace retail_v2 { delete( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6388,8 +6440,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6442,11 +6494,11 @@ export namespace retail_v2 { get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6481,8 +6533,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6535,11 +6587,11 @@ export namespace retail_v2 { import( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -6574,8 +6626,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6631,11 +6683,13 @@ export namespace retail_v2 { list( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6670,8 +6724,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6729,11 +6785,11 @@ export namespace retail_v2 { patch( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6768,8 +6824,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6822,11 +6878,11 @@ export namespace retail_v2 { purge( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -6861,8 +6917,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6918,11 +6974,11 @@ export namespace retail_v2 { removeFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeFulfillmentPlaces( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces, options: StreamMethodOptions | BodyResponseCallback, @@ -6957,8 +7013,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7014,11 +7070,11 @@ export namespace retail_v2 { removeLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeLocalInventories( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories, options: StreamMethodOptions | BodyResponseCallback, @@ -7053,8 +7109,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7110,11 +7166,11 @@ export namespace retail_v2 { setInventory( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setInventory( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setInventory( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory, options: StreamMethodOptions | BodyResponseCallback, @@ -7149,8 +7205,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7371,11 +7427,11 @@ export namespace retail_v2 { import( params: Params$Resource$Projects$Locations$Catalogs$Completiondata$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Catalogs$Completiondata$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Catalogs$Completiondata$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -7410,8 +7466,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Completiondata$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7487,11 +7543,11 @@ export namespace retail_v2 { create( params: Params$Resource$Projects$Locations$Catalogs$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7526,8 +7582,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7583,11 +7639,11 @@ export namespace retail_v2 { delete( params: Params$Resource$Projects$Locations$Catalogs$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7618,8 +7674,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7672,11 +7728,11 @@ export namespace retail_v2 { get( params: Params$Resource$Projects$Locations$Catalogs$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7711,8 +7767,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7764,11 +7820,13 @@ export namespace retail_v2 { list( params: Params$Resource$Projects$Locations$Catalogs$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7803,8 +7861,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7862,11 +7922,11 @@ export namespace retail_v2 { patch( params: Params$Resource$Projects$Locations$Catalogs$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7901,8 +7961,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8028,11 +8088,13 @@ export namespace retail_v2 { batchUpdate( params: Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -8067,8 +8129,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8145,11 +8209,13 @@ export namespace retail_v2 { list( params: Params$Resource$Projects$Locations$Catalogs$Generativequestions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Generativequestions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Generativequestions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8184,8 +8250,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Generativequestions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8258,11 +8326,11 @@ export namespace retail_v2 { create( params: Params$Resource$Projects$Locations$Catalogs$Models$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Models$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Models$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8297,8 +8365,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8354,11 +8422,11 @@ export namespace retail_v2 { delete( params: Params$Resource$Projects$Locations$Catalogs$Models$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Models$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Models$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8389,8 +8457,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8443,11 +8511,11 @@ export namespace retail_v2 { get( params: Params$Resource$Projects$Locations$Catalogs$Models$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Models$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Models$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8480,8 +8548,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8533,11 +8601,13 @@ export namespace retail_v2 { list( params: Params$Resource$Projects$Locations$Catalogs$Models$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Models$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Models$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8572,8 +8642,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8630,11 +8702,11 @@ export namespace retail_v2 { patch( params: Params$Resource$Projects$Locations$Catalogs$Models$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Models$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Models$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8669,8 +8741,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8722,11 +8794,11 @@ export namespace retail_v2 { pause( params: Params$Resource$Projects$Locations$Catalogs$Models$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Catalogs$Models$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Catalogs$Models$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -8761,8 +8833,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8814,11 +8886,11 @@ export namespace retail_v2 { resume( params: Params$Resource$Projects$Locations$Catalogs$Models$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Catalogs$Models$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Catalogs$Models$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -8853,8 +8925,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8907,11 +8979,11 @@ export namespace retail_v2 { tune( params: Params$Resource$Projects$Locations$Catalogs$Models$Tune, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; tune( params?: Params$Resource$Projects$Locations$Catalogs$Models$Tune, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; tune( params: Params$Resource$Projects$Locations$Catalogs$Models$Tune, options: StreamMethodOptions | BodyResponseCallback, @@ -8946,8 +9018,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Tune; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9104,11 +9176,11 @@ export namespace retail_v2 { get( params: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9143,8 +9215,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9197,11 +9269,13 @@ export namespace retail_v2 { list( params: Params$Resource$Projects$Locations$Catalogs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9236,8 +9310,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9329,11 +9405,13 @@ export namespace retail_v2 { predict( params: Params$Resource$Projects$Locations$Catalogs$Placements$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Locations$Catalogs$Placements$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Projects$Locations$Catalogs$Placements$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -9368,8 +9446,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Placements$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9427,11 +9507,13 @@ export namespace retail_v2 { search( params: Params$Resource$Projects$Locations$Catalogs$Placements$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Catalogs$Placements$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Catalogs$Placements$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -9466,8 +9548,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Placements$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9557,11 +9641,13 @@ export namespace retail_v2 { addControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addControl( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol, options: StreamMethodOptions | BodyResponseCallback, @@ -9596,8 +9682,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9655,11 +9743,13 @@ export namespace retail_v2 { create( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9694,8 +9784,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9753,11 +9845,11 @@ export namespace retail_v2 { delete( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9788,8 +9880,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9842,11 +9934,13 @@ export namespace retail_v2 { get( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9881,8 +9975,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9937,11 +10033,13 @@ export namespace retail_v2 { list( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9976,8 +10074,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10035,11 +10135,13 @@ export namespace retail_v2 { patch( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10074,8 +10176,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10130,11 +10234,13 @@ export namespace retail_v2 { predict( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -10169,8 +10275,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10228,11 +10336,13 @@ export namespace retail_v2 { removeControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeControl( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol, options: StreamMethodOptions | BodyResponseCallback, @@ -10267,8 +10377,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10326,11 +10438,13 @@ export namespace retail_v2 { search( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -10365,8 +10479,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10541,11 +10657,11 @@ export namespace retail_v2 { collect( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -10576,8 +10692,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10633,11 +10749,11 @@ export namespace retail_v2 { import( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -10672,8 +10788,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10729,11 +10845,11 @@ export namespace retail_v2 { purge( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -10768,8 +10884,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10825,11 +10941,11 @@ export namespace retail_v2 { rejoin( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rejoin( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rejoin( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin, options: StreamMethodOptions | BodyResponseCallback, @@ -10864,8 +10980,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10921,11 +11037,11 @@ export namespace retail_v2 { write( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; write( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -10960,8 +11076,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11091,11 +11207,11 @@ export namespace retail_v2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11130,8 +11246,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11183,11 +11299,13 @@ export namespace retail_v2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11222,8 +11340,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11314,11 +11434,11 @@ export namespace retail_v2 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11353,8 +11473,8 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11406,11 +11526,13 @@ export namespace retail_v2 { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11445,8 +11567,10 @@ export namespace retail_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/retail/v2alpha.ts b/src/apis/retail/v2alpha.ts index 294ab540347..31dec732b93 100644 --- a/src/apis/retail/v2alpha.ts +++ b/src/apis/retail/v2alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1070,10 +1070,6 @@ export namespace retail_v2alpha { * The proposed refined search queries. They can be used to fetch the relevant search results. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here. */ refinedSearch?: Schema$GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch[]; - /** - * This field is deprecated. Please find the refinded_query from search response when using CONVERSATIONAL_FILTER_ONLY mode in ConversationalSearchResponse.refined_search instead. The rephrased query based on the user's query and the conversation history. It can be used to fetch the relevant search results. - */ - rephrasedQuery?: string | null; } /** * This field specifies all related information that is needed on client side for UI rendering of conversational filtering search. @@ -1836,7 +1832,11 @@ export namespace retail_v2alpha { */ export interface Schema$GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter { /** - * Merchant Center primary feed ID. + * AFM data source ID. + */ + dataSourceId?: string | null; + /** + * Merchant Center primary feed ID. Deprecated: use data_source_id instead. */ primaryFeedId?: string | null; /** @@ -1849,7 +1849,11 @@ export namespace retail_v2alpha { */ export interface Schema$GoogleCloudRetailV2alphaMerchantCenterFeedFilter { /** - * Merchant Center primary feed ID. + * AFM data source ID. + */ + dataSourceId?: string | null; + /** + * Merchant Center primary feed ID. Deprecated: use data_source_id instead. */ primaryFeedId?: string | null; /** @@ -4609,11 +4613,11 @@ export namespace retail_v2alpha { enrollSolution( params: Params$Resource$Projects$Enrollsolution, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enrollSolution( params?: Params$Resource$Projects$Enrollsolution, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enrollSolution( params: Params$Resource$Projects$Enrollsolution, options: StreamMethodOptions | BodyResponseCallback, @@ -4648,8 +4652,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Enrollsolution; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4704,11 +4708,13 @@ export namespace retail_v2alpha { getAlertConfig( params: Params$Resource$Projects$Getalertconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAlertConfig( params?: Params$Resource$Projects$Getalertconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAlertConfig( params: Params$Resource$Projects$Getalertconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4743,8 +4749,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getalertconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4798,11 +4806,13 @@ export namespace retail_v2alpha { getLoggingConfig( params: Params$Resource$Projects$Getloggingconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLoggingConfig( params?: Params$Resource$Projects$Getloggingconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getLoggingConfig( params: Params$Resource$Projects$Getloggingconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4837,8 +4847,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getloggingconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4892,11 +4904,11 @@ export namespace retail_v2alpha { getRetailProject( params: Params$Resource$Projects$Getretailproject, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRetailProject( params?: Params$Resource$Projects$Getretailproject, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRetailProject( params: Params$Resource$Projects$Getretailproject, options: StreamMethodOptions | BodyResponseCallback, @@ -4931,8 +4943,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getretailproject; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4986,11 +4998,13 @@ export namespace retail_v2alpha { listEnrolledSolutions( params: Params$Resource$Projects$Listenrolledsolutions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listEnrolledSolutions( params?: Params$Resource$Projects$Listenrolledsolutions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listEnrolledSolutions( params: Params$Resource$Projects$Listenrolledsolutions, options: StreamMethodOptions | BodyResponseCallback, @@ -5025,8 +5039,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Listenrolledsolutions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5083,11 +5099,13 @@ export namespace retail_v2alpha { updateAlertConfig( params: Params$Resource$Projects$Updatealertconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAlertConfig( params?: Params$Resource$Projects$Updatealertconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateAlertConfig( params: Params$Resource$Projects$Updatealertconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5122,8 +5140,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatealertconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5177,11 +5197,13 @@ export namespace retail_v2alpha { updateLoggingConfig( params: Params$Resource$Projects$Updateloggingconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateLoggingConfig( params?: Params$Resource$Projects$Updateloggingconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateLoggingConfig( params: Params$Resource$Projects$Updateloggingconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5216,8 +5238,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updateloggingconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5412,11 +5436,13 @@ export namespace retail_v2alpha { completeQuery( params: Params$Resource$Projects$Locations$Catalogs$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Catalogs$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Catalogs$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -5451,8 +5477,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5510,11 +5538,11 @@ export namespace retail_v2alpha { exportAnalyticsMetrics( params: Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportAnalyticsMetrics( params?: Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportAnalyticsMetrics( params: Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -5549,8 +5577,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5605,11 +5633,13 @@ export namespace retail_v2alpha { getAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Getattributesconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAttributesConfig( params?: Params$Resource$Projects$Locations$Catalogs$Getattributesconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Getattributesconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5644,8 +5674,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getattributesconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5700,11 +5732,13 @@ export namespace retail_v2alpha { getCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCompletionConfig( params?: Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5739,8 +5773,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5795,11 +5831,13 @@ export namespace retail_v2alpha { getDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDefaultBranch( params?: Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch, options: StreamMethodOptions | BodyResponseCallback, @@ -5834,8 +5872,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5893,11 +5933,13 @@ export namespace retail_v2alpha { getGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGenerativeQuestionFeature( params?: Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature, options: StreamMethodOptions | BodyResponseCallback, @@ -5932,8 +5974,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5990,11 +6034,13 @@ export namespace retail_v2alpha { list( params: Params$Resource$Projects$Locations$Catalogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6029,8 +6075,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6087,11 +6135,11 @@ export namespace retail_v2alpha { patch( params: Params$Resource$Projects$Locations$Catalogs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6126,8 +6174,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6181,11 +6229,11 @@ export namespace retail_v2alpha { setDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultBranch( params?: Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch, options: StreamMethodOptions | BodyResponseCallback, @@ -6218,8 +6266,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6275,11 +6323,13 @@ export namespace retail_v2alpha { updateAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAttributesConfig( params?: Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -6314,8 +6364,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6370,11 +6422,13 @@ export namespace retail_v2alpha { updateCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCompletionConfig( params?: Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -6409,8 +6463,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6465,11 +6521,13 @@ export namespace retail_v2alpha { updateGenerativeQuestion( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGenerativeQuestion( params?: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateGenerativeQuestion( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion, options: StreamMethodOptions | BodyResponseCallback, @@ -6504,8 +6562,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6563,11 +6623,13 @@ export namespace retail_v2alpha { updateGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGenerativeQuestionFeature( params?: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature, options: StreamMethodOptions | BodyResponseCallback, @@ -6602,8 +6664,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6854,11 +6918,13 @@ export namespace retail_v2alpha { addCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addCatalogAttribute( params?: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute, options: StreamMethodOptions | BodyResponseCallback, @@ -6893,8 +6959,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6951,11 +7019,13 @@ export namespace retail_v2alpha { batchRemoveCatalogAttributes( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Batchremovecatalogattributes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRemoveCatalogAttributes( params?: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Batchremovecatalogattributes, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchRemoveCatalogAttributes( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Batchremovecatalogattributes, options: StreamMethodOptions | BodyResponseCallback, @@ -6990,8 +7060,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Batchremovecatalogattributes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7049,11 +7121,13 @@ export namespace retail_v2alpha { removeCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeCatalogAttribute( params?: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute, options: StreamMethodOptions | BodyResponseCallback, @@ -7088,8 +7162,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7146,11 +7222,13 @@ export namespace retail_v2alpha { replaceCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceCatalogAttribute( params?: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; replaceCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute, options: StreamMethodOptions | BodyResponseCallback, @@ -7185,8 +7263,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7313,11 +7393,11 @@ export namespace retail_v2alpha { get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7352,8 +7432,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7407,11 +7487,13 @@ export namespace retail_v2alpha { list( params: Params$Resource$Projects$Locations$Catalogs$Branches$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Branches$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Branches$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7446,8 +7528,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7535,11 +7619,11 @@ export namespace retail_v2alpha { get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7574,8 +7658,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7655,11 +7739,11 @@ export namespace retail_v2alpha { get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Places$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Places$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Places$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7694,8 +7778,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Places$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7763,11 +7847,11 @@ export namespace retail_v2alpha { addFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addFulfillmentPlaces( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces, options: StreamMethodOptions | BodyResponseCallback, @@ -7802,8 +7886,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7859,11 +7943,11 @@ export namespace retail_v2alpha { addLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addLocalInventories( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories, options: StreamMethodOptions | BodyResponseCallback, @@ -7898,8 +7982,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7955,11 +8039,11 @@ export namespace retail_v2alpha { create( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7994,8 +8078,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8053,11 +8137,11 @@ export namespace retail_v2alpha { delete( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8088,8 +8172,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8142,11 +8226,11 @@ export namespace retail_v2alpha { export( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -8181,8 +8265,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8238,11 +8322,11 @@ export namespace retail_v2alpha { get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8277,8 +8361,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8333,11 +8417,11 @@ export namespace retail_v2alpha { import( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -8372,8 +8456,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8429,11 +8513,13 @@ export namespace retail_v2alpha { list( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8468,8 +8554,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8527,11 +8615,11 @@ export namespace retail_v2alpha { patch( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8566,8 +8654,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8622,11 +8710,11 @@ export namespace retail_v2alpha { purge( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -8661,8 +8749,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8718,11 +8806,11 @@ export namespace retail_v2alpha { removeFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeFulfillmentPlaces( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces, options: StreamMethodOptions | BodyResponseCallback, @@ -8757,8 +8845,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8813,11 +8901,11 @@ export namespace retail_v2alpha { removeLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeLocalInventories( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories, options: StreamMethodOptions | BodyResponseCallback, @@ -8852,8 +8940,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8908,11 +8996,11 @@ export namespace retail_v2alpha { setInventory( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setInventory( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setInventory( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory, options: StreamMethodOptions | BodyResponseCallback, @@ -8947,8 +9035,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9189,11 +9277,11 @@ export namespace retail_v2alpha { import( params: Params$Resource$Projects$Locations$Catalogs$Completiondata$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Catalogs$Completiondata$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Catalogs$Completiondata$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -9228,8 +9316,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Completiondata$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9305,11 +9393,11 @@ export namespace retail_v2alpha { create( params: Params$Resource$Projects$Locations$Catalogs$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9344,8 +9432,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9403,11 +9491,11 @@ export namespace retail_v2alpha { delete( params: Params$Resource$Projects$Locations$Catalogs$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9438,8 +9526,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9492,11 +9580,11 @@ export namespace retail_v2alpha { get( params: Params$Resource$Projects$Locations$Catalogs$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9531,8 +9619,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9586,11 +9674,13 @@ export namespace retail_v2alpha { list( params: Params$Resource$Projects$Locations$Catalogs$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9625,8 +9715,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9684,11 +9776,11 @@ export namespace retail_v2alpha { patch( params: Params$Resource$Projects$Locations$Catalogs$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9723,8 +9815,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9852,11 +9944,13 @@ export namespace retail_v2alpha { batchUpdate( params: Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -9891,8 +9985,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9969,11 +10065,13 @@ export namespace retail_v2alpha { list( params: Params$Resource$Projects$Locations$Catalogs$Generativequestions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Generativequestions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Generativequestions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10008,8 +10106,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Generativequestions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10082,11 +10182,11 @@ export namespace retail_v2alpha { create( params: Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10121,8 +10221,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10177,11 +10277,11 @@ export namespace retail_v2alpha { delete( params: Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10212,8 +10312,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10266,11 +10366,13 @@ export namespace retail_v2alpha { list( params: Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10305,8 +10407,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Merchantcenteraccountlinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10397,11 +10501,11 @@ export namespace retail_v2alpha { create( params: Params$Resource$Projects$Locations$Catalogs$Models$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Models$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Models$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10436,8 +10540,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10493,11 +10597,11 @@ export namespace retail_v2alpha { delete( params: Params$Resource$Projects$Locations$Catalogs$Models$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Models$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Models$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10528,8 +10632,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10582,11 +10686,11 @@ export namespace retail_v2alpha { get( params: Params$Resource$Projects$Locations$Catalogs$Models$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Models$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Models$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10621,8 +10725,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10676,11 +10780,13 @@ export namespace retail_v2alpha { list( params: Params$Resource$Projects$Locations$Catalogs$Models$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Models$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Models$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10715,8 +10821,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10773,11 +10881,11 @@ export namespace retail_v2alpha { patch( params: Params$Resource$Projects$Locations$Catalogs$Models$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Models$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Models$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10812,8 +10920,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10867,11 +10975,11 @@ export namespace retail_v2alpha { pause( params: Params$Resource$Projects$Locations$Catalogs$Models$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Catalogs$Models$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Catalogs$Models$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -10906,8 +11014,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10964,11 +11072,11 @@ export namespace retail_v2alpha { resume( params: Params$Resource$Projects$Locations$Catalogs$Models$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Catalogs$Models$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Catalogs$Models$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -11003,8 +11111,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11062,11 +11170,11 @@ export namespace retail_v2alpha { tune( params: Params$Resource$Projects$Locations$Catalogs$Models$Tune, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; tune( params?: Params$Resource$Projects$Locations$Catalogs$Models$Tune, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; tune( params: Params$Resource$Projects$Locations$Catalogs$Models$Tune, options: StreamMethodOptions | BodyResponseCallback, @@ -11101,8 +11209,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Tune; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11262,11 +11370,11 @@ export namespace retail_v2alpha { get( params: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11301,8 +11409,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11355,11 +11463,13 @@ export namespace retail_v2alpha { list( params: Params$Resource$Projects$Locations$Catalogs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11394,8 +11504,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11487,11 +11599,13 @@ export namespace retail_v2alpha { conversationalSearch( params: Params$Resource$Projects$Locations$Catalogs$Placements$Conversationalsearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; conversationalSearch( params?: Params$Resource$Projects$Locations$Catalogs$Placements$Conversationalsearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; conversationalSearch( params: Params$Resource$Projects$Locations$Catalogs$Placements$Conversationalsearch, options: StreamMethodOptions | BodyResponseCallback, @@ -11526,8 +11640,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Placements$Conversationalsearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11584,11 +11700,13 @@ export namespace retail_v2alpha { predict( params: Params$Resource$Projects$Locations$Catalogs$Placements$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Locations$Catalogs$Placements$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Projects$Locations$Catalogs$Placements$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -11623,8 +11741,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Placements$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11682,11 +11802,13 @@ export namespace retail_v2alpha { search( params: Params$Resource$Projects$Locations$Catalogs$Placements$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Catalogs$Placements$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Catalogs$Placements$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -11721,8 +11843,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Placements$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11824,11 +11948,13 @@ export namespace retail_v2alpha { addControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addControl( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol, options: StreamMethodOptions | BodyResponseCallback, @@ -11863,8 +11989,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11922,11 +12050,13 @@ export namespace retail_v2alpha { conversationalSearch( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Conversationalsearch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; conversationalSearch( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Conversationalsearch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; conversationalSearch( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Conversationalsearch, options: StreamMethodOptions | BodyResponseCallback, @@ -11961,8 +12091,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Conversationalsearch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12019,11 +12151,13 @@ export namespace retail_v2alpha { create( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12058,8 +12192,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12117,11 +12253,11 @@ export namespace retail_v2alpha { delete( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12152,8 +12288,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12206,11 +12342,13 @@ export namespace retail_v2alpha { get( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12245,8 +12383,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12301,11 +12441,13 @@ export namespace retail_v2alpha { list( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12340,8 +12482,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12399,11 +12543,13 @@ export namespace retail_v2alpha { patch( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12438,8 +12584,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12494,11 +12642,13 @@ export namespace retail_v2alpha { predict( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -12533,8 +12683,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12592,11 +12744,13 @@ export namespace retail_v2alpha { removeControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeControl( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol, options: StreamMethodOptions | BodyResponseCallback, @@ -12631,8 +12785,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12690,11 +12846,13 @@ export namespace retail_v2alpha { search( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -12729,8 +12887,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12917,11 +13077,11 @@ export namespace retail_v2alpha { collect( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -12952,8 +13112,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13009,11 +13169,11 @@ export namespace retail_v2alpha { export( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -13048,8 +13208,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13105,11 +13265,11 @@ export namespace retail_v2alpha { import( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -13144,8 +13304,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13201,11 +13361,11 @@ export namespace retail_v2alpha { purge( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -13240,8 +13400,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13297,11 +13457,11 @@ export namespace retail_v2alpha { rejoin( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rejoin( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rejoin( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin, options: StreamMethodOptions | BodyResponseCallback, @@ -13336,8 +13496,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13393,11 +13553,13 @@ export namespace retail_v2alpha { write( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -13432,8 +13594,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13575,11 +13739,11 @@ export namespace retail_v2alpha { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13614,8 +13778,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13667,11 +13831,13 @@ export namespace retail_v2alpha { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13706,8 +13872,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13798,11 +13966,11 @@ export namespace retail_v2alpha { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13837,8 +14005,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13890,11 +14058,13 @@ export namespace retail_v2alpha { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13929,8 +14099,10 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14021,11 +14193,11 @@ export namespace retail_v2alpha { acceptTerms( params: Params$Resource$Projects$Retailproject$Acceptterms, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acceptTerms( params?: Params$Resource$Projects$Retailproject$Acceptterms, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; acceptTerms( params: Params$Resource$Projects$Retailproject$Acceptterms, options: StreamMethodOptions | BodyResponseCallback, @@ -14060,8 +14232,8 @@ export namespace retail_v2alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Retailproject$Acceptterms; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/retail/v2beta.ts b/src/apis/retail/v2beta.ts index 1d9c262f8c8..324bf5e1dd6 100644 --- a/src/apis/retail/v2beta.ts +++ b/src/apis/retail/v2beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -536,7 +536,11 @@ export namespace retail_v2beta { */ export interface Schema$GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter { /** - * Merchant Center primary feed ID. + * AFM data source ID. + */ + dataSourceId?: string | null; + /** + * Merchant Center primary feed ID. Deprecated: use data_source_id instead. */ primaryFeedId?: string | null; /** @@ -1962,10 +1966,6 @@ export namespace retail_v2beta { attributes?: { [key: string]: Schema$GoogleCloudRetailV2betaCustomAttribute; } | null; - /** - * Optional. The availability of the Product at this place_id. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered "in stock" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability). This field is currently only used by the Recommendations API. For Search, please make use of fulfillment_types or custom attributes for similar behaviour. See [here]( https://cloud.google.com/retail/docs/local-inventory-updates#local-inventory-update-methods) for more details. - */ - availability?: string | null; /** * Optional. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned. */ @@ -1984,7 +1984,11 @@ export namespace retail_v2beta { */ export interface Schema$GoogleCloudRetailV2betaMerchantCenterFeedFilter { /** - * Merchant Center primary feed ID. + * AFM data source ID. + */ + dataSourceId?: string | null; + /** + * Merchant Center primary feed ID. Deprecated: use data_source_id instead. */ primaryFeedId?: string | null; /** @@ -4253,11 +4257,13 @@ export namespace retail_v2beta { getAlertConfig( params: Params$Resource$Projects$Getalertconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAlertConfig( params?: Params$Resource$Projects$Getalertconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAlertConfig( params: Params$Resource$Projects$Getalertconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4292,8 +4298,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getalertconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4347,11 +4355,13 @@ export namespace retail_v2beta { updateAlertConfig( params: Params$Resource$Projects$Updatealertconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAlertConfig( params?: Params$Resource$Projects$Updatealertconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateAlertConfig( params: Params$Resource$Projects$Updatealertconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4386,8 +4396,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatealertconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4528,11 +4540,13 @@ export namespace retail_v2beta { completeQuery( params: Params$Resource$Projects$Locations$Catalogs$Completequery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; completeQuery( params?: Params$Resource$Projects$Locations$Catalogs$Completequery, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; completeQuery( params: Params$Resource$Projects$Locations$Catalogs$Completequery, options: StreamMethodOptions | BodyResponseCallback, @@ -4567,8 +4581,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Completequery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4626,11 +4642,11 @@ export namespace retail_v2beta { exportAnalyticsMetrics( params: Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportAnalyticsMetrics( params?: Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportAnalyticsMetrics( params: Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -4665,8 +4681,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Exportanalyticsmetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4721,11 +4737,13 @@ export namespace retail_v2beta { getAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Getattributesconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getAttributesConfig( params?: Params$Resource$Projects$Locations$Catalogs$Getattributesconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Getattributesconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4760,8 +4778,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getattributesconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4816,11 +4836,13 @@ export namespace retail_v2beta { getCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getCompletionConfig( params?: Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4855,8 +4877,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getcompletionconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4911,11 +4935,13 @@ export namespace retail_v2beta { getDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDefaultBranch( params?: Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch, options: StreamMethodOptions | BodyResponseCallback, @@ -4950,8 +4976,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getdefaultbranch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5009,11 +5037,13 @@ export namespace retail_v2beta { getGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGenerativeQuestionFeature( params?: Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature, options: StreamMethodOptions | BodyResponseCallback, @@ -5048,8 +5078,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Getgenerativequestionfeature; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5106,11 +5138,13 @@ export namespace retail_v2beta { list( params: Params$Resource$Projects$Locations$Catalogs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5145,8 +5179,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5203,11 +5239,11 @@ export namespace retail_v2beta { patch( params: Params$Resource$Projects$Locations$Catalogs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5242,8 +5278,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5297,11 +5333,11 @@ export namespace retail_v2beta { setDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultBranch( params?: Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setDefaultBranch( params: Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch, options: StreamMethodOptions | BodyResponseCallback, @@ -5334,8 +5370,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Setdefaultbranch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5391,11 +5427,13 @@ export namespace retail_v2beta { updateAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateAttributesConfig( params?: Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateAttributesConfig( params: Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5430,8 +5468,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updateattributesconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5486,11 +5526,13 @@ export namespace retail_v2beta { updateCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCompletionConfig( params?: Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateCompletionConfig( params: Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5525,8 +5567,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updatecompletionconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5581,11 +5625,13 @@ export namespace retail_v2beta { updateGenerativeQuestion( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGenerativeQuestion( params?: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateGenerativeQuestion( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion, options: StreamMethodOptions | BodyResponseCallback, @@ -5620,8 +5666,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updategenerativequestion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5679,11 +5727,13 @@ export namespace retail_v2beta { updateGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateGenerativeQuestionFeature( params?: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateGenerativeQuestionFeature( params: Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature, options: StreamMethodOptions | BodyResponseCallback, @@ -5718,8 +5768,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Updategenerativequestionfeature; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5970,11 +6022,13 @@ export namespace retail_v2beta { addCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addCatalogAttribute( params?: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute, options: StreamMethodOptions | BodyResponseCallback, @@ -6009,8 +6063,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Addcatalogattribute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6067,11 +6123,13 @@ export namespace retail_v2beta { batchRemoveCatalogAttributes( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Batchremovecatalogattributes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchRemoveCatalogAttributes( params?: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Batchremovecatalogattributes, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchRemoveCatalogAttributes( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Batchremovecatalogattributes, options: StreamMethodOptions | BodyResponseCallback, @@ -6106,8 +6164,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Batchremovecatalogattributes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6165,11 +6225,13 @@ export namespace retail_v2beta { removeCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeCatalogAttribute( params?: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute, options: StreamMethodOptions | BodyResponseCallback, @@ -6204,8 +6266,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Removecatalogattribute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6262,11 +6326,13 @@ export namespace retail_v2beta { replaceCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceCatalogAttribute( params?: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; replaceCatalogAttribute( params: Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute, options: StreamMethodOptions | BodyResponseCallback, @@ -6301,8 +6367,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Attributesconfig$Replacecatalogattribute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6432,11 +6500,11 @@ export namespace retail_v2beta { get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6471,8 +6539,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6540,11 +6608,11 @@ export namespace retail_v2beta { addFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addFulfillmentPlaces( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces, options: StreamMethodOptions | BodyResponseCallback, @@ -6579,8 +6647,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addfulfillmentplaces; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6636,11 +6704,11 @@ export namespace retail_v2beta { addLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addLocalInventories( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories, options: StreamMethodOptions | BodyResponseCallback, @@ -6675,8 +6743,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Addlocalinventories; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6732,11 +6800,11 @@ export namespace retail_v2beta { create( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6771,8 +6839,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6830,11 +6898,11 @@ export namespace retail_v2beta { delete( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6865,8 +6933,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6919,11 +6987,11 @@ export namespace retail_v2beta { export( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -6958,8 +7026,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7015,11 +7083,11 @@ export namespace retail_v2beta { get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7054,8 +7122,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7110,11 +7178,11 @@ export namespace retail_v2beta { import( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -7149,8 +7217,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7206,11 +7274,13 @@ export namespace retail_v2beta { list( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7245,8 +7315,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7304,11 +7376,11 @@ export namespace retail_v2beta { patch( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7343,8 +7415,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7399,11 +7471,11 @@ export namespace retail_v2beta { purge( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -7438,8 +7510,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7495,11 +7567,11 @@ export namespace retail_v2beta { removeFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeFulfillmentPlaces( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeFulfillmentPlaces( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces, options: StreamMethodOptions | BodyResponseCallback, @@ -7534,8 +7606,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removefulfillmentplaces; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7590,11 +7662,11 @@ export namespace retail_v2beta { removeLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeLocalInventories( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeLocalInventories( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories, options: StreamMethodOptions | BodyResponseCallback, @@ -7629,8 +7701,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Removelocalinventories; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7685,11 +7757,11 @@ export namespace retail_v2beta { setInventory( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setInventory( params?: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setInventory( params: Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory, options: StreamMethodOptions | BodyResponseCallback, @@ -7724,8 +7796,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Branches$Products$Setinventory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7958,11 +8030,11 @@ export namespace retail_v2beta { import( params: Params$Resource$Projects$Locations$Catalogs$Completiondata$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Catalogs$Completiondata$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Catalogs$Completiondata$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -7997,8 +8069,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Completiondata$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8074,11 +8146,11 @@ export namespace retail_v2beta { create( params: Params$Resource$Projects$Locations$Catalogs$Controls$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Controls$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8113,8 +8185,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8172,11 +8244,11 @@ export namespace retail_v2beta { delete( params: Params$Resource$Projects$Locations$Catalogs$Controls$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Controls$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8207,8 +8279,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8261,11 +8333,11 @@ export namespace retail_v2beta { get( params: Params$Resource$Projects$Locations$Catalogs$Controls$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Controls$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8300,8 +8372,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8355,11 +8427,13 @@ export namespace retail_v2beta { list( params: Params$Resource$Projects$Locations$Catalogs$Controls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Controls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Controls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8394,8 +8468,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8453,11 +8529,11 @@ export namespace retail_v2beta { patch( params: Params$Resource$Projects$Locations$Catalogs$Controls$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Controls$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Controls$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8492,8 +8568,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Controls$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8621,11 +8697,13 @@ export namespace retail_v2beta { batchUpdate( params: Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdate( params: Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -8660,8 +8738,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Generativequestion$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8738,11 +8818,13 @@ export namespace retail_v2beta { list( params: Params$Resource$Projects$Locations$Catalogs$Generativequestions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Generativequestions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Generativequestions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8777,8 +8859,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Generativequestions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8851,11 +8935,11 @@ export namespace retail_v2beta { create( params: Params$Resource$Projects$Locations$Catalogs$Models$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Models$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Catalogs$Models$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8890,8 +8974,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8947,11 +9031,11 @@ export namespace retail_v2beta { delete( params: Params$Resource$Projects$Locations$Catalogs$Models$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Models$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Models$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8982,8 +9066,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9036,11 +9120,11 @@ export namespace retail_v2beta { get( params: Params$Resource$Projects$Locations$Catalogs$Models$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Models$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Models$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9075,8 +9159,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9130,11 +9214,13 @@ export namespace retail_v2beta { list( params: Params$Resource$Projects$Locations$Catalogs$Models$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Models$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Models$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9169,8 +9255,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9227,11 +9315,11 @@ export namespace retail_v2beta { patch( params: Params$Resource$Projects$Locations$Catalogs$Models$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Models$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Catalogs$Models$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9266,8 +9354,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9321,11 +9409,11 @@ export namespace retail_v2beta { pause( params: Params$Resource$Projects$Locations$Catalogs$Models$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Projects$Locations$Catalogs$Models$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Projects$Locations$Catalogs$Models$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -9360,8 +9448,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9418,11 +9506,11 @@ export namespace retail_v2beta { resume( params: Params$Resource$Projects$Locations$Catalogs$Models$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Projects$Locations$Catalogs$Models$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Projects$Locations$Catalogs$Models$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -9457,8 +9545,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9516,11 +9604,11 @@ export namespace retail_v2beta { tune( params: Params$Resource$Projects$Locations$Catalogs$Models$Tune, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; tune( params?: Params$Resource$Projects$Locations$Catalogs$Models$Tune, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; tune( params: Params$Resource$Projects$Locations$Catalogs$Models$Tune, options: StreamMethodOptions | BodyResponseCallback, @@ -9555,8 +9643,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Models$Tune; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9716,11 +9804,11 @@ export namespace retail_v2beta { get( params: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Catalogs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9755,8 +9843,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9809,11 +9897,13 @@ export namespace retail_v2beta { list( params: Params$Resource$Projects$Locations$Catalogs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9848,8 +9938,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9941,11 +10033,13 @@ export namespace retail_v2beta { predict( params: Params$Resource$Projects$Locations$Catalogs$Placements$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Locations$Catalogs$Placements$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Projects$Locations$Catalogs$Placements$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -9980,8 +10074,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Placements$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10039,11 +10135,13 @@ export namespace retail_v2beta { search( params: Params$Resource$Projects$Locations$Catalogs$Placements$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Catalogs$Placements$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Catalogs$Placements$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -10078,8 +10176,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Placements$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10169,11 +10269,13 @@ export namespace retail_v2beta { addControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addControl( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol, options: StreamMethodOptions | BodyResponseCallback, @@ -10208,8 +10310,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Addcontrol; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10267,11 +10371,13 @@ export namespace retail_v2beta { create( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10306,8 +10412,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10365,11 +10473,11 @@ export namespace retail_v2beta { delete( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10400,8 +10508,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10454,11 +10562,13 @@ export namespace retail_v2beta { get( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10493,8 +10603,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10549,11 +10661,13 @@ export namespace retail_v2beta { list( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10588,8 +10702,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10647,11 +10763,13 @@ export namespace retail_v2beta { patch( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10686,8 +10804,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10742,11 +10862,13 @@ export namespace retail_v2beta { predict( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; predict( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; predict( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict, options: StreamMethodOptions | BodyResponseCallback, @@ -10781,8 +10903,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Predict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10840,11 +10964,13 @@ export namespace retail_v2beta { removeControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeControl( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; removeControl( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol, options: StreamMethodOptions | BodyResponseCallback, @@ -10879,8 +11005,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Removecontrol; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10938,11 +11066,13 @@ export namespace retail_v2beta { search( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -10977,8 +11107,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Servingconfigs$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11153,11 +11285,11 @@ export namespace retail_v2beta { collect( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Collect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; collect( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Collect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; collect( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Collect, options: StreamMethodOptions | BodyResponseCallback, @@ -11188,8 +11320,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Collect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11245,11 +11377,11 @@ export namespace retail_v2beta { export( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -11284,8 +11416,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11341,11 +11473,11 @@ export namespace retail_v2beta { import( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -11380,8 +11512,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11437,11 +11569,11 @@ export namespace retail_v2beta { purge( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -11476,8 +11608,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11533,11 +11665,11 @@ export namespace retail_v2beta { rejoin( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rejoin( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rejoin( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin, options: StreamMethodOptions | BodyResponseCallback, @@ -11572,8 +11704,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Rejoin; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11629,11 +11761,13 @@ export namespace retail_v2beta { write( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Write, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; write( params?: Params$Resource$Projects$Locations$Catalogs$Userevents$Write, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; write( params: Params$Resource$Projects$Locations$Catalogs$Userevents$Write, options: StreamMethodOptions | BodyResponseCallback, @@ -11668,8 +11802,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Catalogs$Userevents$Write; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11811,11 +11947,11 @@ export namespace retail_v2beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11850,8 +11986,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11903,11 +12039,13 @@ export namespace retail_v2beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11942,8 +12080,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12034,11 +12174,11 @@ export namespace retail_v2beta { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12073,8 +12213,8 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12126,11 +12266,13 @@ export namespace retail_v2beta { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12165,8 +12307,10 @@ export namespace retail_v2beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/run/index.ts b/src/apis/run/index.ts index 44b5c327d57..43ef5c8947b 100644 --- a/src/apis/run/index.ts +++ b/src/apis/run/index.ts @@ -63,7 +63,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/run/package.json b/src/apis/run/package.json index 1ef670bafd9..7ddfdfc8fb9 100644 --- a/src/apis/run/package.json +++ b/src/apis/run/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/run/v1.ts b/src/apis/run/v1.ts index 4649eaccbad..e16712d0213 100644 --- a/src/apis/run/v1.ts +++ b/src/apis/run/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3202,11 +3202,11 @@ export namespace run_v1 { list( params: Params$Resource$Namespaces$Authorizeddomains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Namespaces$Authorizeddomains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Namespaces$Authorizeddomains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3241,8 +3241,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Authorizeddomains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3322,11 +3322,11 @@ export namespace run_v1 { get( params: Params$Resource$Namespaces$Configurations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Namespaces$Configurations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Namespaces$Configurations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3355,7 +3355,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Configurations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3410,11 +3413,11 @@ export namespace run_v1 { list( params: Params$Resource$Namespaces$Configurations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Namespaces$Configurations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Namespaces$Configurations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3449,8 +3452,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Configurations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3554,11 +3557,11 @@ export namespace run_v1 { create( params: Params$Resource$Namespaces$Domainmappings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Namespaces$Domainmappings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Namespaces$Domainmappings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3587,7 +3590,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Domainmappings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3641,11 +3647,11 @@ export namespace run_v1 { delete( params: Params$Resource$Namespaces$Domainmappings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Namespaces$Domainmappings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Namespaces$Domainmappings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3674,7 +3680,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Domainmappings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3729,11 +3738,11 @@ export namespace run_v1 { get( params: Params$Resource$Namespaces$Domainmappings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Namespaces$Domainmappings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Namespaces$Domainmappings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3762,7 +3771,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Domainmappings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3817,11 +3829,11 @@ export namespace run_v1 { list( params: Params$Resource$Namespaces$Domainmappings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Namespaces$Domainmappings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Namespaces$Domainmappings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3856,8 +3868,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Domainmappings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4000,11 +4012,11 @@ export namespace run_v1 { cancel( params: Params$Resource$Namespaces$Executions$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Namespaces$Executions$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Namespaces$Executions$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4033,7 +4045,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Executions$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4087,11 +4102,11 @@ export namespace run_v1 { delete( params: Params$Resource$Namespaces$Executions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Namespaces$Executions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Namespaces$Executions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4120,7 +4135,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Executions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4175,11 +4193,11 @@ export namespace run_v1 { get( params: Params$Resource$Namespaces$Executions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Namespaces$Executions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Namespaces$Executions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4208,7 +4226,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Executions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4263,11 +4284,11 @@ export namespace run_v1 { list( params: Params$Resource$Namespaces$Executions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Namespaces$Executions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Namespaces$Executions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4300,8 +4321,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Executions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4436,11 +4457,11 @@ export namespace run_v1 { create( params: Params$Resource$Namespaces$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Namespaces$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Namespaces$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4469,7 +4490,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4523,11 +4547,11 @@ export namespace run_v1 { delete( params: Params$Resource$Namespaces$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Namespaces$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Namespaces$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4556,7 +4580,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4611,11 +4638,11 @@ export namespace run_v1 { get( params: Params$Resource$Namespaces$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Namespaces$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Namespaces$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4644,7 +4671,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4699,11 +4729,11 @@ export namespace run_v1 { list( params: Params$Resource$Namespaces$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Namespaces$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Namespaces$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4732,7 +4762,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4786,11 +4819,11 @@ export namespace run_v1 { replaceJob( params: Params$Resource$Namespaces$Jobs$Replacejob, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceJob( params?: Params$Resource$Namespaces$Jobs$Replacejob, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replaceJob( params: Params$Resource$Namespaces$Jobs$Replacejob, options: StreamMethodOptions | BodyResponseCallback, @@ -4819,7 +4852,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Jobs$Replacejob; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4874,11 +4910,11 @@ export namespace run_v1 { run( params: Params$Resource$Namespaces$Jobs$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Namespaces$Jobs$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Namespaces$Jobs$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -4907,7 +4943,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Jobs$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5067,11 +5106,11 @@ export namespace run_v1 { delete( params: Params$Resource$Namespaces$Revisions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Namespaces$Revisions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Namespaces$Revisions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5100,7 +5139,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Revisions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5155,11 +5197,11 @@ export namespace run_v1 { get( params: Params$Resource$Namespaces$Revisions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Namespaces$Revisions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Namespaces$Revisions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5188,7 +5230,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Revisions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5243,11 +5288,11 @@ export namespace run_v1 { list( params: Params$Resource$Namespaces$Revisions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Namespaces$Revisions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Namespaces$Revisions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5280,8 +5325,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Revisions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5408,11 +5453,11 @@ export namespace run_v1 { get( params: Params$Resource$Namespaces$Routes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Namespaces$Routes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Namespaces$Routes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5441,7 +5486,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Routes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5496,11 +5544,11 @@ export namespace run_v1 { list( params: Params$Resource$Namespaces$Routes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Namespaces$Routes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Namespaces$Routes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5531,8 +5579,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Routes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5636,11 +5684,11 @@ export namespace run_v1 { create( params: Params$Resource$Namespaces$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Namespaces$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Namespaces$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5669,7 +5717,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5723,11 +5774,11 @@ export namespace run_v1 { delete( params: Params$Resource$Namespaces$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Namespaces$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Namespaces$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5756,7 +5807,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5811,11 +5865,11 @@ export namespace run_v1 { get( params: Params$Resource$Namespaces$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Namespaces$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Namespaces$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5844,7 +5898,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5899,11 +5956,11 @@ export namespace run_v1 { list( params: Params$Resource$Namespaces$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Namespaces$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Namespaces$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5936,8 +5993,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5991,11 +6048,11 @@ export namespace run_v1 { replaceService( params: Params$Resource$Namespaces$Services$Replaceservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceService( params?: Params$Resource$Namespaces$Services$Replaceservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replaceService( params: Params$Resource$Namespaces$Services$Replaceservice, options: StreamMethodOptions | BodyResponseCallback, @@ -6024,7 +6081,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Services$Replaceservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6184,11 +6244,11 @@ export namespace run_v1 { get( params: Params$Resource$Namespaces$Tasks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Namespaces$Tasks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Namespaces$Tasks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6217,7 +6277,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Tasks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6272,11 +6335,11 @@ export namespace run_v1 { list( params: Params$Resource$Namespaces$Tasks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Namespaces$Tasks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Namespaces$Tasks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6307,8 +6370,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Tasks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6412,11 +6475,11 @@ export namespace run_v1 { create( params: Params$Resource$Namespaces$Workerpools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Namespaces$Workerpools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Namespaces$Workerpools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6445,7 +6508,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Workerpools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6499,11 +6565,11 @@ export namespace run_v1 { delete( params: Params$Resource$Namespaces$Workerpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Namespaces$Workerpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Namespaces$Workerpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6532,7 +6598,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Workerpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6587,11 +6656,11 @@ export namespace run_v1 { get( params: Params$Resource$Namespaces$Workerpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Namespaces$Workerpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Namespaces$Workerpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6620,7 +6689,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Workerpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6675,11 +6747,11 @@ export namespace run_v1 { list( params: Params$Resource$Namespaces$Workerpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Namespaces$Workerpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Namespaces$Workerpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6712,8 +6784,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Workerpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6767,11 +6839,11 @@ export namespace run_v1 { replaceWorkerPool( params: Params$Resource$Namespaces$Workerpools$Replaceworkerpool, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceWorkerPool( params?: Params$Resource$Namespaces$Workerpools$Replaceworkerpool, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replaceWorkerPool( params: Params$Resource$Namespaces$Workerpools$Replaceworkerpool, options: StreamMethodOptions | BodyResponseCallback, @@ -6800,7 +6872,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Workerpools$Replaceworkerpool; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6945,11 +7020,11 @@ export namespace run_v1 { list( params: Params$Resource$Projects$Authorizeddomains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Authorizeddomains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Authorizeddomains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6984,8 +7059,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Authorizeddomains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7088,11 +7163,11 @@ export namespace run_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7125,8 +7200,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7212,11 +7287,11 @@ export namespace run_v1 { list( params: Params$Resource$Projects$Locations$Authorizeddomains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Authorizeddomains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Authorizeddomains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7251,8 +7326,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Authorizeddomains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7333,11 +7408,11 @@ export namespace run_v1 { get( params: Params$Resource$Projects$Locations$Configurations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Configurations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Configurations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7366,7 +7441,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Configurations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7418,11 +7496,11 @@ export namespace run_v1 { list( params: Params$Resource$Projects$Locations$Configurations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Configurations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Configurations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7457,8 +7535,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Configurations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7563,11 +7641,11 @@ export namespace run_v1 { create( params: Params$Resource$Projects$Locations$Domainmappings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Domainmappings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Domainmappings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7596,7 +7674,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Domainmappings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7651,11 +7732,11 @@ export namespace run_v1 { delete( params: Params$Resource$Projects$Locations$Domainmappings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Domainmappings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Domainmappings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7684,7 +7765,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Domainmappings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7736,11 +7820,11 @@ export namespace run_v1 { get( params: Params$Resource$Projects$Locations$Domainmappings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Domainmappings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Domainmappings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7769,7 +7853,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Domainmappings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7821,11 +7908,11 @@ export namespace run_v1 { list( params: Params$Resource$Projects$Locations$Domainmappings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Domainmappings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Domainmappings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7860,8 +7947,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Domainmappings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8005,11 +8092,11 @@ export namespace run_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Jobs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Jobs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Jobs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8038,7 +8125,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8093,11 +8183,11 @@ export namespace run_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Jobs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Jobs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Jobs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8126,7 +8216,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8181,11 +8274,11 @@ export namespace run_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Jobs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Jobs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Jobs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8220,8 +8313,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8320,11 +8413,11 @@ export namespace run_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8353,7 +8446,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8405,11 +8501,11 @@ export namespace run_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8444,8 +8540,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8497,11 +8593,13 @@ export namespace run_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8536,8 +8634,10 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8594,11 +8694,11 @@ export namespace run_v1 { wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -8633,8 +8733,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8739,11 +8839,11 @@ export namespace run_v1 { delete( params: Params$Resource$Projects$Locations$Revisions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Revisions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Revisions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8772,7 +8872,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Revisions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8824,11 +8927,11 @@ export namespace run_v1 { get( params: Params$Resource$Projects$Locations$Revisions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Revisions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Revisions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8857,7 +8960,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Revisions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8909,11 +9015,11 @@ export namespace run_v1 { list( params: Params$Resource$Projects$Locations$Revisions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Revisions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Revisions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8946,8 +9052,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Revisions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9075,11 +9181,11 @@ export namespace run_v1 { get( params: Params$Resource$Projects$Locations$Routes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Routes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Routes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9108,7 +9214,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Routes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9160,11 +9269,11 @@ export namespace run_v1 { list( params: Params$Resource$Projects$Locations$Routes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Routes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Routes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9195,8 +9304,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Routes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9301,11 +9410,11 @@ export namespace run_v1 { create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9334,7 +9443,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9389,11 +9501,11 @@ export namespace run_v1 { delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9422,7 +9534,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9474,11 +9589,11 @@ export namespace run_v1 { get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9507,7 +9622,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9559,11 +9677,11 @@ export namespace run_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9592,7 +9710,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9647,11 +9768,11 @@ export namespace run_v1 { list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9684,8 +9805,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9740,11 +9861,11 @@ export namespace run_v1 { replaceService( params: Params$Resource$Projects$Locations$Services$Replaceservice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; replaceService( params?: Params$Resource$Projects$Locations$Services$Replaceservice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; replaceService( params: Params$Resource$Projects$Locations$Services$Replaceservice, options: StreamMethodOptions | BodyResponseCallback, @@ -9773,7 +9894,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Replaceservice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9826,11 +9950,11 @@ export namespace run_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9859,7 +9983,10 @@ export namespace run_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9914,11 +10041,11 @@ export namespace run_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Services$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Services$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Services$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9953,8 +10080,8 @@ export namespace run_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/run/v1alpha1.ts b/src/apis/run/v1alpha1.ts index 93cc6bfe10d..ed40c13a695 100644 --- a/src/apis/run/v1alpha1.ts +++ b/src/apis/run/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1024,11 +1024,11 @@ export namespace run_v1alpha1 { create( params: Params$Resource$Namespaces$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Namespaces$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Namespaces$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1057,7 +1057,7 @@ export namespace run_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1156,11 +1156,11 @@ export namespace run_v1alpha1 { delete( params: Params$Resource$Namespaces$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Namespaces$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Namespaces$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1189,7 +1189,7 @@ export namespace run_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1288,11 +1288,11 @@ export namespace run_v1alpha1 { get( params: Params$Resource$Namespaces$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Namespaces$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Namespaces$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1321,7 +1321,7 @@ export namespace run_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1435,11 +1435,11 @@ export namespace run_v1alpha1 { list( params: Params$Resource$Namespaces$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Namespaces$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Namespaces$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1468,7 +1468,7 @@ export namespace run_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/run/v1beta1.ts b/src/apis/run/v1beta1.ts index 4e7d8285f54..a58899c6c1a 100644 --- a/src/apis/run/v1beta1.ts +++ b/src/apis/run/v1beta1.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -590,11 +590,11 @@ export namespace run_v1beta1 { list( params: Params$Resource$Customresourcedefinitions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customresourcedefinitions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customresourcedefinitions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -629,8 +629,8 @@ export namespace run_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customresourcedefinitions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -784,11 +784,11 @@ export namespace run_v1beta1 { get( params: Params$Resource$Namespaces$Customresourcedefinitions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Namespaces$Customresourcedefinitions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Namespaces$Customresourcedefinitions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -821,8 +821,8 @@ export namespace run_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Namespaces$Customresourcedefinitions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -954,11 +954,11 @@ export namespace run_v1beta1 { get( params: Params$Resource$Projects$Locations$Customresourcedefinitions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Customresourcedefinitions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Customresourcedefinitions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -991,8 +991,8 @@ export namespace run_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customresourcedefinitions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1104,11 +1104,11 @@ export namespace run_v1beta1 { list( params: Params$Resource$Projects$Locations$Customresourcedefinitions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Customresourcedefinitions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Customresourcedefinitions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1143,8 +1143,8 @@ export namespace run_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customresourcedefinitions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/run/v2.ts b/src/apis/run/v2.ts index 23b2b68c7bd..e6d9986e2ed 100644 --- a/src/apis/run/v2.ts +++ b/src/apis/run/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3349,11 +3349,13 @@ export namespace run_v2 { exportImage( params: Params$Resource$Projects$Locations$Exportimage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportImage( params?: Params$Resource$Projects$Locations$Exportimage, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exportImage( params: Params$Resource$Projects$Locations$Exportimage, options: StreamMethodOptions | BodyResponseCallback, @@ -3388,8 +3390,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Exportimage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3446,11 +3450,11 @@ export namespace run_v2 { exportImageMetadata( params: Params$Resource$Projects$Locations$Exportimagemetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportImageMetadata( params?: Params$Resource$Projects$Locations$Exportimagemetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportImageMetadata( params: Params$Resource$Projects$Locations$Exportimagemetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -3485,8 +3489,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Exportimagemetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3541,11 +3545,11 @@ export namespace run_v2 { exportMetadata( params: Params$Resource$Projects$Locations$Exportmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params?: Params$Resource$Projects$Locations$Exportmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportMetadata( params: Params$Resource$Projects$Locations$Exportmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -3580,8 +3584,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Exportmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3636,11 +3640,11 @@ export namespace run_v2 { exportProjectMetadata( params: Params$Resource$Projects$Locations$Exportprojectmetadata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportProjectMetadata( params?: Params$Resource$Projects$Locations$Exportprojectmetadata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportProjectMetadata( params: Params$Resource$Projects$Locations$Exportprojectmetadata, options: StreamMethodOptions | BodyResponseCallback, @@ -3675,8 +3679,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Exportprojectmetadata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3772,11 +3776,13 @@ export namespace run_v2 { submit( params: Params$Resource$Projects$Locations$Builds$Submit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submit( params?: Params$Resource$Projects$Locations$Builds$Submit, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; submit( params: Params$Resource$Projects$Locations$Builds$Submit, options: StreamMethodOptions | BodyResponseCallback, @@ -3811,8 +3817,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Builds$Submit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3893,11 +3901,11 @@ export namespace run_v2 { create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3932,8 +3940,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3985,11 +3993,11 @@ export namespace run_v2 { delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4024,8 +4032,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4077,11 +4085,11 @@ export namespace run_v2 { get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4112,8 +4120,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4165,11 +4173,11 @@ export namespace run_v2 { getIamPolicy( params: Params$Resource$Projects$Locations$Jobs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Jobs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Jobs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4202,8 +4210,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4258,11 +4266,13 @@ export namespace run_v2 { list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4297,8 +4307,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4352,11 +4364,11 @@ export namespace run_v2 { patch( params: Params$Resource$Projects$Locations$Jobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Jobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Jobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4391,8 +4403,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4444,11 +4456,11 @@ export namespace run_v2 { run( params: Params$Resource$Projects$Locations$Jobs$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Jobs$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Jobs$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -4483,8 +4495,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4536,11 +4548,11 @@ export namespace run_v2 { setIamPolicy( params: Params$Resource$Projects$Locations$Jobs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Jobs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Jobs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4573,8 +4585,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4629,11 +4641,13 @@ export namespace run_v2 { testIamPermissions( params: Params$Resource$Projects$Locations$Jobs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Jobs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Jobs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4668,8 +4682,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4867,11 +4883,11 @@ export namespace run_v2 { cancel( params: Params$Resource$Projects$Locations$Jobs$Executions$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Jobs$Executions$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Jobs$Executions$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4906,8 +4922,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Executions$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4960,11 +4976,11 @@ export namespace run_v2 { delete( params: Params$Resource$Projects$Locations$Jobs$Executions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Jobs$Executions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Jobs$Executions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4999,8 +5015,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Executions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5053,11 +5069,13 @@ export namespace run_v2 { exportStatus( params: Params$Resource$Projects$Locations$Jobs$Executions$Exportstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportStatus( params?: Params$Resource$Projects$Locations$Jobs$Executions$Exportstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exportStatus( params: Params$Resource$Projects$Locations$Jobs$Executions$Exportstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -5092,8 +5110,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Executions$Exportstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5151,11 +5171,11 @@ export namespace run_v2 { get( params: Params$Resource$Projects$Locations$Jobs$Executions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobs$Executions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobs$Executions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5188,8 +5208,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Executions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5241,11 +5261,13 @@ export namespace run_v2 { list( params: Params$Resource$Projects$Locations$Jobs$Executions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$Executions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Jobs$Executions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5280,8 +5302,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Executions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5410,11 +5434,11 @@ export namespace run_v2 { get( params: Params$Resource$Projects$Locations$Jobs$Executions$Tasks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobs$Executions$Tasks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobs$Executions$Tasks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5447,8 +5471,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Executions$Tasks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5501,11 +5525,13 @@ export namespace run_v2 { list( params: Params$Resource$Projects$Locations$Jobs$Executions$Tasks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$Executions$Tasks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Jobs$Executions$Tasks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5540,8 +5566,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Executions$Tasks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5633,11 +5661,11 @@ export namespace run_v2 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5668,8 +5696,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5721,11 +5749,11 @@ export namespace run_v2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5760,8 +5788,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5813,11 +5841,13 @@ export namespace run_v2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5852,8 +5882,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5910,11 +5942,11 @@ export namespace run_v2 { wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -5949,8 +5981,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6059,11 +6091,11 @@ export namespace run_v2 { create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6098,8 +6130,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6154,11 +6186,11 @@ export namespace run_v2 { delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6193,8 +6225,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6246,11 +6278,11 @@ export namespace run_v2 { get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6283,8 +6315,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6336,11 +6368,11 @@ export namespace run_v2 { getIamPolicy( params: Params$Resource$Projects$Locations$Services$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Services$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Services$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6373,8 +6405,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6429,11 +6461,13 @@ export namespace run_v2 { list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6468,8 +6502,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6526,11 +6562,11 @@ export namespace run_v2 { patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6565,8 +6601,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6618,11 +6654,11 @@ export namespace run_v2 { setIamPolicy( params: Params$Resource$Projects$Locations$Services$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Services$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Services$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6655,8 +6691,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6711,11 +6747,13 @@ export namespace run_v2 { testIamPermissions( params: Params$Resource$Projects$Locations$Services$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Services$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Services$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6750,8 +6788,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6937,11 +6977,11 @@ export namespace run_v2 { delete( params: Params$Resource$Projects$Locations$Services$Revisions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Services$Revisions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Services$Revisions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6976,8 +7016,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Revisions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7030,11 +7070,13 @@ export namespace run_v2 { exportStatus( params: Params$Resource$Projects$Locations$Services$Revisions$Exportstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportStatus( params?: Params$Resource$Projects$Locations$Services$Revisions$Exportstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; exportStatus( params: Params$Resource$Projects$Locations$Services$Revisions$Exportstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -7069,8 +7111,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Revisions$Exportstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7128,11 +7172,11 @@ export namespace run_v2 { get( params: Params$Resource$Projects$Locations$Services$Revisions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Services$Revisions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Services$Revisions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7165,8 +7209,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Revisions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7219,11 +7263,13 @@ export namespace run_v2 { list( params: Params$Resource$Projects$Locations$Services$Revisions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Services$Revisions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Services$Revisions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7258,8 +7304,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Services$Revisions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7381,11 +7429,11 @@ export namespace run_v2 { create( params: Params$Resource$Projects$Locations$Workerpools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workerpools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workerpools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7420,8 +7468,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7476,11 +7524,11 @@ export namespace run_v2 { delete( params: Params$Resource$Projects$Locations$Workerpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workerpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workerpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7515,8 +7563,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7568,11 +7616,11 @@ export namespace run_v2 { get( params: Params$Resource$Projects$Locations$Workerpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workerpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workerpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7607,8 +7655,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7649,6 +7697,100 @@ export namespace run_v2 { } } + /** + * Gets the IAM Access Control policy currently in effect for the given Cloud Run WorkerPool. This result does not include any inherited policies. + * + * @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. + */ + getIamPolicy( + params: Params$Resource$Projects$Locations$Workerpools$Getiampolicy, + options: StreamMethodOptions + ): Promise>; + getIamPolicy( + params?: Params$Resource$Projects$Locations$Workerpools$Getiampolicy, + options?: MethodOptions + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Locations$Workerpools$Getiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Locations$Workerpools$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Locations$Workerpools$Getiampolicy, + callback: BodyResponseCallback + ): void; + getIamPolicy( + callback: BodyResponseCallback + ): void; + getIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Workerpools$Getiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Workerpools$Getiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Workerpools$Getiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Lists WorkerPools. Results are sorted by creation time, descending. * @@ -7660,11 +7802,13 @@ export namespace run_v2 { list( params: Params$Resource$Projects$Locations$Workerpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workerpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Workerpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7699,8 +7843,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7757,11 +7903,11 @@ export namespace run_v2 { patch( params: Params$Resource$Projects$Locations$Workerpools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workerpools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workerpools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7796,8 +7942,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7838,6 +7984,100 @@ export namespace run_v2 { } } + /** + * Sets the IAM Access control policy for the specified WorkerPool. Overwrites any existing policy. + * + * @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. + */ + setIamPolicy( + params: Params$Resource$Projects$Locations$Workerpools$Setiampolicy, + options: StreamMethodOptions + ): Promise>; + setIamPolicy( + params?: Params$Resource$Projects$Locations$Workerpools$Setiampolicy, + options?: MethodOptions + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Workerpools$Setiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Workerpools$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Workerpools$Setiampolicy, + callback: BodyResponseCallback + ): void; + setIamPolicy( + callback: BodyResponseCallback + ): void; + setIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Workerpools$Setiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Workerpools$Setiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Workerpools$Setiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call. * @@ -7849,11 +8089,13 @@ export namespace run_v2 { testIamPermissions( params: Params$Resource$Projects$Locations$Workerpools$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Workerpools$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; testIamPermissions( params: Params$Resource$Projects$Locations$Workerpools$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7888,8 +8130,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7979,6 +8223,17 @@ export namespace run_v2 { */ name?: string; } + export interface Params$Resource$Projects$Locations$Workerpools$Getiampolicy + extends StandardParameters { + /** + * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + 'options.requestedPolicyVersion'?: number; + /** + * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + } export interface Params$Resource$Projects$Locations$Workerpools$List extends StandardParameters { /** @@ -8026,6 +8281,18 @@ export namespace run_v2 { */ requestBody?: Schema$GoogleCloudRunV2WorkerPool; } + export interface Params$Resource$Projects$Locations$Workerpools$Setiampolicy + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleIamV1SetIamPolicyRequest; + } export interface Params$Resource$Projects$Locations$Workerpools$Testiampermissions extends StandardParameters { /** @@ -8056,11 +8323,11 @@ export namespace run_v2 { delete( params: Params$Resource$Projects$Locations$Workerpools$Revisions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workerpools$Revisions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workerpools$Revisions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8095,8 +8362,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Revisions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8149,11 +8416,11 @@ export namespace run_v2 { get( params: Params$Resource$Projects$Locations$Workerpools$Revisions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workerpools$Revisions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workerpools$Revisions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8186,8 +8453,8 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Revisions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8240,11 +8507,13 @@ export namespace run_v2 { list( params: Params$Resource$Projects$Locations$Workerpools$Revisions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workerpools$Revisions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Workerpools$Revisions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8279,8 +8548,10 @@ export namespace run_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workerpools$Revisions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/runtimeconfig/index.ts b/src/apis/runtimeconfig/index.ts index 7615f26b6ed..93614c80629 100644 --- a/src/apis/runtimeconfig/index.ts +++ b/src/apis/runtimeconfig/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/runtimeconfig/package.json b/src/apis/runtimeconfig/package.json index 1bb39a06fe7..392b1a30d0a 100644 --- a/src/apis/runtimeconfig/package.json +++ b/src/apis/runtimeconfig/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/runtimeconfig/v1.ts b/src/apis/runtimeconfig/v1.ts index 3867cfc73d4..f16a7c03518 100644 --- a/src/apis/runtimeconfig/v1.ts +++ b/src/apis/runtimeconfig/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -205,11 +205,11 @@ export namespace runtimeconfig_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -238,7 +238,10 @@ export namespace runtimeconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -291,11 +294,11 @@ export namespace runtimeconfig_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -324,7 +327,10 @@ export namespace runtimeconfig_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -377,11 +383,11 @@ export namespace runtimeconfig_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -414,8 +420,8 @@ export namespace runtimeconfig_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/runtimeconfig/v1beta1.ts b/src/apis/runtimeconfig/v1beta1.ts index d163a6e42b3..b03713a8b79 100644 --- a/src/apis/runtimeconfig/v1beta1.ts +++ b/src/apis/runtimeconfig/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -426,11 +426,11 @@ export namespace runtimeconfig_v1beta1 { create( params: Params$Resource$Projects$Configs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Configs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Configs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -459,7 +459,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -515,11 +518,11 @@ export namespace runtimeconfig_v1beta1 { delete( params: Params$Resource$Projects$Configs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Configs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Configs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -548,7 +551,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -601,11 +607,11 @@ export namespace runtimeconfig_v1beta1 { get( params: Params$Resource$Projects$Configs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Configs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Configs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -634,7 +640,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -687,11 +696,11 @@ export namespace runtimeconfig_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Configs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Configs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Configs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -720,7 +729,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -776,11 +788,11 @@ export namespace runtimeconfig_v1beta1 { list( params: Params$Resource$Projects$Configs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Configs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Configs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -811,8 +823,8 @@ export namespace runtimeconfig_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -868,11 +880,11 @@ export namespace runtimeconfig_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Configs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Configs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Configs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -901,7 +913,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -957,11 +972,11 @@ export namespace runtimeconfig_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Configs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Configs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Configs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -996,8 +1011,8 @@ export namespace runtimeconfig_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1053,11 +1068,11 @@ export namespace runtimeconfig_v1beta1 { update( params: Params$Resource$Projects$Configs$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Configs$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Configs$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1086,7 +1101,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1239,11 +1257,11 @@ export namespace runtimeconfig_v1beta1 { get( params: Params$Resource$Projects$Configs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Configs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Configs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1272,7 +1290,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1325,11 +1346,11 @@ export namespace runtimeconfig_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Configs$Operations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Configs$Operations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Configs$Operations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1364,8 +1385,8 @@ export namespace runtimeconfig_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Operations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1449,11 +1470,11 @@ export namespace runtimeconfig_v1beta1 { create( params: Params$Resource$Projects$Configs$Variables$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Configs$Variables$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Configs$Variables$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1482,7 +1503,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Variables$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1538,11 +1562,11 @@ export namespace runtimeconfig_v1beta1 { delete( params: Params$Resource$Projects$Configs$Variables$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Configs$Variables$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Configs$Variables$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1571,7 +1595,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Variables$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1624,11 +1651,11 @@ export namespace runtimeconfig_v1beta1 { get( params: Params$Resource$Projects$Configs$Variables$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Configs$Variables$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Configs$Variables$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1657,7 +1684,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Variables$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1710,11 +1740,11 @@ export namespace runtimeconfig_v1beta1 { list( params: Params$Resource$Projects$Configs$Variables$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Configs$Variables$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Configs$Variables$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1747,8 +1777,8 @@ export namespace runtimeconfig_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Variables$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1804,11 +1834,11 @@ export namespace runtimeconfig_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Configs$Variables$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Configs$Variables$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Configs$Variables$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1843,8 +1873,8 @@ export namespace runtimeconfig_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Variables$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1901,11 +1931,11 @@ export namespace runtimeconfig_v1beta1 { update( params: Params$Resource$Projects$Configs$Variables$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Configs$Variables$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Configs$Variables$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1934,7 +1964,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Variables$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1987,11 +2020,11 @@ export namespace runtimeconfig_v1beta1 { watch( params: Params$Resource$Projects$Configs$Variables$Watch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watch( params?: Params$Resource$Projects$Configs$Variables$Watch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watch( params: Params$Resource$Projects$Configs$Variables$Watch, options: StreamMethodOptions | BodyResponseCallback, @@ -2020,7 +2053,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Variables$Watch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2177,11 +2213,11 @@ export namespace runtimeconfig_v1beta1 { create( params: Params$Resource$Projects$Configs$Waiters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Configs$Waiters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Configs$Waiters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2210,7 +2246,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Waiters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2266,11 +2305,11 @@ export namespace runtimeconfig_v1beta1 { delete( params: Params$Resource$Projects$Configs$Waiters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Configs$Waiters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Configs$Waiters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2299,7 +2338,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Waiters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2352,11 +2394,11 @@ export namespace runtimeconfig_v1beta1 { get( params: Params$Resource$Projects$Configs$Waiters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Configs$Waiters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Configs$Waiters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2385,7 +2427,10 @@ export namespace runtimeconfig_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Waiters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2438,11 +2483,11 @@ export namespace runtimeconfig_v1beta1 { list( params: Params$Resource$Projects$Configs$Waiters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Configs$Waiters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Configs$Waiters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2473,8 +2518,8 @@ export namespace runtimeconfig_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Waiters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2530,11 +2575,11 @@ export namespace runtimeconfig_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Configs$Waiters$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Configs$Waiters$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Configs$Waiters$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2569,8 +2614,8 @@ export namespace runtimeconfig_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Configs$Waiters$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/safebrowsing/index.ts b/src/apis/safebrowsing/index.ts index 2bea06ee129..5754d60b4e4 100644 --- a/src/apis/safebrowsing/index.ts +++ b/src/apis/safebrowsing/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/safebrowsing/package.json b/src/apis/safebrowsing/package.json index 6597dd41b9f..7b2bde271c1 100644 --- a/src/apis/safebrowsing/package.json +++ b/src/apis/safebrowsing/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/safebrowsing/v4.ts b/src/apis/safebrowsing/v4.ts index d4b82c8f777..104406ecd8e 100644 --- a/src/apis/safebrowsing/v4.ts +++ b/src/apis/safebrowsing/v4.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -587,11 +587,13 @@ export namespace safebrowsing_v4 { get( params: Params$Resource$Encodedfullhashes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Encodedfullhashes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Encodedfullhashes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -626,8 +628,10 @@ export namespace safebrowsing_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Encodedfullhashes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -706,11 +710,13 @@ export namespace safebrowsing_v4 { get( params: Params$Resource$Encodedupdates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Encodedupdates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Encodedupdates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -745,8 +751,10 @@ export namespace safebrowsing_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Encodedupdates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -826,11 +834,13 @@ export namespace safebrowsing_v4 { find( params: Params$Resource$Fullhashes$Find, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; find( params?: Params$Resource$Fullhashes$Find, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; find( params: Params$Resource$Fullhashes$Find, options: StreamMethodOptions | BodyResponseCallback, @@ -865,8 +875,10 @@ export namespace safebrowsing_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Fullhashes$Find; let options = (optionsOrCallback || {}) as MethodOptions; @@ -936,11 +948,11 @@ export namespace safebrowsing_v4 { create( params: Params$Resource$Threathits$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Threathits$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Threathits$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -971,8 +983,8 @@ export namespace safebrowsing_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Threathits$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1039,11 +1051,13 @@ export namespace safebrowsing_v4 { list( params: Params$Resource$Threatlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Threatlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Threatlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1078,8 +1092,10 @@ export namespace safebrowsing_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Threatlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1142,11 +1158,13 @@ export namespace safebrowsing_v4 { fetch( params: Params$Resource$Threatlistupdates$Fetch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetch( params?: Params$Resource$Threatlistupdates$Fetch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetch( params: Params$Resource$Threatlistupdates$Fetch, options: StreamMethodOptions | BodyResponseCallback, @@ -1181,8 +1199,10 @@ export namespace safebrowsing_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Threatlistupdates$Fetch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1254,11 +1274,13 @@ export namespace safebrowsing_v4 { find( params: Params$Resource$Threatmatches$Find, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; find( params?: Params$Resource$Threatmatches$Find, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; find( params: Params$Resource$Threatmatches$Find, options: StreamMethodOptions | BodyResponseCallback, @@ -1293,8 +1315,10 @@ export namespace safebrowsing_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Threatmatches$Find; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/safebrowsing/v5.ts b/src/apis/safebrowsing/v5.ts index 8986c2ed84a..eae0dc162db 100644 --- a/src/apis/safebrowsing/v5.ts +++ b/src/apis/safebrowsing/v5.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -181,11 +181,13 @@ export namespace safebrowsing_v5 { search( params: Params$Resource$Hashes$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Hashes$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Hashes$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -220,8 +222,10 @@ export namespace safebrowsing_v5 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Hashes$Search; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/sasportal/index.ts b/src/apis/sasportal/index.ts index c9474b31bdc..965d28104f4 100644 --- a/src/apis/sasportal/index.ts +++ b/src/apis/sasportal/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/sasportal/package.json b/src/apis/sasportal/package.json index 9fdca69883c..5f135300b19 100644 --- a/src/apis/sasportal/package.json +++ b/src/apis/sasportal/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/sasportal/v1alpha1.ts b/src/apis/sasportal/v1alpha1.ts index 28a9524749d..f4afee10713 100644 --- a/src/apis/sasportal/v1alpha1.ts +++ b/src/apis/sasportal/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -926,11 +926,11 @@ export namespace sasportal_v1alpha1 { get( params: Params$Resource$Customers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -961,8 +961,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1013,11 +1013,11 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Customers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1052,8 +1052,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1109,11 +1109,13 @@ export namespace sasportal_v1alpha1 { listGcpProjectDeployments( params: Params$Resource$Customers$Listgcpprojectdeployments, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listGcpProjectDeployments( params?: Params$Resource$Customers$Listgcpprojectdeployments, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listGcpProjectDeployments( params: Params$Resource$Customers$Listgcpprojectdeployments, options: StreamMethodOptions | BodyResponseCallback, @@ -1148,8 +1150,10 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Listgcpprojectdeployments; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1205,11 +1209,13 @@ export namespace sasportal_v1alpha1 { listLegacyOrganizations( params: Params$Resource$Customers$Listlegacyorganizations, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listLegacyOrganizations( params?: Params$Resource$Customers$Listlegacyorganizations, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listLegacyOrganizations( params: Params$Resource$Customers$Listlegacyorganizations, options: StreamMethodOptions | BodyResponseCallback, @@ -1244,8 +1250,10 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Listlegacyorganizations; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1301,11 +1309,11 @@ export namespace sasportal_v1alpha1 { migrateOrganization( params: Params$Resource$Customers$Migrateorganization, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; migrateOrganization( params?: Params$Resource$Customers$Migrateorganization, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; migrateOrganization( params: Params$Resource$Customers$Migrateorganization, options: StreamMethodOptions | BodyResponseCallback, @@ -1338,8 +1346,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Migrateorganization; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1394,11 +1402,11 @@ export namespace sasportal_v1alpha1 { patch( params: Params$Resource$Customers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1429,8 +1437,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1481,11 +1489,13 @@ export namespace sasportal_v1alpha1 { provisionDeployment( params: Params$Resource$Customers$Provisiondeployment, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; provisionDeployment( params?: Params$Resource$Customers$Provisiondeployment, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; provisionDeployment( params: Params$Resource$Customers$Provisiondeployment, options: StreamMethodOptions | BodyResponseCallback, @@ -1520,8 +1530,10 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Provisiondeployment; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1578,11 +1590,11 @@ export namespace sasportal_v1alpha1 { setupSasAnalytics( params: Params$Resource$Customers$Setupsasanalytics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setupSasAnalytics( params?: Params$Resource$Customers$Setupsasanalytics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setupSasAnalytics( params: Params$Resource$Customers$Setupsasanalytics, options: StreamMethodOptions | BodyResponseCallback, @@ -1615,8 +1627,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Setupsasanalytics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1737,11 +1749,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Customers$Deployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Deployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Deployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1772,8 +1784,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1828,11 +1840,11 @@ export namespace sasportal_v1alpha1 { delete( params: Params$Resource$Customers$Deployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customers$Deployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customers$Deployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1861,7 +1873,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1913,11 +1928,11 @@ export namespace sasportal_v1alpha1 { get( params: Params$Resource$Customers$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1948,8 +1963,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2001,11 +2016,13 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Customers$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2040,8 +2057,10 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2098,11 +2117,11 @@ export namespace sasportal_v1alpha1 { move( params: Params$Resource$Customers$Deployments$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Customers$Deployments$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Customers$Deployments$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -2133,8 +2152,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2189,11 +2208,11 @@ export namespace sasportal_v1alpha1 { patch( params: Params$Resource$Customers$Deployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Deployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Deployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2224,8 +2243,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2358,11 +2377,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Customers$Deployments$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Deployments$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Deployments$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2391,7 +2410,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2446,11 +2468,11 @@ export namespace sasportal_v1alpha1 { createSigned( params: Params$Resource$Customers$Deployments$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Customers$Deployments$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Customers$Deployments$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -2479,7 +2501,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2535,11 +2560,11 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Customers$Deployments$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Deployments$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Deployments$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2574,8 +2599,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Deployments$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2683,11 +2708,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Customers$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2716,7 +2741,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2771,11 +2799,11 @@ export namespace sasportal_v1alpha1 { createSigned( params: Params$Resource$Customers$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Customers$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Customers$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -2804,7 +2832,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2859,11 +2890,11 @@ export namespace sasportal_v1alpha1 { delete( params: Params$Resource$Customers$Devices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customers$Devices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customers$Devices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2892,7 +2923,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2944,11 +2978,11 @@ export namespace sasportal_v1alpha1 { get( params: Params$Resource$Customers$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2977,7 +3011,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3029,11 +3066,11 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Customers$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3068,8 +3105,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3126,11 +3163,11 @@ export namespace sasportal_v1alpha1 { move( params: Params$Resource$Customers$Devices$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Customers$Devices$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Customers$Devices$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -3161,8 +3198,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3217,11 +3254,11 @@ export namespace sasportal_v1alpha1 { patch( params: Params$Resource$Customers$Devices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Devices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Devices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3250,7 +3287,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3302,11 +3342,11 @@ export namespace sasportal_v1alpha1 { signDevice( params: Params$Resource$Customers$Devices$Signdevice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params?: Params$Resource$Customers$Devices$Signdevice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params: Params$Resource$Customers$Devices$Signdevice, options: StreamMethodOptions | BodyResponseCallback, @@ -3335,7 +3375,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Signdevice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3390,11 +3433,11 @@ export namespace sasportal_v1alpha1 { updateSigned( params: Params$Resource$Customers$Devices$Updatesigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params?: Params$Resource$Customers$Devices$Updatesigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params: Params$Resource$Customers$Devices$Updatesigned, options: StreamMethodOptions | BodyResponseCallback, @@ -3423,7 +3466,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Devices$Updatesigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3601,11 +3647,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Customers$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3634,7 +3680,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3689,11 +3738,11 @@ export namespace sasportal_v1alpha1 { delete( params: Params$Resource$Customers$Nodes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Customers$Nodes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Customers$Nodes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3722,7 +3771,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3774,11 +3826,11 @@ export namespace sasportal_v1alpha1 { get( params: Params$Resource$Customers$Nodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Nodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Customers$Nodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3807,7 +3859,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3859,11 +3914,11 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Customers$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3898,8 +3953,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3954,11 +4009,11 @@ export namespace sasportal_v1alpha1 { move( params: Params$Resource$Customers$Nodes$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Customers$Nodes$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Customers$Nodes$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -3989,8 +4044,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4045,11 +4100,11 @@ export namespace sasportal_v1alpha1 { patch( params: Params$Resource$Customers$Nodes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Customers$Nodes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Customers$Nodes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4078,7 +4133,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4211,11 +4269,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Customers$Nodes$Deployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Nodes$Deployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Nodes$Deployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4246,8 +4304,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Deployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4302,11 +4360,13 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Customers$Nodes$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Nodes$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Nodes$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4341,8 +4401,10 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4438,11 +4500,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Customers$Nodes$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Nodes$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Nodes$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4471,7 +4533,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4526,11 +4591,11 @@ export namespace sasportal_v1alpha1 { createSigned( params: Params$Resource$Customers$Nodes$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Customers$Nodes$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Customers$Nodes$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -4559,7 +4624,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4614,11 +4682,11 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Customers$Nodes$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Nodes$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Nodes$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4653,8 +4721,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4762,11 +4830,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Customers$Nodes$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Customers$Nodes$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Customers$Nodes$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4795,7 +4863,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4850,11 +4921,11 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Customers$Nodes$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Nodes$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Customers$Nodes$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4889,8 +4960,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Nodes$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4986,11 +5057,11 @@ export namespace sasportal_v1alpha1 { get( params: Params$Resource$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5021,8 +5092,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5087,11 +5158,11 @@ export namespace sasportal_v1alpha1 { delete( params: Params$Resource$Deployments$Devices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Deployments$Devices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Deployments$Devices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5120,7 +5191,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5172,11 +5246,11 @@ export namespace sasportal_v1alpha1 { get( params: Params$Resource$Deployments$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Deployments$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Deployments$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5205,7 +5279,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5257,11 +5334,11 @@ export namespace sasportal_v1alpha1 { move( params: Params$Resource$Deployments$Devices$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Deployments$Devices$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Deployments$Devices$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -5292,8 +5369,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5348,11 +5425,11 @@ export namespace sasportal_v1alpha1 { patch( params: Params$Resource$Deployments$Devices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Deployments$Devices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Deployments$Devices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5381,7 +5458,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5433,11 +5513,11 @@ export namespace sasportal_v1alpha1 { signDevice( params: Params$Resource$Deployments$Devices$Signdevice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params?: Params$Resource$Deployments$Devices$Signdevice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params: Params$Resource$Deployments$Devices$Signdevice, options: StreamMethodOptions | BodyResponseCallback, @@ -5466,7 +5546,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Signdevice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5521,11 +5604,11 @@ export namespace sasportal_v1alpha1 { updateSigned( params: Params$Resource$Deployments$Devices$Updatesigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params?: Params$Resource$Deployments$Devices$Updatesigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params: Params$Resource$Deployments$Devices$Updatesigned, options: StreamMethodOptions | BodyResponseCallback, @@ -5554,7 +5637,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Deployments$Devices$Updatesigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5683,11 +5769,11 @@ export namespace sasportal_v1alpha1 { generateSecret( params: Params$Resource$Installer$Generatesecret, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateSecret( params?: Params$Resource$Installer$Generatesecret, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateSecret( params: Params$Resource$Installer$Generatesecret, options: StreamMethodOptions | BodyResponseCallback, @@ -5722,8 +5808,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Installer$Generatesecret; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5780,11 +5866,13 @@ export namespace sasportal_v1alpha1 { validate( params: Params$Resource$Installer$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Installer$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validate( params: Params$Resource$Installer$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -5819,8 +5907,10 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Installer$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5905,11 +5995,11 @@ export namespace sasportal_v1alpha1 { get( params: Params$Resource$Nodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5938,7 +6028,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6005,11 +6098,11 @@ export namespace sasportal_v1alpha1 { delete( params: Params$Resource$Nodes$Deployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodes$Deployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodes$Deployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6038,7 +6131,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6090,11 +6186,11 @@ export namespace sasportal_v1alpha1 { get( params: Params$Resource$Nodes$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodes$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodes$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6125,8 +6221,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6178,11 +6274,13 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Nodes$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6217,8 +6315,10 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6275,11 +6375,11 @@ export namespace sasportal_v1alpha1 { move( params: Params$Resource$Nodes$Deployments$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Nodes$Deployments$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Nodes$Deployments$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -6310,8 +6410,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6366,11 +6466,11 @@ export namespace sasportal_v1alpha1 { patch( params: Params$Resource$Nodes$Deployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Nodes$Deployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Nodes$Deployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6401,8 +6501,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6523,11 +6623,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Deployments$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Deployments$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Deployments$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6556,7 +6656,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6611,11 +6714,11 @@ export namespace sasportal_v1alpha1 { createSigned( params: Params$Resource$Nodes$Deployments$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Nodes$Deployments$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Nodes$Deployments$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -6644,7 +6747,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6699,11 +6805,11 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Deployments$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Deployments$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodes$Deployments$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6738,8 +6844,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Deployments$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6847,11 +6953,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6880,7 +6986,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6935,11 +7044,11 @@ export namespace sasportal_v1alpha1 { createSigned( params: Params$Resource$Nodes$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Nodes$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Nodes$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -6968,7 +7077,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7023,11 +7135,11 @@ export namespace sasportal_v1alpha1 { delete( params: Params$Resource$Nodes$Devices$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodes$Devices$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodes$Devices$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7056,7 +7168,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7108,11 +7223,11 @@ export namespace sasportal_v1alpha1 { get( params: Params$Resource$Nodes$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodes$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodes$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7141,7 +7256,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7193,11 +7311,11 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodes$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7232,8 +7350,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7290,11 +7408,11 @@ export namespace sasportal_v1alpha1 { move( params: Params$Resource$Nodes$Devices$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Nodes$Devices$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Nodes$Devices$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -7325,8 +7443,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7381,11 +7499,11 @@ export namespace sasportal_v1alpha1 { patch( params: Params$Resource$Nodes$Devices$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Nodes$Devices$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Nodes$Devices$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7414,7 +7532,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7466,11 +7587,11 @@ export namespace sasportal_v1alpha1 { signDevice( params: Params$Resource$Nodes$Devices$Signdevice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params?: Params$Resource$Nodes$Devices$Signdevice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; signDevice( params: Params$Resource$Nodes$Devices$Signdevice, options: StreamMethodOptions | BodyResponseCallback, @@ -7499,7 +7620,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Signdevice; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7554,11 +7678,11 @@ export namespace sasportal_v1alpha1 { updateSigned( params: Params$Resource$Nodes$Devices$Updatesigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params?: Params$Resource$Nodes$Devices$Updatesigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSigned( params: Params$Resource$Nodes$Devices$Updatesigned, options: StreamMethodOptions | BodyResponseCallback, @@ -7587,7 +7711,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Devices$Updatesigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7765,11 +7892,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7798,7 +7925,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7853,11 +7983,11 @@ export namespace sasportal_v1alpha1 { delete( params: Params$Resource$Nodes$Nodes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Nodes$Nodes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Nodes$Nodes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7886,7 +8016,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7938,11 +8071,11 @@ export namespace sasportal_v1alpha1 { get( params: Params$Resource$Nodes$Nodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Nodes$Nodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Nodes$Nodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7971,7 +8104,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8022,11 +8158,11 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodes$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8061,8 +8197,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8116,11 +8252,11 @@ export namespace sasportal_v1alpha1 { move( params: Params$Resource$Nodes$Nodes$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Nodes$Nodes$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Nodes$Nodes$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -8151,8 +8287,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8206,11 +8342,11 @@ export namespace sasportal_v1alpha1 { patch( params: Params$Resource$Nodes$Nodes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Nodes$Nodes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Nodes$Nodes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8239,7 +8375,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8369,11 +8508,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Nodes$Deployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Nodes$Deployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Nodes$Deployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8404,8 +8543,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Deployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8460,11 +8599,13 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Nodes$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Nodes$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Nodes$Nodes$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8499,8 +8640,10 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8596,11 +8739,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Nodes$Devices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Nodes$Devices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Nodes$Devices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8629,7 +8772,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Devices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8684,11 +8830,11 @@ export namespace sasportal_v1alpha1 { createSigned( params: Params$Resource$Nodes$Nodes$Devices$Createsigned, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params?: Params$Resource$Nodes$Nodes$Devices$Createsigned, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createSigned( params: Params$Resource$Nodes$Nodes$Devices$Createsigned, options: StreamMethodOptions | BodyResponseCallback, @@ -8717,7 +8863,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Devices$Createsigned; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8772,11 +8921,11 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Nodes$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Nodes$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodes$Nodes$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8811,8 +8960,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8920,11 +9069,11 @@ export namespace sasportal_v1alpha1 { create( params: Params$Resource$Nodes$Nodes$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Nodes$Nodes$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Nodes$Nodes$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8953,7 +9102,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9008,11 +9160,11 @@ export namespace sasportal_v1alpha1 { list( params: Params$Resource$Nodes$Nodes$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Nodes$Nodes$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Nodes$Nodes$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9047,8 +9199,8 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Nodes$Nodes$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9142,11 +9294,11 @@ export namespace sasportal_v1alpha1 { get( params: Params$Resource$Policies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Policies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Policies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9175,7 +9327,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9229,11 +9384,11 @@ export namespace sasportal_v1alpha1 { set( params: Params$Resource$Policies$Set, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; set( params?: Params$Resource$Policies$Set, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; set( params: Params$Resource$Policies$Set, options: StreamMethodOptions | BodyResponseCallback, @@ -9262,7 +9417,10 @@ export namespace sasportal_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Set; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9316,11 +9474,13 @@ export namespace sasportal_v1alpha1 { test( params: Params$Resource$Policies$Test, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; test( params?: Params$Resource$Policies$Test, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; test( params: Params$Resource$Policies$Test, options: StreamMethodOptions | BodyResponseCallback, @@ -9355,8 +9515,10 @@ export namespace sasportal_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Policies$Test; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/script/index.ts b/src/apis/script/index.ts index 0ffffff46e3..cd22571148d 100644 --- a/src/apis/script/index.ts +++ b/src/apis/script/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/script/package.json b/src/apis/script/package.json index af24fe2c79c..3b585ec55f9 100644 --- a/src/apis/script/package.json +++ b/src/apis/script/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/script/v1.ts b/src/apis/script/v1.ts index 069e2301855..b4976e9fe6a 100644 --- a/src/apis/script/v1.ts +++ b/src/apis/script/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -745,11 +745,11 @@ export namespace script_v1 { list( params: Params$Resource$Processes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Processes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Processes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -784,8 +784,8 @@ export namespace script_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Processes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -836,11 +836,11 @@ export namespace script_v1 { listScriptProcesses( params: Params$Resource$Processes$Listscriptprocesses, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listScriptProcesses( params?: Params$Resource$Processes$Listscriptprocesses, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listScriptProcesses( params: Params$Resource$Processes$Listscriptprocesses, options: StreamMethodOptions | BodyResponseCallback, @@ -875,8 +875,8 @@ export namespace script_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Processes$Listscriptprocesses; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1032,11 +1032,11 @@ export namespace script_v1 { create( params: Params$Resource$Projects$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1065,7 +1065,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1116,11 +1119,11 @@ export namespace script_v1 { get( params: Params$Resource$Projects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1149,7 +1152,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1203,11 +1209,11 @@ export namespace script_v1 { getContent( params: Params$Resource$Projects$Getcontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getContent( params?: Params$Resource$Projects$Getcontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getContent( params: Params$Resource$Projects$Getcontent, options: StreamMethodOptions | BodyResponseCallback, @@ -1236,7 +1242,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getcontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1291,11 +1300,11 @@ export namespace script_v1 { getMetrics( params: Params$Resource$Projects$Getmetrics, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getMetrics( params?: Params$Resource$Projects$Getmetrics, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getMetrics( params: Params$Resource$Projects$Getmetrics, options: StreamMethodOptions | BodyResponseCallback, @@ -1324,7 +1333,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getmetrics; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1379,11 +1391,11 @@ export namespace script_v1 { updateContent( params: Params$Resource$Projects$Updatecontent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateContent( params?: Params$Resource$Projects$Updatecontent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateContent( params: Params$Resource$Projects$Updatecontent, options: StreamMethodOptions | BodyResponseCallback, @@ -1412,7 +1424,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatecontent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1525,11 +1540,11 @@ export namespace script_v1 { create( params: Params$Resource$Projects$Deployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Deployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Deployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1558,7 +1573,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1613,11 +1631,11 @@ export namespace script_v1 { delete( params: Params$Resource$Projects$Deployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Deployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Deployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1646,7 +1664,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1700,11 +1721,11 @@ export namespace script_v1 { get( params: Params$Resource$Projects$Deployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Deployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1733,7 +1754,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1787,11 +1811,11 @@ export namespace script_v1 { list( params: Params$Resource$Projects$Deployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Deployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Deployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1824,8 +1848,8 @@ export namespace script_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1880,11 +1904,11 @@ export namespace script_v1 { update( params: Params$Resource$Projects$Deployments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Deployments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Deployments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1913,7 +1937,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Deployments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2040,11 +2067,11 @@ export namespace script_v1 { create( params: Params$Resource$Projects$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2073,7 +2100,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2128,11 +2158,11 @@ export namespace script_v1 { get( params: Params$Resource$Projects$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2161,7 +2191,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2215,11 +2248,11 @@ export namespace script_v1 { list( params: Params$Resource$Projects$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2252,8 +2285,8 @@ export namespace script_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2353,11 +2386,11 @@ export namespace script_v1 { run( params: Params$Resource$Scripts$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Scripts$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Scripts$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -2386,7 +2419,10 @@ export namespace script_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scripts$Run; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/searchads360/index.ts b/src/apis/searchads360/index.ts index 5c226a86f19..56a5cbae8ed 100644 --- a/src/apis/searchads360/index.ts +++ b/src/apis/searchads360/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/searchads360/package.json b/src/apis/searchads360/package.json index 6721848e0b2..15e62c5c26c 100644 --- a/src/apis/searchads360/package.json +++ b/src/apis/searchads360/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/searchads360/v0.ts b/src/apis/searchads360/v0.ts index dbf86b69ed0..85b5840b6b2 100644 --- a/src/apis/searchads360/v0.ts +++ b/src/apis/searchads360/v0.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -4671,11 +4671,13 @@ export namespace searchads360_v0 { listAccessibleCustomers( params: Params$Resource$Customers$Listaccessiblecustomers, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listAccessibleCustomers( params?: Params$Resource$Customers$Listaccessiblecustomers, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listAccessibleCustomers( params: Params$Resource$Customers$Listaccessiblecustomers, options: StreamMethodOptions | BodyResponseCallback, @@ -4710,8 +4712,10 @@ export namespace searchads360_v0 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Listaccessiblecustomers; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4778,11 +4782,13 @@ export namespace searchads360_v0 { get( params: Params$Resource$Customers$Customcolumns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Customers$Customcolumns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Customers$Customcolumns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4817,8 +4823,10 @@ export namespace searchads360_v0 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Customcolumns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4875,11 +4883,13 @@ export namespace searchads360_v0 { list( params: Params$Resource$Customers$Customcolumns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Customers$Customcolumns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Customers$Customcolumns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4914,8 +4924,10 @@ export namespace searchads360_v0 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Customcolumns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4993,11 +5005,13 @@ export namespace searchads360_v0 { search( params: Params$Resource$Customers$Searchads360$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Customers$Searchads360$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Customers$Searchads360$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -5032,8 +5046,10 @@ export namespace searchads360_v0 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Customers$Searchads360$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5109,11 +5125,13 @@ export namespace searchads360_v0 { get( params: Params$Resource$Searchads360fields$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Searchads360fields$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Searchads360fields$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5148,8 +5166,10 @@ export namespace searchads360_v0 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Searchads360fields$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5206,11 +5226,13 @@ export namespace searchads360_v0 { search( params: Params$Resource$Searchads360fields$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Searchads360fields$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Searchads360fields$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -5245,8 +5267,10 @@ export namespace searchads360_v0 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Searchads360fields$Search; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/searchconsole/index.ts b/src/apis/searchconsole/index.ts index 8b91bf63c0d..de97b9905ec 100644 --- a/src/apis/searchconsole/index.ts +++ b/src/apis/searchconsole/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/searchconsole/package.json b/src/apis/searchconsole/package.json index 800c770d0c2..a61c860e093 100644 --- a/src/apis/searchconsole/package.json +++ b/src/apis/searchconsole/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/searchconsole/v1.ts b/src/apis/searchconsole/v1.ts index 3fee551f167..bf31a56671c 100644 --- a/src/apis/searchconsole/v1.ts +++ b/src/apis/searchconsole/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -639,11 +639,11 @@ export namespace searchconsole_v1 { query( params: Params$Resource$Searchanalytics$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Searchanalytics$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Searchanalytics$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -678,8 +678,8 @@ export namespace searchconsole_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Searchanalytics$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -756,11 +756,11 @@ export namespace searchconsole_v1 { delete( params: Params$Resource$Sitemaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sitemaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sitemaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -787,7 +787,10 @@ export namespace searchconsole_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sitemaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -841,11 +844,11 @@ export namespace searchconsole_v1 { get( params: Params$Resource$Sitemaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sitemaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sitemaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -874,7 +877,10 @@ export namespace searchconsole_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sitemaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -928,11 +934,11 @@ export namespace searchconsole_v1 { list( params: Params$Resource$Sitemaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sitemaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sitemaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -965,8 +971,8 @@ export namespace searchconsole_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sitemaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1021,11 +1027,11 @@ export namespace searchconsole_v1 { submit( params: Params$Resource$Sitemaps$Submit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submit( params?: Params$Resource$Sitemaps$Submit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; submit( params: Params$Resource$Sitemaps$Submit, options: StreamMethodOptions | BodyResponseCallback, @@ -1052,7 +1058,10 @@ export namespace searchconsole_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sitemaps$Submit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1154,11 +1163,11 @@ export namespace searchconsole_v1 { add( params: Params$Resource$Sites$Add, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; add( params?: Params$Resource$Sites$Add, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; add( params: Params$Resource$Sites$Add, options: StreamMethodOptions | BodyResponseCallback, @@ -1185,7 +1194,10 @@ export namespace searchconsole_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Add; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1240,11 +1252,11 @@ export namespace searchconsole_v1 { delete( params: Params$Resource$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1271,7 +1283,10 @@ export namespace searchconsole_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1326,11 +1341,11 @@ export namespace searchconsole_v1 { get( params: Params$Resource$Sites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1359,7 +1374,10 @@ export namespace searchconsole_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1414,11 +1432,11 @@ export namespace searchconsole_v1 { list( params: Params$Resource$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1449,8 +1467,8 @@ export namespace searchconsole_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1541,11 +1559,11 @@ export namespace searchconsole_v1 { inspect( params: Params$Resource$Urlinspection$Index$Inspect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; inspect( params?: Params$Resource$Urlinspection$Index$Inspect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; inspect( params: Params$Resource$Urlinspection$Index$Inspect, options: StreamMethodOptions | BodyResponseCallback, @@ -1580,8 +1598,8 @@ export namespace searchconsole_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urlinspection$Index$Inspect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1663,11 +1681,11 @@ export namespace searchconsole_v1 { run( params: Params$Resource$Urltestingtools$Mobilefriendlytest$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Urltestingtools$Mobilefriendlytest$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Urltestingtools$Mobilefriendlytest$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -1702,8 +1720,8 @@ export namespace searchconsole_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Urltestingtools$Mobilefriendlytest$Run; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/secretmanager/index.ts b/src/apis/secretmanager/index.ts index 52db841b617..34a269832d0 100644 --- a/src/apis/secretmanager/index.ts +++ b/src/apis/secretmanager/index.ts @@ -69,7 +69,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/secretmanager/package.json b/src/apis/secretmanager/package.json index d38f20a21ee..cdbbb4b7ff3 100644 --- a/src/apis/secretmanager/package.json +++ b/src/apis/secretmanager/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/secretmanager/v1.ts b/src/apis/secretmanager/v1.ts index d13f2f5c47c..a6816f53334 100644 --- a/src/apis/secretmanager/v1.ts +++ b/src/apis/secretmanager/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -635,11 +635,11 @@ export namespace secretmanager_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -668,7 +668,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -721,11 +724,11 @@ export namespace secretmanager_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -758,8 +761,8 @@ export namespace secretmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -857,11 +860,11 @@ export namespace secretmanager_v1 { addVersion( params: Params$Resource$Projects$Locations$Secrets$Addversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addVersion( params?: Params$Resource$Projects$Locations$Secrets$Addversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addVersion( params: Params$Resource$Projects$Locations$Secrets$Addversion, options: StreamMethodOptions | BodyResponseCallback, @@ -890,7 +893,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Addversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -946,11 +952,11 @@ export namespace secretmanager_v1 { create( params: Params$Resource$Projects$Locations$Secrets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Secrets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Secrets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -979,7 +985,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1035,11 +1044,11 @@ export namespace secretmanager_v1 { delete( params: Params$Resource$Projects$Locations$Secrets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Secrets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Secrets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1068,7 +1077,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1121,11 +1133,11 @@ export namespace secretmanager_v1 { get( params: Params$Resource$Projects$Locations$Secrets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Secrets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Secrets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1154,7 +1166,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1207,11 +1222,11 @@ export namespace secretmanager_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Secrets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Secrets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Secrets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1240,7 +1255,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1296,11 +1314,11 @@ export namespace secretmanager_v1 { list( params: Params$Resource$Projects$Locations$Secrets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Secrets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Secrets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1331,8 +1349,8 @@ export namespace secretmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1388,11 +1406,11 @@ export namespace secretmanager_v1 { patch( params: Params$Resource$Projects$Locations$Secrets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Secrets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Secrets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1421,7 +1439,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1474,11 +1495,11 @@ export namespace secretmanager_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Secrets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Secrets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Secrets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1507,7 +1528,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1563,11 +1587,11 @@ export namespace secretmanager_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Secrets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Secrets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Secrets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1602,8 +1626,8 @@ export namespace secretmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1784,11 +1808,11 @@ export namespace secretmanager_v1 { access( params: Params$Resource$Projects$Locations$Secrets$Versions$Access, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; access( params?: Params$Resource$Projects$Locations$Secrets$Versions$Access, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; access( params: Params$Resource$Projects$Locations$Secrets$Versions$Access, options: StreamMethodOptions | BodyResponseCallback, @@ -1823,8 +1847,8 @@ export namespace secretmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$Access; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1878,11 +1902,11 @@ export namespace secretmanager_v1 { destroy( params: Params$Resource$Projects$Locations$Secrets$Versions$Destroy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params?: Params$Resource$Projects$Locations$Secrets$Versions$Destroy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params: Params$Resource$Projects$Locations$Secrets$Versions$Destroy, options: StreamMethodOptions | BodyResponseCallback, @@ -1911,7 +1935,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$Destroy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1968,11 +1995,11 @@ export namespace secretmanager_v1 { disable( params: Params$Resource$Projects$Locations$Secrets$Versions$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Locations$Secrets$Versions$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Locations$Secrets$Versions$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -2001,7 +2028,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2058,11 +2088,11 @@ export namespace secretmanager_v1 { enable( params: Params$Resource$Projects$Locations$Secrets$Versions$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Locations$Secrets$Versions$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Locations$Secrets$Versions$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -2091,7 +2121,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2145,11 +2178,11 @@ export namespace secretmanager_v1 { get( params: Params$Resource$Projects$Locations$Secrets$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Secrets$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Secrets$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2178,7 +2211,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2231,11 +2267,11 @@ export namespace secretmanager_v1 { list( params: Params$Resource$Projects$Locations$Secrets$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Secrets$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Secrets$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2270,8 +2306,8 @@ export namespace secretmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2406,11 +2442,11 @@ export namespace secretmanager_v1 { addVersion( params: Params$Resource$Projects$Secrets$Addversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addVersion( params?: Params$Resource$Projects$Secrets$Addversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addVersion( params: Params$Resource$Projects$Secrets$Addversion, options: StreamMethodOptions | BodyResponseCallback, @@ -2439,7 +2475,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Addversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2495,11 +2534,11 @@ export namespace secretmanager_v1 { create( params: Params$Resource$Projects$Secrets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Secrets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Secrets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2528,7 +2567,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2584,11 +2626,11 @@ export namespace secretmanager_v1 { delete( params: Params$Resource$Projects$Secrets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Secrets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Secrets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2617,7 +2659,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2670,11 +2715,11 @@ export namespace secretmanager_v1 { get( params: Params$Resource$Projects$Secrets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Secrets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Secrets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2703,7 +2748,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2756,11 +2804,11 @@ export namespace secretmanager_v1 { getIamPolicy( params: Params$Resource$Projects$Secrets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Secrets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Secrets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2789,7 +2837,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2845,11 +2896,11 @@ export namespace secretmanager_v1 { list( params: Params$Resource$Projects$Secrets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Secrets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Secrets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2880,8 +2931,8 @@ export namespace secretmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2937,11 +2988,11 @@ export namespace secretmanager_v1 { patch( params: Params$Resource$Projects$Secrets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Secrets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Secrets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2970,7 +3021,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3023,11 +3077,11 @@ export namespace secretmanager_v1 { setIamPolicy( params: Params$Resource$Projects$Secrets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Secrets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Secrets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3056,7 +3110,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3112,11 +3169,11 @@ export namespace secretmanager_v1 { testIamPermissions( params: Params$Resource$Projects$Secrets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Secrets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Secrets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3151,8 +3208,8 @@ export namespace secretmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3332,11 +3389,11 @@ export namespace secretmanager_v1 { access( params: Params$Resource$Projects$Secrets$Versions$Access, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; access( params?: Params$Resource$Projects$Secrets$Versions$Access, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; access( params: Params$Resource$Projects$Secrets$Versions$Access, options: StreamMethodOptions | BodyResponseCallback, @@ -3371,8 +3428,8 @@ export namespace secretmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Access; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3425,11 +3482,11 @@ export namespace secretmanager_v1 { destroy( params: Params$Resource$Projects$Secrets$Versions$Destroy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params?: Params$Resource$Projects$Secrets$Versions$Destroy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params: Params$Resource$Projects$Secrets$Versions$Destroy, options: StreamMethodOptions | BodyResponseCallback, @@ -3458,7 +3515,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Destroy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3514,11 +3574,11 @@ export namespace secretmanager_v1 { disable( params: Params$Resource$Projects$Secrets$Versions$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Secrets$Versions$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Secrets$Versions$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -3547,7 +3607,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3603,11 +3666,11 @@ export namespace secretmanager_v1 { enable( params: Params$Resource$Projects$Secrets$Versions$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Secrets$Versions$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Secrets$Versions$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -3636,7 +3699,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3689,11 +3755,11 @@ export namespace secretmanager_v1 { get( params: Params$Resource$Projects$Secrets$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Secrets$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Secrets$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3722,7 +3788,10 @@ export namespace secretmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3775,11 +3844,11 @@ export namespace secretmanager_v1 { list( params: Params$Resource$Projects$Secrets$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Secrets$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Secrets$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3814,8 +3883,8 @@ export namespace secretmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/secretmanager/v1beta1.ts b/src/apis/secretmanager/v1beta1.ts index dcbea89665d..bbddca36d3e 100644 --- a/src/apis/secretmanager/v1beta1.ts +++ b/src/apis/secretmanager/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -465,11 +465,11 @@ export namespace secretmanager_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -498,7 +498,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -551,11 +554,11 @@ export namespace secretmanager_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -588,8 +591,8 @@ export namespace secretmanager_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -685,11 +688,11 @@ export namespace secretmanager_v1beta1 { addVersion( params: Params$Resource$Projects$Secrets$Addversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addVersion( params?: Params$Resource$Projects$Secrets$Addversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addVersion( params: Params$Resource$Projects$Secrets$Addversion, options: StreamMethodOptions | BodyResponseCallback, @@ -718,7 +721,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Addversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -774,11 +780,11 @@ export namespace secretmanager_v1beta1 { create( params: Params$Resource$Projects$Secrets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Secrets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Secrets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -807,7 +813,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -863,11 +872,11 @@ export namespace secretmanager_v1beta1 { delete( params: Params$Resource$Projects$Secrets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Secrets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Secrets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -896,7 +905,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -949,11 +961,11 @@ export namespace secretmanager_v1beta1 { get( params: Params$Resource$Projects$Secrets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Secrets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Secrets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -982,7 +994,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1035,11 +1050,11 @@ export namespace secretmanager_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Secrets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Secrets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Secrets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1068,7 +1083,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1124,11 +1142,11 @@ export namespace secretmanager_v1beta1 { list( params: Params$Resource$Projects$Secrets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Secrets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Secrets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1159,8 +1177,8 @@ export namespace secretmanager_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1216,11 +1234,11 @@ export namespace secretmanager_v1beta1 { patch( params: Params$Resource$Projects$Secrets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Secrets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Secrets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1249,7 +1267,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1302,11 +1323,11 @@ export namespace secretmanager_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Secrets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Secrets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Secrets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1335,7 +1356,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1391,11 +1415,11 @@ export namespace secretmanager_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Secrets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Secrets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Secrets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1430,8 +1454,8 @@ export namespace secretmanager_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1603,11 +1627,11 @@ export namespace secretmanager_v1beta1 { access( params: Params$Resource$Projects$Secrets$Versions$Access, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; access( params?: Params$Resource$Projects$Secrets$Versions$Access, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; access( params: Params$Resource$Projects$Secrets$Versions$Access, options: StreamMethodOptions | BodyResponseCallback, @@ -1642,8 +1666,8 @@ export namespace secretmanager_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Access; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1699,11 +1723,11 @@ export namespace secretmanager_v1beta1 { destroy( params: Params$Resource$Projects$Secrets$Versions$Destroy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params?: Params$Resource$Projects$Secrets$Versions$Destroy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params: Params$Resource$Projects$Secrets$Versions$Destroy, options: StreamMethodOptions | BodyResponseCallback, @@ -1732,7 +1756,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Destroy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1788,11 +1815,11 @@ export namespace secretmanager_v1beta1 { disable( params: Params$Resource$Projects$Secrets$Versions$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Secrets$Versions$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Secrets$Versions$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -1821,7 +1848,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1877,11 +1907,11 @@ export namespace secretmanager_v1beta1 { enable( params: Params$Resource$Projects$Secrets$Versions$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Secrets$Versions$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Secrets$Versions$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -1910,7 +1940,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1966,11 +1999,11 @@ export namespace secretmanager_v1beta1 { get( params: Params$Resource$Projects$Secrets$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Secrets$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Secrets$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1999,7 +2032,10 @@ export namespace secretmanager_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2052,11 +2088,11 @@ export namespace secretmanager_v1beta1 { list( params: Params$Resource$Projects$Secrets$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Secrets$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Secrets$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2091,8 +2127,8 @@ export namespace secretmanager_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/secretmanager/v1beta2.ts b/src/apis/secretmanager/v1beta2.ts index 64a30c50509..d0cb84778a8 100644 --- a/src/apis/secretmanager/v1beta2.ts +++ b/src/apis/secretmanager/v1beta2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -635,11 +635,11 @@ export namespace secretmanager_v1beta2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -668,7 +668,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -721,11 +724,11 @@ export namespace secretmanager_v1beta2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -758,8 +761,8 @@ export namespace secretmanager_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -857,11 +860,11 @@ export namespace secretmanager_v1beta2 { addVersion( params: Params$Resource$Projects$Locations$Secrets$Addversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addVersion( params?: Params$Resource$Projects$Locations$Secrets$Addversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addVersion( params: Params$Resource$Projects$Locations$Secrets$Addversion, options: StreamMethodOptions | BodyResponseCallback, @@ -890,7 +893,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Addversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -946,11 +952,11 @@ export namespace secretmanager_v1beta2 { create( params: Params$Resource$Projects$Locations$Secrets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Secrets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Secrets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -979,7 +985,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1035,11 +1044,11 @@ export namespace secretmanager_v1beta2 { delete( params: Params$Resource$Projects$Locations$Secrets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Secrets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Secrets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1068,7 +1077,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1121,11 +1133,11 @@ export namespace secretmanager_v1beta2 { get( params: Params$Resource$Projects$Locations$Secrets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Secrets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Secrets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1154,7 +1166,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1207,11 +1222,11 @@ export namespace secretmanager_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Locations$Secrets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Secrets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Secrets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1240,7 +1255,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1296,11 +1314,11 @@ export namespace secretmanager_v1beta2 { list( params: Params$Resource$Projects$Locations$Secrets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Secrets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Secrets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1331,8 +1349,8 @@ export namespace secretmanager_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1388,11 +1406,11 @@ export namespace secretmanager_v1beta2 { patch( params: Params$Resource$Projects$Locations$Secrets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Secrets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Secrets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1421,7 +1439,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1474,11 +1495,11 @@ export namespace secretmanager_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Locations$Secrets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Secrets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Secrets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1507,7 +1528,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1563,11 +1587,11 @@ export namespace secretmanager_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Locations$Secrets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Secrets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Secrets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1602,8 +1626,8 @@ export namespace secretmanager_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1784,11 +1808,11 @@ export namespace secretmanager_v1beta2 { access( params: Params$Resource$Projects$Locations$Secrets$Versions$Access, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; access( params?: Params$Resource$Projects$Locations$Secrets$Versions$Access, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; access( params: Params$Resource$Projects$Locations$Secrets$Versions$Access, options: StreamMethodOptions | BodyResponseCallback, @@ -1823,8 +1847,8 @@ export namespace secretmanager_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$Access; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1881,11 +1905,11 @@ export namespace secretmanager_v1beta2 { destroy( params: Params$Resource$Projects$Locations$Secrets$Versions$Destroy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params?: Params$Resource$Projects$Locations$Secrets$Versions$Destroy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params: Params$Resource$Projects$Locations$Secrets$Versions$Destroy, options: StreamMethodOptions | BodyResponseCallback, @@ -1914,7 +1938,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$Destroy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1971,11 +1998,11 @@ export namespace secretmanager_v1beta2 { disable( params: Params$Resource$Projects$Locations$Secrets$Versions$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Locations$Secrets$Versions$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Locations$Secrets$Versions$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -2004,7 +2031,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2061,11 +2091,11 @@ export namespace secretmanager_v1beta2 { enable( params: Params$Resource$Projects$Locations$Secrets$Versions$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Locations$Secrets$Versions$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Locations$Secrets$Versions$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -2094,7 +2124,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2151,11 +2184,11 @@ export namespace secretmanager_v1beta2 { get( params: Params$Resource$Projects$Locations$Secrets$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Secrets$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Secrets$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2184,7 +2217,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2237,11 +2273,11 @@ export namespace secretmanager_v1beta2 { list( params: Params$Resource$Projects$Locations$Secrets$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Secrets$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Secrets$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2276,8 +2312,8 @@ export namespace secretmanager_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Secrets$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2412,11 +2448,11 @@ export namespace secretmanager_v1beta2 { addVersion( params: Params$Resource$Projects$Secrets$Addversion, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addVersion( params?: Params$Resource$Projects$Secrets$Addversion, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addVersion( params: Params$Resource$Projects$Secrets$Addversion, options: StreamMethodOptions | BodyResponseCallback, @@ -2445,7 +2481,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Addversion; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2501,11 +2540,11 @@ export namespace secretmanager_v1beta2 { create( params: Params$Resource$Projects$Secrets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Secrets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Secrets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2534,7 +2573,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2590,11 +2632,11 @@ export namespace secretmanager_v1beta2 { delete( params: Params$Resource$Projects$Secrets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Secrets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Secrets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2623,7 +2665,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2676,11 +2721,11 @@ export namespace secretmanager_v1beta2 { get( params: Params$Resource$Projects$Secrets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Secrets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Secrets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2709,7 +2754,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2762,11 +2810,11 @@ export namespace secretmanager_v1beta2 { getIamPolicy( params: Params$Resource$Projects$Secrets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Secrets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Secrets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2795,7 +2843,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2851,11 +2902,11 @@ export namespace secretmanager_v1beta2 { list( params: Params$Resource$Projects$Secrets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Secrets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Secrets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2886,8 +2937,8 @@ export namespace secretmanager_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2943,11 +2994,11 @@ export namespace secretmanager_v1beta2 { patch( params: Params$Resource$Projects$Secrets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Secrets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Secrets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2976,7 +3027,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3029,11 +3083,11 @@ export namespace secretmanager_v1beta2 { setIamPolicy( params: Params$Resource$Projects$Secrets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Secrets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Secrets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3062,7 +3116,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3118,11 +3175,11 @@ export namespace secretmanager_v1beta2 { testIamPermissions( params: Params$Resource$Projects$Secrets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Secrets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Secrets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3157,8 +3214,8 @@ export namespace secretmanager_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3338,11 +3395,11 @@ export namespace secretmanager_v1beta2 { access( params: Params$Resource$Projects$Secrets$Versions$Access, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; access( params?: Params$Resource$Projects$Secrets$Versions$Access, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; access( params: Params$Resource$Projects$Secrets$Versions$Access, options: StreamMethodOptions | BodyResponseCallback, @@ -3377,8 +3434,8 @@ export namespace secretmanager_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Access; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3434,11 +3491,11 @@ export namespace secretmanager_v1beta2 { destroy( params: Params$Resource$Projects$Secrets$Versions$Destroy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params?: Params$Resource$Projects$Secrets$Versions$Destroy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; destroy( params: Params$Resource$Projects$Secrets$Versions$Destroy, options: StreamMethodOptions | BodyResponseCallback, @@ -3467,7 +3524,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Destroy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3523,11 +3583,11 @@ export namespace secretmanager_v1beta2 { disable( params: Params$Resource$Projects$Secrets$Versions$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Projects$Secrets$Versions$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Projects$Secrets$Versions$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -3556,7 +3616,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3612,11 +3675,11 @@ export namespace secretmanager_v1beta2 { enable( params: Params$Resource$Projects$Secrets$Versions$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Projects$Secrets$Versions$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Projects$Secrets$Versions$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -3645,7 +3708,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3701,11 +3767,11 @@ export namespace secretmanager_v1beta2 { get( params: Params$Resource$Projects$Secrets$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Secrets$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Secrets$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3734,7 +3800,10 @@ export namespace secretmanager_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3787,11 +3856,11 @@ export namespace secretmanager_v1beta2 { list( params: Params$Resource$Projects$Secrets$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Secrets$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Secrets$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3826,8 +3895,8 @@ export namespace secretmanager_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Secrets$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/securitycenter/index.ts b/src/apis/securitycenter/index.ts index 8c7273fdb47..8ab7c4de134 100644 --- a/src/apis/securitycenter/index.ts +++ b/src/apis/securitycenter/index.ts @@ -93,7 +93,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/securitycenter/package.json b/src/apis/securitycenter/package.json index d5bf72d16a8..298aa896831 100644 --- a/src/apis/securitycenter/package.json +++ b/src/apis/securitycenter/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/securitycenter/v1.ts b/src/apis/securitycenter/v1.ts index 1dd3b665104..9ffb3c258f7 100644 --- a/src/apis/securitycenter/v1.ts +++ b/src/apis/securitycenter/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -894,7 +894,7 @@ export namespace securitycenter_v1 { */ description?: string | null; /** - * The end position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed.. + * The end position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed. */ end?: Schema$Position; /** @@ -910,6 +910,9 @@ export namespace securitycenter_v1 { * A list of zero or more errors encountered while validating the uploaded configuration of an Event Threat Detection Custom Module. */ export interface Schema$CustomModuleValidationErrors { + /** + * The list of errors. + */ errors?: Schema$CustomModuleValidationError[]; } /** @@ -5606,7 +5609,13 @@ export namespace securitycenter_v1 { * A position in the uploaded text version of a module. */ export interface Schema$Position { + /** + * The column number. + */ columnNumber?: number | null; + /** + * The line number. + */ lineNumber?: number | null; } /** @@ -6395,11 +6404,11 @@ export namespace securitycenter_v1 { group( params: Params$Resource$Folders$Assets$Group, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; group( params?: Params$Resource$Folders$Assets$Group, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; group( params: Params$Resource$Folders$Assets$Group, options: StreamMethodOptions | BodyResponseCallback, @@ -6430,8 +6439,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Assets$Group; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6487,11 +6496,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Folders$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6522,8 +6531,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6579,11 +6588,11 @@ export namespace securitycenter_v1 { updateSecurityMarks( params: Params$Resource$Folders$Assets$Updatesecuritymarks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params?: Params$Resource$Folders$Assets$Updatesecuritymarks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params: Params$Resource$Folders$Assets$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback, @@ -6614,7 +6623,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Assets$Updatesecuritymarks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6742,11 +6754,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Folders$Bigqueryexports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Bigqueryexports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Folders$Bigqueryexports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6781,8 +6795,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Bigqueryexports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6840,11 +6856,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Folders$Bigqueryexports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Bigqueryexports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Bigqueryexports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6873,7 +6889,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Bigqueryexports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6926,11 +6945,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Folders$Bigqueryexports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Bigqueryexports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Bigqueryexports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6965,8 +6986,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Bigqueryexports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7021,11 +7044,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Folders$Bigqueryexports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Bigqueryexports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Bigqueryexports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7060,8 +7083,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Bigqueryexports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7117,11 +7140,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Folders$Bigqueryexports$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Bigqueryexports$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Folders$Bigqueryexports$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7156,8 +7181,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Bigqueryexports$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7291,11 +7318,13 @@ export namespace securitycenter_v1 { validateCustomModule( params: Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateCustomModule( params?: Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validateCustomModule( params: Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule, options: StreamMethodOptions | BodyResponseCallback, @@ -7330,8 +7359,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Validatecustommodule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7410,11 +7441,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7449,8 +7482,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7509,11 +7544,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7542,7 +7577,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7596,11 +7634,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7635,8 +7675,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7692,11 +7734,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7731,8 +7775,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7791,11 +7837,13 @@ export namespace securitycenter_v1 { listDescendant( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDescendant( params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listDescendant( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions | BodyResponseCallback, @@ -7830,8 +7878,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Listdescendant; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7889,11 +7939,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7928,8 +7980,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8065,11 +8119,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8104,8 +8160,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8161,11 +8219,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8200,8 +8260,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Effectivecustommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8290,11 +8352,11 @@ export namespace securitycenter_v1 { bulkMute( params: Params$Resource$Folders$Findings$Bulkmute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkMute( params?: Params$Resource$Folders$Findings$Bulkmute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkMute( params: Params$Resource$Folders$Findings$Bulkmute, options: StreamMethodOptions | BodyResponseCallback, @@ -8323,7 +8385,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Findings$Bulkmute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8410,11 +8475,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Folders$Locations$Muteconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Locations$Muteconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Locations$Muteconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8443,7 +8508,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Muteconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8496,11 +8564,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Folders$Locations$Muteconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Locations$Muteconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Locations$Muteconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8535,8 +8605,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Muteconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8591,11 +8663,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Folders$Locations$Muteconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Locations$Muteconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Folders$Locations$Muteconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8630,8 +8704,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Locations$Muteconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8724,11 +8800,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Folders$Muteconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Muteconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Folders$Muteconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8763,8 +8841,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Muteconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8822,11 +8902,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Folders$Muteconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Muteconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Muteconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8855,7 +8935,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Muteconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8908,11 +8991,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Folders$Muteconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Muteconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Muteconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8947,8 +9032,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Muteconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9003,11 +9090,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Folders$Muteconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Muteconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Muteconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9040,8 +9127,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Muteconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9097,11 +9184,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Folders$Muteconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Muteconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Folders$Muteconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9136,8 +9225,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Muteconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9261,11 +9352,11 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Folders$Notificationconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Notificationconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Folders$Notificationconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9296,8 +9387,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Notificationconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9353,11 +9444,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Folders$Notificationconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Notificationconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Notificationconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9386,7 +9477,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Notificationconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9439,11 +9533,11 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Folders$Notificationconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Notificationconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Notificationconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9474,8 +9568,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Notificationconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9528,11 +9622,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Folders$Notificationconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Notificationconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Notificationconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9567,8 +9661,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Notificationconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9626,11 +9720,11 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Folders$Notificationconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Notificationconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Notificationconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9661,8 +9755,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Notificationconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9801,11 +9895,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9840,8 +9936,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9900,11 +9998,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9933,7 +10031,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9987,11 +10088,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10026,8 +10129,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10083,11 +10188,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10122,8 +10229,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10182,11 +10291,13 @@ export namespace securitycenter_v1 { listDescendant( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Listdescendant, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDescendant( params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Listdescendant, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listDescendant( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Listdescendant, options: StreamMethodOptions | BodyResponseCallback, @@ -10221,8 +10332,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Listdescendant; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10280,11 +10393,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10319,8 +10434,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10376,11 +10493,13 @@ export namespace securitycenter_v1 { simulate( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Simulate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; simulate( params?: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Simulate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; simulate( params: Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Simulate, options: StreamMethodOptions | BodyResponseCallback, @@ -10415,8 +10534,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Simulate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10567,11 +10688,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10606,8 +10729,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10663,11 +10788,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10702,8 +10829,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10794,11 +10923,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Folders$Sources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Sources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Sources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10829,8 +10958,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10912,11 +11041,11 @@ export namespace securitycenter_v1 { group( params: Params$Resource$Folders$Sources$Findings$Group, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; group( params?: Params$Resource$Folders$Sources$Findings$Group, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; group( params: Params$Resource$Folders$Sources$Findings$Group, options: StreamMethodOptions | BodyResponseCallback, @@ -10949,8 +11078,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sources$Findings$Group; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11006,11 +11135,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Folders$Sources$Findings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$Sources$Findings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$Sources$Findings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11043,8 +11172,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sources$Findings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11100,11 +11229,11 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Folders$Sources$Findings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Sources$Findings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Folders$Sources$Findings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11133,7 +11262,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sources$Findings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11186,11 +11318,11 @@ export namespace securitycenter_v1 { setMute( params: Params$Resource$Folders$Sources$Findings$Setmute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMute( params?: Params$Resource$Folders$Sources$Findings$Setmute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMute( params: Params$Resource$Folders$Sources$Findings$Setmute, options: StreamMethodOptions | BodyResponseCallback, @@ -11219,7 +11351,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sources$Findings$Setmute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11275,11 +11410,11 @@ export namespace securitycenter_v1 { setState( params: Params$Resource$Folders$Sources$Findings$Setstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setState( params?: Params$Resource$Folders$Sources$Findings$Setstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setState( params: Params$Resource$Folders$Sources$Findings$Setstate, options: StreamMethodOptions | BodyResponseCallback, @@ -11308,7 +11443,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sources$Findings$Setstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11364,11 +11502,11 @@ export namespace securitycenter_v1 { updateSecurityMarks( params: Params$Resource$Folders$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params?: Params$Resource$Folders$Sources$Findings$Updatesecuritymarks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params: Params$Resource$Folders$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback, @@ -11399,7 +11537,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sources$Findings$Updatesecuritymarks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11568,11 +11709,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Folders$Sources$Findings$Externalsystems$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Folders$Sources$Findings$Externalsystems$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Folders$Sources$Findings$Externalsystems$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11607,8 +11750,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Sources$Findings$Externalsystems$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11727,11 +11872,11 @@ export namespace securitycenter_v1 { getOrganizationSettings( params: Params$Resource$Organizations$Getorganizationsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOrganizationSettings( params?: Params$Resource$Organizations$Getorganizationsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getOrganizationSettings( params: Params$Resource$Organizations$Getorganizationsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -11766,8 +11911,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getorganizationsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11820,11 +11965,11 @@ export namespace securitycenter_v1 { updateOrganizationSettings( params: Params$Resource$Organizations$Updateorganizationsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateOrganizationSettings( params?: Params$Resource$Organizations$Updateorganizationsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateOrganizationSettings( params: Params$Resource$Organizations$Updateorganizationsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -11859,8 +12004,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updateorganizationsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11944,11 +12089,11 @@ export namespace securitycenter_v1 { group( params: Params$Resource$Organizations$Assets$Group, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; group( params?: Params$Resource$Organizations$Assets$Group, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; group( params: Params$Resource$Organizations$Assets$Group, options: StreamMethodOptions | BodyResponseCallback, @@ -11979,8 +12124,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$Group; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12036,11 +12181,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12071,8 +12216,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12128,11 +12273,11 @@ export namespace securitycenter_v1 { runDiscovery( params: Params$Resource$Organizations$Assets$Rundiscovery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runDiscovery( params?: Params$Resource$Organizations$Assets$Rundiscovery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runDiscovery( params: Params$Resource$Organizations$Assets$Rundiscovery, options: StreamMethodOptions | BodyResponseCallback, @@ -12161,7 +12306,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$Rundiscovery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12217,11 +12365,11 @@ export namespace securitycenter_v1 { updateSecurityMarks( params: Params$Resource$Organizations$Assets$Updatesecuritymarks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params?: Params$Resource$Organizations$Assets$Updatesecuritymarks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params: Params$Resource$Organizations$Assets$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback, @@ -12252,7 +12400,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$Updatesecuritymarks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12392,11 +12543,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Attackpaths$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Attackpaths$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Attackpaths$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12429,8 +12580,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Attackpaths$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12513,11 +12664,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Organizations$Bigqueryexports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Bigqueryexports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Bigqueryexports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12552,8 +12705,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Bigqueryexports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12611,11 +12766,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Organizations$Bigqueryexports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Bigqueryexports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Bigqueryexports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12644,7 +12799,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Bigqueryexports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12697,11 +12855,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Bigqueryexports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Bigqueryexports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Bigqueryexports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12736,8 +12896,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Bigqueryexports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12792,11 +12954,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Bigqueryexports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Bigqueryexports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Bigqueryexports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12831,8 +12993,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Bigqueryexports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12888,11 +13050,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Organizations$Bigqueryexports$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Bigqueryexports$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Bigqueryexports$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12927,8 +13091,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Bigqueryexports$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13062,11 +13228,13 @@ export namespace securitycenter_v1 { validateCustomModule( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Validatecustommodule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateCustomModule( params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Validatecustommodule, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validateCustomModule( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Validatecustommodule, options: StreamMethodOptions | BodyResponseCallback, @@ -13101,8 +13269,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Validatecustommodule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13181,11 +13351,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -13220,8 +13392,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13280,11 +13454,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13313,7 +13487,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13367,11 +13544,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13406,8 +13585,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13463,11 +13644,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13502,8 +13685,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13562,11 +13747,13 @@ export namespace securitycenter_v1 { listDescendant( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDescendant( params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listDescendant( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions | BodyResponseCallback, @@ -13601,8 +13788,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Listdescendant; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13660,11 +13849,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13699,8 +13890,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13836,11 +14029,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13875,8 +14070,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13932,11 +14129,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13971,8 +14170,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Effectivecustommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14061,11 +14262,11 @@ export namespace securitycenter_v1 { bulkMute( params: Params$Resource$Organizations$Findings$Bulkmute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkMute( params?: Params$Resource$Organizations$Findings$Bulkmute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkMute( params: Params$Resource$Organizations$Findings$Bulkmute, options: StreamMethodOptions | BodyResponseCallback, @@ -14094,7 +14295,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Findings$Bulkmute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14181,11 +14385,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Organizations$Locations$Muteconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Muteconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Muteconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14214,7 +14418,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Muteconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14268,11 +14475,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Locations$Muteconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Muteconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Locations$Muteconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14307,8 +14516,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Muteconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14363,11 +14574,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Organizations$Locations$Muteconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Muteconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Locations$Muteconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14402,8 +14615,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Muteconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14497,11 +14712,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Organizations$Muteconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Muteconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Muteconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -14536,8 +14753,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Muteconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14595,11 +14814,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Organizations$Muteconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Muteconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Muteconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -14628,7 +14847,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Muteconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14681,11 +14903,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Muteconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Muteconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Muteconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -14720,8 +14944,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Muteconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14776,11 +15002,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Muteconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Muteconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Muteconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14813,8 +15039,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Muteconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14870,11 +15096,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Organizations$Muteconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Muteconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Muteconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14909,8 +15137,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Muteconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15034,11 +15264,11 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Organizations$Notificationconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Notificationconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Notificationconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -15069,8 +15299,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Notificationconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15126,11 +15356,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Organizations$Notificationconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Notificationconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Notificationconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15159,7 +15389,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Notificationconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15212,11 +15445,11 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Notificationconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Notificationconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Notificationconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15247,8 +15480,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Notificationconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15301,11 +15534,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Notificationconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Notificationconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Notificationconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15340,8 +15573,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Notificationconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15399,11 +15632,11 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Organizations$Notificationconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Notificationconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Notificationconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -15434,8 +15667,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Notificationconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15557,11 +15790,11 @@ export namespace securitycenter_v1 { cancel( params: Params$Resource$Organizations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -15590,7 +15823,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15643,11 +15879,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Organizations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -15676,7 +15912,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15729,11 +15968,11 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -15762,7 +16001,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15815,11 +16057,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -15852,8 +16094,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -15954,11 +16196,13 @@ export namespace securitycenter_v1 { batchCreate( params: Params$Resource$Organizations$Resourcevalueconfigs$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Organizations$Resourcevalueconfigs$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchCreate( params: Params$Resource$Organizations$Resourcevalueconfigs$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -15993,8 +16237,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Resourcevalueconfigs$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16052,11 +16298,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Organizations$Resourcevalueconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Resourcevalueconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Resourcevalueconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16085,7 +16331,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Resourcevalueconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16139,11 +16388,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Resourcevalueconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Resourcevalueconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Resourcevalueconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16178,8 +16429,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Resourcevalueconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16234,11 +16487,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Resourcevalueconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Resourcevalueconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Resourcevalueconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16273,8 +16528,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Resourcevalueconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16332,11 +16589,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Organizations$Resourcevalueconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Resourcevalueconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Resourcevalueconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -16371,8 +16630,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Resourcevalueconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16509,11 +16770,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -16548,8 +16811,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16608,11 +16873,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -16641,7 +16906,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16695,11 +16963,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -16734,8 +17004,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16791,11 +17063,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -16830,8 +17104,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16890,11 +17166,13 @@ export namespace securitycenter_v1 { listDescendant( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Listdescendant, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDescendant( params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Listdescendant, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listDescendant( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Listdescendant, options: StreamMethodOptions | BodyResponseCallback, @@ -16929,8 +17207,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Listdescendant; let options = (optionsOrCallback || {}) as MethodOptions; @@ -16988,11 +17268,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -17027,8 +17309,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17084,11 +17368,13 @@ export namespace securitycenter_v1 { simulate( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Simulate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; simulate( params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Simulate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; simulate( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Simulate, options: StreamMethodOptions | BodyResponseCallback, @@ -17123,8 +17409,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Simulate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17275,11 +17563,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17314,8 +17604,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17371,11 +17663,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17410,8 +17704,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17512,11 +17808,11 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Simulations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Simulations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Simulations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -17545,7 +17841,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Simulations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17630,11 +17929,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Simulations$Attackexposureresults$Attackpaths$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Simulations$Attackexposureresults$Attackpaths$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Simulations$Attackexposureresults$Attackpaths$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17667,8 +17966,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Simulations$Attackexposureresults$Attackpaths$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17752,11 +18051,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Simulations$Attackexposureresults$Valuedresources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Simulations$Attackexposureresults$Valuedresources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Simulations$Attackexposureresults$Valuedresources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17791,8 +18090,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Simulations$Attackexposureresults$Valuedresources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -17880,11 +18179,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Simulations$Attackpaths$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Simulations$Attackpaths$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Simulations$Attackpaths$List, options: StreamMethodOptions | BodyResponseCallback, @@ -17917,8 +18216,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Simulations$Attackpaths$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18007,11 +18306,11 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Simulations$Valuedresources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Simulations$Valuedresources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Simulations$Valuedresources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18040,7 +18339,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Simulations$Valuedresources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18094,11 +18396,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Simulations$Valuedresources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Simulations$Valuedresources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Simulations$Valuedresources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18133,8 +18435,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Simulations$Valuedresources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18229,11 +18531,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Simulations$Valuedresources$Attackpaths$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Simulations$Valuedresources$Attackpaths$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Simulations$Valuedresources$Attackpaths$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18266,8 +18568,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Simulations$Valuedresources$Attackpaths$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18353,11 +18655,11 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Organizations$Sources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Sources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Sources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -18386,7 +18688,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18442,11 +18747,11 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Organizations$Sources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Sources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Sources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -18475,7 +18780,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18528,11 +18836,11 @@ export namespace securitycenter_v1 { getIamPolicy( params: Params$Resource$Organizations$Sources$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Organizations$Sources$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Organizations$Sources$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -18561,7 +18869,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18617,11 +18928,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Sources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Sources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Sources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -18652,8 +18963,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18709,11 +19020,11 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Organizations$Sources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Sources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Sources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -18742,7 +19053,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18795,11 +19109,11 @@ export namespace securitycenter_v1 { setIamPolicy( params: Params$Resource$Organizations$Sources$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Organizations$Sources$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Organizations$Sources$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -18828,7 +19142,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -18884,11 +19201,11 @@ export namespace securitycenter_v1 { testIamPermissions( params: Params$Resource$Organizations$Sources$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Sources$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Organizations$Sources$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -18923,8 +19240,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19079,11 +19396,11 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Organizations$Sources$Findings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Sources$Findings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Sources$Findings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -19112,7 +19429,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19168,11 +19488,11 @@ export namespace securitycenter_v1 { group( params: Params$Resource$Organizations$Sources$Findings$Group, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; group( params?: Params$Resource$Organizations$Sources$Findings$Group, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; group( params: Params$Resource$Organizations$Sources$Findings$Group, options: StreamMethodOptions | BodyResponseCallback, @@ -19205,8 +19525,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Group; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19262,11 +19582,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Sources$Findings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Sources$Findings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Sources$Findings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19299,8 +19619,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19356,11 +19676,11 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Organizations$Sources$Findings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Sources$Findings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Sources$Findings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19389,7 +19709,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19442,11 +19765,11 @@ export namespace securitycenter_v1 { setMute( params: Params$Resource$Organizations$Sources$Findings$Setmute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMute( params?: Params$Resource$Organizations$Sources$Findings$Setmute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMute( params: Params$Resource$Organizations$Sources$Findings$Setmute, options: StreamMethodOptions | BodyResponseCallback, @@ -19475,7 +19798,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Setmute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19531,11 +19857,11 @@ export namespace securitycenter_v1 { setState( params: Params$Resource$Organizations$Sources$Findings$Setstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setState( params?: Params$Resource$Organizations$Sources$Findings$Setstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setState( params: Params$Resource$Organizations$Sources$Findings$Setstate, options: StreamMethodOptions | BodyResponseCallback, @@ -19564,7 +19890,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Setstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19620,11 +19949,11 @@ export namespace securitycenter_v1 { updateSecurityMarks( params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params?: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback, @@ -19655,7 +19984,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19840,11 +20172,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -19879,8 +20213,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Externalsystems$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -19960,11 +20296,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Organizations$Valuedresources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Valuedresources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Valuedresources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -19999,8 +20335,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Valuedresources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20118,11 +20454,11 @@ export namespace securitycenter_v1 { group( params: Params$Resource$Projects$Assets$Group, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; group( params?: Params$Resource$Projects$Assets$Group, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; group( params: Params$Resource$Projects$Assets$Group, options: StreamMethodOptions | BodyResponseCallback, @@ -20153,8 +20489,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Assets$Group; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20210,11 +20546,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Projects$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20245,8 +20581,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20302,11 +20638,11 @@ export namespace securitycenter_v1 { updateSecurityMarks( params: Params$Resource$Projects$Assets$Updatesecuritymarks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params?: Params$Resource$Projects$Assets$Updatesecuritymarks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params: Params$Resource$Projects$Assets$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback, @@ -20337,7 +20673,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Assets$Updatesecuritymarks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20465,11 +20804,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Projects$Bigqueryexports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Bigqueryexports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Bigqueryexports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -20504,8 +20845,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Bigqueryexports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20563,11 +20906,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Projects$Bigqueryexports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Bigqueryexports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Bigqueryexports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -20596,7 +20939,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Bigqueryexports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20649,11 +20995,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Projects$Bigqueryexports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Bigqueryexports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Bigqueryexports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -20688,8 +21036,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Bigqueryexports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20744,11 +21094,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Projects$Bigqueryexports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Bigqueryexports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Bigqueryexports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -20783,8 +21133,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Bigqueryexports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -20840,11 +21190,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Projects$Bigqueryexports$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Bigqueryexports$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Bigqueryexports$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -20879,8 +21231,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Bigqueryexports$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21014,11 +21368,13 @@ export namespace securitycenter_v1 { validateCustomModule( params: Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validateCustomModule( params?: Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; validateCustomModule( params: Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule, options: StreamMethodOptions | BodyResponseCallback, @@ -21053,8 +21409,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Validatecustommodule; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21133,11 +21491,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -21172,8 +21532,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21232,11 +21594,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -21265,7 +21627,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21319,11 +21684,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21358,8 +21725,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21415,11 +21784,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21454,8 +21825,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21514,11 +21887,13 @@ export namespace securitycenter_v1 { listDescendant( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDescendant( params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listDescendant( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant, options: StreamMethodOptions | BodyResponseCallback, @@ -21553,8 +21928,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Listdescendant; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21612,11 +21989,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -21651,8 +22030,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21788,11 +22169,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -21827,8 +22210,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -21884,11 +22269,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -21923,8 +22310,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Effectivecustommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22013,11 +22402,11 @@ export namespace securitycenter_v1 { bulkMute( params: Params$Resource$Projects$Findings$Bulkmute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkMute( params?: Params$Resource$Projects$Findings$Bulkmute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkMute( params: Params$Resource$Projects$Findings$Bulkmute, options: StreamMethodOptions | BodyResponseCallback, @@ -22046,7 +22435,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Findings$Bulkmute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22133,11 +22525,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Projects$Locations$Muteconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Muteconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Muteconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22166,7 +22558,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Muteconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22219,11 +22614,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Projects$Locations$Muteconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Muteconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Locations$Muteconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22258,8 +22655,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Muteconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22314,11 +22713,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Projects$Locations$Muteconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Muteconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Locations$Muteconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22353,8 +22754,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Muteconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22447,11 +22850,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Projects$Muteconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Muteconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Muteconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -22486,8 +22891,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Muteconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22545,11 +22952,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Projects$Muteconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Muteconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Muteconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -22578,7 +22985,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Muteconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22631,11 +23041,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Projects$Muteconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Muteconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Muteconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -22670,8 +23082,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Muteconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22726,11 +23140,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Projects$Muteconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Muteconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Muteconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -22763,8 +23177,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Muteconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22820,11 +23234,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Projects$Muteconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Muteconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Muteconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -22859,8 +23275,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Muteconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -22984,11 +23402,11 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Projects$Notificationconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Notificationconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Notificationconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23019,8 +23437,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23076,11 +23494,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Projects$Notificationconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Notificationconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Notificationconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23109,7 +23527,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23162,11 +23583,11 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Projects$Notificationconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Notificationconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Notificationconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23197,8 +23618,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23251,11 +23672,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Projects$Notificationconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Notificationconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Notificationconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23290,8 +23711,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23349,11 +23770,11 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Projects$Notificationconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Notificationconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Notificationconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -23384,8 +23805,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Notificationconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23524,11 +23945,13 @@ export namespace securitycenter_v1 { create( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -23563,8 +23986,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23623,11 +24048,11 @@ export namespace securitycenter_v1 { delete( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -23656,7 +24081,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23710,11 +24138,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -23749,8 +24179,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23806,11 +24238,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -23845,8 +24279,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -23905,11 +24341,13 @@ export namespace securitycenter_v1 { listDescendant( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Listdescendant, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listDescendant( params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Listdescendant, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listDescendant( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Listdescendant, options: StreamMethodOptions | BodyResponseCallback, @@ -23944,8 +24382,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Listdescendant; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24003,11 +24443,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24042,8 +24484,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24099,11 +24543,13 @@ export namespace securitycenter_v1 { simulate( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Simulate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; simulate( params?: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Simulate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; simulate( params: Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Simulate, options: StreamMethodOptions | BodyResponseCallback, @@ -24138,8 +24584,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Simulate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24290,11 +24738,13 @@ export namespace securitycenter_v1 { get( params: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -24329,8 +24779,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24386,11 +24838,13 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24425,8 +24879,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24517,11 +24973,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Projects$Sources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24552,8 +25008,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24635,11 +25091,11 @@ export namespace securitycenter_v1 { group( params: Params$Resource$Projects$Sources$Findings$Group, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; group( params?: Params$Resource$Projects$Sources$Findings$Group, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; group( params: Params$Resource$Projects$Sources$Findings$Group, options: StreamMethodOptions | BodyResponseCallback, @@ -24672,8 +25128,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sources$Findings$Group; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24729,11 +25185,11 @@ export namespace securitycenter_v1 { list( params: Params$Resource$Projects$Sources$Findings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Sources$Findings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Sources$Findings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -24766,8 +25222,8 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sources$Findings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24823,11 +25279,11 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Projects$Sources$Findings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Sources$Findings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Sources$Findings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -24856,7 +25312,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sources$Findings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24909,11 +25368,11 @@ export namespace securitycenter_v1 { setMute( params: Params$Resource$Projects$Sources$Findings$Setmute, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setMute( params?: Params$Resource$Projects$Sources$Findings$Setmute, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setMute( params: Params$Resource$Projects$Sources$Findings$Setmute, options: StreamMethodOptions | BodyResponseCallback, @@ -24942,7 +25401,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sources$Findings$Setmute; let options = (optionsOrCallback || {}) as MethodOptions; @@ -24998,11 +25460,11 @@ export namespace securitycenter_v1 { setState( params: Params$Resource$Projects$Sources$Findings$Setstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setState( params?: Params$Resource$Projects$Sources$Findings$Setstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setState( params: Params$Resource$Projects$Sources$Findings$Setstate, options: StreamMethodOptions | BodyResponseCallback, @@ -25031,7 +25493,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sources$Findings$Setstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25087,11 +25552,11 @@ export namespace securitycenter_v1 { updateSecurityMarks( params: Params$Resource$Projects$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params?: Params$Resource$Projects$Sources$Findings$Updatesecuritymarks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params: Params$Resource$Projects$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback, @@ -25122,7 +25587,10 @@ export namespace securitycenter_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sources$Findings$Updatesecuritymarks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -25291,11 +25759,13 @@ export namespace securitycenter_v1 { patch( params: Params$Resource$Projects$Sources$Findings$Externalsystems$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Sources$Findings$Externalsystems$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Projects$Sources$Findings$Externalsystems$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -25330,8 +25800,10 @@ export namespace securitycenter_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Sources$Findings$Externalsystems$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/securitycenter/v1beta1.ts b/src/apis/securitycenter/v1beta1.ts index e455b8917ba..e2dfb2970d3 100644 --- a/src/apis/securitycenter/v1beta1.ts +++ b/src/apis/securitycenter/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5686,11 +5686,11 @@ export namespace securitycenter_v1beta1 { getOrganizationSettings( params: Params$Resource$Organizations$Getorganizationsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOrganizationSettings( params?: Params$Resource$Organizations$Getorganizationsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getOrganizationSettings( params: Params$Resource$Organizations$Getorganizationsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -5725,8 +5725,8 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getorganizationsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5779,11 +5779,11 @@ export namespace securitycenter_v1beta1 { updateOrganizationSettings( params: Params$Resource$Organizations$Updateorganizationsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateOrganizationSettings( params?: Params$Resource$Organizations$Updateorganizationsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateOrganizationSettings( params: Params$Resource$Organizations$Updateorganizationsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -5818,8 +5818,8 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updateorganizationsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5903,11 +5903,11 @@ export namespace securitycenter_v1beta1 { group( params: Params$Resource$Organizations$Assets$Group, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; group( params?: Params$Resource$Organizations$Assets$Group, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; group( params: Params$Resource$Organizations$Assets$Group, options: StreamMethodOptions | BodyResponseCallback, @@ -5938,8 +5938,8 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$Group; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5995,11 +5995,11 @@ export namespace securitycenter_v1beta1 { list( params: Params$Resource$Organizations$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6030,8 +6030,8 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6087,11 +6087,11 @@ export namespace securitycenter_v1beta1 { runDiscovery( params: Params$Resource$Organizations$Assets$Rundiscovery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runDiscovery( params?: Params$Resource$Organizations$Assets$Rundiscovery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runDiscovery( params: Params$Resource$Organizations$Assets$Rundiscovery, options: StreamMethodOptions | BodyResponseCallback, @@ -6120,7 +6120,10 @@ export namespace securitycenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$Rundiscovery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6176,11 +6179,13 @@ export namespace securitycenter_v1beta1 { updateSecurityMarks( params: Params$Resource$Organizations$Assets$Updatesecuritymarks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params?: Params$Resource$Organizations$Assets$Updatesecuritymarks, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateSecurityMarks( params: Params$Resource$Organizations$Assets$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback, @@ -6215,8 +6220,10 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$Updatesecuritymarks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6358,11 +6365,11 @@ export namespace securitycenter_v1beta1 { cancel( params: Params$Resource$Organizations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6391,7 +6398,10 @@ export namespace securitycenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6447,11 +6457,11 @@ export namespace securitycenter_v1beta1 { delete( params: Params$Resource$Organizations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6480,7 +6490,10 @@ export namespace securitycenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6533,11 +6546,11 @@ export namespace securitycenter_v1beta1 { get( params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6566,7 +6579,10 @@ export namespace securitycenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6619,11 +6635,11 @@ export namespace securitycenter_v1beta1 { list( params: Params$Resource$Organizations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6656,8 +6672,8 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6765,11 +6781,11 @@ export namespace securitycenter_v1beta1 { create( params: Params$Resource$Organizations$Sources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Sources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Sources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6798,7 +6814,10 @@ export namespace securitycenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6854,11 +6873,11 @@ export namespace securitycenter_v1beta1 { get( params: Params$Resource$Organizations$Sources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Sources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Sources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6887,7 +6906,10 @@ export namespace securitycenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6940,11 +6962,11 @@ export namespace securitycenter_v1beta1 { getIamPolicy( params: Params$Resource$Organizations$Sources$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Organizations$Sources$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Organizations$Sources$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6973,7 +6995,10 @@ export namespace securitycenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7029,11 +7054,11 @@ export namespace securitycenter_v1beta1 { list( params: Params$Resource$Organizations$Sources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Sources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Sources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7064,8 +7089,8 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7121,11 +7146,11 @@ export namespace securitycenter_v1beta1 { patch( params: Params$Resource$Organizations$Sources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Sources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Sources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7154,7 +7179,10 @@ export namespace securitycenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7207,11 +7235,11 @@ export namespace securitycenter_v1beta1 { setIamPolicy( params: Params$Resource$Organizations$Sources$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Organizations$Sources$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Organizations$Sources$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7240,7 +7268,10 @@ export namespace securitycenter_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7296,11 +7327,11 @@ export namespace securitycenter_v1beta1 { testIamPermissions( params: Params$Resource$Organizations$Sources$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Sources$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Organizations$Sources$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7335,8 +7366,8 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7486,11 +7517,13 @@ export namespace securitycenter_v1beta1 { create( params: Params$Resource$Organizations$Sources$Findings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Sources$Findings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; create( params: Params$Resource$Organizations$Sources$Findings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7525,8 +7558,10 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7584,11 +7619,11 @@ export namespace securitycenter_v1beta1 { group( params: Params$Resource$Organizations$Sources$Findings$Group, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; group( params?: Params$Resource$Organizations$Sources$Findings$Group, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; group( params: Params$Resource$Organizations$Sources$Findings$Group, options: StreamMethodOptions | BodyResponseCallback, @@ -7621,8 +7656,8 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Group; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7678,11 +7713,11 @@ export namespace securitycenter_v1beta1 { list( params: Params$Resource$Organizations$Sources$Findings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Sources$Findings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Sources$Findings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7715,8 +7750,8 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7772,11 +7807,13 @@ export namespace securitycenter_v1beta1 { patch( params: Params$Resource$Organizations$Sources$Findings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Sources$Findings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Organizations$Sources$Findings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7811,8 +7848,10 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7867,11 +7906,13 @@ export namespace securitycenter_v1beta1 { setState( params: Params$Resource$Organizations$Sources$Findings$Setstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setState( params?: Params$Resource$Organizations$Sources$Findings$Setstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; setState( params: Params$Resource$Organizations$Sources$Findings$Setstate, options: StreamMethodOptions | BodyResponseCallback, @@ -7906,8 +7947,10 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Setstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7965,11 +8008,13 @@ export namespace securitycenter_v1beta1 { updateSecurityMarks( params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params?: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateSecurityMarks( params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback, @@ -8004,8 +8049,10 @@ export namespace securitycenter_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/securitycenter/v1beta2.ts b/src/apis/securitycenter/v1beta2.ts index b530421d4e9..33685475d4c 100644 --- a/src/apis/securitycenter/v1beta2.ts +++ b/src/apis/securitycenter/v1beta2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5389,11 +5389,13 @@ export namespace securitycenter_v1beta2 { getContainerThreatDetectionSettings( params: Params$Resource$Folders$Getcontainerthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getContainerThreatDetectionSettings( params?: Params$Resource$Folders$Getcontainerthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getContainerThreatDetectionSettings( params: Params$Resource$Folders$Getcontainerthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -5428,8 +5430,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getcontainerthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5485,11 +5489,11 @@ export namespace securitycenter_v1beta2 { getEventThreatDetectionSettings( params: Params$Resource$Folders$Geteventthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEventThreatDetectionSettings( params?: Params$Resource$Folders$Geteventthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEventThreatDetectionSettings( params: Params$Resource$Folders$Geteventthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -5524,8 +5528,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Geteventthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5580,11 +5584,13 @@ export namespace securitycenter_v1beta2 { getRapidVulnerabilityDetectionSettings( params: Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRapidVulnerabilityDetectionSettings( params?: Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getRapidVulnerabilityDetectionSettings( params: Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -5619,8 +5625,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getrapidvulnerabilitydetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5676,11 +5684,11 @@ export namespace securitycenter_v1beta2 { getSecurityCenterSettings( params: Params$Resource$Folders$Getsecuritycentersettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityCenterSettings( params?: Params$Resource$Folders$Getsecuritycentersettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityCenterSettings( params: Params$Resource$Folders$Getsecuritycentersettings, options: StreamMethodOptions | BodyResponseCallback, @@ -5715,8 +5723,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getsecuritycentersettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5769,11 +5777,11 @@ export namespace securitycenter_v1beta2 { getSecurityHealthAnalyticsSettings( params: Params$Resource$Folders$Getsecurityhealthanalyticssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityHealthAnalyticsSettings( params?: Params$Resource$Folders$Getsecurityhealthanalyticssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityHealthAnalyticsSettings( params: Params$Resource$Folders$Getsecurityhealthanalyticssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -5808,8 +5816,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getsecurityhealthanalyticssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5865,11 +5873,13 @@ export namespace securitycenter_v1beta2 { getVirtualMachineThreatDetectionSettings( params: Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVirtualMachineThreatDetectionSettings( params?: Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getVirtualMachineThreatDetectionSettings( params: Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -5904,8 +5914,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getvirtualmachinethreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5961,11 +5973,11 @@ export namespace securitycenter_v1beta2 { getWebSecurityScannerSettings( params: Params$Resource$Folders$Getwebsecurityscannersettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getWebSecurityScannerSettings( params?: Params$Resource$Folders$Getwebsecurityscannersettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getWebSecurityScannerSettings( params: Params$Resource$Folders$Getwebsecurityscannersettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6000,8 +6012,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Getwebsecurityscannersettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6054,11 +6066,13 @@ export namespace securitycenter_v1beta2 { updateContainerThreatDetectionSettings( params: Params$Resource$Folders$Updatecontainerthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateContainerThreatDetectionSettings( params?: Params$Resource$Folders$Updatecontainerthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateContainerThreatDetectionSettings( params: Params$Resource$Folders$Updatecontainerthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6093,8 +6107,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Updatecontainerthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6150,11 +6166,11 @@ export namespace securitycenter_v1beta2 { updateEventThreatDetectionSettings( params: Params$Resource$Folders$Updateeventthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateEventThreatDetectionSettings( params?: Params$Resource$Folders$Updateeventthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateEventThreatDetectionSettings( params: Params$Resource$Folders$Updateeventthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6189,8 +6205,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Updateeventthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6246,11 +6262,13 @@ export namespace securitycenter_v1beta2 { updateRapidVulnerabilityDetectionSettings( params: Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateRapidVulnerabilityDetectionSettings( params?: Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateRapidVulnerabilityDetectionSettings( params: Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6285,8 +6303,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Updaterapidvulnerabilitydetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6342,11 +6362,11 @@ export namespace securitycenter_v1beta2 { updateSecurityHealthAnalyticsSettings( params: Params$Resource$Folders$Updatesecurityhealthanalyticssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityHealthAnalyticsSettings( params?: Params$Resource$Folders$Updatesecurityhealthanalyticssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityHealthAnalyticsSettings( params: Params$Resource$Folders$Updatesecurityhealthanalyticssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6381,8 +6401,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Updatesecurityhealthanalyticssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6438,11 +6458,13 @@ export namespace securitycenter_v1beta2 { updateVirtualMachineThreatDetectionSettings( params: Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateVirtualMachineThreatDetectionSettings( params?: Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateVirtualMachineThreatDetectionSettings( params: Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6477,8 +6499,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Updatevirtualmachinethreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6534,11 +6558,11 @@ export namespace securitycenter_v1beta2 { updateWebSecurityScannerSettings( params: Params$Resource$Folders$Updatewebsecurityscannersettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateWebSecurityScannerSettings( params?: Params$Resource$Folders$Updatewebsecurityscannersettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateWebSecurityScannerSettings( params: Params$Resource$Folders$Updatewebsecurityscannersettings, options: StreamMethodOptions | BodyResponseCallback, @@ -6573,8 +6597,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Updatewebsecurityscannersettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6780,11 +6804,13 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Folders$Containerthreatdetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Folders$Containerthreatdetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculate( params: Params$Resource$Folders$Containerthreatdetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -6819,8 +6845,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Containerthreatdetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6898,11 +6926,11 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Folders$Eventthreatdetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Folders$Eventthreatdetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params: Params$Resource$Folders$Eventthreatdetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -6937,8 +6965,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Eventthreatdetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7016,11 +7044,13 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculate( params: Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -7055,8 +7085,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Rapidvulnerabilitydetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7130,11 +7162,11 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Folders$Securityhealthanalyticssettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Folders$Securityhealthanalyticssettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params: Params$Resource$Folders$Securityhealthanalyticssettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -7169,8 +7201,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Securityhealthanalyticssettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7248,11 +7280,13 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculate( params: Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -7287,8 +7321,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Virtualmachinethreatdetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7366,11 +7402,11 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Folders$Websecurityscannersettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Folders$Websecurityscannersettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params: Params$Resource$Folders$Websecurityscannersettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -7405,8 +7441,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Websecurityscannersettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7508,11 +7544,13 @@ export namespace securitycenter_v1beta2 { getContainerThreatDetectionSettings( params: Params$Resource$Organizations$Getcontainerthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getContainerThreatDetectionSettings( params?: Params$Resource$Organizations$Getcontainerthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getContainerThreatDetectionSettings( params: Params$Resource$Organizations$Getcontainerthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7547,8 +7585,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getcontainerthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7604,11 +7644,11 @@ export namespace securitycenter_v1beta2 { getEventThreatDetectionSettings( params: Params$Resource$Organizations$Geteventthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEventThreatDetectionSettings( params?: Params$Resource$Organizations$Geteventthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEventThreatDetectionSettings( params: Params$Resource$Organizations$Geteventthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7643,8 +7683,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Geteventthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7700,11 +7740,13 @@ export namespace securitycenter_v1beta2 { getRapidVulnerabilityDetectionSettings( params: Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRapidVulnerabilityDetectionSettings( params?: Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getRapidVulnerabilityDetectionSettings( params: Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7739,8 +7781,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getrapidvulnerabilitydetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7796,11 +7840,11 @@ export namespace securitycenter_v1beta2 { getSecurityCenterSettings( params: Params$Resource$Organizations$Getsecuritycentersettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityCenterSettings( params?: Params$Resource$Organizations$Getsecuritycentersettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityCenterSettings( params: Params$Resource$Organizations$Getsecuritycentersettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7835,8 +7879,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getsecuritycentersettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7889,11 +7933,11 @@ export namespace securitycenter_v1beta2 { getSecurityHealthAnalyticsSettings( params: Params$Resource$Organizations$Getsecurityhealthanalyticssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityHealthAnalyticsSettings( params?: Params$Resource$Organizations$Getsecurityhealthanalyticssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityHealthAnalyticsSettings( params: Params$Resource$Organizations$Getsecurityhealthanalyticssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7928,8 +7972,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getsecurityhealthanalyticssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7985,11 +8029,11 @@ export namespace securitycenter_v1beta2 { getSubscription( params: Params$Resource$Organizations$Getsubscription, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSubscription( params?: Params$Resource$Organizations$Getsubscription, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSubscription( params: Params$Resource$Organizations$Getsubscription, options: StreamMethodOptions | BodyResponseCallback, @@ -8018,7 +8062,10 @@ export namespace securitycenter_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getsubscription; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8071,11 +8118,13 @@ export namespace securitycenter_v1beta2 { getVirtualMachineThreatDetectionSettings( params: Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVirtualMachineThreatDetectionSettings( params?: Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getVirtualMachineThreatDetectionSettings( params: Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -8110,8 +8159,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getvirtualmachinethreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8167,11 +8218,11 @@ export namespace securitycenter_v1beta2 { getWebSecurityScannerSettings( params: Params$Resource$Organizations$Getwebsecurityscannersettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getWebSecurityScannerSettings( params?: Params$Resource$Organizations$Getwebsecurityscannersettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getWebSecurityScannerSettings( params: Params$Resource$Organizations$Getwebsecurityscannersettings, options: StreamMethodOptions | BodyResponseCallback, @@ -8206,8 +8257,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getwebsecurityscannersettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8261,11 +8312,13 @@ export namespace securitycenter_v1beta2 { updateContainerThreatDetectionSettings( params: Params$Resource$Organizations$Updatecontainerthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateContainerThreatDetectionSettings( params?: Params$Resource$Organizations$Updatecontainerthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateContainerThreatDetectionSettings( params: Params$Resource$Organizations$Updatecontainerthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -8300,8 +8353,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updatecontainerthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8357,11 +8412,11 @@ export namespace securitycenter_v1beta2 { updateEventThreatDetectionSettings( params: Params$Resource$Organizations$Updateeventthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateEventThreatDetectionSettings( params?: Params$Resource$Organizations$Updateeventthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateEventThreatDetectionSettings( params: Params$Resource$Organizations$Updateeventthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -8396,8 +8451,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updateeventthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8453,11 +8508,13 @@ export namespace securitycenter_v1beta2 { updateRapidVulnerabilityDetectionSettings( params: Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateRapidVulnerabilityDetectionSettings( params?: Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateRapidVulnerabilityDetectionSettings( params: Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -8492,8 +8549,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updaterapidvulnerabilitydetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8549,11 +8608,11 @@ export namespace securitycenter_v1beta2 { updateSecurityHealthAnalyticsSettings( params: Params$Resource$Organizations$Updatesecurityhealthanalyticssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityHealthAnalyticsSettings( params?: Params$Resource$Organizations$Updatesecurityhealthanalyticssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityHealthAnalyticsSettings( params: Params$Resource$Organizations$Updatesecurityhealthanalyticssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -8588,8 +8647,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updatesecurityhealthanalyticssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8645,11 +8704,13 @@ export namespace securitycenter_v1beta2 { updateVirtualMachineThreatDetectionSettings( params: Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateVirtualMachineThreatDetectionSettings( params?: Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateVirtualMachineThreatDetectionSettings( params: Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -8684,8 +8745,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updatevirtualmachinethreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8741,11 +8804,11 @@ export namespace securitycenter_v1beta2 { updateWebSecurityScannerSettings( params: Params$Resource$Organizations$Updatewebsecurityscannersettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateWebSecurityScannerSettings( params?: Params$Resource$Organizations$Updatewebsecurityscannersettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateWebSecurityScannerSettings( params: Params$Resource$Organizations$Updatewebsecurityscannersettings, options: StreamMethodOptions | BodyResponseCallback, @@ -8780,8 +8843,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updatewebsecurityscannersettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8995,11 +9058,13 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculate( params: Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -9034,8 +9099,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Containerthreatdetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9113,11 +9180,11 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params: Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -9152,8 +9219,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Eventthreatdetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9231,11 +9298,13 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculate( params: Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -9270,8 +9339,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Rapidvulnerabilitydetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9345,11 +9416,11 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params: Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -9384,8 +9455,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Securityhealthanalyticssettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9463,11 +9534,13 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculate( params: Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -9502,8 +9575,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Virtualmachinethreatdetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9581,11 +9656,11 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Organizations$Websecurityscannersettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Organizations$Websecurityscannersettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params: Params$Resource$Organizations$Websecurityscannersettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -9620,8 +9695,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Websecurityscannersettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9719,11 +9794,13 @@ export namespace securitycenter_v1beta2 { getContainerThreatDetectionSettings( params: Params$Resource$Projects$Getcontainerthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getContainerThreatDetectionSettings( params?: Params$Resource$Projects$Getcontainerthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getContainerThreatDetectionSettings( params: Params$Resource$Projects$Getcontainerthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -9758,8 +9835,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getcontainerthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9815,11 +9894,11 @@ export namespace securitycenter_v1beta2 { getEventThreatDetectionSettings( params: Params$Resource$Projects$Geteventthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getEventThreatDetectionSettings( params?: Params$Resource$Projects$Geteventthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getEventThreatDetectionSettings( params: Params$Resource$Projects$Geteventthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -9854,8 +9933,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Geteventthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9910,11 +9989,13 @@ export namespace securitycenter_v1beta2 { getRapidVulnerabilityDetectionSettings( params: Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRapidVulnerabilityDetectionSettings( params?: Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getRapidVulnerabilityDetectionSettings( params: Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -9949,8 +10030,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getrapidvulnerabilitydetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10006,11 +10089,11 @@ export namespace securitycenter_v1beta2 { getSecurityCenterSettings( params: Params$Resource$Projects$Getsecuritycentersettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityCenterSettings( params?: Params$Resource$Projects$Getsecuritycentersettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityCenterSettings( params: Params$Resource$Projects$Getsecuritycentersettings, options: StreamMethodOptions | BodyResponseCallback, @@ -10045,8 +10128,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getsecuritycentersettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10099,11 +10182,11 @@ export namespace securitycenter_v1beta2 { getSecurityHealthAnalyticsSettings( params: Params$Resource$Projects$Getsecurityhealthanalyticssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityHealthAnalyticsSettings( params?: Params$Resource$Projects$Getsecurityhealthanalyticssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSecurityHealthAnalyticsSettings( params: Params$Resource$Projects$Getsecurityhealthanalyticssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -10138,8 +10221,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getsecurityhealthanalyticssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10195,11 +10278,13 @@ export namespace securitycenter_v1beta2 { getVirtualMachineThreatDetectionSettings( params: Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVirtualMachineThreatDetectionSettings( params?: Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getVirtualMachineThreatDetectionSettings( params: Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -10234,8 +10319,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getvirtualmachinethreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10291,11 +10378,11 @@ export namespace securitycenter_v1beta2 { getWebSecurityScannerSettings( params: Params$Resource$Projects$Getwebsecurityscannersettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getWebSecurityScannerSettings( params?: Params$Resource$Projects$Getwebsecurityscannersettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getWebSecurityScannerSettings( params: Params$Resource$Projects$Getwebsecurityscannersettings, options: StreamMethodOptions | BodyResponseCallback, @@ -10330,8 +10417,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getwebsecurityscannersettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10384,11 +10471,13 @@ export namespace securitycenter_v1beta2 { updateContainerThreatDetectionSettings( params: Params$Resource$Projects$Updatecontainerthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateContainerThreatDetectionSettings( params?: Params$Resource$Projects$Updatecontainerthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateContainerThreatDetectionSettings( params: Params$Resource$Projects$Updatecontainerthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -10423,8 +10512,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatecontainerthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10480,11 +10571,11 @@ export namespace securitycenter_v1beta2 { updateEventThreatDetectionSettings( params: Params$Resource$Projects$Updateeventthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateEventThreatDetectionSettings( params?: Params$Resource$Projects$Updateeventthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateEventThreatDetectionSettings( params: Params$Resource$Projects$Updateeventthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -10519,8 +10610,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updateeventthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10576,11 +10667,13 @@ export namespace securitycenter_v1beta2 { updateRapidVulnerabilityDetectionSettings( params: Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateRapidVulnerabilityDetectionSettings( params?: Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateRapidVulnerabilityDetectionSettings( params: Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -10615,8 +10708,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updaterapidvulnerabilitydetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10672,11 +10767,11 @@ export namespace securitycenter_v1beta2 { updateSecurityHealthAnalyticsSettings( params: Params$Resource$Projects$Updatesecurityhealthanalyticssettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityHealthAnalyticsSettings( params?: Params$Resource$Projects$Updatesecurityhealthanalyticssettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityHealthAnalyticsSettings( params: Params$Resource$Projects$Updatesecurityhealthanalyticssettings, options: StreamMethodOptions | BodyResponseCallback, @@ -10711,8 +10806,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatesecurityhealthanalyticssettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10768,11 +10863,13 @@ export namespace securitycenter_v1beta2 { updateVirtualMachineThreatDetectionSettings( params: Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateVirtualMachineThreatDetectionSettings( params?: Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateVirtualMachineThreatDetectionSettings( params: Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -10807,8 +10904,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatevirtualmachinethreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10864,11 +10963,11 @@ export namespace securitycenter_v1beta2 { updateWebSecurityScannerSettings( params: Params$Resource$Projects$Updatewebsecurityscannersettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateWebSecurityScannerSettings( params?: Params$Resource$Projects$Updatewebsecurityscannersettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateWebSecurityScannerSettings( params: Params$Resource$Projects$Updatewebsecurityscannersettings, options: StreamMethodOptions | BodyResponseCallback, @@ -10903,8 +11002,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updatewebsecurityscannersettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11111,11 +11210,13 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Projects$Containerthreatdetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Projects$Containerthreatdetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculate( params: Params$Resource$Projects$Containerthreatdetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -11150,8 +11251,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Containerthreatdetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11229,11 +11332,11 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Projects$Eventthreatdetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Projects$Eventthreatdetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params: Params$Resource$Projects$Eventthreatdetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -11268,8 +11371,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Eventthreatdetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11361,11 +11464,13 @@ export namespace securitycenter_v1beta2 { getContainerThreatDetectionSettings( params: Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getContainerThreatDetectionSettings( params?: Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getContainerThreatDetectionSettings( params: Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -11400,8 +11505,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Getcontainerthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11457,11 +11564,13 @@ export namespace securitycenter_v1beta2 { updateContainerThreatDetectionSettings( params: Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateContainerThreatDetectionSettings( params?: Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; updateContainerThreatDetectionSettings( params: Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -11496,8 +11605,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Updatecontainerthreatdetectionsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11584,11 +11695,13 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculate( params: Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -11623,8 +11736,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Clusters$Containerthreatdetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11702,11 +11817,13 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculate( params: Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -11741,8 +11858,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Rapidvulnerabilitydetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11816,11 +11935,11 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Projects$Securityhealthanalyticssettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Projects$Securityhealthanalyticssettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params: Params$Resource$Projects$Securityhealthanalyticssettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -11855,8 +11974,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Securityhealthanalyticssettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11934,11 +12053,13 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; calculate( params: Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -11973,8 +12094,10 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Virtualmachinethreatdetectionsettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12052,11 +12175,11 @@ export namespace securitycenter_v1beta2 { calculate( params: Params$Resource$Projects$Websecurityscannersettings$Calculate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params?: Params$Resource$Projects$Websecurityscannersettings$Calculate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; calculate( params: Params$Resource$Projects$Websecurityscannersettings$Calculate, options: StreamMethodOptions | BodyResponseCallback, @@ -12091,8 +12214,8 @@ export namespace securitycenter_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Websecurityscannersettings$Calculate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/securitycenter/v1p1alpha1.ts b/src/apis/securitycenter/v1p1alpha1.ts index 2c02de094e8..21f3030d233 100644 --- a/src/apis/securitycenter/v1p1alpha1.ts +++ b/src/apis/securitycenter/v1p1alpha1.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -594,11 +594,11 @@ export namespace securitycenter_v1p1alpha1 { cancel( params: Params$Resource$Organizations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -627,7 +627,7 @@ export namespace securitycenter_v1p1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -724,11 +724,11 @@ export namespace securitycenter_v1p1alpha1 { delete( params: Params$Resource$Organizations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -757,7 +757,7 @@ export namespace securitycenter_v1p1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -860,11 +860,11 @@ export namespace securitycenter_v1p1alpha1 { get( params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -893,7 +893,7 @@ export namespace securitycenter_v1p1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1002,11 +1002,11 @@ export namespace securitycenter_v1p1alpha1 { list( params: Params$Resource$Organizations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1039,8 +1039,8 @@ export namespace securitycenter_v1p1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/securitycenter/v1p1beta1.ts b/src/apis/securitycenter/v1p1beta1.ts index 74497f40956..3d9ae5106f8 100644 --- a/src/apis/securitycenter/v1p1beta1.ts +++ b/src/apis/securitycenter/v1p1beta1.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1071,11 +1071,11 @@ export namespace securitycenter_v1p1beta1 { getOrganizationSettings( params: Params$Resource$Organizations$Getorganizationsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getOrganizationSettings( params?: Params$Resource$Organizations$Getorganizationsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getOrganizationSettings( params: Params$Resource$Organizations$Getorganizationsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1110,8 +1110,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Getorganizationsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1223,11 +1223,11 @@ export namespace securitycenter_v1p1beta1 { updateOrganizationSettings( params: Params$Resource$Organizations$Updateorganizationsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateOrganizationSettings( params?: Params$Resource$Organizations$Updateorganizationsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateOrganizationSettings( params: Params$Resource$Organizations$Updateorganizationsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1262,8 +1262,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Updateorganizationsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1407,11 +1407,11 @@ export namespace securitycenter_v1p1beta1 { group( params: Params$Resource$Organizations$Assets$Group, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; group( params?: Params$Resource$Organizations$Assets$Group, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; group( params: Params$Resource$Organizations$Assets$Group, options: StreamMethodOptions | BodyResponseCallback, @@ -1442,8 +1442,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$Group; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1566,11 +1566,11 @@ export namespace securitycenter_v1p1beta1 { list( params: Params$Resource$Organizations$Assets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Assets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Assets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1601,8 +1601,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1712,11 +1712,11 @@ export namespace securitycenter_v1p1beta1 { runDiscovery( params: Params$Resource$Organizations$Assets$Rundiscovery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; runDiscovery( params?: Params$Resource$Organizations$Assets$Rundiscovery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; runDiscovery( params: Params$Resource$Organizations$Assets$Rundiscovery, options: StreamMethodOptions | BodyResponseCallback, @@ -1745,7 +1745,7 @@ export namespace securitycenter_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$Rundiscovery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1861,11 +1861,11 @@ export namespace securitycenter_v1p1beta1 { updateSecurityMarks( params: Params$Resource$Organizations$Assets$Updatesecuritymarks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params?: Params$Resource$Organizations$Assets$Updatesecuritymarks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params: Params$Resource$Organizations$Assets$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback, @@ -1914,8 +1914,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Assets$Updatesecuritymarks; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2121,11 +2121,11 @@ export namespace securitycenter_v1p1beta1 { create( params: Params$Resource$Organizations$Notificationconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Notificationconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Notificationconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2156,8 +2156,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Notificationconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2255,11 +2255,11 @@ export namespace securitycenter_v1p1beta1 { delete( params: Params$Resource$Organizations$Notificationconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Notificationconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Notificationconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2288,7 +2288,7 @@ export namespace securitycenter_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Notificationconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2390,11 +2390,11 @@ export namespace securitycenter_v1p1beta1 { get( params: Params$Resource$Organizations$Notificationconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Notificationconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Notificationconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2425,8 +2425,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Notificationconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2529,11 +2529,11 @@ export namespace securitycenter_v1p1beta1 { list( params: Params$Resource$Organizations$Notificationconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Notificationconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Notificationconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2568,8 +2568,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Notificationconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2693,11 +2693,11 @@ export namespace securitycenter_v1p1beta1 { patch( params: Params$Resource$Organizations$Notificationconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Notificationconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Notificationconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2728,8 +2728,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Notificationconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2892,11 +2892,11 @@ export namespace securitycenter_v1p1beta1 { cancel( params: Params$Resource$Organizations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2925,7 +2925,7 @@ export namespace securitycenter_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3022,11 +3022,11 @@ export namespace securitycenter_v1p1beta1 { delete( params: Params$Resource$Organizations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3055,7 +3055,7 @@ export namespace securitycenter_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3155,11 +3155,11 @@ export namespace securitycenter_v1p1beta1 { get( params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3188,7 +3188,7 @@ export namespace securitycenter_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3294,11 +3294,11 @@ export namespace securitycenter_v1p1beta1 { list( params: Params$Resource$Organizations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3331,8 +3331,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3491,11 +3491,11 @@ export namespace securitycenter_v1p1beta1 { create( params: Params$Resource$Organizations$Sources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Sources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Sources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3524,7 +3524,7 @@ export namespace securitycenter_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3625,11 +3625,11 @@ export namespace securitycenter_v1p1beta1 { get( params: Params$Resource$Organizations$Sources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Sources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Sources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3658,7 +3658,7 @@ export namespace securitycenter_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3766,11 +3766,11 @@ export namespace securitycenter_v1p1beta1 { getIamPolicy( params: Params$Resource$Organizations$Sources$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Organizations$Sources$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Organizations$Sources$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3799,7 +3799,7 @@ export namespace securitycenter_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3905,11 +3905,11 @@ export namespace securitycenter_v1p1beta1 { list( params: Params$Resource$Organizations$Sources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Sources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Sources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3940,8 +3940,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4056,11 +4056,11 @@ export namespace securitycenter_v1p1beta1 { patch( params: Params$Resource$Organizations$Sources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Sources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Sources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4089,7 +4089,7 @@ export namespace securitycenter_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4198,11 +4198,11 @@ export namespace securitycenter_v1p1beta1 { setIamPolicy( params: Params$Resource$Organizations$Sources$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Organizations$Sources$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Organizations$Sources$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4231,7 +4231,7 @@ export namespace securitycenter_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4339,11 +4339,11 @@ export namespace securitycenter_v1p1beta1 { testIamPermissions( params: Params$Resource$Organizations$Sources$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Organizations$Sources$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Organizations$Sources$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4378,8 +4378,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4603,11 +4603,11 @@ export namespace securitycenter_v1p1beta1 { create( params: Params$Resource$Organizations$Sources$Findings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Sources$Findings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Sources$Findings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4650,8 +4650,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4769,11 +4769,11 @@ export namespace securitycenter_v1p1beta1 { group( params: Params$Resource$Organizations$Sources$Findings$Group, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; group( params?: Params$Resource$Organizations$Sources$Findings$Group, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; group( params: Params$Resource$Organizations$Sources$Findings$Group, options: StreamMethodOptions | BodyResponseCallback, @@ -4806,8 +4806,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Group; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4930,11 +4930,11 @@ export namespace securitycenter_v1p1beta1 { list( params: Params$Resource$Organizations$Sources$Findings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Sources$Findings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Sources$Findings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4967,8 +4967,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5099,11 +5099,11 @@ export namespace securitycenter_v1p1beta1 { patch( params: Params$Resource$Organizations$Sources$Findings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Sources$Findings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Sources$Findings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5146,8 +5146,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5265,11 +5265,11 @@ export namespace securitycenter_v1p1beta1 { setState( params: Params$Resource$Organizations$Sources$Findings$Setstate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setState( params?: Params$Resource$Organizations$Sources$Findings$Setstate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setState( params: Params$Resource$Organizations$Sources$Findings$Setstate, options: StreamMethodOptions | BodyResponseCallback, @@ -5312,8 +5312,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Setstate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5434,11 +5434,11 @@ export namespace securitycenter_v1p1beta1 { updateSecurityMarks( params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params?: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateSecurityMarks( params: Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks, options: StreamMethodOptions | BodyResponseCallback, @@ -5487,8 +5487,8 @@ export namespace securitycenter_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/securityposture/index.ts b/src/apis/securityposture/index.ts index 7468f6729c1..54b723a4355 100644 --- a/src/apis/securityposture/index.ts +++ b/src/apis/securityposture/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/securityposture/package.json b/src/apis/securityposture/package.json index 44a37022263..e0f0b2866e6 100644 --- a/src/apis/securityposture/package.json +++ b/src/apis/securityposture/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/securityposture/v1.ts b/src/apis/securityposture/v1.ts index 9f3e6f7a3bb..27f9e9e5f85 100644 --- a/src/apis/securityposture/v1.ts +++ b/src/apis/securityposture/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -996,11 +996,11 @@ export namespace securityposture_v1 { cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Organizations$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1029,7 +1029,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1083,11 +1086,11 @@ export namespace securityposture_v1 { delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1116,7 +1119,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1170,11 +1176,11 @@ export namespace securityposture_v1 { get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1203,7 +1209,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1256,11 +1265,11 @@ export namespace securityposture_v1 { list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1293,8 +1302,8 @@ export namespace securityposture_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1403,11 +1412,11 @@ export namespace securityposture_v1 { create( params: Params$Resource$Organizations$Locations$Posturedeployments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Posturedeployments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Posturedeployments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1436,7 +1445,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Posturedeployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1493,11 +1505,11 @@ export namespace securityposture_v1 { delete( params: Params$Resource$Organizations$Locations$Posturedeployments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Posturedeployments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Posturedeployments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1526,7 +1538,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Posturedeployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1580,11 +1595,11 @@ export namespace securityposture_v1 { get( params: Params$Resource$Organizations$Locations$Posturedeployments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Posturedeployments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Posturedeployments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1615,8 +1630,8 @@ export namespace securityposture_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Posturedeployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1670,11 +1685,11 @@ export namespace securityposture_v1 { list( params: Params$Resource$Organizations$Locations$Posturedeployments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Posturedeployments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Posturedeployments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1709,8 +1724,8 @@ export namespace securityposture_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Posturedeployments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1769,11 +1784,11 @@ export namespace securityposture_v1 { patch( params: Params$Resource$Organizations$Locations$Posturedeployments$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Posturedeployments$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Posturedeployments$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1802,7 +1817,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Posturedeployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1933,11 +1951,11 @@ export namespace securityposture_v1 { create( params: Params$Resource$Organizations$Locations$Postures$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Organizations$Locations$Postures$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Organizations$Locations$Postures$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1966,7 +1984,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Postures$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2022,11 +2043,11 @@ export namespace securityposture_v1 { delete( params: Params$Resource$Organizations$Locations$Postures$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Organizations$Locations$Postures$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Organizations$Locations$Postures$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2055,7 +2076,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Postures$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2108,11 +2132,11 @@ export namespace securityposture_v1 { extract( params: Params$Resource$Organizations$Locations$Postures$Extract, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; extract( params?: Params$Resource$Organizations$Locations$Postures$Extract, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; extract( params: Params$Resource$Organizations$Locations$Postures$Extract, options: StreamMethodOptions | BodyResponseCallback, @@ -2141,7 +2165,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Postures$Extract; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2197,11 +2224,11 @@ export namespace securityposture_v1 { get( params: Params$Resource$Organizations$Locations$Postures$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Postures$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Postures$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2230,7 +2257,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Postures$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2283,11 +2313,11 @@ export namespace securityposture_v1 { list( params: Params$Resource$Organizations$Locations$Postures$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Postures$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Postures$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2320,8 +2350,8 @@ export namespace securityposture_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Postures$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2377,11 +2407,11 @@ export namespace securityposture_v1 { listRevisions( params: Params$Resource$Organizations$Locations$Postures$Listrevisions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params?: Params$Resource$Organizations$Locations$Postures$Listrevisions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params: Params$Resource$Organizations$Locations$Postures$Listrevisions, options: StreamMethodOptions | BodyResponseCallback, @@ -2416,8 +2446,8 @@ export namespace securityposture_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Postures$Listrevisions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2476,11 +2506,11 @@ export namespace securityposture_v1 { patch( params: Params$Resource$Organizations$Locations$Postures$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Organizations$Locations$Postures$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Organizations$Locations$Postures$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2509,7 +2539,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Postures$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2674,11 +2707,11 @@ export namespace securityposture_v1 { get( params: Params$Resource$Organizations$Locations$Posturetemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Posturetemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Posturetemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2707,7 +2740,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Posturetemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2761,11 +2797,11 @@ export namespace securityposture_v1 { list( params: Params$Resource$Organizations$Locations$Posturetemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Posturetemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Posturetemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2800,8 +2836,8 @@ export namespace securityposture_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Posturetemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2898,11 +2934,11 @@ export namespace securityposture_v1 { createIaCValidationReport( params: Params$Resource$Organizations$Locations$Reports$Createiacvalidationreport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createIaCValidationReport( params?: Params$Resource$Organizations$Locations$Reports$Createiacvalidationreport, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createIaCValidationReport( params: Params$Resource$Organizations$Locations$Reports$Createiacvalidationreport, options: StreamMethodOptions | BodyResponseCallback, @@ -2933,7 +2969,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Reports$Createiacvalidationreport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2989,11 +3028,11 @@ export namespace securityposture_v1 { get( params: Params$Resource$Organizations$Locations$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Organizations$Locations$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Organizations$Locations$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3022,7 +3061,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3075,11 +3117,11 @@ export namespace securityposture_v1 { list( params: Params$Resource$Organizations$Locations$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Organizations$Locations$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Organizations$Locations$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3110,8 +3152,8 @@ export namespace securityposture_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Organizations$Locations$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3222,11 +3264,11 @@ export namespace securityposture_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3255,7 +3297,10 @@ export namespace securityposture_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3308,11 +3353,11 @@ export namespace securityposture_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3345,8 +3390,8 @@ export namespace securityposture_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/serviceconsumermanagement/index.ts b/src/apis/serviceconsumermanagement/index.ts index db29ce5aeac..be14c580835 100644 --- a/src/apis/serviceconsumermanagement/index.ts +++ b/src/apis/serviceconsumermanagement/index.ts @@ -64,7 +64,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/serviceconsumermanagement/package.json b/src/apis/serviceconsumermanagement/package.json index cab2327c2bc..d546e68d0f8 100644 --- a/src/apis/serviceconsumermanagement/package.json +++ b/src/apis/serviceconsumermanagement/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/serviceconsumermanagement/v1.ts b/src/apis/serviceconsumermanagement/v1.ts index 45cd48c5bcb..a1a2b14b9c4 100644 --- a/src/apis/serviceconsumermanagement/v1.ts +++ b/src/apis/serviceconsumermanagement/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2101,11 +2101,11 @@ export namespace serviceconsumermanagement_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2134,7 +2134,10 @@ export namespace serviceconsumermanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2187,11 +2190,11 @@ export namespace serviceconsumermanagement_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2220,7 +2223,10 @@ export namespace serviceconsumermanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2273,11 +2279,11 @@ export namespace serviceconsumermanagement_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2306,7 +2312,10 @@ export namespace serviceconsumermanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2358,11 +2367,11 @@ export namespace serviceconsumermanagement_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2395,8 +2404,8 @@ export namespace serviceconsumermanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2501,11 +2510,11 @@ export namespace serviceconsumermanagement_v1 { search( params: Params$Resource$Services$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Services$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Services$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -2540,8 +2549,8 @@ export namespace serviceconsumermanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2622,11 +2631,11 @@ export namespace serviceconsumermanagement_v1 { addProject( params: Params$Resource$Services$Tenancyunits$Addproject, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addProject( params?: Params$Resource$Services$Tenancyunits$Addproject, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addProject( params: Params$Resource$Services$Tenancyunits$Addproject, options: StreamMethodOptions | BodyResponseCallback, @@ -2655,7 +2664,10 @@ export namespace serviceconsumermanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Tenancyunits$Addproject; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2711,11 +2723,11 @@ export namespace serviceconsumermanagement_v1 { applyProjectConfig( params: Params$Resource$Services$Tenancyunits$Applyprojectconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; applyProjectConfig( params?: Params$Resource$Services$Tenancyunits$Applyprojectconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; applyProjectConfig( params: Params$Resource$Services$Tenancyunits$Applyprojectconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2744,7 +2756,10 @@ export namespace serviceconsumermanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Tenancyunits$Applyprojectconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2800,11 +2815,11 @@ export namespace serviceconsumermanagement_v1 { attachProject( params: Params$Resource$Services$Tenancyunits$Attachproject, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; attachProject( params?: Params$Resource$Services$Tenancyunits$Attachproject, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; attachProject( params: Params$Resource$Services$Tenancyunits$Attachproject, options: StreamMethodOptions | BodyResponseCallback, @@ -2833,7 +2848,10 @@ export namespace serviceconsumermanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Tenancyunits$Attachproject; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2889,11 +2907,11 @@ export namespace serviceconsumermanagement_v1 { create( params: Params$Resource$Services$Tenancyunits$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Tenancyunits$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Tenancyunits$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2922,7 +2940,10 @@ export namespace serviceconsumermanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Tenancyunits$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2978,11 +2999,11 @@ export namespace serviceconsumermanagement_v1 { delete( params: Params$Resource$Services$Tenancyunits$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Services$Tenancyunits$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Services$Tenancyunits$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3011,7 +3032,10 @@ export namespace serviceconsumermanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Tenancyunits$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3064,11 +3088,11 @@ export namespace serviceconsumermanagement_v1 { deleteProject( params: Params$Resource$Services$Tenancyunits$Deleteproject, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteProject( params?: Params$Resource$Services$Tenancyunits$Deleteproject, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteProject( params: Params$Resource$Services$Tenancyunits$Deleteproject, options: StreamMethodOptions | BodyResponseCallback, @@ -3097,7 +3121,10 @@ export namespace serviceconsumermanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Tenancyunits$Deleteproject; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3153,11 +3180,11 @@ export namespace serviceconsumermanagement_v1 { list( params: Params$Resource$Services$Tenancyunits$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Tenancyunits$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$Tenancyunits$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3190,8 +3217,8 @@ export namespace serviceconsumermanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Tenancyunits$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3247,11 +3274,11 @@ export namespace serviceconsumermanagement_v1 { removeProject( params: Params$Resource$Services$Tenancyunits$Removeproject, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeProject( params?: Params$Resource$Services$Tenancyunits$Removeproject, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeProject( params: Params$Resource$Services$Tenancyunits$Removeproject, options: StreamMethodOptions | BodyResponseCallback, @@ -3280,7 +3307,10 @@ export namespace serviceconsumermanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Tenancyunits$Removeproject; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3336,11 +3366,11 @@ export namespace serviceconsumermanagement_v1 { undeleteProject( params: Params$Resource$Services$Tenancyunits$Undeleteproject, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undeleteProject( params?: Params$Resource$Services$Tenancyunits$Undeleteproject, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undeleteProject( params: Params$Resource$Services$Tenancyunits$Undeleteproject, options: StreamMethodOptions | BodyResponseCallback, @@ -3369,7 +3399,10 @@ export namespace serviceconsumermanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Tenancyunits$Undeleteproject; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/serviceconsumermanagement/v1beta1.ts b/src/apis/serviceconsumermanagement/v1beta1.ts index 2a72d8d7302..6e628dc72c4 100644 --- a/src/apis/serviceconsumermanagement/v1beta1.ts +++ b/src/apis/serviceconsumermanagement/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2071,11 +2071,11 @@ export namespace serviceconsumermanagement_v1beta1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2104,7 +2104,10 @@ export namespace serviceconsumermanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2185,11 +2188,11 @@ export namespace serviceconsumermanagement_v1beta1 { get( params: Params$Resource$Services$Consumerquotametrics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Consumerquotametrics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Consumerquotametrics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2224,8 +2227,8 @@ export namespace serviceconsumermanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2278,11 +2281,11 @@ export namespace serviceconsumermanagement_v1beta1 { importProducerOverrides( params: Params$Resource$Services$Consumerquotametrics$Importproduceroverrides, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importProducerOverrides( params?: Params$Resource$Services$Consumerquotametrics$Importproduceroverrides, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importProducerOverrides( params: Params$Resource$Services$Consumerquotametrics$Importproduceroverrides, options: StreamMethodOptions | BodyResponseCallback, @@ -2313,7 +2316,10 @@ export namespace serviceconsumermanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Importproduceroverrides; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2370,11 +2376,11 @@ export namespace serviceconsumermanagement_v1beta1 { importProducerQuotaPolicies( params: Params$Resource$Services$Consumerquotametrics$Importproducerquotapolicies, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importProducerQuotaPolicies( params?: Params$Resource$Services$Consumerquotametrics$Importproducerquotapolicies, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importProducerQuotaPolicies( params: Params$Resource$Services$Consumerquotametrics$Importproducerquotapolicies, options: StreamMethodOptions | BodyResponseCallback, @@ -2405,7 +2411,10 @@ export namespace serviceconsumermanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Importproducerquotapolicies; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2462,11 +2471,13 @@ export namespace serviceconsumermanagement_v1beta1 { list( params: Params$Resource$Services$Consumerquotametrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Consumerquotametrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Services$Consumerquotametrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2501,8 +2512,10 @@ export namespace serviceconsumermanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2632,11 +2645,11 @@ export namespace serviceconsumermanagement_v1beta1 { get( params: Params$Resource$Services$Consumerquotametrics$Limits$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Consumerquotametrics$Limits$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Consumerquotametrics$Limits$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2669,8 +2682,8 @@ export namespace serviceconsumermanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2742,11 +2755,11 @@ export namespace serviceconsumermanagement_v1beta1 { create( params: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2775,7 +2788,10 @@ export namespace serviceconsumermanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2832,11 +2848,11 @@ export namespace serviceconsumermanagement_v1beta1 { delete( params: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2865,7 +2881,10 @@ export namespace serviceconsumermanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2919,11 +2938,13 @@ export namespace serviceconsumermanagement_v1beta1 { list( params: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2958,8 +2979,10 @@ export namespace serviceconsumermanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3018,11 +3041,11 @@ export namespace serviceconsumermanagement_v1beta1 { patch( params: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3051,7 +3074,10 @@ export namespace serviceconsumermanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Produceroverrides$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3199,11 +3225,11 @@ export namespace serviceconsumermanagement_v1beta1 { create( params: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3232,7 +3258,10 @@ export namespace serviceconsumermanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3289,11 +3318,11 @@ export namespace serviceconsumermanagement_v1beta1 { delete( params: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3322,7 +3351,10 @@ export namespace serviceconsumermanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3376,11 +3408,13 @@ export namespace serviceconsumermanagement_v1beta1 { list( params: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3415,8 +3449,10 @@ export namespace serviceconsumermanagement_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3475,11 +3511,11 @@ export namespace serviceconsumermanagement_v1beta1 { patch( params: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3508,7 +3544,10 @@ export namespace serviceconsumermanagement_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/servicecontrol/index.ts b/src/apis/servicecontrol/index.ts index 351d19b3f8e..089016ef75f 100644 --- a/src/apis/servicecontrol/index.ts +++ b/src/apis/servicecontrol/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/servicecontrol/package.json b/src/apis/servicecontrol/package.json index 1203f71aeb5..4f438dc571b 100644 --- a/src/apis/servicecontrol/package.json +++ b/src/apis/servicecontrol/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/servicecontrol/v1.ts b/src/apis/servicecontrol/v1.ts index 34536a2ff03..c69a19ebd40 100644 --- a/src/apis/servicecontrol/v1.ts +++ b/src/apis/servicecontrol/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1572,11 +1572,11 @@ export namespace servicecontrol_v1 { allocateQuota( params: Params$Resource$Services$Allocatequota, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; allocateQuota( params?: Params$Resource$Services$Allocatequota, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; allocateQuota( params: Params$Resource$Services$Allocatequota, options: StreamMethodOptions | BodyResponseCallback, @@ -1611,8 +1611,8 @@ export namespace servicecontrol_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Allocatequota; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1668,11 +1668,11 @@ export namespace servicecontrol_v1 { check( params: Params$Resource$Services$Check, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; check( params?: Params$Resource$Services$Check, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; check( params: Params$Resource$Services$Check, options: StreamMethodOptions | BodyResponseCallback, @@ -1701,7 +1701,10 @@ export namespace servicecontrol_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Check; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1756,11 +1759,11 @@ export namespace servicecontrol_v1 { report( params: Params$Resource$Services$Report, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; report( params?: Params$Resource$Services$Report, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; report( params: Params$Resource$Services$Report, options: StreamMethodOptions | BodyResponseCallback, @@ -1789,7 +1792,10 @@ export namespace servicecontrol_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Report; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/servicecontrol/v2.ts b/src/apis/servicecontrol/v2.ts index 128e94a8aa0..b35e301765a 100644 --- a/src/apis/servicecontrol/v2.ts +++ b/src/apis/servicecontrol/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -970,11 +970,11 @@ export namespace servicecontrol_v2 { check( params: Params$Resource$Services$Check, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; check( params?: Params$Resource$Services$Check, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; check( params: Params$Resource$Services$Check, options: StreamMethodOptions | BodyResponseCallback, @@ -1003,7 +1003,10 @@ export namespace servicecontrol_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Check; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1058,11 +1061,11 @@ export namespace servicecontrol_v2 { report( params: Params$Resource$Services$Report, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; report( params?: Params$Resource$Services$Report, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; report( params: Params$Resource$Services$Report, options: StreamMethodOptions | BodyResponseCallback, @@ -1091,7 +1094,10 @@ export namespace servicecontrol_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Report; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/servicedirectory/index.ts b/src/apis/servicedirectory/index.ts index aea19ed5033..7650c429b7c 100644 --- a/src/apis/servicedirectory/index.ts +++ b/src/apis/servicedirectory/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/servicedirectory/package.json b/src/apis/servicedirectory/package.json index f59f1b20159..3e31595b03f 100644 --- a/src/apis/servicedirectory/package.json +++ b/src/apis/servicedirectory/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/servicedirectory/v1.ts b/src/apis/servicedirectory/v1.ts index 38b069d1484..17dbb30fb04 100644 --- a/src/apis/servicedirectory/v1.ts +++ b/src/apis/servicedirectory/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -422,11 +422,11 @@ export namespace servicedirectory_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -455,7 +455,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -508,11 +511,11 @@ export namespace servicedirectory_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -545,8 +548,8 @@ export namespace servicedirectory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -644,11 +647,11 @@ export namespace servicedirectory_v1 { create( params: Params$Resource$Projects$Locations$Namespaces$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Namespaces$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Namespaces$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -677,7 +680,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -733,11 +739,11 @@ export namespace servicedirectory_v1 { delete( params: Params$Resource$Projects$Locations$Namespaces$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Namespaces$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Namespaces$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -766,7 +772,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -819,11 +828,11 @@ export namespace servicedirectory_v1 { get( params: Params$Resource$Projects$Locations$Namespaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Namespaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Namespaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -852,7 +861,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -905,11 +917,11 @@ export namespace servicedirectory_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Namespaces$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -938,7 +950,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -995,11 +1010,11 @@ export namespace servicedirectory_v1 { list( params: Params$Resource$Projects$Locations$Namespaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Namespaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Namespaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1032,8 +1047,8 @@ export namespace servicedirectory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1089,11 +1104,11 @@ export namespace servicedirectory_v1 { patch( params: Params$Resource$Projects$Locations$Namespaces$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Namespaces$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Namespaces$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1122,7 +1137,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1175,11 +1193,11 @@ export namespace servicedirectory_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Namespaces$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1208,7 +1226,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1265,11 +1286,11 @@ export namespace servicedirectory_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Namespaces$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Namespaces$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Namespaces$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1304,8 +1325,8 @@ export namespace servicedirectory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1480,11 +1501,11 @@ export namespace servicedirectory_v1 { create( params: Params$Resource$Projects$Locations$Namespaces$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Namespaces$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Namespaces$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1513,7 +1534,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1570,11 +1594,11 @@ export namespace servicedirectory_v1 { delete( params: Params$Resource$Projects$Locations$Namespaces$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Namespaces$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Namespaces$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1603,7 +1627,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1657,11 +1684,11 @@ export namespace servicedirectory_v1 { get( params: Params$Resource$Projects$Locations$Namespaces$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Namespaces$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Namespaces$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1690,7 +1717,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1744,11 +1774,11 @@ export namespace servicedirectory_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Services$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Namespaces$Services$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Services$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1777,7 +1807,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1834,11 +1867,11 @@ export namespace servicedirectory_v1 { list( params: Params$Resource$Projects$Locations$Namespaces$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Namespaces$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Namespaces$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1871,8 +1904,8 @@ export namespace servicedirectory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1929,11 +1962,11 @@ export namespace servicedirectory_v1 { patch( params: Params$Resource$Projects$Locations$Namespaces$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Namespaces$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Namespaces$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1962,7 +1995,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2016,11 +2052,11 @@ export namespace servicedirectory_v1 { resolve( params: Params$Resource$Projects$Locations$Namespaces$Services$Resolve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params?: Params$Resource$Projects$Locations$Namespaces$Services$Resolve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params: Params$Resource$Projects$Locations$Namespaces$Services$Resolve, options: StreamMethodOptions | BodyResponseCallback, @@ -2055,8 +2091,8 @@ export namespace servicedirectory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Resolve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2113,11 +2149,11 @@ export namespace servicedirectory_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Services$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Namespaces$Services$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Services$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2146,7 +2182,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2203,11 +2242,11 @@ export namespace servicedirectory_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Namespaces$Services$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Namespaces$Services$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Namespaces$Services$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2242,8 +2281,8 @@ export namespace servicedirectory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2425,11 +2464,11 @@ export namespace servicedirectory_v1 { create( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2458,7 +2497,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2515,11 +2557,11 @@ export namespace servicedirectory_v1 { delete( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2548,7 +2590,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2602,11 +2647,11 @@ export namespace servicedirectory_v1 { get( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2635,7 +2680,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2689,11 +2737,11 @@ export namespace servicedirectory_v1 { list( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2726,8 +2774,8 @@ export namespace servicedirectory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2784,11 +2832,11 @@ export namespace servicedirectory_v1 { patch( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2817,7 +2865,10 @@ export namespace servicedirectory_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/servicedirectory/v1beta1.ts b/src/apis/servicedirectory/v1beta1.ts index f79596a9acc..92d23f898f2 100644 --- a/src/apis/servicedirectory/v1beta1.ts +++ b/src/apis/servicedirectory/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -446,11 +446,11 @@ export namespace servicedirectory_v1beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -479,7 +479,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -532,11 +535,11 @@ export namespace servicedirectory_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -569,8 +572,8 @@ export namespace servicedirectory_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -672,11 +675,11 @@ export namespace servicedirectory_v1beta1 { create( params: Params$Resource$Projects$Locations$Namespaces$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Namespaces$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Namespaces$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -705,7 +708,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -761,11 +767,11 @@ export namespace servicedirectory_v1beta1 { delete( params: Params$Resource$Projects$Locations$Namespaces$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Namespaces$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Namespaces$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -794,7 +800,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -847,11 +856,11 @@ export namespace servicedirectory_v1beta1 { get( params: Params$Resource$Projects$Locations$Namespaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Namespaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Namespaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -880,7 +889,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -933,11 +945,11 @@ export namespace servicedirectory_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Namespaces$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -966,7 +978,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1023,11 +1038,11 @@ export namespace servicedirectory_v1beta1 { list( params: Params$Resource$Projects$Locations$Namespaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Namespaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Namespaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1060,8 +1075,8 @@ export namespace servicedirectory_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1117,11 +1132,11 @@ export namespace servicedirectory_v1beta1 { patch( params: Params$Resource$Projects$Locations$Namespaces$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Namespaces$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Namespaces$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1150,7 +1165,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1203,11 +1221,11 @@ export namespace servicedirectory_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Namespaces$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1236,7 +1254,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1293,11 +1314,11 @@ export namespace servicedirectory_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Namespaces$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Namespaces$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Namespaces$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1332,8 +1353,8 @@ export namespace servicedirectory_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1508,11 +1529,11 @@ export namespace servicedirectory_v1beta1 { create( params: Params$Resource$Projects$Locations$Namespaces$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Namespaces$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Namespaces$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1541,7 +1562,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1598,11 +1622,11 @@ export namespace servicedirectory_v1beta1 { delete( params: Params$Resource$Projects$Locations$Namespaces$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Namespaces$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Namespaces$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1631,7 +1655,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1685,11 +1712,11 @@ export namespace servicedirectory_v1beta1 { get( params: Params$Resource$Projects$Locations$Namespaces$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Namespaces$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Namespaces$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1718,7 +1745,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1772,11 +1802,11 @@ export namespace servicedirectory_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Services$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Namespaces$Services$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Services$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1805,7 +1835,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1862,11 +1895,11 @@ export namespace servicedirectory_v1beta1 { list( params: Params$Resource$Projects$Locations$Namespaces$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Namespaces$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Namespaces$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1899,8 +1932,8 @@ export namespace servicedirectory_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1957,11 +1990,11 @@ export namespace servicedirectory_v1beta1 { patch( params: Params$Resource$Projects$Locations$Namespaces$Services$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Namespaces$Services$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Namespaces$Services$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1990,7 +2023,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2044,11 +2080,11 @@ export namespace servicedirectory_v1beta1 { resolve( params: Params$Resource$Projects$Locations$Namespaces$Services$Resolve, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params?: Params$Resource$Projects$Locations$Namespaces$Services$Resolve, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resolve( params: Params$Resource$Projects$Locations$Namespaces$Services$Resolve, options: StreamMethodOptions | BodyResponseCallback, @@ -2083,8 +2119,8 @@ export namespace servicedirectory_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Resolve; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2141,11 +2177,11 @@ export namespace servicedirectory_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Services$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Namespaces$Services$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Services$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2174,7 +2210,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2231,11 +2270,11 @@ export namespace servicedirectory_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Namespaces$Services$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Namespaces$Services$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Namespaces$Services$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2270,8 +2309,8 @@ export namespace servicedirectory_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2453,11 +2492,11 @@ export namespace servicedirectory_v1beta1 { create( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2486,7 +2525,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2543,11 +2585,11 @@ export namespace servicedirectory_v1beta1 { delete( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2576,7 +2618,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2630,11 +2675,11 @@ export namespace servicedirectory_v1beta1 { get( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2663,7 +2708,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2717,11 +2765,11 @@ export namespace servicedirectory_v1beta1 { list( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2754,8 +2802,8 @@ export namespace servicedirectory_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2812,11 +2860,11 @@ export namespace servicedirectory_v1beta1 { patch( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2845,7 +2893,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Services$Endpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2976,11 +3027,11 @@ export namespace servicedirectory_v1beta1 { getIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Workloads$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Namespaces$Workloads$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Workloads$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3009,7 +3060,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Workloads$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3066,11 +3120,11 @@ export namespace servicedirectory_v1beta1 { setIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Workloads$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Namespaces$Workloads$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Namespaces$Workloads$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3099,7 +3153,10 @@ export namespace servicedirectory_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Workloads$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3156,11 +3213,11 @@ export namespace servicedirectory_v1beta1 { testIamPermissions( params: Params$Resource$Projects$Locations$Namespaces$Workloads$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Namespaces$Workloads$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Namespaces$Workloads$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3195,8 +3252,8 @@ export namespace servicedirectory_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Namespaces$Workloads$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/servicemanagement/index.ts b/src/apis/servicemanagement/index.ts index 0f82470de14..e3434bfc34c 100644 --- a/src/apis/servicemanagement/index.ts +++ b/src/apis/servicemanagement/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/servicemanagement/package.json b/src/apis/servicemanagement/package.json index bbc3b2e773c..86087a1538a 100644 --- a/src/apis/servicemanagement/package.json +++ b/src/apis/servicemanagement/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/servicemanagement/v1.ts b/src/apis/servicemanagement/v1.ts index 98b6c6f074d..e0b8cb6837d 100644 --- a/src/apis/servicemanagement/v1.ts +++ b/src/apis/servicemanagement/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -177,7 +177,7 @@ export namespace servicemanagement_v1 { */ kind?: string | null; /** - * Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `apiserving/configaspects/proto`. + * Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`. */ spec?: {[key: string]: any} | null; } @@ -2117,11 +2117,11 @@ export namespace servicemanagement_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2150,7 +2150,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2202,11 +2205,11 @@ export namespace servicemanagement_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2239,8 +2242,8 @@ export namespace servicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2330,11 +2333,11 @@ export namespace servicemanagement_v1 { create( params: Params$Resource$Services$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2363,7 +2366,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2415,11 +2421,11 @@ export namespace servicemanagement_v1 { delete( params: Params$Resource$Services$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Services$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Services$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2448,7 +2454,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2503,11 +2512,11 @@ export namespace servicemanagement_v1 { generateConfigReport( params: Params$Resource$Services$Generateconfigreport, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateConfigReport( params?: Params$Resource$Services$Generateconfigreport, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateConfigReport( params: Params$Resource$Services$Generateconfigreport, options: StreamMethodOptions | BodyResponseCallback, @@ -2542,8 +2551,8 @@ export namespace servicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Generateconfigreport; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2601,11 +2610,11 @@ export namespace servicemanagement_v1 { get( params: Params$Resource$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2634,7 +2643,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2689,11 +2701,11 @@ export namespace servicemanagement_v1 { getConfig( params: Params$Resource$Services$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Services$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Services$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -2722,7 +2734,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2778,11 +2793,11 @@ export namespace servicemanagement_v1 { getIamPolicy( params: Params$Resource$Services$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Services$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Services$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2811,7 +2826,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2867,11 +2885,11 @@ export namespace servicemanagement_v1 { list( params: Params$Resource$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2904,8 +2922,8 @@ export namespace servicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2957,11 +2975,11 @@ export namespace servicemanagement_v1 { setIamPolicy( params: Params$Resource$Services$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Services$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Services$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2990,7 +3008,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3046,11 +3067,11 @@ export namespace servicemanagement_v1 { testIamPermissions( params: Params$Resource$Services$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Services$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Services$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3085,8 +3106,8 @@ export namespace servicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3142,11 +3163,11 @@ export namespace servicemanagement_v1 { undelete( params: Params$Resource$Services$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Services$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Services$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -3175,7 +3196,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3340,11 +3364,11 @@ export namespace servicemanagement_v1 { create( params: Params$Resource$Services$Configs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Configs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Configs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3373,7 +3397,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Configs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3429,11 +3456,11 @@ export namespace servicemanagement_v1 { get( params: Params$Resource$Services$Configs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Configs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Configs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3462,7 +3489,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Configs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3517,11 +3547,11 @@ export namespace servicemanagement_v1 { list( params: Params$Resource$Services$Configs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Configs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$Configs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3556,8 +3586,8 @@ export namespace servicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Configs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3613,11 +3643,11 @@ export namespace servicemanagement_v1 { submit( params: Params$Resource$Services$Configs$Submit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submit( params?: Params$Resource$Services$Configs$Submit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; submit( params: Params$Resource$Services$Configs$Submit, options: StreamMethodOptions | BodyResponseCallback, @@ -3646,7 +3676,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Configs$Submit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3763,11 +3796,11 @@ export namespace servicemanagement_v1 { getIamPolicy( params: Params$Resource$Services$Consumers$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Services$Consumers$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Services$Consumers$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3796,7 +3829,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumers$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3852,11 +3888,11 @@ export namespace servicemanagement_v1 { setIamPolicy( params: Params$Resource$Services$Consumers$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Services$Consumers$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Services$Consumers$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3885,7 +3921,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumers$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3941,11 +3980,11 @@ export namespace servicemanagement_v1 { testIamPermissions( params: Params$Resource$Services$Consumers$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Services$Consumers$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Services$Consumers$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3980,8 +4019,8 @@ export namespace servicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumers$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4081,11 +4120,11 @@ export namespace servicemanagement_v1 { create( params: Params$Resource$Services$Rollouts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Rollouts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Rollouts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4114,7 +4153,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Rollouts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4170,11 +4212,11 @@ export namespace servicemanagement_v1 { get( params: Params$Resource$Services$Rollouts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Rollouts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Rollouts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4203,7 +4245,10 @@ export namespace servicemanagement_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Rollouts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4258,11 +4303,11 @@ export namespace servicemanagement_v1 { list( params: Params$Resource$Services$Rollouts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Rollouts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$Rollouts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4297,8 +4342,8 @@ export namespace servicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Rollouts$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/servicenetworking/index.ts b/src/apis/servicenetworking/index.ts index 14694bb2cc9..3c767da21fb 100644 --- a/src/apis/servicenetworking/index.ts +++ b/src/apis/servicenetworking/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/servicenetworking/package.json b/src/apis/servicenetworking/package.json index 903aa016acb..deb08b9aca9 100644 --- a/src/apis/servicenetworking/package.json +++ b/src/apis/servicenetworking/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/servicenetworking/v1.ts b/src/apis/servicenetworking/v1.ts index deba0ed5fe7..4d9ee445905 100644 --- a/src/apis/servicenetworking/v1.ts +++ b/src/apis/servicenetworking/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -334,7 +334,7 @@ export namespace servicenetworking_v1 { */ kind?: string | null; /** - * Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `apiserving/configaspects/proto`. + * Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`. */ spec?: {[key: string]: any} | null; } @@ -2400,11 +2400,11 @@ export namespace servicenetworking_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2433,7 +2433,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2486,11 +2489,11 @@ export namespace servicenetworking_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2519,7 +2522,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2572,11 +2578,11 @@ export namespace servicenetworking_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2605,7 +2611,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2657,11 +2666,11 @@ export namespace servicenetworking_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2694,8 +2703,8 @@ export namespace servicenetworking_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2808,11 +2817,11 @@ export namespace servicenetworking_v1 { addSubnetwork( params: Params$Resource$Services$Addsubnetwork, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addSubnetwork( params?: Params$Resource$Services$Addsubnetwork, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addSubnetwork( params: Params$Resource$Services$Addsubnetwork, options: StreamMethodOptions | BodyResponseCallback, @@ -2841,7 +2850,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Addsubnetwork; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2897,11 +2909,11 @@ export namespace servicenetworking_v1 { disableVpcServiceControls( params: Params$Resource$Services$Disablevpcservicecontrols, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disableVpcServiceControls( params?: Params$Resource$Services$Disablevpcservicecontrols, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disableVpcServiceControls( params: Params$Resource$Services$Disablevpcservicecontrols, options: StreamMethodOptions | BodyResponseCallback, @@ -2932,7 +2944,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Disablevpcservicecontrols; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2988,11 +3003,11 @@ export namespace servicenetworking_v1 { enableVpcServiceControls( params: Params$Resource$Services$Enablevpcservicecontrols, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enableVpcServiceControls( params?: Params$Resource$Services$Enablevpcservicecontrols, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enableVpcServiceControls( params: Params$Resource$Services$Enablevpcservicecontrols, options: StreamMethodOptions | BodyResponseCallback, @@ -3023,7 +3038,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Enablevpcservicecontrols; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3079,11 +3097,11 @@ export namespace servicenetworking_v1 { searchRange( params: Params$Resource$Services$Searchrange, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchRange( params?: Params$Resource$Services$Searchrange, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchRange( params: Params$Resource$Services$Searchrange, options: StreamMethodOptions | BodyResponseCallback, @@ -3112,7 +3130,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Searchrange; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3168,11 +3189,11 @@ export namespace servicenetworking_v1 { validate( params: Params$Resource$Services$Validate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; validate( params?: Params$Resource$Services$Validate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; validate( params: Params$Resource$Services$Validate, options: StreamMethodOptions | BodyResponseCallback, @@ -3207,8 +3228,8 @@ export namespace servicenetworking_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Validate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3334,11 +3355,11 @@ export namespace servicenetworking_v1 { create( params: Params$Resource$Services$Connections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Connections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Connections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3367,7 +3388,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Connections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3423,11 +3447,11 @@ export namespace servicenetworking_v1 { deleteConnection( params: Params$Resource$Services$Connections$Deleteconnection, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteConnection( params?: Params$Resource$Services$Connections$Deleteconnection, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteConnection( params: Params$Resource$Services$Connections$Deleteconnection, options: StreamMethodOptions | BodyResponseCallback, @@ -3456,7 +3480,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Connections$Deleteconnection; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3509,11 +3536,11 @@ export namespace servicenetworking_v1 { list( params: Params$Resource$Services$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3546,8 +3573,8 @@ export namespace servicenetworking_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3603,11 +3630,11 @@ export namespace servicenetworking_v1 { patch( params: Params$Resource$Services$Connections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Services$Connections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Services$Connections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3636,7 +3663,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Connections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3752,11 +3782,11 @@ export namespace servicenetworking_v1 { add( params: Params$Resource$Services$Dnsrecordsets$Add, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; add( params?: Params$Resource$Services$Dnsrecordsets$Add, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; add( params: Params$Resource$Services$Dnsrecordsets$Add, options: StreamMethodOptions | BodyResponseCallback, @@ -3785,7 +3815,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Dnsrecordsets$Add; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3841,11 +3874,11 @@ export namespace servicenetworking_v1 { get( params: Params$Resource$Services$Dnsrecordsets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Dnsrecordsets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Dnsrecordsets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3874,7 +3907,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Dnsrecordsets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3930,11 +3966,11 @@ export namespace servicenetworking_v1 { list( params: Params$Resource$Services$Dnsrecordsets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Dnsrecordsets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$Dnsrecordsets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3969,8 +4005,8 @@ export namespace servicenetworking_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Dnsrecordsets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4026,11 +4062,11 @@ export namespace servicenetworking_v1 { remove( params: Params$Resource$Services$Dnsrecordsets$Remove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; remove( params?: Params$Resource$Services$Dnsrecordsets$Remove, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; remove( params: Params$Resource$Services$Dnsrecordsets$Remove, options: StreamMethodOptions | BodyResponseCallback, @@ -4059,7 +4095,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Dnsrecordsets$Remove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4115,11 +4154,11 @@ export namespace servicenetworking_v1 { update( params: Params$Resource$Services$Dnsrecordsets$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Services$Dnsrecordsets$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Services$Dnsrecordsets$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4148,7 +4187,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Dnsrecordsets$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4286,11 +4328,11 @@ export namespace servicenetworking_v1 { add( params: Params$Resource$Services$Dnszones$Add, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; add( params?: Params$Resource$Services$Dnszones$Add, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; add( params: Params$Resource$Services$Dnszones$Add, options: StreamMethodOptions | BodyResponseCallback, @@ -4319,7 +4361,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Dnszones$Add; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4375,11 +4420,11 @@ export namespace servicenetworking_v1 { remove( params: Params$Resource$Services$Dnszones$Remove, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; remove( params?: Params$Resource$Services$Dnszones$Remove, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; remove( params: Params$Resource$Services$Dnszones$Remove, options: StreamMethodOptions | BodyResponseCallback, @@ -4408,7 +4453,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Dnszones$Remove; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4525,11 +4573,11 @@ export namespace servicenetworking_v1 { get( params: Params$Resource$Services$Projects$Global$Networks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Projects$Global$Networks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Projects$Global$Networks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4558,7 +4606,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Projects$Global$Networks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4611,11 +4662,11 @@ export namespace servicenetworking_v1 { getVpcServiceControls( params: Params$Resource$Services$Projects$Global$Networks$Getvpcservicecontrols, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getVpcServiceControls( params?: Params$Resource$Services$Projects$Global$Networks$Getvpcservicecontrols, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getVpcServiceControls( params: Params$Resource$Services$Projects$Global$Networks$Getvpcservicecontrols, options: StreamMethodOptions | BodyResponseCallback, @@ -4648,8 +4699,8 @@ export namespace servicenetworking_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Projects$Global$Networks$Getvpcservicecontrols; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4706,11 +4757,11 @@ export namespace servicenetworking_v1 { updateConsumerConfig( params: Params$Resource$Services$Projects$Global$Networks$Updateconsumerconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConsumerConfig( params?: Params$Resource$Services$Projects$Global$Networks$Updateconsumerconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateConsumerConfig( params: Params$Resource$Services$Projects$Global$Networks$Updateconsumerconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -4741,7 +4792,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Projects$Global$Networks$Updateconsumerconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4836,11 +4890,11 @@ export namespace servicenetworking_v1 { get( params: Params$Resource$Services$Projects$Global$Networks$Dnszones$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Projects$Global$Networks$Dnszones$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Projects$Global$Networks$Dnszones$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4871,8 +4925,8 @@ export namespace servicenetworking_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Projects$Global$Networks$Dnszones$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4926,11 +4980,11 @@ export namespace servicenetworking_v1 { list( params: Params$Resource$Services$Projects$Global$Networks$Dnszones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Projects$Global$Networks$Dnszones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$Projects$Global$Networks$Dnszones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4963,8 +5017,8 @@ export namespace servicenetworking_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Projects$Global$Networks$Dnszones$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5043,11 +5097,11 @@ export namespace servicenetworking_v1 { create( params: Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5076,7 +5130,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5133,11 +5190,11 @@ export namespace servicenetworking_v1 { delete( params: Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5166,7 +5223,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5220,11 +5280,11 @@ export namespace servicenetworking_v1 { list( params: Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5259,8 +5319,8 @@ export namespace servicenetworking_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5353,11 +5413,11 @@ export namespace servicenetworking_v1 { add( params: Params$Resource$Services$Roles$Add, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; add( params?: Params$Resource$Services$Roles$Add, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; add( params: Params$Resource$Services$Roles$Add, options: StreamMethodOptions | BodyResponseCallback, @@ -5386,7 +5446,10 @@ export namespace servicenetworking_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Roles$Add; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/servicenetworking/v1beta.ts b/src/apis/servicenetworking/v1beta.ts index f6985db0aa5..7554e459f2e 100644 --- a/src/apis/servicenetworking/v1beta.ts +++ b/src/apis/servicenetworking/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -239,7 +239,7 @@ export namespace servicenetworking_v1beta { */ kind?: string | null; /** - * Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `apiserving/configaspects/proto`. + * Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`. */ spec?: {[key: string]: any} | null; } @@ -2060,11 +2060,11 @@ export namespace servicenetworking_v1beta { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2093,7 +2093,10 @@ export namespace servicenetworking_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2161,11 +2164,11 @@ export namespace servicenetworking_v1beta { addSubnetwork( params: Params$Resource$Services$Addsubnetwork, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addSubnetwork( params?: Params$Resource$Services$Addsubnetwork, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addSubnetwork( params: Params$Resource$Services$Addsubnetwork, options: StreamMethodOptions | BodyResponseCallback, @@ -2194,7 +2197,10 @@ export namespace servicenetworking_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Addsubnetwork; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2250,11 +2256,11 @@ export namespace servicenetworking_v1beta { searchRange( params: Params$Resource$Services$Searchrange, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; searchRange( params?: Params$Resource$Services$Searchrange, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; searchRange( params: Params$Resource$Services$Searchrange, options: StreamMethodOptions | BodyResponseCallback, @@ -2283,7 +2289,10 @@ export namespace servicenetworking_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Searchrange; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2339,11 +2348,11 @@ export namespace servicenetworking_v1beta { updateConnections( params: Params$Resource$Services$Updateconnections, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConnections( params?: Params$Resource$Services$Updateconnections, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateConnections( params: Params$Resource$Services$Updateconnections, options: StreamMethodOptions | BodyResponseCallback, @@ -2372,7 +2381,10 @@ export namespace servicenetworking_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Updateconnections; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2480,11 +2492,11 @@ export namespace servicenetworking_v1beta { create( params: Params$Resource$Services$Connections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Connections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Connections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2513,7 +2525,10 @@ export namespace servicenetworking_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Connections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2569,11 +2584,11 @@ export namespace servicenetworking_v1beta { list( params: Params$Resource$Services$Connections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Connections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$Connections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2606,8 +2621,8 @@ export namespace servicenetworking_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Connections$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/serviceusage/index.ts b/src/apis/serviceusage/index.ts index d3869c505af..d45a85db27b 100644 --- a/src/apis/serviceusage/index.ts +++ b/src/apis/serviceusage/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/serviceusage/package.json b/src/apis/serviceusage/package.json index 6628fb69967..592d223b8ec 100644 --- a/src/apis/serviceusage/package.json +++ b/src/apis/serviceusage/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/serviceusage/v1.ts b/src/apis/serviceusage/v1.ts index bd8aaea6ad2..893e9ce01b4 100644 --- a/src/apis/serviceusage/v1.ts +++ b/src/apis/serviceusage/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2303,11 +2303,11 @@ export namespace serviceusage_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2336,7 +2336,10 @@ export namespace serviceusage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2388,11 +2391,11 @@ export namespace serviceusage_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2421,7 +2424,10 @@ export namespace serviceusage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2473,11 +2479,11 @@ export namespace serviceusage_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2506,7 +2512,10 @@ export namespace serviceusage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2557,11 +2566,11 @@ export namespace serviceusage_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2594,8 +2603,8 @@ export namespace serviceusage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2697,11 +2706,11 @@ export namespace serviceusage_v1 { batchEnable( params: Params$Resource$Services$Batchenable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchEnable( params?: Params$Resource$Services$Batchenable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchEnable( params: Params$Resource$Services$Batchenable, options: StreamMethodOptions | BodyResponseCallback, @@ -2730,7 +2739,10 @@ export namespace serviceusage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Batchenable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2785,11 +2797,11 @@ export namespace serviceusage_v1 { batchGet( params: Params$Resource$Services$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Services$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Services$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -2824,8 +2836,8 @@ export namespace serviceusage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2880,11 +2892,11 @@ export namespace serviceusage_v1 { disable( params: Params$Resource$Services$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Services$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Services$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -2913,7 +2925,10 @@ export namespace serviceusage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2967,11 +2982,11 @@ export namespace serviceusage_v1 { enable( params: Params$Resource$Services$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Services$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Services$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -3000,7 +3015,10 @@ export namespace serviceusage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3051,11 +3069,11 @@ export namespace serviceusage_v1 { get( params: Params$Resource$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3090,8 +3108,8 @@ export namespace serviceusage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3144,11 +3162,11 @@ export namespace serviceusage_v1 { list( params: Params$Resource$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3181,8 +3199,8 @@ export namespace serviceusage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/serviceusage/v1beta1.ts b/src/apis/serviceusage/v1beta1.ts index 3f3264e0a63..296e3fa563d 100644 --- a/src/apis/serviceusage/v1beta1.ts +++ b/src/apis/serviceusage/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2566,11 +2566,11 @@ export namespace serviceusage_v1beta1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2599,7 +2599,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2650,11 +2653,11 @@ export namespace serviceusage_v1beta1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2687,8 +2690,8 @@ export namespace serviceusage_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2778,11 +2781,11 @@ export namespace serviceusage_v1beta1 { batchEnable( params: Params$Resource$Services$Batchenable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchEnable( params?: Params$Resource$Services$Batchenable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchEnable( params: Params$Resource$Services$Batchenable, options: StreamMethodOptions | BodyResponseCallback, @@ -2811,7 +2814,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Batchenable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2866,11 +2872,11 @@ export namespace serviceusage_v1beta1 { disable( params: Params$Resource$Services$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Services$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Services$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -2899,7 +2905,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2953,11 +2962,11 @@ export namespace serviceusage_v1beta1 { enable( params: Params$Resource$Services$Enable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; enable( params?: Params$Resource$Services$Enable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; enable( params: Params$Resource$Services$Enable, options: StreamMethodOptions | BodyResponseCallback, @@ -2986,7 +2995,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Enable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3040,11 +3052,11 @@ export namespace serviceusage_v1beta1 { generateServiceIdentity( params: Params$Resource$Services$Generateserviceidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateServiceIdentity( params?: Params$Resource$Services$Generateserviceidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateServiceIdentity( params: Params$Resource$Services$Generateserviceidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -3075,7 +3087,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Generateserviceidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3129,11 +3144,11 @@ export namespace serviceusage_v1beta1 { get( params: Params$Resource$Services$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3162,7 +3177,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3213,11 +3231,11 @@ export namespace serviceusage_v1beta1 { list( params: Params$Resource$Services$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3250,8 +3268,8 @@ export namespace serviceusage_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3382,11 +3400,11 @@ export namespace serviceusage_v1beta1 { get( params: Params$Resource$Services$Consumerquotametrics$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Consumerquotametrics$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Consumerquotametrics$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3417,8 +3435,8 @@ export namespace serviceusage_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3470,11 +3488,11 @@ export namespace serviceusage_v1beta1 { importAdminOverrides( params: Params$Resource$Services$Consumerquotametrics$Importadminoverrides, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importAdminOverrides( params?: Params$Resource$Services$Consumerquotametrics$Importadminoverrides, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importAdminOverrides( params: Params$Resource$Services$Consumerquotametrics$Importadminoverrides, options: StreamMethodOptions | BodyResponseCallback, @@ -3505,7 +3523,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Importadminoverrides; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3561,11 +3582,11 @@ export namespace serviceusage_v1beta1 { importConsumerOverrides( params: Params$Resource$Services$Consumerquotametrics$Importconsumeroverrides, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importConsumerOverrides( params?: Params$Resource$Services$Consumerquotametrics$Importconsumeroverrides, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importConsumerOverrides( params: Params$Resource$Services$Consumerquotametrics$Importconsumeroverrides, options: StreamMethodOptions | BodyResponseCallback, @@ -3596,7 +3617,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Importconsumeroverrides; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3652,11 +3676,13 @@ export namespace serviceusage_v1beta1 { list( params: Params$Resource$Services$Consumerquotametrics$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Consumerquotametrics$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Services$Consumerquotametrics$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3691,8 +3717,10 @@ export namespace serviceusage_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3821,11 +3849,11 @@ export namespace serviceusage_v1beta1 { get( params: Params$Resource$Services$Consumerquotametrics$Limits$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Services$Consumerquotametrics$Limits$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Services$Consumerquotametrics$Limits$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3856,8 +3884,8 @@ export namespace serviceusage_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3928,11 +3956,11 @@ export namespace serviceusage_v1beta1 { create( params: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3961,7 +3989,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4017,11 +4048,11 @@ export namespace serviceusage_v1beta1 { delete( params: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4050,7 +4081,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4103,11 +4137,11 @@ export namespace serviceusage_v1beta1 { list( params: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4142,8 +4176,8 @@ export namespace serviceusage_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4199,11 +4233,11 @@ export namespace serviceusage_v1beta1 { patch( params: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4232,7 +4266,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Adminoverrides$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4367,11 +4404,11 @@ export namespace serviceusage_v1beta1 { create( params: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4400,7 +4437,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4456,11 +4496,11 @@ export namespace serviceusage_v1beta1 { delete( params: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4489,7 +4529,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4542,11 +4585,11 @@ export namespace serviceusage_v1beta1 { list( params: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4581,8 +4624,8 @@ export namespace serviceusage_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4640,11 +4683,11 @@ export namespace serviceusage_v1beta1 { patch( params: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4673,7 +4716,10 @@ export namespace serviceusage_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Services$Consumerquotametrics$Limits$Consumeroverrides$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/sheets/index.ts b/src/apis/sheets/index.ts index 84390bd3b94..793d11298d6 100644 --- a/src/apis/sheets/index.ts +++ b/src/apis/sheets/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/sheets/package.json b/src/apis/sheets/package.json index eb5068a79d1..3234e3c9c36 100644 --- a/src/apis/sheets/package.json +++ b/src/apis/sheets/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/sheets/v4.ts b/src/apis/sheets/v4.ts index e6a26d5a19f..3a656aeebc7 100644 --- a/src/apis/sheets/v4.ts +++ b/src/apis/sheets/v4.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5182,11 +5182,11 @@ export namespace sheets_v4 { batchUpdate( params: Params$Resource$Spreadsheets$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Spreadsheets$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Spreadsheets$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -5221,8 +5221,8 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5278,11 +5278,11 @@ export namespace sheets_v4 { create( params: Params$Resource$Spreadsheets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Spreadsheets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Spreadsheets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5311,7 +5311,10 @@ export namespace sheets_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5363,11 +5366,11 @@ export namespace sheets_v4 { get( params: Params$Resource$Spreadsheets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Spreadsheets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Spreadsheets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5396,7 +5399,10 @@ export namespace sheets_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5450,11 +5456,11 @@ export namespace sheets_v4 { getByDataFilter( params: Params$Resource$Spreadsheets$Getbydatafilter, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getByDataFilter( params?: Params$Resource$Spreadsheets$Getbydatafilter, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getByDataFilter( params: Params$Resource$Spreadsheets$Getbydatafilter, options: StreamMethodOptions | BodyResponseCallback, @@ -5483,7 +5489,10 @@ export namespace sheets_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Getbydatafilter; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5594,11 +5603,11 @@ export namespace sheets_v4 { get( params: Params$Resource$Spreadsheets$Developermetadata$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Spreadsheets$Developermetadata$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Spreadsheets$Developermetadata$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5629,8 +5638,8 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Developermetadata$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5685,11 +5694,11 @@ export namespace sheets_v4 { search( params: Params$Resource$Spreadsheets$Developermetadata$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Spreadsheets$Developermetadata$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; search( params: Params$Resource$Spreadsheets$Developermetadata$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -5724,8 +5733,8 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Developermetadata$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5813,11 +5822,11 @@ export namespace sheets_v4 { copyTo( params: Params$Resource$Spreadsheets$Sheets$Copyto, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copyTo( params?: Params$Resource$Spreadsheets$Sheets$Copyto, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copyTo( params: Params$Resource$Spreadsheets$Sheets$Copyto, options: StreamMethodOptions | BodyResponseCallback, @@ -5846,7 +5855,10 @@ export namespace sheets_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Sheets$Copyto; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5925,11 +5937,11 @@ export namespace sheets_v4 { append( params: Params$Resource$Spreadsheets$Values$Append, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; append( params?: Params$Resource$Spreadsheets$Values$Append, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; append( params: Params$Resource$Spreadsheets$Values$Append, options: StreamMethodOptions | BodyResponseCallback, @@ -5962,8 +5974,8 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Values$Append; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6017,11 +6029,11 @@ export namespace sheets_v4 { batchClear( params: Params$Resource$Spreadsheets$Values$Batchclear, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchClear( params?: Params$Resource$Spreadsheets$Values$Batchclear, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchClear( params: Params$Resource$Spreadsheets$Values$Batchclear, options: StreamMethodOptions | BodyResponseCallback, @@ -6056,8 +6068,8 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Values$Batchclear; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6111,11 +6123,13 @@ export namespace sheets_v4 { batchClearByDataFilter( params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchClearByDataFilter( params?: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchClearByDataFilter( params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter, options: StreamMethodOptions | BodyResponseCallback, @@ -6150,8 +6164,10 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Values$Batchclearbydatafilter; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6209,11 +6225,11 @@ export namespace sheets_v4 { batchGet( params: Params$Resource$Spreadsheets$Values$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Spreadsheets$Values$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Spreadsheets$Values$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -6248,8 +6264,8 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Values$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6303,11 +6319,13 @@ export namespace sheets_v4 { batchGetByDataFilter( params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGetByDataFilter( params?: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchGetByDataFilter( params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter, options: StreamMethodOptions | BodyResponseCallback, @@ -6342,8 +6360,10 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Values$Batchgetbydatafilter; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6400,11 +6420,11 @@ export namespace sheets_v4 { batchUpdate( params: Params$Resource$Spreadsheets$Values$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Spreadsheets$Values$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Spreadsheets$Values$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -6439,8 +6459,8 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Values$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6494,11 +6514,13 @@ export namespace sheets_v4 { batchUpdateByDataFilter( params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdateByDataFilter( params?: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; batchUpdateByDataFilter( params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter, options: StreamMethodOptions | BodyResponseCallback, @@ -6533,8 +6555,10 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6592,11 +6616,11 @@ export namespace sheets_v4 { clear( params: Params$Resource$Spreadsheets$Values$Clear, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clear( params?: Params$Resource$Spreadsheets$Values$Clear, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clear( params: Params$Resource$Spreadsheets$Values$Clear, options: StreamMethodOptions | BodyResponseCallback, @@ -6627,8 +6651,8 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Values$Clear; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6682,11 +6706,11 @@ export namespace sheets_v4 { get( params: Params$Resource$Spreadsheets$Values$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Spreadsheets$Values$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Spreadsheets$Values$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6715,7 +6739,10 @@ export namespace sheets_v4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Values$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6769,11 +6796,11 @@ export namespace sheets_v4 { update( params: Params$Resource$Spreadsheets$Values$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Spreadsheets$Values$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Spreadsheets$Values$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6806,8 +6833,8 @@ export namespace sheets_v4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Values$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/siteVerification/index.ts b/src/apis/siteVerification/index.ts index 79b9a13070a..be3407eb575 100644 --- a/src/apis/siteVerification/index.ts +++ b/src/apis/siteVerification/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/siteVerification/package.json b/src/apis/siteVerification/package.json index 7c9b6c48cab..41fa5932b29 100644 --- a/src/apis/siteVerification/package.json +++ b/src/apis/siteVerification/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/siteVerification/v1.ts b/src/apis/siteVerification/v1.ts index 41b96088781..1fa4c44ed25 100644 --- a/src/apis/siteVerification/v1.ts +++ b/src/apis/siteVerification/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -166,11 +166,11 @@ export namespace siteVerification_v1 { delete( params: Params$Resource$Webresource$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Webresource$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Webresource$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -197,7 +197,10 @@ export namespace siteVerification_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webresource$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -252,11 +255,13 @@ export namespace siteVerification_v1 { get( params: Params$Resource$Webresource$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Webresource$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Webresource$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -291,8 +296,10 @@ export namespace siteVerification_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webresource$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -348,11 +355,13 @@ export namespace siteVerification_v1 { getToken( params: Params$Resource$Webresource$Gettoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getToken( params?: Params$Resource$Webresource$Gettoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getToken( params: Params$Resource$Webresource$Gettoken, options: StreamMethodOptions | BodyResponseCallback, @@ -387,8 +396,10 @@ export namespace siteVerification_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webresource$Gettoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -445,11 +456,13 @@ export namespace siteVerification_v1 { insert( params: Params$Resource$Webresource$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Webresource$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; insert( params: Params$Resource$Webresource$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -484,8 +497,10 @@ export namespace siteVerification_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webresource$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -542,11 +557,13 @@ export namespace siteVerification_v1 { list( params: Params$Resource$Webresource$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Webresource$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Webresource$List, options: StreamMethodOptions | BodyResponseCallback, @@ -581,8 +598,10 @@ export namespace siteVerification_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webresource$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -638,11 +657,13 @@ export namespace siteVerification_v1 { patch( params: Params$Resource$Webresource$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Webresource$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; patch( params: Params$Resource$Webresource$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -677,8 +698,10 @@ export namespace siteVerification_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webresource$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -735,11 +758,13 @@ export namespace siteVerification_v1 { update( params: Params$Resource$Webresource$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Webresource$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; update( params: Params$Resource$Webresource$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -774,8 +799,10 @@ export namespace siteVerification_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webresource$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/slides/index.ts b/src/apis/slides/index.ts index 3221799ffeb..020ac3434e1 100644 --- a/src/apis/slides/index.ts +++ b/src/apis/slides/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/slides/package.json b/src/apis/slides/package.json index 3ceb4486877..99bf7151f44 100644 --- a/src/apis/slides/package.json +++ b/src/apis/slides/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/slides/v1.ts b/src/apis/slides/v1.ts index 24d02dc206e..506156871c1 100644 --- a/src/apis/slides/v1.ts +++ b/src/apis/slides/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2684,11 +2684,11 @@ export namespace slides_v1 { batchUpdate( params: Params$Resource$Presentations$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Presentations$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Presentations$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -2723,8 +2723,8 @@ export namespace slides_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Presentations$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2780,11 +2780,11 @@ export namespace slides_v1 { create( params: Params$Resource$Presentations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Presentations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Presentations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2813,7 +2813,10 @@ export namespace slides_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Presentations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2865,11 +2868,11 @@ export namespace slides_v1 { get( params: Params$Resource$Presentations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Presentations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Presentations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2898,7 +2901,10 @@ export namespace slides_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Presentations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2987,11 +2993,11 @@ export namespace slides_v1 { get( params: Params$Resource$Presentations$Pages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Presentations$Pages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Presentations$Pages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3020,7 +3026,10 @@ export namespace slides_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Presentations$Pages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3075,11 +3084,11 @@ export namespace slides_v1 { getThumbnail( params: Params$Resource$Presentations$Pages$Getthumbnail, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getThumbnail( params?: Params$Resource$Presentations$Pages$Getthumbnail, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getThumbnail( params: Params$Resource$Presentations$Pages$Getthumbnail, options: StreamMethodOptions | BodyResponseCallback, @@ -3108,7 +3117,10 @@ export namespace slides_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Presentations$Pages$Getthumbnail; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/smartdevicemanagement/index.ts b/src/apis/smartdevicemanagement/index.ts index 61828547bc5..719bc246d90 100644 --- a/src/apis/smartdevicemanagement/index.ts +++ b/src/apis/smartdevicemanagement/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/smartdevicemanagement/package.json b/src/apis/smartdevicemanagement/package.json index a32f46fba91..afe980d0696 100644 --- a/src/apis/smartdevicemanagement/package.json +++ b/src/apis/smartdevicemanagement/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/smartdevicemanagement/v1.ts b/src/apis/smartdevicemanagement/v1.ts index d65097e8425..879cf016d20 100644 --- a/src/apis/smartdevicemanagement/v1.ts +++ b/src/apis/smartdevicemanagement/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -262,11 +262,13 @@ export namespace smartdevicemanagement_v1 { executeCommand( params: Params$Resource$Enterprises$Devices$Executecommand, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeCommand( params?: Params$Resource$Enterprises$Devices$Executecommand, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; executeCommand( params: Params$Resource$Enterprises$Devices$Executecommand, options: StreamMethodOptions | BodyResponseCallback, @@ -301,8 +303,10 @@ export namespace smartdevicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Devices$Executecommand; let options = (optionsOrCallback || {}) as MethodOptions; @@ -360,11 +364,11 @@ export namespace smartdevicemanagement_v1 { get( params: Params$Resource$Enterprises$Devices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Devices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Enterprises$Devices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -399,8 +403,8 @@ export namespace smartdevicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Devices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -455,11 +459,13 @@ export namespace smartdevicemanagement_v1 { list( params: Params$Resource$Enterprises$Devices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Enterprises$Devices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Enterprises$Devices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -494,8 +500,10 @@ export namespace smartdevicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Devices$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -593,11 +601,13 @@ export namespace smartdevicemanagement_v1 { get( params: Params$Resource$Enterprises$Structures$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Structures$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; get( params: Params$Resource$Enterprises$Structures$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -632,8 +642,10 @@ export namespace smartdevicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Structures$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -688,11 +700,13 @@ export namespace smartdevicemanagement_v1 { list( params: Params$Resource$Enterprises$Structures$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Enterprises$Structures$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Enterprises$Structures$List, options: StreamMethodOptions | BodyResponseCallback, @@ -727,8 +741,10 @@ export namespace smartdevicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Structures$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -812,11 +828,11 @@ export namespace smartdevicemanagement_v1 { get( params: Params$Resource$Enterprises$Structures$Rooms$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Enterprises$Structures$Rooms$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Enterprises$Structures$Rooms$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -851,8 +867,8 @@ export namespace smartdevicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Structures$Rooms$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -907,11 +923,13 @@ export namespace smartdevicemanagement_v1 { list( params: Params$Resource$Enterprises$Structures$Rooms$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Enterprises$Structures$Rooms$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Enterprises$Structures$Rooms$List, options: StreamMethodOptions | BodyResponseCallback, @@ -946,8 +964,10 @@ export namespace smartdevicemanagement_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Enterprises$Structures$Rooms$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/solar/index.ts b/src/apis/solar/index.ts index a365626dda0..a70990f7b31 100644 --- a/src/apis/solar/index.ts +++ b/src/apis/solar/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/solar/package.json b/src/apis/solar/package.json index 1cf97cbd613..1a5eb0ab97c 100644 --- a/src/apis/solar/package.json +++ b/src/apis/solar/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/solar/v1.ts b/src/apis/solar/v1.ts index 6ae9acff257..2e864de7a85 100644 --- a/src/apis/solar/v1.ts +++ b/src/apis/solar/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -661,11 +661,11 @@ export namespace solar_v1 { findClosest( params: Params$Resource$Buildinginsights$Findclosest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; findClosest( params?: Params$Resource$Buildinginsights$Findclosest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; findClosest( params: Params$Resource$Buildinginsights$Findclosest, options: StreamMethodOptions | BodyResponseCallback, @@ -694,7 +694,10 @@ export namespace solar_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buildinginsights$Findclosest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -776,11 +779,11 @@ export namespace solar_v1 { get( params: Params$Resource$Datalayers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Datalayers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Datalayers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -809,7 +812,10 @@ export namespace solar_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Datalayers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -902,11 +908,11 @@ export namespace solar_v1 { get( params: Params$Resource$Geotiff$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Geotiff$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Geotiff$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -935,7 +941,10 @@ export namespace solar_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Geotiff$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/sourcerepo/index.ts b/src/apis/sourcerepo/index.ts index 929703bb537..dbf75ce0f8d 100644 --- a/src/apis/sourcerepo/index.ts +++ b/src/apis/sourcerepo/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/sourcerepo/package.json b/src/apis/sourcerepo/package.json index 13b749baffd..932f7608815 100644 --- a/src/apis/sourcerepo/package.json +++ b/src/apis/sourcerepo/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/sourcerepo/v1.ts b/src/apis/sourcerepo/v1.ts index 4699f3a583d..fc617584c65 100644 --- a/src/apis/sourcerepo/v1.ts +++ b/src/apis/sourcerepo/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -446,11 +446,11 @@ export namespace sourcerepo_v1 { getConfig( params: Params$Resource$Projects$Getconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params?: Params$Resource$Projects$Getconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getConfig( params: Params$Resource$Projects$Getconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -479,7 +479,7 @@ export namespace sourcerepo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -531,11 +531,11 @@ export namespace sourcerepo_v1 { updateConfig( params: Params$Resource$Projects$Updateconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params?: Params$Resource$Projects$Updateconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateConfig( params: Params$Resource$Projects$Updateconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -564,7 +564,7 @@ export namespace sourcerepo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Updateconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -643,11 +643,11 @@ export namespace sourcerepo_v1 { create( params: Params$Resource$Projects$Repos$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Repos$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Repos$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -676,7 +676,7 @@ export namespace sourcerepo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Repos$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -731,11 +731,11 @@ export namespace sourcerepo_v1 { delete( params: Params$Resource$Projects$Repos$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Repos$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Repos$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -764,7 +764,7 @@ export namespace sourcerepo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Repos$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -816,11 +816,11 @@ export namespace sourcerepo_v1 { get( params: Params$Resource$Projects$Repos$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Repos$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Repos$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -849,7 +849,7 @@ export namespace sourcerepo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Repos$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -901,11 +901,11 @@ export namespace sourcerepo_v1 { getIamPolicy( params: Params$Resource$Projects$Repos$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Repos$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Repos$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -934,7 +934,7 @@ export namespace sourcerepo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Repos$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -989,11 +989,11 @@ export namespace sourcerepo_v1 { list( params: Params$Resource$Projects$Repos$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Repos$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Repos$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1024,8 +1024,8 @@ export namespace sourcerepo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Repos$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1077,11 +1077,11 @@ export namespace sourcerepo_v1 { patch( params: Params$Resource$Projects$Repos$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Repos$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Repos$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1110,7 +1110,7 @@ export namespace sourcerepo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Repos$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1162,11 +1162,11 @@ export namespace sourcerepo_v1 { setIamPolicy( params: Params$Resource$Projects$Repos$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Repos$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Repos$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -1195,7 +1195,7 @@ export namespace sourcerepo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Repos$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1250,11 +1250,11 @@ export namespace sourcerepo_v1 { sync( params: Params$Resource$Projects$Repos$Sync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sync( params?: Params$Resource$Projects$Repos$Sync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sync( params: Params$Resource$Projects$Repos$Sync, options: StreamMethodOptions | BodyResponseCallback, @@ -1283,7 +1283,7 @@ export namespace sourcerepo_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Repos$Sync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1335,11 +1335,11 @@ export namespace sourcerepo_v1 { testIamPermissions( params: Params$Resource$Projects$Repos$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Repos$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Repos$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1374,8 +1374,8 @@ export namespace sourcerepo_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Repos$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/spanner/index.ts b/src/apis/spanner/index.ts index 3dc27a83c3a..299bf3ead39 100644 --- a/src/apis/spanner/index.ts +++ b/src/apis/spanner/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/spanner/package.json b/src/apis/spanner/package.json index 8cb22204ef7..5554cae7a89 100644 --- a/src/apis/spanner/package.json +++ b/src/apis/spanner/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/spanner/v1.ts b/src/apis/spanner/v1.ts index a0700b9f13e..a81dcbe9800 100644 --- a/src/apis/spanner/v1.ts +++ b/src/apis/spanner/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3139,11 +3139,13 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instanceconfigoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instanceconfigoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Instanceconfigoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3178,8 +3180,10 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3271,11 +3275,11 @@ export namespace spanner_v1 { create( params: Params$Resource$Projects$Instanceconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instanceconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instanceconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3304,7 +3308,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3359,11 +3366,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instanceconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instanceconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instanceconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3392,7 +3399,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3444,11 +3454,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instanceconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instanceconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instanceconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3477,7 +3487,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3529,11 +3542,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instanceconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instanceconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instanceconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3568,8 +3581,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3624,11 +3637,11 @@ export namespace spanner_v1 { patch( params: Params$Resource$Projects$Instanceconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instanceconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instanceconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3657,7 +3670,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3778,11 +3794,11 @@ export namespace spanner_v1 { cancel( params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3811,7 +3827,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3864,11 +3883,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3897,7 +3916,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3950,11 +3972,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instanceconfigs$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instanceconfigs$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instanceconfigs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3983,7 +4005,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4035,11 +4060,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instanceconfigs$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instanceconfigs$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instanceconfigs$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4072,8 +4097,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4185,11 +4210,11 @@ export namespace spanner_v1 { cancel( params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4218,7 +4243,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4271,11 +4299,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4304,7 +4332,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4357,11 +4388,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4390,7 +4421,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4443,11 +4477,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4480,8 +4514,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4605,11 +4639,11 @@ export namespace spanner_v1 { create( params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4638,7 +4672,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4693,11 +4730,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4726,7 +4763,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4778,11 +4818,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4811,7 +4851,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4863,11 +4906,11 @@ export namespace spanner_v1 { getIamPolicy( params: Params$Resource$Projects$Instances$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Instances$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4896,7 +4939,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4951,11 +4997,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4988,8 +5034,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5044,11 +5090,11 @@ export namespace spanner_v1 { move( params: Params$Resource$Projects$Instances$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Projects$Instances$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Projects$Instances$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -5077,7 +5123,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5129,11 +5178,11 @@ export namespace spanner_v1 { patch( params: Params$Resource$Projects$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5162,7 +5211,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5214,11 +5266,11 @@ export namespace spanner_v1 { setIamPolicy( params: Params$Resource$Projects$Instances$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Instances$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5247,7 +5299,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5302,11 +5357,11 @@ export namespace spanner_v1 { testIamPermissions( params: Params$Resource$Projects$Instances$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Instances$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -5341,8 +5396,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5518,11 +5573,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Backupoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Backupoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Backupoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5557,8 +5612,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backupoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5646,11 +5701,11 @@ export namespace spanner_v1 { copy( params: Params$Resource$Projects$Instances$Backups$Copy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copy( params?: Params$Resource$Projects$Instances$Backups$Copy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copy( params: Params$Resource$Projects$Instances$Backups$Copy, options: StreamMethodOptions | BodyResponseCallback, @@ -5679,7 +5734,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Copy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5734,11 +5792,11 @@ export namespace spanner_v1 { create( params: Params$Resource$Projects$Instances$Backups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Backups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Backups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5767,7 +5825,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5822,11 +5883,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instances$Backups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Backups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5855,7 +5916,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5907,11 +5971,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instances$Backups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5940,7 +6004,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5992,11 +6059,11 @@ export namespace spanner_v1 { getIamPolicy( params: Params$Resource$Projects$Instances$Backups$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Instances$Backups$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Instances$Backups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6025,7 +6092,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6080,11 +6150,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Backups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Backups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6115,8 +6185,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6171,11 +6241,11 @@ export namespace spanner_v1 { patch( params: Params$Resource$Projects$Instances$Backups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Backups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6204,7 +6274,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6256,11 +6329,11 @@ export namespace spanner_v1 { setIamPolicy( params: Params$Resource$Projects$Instances$Backups$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Instances$Backups$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Instances$Backups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6289,7 +6362,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6344,11 +6420,11 @@ export namespace spanner_v1 { testIamPermissions( params: Params$Resource$Projects$Instances$Backups$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Instances$Backups$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Instances$Backups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6383,8 +6459,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6573,11 +6649,11 @@ export namespace spanner_v1 { cancel( params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6606,7 +6682,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6659,11 +6738,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instances$Backups$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Backups$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Backups$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6692,7 +6771,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6745,11 +6827,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instances$Backups$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Backups$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Backups$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6778,7 +6860,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6831,11 +6916,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Backups$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Backups$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Backups$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6868,8 +6953,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Backups$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6970,11 +7055,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Databaseoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Databaseoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Databaseoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7009,8 +7094,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databaseoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7109,11 +7194,11 @@ export namespace spanner_v1 { addSplitPoints( params: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addSplitPoints( params?: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addSplitPoints( params: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options: StreamMethodOptions | BodyResponseCallback, @@ -7148,8 +7233,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Addsplitpoints; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7205,11 +7290,11 @@ export namespace spanner_v1 { changequorum( params: Params$Resource$Projects$Instances$Databases$Changequorum, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; changequorum( params?: Params$Resource$Projects$Instances$Databases$Changequorum, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; changequorum( params: Params$Resource$Projects$Instances$Databases$Changequorum, options: StreamMethodOptions | BodyResponseCallback, @@ -7238,7 +7323,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Changequorum; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7294,11 +7382,11 @@ export namespace spanner_v1 { create( params: Params$Resource$Projects$Instances$Databases$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Databases$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Databases$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7327,7 +7415,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7382,11 +7473,11 @@ export namespace spanner_v1 { dropDatabase( params: Params$Resource$Projects$Instances$Databases$Dropdatabase, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; dropDatabase( params?: Params$Resource$Projects$Instances$Databases$Dropdatabase, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; dropDatabase( params: Params$Resource$Projects$Instances$Databases$Dropdatabase, options: StreamMethodOptions | BodyResponseCallback, @@ -7415,7 +7506,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Dropdatabase; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7468,11 +7562,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instances$Databases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Databases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Databases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7501,7 +7595,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7553,11 +7650,11 @@ export namespace spanner_v1 { getDdl( params: Params$Resource$Projects$Instances$Databases$Getddl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDdl( params?: Params$Resource$Projects$Instances$Databases$Getddl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getDdl( params: Params$Resource$Projects$Instances$Databases$Getddl, options: StreamMethodOptions | BodyResponseCallback, @@ -7590,8 +7687,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Getddl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7646,11 +7743,11 @@ export namespace spanner_v1 { getIamPolicy( params: Params$Resource$Projects$Instances$Databases$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Instances$Databases$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Instances$Databases$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7679,7 +7776,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7735,11 +7835,11 @@ export namespace spanner_v1 { getScans( params: Params$Resource$Projects$Instances$Databases$Getscans, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getScans( params?: Params$Resource$Projects$Instances$Databases$Getscans, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getScans( params: Params$Resource$Projects$Instances$Databases$Getscans, options: StreamMethodOptions | BodyResponseCallback, @@ -7768,7 +7868,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Getscans; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7820,11 +7923,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Databases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Databases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Databases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7857,8 +7960,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7913,11 +8016,11 @@ export namespace spanner_v1 { patch( params: Params$Resource$Projects$Instances$Databases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Databases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Databases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7946,7 +8049,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7998,11 +8104,11 @@ export namespace spanner_v1 { restore( params: Params$Resource$Projects$Instances$Databases$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Projects$Instances$Databases$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Projects$Instances$Databases$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -8031,7 +8137,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8086,11 +8195,11 @@ export namespace spanner_v1 { setIamPolicy( params: Params$Resource$Projects$Instances$Databases$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Instances$Databases$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Instances$Databases$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8119,7 +8228,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8175,11 +8287,11 @@ export namespace spanner_v1 { testIamPermissions( params: Params$Resource$Projects$Instances$Databases$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Instances$Databases$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Instances$Databases$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8214,8 +8326,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8271,11 +8383,11 @@ export namespace spanner_v1 { updateDdl( params: Params$Resource$Projects$Instances$Databases$Updateddl, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDdl( params?: Params$Resource$Projects$Instances$Databases$Updateddl, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateDdl( params: Params$Resource$Projects$Instances$Databases$Updateddl, options: StreamMethodOptions | BodyResponseCallback, @@ -8304,7 +8416,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Updateddl; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8534,11 +8649,11 @@ export namespace spanner_v1 { create( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8567,7 +8682,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8623,11 +8741,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8656,7 +8774,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8709,11 +8830,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8742,7 +8863,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8795,11 +8919,11 @@ export namespace spanner_v1 { getIamPolicy( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8828,7 +8952,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8884,11 +9011,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8923,8 +9050,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Backupschedules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8980,11 +9107,11 @@ export namespace spanner_v1 { patch( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9013,7 +9140,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9066,11 +9196,11 @@ export namespace spanner_v1 { setIamPolicy( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -9099,7 +9229,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9155,11 +9288,11 @@ export namespace spanner_v1 { testIamPermissions( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9194,8 +9327,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9356,11 +9489,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9395,8 +9528,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Databaseroles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9452,11 +9585,11 @@ export namespace spanner_v1 { testIamPermissions( params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -9491,8 +9624,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9583,11 +9716,11 @@ export namespace spanner_v1 { cancel( params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -9616,7 +9749,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9669,11 +9805,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instances$Databases$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Databases$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Databases$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9702,7 +9838,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9755,11 +9894,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instances$Databases$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Databases$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Databases$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9788,7 +9927,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9841,11 +9983,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Databases$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Databases$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Databases$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9878,8 +10020,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9980,11 +10122,11 @@ export namespace spanner_v1 { adapter( params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; adapter( params?: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; adapter( params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, options: StreamMethodOptions | BodyResponseCallback, @@ -10013,7 +10155,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Adapter; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10069,11 +10214,11 @@ export namespace spanner_v1 { adaptMessage( params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; adaptMessage( params?: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; adaptMessage( params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -10108,8 +10253,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10165,11 +10310,11 @@ export namespace spanner_v1 { batchCreate( params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -10204,8 +10349,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10261,11 +10406,11 @@ export namespace spanner_v1 { batchWrite( params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchWrite( params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchWrite( params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options: StreamMethodOptions | BodyResponseCallback, @@ -10296,8 +10441,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10353,11 +10498,11 @@ export namespace spanner_v1 { beginTransaction( params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; beginTransaction( params?: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; beginTransaction( params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options: StreamMethodOptions | BodyResponseCallback, @@ -10386,7 +10531,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10442,11 +10590,11 @@ export namespace spanner_v1 { commit( params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; commit( params?: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; commit( params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options: StreamMethodOptions | BodyResponseCallback, @@ -10475,7 +10623,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Commit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10531,11 +10682,11 @@ export namespace spanner_v1 { create( params: Params$Resource$Projects$Instances$Databases$Sessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Databases$Sessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Databases$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10564,7 +10715,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10620,11 +10774,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10653,7 +10807,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10706,11 +10863,11 @@ export namespace spanner_v1 { executeBatchDml( params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeBatchDml( params?: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeBatchDml( params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options: StreamMethodOptions | BodyResponseCallback, @@ -10745,8 +10902,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10802,11 +10959,11 @@ export namespace spanner_v1 { executeSql( params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeSql( params?: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeSql( params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options: StreamMethodOptions | BodyResponseCallback, @@ -10835,7 +10992,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Executesql; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10891,11 +11051,11 @@ export namespace spanner_v1 { executeStreamingSql( params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; executeStreamingSql( params?: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; executeStreamingSql( params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options: StreamMethodOptions | BodyResponseCallback, @@ -10926,7 +11086,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10982,11 +11145,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instances$Databases$Sessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Databases$Sessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Databases$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11015,7 +11178,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11068,11 +11234,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Databases$Sessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Databases$Sessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Databases$Sessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11105,8 +11271,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11162,11 +11328,11 @@ export namespace spanner_v1 { partitionQuery( params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; partitionQuery( params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; partitionQuery( params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options: StreamMethodOptions | BodyResponseCallback, @@ -11199,8 +11365,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11256,11 +11422,11 @@ export namespace spanner_v1 { partitionRead( params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; partitionRead( params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; partitionRead( params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options: StreamMethodOptions | BodyResponseCallback, @@ -11293,8 +11459,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Partitionread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11350,11 +11516,11 @@ export namespace spanner_v1 { read( params: Params$Resource$Projects$Instances$Databases$Sessions$Read, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; read( params?: Params$Resource$Projects$Instances$Databases$Sessions$Read, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; read( params: Params$Resource$Projects$Instances$Databases$Sessions$Read, options: StreamMethodOptions | BodyResponseCallback, @@ -11383,7 +11549,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Read; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11439,11 +11608,11 @@ export namespace spanner_v1 { rollback( params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params?: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rollback( params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options: StreamMethodOptions | BodyResponseCallback, @@ -11472,7 +11641,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Rollback; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11528,11 +11700,11 @@ export namespace spanner_v1 { streamingRead( params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; streamingRead( params?: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; streamingRead( params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options: StreamMethodOptions | BodyResponseCallback, @@ -11563,7 +11735,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Databases$Sessions$Streamingread; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11840,11 +12015,13 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11879,8 +12056,10 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Instancepartitionoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11973,11 +12152,11 @@ export namespace spanner_v1 { create( params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Instances$Instancepartitions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12006,7 +12185,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Instancepartitions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12062,11 +12244,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Instancepartitions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12095,7 +12277,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Instancepartitions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12148,11 +12333,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Instancepartitions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12183,8 +12368,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Instancepartitions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12237,11 +12422,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Instancepartitions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Instancepartitions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Instancepartitions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12276,8 +12461,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Instancepartitions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12335,11 +12520,11 @@ export namespace spanner_v1 { patch( params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Instances$Instancepartitions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12368,7 +12553,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Instancepartitions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12490,11 +12678,11 @@ export namespace spanner_v1 { cancel( params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -12523,7 +12711,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12576,11 +12767,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12609,7 +12800,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12662,11 +12856,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12695,7 +12889,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Instancepartitions$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12748,11 +12945,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12785,8 +12982,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Instancepartitions$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12887,11 +13084,11 @@ export namespace spanner_v1 { cancel( params: Params$Resource$Projects$Instances$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Instances$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Instances$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -12920,7 +13117,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12972,11 +13172,11 @@ export namespace spanner_v1 { delete( params: Params$Resource$Projects$Instances$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Instances$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Instances$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -13005,7 +13205,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13057,11 +13260,11 @@ export namespace spanner_v1 { get( params: Params$Resource$Projects$Instances$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Instances$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Instances$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13090,7 +13293,10 @@ export namespace spanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13142,11 +13348,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Projects$Instances$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Instances$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Instances$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13179,8 +13385,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13280,11 +13486,11 @@ export namespace spanner_v1 { list( params: Params$Resource$Scans$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Scans$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Scans$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13315,8 +13521,8 @@ export namespace spanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Scans$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/speech/index.ts b/src/apis/speech/index.ts index bcc25a16003..f0e9c7f4d9d 100644 --- a/src/apis/speech/index.ts +++ b/src/apis/speech/index.ts @@ -58,7 +58,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/speech/package.json b/src/apis/speech/package.json index c518c56f73c..ae43099e39e 100644 --- a/src/apis/speech/package.json +++ b/src/apis/speech/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/speech/v1.ts b/src/apis/speech/v1.ts index 24445f197e6..307d1767eb4 100644 --- a/src/apis/speech/v1.ts +++ b/src/apis/speech/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -809,11 +809,11 @@ export namespace speech_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -842,7 +842,10 @@ export namespace speech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -896,11 +899,11 @@ export namespace speech_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -933,8 +936,8 @@ export namespace speech_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1041,11 +1044,11 @@ export namespace speech_v1 { create( params: Params$Resource$Projects$Locations$Customclasses$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Customclasses$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Customclasses$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1074,7 +1077,10 @@ export namespace speech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customclasses$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1129,11 +1135,11 @@ export namespace speech_v1 { delete( params: Params$Resource$Projects$Locations$Customclasses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Customclasses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Customclasses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1162,7 +1168,10 @@ export namespace speech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customclasses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1214,11 +1223,11 @@ export namespace speech_v1 { get( params: Params$Resource$Projects$Locations$Customclasses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Customclasses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Customclasses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1247,7 +1256,10 @@ export namespace speech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customclasses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1299,11 +1311,11 @@ export namespace speech_v1 { list( params: Params$Resource$Projects$Locations$Customclasses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Customclasses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Customclasses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1338,8 +1350,8 @@ export namespace speech_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customclasses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1394,11 +1406,11 @@ export namespace speech_v1 { patch( params: Params$Resource$Projects$Locations$Customclasses$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Customclasses$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Customclasses$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1427,7 +1439,10 @@ export namespace speech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customclasses$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1544,11 +1559,11 @@ export namespace speech_v1 { create( params: Params$Resource$Projects$Locations$Phrasesets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Phrasesets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Phrasesets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1577,7 +1592,10 @@ export namespace speech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasesets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1632,11 +1650,11 @@ export namespace speech_v1 { delete( params: Params$Resource$Projects$Locations$Phrasesets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Phrasesets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Phrasesets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1665,7 +1683,10 @@ export namespace speech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasesets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1717,11 +1738,11 @@ export namespace speech_v1 { get( params: Params$Resource$Projects$Locations$Phrasesets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Phrasesets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Phrasesets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1750,7 +1771,10 @@ export namespace speech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasesets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1802,11 +1826,11 @@ export namespace speech_v1 { list( params: Params$Resource$Projects$Locations$Phrasesets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Phrasesets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Phrasesets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1839,8 +1863,8 @@ export namespace speech_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasesets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1895,11 +1919,11 @@ export namespace speech_v1 { patch( params: Params$Resource$Projects$Locations$Phrasesets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Phrasesets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Phrasesets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1928,7 +1952,10 @@ export namespace speech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasesets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2045,11 +2072,11 @@ export namespace speech_v1 { longrunningrecognize( params: Params$Resource$Speech$Longrunningrecognize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; longrunningrecognize( params?: Params$Resource$Speech$Longrunningrecognize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; longrunningrecognize( params: Params$Resource$Speech$Longrunningrecognize, options: StreamMethodOptions | BodyResponseCallback, @@ -2080,7 +2107,10 @@ export namespace speech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Speech$Longrunningrecognize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2135,11 +2165,11 @@ export namespace speech_v1 { recognize( params: Params$Resource$Speech$Recognize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recognize( params?: Params$Resource$Speech$Recognize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recognize( params: Params$Resource$Speech$Recognize, options: StreamMethodOptions | BodyResponseCallback, @@ -2170,8 +2200,8 @@ export namespace speech_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Speech$Recognize; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/speech/v1p1beta1.ts b/src/apis/speech/v1p1beta1.ts index c1adbea5310..1c2de1b448b 100644 --- a/src/apis/speech/v1p1beta1.ts +++ b/src/apis/speech/v1p1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -825,11 +825,11 @@ export namespace speech_v1p1beta1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -858,7 +858,10 @@ export namespace speech_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -912,11 +915,11 @@ export namespace speech_v1p1beta1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -949,8 +952,8 @@ export namespace speech_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1060,11 +1063,11 @@ export namespace speech_v1p1beta1 { create( params: Params$Resource$Projects$Locations$Customclasses$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Customclasses$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Customclasses$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1093,7 +1096,10 @@ export namespace speech_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customclasses$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1148,11 +1154,11 @@ export namespace speech_v1p1beta1 { delete( params: Params$Resource$Projects$Locations$Customclasses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Customclasses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Customclasses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1181,7 +1187,10 @@ export namespace speech_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customclasses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1233,11 +1242,11 @@ export namespace speech_v1p1beta1 { get( params: Params$Resource$Projects$Locations$Customclasses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Customclasses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Customclasses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1266,7 +1275,10 @@ export namespace speech_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customclasses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1318,11 +1330,11 @@ export namespace speech_v1p1beta1 { list( params: Params$Resource$Projects$Locations$Customclasses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Customclasses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Customclasses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1357,8 +1369,8 @@ export namespace speech_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customclasses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1413,11 +1425,11 @@ export namespace speech_v1p1beta1 { patch( params: Params$Resource$Projects$Locations$Customclasses$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Customclasses$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Customclasses$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1446,7 +1458,10 @@ export namespace speech_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Customclasses$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1563,11 +1578,11 @@ export namespace speech_v1p1beta1 { create( params: Params$Resource$Projects$Locations$Phrasesets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Phrasesets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Phrasesets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1596,7 +1611,10 @@ export namespace speech_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasesets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1651,11 +1669,11 @@ export namespace speech_v1p1beta1 { delete( params: Params$Resource$Projects$Locations$Phrasesets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Phrasesets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Phrasesets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1684,7 +1702,10 @@ export namespace speech_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasesets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1736,11 +1757,11 @@ export namespace speech_v1p1beta1 { get( params: Params$Resource$Projects$Locations$Phrasesets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Phrasesets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Phrasesets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1769,7 +1790,10 @@ export namespace speech_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasesets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1821,11 +1845,11 @@ export namespace speech_v1p1beta1 { list( params: Params$Resource$Projects$Locations$Phrasesets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Phrasesets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Phrasesets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1858,8 +1882,8 @@ export namespace speech_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasesets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1914,11 +1938,11 @@ export namespace speech_v1p1beta1 { patch( params: Params$Resource$Projects$Locations$Phrasesets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Phrasesets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Phrasesets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1947,7 +1971,10 @@ export namespace speech_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Phrasesets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2064,11 +2091,11 @@ export namespace speech_v1p1beta1 { longrunningrecognize( params: Params$Resource$Speech$Longrunningrecognize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; longrunningrecognize( params?: Params$Resource$Speech$Longrunningrecognize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; longrunningrecognize( params: Params$Resource$Speech$Longrunningrecognize, options: StreamMethodOptions | BodyResponseCallback, @@ -2099,7 +2126,10 @@ export namespace speech_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Speech$Longrunningrecognize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2154,11 +2184,11 @@ export namespace speech_v1p1beta1 { recognize( params: Params$Resource$Speech$Recognize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; recognize( params?: Params$Resource$Speech$Recognize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; recognize( params: Params$Resource$Speech$Recognize, options: StreamMethodOptions | BodyResponseCallback, @@ -2189,8 +2219,8 @@ export namespace speech_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Speech$Recognize; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/speech/v2beta1.ts b/src/apis/speech/v2beta1.ts index 74da3035908..2ffca58ce82 100644 --- a/src/apis/speech/v2beta1.ts +++ b/src/apis/speech/v2beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -352,11 +352,11 @@ export namespace speech_v2beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -385,7 +385,7 @@ export namespace speech_v2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -485,11 +485,11 @@ export namespace speech_v2beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -522,8 +522,8 @@ export namespace speech_v2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/sql/index.ts b/src/apis/sql/index.ts index dfeb3430b58..5427be1c130 100644 --- a/src/apis/sql/index.ts +++ b/src/apis/sql/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/sql/package.json b/src/apis/sql/package.json index a892539e20c..34c9d94fed1 100644 --- a/src/apis/sql/package.json +++ b/src/apis/sql/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/sql/v1beta4.ts b/src/apis/sql/v1beta4.ts index afd48f34f89..6def4065901 100644 --- a/src/apis/sql/v1beta4.ts +++ b/src/apis/sql/v1beta4.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1663,11 +1663,11 @@ export namespace sql_v1beta4 { delete( params: Params$Resource$Backupruns$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Backupruns$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Backupruns$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1696,7 +1696,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1818,11 +1818,11 @@ export namespace sql_v1beta4 { get( params: Params$Resource$Backupruns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Backupruns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Backupruns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1851,7 +1851,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1992,11 +1992,11 @@ export namespace sql_v1beta4 { insert( params: Params$Resource$Backupruns$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Backupruns$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Backupruns$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -2025,7 +2025,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2137,11 +2137,11 @@ export namespace sql_v1beta4 { list( params: Params$Resource$Backupruns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Backupruns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Backupruns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2174,8 +2174,8 @@ export namespace sql_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2366,11 +2366,11 @@ export namespace sql_v1beta4 { delete( params: Params$Resource$Databases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Databases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Databases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2399,7 +2399,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2513,11 +2513,11 @@ export namespace sql_v1beta4 { get( params: Params$Resource$Databases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Databases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Databases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2546,7 +2546,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2680,11 +2680,11 @@ export namespace sql_v1beta4 { insert( params: Params$Resource$Databases$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Databases$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Databases$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -2713,7 +2713,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2817,11 +2817,11 @@ export namespace sql_v1beta4 { list( params: Params$Resource$Databases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Databases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Databases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2854,8 +2854,8 @@ export namespace sql_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2992,11 +2992,11 @@ export namespace sql_v1beta4 { patch( params: Params$Resource$Databases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Databases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Databases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3025,7 +3025,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3162,11 +3162,11 @@ export namespace sql_v1beta4 { update( params: Params$Resource$Databases$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Databases$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Databases$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3195,7 +3195,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3395,11 +3395,11 @@ export namespace sql_v1beta4 { list( params: Params$Resource$Flags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Flags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Flags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3430,8 +3430,8 @@ export namespace sql_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3559,11 +3559,11 @@ export namespace sql_v1beta4 { addServerCa( params: Params$Resource$Instances$Addserverca, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addServerCa( params?: Params$Resource$Instances$Addserverca, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addServerCa( params: Params$Resource$Instances$Addserverca, options: StreamMethodOptions | BodyResponseCallback, @@ -3592,7 +3592,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addserverca; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3719,11 +3719,11 @@ export namespace sql_v1beta4 { clone( params: Params$Resource$Instances$Clone, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clone( params?: Params$Resource$Instances$Clone, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clone( params: Params$Resource$Instances$Clone, options: StreamMethodOptions | BodyResponseCallback, @@ -3752,7 +3752,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Clone; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3869,11 +3869,11 @@ export namespace sql_v1beta4 { delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3902,7 +3902,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4027,11 +4027,11 @@ export namespace sql_v1beta4 { demoteMaster( params: Params$Resource$Instances$Demotemaster, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; demoteMaster( params?: Params$Resource$Instances$Demotemaster, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; demoteMaster( params: Params$Resource$Instances$Demotemaster, options: StreamMethodOptions | BodyResponseCallback, @@ -4060,7 +4060,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Demotemaster; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4184,11 +4184,11 @@ export namespace sql_v1beta4 { export( params: Params$Resource$Instances$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Instances$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Instances$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -4217,7 +4217,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4343,11 +4343,11 @@ export namespace sql_v1beta4 { failover( params: Params$Resource$Instances$Failover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; failover( params?: Params$Resource$Instances$Failover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; failover( params: Params$Resource$Instances$Failover, options: StreamMethodOptions | BodyResponseCallback, @@ -4376,7 +4376,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Failover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4508,11 +4508,11 @@ export namespace sql_v1beta4 { get( params: Params$Resource$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4541,7 +4541,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4663,11 +4663,11 @@ export namespace sql_v1beta4 { import( params: Params$Resource$Instances$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Instances$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Instances$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -4696,7 +4696,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4847,11 +4847,11 @@ export namespace sql_v1beta4 { insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instances$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4880,7 +4880,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4991,11 +4991,11 @@ export namespace sql_v1beta4 { list( params: Params$Resource$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5028,8 +5028,8 @@ export namespace sql_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5133,11 +5133,11 @@ export namespace sql_v1beta4 { listServerCas( params: Params$Resource$Instances$Listservercas, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listServerCas( params?: Params$Resource$Instances$Listservercas, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listServerCas( params: Params$Resource$Instances$Listservercas, options: StreamMethodOptions | BodyResponseCallback, @@ -5172,8 +5172,8 @@ export namespace sql_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Listservercas; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5330,11 +5330,11 @@ export namespace sql_v1beta4 { patch( params: Params$Resource$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5363,7 +5363,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5479,11 +5479,11 @@ export namespace sql_v1beta4 { promoteReplica( params: Params$Resource$Instances$Promotereplica, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; promoteReplica( params?: Params$Resource$Instances$Promotereplica, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; promoteReplica( params: Params$Resource$Instances$Promotereplica, options: StreamMethodOptions | BodyResponseCallback, @@ -5512,7 +5512,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Promotereplica; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5630,11 +5630,11 @@ export namespace sql_v1beta4 { resetSslConfig( params: Params$Resource$Instances$Resetsslconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetSslConfig( params?: Params$Resource$Instances$Resetsslconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetSslConfig( params: Params$Resource$Instances$Resetsslconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -5663,7 +5663,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Resetsslconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5781,11 +5781,11 @@ export namespace sql_v1beta4 { restart( params: Params$Resource$Instances$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Instances$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -5814,7 +5814,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5941,11 +5941,11 @@ export namespace sql_v1beta4 { restoreBackup( params: Params$Resource$Instances$Restorebackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restoreBackup( params?: Params$Resource$Instances$Restorebackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restoreBackup( params: Params$Resource$Instances$Restorebackup, options: StreamMethodOptions | BodyResponseCallback, @@ -5974,7 +5974,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Restorebackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6101,11 +6101,11 @@ export namespace sql_v1beta4 { rotateServerCa( params: Params$Resource$Instances$Rotateserverca, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rotateServerCa( params?: Params$Resource$Instances$Rotateserverca, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rotateServerCa( params: Params$Resource$Instances$Rotateserverca, options: StreamMethodOptions | BodyResponseCallback, @@ -6134,7 +6134,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Rotateserverca; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6252,11 +6252,11 @@ export namespace sql_v1beta4 { startReplica( params: Params$Resource$Instances$Startreplica, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startReplica( params?: Params$Resource$Instances$Startreplica, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startReplica( params: Params$Resource$Instances$Startreplica, options: StreamMethodOptions | BodyResponseCallback, @@ -6285,7 +6285,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Startreplica; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6403,11 +6403,11 @@ export namespace sql_v1beta4 { stopReplica( params: Params$Resource$Instances$Stopreplica, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopReplica( params?: Params$Resource$Instances$Stopreplica, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopReplica( params: Params$Resource$Instances$Stopreplica, options: StreamMethodOptions | BodyResponseCallback, @@ -6436,7 +6436,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Stopreplica; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6563,11 +6563,11 @@ export namespace sql_v1beta4 { truncateLog( params: Params$Resource$Instances$Truncatelog, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; truncateLog( params?: Params$Resource$Instances$Truncatelog, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; truncateLog( params: Params$Resource$Instances$Truncatelog, options: StreamMethodOptions | BodyResponseCallback, @@ -6596,7 +6596,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Truncatelog; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6751,11 +6751,11 @@ export namespace sql_v1beta4 { update( params: Params$Resource$Instances$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Instances$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Instances$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6784,7 +6784,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7189,11 +7189,11 @@ export namespace sql_v1beta4 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7222,7 +7222,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7332,11 +7332,11 @@ export namespace sql_v1beta4 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7369,8 +7369,8 @@ export namespace sql_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7540,11 +7540,11 @@ export namespace sql_v1beta4 { rescheduleMaintenance( params: Params$Resource$Projects$Instances$Reschedulemaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params?: Params$Resource$Projects$Instances$Reschedulemaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params: Params$Resource$Projects$Instances$Reschedulemaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -7575,7 +7575,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Reschedulemaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7696,11 +7696,11 @@ export namespace sql_v1beta4 { startExternalSync( params: Params$Resource$Projects$Instances$Startexternalsync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startExternalSync( params?: Params$Resource$Projects$Instances$Startexternalsync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startExternalSync( params: Params$Resource$Projects$Instances$Startexternalsync, options: StreamMethodOptions | BodyResponseCallback, @@ -7729,7 +7729,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Startexternalsync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7840,11 +7840,11 @@ export namespace sql_v1beta4 { verifyExternalSyncSettings( params: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verifyExternalSyncSettings( params?: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verifyExternalSyncSettings( params: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -7893,8 +7893,8 @@ export namespace sql_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Verifyexternalsyncsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8075,11 +8075,11 @@ export namespace sql_v1beta4 { createEphemeral( params: Params$Resource$Sslcerts$Createephemeral, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createEphemeral( params?: Params$Resource$Sslcerts$Createephemeral, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createEphemeral( params: Params$Resource$Sslcerts$Createephemeral, options: StreamMethodOptions | BodyResponseCallback, @@ -8108,7 +8108,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Createephemeral; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8229,11 +8229,11 @@ export namespace sql_v1beta4 { delete( params: Params$Resource$Sslcerts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sslcerts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sslcerts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8262,7 +8262,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8376,11 +8376,11 @@ export namespace sql_v1beta4 { get( params: Params$Resource$Sslcerts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sslcerts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sslcerts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8409,7 +8409,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8524,11 +8524,11 @@ export namespace sql_v1beta4 { insert( params: Params$Resource$Sslcerts$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sslcerts$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sslcerts$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8561,8 +8561,8 @@ export namespace sql_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8666,11 +8666,11 @@ export namespace sql_v1beta4 { list( params: Params$Resource$Sslcerts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sslcerts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sslcerts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8703,8 +8703,8 @@ export namespace sql_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8882,11 +8882,11 @@ export namespace sql_v1beta4 { list( params: Params$Resource$Tiers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tiers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tiers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8917,8 +8917,8 @@ export namespace sql_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tiers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9055,11 +9055,11 @@ export namespace sql_v1beta4 { delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9088,7 +9088,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9222,11 +9222,11 @@ export namespace sql_v1beta4 { insert( params: Params$Resource$Users$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Users$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Users$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9255,7 +9255,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9360,11 +9360,11 @@ export namespace sql_v1beta4 { list( params: Params$Resource$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9395,8 +9395,8 @@ export namespace sql_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9536,11 +9536,11 @@ export namespace sql_v1beta4 { update( params: Params$Resource$Users$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Users$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Users$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9569,7 +9569,7 @@ export namespace sql_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/sqladmin/index.ts b/src/apis/sqladmin/index.ts index 2f5352da281..24de8eb3fcc 100644 --- a/src/apis/sqladmin/index.ts +++ b/src/apis/sqladmin/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/sqladmin/package.json b/src/apis/sqladmin/package.json index 153d3457bd1..ffbacd733fc 100644 --- a/src/apis/sqladmin/package.json +++ b/src/apis/sqladmin/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/sqladmin/v1.ts b/src/apis/sqladmin/v1.ts index 08088591467..d58805588bc 100644 --- a/src/apis/sqladmin/v1.ts +++ b/src/apis/sqladmin/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2967,11 +2967,11 @@ export namespace sqladmin_v1 { delete( params: Params$Resource$Backupruns$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Backupruns$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Backupruns$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3000,7 +3000,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3055,11 +3058,11 @@ export namespace sqladmin_v1 { get( params: Params$Resource$Backupruns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Backupruns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Backupruns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3088,7 +3091,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3142,11 +3148,11 @@ export namespace sqladmin_v1 { insert( params: Params$Resource$Backupruns$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Backupruns$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Backupruns$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3175,7 +3181,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3229,11 +3238,11 @@ export namespace sqladmin_v1 { list( params: Params$Resource$Backupruns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Backupruns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Backupruns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3266,8 +3275,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3391,11 +3400,11 @@ export namespace sqladmin_v1 { CreateBackup( params: Params$Resource$Backups$Createbackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; CreateBackup( params?: Params$Resource$Backups$Createbackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; CreateBackup( params: Params$Resource$Backups$Createbackup, options: StreamMethodOptions | BodyResponseCallback, @@ -3424,7 +3433,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backups$Createbackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3479,11 +3491,11 @@ export namespace sqladmin_v1 { DeleteBackup( params: Params$Resource$Backups$Deletebackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; DeleteBackup( params?: Params$Resource$Backups$Deletebackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; DeleteBackup( params: Params$Resource$Backups$Deletebackup, options: StreamMethodOptions | BodyResponseCallback, @@ -3512,7 +3524,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backups$Deletebackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3564,11 +3579,11 @@ export namespace sqladmin_v1 { GetBackup( params: Params$Resource$Backups$Getbackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; GetBackup( params?: Params$Resource$Backups$Getbackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; GetBackup( params: Params$Resource$Backups$Getbackup, options: StreamMethodOptions | BodyResponseCallback, @@ -3597,7 +3612,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backups$Getbackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3649,11 +3667,11 @@ export namespace sqladmin_v1 { ListBackups( params: Params$Resource$Backups$Listbackups, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ListBackups( params?: Params$Resource$Backups$Listbackups, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; ListBackups( params: Params$Resource$Backups$Listbackups, options: StreamMethodOptions | BodyResponseCallback, @@ -3686,8 +3704,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backups$Listbackups; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3732,7 +3750,7 @@ export namespace sqladmin_v1 { } /** - * This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only. + * Updates the retention period and description of the backup. You can use this API to update final backups only. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3742,11 +3760,11 @@ export namespace sqladmin_v1 { UpdateBackup( params: Params$Resource$Backups$Updatebackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; UpdateBackup( params?: Params$Resource$Backups$Updatebackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; UpdateBackup( params: Params$Resource$Backups$Updatebackup, options: StreamMethodOptions | BodyResponseCallback, @@ -3775,7 +3793,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backups$Updatebackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3869,7 +3890,7 @@ export namespace sqladmin_v1 { */ name?: string; /** - * The list of fields that you can update. 1- You can update only the description and retention period for a final backup. 2- You can update only the gcbdr_soft_delete_status for GCBDR managed backup. + * The list of fields that you can update. You can update only the description and retention period of the final backup. */ updateMask?: string; @@ -3896,11 +3917,11 @@ export namespace sqladmin_v1 { generateEphemeralCert( params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateEphemeralCert( params?: Params$Resource$Connect$Generateephemeralcert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateEphemeralCert( params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions | BodyResponseCallback, @@ -3935,8 +3956,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Connect$Generateephemeralcert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3993,11 +4014,11 @@ export namespace sqladmin_v1 { get( params: Params$Resource$Connect$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Connect$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Connect$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4026,7 +4047,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Connect$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4118,11 +4142,11 @@ export namespace sqladmin_v1 { delete( params: Params$Resource$Databases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Databases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Databases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4151,7 +4175,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4205,11 +4232,11 @@ export namespace sqladmin_v1 { get( params: Params$Resource$Databases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Databases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Databases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4238,7 +4265,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4292,11 +4322,11 @@ export namespace sqladmin_v1 { insert( params: Params$Resource$Databases$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Databases$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Databases$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4325,7 +4355,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4378,11 +4411,11 @@ export namespace sqladmin_v1 { list( params: Params$Resource$Databases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Databases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Databases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4415,8 +4448,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4469,11 +4502,11 @@ export namespace sqladmin_v1 { patch( params: Params$Resource$Databases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Databases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Databases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4502,7 +4535,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4556,11 +4592,11 @@ export namespace sqladmin_v1 { update( params: Params$Resource$Databases$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Databases$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Databases$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4589,7 +4625,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4742,11 +4781,11 @@ export namespace sqladmin_v1 { list( params: Params$Resource$Flags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Flags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Flags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4777,8 +4816,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4847,11 +4886,13 @@ export namespace sqladmin_v1 { acquireSsrsLease( params: Params$Resource$Instances$Acquiressrslease, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acquireSsrsLease( params?: Params$Resource$Instances$Acquiressrslease, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; acquireSsrsLease( params: Params$Resource$Instances$Acquiressrslease, options: StreamMethodOptions | BodyResponseCallback, @@ -4886,8 +4927,10 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Acquiressrslease; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4944,11 +4987,11 @@ export namespace sqladmin_v1 { addServerCa( params: Params$Resource$Instances$Addserverca, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addServerCa( params?: Params$Resource$Instances$Addserverca, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addServerCa( params: Params$Resource$Instances$Addserverca, options: StreamMethodOptions | BodyResponseCallback, @@ -4977,7 +5020,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addserverca; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5032,11 +5078,11 @@ export namespace sqladmin_v1 { addServerCertificate( params: Params$Resource$Instances$Addservercertificate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addServerCertificate( params?: Params$Resource$Instances$Addservercertificate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addServerCertificate( params: Params$Resource$Instances$Addservercertificate, options: StreamMethodOptions | BodyResponseCallback, @@ -5067,7 +5113,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addservercertificate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5122,11 +5171,11 @@ export namespace sqladmin_v1 { clone( params: Params$Resource$Instances$Clone, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clone( params?: Params$Resource$Instances$Clone, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clone( params: Params$Resource$Instances$Clone, options: StreamMethodOptions | BodyResponseCallback, @@ -5155,7 +5204,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Clone; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5208,11 +5260,11 @@ export namespace sqladmin_v1 { delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5241,7 +5293,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5294,11 +5349,11 @@ export namespace sqladmin_v1 { demote( params: Params$Resource$Instances$Demote, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; demote( params?: Params$Resource$Instances$Demote, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; demote( params: Params$Resource$Instances$Demote, options: StreamMethodOptions | BodyResponseCallback, @@ -5327,7 +5382,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Demote; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5380,11 +5438,11 @@ export namespace sqladmin_v1 { demoteMaster( params: Params$Resource$Instances$Demotemaster, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; demoteMaster( params?: Params$Resource$Instances$Demotemaster, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; demoteMaster( params: Params$Resource$Instances$Demotemaster, options: StreamMethodOptions | BodyResponseCallback, @@ -5413,7 +5471,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Demotemaster; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5468,11 +5529,11 @@ export namespace sqladmin_v1 { export( params: Params$Resource$Instances$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Instances$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Instances$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -5501,7 +5562,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5554,11 +5618,11 @@ export namespace sqladmin_v1 { failover( params: Params$Resource$Instances$Failover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; failover( params?: Params$Resource$Instances$Failover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; failover( params: Params$Resource$Instances$Failover, options: StreamMethodOptions | BodyResponseCallback, @@ -5587,7 +5651,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Failover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5641,11 +5708,11 @@ export namespace sqladmin_v1 { get( params: Params$Resource$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5674,7 +5741,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5727,11 +5797,11 @@ export namespace sqladmin_v1 { import( params: Params$Resource$Instances$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Instances$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Instances$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -5760,7 +5830,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5813,11 +5886,11 @@ export namespace sqladmin_v1 { insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instances$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5846,7 +5919,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5900,11 +5976,11 @@ export namespace sqladmin_v1 { list( params: Params$Resource$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5937,8 +6013,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5992,11 +6068,11 @@ export namespace sqladmin_v1 { listServerCas( params: Params$Resource$Instances$Listservercas, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listServerCas( params?: Params$Resource$Instances$Listservercas, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listServerCas( params: Params$Resource$Instances$Listservercas, options: StreamMethodOptions | BodyResponseCallback, @@ -6031,8 +6107,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Listservercas; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6089,11 +6165,13 @@ export namespace sqladmin_v1 { ListServerCertificates( params: Params$Resource$Instances$Listservercertificates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ListServerCertificates( params?: Params$Resource$Instances$Listservercertificates, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; ListServerCertificates( params: Params$Resource$Instances$Listservercertificates, options: StreamMethodOptions | BodyResponseCallback, @@ -6128,8 +6206,10 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Listservercertificates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6186,11 +6266,11 @@ export namespace sqladmin_v1 { patch( params: Params$Resource$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6219,7 +6299,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6272,11 +6355,11 @@ export namespace sqladmin_v1 { pointInTimeRestore( params: Params$Resource$Instances$Pointintimerestore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pointInTimeRestore( params?: Params$Resource$Instances$Pointintimerestore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pointInTimeRestore( params: Params$Resource$Instances$Pointintimerestore, options: StreamMethodOptions | BodyResponseCallback, @@ -6305,7 +6388,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Pointintimerestore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6360,11 +6446,11 @@ export namespace sqladmin_v1 { promoteReplica( params: Params$Resource$Instances$Promotereplica, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; promoteReplica( params?: Params$Resource$Instances$Promotereplica, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; promoteReplica( params: Params$Resource$Instances$Promotereplica, options: StreamMethodOptions | BodyResponseCallback, @@ -6393,7 +6479,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Promotereplica; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6448,11 +6537,11 @@ export namespace sqladmin_v1 { reencrypt( params: Params$Resource$Instances$Reencrypt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reencrypt( params?: Params$Resource$Instances$Reencrypt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reencrypt( params: Params$Resource$Instances$Reencrypt, options: StreamMethodOptions | BodyResponseCallback, @@ -6481,7 +6570,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Reencrypt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6535,11 +6627,13 @@ export namespace sqladmin_v1 { releaseSsrsLease( params: Params$Resource$Instances$Releasessrslease, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; releaseSsrsLease( params?: Params$Resource$Instances$Releasessrslease, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; releaseSsrsLease( params: Params$Resource$Instances$Releasessrslease, options: StreamMethodOptions | BodyResponseCallback, @@ -6574,8 +6668,10 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Releasessrslease; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6632,11 +6728,11 @@ export namespace sqladmin_v1 { resetSslConfig( params: Params$Resource$Instances$Resetsslconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetSslConfig( params?: Params$Resource$Instances$Resetsslconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetSslConfig( params: Params$Resource$Instances$Resetsslconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -6665,7 +6761,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Resetsslconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6720,11 +6819,11 @@ export namespace sqladmin_v1 { restart( params: Params$Resource$Instances$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Instances$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -6753,7 +6852,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6807,11 +6909,11 @@ export namespace sqladmin_v1 { restoreBackup( params: Params$Resource$Instances$Restorebackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restoreBackup( params?: Params$Resource$Instances$Restorebackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restoreBackup( params: Params$Resource$Instances$Restorebackup, options: StreamMethodOptions | BodyResponseCallback, @@ -6840,7 +6942,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Restorebackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6895,11 +7000,11 @@ export namespace sqladmin_v1 { rotateServerCa( params: Params$Resource$Instances$Rotateserverca, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rotateServerCa( params?: Params$Resource$Instances$Rotateserverca, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rotateServerCa( params: Params$Resource$Instances$Rotateserverca, options: StreamMethodOptions | BodyResponseCallback, @@ -6928,7 +7033,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Rotateserverca; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6983,11 +7091,11 @@ export namespace sqladmin_v1 { RotateServerCertificate( params: Params$Resource$Instances$Rotateservercertificate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; RotateServerCertificate( params?: Params$Resource$Instances$Rotateservercertificate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; RotateServerCertificate( params: Params$Resource$Instances$Rotateservercertificate, options: StreamMethodOptions | BodyResponseCallback, @@ -7018,7 +7126,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Rotateservercertificate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7073,11 +7184,11 @@ export namespace sqladmin_v1 { startReplica( params: Params$Resource$Instances$Startreplica, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startReplica( params?: Params$Resource$Instances$Startreplica, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startReplica( params: Params$Resource$Instances$Startreplica, options: StreamMethodOptions | BodyResponseCallback, @@ -7106,7 +7217,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Startreplica; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7161,11 +7275,11 @@ export namespace sqladmin_v1 { stopReplica( params: Params$Resource$Instances$Stopreplica, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopReplica( params?: Params$Resource$Instances$Stopreplica, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopReplica( params: Params$Resource$Instances$Stopreplica, options: StreamMethodOptions | BodyResponseCallback, @@ -7194,7 +7308,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Stopreplica; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7249,11 +7366,11 @@ export namespace sqladmin_v1 { switchover( params: Params$Resource$Instances$Switchover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params?: Params$Resource$Instances$Switchover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params: Params$Resource$Instances$Switchover, options: StreamMethodOptions | BodyResponseCallback, @@ -7282,7 +7399,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Switchover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7336,11 +7456,11 @@ export namespace sqladmin_v1 { truncateLog( params: Params$Resource$Instances$Truncatelog, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; truncateLog( params?: Params$Resource$Instances$Truncatelog, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; truncateLog( params: Params$Resource$Instances$Truncatelog, options: StreamMethodOptions | BodyResponseCallback, @@ -7369,7 +7489,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Truncatelog; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7424,11 +7547,11 @@ export namespace sqladmin_v1 { update( params: Params$Resource$Instances$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Instances$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Instances$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7457,7 +7580,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7942,11 +8068,11 @@ export namespace sqladmin_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7975,7 +8101,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8029,11 +8158,11 @@ export namespace sqladmin_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8062,7 +8191,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8115,11 +8247,11 @@ export namespace sqladmin_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8152,8 +8284,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8263,11 +8395,13 @@ export namespace sqladmin_v1 { getDiskShrinkConfig( params: Params$Resource$Projects$Instances$Getdiskshrinkconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDiskShrinkConfig( params?: Params$Resource$Projects$Instances$Getdiskshrinkconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDiskShrinkConfig( params: Params$Resource$Projects$Instances$Getdiskshrinkconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -8302,8 +8436,10 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Getdiskshrinkconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8360,11 +8496,13 @@ export namespace sqladmin_v1 { getLatestRecoveryTime( params: Params$Resource$Projects$Instances$Getlatestrecoverytime, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLatestRecoveryTime( params?: Params$Resource$Projects$Instances$Getlatestrecoverytime, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getLatestRecoveryTime( params: Params$Resource$Projects$Instances$Getlatestrecoverytime, options: StreamMethodOptions | BodyResponseCallback, @@ -8399,8 +8537,10 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Getlatestrecoverytime; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8457,11 +8597,11 @@ export namespace sqladmin_v1 { performDiskShrink( params: Params$Resource$Projects$Instances$Performdiskshrink, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performDiskShrink( params?: Params$Resource$Projects$Instances$Performdiskshrink, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performDiskShrink( params: Params$Resource$Projects$Instances$Performdiskshrink, options: StreamMethodOptions | BodyResponseCallback, @@ -8490,7 +8630,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Performdiskshrink; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8545,11 +8688,11 @@ export namespace sqladmin_v1 { rescheduleMaintenance( params: Params$Resource$Projects$Instances$Reschedulemaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params?: Params$Resource$Projects$Instances$Reschedulemaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params: Params$Resource$Projects$Instances$Reschedulemaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -8580,7 +8723,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Reschedulemaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8635,11 +8781,11 @@ export namespace sqladmin_v1 { resetReplicaSize( params: Params$Resource$Projects$Instances$Resetreplicasize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetReplicaSize( params?: Params$Resource$Projects$Instances$Resetreplicasize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetReplicaSize( params: Params$Resource$Projects$Instances$Resetreplicasize, options: StreamMethodOptions | BodyResponseCallback, @@ -8668,7 +8814,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Resetreplicasize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8723,11 +8872,11 @@ export namespace sqladmin_v1 { startExternalSync( params: Params$Resource$Projects$Instances$Startexternalsync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startExternalSync( params?: Params$Resource$Projects$Instances$Startexternalsync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startExternalSync( params: Params$Resource$Projects$Instances$Startexternalsync, options: StreamMethodOptions | BodyResponseCallback, @@ -8756,7 +8905,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Startexternalsync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8811,11 +8963,13 @@ export namespace sqladmin_v1 { verifyExternalSyncSettings( params: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verifyExternalSyncSettings( params?: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; verifyExternalSyncSettings( params: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -8850,8 +9004,10 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Verifyexternalsyncsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9019,11 +9175,11 @@ export namespace sqladmin_v1 { createEphemeral( params: Params$Resource$Sslcerts$Createephemeral, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createEphemeral( params?: Params$Resource$Sslcerts$Createephemeral, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createEphemeral( params: Params$Resource$Sslcerts$Createephemeral, options: StreamMethodOptions | BodyResponseCallback, @@ -9052,7 +9208,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Createephemeral; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9107,11 +9266,11 @@ export namespace sqladmin_v1 { delete( params: Params$Resource$Sslcerts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sslcerts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sslcerts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9140,7 +9299,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9194,11 +9356,11 @@ export namespace sqladmin_v1 { get( params: Params$Resource$Sslcerts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sslcerts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sslcerts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9227,7 +9389,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9281,11 +9446,11 @@ export namespace sqladmin_v1 { insert( params: Params$Resource$Sslcerts$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sslcerts$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sslcerts$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9318,8 +9483,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9372,11 +9537,11 @@ export namespace sqladmin_v1 { list( params: Params$Resource$Sslcerts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sslcerts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sslcerts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9409,8 +9574,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9540,11 +9705,11 @@ export namespace sqladmin_v1 { list( params: Params$Resource$Tiers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tiers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tiers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9575,8 +9740,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tiers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9644,11 +9809,11 @@ export namespace sqladmin_v1 { delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9677,7 +9842,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9730,11 +9898,11 @@ export namespace sqladmin_v1 { get( params: Params$Resource$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9763,7 +9931,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9817,11 +9988,11 @@ export namespace sqladmin_v1 { insert( params: Params$Resource$Users$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Users$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Users$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9850,7 +10021,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9903,11 +10077,11 @@ export namespace sqladmin_v1 { list( params: Params$Resource$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9938,8 +10112,8 @@ export namespace sqladmin_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9992,11 +10166,11 @@ export namespace sqladmin_v1 { update( params: Params$Resource$Users$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Users$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Users$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10025,7 +10199,10 @@ export namespace sqladmin_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/sqladmin/v1beta4.ts b/src/apis/sqladmin/v1beta4.ts index 59e8aa14af8..7441d505ec5 100644 --- a/src/apis/sqladmin/v1beta4.ts +++ b/src/apis/sqladmin/v1beta4.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2964,11 +2964,11 @@ export namespace sqladmin_v1beta4 { delete( params: Params$Resource$Backupruns$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Backupruns$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Backupruns$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2997,7 +2997,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3052,11 +3055,11 @@ export namespace sqladmin_v1beta4 { get( params: Params$Resource$Backupruns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Backupruns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Backupruns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3085,7 +3088,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3139,11 +3145,11 @@ export namespace sqladmin_v1beta4 { insert( params: Params$Resource$Backupruns$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Backupruns$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Backupruns$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3172,7 +3178,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3227,11 +3236,11 @@ export namespace sqladmin_v1beta4 { list( params: Params$Resource$Backupruns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Backupruns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Backupruns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3264,8 +3273,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backupruns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3390,11 +3399,11 @@ export namespace sqladmin_v1beta4 { createBackup( params: Params$Resource$Backups$Createbackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createBackup( params?: Params$Resource$Backups$Createbackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createBackup( params: Params$Resource$Backups$Createbackup, options: StreamMethodOptions | BodyResponseCallback, @@ -3423,7 +3432,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backups$Createbackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3478,11 +3490,11 @@ export namespace sqladmin_v1beta4 { deleteBackup( params: Params$Resource$Backups$Deletebackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteBackup( params?: Params$Resource$Backups$Deletebackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteBackup( params: Params$Resource$Backups$Deletebackup, options: StreamMethodOptions | BodyResponseCallback, @@ -3511,7 +3523,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backups$Deletebackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3566,11 +3581,11 @@ export namespace sqladmin_v1beta4 { getBackup( params: Params$Resource$Backups$Getbackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getBackup( params?: Params$Resource$Backups$Getbackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getBackup( params: Params$Resource$Backups$Getbackup, options: StreamMethodOptions | BodyResponseCallback, @@ -3599,7 +3614,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backups$Getbackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3654,11 +3672,11 @@ export namespace sqladmin_v1beta4 { listBackups( params: Params$Resource$Backups$Listbackups, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listBackups( params?: Params$Resource$Backups$Listbackups, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listBackups( params: Params$Resource$Backups$Listbackups, options: StreamMethodOptions | BodyResponseCallback, @@ -3691,8 +3709,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backups$Listbackups; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3737,7 +3755,7 @@ export namespace sqladmin_v1beta4 { } /** - * This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only. + * Updates the retention period and the description of the backup. You can use this API to update final backups only. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3747,11 +3765,11 @@ export namespace sqladmin_v1beta4 { updateBackup( params: Params$Resource$Backups$Updatebackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateBackup( params?: Params$Resource$Backups$Updatebackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateBackup( params: Params$Resource$Backups$Updatebackup, options: StreamMethodOptions | BodyResponseCallback, @@ -3780,7 +3798,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Backups$Updatebackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3877,7 +3898,7 @@ export namespace sqladmin_v1beta4 { */ name?: string; /** - * The list of fields that you can update. 1- You can update only the description and retention period for a final backup. 2- You can update only the gcbdr_soft_delete_status for GCBDR managed backup. + * The list of fields that you can update. You can update only the description and retention period of the final backup. */ updateMask?: string; @@ -3904,11 +3925,11 @@ export namespace sqladmin_v1beta4 { generateEphemeralCert( params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateEphemeralCert( params?: Params$Resource$Connect$Generateephemeralcert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateEphemeralCert( params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions | BodyResponseCallback, @@ -3943,8 +3964,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Connect$Generateephemeralcert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4001,11 +4022,11 @@ export namespace sqladmin_v1beta4 { get( params: Params$Resource$Connect$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Connect$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Connect$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4034,7 +4055,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Connect$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4126,11 +4150,11 @@ export namespace sqladmin_v1beta4 { delete( params: Params$Resource$Databases$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Databases$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Databases$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4159,7 +4183,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4213,11 +4240,11 @@ export namespace sqladmin_v1beta4 { get( params: Params$Resource$Databases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Databases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Databases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4246,7 +4273,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4300,11 +4330,11 @@ export namespace sqladmin_v1beta4 { insert( params: Params$Resource$Databases$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Databases$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Databases$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4333,7 +4363,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4387,11 +4420,11 @@ export namespace sqladmin_v1beta4 { list( params: Params$Resource$Databases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Databases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Databases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4424,8 +4457,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4479,11 +4512,11 @@ export namespace sqladmin_v1beta4 { patch( params: Params$Resource$Databases$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Databases$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Databases$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4512,7 +4545,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4566,11 +4602,11 @@ export namespace sqladmin_v1beta4 { update( params: Params$Resource$Databases$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Databases$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Databases$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4599,7 +4635,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Databases$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4752,11 +4791,11 @@ export namespace sqladmin_v1beta4 { list( params: Params$Resource$Flags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Flags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Flags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4787,8 +4826,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4857,11 +4896,13 @@ export namespace sqladmin_v1beta4 { acquireSsrsLease( params: Params$Resource$Instances$Acquiressrslease, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; acquireSsrsLease( params?: Params$Resource$Instances$Acquiressrslease, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; acquireSsrsLease( params: Params$Resource$Instances$Acquiressrslease, options: StreamMethodOptions | BodyResponseCallback, @@ -4896,8 +4937,10 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Acquiressrslease; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4954,11 +4997,11 @@ export namespace sqladmin_v1beta4 { addServerCa( params: Params$Resource$Instances$Addserverca, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addServerCa( params?: Params$Resource$Instances$Addserverca, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addServerCa( params: Params$Resource$Instances$Addserverca, options: StreamMethodOptions | BodyResponseCallback, @@ -4987,7 +5030,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addserverca; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5042,11 +5088,11 @@ export namespace sqladmin_v1beta4 { addServerCertificate( params: Params$Resource$Instances$Addservercertificate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addServerCertificate( params?: Params$Resource$Instances$Addservercertificate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addServerCertificate( params: Params$Resource$Instances$Addservercertificate, options: StreamMethodOptions | BodyResponseCallback, @@ -5077,7 +5123,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Addservercertificate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5132,11 +5181,11 @@ export namespace sqladmin_v1beta4 { clone( params: Params$Resource$Instances$Clone, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clone( params?: Params$Resource$Instances$Clone, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clone( params: Params$Resource$Instances$Clone, options: StreamMethodOptions | BodyResponseCallback, @@ -5165,7 +5214,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Clone; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5219,11 +5271,11 @@ export namespace sqladmin_v1beta4 { delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Instances$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5252,7 +5304,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5305,11 +5360,11 @@ export namespace sqladmin_v1beta4 { demote( params: Params$Resource$Instances$Demote, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; demote( params?: Params$Resource$Instances$Demote, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; demote( params: Params$Resource$Instances$Demote, options: StreamMethodOptions | BodyResponseCallback, @@ -5338,7 +5393,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Demote; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5392,11 +5450,11 @@ export namespace sqladmin_v1beta4 { demoteMaster( params: Params$Resource$Instances$Demotemaster, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; demoteMaster( params?: Params$Resource$Instances$Demotemaster, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; demoteMaster( params: Params$Resource$Instances$Demotemaster, options: StreamMethodOptions | BodyResponseCallback, @@ -5425,7 +5483,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Demotemaster; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5480,11 +5541,11 @@ export namespace sqladmin_v1beta4 { export( params: Params$Resource$Instances$Export, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; export( params?: Params$Resource$Instances$Export, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; export( params: Params$Resource$Instances$Export, options: StreamMethodOptions | BodyResponseCallback, @@ -5513,7 +5574,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Export; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5567,11 +5631,11 @@ export namespace sqladmin_v1beta4 { failover( params: Params$Resource$Instances$Failover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; failover( params?: Params$Resource$Instances$Failover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; failover( params: Params$Resource$Instances$Failover, options: StreamMethodOptions | BodyResponseCallback, @@ -5600,7 +5664,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Failover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5655,11 +5722,11 @@ export namespace sqladmin_v1beta4 { get( params: Params$Resource$Instances$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Instances$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Instances$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5688,7 +5755,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5741,11 +5811,11 @@ export namespace sqladmin_v1beta4 { import( params: Params$Resource$Instances$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Instances$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Instances$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -5774,7 +5844,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5828,11 +5901,11 @@ export namespace sqladmin_v1beta4 { insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Instances$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Instances$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5861,7 +5934,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5914,11 +5990,11 @@ export namespace sqladmin_v1beta4 { list( params: Params$Resource$Instances$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Instances$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Instances$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5951,8 +6027,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6005,11 +6081,11 @@ export namespace sqladmin_v1beta4 { listServerCas( params: Params$Resource$Instances$Listservercas, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listServerCas( params?: Params$Resource$Instances$Listservercas, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listServerCas( params: Params$Resource$Instances$Listservercas, options: StreamMethodOptions | BodyResponseCallback, @@ -6044,8 +6120,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Listservercas; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6102,11 +6178,13 @@ export namespace sqladmin_v1beta4 { ListServerCertificates( params: Params$Resource$Instances$Listservercertificates, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; ListServerCertificates( params?: Params$Resource$Instances$Listservercertificates, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; ListServerCertificates( params: Params$Resource$Instances$Listservercertificates, options: StreamMethodOptions | BodyResponseCallback, @@ -6141,8 +6219,10 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Listservercertificates; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6199,11 +6279,11 @@ export namespace sqladmin_v1beta4 { patch( params: Params$Resource$Instances$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Instances$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6232,7 +6312,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6285,11 +6368,11 @@ export namespace sqladmin_v1beta4 { pointInTimeRestore( params: Params$Resource$Instances$Pointintimerestore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pointInTimeRestore( params?: Params$Resource$Instances$Pointintimerestore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pointInTimeRestore( params: Params$Resource$Instances$Pointintimerestore, options: StreamMethodOptions | BodyResponseCallback, @@ -6318,7 +6401,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Pointintimerestore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6372,11 +6458,11 @@ export namespace sqladmin_v1beta4 { promoteReplica( params: Params$Resource$Instances$Promotereplica, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; promoteReplica( params?: Params$Resource$Instances$Promotereplica, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; promoteReplica( params: Params$Resource$Instances$Promotereplica, options: StreamMethodOptions | BodyResponseCallback, @@ -6405,7 +6491,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Promotereplica; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6460,11 +6549,11 @@ export namespace sqladmin_v1beta4 { reencrypt( params: Params$Resource$Instances$Reencrypt, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reencrypt( params?: Params$Resource$Instances$Reencrypt, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reencrypt( params: Params$Resource$Instances$Reencrypt, options: StreamMethodOptions | BodyResponseCallback, @@ -6493,7 +6582,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Reencrypt; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6548,11 +6640,13 @@ export namespace sqladmin_v1beta4 { releaseSsrsLease( params: Params$Resource$Instances$Releasessrslease, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; releaseSsrsLease( params?: Params$Resource$Instances$Releasessrslease, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; releaseSsrsLease( params: Params$Resource$Instances$Releasessrslease, options: StreamMethodOptions | BodyResponseCallback, @@ -6587,8 +6681,10 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Releasessrslease; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6645,11 +6741,11 @@ export namespace sqladmin_v1beta4 { resetSslConfig( params: Params$Resource$Instances$Resetsslconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetSslConfig( params?: Params$Resource$Instances$Resetsslconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetSslConfig( params: Params$Resource$Instances$Resetsslconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -6678,7 +6774,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Resetsslconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6733,11 +6832,11 @@ export namespace sqladmin_v1beta4 { restart( params: Params$Resource$Instances$Restart, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restart( params?: Params$Resource$Instances$Restart, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restart( params: Params$Resource$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback, @@ -6766,7 +6865,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Restart; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6821,11 +6923,11 @@ export namespace sqladmin_v1beta4 { restoreBackup( params: Params$Resource$Instances$Restorebackup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restoreBackup( params?: Params$Resource$Instances$Restorebackup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restoreBackup( params: Params$Resource$Instances$Restorebackup, options: StreamMethodOptions | BodyResponseCallback, @@ -6854,7 +6956,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Restorebackup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6909,11 +7014,11 @@ export namespace sqladmin_v1beta4 { rotateServerCa( params: Params$Resource$Instances$Rotateserverca, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rotateServerCa( params?: Params$Resource$Instances$Rotateserverca, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rotateServerCa( params: Params$Resource$Instances$Rotateserverca, options: StreamMethodOptions | BodyResponseCallback, @@ -6942,7 +7047,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Rotateserverca; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6997,11 +7105,11 @@ export namespace sqladmin_v1beta4 { RotateServerCertificate( params: Params$Resource$Instances$Rotateservercertificate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; RotateServerCertificate( params?: Params$Resource$Instances$Rotateservercertificate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; RotateServerCertificate( params: Params$Resource$Instances$Rotateservercertificate, options: StreamMethodOptions | BodyResponseCallback, @@ -7032,7 +7140,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Rotateservercertificate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7087,11 +7198,11 @@ export namespace sqladmin_v1beta4 { startReplica( params: Params$Resource$Instances$Startreplica, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startReplica( params?: Params$Resource$Instances$Startreplica, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startReplica( params: Params$Resource$Instances$Startreplica, options: StreamMethodOptions | BodyResponseCallback, @@ -7120,7 +7231,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Startreplica; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7175,11 +7289,11 @@ export namespace sqladmin_v1beta4 { stopReplica( params: Params$Resource$Instances$Stopreplica, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stopReplica( params?: Params$Resource$Instances$Stopreplica, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stopReplica( params: Params$Resource$Instances$Stopreplica, options: StreamMethodOptions | BodyResponseCallback, @@ -7208,7 +7322,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Stopreplica; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7263,11 +7380,11 @@ export namespace sqladmin_v1beta4 { switchover( params: Params$Resource$Instances$Switchover, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params?: Params$Resource$Instances$Switchover, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; switchover( params: Params$Resource$Instances$Switchover, options: StreamMethodOptions | BodyResponseCallback, @@ -7296,7 +7413,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Switchover; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7351,11 +7471,11 @@ export namespace sqladmin_v1beta4 { truncateLog( params: Params$Resource$Instances$Truncatelog, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; truncateLog( params?: Params$Resource$Instances$Truncatelog, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; truncateLog( params: Params$Resource$Instances$Truncatelog, options: StreamMethodOptions | BodyResponseCallback, @@ -7384,7 +7504,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Truncatelog; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7439,11 +7562,11 @@ export namespace sqladmin_v1beta4 { update( params: Params$Resource$Instances$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Instances$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Instances$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7472,7 +7595,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Instances$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7957,11 +8083,11 @@ export namespace sqladmin_v1beta4 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7990,7 +8116,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8045,11 +8174,11 @@ export namespace sqladmin_v1beta4 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8078,7 +8207,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8131,11 +8263,11 @@ export namespace sqladmin_v1beta4 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8168,8 +8300,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8278,11 +8410,13 @@ export namespace sqladmin_v1beta4 { getDiskShrinkConfig( params: Params$Resource$Projects$Instances$Getdiskshrinkconfig, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDiskShrinkConfig( params?: Params$Resource$Projects$Instances$Getdiskshrinkconfig, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getDiskShrinkConfig( params: Params$Resource$Projects$Instances$Getdiskshrinkconfig, options: StreamMethodOptions | BodyResponseCallback, @@ -8317,8 +8451,10 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Getdiskshrinkconfig; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8375,11 +8511,13 @@ export namespace sqladmin_v1beta4 { getLatestRecoveryTime( params: Params$Resource$Projects$Instances$Getlatestrecoverytime, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getLatestRecoveryTime( params?: Params$Resource$Projects$Instances$Getlatestrecoverytime, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; getLatestRecoveryTime( params: Params$Resource$Projects$Instances$Getlatestrecoverytime, options: StreamMethodOptions | BodyResponseCallback, @@ -8414,8 +8552,10 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Getlatestrecoverytime; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8472,11 +8612,11 @@ export namespace sqladmin_v1beta4 { performDiskShrink( params: Params$Resource$Projects$Instances$Performdiskshrink, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performDiskShrink( params?: Params$Resource$Projects$Instances$Performdiskshrink, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performDiskShrink( params: Params$Resource$Projects$Instances$Performdiskshrink, options: StreamMethodOptions | BodyResponseCallback, @@ -8505,7 +8645,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Performdiskshrink; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8560,11 +8703,11 @@ export namespace sqladmin_v1beta4 { rescheduleMaintenance( params: Params$Resource$Projects$Instances$Reschedulemaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params?: Params$Resource$Projects$Instances$Reschedulemaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rescheduleMaintenance( params: Params$Resource$Projects$Instances$Reschedulemaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -8595,7 +8738,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Reschedulemaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8650,11 +8796,11 @@ export namespace sqladmin_v1beta4 { resetReplicaSize( params: Params$Resource$Projects$Instances$Resetreplicasize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetReplicaSize( params?: Params$Resource$Projects$Instances$Resetreplicasize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetReplicaSize( params: Params$Resource$Projects$Instances$Resetreplicasize, options: StreamMethodOptions | BodyResponseCallback, @@ -8683,7 +8829,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Resetreplicasize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8738,11 +8887,11 @@ export namespace sqladmin_v1beta4 { startExternalSync( params: Params$Resource$Projects$Instances$Startexternalsync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startExternalSync( params?: Params$Resource$Projects$Instances$Startexternalsync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startExternalSync( params: Params$Resource$Projects$Instances$Startexternalsync, options: StreamMethodOptions | BodyResponseCallback, @@ -8771,7 +8920,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Startexternalsync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8826,11 +8978,13 @@ export namespace sqladmin_v1beta4 { verifyExternalSyncSettings( params: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verifyExternalSyncSettings( params?: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; verifyExternalSyncSettings( params: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -8865,8 +9019,10 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Instances$Verifyexternalsyncsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9034,11 +9190,11 @@ export namespace sqladmin_v1beta4 { createEphemeral( params: Params$Resource$Sslcerts$Createephemeral, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; createEphemeral( params?: Params$Resource$Sslcerts$Createephemeral, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; createEphemeral( params: Params$Resource$Sslcerts$Createephemeral, options: StreamMethodOptions | BodyResponseCallback, @@ -9067,7 +9223,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Createephemeral; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9122,11 +9281,11 @@ export namespace sqladmin_v1beta4 { delete( params: Params$Resource$Sslcerts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sslcerts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sslcerts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9155,7 +9314,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9209,11 +9371,11 @@ export namespace sqladmin_v1beta4 { get( params: Params$Resource$Sslcerts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sslcerts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sslcerts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9242,7 +9404,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9296,11 +9461,11 @@ export namespace sqladmin_v1beta4 { insert( params: Params$Resource$Sslcerts$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Sslcerts$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Sslcerts$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9333,8 +9498,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9388,11 +9553,11 @@ export namespace sqladmin_v1beta4 { list( params: Params$Resource$Sslcerts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sslcerts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sslcerts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9425,8 +9590,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sslcerts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9557,11 +9722,11 @@ export namespace sqladmin_v1beta4 { list( params: Params$Resource$Tiers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tiers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tiers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9592,8 +9757,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tiers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9661,11 +9826,11 @@ export namespace sqladmin_v1beta4 { delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Users$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Users$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9694,7 +9859,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9748,11 +9916,11 @@ export namespace sqladmin_v1beta4 { get( params: Params$Resource$Users$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Users$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Users$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9781,7 +9949,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9835,11 +10006,11 @@ export namespace sqladmin_v1beta4 { insert( params: Params$Resource$Users$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Users$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Users$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9868,7 +10039,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9922,11 +10096,11 @@ export namespace sqladmin_v1beta4 { list( params: Params$Resource$Users$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Users$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Users$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9957,8 +10131,8 @@ export namespace sqladmin_v1beta4 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10012,11 +10186,11 @@ export namespace sqladmin_v1beta4 { update( params: Params$Resource$Users$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Users$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Users$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10045,7 +10219,10 @@ export namespace sqladmin_v1beta4 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Users$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/storage/index.ts b/src/apis/storage/index.ts index 0e649bd5a02..3ad5f80ee25 100644 --- a/src/apis/storage/index.ts +++ b/src/apis/storage/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/storage/package.json b/src/apis/storage/package.json index 16b1b6a7d9d..d23bb40b292 100644 --- a/src/apis/storage/package.json +++ b/src/apis/storage/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/storage/v1.ts b/src/apis/storage/v1.ts index 3d0681839aa..89848e1f2fd 100644 --- a/src/apis/storage/v1.ts +++ b/src/apis/storage/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1365,11 +1365,11 @@ export namespace storage_v1 { disable( params: Params$Resource$Anywherecaches$Disable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; disable( params?: Params$Resource$Anywherecaches$Disable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; disable( params: Params$Resource$Anywherecaches$Disable, options: StreamMethodOptions | BodyResponseCallback, @@ -1398,7 +1398,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Anywherecaches$Disable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1453,11 +1456,11 @@ export namespace storage_v1 { get( params: Params$Resource$Anywherecaches$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Anywherecaches$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Anywherecaches$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1486,7 +1489,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Anywherecaches$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1541,11 +1547,11 @@ export namespace storage_v1 { insert( params: Params$Resource$Anywherecaches$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Anywherecaches$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Anywherecaches$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1580,8 +1586,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Anywherecaches$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1636,11 +1642,11 @@ export namespace storage_v1 { list( params: Params$Resource$Anywherecaches$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Anywherecaches$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Anywherecaches$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1669,7 +1675,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Anywherecaches$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1724,11 +1733,11 @@ export namespace storage_v1 { pause( params: Params$Resource$Anywherecaches$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Anywherecaches$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Anywherecaches$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -1757,7 +1766,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Anywherecaches$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1812,11 +1824,11 @@ export namespace storage_v1 { resume( params: Params$Resource$Anywherecaches$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Anywherecaches$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Anywherecaches$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -1845,7 +1857,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Anywherecaches$Resume; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1900,11 +1915,11 @@ export namespace storage_v1 { update( params: Params$Resource$Anywherecaches$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Anywherecaches$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Anywherecaches$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1939,8 +1954,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Anywherecaches$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2090,11 +2105,11 @@ export namespace storage_v1 { delete( params: Params$Resource$Bucketaccesscontrols$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Bucketaccesscontrols$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Bucketaccesscontrols$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2121,7 +2136,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2176,11 +2194,11 @@ export namespace storage_v1 { get( params: Params$Resource$Bucketaccesscontrols$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Bucketaccesscontrols$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Bucketaccesscontrols$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2211,8 +2229,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2267,11 +2285,11 @@ export namespace storage_v1 { insert( params: Params$Resource$Bucketaccesscontrols$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Bucketaccesscontrols$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Bucketaccesscontrols$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -2302,8 +2320,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2358,11 +2376,11 @@ export namespace storage_v1 { list( params: Params$Resource$Bucketaccesscontrols$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bucketaccesscontrols$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bucketaccesscontrols$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2395,8 +2413,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2451,11 +2469,11 @@ export namespace storage_v1 { patch( params: Params$Resource$Bucketaccesscontrols$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Bucketaccesscontrols$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Bucketaccesscontrols$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2486,8 +2504,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2542,11 +2560,11 @@ export namespace storage_v1 { update( params: Params$Resource$Bucketaccesscontrols$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Bucketaccesscontrols$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Bucketaccesscontrols$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2577,8 +2595,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2738,11 +2756,11 @@ export namespace storage_v1 { delete( params: Params$Resource$Buckets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Buckets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Buckets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2769,7 +2787,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2823,11 +2844,11 @@ export namespace storage_v1 { get( params: Params$Resource$Buckets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buckets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buckets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2856,7 +2877,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2910,11 +2934,11 @@ export namespace storage_v1 { getIamPolicy( params: Params$Resource$Buckets$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Buckets$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Buckets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2943,7 +2967,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2998,11 +3025,11 @@ export namespace storage_v1 { getStorageLayout( params: Params$Resource$Buckets$Getstoragelayout, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStorageLayout( params?: Params$Resource$Buckets$Getstoragelayout, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStorageLayout( params: Params$Resource$Buckets$Getstoragelayout, options: StreamMethodOptions | BodyResponseCallback, @@ -3035,8 +3062,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Getstoragelayout; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3091,11 +3118,11 @@ export namespace storage_v1 { insert( params: Params$Resource$Buckets$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Buckets$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Buckets$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3124,7 +3151,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3175,11 +3205,11 @@ export namespace storage_v1 { list( params: Params$Resource$Buckets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buckets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buckets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3208,7 +3238,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3259,11 +3292,11 @@ export namespace storage_v1 { lockRetentionPolicy( params: Params$Resource$Buckets$Lockretentionpolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lockRetentionPolicy( params?: Params$Resource$Buckets$Lockretentionpolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lockRetentionPolicy( params: Params$Resource$Buckets$Lockretentionpolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3292,7 +3325,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Lockretentionpolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3346,11 +3382,11 @@ export namespace storage_v1 { patch( params: Params$Resource$Buckets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Buckets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Buckets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3379,7 +3415,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3433,11 +3472,11 @@ export namespace storage_v1 { relocate( params: Params$Resource$Buckets$Relocate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; relocate( params?: Params$Resource$Buckets$Relocate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; relocate( params: Params$Resource$Buckets$Relocate, options: StreamMethodOptions | BodyResponseCallback, @@ -3472,8 +3511,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Relocate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3527,11 +3566,11 @@ export namespace storage_v1 { restore( params: Params$Resource$Buckets$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Buckets$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Buckets$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -3560,7 +3599,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3614,11 +3656,11 @@ export namespace storage_v1 { setIamPolicy( params: Params$Resource$Buckets$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Buckets$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Buckets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3647,7 +3689,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3702,11 +3747,11 @@ export namespace storage_v1 { testIamPermissions( params: Params$Resource$Buckets$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Buckets$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Buckets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3741,8 +3786,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3796,11 +3841,11 @@ export namespace storage_v1 { update( params: Params$Resource$Buckets$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Buckets$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Buckets$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3829,7 +3874,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4171,11 +4219,11 @@ export namespace storage_v1 { stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Channels$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -4202,7 +4250,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channels$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4270,11 +4321,11 @@ export namespace storage_v1 { delete( params: Params$Resource$Defaultobjectaccesscontrols$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Defaultobjectaccesscontrols$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Defaultobjectaccesscontrols$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4301,7 +4352,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4355,11 +4409,11 @@ export namespace storage_v1 { get( params: Params$Resource$Defaultobjectaccesscontrols$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Defaultobjectaccesscontrols$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Defaultobjectaccesscontrols$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4390,8 +4444,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4445,11 +4499,11 @@ export namespace storage_v1 { insert( params: Params$Resource$Defaultobjectaccesscontrols$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Defaultobjectaccesscontrols$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Defaultobjectaccesscontrols$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4480,8 +4534,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4536,11 +4590,11 @@ export namespace storage_v1 { list( params: Params$Resource$Defaultobjectaccesscontrols$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Defaultobjectaccesscontrols$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Defaultobjectaccesscontrols$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4573,8 +4627,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4629,11 +4683,11 @@ export namespace storage_v1 { patch( params: Params$Resource$Defaultobjectaccesscontrols$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Defaultobjectaccesscontrols$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Defaultobjectaccesscontrols$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4664,8 +4718,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4719,11 +4773,11 @@ export namespace storage_v1 { update( params: Params$Resource$Defaultobjectaccesscontrols$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Defaultobjectaccesscontrols$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Defaultobjectaccesscontrols$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4754,8 +4808,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4922,11 +4976,11 @@ export namespace storage_v1 { delete( params: Params$Resource$Folders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Folders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Folders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4953,7 +5007,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5007,11 +5064,11 @@ export namespace storage_v1 { get( params: Params$Resource$Folders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Folders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Folders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5040,7 +5097,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5094,11 +5154,11 @@ export namespace storage_v1 { insert( params: Params$Resource$Folders$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Folders$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Folders$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5127,7 +5187,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5181,11 +5244,11 @@ export namespace storage_v1 { list( params: Params$Resource$Folders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Folders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Folders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5214,7 +5277,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5268,11 +5334,11 @@ export namespace storage_v1 { rename( params: Params$Resource$Folders$Rename, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rename( params?: Params$Resource$Folders$Rename, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rename( params: Params$Resource$Folders$Rename, options: StreamMethodOptions | BodyResponseCallback, @@ -5307,8 +5373,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Folders$Rename; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5473,11 +5539,11 @@ export namespace storage_v1 { delete( params: Params$Resource$Managedfolders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Managedfolders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Managedfolders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5504,7 +5570,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedfolders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5558,11 +5627,11 @@ export namespace storage_v1 { get( params: Params$Resource$Managedfolders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Managedfolders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Managedfolders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5591,7 +5660,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedfolders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5645,11 +5717,11 @@ export namespace storage_v1 { getIamPolicy( params: Params$Resource$Managedfolders$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Managedfolders$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Managedfolders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5678,7 +5750,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedfolders$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5733,11 +5808,11 @@ export namespace storage_v1 { insert( params: Params$Resource$Managedfolders$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Managedfolders$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Managedfolders$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5766,7 +5841,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedfolders$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5821,11 +5899,11 @@ export namespace storage_v1 { list( params: Params$Resource$Managedfolders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Managedfolders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Managedfolders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5854,7 +5932,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedfolders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5909,11 +5990,11 @@ export namespace storage_v1 { setIamPolicy( params: Params$Resource$Managedfolders$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Managedfolders$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Managedfolders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5942,7 +6023,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedfolders$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5997,11 +6081,11 @@ export namespace storage_v1 { testIamPermissions( params: Params$Resource$Managedfolders$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Managedfolders$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Managedfolders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6036,8 +6120,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Managedfolders$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6231,11 +6315,11 @@ export namespace storage_v1 { delete( params: Params$Resource$Notifications$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Notifications$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Notifications$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6262,7 +6346,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Notifications$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6317,11 +6404,11 @@ export namespace storage_v1 { get( params: Params$Resource$Notifications$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Notifications$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Notifications$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6350,7 +6437,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Notifications$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6405,11 +6495,11 @@ export namespace storage_v1 { insert( params: Params$Resource$Notifications$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Notifications$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Notifications$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6438,7 +6528,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Notifications$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6492,11 +6585,11 @@ export namespace storage_v1 { list( params: Params$Resource$Notifications$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Notifications$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Notifications$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6525,7 +6618,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Notifications$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6644,11 +6740,11 @@ export namespace storage_v1 { delete( params: Params$Resource$Objectaccesscontrols$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Objectaccesscontrols$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Objectaccesscontrols$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6675,7 +6771,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6729,11 +6828,11 @@ export namespace storage_v1 { get( params: Params$Resource$Objectaccesscontrols$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Objectaccesscontrols$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Objectaccesscontrols$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6764,8 +6863,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6819,11 +6918,11 @@ export namespace storage_v1 { insert( params: Params$Resource$Objectaccesscontrols$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Objectaccesscontrols$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Objectaccesscontrols$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6854,8 +6953,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6910,11 +7009,11 @@ export namespace storage_v1 { list( params: Params$Resource$Objectaccesscontrols$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Objectaccesscontrols$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Objectaccesscontrols$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6947,8 +7046,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7003,11 +7102,11 @@ export namespace storage_v1 { patch( params: Params$Resource$Objectaccesscontrols$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Objectaccesscontrols$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Objectaccesscontrols$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7038,8 +7137,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7093,11 +7192,11 @@ export namespace storage_v1 { update( params: Params$Resource$Objectaccesscontrols$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Objectaccesscontrols$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Objectaccesscontrols$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7128,8 +7227,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7336,11 +7435,11 @@ export namespace storage_v1 { bulkRestore( params: Params$Resource$Objects$Bulkrestore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bulkRestore( params?: Params$Resource$Objects$Bulkrestore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bulkRestore( params: Params$Resource$Objects$Bulkrestore, options: StreamMethodOptions | BodyResponseCallback, @@ -7375,8 +7474,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Bulkrestore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7431,11 +7530,11 @@ export namespace storage_v1 { compose( params: Params$Resource$Objects$Compose, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; compose( params?: Params$Resource$Objects$Compose, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; compose( params: Params$Resource$Objects$Compose, options: StreamMethodOptions | BodyResponseCallback, @@ -7464,7 +7563,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Compose; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7518,11 +7620,11 @@ export namespace storage_v1 { copy( params: Params$Resource$Objects$Copy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copy( params?: Params$Resource$Objects$Copy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copy( params: Params$Resource$Objects$Copy, options: StreamMethodOptions | BodyResponseCallback, @@ -7551,7 +7653,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Copy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7615,11 +7720,11 @@ export namespace storage_v1 { delete( params: Params$Resource$Objects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Objects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Objects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7646,7 +7751,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7700,11 +7808,11 @@ export namespace storage_v1 { get( params: Params$Resource$Objects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Objects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Objects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7733,7 +7841,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7787,11 +7898,11 @@ export namespace storage_v1 { getIamPolicy( params: Params$Resource$Objects$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Objects$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Objects$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7820,7 +7931,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7875,11 +7989,11 @@ export namespace storage_v1 { insert( params: Params$Resource$Objects$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Objects$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Objects$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7908,7 +8022,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7966,11 +8083,11 @@ export namespace storage_v1 { list( params: Params$Resource$Objects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Objects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Objects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7999,7 +8116,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8053,11 +8173,11 @@ export namespace storage_v1 { move( params: Params$Resource$Objects$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Objects$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Objects$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -8086,7 +8206,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8140,11 +8263,11 @@ export namespace storage_v1 { patch( params: Params$Resource$Objects$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Objects$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Objects$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8173,7 +8296,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8227,11 +8353,11 @@ export namespace storage_v1 { restore( params: Params$Resource$Objects$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Objects$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Objects$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -8260,7 +8386,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8313,11 +8442,11 @@ export namespace storage_v1 { rewrite( params: Params$Resource$Objects$Rewrite, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rewrite( params?: Params$Resource$Objects$Rewrite, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rewrite( params: Params$Resource$Objects$Rewrite, options: StreamMethodOptions | BodyResponseCallback, @@ -8346,7 +8475,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Rewrite; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8410,11 +8542,11 @@ export namespace storage_v1 { setIamPolicy( params: Params$Resource$Objects$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Objects$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Objects$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8443,7 +8575,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8498,11 +8633,11 @@ export namespace storage_v1 { testIamPermissions( params: Params$Resource$Objects$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Objects$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Objects$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8537,8 +8672,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8592,11 +8727,11 @@ export namespace storage_v1 { update( params: Params$Resource$Objects$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Objects$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Objects$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8625,7 +8760,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8679,11 +8817,11 @@ export namespace storage_v1 { watchAll( params: Params$Resource$Objects$Watchall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watchAll( params?: Params$Resource$Objects$Watchall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watchAll( params: Params$Resource$Objects$Watchall, options: StreamMethodOptions | BodyResponseCallback, @@ -8712,7 +8850,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Watchall; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9502,11 +9643,11 @@ export namespace storage_v1 { advanceRelocateBucket( params: Params$Resource$Operations$Advancerelocatebucket, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; advanceRelocateBucket( params?: Params$Resource$Operations$Advancerelocatebucket, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; advanceRelocateBucket( params: Params$Resource$Operations$Advancerelocatebucket, options: StreamMethodOptions | BodyResponseCallback, @@ -9533,7 +9674,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Advancerelocatebucket; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9588,11 +9732,11 @@ export namespace storage_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -9619,7 +9763,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9673,11 +9820,11 @@ export namespace storage_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9712,8 +9859,8 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9766,11 +9913,13 @@ export namespace storage_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9805,8 +9954,10 @@ export namespace storage_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9936,11 +10087,11 @@ export namespace storage_v1 { create( params: Params$Resource$Projects$Hmackeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Hmackeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Hmackeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9969,7 +10120,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Hmackeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10023,11 +10177,11 @@ export namespace storage_v1 { delete( params: Params$Resource$Projects$Hmackeys$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Hmackeys$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Hmackeys$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10054,7 +10208,10 @@ export namespace storage_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Hmackeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10108,11 +10265,11 @@ export namespace storage_v1 { get( params: Params$Resource$Projects$Hmackeys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Hmackeys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Hmackeys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10141,7 +10298,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Hmackeys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10195,11 +10355,11 @@ export namespace storage_v1 { list( params: Params$Resource$Projects$Hmackeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Hmackeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Hmackeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10228,7 +10388,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Hmackeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10282,11 +10445,11 @@ export namespace storage_v1 { update( params: Params$Resource$Projects$Hmackeys$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Projects$Hmackeys$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Projects$Hmackeys$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10315,7 +10478,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Hmackeys$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10469,11 +10635,11 @@ export namespace storage_v1 { get( params: Params$Resource$Projects$Serviceaccount$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Serviceaccount$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Serviceaccount$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10502,7 +10668,10 @@ export namespace storage_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Serviceaccount$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/storage/v1beta2.ts b/src/apis/storage/v1beta2.ts index 8c43010c3a8..a01f89324e8 100644 --- a/src/apis/storage/v1beta2.ts +++ b/src/apis/storage/v1beta2.ts @@ -23,7 +23,7 @@ import { JWT, Compute, UserRefreshClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -604,11 +604,11 @@ export namespace storage_v1beta2 { delete( params: Params$Resource$Bucketaccesscontrols$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Bucketaccesscontrols$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Bucketaccesscontrols$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -635,7 +635,7 @@ export namespace storage_v1beta2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -745,11 +745,11 @@ export namespace storage_v1beta2 { get( params: Params$Resource$Bucketaccesscontrols$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Bucketaccesscontrols$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Bucketaccesscontrols$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -780,8 +780,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -906,11 +906,11 @@ export namespace storage_v1beta2 { insert( params: Params$Resource$Bucketaccesscontrols$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Bucketaccesscontrols$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Bucketaccesscontrols$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -941,8 +941,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1041,11 +1041,11 @@ export namespace storage_v1beta2 { list( params: Params$Resource$Bucketaccesscontrols$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Bucketaccesscontrols$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Bucketaccesscontrols$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1078,8 +1078,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1207,11 +1207,11 @@ export namespace storage_v1beta2 { patch( params: Params$Resource$Bucketaccesscontrols$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Bucketaccesscontrols$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Bucketaccesscontrols$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1242,8 +1242,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1371,11 +1371,11 @@ export namespace storage_v1beta2 { update( params: Params$Resource$Bucketaccesscontrols$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Bucketaccesscontrols$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Bucketaccesscontrols$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1406,8 +1406,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Bucketaccesscontrols$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1590,11 +1590,11 @@ export namespace storage_v1beta2 { delete( params: Params$Resource$Buckets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Buckets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Buckets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1621,7 +1621,7 @@ export namespace storage_v1beta2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1747,11 +1747,11 @@ export namespace storage_v1beta2 { get( params: Params$Resource$Buckets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Buckets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Buckets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1780,7 +1780,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1924,11 +1924,11 @@ export namespace storage_v1beta2 { insert( params: Params$Resource$Buckets$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Buckets$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Buckets$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1957,7 +1957,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2066,11 +2066,11 @@ export namespace storage_v1beta2 { list( params: Params$Resource$Buckets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Buckets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Buckets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2099,7 +2099,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2246,11 +2246,11 @@ export namespace storage_v1beta2 { patch( params: Params$Resource$Buckets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Buckets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Buckets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2279,7 +2279,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2429,11 +2429,11 @@ export namespace storage_v1beta2 { update( params: Params$Resource$Buckets$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Buckets$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Buckets$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2462,7 +2462,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Buckets$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2691,11 +2691,11 @@ export namespace storage_v1beta2 { stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Channels$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Channels$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -2722,7 +2722,7 @@ export namespace storage_v1beta2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channels$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2831,11 +2831,11 @@ export namespace storage_v1beta2 { delete( params: Params$Resource$Defaultobjectaccesscontrols$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Defaultobjectaccesscontrols$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Defaultobjectaccesscontrols$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2862,7 +2862,7 @@ export namespace storage_v1beta2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2973,11 +2973,11 @@ export namespace storage_v1beta2 { get( params: Params$Resource$Defaultobjectaccesscontrols$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Defaultobjectaccesscontrols$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Defaultobjectaccesscontrols$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3008,8 +3008,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3137,11 +3137,11 @@ export namespace storage_v1beta2 { insert( params: Params$Resource$Defaultobjectaccesscontrols$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Defaultobjectaccesscontrols$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Defaultobjectaccesscontrols$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -3172,8 +3172,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3277,11 +3277,11 @@ export namespace storage_v1beta2 { list( params: Params$Resource$Defaultobjectaccesscontrols$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Defaultobjectaccesscontrols$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Defaultobjectaccesscontrols$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3314,8 +3314,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3446,11 +3446,11 @@ export namespace storage_v1beta2 { patch( params: Params$Resource$Defaultobjectaccesscontrols$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Defaultobjectaccesscontrols$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Defaultobjectaccesscontrols$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3481,8 +3481,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3613,11 +3613,11 @@ export namespace storage_v1beta2 { update( params: Params$Resource$Defaultobjectaccesscontrols$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Defaultobjectaccesscontrols$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Defaultobjectaccesscontrols$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3648,8 +3648,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Defaultobjectaccesscontrols$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3839,11 +3839,11 @@ export namespace storage_v1beta2 { delete( params: Params$Resource$Objectaccesscontrols$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Objectaccesscontrols$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Objectaccesscontrols$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3870,7 +3870,7 @@ export namespace storage_v1beta2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3987,11 +3987,11 @@ export namespace storage_v1beta2 { get( params: Params$Resource$Objectaccesscontrols$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Objectaccesscontrols$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Objectaccesscontrols$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4022,8 +4022,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4157,11 +4157,11 @@ export namespace storage_v1beta2 { insert( params: Params$Resource$Objectaccesscontrols$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Objectaccesscontrols$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Objectaccesscontrols$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4192,8 +4192,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4297,11 +4297,11 @@ export namespace storage_v1beta2 { list( params: Params$Resource$Objectaccesscontrols$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Objectaccesscontrols$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Objectaccesscontrols$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4334,8 +4334,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4472,11 +4472,11 @@ export namespace storage_v1beta2 { patch( params: Params$Resource$Objectaccesscontrols$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Objectaccesscontrols$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Objectaccesscontrols$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4507,8 +4507,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4645,11 +4645,11 @@ export namespace storage_v1beta2 { update( params: Params$Resource$Objectaccesscontrols$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Objectaccesscontrols$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Objectaccesscontrols$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4680,8 +4680,8 @@ export namespace storage_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objectaccesscontrols$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4953,11 +4953,11 @@ export namespace storage_v1beta2 { compose( params: Params$Resource$Objects$Compose, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; compose( params?: Params$Resource$Objects$Compose, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; compose( params: Params$Resource$Objects$Compose, options: StreamMethodOptions | BodyResponseCallback, @@ -4986,7 +4986,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Compose; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5180,11 +5180,11 @@ export namespace storage_v1beta2 { copy( params: Params$Resource$Objects$Copy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; copy( params?: Params$Resource$Objects$Copy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; copy( params: Params$Resource$Objects$Copy, options: StreamMethodOptions | BodyResponseCallback, @@ -5213,7 +5213,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Copy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5336,11 +5336,11 @@ export namespace storage_v1beta2 { delete( params: Params$Resource$Objects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Objects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Objects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5367,7 +5367,7 @@ export namespace storage_v1beta2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5512,11 +5512,11 @@ export namespace storage_v1beta2 { get( params: Params$Resource$Objects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Objects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Objects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5545,7 +5545,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5725,11 +5725,11 @@ export namespace storage_v1beta2 { insert( params: Params$Resource$Objects$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Objects$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Objects$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5758,7 +5758,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5884,11 +5884,11 @@ export namespace storage_v1beta2 { list( params: Params$Resource$Objects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Objects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Objects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5917,7 +5917,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6093,11 +6093,11 @@ export namespace storage_v1beta2 { patch( params: Params$Resource$Objects$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Objects$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Objects$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6126,7 +6126,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6302,11 +6302,11 @@ export namespace storage_v1beta2 { update( params: Params$Resource$Objects$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Objects$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Objects$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6335,7 +6335,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6481,11 +6481,11 @@ export namespace storage_v1beta2 { watchAll( params: Params$Resource$Objects$Watchall, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; watchAll( params?: Params$Resource$Objects$Watchall, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; watchAll( params: Params$Resource$Objects$Watchall, options: StreamMethodOptions | BodyResponseCallback, @@ -6514,7 +6514,7 @@ export namespace storage_v1beta2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Objects$Watchall; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/storagebatchoperations/index.ts b/src/apis/storagebatchoperations/index.ts index 753a39adaa0..1f8c450cb2e 100644 --- a/src/apis/storagebatchoperations/index.ts +++ b/src/apis/storagebatchoperations/index.ts @@ -44,7 +44,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/storagebatchoperations/package.json b/src/apis/storagebatchoperations/package.json index a743aabf2f7..23438a0a37b 100644 --- a/src/apis/storagebatchoperations/package.json +++ b/src/apis/storagebatchoperations/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/storagebatchoperations/v1.ts b/src/apis/storagebatchoperations/v1.ts index 5c965ab5c62..082ad383144 100644 --- a/src/apis/storagebatchoperations/v1.ts +++ b/src/apis/storagebatchoperations/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -546,11 +546,11 @@ export namespace storagebatchoperations_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -579,7 +579,10 @@ export namespace storagebatchoperations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -632,11 +635,11 @@ export namespace storagebatchoperations_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -669,8 +672,8 @@ export namespace storagebatchoperations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -764,11 +767,11 @@ export namespace storagebatchoperations_v1 { cancel( params: Params$Resource$Projects$Locations$Jobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Jobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Jobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -799,8 +802,8 @@ export namespace storagebatchoperations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -853,11 +856,11 @@ export namespace storagebatchoperations_v1 { create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -886,7 +889,10 @@ export namespace storagebatchoperations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -939,11 +945,11 @@ export namespace storagebatchoperations_v1 { delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -972,7 +978,10 @@ export namespace storagebatchoperations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1025,11 +1034,11 @@ export namespace storagebatchoperations_v1 { get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1058,7 +1067,10 @@ export namespace storagebatchoperations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1111,11 +1123,11 @@ export namespace storagebatchoperations_v1 { list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1144,7 +1156,10 @@ export namespace storagebatchoperations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1278,11 +1293,11 @@ export namespace storagebatchoperations_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1311,7 +1326,10 @@ export namespace storagebatchoperations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1364,11 +1382,11 @@ export namespace storagebatchoperations_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1397,7 +1415,10 @@ export namespace storagebatchoperations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1450,11 +1471,11 @@ export namespace storagebatchoperations_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1483,7 +1504,10 @@ export namespace storagebatchoperations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1536,11 +1560,11 @@ export namespace storagebatchoperations_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1573,8 +1597,8 @@ export namespace storagebatchoperations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/storagetransfer/index.ts b/src/apis/storagetransfer/index.ts index 29d2aa4c34b..d2ee93cbfb5 100644 --- a/src/apis/storagetransfer/index.ts +++ b/src/apis/storagetransfer/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/storagetransfer/package.json b/src/apis/storagetransfer/package.json index 99e90255bdb..5614f5f9713 100644 --- a/src/apis/storagetransfer/package.json +++ b/src/apis/storagetransfer/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/storagetransfer/v1.ts b/src/apis/storagetransfer/v1.ts index 1bff981ba8e..694b557693e 100644 --- a/src/apis/storagetransfer/v1.ts +++ b/src/apis/storagetransfer/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -383,7 +383,7 @@ export namespace storagetransfer_v1 { */ export interface Schema$HttpData { /** - * Required. The URL that points to the file that stores the object list entries. This file must allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported. + * Required. The URL that points to the file that stores the object list entries. This file must allow public access. The URL is either an HTTP/HTTPS address (e.g. `https://example.com/urllist.tsv`) or a Cloud Storage path (e.g. `gs://my-bucket/urllist.tsv`). */ listUrl?: string | null; } @@ -502,7 +502,7 @@ export namespace storagetransfer_v1 { pubsubTopic?: string | null; } /** - * Conditions that determine which objects are transferred. Applies only to Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last modification time" refers to the time of the last change to the object's content or metadata — specifically, this is the `updated` property of Cloud Storage objects, the `LastModified` field of S3 objects, and the `Last-Modified` header of Azure blobs. Transfers with a PosixFilesystem source or destination don't support `ObjectConditions`. + * Conditions that determine which objects are transferred. Applies only to Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last modification time" refers to the time of the last change to the object's content or metadata — specifically, this is the `updated` property of Cloud Storage objects, the `LastModified` field of S3 objects, and the `Last-Modified` header of Azure blobs. For S3 objects, the `LastModified` value is the time the object begins uploading. If the object meets your "last modification time" criteria, but has not finished uploading, the object is not transferred. See [Transfer from Amazon S3 to Cloud Storage](https://cloud.google.com/storage-transfer/docs/create-transfers/agentless/s3#transfer_options) for more information. Transfers with a PosixFilesystem source or destination don't support `ObjectConditions`. */ export interface Schema$ObjectConditions { /** @@ -827,6 +827,10 @@ export namespace storagetransfer_v1 { * Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job never executes a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule. */ schedule?: Schema$Schedule; + /** + * Optional. The service account to be used to access resources in the consumer project in the transfer job. We accept `email` or `uniqueId` for the service account. Service account format is projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID\} See https://cloud.google.com/iam/docs/reference/credentials/rest/v1/projects.serviceAccounts/generateAccessToken#path-parameters for details. Caller requires the following IAM permission on the specified service account: `iam.serviceAccounts.actAs`. project-PROJECT_NUMBER@storage-transfer-service.iam.gserviceaccount.com requires the following IAM permission on the specified service account: `iam.serviceAccounts.getAccessToken` + */ + serviceAccount?: string | null; /** * Status of the job. This value MUST be specified for `CreateTransferJobRequests`. **Note:** The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation. */ @@ -1019,11 +1023,11 @@ export namespace storagetransfer_v1 { get( params: Params$Resource$Googleserviceaccounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Googleserviceaccounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Googleserviceaccounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1056,8 +1060,8 @@ export namespace storagetransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Googleserviceaccounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1137,11 +1141,11 @@ export namespace storagetransfer_v1 { create( params: Params$Resource$Projects$Agentpools$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Agentpools$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Agentpools$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1170,7 +1174,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agentpools$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1226,11 +1233,11 @@ export namespace storagetransfer_v1 { delete( params: Params$Resource$Projects$Agentpools$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Agentpools$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Agentpools$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1259,7 +1266,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agentpools$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1312,11 +1322,11 @@ export namespace storagetransfer_v1 { get( params: Params$Resource$Projects$Agentpools$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Agentpools$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Agentpools$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1345,7 +1355,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agentpools$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1398,11 +1411,11 @@ export namespace storagetransfer_v1 { list( params: Params$Resource$Projects$Agentpools$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Agentpools$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Agentpools$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1435,8 +1448,8 @@ export namespace storagetransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agentpools$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1492,11 +1505,11 @@ export namespace storagetransfer_v1 { patch( params: Params$Resource$Projects$Agentpools$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Agentpools$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Agentpools$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1525,7 +1538,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Agentpools$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1651,11 +1667,11 @@ export namespace storagetransfer_v1 { create( params: Params$Resource$Transferjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Transferjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Transferjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1684,7 +1700,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transferjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1737,11 +1756,11 @@ export namespace storagetransfer_v1 { delete( params: Params$Resource$Transferjobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Transferjobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Transferjobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1770,7 +1789,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transferjobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1823,11 +1845,11 @@ export namespace storagetransfer_v1 { get( params: Params$Resource$Transferjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Transferjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Transferjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1856,7 +1878,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transferjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1908,11 +1933,11 @@ export namespace storagetransfer_v1 { list( params: Params$Resource$Transferjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Transferjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Transferjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1945,8 +1970,8 @@ export namespace storagetransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transferjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1999,11 +2024,11 @@ export namespace storagetransfer_v1 { patch( params: Params$Resource$Transferjobs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Transferjobs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Transferjobs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2032,7 +2057,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transferjobs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2085,11 +2113,11 @@ export namespace storagetransfer_v1 { run( params: Params$Resource$Transferjobs$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Transferjobs$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Transferjobs$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -2118,7 +2146,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transferjobs$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2244,11 +2275,11 @@ export namespace storagetransfer_v1 { cancel( params: Params$Resource$Transferoperations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Transferoperations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Transferoperations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2277,7 +2308,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transferoperations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2330,11 +2364,11 @@ export namespace storagetransfer_v1 { get( params: Params$Resource$Transferoperations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Transferoperations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Transferoperations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2363,7 +2397,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transferoperations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2416,11 +2453,11 @@ export namespace storagetransfer_v1 { list( params: Params$Resource$Transferoperations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Transferoperations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Transferoperations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2453,8 +2490,8 @@ export namespace storagetransfer_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transferoperations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2507,11 +2544,11 @@ export namespace storagetransfer_v1 { pause( params: Params$Resource$Transferoperations$Pause, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pause( params?: Params$Resource$Transferoperations$Pause, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pause( params: Params$Resource$Transferoperations$Pause, options: StreamMethodOptions | BodyResponseCallback, @@ -2540,7 +2577,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transferoperations$Pause; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2593,11 +2633,11 @@ export namespace storagetransfer_v1 { resume( params: Params$Resource$Transferoperations$Resume, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resume( params?: Params$Resource$Transferoperations$Resume, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resume( params: Params$Resource$Transferoperations$Resume, options: StreamMethodOptions | BodyResponseCallback, @@ -2626,7 +2666,10 @@ export namespace storagetransfer_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transferoperations$Resume; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/streetviewpublish/index.ts b/src/apis/streetviewpublish/index.ts index 6a754c76086..cb536ed8c30 100644 --- a/src/apis/streetviewpublish/index.ts +++ b/src/apis/streetviewpublish/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/streetviewpublish/package.json b/src/apis/streetviewpublish/package.json index c8b3352887b..83d37ecb6d8 100644 --- a/src/apis/streetviewpublish/package.json +++ b/src/apis/streetviewpublish/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/streetviewpublish/v1.ts b/src/apis/streetviewpublish/v1.ts index 2b4d1c403c8..ea7f3ec359c 100644 --- a/src/apis/streetviewpublish/v1.ts +++ b/src/apis/streetviewpublish/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -661,11 +661,11 @@ export namespace streetviewpublish_v1 { create( params: Params$Resource$Photo$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Photo$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Photo$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -694,7 +694,10 @@ export namespace streetviewpublish_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photo$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -746,11 +749,11 @@ export namespace streetviewpublish_v1 { delete( params: Params$Resource$Photo$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Photo$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Photo$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -779,7 +782,10 @@ export namespace streetviewpublish_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photo$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -834,11 +840,11 @@ export namespace streetviewpublish_v1 { get( params: Params$Resource$Photo$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Photo$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Photo$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -867,7 +873,10 @@ export namespace streetviewpublish_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photo$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -922,11 +931,11 @@ export namespace streetviewpublish_v1 { startUpload( params: Params$Resource$Photo$Startupload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startUpload( params?: Params$Resource$Photo$Startupload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startUpload( params: Params$Resource$Photo$Startupload, options: StreamMethodOptions | BodyResponseCallback, @@ -955,7 +964,10 @@ export namespace streetviewpublish_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photo$Startupload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1011,11 +1023,11 @@ export namespace streetviewpublish_v1 { update( params: Params$Resource$Photo$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Photo$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Photo$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1044,7 +1056,10 @@ export namespace streetviewpublish_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photo$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1152,11 +1167,11 @@ export namespace streetviewpublish_v1 { batchDelete( params: Params$Resource$Photos$Batchdelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params?: Params$Resource$Photos$Batchdelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchDelete( params: Params$Resource$Photos$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, @@ -1191,8 +1206,8 @@ export namespace streetviewpublish_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photos$Batchdelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1248,11 +1263,11 @@ export namespace streetviewpublish_v1 { batchGet( params: Params$Resource$Photos$Batchget, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params?: Params$Resource$Photos$Batchget, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchGet( params: Params$Resource$Photos$Batchget, options: StreamMethodOptions | BodyResponseCallback, @@ -1287,8 +1302,8 @@ export namespace streetviewpublish_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photos$Batchget; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1343,11 +1358,11 @@ export namespace streetviewpublish_v1 { batchUpdate( params: Params$Resource$Photos$Batchupdate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params?: Params$Resource$Photos$Batchupdate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchUpdate( params: Params$Resource$Photos$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, @@ -1382,8 +1397,8 @@ export namespace streetviewpublish_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photos$Batchupdate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1439,11 +1454,11 @@ export namespace streetviewpublish_v1 { list( params: Params$Resource$Photos$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Photos$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Photos$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1474,8 +1489,8 @@ export namespace streetviewpublish_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photos$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1585,11 +1600,11 @@ export namespace streetviewpublish_v1 { create( params: Params$Resource$Photosequence$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Photosequence$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Photosequence$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1618,7 +1633,10 @@ export namespace streetviewpublish_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photosequence$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1671,11 +1689,11 @@ export namespace streetviewpublish_v1 { delete( params: Params$Resource$Photosequence$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Photosequence$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Photosequence$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1704,7 +1722,10 @@ export namespace streetviewpublish_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photosequence$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1760,11 +1781,11 @@ export namespace streetviewpublish_v1 { get( params: Params$Resource$Photosequence$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Photosequence$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Photosequence$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1793,7 +1814,10 @@ export namespace streetviewpublish_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photosequence$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1849,11 +1873,11 @@ export namespace streetviewpublish_v1 { startUpload( params: Params$Resource$Photosequence$Startupload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startUpload( params?: Params$Resource$Photosequence$Startupload, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startUpload( params: Params$Resource$Photosequence$Startupload, options: StreamMethodOptions | BodyResponseCallback, @@ -1882,7 +1906,10 @@ export namespace streetviewpublish_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photosequence$Startupload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1987,11 +2014,11 @@ export namespace streetviewpublish_v1 { list( params: Params$Resource$Photosequences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Photosequences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Photosequences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2026,8 +2053,8 @@ export namespace streetviewpublish_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Photosequences$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/sts/index.ts b/src/apis/sts/index.ts index 7dfa7842c57..958e828d866 100644 --- a/src/apis/sts/index.ts +++ b/src/apis/sts/index.ts @@ -43,7 +43,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/sts/package.json b/src/apis/sts/package.json index 8fe4d1fe02b..14ec4f0173a 100644 --- a/src/apis/sts/package.json +++ b/src/apis/sts/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/sts/v1.ts b/src/apis/sts/v1.ts index 97709ecd93b..b171dcbda9f 100644 --- a/src/apis/sts/v1.ts +++ b/src/apis/sts/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -316,11 +316,13 @@ export namespace sts_v1 { token( params: Params$Resource$V1$Token, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; token( params?: Params$Resource$V1$Token, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; token( params: Params$Resource$V1$Token, options: StreamMethodOptions | BodyResponseCallback, @@ -355,8 +357,10 @@ export namespace sts_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1$Token; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/sts/v1beta.ts b/src/apis/sts/v1beta.ts index a5872bfd961..015dc1e7c0b 100644 --- a/src/apis/sts/v1beta.ts +++ b/src/apis/sts/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -312,11 +312,13 @@ export namespace sts_v1beta { token( params: Params$Resource$V1beta$Token, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; token( params?: Params$Resource$V1beta$Token, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; token( params: Params$Resource$V1beta$Token, options: StreamMethodOptions | BodyResponseCallback, @@ -351,8 +353,10 @@ export namespace sts_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$V1beta$Token; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/tagmanager/index.ts b/src/apis/tagmanager/index.ts index e7bb3464985..e2637d13388 100644 --- a/src/apis/tagmanager/index.ts +++ b/src/apis/tagmanager/index.ts @@ -49,7 +49,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/tagmanager/package.json b/src/apis/tagmanager/package.json index c51101124dd..9f12d00c01f 100644 --- a/src/apis/tagmanager/package.json +++ b/src/apis/tagmanager/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/tagmanager/v1.ts b/src/apis/tagmanager/v1.ts index ca972dda161..3ffeb2f5eaf 100644 --- a/src/apis/tagmanager/v1.ts +++ b/src/apis/tagmanager/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -886,11 +886,11 @@ export namespace tagmanager_v1 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -919,7 +919,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -973,11 +976,11 @@ export namespace tagmanager_v1 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1010,8 +1013,8 @@ export namespace tagmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1065,11 +1068,11 @@ export namespace tagmanager_v1 { update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1098,7 +1101,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1203,11 +1209,11 @@ export namespace tagmanager_v1 { create( params: Params$Resource$Accounts$Containers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1236,7 +1242,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1290,11 +1299,11 @@ export namespace tagmanager_v1 { delete( params: Params$Resource$Accounts$Containers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1321,7 +1330,10 @@ export namespace tagmanager_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1376,11 +1388,11 @@ export namespace tagmanager_v1 { get( params: Params$Resource$Accounts$Containers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1409,7 +1421,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1464,11 +1479,11 @@ export namespace tagmanager_v1 { list( params: Params$Resource$Accounts$Containers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1501,8 +1516,8 @@ export namespace tagmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1556,11 +1571,11 @@ export namespace tagmanager_v1 { update( params: Params$Resource$Accounts$Containers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1589,7 +1604,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1713,11 +1731,11 @@ export namespace tagmanager_v1 { create( params: Params$Resource$Accounts$Containers$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1746,7 +1764,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1801,11 +1822,11 @@ export namespace tagmanager_v1 { delete( params: Params$Resource$Accounts$Containers$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1832,7 +1853,10 @@ export namespace tagmanager_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1887,11 +1911,11 @@ export namespace tagmanager_v1 { get( params: Params$Resource$Accounts$Containers$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1920,7 +1944,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1975,11 +2002,11 @@ export namespace tagmanager_v1 { list( params: Params$Resource$Accounts$Containers$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2012,8 +2039,8 @@ export namespace tagmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2068,11 +2095,11 @@ export namespace tagmanager_v1 { update( params: Params$Resource$Accounts$Containers$Environments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Environments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Environments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2101,7 +2128,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Environments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2249,11 +2279,11 @@ export namespace tagmanager_v1 { create( params: Params$Resource$Accounts$Containers$Folders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Folders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Folders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2282,7 +2312,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Folders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2337,11 +2370,11 @@ export namespace tagmanager_v1 { delete( params: Params$Resource$Accounts$Containers$Folders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Folders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Folders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2368,7 +2401,10 @@ export namespace tagmanager_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Folders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2423,11 +2459,11 @@ export namespace tagmanager_v1 { get( params: Params$Resource$Accounts$Containers$Folders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Folders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Folders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2456,7 +2492,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Folders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2511,11 +2550,11 @@ export namespace tagmanager_v1 { list( params: Params$Resource$Accounts$Containers$Folders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Folders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Folders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2546,8 +2585,8 @@ export namespace tagmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Folders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2602,11 +2641,11 @@ export namespace tagmanager_v1 { update( params: Params$Resource$Accounts$Containers$Folders$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Folders$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Folders$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2635,7 +2674,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Folders$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2779,11 +2821,11 @@ export namespace tagmanager_v1 { list( params: Params$Resource$Accounts$Containers$Folders$Entities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Folders$Entities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Folders$Entities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2812,7 +2854,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Folders$Entities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2891,11 +2936,11 @@ export namespace tagmanager_v1 { update( params: Params$Resource$Accounts$Containers$Move_folders$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Move_folders$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Move_folders$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2922,7 +2967,10 @@ export namespace tagmanager_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Move_folders$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3017,11 +3065,11 @@ export namespace tagmanager_v1 { update( params: Params$Resource$Accounts$Containers$Reauthorize_environments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Reauthorize_environments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Reauthorize_environments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3050,7 +3098,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Reauthorize_environments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3134,11 +3185,11 @@ export namespace tagmanager_v1 { create( params: Params$Resource$Accounts$Containers$Tags$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Tags$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Tags$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3167,7 +3218,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Tags$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3222,11 +3276,11 @@ export namespace tagmanager_v1 { delete( params: Params$Resource$Accounts$Containers$Tags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Tags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Tags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3253,7 +3307,10 @@ export namespace tagmanager_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Tags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3308,11 +3365,11 @@ export namespace tagmanager_v1 { get( params: Params$Resource$Accounts$Containers$Tags$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Tags$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Tags$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3341,7 +3398,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Tags$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3396,11 +3456,11 @@ export namespace tagmanager_v1 { list( params: Params$Resource$Accounts$Containers$Tags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Tags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Tags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3429,7 +3489,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Tags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3484,11 +3547,11 @@ export namespace tagmanager_v1 { update( params: Params$Resource$Accounts$Containers$Tags$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Tags$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Tags$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3517,7 +3580,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Tags$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3661,11 +3727,11 @@ export namespace tagmanager_v1 { create( params: Params$Resource$Accounts$Containers$Triggers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Triggers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Triggers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3694,7 +3760,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Triggers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3749,11 +3818,11 @@ export namespace tagmanager_v1 { delete( params: Params$Resource$Accounts$Containers$Triggers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Triggers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Triggers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3780,7 +3849,10 @@ export namespace tagmanager_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Triggers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3835,11 +3907,11 @@ export namespace tagmanager_v1 { get( params: Params$Resource$Accounts$Containers$Triggers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Triggers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Triggers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3868,7 +3940,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Triggers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3923,11 +3998,11 @@ export namespace tagmanager_v1 { list( params: Params$Resource$Accounts$Containers$Triggers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Triggers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Triggers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3960,8 +4035,8 @@ export namespace tagmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Triggers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4016,11 +4091,11 @@ export namespace tagmanager_v1 { update( params: Params$Resource$Accounts$Containers$Triggers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Triggers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Triggers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4049,7 +4124,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Triggers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4193,11 +4271,11 @@ export namespace tagmanager_v1 { create( params: Params$Resource$Accounts$Containers$Variables$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Variables$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Variables$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4226,7 +4304,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Variables$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4281,11 +4362,11 @@ export namespace tagmanager_v1 { delete( params: Params$Resource$Accounts$Containers$Variables$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Variables$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Variables$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4312,7 +4393,10 @@ export namespace tagmanager_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Variables$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4367,11 +4451,11 @@ export namespace tagmanager_v1 { get( params: Params$Resource$Accounts$Containers$Variables$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Variables$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Variables$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4400,7 +4484,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Variables$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4455,11 +4542,11 @@ export namespace tagmanager_v1 { list( params: Params$Resource$Accounts$Containers$Variables$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Variables$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Variables$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4492,8 +4579,8 @@ export namespace tagmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Variables$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4548,11 +4635,11 @@ export namespace tagmanager_v1 { update( params: Params$Resource$Accounts$Containers$Variables$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Variables$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Variables$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4581,7 +4668,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Variables$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4725,11 +4815,11 @@ export namespace tagmanager_v1 { create( params: Params$Resource$Accounts$Containers$Versions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Versions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Versions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4764,8 +4854,8 @@ export namespace tagmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4822,11 +4912,11 @@ export namespace tagmanager_v1 { delete( params: Params$Resource$Accounts$Containers$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4853,7 +4943,10 @@ export namespace tagmanager_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4908,11 +5001,11 @@ export namespace tagmanager_v1 { get( params: Params$Resource$Accounts$Containers$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4941,7 +5034,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4996,11 +5092,11 @@ export namespace tagmanager_v1 { list( params: Params$Resource$Accounts$Containers$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5035,8 +5131,8 @@ export namespace tagmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5093,11 +5189,11 @@ export namespace tagmanager_v1 { publish( params: Params$Resource$Accounts$Containers$Versions$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Accounts$Containers$Versions$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Accounts$Containers$Versions$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -5132,8 +5228,8 @@ export namespace tagmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5190,11 +5286,11 @@ export namespace tagmanager_v1 { restore( params: Params$Resource$Accounts$Containers$Versions$Restore, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; restore( params?: Params$Resource$Accounts$Containers$Versions$Restore, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; restore( params: Params$Resource$Accounts$Containers$Versions$Restore, options: StreamMethodOptions | BodyResponseCallback, @@ -5223,7 +5319,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Restore; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5278,11 +5377,11 @@ export namespace tagmanager_v1 { undelete( params: Params$Resource$Accounts$Containers$Versions$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Accounts$Containers$Versions$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Accounts$Containers$Versions$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -5311,7 +5410,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5366,11 +5468,11 @@ export namespace tagmanager_v1 { update( params: Params$Resource$Accounts$Containers$Versions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Versions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Versions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5399,7 +5501,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5600,11 +5705,11 @@ export namespace tagmanager_v1 { create( params: Params$Resource$Accounts$Permissions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Permissions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Permissions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5633,7 +5738,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Permissions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5687,11 +5795,11 @@ export namespace tagmanager_v1 { delete( params: Params$Resource$Accounts$Permissions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Permissions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Permissions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5718,7 +5826,10 @@ export namespace tagmanager_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Permissions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5773,11 +5884,11 @@ export namespace tagmanager_v1 { get( params: Params$Resource$Accounts$Permissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Permissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Permissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5806,7 +5917,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Permissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5861,11 +5975,11 @@ export namespace tagmanager_v1 { list( params: Params$Resource$Accounts$Permissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Permissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Permissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5898,8 +6012,8 @@ export namespace tagmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Permissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5953,11 +6067,11 @@ export namespace tagmanager_v1 { update( params: Params$Resource$Accounts$Permissions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Permissions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Permissions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5986,7 +6100,10 @@ export namespace tagmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Permissions$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/tagmanager/v2.ts b/src/apis/tagmanager/v2.ts index 154b9ca28b7..a1d396e9789 100644 --- a/src/apis/tagmanager/v2.ts +++ b/src/apis/tagmanager/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1927,11 +1927,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1960,7 +1960,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2014,11 +2017,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2051,8 +2054,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2106,11 +2109,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2139,7 +2142,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2250,11 +2256,11 @@ export namespace tagmanager_v2 { combine( params: Params$Resource$Accounts$Containers$Combine, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; combine( params?: Params$Resource$Accounts$Containers$Combine, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; combine( params: Params$Resource$Accounts$Containers$Combine, options: StreamMethodOptions | BodyResponseCallback, @@ -2283,7 +2289,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Combine; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2338,11 +2347,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2371,7 +2380,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2426,11 +2438,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2457,7 +2469,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2512,11 +2527,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2545,7 +2560,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2600,11 +2618,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2637,8 +2655,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2693,11 +2711,11 @@ export namespace tagmanager_v2 { lookup( params: Params$Resource$Accounts$Containers$Lookup, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params?: Params$Resource$Accounts$Containers$Lookup, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; lookup( params: Params$Resource$Accounts$Containers$Lookup, options: StreamMethodOptions | BodyResponseCallback, @@ -2726,7 +2744,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Lookup; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2780,11 +2801,11 @@ export namespace tagmanager_v2 { move_tag_id( params: Params$Resource$Accounts$Containers$Move_tag_id, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move_tag_id( params?: Params$Resource$Accounts$Containers$Move_tag_id, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move_tag_id( params: Params$Resource$Accounts$Containers$Move_tag_id, options: StreamMethodOptions | BodyResponseCallback, @@ -2813,7 +2834,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Move_tag_id; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2868,11 +2892,11 @@ export namespace tagmanager_v2 { snippet( params: Params$Resource$Accounts$Containers$Snippet, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; snippet( params?: Params$Resource$Accounts$Containers$Snippet, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; snippet( params: Params$Resource$Accounts$Containers$Snippet, options: StreamMethodOptions | BodyResponseCallback, @@ -2907,8 +2931,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Snippet; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2963,11 +2987,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2996,7 +3020,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3180,11 +3207,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Destinations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Destinations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Destinations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3213,7 +3240,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Destinations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3268,11 +3298,11 @@ export namespace tagmanager_v2 { link( params: Params$Resource$Accounts$Containers$Destinations$Link, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; link( params?: Params$Resource$Accounts$Containers$Destinations$Link, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; link( params: Params$Resource$Accounts$Containers$Destinations$Link, options: StreamMethodOptions | BodyResponseCallback, @@ -3301,7 +3331,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Destinations$Link; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3355,11 +3388,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Destinations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Destinations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Destinations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3392,8 +3425,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Destinations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3485,11 +3518,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Environments$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Environments$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3518,7 +3551,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Environments$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3573,11 +3609,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Environments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Environments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3604,7 +3640,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Environments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3659,11 +3698,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3692,7 +3731,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3747,11 +3789,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3784,8 +3826,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3840,11 +3882,11 @@ export namespace tagmanager_v2 { reauthorize( params: Params$Resource$Accounts$Containers$Environments$Reauthorize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reauthorize( params?: Params$Resource$Accounts$Containers$Environments$Reauthorize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reauthorize( params: Params$Resource$Accounts$Containers$Environments$Reauthorize, options: StreamMethodOptions | BodyResponseCallback, @@ -3873,7 +3915,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Environments$Reauthorize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3929,11 +3974,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Environments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Environments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Environments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3962,7 +4007,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Environments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4090,11 +4138,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Versions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Versions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4121,7 +4169,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4176,11 +4227,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Versions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Versions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Versions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4209,7 +4260,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4264,11 +4318,11 @@ export namespace tagmanager_v2 { live( params: Params$Resource$Accounts$Containers$Versions$Live, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; live( params?: Params$Resource$Accounts$Containers$Versions$Live, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; live( params: Params$Resource$Accounts$Containers$Versions$Live, options: StreamMethodOptions | BodyResponseCallback, @@ -4297,7 +4351,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Live; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4352,11 +4409,11 @@ export namespace tagmanager_v2 { publish( params: Params$Resource$Accounts$Containers$Versions$Publish, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publish( params?: Params$Resource$Accounts$Containers$Versions$Publish, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publish( params: Params$Resource$Accounts$Containers$Versions$Publish, options: StreamMethodOptions | BodyResponseCallback, @@ -4391,8 +4448,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Publish; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4449,11 +4506,11 @@ export namespace tagmanager_v2 { set_latest( params: Params$Resource$Accounts$Containers$Versions$Set_latest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; set_latest( params?: Params$Resource$Accounts$Containers$Versions$Set_latest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; set_latest( params: Params$Resource$Accounts$Containers$Versions$Set_latest, options: StreamMethodOptions | BodyResponseCallback, @@ -4482,7 +4539,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Set_latest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4537,11 +4597,11 @@ export namespace tagmanager_v2 { undelete( params: Params$Resource$Accounts$Containers$Versions$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Accounts$Containers$Versions$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Accounts$Containers$Versions$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -4570,7 +4630,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4625,11 +4688,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Versions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Versions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Versions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4658,7 +4721,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Versions$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4787,11 +4853,11 @@ export namespace tagmanager_v2 { latest( params: Params$Resource$Accounts$Containers$Version_headers$Latest, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; latest( params?: Params$Resource$Accounts$Containers$Version_headers$Latest, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; latest( params: Params$Resource$Accounts$Containers$Version_headers$Latest, options: StreamMethodOptions | BodyResponseCallback, @@ -4824,8 +4890,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Version_headers$Latest; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4880,11 +4946,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Version_headers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Version_headers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Version_headers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4919,8 +4985,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Version_headers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5048,11 +5114,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Workspaces$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Workspaces$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Workspaces$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5081,7 +5147,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5136,11 +5205,11 @@ export namespace tagmanager_v2 { create_version( params: Params$Resource$Accounts$Containers$Workspaces$Create_version, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create_version( params?: Params$Resource$Accounts$Containers$Workspaces$Create_version, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create_version( params: Params$Resource$Accounts$Containers$Workspaces$Create_version, options: StreamMethodOptions | BodyResponseCallback, @@ -5175,8 +5244,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Create_version; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5234,11 +5303,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Workspaces$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Workspaces$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Workspaces$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5265,7 +5334,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5320,11 +5392,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Workspaces$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Workspaces$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Workspaces$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5353,7 +5425,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5408,11 +5483,11 @@ export namespace tagmanager_v2 { getStatus( params: Params$Resource$Accounts$Containers$Workspaces$Getstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getStatus( params?: Params$Resource$Accounts$Containers$Workspaces$Getstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getStatus( params: Params$Resource$Accounts$Containers$Workspaces$Getstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -5447,8 +5522,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Getstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5503,11 +5578,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Workspaces$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Workspaces$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Workspaces$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5540,8 +5615,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5596,11 +5671,11 @@ export namespace tagmanager_v2 { quick_preview( params: Params$Resource$Accounts$Containers$Workspaces$Quick_preview, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; quick_preview( params?: Params$Resource$Accounts$Containers$Workspaces$Quick_preview, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; quick_preview( params: Params$Resource$Accounts$Containers$Workspaces$Quick_preview, options: StreamMethodOptions | BodyResponseCallback, @@ -5635,8 +5710,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Quick_preview; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5692,11 +5767,11 @@ export namespace tagmanager_v2 { resolve_conflict( params: Params$Resource$Accounts$Containers$Workspaces$Resolve_conflict, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resolve_conflict( params?: Params$Resource$Accounts$Containers$Workspaces$Resolve_conflict, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resolve_conflict( params: Params$Resource$Accounts$Containers$Workspaces$Resolve_conflict, options: StreamMethodOptions | BodyResponseCallback, @@ -5723,7 +5798,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Resolve_conflict; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5779,11 +5857,11 @@ export namespace tagmanager_v2 { sync( params: Params$Resource$Accounts$Containers$Workspaces$Sync, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; sync( params?: Params$Resource$Accounts$Containers$Workspaces$Sync, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; sync( params: Params$Resource$Accounts$Containers$Workspaces$Sync, options: StreamMethodOptions | BodyResponseCallback, @@ -5816,8 +5894,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Sync; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5872,11 +5950,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Workspaces$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Workspaces$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Workspaces$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5905,7 +5983,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6070,11 +6151,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6109,8 +6190,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6167,11 +6248,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6198,7 +6279,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6254,11 +6338,13 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6293,8 +6379,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6351,11 +6439,11 @@ export namespace tagmanager_v2 { revert( params: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -6390,8 +6478,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Built_in_variables$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6500,11 +6588,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Workspaces$Clients$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Workspaces$Clients$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Workspaces$Clients$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6533,7 +6621,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Clients$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6589,11 +6680,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Workspaces$Clients$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Workspaces$Clients$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Workspaces$Clients$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6620,7 +6711,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Clients$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6676,11 +6770,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Workspaces$Clients$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Workspaces$Clients$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Workspaces$Clients$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6709,7 +6803,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Clients$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6765,11 +6862,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Workspaces$Clients$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Workspaces$Clients$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Workspaces$Clients$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6800,8 +6897,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Clients$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6857,11 +6954,11 @@ export namespace tagmanager_v2 { revert( params: Params$Resource$Accounts$Containers$Workspaces$Clients$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Accounts$Containers$Workspaces$Clients$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Accounts$Containers$Workspaces$Clients$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -6894,8 +6991,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Clients$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6951,11 +7048,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Workspaces$Clients$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Workspaces$Clients$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Workspaces$Clients$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6984,7 +7081,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Clients$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7112,11 +7212,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Workspaces$Folders$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7145,7 +7245,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Folders$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7201,11 +7304,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Workspaces$Folders$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7232,7 +7335,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Folders$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7288,11 +7394,11 @@ export namespace tagmanager_v2 { entities( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Entities, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; entities( params?: Params$Resource$Accounts$Containers$Workspaces$Folders$Entities, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; entities( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Entities, options: StreamMethodOptions | BodyResponseCallback, @@ -7321,7 +7427,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Folders$Entities; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7377,11 +7486,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Workspaces$Folders$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7410,7 +7519,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Folders$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7466,11 +7578,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Workspaces$Folders$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Workspaces$Folders$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Workspaces$Folders$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7501,8 +7613,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Folders$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7558,11 +7670,11 @@ export namespace tagmanager_v2 { move_entities_to_folder( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Move_entities_to_folder, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move_entities_to_folder( params?: Params$Resource$Accounts$Containers$Workspaces$Folders$Move_entities_to_folder, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move_entities_to_folder( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Move_entities_to_folder, options: StreamMethodOptions | BodyResponseCallback, @@ -7589,7 +7701,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Folders$Move_entities_to_folder; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7644,11 +7759,11 @@ export namespace tagmanager_v2 { revert( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Accounts$Containers$Workspaces$Folders$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -7681,8 +7796,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Folders$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7738,11 +7853,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Workspaces$Folders$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Workspaces$Folders$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7771,7 +7886,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Folders$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7934,11 +8052,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7967,7 +8085,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8023,11 +8144,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8054,7 +8175,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8110,11 +8234,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8143,7 +8267,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8199,11 +8326,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8236,8 +8363,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Gtag_config$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8293,11 +8420,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8326,7 +8453,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Gtag_config$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8443,11 +8573,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Workspaces$Tags$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Workspaces$Tags$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Workspaces$Tags$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8476,7 +8606,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Tags$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8532,11 +8665,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Workspaces$Tags$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Workspaces$Tags$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Workspaces$Tags$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8563,7 +8696,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Tags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8619,11 +8755,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Workspaces$Tags$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Workspaces$Tags$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Workspaces$Tags$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8652,7 +8788,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Tags$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8707,11 +8846,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Workspaces$Tags$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Workspaces$Tags$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Workspaces$Tags$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8740,7 +8879,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Tags$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8795,11 +8937,11 @@ export namespace tagmanager_v2 { revert( params: Params$Resource$Accounts$Containers$Workspaces$Tags$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Accounts$Containers$Workspaces$Tags$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Accounts$Containers$Workspaces$Tags$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -8830,8 +8972,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Tags$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8887,11 +9029,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Workspaces$Tags$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Workspaces$Tags$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Workspaces$Tags$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8920,7 +9062,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Tags$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9048,11 +9193,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Workspaces$Templates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9081,7 +9226,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Templates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9137,11 +9285,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Workspaces$Templates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9168,7 +9316,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Templates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9224,11 +9375,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Workspaces$Templates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9257,7 +9408,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Templates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9313,11 +9467,11 @@ export namespace tagmanager_v2 { import_from_gallery( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Import_from_gallery, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import_from_gallery( params?: Params$Resource$Accounts$Containers$Workspaces$Templates$Import_from_gallery, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import_from_gallery( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Import_from_gallery, options: StreamMethodOptions | BodyResponseCallback, @@ -9348,7 +9502,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Templates$Import_from_gallery; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9403,11 +9560,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Workspaces$Templates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Workspaces$Templates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Workspaces$Templates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9440,8 +9597,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Templates$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9497,11 +9654,11 @@ export namespace tagmanager_v2 { revert( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Accounts$Containers$Workspaces$Templates$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -9534,8 +9691,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Templates$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9591,11 +9748,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Workspaces$Templates$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Workspaces$Templates$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9624,7 +9781,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Templates$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9775,11 +9935,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Workspaces$Transformations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9808,7 +9968,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Transformations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9864,11 +10027,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Workspaces$Transformations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9895,7 +10058,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Transformations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9951,11 +10117,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Workspaces$Transformations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9984,7 +10150,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Transformations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10040,11 +10209,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Workspaces$Transformations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10079,8 +10248,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Transformations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10136,11 +10305,11 @@ export namespace tagmanager_v2 { revert( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Accounts$Containers$Workspaces$Transformations$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -10175,8 +10344,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Transformations$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10234,11 +10403,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Workspaces$Transformations$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Workspaces$Transformations$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10267,7 +10436,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Transformations$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10395,11 +10567,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Workspaces$Triggers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10428,7 +10600,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Triggers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10484,11 +10659,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Workspaces$Triggers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10515,7 +10690,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Triggers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10571,11 +10749,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Workspaces$Triggers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10604,7 +10782,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Triggers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10660,11 +10841,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Workspaces$Triggers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10697,8 +10878,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Triggers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10754,11 +10935,11 @@ export namespace tagmanager_v2 { revert( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Accounts$Containers$Workspaces$Triggers$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -10791,8 +10972,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Triggers$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10848,11 +11029,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Workspaces$Triggers$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Workspaces$Triggers$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10881,7 +11062,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Triggers$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11009,11 +11193,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Workspaces$Variables$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Workspaces$Variables$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Workspaces$Variables$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11042,7 +11226,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Variables$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11098,11 +11285,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Workspaces$Variables$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Workspaces$Variables$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Workspaces$Variables$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11129,7 +11316,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Variables$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11185,11 +11375,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Workspaces$Variables$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Workspaces$Variables$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Workspaces$Variables$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11218,7 +11408,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Variables$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11274,11 +11467,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Workspaces$Variables$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Workspaces$Variables$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Workspaces$Variables$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11311,8 +11504,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Variables$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11368,11 +11561,11 @@ export namespace tagmanager_v2 { revert( params: Params$Resource$Accounts$Containers$Workspaces$Variables$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Accounts$Containers$Workspaces$Variables$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Accounts$Containers$Workspaces$Variables$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -11405,8 +11598,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Variables$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11462,11 +11655,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Workspaces$Variables$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Workspaces$Variables$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Workspaces$Variables$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11495,7 +11688,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Variables$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11623,11 +11819,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$Containers$Workspaces$Zones$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$Containers$Workspaces$Zones$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$Containers$Workspaces$Zones$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11656,7 +11852,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Zones$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11712,11 +11911,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$Containers$Workspaces$Zones$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$Containers$Workspaces$Zones$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$Containers$Workspaces$Zones$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11743,7 +11942,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Zones$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11799,11 +12001,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$Containers$Workspaces$Zones$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$Containers$Workspaces$Zones$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$Containers$Workspaces$Zones$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11832,7 +12034,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Zones$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11887,11 +12092,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$Containers$Workspaces$Zones$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$Containers$Workspaces$Zones$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$Containers$Workspaces$Zones$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11922,8 +12127,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Zones$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11979,11 +12184,11 @@ export namespace tagmanager_v2 { revert( params: Params$Resource$Accounts$Containers$Workspaces$Zones$Revert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revert( params?: Params$Resource$Accounts$Containers$Workspaces$Zones$Revert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revert( params: Params$Resource$Accounts$Containers$Workspaces$Zones$Revert, options: StreamMethodOptions | BodyResponseCallback, @@ -12014,8 +12219,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Zones$Revert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12071,11 +12276,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$Containers$Workspaces$Zones$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$Containers$Workspaces$Zones$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$Containers$Workspaces$Zones$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12104,7 +12309,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Containers$Workspaces$Zones$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12232,11 +12440,11 @@ export namespace tagmanager_v2 { create( params: Params$Resource$Accounts$User_permissions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Accounts$User_permissions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Accounts$User_permissions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -12265,7 +12473,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$User_permissions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12319,11 +12530,11 @@ export namespace tagmanager_v2 { delete( params: Params$Resource$Accounts$User_permissions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Accounts$User_permissions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Accounts$User_permissions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12350,7 +12561,10 @@ export namespace tagmanager_v2 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$User_permissions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12405,11 +12619,11 @@ export namespace tagmanager_v2 { get( params: Params$Resource$Accounts$User_permissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Accounts$User_permissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Accounts$User_permissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12438,7 +12652,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$User_permissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12493,11 +12710,11 @@ export namespace tagmanager_v2 { list( params: Params$Resource$Accounts$User_permissions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Accounts$User_permissions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Accounts$User_permissions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12532,8 +12749,8 @@ export namespace tagmanager_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$User_permissions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12587,11 +12804,11 @@ export namespace tagmanager_v2 { update( params: Params$Resource$Accounts$User_permissions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Accounts$User_permissions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Accounts$User_permissions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12620,7 +12837,10 @@ export namespace tagmanager_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Accounts$User_permissions$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/tasks/index.ts b/src/apis/tasks/index.ts index ec1ea624149..e14552b7571 100644 --- a/src/apis/tasks/index.ts +++ b/src/apis/tasks/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/tasks/package.json b/src/apis/tasks/package.json index 7cbe8ac888f..634282186e7 100644 --- a/src/apis/tasks/package.json +++ b/src/apis/tasks/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/tasks/v1.ts b/src/apis/tasks/v1.ts index f0368f0e020..bef6ee9f270 100644 --- a/src/apis/tasks/v1.ts +++ b/src/apis/tasks/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -319,11 +319,11 @@ export namespace tasks_v1 { delete( params: Params$Resource$Tasklists$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Tasklists$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Tasklists$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -350,7 +350,10 @@ export namespace tasks_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasklists$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -404,11 +407,11 @@ export namespace tasks_v1 { get( params: Params$Resource$Tasklists$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Tasklists$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Tasklists$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -437,7 +440,10 @@ export namespace tasks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasklists$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -491,11 +497,11 @@ export namespace tasks_v1 { insert( params: Params$Resource$Tasklists$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Tasklists$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Tasklists$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -524,7 +530,10 @@ export namespace tasks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasklists$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -578,11 +587,11 @@ export namespace tasks_v1 { list( params: Params$Resource$Tasklists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tasklists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tasklists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -611,7 +620,10 @@ export namespace tasks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasklists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -665,11 +677,11 @@ export namespace tasks_v1 { patch( params: Params$Resource$Tasklists$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Tasklists$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Tasklists$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -698,7 +710,10 @@ export namespace tasks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasklists$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -752,11 +767,11 @@ export namespace tasks_v1 { update( params: Params$Resource$Tasklists$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Tasklists$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Tasklists$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -785,7 +800,10 @@ export namespace tasks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasklists$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -897,11 +915,11 @@ export namespace tasks_v1 { clear( params: Params$Resource$Tasks$Clear, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; clear( params?: Params$Resource$Tasks$Clear, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; clear( params: Params$Resource$Tasks$Clear, options: StreamMethodOptions | BodyResponseCallback, @@ -928,7 +946,10 @@ export namespace tasks_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasks$Clear; let options = (optionsOrCallback || {}) as MethodOptions; @@ -982,11 +1003,11 @@ export namespace tasks_v1 { delete( params: Params$Resource$Tasks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Tasks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Tasks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1013,7 +1034,10 @@ export namespace tasks_v1 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1067,11 +1091,11 @@ export namespace tasks_v1 { get( params: Params$Resource$Tasks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Tasks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Tasks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1100,7 +1124,10 @@ export namespace tasks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1154,11 +1181,11 @@ export namespace tasks_v1 { insert( params: Params$Resource$Tasks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Tasks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Tasks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -1187,7 +1214,10 @@ export namespace tasks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1241,11 +1271,11 @@ export namespace tasks_v1 { list( params: Params$Resource$Tasks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Tasks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Tasks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1274,7 +1304,10 @@ export namespace tasks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1328,11 +1361,11 @@ export namespace tasks_v1 { move( params: Params$Resource$Tasks$Move, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; move( params?: Params$Resource$Tasks$Move, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; move( params: Params$Resource$Tasks$Move, options: StreamMethodOptions | BodyResponseCallback, @@ -1361,7 +1394,10 @@ export namespace tasks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasks$Move; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1414,11 +1450,11 @@ export namespace tasks_v1 { patch( params: Params$Resource$Tasks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Tasks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Tasks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1447,7 +1483,10 @@ export namespace tasks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1501,11 +1540,11 @@ export namespace tasks_v1 { update( params: Params$Resource$Tasks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Tasks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Tasks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -1534,7 +1573,10 @@ export namespace tasks_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tasks$Update; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/testing/index.ts b/src/apis/testing/index.ts index 2a678683ac2..bd3445b3304 100644 --- a/src/apis/testing/index.ts +++ b/src/apis/testing/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/testing/package.json b/src/apis/testing/package.json index 8fc5a2324b2..dfbd9f1647b 100644 --- a/src/apis/testing/package.json +++ b/src/apis/testing/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/testing/v1.ts b/src/apis/testing/v1.ts index 379c9910fae..9dbffb77f86 100644 --- a/src/apis/testing/v1.ts +++ b/src/apis/testing/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1755,11 +1755,11 @@ export namespace testing_v1 { getApkDetails( params: Params$Resource$Applicationdetailservice$Getapkdetails, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getApkDetails( params?: Params$Resource$Applicationdetailservice$Getapkdetails, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getApkDetails( params: Params$Resource$Applicationdetailservice$Getapkdetails, options: StreamMethodOptions | BodyResponseCallback, @@ -1794,8 +1794,8 @@ export namespace testing_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Applicationdetailservice$Getapkdetails; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1880,11 +1880,11 @@ export namespace testing_v1 { cancel( params: Params$Resource$Projects$Devicesessions$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Devicesessions$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Devicesessions$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1913,7 +1913,10 @@ export namespace testing_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Devicesessions$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1965,11 +1968,11 @@ export namespace testing_v1 { create( params: Params$Resource$Projects$Devicesessions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Devicesessions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Devicesessions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1998,7 +2001,10 @@ export namespace testing_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Devicesessions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2053,11 +2059,11 @@ export namespace testing_v1 { get( params: Params$Resource$Projects$Devicesessions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Devicesessions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Devicesessions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2086,7 +2092,10 @@ export namespace testing_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Devicesessions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2138,11 +2147,11 @@ export namespace testing_v1 { list( params: Params$Resource$Projects$Devicesessions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Devicesessions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Devicesessions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2177,8 +2186,8 @@ export namespace testing_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Devicesessions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2233,11 +2242,11 @@ export namespace testing_v1 { patch( params: Params$Resource$Projects$Devicesessions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Devicesessions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Devicesessions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2266,7 +2275,10 @@ export namespace testing_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Devicesessions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2392,11 +2404,11 @@ export namespace testing_v1 { cancel( params: Params$Resource$Projects$Testmatrices$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Testmatrices$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Testmatrices$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2431,8 +2443,8 @@ export namespace testing_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Testmatrices$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2487,11 +2499,11 @@ export namespace testing_v1 { create( params: Params$Resource$Projects$Testmatrices$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Testmatrices$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Testmatrices$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2520,7 +2532,10 @@ export namespace testing_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Testmatrices$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2575,11 +2590,11 @@ export namespace testing_v1 { get( params: Params$Resource$Projects$Testmatrices$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Testmatrices$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Testmatrices$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2608,7 +2623,10 @@ export namespace testing_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Testmatrices$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2708,11 +2726,11 @@ export namespace testing_v1 { get( params: Params$Resource$Testenvironmentcatalog$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Testenvironmentcatalog$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Testenvironmentcatalog$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2745,8 +2763,8 @@ export namespace testing_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Testenvironmentcatalog$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/texttospeech/index.ts b/src/apis/texttospeech/index.ts index f8c91dbb8ac..3c3ebdc407c 100644 --- a/src/apis/texttospeech/index.ts +++ b/src/apis/texttospeech/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/texttospeech/package.json b/src/apis/texttospeech/package.json index e849af8b8e4..722f682c1e6 100644 --- a/src/apis/texttospeech/package.json +++ b/src/apis/texttospeech/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/texttospeech/v1.ts b/src/apis/texttospeech/v1.ts index dd03a26ec84..3e6edb0b0e5 100644 --- a/src/apis/texttospeech/v1.ts +++ b/src/apis/texttospeech/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -313,6 +313,10 @@ export namespace texttospeech_v1 { * Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag. */ customPronunciations?: Schema$CustomPronunciations; + /** + * Markup for HD voices specifically. This field may not be used with any other voices. + */ + markup?: string | null; /** * The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis. */ @@ -480,11 +484,11 @@ export namespace texttospeech_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -513,7 +517,10 @@ export namespace texttospeech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -565,11 +572,11 @@ export namespace texttospeech_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -598,7 +605,10 @@ export namespace texttospeech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -690,11 +700,11 @@ export namespace texttospeech_v1 { synthesizeLongAudio( params: Params$Resource$Projects$Locations$Synthesizelongaudio, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; synthesizeLongAudio( params?: Params$Resource$Projects$Locations$Synthesizelongaudio, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; synthesizeLongAudio( params: Params$Resource$Projects$Locations$Synthesizelongaudio, options: StreamMethodOptions | BodyResponseCallback, @@ -723,7 +733,10 @@ export namespace texttospeech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Synthesizelongaudio; let options = (optionsOrCallback || {}) as MethodOptions; @@ -798,11 +811,11 @@ export namespace texttospeech_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -831,7 +844,10 @@ export namespace texttospeech_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -883,11 +899,11 @@ export namespace texttospeech_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -920,8 +936,8 @@ export namespace texttospeech_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1010,11 +1026,11 @@ export namespace texttospeech_v1 { synthesize( params: Params$Resource$Text$Synthesize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; synthesize( params?: Params$Resource$Text$Synthesize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; synthesize( params: Params$Resource$Text$Synthesize, options: StreamMethodOptions | BodyResponseCallback, @@ -1049,8 +1065,8 @@ export namespace texttospeech_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Text$Synthesize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1118,11 +1134,11 @@ export namespace texttospeech_v1 { list( params: Params$Resource$Voices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Voices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Voices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1153,8 +1169,8 @@ export namespace texttospeech_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Voices$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/texttospeech/v1beta1.ts b/src/apis/texttospeech/v1beta1.ts index 75037d6de3b..512bff4a79e 100644 --- a/src/apis/texttospeech/v1beta1.ts +++ b/src/apis/texttospeech/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -303,6 +303,10 @@ export namespace texttospeech_v1beta1 { * Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag. */ customPronunciations?: Schema$CustomPronunciations; + /** + * Markup for HD voices specifically. This field may not be used with any other voices. + */ + markup?: string | null; /** * The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis. */ @@ -508,11 +512,11 @@ export namespace texttospeech_v1beta1 { synthesizeLongAudio( params: Params$Resource$Projects$Locations$Synthesizelongaudio, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; synthesizeLongAudio( params?: Params$Resource$Projects$Locations$Synthesizelongaudio, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; synthesizeLongAudio( params: Params$Resource$Projects$Locations$Synthesizelongaudio, options: StreamMethodOptions | BodyResponseCallback, @@ -541,7 +545,10 @@ export namespace texttospeech_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Synthesizelongaudio; let options = (optionsOrCallback || {}) as MethodOptions; @@ -616,11 +623,11 @@ export namespace texttospeech_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -649,7 +656,10 @@ export namespace texttospeech_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -701,11 +711,11 @@ export namespace texttospeech_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -738,8 +748,8 @@ export namespace texttospeech_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -828,11 +838,11 @@ export namespace texttospeech_v1beta1 { synthesize( params: Params$Resource$Text$Synthesize, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; synthesize( params?: Params$Resource$Text$Synthesize, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; synthesize( params: Params$Resource$Text$Synthesize, options: StreamMethodOptions | BodyResponseCallback, @@ -867,8 +877,8 @@ export namespace texttospeech_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Text$Synthesize; let options = (optionsOrCallback || {}) as MethodOptions; @@ -936,11 +946,11 @@ export namespace texttospeech_v1beta1 { list( params: Params$Resource$Voices$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Voices$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Voices$List, options: StreamMethodOptions | BodyResponseCallback, @@ -971,8 +981,8 @@ export namespace texttospeech_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Voices$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/toolresults/index.ts b/src/apis/toolresults/index.ts index a9a97a9231d..39221ac937f 100644 --- a/src/apis/toolresults/index.ts +++ b/src/apis/toolresults/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/toolresults/package.json b/src/apis/toolresults/package.json index a422544b321..96c1a56b3de 100644 --- a/src/apis/toolresults/package.json +++ b/src/apis/toolresults/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/toolresults/v1beta3.ts b/src/apis/toolresults/v1beta3.ts index 02a2120c053..b06131648d7 100644 --- a/src/apis/toolresults/v1beta3.ts +++ b/src/apis/toolresults/v1beta3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1803,11 +1803,11 @@ export namespace toolresults_v1beta3 { getSettings( params: Params$Resource$Projects$Getsettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params?: Params$Resource$Projects$Getsettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSettings( params: Params$Resource$Projects$Getsettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1836,7 +1836,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getsettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1890,11 +1893,11 @@ export namespace toolresults_v1beta3 { initializeSettings( params: Params$Resource$Projects$Initializesettings, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; initializeSettings( params?: Params$Resource$Projects$Initializesettings, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; initializeSettings( params: Params$Resource$Projects$Initializesettings, options: StreamMethodOptions | BodyResponseCallback, @@ -1925,7 +1928,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Initializesettings; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2006,11 +2012,11 @@ export namespace toolresults_v1beta3 { create( params: Params$Resource$Projects$Histories$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Histories$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Histories$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2039,7 +2045,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2093,11 +2102,11 @@ export namespace toolresults_v1beta3 { get( params: Params$Resource$Projects$Histories$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Histories$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Histories$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2126,7 +2135,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2181,11 +2193,11 @@ export namespace toolresults_v1beta3 { list( params: Params$Resource$Projects$Histories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Histories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Histories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2218,8 +2230,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2338,11 +2350,11 @@ export namespace toolresults_v1beta3 { create( params: Params$Resource$Projects$Histories$Executions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Histories$Executions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Histories$Executions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2371,7 +2383,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2426,11 +2441,11 @@ export namespace toolresults_v1beta3 { get( params: Params$Resource$Projects$Histories$Executions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Histories$Executions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Histories$Executions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2459,7 +2474,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2514,11 +2532,11 @@ export namespace toolresults_v1beta3 { list( params: Params$Resource$Projects$Histories$Executions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Histories$Executions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Histories$Executions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2551,8 +2569,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2607,11 +2625,11 @@ export namespace toolresults_v1beta3 { patch( params: Params$Resource$Projects$Histories$Executions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Histories$Executions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Histories$Executions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2640,7 +2658,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2781,11 +2802,11 @@ export namespace toolresults_v1beta3 { get( params: Params$Resource$Projects$Histories$Executions$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Histories$Executions$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Histories$Executions$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2816,8 +2837,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2873,11 +2894,11 @@ export namespace toolresults_v1beta3 { list( params: Params$Resource$Projects$Histories$Executions$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Histories$Executions$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Histories$Executions$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2912,8 +2933,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3013,11 +3034,11 @@ export namespace toolresults_v1beta3 { get( params: Params$Resource$Projects$Histories$Executions$Environments$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Histories$Executions$Environments$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Histories$Executions$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3046,7 +3067,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Environments$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3107,11 +3131,11 @@ export namespace toolresults_v1beta3 { list( params: Params$Resource$Projects$Histories$Executions$Environments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Histories$Executions$Environments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Histories$Executions$Environments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3144,8 +3168,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Environments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3271,11 +3295,13 @@ export namespace toolresults_v1beta3 { accessibilityClusters( params: Params$Resource$Projects$Histories$Executions$Steps$Accessibilityclusters, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; accessibilityClusters( params?: Params$Resource$Projects$Histories$Executions$Steps$Accessibilityclusters, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; accessibilityClusters( params: Params$Resource$Projects$Histories$Executions$Steps$Accessibilityclusters, options: StreamMethodOptions | BodyResponseCallback, @@ -3310,8 +3336,10 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Accessibilityclusters; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3368,11 +3396,11 @@ export namespace toolresults_v1beta3 { create( params: Params$Resource$Projects$Histories$Executions$Steps$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Histories$Executions$Steps$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Histories$Executions$Steps$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3401,7 +3429,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3457,11 +3488,11 @@ export namespace toolresults_v1beta3 { get( params: Params$Resource$Projects$Histories$Executions$Steps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Histories$Executions$Steps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Histories$Executions$Steps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3490,7 +3521,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3545,11 +3579,11 @@ export namespace toolresults_v1beta3 { getPerfMetricsSummary( params: Params$Resource$Projects$Histories$Executions$Steps$Getperfmetricssummary, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getPerfMetricsSummary( params?: Params$Resource$Projects$Histories$Executions$Steps$Getperfmetricssummary, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getPerfMetricsSummary( params: Params$Resource$Projects$Histories$Executions$Steps$Getperfmetricssummary, options: StreamMethodOptions | BodyResponseCallback, @@ -3582,8 +3616,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Getperfmetricssummary; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3639,11 +3673,11 @@ export namespace toolresults_v1beta3 { list( params: Params$Resource$Projects$Histories$Executions$Steps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Histories$Executions$Steps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Histories$Executions$Steps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3674,8 +3708,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3730,11 +3764,11 @@ export namespace toolresults_v1beta3 { patch( params: Params$Resource$Projects$Histories$Executions$Steps$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Histories$Executions$Steps$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Histories$Executions$Steps$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3763,7 +3797,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3819,11 +3856,11 @@ export namespace toolresults_v1beta3 { publishXunitXmlFiles( params: Params$Resource$Projects$Histories$Executions$Steps$Publishxunitxmlfiles, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; publishXunitXmlFiles( params?: Params$Resource$Projects$Histories$Executions$Steps$Publishxunitxmlfiles, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; publishXunitXmlFiles( params: Params$Resource$Projects$Histories$Executions$Steps$Publishxunitxmlfiles, options: StreamMethodOptions | BodyResponseCallback, @@ -3852,7 +3889,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Publishxunitxmlfiles; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4064,11 +4104,11 @@ export namespace toolresults_v1beta3 { create( params: Params$Resource$Projects$Histories$Executions$Steps$Perfmetricssummary$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Histories$Executions$Steps$Perfmetricssummary$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Histories$Executions$Steps$Perfmetricssummary$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4099,8 +4139,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Perfmetricssummary$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4193,11 +4233,11 @@ export namespace toolresults_v1beta3 { create( params: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4226,7 +4266,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4282,11 +4325,11 @@ export namespace toolresults_v1beta3 { get( params: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4315,7 +4358,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4383,11 +4429,11 @@ export namespace toolresults_v1beta3 { list( params: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4422,8 +4468,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4559,11 +4605,11 @@ export namespace toolresults_v1beta3 { batchCreate( params: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples$Batchcreate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params?: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples$Batchcreate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchCreate( params: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, @@ -4598,8 +4644,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples$Batchcreate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4669,11 +4715,11 @@ export namespace toolresults_v1beta3 { list( params: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4706,8 +4752,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4842,11 +4888,11 @@ export namespace toolresults_v1beta3 { get( params: Params$Resource$Projects$Histories$Executions$Steps$Testcases$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Histories$Executions$Steps$Testcases$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Histories$Executions$Steps$Testcases$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4875,7 +4921,10 @@ export namespace toolresults_v1beta3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Testcases$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4943,11 +4992,11 @@ export namespace toolresults_v1beta3 { list( params: Params$Resource$Projects$Histories$Executions$Steps$Testcases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Histories$Executions$Steps$Testcases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Histories$Executions$Steps$Testcases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4980,8 +5029,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Testcases$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5095,11 +5144,11 @@ export namespace toolresults_v1beta3 { list( params: Params$Resource$Projects$Histories$Executions$Steps$Thumbnails$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Histories$Executions$Steps$Thumbnails$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Histories$Executions$Steps$Thumbnails$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5134,8 +5183,8 @@ export namespace toolresults_v1beta3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Histories$Executions$Steps$Thumbnails$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/tpu/index.ts b/src/apis/tpu/index.ts index defdddc22e2..354b00725f2 100644 --- a/src/apis/tpu/index.ts +++ b/src/apis/tpu/index.ts @@ -63,7 +63,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/tpu/package.json b/src/apis/tpu/package.json index 8b1dc1bca2e..1d65d36255e 100644 --- a/src/apis/tpu/package.json +++ b/src/apis/tpu/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/tpu/v1.ts b/src/apis/tpu/v1.ts index dea3d2caeba..d57ca831d12 100644 --- a/src/apis/tpu/v1.ts +++ b/src/apis/tpu/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -516,11 +516,11 @@ export namespace tpu_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -549,7 +549,10 @@ export namespace tpu_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -601,11 +604,11 @@ export namespace tpu_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -638,8 +641,8 @@ export namespace tpu_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -732,11 +735,11 @@ export namespace tpu_v1 { get( params: Params$Resource$Projects$Locations$Acceleratortypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Acceleratortypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Acceleratortypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -765,7 +768,10 @@ export namespace tpu_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Acceleratortypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -817,11 +823,11 @@ export namespace tpu_v1 { list( params: Params$Resource$Projects$Locations$Acceleratortypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Acceleratortypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Acceleratortypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -856,8 +862,8 @@ export namespace tpu_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Acceleratortypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -952,11 +958,11 @@ export namespace tpu_v1 { create( params: Params$Resource$Projects$Locations$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -985,7 +991,10 @@ export namespace tpu_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1040,11 +1049,11 @@ export namespace tpu_v1 { delete( params: Params$Resource$Projects$Locations$Nodes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Nodes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Nodes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1073,7 +1082,10 @@ export namespace tpu_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1125,11 +1137,11 @@ export namespace tpu_v1 { get( params: Params$Resource$Projects$Locations$Nodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Nodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Nodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1158,7 +1170,10 @@ export namespace tpu_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1210,11 +1225,11 @@ export namespace tpu_v1 { list( params: Params$Resource$Projects$Locations$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1245,8 +1260,8 @@ export namespace tpu_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1301,11 +1316,11 @@ export namespace tpu_v1 { reimage( params: Params$Resource$Projects$Locations$Nodes$Reimage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reimage( params?: Params$Resource$Projects$Locations$Nodes$Reimage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reimage( params: Params$Resource$Projects$Locations$Nodes$Reimage, options: StreamMethodOptions | BodyResponseCallback, @@ -1334,7 +1349,10 @@ export namespace tpu_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Reimage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1389,11 +1407,11 @@ export namespace tpu_v1 { start( params: Params$Resource$Projects$Locations$Nodes$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Nodes$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Nodes$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -1422,7 +1440,10 @@ export namespace tpu_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1474,11 +1495,11 @@ export namespace tpu_v1 { stop( params: Params$Resource$Projects$Locations$Nodes$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Nodes$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Nodes$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -1507,7 +1528,10 @@ export namespace tpu_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1648,11 +1672,11 @@ export namespace tpu_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1681,7 +1705,10 @@ export namespace tpu_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1733,11 +1760,11 @@ export namespace tpu_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1766,7 +1793,10 @@ export namespace tpu_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1818,11 +1848,11 @@ export namespace tpu_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1851,7 +1881,10 @@ export namespace tpu_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1903,11 +1936,11 @@ export namespace tpu_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1940,8 +1973,8 @@ export namespace tpu_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2044,11 +2077,11 @@ export namespace tpu_v1 { get( params: Params$Resource$Projects$Locations$Tensorflowversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorflowversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tensorflowversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2079,8 +2112,8 @@ export namespace tpu_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorflowversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2133,11 +2166,11 @@ export namespace tpu_v1 { list( params: Params$Resource$Projects$Locations$Tensorflowversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorflowversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Tensorflowversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2172,8 +2205,8 @@ export namespace tpu_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorflowversions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/tpu/v1alpha1.ts b/src/apis/tpu/v1alpha1.ts index 5e93dbd7061..7e57694251b 100644 --- a/src/apis/tpu/v1alpha1.ts +++ b/src/apis/tpu/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -516,11 +516,11 @@ export namespace tpu_v1alpha1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -549,7 +549,10 @@ export namespace tpu_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -601,11 +604,11 @@ export namespace tpu_v1alpha1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -638,8 +641,8 @@ export namespace tpu_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -732,11 +735,11 @@ export namespace tpu_v1alpha1 { get( params: Params$Resource$Projects$Locations$Acceleratortypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Acceleratortypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Acceleratortypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -765,7 +768,10 @@ export namespace tpu_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Acceleratortypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -817,11 +823,11 @@ export namespace tpu_v1alpha1 { list( params: Params$Resource$Projects$Locations$Acceleratortypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Acceleratortypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Acceleratortypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -856,8 +862,8 @@ export namespace tpu_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Acceleratortypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -952,11 +958,11 @@ export namespace tpu_v1alpha1 { create( params: Params$Resource$Projects$Locations$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -985,7 +991,10 @@ export namespace tpu_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1040,11 +1049,11 @@ export namespace tpu_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Nodes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Nodes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Nodes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1073,7 +1082,10 @@ export namespace tpu_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1125,11 +1137,11 @@ export namespace tpu_v1alpha1 { get( params: Params$Resource$Projects$Locations$Nodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Nodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Nodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1158,7 +1170,10 @@ export namespace tpu_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1210,11 +1225,11 @@ export namespace tpu_v1alpha1 { list( params: Params$Resource$Projects$Locations$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1245,8 +1260,8 @@ export namespace tpu_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1301,11 +1316,11 @@ export namespace tpu_v1alpha1 { reimage( params: Params$Resource$Projects$Locations$Nodes$Reimage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reimage( params?: Params$Resource$Projects$Locations$Nodes$Reimage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reimage( params: Params$Resource$Projects$Locations$Nodes$Reimage, options: StreamMethodOptions | BodyResponseCallback, @@ -1334,7 +1349,10 @@ export namespace tpu_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Reimage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1389,11 +1407,11 @@ export namespace tpu_v1alpha1 { start( params: Params$Resource$Projects$Locations$Nodes$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Nodes$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Nodes$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -1422,7 +1440,10 @@ export namespace tpu_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1477,11 +1498,11 @@ export namespace tpu_v1alpha1 { stop( params: Params$Resource$Projects$Locations$Nodes$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Nodes$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Nodes$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -1510,7 +1531,10 @@ export namespace tpu_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1662,11 +1686,11 @@ export namespace tpu_v1alpha1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1695,7 +1719,10 @@ export namespace tpu_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1750,11 +1777,11 @@ export namespace tpu_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1783,7 +1810,10 @@ export namespace tpu_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1835,11 +1865,11 @@ export namespace tpu_v1alpha1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1868,7 +1898,10 @@ export namespace tpu_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1920,11 +1953,11 @@ export namespace tpu_v1alpha1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1957,8 +1990,8 @@ export namespace tpu_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2061,11 +2094,11 @@ export namespace tpu_v1alpha1 { get( params: Params$Resource$Projects$Locations$Tensorflowversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Tensorflowversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Tensorflowversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2096,8 +2129,8 @@ export namespace tpu_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorflowversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2150,11 +2183,11 @@ export namespace tpu_v1alpha1 { list( params: Params$Resource$Projects$Locations$Tensorflowversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Tensorflowversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Tensorflowversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2189,8 +2222,8 @@ export namespace tpu_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Tensorflowversions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/tpu/v2.ts b/src/apis/tpu/v2.ts index 1547022f20c..cd1c966b97f 100644 --- a/src/apis/tpu/v2.ts +++ b/src/apis/tpu/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -980,11 +980,11 @@ export namespace tpu_v2 { generateServiceIdentity( params: Params$Resource$Projects$Locations$Generateserviceidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateServiceIdentity( params?: Params$Resource$Projects$Locations$Generateserviceidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateServiceIdentity( params: Params$Resource$Projects$Locations$Generateserviceidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -1019,8 +1019,8 @@ export namespace tpu_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generateserviceidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1078,11 +1078,11 @@ export namespace tpu_v2 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1111,7 +1111,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1163,11 +1166,11 @@ export namespace tpu_v2 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1200,8 +1203,8 @@ export namespace tpu_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1306,11 +1309,11 @@ export namespace tpu_v2 { get( params: Params$Resource$Projects$Locations$Acceleratortypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Acceleratortypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Acceleratortypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1339,7 +1342,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Acceleratortypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1391,11 +1397,11 @@ export namespace tpu_v2 { list( params: Params$Resource$Projects$Locations$Acceleratortypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Acceleratortypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Acceleratortypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1430,8 +1436,8 @@ export namespace tpu_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Acceleratortypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1526,11 +1532,11 @@ export namespace tpu_v2 { create( params: Params$Resource$Projects$Locations$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1559,7 +1565,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1614,11 +1623,11 @@ export namespace tpu_v2 { delete( params: Params$Resource$Projects$Locations$Nodes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Nodes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Nodes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1647,7 +1656,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1699,11 +1711,11 @@ export namespace tpu_v2 { get( params: Params$Resource$Projects$Locations$Nodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Nodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Nodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1732,7 +1744,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1784,11 +1799,11 @@ export namespace tpu_v2 { getGuestAttributes( params: Params$Resource$Projects$Locations$Nodes$Getguestattributes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGuestAttributes( params?: Params$Resource$Projects$Locations$Nodes$Getguestattributes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getGuestAttributes( params: Params$Resource$Projects$Locations$Nodes$Getguestattributes, options: StreamMethodOptions | BodyResponseCallback, @@ -1823,8 +1838,8 @@ export namespace tpu_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Getguestattributes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1880,11 +1895,11 @@ export namespace tpu_v2 { list( params: Params$Resource$Projects$Locations$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1915,8 +1930,8 @@ export namespace tpu_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1971,11 +1986,11 @@ export namespace tpu_v2 { patch( params: Params$Resource$Projects$Locations$Nodes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Nodes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Nodes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2004,7 +2019,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2056,11 +2074,11 @@ export namespace tpu_v2 { start( params: Params$Resource$Projects$Locations$Nodes$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Nodes$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Nodes$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -2089,7 +2107,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2141,11 +2162,11 @@ export namespace tpu_v2 { stop( params: Params$Resource$Projects$Locations$Nodes$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Nodes$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Nodes$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -2174,7 +2195,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2331,11 +2355,11 @@ export namespace tpu_v2 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2364,7 +2388,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2416,11 +2443,11 @@ export namespace tpu_v2 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2449,7 +2476,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2501,11 +2531,11 @@ export namespace tpu_v2 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2534,7 +2564,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2586,11 +2619,11 @@ export namespace tpu_v2 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2623,8 +2656,8 @@ export namespace tpu_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2727,11 +2760,11 @@ export namespace tpu_v2 { create( params: Params$Resource$Projects$Locations$Queuedresources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Queuedresources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Queuedresources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2760,7 +2793,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queuedresources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2816,11 +2852,11 @@ export namespace tpu_v2 { delete( params: Params$Resource$Projects$Locations$Queuedresources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Queuedresources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Queuedresources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2849,7 +2885,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queuedresources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2902,11 +2941,11 @@ export namespace tpu_v2 { get( params: Params$Resource$Projects$Locations$Queuedresources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Queuedresources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Queuedresources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2935,7 +2974,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queuedresources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2987,11 +3029,11 @@ export namespace tpu_v2 { list( params: Params$Resource$Projects$Locations$Queuedresources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Queuedresources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Queuedresources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3026,8 +3068,8 @@ export namespace tpu_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queuedresources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3082,11 +3124,11 @@ export namespace tpu_v2 { reset( params: Params$Resource$Projects$Locations$Queuedresources$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Projects$Locations$Queuedresources$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Projects$Locations$Queuedresources$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -3115,7 +3157,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queuedresources$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3244,11 +3289,11 @@ export namespace tpu_v2 { get( params: Params$Resource$Projects$Locations$Runtimeversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Runtimeversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Runtimeversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3277,7 +3322,10 @@ export namespace tpu_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimeversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3329,11 +3377,11 @@ export namespace tpu_v2 { list( params: Params$Resource$Projects$Locations$Runtimeversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Runtimeversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Runtimeversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3368,8 +3416,8 @@ export namespace tpu_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimeversions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/tpu/v2alpha1.ts b/src/apis/tpu/v2alpha1.ts index ef810857375..0aad570eb81 100644 --- a/src/apis/tpu/v2alpha1.ts +++ b/src/apis/tpu/v2alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1165,11 +1165,11 @@ export namespace tpu_v2alpha1 { generateServiceIdentity( params: Params$Resource$Projects$Locations$Generateserviceidentity, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateServiceIdentity( params?: Params$Resource$Projects$Locations$Generateserviceidentity, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateServiceIdentity( params: Params$Resource$Projects$Locations$Generateserviceidentity, options: StreamMethodOptions | BodyResponseCallback, @@ -1204,8 +1204,8 @@ export namespace tpu_v2alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Generateserviceidentity; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1262,11 +1262,11 @@ export namespace tpu_v2alpha1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1295,7 +1295,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1347,11 +1350,11 @@ export namespace tpu_v2alpha1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1384,8 +1387,8 @@ export namespace tpu_v2alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1490,11 +1493,11 @@ export namespace tpu_v2alpha1 { get( params: Params$Resource$Projects$Locations$Acceleratortypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Acceleratortypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Acceleratortypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1523,7 +1526,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Acceleratortypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1575,11 +1581,11 @@ export namespace tpu_v2alpha1 { list( params: Params$Resource$Projects$Locations$Acceleratortypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Acceleratortypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Acceleratortypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1614,8 +1620,8 @@ export namespace tpu_v2alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Acceleratortypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1710,11 +1716,11 @@ export namespace tpu_v2alpha1 { create( params: Params$Resource$Projects$Locations$Nodes$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Nodes$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Nodes$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1743,7 +1749,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1798,11 +1807,11 @@ export namespace tpu_v2alpha1 { delete( params: Params$Resource$Projects$Locations$Nodes$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Nodes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Nodes$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1831,7 +1840,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1883,11 +1895,11 @@ export namespace tpu_v2alpha1 { get( params: Params$Resource$Projects$Locations$Nodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Nodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Nodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1916,7 +1928,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1968,11 +1983,11 @@ export namespace tpu_v2alpha1 { getGuestAttributes( params: Params$Resource$Projects$Locations$Nodes$Getguestattributes, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getGuestAttributes( params?: Params$Resource$Projects$Locations$Nodes$Getguestattributes, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getGuestAttributes( params: Params$Resource$Projects$Locations$Nodes$Getguestattributes, options: StreamMethodOptions | BodyResponseCallback, @@ -2007,8 +2022,8 @@ export namespace tpu_v2alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Getguestattributes; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2064,11 +2079,11 @@ export namespace tpu_v2alpha1 { list( params: Params$Resource$Projects$Locations$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2099,8 +2114,8 @@ export namespace tpu_v2alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2155,11 +2170,11 @@ export namespace tpu_v2alpha1 { patch( params: Params$Resource$Projects$Locations$Nodes$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Nodes$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Nodes$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2188,7 +2203,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2240,11 +2258,11 @@ export namespace tpu_v2alpha1 { performMaintenance( params: Params$Resource$Projects$Locations$Nodes$Performmaintenance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params?: Params$Resource$Projects$Locations$Nodes$Performmaintenance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenance( params: Params$Resource$Projects$Locations$Nodes$Performmaintenance, options: StreamMethodOptions | BodyResponseCallback, @@ -2273,7 +2291,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Performmaintenance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2329,11 +2350,11 @@ export namespace tpu_v2alpha1 { simulateMaintenanceEvent( params: Params$Resource$Projects$Locations$Nodes$Simulatemaintenanceevent, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params?: Params$Resource$Projects$Locations$Nodes$Simulatemaintenanceevent, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; simulateMaintenanceEvent( params: Params$Resource$Projects$Locations$Nodes$Simulatemaintenanceevent, options: StreamMethodOptions | BodyResponseCallback, @@ -2364,7 +2385,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Simulatemaintenanceevent; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2419,11 +2443,11 @@ export namespace tpu_v2alpha1 { start( params: Params$Resource$Projects$Locations$Nodes$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Nodes$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Nodes$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -2452,7 +2476,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2507,11 +2534,11 @@ export namespace tpu_v2alpha1 { stop( params: Params$Resource$Projects$Locations$Nodes$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Nodes$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Nodes$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -2540,7 +2567,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodes$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2732,11 +2762,11 @@ export namespace tpu_v2alpha1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2765,7 +2795,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2820,11 +2853,11 @@ export namespace tpu_v2alpha1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2853,7 +2886,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2905,11 +2941,11 @@ export namespace tpu_v2alpha1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2938,7 +2974,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2990,11 +3029,11 @@ export namespace tpu_v2alpha1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3027,8 +3066,8 @@ export namespace tpu_v2alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3131,11 +3170,11 @@ export namespace tpu_v2alpha1 { create( params: Params$Resource$Projects$Locations$Queuedresources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Queuedresources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Queuedresources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3164,7 +3203,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queuedresources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3220,11 +3262,11 @@ export namespace tpu_v2alpha1 { delete( params: Params$Resource$Projects$Locations$Queuedresources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Queuedresources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Queuedresources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3253,7 +3295,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queuedresources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3306,11 +3351,11 @@ export namespace tpu_v2alpha1 { get( params: Params$Resource$Projects$Locations$Queuedresources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Queuedresources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Queuedresources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3339,7 +3384,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queuedresources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3391,11 +3439,11 @@ export namespace tpu_v2alpha1 { list( params: Params$Resource$Projects$Locations$Queuedresources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Queuedresources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Queuedresources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3430,8 +3478,8 @@ export namespace tpu_v2alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queuedresources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3486,11 +3534,11 @@ export namespace tpu_v2alpha1 { performMaintenanceQueuedResource( params: Params$Resource$Projects$Locations$Queuedresources$Performmaintenancequeuedresource, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenanceQueuedResource( params?: Params$Resource$Projects$Locations$Queuedresources$Performmaintenancequeuedresource, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; performMaintenanceQueuedResource( params: Params$Resource$Projects$Locations$Queuedresources$Performmaintenancequeuedresource, options: StreamMethodOptions | BodyResponseCallback, @@ -3521,7 +3569,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queuedresources$Performmaintenancequeuedresource; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3576,11 +3627,11 @@ export namespace tpu_v2alpha1 { reset( params: Params$Resource$Projects$Locations$Queuedresources$Reset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reset( params?: Params$Resource$Projects$Locations$Queuedresources$Reset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reset( params: Params$Resource$Projects$Locations$Queuedresources$Reset, options: StreamMethodOptions | BodyResponseCallback, @@ -3609,7 +3660,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Queuedresources$Reset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3753,11 +3807,11 @@ export namespace tpu_v2alpha1 { list( params: Params$Resource$Projects$Locations$Reservations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Reservations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Reservations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3790,8 +3844,8 @@ export namespace tpu_v2alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Reservations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3869,11 +3923,11 @@ export namespace tpu_v2alpha1 { get( params: Params$Resource$Projects$Locations$Runtimeversions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Runtimeversions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Runtimeversions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3902,7 +3956,10 @@ export namespace tpu_v2alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimeversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3954,11 +4011,11 @@ export namespace tpu_v2alpha1 { list( params: Params$Resource$Projects$Locations$Runtimeversions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Runtimeversions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Runtimeversions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3993,8 +4050,8 @@ export namespace tpu_v2alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Runtimeversions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/trafficdirector/index.ts b/src/apis/trafficdirector/index.ts index 8b838e7315d..86f1bd0c53f 100644 --- a/src/apis/trafficdirector/index.ts +++ b/src/apis/trafficdirector/index.ts @@ -57,7 +57,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/trafficdirector/package.json b/src/apis/trafficdirector/package.json index dda5cd55d7a..e4babf97efe 100644 --- a/src/apis/trafficdirector/package.json +++ b/src/apis/trafficdirector/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/trafficdirector/v2.ts b/src/apis/trafficdirector/v2.ts index d3d59e97f2e..1fe79e19fa9 100644 --- a/src/apis/trafficdirector/v2.ts +++ b/src/apis/trafficdirector/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -698,11 +698,11 @@ export namespace trafficdirector_v2 { client_status( params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; client_status( params?: Params$Resource$Discovery$Client_status, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; client_status( params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions | BodyResponseCallback, @@ -737,8 +737,8 @@ export namespace trafficdirector_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Discovery$Client_status; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/trafficdirector/v3.ts b/src/apis/trafficdirector/v3.ts index af840e24b65..be468264a91 100644 --- a/src/apis/trafficdirector/v3.ts +++ b/src/apis/trafficdirector/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -910,11 +910,11 @@ export namespace trafficdirector_v3 { client_status( params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; client_status( params?: Params$Resource$Discovery$Client_status, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; client_status( params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions | BodyResponseCallback, @@ -949,8 +949,8 @@ export namespace trafficdirector_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Discovery$Client_status; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/transcoder/index.ts b/src/apis/transcoder/index.ts index 385040e4fc3..dbe84690998 100644 --- a/src/apis/transcoder/index.ts +++ b/src/apis/transcoder/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/transcoder/package.json b/src/apis/transcoder/package.json index c9326b9fc1a..40283e9f7dd 100644 --- a/src/apis/transcoder/package.json +++ b/src/apis/transcoder/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/transcoder/v1.ts b/src/apis/transcoder/v1.ts index 9cd9f4a5d39..5b1faed834a 100644 --- a/src/apis/transcoder/v1.ts +++ b/src/apis/transcoder/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1351,11 +1351,11 @@ export namespace transcoder_v1 { create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1384,7 +1384,10 @@ export namespace transcoder_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1436,11 +1439,11 @@ export namespace transcoder_v1 { delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1469,7 +1472,10 @@ export namespace transcoder_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1521,11 +1527,11 @@ export namespace transcoder_v1 { get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1554,7 +1560,10 @@ export namespace transcoder_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1606,11 +1615,11 @@ export namespace transcoder_v1 { list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1639,7 +1648,10 @@ export namespace transcoder_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1752,11 +1764,11 @@ export namespace transcoder_v1 { create( params: Params$Resource$Projects$Locations$Jobtemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Jobtemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Jobtemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1785,7 +1797,10 @@ export namespace transcoder_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1840,11 +1855,11 @@ export namespace transcoder_v1 { delete( params: Params$Resource$Projects$Locations$Jobtemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Jobtemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Jobtemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1873,7 +1888,10 @@ export namespace transcoder_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1925,11 +1943,11 @@ export namespace transcoder_v1 { get( params: Params$Resource$Projects$Locations$Jobtemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobtemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobtemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1958,7 +1976,10 @@ export namespace transcoder_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2010,11 +2031,11 @@ export namespace transcoder_v1 { list( params: Params$Resource$Projects$Locations$Jobtemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobtemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobtemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2047,8 +2068,8 @@ export namespace transcoder_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/transcoder/v1beta1.ts b/src/apis/transcoder/v1beta1.ts index 1a5f481625b..17ebccbef5c 100644 --- a/src/apis/transcoder/v1beta1.ts +++ b/src/apis/transcoder/v1beta1.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1127,11 +1127,11 @@ export namespace transcoder_v1beta1 { create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1160,7 +1160,7 @@ export namespace transcoder_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1254,11 +1254,11 @@ export namespace transcoder_v1beta1 { delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1287,7 +1287,7 @@ export namespace transcoder_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1394,11 +1394,11 @@ export namespace transcoder_v1beta1 { get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1427,7 +1427,7 @@ export namespace transcoder_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1525,11 +1525,11 @@ export namespace transcoder_v1beta1 { list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1558,7 +1558,7 @@ export namespace transcoder_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1715,11 +1715,11 @@ export namespace transcoder_v1beta1 { create( params: Params$Resource$Projects$Locations$Jobtemplates$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Jobtemplates$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Jobtemplates$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1748,7 +1748,7 @@ export namespace transcoder_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtemplates$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1842,11 +1842,11 @@ export namespace transcoder_v1beta1 { delete( params: Params$Resource$Projects$Locations$Jobtemplates$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Jobtemplates$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Jobtemplates$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1875,7 +1875,7 @@ export namespace transcoder_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtemplates$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1969,11 +1969,11 @@ export namespace transcoder_v1beta1 { get( params: Params$Resource$Projects$Locations$Jobtemplates$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Jobtemplates$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Jobtemplates$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2002,7 +2002,7 @@ export namespace transcoder_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtemplates$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2100,11 +2100,11 @@ export namespace transcoder_v1beta1 { list( params: Params$Resource$Projects$Locations$Jobtemplates$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Jobtemplates$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Jobtemplates$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2137,8 +2137,8 @@ export namespace transcoder_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Jobtemplates$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/translate/index.ts b/src/apis/translate/index.ts index 1c3cba9922e..13c125c80bd 100644 --- a/src/apis/translate/index.ts +++ b/src/apis/translate/index.ts @@ -65,7 +65,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/translate/package.json b/src/apis/translate/package.json index e6f6090b169..d4e4382d0cd 100644 --- a/src/apis/translate/package.json +++ b/src/apis/translate/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/translate/v2.ts b/src/apis/translate/v2.ts index 57131217460..b494892502b 100644 --- a/src/apis/translate/v2.ts +++ b/src/apis/translate/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -263,11 +263,11 @@ export namespace translate_v2 { detect( params: Params$Resource$Detections$Detect, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detect( params?: Params$Resource$Detections$Detect, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detect( params: Params$Resource$Detections$Detect, options: StreamMethodOptions | BodyResponseCallback, @@ -300,8 +300,8 @@ export namespace translate_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Detections$Detect; let options = (optionsOrCallback || {}) as MethodOptions; @@ -356,11 +356,11 @@ export namespace translate_v2 { list( params: Params$Resource$Detections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Detections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Detections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -393,8 +393,8 @@ export namespace translate_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Detections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -470,11 +470,11 @@ export namespace translate_v2 { list( params: Params$Resource$Languages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Languages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Languages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -507,8 +507,8 @@ export namespace translate_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Languages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -581,11 +581,11 @@ export namespace translate_v2 { list( params: Params$Resource$Translations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Translations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Translations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -618,8 +618,8 @@ export namespace translate_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Translations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -674,11 +674,11 @@ export namespace translate_v2 { translate( params: Params$Resource$Translations$Translate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; translate( params?: Params$Resource$Translations$Translate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; translate( params: Params$Resource$Translations$Translate, options: StreamMethodOptions | BodyResponseCallback, @@ -713,8 +713,8 @@ export namespace translate_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Translations$Translate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/translate/v3.ts b/src/apis/translate/v3.ts index d0fc2c323c7..98f3fcf542e 100644 --- a/src/apis/translate/v3.ts +++ b/src/apis/translate/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1340,11 +1340,11 @@ export namespace translate_v3 { detectLanguage( params: Params$Resource$Projects$Detectlanguage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectLanguage( params?: Params$Resource$Projects$Detectlanguage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detectLanguage( params: Params$Resource$Projects$Detectlanguage, options: StreamMethodOptions | BodyResponseCallback, @@ -1379,8 +1379,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Detectlanguage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1435,11 +1435,11 @@ export namespace translate_v3 { getSupportedLanguages( params: Params$Resource$Projects$Getsupportedlanguages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSupportedLanguages( params?: Params$Resource$Projects$Getsupportedlanguages, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSupportedLanguages( params: Params$Resource$Projects$Getsupportedlanguages, options: StreamMethodOptions | BodyResponseCallback, @@ -1472,8 +1472,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getsupportedlanguages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1528,11 +1528,11 @@ export namespace translate_v3 { romanizeText( params: Params$Resource$Projects$Romanizetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; romanizeText( params?: Params$Resource$Projects$Romanizetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; romanizeText( params: Params$Resource$Projects$Romanizetext, options: StreamMethodOptions | BodyResponseCallback, @@ -1567,8 +1567,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Romanizetext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1623,11 +1623,11 @@ export namespace translate_v3 { translateText( params: Params$Resource$Projects$Translatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; translateText( params?: Params$Resource$Projects$Translatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; translateText( params: Params$Resource$Projects$Translatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -1662,8 +1662,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Translatetext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1792,11 +1792,11 @@ export namespace translate_v3 { adaptiveMtTranslate( params: Params$Resource$Projects$Locations$Adaptivemttranslate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; adaptiveMtTranslate( params?: Params$Resource$Projects$Locations$Adaptivemttranslate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; adaptiveMtTranslate( params: Params$Resource$Projects$Locations$Adaptivemttranslate, options: StreamMethodOptions | BodyResponseCallback, @@ -1831,8 +1831,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Adaptivemttranslate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1887,11 +1887,11 @@ export namespace translate_v3 { batchTranslateDocument( params: Params$Resource$Projects$Locations$Batchtranslatedocument, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchTranslateDocument( params?: Params$Resource$Projects$Locations$Batchtranslatedocument, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchTranslateDocument( params: Params$Resource$Projects$Locations$Batchtranslatedocument, options: StreamMethodOptions | BodyResponseCallback, @@ -1922,7 +1922,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchtranslatedocument; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1978,11 +1981,11 @@ export namespace translate_v3 { batchTranslateText( params: Params$Resource$Projects$Locations$Batchtranslatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchTranslateText( params?: Params$Resource$Projects$Locations$Batchtranslatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchTranslateText( params: Params$Resource$Projects$Locations$Batchtranslatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -2011,7 +2014,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchtranslatetext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2066,11 +2072,11 @@ export namespace translate_v3 { detectLanguage( params: Params$Resource$Projects$Locations$Detectlanguage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectLanguage( params?: Params$Resource$Projects$Locations$Detectlanguage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detectLanguage( params: Params$Resource$Projects$Locations$Detectlanguage, options: StreamMethodOptions | BodyResponseCallback, @@ -2105,8 +2111,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Detectlanguage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2161,11 +2167,11 @@ export namespace translate_v3 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2194,7 +2200,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2246,11 +2255,11 @@ export namespace translate_v3 { getSupportedLanguages( params: Params$Resource$Projects$Locations$Getsupportedlanguages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSupportedLanguages( params?: Params$Resource$Projects$Locations$Getsupportedlanguages, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSupportedLanguages( params: Params$Resource$Projects$Locations$Getsupportedlanguages, options: StreamMethodOptions | BodyResponseCallback, @@ -2283,8 +2292,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getsupportedlanguages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2339,11 +2348,11 @@ export namespace translate_v3 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2376,8 +2385,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2432,11 +2441,11 @@ export namespace translate_v3 { romanizeText( params: Params$Resource$Projects$Locations$Romanizetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; romanizeText( params?: Params$Resource$Projects$Locations$Romanizetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; romanizeText( params: Params$Resource$Projects$Locations$Romanizetext, options: StreamMethodOptions | BodyResponseCallback, @@ -2471,8 +2480,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Romanizetext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2527,11 +2536,11 @@ export namespace translate_v3 { translateDocument( params: Params$Resource$Projects$Locations$Translatedocument, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; translateDocument( params?: Params$Resource$Projects$Locations$Translatedocument, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; translateDocument( params: Params$Resource$Projects$Locations$Translatedocument, options: StreamMethodOptions | BodyResponseCallback, @@ -2566,8 +2575,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Translatedocument; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2622,11 +2631,11 @@ export namespace translate_v3 { translateText( params: Params$Resource$Projects$Locations$Translatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; translateText( params?: Params$Resource$Projects$Locations$Translatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; translateText( params: Params$Resource$Projects$Locations$Translatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -2661,8 +2670,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Translatetext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2864,11 +2873,11 @@ export namespace translate_v3 { create( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2899,8 +2908,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Adaptivemtdatasets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2956,11 +2965,11 @@ export namespace translate_v3 { delete( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2989,7 +2998,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3042,11 +3054,11 @@ export namespace translate_v3 { get( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3077,8 +3089,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Adaptivemtdatasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3131,11 +3143,11 @@ export namespace translate_v3 { importAdaptiveMtFile( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importAdaptiveMtFile( params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importAdaptiveMtFile( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options: StreamMethodOptions | BodyResponseCallback, @@ -3170,8 +3182,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3229,11 +3241,11 @@ export namespace translate_v3 { list( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3268,8 +3280,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Adaptivemtdatasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3397,11 +3409,11 @@ export namespace translate_v3 { delete( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3430,7 +3442,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3483,11 +3498,11 @@ export namespace translate_v3 { get( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3516,7 +3531,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3569,11 +3587,11 @@ export namespace translate_v3 { list( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3608,8 +3626,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3702,11 +3720,11 @@ export namespace translate_v3 { list( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3741,8 +3759,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3823,11 +3841,11 @@ export namespace translate_v3 { list( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3862,8 +3880,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3948,11 +3966,11 @@ export namespace translate_v3 { create( params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Datasets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3981,7 +3999,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4036,11 +4057,11 @@ export namespace translate_v3 { delete( params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Datasets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4069,7 +4090,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4121,11 +4145,11 @@ export namespace translate_v3 { exportData( params: Params$Resource$Projects$Locations$Datasets$Exportdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportData( params?: Params$Resource$Projects$Locations$Datasets$Exportdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportData( params: Params$Resource$Projects$Locations$Datasets$Exportdata, options: StreamMethodOptions | BodyResponseCallback, @@ -4154,7 +4178,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Exportdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4209,11 +4236,11 @@ export namespace translate_v3 { get( params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Datasets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4242,7 +4269,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4294,11 +4324,11 @@ export namespace translate_v3 { importData( params: Params$Resource$Projects$Locations$Datasets$Importdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; importData( params?: Params$Resource$Projects$Locations$Datasets$Importdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; importData( params: Params$Resource$Projects$Locations$Datasets$Importdata, options: StreamMethodOptions | BodyResponseCallback, @@ -4327,7 +4357,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Importdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4382,11 +4415,11 @@ export namespace translate_v3 { list( params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4419,8 +4452,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4548,11 +4581,11 @@ export namespace translate_v3 { list( params: Params$Resource$Projects$Locations$Datasets$Examples$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Datasets$Examples$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Datasets$Examples$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4585,8 +4618,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Datasets$Examples$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4674,11 +4707,11 @@ export namespace translate_v3 { create( params: Params$Resource$Projects$Locations$Glossaries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Glossaries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Glossaries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4707,7 +4740,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4762,11 +4798,11 @@ export namespace translate_v3 { delete( params: Params$Resource$Projects$Locations$Glossaries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Glossaries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Glossaries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4795,7 +4831,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4847,11 +4886,11 @@ export namespace translate_v3 { get( params: Params$Resource$Projects$Locations$Glossaries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Glossaries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Glossaries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4880,7 +4919,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4932,11 +4974,11 @@ export namespace translate_v3 { list( params: Params$Resource$Projects$Locations$Glossaries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Glossaries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Glossaries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4969,8 +5011,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5025,11 +5067,11 @@ export namespace translate_v3 { patch( params: Params$Resource$Projects$Locations$Glossaries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Glossaries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Glossaries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5058,7 +5100,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5179,11 +5224,11 @@ export namespace translate_v3 { create( params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5212,7 +5257,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5268,11 +5316,11 @@ export namespace translate_v3 { delete( params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5301,7 +5349,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5354,11 +5405,11 @@ export namespace translate_v3 { get( params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5387,7 +5438,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5440,11 +5494,11 @@ export namespace translate_v3 { list( params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5479,8 +5533,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5536,11 +5590,11 @@ export namespace translate_v3 { patch( params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5569,7 +5623,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5683,11 +5740,11 @@ export namespace translate_v3 { create( params: Params$Resource$Projects$Locations$Models$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Models$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Models$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5716,7 +5773,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5771,11 +5831,11 @@ export namespace translate_v3 { delete( params: Params$Resource$Projects$Locations$Models$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Models$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Models$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5804,7 +5864,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5856,11 +5919,11 @@ export namespace translate_v3 { get( params: Params$Resource$Projects$Locations$Models$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Models$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Models$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5889,7 +5952,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5941,11 +6007,11 @@ export namespace translate_v3 { list( params: Params$Resource$Projects$Locations$Models$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Models$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Models$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5976,8 +6042,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Models$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6085,11 +6151,11 @@ export namespace translate_v3 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6118,7 +6184,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6170,11 +6239,11 @@ export namespace translate_v3 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6203,7 +6272,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6255,11 +6327,11 @@ export namespace translate_v3 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6288,7 +6360,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6340,11 +6415,11 @@ export namespace translate_v3 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6377,8 +6452,8 @@ export namespace translate_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6433,11 +6508,11 @@ export namespace translate_v3 { wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -6466,7 +6541,10 @@ export namespace translate_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/translate/v3beta1.ts b/src/apis/translate/v3beta1.ts index 1969c8122b2..84334cc6373 100644 --- a/src/apis/translate/v3beta1.ts +++ b/src/apis/translate/v3beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -738,11 +738,11 @@ export namespace translate_v3beta1 { detectLanguage( params: Params$Resource$Projects$Detectlanguage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectLanguage( params?: Params$Resource$Projects$Detectlanguage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detectLanguage( params: Params$Resource$Projects$Detectlanguage, options: StreamMethodOptions | BodyResponseCallback, @@ -777,8 +777,8 @@ export namespace translate_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Detectlanguage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -833,11 +833,11 @@ export namespace translate_v3beta1 { getSupportedLanguages( params: Params$Resource$Projects$Getsupportedlanguages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSupportedLanguages( params?: Params$Resource$Projects$Getsupportedlanguages, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSupportedLanguages( params: Params$Resource$Projects$Getsupportedlanguages, options: StreamMethodOptions | BodyResponseCallback, @@ -870,8 +870,8 @@ export namespace translate_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Getsupportedlanguages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -926,11 +926,11 @@ export namespace translate_v3beta1 { translateText( params: Params$Resource$Projects$Translatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; translateText( params?: Params$Resource$Projects$Translatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; translateText( params: Params$Resource$Projects$Translatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -965,8 +965,8 @@ export namespace translate_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Translatetext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1076,11 +1076,11 @@ export namespace translate_v3beta1 { batchTranslateDocument( params: Params$Resource$Projects$Locations$Batchtranslatedocument, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchTranslateDocument( params?: Params$Resource$Projects$Locations$Batchtranslatedocument, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchTranslateDocument( params: Params$Resource$Projects$Locations$Batchtranslatedocument, options: StreamMethodOptions | BodyResponseCallback, @@ -1111,7 +1111,10 @@ export namespace translate_v3beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchtranslatedocument; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1166,11 +1169,11 @@ export namespace translate_v3beta1 { batchTranslateText( params: Params$Resource$Projects$Locations$Batchtranslatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; batchTranslateText( params?: Params$Resource$Projects$Locations$Batchtranslatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; batchTranslateText( params: Params$Resource$Projects$Locations$Batchtranslatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -1199,7 +1202,10 @@ export namespace translate_v3beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Batchtranslatetext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1254,11 +1260,11 @@ export namespace translate_v3beta1 { detectLanguage( params: Params$Resource$Projects$Locations$Detectlanguage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; detectLanguage( params?: Params$Resource$Projects$Locations$Detectlanguage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; detectLanguage( params: Params$Resource$Projects$Locations$Detectlanguage, options: StreamMethodOptions | BodyResponseCallback, @@ -1293,8 +1299,8 @@ export namespace translate_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Detectlanguage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1349,11 +1355,11 @@ export namespace translate_v3beta1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1382,7 +1388,10 @@ export namespace translate_v3beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1434,11 +1443,11 @@ export namespace translate_v3beta1 { getSupportedLanguages( params: Params$Resource$Projects$Locations$Getsupportedlanguages, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getSupportedLanguages( params?: Params$Resource$Projects$Locations$Getsupportedlanguages, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getSupportedLanguages( params: Params$Resource$Projects$Locations$Getsupportedlanguages, options: StreamMethodOptions | BodyResponseCallback, @@ -1471,8 +1480,8 @@ export namespace translate_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getsupportedlanguages; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1527,11 +1536,11 @@ export namespace translate_v3beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1564,8 +1573,8 @@ export namespace translate_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1620,11 +1629,11 @@ export namespace translate_v3beta1 { translateDocument( params: Params$Resource$Projects$Locations$Translatedocument, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; translateDocument( params?: Params$Resource$Projects$Locations$Translatedocument, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; translateDocument( params: Params$Resource$Projects$Locations$Translatedocument, options: StreamMethodOptions | BodyResponseCallback, @@ -1659,8 +1668,8 @@ export namespace translate_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Translatedocument; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1715,11 +1724,11 @@ export namespace translate_v3beta1 { translateText( params: Params$Resource$Projects$Locations$Translatetext, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; translateText( params?: Params$Resource$Projects$Locations$Translatetext, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; translateText( params: Params$Resource$Projects$Locations$Translatetext, options: StreamMethodOptions | BodyResponseCallback, @@ -1754,8 +1763,8 @@ export namespace translate_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Translatetext; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1923,11 +1932,11 @@ export namespace translate_v3beta1 { create( params: Params$Resource$Projects$Locations$Glossaries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Glossaries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Glossaries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1956,7 +1965,10 @@ export namespace translate_v3beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2011,11 +2023,11 @@ export namespace translate_v3beta1 { delete( params: Params$Resource$Projects$Locations$Glossaries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Glossaries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Glossaries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2044,7 +2056,10 @@ export namespace translate_v3beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2096,11 +2111,11 @@ export namespace translate_v3beta1 { get( params: Params$Resource$Projects$Locations$Glossaries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Glossaries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Glossaries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2129,7 +2144,10 @@ export namespace translate_v3beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2181,11 +2199,11 @@ export namespace translate_v3beta1 { list( params: Params$Resource$Projects$Locations$Glossaries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Glossaries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Glossaries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2218,8 +2236,8 @@ export namespace translate_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Glossaries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2327,11 +2345,11 @@ export namespace translate_v3beta1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -2360,7 +2378,10 @@ export namespace translate_v3beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2415,11 +2436,11 @@ export namespace translate_v3beta1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2448,7 +2469,10 @@ export namespace translate_v3beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2500,11 +2524,11 @@ export namespace translate_v3beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2533,7 +2557,10 @@ export namespace translate_v3beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2585,11 +2612,11 @@ export namespace translate_v3beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2622,8 +2649,8 @@ export namespace translate_v3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2678,11 +2705,11 @@ export namespace translate_v3beta1 { wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; wait( params?: Params$Resource$Projects$Locations$Operations$Wait, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; wait( params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback, @@ -2711,7 +2738,10 @@ export namespace translate_v3beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Wait; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/travelimpactmodel/index.ts b/src/apis/travelimpactmodel/index.ts index 08b71e2d807..c61fd53d72b 100644 --- a/src/apis/travelimpactmodel/index.ts +++ b/src/apis/travelimpactmodel/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/travelimpactmodel/package.json b/src/apis/travelimpactmodel/package.json index b5cd1cf3876..da61574ff7c 100644 --- a/src/apis/travelimpactmodel/package.json +++ b/src/apis/travelimpactmodel/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/travelimpactmodel/v1.ts b/src/apis/travelimpactmodel/v1.ts index fe1ce5fc8ab..dde40c05b6f 100644 --- a/src/apis/travelimpactmodel/v1.ts +++ b/src/apis/travelimpactmodel/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -261,11 +261,11 @@ export namespace travelimpactmodel_v1 { computeFlightEmissions( params: Params$Resource$Flights$Computeflightemissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeFlightEmissions( params?: Params$Resource$Flights$Computeflightemissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; computeFlightEmissions( params: Params$Resource$Flights$Computeflightemissions, options: StreamMethodOptions | BodyResponseCallback, @@ -300,8 +300,8 @@ export namespace travelimpactmodel_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flights$Computeflightemissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/vault/index.ts b/src/apis/vault/index.ts index 75e9fa0561e..c0398a12ddc 100644 --- a/src/apis/vault/index.ts +++ b/src/apis/vault/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/vault/package.json b/src/apis/vault/package.json index a3a8073f08f..8f311e42389 100644 --- a/src/apis/vault/package.json +++ b/src/apis/vault/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/vault/v1.ts b/src/apis/vault/v1.ts index 7689109762c..684a2f2086c 100644 --- a/src/apis/vault/v1.ts +++ b/src/apis/vault/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1209,11 +1209,11 @@ export namespace vault_v1 { addPermissions( params: Params$Resource$Matters$Addpermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addPermissions( params?: Params$Resource$Matters$Addpermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addPermissions( params: Params$Resource$Matters$Addpermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1244,7 +1244,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Addpermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1299,11 +1302,11 @@ export namespace vault_v1 { close( params: Params$Resource$Matters$Close, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; close( params?: Params$Resource$Matters$Close, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; close( params: Params$Resource$Matters$Close, options: StreamMethodOptions | BodyResponseCallback, @@ -1334,8 +1337,8 @@ export namespace vault_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Close; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1389,11 +1392,11 @@ export namespace vault_v1 { count( params: Params$Resource$Matters$Count, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; count( params?: Params$Resource$Matters$Count, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; count( params: Params$Resource$Matters$Count, options: StreamMethodOptions | BodyResponseCallback, @@ -1422,7 +1425,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Count; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1476,11 +1482,11 @@ export namespace vault_v1 { create( params: Params$Resource$Matters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Matters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Matters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1509,7 +1515,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1560,11 +1569,11 @@ export namespace vault_v1 { delete( params: Params$Resource$Matters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Matters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Matters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1593,7 +1602,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1647,11 +1659,11 @@ export namespace vault_v1 { get( params: Params$Resource$Matters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Matters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Matters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1680,7 +1692,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1734,11 +1749,11 @@ export namespace vault_v1 { list( params: Params$Resource$Matters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Matters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Matters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1769,8 +1784,8 @@ export namespace vault_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1821,11 +1836,11 @@ export namespace vault_v1 { removePermissions( params: Params$Resource$Matters$Removepermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removePermissions( params?: Params$Resource$Matters$Removepermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removePermissions( params: Params$Resource$Matters$Removepermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -1854,7 +1869,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Removepermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1909,11 +1927,11 @@ export namespace vault_v1 { reopen( params: Params$Resource$Matters$Reopen, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reopen( params?: Params$Resource$Matters$Reopen, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reopen( params: Params$Resource$Matters$Reopen, options: StreamMethodOptions | BodyResponseCallback, @@ -1946,8 +1964,8 @@ export namespace vault_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Reopen; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2001,11 +2019,11 @@ export namespace vault_v1 { undelete( params: Params$Resource$Matters$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Matters$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Matters$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -2034,7 +2052,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2088,11 +2109,11 @@ export namespace vault_v1 { update( params: Params$Resource$Matters$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Matters$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Matters$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -2121,7 +2142,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2302,11 +2326,11 @@ export namespace vault_v1 { create( params: Params$Resource$Matters$Exports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Matters$Exports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Matters$Exports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2335,7 +2359,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Exports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2390,11 +2417,11 @@ export namespace vault_v1 { delete( params: Params$Resource$Matters$Exports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Matters$Exports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Matters$Exports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2423,7 +2450,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Exports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2477,11 +2507,11 @@ export namespace vault_v1 { get( params: Params$Resource$Matters$Exports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Matters$Exports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Matters$Exports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2510,7 +2540,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Exports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2564,11 +2597,11 @@ export namespace vault_v1 { list( params: Params$Resource$Matters$Exports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Matters$Exports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Matters$Exports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2599,8 +2632,8 @@ export namespace vault_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Exports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2714,11 +2747,11 @@ export namespace vault_v1 { addHeldAccounts( params: Params$Resource$Matters$Holds$Addheldaccounts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addHeldAccounts( params?: Params$Resource$Matters$Holds$Addheldaccounts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addHeldAccounts( params: Params$Resource$Matters$Holds$Addheldaccounts, options: StreamMethodOptions | BodyResponseCallback, @@ -2753,8 +2786,8 @@ export namespace vault_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Holds$Addheldaccounts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2808,11 +2841,11 @@ export namespace vault_v1 { create( params: Params$Resource$Matters$Holds$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Matters$Holds$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Matters$Holds$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2841,7 +2874,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Holds$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2896,11 +2932,11 @@ export namespace vault_v1 { delete( params: Params$Resource$Matters$Holds$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Matters$Holds$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Matters$Holds$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2929,7 +2965,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Holds$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2984,11 +3023,11 @@ export namespace vault_v1 { get( params: Params$Resource$Matters$Holds$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Matters$Holds$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Matters$Holds$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3017,7 +3056,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Holds$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3072,11 +3114,11 @@ export namespace vault_v1 { list( params: Params$Resource$Matters$Holds$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Matters$Holds$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Matters$Holds$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3107,8 +3149,8 @@ export namespace vault_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Holds$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3163,11 +3205,11 @@ export namespace vault_v1 { removeHeldAccounts( params: Params$Resource$Matters$Holds$Removeheldaccounts, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeHeldAccounts( params?: Params$Resource$Matters$Holds$Removeheldaccounts, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeHeldAccounts( params: Params$Resource$Matters$Holds$Removeheldaccounts, options: StreamMethodOptions | BodyResponseCallback, @@ -3202,8 +3244,8 @@ export namespace vault_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Holds$Removeheldaccounts; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3258,11 +3300,11 @@ export namespace vault_v1 { update( params: Params$Resource$Matters$Holds$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Matters$Holds$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Matters$Holds$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -3291,7 +3333,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Holds$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3459,11 +3504,11 @@ export namespace vault_v1 { create( params: Params$Resource$Matters$Holds$Accounts$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Matters$Holds$Accounts$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Matters$Holds$Accounts$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3492,7 +3537,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Holds$Accounts$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3546,11 +3594,11 @@ export namespace vault_v1 { delete( params: Params$Resource$Matters$Holds$Accounts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Matters$Holds$Accounts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Matters$Holds$Accounts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3579,7 +3627,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Holds$Accounts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3634,11 +3685,11 @@ export namespace vault_v1 { list( params: Params$Resource$Matters$Holds$Accounts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Matters$Holds$Accounts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Matters$Holds$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3671,8 +3722,8 @@ export namespace vault_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Holds$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3776,11 +3827,11 @@ export namespace vault_v1 { create( params: Params$Resource$Matters$Savedqueries$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Matters$Savedqueries$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Matters$Savedqueries$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3809,7 +3860,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Savedqueries$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3864,11 +3918,11 @@ export namespace vault_v1 { delete( params: Params$Resource$Matters$Savedqueries$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Matters$Savedqueries$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Matters$Savedqueries$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3897,7 +3951,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Savedqueries$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3951,11 +4008,11 @@ export namespace vault_v1 { get( params: Params$Resource$Matters$Savedqueries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Matters$Savedqueries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Matters$Savedqueries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3984,7 +4041,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Savedqueries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4038,11 +4098,11 @@ export namespace vault_v1 { list( params: Params$Resource$Matters$Savedqueries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Matters$Savedqueries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Matters$Savedqueries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4075,8 +4135,8 @@ export namespace vault_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Matters$Savedqueries$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4188,11 +4248,11 @@ export namespace vault_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4221,7 +4281,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4273,11 +4336,11 @@ export namespace vault_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4306,7 +4369,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4358,11 +4424,11 @@ export namespace vault_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4391,7 +4457,10 @@ export namespace vault_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4442,11 +4511,11 @@ export namespace vault_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4479,8 +4548,8 @@ export namespace vault_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/vectortile/index.ts b/src/apis/vectortile/index.ts index ef5f0568c11..dabc9278016 100644 --- a/src/apis/vectortile/index.ts +++ b/src/apis/vectortile/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/vectortile/package.json b/src/apis/vectortile/package.json index 1dbc3fb3f1c..c647e1b913a 100644 --- a/src/apis/vectortile/package.json +++ b/src/apis/vectortile/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/vectortile/v1.ts b/src/apis/vectortile/v1.ts index 972e102e43d..b0d1739372d 100644 --- a/src/apis/vectortile/v1.ts +++ b/src/apis/vectortile/v1.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -566,11 +566,11 @@ export namespace vectortile_v1 { get( params: Params$Resource$Featuretiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Featuretiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Featuretiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -599,7 +599,7 @@ export namespace vectortile_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Featuretiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -798,11 +798,11 @@ export namespace vectortile_v1 { get( params: Params$Resource$Terraintiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Terraintiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Terraintiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -831,7 +831,7 @@ export namespace vectortile_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Terraintiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/verifiedaccess/index.ts b/src/apis/verifiedaccess/index.ts index c368697544f..99e442b1847 100644 --- a/src/apis/verifiedaccess/index.ts +++ b/src/apis/verifiedaccess/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/verifiedaccess/package.json b/src/apis/verifiedaccess/package.json index cc5273e785d..32e0e962779 100644 --- a/src/apis/verifiedaccess/package.json +++ b/src/apis/verifiedaccess/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/verifiedaccess/v1.ts b/src/apis/verifiedaccess/v1.ts index bcb4e0d1737..d24e809ee6f 100644 --- a/src/apis/verifiedaccess/v1.ts +++ b/src/apis/verifiedaccess/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -210,11 +210,11 @@ export namespace verifiedaccess_v1 { create( params: Params$Resource$Challenge$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Challenge$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Challenge$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -243,7 +243,10 @@ export namespace verifiedaccess_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Challenge$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -295,11 +298,11 @@ export namespace verifiedaccess_v1 { verify( params: Params$Resource$Challenge$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Challenge$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Challenge$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -334,8 +337,8 @@ export namespace verifiedaccess_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Challenge$Verify; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/verifiedaccess/v2.ts b/src/apis/verifiedaccess/v2.ts index 86af3f657c9..41ad1db256b 100644 --- a/src/apis/verifiedaccess/v2.ts +++ b/src/apis/verifiedaccess/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -384,11 +384,11 @@ export namespace verifiedaccess_v2 { generate( params: Params$Resource$Challenge$Generate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generate( params?: Params$Resource$Challenge$Generate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generate( params: Params$Resource$Challenge$Generate, options: StreamMethodOptions | BodyResponseCallback, @@ -417,7 +417,10 @@ export namespace verifiedaccess_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Challenge$Generate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -473,11 +476,11 @@ export namespace verifiedaccess_v2 { verify( params: Params$Resource$Challenge$Verify, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; verify( params?: Params$Resource$Challenge$Verify, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; verify( params: Params$Resource$Challenge$Verify, options: StreamMethodOptions | BodyResponseCallback, @@ -512,8 +515,8 @@ export namespace verifiedaccess_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Challenge$Verify; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/versionhistory/index.ts b/src/apis/versionhistory/index.ts index 1996065d756..55ef13354b0 100644 --- a/src/apis/versionhistory/index.ts +++ b/src/apis/versionhistory/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/versionhistory/package.json b/src/apis/versionhistory/package.json index ff7ccd95e45..6ad2bd8a464 100644 --- a/src/apis/versionhistory/package.json +++ b/src/apis/versionhistory/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/versionhistory/v1.ts b/src/apis/versionhistory/v1.ts index d91e9105b87..08eb8a71f65 100644 --- a/src/apis/versionhistory/v1.ts +++ b/src/apis/versionhistory/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -277,11 +277,11 @@ export namespace versionhistory_v1 { list( params: Params$Resource$Platforms$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$List, options: StreamMethodOptions | BodyResponseCallback, @@ -314,8 +314,8 @@ export namespace versionhistory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -394,11 +394,11 @@ export namespace versionhistory_v1 { list( params: Params$Resource$Platforms$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -431,8 +431,8 @@ export namespace versionhistory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -515,11 +515,11 @@ export namespace versionhistory_v1 { list( params: Params$Resource$Platforms$Channels$Versions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$Channels$Versions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$Channels$Versions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -552,8 +552,8 @@ export namespace versionhistory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Channels$Versions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -640,11 +640,11 @@ export namespace versionhistory_v1 { list( params: Params$Resource$Platforms$Channels$Versions$Releases$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Platforms$Channels$Versions$Releases$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Platforms$Channels$Versions$Releases$List, options: StreamMethodOptions | BodyResponseCallback, @@ -677,8 +677,8 @@ export namespace versionhistory_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Platforms$Channels$Versions$Releases$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/videointelligence/index.ts b/src/apis/videointelligence/index.ts index 9dc37b1ae3c..ecf5b057425 100644 --- a/src/apis/videointelligence/index.ts +++ b/src/apis/videointelligence/index.ts @@ -95,7 +95,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/videointelligence/package.json b/src/apis/videointelligence/package.json index 804eec7b289..798a59a6d4c 100644 --- a/src/apis/videointelligence/package.json +++ b/src/apis/videointelligence/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/videointelligence/v1.ts b/src/apis/videointelligence/v1.ts index 8d4419fc9fa..0e04ff5a753 100644 --- a/src/apis/videointelligence/v1.ts +++ b/src/apis/videointelligence/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3439,11 +3439,11 @@ export namespace videointelligence_v1 { cancel( params: Params$Resource$Operations$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3476,8 +3476,8 @@ export namespace videointelligence_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3534,11 +3534,11 @@ export namespace videointelligence_v1 { delete( params: Params$Resource$Operations$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3571,8 +3571,8 @@ export namespace videointelligence_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3629,11 +3629,11 @@ export namespace videointelligence_v1 { get( params: Params$Resource$Operations$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3668,8 +3668,8 @@ export namespace videointelligence_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3775,11 +3775,11 @@ export namespace videointelligence_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3812,8 +3812,8 @@ export namespace videointelligence_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3866,11 +3866,11 @@ export namespace videointelligence_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3903,8 +3903,8 @@ export namespace videointelligence_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3957,11 +3957,11 @@ export namespace videointelligence_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3996,8 +3996,8 @@ export namespace videointelligence_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4050,11 +4050,13 @@ export namespace videointelligence_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4089,8 +4091,10 @@ export namespace videointelligence_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4201,11 +4205,11 @@ export namespace videointelligence_v1 { annotate( params: Params$Resource$Videos$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Videos$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params: Params$Resource$Videos$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -4240,8 +4244,8 @@ export namespace videointelligence_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/videointelligence/v1beta2.ts b/src/apis/videointelligence/v1beta2.ts index 1299e5ecb6d..61a4d5cc9dd 100644 --- a/src/apis/videointelligence/v1beta2.ts +++ b/src/apis/videointelligence/v1beta2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3385,11 +3385,11 @@ export namespace videointelligence_v1beta2 { annotate( params: Params$Resource$Videos$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Videos$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params: Params$Resource$Videos$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -3424,8 +3424,8 @@ export namespace videointelligence_v1beta2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/videointelligence/v1p1beta1.ts b/src/apis/videointelligence/v1p1beta1.ts index cb3760979f1..61543629ea5 100644 --- a/src/apis/videointelligence/v1p1beta1.ts +++ b/src/apis/videointelligence/v1p1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3385,11 +3385,11 @@ export namespace videointelligence_v1p1beta1 { annotate( params: Params$Resource$Videos$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Videos$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params: Params$Resource$Videos$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -3424,8 +3424,8 @@ export namespace videointelligence_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/videointelligence/v1p2beta1.ts b/src/apis/videointelligence/v1p2beta1.ts index 5d58752e8b2..caf88f25cd0 100644 --- a/src/apis/videointelligence/v1p2beta1.ts +++ b/src/apis/videointelligence/v1p2beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3385,11 +3385,11 @@ export namespace videointelligence_v1p2beta1 { annotate( params: Params$Resource$Videos$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Videos$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params: Params$Resource$Videos$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -3424,8 +3424,8 @@ export namespace videointelligence_v1p2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/videointelligence/v1p3beta1.ts b/src/apis/videointelligence/v1p3beta1.ts index 7cad3da928a..90968b0a00c 100644 --- a/src/apis/videointelligence/v1p3beta1.ts +++ b/src/apis/videointelligence/v1p3beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -3385,11 +3385,11 @@ export namespace videointelligence_v1p3beta1 { annotate( params: Params$Resource$Videos$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Videos$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params: Params$Resource$Videos$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -3424,8 +3424,8 @@ export namespace videointelligence_v1p3beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/vision/index.ts b/src/apis/vision/index.ts index a6a91a21d18..8403dde76fb 100644 --- a/src/apis/vision/index.ts +++ b/src/apis/vision/index.ts @@ -60,7 +60,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/vision/package.json b/src/apis/vision/package.json index 680e2486372..3c441ac3216 100644 --- a/src/apis/vision/package.json +++ b/src/apis/vision/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/vision/v1.ts b/src/apis/vision/v1.ts index 61f9f19f1ba..0f3bccb05e5 100644 --- a/src/apis/vision/v1.ts +++ b/src/apis/vision/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5193,11 +5193,11 @@ export namespace vision_v1 { annotate( params: Params$Resource$Files$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Files$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params: Params$Resource$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5232,8 +5232,8 @@ export namespace vision_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5284,11 +5284,11 @@ export namespace vision_v1 { asyncBatchAnnotate( params: Params$Resource$Files$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Files$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5317,7 +5317,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5393,11 +5396,11 @@ export namespace vision_v1 { annotate( params: Params$Resource$Images$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Images$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params: Params$Resource$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5432,8 +5435,8 @@ export namespace vision_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5487,11 +5490,11 @@ export namespace vision_v1 { asyncBatchAnnotate( params: Params$Resource$Images$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Images$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5520,7 +5523,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5605,11 +5611,11 @@ export namespace vision_v1 { get( params: Params$Resource$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5638,7 +5644,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5705,11 +5714,11 @@ export namespace vision_v1 { cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -5738,7 +5747,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5790,11 +5802,11 @@ export namespace vision_v1 { delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5823,7 +5835,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5875,11 +5890,11 @@ export namespace vision_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5908,7 +5923,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5959,11 +5977,11 @@ export namespace vision_v1 { list( params: Params$Resource$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5996,8 +6014,8 @@ export namespace vision_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6114,11 +6132,11 @@ export namespace vision_v1 { annotate( params: Params$Resource$Projects$Files$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Files$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params: Params$Resource$Projects$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6153,8 +6171,8 @@ export namespace vision_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Files$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6209,11 +6227,11 @@ export namespace vision_v1 { asyncBatchAnnotate( params: Params$Resource$Projects$Files$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Files$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6242,7 +6260,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Files$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6329,11 +6350,11 @@ export namespace vision_v1 { annotate( params: Params$Resource$Projects$Images$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Images$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params: Params$Resource$Projects$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6368,8 +6389,8 @@ export namespace vision_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Images$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6424,11 +6445,11 @@ export namespace vision_v1 { asyncBatchAnnotate( params: Params$Resource$Projects$Images$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Images$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6457,7 +6478,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Images$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6565,11 +6589,11 @@ export namespace vision_v1 { annotate( params: Params$Resource$Projects$Locations$Files$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Locations$Files$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params: Params$Resource$Projects$Locations$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6604,8 +6628,8 @@ export namespace vision_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Files$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6660,11 +6684,11 @@ export namespace vision_v1 { asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6693,7 +6717,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Files$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6781,11 +6808,11 @@ export namespace vision_v1 { annotate( params: Params$Resource$Projects$Locations$Images$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Locations$Images$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params: Params$Resource$Projects$Locations$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6820,8 +6847,8 @@ export namespace vision_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Images$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6876,11 +6903,11 @@ export namespace vision_v1 { asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6909,7 +6936,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Images$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6997,11 +7027,11 @@ export namespace vision_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7030,7 +7060,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7100,11 +7133,11 @@ export namespace vision_v1 { create( params: Params$Resource$Projects$Locations$Products$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Products$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Products$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7133,7 +7166,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7188,11 +7224,11 @@ export namespace vision_v1 { delete( params: Params$Resource$Projects$Locations$Products$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Products$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Products$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7221,7 +7257,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7273,11 +7312,11 @@ export namespace vision_v1 { get( params: Params$Resource$Projects$Locations$Products$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Products$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Products$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7306,7 +7345,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7358,11 +7400,11 @@ export namespace vision_v1 { list( params: Params$Resource$Projects$Locations$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7395,8 +7437,8 @@ export namespace vision_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7451,11 +7493,11 @@ export namespace vision_v1 { patch( params: Params$Resource$Projects$Locations$Products$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Products$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Products$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7484,7 +7526,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7536,11 +7581,11 @@ export namespace vision_v1 { purge( params: Params$Resource$Projects$Locations$Products$Purge, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; purge( params?: Params$Resource$Projects$Locations$Products$Purge, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; purge( params: Params$Resource$Projects$Locations$Products$Purge, options: StreamMethodOptions | BodyResponseCallback, @@ -7569,7 +7614,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Purge; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7705,11 +7753,11 @@ export namespace vision_v1 { create( params: Params$Resource$Projects$Locations$Products$Referenceimages$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Products$Referenceimages$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Products$Referenceimages$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7738,7 +7786,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Referenceimages$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7794,11 +7845,11 @@ export namespace vision_v1 { delete( params: Params$Resource$Projects$Locations$Products$Referenceimages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Products$Referenceimages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Products$Referenceimages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7827,7 +7878,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Referenceimages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7880,11 +7934,11 @@ export namespace vision_v1 { get( params: Params$Resource$Projects$Locations$Products$Referenceimages$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Products$Referenceimages$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Products$Referenceimages$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7913,7 +7967,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Referenceimages$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7966,11 +8023,11 @@ export namespace vision_v1 { list( params: Params$Resource$Projects$Locations$Products$Referenceimages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Products$Referenceimages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Products$Referenceimages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8005,8 +8062,8 @@ export namespace vision_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Products$Referenceimages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8119,11 +8176,11 @@ export namespace vision_v1 { addProduct( params: Params$Resource$Projects$Locations$Productsets$Addproduct, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addProduct( params?: Params$Resource$Projects$Locations$Productsets$Addproduct, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addProduct( params: Params$Resource$Projects$Locations$Productsets$Addproduct, options: StreamMethodOptions | BodyResponseCallback, @@ -8152,7 +8209,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Productsets$Addproduct; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8208,11 +8268,11 @@ export namespace vision_v1 { create( params: Params$Resource$Projects$Locations$Productsets$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Productsets$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Productsets$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8241,7 +8301,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Productsets$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8296,11 +8359,11 @@ export namespace vision_v1 { delete( params: Params$Resource$Projects$Locations$Productsets$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Productsets$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Productsets$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8329,7 +8392,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Productsets$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8381,11 +8447,11 @@ export namespace vision_v1 { get( params: Params$Resource$Projects$Locations$Productsets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Productsets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Productsets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8414,7 +8480,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Productsets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8466,11 +8535,11 @@ export namespace vision_v1 { import( params: Params$Resource$Projects$Locations$Productsets$Import, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; import( params?: Params$Resource$Projects$Locations$Productsets$Import, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; import( params: Params$Resource$Projects$Locations$Productsets$Import, options: StreamMethodOptions | BodyResponseCallback, @@ -8499,7 +8568,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Productsets$Import; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8554,11 +8626,11 @@ export namespace vision_v1 { list( params: Params$Resource$Projects$Locations$Productsets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Productsets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Productsets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8591,8 +8663,8 @@ export namespace vision_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Productsets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8647,11 +8719,11 @@ export namespace vision_v1 { patch( params: Params$Resource$Projects$Locations$Productsets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Productsets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Productsets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8680,7 +8752,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Productsets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8732,11 +8807,11 @@ export namespace vision_v1 { removeProduct( params: Params$Resource$Projects$Locations$Productsets$Removeproduct, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeProduct( params?: Params$Resource$Projects$Locations$Productsets$Removeproduct, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeProduct( params: Params$Resource$Projects$Locations$Productsets$Removeproduct, options: StreamMethodOptions | BodyResponseCallback, @@ -8765,7 +8840,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Productsets$Removeproduct; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8926,11 +9004,13 @@ export namespace vision_v1 { list( params: Params$Resource$Projects$Locations$Productsets$Products$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Productsets$Products$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Productsets$Products$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8965,8 +9045,10 @@ export namespace vision_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Productsets$Products$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9047,11 +9129,11 @@ export namespace vision_v1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9080,7 +9162,10 @@ export namespace vision_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/vision/v1p1beta1.ts b/src/apis/vision/v1p1beta1.ts index cf03950f8cd..3ad08b02bd6 100644 --- a/src/apis/vision/v1p1beta1.ts +++ b/src/apis/vision/v1p1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5029,11 +5029,13 @@ export namespace vision_v1p1beta1 { annotate( params: Params$Resource$Files$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Files$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5068,8 +5070,10 @@ export namespace vision_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5125,11 +5129,11 @@ export namespace vision_v1p1beta1 { asyncBatchAnnotate( params: Params$Resource$Files$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Files$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5158,7 +5162,10 @@ export namespace vision_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5234,11 +5241,13 @@ export namespace vision_v1p1beta1 { annotate( params: Params$Resource$Images$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Images$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5273,8 +5282,10 @@ export namespace vision_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5330,11 +5341,11 @@ export namespace vision_v1p1beta1 { asyncBatchAnnotate( params: Params$Resource$Images$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Images$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5363,7 +5374,10 @@ export namespace vision_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5452,11 +5466,13 @@ export namespace vision_v1p1beta1 { annotate( params: Params$Resource$Projects$Files$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Files$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Projects$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5491,8 +5507,10 @@ export namespace vision_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Files$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5549,11 +5567,11 @@ export namespace vision_v1p1beta1 { asyncBatchAnnotate( params: Params$Resource$Projects$Files$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Files$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5582,7 +5600,10 @@ export namespace vision_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Files$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5668,11 +5689,13 @@ export namespace vision_v1p1beta1 { annotate( params: Params$Resource$Projects$Images$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Images$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Projects$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5707,8 +5730,10 @@ export namespace vision_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Images$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5765,11 +5790,11 @@ export namespace vision_v1p1beta1 { asyncBatchAnnotate( params: Params$Resource$Projects$Images$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Images$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5798,7 +5823,10 @@ export namespace vision_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Images$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5895,11 +5923,13 @@ export namespace vision_v1p1beta1 { annotate( params: Params$Resource$Projects$Locations$Files$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Locations$Files$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Projects$Locations$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5934,8 +5964,10 @@ export namespace vision_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Files$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5992,11 +6024,11 @@ export namespace vision_v1p1beta1 { asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6025,7 +6057,10 @@ export namespace vision_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Files$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6112,11 +6147,13 @@ export namespace vision_v1p1beta1 { annotate( params: Params$Resource$Projects$Locations$Images$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Locations$Images$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Projects$Locations$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6151,8 +6188,10 @@ export namespace vision_v1p1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Images$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6209,11 +6248,11 @@ export namespace vision_v1p1beta1 { asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6242,7 +6281,10 @@ export namespace vision_v1p1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Images$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/vision/v1p2beta1.ts b/src/apis/vision/v1p2beta1.ts index 6d7531f4280..7454e9757d4 100644 --- a/src/apis/vision/v1p2beta1.ts +++ b/src/apis/vision/v1p2beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -5029,11 +5029,13 @@ export namespace vision_v1p2beta1 { annotate( params: Params$Resource$Files$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Files$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5068,8 +5070,10 @@ export namespace vision_v1p2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5125,11 +5129,11 @@ export namespace vision_v1p2beta1 { asyncBatchAnnotate( params: Params$Resource$Files$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Files$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5158,7 +5162,10 @@ export namespace vision_v1p2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Files$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5234,11 +5241,13 @@ export namespace vision_v1p2beta1 { annotate( params: Params$Resource$Images$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Images$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5273,8 +5282,10 @@ export namespace vision_v1p2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5330,11 +5341,11 @@ export namespace vision_v1p2beta1 { asyncBatchAnnotate( params: Params$Resource$Images$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Images$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5363,7 +5374,10 @@ export namespace vision_v1p2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Images$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5452,11 +5466,13 @@ export namespace vision_v1p2beta1 { annotate( params: Params$Resource$Projects$Files$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Files$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Projects$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5491,8 +5507,10 @@ export namespace vision_v1p2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Files$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5549,11 +5567,11 @@ export namespace vision_v1p2beta1 { asyncBatchAnnotate( params: Params$Resource$Projects$Files$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Files$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5582,7 +5600,10 @@ export namespace vision_v1p2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Files$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5668,11 +5689,13 @@ export namespace vision_v1p2beta1 { annotate( params: Params$Resource$Projects$Images$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Images$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Projects$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5707,8 +5730,10 @@ export namespace vision_v1p2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Images$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5765,11 +5790,11 @@ export namespace vision_v1p2beta1 { asyncBatchAnnotate( params: Params$Resource$Projects$Images$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Images$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5798,7 +5823,10 @@ export namespace vision_v1p2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Images$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5895,11 +5923,13 @@ export namespace vision_v1p2beta1 { annotate( params: Params$Resource$Projects$Locations$Files$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Locations$Files$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Projects$Locations$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -5934,8 +5964,10 @@ export namespace vision_v1p2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Files$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5992,11 +6024,11 @@ export namespace vision_v1p2beta1 { asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6025,7 +6057,10 @@ export namespace vision_v1p2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Files$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6112,11 +6147,13 @@ export namespace vision_v1p2beta1 { annotate( params: Params$Resource$Projects$Locations$Images$Annotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; annotate( params?: Params$Resource$Projects$Locations$Images$Annotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; annotate( params: Params$Resource$Projects$Locations$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6151,8 +6188,10 @@ export namespace vision_v1p2beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Images$Annotate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6209,11 +6248,11 @@ export namespace vision_v1p2beta1 { asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params?: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; asyncBatchAnnotate( params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback, @@ -6242,7 +6281,10 @@ export namespace vision_v1p2beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Images$Asyncbatchannotate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/vmmigration/index.ts b/src/apis/vmmigration/index.ts index f0e173d3a8e..cd85f4b665b 100644 --- a/src/apis/vmmigration/index.ts +++ b/src/apis/vmmigration/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/vmmigration/package.json b/src/apis/vmmigration/package.json index 0efac2ce7a5..04baaa13860 100644 --- a/src/apis/vmmigration/package.json +++ b/src/apis/vmmigration/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/vmmigration/v1.ts b/src/apis/vmmigration/v1.ts index 8c98a6955c3..1736b33808e 100644 --- a/src/apis/vmmigration/v1.ts +++ b/src/apis/vmmigration/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2697,11 +2697,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2730,7 +2730,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2782,11 +2785,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2819,8 +2822,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2913,11 +2916,11 @@ export namespace vmmigration_v1 { addGroupMigration( params: Params$Resource$Projects$Locations$Groups$Addgroupmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addGroupMigration( params?: Params$Resource$Projects$Locations$Groups$Addgroupmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addGroupMigration( params: Params$Resource$Projects$Locations$Groups$Addgroupmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -2946,7 +2949,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Addgroupmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3002,11 +3008,11 @@ export namespace vmmigration_v1 { create( params: Params$Resource$Projects$Locations$Groups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Groups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Groups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3035,7 +3041,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3090,11 +3099,11 @@ export namespace vmmigration_v1 { delete( params: Params$Resource$Projects$Locations$Groups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Groups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Groups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3123,7 +3132,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3175,11 +3187,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3208,7 +3220,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3260,11 +3275,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3295,8 +3310,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3351,11 +3366,11 @@ export namespace vmmigration_v1 { patch( params: Params$Resource$Projects$Locations$Groups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Groups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Groups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3384,7 +3399,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3436,11 +3454,11 @@ export namespace vmmigration_v1 { removeGroupMigration( params: Params$Resource$Projects$Locations$Groups$Removegroupmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeGroupMigration( params?: Params$Resource$Projects$Locations$Groups$Removegroupmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeGroupMigration( params: Params$Resource$Projects$Locations$Groups$Removegroupmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -3471,7 +3489,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Removegroupmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3645,11 +3666,11 @@ export namespace vmmigration_v1 { create( params: Params$Resource$Projects$Locations$Imageimports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Imageimports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Imageimports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3678,7 +3699,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3733,11 +3757,11 @@ export namespace vmmigration_v1 { delete( params: Params$Resource$Projects$Locations$Imageimports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Imageimports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Imageimports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3766,7 +3790,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3818,11 +3845,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Imageimports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Imageimports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Imageimports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3851,7 +3878,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3903,11 +3933,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Imageimports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Imageimports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Imageimports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3940,8 +3970,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4065,11 +4095,11 @@ export namespace vmmigration_v1 { cancel( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4098,7 +4128,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4151,11 +4184,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4184,7 +4217,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4237,11 +4273,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4276,8 +4312,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4383,11 +4419,11 @@ export namespace vmmigration_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4416,7 +4452,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4468,11 +4507,11 @@ export namespace vmmigration_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4501,7 +4540,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4553,11 +4595,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4586,7 +4628,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4638,11 +4683,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4675,8 +4720,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4798,11 +4843,11 @@ export namespace vmmigration_v1 { create( params: Params$Resource$Projects$Locations$Sources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4831,7 +4876,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4886,11 +4934,11 @@ export namespace vmmigration_v1 { delete( params: Params$Resource$Projects$Locations$Sources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4919,7 +4967,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4971,11 +5022,11 @@ export namespace vmmigration_v1 { fetchInventory( params: Params$Resource$Projects$Locations$Sources$Fetchinventory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchInventory( params?: Params$Resource$Projects$Locations$Sources$Fetchinventory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchInventory( params: Params$Resource$Projects$Locations$Sources$Fetchinventory, options: StreamMethodOptions | BodyResponseCallback, @@ -5010,8 +5061,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Fetchinventory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5067,11 +5118,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Sources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5100,7 +5151,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5152,11 +5206,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Sources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5187,8 +5241,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5243,11 +5297,11 @@ export namespace vmmigration_v1 { patch( params: Params$Resource$Projects$Locations$Sources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Sources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Sources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5276,7 +5330,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5436,11 +5493,11 @@ export namespace vmmigration_v1 { create( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5469,7 +5526,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5525,11 +5585,11 @@ export namespace vmmigration_v1 { delete( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5558,7 +5618,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5611,11 +5674,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5646,8 +5709,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5700,11 +5763,13 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5739,8 +5804,10 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Datacenterconnectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5798,11 +5865,11 @@ export namespace vmmigration_v1 { upgradeAppliance( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Upgradeappliance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgradeAppliance( params?: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Upgradeappliance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgradeAppliance( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Upgradeappliance, options: StreamMethodOptions | BodyResponseCallback, @@ -5831,7 +5898,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Upgradeappliance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5982,11 +6052,11 @@ export namespace vmmigration_v1 { create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6015,7 +6085,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6071,11 +6144,11 @@ export namespace vmmigration_v1 { delete( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6104,7 +6177,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6157,11 +6233,11 @@ export namespace vmmigration_v1 { finalizeMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Finalizemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; finalizeMigration( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Finalizemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; finalizeMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Finalizemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -6190,7 +6266,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Finalizemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6246,11 +6325,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6279,7 +6358,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6332,11 +6414,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6369,8 +6451,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6426,11 +6508,11 @@ export namespace vmmigration_v1 { patch( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6459,7 +6541,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6512,11 +6597,11 @@ export namespace vmmigration_v1 { pauseMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Pausemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pauseMigration( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Pausemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pauseMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Pausemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -6545,7 +6630,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Pausemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6601,11 +6689,11 @@ export namespace vmmigration_v1 { resumeMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Resumemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resumeMigration( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Resumemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resumeMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Resumemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -6634,7 +6722,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Resumemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6690,11 +6781,11 @@ export namespace vmmigration_v1 { startMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Startmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Startmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Startmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -6723,7 +6814,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Startmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6920,11 +7014,11 @@ export namespace vmmigration_v1 { cancel( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -6953,7 +7047,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7006,11 +7103,11 @@ export namespace vmmigration_v1 { create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7039,7 +7136,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7095,11 +7195,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7128,7 +7228,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7181,11 +7284,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7218,8 +7321,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7345,11 +7448,11 @@ export namespace vmmigration_v1 { cancel( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7378,7 +7481,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7431,11 +7537,11 @@ export namespace vmmigration_v1 { create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7464,7 +7570,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7520,11 +7629,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7553,7 +7662,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7606,11 +7718,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7643,8 +7755,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7770,11 +7882,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7803,7 +7915,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7856,11 +7971,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7895,8 +8010,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7992,11 +8107,11 @@ export namespace vmmigration_v1 { create( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Utilizationreports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8025,7 +8140,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Utilizationreports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8081,11 +8199,11 @@ export namespace vmmigration_v1 { delete( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sources$Utilizationreports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8114,7 +8232,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Utilizationreports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8167,11 +8288,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Utilizationreports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8202,8 +8323,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Utilizationreports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8256,11 +8377,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Utilizationreports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8295,8 +8416,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Utilizationreports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8431,11 +8552,11 @@ export namespace vmmigration_v1 { create( params: Params$Resource$Projects$Locations$Targetprojects$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Targetprojects$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Targetprojects$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8464,7 +8585,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targetprojects$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8519,11 +8643,11 @@ export namespace vmmigration_v1 { delete( params: Params$Resource$Projects$Locations$Targetprojects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Targetprojects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Targetprojects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8552,7 +8676,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targetprojects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8604,11 +8731,11 @@ export namespace vmmigration_v1 { get( params: Params$Resource$Projects$Locations$Targetprojects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Targetprojects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Targetprojects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8637,7 +8764,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targetprojects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8689,11 +8819,11 @@ export namespace vmmigration_v1 { list( params: Params$Resource$Projects$Locations$Targetprojects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Targetprojects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Targetprojects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8728,8 +8858,8 @@ export namespace vmmigration_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targetprojects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8784,11 +8914,11 @@ export namespace vmmigration_v1 { patch( params: Params$Resource$Projects$Locations$Targetprojects$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Targetprojects$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Targetprojects$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8817,7 +8947,10 @@ export namespace vmmigration_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targetprojects$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/vmmigration/v1alpha1.ts b/src/apis/vmmigration/v1alpha1.ts index 177244c924d..40eb234da74 100644 --- a/src/apis/vmmigration/v1alpha1.ts +++ b/src/apis/vmmigration/v1alpha1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2863,11 +2863,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2896,7 +2896,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2948,11 +2951,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2985,8 +2988,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3079,11 +3082,11 @@ export namespace vmmigration_v1alpha1 { addGroupMigration( params: Params$Resource$Projects$Locations$Groups$Addgroupmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addGroupMigration( params?: Params$Resource$Projects$Locations$Groups$Addgroupmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addGroupMigration( params: Params$Resource$Projects$Locations$Groups$Addgroupmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -3112,7 +3115,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Addgroupmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3168,11 +3174,11 @@ export namespace vmmigration_v1alpha1 { create( params: Params$Resource$Projects$Locations$Groups$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Groups$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Groups$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3201,7 +3207,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3256,11 +3265,11 @@ export namespace vmmigration_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Groups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Groups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Groups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3289,7 +3298,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3341,11 +3353,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Groups$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3374,7 +3386,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3426,11 +3441,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3461,8 +3476,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3517,11 +3532,11 @@ export namespace vmmigration_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Groups$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Groups$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Groups$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3550,7 +3565,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3602,11 +3620,11 @@ export namespace vmmigration_v1alpha1 { removeGroupMigration( params: Params$Resource$Projects$Locations$Groups$Removegroupmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; removeGroupMigration( params?: Params$Resource$Projects$Locations$Groups$Removegroupmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; removeGroupMigration( params: Params$Resource$Projects$Locations$Groups$Removegroupmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -3637,7 +3655,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Groups$Removegroupmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3811,11 +3832,11 @@ export namespace vmmigration_v1alpha1 { create( params: Params$Resource$Projects$Locations$Imageimports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Imageimports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Imageimports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3844,7 +3865,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3899,11 +3923,11 @@ export namespace vmmigration_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Imageimports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Imageimports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Imageimports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3932,7 +3956,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3984,11 +4011,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Imageimports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Imageimports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Imageimports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4017,7 +4044,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4069,11 +4099,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Imageimports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Imageimports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Imageimports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4106,8 +4136,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4231,11 +4261,11 @@ export namespace vmmigration_v1alpha1 { cancel( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4264,7 +4294,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4320,11 +4353,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4353,7 +4386,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4406,11 +4442,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4445,8 +4481,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4552,11 +4588,11 @@ export namespace vmmigration_v1alpha1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -4585,7 +4621,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4640,11 +4679,11 @@ export namespace vmmigration_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4673,7 +4712,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4725,11 +4767,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4758,7 +4800,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4810,11 +4855,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4847,8 +4892,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4970,11 +5015,11 @@ export namespace vmmigration_v1alpha1 { create( params: Params$Resource$Projects$Locations$Sources$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5003,7 +5048,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5058,11 +5106,11 @@ export namespace vmmigration_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Sources$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sources$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sources$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5091,7 +5139,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5143,11 +5194,11 @@ export namespace vmmigration_v1alpha1 { fetchInventory( params: Params$Resource$Projects$Locations$Sources$Fetchinventory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchInventory( params?: Params$Resource$Projects$Locations$Sources$Fetchinventory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; fetchInventory( params: Params$Resource$Projects$Locations$Sources$Fetchinventory, options: StreamMethodOptions | BodyResponseCallback, @@ -5182,8 +5233,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Fetchinventory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5239,11 +5290,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Sources$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5272,7 +5323,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5324,11 +5378,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Sources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5359,8 +5413,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5415,11 +5469,11 @@ export namespace vmmigration_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Sources$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Sources$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Sources$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5448,7 +5502,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5608,11 +5665,11 @@ export namespace vmmigration_v1alpha1 { create( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5641,7 +5698,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5697,11 +5757,11 @@ export namespace vmmigration_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5730,7 +5790,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5783,11 +5846,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5818,8 +5881,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5872,11 +5935,13 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5911,8 +5976,10 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Datacenterconnectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5970,11 +6037,11 @@ export namespace vmmigration_v1alpha1 { upgradeAppliance( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Upgradeappliance, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upgradeAppliance( params?: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Upgradeappliance, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; upgradeAppliance( params: Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Upgradeappliance, options: StreamMethodOptions | BodyResponseCallback, @@ -6003,7 +6070,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Datacenterconnectors$Upgradeappliance; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6154,11 +6224,11 @@ export namespace vmmigration_v1alpha1 { create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6187,7 +6257,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6243,11 +6316,11 @@ export namespace vmmigration_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6276,7 +6349,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6329,11 +6405,11 @@ export namespace vmmigration_v1alpha1 { finalizeMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Finalizemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; finalizeMigration( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Finalizemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; finalizeMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Finalizemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -6362,7 +6438,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Finalizemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6417,11 +6496,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6450,7 +6529,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6503,11 +6585,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6540,8 +6622,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6597,11 +6679,11 @@ export namespace vmmigration_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6630,7 +6712,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6683,11 +6768,11 @@ export namespace vmmigration_v1alpha1 { pauseMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Pausemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; pauseMigration( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Pausemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; pauseMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Pausemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -6716,7 +6801,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Pausemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6772,11 +6860,11 @@ export namespace vmmigration_v1alpha1 { resumeMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Resumemigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resumeMigration( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Resumemigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resumeMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Resumemigration, options: StreamMethodOptions | BodyResponseCallback, @@ -6805,7 +6893,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Resumemigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6861,11 +6952,11 @@ export namespace vmmigration_v1alpha1 { startMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Startmigration, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Startmigration, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; startMigration( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Startmigration, options: StreamMethodOptions | BodyResponseCallback, @@ -6894,7 +6985,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Startmigration; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7091,11 +7185,11 @@ export namespace vmmigration_v1alpha1 { cancel( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7124,7 +7218,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7180,11 +7277,11 @@ export namespace vmmigration_v1alpha1 { create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7213,7 +7310,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7269,11 +7369,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7302,7 +7402,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7355,11 +7458,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7392,8 +7495,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Clonejobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7519,11 +7622,11 @@ export namespace vmmigration_v1alpha1 { cancel( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -7552,7 +7655,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7608,11 +7714,11 @@ export namespace vmmigration_v1alpha1 { create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7641,7 +7747,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7697,11 +7806,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7730,7 +7839,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7783,11 +7895,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7820,8 +7932,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Cutoverjobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7947,11 +8059,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7980,7 +8092,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8033,11 +8148,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8072,8 +8187,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Migratingvms$Replicationcycles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8169,11 +8284,11 @@ export namespace vmmigration_v1alpha1 { create( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Sources$Utilizationreports$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8202,7 +8317,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Utilizationreports$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8258,11 +8376,11 @@ export namespace vmmigration_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Sources$Utilizationreports$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8291,7 +8409,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Utilizationreports$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8344,11 +8465,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Sources$Utilizationreports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8379,8 +8500,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Utilizationreports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8433,11 +8554,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Sources$Utilizationreports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Sources$Utilizationreports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8472,8 +8593,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Sources$Utilizationreports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8608,11 +8729,11 @@ export namespace vmmigration_v1alpha1 { create( params: Params$Resource$Projects$Locations$Targetprojects$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Targetprojects$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Targetprojects$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8641,7 +8762,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targetprojects$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8696,11 +8820,11 @@ export namespace vmmigration_v1alpha1 { delete( params: Params$Resource$Projects$Locations$Targetprojects$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Targetprojects$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Targetprojects$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8729,7 +8853,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targetprojects$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8781,11 +8908,11 @@ export namespace vmmigration_v1alpha1 { get( params: Params$Resource$Projects$Locations$Targetprojects$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Targetprojects$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Targetprojects$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8814,7 +8941,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targetprojects$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8866,11 +8996,11 @@ export namespace vmmigration_v1alpha1 { list( params: Params$Resource$Projects$Locations$Targetprojects$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Targetprojects$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Targetprojects$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8905,8 +9035,8 @@ export namespace vmmigration_v1alpha1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targetprojects$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8961,11 +9091,11 @@ export namespace vmmigration_v1alpha1 { patch( params: Params$Resource$Projects$Locations$Targetprojects$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Targetprojects$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Targetprojects$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8994,7 +9124,10 @@ export namespace vmmigration_v1alpha1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Targetprojects$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/vmwareengine/index.ts b/src/apis/vmwareengine/index.ts index ba77f88966e..5a57961ab6d 100644 --- a/src/apis/vmwareengine/index.ts +++ b/src/apis/vmwareengine/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/vmwareengine/package.json b/src/apis/vmwareengine/package.json index 169493016ba..6e01d594cb1 100644 --- a/src/apis/vmwareengine/package.json +++ b/src/apis/vmwareengine/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/vmwareengine/v1.ts b/src/apis/vmwareengine/v1.ts index b11dee4d01b..fb9a9205a3f 100644 --- a/src/apis/vmwareengine/v1.ts +++ b/src/apis/vmwareengine/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -2012,11 +2012,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2045,7 +2045,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2097,11 +2100,11 @@ export namespace vmwareengine_v1 { getDnsBindPermission( params: Params$Resource$Projects$Locations$Getdnsbindpermission, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDnsBindPermission( params?: Params$Resource$Projects$Locations$Getdnsbindpermission, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getDnsBindPermission( params: Params$Resource$Projects$Locations$Getdnsbindpermission, options: StreamMethodOptions | BodyResponseCallback, @@ -2134,8 +2137,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Getdnsbindpermission; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2187,11 +2190,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2224,8 +2227,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2325,11 +2328,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Announcements$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Announcements$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Announcements$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2358,7 +2361,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Announcements$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2410,11 +2416,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Announcements$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Announcements$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Announcements$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2449,8 +2455,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Announcements$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2543,11 +2549,11 @@ export namespace vmwareengine_v1 { grant( params: Params$Resource$Projects$Locations$Dnsbindpermission$Grant, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; grant( params?: Params$Resource$Projects$Locations$Dnsbindpermission$Grant, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; grant( params: Params$Resource$Projects$Locations$Dnsbindpermission$Grant, options: StreamMethodOptions | BodyResponseCallback, @@ -2576,7 +2582,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dnsbindpermission$Grant; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2629,11 +2638,11 @@ export namespace vmwareengine_v1 { revoke( params: Params$Resource$Projects$Locations$Dnsbindpermission$Revoke, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params?: Params$Resource$Projects$Locations$Dnsbindpermission$Revoke, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; revoke( params: Params$Resource$Projects$Locations$Dnsbindpermission$Revoke, options: StreamMethodOptions | BodyResponseCallback, @@ -2662,7 +2671,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Dnsbindpermission$Revoke; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2752,11 +2764,11 @@ export namespace vmwareengine_v1 { create( params: Params$Resource$Projects$Locations$Networkpeerings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Networkpeerings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Networkpeerings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2785,7 +2797,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpeerings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2841,11 +2856,11 @@ export namespace vmwareengine_v1 { delete( params: Params$Resource$Projects$Locations$Networkpeerings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Networkpeerings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Networkpeerings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2874,7 +2889,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpeerings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2927,11 +2945,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Networkpeerings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Networkpeerings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Networkpeerings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2960,7 +2978,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpeerings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3012,11 +3033,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Networkpeerings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Networkpeerings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Networkpeerings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3051,8 +3072,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpeerings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3107,11 +3128,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Networkpeerings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Networkpeerings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Networkpeerings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3140,7 +3161,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpeerings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3281,11 +3305,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3320,8 +3344,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3409,11 +3433,11 @@ export namespace vmwareengine_v1 { create( params: Params$Resource$Projects$Locations$Networkpolicies$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Networkpolicies$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Networkpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3442,7 +3466,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3498,11 +3525,11 @@ export namespace vmwareengine_v1 { delete( params: Params$Resource$Projects$Locations$Networkpolicies$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Networkpolicies$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Networkpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3531,7 +3558,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3584,11 +3614,13 @@ export namespace vmwareengine_v1 { fetchExternalAddresses( params: Params$Resource$Projects$Locations$Networkpolicies$Fetchexternaladdresses, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; fetchExternalAddresses( params?: Params$Resource$Projects$Locations$Networkpolicies$Fetchexternaladdresses, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; fetchExternalAddresses( params: Params$Resource$Projects$Locations$Networkpolicies$Fetchexternaladdresses, options: StreamMethodOptions | BodyResponseCallback, @@ -3623,8 +3655,10 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpolicies$Fetchexternaladdresses; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3681,11 +3715,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Networkpolicies$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Networkpolicies$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Networkpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3714,7 +3748,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3766,11 +3803,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Networkpolicies$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Networkpolicies$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Networkpolicies$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3805,8 +3842,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3861,11 +3898,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Networkpolicies$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Networkpolicies$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Networkpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3894,7 +3931,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4050,11 +4090,11 @@ export namespace vmwareengine_v1 { create( params: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -4083,7 +4123,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4139,11 +4182,11 @@ export namespace vmwareengine_v1 { delete( params: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4172,7 +4215,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4225,11 +4271,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4260,8 +4306,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4314,11 +4360,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4353,8 +4399,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4412,11 +4458,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4445,7 +4491,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Networkpolicies$Externalaccessrules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4587,11 +4636,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Nodetypes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Nodetypes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Nodetypes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4620,7 +4669,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodetypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4672,11 +4724,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Nodetypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Nodetypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Nodetypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4709,8 +4761,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Nodetypes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4799,11 +4851,11 @@ export namespace vmwareengine_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -4832,7 +4884,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4884,11 +4939,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4917,7 +4972,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4969,11 +5027,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5006,8 +5064,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5135,11 +5193,11 @@ export namespace vmwareengine_v1 { create( params: Params$Resource$Projects$Locations$Privateclouds$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateclouds$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateclouds$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -5168,7 +5226,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5223,11 +5284,11 @@ export namespace vmwareengine_v1 { delete( params: Params$Resource$Projects$Locations$Privateclouds$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Privateclouds$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Privateclouds$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5256,7 +5317,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5308,11 +5372,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Privateclouds$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateclouds$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateclouds$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5341,7 +5405,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5393,11 +5460,11 @@ export namespace vmwareengine_v1 { getDnsForwarding( params: Params$Resource$Projects$Locations$Privateclouds$Getdnsforwarding, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getDnsForwarding( params?: Params$Resource$Projects$Locations$Privateclouds$Getdnsforwarding, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getDnsForwarding( params: Params$Resource$Projects$Locations$Privateclouds$Getdnsforwarding, options: StreamMethodOptions | BodyResponseCallback, @@ -5428,7 +5495,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Getdnsforwarding; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5481,11 +5551,11 @@ export namespace vmwareengine_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Privateclouds$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5514,7 +5584,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5570,11 +5643,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Privateclouds$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateclouds$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateclouds$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5609,8 +5682,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5665,11 +5738,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Privateclouds$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Privateclouds$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Privateclouds$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5698,7 +5771,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5750,11 +5826,11 @@ export namespace vmwareengine_v1 { resetNsxCredentials( params: Params$Resource$Projects$Locations$Privateclouds$Resetnsxcredentials, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetNsxCredentials( params?: Params$Resource$Projects$Locations$Privateclouds$Resetnsxcredentials, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetNsxCredentials( params: Params$Resource$Projects$Locations$Privateclouds$Resetnsxcredentials, options: StreamMethodOptions | BodyResponseCallback, @@ -5783,7 +5859,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Resetnsxcredentials; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5839,11 +5918,11 @@ export namespace vmwareengine_v1 { resetVcenterCredentials( params: Params$Resource$Projects$Locations$Privateclouds$Resetvcentercredentials, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; resetVcenterCredentials( params?: Params$Resource$Projects$Locations$Privateclouds$Resetvcentercredentials, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; resetVcenterCredentials( params: Params$Resource$Projects$Locations$Privateclouds$Resetvcentercredentials, options: StreamMethodOptions | BodyResponseCallback, @@ -5874,7 +5953,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Resetvcentercredentials; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5929,11 +6011,11 @@ export namespace vmwareengine_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Privateclouds$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -5962,7 +6044,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6018,11 +6103,11 @@ export namespace vmwareengine_v1 { showNsxCredentials( params: Params$Resource$Projects$Locations$Privateclouds$Shownsxcredentials, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; showNsxCredentials( params?: Params$Resource$Projects$Locations$Privateclouds$Shownsxcredentials, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; showNsxCredentials( params: Params$Resource$Projects$Locations$Privateclouds$Shownsxcredentials, options: StreamMethodOptions | BodyResponseCallback, @@ -6053,7 +6138,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Shownsxcredentials; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6109,11 +6197,11 @@ export namespace vmwareengine_v1 { showVcenterCredentials( params: Params$Resource$Projects$Locations$Privateclouds$Showvcentercredentials, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; showVcenterCredentials( params?: Params$Resource$Projects$Locations$Privateclouds$Showvcentercredentials, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; showVcenterCredentials( params: Params$Resource$Projects$Locations$Privateclouds$Showvcentercredentials, options: StreamMethodOptions | BodyResponseCallback, @@ -6144,7 +6232,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Showvcentercredentials; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6199,11 +6290,11 @@ export namespace vmwareengine_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Privateclouds$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Privateclouds$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Privateclouds$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -6238,8 +6329,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6295,11 +6386,11 @@ export namespace vmwareengine_v1 { undelete( params: Params$Resource$Projects$Locations$Privateclouds$Undelete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params?: Params$Resource$Projects$Locations$Privateclouds$Undelete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; undelete( params: Params$Resource$Projects$Locations$Privateclouds$Undelete, options: StreamMethodOptions | BodyResponseCallback, @@ -6328,7 +6419,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Undelete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6384,11 +6478,11 @@ export namespace vmwareengine_v1 { updateDnsForwarding( params: Params$Resource$Projects$Locations$Privateclouds$Updatednsforwarding, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateDnsForwarding( params?: Params$Resource$Projects$Locations$Privateclouds$Updatednsforwarding, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateDnsForwarding( params: Params$Resource$Projects$Locations$Privateclouds$Updatednsforwarding, options: StreamMethodOptions | BodyResponseCallback, @@ -6417,7 +6511,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Updatednsforwarding; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6691,11 +6788,11 @@ export namespace vmwareengine_v1 { create( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateclouds$Clusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -6724,7 +6821,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Clusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6780,11 +6880,11 @@ export namespace vmwareengine_v1 { delete( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Privateclouds$Clusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6813,7 +6913,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Clusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6866,11 +6969,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateclouds$Clusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6899,7 +7002,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Clusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6952,11 +7058,11 @@ export namespace vmwareengine_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Privateclouds$Clusters$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -6985,7 +7091,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Clusters$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7041,11 +7150,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateclouds$Clusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7078,8 +7187,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Clusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7135,11 +7244,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Privateclouds$Clusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7168,7 +7277,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Clusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7221,11 +7333,11 @@ export namespace vmwareengine_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Privateclouds$Clusters$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -7254,7 +7366,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Clusters$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7310,11 +7425,11 @@ export namespace vmwareengine_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Privateclouds$Clusters$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -7349,8 +7464,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Clusters$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7538,11 +7653,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Nodes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateclouds$Clusters$Nodes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Nodes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7571,7 +7686,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Clusters$Nodes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7624,11 +7742,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Nodes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateclouds$Clusters$Nodes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateclouds$Clusters$Nodes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7659,8 +7777,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Clusters$Nodes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7746,11 +7864,11 @@ export namespace vmwareengine_v1 { create( params: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -7779,7 +7897,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7835,11 +7956,11 @@ export namespace vmwareengine_v1 { delete( params: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7868,7 +7989,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7921,11 +8045,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7954,7 +8078,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8007,11 +8134,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8046,8 +8173,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8105,11 +8232,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8138,7 +8265,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Externaladdresses$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8280,11 +8410,11 @@ export namespace vmwareengine_v1 { create( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8313,7 +8443,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8369,11 +8502,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8402,7 +8535,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8455,11 +8591,11 @@ export namespace vmwareengine_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8488,7 +8624,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8544,11 +8683,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8583,8 +8722,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8642,11 +8781,11 @@ export namespace vmwareengine_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -8675,7 +8814,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8731,11 +8873,11 @@ export namespace vmwareengine_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -8770,8 +8912,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Hcxactivationkeys$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8912,11 +9054,11 @@ export namespace vmwareengine_v1 { create( params: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -8945,7 +9087,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9001,11 +9146,11 @@ export namespace vmwareengine_v1 { delete( params: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9034,7 +9179,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9087,11 +9235,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9120,7 +9268,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9173,11 +9324,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9212,8 +9363,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Loggingservers$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9269,11 +9420,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9302,7 +9453,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Loggingservers$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9444,11 +9598,11 @@ export namespace vmwareengine_v1 { create( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -9477,7 +9631,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9533,11 +9690,11 @@ export namespace vmwareengine_v1 { delete( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9566,7 +9723,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9619,11 +9779,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9656,8 +9816,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9710,11 +9870,13 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9749,8 +9911,10 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9808,11 +9972,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9841,7 +10005,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9894,11 +10061,11 @@ export namespace vmwareengine_v1 { repair( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Repair, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; repair( params?: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Repair, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; repair( params: Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Repair, options: StreamMethodOptions | BodyResponseCallback, @@ -9927,7 +10094,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Managementdnszonebindings$Repair; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10081,11 +10251,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Privateclouds$Subnets$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateclouds$Subnets$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateclouds$Subnets$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10114,7 +10284,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Subnets$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10167,11 +10340,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Privateclouds$Subnets$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateclouds$Subnets$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateclouds$Subnets$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10202,8 +10375,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Subnets$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10259,11 +10432,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Privateclouds$Subnets$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Privateclouds$Subnets$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Privateclouds$Subnets$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10292,7 +10465,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Subnets$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10391,11 +10567,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Privateclouds$Upgrades$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateclouds$Upgrades$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateclouds$Upgrades$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10424,7 +10600,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Upgrades$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10477,11 +10656,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Privateclouds$Upgrades$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateclouds$Upgrades$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateclouds$Upgrades$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10514,8 +10693,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Upgrades$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10571,11 +10750,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Privateclouds$Upgrades$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Privateclouds$Upgrades$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Privateclouds$Upgrades$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10604,7 +10783,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateclouds$Upgrades$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10720,11 +10902,11 @@ export namespace vmwareengine_v1 { create( params: Params$Resource$Projects$Locations$Privateconnections$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Privateconnections$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Privateconnections$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -10753,7 +10935,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10809,11 +10994,11 @@ export namespace vmwareengine_v1 { delete( params: Params$Resource$Projects$Locations$Privateconnections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Privateconnections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Privateconnections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10842,7 +11027,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10895,11 +11083,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Privateconnections$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Privateconnections$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Privateconnections$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10930,8 +11118,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10984,11 +11172,11 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Privateconnections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateconnections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Privateconnections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11023,8 +11211,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11082,11 +11270,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Privateconnections$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Privateconnections$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Privateconnections$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11115,7 +11303,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11257,11 +11448,13 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Privateconnections$Peeringroutes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Privateconnections$Peeringroutes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Privateconnections$Peeringroutes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11296,8 +11489,10 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Privateconnections$Peeringroutes$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11378,11 +11573,11 @@ export namespace vmwareengine_v1 { create( params: Params$Resource$Projects$Locations$Vmwareenginenetworks$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Vmwareenginenetworks$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Vmwareenginenetworks$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -11411,7 +11606,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareenginenetworks$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11467,11 +11665,11 @@ export namespace vmwareengine_v1 { delete( params: Params$Resource$Projects$Locations$Vmwareenginenetworks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Vmwareenginenetworks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Vmwareenginenetworks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11500,7 +11698,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareenginenetworks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11553,11 +11754,11 @@ export namespace vmwareengine_v1 { get( params: Params$Resource$Projects$Locations$Vmwareenginenetworks$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Vmwareenginenetworks$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Vmwareenginenetworks$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11588,8 +11789,8 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareenginenetworks$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11642,11 +11843,13 @@ export namespace vmwareengine_v1 { list( params: Params$Resource$Projects$Locations$Vmwareenginenetworks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Vmwareenginenetworks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Locations$Vmwareenginenetworks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11681,8 +11884,10 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareenginenetworks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11740,11 +11945,11 @@ export namespace vmwareengine_v1 { patch( params: Params$Resource$Projects$Locations$Vmwareenginenetworks$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Vmwareenginenetworks$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Vmwareenginenetworks$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11773,7 +11978,10 @@ export namespace vmwareengine_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Vmwareenginenetworks$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/vpcaccess/index.ts b/src/apis/vpcaccess/index.ts index 3fe0b643cfb..75ad08f9a75 100644 --- a/src/apis/vpcaccess/index.ts +++ b/src/apis/vpcaccess/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/vpcaccess/package.json b/src/apis/vpcaccess/package.json index 22b58d9d1c8..7af891b6082 100644 --- a/src/apis/vpcaccess/package.json +++ b/src/apis/vpcaccess/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/vpcaccess/v1.ts b/src/apis/vpcaccess/v1.ts index 997facb8880..07949a9660f 100644 --- a/src/apis/vpcaccess/v1.ts +++ b/src/apis/vpcaccess/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -390,11 +390,11 @@ export namespace vpcaccess_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -427,8 +427,8 @@ export namespace vpcaccess_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -514,11 +514,11 @@ export namespace vpcaccess_v1 { create( params: Params$Resource$Projects$Locations$Connectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -547,7 +547,10 @@ export namespace vpcaccess_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -602,11 +605,11 @@ export namespace vpcaccess_v1 { delete( params: Params$Resource$Projects$Locations$Connectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -635,7 +638,10 @@ export namespace vpcaccess_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -687,11 +693,11 @@ export namespace vpcaccess_v1 { get( params: Params$Resource$Projects$Locations$Connectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -720,7 +726,10 @@ export namespace vpcaccess_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -772,11 +781,11 @@ export namespace vpcaccess_v1 { list( params: Params$Resource$Projects$Locations$Connectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -809,8 +818,8 @@ export namespace vpcaccess_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -865,11 +874,11 @@ export namespace vpcaccess_v1 { patch( params: Params$Resource$Projects$Locations$Connectors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connectors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connectors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -898,7 +907,10 @@ export namespace vpcaccess_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1019,11 +1031,11 @@ export namespace vpcaccess_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1052,7 +1064,10 @@ export namespace vpcaccess_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1104,11 +1119,11 @@ export namespace vpcaccess_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1141,8 +1156,8 @@ export namespace vpcaccess_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/vpcaccess/v1beta1.ts b/src/apis/vpcaccess/v1beta1.ts index 8928024124f..e5faa507a87 100644 --- a/src/apis/vpcaccess/v1beta1.ts +++ b/src/apis/vpcaccess/v1beta1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -398,11 +398,11 @@ export namespace vpcaccess_v1beta1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -435,8 +435,8 @@ export namespace vpcaccess_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -522,11 +522,11 @@ export namespace vpcaccess_v1beta1 { create( params: Params$Resource$Projects$Locations$Connectors$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Connectors$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Connectors$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -555,7 +555,10 @@ export namespace vpcaccess_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -610,11 +613,11 @@ export namespace vpcaccess_v1beta1 { delete( params: Params$Resource$Projects$Locations$Connectors$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Connectors$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Connectors$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -643,7 +646,10 @@ export namespace vpcaccess_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -695,11 +701,11 @@ export namespace vpcaccess_v1beta1 { get( params: Params$Resource$Projects$Locations$Connectors$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Connectors$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Connectors$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -728,7 +734,10 @@ export namespace vpcaccess_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -780,11 +789,11 @@ export namespace vpcaccess_v1beta1 { list( params: Params$Resource$Projects$Locations$Connectors$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Connectors$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Connectors$List, options: StreamMethodOptions | BodyResponseCallback, @@ -817,8 +826,8 @@ export namespace vpcaccess_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -873,11 +882,11 @@ export namespace vpcaccess_v1beta1 { patch( params: Params$Resource$Projects$Locations$Connectors$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Connectors$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Connectors$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -906,7 +915,10 @@ export namespace vpcaccess_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Connectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1027,11 +1039,11 @@ export namespace vpcaccess_v1beta1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1060,7 +1072,10 @@ export namespace vpcaccess_v1beta1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1112,11 +1127,11 @@ export namespace vpcaccess_v1beta1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1149,8 +1164,8 @@ export namespace vpcaccess_v1beta1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/walletobjects/index.ts b/src/apis/walletobjects/index.ts index 2ae013d58de..4d3ae238286 100644 --- a/src/apis/walletobjects/index.ts +++ b/src/apis/walletobjects/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/walletobjects/package.json b/src/apis/walletobjects/package.json index f3438d93237..a71b879353a 100644 --- a/src/apis/walletobjects/package.json +++ b/src/apis/walletobjects/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/walletobjects/v1.ts b/src/apis/walletobjects/v1.ts index e441ca0bead..1d4fe02c149 100644 --- a/src/apis/walletobjects/v1.ts +++ b/src/apis/walletobjects/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -675,7 +675,7 @@ export namespace walletobjects_v1 { */ export interface Schema$DiscoverableProgramMerchantSignupInfo { /** - * User data that is sent in a POST request to the signup website URL. This information is encoded and then shared so that the merchant's website can prefill fields used to enroll the user for the discoverable program. + * User data that is sent in a POST request to the signup website URL. This information is encoded and then shared so that the merchant's website can prefill fields used to enroll the user for the discoverable program. */ signupSharedDatas?: string[] | null; /** @@ -4347,11 +4347,13 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Eventticketclass$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Eventticketclass$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addmessage( params: Params$Resource$Eventticketclass$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -4386,8 +4388,10 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketclass$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4445,11 +4449,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Eventticketclass$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Eventticketclass$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Eventticketclass$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -4478,7 +4482,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketclass$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4533,11 +4540,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Eventticketclass$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Eventticketclass$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Eventticketclass$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4566,7 +4573,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketclass$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4622,11 +4632,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Eventticketclass$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Eventticketclass$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Eventticketclass$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4661,8 +4671,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketclass$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4720,11 +4730,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Eventticketclass$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Eventticketclass$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Eventticketclass$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -4753,7 +4763,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketclass$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4808,11 +4821,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Eventticketclass$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Eventticketclass$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Eventticketclass$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -4841,7 +4854,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketclass$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4969,11 +4985,13 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Eventticketobject$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Eventticketobject$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addmessage( params: Params$Resource$Eventticketobject$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -5008,8 +5026,10 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketobject$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5067,11 +5087,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Eventticketobject$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Eventticketobject$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Eventticketobject$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5102,8 +5122,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketobject$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5158,11 +5178,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Eventticketobject$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Eventticketobject$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Eventticketobject$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5193,8 +5213,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketobject$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5250,11 +5270,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Eventticketobject$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Eventticketobject$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Eventticketobject$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5289,8 +5309,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketobject$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5348,11 +5368,11 @@ export namespace walletobjects_v1 { modifylinkedofferobjects( params: Params$Resource$Eventticketobject$Modifylinkedofferobjects, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifylinkedofferobjects( params?: Params$Resource$Eventticketobject$Modifylinkedofferobjects, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifylinkedofferobjects( params: Params$Resource$Eventticketobject$Modifylinkedofferobjects, options: StreamMethodOptions | BodyResponseCallback, @@ -5385,8 +5405,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketobject$Modifylinkedofferobjects; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5443,11 +5463,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Eventticketobject$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Eventticketobject$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Eventticketobject$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -5478,8 +5498,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketobject$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5534,11 +5554,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Eventticketobject$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Eventticketobject$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Eventticketobject$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5569,8 +5589,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Eventticketobject$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5710,11 +5730,11 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Flightclass$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Flightclass$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params: Params$Resource$Flightclass$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -5749,8 +5769,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightclass$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5807,11 +5827,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Flightclass$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Flightclass$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Flightclass$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -5840,7 +5860,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightclass$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5894,11 +5917,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Flightclass$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Flightclass$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Flightclass$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5927,7 +5950,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightclass$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5983,11 +6009,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Flightclass$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Flightclass$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Flightclass$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6020,8 +6046,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightclass$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6076,11 +6102,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Flightclass$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Flightclass$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Flightclass$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6109,7 +6135,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightclass$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6164,11 +6193,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Flightclass$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Flightclass$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Flightclass$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6197,7 +6226,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightclass$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6323,11 +6355,11 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Flightobject$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Flightobject$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params: Params$Resource$Flightobject$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -6362,8 +6394,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightobject$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6420,11 +6452,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Flightobject$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Flightobject$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Flightobject$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -6453,7 +6485,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightobject$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6507,11 +6542,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Flightobject$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Flightobject$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Flightobject$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6540,7 +6575,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightobject$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6596,11 +6634,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Flightobject$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Flightobject$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Flightobject$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6633,8 +6671,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightobject$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6690,11 +6728,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Flightobject$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Flightobject$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Flightobject$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -6723,7 +6761,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightobject$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6778,11 +6819,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Flightobject$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Flightobject$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Flightobject$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6811,7 +6852,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Flightobject$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6938,11 +6982,11 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Genericclass$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Genericclass$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params: Params$Resource$Genericclass$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -6977,8 +7021,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericclass$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7035,11 +7079,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Genericclass$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Genericclass$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Genericclass$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7068,7 +7112,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericclass$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7122,11 +7169,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Genericclass$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Genericclass$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Genericclass$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7155,7 +7202,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericclass$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7211,11 +7261,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Genericclass$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Genericclass$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Genericclass$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7248,8 +7298,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericclass$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7305,11 +7355,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Genericclass$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Genericclass$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Genericclass$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7338,7 +7388,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericclass$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7393,11 +7446,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Genericclass$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Genericclass$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Genericclass$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -7426,7 +7479,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericclass$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7553,11 +7609,11 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Genericobject$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Genericobject$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params: Params$Resource$Genericobject$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -7592,8 +7648,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericobject$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7651,11 +7707,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Genericobject$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Genericobject$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Genericobject$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -7684,7 +7740,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericobject$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7739,11 +7798,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Genericobject$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Genericobject$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Genericobject$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7772,7 +7831,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericobject$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7828,11 +7890,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Genericobject$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Genericobject$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Genericobject$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7867,8 +7929,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericobject$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7924,11 +7986,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Genericobject$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Genericobject$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Genericobject$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -7957,7 +8019,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericobject$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8012,11 +8077,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Genericobject$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Genericobject$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Genericobject$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8045,7 +8110,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Genericobject$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8173,11 +8241,11 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Giftcardclass$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Giftcardclass$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params: Params$Resource$Giftcardclass$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -8212,8 +8280,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardclass$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8271,11 +8339,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Giftcardclass$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Giftcardclass$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Giftcardclass$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8304,7 +8372,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardclass$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8359,11 +8430,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Giftcardclass$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Giftcardclass$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Giftcardclass$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8392,7 +8463,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardclass$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8448,11 +8522,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Giftcardclass$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Giftcardclass$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Giftcardclass$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8487,8 +8561,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardclass$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8544,11 +8618,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Giftcardclass$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Giftcardclass$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Giftcardclass$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -8577,7 +8651,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardclass$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8632,11 +8709,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Giftcardclass$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Giftcardclass$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Giftcardclass$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8665,7 +8742,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardclass$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8793,11 +8873,13 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Giftcardobject$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Giftcardobject$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; addmessage( params: Params$Resource$Giftcardobject$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -8832,8 +8914,10 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardobject$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8891,11 +8975,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Giftcardobject$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Giftcardobject$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Giftcardobject$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -8924,7 +9008,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardobject$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8979,11 +9066,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Giftcardobject$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Giftcardobject$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Giftcardobject$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9012,7 +9099,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardobject$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9068,11 +9158,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Giftcardobject$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Giftcardobject$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Giftcardobject$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9107,8 +9197,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardobject$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9164,11 +9254,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Giftcardobject$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Giftcardobject$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Giftcardobject$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9197,7 +9287,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardobject$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9252,11 +9345,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Giftcardobject$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Giftcardobject$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Giftcardobject$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9285,7 +9378,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Giftcardobject$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9413,11 +9509,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Issuer$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Issuer$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Issuer$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -9446,7 +9542,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Issuer$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9501,11 +9600,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Issuer$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Issuer$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Issuer$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9534,7 +9633,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Issuer$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9589,11 +9691,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Issuer$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Issuer$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Issuer$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9624,8 +9726,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Issuer$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9680,11 +9782,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Issuer$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Issuer$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Issuer$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -9713,7 +9815,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Issuer$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9768,11 +9873,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Issuer$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Issuer$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Issuer$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9801,7 +9906,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Issuer$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9899,11 +10007,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Jwt$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Jwt$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Jwt$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9934,8 +10042,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jwt$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10004,11 +10112,11 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Loyaltyclass$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Loyaltyclass$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params: Params$Resource$Loyaltyclass$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -10043,8 +10151,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyclass$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10101,11 +10209,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Loyaltyclass$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Loyaltyclass$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Loyaltyclass$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10134,7 +10242,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyclass$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10188,11 +10299,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Loyaltyclass$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Loyaltyclass$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Loyaltyclass$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10221,7 +10332,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyclass$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10277,11 +10391,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Loyaltyclass$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Loyaltyclass$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Loyaltyclass$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10314,8 +10428,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyclass$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10371,11 +10485,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Loyaltyclass$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Loyaltyclass$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Loyaltyclass$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -10404,7 +10518,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyclass$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10459,11 +10576,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Loyaltyclass$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Loyaltyclass$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Loyaltyclass$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10492,7 +10609,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyclass$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10619,11 +10739,11 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Loyaltyobject$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Loyaltyobject$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params: Params$Resource$Loyaltyobject$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -10658,8 +10778,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyobject$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10717,11 +10837,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Loyaltyobject$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Loyaltyobject$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Loyaltyobject$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -10750,7 +10870,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyobject$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10805,11 +10928,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Loyaltyobject$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Loyaltyobject$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Loyaltyobject$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10838,7 +10961,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyobject$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10894,11 +11020,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Loyaltyobject$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Loyaltyobject$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Loyaltyobject$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10933,8 +11059,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyobject$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10990,11 +11116,11 @@ export namespace walletobjects_v1 { modifylinkedofferobjects( params: Params$Resource$Loyaltyobject$Modifylinkedofferobjects, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; modifylinkedofferobjects( params?: Params$Resource$Loyaltyobject$Modifylinkedofferobjects, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; modifylinkedofferobjects( params: Params$Resource$Loyaltyobject$Modifylinkedofferobjects, options: StreamMethodOptions | BodyResponseCallback, @@ -11025,7 +11151,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyobject$Modifylinkedofferobjects; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11081,11 +11210,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Loyaltyobject$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Loyaltyobject$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Loyaltyobject$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11114,7 +11243,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyobject$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11169,11 +11301,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Loyaltyobject$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Loyaltyobject$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Loyaltyobject$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11202,7 +11334,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Loyaltyobject$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11342,11 +11477,11 @@ export namespace walletobjects_v1 { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -11375,7 +11510,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11430,11 +11568,13 @@ export namespace walletobjects_v1 { upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; upload( params?: Params$Resource$Media$Upload, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; upload( params: Params$Resource$Media$Upload, options: StreamMethodOptions | BodyResponseCallback, @@ -11469,8 +11609,10 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Upload; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11571,11 +11713,11 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Offerclass$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Offerclass$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params: Params$Resource$Offerclass$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -11610,8 +11752,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerclass$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11668,11 +11810,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Offerclass$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Offerclass$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Offerclass$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -11701,7 +11843,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerclass$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11755,11 +11900,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Offerclass$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Offerclass$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Offerclass$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -11788,7 +11933,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerclass$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11844,11 +11992,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Offerclass$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Offerclass$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Offerclass$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11881,8 +12029,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerclass$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11937,11 +12085,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Offerclass$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Offerclass$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Offerclass$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -11970,7 +12118,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerclass$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12024,11 +12175,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Offerclass$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Offerclass$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Offerclass$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12057,7 +12208,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerclass$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12182,11 +12336,11 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Offerobject$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Offerobject$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params: Params$Resource$Offerobject$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -12221,8 +12375,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerobject$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12279,11 +12433,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Offerobject$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Offerobject$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Offerobject$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12312,7 +12466,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerobject$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12366,11 +12523,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Offerobject$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Offerobject$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Offerobject$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -12399,7 +12556,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerobject$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12455,11 +12615,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Offerobject$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Offerobject$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Offerobject$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12492,8 +12652,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerobject$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12548,11 +12708,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Offerobject$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Offerobject$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Offerobject$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -12581,7 +12741,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerobject$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12636,11 +12799,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Offerobject$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Offerobject$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Offerobject$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12669,7 +12832,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Offerobject$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12795,11 +12961,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Permissions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Permissions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Permissions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -12828,7 +12994,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12882,11 +13051,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Permissions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Permissions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Permissions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12915,7 +13084,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Permissions$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12996,11 +13168,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Smarttap$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Smarttap$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Smarttap$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -13029,7 +13201,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Smarttap$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13098,11 +13273,11 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Transitclass$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Transitclass$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params: Params$Resource$Transitclass$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -13137,8 +13312,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitclass$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13195,11 +13370,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Transitclass$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Transitclass$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Transitclass$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13228,7 +13403,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitclass$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13282,11 +13460,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Transitclass$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Transitclass$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Transitclass$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -13315,7 +13493,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitclass$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13371,11 +13552,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Transitclass$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Transitclass$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Transitclass$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13408,8 +13589,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitclass$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13465,11 +13646,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Transitclass$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Transitclass$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Transitclass$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -13498,7 +13679,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitclass$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13553,11 +13737,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Transitclass$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Transitclass$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Transitclass$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -13586,7 +13770,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitclass$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13713,11 +13900,11 @@ export namespace walletobjects_v1 { addmessage( params: Params$Resource$Transitobject$Addmessage, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params?: Params$Resource$Transitobject$Addmessage, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; addmessage( params: Params$Resource$Transitobject$Addmessage, options: StreamMethodOptions | BodyResponseCallback, @@ -13752,8 +13939,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitobject$Addmessage; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13811,11 +13998,11 @@ export namespace walletobjects_v1 { get( params: Params$Resource$Transitobject$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Transitobject$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Transitobject$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13844,7 +14031,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitobject$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13899,11 +14089,11 @@ export namespace walletobjects_v1 { insert( params: Params$Resource$Transitobject$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Transitobject$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Transitobject$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -13932,7 +14122,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitobject$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13988,11 +14181,11 @@ export namespace walletobjects_v1 { list( params: Params$Resource$Transitobject$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Transitobject$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Transitobject$List, options: StreamMethodOptions | BodyResponseCallback, @@ -14027,8 +14220,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitobject$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14084,11 +14277,11 @@ export namespace walletobjects_v1 { patch( params: Params$Resource$Transitobject$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Transitobject$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Transitobject$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -14117,7 +14310,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitobject$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14172,11 +14368,11 @@ export namespace walletobjects_v1 { update( params: Params$Resource$Transitobject$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Transitobject$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Transitobject$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -14205,7 +14401,10 @@ export namespace walletobjects_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Transitobject$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -14353,11 +14552,11 @@ export namespace walletobjects_v1 { setPassUpdateNotice( params: Params$Resource$Walletobjects$V1$Privatecontent$Setpassupdatenotice, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setPassUpdateNotice( params?: Params$Resource$Walletobjects$V1$Privatecontent$Setpassupdatenotice, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setPassUpdateNotice( params: Params$Resource$Walletobjects$V1$Privatecontent$Setpassupdatenotice, options: StreamMethodOptions | BodyResponseCallback, @@ -14392,8 +14591,8 @@ export namespace walletobjects_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Walletobjects$V1$Privatecontent$Setpassupdatenotice; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/webfonts/index.ts b/src/apis/webfonts/index.ts index 6ba0a2d800f..55fbe2e8061 100644 --- a/src/apis/webfonts/index.ts +++ b/src/apis/webfonts/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/webfonts/package.json b/src/apis/webfonts/package.json index fe09773f323..dd2ec58814d 100644 --- a/src/apis/webfonts/package.json +++ b/src/apis/webfonts/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/webfonts/v1.ts b/src/apis/webfonts/v1.ts index 15db08fc57b..6f3663a25c9 100644 --- a/src/apis/webfonts/v1.ts +++ b/src/apis/webfonts/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -221,11 +221,11 @@ export namespace webfonts_v1 { list( params: Params$Resource$Webfonts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Webfonts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Webfonts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -254,7 +254,10 @@ export namespace webfonts_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Webfonts$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/webmasters/index.ts b/src/apis/webmasters/index.ts index cc50b8771f5..a871fd827d6 100644 --- a/src/apis/webmasters/index.ts +++ b/src/apis/webmasters/index.ts @@ -40,7 +40,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/webmasters/package.json b/src/apis/webmasters/package.json index 9f92ad960d2..29da0e8fdb2 100644 --- a/src/apis/webmasters/package.json +++ b/src/apis/webmasters/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/webmasters/v3.ts b/src/apis/webmasters/v3.ts index bcc44025895..24de6464605 100644 --- a/src/apis/webmasters/v3.ts +++ b/src/apis/webmasters/v3.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -355,11 +355,11 @@ export namespace webmasters_v3 { query( params: Params$Resource$Searchanalytics$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Searchanalytics$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Searchanalytics$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -394,8 +394,8 @@ export namespace webmasters_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Searchanalytics$Query; let options = (optionsOrCallback || {}) as MethodOptions; @@ -509,11 +509,11 @@ export namespace webmasters_v3 { delete( params: Params$Resource$Sitemaps$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sitemaps$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sitemaps$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -540,7 +540,7 @@ export namespace webmasters_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sitemaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -647,11 +647,11 @@ export namespace webmasters_v3 { get( params: Params$Resource$Sitemaps$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sitemaps$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sitemaps$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -680,7 +680,7 @@ export namespace webmasters_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sitemaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -779,11 +779,11 @@ export namespace webmasters_v3 { list( params: Params$Resource$Sitemaps$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sitemaps$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sitemaps$List, options: StreamMethodOptions | BodyResponseCallback, @@ -816,8 +816,8 @@ export namespace webmasters_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sitemaps$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -909,11 +909,11 @@ export namespace webmasters_v3 { submit( params: Params$Resource$Sitemaps$Submit, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; submit( params?: Params$Resource$Sitemaps$Submit, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; submit( params: Params$Resource$Sitemaps$Submit, options: StreamMethodOptions | BodyResponseCallback, @@ -940,7 +940,7 @@ export namespace webmasters_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sitemaps$Submit; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1077,11 +1077,11 @@ export namespace webmasters_v3 { add( params: Params$Resource$Sites$Add, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; add( params?: Params$Resource$Sites$Add, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; add( params: Params$Resource$Sites$Add, options: StreamMethodOptions | BodyResponseCallback, @@ -1108,7 +1108,7 @@ export namespace webmasters_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Add; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1198,11 +1198,11 @@ export namespace webmasters_v3 { delete( params: Params$Resource$Sites$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Sites$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Sites$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1229,7 +1229,7 @@ export namespace webmasters_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1328,11 +1328,11 @@ export namespace webmasters_v3 { get( params: Params$Resource$Sites$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Sites$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Sites$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1361,7 +1361,7 @@ export namespace webmasters_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | Promise> | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1456,11 +1456,11 @@ export namespace webmasters_v3 { list( params: Params$Resource$Sites$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Sites$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Sites$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1491,8 +1491,8 @@ export namespace webmasters_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Sites$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/webrisk/index.ts b/src/apis/webrisk/index.ts index 49bf00390ad..c003b91c933 100644 --- a/src/apis/webrisk/index.ts +++ b/src/apis/webrisk/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/webrisk/package.json b/src/apis/webrisk/package.json index b9ccd83af9c..cbdd0fa8eed 100644 --- a/src/apis/webrisk/package.json +++ b/src/apis/webrisk/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/webrisk/v1.ts b/src/apis/webrisk/v1.ts index 7456ce238ef..b7fbb2017ed 100644 --- a/src/apis/webrisk/v1.ts +++ b/src/apis/webrisk/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -370,11 +370,13 @@ export namespace webrisk_v1 { search( params: Params$Resource$Hashes$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Hashes$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Hashes$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -409,8 +411,10 @@ export namespace webrisk_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Hashes$Search; let options = (optionsOrCallback || {}) as MethodOptions; @@ -492,11 +496,11 @@ export namespace webrisk_v1 { cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -527,8 +531,8 @@ export namespace webrisk_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -580,11 +584,11 @@ export namespace webrisk_v1 { delete( params: Params$Resource$Projects$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -615,8 +619,8 @@ export namespace webrisk_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -668,11 +672,11 @@ export namespace webrisk_v1 { get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -707,8 +711,8 @@ export namespace webrisk_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -760,11 +764,13 @@ export namespace webrisk_v1 { list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Projects$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -799,8 +805,10 @@ export namespace webrisk_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -910,11 +918,11 @@ export namespace webrisk_v1 { create( params: Params$Resource$Projects$Submissions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Submissions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Submissions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -949,8 +957,8 @@ export namespace webrisk_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Submissions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1027,11 +1035,13 @@ export namespace webrisk_v1 { computeDiff( params: Params$Resource$Threatlists$Computediff, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; computeDiff( params?: Params$Resource$Threatlists$Computediff, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; computeDiff( params: Params$Resource$Threatlists$Computediff, options: StreamMethodOptions | BodyResponseCallback, @@ -1066,8 +1076,10 @@ export namespace webrisk_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Threatlists$Computediff; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1155,11 +1167,13 @@ export namespace webrisk_v1 { search( params: Params$Resource$Uris$Search, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; search( params?: Params$Resource$Uris$Search, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; search( params: Params$Resource$Uris$Search, options: StreamMethodOptions | BodyResponseCallback, @@ -1194,8 +1208,10 @@ export namespace webrisk_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Uris$Search; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/websecurityscanner/index.ts b/src/apis/websecurityscanner/index.ts index 8552ef3677d..ab8c5288480 100644 --- a/src/apis/websecurityscanner/index.ts +++ b/src/apis/websecurityscanner/index.ts @@ -71,7 +71,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/websecurityscanner/package.json b/src/apis/websecurityscanner/package.json index 606368a637a..9dcdc5865f6 100644 --- a/src/apis/websecurityscanner/package.json +++ b/src/apis/websecurityscanner/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/websecurityscanner/v1.ts b/src/apis/websecurityscanner/v1.ts index cbe382f984d..9578b2385b9 100644 --- a/src/apis/websecurityscanner/v1.ts +++ b/src/apis/websecurityscanner/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -673,11 +673,11 @@ export namespace websecurityscanner_v1 { create( params: Params$Resource$Projects$Scanconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Scanconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Scanconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -706,7 +706,10 @@ export namespace websecurityscanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -762,11 +765,11 @@ export namespace websecurityscanner_v1 { delete( params: Params$Resource$Projects$Scanconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Scanconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Scanconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -795,7 +798,10 @@ export namespace websecurityscanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -848,11 +854,11 @@ export namespace websecurityscanner_v1 { get( params: Params$Resource$Projects$Scanconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Scanconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Scanconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -881,7 +887,10 @@ export namespace websecurityscanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -934,11 +943,11 @@ export namespace websecurityscanner_v1 { list( params: Params$Resource$Projects$Scanconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -971,8 +980,8 @@ export namespace websecurityscanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1028,11 +1037,11 @@ export namespace websecurityscanner_v1 { patch( params: Params$Resource$Projects$Scanconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Scanconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Scanconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1061,7 +1070,10 @@ export namespace websecurityscanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1114,11 +1126,11 @@ export namespace websecurityscanner_v1 { start( params: Params$Resource$Projects$Scanconfigs$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Scanconfigs$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Scanconfigs$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -1147,7 +1159,10 @@ export namespace websecurityscanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1290,11 +1305,11 @@ export namespace websecurityscanner_v1 { get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1323,7 +1338,10 @@ export namespace websecurityscanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1376,11 +1394,11 @@ export namespace websecurityscanner_v1 { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1413,8 +1431,8 @@ export namespace websecurityscanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1470,11 +1488,11 @@ export namespace websecurityscanner_v1 { stop( params: Params$Resource$Projects$Scanconfigs$Scanruns$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Scanconfigs$Scanruns$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -1503,7 +1521,10 @@ export namespace websecurityscanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1598,11 +1619,11 @@ export namespace websecurityscanner_v1 { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1635,8 +1656,8 @@ export namespace websecurityscanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1716,11 +1737,11 @@ export namespace websecurityscanner_v1 { get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1749,7 +1770,10 @@ export namespace websecurityscanner_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1803,11 +1827,11 @@ export namespace websecurityscanner_v1 { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1840,8 +1864,8 @@ export namespace websecurityscanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1932,11 +1956,11 @@ export namespace websecurityscanner_v1 { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1971,8 +1995,8 @@ export namespace websecurityscanner_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/websecurityscanner/v1alpha.ts b/src/apis/websecurityscanner/v1alpha.ts index 03b764439e2..1bfc2ec93a0 100644 --- a/src/apis/websecurityscanner/v1alpha.ts +++ b/src/apis/websecurityscanner/v1alpha.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -541,11 +541,11 @@ export namespace websecurityscanner_v1alpha { create( params: Params$Resource$Projects$Scanconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Scanconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Scanconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -574,7 +574,10 @@ export namespace websecurityscanner_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -630,11 +633,11 @@ export namespace websecurityscanner_v1alpha { delete( params: Params$Resource$Projects$Scanconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Scanconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Scanconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -663,7 +666,10 @@ export namespace websecurityscanner_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -716,11 +722,11 @@ export namespace websecurityscanner_v1alpha { get( params: Params$Resource$Projects$Scanconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Scanconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Scanconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -749,7 +755,10 @@ export namespace websecurityscanner_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -802,11 +811,11 @@ export namespace websecurityscanner_v1alpha { list( params: Params$Resource$Projects$Scanconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -839,8 +848,8 @@ export namespace websecurityscanner_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -896,11 +905,11 @@ export namespace websecurityscanner_v1alpha { patch( params: Params$Resource$Projects$Scanconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Scanconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Scanconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -929,7 +938,10 @@ export namespace websecurityscanner_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -982,11 +994,11 @@ export namespace websecurityscanner_v1alpha { start( params: Params$Resource$Projects$Scanconfigs$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Scanconfigs$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Scanconfigs$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -1015,7 +1027,10 @@ export namespace websecurityscanner_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1161,11 +1176,11 @@ export namespace websecurityscanner_v1alpha { get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1194,7 +1209,10 @@ export namespace websecurityscanner_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1247,11 +1265,11 @@ export namespace websecurityscanner_v1alpha { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1284,8 +1302,8 @@ export namespace websecurityscanner_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1341,11 +1359,11 @@ export namespace websecurityscanner_v1alpha { stop( params: Params$Resource$Projects$Scanconfigs$Scanruns$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Scanconfigs$Scanruns$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -1374,7 +1392,10 @@ export namespace websecurityscanner_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1472,11 +1493,11 @@ export namespace websecurityscanner_v1alpha { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1509,8 +1530,8 @@ export namespace websecurityscanner_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1590,11 +1611,11 @@ export namespace websecurityscanner_v1alpha { get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1623,7 +1644,10 @@ export namespace websecurityscanner_v1alpha { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1677,11 +1701,11 @@ export namespace websecurityscanner_v1alpha { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1714,8 +1738,8 @@ export namespace websecurityscanner_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1806,11 +1830,11 @@ export namespace websecurityscanner_v1alpha { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1845,8 +1869,8 @@ export namespace websecurityscanner_v1alpha { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/websecurityscanner/v1beta.ts b/src/apis/websecurityscanner/v1beta.ts index c6c0602396a..54f0b9bf902 100644 --- a/src/apis/websecurityscanner/v1beta.ts +++ b/src/apis/websecurityscanner/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -668,11 +668,11 @@ export namespace websecurityscanner_v1beta { create( params: Params$Resource$Projects$Scanconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Scanconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Scanconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -701,7 +701,10 @@ export namespace websecurityscanner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -757,11 +760,11 @@ export namespace websecurityscanner_v1beta { delete( params: Params$Resource$Projects$Scanconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Scanconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Scanconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -790,7 +793,10 @@ export namespace websecurityscanner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -843,11 +849,11 @@ export namespace websecurityscanner_v1beta { get( params: Params$Resource$Projects$Scanconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Scanconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Scanconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -876,7 +882,10 @@ export namespace websecurityscanner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -929,11 +938,11 @@ export namespace websecurityscanner_v1beta { list( params: Params$Resource$Projects$Scanconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -966,8 +975,8 @@ export namespace websecurityscanner_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1023,11 +1032,11 @@ export namespace websecurityscanner_v1beta { patch( params: Params$Resource$Projects$Scanconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Scanconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Scanconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1056,7 +1065,10 @@ export namespace websecurityscanner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1109,11 +1121,11 @@ export namespace websecurityscanner_v1beta { start( params: Params$Resource$Projects$Scanconfigs$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Scanconfigs$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Scanconfigs$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -1142,7 +1154,10 @@ export namespace websecurityscanner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1288,11 +1303,11 @@ export namespace websecurityscanner_v1beta { get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1321,7 +1336,10 @@ export namespace websecurityscanner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1374,11 +1392,11 @@ export namespace websecurityscanner_v1beta { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1411,8 +1429,8 @@ export namespace websecurityscanner_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1468,11 +1486,11 @@ export namespace websecurityscanner_v1beta { stop( params: Params$Resource$Projects$Scanconfigs$Scanruns$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Scanconfigs$Scanruns$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -1501,7 +1519,10 @@ export namespace websecurityscanner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1599,11 +1620,11 @@ export namespace websecurityscanner_v1beta { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1636,8 +1657,8 @@ export namespace websecurityscanner_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1717,11 +1738,11 @@ export namespace websecurityscanner_v1beta { get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1750,7 +1771,10 @@ export namespace websecurityscanner_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1804,11 +1828,11 @@ export namespace websecurityscanner_v1beta { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1841,8 +1865,8 @@ export namespace websecurityscanner_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1933,11 +1957,11 @@ export namespace websecurityscanner_v1beta { list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1972,8 +1996,8 @@ export namespace websecurityscanner_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/workflowexecutions/index.ts b/src/apis/workflowexecutions/index.ts index 7c996c91c5a..d2c314aa4ae 100644 --- a/src/apis/workflowexecutions/index.ts +++ b/src/apis/workflowexecutions/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/workflowexecutions/package.json b/src/apis/workflowexecutions/package.json index 3e161ec3e7c..4df9556486d 100644 --- a/src/apis/workflowexecutions/package.json +++ b/src/apis/workflowexecutions/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/workflowexecutions/v1.ts b/src/apis/workflowexecutions/v1.ts index 27bdbe2a0be..21389c7f166 100644 --- a/src/apis/workflowexecutions/v1.ts +++ b/src/apis/workflowexecutions/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -572,11 +572,11 @@ export namespace workflowexecutions_v1 { triggerPubsubExecution( params: Params$Resource$Projects$Locations$Workflows$Triggerpubsubexecution, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; triggerPubsubExecution( params?: Params$Resource$Projects$Locations$Workflows$Triggerpubsubexecution, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; triggerPubsubExecution( params: Params$Resource$Projects$Locations$Workflows$Triggerpubsubexecution, options: StreamMethodOptions | BodyResponseCallback, @@ -607,7 +607,10 @@ export namespace workflowexecutions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Triggerpubsubexecution; let options = (optionsOrCallback || {}) as MethodOptions; @@ -694,11 +697,11 @@ export namespace workflowexecutions_v1 { cancel( params: Params$Resource$Projects$Locations$Workflows$Executions$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Workflows$Executions$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Workflows$Executions$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -727,7 +730,10 @@ export namespace workflowexecutions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -781,11 +787,11 @@ export namespace workflowexecutions_v1 { create( params: Params$Resource$Projects$Locations$Workflows$Executions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workflows$Executions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workflows$Executions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -814,7 +820,10 @@ export namespace workflowexecutions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -871,11 +880,11 @@ export namespace workflowexecutions_v1 { deleteExecutionHistory( params: Params$Resource$Projects$Locations$Workflows$Executions$Deleteexecutionhistory, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; deleteExecutionHistory( params?: Params$Resource$Projects$Locations$Workflows$Executions$Deleteexecutionhistory, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; deleteExecutionHistory( params: Params$Resource$Projects$Locations$Workflows$Executions$Deleteexecutionhistory, options: StreamMethodOptions | BodyResponseCallback, @@ -904,7 +913,10 @@ export namespace workflowexecutions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$Deleteexecutionhistory; let options = (optionsOrCallback || {}) as MethodOptions; @@ -961,11 +973,11 @@ export namespace workflowexecutions_v1 { exportData( params: Params$Resource$Projects$Locations$Workflows$Executions$Exportdata, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; exportData( params?: Params$Resource$Projects$Locations$Workflows$Executions$Exportdata, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; exportData( params: Params$Resource$Projects$Locations$Workflows$Executions$Exportdata, options: StreamMethodOptions | BodyResponseCallback, @@ -996,8 +1008,8 @@ export namespace workflowexecutions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$Exportdata; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1054,11 +1066,11 @@ export namespace workflowexecutions_v1 { get( params: Params$Resource$Projects$Locations$Workflows$Executions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workflows$Executions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workflows$Executions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1087,7 +1099,10 @@ export namespace workflowexecutions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1141,11 +1156,11 @@ export namespace workflowexecutions_v1 { list( params: Params$Resource$Projects$Locations$Workflows$Executions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workflows$Executions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workflows$Executions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1178,8 +1193,8 @@ export namespace workflowexecutions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1325,11 +1340,11 @@ export namespace workflowexecutions_v1 { list( params: Params$Resource$Projects$Locations$Workflows$Executions$Callbacks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workflows$Executions$Callbacks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workflows$Executions$Callbacks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1362,8 +1377,8 @@ export namespace workflowexecutions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$Callbacks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1443,11 +1458,11 @@ export namespace workflowexecutions_v1 { get( params: Params$Resource$Projects$Locations$Workflows$Executions$Stepentries$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workflows$Executions$Stepentries$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workflows$Executions$Stepentries$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1476,7 +1491,10 @@ export namespace workflowexecutions_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$Stepentries$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1530,11 +1548,11 @@ export namespace workflowexecutions_v1 { list( params: Params$Resource$Projects$Locations$Workflows$Executions$Stepentries$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workflows$Executions$Stepentries$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workflows$Executions$Stepentries$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1567,8 +1585,8 @@ export namespace workflowexecutions_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$Stepentries$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/workflowexecutions/v1beta.ts b/src/apis/workflowexecutions/v1beta.ts index c568475c0e0..3a9160d290f 100644 --- a/src/apis/workflowexecutions/v1beta.ts +++ b/src/apis/workflowexecutions/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -315,11 +315,11 @@ export namespace workflowexecutions_v1beta { cancel( params: Params$Resource$Projects$Locations$Workflows$Executions$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Workflows$Executions$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Workflows$Executions$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -348,7 +348,10 @@ export namespace workflowexecutions_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -405,11 +408,11 @@ export namespace workflowexecutions_v1beta { create( params: Params$Resource$Projects$Locations$Workflows$Executions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workflows$Executions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workflows$Executions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -438,7 +441,10 @@ export namespace workflowexecutions_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -495,11 +501,11 @@ export namespace workflowexecutions_v1beta { get( params: Params$Resource$Projects$Locations$Workflows$Executions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workflows$Executions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workflows$Executions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -528,7 +534,10 @@ export namespace workflowexecutions_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -582,11 +591,11 @@ export namespace workflowexecutions_v1beta { list( params: Params$Resource$Projects$Locations$Workflows$Executions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workflows$Executions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workflows$Executions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -619,8 +628,8 @@ export namespace workflowexecutions_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Executions$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/workflows/index.ts b/src/apis/workflows/index.ts index 16ac25b78d3..6bd75c28008 100644 --- a/src/apis/workflows/index.ts +++ b/src/apis/workflows/index.ts @@ -53,7 +53,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/workflows/package.json b/src/apis/workflows/package.json index 03ec3482dc7..4522643206a 100644 --- a/src/apis/workflows/package.json +++ b/src/apis/workflows/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/workflows/v1.ts b/src/apis/workflows/v1.ts index ed6d0bb98c3..d82368e37cf 100644 --- a/src/apis/workflows/v1.ts +++ b/src/apis/workflows/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -403,11 +403,11 @@ export namespace workflows_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -436,7 +436,10 @@ export namespace workflows_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -488,11 +491,11 @@ export namespace workflows_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -525,8 +528,8 @@ export namespace workflows_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -619,11 +622,11 @@ export namespace workflows_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -652,7 +655,10 @@ export namespace workflows_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -704,11 +710,11 @@ export namespace workflows_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -737,7 +743,10 @@ export namespace workflows_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -789,11 +798,11 @@ export namespace workflows_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -826,8 +835,8 @@ export namespace workflows_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -923,11 +932,11 @@ export namespace workflows_v1 { create( params: Params$Resource$Projects$Locations$Workflows$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workflows$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workflows$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -956,7 +965,10 @@ export namespace workflows_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1011,11 +1023,11 @@ export namespace workflows_v1 { delete( params: Params$Resource$Projects$Locations$Workflows$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workflows$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workflows$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1044,7 +1056,10 @@ export namespace workflows_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1096,11 +1111,11 @@ export namespace workflows_v1 { get( params: Params$Resource$Projects$Locations$Workflows$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workflows$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workflows$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1129,7 +1144,10 @@ export namespace workflows_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1181,11 +1199,11 @@ export namespace workflows_v1 { list( params: Params$Resource$Projects$Locations$Workflows$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workflows$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workflows$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1218,8 +1236,8 @@ export namespace workflows_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1274,11 +1292,11 @@ export namespace workflows_v1 { listRevisions( params: Params$Resource$Projects$Locations$Workflows$Listrevisions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params?: Params$Resource$Projects$Locations$Workflows$Listrevisions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listRevisions( params: Params$Resource$Projects$Locations$Workflows$Listrevisions, options: StreamMethodOptions | BodyResponseCallback, @@ -1313,8 +1331,8 @@ export namespace workflows_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Listrevisions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1372,11 +1390,11 @@ export namespace workflows_v1 { patch( params: Params$Resource$Projects$Locations$Workflows$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workflows$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workflows$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1405,7 +1423,10 @@ export namespace workflows_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/workflows/v1beta.ts b/src/apis/workflows/v1beta.ts index 3b6777d504f..60389f96047 100644 --- a/src/apis/workflows/v1beta.ts +++ b/src/apis/workflows/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -341,11 +341,11 @@ export namespace workflows_v1beta { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -374,7 +374,10 @@ export namespace workflows_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -426,11 +429,11 @@ export namespace workflows_v1beta { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -463,8 +466,8 @@ export namespace workflows_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -557,11 +560,11 @@ export namespace workflows_v1beta { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -590,7 +593,10 @@ export namespace workflows_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -642,11 +648,11 @@ export namespace workflows_v1beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -675,7 +681,10 @@ export namespace workflows_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -727,11 +736,11 @@ export namespace workflows_v1beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -764,8 +773,8 @@ export namespace workflows_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -861,11 +870,11 @@ export namespace workflows_v1beta { create( params: Params$Resource$Projects$Locations$Workflows$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workflows$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workflows$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -894,7 +903,10 @@ export namespace workflows_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -949,11 +961,11 @@ export namespace workflows_v1beta { delete( params: Params$Resource$Projects$Locations$Workflows$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workflows$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workflows$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -982,7 +994,10 @@ export namespace workflows_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1034,11 +1049,11 @@ export namespace workflows_v1beta { get( params: Params$Resource$Projects$Locations$Workflows$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workflows$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workflows$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1067,7 +1082,10 @@ export namespace workflows_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1119,11 +1137,11 @@ export namespace workflows_v1beta { list( params: Params$Resource$Projects$Locations$Workflows$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workflows$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workflows$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1156,8 +1174,8 @@ export namespace workflows_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1212,11 +1230,11 @@ export namespace workflows_v1beta { patch( params: Params$Resource$Projects$Locations$Workflows$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workflows$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workflows$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1245,7 +1263,10 @@ export namespace workflows_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workflows$Patch; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/workloadmanager/index.ts b/src/apis/workloadmanager/index.ts index 8e66b4a862c..7908baba52c 100644 --- a/src/apis/workloadmanager/index.ts +++ b/src/apis/workloadmanager/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/workloadmanager/package.json b/src/apis/workloadmanager/package.json index cf40b390cca..55cf1224ae8 100644 --- a/src/apis/workloadmanager/package.json +++ b/src/apis/workloadmanager/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/workloadmanager/v1.ts b/src/apis/workloadmanager/v1.ts index 9610221f744..6aa15e52e30 100644 --- a/src/apis/workloadmanager/v1.ts +++ b/src/apis/workloadmanager/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1617,11 +1617,11 @@ export namespace workloadmanager_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1650,7 +1650,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1703,11 +1706,11 @@ export namespace workloadmanager_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1740,8 +1743,8 @@ export namespace workloadmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1840,11 +1843,11 @@ export namespace workloadmanager_v1 { get( params: Params$Resource$Projects$Locations$Discoveredprofiles$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Discoveredprofiles$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Discoveredprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1873,7 +1876,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1927,11 +1933,11 @@ export namespace workloadmanager_v1 { list( params: Params$Resource$Projects$Locations$Discoveredprofiles$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Discoveredprofiles$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Discoveredprofiles$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1966,8 +1972,8 @@ export namespace workloadmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2060,11 +2066,11 @@ export namespace workloadmanager_v1 { get( params: Params$Resource$Projects$Locations$Discoveredprofiles$Healthes$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Discoveredprofiles$Healthes$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Discoveredprofiles$Healthes$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2097,8 +2103,8 @@ export namespace workloadmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Discoveredprofiles$Healthes$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2171,11 +2177,11 @@ export namespace workloadmanager_v1 { create( params: Params$Resource$Projects$Locations$Evaluations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Evaluations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Evaluations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2204,7 +2210,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2260,11 +2269,11 @@ export namespace workloadmanager_v1 { delete( params: Params$Resource$Projects$Locations$Evaluations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Evaluations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Evaluations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2293,7 +2302,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2346,11 +2358,11 @@ export namespace workloadmanager_v1 { get( params: Params$Resource$Projects$Locations$Evaluations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Evaluations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Evaluations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2379,7 +2391,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2432,11 +2447,11 @@ export namespace workloadmanager_v1 { list( params: Params$Resource$Projects$Locations$Evaluations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Evaluations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Evaluations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2469,8 +2484,8 @@ export namespace workloadmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2609,11 +2624,11 @@ export namespace workloadmanager_v1 { delete( params: Params$Resource$Projects$Locations$Evaluations$Executions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Evaluations$Executions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Evaluations$Executions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2642,7 +2657,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Executions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2696,11 +2714,11 @@ export namespace workloadmanager_v1 { get( params: Params$Resource$Projects$Locations$Evaluations$Executions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Evaluations$Executions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Evaluations$Executions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2729,7 +2747,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Executions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2783,11 +2804,11 @@ export namespace workloadmanager_v1 { list( params: Params$Resource$Projects$Locations$Evaluations$Executions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Evaluations$Executions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Evaluations$Executions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2820,8 +2841,8 @@ export namespace workloadmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Executions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2878,11 +2899,11 @@ export namespace workloadmanager_v1 { run( params: Params$Resource$Projects$Locations$Evaluations$Executions$Run, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; run( params?: Params$Resource$Projects$Locations$Evaluations$Executions$Run, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; run( params: Params$Resource$Projects$Locations$Evaluations$Executions$Run, options: StreamMethodOptions | BodyResponseCallback, @@ -2911,7 +2932,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Executions$Run; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3029,11 +3053,11 @@ export namespace workloadmanager_v1 { list( params: Params$Resource$Projects$Locations$Evaluations$Executions$Results$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Evaluations$Executions$Results$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Evaluations$Executions$Results$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3068,8 +3092,8 @@ export namespace workloadmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Executions$Results$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3155,11 +3179,11 @@ export namespace workloadmanager_v1 { list( params: Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3194,8 +3218,8 @@ export namespace workloadmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3289,11 +3313,11 @@ export namespace workloadmanager_v1 { delete( params: Params$Resource$Projects$Locations$Insights$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Insights$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Insights$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3322,7 +3346,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insights$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3375,11 +3402,11 @@ export namespace workloadmanager_v1 { writeInsight( params: Params$Resource$Projects$Locations$Insights$Writeinsight, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; writeInsight( params?: Params$Resource$Projects$Locations$Insights$Writeinsight, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; writeInsight( params: Params$Resource$Projects$Locations$Insights$Writeinsight, options: StreamMethodOptions | BodyResponseCallback, @@ -3414,8 +3441,8 @@ export namespace workloadmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Insights$Writeinsight; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3502,11 +3529,11 @@ export namespace workloadmanager_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -3535,7 +3562,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3588,11 +3618,11 @@ export namespace workloadmanager_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3621,7 +3651,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3674,11 +3707,11 @@ export namespace workloadmanager_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3707,7 +3740,10 @@ export namespace workloadmanager_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3760,11 +3796,11 @@ export namespace workloadmanager_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3797,8 +3833,8 @@ export namespace workloadmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3907,11 +3943,11 @@ export namespace workloadmanager_v1 { list( params: Params$Resource$Projects$Locations$Rules$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Rules$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Rules$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3942,8 +3978,8 @@ export namespace workloadmanager_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Rules$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/workspaceevents/index.ts b/src/apis/workspaceevents/index.ts index afad5de255a..85c82ced12e 100644 --- a/src/apis/workspaceevents/index.ts +++ b/src/apis/workspaceevents/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/workspaceevents/package.json b/src/apis/workspaceevents/package.json index 5f2ffcb335e..57c89b98603 100644 --- a/src/apis/workspaceevents/package.json +++ b/src/apis/workspaceevents/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/workspaceevents/v1.ts b/src/apis/workspaceevents/v1.ts index 293981f40d2..e4dd3e39793 100644 --- a/src/apis/workspaceevents/v1.ts +++ b/src/apis/workspaceevents/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -290,11 +290,11 @@ export namespace workspaceevents_v1 { get( params: Params$Resource$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -323,7 +323,10 @@ export namespace workspaceevents_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -389,11 +392,11 @@ export namespace workspaceevents_v1 { create( params: Params$Resource$Subscriptions$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Subscriptions$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Subscriptions$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -422,7 +425,10 @@ export namespace workspaceevents_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -475,11 +481,11 @@ export namespace workspaceevents_v1 { delete( params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Subscriptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -508,7 +514,10 @@ export namespace workspaceevents_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -561,11 +570,11 @@ export namespace workspaceevents_v1 { get( params: Params$Resource$Subscriptions$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Subscriptions$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Subscriptions$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -594,7 +603,10 @@ export namespace workspaceevents_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -647,11 +659,11 @@ export namespace workspaceevents_v1 { list( params: Params$Resource$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -686,8 +698,8 @@ export namespace workspaceevents_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -740,11 +752,11 @@ export namespace workspaceevents_v1 { patch( params: Params$Resource$Subscriptions$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Subscriptions$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Subscriptions$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -773,7 +785,10 @@ export namespace workspaceevents_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -826,11 +841,11 @@ export namespace workspaceevents_v1 { reactivate( params: Params$Resource$Subscriptions$Reactivate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reactivate( params?: Params$Resource$Subscriptions$Reactivate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reactivate( params: Params$Resource$Subscriptions$Reactivate, options: StreamMethodOptions | BodyResponseCallback, @@ -859,7 +874,10 @@ export namespace workspaceevents_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Reactivate; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/workstations/index.ts b/src/apis/workstations/index.ts index bf096235c9f..07f2784e512 100644 --- a/src/apis/workstations/index.ts +++ b/src/apis/workstations/index.ts @@ -55,7 +55,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/workstations/package.json b/src/apis/workstations/package.json index e6a89aa3995..dc2d2d6fa6e 100644 --- a/src/apis/workstations/package.json +++ b/src/apis/workstations/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/workstations/v1.ts b/src/apis/workstations/v1.ts index edc1ace60d5..1376c215f88 100644 --- a/src/apis/workstations/v1.ts +++ b/src/apis/workstations/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1150,11 +1150,11 @@ export namespace workstations_v1 { get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1183,7 +1183,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1235,11 +1238,11 @@ export namespace workstations_v1 { list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1272,8 +1275,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1366,11 +1369,11 @@ export namespace workstations_v1 { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1401,8 +1404,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1454,11 +1457,11 @@ export namespace workstations_v1 { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1489,8 +1492,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1542,11 +1545,11 @@ export namespace workstations_v1 { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1575,7 +1578,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1627,11 +1633,11 @@ export namespace workstations_v1 { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1664,8 +1670,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1778,11 +1784,11 @@ export namespace workstations_v1 { create( params: Params$Resource$Projects$Locations$Workstationclusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workstationclusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workstationclusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1811,7 +1817,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1867,11 +1876,11 @@ export namespace workstations_v1 { delete( params: Params$Resource$Projects$Locations$Workstationclusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workstationclusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workstationclusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1900,7 +1909,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1953,11 +1965,11 @@ export namespace workstations_v1 { get( params: Params$Resource$Projects$Locations$Workstationclusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workstationclusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workstationclusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1988,8 +2000,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2042,11 +2054,11 @@ export namespace workstations_v1 { list( params: Params$Resource$Projects$Locations$Workstationclusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workstationclusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workstationclusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2081,8 +2093,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2140,11 +2152,11 @@ export namespace workstations_v1 { patch( params: Params$Resource$Projects$Locations$Workstationclusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workstationclusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workstationclusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2173,7 +2185,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2328,11 +2343,11 @@ export namespace workstations_v1 { create( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2361,7 +2376,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2417,11 +2435,11 @@ export namespace workstations_v1 { delete( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2450,7 +2468,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2503,11 +2524,11 @@ export namespace workstations_v1 { get( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2538,8 +2559,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2592,11 +2613,11 @@ export namespace workstations_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2625,7 +2646,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2681,11 +2705,11 @@ export namespace workstations_v1 { list( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2720,8 +2744,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2779,11 +2803,13 @@ export namespace workstations_v1 { listUsable( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listUsable( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -2818,8 +2844,10 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2876,11 +2904,11 @@ export namespace workstations_v1 { patch( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2909,7 +2937,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2962,11 +2993,11 @@ export namespace workstations_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2995,7 +3026,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3051,11 +3085,11 @@ export namespace workstations_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -3090,8 +3124,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3294,11 +3328,11 @@ export namespace workstations_v1 { create( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3327,7 +3361,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3383,11 +3420,11 @@ export namespace workstations_v1 { delete( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3416,7 +3453,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3469,11 +3509,11 @@ export namespace workstations_v1 { generateAccessToken( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Generateaccesstoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateAccessToken( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Generateaccesstoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateAccessToken( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Generateaccesstoken, options: StreamMethodOptions | BodyResponseCallback, @@ -3508,8 +3548,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Generateaccesstoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3565,11 +3605,11 @@ export namespace workstations_v1 { get( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3598,7 +3638,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3651,11 +3694,11 @@ export namespace workstations_v1 { getIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3684,7 +3727,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3740,11 +3786,11 @@ export namespace workstations_v1 { list( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3777,8 +3823,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3834,11 +3880,11 @@ export namespace workstations_v1 { listUsable( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -3873,8 +3919,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3932,11 +3978,11 @@ export namespace workstations_v1 { patch( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3965,7 +4011,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4018,11 +4067,11 @@ export namespace workstations_v1 { setIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -4051,7 +4100,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4107,11 +4159,11 @@ export namespace workstations_v1 { start( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -4140,7 +4192,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4193,11 +4248,11 @@ export namespace workstations_v1 { stop( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -4226,7 +4281,10 @@ export namespace workstations_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4279,11 +4337,11 @@ export namespace workstations_v1 { testIamPermissions( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4318,8 +4376,8 @@ export namespace workstations_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/workstations/v1beta.ts b/src/apis/workstations/v1beta.ts index a48aebb2147..f1a4be12408 100644 --- a/src/apis/workstations/v1beta.ts +++ b/src/apis/workstations/v1beta.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -1181,11 +1181,11 @@ export namespace workstations_v1beta { cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; cancel( params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, @@ -1216,8 +1216,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1272,11 +1272,11 @@ export namespace workstations_v1beta { delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1307,8 +1307,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1360,11 +1360,11 @@ export namespace workstations_v1beta { get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1393,7 +1393,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1445,11 +1448,11 @@ export namespace workstations_v1beta { list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1482,8 +1485,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1596,11 +1599,11 @@ export namespace workstations_v1beta { create( params: Params$Resource$Projects$Locations$Workstationclusters$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workstationclusters$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workstationclusters$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -1629,7 +1632,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1685,11 +1691,11 @@ export namespace workstations_v1beta { delete( params: Params$Resource$Projects$Locations$Workstationclusters$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workstationclusters$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workstationclusters$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -1718,7 +1724,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1771,11 +1780,11 @@ export namespace workstations_v1beta { get( params: Params$Resource$Projects$Locations$Workstationclusters$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workstationclusters$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workstationclusters$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1806,8 +1815,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1860,11 +1869,11 @@ export namespace workstations_v1beta { list( params: Params$Resource$Projects$Locations$Workstationclusters$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workstationclusters$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workstationclusters$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1899,8 +1908,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1958,11 +1967,11 @@ export namespace workstations_v1beta { patch( params: Params$Resource$Projects$Locations$Workstationclusters$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workstationclusters$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workstationclusters$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -1991,7 +2000,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2146,11 +2158,11 @@ export namespace workstations_v1beta { create( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -2179,7 +2191,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2235,11 +2250,11 @@ export namespace workstations_v1beta { delete( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -2268,7 +2283,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2321,11 +2339,11 @@ export namespace workstations_v1beta { get( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -2356,8 +2374,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2410,11 +2428,11 @@ export namespace workstations_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2443,7 +2461,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2499,11 +2520,11 @@ export namespace workstations_v1beta { list( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -2538,8 +2559,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2597,11 +2618,13 @@ export namespace workstations_v1beta { listUsable( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; listUsable( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -2636,8 +2659,10 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2694,11 +2719,11 @@ export namespace workstations_v1beta { patch( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -2727,7 +2752,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2780,11 +2808,11 @@ export namespace workstations_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -2813,7 +2841,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -2869,11 +2900,11 @@ export namespace workstations_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -2908,8 +2939,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3112,11 +3143,11 @@ export namespace workstations_v1beta { create( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -3145,7 +3176,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3201,11 +3235,11 @@ export namespace workstations_v1beta { delete( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -3234,7 +3268,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3287,11 +3324,11 @@ export namespace workstations_v1beta { generateAccessToken( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Generateaccesstoken, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; generateAccessToken( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Generateaccesstoken, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; generateAccessToken( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Generateaccesstoken, options: StreamMethodOptions | BodyResponseCallback, @@ -3326,8 +3363,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Generateaccesstoken; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3382,11 +3419,11 @@ export namespace workstations_v1beta { get( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -3415,7 +3452,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3468,11 +3508,11 @@ export namespace workstations_v1beta { getIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Getiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Getiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3501,7 +3541,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3557,11 +3600,11 @@ export namespace workstations_v1beta { list( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$List, options: StreamMethodOptions | BodyResponseCallback, @@ -3594,8 +3637,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3651,11 +3694,11 @@ export namespace workstations_v1beta { listUsable( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Listusable, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Listusable, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; listUsable( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Listusable, options: StreamMethodOptions | BodyResponseCallback, @@ -3690,8 +3733,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Listusable; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3748,11 +3791,11 @@ export namespace workstations_v1beta { patch( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Patch, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; patch( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Patch, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; patch( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Patch, options: StreamMethodOptions | BodyResponseCallback, @@ -3781,7 +3824,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3834,11 +3880,11 @@ export namespace workstations_v1beta { setIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Setiampolicy, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Setiampolicy, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setIamPolicy( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, @@ -3867,7 +3913,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; @@ -3923,11 +3972,11 @@ export namespace workstations_v1beta { start( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Start, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; start( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Start, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; start( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Start, options: StreamMethodOptions | BodyResponseCallback, @@ -3956,7 +4005,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Start; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4012,11 +4064,11 @@ export namespace workstations_v1beta { stop( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Stop, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; stop( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Stop, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; stop( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Stop, options: StreamMethodOptions | BodyResponseCallback, @@ -4045,7 +4097,10 @@ export namespace workstations_v1beta { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Stop; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4101,11 +4156,11 @@ export namespace workstations_v1beta { testIamPermissions( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Testiampermissions, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params?: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Testiampermissions, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; testIamPermissions( params: Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, @@ -4140,8 +4195,8 @@ export namespace workstations_v1beta { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/youtube/index.ts b/src/apis/youtube/index.ts index 9e048cbcdc6..5461feea804 100644 --- a/src/apis/youtube/index.ts +++ b/src/apis/youtube/index.ts @@ -38,7 +38,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/youtube/package.json b/src/apis/youtube/package.json index 3ff52263eeb..1e592008acc 100644 --- a/src/apis/youtube/package.json +++ b/src/apis/youtube/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/youtube/v3.ts b/src/apis/youtube/v3.ts index dd0d32a0404..852c2a9af74 100644 --- a/src/apis/youtube/v3.ts +++ b/src/apis/youtube/v3.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -4739,11 +4739,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Abusereports$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Abusereports$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Abusereports$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -4772,7 +4772,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Abusereports$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4847,11 +4850,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Activities$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Activities$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Activities$List, options: StreamMethodOptions | BodyResponseCallback, @@ -4884,8 +4887,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Activities$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -4985,11 +4988,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Captions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Captions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Captions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5016,7 +5019,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Captions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5070,11 +5076,11 @@ export namespace youtube_v3 { download( params: Params$Resource$Captions$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Captions$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Captions$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -5101,7 +5107,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Captions$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5156,11 +5165,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Captions$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Captions$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Captions$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5189,7 +5198,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Captions$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5247,11 +5259,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Captions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Captions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Captions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5282,8 +5294,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Captions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5337,11 +5349,11 @@ export namespace youtube_v3 { update( params: Params$Resource$Captions$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Captions$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Captions$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5370,7 +5382,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Captions$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5571,11 +5586,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Channelbanners$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Channelbanners$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Channelbanners$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -5608,8 +5623,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channelbanners$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5710,11 +5725,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Channels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Channels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Channels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -5745,8 +5760,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5800,11 +5815,11 @@ export namespace youtube_v3 { update( params: Params$Resource$Channels$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Channels$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Channels$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -5833,7 +5848,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channels$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -5960,11 +5978,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Channelsections$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Channelsections$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Channelsections$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -5991,7 +6009,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channelsections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6046,11 +6067,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Channelsections$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Channelsections$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Channelsections$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6079,7 +6100,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channelsections$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6134,11 +6158,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Channelsections$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Channelsections$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Channelsections$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6173,8 +6197,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channelsections$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6229,11 +6253,11 @@ export namespace youtube_v3 { update( params: Params$Resource$Channelsections$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Channelsections$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Channelsections$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6262,7 +6286,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Channelsections$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6399,11 +6426,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Comments$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Comments$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Comments$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -6430,7 +6457,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6484,11 +6514,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Comments$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Comments$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Comments$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -6517,7 +6547,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6571,11 +6604,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Comments$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Comments$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Comments$List, options: StreamMethodOptions | BodyResponseCallback, @@ -6606,8 +6639,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6661,11 +6694,11 @@ export namespace youtube_v3 { markAsSpam( params: Params$Resource$Comments$Markasspam, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; markAsSpam( params?: Params$Resource$Comments$Markasspam, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; markAsSpam( params: Params$Resource$Comments$Markasspam, options: StreamMethodOptions | BodyResponseCallback, @@ -6692,7 +6725,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Markasspam; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6747,11 +6783,11 @@ export namespace youtube_v3 { setModerationStatus( params: Params$Resource$Comments$Setmoderationstatus, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; setModerationStatus( params?: Params$Resource$Comments$Setmoderationstatus, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; setModerationStatus( params: Params$Resource$Comments$Setmoderationstatus, options: StreamMethodOptions | BodyResponseCallback, @@ -6778,7 +6814,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Setmoderationstatus; let options = (optionsOrCallback || {}) as MethodOptions; @@ -6833,11 +6872,11 @@ export namespace youtube_v3 { update( params: Params$Resource$Comments$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Comments$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Comments$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -6866,7 +6905,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Comments$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7004,11 +7046,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Commentthreads$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Commentthreads$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Commentthreads$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7037,7 +7079,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Commentthreads$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7092,11 +7137,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Commentthreads$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Commentthreads$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Commentthreads$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7131,8 +7176,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Commentthreads$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7258,11 +7303,11 @@ export namespace youtube_v3 { list( params: Params$Resource$I18nlanguages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$I18nlanguages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$I18nlanguages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7295,8 +7340,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$I18nlanguages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7370,11 +7415,11 @@ export namespace youtube_v3 { list( params: Params$Resource$I18nregions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$I18nregions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$I18nregions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7407,8 +7452,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$I18nregions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7480,11 +7525,11 @@ export namespace youtube_v3 { bind( params: Params$Resource$Livebroadcasts$Bind, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; bind( params?: Params$Resource$Livebroadcasts$Bind, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; bind( params: Params$Resource$Livebroadcasts$Bind, options: StreamMethodOptions | BodyResponseCallback, @@ -7513,7 +7558,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livebroadcasts$Bind; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7568,11 +7616,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Livebroadcasts$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Livebroadcasts$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Livebroadcasts$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -7599,7 +7647,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livebroadcasts$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7654,11 +7705,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Livebroadcasts$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Livebroadcasts$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Livebroadcasts$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -7687,7 +7738,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livebroadcasts$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7742,11 +7796,11 @@ export namespace youtube_v3 { insertCuepoint( params: Params$Resource$Livebroadcasts$Insertcuepoint, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insertCuepoint( params?: Params$Resource$Livebroadcasts$Insertcuepoint, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insertCuepoint( params: Params$Resource$Livebroadcasts$Insertcuepoint, options: StreamMethodOptions | BodyResponseCallback, @@ -7775,7 +7829,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livebroadcasts$Insertcuepoint; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7830,11 +7887,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Livebroadcasts$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Livebroadcasts$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Livebroadcasts$List, options: StreamMethodOptions | BodyResponseCallback, @@ -7869,8 +7926,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livebroadcasts$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -7925,11 +7982,11 @@ export namespace youtube_v3 { transition( params: Params$Resource$Livebroadcasts$Transition, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; transition( params?: Params$Resource$Livebroadcasts$Transition, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; transition( params: Params$Resource$Livebroadcasts$Transition, options: StreamMethodOptions | BodyResponseCallback, @@ -7958,7 +8015,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livebroadcasts$Transition; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8013,11 +8073,11 @@ export namespace youtube_v3 { update( params: Params$Resource$Livebroadcasts$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Livebroadcasts$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Livebroadcasts$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -8046,7 +8106,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livebroadcasts$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8273,11 +8336,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Livechatbans$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Livechatbans$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Livechatbans$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8304,7 +8367,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livechatbans$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8359,11 +8425,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Livechatbans$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Livechatbans$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Livechatbans$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8392,7 +8458,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livechatbans$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8474,11 +8543,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Livechatmessages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Livechatmessages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Livechatmessages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8505,7 +8574,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livechatmessages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8560,11 +8632,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Livechatmessages$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Livechatmessages$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Livechatmessages$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -8593,7 +8665,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livechatmessages$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8648,11 +8723,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Livechatmessages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Livechatmessages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Livechatmessages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -8687,8 +8762,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livechatmessages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8743,11 +8818,11 @@ export namespace youtube_v3 { transition( params: Params$Resource$Livechatmessages$Transition, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; transition( params?: Params$Resource$Livechatmessages$Transition, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; transition( params: Params$Resource$Livechatmessages$Transition, options: StreamMethodOptions | BodyResponseCallback, @@ -8776,7 +8851,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livechatmessages$Transition; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8896,11 +8974,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Livechatmoderators$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Livechatmoderators$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Livechatmoderators$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -8927,7 +9005,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livechatmoderators$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -8982,11 +9063,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Livechatmoderators$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Livechatmoderators$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Livechatmoderators$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9017,8 +9098,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livechatmoderators$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9073,11 +9154,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Livechatmoderators$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Livechatmoderators$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Livechatmoderators$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9112,8 +9193,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livechatmoderators$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9216,11 +9297,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Livestreams$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Livestreams$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Livestreams$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9247,7 +9328,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livestreams$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9302,11 +9386,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Livestreams$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Livestreams$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Livestreams$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -9335,7 +9419,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livestreams$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9390,11 +9477,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Livestreams$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Livestreams$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Livestreams$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9427,8 +9514,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livestreams$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9482,11 +9569,11 @@ export namespace youtube_v3 { update( params: Params$Resource$Livestreams$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Livestreams$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Livestreams$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -9515,7 +9602,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Livestreams$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9663,11 +9753,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Members$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Members$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Members$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9698,8 +9788,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Members$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9787,11 +9877,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Membershipslevels$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Membershipslevels$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Membershipslevels$List, options: StreamMethodOptions | BodyResponseCallback, @@ -9826,8 +9916,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Membershipslevels$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9899,11 +9989,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Playlistimages$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Playlistimages$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Playlistimages$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -9930,7 +10020,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlistimages$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -9985,11 +10078,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Playlistimages$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Playlistimages$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Playlistimages$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10018,7 +10111,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlistimages$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10077,11 +10173,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Playlistimages$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Playlistimages$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Playlistimages$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10116,8 +10212,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlistimages$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10172,11 +10268,11 @@ export namespace youtube_v3 { update( params: Params$Resource$Playlistimages$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Playlistimages$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Playlistimages$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10205,7 +10301,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlistimages$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10376,11 +10475,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Playlistitems$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Playlistitems$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Playlistitems$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10407,7 +10506,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlistitems$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10462,11 +10564,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Playlistitems$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Playlistitems$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Playlistitems$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10495,7 +10597,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlistitems$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10550,11 +10655,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Playlistitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Playlistitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Playlistitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -10587,8 +10692,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlistitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10643,11 +10748,11 @@ export namespace youtube_v3 { update( params: Params$Resource$Playlistitems$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Playlistitems$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Playlistitems$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -10676,7 +10781,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlistitems$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10813,11 +10921,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Playlists$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Playlists$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Playlists$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -10844,7 +10952,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlists$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10898,11 +11009,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Playlists$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Playlists$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Playlists$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -10931,7 +11042,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlists$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -10985,11 +11099,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Playlists$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Playlists$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Playlists$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11022,8 +11136,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlists$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11077,11 +11191,11 @@ export namespace youtube_v3 { update( params: Params$Resource$Playlists$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Playlists$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Playlists$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -11110,7 +11224,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Playlists$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11254,11 +11371,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Search$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Search$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Search$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11289,8 +11406,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Search$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11475,11 +11592,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Subscriptions$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -11506,7 +11623,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11561,11 +11681,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Subscriptions$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Subscriptions$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Subscriptions$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -11594,7 +11714,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11649,11 +11772,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Subscriptions$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Subscriptions$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11686,8 +11809,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Subscriptions$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11820,11 +11943,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Superchatevents$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Superchatevents$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Superchatevents$List, options: StreamMethodOptions | BodyResponseCallback, @@ -11859,8 +11982,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Superchatevents$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -11942,11 +12065,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Tests$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Tests$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Tests$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -11975,7 +12098,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Tests$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12049,11 +12175,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Thirdpartylinks$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Thirdpartylinks$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Thirdpartylinks$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12080,7 +12206,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Thirdpartylinks$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12135,11 +12264,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Thirdpartylinks$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Thirdpartylinks$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Thirdpartylinks$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -12168,7 +12297,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Thirdpartylinks$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12223,11 +12355,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Thirdpartylinks$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Thirdpartylinks$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Thirdpartylinks$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12262,8 +12394,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Thirdpartylinks$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12318,11 +12450,11 @@ export namespace youtube_v3 { update( params: Params$Resource$Thirdpartylinks$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Thirdpartylinks$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Thirdpartylinks$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -12351,7 +12483,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Thirdpartylinks$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12484,11 +12619,11 @@ export namespace youtube_v3 { set( params: Params$Resource$Thumbnails$Set, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; set( params?: Params$Resource$Thumbnails$Set, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; set( params: Params$Resource$Thumbnails$Set, options: StreamMethodOptions | BodyResponseCallback, @@ -12521,8 +12656,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Thumbnails$Set; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12618,11 +12753,13 @@ export namespace youtube_v3 { list( params: Params$Resource$Videoabusereportreasons$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Videoabusereportreasons$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( params: Params$Resource$Videoabusereportreasons$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12657,8 +12794,10 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videoabusereportreasons$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12734,11 +12873,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Videocategories$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Videocategories$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Videocategories$List, options: StreamMethodOptions | BodyResponseCallback, @@ -12773,8 +12912,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videocategories$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12856,11 +12995,11 @@ export namespace youtube_v3 { delete( params: Params$Resource$Videos$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Videos$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Videos$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -12887,7 +13026,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -12938,11 +13080,11 @@ export namespace youtube_v3 { getRating( params: Params$Resource$Videos$Getrating, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; getRating( params?: Params$Resource$Videos$Getrating, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; getRating( params: Params$Resource$Videos$Getrating, options: StreamMethodOptions | BodyResponseCallback, @@ -12977,8 +13119,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$Getrating; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13032,11 +13174,11 @@ export namespace youtube_v3 { insert( params: Params$Resource$Videos$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Videos$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Videos$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -13065,7 +13207,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13120,11 +13265,11 @@ export namespace youtube_v3 { list( params: Params$Resource$Videos$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Videos$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Videos$List, options: StreamMethodOptions | BodyResponseCallback, @@ -13155,8 +13300,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13207,11 +13352,11 @@ export namespace youtube_v3 { rate( params: Params$Resource$Videos$Rate, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; rate( params?: Params$Resource$Videos$Rate, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; rate( params: Params$Resource$Videos$Rate, options: StreamMethodOptions | BodyResponseCallback, @@ -13238,7 +13383,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$Rate; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13292,11 +13440,11 @@ export namespace youtube_v3 { reportAbuse( params: Params$Resource$Videos$Reportabuse, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; reportAbuse( params?: Params$Resource$Videos$Reportabuse, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; reportAbuse( params: Params$Resource$Videos$Reportabuse, options: StreamMethodOptions | BodyResponseCallback, @@ -13323,7 +13471,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$Reportabuse; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13378,11 +13529,11 @@ export namespace youtube_v3 { update( params: Params$Resource$Videos$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Videos$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Videos$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -13411,7 +13562,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videos$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13627,11 +13781,11 @@ export namespace youtube_v3 { get( params: Params$Resource$Videotrainability$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Videotrainability$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Videotrainability$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -13662,8 +13816,8 @@ export namespace youtube_v3 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Videotrainability$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13733,11 +13887,11 @@ export namespace youtube_v3 { set( params: Params$Resource$Watermarks$Set, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; set( params?: Params$Resource$Watermarks$Set, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; set( params: Params$Resource$Watermarks$Set, options: StreamMethodOptions | BodyResponseCallback, @@ -13764,7 +13918,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Watermarks$Set; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13822,11 +13979,11 @@ export namespace youtube_v3 { unset( params: Params$Resource$Watermarks$Unset, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; unset( params?: Params$Resource$Watermarks$Unset, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; unset( params: Params$Resource$Watermarks$Unset, options: StreamMethodOptions | BodyResponseCallback, @@ -13853,7 +14010,10 @@ export namespace youtube_v3 { | BodyResponseCallback | BodyResponseCallback, callback?: BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Watermarks$Unset; let options = (optionsOrCallback || {}) as MethodOptions; @@ -13964,11 +14124,11 @@ export namespace youtube_v3 { updateCommentThreads( params: Params$Resource$Youtube$V3$Updatecommentthreads, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; updateCommentThreads( params?: Params$Resource$Youtube$V3$Updatecommentthreads, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; updateCommentThreads( params: Params$Resource$Youtube$V3$Updatecommentthreads, options: StreamMethodOptions | BodyResponseCallback, @@ -13999,7 +14159,10 @@ export namespace youtube_v3 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Youtube$V3$Updatecommentthreads; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/youtubeAnalytics/index.ts b/src/apis/youtubeAnalytics/index.ts index 1f9c63f44f9..39f243163f9 100644 --- a/src/apis/youtubeAnalytics/index.ts +++ b/src/apis/youtubeAnalytics/index.ts @@ -59,7 +59,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/youtubeAnalytics/package.json b/src/apis/youtubeAnalytics/package.json index a8eb39f8d7c..8db2b932a12 100644 --- a/src/apis/youtubeAnalytics/package.json +++ b/src/apis/youtubeAnalytics/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/youtubeAnalytics/v1.ts b/src/apis/youtubeAnalytics/v1.ts index e60a012952a..dc075c51a73 100644 --- a/src/apis/youtubeAnalytics/v1.ts +++ b/src/apis/youtubeAnalytics/v1.ts @@ -24,7 +24,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, diff --git a/src/apis/youtubeAnalytics/v2.ts b/src/apis/youtubeAnalytics/v2.ts index a8c3773ec58..db1bb5b705d 100644 --- a/src/apis/youtubeAnalytics/v2.ts +++ b/src/apis/youtubeAnalytics/v2.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -380,11 +380,11 @@ export namespace youtubeAnalytics_v2 { delete( params: Params$Resource$Groupitems$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Groupitems$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Groupitems$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -413,7 +413,10 @@ export namespace youtubeAnalytics_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groupitems$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -466,11 +469,11 @@ export namespace youtubeAnalytics_v2 { insert( params: Params$Resource$Groupitems$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Groupitems$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Groupitems$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -499,7 +502,10 @@ export namespace youtubeAnalytics_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groupitems$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -552,11 +558,11 @@ export namespace youtubeAnalytics_v2 { list( params: Params$Resource$Groupitems$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Groupitems$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Groupitems$List, options: StreamMethodOptions | BodyResponseCallback, @@ -589,8 +595,8 @@ export namespace youtubeAnalytics_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groupitems$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -683,11 +689,11 @@ export namespace youtubeAnalytics_v2 { delete( params: Params$Resource$Groups$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Groups$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Groups$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -716,7 +722,10 @@ export namespace youtubeAnalytics_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -768,11 +777,11 @@ export namespace youtubeAnalytics_v2 { insert( params: Params$Resource$Groups$Insert, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; insert( params?: Params$Resource$Groups$Insert, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; insert( params: Params$Resource$Groups$Insert, options: StreamMethodOptions | BodyResponseCallback, @@ -801,7 +810,10 @@ export namespace youtubeAnalytics_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Insert; let options = (optionsOrCallback || {}) as MethodOptions; @@ -853,11 +865,11 @@ export namespace youtubeAnalytics_v2 { list( params: Params$Resource$Groups$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Groups$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Groups$List, options: StreamMethodOptions | BodyResponseCallback, @@ -888,8 +900,8 @@ export namespace youtubeAnalytics_v2 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -941,11 +953,11 @@ export namespace youtubeAnalytics_v2 { update( params: Params$Resource$Groups$Update, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; update( params?: Params$Resource$Groups$Update, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; update( params: Params$Resource$Groups$Update, options: StreamMethodOptions | BodyResponseCallback, @@ -974,7 +986,10 @@ export namespace youtubeAnalytics_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Groups$Update; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1084,11 +1099,11 @@ export namespace youtubeAnalytics_v2 { query( params: Params$Resource$Reports$Query, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; query( params?: Params$Resource$Reports$Query, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; query( params: Params$Resource$Reports$Query, options: StreamMethodOptions | BodyResponseCallback, @@ -1117,7 +1132,10 @@ export namespace youtubeAnalytics_v2 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reports$Query; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/apis/youtubereporting/index.ts b/src/apis/youtubereporting/index.ts index 32d9f4b67f4..945cb32894a 100644 --- a/src/apis/youtubereporting/index.ts +++ b/src/apis/youtubereporting/index.ts @@ -42,7 +42,6 @@ export { APIRequestContext, GoogleConfigurable, StreamMethodOptions, - GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common'; diff --git a/src/apis/youtubereporting/package.json b/src/apis/youtubereporting/package.json index 8c26f6bc10d..6672a8fc31d 100644 --- a/src/apis/youtubereporting/package.json +++ b/src/apis/youtubereporting/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/youtubereporting/v1.ts b/src/apis/youtubereporting/v1.ts index 385090dd78e..b8ed16f1697 100644 --- a/src/apis/youtubereporting/v1.ts +++ b/src/apis/youtubereporting/v1.ts @@ -23,7 +23,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, @@ -605,11 +605,11 @@ export namespace youtubereporting_v1 { create( params: Params$Resource$Jobs$Create, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; create( params?: Params$Resource$Jobs$Create, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; create( params: Params$Resource$Jobs$Create, options: StreamMethodOptions | BodyResponseCallback, @@ -638,7 +638,10 @@ export namespace youtubereporting_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Create; let options = (optionsOrCallback || {}) as MethodOptions; @@ -690,11 +693,11 @@ export namespace youtubereporting_v1 { delete( params: Params$Resource$Jobs$Delete, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; delete( params?: Params$Resource$Jobs$Delete, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; delete( params: Params$Resource$Jobs$Delete, options: StreamMethodOptions | BodyResponseCallback, @@ -723,7 +726,10 @@ export namespace youtubereporting_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; @@ -775,11 +781,11 @@ export namespace youtubereporting_v1 { get( params: Params$Resource$Jobs$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Jobs$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Jobs$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -808,7 +814,10 @@ export namespace youtubereporting_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -860,11 +869,11 @@ export namespace youtubereporting_v1 { list( params: Params$Resource$Jobs$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Jobs$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Jobs$List, options: StreamMethodOptions | BodyResponseCallback, @@ -893,7 +902,10 @@ export namespace youtubereporting_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1002,11 +1014,11 @@ export namespace youtubereporting_v1 { get( params: Params$Resource$Jobs$Reports$Get, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; get( params?: Params$Resource$Jobs$Reports$Get, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; get( params: Params$Resource$Jobs$Reports$Get, options: StreamMethodOptions | BodyResponseCallback, @@ -1035,7 +1047,10 @@ export namespace youtubereporting_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Reports$Get; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1090,11 +1105,11 @@ export namespace youtubereporting_v1 { list( params: Params$Resource$Jobs$Reports$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Jobs$Reports$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Jobs$Reports$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1125,8 +1140,8 @@ export namespace youtubereporting_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Jobs$Reports$List; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1235,11 +1250,11 @@ export namespace youtubereporting_v1 { download( params: Params$Resource$Media$Download, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; download( params?: Params$Resource$Media$Download, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; download( params: Params$Resource$Media$Download, options: StreamMethodOptions | BodyResponseCallback, @@ -1268,7 +1283,10 @@ export namespace youtubereporting_v1 { callback?: | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; let options = (optionsOrCallback || {}) as MethodOptions; @@ -1337,11 +1355,11 @@ export namespace youtubereporting_v1 { list( params: Params$Resource$Reporttypes$List, options: StreamMethodOptions - ): GaxiosPromise; + ): Promise>; list( params?: Params$Resource$Reporttypes$List, options?: MethodOptions - ): GaxiosPromise; + ): Promise>; list( params: Params$Resource$Reporttypes$List, options: StreamMethodOptions | BodyResponseCallback, @@ -1374,8 +1392,8 @@ export namespace youtubereporting_v1 { | BodyResponseCallback ): | void - | GaxiosPromise - | GaxiosPromise { + | Promise> + | Promise> { let params = (paramsOrCallback || {}) as Params$Resource$Reporttypes$List; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/generator/disclaimer.ts b/src/generator/disclaimer.ts index dddf167970a..dcb290db32f 100644 --- a/src/generator/disclaimer.ts +++ b/src/generator/disclaimer.ts @@ -62,5 +62,7 @@ export async function main() { } if (require.main === module) { - main(); + main().catch(err => { + throw err; + }); } diff --git a/src/generator/docs.ts b/src/generator/docs.ts index d3ce59987b1..05acf8f8ce9 100644 --- a/src/generator/docs.ts +++ b/src/generator/docs.ts @@ -62,7 +62,7 @@ export async function main() { './node_modules/.bin/jsdoc', '-c', '.jsdoc.js', - ]) + ]), ) .then(() => { i++; @@ -73,5 +73,7 @@ export async function main() { } if (require.main === module) { - main(); + main().catch(err => { + throw err; + }); } diff --git a/src/generator/download.ts b/src/generator/download.ts index 5c0112b2a1a..e7b88aab211 100644 --- a/src/generator/download.ts +++ b/src/generator/download.ts @@ -17,7 +17,7 @@ import * as path from 'path'; import * as fs from 'fs'; const {mkdir} = require('fs').promises; import Q from 'p-queue'; -import {request, Headers} from 'gaxios'; +import {request} from 'gaxios'; import * as gapi from 'googleapis-common'; export type Schema = {[index: string]: {}}; @@ -56,15 +56,16 @@ export const gfs = { * @param options */ export async function downloadDiscoveryDocs( - options: DownloadOptions + options: DownloadOptions, ): Promise { await gfs.mkdir(options.downloadPath); const headers: Headers = options.includePrivate - ? {} - : {'X-User-Ip': '0.0.0.0'}; - headers['Content-Type'] = headers['Content-Type'] - ? headers['Content-Type'] - : 'application/json'; + ? new Headers() + : new Headers({'X-User-Ip': '0.0.0.0'}); + headers.append( + 'Content-Type', + headers.get('Content-Type') ?? 'application/json', + ); console.log(`sending request to ${options.discoveryUrl}`); const res = await request({ url: `${options.discoveryUrl}/index.json`, @@ -81,7 +82,7 @@ export async function downloadDiscoveryDocs( console.log(`Downloading ${api.id}...`); const apiPath = path.join( options.downloadPath, - api.id.replace(':', '-') + '.json' + api.id.replace(':', '-') + '.json', ); const url = `${options.discoveryUrl}/${api.name}.${api.version}.json`; const changeSet: ChangeSet = {api, changes: []}; @@ -106,11 +107,40 @@ export async function downloadDiscoveryDocs( console.error(`Error downloading: ${url}`); } return changeSet; - }) + }), ); + cleanupLibrariesNotInIndexJSON(apis, options); return changes; } +// These are libraries we should no longer support because +// they are not present in the index.json +// example: b/148605368 +function cleanupLibrariesNotInIndexJSON( + apis: gapi.Schema[], + options: DownloadOptions, +): void { + const srcPath = path.join(__dirname, '../../../src', 'apis'); + const discoveryDirectory = fs.readdirSync(options.downloadPath); + const apisReplaced = apis.map( + x => x.id.toString().replace(':', '-') + '.json', + ); + // So that we don't delete index.json + apisReplaced.push('index.json'); + const discoveryDocsToDelete = discoveryDirectory.filter( + x => !apisReplaced.includes(x), + ); + const clientFilesToDelete = discoveryDocsToDelete.map(x => { + const apiName = x.split('-')[0]; + const versionName = apiName[1].split('.')[0]; + return path.join(srcPath, apiName, `${versionName}.ts`); + }); + discoveryDocsToDelete.forEach(x => + fs.unlinkSync(path.join(options.downloadPath, x)), + ); + clientFilesToDelete.forEach(x => fs.unlinkSync(x)); +} + const ignoreLines = /^\s+"(?:etag|revision)": ".+"/; /** @@ -123,7 +153,7 @@ export function shouldUpdate(newDoc: {}, oldDoc: {}) { JSON.stringify(doc, null, 2) .split('\n') .filter(l => !ignoreLines.test(l)) - .join('\n') + .join('\n'), ); return newLines !== oldLines; } @@ -149,8 +179,12 @@ export function sortKeys(obj: Schema): Schema { keys = keys.sort(); for (const key of keys) { // typeof [] === 'object', which is maddening - if (!Array.isArray(obj[key]) && typeof obj[key] === 'object') { - sorted[key] = sortKeys(obj[key]); + if ( + !Array.isArray(obj[key]) && + typeof obj[key] === 'object' && + typeof key === 'string' + ) { + sorted[key] = sortKeys(obj[key] as Schema); } else { sorted[key] = obj[key]; } @@ -246,5 +280,7 @@ if (require.main === module) { const discoveryUrl = argv['discovery-url'] || DISCOVERY_URL; const downloadPath = argv['download-path'] || path.join(__dirname, '../../../discovery'); - downloadDiscoveryDocs({discoveryUrl, downloadPath}); + downloadDiscoveryDocs({discoveryUrl, downloadPath}).catch(err => { + throw err; + }); } diff --git a/src/generator/generator.ts b/src/generator/generator.ts index acf6b901b79..f9008d024c4 100644 --- a/src/generator/generator.ts +++ b/src/generator/generator.ts @@ -21,7 +21,7 @@ import * as util from 'util'; import Q from 'p-queue'; import * as prettier from 'prettier'; import * as minimist from 'yargs-parser'; -import {GaxiosError, request} from 'gaxios'; +import {request} from 'gaxios'; import {DISCOVERY_URL} from './download'; import {downloadDiscoveryDocs, ChangeSet} from './download'; import * as filters from './filters'; @@ -63,7 +63,7 @@ export class Generator { this.options = options; this.env = new nunjucks.Environment( new nunjucks.FileSystemLoader(TEMPLATES_DIR), - {trimBlocks: true} + {trimBlocks: true}, ); this.env.addFilter('buildurl', filters.buildurl); this.env.addFilter('getType', filters.getType); @@ -101,7 +101,7 @@ export class Generator { */ async generateAllAPIs( discoveryUrl: string, - useCache: boolean + useCache: boolean, ): Promise { const ignore = require('../../../ignore.json').ignore as string[]; const discoveryPath = path.join(__dirname, '../../../discovery'); @@ -131,19 +131,19 @@ export class Generator { this.log(`Generating API for ${api.id}...`); this.logResult( api.discoveryRestUrl, - 'Attempting first generateAPI call...' + 'Attempting first generateAPI call...', ); try { const apiPath = path.join( discoveryPath, - api.id.replace(':', '-') + '.json' + api.id.replace(':', '-') + '.json', ); await this.generateAPI(apiPath); this.logResult(api.discoveryRestUrl, 'GenerateAPI call success!'); } catch (e) { this.logResult( api.discoveryRestUrl, - `GenerateAPI call failed with error: ${e}, moving on.` + `GenerateAPI call failed with error: ${e}, moving on.`, ); console.error(`Failed to generate API: ${api.id}`); console.error(e); @@ -153,10 +153,10 @@ export class Generator { util.inspect(this.state.get(api.discoveryRestUrl), { maxArrayLength: null, }) + - '\n' + '\n', ); } - }) + }), ); await this.generateIndex(apis); return changes; @@ -197,7 +197,7 @@ export class Generator { const [pkgPath, pkgData] = await this.getPkgPathAndData( apisPath, file, - desc || '' + desc || '', ); await this.render('package.json', pkgData, pkgPath); // generate the README.md @@ -208,7 +208,7 @@ export class Generator { await this.render( 'README.md.njk', {name: file, desc, disclaimer}, - rdPath + rdPath, ); // generate the tsconfig.json const tsPath = path.join(apisPath, file, 'tsconfig.json'); @@ -230,7 +230,7 @@ export class Generator { apisPath: string, file: string, desc: string, - defaultVersion = '0.1.0' + defaultVersion = '0.1.0', ): Promise<[string, PkgData]> { const pkgPath = path.join(apisPath, file, 'package.json'); const packageData = {name: file, desc, version: defaultVersion}; @@ -274,7 +274,7 @@ export class Generator { const exportFilename = path.join(apiPath, schema.version + '.ts'); await mkdir(path.dirname(exportFilename), {recursive: true}); // populate the `method.fragment` property with samples - addFragments(schema); + await addFragments(schema); // generate the API (ex: src/apis/youtube/v3.ts) await this.render(API_TEMPLATE, {api: schema}, exportFilename); // generate samples on disk at: @@ -338,7 +338,7 @@ export class Generator { for (const api of releasableAPIs) { releasePleaseConfig.packages[`src/apis/${api}`] = {}; releasePleaseManifest[`src/apis/${api}`] = require( - `../../../src/apis/${api}/package.json` + `../../../src/apis/${api}/package.json`, ).version; } @@ -349,13 +349,13 @@ export class Generator { fs.writeFileSync( path.resolve(rootPath, './release-please-config.json'), JSON.stringify(releasePleaseConfig, null, 2), - 'utf8' + 'utf8', ); fs.writeFileSync( path.resolve(rootPath, './.release-please-manifest.json'), JSON.stringify(releasePleaseManifest, null, 2), - 'utf8' + 'utf8', ); } } @@ -383,9 +383,9 @@ async function main() { await gen.generateAllAPIs(discoveryUrl || DISCOVERY_URL, useCache); // Re-generates release-please manifest and config files console.log( - 'Generating .release-please-manifest.json and release-please-config.json' + 'Generating .release-please-manifest.json and release-please-config.json', ); - gen.generateReleasePleaseConfig(); + await gen.generateReleasePleaseConfig(); console.log('Finished generating APIs!'); } } diff --git a/src/generator/samplegen.ts b/src/generator/samplegen.ts index 508a6b5b92a..f1f556235e6 100644 --- a/src/generator/samplegen.ts +++ b/src/generator/samplegen.ts @@ -36,7 +36,7 @@ prettierConfig.parser = 'babel'; const env = new nunjucks.Environment( new nunjucks.FileSystemLoader(TEMPLATES_DIR), - {trimBlocks: true} + {trimBlocks: true}, ); env.addFilter('unRegex', filters.unRegex); env.addFilter('cleanPropertyName', filters.cleanPropertyName); @@ -153,7 +153,7 @@ function getExamplePropertyValue( name: string, details: SchemaItem, // eslint-disable-next-line @typescript-eslint/no-unused-vars - schemas: SchemaItems + schemas: SchemaItems, ): {} { switch (details.type) { case 'string': diff --git a/src/generator/templates/api-endpoint.njk b/src/generator/templates/api-endpoint.njk index a601a5e7513..e9c43492906 100644 --- a/src/generator/templates/api-endpoint.njk +++ b/src/generator/templates/api-endpoint.njk @@ -16,7 +16,7 @@ import { Compute, UserRefreshClient, BaseExternalAccountClient, - GaxiosPromise, + GaxiosResponseWithHTTP2, GoogleConfigurable, createAPIRequest, MethodOptions, diff --git a/src/generator/templates/api-index.njk b/src/generator/templates/api-index.njk index c8d2cb1a671..60417ddee35 100644 --- a/src/generator/templates/api-index.njk +++ b/src/generator/templates/api-index.njk @@ -31,4 +31,4 @@ export {auth} {% for versionName, version in api %} export { {{ name }}_{{ version|replace('.','_') }} }; {% endfor %} -export {AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback} from 'googleapis-common'; +export {AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, MethodOptions, BodyResponseCallback} from 'googleapis-common'; diff --git a/src/generator/templates/method-partial.njk b/src/generator/templates/method-partial.njk index 25c64a657a7..706b591f6d4 100644 --- a/src/generator/templates/method-partial.njk +++ b/src/generator/templates/method-partial.njk @@ -26,13 +26,13 @@ {% else %} {% set responseType = "void" %} {% endif %} -{{ mname|camelify }}(params: Params${{ClassName}}${{mname|camelify|capitalize}}, options: StreamMethodOptions): GaxiosPromise; -{{ mname|camelify }}(params?: Params${{ClassName}}${{mname|camelify|capitalize}}, options?: MethodOptions): GaxiosPromise<{{responseType}}>; +{{ mname|camelify }}(params: Params${{ClassName}}${{mname|camelify|capitalize}}, options: StreamMethodOptions): Promise>; +{{ mname|camelify }}(params?: Params${{ClassName}}${{mname|camelify|capitalize}}, options?: MethodOptions): Promise>; {{ mname|camelify }}(params: Params${{ClassName}}${{mname|camelify|capitalize}}, options: StreamMethodOptions|BodyResponseCallback, callback: BodyResponseCallback): void; {{ mname|camelify }}(params: Params${{ClassName}}${{mname|camelify|capitalize}}, options: MethodOptions|BodyResponseCallback<{{responseType}}>, callback: BodyResponseCallback<{{responseType}}>): void; {{ mname|camelify }}(params: Params${{ClassName}}${{mname|camelify|capitalize}}, callback: BodyResponseCallback<{{responseType}}>): void; {{ mname|camelify }}(callback: BodyResponseCallback<{{responseType}}>): void; -{{ mname|camelify }}(paramsOrCallback?: Params${{ClassName}}${{mname|camelify|capitalize}}|BodyResponseCallback<{{responseType}}>|BodyResponseCallback, optionsOrCallback?: MethodOptions|StreamMethodOptions|BodyResponseCallback<{{responseType}}>|BodyResponseCallback, callback?: BodyResponseCallback<{{responseType}}>|BodyResponseCallback): void|GaxiosPromise<{{responseType}}>|GaxiosPromise { +{{ mname|camelify }}(paramsOrCallback?: Params${{ClassName}}${{mname|camelify|capitalize}}|BodyResponseCallback<{{responseType}}>|BodyResponseCallback, optionsOrCallback?: MethodOptions|StreamMethodOptions|BodyResponseCallback<{{responseType}}>|BodyResponseCallback, callback?: BodyResponseCallback<{{responseType}}>|BodyResponseCallback): void|Promise>|Promise> { let params = (paramsOrCallback || {}) as Params${{ClassName}}${{mname|camelify|capitalize}}; let options = (optionsOrCallback || {}) as MethodOptions; diff --git a/src/generator/templates/package.json b/src/generator/templates/package.json index 7ecea60fb8e..484b0fec9e5 100644 --- a/src/generator/templates/package.json +++ b/src/generator/templates/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^7.0.0" + "googleapis-common": "^8.0.2-rc.0" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/googleapis.ts b/src/googleapis.ts index a370d62155a..9881061db70 100644 --- a/src/googleapis.ts +++ b/src/googleapis.ts @@ -101,7 +101,7 @@ export class GoogleApis extends GeneratedAPIs { discover(url: string, callback: (err?: Error) => void): void; discover( url: string, - callback?: (err?: Error) => void + callback?: (err?: Error) => void, ): void | Promise { if (callback) { this.discoverAsync(url) @@ -126,7 +126,7 @@ export class GoogleApis extends GeneratedAPIs { */ async discoverAPI( apiPath: string, - options: {} = {} + options: {} = {}, ): Promise> { const endpointCreator = await this._discovery.discoverAPI(apiPath); const ep = endpointCreator(options, this); diff --git a/src/index.ts b/src/index.ts index 781e949554f..b9dc7586ad7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -67,6 +67,7 @@ export {androidpublisher_v3} from './apis/androidpublisher/v3'; export {apigateway_v1} from './apis/apigateway/v1'; export {apigateway_v1beta} from './apis/apigateway/v1beta'; export {apigeeregistry_v1} from './apis/apigeeregistry/v1'; +export {apihub_v1} from './apis/apihub/v1'; export {apikeys_v2} from './apis/apikeys/v2'; export {apim_v1alpha} from './apis/apim/v1alpha'; export {appengine_v1} from './apis/appengine/v1'; @@ -267,6 +268,8 @@ export {firebaseappcheck_v1} from './apis/firebaseappcheck/v1'; export {firebaseappcheck_v1beta} from './apis/firebaseappcheck/v1beta'; export {firebaseappdistribution_v1} from './apis/firebaseappdistribution/v1'; export {firebaseappdistribution_v1alpha} from './apis/firebaseappdistribution/v1alpha'; +export {firebaseapphosting_v1} from './apis/firebaseapphosting/v1'; +export {firebaseapphosting_v1beta} from './apis/firebaseapphosting/v1beta'; export {firebasedatabase_v1beta} from './apis/firebasedatabase/v1beta'; export {firebasedataconnect_v1} from './apis/firebasedataconnect/v1'; export {firebasedataconnect_v1beta} from './apis/firebasedataconnect/v1beta'; @@ -352,8 +355,10 @@ export {merchantapi_accounts_v1beta} from './apis/merchantapi/accounts_v1beta'; export {merchantapi_conversions_v1beta} from './apis/merchantapi/conversions_v1beta'; export {merchantapi_datasources_v1beta} from './apis/merchantapi/datasources_v1beta'; export {merchantapi_inventories_v1beta} from './apis/merchantapi/inventories_v1beta'; +export {merchantapi_issueresolution_v1beta} from './apis/merchantapi/issueresolution_v1beta'; export {merchantapi_lfp_v1beta} from './apis/merchantapi/lfp_v1beta'; export {merchantapi_notifications_v1beta} from './apis/merchantapi/notifications_v1beta'; +export {merchantapi_ordertracking_v1beta} from './apis/merchantapi/ordertracking_v1beta'; export {merchantapi_products_v1beta} from './apis/merchantapi/products_v1beta'; export {merchantapi_promotions_v1beta} from './apis/merchantapi/promotions_v1beta'; export {merchantapi_quota_v1beta} from './apis/merchantapi/quota_v1beta'; diff --git a/system-test/kitchen.test.ts b/system-test/kitchen.test.ts index bc501c7915b..20aa4b13b78 100644 --- a/system-test/kitchen.test.ts +++ b/system-test/kitchen.test.ts @@ -23,7 +23,7 @@ import {describe, it, afterEach} from 'mocha'; const delay = async ( test: Mocha.Runnable | undefined, addMs: number, - currentRetry: number + currentRetry: number, ) => { if (!test) { return; @@ -65,7 +65,7 @@ describe('kitchen sink', async () => { await new Promise(resolve => setTimeout(resolve, 100)); const tarball = path.join( __dirname, - `../../${pkg.name}-${pkg.version}.tgz` + `../../${pkg.name}-${pkg.version}.tgz`, ); console.log(`mv ${tarball} ${stagingPath}/googleapis.tgz`); await mvp(tarball, `${stagingPath}/googleapis.tgz`); @@ -73,7 +73,7 @@ describe('kitchen sink', async () => { cp.spawnSync( 'npm', ['install'], - Object.assign({cwd: `${stagingPath}/`}, spawnOpts) + Object.assign({cwd: `${stagingPath}/`}, spawnOpts), ); }); diff --git a/test/test.apikey.ts b/test/test.apikey.ts index 7cfb1b01145..ba6d35e79f7 100644 --- a/test/test.apikey.ts +++ b/test/test.apikey.ts @@ -54,7 +54,7 @@ async function testAuthKey(blogger: APIEndpoint) { req.done(); assert.strictEqual( Utils.getQs(res)!.indexOf('key=YOUR%20API%20KEY') > -1, - true + true, ); } diff --git a/test/test.auth.ts b/test/test.auth.ts index 09d082b0c7c..241347d5010 100644 --- a/test/test.auth.ts +++ b/test/test.auth.ts @@ -37,13 +37,13 @@ describe(__filename, () => { }); it('should create a jwt through googleapis', () => { - const jwt = new googleapis.auth.JWT( - 'someone@somewhere.com', - 'file1', - 'key1', - 'scope1', - 'subject1' - ); + const jwt = new googleapis.auth.JWT({ + email: 'someone@somewhere.com', + keyFile: 'file1', + key: 'key1', + scopes: 'scope1', + subject: 'subject1', + }); assert.strictEqual(jwt.email, 'someone@somewhere.com'); assert.strictEqual(jwt.keyFile, 'file1'); assert.strictEqual(jwt.key, 'key1'); @@ -78,13 +78,13 @@ describe(__filename, () => { async function testNoTokens(blogger: APIEndpoint, client: OAuth2Client) { await assert.rejects( blogger.pages.get({blogId: '123', pageId: '123', auth: client}), - /No access, refresh token/ + /No access, refresh token/, ); } async function testNoBearer( blogger: APIEndpoint, - oauth2client: OAuth2Client + oauth2client: OAuth2Client, ) { await blogger.pages.list({blogId: 'abc123', auth: oauth2client}); assert.strictEqual(oauth2client.credentials.token_type, 'Bearer'); @@ -93,7 +93,7 @@ describe(__filename, () => { async function testExpired( drive: APIEndpoint, oauth2client: OAuth2Client, - now: number + now: number, ) { nock(Utils.baseUrl).get('/drive/v2/files/wat').reply(200); await drive.files.get({fileId: 'wat', auth: oauth2client}); @@ -109,7 +109,7 @@ describe(__filename, () => { async function testNoAccessToken( drive: APIEndpoint, oauth2client: OAuth2Client, - now: number + now: number, ) { nock(Utils.baseUrl).get('/drive/v2/files/wat').reply(200); await drive.files.get({fileId: 'wat', auth: oauth2client}); @@ -153,12 +153,12 @@ describe(__filename, () => { const oauth2client = new googleapis.auth.OAuth2( CLIENT_ID, CLIENT_SECRET, - REDIRECT_URI + REDIRECT_URI, ); await testNoTokens(localBlogger, oauth2client as unknown as OAuth2Client); await testNoTokens( remoteBlogger, - oauth2client as unknown as OAuth2Client + oauth2client as unknown as OAuth2Client, ); }); @@ -166,7 +166,7 @@ describe(__filename, () => { const oauth2client = new googleapis.auth.OAuth2( CLIENT_ID, CLIENT_SECRET, - REDIRECT_URI + REDIRECT_URI, ); oauth2client.credentials = {refresh_token: 'refresh_token'}; assert.doesNotThrow(() => { @@ -180,7 +180,7 @@ describe(__filename, () => { const oauth2client = new googleapis.auth.OAuth2( CLIENT_ID, CLIENT_SECRET, - REDIRECT_URI + REDIRECT_URI, ); oauth2client.credentials = {access_token: 'foo', refresh_token: ''}; const scope = nock('https://blogger.googleapis.com') @@ -190,7 +190,7 @@ describe(__filename, () => { await testNoBearer(localBlogger, oauth2client as unknown as OAuth2Client); await testNoBearer( remoteBlogger, - oauth2client as unknown as OAuth2Client + oauth2client as unknown as OAuth2Client, ); scope.done(); }); @@ -203,7 +203,7 @@ describe(__filename, () => { let oauth2client = new googleapis.auth.OAuth2( CLIENT_ID, CLIENT_SECRET, - REDIRECT_URI + REDIRECT_URI, ); let now = new Date().getTime(); let twoSecondsAgo = now - 2000; @@ -214,12 +214,12 @@ describe(__filename, () => { await testExpired( localDrive, oauth2client as unknown as OAuth2Client, - now + now, ); oauth2client = new googleapis.auth.OAuth2( CLIENT_ID, CLIENT_SECRET, - REDIRECT_URI + REDIRECT_URI, ); now = new Date().getTime(); twoSecondsAgo = now - 2000; @@ -230,7 +230,7 @@ describe(__filename, () => { await testExpired( remoteDrive, oauth2client as unknown as OAuth2Client, - now + now, ); scope.done(); }); @@ -243,7 +243,7 @@ describe(__filename, () => { let oauth2client = new googleapis.auth.OAuth2( CLIENT_ID, CLIENT_SECRET, - REDIRECT_URI + REDIRECT_URI, ); let now = new Date().getTime(); let tenMinutesFromNow = now + 1000 * 60 * 10; @@ -262,7 +262,7 @@ describe(__filename, () => { refresh_token: 'abc', expiry_date: tenMinutesFromNow, token_type: 'Bearer', - }) + }), ); assert.throws(() => { @@ -271,7 +271,7 @@ describe(__filename, () => { oauth2client = new googleapis.auth.OAuth2( CLIENT_ID, CLIENT_SECRET, - REDIRECT_URI + REDIRECT_URI, ); now = new Date().getTime(); tenMinutesFromNow = now + 1000 * 60 * 10; @@ -290,7 +290,7 @@ describe(__filename, () => { refresh_token: 'abc', expiry_date: tenMinutesFromNow, token_type: 'Bearer', - }) + }), ); assert.throws(() => { @@ -306,21 +306,21 @@ describe(__filename, () => { const oauth2client = new googleapis.auth.OAuth2( CLIENT_ID, CLIENT_SECRET, - REDIRECT_URI + REDIRECT_URI, ); let now = new Date().getTime(); oauth2client.credentials = {refresh_token: 'abc'}; await testNoAccessToken( localDrive, oauth2client as unknown as OAuth2Client, - now + now, ); now = new Date().getTime(); oauth2client.credentials = {refresh_token: 'abc'}; await testNoAccessToken( remoteDrive, oauth2client as unknown as OAuth2Client, - now + now, ); scope.done(); }); @@ -333,7 +333,7 @@ describe(__filename, () => { const oauth2client = new googleapis.auth.OAuth2( CLIENT_ID, CLIENT_SECRET, - REDIRECT_URI + REDIRECT_URI, ); oauth2client.credentials = {access_token: 'abc', refresh_token: 'abc'}; const res = await oauth2client.revokeCredentials(); @@ -346,12 +346,12 @@ describe(__filename, () => { const oauth2client = new googleapis.auth.OAuth2( CLIENT_ID, CLIENT_SECRET, - REDIRECT_URI + REDIRECT_URI, ); oauth2client.credentials = {refresh_token: 'abc'}; await assert.rejects( oauth2client.revokeCredentials(), - /Error: No access token to revoke./ + /Error: No access token to revoke./, ); assert.deepStrictEqual(oauth2client.credentials, {}); }); @@ -370,7 +370,7 @@ describe(__filename, () => { const oauth2client = new googleapis.auth.OAuth2( CLIENT_ID, CLIENT_SECRET, - REDIRECT_URI + REDIRECT_URI, ); const res = await oauth2client.getToken('code here'); assert(res.tokens.expiry_date! >= now + 10 * 1000); diff --git a/test/test.clients.ts b/test/test.clients.ts index 72e1cc41801..5ff25db8716 100644 --- a/test/test.clients.ts +++ b/test/test.clients.ts @@ -107,7 +107,7 @@ describe('Clients', () => { assert.notStrictEqual( query.indexOf('myParam=123'), -1, - 'Default param in query' + 'Default param in query', ); const datastore2 = await Utils.loadApi(google, 'datastore', 'v1', { params: {myParam: '123'}, @@ -123,7 +123,7 @@ describe('Clients', () => { assert.notStrictEqual( query2.indexOf('myParam=123'), -1, - 'Default param in query' + 'Default param in query', ); }); @@ -137,7 +137,7 @@ describe('Clients', () => { createNock('myParam=456'); const res = await datastore.projects.lookup( // eslint-disable-next-line @typescript-eslint/no-explicit-any - {projectId: 'test-project-id', myParam: '456'} as any + {projectId: 'test-project-id', myParam: '456'} as any, ); // If the default param handling is broken, query might be undefined, thus // concealing the assertion message with some generic "cannot call .indexOf @@ -146,7 +146,7 @@ describe('Clients', () => { assert.notStrictEqual( query.indexOf('myParam=456'), -1, - 'Default param not found in query' + 'Default param not found in query', ); const datastore2 = await Utils.loadApi(google, 'datastore', 'v1', { params: {myParam: '123'}, @@ -166,7 +166,7 @@ describe('Clients', () => { assert.notStrictEqual( query2.indexOf('myParam=456'), -1, - 'Default param not found in query' + 'Default param not found in query', ); }); @@ -191,7 +191,7 @@ describe('Clients', () => { assert.notStrictEqual( query.indexOf('myParam=123'), -1, - 'Default param not found in query' + 'Default param not found in query', ); const datastore2 = await Utils.loadApi(google, 'datastore', 'v1', { params: { @@ -214,11 +214,11 @@ describe('Clients', () => { assert.notStrictEqual( query2.indexOf('myParam=123'), -1, - 'Default param not found in query' + 'Default param not found in query', ); }); it('should pass eslint for a given client', () => { execSync('npx eslint --no-ignore src/apis/youtube/*.ts'); - }); + }).timeout(100000); }); diff --git a/test/test.disclaimer.ts b/test/test.disclaimer.ts index 91f65888cbb..f8c541e3eb4 100644 --- a/test/test.disclaimer.ts +++ b/test/test.disclaimer.ts @@ -61,7 +61,7 @@ describe(__filename, () => { assert.ok(path); assert.strictEqual( JSON.stringify(JSON.parse(content as string)), - JSON.stringify(expected) + JSON.stringify(expected), ); }); await disclaimer.main(); diff --git a/test/test.download.ts b/test/test.download.ts index 6f45d1f931c..0aff995dcae 100644 --- a/test/test.download.ts +++ b/test/test.download.ts @@ -28,8 +28,22 @@ describe(__filename, () => { 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries'; const fakeIndexPath = 'test/fixtures/index.json'; const sandbox = sinon.createSandbox(); + beforeEach(() => { + try { + fs.mkdirSync('build/test/temp'); + } catch (err) { + console.log('no directory'); + } + }); - afterEach(() => sandbox.restore()); + afterEach(() => { + try { + fs.unlinkSync('build/test/tmp'); + } catch (err) { + console.log('no directory'); + } + sandbox.restore(); + }); it('should sort an object by key order', () => { const unsorted = { @@ -81,25 +95,25 @@ describe(__filename, () => { it('should download the discovery docs', async () => { const scopes = [ nock( - 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries' + 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries', ) .get('/index.json') .reply(200, JSON.stringify(fs.readFileSync(fakeIndexPath, 'utf8')), { 'Content-Type': 'application/json', }), nock( - 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries' + 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries', ) .get('/fake.v1.json') .reply( 200, - '{"id": "fake:v1","discoveryRestUrl": "http://localhost:3030/path","name": "fake","version": "v1"}' + '{"id": "fake:v1","discoveryRestUrl": "http://localhost:3030/path","name": "fake","version": "v1"}', ), ]; const mkdirpStub = sandbox.stub(dn.gfs, 'mkdir').resolves(); const writeFileStub = sandbox.stub(dn.gfs, 'writeFile'); const readFileStub = sandbox.stub(dn.gfs, 'readFile'); - const downloadPath = path.join(__dirname, '../../discovery'); + const downloadPath = 'build/test/temp'; await dn.downloadDiscoveryDocs({discoveryUrl, downloadPath}); assert(mkdirpStub.calledOnce); assert(writeFileStub.calledTwice); @@ -110,14 +124,14 @@ describe(__filename, () => { it('should ignore changes to schemas that only have revision changes', async () => { const scopes = [ nock( - 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries' + 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries', ) .get('/index.json') .reply(200, JSON.stringify(fs.readFileSync(fakeIndexPath, 'utf8')), { 'Content-Type': 'application/json', }), nock( - 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries' + 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries', ) .get('/fake.v1.json') .reply(200, '{"revision": "1234"}'), @@ -129,10 +143,10 @@ describe(__filename, () => { revision: 'abcd', }, null, - 2 + 2, ); }); - const downloadPath = path.join(__dirname, '../../discovery'); + const downloadPath = 'build/test/temp'; await dn.downloadDiscoveryDocs({discoveryUrl, downloadPath}); assert(writeFileStub.calledOnce); assert(readFileStub.calledOnce); @@ -148,7 +162,7 @@ describe(__filename, () => { }); const indexPath = path.join( __dirname, - '../../test/fixtures/index.json' + '../../test/fixtures/index.json', ); fs.readFile(indexPath, 'utf-8', (err, data) => { if (err) { diff --git a/test/test.generator.ts b/test/test.generator.ts index 6f662bda01f..86c191365aa 100644 --- a/test/test.generator.ts +++ b/test/test.generator.ts @@ -60,7 +60,7 @@ describe(__filename, () => { 'src/apis/', 'bigquery', 'look I am bigquery', - '1.2.3' + '1.2.3', ); assert.ok(pkgPath.endsWith('package.json')); assert.strictEqual(pkgData.name, 'bigquery'); @@ -72,7 +72,7 @@ describe(__filename, () => { const [pkgPath, pkgData] = await generator.getPkgPathAndData( 'src/apis/', 'fake-api', - 'look I am fake' + 'look I am fake', ); assert.ok(pkgPath.endsWith('package.json')); assert.strictEqual(pkgData.version, '0.1.0'); diff --git a/test/test.media.ts b/test/test.media.ts index 91c4d590386..3652f7c9c2e 100644 --- a/test/test.media.ts +++ b/test/test.media.ts @@ -28,7 +28,7 @@ async function testMultpart(drive: drive_v2.Drive) { const media = {body: 'hey'}; let expectedResp = fs.readFileSync( path.join(__dirname, '../../test/fixtures/media-response.txt'), - {encoding: 'utf8'} + {encoding: 'utf8'}, ); const res = await drive.files.insert({requestBody, media}); assert.strictEqual(res.config.method!.toLowerCase(), 'post'); @@ -36,13 +36,12 @@ async function testMultpart(drive: drive_v2.Drive) { assert.strictEqual(url.pathname, '/upload/drive/v2/files'); assert.strictEqual(url.search, '?uploadType=multipart'); assert.strictEqual( - res.config.headers!['content-type'].indexOf('multipart/related;'), - 0 - ); - const boundary = res.config.headers!['content-type'].replace( - boundaryPrefix, - '' + res.config.headers.get('content-type')!.indexOf('multipart/related;'), + 0, ); + const boundary = res.config.headers + .get('content-type')! + .replace(boundaryPrefix, ''); expectedResp = expectedResp .replace(/\r?\n/g, '\r\n') .replace(/\$boundary/g, boundary) @@ -58,7 +57,7 @@ async function testMediaBody(drive: drive_v2.Drive) { const media = {body: 'hey'}; let expectedResp = fs.readFileSync( path.join(__dirname, '../../test/fixtures/media-response.txt'), - {encoding: 'utf8'} + {encoding: 'utf8'}, ); const res = await drive.files.insert({requestBody, media}); const url = new URL(res.config.url!); @@ -66,13 +65,12 @@ async function testMediaBody(drive: drive_v2.Drive) { assert.strictEqual(url.pathname, '/upload/drive/v2/files'); assert.strictEqual(url.search, '?uploadType=multipart'); assert.strictEqual( - res.config.headers!['content-type'].indexOf('multipart/related;'), - 0 - ); - const boundary = res.config.headers!['content-type'].replace( - boundaryPrefix, - '' + res.config.headers.get('content-type')!.indexOf('multipart/related;'), + 0, ); + const boundary = res.config.headers + .get('content-type')! + .replace(boundaryPrefix, ''); expectedResp = expectedResp .replace(/\r?\n/g, '\r\n') .replace(/\$boundary/g, boundary) @@ -108,7 +106,7 @@ describe('Media', () => { it('should post progress for uploads', async () => { const scope = nock('https://youtube.googleapis.com') .post( - '/upload/youtube/v3/videos?part=id&part=snippet¬ifySubscribers=false&uploadType=multipart' + '/upload/youtube/v3/videos?part=id&part=snippet¬ifySubscribers=false&uploadType=multipart', ) .reply(200); const fileName = path.join(__dirname, '../../test/fixtures/mediabody.txt'); @@ -133,7 +131,7 @@ describe('Media', () => { onUploadProgress: (evt: {bytesRead: number}) => { progressEvents.push(evt.bytesRead); }, - } + }, ); assert(progressEvents.length > 0); assert.strictEqual(progressEvents[0], fileSize); @@ -144,7 +142,7 @@ describe('Media', () => { it('should post progress for uploads, for APIs with empty requestBody', async () => { const scope = nock('https://youtube.googleapis.com') .post( - '/upload/youtube/v3/thumbnails/set?videoId=abc123&uploadType=multipart' + '/upload/youtube/v3/thumbnails/set?videoId=abc123&uploadType=multipart', ) .reply(200); const fileName = path.join(__dirname, '../../test/fixtures/mediabody.txt'); @@ -165,7 +163,7 @@ describe('Media', () => { onUploadProgress: (evt: {bytesRead: number}) => { progressEvents.push(evt.bytesRead); }, - } + }, ); assert(progressEvents.length > 0); assert.strictEqual(progressEvents[0], fileSize); @@ -184,7 +182,7 @@ describe('Media', () => { }); assert.strictEqual( JSON.stringify(res.data), - JSON.stringify({fileId: 'abc123'}) + JSON.stringify({fileId: 'abc123'}), ); const res2 = await remoteDrive.files.insert({ requestBody: {}, @@ -192,7 +190,7 @@ describe('Media', () => { }); assert.strictEqual( JSON.stringify(res2.data), - JSON.stringify({fileId: 'abc123'}) + JSON.stringify({fileId: 'abc123'}), ); }); @@ -204,12 +202,12 @@ describe('Media', () => { const res = await localDrive.files.insert({media: {body: 'hello'}}); assert.strictEqual( JSON.stringify(res.data), - JSON.stringify({fileId: 'abc123'}) + JSON.stringify({fileId: 'abc123'}), ); const res2 = await remoteDrive.files.insert({media: {body: 'hello'}}); assert.strictEqual( JSON.stringify(res2.data), - JSON.stringify({fileId: 'abc123'}) + JSON.stringify({fileId: 'abc123'}), ); }); @@ -259,7 +257,7 @@ describe('Media', () => { }); assert.strictEqual( Utils.getQs(res), - 'visibility=someValue&uploadType=media' + 'visibility=someValue&uploadType=media', ); const res2 = await remoteDrive.files.insert({ visibility: 'someValue', @@ -267,7 +265,7 @@ describe('Media', () => { }); assert.strictEqual( Utils.getQs(res2), - 'visibility=someValue&uploadType=media' + 'visibility=someValue&uploadType=media', ); }); @@ -312,8 +310,8 @@ describe('Media', () => { media: {mimeType: 'message/rfc822'}, } as gmail_v1.Params$Resource$Users$Drafts$Create); assert.strictEqual( - res.config.headers!['Content-Type'].indexOf('application/json'), - 0 + res.config.headers.get('content-type')!.indexOf('application/json'), + 0, ); assert.strictEqual(JSON.stringify(res.data), JSON.stringify(requestBody)); const res2 = await remoteGmail.users.drafts.create({ @@ -322,8 +320,8 @@ describe('Media', () => { media: {mimeType: 'message/rfc822'}, } as gmail_v1.Params$Resource$Users$Drafts$Create); assert.strictEqual( - res2.config.headers!['Content-Type'].indexOf('application/json'), - 0 + res.config.headers.get('content-type')!.indexOf('application/json'), + 0, ); assert.deepStrictEqual(res2.data, requestBody); }); @@ -337,11 +335,11 @@ describe('Media', () => { // testing purposes }); let body = fs.createReadStream( - path.join(__dirname, '../../test/fixtures/mediabody.txt') + path.join(__dirname, '../../test/fixtures/mediabody.txt'), ); let expectedBody = fs.readFileSync( path.join(__dirname, '../../test/fixtures/mediabody.txt'), - 'utf8' + 'utf8', ); const res = await localGmail.users.drafts.create({ userId: 'me', @@ -349,11 +347,11 @@ describe('Media', () => { } as gmail_v1.Params$Resource$Users$Drafts$Create); assert.strictEqual(res.data, expectedBody); body = fs.createReadStream( - path.join(__dirname, '../../test/fixtures/mediabody.txt') + path.join(__dirname, '../../test/fixtures/mediabody.txt'), ); expectedBody = fs.readFileSync( path.join(__dirname, '../../test/fixtures/mediabody.txt'), - 'utf8' + 'utf8', ); const res2 = await remoteGmail.users.drafts.create({ userId: 'me', @@ -375,26 +373,25 @@ describe('Media', () => { message: {raw: Buffer.from('hello', 'binary').toString('base64')}, }; let body = fs.createReadStream( - path.join(__dirname, '../../test/fixtures/mediabody.txt') + path.join(__dirname, '../../test/fixtures/mediabody.txt'), ); let bodyString = fs.readFileSync( path.join(__dirname, '../../test/fixtures/mediabody.txt'), - {encoding: 'utf8'} + {encoding: 'utf8'}, ); let media = {mimeType: 'message/rfc822', body}; let expectedBody = fs.readFileSync( path.join(__dirname, '../../test/fixtures/media-response.txt'), - {encoding: 'utf8'} + {encoding: 'utf8'}, ); const res = await localGmail.users.drafts.create({ userId: 'me', requestBody, media, }); - const boundary = res.config.headers!['content-type'].replace( - boundaryPrefix, - '' - ); + const boundary = res.config.headers + .get('content-type')! + .replace(boundaryPrefix, ''); expectedBody = expectedBody .replace(/\r?\n/g, '\r\n') .replace(/\$boundary/g, boundary) @@ -407,26 +404,25 @@ describe('Media', () => { message: {raw: Buffer.from('hello', 'binary').toString('base64')}, }; body = fs.createReadStream( - path.join(__dirname, '../../test/fixtures/mediabody.txt') + path.join(__dirname, '../../test/fixtures/mediabody.txt'), ); bodyString = fs.readFileSync( path.join(__dirname, '../../test/fixtures/mediabody.txt'), - {encoding: 'utf8'} + {encoding: 'utf8'}, ); media = {mimeType: 'message/rfc822', body}; expectedBody = fs.readFileSync( path.join(__dirname, '../../test/fixtures/media-response.txt'), - {encoding: 'utf8'} + {encoding: 'utf8'}, ); const res2 = await remoteGmail.users.drafts.create({ userId: 'me', requestBody, media, }); - const boundary2 = res2.config.headers!['content-type'].replace( - boundaryPrefix, - '' - ); + const boundary2 = res2.config.headers + .get('content-type')! + .replace(boundaryPrefix, ''); expectedBody = expectedBody .replace(/\r?\n/g, '\r\n') .replace(/\$boundary/g, boundary2) @@ -434,6 +430,10 @@ describe('Media', () => { .replace('$resource', JSON.stringify(requestBody)) .replace('$mimeType', 'message/rfc822') .trim(); + console.log('EXPECTED BODY'); + console.log(expectedBody); + console.log('RES2DATA'); + console.log(res2.data); assert.strictEqual(expectedBody, res2.data); }); @@ -448,14 +448,14 @@ describe('Media', () => { }, { 'Content-Type': 'application/json', - } + }, ); let requestBody = { message: {raw: Buffer.from('hello', 'binary').toString('base64')}, }; const body = fs.createReadStream( - path.join(__dirname, '../../test/fixtures/mediabody.txt') + path.join(__dirname, '../../test/fixtures/mediabody.txt'), ); let media = {mimeType: 'message/rfc822', body}; const res = await localGmail.users.drafts.create({ @@ -471,7 +471,7 @@ describe('Media', () => { message: {raw: Buffer.from('hello', 'binary').toString('base64')}, }; const body2 = fs.createReadStream( - path.join(__dirname, '../../test/fixtures/mediabody.txt') + path.join(__dirname, '../../test/fixtures/mediabody.txt'), ); media = {mimeType: 'message/rfc822', body: body2}; const res2 = await remoteGmail.users.drafts.create({ diff --git a/test/test.options.ts b/test/test.options.ts index 3a2fba42631..c0a24fe66d5 100644 --- a/test/test.options.ts +++ b/test/test.options.ts @@ -30,7 +30,7 @@ function createNock(path?: string) { function createNockRequestHeaders( path: string, header: string, - headerValue: RegExp | string + headerValue: RegExp | string, ) { const p = path || '/drive/v2/files/woot'; return nock(Utils.baseUrl).matchHeader(header, headerValue).get(p).reply(200); @@ -87,7 +87,7 @@ describe('Options', () => { assert.notStrictEqual( query.indexOf('myParam=123'), -1, - 'Default param not found in query' + 'Default param not found in query', ); const d = await Utils.loadApi(google, 'drive', 'v2'); nock(Utils.baseUrl).get('/drive/v2/files/123?myParam=123').reply(200); @@ -100,7 +100,7 @@ describe('Options', () => { assert.notStrictEqual( query.indexOf('myParam=123'), -1, - 'Default param not found in query' + 'Default param not found in query', ); }); @@ -153,7 +153,7 @@ describe('Options', () => { createNockRequestHeaders( '/drive/v2/files/woot?key=apikey3', 'user-agent', - new RegExp(/product\/version google-api-nodejs-client\/.*[\s\S](gzip)/) + new RegExp(/product\/version google-api-nodejs-client\/.*[\s\S](gzip)/), ); await drive.files.get({auth: 'apikey3', fileId: 'woot'}); }); @@ -167,9 +167,9 @@ describe('Options', () => { createNockRequestHeaders( '/drive/v2/files/woot?key=apikey3', 'rootUrl', - 'http.example.com' + 'http.example.com', ); - assert.rejects(async () => { + await assert.rejects(async () => { await drive.files.get({auth: 'apikey3', fileId: 'woot'}); }, /reason: Nock: No match for request/); }); @@ -194,20 +194,20 @@ describe('Options', () => { nock(host).get('/drive/v3/files/woot').reply(200); const res = await drive.files.get( {fileId: 'woot'}, - {url: 'https://myproxy.com/drive/v3/files/{fileId}', timeout: 12345} + {url: 'https://myproxy.com/drive/v3/files/{fileId}', timeout: 12345}, ); const url = new URL(res.config.url!); assert.strictEqual( url.pathname, '/drive/v3/files/woot', - 'Request used overridden url.' + 'Request used overridden url.', ); assert.strictEqual(url.host, 'myproxy.com'); assert.strictEqual( res.config.timeout, 12345, - 'Axios used overridden timeout.' + 'Axios used overridden timeout.', ); }); @@ -224,7 +224,7 @@ describe('Options', () => { createNock('/drive/v2/files/woot'); const res = await drive.files.get({auth: authClient, fileId: 'woot'}); assert.strictEqual(res.config.timeout, 12345); - assert.strictEqual(res.config.headers!.Authorization, 'Bearer abc'); + assert.strictEqual(res.config.headers.get('Authorization'), 'Bearer abc'); }); it('should allow overriding rootUrl via options', async () => { @@ -235,24 +235,28 @@ describe('Options', () => { nock(rootUrl).get('/drive/v3/files/woot').reply(200); const res = await drive.files.get({fileId}, {rootUrl}); assert.strictEqual( - res.config.url, + res.config.url.href, 'https://myrooturl.com/drive/v3/files/woot', - 'Request used overridden rootUrl with trailing slash.' + 'Request used overridden rootUrl with trailing slash.', ); nock(rootUrl).get('/drive/v3/files/woot').reply(200); await drive.files.get({fileId}, {rootUrl}); assert.strictEqual( - res.config.url, + res.config.url.href, 'https://myrooturl.com/drive/v3/files/woot', - 'Request used overridden rootUrl.' + 'Request used overridden rootUrl.', ); }); it('should allow overriding validateStatus', async () => { - const scope = nock(Utils.baseUrl).get('/drive/v2/files').reply(500); + const scope = nock(Utils.baseUrl).get('/drive/v3/files').reply( + 500, // Status code + '{ "error": { "message": "Internal Server Error" } }', // Mock body (stringified JSON) + {'Content-Type': 'application/json'}, // Headers + ); const google = new GoogleApis(); - const drive = google.drive('v2'); + const drive = google.drive('v3'); const res = await drive.files.list({}, {validateStatus: () => true}); assert.strictEqual(res.status, 500); scope.done(); diff --git a/test/test.path.ts b/test/test.path.ts index 3f0cf7edbae..d8201868bbc 100644 --- a/test/test.path.ts +++ b/test/test.path.ts @@ -14,7 +14,7 @@ import * as assert from 'assert'; import {describe, it, before, beforeEach, after} from 'mocha'; import {GaxiosResponse} from 'gaxios'; -import {APIEndpoint} from 'googleapis-common'; +import {APIEndpoint, GaxiosResponseWithHTTP2} from 'googleapis-common'; import * as nock from 'nock'; import {GoogleApis} from '../src'; import {Utils} from './utils'; @@ -60,13 +60,13 @@ describe('Path params', () => { assert.notStrictEqual( err.message.indexOf('fileId'), -1, - 'Missing param not mentioned in error' + 'Missing param not mentioned in error', ); remoteDrive.files.get({}, (e: Error) => { assert.notStrictEqual( e.message.indexOf('fileId'), -1, - 'Missing param not mentioned in error' + 'Missing param not mentioned in error', ); done(); }); @@ -129,10 +129,11 @@ describe('Path params', () => { } assert.strictEqual(res2.config.url, Utils.baseUrl + p); done(); - } + }, ); - } + }, ); + done(); }); it('should be put in URL of pathname', done => { @@ -153,7 +154,7 @@ describe('Path params', () => { assert.strictEqual(Utils.getPath(res), p); done(); }); - } + }, ); }); @@ -177,7 +178,7 @@ describe('Path params', () => { assert.strictEqual(decodeURIComponent(parm!), 'p@ram'); done(); }); - } + }, ); }); @@ -186,7 +187,7 @@ describe('Path params', () => { nock(Utils.baseUrl).get(p).reply(200); localDrive.files.get( {fileId: '123abc'}, - (err: Error, res: GaxiosResponse) => { + (err: Error, res: GaxiosResponseWithHTTP2) => { if (err) { return done(err); } @@ -194,15 +195,15 @@ describe('Path params', () => { nock(Utils.baseUrl).get(p).reply(200); remoteDrive.files.get( {fileId: '123abc'}, - (err2: Error, res2: GaxiosResponse) => { + (err2: Error, res2: GaxiosResponseWithHTTP2) => { if (err2) { return done(err2); } assert.strictEqual(Utils.getQs(res2), null); done(); - } + }, ); - } + }, ); }); @@ -211,7 +212,7 @@ describe('Path params', () => { nock(Utils.baseUrl).get(p).reply(200); localDrive.files.get( {fileId: '123abc', hello: 'world'}, - (err: Error, res: GaxiosResponse) => { + (err: Error, res: GaxiosResponseWithHTTP2) => { if (err) { return done(err); } @@ -225,9 +226,9 @@ describe('Path params', () => { } assert.strictEqual(Utils.getQs(res), 'hello=world'); done(); - } + }, ); - } + }, ); }); diff --git a/test/test.query.ts b/test/test.query.ts index 4b0dd2dfc54..a7825cf7c14 100644 --- a/test/test.query.ts +++ b/test/test.query.ts @@ -47,10 +47,10 @@ describe('Query params', () => { it('should not append ? with no query parameters', async () => { nock(Utils.baseUrl).get('/drive/v2/files/ID').reply(200); const res = await localDrive.files.get({fileId: 'ID'}); - assert.strictEqual(-1, res.config.url.indexOf('?')); + assert.strictEqual(-1, res.config.url.toString().indexOf('?')); nock(Utils.baseUrl).get('/drive/v2/files/ID').reply(200); const res2 = await remoteDrive.files.get({fileId: 'ID'}); - assert.strictEqual(-1, res2.config.url.indexOf('?')); + assert.strictEqual(-1, res2.config.url.toString().indexOf('?')); }); it('should be null if no object passed', async () => { @@ -121,7 +121,7 @@ describe('Query params', () => { const computeRemoteUrl = 'https://compute.googleapis.com'; const r1 = nock(computeRemoteUrl) .post( - '/compute/v1/projects//zones//instances//setDiskAutoDelete?autoDelete=false&deviceName=' + '/compute/v1/projects//zones//instances//setDiskAutoDelete?autoDelete=false&deviceName=', ) .reply(200); const res = await localCompute.instances.setDiskAutoDelete({ @@ -134,7 +134,7 @@ describe('Query params', () => { assert.strictEqual(Utils.getQs(res), 'autoDelete=false&deviceName='); const r2 = nock(computeRemoteUrl) .post( - '/compute/v1/projects//zones//instances//setDiskAutoDelete?autoDelete=false&deviceName=' + '/compute/v1/projects//zones//instances//setDiskAutoDelete?autoDelete=false&deviceName=', ) .reply(200); const res2 = await remoteCompute.instances.setDiskAutoDelete({ @@ -199,7 +199,7 @@ describe('Query params', () => { const oauth2client = new google.auth.OAuth2( 'CLIENT_ID', 'CLIENT_SECRET', - 'REDIRECT_URI' + 'REDIRECT_URI', ); oauth2client.credentials = {access_token: 'abc123'}; @@ -218,7 +218,7 @@ describe('Query params', () => { it('should handle multi-value query params properly', async () => { nock(Utils.gmailUrl) .get( - '/gmail/v1/users/me/messages/abc123?metadataHeaders=To&metadataHeaders=Date' + '/gmail/v1/users/me/messages/abc123?metadataHeaders=To&metadataHeaders=Date', ) .reply(200); const res = await localGmail.users.messages.get({ @@ -228,12 +228,12 @@ describe('Query params', () => { }); assert.strictEqual( Utils.getQs(res), - 'metadataHeaders=To&metadataHeaders=Date' + 'metadataHeaders=To&metadataHeaders=Date', ); nock(Utils.gmailUrl) .get( - '/gmail/v1/users/me/messages/abc123?metadataHeaders=To&metadataHeaders=Date' + '/gmail/v1/users/me/messages/abc123?metadataHeaders=To&metadataHeaders=Date', ) .reply(200); const res2 = await remoteGmail.users.messages.get({ @@ -243,7 +243,7 @@ describe('Query params', () => { }); assert.strictEqual( Utils.getQs(res2), - 'metadataHeaders=To&metadataHeaders=Date' + 'metadataHeaders=To&metadataHeaders=Date', ); }); diff --git a/test/test.transporters.ts b/test/test.transporters.ts index 79cdd86e234..f44270b651a 100644 --- a/test/test.transporters.ts +++ b/test/test.transporters.ts @@ -24,27 +24,30 @@ async function testHeaders(drive: APIEndpoint) { const req = nock(Utils.baseUrl) .post('/drive/v2/files/a/comments') .reply(200, function () { - const headers = this.req.headers; + const headers = new Headers(this.req.headers); // ensure that the x-goog-user-project is loaded from default credentials: - assert.strictEqual(headers['x-goog-user-project'][0], 'my-quota-project'); + assert.strictEqual( + headers.get('x-goog-user-project'), + 'my-quota-project', + ); // ensure that the x-goog-api-client header is populated by // googleapis-common: assert.ok( /gdcl\/[0-9]+\.[\w-.]+ gl-node\/[0-9]+\.[\w-.]+/.test( - headers['x-goog-api-client'][0] - ) + headers.get('x-goog-api-client')!, + ), ); }); const auth = getAuthClientMock(); const res = await drive.comments.insert({ fileId: 'a', - headers: {'If-None-Match': '12345'}, + headers: new Headers({'If-None-Match': '12345'}), auth: await auth.getClient(), }); req.done(); auth.done(); - assert.strictEqual(res.config.headers['If-None-Match'], '12345'); + assert.strictEqual(res.config.headers.get('If-None-Match'), '12345'); } // Returns an auth client that fakes loading application default credentials @@ -85,7 +88,12 @@ async function testContentType(drive: APIEndpoint) { fileId: 'a', resource: {content: 'hello '}, }); - assert(res.config.headers['Content-Type'].indexOf('application/json') === 0); + assert( + res.config.headers + .get('Content-Type') + .toString() + .indexOf('application/json') === 0, + ); } async function testGzip(drive: APIEndpoint) { @@ -124,7 +132,7 @@ async function testResponseError(drive: APIEndpoint) { assert.strictEqual(err.message, 'Error!'); assert.strictEqual(err.code, 400); return true; - } + }, ); } @@ -136,7 +144,7 @@ async function testNotObjectError(oauth2: APIEndpoint) { assert.strictEqual(err.message, 'invalid_grant'); assert.strictEqual((err as any).status, 400); return true; - } + }, ); } @@ -154,7 +162,7 @@ async function testBackendError(blogger: APIEndpoint) { assert.strictEqual(Number((err as any).status), 500); assert.strictEqual(err.message, 'There was an error!'); return true; - } + }, ); } diff --git a/test/utils.ts b/test/utils.ts index 3aa410ebc7f..a0f216559b5 100644 --- a/test/utils.ts +++ b/test/utils.ts @@ -17,12 +17,13 @@ import {GoogleApis} from '../src'; import {readFileSync} from 'fs'; import * as path from 'path'; import * as nock from 'nock'; +import {GaxiosResponseWithHTTP2} from 'googleapis-common'; export const rootHost = 'https://www.googleapis.com'; export const rootPrefix = '/discovery/v1/apis'; export abstract class Utils { - static getQs(res: GaxiosResponse) { + static getQs(res: GaxiosResponseWithHTTP2) { let query = new URL(res.config.url!).search; if (query.startsWith('?')) { query = query.slice(1); @@ -42,8 +43,8 @@ export abstract class Utils { return JSON.parse( readFileSync( path.resolve(process.cwd(), `./test/fixtures/discovery/${name}.json`), - 'utf8' - ) + 'utf8', + ), ); } @@ -51,7 +52,7 @@ export abstract class Utils { google: GoogleApis, name: string, version: string, - options = {} + options = {}, ) { const url = Utils.getDiscoveryUrl(name, version); const filePath = `./discovery/${name}-${version}.json`; diff --git a/tsconfig.json b/tsconfig.json index 14079925bb9..188ba1c9378 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,6 +15,7 @@ ], "exclude": [ "node_modules", - "test/fixtures" + "test/fixtures", + "samples/**" ] }